MaintenanceExtensions.Acknowledge 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 <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
- 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.