MockableContainerServiceSubscriptionResource.GetMaintenanceWindows 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.
Lists maintenance windows in the specified subscription.
- Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/maintenanceWindows.
- Operation Id. : MaintenanceWindows_ListBySubscription.
- Default Api Version. : 2026-04-02-preview.
public virtual Azure.Pageable<Azure.ResourceManager.ContainerService.MaintenanceWindowResource> GetMaintenanceWindows(System.Threading.CancellationToken cancellationToken = default);
abstract member GetMaintenanceWindows : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ContainerService.MaintenanceWindowResource>
override this.GetMaintenanceWindows : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ContainerService.MaintenanceWindowResource>
Public Overridable Function GetMaintenanceWindows (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of MaintenanceWindowResource)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of MaintenanceWindowResource that may take multiple service requests to iterate over.