forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AutoSync] 7547259 bring back old api version as deletion is not allo…
…wed by arm (Azure#6297)
- Loading branch information
1 parent
6a3d5bf
commit 1126146
Showing
10 changed files
with
934 additions
and
0 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
...anager/Microsoft.ServiceLinker/preview/2021-01-01-privatepreview/examples/DeleteLink.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-01-01-privatepreview", | ||
"resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app", | ||
"linkerName": "linkName" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
...Microsoft.ServiceLinker/preview/2021-01-01-privatepreview/examples/GetConfigurations.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-01-01-privatepreview", | ||
"resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app", | ||
"linkerName": "linkName" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"sourceConfigurations": [ | ||
{ | ||
"type": "appSettings", | ||
"linkConfig": { | ||
"ASL_DocumentDb_ConnectionString": "ConnectionString" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...urce-manager/Microsoft.ServiceLinker/preview/2021-01-01-privatepreview/examples/Link.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-01-01-privatepreview", | ||
"resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app", | ||
"linkerName": "linkName" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/links/linkName", | ||
"name": "linkName", | ||
"type": "Microsoft.ServiceLinker/links", | ||
"properties": { | ||
"authInfo": { | ||
"authType": "secret", | ||
"name": "name" | ||
}, | ||
"targetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" | ||
}, | ||
"systemData": { | ||
"createdAt": "2020-07-12T22:05:09Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
...-manager/Microsoft.ServiceLinker/preview/2021-01-01-privatepreview/examples/LinkList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-01-01-privatepreview", | ||
"resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.ServiceLinker/links/linkName", | ||
"name": "linkName", | ||
"type": "Microsoft.ServiceLinker/links", | ||
"properties": { | ||
"authInfo": { | ||
"authType": "secret", | ||
"name": "username" | ||
}, | ||
"targetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" | ||
}, | ||
"systemData": { | ||
"createdAt": "2020-07-12T22:05:09Z" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
52 changes: 52 additions & 0 deletions
52
...manager/Microsoft.ServiceLinker/preview/2021-01-01-privatepreview/examples/PatchLink.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-01-01-privatepreview", | ||
"resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app", | ||
"linkerName": "linkName", | ||
"parameters": { | ||
"properties": { | ||
"targetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db", | ||
"authInfo": { | ||
"authType": "servicePrincipalSecret", | ||
"clientId": "name", | ||
"principalId": "id", | ||
"secret": "secret" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/links/linkName", | ||
"type": "Microsoft.ServiceLinker/links", | ||
"name": "linkName", | ||
"properties": { | ||
"authInfo": { | ||
"authType": "servicePrincipalSecret", | ||
"clientId": "name", | ||
"principalId": "id", | ||
"secret": "secret" | ||
}, | ||
"targetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/links/linkName", | ||
"type": "Microsoft.ServiceLinker/links", | ||
"name": "linkName", | ||
"properties": { | ||
"authInfo": { | ||
"authType": "servicePrincipalSecret", | ||
"clientId": "name", | ||
"principalId": "id", | ||
"secret": "secret" | ||
}, | ||
"targetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" | ||
} | ||
} | ||
} | ||
} | ||
} |
47 changes: 47 additions & 0 deletions
47
...e-manager/Microsoft.ServiceLinker/preview/2021-01-01-privatepreview/examples/PutLink.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-01-01-privatepreview", | ||
"resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app", | ||
"linkerName": "linkName", | ||
"parameters": { | ||
"properties": { | ||
"targetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db", | ||
"authInfo": { | ||
"authType": "secret", | ||
"name": "name", | ||
"secret": "secret" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/links/linkName", | ||
"type": "Microsoft.ServiceLinker/links", | ||
"name": "linkName", | ||
"properties": { | ||
"authInfo": { | ||
"authType": "secret", | ||
"name": "name" | ||
}, | ||
"targetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/links/linkName", | ||
"type": "Microsoft.ServiceLinker/links", | ||
"name": "linkName", | ||
"properties": { | ||
"authInfo": { | ||
"authType": "secret", | ||
"name": "name" | ||
}, | ||
"targetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" | ||
} | ||
} | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...crosoft.ServiceLinker/preview/2021-01-01-privatepreview/examples/ValidateLinkFailure.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-01-01-privatepreview", | ||
"resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app", | ||
"linkerName": "linkName" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "linkName", | ||
"linkerStatus": "Not healthy", | ||
"reason": "Error reason and trouble shooting message.", | ||
"reportStartTimeUtc": "2020-07-12T22:05:09Z", | ||
"reportEndTimeUtc": "2020-07-12T22:06:09Z", | ||
"targetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db", | ||
"authType": "secret" | ||
} | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...crosoft.ServiceLinker/preview/2021-01-01-privatepreview/examples/ValidateLinkSuccess.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-01-01-privatepreview", | ||
"resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app", | ||
"linkerName": "linkName" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "linkName", | ||
"linkerStatus": "Healthy", | ||
"reportStartTimeUtc": "2020-07-12T22:05:09Z", | ||
"reportEndTimeUtc": "2020-07-12T22:06:09Z", | ||
"targetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db", | ||
"authType": "secret" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.