VirtualNetworkGatewayConnectionsOperationsExtensions.BeginResetSharedKeyAsync 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 VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.ConnectionResetSharedKey> BeginResetSharedKeyAsync (this Microsoft.Azure.Management.Network.IVirtualNetworkGatewayConnectionsOperations operations, string resourceGroupName, string virtualNetworkGatewayConnectionName, Microsoft.Azure.Management.Network.Models.ConnectionResetSharedKey parameters, System.Threading.CancellationToken cancellationToken = default);
static member BeginResetSharedKeyAsync : Microsoft.Azure.Management.Network.IVirtualNetworkGatewayConnectionsOperations * string * string * Microsoft.Azure.Management.Network.Models.ConnectionResetSharedKey * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.ConnectionResetSharedKey>
<Extension()>
Public Function BeginResetSharedKeyAsync (operations As IVirtualNetworkGatewayConnectionsOperations, resourceGroupName As String, virtualNetworkGatewayConnectionName As String, parameters As ConnectionResetSharedKey, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ConnectionResetSharedKey)
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 reset shared key Name.
- parameters
- ConnectionResetSharedKey
Parameters supplied to the begin reset virtual network gateway connection shared key operation through network resource provider.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Azure SDK for .NET