Partager via


ServiceFabricClusterResource.GetServiceFabricApplicationTypeAsync Méthode

Définition

Obtenez une ressource de nom d’application Service Fabric créée ou en cours de création dans la ressource de cluster Service Fabric.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applicationTypes/{applicationTypeName}
  • IdApplicationTypes_Get d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceFabric.ServiceFabricApplicationTypeResource>> GetServiceFabricApplicationTypeAsync (string applicationTypeName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetServiceFabricApplicationTypeAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceFabric.ServiceFabricApplicationTypeResource>>
override this.GetServiceFabricApplicationTypeAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceFabric.ServiceFabricApplicationTypeResource>>
Public Overridable Function GetServiceFabricApplicationTypeAsync (applicationTypeName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ServiceFabricApplicationTypeResource))

Paramètres

applicationTypeName
String

Nom de la ressource de nom de type d’application.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

applicationTypeName est une chaîne vide, et on s’attendait à ce qu’elle ne soit pas vide.

applicationTypeName a la valeur null.

S’applique à