CloudJobOperationsExtensions.UpdateAsync Method (ICloudJobOperations, String, CloudJobUpdateParameters)
Updates the properties of a job.
Namespace: Microsoft.Azure.Batch.Protocol
Assembly: Microsoft.Azure.Batch (in Microsoft.Azure.Batch.dll)
Syntax
public static Task<CloudJobUpdateResponse> UpdateAsync(
this ICloudJobOperations operations,
string jobId,
CloudJobUpdateParameters parameters
)
public:
[ExtensionAttribute]
static Task<CloudJobUpdateResponse^>^ UpdateAsync(
ICloudJobOperations^ operations,
String^ jobId,
CloudJobUpdateParameters^ parameters
)
static member UpdateAsync :
operations:ICloudJobOperations *
jobId:string *
parameters:CloudJobUpdateParameters -> Task<CloudJobUpdateResponse>
<ExtensionAttribute>
Public Shared Function UpdateAsync (
operations As ICloudJobOperations,
jobId As String,
parameters As CloudJobUpdateParameters
) As Task(Of CloudJobUpdateResponse)
Parameters
operations
Type: Microsoft.Azure.Batch.Protocol.ICloudJobOperationsReference to the Microsoft.Azure.Batch.Protocol.ICloudJobOperations.
jobId
Type: System.StringRequired. The id of the job whose properties you want to update.
parameters
Type: Microsoft.Azure.Batch.Protocol.Models.CloudJobUpdateParametersRequired. The parameters for the request.
Return Value
Type: System.Threading.Tasks.Task<CloudJobUpdateResponse>
Response to a CloudJobOperations.Update request.
See Also
CloudJobOperationsExtensions Class
Microsoft.Azure.Batch.Protocol Namespace
Return to top