Skip to content

Commit eee9cbb

Browse files
authored
moving swagger to stable (#14992)
* Base Swagger version as per guideline * Removing preview from directory version * changing version name in all files * updating readme and go read me * supressing ingestion keyin read me
1 parent 9d75071 commit eee9cbb

19 files changed

+2197
-0
lines changed

specification/elastic/resource-manager/Microsoft.Elastic/stable/2020-07-01/elastic.json

Lines changed: 1569 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"parameters": {
3+
"api-version": "2020-07-01",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"monitorName": "myMonitor"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"status": "Healthy",
12+
"version": "7.9.3",
13+
"memoryCapacity": "1024",
14+
"diskCapacity": "245760"
15+
}
16+
}
17+
}
18+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"parameters": {
3+
"api-version": "2020-07-01",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"monitorName": "myMonitor"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVault",
14+
"sendingLogs": "True",
15+
"reasonForLogsStatus": "CapturedByRules"
16+
}
17+
]
18+
}
19+
}
20+
}
21+
}
Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
{
2+
"parameters": {
3+
"api-version": "2020-07-01",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"monitorName": "myMonitor",
7+
"requestBody": {
8+
"name": "myMonitor",
9+
"sku": {
10+
"name": "free_Monthly"
11+
},
12+
"properties": {
13+
"userInfo": {
14+
"firstName": "Alice",
15+
"lastName": "Bob",
16+
"companyName": "Microsoft",
17+
"emailAddress": "alice@microsoft.com",
18+
"companyInfo": {
19+
"domain": "microsoft.com",
20+
"business": "Technology",
21+
"employeeNumber": "10000",
22+
"state": "WA",
23+
"country": "US"
24+
}
25+
}
26+
},
27+
"tags": {
28+
"Environment": "Dev"
29+
},
30+
"location": "West US 2"
31+
}
32+
},
33+
"responses": {
34+
"200": {
35+
"body": {
36+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor",
37+
"name": "myMonitor",
38+
"type": "Microsoft.Elastic/monitors",
39+
"sku": {
40+
"name": "free_Monthly"
41+
},
42+
"properties": {
43+
"provisioningState": "Succeeded",
44+
"elasticProperties": {
45+
"elasticCloudUser": {
46+
"emailAddress": "alice@microsoft.com",
47+
"id": "myid123",
48+
"elasticCloudSsoDefaultUrl": "https://examplessourl.com"
49+
},
50+
"elasticCloudDeployment": {
51+
"name": "deploymentname",
52+
"deploymentId": "deployment_id",
53+
"azureSubscriptionId": "00000000-0000-0000-0000-000000000000",
54+
"elasticsearchRegion": "azure-westus2",
55+
"elasticsearchServiceUrl": "https://elasticsearchendpoint.com",
56+
"kibanaServiceUrl": "https://kibanaserviceurl.com",
57+
"kibanaSsoUrl": "https://kibanssourl.com"
58+
}
59+
}
60+
},
61+
"tags": {
62+
"Environment": "Dev"
63+
},
64+
"location": "West US 2"
65+
}
66+
},
67+
"201": {
68+
"body": {
69+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor",
70+
"name": "myMonitor",
71+
"type": "Microsoft.Elastic/monitors",
72+
"sku": {
73+
"name": "free_Monthly"
74+
},
75+
"properties": {
76+
"provisioningState": "Accepted",
77+
"monitoringStatus": "Enabled",
78+
"elasticProperties": {
79+
"elasticCloudUser": {
80+
"emailAddress": "alice@microsoft.com",
81+
"id": "myid123",
82+
"elasticCloudSsoDefaultUrl": "https://examplessourl.com"
83+
},
84+
"elasticCloudDeployment": {
85+
"name": "deploymentname",
86+
"deploymentId": "deployment_id",
87+
"azureSubscriptionId": "00000000-0000-0000-0000-000000000000",
88+
"elasticsearchRegion": "azure-westus2",
89+
"elasticsearchServiceUrl": "https://elasticsearchendpoint.com",
90+
"kibanaServiceUrl": "https://kibanaserviceurl.com",
91+
"kibanaSsoUrl": "https://kibanssourl.com"
92+
}
93+
},
94+
"liftrResourceCategory": "MonitorLogs",
95+
"liftrResourcePreference": 0
96+
},
97+
"tags": {
98+
"Environment": "Dev"
99+
},
100+
"location": "West US 2"
101+
}
102+
}
103+
}
104+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"parameters": {
3+
"api-version": "2020-07-01",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"monitorName": "myMonitor"
7+
},
8+
"responses": {
9+
"200": {},
10+
"202": {},
11+
"204": {}
12+
}
13+
}
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"parameters": {
3+
"api-version": "2020-07-01",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"monitorName": "myMonitor"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor",
12+
"name": "myMonitor",
13+
"type": "Microsoft.Elastic/monitors",
14+
"properties": {
15+
"provisioningState": "Succeeded",
16+
"monitoringStatus": "Enabled",
17+
"elasticProperties": {
18+
"elasticCloudUser": {
19+
"emailAddress": "alice@microsoft.com",
20+
"id": "myid123",
21+
"elasticCloudSsoDefaultUrl": "https://examplessourl.com"
22+
},
23+
"elasticCloudDeployment": {
24+
"name": "deploymentname",
25+
"deploymentId": "deployment_id",
26+
"azureSubscriptionId": "00000000-0000-0000-0000-000000000000",
27+
"elasticsearchRegion": "azure-westus2",
28+
"elasticsearchServiceUrl": "https://elasticsearchendpoint.com",
29+
"kibanaServiceUrl": "https://kibanaserviceurl.com",
30+
"kibanaSsoUrl": "https://kibanssourl.com"
31+
}
32+
},
33+
"liftrResourceCategory": "MonitorLogs",
34+
"liftrResourcePreference": 0
35+
},
36+
"tags": {
37+
"Environment": "Dev"
38+
},
39+
"location": "West US 2"
40+
}
41+
}
42+
}
43+
}
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"parameters": {
3+
"api-version": "2020-07-01",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"value": [
10+
{
11+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor",
12+
"name": "myMonitor",
13+
"type": "Microsoft.Elastic/monitors",
14+
"properties": {
15+
"provisioningState": "Succeeded",
16+
"monitoringStatus": "Enabled",
17+
"elasticProperties": {
18+
"elasticCloudUser": {
19+
"emailAddress": "alice@microsoft.com",
20+
"id": "myid123",
21+
"elasticCloudSsoDefaultUrl": "https://examplessourl.com"
22+
},
23+
"elasticCloudDeployment": {
24+
"name": "deploymentname",
25+
"deploymentId": "deployment_id",
26+
"azureSubscriptionId": "00000000-0000-0000-0000-000000000000",
27+
"elasticsearchRegion": "azure-westus2",
28+
"elasticsearchServiceUrl": "https://elasticsearchendpoint.com",
29+
"kibanaServiceUrl": "https://kibanaserviceurl.com",
30+
"kibanaSsoUrl": "https://kibanssourl.com"
31+
}
32+
},
33+
"liftrResourceCategory": "MonitorLogs",
34+
"liftrResourcePreference": 0
35+
},
36+
"tags": {
37+
"Environment": "Dev"
38+
},
39+
"location": "West US 2"
40+
}
41+
]
42+
}
43+
}
44+
}
45+
}
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
"parameters": {
3+
"api-version": "2020-07-01",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"value": [
11+
{
12+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor",
13+
"name": "myMonitor",
14+
"type": "Microsoft.Elastic/monitors",
15+
"properties": {
16+
"provisioningState": "Succeeded",
17+
"monitoringStatus": "Enabled",
18+
"elasticProperties": {
19+
"elasticCloudUser": {
20+
"emailAddress": "alice@microsoft.com",
21+
"id": "myid123",
22+
"elasticCloudSsoDefaultUrl": "https://examplessourl.com"
23+
},
24+
"elasticCloudDeployment": {
25+
"name": "deploymentname",
26+
"deploymentId": "deployment_id",
27+
"azureSubscriptionId": "00000000-0000-0000-0000-000000000000",
28+
"elasticsearchRegion": "azure-westus2",
29+
"elasticsearchServiceUrl": "https://elasticsearchendpoint.com",
30+
"kibanaServiceUrl": "https://kibanaserviceurl.com",
31+
"kibanaSsoUrl": "https://kibanssourl.com"
32+
}
33+
},
34+
"liftrResourceCategory": "MonitorLogs",
35+
"liftrResourcePreference": 0
36+
},
37+
"tags": {
38+
"Environment": "Dev"
39+
},
40+
"location": "West US 2"
41+
}
42+
]
43+
}
44+
}
45+
}
46+
}
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
{
2+
"parameters": {
3+
"api-version": "2020-07-01",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"monitorName": "myMonitor",
7+
"requestBody": {
8+
"name": "myMonitor",
9+
"sku": {
10+
"name": "free_Monthly"
11+
},
12+
"properties": {
13+
"elasticProperties": {
14+
"elasticCloudUser": {
15+
"emailAddress": "alice@microsoft.com",
16+
"id": "myid123",
17+
"elasticCloudSsoDefaultUrl": "https://examplessourl.com"
18+
},
19+
"elasticCloudDeployment": {
20+
"name": "deploymentname",
21+
"azureSubscriptionId": "00000000-0000-0000-0000-000000000000",
22+
"elasticsearchRegion": "azure-westus2",
23+
"elasticsearchServiceUrl": "https://elasticsearchendpoint.com",
24+
"kibanaServiceUrl": "https://kibanaserviceurl.com",
25+
"kibanaSsoUrl": "https://kibanssourl.com"
26+
}
27+
},
28+
"userInfo": {
29+
"firstName": "Alice",
30+
"lastName": "Bob",
31+
"companyName": "Microsoft",
32+
"emailAddress": "alice@microsoft.com",
33+
"companyInfo": {
34+
"domain": "microsoft.com",
35+
"business": "Technology",
36+
"employeeNumber": "10000",
37+
"state": "WA",
38+
"country": "US"
39+
}
40+
}
41+
},
42+
"tags": {
43+
"Environment": "Dev"
44+
},
45+
"location": "West US 2"
46+
}
47+
},
48+
"responses": {
49+
"200": {
50+
"body": {
51+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor",
52+
"name": "myMonitor",
53+
"type": "Microsoft.Elastic/monitors",
54+
"sku": {
55+
"name": "free_Monthly"
56+
},
57+
"properties": {
58+
"provisioningState": "Succeeded",
59+
"monitoringStatus": "Enabled",
60+
"elasticProperties": {
61+
"elasticCloudUser": {
62+
"emailAddress": "alice@microsoft.com",
63+
"id": "myid123",
64+
"elasticCloudSsoDefaultUrl": "https://examplessourl.com"
65+
},
66+
"elasticCloudDeployment": {
67+
"name": "deploymentname",
68+
"deploymentId": "deployment_id",
69+
"azureSubscriptionId": "00000000-0000-0000-0000-000000000000",
70+
"elasticsearchRegion": "azure-westus2",
71+
"elasticsearchServiceUrl": "https://elasticsearchendpoint.com",
72+
"kibanaServiceUrl": "https://kibanaserviceurl.com",
73+
"kibanaSsoUrl": "https://kibanssourl.com"
74+
}
75+
},
76+
"liftrResourceCategory": "MonitorLogs",
77+
"liftrResourcePreference": 0
78+
},
79+
"tags": {
80+
"Environment": "Dev"
81+
},
82+
"location": "West US 2"
83+
}
84+
}
85+
}
86+
}

0 commit comments

Comments
 (0)