Compartilhar via


ConfigurationsOperationsExtensions.CreateInResourceGroupAsync Método

Definição

Criar/substituir a configuração do Assistente do Azure.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Advisor.Models.ARMErrorResponseBody> CreateInResourceGroupAsync (this Microsoft.Azure.Management.Advisor.IConfigurationsOperations operations, Microsoft.Azure.Management.Advisor.Models.ConfigData configContract, string resourceGroup, System.Threading.CancellationToken cancellationToken = default);
static member CreateInResourceGroupAsync : Microsoft.Azure.Management.Advisor.IConfigurationsOperations * Microsoft.Azure.Management.Advisor.Models.ConfigData * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Advisor.Models.ARMErrorResponseBody>
<Extension()>
Public Function CreateInResourceGroupAsync (operations As IConfigurationsOperations, configContract As ConfigData, resourceGroup As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ARMErrorResponseBody)

Parâmetros

operations
IConfigurationsOperations

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

configContract
ConfigData

A estrutura de dados de configuração do Assistente do Azure.

resourceGroup
String

O nome do grupo de recursos do Azure.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a