共用方式為


MaintenanceConfigurationCollection.GetAll(CancellationToken) Method

Definition

Get Configuration records within a subscription and resource group

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maintenance/maintenanceConfigurations
  • Operation Id: MaintenanceConfigurationsForResourceGroup_List
  • Default Api Version: 2023-10-01-preview
  • Resource: MaintenanceConfigurationResource
public virtual Azure.Pageable<Azure.ResourceManager.Maintenance.MaintenanceConfigurationResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Maintenance.MaintenanceConfigurationResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Maintenance.MaintenanceConfigurationResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of MaintenanceConfigurationResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to