MaintenanceWindowResource.GetAsync(CancellationToken) Method

Definition

Gets the specified maintenance window.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/maintenanceWindows/{maintenanceWindowName}.
  • Operation Id. : MaintenanceWindows_Get.
  • Default Api Version. : 2026-04-02-preview.
  • Resource. : MaintenanceWindowResource.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerService.MaintenanceWindowResource>> GetAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerService.MaintenanceWindowResource>>
override this.GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerService.MaintenanceWindowResource>>
Public Overridable Function GetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MaintenanceWindowResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to