Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 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,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
@@ -0,0 +1,28 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "sqlcrudtest-6852",
"workspaceName": "sqlcrudtest-2080",
"sqlPoolName": "sqlcrudtest-9187",
"transparentDataEncryptionName": "current",
"api-version": "2019-06-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"properties": {
"status": "Encrypting",
"percentComplete": 100
},
"name": "current",
"location": "West US",
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-2080/sqlPools/sqlcrudtest-9187/transparentDataEncryption/current/operationResults/current",
"type": "Microsoft.Synapse/workspaces/sqlPools/transparentDataEncryption/operationResults"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3833,6 +3833,174 @@
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/transparentDataEncryption/{transparentDataEncryptionName}/operationResults": {
"get": {
"tags": [
"SqlPools, TransparentDataEncryption"
],
"operationId": "TransparentDataEncryptionActivities_ListByConfiguration",
"description": "Returns a SqlPool's transparent data encryption operation result.",
"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
},
{
"$ref": "#/parameters/TransparentDataEncryptionNameParameter"
}
],
"consumes": [],
"produces": [
"application/json"
],
"x-ms-examples": {
"List a Sql Pool's transparent data encryption activities": {
"$ref": "./examples/SqlPoolTransparentDataEncryptionActivityList.json"
}
},
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/TransparentDataEncryptionActivityListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
},
"x-ms-pageable": {
"nextLinkName": null
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/restorePoints/{restorePointName}": {
"get": {
"tags": [
"SqlPools, RestorePoints"
],
"description": "Gets a restore point.",
"operationId": "RestorePoints_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": "RestorePoints_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 Expand Up @@ -5752,6 +5920,65 @@
"code",
"message"
]
},
"TransparentDataEncryptionActivityProperties": {
"properties": {
"status": {
"readOnly": true,
"type": "string",
"description": "The status of the Sql Pool.",
"enum": [
"Encrypting",
"Decrypting"
],
"x-ms-enum": {
"name": "TransparentDataEncryptionActivityStatus",
"modelAsString": true
}
},
"percentComplete": {
"readOnly": true,
"type": "number",
"format": "float",
"description": "The percent complete of the transparent data encryption scan for a Sql Pool."
}
},
"description": "Represents the properties of a Sql pool transparent data encryption Scan."
},
"TransparentDataEncryptionActivity": {
"properties": {
"location": {
"type": "string",
"readOnly": true,
"description": "Resource location."
},
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/TransparentDataEncryptionActivityProperties",
"description": "Represents the properties of the resource."
}
},
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource"
}
],
"description": "Represents a database transparent data encryption Scan."
},
"TransparentDataEncryptionActivityListResult": {
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/definitions/TransparentDataEncryptionActivity"
},
"description": "The list of Sql pool transparent data encryption activities."
}
},
"required": [
"value"
],
"description": "Represents the response to a list sql pool transparent data encryption activity request."
}
},
"parameters": {
Expand All @@ -5769,6 +5996,21 @@
},
"description": "The name of the data masking policy for which the masking rule applies.",
"x-ms-parameter-location": "method"
},
"TransparentDataEncryptionNameParameter": {
"name": "transparentDataEncryptionName",
"in": "path",
"required": true,
"type": "string",
"enum": [
"current"
],
"description": "The name of the transparent data encryption configuration.",
"x-ms-enum": {
"modelAsString": true,
"name": "TransparentDataEncryptionName"
},
"x-ms-parameter-location": "method"
}
}
}