Skip to content
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "restorabledroppeddatabasetest-1257",
"workspaceName": "restorabledroppeddatabasetest-2389",
"restorableDroppedSqlPoolId": "restorabledroppeddatabasetest-7654,131403269876900000",
"api-version": "2019-06-01-preview"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/restorabledroppeddatabasetest-1257/providers/Microsoft.Synapse/workspaces/restorabledroppeddatabasetest-2389/restorableDroppedSqlPools/restorabledroppeddatabasetest-7654,131403269876900000",
"name": "restorabledroppeddatabasetest-7654,131403269876900000",
"type": "Microsoft.Synapse/workspaces/restorableDroppedSqlPools",
"location": "Japan East",
"properties": {
"databaseName": "restorabledroppeddatabasetest-7654",
"edition": "Datawarehouse",
"maxSizeBytes": "2147483648",
"serviceLevelObjective": "DW100c",
"elasticPoolName": null,
"creationDate": "2017-02-10T00:56:19.2Z",
"deletionDate": "2017-05-27T02:49:47.69Z",
"earliestRestoreDate": "2017-05-20T02:49:47.69Z"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "restorabledroppeddatabasetest-1349",
"workspaceName": "restorabledroppeddatabasetest-1840",
"api-version": "2019-06-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/restorabledroppeddatabasetest-1349/providers/Microsoft.Synapse/workspaces/restorabledroppeddatabasetest-1840/restorableDroppedSqlPools/restorabledroppeddatabasetest-1345,131403269876900000",
"name": "restorabledroppeddatabasetest-1345,131403269876900000",
"type": "Microsoft.Synapse/workspaces/restorableDroppedSqlPools",
"location": "Japan East",
"properties": {
"databaseName": "restorabledroppeddatabasetest-1345",
"edition": "Basic",
"maxSizeBytes": "2147483648",
"serviceLevelObjective": "Basic",
"elasticPoolName": null,
"creationDate": "2017-02-10T00:56:19.2Z",
"deletionDate": "2017-05-27T02:49:47.69Z",
"earliestRestoreDate": "2017-05-20T02:49:47.69Z"
}
},
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/restorabledroppeddatabasetest-1349/providers/Microsoft.Synapse/workspaces/restorabledroppeddatabasetest-1840/restorableDroppedSqlPools/restorabledroppeddatabasetest-2764,131403249684030000",
"name": "restorabledroppeddatabasetest-2764,131403249684030000",
"type": "Microsoft.Synapse/workspaces/restorableDroppedSqlPools",
"location": "Japan East",
"properties": {
"databaseName": "restorabledroppeddatabasetest-2764",
"edition": "Standard",
"maxSizeBytes": "268435456000",
"serviceLevelObjective": "S0",
"elasticPoolName": null,
"creationDate": "2016-05-10T00:56:19.2Z",
"deletionDate": "2017-05-27T02:16:08.403Z",
"earliestRestoreDate": "2017-04-21T02:49:47.69Z"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "Default-SQL-SouthEastAsia",
"restorePointName": "131546477590000000",
"location": "japaneast",
"workspaceName": "testws",
"sqlPoolName": "testpool",
"api-version": "2019-06-01-preview"
},
"responses": {
"200": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "Default-SQL-SouthEastAsia",
"restorePointName": "131546477590000000",
"location": "japaneast",
"workspaceName": "testws",
"sqlPoolName": "testpool",
"api-version": "2019-06-01-preview"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Synapse/workspaces/testws/sqlPools/testpool/restorePoints/131546477590000000",
"name": "131546477590000000",
"type": "Microsoft.Synapse/workspaces/sqlPools/restorePoints",
"location": "japaneast",
"properties": {
"restorePointType": "DISCRETE",
"restorePointCreationDate": "2017-03-10T08:00:00.000Z",
"restorePointLabel": "mylabel"
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3833,6 +3833,115 @@
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/restorePoints/{restorePointName}": {
"get": {
"tags": [
"SqlPools, RestorePoints"
],
"description": "Gets a restore point.",
"operationId": "SqlPoolRestorePoints_Get",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./workspace.json#/parameters/workspaceNameParameter"
},
{
"type": "string",
"in": "path",
"name": "sqlPoolName",
"description": "SQL pool name",
"required": true
},
{
"name": "restorePointName",
"in": "path",
"description": "The name of the restore point.",
"required": true,
"type": "string"
}
],
"consumes": [],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "Successfully returned the restore point.",
"schema": {
"$ref": "#/definitions/RestorePoint"
}
},
"default": {
"description": "*** Error Responses: ***\n\n * 400 FeatureDisabledOnSelectedEdition - User attempted to use a feature which is disabled on current database edition.\n\n * 400 BackupNotAllowedOnDeactivatedDatabase - Cannot create restore point on a deactivated database.\n\n * 400 RestorePointLimitReached - A restore point cannot be created because database would exceed the allowed quota of restore points.\n\n * 400 RestorePointAttemptToDeleteSystemBackup - Cannot delete system restore point.\n\n * 404 DatabaseRestorePointNotFound - Can not find database restore point.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 408 DatabaseRestorePointTimedOut - Create database restore point failed."
}
},
"x-ms-examples": {
"Gets a Sql pool restore point.": {
"$ref": "./examples/SqlPoolRestorePointsGet.json"
}
}
},
"delete": {
"tags": [
"SqlPools, RestorePoints"
],
"description": "Deletes a restore point.",
"operationId": "SqlPoolRestorePoints_Delete",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./workspace.json#/parameters/workspaceNameParameter"
},
{
"type": "string",
"in": "path",
"name": "sqlPoolName",
"description": "SQL pool name",
"required": true
},
{
"name": "restorePointName",
"in": "path",
"description": "The name of the restore point.",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "Successfully deleted the restore point."
},
"default": {
"description": "*** Error Responses: ***\n\n * 400 FeatureDisabledOnSelectedEdition - User attempted to use a feature which is disabled on current database edition.\n\n * 400 BackupNotAllowedOnDeactivatedDatabase - Cannot create restore point on a deactivated database.\n\n * 400 RestorePointLimitReached - A restore point cannot be created because database would exceed the allowed quota of restore points.\n\n * 400 RestorePointAttemptToDeleteSystemBackup - Cannot delete system restore point.\n\n * 404 DatabaseRestorePointNotFound - Can not find database restore point.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 408 DatabaseRestorePointTimedOut - Create database restore point failed."
}
},
"consumes": [],
"produces": [
"application/json"
],
"x-ms-examples": {
"Deletes a restore point.": {
"$ref": "./examples/SqlPoolRestorePointsDelete.json"
}
}
}
}
},
"definitions": {
Expand Down
Loading