Partilhar via


ServiceFabricManagedClusterResource.GetServiceFabricManagedApplicationAsync 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}
  • Operação IdApplications_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceFabricManagedClusters.ServiceFabricManagedApplicationResource>> GetServiceFabricManagedApplicationAsync (string applicationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetServiceFabricManagedApplicationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceFabricManagedClusters.ServiceFabricManagedApplicationResource>>
override this.GetServiceFabricManagedApplicationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceFabricManagedClusters.ServiceFabricManagedApplicationResource>>
Public Overridable Function GetServiceFabricManagedApplicationAsync (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 esperava-se que não estivesse vazia.

applicationName é nulo.

Aplica-se a