Compartilhar via


MaintenanceExtensions.GetMaintenanceConfiguration Método

Definição

Obter registro de configuração

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Maintenance/maintenanceConfigurations/{resourceName}
  • IdMaintenanceConfigurations_Get de operação
public static Azure.Response<Azure.ResourceManager.Maintenance.MaintenanceConfigurationResource> GetMaintenanceConfiguration (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string resourceName, System.Threading.CancellationToken cancellationToken = default);
static member GetMaintenanceConfiguration : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Maintenance.MaintenanceConfigurationResource>
<Extension()>
Public Function GetMaintenanceConfiguration (resourceGroupResource As ResourceGroupResource, resourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of MaintenanceConfigurationResource)

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância na qual o método será executado.

resourceName
String

Nome da Configuração de Manutenção.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

resourceName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

resourceName é nulo.

Aplica-se a