Compartilhar via


MaintenanceWindowsResource.GetAsync(String, CancellationToken) Método

Definição

Obtém as configurações de janelas de manutenção para um banco de dados.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/maintenanceWindows/current
  • IdMaintenanceWindows_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.MaintenanceWindowsResource>> GetAsync (string maintenanceWindowName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.MaintenanceWindowsResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.MaintenanceWindowsResource>>
Public Overridable Function GetAsync (maintenanceWindowName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MaintenanceWindowsResource))

Parâmetros

maintenanceWindowName
String

Nome da janela de manutenção.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

maintenanceWindowName é nulo.

Aplica-se a