Skip to content

Commit a67a4b4

Browse files
k-rushMilan Zolota
authored andcommitted
[Hub Generated] Review request for Microsoft.TimeSeriesInsights to add version preview/2021-03-31-preview (Azure#15718)
* Adds base for updating Microsoft.TimeSeriesInsights from version stable/2020-05-15 to version 2021-03-31-preview * Updates readme * Updates API version in new specs and examples * Add private links resources * Add examples * Rename example * Remove unused example * fix lintdiff errors * Fix more linting errors * Use common privatelinks definitions * Use common resource type definition * Add suppression for R4009 lintdiff errors
1 parent 34fac09 commit a67a4b4

30 files changed

+4578
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"resourceGroupName": "rg1",
5+
"environmentName": "env1",
6+
"accessPolicyName": "ap1",
7+
"parameters": {
8+
"properties": {
9+
"principalObjectId": "aGuid",
10+
"roles": [
11+
"Reader"
12+
],
13+
"description": "some description"
14+
}
15+
},
16+
"api-version": "2021-03-31-preview"
17+
},
18+
"responses": {
19+
"200": {
20+
"body": {
21+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1/accessPolicies/ap1",
22+
"name": "ap1",
23+
"type": "Microsoft.TimeSeriesInsights/Environments/AccessPolicies",
24+
"properties": {
25+
"principalObjectId": "aGuid",
26+
"roles": [
27+
"Reader"
28+
],
29+
"description": "some description"
30+
}
31+
}
32+
},
33+
"201": {
34+
"body": {
35+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1/accessPolicies/ap1",
36+
"name": "ap1",
37+
"type": "Microsoft.TimeSeriesInsights/Environments/AccessPolicies",
38+
"properties": {
39+
"principalObjectId": "aGuid",
40+
"roles": [
41+
"Reader"
42+
],
43+
"description": "some description"
44+
}
45+
}
46+
}
47+
}
48+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"resourceGroupName": "rg1",
5+
"environmentName": "env1",
6+
"accessPolicyName": "ap1",
7+
"api-version": "2021-03-31-preview"
8+
},
9+
"responses": {
10+
"200": {},
11+
"204": {}
12+
}
13+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"resourceGroupName": "rg1",
5+
"environmentName": "env1",
6+
"accessPolicyName": "ap1",
7+
"api-version": "2021-03-31-preview"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1/accessPolicies/ap1",
13+
"name": "ap1",
14+
"type": "Microsoft.TimeSeriesInsights/Environments/AccessPolicies",
15+
"properties": {
16+
"principalObjectId": "aGuid",
17+
"roles": [
18+
"Reader"
19+
],
20+
"description": "some description"
21+
}
22+
}
23+
}
24+
}
25+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"resourceGroupName": "rg1",
5+
"environmentName": "env1",
6+
"api-version": "2021-03-31-preview"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1/accessPolicies/ap1",
14+
"name": "ap1",
15+
"type": "Microsoft.TimeSeriesInsights/Environments/AccessPolicies",
16+
"properties": {
17+
"principalObjectId": "aGuid",
18+
"roles": [
19+
"Reader"
20+
],
21+
"description": "some description"
22+
}
23+
}
24+
]
25+
}
26+
}
27+
}
28+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"resourceGroupName": "rg1",
5+
"environmentName": "env1",
6+
"accessPolicyName": "ap1",
7+
"accessPolicyUpdateParameters": {
8+
"properties": {
9+
"roles": [
10+
"Reader",
11+
"Contributor"
12+
]
13+
}
14+
},
15+
"api-version": "2021-03-31-preview"
16+
},
17+
"responses": {
18+
"200": {
19+
"body": {
20+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1/accessPolicies/ap1",
21+
"name": "ap1",
22+
"type": "Microsoft.TimeSeriesInsights/Environments/AccessPolicies",
23+
"properties": {
24+
"principalObjectId": "aGuid",
25+
"roles": [
26+
"Reader"
27+
],
28+
"description": "some description"
29+
}
30+
}
31+
}
32+
}
33+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"resourceGroupName": "rg1",
5+
"environmentName": "env1",
6+
"parameters": {
7+
"location": "West US",
8+
"kind": "Gen1",
9+
"sku": {
10+
"name": "S1",
11+
"capacity": 1
12+
},
13+
"properties": {
14+
"dataRetentionTime": "P31D",
15+
"partitionKeyProperties": [
16+
{
17+
"name": "DeviceId1",
18+
"type": "String"
19+
}
20+
]
21+
}
22+
},
23+
"api-version": "2021-03-31-preview"
24+
},
25+
"responses": {
26+
"201": {
27+
"body": {
28+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1",
29+
"location": "West US",
30+
"name": "env1",
31+
"type": "Microsoft.TimeSeriesInsights/Environments",
32+
"kind": "Gen1",
33+
"tags": {},
34+
"properties": {
35+
"dataRetentionTime": "P31D",
36+
"provisioningState": "Creating",
37+
"creationTime": "2017-04-18T19:20:33.2288820Z"
38+
},
39+
"sku": {
40+
"name": "S1",
41+
"capacity": 1
42+
}
43+
}
44+
},
45+
"200": {
46+
"body": {
47+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1",
48+
"location": "West US",
49+
"name": "env1",
50+
"type": "Microsoft.TimeSeriesInsights/Environments",
51+
"kind": "Gen1",
52+
"tags": {},
53+
"properties": {
54+
"dataRetentionTime": "P31D",
55+
"provisioningState": "Succeeded",
56+
"creationTime": "2017-04-18T19:20:33.2288820Z"
57+
},
58+
"sku": {
59+
"name": "S1",
60+
"capacity": 1
61+
}
62+
}
63+
},
64+
"404": {}
65+
}
66+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"resourceGroupName": "rg1",
5+
"environmentName": "env1",
6+
"api-version": "2021-03-31-preview"
7+
},
8+
"responses": {
9+
"200": {},
10+
"204": {}
11+
}
12+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"environmentName": "env1",
5+
"resourceGroupName": "rg1",
6+
"api-version": "2021-03-31-preview"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1",
12+
"location": "West US",
13+
"name": "env1",
14+
"type": "Microsoft.TimeSeriesInsights/Environments",
15+
"kind": "Gen1",
16+
"tags": {},
17+
"properties": {
18+
"dataRetentionTime": "P31D",
19+
"provisioningState": "Succeeded",
20+
"creationTime": "2017-04-18T19:20:33.2288820Z",
21+
"partitionKeyProperties": [
22+
{
23+
"name": "DeviceId1",
24+
"type": "String"
25+
}
26+
]
27+
},
28+
"sku": {
29+
"name": "S1",
30+
"capacity": 1
31+
}
32+
}
33+
}
34+
}
35+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"resourceGroupName": "rg1",
5+
"api-version": "2021-03-31-preview"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"value": [
11+
{
12+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1",
13+
"location": "West US",
14+
"name": "env1",
15+
"type": "Microsoft.TimeSeriesInsights/Environments",
16+
"kind": "Gen1",
17+
"tags": {},
18+
"properties": {
19+
"dataRetentionTime": "P31D",
20+
"provisioningState": "Succeeded",
21+
"creationTime": "2017-04-18T19:20:33.2288820Z"
22+
},
23+
"sku": {
24+
"name": "S1",
25+
"capacity": 1
26+
}
27+
}
28+
]
29+
}
30+
}
31+
}
32+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"api-version": "2021-03-31-preview"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"value": [
10+
{
11+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1",
12+
"location": "West US",
13+
"name": "env1",
14+
"type": "Microsoft.TimeSeriesInsights/Environments",
15+
"kind": "Gen1",
16+
"tags": {},
17+
"properties": {
18+
"dataRetentionTime": "P31D",
19+
"provisioningState": "Succeeded",
20+
"creationTime": "2017-04-18T19:20:33.2288820Z"
21+
},
22+
"sku": {
23+
"name": "S1",
24+
"capacity": 1
25+
}
26+
}
27+
]
28+
}
29+
}
30+
}
31+
}

0 commit comments

Comments
 (0)