Partilhar via


JitNetworkAccessPolicyCollection.GetAsync(String, CancellationToken) Método

Definição

Políticas para proteger recursos usando o controle de acesso Just-in-Time para a assinatura, local

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/jitNetworkAccessPolicies/{jitNetworkAccessPolicyName}
  • Operação IdJitNetworkAccessPolicies_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.JitNetworkAccessPolicyResource>> GetAsync (string jitNetworkAccessPolicyName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.JitNetworkAccessPolicyResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.JitNetworkAccessPolicyResource>>
Public Overridable Function GetAsync (jitNetworkAccessPolicyName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of JitNetworkAccessPolicyResource))

Parâmetros

jitNetworkAccessPolicyName
String

Nome de uma política de configuração de acesso Just-In-Time.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

jitNetworkAccessPolicyName é nulo.

Aplica-se a