Share via


SubnetsOperationsExtensions.UnprepareNetworkPoliciesAsync Method

Definition

Unprepares a subnet by removing network intent policies.

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

serviceName
String

The name of the service for which subnet is being unprepared for.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to