Compartilhar via


IConfigurationPolicyGroupsOperations.BeginCreateOrUpdateWithHttpMessagesAsync Método

Definição

Cria um ConfigurationPolicyGroup se ele não existir mais atualiza o existente.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Network.Models.VpnServerConfigurationPolicyGroup>> BeginCreateOrUpdateWithHttpMessagesAsync (string resourceGroupName, string vpnServerConfigurationName, string configurationPolicyGroupName, Microsoft.Azure.Management.Network.Models.VpnServerConfigurationPolicyGroup vpnServerConfigurationPolicyGroupParameters, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member BeginCreateOrUpdateWithHttpMessagesAsync : string * string * string * Microsoft.Azure.Management.Network.Models.VpnServerConfigurationPolicyGroup * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Network.Models.VpnServerConfigurationPolicyGroup>>
Public Function BeginCreateOrUpdateWithHttpMessagesAsync (resourceGroupName As String, vpnServerConfigurationName As String, configurationPolicyGroupName As String, vpnServerConfigurationPolicyGroupParameters As VpnServerConfigurationPolicyGroup, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of VpnServerConfigurationPolicyGroup))

Parâmetros

resourceGroupName
String

O nome do grupo de recursos do ConfigurationPolicyGroup.

vpnServerConfigurationName
String

O nome do VpnServerConfiguration.

configurationPolicyGroupName
String

O nome do ConfigurationPolicyGroup.

vpnServerConfigurationPolicyGroupParameters
VpnServerConfigurationPolicyGroup

Parâmetros fornecidos para criar ou atualizar um VpnServerConfiguration PolicyGroup.

customHeaders
Dictionary<String,List<String>>

Os cabeçalhos que serão adicionados à solicitação.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Exceções

Gerada quando a operação retornou um código de status inválido

Gerada quando não é possível desserializar a resposta

Gerado quando um parâmetro necessário é nulo

Aplica-se a