Skip to content

Commit

Permalink
add TDE V5 tag and remove it from sql.core.legacy.json
Browse files Browse the repository at this point in the history
  • Loading branch information
yuerenwa committed Sep 16, 2021
1 parent 32d5a03 commit 78c2844
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 149 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,111 +108,6 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/transparentDataEncryption/{transparentDataEncryptionName}": {
"put": {
"tags": [
"TransparentDataEncryption"
],
"operationId": "TransparentDataEncryptions_CreateOrUpdate",
"description": "Creates or updates a database's transparent data encryption configuration.",
"x-ms-examples": {
"Create or update a database's transparent data encryption configuration": {
"$ref": "./examples/DatabaseTransparentDataEncryptionCreateOrUpdate.json"
}
},
"parameters": [
{
"$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter"
},
{
"$ref": "#/parameters/ServerNameParameter"
},
{
"name": "databaseName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the database for which setting the transparent data encryption applies."
},
{
"$ref": "#/parameters/TransparentDataEncryptionNameParameter"
},
{
"name": "parameters",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/TransparentDataEncryption"
},
"description": "The required parameters for creating or updating transparent data encryption."
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/TransparentDataEncryption"
}
},
"201": {
"description": "Created",
"schema": {
"$ref": "#/definitions/TransparentDataEncryption"
}
}
}
},
"get": {
"tags": [
"TransparentDataEncryption"
],
"operationId": "TransparentDataEncryptions_Get",
"description": "Gets a database's transparent data encryption configuration.",
"x-ms-examples": {
"Get a database's transparent data encryption configuration": {
"$ref": "./examples/DatabaseTransparentDataEncryptionGet.json"
}
},
"parameters": [
{
"$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter"
},
{
"$ref": "#/parameters/ServerNameParameter"
},
{
"name": "databaseName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the database for which the transparent data encryption applies."
},
{
"$ref": "#/parameters/TransparentDataEncryptionNameParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/TransparentDataEncryption"
}
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/transparentDataEncryption/{transparentDataEncryptionName}/operationResults": {
"get": {
"tags": [
Expand Down Expand Up @@ -547,42 +442,6 @@
],
"description": "Represents the response to a list elastic pool database activity request."
},
"TransparentDataEncryptionProperties": {
"properties": {
"status": {
"type": "string",
"description": "The status of the database transparent data encryption.",
"enum": [
"Enabled",
"Disabled"
],
"x-ms-enum": {
"name": "TransparentDataEncryptionStatus"
}
}
},
"description": "Represents the properties of a database transparent data encryption."
},
"TransparentDataEncryption": {
"properties": {
"location": {
"type": "string",
"readOnly": true,
"description": "Resource location."
},
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/TransparentDataEncryptionProperties",
"description": "Represents the properties of the resource."
}
},
"allOf": [
{
"$ref": "../../../common/v1/types.json#/definitions/ProxyResource"
}
],
"description": "Represents a database transparent data encryption configuration."
},
"SloUsageMetric": {
"properties": {
"serviceLevelObjective": {
Expand Down Expand Up @@ -774,14 +633,6 @@
"description": "The name of the server.",
"x-ms-parameter-location": "method"
},
"DatabaseExpandParameter": {
"name": "$expand",
"in": "query",
"required": false,
"type": "string",
"description": "A comma separated list of child objects to expand in the response. Possible properties: serviceTierAdvisors, transparentDataEncryption.",
"x-ms-parameter-location": "method"
},
"TransparentDataEncryptionNameParameter": {
"name": "transparentDataEncryptionName",
"in": "path",
Expand Down
1 change: 1 addition & 0 deletions specification/sql/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ input-file:
- ./Microsoft.Sql/preview/2020-11-01-preview/VirtualNetworkRules.json
- ./Microsoft.Sql/preview/2020-11-01-preview/WorkloadClassifiers.json
- ./Microsoft.Sql/preview/2020-11-01-preview/WorkloadGroups.json
- ./Microsoft.Sql/preview/2021-02-01-preview/TransparentDataEncryptions.json
- ./Microsoft.Sql/preview/2021-02-01-preview/BackupShortTermRetentionPolicies.json
- ./Microsoft.Sql/preview/2021-02-01-preview/Databases.json
- ./Microsoft.Sql/preview/2021-02-01-preview/DatabaseExtensions.json
Expand Down

0 comments on commit 78c2844

Please sign in to comment.