Share via


MockableMaintenanceResourceGroupResource.AcknowledgeScheduledEvent Method

Definition

Post Scheduled Event Acknowledgement

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Compute/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/scheduledevents/{scheduledEventId}/acknowledge
  • Operation Id: ScheduledEvent_Acknowledge
  • Default Api Version: 2023-10-01-preview
public virtual Azure.Response<Azure.ResourceManager.Maintenance.Models.ScheduledEventApproveResult> AcknowledgeScheduledEvent (string resourceType, string resourceName, string scheduledEventId, System.Threading.CancellationToken cancellationToken = default);
abstract member AcknowledgeScheduledEvent : string * string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Maintenance.Models.ScheduledEventApproveResult>
override this.AcknowledgeScheduledEvent : string * string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Maintenance.Models.ScheduledEventApproveResult>
Public Overridable Function AcknowledgeScheduledEvent (resourceType As String, resourceName As String, scheduledEventId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ScheduledEventApproveResult)

Parameters

resourceType
String

Resource type.

resourceName
String

Resource Name.

scheduledEventId
String

Scheduled Event Id. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

resourceType, resourceName or scheduledEventId is an empty string, and was expected to be non-empty.

resourceType, resourceName or scheduledEventId is null.

Applies to