SynapseSqlPoolResource.RenameAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.