MaintenanceExtensions.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 static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Maintenance.Models.ScheduledEventApproveResult>> AcknowledgeScheduledEventAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string resourceType, string resourceName, string scheduledEventId, System.Threading.CancellationToken cancellationToken = default);
static member AcknowledgeScheduledEventAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Maintenance.Models.ScheduledEventApproveResult>>
<Extension()>
Public Function AcknowledgeScheduledEventAsync (resourceGroupResource As ResourceGroupResource, resourceType As String, resourceName As String, scheduledEventId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ScheduledEventApproveResult))
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
- 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.
resourceGroupResource
, resourceType
, resourceName
or scheduledEventId
is null.
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기