Skip to content

Commit 454b15b

Browse files
olterneryungezz
authored andcommitted
Create swagger definitions for new Microsoft.OperationalInsights reso… (#6883)
1 parent d547b77 commit 454b15b

File tree

8 files changed

+776
-0
lines changed

8 files changed

+776
-0
lines changed

specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-08-01-preview/Clusters.json

Lines changed: 562 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
{
2+
"parameters": {
3+
"resourceGroupName": "oiautorest6685",
4+
"clusterName": "oiautorest6685",
5+
"parameters": {
6+
"properties": {
7+
"encryptionKeyUri": "https://aztest2170.vault.azure.net/certificates/aztest2170cert/654ft6c4e63845cbb50fd6fg51540429"
8+
},
9+
"location": "australiasoutheast",
10+
"tags": {
11+
"tag1": "val1"
12+
}
13+
},
14+
"api-version": "2019-08-01-preview",
15+
"subscriptionId": "00000000-0000-0000-0000-00000000000"
16+
},
17+
"responses": {
18+
"200": {
19+
"body": {
20+
"id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/clusters/aztest2170",
21+
"identity": {
22+
"principalId": "356d057d-cba5-44dd-8a30-b2e547bc416b",
23+
"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47",
24+
"type": "SystemAssigned"
25+
},
26+
"name": "AzTest2170",
27+
"type": "Microsoft.OperationalInsights/clusters",
28+
"location": "australiasoutheast",
29+
"tags": {
30+
"tag1": "val1"
31+
},
32+
"properties": {
33+
"clusterId": "bc089d7b-485c-4aff-a71e-c00f362d8d2f",
34+
"provisioningState": "Creating",
35+
"encryptionKeyUri": "https://aztest2170.vault.azure.net/certificates/aztest2170cert/654ft6c4e63845cbb50fd6fg51540429"
36+
}
37+
}
38+
},
39+
"201": {
40+
"body": {
41+
"id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/clusters/aztest2170",
42+
"identity": {
43+
"principalId": "356d057d-cba5-44dd-8a30-b2e547bc416b",
44+
"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47",
45+
"type": "SystemAssigned"
46+
},
47+
"name": "AzTest2170",
48+
"type": "Microsoft.OperationalInsights/clusters",
49+
"location": "australiasoutheast",
50+
"tags": {
51+
"tag1": "val1"
52+
},
53+
"properties": {
54+
"clusterId": "bc089d7b-485c-4aff-a71e-c00f362d8d2f",
55+
"provisioningState": "Creating",
56+
"encryptionKeyUri": "https://aztest2170.vault.azure.net/certificates/aztest2170cert/654ft6c4e63845cbb50fd6fg51540429"
57+
}
58+
}
59+
}
60+
}
61+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"parameters": {
3+
"resourceGroupName": "oiautorest6685",
4+
"clusterName": "oiautorest6685",
5+
"api-version": "2019-08-01-preview",
6+
"subscriptionId": "00000000-0000-0000-0000-00000000000"
7+
},
8+
"responses": {
9+
"200": {},
10+
"204": {}
11+
}
12+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
"parameters": {
3+
"resourceGroupName": "oiautorest6685",
4+
"clusterName": "oiautorest6685",
5+
"api-version": "2019-08-01-preview",
6+
"subscriptionId": "00000000-0000-0000-0000-00000000000"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": [
11+
{
12+
"properties": {
13+
"clusterId": "5b02755b-5bf4-430c-9487-45502a2a7e62",
14+
"provisioningState": "Succeeded",
15+
"encryptionKeyUri": "https://aztest2170.vault.azure.net/certificates/aztest2170cert/654ft6c4e63845cbb50fd6fg51540429"
16+
},
17+
"id": "/subscriptions/594038b5-1093-476e-a366-482775671c11/resourcegroups/calbot-rg/providers/microsoft.operationalinsights/clusters/testresourcelock",
18+
"identity": {
19+
"principalId": "356d057d-cba5-44dd-8a30-b2e547bc416b",
20+
"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47",
21+
"type": "SystemAssigned"
22+
},
23+
"name": "TestResourceLock",
24+
"type": "Microsoft.OperationalInsights/clusters",
25+
"location": "eastus"
26+
},
27+
{
28+
"properties": {
29+
"clusterId": "5b02755b-5bf4-430c-9487-45502a2a7e62",
30+
"provisioningState": "Succeeded",
31+
"encryptionKeyUri": "https://aztest2170.vault.azure.net/certificates/aztest2170cert/654ft6c4e63845cbb50fd6fg51540429"
32+
},
33+
"id": "/subscriptions/594038b5-1093-476e-a366-482775671c11/resourcegroups/mms-eus/providers/microsoft.operationalinsights/clusters/southukws",
34+
"identity": {
35+
"principalId": "356d057d-cba5-44dd-8a30-b2e547bc416b",
36+
"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47",
37+
"type": "SystemAssigned"
38+
},
39+
"name": "SouthUKWS",
40+
"type": "Microsoft.OperationalInsights/clusters",
41+
"location": "East US"
42+
}
43+
]
44+
}
45+
}
46+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"parameters": {
3+
"resourceGroupName": "oiautorest6685",
4+
"api-version": "2019-08-01-preview",
5+
"subscriptionId": "00000000-0000-0000-0000-00000000000"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": [
10+
{
11+
"properties": {
12+
"clusterId": "5b02755b-5bf4-430c-9487-45502a2a7e62",
13+
"provisioningState": "Succeeded",
14+
"encryptionKeyUri": "https://aztest2170.vault.azure.net/certificates/aztest2170cert/654ft6c4e63845cbb50fd6fg51540429"
15+
},
16+
"id": "/subscriptions/594038b5-1093-476e-a366-482775671c11/resourcegroups/calbot-rg/providers/microsoft.operationalinsights/clusters/testresourcelock",
17+
"identity": {
18+
"principalId": "356d057d-cba5-44dd-8a30-b2e547bc416b",
19+
"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47",
20+
"type": "SystemAssigned"
21+
},
22+
"name": "TestResourceLock",
23+
"type": "Microsoft.OperationalInsights/clusters",
24+
"location": "eastus"
25+
}
26+
]
27+
}
28+
}
29+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"parameters": {
3+
"api-version": "2019-08-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-00000000000"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": [
9+
{
10+
"properties": {
11+
"clusterId": "5b02755b-5bf4-430c-9487-45502a2a7e62",
12+
"provisioningState": "Succeeded",
13+
"encryptionKeyUri": "https://aztest2170.vault.azure.net/certificates/aztest2170cert/654ft6c4e63845cbb50fd6fg51540429"
14+
},
15+
"id": "/subscriptions/594038b5-1093-476e-a366-482775671c11/resourcegroups/calbot-rg/providers/microsoft.operationalinsights/clusters/testresourcelock",
16+
"identity": {
17+
"principalId": "356d057d-cba5-44dd-8a30-b2e547bc416b",
18+
"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47",
19+
"type": "SystemAssigned"
20+
},
21+
"name": "TestResourceLock",
22+
"type": "Microsoft.OperationalInsights/clusters",
23+
"location": "eastus"
24+
}
25+
]
26+
}
27+
}
28+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"parameters": {
3+
"resourceGroupName": "oiautorest6685",
4+
"clusterName": "oiautorest6685",
5+
"parameters": {
6+
"properties": {
7+
"encryptionKeyUri": "https://aztest2170.vault.azure.net/certificates/aztest2170cert/654ft6c4e63845cbb50fd6fg51540429"
8+
},
9+
"tags": {
10+
"tag1": "val1"
11+
}
12+
},
13+
"api-version": "2019-08-01-preview",
14+
"subscriptionId": "00000000-0000-0000-0000-00000000000"
15+
},
16+
"responses": {
17+
"200": {
18+
"body": {
19+
"properties": {
20+
"encryptionKeyUri": "https://aztest2170.vault.azure.net/certificates/aztest2170cert/654ft6c4e63845cbb50fd6fg51540429"
21+
},
22+
"location": "australiasoutheast",
23+
"tags": {
24+
"tag1": "val1"
25+
}
26+
}
27+
}
28+
}
29+
}

specification/operationalinsights/resource-manager/readme.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,15 @@ input-file:
5050
- Microsoft.OperationalInsights/stable/2015-03-20/OperationalInsights.json
5151
```
5252

53+
### Tag: package-2019-08-preview
54+
55+
These settings apply only when `--tag=package-2019-08-preview` is specified on the command line.
56+
57+
``` yaml $(tag) == 'package-2019-08-preview'
58+
input-file:
59+
- Microsoft.OperationalInsights/preview/2019-08-01-preview/Clusters.json
60+
```
61+
5362
---
5463
# Code Generation
5564

0 commit comments

Comments
 (0)