Skip to content

Commit 2ac2c7d

Browse files
poshettRheaHooda23
andauthored
Adding version 2023-01-01-preview with User API Key changes for Elastic (#22638)
* Base API Commit * Changing API version to 2023-02-01-preview * Adding new getOrganizationApiKey post API * Adding returnApiKey property in ElasticMonitorResource * Updating getOrganizationApiKey URI * Adding SubscriptionIdParameter in getOrganizationApiKey * Renaming ex to Organizations_GetApiKey * Updating description for UserApiKeyResponse * Updating examples * Updating readme.md * Updated Depolyment Info, added marketplace info * prettier check fixed * model validation fixed * validation fix * prettier fix * Increasing max length limit of companyName and business from 50 to 100 * Increasing companyName and business max length limits to 100 in all versions * Revert "Increasing companyName and business max length limits to 100 in all versions" This reverts commit c8977b6. * Revert "Increasing max length limit of companyName and business from 50 to 100" This reverts commit 7bd3547. * Updating summary for getOrganizationApiKey * Renaming "returnApiKey" to "generateApiKey" * Adding "x-ms-secret": true for apiKey * Updating getOrganizationApiKey API to /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/getOrganizationApiKey * Rearranging APIs * Adding "consumes" to getOrganizationApiKey * Changing case of emailId * Moving the API under paths * Updating User and Company related properties' max length limit to 64 * Adding Location in response header of LROs * Updating getOrganizationApiKey path * Updating getOrganizationApiKey Summary --------- Co-authored-by: Rhea Hooda <[email protected]>
1 parent 3a8cbd5 commit 2ac2c7d

Some content is hidden

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

51 files changed

+3385
-43
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,7 +1035,7 @@
10351035
},
10361036
"business": {
10371037
"description": "Business of the company",
1038-
"maxLength": 50,
1038+
"maxLength": 64,
10391039
"type": "string"
10401040
},
10411041
"employeesNumber": {
@@ -1045,12 +1045,12 @@
10451045
},
10461046
"state": {
10471047
"description": "State of the company location.",
1048-
"maxLength": 50,
1048+
"maxLength": 64,
10491049
"type": "string"
10501050
},
10511051
"country": {
10521052
"description": "Country of the company location.",
1053-
"maxLength": 50,
1053+
"maxLength": 64,
10541054
"type": "string"
10551055
}
10561056
}
@@ -1071,7 +1071,7 @@
10711071
},
10721072
"companyName": {
10731073
"description": "Company name of the user",
1074-
"maxLength": 50,
1074+
"maxLength": 64,
10751075
"type": "string"
10761076
},
10771077
"emailAddress": {

specification/elastic/resource-manager/Microsoft.Elastic/preview/2020-07-01-preview/examples/Monitors_Delete.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@
77
},
88
"responses": {
99
"200": {},
10-
"202": {},
10+
"202": {
11+
"headers": {
12+
"Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname?api-version=2020-07-01-preview"
13+
}
14+
},
1115
"204": {}
1216
}
1317
}

specification/elastic/resource-manager/Microsoft.Elastic/preview/2020-07-01-preview/examples/TagRules_Delete.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@
88
},
99
"responses": {
1010
"200": {},
11-
"202": {},
11+
"202": {
12+
"headers": {
13+
"Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname/tagRules/tagRuleName?api-version=2020-07-01-preview"
14+
}
15+
},
1216
"204": {}
1317
}
1418
}

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1088,7 +1088,7 @@
10881088
},
10891089
"business": {
10901090
"description": "Business of the company",
1091-
"maxLength": 50,
1091+
"maxLength": 64,
10921092
"type": "string"
10931093
},
10941094
"employeesNumber": {
@@ -1098,12 +1098,12 @@
10981098
},
10991099
"state": {
11001100
"description": "State of the company location.",
1101-
"maxLength": 50,
1101+
"maxLength": 64,
11021102
"type": "string"
11031103
},
11041104
"country": {
11051105
"description": "Country of the company location.",
1106-
"maxLength": 50,
1106+
"maxLength": 64,
11071107
"type": "string"
11081108
}
11091109
}
@@ -1124,7 +1124,7 @@
11241124
},
11251125
"companyName": {
11261126
"description": "Company name of the user",
1127-
"maxLength": 50,
1127+
"maxLength": 64,
11281128
"type": "string"
11291129
},
11301130
"emailAddress": {

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@
77
},
88
"responses": {
99
"200": {},
10-
"202": {},
10+
"202": {
11+
"headers": {
12+
"Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname?api-version=2021-09-01-preview"
13+
}
14+
},
1115
"204": {}
1216
}
1317
}

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@
88
},
99
"responses": {
1010
"200": {},
11-
"202": {},
11+
"202": {
12+
"headers": {
13+
"Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname/tagRules/tagRuleName?api-version=2021-09-01-preview"
14+
}
15+
},
1216
"204": {}
1317
}
1418
}

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1187,7 +1187,7 @@
11871187
},
11881188
"business": {
11891189
"description": "Business of the company",
1190-
"maxLength": 50,
1190+
"maxLength": 64,
11911191
"type": "string"
11921192
},
11931193
"employeesNumber": {
@@ -1197,12 +1197,12 @@
11971197
},
11981198
"state": {
11991199
"description": "State of the company location.",
1200-
"maxLength": 50,
1200+
"maxLength": 64,
12011201
"type": "string"
12021202
},
12031203
"country": {
12041204
"description": "Country of the company location.",
1205-
"maxLength": 50,
1205+
"maxLength": 64,
12061206
"type": "string"
12071207
}
12081208
}
@@ -1223,7 +1223,7 @@
12231223
},
12241224
"companyName": {
12251225
"description": "Company name of the user",
1226-
"maxLength": 50,
1226+
"maxLength": 64,
12271227
"type": "string"
12281228
},
12291229
"emailAddress": {

specification/elastic/resource-manager/Microsoft.Elastic/preview/2021-10-01-preview/examples/Monitor_Upgrade.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
}
1010
},
1111
"responses": {
12-
"202": {}
12+
"202": {
13+
"headers": {
14+
"Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname/upgrade?api-version=2021-10-01-preview"
15+
}
16+
}
1317
}
1418
}

specification/elastic/resource-manager/Microsoft.Elastic/preview/2021-10-01-preview/examples/Monitors_Delete.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@
77
},
88
"responses": {
99
"200": {},
10-
"202": {},
10+
"202": {
11+
"headers": {
12+
"Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname?api-version=2021-10-01-preview"
13+
}
14+
},
1115
"204": {}
1216
}
1317
}

specification/elastic/resource-manager/Microsoft.Elastic/preview/2021-10-01-preview/examples/TagRules_Delete.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@
88
},
99
"responses": {
1010
"200": {},
11-
"202": {},
11+
"202": {
12+
"headers": {
13+
"Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname/tagRules/tagRuleName?api-version=2021-10-01-preview"
14+
}
15+
},
1216
"204": {}
1317
}
1418
}

0 commit comments

Comments
 (0)