Partilhar via


SecurityCenterExtensions.GetAdaptiveNetworkHardening Método

Definição

Obtém um único recurso de proteção de rede adaptável

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.Security/adaptiveNetworkHardenings/{adaptiveNetworkHardeningResourceName}
  • Operação IdAdaptiveNetworkHardenings_Get
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

A ResourceGroupResource instância em que o método será executado.

resourceNamespace
String

O Namespace do recurso.

resourceType
String

Tipo do recurso.

resourceName
String

Nome do recurso.

adaptiveNetworkHardeningResourceName
String

O nome do recurso de Proteção de Rede Adaptável.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

resourceNamespace, resourceTypeou resourceNameadaptiveNetworkHardeningResourceName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

resourceNamespace, resourceType, resourceName ou adaptiveNetworkHardeningResourceName é nulo.

Aplica-se a