Compartir a través de


SecurityCenterExtensions.GetAdaptiveNetworkHardening 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 static Azure.Response<Azure.ResourceManager.SecurityCenter.AdaptiveNetworkHardeningResource> GetAdaptiveNetworkHardening (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string resourceNamespace, string resourceType, string resourceName, string adaptiveNetworkHardeningResourceName, System.Threading.CancellationToken cancellationToken = default);
static member GetAdaptiveNetworkHardening : Azure.ResourceManager.Resources.ResourceGroupResource * string * string * string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityCenter.AdaptiveNetworkHardeningResource>
<Extension()>
Public Function GetAdaptiveNetworkHardening (resourceGroupResource As ResourceGroupResource, resourceNamespace As String, resourceType As String, resourceName As String, adaptiveNetworkHardeningResourceName As String, Optional cancellationToken As CancellationToken = Nothing) As 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

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

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

Se aplica a