Compartilhar via


MaintenanceExtensions.GetMaintenanceConfigurationsAsync Método

Definição

Obter registros de configuração em uma assinatura

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Maintenance/maintenanceConfigurations
  • Operação IdMaintenanceConfigurations_List
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)

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância em que o método será executado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção assíncrona de MaintenanceConfigurationResource que pode levar várias solicitações de serviço para iterar.

Aplica-se a