Freigeben über


ServiceFabricApplicationTypeResource.GetServiceFabricApplicationTypeVersionAsync Methode

Definition

Rufen Sie eine Service Fabric-Anwendungstypversionsressource ab, die in der Service Fabric-Anwendungstypnamenressource erstellt wurde oder gerade erstellt wird.

  • Anfordern von Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applicationTypes/{applicationTypeName}/versions/{version}
  • Vorgang IdApplicationTypeVersions_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceFabric.ServiceFabricApplicationTypeVersionResource>> GetServiceFabricApplicationTypeVersionAsync (string version, System.Threading.CancellationToken cancellationToken = default);
abstract member GetServiceFabricApplicationTypeVersionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceFabric.ServiceFabricApplicationTypeVersionResource>>
override this.GetServiceFabricApplicationTypeVersionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceFabric.ServiceFabricApplicationTypeVersionResource>>
Public Overridable Function GetServiceFabricApplicationTypeVersionAsync (version As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ServiceFabricApplicationTypeVersionResource))

Parameter

version
String

Die Anwendungstypversion.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

version ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

version ist NULL.

Gilt für: