共用方式為


SynapseSqlPoolResource.RenameAsync Method

Definition

Rename a SQL pool.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/move
  • Operation Id: SqlPools_Rename
public virtual System.Threading.Tasks.Task<Azure.Response> RenameAsync (Azure.ResourceManager.Synapse.Models.SynapseResourceMoveDefinition synapseResourceMoveDefinition, System.Threading.CancellationToken cancellationToken = default);
abstract member RenameAsync : Azure.ResourceManager.Synapse.Models.SynapseResourceMoveDefinition * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.RenameAsync : Azure.ResourceManager.Synapse.Models.SynapseResourceMoveDefinition * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function RenameAsync (synapseResourceMoveDefinition As SynapseResourceMoveDefinition, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

synapseResourceMoveDefinition
SynapseResourceMoveDefinition

The resource move definition for renaming this Sql pool.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

synapseResourceMoveDefinition is null.

Applies to