Condividi tramite


ServiceFabricManagedApplicationResource.FetchHealthAsync Method

Definition

Get the status of the deployed application health. It will query the cluster to find the health of the deployed application.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}/fetchHealth.
  • Operation Id. : Applications_FetchHealth.
  • Default Api Version. : 2026-02-01.
  • Resource. : ServiceFabricManagedApplicationResource.
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation> FetchHealthAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.ServiceFabricManagedClusters.Models.ApplicationFetchHealthContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member FetchHealthAsync : Azure.WaitUntil * Azure.ResourceManager.ServiceFabricManagedClusters.Models.ApplicationFetchHealthContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
override this.FetchHealthAsync : Azure.WaitUntil * Azure.ResourceManager.ServiceFabricManagedClusters.Models.ApplicationFetchHealthContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
Public Overridable Function FetchHealthAsync (waitUntil As WaitUntil, content As ApplicationFetchHealthContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

content
ApplicationFetchHealthContent

The parameters for fetching the health of a deployed application.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to