MockableMaintenanceResourceGroupResource.AcknowledgeScheduledEventAsync 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 System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Maintenance.Models.ScheduledEventApproveResult>> AcknowledgeScheduledEventAsync (string resourceType, string resourceName, string scheduledEventId, System.Threading.CancellationToken cancellationToken = default);
abstract member AcknowledgeScheduledEventAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Maintenance.Models.ScheduledEventApproveResult>>
override this.AcknowledgeScheduledEventAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Maintenance.Models.ScheduledEventApproveResult>>
Public Overridable Function AcknowledgeScheduledEventAsync (resourceType As String, resourceName As String, scheduledEventId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.