Dela via


ServiceFabricManagedClusterResource.GetServiceFabricManagedApplication Method

Definition

Get a Service Fabric managed application resource created or in the process of being created in the Service Fabric cluster resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applications/{applicationName}
  • Operation Id: Applications_Get
  • Default Api Version: 2023-12-01-preview
  • Resource: ServiceFabricManagedApplicationResource
public virtual Azure.Response<Azure.ResourceManager.ServiceFabricManagedClusters.ServiceFabricManagedApplicationResource> GetServiceFabricManagedApplication (string applicationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetServiceFabricManagedApplication : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ServiceFabricManagedClusters.ServiceFabricManagedApplicationResource>
override this.GetServiceFabricManagedApplication : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ServiceFabricManagedClusters.ServiceFabricManagedApplicationResource>
Public Overridable Function GetServiceFabricManagedApplication (applicationName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ServiceFabricManagedApplicationResource)

Parameters

applicationName
String

The name of the application resource.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

applicationName is null.

applicationName is an empty string, and was expected to be non-empty.

Applies to