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,28 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "sqlcrudtest-6852",
"serverName": "sqlcrudtest-2080",
"databaseName": "sqlcrudtest-9187",
"api-version": "2014-04-01",
"parameters": {
"location": "North Europe",
"properties": {
"status": "Enabled"
}
}
},
"responses": {
"200": {
"body": {
"name" : "current",
"location" : "North Europe",
"id" : "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/sqlcrudtest-9187/transparentDataEncryption/current",
"type" : "Microsoft.Sql/servers/databases/transparentDataEncryption",
"properties" : {
"status" : "Enabled"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "sqlcrudtest-6852",
"serverName": "sqlcrudtest-2080",
"databaseName": "sqlcrudtest-9187",
"api-version": "2014-04-01"
},
"responses": {
"200": {
"body": {
"name" : "current",
"location" : "North Europe",
"id" : "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/sqlcrudtest-9187/transparentDataEncryption/current",
"type" : "Microsoft.Sql/servers/databases/transparentDataEncryption",
"properties" : {
"status" : "Enabled"
}
}
}
}
}
247 changes: 0 additions & 247 deletions arm-sql/2014-04-01/swagger/servers.json
Original file line number Diff line number Diff line change
Expand Up @@ -194,121 +194,6 @@
"nextLinkName": null
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/usages": {
"get": {
"tags": [
"Servers"
],
"operationId": "Servers_ListUsages",
"description": "Returns server usages.",
"x-ms-examples":{
"List servers usages": { "$ref": "../examples/ServerUsageMetricsList.json" }
},
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ResourceGroupParameter"
},
{
"$ref": "#/parameters/ServerNameParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/ServerMetricListResult"
}
}
},
"x-ms-pageable": {
"nextLinkName": null
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/serviceObjectives/{serviceObjectiveName}": {
"get": {
"tags": [
"ServiceObjectives"
],
"operationId": "Servers_GetServiceObjective",
"description": "Gets a database service objective.",
"x-ms-examples":{
"Get a service objective": { "$ref": "../examples/ServiceObjectiveGet.json" }
},
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ResourceGroupParameter"
},
{
"$ref": "#/parameters/ServerNameParameter"
},
{
"name": "serviceObjectiveName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the service objective to retrieve."
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/ServiceObjective"
}
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/serviceObjectives": {
"get": {
"tags": [
"ServiceObjectives"
],
"operationId": "Servers_ListServiceObjectives",
"description": "Returns database service objectives.",
"x-ms-examples":{
"List service objectives": { "$ref": "../examples/ServiceObjectiveList.json" }
},
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ResourceGroupParameter"
},
{
"$ref": "#/parameters/ServerNameParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/ServiceObjectiveListResult"
}
}
},
"x-ms-pageable": {
"nextLinkName": null
}
}
}
},
"definitions": {
Expand All @@ -333,21 +218,6 @@
},
"x-ms-azure-resource": true
},
"SubResource": {
"description": "Subresource properties",
"properties": {
"name": {
"readOnly": true,
"type": "string",
"description": "Resource name"
},
"id": {
"readOnly": true,
"type": "string",
"description": "The resource ID."
}
}
},
"TrackedResource":{
"description":"ARM tracked top level resource.",
"properties":{
Expand Down Expand Up @@ -470,123 +340,6 @@
},
"required": ["value"],
"description": "Represents the response to a get server request."
},
"ServerMetric": {
"properties": {
"name": {
"readOnly": true,
"type": "string",
"description": "Name of the server usage metric."
},
"resourceName": {
"readOnly": true,
"type": "string",
"description": "The name of the resource."
},
"displayName": {
"readOnly": true,
"type": "string",
"description": "The metric display name."
},
"currentValue": {
"readOnly": true,
"type": "number",
"format": "double",
"description": "The current value of the metric."
},
"limit": {
"readOnly": true,
"type": "number",
"format": "double",
"description": "The current limit of the metric."
},
"unit": {
"readOnly": true,
"type": "string",
"description": "The units of the metric."
},
"nextResetTime": {
"readOnly": true,
"type": "string",
"format": "date-time",
"description": "The next reset time for the metric (ISO8601 format)."
}
},
"description": "Represents server metrics."
},
"ServerMetricListResult": {
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/definitions/ServerMetric"
},
"description": "The list of server metrics for the server."
}
},
"required": ["value"],
"description": "Represents the response to a list server metrics request."
},
"ServiceObjective": {
"properties": {
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/ServiceObjectiveProperties",
"description": "Represents the properties of the resource."
}
},
"allOf": [
{
"$ref": "#/definitions/SubResource"
}
],
"description": "Represents a database service objective."
},
"ServiceObjectiveProperties": {
"properties": {
"serviceObjectiveName": {
"readOnly": true,
"type": "string",
"description": "The name for the service objective."
},
"isDefault": {
"readOnly": true,
"type": "boolean",
"description": "Gets whether the service level objective is the default service objective.",
"x-nullable": false
},
"isSystem": {
"readOnly": true,
"type": "boolean",
"description": "Gets whether the service level objective is a system service objective.",
"x-nullable": false
},
"description": {
"readOnly": true,
"type": "string",
"description": "The description for the service level objective."
},
"enabled": {
"readOnly": true,
"type": "boolean",
"description": "Gets whether the service level objective is enabled.",
"x-nullable": false
}
},
"description": "Represents the properties of a database service objective."
},
"ServiceObjectiveListResult": {
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/definitions/ServiceObjective"
},
"description": "The list of database service objectives."
}
},
"required": ["value"],
"description": "Represents the response to a get database service objectives request."
}
},
"parameters": {
Expand Down
Loading