Compartilhar via


ConfigurationAssignmentsOperationsExtensions.CreateOrUpdateAsync Método

Definição

Criar atribuição de configuração

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Maintenance.Models.ConfigurationAssignment> CreateOrUpdateAsync (this Microsoft.Azure.Management.Maintenance.IConfigurationAssignmentsOperations operations, string resourceGroupName, string providerName, string resourceType, string resourceName, string configurationAssignmentName, Microsoft.Azure.Management.Maintenance.Models.ConfigurationAssignment configurationAssignment, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Maintenance.IConfigurationAssignmentsOperations * string * string * string * string * string * Microsoft.Azure.Management.Maintenance.Models.ConfigurationAssignment * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Maintenance.Models.ConfigurationAssignment>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IConfigurationAssignmentsOperations, resourceGroupName As String, providerName As String, resourceType As String, resourceName As String, configurationAssignmentName As String, configurationAssignment As ConfigurationAssignment, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ConfigurationAssignment)

Parâmetros

operations
IConfigurationAssignmentsOperations

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

resourceGroupName
String

Nome do grupo de recursos

providerName
String

Nome do provedor de recursos

resourceType
String

Tipo de recurso

resourceName
String

Identificador de recurso

configurationAssignmentName
String

Nome da atribuição de configuração

configurationAssignment
ConfigurationAssignment

A configuraçãoAssignment

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Comentários

Registre a configuração do recurso.

Aplica-se a