MaintenanceExtensions.AcknowledgeAsync Method

Definition

Post Scheduled Event Acknowledgement <item> Mocking. To mock this method, please mock AcknowledgeAsync(ResourceIdentifier, String, CancellationToken) instead. </item>

public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Maintenance.Models.MaintenanceScheduledEventApproveResult>> AcknowledgeAsync(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope, string scheduledEventId, System.Threading.CancellationToken cancellationToken = default);
static member AcknowledgeAsync : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Maintenance.Models.MaintenanceScheduledEventApproveResult>>
<Extension()>
Public Function AcknowledgeAsync (client As ArmClient, scope As ResourceIdentifier, scheduledEventId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MaintenanceScheduledEventApproveResult))

Parameters

client
ArmClient

The ArmClient the method will execute against.

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

client is null.

Applies to