Skip to content

Commit 85f1d12

Browse files
najianNan Jiangmsyyc
authored andcommitted
[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 <naji@microsoft.com> Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
1 parent ed07426 commit 85f1d12

File tree

15 files changed

+1122
-0
lines changed

15 files changed

+1122
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-11-01-preview",
4+
"resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app",
5+
"linkerName": "linkName"
6+
},
7+
"responses": {
8+
"200": {},
9+
"204": {},
10+
"202": {}
11+
}
12+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-11-01-preview",
4+
"resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app",
5+
"linkerName": "linkName"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"configurations": [
11+
{
12+
"name": "ASL_DocumentDb_ConnectionString",
13+
"value": "ConnectionString"
14+
}
15+
]
16+
}
17+
}
18+
}
19+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-11-01-preview",
4+
"resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app",
5+
"linkerName": "linkName"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/links/linkName",
11+
"name": "linkName",
12+
"type": "Microsoft.ServiceLinker/links",
13+
"properties": {
14+
"authInfo": {
15+
"authType": "secret",
16+
"name": "name"
17+
},
18+
"targetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db"
19+
},
20+
"systemData": {
21+
"createdAt": "2020-07-12T22:05:09Z"
22+
}
23+
}
24+
}
25+
}
26+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-11-01-preview",
4+
"resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"value": [
10+
{
11+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.ServiceLinker/links/linkName",
12+
"name": "linkName",
13+
"type": "Microsoft.ServiceLinker/links",
14+
"properties": {
15+
"authInfo": {
16+
"authType": "secret",
17+
"name": "username"
18+
},
19+
"targetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db"
20+
},
21+
"systemData": {
22+
"createdAt": "2020-07-12T22:05:09Z"
23+
}
24+
}
25+
]
26+
}
27+
}
28+
}
29+
}
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-11-01-preview",
4+
"resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app",
5+
"linkerName": "linkName",
6+
"parameters": {
7+
"properties": {
8+
"targetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db",
9+
"authInfo": {
10+
"authType": "servicePrincipalSecret",
11+
"clientId": "name",
12+
"principalId": "id",
13+
"secret": "secret"
14+
}
15+
}
16+
}
17+
},
18+
"responses": {
19+
"200": {
20+
"body": {
21+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/links/linkName",
22+
"type": "Microsoft.ServiceLinker/links",
23+
"name": "linkName",
24+
"properties": {
25+
"authInfo": {
26+
"authType": "servicePrincipalSecret",
27+
"clientId": "name",
28+
"principalId": "id",
29+
"secret": "secret"
30+
},
31+
"targetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db"
32+
}
33+
}
34+
},
35+
"201": {
36+
"body": {
37+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/links/linkName",
38+
"type": "Microsoft.ServiceLinker/links",
39+
"name": "linkName",
40+
"properties": {
41+
"authInfo": {
42+
"authType": "servicePrincipalSecret",
43+
"clientId": "name",
44+
"principalId": "id",
45+
"secret": "secret"
46+
},
47+
"targetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db"
48+
}
49+
}
50+
}
51+
}
52+
}
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-11-01-preview",
4+
"resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app",
5+
"linkerName": "linkName",
6+
"parameters": {
7+
"properties": {
8+
"targetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db",
9+
"authInfo": {
10+
"authType": "secret",
11+
"name": "name",
12+
"secret": "secret"
13+
}
14+
}
15+
}
16+
},
17+
"responses": {
18+
"200": {
19+
"body": {
20+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/links/linkName",
21+
"type": "Microsoft.ServiceLinker/links",
22+
"name": "linkName",
23+
"properties": {
24+
"authInfo": {
25+
"authType": "secret",
26+
"name": "name"
27+
},
28+
"targetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db"
29+
}
30+
}
31+
},
32+
"201": {
33+
"body": {
34+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/links/linkName",
35+
"type": "Microsoft.ServiceLinker/links",
36+
"name": "linkName",
37+
"properties": {
38+
"authInfo": {
39+
"authType": "secret",
40+
"name": "name"
41+
},
42+
"targetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db"
43+
}
44+
}
45+
}
46+
}
47+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-11-01-preview",
4+
"resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app",
5+
"linkerName": "linkName"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"name": "linkName",
11+
"linkerStatus": "Not healthy",
12+
"reason": "Error reason and trouble shooting message.",
13+
"reportStartTimeUtc": "2020-07-12T22:05:09Z",
14+
"reportEndTimeUtc": "2020-07-12T22:06:09Z",
15+
"targetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db",
16+
"authType": "secret"
17+
}
18+
},
19+
"202": {}
20+
}
21+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-11-01-preview",
4+
"resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app",
5+
"linkerName": "linkName"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"name": "linkName",
11+
"linkerStatus": "Healthy",
12+
"reportStartTimeUtc": "2020-07-12T22:05:09Z",
13+
"reportEndTimeUtc": "2020-07-12T22:06:09Z",
14+
"targetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db",
15+
"authType": "secret"
16+
}
17+
},
18+
"202": {}
19+
}
20+
}

0 commit comments

Comments
 (0)