Partilhar via


ServiceFabricManagedApplicationCollection.GetAsync Método

Definição

Obtenha um recurso de aplicativo gerenciado do Service Fabric criado ou no processo de criação no recurso de cluster do Service Fabric.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applications/{applicationName}
  • IdApplications_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceFabricManagedClusters.ServiceFabricManagedApplicationResource>> GetAsync (string applicationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceFabricManagedClusters.ServiceFabricManagedApplicationResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceFabricManagedClusters.ServiceFabricManagedApplicationResource>>
Public Overridable Function GetAsync (applicationName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ServiceFabricManagedApplicationResource))

Parâmetros

applicationName
String

O nome do recurso de aplicativo.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

applicationName é nulo.

Aplica-se a