共用方式為


SynapseMaintenanceWindowOptionResource.GetAsync Method

Definition

Get list of SQL pool's available maintenance windows.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/maintenanceWindowOptions/current
  • Operation Id: SqlPoolMaintenanceWindowOptions_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Synapse.SynapseMaintenanceWindowOptionResource>> GetAsync (string maintenanceWindowOptionsName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Synapse.SynapseMaintenanceWindowOptionResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Synapse.SynapseMaintenanceWindowOptionResource>>
Public Overridable Function GetAsync (maintenanceWindowOptionsName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SynapseMaintenanceWindowOptionResource))

Parameters

maintenanceWindowOptionsName
String

Maintenance window options name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

maintenanceWindowOptionsName is null.

Applies to