Skip to content

Commit

Permalink
CodeGen from PR 17183 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
CDS component type update - mismatch between swagger and code values  (#17183)

* [Hub Generated] Review request for Microsoft.CostManagement to add version preview/2020-12-01-preview (#13609)

* Latest

* Latest

* Latest

* Latest

* Latest

* Latest

* Latest

* Latest

* Latest

* Latest

* Latest

* FixS360 | Microsoft.Billing (#13771)

* fixing billing accounts and operations

* adding total count.

* typo fix

* fixing spell check and prettier

* Vakuncha changingcsharpreadme (#13806)

* Update readme.csharp.md

* Update readme.csharp.md

* [aks] fix vm size model and osDiskType description  (#13763)

* fix: agent pool vm size should be string, not enum

* fix: osDiskType default description for >= 2020-11-01

* [Hub Generated] Review request for Microsoft.DocumentDB to add version preview/2021-03-01-preview (#13267)

* init

* fix format

* sync

* read only

* fix sample

* fix

Co-authored-by: Teng Pan <tepa@microsoft.com>

* storagesync readme t2 config (#13810)

* storagesync readme t2 config

* storagesync readme.python t2 config

* Updated SAS swagger with latest changes. (#13439)

* Fixed hostname in the Offazure swaggers.

* added newest swagger from service repo. This contains PE changes too.

* rewritten swagger changes on existing swagger

* some fixes to swagger

* added examples.

* fixes

* edit

* edit.

* fixes

* minor fix

* edit

* edit

* edited default api version tag

* Dev weather microsoft.maps 1.0 (#13796)

* Remove preview from Weather API, remove X-Publish, and convert X-ms-enum ModelAsString to true

* Revert changes to package-lock.json

* Fix spelling error

* Adding Azure Object Anchors error codes for IngestionProperties (#13787)

* Added Azure Object Anchors error code field to IngestionProperties

* Fixed spacing in example

* Moved changes to new version

* Addressed version mismatch, spacing

* Fixed versions on examples

* Readonly error code

* Seeing if readonly error code is breaking

* Revert "Seeing if readonly error code is breaking"

This reverts commit c0b16f07c4a46a07fc7831a1735bb290804242ea.

* Model error code as string

* Renamed examples to asset conversion nomenclature

* Fixed rename issues

* Fixed issue #9593 (#13262)

* Fixed issue #9593

* Removed redundant PrivateEndpointConnectionProperties attribute

* [Hub Generated] Review request for Microsoft.Consumption to add version stable/2019-05-01 (#13800)

* Fixed Swagger Validation Errors

* Fixed Model Validation

* [Hub Generated] Review request for Microsoft.CostManagement to add version stable/2019-11-01 (#13788)

* Fixed Swagger Validation Errors

* Fixed Type

* Fixed Type

* Fixed Setting Properties

* Fixed Punctuation

* Removed Item

* Added Items Properties

* Fixed Required Property

* azurestack wave4 t2 config (#13813)

* Added Microsoft.AppConfiguration 2021-03-01-preview API version. (#13490)

* Added Microsoft.AppConfiguration 2021-03-01-preview API version.

* Add system metadata to tracked resources in "Microsoft.AppConfiguration".
Updated ConfigurationStore to reference the common tracked resource type definition.

* Added disableLocalAuth property.

* Add new api version swagger to readme.

* Added/updated examples and added suppressions for standardized APIs.

* Fixed prettier.

* Add missing property fileStorageSkuName into MySQL Flexible Server spec (#13693)

* appplatform t2 readme config (#13829)

* customproviders t2 readme config (#13831)

* Update readme.csharp.md (#13807)

* [Sentine][Data connectors][Fix correctness bug] (#13175)

* update required fields

* update required fields

* Explicitly define KeyCreationTime in Feb21 (#13757)

* Explicitly define KeyCreationTime

Explicitly define KeyCreationTime

* Fix KeyCreationTime Example

Fix KeyCreationTime Example

* Add Microsoft.M365SecurityAndCompliance RP (#13646)

* Add Microsoft.M365SecurityAndCompliance RP

* fix datetime and common-types file path

* update common-types file path

* add preview path in readmego

* replace stable with preview

* remove duplicate tags

* refer MIPPolicySync json in readme

* service name for java (#13837)

* Dev keyvault microsoft.key vault 2021 04 01 preview (#13585)

* Adds base for updating Microsoft.KeyVault from version preview/2020-04-01-preview to version 2021-04-01-preview

* Updates readme

* Updates API version in new specs and examples

* Open API change for Managed Hsm private endpoints feature (#12938)

* Open API change for Managed Hsm private endpoints feature

* Fixing spell check errors

* Fixing spell check errors

* Prettier fixes

* Fixing swagger validation errors

* Fixing systemData property reference

* Adding publicNetworkAccess property based on private endpoint requirement.

* GET responses following a successful DELETE should be returning 404. … (#13054)

* GET responses following a successful DELETE should be returning 404. Only the DELETE response is to return 204 if the resource didn't exist (it allows idempotent deletes).

(cherry picked from commit b752a19c6cc1f8a8eed9f106e2c77b8d5b5db19f)

* Removing 404 as it is taken care by default response.

* Added new routes for Deleted ManagedHsm for Soft Delete Feature (#13282)

* Added new routes for Deleted ManagedHsm and examples, updated ManagedHsm definition to include PurgeDateTimeUTC

* Fixing validation issues.

* Fixing errors in properties in example jsons

* Delete keyvault.json

Deleted an errant json file

* Fixed misspelling of property in examples

* Fixed x-ms-examples naming, fixed camelcasing

* Addressing comments in PR to make 204s 404s and also changing PurgeDateTimeUTC to scheduledPurgeDate

* Added schema definitions for 404

* Removed 200 for purge

Co-authored-by: Soohwan Kim <sookim@microsoft.com>

* Addressing Comments for PR 13585 (#13586)

* Removed 404s to allow requests to fall through to default

* Removing 404s from examples

Co-authored-by: Soohwan Kim <sookim@microsoft.com>

* Added deletedmanagedhsm object to examples and managedhsm.json (#13591)

* Added deletedmanagedhsm object to examples and managedhsm.json

* Fixing error in references to correct values

* Changed vaultId to mhsmId in exmaples

Co-authored-by: Soohwan Kim <sookim@microsoft.com>

* Try to use the common type for SystemData (#13723)

* Add SystemData property for KeyVault

* 04012021 fix schema (#13749)

* Resolving conflict with custom-words.txt

* Add 2021 preview to azureresourcechema, add suppression to readme

* Add 2021 preview to azureresourcechema

* Merging custom-words.txt

Co-authored-by: Soohwan Kim <sookim@microsoft.com>

* Add missing default error response (#13762)

* Fix Lint error (#13765)

* Add missing default error response

* Update the integer format to fix Lint error

* Add securityDefinitions

* Added python tag for 2021 preview (#13805)

Co-authored-by: Soohwan Kim <sookim@microsoft.com>

* Fixing linting errors for MHSM R4036 - ImplementPrivateEndpointAPIs (#13822)

* Fixing linting errors for MHSM R4036 - ImplementPrivateEndpointAPIs

(cherry picked from commit c1c5aebfb98cacd0a4ee5596fb7b0d9f782a9a3e)

* prettier fix

* Add suppression for SystemData (#13835)

* Add suppression for SystemData

* Fix linting error R4036 - ImplementPrivateEndpointAPIs

* specify the suppression for SystemData

* Revert "specify the suppression for SystemData"

This reverts commit cbebab81ab08ec1a29b41c891c58cf08ff2eb3c4.

Co-authored-by: jiacheng-L <71623842+jiacheng-L@users.noreply.github.com>
Co-authored-by: kim-soohwan <40476315+kim-soohwan@users.noreply.github.com>
Co-authored-by: Soohwan Kim <sookim@microsoft.com>
Co-authored-by: Arthur Ning <57385816+akning-ms@users.noreply.github.com>

* hybridnetwork only track2 configure (#13832)

* hybridnetwork only track2 configure

* remodify

* namespace del

Co-authored-by: Yan Zhang (WICRESOFT NORTH AMERICA LTD) <v-yanzhang@microsoft.com>

* terraform readme for alertsmanagement (#13744)

Co-authored-by: Your Name <you@example.com>

* add tags back in the adp readme (#13850)

* Add device principal type (#13799)

* copy files from previous version

* add device principal type, update versions

* fix

* system data requirement

* Added CheckNameAvailability, Identity, systemData, used ErrorResponse v2 in DeviceUpdate (#13750)

* Update deviceupdate.json

* Update deviceupdate.json

* Add files via upload

* Update deviceupdate.json

* Update deviceupdate.json

* Update Accounts_Update.json

* Update Accounts_Create.json

* Update Instances_Create.json

* Update deviceupdate.json

* Linux line ending

* Update CheckNameAvailability_AlreadyExists.json

* Update CheckNameAvailability_Available.json

* Update CheckNameAvailability_AlreadyExists.json

* Update CheckNameAvailability_Available.json

* Update CheckNameAvailability_AlreadyExists.json

* Update CheckNameAvailability_Available.json

* Update deviceupdate.json

* Update deviceupdate.json

* fixed typo in the example files (#13764)

* Update CODEOWNERS (#13795)

Updating list of Azure Cognitive Search team members

* Update GenerateDetailedCostReportBySubscriptionAndTimePeriod.json (#13772)

Update example data

* [Hub Generated] Public private branch 'stuartko/Mar21_NewTSVersion' (#13811)

* Adding version 2021-03-01-preview (copy of previous version)

* Adding new metadata property

* Adding uiDefinition property.

* Update uiDefinition name to uiFormDefinition (per a change by the service feature author). No change to functionality.

* Template Specs: Renaming template to "mainTemplate" and changing "artifacts" to be more specific "linkedTemplates".

* Swagger changes for 2021-02-01-preview api version (#13794)

* Copy existing preview version

* Changes to databoxedge json file

* Update readme files

* Correct Spell Check

* Fix Readme.go error

* Update examples

* Update all schemas.md files (#13862)

* typo: implmentation -> implementation (#13644)

* Add MongoDB/MongoDBAtlas sink (#13669)

* Add MongoDB/MongoDBAtlas sink, add disableMetricsCollection in read/wirte properties

* Revert disableMetricsCollection related changes

* Azure ML new API version 20210401 (#12981)

* Add Identity to createWorkpace example

* change for getTransitivePEUsages

* update

* prettier code

* add another new endpoint

* address comments

* change for getTransitivePEUsages

* update

* prettier code

* add another new endpoint

* address comments

* revert change on transitivePE and notebookKeys

* revert change on transitivePE and notebookKeys

* add new stable version 2021-01-01

* add ListNotebookAccessToken

* add primaryUserAssignedIdentity

* fix missing properties and apis

* fix one more missing property

* 202 status for start and stop CI

* make resync keys long runnin operation in version Jan2021

* resync keys 204

* update resync keys example

* Dont throw 204 for resync

* update resync keys

* Formatting

* revert Jan2021changes and add new version

* start apr2021 version for azure ml rp

* undo remove new line in jan2021

* use systemData definition in common

* removed old files

* fix small swagger bugs

* run prettier

* remove reference to sku

* update readme

* minimum agentCount should be 0

* add createdOn and ModifiedOn to compute properties

* add LoadBalancerType to aks compute

* add isNotebookInstanceCompute to virtualMachine

* add leafDomainLabel to SslConfiguration

* add overwriteExistingDomain to SslConfiguration

* add synapseSpark as supported compute-type

* update patch compute response to 202

* remove location from example responses

* Revert "remove location from example responses"

This reverts commit 048bf2551513afae842a9c4fbb5861aeddc6c33a.

* MachineLearningCompute_Update should have a 200 response

* sys data to use local def due to naming conflicts.

* Fix enum casing

* Fix operationId PR comment.

* Change opId in apr version

* remove 20210401 for easy review

* only change api version

* merge changes for 20210401 version

* Add x-ms-discriminator-value for Synapse spark

* camelcase loadbalancer properties

* add createdOn and Modified on to examples

* address AvoidAnonymousTypes error for SynapseSpark

* Minor fixes + new property

* Remove subscription state.

Co-authored-by: zhaomuzhi <zhaoweixiong521@gmail.com>
Co-authored-by: Vinay Rajmal Soni <vison@microsoft.com>
Co-authored-by: jopet@microsoft.com <jopet@microsoft.com>
Co-authored-by: Josh Peterson <15050193+joshanator@users.noreply.github.com>

* datashare readme t2 config (#13833)

* add readme terraform (#13717)

* adding a new API version for Restore API and adding targetVirtualMachineId field for AzureWorkloadRestoreRequest (#13638)

* copying previous change

* Adding targetVirtualMachineId field for Azure Workload Restore requests

* updating crr version and examples

* removing new api-version

* adding back the new api-version

* removing Snapshot related fields

* updating readme.md

* corrected the path

Co-authored-by: Chandrika Gonuguntla <chgonugu@microsoft.com>

* chore: resort custom-words.txt from bad merge (#13868)

* [ApplicationInsights] Fix failure for python SDK (#13875)

* [Hub Generated] Review request for Microsoft.Insights to add version preview/2020-10-05-preview (#13712)

* Adjustments to API to include validation grouping and updated text.

* Fixed missing curly brace

* adjusted name

* Added basic and standard examples

* adjusted type.

* corrected case for key value

* [Hub Generated] Review request for Microsoft.Insights to add version preview/2021-03-03-preview (#13269)

* Adds base for updating Microsoft.Insights from version preview/2020-10-05-preview to version 2021-03-03-preview

* Updates readme

* Updates API version in new specs and examples

* Add DiagnosticServiceToken API

* Update examples to split tokens for readonly vs readwrite

* Fix accoding to code review feedback

* Update examples due to review feedback from ARM

* add configuration for vmware (#13879)

Co-authored-by: Your Name <you@example.com>

* keyvault t2 config (#13863)

* keyvault t2 config

* keyvault multi-api config

* multi api config

* config reset

* add package version

* hanaonazure t2 readme config (#13880)

* Remove x-ms-azure-resource (#13500)

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

* Juniwang/sr202010401preview (#13664)

* prepare to add new api-version: copy everything from 2020-07-01-preview

* Adding new api-version

* Fix required body and annotate ms secrets

* remove secrets example from swagger

* fix prettier

* add datashare terraform configuration (#13876)

Co-authored-by: Your Name <you@example.com>

* storage readme t2 config (#13881)

* storage readme t2 config

* storage t2 config

* healthcareapis t2 config (#13884)

* typo: APIkeys -> APIKeys (#13641)

* Allow release_policy to be nullable (#13826)

* Fix type of Anserws and Captions (#13872)

* change the value of license header (#13886)

* [Synapse] - library_append API adds comp parameter (#13841)

* [Synapse] - add comp parameter

* Update example files

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

* Remove 200 response from async operation (#13190)

* Async operation always returns 202 on initial call

* Address review feedback

* Revert "Address review feedback"

This reverts commit 9ae550b95c1082c8383595a943a9abe5990fd4ef.

* add minimal tls version for mariadb (#11779)

* [Synapse] - add Swagger code owner (#13882)

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

* add con figuration for databoxedge (#13877)

Co-authored-by: Your Name <you@example.com>

* add configuration for resourcemover (#13878)

Co-authored-by: Your Name <you@example.com>

* Reduce code owner scope for Monitor.Exporters team (#13898)

* [portal]Update readme.python.md (#13907)

* Update readme.python.md

* Update readme.md

* Update readme.python.md

* Update readme.python.md

* Dev dfp microsoft.dfp 2021 02 01 privatepreview (#13305)

* New Readme Config File

* New Go Language Readme Config File

* New Azure AZ Readme Config File

* New Azure CLI Readme Config File

* New Typescript Language Readme Config File

* New Python Language Readme Config File

* New C# Language Readme Config File

* New AzureResourceSchema Readme Config File

* New Swagger Spec File

* New Swagger Example Spec File

* DFP API specs. Copied from Azure-PPE

* Spelling fix. instnace => instance

* Fix resource provider name to pascal case

* Added '/providers/Microsoft.Dfp/operations'

* Added SystemData (fix R4009 error)

* Fix validation errors

* Prettier fixes

* Removed non-existend parameter sku

* Style fixes in DFP API specs

* Swagger ModelValidation failures fix

* Fix operations API

* Fix operations API validation failure

* 1. Added example for lists operations. 2. made the API preview instead of privatepreview

* Fix path in readme's

* Fix in readme

* Added readonly attribute to systemdata

* Added readonly attribute to systemdata

* Fix in python SDK readme

* Fixes in ListOperations.json examples

* Fixed API version

* Added type to response bodies

* Fix typos in examples (urls)

* Added 201 response into createInstance example

* Renamed RP name from Microsoft.Dfp to Microsoft.Dynamics365Fraudprotection

* Added long-running result for creation instance

* Added nextlink

* Fix in checkNameAvailability definition URL

* Next link parameter

* Using references to common types instead of re-declaring them

* Reused common type. Fixed provisioning state

* Nesting error fix

* Fixed examples

* Fix

* Fix in error response definition

* Rename RP. Fix examples in readme's

* Added http 202

* Added http 202 to examples

* [Hub Generated] Review request for Microsoft.InstanceMetadataService to add version stable/2020-10-01 (#13818)

* Adds base for updating Microsoft.InstanceMetadataService from version stable/2020-09-01 to version 2020-10-01

* Updates readme

* Updates API version in new specs and examples

* Adding new fields for 2020-10-01

* Updating wording for disablePasswordAuthentication'

Co-authored-by: jmccarthy <jmccarthy@microsoft.com>

* Remove name check from client side (#13492)

* remove name validation from client side

* remove name check from deploymentScripts swagger

* remove name check from previous swagger versions

* remove pattern from resourcegroupname parameter

* Update deviceupdate.json (#13900)

* [Hub Generated] Review request for Microsoft.ResourceHealth to add version stable/2018-07-01 (#13817)

* Updated api-version

* Removed systemData

* Updated api-version

* Updated the example

* Add EligibleChildResources resource for PIM + update examples (#13803)

* PIM API Specs

* update readme

* Update

* Update readme

* operation id fix

* name fix

* Name changes

* fix

* Fix

* Changes based on docs generated

* Scope fix in example

* Updates for documentation

* Change operation name

* Update examples

* Add expanded properties

* Fix formatting

* Fixes

* Fix

* fixes

* Update the policy specs

* Fix the policy objects and pell checks

* fix the checks

* fix the property

* fix syntax

* Prettier

* Update Examples

* Update Enums

* ADd eligible child resource API specs

* prettier fix

* Update read me files

* update

* update

* fix

* update

* Update Enums

* update

* update

* update

* update example

Co-authored-by: Aman Swaika <amansw@microsoft.com>
Co-authored-by: Gaurav Mishra (IDENTITY) <gamish@microsoft.com>

* refine readme.go.md (#13906)

Co-authored-by: Your Name <you@example.com>

* [Service Fabric Managed Clusters] adding api version 2020-05-01 (#13860)

* initial commit 2021-05-01 to compare with previous version 2021-01-01-preview

* update models

* update examples

* fix isStateless description

* add 2021-05-01 version to readme

* add x-ms-enum to diskType and add missing managedClsuterVersions paths

fix example names

add managed cluster version paths

add default error

* fix clusterversion by version and ClusterState descriptions

Co-authored-by: Alfredo Santamaria Gomez <alsantam@microsoft.com>

* Task 9639284: Swagger changes for new UK agreement templates (#13895)

* Task 9639284: Swagger changes for new UK agreement templates

* Renamed as per comments.

Co-authored-by: Umang Shah <umangshah@microsoft.com>

* Confluent new preview version + S360 fix (#13809)

* Adding new API version for Microsoft.Confluent

* Prettier fix

* updated status property in OfferDetail

updated status property in OfferDetail to fix swagger correctness issue

* fix swagger live validation

updated operations response to fix swagger live validation

Co-authored-by: Srinivas <alluri02@users.noreply.github.com>

* [Hub Generated] Public private branch 'juniwang/wps' (#13905)

* Onboarding Azure WebPubSub service

* reference ErrorResponse from common types and adding network ACL

* disable cors, enable feature flags and fix several policy violations

* remove anonymousConnectPolicy since it's not ready for now

* add property publicNetworkAccess per NRP requirement

* revert package-lock.json

* reset package-lock.json

* dns t2 readme config (#13923)

* update readme (#13918)

* add current readmes for generating python form recognizer (#12013)

* add current readmes for python form recognizer

* fix release tag

* updates for multiapi and preview.3

* fix so that gen code outputs in generated folder

* remove tag since swagger not in yet

* unbreak build

* just target preview 3

* don't run track 1 gen with python

* Set x-ms-api-version to false for vaults list (#13924)

* Set x-ms-api-version to false for vaults list (#13925)

* Update event description to include the event name (#13867)

* Update event description to include the event name

* Update readme to include guidelines for defining a new event

* Fix description

* Renamed enum values for SDK auto generation (#13938)

* Renamed enum values for SDK auto generation

* Tabs to spaces

* Newline added

* [Document Translator] update operation names (#13915)

* update operation names

* make body required

* Update ErrorName

* Apply changes to stable

* Fix samples

* fix sample

* Fix glossary sample

* Address comments and update definitions names

* Revert "Task 9639284: Swagger changes for new UK agreement templates (#13895)" (#13946)

This reverts commit ea5bc27ee9cadeb67767d774c82095be2420bcad.

* Adding new preview API for promotions (#11599)

* Adding new preview API for promotions

* Avacado fix

* Fixing JSON

* fixing the promo param

* fixning linting issues

* Fixing JSON

* fixing JSON

* fixing linting issues

* Adding delete 204a

* Adding delete 204

* Adding validation fixes

* fixing spellings

* Linting issues

* running prettier

* ARM review feedback

* Fixing linting issues

* Fixing prettier

* Fixing version

* Fixing SDK

* fixing go sdk

* revert go.md

Co-authored-by: Rishi Kapoor <rishik@microsoft.com>

* Exposing undocumented Databricks workspace properties for fixing S360 issues (#13683)

* exposing storage account name, sku

* Prettier fixes

* Fixing the review comment

* Adding No Public IP related properties

* Updating the remaining properties related to S360

* Fixing review comments

* Fixing Spell Check issue

* hybridcompute readme t2 config (#13910)

* readme t2 config

* hybridcompute t2 readme config

* web readme t2 config (#13909)

* web readme t2 config

* web readme.python t2 config

* Add x-ms-api-version (#13834)

* Update CheckNameAvailability_Available.json (#13914)

* webpubsub t2 config (#13949)

* Update StaticSite.json (#13768)

* Update StaticSite.json

Add private endpoint connections to static site object.

* Update StaticSites.json

* Update StaticSites.json

* Update StaticSites.json

* Update StaticSites.json

* increment readme version

* address PR comments

* add examples

* fix examples

* Add data-plane samples creation template (#13528)

* Add data-plane samples

* Simplified template

* webpubsub readme t1 del (#13953)

* Add $(multiapi) to QnA Maker's readme.md (#13819)

Generators were processing every tag when only a single one was desired. This is the common solution to support multi-api SDKs.

* IoT data-plane for drwill-ms (#13964)

* add missing usage.json to v5 sdk tag (#13960)

* [Hub Generated] Review request for Microsoft.Kusto to add version stable/2021-01-01 (#13306)

* Add new api version 2021

* remove managedIdentity since we won't support it in this version

* CR comments

* Add default value for contine on errros

* Fix swagger correctness issues

* Fix typo

* resource t2 readme config (#13974)

* Added new API and API version for private DNS zone suffix (#13789)

* Added new API and API version for private DNS zone suffix

* trigger validation pipelines

* Add new API to readme

* Fix ARM pipelines

* Try fix again

* Fix again

* Add Operations API

* Revert "Add Operations API"

This reverts commit 9d4ca9e557763feb3a6089ff9d4c958b3843730e.

* Revert "Revert "Add Operations API""

This reverts commit 7cf197c1d453764f0396713a2ab172a20e35b1c4.

* Revert "Revert "Revert "Add Operations API"""

This reverts commit 05744390e440984da8134b64a979a6e61fb9b7ae.

* Revert "Revert "Revert "Revert "Add Operations API""""

This reverts commit 61b76b1623d9e5796bb8187edf0fc46351e78231.

* Revert "Revert "Revert "Revert "Revert "Add Operations API"""""

This reverts commit 9f55eb4c399eb48a8578906f6bea43b10c91b8be.

* Address review comment from ARM

* Revert "Address review comment from ARM"

This reverts commit cb6d1b01860de72eec80856f64b602c72a1f26a7.

* Revert "Revert "Address review comment from ARM""

This reverts commit 227cf73797ee24a674d76e3ccd2990b84bc8d11a.

* Revert "Revert "Revert "Revert "Revert "Revert "Add Operations API""""""

This reverts commit 34ae6c70a514e0290ffb41f7ddb5bbbd5c6cbee3.

* Revert "Revert "Revert "Revert "Revert "Revert "Revert "Add Operations API"""""""

This reverts commit a11c889a65b0fa4257b03a247d75fbea769f4e2c.

* Add previous APIs to tag

* Retrigger build

* fix service name for Java (#13979)

* Add optional param - private DNS zone to server API (#13716)

* Add optional param - private DNS zone to server API

* Follow comment to resolve go sdk issue.

* [Hub Generated] Review request for Microsoft.Synapse to add version preview/2021-04-01-preview (#13874)

* Adds base for updating Microsoft.Synapse from version stable/2021-03-01 to version 2021-04-01-preview

* Updates readme

* Updates API version in new specs and examples

* add changed files for kustoPool

* Ravi changes to fix LinDiff validation

* Add Itay Sofer's changes

* filizt comments mid-way

* Remove clouderror and resplace with "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"

* Add IotHubDataConnection and EventGridDataConnection

* Modify PUT to OK, CREATED, ACCEPTED

* Change from provisioningState to ResourceProvisioningState

* Add BlobStorageEventType

* Remove 202 when creating a KustoPool

* Change PUT/PATCH 202 responses

* Remove 202 in PATCH/PUT operations where having both 200 & 201

* Add "isIdentityCertExprired" to custom-words.txt

* Remove isIdentityCertExprired from custom-words.txt

* Add Exprired to cSpell.json

Co-authored-by: Amit Elran <amelran@microsoft.com>

* Removing x-ms-flatten property (#13929)

* manual changes for swagger

* changes for long-running operations

* changes for validate for backup and restore

* removing 204 from operationResults

* changes for a monitoring

* adding format

* removing date-time from duration

* changing to readonly

* changes for listRPs

* fixes swagger

* reverting readonly for scheduleTimes

* fixes for checkgates

* prettier fixes

* cahnges for friendlyname checks

* fixing gates

* removing tracking-via

* model validation fixes

* powershell changes

* adding stable version

* changes for PatchResourceRequestInput

* change for req fields

* changes for description

* changes

* Updated swagger json for item level restore target info objects

* Fixed spelling errors

* Added missing required properties

* removed auth credentials property

* prettier fixes

* Prettier fix

* pr comments fixes

* fixing readme

* changes for go readme

* Removed x-ms-flatten property (#2)

* removed flatten prop

* removing x-ms-flatten

* removing friendlyName from req prop

Co-authored-by: Mayank Aggarwal <mayaggar@microsoft.com>

Co-authored-by: Mayank Aggarwal <mayaggar@microsoft.com>
Co-authored-by: FAREAST\zakinkh <zakinkh@microsoft.com>

* confidentialledger readme t2 config (#13981)

* Additional 7.3-preview parameter name clean up (#13913)

* Enable multivariate anomaly detection (#13973)

* add multivarite

* add v1.1-preview

* reformat changepoint example

* change typo in readme

* fix prettier-check error

* add export model example

* fix prettier error

* [Azure Search] Add Knowledge Store feature to swagger (#13911)

* introduce knowledge store swagger

* add knowledge store to 2020 apis

Co-authored-by: Austin Drefke <jdrefke@microsoft.com>

* make skillset count optional, and add it to 2020 GA Swagger (#13990)

Co-authored-by: Austin Drefke <jdrefke@microsoft.com>

* Adding support for message properties in ACS Chat (#13939)

* Initial commit (copying over stable API version)

* Making changes to support message metadata

* Added 201 response code for patch operation (#13956)

Co-authored-by: Akash Keshari <akkeshar@microsoft.com>

* Adding autoMitigate flag with false as default value (#13109)

* deploymentmanager - clean up duplicate parameters outside of method (#13948)

* clean up duplicate parameters outside of method

* maintain python order

* fix typo in Synapse (#13994)

* OperationalInsights - update readme files for cli extension update (#13999)

* added3 new properties to TableProperties:
IsTroubleshootingAllowed, IsTroubleshootingEnabled, IsTroubleshootingEnabledLastActivation.

* added Tables new api version

* changed bool to boolean types

* prettified jsons

* fix erroes in swagger

* undo changes to 2020-03-01-preview version

* pr fixes

* updated TableUpdate example

* changed lastTroubleshootDate from date format to string, removed isTroubleshootingAllowed from body of example

* changed v1 to v2

* changed WorkspaceNameParameter back to V1

* changed ErrorResponse to default ErrorResponse without ref to local definition

* added systemData

* removed systemData

* added systemData to Patch and Get

* moved systemData to Table properties

* deleted systemData from Table.json, added to Get and Put examles

* changed location of systemData in Tables.json

* moved systemData to inside Table definition

* moved systemData inside Table properties

* removed SystemData

* creatted a new package containing all latest swagger files for publishing new SDK

* removed package 2021_02 and set default packate to 2020_10

* removed 2 packages

* removed DataCollectorLogs.json from readme.md 20202.10

* added empty line to try invoke pipeline validations that havent run

* Delete Tables.json

* added3 new properties to TableProperties:
IsTroubleshootingAllowed, IsTroubleshootingEnabled, IsTroubleshootingEnabledLastActivation.

* merge

* prettified jsons

* undo changes to 2020-03-01-preview version

* updated TableUpdate example

* changed lastTroubleshootDate from date format to string, removed isTroubleshootingAllowed from body of example

* changed v1 to v2

* changed WorkspaceNameParameter back to V1

* added systemData

* removed systemData

* added systemData to Patch and Get

* moved systemData to Table properties

* deleted systemData from Table.json, added to Get and Put examles

* changed location of systemData in Tables.json

* moved systemData to inside Table definition

* moved systemData inside Table properties

* removed whitespaces

* changed DataExportErrorResponse to common
.../v2/types.json#/definitions/ErrorResponse

* changed all Error response of 2020-08 to common definition

* added readme.az.md file for cli extension code generator

* added readme.ad.md with the same naming convention as in readme.python.md
added readme.cli.md file
updatted readme.md file with the new azure-cli-extensions tag
all updates were done by following: https://github.com/Azure/autorest.az/blob/9ed1aabd353385f8bdffbfa9f3892478111a029c/doc/how-to-author-readme-file.md

* Update specification/operationalinsights/resource-manager/readme.az.md

Co-authored-by: Qiaoqiao Zhang <55688292+qiaozha@users.noreply.github.com>

* Update specification/operationalinsights/resource-manager/readme.az.md

Co-authored-by: Qiaoqiao Zhang <55688292+qiaozha@users.noreply.github.com>

* Update specification/operationalinsights/resource-manager/readme.az.md

Co-authored-by: Qiaoqiao Zhang <55688292+qiaozha@users.noreply.github.com>

* Update specification/operationalinsights/resource-manager/readme.az.md

Co-authored-by: Qiaoqiao Zhang <55688292+qiaozha@users.noreply.github.com>

* Update specification/operationalinsights/resource-manager/readme.az.md

Co-authored-by: Qiaoqiao Zhang <55688292+qiaozha@users.noreply.github.com>

* Update specification/operationalinsights/resource-manager/readme.az.md

Co-authored-by: Qiaoqiao Zhang <55688292+qiaozha@users.noreply.github.com>

* Update specification/operationalinsights/resource-manager/readme.az.md

Co-authored-by: Qiaoqiao Zhang <55688292+qiaozha@users.noreply.github.com>

* Update specification/operationalinsights/resource-manager/readme.az.md

Co-authored-by: Qiaoqiao Zhang <55688292+qiaozha@users.noreply.github.com>

* added azure-powershell to readme.md

Co-authored-by: Qiaoqiao Zhang <55688292+qiaozha@users.noreply.github.com>

* [Cognitive Services Metrics Advisor] add missing required for allOf entities (#13957)

* add missing required for allOf entities

* fix incorrect required properties

* 7.2-Preview to GA (#13919)

* 7.2-Preview to GA

* Update packages to point to stable

* Readd exportable and update description

* Update description for exportable in preview versions

* Fix operation results contract for Tenant Git operations (#13903)

* fix operation results contract

* fix sync state contract

* iothub t2 readme config (#13980)

* iothub t2 readme config

* iothub readme t2 config

* iothub t2 readme config

* Making Offer details and User Details required properties (#13985)

* Making Offer details and User Details required properties and removing abandoned tag

* fix python configuration

* Update readme.python.md

Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>

* cosmosdb t1 config del (#14008)

* Fixing issue with missing filter documentation in Access Review APIs (#13892)

* fix cred issue. block to merge in DSMainDev (#14014)

* fix serivce name for java (#14007)

* maintenance readme t2 config (#13982)

* maintenance readme t2 config

* readme t1 config

* [Service Fabric Managed Clusters] fix api 2020_05_01 (#13961)

* Use enums  and add missing properties

* model enum as string

Co-authored-by: Alfredo Santamaria Gomez <alsantam@microsoft.com>

* [Hub Generated] Review request for Microsoft.BotService to add version stable/2021-03-01 (#13784)

* add isIsolated and channelSchemaTransformationVersion

* rename

* add v2 priavatelinks (#14026)

* copied from v1/privatelinks.json

* bump version

Co-authored-by: jianyexi <jianyxi@microsoft.com>

* APIM: improve developer portal operations docs (#13941)

* APIM: improve the documentation for dev portal operations

* Minor changes

* Removing OData parameters from the stable API version

* Remove new query params

* hotfix on extended location hierarchy (#13943)

* [Hub Generated] Public private branch 'wps' (#14002)

* Add webpubsub swagger

Add custom words

Update webpubsub.json

Update webpubsub.json

Resolve comments

Update webpubsub.json

resolve comments

Update operationId for existence check

[wps] update python generation section and client name for all languages (#1)

* add python stuff

* make title across languages the same

* Update version

* Update some constraints

* Update webpubsub.json

* rename to GetServiceStatus

* Update readme.md

* Update readme.md

* Update readme.md

* [Hub Generated] Review request for Microsoft.SecurityInsights to add version preview/2021-03-01-preview (#13563)

* Copied from 2019-01-01-preview version

* Updated references to common types

* Add itemsSearchKey field to Watchlists

* Add missing label definition

* Make itemsSearchKey as required field

* Formatting fixes

* Fix Prettier and Avocado errors

* Fix Lint error (subscription level resource)

* Update description and example for CreateOrUpdate watchlists and bulk create watchlist items

* Update Api version in examples

* [Hub Generated] Review request for Microsoft.RecoveryServices to add version stable/2021-03-01 (#13888)

* Adds base for updating Microsoft.RecoveryServices from version stable/2021-01-01 to version 2021-03-01

* Updates readme

* Updates API version in new specs and examples

* updated default package in readme.md to 2021-03

Co-authored-by: Chandrika Gonuguntla <chgonugu@microsoft.com>

* Updated required and default fields in Action Groups spec (#13677)

* 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

Co-authored-by: Ritwik Rajendra <rirajend@microsoft.com>
Co-authored-by: kai ru <69238381+kairu-ms@users.noreply.github.com>

* Remove AML Compute File Server (#13944)

* Remove AML Compute File Server

* update

* update

* update

* update

* Cost Management: Reservation Recommendations API: Add multiple missing properties in specs (#13967)

* added totalCost, properties.resourceType, properties.subscriptionId, and eTag to various RiRec dfinitions

* moving eTag  property to right place

* remove duplicate description

* remove track1 configure (#14044)

Co-authored-by: Yan Zhang (WICRESOFT NORTH AMERICA LTD) <v-yanzhang@microsoft.com>

* New API version (2021-02-10) for recovery services site recovery (#13525)

* Adding old API version(2018-07-10) to new folder for 2021-20-10

* all changes for swagger (2021-02-10)

* read me and custom word changes

* Ayesha's comments addressed

* adress PR comments from ayesha

* Adding suppressions

* fixing custom words

* [Hub Generated] Review request for Microsoft.RecoveryServices to add version stable/2021-02-10 (#13636)

* Adds base for updating Microsoft.RecoveryServices from version stable/2021-02-01 to version 2021-02-10

* Updates readme

* Updates API version in new specs and examples

* Update readme.md

changing read me to include date too in tag

* cahnging examples API version to 2021-02-10

* fix read me syntax

* TaskStepProperties swagger fix (#13971)

* Adding "assignmentState" property to scope model in access review APIs (#14039)

* iothub readme.python package version change (#14043)

* iothub readme.python package version change

* multiapiscript add

* clear output folder

* Update readme.python.md

* Update readme.python.md

* Update readme.python.md

Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>

* Bump y18n from 4.0.0 to 4.0.1 (#13704)

Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* update (#14061)

* package-templatespecs-2021-03-preview tag added (python) (#13958)

* Added tag

* nit: ordering

Co-authored-by: Dania Etienne <daetienn@microsoft.com>

* Use 2014-04-01 replication link specs in V5 SDK (#14058)

* Use 2014-04-01 replication link specs in V5 SDK

* remove legacy file.

* Update cSpell.json for Key Vault 7.2 (storage) (#14060)

* automanage readme t1 del (#14029)

* automanage readme t1 del

* automanage readme t1 del

* readme.md t1 config del

* add missing reference (#13904)

* databoxedge readme modification (#14063)

Co-authored-by: Yan Zhang (WICRESOFT NORTH AMERICA LTD) <v-yanzhang@microsoft.com>

* managedservices t2 onfig (#14064)

Co-authored-by: Yan Zhang (WICRESOFT NORTH AMERICA LTD) <v-yanzhang@microsoft.com>

* [Hub Generated] Review request for Microsoft.RecoveryServices to add version stable/2021-02-10 (#13635)

* Adds base for updating Microsoft.RecoveryServices from version stable/2021-01-01 to version 2021-02-10

* Updates readme

* Updates API version in new specs and examples

* fixing merge issue

* removing vault usages from 2021-02

* Adding back vault usages

* updating readme

* updated etag to eTag (#13968)

* [Hub Generated] Review request for Microsoft.InstanceMetadataService to add version stable/2020-12-01 (#13931)

* Adds base for updating Microsoft.InstanceMetadataService from version stable/2020-10-01 to version 2020-12-01

* Updates readme

* Updates API version in new specs and examples

* Adding new spot VM fields

Co-authored-by: Joshua McCarthy <jmccarthy@microsoft.com>

* Add FaceAPI PersonDirectory spec updates to preview v1.0 (#13766)

* Add FaceAPI v1.0-preview

Add a preview version of FaceAPI specs intended for public preview.
Contains existing spec in v1.0 plus PersonDirectory feature changes.

* Fixes after running validation

* Fixing validation

* Fixes 2

* Fixes 3

* Add PersonDirectory examples and fix routes

* Fixes 4

* Fixes 5

* Fixes 5.5

Co-authored-by: Yang Chen <yachen4@microsoft.com>

* Update the name and format of a parameter for randomnumbers (#14017)

* Update the name and format of a parameter for randomnumbers

* Change the parameter name from 'bytes_length' back to 'bytesLength'

* Amalladi/extendedlocation update (#13849)

* Updating Specification to remove 400 Badrequest from Swagger File

* Removing 400 status code from examples

* Removing private preview API version from Repo

* Removing 2020-07-15-privatepreview tag from ReadME files

Co-authored-by: Aditi <amalladi@microsoft.com>

* maps t2 config (#14075)

Co-authored-by: Yan Zhang (WICRESOFT NORTH AMERICA LTD) <v-yanzhang@microsoft.com>

* Revert "remove track1 configure (#14044)" (#14047)

This reverts commit 867165cc24d81c487ad186c998c46ba55f81c77b.

* adding role assignment (#14077)

* add connectionPolicy spec back to V5 SDK (#14088)

* modification (#14087)

Co-authored-by: Yan Zhang (WICRESOFT NORTH AMERICA LTD) <v-yanzhang@microsoft.com>

* [Hub Generated] Review request for Microsoft.DocumentDB to add version preview/2021-04-01-preview (#13710)

* Adds base for updating Microsoft.DocumentDB from version preview/2021-03-01-preview to version 2021-04-01-preview

* Updates readme

* Updates API version in new specs and examples

* Adding new API for fetching backup information(such as latest restorable timestmap) for a resource. Also, adding startTime,endTime to restorable.json

* Adding new API for fetching backup information(such as latest restorable timestmap) for a resource. Also, adding startTime,endTime to restorable.json

* Adding new API for fetching backup information(such as latest restorable timestmap) for a resource. Also, adding startTime,endTime to restorable.json

* adding Services APIs

* more changes

* updated examples

* prettier and readme updates

* importing changes missed from old versions

* nits

* fixing semantic validation

* fixing linter

* fix

* more fixes

* adding list operation and default error response

* specifying format integer

* attempt to fix sdks

* address arm comments and fix ci

* fixes

* fix

* try to fix ci

* fix examples

* .\services.json

* adding additionalProperties back to ServiceResouce

* adding additionalProperties back to ServiceResouce

* fix

* fix sdks

* fix linter

Co-authored-by: Meha Kaushik <kaushik.meha@gmail.com>
Co-authored-by: Meha Kaushik <mekaushi@microsoft.com>

* media t2 config(wave4) (#14074)

* media t2 config

* add packageversion

Co-authored-by: Yan Zhang (WICRESOFT NORTH AMERICA LTD) <v-yanzhang@microsoft.com>

* [Hub Generated] Review request for Microsoft.Maps to add version stable/2021-02-01 (#13733)

* Adds base for updating Microsoft.Maps from version preview/2020-02-01-preview to version 2020-02-01

* Updates for 2021-02-01 api version swagger

* creator swagger fixes

* fix model examples

* nextLink, uniqueId

* build fixes

* fixing listkeys

* fix long running operations

* fixing spelling

* fixing async behavior and examples

* updating arm region

* reset package-lock

* [Hub Generated] Review request for Microsoft.Media to add version preview/2021-05-01-preview (#13838)

* New Readme Config File

* New Go Language Readme Config File

* New Azure AZ Readme Config File

* New Azure CLI Readme Config File

* New Typescript Language Readme Config File

* New Python Language Readme Config File

* New C# Language Readme Config File

* New AzureResourceSchema Readme Config File

* New Swagger Spec File

* New Swagger Example Spec File

* Copy Signed off 2021-03-01 swaggers here

* Update swaggers to 2021=05-01-preview

* add missing examples

* update title

* fix Operation id

* fix video analyzer examples

* update Video swagger

* add format for $top

* remove unnecessary example file

* use chackname definitions from types.json

* fix segment length readonly

* change getStreamingToken to listStreamingToken, getProvisioningToken to listProvisioningToken

* fix the example file name

* fix a readonly issue with a video property

* make type readonly

* edits to descriptions

* adding missing descriptions

* address review feedback,

* few cleanup for update class

Co-authored-by: Christopher Bennage <bennage@microsoft.com>

* Include the preview version of resource changes and resources history… (#14084)

* Include the preview version of resource changes and resources history APIs

* Address the review feedback on releasing the new package version.

* Update readme for Synapse management SDK May release (#14054)

* Update readme for Synapse management SDK May release

* Add package-2021-05-preview

* Address comment

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

* removing read only property, no longer in use - NOT a breaking change (#13812)

* resources readme.python t2 config (#14091)

* peering readme t2 config (#14106)

* Remove replicationLinks_legacy.json (#14095)

PR #14058 removed this file: replicationLinks_legacy.json, removing from the schema config to prevent schema generation failures.

* Support sheet index in excel (#14062)

* Enable excel in public swagger

* update

* rollback dataflow change

* Support sheet index in excel

Co-authored-by: zhanyu2014 <zhanyu@microsoft.com>

* Adding 2021-05-01 api-version to Template Specs (no changes over last preview spec) (#14065)

* Copy existing 2021-03-01-preview specs to new 2021-05-01 stable version (no schema changes)

* Changing api-version within specs to 2021-05-01

* Adding package tag for new stable version to readme.md, but not making it a default (yet)

* Fix SecurityInsights Go SDK versioning (#14030)

* Fix SecurityInsights Go SDK versioning

* rename stable api version tag

* remove 'only' from tags with full functionality

* chore: Move typo supression in RecoveryServices (#14120)

* Add missing Zone mapping property to Microsoft.Resources (#13936)

* remove name validation from client side

* remove name check from deploymentScripts swagger

* remove name check from previous swagger versions

* remove pattern from resourcegroupname parameter

* add zoneMappings to ResoursesType

* backfill older versions of swagger with zonemapping property

* [Application Insights] Resolve duplicated definition names to fix track2 SDK generation error (#13951)

* Fix duplicate name

* Update readme.md

* Update readme.md

* Update and rename workbookOperations_API.json to aiOperations_API.json

* Update readme.md

* Update workbooks_API.json

* Update readme.md

* Update readme.python.md

* Update readme.md

* Update readme.md

* Update readme.md

* Rename aiOperations_API.json to workbookOperations_API.json

* Update readme.md

* Update readme.md

* Update readme.md

* Update readme.md

* Update readme.md

* Update readme.md

* Update specification/applicationinsights/resource-manager/readme.python.md

* Update specification/applicationinsights/resource-manager/readme.python.md

* Update specification/applicationinsights/resource-manager/readme.python.md

* Update swagger for SSIS-IR to support user-assigned managed identity (#14114)

Co-authored-by: Hongxian Yao <hoyao@microsoft.com>

* postgresql readme t2 config (#14067)

* Dev mediaservices microsoft.media 2021 05 01 (#13676)

* Adds base for updating Microsoft.Media from version stable/2020-05-01 to version 2021-05-01

* Updates readme

* Updates API version in new specs and examples

* [AMS] new 2021-05-01 release for Account service in AMS

* add missing example files

* fix the api version and missing example files

* Create a new Update definition to fix the "R2016 - PatchBodyParametersSchema "

* fix respnse

* fix update example

* add the 2016 supression for new tag as well.

* mixedreality t2 readme config(wave4) (#14105)

* mixedreality t2 readme config

* t2 config del

* [python] t2-confidentialledger config (#14144)

* Update readme.python.md

* Update readme.python.md

* Update readme.python.md (#14145)

* update elastic swagger  (#14076)

* Update elastic.json

* added new examples

* taking the files from rpsaas master

* added suppression in readme

* [Cosmos DB] Introduce new api version 2021-04-15 (#13873)

* [Cosmos DB] Introduce new api version 2021-04-15

Initial Commit

* Updated for 2021-04-15

* Dummy Commit

* Fixing privatelinkresources.json

* Removing ErrorResponseUpdatedFormat

* Suppressing systemData check

* Relay - Fix typo in the NetworkRuleSet path (#13962)

* Relay - Fix typo in the NetworkRuleSet path

* Suppression - DefaultErrorResponseSchema - we will be Implementing in new API version

* [Hub Generated] Review request for Microsoft.Portal to add version preview/2015-08-01-preview (#12732)

* Fixing properties in dashboard parts

* Updating Dashboard part metadata

* Updating based on prettier fixes

Co-authored-by: Himanshu Chandel <hich@microsoft.com>

* resources t1 config add (#14146)

* t1 config add

* package version

* [Hub Generated] Public private branch 'dev-maintenance-Microsoft.Maintenance-2021-05-01' (#14148)

* Adds base for updating Microsoft.Maintenance from version preview/2020-07-01-preview to version 2021-05-01

* Updates readme

* Updates API version in new specs and examples

* Added system data properties.

* Fixed lint error.
Added documentation.

* Use Host Maintenance scope and api version in exmaple.

Co-authored-by: Kalpesh Chavan <kachavan@microsoft.com>

* Add Test Base Swagger Spec from RPSaaSMaster (#14113)

Co-authored-by: Bin Yu <biy@microsoft.com>

* rename property: change category to categories (#13883)

* Edit description of Update Iot Hub Resource Api (#13080)

Co-authored-by: Harini <codebyh.365@gmail.com>

* [Hub Generated] Review request for Microsoft.RecoveryServices to add version stable/2021-03-01 (#13889)

* Adds base for updating Microsoft.RecoveryServices from version stable/2018-07-10 to version 2021-03-01

* Updates readme

* Updates API version in new specs and examples

* Update webpubsub.json (#14096)

* add dataFeedId in AnomalyResult and IncidentResult (#14127)

* add dataFeedId in AnomalyResult and IncidentResult

* fix examples

* Add new version 2021-03-31-preview1 for ACS Auth (#13965)

* Add new version 2021-03-31-preview

* Set required body

* Add all paths to new version

* Update description for property of TeamsAccessTokenRequest model

* Change version from 2021-03-31-preview to 2021-03-31-preview1 following standards https://skype.visualstudio.com/SPOOL/_wiki/wikis/SPOOL.wiki/16790/Versioning

* Rename folder

* Update method description

* remove Turn endpoint

* Add examples

* Update readme

* Omit the word "skypetoken" from swagger

* Link example

* Update description and path for a new endpoint

Co-authored-by: Alexandra Lamiova Pistrakova <apistrak@microsoft.com>

* Added example gneration document links (#14151)

* purview scanning service (#14021)

* purview scanning service

* Add custom words for spellcheck

* fix config files and add endpoint param

Co-authored-by: Parv Saxena <pasaxena@microsoft.com>
Co-authored-by: iscai-msft <iscai@microsoft.com>

* MG RP new API versions: 2020-10-01 and 2021-04-01 (#13897)

* API 2020-10-01 with 2020-05-01 files

* 2020-10-01 API changes

* 2021-04-01 API version with 2020-10-01 files

* Changes for 2021-04-01 API

* PR fixes

* Fixed issues with model

* PR fixes

* Latest (#13917)

* Pick up previous Swagger Fix in 2019-09-01 version (#14092)

* Add missing swagger fix

* Fix bad copy-paste

* update the some capitalized words in the description

* Adding EventData schema for Microsoft.Storage.BlobTierChanged event (#14049)

* Adding EventData schema for Microsoft.Storage.BlobTierChanged event

* Removing contentLength/Offset from Microsoft.Storage.BlobTierChanged data schema

* Removing BlobTierInfo from BlobTierChanged and adding new event Microsoft.Storage.AsyncOperationInitiated

* adding ContentLength for BlobTierChanged and AsyncOperationInitiated events

* [Hub Generated] Review request for VideoAnalyzer.Edge to add version preview/1.0.0 (#13682)

* New Readme Config File

* New Go Language Readme Config File

* New Azure AZ Readme Config File

* New Azure CLI Readme Config File

* New Typescript Language Readme Config File

* New Python Language Readme Config File

* New C# Language Readme Config File

* New AzureResourceSchema Readme Config File

* New Swagger Spec File

* New Swagger Example Spec File

* Copy old LVA swaggers

* Rename old swaggers to new file names

* Update LVA swaggers with new AVA swagger

* fixed some paths and capitalization

* fix prettier check issues

* fixing a Pascal casing

* Updating swaggers to latest

* fix linting issue

* removed an unused definition

* Service fabric Client API 8.0 (#14011)

* spell checked and linted.

* updated tag version.

* reverted change outside of SF folder.

* updated version in swagger.

* changed credential issues.

* changed 1 more that looks like a credential.

* Kusto pools principal assignment (#14079)

* kustoPool PrincipalAssignments

* fixed list principal assignments

* principalAssignment list example

* principalAssignment get example

* KustoPoolPrincipalAssignmentsCreateOrUpdate

* KustoPoolPrincipalAssignmentsDelete

* databases PrincipalAssignments

* minor change

* KustoPoolDatabasePrincipalAssignmentsList

* KustoDatabasePrincipalAssignmentsGet

* KustoPoolDatabasePrincipalAssignmentsCreateOrUpdate

* KustoPoolDatabasePrincipalAssignmentsDelete

* fixed example ref

* added system data

* kustoPoolCheckNameAvailability

* KustoPoolsCheckNameAvailability example

Co-authored-by: Itay Sofer <itsofer@microsoft.com>

* [Service Fabric Managed Clusters] fix api 2021_01_01-preview (#14012)

* Update preview api to disable broken properties and to add property that is working

* Update managed cluster description

* Add New Data Model RuleCollection to NetworkManager (#13827)

* Add New Data Model RuleCollection to NetworkManager

* fix typo

* test

* test

* Fix discriminator

* fix type

* Fix discriminator

* Fix type

* fix type

* Fix type

* Fix discriminator

* Fix discriminator

* fix type

* fix type

* Fix bug

* Fix type

* Fix format

* Fix name

* Fix name

* fix spell

* fix description

* Fix spell

* change to kind

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* Fix post body

* Fix as comments

* fix bug

* fix bug

* fix bug

* fix bug

* fix bug

* fix bug

* change rule kind

* Fix as comments

* Fix as comments

* update lastest version

* Update type

* Update Skiptoken

* Fix discription

* Fix NG

* Fix NG

* add more example

* [python]Update readme.python.md for postgresql (#14182)

* Update readme.python.md

* Update readme.python.md

* Remove all schema readme (#13885)

* Remove all schema readme

* process new rp

* Remove after_scripts

* [Hub Generated] Review request for Microsoft.AlertsManagement to add version stable/2021-04-01 (#13890)

* Adds base for updating Microsoft.AlertsManagement from version stable/2019-06-01 to version 2021-04-01

* Updates readme

* Updates API version in new specs and examples

* first commit

* some fixes

* try without alert management

* revert change to name of namespace

* Resolve lintdiff issues

* remove the copy of files and reference alert managment previous version

* update description of subscriptionId to solve error

* attemp to remove AlertsManagement from the package

* revert (put back AlertsManagment)

* add tags for go SDK release v54.0.0 (#14161)

* add tags for go SDK release v54.0.0

* add a new tag

* FRv2.1 GA Stable Release (#13997)

* Standardized Errors, sample list.

* removing from master from now as this is just a proposal

* FRv2.1 GA Initial commit.

Co-authored-by: Sandeep Parab <rparab@ntdev.microsoft.com>

* remove extra / from host template (#14176)

* [Hub Generated] Review request for Microsoft.Batch to add version stable/2020-09-01.12.0 (#14170)

* [Batch] Update RemoveNodes description to include max nodes/request

* Added suppressions to readme

* Update swagger for a new version 2021-03-31-preview1 for ACS Auth (#14168)

* Unify names

* Update tag

* Update due to review meeting

* update example description

Co-authored-by: Alexandra Lamiova Pistrakova <apistrak@microsoft.com>

* Add new 1.0 version for IoT Central API (#13713)

* Add new 1.0.0 version for IoT Central API

* fix swagger style

* fix wrong json file name

* remove unused examples

* revert back email format

* remove non-used examples

* update with latest examples

* update preview from 2019-10-28-preview to 2021-04-30-preview

* remove extra ---

* update version from 1.0.0 to 1.0

* rollback collections for common entities

* update _id to Id, update _name to Name from operation, add sdk generation

* fix go sdk file

* remove go sdk

* updatedevicve_templateId to deviceTemplateId

* Add query parameter based versioning, remove resource schema

* fix example docs reference

* fix typo in comments

* renaming execute to run for command operations

* add api-version to samples files, fix devices_update missining issue

* add devices_update.json for 1.0

* fix rerun_id, add missing parameters to examples for preview, fix command comments from execute to run

* fix annoymous type issues

* add title to readme. (#14179)

* videoanalyzers-fix-missing-host (#14181)

* New API version for Microsoft.Resources stable/2021-04-01 (#14132)

* base for Microsoft.Resources 2021-04-01

* update readme

* update api version

* API changes for S2S

* readme

Co-authored-by: Wendy Chang <wendychang@gmail.com>

* Swagger Changes for Get Recoverable Servers and create server with Geo-Restore. (#14013)

* Added Recoverable Servers API and GeoRestore API.

* Fixed spell check and prettier

* Fixed readme.md file issue and changed the postgreSQL to restore.

* Fixed duplicate schema issue.

* Fixed the mismatch with namespace names.

* change the tag name from georestore to servers

* Fixed the SDK validation issues.

* Fixed objects w.r.t preview version

* Fixed operation required properties.

* Included 2020-04-10 in the SDK versions

* Change the folder path.

* Add missing multiapi entry for go sdk v54.0.0 release (#14200)

* add missing multiapi entry

* fix one output-folder

* Azure security insights - add data connectors preview version (#13998)

* add new API

* ad name to enum

* updatre defenition names

* update readme

* update readme

* update readme path files

* fix errors

* add missing connectors

* execute validation

* execute pre

* update readme

* add description ans x-ms-enum

* update description

* update properties

* add description

* rename enum - fix new error that didnt display until now

* rename enum unser x-ms-enum property

* [Hub Generated] Review request for Microsoft.Maps/Alias to add version preview/2.0, preview/2.0, preview/2.0, preview/2.0, preview/2.0, preview/2.0 and preview/2.0 (#13921)

* Copy Creator API 1.0 to 2.0

* draft of planB

* adding ontology properties; adding DataUpload

* updated alias apis

* put v1 API back so diffing is easier

* reapplying v2 so diffs are easier

* remove type from datasetsources

* incorporate suggestions from review board

* adding ontology field

* Update alias v2 apis.

* fix conversion descriptions, update alias

* Fix the alias file.

* Add get details example.

* fix casing on headers; mapData more consistent

* minor comment and linting fixes

* Adds base for updating Microsoft.Maps/Alias from version preview/1.0 to version 2.0

* Updates readme

* Updates API version in new specs and examples

* Add baseline from preview/1.0

* update api-version in examples

* add v2 files to readme

* fix avacado errors

* Adding string length limit to the descriptions for feature state.

Adding string length limit to the descriptions for feature state.

* Adding ontology element to the WFS resopnse examples.

Adding ontology element to the WFS resopnse examples.

* Updating length to 1000 from 1024.

Updating length to 1000 from 1024.

* Update dataset v2 descriptions and examples.

* Update the examples to have the right details.

* reran linter; added spellcheck words

* more linting: 202 description alignment

* fixed example linting for alias, data, dataset

* example linting changes for conv, fs, tileset

* change featurestateset patch to put

* autorest linting fixes

* Reverting FeatureState body to include array to match V1 body and response.

* adding missing operationIds

* added examples; more linting

* remove x-ms-long-running

* Update alias documentation for resourceId -> creatorDataItemId change

Co-authored-by: Robert Johnson <rojohn@microsoft.com>
Co-authored-by: Subbarayudu Kamma <skamma@microsoft.com>

* Update attribute name for message metadata (#14206)

* Update attribute name for message meta…
  • Loading branch information
Show file tree
Hide file tree
Showing 236 changed files with 16,233 additions and 16,250 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"autorest": "3.4.5",
"autorest": "3.7.2",
"use": [
"@autorest/python@5.8.4",
"@autorest/modelerfour@4.19.2"
"@autorest/python@5.12.0",
"@autorest/modelerfour@4.19.3"
],
"commit": "14aed8eee51e805ccf9a98c748ab31d798b2da2f",
"commit": "d3a252c22732198df4026f3498473724a1a06379",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/applicationinsights/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.8.4 --use=@autorest/modelerfour@4.19.2 --version=3.4.5",
"autorest_command": "autorest specification/applicationinsights/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --python3-only --track2 --use=@autorest/python@5.12.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2",
"readme": "specification/applicationinsights/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
from typing import Any, Optional

from azure.core.credentials import TokenCredential
from azure.core.pipeline.transport import HttpRequest, HttpResponse

class _SDKClient(object):
def __init__(self, *args, **kwargs):
Expand Down Expand Up @@ -92,12 +91,10 @@ def __init__(
credential, # type: "TokenCredential"
subscription_id, # type: str
api_version=None, # type: Optional[str]
base_url=None, # type: Optional[str]
base_url="https://management.azure.com", # type: str
profile=KnownProfiles.default, # type: KnownProfiles
**kwargs # type: Any
):
if not base_url:
base_url = 'https://management.azure.com'
self._config = ApplicationInsightsManagementClientConfiguration(credential, subscription_id, **kwargs)
self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs)
super(ApplicationInsightsManagementClient, self).__init__(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

from azure.core.configuration import Configuration
from azure.core.pipeline import policies
from azure.mgmt.core.policies import ARMHttpLoggingPolicy
from azure.mgmt.core.policies import ARMChallengeAuthenticationPolicy, ARMHttpLoggingPolicy

from ._version import VERSION

Expand Down Expand Up @@ -68,4 +68,4 @@ def _configure(
self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs)
self.authentication_policy = kwargs.get('authentication_policy')
if self.credential and not self.authentication_policy:
self.authentication_policy = policies.BearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs)
self.authentication_policy = ARMChallengeAuthenticationPolicy(self.credential, *self.credential_scopes, **kwargs)
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

from typing import Any, Optional, TYPE_CHECKING

from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest
from azure.mgmt.core import AsyncARMPipelineClient
from azure.profiles import KnownProfiles, ProfileDefinition
from azure.profiles.multiapiclient import MultiApiClientMixin
Expand All @@ -21,6 +20,7 @@

if TYPE_CHECKING:
# pylint: disable=unused-import,ungrouped-imports
from azure.core.credentials import TokenCredential
from azure.core.credentials_async import AsyncTokenCredential

class _SDKClient(object):
Expand Down Expand Up @@ -90,12 +90,10 @@ def __init__(
credential: "AsyncTokenCredential",
subscription_id: str,
api_version: Optional[str] = None,
base_url: Optional[str] = None,
base_url: str = "https://management.azure.com",
profile: KnownProfiles = KnownProfiles.default,
**kwargs # type: Any
) -> None:
if not base_url:
base_url = 'https://management.azure.com'
self._config = ApplicationInsightsManagementClientConfiguration(credential, subscription_id, **kwargs)
self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs)
super(ApplicationInsightsManagementClient, self).__init__(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

from azure.core.configuration import Configuration
from azure.core.pipeline import policies
from azure.mgmt.core.policies import ARMHttpLoggingPolicy
from azure.mgmt.core.policies import ARMHttpLoggingPolicy, AsyncARMChallengeAuthenticationPolicy

from .._version import VERSION

Expand Down Expand Up @@ -64,4 +64,4 @@ def _configure(
self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs)
self.authentication_policy = kwargs.get('authentication_policy')
if self.credential and not self.authentication_policy:
self.authentication_policy = policies.AsyncBearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs)
self.authentication_policy = AsyncARMChallengeAuthenticationPolicy(self.credential, *self.credential_scopes, **kwargs)
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
__version__ = VERSION
__all__ = ['ApplicationInsightsManagementClient']

try:
from ._patch import patch_sdk # type: ignore
patch_sdk()
except ImportError:
pass
# `._patch.py` is used for handwritten extensions to the generated code
# Example: https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/customize_code/how-to-patch-sdk-code.md
from ._patch import patch_sdk
patch_sdk()

0 comments on commit 05e8b4b

Please sign in to comment.