Partilhar via


MaintenanceExtensions.GetMaintenanceConfigurations Método

Definição

Sobrecargas

GetMaintenanceConfigurations(ResourceGroupResource)

Obtém uma coleção de MaintenanceConfigurationResources no ResourceGroupResource.

GetMaintenanceConfigurations(SubscriptionResource, CancellationToken)

Obter registros de configuração em uma assinatura

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Maintenance/maintenanceConfigurations
  • Operação IdMaintenanceConfigurations_List

GetMaintenanceConfigurations(ResourceGroupResource)

Obtém uma coleção de MaintenanceConfigurationResources no ResourceGroupResource.

public static Azure.ResourceManager.Maintenance.MaintenanceConfigurationCollection GetMaintenanceConfigurations (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetMaintenanceConfigurations : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Maintenance.MaintenanceConfigurationCollection
<Extension()>
Public Function GetMaintenanceConfigurations (resourceGroupResource As ResourceGroupResource) As MaintenanceConfigurationCollection

Parâmetros

resourceGroupResource
ResourceGroupResource

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

Retornos

Um objeto que representa a coleção de MaintenanceConfigurationResources e suas operações em um MaintenanceConfigurationResource.

Aplica-se a

GetMaintenanceConfigurations(SubscriptionResource, CancellationToken)

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.Pageable<Azure.ResourceManager.Maintenance.MaintenanceConfigurationResource> GetMaintenanceConfigurations (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetMaintenanceConfigurations : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Maintenance.MaintenanceConfigurationResource>
<Extension()>
Public Function GetMaintenanceConfigurations (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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 de MaintenanceConfigurationResource que pode levar várias solicitações de serviço para iterar.

Aplica-se a