MaintenanceExtensions.Acknowledge Method

Definition

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

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