Partilhar via


VirtualNetworkGatewayConnectionsOperationsExtensions.BeginSetSharedKeyAsync Método

Definição

A operação Put VirtualNetworkGatewayConnectionSharedKey define a chave compartilhada de conexão de gateway de rede virtual para a conexão de gateway de rede virtual passada no grupo de recursos especificado por meio do provedor de recursos de rede.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.ConnectionSharedKeyInner> BeginSetSharedKeyAsync (this Microsoft.Azure.Management.Network.Fluent.IVirtualNetworkGatewayConnectionsOperations operations, string resourceGroupName, string virtualNetworkGatewayConnectionName, Microsoft.Azure.Management.Network.Fluent.Models.ConnectionSharedKeyInner parameters, System.Threading.CancellationToken cancellationToken = default);
static member BeginSetSharedKeyAsync : Microsoft.Azure.Management.Network.Fluent.IVirtualNetworkGatewayConnectionsOperations * string * string * Microsoft.Azure.Management.Network.Fluent.Models.ConnectionSharedKeyInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.ConnectionSharedKeyInner>
<Extension()>
Public Function BeginSetSharedKeyAsync (operations As IVirtualNetworkGatewayConnectionsOperations, resourceGroupName As String, virtualNetworkGatewayConnectionName As String, parameters As ConnectionSharedKeyInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ConnectionSharedKeyInner)

Parâmetros

operations
IVirtualNetworkGatewayConnectionsOperations

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

resourceGroupName
String

O nome do grupo de recursos.

virtualNetworkGatewayConnectionName
String

O nome da conexão do gateway de rede virtual.

parameters
ConnectionSharedKeyInner

Parâmetros fornecidos para a operação de chave compartilhada begin set Rede Virtual gateway por meio do provedor de recursosNetwork.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a