Compartilhar via


SecurityCenterExtensions.GetAdaptiveNetworkHardeningAsync 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 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

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