Partilhar via


SubnetsOperationsExtensions.PrepareNetworkPoliciesAsync Método

Definição

Prepara uma sub-rede aplicando políticas de intenção de rede.

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

Parâmetros

operations
ISubnetsOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos.

virtualNetworkName
String

O nome da rede virtual.

subnetName
String

O nome da sub-rede.

prepareNetworkPoliciesRequestParameters
PrepareNetworkPoliciesRequest

Parâmetros fornecidos para preparar a sub-rede aplicando políticas de intenção de rede.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a