Partager via


GatewayOperationsExtensions.GetSharedKey Méthode

Définition

L’opération Obtenir Réseau virtuel clé partagée de passerelle obtient la clé partagée sur la passerelle de réseau virtuel pour la connexion de réseau virtuel spécifiée au réseau local spécifié dans Azure. (voir http://msdn.microsoft.com/en-us/library/windowsazure/jj154122.aspx pour plus d’informations)

public static Microsoft.WindowsAzure.Management.Network.Models.GatewayGetSharedKeyResponse GetSharedKey (this Microsoft.WindowsAzure.Management.Network.IGatewayOperations operations, string networkName, string localNetworkName);
static member GetSharedKey : Microsoft.WindowsAzure.Management.Network.IGatewayOperations * string * string -> Microsoft.WindowsAzure.Management.Network.Models.GatewayGetSharedKeyResponse
<Extension()>
Public Function GetSharedKey (operations As IGatewayOperations, networkName As String, localNetworkName As String) As GatewayGetSharedKeyResponse

Paramètres

operations
IGatewayOperations

Référence à Microsoft.WindowsAzure.Management.Network.IGatewayOperations.

networkName
String

Obligatoire. Nom du réseau virtuel pour cette passerelle.

localNetworkName
String

Obligatoire. Nom du réseau local.

Retours

Réponse à la demande d’obtention de clé partagée.

S’applique à