Skip to content

Commit

Permalink
Adding version 2023-01-01-preview with User API Key changes for Elast…
Browse files Browse the repository at this point in the history
…ic (#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]>
  • Loading branch information
poshett and RheaHooda23 authored Mar 7, 2023
1 parent 3a8cbd5 commit 2ac2c7d
Show file tree
Hide file tree
Showing 51 changed files with 3,385 additions and 43 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,7 @@
},
"business": {
"description": "Business of the company",
"maxLength": 50,
"maxLength": 64,
"type": "string"
},
"employeesNumber": {
Expand All @@ -1045,12 +1045,12 @@
},
"state": {
"description": "State of the company location.",
"maxLength": 50,
"maxLength": 64,
"type": "string"
},
"country": {
"description": "Country of the company location.",
"maxLength": 50,
"maxLength": 64,
"type": "string"
}
}
Expand All @@ -1071,7 +1071,7 @@
},
"companyName": {
"description": "Company name of the user",
"maxLength": 50,
"maxLength": 64,
"type": "string"
},
"emailAddress": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
},
"responses": {
"200": {},
"202": {},
"202": {
"headers": {
"Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname?api-version=2020-07-01-preview"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
},
"responses": {
"200": {},
"202": {},
"202": {
"headers": {
"Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname/tagRules/tagRuleName?api-version=2020-07-01-preview"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1088,7 +1088,7 @@
},
"business": {
"description": "Business of the company",
"maxLength": 50,
"maxLength": 64,
"type": "string"
},
"employeesNumber": {
Expand All @@ -1098,12 +1098,12 @@
},
"state": {
"description": "State of the company location.",
"maxLength": 50,
"maxLength": 64,
"type": "string"
},
"country": {
"description": "Country of the company location.",
"maxLength": 50,
"maxLength": 64,
"type": "string"
}
}
Expand All @@ -1124,7 +1124,7 @@
},
"companyName": {
"description": "Company name of the user",
"maxLength": 50,
"maxLength": 64,
"type": "string"
},
"emailAddress": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
},
"responses": {
"200": {},
"202": {},
"202": {
"headers": {
"Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname?api-version=2021-09-01-preview"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
},
"responses": {
"200": {},
"202": {},
"202": {
"headers": {
"Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname/tagRules/tagRuleName?api-version=2021-09-01-preview"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1187,7 +1187,7 @@
},
"business": {
"description": "Business of the company",
"maxLength": 50,
"maxLength": 64,
"type": "string"
},
"employeesNumber": {
Expand All @@ -1197,12 +1197,12 @@
},
"state": {
"description": "State of the company location.",
"maxLength": 50,
"maxLength": 64,
"type": "string"
},
"country": {
"description": "Country of the company location.",
"maxLength": 50,
"maxLength": 64,
"type": "string"
}
}
Expand All @@ -1223,7 +1223,7 @@
},
"companyName": {
"description": "Company name of the user",
"maxLength": 50,
"maxLength": 64,
"type": "string"
},
"emailAddress": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
}
},
"responses": {
"202": {}
"202": {
"headers": {
"Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname/upgrade?api-version=2021-10-01-preview"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
},
"responses": {
"200": {},
"202": {},
"202": {
"headers": {
"Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname?api-version=2021-10-01-preview"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
},
"responses": {
"200": {},
"202": {},
"202": {
"headers": {
"Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname/tagRules/tagRuleName?api-version=2021-10-01-preview"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1597,7 +1597,7 @@
},
"business": {
"description": "Business of the company",
"maxLength": 50,
"maxLength": 64,
"type": "string"
},
"employeesNumber": {
Expand All @@ -1607,12 +1607,12 @@
},
"state": {
"description": "State of the company location.",
"maxLength": 50,
"maxLength": 64,
"type": "string"
},
"country": {
"description": "Country of the company location.",
"maxLength": 50,
"maxLength": 64,
"type": "string"
}
}
Expand All @@ -1633,7 +1633,7 @@
},
"companyName": {
"description": "Company name of the user",
"maxLength": 50,
"maxLength": 64,
"type": "string"
},
"emailAddress": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
},
"responses": {
"200": {},
"202": {}
"202": {
"headers": {
"Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname/associateTrafficFilter?api-version=2022-05-05-preview"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
"rulesetId": "31d91b5afb6f4c2eaaf104c97b1991dd"
},
"responses": {
"202": {}
"202": {
"headers": {
"Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname/detachTrafficFilter?api-version=2022-05-05-preview"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
}
},
"responses": {
"202": {}
"202": {
"headers": {
"Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname/upgrade?api-version=2022-05-05-preview"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
},
"responses": {
"200": {},
"202": {},
"202": {
"headers": {
"Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname?api-version=2022-05-05-preview"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
},
"responses": {
"200": {},
"202": {},
"202": {
"headers": {
"Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname/tagRules/tagRuleName?api-version=2022-05-05-preview"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1605,7 +1605,7 @@
},
"business": {
"description": "Business of the company",
"maxLength": 50,
"maxLength": 64,
"type": "string"
},
"employeesNumber": {
Expand All @@ -1615,12 +1615,12 @@
},
"state": {
"description": "State of the company location.",
"maxLength": 50,
"maxLength": 64,
"type": "string"
},
"country": {
"description": "Country of the company location.",
"maxLength": 50,
"maxLength": 64,
"type": "string"
}
}
Expand All @@ -1641,7 +1641,7 @@
},
"companyName": {
"description": "Company name of the user",
"maxLength": 50,
"maxLength": 64,
"type": "string"
},
"emailAddress": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1605,7 +1605,7 @@
},
"business": {
"description": "Business of the company",
"maxLength": 50,
"maxLength": 64,
"type": "string"
},
"employeesNumber": {
Expand All @@ -1615,12 +1615,12 @@
},
"state": {
"description": "State of the company location.",
"maxLength": 50,
"maxLength": 64,
"type": "string"
},
"country": {
"description": "Country of the company location.",
"maxLength": 50,
"maxLength": 64,
"type": "string"
}
}
Expand All @@ -1641,7 +1641,7 @@
},
"companyName": {
"description": "Company name of the user",
"maxLength": 50,
"maxLength": 64,
"type": "string"
},
"emailAddress": {
Expand Down
Loading

0 comments on commit 2ac2c7d

Please sign in to comment.