Delen via


ElasticMonitorResource.ResubscribeOrganizationAsync Method

Definition

Resubscribe the Elasticsearch Organization.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/resubscribe
  • Operation Id: Organizations_Resubscribe
  • Default Api Version: 2024-06-15-preview
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Elastic.ElasticMonitorResource>> ResubscribeOrganizationAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Elastic.Models.ResubscribeProperties body = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ResubscribeOrganizationAsync : Azure.WaitUntil * Azure.ResourceManager.Elastic.Models.ResubscribeProperties * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Elastic.ElasticMonitorResource>>
override this.ResubscribeOrganizationAsync : Azure.WaitUntil * Azure.ResourceManager.Elastic.Models.ResubscribeProperties * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Elastic.ElasticMonitorResource>>
Public Overridable Function ResubscribeOrganizationAsync (waitUntil As WaitUntil, Optional body As ResubscribeProperties = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of ElasticMonitorResource))

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.

body
ResubscribeProperties

Resubscribe Properties.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to