Skip to content

Commit 5d0b4b3

Browse files
utkarshjain1508pmpMsft
authored andcommitted
Utkarshjain/elastic (Azure#16979)
* base api commit * adding 2021-09-01-preview * added 2021-10-01-preview * updating readme files * Fixing python readme * Fixing readme * Fixing readme * Fixing readme * adding elastic upgrade APIs Co-authored-by: Utkarsh Jain <utkarshjain@microsoft.com> Co-authored-by: pmp <pmp@microsoft.com>
1 parent fd3cb9f commit 5d0b4b3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+4876
-30
lines changed

specification/elastic/resource-manager/Microsoft.Elastic/preview/2021-09-01-preview/elastic.json

Lines changed: 1665 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": "2021-09-01-preview",
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: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-09-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"monitorName": "myMonitor",
7+
"requestBody": {
8+
"UserName": "newuser",
9+
"FullName": "fullname",
10+
"Password": "Password",
11+
"EmailId": "myemail@outlook.com",
12+
"Roles": [
13+
"admin",
14+
"other_role1"
15+
]
16+
}
17+
},
18+
"responses": {
19+
"200": {
20+
"body": {
21+
"created": true
22+
}
23+
}
24+
}
25+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-09-01-preview",
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": "2021-09-01-preview",
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": "2021-09-01-preview",
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": "2021-09-01-preview",
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": "2021-09-01-preview",
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+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-09-01-preview",
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+
}

0 commit comments

Comments
 (0)