Compartilhar via


JobOperationsExtensions.CreateAsync Método

Definição

Sobrecargas

CreateAsync(IJobOperations, String, String, JobCreateParameters)
CreateAsync(IJobOperations, String, String, String, JobCreateParameters, String, CancellationToken)

Crie um trabalho do runbook. http://aka.ms/azureautomationsdk/joboperations

CreateAsync(IJobOperations, String, String, JobCreateParameters)

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.JobCreateResponse> CreateAsync (this Microsoft.Azure.Management.Automation.IJobOperations operations, string resourceGroupName, string automationAccount, Microsoft.Azure.Management.Automation.Models.JobCreateParameters parameters);
static member CreateAsync : Microsoft.Azure.Management.Automation.IJobOperations * string * string * Microsoft.Azure.Management.Automation.Models.JobCreateParameters -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.JobCreateResponse>
<Extension()>
Public Function CreateAsync (operations As IJobOperations, resourceGroupName As String, automationAccount As String, parameters As JobCreateParameters) As Task(Of JobCreateResponse)

Parâmetros

operations
IJobOperations
resourceGroupName
String
automationAccount
String
parameters
JobCreateParameters

Retornos

Aplica-se a

CreateAsync(IJobOperations, String, String, String, JobCreateParameters, String, CancellationToken)

Crie um trabalho do runbook. http://aka.ms/azureautomationsdk/joboperations

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.Job> CreateAsync (this Microsoft.Azure.Management.Automation.IJobOperations operations, string resourceGroupName, string automationAccountName, string jobName, Microsoft.Azure.Management.Automation.Models.JobCreateParameters parameters, string clientRequestId = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.Automation.IJobOperations * string * string * string * Microsoft.Azure.Management.Automation.Models.JobCreateParameters * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.Job>
<Extension()>
Public Function CreateAsync (operations As IJobOperations, resourceGroupName As String, automationAccountName As String, jobName As String, parameters As JobCreateParameters, Optional clientRequestId As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Job)

Parâmetros

operations
IJobOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

Nome de um grupo de recursos do Azure.

automationAccountName
String

O nome da conta de automação.

jobName
String

O nome do trabalho.

parameters
JobCreateParameters

Os parâmetros fornecidos para a operação de criação de trabalho.

clientRequestId
String

Identifica essa solicitação de cliente específica.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a