Aracılığıyla paylaş


SubnetsOperationsExtensions.UnprepareNetworkPoliciesAsync Method

Definition

Unprepares a subnet by removing network intent policies.

public static System.Threading.Tasks.Task UnprepareNetworkPoliciesAsync (this Microsoft.Azure.Management.Network.ISubnetsOperations operations, string resourceGroupName, string virtualNetworkName, string subnetName, Microsoft.Azure.Management.Network.Models.UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters, System.Threading.CancellationToken cancellationToken = default);
static member UnprepareNetworkPoliciesAsync : Microsoft.Azure.Management.Network.ISubnetsOperations * string * string * string * Microsoft.Azure.Management.Network.Models.UnprepareNetworkPoliciesRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function UnprepareNetworkPoliciesAsync (operations As ISubnetsOperations, resourceGroupName As String, virtualNetworkName As String, subnetName As String, unprepareNetworkPoliciesRequestParameters As UnprepareNetworkPoliciesRequest, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
ISubnetsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

virtualNetworkName
String

The name of the virtual network.

subnetName
String

The name of the subnet.

unprepareNetworkPoliciesRequestParameters
UnprepareNetworkPoliciesRequest

Parameters supplied to unprepare subnet to remove network intent policies.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to