GatewayOperationsExtensions.BeginSetSharedKey Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The Begin Set Virtual Network Gateway Shared Key operation sets the shared key on the virtual network gateway for the specified virtual network connection to the specified local network in Azure. (see http://msdn.microsoft.com/en-us/library/windowsazure/jj154114.aspx for more information)
public static Microsoft.WindowsAzure.Management.Network.Models.GatewayOperationResponse BeginSetSharedKey (this Microsoft.WindowsAzure.Management.Network.IGatewayOperations operations, string networkName, string localNetworkName, Microsoft.WindowsAzure.Management.Network.Models.GatewaySetSharedKeyParameters parameters);
static member BeginSetSharedKey : Microsoft.WindowsAzure.Management.Network.IGatewayOperations * string * string * Microsoft.WindowsAzure.Management.Network.Models.GatewaySetSharedKeyParameters -> Microsoft.WindowsAzure.Management.Network.Models.GatewayOperationResponse
<Extension()>
Public Function BeginSetSharedKey (operations As IGatewayOperations, networkName As String, localNetworkName As String, parameters As GatewaySetSharedKeyParameters) As GatewayOperationResponse
Parameters
- operations
- IGatewayOperations
Reference to the Microsoft.WindowsAzure.Management.Network.IGatewayOperations.
- networkName
- String
Required. The name of the virtual network for this gateway.
- localNetworkName
- String
Required. The name of the local network.
- parameters
- GatewaySetSharedKeyParameters
Required. Parameters supplied to the Begin Virtual Network Gateway Set Shared Key request.
Returns
A standard service response including an HTTP status code and request ID.