Compartilhar via


ConfigurationPolicyGroupsOperationsExtensions.BeginCreateOrUpdateAsync Método

Definição

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

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.VpnServerConfigurationPolicyGroup> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.Network.IConfigurationPolicyGroupsOperations operations, string resourceGroupName, string vpnServerConfigurationName, string configurationPolicyGroupName, Microsoft.Azure.Management.Network.Models.VpnServerConfigurationPolicyGroup vpnServerConfigurationPolicyGroupParameters, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.Network.IConfigurationPolicyGroupsOperations * string * string * string * Microsoft.Azure.Management.Network.Models.VpnServerConfigurationPolicyGroup * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.VpnServerConfigurationPolicyGroup>
<Extension()>
Public Function BeginCreateOrUpdateAsync (operations As IConfigurationPolicyGroupsOperations, resourceGroupName As String, vpnServerConfigurationName As String, configurationPolicyGroupName As String, vpnServerConfigurationPolicyGroupParameters As VpnServerConfigurationPolicyGroup, Optional cancellationToken As CancellationToken = Nothing) As Task(Of VpnServerConfigurationPolicyGroup)

Parâmetros

operations
IConfigurationPolicyGroupsOperations

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

resourceGroupName
String

O nome do grupo de recursos do ConfigurationPolicyGroup.

vpnServerConfigurationName
String

O nome da VpnServerConfiguration.

configurationPolicyGroupName
String

O nome do ConfigurationPolicyGroup.

vpnServerConfigurationPolicyGroupParameters
VpnServerConfigurationPolicyGroup

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

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a