共用方式為


ElasticMonitorResource.GetDeploymentInfoAsync(CancellationToken) Method

Definition

Fetch information regarding Elastic cloud deployment corresponding to the Elastic monitor resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/listDeploymentInfo
  • Operation Id: DeploymentInfo_List
  • Default Api Version: 2024-06-15-preview
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Elastic.Models.DeploymentInfoResponse>> GetDeploymentInfoAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetDeploymentInfoAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Elastic.Models.DeploymentInfoResponse>>
override this.GetDeploymentInfoAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Elastic.Models.DeploymentInfoResponse>>
Public Overridable Function GetDeploymentInfoAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DeploymentInfoResponse))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to