Compartilhar via


AdaptiveNetworkHardeningCollection.GetAsync(String, CancellationToken) 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 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

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

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

adaptiveNetworkHardeningResourceName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

adaptiveNetworkHardeningResourceName é nulo.

Aplica-se a