VirtualNetworkGatewayConnectionsOperationsExtensions.SetSharedKey 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 Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.
public static Microsoft.Azure.Management.Network.Models.ConnectionSharedKey SetSharedKey (this Microsoft.Azure.Management.Network.IVirtualNetworkGatewayConnectionsOperations operations, string resourceGroupName, string virtualNetworkGatewayConnectionName, Microsoft.Azure.Management.Network.Models.ConnectionSharedKey parameters);
static member SetSharedKey : Microsoft.Azure.Management.Network.IVirtualNetworkGatewayConnectionsOperations * string * string * Microsoft.Azure.Management.Network.Models.ConnectionSharedKey -> Microsoft.Azure.Management.Network.Models.ConnectionSharedKey
<Extension()>
Public Function SetSharedKey (operations As IVirtualNetworkGatewayConnectionsOperations, resourceGroupName As String, virtualNetworkGatewayConnectionName As String, parameters As ConnectionSharedKey) As ConnectionSharedKey
Parameters
- operations
- IVirtualNetworkGatewayConnectionsOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group.
- virtualNetworkGatewayConnectionName
- String
The virtual network gateway connection name.
- parameters
- ConnectionSharedKey
Parameters supplied to the Begin Set Virtual Network Gateway connection Shared key operation throughNetwork resource provider.
Returns
Applies to
Azure SDK for .NET