Udostępnij za pośrednictwem


HubVirtualNetworkConnectionsOperationsExtensions.DeleteAsync Method

Definition

Deletes a HubVirtualNetworkConnection.

public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.Network.IHubVirtualNetworkConnectionsOperations operations, string resourceGroupName, string virtualHubName, string connectionName, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.Network.IHubVirtualNetworkConnectionsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DeleteAsync (operations As IHubVirtualNetworkConnectionsOperations, resourceGroupName As String, virtualHubName As String, connectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IHubVirtualNetworkConnectionsOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name of the VirtualHub.

virtualHubName
String

The name of the VirtualHub.

connectionName
String

The name of the HubVirtualNetworkConnection.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to