Language

MaintenanceExtensions.AcknowledgeListAsync Method

Definition

Post List of ScheduledEvents Acknowledgement <item> Mocking. To mock this method, please mock AcknowledgeListAsync(ResourceIdentifier, MaintenanceScheduledEventIdList, CancellationToken) instead. </item>

public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Maintenance.Models.MaintenanceScheduledEventApproveResult>> AcknowledgeListAsync(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope, Azure.ResourceManager.Maintenance.Models.MaintenanceScheduledEventIdList scheduledEventsIdList, System.Threading.CancellationToken cancellationToken = default);
static member AcknowledgeListAsync : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier * Azure.ResourceManager.Maintenance.Models.MaintenanceScheduledEventIdList * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Maintenance.Models.MaintenanceScheduledEventApproveResult>>
<Extension()>
Public Function AcknowledgeListAsync (client As ArmClient, scope As ResourceIdentifier, scheduledEventsIdList As MaintenanceScheduledEventIdList, 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.

scheduledEventsIdList
MaintenanceScheduledEventIdList

List of ScheduledEvents Id.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

client is null.

Applies to