MaintenanceConfigurationCollection.GetAsync(String, CancellationToken) Método

Definição

Obter registro de configuração

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Maintenance/maintenanceConfigurations/{resourceName}
  • Operação IdMaintenanceConfigurations_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Maintenance.MaintenanceConfigurationResource>> GetAsync (string resourceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Maintenance.MaintenanceConfigurationResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Maintenance.MaintenanceConfigurationResource>>
Public Overridable Function GetAsync (resourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MaintenanceConfigurationResource))

Parâmetros

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 esperava-se que não estivesse vazia.

resourceName é nulo.

Aplica-se a