Compartir a través de


SubnetsOperationsExtensions.PrepareNetworkPoliciesAsync Método

Definición

Prepara una subred aplicando directivas de intención de red.

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

Grupo de operaciones para este método de extensión.

resourceGroupName
String

Nombre del grupo de recursos.

virtualNetworkName
String

El nombre de la red virtual.

subnetName
String

Nombre de la subred.

prepareNetworkPoliciesRequestParameters
PrepareNetworkPoliciesRequest

Parámetros proporcionados para preparar la subred mediante la aplicación de directivas de intención de red.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a