Compartir a través de


AdaptiveNetworkHardeningCollection.GetAsync(String, CancellationToken) 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 operaciones
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.AdaptiveNetworkHardeningResource>> GetAsync (string adaptiveNetworkHardeningResourceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.AdaptiveNetworkHardeningResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.AdaptiveNetworkHardeningResource>>
Public Overridable Function GetAsync (adaptiveNetworkHardeningResourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AdaptiveNetworkHardeningResource))

Parámetros

adaptiveNetworkHardeningResourceName
String

Nombre del recurso de protección de red adaptable.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

adaptiveNetworkHardeningResourceName es una cadena vacía y se esperaba que no estuviera vacía.

adaptiveNetworkHardeningResourceName es null.

Se aplica a