Partilhar via


SecurityCenterExtensions.GetSubscriptionSecurityApplicationAsync Método

Definição

Obter um aplicativo específico para o escopo solicitado por applicationId

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Security/applications/{applicationId}
  • IdApplication_Get de operação
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.SubscriptionSecurityApplicationResource>> GetSubscriptionSecurityApplicationAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string applicationId, System.Threading.CancellationToken cancellationToken = default);
static member GetSubscriptionSecurityApplicationAsync : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.SubscriptionSecurityApplicationResource>>
<Extension()>
Public Function GetSubscriptionSecurityApplicationAsync (subscriptionResource As SubscriptionResource, applicationId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SubscriptionSecurityApplicationResource))

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância na qual o método será executado.

applicationId
String

A chave de aplicativo de segurança – chave exclusiva para o aplicativo padrão.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

applicationId é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

applicationId é nulo.

Aplica-se a