forked from Azure/azure-sdk-for-python
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Microsoft.ServiceLinker API version 2021-11-01-preview (
Azure#16146) * ServiceLinker RP version 2021-11-01-preview * Update readme.md * Update readme.python.md * Update readme.md * fix lintrule error * fix format * add multiapi section to readme.go.md Co-authored-by: Nan Jiang <[email protected]> Co-authored-by: msyyc <[email protected]>
- Loading branch information
1 parent
699c3a0
commit 70c1072
Showing
15 changed files
with
1,122 additions
and
0 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
...ource-manager/Microsoft.ServiceLinker/preview/2021-11-01-preview/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,12 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-11-01-preview", | ||
"resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app", | ||
"linkerName": "linkName" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {}, | ||
"202": {} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...anager/Microsoft.ServiceLinker/preview/2021-11-01-preview/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,19 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-11-01-preview", | ||
"resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app", | ||
"linkerName": "linkName" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"configurations": [ | ||
{ | ||
"name": "ASL_DocumentDb_ConnectionString", | ||
"value": "ConnectionString" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...er/resource-manager/Microsoft.ServiceLinker/preview/2021-11-01-preview/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-11-01-preview", | ||
"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
...esource-manager/Microsoft.ServiceLinker/preview/2021-11-01-preview/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-11-01-preview", | ||
"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
...source-manager/Microsoft.ServiceLinker/preview/2021-11-01-preview/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-11-01-preview", | ||
"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
...resource-manager/Microsoft.ServiceLinker/preview/2021-11-01-preview/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-11-01-preview", | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
...ager/Microsoft.ServiceLinker/preview/2021-11-01-preview/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,21 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-11-01-preview", | ||
"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" | ||
} | ||
}, | ||
"202": {} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...ager/Microsoft.ServiceLinker/preview/2021-11-01-preview/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,20 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-11-01-preview", | ||
"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" | ||
} | ||
}, | ||
"202": {} | ||
} | ||
} |
Oops, something went wrong.