Condividi tramite


ModuleOperationsExtensions.CreateOrUpdateAsync Metodo

Definizione

Overload

CreateOrUpdateAsync(IModuleOperations, String, String, ModuleCreateOrUpdateParameters)
CreateOrUpdateAsync(IModuleOperations, String, String, String, ModuleCreateOrUpdateParameters, CancellationToken)

Creare o aggiornare il modulo identificato dal nome del modulo. http://aka.ms/azureautomationsdk/moduleoperations

CreateOrUpdateAsync(IModuleOperations, String, String, ModuleCreateOrUpdateParameters)

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

Parametri

operations
IModuleOperations
resourceGroupName
String
automationAccount
String

Restituisce

Si applica a

CreateOrUpdateAsync(IModuleOperations, String, String, String, ModuleCreateOrUpdateParameters, CancellationToken)

Creare o aggiornare il modulo identificato dal nome del modulo. http://aka.ms/azureautomationsdk/moduleoperations

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.Module> CreateOrUpdateAsync (this Microsoft.Azure.Management.Automation.IModuleOperations operations, string resourceGroupName, string automationAccountName, string moduleName, Microsoft.Azure.Management.Automation.Models.ModuleCreateOrUpdateParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Automation.IModuleOperations * string * string * string * Microsoft.Azure.Management.Automation.Models.ModuleCreateOrUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.Module>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IModuleOperations, resourceGroupName As String, automationAccountName As String, moduleName As String, parameters As ModuleCreateOrUpdateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Module)

Parametri

operations
IModuleOperations

Gruppo di operazioni per questo metodo di estensione.

resourceGroupName
String

Nome di un gruppo di risorse di Azure.

automationAccountName
String

Nome dell'account di automazione.

moduleName
String

Nome del modulo.

parameters
ModuleCreateOrUpdateParameters

Parametri di creazione o aggiornamento per il modulo.

cancellationToken
CancellationToken

Token di annullamento.

Restituisce

Si applica a