Skip to content

Commit

Permalink
CodeGen from PR 23343 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Fixing APIs in 2023-02-01-preview (#23343)

* 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 c8977b64daa962bce70d33a325053294a4875610.

* Revert "Increasing max length limit of companyName and business from 50 to 100"

This reverts commit 7bd354775b3a57abf310a351c75763bc1aa121f3.

* 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

* Moving "generateApiKey" inside MonitorProperties

* Updating getOrganizationApiKey path

* Adding listElasticVersions API

* Prettier check fix for ElasticVersions_Get

* Fixing Prettier Check in ElasticVersions_Get Example file

* updated description for schemas and parameters

* updated description for schemas and parameters fix

* Updating getOrganizationApiKey API name to listOrganizationApiKey

* Adding x-ms-pageable in listOrganizationApiKey

* Revert "Adding x-ms-pageable in listOrganizationApiKey"

This reverts commit d5b0b5c46370373bd0388fd2271edb35e06facde.

* Revert "Updating getOrganizationApiKey API name to listOrganizationApiKey"

This reverts commit bfd1a05f2352a3b650b258f1ae2428a531036318.

* updated description for subscription Id in elasticVersions Api specification

* prettier check fixed

* updated listElasticVersions API

* added description for regionName param and elasticversionlistresponse

* updated API path and added region as query param

* updated verb to noun in the api path

* added x-ms-parameter-location 1

* updated the operationID for elasticVersions Api

* updated the operationID for elasticVersions Api 1

* reverted x-ms-parameter-location from the subscriptionId parameter

---------

Co-authored-by: Rhea Hooda <rheahooda@microsoft.com>
  • Loading branch information
SDKAuto and RheaHooda23 committed Apr 14, 2023
1 parent d4fb70b commit c249270
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions schemas/2023-02-01-preview/Microsoft.Elastic.json
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,17 @@
],
"description": "Elastic Resource Properties."
},
"generateApiKey": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Flag to determine if User API Key has to be generated and shared."
},
"liftrResourceCategory": {
"oneOf": [
{
Expand Down

0 comments on commit c249270

Please sign in to comment.