CloudJobOperationsExtensions.AddAsync Method (ICloudJobOperations, CloudJobAddParameters)
Adds a job to the specified account.
Namespace: Microsoft.Azure.Batch.Protocol
Assembly: Microsoft.Azure.Batch (in Microsoft.Azure.Batch.dll)
Syntax
public static Task<CloudJobAddResponse> AddAsync(
this ICloudJobOperations operations,
CloudJobAddParameters parameters
)
public:
[ExtensionAttribute]
static Task<CloudJobAddResponse^>^ AddAsync(
ICloudJobOperations^ operations,
CloudJobAddParameters^ parameters
)
static member AddAsync :
operations:ICloudJobOperations *
parameters:CloudJobAddParameters -> Task<CloudJobAddResponse>
<ExtensionAttribute>
Public Shared Function AddAsync (
operations As ICloudJobOperations,
parameters As CloudJobAddParameters
) As Task(Of CloudJobAddResponse)
Parameters
operations
Type: Microsoft.Azure.Batch.Protocol.ICloudJobOperationsReference to the Microsoft.Azure.Batch.Protocol.ICloudJobOperations.
parameters
Type: Microsoft.Azure.Batch.Protocol.Models.CloudJobAddParametersRequired. The parameters for the request.
Return Value
Type: System.Threading.Tasks.Task<CloudJobAddResponse>
Response to a CloudJobOperations.Add request.
See Also
CloudJobOperationsExtensions Class
Microsoft.Azure.Batch.Protocol Namespace
Return to top