Skip to content

Commit ea0db30

Browse files
qianwensFredericHeem
authored andcommitted
add API version 2022-05-01 (Azure#18614)
* add API version 2022-05-01 * fix readme
1 parent ab5dae2 commit ea0db30

File tree

12 files changed

+1560
-1
lines changed

12 files changed

+1560
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-05-01",
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": "2022-05-01",
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+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-05-01",
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+
"targetService": {
19+
"type": "AzureResource",
20+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db"
21+
}
22+
},
23+
"systemData": {
24+
"createdAt": "2020-07-12T22:05:09Z"
25+
}
26+
}
27+
}
28+
}
29+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-05-01",
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+
"targetService": {
20+
"type": "AzureResource",
21+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db"
22+
}
23+
},
24+
"systemData": {
25+
"createdAt": "2020-07-12T22:05:09Z"
26+
}
27+
}
28+
]
29+
}
30+
}
31+
}
32+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,185 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-05-01",
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+
"value": [
11+
{
12+
"display": {
13+
"description": "Register the subscription for Microsoft.ServiceLinker",
14+
"operation": "Register the Microsoft.ServiceLinker",
15+
"provider": "Microsoft.ServiceLinker",
16+
"resource": "Microsoft.ServiceLinker"
17+
},
18+
"isDataAction": false,
19+
"name": "Microsoft.ServiceLinker/register/action"
20+
},
21+
{
22+
"display": {
23+
"description": "Unregister the subscription for Microsoft.ServiceLinker",
24+
"operation": "Unregister the Microsoft.ServiceLinker",
25+
"provider": "Microsoft.ServiceLinker",
26+
"resource": "Microsoft.ServiceLinker"
27+
},
28+
"isDataAction": false,
29+
"name": "Microsoft.ServiceLinker/unregister/action"
30+
},
31+
{
32+
"display": {
33+
"description": "read operations",
34+
"operation": "read_operations",
35+
"provider": "Microsoft.ServiceLinker",
36+
"resource": "operations"
37+
},
38+
"isDataAction": false,
39+
"name": "Microsoft.ServiceLinker/operations/read"
40+
},
41+
{
42+
"display": {
43+
"description": "list dryrun jobs",
44+
"operation": "Dryrun_List",
45+
"provider": "Microsoft.ServiceLinker",
46+
"resource": "dryruns"
47+
},
48+
"isDataAction": false,
49+
"name": "Microsoft.ServiceLinker/dryruns/read"
50+
},
51+
{
52+
"display": {
53+
"description": "get a dryrun job",
54+
"operation": "Dryrun_Get",
55+
"provider": "Microsoft.ServiceLinker",
56+
"resource": "dryruns"
57+
},
58+
"isDataAction": false,
59+
"name": "Microsoft.ServiceLinker/dryruns/read"
60+
},
61+
{
62+
"display": {
63+
"description": "create a dryrun job to do necessary check before actual creation",
64+
"operation": "Dryrun_Create",
65+
"provider": "Microsoft.ServiceLinker",
66+
"resource": "dryruns"
67+
},
68+
"isDataAction": false,
69+
"name": "Microsoft.ServiceLinker/dryruns/write"
70+
},
71+
{
72+
"display": {
73+
"description": "delete a dryrun job",
74+
"operation": "Dryrun_Delete",
75+
"provider": "Microsoft.ServiceLinker",
76+
"resource": "dryruns"
77+
},
78+
"isDataAction": false,
79+
"name": "Microsoft.ServiceLinker/dryruns/delete"
80+
},
81+
{
82+
"display": {
83+
"description": "add a dryrun job to do necessary check before actual creation",
84+
"operation": "Dryrun_Update",
85+
"provider": "Microsoft.ServiceLinker",
86+
"resource": "dryruns"
87+
},
88+
"isDataAction": false,
89+
"name": "Microsoft.ServiceLinker/dryruns/write"
90+
},
91+
{
92+
"display": {
93+
"description": "read operationStatuses",
94+
"operation": "read_operationStatuses",
95+
"provider": "Microsoft.ServiceLinker",
96+
"resource": "locations/operationStatuses"
97+
},
98+
"isDataAction": false,
99+
"name": "Microsoft.ServiceLinker/locations/operationStatuses/read"
100+
},
101+
{
102+
"display": {
103+
"description": "write operationStatuses",
104+
"operation": "write_operationStatuses",
105+
"provider": "Microsoft.ServiceLinker",
106+
"resource": "locations/operationStatuses"
107+
},
108+
"isDataAction": false,
109+
"name": "Microsoft.ServiceLinker/locations/operationStatuses/write"
110+
},
111+
{
112+
"display": {
113+
"description": "Returns list of Linkers which connects to the resource.",
114+
"operation": "Linker_List",
115+
"provider": "Microsoft.ServiceLinker",
116+
"resource": "linkers"
117+
},
118+
"isDataAction": false,
119+
"name": "Microsoft.ServiceLinker/linkers/read"
120+
},
121+
{
122+
"display": {
123+
"description": "Returns Linker resource for a given name.",
124+
"operation": "Linker_Get",
125+
"provider": "Microsoft.ServiceLinker",
126+
"resource": "linkers"
127+
},
128+
"isDataAction": false,
129+
"name": "Microsoft.ServiceLinker/linkers/read"
130+
},
131+
{
132+
"display": {
133+
"description": "Create or update linker resource.",
134+
"operation": "Linker_CreateOrUpdate",
135+
"provider": "Microsoft.ServiceLinker",
136+
"resource": "linkers"
137+
},
138+
"isDataAction": false,
139+
"name": "Microsoft.ServiceLinker/linkers/write"
140+
},
141+
{
142+
"display": {
143+
"description": "Delete a link.",
144+
"operation": "Linker_Delete",
145+
"provider": "Microsoft.ServiceLinker",
146+
"resource": "linkers"
147+
},
148+
"isDataAction": false,
149+
"name": "Microsoft.ServiceLinker/linkers/delete"
150+
},
151+
{
152+
"display": {
153+
"description": "Operation to update an existing link.",
154+
"operation": "Linker_Update",
155+
"provider": "Microsoft.ServiceLinker",
156+
"resource": "linkers"
157+
},
158+
"isDataAction": false,
159+
"name": "Microsoft.ServiceLinker/linkers/write"
160+
},
161+
{
162+
"display": {
163+
"description": "Validate a link.",
164+
"operation": "Linker_Validate",
165+
"provider": "Microsoft.ServiceLinker",
166+
"resource": "linkers"
167+
},
168+
"isDataAction": false,
169+
"name": "Microsoft.ServiceLinker/linkers/validateLinker/action"
170+
},
171+
{
172+
"display": {
173+
"description": "list source configurations for a linker.",
174+
"operation": "Linker_ListConfigurations",
175+
"provider": "Microsoft.ServiceLinker",
176+
"resource": "linkers"
177+
},
178+
"isDataAction": false,
179+
"name": "Microsoft.ServiceLinker/linkers/listConfigurations/action"
180+
}
181+
]
182+
}
183+
}
184+
}
185+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-05-01",
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+
"targetService": {
9+
"type": "AzureResource",
10+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db"
11+
},
12+
"authInfo": {
13+
"authType": "servicePrincipalSecret",
14+
"clientId": "name",
15+
"principalId": "id",
16+
"secret": "secret"
17+
}
18+
}
19+
}
20+
},
21+
"responses": {
22+
"200": {
23+
"body": {
24+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/links/linkName",
25+
"type": "Microsoft.ServiceLinker/links",
26+
"name": "linkName",
27+
"properties": {
28+
"authInfo": {
29+
"authType": "servicePrincipalSecret",
30+
"clientId": "name",
31+
"principalId": "id"
32+
},
33+
"targetService": {
34+
"type": "AzureResource",
35+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db"
36+
}
37+
}
38+
}
39+
},
40+
"201": {
41+
"body": {
42+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/links/linkName",
43+
"type": "Microsoft.ServiceLinker/links",
44+
"name": "linkName",
45+
"properties": {
46+
"authInfo": {
47+
"authType": "servicePrincipalSecret",
48+
"clientId": "name",
49+
"principalId": "id"
50+
},
51+
"targetService": {
52+
"type": "AzureResource",
53+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db"
54+
}
55+
}
56+
}
57+
}
58+
}
59+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-05-01",
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+
"targetService": {
9+
"type": "AzureResource",
10+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DBforPostgreSQL/servers/test-pg/databases/test-db"
11+
},
12+
"authInfo": {
13+
"authType": "secret",
14+
"name": "name",
15+
"secretInfo": {
16+
"secretType": "rawValue",
17+
"value": "secret"
18+
}
19+
}
20+
}
21+
}
22+
},
23+
"responses": {
24+
"200": {
25+
"body": {
26+
"type": "Microsoft.ServiceLinker/links",
27+
"name": "linkName",
28+
"properties": {
29+
"authInfo": {
30+
"authType": "secret",
31+
"name": "name"
32+
},
33+
"targetService": {
34+
"type": "AzureResource",
35+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DBforPostgreSQL/servers/test-pg/databases/test-db"
36+
}
37+
}
38+
}
39+
},
40+
"201": {
41+
"body": {
42+
"type": "Microsoft.ServiceLinker/links",
43+
"name": "linkName",
44+
"properties": {
45+
"authInfo": {
46+
"authType": "secret",
47+
"name": "name"
48+
},
49+
"targetService": {
50+
"type": "AzureResource",
51+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DBforPostgreSQL/servers/test-pg/databases/test-db"
52+
}
53+
}
54+
}
55+
}
56+
}
57+
}

0 commit comments

Comments
 (0)