From 56003bc1f4d866e65e41af22f8551293434b522c Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 14 Jan 2022 02:31:14 +0000 Subject: [PATCH] CodeGen from PR 17112 in Azure/azure-rest-api-specs Review request for Microsoft.BotService to update version stable/2021-03-01 and Preview/2021-05-01-preview (#17112) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix S360 issue * update * updatge * update * Zhixzhan/botservice spec patch fix (#1) * Add ActionType according to arm-rpc (#17078) * Add ActionType according to arm-rpc * add stable API version * add new rule XmsIdentifierValidation doc (#17076) * add new rule XmsIdentifierValidation doc * fix comment * fix comment * fix comment Co-authored-by: Tianxiang Chen * Creating new version( 2021-11-15) for passive stamp (#17044) * Adds base for updating Microsoft.RecoveryServices from version stable/2018-12-20 to version 2021-11-15 * Updates readme * Updates API version in new specs and examples * updating readme.md for C# * updating the api version * updating tag * updating active stamp tag * changes to fix checklist failures * changes to fix checklist failures-2 * Add batch tag for release track1 (#17111) * Adding 202 response code VM Patch operation.... (#16988) * adding 202 * 202 response for patch * example * [Go]Track2 modify readme.go.md 11 (#17099) * [Go]Track2 modify readme.go.md 11 * add go multiapi * remove addons * add directive * fix * beta to preview output-folder * Release microsoft.sql 2021 08 01 preview (#16968) * Adds base for updating Microsoft.Sql from version preview/2021-05-01-preview to version 2021-08-01-preview * Updates readme * Updates API version in new specs and examples * update default client tag to v5 * Generate the 2021-08-01-preview files from DSMainDev and commit * add new added ipv6 and example files * change "jobExecutionId": "5555-6666-7777-8888-999999999999" to "jobExecutionId": "5A86BF65-43AC-F258-2524-9E92992F97CA" in example files to pass the type validator * Add ListOperations.json example file * pass formatter npm pretty * update instanceFailoverGroups in the type of example files * remove ipv6 batch replace api due to arm concern. it will be in next version. * add x-ms-enum * Remove custom `ResourceGroupNameParameter` and replace them with the one from common-types (#16944) * remove custom resourceGroupNameParameter and replace them with the one from common-types * fix * move the directive that meant to work for go track 1 to readme.go.md * Revert "move the directive that meant to work for go track 1 to readme.go.md" This reverts commit bc9c13f8acdec3c8f29e5cd4a87bcefbfcf61f3a. * test * revert * add tag condition back * [Go] Delete saas track1 config (#17113) * [Go] Delete saas track1 config * fix * Update Go readme (#17061) Co-authored-by: Anat Gilenson * Added ParentId response header to File/Directory rename (#17119) * Revert dataset spelling change (#17124) * Dev datamigration microsoft.data migration 2020 09 01 preview (#16032) * Adds base for updating Microsoft.DataMigration from version stable/2021-06-30 to version 2020-09-01-preview * Updates readme * Updates API version in new specs and examples * add examples and change swagger * camel casing error (removing the resource since it is redundant) * added "systemData" property to the response of sqlMigrationService * adding isDataAction property in operationsDefinition * fixing Avocado error : removing unreferenced files * styling changes * adding systemData to DatabaseMigrations * suppressing lintDiff * Revert "styling changes" This reverts commit 4cba4308e6b3b4f35144f6ae28b4c760cd6f90f8. * formatting changes (after running npm run prettier) * adding v1 apis * adding v1 apis * Revert "adding v1 apis". Bad update This reverts commit 99b1f84465749a4948ece4cacfb63652b0cd5a4e. * Revert "adding v1 apis". Bad update This reverts commit 795344a819d2d72f3c86c3714274df48f5303205. * adding v1 paths in v2 spec * adding stable-2018 apis * updating api version in definitions * avocado error : removing unreferenced files * suppressing lintdiff errors R4013 and R4037 * removing subscriptioid parameter from v1 and referencing to susbscriptionid parameter from v2 (to resolve conflict) * adding v1 apis as a separate json file * adding a missing example for v1 spec * removing duplicate api (get operation) from v1 spec * Revert "removing duplicate api (get operation) from v1 spec" This reverts commit 545e6ff29239d3b33f393af8b8c4fd4021cebe1f. * avocado error : api versions correction * avocado error : adding definitions in readme and changing api version in v2 spec to 2020-09-01-preview * adding missing definitions and removing extra definitions in readme * removing operation path from v1 spec * trial : trying merging with 2021 stable version * nit errors in readme * updating api versions in definitions of 2021 stable version * removing operations api from v1 (stable 2021) * changing sqlMigrationInfo to sqlMigrationInformation in v2 swagger * Renaming FileShare to SqlFileShare in v2 spec * Renamimg BackupFileInfo to SqlBackupFileInfo in v2 spec * renaming BackupSeiInfdo to SqlBackupSetInfo in v2 spec * Renaming TrackedResource to TrackedResourceARM in the v1 spec * deleting duplicate subscriptionId parameter in v1 * sqlmigration casing error * referencing SystemData definition from the v2 spec * avacado error : removing unreferenced file Operations_List.json * adding custom-words.txt file * reverting adding custom-words.txt * exchanging positions of sqlmigration and datamigration in readme * adding sqlmigration in custom-words.txt * adding systemData to TrackedResource in v2 removing TrackedResourceARM from v1 and referring to v2 TrackedResource instead * adding "x-ms-azure-resource": true extension in DataMigrationService and Project definitions in v1 * changing veersion from 2020-09-01-preview to "2021-10-30-preview" * manually changing api version (to 2021-10-30)in readme * adding ooperations api to v1 spec * adding the subscriptionId parameter in v1 spec * adding operations_list in the examples (for v1) * Revert "adding ooperations api to v1 spec", adding the subscriptionId parameter in v1 spec, adding operations_list in the examples (for v1) This reverts commit b94a96d8f48edef45967a57050e09eb27f9ea0de, 40e80e0d2a8e9fab72443e3893a9f0712c224f0a, 7be34463aaf58418f4574d3df9288e64cd27c5e4 * removing x-ms-azure-resource extension * Revert "removing x-ms-azure-resource extension" This reverts commit 8bf42972d7a1f3e5f8f1f4bf0d1fad19b77a161c. * add subscriptionId to v1 spec * Revert "add subscriptionId to v1 spec" This reverts commit e3e729be0b1124875e279d9d718d8226dba2f8b8. * removing read only : true for systemData properties * setting readonly to true in systemData definition in v2 swagger. (note : the chnages in v2 swagger are done manually for now, change these from the RP side too) * renaming the specs to check if having the name datamigration.json has some importance * Revert "renaming the specs to check if having the name datamigration.json has some importance" This reverts commit a68c0c07d2a3f9932310eb910a683d1e824d7dfc. * adding "x-ms-azure-resource": true to trackedResource and removing it from datamigrationService and Project definition as they extend from trackedResource * correctly placing "x-ms-azure-resource": true * prettier check error on sqlmigration.json * referencing systemData from common-types/resource-management/v2/types.json#/definitions instead from v2 spec (to see if that affects the systemData error in cross-version) * Revert "referencing systemData from common-types/resource-management/v2/types.json#/definitions" This reverts commit 94641f1b36cc7828ea8efd21f4df89c282f51941. * keeping subscriptionId parameter in both specs (by renaming it in v2) * renaming subscriptionId to subscriptionIdParameter in the paths of v2 * casing error * using subscriptionIdParameter instead of subscriptionId in the examples of v2 * renaming subscriptionId to subscriptionidParameter in v2 example * Reverting the changes related to keeping subscriptionId parameter in both specs This reverts commit fa22043a2b4ca284466bacda244f19c087a78718, 13d549928711b2d85e776f0680a7347242582ac2, 2755f643ed32b766fbb98ed6a7fd814211aecea3, 6e74171367ddf0a4a9f7a6b36b8f41a65a2c7701, f3142b41b841793ae409a7e2d89d9bc4c262e9e7 * update tag in readme * renaming trackedResource to trackedResourceARM in v2 and restoring the trackedResource in v1 * Revert "renaming trackedResource to trackedResourceARM in v2 and restoring the trackedResource in v1" This reverts commit 269a4c3305c6e282bfa192b162b959d1b8083033. * removing system data and x-ms-azure extension from tracked resource (because making changes in the tracked resource will involove dsMianDev repo changes) * adding "x-ms-azure-resource": true to trackedResource of v1 * adding "x-ms-azure-resource": true to dataMigration service and project (because of the error : The 200 response model for an ARM PUT operation must have x-ms-azure-resource extension set to true in its hierarchy. Operation: 'Services_CreateOrUpdate' Model: 'DataMigrationService'. Location: Microsoft.DataMigration/preview/2021-10-30-preview/datamigration.json#L97) also, removing x-ms-azure-resource from trackedResource * Revert "adding "x-ms-azure-resource": true to trackedResource of v1" This reverts commit bd0fb9c3bb96a736712baaa71efd2e91c49375c0. and f2440eef137d7771217b9924ce941e876363afe9 (bad commit) * Revert "removing system data and x-ms-azure extension from tracked resource (because making changes in the tracked resource will involove dsMianDev repo changes)" This reverts commit e330db6a6abe2209d8d28a07da295267a036a9de. SystemData is required to be in trackedResource * Adding Scope Parameter to examples * Revert "Adding Scope Parameter to examples" This reverts commit b6c827585bb509306f2082e5686b31ee0333b182. * Adding Scope parameter in response of SqlMiGetDatabaseMigration.json * Adding Scope Parameter to other examples * ARM: Adding x-ms-secret: true to password (SqlFileshare and SqlConnectionInfomation), accountkey, authkey1 and authkey2 * Adding x-ms-pageable to DatabaseMigrations_ListByScope, Operations_List, SqlMigrationServices_ListByResourceGroup, SqlMigrationServices_listMigrations, SqlMigrationServices_ListBySubscription * Removing x-ms-secret from Authkeys * Adding x-ms-secret to authKeys in AuthenticationKeys and RegenAuthKeys defination * Suppressing Secret_Property model validation error * Adding suppress SECRET_PROPERTY in Suppression section * changing GET getMonitoringData to POST listMonitoringData * Removing location property from DatabaseMigration definition * New Cancel\Cutover operations with MigrationOperationId in Request body. * updating examples for cancel and cutover operations * Chaning SqlMigrationService_GetResourceState to SqlMigrationService_Get * Revert "Chaning SqlMigrationService_GetResourceState to SqlMigrationService_Get" This reverts commit d16dc91a39245cecc4289b206af070eccb74b783. * Changing GetResourceState to Get * Adding 2 namespaces 2 SqlMi Migration API and updating examples * Add Vm APIs, change operation Id of Mi and VM APIs and Update examples * Suppressing list by subscription DatabaseMigration LintDiff error * Adding discriminator to databaseMigrationProperties in order to separate SqlMi and SqlVm migrations * [nit error] changing SqlConnectionInfo to SqlConnectionInformation * nit error * updating the example SqlMiGetDatabaseMigration.json to use"kind" in order to resolve the error : Additional properties not allowed * updating all Mi and Vm examples to use "kind" in the properties * styling changes (for prettier check) * updating listMigrationsByService.json xample to use kind property * running prettier check * adding other properties in request along with kind in sqlVmCreateOrUpdateMax.json example * Revert "adding other properties in request along with kind in sqlVmCreateOrUpdateMax.json example" This reverts commit 8a47679fa45846b8bc41d7651c7c91e2f7ef943c. * keeping both kind and other properties in the request body for sqlMiCreateOrUpdateDatabaseMigrationMax.json * keeping both kind and other properties in all the examples * adding enums for commandType and taskType discriminator * adding x-ms-enum for commandType and taskType (v1) * adding remaining enum values for taskType and commandType * Removing List By Scope APIs for Mi and VM * Remove Delete APIs for SqlMi and SqlVm * Making DatabaseMigrationSqlVm_Cancel a x-ms-long-running-operation * Moving common properties to DatabaseMigrationProperties * Creating ResourceClass for SqlMi and SqlVm and updating the APIs accordingly * Suppressing LintDiff errors for SqlMi and SqlVm Resource Classess * Making x-ms-client-flatten: false for DatabaseMigration and other SqlMi and SqlVm Resource Class * updating parameters in examples: Services_checkChildrenNameAvailability.json and Services_CheckNameAvailability * v1 s360 errors * object_missing_required_property error: updating example services_Start.json * revert 81733a02cc88d52d69497fff3a5b7abafadedeee * prettier check * reverting all chnages related to "v1 s360 errors" * v1 s360 errors: adding missing properties to mongoDbConnectionInfo in common.json * nit error * v1 s360 errors: adding missing properties to sqlConnectionInfo in common.json * v1 s360 errors: adding missing properties to mySqlConnectionInfo in common.json * v1 s360 errors: adding missing properties to PostgreSqlConnectionInfo in common.json * v1 s360 errors: adding missing properties in MigratePostgreSqlAzureDbForPostgreSqlSyncTask.json * v1 s360 errors: removing problematic property from MigratePostgreSqlAzureDbForPostgreSqlSyncTask * v1 errors: adding missing properties in MigrateSchemaSqlServerSqlDbTask.json * v1 s360 errors: adding missing properties in MigrateSqlServerSqlDbTask.json and MigrateSqlServerSqlMITask.json * v1 360 errors: adding missing properties in projects.json * v1 s360 errors: adding missing properties in Services.json * v1 s360 error: adding missing properties in Tasks.json * v1 s360 errors: adding missing properties in TasksCommon.json * v1 s360 error: adding missing properties to MigratePostgreSqlAzureDbForPostgreSqlSyncTask.json * v1 s360 errors: adding items to events in "MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError" * v1 s360 errors: removing required property * prettier check * nit Co-authored-by: Vasundhra Manhas Co-authored-by: Thakur Ashutosh Suman * [Hub Generated] Review request for Microsoft.Consumption to add version stable/2021-10-01 (#16900) * Adding The new three properties to the latest API version for RI Transactions * Error Fixes * Fixing Type errors * Changing billingMonth format * Add connectionProperties in GoogleAdWordsLinkedServiceTypeProperties (#17001) * Microsoft.Cdn : 2021-06-01 API (#16868) * Adds base for updating Microsoft.Cdn from version stable/2020-09-01 to version 2021-06-01 * Updates readme * Updates API version in new specs and examples * Update CODEOWNERS file (#1) * update CODEOWNERS file * update CODEOWNERS file * add new cdn code owner Co-authored-by: Jorin Mejia * add forwardingProtocol to OriginGroupOverride (#2) * Cache Behavior and Case Transform (#3) * add forwardingProtocol to OriginGroupOverride * added new cache behavior attributes and case transform enum values * update cache behavior * Swagger changes for enabling certname check and onboarding prevalidated customdomains * Fixing formatting - Swagger changes for enabling certname check and onboarding prevalidated customdomains * Correct input and output types of checkHostNameAvailability API * Set CA and SAN to readonly * Update ValidateSecretInput to include SecretVersion * Nit fix grammar * Swagger changes to move originResponseTimeoutSeconds property from afdendpoint to profile level * Remove redundant fields and mark certificate properties readonly * Reoganize parameters and update descriptions * Update examples * Fix typos and expand abbhreviations * Fix more typo * Update odatatype (#10) * Update odatatype * Update odatatype * Update typeName * camel casing typeName Co-authored-by: Chenglong Liu * Change country to countryOrRegion to avoid political concern according to CELA (#12) * Change country to countryOrRegion to avoid political concern according to CELA * Minor change to keep consistence Co-authored-by: Bo Zhang * Yunhe/cdn 2021 06 01 (#8) * add forwardingProtocol to OriginGroupOverride * added new cache behavior attributes and case transform enum values * update cache behavior * update route and route configuration override rule swagger definition * update * made changes to route and rule to remove EnableCache filed. To disable cache, leave CacheConfiguration to null. * add cache duration to route * update routeConfigOverride action * update route and action * update action swagger * update swagger spec * update examples * update comments * updated examples * server variable (#11) * wip server variable * server-variable udpates * server port transform * socket address * update server variable * resolve comments * revert unwanted change * Revert "server variable (#11)" (#16) This reverts commit d6eddf6a201df30dc2abe23e7083c4c158a8fb83. * [Azure CDN] Add missing customHttpsParameters field in CustomDomainProperties (#15) Co-authored-by: Bo Zhang * Swagger changes for adding secret type AzureFirstpartyManaged certifi… (#13) * Swagger changes for adding secret type AzureFirstpartyManaged certificate * Updating description for AzureFirstPartyManagedCertificate secret type * Updating description for AzureFirstPartyManagedCertificate secret type * resolving merge conflict * resolving merge conflict Co-authored-by: SINADELL * Fix multiple S360 correctness issues related to CDN (#17) * Fix multiple S360 corretness issues related to CDN * Fix privateEndpointStatus location issue Co-authored-by: Bo Zhang * Product Backlog Item 12546459: [AFDX][CDN][RP][SWAGGER] refreshValidationToken API for swagger and RP inconsistency * Product Backlog Item 12546473: [AFDX][CDN][RP][SWAGGER] domainValidationState of AFDDomainProperties swagger and RP inconsistency * Make description more readible * added transform values to all api versions (#19) * Product Backlog Item 12546377: [AFDX][CDN][RP][SWAGGER] Add CustomDomains property definition end EndpointProperties per swagger issue? (#20) * Fixing operations api swagger (#21) Co-authored-by: SINADELL * Change route and security policy to use ActivatedResourceReference for domains associated Routes and security policies can know if their associated domains are validated or not by using ActivatedResourceReference, which contains a property to indicate the domain validation state. * Add ActivatedResourceReference support Adding support to have a resource reference with a property to indicate whether the resource is active. To start with, this would indicate whether a domain referenced is active or inactive, but it can also be used for other purposes in the future. * 2021-06-01 ARM & SDK Fixes (#23) * fix incompatiable names * Revert "fix incompatiable names" This reverts commit 9a2bf2d0512338fdf7bc97bbaf2a4fcdd5a2ade5. * change CacheConfiguration naming to AfdCacheConfiguration * AfdCacheConfiguration -> AfdRouteCacheConfiguration, fix type for SDK issue * add format field to integer types * Add format field to integer types * IsCompressionEnabled -> isCompressionEnabled * responseBasedAFDOriginErrorDetectionSettings -> responseBasedAfdOriginErrorDetectionSettings * use camel casing for resource type * Add default response to delete operation * Update x-ms-name MatchVariable -> WafMatchVariable * Update Error Response to conform to spec * Update Error Response with additional fields * Update reference to error field in ErrorResponse * Fix semantics, validations, typos * Use camel casing and add 200 response code * Add remaining 200 response for delete and conform to operation spec * Add parent resource name in child resource Co-authored-by: Jorin Mejia * Fix merge conflicts (#24) Co-authored-by: Jorin Mejia * fix bug (#25) * Update codeowners, add read only field, add profileName to SecurityPolicyProperties * Merge Main Branch from Azure REST Specs (#26) * [PowerBIDedicated] Elaborate description and examples on capacity mode (#16131) * Elaborate description and exampleson capacity mode * PR fixes * Revert changes for 2017 version * update api scenario documentation (#16086) * add operation step * fix schema * restore OpTest * add cleanUpSteps & remove type * use draft-07 schema * refine propertyNames * add description * remove merge * fix copy/move * use property name * variable type * restore plain style * define Example and file reference in v1.1 * remove raw Example support * fix * rename to API scenario * restore entry * fix ref * swagger ase 2021 06 01 stable preview release (#16120) * Initial commit for 2021-06-01 and 2021-06-01-preview Initial commit for 2021-06-01 and 2021-06-01-preview * new version update * review comments changes. review comments changes. * [Quantum] Add job cost estimate (#16339) * copy existin api-version * update api-version ref * new feature * Revert "[Quantum] Add job cost estimate (#16339)" (#16340) This reverts commit 4df4b843dd2692aadd416dd9ede5979610c08be6. * Update description for ENUM_MISMATCH error code. (#16351) * [EdgeOrder] Update 2020-12-01-preview swagger with swagger correctness fix and other changes (#15962) * new api changes (#1) * new api changes * referer url change * EdgeOrder 2020-12-01-preview Swagger changes (#5) * readme changes * Swagger refresh and update examples * Change examples as per oav validations * Minor swagger modifications * Minor spacing adjustments * Set ModelAsString to true for enums and modify examples * Fix swagger lint validation error * Modify readme and examples * Modify readme.go.md * Update swagger * Minor prettier fix * Change python package version in readme * Fix spell check error * chanegs to enable forward and reverse shipping details in get order item call using odata filter * Swagger correctness fix with other changes (#25) * Swagger correctness fix with other changes * Return api field additions * Change expand description for listOrderItem calls Co-authored-by: Vaishnavi Janardhan * Fix semantic validation error in doubleEncryptionStatus (#30) * Mark parameters of shipping details as readonly (#35) * Additional properties swagger correctness fix (#43) Co-authored-by: sashanm <54701252+sashanm@users.noreply.github.com> Co-authored-by: t-vjanardhan <77781522+t-vjanardhan@users.noreply.github.com> Co-authored-by: Nidhi Jain Co-authored-by: nija-dev <67132984+nija-dev@users.noreply.github.com> Co-authored-by: Vaishnavi Janardhan * Update readme.md (#16349) * [Hub Generated] Review request for VideoAnalyzer.Edge to add version preview/1.1.0 (#16182) * Adds base for updating VideoAnalyzer.Edge from version preview/1.0.0 to version 1.1.0 * Updates readme * Updates API version in new specs and examples * Update AVA Edge Swagger to 1.1 release * fix a linter issue. * fix spelling mistakes * update the api version * update swagger with new changes * fix a bug in one of the ava properties. (#16365) * Swagger for Form Recognizer 2021-09-30-preview. (#16234) * Swagger for Form Recognizer 2021-09-30-preview. * Fix styling issues. * Fix styling. * Remove yml version. * Update Speaker Verification URL (#16348) * Update Speaker Identification URL (#16347) * Creator v1 Deprecated - Delete Swagger Docs (#16225) * Creator v1 Deprecated - Delete Swagger Docs Creator v1 Deprecated as of Sept 6 2021 - Delete Swagger Docs * Creator v1 Deprecated - Delete Swagger Docs Creator v1 Deprecated as of Sept 6 2021 - Delete Swagger Docs * [Hub Generated] Review request for Microsoft.ContainerInstance to add version stable/2021-09-01 (#16247) * Adds base for updating Microsoft.ContainerInstance from version stable/2021-07-01 to version 2021-09-01 * Updates readme * Updates API version in new specs and examples * Adding zones property to resource * Add zones property to relavent examples * Running prettier on modified examples * Adding x-ms-secret to password in responses * Changing parameters to use common types * Reverting changes since they introduced validation errors * Prettier check * Add managedIdentityResourceId to EventHubConnectionProperties (#16358) Co-authored-by: Amit Elran * Adding error responses (#16360) * [KubernetesConfiguration] Release 2021-11-01-preview with FluxConfigurations (#15999) * Adds base for updating Microsoft.KubernetesConfiguration from version stable/2021-03-01 to version 2021-10-01-preview * Updates readme * Updates API version in new specs and examples * Reference common definitions * Add fluxConfiguration to initial commit * Update readmes to new version * Add 409 conflict to scc * Update example api-versions * Add path example * Run prettier * Update dependsOn object body * Update readmes with 2021-09-01 * Change to lastSourceSyncedCommitID * Change to 2021-11-01-previe * [ACR] [New Api Version] add 2021-08-01-preview (#15990) * Initial commit for comparison with previous release * Add new swagger 2021-08-01-preview and examples * Swagger changes for Dataflow flowlets (#16251) * Swagger changes for Dataflow flowlets * Fix reference errors * Fix Lint checks * Separate changes for ADF and Synapse * Address Review Comment * Swagger changes for Synapse flowlets (#16335) * Swagger changes for Synapse flowlets * Add Flowlet to custom words * Address comments * Remove value attribute from certificate object (#15684) * Remove value attribute from certificate object * Fix prettier errors * Adding required property to some of the parameters we initially missed. (#16311) * Adding required property to some of the parameters we initially missed. * Adding required property to some of the parameters we initially missed. * Adding required property to some of the parameters we initially missed. * Adding required property to some of the parameters we initially missed. * Adding required property to some of the parameters we initially missed. * Adding required property to some of the parameters we initially missed. * Adding required property to some of the parameters we initially missed. * Adding required property to some of the parameters we initially missed. * Added new service versions for storage (#16298) * Added new service versions for storage * working on readmes * update * [Microsoft.HybridConnectivity] Promote 2021-07-08-privatepreview to 2021-10-06-preview (PublicPreview) (#16301) * Copy from 2021-07-08-privatepreview api from private repo * Promote 2021-07-08-privatepreview to 2021-10-06-preview * add expiresin custom word for linter fix * fix sdk generation failures * Add batch tag 10/14 (#16393) * add batch tag 10/14 * fix * revert the default tag change (#16398) * [Azure Maps] Timezone: Swagger improvement for SDK generation [Hub Generated] (#16057) * Rename with `x-ms-client-name` * Add extensible enum for timezone accept language * Rename operationId to have better method meaning Add x-ms-client-name for better explaining * Updated description for HasZone1970Location property * Removed Enum in model class name * Better naming for TimeTransitions * Updated x-ms-examples to be more friendly * Update Descriptions * Update method name * Update coordinates with collectionFormat csv * Modified sunrise, sunset type * Update wording for hasZone1970Location description * Use LatLongPair as reference * Modify exists definitions 1. Combined definitions with same structures into TimezoneResult, TimezoneId, ReferenceTime. * Update Examples to fix Model Validation * Rename to Timezone to be consistent * Update description for hasZone1970Location * Minor updates for name, type * Modified property to uppercase to match exmaples * Changed back to using RepresentativePoint Co-authored-by: Alex Tsao * Update to remove default value for enum RouteType (#16343) * [Synapse] - Add x-nullable:true for folder property (#16237) Co-authored-by: Dongwei Wang * Update readme.python.md (#16400) * Dev containerservice microsoft.container service 2021 09 01 (#16215) * Adds base for updating Microsoft.ContainerService from version stable/2021-08-01 to version 2021-09-01 * Updates readme * Updates API version in new specs and examples * Add gmsaProfile in WindowsProfile for AKS (#15976) * Add gmsaProfile in WindowsProfile for AKS * fix spell errors * Fix lint issue * Update readme.md for AKS 2021-09-01 * Expose a few more snapshot properties in 2021-09-01 swagger to match 2021-09-01 API (#16082) * Expose a few more snapshot properties in 2021-09-01 swagger to match 2021-09-01 RP API * Expose a few more snapshot properties in 2021-09-01 swagger to match 2021-09-01 RP API Co-authored-by: Charlie Li * Agent pool start/stop (#16105) * added examples for agentpool start/stop * fixed code styling * added 201 response code in examples * added 201 response code object * added missing parameter * updated description for power state and added title * added power state to request body properties * Update specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2021-09-01/managedClusters.json Co-authored-by: Matthew Christopher Co-authored-by: Matthew Christopher Co-authored-by: Charlie Li <39974812+chengliangli0918@users.noreply.github.com> Co-authored-by: Charlie Li Co-authored-by: rsamigullin <89222124+rsamigullin@users.noreply.github.com> Co-authored-by: Matthew Christopher * PR to make swagger changes for new event grid public SDK release (#16309) * create baseline commit * Add all the changes for new public SDK release * fix the version * fixing prettier check issues * address pr comments * fix arm version in readme * Add extra line * fix lintdiff issue * Adding suppression and fixing sdk readme * fix issues with go sdk path * fix a missing required and a description (#16421) * EventHub : New API version 2021-11-01 (#16363) * base commit for new api version 2021-11-01 * new api version 2021-11-01 changes * CI fixes * CI fixes * fix for Python SDK * added common def v2 * avocado fix * updated common types * update to address S360 * S360 fix for DisasterRecoveryConfigs * Revert "S360 fix for DisasterRecoveryConfigs" This reverts commit 2476975abd304ee89f1382ceaee280ad3a711e15. * Added SchemaRegistry API * CI fixes - Schemagroup * corrected Schemagroup group properties * reverted the proxyresource location change * Revert "reverted the proxyresource location change" This reverts commit ac79e8a163198742f32adfdc40cc11aa2e039e90. * addresing S360 swagger correctness fro operations and capture * updated description for datalake in capture * subscription format to uuid Co-authored-by: Damodar Avadhani Co-authored-by: v-ajnava * databricks: updating the Tags to be consistent (#16422) The other resources within this Swagger use the applicable Resource name however the Private Link resources use GET, DELETE and PUT - this fixes that so that these are consistent. * Fix Swagger correctness bugs. (#16280) * Created new API version for Monitor Action Groups (#16107) * Updated error response for Action Groups API * spacing * added missing fields to Action Group Resource spec * Added missing fields for action group resource in older version * Updated "resource" name * Removed changes to errorResponse * Removed errorObject * format * Updated required and default fields in Action groups spec * Update default value to boolean Co-authored-by: kai ru <69238381+kairu-ms@users.noreply.github.com> * changes default value type to boolean * undo webhook receiver changes * Created new API version for action groups * Added event hub Receiver to Action groups spec * Updated readme.md for Monitor * Initial checkin for Post and Get test notification apis * Change to completed * Fix some errors * Fix a couple more issues * add x-ms-long-running-operation-options * Context fix * Context * Context * Context * revert unwanted changes since we don't own these * update API version in actionGroups json * update API version in action groups examples * Fix for Swagger PrettierCheck failures * Fix the description of the RG name para * Remove the dupe resourcegroupname para * Another attempt to fix the description * PR comments * fix json format * Fix json * Lets revert the resource descrilption * Fix autorest exception and suppress Lint failures for error response schema * Fix for prettier check * Add providers * Used common types for definitions and parameters * fix lint errors for incompatible parameters * Revert Resource definition update to resolve Lint errors * Revert package tag to fix build break * Update API reference in latest package * PR comment * fix build break because didn't remove the createdBy from the sample * PR comments * Fix typo * Validation errors * Fix errors * Fix errors * Fix style * Change api name * Fix errors * Change the uri * Change the api name Co-authored-by: Ritwik Rajendra Co-authored-by: kai ru <69238381+kairu-ms@users.noreply.github.com> Co-authored-by: Thomas Pham * Removed OnvifDeviceGetRequestBody and OnVifDeviceDiscoverRequestBody (#16371) * Removed OnvifDeviceGetRequestBody and OnVifDeviceDiscoverRequestBody * adding required to discoverduration * removing assetsink * making discoveryDuration optional * Add x-ms-pageable to AccessControl List operations (#16416) * Add x-ms-pageable to AccessControl list operations * remove x-ms-pageable from roleDefinitions List operations * Adding back category level samples (#16389) * Adding back category level samples Adding back category level samples * Adding reference to newly added sample files Adding reference to newly added sample files * Tries to fix prettier violations * Remove location field for sub/management group level * Tries to fix prettier by converting tab to spaces * Add track2 batch 4 mysql-->cognitiveservices (#16431) * Add track2 batch 4 mysql-->cognitiveservices * resourcehealth-->sqlvirtualmachine * Fix AVA 2021-11-01 example files (#16432) * fix examples * fix prettier checks * Api Management 2021-08-01 Stable API-VERSION (#16353) * Adds base for updating Microsoft.ApiManagement from version preview/2021-04-01-preview to version 2021-08-01 * Updates readme * Updates API version in new specs and examples * [Azure Maps] Route: Swagger improvement for SDK generation [Hub Generated] (#16193) * Route: Rename parameter/client names * Route: Rename request body names * Route: Model a few objects as enum * Route: rename magnitudeOfDelay * Route: update startPointIndex/endPointIndex docstrings * Route: departureTime/arrivalTime to date-time * Route: Fix name in typescript.md * Route: modify docstrings for firstInstructionIndex/lastInstructionIndex * Route: rename turnAngleInDecimalDegrees * Route: Add docstrings for RouteSection/RouteLeg * Route: rename report object * Route: add friendly x-ms-examples key name * Route: rearrange definitions for better review * Route: remove language reference in hyperlink * Route: Remove repeated descriptions of batch API * Changed model name RouteDirectionsSummary to RouteSummary * Rename to RouteRangeResponse * Add max/min values for efficiency * Name changing with x-ms-client-name * Minor update * Route: naming fix * renamed all kWh to KwH * Route: add default values * Route: Fix wrong name * Route: Change response type name * Updated name and descriptions for route attributes * Remote language in URL * Route: definition name changed for type name * Route: keep the operations for maintaining SDK consistencies * Route: Change response object names * Route: Fix parameter type * Common: Add more definitions for better client type name * Common: Add description for query parameter * Route: Just rename RouteSummary Definition * Common: Redo the naming for batchItems * Route: add names for x-ms-enum * Route: change all floats to doubles (verified in backend) * Route: use collectionFormat for route range api * Route: rename operationIds to remove Post wording * Modified two method names * Route: update vehicleCommericial's client name * Route: update description/client name for carTrain Co-authored-by: Alex Tsao Co-authored-by: Daniel Rocha * [Azure Maps] Weather: Swagger improvement for SDK generation [Hub Generated] (#16148) * Modified AirQuality * Modified AirDetails * renaming variables for Current Condition * 1. Rename to model to WeatherValue 2. Renamed to IconCode definition * Rename properties to description(s) for consistency * Rename model to weatherValueRange * Renamed to Forecast for better self explaining * Better naming/self explaining for values * Update name fpr dbz * Add enum for UnitType, PrecipitationType, IconCode * Updated example files * Fix CI errors 1. Add new word to avoid error checks failing 2. Updated with "x-ms-client-name" to fix CI errors * Update according to review feedbacks 1. Removed duplicate enum attributes 2. Updated descriptions * Update IconCode * Update x-ms-exmaple for better description * Update Enum * add name for enum * Update according to feedback 1. Update all `query` to collectionFormat 2. Set `readOnly=true` for all response 3. Create PastHoursTemperature model for opimization * Update name Co-authored-by: Alex Tsao * [Hub Generated] Review request for Microsoft.Marketplace to add version stable/2021-10-01 (This is internal data plane service inside Microsoft.Marketplace RP) (#16306) * New Swagger Spec File * New Swagger Example Spec File * New Readme Config File * first commit * fix * fix * examples * fix * words * fix * spell * pretty * fix * pretty * fix * comments * spelling * Fix check access response (#16428) * fix check access response * Add DefinitionsPropertiesNamesCamelCase suppression role Co-authored-by: Prince Gupta * Move QuestionAnswering 2021-07-15-preview to main (#16411) * move questionAnswering 2021-07-15-preview to main * update version in examples * [Hub Generated] Review request for Microsoft.KeyVault to add version preview/2021-06-01-preview (#16399) * Bypass incompatible responses * Add missing path * Add version info * Removing undesired 404 * add "x-ms-secret": true to secret field (#16436) * add "x-ms-secret": true to secret field * remove breaking change prop * Update example Co-authored-by: Nan Jiang * Add missing Opt-in APIs S360 (#16362) * add missing APIs S360 * fix json validation error * revert casing change * fix validation errors * run prettier * [Hub Generated] Review request for Microsoft.AppPlatform to add version preview/2021-09-01-preview (#16149) * Adds base for updating Microsoft.AppPlatform from version preview/2021-06-01-preview to version 2021-09-01-preview * Updates readme * Updates API version in new specs and examples * Add new changes for 2021-09-01-preview * Fix some validation errors * Use collection for loadedCertificates * Fix typo * Update readme for new api version autorest generating * name update * name update again * name update again again * rename storageProperties to properties * add systemData * fix * fix lint * resolve comments * fix reference link * fix * add x-ms-secret and x-ms-mutability annotations to accountKey * fix lint Co-authored-by: Wenhao Zhang Co-authored-by: Xuyang Cao * Update readme.python.md (#16451) * Update readme.python.md * config readme * [Hub Generated] Review request for Microsoft.BotService to add version preview/2021-05-01-preview (#16012) * fix some error * update * update * update example * [Azure CDN] Add missing customHttpsParameters field in CustomDomainProperties for versions after 2019-06-15 (#16129) Co-authored-by: Bo Zhang * First time adding VideoIndexer to public repo (#16439) * First time adding VideoIndexer to public repo * Fix spelling * Fix more spelling * remove preview only api for now * [Hub Generated] Review request for Microsoft.TimeSeriesInsights to add version preview/2021-03-31-preview (#16415) * Fix S360 errors in 2021-03-31-preview * Fix prettier check * [network] `2021-02-01-preview-only` tag configuration for Python (#16375) * test * test * Update readme.python.md * Update readme.python.md * Update readme.md * fix * Update readme.python.md Co-authored-by: 00Kai0 Co-authored-by: kai ru <69238381+kairu-ms@users.noreply.github.com> * Add Change Analysis API version from private repo (#16160) * Add API versions from private repo * Fix prettier and avocado validation report * Fix prettier and avocado validation report * push manifest from private repo * Make changes for public repo * Update to correct api-version' * update agent vm image in pipeline yml (#16467) * Adding Microsoft.Chaos API Version 2021-09-15-preview. (#16453) * [baseline] Microsoft.Chaos private preview API Version 2021-09-15-preview. * msft.chaos PublicPreview API 2021-09-15-preview * Add neccessary readme's from swagger tool branch generation. * remove artifiact resource from public preview. * fix static linter issues. * [Hub Generated] Review request for Microsoft.Security to add version preview/2021-07-01-preview (#16455) * . * . * readme.python config (#16471) * Add text analytics v3.2-preview.2 API (#15736) * Add text analytics v3.2-preview.2 API * CR comments * Make project and deployment names required parameters * Fix projectName and deploymentName Rename projectName and deploymentName in input to project-name and deployment-name Co-authored-by: Omar Elhariry Co-authored-by: Kareem Yousef * Mhsm doc changes (#16444) * backuprestore 7.3 preview changes * remove Go track 1 auto-generation * 7.2 stable description * lint swagger errors Co-authored-by: Joel Hendrix * [Hub Generated] Render v1/v2 reconciliation (#16263) * render v1.0 centric updates multiple zooms differentiated by description removed * revert composition of GetCopyrightResult to resolve weird validation issue * add available tilesets into tilesetId enum * address render review * update the input files * seperate 1.0 tag * rename examples so the names don't clash and OpenAPI doc gen don't freak out, correct missing api in v2.1, remove /map/imagery in v2.1 as it should not be there * see if setting unique operationIds resolves this fragile doc gen * update custom-words for spell-check to pass * improve sample names * correct sample reference * remove V21 from operation ids Co-authored-by: Taras Vozniuk * [Microsoft.DeviceUpdate] Added private Network RP API for Private Endpoint support (#16396) * Added internal Network RP model and API * Fixed semantic validation error * prettier run * Added list operation for NRP-only proxy type * Linter fixes * Removed properties requirement * Removed read-only flags * Removing required from resources * More required properties * More c&p error fixes * Added missing property definition for remote proxy * Wrong place for provisioning state * Rogue space * Fixed an example * Another rogue space * Added internal note to descriptions * Adding missing identity properties and ExtensionTopics operation (#16469) * Adding missing identity properties and ExtensionTopics operation * fixing prettier check issues * Add identity to topic * Add system data to Extension topic response * fix lintdiff issue * fix kusto pool operation id (#16477) * Update Microsoft.Chaos API Version 2021-09-15-preview types/experiment.json (#16480) * Update azure-pipelines.yml to use ubuntu-20.04 (#16485) * Update azure-pipelines.yml * Update ShouldSendPRToMain.yml * Update BranchProtectionForPrivateRepo.yml * Update Chaos Client Name + Update outdated examples. (#16501) * publish Microsoft.AVS 2021-12-01 API (#16426) * copy 2021-06-01 API * replace "2021-06-01" with "2021-12-01" * add 2021-12-01 changes * update readme * add go * add java * fix go * Network may release: monthly branch release from Azure Networking side. (#16395) * Adds base for updating Microsoft.Network from version stable/2021-03-01 to version 2021-05-01 * Updates readme * Updates API version in new specs and examples * Add routing intent resource to 05-01 (#15998) * add routing intent resource to 05-01 * prettier fix * fix api version in examples * Update Exclusion Match Variable enum to support new values (#16124) * Adding new SKU values (#16112) * Adding new SKU values * Fixing basic in Tier(not name) Co-authored-by: Ishani Gupta * Update WAF Policy Exclusions to include RuleSet/RuleGroup/Rule hierarchy (#16154) * VNet Encryption: Add nic flag, vnet property, vnet peering property (#16224) * vnet encryption change * change api version * fix prettier check * add type object for encryption * remove circle (#16307) Co-authored-by: Weiheng Li * move to new branch (#16194) * Missed property added to LoadBalancerBackendAddress and new API (#16334) * Updated load balancer swagger with missing backendAddress property and queryInboundNatRulePortMapping API * Fixed example for QueryInboundNatRulePortMapping API * Fixed warnings * Revert "Fixed warnings" This reverts commit e3e4cac4b19f47452a2b24abfdf9e1e09d041fca. * Revert "Fixed example for QueryInboundNatRulePortMapping API" This reverts commit 5823b77f681534fbda8010901496886c88b81343. * Revert "Updated load balancer swagger with missing backendAddress property and queryInboundNatRulePortMapping API" This reverts commit e3f5bb3ca403ed5045b11bcde59d7b54975ae117. * Put changes into correct API version * Fixed lint diff errors * Fixes based on CR * Fixes based on CR * Fixed warnings * Fixed example * prettier * Fixed spelling * initial PR to the new release branch (#15842) * initial PR to the new release branch * moved body to end of request parameters, changed api version number in examples * Added action name for the list idps filter values * changed to match camel casing for the action added * fixed CR issues * fixing auto checks * fixed ARM cr issues * fixing the resource type to match specification * Isgu/fix/new branch SKU (#16410) * changes in 05 branch * Revert "Adding new SKU values (#16112)" This reverts commit bdf897a9ee38f612e97e84c2090447de0e3b1c79. Co-authored-by: Ishani Gupta Co-authored-by: Ritvika Reddy Nagula Co-authored-by: tejasshah7 <49326906+tejasshah7@users.noreply.github.com> Co-authored-by: Ishani Gupta Co-authored-by: Ishani Gupta Co-authored-by: dtuCloud Co-authored-by: Weiheng Li Co-authored-by: Weiheng Li Co-authored-by: Henry Chen Co-authored-by: irrogozh Co-authored-by: amosarbiv-work <76393841+amosarbiv-work@users.noreply.github.com> * Fixed proxy paths (#16496) * For Add cases, 404 should be error response (#16488) For AddConnectionToGroup and AddUserToGorup, if connection does not exist, or user does not exist, 404 should be considered as error response. * replace resource with proxyresource (#16325) Co-authored-by: Alex Goldschmidt * Add Microsoft.ResourceConnector [Appliance] 2021-10-31-preview API (#16384) * Add Microsoft.ResourceConnector [Appliance] 2021-10-31-preview API * Run prettier on violation files * Add SCVMM to custom-words.txt * Fix validation issues * Fix prettier issue with AppliancesListClusterUserCredential.json * Add multi API section for go readme and update namespace for python readme * Update Example files to be more accurate * Add None to Managed Identity typ in parity with other Azure Arc Resources * Add default value as AKSEdge for distro * Adding type object for ApplianceListResult * Update Identity to use SystemAssignedServiceIdentity from common-types v3 managedidentity.json * Reverting to using custom Identity * Update readme.md * Update readme.python.md Co-authored-by: Anirban Thakur Co-authored-by: Yiming Lei <59104634+RAY-316@users.noreply.github.com> * Josefree doc update (#16457) * Create Sample Directory Structure for Swagger * Delete Sample Directory Structure for Swagger * Create Sample Directory Structure for Swagger * Update Getting started with OpenAPI specifications.md * Delete Sample Directory Structure for Swagger will reuse this wiki https://github.com/Azure/azure-rest-api-specs/wiki#directory-structure, instead of creating a new one. * Update Getting started with OpenAPI specifications.md reuse this wiki for sample directory https://github.com/Azure/azure-rest-api-specs/wiki#directory-structure * Add MDE Onboarding API to Microsoft.Security (2021-10-01-preview) (#16433) * Rename 'whitelist' * add missing 'Group' in renamed file * add mdeOnboarding API - 2021-10-01-preview * fix json format * fix PR issues * add List operation * change to plural, set default resource type name * mismatch between GET and LIST examples * made descriptions clearer, removed unused parameter * defined explicit parameters * delete unused schema Co-authored-by: Erel Hansav * [Hub Generated] Review request for Microsoft.Insights to add version stable/2021-10-14 (#16417) * Adds base for updating Microsoft.Insights from version preview/2020-06-02-preview to version 2021-10-14 * Updates readme * Updates API version in new specs and examples * Fixing a relative path * Pascal casing for the resource provider name * Attempt at fixing R4018 * ADLA RP October Swagger KPI fixes (#16459) * swagger fix * 2016 patch Co-authored-by: Jimmy Xie * Remove readonly on segment length property (#16513) * remove preview tag (#16441) * Disable replay attack checkfor VPN gateway (#16515) * [Hub Generated] Review request for Microsoft.AppPlatform to add version preview/2021-09-01-preview (#16468) * Add dump API * add new line at the end of line * change cases * typo * response * add api for start/stop azure spring cloud instance * fix lint error Co-authored-by: Yinglue Zhang Co-authored-by: caiqing Co-authored-by: YinglueZhang-MS <78456380+YinglueZhang-MS@users.noreply.github.com> * Kusto: Swagger readonly cosmetics changes (no breaking changes) (#16405) * Kusto: Swagger readonly cosmetics changes * supress * prettier * fix 2017-09-07-privatepreview examples * fix 2018-09-07-preview model * 1 * 1 * [Microsoft.Security/Automations] Add AssessmentsSnapshot & SubAssessmentSnapshot data types (#16489) * Add SubAssessment event source type and add more automations examples * Change Location isReadOnlu to false * Test * Add new read/write location and add new type TrackedResourceLocation * Minor * minor * prettier fixes * Change variable name to TrackedResourceLocation * Change type name TrackedResourceLocation to AzureTrackedResourceLocation * Update automations example * Add SecureScores & SecureScoreControls as new supported datatypes in Automations resource * [ASC.Automations] add new data type RegulatoryComplianceAssessment * Add Secure Scores and Regulatory Compliance snapshot data types * Changes * minor fix * syntax fixes * [Microsoft.Security/Automations] Add AssessmentsSnapshot & SubAssessmentSnapshot data types * minor * minor * minor * minor * [Hub Generated] Public private branch 'dev-security-Microsoft.Security-2021-07-01' (#16435) * Adds base for updating Microsoft.Security from version preview/2021-05-01-preview to version 2021-07-01 * Updates readme * Updates API version in new specs and examples * Adding securityConnectors private API * Update the readme.md * adding custom word * Update Security Connector model in examples * Update main security connectors model with new organizational data properties, update examples as well. * added new offerings * fix pathing * fix offering name in all examples * add docs for patch endpoint * add system data resource * Remove duplication * Resolve tools issues * Change bool to boolean * Fix model validation errors * Fix lint error * CR fixes. Move systemData to root of object. Export identity type to definition * remove extra bracket * fix bracketing and pathing * lint fixes * fix camel case for linting * Fix systemData examples Co-authored-by: Sapir Elmakayes <32778998+SapirElmakayes@users.noreply.github.com> Co-authored-by: Sapir Elmakayes * Azure Maps - [Hub Generated] Review request for Traffic to add version preview/1.0 (#16128) * Modified method GetTrafficFlowSegment to remove the Result type and return the data type directly * Revert "Modified method GetTrafficFlowSegment to remove the Result type and return the data type directly" This reverts commit 46bc557383238dad2cd4b5d0a0040fdc754fdb79. * Flattening and renaming of several components within Traffic Segment Flow * Flattened the client for Traffic Incident Detail * More changes in flattening, now for TrafficIncident and Detail * More changes in flattening, now for TrafficIncident and Detail * More feedback addressed * prettier fixes * Clarified doc string * Added start and end time for Traffic incident * Added friendly names for x-ms-examples * Fixed avocado bugs, added query parameter as number array * Added collectionFormat to all comma separated parameters * Small changes to improve codegen * Prettier fixes * Fixed all comments from latest PR review Co-authored-by: Daniel Rocha * Adding Swagger for Short Code API (#15312) * saving progress * fixing typos * fixing typos * fixing typo * running prettier * small comment change * minor fixes * minor fix * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * moving shortcodes files to its own folder * saving progress * adding basic readme file * Changing message details to support adding examples for contenttypes, adding estimatedRampUpTime and directionality * adding format for urls, emails and phone numbers * renames on different fields * adding back helpMessage and optOutMessage * removing tel format * S360: fix missing accesslevel field in requestResponse (#16464) * fix missing accesslevel field in requestResponse * fix another s360 issue * fix fields in example files as well * update custom words * [Hub Generated] Review request for Microsoft.DocumentDB to add version stable/2021-10-15 (#15733) * Adds base for updating Microsoft.DocumentDB from version stable/2021-06-15 to version 2021-09-15 * Updates readme * Updates API version in new specs and examples * Add support for fetching continuous backup information for latest restorable timestamp. * Adding locations API and backupRedundancy * Fixing ref * Add 10-15 Preview along with ClientEncryptionKey management changes * Renaming 2021-09-15 api version to 2021-10-15 * Fixing some more renames * fix validation checks * add clientencryptionkeys to custom-words * initial commit * Swagger specifiations * readme file updated * Review comments addressed * Added TotalThroughputLimit property to Database Create and Update * Rebased and added type to capacity * Added changes to preview folder as well * Added changes to missing files * initial checkin of base version * Adding examples; /deallocate and /start api in swagger * update readme.md file * Removing 2021-10-15-preview changes * managed cassandra swagger changes for GA * Fixing linter issues * minor description fixes * adding missing example * add stable and preview swagger * revert to Thu Sep 9 2021 change * fix linter errors in swagger * fix validation errors * validation fixes * remove fetchNodeStatus from stable * remove unused example file, fix validation error * Fixing the spell check and formatting issues * remove /repair api, make /command async * remove unreferrenced example json * remove pageable link from /status api * remove backups api, add cassandraAuditLoggingEnabled property * add cassandraAuditLoggingEnabled property * make /status api async, minor fixes * remove async tag to /status * remove connectivity property, add Ldap as preview * remove unreferenced example files * use guid in subid for examples * add backupStorageCustomerKeyUri property * fix api response code * remove ldap * Changing operationId for locations API * review comments Co-authored-by: REDMOND\amisi Co-authored-by: Anuj Toshniwal Co-authored-by: Abhijit Karanjkar Co-authored-by: Praful Johari Co-authored-by: visunda Co-authored-by: Vivek Sundararajan Co-authored-by: vivek-microsoft <32766101+vivek-microsoft@users.noreply.github.com> * [SignalR] Add stable version 2021-10-01 (#16044) * init * remove * Add 2021-10-01 * Minor update * Add 2021-05-01-preview swagger API support for Autoscale newly added fields and new controller path. (#16463) * Initially cut, cloned from know existing GA bits (IE \specification\monitor\resource-manager\Microsoft.Insights\stable\2015-04-01) * rev API version, add new controller API path, and update JSON showing newly added predictiveAutoscalePolicy field * [QuotaRP] Fix LimitObject polymorphism (#16438) * Fix LimitObject polymorphism * move properties out of allOf * add type to LimitObject * value is required * Updating Operations Tag to QuotaOperations. * Update quota.json Updating Summary field for operations. Co-authored-by: Rahul Singh <53578268+rahuls-microsoft@users.noreply.github.com> * resolving s360 item (#16476) * resloving s360 itme * added prettier-fix changes Co-authored-by: Gaurav Bang * fix typo: readonly to readOnly (#16548) Co-authored-by: Xuyang Cao * [Hub Generated] Review request for Microsoft.Security to add version preview/2021-07-01-preview (#16549) * Adds base for updating Microsoft.Security from version preview/2021-07-01-preview to version 2021-07-02-preview * Updates readme * Updates API version in new specs and examples * Fix account id to account ids * Minor * Minor Co-authored-by: Sapir Elmakayes * [Hub Generated] Review request for Microsoft.Maps/Microsoft.Maps to add version preview/2.0 (#16487) * added extra fields to JSON list data response in docs * added content-type field to request header * took out content type from header field due to errors; JSON reponse fields for user Data are ready to commit * [Hub Generated] Review request for Microsoft.Maps/Microsoft.Maps to add version preview/1.0 (#16446) * Remove mobility * Remove mobility * Remove mobility * Remove mobility reference * Trigger another pipeline? * Remove more mobility * [Hub Generated] Review request for Search to add version preview/1.0 (#16283) * First set of changes for Search API * More changes to address review * More changes to address review * More changes to address review * Reset searchAlongRoute name * Fixed roadUse * Fixed OAV error * Minor fixes * Fixed fuzzy search errors from review * Changes in Reverse Search Address mode * More changes from the review * Checkpoint commit * Fixed floating point numbers, dataSources field * Modified boundingBox to avoid causing model validation failure * Fixed more examples * Fixed more broken examples * Fixed more examples * Fixed more examples * Prettier fixes * Re-add street and buildingNumber * Revert client body flattening, add names for x-ms-enum * Removed locale-specific URLs * More changes to address review * More changes to address review * Minor fixes * More changes from the review * Fixed floating point numbers, dataSources field * Fixed final issues for review * Modified boundingBox to avoid causing model validation failure * Prettier fixes * Revert client body flattening, add names for x-ms-enum * Reflect operationId changes in Readme.typescript * Keep operations in TypeScript to be consistent for all languages * Update sdk generation to track2 * Prettier fix * Revert "Update sdk generation to track2" This reverts commit 5ede489e84a1820c06f7c26f70bf1bc9c2a3ec86. * Remove .net sdk generation since it is not used * Added prefix to Operation Id. * Fixed couple of operationIds * Renamed PolygonResponse * Address PR comments * More changes due to PR Review * Testing new batch naming * Fixed bug in searchInsideGeometry * Testing new batch naming * Fixed batch naming that didn't work well. * Renamed searchInsideGeometryBody to geometry * Finished all PR review comments, added changes to Common and Route Co-authored-by: Daniel Rocha Co-authored-by: alankashiwa * Removed redundant parameters from data plane account update example (#16552) Co-authored-by: Shailesh Kelkar * Rperezzamora/small fix for short codes (#16554) * making numberType on ShortCode model object extensible enum * Revert "maki… Co-authored-by: Zhixiang Zhan Co-authored-by: Yuwei Zhou Co-authored-by: tianxchen-ms <403562789@qq.com> Co-authored-by: Tianxiang Chen Co-authored-by: bpramod Co-authored-by: Jiahui Peng <46921893+Alancere@users.noreply.github.com> Co-authored-by: subbartt <54743354+subbartt@users.noreply.github.com> Co-authored-by: Ji Wang Co-authored-by: Dapeng Zhang Co-authored-by: Anat Gilenson <53407600+anat-gilenson@users.noreply.github.com> Co-authored-by: Anat Gilenson Co-authored-by: Sean McCullough <44180881+seanmcc-msft@users.noreply.github.com> Co-authored-by: Omar Rodriguez <73562205+omrodrig@users.noreply.github.com> Co-authored-by: vasundhraManhas <42461257+vasundhraManhas@users.noreply.github.com> Co-authored-by: Vasundhra Manhas Co-authored-by: Thakur Ashutosh Suman Co-authored-by: Theertharaj <40805847+thramu@users.noreply.github.com> Co-authored-by: Frey-Wang Co-authored-by: Jorin Mejia Co-authored-by: Jorin Mejia Co-authored-by: yunheMsft <69871746+yunheMsft@users.noreply.github.com> Co-authored-by: SINADELL Co-authored-by: Sindhuri Co-authored-by: Jessica Li Co-authored-by: Chenglong Liu <48578056+ChenglongLiu@users.noreply.github.com> Co-authored-by: Chenglong Liu Co-authored-by: t-bzhan <61817681+t-bzhan@users.noreply.github.com> Co-authored-by: Bo Zhang Co-authored-by: rrahulms <42217269+rrahulms@users.noreply.github.com> Co-authored-by: laurent-mic <41535579+laurent-mic@users.noreply.github.com> Co-authored-by: Lei Ni <7233663+leni-msft@users.noreply.github.com> Co-authored-by: sameerpatro <88674399+sameerpatro@users.noreply.github.com> Co-authored-by: George Moussa Co-authored-by: Ray Chen Co-authored-by: Vaishnavi Janardhan Co-authored-by: sashanm <54701252+sashanm@users.noreply.github.com> Co-authored-by: t-vjanardhan <77781522+t-vjanardhan@users.noreply.github.com> Co-authored-by: Nidhi Jain Co-authored-by: nija-dev <67132984+nija-dev@users.noreply.github.com> Co-authored-by: Vaishnavi Janardhan Co-authored-by: Zed Lei <59104634+RAY-316@users.noreply.github.com> Co-authored-by: giakas Co-authored-by: Paul Hsu Co-authored-by: Youssef Shahin Co-authored-by: Nikki Zuko <38327895+nizuko@users.noreply.github.com> Co-authored-by: joseph-porter <69636506+joseph-porter@users.noreply.github.com> Co-authored-by: Amit Elran Co-authored-by: Amit Elran Co-authored-by: SanjaMalesevic <53555921+SanjaMalesevic@users.noreply.github.com> Co-authored-by: Jonathan Innis Co-authored-by: savaradh <60020169+savaradh@users.noreply.github.com> Co-authored-by: esdhrgl1984 <44240496+esdhrgl1984@users.noreply.github.com> Co-authored-by: vasanthrajams <60414148+vasanthrajams@users.noreply.github.com> Co-authored-by: larisaborodina <58491292+larisaborodina@users.noreply.github.com> Co-authored-by: Young Bu Park Co-authored-by: JiahuiPeng <46921893+804873052@users.noreply.github.com> Co-authored-by: Alex Tsao Co-authored-by: Alex Tsao Co-authored-by: AriZavala2 <77034370+AriZavala2@users.noreply.github.com> Co-authored-by: Dongwei Wang Co-authored-by: Dongwei Wang Co-authored-by: Jiefeng Chen <51037443+BigCat20196@users.noreply.github.com> Co-authored-by: Chou Hu Co-authored-by: Charlie Li <39974812+chengliangli0918@users.noreply.github.com> Co-authored-by: Charlie Li Co-authored-by: rsamigullin <89222124+rsamigullin@users.noreply.github.com> Co-authored-by: Matthew Christopher Co-authored-by: rohkuma-microsoft <90003118+rohkuma-microsoft@users.noreply.github.com> Co-authored-by: Ajit Navasare Co-authored-by: Damodar Avadhani Co-authored-by: v-ajnava Co-authored-by: Tom Harvey Co-authored-by: Samuel Kuang Co-authored-by: Ritwik Rajendra <21337621+ritwik8119@users.noreply.github.com> Co-authored-by: Ritwik Rajendra Co-authored-by: kai ru <69238381+kairu-ms@users.noreply.github.com> Co-authored-by: Thomas Pham Co-authored-by: hivyas <61890270+hivyas@users.noreply.github.com> Co-authored-by: Anne Thompson Co-authored-by: LarryZhang19 <35974877+LarryZhang19@users.noreply.github.com> Co-authored-by: Samir Solanki Co-authored-by: Alan Po-Ching Yang Co-authored-by: Daniel Rocha Co-authored-by: Ishay Dahan Co-authored-by: prince3332 Co-authored-by: Prince Gupta Co-authored-by: Rohan Kulkarni <36928710+rokulka@users.noreply.github.com> Co-authored-by: jiacheng-L <71623842+jiacheng-L@users.noreply.github.com> Co-authored-by: najian Co-authored-by: Nan Jiang Co-authored-by: swvenkats <87731907+swvenkats@users.noreply.github.com> Co-authored-by: Jie Shen Co-authored-by: Wenhao Zhang Co-authored-by: Xuyang Cao Co-authored-by: tabenari <73182585+tabenari@users.noreply.github.com> Co-authored-by: Kyle Rush Co-authored-by: Yuchao Yan Co-authored-by: 00Kai0 Co-authored-by: Jenny Winkler <52216782+jewinkle@users.noreply.github.com> Co-authored-by: Mario Hernandez Co-authored-by: kerend Co-authored-by: korosensei Co-authored-by: Omar Elhariry Co-authored-by: Kareem Yousef Co-authored-by: Maddie Lucas <85301813+maddiemlucas@users.noreply.github.com> Co-authored-by: Joel Hendrix Co-authored-by: Taras Vozniuk Co-authored-by: Taras Vozniuk Co-authored-by: darkoa-msft <61987922+darkoa-msft@users.noreply.github.com> Co-authored-by: Wan Yang Co-authored-by: Zhenglai Zhang Co-authored-by: Cameron Taggart Co-authored-by: Mikhail Co-authored-by: Ritvika Reddy Nagula Co-authored-by: tejasshah7 <49326906+tejasshah7@users.noreply.github.com> Co-authored-by: Ishani Gupta Co-authored-by: Ishani Gupta Co-authored-by: dtuCloud Co-authored-by: Weiheng Li Co-authored-by: Weiheng Li Co-authored-by: Henry Chen Co-authored-by: irrogozh Co-authored-by: amosarbiv-work <76393841+amosarbiv-work@users.noreply.github.com> Co-authored-by: Liangying.Wei Co-authored-by: alexgoldschmidt <33302838+alexgoldschmidt@users.noreply.github.com> Co-authored-by: Alex Goldschmidt Co-authored-by: anirbanthakur <89666721+anirbanthakur@users.noreply.github.com> Co-authored-by: Anirban Thakur Co-authored-by: Josephine Qiu Co-authored-by: Erel Hansav Co-authored-by: Erel Hansav Co-authored-by: Alexander Kaplan Co-authored-by: jimmyshie123 Co-authored-by: Jimmy Xie Co-authored-by: Aishwarya C S <24403906+Aishwarya-C-S@users.noreply.github.com> Co-authored-by: misbamomin <79725363+misbamomin@users.noreply.github.com> Co-authored-by: Sandy Cai Co-authored-by: Yinglue Zhang Co-authored-by: caiqing Co-authored-by: YinglueZhang-MS <78456380+YinglueZhang-MS@users.noreply.github.com> Co-authored-by: docohe <54349195+docohe@users.noreply.github.com> Co-authored-by: surashed <55134940+surashed@users.noreply.github.com> Co-authored-by: TomerHmsft <92307325+TomerHmsft@users.noreply.github.com> Co-authored-by: Sapir Elmakayes <32778998+SapirElmakayes@users.noreply.github.com> Co-authored-by: Sapir Elmakayes Co-authored-by: Daniel Rocha Co-authored-by: rperezzamora <80124228+rperezzamora@users.noreply.github.com> Co-authored-by: kavskalyan Co-authored-by: REDMOND\amisi Co-authored-by: Anuj Toshniwal Co-authored-by: Abhijit Karanjkar Co-authored-by: Praful Johari Co-authored-by: visunda Co-authored-by: Vivek Sundararajan Co-authored-by: vivek-microsoft <32766101+vivek-microsoft@users.noreply.github.com> Co-authored-by: Chenyang Liu Co-authored-by: PatrickTseng Co-authored-by: sbudhi-msft <81762203+sbudhi-msft@users.noreply.github.com> Co-authored-by: Rahul Singh <53578268+rahuls-microsoft@users.noreply.github.com> Co-authored-by: Gaurav Co-authored-by: Gaurav Bang Co-authored-by: Xuyang Cao Co-authored-by: sanil7777777 <90470998+sanil7777777@users.noreply.github.com> Co-authored-by: MaxWrightMicrosoft <89222647+MaxWrightMicrosoft@users.noreply.github.com> Co-authored-by: shaileshsk94 <52837212+shaileshsk94@users.noreply.github.com> Co-authored-by: Shailesh Kelkar Co-authored-by: Mark Cowlishaw Co-authored-by: Taras Vozniuk Co-authored-by: sashahdo <64434373+sashahdo@users.noreply.github.com> Co-authored-by: Caihua Rui <71814127+CaihuaRui@users.noreply.github.com> Co-authored-by: sukodava <78733210+sukodava@users.noreply.github.com> Co-authored-by: Robert Gao Co-authored-by: Heath Stewart Co-authored-by: Parv Saxena Co-authored-by: Parv Saxena Co-authored-by: Daniel Stack Co-authored-by: uratzmon <81904834+uratzmon@users.noreply.github.com> Co-authored-by: Alfredo Santamaria Co-authored-by: Alfredo Santamaria Gomez Co-authored-by: Krishna Sri Somepalli Co-authored-by: kesharma <74746991+kesharma@users.noreply.github.com> Co-authored-by: Jingshu923 <52914166+Jingshu923@users.noreply.github.com> Co-authored-by: rickysun93 Co-authored-by: Haoran Sun Co-authored-by: Johnson Yang Co-authored-by: Auðunn Co-authored-by: Audunn Baldvinsson Co-authored-by: Elad Perets <7473455+eladperets@users.noreply.github.com> Co-authored-by: Dapeng Zhang Co-authored-by: Avi Paz Co-authored-by: vikramadityab72 Co-authored-by: Yanqiong Chen <86596306+yanqiongchen@users.noreply.github.com> Co-authored-by: colawwj <70128817+colawwj@users.noreply.github.com> Co-authored-by: xunsun-commits <84804232+xunsun-commits@users.noreply.github.com> Co-authored-by: Shuo LI Co-authored-by: Tianyun Gao (MSFT) <65581162+Tianyun-G@users.noreply.github.com> Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> Co-authored-by: Avinash Co-authored-by: Ruoxuan Wang <52271048+ruowan@users.noreply.github.com> Co-authored-by: bannama Co-authored-by: Bhaskar Annamalai Co-authored-by: leigharubin <78169930+leigharubin@users.noreply.github.com> Co-authored-by: Zhenglai Zhang Co-authored-by: Yang Yuan Co-authored-by: zesluo Co-authored-by: Saif Kayani Co-authored-by: Robert Lyon <35980532+rolyon@users.noreply.github.com> Co-authored-by: avjerafi <64891828+avjerafi@users.noreply.github.com> Co-authored-by: Avi Jerafi Co-authored-by: Jack Ma Co-authored-by: Nick Hardwick <31860550+nickghardwick@users.noreply.github.com> Co-authored-by: xolve Co-authored-by: Ravi Arora Co-authored-by: Maor Leger Co-authored-by: Xingdong Li Co-authored-by: Xingdong Li Co-authored-by: Adriano Arce Co-authored-by: ILAVELAN KANNIAPPAN Co-authored-by: Roslyn Lu Co-authored-by: Roslyn Lu Co-authored-by: yoram-cohen-microsoft <92515642+yoram-cohen-microsoft@users.noreply.github.com> Co-authored-by: cfurmanczyk <89105175+cfurmanczyk@users.noreply.github.com> Co-authored-by: Braden Watkins Co-authored-by: Braden Watkins Co-authored-by: orkayam <68549999+orkayam@users.noreply.github.com> Co-authored-by: Orel Kayam Co-authored-by: vayada Co-authored-by: Andrew Peacock Co-authored-by: msyache <70287970+msyache@users.noreply.github.com> Co-authored-by: Yang Chen Co-authored-by: Hande Adiguzel <89477033+handeeeadiguzel@users.noreply.github.com> Co-authored-by: Christian Eduardo Palomares Peralta Co-authored-by: Alexander Zaslonov Co-authored-by: DreamlessA Co-authored-by: Alan Feng Co-authored-by: Jatin Sanghvi <20547963+JatinSanghvi@users.noreply.github.com> Co-authored-by: Nicolás Barrera Co-authored-by: Nicolás Barrera Co-authored-by: VitaliyKurokhtin Co-authored-by: Christian Palomares Co-authored-by: RupengLiu Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com> Co-authored-by: rkapso Co-authored-by: Ochirkhuyag Co-authored-by: Ochi Co-authored-by: rezmicrosoft <70175798+rezmicrosoft@users.noreply.github.com> Co-authored-by: rez1 Co-authored-by: GovardhanaDK <36787828+GovardhanaDK@users.noreply.github.com> Co-authored-by: Govardhana D K Co-authored-by: Jane Lijuan Zhang Co-authored-by: inballeibovitch <74146365+inballeibovitch@users.noreply.github.com> Co-authored-by: jeffj6123 Co-authored-by: Joshua McCarthy Co-authored-by: jmccarthy Co-authored-by: Nick Depinet Co-authored-by: Nick Depinet Co-authored-by: Guosen Wang Co-authored-by: Deyaaeldeen Almahallawi Co-authored-by: Nitesh Vijay Co-authored-by: anujtoshniwal <62551957+anujtoshniwal@users.noreply.github.com> Co-authored-by: Ajay Parulekar <79739098+ajparule@users.noreply.github.com> Co-authored-by: Amit Singh <31076927+amisi01@users.noreply.github.com> Co-authored-by: pjohari-ms <84465928+pjohari-ms@users.noreply.github.com> Co-authored-by: KeYu(AnkhSpirit) <33389195+KeYu-AnkhSpirit@users.noreply.github.com> Co-authored-by: Travis Prescott Co-authored-by: Mohamed Abbas Co-authored-by: dabenhamMic <74346518+dabenhamMic@users.noreply.github.com> Co-authored-by: Jimmy Campbell Co-authored-by: Suna Liu Co-authored-by: varun kumar kunchakuri <66476965+vakuncha@users.noreply.github.com> Co-authored-by: sagamzu <52034287+sagamzu@users.noreply.github.com> Co-authored-by: Yihang Co-authored-by: sonalverm <73529783+sonalverm@users.noreply.github.com> Co-authored-by: Weidong Xu Co-authored-by: Ritesh chitlangia <60164879+riteshchitlangia1@users.noreply.github.com> Co-authored-by: kim-soohwan <40476315+kim-soohwan@users.noreply.github.com> Co-authored-by: Soohwan Kim Co-authored-by: Arthur Ning <57385816+akning-ms@users.noreply.github.com> Co-authored-by: zhangyan133 <77086185+zhangyan133@users.noreply.github.com> Co-authored-by: Yan Zhang (WICRESOFT NORTH AMERICA LTD) Co-authored-by: 陈箭飞 <32889038+chenjianfei2017@users.noreply.github.com> Co-authored-by: Your Name Co-authored-by: jdhms <77470403+jdhms@users.noreply.github.com> Co-authored-by: Alexander Batishchev Co-authored-by: dosegal <51155368+dosegal@users.noreply.github.com> Co-authored-by: Bruce Johnston Co-authored-by: Abdullah Syed <50675866+absyed@users.noreply.github.com> Co-authored-by: stuartko <47676853+stuartko@users.noreply.github.com> Co-authored-by: pvsraviteja <67624658+pvsraviteja@users.noreply.github.com> Co-authored-by: Nick Schonning Co-authored-by: Suba Co-authored-by: zhaomuzhi Co-authored-by: Vinay Rajmal Soni Co-authored-by: jopet@microsoft.com Co-authored-by: Josh Peterson <15050193+joshanator@users.noreply.github.com> Co-authored-by: chandrikagonuguntla Co-authored-by: Chandrika Gonuguntla Co-authored-by: aarongas Co-authored-by: Saar Shen Co-authored-by: Junbo Wang Co-authored-by: Hervey Wilson Co-authored-by: Janusz Lembicz Co-authored-by: Alexander Schmidt Co-authored-by: ThomasDai <73230321+ThomasDai@users.noreply.github.com> Co-authored-by: Trask Stalnaker Co-authored-by: alexsavo-ms <78455310+alexsavo-ms@users.noreply.github.com> Co-authored-by: TJ Egbejimba Co-authored-by: averyrob <78236769+averyrob@users.noreply.github.com> Co-authored-by: Aman Swaika Co-authored-by: Aman Swaika Co-authored-by: Gaurav Mishra (IDENTITY) Co-authored-by: us6193 Co-authored-by: Umang Shah Co-authored-by: Srinivas Co-authored-by: Xiang Yan Co-authored-by: Krista Pratico Co-authored-by: Srikanta <51379715+srnagar@users.noreply.github.com> Co-authored-by: jastenze <71854693+jastenze@users.noreply.github.com> Co-authored-by: Jose Manuel Heredia Hidalgo Co-authored-by: Rishi Kapoor Co-authored-by: Subrahmanyam Mandavilli Co-authored-by: Xing Zhou Co-authored-by: mkarmark Co-authored-by: Laurent Mazuel Co-authored-by: taogems <55105930+taogems@users.noreply.github.com> Co-authored-by: Mayank Aggarwal Co-authored-by: Mayank Aggarwal Co-authored-by: FAREAST\zakinkh Co-authored-by: Congrui <43364740+conhua@users.noreply.github.com> Co-authored-by: jadrefke Co-authored-by: Austin Drefke Co-authored-by: Amr Elroumy (Work) <77645021+amrelroumy-msft@users.noreply.github.com> Co-authored-by: akashkeshari Co-authored-by: Akash Keshari Co-authored-by: simanor <49607823+simanor@users.noreply.github.com> Co-authored-by: Tom FitzMacken Co-authored-by: Qiaoqiao Zhang <55688292+qiaozha@users.noreply.github.com> Co-authored-by: bowgong <56386108+bowgong@users.noreply.github.com> Co-authored-by: Jack Lichwa <52512203+jlichwa@users.noreply.github.com> Co-authored-by: jainharsh98 Co-authored-by: Shubham Gupta Co-authored-by: ssss141414 Co-authored-by: JianyeXi <59603451+jianyexi@users.noreply.github.com> Co-authored-by: jianyexi Co-authored-by: Mike Budzynski <40186513+mikebudzynski@users.noreply.github.com> Co-authored-by: litchiyangMSFT <64560090+litchiyangMSFT@users.noreply.github.com> Co-authored-by: mayank88mahajan Co-authored-by: Weiguo Zhang Co-authored-by: maddieminn <79888413+maddieminn@users.noreply.github.com> Co-authored-by: nilgupta6 <78136736+nilgupta6@users.noreply.github.com> Co-authored-by: Yuan Xi Co-authored-by: Kai-Wen Feng <82062838+kaiwenfeng4086@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Yuping Wei <56525716+yupwei68@users.noreply.github.com> Co-authored-by: Dania Etienne Co-authored-by: Dania Etienne Co-authored-by: yl-ms <79939366+yl-ms@users.noreply.github.com> Co-authored-by: Aditi <12823918+aditimalladi@users.noreply.github.com> Co-authored-by: Aditi Co-authored-by: Meha Kaushik Co-authored-by: Meha Kaushik Co-authored-by: Christopher Bennage Co-authored-by: Ramu Co-authored-by: vipinhas <82088177+vipinhas@users.noreply.github.com> Co-authored-by: Jorge Cotillo Co-authored-by: yuzhangyi <44692931+yuzhangyi@users.noreply.github.com> Co-authored-by: zhanyu2014 Co-authored-by: ityankel <47292630+ityankel@users.noreply.github.com> Co-authored-by: hongxian <48581117+hongxian@users.noreply.github.com> Co-authored-by: Hongxian Yao Co-authored-by: nichatur <69816349+nichatur@users.noreply.github.com> Co-authored-by: Himanshu Chandel Co-authored-by: Himanshu Chandel Co-authored-by: Kalpesh Chavan <18593210+KalpeshChavan12@users.noreply.github.com> Co-authored-by: Kalpesh Chavan Co-authored-by: Bin Yu <56588422+BinYuMSFT@users.noreply.github.com> Co-authored-by: Bin Yu Co-authored-by: bar810 Co-authored-by: harini-ms <34797776+harini-ms@users.noreply.github.com> Co-authored-by: Harini Co-authored-by: alexandra142 Co-authored-by: Alexandra Lamiova Pistrakova Co-authored-by: iscai-msft Co-authored-by: stivanov-git <61129265+stivanov-git@users.noreply.github.com> Co-authored-by: Mel M <50640763+melmullen@users.noreply.github.com> Co-authored-by: neku <82562198+Neku-microsoft@users.noreply.github.com> Co-authored-by: ItaySofer Co-authored-by: Itay Sofer Co-authored-by: Luke Slevinsky Co-authored-by: yanfa317 <53584318+yanfa317@users.noreply.github.com> Co-authored-by: Noam Dishon <30979046+dishonono@users.noreply.github.com> Co-authored-by: sandeepparab Co-authored-by: Sandeep Parab Co-authored-by: kryalama <66494519+kryalama@users.noreply.github.com> Co-authored-by: David Watrous Co-authored-by: wwendyc Co-authored-by: Wendy Chang Co-authored-by: Pradeep Kintali <50682039+pradeepkintali@users.noreply.github.com> Co-authored-by: Jeff Couckuyt Co-authored-by: Robert Johnson Co-authored-by: Subbarayudu Kamma Co-authored-by: xerxestph <78384060+xerxestph@users.noreply.github.com> Co-authored-by: Po Tsang Co-authored-by: aleksbol Co-authored-by: Naveed Aziz Co-authored-by: Thomas Reis Co-authored-by: Karthik Kunjithapatham <77180268+karthikku-2020@users.noreply.github.com> Co-authored-by: Ben Viglietta Co-authored-by: Ben Viglietta Co-authored-by: Shuai Wang Co-authored-by: Tal Shoham <87926500+tshoham@users.noreply.github.com> Co-authored-by: Tamir Ben-Arie Co-authored-by: Mohit Chakraborty <8271806+Mohit-Chakraborty@users.noreply.github.com> Co-authored-by: Vu Tran <36055117+vutran01@users.noreply.github.com> Co-authored-by: bganapa Co-authored-by: Devanshu Singh <8132290+thisisdevanshu@users.noreply.github.com> Co-authored-by: Sunny Patel Co-authored-by: Sunny Patel Co-authored-by: Devanshu Singh Co-authored-by: Jim Harris <72156062+MicrosoftJim@users.noreply.github.com> Co-authored-by: Akanksha Bhattacharyya Co-authored-by: Akanksha Bhattacharyya Co-authored-by: Tony Vargas Co-authored-by: Kamil Sobol <61715331+kasobol-msft@users.noreply.github.com> Co-authored-by: giladsu <43436811+giladsu@users.noreply.github.com> Co-authored-by: Milan Brkic Co-authored-by: Tyler Lloyd Co-authored-by: Li Ma Co-authored-by: hbc Co-authored-by: Bradley Bridges Co-authored-by: damodaravadhani <91929893+damodaravadhani@users.noreply.github.com> Co-authored-by: pednekarpraj <72415888+pednekarpraj@users.noreply.github.com> Co-authored-by: Lior Abadi Co-authored-by: Lior Abadi Co-authored-by: Eli Arbel Co-authored-by: jbuls <48029054+jbuls@users.noreply.github.com> Co-authored-by: ajbrown821 <96266510+ajbrown821@users.noreply.github.com> Co-authored-by: Wenhao Zhang Co-authored-by: Qingyi Liu <34502364+smile37773@users.noreply.github.com> Co-authored-by: Xiaoyun Ding Co-authored-by: Xiaoyun Ding Co-authored-by: ninpan-ms <71061174+ninpan-ms@users.noreply.github.com> Co-authored-by: zhoufenqin Co-authored-by: komakkar <71260242+komakkar@users.noreply.github.com> --- schemas/2021-03-01/Microsoft.BotService.json | 22 +++++-------------- .../Microsoft.BotService.json | 19 +++------------- 2 files changed, 8 insertions(+), 33 deletions(-) diff --git a/schemas/2021-03-01/Microsoft.BotService.json b/schemas/2021-03-01/Microsoft.BotService.json index d0e42847df..b6aa76eb6d 100644 --- a/schemas/2021-03-01/Microsoft.BotService.json +++ b/schemas/2021-03-01/Microsoft.BotService.json @@ -407,10 +407,6 @@ "type": "string", "description": "The hint (e.g. keyVault secret resourceId) on how to fetch the app secret" }, - "cmekEncryptionStatus": { - "type": "string", - "description": "The CMK encryption status" - }, "cmekKeyVaultUrl": { "type": "string", "description": "The CMK Url" @@ -465,21 +461,11 @@ ], "description": "Whether Cmek is enabled" }, - "isDeveloperAppInsightsApiKeySet": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether the bot is developerAppInsightsApiKey set" - }, "isStreamingSupported": { "oneOf": [ { - "type": "boolean" + "type": "boolean", + "default": false }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -855,6 +841,7 @@ }, "location": { "type": "string", + "default": "global", "description": "Specifies the location of the resource." } }, @@ -1437,7 +1424,8 @@ "acceptedTerms": { "oneOf": [ { - "type": "boolean" + "type": "boolean", + "default": true }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" diff --git a/schemas/2021-05-01-preview/Microsoft.BotService.json b/schemas/2021-05-01-preview/Microsoft.BotService.json index 96f0f73f9e..5b62ba7dbc 100644 --- a/schemas/2021-05-01-preview/Microsoft.BotService.json +++ b/schemas/2021-05-01-preview/Microsoft.BotService.json @@ -449,10 +449,6 @@ "type": "string", "description": "The hint (e.g. keyVault secret resourceId) on how to fetch the app secret" }, - "cmekEncryptionStatus": { - "type": "string", - "description": "The CMK encryption status" - }, "cmekKeyVaultUrl": { "type": "string", "description": "The CMK Url" @@ -507,21 +503,11 @@ ], "description": "Whether Cmek is enabled" }, - "isDeveloperAppInsightsApiKeySet": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether the bot is developerAppInsightsApiKey set" - }, "isStreamingSupported": { "oneOf": [ { - "type": "boolean" + "type": "boolean", + "default": false }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -936,6 +922,7 @@ }, "location": { "type": "string", + "default": "global", "description": "Specifies the location of the resource." } },