Compartir a través de


SecurityCenterExtensions.GetAdaptiveNetworkHardeningAsync Método

Definición

Obtiene un único recurso de protección de red adaptable.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.Security/adaptiveNetworkHardenings/{adaptiveNetworkHardeningResourceName}
  • IdAdaptiveNetworkHardenings_Get de operación
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.AdaptiveNetworkHardeningResource>> GetAdaptiveNetworkHardeningAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string resourceNamespace, string resourceType, string resourceName, string adaptiveNetworkHardeningResourceName, System.Threading.CancellationToken cancellationToken = default);
static member GetAdaptiveNetworkHardeningAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.AdaptiveNetworkHardeningResource>>
<Extension()>
Public Function GetAdaptiveNetworkHardeningAsync (resourceGroupResource As ResourceGroupResource, resourceNamespace As String, resourceType As String, resourceName As String, adaptiveNetworkHardeningResourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AdaptiveNetworkHardeningResource))

Parámetros

resourceGroupResource
ResourceGroupResource

Instancia ResourceGroupResource en la que se ejecutará el método.

resourceNamespace
String

Espacio de nombres del recurso.

resourceType
String

Tipo de recurso.

resourceName
String

Nombre del recurso.

adaptiveNetworkHardeningResourceName
String

Nombre del recurso de protección de red adaptable.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

resourceNamespace, resourceTyperesourceName o adaptiveNetworkHardeningResourceName es una cadena vacía y se espera que no esté vacía.

resourceNamespace, resourceType, resourceName o adaptiveNetworkHardeningResourceName es un valor null.

Se aplica a