Skip to content

Commit

Permalink
CodeGen from PR 17112 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Review request for Microsoft.BotService to update version stable/2021-03-01 and Preview/2021-05-01-preview (#17112)

* 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 <tianxchen@microsoft.com>

* 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 <anatgilenson@microsoft.com>

* 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 <vmanhas@microsoft.com>
Co-authored-by: Thakur Ashutosh Suman <tsuman@microsoft.com>

* [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 <jomejia@microsoft.com>

* 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 <chengll@microsoft.com>

* 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 <bzhan@microsoft.com>

* 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 <bzhan@microsoft.com>

* 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 <SINADELL@SINADELL-DEV7>

* 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 <bzhan@microsoft.com>

* 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 <SINADELL@SINADELL-DEV7>

* 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 <jomejia@microsoft.com>

* Fix merge conflicts (#24)

Co-authored-by: Jorin Mejia <jomejia@microsoft.com>

* 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 <vjanardhan@microsoft.com>

* 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 <nidhij@microsoft.com>
Co-authored-by: nija-dev <67132984+nija-dev@users.noreply.github.com>
Co-authored-by: Vaishnavi Janardhan <vjanardhan@microsoft.com>

* 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 <amelran@microsoft.com>

* 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 <ttsao@microsoft.com>

* Update to remove default value for enum RouteType (#16343)

* [Synapse] - Add x-nullable:true for folder property (#16237)

Co-authored-by: Dongwei Wang <dongwwa@microsoft.com>

* 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 <charlili@microsoft.com>

* 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 <matthchr@microsoft.com>

Co-authored-by: Matthew Christopher <matthchr@microsoft.com>

Co-authored-by: Charlie Li <39974812+chengliangli0918@users.noreply.github.com>
Co-authored-by: Charlie Li <charlili@microsoft.com>
Co-authored-by: rsamigullin <89222124+rsamigullin@users.noreply.github.com>
Co-authored-by: Matthew Christopher <matthchr@microsoft.com>

* 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 <davadhani@microsoft.com>
Co-authored-by: v-ajnava <v-ajnava@microsoft.com>

* 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 <rirajend@microsoft.com>
Co-authored-by: kai ru <69238381+kairu-ms@users.noreply.github.com>
Co-authored-by: Thomas Pham <thompham@microsoft.com>

* 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 <alextts627@gmail.com>
Co-authored-by: Daniel Rocha <daroch@microsoft.com>

* [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 <ttsao@microsoft.com>

* [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 <prigupt@microsoft.com>

* 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 <naji@microsoft.com>

* 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 <wenhaozhang@microsoft.com>
Co-authored-by: Xuyang Cao <xuycao@microsoft.com>

* 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 <bzhan@microsoft.com>

* 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 <sunkaihuisos@gmail.com>
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 <omelhari@microsoft.com>
Co-authored-by: Kareem Yousef <kayousef@microsoft.com>

* 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 <jhendrix@microsoft.com>

* [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 <taras.vozniuk@microsoft.com>

* [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 <isgu@microsoft.com>

* 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 <weihl@microsoft.com>

* 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 <isgu@microsoft.com>

Co-authored-by: Ritvika Reddy Nagula <rinagula@microsoft.com>
Co-authored-by: tejasshah7 <49326906+tejasshah7@users.noreply.github.com>
Co-authored-by: Ishani Gupta <ishani.gupta27.ig@gmail.com>
Co-authored-by: Ishani Gupta <isgu@microsoft.com>
Co-authored-by: dtuCloud <tudan0103@gmail.com>
Co-authored-by: Weiheng Li <weihengli.tj@gmail.com>
Co-authored-by: Weiheng Li <weihl@microsoft.com>
Co-authored-by: Henry Chen <henche@microsoft.com>
Co-authored-by: irrogozh <irrogozh@microsoft.com>
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 <algoldsc@microsoft.com>

* 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 <anthakur@microsoft.com>
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 <erelh@microsoft.com>

* [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 <jimmyxie@microsoft.com>

* 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 <yinglzh@microsoft.com>
Co-authored-by: caiqing <caiqing@microsoft.com>
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 <saelmaka@microsoft.com>

* 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 <daroch@microsoft.com>

* 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 <amisi@microsoft.com>
Co-authored-by: Anuj Toshniwal <antoshni@microsoft.com>
Co-authored-by: Abhijit Karanjkar <abhijitkaranjkar@gmail.com>
Co-authored-by: Praful Johari <pjohari@microsoft.com>
Co-authored-by: visunda <visunda@microsoft.com>
Co-authored-by: Vivek Sundararajan <s.vivek.rajan@gmail.com>
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 <gauravbang@microsoft.com>

* fix typo: readonly to readOnly (#16548)

Co-authored-by: Xuyang Cao <xuycao@microsoft.com>

* [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 <saelmaka@microsoft.com>

* [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 <daroch@microsoft.com>
Co-authored-by: alankashiwa <alankashiwa@gmail.com>

* Removed redundant parameters from data pla…
  • Loading branch information
Show file tree
Hide file tree
Showing 9 changed files with 103 additions and 37 deletions.
16 changes: 3 additions & 13 deletions sdk/botservice/arm-botservice/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@
# Release History

## 4.0.0-beta.3 (2022-01-14)

## 4.0.0-beta.3 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

## 4.0.0-beta.2 (2021-12-27)

The package of @azure/arm-botservice is using our next generation design principles since version 4.0.0-beta.2, which contains breaking changes.
The package of @azure/arm-botservice is using our next generation design principles since version 4.0.0-beta.3, which contains breaking changes.

To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog).

Expand Down
2 changes: 1 addition & 1 deletion sdk/botservice/arm-botservice/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2021 Microsoft
Copyright (c) 2022 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
6 changes: 3 additions & 3 deletions sdk/botservice/arm-botservice/_meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commit": "c77c6c634dc3644d65d3e35df5d73a9c34d3c956",
"commit": "6ac2833f555bb32882b23b4a7adcb6a1d637a2db",
"readme": "specification/botservice/resource-manager/readme.md",
"autorest_command": "autorest --version=3.1.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/botservice/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20211217.1",
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/botservice/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20220105.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"use": "@autorest/typescript@6.0.0-alpha.16.20211217.1"
"use": "@autorest/typescript@6.0.0-alpha.16.20220105.1"
}
16 changes: 3 additions & 13 deletions sdk/botservice/arm-botservice/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
"author": "Microsoft Corporation",
"description": "A generated SDK for AzureBotService.",
"version": "4.0.0-beta.3",
"engines": {
"node": ">=12.0.0"
},
"engines": { "node": ">=12.0.0" },
"dependencies": {
"@azure/core-lro": "^2.2.0",
"@azure/abort-controller": "^1.0.0",
Expand All @@ -16,13 +14,7 @@
"@azure/core-rest-pipeline": "^1.1.0",
"tslib": "^2.2.0"
},
"keywords": [
"node",
"azure",
"typescript",
"browser",
"isomorphic"
],
"keywords": ["node", "azure", "typescript", "browser", "isomorphic"],
"license": "MIT",
"main": "./dist/index.js",
"module": "./dist-esm/src/index.js",
Expand All @@ -49,9 +41,7 @@
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
},
"bugs": {
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
},
"bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" },
"files": [
"dist/**/*.js",
"dist/**/*.js.map",
Expand Down
7 changes: 5 additions & 2 deletions sdk/botservice/arm-botservice/review/arm-botservice.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export interface BotProperties {
[propertyName: string]: string;
};
appPasswordHint?: string;
cmekEncryptionStatus?: string;
readonly cmekEncryptionStatus?: string;
cmekKeyVaultUrl?: string;
readonly configuredChannels?: string[];
description?: string;
Expand All @@ -154,7 +154,7 @@ export interface BotProperties {
readonly endpointVersion?: string;
iconUrl?: string;
isCmekEnabled?: boolean;
isDeveloperAppInsightsApiKeySet?: boolean;
readonly isDeveloperAppInsightsApiKeySet?: boolean;
isStreamingSupported?: boolean;
luisAppIds?: string[];
luisKey?: string;
Expand Down Expand Up @@ -658,6 +658,9 @@ export interface LineRegistration {
export type ListChannelWithKeysResponse = BotChannel & {
resource?: ChannelUnion;
setting?: ChannelSettings;
provisioningState?: string;
entityTag?: string;
changedTime?: string;
};

// @public
Expand Down
2 changes: 1 addition & 1 deletion sdk/botservice/arm-botservice/src/azureBotService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export class AzureBotService extends coreClient.ServiceClient {
credential: credentials
};

const packageDetails = `azsdk-js-arm-botservice/4.0.0-beta.2`;
const packageDetails = `azsdk-js-arm-botservice/4.0.0-beta.3`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand Down
20 changes: 16 additions & 4 deletions sdk/botservice/arm-botservice/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,20 @@ export interface BotProperties {
isCmekEnabled?: boolean;
/** The CMK Url */
cmekKeyVaultUrl?: string;
/** The CMK encryption status */
cmekEncryptionStatus?: string;
/**
* The CMK encryption status
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly cmekEncryptionStatus?: string;
/** Whether the bot is in an isolated network */
publicNetworkAccess?: PublicNetworkAccess;
/** Whether the bot is streaming supported */
isStreamingSupported?: boolean;
/** Whether the bot is developerAppInsightsApiKey set */
isDeveloperAppInsightsApiKeySet?: boolean;
/**
* Whether the bot is developerAppInsightsApiKey set
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly isDeveloperAppInsightsApiKeySet?: boolean;
/**
* Token used to migrate non Azure bot to azure subscription
* NOTE: This property will not be serialized. It can only be populated by the server.
Expand Down Expand Up @@ -1009,6 +1015,12 @@ export type ListChannelWithKeysResponse = BotChannel & {
resource?: ChannelUnion;
/** Channel settings */
setting?: ChannelSettings;
/** Provisioning state of the resource */
provisioningState?: string;
/** Entity tag of the resource */
entityTag?: string;
/** Changed time of the resource */
changedTime?: string;
};

/** Known values of {@link MsaAppType} that the service accepts. */
Expand Down
23 changes: 23 additions & 0 deletions sdk/botservice/arm-botservice/src/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ export const BotProperties: coreClient.CompositeMapper = {
},
cmekEncryptionStatus: {
serializedName: "cmekEncryptionStatus",
readOnly: true,
type: {
name: "String"
}
Expand All @@ -176,13 +177,15 @@ export const BotProperties: coreClient.CompositeMapper = {
}
},
isStreamingSupported: {
defaultValue: false,
serializedName: "isStreamingSupported",
type: {
name: "Boolean"
}
},
isDeveloperAppInsightsApiKeySet: {
serializedName: "isDeveloperAppInsightsApiKeySet",
readOnly: true,
type: {
name: "Boolean"
}
Expand Down Expand Up @@ -511,6 +514,7 @@ export const Channel: coreClient.CompositeMapper = {
},
etag: {
serializedName: "etag",
nullable: true,
type: {
name: "String"
}
Expand All @@ -523,6 +527,7 @@ export const Channel: coreClient.CompositeMapper = {
}
},
location: {
defaultValue: "global",
serializedName: "location",
type: {
name: "String"
Expand Down Expand Up @@ -2424,6 +2429,24 @@ export const ListChannelWithKeysResponse: coreClient.CompositeMapper = {
name: "Composite",
className: "ChannelSettings"
}
},
provisioningState: {
serializedName: "provisioningState",
type: {
name: "String"
}
},
entityTag: {
serializedName: "entityTag",
type: {
name: "String"
}
},
changedTime: {
serializedName: "changedTime",
type: {
name: "String"
}
}
}
}
Expand Down
48 changes: 48 additions & 0 deletions sdk/botservice/arm-botservice/test/sampleTest.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/

import {
env,
record,
RecorderEnvironmentSetup,
Recorder
} from "@azure-tools/test-recorder";
import * as assert from "assert";

const recorderEnvSetup: RecorderEnvironmentSetup = {
replaceableVariables: {
AZURE_CLIENT_ID: "azure_client_id",
AZURE_CLIENT_SECRET: "azure_client_secret",
AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888",
SUBSCRIPTION_ID: "azure_subscription_id"
},
customizationsOnRecordings: [
(recording: any): any =>
recording.replace(
/"access_token":"[^"]*"/g,
`"access_token":"access_token"`
)
],
queryParametersToSkip: []
};

describe("My test", () => {
let recorder: Recorder;

beforeEach(async function() {
recorder = record(this, recorderEnvSetup);
});

afterEach(async function() {
await recorder.stop();
});

it("sample test", async function() {
console.log("Hi, I'm a test!");
});
});

0 comments on commit 8b55646

Please sign in to comment.