MockableMaintenanceResourceGroupResource.AcknowledgeScheduledEvent 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: ScheduledEvent_Acknowledge
- Default Api Version: 2023-10-01-preview
public virtual Azure.Response<Azure.ResourceManager.Maintenance.Models.ScheduledEventApproveResult> AcknowledgeScheduledEvent (string resourceType, string resourceName, string scheduledEventId, System.Threading.CancellationToken cancellationToken = default);
abstract member AcknowledgeScheduledEvent : string * string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Maintenance.Models.ScheduledEventApproveResult>
override this.AcknowledgeScheduledEvent : string * string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Maintenance.Models.ScheduledEventApproveResult>
Public Overridable Function AcknowledgeScheduledEvent (resourceType As String, resourceName As String, scheduledEventId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ScheduledEventApproveResult)
Parameters
- resourceType
- String
Resource type.
- resourceName
- String
Resource Name.
- 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
resourceType
, resourceName
or scheduledEventId
is an empty string, and was expected to be non-empty.
resourceType
, resourceName
or scheduledEventId
is null.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET