MockableMaintenanceArmClient.AcknowledgeAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Post Scheduled Event Acknowledgement
- Request Path. : /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Compute/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/scheduledevents/{scheduledEventId}/acknowledge.
- Operation Id. : ScheduledEventOperationGroup_Acknowledge.
- Default Api Version. : 2023-10-01-preview.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Maintenance.Models.MaintenanceScheduledEventApproveResult>> AcknowledgeAsync(Azure.Core.ResourceIdentifier scope, string scheduledEventId, System.Threading.CancellationToken cancellationToken = default);
abstract member AcknowledgeAsync : Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Maintenance.Models.MaintenanceScheduledEventApproveResult>>
override this.AcknowledgeAsync : Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Maintenance.Models.MaintenanceScheduledEventApproveResult>>
Public Overridable Function AcknowledgeAsync (scope As ResourceIdentifier, scheduledEventId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MaintenanceScheduledEventApproveResult))
Parameters
- scope
- ResourceIdentifier
The scope that the resource will apply against.
- 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
scope or scheduledEventId is null.
scheduledEventId is an empty string, and was expected to be non-empty.