Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unsupported SQL Pool Rename/move operation #24517

Merged
merged 1 commit into from
Jul 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -459,63 +459,6 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/move": {
"post": {
"operationId": "SqlPools_Rename",
"summary": "Rename a SQL pool",
"description": "Rename a SQL pool.",
"tags": [
"SqlPools"
],
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./workspace.json#/parameters/workspaceNameParameter"
},
{
"type": "string",
"in": "path",
"name": "sqlPoolName",
"description": "SQL pool name",
"required": true
},
{
"name": "parameters",
"in": "body",
"description": "The resource move definition for renaming this Sql pool.",
"required": true,
"schema": {
"$ref": "#/definitions/ResourceMoveDefinition"
}
}
],
"responses": {
"200": {
"description": "Successfully renamed the Sql pool"
},
"default": {
"description": "*** Error Responses: ***\n\n * 400 InvalidResourceMoveRequest - The resource move request is invalid.\n\n * 400 InvalidMoveTargetResourceId - The target resource identifier in move request is invalid.\n\n * 400 MismatchingSubscriptionWithUrl - The provided subscription did not match the subscription in the Url.\n\n * 400 MismatchingResourceGroupNameWithUrl - The provided resource group name did not match the name in the Url.\n\n * 400 MismatchingServerNameWithUrl - The provided server name did not match the name in the Url.\n\n * 400 InvalidIdentifier - The identifier contains NULL or an invalid unicode character.\n\n * 400 DatabaseNameInUse - Database already exists. Choose a different database name.\n\n * 400 TokenTooLong - The provided token is too long.\n\n * 400 CannotMoveOrDropSyncMetadataDatabase - Cannot drop database used as sync metadata database.\n\n * 400 UnsupportedServiceName - The specified name is an invalid name because it contains one or more unsupported unicode characters.\n\n * 400 CannotUseReservedDatabaseName - Cannot use reserved database name in this operation.\n\n * 400 CannotMoveOrDropJobAccountDatabase - Cannot drop database associated with job account.\n\n * 404 SourceDatabaseNotFound - The source database does not exist.\n\n * 409 InvalidOperationForDatabaseInReplicationRelationship - A replication seeding operation was performed on a database that is already in a replication relationship."
}
},
"consumes": [],
"produces": [
"application/json"
],
"x-ms-examples": {
"Rename a SQL Analytics pool": {
"$ref": "./examples/RenameSqlPool.json"
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/metadataSync/config": {
"get": {
"operationId": "SqlPoolMetadataSyncConfigs_Get",
Expand Down Expand Up @@ -7010,19 +6953,6 @@
}
}
},
"ResourceMoveDefinition": {
"description": "Contains the information necessary to perform a resource move (rename).",
"required": [
"id"
],
"type": "object",
"properties": {
"id": {
"description": "The target ID for the resource",
"type": "string"
}
}
},
"CreateSqlPoolRestorePointDefinition": {
"description": "Contains the information necessary to perform a create Sql pool restore point operation.",
"required": [
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -467,63 +467,6 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/move": {
"post": {
"operationId": "SqlPools_Rename",
"summary": "Rename a SQL pool",
"description": "Rename a SQL pool.",
"tags": [
"SqlPools"
],
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter"
},
{
"type": "string",
"in": "path",
"name": "sqlPoolName",
"description": "SQL pool name",
"required": true
},
{
"name": "parameters",
"in": "body",
"description": "The resource move definition for renaming this Sql pool.",
"required": true,
"schema": {
"$ref": "#/definitions/ResourceMoveDefinition"
}
}
],
"responses": {
"200": {
"description": "Successfully renamed the Sql pool"
},
"default": {
"description": "*** Error Responses: ***\n\n * 400 InvalidResourceMoveRequest - The resource move request is invalid.\n\n * 400 InvalidMoveTargetResourceId - The target resource identifier in move request is invalid.\n\n * 400 MismatchingSubscriptionWithUrl - The provided subscription did not match the subscription in the Url.\n\n * 400 MismatchingResourceGroupNameWithUrl - The provided resource group name did not match the name in the Url.\n\n * 400 MismatchingServerNameWithUrl - The provided server name did not match the name in the Url.\n\n * 400 InvalidIdentifier - The identifier contains NULL or an invalid unicode character.\n\n * 400 DatabaseNameInUse - Database already exists. Choose a different database name.\n\n * 400 TokenTooLong - The provided token is too long.\n\n * 400 CannotMoveOrDropSyncMetadataDatabase - Cannot drop database used as sync metadata database.\n\n * 400 UnsupportedServiceName - The specified name is an invalid name because it contains one or more unsupported unicode characters.\n\n * 400 CannotUseReservedDatabaseName - Cannot use reserved database name in this operation.\n\n * 400 CannotMoveOrDropJobAccountDatabase - Cannot drop database associated with job account.\n\n * 404 SourceDatabaseNotFound - The source database does not exist.\n\n * 409 InvalidOperationForDatabaseInReplicationRelationship - A replication seeding operation was performed on a database that is already in a replication relationship."
}
},
"consumes": [],
"produces": [
"application/json"
],
"x-ms-examples": {
"Rename a SQL Analytics pool": {
"$ref": "./examples/RenameSqlPool.json"
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/metadataSync/config": {
"get": {
"operationId": "SqlPoolMetadataSyncConfigs_Get",
Expand Down Expand Up @@ -7209,19 +7152,6 @@
}
}
},
"ResourceMoveDefinition": {
"description": "Contains the information necessary to perform a resource move (rename).",
"required": [
"id"
],
"type": "object",
"properties": {
"id": {
"description": "The target ID for the resource",
"type": "string"
}
}
},
"CreateSqlPoolRestorePointDefinition": {
"description": "Contains the information necessary to perform a create Sql pool restore point operation.",
"required": [
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -459,63 +459,6 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/move": {
"post": {
"operationId": "SqlPools_Rename",
"summary": "Rename a SQL pool",
"description": "Rename a SQL pool.",
"tags": [
"SqlPools"
],
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./workspace.json#/parameters/workspaceNameParameter"
},
{
"type": "string",
"in": "path",
"name": "sqlPoolName",
"description": "SQL pool name",
"required": true
},
{
"name": "parameters",
"in": "body",
"description": "The resource move definition for renaming this Sql pool.",
"required": true,
"schema": {
"$ref": "#/definitions/ResourceMoveDefinition"
}
}
],
"responses": {
"200": {
"description": "Successfully renamed the Sql pool"
},
"default": {
"description": "*** Error Responses: ***\n\n * 400 InvalidResourceMoveRequest - The resource move request is invalid.\n\n * 400 InvalidMoveTargetResourceId - The target resource identifier in move request is invalid.\n\n * 400 MismatchingSubscriptionWithUrl - The provided subscription did not match the subscription in the Url.\n\n * 400 MismatchingResourceGroupNameWithUrl - The provided resource group name did not match the name in the Url.\n\n * 400 MismatchingServerNameWithUrl - The provided server name did not match the name in the Url.\n\n * 400 InvalidIdentifier - The identifier contains NULL or an invalid unicode character.\n\n * 400 DatabaseNameInUse - Database already exists. Choose a different database name.\n\n * 400 TokenTooLong - The provided token is too long.\n\n * 400 CannotMoveOrDropSyncMetadataDatabase - Cannot drop database used as sync metadata database.\n\n * 400 UnsupportedServiceName - The specified name is an invalid name because it contains one or more unsupported unicode characters.\n\n * 400 CannotUseReservedDatabaseName - Cannot use reserved database name in this operation.\n\n * 400 CannotMoveOrDropJobAccountDatabase - Cannot drop database associated with job account.\n\n * 404 SourceDatabaseNotFound - The source database does not exist.\n\n * 409 InvalidOperationForDatabaseInReplicationRelationship - A replication seeding operation was performed on a database that is already in a replication relationship."
}
},
"consumes": [],
"produces": [
"application/json"
],
"x-ms-examples": {
"Rename a SQL Analytics pool": {
"$ref": "./examples/RenameSqlPool.json"
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/metadataSync/config": {
"get": {
"operationId": "SqlPoolMetadataSyncConfigs_Get",
Expand Down Expand Up @@ -7006,19 +6949,6 @@
}
}
},
"ResourceMoveDefinition": {
"description": "Contains the information necessary to perform a resource move (rename).",
"required": [
"id"
],
"type": "object",
"properties": {
"id": {
"description": "The target ID for the resource",
"type": "string"
}
}
},
"CreateSqlPoolRestorePointDefinition": {
"description": "Contains the information necessary to perform a create Sql pool restore point operation.",
"required": [
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -459,63 +459,6 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/move": {
"post": {
"operationId": "SqlPools_Rename",
"summary": "Rename a SQL pool",
"description": "Rename a SQL pool.",
"tags": [
"SqlPools"
],
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./workspace.json#/parameters/workspaceNameParameter"
},
{
"type": "string",
"in": "path",
"name": "sqlPoolName",
"description": "SQL pool name",
"required": true
},
{
"name": "parameters",
"in": "body",
"description": "The resource move definition for renaming this Sql pool.",
"required": true,
"schema": {
"$ref": "#/definitions/ResourceMoveDefinition"
}
}
],
"responses": {
"200": {
"description": "Successfully renamed the Sql pool"
},
"default": {
"description": "*** Error Responses: ***\n\n * 400 InvalidResourceMoveRequest - The resource move request is invalid.\n\n * 400 InvalidMoveTargetResourceId - The target resource identifier in move request is invalid.\n\n * 400 MismatchingSubscriptionWithUrl - The provided subscription did not match the subscription in the Url.\n\n * 400 MismatchingResourceGroupNameWithUrl - The provided resource group name did not match the name in the Url.\n\n * 400 MismatchingServerNameWithUrl - The provided server name did not match the name in the Url.\n\n * 400 InvalidIdentifier - The identifier contains NULL or an invalid unicode character.\n\n * 400 DatabaseNameInUse - Database already exists. Choose a different database name.\n\n * 400 TokenTooLong - The provided token is too long.\n\n * 400 CannotMoveOrDropSyncMetadataDatabase - Cannot drop database used as sync metadata database.\n\n * 400 UnsupportedServiceName - The specified name is an invalid name because it contains one or more unsupported unicode characters.\n\n * 400 CannotUseReservedDatabaseName - Cannot use reserved database name in this operation.\n\n * 400 CannotMoveOrDropJobAccountDatabase - Cannot drop database associated with job account.\n\n * 404 SourceDatabaseNotFound - The source database does not exist.\n\n * 409 InvalidOperationForDatabaseInReplicationRelationship - A replication seeding operation was performed on a database that is already in a replication relationship."
}
},
"consumes": [],
"produces": [
"application/json"
],
"x-ms-examples": {
"Rename a SQL Analytics pool": {
"$ref": "./examples/RenameSqlPool.json"
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/metadataSync/config": {
"get": {
"operationId": "SqlPoolMetadataSyncConfigs_Get",
Expand Down Expand Up @@ -7009,19 +6952,6 @@
}
}
},
"ResourceMoveDefinition": {
"description": "Contains the information necessary to perform a resource move (rename).",
"required": [
"id"
],
"type": "object",
"properties": {
"id": {
"description": "The target ID for the resource",
"type": "string"
}
}
},
"CreateSqlPoolRestorePointDefinition": {
"description": "Contains the information necessary to perform a create Sql pool restore point operation.",
"required": [
Expand Down
Loading