Share via


MaintenanceExtensions.GetMaintenanceConfigurationsAsync Method

Definition

Get Configuration records within a subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Maintenance/maintenanceConfigurations
  • Operation Id: MaintenanceConfigurations_List
  • Default Api Version: 2023-10-01-preview
  • Resource: MaintenanceConfigurationResource
public static Azure.AsyncPageable<Azure.ResourceManager.Maintenance.MaintenanceConfigurationResource> GetMaintenanceConfigurationsAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetMaintenanceConfigurationsAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Maintenance.MaintenanceConfigurationResource>
<Extension()>
Public Function GetMaintenanceConfigurationsAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of MaintenanceConfigurationResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of MaintenanceConfigurationResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to