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,14 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "sqlcrudtest-4799",
"serverName": "sqlcrudtest-6440",
"databaseName": "testdb",
"linkId": "5b301b68-03f6-4b26-b0f4-73ebb8634238",
"api-version": "2014-04-01"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "sqlcrudtest-8931",
"serverName": "sqlcrudtest-2137",
"databaseName": "testdb",
"linkId": "f0550bf5-07ce-4270-8e4b-71737975973a",
"api-version": "2014-04-01"
},
"responses": {
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "sqlcrudtest-8931",
"serverName": "sqlcrudtest-2137",
"databaseName": "testdb",
"linkId": "f0550bf5-07ce-4270-8e4b-71737975973a",
"api-version": "2014-04-01",
"parameters": {
"forcedTermination": true
}
},
"responses": {
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@
],
"operationId": "ReplicationLinks_Delete",
"description": "Deletes a database replication link. Cannot be done during failover.",
"x-ms-examples": {
"Delete a replication link": {
"$ref": "./examples/ReplicationLinkDelete.json"
}
},
"parameters": [
{
"$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter"
Expand Down Expand Up @@ -68,6 +73,11 @@
],
"operationId": "ReplicationLinks_Failover",
"description": "Sets which replica database is primary by failing over from the current primary replica database.",
"x-ms-examples": {
"Failover a replication link": {
"$ref": "./examples/ReplicationLinkFailover.json"
}
},
"parameters": [
{
"$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter"
Expand Down Expand Up @@ -114,6 +124,11 @@
],
"operationId": "ReplicationLinks_FailoverAllowDataLoss",
"description": "Sets which replica database is primary by failing over from the current primary replica database. This operation might result in data loss.",
"x-ms-examples": {
"Failover a replication link": {
"$ref": "./examples/ReplicationLinkFailover.json"
}
},
"parameters": [
{
"$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter"
Expand Down Expand Up @@ -160,6 +175,11 @@
],
"operationId": "ReplicationLinks_Unlink",
"description": "Deletes a database replication link in forced or friendly way.",
"x-ms-examples": {
"Delete replication link": {
"$ref": "./examples/ReplicationLinkUnlink.json"
}
},
"parameters": [
{
"$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter"
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 @@ -164,6 +164,7 @@ input-file:
- Microsoft.Sql/stable/2014-04-01/dataMasking.json
- Microsoft.Sql/stable/2014-04-01/geoBackupPolicies.json
- Microsoft.Sql/stable/2014-04-01/metrics.json
- Microsoft.Sql/stable/2014-04-01-legacy/replicationLinks_legacy.json
- Microsoft.Sql/stable/2014-04-01/serverCommunicationLinks.json
- Microsoft.Sql/stable/2014-04-01/serviceObjectives.json
- Microsoft.Sql/stable/2014-04-01-legacy/sql.core_legacy.json
Expand Down