Compartir a través de


ModuleOperationsExtensions.CreateOrUpdateAsync Método

Definición

Sobrecargas

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

Cree o actualice el módulo identificado por el nombre del módulo. 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)

Parámetros

operations
IModuleOperations
resourceGroupName
String
automationAccount
String

Devoluciones

Se aplica a

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

Cree o actualice el módulo identificado por el nombre del módulo. 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)

Parámetros

operations
IModuleOperations

El grupo de operaciones de este método de extensión.

resourceGroupName
String

Nombre de un grupo de recursos de Azure.

automationAccountName
String

Nombre de la cuenta de Automation.

moduleName
String

Nombre del módulo.

parameters
ModuleCreateOrUpdateParameters

Parámetros de creación o actualización para el módulo.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a