Freigeben über


ServiceFabricClusterResource.GetServiceFabricApplication Methode

Definition

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

  • Anfordern von Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}
  • Vorgang IdApplications_Get
public virtual Azure.Response<Azure.ResourceManager.ServiceFabric.ServiceFabricApplicationResource> GetServiceFabricApplication (string applicationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetServiceFabricApplication : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ServiceFabric.ServiceFabricApplicationResource>
override this.GetServiceFabricApplication : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ServiceFabric.ServiceFabricApplicationResource>
Public Overridable Function GetServiceFabricApplication (applicationName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ServiceFabricApplicationResource)

Parameter

applicationName
String

Der Name der Anwendungsressource.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

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

applicationName ist NULL.

Gilt für: