From d230ba91b435f6eedcb740ca1895af74f540bd4a Mon Sep 17 00:00:00 2001 From: Arcturus Date: Tue, 28 Jan 2020 12:25:05 +0800 Subject: [PATCH] Merge master back to latest to reduce conflicts (#7169) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Generated from a1bb2b664cfee92e06dd868c862362b2ab221b9e (#3584) MSI move 2018-11-30 in stable folder * Generated from f1757d894d66593075916005108355c9ffb5f018 (#3618) fix Go SDK codegen for devtestlabs package-2018-09 * Generated from 13ad4468d43e4b4aebff001e8cfcdeb3e8c05673 (#3632) typo: timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights - asynchroneous -> asynchronous - synchroneously -> synchronously - avaliable -> available - programatically -> programmatically - asynchroneously -> asynchronously - Trim trailing spaces * [AutoPR] servicefabric/data-plane (#3607) * [AutoPR servicefabric/data-plane] Swagger specification for Service Fabric runtime version 6.4 (#3564) * Generated from 494e01db96f17beb1d349ab74358274971b26d08 remove invalid character * Generated from 494e01db96f17beb1d349ab74358274971b26d08 remove invalid character * fix name collision * v23.1.0 * Generated from 0ab9f319950da966fb91bd8443e1641479c7d322 (#3470) [HDInsight] - Initial commit for Swagger-based Job SDK * Generated from e664ceb73f273a3c5338b321d980b4cd78baf3b6 (#3663) add Go SDK codegen for cognitive services localsearch * v23.2.0 * v24.0.0 * Generated from 2d72a054d7a90d80a9e3e306619624ee5f1cb8c5 (#3761) chore) add x-ms-client-id property * Regenerate profiles to update copyright date * [AutoPR automation/resource-manager] Swagger change for Update configuration dynamic group Saved Search Query (#3778) * Generated from 5c9b5836b2067fd623c49b79bd15ff36d4d8aebb Swagger change for Update configuration dynamic group Saved Search Query * Generated from f3813d89e619417184a43e8a56ab00452f8ee204 Merge branch 'master' into SavedSearchSwagger * [AutoPR hanaonazure/resource-manager] Add PATCH API example to hanaonazure (#3769) * Generated from b0d573e496f9e874b2747b5d52c52433330035a7 Add PATCH API example to hanaonazure * Generated from 8732e590abd1c05f1a5602a69f41cb0e379e4579 Add Tags definiton back * Generated from 256ea1929633c93a350f11a7eead3193688a8564 Change operationId to HanaInstances_Update * storagesync 2018-10-01 * update from specs commit a4368ac * updated from specs commit a4368ac * Generated from a21a314734c7a332a74e4ef479915ead4c4cfeaf (#3811) Fix errors in old Network API version * Generated from 58cd4adf1b4af13ff67081fe4c670fde87253c75 (#3814) Fixed bundle name in readme.md * Generated from f4847630d0ac480f6c18a43cc92d3e5798ab14bb (#3835) Fix duplicate path in old Network API version * [AutoPR apimanagement/resource-manager] OpenAPIv3 support documented (#3826) * Generated from 71c04b82c5fd21293f99a0ebd01ddfefc8224f94 OpenAPIv3 support documented * Generated from 33b167858c331cb654440abfd94b3e49294531c0 Enum name fixed. Example added * Generated from 93ccf22ad368a5b9efaf19f60f128cba56963b40 (#3833) Add tag: package-2019-01 to ruby and go readme files * Generated from dadaa318ccc39f4341a01928027ef10ad7c3db90 (#3844) ComputerName definition update on previous version of stable swagger file * Reuse http client used with ASM API (#3858) * Reuse the http client for ASM calls. Throttle retries when ServiceUnavailable responses are received * code cleanup:- Removed the only other occurence in sendAzureRequest() since the httpClient was already setup in makeClient(). Removed the nil check inside the function as the parameter is passed in as a value type. * Reverted the change as it was inadvertent during testing * Code improvements. Use the configurable Poll interval and check for both service unavaialbe and throttling messages * Generated from 33a8834995a29fcdb4c717d7ebf292984bcf38e3 Update storageContainerUrl description * Generated from fe88822d6cb891d56aad2ef15c4ad60d857006f2 (#3880) Add network 2018-11-01 to Go SDK * v24.1.0 * v25.0.0 * [AutoPR eventgrid/data-plane] Add Helm Events to ACR Schema for Event Grid (#3962) * Generated from b71f71867adc838bf67548408257cd0b5c301fb2 format fix * Generated from c262b34584805f12aefcb1f91ce687dbdc02d559 edit artifact descriptions * Generated from a5bc337827b704dd39648b1946ce01fc3fc6a6ec (#3954) updated formating * Generated from 2387ca4a300956406928ae8727d815f98f88fa93 (#3989) Undoing unintended removal of a field * Generated from 61e1a2c597d6594dea7e25748088fb131bb7ec0f (#3992) added link to disk properties for UltraSSD values * [AutoPR cognitiveservices/data-plane/Face] [Cogs Face] Refine the documentation for Face API's new Snapshot features. (#3941) * Generated from 2662c92f89bbd0d23bcd042cb8ee4401d9ec33ff Add period after quota description. * Generated from c88a6f0cf2096a86ec5e870bd7524d0b01b152ae Change 。 to . * Generated from c4a48f49fc7042734e1375fbcd7a6dc2e03f879a (#4005) Update compute.json Add ProtectFromScaleIn property to VMScaleSetVM properties * Generated from d555d14835a85475ffc2c3ace8d12e75ff92fd91 (#4020) Fix Go SDK codegen for azure-kusto * Generated from c4b75002ef1d363e750705c412a11d75fe39b2d6 (#4024) Changed parameters to an array in elevateAccess * Generated from 9c74a388fce9a2d27a83921d6738321ac015aaaf (#4030) fixes for reference documentation * [AutoPR consumption/resource-manager] [Hub Generated] Review request for Microsoft.Consumption to add version 2019-01-01 (#4002) * Generated from a2b1e8bc09063a59d349ebe4a093416dbbb719b7 updated readme to support new stable version 2019-01-01 * Generated from ac1beddbdb7477174b9b956c4eabd6462f2996db introducing MG scope for tags/budgets introduce scope (method) parameter for APIs that support numerous scopes (arm-team suggestion implemented) * Generated from 45e35bcbc58caa5f6d38632405b8a855872b77d9 (#4041) Merge pull request #1 from anuchandy/data-classification-java-codegen Fixing java codegen * v25.1.0 * run indexer on pushes to master * Fix indexer run in CI Added missing directory argument to indexer. Fixed indexer to always calculate absolute path. * v26.0.0 * Generated from abdf428478d6525e46fff672e7915ca057b0e1c0 (#4145) Add trafficmanager 2018-04 API to Go SDK * Generated from ea3fd47083be0750f53afa9c08c58a6d46447fff server restart changes2 * Generated from 52d399a338e4f89936972f21db87a8dbbce1e08d (#3977) add api get_services_by_subscription Add path of API "get search services by subscription" (GET/SUBSCRIPTIONS/PROVIDERS/MICROSOFT.SEARCH/SEARCHSERVICES) in the spec of API version 2015-08-19 of Azure Search (Microsoft.Search). Along with a sample. * Generated from d1f7fbc4661ee98c7f38b1046c9dd0896814bb4c (#4151) Add mixedreality 2019-02-28 API version to Go SDK * v26.1.0 * remove Go 1.9 from CI and add 1.12 * Generated from 13411c151dab802079cfcae45d36391590e14715 (#4157) Update readme.md * Generated from d964a661f2334f9db671ff90861877238d4efc95 (#4190) fix Go SDK package path for mariadb stable release * Generated from 7311fd41d1714f152d4569e6641c8821a0273ae4 (#4177) changes to improve documentation of endpoint health statuses for routing * Generated from 6c916ecb9bc1a696ef67e538547a52c8e71a5096 (#4188) fix codegen paths for Go SDK * fix pkgchk tool to accept version scheme for composite packages * remove duplicate security package * Generated from a03ebb5e6ea5c7aa1585f40be78db1703c328084 (#4150) Adding virtualclusters.json to readme.md * Generated from 92287b8ca22c0eb5dcd989b628666c298dc98e4e (#4194) add netapp to Go SDK * v26.2.0 * Generated from fc54df16998b34ed493122f98c184b67444a6995 (#4219) Apply suggestions from code review Clarify operation descriptions Co-Authored-By: zachraMSFT * Generated from 426f8b2bd94a9a23d1625680611ef081dcfec42a (#4241) fix wrong preview subdirectory * Check in vendored dependencies Running `dep ensure` in CI has been a point of failure causing CI builds to be unreliable. Enable pruning of dependencies and check them in. Removed all dep-related commands from travis. Removed the vendor directory from .gitignore so changes are visible. * v26.3.0 * Remove committed vendored dependencies Unfortunately this broke the `go get` consumers so backing it out. Enable travis caching of the dep cache to help CI instability. * v26.3.1 * Generated from 3db75735b23d7ad733668c5f03e1682016c86d58 (#4271) move global settings before packages * v26.4.0 * Generated from 794f1b7388d8814ca4cd56d7b38e6c997e0c22cb (#4298) add storage package-2018-11 to Go SDK * Generated from 4357ce164d70f0f9316303a4c64cf6ecc560a9c1 Merge pull request #5394 from Azure/master FI from master to network-february-release * Generated from 01be795b1cc023532b66cb08e486ed3296b57e2e (#4317) Merge branch 'master' into dev-containerservice-Microsoft.ContainerService-2019-02-01 * Updated README.md to correct logging values * add cognitive services anomalydetector v1.0 * v26.5.0 * Generated from 26af0939511462110644a747e481a1c8689ff5b8 (#4304) Fix operation types * Generated from b4c474eb63aa5d6ff1d89c0528e0b02a38e94aa6 (#4361) enable release_3_0 for Go SDK * Generated from 6a54ef04415214ac2eb5ee061818e70d1b5accfe (#4233) Add filter to StreamingLocator and Streaming presets. Documentation fixes. * Generated from 1fced24a0ce1f1f1c47d5e400f34adb4845479c5 (#4306) Add preset enum ContentAwareEncodingExperimental * [AutoPR netapp/resource-manager] Update to Release 3.5 standard (pre GA) (#4269) * Generated from 46f3cb6030777135484c1bdc4b1d2146053172f9 NFSAAS-1875 Update to R3.5 Standard (#11) * Generated from 084552639aef23de670f0dc26ba5c9496eb6daff Nfsaas 1875 swagger update (#12) * NFSAAS-1875 Update to R3.5 Standard * NFSAAS-1875 update to R3.5 standard * Generated from 0af27c76c27c57415609e59ba20027b3808ba30e Nfsaas 1875 swagger update (#13) * NFSAAS-1875 Update to R3.5 Standard * NFSAAS-1875 update to R3.5 standard * NFSAAS-1875 updated from review comments * Generated from 5839c9043ae78c702efffd4db8ee1f4f294b1a9a (#4350) Merge branch 'master' into master * v26.6.0 * Generated from 5d971dfe7dfb7c0c0fea9af188ef51cef3e5d050 (#4372) add training tag release_3_0 to Go SDK * v26.7.0 * v27.0.0 * Generated from deddefa89eddea5a43dc26c164d86e1d6a96791d (#4420) fix: typo * [AutoPR storage/resource-manager] [DO NOT REVIEW/MERGE] Swagger for Lease Container API from Oct17 to latest (#4397) * Generated from 0b71805755e6dd434edbb7298b88a62b0fbd7ec3 remove duplicate x-ms-enum extension on action * Generated from 52eb48baf153b3091179418b56191d3260b514b8 Fix new API definition section positioning in the json schema * Generated from be4b9c83e9d49face2ad12d82c2cc978a0e7701b Camel-case property names * Generated from b7aef768dbdc3340c95a027ff0f3b5d927752108 (#4441) added missed parameters in Update Server API to stop PG replication * Generated from c511b2a3dd0ec14cdd7cbf078fb92e5415a4b9b4 (#4460) add Premium_ChinaCdn support to cdn specification 2017-10-12 * [AutoPR recoveryservices/resource-manager] Added Swagger details for CheckNameAvailability API (#4411) * Generated from 1c52533609d5a8a806f616702ab45f6b8c514b68 Changed operationId for checkNameAvailability from CheckResourceNameAvailability_Post to RecoveryServices_CheckNameAvailability * Generated from 2edb73566dac3446f8b8a54399b9f14650c32e36 Renaming ResourceNameAvailabilityResponse to ResourceNameAvailabilityResult * Generated from f97eae58835c2bcc143d6c854a183830f257dda0 Renaming ResourceNameAvailabilityResult to CheckNameAvailabilityResult and changing GCed to GC'ed in swagger API summary * Generated from cc6ecf84a7e767b9299aa77868b43817d17bde4c Renaming ResourceNameAvailabilityParameters to CheckNameAvailabilityParameters * Generated from 35998a721ea3c6fbae6d5b40f051a3d0a8144ea9 (#4462) Changing new version Settings file * alerts management fix * Generated from 260935ae7a85de6a552f764002091114366d1ea0 (#4405) updating examples for osa customerAdminGroupId field * Generated from d095a528af8bd2c7adde9c31c42c402284c568ce (#4446) doNotRunExtensionsOnOverProvisioned Vms property description update * Generated from 22e4440bc8d496f16dfa56d7074bb0f1d70ecaa5 (#4497) adding type descriptions * Generated from 2e84b343d46947d2cc6d9f79a64ced02e82027c6 (#4495) Fix pathParam and add Tag * [AutoPR compute/resource-manager] [Compute] Add new API Version and field (StorageAccountType) to SharedImageGallery swagger spec (#4458) * Generated from 8a9dfc34f43f5035afdb5bf322bff33a2d0866bb add new api version and field for Shared Image Gallery * Generated from fc4ece6c6f7cbfaf46d0c93d350d6c773b03ac28 fixed example json * Generated from 4c7f83d5d572d1c6888116aef37071a9c7a96429 (#4508) move hdinsights package for Go back under preview directory * Generated from edfd14bbaf5a0c9f57a8688fc4317cc67dbb7fe9 (#4528) add compute 2019-03-01 to Go SDK * v27.1.0 * Generated from a54282b819c41298859a9c241949daccd5d27224 (#4550) add apimanagement 2019-01-01 to Go SDK * Generated from 9fb1689e27edef96f5bea08f4bf3ccfbf1d93932 (#4549) add reservations 2019-04-01 preview to Go SDK * v27.2.0 * Generated from a2fd1bdd9003acdbe77080a379efed2461665d89 (#4556) Fixing operation id to be named consistently * Generated from ebbbdd1db732261ea8038e49422b55a3b289e9ce (#4567) Fix Go SDK for cognitiveservices/anomalydetector This endpoint requires client-side TLS renegotiation to be enabled. Add a directive to modify the codegen to enable renegotiation. * update dependencies * v27.3.0 * v28.0.0 * v28.1.0 * v29.0.0 * v30.0.0 * Update default storage API version to 2018-03-28 Updated string-to-sign algorithm for SAS tokens to support 2018-11-09. * Generated from 41c0c7e343b202dccd533178235425eef5b2703e (#4895) added optional flag to indicate if location is an availability zone * New features for blob storage Added support for setting delete retention policy for blob storage. Added support for blob storge static websites. * [AutoPR datamigration/resource-manager] Add OracleAzureDbPostgreSQLSync scenario and ServiceTask resource (#4704) * Generated from 5434695fe5ded9ca8bd799b2e599fafffc3bea80 Add Oracle to Azure Database For PostgreSQL scenarios and Service Task resource which supports the scenario. * Generated from 2a5dd49bfc9b0dd0a52ac9a904681fc80317d200 Add Oracle to Azure Database For PostgreSQL scenarios and Service Task resource which supports the scenario. * Generated from 33645c378c1f5cd780a2ce10033a1a5db111c7d7 Add Oracle to Azure Database For PostgreSQL scenarios and Service Task resource which supports the scenario. * Generated from 5c209c20ca9a6f8d5f2e9bf3aca1078b6d80ab92 Add Oracle to Azure Database For PostgreSQL scenarios and Service Task resource which supports the scenario. * Generated from 96de3859707b69b5b8b372d72f09cac32be112c7 Add Oracle to Azure Database For PostgreSQL scenarios and Service Task resource which supports the scenario. * Generated from a455f45c33d0e2b8f0a298d637a86ecac9fb4042 Add Oracle to Azure Database For PostgreSQL scenarios and Service Task resource which supports the scenario. * Generated from 2281cc30a4d0eae30b0c3b68f6a679a6dff649ee Add Oracle to Azure Database For PostgreSQL scenarios and Service Task resource which supports the scenario. * Generated from e94036625f69f01964f3b6821aa72c4cc578073e Add Oracle to Azure Database For PostgreSQL scenarios and Service Task resource which supports the scenario. * Generated from 45c5fedae1fab20f3e500c7b5a0c053cbebf0780 (#4898) Consolidating all uses of schedule frequency * [AutoPR signalr/resource-manager] Add a new field to SignalR Resource property (#4784) * Generated from 73fdc5d1cec99b240e35cdf687412c42bde426d9 update description of features * Generated from 57833e397b8937b45cda754d826ddba479986605 remove async-operation options * Generated from fd9c6da9e2c6f038f57aae1cdd42a84ad5a86db9 Add missing cognitive services personalizer readmes Add missing readmes for Go, Python, Ruby and TypeScript * Generated from 621a104fcefa006dfdef9a4bb62a49f5d5280eeb (#4907) Add descriptions. * Generated from ac743f1dd8f0e67de1c5132910705c7cf2c49268 (#4908) support subdomainsuffix * Generated from 4411b52af1fc70d8790570cb458bd8640d9fec5e (#4920) Fix issues with rebasing conflicts * Generated from e405bd9eb8d4b0660db9fa686a9ad6b1f41266a6 (#4922) Fix version in form recognizer * Generated from e6646dc21b785ab0320f91ad190ebe406be966f2 (#4930) typo: Double word "use" * Versioner refactor (no functional changes) (#4943) * Versioner refactor Path issues when running tests on non-*nix OS. Close go.mod file handle before renaming directory. * Move testdata to central location * [AutoPR cognitiveservices/data-plane/QnAMaker] Adding missing docs for existing routes for QnA Maker APIM (#4890) * Generated from 0dd0ff87da9de5f860f0d12d000bcdbfe6410ac1 Adding missing docs for existing routes for QnA Maker APIM - Add /endpointsetttings path for service Adding new docs for existing routes for QnA Maker Runtime - New swagger file as the "x-ms-parameterized-host" is different for them - Add /generateAnswer path for Runtime - Add /train path for Runtime * Generated from 687af7de398381b75153b1923c9c5a1d4c5336b5 fix parameter * Generated from 03560daa4aa2cc4fa347707374bf82c81f47e05c update readme.md * Generated from 8ae17e91d45e1fc5c0db23826c2c0ca20d3b886d spellcheck * Generated from ab050e743572b12afed86646e471466692659b56 (#4927) Enable PG 11 * [AutoPR batch/data-plane] [Batch] Add new data plane verison 2019-06-01 (#4876) * Generated from 1143452831aa606810a3cb4ff1c16ba263845004 Add new data plane version 2019-06-01 * Generated from 8ad857526957431e98e0b557fb7bcacdbfd5eb02 Add new data plane version 2019-06-01 * Generated from b0493535fd9ed2131d59963241b2009341fd217f Add new data plane version 2019-06-01 * Generated from b0493535fd9ed2131d59963241b2009341fd217f Add new data plane version 2019-06-01 * [AutoPR sqlvirtualmachine/resource-manager] [Hub Generated] Review request for Microsoft.SqlVirtualMachine to add version preview/2017-03-01-preview (#4902) * Generated from 9e7a238969a397f7452799401ffc4b27141c19f6 Updating string-> int and unexpected capital letters. * Generated from 7340613025b32410e1d2e953b9161bae32c7618f Merge branch 'master' into yadi-updateswagger * Generated from 482b8a66262215d5932d8aceb48596d25dc97bd2 (#4948) caps with apostrophes * [AutoPR authorization/resource-manager] Add elevateAccess to Microsoft.Authorization (#4956) * Generated from fdd9580d8a81e7f4a0eb2421176db6ee2f674f4e Add elevateAccess to Microsoft.Authorization elevateAccess was only present in an old stable version of Microsoft.Authorization, which was not used for SDK generation. This change moves the elevateAccess call to a version that can then be added to the readme and used for SDK generation. * Generated from e848666c5e1977d56bf6ce9e54ca52b1c11eabb3 More descriptive operationId * Generated from 552816c639d2a0e594818064c382bac8473dc708 (#4964) [SRP] Default value change for account property supportsHttpsTrafficOnly * [AutoPR frontdoor/resource-manager] [Hub Generated] Review request for Microsoft.Network to add version preview/2019-03-01-preview (#4775) * Generated from 8eabf3b30e27c4cf2d2c043b766d9e60452d46b4 Add provisioning state enumerations, add validation, and fix documentation * Generated from 8b34fd26680a49feddd307532b5d398fa434e4c1 Revert model changes for provisioning state * [AutoPR cosmos-db/resource-manager] Add APIs for throughput read and update (#4791) * Generated from ff256579a7f4c550c5d53b5b619340180977ad67 Add APIs for throughput read and update * Generated from 5916f7d5f05e7d94ad4050fba429db7c89372fac Fix sematic validation error * Generated from 6df25f6fbebfa4fae59493360a3957a4207e979e Merge branch 'master' into master * Generated from 10c8ae2fa1681da6e10c32dca56b6d4f26ab6735 Update description * Generated from e4bd3471cedb625a2d65c1045f8d13f532f3f945 (#4947) ADLS Gen 2 support for HDI BYOC and vNet support for HDI on demand * [AutoPR managedservices/resource-manager] [Hub Generated] Review request for Microsoft.ManagedServices to add version preview/2019-04-01-preview (#4806) * Generated from 74a4e755ab12e95b7c4a0d5231faf727d4827d55 Updated readme Merge branch 'master' of https://github.com/ajay-sainy/azure-rest-api-specs * Generated from 5cfcc73d9ccce49aa6260eebfb2c748e066f69d4 Merge branch 'dev-managedservices-Microsoft.ManagedServices-2019-04-01-preview' of https://github.com/ajay-sainy/azure-rest-api-specs into dev-managedservices-Microsoft.ManagedServices-2019-04-01-preview * Generated from 2aa8d70a5f867f439b78630358b37612482b3ace Resolved review comments by Sanjai 1. Updated version 2. Removed Operationstatus * [AutoPR cognitiveservices/data-plane/FormRecognizer] FormRecognizer: Updating Train API to take optional parameter. (#4928) * Generated from 0bc60ed42fd5aa7a857431b75a7d9ec7a7e6482d Adding optional support for subfolders in source parameter to Train API. * Generated from 32fa3cb8bf93a50a580b82444835251dde1b09e4 Minor fix to sawgger, removed merged swagger. * Generated from e0c7d245283e52eeca9285dcb4d3f7bdcfb14331 Minor text fix. * Fix bug: Azure SDK for go does not parse start/expiry time correctly. (#1236) * [AutoPR apimanagement/resource-manager] Custom properties were updated to reflect all the possible values (#4971) * Generated from 0f35adc463170a9a0d6d04e267cc583b07e64b81 Custom properties were updated to reflect all the possible values * Generated from 157fcfac350600ccc936ca407dd4f18d274e33cf Custom properties were updated to reflect all the possible values * Generated from 50d490c0581eaa973ba2d01e7e6967fd74f67aaa Custom properties were updated to reflect all the possible values * Update profile builder to understand modules (#4959) * Update profile builder to understand modules Added 'modules' flag to profileBuilder to run in module-aware mode. For the latest/preview profiles this means that it will include module major versions in its comparison algorithm. For static profiles (i.e. 2017-03-09 etc) a new major version of an included module will result in a new major version for that profile. Moved some code into central packages (modinfo) to be shared across tools. Added additional tests to various functions. Cleaned up white-space in profile definitions. * Added some missing comments. * Small refactoring. * v30.1.0 * v31.0.0 * Generated from d85ec8052ee09e19a904c8682ecd71d95a87bfda (#5159) add netapp 2019-06-01 to Go SDK * Generated from 4ad4ff02b733691ce683f3c3d2ca93b04aedefc6 (#5080) typo: batch Double word "Compute" * Generated from 3066b3cc9574f2eec4f7b1a379e0875e14a37f51 (#5162) add authorization 2018-07-01 to Go SDK * Generated from a19a3cb3fe52a5019182778275744a9c3af43993 (#5163) add batch 2019-04-01 to Go SDK * Generated from 3d52a28322664ab7059521562493398366e27ad7 (#5164) add missing alertsmanagement packages to Go SDK * Generated from c3eda289dfe2b94eff37c1654a9abadf4ee3c8ad (#5131) Add enum for tier, osType and filtermode * Add sdk_generation_pull_request_base and main_branch Add sdk_generation_pull_request_base and main_branch properties to swagger_to_sdk_config.json file. * [AutoPR containerregistry/resource-manager] [ACR] Support Overriding Task parameters, support for ContinuationToken [NEW preview API VERSION] (#4995) * Generated from b1e4095ff8268437a5a59a4138ff38c4e31b68f6 Merge branch 'master' into shahzzam/add-2019-06-01 * Generated from 701efa178e7cc3846724dbdb9c2cdf430c7009ce address comments * Generated from f98449d1950d58d1919373e5b5f456b6a3d45e58 (#5177) introducing the SqlManagement * v31.1.0 * Cherry-pick Azure devops changes (#5336) * add azure devops pipeline * Fixes to devops CI (#5239) * Fixes to devops CI Add devops badge to README Fix lint and vet steps * limit linter to subset of repo fix golint errors * more linter fixes * more linter fixes * add remaining tests * include combined output when running git commands * enable dotglob so hidden dirs are moved * Generated from 4d76d19845c0c731f32ca830f3ae85d19aa9b90d (#5322) remove id validation * v31.2.0 * v32.0.0 (#5380) * Generated from 76032c5b6d424dceb3a9b03b7df79e009eb5c183 (#5142) Change XxxSetting to XxxSettings in private swagger * [AutoPR netapp/resource-manager] NetApp update swagger for R4.5 (#5123) * Generated from 3eda898774dd0ae7491c1a38535c18dd42489c18 Changing the protocolTypes example * Generated from 3774c22dc6a9601494bd6d033406b97cb403a688 Fix params structure * Generated from fa202ee43cd1263e159ae365977dc2bdb54eb4e3 Fix Swaggers to get the diff working * Generated from 69314a717548234e92ed30fd6fb6caff58b5855b Reverting accidental netapp.json changes * Generated from d85ec8052ee09e19a904c8682ecd71d95a87bfda (#5159) add netapp 2019-06-01 to Go SDK * Generated from 4ad4ff02b733691ce683f3c3d2ca93b04aedefc6 (#5080) typo: batch Double word "Compute" * Generated from 3066b3cc9574f2eec4f7b1a379e0875e14a37f51 (#5162) add authorization 2018-07-01 to Go SDK * Generated from a19a3cb3fe52a5019182778275744a9c3af43993 (#5163) add batch 2019-04-01 to Go SDK * Generated from 3d52a28322664ab7059521562493398366e27ad7 (#5164) add missing alertsmanagement packages to Go SDK * Generated from c3eda289dfe2b94eff37c1654a9abadf4ee3c8ad (#5131) Add enum for tier, osType and filtermode * Add sdk_generation_pull_request_base and main_branch Add sdk_generation_pull_request_base and main_branch properties to swagger_to_sdk_config.json file. * [AutoPR containerregistry/resource-manager] [ACR] Support Overriding Task parameters, support for ContinuationToken [NEW preview API VERSION] (#4995) * Generated from b1e4095ff8268437a5a59a4138ff38c4e31b68f6 Merge branch 'master' into shahzzam/add-2019-06-01 * Generated from 701efa178e7cc3846724dbdb9c2cdf430c7009ce address comments * Generated from f98449d1950d58d1919373e5b5f456b6a3d45e58 (#5177) introducing the SqlManagement * [AutoPR healthcareapis/resource-manager] [Hub Generated] Review request for Microsoft.HealthcareApis to add version preview/2018-08-20-preview (#4966) * Generated from 861e08e366cff1f1318a69d39841f25bee90c963 Merge branch 'master' into dev-healthcareapis-Microsoft.HealthcareApis-2018-08-20-preview * Generated from 263297a3c3cec666d65515309b679913e4f9559d Remove uuid format from subscriptionid as no other RP does this and it is causing issues with the .net SDK * Generated from e8dd45240d9e1b579ccd155e0e6c811c764eb214 (#5079) typo: botservice Double word "service" * [AutoPR migrateprojects/resource-manager] [Do not merge] Swagger closure for Azure Migration Hub (#4889) * Generated from a43ead519af3db80da7e7705153ce3deb58a47c9 Fixing SDK errors * Generated from a683481c06274ab035589605b5450232c2adc22f Changing the resource names to camel case as per ARM review * [AutoPR iothub/resource-manager] [Hub Generated] Review request for Microsoft.Devices to add version preview/2019-03-22-preview (#5149) * Generated from a2660396e04a6551432a9f9e108956db05266023 adding locations property to iothub properties * Generated from b11a3ac1fafc172c5933d5e07a47a7ea1d4a1c0f adding locations property * [AutoPR cognitiveservices/data-plane/LUIS/Runtime] Update LUIS Runtime swagger to an auto generated version (#5023) * Generated from cf0eaa1559fc91624956e6ef26fd9880e4fa8dac Update LUIS Runtime swagger to an auto generated version * Generated from 8fa2dd16733bc2e5ebbd946c3ef36566eaac9173 Fix typo * Generated from e5018e39145852f56f01cf34ba0b2d123ae43512 (#5192) fix Go SDK build * Generated from beed92f79dacff0ce3d1a65d3ecf42449d17a47c (#5154) Removed extra comma * [AutoPR alertsmanagement/resource-manager] Adding new resource type for alerts meta data (#5124) * Generated from 54b18e08cf2128fc4e38e8df9c2265b0258f4c5b Alerts meta data api * Generated from 8bea075339dfa1c42ec132437a642cbfe41ba924 Added example for alerts meta data resource type * Generated from 03b411bfd9480ec2cd1fac4ed6db766fb0fc972f Fix value of identifier parameter in examples/AlertsMetaData_MonitorService.json file * Generated from aae2b1fb9427ff969151bffa915ad649e8c9e1c4 Added one more enum value for identifier enum * Generated from 2c415502c8ada9766842b9effcfbdc82705b5578 Added remove added extra enum value for identifier enum * Generated from b687abd9d7d71ca88b49cfe0706eab2b3881efe4 Rename identifier in definitions to metadataIdentifier * Generated from eef581efa40b065e7425c1f553ff210496728c96 Schematic changes * Generated from f34e8084ed14abedcbd12b0270676747bdce3ade Added defination for monitor service * Generated from 7072efc946c175b68891d574306602640c6f3dcc Fix error * Generated from c944c9a2d8a2355147c3d9031b7aeadc4f63e71e (#5201) Fix typos * [AutoPR monitor/resource-manager] BUG fix: Fixing type of MetricValue.Count to be double instead of the incorrect int64 it had before (#5152) * Generated from 060221716b94c8dee61681168e1bd0e0b11d6057 Fixing type of MetricValue.Count to be double instead of the incorrect int64 it had before * Generated from 5251be8f170f543e9763efd1618d814e1df19029 Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs # Conflicts: # specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/activityLogs_API.json # specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsNoParams.json # specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsSelected.json Signed-off-by: Guillermo Calderón_Meza * Generated from dd6210272b93e1b156f4779f9efe24ff3a6d7baa add postgresql 2017-12-01-preview to Go SDK * Generated from 54b65d35ddc25f16a24d0d1710773f5bfe9be66f (#5218) remove PII from examples * Generated from 631cc8ef9ba25eddb465ba207157ff92ab4fa641 (#5182) Task 4855805: ARM swagger update from lockedPriceTotal to billingCurrencyTotal & pricingCurrencyTotal. * [AutoPR datamigration/resource-manager] Adding objects necessary for mapping Oracle schemas and tables to PostgreSQL databases and tables (#5121) * Generated from 835bf096bcbb0db18081cb31338036c70108ccd5 Adding objects necessary for mapping Oracle schemas and tables to PostgreSQL databases and tables. * Generated from 4f5182d37c4186591e8206f751be4c47bb32b08c Adding objects necessary for mapping Oracle schemas and tables to PostgreSQL databases and tables 2 * add documentation for retry policy * add azure devops pipeline * Fixes to devops CI (#5239) * Fixes to devops CI Add devops badge to README Fix lint and vet steps * limit linter to subset of repo fix golint errors * more linter fixes * more linter fixes * add remaining tests * include combined output when running git commands * enable dotglob so hidden dirs are moved * Generated from ac6f48cce33d61bd4fa062a14e49ca27359e3dc4 (#5215) update the preview version for dashboards * Generated from 38bec715e92c9f8bcd1b0e381042194d3261fe58 (#5248) Add missing displayName and domains properties to response of Tenants_List call * [AutoPR securityinsights/resource-manager] Adding AWS CloudTrail to swagger (#4879) * Generated from 2076dae88a963c62b7795a2daf6a27fe8655149e Adding AWS CloudTrail to swagger * Generated from e5834cbce170afa6c7105817e11516a9c8a87d87 Code review notes * Generated from 17fef9afb3f852e4c995221ca5bcc9c7413cf46b Code review notes * Generated from 006f63585ada13a78ac3ab4912789ca2df7186f2 Fixes after merge * Generated from 77190f2dc72106f5ff53ae7617312f90b5b1504b (#5196) Adding cassandra connector properties for cosmos db C* account - enableCassandraConnector - This property, if set to true, will trigger the creation of the cassandra connector CCX pipeline which relicates data from native cassandra nodes to cosmos db C* account connectorOffer - This property specifies the type of connector offer which will vary based on the data size of the native cassandra cluster Validations - Validated cosmos-db.json with autorest from https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cosmos-db/resource-manager Validated using the online schema validator - https://json-schema-validator.herokuapp.com * Generated from 7c89fec7247a2f82d656c863fb37c1d76a08a797 (#5256) Merge branch 'network-may-release' into network-merge # Conflicts: # cSpell.json * Generated from 537e9475d4ec21dcc8ede20cd45ec73f3f20c729 (#5236) Move changes to 2019-04-15 version. * update to latest code generator * [AutoPR cognitiveservices/data-plane/LUIS/Authoring] Updating Authoring for roles (#5052) * Generated from 1ebbe0756b9d941a2db55b94cef3f9350dcf4ca4 Updating Authoring for roles * Generated from d9a45d97ef64e72d6e4f2f3230e4f3a8b5a8b300 Editing role description * [AutoPR storage/resource-manager] [Bug fix] Remove read-only constraint for management policy (#5198) * Generated from 00d9e1b50ab5daed68696f0b0c612e912acde7db [Bug fix] Remove read-only constraint for management policy * Generated from 0e6f149f5338b7fe8256adb51584a22aaecdb407 change type to number * Generated from 870609e2d01b2e64b589a0eb07e938f19282f4f0 Modify description, remove integer * [AutoPR cosmos-db/resource-manager] Fixing incorrectly formatted Cosmos DB list keys response (#5220) * Generated from f8bd523610424b4f132e310df45ccbec4e828e0c fixing Cosmos account keys response * Generated from f8bd523610424b4f132e310df45ccbec4e828e0c fixing Cosmos account keys response * update from latest swaggers and generator (#5280) * update from latest swaggers and generator specs commit 6bb3ebb7d2a71c4be4ded428f5cce6cdba9d1e4b generator version 2.1.134 * update minimum version of go-autorest to 12.3.0 * Generated from 46c41c8144620cf4589763fc14b57b3eef555edf (#5282) Make hyperVGeneration field same as DiskRPs * Generated from 05289ebc4b2be9d8be80218d6bfab65a9848e77a (#5285) remove doller sign from the custome parameter * Generated from 878390cbb0806c9194cc9ceaed923284d2d8f2ac (#5288) Fix mistake * Generated from b1b2d42672f41da7deb0eda1938e589a9149dc2e (#5307) add winiotsvcs stable api * Generated from c2786532a6bf80ceb9cddda5e2c8b8abc09d6b30 (#5305) Update specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/DTL.json Co-Authored-By: Nick Schonning * Generated from 3b992f9396f9c0bc7e34b11696efcffafa92575a (#5297) add network package-2019-06 to Go SDK * Generated from 2f94b8cf4da36f6fe98397e664c08e3ba33bbc69 (#5299) fix: cognitive services create example Empty schema/body for create action * Generated from 5a1381b69f4475b40194c268dc0757b16afe14d9 fix some readme.go.md files * Generated from a23d0bdd515690bb563e778441c8428272e222df fix some readme.go.md files * [AutoPR datafactory/resource-manager] [DataFactory]Add AzurePostgreSql Sink and Oracle/SapTable/Netezza Partitions and Several Relational sets (#5302) * Generated from 286bc89ff8d226f2a683dcb48a896b8ffb3f348e remove SapBwCube and Sybase for investigation * Generated from 75bd5a9689dac5c2bb8f5828cfcb24e1a28a5950 will postpone SapBwSource in another coming PR. * Generated from 7f632e8ccaca0bd5ab8a44832710d1a3cc19e39f refine case of Oracle in description * Merge pull request #5332 from Azure/restapi_auto_compute/resource-manager [AutoPR] compute/resource-manager * Generated from e960466f597159f6f1068890076fd7af6ebe5276 (#5323) Fix readmes for new api version * Generated from 4d76d19845c0c731f32ca830f3ae85d19aa9b90d (#5322) remove id validation * Update swagger_to_sdk_config.json and ignore *.zip files (#5334) * Enable SDK Automation pull requests (#5342) * Generated from e6f95be592d25370ff8f65f315ea6d4a0bdecc7d (#5327) Fixed casing * Generated from b038fea5b8d2c6dd81eed2ac64771d22084389e6 (#5347) Add new property for CORS settings * Generated from 0e0525cb28b7c796be9aa0958d430bc764a78ed4 (#5293) Merge branch 'master' into michal-dev-security-Microsoft.Security-2017-08-01-preview * Generated from 6a6baebbeba91869b69cd39c167816f33025698a try to fix errors * Generated from 94da1e5d069d8e2fe506b842f76ff2bce4eb76a3 more fixes * Generated from 5bb5f32cc3be82f2a180a13dc383bfe609479bc1 merged action rule and ManagedResource to avoid error * Generated from a1396af0177b2d22771ad22650089929bee4e43a undo ManagedResource change, but removed required * Generated from a8f22b87d6a3b06a6d970731514830431986bffa revert some changes that are not essential to fix linter * SDK v32.0.0 (#5361) * v32.0.0 * v32.1.0 (#5415) * [AutoPR cognitiveservices/data-plane/QnAMaker] add QnAMaker runtime to Go SDK (#5368) * Generated from 67a0600b9c098d384b275c79d1ab1b6b870e6e77 add QnAMaker runtime to Go SDK * Generated from 3d6f73607f9caee9054b290237825245306d7408 ensure package directory and namespace match * v32.1.0 * Update profiles and version * Retrieving lose files * Fix table query continuation token (#5423) * update CHANGELOG * [AutoPR hdinsight/resource-manager] [HDInsight] Add Capabilities to Stable API version,Modify ApplicationType,AccessModes to enum (#5291) * Generated from 6fd28f5f0db51b2cf7a71835ac10e3dc2c4cb390 Add Capabilities to stable version, Modify ApplicationType and AccessMode to Enum. In order to be consistent with the response from RP side, add suppression for DefinitionsPropertiesNamesCamelCase * Generated from cef6f97615ded43f65dab5eda4a5837d5ec45621 Add Capabilities to stable version, Modify ApplicationType and AccessMode to Enum. In order to be consistent with the response from RP side, add suppression for DefinitionsPropertiesNamesCamelCase * Generated from a22cf02eb2898daaac88819d82f4ccc1fba62a75 Add Capabilities to stable version, Modify ApplicationType and AccessMode to Enum. In order to be consistent with the response from RP side, add suppression for DefinitionsPropertiesNamesCamelCase * v32.2.0 * Remove duplicated item * [AutoPR subscription/resource-manager] Nasingla/nugetupdate (#5353) * Generated from e7db358c5315df0cb643c73c84078fd751c90031 Update readme.md * Generated from be9b791408e4113c2462d9df4c1b31c7d59dff09 Textual changes * v32.3.0 * Remove empty tables in CHANGELOG * Generated from ca46ecf5c4baeb43c5fc1afb355c065bf49efd90 (#5449) Update OracleAzureDbPostgreSqlSyncTask.json Added "caseManipulation" to MigrateOracleAzureDbPostgreSqlSyncDatabaseInput object * v32.4.0 * Fix links to docs site * Generated from 70862cb4e798bea3905a652d60569cf436a8f0c7 (#5501) Add config for go * v32.5.0 * datalakegen2 endpoints require https (#5572) * datalakegen2 endpoints require https * regenerate with 2.1.136 of autorest.go * Generated from 4e144aa43b738e1792883408252e26570a777706 (#5587) Add codegen config for kusto 2019-05-15 * v32.6.0 * Fix ci failure * v33.0.0 (#5655) * Generated from 76032c5b6d424dceb3a9b03b7df79e009eb5c183 (#5142) Change XxxSetting to XxxSettings in private swagger * [AutoPR netapp/resource-manager] NetApp update swagger for R4.5 (#5123) * Generated from 3eda898774dd0ae7491c1a38535c18dd42489c18 Changing the protocolTypes example * Generated from 3774c22dc6a9601494bd6d033406b97cb403a688 Fix params structure * Generated from fa202ee43cd1263e159ae365977dc2bdb54eb4e3 Fix Swaggers to get the diff working * Generated from 69314a717548234e92ed30fd6fb6caff58b5855b Reverting accidental netapp.json changes * Generated from d85ec8052ee09e19a904c8682ecd71d95a87bfda (#5159) add netapp 2019-06-01 to Go SDK * Generated from 4ad4ff02b733691ce683f3c3d2ca93b04aedefc6 (#5080) typo: batch Double word "Compute" * Generated from 3066b3cc9574f2eec4f7b1a379e0875e14a37f51 (#5162) add authorization 2018-07-01 to Go SDK * Generated from a19a3cb3fe52a5019182778275744a9c3af43993 (#5163) add batch 2019-04-01 to Go SDK * Generated from 3d52a28322664ab7059521562493398366e27ad7 (#5164) add missing alertsmanagement packages to Go SDK * Generated from c3eda289dfe2b94eff37c1654a9abadf4ee3c8ad (#5131) Add enum for tier, osType and filtermode * Add sdk_generation_pull_request_base and main_branch Add sdk_generation_pull_request_base and main_branch properties to swagger_to_sdk_config.json file. * [AutoPR containerregistry/resource-manager] [ACR] Support Overriding Task parameters, support for ContinuationToken [NEW preview API VERSION] (#4995) * Generated from b1e4095ff8268437a5a59a4138ff38c4e31b68f6 Merge branch 'master' into shahzzam/add-2019-06-01 * Generated from 701efa178e7cc3846724dbdb9c2cdf430c7009ce address comments * Generated from f98449d1950d58d1919373e5b5f456b6a3d45e58 (#5177) introducing the SqlManagement * [AutoPR healthcareapis/resource-manager] [Hub Generated] Review request for Microsoft.HealthcareApis to add version preview/2018-08-20-preview (#4966) * Generated from 861e08e366cff1f1318a69d39841f25bee90c963 Merge branch 'master' into dev-healthcareapis-Microsoft.HealthcareApis-2018-08-20-preview * Generated from 263297a3c3cec666d65515309b679913e4f9559d Remove uuid format from subscriptionid as no other RP does this and it is causing issues with the .net SDK * Generated from e8dd45240d9e1b579ccd155e0e6c811c764eb214 (#5079) typo: botservice Double word "service" * [AutoPR migrateprojects/resource-manager] [Do not merge] Swagger closure for Azure Migration Hub (#4889) * Generated from a43ead519af3db80da7e7705153ce3deb58a47c9 Fixing SDK errors * Generated from a683481c06274ab035589605b5450232c2adc22f Changing the resource names to camel case as per ARM review * [AutoPR iothub/resource-manager] [Hub Generated] Review request for Microsoft.Devices to add version preview/2019-03-22-preview (#5149) * Generated from a2660396e04a6551432a9f9e108956db05266023 adding locations property to iothub properties * Generated from b11a3ac1fafc172c5933d5e07a47a7ea1d4a1c0f adding locations property * [AutoPR cognitiveservices/data-plane/LUIS/Runtime] Update LUIS Runtime swagger to an auto generated version (#5023) * Generated from cf0eaa1559fc91624956e6ef26fd9880e4fa8dac Update LUIS Runtime swagger to an auto generated version * Generated from 8fa2dd16733bc2e5ebbd946c3ef36566eaac9173 Fix typo * Generated from e5018e39145852f56f01cf34ba0b2d123ae43512 (#5192) fix Go SDK build * Generated from beed92f79dacff0ce3d1a65d3ecf42449d17a47c (#5154) Removed extra comma * [AutoPR alertsmanagement/resource-manager] Adding new resource type for alerts meta data (#5124) * Generated from 54b18e08cf2128fc4e38e8df9c2265b0258f4c5b Alerts meta data api * Generated from 8bea075339dfa1c42ec132437a642cbfe41ba924 Added example for alerts meta data resource type * Generated from 03b411bfd9480ec2cd1fac4ed6db766fb0fc972f Fix value of identifier parameter in examples/AlertsMetaData_MonitorService.json file * Generated from aae2b1fb9427ff969151bffa915ad649e8c9e1c4 Added one more enum value for identifier enum * Generated from 2c415502c8ada9766842b9effcfbdc82705b5578 Added remove added extra enum value for identifier enum * Generated from b687abd9d7d71ca88b49cfe0706eab2b3881efe4 Rename identifier in definitions to metadataIdentifier * Generated from eef581efa40b065e7425c1f553ff210496728c96 Schematic changes * Generated from f34e8084ed14abedcbd12b0270676747bdce3ade Added defination for monitor service * Generated from 7072efc946c175b68891d574306602640c6f3dcc Fix error * Generated from c944c9a2d8a2355147c3d9031b7aeadc4f63e71e (#5201) Fix typos * [AutoPR monitor/resource-manager] BUG fix: Fixing type of MetricValue.Count to be double instead of the incorrect int64 it had before (#5152) * Generated from 060221716b94c8dee61681168e1bd0e0b11d6057 Fixing type of MetricValue.Count to be double instead of the incorrect int64 it had before * Generated from 5251be8f170f543e9763efd1618d814e1df19029 Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs # Conflicts: # specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/activityLogs_API.json # specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsNoParams.json # specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsSelected.json Signed-off-by: Guillermo Calderón_Meza * Generated from dd6210272b93e1b156f4779f9efe24ff3a6d7baa add postgresql 2017-12-01-preview to Go SDK * Generated from 54b65d35ddc25f16a24d0d1710773f5bfe9be66f (#5218) remove PII from examples * Generated from 631cc8ef9ba25eddb465ba207157ff92ab4fa641 (#5182) Task 4855805: ARM swagger update from lockedPriceTotal to billingCurrencyTotal & pricingCurrencyTotal. * [AutoPR datamigration/resource-manager] Adding objects necessary for mapping Oracle schemas and tables to PostgreSQL databases and tables (#5121) * Generated from 835bf096bcbb0db18081cb31338036c70108ccd5 Adding objects necessary for mapping Oracle schemas and tables to PostgreSQL databases and tables. * Generated from 4f5182d37c4186591e8206f751be4c47bb32b08c Adding objects necessary for mapping Oracle schemas and tables to PostgreSQL databases and tables 2 * add documentation for retry policy * add azure devops pipeline * Fixes to devops CI (#5239) * Fixes to devops CI Add devops badge to README Fix lint and vet steps * limit linter to subset of repo fix golint errors * more linter fixes * more linter fixes * add remaining tests * include combined output when running git commands * enable dotglob so hidden dirs are moved * Generated from ac6f48cce33d61bd4fa062a14e49ca27359e3dc4 (#5215) update the preview version for dashboards * Generated from 38bec715e92c9f8bcd1b0e381042194d3261fe58 (#5248) Add missing displayName and domains properties to response of Tenants_List call * [AutoPR securityinsights/resource-manager] Adding AWS CloudTrail to swagger (#4879) * Generated from 2076dae88a963c62b7795a2daf6a27fe8655149e Adding AWS CloudTrail to swagger * Generated from e5834cbce170afa6c7105817e11516a9c8a87d87 Code review notes * Generated from 17fef9afb3f852e4c995221ca5bcc9c7413cf46b Code review notes * Generated from 006f63585ada13a78ac3ab4912789ca2df7186f2 Fixes after merge * Generated from 77190f2dc72106f5ff53ae7617312f90b5b1504b (#5196) Adding cassandra connector properties for cosmos db C* account - enableCassandraConnector - This property, if set to true, will trigger the creation of the cassandra connector CCX pipeline which relicates data from native cassandra nodes to cosmos db C* account connectorOffer - This property specifies the type of connector offer which will vary based on the data size of the native cassandra cluster Validations - Validated cosmos-db.json with autorest from https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cosmos-db/resource-manager Validated using the online schema validator - https://json-schema-validator.herokuapp.com * Generated from 7c89fec7247a2f82d656c863fb37c1d76a08a797 (#5256) Merge branch 'network-may-release' into network-merge # Conflicts: # cSpell.json * Generated from 537e9475d4ec21dcc8ede20cd45ec73f3f20c729 (#5236) Move changes to 2019-04-15 version. * update to latest code generator * [AutoPR cognitiveservices/data-plane/LUIS/Authoring] Updating Authoring for roles (#5052) * Generated from 1ebbe0756b9d941a2db55b94cef3f9350dcf4ca4 Updating Authoring for roles * Generated from d9a45d97ef64e72d6e4f2f3230e4f3a8b5a8b300 Editing role description * [AutoPR storage/resource-manager] [Bug fix] Remove read-only constraint for management policy (#5198) * Generated from 00d9e1b50ab5daed68696f0b0c612e912acde7db [Bug fix] Remove read-only constraint for management policy * Generated from 0e6f149f5338b7fe8256adb51584a22aaecdb407 change type to number * Generated from 870609e2d01b2e64b589a0eb07e938f19282f4f0 Modify description, remove integer * [AutoPR cosmos-db/resource-manager] Fixing incorrectly formatted Cosmos DB list keys response (#5220) * Generated from f8bd523610424b4f132e310df45ccbec4e828e0c fixing Cosmos account keys response * Generated from f8bd523610424b4f132e310df45ccbec4e828e0c fixing Cosmos account keys response * update from latest swaggers and generator (#5280) * update from latest swaggers and generator specs commit 6bb3ebb7d2a71c4be4ded428f5cce6cdba9d1e4b generator version 2.1.134 * update minimum version of go-autorest to 12.3.0 * Generated from 46c41c8144620cf4589763fc14b57b3eef555edf (#5282) Make hyperVGeneration field same as DiskRPs * Generated from 05289ebc4b2be9d8be80218d6bfab65a9848e77a (#5285) remove doller sign from the custome parameter * Generated from 878390cbb0806c9194cc9ceaed923284d2d8f2ac (#5288) Fix mistake * Generated from b1b2d42672f41da7deb0eda1938e589a9149dc2e (#5307) add winiotsvcs stable api * Generated from c2786532a6bf80ceb9cddda5e2c8b8abc09d6b30 (#5305) Update specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/DTL.json Co-Authored-By: Nick Schonning * Generated from 3b992f9396f9c0bc7e34b11696efcffafa92575a (#5297) add network package-2019-06 to Go SDK * Generated from 2f94b8cf4da36f6fe98397e664c08e3ba33bbc69 (#5299) fix: cognitive services create example Empty schema/body for create action * Generated from 5a1381b69f4475b40194c268dc0757b16afe14d9 fix some readme.go.md files * Generated from a23d0bdd515690bb563e778441c8428272e222df fix some readme.go.md files * [AutoPR datafactory/resource-manager] [DataFactory]Add AzurePostgreSql Sink and Oracle/SapTable/Netezza Partitions and Several Relational sets (#5302) * Generated from 286bc89ff8d226f2a683dcb48a896b8ffb3f348e remove SapBwCube and Sybase for investigation * Generated from 75bd5a9689dac5c2bb8f5828cfcb24e1a28a5950 will postpone SapBwSource in another coming PR. * Generated from 7f632e8ccaca0bd5ab8a44832710d1a3cc19e39f refine case of Oracle in description * Merge pull request #5332 from Azure/restapi_auto_compute/resource-manager [AutoPR] compute/resource-manager * Generated from e960466f597159f6f1068890076fd7af6ebe5276 (#5323) Fix readmes for new api version * Generated from 4d76d19845c0c731f32ca830f3ae85d19aa9b90d (#5322) remove id validation * Update swagger_to_sdk_config.json and ignore *.zip files (#5334) * Enable SDK Automation pull requests (#5342) * Generated from e6f95be592d25370ff8f65f315ea6d4a0bdecc7d (#5327) Fixed casing * Generated from b038fea5b8d2c6dd81eed2ac64771d22084389e6 (#5347) Add new property for CORS settings * Generated from 0e0525cb28b7c796be9aa0958d430bc764a78ed4 (#5293) Merge branch 'master' into michal-dev-security-Microsoft.Security-2017-08-01-preview * Generated from 6a6baebbeba91869b69cd39c167816f33025698a try to fix errors * Generated from 94da1e5d069d8e2fe506b842f76ff2bce4eb76a3 more fixes * Generated from 5bb5f32cc3be82f2a180a13dc383bfe609479bc1 merged action rule and ManagedResource to avoid error * Generated from a1396af0177b2d22771ad22650089929bee4e43a undo ManagedResource change, but removed required * Generated from a8f22b87d6a3b06a6d970731514830431986bffa revert some changes that are not essential to fix linter * SDK v32.0.0 (#5361) * Generated from 35a02241fae4c1c2202bfa24fcd22fcf8285dbe3 (#5359) fix: applicationinsights delete examples Empty schema object was passing the empty string body in examples. * [AutoPR hdinsight/resource-manager] [HDInsight] Add Capabilities to Stable API version,Modify ApplicationType,AccessModes to enum (#5291) * Generated from 6fd28f5f0db51b2cf7a71835ac10e3dc2c4cb390 Add Capabilities to stable version, Modify ApplicationType and AccessMode to Enum. In order to be consistent with the response from RP side, add suppression for DefinitionsPropertiesNamesCamelCase * Generated from cef6f97615ded43f65dab5eda4a5837d5ec45621 Add Capabilities to stable version, Modify ApplicationType and AccessMode to Enum. In order to be consistent with the response from RP side, add suppression for DefinitionsPropertiesNamesCamelCase * Generated from a22cf02eb2898daaac88819d82f4ccc1fba62a75 Add Capabilities to stable version, Modify ApplicationType and AccessMode to Enum. In order to be consistent with the response from RP side, add suppression for DefinitionsPropertiesNamesCamelCase * Generated from 2e78b5cbe1e0ef6676f9d9c3266b48cfe87403fd (#5375) fix typo * [AutoPR subscription/resource-manager] Nasingla/nugetupdate (#5353) * Generated from e7db358c5315df0cb643c73c84078fd751c90031 Update readme.md * Generated from be9b791408e4113c2462d9df4c1b31c7d59dff09 Textual changes * Generated from 70b51057c4cca0cdb6a743b4e02f39c132121570 Removing monitoring hana instance API * [AutoPR datafactory/resource-manager] Enable Avro Dataset in public swagger (#5385) * Generated from ec112148bf30430557ff3fac0c74f0706b1042de Enable Avro Dataset in public swagger * Generated from e41431428e45beaa5bbb12344d3332479c095e31 UPDATE * Generated from 1399f090601abea10de38ae50242895878947a74 (#5390) Add paramref into custom-words.txt * [AutoPR security/resource-manager] Set IoTSecuritySolutions & IoTSecuritySolutionAnalytics API as stable (#5365) * Generated from 4d6fbc52713c0423aa04f74ae330867fac488b86 Set IoTSecuritySolutions & IoTSecuritySolutionAnalytics API as stable * Generated from de032ab9863bb6d4e12b9796f64508fd4bb16f88 Merge branch 'dev-security-Microsoft.Security-2019-01-01' of https://github.com/hagba/azure-rest-api-specs into dev-security-Microsoft.Security-2019-01-01 * Generated from e763a96421ef60d69bbae038d008c08002f16359 remove paging support from IoTSecurityDeviceRecommendationsList * Generated from dea80a5e1da4b383480342bba4eca97ba55c053b remove paging from IoTSecurityAlertedDevicesList * [AutoPR healthcareapis/resource-manager] Update the possible Kind values to include FHIR R4 (#5373) * Generated from 826fa53d7867187b6e9d792b078ecd96683b532f Update the possible Kind values to include FHIR R4 * Generated from 00bea838e7cf9ff216f7dd02d5c41ac708db6c9b Fix fhir kind enum description to mention new values * Generated from 9c61d69a19c13e40a8468ea21c909aa677ac4678 (#5346) Task 4957070: ARM swagger update to include term in get reservation response. * Generated from 4b9ce59c5d971851a46d1fa96ccfb4851bf6c83c Add new API version 2019-08-01 * Generated from 5f2e092020964aa9d7d397494b0d3e9f8676a14f fixing subscription id issue * Generated from baf9fdde3c8be9ab59bae147d5d40e99cff46756 (#5320) Added preview specification in generated paths * Generated from 368b5914a375e09ef413285c932b72038a8af7e4 (#5386) fix: sql preview model validation errors - Remove empty "body" for RESPONSE_SCHEMA_NOT_IN_SPEC errors - IsAzureMonitorTargetEnabled -> isAzureMonitorTargetEnabled - "State" -> "state" - emailAccountAdmins "true" -> true - Add 202 response for RestorePoints_Create - password -> certPassword for ManagedInstanceTdeCertificates_Create and TdeCertificates_Create * Tooling fixes (#5400) Return empty slice when no tags are found. Added module version string validation. Added optional arg 'initial module version' to versioner tool. * First commit of major-updater tool * Add autorest in parallel * Make subworks sub-commands * Add afterscript * Fixed operation order * Some refine * Refine output * Refine output * Fix bug in dep * Add afterscripts and lisence header * Fixed a bug with relative path * gofmt fix * Simplify * [AutoPR] hdinsight/resource-manager (#5396) * [AutoPR hdinsight/resource-manager] [HDInsight] Add Capabilities to Stable API version,Modify ApplicationType,AccessModes to enum (#5291) * Generated from 6fd28f5f0db51b2cf7a71835ac10e3dc2c4cb390 Add Capabilities to stable version, Modify ApplicationType and AccessMode to Enum. In order to be consistent with the response from RP side, add suppression for DefinitionsPropertiesNamesCamelCase * Generated from cef6f97615ded43f65dab5eda4a5837d5ec45621 Add Capabilities to stable version, Modify ApplicationType and AccessMode to Enum. In order to be consistent with the response from RP side, add suppression for DefinitionsPropertiesNamesCamelCase * Generated from a22cf02eb2898daaac88819d82f4ccc1fba62a75 Add Capabilities to stable version, Modify ApplicationType and AccessMode to Enum. In order to be consistent with the response from RP side, add suppression for DefinitionsPropertiesNamesCamelCase * Generated from 18e8f73649a26d6acdba575f35b0e3af6fe3cd8c (#5381) Problem: in previous pr #6665 we modify accessModes and applicationType to enum, this will bring breaking change in java sdk. Solution: remove the two enum, change it to string type * [AutoPR] datafactory/resource-manager (#5405) * [AutoPR datafactory/resource-manager] Enable Avro Dataset in public swagger (#5385) * Generated from ec112148bf30430557ff3fac0c74f0706b1042de Enable Avro Dataset in public swagger * Generated from e41431428e45beaa5bbb12344d3332479c095e31 UPDATE * Generated from 1399f090601abea10de38ae50242895878947a74 (#5390) Add paramref into custom-words.txt * Generated from 814795cce5766e56d08e877d7f359c2d6380a8be (#5411) update example * [AutoPR cognitiveservices/data-plane/QnAMaker] add QnAMaker runtime to Go SDK (#5368) * Generated from 67a0600b9c098d384b275c79d1ab1b6b870e6e77 add QnAMaker runtime to Go SDK * Generated from 3d6f73607f9caee9054b290237825245306d7408 ensure package directory and namespace match * [AutoPR compute/resource-manager] Add terminate profile and scheduled events profile to Microsoft.Compute (#5310) * Generated from 9bb1d5b7f21a0e03e97ce3817554307244d45422 Correct definition format * Generated from 49bbc9237680dc7963f9d24f7cde1d05e8f14260 Merge branch 'master' into dev/szimmer/AddTerminateProfile * [AutoPR compute/resource-manager] Add missing Gallery Application API in 2019-07-01 version (#5354) * Generated from 01293ebd64fa96d11d30d9b0ef1391cbe8e62443 Add missing Gallery Application API in 2019-07-01 version * Generated from 6637309053b80e0b62b01f1c240d72749e30f1c2 Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs * Generated from 1929243cc853b5f21c5e6cef8a2867fb4d26b4dc (#5421) updating description - clarify encryption enabled by default * Generated from 3061f166bc14a327fd8506ee1b85f966db9d26fb (#5424) chore: jsonfmt logic * [AutoPR logic/resource-manager] RosettaNet Process configuration apis (#5416) * Generated from eaa9b184f467a7f80c8044d487a72d596b45fbc9 updated examples path * Generated from 68568e93d6bc5b687899488523cade3f66893779 fixes CI errors Fixed casing as required by CI * Generated from 3cd428eebae03353ad64c51526318c1890219a15 merge conflicts * Generated from b2fdc8872f13016495f8cf26d31ed4e902ee1a9e removed breaking changes * Generated from 901423e3e7dee55389f4fcc9fc5d7c793fa202ae pr feedback * Generated from 2838c1142bf4bf7b382e819cfe73e3dfcc2794d7 Merge branch 'master' into AzureLogic-rosettanet-apis * [AutoPR cognitiveservices/data-plane/InkRecognizer] [Hub Generated] Review request for InkRecognizer to add version preview/v1.0 (#5372) * Generated from 34c67e4beeb3721701921ded0f374c834723b2f7 re-naming inputDevice to inputDeviceKind * Generated from ae13f3bcaab268fc0365a1e0452535827d2bda64 Update specification/cognitiveservices/data-plane/InkRecognizer/preview/v1.0/InkRecognizer.json Co-Authored-By: Nick Schonning * [AutoPR compute/resource-manager] add HyperVGeneation in GetVMImage (#5344) * Generated from 4b3b012a4c684afd2e931bb2ac4c01bbf894eec4 add HyperVGeneation in SharedVMImageVersion * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * Generated from bcef281153fa689dac376755754aed8aac925815 (#5313) fix: servicefabric character encoding * Fix table query continuation token (#5423) * When aborting with error, delete the branch just created (if exists) * Change Delete to DeleteBranch for explicity * Generated from e2aaa71c099725ee90c36c388f88398bc33c000c (#5436) Merge https://github.com/Azure/azure-rest-api-specs * Merge pull request #5439 from Azure/restapi_auto_portal/resource-manager [AutoPR] portal/resource-manager * Generated from a415a4352bc3818452589c8eed1e9e4be1cb8260 (#5442) Update Tasks.json Fixed incorrect discriminator for Oracle to PostgreSQL scenario. * Generated from ca46ecf5c4baeb43c5fc1afb355c065bf49efd90 (#5449) Update OracleAzureDbPostgreSqlSyncTask.json Added "caseManipulation" to MigrateOracleAzureDbPostgreSqlSyncDatabaseInput object * Generated from b3623415bfb03b5a528c8a2a20caad53aba43ce2 Adding managed resource group and log Analytics Workspace to the GET API * Generated from f1354d954d03c2283656d3c820a88dcfc2ddf79e Updating fields in the list and patch APIs * Generated from df3fa85139fca07f04373031470bed637e7b8126 Update Batch Swagger documentation * [AutoPR servicefabric/resource-manager] Moving sfrp release 2019-03-01 to stable (#5314) * Generated from b1a5bbf475639da8e8bf4783ba33a4af17caa08c remove location and tags from proxyResource * Generated from 14c9abcc8bd1b6e9635a60226e3966b774951e28 Revert "remove location and tags from proxyResource" This reverts commit b1a5bbf475639da8e8bf4783ba33a4af17caa08c. * Generated from 2380d7af2f3e2d507c5486d8fb6abfd816a65bed change location description in ProxyResource to dcument as deprecated * Generated from 17ffb0840e98cd725c5c999160787b8605c414d6 rename put operations to *_CreateOrUpdate * Generated from e8805bf5ca1ff7c125b84a637eb483af9efd5ff5 (#5459) add readme go * Generated from 27e7dd3c7e4a6b855c902cfaf35380e273760cde (#5462) Update readme.md files missed from previous commit * Generated from 3acbc3b4106db3097de5be5e4df47afb38d51ec0 (#5473) Use cors definition from blob.json * Generated from 408cd70f35f18e81fc46aa6538822c850bd8ced4 (#5489) Updating the skus names and clarified capacity description * [AutoPR containerservice/resource-manager] [Hub Generated] Review request for Microsoft.ContainerService to add version stable/2019-08-01 (#5444) * Generated from 9e6d4ac959af23add7e84ec0531c0643e3bde433 Update tags for 2019-08-01 SDK generation * Generated from 2307de018692dde013d3bf3ed0557c6d8f84519d Add private link resources * Generated from 9e6d4ac959af23add7e84ec0531c0643e3bde433 Update tags for 2019-08-01 SDK generation * Generated from 70862cb4e798bea3905a652d60569cf436a8f0c7 (#5501) Add config for go * Generated from faa8f71aa05aaed68631716cc9ef24451d760b3e (#5465) remove redundent schema reference * [AutoPR recoveryservicesbackup/resource-manager] Adding non mandatory fields in ProtectedItem and AzureVmWorkloadProte… (#5392) * Generated from 142bb9d9a841dde1be669e35ba1586138ed1a599 Adding non mandatory fields in ProtectedItem and AzureVmWorkloadProtectionPolicy Adding additional fields for ProtectedItem related to soft delete feature ; description of each field is in the fields. In AzureVmWorkloadProtectionPolicy adding another field for fixup of policy * Generated from ad48ba50e1864e1adb4845d4bbf73ee192354cde Rehydrate removal from description Rehydrated is not in dictionary of swagger valiation and thus removed from description * Generated from bd73c95f36f3758171783a5b37b8e097b9726524 Updating the Field for deferred deleted Time Updating the new field for deleted time in ProtectedItem while keeping the syncTime for MABfileFolderProtectedItem * Generated from ac509691885fb8f4bf7e0cec8219571c0dfd23ac Undo change to AzureVmWorkloadProtectionPolicy Removed the change to AzureVmWorkloadProtectionPolicy as this requires new api version * Generated from d0e65933a9e0764079436e3f000fe80796479542 Fixing camelcasing Camelcasing of isDeferredDeleteScheduleUpcoming field * Generated from dea881c0a4daf7b8a1472e9e33efffdd6247d0de (#5529) Add missing json to package-composite-v2, package-composite-v1, package-pure-2017-03-preview and package-2017-03-preview * [AutoPR billing/resource-manager] [Do not merge] [Microsoft.Billing] Customers resource for partner-channel (#5343) * Generated from 7f7f0f2009acea6f3d52c4e1f8f4f4af37b5ae5b Update examples. * Generated from 967632713b1ea0e839baef7d47f3f857923f9ad1 Fix reseller property on billingSubscription. * compute/resource-manager] Swagger: Allowing for VMSS reference during VM creation (#5408) * Generated from 547a98bc34516d8788adff951ebd929d8d5125ae Swagger: Allowing for VMSS reference during VM creation * Generated from 2723517c6c29f1c6945bdf05b9c4e42f85159011 fixing typo * Generated from 004d77657b470329193715edd882bc1934d0785a (#5534) Fix bad discriminator value on ConnectionInfo which was breaking node/js SDK generation * Generated from 7c78ea20f697176d9e9017b076e0dc76e09aa303 Update custom-words.txt * Generated from f1ef9612fd56160b7976caeae1830276cd848761 (#5547) fix bad 'unknown' discriminator value in the rest of our datamigration models * Generated from 92b46a61425bf808ff7b4ffef9d3bb063713558b (#5531) Mark ownerEmail as required properties for workspace RP * Update to latest Go code generator (#5583) * [AutoPR hanaonazure/resource-manager] Added Key Vault ID for GET and LIST SapMonitor (#5410) * Generated from b39adb6b69cc5d847e3158430da68bfe4b935ec2 Added Key Vault ID for GET and LIST SapMonitor * Generated from c5d2bc253fb4880b9543bd5edb6a38138fb40e64 Added Key Vault ID for GET and LIST SapMonitor * datalakegen2 endpoints require https (#5572) * datalakegen2 endpoints require https * regenerate with 2.1.136 of autorest.go * Generated from 27425d2151bbc9609e18833c5479739f8266de47 (#5538) Update readme.md * Generated from a9e6716031821eff25f2cbb422960fa56742c0e9 (#5586) Merge branch 'master' into akpati/ssh-property-change * [AutoPR containerregistry/resource-manager] [ACR] Update retention policy schema (#5571) * Generated from 1afeec1884ccf139e6c1bda82ab81227b3df9d2b update retention policy schema * Generated from c136d1fcf1a161f68944223dad032c4407154c6f remove unnecessary breaking change * Generated from 287fcbfdc1fc8b0926588963393574052e0bb9ed fix typo * Merge pull request #5610 from Azure/restapi_auto_reservations/resource-manager [AutoPR] reservations/resource-manager * Generated from 4e144aa43b738e1792883408252e26570a777706 (#5587) Add codegen config for kusto 2019-05-15 * [AutoPR resources/resource-manager] Adding a new api version 2019-06-01 for Microsoft.Authorization policy artifacts (#5585) * Generated from 75581e4277112188117db523a260ae818d949523 added stable/2019-06-01 version for Authorization RP * Generated from edd74f0a1be6f17caa185525a63e594aef956acc Addressed review comments. * Merge pull request #5622 from Azure/restapi_auto_storage/resource-manager [AutoPR] storage/resource-manager * Generated from 65b2f8a37695f3d9cf53c50a05a61c4179857199 (#5605) updated readme with correct version. * Change log level from verbose to normal * Minor change * v33.0.0 draft * Fix vet failure * Update readme * v33.0.0 * Fix vet error * [AutoPR storagecache/resource-manager] Dev storagecache microsoft.storagecache 2019 06 01 preview (#5623) * Generated from 570b6f73542c34f1eb0ab0a85e44b4d929ff55b6 Fix output folder path for GO SDK and fix typo in Tag * Generated from 908e3cd2e18a38be0711e03035c7acdc7ab6d1f2 Fix version in the path of output folder for GO SDK * Generated from 10811b8f33c5e36350b618955cdd8edc9dd67c11 (#5673) Fix bad package name for storagecache in go sdk * Fix bad package name * Fix profile and fmt * v33.1.0 * Generated from b621ede227cd29651b1712782d964373fc2da6ec (#5717) Quick fix * v33.2.0 * Generated from latest specs of network * Generated from af961540f808cb651ddb1dbac08619eafc06330e (#5789) Add 2019-07 version to network go code generation * v33.3.0 * Generated from latest sql swagger * Add sql to v33.3.0 * Generated from 34d744550227bee7b380604d38fc1de6c9af6397 (#5708) Update netapp.json * v33.4.0 * v34.0.0 release (#5919) * Generated from 76032c5b6d424dceb3a9b03b7df79e009eb5c183 (#5142) Change XxxSetting to XxxSettings in private swagger * [AutoPR netapp/resource-manager] NetApp update swagger for R4.5 (#5123) * Generated from 3eda898774dd0ae7491c1a38535c18dd42489c18 Changing the protocolTypes example * Generated from 3774c22dc6a9601494bd6d033406b97cb403a688 Fix params structure * Generated from fa202ee43cd1263e159ae365977dc2bdb54eb4e3 Fix Swaggers to get the diff working * Generated from 69314a717548234e92ed30fd6fb6caff58b5855b Reverting accidental netapp.json changes * Generated from d85ec8052ee09e19a904c8682ecd71d95a87bfda (#5159) add netapp 2019-06-01 to Go SDK * Generated from 4ad4ff02b733691ce683f3c3d2ca93b04aedefc6 (#5080) typo: batch Double word "Compute" * Generated from 3066b3cc9574f2eec4f7b1a379e0875e14a37f51 (#5162) add authorization 2018-07-01 to Go SDK * Generated from a19a3cb3fe52a5019182778275744a9c3af43993 (#5163) add batch 2019-04-01 to Go SDK * Generated from 3d52a28322664ab7059521562493398366e27ad7 (#5164) add missing alertsmanagement packages to Go SDK * Generated from c3eda289dfe2b94eff37c1654a9abadf4ee3c8ad (#5131) Add enum for tier, osType and filtermode * Add sdk_generation_pull_request_base and main_branch Add sdk_generation_pull_request_base and main_branch properties to swagger_to_sdk_config.json file. * [AutoPR containerregistry/resource-manager] [ACR] Support Overriding Task parameters, support for ContinuationToken [NEW preview API VERSION] (#4995) * Generated from b1e4095ff8268437a5a59a4138ff38c4e31b68f6 Merge branch 'master' into shahzzam/add-2019-06-01 * Generated from 701efa178e7cc3846724dbdb9c2cdf430c7009ce address comments * Generated from f98449d1950d58d1919373e5b5f456b6a3d45e58 (#5177) introducing the SqlManagement * [AutoPR healthcareapis/resource-manager] [Hub Generated] Review request for Microsoft.HealthcareApis to add version preview/2018-08-20-preview (#4966) * Generated from 861e08e366cff1f1318a69d39841f25bee90c963 Merge branch 'master' into dev-healthcareapis-Microsoft.HealthcareApis-2018-08-20-preview * Generated from 263297a3c3cec666d65515309b679913e4f9559d Remove uuid format from subscriptionid as no other RP does this and it is causing issues with the .net SDK * Generated from e8dd45240d9e1b579ccd155e0e6c811c764eb214 (#5079) typo: botservice Double word "service" * [AutoPR migrateprojects/resource-manager] [Do not merge] Swagger closure for Azure Migration Hub (#4889) * Generated from a43ead519af3db80da7e7705153ce3deb58a47c9 Fixing SDK errors * Generated from a683481c06274ab035589605b5450232c2adc22f Changing the resource names to camel case as per ARM review * [AutoPR iothub/resource-manager] [Hub Generated] Review request for Microsoft.Devices to add version preview/2019-03-22-preview (#5149) * Generated from a2660396e04a6551432a9f9e108956db05266023 adding locations property to iothub properties * Generated from b11a3ac1fafc172c5933d5e07a47a7ea1d4a1c0f adding locations property * [AutoPR cognitiveservices/data-plane/LUIS/Runtime] Update LUIS Runtime swagger to an auto generated version (#5023) * Generated from cf0eaa1559fc91624956e6ef26fd9880e4fa8dac Update LUIS Runtime swagger to an auto generated version * Generated from 8fa2dd16733bc2e5ebbd946c3ef36566eaac9173 Fix typo * Generated from e5018e39145852f56f01cf34ba0b2d123ae43512 (#5192) fix Go SDK build * Generated from beed92f79dacff0ce3d1a65d3ecf42449d17a47c (#5154) Removed extra comma * [AutoPR alertsmanagement/resource-manager] Adding new resource type for alerts meta data (#5124) * Generated from 54b18e08cf2128fc4e38e8df9c2265b0258f4c5b Alerts meta data api * Generated from 8bea075339dfa1c42ec132437a642cbfe41ba924 Added example for alerts meta data resource type * Generated from 03b411bfd9480ec2cd1fac4ed6db766fb0fc972f Fix value of identifier parameter in examples/AlertsMetaData_MonitorService.json file * Generated from aae2b1fb9427ff969151bffa915ad649e8c9e1c4 Added one more enum value for identifier enum * Generated from 2c415502c8ada9766842b9effcfbdc82705b5578 Added remove added extra enum value for identifier enum * Generated from b687abd9d7d71ca88b49cfe0706eab2b3881efe4 Rename identifier in definitions to metadataIdentifier * Generated from eef581efa40b065e7425c1f553ff210496728c96 Schematic changes * Generated from f34e8084ed14abedcbd12b0270676747bdce3ade Added defination for monitor service * Generated from 7072efc946c175b68891d574306602640c6f3dcc Fix error * Generated from c944c9a2d8a2355147c3d9031b7aeadc4f63e71e (#5201) Fix typos * [AutoPR monitor/resource-manager] BUG fix: Fixing type of MetricValue.Count to be double instead of the incorrect int64 it had before (#5152) * Generated from 060221716b94c8dee61681168e1bd0e0b11d6057 Fixing type of MetricValue.Count to be double instead of the incorrect int64 it had before * Generated from 5251be8f170f543e9763efd1618d814e1df19029 Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs # Conflicts: # specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/activityLogs_API.json # specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsNoParams.json # specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsSelected.json Signed-off-by: Guillermo Calderón_Meza * Generated from dd6210272b93e1b156f4779f9efe24ff3a6d7baa add postgresql 2017-12-01-preview to Go SDK * Generated from 54b65d35ddc25f16a24d0d1710773f5bfe9be66f (#5218) remove PII from examples * Generated from 631cc8ef9ba25eddb465ba207157ff92ab4fa641 (#5182) Task 4855805: ARM swagger update from lockedPriceTotal to billingCurrencyTotal & pricingCurrencyTotal. * [AutoPR datamigration/resource-manager] Adding objects necessary for mapping Oracle schemas and tables to PostgreSQL databases and tables (#5121) * Generated from 835bf096bcbb0db18081cb31338036c70108ccd5 Adding objects necessary for mapping Oracle schemas and tables to PostgreSQL databases and tables. * Generated from 4f5182d37c4186591e8206f751be4c47bb32b08c Adding objects necessary for mapping Oracle schemas and tables to PostgreSQL databases and tables 2 * add documentation for retry policy * add azure devops pipeline * Fixes to devops CI (#5239) * Fixes to devops CI Add devops badge to README Fix lint and vet steps * limit linter to subset of repo fix golint errors * more linter fixes * more linter fixes * add remaining tests * include combined output when running git commands * enable dotglob so hidden dirs are moved * Generated from ac6f48cce33d61bd4fa062a14e49ca27359e3dc4 (#5215) update the preview version for dashboards * Generated from 38bec715e92c9f8bcd1b0e381042194d3261fe58 (#5248) Add missing displayName and domains properties to response of Tenants_List call * [AutoPR securityinsights/resource-manager] Adding AWS CloudTrail to swagger (#4879) * Generated from 2076dae88a963c62b7795a2daf6a27fe8655149e Adding AWS CloudTrail to swagger * Generated from e5834cbce170afa6c7105817e11516a9c8a87d87 Code review notes * Generated from 17fef9afb3f852e4c995221ca5bcc9c7413cf46b Code review notes * Generated from 006f63585ada13a78ac3ab4912789ca2df7186f2 Fixes after merge * Generated from 77190f2dc72106f5ff53ae7617312f90b5b1504b (#5196) Adding cassandra connector properties for cosmos db C* account - enableCassandraConnector - This property, if set to true, will trigger the creation of the cassandra connector CCX pipeline which relicates data from native cassandra nodes to cosmos db C* account connectorOffer - This property specifies the type of connector offer which will vary based on the data size of the native cassandra cluster Validations - Validated cosmos-db.json with autorest from https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cosmos-db/resource-manager Validated using the online schema validator - https://json-schema-validator.herokuapp.com * Generated from 7c89fec7247a2f82d656c863fb37c1d76a08a797 (#5256) Merge branch 'network-may-release' into network-merge # Conflicts: # cSpell.json * Generated from 537e9475d4ec21dcc8ede20cd45ec73f3f20c729 (#5236) Move changes to 2019-04-15 version. * update to latest code generator * [AutoPR cognitiveservices/data-plane/LUIS/Authoring] Updating Authoring for roles (#5052) * Generated from 1ebbe0756b9d941a2db55b94cef3f9350dcf4ca4 Updating Authoring for roles * Generated from d9a45d97ef64e72d6e4f2f3230e4f3a8b5a8b300 Editing role description * [AutoPR storage/resource-manager] [Bug fix] Remove read-only constraint for management policy (#5198) * Generated from 00d9e1b50ab5daed68696f0b0c612e912acde7db [Bug fix] Remove read-only constraint for management policy * Generated from 0e6f149f5338b7fe8256adb51584a22aaecdb407 change type to number * Generated from 870609e2d01b2e64b589a0eb07e938f19282f4f0 Modify description, remove integer * [AutoPR cosmos-db/resource-manager] Fixing incorrectly formatted Cosmos DB list keys response (#5220) * Generated from f8bd523610424b4f132e310df45ccbec4e828e0c fixing Cosmos account keys response * Generated from f8bd523610424b4f132e310df45ccbec4e828e0c fixing Cosmos account keys response * update from latest swaggers and generator (#5280) * update from latest swaggers and generator specs commit 6bb3ebb7d2a71c4be4ded428f5cce6cdba9d1e4b generator version 2.1.134 * update minimum version of go-autorest to 12.3.0 * Generated from 46c41c8144620cf4589763fc14b57b3eef555edf (#5282) Make hyperVGeneration field same as DiskRPs * Generated from 05289ebc4b2be9d8be80218d6bfab65a9848e77a (#5285) remove doller sign from the custome parameter * Generated from 878390cbb0806c9194cc9ceaed923284d2d8f2ac (#5288) Fix mistake * Generated from b1b2d42672f41da7deb0eda1938e589a9149dc2e (#5307) add winiotsvcs stable api * Generated from c2786532a6bf80ceb9cddda5e2c8b8abc09d6b30 (#5305) Update specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/DTL.json Co-Authored-By: Nick Schonning * Generated from 3b992f9396f9c0bc7e34b11696efcffafa92575a (#5297) add network package-2019-06 to Go SDK * Generated from 2f94b8cf4da36f6fe98397e664c08e3ba33bbc69 (#5299) fix: cognitive services create example Empty schema/body for create action * Generated from 5a1381b69f4475b40194c268dc0757b16afe14d9 fix some readme.go.md files * Generated from a23d0bdd515690bb563e778441c8428272e222df fix some readme.go.md files * [AutoPR datafactory/resource-manager] [DataFactory]Add AzurePostgreSql Sink and Oracle/SapTable/Netezza Partitions and Several Relational sets (#5302) * Generated from 286bc89ff8d226f2a683dcb48a896b8ffb3f348e remove SapBwCube and Sybase for investigation * Generated from 75bd5a9689dac5c2bb8f5828cfcb24e1a28a5950 will postpone SapBwSource in another coming PR. * Generated from 7f632e8ccaca0bd5ab8a44832710d1a3cc19e39f refine case of Oracle in description * Merge pull request #5332 from Azure/restapi_auto_compute/resource-manager [AutoPR] compute/resource-manager * Generated from e960466f597159f6f1068890076fd7af6ebe5276 (#5323) Fix readmes for new api version * Generated from 4d76d19845c0c731f32ca830f3ae85d19aa9b90d (#5322) remove id validation * Update swagger_to_sdk_config.json and ignore *.zip files (#5334) * Enable SDK Automation pull requests (#5342) * Generated from e6f95be592d25370ff8f65f315ea6d4a0bdecc7d (#5327) Fixed casing * Generated from b038fea5b8d2c6dd81eed2ac64771d22084389e6 (#5347) Add new property for CORS settings * Generated from 0e0525cb28b7c796be9aa0958d430bc764a78ed4 (#5293) Merge branch 'master' into michal-dev-security-Microsoft.Security-2017-08-01-preview * Generated from 6a6baebbeba91869b69cd39c167816f33025698a try to fix errors * Generated from 94da1e5d069d8e2fe506b842f76ff2bce4eb76a3 more fixes * Generated from 5bb5f32cc3be82f2a180a13dc383bfe609479bc1 merged action rule and ManagedResource to avoid error * Generated from a1396af0177b2d22771ad22650089929bee4e43a undo ManagedResource change, but removed required * Generated from a8f22b87d6a3b06a6d970731514830431986bffa revert some changes that are not essential to fix linter * SDK v32.0.0 (#5361) * Generated from 35a02241fae4c1c2202bfa24fcd22fcf8285dbe3 (#5359) fix: applicationinsights delete examples Empty schema object was passing the empty string body in examples. * [AutoPR hdinsight/resource-manager] [HDInsight] Add Capabilities to Stable API version,Modify ApplicationType,AccessModes to enum (#5291) * Generated from 6fd28f5f0db51b2cf7a71835ac10e3dc2c4cb390 Add Capabilities to stable version, Modify ApplicationType and AccessMode to Enum. In order to be consistent with the response from RP side, add suppression for DefinitionsPropertiesNamesCamelCase * Generated from cef6f97615ded43f65dab5eda4a5837d5ec45621 Add Capabilities to stable version, Modify ApplicationType and AccessMode to Enum. In order to be consistent with the response from RP side, add suppression for DefinitionsPropertiesNamesCamelCase * Generated from a22cf02eb2898daaac88819d82f4ccc1fba62a75 Add Capabilities to stable version, Modify ApplicationType and AccessMode to Enum. In order to be consistent with the response from RP side, add suppression for DefinitionsPropertiesNamesCamelCase * Generated from 2e78b5cbe1e0ef6676f9d9c3266b48cfe87403fd (#5375) fix typo * [AutoPR subscription/resource-manager] Nasingla/nugetupdate (#5353) * Generated from e7db358c5315df0cb643c73c84078fd751c90031 Update readme.md * Generated from be9b791408e4113c2462d9df4c1b31c7d59dff09 Textual changes * Generated from 70b51057c4cca0cdb6a743b4e02f39c132121570 Removing monitoring hana instance API * [AutoPR datafactory/resource-manager] Enable Avro Dataset in public swagger (#5385) * Generated from ec112148bf30430557ff3fac0c74f0706b1042de Enable Avro Dataset in public swagger * Generated from e41431428e45beaa5bbb12344d3332479c095e31 UPDATE * Generated from 1399f090601abea10de38ae50242895878947a74 (#5390) Add paramref into custom-words.txt * [AutoPR security/resource-manager] Set IoTSecuritySolutions & IoTSecuritySolutionAnalytics API as stable (#5365) * Generated from 4d6fbc52713c0423aa04f74ae330867fac488b86 Set IoTSecuritySolutions & IoTSecuritySolutionAnalytics API as stable * Generated from de032ab9863bb6d4e12b9796f64508fd4bb16f88 Merge branch 'dev-security-Microsoft.Security-2019-01-01' of https://github.com/hagba/azure-rest-api-specs into dev-security-Microsoft.Security-2019-01-01 * Generated from e763a96421ef60d69bbae038d008c08002f16359 remove paging support from IoTSecurityDeviceRecommendationsList * Generated from dea80a5e1da4b383480342bba4eca97ba55c053b remove paging from IoTSecurityAlertedDevicesList * [AutoPR healthcareapis/resource-manager] Update the possible Kind values to include FHIR R4 (#5373) * Generated from 826fa53d7867187b6e9d792b078ecd96683b532f Update the possible Kind values to include FHIR R4 * Generated from 00bea838e7cf9ff216f7dd02d5c41ac708db6c9b Fix fhir kind enum description to mention new values * Generated from 9c61d69a19c13e40a8468ea21c909aa677ac4678 (#5346) Task 4957070: ARM swagger update to include term in get reservation response. * Generated from 4b9ce59c5d971851a46d1fa96ccfb4851bf6c83c Add new API version 2019-08-01 * Generated from 5f2e092020964aa9d7d397494b0d3e9f8676a14f fixing subscription id issue * Generated from baf9fdde3c8be9ab59bae147d5d40e99cff46756 (#5320) Added preview specification in generated paths * Generated from 368b5914a375e09ef413285c932b72038a8af7e4 (#5386) fix: sql preview model validation errors - Remove empty "body" for RESPONSE_SCHEMA_NOT_IN_SPEC errors - IsAzureMonitorTargetEnabled -> isAzureMonitorTargetEnabled - "State" -> "state" - emailAccountAdmins "true" -> true - Add 202 response for RestorePoints_Create - password -> certPassword for ManagedInstanceTdeCertificates_Create and TdeCertificates_Create * Tooling fixes (#5400) Return empty slice when no tags are found. Added module version string validation. Added optional arg 'initial module version' to versioner tool. * First commit of major-updater tool * Add autorest in parallel * Make subworks sub-commands * Add afterscript * Fixed operation order * Some refine * Refine output * Refine output * Fix bug in dep * Add afterscripts and lisence header * Fixed a bug with relative path * gofmt fix * Simplify * [AutoPR] hdinsight/resource-manager (#5396) * [AutoPR hdinsight/resource-manager] [HDInsight] Add Capabilities to Stable API version,Modify ApplicationType,AccessModes to enum (#5291) * Generated from 6fd28f5f0db51b2cf7a71835ac10e3dc2c4cb390 Add Capabilities to stable version, Modify ApplicationType and AccessMode to Enum. In order to be consistent with the response from RP side, add suppression for DefinitionsPropertiesNamesCamelCase * Generated from cef6f97615ded43f65dab5eda4a5837d5ec45621 Add Capabilities to stable version, Modify ApplicationType and AccessMode to Enum. In order to be consistent with the response from RP side, add suppression for DefinitionsPropertiesNamesCamelCase * Generated from a22cf02eb2898daaac88819d82f4ccc1fba62a75 Add Capabilities to stable version, Modify ApplicationType and AccessMode to Enum. In order to be consistent with the response from RP side, add suppression for DefinitionsPropertiesNamesCamelCase * Generated from 18e8f73649a26d6acdba575f35b0e3af6fe3cd8c (#5381) Problem: in previous pr #6665 we modify accessModes and applicationType to enum, this will bring breaking change in java sdk. Solution: remove the two enum, change it to string type * [AutoPR] datafactory/resource-manager (#5405) * [AutoPR datafactory/resource-manager] Enable Avro Dataset in public swagger (#5385) * Generated from ec112148bf30430557ff3fac0c74f0706b1042de Enable Avro Dataset in public swagger * Generated from e41431428e45beaa5bbb12344d3332479c095e31 UPDATE * Generated from 1399f090601abea10de38ae50242895878947a74 (#5390) Add paramref into custom-words.txt * Generated from 814795cce5766e56d08e877d7f359c2d6380a8be (#5411) update example * [AutoPR cognitiveservices/data-plane/QnAMaker] add QnAMaker runtime to Go SDK (#5368) * Generated from 67a0600b9c098d384b275c79d1ab1b6b870e6e77 add QnAMaker runtime to Go SDK * Generated from 3d6f73607f9caee9054b290237825245306d7408 ensure package directory and namespace match * [AutoPR compute/resource-manager] Add terminate profile and scheduled events profile to Microsoft.Compute (#5310) * Generated from 9bb1d5b7f21a0e03e97ce3817554307244d45422 Correct definition format * Generated from 49bbc9237680dc7963f9d24f7cde1d05e8f14260 Merge branch 'master' into dev/szimmer/AddTerminateProfile * [AutoPR compute/resource-manager] Add missing Gallery Application API in 2019-07-01 version (#5354) * Generated from 01293ebd64fa96d11d30d9b0ef1391cbe8e62443 Add missing Gallery Application API in 2019-07-01 version * Generated from 6637309053b80e0b62b01f1c240d72749e30f1c2 Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs * Generated from 1929243cc853b5f21c5e6cef8a2867fb4d26b4dc (#5421) updating description - clarify encryption enabled by default * Generated from 3061f166bc14a327fd8506ee1b85f966db9d26fb (#5424) chore: jsonfmt logic * [AutoPR logic/resource-manager] RosettaNet Process configuration apis (#5416) * Generated from eaa9b184f467a7f80c8044d487a72d596b45fbc9 updated examples path * Generated from 68568e93d6bc5b687899488523cade3f66893779 fixes CI errors Fixed casing as required by CI * Generated from 3cd428eebae03353ad64c51526318c1890219a15 merge conflicts * Generated from b2fdc8872f13016495f8cf26d31ed4e902ee1a9e removed breaking changes * Generated from 901423e3e7dee55389f4fcc9fc5d7c793fa202ae pr feedback * Generated from 2838c1142bf4bf7b382e819cfe73e3dfcc2794d7 Merge branch 'master' into AzureLogic-rosettanet-apis * [AutoPR cognitiveservices/data-plane/InkRecognizer] [Hub Generated] Review request for InkRecognizer to add version preview/v1.0 (#5372) * Generated from 34c67e4beeb3721701921ded0f374c834723b2f7 re-naming inputDevice to inputDeviceKind * Generated from ae13f3bcaab268fc0365a1e0452535827d2bda64 Update specification/cognitiveservices/data-plane/InkRecognizer/preview/v1.0/InkRecognizer.json Co-Authored-By: Nick Schonning * [AutoPR compute/resource-manager] add HyperVGeneation in GetVMImage (#5344) * Generated from 4b3b012a4c684afd2e931bb2ac4c01bbf894eec4 add HyperVGeneation in SharedVMImageVersion * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * Generated from bcef281153fa689dac376755754aed8aac925815 (#5313) fix: servicefabric character encoding * Fix table query continuation token (#5423) * When aborting with error, delete the branch just created (if exists) * Change Delete to DeleteBranch for explicity * Generated from e2aaa71c099725ee90c36c388f88398bc33c000c (#5436) Merge https://github.com/Azure/azure-rest-api-specs * Merge pull request #5439 from Azure/restapi_auto_portal/resource-manager [AutoPR] portal/resource-manager * Generated from a415a4352bc3818452589c8eed1e9e4be1cb8260 (#5442) Update Tasks.json Fixed incorrect discriminator for Oracle to PostgreSQL scenario. * Generated from ca46ecf5c4baeb43c5fc1afb355c065bf49efd90 (#5449) Update OracleAzureDbPostgreSqlSyncTask.json Added "caseManipulation" to MigrateOracleAzureDbPostgreSqlSyncDatabaseInput object * Generated from b3623415bfb03b5a528c8a2a20caad53aba43ce2 Adding managed resource group and log Analytics Workspace to the GET API * Generated from f1354d954d03c2283656d3c820a88dcfc2ddf79e Updating fields in the list and patch APIs * Generated from df3fa85139fca07f04373031470bed637e7b8126 Update Batch Swagger documentation * [AutoPR servicefabric/resource-manager] Moving sfrp release 2019-03-01 to stable (#5314) * Generated from b1a5bbf475639da8e8bf4783ba33a4af17caa08c remove location and tags from proxyResource * Generated from 14c9abcc8bd1b6e9635a60226e3966b774951e28 Revert "remove location and tags from proxyResource" This reverts commit b1a5bbf475639da8e8bf4783ba33a4af17caa08c. * Generated from 2380d7af2f3e2d507c5486d8fb6abfd816a65bed change location description in ProxyResource to dcument as deprecated * Generated from 17ffb0840e98cd725c5c999160787b8605c414d6 rename put operations to *_CreateOrUpdate * Generated from e8805bf5ca1ff7c125b84a637eb483af9efd5ff5 (#5459) add readme go * Generated from 27e7dd3c7e4a6b855c902cfaf35380e273760cde (#5462) Update readme.md files missed from previous commit * Generated from 3acbc3b4106db3097de5be5e4df47afb38d51ec0 (#5473) Use cors definition from blob.json * Generated from 408cd70f35f18e81fc46aa6538822c850bd8ced4 (#5489) Updating the skus names and clarified capacity description * [AutoPR containerservice/resource-manager] [Hub Generated] Review request for Microsoft.ContainerService to add version stable/2019-08-01 (#5444) * Generated from 9e6d4ac959af23add7e84ec0531c0643e3bde433 Update tags for 2019-08-01 SDK generation * Generated from 2307de018692dde013d3bf3ed0557c6d8f84519d Add private link resources * Generated from 9e6d4ac959af23add7e84ec0531c0643e3bde433 Update tags for 2019-08-01 SDK generation * Generated from 70862cb4e798bea3905a652d60569cf436a8f0c7 (#5501) Add config for go * Generated from faa8f71aa05aaed68631716cc9ef24451d760b3e (#5465) remove redundent schema reference * [AutoPR recoveryservicesbackup/resource-manager] Adding non mandatory fields in ProtectedItem and AzureVmWorkloadProte… (#5392) * Generated from 142bb9d9a841dde1be669e35ba1586138ed1a599 Adding non mandatory fields in ProtectedItem and AzureVmWorkloadProtectionPolicy Adding additional fields for ProtectedItem related to soft delete feature ; description of each field is in the fields. In AzureVmWorkloadProtectionPolicy adding another field for fixup of policy * Generated from ad48ba50e1864e1adb4845d4bbf73ee192354cde Rehydrate removal from description Rehydrated is not in dictionary of swagger valiation and thus removed from description * Generated from bd73c95f36f3758171783a5b37b8e097b9726524 Updating the Field for deferred deleted Time Updating the new field for deleted time in ProtectedItem while keeping the syncTime for MABfileFolderProtectedItem * Generated from ac509691885fb8f4bf7e0cec8219571c0dfd23ac Undo change to AzureVmWorkloadProtectionPolicy Removed the change to AzureVmWorkloadProtectionPolicy as this requires new api version * Generated from d0e65933a9e0764079436e3f000fe80796479542 Fixing camelcasing Camelcasing of isDeferredDeleteScheduleUpcoming field * Generated from dea881c0a4daf7b8a1472e9e33efffdd6247d0de (#5529) Add missing json to package-composite-v2, package-composite-v1, package-pure-2017-03-preview and package-2017-03-preview * [AutoPR billing/resource-manager] [Do not merge] [Microsoft.Billing] Customers resource for partner-channel (#5343) * Generated from 7f7f0f2009acea6f3d52c4e1f8f4f4af37b5ae5b Update examples. * Generated from 967632713b1ea0e839baef7d47f3f857923f9ad1 Fix reseller property on billingSubscription. * compute/resource-manager] Swagger: Allowing for VMSS reference during VM creation (#5408) * Generated from 547a98bc34516d8788adff951ebd929d8d5125ae Swagger: Allowing for VMSS reference during VM creation * Generated from 2723517c6c29f1c6945bdf05b9c4e42f85159011 fixing typo * Generated from 004d77657b470329193715edd882bc1934d0785a (#5534) Fix bad discriminator value on ConnectionInfo which was breaking node/js SDK generation * Generated from 7c78ea20f697176d9e9017b076e0dc76e09aa303 Update custom-words.txt * Generated from f1ef9612fd56160b7976caeae1830276cd848761 (#5547) fix bad 'unknown' discriminator value in the rest of our datamigration models * Generated from 92b46a61425bf808ff7b4ffef9d3bb063713558b (#5531) Mark ownerEmail as required properties for workspace RP * Update to latest Go code generator (#5583) * [AutoPR hanaonazure/resource-manager] Added Key Vault ID for GET and LIST SapMonitor (#5410) * Generated from b39adb6b69cc5d847e3158430da68bfe4b935ec2 Added Key Vault ID for GET and LIST SapMonitor * Generated from c5d2bc253fb4880b9543bd5edb6a38138fb40e64 Added Key Vault ID for GET and LIST SapMonitor * datalakegen2 endpoints require https (#5572) * datalakegen2 endpoints require https * regenerate with 2.1.136 of autorest.go * Generated from 27425d2151bbc9609e18833c5479739f8266de47 (#5538) Update readme.md * Generated from a9e6716031821eff25f2cbb422960fa56742c0e9 (#5586) Merge branch 'master' into akpati/ssh-property-change * [AutoPR containerregistry/resource-manager] [ACR] Update retention policy schema (#5571) * Generated from 1afeec1884ccf139e6c1bda82ab81227b3df9d2b update retention policy schema * Generated from c136d1fcf1a161f68944223dad032c4407154c6f remove unnecessary breaking change * Generated from 287fcbfdc1fc8b0926588963393574052e0bb9ed fix typo * Merge pull request #5610 from Azure/restapi_auto_reservations/resource-manager [AutoPR] reservations/resource-manager * Generated from 4e144aa43b738e1792883408252e26570a777706 (#5587) Add codegen config for kusto 2019-05-15 * [AutoPR resources/resource-manager] Adding a new api version 2019-06-01 for Microsoft.Authorization policy artifacts (#5585) * Generated from 75581e4277112188117db523a260ae818d949523 added stable/2019-06-01 version for Authorization RP * Generated from edd74f0a1be6f17caa185525a63e594aef956acc Addressed review comments. * Merge pull request #5622 from Azure/restapi_auto_storage/resource-manager [AutoPR] storage/resource-manager * Generated from 65b2f8a37695f3d9cf53c50a05a61c4179857199 (#5605) updated readme with correct version. * Change log level from verbose to normal * Minor change * v33.0.0 draft * Fix vet failure * Update readme * Now major updater reads the config file * Change rel path to abs path * Fix compile error * Execute after script from config file * Refine output * [AutoPR] compute/resource-manager (#5656) * [AutoPR compute/resource-manager] removing non-ascii character (#5325) * Generated from 090b727225320af61034c7278c3ccf51dcbef8a2 removing non-ascii character * Generated from 56ccb1151588cff87c1c92eee0e6c56e42c7f2f4 corrected the description * [AutoPR compute/resource-manager] Add terminate profile and scheduled events profile to Microsoft.Compute (#5310) * Generated from 9bb1d5b7f21a0e03e97ce3817554307244d45422 Correct definition format * Generated from 49bbc9237680dc7963f9d24f7cde1d05e8f14260 Merge branch 'master' into dev/szimmer/AddTerminateProfile * [AutoPR compute/resource-manager] Add missing Gallery Application API in 2019-07-01 version (#5354) * Generated from 01293ebd64fa96d11d30d9b0ef1391cbe8e62443 Add missing Gallery Application API in 2019-07-01 version * Generated from 6637309053b80e0b62b01f1c240d72749e30f1c2 Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs * [AutoPR compute/resource-manager] add HyperVGeneation in GetVMImage (#5344) * Generated from 4b3b012a4c684afd2e931bb2ac4c01bbf894eec4 add HyperVGeneation in SharedVMImageVersion * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * compute/resource-manager] Swagger: Allowing for VMSS reference during VM creation (#5408) * Generated from 547a98bc34516d8788adff951ebd929d8d5125ae Swagger: Allowing for VMSS reference during VM creation * Generated from 2723517c6c29f1c6945bdf05b9c4e42f85159011 fixing typo * [AutoPR compute/resource-manager] [Do not merge yet] DiskRP Swagger changes for 2019-03-01 (#5398) * Generated from a308b6604cb4bfdb8085d78f998aa3718cf9ae36 adding unique id * Generated from b7b0ecc49d6694ea41c66ef9936f05da9bae38f3 fixing typo * Generated from 34c96075059bf06bf052835f6f405b2d0649d1b7 removing diskSizeBytes from snapshot\disk update properties and adding a unique id for disk properties * Generated from 1ad0c2e2dd85dad2a363072eb4cdcbe250e1522b pr comments * Generated from 4f5dbad04518d0674689ac2a2388ea823d28cadf pr comments * [AutoPR compute/resource-manager] Adding low priority and variable pricing feature for standalone VMs. Added priority, eviction policy and billing profile to VirtualMachineProperties. Also, adding optional billing profile to VMSS Create and Update APIs. (#5523) * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 9d5e30df16e3ea43cb3b21b5f5264373d8ed2397 (#5596) updating an incorrect description for uploadsizebytes * Generated from 79b1099e7cf1d0a077c2f5b38b4c83408b97a59b (#5652) Add missing $expand parameter to AvSet list by subscription API * Generated from 027c5530dd98ce87a84ba78c3e3cf8d2451d0c13 (#5569) Fixed the formatting * [AutoPR eventhub/resource-manager] Eventhub: added NetworkRuleSets list API (#5627) * Generated from 46cb463f5dbcd442661875e4eb9d963af3bd1225 added NetworkRuleSets list API * Generated from c09ca0cf8b2a8d98ee64b897e1858f4be8a67f95 added x-ms-pageable and formating * Generated from 8bc2a7edfeebb1a6bb30abbbb03d08bf1f8a8dbc update * Generated from 111d1bc1666fe89cebb960135cf2f5336bbcb35a (#5615) Removed rogue file * [AutoPR machinelearningservices/resource-manager] [NEED DESIGN REVIEW, DO NOT MERGE] Adding workspace level quota management APIs in version 2019-05-01 (#5641) * Generated from f5ddfe85225c2d4f86f7de8e99760b95d1dea6bf Merge branch 'master' into leizhao/workspaceQuotaManagementInVersion2019-05-01 * Generated from c89caf92470c4c334883662fd98e6bd07881807d migrate quota management from 2019-05-01 to 2019-06-01, no content changes * [AutoPR storagecache/resource-manager] Dev storagecache microsoft.storagecache 2019 06 01 preview (#5623) * Generated from 570b6f73542c34f1eb0ab0a85e44b4d929ff55b6 Fix output folder path for GO SDK and fix typo in Tag * Generated from 908e3cd2e18a38be0711e03035c7acdc7ab6d1f2 Fix version in the path of output folder for GO SDK * Generated from 10811b8f33c5e36350b618955cdd8edc9dd67c11 (#5673) Fix bad package name for storagecache in go sdk * Fix bad package name * Fix profile and fmt * Generated from 54eb3260d53865005eb6ccfdc9843e7ab10d9da5 (#5551) adding maintenanceConfiguration list and resourceId for updates * Generated from be2943341d08ab5972e4d2385b1860d34ee61f59 (#5675) Fix bad namespace in service maintenance * Fix wrong namespace * Fix profile and fmt * Generated from 3bcf3602288f763a70a2f3cb10100406e0e53257 (#5672) Addressed misspelled word and mode error * Generated from 5e1bb35d5c3314d8f4fead76c3d69a2522be026b (#5651) Update review comments * [AutoPR datafactory/resource-manager] support Express Custom Setup (#5536) * Generated from 696212c605edef333cba0f0e86d42ba344f4fc42 address the comments * Generated from 4de64a2262df8e2e971620c95f7c3a2ba91d49d9 address comments * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * [AutoPR datafactory/resource-manager] [Data Factory]Add ORC Dataset/Copy Source/Copy Sink (#5611) * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Fix CI failure and conflict * [AutoPR] compute/resource-manager (#5688) * [AutoPR compute/resource-manager] removing non-ascii character (#5325) * Generated from 090b727225320af61034c7278c3ccf51dcbef8a2 removing non-ascii character * Generated from 56ccb1151588cff87c1c92eee0e6c56e42c7f2f4 corrected the description * [AutoPR compute/resource-manager] Add terminate profile and scheduled events profile to Microsoft.Compute (#5310) * Generated from 9bb1d5b7f21a0e03e97ce3817554307244d45422 Correct definition format * Generated from 49bbc9237680dc7963f9d24f7cde1d05e8f14260 Merge branch 'master' into dev/szimmer/AddTerminateProfile * [AutoPR compute/resource-manager] Add missing Gallery Application API in 2019-07-01 version (#5354) * Generated from 01293ebd64fa96d11d30d9b0ef1391cbe8e62443 Add missing Gallery Application API in 2019-07-01 version * Generated from 6637309053b80e0b62b01f1c240d72749e30f1c2 Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs * [AutoPR compute/resource-manager] add HyperVGeneation in GetVMImage (#5344) * Generated from 4b3b012a4c684afd2e931bb2ac4c01bbf894eec4 add HyperVGeneation in SharedVMImageVersion * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * compute/resource-manager] Swagger: Allowing for VMSS reference during VM creation (#5408) * Generated from 547a98bc34516d8788adff951ebd929d8d5125ae Swagger: Allowing for VMSS reference during VM creation * Generated from 2723517c6c29f1c6945bdf05b9c4e42f85159011 fixing typo * [AutoPR compute/resource-manager] [Do not merge yet] DiskRP Swagger changes for 2019-03-01 (#5398) * Generated from a308b6604cb4bfdb8085d78f998aa3718cf9ae36 adding unique id * Generated from b7b0ecc49d6694ea41c66ef9936f05da9bae38f3 fixing typo * Generated from 34c96075059bf06bf052835f6f405b2d0649d1b7 removing diskSizeBytes from snapshot\disk update properties and adding a unique id for disk properties * Generated from 1ad0c2e2dd85dad2a363072eb4cdcbe250e1522b pr comments * Generated from 4f5dbad04518d0674689ac2a2388ea823d28cadf pr comments * [AutoPR compute/resource-manager] Adding low priority and variable pricing feature for standalone VMs. Added priority, eviction policy and billing profile to VirtualMachineProperties. Also, adding optional billing profile to VMSS Create and Update APIs. (#5523) * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 9d5e30df16e3ea43cb3b21b5f5264373d8ed2397 (#5596) updating an incorrect description for uploadsizebytes * Generated from 79b1099e7cf1d0a077c2f5b38b4c83408b97a59b (#5652) Add missing $expand parameter to AvSet list by subscription API * [AutoPR] securityinsights/resource-manager (#5683) * Generated from 878390cbb0806c9194cc9ceaed923284d2d8f2ac (#5288) Fix mistake * [AutoPR securityinsights/resource-manager] SecurityInsights: Investigation swagger updates (#5292) * Generated from 27abe226e56bd1a6d13985c9bc8871148a8c34ad Merge branch 'master' into InvestigationSwagger * Generated from ebb1f1f5bdab7f12639fbee775adf16611d092ad removed cases changes (will be in another PR) * Generated from ab899e75a364a5b6dbf21370c1db65b769094ec8 removed bookmarkEntity from entities api (currently not supported) * [AutoPR securityinsights/resource-manager] Adding alertRuleTemplates swagger spec to securityInsight (#5504) * Generated from d731243f4645a2df9c8389e10e93be04ea78a620 Add alertRuleTemplates endpoint to securityInsight * Generated from d09f26c587fddd31fa13cb3d94d7a9bbe8d58ec8 fix merge conflict * Generated from efe14acff06c754692f29bffee877f29edb68b89 Bookmarks swagger updates * Generated from 07393c4915496b1768a08c5f408b05cdb2a27f10 fix typos * Generated from 98fdd0347934e59d39a7b6f803f170933c96d199 fix typo * Generated from e00e65896ca96c4c814528fa286e3f6e2d534122 (#5682) sort definitions and parameters by ABC * Resolved conflict manually * [AutoPR] network/resource-manager (#5692) * Generated from 3b992f9396f9c0bc7e34b11696efcffafa92575a (#5297) add network package-2019-06 to Go SDK * Generated from 36ba645d97091ead19fa04d57595069d73491c7e (#5511) Update PE/PLS * Generated from ec578e180c4515be63046f0b0991d7b9547e657d (#5522) Update description of "location" in serviceTags.json * [AutoPR network/resource-manager] chore: jsonfmt network (#5514) * Generated from 2c363ba11150b1894650db67b5d4a03166b95afd chore: jsonfmt network * Generated from 2c363ba11150b1894650db67b5d4a03166b95afd chore: jsonfmt network * Generated from 92006e420d65cb70e4b93bc5850af575da4efb78 (#5637) Mark "provisioningState" as read-only * [AutoPR network/resource-manager] Add missing read-only property "outboundRules" in LoadBalancer specs (#5647) * Generated from 658cfc162acc76fd35b81aa42b29406d9ba013cb Add missing read-only property "outboundRules" in LoadBalancer specs * Generated from 658cfc162acc76fd35b81aa42b29406d9ba013cb Add missing read-only property "outboundRules" in LoadBalancer specs * [AutoPR] storage/resource-manager (#5695) * Generated from 3acbc3b4106db3097de5be5e4df47afb38d51ec0 (#5473) Use cors definition from blob.json * Generated from 94667089d429b4f1aca38e60f85b13f5c0039219 (#5580) Align File swagger with the Blob swagger * Generated from 8264dcc49e0bc239013cd76ce9664f83f1041967 (#5678) Update Kusto.json with TSVE data format * [AutoPR eventgrid/data-plane] Create KeyVault.json (#5546) * Generated from 66c76158ca650e8f4bf0ff082bc5428e2544c457 Update readme with KeyVault.json * Generated from 7d4a2513c50a216bfe9cbf6a6f769d460d7211f4 Revert "Update readme with KeyVault.json" This reverts commit 66c76158ca650e8f4bf0ff082bc5428e2544c457. * Generated from 44674ab5aabc591e8dd6b10d326071e8fa3ccd49 Update readme.md * [AutoPR] compute/resource-manager (#5706) * [AutoPR compute/resource-manager] removing non-ascii character (#5325) * Generated from 090b727225320af61034c7278c3ccf51dcbef8a2 removing non-ascii character * Generated from 56ccb1151588cff87c1c92eee0e6c56e42c7f2f4 corrected the description * [AutoPR compute/resource-manager] Add terminate profile and scheduled events profile to Microsoft.Compute (#5310) * Generated from 9bb1d5b7f21a0e03e97ce3817554307244d45422 Correct definition format * Generated from 49bbc9237680dc7963f9d24f7cde1d05e8f14260 Merge branch 'master' into dev/szimmer/AddTerminateProfile * [AutoPR compute/resource-manager] Add missing Gallery Application API in 2019-07-01 version (#5354) * Generated from 01293ebd64fa96d11d30d9b0ef1391cbe8e62443 Add missing Gallery Application API in 2019-07-01 version * Generated from 6637309053b80e0b62b01f1c240d72749e30f1c2 Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs * [AutoPR compute/resource-manager] add HyperVGeneation in GetVMImage (#5344) * Generated from 4b3b012a4c684afd2e931bb2ac4c01bbf894eec4 add HyperVGeneation in SharedVMImageVersion * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * compute/resource-manager] Swagger: Allowing for VMSS reference during VM creation (#5408) * Generated from 547a98bc34516d8788adff951ebd929d8d5125ae Swagger: Allowing for VMSS reference during VM creation * Generated from 2723517c6c29f1c6945bdf05b9c4e42f85159011 fixing typo * [AutoPR compute/resource-manager] [Do not merge yet] DiskRP Swagger changes for 2019-03-01 (#5398) * Generated from a308b6604cb4bfdb8085d78f998aa3718cf9ae36 adding unique id * Generated from b7b0ecc49d6694ea41c66ef9936f05da9bae38f3 fixing typo * Generated from 34c96075059bf06bf052835f6f405b2d0649d1b7 removing diskSizeBytes from snapshot\disk update properties and adding a unique id for disk properties * Generated from 1ad0c2e2dd85dad2a363072eb4cdcbe250e1522b pr comments * Generated from 4f5dbad04518d0674689ac2a2388ea823d28cadf pr comments * [AutoPR compute/resource-manager] Adding low priority and variable pricing feature for standalone VMs. Added priority, eviction policy and billing profile to VirtualMachineProperties. Also, adding optional billing profile to VMSS Create and Update APIs. (#5523) * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 9d5e30df16e3ea43cb3b21b5f5264373d8ed2397 (#5596) updating an incorrect description for uploadsizebytes * Generated from 79b1099e7cf1d0a077c2f5b38b4c83408b97a59b (#5652) Add missing $expand parameter to AvSet list by subscription API * [AutoPR] storage/resource-manager (#5707) * Generated from 3acbc3b4106db3097de5be5e4df47afb38d51ec0 (#5473) Use cors definition from blob.json * Generated from 94667089d429b4f1aca38e60f85b13f5c0039219 (#5580) Align File swagger with the Blob swagger * [AutoPR storage/resource-manager] Add change feed properties to 2019-04-01 Storage. (#5621) * Generated from 774367438889ac553def1957b72b8ba63ad877e5 Add change feed properties to 2019-04-01 Storage. Add change feed properties to Storage Blob Services. * Generated from 774367438889ac553def1957b72b8ba63ad877e5 Add change feed properties to 2019-04-01 Storage. Add change feed properties to Storage Blob Services. * Generated from 34d744550227bee7b380604d38fc1de6c9af6397 (#5708) Update netapp.json * Merge pull request #5714 from Azure/restapi_auto_compute/resource-manager [AutoPR] compute/resource-manager * Update swagger_to_sdk_config.json Update autorest.go to new version * Generated from 5ea5da031f993e6dd8061f42abbea77d58e66020 Clarify KeyVault time as seconds since Unix epoch * Generated from b621ede227cd29651b1712782d964373fc2da6ec (#5717) Quick fix * Generated from 4eb71094207cc3188dfa1d604325731362a555a5 updating readmes * feature: support PutBlockFromURL API: https://docs.microsoft.com/en-us/rest/api/storageservices/put-block-from-url * Generated from 18efd73807c1182800e0521f67e1e5ae2ee70394 added missing packages to compute release * [AutoPR] compute/resource-manager (#5721) * [AutoPR compute/resource-manager] removing non-ascii character (#5325) * Generated from 090b727225320af61034c7278c3ccf51dcbef8a2 removing non-ascii character * Generated from 56ccb1151588cff87c1c92eee0e6c56e42c7f2f4 corrected the description * [AutoPR compute/resource-manager] Add terminate profile and scheduled events profile to Microsoft.Compute (#5310) * Generated from 9bb1d5b7f21a0e03e97ce3817554307244d45422 Correct definition format * Generated from 49bbc9237680dc7963f9d24f7cde1d05e8f14260 Merge branch 'master' into dev/szimmer/AddTerminateProfile * [AutoPR compute/resource-manager] Add missing Gallery Application API in 2019-07-01 version (#5354) * Generated from 01293ebd64fa96d11d30d9b0ef1391cbe8e62443 Add missing Gallery Application API in 2019-07-01 version * Generated from 6637309053b80e0b62b01f1c240d72749e30f1c2 Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs * [AutoPR compute/resource-manager] add HyperVGeneation in GetVMImage (#5344) * Generated from 4b3b012a4c684afd2e931bb2ac4c01bbf894eec4 add HyperVGeneation in SharedVMImageVersion * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * compute/resource-manager] Swagger: Allowing for VMSS reference during VM creation (#5408) * Generated from 547a98bc34516d8788adff951ebd929d8d5125ae Swagger: Allowing for VMSS reference during VM creation * Generated from 2723517c6c29f1c6945bdf05b9c4e42f85159011 fixing typo * [AutoPR compute/resource-manager] [Do not merge yet] DiskRP Swagger changes for 2019-03-01 (#5398) * Generated from a308b6604cb4bfdb8085d78f998aa3718cf9ae36 adding unique id * Generated from b7b0ecc49d6694ea41c66ef9936f05da9bae38f3 fixing typo * Generated from 34c96075059bf06bf052835f6f405b2d0649d1b7 removing diskSizeBytes from snapshot\disk update properties and adding a unique id for disk properties * Generated from 1ad0c2e2dd85dad2a363072eb4cdcbe250e1522b pr comments * Generated from 4f5dbad04518d0674689ac2a2388ea823d28cadf pr comments * [AutoPR compute/resource-manager] Adding low priority and variable pricing feature for standalone VMs. Added priority, eviction policy and billing profile to VirtualMachineProperties. Also, adding optional billing profile to VMSS Create and Update APIs. (#5523) * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 9d5e30df16e3ea43cb3b21b5f5264373d8ed2397 (#5596) updating an incorrect description for uploadsizebytes * Generated from 79b1099e7cf1d0a077c2f5b38b4c83408b97a59b (#5652) Add missing $expand parameter to AvSet list by subscription API * [AutoPR compute/resource-manager] Add VMScaleSet ScaleIn Policy (#5606) * Generated from 5968c8d1d8f53fcce6b11bc71e4be3c6bc550617 Add VMScaleSet ScaleIn Policy Adds VMScaleSet ScaleIn policy that is supported with the 2019-03-01 header but not included in Swagger * Generated from 17a6aebc538afafffc9ce87f083fc07592a6b5c3 Update compute.json Fix indentation * [AutoPR] datafactory/resource-manager (#5730) * Generated from 5e1bb35d5c3314d8f4fead76c3d69a2522be026b (#5651) Update review comments * [AutoPR datafactory/resource-manager] support Express Custom Setup (#5536) * Generated from 696212c605edef333cba0f0e86d42ba344f4fc42 address the comments * Generated from 4de64a2262df8e2e971620c95f7c3a2ba91d49d9 address comments * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * [AutoPR datafactory/resource-manager] [Data Factory]Add ORC Dataset/Copy Source/Copy Sink (#5611) * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Fix CI failure and conflict * Generated from b07009df21da758efcb13fbbd25ce9e450751586 (#5729) [DataFactory] Update Databricks linked service swagger related to warm pools. * Generated from 4d7873fcb2eb980ac1eacad015893bd5634a5a37 (#5735) [ACR] Adding scopemap spec file for new SDK build For releasing ScopeMap and Token features, we need to retrieve models from the scopemap spec file. The existing SDK version doesn't incorporate changes from the scopemap spec file. Requesting a new SDK build. Please suggest changes if deemed necessary. * Generated from 68ccfd97b6bd4b29219d6988342451fff61b7031 (#5737) [Batch] Update documentation around app packages * [AutoPR servicebus/resource-manager] ServiceBus: added NetworkRuleSets list API (#5624) * Generated from 26fbb00e498d34206afb040c7c9eb7b79fa3fd5e added NetworkRuleSets list API * Generated from 87e06617e7103a97295b2fe25f4a47990371b397 added x-ms-pageable and formating * Generated from 2f83e3fb7917b9f6301fea15cf45e3e3fbeac7bb removed readonly for compatibilityLevel * [AutoPR cosmos-db/resource-manager] Add short url for all api resources (#5448) * Generated from 6b485b2047ec2cc073363b94a56778b108912940 Add short url for all api resources * Generated from d0f3adbb4578d7a5569d29a683663bf4772af38a Correct GremlinResources_ spell * Generated from a05be8787ab7cc8346e38c01ccbd45731ad95169 Add new api version * Generated from 72880ac9171c7118002c56eb2152265bb41442ba Fix spell error * Generated from 1ca1ae2151cd7248fac7b82624424ce63383a28a (#5745) fix: Double word "the" in datalake-analytics * [AutoPR] datafactory/resource-manager (#5751) * Generated from 5e1bb35d5c3314d8f4fead76c3d69a2522be026b (#5651) Update review comments * [AutoPR datafactory/resource-manager] support Express Custom Setup (#5536) * Generated from 696212c605edef333cba0f0e86d42ba344f4fc42 address the comments * Generated from 4de64a2262df8e2e971620c95f7c3a2ba91d49d9 address comments * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * [AutoPR datafactory/resource-manager] [Data Factory]Add ORC Dataset/Copy Source/Copy Sink (#5611) * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Fix CI failure and conflict * Generated from b07009df21da758efcb13fbbd25ce9e450751586 (#5729) [DataFactory] Update Databricks linked service swagger related to warm pools. * Generated from 5cc2c54ac1ba7f41fd2426ff39df46f785ce55f2 (#5748) Add a clearer description. * Generated from 94dbf0ac2518371373cf8f2eb74bba657b1e7b90 (#5414) Orphan property removed * Generated from 33d64b558114a9a861b82dc17518e359758d1688 (#5686) Fix SpellCheck Swagger Specification * Generated from 81fb55e8252598b44b1d5ee4db527eacba725546 (#5687) Fix Local Search Swagger * Generated from latest specs of network * Generated from af961540f808cb651ddb1dbac08619eafc06330e (#5789) Add 2019-07 version to network go code generation * Generated from 1baa9a51ee00db62b006b2081d2811297d48d3d4 (#5761) Updated 2019-02-01-preview api version to include operation.g * Generated from 7837d7e037f47c5a2414e0a241e1472c960ff055 (#5744) fix: Double word "the" in automation * [AutoPR datamigration/resource-manager] Correct the version (#5516) * Generated from 8de2c91a547e5ab394d4569aed0dda9b814c9cce Correct the version * Generated from 8de2c91a547e5ab394d4569aed0dda9b814c9cce Correct the version * Generated from 68427c1d0294d9f4acbe7355261c31cd407a2d95 (#5727) Add purge API details. * [AutoPR] frontdoor/resource-manager (#5784) * Generated from 27e7dd3c7e4a6b855c902cfaf35380e273760cde (#5462) Update readme.md files missed from previous commit * Generated from adca4cd9eac95f46998e3b35e1d5ae600498808f (#5508) add SocketAddr matchvariable * Generated from 88294366687bc74b0efc484eb8f0d08980de3804 (#5746) fix: Double word "the" in resources * [AutoPR] datafactory/resource-manager (#5795) * Generated from 5e1bb35d5c3314d8f4fead76c3d69a2522be026b (#5651) Update review comments * [AutoPR datafactory/resource-manager] support Express Custom Setup (#5536) * Generated from 696212c605edef333cba0f0e86d42ba344f4fc42 address the comments * Generated from 4de64a2262df8e2e971620c95f7c3a2ba91d49d9 address comments * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * [AutoPR datafactory/resource-manager] [Data Factory]Add ORC Dataset/Copy Source/Copy Sink (#5611) * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Fix CI failure and conflict * Generated from b07009df21da758efcb13fbbd25ce9e450751586 (#5729) [DataFactory] Update Databricks linked service swagger related to warm pools. * Generated from 5cc2c54ac1ba7f41fd2426ff39df46f785ce55f2 (#5748) Add a clearer description. * Generated from 9402dbf3fb3d5fffcb80f501b1fc857ff97ab723 (#5760) Fixing PR validation errors * Generated from 5927195a95dbda5a1729692d42a088b60c4a4a88 Adding new version of API * [AutoPR] datafactory/resource-manager (#5807) * Generated from 5e1bb35d5c3314d8f4fead76c3d69a2522be026b (#5651) Update review comments * [AutoPR datafactory/resource-manager] support Express Custom Setup (#5536) * Generated from 696212c605edef333cba0f0e86d42ba344f4fc42 address the comments * Generated from 4de64a2262df8e2e971620c95f7c3a2ba91d49d9 address comments * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * [AutoPR datafactory/resource-manager] [Data Factory]Add ORC Dataset/Copy Source/Copy Sink (#5611) * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Fix CI failure and conflict * Generated from b07009df21da758efcb13fbbd25ce9e450751586 (#5729) [DataFactory] Update Databricks linked service swagger related to warm pools. * Generated from 5cc2c54ac1ba7f41fd2426ff39df46f785ce55f2 (#5748) Add a clearer description. * [AutoPR reservations/resource-manager] [Hub Generated] Review request for Microsoft.Capacity to add version preview/2019-04-01 (#5766) * Generated from f19a2e5b7f384018b74b21b7b8b8782d95b456f9 fixed x-ms-enum value * Generated from 2f56008117d578bec6cc8b8c832926f45a0fe52e fixed catalog definition * Generated from cac978330e8c7b9583812a735cfeac97fb267056 reverted breaking operation id change * update README with info on customizing SendDecorators (#5832) * Generated from f3e85bf537e973832fd8b630394c4b951badce66 (#5798) Fix eligibility typo * Generated from d3620f1cf3fda9d30555c4b0e47a1ea521ca5404 (#5799) Review 1 + remove v3.0 preview * Generated from 67a8ba34e8eb3e3c0ffa6efdd019e46391b42571 (#5812) Update readme.go.md Updated output-folder (removed `stable`) * Generated from 96e53c8b30b238235fadb02b5ebf75533039ab91 (#5773) fix getting agent pool available versions api path * [AutoPR logic/resource-manager] [LogicApps] New Api version (#5834) * Generated from acf43615d58480cc7285f4a26b1108971162fc4a Fixed error * Generated from c2f47d91b77ffe997d38994cff32f7b410b1a308 Fixed model errors * Generated from 4f11b92d108f861c21411092dacd997a32bb7076 Fixed more errors in Logic json * Generated from 7c5619dfd675cc3af284d52337539ca861732528 Fixed resource reference issue * Generated from 56286b280dda0ebf76f171c8e4f7288e5ea5141b Fixed Resubmit trigger histories * [AutoPR] datafactory/resource-manager (#5830) * Generated from 5e1bb35d5c3314d8f4fead76c3d69a2522be026b (#5651) Update review comments * [AutoPR datafactory/resource-manager] support Express Custom Setup (#5536) * Generated from 696212c605edef333cba0f0e86d42ba344f4fc42 address the comments * Generated from 4de64a2262df8e2e971620c95f7c3a2ba91d49d9 address comments * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * [AutoPR datafactory/resource-manager] [Data Factory]Add ORC Dataset/Copy Source/Copy Sink (#5611) * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Fix CI failure and conflict * Generated from b07009df21da758efcb13fbbd25ce9e450751586 (#5729) [DataFactory] Update Databricks linked service swagger related to warm pools. * Generated from 5cc2c54ac1ba7f41fd2426ff39df46f785ce55f2 (#5748) Add a clearer description. * Generated from 239e696db0a17997d3bc2a77c9670180e527fcfc (#5797) Update location in ManagedNetwork * Generated from 0e25b55ea7d548f56eada51b4065224e02eab5e7 (#5815) Restoring expandChildren changes * Generated from 3ff7f07c725255fe7a891687890dd1b928c772ee enum name must be fixed here as well * Generated from 91579252e6aa0e9aa0b00749c82755240e5f5282 (#5845) Add aad domain name for windows login migration support * Generated from 0d3d4d1b56bbbb9e001f971a9ab2c7df8749a9f3 (#5850) Stablize 2019-04 and 2019-05 for frontdoor * [AutoPR sql/resource-manager] Add new APIs (two List APIs) and update examples (#5728) * Generated from b5c48e4b89006ae465040001f67683dcec790b4b Update DatabaseAuditingSettingsList.json * Generated from b5c48e4b89006ae465040001f67683dcec790b4b Update DatabaseAuditingSettingsList.json * Generated from 3ff8cd57b4a86c753b773d2dba460f7e6a62f4c1 (#5864) remove additional property for data flow enitty * Generated from 8188f2ed896ed7f345c5a324f3c62aaca926a35b (#5867) Removed one property which won't be exposed to public for now * Generated from 1cac6227f3d809cbabebc0ca1140469c9d2a7030 (#5872) remove unnecessary additional property * Generated from ad2716208f8089dd2d768faf9e9f765660fafc9c (#5873) Fixed unknown words * Generated from 51020f68a1a7cd0fd66f44a493e8a8b2a23f1e2a (#5875) Add nextLink * Generated from 16c7d5f2a872e3b7cc01c7dd8af608a586776fe9 (#5862) lowercase the collection types * Generated from edb4eee278a0a531af70668fcc2a55e04396d5b1 (#5886) update operation id on list all * [AutoPR security/resource-manager] Jit api add justification (#5866) * Generated from 162213184e0652221884ff84f11c93fe935ec78d Merge branch 'master' into jit-api-add-justification * Generated from 162213184e0652221884ff84f11c93fe935ec78d Merge branch 'master' into jit-api-add-justification * Generated from 63d0bd0751dd12efb7a19fd63807a26919c02b11 (#5868) Add support for attached databases * Generated from ebaee7c36eb7db67a4e648374f69f26a654b444f (#5885) [SRP] Add new storage account property largeFileSharesState * v34.0.0 * Minor release v34.1.0 (#5980) * Generated from 76032c5b6d424dceb3a9b03b7df79e009eb5c183 (#5142) Change XxxSetting to XxxSettings in private swagger * [AutoPR netapp/resource-manager] NetApp update swagger for R4.5 (#5123) * Generated from 3eda898774dd0ae7491c1a38535c18dd42489c18 Changing the protocolTypes example * Generated from 3774c22dc6a9601494bd6d033406b97cb403a688 Fix params structure * Generated from fa202ee43cd1263e159ae365977dc2bdb54eb4e3 Fix Swaggers to get the diff working * Generated from 69314a717548234e92ed30fd6fb6caff58b5855b Reverting accidental netapp.json changes * Generated from d85ec8052ee09e19a904c8682ecd71d95a87bfda (#5159) add netapp 2019-06-01 to Go SDK * Generated from 4ad4ff02b733691ce683f3c3d2ca93b04aedefc6 (#5080) typo: batch Double word "Compute" * Generated from 3066b3cc9574f2eec4f7b1a379e0875e14a37f51 (#5162) add authorization 2018-07-01 to Go SDK * Generated from a19a3cb3fe52a5019182778275744a9c3af43993 (#5163) add batch 2019-04-01 to Go SDK * Generated from 3d52a28322664ab7059521562493398366e27ad7 (#5164) add missing alertsmanagement packages to Go SDK * Generated from c3eda289dfe2b94eff37c1654a9abadf4ee3c8ad (#5131) Add enum for tier, osType and filtermode * Add sdk_generation_pull_request_base and main_branch Add sdk_generation_pull_request_base and main_branch properties to swagger_to_sdk_config.json file. * [AutoPR containerregistry/resource-manager] [ACR] Support Overriding Task parameters, support for ContinuationToken [NEW preview API VERSION] (#4995) * Generated from b1e4095ff8268437a5a59a4138ff38c4e31b68f6 Merge branch 'master' into shahzzam/add-2019-06-01 * Generated from 701efa178e7cc3846724dbdb9c2cdf430c7009ce address comments * Generated from f98449d1950d58d1919373e5b5f456b6a3d45e58 (#5177) introducing the SqlManagement * [AutoPR healthcareapis/resource-manager] [Hub Generated] Review request for Microsoft.HealthcareApis to add version preview/2018-08-20-preview (#4966) * Generated from 861e08e366cff1f1318a69d39841f25bee90c963 Merge branch 'master' into dev-healthcareapis-Microsoft.HealthcareApis-2018-08-20-preview * Generated from 263297a3c3cec666d65515309b679913e4f9559d Remove uuid format from subscriptionid as no other RP does this and it is causing issues with the .net SDK * Generated from e8dd45240d9e1b579ccd155e0e6c811c764eb214 (#5079) typo: botservice Double word "service" * [AutoPR migrateprojects/resource-manager] [Do not merge] Swagger closure for Azure Migration Hub (#4889) * Generated from a43ead519af3db80da7e7705153ce3deb58a47c9 Fixing SDK errors * Generated from a683481c06274ab035589605b5450232c2adc22f Changing the resource names to camel case as per ARM review * [AutoPR iothub/resource-manager] [Hub Generated] Review request for Microsoft.Devices to add version preview/2019-03-22-preview (#5149) * Generated from a2660396e04a6551432a9f9e108956db05266023 adding locations property to iothub properties * Generated from b11a3ac1fafc172c5933d5e07a47a7ea1d4a1c0f adding locations property * [AutoPR cognitiveservices/data-plane/LUIS/Runtime] Update LUIS Runtime swagger to an auto generated version (#5023) * Generated from cf0eaa1559fc91624956e6ef26fd9880e4fa8dac Update LUIS Runtime swagger to an auto generated version * Generated from 8fa2dd16733bc2e5ebbd946c3ef36566eaac9173 Fix typo * Generated from e5018e39145852f56f01cf34ba0b2d123ae43512 (#5192) fix Go SDK build * Generated from beed92f79dacff0ce3d1a65d3ecf42449d17a47c (#5154) Removed extra comma * [AutoPR alertsmanagement/resource-manager] Adding new resource type for alerts meta data (#5124) * Generated from 54b18e08cf2128fc4e38e8df9c2265b0258f4c5b Alerts meta data api * Generated from 8bea075339dfa1c42ec132437a642cbfe41ba924 Added example for alerts meta data resource type * Generated from 03b411bfd9480ec2cd1fac4ed6db766fb0fc972f Fix value of identifier parameter in examples/AlertsMetaData_MonitorService.json file * Generated from aae2b1fb9427ff969151bffa915ad649e8c9e1c4 Added one more enum value for identifier enum * Generated from 2c415502c8ada9766842b9effcfbdc82705b5578 Added remove added extra enum value for identifier enum * Generated from b687abd9d7d71ca88b49cfe0706eab2b3881efe4 Rename identifier in definitions to metadataIdentifier * Generated from eef581efa40b065e7425c1f553ff210496728c96 Schematic changes * Generated from f34e8084ed14abedcbd12b0270676747bdce3ade Added defination for monitor service * Generated from 7072efc946c175b68891d574306602640c6f3dcc Fix error * Generated from c944c9a2d8a2355147c3d9031b7aeadc4f63e71e (#5201) Fix typos * [AutoPR monitor/resource-manager] BUG fix: Fixing type of MetricValue.Count to be double instead of the incorrect int64 it had before (#5152) * Generated from 060221716b94c8dee61681168e1bd0e0b11d6057 Fixing type of MetricValue.Count to be double instead of the incorrect int64 it had before * Generated from 5251be8f170f543e9763efd1618d814e1df19029 Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs # Conflicts: # specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/activityLogs_API.json # specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsNoParams.json # specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsSelected.json Signed-off-by: Guillermo Calderón_Meza * Generated from dd6210272b93e1b156f4779f9efe24ff3a6d7baa add postgresql 2017-12-01-preview to Go SDK * Generated from 54b65d35ddc25f16a24d0d1710773f5bfe9be66f (#5218) remove PII from examples * Generated from 631cc8ef9ba25eddb465ba207157ff92ab4fa641 (#5182) Task 4855805: ARM swagger update from lockedPriceTotal to billingCurrencyTotal & pricingCurrencyTotal. * [AutoPR datamigration/resource-manager] Adding objects necessary for mapping Oracle schemas and tables to PostgreSQL databases and tables (#5121) * Generated from 835bf096bcbb0db18081cb31338036c70108ccd5 Adding objects necessary for mapping Oracle schemas and tables to PostgreSQL databases and tables. * Generated from 4f5182d37c4186591e8206f751be4c47bb32b08c Adding objects necessary for mapping Oracle schemas and tables to PostgreSQL databases and tables 2 * add documentation for retry policy * add azure devops pipeline * Fixes to devops CI (#5239) * Fixes to devops CI Add devops badge to README Fix lint and vet steps * limit linter to subset of repo fix golint errors * more linter fixes * more linter fixes * add remaining tests * include combined output when running git commands * enable dotglob so hidden dirs are moved * Generated from ac6f48cce33d61bd4fa062a14e49ca27359e3dc4 (#5215) update the preview version for dashboards * Generated from 38bec715e92c9f8bcd1b0e381042194d3261fe58 (#5248) Add missing displayName and domains properties to response of Tenants_List call * [AutoPR securityinsights/resource-manager] Adding AWS CloudTrail to swagger (#4879) * Generated from 2076dae88a963c62b7795a2daf6a27fe8655149e Adding AWS CloudTrail to swagger * Generated from e5834cbce170afa6c7105817e11516a9c8a87d87 Code review notes * Generated from 17fef9afb3f852e4c995221ca5bcc9c7413cf46b Code review notes * Generated from 006f63585ada13a78ac3ab4912789ca2df7186f2 Fixes after merge * Generated from 77190f2dc72106f5ff53ae7617312f90b5b1504b (#5196) Adding cassandra connector properties for cosmos db C* account - enableCassandraConnector - This property, if set to true, will trigger the creation of the cassandra connector CCX pipeline which relicates data from native cassandra nodes to cosmos db C* account connectorOffer - This property specifies the type of connector offer which will vary based on the data size of the native cassandra cluster Validations - Validated cosmos-db.json with autorest from https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cosmos-db/resource-manager Validated using the online schema validator - https://json-schema-validator.herokuapp.com * Generated from 7c89fec7247a2f82d656c863fb37c1d76a08a797 (#5256) Merge branch 'network-may-release' into network-merge # Conflicts: # cSpell.json * Generated from 537e9475d4ec21dcc8ede20cd45ec73f3f20c729 (#5236) Move changes to 2019-04-15 version. * update to latest code generator * [AutoPR cognitiveservices/data-plane/LUIS/Authoring] Updating Authoring for roles (#5052) * Generated from 1ebbe0756b9d941a2db55b94cef3f9350dcf4ca4 Updating Authoring for roles * Generated from d9a45d97ef64e72d6e4f2f3230e4f3a8b5a8b300 Editing role description * [AutoPR storage/resource-manager] [Bug fix] Remove read-only constraint for management policy (#5198) * Generated from 00d9e1b50ab5daed68696f0b0c612e912acde7db [Bug fix] Remove read-only constraint for management policy * Generated from 0e6f149f5338b7fe8256adb51584a22aaecdb407 change type to number * Generated from 870609e2d01b2e64b589a0eb07e938f19282f4f0 Modify description, remove integer * [AutoPR cosmos-db/resource-manager] Fixing incorrectly formatted Cosmos DB list keys response (#5220) * Generated from f8bd523610424b4f132e310df45ccbec4e828e0c fixing Cosmos account keys response * Generated from f8bd523610424b4f132e310df45ccbec4e828e0c fixing Cosmos account keys response * update from latest swaggers and generator (#5280) * update from latest swaggers and generator specs commit 6bb3ebb7d2a71c4be4ded428f5cce6cdba9d1e4b generator version 2.1.134 * update minimum version of go-autorest to 12.3.0 * Generated from 46c41c8144620cf4589763fc14b57b3eef555edf (#5282) Make hyperVGeneration field same as DiskRPs * Generated from 05289ebc4b2be9d8be80218d6bfab65a9848e77a (#5285) remove doller sign from the custome parameter * Generated from 878390cbb0806c9194cc9ceaed923284d2d8f2ac (#5288) Fix mistake * Generated from b1b2d42672f41da7deb0eda1938e589a9149dc2e (#5307) add winiotsvcs stable api * Generated from c2786532a6bf80ceb9cddda5e2c8b8abc09d6b30 (#5305) Update specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/DTL.json Co-Authored-By: Nick Schonning * Generated from 3b992f9396f9c0bc7e34b11696efcffafa92575a (#5297) add network package-2019-06 to Go SDK * Generated from 2f94b8cf4da36f6fe98397e664c08e3ba33bbc69 (#5299) fix: cognitive services create example Empty schema/body for create action * Generated from 5a1381b69f4475b40194c268dc0757b16afe14d9 fix some readme.go.md files * Generated from a23d0bdd515690bb563e778441c8428272e222df fix some readme.go.md files * [AutoPR datafactory/resource-manager] [DataFactory]Add AzurePostgreSql Sink and Oracle/SapTable/Netezza Partitions and Several Relational sets (#5302) * Generated from 286bc89ff8d226f2a683dcb48a896b8ffb3f348e remove SapBwCube and Sybase for investigation * Generated from 75bd5a9689dac5c2bb8f5828cfcb24e1a28a5950 will postpone SapBwSource in another coming PR. * Generated from 7f632e8ccaca0bd5ab8a44832710d1a3cc19e39f refine case of Oracle in description * Merge pull request #5332 from Azure/restapi_auto_compute/resource-manager [AutoPR] compute/resource-manager * Generated from e960466f597159f6f1068890076fd7af6ebe5276 (#5323) Fix readmes for new api version * Generated from 4d76d19845c0c731f32ca830f3ae85d19aa9b90d (#5322) remove id validation * Update swagger_to_sdk_config.json and ignore *.zip files (#5334) * Enable SDK Automation pull requests (#5342) * Generated from e6f95be592d25370ff8f65f315ea6d4a0bdecc7d (#5327) Fixed casing * Generated from b038fea5b8d2c6dd81eed2ac64771d22084389e6 (#5347) Add new property for CORS settings * Generated from 0e0525cb28b7c796be9aa0958d430bc764a78ed4 (#5293) Merge branch 'master' into michal-dev-security-Microsoft.Security-2017-08-01-preview * Generated from 6a6baebbeba91869b69cd39c167816f33025698a try to fix errors * Generated from 94da1e5d069d8e2fe506b842f76ff2bce4eb76a3 more fixes * Generated from 5bb5f32cc3be82f2a180a13dc383bfe609479bc1 merged action rule and ManagedResource to avoid error * Generated from a1396af0177b2d22771ad22650089929bee4e43a undo ManagedResource change, but removed required * Generated from a8f22b87d6a3b06a6d970731514830431986bffa revert some changes that are not essential to fix linter * SDK v32.0.0 (#5361) * Generated from 35a02241fae4c1c2202bfa24fcd22fcf8285dbe3 (#5359) fix: applicationinsights delete examples Empty schema object was passing the empty string body in examples. * [AutoPR hdinsight/resource-manager] [HDInsight] Add Capabilities to Stable API version,Modify ApplicationType,AccessModes to enum (#5291) * Generated from 6fd28f5f0db51b2cf7a71835ac10e3dc2c4cb390 Add Capabilities to stable version, Modify ApplicationType and AccessMode to Enum. In order to be consistent with the response from RP side, add suppression for DefinitionsPropertiesNamesCamelCase * Generated from cef6f97615ded43f65dab5eda4a5837d5ec45621 Add Capabilities to stable version, Modify ApplicationType and AccessMode to Enum. In order to be consistent with the response from RP side, add suppression for DefinitionsPropertiesNamesCamelCase * Generated from a22cf02eb2898daaac88819d82f4ccc1fba62a75 Add Capabilities to stable version, Modify ApplicationType and AccessMode to Enum. In order to be consistent with the response from RP side, add suppression for DefinitionsPropertiesNamesCamelCase * Generated from 2e78b5cbe1e0ef6676f9d9c3266b48cfe87403fd (#5375) fix typo * [AutoPR subscription/resource-manager] Nasingla/nugetupdate (#5353) * Generated from e7db358c5315df0cb643c73c84078fd751c90031 Update readme.md * Generated from be9b791408e4113c2462d9df4c1b31c7d59dff09 Textual changes * Generated from 70b51057c4cca0cdb6a743b4e02f39c132121570 Removing monitoring hana instance API * [AutoPR datafactory/resource-manager] Enable Avro Dataset in public swagger (#5385) * Generated from ec112148bf30430557ff3fac0c74f0706b1042de Enable Avro Dataset in public swagger * Generated from e41431428e45beaa5bbb12344d3332479c095e31 UPDATE * Generated from 1399f090601abea10de38ae50242895878947a74 (#5390) Add paramref into custom-words.txt * [AutoPR security/resource-manager] Set IoTSecuritySolutions & IoTSecuritySolutionAnalytics API as stable (#5365) * Generated from 4d6fbc52713c0423aa04f74ae330867fac488b86 Set IoTSecuritySolutions & IoTSecuritySolutionAnalytics API as stable * Generated from de032ab9863bb6d4e12b9796f64508fd4bb16f88 Merge branch 'dev-security-Microsoft.Security-2019-01-01' of https://github.com/hagba/azure-rest-api-specs into dev-security-Microsoft.Security-2019-01-01 * Generated from e763a96421ef60d69bbae038d008c08002f16359 remove paging support from IoTSecurityDeviceRecommendationsList * Generated from dea80a5e1da4b383480342bba4eca97ba55c053b remove paging from IoTSecurityAlertedDevicesList * [AutoPR healthcareapis/resource-manager] Update the possible Kind values to include FHIR R4 (#5373) * Generated from 826fa53d7867187b6e9d792b078ecd96683b532f Update the possible Kind values to include FHIR R4 * Generated from 00bea838e7cf9ff216f7dd02d5c41ac708db6c9b Fix fhir kind enum description to mention new values * Generated from 9c61d69a19c13e40a8468ea21c909aa677ac4678 (#5346) Task 4957070: ARM swagger update to include term in get reservation response. * Generated from 4b9ce59c5d971851a46d1fa96ccfb4851bf6c83c Add new API version 2019-08-01 * Generated from 5f2e092020964aa9d7d397494b0d3e9f8676a14f fixing subscription id issue * Generated from baf9fdde3c8be9ab59bae147d5d40e99cff46756 (#5320) Added preview specification in generated paths * Generated from 368b5914a375e09ef413285c932b72038a8af7e4 (#5386) fix: sql preview model validation errors - Remove empty "body" for RESPONSE_SCHEMA_NOT_IN_SPEC errors - IsAzureMonitorTargetEnabled -> isAzureMonitorTargetEnabled - "State" -> "state" - emailAccountAdmins "true" -> true - Add 202 response for RestorePoints_Create - password -> certPassword for ManagedInstanceTdeCertificates_Create and TdeCertificates_Create * Tooling fixes (#5400) Return empty slice when no tags are found. Added module version string validation. Added optional arg 'initial module version' to versioner tool. * First commit of major-updater tool * Add autorest in parallel * Make subworks sub-commands * Add afterscript * Fixed operation order * Some refine * Refine output * Refine output * Fix bug in dep * Add afterscripts and lisence header * Fixed a bug with relative path * gofmt fix * Simplify * [AutoPR] hdinsight/resource-manager (#5396) * [AutoPR hdinsight/resource-manager] [HDInsight] Add Capabilities to Stable API version,Modify ApplicationType,AccessModes to enum (#5291) * Generated from 6fd28f5f0db51b2cf7a71835ac10e3dc2c4cb390 Add Capabilities to stable version, Modify ApplicationType and AccessMode to Enum. In order to be consistent with the response from RP side, add suppression for DefinitionsPropertiesNamesCamelCase * Generated from cef6f97615ded43f65dab5eda4a5837d5ec45621 Add Capabilities to stable version, Modify ApplicationType and AccessMode to Enum. In order to be consistent with the response from RP side, add suppression for DefinitionsPropertiesNamesCamelCase * Generated from a22cf02eb2898daaac88819d82f4ccc1fba62a75 Add Capabilities to stable version, Modify ApplicationType and AccessMode to Enum. In order to be consistent with the response from RP side, add suppression for DefinitionsPropertiesNamesCamelCase * Generated from 18e8f73649a26d6acdba575f35b0e3af6fe3cd8c (#5381) Problem: in previous pr #6665 we modify accessModes and applicationType to enum, this will bring breaking change in java sdk. Solution: remove the two enum, change it to string type * [AutoPR] datafactory/resource-manager (#5405) * [AutoPR datafactory/resource-manager] Enable Avro Dataset in public swagger (#5385) * Generated from ec112148bf30430557ff3fac0c74f0706b1042de Enable Avro Dataset in public swagger * Generated from e41431428e45beaa5bbb12344d3332479c095e31 UPDATE * Generated from 1399f090601abea10de38ae50242895878947a74 (#5390) Add paramref into custom-words.txt * Generated from 814795cce5766e56d08e877d7f359c2d6380a8be (#5411) update example * [AutoPR cognitiveservices/data-plane/QnAMaker] add QnAMaker runtime to Go SDK (#5368) * Generated from 67a0600b9c098d384b275c79d1ab1b6b870e6e77 add QnAMaker runtime to Go SDK * Generated from 3d6f73607f9caee9054b290237825245306d7408 ensure package directory and namespace match * [AutoPR compute/resource-manager] Add terminate profile and scheduled events profile to Microsoft.Compute (#5310) * Generated from 9bb1d5b7f21a0e03e97ce3817554307244d45422 Correct definition format * Generated from 49bbc9237680dc7963f9d24f7cde1d05e8f14260 Merge branch 'master' into dev/szimmer/AddTerminateProfile * [AutoPR compute/resource-manager] Add missing Gallery Application API in 2019-07-01 version (#5354) * Generated from 01293ebd64fa96d11d30d9b0ef1391cbe8e62443 Add missing Gallery Application API in 2019-07-01 version * Generated from 6637309053b80e0b62b01f1c240d72749e30f1c2 Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs * Generated from 1929243cc853b5f21c5e6cef8a2867fb4d26b4dc (#5421) updating description - clarify encryption enabled by default * Generated from 3061f166bc14a327fd8506ee1b85f966db9d26fb (#5424) chore: jsonfmt logic * [AutoPR logic/resource-manager] RosettaNet Process configuration apis (#5416) * Generated from eaa9b184f467a7f80c8044d487a72d596b45fbc9 updated examples path * Generated from 68568e93d6bc5b687899488523cade3f66893779 fixes CI errors Fixed casing as required by CI * Generated from 3cd428eebae03353ad64c51526318c1890219a15 merge conflicts * Generated from b2fdc8872f13016495f8cf26d31ed4e902ee1a9e removed breaking changes * Generated from 901423e3e7dee55389f4fcc9fc5d7c793fa202ae pr feedback * Generated from 2838c1142bf4bf7b382e819cfe73e3dfcc2794d7 Merge branch 'master' into AzureLogic-rosettanet-apis * [AutoPR cognitiveservices/data-plane/InkRecognizer] [Hub Generated] Review request for InkRecognizer to add version preview/v1.0 (#5372) * Generated from 34c67e4beeb3721701921ded0f374c834723b2f7 re-naming inputDevice to inputDeviceKind * Generated from ae13f3bcaab268fc0365a1e0452535827d2bda64 Update specification/cognitiveservices/data-plane/InkRecognizer/preview/v1.0/InkRecognizer.json Co-Authored-By: Nick Schonning * [AutoPR compute/resource-manager] add HyperVGeneation in GetVMImage (#5344) * Generated from 4b3b012a4c684afd2e931bb2ac4c01bbf894eec4 add HyperVGeneation in SharedVMImageVersion * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * Generated from bcef281153fa689dac376755754aed8aac925815 (#5313) fix: servicefabric character encoding * Fix table query continuation token (#5423) * When aborting with error, delete the branch just created (if exists) * Change Delete to DeleteBranch for explicity * Generated from e2aaa71c099725ee90c36c388f88398bc33c000c (#5436) Merge https://github.com/Azure/azure-rest-api-specs * Merge pull request #5439 from Azure/restapi_auto_portal/resource-manager [AutoPR] portal/resource-manager * Generated from a415a4352bc3818452589c8eed1e9e4be1cb8260 (#5442) Update Tasks.json Fixed incorrect discriminator for Oracle to PostgreSQL scenario. * Generated from ca46ecf5c4baeb43c5fc1afb355c065bf49efd90 (#5449) Update OracleAzureDbPostgreSqlSyncTask.json Added "caseManipulation" to MigrateOracleAzureDbPostgreSqlSyncDatabaseInput object * Generated from b3623415bfb03b5a528c8a2a20caad53aba43ce2 Adding managed resource group and log Analytics Workspace to the GET API * Generated from f1354d954d03c2283656d3c820a88dcfc2ddf79e Updating fields in the list and patch APIs * Generated from df3fa85139fca07f04373031470bed637e7b8126 Update Batch Swagger documentation * [AutoPR servicefabric/resource-manager] Moving sfrp release 2019-03-01 to stable (#5314) * Generated from b1a5bbf475639da8e8bf4783ba33a4af17caa08c remove location and tags from proxyResource * Generated from 14c9abcc8bd1b6e9635a60226e3966b774951e28 Revert "remove location and tags from proxyResource" This reverts commit b1a5bbf475639da8e8bf4783ba33a4af17caa08c. * Generated from 2380d7af2f3e2d507c5486d8fb6abfd816a65bed change location description in ProxyResource to dcument as deprecated * Generated from 17ffb0840e98cd725c5c999160787b8605c414d6 rename put operations to *_CreateOrUpdate * Generated from e8805bf5ca1ff7c125b84a637eb483af9efd5ff5 (#5459) add readme go * Generated from 27e7dd3c7e4a6b855c902cfaf35380e273760cde (#5462) Update readme.md files missed from previous commit * Generated from 3acbc3b4106db3097de5be5e4df47afb38d51ec0 (#5473) Use cors definition from blob.json * Generated from 408cd70f35f18e81fc46aa6538822c850bd8ced4 (#5489) Updating the skus names and clarified capacity description * [AutoPR containerservice/resource-manager] [Hub Generated] Review request for Microsoft.ContainerService to add version stable/2019-08-01 (#5444) * Generated from 9e6d4ac959af23add7e84ec0531c0643e3bde433 Update tags for 2019-08-01 SDK generation * Generated from 2307de018692dde013d3bf3ed0557c6d8f84519d Add private link resources * Generated from 9e6d4ac959af23add7e84ec0531c0643e3bde433 Update tags for 2019-08-01 SDK generation * Generated from 70862cb4e798bea3905a652d60569cf436a8f0c7 (#5501) Add config for go * Generated from faa8f71aa05aaed68631716cc9ef24451d760b3e (#5465) remove redundent schema reference * [AutoPR recoveryservicesbackup/resource-manager] Adding non mandatory fields in ProtectedItem and AzureVmWorkloadProte… (#5392) * Generated from 142bb9d9a841dde1be669e35ba1586138ed1a599 Adding non mandatory fields in ProtectedItem and AzureVmWorkloadProtectionPolicy Adding additional fields for ProtectedItem related to soft delete feature ; description of each field is in the fields. In AzureVmWorkloadProtectionPolicy adding another field for fixup of policy * Generated from ad48ba50e1864e1adb4845d4bbf73ee192354cde Rehydrate removal from description Rehydrated is not in dictionary of swagger valiation and thus removed from description * Generated from bd73c95f36f3758171783a5b37b8e097b9726524 Updating the Field for deferred deleted Time Updating the new field for deleted time in ProtectedItem while keeping the syncTime for MABfileFolderProtectedItem * Generated from ac509691885fb8f4bf7e0cec8219571c0dfd23ac Undo change to AzureVmWorkloadProtectionPolicy Removed the change to AzureVmWorkloadProtectionPolicy as this requires new api version * Generated from d0e65933a9e0764079436e3f000fe80796479542 Fixing camelcasing Camelcasing of isDeferredDeleteScheduleUpcoming field * Generated from dea881c0a4daf7b8a1472e9e33efffdd6247d0de (#5529) Add missing json to package-composite-v2, package-composite-v1, package-pure-2017-03-preview and package-2017-03-preview * [AutoPR billing/resource-manager] [Do not merge] [Microsoft.Billing] Customers resource for partner-channel (#5343) * Generated from 7f7f0f2009acea6f3d52c4e1f8f4f4af37b5ae5b Update examples. * Generated from 967632713b1ea0e839baef7d47f3f857923f9ad1 Fix reseller property on billingSubscription. * compute/resource-manager] Swagger: Allowing for VMSS reference during VM creation (#5408) * Generated from 547a98bc34516d8788adff951ebd929d8d5125ae Swagger: Allowing for VMSS reference during VM creation * Generated from 2723517c6c29f1c6945bdf05b9c4e42f85159011 fixing typo * Generated from 004d77657b470329193715edd882bc1934d0785a (#5534) Fix bad discriminator value on ConnectionInfo which was breaking node/js SDK generation * Generated from 7c78ea20f697176d9e9017b076e0dc76e09aa303 Update custom-words.txt * Generated from f1ef9612fd56160b7976caeae1830276cd848761 (#5547) fix bad 'unknown' discriminator value in the rest of our datamigration models * Generated from 92b46a61425bf808ff7b4ffef9d3bb063713558b (#5531) Mark ownerEmail as required properties for workspace RP * Update to latest Go code generator (#5583) * [AutoPR hanaonazure/resource-manager] Added Key Vault ID for GET and LIST SapMonitor (#5410) * Generated from b39adb6b69cc5d847e3158430da68bfe4b935ec2 Added Key Vault ID for GET and LIST SapMonitor * Generated from c5d2bc253fb4880b9543bd5edb6a38138fb40e64 Added Key Vault ID for GET and LIST SapMonitor * datalakegen2 endpoints require https (#5572) * datalakegen2 endpoints require https * regenerate with 2.1.136 of autorest.go * Generated from 27425d2151bbc9609e18833c5479739f8266de47 (#5538) Update readme.md * Generated from a9e6716031821eff25f2cbb422960fa56742c0e9 (#5586) Merge branch 'master' into akpati/ssh-property-change * [AutoPR containerregistry/resource-manager] [ACR] Update retention policy schema (#5571) * Generated from 1afeec1884ccf139e6c1bda82ab81227b3df9d2b update retention policy schema * Generated from c136d1fcf1a161f68944223dad032c4407154c6f remove unnecessary breaking change * Generated from 287fcbfdc1fc8b0926588963393574052e0bb9ed fix typo * Merge pull request #5610 from Azure/restapi_auto_reservations/resource-manager [AutoPR] reservations/resource-manager * Generated from 4e144aa43b738e1792883408252e26570a777706 (#5587) Add codegen config for kusto 2019-05-15 * [AutoPR resources/resource-manager] Adding a new api version 2019-06-01 for Microsoft.Authorization policy artifacts (#5585) * Generated from 75581e4277112188117db523a260ae818d949523 added stable/2019-06-01 version for Authorization RP * Generated from edd74f0a1be6f17caa185525a63e594aef956acc Addressed review comments. * Merge pull request #5622 from Azure/restapi_auto_storage/resource-manager [AutoPR] storage/resource-manager * Generated from 65b2f8a37695f3d9cf53c50a05a61c4179857199 (#5605) updated readme with correct version. * Change log level from verbose to normal * Minor change * v33.0.0 draft * Fix vet failure * Update readme * Now major updater reads the config file * Change rel path to abs path * Fix compile error * Execute after script from config file * Refine output * [AutoPR] compute/resource-manager (#5656) * [AutoPR compute/resource-manager] removing non-ascii character (#5325) * Generated from 090b727225320af61034c7278c3ccf51dcbef8a2 removing non-ascii character * Generated from 56ccb1151588cff87c1c92eee0e6c56e42c7f2f4 corrected the description * [AutoPR compute/resource-manager] Add terminate profile and scheduled events profile to Microsoft.Compute (#5310) * Generated from 9bb1d5b7f21a0e03e97ce3817554307244d45422 Correct definition format * Generated from 49bbc9237680dc7963f9d24f7cde1d05e8f14260 Merge branch 'master' into dev/szimmer/AddTerminateProfile * [AutoPR compute/resource-manager] Add missing Gallery Application API in 2019-07-01 version (#5354) * Generated from 01293ebd64fa96d11d30d9b0ef1391cbe8e62443 Add missing Gallery Application API in 2019-07-01 version * Generated from 6637309053b80e0b62b01f1c240d72749e30f1c2 Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs * [AutoPR compute/resource-manager] add HyperVGeneation in GetVMImage (#5344) * Generated from 4b3b012a4c684afd2e931bb2ac4c01bbf894eec4 add HyperVGeneation in SharedVMImageVersion * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * compute/resource-manager] Swagger: Allowing for VMSS reference during VM creation (#5408) * Generated from 547a98bc34516d8788adff951ebd929d8d5125ae Swagger: Allowing for VMSS reference during VM creation * Generated from 2723517c6c29f1c6945bdf05b9c4e42f85159011 fixing typo * [AutoPR compute/resource-manager] [Do not merge yet] DiskRP Swagger changes for 2019-03-01 (#5398) * Generated from a308b6604cb4bfdb8085d78f998aa3718cf9ae36 adding unique id * Generated from b7b0ecc49d6694ea41c66ef9936f05da9bae38f3 fixing typo * Generated from 34c96075059bf06bf052835f6f405b2d0649d1b7 removing diskSizeBytes from snapshot\disk update properties and adding a unique id for disk properties * Generated from 1ad0c2e2dd85dad2a363072eb4cdcbe250e1522b pr comments * Generated from 4f5dbad04518d0674689ac2a2388ea823d28cadf pr comments * [AutoPR compute/resource-manager] Adding low priority and variable pricing feature for standalone VMs. Added priority, eviction policy and billing profile to VirtualMachineProperties. Also, adding optional billing profile to VMSS Create and Update APIs. (#5523) * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 9d5e30df16e3ea43cb3b21b5f5264373d8ed2397 (#5596) updating an incorrect description for uploadsizebytes * Generated from 79b1099e7cf1d0a077c2f5b38b4c83408b97a59b (#5652) Add missing $expand parameter to AvSet list by subscription API * Generated from 027c5530dd98ce87a84ba78c3e3cf8d2451d0c13 (#5569) Fixed the formatting * [AutoPR eventhub/resource-manager] Eventhub: added NetworkRuleSets list API (#5627) * Generated from 46cb463f5dbcd442661875e4eb9d963af3bd1225 added NetworkRuleSets list API * Generated from c09ca0cf8b2a8d98ee64b897e1858f4be8a67f95 added x-ms-pageable and formating * Generated from 8bc2a7edfeebb1a6bb30abbbb03d08bf1f8a8dbc update * Generated from 111d1bc1666fe89cebb960135cf2f5336bbcb35a (#5615) Removed rogue file * [AutoPR machinelearningservices/resource-manager] [NEED DESIGN REVIEW, DO NOT MERGE] Adding workspace level quota management APIs in version 2019-05-01 (#5641) * Generated from f5ddfe85225c2d4f86f7de8e99760b95d1dea6bf Merge branch 'master' into leizhao/workspaceQuotaManagementInVersion2019-05-01 * Generated from c89caf92470c4c334883662fd98e6bd07881807d migrate quota management from 2019-05-01 to 2019-06-01, no content changes * [AutoPR storagecache/resource-manager] Dev storagecache microsoft.storagecache 2019 06 01 preview (#5623) * Generated from 570b6f73542c34f1eb0ab0a85e44b4d929ff55b6 Fix output folder path for GO SDK and fix typo in Tag * Generated from 908e3cd2e18a38be0711e03035c7acdc7ab6d1f2 Fix version in the path of output folder for GO SDK * Generated from 10811b8f33c5e36350b618955cdd8edc9dd67c11 (#5673) Fix bad package name for storagecache in go sdk * Fix bad package name * Fix profile and fmt * Generated from 54eb3260d53865005eb6ccfdc9843e7ab10d9da5 (#5551) adding maintenanceConfiguration list and resourceId for updates * Generated from be2943341d08ab5972e4d2385b1860d34ee61f59 (#5675) Fix bad namespace in service maintenance * Fix wrong namespace * Fix profile and fmt * Generated from 3bcf3602288f763a70a2f3cb10100406e0e53257 (#5672) Addressed misspelled word and mode error * Generated from 5e1bb35d5c3314d8f4fead76c3d69a2522be026b (#5651) Update review comments * [AutoPR datafactory/resource-manager] support Express Custom Setup (#5536) * Generated from 696212c605edef333cba0f0e86d42ba344f4fc42 address the comments * Generated from 4de64a2262df8e2e971620c95f7c3a2ba91d49d9 address comments * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * [AutoPR datafactory/resource-manager] [Data Factory]Add ORC Dataset/Copy Source/Copy Sink (#5611) * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Fix CI failure and conflict * [AutoPR] compute/resource-manager (#5688) * [AutoPR compute/resource-manager] removing non-ascii character (#5325) * Generated from 090b727225320af61034c7278c3ccf51dcbef8a2 removing non-ascii character * Generated from 56ccb1151588cff87c1c92eee0e6c56e42c7f2f4 corrected the description * [AutoPR compute/resource-manager] Add terminate profile and scheduled events profile to Microsoft.Compute (#5310) * Generated from 9bb1d5b7f21a0e03e97ce3817554307244d45422 Correct definition format * Generated from 49bbc9237680dc7963f9d24f7cde1d05e8f14260 Merge branch 'master' into dev/szimmer/AddTerminateProfile * [AutoPR compute/resource-manager] Add missing Gallery Application API in 2019-07-01 version (#5354) * Generated from 01293ebd64fa96d11d30d9b0ef1391cbe8e62443 Add missing Gallery Application API in 2019-07-01 version * Generated from 6637309053b80e0b62b01f1c240d72749e30f1c2 Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs * [AutoPR compute/resource-manager] add HyperVGeneation in GetVMImage (#5344) * Generated from 4b3b012a4c684afd2e931bb2ac4c01bbf894eec4 add HyperVGeneation in SharedVMImageVersion * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * compute/resource-manager] Swagger: Allowing for VMSS reference during VM creation (#5408) * Generated from 547a98bc34516d8788adff951ebd929d8d5125ae Swagger: Allowing for VMSS reference during VM creation * Generated from 2723517c6c29f1c6945bdf05b9c4e42f85159011 fixing typo * [AutoPR compute/resource-manager] [Do not merge yet] DiskRP Swagger changes for 2019-03-01 (#5398) * Generated from a308b6604cb4bfdb8085d78f998aa3718cf9ae36 adding unique id * Generated from b7b0ecc49d6694ea41c66ef9936f05da9bae38f3 fixing typo * Generated from 34c96075059bf06bf052835f6f405b2d0649d1b7 removing diskSizeBytes from snapshot\disk update properties and adding a unique id for disk properties * Generated from 1ad0c2e2dd85dad2a363072eb4cdcbe250e1522b pr comments * Generated from 4f5dbad04518d0674689ac2a2388ea823d28cadf pr comments * [AutoPR compute/resource-manager] Adding low priority and variable pricing feature for standalone VMs. Added priority, eviction policy and billing profile to VirtualMachineProperties. Also, adding optional billing profile to VMSS Create and Update APIs. (#5523) * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 9d5e30df16e3ea43cb3b21b5f5264373d8ed2397 (#5596) updating an incorrect description for uploadsizebytes * Generated from 79b1099e7cf1d0a077c2f5b38b4c83408b97a59b (#5652) Add missing $expand parameter to AvSet list by subscription API * [AutoPR] securityinsights/resource-manager (#5683) * Generated from 878390cbb0806c9194cc9ceaed923284d2d8f2ac (#5288) Fix mistake * [AutoPR securityinsights/resource-manager] SecurityInsights: Investigation swagger updates (#5292) * Generated from 27abe226e56bd1a6d13985c9bc8871148a8c34ad Merge branch 'master' into InvestigationSwagger * Generated from ebb1f1f5bdab7f12639fbee775adf16611d092ad removed cases changes (will be in another PR) * Generated from ab899e75a364a5b6dbf21370c1db65b769094ec8 removed bookmarkEntity from entities api (currently not supported) * [AutoPR securityinsights/resource-manager] Adding alertRuleTemplates swagger spec to securityInsight (#5504) * Generated from d731243f4645a2df9c8389e10e93be04ea78a620 Add alertRuleTemplates endpoint to securityInsight * Generated from d09f26c587fddd31fa13cb3d94d7a9bbe8d58ec8 fix merge conflict * Generated from efe14acff06c754692f29bffee877f29edb68b89 Bookmarks swagger updates * Generated from 07393c4915496b1768a08c5f408b05cdb2a27f10 fix typos * Generated from 98fdd0347934e59d39a7b6f803f170933c96d199 fix typo * Generated from e00e65896ca96c4c814528fa286e3f6e2d534122 (#5682) sort definitions and parameters by ABC * Resolved conflict manually * [AutoPR] network/resource-manager (#5692) * Generated from 3b992f9396f9c0bc7e34b11696efcffafa92575a (#5297) add network package-2019-06 to Go SDK * Generated from 36ba645d97091ead19fa04d57595069d73491c7e (#5511) Update PE/PLS * Generated from ec578e180c4515be63046f0b0991d7b9547e657d (#5522) Update description of "location" in serviceTags.json * [AutoPR network/resource-manager] chore: jsonfmt network (#5514) * Generated from 2c363ba11150b1894650db67b5d4a03166b95afd chore: jsonfmt network * Generated from 2c363ba11150b1894650db67b5d4a03166b95afd chore: jsonfmt network * Generated from 92006e420d65cb70e4b93bc5850af575da4efb78 (#5637) Mark "provisioningState" as read-only * [AutoPR network/resource-manager] Add missing read-only property "outboundRules" in LoadBalancer specs (#5647) * Generated from 658cfc162acc76fd35b81aa42b29406d9ba013cb Add missing read-only property "outboundRules" in LoadBalancer specs * Generated from 658cfc162acc76fd35b81aa42b29406d9ba013cb Add missing read-only property "outboundRules" in LoadBalancer specs * [AutoPR] storage/resource-manager (#5695) * Generated from 3acbc3b4106db3097de5be5e4df47afb38d51ec0 (#5473) Use cors definition from blob.json * Generated from 94667089d429b4f1aca38e60f85b13f5c0039219 (#5580) Align File swagger with the Blob swagger * Generated from 8264dcc49e0bc239013cd76ce9664f83f1041967 (#5678) Update Kusto.json with TSVE data format * [AutoPR eventgrid/data-plane] Create KeyVault.json (#5546) * Generated from 66c76158ca650e8f4bf0ff082bc5428e2544c457 Update readme with KeyVault.json * Generated from 7d4a2513c50a216bfe9cbf6a6f769d460d7211f4 Revert "Update readme with KeyVault.json" This reverts commit 66c76158ca650e8f4bf0ff082bc5428e2544c457. * Generated from 44674ab5aabc591e8dd6b10d326071e8fa3ccd49 Update readme.md * [AutoPR] compute/resource-manager (#5706) * [AutoPR compute/resource-manager] removing non-ascii character (#5325) * Generated from 090b727225320af61034c7278c3ccf51dcbef8a2 removing non-ascii character * Generated from 56ccb1151588cff87c1c92eee0e6c56e42c7f2f4 corrected the description * [AutoPR compute/resource-manager] Add terminate profile and scheduled events profile to Microsoft.Compute (#5310) * Generated from 9bb1d5b7f21a0e03e97ce3817554307244d45422 Correct definition format * Generated from 49bbc9237680dc7963f9d24f7cde1d05e8f14260 Merge branch 'master' into dev/szimmer/AddTerminateProfile * [AutoPR compute/resource-manager] Add missing Gallery Application API in 2019-07-01 version (#5354) * Generated from 01293ebd64fa96d11d30d9b0ef1391cbe8e62443 Add missing Gallery Application API in 2019-07-01 version * Generated from 6637309053b80e0b62b01f1c240d72749e30f1c2 Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs * [AutoPR compute/resource-manager] add HyperVGeneation in GetVMImage (#5344) * Generated from 4b3b012a4c684afd2e931bb2ac4c01bbf894eec4 add HyperVGeneation in SharedVMImageVersion * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * compute/resource-manager] Swagger: Allowing for VMSS reference during VM creation (#5408) * Generated from 547a98bc34516d8788adff951ebd929d8d5125ae Swagger: Allowing for VMSS reference during VM creation * Generated from 2723517c6c29f1c6945bdf05b9c4e42f85159011 fixing typo * [AutoPR compute/resource-manager] [Do not merge yet] DiskRP Swagger changes for 2019-03-01 (#5398) * Generated from a308b6604cb4bfdb8085d78f998aa3718cf9ae36 adding unique id * Generated from b7b0ecc49d6694ea41c66ef9936f05da9bae38f3 fixing typo * Generated from 34c96075059bf06bf052835f6f405b2d0649d1b7 removing diskSizeBytes from snapshot\disk update properties and adding a unique id for disk properties * Generated from 1ad0c2e2dd85dad2a363072eb4cdcbe250e1522b pr comments * Generated from 4f5dbad04518d0674689ac2a2388ea823d28cadf pr comments * [AutoPR compute/resource-manager] Adding low priority and variable pricing feature for standalone VMs. Added priority, eviction policy and billing profile to VirtualMachineProperties. Also, adding optional billing profile to VMSS Create and Update APIs. (#5523) * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 9d5e30df16e3ea43cb3b21b5f5264373d8ed2397 (#5596) updating an incorrect description for uploadsizebytes * Generated from 79b1099e7cf1d0a077c2f5b38b4c83408b97a59b (#5652) Add missing $expand parameter to AvSet list by subscription API * [AutoPR] storage/resource-manager (#5707) * Generated from 3acbc3b4106db3097de5be5e4df47afb38d51ec0 (#5473) Use cors definition from blob.json * Generated from 94667089d429b4f1aca38e60f85b13f5c0039219 (#5580) Align File swagger with the Blob swagger * [AutoPR storage/resource-manager] Add change feed properties to 2019-04-01 Storage. (#5621) * Generated from 774367438889ac553def1957b72b8ba63ad877e5 Add change feed properties to 2019-04-01 Storage. Add change feed properties to Storage Blob Services. * Generated from 774367438889ac553def1957b72b8ba63ad877e5 Add change feed properties to 2019-04-01 Storage. Add change feed properties to Storage Blob Services. * Generated from 34d744550227bee7b380604d38fc1de6c9af6397 (#5708) Update netapp.json * Merge pull request #5714 from Azure/restapi_auto_compute/resource-manager [AutoPR] compute/resource-manager * Update swagger_to_sdk_config.json Update autorest.go to new version * Generated from 5ea5da031f993e6dd8061f42abbea77d58e66020 Clarify KeyVault time as seconds since Unix epoch * Generated from b621ede227cd29651b1712782d964373fc2da6ec (#5717) Quick fix * Generated from 4eb71094207cc3188dfa1d604325731362a555a5 updating readmes * feature: support PutBlockFromURL API: https://docs.microsoft.com/en-us/rest/api/storageservices/put-block-from-url * Generated from 18efd73807c1182800e0521f67e1e5ae2ee70394 added missing packages to compute release * [AutoPR] compute/resource-manager (#5721) * [AutoPR compute/resource-manager] removing non-ascii character (#5325) * Generated from 090b727225320af61034c7278c3ccf51dcbef8a2 removing non-ascii character * Generated from 56ccb1151588cff87c1c92eee0e6c56e42c7f2f4 corrected the description * [AutoPR compute/resource-manager] Add terminate profile and scheduled events profile to Microsoft.Compute (#5310) * Generated from 9bb1d5b7f21a0e03e97ce3817554307244d45422 Correct definition format * Generated from 49bbc9237680dc7963f9d24f7cde1d05e8f14260 Merge branch 'master' into dev/szimmer/AddTerminateProfile * [AutoPR compute/resource-manager] Add missing Gallery Application API in 2019-07-01 version (#5354) * Generated from 01293ebd64fa96d11d30d9b0ef1391cbe8e62443 Add missing Gallery Application API in 2019-07-01 version * Generated from 6637309053b80e0b62b01f1c240d72749e30f1c2 Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs * [AutoPR compute/resource-manager] add HyperVGeneation in GetVMImage (#5344) * Generated from 4b3b012a4c684afd2e931bb2ac4c01bbf894eec4 add HyperVGeneation in SharedVMImageVersion * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * compute/resource-manager] Swagger: Allowing for VMSS reference during VM creation (#5408) * Generated from 547a98bc34516d8788adff951ebd929d8d5125ae Swagger: Allowing for VMSS reference during VM creation * Generated from 2723517c6c29f1c6945bdf05b9c4e42f85159011 fixing typo * [AutoPR compute/resource-manager] [Do not merge yet] DiskRP Swagger changes for 2019-03-01 (#5398) * Generated from a308b6604cb4bfdb8085d78f998aa3718cf9ae36 adding unique id * Generated from b7b0ecc49d6694ea41c66ef9936f05da9bae38f3 fixing typo * Generated from 34c96075059bf06bf052835f6f405b2d0649d1b7 removing diskSizeBytes from snapshot\disk update properties and adding a unique id for disk properties * Generated from 1ad0c2e2dd85dad2a363072eb4cdcbe250e1522b pr comments * Generated from 4f5dbad04518d0674689ac2a2388ea823d28cadf pr comments * [AutoPR compute/resource-manager] Adding low priority and variable pricing feature for standalone VMs. Added priority, eviction policy and billing profile to VirtualMachineProperties. Also, adding optional billing profile to VMSS Create and Update APIs. (#5523) * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 9d5e30df16e3ea43cb3b21b5f5264373d8ed2397 (#5596) updating an incorrect description for uploadsizebytes * Generated from 79b1099e7cf1d0a077c2f5b38b4c83408b97a59b (#5652) Add missing $expand parameter to AvSet list by subscription API * [AutoPR compute/resource-manager] Add VMScaleSet ScaleIn Policy (#5606) * Generated from 5968c8d1d8f53fcce6b11bc71e4be3c6bc550617 Add VMScaleSet ScaleIn Policy Adds VMScaleSet ScaleIn policy that is supported with the 2019-03-01 header but not included in Swagger * Generated from 17a6aebc538afafffc9ce87f083fc07592a6b5c3 Update compute.json Fix indentation * [AutoPR] datafactory/resource-manager (#5730) * Generated from 5e1bb35d5c3314d8f4fead76c3d69a2522be026b (#5651) Update review comments * [AutoPR datafactory/resource-manager] support Express Custom Setup (#5536) * Generated from 696212c605edef333cba0f0e86d42ba344f4fc42 address the comments * Generated from 4de64a2262df8e2e971620c95f7c3a2ba91d49d9 address comments * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * [AutoPR datafactory/resource-manager] [Data Factory]Add ORC Dataset/Copy Source/Copy Sink (#5611) * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Fix CI failure and conflict * Generated from b07009df21da758efcb13fbbd25ce9e450751586 (#5729) [DataFactory] Update Databricks linked service swagger related to warm pools. * Generated from 4d7873fcb2eb980ac1eacad015893bd5634a5a37 (#5735) [ACR] Adding scopemap spec file for new SDK build For releasing ScopeMap and Token features, we need to retrieve models from the scopemap spec file. The existing SDK version doesn't incorporate changes from the scopemap spec file. Requesting a new SDK build. Please suggest changes if deemed necessary. * Generated from 68ccfd97b6bd4b29219d6988342451fff61b7031 (#5737) [Batch] Update documentation around app packages * [AutoPR servicebus/resource-manager] ServiceBus: added NetworkRuleSets list API (#5624) * Generated from 26fbb00e498d34206afb040c7c9eb7b79fa3fd5e added NetworkRuleSets list API * Generated from 87e06617e7103a97295b2fe25f4a47990371b397 added x-ms-pageable and formating * Generated from 2f83e3fb7917b9f6301fea15cf45e3e3fbeac7bb removed readonly for compatibilityLevel * [AutoPR cosmos-db/resource-manager] Add short url for all api resources (#5448) * Generated from 6b485b2047ec2cc073363b94a56778b108912940 Add short url for all api resources * Generated from d0f3adbb4578d7a5569d29a683663bf4772af38a Correct GremlinResources_ spell * Generated from a05be8787ab7cc8346e38c01ccbd45731ad95169 Add new api version * Generated from 72880ac9171c7118002c56eb2152265bb41442ba Fix spell error * Generated from 1ca1ae2151cd7248fac7b82624424ce63383a28a (#5745) fix: Double word "the" in datalake-analytics * [AutoPR] datafactory/resource-manager (#5751) * Generated from 5e1bb35d5c3314d8f4fead76c3d69a2522be026b (#5651) Update review comments * [AutoPR datafactory/resource-manager] support Express Custom Setup (#5536) * Generated from 696212c605edef333cba0f0e86d42ba344f4fc42 address the comments * Generated from 4de64a2262df8e2e971620c95f7c3a2ba91d49d9 address comments * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * [AutoPR datafactory/resource-manager] [Data Factory]Add ORC Dataset/Copy Source/Copy Sink (#5611) * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Fix CI failure and conflict * Generated from b07009df21da758efcb13fbbd25ce9e450751586 (#5729) [DataFactory] Update Databricks linked service swagger related to warm pools. * Generated from 5cc2c54ac1ba7f41fd2426ff39df46f785ce55f2 (#5748) Add a clearer description. * Generated from 94dbf0ac2518371373cf8f2eb74bba657b1e7b90 (#5414) Orphan property removed * Generated from 33d64b558114a9a861b82dc17518e359758d1688 (#5686) Fix SpellCheck Swagger Specification * Generated from 81fb55e8252598b44b1d5ee4db527eacba725546 (#5687) Fix Local Search Swagger * Generated from latest specs of network * Generated from af961540f808cb651ddb1dbac08619eafc06330e (#5789) Add 2019-07 version to network go code generation * Generated from 1baa9a51ee00db62b006b2081d2811297d48d3d4 (#5761) Updated 2019-02-01-preview api version to include operation.g * Generated from 7837d7e037f47c5a2414e0a241e1472c960ff055 (#5744) fix: Double word "the" in automation * [AutoPR datamigration/resource-manager] Correct the version (#5516) * Generated from 8de2c91a547e5ab394d4569aed0dda9b814c9cce Correct the version * Generated from 8de2c91a547e5ab394d4569aed0dda9b814c9cce Correct the version * Generated from 68427c1d0294d9f4acbe7355261c31cd407a2d95 (#5727) Add purge API details. * [AutoPR] frontdoor/resource-manager (#5784) * Generated from 27e7dd3c7e4a6b855c902cfaf35380e273760cde (#5462) Update readme.md files missed from previous commit * Generated from adca4cd9eac95f46998e3b35e1d5ae600498808f (#5508) add SocketAddr matchvariable * Generated from 88294366687bc74b0efc484eb8f0d08980de3804 (#5746) fix: Double word "the" in resources * [AutoPR] datafactory/resource-manager (#5795) * Generated from 5e1bb35d5c3314d8f4fead76c3d69a2522be026b (#5651) Update review comments * [AutoPR datafactory/resource-manager] support Express Custom Setup (#5536) * Generated from 696212c605edef333cba0f0e86d42ba344f4fc42 address the comments * Generated from 4de64a2262df8e2e971620c95f7c3a2ba91d49d9 address comments * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * [AutoPR datafactory/resource-manager] [Data Factory]Add ORC Dataset/Copy Source/Copy Sink (#5611) * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Fix CI failure and conflict * Generated from b07009df21da758efcb13fbbd25ce9e450751586 (#5729) [DataFactory] Update Databricks linked service swagger related to warm pools. * Generated from 5cc2c54ac1ba7f41fd2426ff39df46f785ce55f2 (#5748) Add a clearer description. * Generated from 9402dbf3fb3d5fffcb80f501b1fc857ff97ab723 (#5760) Fixing PR validation errors * Generated from 5927195a95dbda5a1729692d42a088b60c4a4a88 Adding new version of API * [AutoPR] datafactory/resource-manager (#5807) * Generated from 5e1bb35d5c3314d8f4fead76c3d69a2522be026b (#5651) Update review comments * [AutoPR datafactory/resource-manager] support Express Custom Setup (#5536) * Generated from 696212c605edef333cba0f0e86d42ba344f4fc42 address the comments * Generated from 4de64a2262df8e2e971620c95f7c3a2ba91d49d9 address comments * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * [AutoPR datafactory/resource-manager] [Data Factory]Add ORC Dataset/Copy Source/Copy Sink (#5611) * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Fix CI failure and conflict * Generated from b07009df21da758efcb13fbbd25ce9e450751586 (#5729) [DataFactory] Update Databricks linked service swagger related to warm pools. * Generated from 5cc2c54ac1ba7f41fd2426ff39df46f785ce55f2 (#5748) Add a clearer description. * [AutoPR reservations/resource-manager] [Hub Generated] Review request for Microsoft.Capacity to add version preview/2019-04-01 (#5766) * Generated from f19a2e5b7f384018b74b21b7b8b8782d95b456f9 fixed x-ms-enum value * Generated from 2f56008117d578bec6cc8b8c832926f45a0fe52e fixed catalog definition * Generated from cac978330e8c7b9583812a735cfeac97fb267056 reverted breaking operation id change * update README with info on customizing SendDecorators (#5832) * Generated from f3e85bf537e973832fd8b630394c4b951badce66 (#5798) Fix eligibility typo * Generated from d3620f1cf3fda9d30555c4b0e47a1ea521ca5404 (#5799) Review 1 + remove v3.0 preview * Generated from 67a8ba34e8eb3e3c0ffa6efdd019e46391b42571 (#5812) Update readme.go.md Updated output-folder (removed `stable`) * Generated from 96e53c8b30b238235fadb02b5ebf75533039ab91 (#5773) fix getting agent pool available versions api path * [AutoPR logic/resource-manager] [LogicApps] New Api version (#5834) * Generated from acf43615d58480cc7285f4a26b1108971162fc4a Fixed error * Generated from c2f47d91b77ffe997d38994cff32f7b410b1a308 Fixed model errors * Generated from 4f11b92d108f861c21411092dacd997a32bb7076 Fixed more errors in Logic json * Generated from 7c5619dfd675cc3af284d52337539ca861732528 Fixed resource reference issue * Generated from 56286b280dda0ebf76f171c8e4f7288e5ea5141b Fixed Resubmit trigger histories * [AutoPR] datafactory/resource-manager (#5830) * Generated from 5e1bb35d5c3314d8f4fead76c3d69a2522be026b (#5651) Update review comments * [AutoPR datafactory/resource-manager] support Express Custom Setup (#5536) * Generated from 696212c605edef333cba0f0e86d42ba344f4fc42 address the comments * Generated from 4de64a2262df8e2e971620c95f7c3a2ba91d49d9 address comments * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * [AutoPR datafactory/resource-manager] [Data Factory]Add ORC Dataset/Copy Source/Copy Sink (#5611) * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Fix CI failure and conflict * Generated from b07009df21da758efcb13fbbd25ce9e450751586 (#5729) [DataFactory] Update Databricks linked service swagger related to warm pools. * Generated from 5cc2c54ac1ba7f41fd2426ff39df46f785ce55f2 (#5748) Add a clearer description. * Generated from 239e696db0a17997d3bc2a77c9670180e527fcfc (#5797) Update location in ManagedNetwork * Generated from 0e25b55ea7d548f56eada51b4065224e02eab5e7 (#5815) Restoring expandChildren changes * Generated from 3ff7f07c725255fe7a891687890dd1b928c772ee enum name must be fixed here as well * Generated from 91579252e6aa0e9aa0b00749c82755240e5f5282 (#5845) Add aad domain name for windows login migration support * Generated from 0d3d4d1b56bbbb9e001f971a9ab2c7df8749a9f3 (#5850) Stablize 2019-04 and 2019-05 for frontdoor * [AutoPR sql/resource-manager] Add new APIs (two List APIs) and update examples (#5728) * Generated from b5c48e4b89006ae465040001f67683dcec790b4b Update DatabaseAuditingSettingsList.json * Generated from b5c48e4b89006ae465040001f67683dcec790b4b Update DatabaseAuditingSettingsList.json * Generated from 3ff8cd57b4a86c753b773d2dba460f7e6a62f4c1 (#5864) remove additional property for data flow enitty * Generated from 8188f2ed896ed7f345c5a324f3c62aaca926a35b (#5867) Removed one property which won't be exposed to public for now * Generated from 1cac6227f3d809cbabebc0ca1140469c9d2a7030 (#5872) remove unnecessary additional property * Generated from ad2716208f8089dd2d768faf9e9f765660fafc9c (#5873) Fixed unknown words * Generated from 51020f68a1a7cd0fd66f44a493e8a8b2a23f1e2a (#5875) Add nextLink * Generated from 16c7d5f2a872e3b7cc01c7dd8af608a586776fe9 (#5862) lowercase the collection types * Generated from edb4eee278a0a531af70668fcc2a55e04396d5b1 (#5886) update operation id on list all * [AutoPR security/resource-manager] Jit api add justification (#5866) * Generated from 162213184e0652221884ff84f11c93fe935ec78d Merge branch 'master' into jit-api-add-justification * Generated from 162213184e0652221884ff84f11c93fe935ec78d Merge branch 'master' into jit-api-add-justification * Generated from 63d0bd0751dd12efb7a19fd63807a26919c02b11 (#5868) Add support for attached databases * Generated from ebaee7c36eb7db67a4e648374f69f26a654b444f (#5885) [SRP] Add new storage account property largeFileSharesState * v34.0.0 * [AutoPR network/resource-manager] Network September release (#5940) * Generated from 10dc6bc902a0884218d9d336da7d993839599645 Add reference to Connection Monitor specs in 2019-08-01 (#7218) * Generated from 40628938c2d43d66b4cc5a778e35d470f4299727 Move new props to the end to avoid breaking changes in SDK (#7387) * Revert deletion of hand-written packages * Add network September release * v34.1.0 * Generated from d16da2ae0ccb63bad6796ad92e9f5b3deff263a1 (#5856) Removed extra file * [AutoPR compute/resource-manager] vmss: support for passing a health probe to update (#5914) * Generated from 5b6736a9b79ace44f3c0080596a48a2c5072c739 vmss: support for passing a health probe to update * Generated from 5b6736a9b79ace44f3c0080596a48a2c5072c739 vmss: support for passing a health probe to update * Generated from 907e4904d4d23c9808b0e9a1e9d6feed24a85674 (#5997) Add api version 2019-07-01 for features * v34.1.0 * Add two test cases * Add more test cases for modules * Code refine * Fix gofmt issue * Some comments changes to silence linter * Change from 1.13 back to 1.12 * Generated from 4b1813edb7a61c029f7036506b08398a7da69221 (#5971) Add packages for API version for different languages * Add new service appplatform * v34.2.0 * Generated from 15e50a07198dcba64bae4c75b4a32969fb50a882 (#5932) Fixing incorrect output of the CheckOCIDriver task. * Generated from latest swagger of network * Generated from 032bb9b160526aab1a3ee4a5f876a1a987e399fe (#6108) Add 2019-06-01 in storage for golang * Generated from 3df959debc8a270d8f8c7af0de16d63938009fe3 (#6119) Fix error in luis runtime readme * Removed preview package for luis/runtime/v3.0 since it has been made stable * Fix profiles * v34.3.0 * [AutoPR eventgrid/resource-manager] EventGrid: New preview API version with support for additional destination types, CloudEvents 1.0, and batching support. (#6102) * Generated from 2f3e7dfe09d45258a6bd27be7fd4b7bbfb67a9bc Add new API version to README files. * Generated from 227d311a35e44441be395c70515641008f39942e Made a minor rename to one property (azureActiveDirectoryApplicationObjectId) based on feedback. * Generated from 7fae08b6292f00a279b78836e707791df4aff421 (#6139) Changed to v3 * v34.4.0 * v35.0.0 (#6179) * Generated from 94da1e5d069d8e2fe506b842f76ff2bce4eb76a3 more fixes * Generated from 5bb5f32cc3be82f2a180a13dc383bfe609479bc1 merged action rule and ManagedResource to avoid error * Generated from a1396af0177b2d22771ad22650089929bee4e43a undo ManagedResource change, but removed required * Generated from a8f22b87d6a3b06a6d970731514830431986bffa revert some changes that are not essential to fix linter * SDK v32.0.0 (#5361) * Generated from 35a02241fae4c1c2202bfa24fcd22fcf8285dbe3 (#5359) fix: applicationinsights delete examples Empty schema object was passing the empty string body in examples. * [AutoPR hdinsight/resource-manager] [HDInsight] Add Capabilities to Stable API version,Modify ApplicationType,AccessModes to enum (#5291) * Generated from 6fd28f5f0db51b2cf7a71835ac10e3dc2c4cb390 Add Capabilities to stable version, Modify ApplicationType and AccessMode to Enum. In order to be consistent with the response from RP side, add suppression for DefinitionsPropertiesNamesCamelCase * Generated from cef6f97615ded43f65dab5eda4a5837d5ec45621 Add Capabilities to stable version, Modify ApplicationType and AccessMode to Enum. In order to be consistent with the response from RP side, add suppression for DefinitionsPropertiesNamesCamelCase * Generated from a22cf02eb2898daaac88819d82f4ccc1fba62a75 Add Capabilities to stable version, Modify ApplicationType and AccessMode to Enum. In order to be consistent with the response from RP side, add suppression for DefinitionsPropertiesNamesCamelCase * Generated from 2e78b5cbe1e0ef6676f9d9c3266b48cfe87403fd (#5375) fix typo * [AutoPR subscription/resource-manager] Nasingla/nugetupdate (#5353) * Generated from e7db358c5315df0cb643c73c84078fd751c90031 Update readme.md * Generated from be9b791408e4113c2462d9df4c1b31c7d59dff09 Textual changes * Generated from 70b51057c4cca0cdb6a743b4e02f39c132121570 Removing monitoring hana instance API * [AutoPR datafactory/resource-manager] Enable Avro Dataset in public swagger (#5385) * Generated from ec112148bf30430557ff3fac0c74f0706b1042de Enable Avro Dataset in public swagger * Generated from e41431428e45beaa5bbb12344d3332479c095e31 UPDATE * Generated from 1399f090601abea10de38ae50242895878947a74 (#5390) Add paramref into custom-words.txt * [AutoPR security/resource-manager] Set IoTSecuritySolutions & IoTSecuritySolutionAnalytics API as stable (#5365) * Generated from 4d6fbc52713c0423aa04f74ae330867fac488b86 Set IoTSecuritySolutions & IoTSecuritySolutionAnalytics API as stable * Generated from de032ab9863bb6d4e12b9796f64508fd4bb16f88 Merge branch 'dev-security-Microsoft.Security-2019-01-01' of https://github.com/hagba/azure-rest-api-specs into dev-security-Microsoft.Security-2019-01-01 * Generated from e763a96421ef60d69bbae038d008c08002f16359 remove paging support from IoTSecurityDeviceRecommendationsList * Generated from dea80a5e1da4b383480342bba4eca97ba55c053b remove paging from IoTSecurityAlertedDevicesList * [AutoPR healthcareapis/resource-manager] Update the possible Kind values to include FHIR R4 (#5373) * Generated from 826fa53d7867187b6e9d792b078ecd96683b532f Update the possible Kind values to include FHIR R4 * Generated from 00bea838e7cf9ff216f7dd02d5c41ac708db6c9b Fix fhir kind enum description to mention new values * Generated from 9c61d69a19c13e40a8468ea21c909aa677ac4678 (#5346) Task 4957070: ARM swagger update to include term in get reservation response. * Generated from 4b9ce59c5d971851a46d1fa96ccfb4851bf6c83c Add new API version 2019-08-01 * Generated from 5f2e092020964aa9d7d397494b0d3e9f8676a14f fixing subscription id issue * Generated from baf9fdde3c8be9ab59bae147d5d40e99cff46756 (#5320) Added preview specification in generated paths * Generated from 368b5914a375e09ef413285c932b72038a8af7e4 (#5386) fix: sql preview model validation errors - Remove empty "body" for RESPONSE_SCHEMA_NOT_IN_SPEC errors - IsAzureMonitorTargetEnabled -> isAzureMonitorTargetEnabled - "State" -> "state" - emailAccountAdmins "true" -> true - Add 202 response for RestorePoints_Create - password -> certPassword for ManagedInstanceTdeCertificates_Create and TdeCertificates_Create * Tooling fixes (#5400) Return empty slice when no tags are found. Added module version string validation. Added optional arg 'initial module version' to versioner tool. * First commit of major-updater tool * Add autorest in parallel * Make subworks sub-commands * Add afterscript * Fixed operation order * Some refine * Refine output * Refine output * Fix bug in dep * Add afterscripts and lisence header * Fixed a bug with relative path * gofmt fix * Simplify * [AutoPR] hdinsight/resource-manager (#5396) * [AutoPR hdinsight/resource-manager] [HDInsight] Add Capabilities to Stable API version,Modify ApplicationType,AccessModes to enum (#5291) * Generated from 6fd28f5f0db51b2cf7a71835ac10e3dc2c4cb390 Add Capabilities to stable version, Modify ApplicationType and AccessMode to Enum. In order to be consistent with the response from RP side, add suppression for DefinitionsPropertiesNamesCamelCase * Generated from cef6f97615ded43f65dab5eda4a5837d5ec45621 Add Capabilities to stable version, Modify ApplicationType and AccessMode to Enum. In order to be consistent with the response from RP side, add suppression for DefinitionsPropertiesNamesCamelCase * Generated from a22cf02eb2898daaac88819d82f4ccc1fba62a75 Add Capabilities to stable version, Modify ApplicationType and AccessMode to Enum. In order to be consistent with the response from RP side, add suppression for DefinitionsPropertiesNamesCamelCase * Generated from 18e8f73649a26d6acdba575f35b0e3af6fe3cd8c (#5381) Problem: in previous pr #6665 we modify accessModes and applicationType to enum, this will bring breaking change in java sdk. Solution: remove the two enum, change it to string type * [AutoPR] datafactory/resource-manager (#5405) * [AutoPR datafactory/resource-manager] Enable Avro Dataset in public swagger (#5385) * Generated from ec112148bf30430557ff3fac0c74f0706b1042de Enable Avro Dataset in public swagger * Generated from e41431428e45beaa5bbb12344d3332479c095e31 UPDATE * Generated from 1399f090601abea10de38ae50242895878947a74 (#5390) Add paramref into custom-words.txt * Generated from 814795cce5766e56d08e877d7f359c2d6380a8be (#5411) update example * [AutoPR cognitiveservices/data-plane/QnAMaker] add QnAMaker runtime to Go SDK (#5368) * Generated from 67a0600b9c098d384b275c79d1ab1b6b870e6e77 add QnAMaker runtime to Go SDK * Generated from 3d6f73607f9caee9054b290237825245306d7408 ensure package directory and namespace match * [AutoPR compute/resource-manager] Add terminate profile and scheduled events profile to Microsoft.Compute (#5310) * Generated from 9bb1d5b7f21a0e03e97ce3817554307244d45422 Correct definition format * Generated from 49bbc9237680dc7963f9d24f7cde1d05e8f14260 Merge branch 'master' into dev/szimmer/AddTerminateProfile * [AutoPR compute/resource-manager] Add missing Gallery Application API in 2019-07-01 version (#5354) * Generated from 01293ebd64fa96d11d30d9b0ef1391cbe8e62443 Add missing Gallery Application API in 2019-07-01 version * Generated from 6637309053b80e0b62b01f1c240d72749e30f1c2 Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs * Generated from 1929243cc853b5f21c5e6cef8a2867fb4d26b4dc (#5421) updating description - clarify encryption enabled by default * Generated from 3061f166bc14a327fd8506ee1b85f966db9d26fb (#5424) chore: jsonfmt logic * [AutoPR logic/resource-manager] RosettaNet Process configuration apis (#5416) * Generated from eaa9b184f467a7f80c8044d487a72d596b45fbc9 updated examples path * Generated from 68568e93d6bc5b687899488523cade3f66893779 fixes CI errors Fixed casing as required by CI * Generated from 3cd428eebae03353ad64c51526318c1890219a15 merge conflicts * Generated from b2fdc8872f13016495f8cf26d31ed4e902ee1a9e removed breaking changes * Generated from 901423e3e7dee55389f4fcc9fc5d7c793fa202ae pr feedback * Generated from 2838c1142bf4bf7b382e819cfe73e3dfcc2794d7 Merge branch 'master' into AzureLogic-rosettanet-apis * [AutoPR cognitiveservices/data-plane/InkRecognizer] [Hub Generated] Review request for InkRecognizer to add version preview/v1.0 (#5372) * Generated from 34c67e4beeb3721701921ded0f374c834723b2f7 re-naming inputDevice to inputDeviceKind * Generated from ae13f3bcaab268fc0365a1e0452535827d2bda64 Update specification/cognitiveservices/data-plane/InkRecognizer/preview/v1.0/InkRecognizer.json Co-Authored-By: Nick Schonning * [AutoPR compute/resource-manager] add HyperVGeneation in GetVMImage (#5344) * Generated from 4b3b012a4c684afd2e931bb2ac4c01bbf894eec4 add HyperVGeneation in SharedVMImageVersion * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * Generated from bcef281153fa689dac376755754aed8aac925815 (#5313) fix: servicefabric character encoding * Fix table query continuation token (#5423) * When aborting with error, delete the branch just created (if exists) * Change Delete to DeleteBranch for explicity * Generated from e2aaa71c099725ee90c36c388f88398bc33c000c (#5436) Merge https://github.com/Azure/azure-rest-api-specs * Merge pull request #5439 from Azure/restapi_auto_portal/resource-manager [AutoPR] portal/resource-manager * Generated from a415a4352bc3818452589c8eed1e9e4be1cb8260 (#5442) Update Tasks.json Fixed incorrect discriminator for Oracle to PostgreSQL scenario. * Generated from ca46ecf5c4baeb43c5fc1afb355c065bf49efd90 (#5449) Update OracleAzureDbPostgreSqlSyncTask.json Added "caseManipulation" to MigrateOracleAzureDbPostgreSqlSyncDatabaseInput object * Generated from b3623415bfb03b5a528c8a2a20caad53aba43ce2 Adding managed resource group and log Analytics Workspace to the GET API * Generated from f1354d954d03c2283656d3c820a88dcfc2ddf79e Updating fields in the list and patch APIs * Generated from df3fa85139fca07f04373031470bed637e7b8126 Update Batch Swagger documentation * [AutoPR servicefabric/resource-manager] Moving sfrp release 2019-03-01 to stable (#5314) * Generated from b1a5bbf475639da8e8bf4783ba33a4af17caa08c remove location and tags from proxyResource * Generated from 14c9abcc8bd1b6e9635a60226e3966b774951e28 Revert "remove location and tags from proxyResource" This reverts commit b1a5bbf475639da8e8bf4783ba33a4af17caa08c. * Generated from 2380d7af2f3e2d507c5486d8fb6abfd816a65bed change location description in ProxyResource to dcument as deprecated * Generated from 17ffb0840e98cd725c5c999160787b8605c414d6 rename put operations to *_CreateOrUpdate * Generated from e8805bf5ca1ff7c125b84a637eb483af9efd5ff5 (#5459) add readme go * Generated from 27e7dd3c7e4a6b855c902cfaf35380e273760cde (#5462) Update readme.md files missed from previous commit * Generated from 3acbc3b4106db3097de5be5e4df47afb38d51ec0 (#5473) Use cors definition from blob.json * Generated from 408cd70f35f18e81fc46aa6538822c850bd8ced4 (#5489) Updating the skus names and clarified capacity description * [AutoPR containerservice/resource-manager] [Hub Generated] Review request for Microsoft.ContainerService to add version stable/2019-08-01 (#5444) * Generated from 9e6d4ac959af23add7e84ec0531c0643e3bde433 Update tags for 2019-08-01 SDK generation * Generated from 2307de018692dde013d3bf3ed0557c6d8f84519d Add private link resources * Generated from 9e6d4ac959af23add7e84ec0531c0643e3bde433 Update tags for 2019-08-01 SDK generation * Generated from 70862cb4e798bea3905a652d60569cf436a8f0c7 (#5501) Add config for go * Generated from faa8f71aa05aaed68631716cc9ef24451d760b3e (#5465) remove redundent schema reference * [AutoPR recoveryservicesbackup/resource-manager] Adding non mandatory fields in ProtectedItem and AzureVmWorkloadProte… (#5392) * Generated from 142bb9d9a841dde1be669e35ba1586138ed1a599 Adding non mandatory fields in ProtectedItem and AzureVmWorkloadProtectionPolicy Adding additional fields for ProtectedItem related to soft delete feature ; description of each field is in the fields. In AzureVmWorkloadProtectionPolicy adding another field for fixup of policy * Generated from ad48ba50e1864e1adb4845d4bbf73ee192354cde Rehydrate removal from description Rehydrated is not in dictionary of swagger valiation and thus removed from description * Generated from bd73c95f36f3758171783a5b37b8e097b9726524 Updating the Field for deferred deleted Time Updating the new field for deleted time in ProtectedItem while keeping the syncTime for MABfileFolderProtectedItem * Generated from ac509691885fb8f4bf7e0cec8219571c0dfd23ac Undo change to AzureVmWorkloadProtectionPolicy Removed the change to AzureVmWorkloadProtectionPolicy as this requires new api version * Generated from d0e65933a9e0764079436e3f000fe80796479542 Fixing camelcasing Camelcasing of isDeferredDeleteScheduleUpcoming field * Generated from dea881c0a4daf7b8a1472e9e33efffdd6247d0de (#5529) Add missing json to package-composite-v2, package-composite-v1, package-pure-2017-03-preview and package-2017-03-preview * [AutoPR billing/resource-manager] [Do not merge] [Microsoft.Billing] Customers resource for partner-channel (#5343) * Generated from 7f7f0f2009acea6f3d52c4e1f8f4f4af37b5ae5b Update examples. * Generated from 967632713b1ea0e839baef7d47f3f857923f9ad1 Fix reseller property on billingSubscription. * compute/resource-manager] Swagger: Allowing for VMSS reference during VM creation (#5408) * Generated from 547a98bc34516d8788adff951ebd929d8d5125ae Swagger: Allowing for VMSS reference during VM creation * Generated from 2723517c6c29f1c6945bdf05b9c4e42f85159011 fixing typo * Generated from 004d77657b470329193715edd882bc1934d0785a (#5534) Fix bad discriminator value on ConnectionInfo which was breaking node/js SDK generation * Generated from 7c78ea20f697176d9e9017b076e0dc76e09aa303 Update custom-words.txt * Generated from f1ef9612fd56160b7976caeae1830276cd848761 (#5547) fix bad 'unknown' discriminator value in the rest of our datamigration models * Generated from 92b46a61425bf808ff7b4ffef9d3bb063713558b (#5531) Mark ownerEmail as required properties for workspace RP * Update to latest Go code generator (#5583) * [AutoPR hanaonazure/resource-manager] Added Key Vault ID for GET and LIST SapMonitor (#5410) * Generated from b39adb6b69cc5d847e3158430da68bfe4b935ec2 Added Key Vault ID for GET and LIST SapMonitor * Generated from c5d2bc253fb4880b9543bd5edb6a38138fb40e64 Added Key Vault ID for GET and LIST SapMonitor * datalakegen2 endpoints require https (#5572) * datalakegen2 endpoints require https * regenerate with 2.1.136 of autorest.go * Generated from 27425d2151bbc9609e18833c5479739f8266de47 (#5538) Update readme.md * Generated from a9e6716031821eff25f2cbb422960fa56742c0e9 (#5586) Merge branch 'master' into akpati/ssh-property-change * [AutoPR containerregistry/resource-manager] [ACR] Update retention policy schema (#5571) * Generated from 1afeec1884ccf139e6c1bda82ab81227b3df9d2b update retention policy schema * Generated from c136d1fcf1a161f68944223dad032c4407154c6f remove unnecessary breaking change * Generated from 287fcbfdc1fc8b0926588963393574052e0bb9ed fix typo * Merge pull request #5610 from Azure/restapi_auto_reservations/resource-manager [AutoPR] reservations/resource-manager * Generated from 4e144aa43b738e1792883408252e26570a777706 (#5587) Add codegen config for kusto 2019-05-15 * [AutoPR resources/resource-manager] Adding a new api version 2019-06-01 for Microsoft.Authorization policy artifacts (#5585) * Generated from 75581e4277112188117db523a260ae818d949523 added stable/2019-06-01 version for Authorization RP * Generated from edd74f0a1be6f17caa185525a63e594aef956acc Addressed review comments. * Merge pull request #5622 from Azure/restapi_auto_storage/resource-manager [AutoPR] storage/resource-manager * Generated from 65b2f8a37695f3d9cf53c50a05a61c4179857199 (#5605) updated readme with correct version. * Change log level from verbose to normal * Minor change * v33.0.0 draft * Fix vet failure * Update readme * Now major updater reads the config file * Change rel path to abs path * Fix compile error * Execute after script from config file * Refine output * [AutoPR] compute/resource-manager (#5656) * [AutoPR compute/resource-manager] removing non-ascii character (#5325) * Generated from 090b727225320af61034c7278c3ccf51dcbef8a2 removing non-ascii character * Generated from 56ccb1151588cff87c1c92eee0e6c56e42c7f2f4 corrected the description * [AutoPR compute/resource-manager] Add terminate profile and scheduled events profile to Microsoft.Compute (#5310) * Generated from 9bb1d5b7f21a0e03e97ce3817554307244d45422 Correct definition format * Generated from 49bbc9237680dc7963f9d24f7cde1d05e8f14260 Merge branch 'master' into dev/szimmer/AddTerminateProfile * [AutoPR compute/resource-manager] Add missing Gallery Application API in 2019-07-01 version (#5354) * Generated from 01293ebd64fa96d11d30d9b0ef1391cbe8e62443 Add missing Gallery Application API in 2019-07-01 version * Generated from 6637309053b80e0b62b01f1c240d72749e30f1c2 Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs * [AutoPR compute/resource-manager] add HyperVGeneation in GetVMImage (#5344) * Generated from 4b3b012a4c684afd2e931bb2ac4c01bbf894eec4 add HyperVGeneation in SharedVMImageVersion * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * compute/resource-manager] Swagger: Allowing for VMSS reference during VM creation (#5408) * Generated from 547a98bc34516d8788adff951ebd929d8d5125ae Swagger: Allowing for VMSS reference during VM creation * Generated from 2723517c6c29f1c6945bdf05b9c4e42f85159011 fixing typo * [AutoPR compute/resource-manager] [Do not merge yet] DiskRP Swagger changes for 2019-03-01 (#5398) * Generated from a308b6604cb4bfdb8085d78f998aa3718cf9ae36 adding unique id * Generated from b7b0ecc49d6694ea41c66ef9936f05da9bae38f3 fixing typo * Generated from 34c96075059bf06bf052835f6f405b2d0649d1b7 removing diskSizeBytes from snapshot\disk update properties and adding a unique id for disk properties * Generated from 1ad0c2e2dd85dad2a363072eb4cdcbe250e1522b pr comments * Generated from 4f5dbad04518d0674689ac2a2388ea823d28cadf pr comments * [AutoPR compute/resource-manager] Adding low priority and variable pricing feature for standalone VMs. Added priority, eviction policy and billing profile to VirtualMachineProperties. Also, adding optional billing profile to VMSS Create and Update APIs. (#5523) * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 9d5e30df16e3ea43cb3b21b5f5264373d8ed2397 (#5596) updating an incorrect description for uploadsizebytes * Generated from 79b1099e7cf1d0a077c2f5b38b4c83408b97a59b (#5652) Add missing $expand parameter to AvSet list by subscription API * Generated from 027c5530dd98ce87a84ba78c3e3cf8d2451d0c13 (#5569) Fixed the formatting * [AutoPR eventhub/resource-manager] Eventhub: added NetworkRuleSets list API (#5627) * Generated from 46cb463f5dbcd442661875e4eb9d963af3bd1225 added NetworkRuleSets list API * Generated from c09ca0cf8b2a8d98ee64b897e1858f4be8a67f95 added x-ms-pageable and formating * Generated from 8bc2a7edfeebb1a6bb30abbbb03d08bf1f8a8dbc update * Generated from 111d1bc1666fe89cebb960135cf2f5336bbcb35a (#5615) Removed rogue file * [AutoPR machinelearningservices/resource-manager] [NEED DESIGN REVIEW, DO NOT MERGE] Adding workspace level quota management APIs in version 2019-05-01 (#5641) * Generated from f5ddfe85225c2d4f86f7de8e99760b95d1dea6bf Merge branch 'master' into leizhao/workspaceQuotaManagementInVersion2019-05-01 * Generated from c89caf92470c4c334883662fd98e6bd07881807d migrate quota management from 2019-05-01 to 2019-06-01, no content changes * [AutoPR storagecache/resource-manager] Dev storagecache microsoft.storagecache 2019 06 01 preview (#5623) * Generated from 570b6f73542c34f1eb0ab0a85e44b4d929ff55b6 Fix output folder path for GO SDK and fix typo in Tag * Generated from 908e3cd2e18a38be0711e03035c7acdc7ab6d1f2 Fix version in the path of output folder for GO SDK * Generated from 10811b8f33c5e36350b618955cdd8edc9dd67c11 (#5673) Fix bad package name for storagecache in go sdk * Fix bad package name * Fix profile and fmt * Generated from 54eb3260d53865005eb6ccfdc9843e7ab10d9da5 (#5551) adding maintenanceConfiguration list and resourceId for updates * Generated from be2943341d08ab5972e4d2385b1860d34ee61f59 (#5675) Fix bad namespace in service maintenance * Fix wrong namespace * Fix profile and fmt * Generated from 3bcf3602288f763a70a2f3cb10100406e0e53257 (#5672) Addressed misspelled word and mode error * Generated from 5e1bb35d5c3314d8f4fead76c3d69a2522be026b (#5651) Update review comments * [AutoPR datafactory/resource-manager] support Express Custom Setup (#5536) * Generated from 696212c605edef333cba0f0e86d42ba344f4fc42 address the comments * Generated from 4de64a2262df8e2e971620c95f7c3a2ba91d49d9 address comments * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * [AutoPR datafactory/resource-manager] [Data Factory]Add ORC Dataset/Copy Source/Copy Sink (#5611) * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Fix CI failure and conflict * [AutoPR] compute/resource-manager (#5688) * [AutoPR compute/resource-manager] removing non-ascii character (#5325) * Generated from 090b727225320af61034c7278c3ccf51dcbef8a2 removing non-ascii character * Generated from 56ccb1151588cff87c1c92eee0e6c56e42c7f2f4 corrected the description * [AutoPR compute/resource-manager] Add terminate profile and scheduled events profile to Microsoft.Compute (#5310) * Generated from 9bb1d5b7f21a0e03e97ce3817554307244d45422 Correct definition format * Generated from 49bbc9237680dc7963f9d24f7cde1d05e8f14260 Merge branch 'master' into dev/szimmer/AddTerminateProfile * [AutoPR compute/resource-manager] Add missing Gallery Application API in 2019-07-01 version (#5354) * Generated from 01293ebd64fa96d11d30d9b0ef1391cbe8e62443 Add missing Gallery Application API in 2019-07-01 version * Generated from 6637309053b80e0b62b01f1c240d72749e30f1c2 Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs * [AutoPR compute/resource-manager] add HyperVGeneation in GetVMImage (#5344) * Generated from 4b3b012a4c684afd2e931bb2ac4c01bbf894eec4 add HyperVGeneation in SharedVMImageVersion * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * compute/resource-manager] Swagger: Allowing for VMSS reference during VM creation (#5408) * Generated from 547a98bc34516d8788adff951ebd929d8d5125ae Swagger: Allowing for VMSS reference during VM creation * Generated from 2723517c6c29f1c6945bdf05b9c4e42f85159011 fixing typo * [AutoPR compute/resource-manager] [Do not merge yet] DiskRP Swagger changes for 2019-03-01 (#5398) * Generated from a308b6604cb4bfdb8085d78f998aa3718cf9ae36 adding unique id * Generated from b7b0ecc49d6694ea41c66ef9936f05da9bae38f3 fixing typo * Generated from 34c96075059bf06bf052835f6f405b2d0649d1b7 removing diskSizeBytes from snapshot\disk update properties and adding a unique id for disk properties * Generated from 1ad0c2e2dd85dad2a363072eb4cdcbe250e1522b pr comments * Generated from 4f5dbad04518d0674689ac2a2388ea823d28cadf pr comments * [AutoPR compute/resource-manager] Adding low priority and variable pricing feature for standalone VMs. Added priority, eviction policy and billing profile to VirtualMachineProperties. Also, adding optional billing profile to VMSS Create and Update APIs. (#5523) * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 9d5e30df16e3ea43cb3b21b5f5264373d8ed2397 (#5596) updating an incorrect description for uploadsizebytes * Generated from 79b1099e7cf1d0a077c2f5b38b4c83408b97a59b (#5652) Add missing $expand parameter to AvSet list by subscription API * [AutoPR] securityinsights/resource-manager (#5683) * Generated from 878390cbb0806c9194cc9ceaed923284d2d8f2ac (#5288) Fix mistake * [AutoPR securityinsights/resource-manager] SecurityInsights: Investigation swagger updates (#5292) * Generated from 27abe226e56bd1a6d13985c9bc8871148a8c34ad Merge branch 'master' into InvestigationSwagger * Generated from ebb1f1f5bdab7f12639fbee775adf16611d092ad removed cases changes (will be in another PR) * Generated from ab899e75a364a5b6dbf21370c1db65b769094ec8 removed bookmarkEntity from entities api (currently not supported) * [AutoPR securityinsights/resource-manager] Adding alertRuleTemplates swagger spec to securityInsight (#5504) * Generated from d731243f4645a2df9c8389e10e93be04ea78a620 Add alertRuleTemplates endpoint to securityInsight * Generated from d09f26c587fddd31fa13cb3d94d7a9bbe8d58ec8 fix merge conflict * Generated from efe14acff06c754692f29bffee877f29edb68b89 Bookmarks swagger updates * Generated from 07393c4915496b1768a08c5f408b05cdb2a27f10 fix typos * Generated from 98fdd0347934e59d39a7b6f803f170933c96d199 fix typo * Generated from e00e65896ca96c4c814528fa286e3f6e2d534122 (#5682) sort definitions and parameters by ABC * Resolved conflict manually * [AutoPR] network/resource-manager (#5692) * Generated from 3b992f9396f9c0bc7e34b11696efcffafa92575a (#5297) add network package-2019-06 to Go SDK * Generated from 36ba645d97091ead19fa04d57595069d73491c7e (#5511) Update PE/PLS * Generated from ec578e180c4515be63046f0b0991d7b9547e657d (#5522) Update description of "location" in serviceTags.json * [AutoPR network/resource-manager] chore: jsonfmt network (#5514) * Generated from 2c363ba11150b1894650db67b5d4a03166b95afd chore: jsonfmt network * Generated from 2c363ba11150b1894650db67b5d4a03166b95afd chore: jsonfmt network * Generated from 92006e420d65cb70e4b93bc5850af575da4efb78 (#5637) Mark "provisioningState" as read-only * [AutoPR network/resource-manager] Add missing read-only property "outboundRules" in LoadBalancer specs (#5647) * Generated from 658cfc162acc76fd35b81aa42b29406d9ba013cb Add missing read-only property "outboundRules" in LoadBalancer specs * Generated from 658cfc162acc76fd35b81aa42b29406d9ba013cb Add missing read-only property "outboundRules" in LoadBalancer specs * [AutoPR] storage/resource-manager (#5695) * Generated from 3acbc3b4106db3097de5be5e4df47afb38d51ec0 (#5473) Use cors definition from blob.json * Generated from 94667089d429b4f1aca38e60f85b13f5c0039219 (#5580) Align File swagger with the Blob swagger * Generated from 8264dcc49e0bc239013cd76ce9664f83f1041967 (#5678) Update Kusto.json with TSVE data format * [AutoPR eventgrid/data-plane] Create KeyVault.json (#5546) * Generated from 66c76158ca650e8f4bf0ff082bc5428e2544c457 Update readme with KeyVault.json * Generated from 7d4a2513c50a216bfe9cbf6a6f769d460d7211f4 Revert "Update readme with KeyVault.json" This reverts commit 66c76158ca650e8f4bf0ff082bc5428e2544c457. * Generated from 44674ab5aabc591e8dd6b10d326071e8fa3ccd49 Update readme.md * [AutoPR] compute/resource-manager (#5706) * [AutoPR compute/resource-manager] removing non-ascii character (#5325) * Generated from 090b727225320af61034c7278c3ccf51dcbef8a2 removing non-ascii character * Generated from 56ccb1151588cff87c1c92eee0e6c56e42c7f2f4 corrected the description * [AutoPR compute/resource-manager] Add terminate profile and scheduled events profile to Microsoft.Compute (#5310) * Generated from 9bb1d5b7f21a0e03e97ce3817554307244d45422 Correct definition format * Generated from 49bbc9237680dc7963f9d24f7cde1d05e8f14260 Merge branch 'master' into dev/szimmer/AddTerminateProfile * [AutoPR compute/resource-manager] Add missing Gallery Application API in 2019-07-01 version (#5354) * Generated from 01293ebd64fa96d11d30d9b0ef1391cbe8e62443 Add missing Gallery Application API in 2019-07-01 version * Generated from 6637309053b80e0b62b01f1c240d72749e30f1c2 Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs * [AutoPR compute/resource-manager] add HyperVGeneation in GetVMImage (#5344) * Generated from 4b3b012a4c684afd2e931bb2ac4c01bbf894eec4 add HyperVGeneation in SharedVMImageVersion * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * compute/resource-manager] Swagger: Allowing for VMSS reference during VM creation (#5408) * Generated from 547a98bc34516d8788adff951ebd929d8d5125ae Swagger: Allowing for VMSS reference during VM creation * Generated from 2723517c6c29f1c6945bdf05b9c4e42f85159011 fixing typo * [AutoPR compute/resource-manager] [Do not merge yet] DiskRP Swagger changes for 2019-03-01 (#5398) * Generated from a308b6604cb4bfdb8085d78f998aa3718cf9ae36 adding unique id * Generated from b7b0ecc49d6694ea41c66ef9936f05da9bae38f3 fixing typo * Generated from 34c96075059bf06bf052835f6f405b2d0649d1b7 removing diskSizeBytes from snapshot\disk update properties and adding a unique id for disk properties * Generated from 1ad0c2e2dd85dad2a363072eb4cdcbe250e1522b pr comments * Generated from 4f5dbad04518d0674689ac2a2388ea823d28cadf pr comments * [AutoPR compute/resource-manager] Adding low priority and variable pricing feature for standalone VMs. Added priority, eviction policy and billing profile to VirtualMachineProperties. Also, adding optional billing profile to VMSS Create and Update APIs. (#5523) * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 9d5e30df16e3ea43cb3b21b5f5264373d8ed2397 (#5596) updating an incorrect description for uploadsizebytes * Generated from 79b1099e7cf1d0a077c2f5b38b4c83408b97a59b (#5652) Add missing $expand parameter to AvSet list by subscription API * [AutoPR] storage/resource-manager (#5707) * Generated from 3acbc3b4106db3097de5be5e4df47afb38d51ec0 (#5473) Use cors definition from blob.json * Generated from 94667089d429b4f1aca38e60f85b13f5c0039219 (#5580) Align File swagger with the Blob swagger * [AutoPR storage/resource-manager] Add change feed properties to 2019-04-01 Storage. (#5621) * Generated from 774367438889ac553def1957b72b8ba63ad877e5 Add change feed properties to 2019-04-01 Storage. Add change feed properties to Storage Blob Services. * Generated from 774367438889ac553def1957b72b8ba63ad877e5 Add change feed properties to 2019-04-01 Storage. Add change feed properties to Storage Blob Services. * Generated from 34d744550227bee7b380604d38fc1de6c9af6397 (#5708) Update netapp.json * Merge pull request #5714 from Azure/restapi_auto_compute/resource-manager [AutoPR] compute/resource-manager * Update swagger_to_sdk_config.json Update autorest.go to new version * Generated from 5ea5da031f993e6dd8061f42abbea77d58e66020 Clarify KeyVault time as seconds since Unix epoch * Generated from b621ede227cd29651b1712782d964373fc2da6ec (#5717) Quick fix * Generated from 4eb71094207cc3188dfa1d604325731362a555a5 updating readmes * feature: support PutBlockFromURL API: https://docs.microsoft.com/en-us/rest/api/storageservices/put-block-from-url * Generated from 18efd73807c1182800e0521f67e1e5ae2ee70394 added missing packages to compute release * [AutoPR] compute/resource-manager (#5721) * [AutoPR compute/resource-manager] removing non-ascii character (#5325) * Generated from 090b727225320af61034c7278c3ccf51dcbef8a2 removing non-ascii character * Generated from 56ccb1151588cff87c1c92eee0e6c56e42c7f2f4 corrected the description * [AutoPR compute/resource-manager] Add terminate profile and scheduled events profile to Microsoft.Compute (#5310) * Generated from 9bb1d5b7f21a0e03e97ce3817554307244d45422 Correct definition format * Generated from 49bbc9237680dc7963f9d24f7cde1d05e8f14260 Merge branch 'master' into dev/szimmer/AddTerminateProfile * [AutoPR compute/resource-manager] Add missing Gallery Application API in 2019-07-01 version (#5354) * Generated from 01293ebd64fa96d11d30d9b0ef1391cbe8e62443 Add missing Gallery Application API in 2019-07-01 version * Generated from 6637309053b80e0b62b01f1c240d72749e30f1c2 Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs * [AutoPR compute/resource-manager] add HyperVGeneation in GetVMImage (#5344) * Generated from 4b3b012a4c684afd2e931bb2ac4c01bbf894eec4 add HyperVGeneation in SharedVMImageVersion * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * compute/resource-manager] Swagger: Allowing for VMSS reference during VM creation (#5408) * Generated from 547a98bc34516d8788adff951ebd929d8d5125ae Swagger: Allowing for VMSS reference during VM creation * Generated from 2723517c6c29f1c6945bdf05b9c4e42f85159011 fixing typo * [AutoPR compute/resource-manager] [Do not merge yet] DiskRP Swagger changes for 2019-03-01 (#5398) * Generated from a308b6604cb4bfdb8085d78f998aa3718cf9ae36 adding unique id * Generated from b7b0ecc49d6694ea41c66ef9936f05da9bae38f3 fixing typo * Generated from 34c96075059bf06bf052835f6f405b2d0649d1b7 removing diskSizeBytes from snapshot\disk update properties and adding a unique id for disk properties * Generated from 1ad0c2e2dd85dad2a363072eb4cdcbe250e1522b pr comments * Generated from 4f5dbad04518d0674689ac2a2388ea823d28cadf pr comments * [AutoPR compute/resource-manager] Adding low priority and variable pricing feature for standalone VMs. Added priority, eviction policy and billing profile to VirtualMachineProperties. Also, adding optional billing profile to VMSS Create and Update APIs. (#5523) * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 9d5e30df16e3ea43cb3b21b5f5264373d8ed2397 (#5596) updating an incorrect description for uploadsizebytes * Generated from 79b1099e7cf1d0a077c2f5b38b4c83408b97a59b (#5652) Add missing $expand parameter to AvSet list by subscription API * [AutoPR compute/resource-manager] Add VMScaleSet ScaleIn Policy (#5606) * Generated from 5968c8d1d8f53fcce6b11bc71e4be3c6bc550617 Add VMScaleSet ScaleIn Policy Adds VMScaleSet ScaleIn policy that is supported with the 2019-03-01 header but not included in Swagger * Generated from 17a6aebc538afafffc9ce87f083fc07592a6b5c3 Update compute.json Fix indentation * [AutoPR] datafactory/resource-manager (#5730) * Generated from 5e1bb35d5c3314d8f4fead76c3d69a2522be026b (#5651) Update review comments * [AutoPR datafactory/resource-manager] support Express Custom Setup (#5536) * Generated from 696212c605edef333cba0f0e86d42ba344f4fc42 address the comments * Generated from 4de64a2262df8e2e971620c95f7c3a2ba91d49d9 address comments * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * [AutoPR datafactory/resource-manager] [Data Factory]Add ORC Dataset/Copy Source/Copy Sink (#5611) * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Fix CI failure and conflict * Generated from b07009df21da758efcb13fbbd25ce9e450751586 (#5729) [DataFactory] Update Databricks linked service swagger related to warm pools. * Generated from 4d7873fcb2eb980ac1eacad015893bd5634a5a37 (#5735) [ACR] Adding scopemap spec file for new SDK build For releasing ScopeMap and Token features, we need to retrieve models from the scopemap spec file. The existing SDK version doesn't incorporate changes from the scopemap spec file. Requesting a new SDK build. Please suggest changes if deemed necessary. * Generated from 68ccfd97b6bd4b29219d6988342451fff61b7031 (#5737) [Batch] Update documentation around app packages * [AutoPR servicebus/resource-manager] ServiceBus: added NetworkRuleSets list API (#5624) * Generated from 26fbb00e498d34206afb040c7c9eb7b79fa3fd5e added NetworkRuleSets list API * Generated from 87e06617e7103a97295b2fe25f4a47990371b397 added x-ms-pageable and formating * Generated from 2f83e3fb7917b9f6301fea15cf45e3e3fbeac7bb removed readonly for compatibilityLevel * [AutoPR cosmos-db/resource-manager] Add short url for all api resources (#5448) * Generated from 6b485b2047ec2cc073363b94a56778b108912940 Add short url for all api resources * Generated from d0f3adbb4578d7a5569d29a683663bf4772af38a Correct GremlinResources_ spell * Generated from a05be8787ab7cc8346e38c01ccbd45731ad95169 Add new api version * Generated from 72880ac9171c7118002c56eb2152265bb41442ba Fix spell error * Generated from 1ca1ae2151cd7248fac7b82624424ce63383a28a (#5745) fix: Double word "the" in datalake-analytics * [AutoPR] datafactory/resource-manager (#5751) * Generated from 5e1bb35d5c3314d8f4fead76c3d69a2522be026b (#5651) Update review comments * [AutoPR datafactory/resource-manager] support Express Custom Setup (#5536) * Generated from 696212c605edef333cba0f0e86d42ba344f4fc42 address the comments * Generated from 4de64a2262df8e2e971620c95f7c3a2ba91d49d9 address comments * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * [AutoPR datafactory/resource-manager] [Data Factory]Add ORC Dataset/Copy Source/Copy Sink (#5611) * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Fix CI failure and conflict * Generated from b07009df21da758efcb13fbbd25ce9e450751586 (#5729) [DataFactory] Update Databricks linked service swagger related to warm pools. * Generated from 5cc2c54ac1ba7f41fd2426ff39df46f785ce55f2 (#5748) Add a clearer description. * Generated from 94dbf0ac2518371373cf8f2eb74bba657b1e7b90 (#5414) Orphan property removed * Generated from 33d64b558114a9a861b82dc17518e359758d1688 (#5686) Fix SpellCheck Swagger Specification * Generated from 81fb55e8252598b44b1d5ee4db527eacba725546 (#5687) Fix Local Search Swagger * Generated from latest specs of network * Generated from af961540f808cb651ddb1dbac08619eafc06330e (#5789) Add 2019-07 version to network go code generation * Generated from 1baa9a51ee00db62b006b2081d2811297d48d3d4 (#5761) Updated 2019-02-01-preview api version to include operation.g * Generated from 7837d7e037f47c5a2414e0a241e1472c960ff055 (#5744) fix: Double word "the" in automation * [AutoPR datamigration/resource-manager] Correct the version (#5516) * Generated from 8de2c91a547e5ab394d4569aed0dda9b814c9cce Correct the version * Generated from 8de2c91a547e5ab394d4569aed0dda9b814c9cce Correct the version * Generated from 68427c1d0294d9f4acbe7355261c31cd407a2d95 (#5727) Add purge API details. * [AutoPR] frontdoor/resource-manager (#5784) * Generated from 27e7dd3c7e4a6b855c902cfaf35380e273760cde (#5462) Update readme.md files missed from previous commit * Generated from adca4cd9eac95f46998e3b35e1d5ae600498808f (#5508) add SocketAddr matchvariable * Generated from 88294366687bc74b0efc484eb8f0d08980de3804 (#5746) fix: Double word "the" in resources * [AutoPR] datafactory/resource-manager (#5795) * Generated from 5e1bb35d5c3314d8f4fead76c3d69a2522be026b (#5651) Update review comments * [AutoPR datafactory/resource-manager] support Express Custom Setup (#5536) * Generated from 696212c605edef333cba0f0e86d42ba344f4fc42 address the comments * Generated from 4de64a2262df8e2e971620c95f7c3a2ba91d49d9 address comments * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * [AutoPR datafactory/resource-manager] [Data Factory]Add ORC Dataset/Copy Source/Copy Sink (#5611) * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Fix CI failure and conflict * Generated from b07009df21da758efcb13fbbd25ce9e450751586 (#5729) [DataFactory] Update Databricks linked service swagger related to warm pools. * Generated from 5cc2c54ac1ba7f41fd2426ff39df46f785ce55f2 (#5748) Add a clearer description. * Generated from 9402dbf3fb3d5fffcb80f501b1fc857ff97ab723 (#5760) Fixing PR validation errors * Generated from 5927195a95dbda5a1729692d42a088b60c4a4a88 Adding new version of API * [AutoPR] datafactory/resource-manager (#5807) * Generated from 5e1bb35d5c3314d8f4fead76c3d69a2522be026b (#5651) Update review comments * [AutoPR datafactory/resource-manager] support Express Custom Setup (#5536) * Generated from 696212c605edef333cba0f0e86d42ba344f4fc42 address the comments * Generated from 4de64a2262df8e2e971620c95f7c3a2ba91d49d9 address comments * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * [AutoPR datafactory/resource-manager] [Data Factory]Add ORC Dataset/Copy Source/Copy Sink (#5611) * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Fix CI failure and conflict * Generated from b07009df21da758efcb13fbbd25ce9e450751586 (#5729) [DataFactory] Update Databricks linked service swagger related to warm pools. * Generated from 5cc2c54ac1ba7f41fd2426ff39df46f785ce55f2 (#5748) Add a clearer description. * [AutoPR reservations/resource-manager] [Hub Generated] Review request for Microsoft.Capacity to add version preview/2019-04-01 (#5766) * Generated from f19a2e5b7f384018b74b21b7b8b8782d95b456f9 fixed x-ms-enum value * Generated from 2f56008117d578bec6cc8b8c832926f45a0fe52e fixed catalog definition * Generated from cac978330e8c7b9583812a735cfeac97fb267056 reverted breaking operation id change * update README with info on customizing SendDecorators (#5832) * Generated from f3e85bf537e973832fd8b630394c4b951badce66 (#5798) Fix eligibility typo * Generated from d3620f1cf3fda9d30555c4b0e47a1ea521ca5404 (#5799) Review 1 + remove v3.0 preview * Generated from 67a8ba34e8eb3e3c0ffa6efdd019e46391b42571 (#5812) Update readme.go.md Updated output-folder (removed `stable`) * Generated from 96e53c8b30b238235fadb02b5ebf75533039ab91 (#5773) fix getting agent pool available versions api path * [AutoPR logic/resource-manager] [LogicApps] New Api version (#5834) * Generated from acf43615d58480cc7285f4a26b1108971162fc4a Fixed error * Generated from c2f47d91b77ffe997d38994cff32f7b410b1a308 Fixed model errors * Generated from 4f11b92d108f861c21411092dacd997a32bb7076 Fixed more errors in Logic json * Generated from 7c5619dfd675cc3af284d52337539ca861732528 Fixed resource reference issue * Generated from 56286b280dda0ebf76f171c8e4f7288e5ea5141b Fixed Resubmit trigger histories * [AutoPR] datafactory/resource-manager (#5830) * Generated from 5e1bb35d5c3314d8f4fead76c3d69a2522be026b (#5651) Update review comments * [AutoPR datafactory/resource-manager] support Express Custom Setup (#5536) * Generated from 696212c605edef333cba0f0e86d42ba344f4fc42 address the comments * Generated from 4de64a2262df8e2e971620c95f7c3a2ba91d49d9 address comments * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * [AutoPR datafactory/resource-manager] [Data Factory]Add ORC Dataset/Copy Source/Copy Sink (#5611) * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Fix CI failure and conflict * Generated from b07009df21da758efcb13fbbd25ce9e450751586 (#5729) [DataFactory] Update Databricks linked service swagger related to warm pools. * Generated from 5cc2c54ac1ba7f41fd2426ff39df46f785ce55f2 (#5748) Add a clearer description. * Generated from 239e696db0a17997d3bc2a77c9670180e527fcfc (#5797) Update location in ManagedNetwork * Generated from 0e25b55ea7d548f56eada51b4065224e02eab5e7 (#5815) Restoring expandChildren changes * Generated from 3ff7f07c725255fe7a891687890dd1b928c772ee enum name must be fixed here as well * Generated from 91579252e6aa0e9aa0b00749c82755240e5f5282 (#5845) Add aad domain name for windows login migration support * Generated from 0d3d4d1b56bbbb9e001f971a9ab2c7df8749a9f3 (#5850) Stablize 2019-04 and 2019-05 for frontdoor * [AutoPR sql/resource-manager] Add new APIs (two List APIs) and update examples (#5728) * Generated from b5c48e4b89006ae465040001f67683dcec790b4b Update DatabaseAuditingSettingsList.json * Generated from b5c48e4b89006ae465040001f67683dcec790b4b Update DatabaseAuditingSettingsList.json * Generated from 3ff8cd57b4a86c753b773d2dba460f7e6a62f4c1 (#5864) remove additional property for data flow enitty * Generated from 8188f2ed896ed7f345c5a324f3c62aaca926a35b (#5867) Removed one property which won't be exposed to public for now * Generated from 1cac6227f3d809cbabebc0ca1140469c9d2a7030 (#5872) remove unnecessary additional property * Generated from ad2716208f8089dd2d768faf9e9f765660fafc9c (#5873) Fixed unknown words * Generated from 51020f68a1a7cd0fd66f44a493e8a8b2a23f1e2a (#5875) Add nextLink * Generated from 16c7d5f2a872e3b7cc01c7dd8af608a586776fe9 (#5862) lowercase the collection types * Generated from edb4eee278a0a531af70668fcc2a55e04396d5b1 (#5886) update operation id on list all * [AutoPR security/resource-manager] Jit api add justification (#5866) * Generated from 162213184e0652221884ff84f11c93fe935ec78d Merge branch 'master' into jit-api-add-justification * Generated from 162213184e0652221884ff84f11c93fe935ec78d Merge branch 'master' into jit-api-add-justification * Generated from 63d0bd0751dd12efb7a19fd63807a26919c02b11 (#5868) Add support for attached databases * Generated from ebaee7c36eb7db67a4e648374f69f26a654b444f (#5885) [SRP] Add new storage account property largeFileSharesState * v34.0.0 * [AutoPR network/resource-manager] Network September release (#5940) * Generated from 10dc6bc902a0884218d9d336da7d993839599645 Add reference to Connection Monitor specs in 2019-08-01 (#7218) * Generated from 40628938c2d43d66b4cc5a778e35d470f4299727 Move new props to the end to avoid breaking changes in SDK (#7387) * Generated from d16da2ae0ccb63bad6796ad92e9f5b3deff263a1 (#5856) Removed extra file * [AutoPR compute/resource-manager] vmss: support for passing a health probe to update (#5914) * Generated from 5b6736a9b79ace44f3c0080596a48a2c5072c739 vmss: support for passing a health probe to update * Generated from 5b6736a9b79ace44f3c0080596a48a2c5072c739 vmss: support for passing a health probe to update * Generated from 907e4904d4d23c9808b0e9a1e9d6feed24a85674 (#5997) Add api version 2019-07-01 for features * Generated from 13b301ffb122a22f7c7ef6372c606bc677ebc31e (#5952) chore: jsonfmt network * Generated from acbfeadd901b2bb09d4f187e1d7d7dcb68382f0c (#5944) Add purge API details + saved search fixes * [AutoPR cdn/resource-manager] Add two match condition for CDN RulesEngine. (#5926) * Generated from e00cb79da22b7321a0d965f6516440f359180cff Add two match condition for CDN RulesEngine. * Generated from 0ce67b311a2c58faeee1f54bad56afdacc51adeb remove transfrom from HttpVersion condition * [AutoPR peering/resource-manager] API Version 2019-09-01-preview Peering (#5924) * Generated from ec35a7cbfa909dda0ae507af5db9452de833da5f updated 2019-09-01-preview * Generated from 3641a535aab99c93ab35860408e57b105dd40350 updated examples. * Generated from 5f9b9fdd92c5c96b1cb39448b7654103e8913c93 fixed comments in json. * Generated from 2f943553eee21d4184695927da52acdb469b6b43 (#5931) add signin tenant property * Generated from 15e50a07198dcba64bae4c75b4a32969fb50a882 (#5932) Fixing incorrect output of the CheckOCIDriver task. * Generated from afa8ccf350ace9279c30bc5f7df053fa3f65a476 (#5930) fix modal * Generated from aa9913e0d2ece26504f653d3b30d22a4a35a0b38 (#5946) fixing typo and indentation * Generated from faa4da7ea6662be44a9719ba392ca645bc23197b (#5927) fix password1 description * Generated from 4b1813edb7a61c029f7036506b08398a7da69221 (#5971) Add packages for API version for different languages * Generated from 71a7c364618a7112eb2ec351eb0b9827172bc120 (#5976) chore: jsonfmt mysql * Generated from ed7d3540d4a170541423dcf299d305d975442d71 (#5977) chore: jsonfmt postgresql * [AutoPR security/resource-manager] Add aggregated alert top devices information (#5960) * Generated from 235fdb6f20c94a84cda7b52321f27336106cc5e5 fix time field * Generated from 83f1e75cc7e010cba6c566f089194374933a0889 fix time field * [AutoPR recoveryservicesbackup/resource-manager] Azure Backup Version 2019-05-13 addition (#5923) * Generated from 3212ec12fc1821b1b577b0d68951cd67370846d5 Lintdiff Failure fix * Generated from 2826bc70cf4d5fb7c329219e9877b4d74f8a4c45 Semantics Failure fix * Generated from c2fc52d415140376e70e64d0e3d4703c23ec0e2a Camel casing failure * Generated from 10b920e497dd60808ea1c9f89325bf3f366af79a Update bms.json Adding azure vm workload policy back and copying IaaSVMRestoreRequest to 2017-07-01 * Generated from a2315a7436ffff90c2187103294035a4377c5fec Merge branch 'users/adit/generated' * Generated from 2ed2ddce7a58909f89fc4cd728c4fe2efe1ca0d7 Incorporating PR comments * Generated from 7f2f8e3f5b57d9fb2ab8c6731f8699a84b21ef43 Moving Get and Patch on vaultconfig to version 2019-05-13 Moving Patch and Get of vault config to 2019-05-13 * Generated from 1673d919ce100fe910b2e950b5ac297e30eb1c6a Fixing validation errors * Generated from e868833c4c6499353c9c04bbbfd3de261b750a9c Updating vault config feature flag name * Generated from 4b7c0f58757b9f9d86be85357070788cb8881978 Taken care of Ryan's comment Policy comment is still pending * Generated from f0e79eff1574dd894d881bbf697f016b0f5e8a6e Moved all policy actions to 2019-05-13 version * Generated from 94fc988ab4cbee533fa8fca60f8773a387e7f857 Mark additionalDetail as readonly * Generated from 99b812e62e2d6cb1d7634bfd393a69cf5b85f2fa (#5965) Update go & ruby for 3.1 * Generated from d3a4f2d1674a63bc9a4a57015f956833c7d40f7b (#6004) Update LUIS-Authoring.json fix semantic bugs * Generated from 2128273966bce4b74889c8d94b5f3b2cb6592bd8 (#6007) fixed spellcheck * Generated from 55e842916abe83a008e4078b3cfb384c5a49ebf6 (#6010) Modify SecureString to SecretBase * Generated from 16ff787a51dc55db850a3486cccf7780722c1e41 (#6018) Revert changes in input-files to avoid errors * Generated from 0e60fa1cd6adba0b91d7c91ebaaa4fc65c110b4b (#6017) fixing the build * Generated from fecc99c28f9ff6521a2cce0d481429b2b4ab78b5 (#6050) include property in update as well * Generated from 470b9dc33f877037875aca6fcedbbd845b88ba78 (#6028) Update advisor.json * Generated from f639fa1a11578b5cad9c3a155da216117d6e0059 (#6036) chore: jsonfmt appplatform * Generated from c7ff553c30947fdc9a3e133cc8c1ec3740abc0ac (#6046) [SRP] Support Active Directory and regenerate kerb keys * Add Go 1.13 to CI (#6061) Updated Ubuntu image to 18.04. Removed travis CI file. * [AutoPR policyinsights/resource-manager] Adding a baseline folder for PolicyInsights 2019-10-01. Contents are same as prior version, I will make changes once this PR is complete. (#6041) * Generated from 551a94e578553160c7a3ef54b75a2cdff76acc5a fix go build error * Generated from 964ec2957f79ce66ce1f0010e15d774904c753c7 Added spec json files for other resources to be added to the package. Also updated policyStates.json as per latest API changes. * Generated from 33073abb10a1576efd929ed0344af26b4db6037a Added new columns in the examples. Also, Removed metadata path. * Generated from 89e4b3f2e4d5f61efd6d0a1bdacfc1db7a912c85 (#6067) [DataFactory]Add CompressionCodec property for ORC Dataset * Generated from 7face07707cee94abd393c81397c13c71a64c161 (#6070) Fix mistakes. * Generated from 92dd4e7a8d556480e7db4c970c5463b380dfc08f (#6055) Small change - Modify the description for grace period * Generated from 08ad8aa32278a0ffb8ef88220d87820e539e51a6 Add "Allocating","Upgrading" and "Compiling" enum into DeploymentResourceStatus. * [AutoPR appplatform/resource-manager] Rest API for the RP Microsoft.AppPlatform (#6027) * Generated from ca372100531fa406bab65736d59fbd6ffbb7eff4 Rest API for the RP Microsoft.AppPlatform * Generated from db71a1982bb8b1c6c26fd5008b2eb4c2e7924d12 Fix spellcheck. * Generated from b03312169035627c37a4aeaf8d8abe52b5e3d346 Resolve comment of changing operation "CheckNameAvailability" to "Services_CheckNameAvailability". * Generated from d2dd204e7e9c42c2fdfe3d1c11c253aeac06fa56 Add "Allocating","Upgrading" and "Compiling" enum into DeploymentResourceStatus. * Generated from b1da08951a0828c7f9e0678549b54d137e15961a (#6078) Removing contentions APIs from spec * [AutoPR cost-management/resource-manager] CostManagement RP- Introducing API Version 2019-10-01 plus adding Modern Commerce Account Scopes to Query and Dimension APIs. (#6026) * Generated from 2faed1c1199a8cecdfad39af476c06231bcb16ab Added new item for Go Package * Generated from a019ceb117fb91e8f279230976814e9a09da4bcb Fixed some minor issues * Generated from 79e2ea6d6989acb5ad53ba470c36112302b72ff3 Fixed some minor issues and also added missing description for properties * Generated from a1e3eb2f88e93b67dba788fe6abcd993658f8aae addressed some minor issues * Generated from fc698e277dbb465389999eacb1de8e633b1ee90f Resolved conflicts with DiskRP definition names for the DiskEncryptionSet (#7340) * updated swagger * updated swagger * Removed example files which are not relevant and added links to examples for newly added property * fixed the syntax error * updated swagger * fixed the sytax error * updated code * udpated swagger to create DiskEncryptionSet as new property to initiate * resolved conflicts and updated swagger due to conflict in the DiskRP definitions * Generated from a44cd8f82ea92dc521067dd93f772408bf735735 Disk 2019-07-01 version (#7280) * Copy compute.json and runCommands.json from 2019-03-01 to 2019-07-01 * changes to add publicIpAddressVersion field (#7173) * Add diskEncryptionSet in swagger compute-2019-07 * resolve semantic conflicts * Fix model conflicts * Resolve readme * Resolve readme * Resolve description conflicts * Improve description * Fix spell error * Add some examples. * fix model error * Generated from b2a86857b04fa5de515663f5fb4c500784ac3d16 (#6015) updating the description of storage account id * [AutoPR compute/resource-manager] Private temp (#6000) * Generated from 8e9ad09f3def46e2ce770b078bafc1d045f02666 Remove uniqueId in swagger * Generated from cbef264cc94187b8115c04c10d598383572b4eb0 Remove required for diskEncryptionSetId * Generated from cbef264cc94187b8115c04c10d598383572b4eb0 Remove required for diskEncryptionSetId * Generated from b95c1f587e09552c59e22558497befa04e739714 Update 2019-07 from latest 2019-03 update. * Generated from f9b0aa74ce36ad89f61118c811984f961d76e1b7 Update swagger (#7510) * Copy compute.json and runCommands.json from 2019-03-01 to 2019-07-01 * changes to add publicIpAddressVersion field (#7173) * Add diskEncryptionSet in swagger compute-2019-07 * resolve semantic conflicts * Fix model conflicts * Resolve readme * Resolve readme * Resolve description conflicts * Improve description * Fix spell error * Add some examples. * fix model error * Update examples * Remove uniqueId in swagger * Remove required for diskEncryptionSetId * Update principalId and tenantId to be readonly * small space fix * Generated from b70af9184bd96b16fb8430d8f495666c4e98566f Add default responses to new APIs. * Generated from 1175f21020d781bcd32041246ab560177fe3edcf Updating swagger spec to fix billing plans schema in catalogs response. * Generated from 032bb9b160526aab1a3ee4a5f876a1a987e399fe (#6108) Add 2019-06-01 in storage for golang * Generated from c0d6fb888aea1d3ed46becd97c9c427ac4bff5ec (#6058) Fix formatting. * [AutoPR containerservice/resource-manager] [WIP]add aks rotate-certs operation for 2019-08-01 (#6088) * Generated from 018a5faf169cc9f24c74a0e8c79587dce1171129 remove 200 return code * Generated from 965878ad7cb4fb6cb6d8cc7467ccbb000dc05a36 feat: use 204 instead of 200 * Generated from e08f7a3ba78fe8ab91efcdacde25ab986c6eca0f (#6104) updating sdk tags for 2019-10-01 api version (#7550) * updating sdk tags for 2019-10-01 api version * fixing ci errors * Generated from 6fe4f8016ca318dac93474cf69f5c111c0671454 (#6097) fix build * Generated from 90ee9c9a19e9c1aafce78f6232b9dbbed15434a8 (#5966) Refactory CognitiveServicesAccount model specification. * [AutoPR eventgrid/data-plane] update-event-schema-for-azure-storage-event-grid-notification-for-cr… (#6044) * Generated from 428c006d60546419a3b147a7fe9aa41d541ebe65 update-event-schema-for-azure-storage-event-grid-notification-for-create-delete-directory-and-rename-blob-directory * Generated from e1e58a72a322f6a32ebf891169674985771267f1 update according to pr reviews * Generated from 74a61c2feb1bc51623d2c11545aa52532ed20198 update according to pr reviews * [AutoPR eventgrid/resource-manager] EventGrid: New preview API version with support for additional destination types, CloudEvents 1.0, and batching support. (#6102) * Generated from 2f3e7dfe09d45258a6bd27be7fd4b7bbfb67a9bc Add new API version to README files. * Generated from 227d311a35e44441be395c70515641008f39942e Made a minor rename to one property (azureActiveDirectoryApplicationObjectId) based on feedback. * Generated from 3df959debc8a270d8f8c7af0de16d63938009fe3 (#6119) Fix error in luis runtime readme * Removed preview package for luis/runtime/v3.0 since it has been made stable * Fix profiles * Generated from b83db8b3bbb9c1a82591d08e46903a69c16a9334 (#6118) Change go sdk from tag 2019-07-01 to 2019-07 * Generated from 7fae08b6292f00a279b78836e707791df4aff421 (#6139) Changed to v3 * Generated from 41580d13b1a5ad6bccf689f546884361c988e98e (#6138) Update ResourceIdentity to EncryptionSetIdentity * Generated from e914f092dbc78e6d6319f88f5e59381c98cdd7ce (#6131) Add minimumTLSVersion field to CustomDomainHttpsParameters in latest CDN API * Generated from 60f4598fd519843b5b992024169d9af2eab5bdbe (#6089) Changed WebActivity and webhook activity auth to support both AKV and Secrets * Generated from c4bc95d6f727f0702a8b3a588c22dddf69d3ee1c (#6112) Update data set related documentation comments * Generated from 88d6a1d2d54b122af05cdeb24a995650dba91336 added missing part from 2019-08-01 * Generated from 05c0da669c2d1eda1061114132d86dab698bbbef adding swagger-to-sdk section * Generated from 980a4a36c65ce19efc0707a489f0c94e8e291455 1. Make PUT and PATCH against App resource supports async. 2. Remove "Processing" enum from DeploymentResourceProperties's status property. 3. Rename "Processing" enum to "Updating" for DeploymentResourceProperties's provisioningState. * Generated from dc469e5db850fadb8dc524f9b136ac262e1233cd (#6150) update readme * Generated from 2bf8ae41b02cc56508afee3fb34fc9e742d65776 (#6152) Update Db2LinkedServiceTypeProperties * Generated from 3a72ff129dfe06292f39bbfd2c98c414db71a41a (#6163) Update cache flush,start,stop and upgrade firmware examples to reflext 204 status code. * [AutoPR vmwarecloudsimple/resource-manager] [DO NOT MERGE] Update Microsoft.VMwareCloudSimple provider schema to Cloudsimple 44 release (#6033) * Generated from 5bf923e3f6c39ce577407eae30403dfe835c7542 Update Microsoft.VMwareCloudSimple provider schema to 44 release of Cloudsimple * Generated from fe16507aa9029e891a7286e4cf1eceeda1361063 Update Microsoft.VMwareCloudSimple provider schema to 44 release of Cloudsimple * Generated from 3569147399df87983f430b30bc5df237dad128ac Update Microsoft.VMwareCloudSimple provider schema to 44 release of Cloudsimple * Generated from 483ebc4c0b35d13b11df0de3369a94ba62923e31 Update Microsoft.VMwareCloudSimple provider schema to 44 release of Cloudsimple * [AutoPR cognitiveservices/data-plane/VisualSearch] Adding EU compliance not to description (#6133) * Generated from e8a4e07f183bfd751502cfbd4cae3dd09f033bdd Adding EU compliance not to description * Generated from 9cf846d5a6be1cc6628a67a33b1724983a7f3e47 fixed strong tag * Generated from edd3ba7afcbc2d1d338ccecd7c4e30549901a105 remove html tags for note * Generated from 2bb157c778ece564f26a975ba078b5fe6ff28e34 (#6173) Add 2019-10-01 * [AutoPR domainservices/resource-manager] Remove ReplicaSet Nested Resource (#6149) * Generated from 7dcde316dc95ae117ec71fdbfee6c8d52c7197a0 Remove ReplicaSet Nested Resource * Generated from a7ad4520230d029f214826fb7ca1f442e6c95e8e Fix readyonly properties * Generated from 0d43fb7bbb031d638118feb926c31f5314e47ed6 (#6176) update path for readme.go.md * Generated from latest swagger * Fix profile * v35.0.0 * [AutoPR cosmos-db/resource-manager] Cosmos DB patch and multi-api support (#5937) * Generated from 3b7573ec3a5b925233a621247469bdb58e1121f0 revert changes to old api swagger * Generated from b14e1323073f43c8e66e7ec59241def9f4ca1c96 rebasing and adding preview versions to sdk generation * Generated from 032d4a3bf0d9a3e2980c6fdce73b735deedd0a5c create or update method with guidance in the description * Generated from b278a4f58378d5a1acb4978aa7aced5a1fa85578 minor text changes * Generated from b278a4f58378d5a1acb4978aa7aced5a1fa85578 minor text changes * Generated from b278a4f58378d5a1acb4978aa7aced5a1fa85578 minor text changes * v35.1.0 * v36.0.0 (#6226) * Generated from 368b5914a375e09ef413285c932b72038a8af7e4 (#5386) fix: sql preview model validation errors - Remove empty "body" for RESPONSE_SCHEMA_NOT_IN_SPEC errors - IsAzureMonitorTargetEnabled -> isAzureMonitorTargetEnabled - "State" -> "state" - emailAccountAdmins "true" -> true - Add 202 response for RestorePoints_Create - password -> certPassword for ManagedInstanceTdeCertificates_Create and TdeCertificates_Create * Tooling fixes (#5400) Return empty slice when no tags are found. Added module version string validation. Added optional arg 'initial module version' to versioner tool. * First commit of major-updater tool * Add autorest in parallel * Make subworks sub-commands * Add afterscript * Fixed operation order * Some refine * Refine output * Refine output * Fix bug in dep * Add afterscripts and lisence header * Fixed a bug with relative path * gofmt fix * Simplify * [AutoPR] hdinsight/resource-manager (#5396) * [AutoPR hdinsight/resource-manager] [HDInsight] Add Capabilities to Stable API version,Modify ApplicationType,AccessModes to enum (#5291) * Generated from 6fd28f5f0db51b2cf7a71835ac10e3dc2c4cb390 Add Capabilities to stable version, Modify ApplicationType and AccessMode to Enum. In order to be consistent with the response from RP side, add suppression for DefinitionsPropertiesNamesCamelCase * Generated from cef6f97615ded43f65dab5eda4a5837d5ec45621 Add Capabilities to stable version, Modify ApplicationType and AccessMode to Enum. In order to be consistent with the response from RP side, add suppression for DefinitionsPropertiesNamesCamelCase * Generated from a22cf02eb2898daaac88819d82f4ccc1fba62a75 Add Capabilities to stable version, Modify ApplicationType and AccessMode to Enum. In order to be consistent with the response from RP side, add suppression for DefinitionsPropertiesNamesCamelCase * Generated from 18e8f73649a26d6acdba575f35b0e3af6fe3cd8c (#5381) Problem: in previous pr #6665 we modify accessModes and applicationType to enum, this will bring breaking change in java sdk. Solution: remove the two enum, change it to string type * [AutoPR] datafactory/resource-manager (#5405) * [AutoPR datafactory/resource-manager] Enable Avro Dataset in public swagger (#5385) * Generated from ec112148bf30430557ff3fac0c74f0706b1042de Enable Avro Dataset in public swagger * Generated from e41431428e45beaa5bbb12344d3332479c095e31 UPDATE * Generated from 1399f090601abea10de38ae50242895878947a74 (#5390) Add paramref into custom-words.txt * Generated from 814795cce5766e56d08e877d7f359c2d6380a8be (#5411) update example * [AutoPR cognitiveservices/data-plane/QnAMaker] add QnAMaker runtime to Go SDK (#5368) * Generated from 67a0600b9c098d384b275c79d1ab1b6b870e6e77 add QnAMaker runtime to Go SDK * Generated from 3d6f73607f9caee9054b290237825245306d7408 ensure package directory and namespace match * [AutoPR compute/resource-manager] Add terminate profile and scheduled events profile to Microsoft.Compute (#5310) * Generated from 9bb1d5b7f21a0e03e97ce3817554307244d45422 Correct definition format * Generated from 49bbc9237680dc7963f9d24f7cde1d05e8f14260 Merge branch 'master' into dev/szimmer/AddTerminateProfile * [AutoPR compute/resource-manager] Add missing Gallery Application API in 2019-07-01 version (#5354) * Generated from 01293ebd64fa96d11d30d9b0ef1391cbe8e62443 Add missing Gallery Application API in 2019-07-01 version * Generated from 6637309053b80e0b62b01f1c240d72749e30f1c2 Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs * Generated from 1929243cc853b5f21c5e6cef8a2867fb4d26b4dc (#5421) updating description - clarify encryption enabled by default * Generated from 3061f166bc14a327fd8506ee1b85f966db9d26fb (#5424) chore: jsonfmt logic * [AutoPR logic/resource-manager] RosettaNet Process configuration apis (#5416) * Generated from eaa9b184f467a7f80c8044d487a72d596b45fbc9 updated examples path * Generated from 68568e93d6bc5b687899488523cade3f66893779 fixes CI errors Fixed casing as required by CI * Generated from 3cd428eebae03353ad64c51526318c1890219a15 merge conflicts * Generated from b2fdc8872f13016495f8cf26d31ed4e902ee1a9e removed breaking changes * Generated from 901423e3e7dee55389f4fcc9fc5d7c793fa202ae pr feedback * Generated from 2838c1142bf4bf7b382e819cfe73e3dfcc2794d7 Merge branch 'master' into AzureLogic-rosettanet-apis * [AutoPR cognitiveservices/data-plane/InkRecognizer] [Hub Generated] Review request for InkRecognizer to add version preview/v1.0 (#5372) * Generated from 34c67e4beeb3721701921ded0f374c834723b2f7 re-naming inputDevice to inputDeviceKind * Generated from ae13f3bcaab268fc0365a1e0452535827d2bda64 Update specification/cognitiveservices/data-plane/InkRecognizer/preview/v1.0/InkRecognizer.json Co-Authored-By: Nick Schonning * [AutoPR compute/resource-manager] add HyperVGeneation in GetVMImage (#5344) * Generated from 4b3b012a4c684afd2e931bb2ac4c01bbf894eec4 add HyperVGeneation in SharedVMImageVersion * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * Generated from bcef281153fa689dac376755754aed8aac925815 (#5313) fix: servicefabric character encoding * Fix table query continuation token (#5423) * When aborting with error, delete the branch just created (if exists) * Change Delete to DeleteBranch for explicity * Generated from e2aaa71c099725ee90c36c388f88398bc33c000c (#5436) Merge https://github.com/Azure/azure-rest-api-specs * Merge pull request #5439 from Azure/restapi_auto_portal/resource-manager [AutoPR] portal/resource-manager * Generated from a415a4352bc3818452589c8eed1e9e4be1cb8260 (#5442) Update Tasks.json Fixed incorrect discriminator for Oracle to PostgreSQL scenario. * Generated from ca46ecf5c4baeb43c5fc1afb355c065bf49efd90 (#5449) Update OracleAzureDbPostgreSqlSyncTask.json Added "caseManipulation" to MigrateOracleAzureDbPostgreSqlSyncDatabaseInput object * Generated from b3623415bfb03b5a528c8a2a20caad53aba43ce2 Adding managed resource group and log Analytics Workspace to the GET API * Generated from f1354d954d03c2283656d3c820a88dcfc2ddf79e Updating fields in the list and patch APIs * Generated from df3fa85139fca07f04373031470bed637e7b8126 Update Batch Swagger documentation * [AutoPR servicefabric/resource-manager] Moving sfrp release 2019-03-01 to stable (#5314) * Generated from b1a5bbf475639da8e8bf4783ba33a4af17caa08c remove location and tags from proxyResource * Generated from 14c9abcc8bd1b6e9635a60226e3966b774951e28 Revert "remove location and tags from proxyResource" This reverts commit b1a5bbf475639da8e8bf4783ba33a4af17caa08c. * Generated from 2380d7af2f3e2d507c5486d8fb6abfd816a65bed change location description in ProxyResource to dcument as deprecated * Generated from 17ffb0840e98cd725c5c999160787b8605c414d6 rename put operations to *_CreateOrUpdate * Generated from e8805bf5ca1ff7c125b84a637eb483af9efd5ff5 (#5459) add readme go * Generated from 27e7dd3c7e4a6b855c902cfaf35380e273760cde (#5462) Update readme.md files missed from previous commit * Generated from 3acbc3b4106db3097de5be5e4df47afb38d51ec0 (#5473) Use cors definition from blob.json * Generated from 408cd70f35f18e81fc46aa6538822c850bd8ced4 (#5489) Updating the skus names and clarified capacity description * [AutoPR containerservice/resource-manager] [Hub Generated] Review request for Microsoft.ContainerService to add version stable/2019-08-01 (#5444) * Generated from 9e6d4ac959af23add7e84ec0531c0643e3bde433 Update tags for 2019-08-01 SDK generation * Generated from 2307de018692dde013d3bf3ed0557c6d8f84519d Add private link resources * Generated from 9e6d4ac959af23add7e84ec0531c0643e3bde433 Update tags for 2019-08-01 SDK generation * Generated from 70862cb4e798bea3905a652d60569cf436a8f0c7 (#5501) Add config for go * Generated from faa8f71aa05aaed68631716cc9ef24451d760b3e (#5465) remove redundent schema reference * [AutoPR recoveryservicesbackup/resource-manager] Adding non mandatory fields in ProtectedItem and AzureVmWorkloadProte… (#5392) * Generated from 142bb9d9a841dde1be669e35ba1586138ed1a599 Adding non mandatory fields in ProtectedItem and AzureVmWorkloadProtectionPolicy Adding additional fields for ProtectedItem related to soft delete feature ; description of each field is in the fields. In AzureVmWorkloadProtectionPolicy adding another field for fixup of policy * Generated from ad48ba50e1864e1adb4845d4bbf73ee192354cde Rehydrate removal from description Rehydrated is not in dictionary of swagger valiation and thus removed from description * Generated from bd73c95f36f3758171783a5b37b8e097b9726524 Updating the Field for deferred deleted Time Updating the new field for deleted time in ProtectedItem while keeping the syncTime for MABfileFolderProtectedItem * Generated from ac509691885fb8f4bf7e0cec8219571c0dfd23ac Undo change to AzureVmWorkloadProtectionPolicy Removed the change to AzureVmWorkloadProtectionPolicy as this requires new api version * Generated from d0e65933a9e0764079436e3f000fe80796479542 Fixing camelcasing Camelcasing of isDeferredDeleteScheduleUpcoming field * Generated from dea881c0a4daf7b8a1472e9e33efffdd6247d0de (#5529) Add missing json to package-composite-v2, package-composite-v1, package-pure-2017-03-preview and package-2017-03-preview * [AutoPR billing/resource-manager] [Do not merge] [Microsoft.Billing] Customers resource for partner-channel (#5343) * Generated from 7f7f0f2009acea6f3d52c4e1f8f4f4af37b5ae5b Update examples. * Generated from 967632713b1ea0e839baef7d47f3f857923f9ad1 Fix reseller property on billingSubscription. * compute/resource-manager] Swagger: Allowing for VMSS reference during VM creation (#5408) * Generated from 547a98bc34516d8788adff951ebd929d8d5125ae Swagger: Allowing for VMSS reference during VM creation * Generated from 2723517c6c29f1c6945bdf05b9c4e42f85159011 fixing typo * Generated from 004d77657b470329193715edd882bc1934d0785a (#5534) Fix bad discriminator value on ConnectionInfo which was breaking node/js SDK generation * Generated from 7c78ea20f697176d9e9017b076e0dc76e09aa303 Update custom-words.txt * Generated from f1ef9612fd56160b7976caeae1830276cd848761 (#5547) fix bad 'unknown' discriminator value in the rest of our datamigration models * Generated from 92b46a61425bf808ff7b4ffef9d3bb063713558b (#5531) Mark ownerEmail as required properties for workspace RP * Update to latest Go code generator (#5583) * [AutoPR hanaonazure/resource-manager] Added Key Vault ID for GET and LIST SapMonitor (#5410) * Generated from b39adb6b69cc5d847e3158430da68bfe4b935ec2 Added Key Vault ID for GET and LIST SapMonitor * Generated from c5d2bc253fb4880b9543bd5edb6a38138fb40e64 Added Key Vault ID for GET and LIST SapMonitor * datalakegen2 endpoints require https (#5572) * datalakegen2 endpoints require https * regenerate with 2.1.136 of autorest.go * Generated from 27425d2151bbc9609e18833c5479739f8266de47 (#5538) Update readme.md * Generated from a9e6716031821eff25f2cbb422960fa56742c0e9 (#5586) Merge branch 'master' into akpati/ssh-property-change * [AutoPR containerregistry/resource-manager] [ACR] Update retention policy schema (#5571) * Generated from 1afeec1884ccf139e6c1bda82ab81227b3df9d2b update retention policy schema * Generated from c136d1fcf1a161f68944223dad032c4407154c6f remove unnecessary breaking change * Generated from 287fcbfdc1fc8b0926588963393574052e0bb9ed fix typo * Merge pull request #5610 from Azure/restapi_auto_reservations/resource-manager [AutoPR] reservations/resource-manager * Generated from 4e144aa43b738e1792883408252e26570a777706 (#5587) Add codegen config for kusto 2019-05-15 * [AutoPR resources/resource-manager] Adding a new api version 2019-06-01 for Microsoft.Authorization policy artifacts (#5585) * Generated from 75581e4277112188117db523a260ae818d949523 added stable/2019-06-01 version for Authorization RP * Generated from edd74f0a1be6f17caa185525a63e594aef956acc Addressed review comments. * Merge pull request #5622 from Azure/restapi_auto_storage/resource-manager [AutoPR] storage/resource-manager * Generated from 65b2f8a37695f3d9cf53c50a05a61c4179857199 (#5605) updated readme with correct version. * Change log level from verbose to normal * Minor change * v33.0.0 draft * Fix vet failure * Update readme * Now major updater reads the config file * Change rel path to abs path * Fix compile error * Execute after script from config file * Refine output * [AutoPR] compute/resource-manager (#5656) * [AutoPR compute/resource-manager] removing non-ascii character (#5325) * Generated from 090b727225320af61034c7278c3ccf51dcbef8a2 removing non-ascii character * Generated from 56ccb1151588cff87c1c92eee0e6c56e42c7f2f4 corrected the description * [AutoPR compute/resource-manager] Add terminate profile and scheduled events profile to Microsoft.Compute (#5310) * Generated from 9bb1d5b7f21a0e03e97ce3817554307244d45422 Correct definition format * Generated from 49bbc9237680dc7963f9d24f7cde1d05e8f14260 Merge branch 'master' into dev/szimmer/AddTerminateProfile * [AutoPR compute/resource-manager] Add missing Gallery Application API in 2019-07-01 version (#5354) * Generated from 01293ebd64fa96d11d30d9b0ef1391cbe8e62443 Add missing Gallery Application API in 2019-07-01 version * Generated from 6637309053b80e0b62b01f1c240d72749e30f1c2 Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs * [AutoPR compute/resource-manager] add HyperVGeneation in GetVMImage (#5344) * Generated from 4b3b012a4c684afd2e931bb2ac4c01bbf894eec4 add HyperVGeneation in SharedVMImageVersion * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * compute/resource-manager] Swagger: Allowing for VMSS reference during VM creation (#5408) * Generated from 547a98bc34516d8788adff951ebd929d8d5125ae Swagger: Allowing for VMSS reference during VM creation * Generated from 2723517c6c29f1c6945bdf05b9c4e42f85159011 fixing typo * [AutoPR compute/resource-manager] [Do not merge yet] DiskRP Swagger changes for 2019-03-01 (#5398) * Generated from a308b6604cb4bfdb8085d78f998aa3718cf9ae36 adding unique id * Generated from b7b0ecc49d6694ea41c66ef9936f05da9bae38f3 fixing typo * Generated from 34c96075059bf06bf052835f6f405b2d0649d1b7 removing diskSizeBytes from snapshot\disk update properties and adding a unique id for disk properties * Generated from 1ad0c2e2dd85dad2a363072eb4cdcbe250e1522b pr comments * Generated from 4f5dbad04518d0674689ac2a2388ea823d28cadf pr comments * [AutoPR compute/resource-manager] Adding low priority and variable pricing feature for standalone VMs. Added priority, eviction policy and billing profile to VirtualMachineProperties. Also, adding optional billing profile to VMSS Create and Update APIs. (#5523) * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 9d5e30df16e3ea43cb3b21b5f5264373d8ed2397 (#5596) updating an incorrect description for uploadsizebytes * Generated from 79b1099e7cf1d0a077c2f5b38b4c83408b97a59b (#5652) Add missing $expand parameter to AvSet list by subscription API * Generated from 027c5530dd98ce87a84ba78c3e3cf8d2451d0c13 (#5569) Fixed the formatting * [AutoPR eventhub/resource-manager] Eventhub: added NetworkRuleSets list API (#5627) * Generated from 46cb463f5dbcd442661875e4eb9d963af3bd1225 added NetworkRuleSets list API * Generated from c09ca0cf8b2a8d98ee64b897e1858f4be8a67f95 added x-ms-pageable and formating * Generated from 8bc2a7edfeebb1a6bb30abbbb03d08bf1f8a8dbc update * Generated from 111d1bc1666fe89cebb960135cf2f5336bbcb35a (#5615) Removed rogue file * [AutoPR machinelearningservices/resource-manager] [NEED DESIGN REVIEW, DO NOT MERGE] Adding workspace level quota management APIs in version 2019-05-01 (#5641) * Generated from f5ddfe85225c2d4f86f7de8e99760b95d1dea6bf Merge branch 'master' into leizhao/workspaceQuotaManagementInVersion2019-05-01 * Generated from c89caf92470c4c334883662fd98e6bd07881807d migrate quota management from 2019-05-01 to 2019-06-01, no content changes * [AutoPR storagecache/resource-manager] Dev storagecache microsoft.storagecache 2019 06 01 preview (#5623) * Generated from 570b6f73542c34f1eb0ab0a85e44b4d929ff55b6 Fix output folder path for GO SDK and fix typo in Tag * Generated from 908e3cd2e18a38be0711e03035c7acdc7ab6d1f2 Fix version in the path of output folder for GO SDK * Generated from 10811b8f33c5e36350b618955cdd8edc9dd67c11 (#5673) Fix bad package name for storagecache in go sdk * Fix bad package name * Fix profile and fmt * Generated from 54eb3260d53865005eb6ccfdc9843e7ab10d9da5 (#5551) adding maintenanceConfiguration list and resourceId for updates * Generated from be2943341d08ab5972e4d2385b1860d34ee61f59 (#5675) Fix bad namespace in service maintenance * Fix wrong namespace * Fix profile and fmt * Generated from 3bcf3602288f763a70a2f3cb10100406e0e53257 (#5672) Addressed misspelled word and mode error * Generated from 5e1bb35d5c3314d8f4fead76c3d69a2522be026b (#5651) Update review comments * [AutoPR datafactory/resource-manager] support Express Custom Setup (#5536) * Generated from 696212c605edef333cba0f0e86d42ba344f4fc42 address the comments * Generated from 4de64a2262df8e2e971620c95f7c3a2ba91d49d9 address comments * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * [AutoPR datafactory/resource-manager] [Data Factory]Add ORC Dataset/Copy Source/Copy Sink (#5611) * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Fix CI failure and conflict * [AutoPR] compute/resource-manager (#5688) * [AutoPR compute/resource-manager] removing non-ascii character (#5325) * Generated from 090b727225320af61034c7278c3ccf51dcbef8a2 removing non-ascii character * Generated from 56ccb1151588cff87c1c92eee0e6c56e42c7f2f4 corrected the description * [AutoPR compute/resource-manager] Add terminate profile and scheduled events profile to Microsoft.Compute (#5310) * Generated from 9bb1d5b7f21a0e03e97ce3817554307244d45422 Correct definition format * Generated from 49bbc9237680dc7963f9d24f7cde1d05e8f14260 Merge branch 'master' into dev/szimmer/AddTerminateProfile * [AutoPR compute/resource-manager] Add missing Gallery Application API in 2019-07-01 version (#5354) * Generated from 01293ebd64fa96d11d30d9b0ef1391cbe8e62443 Add missing Gallery Application API in 2019-07-01 version * Generated from 6637309053b80e0b62b01f1c240d72749e30f1c2 Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs * [AutoPR compute/resource-manager] add HyperVGeneation in GetVMImage (#5344) * Generated from 4b3b012a4c684afd2e931bb2ac4c01bbf894eec4 add HyperVGeneation in SharedVMImageVersion * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * compute/resource-manager] Swagger: Allowing for VMSS reference during VM creation (#5408) * Generated from 547a98bc34516d8788adff951ebd929d8d5125ae Swagger: Allowing for VMSS reference during VM creation * Generated from 2723517c6c29f1c6945bdf05b9c4e42f85159011 fixing typo * [AutoPR compute/resource-manager] [Do not merge yet] DiskRP Swagger changes for 2019-03-01 (#5398) * Generated from a308b6604cb4bfdb8085d78f998aa3718cf9ae36 adding unique id * Generated from b7b0ecc49d6694ea41c66ef9936f05da9bae38f3 fixing typo * Generated from 34c96075059bf06bf052835f6f405b2d0649d1b7 removing diskSizeBytes from snapshot\disk update properties and adding a unique id for disk properties * Generated from 1ad0c2e2dd85dad2a363072eb4cdcbe250e1522b pr comments * Generated from 4f5dbad04518d0674689ac2a2388ea823d28cadf pr comments * [AutoPR compute/resource-manager] Adding low priority and variable pricing feature for standalone VMs. Added priority, eviction policy and billing profile to VirtualMachineProperties. Also, adding optional billing profile to VMSS Create and Update APIs. (#5523) * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 9d5e30df16e3ea43cb3b21b5f5264373d8ed2397 (#5596) updating an incorrect description for uploadsizebytes * Generated from 79b1099e7cf1d0a077c2f5b38b4c83408b97a59b (#5652) Add missing $expand parameter to AvSet list by subscription API * [AutoPR] securityinsights/resource-manager (#5683) * Generated from 878390cbb0806c9194cc9ceaed923284d2d8f2ac (#5288) Fix mistake * [AutoPR securityinsights/resource-manager] SecurityInsights: Investigation swagger updates (#5292) * Generated from 27abe226e56bd1a6d13985c9bc8871148a8c34ad Merge branch 'master' into InvestigationSwagger * Generated from ebb1f1f5bdab7f12639fbee775adf16611d092ad removed cases changes (will be in another PR) * Generated from ab899e75a364a5b6dbf21370c1db65b769094ec8 removed bookmarkEntity from entities api (currently not supported) * [AutoPR securityinsights/resource-manager] Adding alertRuleTemplates swagger spec to securityInsight (#5504) * Generated from d731243f4645a2df9c8389e10e93be04ea78a620 Add alertRuleTemplates endpoint to securityInsight * Generated from d09f26c587fddd31fa13cb3d94d7a9bbe8d58ec8 fix merge conflict * Generated from efe14acff06c754692f29bffee877f29edb68b89 Bookmarks swagger updates * Generated from 07393c4915496b1768a08c5f408b05cdb2a27f10 fix typos * Generated from 98fdd0347934e59d39a7b6f803f170933c96d199 fix typo * Generated from e00e65896ca96c4c814528fa286e3f6e2d534122 (#5682) sort definitions and parameters by ABC * Resolved conflict manually * [AutoPR] network/resource-manager (#5692) * Generated from 3b992f9396f9c0bc7e34b11696efcffafa92575a (#5297) add network package-2019-06 to Go SDK * Generated from 36ba645d97091ead19fa04d57595069d73491c7e (#5511) Update PE/PLS * Generated from ec578e180c4515be63046f0b0991d7b9547e657d (#5522) Update description of "location" in serviceTags.json * [AutoPR network/resource-manager] chore: jsonfmt network (#5514) * Generated from 2c363ba11150b1894650db67b5d4a03166b95afd chore: jsonfmt network * Generated from 2c363ba11150b1894650db67b5d4a03166b95afd chore: jsonfmt network * Generated from 92006e420d65cb70e4b93bc5850af575da4efb78 (#5637) Mark "provisioningState" as read-only * [AutoPR network/resource-manager] Add missing read-only property "outboundRules" in LoadBalancer specs (#5647) * Generated from 658cfc162acc76fd35b81aa42b29406d9ba013cb Add missing read-only property "outboundRules" in LoadBalancer specs * Generated from 658cfc162acc76fd35b81aa42b29406d9ba013cb Add missing read-only property "outboundRules" in LoadBalancer specs * [AutoPR] storage/resource-manager (#5695) * Generated from 3acbc3b4106db3097de5be5e4df47afb38d51ec0 (#5473) Use cors definition from blob.json * Generated from 94667089d429b4f1aca38e60f85b13f5c0039219 (#5580) Align File swagger with the Blob swagger * Generated from 8264dcc49e0bc239013cd76ce9664f83f1041967 (#5678) Update Kusto.json with TSVE data format * [AutoPR eventgrid/data-plane] Create KeyVault.json (#5546) * Generated from 66c76158ca650e8f4bf0ff082bc5428e2544c457 Update readme with KeyVault.json * Generated from 7d4a2513c50a216bfe9cbf6a6f769d460d7211f4 Revert "Update readme with KeyVault.json" This reverts commit 66c76158ca650e8f4bf0ff082bc5428e2544c457. * Generated from 44674ab5aabc591e8dd6b10d326071e8fa3ccd49 Update readme.md * [AutoPR] compute/resource-manager (#5706) * [AutoPR compute/resource-manager] removing non-ascii character (#5325) * Generated from 090b727225320af61034c7278c3ccf51dcbef8a2 removing non-ascii character * Generated from 56ccb1151588cff87c1c92eee0e6c56e42c7f2f4 corrected the description * [AutoPR compute/resource-manager] Add terminate profile and scheduled events profile to Microsoft.Compute (#5310) * Generated from 9bb1d5b7f21a0e03e97ce3817554307244d45422 Correct definition format * Generated from 49bbc9237680dc7963f9d24f7cde1d05e8f14260 Merge branch 'master' into dev/szimmer/AddTerminateProfile * [AutoPR compute/resource-manager] Add missing Gallery Application API in 2019-07-01 version (#5354) * Generated from 01293ebd64fa96d11d30d9b0ef1391cbe8e62443 Add missing Gallery Application API in 2019-07-01 version * Generated from 6637309053b80e0b62b01f1c240d72749e30f1c2 Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs * [AutoPR compute/resource-manager] add HyperVGeneation in GetVMImage (#5344) * Generated from 4b3b012a4c684afd2e931bb2ac4c01bbf894eec4 add HyperVGeneation in SharedVMImageVersion * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * compute/resource-manager] Swagger: Allowing for VMSS reference during VM creation (#5408) * Generated from 547a98bc34516d8788adff951ebd929d8d5125ae Swagger: Allowing for VMSS reference during VM creation * Generated from 2723517c6c29f1c6945bdf05b9c4e42f85159011 fixing typo * [AutoPR compute/resource-manager] [Do not merge yet] DiskRP Swagger changes for 2019-03-01 (#5398) * Generated from a308b6604cb4bfdb8085d78f998aa3718cf9ae36 adding unique id * Generated from b7b0ecc49d6694ea41c66ef9936f05da9bae38f3 fixing typo * Generated from 34c96075059bf06bf052835f6f405b2d0649d1b7 removing diskSizeBytes from snapshot\disk update properties and adding a unique id for disk properties * Generated from 1ad0c2e2dd85dad2a363072eb4cdcbe250e1522b pr comments * Generated from 4f5dbad04518d0674689ac2a2388ea823d28cadf pr comments * [AutoPR compute/resource-manager] Adding low priority and variable pricing feature for standalone VMs. Added priority, eviction policy and billing profile to VirtualMachineProperties. Also, adding optional billing profile to VMSS Create and Update APIs. (#5523) * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 9d5e30df16e3ea43cb3b21b5f5264373d8ed2397 (#5596) updating an incorrect description for uploadsizebytes * Generated from 79b1099e7cf1d0a077c2f5b38b4c83408b97a59b (#5652) Add missing $expand parameter to AvSet list by subscription API * [AutoPR] storage/resource-manager (#5707) * Generated from 3acbc3b4106db3097de5be5e4df47afb38d51ec0 (#5473) Use cors definition from blob.json * Generated from 94667089d429b4f1aca38e60f85b13f5c0039219 (#5580) Align File swagger with the Blob swagger * [AutoPR storage/resource-manager] Add change feed properties to 2019-04-01 Storage. (#5621) * Generated from 774367438889ac553def1957b72b8ba63ad877e5 Add change feed properties to 2019-04-01 Storage. Add change feed properties to Storage Blob Services. * Generated from 774367438889ac553def1957b72b8ba63ad877e5 Add change feed properties to 2019-04-01 Storage. Add change feed properties to Storage Blob Services. * Generated from 34d744550227bee7b380604d38fc1de6c9af6397 (#5708) Update netapp.json * Merge pull request #5714 from Azure/restapi_auto_compute/resource-manager [AutoPR] compute/resource-manager * Update swagger_to_sdk_config.json Update autorest.go to new version * Generated from 5ea5da031f993e6dd8061f42abbea77d58e66020 Clarify KeyVault time as seconds since Unix epoch * Generated from b621ede227cd29651b1712782d964373fc2da6ec (#5717) Quick fix * Generated from 4eb71094207cc3188dfa1d604325731362a555a5 updating readmes * feature: support PutBlockFromURL API: https://docs.microsoft.com/en-us/rest/api/storageservices/put-block-from-url * Generated from 18efd73807c1182800e0521f67e1e5ae2ee70394 added missing packages to compute release * [AutoPR] compute/resource-manager (#5721) * [AutoPR compute/resource-manager] removing non-ascii character (#5325) * Generated from 090b727225320af61034c7278c3ccf51dcbef8a2 removing non-ascii character * Generated from 56ccb1151588cff87c1c92eee0e6c56e42c7f2f4 corrected the description * [AutoPR compute/resource-manager] Add terminate profile and scheduled events profile to Microsoft.Compute (#5310) * Generated from 9bb1d5b7f21a0e03e97ce3817554307244d45422 Correct definition format * Generated from 49bbc9237680dc7963f9d24f7cde1d05e8f14260 Merge branch 'master' into dev/szimmer/AddTerminateProfile * [AutoPR compute/resource-manager] Add missing Gallery Application API in 2019-07-01 version (#5354) * Generated from 01293ebd64fa96d11d30d9b0ef1391cbe8e62443 Add missing Gallery Application API in 2019-07-01 version * Generated from 6637309053b80e0b62b01f1c240d72749e30f1c2 Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs * [AutoPR compute/resource-manager] add HyperVGeneation in GetVMImage (#5344) * Generated from 4b3b012a4c684afd2e931bb2ac4c01bbf894eec4 add HyperVGeneation in SharedVMImageVersion * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * compute/resource-manager] Swagger: Allowing for VMSS reference during VM creation (#5408) * Generated from 547a98bc34516d8788adff951ebd929d8d5125ae Swagger: Allowing for VMSS reference during VM creation * Generated from 2723517c6c29f1c6945bdf05b9c4e42f85159011 fixing typo * [AutoPR compute/resource-manager] [Do not merge yet] DiskRP Swagger changes for 2019-03-01 (#5398) * Generated from a308b6604cb4bfdb8085d78f998aa3718cf9ae36 adding unique id * Generated from b7b0ecc49d6694ea41c66ef9936f05da9bae38f3 fixing typo * Generated from 34c96075059bf06bf052835f6f405b2d0649d1b7 removing diskSizeBytes from snapshot\disk update properties and adding a unique id for disk properties * Generated from 1ad0c2e2dd85dad2a363072eb4cdcbe250e1522b pr comments * Generated from 4f5dbad04518d0674689ac2a2388ea823d28cadf pr comments * [AutoPR compute/resource-manager] Adding low priority and variable pricing feature for standalone VMs. Added priority, eviction policy and billing profile to VirtualMachineProperties. Also, adding optional billing profile to VMSS Create and Update APIs. (#5523) * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 9d5e30df16e3ea43cb3b21b5f5264373d8ed2397 (#5596) updating an incorrect description for uploadsizebytes * Generated from 79b1099e7cf1d0a077c2f5b38b4c83408b97a59b (#5652) Add missing $expand parameter to AvSet list by subscription API * [AutoPR compute/resource-manager] Add VMScaleSet ScaleIn Policy (#5606) * Generated from 5968c8d1d8f53fcce6b11bc71e4be3c6bc550617 Add VMScaleSet ScaleIn Policy Adds VMScaleSet ScaleIn policy that is supported with the 2019-03-01 header but not included in Swagger * Generated from 17a6aebc538afafffc9ce87f083fc07592a6b5c3 Update compute.json Fix indentation * [AutoPR] datafactory/resource-manager (#5730) * Generated from 5e1bb35d5c3314d8f4fead76c3d69a2522be026b (#5651) Update review comments * [AutoPR datafactory/resource-manager] support Express Custom Setup (#5536) * Generated from 696212c605edef333cba0f0e86d42ba344f4fc42 address the comments * Generated from 4de64a2262df8e2e971620c95f7c3a2ba91d49d9 address comments * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * [AutoPR datafactory/resource-manager] [Data Factory]Add ORC Dataset/Copy Source/Copy Sink (#5611) * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Fix CI failure and conflict * Generated from b07009df21da758efcb13fbbd25ce9e450751586 (#5729) [DataFactory] Update Databricks linked service swagger related to warm pools. * Generated from 4d7873fcb2eb980ac1eacad015893bd5634a5a37 (#5735) [ACR] Adding scopemap spec file for new SDK build For releasing ScopeMap and Token features, we need to retrieve models from the scopemap spec file. The existing SDK version doesn't incorporate changes from the scopemap spec file. Requesting a new SDK build. Please suggest changes if deemed necessary. * Generated from 68ccfd97b6bd4b29219d6988342451fff61b7031 (#5737) [Batch] Update documentation around app packages * [AutoPR servicebus/resource-manager] ServiceBus: added NetworkRuleSets list API (#5624) * Generated from 26fbb00e498d34206afb040c7c9eb7b79fa3fd5e added NetworkRuleSets list API * Generated from 87e06617e7103a97295b2fe25f4a47990371b397 added x-ms-pageable and formating * Generated from 2f83e3fb7917b9f6301fea15cf45e3e3fbeac7bb removed readonly for compatibilityLevel * [AutoPR cosmos-db/resource-manager] Add short url for all api resources (#5448) * Generated from 6b485b2047ec2cc073363b94a56778b108912940 Add short url for all api resources * Generated from d0f3adbb4578d7a5569d29a683663bf4772af38a Correct GremlinResources_ spell * Generated from a05be8787ab7cc8346e38c01ccbd45731ad95169 Add new api version * Generated from 72880ac9171c7118002c56eb2152265bb41442ba Fix spell error * Generated from 1ca1ae2151cd7248fac7b82624424ce63383a28a (#5745) fix: Double word "the" in datalake-analytics * [AutoPR] datafactory/resource-manager (#5751) * Generated from 5e1bb35d5c3314d8f4fead76c3d69a2522be026b (#5651) Update review comments * [AutoPR datafactory/resource-manager] support Express Custom Setup (#5536) * Generated from 696212c605edef333cba0f0e86d42ba344f4fc42 address the comments * Generated from 4de64a2262df8e2e971620c95f7c3a2ba91d49d9 address comments * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * [AutoPR datafactory/resource-manager] [Data Factory]Add ORC Dataset/Copy Source/Copy Sink (#5611) * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Fix CI failure and conflict * Generated from b07009df21da758efcb13fbbd25ce9e450751586 (#5729) [DataFactory] Update Databricks linked service swagger related to warm pools. * Generated from 5cc2c54ac1ba7f41fd2426ff39df46f785ce55f2 (#5748) Add a clearer description. * Generated from 94dbf0ac2518371373cf8f2eb74bba657b1e7b90 (#5414) Orphan property removed * Generated from 33d64b558114a9a861b82dc17518e359758d1688 (#5686) Fix SpellCheck Swagger Specification * Generated from 81fb55e8252598b44b1d5ee4db527eacba725546 (#5687) Fix Local Search Swagger * Generated from latest specs of network * Generated from af961540f808cb651ddb1dbac08619eafc06330e (#5789) Add 2019-07 version to network go code generation * Generated from 1baa9a51ee00db62b006b2081d2811297d48d3d4 (#5761) Updated 2019-02-01-preview api version to include operation.g * Generated from 7837d7e037f47c5a2414e0a241e1472c960ff055 (#5744) fix: Double word "the" in automation * [AutoPR datamigration/resource-manager] Correct the version (#5516) * Generated from 8de2c91a547e5ab394d4569aed0dda9b814c9cce Correct the version * Generated from 8de2c91a547e5ab394d4569aed0dda9b814c9cce Correct the version * Generated from 68427c1d0294d9f4acbe7355261c31cd407a2d95 (#5727) Add purge API details. * [AutoPR] frontdoor/resource-manager (#5784) * Generated from 27e7dd3c7e4a6b855c902cfaf35380e273760cde (#5462) Update readme.md files missed from previous commit * Generated from adca4cd9eac95f46998e3b35e1d5ae600498808f (#5508) add SocketAddr matchvariable * Generated from 88294366687bc74b0efc484eb8f0d08980de3804 (#5746) fix: Double word "the" in resources * [AutoPR] datafactory/resource-manager (#5795) * Generated from 5e1bb35d5c3314d8f4fead76c3d69a2522be026b (#5651) Update review comments * [AutoPR datafactory/resource-manager] support Express Custom Setup (#5536) * Generated from 696212c605edef333cba0f0e86d42ba344f4fc42 address the comments * Generated from 4de64a2262df8e2e971620c95f7c3a2ba91d49d9 address comments * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * [AutoPR datafactory/resource-manager] [Data Factory]Add ORC Dataset/Copy Source/Copy Sink (#5611) * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Fix CI failure and conflict * Generated from b07009df21da758efcb13fbbd25ce9e450751586 (#5729) [DataFactory] Update Databricks linked service swagger related to warm pools. * Generated from 5cc2c54ac1ba7f41fd2426ff39df46f785ce55f2 (#5748) Add a clearer description. * Generated from 9402dbf3fb3d5fffcb80f501b1fc857ff97ab723 (#5760) Fixing PR validation errors * Generated from 5927195a95dbda5a1729692d42a088b60c4a4a88 Adding new version of API * [AutoPR] datafactory/resource-manager (#5807) * Generated from 5e1bb35d5c3314d8f4fead76c3d69a2522be026b (#5651) Update review comments * [AutoPR datafactory/resource-manager] support Express Custom Setup (#5536) * Generated from 696212c605edef333cba0f0e86d42ba344f4fc42 address the comments * Generated from 4de64a2262df8e2e971620c95f7c3a2ba91d49d9 address comments * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * [AutoPR datafactory/resource-manager] [Data Factory]Add ORC Dataset/Copy Source/Copy Sink (#5611) * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Fix CI failure and conflict * Generated from b07009df21da758efcb13fbbd25ce9e450751586 (#5729) [DataFactory] Update Databricks linked service swagger related to warm pools. * Generated from 5cc2c54ac1ba7f41fd2426ff39df46f785ce55f2 (#5748) Add a clearer description. * [AutoPR reservations/resource-manager] [Hub Generated] Review request for Microsoft.Capacity to add version preview/2019-04-01 (#5766) * Generated from f19a2e5b7f384018b74b21b7b8b8782d95b456f9 fixed x-ms-enum value * Generated from 2f56008117d578bec6cc8b8c832926f45a0fe52e fixed catalog definition * Generated from cac978330e8c7b9583812a735cfeac97fb267056 reverted breaking operation id change * update README with info on customizing SendDecorators (#5832) * Generated from f3e85bf537e973832fd8b630394c4b951badce66 (#5798) Fix eligibility typo * Generated from d3620f1cf3fda9d30555c4b0e47a1ea521ca5404 (#5799) Review 1 + remove v3.0 preview * Generated from 67a8ba34e8eb3e3c0ffa6efdd019e46391b42571 (#5812) Update readme.go.md Updated output-folder (removed `stable`) * Generated from 96e53c8b30b238235fadb02b5ebf75533039ab91 (#5773) fix getting agent pool available versions api path * [AutoPR logic/resource-manager] [LogicApps] New Api version (#5834) * Generated from acf43615d58480cc7285f4a26b1108971162fc4a Fixed error * Generated from c2f47d91b77ffe997d38994cff32f7b410b1a308 Fixed model errors * Generated from 4f11b92d108f861c21411092dacd997a32bb7076 Fixed more errors in Logic json * Generated from 7c5619dfd675cc3af284d52337539ca861732528 Fixed resource reference issue * Generated from 56286b280dda0ebf76f171c8e4f7288e5ea5141b Fixed Resubmit trigger histories * [AutoPR] datafactory/resource-manager (#5830) * Generated from 5e1bb35d5c3314d8f4fead76c3d69a2522be026b (#5651) Update review comments * [AutoPR datafactory/resource-manager] support Express Custom Setup (#5536) * Generated from 696212c605edef333cba0f0e86d42ba344f4fc42 address the comments * Generated from 4de64a2262df8e2e971620c95f7c3a2ba91d49d9 address comments * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * [AutoPR datafactory/resource-manager] [Data Factory]Add ORC Dataset/Copy Source/Copy Sink (#5611) * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Fix CI failure and conflict * Generated from b07009df21da758efcb13fbbd25ce9e450751586 (#5729) [DataFactory] Update Databricks linked service swagger related to warm pools. * Generated from 5cc2c54ac1ba7f41fd2426ff39df46f785ce55f2 (#5748) Add a clearer description. * Generated from 239e696db0a17997d3bc2a77c9670180e527fcfc (#5797) Update location in ManagedNetwork * Generated from 0e25b55ea7d548f56eada51b4065224e02eab5e7 (#5815) Restoring expandChildren changes * Generated from 3ff7f07c725255fe7a891687890dd1b928c772ee enum name must be fixed here as well * Generated from 91579252e6aa0e9aa0b00749c82755240e5f5282 (#5845) Add aad domain name for windows login migration support * Generated from 0d3d4d1b56bbbb9e001f971a9ab2c7df8749a9f3 (#5850) Stablize 2019-04 and 2019-05 for frontdoor * [AutoPR sql/resource-manager] Add new APIs (two List APIs) and update examples (#5728) * Generated from b5c48e4b89006ae465040001f67683dcec790b4b Update DatabaseAuditingSettingsList.json * Generated from b5c48e4b89006ae465040001f67683dcec790b4b Update DatabaseAuditingSettingsList.json * Generated from 3ff8cd57b4a86c753b773d2dba460f7e6a62f4c1 (#5864) remove additional property for data flow enitty * Generated from 8188f2ed896ed7f345c5a324f3c62aaca926a35b (#5867) Removed one property which won't be exposed to public for now * Generated from 1cac6227f3d809cbabebc0ca1140469c9d2a7030 (#5872) remove unnecessary additional property * Generated from ad2716208f8089dd2d768faf9e9f765660fafc9c (#5873) Fixed unknown words * Generated from 51020f68a1a7cd0fd66f44a493e8a8b2a23f1e2a (#5875) Add nextLink * Generated from 16c7d5f2a872e3b7cc01c7dd8af608a586776fe9 (#5862) lowercase the collection types * Generated from edb4eee278a0a531af70668fcc2a55e04396d5b1 (#5886) update operation id on list all * [AutoPR security/resource-manager] Jit api add justification (#5866) * Generated from 162213184e0652221884ff84f11c93fe935ec78d Merge branch 'master' into jit-api-add-justification * Generated from 162213184e0652221884ff84f11c93fe935ec78d Merge branch 'master' into jit-api-add-justification * Generated from 63d0bd0751dd12efb7a19fd63807a26919c02b11 (#5868) Add support for attached databases * Generated from ebaee7c36eb7db67a4e648374f69f26a654b444f (#5885) [SRP] Add new storage account property largeFileSharesState * v34.0.0 * [AutoPR network/resource-manager] Network September release (#5940) * Generated from 10dc6bc902a0884218d9d336da7d993839599645 Add reference to Connection Monitor specs in 2019-08-01 (#7218) * Generated from 40628938c2d43d66b4cc5a778e35d470f4299727 Move new props to the end to avoid breaking changes in SDK (#7387) * Generated from d16da2ae0ccb63bad6796ad92e9f5b3deff263a1 (#5856) Removed extra file * [AutoPR compute/resource-manager] vmss: support for passing a health probe to update (#5914) * Generated from 5b6736a9b79ace44f3c0080596a48a2c5072c739 vmss: support for passing a health probe to update * Generated from 5b6736a9b79ace44f3c0080596a48a2c5072c739 vmss: support for passing a health probe to update * Generated from 907e4904d4d23c9808b0e9a1e9d6feed24a85674 (#5997) Add api version 2019-07-01 for features * Generated from 13b301ffb122a22f7c7ef6372c606bc677ebc31e (#5952) chore: jsonfmt network * Generated from acbfeadd901b2bb09d4f187e1d7d7dcb68382f0c (#5944) Add purge API details + saved search fixes * [AutoPR cdn/resource-manager] Add two match condition for CDN RulesEngine. (#5926) * Generated from e00cb79da22b7321a0d965f6516440f359180cff Add two match condition for CDN RulesEngine. * Generated from 0ce67b311a2c58faeee1f54bad56afdacc51adeb remove transfrom from HttpVersion condition * [AutoPR peering/resource-manager] API Version 2019-09-01-preview Peering (#5924) * Generated from ec35a7cbfa909dda0ae507af5db9452de833da5f updated 2019-09-01-preview * Generated from 3641a535aab99c93ab35860408e57b105dd40350 updated examples. * Generated from 5f9b9fdd92c5c96b1cb39448b7654103e8913c93 fixed comments in json. * Generated from 2f943553eee21d4184695927da52acdb469b6b43 (#5931) add signin tenant property * Generated from 15e50a07198dcba64bae4c75b4a32969fb50a882 (#5932) Fixing incorrect output of the CheckOCIDriver task. * Generated from afa8ccf350ace9279c30bc5f7df053fa3f65a476 (#5930) fix modal * Generated from aa9913e0d2ece26504f653d3b30d22a4a35a0b38 (#5946) fixing typo and indentation * Generated from faa4da7ea6662be44a9719ba392ca645bc23197b (#5927) fix password1 description * Generated from 4b1813edb7a61c029f7036506b08398a7da69221 (#5971) Add packages for API version for different languages * Generated from 71a7c364618a7112eb2ec351eb0b9827172bc120 (#5976) chore: jsonfmt mysql * Generated from ed7d3540d4a170541423dcf299d305d975442d71 (#5977) chore: jsonfmt postgresql * [AutoPR security/resource-manager] Add aggregated alert top devices information (#5960) * Generated from 235fdb6f20c94a84cda7b52321f27336106cc5e5 fix time field * Generated from 83f1e75cc7e010cba6c566f089194374933a0889 fix time field * [AutoPR recoveryservicesbackup/resource-manager] Azure Backup Version 2019-05-13 addition (#5923) * Generated from 3212ec12fc1821b1b577b0d68951cd67370846d5 Lintdiff Failure fix * Generated from 2826bc70cf4d5fb7c329219e9877b4d74f8a4c45 Semantics Failure fix * Generated from c2fc52d415140376e70e64d0e3d4703c23ec0e2a Camel casing failure * Generated from 10b920e497dd60808ea1c9f89325bf3f366af79a Update bms.json Adding azure vm workload policy back and copying IaaSVMRestoreRequest to 2017-07-01 * Generated from a2315a7436ffff90c2187103294035a4377c5fec Merge branch 'users/adit/generated' * Generated from 2ed2ddce7a58909f89fc4cd728c4fe2efe1ca0d7 Incorporating PR comments * Generated from 7f2f8e3f5b57d9fb2ab8c6731f8699a84b21ef43 Moving Get and Patch on vaultconfig to version 2019-05-13 Moving Patch and Get of vault config to 2019-05-13 * Generated from 1673d919ce100fe910b2e950b5ac297e30eb1c6a Fixing validation errors * Generated from e868833c4c6499353c9c04bbbfd3de261b750a9c Updating vault config feature flag name * Generated from 4b7c0f58757b9f9d86be85357070788cb8881978 Taken care of Ryan's comment Policy comment is still pending * Generated from f0e79eff1574dd894d881bbf697f016b0f5e8a6e Moved all policy actions to 2019-05-13 version * Generated from 94fc988ab4cbee533fa8fca60f8773a387e7f857 Mark additionalDetail as readonly * Generated from 99b812e62e2d6cb1d7634bfd393a69cf5b85f2fa (#5965) Update go & ruby for 3.1 * Generated from d3a4f2d1674a63bc9a4a57015f956833c7d40f7b (#6004) Update LUIS-Authoring.json fix semantic bugs * Generated from 2128273966bce4b74889c8d94b5f3b2cb6592bd8 (#6007) fixed spellcheck * Generated from 55e842916abe83a008e4078b3cfb384c5a49ebf6 (#6010) Modify SecureString to SecretBase * Generated from 16ff787a51dc55db850a3486cccf7780722c1e41 (#6018) Revert changes in input-files to avoid errors * Generated from 0e60fa1cd6adba0b91d7c91ebaaa4fc65c110b4b (#6017) fixing the build * Generated from fecc99c28f9ff6521a2cce0d481429b2b4ab78b5 (#6050) include property in update as well * Generated from 470b9dc33f877037875aca6fcedbbd845b88ba78 (#6028) Update advisor.json * Generated from f639fa1a11578b5cad9c3a155da216117d6e0059 (#6036) chore: jsonfmt appplatform * Generated from c7ff553c30947fdc9a3e133cc8c1ec3740abc0ac (#6046) [SRP] Support Active Directory and regenerate kerb keys * Add Go 1.13 to CI (#6061) Updated Ubuntu image to 18.04. Removed travis CI file. * [AutoPR policyinsights/resource-manager] Adding a baseline folder for PolicyInsights 2019-10-01. Contents are same as prior version, I will make changes once this PR is complete. (#6041) * Generated from 551a94e578553160c7a3ef54b75a2cdff76acc5a fix go build error * Generated from 964ec2957f79ce66ce1f0010e15d774904c753c7 Added spec json files for other resources to be added to the package. Also updated policyStates.json as per latest API changes. * Generated from 33073abb10a1576efd929ed0344af26b4db6037a Added new columns in the examples. Also, Removed metadata path. * Generated from 89e4b3f2e4d5f61efd6d0a1bdacfc1db7a912c85 (#6067) [DataFactory]Add CompressionCodec property for ORC Dataset * Generated from 7face07707cee94abd393c81397c13c71a64c161 (#6070) Fix mistakes. * Generated from 92dd4e7a8d556480e7db4c970c5463b380dfc08f (#6055) Small change - Modify the description for grace period * Generated from 08ad8aa32278a0ffb8ef88220d87820e539e51a6 Add "Allocating","Upgrading" and "Compiling" enum into DeploymentResourceStatus. * [AutoPR appplatform/resource-manager] Rest API for the RP Microsoft.AppPlatform (#6027) * Generated from ca372100531fa406bab65736d59fbd6ffbb7eff4 Rest API for the RP Microsoft.AppPlatform * Generated from db71a1982bb8b1c6c26fd5008b2eb4c2e7924d12 Fix spellcheck. * Generated from b03312169035627c37a4aeaf8d8abe52b5e3d346 Resolve comment of changing operation "CheckNameAvailability" to "Services_CheckNameAvailability". * Generated from d2dd204e7e9c42c2fdfe3d1c11c253aeac06fa56 Add "Allocating","Upgrading" and "Compiling" enum into DeploymentResourceStatus. * Generated from b1da08951a0828c7f9e0678549b54d137e15961a (#6078) Removing contentions APIs from spec * [AutoPR cost-management/resource-manager] CostManagement RP- Introducing API Version 2019-10-01 plus adding Modern Commerce Account Scopes to Query and Dimension APIs. (#6026) * Generated from 2faed1c1199a8cecdfad39af476c06231bcb16ab Added new item for Go Package * Generated from a019ceb117fb91e8f279230976814e9a09da4bcb Fixed some minor issues * Generated from 79e2ea6d6989acb5ad53ba470c36112302b72ff3 Fixed some minor issues and also added missing description for properties * Generated from a1e3eb2f88e93b67dba788fe6abcd993658f8aae addressed some minor issues * Generated from fc698e277dbb465389999eacb1de8e633b1ee90f Resolved conflicts with DiskRP definition names for the DiskEncryptionSet (#7340) * updated swagger * updated swagger * Removed example files which are not relevant and added links to examples for newly added property * fixed the syntax error * updated swagger * fixed the sytax error * updated code * udpated swagger to create DiskEncryptionSet as new property to initiate * resolved conflicts and updated swagger due to conflict in the DiskRP definitions * Generated from a44cd8f82ea92dc521067dd93f772408bf735735 Disk 2019-07-01 version (#7280) * Copy compute.json and runCommands.json from 2019-03-01 to 2019-07-01 * changes to add publicIpAddressVersion field (#7173) * Add diskEncryptionSet in swagger compute-2019-07 * resolve semantic conflicts * Fix model conflicts * Resolve readme * Resolve readme * Resolve description conflicts * Improve description * Fix spell error * Add some examples. * fix model error * Generated from b2a86857b04fa5de515663f5fb4c500784ac3d16 (#6015) updating the description of storage account id * [AutoPR compute/resource-manager] Private temp (#6000) * Generated from 8e9ad09f3def46e2ce770b078bafc1d045f02666 Remove uniqueId in swagger * Generated from cbef264cc94187b8115c04c10d598383572b4eb0 Remove required for diskEncryptionSetId * Generated from cbef264cc94187b8115c04c10d598383572b4eb0 Remove required for diskEncryptionSetId * Generated from b95c1f587e09552c59e22558497befa04e739714 Update 2019-07 from latest 2019-03 update. * Generated from f9b0aa74ce36ad89f61118c811984f961d76e1b7 Update swagger (#7510) * Copy compute.json and runCommands.json from 2019-03-01 to 2019-07-01 * changes to add publicIpAddressVersion field (#7173) * Add diskEncryptionSet in swagger compute-2019-07 * resolve semantic conflicts * Fix model conflicts * Resolve readme * Resolve readme * Resolve description conflicts * Improve description * Fix spell error * Add some examples. * fix model error * Update examples * Remove uniqueId in swagger * Remove required for diskEncryptionSetId * Update principalId and tenantId to be readonly * small space fix * Generated from b70af9184bd96b16fb8430d8f495666c4e98566f Add default responses to new APIs. * Generated from 1175f21020d781bcd32041246ab560177fe3edcf Updating swagger spec to fix billing plans schema in catalogs response. * Generated from 032bb9b160526aab1a3ee4a5f876a1a987e399fe (#6108) Add 2019-06-01 in storage for golang * Generated from c0d6fb888aea1d3ed46becd97c9c427ac4bff5ec (#6058) Fix formatting. * [AutoPR containerservice/resource-manager] [WIP]add aks rotate-certs operation for 2019-08-01 (#6088) * Generated from 018a5faf169cc9f24c74a0e8c79587dce1171129 remove 200 return code * Generated from 965878ad7cb4fb6cb6d8cc7467ccbb000dc05a36 feat: use 204 instead of 200 * Generated from e08f7a3ba78fe8ab91efcdacde25ab986c6eca0f (#6104) updating sdk tags for 2019-10-01 api version (#7550) * updating sdk tags for 2019-10-01 api version * fixing ci errors * Generated from 6fe4f8016ca318dac93474cf69f5c111c0671454 (#6097) fix build * Generated from 90ee9c9a19e9c1aafce78f6232b9dbbed15434a8 (#5966) Refactory CognitiveServicesAccount model specification. * [AutoPR eventgrid/data-plane] update-event-schema-for-azure-storage-event-grid-notification-for-cr… (#6044) * Generated from 428c006d60546419a3b147a7fe9aa41d541ebe65 update-event-schema-for-azure-storage-event-grid-notification-for-create-delete-directory-and-rename-blob-directory * Generated from e1e58a72a322f6a32ebf891169674985771267f1 update according to pr reviews * Generated from 74a61c2feb1bc51623d2c11545aa52532ed20198 update according to pr reviews * [AutoPR eventgrid/resource-manager] EventGrid: New preview API version with support for additional destination types, CloudEvents 1.0, and batching support. (#6102) * Generated from 2f3e7dfe09d45258a6bd27be7fd4b7bbfb67a9bc Add new API version to README files. * Generated from 227d311a35e44441be395c70515641008f39942e Made a minor rename to one property (azureActiveDirectoryApplicationObjectId) based on feedback. * Generated from 3df959debc8a270d8f8c7af0de16d63938009fe3 (#6119) Fix error in luis runtime readme * Removed preview package for luis/runtime/v3.0 since it has been made stable * Fix profiles * Generated from b83db8b3bbb9c1a82591d08e46903a69c16a9334 (#6118) Change go sdk from tag 2019-07-01 to 2019-07 * Generated from 7fae08b6292f00a279b78836e707791df4aff421 (#6139) Changed to v3 * Generated from 41580d13b1a5ad6bccf689f546884361c988e98e (#6138) Update ResourceIdentity to EncryptionSetIdentity * Generated from e914f092dbc78e6d6319f88f5e59381c98cdd7ce (#6131) Add minimumTLSVersion field to CustomDomainHttpsParameters in latest CDN API * Generated from 60f4598fd519843b5b992024169d9af2eab5bdbe (#6089) Changed WebActivity and webhook activity auth to support both AKV and Secrets * Generated from c4bc95d6f727f0702a8b3a588c22dddf69d3ee1c (#6112) Update data set related documentation comments * Generated from 88d6a1d2d54b122af05cdeb24a995650dba91336 added missing part from 2019-08-01 * Generated from 05c0da669c2d1eda1061114132d86dab698bbbef adding swagger-to-sdk section * Generated from 980a4a36c65ce19efc0707a489f0c94e8e291455 1. Make PUT and PATCH against App resource supports async. 2. Remove "Processing" enum from DeploymentResourceProperties's status property. 3. Rename "Processing" enum to "Updating" for DeploymentResourceProperties's provisioningState. * Generated from dc469e5db850fadb8dc524f9b136ac262e1233cd (#6150) update readme * Generated from 2bf8ae41b02cc56508afee3fb34fc9e742d65776 (#6152) Update Db2LinkedServiceTypeProperties * Generated from 3a72ff129dfe06292f39bbfd2c98c414db71a41a (#6163) Update cache flush,start,stop and upgrade firmware examples to reflext 204 status code. * [AutoPR vmwarecloudsimple/resource-manager] [DO NOT MERGE] Update Microsoft.VMwareCloudSimple provider schema to Cloudsimple 44 release (#6033) * Generated from 5bf923e3f6c39ce577407eae30403dfe835c7542 Update Microsoft.VMwareCloudSimple provider schema to 44 release of Cloudsimple * Generated from fe16507aa9029e891a7286e4cf1eceeda1361063 Update Microsoft.VMwareCloudSimple provider schema to 44 release of Cloudsimple * Generated from 3569147399df87983f430b30bc5df237dad128ac Update Microsoft.VMwareCloudSimple provider schema to 44 release of Cloudsimple * Generated from 483ebc4c0b35d13b11df0de3369a94ba62923e31 Update Microsoft.VMwareCloudSimple provider schema to 44 release of Cloudsimple * [AutoPR cognitiveservices/data-plane/VisualSearch] Adding EU compliance not to description (#6133) * Generated from e8a4e07f183bfd751502cfbd4cae3dd09f033bdd Adding EU compliance not to description * Generated from 9cf846d5a6be1cc6628a67a33b1724983a7f3e47 fixed strong tag * Generated from edd3ba7afcbc2d1d338ccecd7c4e30549901a105 remove html tags for note * Generated from 2bb157c778ece564f26a975ba078b5fe6ff28e34 (#6173) Add 2019-10-01 * [AutoPR domainservices/resource-manager] Remove ReplicaSet Nested Resource (#6149) * Generated from 7dcde316dc95ae117ec71fdbfee6c8d52c7197a0 Remove ReplicaSet Nested Resource * Generated from a7ad4520230d029f214826fb7ca1f442e6c95e8e Fix readyonly properties * Generated from 0d43fb7bbb031d638118feb926c31f5314e47ed6 (#6176) update path for readme.go.md * Generated from latest swagger * Fix profile * Generated from d2f677ddddfe6d366ae1211824e8290a7f922d08 (#6193) Add examples with new SKUs * [AutoPR cognitiveservices/data-plane/LUIS/Authoring] Update LUIS Authoring v3.0-preview swagger (#6181) * Generated from 80df648593854cd3baa52059d3215a8dc42f4399 update swagger * Generated from 72db358677deccc675193fe7ffa90eddb8d3515d Change url * Generated from f2c66704326720f700ccc97eb1a8cff88dda7ccd Add missing field * Generated from ce4650ccf744b4c047d64f332e7f808f04f49706 Adding import changes * Generated from 6a69569b69d2d6187f8b5cf83a420dd71146ae4e Changes * [AutoPR cosmos-db/resource-manager] Cosmos DB patch and multi-api support (#5937) * Generated from 3b7573ec3a5b925233a621247469bdb58e1121f0 revert changes to old api swagger * Generated from b14e1323073f43c8e66e7ec59241def9f4ca1c96 rebasing and adding preview versions to sdk generation * Generated from 032d4a3bf0d9a3e2980c6fdce73b735deedd0a5c create or update method with guidance in the description * Generated from b278a4f58378d5a1acb4978aa7aced5a1fa85578 minor text changes * Generated from b278a4f58378d5a1acb4978aa7aced5a1fa85578 minor text changes * Generated from b278a4f58378d5a1acb4978aa7aced5a1fa85578 minor text changes * Generated from 97720b86a19cbb565b45d0093dbe6c4709b24d81 (#6187) Web activity changes for IR * [AutoPR serialconsole/resource-manager] Update serial console swagger (#5988) * Generated from 90f54203590d5ea2fdf89e7e0d9356e873cee4f9 Make operationId casing consistent * Generated from 4e3f06765eb98cfbcd2c60a58107674541d6bb97 Describe GetOperations output * Generated from 968a389fe7812e416c766ea135b59bffb053e7de Add x-ms-parameter-location * Generated from 36f34b427f92c73da8d76011a5c11c52fe8ea741 rename GetSerialConsoleDisabledResult to SerialConsoleStatus and update example accordingly * Generated from edb7b3d76a28d5d6212092de9dc63052f768d11b (#6183) Remove FailoverDatabaseReadableSecondary.json and include the extra parameter in FailoverDatabase.json instead * Generated from eb302b3cbd2722aec702778e5e597d28da25bd77 (#6148) [SRP] Add delete retention policy for blob container and file share * Generated from c606d0445f3b6135d1f59d222377566d29337f8f (#6165) Add Azure Security Center for IoT to productFilter enum * Generated from 68e8f31b27ce7a56c13ee87dfa1108997844e87b (#6185) Improve Network's descriptions * [AutoPR network/resource-manager] Fix the typo for actionsRequired in PrivateLinkServiceConnectionState. (#6195) * Generated from 91d1a252fb1849bfe991da44bfa0599d7324f3e4 Correct it for all example and for all other API versions. * Generated from 91d1a252fb1849bfe991da44bfa0599d7324f3e4 Correct it for all example and for all other API versions. * Generated from 02252f119ea54774c081750c905ba6ab1bdad99d (#6219) Fix wrong preview pacakge path * Remove wrong placed preview package * Generated from ccbae4f1c77f972fb8d3290f0ce3a64253d14bdf (#6161) updating with warm store features * Generated from 21bd41666567ed08878c3ee13e68c94cb0e0b987 (#6155) fix missing status code in SignalR * Generated from 11b24359ee5776d40b34555f12fab33a1bd1e5cb (#6208) Rename management.JSON to management.json * Generated from 4d767ed6efbd682422827b26374a2a331ccfc852 (#6202) Fix reference * Add back some legacy packages * Generated from latest swagger * v36.0.0 * Generated from a6daf4c9c7b1cfc18a382c62b4976f2e007a80ee (#6229) fix typo Diretory * v36.1.0 * chore: renormalize CRLF vs LF 088b867aad3db160bb83706fe98d4b2c7b734a8f added the .gitattributes so the repo wouldn't continue to gain CRLF problems. But the CODEOWNERS does not appear in the latest branch, nor did it appear in the repo when that PR tried to fix things. I can only find CODEOWNERS in master, and so this commit is against master. If CODEOWNERS comes from someother branch I'd be happy to fix this there. But latest doesn't seem to be the place. * Generated from 5fb6d44e6933230e3f88c488bdff8b22438b72cf (#6287) ANF-327 New swagger for 2019-08-01 API With upstream pull and rerun of prettier * Generated from 59b008b02ef9d4b11bea303f3ba0a6d71c8985ad (#6333) Minor fix * Generated from 18dc9b0284cda48e71eea8526d1592ff7a44e985 (#6357) Add composite package for sql * [AutoPR containerservice/resource-manager] AKS: making the `count` field optiona; (#6302) * Generated from 2495a97b588dc0bef4afbae76f3df4461921073e 2019-10-01: allowing for `count` to be nil during updates * Generated from 27d03a14592691f08e01b1eb885a16cd74d9a9d5 kubernetes: removing the inclusiveMinumum since this is only applicable on creation * v36.2.0 * v37.0.0 (#6449) * Generated from 027c5530dd98ce87a84ba78c3e3cf8d2451d0c13 (#5569) Fixed the formatting * [AutoPR eventhub/resource-manager] Eventhub: added NetworkRuleSets list API (#5627) * Generated from 46cb463f5dbcd442661875e4eb9d963af3bd1225 added NetworkRuleSets list API * Generated from c09ca0cf8b2a8d98ee64b897e1858f4be8a67f95 added x-ms-pageable and formating * Generated from 8bc2a7edfeebb1a6bb30abbbb03d08bf1f8a8dbc update * Generated from 111d1bc1666fe89cebb960135cf2f5336bbcb35a (#5615) Removed rogue file * [AutoPR machinelearningservices/resource-manager] [NEED DESIGN REVIEW, DO NOT MERGE] Adding workspace level quota management APIs in version 2019-05-01 (#5641) * Generated from f5ddfe85225c2d4f86f7de8e99760b95d1dea6bf Merge branch 'master' into leizhao/workspaceQuotaManagementInVersion2019-05-01 * Generated from c89caf92470c4c334883662fd98e6bd07881807d migrate quota management from 2019-05-01 to 2019-06-01, no content changes * [AutoPR storagecache/resource-manager] Dev storagecache microsoft.storagecache 2019 06 01 preview (#5623) * Generated from 570b6f73542c34f1eb0ab0a85e44b4d929ff55b6 Fix output folder path for GO SDK and fix typo in Tag * Generated from 908e3cd2e18a38be0711e03035c7acdc7ab6d1f2 Fix version in the path of output folder for GO SDK * Generated from 10811b8f33c5e36350b618955cdd8edc9dd67c11 (#5673) Fix bad package name for storagecache in go sdk * Fix bad package name * Fix profile and fmt * Generated from 54eb3260d53865005eb6ccfdc9843e7ab10d9da5 (#5551) adding maintenanceConfiguration list and resourceId for updates * Generated from be2943341d08ab5972e4d2385b1860d34ee61f59 (#5675) Fix bad namespace in service maintenance * Fix wrong namespace * Fix profile and fmt * Generated from 3bcf3602288f763a70a2f3cb10100406e0e53257 (#5672) Addressed misspelled word and mode error * Generated from 5e1bb35d5c3314d8f4fead76c3d69a2522be026b (#5651) Update review comments * [AutoPR datafactory/resource-manager] support Express Custom Setup (#5536) * Generated from 696212c605edef333cba0f0e86d42ba344f4fc42 address the comments * Generated from 4de64a2262df8e2e971620c95f7c3a2ba91d49d9 address comments * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * [AutoPR datafactory/resource-manager] [Data Factory]Add ORC Dataset/Copy Source/Copy Sink (#5611) * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Fix CI failure and conflict * [AutoPR] compute/resource-manager (#5688) * [AutoPR compute/resource-manager] removing non-ascii character (#5325) * Generated from 090b727225320af61034c7278c3ccf51dcbef8a2 removing non-ascii character * Generated from 56ccb1151588cff87c1c92eee0e6c56e42c7f2f4 corrected the description * [AutoPR compute/resource-manager] Add terminate profile and scheduled events profile to Microsoft.Compute (#5310) * Generated from 9bb1d5b7f21a0e03e97ce3817554307244d45422 Correct definition format * Generated from 49bbc9237680dc7963f9d24f7cde1d05e8f14260 Merge branch 'master' into dev/szimmer/AddTerminateProfile * [AutoPR compute/resource-manager] Add missing Gallery Application API in 2019-07-01 version (#5354) * Generated from 01293ebd64fa96d11d30d9b0ef1391cbe8e62443 Add missing Gallery Application API in 2019-07-01 version * Generated from 6637309053b80e0b62b01f1c240d72749e30f1c2 Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs * [AutoPR compute/resource-manager] add HyperVGeneation in GetVMImage (#5344) * Generated from 4b3b012a4c684afd2e931bb2ac4c01bbf894eec4 add HyperVGeneation in SharedVMImageVersion * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * compute/resource-manager] Swagger: Allowing for VMSS reference during VM creation (#5408) * Generated from 547a98bc34516d8788adff951ebd929d8d5125ae Swagger: Allowing for VMSS reference during VM creation * Generated from 2723517c6c29f1c6945bdf05b9c4e42f85159011 fixing typo * [AutoPR compute/resource-manager] [Do not merge yet] DiskRP Swagger changes for 2019-03-01 (#5398) * Generated from a308b6604cb4bfdb8085d78f998aa3718cf9ae36 adding unique id * Generated from b7b0ecc49d6694ea41c66ef9936f05da9bae38f3 fixing typo * Generated from 34c96075059bf06bf052835f6f405b2d0649d1b7 removing diskSizeBytes from snapshot\disk update properties and adding a unique id for disk properties * Generated from 1ad0c2e2dd85dad2a363072eb4cdcbe250e1522b pr comments * Generated from 4f5dbad04518d0674689ac2a2388ea823d28cadf pr comments * [AutoPR compute/resource-manager] Adding low priority and variable pricing feature for standalone VMs. Added priority, eviction policy and billing profile to VirtualMachineProperties. Also, adding optional billing profile to VMSS Create and Update APIs. (#5523) * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 9d5e30df16e3ea43cb3b21b5f5264373d8ed2397 (#5596) updating an incorrect description for uploadsizebytes * Generated from 79b1099e7cf1d0a077c2f5b38b4c83408b97a59b (#5652) Add missing $expand parameter to AvSet list by subscription API * [AutoPR] securityinsights/resource-manager (#5683) * Generated from 878390cbb0806c9194cc9ceaed923284d2d8f2ac (#5288) Fix mistake * [AutoPR securityinsights/resource-manager] SecurityInsights: Investigation swagger updates (#5292) * Generated from 27abe226e56bd1a6d13985c9bc8871148a8c34ad Merge branch 'master' into InvestigationSwagger * Generated from ebb1f1f5bdab7f12639fbee775adf16611d092ad removed cases changes (will be in another PR) * Generated from ab899e75a364a5b6dbf21370c1db65b769094ec8 removed bookmarkEntity from entities api (currently not supported) * [AutoPR securityinsights/resource-manager] Adding alertRuleTemplates swagger spec to securityInsight (#5504) * Generated from d731243f4645a2df9c8389e10e93be04ea78a620 Add alertRuleTemplates endpoint to securityInsight * Generated from d09f26c587fddd31fa13cb3d94d7a9bbe8d58ec8 fix merge conflict * Generated from efe14acff06c754692f29bffee877f29edb68b89 Bookmarks swagger updates * Generated from 07393c4915496b1768a08c5f408b05cdb2a27f10 fix typos * Generated from 98fdd0347934e59d39a7b6f803f170933c96d199 fix typo * Generated from e00e65896ca96c4c814528fa286e3f6e2d534122 (#5682) sort definitions and parameters by ABC * Resolved conflict manually * [AutoPR] network/resource-manager (#5692) * Generated from 3b992f9396f9c0bc7e34b11696efcffafa92575a (#5297) add network package-2019-06 to Go SDK * Generated from 36ba645d97091ead19fa04d57595069d73491c7e (#5511) Update PE/PLS * Generated from ec578e180c4515be63046f0b0991d7b9547e657d (#5522) Update description of "location" in serviceTags.json * [AutoPR network/resource-manager] chore: jsonfmt network (#5514) * Generated from 2c363ba11150b1894650db67b5d4a03166b95afd chore: jsonfmt network * Generated from 2c363ba11150b1894650db67b5d4a03166b95afd chore: jsonfmt network * Generated from 92006e420d65cb70e4b93bc5850af575da4efb78 (#5637) Mark "provisioningState" as read-only * [AutoPR network/resource-manager] Add missing read-only property "outboundRules" in LoadBalancer specs (#5647) * Generated from 658cfc162acc76fd35b81aa42b29406d9ba013cb Add missing read-only property "outboundRules" in LoadBalancer specs * Generated from 658cfc162acc76fd35b81aa42b29406d9ba013cb Add missing read-only property "outboundRules" in LoadBalancer specs * [AutoPR] storage/resource-manager (#5695) * Generated from 3acbc3b4106db3097de5be5e4df47afb38d51ec0 (#5473) Use cors definition from blob.json * Generated from 94667089d429b4f1aca38e60f85b13f5c0039219 (#5580) Align File swagger with the Blob swagger * Generated from 8264dcc49e0bc239013cd76ce9664f83f1041967 (#5678) Update Kusto.json with TSVE data format * [AutoPR eventgrid/data-plane] Create KeyVault.json (#5546) * Generated from 66c76158ca650e8f4bf0ff082bc5428e2544c457 Update readme with KeyVault.json * Generated from 7d4a2513c50a216bfe9cbf6a6f769d460d7211f4 Revert "Update readme with KeyVault.json" This reverts commit 66c76158ca650e8f4bf0ff082bc5428e2544c457. * Generated from 44674ab5aabc591e8dd6b10d326071e8fa3ccd49 Update readme.md * [AutoPR] compute/resource-manager (#5706) * [AutoPR compute/resource-manager] removing non-ascii character (#5325) * Generated from 090b727225320af61034c7278c3ccf51dcbef8a2 removing non-ascii character * Generated from 56ccb1151588cff87c1c92eee0e6c56e42c7f2f4 corrected the description * [AutoPR compute/resource-manager] Add terminate profile and scheduled events profile to Microsoft.Compute (#5310) * Generated from 9bb1d5b7f21a0e03e97ce3817554307244d45422 Correct definition format * Generated from 49bbc9237680dc7963f9d24f7cde1d05e8f14260 Merge branch 'master' into dev/szimmer/AddTerminateProfile * [AutoPR compute/resource-manager] Add missing Gallery Application API in 2019-07-01 version (#5354) * Generated from 01293ebd64fa96d11d30d9b0ef1391cbe8e62443 Add missing Gallery Application API in 2019-07-01 version * Generated from 6637309053b80e0b62b01f1c240d72749e30f1c2 Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs * [AutoPR compute/resource-manager] add HyperVGeneation in GetVMImage (#5344) * Generated from 4b3b012a4c684afd2e931bb2ac4c01bbf894eec4 add HyperVGeneation in SharedVMImageVersion * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * compute/resource-manager] Swagger: Allowing for VMSS reference during VM creation (#5408) * Generated from 547a98bc34516d8788adff951ebd929d8d5125ae Swagger: Allowing for VMSS reference during VM creation * Generated from 2723517c6c29f1c6945bdf05b9c4e42f85159011 fixing typo * [AutoPR compute/resource-manager] [Do not merge yet] DiskRP Swagger changes for 2019-03-01 (#5398) * Generated from a308b6604cb4bfdb8085d78f998aa3718cf9ae36 adding unique id * Generated from b7b0ecc49d6694ea41c66ef9936f05da9bae38f3 fixing typo * Generated from 34c96075059bf06bf052835f6f405b2d0649d1b7 removing diskSizeBytes from snapshot\disk update properties and adding a unique id for disk properties * Generated from 1ad0c2e2dd85dad2a363072eb4cdcbe250e1522b pr comments * Generated from 4f5dbad04518d0674689ac2a2388ea823d28cadf pr comments * [AutoPR compute/resource-manager] Adding low priority and variable pricing feature for standalone VMs. Added priority, eviction policy and billing profile to VirtualMachineProperties. Also, adding optional billing profile to VMSS Create and Update APIs. (#5523) * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 9d5e30df16e3ea43cb3b21b5f5264373d8ed2397 (#5596) updating an incorrect description for uploadsizebytes * Generated from 79b1099e7cf1d0a077c2f5b38b4c83408b97a59b (#5652) Add missing $expand parameter to AvSet list by subscription API * [AutoPR] storage/resource-manager (#5707) * Generated from 3acbc3b4106db3097de5be5e4df47afb38d51ec0 (#5473) Use cors definition from blob.json * Generated from 94667089d429b4f1aca38e60f85b13f5c0039219 (#5580) Align File swagger with the Blob swagger * [AutoPR storage/resource-manager] Add change feed properties to 2019-04-01 Storage. (#5621) * Generated from 774367438889ac553def1957b72b8ba63ad877e5 Add change feed properties to 2019-04-01 Storage. Add change feed properties to Storage Blob Services. * Generated from 774367438889ac553def1957b72b8ba63ad877e5 Add change feed properties to 2019-04-01 Storage. Add change feed properties to Storage Blob Services. * Generated from 34d744550227bee7b380604d38fc1de6c9af6397 (#5708) Update netapp.json * Merge pull request #5714 from Azure/restapi_auto_compute/resource-manager [AutoPR] compute/resource-manager * Update swagger_to_sdk_config.json Update autorest.go to new version * Generated from 5ea5da031f993e6dd8061f42abbea77d58e66020 Clarify KeyVault time as seconds since Unix epoch * Generated from b621ede227cd29651b1712782d964373fc2da6ec (#5717) Quick fix * Generated from 4eb71094207cc3188dfa1d604325731362a555a5 updating readmes * feature: support PutBlockFromURL API: https://docs.microsoft.com/en-us/rest/api/storageservices/put-block-from-url * Generated from 18efd73807c1182800e0521f67e1e5ae2ee70394 added missing packages to compute release * [AutoPR] compute/resource-manager (#5721) * [AutoPR compute/resource-manager] removing non-ascii character (#5325) * Generated from 090b727225320af61034c7278c3ccf51dcbef8a2 removing non-ascii character * Generated from 56ccb1151588cff87c1c92eee0e6c56e42c7f2f4 corrected the description * [AutoPR compute/resource-manager] Add terminate profile and scheduled events profile to Microsoft.Compute (#5310) * Generated from 9bb1d5b7f21a0e03e97ce3817554307244d45422 Correct definition format * Generated from 49bbc9237680dc7963f9d24f7cde1d05e8f14260 Merge branch 'master' into dev/szimmer/AddTerminateProfile * [AutoPR compute/resource-manager] Add missing Gallery Application API in 2019-07-01 version (#5354) * Generated from 01293ebd64fa96d11d30d9b0ef1391cbe8e62443 Add missing Gallery Application API in 2019-07-01 version * Generated from 6637309053b80e0b62b01f1c240d72749e30f1c2 Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs * [AutoPR compute/resource-manager] add HyperVGeneation in GetVMImage (#5344) * Generated from 4b3b012a4c684afd2e931bb2ac4c01bbf894eec4 add HyperVGeneation in SharedVMImageVersion * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * compute/resource-manager] Swagger: Allowing for VMSS reference during VM creation (#5408) * Generated from 547a98bc34516d8788adff951ebd929d8d5125ae Swagger: Allowing for VMSS reference during VM creation * Generated from 2723517c6c29f1c6945bdf05b9c4e42f85159011 fixing typo * [AutoPR compute/resource-manager] [Do not merge yet] DiskRP Swagger changes for 2019-03-01 (#5398) * Generated from a308b6604cb4bfdb8085d78f998aa3718cf9ae36 adding unique id * Generated from b7b0ecc49d6694ea41c66ef9936f05da9bae38f3 fixing typo * Generated from 34c96075059bf06bf052835f6f405b2d0649d1b7 removing diskSizeBytes from snapshot\disk update properties and adding a unique id for disk properties * Generated from 1ad0c2e2dd85dad2a363072eb4cdcbe250e1522b pr comments * Generated from 4f5dbad04518d0674689ac2a2388ea823d28cadf pr comments * [AutoPR compute/resource-manager] Adding low priority and variable pricing feature for standalone VMs. Added priority, eviction policy and billing profile to VirtualMachineProperties. Also, adding optional billing profile to VMSS Create and Update APIs. (#5523) * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 9d5e30df16e3ea43cb3b21b5f5264373d8ed2397 (#5596) updating an incorrect description for uploadsizebytes * Generated from 79b1099e7cf1d0a077c2f5b38b4c83408b97a59b (#5652) Add missing $expand parameter to AvSet list by subscription API * [AutoPR compute/resource-manager] Add VMScaleSet ScaleIn Policy (#5606) * Generated from 5968c8d1d8f53fcce6b11bc71e4be3c6bc550617 Add VMScaleSet ScaleIn Policy Adds VMScaleSet ScaleIn policy that is supported with the 2019-03-01 header but not included in Swagger * Generated from 17a6aebc538afafffc9ce87f083fc07592a6b5c3 Update compute.json Fix indentation * [AutoPR] datafactory/resource-manager (#5730) * Generated from 5e1bb35d5c3314d8f4fead76c3d69a2522be026b (#5651) Update review comments * [AutoPR datafactory/resource-manager] support Express Custom Setup (#5536) * Generated from 696212c605edef333cba0f0e86d42ba344f4fc42 address the comments * Generated from 4de64a2262df8e2e971620c95f7c3a2ba91d49d9 address comments * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * [AutoPR datafactory/resource-manager] [Data Factory]Add ORC Dataset/Copy Source/Copy Sink (#5611) * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Fix CI failure and conflict * Generated from b07009df21da758efcb13fbbd25ce9e450751586 (#5729) [DataFactory] Update Databricks linked service swagger related to warm pools. * Generated from 4d7873fcb2eb980ac1eacad015893bd5634a5a37 (#5735) [ACR] Adding scopemap spec file for new SDK build For releasing ScopeMap and Token features, we need to retrieve models from the scopemap spec file. The existing SDK version doesn't incorporate changes from the scopemap spec file. Requesting a new SDK build. Please suggest changes if deemed necessary. * Generated from 68ccfd97b6bd4b29219d6988342451fff61b7031 (#5737) [Batch] Update documentation around app packages * [AutoPR servicebus/resource-manager] ServiceBus: added NetworkRuleSets list API (#5624) * Generated from 26fbb00e498d34206afb040c7c9eb7b79fa3fd5e added NetworkRuleSets list API * Generated from 87e06617e7103a97295b2fe25f4a47990371b397 added x-ms-pageable and formating * Generated from 2f83e3fb7917b9f6301fea15cf45e3e3fbeac7bb removed readonly for compatibilityLevel * [AutoPR cosmos-db/resource-manager] Add short url for all api resources (#5448) * Generated from 6b485b2047ec2cc073363b94a56778b108912940 Add short url for all api resources * Generated from d0f3adbb4578d7a5569d29a683663bf4772af38a Correct GremlinResources_ spell * Generated from a05be8787ab7cc8346e38c01ccbd45731ad95169 Add new api version * Generated from 72880ac9171c7118002c56eb2152265bb41442ba Fix spell error * Generated from 1ca1ae2151cd7248fac7b82624424ce63383a28a (#5745) fix: Double word "the" in datalake-analytics * [AutoPR] datafactory/resource-manager (#5751) * Generated from 5e1bb35d5c3314d8f4fead76c3d69a2522be026b (#5651) Update review comments * [AutoPR datafactory/resource-manager] support Express Custom Setup (#5536) * Generated from 696212c605edef333cba0f0e86d42ba344f4fc42 address the comments * Generated from 4de64a2262df8e2e971620c95f7c3a2ba91d49d9 address comments * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * [AutoPR datafactory/resource-manager] [Data Factory]Add ORC Dataset/Copy Source/Copy Sink (#5611) * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Fix CI failure and conflict * Generated from b07009df21da758efcb13fbbd25ce9e450751586 (#5729) [DataFactory] Update Databricks linked service swagger related to warm pools. * Generated from 5cc2c54ac1ba7f41fd2426ff39df46f785ce55f2 (#5748) Add a clearer description. * Generated from 94dbf0ac2518371373cf8f2eb74bba657b1e7b90 (#5414) Orphan property removed * Generated from 33d64b558114a9a861b82dc17518e359758d1688 (#5686) Fix SpellCheck Swagger Specification * Generated from 81fb55e8252598b44b1d5ee4db527eacba725546 (#5687) Fix Local Search Swagger * Generated from latest specs of network * Generated from af961540f808cb651ddb1dbac08619eafc06330e (#5789) Add 2019-07 version to network go code generation * Generated from 1baa9a51ee00db62b006b2081d2811297d48d3d4 (#5761) Updated 2019-02-01-preview api version to include operation.g * Generated from 7837d7e037f47c5a2414e0a241e1472c960ff055 (#5744) fix: Double word "the" in automation * [AutoPR datamigration/resource-manager] Correct the version (#5516) * Generated from 8de2c91a547e5ab394d4569aed0dda9b814c9cce Correct the version * Generated from 8de2c91a547e5ab394d4569aed0dda9b814c9cce Correct the version * Generated from 68427c1d0294d9f4acbe7355261c31cd407a2d95 (#5727) Add purge API details. * [AutoPR] frontdoor/resource-manager (#5784) * Generated from 27e7dd3c7e4a6b855c902cfaf35380e273760cde (#5462) Update readme.md files missed from previous commit * Generated from adca4cd9eac95f46998e3b35e1d5ae600498808f (#5508) add SocketAddr matchvariable * Generated from 88294366687bc74b0efc484eb8f0d08980de3804 (#5746) fix: Double word "the" in resources * [AutoPR] datafactory/resource-manager (#5795) * Generated from 5e1bb35d5c3314d8f4fead76c3d69a2522be026b (#5651) Update review comments * [AutoPR datafactory/resource-manager] support Express Custom Setup (#5536) * Generated from 696212c605edef333cba0f0e86d42ba344f4fc42 address the comments * Generated from 4de64a2262df8e2e971620c95f7c3a2ba91d49d9 address comments * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * [AutoPR datafactory/resource-manager] [Data Factory]Add ORC Dataset/Copy Source/Copy Sink (#5611) * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Fix CI failure and conflict * Generated from b07009df21da758efcb13fbbd25ce9e450751586 (#5729) [DataFactory] Update Databricks linked service swagger related to warm pools. * Generated from 5cc2c54ac1ba7f41fd2426ff39df46f785ce55f2 (#5748) Add a clearer description. * Generated from 9402dbf3fb3d5fffcb80f501b1fc857ff97ab723 (#5760) Fixing PR validation errors * Generated from 5927195a95dbda5a1729692d42a088b60c4a4a88 Adding new version of API * [AutoPR] datafactory/resource-manager (#5807) * Generated from 5e1bb35d5c3314d8f4fead76c3d69a2522be026b (#5651) Update review comments * [AutoPR datafactory/resource-manager] support Express Custom Setup (#5536) * Generated from 696212c605edef333cba0f0e86d42ba344f4fc42 address the comments * Generated from 4de64a2262df8e2e971620c95f7c3a2ba91d49d9 address comments * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * [AutoPR datafactory/resource-manager] [Data Factory]Add ORC Dataset/Copy Source/Copy Sink (#5611) * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Fix CI failure and conflict * Generated from b07009df21da758efcb13fbbd25ce9e450751586 (#5729) [DataFactory] Update Databricks linked service swagger related to warm pools. * Generated from 5cc2c54ac1ba7f41fd2426ff39df46f785ce55f2 (#5748) Add a clearer description. * [AutoPR reservations/resource-manager] [Hub Generated] Review request for Microsoft.Capacity to add version preview/2019-04-01 (#5766) * Generated from f19a2e5b7f384018b74b21b7b8b8782d95b456f9 fixed x-ms-enum value * Generated from 2f56008117d578bec6cc8b8c832926f45a0fe52e fixed catalog definition * Generated from cac978330e8c7b9583812a735cfeac97fb267056 reverted breaking operation id change * update README with info on customizing SendDecorators (#5832) * Generated from f3e85bf537e973832fd8b630394c4b951badce66 (#5798) Fix eligibility typo * Generated from d3620f1cf3fda9d30555c4b0e47a1ea521ca5404 (#5799) Review 1 + remove v3.0 preview * Generated from 67a8ba34e8eb3e3c0ffa6efdd019e46391b42571 (#5812) Update readme.go.md Updated output-folder (removed `stable`) * Generated from 96e53c8b30b238235fadb02b5ebf75533039ab91 (#5773) fix getting agent pool available versions api path * [AutoPR logic/resource-manager] [LogicApps] New Api version (#5834) * Generated from acf43615d58480cc7285f4a26b1108971162fc4a Fixed error * Generated from c2f47d91b77ffe997d38994cff32f7b410b1a308 Fixed model errors * Generated from 4f11b92d108f861c21411092dacd997a32bb7076 Fixed more errors in Logic json * Generated from 7c5619dfd675cc3af284d52337539ca861732528 Fixed resource reference issue * Generated from 56286b280dda0ebf76f171c8e4f7288e5ea5141b Fixed Resubmit trigger histories * [AutoPR] datafactory/resource-manager (#5830) * Generated from 5e1bb35d5c3314d8f4fead76c3d69a2522be026b (#5651) Update review comments * [AutoPR datafactory/resource-manager] support Express Custom Setup (#5536) * Generated from 696212c605edef333cba0f0e86d42ba344f4fc42 address the comments * Generated from 4de64a2262df8e2e971620c95f7c3a2ba91d49d9 address comments * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * [AutoPR datafactory/resource-manager] [Data Factory]Add ORC Dataset/Copy Source/Copy Sink (#5611) * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Fix CI failure and conflict * Generated from b07009df21da758efcb13fbbd25ce9e450751586 (#5729) [DataFactory] Update Databricks linked service swagger related to warm pools. * Generated from 5cc2c54ac1ba7f41fd2426ff39df46f785ce55f2 (#5748) Add a clearer description. * Generated from 239e696db0a17997d3bc2a77c9670180e527fcfc (#5797) Update location in ManagedNetwork * Generated from 0e25b55ea7d548f56eada51b4065224e02eab5e7 (#5815) Restoring expandChildren changes * Generated from 3ff7f07c725255fe7a891687890dd1b928c772ee enum name must be fixed here as well * Generated from 91579252e6aa0e9aa0b00749c82755240e5f5282 (#5845) Add aad domain name for windows login migration support * Generated from 0d3d4d1b56bbbb9e001f971a9ab2c7df8749a9f3 (#5850) Stablize 2019-04 and 2019-05 for frontdoor * [AutoPR sql/resource-manager] Add new APIs (two List APIs) and update examples (#5728) * Generated from b5c48e4b89006ae465040001f67683dcec790b4b Update DatabaseAuditingSettingsList.json * Generated from b5c48e4b89006ae465040001f67683dcec790b4b Update DatabaseAuditingSettingsList.json * Generated from 3ff8cd57b4a86c753b773d2dba460f7e6a62f4c1 (#5864) remove additional property for data flow enitty * Generated from 8188f2ed896ed7f345c5a324f3c62aaca926a35b (#5867) Removed one property which won't be exposed to public for now * Generated from 1cac6227f3d809cbabebc0ca1140469c9d2a7030 (#5872) remove unnecessary additional property * Generated from ad2716208f8089dd2d768faf9e9f765660fafc9c (#5873) Fixed unknown words * Generated from 51020f68a1a7cd0fd66f44a493e8a8b2a23f1e2a (#5875) Add nextLink * Generated from 16c7d5f2a872e3b7cc01c7dd8af608a586776fe9 (#5862) lowercase the collection types * Generated from edb4eee278a0a531af70668fcc2a55e04396d5b1 (#5886) update operation id on list all * [AutoPR security/resource-manager] Jit api add justification (#5866) * Generated from 162213184e0652221884ff84f11c93fe935ec78d Merge branch 'master' into jit-api-add-justification * Generated from 162213184e0652221884ff84f11c93fe935ec78d Merge branch 'master' into jit-api-add-justification * Generated from 63d0bd0751dd12efb7a19fd63807a26919c02b11 (#5868) Add support for attached databases * Generated from ebaee7c36eb7db67a4e648374f69f26a654b444f (#5885) [SRP] Add new storage account property largeFileSharesState * v34.0.0 * [AutoPR network/resource-manager] Network September release (#5940) * Generated from 10dc6bc902a0884218d9d336da7d993839599645 Add reference to Connection Monitor specs in 2019-08-01 (#7218) * Generated from 40628938c2d43d66b4cc5a778e35d470f4299727 Move new props to the end to avoid breaking changes in SDK (#7387) * Generated from d16da2ae0ccb63bad6796ad92e9f5b3deff263a1 (#5856) Removed extra file * [AutoPR compute/resource-manager] vmss: support for passing a health probe to update (#5914) * Generated from 5b6736a9b79ace44f3c0080596a48a2c5072c739 vmss: support for passing a health probe to update * Generated from 5b6736a9b79ace44f3c0080596a48a2c5072c739 vmss: support for passing a health probe to update * Generated from 907e4904d4d23c9808b0e9a1e9d6feed24a85674 (#5997) Add api version 2019-07-01 for features * Generated from 13b301ffb122a22f7c7ef6372c606bc677ebc31e (#5952) chore: jsonfmt network * Generated from acbfeadd901b2bb09d4f187e1d7d7dcb68382f0c (#5944) Add purge API details + saved search fixes * [AutoPR cdn/resource-manager] Add two match condition for CDN RulesEngine. (#5926) * Generated from e00cb79da22b7321a0d965f6516440f359180cff Add two match condition for CDN RulesEngine. * Generated from 0ce67b311a2c58faeee1f54bad56afdacc51adeb remove transfrom from HttpVersion condition * [AutoPR peering/resource-manager] API Version 2019-09-01-preview Peering (#5924) * Generated from ec35a7cbfa909dda0ae507af5db9452de833da5f updated 2019-09-01-preview * Generated from 3641a535aab99c93ab35860408e57b105dd40350 updated examples. * Generated from 5f9b9fdd92c5c96b1cb39448b7654103e8913c93 fixed comments in json. * Generated from 2f943553eee21d4184695927da52acdb469b6b43 (#5931) add signin tenant property * Generated from 15e50a07198dcba64bae4c75b4a32969fb50a882 (#5932) Fixing incorrect output of the CheckOCIDriver task. * Generated from afa8ccf350ace9279c30bc5f7df053fa3f65a476 (#5930) fix modal * Generated from aa9913e0d2ece26504f653d3b30d22a4a35a0b38 (#5946) fixing typo and indentation * Generated from faa4da7ea6662be44a9719ba392ca645bc23197b (#5927) fix password1 description * Generated from 4b1813edb7a61c029f7036506b08398a7da69221 (#5971) Add packages for API version for different languages * Generated from 71a7c364618a7112eb2ec351eb0b9827172bc120 (#5976) chore: jsonfmt mysql * Generated from ed7d3540d4a170541423dcf299d305d975442d71 (#5977) chore: jsonfmt postgresql * [AutoPR security/resource-manager] Add aggregated alert top devices information (#5960) * Generated from 235fdb6f20c94a84cda7b52321f27336106cc5e5 fix time field * Generated from 83f1e75cc7e010cba6c566f089194374933a0889 fix time field * [AutoPR recoveryservicesbackup/resource-manager] Azure Backup Version 2019-05-13 addition (#5923) * Generated from 3212ec12fc1821b1b577b0d68951cd67370846d5 Lintdiff Failure fix * Generated from 2826bc70cf4d5fb7c329219e9877b4d74f8a4c45 Semantics Failure fix * Generated from c2fc52d415140376e70e64d0e3d4703c23ec0e2a Camel casing failure * Generated from 10b920e497dd60808ea1c9f89325bf3f366af79a Update bms.json Adding azure vm workload policy back and copying IaaSVMRestoreRequest to 2017-07-01 * Generated from a2315a7436ffff90c2187103294035a4377c5fec Merge branch 'users/adit/generated' * Generated from 2ed2ddce7a58909f89fc4cd728c4fe2efe1ca0d7 Incorporating PR comments * Generated from 7f2f8e3f5b57d9fb2ab8c6731f8699a84b21ef43 Moving Get and Patch on vaultconfig to version 2019-05-13 Moving Patch and Get of vault config to 2019-05-13 * Generated from 1673d919ce100fe910b2e950b5ac297e30eb1c6a Fixing validation errors * Generated from e868833c4c6499353c9c04bbbfd3de261b750a9c Updating vault config feature flag name * Generated from 4b7c0f58757b9f9d86be85357070788cb8881978 Taken care of Ryan's comment Policy comment is still pending * Generated from f0e79eff1574dd894d881bbf697f016b0f5e8a6e Moved all policy actions to 2019-05-13 version * Generated from 94fc988ab4cbee533fa8fca60f8773a387e7f857 Mark additionalDetail as readonly * Generated from 99b812e62e2d6cb1d7634bfd393a69cf5b85f2fa (#5965) Update go & ruby for 3.1 * Generated from d3a4f2d1674a63bc9a4a57015f956833c7d40f7b (#6004) Update LUIS-Authoring.json fix semantic bugs * Generated from 2128273966bce4b74889c8d94b5f3b2cb6592bd8 (#6007) fixed spellcheck * Generated from 55e842916abe83a008e4078b3cfb384c5a49ebf6 (#6010) Modify SecureString to SecretBase * Generated from 16ff787a51dc55db850a3486cccf7780722c1e41 (#6018) Revert changes in input-files to avoid errors * Generated from 0e60fa1cd6adba0b91d7c91ebaaa4fc65c110b4b (#6017) fixing the build * Generated from fecc99c28f9ff6521a2cce0d481429b2b4ab78b5 (#6050) include property in update as well * Generated from 470b9dc33f877037875aca6fcedbbd845b88ba78 (#6028) Update advisor.json * Generated from f639fa1a11578b5cad9c3a155da216117d6e0059 (#6036) chore: jsonfmt appplatform * Generated from c7ff553c30947fdc9a3e133cc8c1ec3740abc0ac (#6046) [SRP] Support Active Directory and regenerate kerb keys * Add Go 1.13 to CI (#6061) Updated Ubuntu image to 18.04. Removed travis CI file. * [AutoPR policyinsights/resource-manager] Adding a baseline folder for PolicyInsights 2019-10-01. Contents are same as prior version, I will make changes once this PR is complete. (#6041) * Generated from 551a94e578553160c7a3ef54b75a2cdff76acc5a fix go build error * Generated from 964ec2957f79ce66ce1f0010e15d774904c753c7 Added spec json files for other resources to be added to the package. Also updated policyStates.json as per latest API changes. * Generated from 33073abb10a1576efd929ed0344af26b4db6037a Added new columns in the examples. Also, Removed metadata path. * Generated from 89e4b3f2e4d5f61efd6d0a1bdacfc1db7a912c85 (#6067) [DataFactory]Add CompressionCodec property for ORC Dataset * Generated from 7face07707cee94abd393c81397c13c71a64c161 (#6070) Fix mistakes. * Generated from 92dd4e7a8d556480e7db4c970c5463b380dfc08f (#6055) Small change - Modify the description for grace period * Generated from 08ad8aa32278a0ffb8ef88220d87820e539e51a6 Add "Allocating","Upgrading" and "Compiling" enum into DeploymentResourceStatus. * [AutoPR appplatform/resource-manager] Rest API for the RP Microsoft.AppPlatform (#6027) * Generated from ca372100531fa406bab65736d59fbd6ffbb7eff4 Rest API for the RP Microsoft.AppPlatform * Generated from db71a1982bb8b1c6c26fd5008b2eb4c2e7924d12 Fix spellcheck. * Generated from b03312169035627c37a4aeaf8d8abe52b5e3d346 Resolve comment of changing operation "CheckNameAvailability" to "Services_CheckNameAvailability". * Generated from d2dd204e7e9c42c2fdfe3d1c11c253aeac06fa56 Add "Allocating","Upgrading" and "Compiling" enum into DeploymentResourceStatus. * Generated from b1da08951a0828c7f9e0678549b54d137e15961a (#6078) Removing contentions APIs from spec * [AutoPR cost-management/resource-manager] CostManagement RP- Introducing API Version 2019-10-01 plus adding Modern Commerce Account Scopes to Query and Dimension APIs. (#6026) * Generated from 2faed1c1199a8cecdfad39af476c06231bcb16ab Added new item for Go Package * Generated from a019ceb117fb91e8f279230976814e9a09da4bcb Fixed some minor issues * Generated from 79e2ea6d6989acb5ad53ba470c36112302b72ff3 Fixed some minor issues and also added missing description for properties * Generated from a1e3eb2f88e93b67dba788fe6abcd993658f8aae addressed some minor issues * Generated from fc698e277dbb465389999eacb1de8e633b1ee90f Resolved conflicts with DiskRP definition names for the DiskEncryptionSet (#7340) * updated swagger * updated swagger * Removed example files which are not relevant and added links to examples for newly added property * fixed the syntax error * updated swagger * fixed the sytax error * updated code * udpated swagger to create DiskEncryptionSet as new property to initiate * resolved conflicts and updated swagger due to conflict in the DiskRP definitions * Generated from a44cd8f82ea92dc521067dd93f772408bf735735 Disk 2019-07-01 version (#7280) * Copy compute.json and runCommands.json from 2019-03-01 to 2019-07-01 * changes to add publicIpAddressVersion field (#7173) * Add diskEncryptionSet in swagger compute-2019-07 * resolve semantic conflicts * Fix model conflicts * Resolve readme * Resolve readme * Resolve description conflicts * Improve description * Fix spell error * Add some examples. * fix model error * Generated from b2a86857b04fa5de515663f5fb4c500784ac3d16 (#6015) updating the description of storage account id * [AutoPR compute/resource-manager] Private temp (#6000) * Generated from 8e9ad09f3def46e2ce770b078bafc1d045f02666 Remove uniqueId in swagger * Generated from cbef264cc94187b8115c04c10d598383572b4eb0 Remove required for diskEncryptionSetId * Generated from cbef264cc94187b8115c04c10d598383572b4eb0 Remove required for diskEncryptionSetId * Generated from b95c1f587e09552c59e22558497befa04e739714 Update 2019-07 from latest 2019-03 update. * Generated from f9b0aa74ce36ad89f61118c811984f961d76e1b7 Update swagger (#7510) * Copy compute.json and runCommands.json from 2019-03-01 to 2019-07-01 * changes to add publicIpAddressVersion field (#7173) * Add diskEncryptionSet in swagger compute-2019-07 * resolve semantic conflicts * Fix model conflicts * Resolve readme * Resolve readme * Resolve description conflicts * Improve description * Fix spell error * Add some examples. * fix model error * Update examples * Remove uniqueId in swagger * Remove required for diskEncryptionSetId * Update principalId and tenantId to be readonly * small space fix * Generated from b70af9184bd96b16fb8430d8f495666c4e98566f Add default responses to new APIs. * Generated from 1175f21020d781bcd32041246ab560177fe3edcf Updating swagger spec to fix billing plans schema in catalogs response. * Generated from 032bb9b160526aab1a3ee4a5f876a1a987e399fe (#6108) Add 2019-06-01 in storage for golang * Generated from c0d6fb888aea1d3ed46becd97c9c427ac4bff5ec (#6058) Fix formatting. * [AutoPR containerservice/resource-manager] [WIP]add aks rotate-certs operation for 2019-08-01 (#6088) * Generated from 018a5faf169cc9f24c74a0e8c79587dce1171129 remove 200 return code * Generated from 965878ad7cb4fb6cb6d8cc7467ccbb000dc05a36 feat: use 204 instead of 200 * Generated from e08f7a3ba78fe8ab91efcdacde25ab986c6eca0f (#6104) updating sdk tags for 2019-10-01 api version (#7550) * updating sdk tags for 2019-10-01 api version * fixing ci errors * Generated from 6fe4f8016ca318dac93474cf69f5c111c0671454 (#6097) fix build * Generated from 90ee9c9a19e9c1aafce78f6232b9dbbed15434a8 (#5966) Refactory CognitiveServicesAccount model specification. * [AutoPR eventgrid/data-plane] update-event-schema-for-azure-storage-event-grid-notification-for-cr… (#6044) * Generated from 428c006d60546419a3b147a7fe9aa41d541ebe65 update-event-schema-for-azure-storage-event-grid-notification-for-create-delete-directory-and-rename-blob-directory * Generated from e1e58a72a322f6a32ebf891169674985771267f1 update according to pr reviews * Generated from 74a61c2feb1bc51623d2c11545aa52532ed20198 update according to pr reviews * [AutoPR eventgrid/resource-manager] EventGrid: New preview API version with support for additional destination types, CloudEvents 1.0, and batching support. (#6102) * Generated from 2f3e7dfe09d45258a6bd27be7fd4b7bbfb67a9bc Add new API version to README files. * Generated from 227d311a35e44441be395c70515641008f39942e Made a minor rename to one property (azureActiveDirectoryApplicationObjectId) based on feedback. * Generated from 3df959debc8a270d8f8c7af0de16d63938009fe3 (#6119) Fix error in luis runtime readme * Removed preview package for luis/runtime/v3.0 since it has been made stable * Fix profiles * Generated from b83db8b3bbb9c1a82591d08e46903a69c16a9334 (#6118) Change go sdk from tag 2019-07-01 to 2019-07 * Generated from 7fae08b6292f00a279b78836e707791df4aff421 (#6139) Changed to v3 * Generated from 41580d13b1a5ad6bccf689f546884361c988e98e (#6138) Update ResourceIdentity to EncryptionSetIdentity * Generated from e914f092dbc78e6d6319f88f5e59381c98cdd7ce (#6131) Add minimumTLSVersion field to CustomDomainHttpsParameters in latest CDN API * Generated from 60f4598fd519843b5b992024169d9af2eab5bdbe (#6089) Changed WebActivity and webhook activity auth to support both AKV and Secrets * Generated from c4bc95d6f727f0702a8b3a588c22dddf69d3ee1c (#6112) Update data set related documentation comments * Generated from 88d6a1d2d54b122af05cdeb24a995650dba91336 added missing part from 2019-08-01 * Generated from 05c0da669c2d1eda1061114132d86dab698bbbef adding swagger-to-sdk section * Generated from 980a4a36c65ce19efc0707a489f0c94e8e291455 1. Make PUT and PATCH against App resource supports async. 2. Remove "Processing" enum from DeploymentResourceProperties's status property. 3. Rename "Processing" enum to "Updating" for DeploymentResourceProperties's provisioningState. * Generated from dc469e5db850fadb8dc524f9b136ac262e1233cd (#6150) update readme * Generated from 2bf8ae41b02cc56508afee3fb34fc9e742d65776 (#6152) Update Db2LinkedServiceTypeProperties * Generated from 3a72ff129dfe06292f39bbfd2c98c414db71a41a (#6163) Update cache flush,start,stop and upgrade firmware examples to reflext 204 status code. * [AutoPR vmwarecloudsimple/resource-manager] [DO NOT MERGE] Update Microsoft.VMwareCloudSimple provider schema to Cloudsimple 44 release (#6033) * Generated from 5bf923e3f6c39ce577407eae30403dfe835c7542 Update Microsoft.VMwareCloudSimple provider schema to 44 release of Cloudsimple * Generated from fe16507aa9029e891a7286e4cf1eceeda1361063 Update Microsoft.VMwareCloudSimple provider schema to 44 release of Cloudsimple * Generated from 3569147399df87983f430b30bc5df237dad128ac Update Microsoft.VMwareCloudSimple provider schema to 44 release of Cloudsimple * Generated from 483ebc4c0b35d13b11df0de3369a94ba62923e31 Update Microsoft.VMwareCloudSimple provider schema to 44 release of Cloudsimple * [AutoPR cognitiveservices/data-plane/VisualSearch] Adding EU compliance not to description (#6133) * Generated from e8a4e07f183bfd751502cfbd4cae3dd09f033bdd Adding EU compliance not to description * Generated from 9cf846d5a6be1cc6628a67a33b1724983a7f3e47 fixed strong tag * Generated from edd3ba7afcbc2d1d338ccecd7c4e30549901a105 remove html tags for note * Generated from 2bb157c778ece564f26a975ba078b5fe6ff28e34 (#6173) Add 2019-10-01 * [AutoPR domainservices/resource-manager] Remove ReplicaSet Nested Resource (#6149) * Generated from 7dcde316dc95ae117ec71fdbfee6c8d52c7197a0 Remove ReplicaSet Nested Resource * Generated from a7ad4520230d029f214826fb7ca1f442e6c95e8e Fix readyonly properties * Generated from 0d43fb7bbb031d638118feb926c31f5314e47ed6 (#6176) update path for readme.go.md * Generated from latest swagger * Fix profile * Generated from d2f677ddddfe6d366ae1211824e8290a7f922d08 (#6193) Add examples with new SKUs * [AutoPR cognitiveservices/data-plane/LUIS/Authoring] Update LUIS Authoring v3.0-preview swagger (#6181) * Generated from 80df648593854cd3baa52059d3215a8dc42f4399 update swagger * Generated from 72db358677deccc675193fe7ffa90eddb8d3515d Change url * Generated from f2c66704326720f700ccc97eb1a8cff88dda7ccd Add missing field * Generated from ce4650ccf744b4c047d64f332e7f808f04f49706 Adding import changes * Generated from 6a69569b69d2d6187f8b5cf83a420dd71146ae4e Changes * [AutoPR cosmos-db/resource-manager] Cosmos DB patch and multi-api support (#5937) * Generated from 3b7573ec3a5b925233a621247469bdb58e1121f0 revert changes to old api swagger * Generated from b14e1323073f43c8e66e7ec59241def9f4ca1c96 rebasing and adding preview versions to sdk generation * Generated from 032d4a3bf0d9a3e2980c6fdce73b735deedd0a5c create or update method with guidance in the description * Generated from b278a4f58378d5a1acb4978aa7aced5a1fa85578 minor text changes * Generated from b278a4f58378d5a1acb4978aa7aced5a1fa85578 minor text changes * Generated from b278a4f58378d5a1acb4978aa7aced5a1fa85578 minor text changes * Generated from 97720b86a19cbb565b45d0093dbe6c4709b24d81 (#6187) Web activity changes for IR * [AutoPR serialconsole/resource-manager] Update serial console swagger (#5988) * Generated from 90f54203590d5ea2fdf89e7e0d9356e873cee4f9 Make operationId casing consistent * Generated from 4e3f06765eb98cfbcd2c60a58107674541d6bb97 Describe GetOperations output * Generated from 968a389fe7812e416c766ea135b59bffb053e7de Add x-ms-parameter-location * Generated from 36f34b427f92c73da8d76011a5c11c52fe8ea741 rename GetSerialConsoleDisabledResult to SerialConsoleStatus and update example accordingly * Generated from edb7b3d76a28d5d6212092de9dc63052f768d11b (#6183) Remove FailoverDatabaseReadableSecondary.json and include the extra parameter in FailoverDatabase.json instead * Generated from eb302b3cbd2722aec702778e5e597d28da25bd77 (#6148) [SRP] Add delete retention policy for blob container and file share * Generated from c606d0445f3b6135d1f59d222377566d29337f8f (#6165) Add Azure Security Center for IoT to productFilter enum * Generated from 68e8f31b27ce7a56c13ee87dfa1108997844e87b (#6185) Improve Network's descriptions * [AutoPR network/resource-manager] Fix the typo for actionsRequired in PrivateLinkServiceConnectionState. (#6195) * Generated from 91d1a252fb1849bfe991da44bfa0599d7324f3e4 Correct it for all example and for all other API versions. * Generated from 91d1a252fb1849bfe991da44bfa0599d7324f3e4 Correct it for all example and for all other API versions. * Generated from 02252f119ea54774c081750c905ba6ab1bdad99d (#6219) Fix wrong preview pacakge path * Remove wrong placed preview package * Generated from ccbae4f1c77f972fb8d3290f0ce3a64253d14bdf (#6161) updating with warm store features * Generated from 21bd41666567ed08878c3ee13e68c94cb0e0b987 (#6155) fix missing status code in SignalR * Generated from 11b24359ee5776d40b34555f12fab33a1bd1e5cb (#6208) Rename management.JSON to management.json * Generated from 4d767ed6efbd682422827b26374a2a331ccfc852 (#6202) Fix reference * Add back some legacy packages * Generated from latest swagger * Generated from a6daf4c9c7b1cfc18a382c62b4976f2e007a80ee (#6229) fix typo Diretory * Generated from 9b04684de70e634c8d4fa85d60138d4a1db84065 (#6238) Change type to object * Generated from 0210af2e5503488fd65957c1368f0794a7e782f0 (#6255) add PreferredIPVersion to ConnectivityCheck * Generated from 85d0f24f003c50b536c896138a30218c36cf310a (#6251) Addressing Spell check validation, changed the description * [AutoPR storage/resource-manager] [SRP][Fix Typo] DeleteRetentionPolicy is a common class that applies to both file and blob (#6250) * Generated from 6fdcf1e8098868c3b8216ac8e3babce62ad56d1e [SRP][Fix Typo] DeleteRetentionPolicy is a common class that applies to both file and blob * Generated from 6fdcf1e8098868c3b8216ac8e3babce62ad56d1e [SRP][Fix Typo] DeleteRetentionPolicy is a common class that applies to both file and blob * Generated from 1424fb90b9195f05229265d9b4147df55b3d5b6e (#6243) Fix * Generated from b6c83befb9732d44d75feb7ea12a8f198a853ec1 (#6260) Fix formatting * Generated from 3f60f47410cabe369be98ab8b7cd168756bfd5d9 (#6261) Add Microsoft.PolicyInsights/policyMetadata resource type spec * Generated from 84ce9e7f669adb50f2aaa62f3e12167edbea67e1 (#6269) Update spec and examples * Generated from 5384fe0c3361da843a2b55c9bb7aa55e494ab984 (#6263) [SRP] Remove a recent added property for container soft delete * Generated from 1e8bea7a181abb6181f79aa0319c293abbf95d7e (#6266) Updating examples * [AutoPR storage/resource-manager] [SRP] Add account sku to file/blob service response (#6267) * Generated from 4d9474e12075391cb75073fc6ae94ddd8eff4cdb Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs into getservicesku * Generated from 4d9474e12075391cb75073fc6ae94ddd8eff4cdb Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs into getservicesku * Generated from 041683be0cdb0426e8980f1a64cbce91241bee73 (#6247) [Datafactory] Enable SQL DW Copy Command * Generated from ce02bcef77b445fbe83c8bfdaa3fa15924efe56a (#6274) Merge branch 'master' into liran-dev-security-Microsoft.Security-2019-08-01 * Generated from 545db164471cc4f95bd68237971c43891a40d884 (#6277) remove locale from links * Generated from 0dc5634c5903bc4d13f936f6c39ccf0a6965de96 (#6278) remove locale from link * [AutoPR cdn/resource-manager] update description for UrlRewrite Action (#6268) * Generated from 2a23b07c8b2bfa82a1116c2c2280880c1241a8fc update comment * Generated from 9540dc91c52499e1c968bb715bffc9cc2577c557 update * Generated from 0cd1f96acaf7a73b29d816516c3b081b3f711799 (#6162) use secure link for documentation * Generated from 5fb6d44e6933230e3f88c488bdff8b22438b72cf (#6287) ANF-327 New swagger for 2019-08-01 API With upstream pull and rerun of prettier * Generated from f20be645a748cae6147290a5e091c348a9924902 (#6273) Code review fixes * [AutoPR sql/resource-manager] Update databaseVulnerabilityAssessments.json (#6272) * Generated from b2ff9bfa546b57e9905bb6f57322b1add1b29c17 Fixed documentation for storageAccountAccessKey parameter in SQL templates * Generated from b2ff9bfa546b57e9905bb6f57322b1add1b29c17 Fixed documentation for storageAccountAccessKey parameter in SQL templates * Generated from fa0523b043ef003c72ade04ddbf0a00f10d00c3b (#6307) Moving Priority and EvictionPolicy enum to the definitions section and adding 'Spot' priority * [AutoPR resources/resource-manager] Add new version for Microsoft.Solutions (#6253) * Generated from a91d692810c9a1298b0f6e5939659e5a5b0195e9 Fix PR comments. Remove update access since it should be internal only(used by PIM team) * Generated from 88ed32612d64850c82dd01b6980edcf7f0997c15 Capitalization to fix build. * Generated from 5be1da0610dd72272c94afd2c03601100de3b4df Read only properties * Generated from 98cefa2b437103affbcbfd6ce4c63061b24373ad Removed application definition artifact, which is internal and don't need a swagger. * [AutoPR cognitiveservices/data-plane/QnAMaker] [QnA Maker] Update API data fields. (#6289) * Generated from 10bb2e899dfa41564fa014275648f7e5daa17761 [QnA Maker] Update API data fields. * Generated from 670e771f95a96c8f9b94321fd499fba61bbba309 camel casing * Generated from 04ca3a88d31b7bda6982e2281216993545e61ff8 (#6313) Sql auditing swagger- update examples * Generated from cb0caf6c25ca5d28fdaeb005d6c9e53477176166 (#6296) Added enableCustomerAnalytics Flag to create SapMonitor * [AutoPR security/resource-manager] fix swagger completeness issue (#6311) * Generated from cd736d4605f25bafc1e210b4e83e6805863fe23f Merge pull request #2 from yibirnba2/swaggerCompletenessIssue Update operationId * Generated from e6e7573b8f17ee08d9ecc68eeaa525f51172f720 Merge pull request #3 from yibirnba2/swaggerCompletenessIssue Change operationId * Generated from cda6951d6e73baed7ab431b9a3c17aabfe7f2b02 (#6327) Fixing description for deleteEmptyServerFarm * Generated from 202c280ac47ce63c6d4480d4c271da833821378b (#6170) bump python sdk version to 0.3.0 * Generated from 59b008b02ef9d4b11bea303f3ba0a6d71c8985ad (#6333) Minor fix * Generated from 18dc9b0284cda48e71eea8526d1592ff7a44e985 (#6357) Add composite package for sql * Generated from 832cf0fea9b335b4b651208eabdfc01b80c274e0 (#6314) Update * [AutoPR compute/resource-manager] Adding "proximityPlacementGroup" property in "VirtualMachineScaleSetUpdateProperties". Adding "includeColocationStatus" optional flag as part of Get ProximityPlacementGroup URL (#6301) * Generated from 80c837ae06239705ae88dc34678c55b41be55334 making changes * Generated from eee3b6d1bddefc1777a676b10292593fdab97c3c making changes * [AutoPR containerservice/resource-manager] AKS: making the `count` field optiona; (#6302) * Generated from 2495a97b588dc0bef4afbae76f3df4461921073e 2019-10-01: allowing for `count` to be nil during updates * Generated from 27d03a14592691f08e01b1eb885a16cd74d9a9d5 kubernetes: removing the inclusiveMinumum since this is only applicable on creation * Generated from 1c3e1c696ee08a19ac689399f1b39dc4dd254780 (#6372) run prettier * [AutoPR compute/resource-manager] [Compute] Add patch spec for SharedImageGallery (#6320) * Generated from 861dd1bc2d11f46b781ac8e0ccd470bfe770125a change descriptions to updated * Generated from 50f8e2ff68772de9ca3bbd01baa59d1d8989a7b8 updateresource * Generated from c53057ddac2e6b3be44ff07da16ab09cdd77f936 Added example and id/type to UpdateResource * Generated from a5ef75d4927df2d8a8c967b993926766254cff30 add name * Generated from fd8f83b368a420de1057b009b7efeb5988d94cfb make gallery json pretty * Generated from 6be0dfe37350941e2f186d620c18a33615f0d72b (#6378) add AKS listClusterMonitoringUserCredential API * [AutoPR containerregistry/resource-manager] Panwang/taskruns (#6303) * Generated from 0aff28cdc236df42db680cf238d0d36f0c5ad5d3 Remove default response from swagger * Generated from c21bed5bdc9a77c0572d12e73faa3557c89b6cd9 add missing type * Generated from 9db43d8870a318c9ce12267b73aa4aac3f09b1b2 Revert changes for these two files. * Generated from 19671edd71bf89d2df6e25695e48d56b57d0ea98 Update error description * Generated from 6ac6e268eae9c51c39ffa3313ddd9f4fc4543487 (#6403) [SRP] Increase the max file share quota for LFS * Generated from e3a597fe31e3fe840445de05facd9a24b937fc9c (#6401) Merge remote-tracking branch 'upstream/master' * Generated from 732ab86bf2b6d48a82f71da16cda38426bd6f4e6 Maintenance: add readme.java.md with tags * Generated from f0e72d897029d6e7fccf7b99b696589864def0da removed resource conflict * Generated from 4dd708660b1fe07aa7ac0f08dc62d15ddc39d178 add version 2019-08-01 to preview * Generated from 7b90d52bfb2ef86c16b9ef23bec841feec127606 Merge branch 'master' into cosmos-python-afterscripts * Generated from 5084ecf452a19f4d2f40fc9f7ef1e823be81afcd rearranged tests * Generated from 9bf096e9a9c7322fd801364235daddd062879527 Updating the version to 2019-11-01 Updating the version to 2019-11-01 * Generated from 9bf096e9a9c7322fd801364235daddd062879527 Updating the version to 2019-11-01 Updating the version to 2019-11-01 * [AutoPR policyinsights/resource-manager] Fix Microsoft.policyInsights/policyMetadata query parameter (#6385) * Generated from a989d1c3759e3a241d2a3011c27b3988815a6300 Fix Microsoft.policyInsights/policyMetadata query parameter * Generated from b57d760f98cd19cd4164f61e976f61a9759b1860 Fix slim metadata properties * Generated from db239cc46757350995e9550c606b838278930d36 (#6343) customer lockbox preview swagger * Generated from aa17e4ecd833c5d63614fa55beb123bea03b37b4 (#6376) Adding MaxLength Validation to eventHubName * [AutoPR cdn/resource-manager] [CDN] Copy changes from API version 2019-04-15 into 2019-06-15-preview. (#6400) * Generated from 9eb5ce2a840c1c665d36a6da2a436ae5b0310435 Sync latest changes from CDN 2019-04-15 to 2019-06-15-preview * Generated from 05393216e4ed62e704d2a1dae890a3f9f1645ed5 Sync latest changes from CDN 2019-04-15 to 2019-06-15-preview * Generated from dcc8dc3f2f2654a45ef53be71368be83eaf44ebb (#6442) fix api method * [AutoPR datafactory/resource-manager] Update MySqlLinkedServiceTypeProperties and PostgreSqlLinkedServiceTy… (#6326) * Generated from 515979ad8a4a728feb04fcdcc61785c1f7895914 Update MySqlLinkedServiceTypeProperties and PostgreSqlLinkedServiceTypeProperties connectionString type object * Generated from a1ecfec4e43b84693ac05cf40b12edf707e13b28 Update * Generated from a1ecfec4e43b84693ac05cf40b12edf707e13b28 Update * [AutoPR resourcegraph/resource-manager] Microsoft.ResoureGraph/queries path typo fix (#6418) * Generated from 257f27fb2d50e20e7a0b899adc24123bb590cd62 typo fix * Generated from 658b7b9a0b033e3c3996847c45824546e4990c65 making validation pass * Generated from 469e1a6305c280790c34e2b09d6b4eaaebc6d5da (#6423) Adding incident info to GetBookmarks * Generated from latest swagger * v37.0.0 * Simple grammar fix * Generated from d62eb16808d56932d9ee52faec9af253d36b1f09 (#6471) Change the order of parameters in swagger to comply the convention in SDK * Generated from d62eb16808d56932d9ee52faec9af253d36b1f09 (#6471) Change the order of parameters in swagger to comply the convention in SDK * Generated from e728666e3d48dcd45bcc643b4e2e42ae4c48ada6 (#6474) Changed some orders that missed by previous commit * Generated from e728666e3d48dcd45bcc643b4e2e42ae4c48ada6 (#6474) Changed some orders that missed by previous commit * Generated from 0de57e1ab5e1425affd87fcd66931cdedd0aa7b6 (#6486) [Storage] Fix the share max quota to right value 102400 * Generated from 3786c70ea058829697c199f9d9c68264ed6e965e (#6469) fixes * Generated from f89b3577784d34e4da75467c09dc8dc036d959a8 (#6459) update swagger for public ip * [AutoPR datafactory/resource-manager] Update Salesforce LinkedService Add ApiVersion (#6455) * Generated from 9dde2e58adb477a3b8716ab374b9bd82c139e278 Update Salesforce LinkedService Add ApiVersion * Generated from 9dde2e58adb477a3b8716ab374b9bd82c139e278 Update Salesforce LinkedService Add ApiVersion * Generated from d23b8338e812c3eb4da964c1ad8ca7fe8efc97f4 (#6470) [DataFactory]Support partition of SAP HANA * Generated from 7badadb92e5ba5d471ed8b8158be54ea7b451ccd (#6476) Revert "Update Salesforce LinkedService Add ApiVersion (#7865)" This reverts commit 3b494714b0ef2ba3e720f97d09c97de89873066f. * [AutoPR servicefabric/data-plane] Swagger specification for Service Fabric runtime version 7.0 (#6407) * Generated from 6f31bc763a8f1b0aebacc3d263e4a30f714cd335 updated read me s. * Generated from fa67c1c55a4dd7d8acd3839f1113b9029622361a updated propery custom-words.txt * [AutoPR mysql/resource-manager] Support MySQL ServerVersion 8.0 (#6451) * Generated from 79969c14e7081ce9e76d370b33fe1f65cc20196e support mysql ServerVersion 8.0 * Generated from 880ac9bc1c136104465964cd4d21d3901abecf77 Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs into support-mysql-ver-8.0 * [AutoPR cosmos-db/resource-manager] Fix response structure (#6365) * Generated from 49871ca03fed5f6e6d5868c5fc779abb07f38e1d Fix response structure * Generated from ee13f8f1b953ef574227af8d0d6296aedad206a6 Add new properties and fix CI * Generated from c89a971a7edf5c22aa990089bc59f68a6c61747b Remove unrelated properties * Generated from 95419ab0fc19466e62f05035c84d4f6b7bc80cb9 Remove unrelated properties * Generated from 0a82cc765a42ef6b077b887d153075923fcc7f56 (#6481) Add resource layer in the throughput read response * Regenerate from latest swagger * v37.0.0 * Add a no-response bot * Generated from a9771ff183295912f33602791bc25559bc7f1018 made the model vaildation pass * v37.1.0 * Generated from da48a54cf0068154a6ac389f781c008887731b92 Remove readonly * Update code generator version * containerService2017-07-01 * containerService2017-08-31 * containerServices2017-09-30 * container service 2018-03-31 * container service 2019-11-01 * deploymentmanager 2019-11-01-preview * update profiles * v37.2.0 * v38.0.0 (#6576) * [AutoPR] securityinsights/resource-manager (#5683) * Generated from 878390cbb0806c9194cc9ceaed923284d2d8f2ac (#5288) Fix mistake * [AutoPR securityinsights/resource-manager] SecurityInsights: Investigation swagger updates (#5292) * Generated from 27abe226e56bd1a6d13985c9bc8871148a8c34ad Merge branch 'master' into InvestigationSwagger * Generated from ebb1f1f5bdab7f12639fbee775adf16611d092ad removed cases changes (will be in another PR) * Generated from ab899e75a364a5b6dbf21370c1db65b769094ec8 removed bookmarkEntity from entities api (currently not supported) * [AutoPR securityinsights/resource-manager] Adding alertRuleTemplates swagger spec to securityInsight (#5504) * Generated from d731243f4645a2df9c8389e10e93be04ea78a620 Add alertRuleTemplates endpoint to securityInsight * Generated from d09f26c587fddd31fa13cb3d94d7a9bbe8d58ec8 fix merge conflict * Generated from efe14acff06c754692f29bffee877f29edb68b89 Bookmarks swagger updates * Generated from 07393c4915496b1768a08c5f408b05cdb2a27f10 fix typos * Generated from 98fdd0347934e59d39a7b6f803f170933c96d199 fix typo * Generated from e00e65896ca96c4c814528fa286e3f6e2d534122 (#5682) sort definitions and parameters by ABC * Resolved conflict manually * [AutoPR] network/resource-manager (#5692) * Generated from 3b992f9396f9c0bc7e34b11696efcffafa92575a (#5297) add network package-2019-06 to Go SDK * Generated from 36ba645d97091ead19fa04d57595069d73491c7e (#5511) Update PE/PLS * Generated from ec578e180c4515be63046f0b0991d7b9547e657d (#5522) Update description of "location" in serviceTags.json * [AutoPR network/resource-manager] chore: jsonfmt network (#5514) * Generated from 2c363ba11150b1894650db67b5d4a03166b95afd chore: jsonfmt network * Generated from 2c363ba11150b1894650db67b5d4a03166b95afd chore: jsonfmt network * Generated from 92006e420d65cb70e4b93bc5850af575da4efb78 (#5637) Mark "provisioningState" as read-only * [AutoPR network/resource-manager] Add missing read-only property "outboundRules" in LoadBalancer specs (#5647) * Generated from 658cfc162acc76fd35b81aa42b29406d9ba013cb Add missing read-only property "outboundRules" in LoadBalancer specs * Generated from 658cfc162acc76fd35b81aa42b29406d9ba013cb Add missing read-only property "outboundRules" in LoadBalancer specs * [AutoPR] storage/resource-manager (#5695) * Generated from 3acbc3b4106db3097de5be5e4df47afb38d51ec0 (#5473) Use cors definition from blob.json * Generated from 94667089d429b4f1aca38e60f85b13f5c0039219 (#5580) Align File swagger with the Blob swagger * Generated from 8264dcc49e0bc239013cd76ce9664f83f1041967 (#5678) Update Kusto.json with TSVE data format * [AutoPR eventgrid/data-plane] Create KeyVault.json (#5546) * Generated from 66c76158ca650e8f4bf0ff082bc5428e2544c457 Update readme with KeyVault.json * Generated from 7d4a2513c50a216bfe9cbf6a6f769d460d7211f4 Revert "Update readme with KeyVault.json" This reverts commit 66c76158ca650e8f4bf0ff082bc5428e2544c457. * Generated from 44674ab5aabc591e8dd6b10d326071e8fa3ccd49 Update readme.md * [AutoPR] compute/resource-manager (#5706) * [AutoPR compute/resource-manager] removing non-ascii character (#5325) * Generated from 090b727225320af61034c7278c3ccf51dcbef8a2 removing non-ascii character * Generated from 56ccb1151588cff87c1c92eee0e6c56e42c7f2f4 corrected the description * [AutoPR compute/resource-manager] Add terminate profile and scheduled events profile to Microsoft.Compute (#5310) * Generated from 9bb1d5b7f21a0e03e97ce3817554307244d45422 Correct definition format * Generated from 49bbc9237680dc7963f9d24f7cde1d05e8f14260 Merge branch 'master' into dev/szimmer/AddTerminateProfile * [AutoPR compute/resource-manager] Add missing Gallery Application API in 2019-07-01 version (#5354) * Generated from 01293ebd64fa96d11d30d9b0ef1391cbe8e62443 Add missing Gallery Application API in 2019-07-01 version * Generated from 6637309053b80e0b62b01f1c240d72749e30f1c2 Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs * [AutoPR compute/resource-manager] add HyperVGeneation in GetVMImage (#5344) * Generated from 4b3b012a4c684afd2e931bb2ac4c01bbf894eec4 add HyperVGeneation in SharedVMImageVersion * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * compute/resource-manager] Swagger: Allowing for VMSS reference during VM creation (#5408) * Generated from 547a98bc34516d8788adff951ebd929d8d5125ae Swagger: Allowing for VMSS reference during VM creation * Generated from 2723517c6c29f1c6945bdf05b9c4e42f85159011 fixing typo * [AutoPR compute/resource-manager] [Do not merge yet] DiskRP Swagger changes for 2019-03-01 (#5398) * Generated from a308b6604cb4bfdb8085d78f998aa3718cf9ae36 adding unique id * Generated from b7b0ecc49d6694ea41c66ef9936f05da9bae38f3 fixing typo * Generated from 34c96075059bf06bf052835f6f405b2d0649d1b7 removing diskSizeBytes from snapshot\disk update properties and adding a unique id for disk properties * Generated from 1ad0c2e2dd85dad2a363072eb4cdcbe250e1522b pr comments * Generated from 4f5dbad04518d0674689ac2a2388ea823d28cadf pr comments * [AutoPR compute/resource-manager] Adding low priority and variable pricing feature for standalone VMs. Added priority, eviction policy and billing profile to VirtualMachineProperties. Also, adding optional billing profile to VMSS Create and Update APIs. (#5523) * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 9d5e30df16e3ea43cb3b21b5f5264373d8ed2397 (#5596) updating an incorrect description for uploadsizebytes * Generated from 79b1099e7cf1d0a077c2f5b38b4c83408b97a59b (#5652) Add missing $expand parameter to AvSet list by subscription API * [AutoPR] storage/resource-manager (#5707) * Generated from 3acbc3b4106db3097de5be5e4df47afb38d51ec0 (#5473) Use cors definition from blob.json * Generated from 94667089d429b4f1aca38e60f85b13f5c0039219 (#5580) Align File swagger with the Blob swagger * [AutoPR storage/resource-manager] Add change feed properties to 2019-04-01 Storage. (#5621) * Generated from 774367438889ac553def1957b72b8ba63ad877e5 Add change feed properties to 2019-04-01 Storage. Add change feed properties to Storage Blob Services. * Generated from 774367438889ac553def1957b72b8ba63ad877e5 Add change feed properties to 2019-04-01 Storage. Add change feed properties to Storage Blob Services. * Generated from 34d744550227bee7b380604d38fc1de6c9af6397 (#5708) Update netapp.json * Merge pull request #5714 from Azure/restapi_auto_compute/resource-manager [AutoPR] compute/resource-manager * Update swagger_to_sdk_config.json Update autorest.go to new version * Generated from 5ea5da031f993e6dd8061f42abbea77d58e66020 Clarify KeyVault time as seconds since Unix epoch * Generated from b621ede227cd29651b1712782d964373fc2da6ec (#5717) Quick fix * Generated from 4eb71094207cc3188dfa1d604325731362a555a5 updating readmes * feature: support PutBlockFromURL API: https://docs.microsoft.com/en-us/rest/api/storageservices/put-block-from-url * Generated from 18efd73807c1182800e0521f67e1e5ae2ee70394 added missing packages to compute release * [AutoPR] compute/resource-manager (#5721) * [AutoPR compute/resource-manager] removing non-ascii character (#5325) * Generated from 090b727225320af61034c7278c3ccf51dcbef8a2 removing non-ascii character * Generated from 56ccb1151588cff87c1c92eee0e6c56e42c7f2f4 corrected the description * [AutoPR compute/resource-manager] Add terminate profile and scheduled events profile to Microsoft.Compute (#5310) * Generated from 9bb1d5b7f21a0e03e97ce3817554307244d45422 Correct definition format * Generated from 49bbc9237680dc7963f9d24f7cde1d05e8f14260 Merge branch 'master' into dev/szimmer/AddTerminateProfile * [AutoPR compute/resource-manager] Add missing Gallery Application API in 2019-07-01 version (#5354) * Generated from 01293ebd64fa96d11d30d9b0ef1391cbe8e62443 Add missing Gallery Application API in 2019-07-01 version * Generated from 6637309053b80e0b62b01f1c240d72749e30f1c2 Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs * [AutoPR compute/resource-manager] add HyperVGeneation in GetVMImage (#5344) * Generated from 4b3b012a4c684afd2e931bb2ac4c01bbf894eec4 add HyperVGeneation in SharedVMImageVersion * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * Generated from c34793bd9910de785d31e7bf8e6da1fd7e30de8b reuse HyperVGenerationType * compute/resource-manager] Swagger: Allowing for VMSS reference during VM creation (#5408) * Generated from 547a98bc34516d8788adff951ebd929d8d5125ae Swagger: Allowing for VMSS reference during VM creation * Generated from 2723517c6c29f1c6945bdf05b9c4e42f85159011 fixing typo * [AutoPR compute/resource-manager] [Do not merge yet] DiskRP Swagger changes for 2019-03-01 (#5398) * Generated from a308b6604cb4bfdb8085d78f998aa3718cf9ae36 adding unique id * Generated from b7b0ecc49d6694ea41c66ef9936f05da9bae38f3 fixing typo * Generated from 34c96075059bf06bf052835f6f405b2d0649d1b7 removing diskSizeBytes from snapshot\disk update properties and adding a unique id for disk properties * Generated from 1ad0c2e2dd85dad2a363072eb4cdcbe250e1522b pr comments * Generated from 4f5dbad04518d0674689ac2a2388ea823d28cadf pr comments * [AutoPR compute/resource-manager] Adding low priority and variable pricing feature for standalone VMs. Added priority, eviction policy and billing profile to VirtualMachineProperties. Also, adding optional billing profile to VMSS Create and Update APIs. (#5523) * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 10d72ee6c882c170c44d54928e192a421d1032a1 fixed typo * Generated from 9d5e30df16e3ea43cb3b21b5f5264373d8ed2397 (#5596) updating an incorrect description for uploadsizebytes * Generated from 79b1099e7cf1d0a077c2f5b38b4c83408b97a59b (#5652) Add missing $expand parameter to AvSet list by subscription API * [AutoPR compute/resource-manager] Add VMScaleSet ScaleIn Policy (#5606) * Generated from 5968c8d1d8f53fcce6b11bc71e4be3c6bc550617 Add VMScaleSet ScaleIn Policy Adds VMScaleSet ScaleIn policy that is supported with the 2019-03-01 header but not included in Swagger * Generated from 17a6aebc538afafffc9ce87f083fc07592a6b5c3 Update compute.json Fix indentation * [AutoPR] datafactory/resource-manager (#5730) * Generated from 5e1bb35d5c3314d8f4fead76c3d69a2522be026b (#5651) Update review comments * [AutoPR datafactory/resource-manager] support Express Custom Setup (#5536) * Generated from 696212c605edef333cba0f0e86d42ba344f4fc42 address the comments * Generated from 4de64a2262df8e2e971620c95f7c3a2ba91d49d9 address comments * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * [AutoPR datafactory/resource-manager] [Data Factory]Add ORC Dataset/Copy Source/Copy Sink (#5611) * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Fix CI failure and conflict * Generated from b07009df21da758efcb13fbbd25ce9e450751586 (#5729) [DataFactory] Update Databricks linked service swagger related to warm pools. * Generated from 4d7873fcb2eb980ac1eacad015893bd5634a5a37 (#5735) [ACR] Adding scopemap spec file for new SDK build For releasing ScopeMap and Token features, we need to retrieve models from the scopemap spec file. The existing SDK version doesn't incorporate changes from the scopemap spec file. Requesting a new SDK build. Please suggest changes if deemed necessary. * Generated from 68ccfd97b6bd4b29219d6988342451fff61b7031 (#5737) [Batch] Update documentation around app packages * [AutoPR servicebus/resource-manager] ServiceBus: added NetworkRuleSets list API (#5624) * Generated from 26fbb00e498d34206afb040c7c9eb7b79fa3fd5e added NetworkRuleSets list API * Generated from 87e06617e7103a97295b2fe25f4a47990371b397 added x-ms-pageable and formating * Generated from 2f83e3fb7917b9f6301fea15cf45e3e3fbeac7bb removed readonly for compatibilityLevel * [AutoPR cosmos-db/resource-manager] Add short url for all api resources (#5448) * Generated from 6b485b2047ec2cc073363b94a56778b108912940 Add short url for all api resources * Generated from d0f3adbb4578d7a5569d29a683663bf4772af38a Correct GremlinResources_ spell * Generated from a05be8787ab7cc8346e38c01ccbd45731ad95169 Add new api version * Generated from 72880ac9171c7118002c56eb2152265bb41442ba Fix spell error * Generated from 1ca1ae2151cd7248fac7b82624424ce63383a28a (#5745) fix: Double word "the" in datalake-analytics * [AutoPR] datafactory/resource-manager (#5751) * Generated from 5e1bb35d5c3314d8f4fead76c3d69a2522be026b (#5651) Update review comments * [AutoPR datafactory/resource-manager] support Express Custom Setup (#5536) * Generated from 696212c605edef333cba0f0e86d42ba344f4fc42 address the comments * Generated from 4de64a2262df8e2e971620c95f7c3a2ba91d49d9 address comments * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * [AutoPR datafactory/resource-manager] [Data Factory]Add ORC Dataset/Copy Source/Copy Sink (#5611) * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Fix CI failure and conflict * Generated from b07009df21da758efcb13fbbd25ce9e450751586 (#5729) [DataFactory] Update Databricks linked service swagger related to warm pools. * Generated from 5cc2c54ac1ba7f41fd2426ff39df46f785ce55f2 (#5748) Add a clearer description. * Generated from 94dbf0ac2518371373cf8f2eb74bba657b1e7b90 (#5414) Orphan property removed * Generated from 33d64b558114a9a861b82dc17518e359758d1688 (#5686) Fix SpellCheck Swagger Specification * Generated from 81fb55e8252598b44b1d5ee4db527eacba725546 (#5687) Fix Local Search Swagger * Generated from latest specs of network * Generated from af961540f808cb651ddb1dbac08619eafc06330e (#5789) Add 2019-07 version to network go code generation * Generated from 1baa9a51ee00db62b006b2081d2811297d48d3d4 (#5761) Updated 2019-02-01-preview api version to include operation.g * Generated from 7837d7e037f47c5a2414e0a241e1472c960ff055 (#5744) fix: Double word "the" in automation * [AutoPR datamigration/resource-manager] Correct the version (#5516) * Generated from 8de2c91a547e5ab394d4569aed0dda9b814c9cce Correct the version * Generated from 8de2c91a547e5ab394d4569aed0dda9b814c9cce Correct the version * Generated from 68427c1d0294d9f4acbe7355261c31cd407a2d95 (#5727) Add purge API details. * [AutoPR] frontdoor/resource-manager (#5784) * Generated from 27e7dd3c7e4a6b855c902cfaf35380e273760cde (#5462) Update readme.md files missed from previous commit * Generated from adca4cd9eac95f46998e3b35e1d5ae600498808f (#5508) add SocketAddr matchvariable * Generated from 88294366687bc74b0efc484eb8f0d08980de3804 (#5746) fix: Double word "the" in resources * [AutoPR] datafactory/resource-manager (#5795) * Generated from 5e1bb35d5c3314d8f4fead76c3d69a2522be026b (#5651) Update review comments * [AutoPR datafactory/resource-manager] support Express Custom Setup (#5536) * Generated from 696212c605edef333cba0f0e86d42ba344f4fc42 address the comments * Generated from 4de64a2262df8e2e971620c95f7c3a2ba91d49d9 address comments * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * [AutoPR datafactory/resource-manager] [Data Factory]Add ORC Dataset/Copy Source/Copy Sink (#5611) * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Fix CI failure and conflict * Generated from b07009df21da758efcb13fbbd25ce9e450751586 (#5729) [DataFactory] Update Databricks linked service swagger related to warm pools. * Generated from 5cc2c54ac1ba7f41fd2426ff39df46f785ce55f2 (#5748) Add a clearer description. * Generated from 9402dbf3fb3d5fffcb80f501b1fc857ff97ab723 (#5760) Fixing PR validation errors * Generated from 5927195a95dbda5a1729692d42a088b60c4a4a88 Adding new version of API * [AutoPR] datafactory/resource-manager (#5807) * Generated from 5e1bb35d5c3314d8f4fead76c3d69a2522be026b (#5651) Update review comments * [AutoPR datafactory/resource-manager] support Express Custom Setup (#5536) * Generated from 696212c605edef333cba0f0e86d42ba344f4fc42 address the comments * Generated from 4de64a2262df8e2e971620c95f7c3a2ba91d49d9 address comments * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * [AutoPR datafactory/resource-manager] [Data Factory]Add ORC Dataset/Copy Source/Copy Sink (#5611) * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Fix CI failure and conflict * Generated from b07009df21da758efcb13fbbd25ce9e450751586 (#5729) [DataFactory] Update Databricks linked service swagger related to warm pools. * Generated from 5cc2c54ac1ba7f41fd2426ff39df46f785ce55f2 (#5748) Add a clearer description. * [AutoPR reservations/resource-manager] [Hub Generated] Review request for Microsoft.Capacity to add version preview/2019-04-01 (#5766) * Generated from f19a2e5b7f384018b74b21b7b8b8782d95b456f9 fixed x-ms-enum value * Generated from 2f56008117d578bec6cc8b8c832926f45a0fe52e fixed catalog definition * Generated from cac978330e8c7b9583812a735cfeac97fb267056 reverted breaking operation id change * update README with info on customizing SendDecorators (#5832) * Generated from f3e85bf537e973832fd8b630394c4b951badce66 (#5798) Fix eligibility typo * Generated from d3620f1cf3fda9d30555c4b0e47a1ea521ca5404 (#5799) Review 1 + remove v3.0 preview * Generated from 67a8ba34e8eb3e3c0ffa6efdd019e46391b42571 (#5812) Update readme.go.md Updated output-folder (removed `stable`) * Generated from 96e53c8b30b238235fadb02b5ebf75533039ab91 (#5773) fix getting agent pool available versions api path * [AutoPR logic/resource-manager] [LogicApps] New Api version (#5834) * Generated from acf43615d58480cc7285f4a26b1108971162fc4a Fixed error * Generated from c2f47d91b77ffe997d38994cff32f7b410b1a308 Fixed model errors * Generated from 4f11b92d108f861c21411092dacd997a32bb7076 Fixed more errors in Logic json * Generated from 7c5619dfd675cc3af284d52337539ca861732528 Fixed resource reference issue * Generated from 56286b280dda0ebf76f171c8e4f7288e5ea5141b Fixed Resubmit trigger histories * [AutoPR] datafactory/resource-manager (#5830) * Generated from 5e1bb35d5c3314d8f4fead76c3d69a2522be026b (#5651) Update review comments * [AutoPR datafactory/resource-manager] support Express Custom Setup (#5536) * Generated from 696212c605edef333cba0f0e86d42ba344f4fc42 address the comments * Generated from 4de64a2262df8e2e971620c95f7c3a2ba91d49d9 address comments * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * Generated from fc0bdde313743dbbed8e8c506dd9e07107d04142 Merge branch 'master' into ivan/support-express-custom-setup-for-manged-ir * [AutoPR datafactory/resource-manager] [Data Factory]Add ORC Dataset/Copy Source/Copy Sink (#5611) * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001 [DataFactory]Add support for ORC dataset * Fix CI failure and conflict * Generated from b07009df21da758efcb13fbbd25ce9e450751586 (#5729) [DataFactory] Update Databricks linked service swagger related to warm pools. * Generated from 5cc2c54ac1ba7f41fd2426ff39df46f785ce55f2 (#5748) Add a clearer description. * Generated from 239e696db0a17997d3bc2a77c9670180e527fcfc (#5797) Update location in ManagedNetwork * Generated from 0e25b55ea7d548f56eada51b4065224e02eab5e7 (#5815) Restoring expandChildren changes * Generated from 3ff7f07c725255fe7a891687890dd1b928c772ee enum name must be fixed here as well * Generated from 91579252e6aa0e9aa0b00749c82755240e5f5282 (#5845) Add aad domain name for windows login migration support * Generated from 0d3d4d1b56bbbb9e001f971a9ab2c7df8749a9f3 (#5850) Stablize 2019-04 and 2019-05 for frontdoor * [AutoPR sql/resource-manager] Add new APIs (two List APIs) and update examples (#5728) * Generated from b5c48e4b89006ae465040001f67683dcec790b4b Update DatabaseAuditingSettingsList.json * Generated from b5c48e4b89006ae465040001f67683dcec790b4b Update DatabaseAuditingSettingsList.json * Generated from 3ff8cd57b4a86c753b773d2dba460f7e6a62f4c1 (#5864) remove additional property for data flow enitty * Generated from 8188f2ed896ed7f345c5a324f3c62aaca926a35b (#5867) Removed one property which won't be exposed to public for now * Generated from 1cac6227f3d809cbabebc0ca1140469c9d2a7030 (#5872) remove unnecessary additional property * Generated from ad2716208f8089dd2d768faf9e9f765660fafc9c (#5873) Fixed unknown words * Generated from 51020f68a1a7cd0fd66f44a493e8a8b2a23f1e2a (#5875) Add nextLink * Generated from 16c7d5f2a872e3b7cc01c7dd8af608a586776fe9 (#5862) lowercase the collection types * Generated from edb4eee278a0a531af70668fcc2a55e04396d5b1 (#5886) update operation id on list all * [AutoPR security/resource-manager] Jit api add justification (#5866) * Generated from 162213184e0652221884ff84f11c93fe935ec78d Merge branch 'master' into jit-api-add-justification * Generated from 162213184e0652221884ff84f11c93fe935ec78d Merge branch 'master' into jit-api-add-justification * Generated from 63d0bd0751dd12efb7a19fd63807a26919c02b11 (#5868) Add support for attached databases * Generated from ebaee7c36eb7db67a4e648374f69f26a654b444f (#5885) [SRP] Add new storage account property largeFileSharesState * v34.0.0 * [AutoPR network/resource-manager] Network September release (#5940) * Generated from 10dc6bc902a0884218d9d336da7d993839599645 Add reference to Connection Monitor specs in 2019-08-01 (#7218) * Generated from 40628938c2d43d66b4cc5a778e35d470f4299727 Move new props to the end to avoid breaking changes in SDK (#7387) * Generated from d16da2ae0ccb63bad6796ad92e9f5b3deff263a1 (#5856) Removed extra file * [AutoPR compute/resource-manager] vmss: support for passing a health probe to update (#5914) * Generated from 5b6736a9b79ace44f3c0080596a48a2c5072c739 vmss: support for passing a health probe to update * Generated from 5b6736a9b79ace44f3c0080596a48a2c5072c739 vmss: support for passing a health probe to update * Generated from 907e4904d4d23c9808b0e9a1e9d6feed24a85674 (#5997) Add api version 2019-07-01 for features * Generated from 13b301ffb122a22f7c7ef6372c606bc677ebc31e (#5952) chore: jsonfmt network * Generated from acbfeadd901b2bb09d4f187e1d7d7dcb68382f0c (#5944) Add purge API details + saved search fixes * [AutoPR cdn/resource-manager] Add two match condition for CDN RulesEngine. (#5926) * Generated from e00cb79da22b7321a0d965f6516440f359180cff Add two match condition for CDN RulesEngine. * Generated from 0ce67b311a2c58faeee1f54bad56afdacc51adeb remove transfrom from HttpVersion condition * [AutoPR peering/resource-manager] API Version 2019-09-01-preview Peering (#5924) * Generated from ec35a7cbfa909dda0ae507af5db9452de833da5f updated 2019-09-01-preview * Generated from 3641a535aab99c93ab35860408e57b105dd40350 updated examples. * Generated from 5f9b9fdd92c5c96b1cb39448b7654103e8913c93 fixed comments in json. * Generated from 2f943553eee21d4184695927da52acdb469b6b43 (#5931) add signin tenant property * Generated from 15e50a07198dcba64bae4c75b4a32969fb50a882 (#5932) Fixing incorrect output of the CheckOCIDriver task. * Generated from afa8ccf350ace9279c30bc5f7df053fa3f65a476 (#5930) fix modal * Generated from aa9913e0d2ece26504f653d3b30d22a4a35a0b38 (#5946) fixing typo and indentation * Generated from faa4da7ea6662be44a9719ba392ca645bc23197b (#5927) fix password1 description * Generated from 4b1813edb7a61c029f7036506b08398a7da69221 (#5971) Add packages for API version for different languages * Generated from 71a7c364618a7112eb2ec351eb0b9827172bc120 (#5976) chore: jsonfmt mysql * Generated from ed7d3540d4a170541423dcf299d305d975442d71 (#5977) chore: jsonfmt postgresql * [AutoPR security/resource-manager] Add aggregated alert top devices information (#5960) * Generated from 235fdb6f20c94a84cda7b52321f27336106cc5e5 fix time field * Generated from 83f1e75cc7e010cba6c566f089194374933a0889 fix time field * [AutoPR recoveryservicesbackup/resource-manager] Azure Backup Version 2019-05-13 addition (#5923) * Generated from 3212ec12fc1821b1b577b0d68951cd67370846d5 Lintdiff Failure fix * Generated from 2826bc70cf4d5fb7c329219e9877b4d74f8a4c45 Semantics Failure fix * Generated from c2fc52d415140376e70e64d0e3d4703c23ec0e2a Camel casing failure * Generated from 10b920e497dd60808ea1c9f89325bf3f366af79a Update bms.json Adding azure vm workload policy back and copying IaaSVMRestoreRequest to 2017-07-01 * Generated from a2315a7436ffff90c2187103294035a4377c5fec Merge branch 'users/adit/generated' * Generated from 2ed2ddce7a58909f89fc4cd728c4fe2efe1ca0d7 Incorporating PR comments * Generated from 7f2f8e3f5b57d9fb2ab8c6731f8699a84b21ef43 Moving Get and Patch on vaultconfig to version 2019-05-13 Moving Patch and Get of vault config to 2019-05-13 * Generated from 1673d919ce100fe910b2e950b5ac297e30eb1c6a Fixing validation errors * Generated from e868833c4c6499353c9c04bbbfd3de261b750a9c Updating vault config feature flag name * Generated from 4b7c0f58757b9f9d86be85357070788cb8881978 Taken care of Ryan's comment Policy comment is still pending * Generated from f0e79eff1574dd894d881bbf697f016b0f5e8a6e Moved all policy actions to 2019-05-13 version * Generated from 94fc988ab4cbee533fa8fca60f8773a387e7f857 Mark additionalDetail as readonly * Generated from 99b812e62e2d6cb1d7634bfd393a69cf5b85f2fa (#5965) Update go & ruby for 3.1 * Generated from d3a4f2d1674a63bc9a4a57015f956833c7d40f7b (#6004) Update LUIS-Authoring.json fix semantic bugs * Generated from 2128273966bce4b74889c8d94b5f3b2cb6592bd8 (#6007) fixed spellcheck * Generated from 55e842916abe83a008e4078b3cfb384c5a49ebf6 (#6010) Modify SecureString to SecretBase * Generated from 16ff787a51dc55db850a3486cccf7780722c1e41 (#6018) Revert changes in input-files to avoid errors * Generated from 0e60fa1cd6adba0b91d7c91ebaaa4fc65c110b4b (#6017) fixing the build * Generated from fecc99c28f9ff6521a2cce0d481429b2b4ab78b5 (#6050) include property in update as well * Generated from 470b9dc33f877037875aca6fcedbbd845b88ba78 (#6028) Update advisor.json * Generated from f639fa1a11578b5cad9c3a155da216117d6e0059 (#6036) chore: jsonfmt appplatform * Generated from c7ff553c30947fdc9a3e133cc8c1ec3740abc0ac (#6046) [SRP] Support Active Directory and regenerate kerb keys * Add Go 1.13 to CI (#6061) Updated Ubuntu image to 18.04. Removed travis CI file. * [AutoPR policyinsights/resource-manager] Adding a baseline folder for PolicyInsights 2019-10-01. Contents are same as prior version, I will make changes once this PR is complete. (#6041) * Generated from 551a94e578553160c7a3ef54b75a2cdff76acc5a fix go build error * Generated from 964ec2957f79ce66ce1f0010e15d774904c753c7 Added spec json files for other resources to be added to the package. Also updated policyStates.json as per latest API changes. * Generated from 33073abb10a1576efd929ed0344af26b4db6037a Added new columns in the examples. Also, Removed metadata path. * Generated from 89e4b3f2e4d5f61efd6d0a1bdacfc1db7a912c85 (#6067) [DataFactory]Add CompressionCodec property for ORC Dataset * Generated from 7face07707cee94abd393c81397c13c71a64c161 (#6070) Fix mistakes. * Generated from 92dd4e7a8d556480e7db4c970c5463b380dfc08f (#6055) Small change - Modify the description for grace period * Generated from 08ad8aa32278a0ffb8ef88220d87820e539e51a6 Add "Allocating","Upgrading" and "Compiling" enum into DeploymentResourceStatus. * [AutoPR appplatform/resource-manager] Rest API for the RP Microsoft.AppPlatform (#6027) * Generated from ca372100531fa406bab65736d59fbd6ffbb7eff4 Rest API for the RP Microsoft.AppPlatform * Generated from db71a1982bb8b1c6c26fd5008b2eb4c2e7924d12 Fix spellcheck. * Generated from b03312169035627c37a4aeaf8d8abe52b5e3d346 Resolve comment of changing operation "CheckNameAvailability" to "Services_CheckNameAvailability". * Generated from d2dd204e7e9c42c2fdfe3d1c11c253aeac06fa56 Add "Allocating","Upgrading" and "Compiling" enum into DeploymentResourceStatus. * Generated from b1da08951a0828c7f9e0678549b54d137e15961a (#6078) Removing contentions APIs from spec * [AutoPR cost-management/resource-manager] CostManagement RP- Introducing API Version 2019-10-01 plus adding Modern Commerce Account Scopes to Query and Dimension APIs. (#6026) * Generated from 2faed1c1199a8cecdfad39af476c06231bcb16ab Added new item for Go Package * Generated from a019ceb117fb91e8f279230976814e9a09da4bcb Fixed some minor issues * Generated from 79e2ea6d6989acb5ad53ba470c36112302b72ff3 Fixed some minor issues and also added missing description for properties * Generated from a1e3eb2f88e93b67dba788fe6abcd993658f8aae addressed some minor issues * Generated from fc698e277dbb465389999eacb1de8e633b1ee90f Resolved conflicts with DiskRP definition names for the DiskEncryptionSet (#7340) * updated swagger * updated swagger * Removed example files which are not relevant and added links to examples for newly added property * fixed the syntax error * updated swagger * fixed the sytax error * updated code * udpated swagger to create DiskEncryptionSet as new property to initiate * resolved conflicts and updated swagger due to conflict in the DiskRP definitions * Generated from a44cd8f82ea92dc521067dd93f772408bf735735 Disk 2019-07-01 version (#7280) * Copy compute.json and runCommands.json from 2019-03-01 to 2019-07-01 * changes to add publicIpAddressVersion field (#7173) * Add diskEncryptionSet in swagger compute-2019-07 * resolve semantic conflicts * Fix model conflicts * Resolve readme * Resolve readme * Resolve description conflicts * Improve description * Fix spell error * Add some examples. * fix model error * Generated from b2a86857b04fa5de515663f5fb4c500784ac3d16 (#6015) updating the description of storage account id * [AutoPR compute/resource-manager] Private temp (#6000) * Generated from 8e9ad09f3def46e2ce770b078bafc1d045f02666 Remove uniqueId in swagger * Generated from cbef264cc94187b8115c04c10d598383572b4eb0 Remove required for diskEncryptionSetId * Generated from cbef264cc94187b8115c04c10d598383572b4eb0 Remove required for diskEncryptionSetId * Generated from b95c1f587e09552c59e22558497befa04e739714 Update 2019-07 from latest 2019-03 update. * Generated from f9b0aa74ce36ad89f61118c811984f961d76e1b7 Update swagger (#7510) * Copy compute.json and runCommands.json from 2019-03-01 to 2019-07-01 * changes to add publicIpAddressVersion field (#7173) * Add diskEncryptionSet in swagger compute-2019-07 * resolve semantic conflicts * Fix model conflicts * Resolve readme * Resolve readme * Resolve description conflicts * Improve description * Fix spell error * Add some examples. * fix model error * Update examples * Remove uniqueId in swagger * Remove required for diskEncryptionSetId * Update principalId and tenantId to be readonly * small space fix * Generated from b70af9184bd96b16fb8430d8f495666c4e98566f Add default responses to new APIs. * Generated from 1175f21020d781bcd32041246ab560177fe3edcf Updating swagger spec to fix billing plans schema in catalogs response. * Generated from 032bb9b160526aab1a3ee4a5f876a1a987e399fe (#6108) Add 2019-06-01 in storage for golang * Generated from c0d6fb888aea1d3ed46becd97c9c427ac4bff5ec (#6058) Fix formatting. * [AutoPR containerservice/resource-manager] [WIP]add aks rotate-certs operation for 2019-08-01 (#6088) * Generated from 018a5faf169cc9f24c74a0e8c79587dce1171129 remove 200 return code * Generated from 965878ad7cb4fb6cb6d8cc7467ccbb000dc05a36 feat: use 204 instead of 200 * Generated from e08f7a3ba78fe8ab91efcdacde25ab986c6eca0f (#6104) updating sdk tags for 2019-10-01 api version (#7550) * updating sdk tags for 2019-10-01 api version * fixing ci errors * Generated from 6fe4f8016ca318dac93474cf69f5c111c0671454 (#6097) fix build * Generated from 90ee9c9a19e9c1aafce78f6232b9dbbed15434a8 (#5966) Refactory CognitiveServicesAccount model specification. * [AutoPR eventgrid/data-plane] update-event-schema-for-azure-storage-event-grid-notification-for-cr… (#6044) * Generated from 428c006d60546419a3b147a7fe9aa41d541ebe65 update-event-schema-for-azure-storage-event-grid-notification-for-create-delete-directory-and-rename-blob-directory * Generated from e1e58a72a322f6a32ebf891169674985771267f1 update according to pr reviews * Generated from 74a61c2feb1bc51623d2c11545aa52532ed20198 update according to pr reviews * [AutoPR eventgrid/resource-manager] EventGrid: New preview API version with support for additional destination types, CloudEvents 1.0, and batching support. (#6102) * Generated from 2f3e7dfe09d45258a6bd27be7fd4b7bbfb67a9bc Add new API version to README files. * Generated from 227d311a35e44441be395c70515641008f39942e Made a minor rename to one property (azureActiveDirectoryApplicationObjectId) based on feedback. * Generated from 3df959debc8a270d8f8c7af0de16d63938009fe3 (#6119) Fix error in luis runtime readme * Removed preview package for luis/runtime/v3.0 since it has been made stable * Fix profiles * Generated from b83db8b3bbb9c1a82591d08e46903a69c16a9334 (#6118) Change go sdk from tag 2019-07-01 to 2019-07 * Generated from 7fae08b6292f00a279b78836e707791df4aff421 (#6139) Changed to v3 * Generated from 41580d13b1a5ad6bccf689f546884361c988e98e (#6138) Update ResourceIdentity to EncryptionSetIdentity * Generated from e914f092dbc78e6d6319f88f5e59381c98cdd7ce (#6131) Add minimumTLSVersion field to CustomDomainHttpsParameters in latest CDN API * Generated from 60f4598fd519843b5b992024169d9af2eab5bdbe (#6089) Changed WebActivity and webhook activity auth to support both AKV and Secrets * Generated from c4bc95d6f727f0702a8b3a588c22dddf69d3ee1c (#6112) Update data set related documentation comments * Generated from 88d6a1d2d54b122af05cdeb24a995650dba91336 added missing part from 2019-08-01 * Generated from 05c0da669c2d1eda1061114132d86dab698bbbef adding swagger-to-sdk section * Generated from 980a4a36c65ce19efc0707a489f0c94e8e291455 1. Make PUT and PATCH against App resource supports async. 2. Remove "Processing" enum from DeploymentResourceProperties's status property. 3. Rename "Processing" enum to "Updating" for DeploymentResourceProperties's provisioningState. * Generated from dc469e5db850fadb8dc524f9b136ac262e1233cd (#6150) update readme * Generated from 2bf8ae41b02cc56508afee3fb34fc9e742d65776 (#6152) Update Db2LinkedServiceTypeProperties * Generated from 3a72ff129dfe06292f39bbfd2c98c414db71a41a (#6163) Update cache flush,start,stop and upgrade firmware examples to reflext 204 status code. * [AutoPR vmwarecloudsimple/resource-manager] [DO NOT MERGE] Update Microsoft.VMwareCloudSimple provider schema to Cloudsimple 44 release (#6033) * Generated from 5bf923e3f6c39ce577407eae30403dfe835c7542 Update Microsoft.VMwareCloudSimple provider schema to 44 release of Cloudsimple * Generated from fe16507aa9029e891a7286e4cf1eceeda1361063 Update Microsoft.VMwareCloudSimple provider schema to 44 release of Cloudsimple * Generated from 3569147399df87983f430b30bc5df237dad128ac Update Microsoft.VMwareCloudSimple provider schema to 44 release of Cloudsimple * Generated from 483ebc4c0b35d13b11df0de3369a94ba62923e31 Update Microsoft.VMwareCloudSimple provider schema to 44 release of Cloudsimple * [AutoPR cognitiveservices/data-plane/VisualSearch] Adding EU compliance not to description (#6133) * Generated from e8a4e07f183bfd751502cfbd4cae3dd09f033bdd Adding EU compliance not to description * Generated from 9cf846d5a6be1cc6628a67a33b1724983a7f3e47 fixed strong tag * Generated from edd3ba7afcbc2d1d338ccecd7c4e30549901a105 remove html tags for note * Generated from 2bb157c778ece564f26a975ba078b5fe6ff28e34 (#6173) Add 2019-10-01 * [AutoPR domainservices/resource-manager] Remove ReplicaSet Nested Resource (#6149) * Generated from 7dcde316dc95ae117ec71fdbfee6c8d52c7197a0 Remove ReplicaSet Nested Resource * Generated from a7ad4520230d029f214826fb7ca1f442e6c95e8e Fix readyonly properties * Generated from 0d43fb7bbb031d638118feb926c31f5314e47ed6 (#6176) update path for readme.go.md * Generated from latest swagger * Fix profile * Generated from d2f677ddddfe6d366ae1211824e8290a7f922d08 (#6193) Add examples with new SKUs * [AutoPR cognitiveservices/data-plane/LUIS/Authoring] Update LUIS Authoring v3.0-preview swagger (#6181) * Generated from 80df648593854cd3baa52059d3215a8dc42f4399 update swagger * Generated from 72db358677deccc675193fe7ffa90eddb8d3515d Change url * Generated from f2c66704326720f700ccc97eb1a8cff88dda7ccd Add missing field * Generated from ce4650ccf744b4c047d64f332e7f808f04f49706 Adding import changes * Generated from 6a69569b69d2d6187f8b5cf83a420dd71146ae4e Changes * [AutoPR cosmos-db/resource-manager] Cosmos DB patch and multi-api support (#5937) * Generated from 3b7573ec3a5b925233a621247469bdb58e1121f0 revert changes to old api swagger * Generated from b14e1323073f43c8e66e7ec59241def9f4ca1c96 rebasing and adding preview versions to sdk generation * Generated from 032d4a3bf0d9a3e2980c6fdce73b735deedd0a5c create or update method with guidance in the description * Generated from b278a4f58378d5a1acb4978aa7aced5a1fa85578 minor text changes * Generated from b278a4f58378d5a1acb4978aa7aced5a1fa85578 minor text changes * Generated from b278a4f58378d5a1acb4978aa7aced5a1fa85578 minor text changes * Generated from 97720b86a19cbb565b45d0093dbe6c4709b24d81 (#6187) Web activity changes for IR * [AutoPR serialconsole/resource-manager] Update serial console swagger (#5988) * Generated from 90f54203590d5ea2fdf89e7e0d9356e873cee4f9 Make operationId casing consistent * Generated from 4e3f06765eb98cfbcd2c60a58107674541d6bb97 Describe GetOperations output * Generated from 968a389fe7812e416c766ea135b59bffb053e7de Add x-ms-parameter-location * Generated from 36f34b427f92c73da8d76011a5c11c52fe8ea741 rename GetSerialConsoleDisabledResult to SerialConsoleStatus and update example accordingly * Generated from edb7b3d76a28d5d6212092de9dc63052f768d11b (#6183) Remove FailoverDatabaseReadableSecondary.json and include the extra parameter in FailoverDatabase.json instead * Generated from eb302b3cbd2722aec702778e5e597d28da25bd77 (#6148) [SRP] Add delete retention policy for blob container and file share * Generated from c606d0445f3b6135d1f59d222377566d29337f8f (#6165) Add Azure Security Center for IoT to productFilter enum * Generated from 68e8f31b27ce7a56c13ee87dfa1108997844e87b (#6185) Improve Network's descriptions * [AutoPR network/resource-manager] Fix the typo for actionsRequired in PrivateLinkServiceConnectionState. (#6195) * Generated from 91d1a252fb1849bfe991da44bfa0599d7324f3e4 Correct it for all example and for all other API versions. * Generated from 91d1a252fb1849bfe991da44bfa0599d7324f3e4 Correct it for all example and for all other API versions. * Generated from 02252f119ea54774c081750c905ba6ab1bdad99d (#6219) Fix wrong preview pacakge path * Remove wrong placed preview package * Generated from ccbae4f1c77f972fb8d3290f0ce3a64253d14bdf (#6161) updating with warm store features * Generated from 21bd41666567ed08878c3ee13e68c94cb0e0b987 (#6155) fix missing status code in SignalR * Generated from 11b24359ee5776d40b34555f12fab33a1bd1e5cb (#6208) Rename management.JSON to management.json * Generated from 4d767ed6efbd682422827b26374a2a331ccfc852 (#6202) Fix reference * Add back some legacy packages * Generated from latest swagger * Generated from a6daf4c9c7b1cfc18a382c62b4976f2e007a80ee (#6229) fix typo Diretory * Generated from 9b04684de70e634c8d4fa85d60138d4a1db84065 (#6238) Change type to object * Generated from 0210af2e5503488fd65957c1368f0794a7e782f0 (#6255) add PreferredIPVersion to ConnectivityCheck * Generated from 85d0f24f003c50b536c896138a30218c36cf310a (#6251) Addressing Spell check validation, changed the description * [AutoPR storage/resource-manager] [SRP][Fix Typo] DeleteRetentionPolicy is a common class that applies to both file and blob (#6250) * Generated from 6fdcf1e8098868c3b8216ac8e3babce62ad56d1e [SRP][Fix Typo] DeleteRetentionPolicy is a common class that applies to both file and blob * Generated from 6fdcf1e8098868c3b8216ac8e3babce62ad56d1e [SRP][Fix Typo] DeleteRetentionPolicy is a common class that applies to both file and blob * Generated from 1424fb90b9195f05229265d9b4147df55b3d5b6e (#6243) Fix * Generated from b6c83befb9732d44d75feb7ea12a8f198a853ec1 (#6260) Fix formatting * Generated from 3f60f47410cabe369be98ab8b7cd168756bfd5d9 (#6261) Add Microsoft.PolicyInsights/policyMetadata resource type spec * Generated from 84ce9e7f669adb50f2aaa62f3e12167edbea67e1 (#6269) Update spec and examples * Generated from 5384fe0c3361da843a2b55c9bb7aa55e494ab984 (#6263) [SRP] Remove a recent added property for container soft delete * Generated from 1e8bea7a181abb6181f79aa0319c293abbf95d7e (#6266) Updating examples * [AutoPR storage/resource-manager] [SRP] Add account sku to file/blob service response (#6267) * Generated from 4d9474e12075391cb75073fc6ae94ddd8eff4cdb Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs into getservicesku * Generated from 4d9474e12075391cb75073fc6ae94ddd8eff4cdb Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs into getservicesku * Generated from 041683be0cdb0426e8980f1a64cbce91241bee73 (#6247) [Datafactory] Enable SQL DW Copy Command * Generated from ce02bcef77b445fbe83c8bfdaa3fa15924efe56a (#6274) Merge branch 'master' into liran-dev-security-Microsoft.Security-2019-08-01 * Generated from 545db164471cc4f95bd68237971c43891a40d884 (#6277) remove locale from links * Generated from 0dc5634c5903bc4d13f936f6c39ccf0a6965de96 (#6278) remove locale from link * [AutoPR cdn/resource-manager] update description for UrlRewrite Action (#6268) * Generated from 2a23b07c8b2bfa82a1116c2c2280880c1241a8fc update comment * Generated from 9540dc91c52499e1c968bb715bffc9cc2577c557 update * Generated from 0cd1f96acaf7a73b29d816516c3b081b3f711799 (#6162) use secure link for documentation * Generated from 5fb6d44e6933230e3f88c488bdff8b22438b72cf (#6287) ANF-327 New swagger for 2019-08-01 API With upstream pull and rerun of prettier * Generated from f20be645a748cae6147290a5e091c348a9924902 (#6273) Code review fixes * [AutoPR sql/resource-manager] Update databaseVulnerabilityAssessments.json (#6272) * Generated from b2ff9bfa546b57e9905bb6f57322b1add1b29c17 Fixed documentation for storageAccountAccessKey parameter in SQL templates * Generated from b2ff9bfa546b57e9905bb6f57322b1add1b29c17 Fixed documentation for storageAccountAccessKey parameter in SQL templates * Generated from fa0523b043ef003c72ade04ddbf0a00f10d00c3b (#6307) Moving Priority and EvictionPolicy enum to the definitions section and adding 'Spot' priority * [AutoPR resources/resource-manager] Add new version for Microsoft.Solutions (#6253) * Generated from a91d692810c9a1298b0f6e5939659e5a5b0195e9 Fix PR comments. Remove update access since it should be internal only(used by PIM team) * Generated from 88ed32612d64850c82dd01b6980edcf7f0997c15 Capitalization to fix build. * Generated from 5be1da0610dd72272c94afd2c03601100de3b4df Read only properties * Generated from 98cefa2b437103affbcbfd6ce4c63061b24373ad Removed application definition artifact, which is internal and don't need a swagger. * [AutoPR cognitiveservices/data-plane/QnAMaker] [QnA Maker] Update API data fields. (#6289) * Generated from 10bb2e899dfa41564fa014275648f7e5daa17761 [QnA Maker] Update API data fields. * Generated from 670e771f95a96c8f9b94321fd499fba61bbba309 camel casing * Generated from 04ca3a88d31b7bda6982e2281216993545e61ff8 (#6313) Sql auditing swagger- update examples * Generated from cb0caf6c25ca5d28fdaeb005d6c9e53477176166 (#6296) Added enableCustomerAnalytics Flag to create SapMonitor * [AutoPR security/resource-manager] fix swagger completeness issue (#6311) * Generated from cd736d4605f25bafc1e210b4e83e6805863fe23f Merge pull request #2 from yibirnba2/swaggerCompletenessIssue Update operationId * Generated from e6e7573b8f17ee08d9ecc68eeaa525f51172f720 Merge pull request #3 from yibirnba2/swaggerCompletenessIssue Change operationId * Generated from cda6951d6e73baed7ab431b9a3c17aabfe7f2b02 (#6327) Fixing description for deleteEmptyServerFarm * Generated from 202c280ac47ce63c6d4480d4c271da833821378b (#6170) bump python sdk version to 0.3.0 * Generated from 59b008b02ef9d4b11bea303f3ba0a6d71c8985ad (#6333) Minor fix * Generated from 18dc9b0284cda48e71eea8526d1592ff7a44e985 (#6357) Add composite package for sql * Generated from 832cf0fea9b335b4b651208eabdfc01b80c274e0 (#6314) Update * [AutoPR compute/resource-manager] Adding "proximityPlacementGroup" property in "VirtualMachineScaleSetUpdateProperties". Adding "includeColocationStatus" optional flag as part of Get ProximityPlacementGroup URL (#6301) * Generated from 80c837ae06239705ae88dc34678c55b41be55334 making changes * Generated from eee3b6d1bddefc1777a676b10292593fdab97c3c making changes * [AutoPR containerservice/resource-manager] AKS: making the `count` field optiona; (#6302) * Generated from 2495a97b588dc0bef4afbae76f3df4461921073e 2019-10-01: allowing for `count` to be nil during updates * Generated from 27d03a14592691f08e01b1eb885a16cd74d9a9d5 kubernetes: removing the inclusiveMinumum since this is only applicable on creation * Generated from 1c3e1c696ee08a19ac689399f1b39dc4dd254780 (#6372) run prettier * [AutoPR compute/resource-manager] [Compute] Add patch spec for SharedImageGallery (#6320) * Generated from 861dd1bc2d11f46b781ac8e0ccd470bfe770125a change descriptions to updated * Generated from 50f8e2ff68772de9ca3bbd01baa59d1d8989a7b8 updateresource * Generated from c53057ddac2e6b3be44ff07da16ab09cdd77f936 Added example and id/type to UpdateResource * Generated from a5ef75d4927df2d8a8c967b993926766254cff30 add name * Generated from fd8f83b368a420de1057b009b7efeb5988d94cfb make gallery json pretty * Generated from 6be0dfe37350941e2f186d620c18a33615f0d72b (#6378) add AKS listClusterMonitoringUserCredential API * [AutoPR containerregistry/resource-manager] Panwang/taskruns (#6303) * Generated from 0aff28cdc236df42db680cf238d0d36f0c5ad5d3 Remove default response from swagger * Generated from c21bed5bdc9a77c0572d12e73faa3557c89b6cd9 add missing type * Generated from 9db43d8870a318c9ce12267b73aa4aac3f09b1b2 Revert changes for these two files. * Generated from 19671edd71bf89d2df6e25695e48d56b57d0ea98 Update error description * Generated from 6ac6e268eae9c51c39ffa3313ddd9f4fc4543487 (#6403) [SRP] Increase the max file share quota for LFS * Generated from e3a597fe31e3fe840445de05facd9a24b937fc9c (#6401) Merge remote-tracking branch 'upstream/master' * Generated from 732ab86bf2b6d48a82f71da16cda38426bd6f4e6 Maintenance: add readme.java.md with tags * Generated from f0e72d897029d6e7fccf7b99b696589864def0da removed resource conflict * Generated from 4dd708660b1fe07aa7ac0f08dc62d15ddc39d178 add version 2019-08-01 to preview * Generated from 7b90d52bfb2ef86c16b9ef23bec841feec127606 Merge branch 'master' into cosmos-python-afterscripts * Generated from 5084ecf452a19f4d2f40fc9f7ef1e823be81afcd rearranged tests * Generated from 9bf096e9a9c7322fd801364235daddd062879527 Updating the version to 2019-11-01 Updating the version to 2019-11-01 * Generated from 9bf096e9a9c7322fd801364235daddd062879527 Updating the version to 2019-11-01 Updating the version to 2019-11-01 * [AutoPR policyinsights/resource-manager] Fix Microsoft.policyInsights/policyMetadata query parameter (#6385) * Generated from a989d1c3759e3a241d2a3011c27b3988815a6300 Fix Microsoft.policyInsights/policyMetadata query parameter * Generated from b57d760f98cd19cd4164f61e976f61a9759b1860 Fix slim metadata properties * Generated from db239cc46757350995e9550c606b838278930d36 (#6343) customer lockbox preview swagger * Generated from aa17e4ecd833c5d63614fa55beb123bea03b37b4 (#6376) Adding MaxLength Validation to eventHubName * [AutoPR cdn/resource-manager] [CDN] Copy changes from API version 2019-04-15 into 2019-06-15-preview. (#6400) * Generated from 9eb5ce2a840c1c665d36a6da2a436ae5b0310435 Sync latest changes from CDN 2019-04-15 to 2019-06-15-preview * Generated from 05393216e4ed62e704d2a1dae890a3f9f1645ed5 Sync latest changes from CDN 2019-04-15 to 2019-06-15-preview * Generated from dcc8dc3f2f2654a45ef53be71368be83eaf44ebb (#6442) fix api method * [AutoPR datafactory/resource-manager] Update MySqlLinkedServiceTypeProperties and PostgreSqlLinkedServiceTy… (#6326) * Generated from 515979ad8a4a728feb04fcdcc61785c1f7895914 Update MySqlLinkedServiceTypeProperties and PostgreSqlLinkedServiceTypeProperties connectionString type object * Generated from a1ecfec4e43b84693ac05cf40b12edf707e13b28 Update * Generated from a1ecfec4e43b84693ac05cf40b12edf707e13b28 Update * [AutoPR resourcegraph/resource-manager] Microsoft.ResoureGraph/queries path typo fix (#6418) * Generated from 257f27fb2d50e20e7a0b899adc24123bb590cd62 typo fix * Generated from 658b7b9a0b033e3c3996847c45824546e4990c65 making validation pass * Generated from 469e1a6305c280790c34e2b09d6b4eaaebc6d5da (#6423) Adding incident info to GetBookmarks * Generated from latest swagger * Simple grammar fix * Generated from d62eb16808d56932d9ee52faec9af253d36b1f09 (#6471) Change the order of parameters in swagger to comply the convention in SDK * Generated from e728666e3d48dcd45bcc643b4e2e42ae4c48ada6 (#6474) Changed some orders that missed by previous commit * Generated from 0de57e1ab5e1425affd87fcd66931cdedd0aa7b6 (#6486) [Storage] Fix the share max quota to right value 102400 * Generated from 3786c70ea058829697c199f9d9c68264ed6e965e (#6469) fixes * Generated from f89b3577784d34e4da75467c09dc8dc036d959a8 (#6459) update swagger for public ip * [AutoPR datafactory/resource-manager] Update Salesforce LinkedService Add ApiVersion (#6455) * Generated from 9dde2e58adb477a3b8716ab374b9bd82c139e278 Update Salesforce LinkedService Add ApiVersion * Generated from 9dde2e58adb477a3b8716ab374b9bd82c139e278 Update Salesforce LinkedService Add ApiVersion * Generated from d23b8338e812c3eb4da964c1ad8ca7fe8efc97f4 (#6470) [DataFactory]Support partition of SAP HANA * Generated from 7badadb92e5ba5d471ed8b8158be54ea7b451ccd (#6476) Revert "Update Salesforce LinkedService Add ApiVersion (#7865)" This reverts commit 3b494714b0ef2ba3e720f97d09c97de89873066f. * [AutoPR servicefabric/data-plane] Swagger specification for Service Fabric runtime version 7.0 (#6407) * Generated from 6f31bc763a8f1b0aebacc3d263e4a30f714cd335 updated read me s. * Generated from fa67c1c55a4dd7d8acd3839f1113b9029622361a updated propery custom-words.txt * [AutoPR mysql/resource-manager] Support MySQL ServerVersion 8.0 (#6451) * Generated from 79969c14e7081ce9e76d370b33fe1f65cc20196e support mysql ServerVersion 8.0 * Generated from 880ac9bc1c136104465964cd4d21d3901abecf77 Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs into support-mysql-ver-8.0 * [AutoPR cosmos-db/resource-manager] Fix response structure (#6365) * Generated from 49871ca03fed5f6e6d5868c5fc779abb07f38e1d Fix response structure * Generated from ee13f8f1b953ef574227af8d0d6296aedad206a6 Add new properties and fix CI * Generated from c89a971a7edf5c22aa990089bc59f68a6c61747b Remove unrelated properties * Generated from 95419ab0fc19466e62f05035c84d4f6b7bc80cb9 Remove unrelated properties * Generated from 0a82cc765a42ef6b077b887d153075923fcc7f56 (#6481) Add resource layer in the throughput read response * Regenerate from latest swagger * [AutoPR cognitiveservices/data-plane/Personalizer] Adding current personalizer.json with all apis (#6156) * Generated from 4c3b969794c2290e5ce635f2e9ea76fc41679f31 fix readme.md * Generated from 8aa89593dc01488bff150b67219d6f9910da37ee Merge branch 'master' into dwaijam/personalzierstable * Generated from 8a5afd3b0ba8c1aec3f2223ef9414e3177ad5c52 update swager * Generated from 68033bcb14c12419b7183afe21b552e06f6f2d34 resolve API review board feedback * Generated from 29b40e15816bd76f999b409e40c37f3eaf871784 fix typo * Generated from 173935fb64f81a195e033c84b3fb7e3128997b26 delete model, policy -> reset model, policy * Generated from a9771ff183295912f33602791bc25559bc7f1018 made the model vaildation pass * Generated from da48a54cf0068154a6ac389f781c008887731b92 Remove readonly * Update code generator version * containerService2017-07-01 * containerService2017-08-31 * containerServices2017-09-30 * container service 2018-03-31 * container service 2019-02-01 * container service 2019-04-30 * container service 2019-06-01 * container service 2019-08-01 * container service 2019-10-01 * container service 2019-11-01 * container service 2018-08-01-preview * container service 2018-09-30-preview * container service 2019-09-30-preview * deploymentmanager 2019-11-01-preview * policyinsights 2018-07-01-preview * policyinsights 2019-10-01 * Generate profile * Generated from latest swagger * v38.0.0 Co-authored-by: Azure SDK Bot Co-authored-by: Joel Hendrix Co-authored-by: Steve Gore * Internal master (#6790) * merge ./sdk/internal package to master * track2 CI fixes (#6760) prevent track1 CI from running on track2 changes omit track2 content from track1 CI added pipeline specific to track2 * copy azcore to master (#6791) update internal module dependency remove golint from CI * v38.1.0 (#6776) * Generated from 1998d0a6549d02cceed76351dbbbfc131382fa80 (#6757) Adding all files, examples (removed the readonly from encryption services for table and queue) * Generate new profiles (#6775) * Generated from 388db566203544de71b9f5fb0d6c6a4c54c79b6d (#6782) Add new api-versions for frontdoor * Generated from 388db566203544de71b9f5fb0d6c6a4c54c79b6d (#6783) Add new api-versions for frontdoor * Generated from 388db566203544de71b9f5fb0d6c6a4c54c79b6d (#6784) Add new api-versions for frontdoor * Generated from 388db566203544de71b9f5fb0d6c6a4c54c79b6d (#6785) Add new api-versions for frontdoor * Generated from 388db566203544de71b9f5fb0d6c6a4c54c79b6d (#6786) Add new api-versions for frontdoor * Generate profiles (#6787) * v38.1.0 Co-authored-by: openapi-sdkautomation[bot] <37845953+openapi-sdkautomation[bot]@users.noreply.github.com> * add go1.13 build constraints to track2 (#6968) * add go1.13 build constraints to track2 exclude all track2 source files from the build for versions of Go earlier than 1.13. add track2 back to track1 CI to ensure constraints work * fix grep, exclude track2 tests * add verbose flag to vet * Add support for marshalling/unmarshalling JSON (#6969) * Add support for marshalling/unmarshalling JSON Removed Response.Payload field, replacing it with an internal implementation nopClosingBytesReader. * exit early when unmarshalling if there's no payload * v38.2.0 (#6970) * Generated from 4bc9f1d4e2d95c6b43e61e59740aae7a79241e3d (#6774) add the required property on inputschemamapping * 2020-04-preview (#6885) * Generated from b35bc2bb9272e1d61d5024394f582b01a56cbf03 (#6894) added missing swagger-to-sdk * Generated from 30ec96c398eaa29469e127fdd84e9484a6d76d4c (#6812) Add a new api-version for storage sync * Generated from 989084ff956004c5d49b097eee9fd58d3feaa469 (#6716) Add go sdk for attestation * Re-generating profiles (#6895) * v38.2.0 Co-authored-by: openapi-sdkautomation[bot] <37845953+openapi-sdkautomation[bot]@users.noreply.github.com> Co-authored-by: Arcturus * Some refactoring in azcore (#6982) Added DefaultRetryOptions() to create initialized default options. Removed Response.CheckStatusCode() as it can't create custom errors. * add test results and code coverage to track2 CI (#6980) * Sync eng/common directory with azure-sdk-tools repository (#7153) Co-authored-by: Azure SDK Bot Co-authored-by: Joel Hendrix Co-authored-by: Nikhil Shampur Co-authored-by: Zach Rathbun Co-authored-by: Simon Davies Co-authored-by: Shiwei Zhang Co-authored-by: Dan Schulte Co-authored-by: Torchz Co-authored-by: Eric Paris Co-authored-by: Steve Gore Co-authored-by: openapi-sdkautomation[bot] <37845953+openapi-sdkautomation[bot]@users.noreply.github.com> Co-authored-by: WS <20408400+WodansSon@users.noreply.github.com> Co-authored-by: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> --- .github/no-response.yml | 13 + CHANGELOG.md | 2026 +++++++++++------ CODEOWNERS | 12 + azure-pipelines.yml | 17 +- doc.go | 26 + eng/common/README.md | 12 + sdk/azcore/core.go | 114 + sdk/azcore/credential.go | 52 + sdk/azcore/doc.go | 164 ++ sdk/azcore/error.go | 53 + sdk/azcore/go.mod | 5 + sdk/azcore/go.sum | 2 + sdk/azcore/headers.go | 29 + sdk/azcore/log.go | 86 + sdk/azcore/log_test.go | 50 + sdk/azcore/policy_anonymous_credential.go | 18 + .../policy_anonymous_credential_test.go | 30 + sdk/azcore/policy_body_download.go | 73 + sdk/azcore/policy_body_download_test.go | 51 + sdk/azcore/policy_logging.go | 160 ++ sdk/azcore/policy_logging_test.go | 116 + sdk/azcore/policy_retry.go | 208 ++ sdk/azcore/policy_retry_test.go | 251 ++ sdk/azcore/policy_telemetry.go | 53 + sdk/azcore/policy_telemetry_test.go | 44 + sdk/azcore/policy_unique_request_id.go | 26 + sdk/azcore/policy_unique_request_id_test.go | 45 + sdk/azcore/progress.go | 78 + sdk/azcore/progress_test.go | 59 + sdk/azcore/request.go | 196 ++ sdk/azcore/request_test.go | 81 + sdk/azcore/response.go | 147 ++ sdk/azcore/response_test.go | 105 + sdk/azcore/transport_default_http_client.go | 40 + sdk/azcore/version.go | 14 + sdk/ci.yml | 80 + sdk/internal/atomic/atomic.go | 78 + sdk/internal/go.mod | 3 + sdk/internal/mock/mock.go | 207 ++ sdk/internal/uuid/uuid.go | 89 + .../containerservice/containerservices.go | 60 +- .../2017-07-01/containerservice/models.go | 67 +- .../2017-08-31/containerservice/client.go | 2 +- .../containerservice/containerservices.go | 60 +- .../containerservice/managedclusters.go | 31 +- .../2017-08-31/containerservice/models.go | 201 +- .../2017-08-31/containerservice/version.go | 2 +- .../2017-09-30/containerservice/client.go | 2 +- .../containerservice/containerservices.go | 60 +- .../containerservice/managedclusters.go | 31 +- .../2017-09-30/containerservice/models.go | 201 +- .../2017-09-30/containerservice/version.go | 2 +- .../2018-03-31/containerservice/client.go | 2 +- .../containerservice/containerservices.go | 60 +- .../containerservice/managedclusters.go | 39 +- .../2018-03-31/containerservice/models.go | 201 +- .../2018-03-31/containerservice/version.go | 2 +- tools/indexer/main.go | 18 +- tools/pkgchk/cmd/root.go | 70 +- tools/pkgchk/cmd/root_test.go | 92 + tools/testpkgs/scenrioa/foo/client.go | 29 + .../scenrioa/foo/fooapi/interfaces.go | 11 + tools/testpkgs/scenrioa/foo/gateways.go | 16 + tools/testpkgs/scenrioa/foo/go.mod | 3 + tools/testpkgs/scenrioa/foo/model.go | 12 + tools/testpkgs/scenrioa/foo/version.go | 28 + tools/testpkgs/scenriob/foo/client.go | 29 + .../scenriob/foo/fooapi/interfaces.go | 11 + tools/testpkgs/scenriob/foo/gateways.go | 16 + tools/testpkgs/scenriob/foo/go.mod | 3 + tools/testpkgs/scenriob/foo/model.go | 12 + tools/testpkgs/scenriob/foo/v2/client.go | 29 + .../scenriob/foo/v2/fooapi/interfaces.go | 11 + tools/testpkgs/scenriob/foo/v2/gateways.go | 16 + tools/testpkgs/scenriob/foo/v2/go.mod | 3 + tools/testpkgs/scenriob/foo/v2/model.go | 12 + tools/testpkgs/scenriob/foo/v2/version.go | 28 + tools/testpkgs/scenriob/foo/version.go | 28 + .../scenrioc/mgmt/2019-10-11/foo/client.go | 29 + .../mgmt/2019-10-11/foo/fooapi/interfaces.go | 11 + .../scenrioc/mgmt/2019-10-11/foo/gateways.go | 16 + .../scenrioc/mgmt/2019-10-11/foo/go.mod | 3 + .../scenrioc/mgmt/2019-10-11/foo/model.go | 12 + .../scenrioc/mgmt/2019-10-11/foo/version.go | 28 + .../scenriod/mgmt/2019-10-11/foo/client.go | 29 + .../mgmt/2019-10-11/foo/fooapi/interfaces.go | 11 + .../scenriod/mgmt/2019-10-11/foo/gateways.go | 16 + .../scenriod/mgmt/2019-10-11/foo/go.mod | 3 + .../scenriod/mgmt/2019-10-11/foo/model.go | 12 + .../scenriod/mgmt/2019-10-11/foo/v2/client.go | 29 + .../2019-10-11/foo/v2/fooapi/interfaces.go | 11 + .../mgmt/2019-10-11/foo/v2/gateways.go | 16 + .../scenriod/mgmt/2019-10-11/foo/v2/go.mod | 3 + .../scenriod/mgmt/2019-10-11/foo/v2/model.go | 12 + .../mgmt/2019-10-11/foo/v2/version.go | 28 + .../scenriod/mgmt/2019-10-11/foo/version.go | 28 + .../scenrioe/mgmt/2019-10-11/foo/client.go | 29 + .../mgmt/2019-10-11/foo/fooapi/interfaces.go | 11 + .../scenrioe/mgmt/2019-10-11/foo/gateways.go | 16 + .../scenrioe/mgmt/2019-10-11/foo/go.mod | 3 + .../scenrioe/mgmt/2019-10-11/foo/model.go | 12 + .../scenrioe/mgmt/2019-10-11/foo/v2/client.go | 29 + .../2019-10-11/foo/v2/fooapi/interfaces.go | 11 + .../mgmt/2019-10-11/foo/v2/gateways.go | 16 + .../scenrioe/mgmt/2019-10-11/foo/v2/go.mod | 3 + .../scenrioe/mgmt/2019-10-11/foo/v2/model.go | 12 + .../mgmt/2019-10-11/foo/v2/version.go | 28 + .../scenrioe/mgmt/2019-10-11/foo/v3/client.go | 29 + .../2019-10-11/foo/v3/fooapi/interfaces.go | 11 + .../mgmt/2019-10-11/foo/v3/gateways.go | 16 + .../scenrioe/mgmt/2019-10-11/foo/v3/go.mod | 3 + .../scenrioe/mgmt/2019-10-11/foo/v3/model.go | 12 + .../mgmt/2019-10-11/foo/v3/version.go | 28 + .../scenrioe/mgmt/2019-10-11/foo/version.go | 28 + version/version.go | 2 +- 115 files changed, 5899 insertions(+), 1110 deletions(-) create mode 100644 .github/no-response.yml create mode 100644 CODEOWNERS create mode 100644 doc.go create mode 100644 eng/common/README.md create mode 100644 sdk/azcore/core.go create mode 100644 sdk/azcore/credential.go create mode 100644 sdk/azcore/doc.go create mode 100644 sdk/azcore/error.go create mode 100644 sdk/azcore/go.mod create mode 100644 sdk/azcore/go.sum create mode 100644 sdk/azcore/headers.go create mode 100644 sdk/azcore/log.go create mode 100644 sdk/azcore/log_test.go create mode 100644 sdk/azcore/policy_anonymous_credential.go create mode 100644 sdk/azcore/policy_anonymous_credential_test.go create mode 100644 sdk/azcore/policy_body_download.go create mode 100644 sdk/azcore/policy_body_download_test.go create mode 100644 sdk/azcore/policy_logging.go create mode 100644 sdk/azcore/policy_logging_test.go create mode 100644 sdk/azcore/policy_retry.go create mode 100644 sdk/azcore/policy_retry_test.go create mode 100644 sdk/azcore/policy_telemetry.go create mode 100644 sdk/azcore/policy_telemetry_test.go create mode 100644 sdk/azcore/policy_unique_request_id.go create mode 100644 sdk/azcore/policy_unique_request_id_test.go create mode 100644 sdk/azcore/progress.go create mode 100644 sdk/azcore/progress_test.go create mode 100644 sdk/azcore/request.go create mode 100644 sdk/azcore/request_test.go create mode 100644 sdk/azcore/response.go create mode 100644 sdk/azcore/response_test.go create mode 100644 sdk/azcore/transport_default_http_client.go create mode 100644 sdk/azcore/version.go create mode 100644 sdk/ci.yml create mode 100644 sdk/internal/atomic/atomic.go create mode 100644 sdk/internal/go.mod create mode 100644 sdk/internal/mock/mock.go create mode 100644 sdk/internal/uuid/uuid.go create mode 100644 tools/pkgchk/cmd/root_test.go create mode 100644 tools/testpkgs/scenrioa/foo/client.go create mode 100644 tools/testpkgs/scenrioa/foo/fooapi/interfaces.go create mode 100644 tools/testpkgs/scenrioa/foo/gateways.go create mode 100644 tools/testpkgs/scenrioa/foo/go.mod create mode 100644 tools/testpkgs/scenrioa/foo/model.go create mode 100644 tools/testpkgs/scenrioa/foo/version.go create mode 100644 tools/testpkgs/scenriob/foo/client.go create mode 100644 tools/testpkgs/scenriob/foo/fooapi/interfaces.go create mode 100644 tools/testpkgs/scenriob/foo/gateways.go create mode 100644 tools/testpkgs/scenriob/foo/go.mod create mode 100644 tools/testpkgs/scenriob/foo/model.go create mode 100644 tools/testpkgs/scenriob/foo/v2/client.go create mode 100644 tools/testpkgs/scenriob/foo/v2/fooapi/interfaces.go create mode 100644 tools/testpkgs/scenriob/foo/v2/gateways.go create mode 100644 tools/testpkgs/scenriob/foo/v2/go.mod create mode 100644 tools/testpkgs/scenriob/foo/v2/model.go create mode 100644 tools/testpkgs/scenriob/foo/v2/version.go create mode 100644 tools/testpkgs/scenriob/foo/version.go create mode 100644 tools/testpkgs/scenrioc/mgmt/2019-10-11/foo/client.go create mode 100644 tools/testpkgs/scenrioc/mgmt/2019-10-11/foo/fooapi/interfaces.go create mode 100644 tools/testpkgs/scenrioc/mgmt/2019-10-11/foo/gateways.go create mode 100644 tools/testpkgs/scenrioc/mgmt/2019-10-11/foo/go.mod create mode 100644 tools/testpkgs/scenrioc/mgmt/2019-10-11/foo/model.go create mode 100644 tools/testpkgs/scenrioc/mgmt/2019-10-11/foo/version.go create mode 100644 tools/testpkgs/scenriod/mgmt/2019-10-11/foo/client.go create mode 100644 tools/testpkgs/scenriod/mgmt/2019-10-11/foo/fooapi/interfaces.go create mode 100644 tools/testpkgs/scenriod/mgmt/2019-10-11/foo/gateways.go create mode 100644 tools/testpkgs/scenriod/mgmt/2019-10-11/foo/go.mod create mode 100644 tools/testpkgs/scenriod/mgmt/2019-10-11/foo/model.go create mode 100644 tools/testpkgs/scenriod/mgmt/2019-10-11/foo/v2/client.go create mode 100644 tools/testpkgs/scenriod/mgmt/2019-10-11/foo/v2/fooapi/interfaces.go create mode 100644 tools/testpkgs/scenriod/mgmt/2019-10-11/foo/v2/gateways.go create mode 100644 tools/testpkgs/scenriod/mgmt/2019-10-11/foo/v2/go.mod create mode 100644 tools/testpkgs/scenriod/mgmt/2019-10-11/foo/v2/model.go create mode 100644 tools/testpkgs/scenriod/mgmt/2019-10-11/foo/v2/version.go create mode 100644 tools/testpkgs/scenriod/mgmt/2019-10-11/foo/version.go create mode 100644 tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/client.go create mode 100644 tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/fooapi/interfaces.go create mode 100644 tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/gateways.go create mode 100644 tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/go.mod create mode 100644 tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/model.go create mode 100644 tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v2/client.go create mode 100644 tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v2/fooapi/interfaces.go create mode 100644 tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v2/gateways.go create mode 100644 tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v2/go.mod create mode 100644 tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v2/model.go create mode 100644 tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v2/version.go create mode 100644 tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v3/client.go create mode 100644 tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v3/fooapi/interfaces.go create mode 100644 tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v3/gateways.go create mode 100644 tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v3/go.mod create mode 100644 tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v3/model.go create mode 100644 tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v3/version.go create mode 100644 tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/version.go diff --git a/.github/no-response.yml b/.github/no-response.yml new file mode 100644 index 000000000000..bacbe1631ef1 --- /dev/null +++ b/.github/no-response.yml @@ -0,0 +1,13 @@ +# Configuration for probot-no-response - https://github.com/probot/no-response + +# Number of days of inactivity before an Issue is closed for lack of response +daysUntilClose: 14 +# Label requiring a response +responseRequiredLabel: customer-response-expected +# Comment to post when closing an Issue for lack of response. Set to `false` to disable +closeComment: > + This issue has been automatically closed because there has been no response + to our request for more information from the original author. With only the + information that is currently in the issue, we don't have enough information + to take action. Please reach out if you have or find the answers we need so + that we can investigate further. \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 3746de322502..e77bf1ad3f3f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,792 +1,1320 @@ # CHANGELOG -## `v14.3.0` +## `v38.2.0` -### Changes +### New Packages + +| Package Name | API Version | +| -----------: | :---------: | +| attestation | 2018-09-01-preview | +| eventgrid | 2020-04-01-preview | +| storagesync | 2019-06-01 | -- Add exports for max file range and sizes for files in storage. -- Updated README regarding blob storage support. -- Add godoc indexer tool. -- Add apidiff tool. +## `v38.1.0` + +### New Packages + +| Package Name | API Version | +| -----------: | :---------: | +| frontdoor | 2019-10-01
2019-11-01 | + +### Updated Packages + +| Package Name | API Version | +| -----------: | :---------: | +| storage | 2019-06-01 | + +## `v38.0.0` + +### New Packages + +| Package Name | API Version | +| -----------: | :---------: | +| containerregistry | 2019-12-01-preview | +| databoxedge | 2019-08-01 | +| machinelearningservices | 2020-01-01 | +| netapp | 2019-10-01 | +| windowsesu | 2019-09-16-preview | + +### Updated Packages + +| Package Name | API Version | +| -----------: | :---------: | +| anomalydetector | v1.0 | +| hdinsight | 2015-03-01-preview
2018-06-01-preview | +| insights | 2015-05-01 | +| media | 2018-07-01 | +| personalizer | v1.0 | +| resourcehealth | 2017-07-01 | +| servicebus | 2018-01-01-preview | +| siterecovery | 2018-07-10 | + +### BreakingChanges + +| Package Name | API Version | +| -----------: | :---------: | +| authorization | 2015-07-01
2017-10-01-preview | +| blueprint | 2018-11-01-preview | +| compute | 2018-10-01
2019-03-01
2019-07-01 | +| containerservice | 2019-11-01 | +| customerlockbox | 2018-02-28-preview | +| databricks | 2018-04-01 | +| datafactory | 2018-06-01 | +| features | 2019-07-01 | +| managedservices | 2018-06-01
2019-04-01 | +| resources | 2015-11-01
2016-02-01
2016-07-01
2016-09-01
2017-05-10
2018-02-01
2018-05-01
2019-03-01
2019-05-01 | +| security | v1.0
v2.0
v3.0 | +| servicefabric | 2017-07-01-preview
2018-02-01
2019-03-01
2019-03-01-preview | +| sql | v3.0 | +| textanalytics | v2.1 | + +## `v37.2.0` + +### New Packages + +| Package Name | API Version | +| -----------: | :---------: | +| containerservice | 2019-11-01 | +| deploymentmanager | 2019-11-01-preview | + +### Updated Packages + +| Package Name | API Version | +| -----------: | :---------: | +| containerservice | 2017-07-01
2017-08-31
2017-09-30
2018-03-31 | +| machinelearningservices | 2019-11-01 | + +## `v37.1.0` + +### Updated Packages + +| Package Name | API Version | +| -----------: | :---------: | +| iotcentral | 2018-09-01 | + +## `v37.0.0` + +### New Packages + +| Package Name | API Version | +| -----------: | :---------: | +| azuredata | 2017-03-01-preview | +| backup | 2019-05-13 | +| customerlockbox | 2018-02-28-preview | +| managedapplications | 2019-07-01 | +| servicefabric | 7.0 | +| siterecovery | 2018-07-10 | + +### Updated Packages + +| Package Name | API Version | +| -----------: | :---------: | +| azurestack | 2017-06-01 | +| compute | 2018-04-01
2018-06-01
2018-10-01
2019-03-01 | +| containerregistry | 2019-06-01-preview | +| containerservice | 2019-10-01 | +| datashare | 2018-11-01-preview
2019-11-01 | +| hanaonazure | 2017-11-03-preview | +| mysql | 2017-12-01
2017-12-01-preview | +| network | 2019-09-01 | +| policyinsights | 2019-10-01 | +| postgresql | 2017-12-01-preview | +| qnamaker | v4.0 | +| securityinsight | 2017-08-01-preview | +| sql | 2015-05-01-preview
2018-06-01-preview | +| sqlvirtualmachine | 2017-03-01-preview | + +### BreakingChanges + +| Package Name | API Version | +| -----------: | :---------: | +| appplatform | 2019-05-01-preview | +| backup | 2017-07-01 | +| cdn | 2019-06-15-preview | +| compute | 2019-07-01 | +| datafactory | 2018-06-01 | +| documentdb | 2019-08-01
2019-08-01-preview | +| network | 2019-08-01 | +| resourcegraph | 2018-09-01 | +| security | v1.0
v2.0
v3.0 | +| sql | 2017-03-01-preview
v3.0 | +| storage | 2019-06-01 | +| virtualmachineimagebuilder | 2019-05-01-preview | + +## `v36.2.0` + +### New Packages + +| Package Name | API Version | +| -----------: | :---------: | +| media | 2019-05-01-preview | +| netapp | 2019-08-01 | +| sql | v3.0 | + +### Updated Packages + +| Package Name | API Version | +| -----------: | :---------: | +| containerservice | 2019-06-01 | + +## `v36.1.0` + +### Updated Packages + +| Package Name | API Version | +| -----------: | :---------: | +| eventgrid | 2020-01-01-preview | + +## `v36.0.0` + +### New Packages + +| Package Name | API Version | +| -----------: | :---------: | +| documentdb | 2019-08-01-preview | +| machinelearningservices | 2019-11-01 | +| managementgroups | 2019-11-01 | +| policy | 2019-09-01 | +| workspaces | 2019-10-01 | + +### Updated Packages + +| Package Name | API Version | +| -----------: | :---------: | +| datafactory | 2018-06-01 | +| hanaonazure | 2017-11-03-preview | +| securityinsight | 2017-08-01-preview | +| storage | 2019-06-01 | + +### BreakingChanges + +| Package Name | API Version | +| -----------: | :---------: | +| authoring | luis | +| network | 2019-04-01
2019-06-01
2019-07-01
2019-08-01
2019-09-01 | +| serialconsole | 2018-05-01 | +| signalr | 2018-10-01 | +| sql | 2018-06-01-preview | +| timeseriesinsights | 2018-08-15-preview | + +### Removed Packages + +| Package Name | API Version | +| -----------: | :---------: | +| documentdb | 2019-08-01-preview | + +## `v35.1.0` + +### New Packages + +| Package Name | API Version | +| -----------: | :---------: | +| documentdb | 2019-08-01
2019-08-01-preview | + +## `v35.0.0` + +### New Packages + +| Package Name | API Version | +| -----------: | :---------: | +| appconfiguration | 2019-10-01 | +| authoring | luis | +| containerservice | 2019-09-30-preview
2019-10-01 | +| costmanagement | 2019-10-01
2019-10-01 | +| datashare | 2019-11-01 | +| hybridcompute | 2019-03-18-preview | +| peering | 2019-09-01-preview | +| policyinsights | 2019-10-01 | +| storagecache | 2019-11-01 | +| training | customvision | + +### Updated Packages + +| Package Name | API Version | +| -----------: | :---------: | +| advisor | 2017-03-31
2017-04-19 | +| apimanagement | 2019-01-01 | +| compute | 2018-10-01 | +| containerservice | 2019-08-01 | +| datafactory | 2017-09-01-preview | +| eventgrid | 2018-01-01 | +| eventhub | 2018-01-01-preview | +| maps | 2017-01-01-preview | +| mysql | 2017-12-01-preview | +| postgresql | 2017-12-01-preview | +| qnamakerruntime | v4.0 | +| sqlvirtualmachine | 2017-03-01-preview | +| web | 2018-02-01 | + +### BreakingChanges + +| Package Name | API Version | +| -----------: | :---------: | +| aad | 2017-01-01
2017-06-01 | +| appplatform | 2019-05-01-preview | +| backup | 2016-12-01
2017-07-01 | +| cdn | 2019-04-15 | +| cognitiveservices | 2017-04-18 | +| compute | 2019-03-01
2019-07-01 | +| containerregistry | 2017-10-01
2018-02-01
2018-09-01 | +| datafactory | 2018-06-01 | +| datashare | 2018-11-01-preview | +| hdinsight | 2015-03-01-preview
2018-06-01-preview | +| operationalinsights | 2015-03-20 | +| reservations | 2019-04-01 | +| security | v3.0 | +| servicebus | 2017-04-01 | +| sql | 2014-04-01 | +| storage | 2019-04-01 | +| vmwarecloudsimple | 2019-04-01 | +| web | 2019-08-01 | + +### Removed Packages + +| Package Name | API Version | +| -----------: | :---------: | +| sql | 2018-06-15-preview | + +## `v34.4.0` + +### New Packages + +| Package Name | API Version | +| -----------: | :---------: | +| eventgrid | 2020-01-01-preview | +| sql | 2018-06-15-preview | + +## `v34.3.0` + +### New Packages + +| Package Name | API Version | +| -----------: | :---------: | +| network | 2019-09-01 | +| runtime | luis | +| storage | 2019-06-01 | + +### BreakingChanges + +| Package Name | API Version | +| -----------: | :---------: | +| datamigration | 2018-07-15-preview | + +### Removed Packages + +| Package Name | API Version | +| -----------: | :---------: | +| runtime | luis | + +## `v34.2.0` + +### New Packages + +| Package Name | API Version | +| -----------: | :---------: | +| appplatform | 2019-05-01-preview | +| web | 2019-08-01 | + +## `v34.1.0` + +### New Packages + +| Package Name | API Version | +| -----------: | :---------: | +| features | 2019-07-01 | +| network | 2019-08-01 | +| affinitygroup | management | +| auth | keyvault | +| hostedservice | management | +| location | management | +| mongodb | cosmos-db | +| networksecuritygroup | management | +| osimage | management | +| programmatic | luis | +| sql | management | +| storageservice | management | +| testutils | management | +| virtualmachine | management | +| virtualmachinedisk | management | +| virtualmachineimage | management | +| virtualnetwork | management | +| vmutils | management | + +### Updated Packages + +| Package Name | API Version | +| -----------: | :---------: | +| compute | 2019-03-01
2019-07-01 | + +Revert deletion of packages in `classic\management` and `keyvault\auth` + +## `v34.0.0` + +### New Packages +| Package Name | API Version | +| -----------: | :---------: | +| databox | 2019-09-01 | +| databoxedge | 2019-03-01
2019-07-01 | +| frontdoor | 2019-04-01
2019-05-01 | +| healthcareapis | 2019-09-16 | +| kusto | 2019-09-07 | +| logic | 2019-05-01 | +| maintenance | 2018-06-01-preview | +| storagedatalake | 2019-10-31 | +| subscriptions | 2019-06-01 | + +### Updated Packages + +| Package Name | API Version | +| -----------: | :---------: | +| appconfiguration | 2019-02-01-preview | +| datashare | 2018-11-01-preview | +| eventgrid | 2018-01-01 | +| eventhub | 2017-04-01 | +| kusto | 2019-05-15 | +| network | 2018-07-01
2018-08-01
2018-10-01
2018-11-01
2018-12-01
2019-02-01 | +| servicebus | 2017-04-01 | +| sql | 2015-05-01-preview
2017-03-01-preview | + +### BreakingChanges + +| Package Name | API Version | +| -----------: | :---------: | +| apimanagement | 2019-01-01 | +| compute | 2016-03-30
2017-03-30
2017-12-01
2018-04-01
2018-06-01
2018-10-01
2019-03-01
2019-07-01 | +| containerregistry | 2019-05-01-preview
2019-06-01-preview | +| containerservice | 2019-06-01
2019-08-01 | +| datafactory | 2018-06-01 | +| datamigration | 2018-03-31-preview
2018-04-19
2018-07-15-preview | +| documentdb | 2015-04-08 | +| frontdoor | 2018-08-01-preview | +| machinelearningservices | 2019-06-01 | +| managednetwork | 2019-06-01-preview | +| network | 2019-04-01 | +| reservations | 2019-04-01 | +| security | v1.0
v2.0
v3.0 | +| securityinsight | 2017-08-01-preview | +| storage | 2019-04-01 | + +### Removed Packages + +| Package Name | API Version | +| -----------: | :---------: | +| affinitygroup | management | +| anomalyfinder | v2.0 | +| auth | keyvault | +| batch | 2015-12-01.2.2
2016-02-01.3.0
2016-07-01.3.1
2017-01-01.4.0
2017-06-01.5.1
2017-09-01.6.0 | +| computervision | v1.0 | +| devspaces | 2018-06-01-preview
2019-01-01-preview | +| edgegateway | 2019-03-01 | +| frontdoor | preview/2019-04-01
preview/2019-05-01 | +| hostedservice | management | +| insights | v1 | +| location | management | +| mobileengagement | 2014-12-01 | +| mongodb | cosmos-db | +| networksecuritygroup | management | +| osimage | management | +| peering | 2019-03-01-preview | +| portal | 2015-11-01-preview | +| programmatic | luis | +| servicefabric | 2019-03-01 | +| services | 2018-03-01-preview | +| sql | management | +| storageservice | management | +| testutils | management | +| virtualmachine | management | +| virtualmachinedisk | management | +| virtualmachineimage | management | +| virtualnetwork | management | +| vmutils | management | + +## `v33.4.0` + +### New Packages + +| Package Name | API Version | +| -----------: | :---------: | +| netapp | 2019-07-01 | + +## `v33.3.0` + +### New Packages + +| Package Name | API Version | +| -----------: | :---------: | +| network | 2019-07-01 | + +### Updated Packages + +| Package Name | API Version | +| -----------: | :---------: | +| network | 2019-06-01 | + +### BreakingChanges + +| Package Name | API Version | +| -----------: | :---------: | +| sql | 2017-10-01-preview
2018-06-01-preview | + +## `v33.2.0` + +### New Packages + +| Package Name | API Version | +| -----------: | :---------: | +| sql | 2018-06-01-preview | + +## `v33.1.0` + +### New Packages + +| Package Name | API Version | +| -----------: | :---------: | +| storagecache | 2019-08-01-preview | + +## `v33.0.0` + +### New Packages + +| Package Name | API Version | +| -----------: | :---------: | +| batch | 2019-08-01
2019-08-01.10.0 | +| computervision | v2.1 | +| containerregistry | 2019-07 | +| containerservice | 2019-08-01 | +| frontdoor | 2019-05-01 | +| machinelearningservices | 2019-06-01 | +| managednetwork | 2019-06-01-preview | +| peering | 2019-08-01-preview | +| policy | 2019-06-01 | +| portal | 2018-10-01-preview | +| servicefabric | 2019-03-01-preview | + +### Updated Packages + +| Package Name | API Version | +| -----------: | :---------: | +| backup | 2016-12-01
2017-07-01 | +| frontdoor | 2019-04-01 | +| logic | 2016-06-01
2018-07-01-preview | +| network | 2018-07-01
2018-08-01
2018-10-01
2018-11-01
2018-12-01 | +| resources | 2015-11-01
2016-02-01
2016-07-01
2016-09-01
2017-05-10
2018-02-01
2018-05-01
2019-03-01
2019-05-01 | +| security | v2.0 | +| sql | 2015-05-01-preview
2017-03-01-preview
2017-10-01-preview | +| storage | 2019-04-01 | + +### BreakingChanges + +| Package Name | API Version | +| -----------: | :---------: | +| billing | 2018-11-01-preview | +| compute | 2019-03-01
2019-07-01 | +| datafactory | 2018-06-01 | +| datamigration | 2017-11-15-preview
2018-03-31-preview
2018-04-19
2018-07-15-preview | +| hanaonazure | 2017-11-03-preview | +| healthcareapis | 2018-08-20-preview | +| inkrecognizer | v1.0 | +| insights | 2015-05-01 | +| kusto | 2019-01-21 | +| network | 2019-02-01
2019-04-01
2019-06-01 | +| qnamaker | v4.0 | +| reservations | 2019-04-01 | +| security | v3.0 | +| securityinsight | 2017-08-01-preview | +| servicefabric | 2019-03-01 | -## `v14.2.0` +## `v32.6.0` -### Changes +### New Packages -- For blob storage, added GetProperties() method to Container. -- Added PublicAccess field to ContainerProperties struct. +| Package Name | API Version | +| -----------: | :---------: | +| kusto | 2019-05-15 | + +### Updated Packages + +| Package Name | API Version | +| -----------: | :---------: | +| datalake | 2018-06-17 | -## `v14.1.1` +## `v32.5.0` + +### New Packages + +| Package Name | API Version | +| -----------: | :---------: | +| servicebus | 2018-01-01-preview | -- Fixing timestamp marshalling bug in the `storage` package. -- Updating `profileBuilder` to clear-output folders when it is run by `go generate`. -- Tweaking Swagger -> SDK config to use "latest" instead of "nightly" and be tied to a particular version of autorest.go. +## `v32.4.0` + +### Updated Packages + +| Package Name | API Version | +| -----------: | :---------: | +| datamigration | 2018-07-15-preview | + +## `v32.3.0` + +### BreakingChanges + +| Package Name | API Version | +| -----------: | :---------: | +| subscription | 2018-03-01-preview | + +## `v32.2.0` + +### BreakingChanges + +| Package Name | API Version | +| -----------: | :---------: | +| hdinsight | 2015-03-01-preview
2018-06-01-preview | + +## `v32.1.0` + +### New Packages + +| Package Name | API Version | +| -----------: | :---------: | +| qnamakerruntime | v4.0 | + +### Fixed a bug with the table query continuation token in the ./storage package. + +## `v32.0.0` + +### New Packages + +| Package Name | API Version | +| -----------: | :---------: | +| aad | 2017-04-01 | +| compute | 2019-07-01 | +| datashare | 2018-11-01-preview | +| devops | 2019-07-01-preview | +| enterpriseknowledgegraphservice | 2018-12-03 | +| managedservices | 2019-06-01 | +| migrate | 2018-09-01-preview | +| mysql | 2017-12-01-preview | +| network | 2019-06-01 | +| policy | 2019-01-01 | +| portal | 2015-08-01-preview
2019-01-01-preview | +| postgresql | 2017-12-01-preview | +| windowsiot | 2019-06-01 | + +### Updated Packages + +| Package Name | API Version | +| -----------: | :---------: | +| alertsmanagement | 2019-05-05 | +| authoring | luis | +| cdn | 2019-04-15 | +| datafactory | 2017-09-01-preview | +| datamigration | 2018-07-15-preview | +| devices | 2019-03-22-preview | +| hanaonazure | 2017-11-03-preview | +| signalr | 2018-10-01 | +| subscriptions | 2018-06-01 | + +### BreakingChanges + +| Package Name | API Version | +| -----------: | :---------: | +| compute | 2019-03-01 | +| contentmoderator | v1.0 | +| datafactory | 2018-06-01 | +| documentdb | 2015-04-08 | +| dtl | 2018-09-15 | +| healthcareapis | 2018-08-20-preview | +| insights | 2018-03-01
2018-09-01
2018-11-01-preview
2019-03-01
2019-06-01 | +| machinelearningservices | 2019-05-01 | +| managedservices | 2018-06-01 | +| network | 2019-04-01 | +| reservations | 2019-04-01 | +| security | v1.0
v2.0
v3.0 | +| securityinsight | 2017-08-01-preview | +| storage | 2019-04-01 | + +## `v31.2.0` + +### Updated Packages + +| Package Name | API Version | +| -----------: | :---------: | +| apimanagement | 2019-01-01 | + +## `v31.1.0` + +### New Packages + +| Package Name | API Version | +| -----------: | :---------: | +| alertsmanagement | 2019-03-01 | +| authorization | 2018-07-01-preview | +| batch | 2019-04-01 | +| containerregistry | 2019-06-01-preview | +| netapp | 2019-06-01 | + +### Updated Packages + +| Package Name | API Version | +| -----------: | :---------: | +| alertsmanagement | 2018-05-05-preview | +| hdinsight | 2015-03-01-preview
2018-06-01-preview | +| sqlvirtualmachine | 2017-03-01-preview | + +## `v31.0.0` + +### New Packages + +| Package Name | API Version | +| -----------: | :---------: | +| alertsmanagement | 2019-05-05 | +| appconfiguration | 2019-02-01-preview | +| cdn | 2019-06-15-preview | +| containerservice | 2019-06-01 | +| insights | 2019-06-01 | +| machinelearningservices | 2018-03-01-preview
2018-11-19
2019-05-01 | +| network | 2019-04-01 | +| resources | 2019-05-01 | +| servicefabric | 6.5 | +| softwareplan | 2019-06-01-preview | +| vmwarecloudsimple | 2019-04-01 | + +### Updated Packages + +| Package Name | API Version | +| -----------: | :---------: | +| cognitiveservices | 2017-04-18 | +| compute | 2019-03-01 | +| containerregistry | 2019-04-01
2019-05-01 | +| hanaonazure | 2017-11-03-preview | +| hdinsight | 2015-03-01-preview
2018-06-01-preview | +| insights | 2017-05-01-preview
2018-03-01
2018-09-01
2018-11-01-preview
2019-03-01 | +| managementgroups | 2018-03-01-preview | +| media | 2018-07-01 | + +### BreakingChanges + +| Package Name | API Version | +| -----------: | :---------: | +| alertsmanagement | 2018-05-05 | +| authorization | 2015-07-01 | +| billing | 2018-11-01-preview | +| blueprint | 2018-11-01-preview | +| computervision | v2.0 | +| datafactory | 2017-09-01-preview
2018-06-01 | +| eventgrid | 2018-01-01 | +| eventhub | 2015-08-01
2018-01-01-preview | +| face | v1.0 | +| netapp | 2019-05-01 | +| network | 2015-06-15
2016-09-01
2016-12-01
2017-03-01
2017-06-01
2017-08-01
2017-09-01
2017-10-01
2017-11-01
2018-01-01
2018-02-01
2018-04-01
2018-06-01
2018-07-01
2018-08-01
2018-10-01
2018-11-01
2018-12-01
2019-02-01 | +| reservations | 2019-04-01 | +| resourcegraph | 2019-04-01 | +| securityinsight | 2017-08-01-preview | +| sql | 2015-05-01-preview
2017-03-01-preview | +| storage | 2019-04-01 | + +## `v30.1.0` + +### New Packages + +| Package Name | API Version | +| -----------: | :---------: | +| batch | 2019-06-01.9.0 | +| managedservices | 2019-04-01 | +| personalizer | v1.0 | + +### Updated Packages + +| Package Name | API Version | +| -----------: | :---------: | +| authorization | 2017-10-01-preview
2018-01-01-preview
2018-09-01-preview | +| automation | 2015-10-31
2017-05-15-preview
2018-01-15-preview
2018-06-30-preview | +| datafactory | 2018-06-01 | +| datamigration | 2018-07-15-preview | +| documentdb | 2015-04-08 | +| formrecognizer | v1.0 | +| hanaonazure | 2017-11-03-preview | +| hdinsight | 2018-06-01-preview | +| postgresql | 2017-12-01 | +| qnamaker | v4.0 | +| signalr | 2018-10-01 | + +## `v30.0.0` + +### New Packages + +| Package Name | API Version | +| -----------: | :---------: | +| blockchain | 2018-06-01-preview | +| containerregistry | 2019-05-01
2019-05-01-preview | +| costmanagement | 2019-03-01 | +| devices | 2019-03-22-preview | +| devspaces | 2019-04-01 | +| dns | 2018-05-01 | +| eventgrid | 2019-06-01 | +| security | v3.0 | +| servicefabric | 2019-03-01
2019-03-01 | + +### Updated Packages + +| account | 2016-11-01 | +| advisor | 2017-04-19 | +| billing | 2018-11-01-preview | +| cdn | 2019-04-15 | +| cognitiveservices | 2017-04-18 | +| customproviders | 2018-09-01-preview | +| datafactory | 2018-06-01 | +| devices | 2018-12-01-preview | +| eventgrid | 2018-01-01 | +| hanaonazure | 2017-11-03-preview | +| kusto | 2019-01-21 | +| managementpartner | 2018-02-01 | +| mariadb | 2018-06-01 | +| mysql | 2017-12-01 | +| network | 2019-02-01 | +| operationsmanagement | 2015-11-01-preview | +| postgresql | 2017-12-01 | +| servicefabric | 2016-09-01 | +| web | 2018-02-01 | + +### BreakingChanges + +| Package Name | API Version | +| -----------: | :---------: | +| analysisservices | 2017-08-01 | +| authoring | luis | +| automation | 2018-01-15-preview
2018-06-30-preview | +| blueprint | 2018-11-01-preview | +| compute | 2017-12-01 | +| computervision | v2.0 | +| contentmoderator | v1.0 | +| documentdb | 2015-04-08 | +| insights | 2015-05-01 | +| netapp | 2019-05-01 | +| resources | 2018-05-01 | +| security | v1.0
v2.0 | +| servicefabric | 2017-07-01-preview
2018-02-01 | +| spellcheck | v1.0 | +| subscriptions | 2016-06-01 | + +## `v29.0.0` + +### New Packages + +| Package Name | API Version | +| -----------: | :---------: | +| cdn | 2019-04-15 | +| customproviders | 2018-09-01-preview | +| formrecognizer | v1.0 | +| inkrecognizer | v1.0 | +| portal | 2015-11-01-preview | +| runtime | luis | + +### Updated Packages + +| Package Name | API Version | +| -----------: | :---------: | +| insights | 2018-03-01
2018-09-01
2018-11-01-preview
2019-03-01 | +| locks | 2016-09-01 | +| sql | 2014-04-01
2017-10-01-preview | + +### BreakingChanges + +| Package Name | API Version | +| -----------: | :---------: | +| apimanagement | 2019-01-01 | +| containerservice | 2019-04-30 | +| graphrbac | 1.6 | +| sql | 2015-05-01-preview
2017-03-01-preview | +| storage | 2019-04-01 | + +## `v28.1.0` + +Fixed build issue in legacy storage package affecting some consumers. + +### New Packages + +| Package Name | API Version | +| -----------: | :---------: | +| resourcegraph | 2018-09-01 | + +### Updated Packages + +| Package Name | API Version | +| -----------: | :---------: | +| eventhub | 2018-01-01-preview | + +## `v28.0.0` + +### New Packages + +| Package Name | API Version | +| -----------: | :---------: | +| containerregistry | 2019-04-01 | +| containerservice | 2019-04-30 | +| hybriddata | 2016-06-01 | +| netapp | 2019-05-01 | +| network | 2019-02-01 | +| resources | 2019-03-01 | +| serialconsole | 2018-05-01 | +| storage | 2019-04-01 | +| subscriptions | 2018-06-01 | +| virtualmachineimagebuilder | 2019-05-01-preview | + +### Updated Packages + +| Package Name | API Version | +| -----------: | :---------: | +| cognitiveservices | 2017-04-18 | +| consumption | 2019-01-01 | +| costmanagement | 2019-01-01 | +| datafactory | 2018-06-01 | +| eventgrid | 2018-01-01 | +| iotcentral | 2018-09-01 | +| qnamaker | v4.0 | +| sql | 2017-10-01-preview | + +### BreakingChanges + +| Package Name | API Version | +| -----------: | :---------: | +| apimanagement | 2018-06-01-preview
2019-01-01 | +| billing | 2018-11-01-preview | +| compute | 2019-03-01 | +| cosmos-db | 2015-04-08 | +| documentdb | 2015-04-08 | +| hanaonazure | 2017-11-03-preview | +| insights | 2018-03-01
2018-09-01
2018-11-01-preview
2019-03-01 | +| mysql | 2017-12-01 | +| network | 2017-06-01
2017-08-01
2017-09-01
2017-10-01
2017-11-01
2018-01-01
2018-02-01
2018-04-01
2018-06-01
2018-07-01
2018-08-01
2018-10-01
2018-11-01
2018-12-01 | +| operationalinsights | 2015-11-01-preview | +| policyinsights | 2018-07-01-preview | +| postgresql | 2017-12-01 | +| resources | 2018-05-01 | +| runtime | luis | +| sql | 2015-05-01-preview
2017-03-01-preview | +| storagedatalake | 2018-11-09 | +| subscriptions | 2016-06-01 | +| virtualmachineimagebuilder | 2019-02-01-preview | +| web | 2018-02-01 | + +### Removed Packages (duplicates) + +| Package Name | API Version | +| -----------: | :---------: | +| automation | 2017-05-15-preview | +| compute | 2017-06-01-preview | +| devices | 2018-12-01-preview | +| fabric | 2016-05-01 | +| infrastructureinsights | 2016-05-01 | +| mariadb | 2018-06-01-preview | +| postgresql | 2017-04-30-preview
2017-12-01-preview | +| reservations | 2018-06-01 | +| storagesync | 2018-10-01 | + +## `v27.3.0` + +### Updated Packages + +| Package Name | API Version | +| -----------: | :---------: | +| anomalydetector | v1.0 | + +### Breaking Changes - Preview Only + +| Package Name | API Version | +| -----------: | :---------: | +| hanaonazure | 2017-11-03-preview | + +## `v27.2.0` + +### New Packages + +| Package Name | API Version | +| -----------: | :---------: | +| apimanagement | 2019-01-01 | +| reservations | 2019-04-01 | + +## `v27.1.0` + +### New Packages + +| Package Name | API Version | +| -----------: | :---------: | +| compute | 2019-03-01 | + +### Updated Packages + +| Package Name | API Version | +| -----------: | :---------: | +| cdn | 2017-10-12 | +| compute | 2018-10-01 | +| containerservice | 2018-08-01-preview
2018-09-30-preview
2019-02-01 | +| datafactory | 2018-06-01 | +| hdinsight | 2018-06-01-preview | +| postgresql | 2017-12-01 | +| recoveryservices | 2016-06-01 | +| security | v1.0
v2.0 | +| securityinsight | 2017-08-01-preview | +| storage | 2018-02-01
2018-03-01-preview
2018-07-01
2018-11-01 | + +### Breaking Changes - Preview Only + +| Package Name | API Version | +| -----------: | :---------: | +| hdinsight | 2015-03-01-preview | + +## `v27.0.0` + +### New Packages + +| Package Name | API Version | +| -----------: | :---------: | +| billing | 2018-11-01-preview | +| frontdoor | 2019-04-01 | +| healthcareapis | 2018-08-20-preview | +| managedservices | 2018-06-01 | +| peering | 2019-03-01-preview | +| resourcegraph | 2019-04-01 | +| storagesync | 2019-02-01 | +| virtualmachineimagebuilder | 2018-02-01-preview
2019-02-01-preview | + +### Updated Packages + +| Package Name | API Version | +| -----------: | :---------: | +| adhybridhealthservice | 2014-01-01 | +| catalog | 2016-11-01-preview | +| containerregistry | 2017-10-01
2018-02-01
2018-09-01 | +| eventgrid | 2018-01-01 | +| eventhub | 2017-04-01 | +| hanaonazure | 2017-11-03-preview | +| mysql | 2017-12-01 | +| postgresql | 2017-12-01 | +| security | v1.0
v2.0 | +| servicebus | 2017-04-01 | +| signalr | 2018-10-01 | +| sql | 2017-03-01-preview | +| storage | 2018-11-01 | -## `v14.1.0` +### BreakingChanges -### Changes +| Package Name | API Version | +| -----------: | :---------: | +| apimanagement | 2018-06-01-preview | +| authoring | luis | +| blueprint | 2018-11-01-preview | +| cdn | 2017-10-12 | +| compute | 2018-10-01 | +| computervision | v2.0 | +| datafactory | 2017-09-01-preview
2018-06-01 | +| devices | 2018-12-01-preview | +| edgegateway | 2019-03-01 | +| face | v1.0 | +| graphrbac | 1.6 | +| insights | 2018-03-01 | +| postgresqlapi | postgresql | +| search | 2015-08-19 | +| web | 2018-02-01 | +| webservices | 2017-01-01 | -- Update README with details on new authentication helpers. -- Update `latest` profile to point to latest stable API versions. -- Add new API version for Azure Monitoring service and for Batch Data plane service. +## `v26.7.0` -## `v14.0.2` +| Package Name | API Version | +| -----------: | :---------: | +| training | v3.0 | -### Changes +## `v26.6.0` -- Updating `profileBuilder list` to accept an `input` flag instead of reading from `stdin`. -- Simplifying CI to have less chatter, be faster, and have no special cases. +## New Packages -## `v14.0.1` +| Package Name | API Version | +| -----------: | :---------: | +| prediction | v3.0 | -### Changes +### Updated Packages -- Removed the ./services/search/2016-09-01/search package, it was never intended to be included and doesn't work. +| Package Name | API Version | +| -----------: | :---------: | +| marketplaceordering | 2015-06-01 | +| media | 2018-07-01 | -## `v14.0.0` +### Breaking Changes - Preview -### Breaking Changes +| Package Name | API Version | +| -----------: | :---------: | +| netapp | 2017-08-15 | -- Removed the ./arm, ./datalake-store and ./dataplane directories. You can find the same packages under ./services -- The management package was moved to ./services/classic/management -- Renamed package ./services/redis/mgmt/2017-10-01/cache to ./services/redis/mgmt/2017-10-01/redis +## `v26.5.0` + +### New Packages -### Changes +| Package Name | API Version | +| -----------: | :---------: | +| anomalydetector | v1.0 | +| containerservice | 2019-02-01 | +| storage | 2018-11-01 | -- Removed the "-beta" suffix. -- Added various new services. -- Added ./version package for centralized SDK versioning. +### Updated Packages -## `v12.5.0-beta` +| Package Name | API Version | +| -----------: | :---------: | +| network | 2018-12-01 | + +## `v26.4.0` + +### New Packages + +| Package Name | API Version | +| -----------: | :---------: | +| insights | 2019-03-01 | + +## `v26.3.1` + +Remove committed vendored content. + +## `v26.3.0` + +| Package Name | API Version | +| -----------: | :---------: | +| eventgrid | 2019-02-01-preview | -### Changes +### Updated Packages -- Added Container Instance API Versions 2017-10-01-preview, 2017-12-01-preview, and 2018-02-01-preview. +| Package Name | API Version | +| -----------: | :---------: | +| marketplaceordering | 2015-06-01 | -## `v12.4.0-beta` +## `v26.2.0` -### Changes +### New Packages -- Added API version 2017-12-01 for the compute package. +| Package Name | API Version | +| -----------: | :---------: | +| mariadb | 2018-06-01 | +| netapp | 2017-08-15 | +| security | v2.0 | +| translatortext | v3.0 | -## `v12.3.0-beta` +### Updated Packages -### Changes +| Package Name | API Version | +| -----------: | :---------: | +| sql | 2015-05-01-preview
2017-03-01-preview | -- Updated event grid dataplane with latest swagger changes. -- Added latest event grid management plane API version. +### Moved Packages -## `v12.2.0-beta` +| Package Name | API Version | +| -----------: | :---------: | +| security | 2017-08-01-preview -> v1.0 | -### Changes +## `v26.1.0` -#### Storage +### New Packages -- Add support for creating a SAS client from an endpoint and SAS token. -- Fixed bug that wasn't appending SAS token to URI query parameters in all cases. +| Package Name | API Version | +| -----------: | :---------: | +| mixedreality | 2019-02-28 | +| trafficmanager | 2018-04-01 | -## `v12.1.1-beta` +### Updated Packages -### Changes +| Package Name | API Version | +| -----------: | :---------: | +| mysql | 2017-12-01 | +| postgresql | 2017-12-01 | +| search | 2015-08-19 | -- Removing (at least temporarily) calls to `uuid.NewV1()` due to breaking changes (see https://github.com/Azure/azure-sdk-for-go/issues/947 for more info). -- Deleted glide files as we are now using dep. +## `v26.0.0` -## `v12.1.0-beta` +### New Packages -### New Services +| Package Name | API Version | +| -----------: | :---------: | +| anomalyfinder | v2.0 | +| blueprint | 2018-11-01-preview | +| costmanagement | 2019-01-01 | +| devspaces | 2019-01-01-preview | +| edgegateway | 2019-03-01 | +| network | 2018-12-01 | +| privatedns | 2018-09-01 | -#### Data plane -- Cognitive Services Computer Vision -- Cognitive Services Content Moderator -- Cognitive Services LUIS +### Updated Packages -## `v12.0.0-beta` - -### Changes -- Long Running Operations now return a `Future` type. Go routines and return via channel features have been removed. -- Added support for services that make use of polymorphic types. -- Operations now make use of the [Context Pattern](https://blog.golang.org/context). -- Container Services has been moved out of Compute folder in its own folder. -- Azure Go SDK is now using [dep](https://github.com/golang/dep) for vendoring. -- The *arm* and *dataplane* folders have been deprecated. Use the *profiles* and the *services* folders instead. -- Group clients have been renamed to a a service specific name. - -### New Services - -#### Management Plane -- Azure Container Service for Kubernetes (AKS) -- Azure MSI Service - -#### Data plane -- Cognitive Services Custom Search -- Cognitive Services Entity Search -- Cognitive Services Image Search -- Cognitive Services News Search -- Cognitive Services Video Search -- Cognitive Services Web Search -- Cognitive Services Spell Check -- MongoDb for CosmosDb - - -### Generated code notes -- [Azure REST API specs](https://github.com/Azure/azure-rest-api-specs) commit: 515f358fe1e521441aec5d63d62b5f0affcc8ea9 -- [AutoRest Go Generator](https://github.com/Azure/autorest.go) commit: c759908a0d8726eb755afd93353c58e072c345af - -## `v11.3.0-beta` - -### ARM - -- Added storage API version 2017-10-01. - -## `v11.2.2-beta` - -### Bug Fixes - - Regenerating `latest` and `preview` profiles after deleting falsely included apimanagement. - -## `v11.2.1-beta` - -### Bug Fixes - - Commenting out ignore rule that false-positived on the graphrbac package. - -## `v11.2.0-beta` - -### Repository Structure - - Adding support for Multi-API Version paradigm in `services` directory. - - Adding support for Azure Profile in `profiles` directory. - -### Storage - - Added operations for getting and setting container metadata. - - Fixed unmarshaling bug on list containers operation.' - -### Generated code notes - -- Services directory generated from [Azure REST API specs](https://github.com/Azure/azure-rest-api-specs) commit: 274c99f7bd93d8b98048e31b74a34333cecded74 -- [AutoRest Go Generator](https://github.com/Azure/autorest.go) version: 2.0.41 - -## `v11.1.1-beta` - -### ARM - -- Registers resource providers if necessary. -- Requires go-autorest v9.1.0 - -### Generated code notes - -- [Azure REST API specs](https://github.com/Azure/azure-rest-api-specs) commits: - - All services except trafficmanager and containerregistry: 0c2a12b50d8598f68d6715b507f7dd53e163407e - - trafficmanager and containerregistry: c97a18ed775029207715b09c80761334724740b9 -- [AutoRest Go Generator](https://github.com/Azure/autorest.go) version: 2.0.36 - -### Storage - -- Fixed bug in which blob types were unmarshaed incorrectly. - -## `v11.1.0-beta` - -### ARM - -- trafficmanager and containerregistry SDKs now reflect the services faithfully -- trafficmanager also has a new operation group: user metrics. - -### Generated code notes -- [Azure REST API specs](https://github.com/Azure/azure-rest-api-specs) commit: c97a18ed775029207715b09c80761334724740b9 -- [AutoRest Go Generator](https://github.com/Azure/autorest.go) commit: 5d984152f2e9cff6878ea5060bed7e8d8a2ae1cc - -## `v11.0.0-beta` - -### ARM - -| api | version | note | -|:------------------------------------|:-------------------|:------------------------------------| -| arm/analysisservices | 2017-08-01-beta | update | -| arm/batch | 2017-05-01 | update | -| arm/cdn | 2017-04-02 | update | -| arm/cognitiveservices | 2017-04-18 | update | -| arm/compute | multiple | update | -| arm/containerregistry | 2017-10-01 | update | -| arm/customerinsights | 2017-04-26 | update | -| arm/eventgrid | 2017-09-15-preview | update | -| arm/eventhub | 2017-04-01 | update | -| arm/graphrbac | 1.6 | update | -| arm/iothub | 2017-07-01 | update | -| arm/keyvault | 2016-10-01 | update | -| arm/marketplaceordering | 2015-06-01 | new | -| arm/opertionalinsights | multiple | update | -| arm/operationsmanagement | 2015-11-01-preview | new | -| arm/recoveryservices | multiple | update | -| arm/recoveryservicesbackup | multiple | update | -| arm/redis | 2017-02-01 | update | -| arm/relay | 2017-04-01 | update | -| arm/resourcehealth | 017-07-01 | update | -| arm/resources/resources | 2017-05-10 | update | -| arm/servicebus | 2017-04-01 | update | -| arm/storage | 2017-06-01 | update | -| arm/streamanalytics | 2016-03-01 | update | -| arm/trafficmanager | 2017-09-01-preview | update | -| arm/visualstudio | 2014-04-01-preview | update | - -### Data plane - -| api | version | note | -|:------------------------------------|:-------------------|:------------------------------------| -| dataplane/cognitiveservices/face | 1.0 | new | -| dataplane/cognitiveservices/textanalytics | v2.0 | new | - -### Storage - -- Support for queue SAS. -- Refactored GetSASURI blob operation to be more complete. -- Added a SAS client for some operations (`container.Exists()`, and `container.ListBlobs()`) - -- [Azure REST API specs](https://github.com/Azure/azure-rest-api-specs) commit: 0c2a12b50d8598f68d6715b507f7dd53e163407e -- [AutoRest Go Generator](https://github.com/Azure/autorest.go) commit: 678110f012c7cde6528a1e61d125bdc7ea636b7f - -## `v10.3.1-beta` -- Added Apache notice file. - -### ARM -- Fixed package name on some `version.go` files. - -### Storage -- Fixed bug related to SAS URI generation and storage emulator support. - -### Generated code notes -- [Azure REST API specs](https://github.com/Azure/azure-rest-api-specs) commit: ad55af74f3f0e2b390a4306532528168ba742fef -- [AutoRest Go extension](https://github.com/Azure/autorest.go) commit: 28a531c59c82cf67bc90c87095c1d34a936461b4 - -## `v10.3.0-beta` -### ARM - -| api | version | note | -|:------------------------------------|:-------------------|:------------------------------------| -| arm/containerinstance | 2017-08-01-preview | new | -| arm/eventgrid | 2017-06-15-preview | new | - -### ASM -- Marked as in mainteinance mode. -- Added Go 1.7 build tags. - -### Storage -- Support for Go 1.7 and Go 1.6 (except table batch operation tests). - -### Generated code notes -- [Azure REST API specs](https://github.com/Azure/azure-rest-api-specs) commit: ad55af74f3f0e2b390a4306532528168ba742fef -- [AutoRest](https://github.com/Azure/autorest) commit: cfb296f153f948f85afab637f7212fcfdc4a8bbb - -## `v10.2.1-beta` -- Fixes polymorphic structs in `mysql` and `postgresql` packages. - -## `v10.2.0-beta` -### ARM - -| api | version | note | -|:------------------------------------|:-------------------|:------------------------------------| -| arm/cosmos-db | 2015-04-08 | new | -| arm/mysql | 2017-04-30-preview | new | -| arm/postgresql | 2017-04-30-preview | new | - -### Storage -- Bug fixes. - -### Generated code notes -- [Azure REST API specs](https://github.com/Azure/azure-rest-api-specs) commit: 485ded7560c6309efb2f795ec6e46b7436dc6fdb -- [AutoRest](https://github.com/Azure/autorest) commit: c180952b850e677a8624655abeaded307d95cae3 - -## `v10.1.0-beta` -### ARM - -| arm/recoveryservicessiterecovery | 2016-08-10 | new | -| arm/managedapplications | 2016-09-01-preview | new | -| arm/storsimple8000series | 2017-06-01 | new | -| arm/streamanalytics | multiple | new | - -### Storage -- Bug fixes. - -### Generated code notes -- [Azure REST API specs](https://github.com/Azure/azure-rest-api-specs) commit: a2cdf005407b81edb161c1f7b5c49b5ce8e7f041 -- [AutoRest](https://github.com/Azure/autorest) commit: 8e9c2d3704a04913a175ab76972b7d9597c77687 - ------ -## `v10.0.0-beta` -### ARM -In addition to the tabulated changes below, each package had the following updates: -- Long running operations now run inside a goroutine and return channels for the response and the errors. -- Some functions changed from returning `autorest.Response` to return the already unmarshaled struct. -- Uses go-autorest v8.0.0. - -| api | version | note | -|:------------------------------------|:-------------------|:------------------------------------| -| arm/advisor | 2017-04-19 | new | -| arm/analysisservices | 2016-05-16 | refactor | -| arm/apimanagement | 2016-10-10 | update to latest swagger & refactor | -| arm/appinsights | 2015-05-01 | new | -| arm/automation | 2015-10-31 | new | -| arm/billing | 2017-04-24-preview | update to latest swagger & refactor | -| arm/cdn | 2016-10-02 | refactor | -| arm/commerce | 2015-06-01-preview | refactor | -| arm/compute | 2016-04-30-preview | refactor | -| arm/consumption | 2017-04-24-preview | new | -| arm/containerregistry | 2017-03-01 | update to latest swagger & refactor | -| arm/containerservice | 2017-01-31 | update to latest swagger & refactor | -| arm/customer-insights | 2017-01-01 | refactor | -| arm/datalake-analytics/account | 2016-11-01 | refactor | -| arm/datalake-store/account | 2016-11-01 | refactor | -| arm/devtestlabs | 2016-05-15 | refactor | -| arm/disk | 2016-04-30-preview | refactor | -| arm/dns | 2016-04-01 | refactor | -| arm/documentdb | 2015-04-08 | refactor | -| arm/eventhub | 2015-08-01 | refactor | -| arm/graphrbac | 1.6 | refactor | -| arm/hdinsight | 2015-03-01-preview | new | -| arm/insights | multiple | new | -| arm/intune | 2015-01-14-preview | refactor | -| arm/iothub | 2016-02-03 | refactor | -| arm/machinelearning/commitmentplans | 2016-05-01-preview | refactor | -| arm/machinelearning/webservices | 2017-01-01 | update to latest swagger & refactor | -| arm/monitor | multiple | new | -| arm/network | 2017-03-01 | update to latest swagger & refactor | -| arm/notificationhubs | 2017-04-01 | update to latest swagger & refactor | -| arm/operationalinsights | 2015-11-01-preview | update to latest swagger & refactor | -| arm/powerbiembedded | 2016-01-29 | refactor | -| arm/recoveryservices | 2016-12-01 | refactor | -| arm/recoveryservicesbackup | 2016-12-01 | new | -| arm/redis | 2016-04-01 | refactor | -| arm/relay | 2016-07-01 | new | -| arm/resourcehealth | 2015-01-01 | new | -| arm/resources/features | 2015-12-01 | refactor | -| arm/resources/links | 2016-09-01 | refactor | -| arm/resources/resources | 2016-09-01 | refactor | -| arm/resources/subscriptions | 2016-06-01 | refactor | -| arm/scheduler | 2016-03-01 | refactor | -| arm/servermanagement | 2016-07-01-preview | refactor | -| arm/servicebus | 2015-08-01 | refactor | -| arm/servicefabric | 2016-09-01 | new | -| arm/service-map | 2015-11-01-preview | refactor | -| arm/sql | multiple | update to latest swagger & refactor | -| arm/storage | 2016-12-01 | update to latest swagger & refactor | -| arm/storageimportexport | 2016-11-01 | refactor | -| arm/web | multiple | refactor | - -### Data plane -| api | version | note | -|:------------------------------------|:-------------------|:------------------------------------| -| dataplane/keyvault | 2016-10-01 | refactor | - -### Storage -Storage has returned to this repo. -It has also been refactored: -- Blobs, containers, tables, etc are now method receivers. These structs are the ones being - updated with each operation. -- When creating a client, the SDK checks if the storage account provided is valid. -- Added retry logic. It provides the flexibility for user to provide their own retry logic. -- Added operations: - - Get table - - Get entity - - Get and set queue ACL - - Table batch - - Page blob incremental copy -- All operations that previously had `extraHeaders` as parameter now recieve a struct with well - defined possible headers and other options. Some functions are easier to use. -- Storage tests now use HTTP recordings. - -### Generated code notes -- [Azure REST API specs](https://github.com/Azure/azure-rest-api-specs) commit: 519980465d9c195622d466dc4601b1999a448ed5 -- [AutoRest](https://github.com/Azure/autorest) commit: ced950d64e39735b84d41876a56b54b27c227dc7 - -## `v9.0.0-beta` -### ARM -In addition to the tabulated changes below, each package had the following updates: - - API Version is now associated with individual methods, instead of the client. This was done to - support composite swaggers, which logically may contain more than one API Version. - - Version numbers are now calculated in the generator instead of at runtime. This keeps us from - adding new allocations, while removing the race-conditions that were added. - -| api | version | note | -|:------------------------------------|:-------------------|:-----------------------------------| -| arm/analysisservices | 2016-05-16 | update to latest swagger | -| arm/authorization | 2015-07-01 | refactoring | -| arm/batch | 2017-01-01 | update to latest swagger &refactor | -| arm/cdn | 2016-10-02 | update to latest swagger | -| arm/compute | 2016-04-30-preview | update to latest swagger | -| arm/dns | 2016-04-01 | update to latest swagger &refactor | -| arm/eventhub | 2015-08-01 | refactoring | -| arm/logic | 2016-06-01 | update to latest swagger &refactor | -| arm/notificationshub | 2016-03-01 | update to latest swagger &refactor | -| arm/redis | 2016-04-01 | update to latest swagger &refactor | -| arm/resources/resources | 2016-09-01 | update to latest swagger | -| arm/servicebus | 2015-08-01 | update to latest swagger | -| arm/sql | 2014-04-01 | update to latest swagger | -| arm/web | multiple | generating from composite | -| datalake-analytics/account | 2016-11-01 | update to latest swagger | -| datalake-store/filesystem | 2016-11-01 | update to latest swagger | - -### Storage -Storage has been moved to its own repository which can be found here: -https://github.com/Azure/azure-storage-go - -For backwards compatibility, a submodule has been added to this repo. However, consuming storage -via this repository is deprecated and may be deleted in future versions. - -## `v8.1.0-beta` -### ARM -| api | version | note | -|:------------------------------------|:-------------------|:-----------------------------------| -| arm/apimanagement | 2016-07-07 | new | -| arm/apideployment | 2016-07-07 | new | -| arm/billing | 2017-02-27-preview | new | -| arm/compute | 2016-04-30-preview | update to latest swagger | -| arm/containerservice | 2017-01-31 | update to latest swagger | -| arm/customer-insights | 2017-01-01 | new | -| arm/graphrbac | 1.6 | new | -| arm/networkwatcher | 2016-12-01 | new | -| arm/operationalinsights | 2015-11-01-preview | new | -| arm/service-map | 2015-11-01-preview | new | -| arm/storageimportexport | 2016-11-01 | new | - -### Data plane -| api | version | note | -|:------------------------------------|:-------------------|:-----------------------------------| -| dataplane/keyvault | 2016-10-01 | new | - -- Uses go-autorest v7.3.0 - - -## `v8.0.0-beta` -### ARM -- In addition to the tablulated changes below, all updated packages received performance - improvements to their Version() method. -- Some validation that was taking place in the runtime was erroneously blocking calls. - all packages have been updated to take that bug fix. - -| api | version | note | -|:------------------------------------|:-------------------|:-----------------------------------| -| arm/analysisservices | 2016-05-16 | update to latest swagger | -| arm/cdn | 2016-10-02 | update to latest swagger | -| arm/cognitiveservices | 2016-02-01-preview | update to latest swagger | -| arm/compute | 2016-03-30 | update to latest swagger, refactor | -| arm/containerregistry | 2016-06-27-preview | update to latest swagger | -| arm/containerservice | 2016-09-30 | update to latest swagger | -| arm/datalake-analytics | 2016-11-01 | update to latest swagger | -| arm/datalake-store | 2016-11-01 | update to latest swagger | -| arm/disk | 2016-04-30-preview | new | -| arm/documentdb | 2015-04-08 | update to latest swagger | -| arm/iothub | 2016-02-03 | update to latest swagger | -| arm/keyvault | 2015-06-01 | update to latest swagger | -| arm/logic | 2016-06-01 | update to latest swagger | -| arm/machinelearning | 2016-05-01-preview | update to latest swagger | -| arm/mobileengagement | 2014-12-01 | update to latest swagger, refactor | -| arm/redis | 2016-04-01 | update to latest swagger | -| arm/resources/locks | 2016-09-01 | refactor | -| arm/resources/policy | 2016-12-01 | previous version was deleted | -| arm/resources/resources | 2016-09-01 | update to latest swagger, refactor | -| arm/scheduler | 2016-03-01 | refactor | -| arm/search | 2015-08-19 | refactor | -| arm/web | 2015-08-01 | refactor | - -## `v7.0.0-beta` - -| api | version | note | -|:------------------------------------|:-------------------|:-----------------------------------| -| arm/analysisservices | 2016-05-16 | new | -| arm/cdn | 2016-10-02 | update to latest swagger | -| arm/commerce | 2015-06-01-preview | new | -| arm/containerservice | 2016-09-30 | update to latest swagger | -| arm/containerregistry | 2016-06-27-preview | new | -| arm/datalake-analytics/account | 2016-11-01 | update to latest swagger | -| arm/datalake-store/account | 2016-11-01 | update to latest swagger | -| arm/datalake-store/filesystem | 2016-11-01 | update to latest swagger | -| arm/documentdb | 2015-04-08 | new | -| arm/machinelearning/commitmentplans | 2016-05-01-preview | new | -| arm/recoveryservices | 2016-06-01 | new | -| arm/resources/subscriptions | 2016-06-01 | new | -| arm/search | 2015-08-19 | update to latest swagger | -| arm/sql | 2014-04-01 | previous version was deleted | - -### Storage -- Can now update messages in storage queues. -- Added support for blob snapshots and aborting blob copy operations. -- Added support for getting and setting ACLs on containers. -- Added various APIs for file and directory manipulation. - -### Support for the following swagger extensions was added to the Go generator which affected codegen. -- x-ms-client-flatten -- x-ms-paramater-location - -## `v6.0.0-beta` - -| api | version | note | -|:-------------------------------|:-------------------|:-----------------------------------| -| arm/authorization | no change | code refactoring | -| arm/batch | no change | code refactoring | -| arm/compute | no change | code refactoring | -| arm/containerservice | 2016-03-30 | return | -| arm/datalake-analytics/account | 2015-10-01-preview | new | -| arm/datalake-store/filesystem | no change | moved to datalake-store/filesystem | -| arm/eventhub | no change | code refactoring | -| arm/intune | no change | code refactoring | -| arm/iothub | no change | code refactoring | -| arm/keyvault | no change | code refactoring | -| arm/mediaservices | no change | code refactoring | -| arm/network | no change | code refactoring | -| arm/notificationhubs | no change | code refactoring | -| arm/redis | no change | code refactoring | -| arm/resources/resources | no change | code refactoring | -| arm/resources/links | 2016-09-01 | new | -| arm/resources/locks | 2016-09-01 | updated | -| arm/resources/policy | no change | code refactoring | -| arm/resources/resources | 2016-09-01 | updated | -| arm/servermanagement | 2016-07-01-preview | updated | -| arm/web | no change | code refactoring | - -- storage: Added blob lease functionality and tests - -## `v5.0.0-beta` - -| api | version | note | -|:------------------------------|:--------------------|:-----------------| -| arm/network | 2016-09-01 | updated | -| arm/servermanagement | 2015-07-01-preview | new | -| arm/eventhub | 2015-08-01 | new | -| arm/containerservice | -- | removed | -| arm/resources/subscriptions | no change | code refactoring | -| arm/resources/features | no change | code refactoring | -| arm/resources/resources | no change | code refactoring | -| arm/datalake-store/accounts | no change | code refactoring | -| arm/datalake-store/filesystem | no change | code refactoring | -| arm/notificationhubs | no change | code refactoring | -| arm/redis | no change | code refactoring | - -- storage: Add more file storage share operations. -- azure-rest-api-specs/commit/b8cdc2c50a0872fc0039f20c2b6b33aa0c2af4bf -- Uses go-autorest v7.2.1 - -## `v4.0.0-beta` - -- arm/logic: breaking change in package logic. -- arm: parameter validation code added in all arm packages. -- Uses go-autorest v7.2.0. - - -## `v3.2.0-beta` - -| api | version | note | -|:----------------------------|:--------------------|:----------| -| arm/mediaservices | 2015-10-01 | new | -| arm/keyvault | 2015-06-01 | new | -| arm/iothub | 2016-02-03 | new | -| arm/datalake-store | 2015-12-01 | new | -| arm/network | 2016-06-01 | updated | -| arm/resources/resources | 2016-07-01 | updated | -| arm/resources/policy | 2016-04-01 | updated | -| arm/servicebus | 2015-08-01 | updated | - -- arm: uses go-autorest version v7.1.0. -- storage: fix for operating on blobs names containing special characters. -- storage: add SetBlobProperties(), update BlobProperties response fields. -- storage: make storage client work correctly with read-only secondary account. -- storage: add Azure Storage Emulator support. - - -## `v3.1.0-beta` - -- Added a new arm/compute/containerservice (2016-03-30) package -- Reintroduced NewxxClientWithBaseURI method. -- Uses go-autorest version - v7.0.7. - - -## `v3.0.0-beta` - -This release brings the Go SDK ARM packages up-to-date with Azure ARM Swagger files for most -services. Since the underlying [Swagger files](https://github.com/Azure/azure-rest-api-specs) -continue to change substantially, the ARM packages are still in *beta* status. - -The ARM packages now align with the following API versions (*highlighted* packages are new or -updated in this release): - -| api | version | note | -|:----------------------------|:--------------------|:----------| -| arm/authorization | 2015-07-01 | no change | -| arm/intune | 2015-01-14-preview | no change | -| arm/notificationhubs | 2014-09-01 | no change | -| arm/resources/features | 2015-12-01 | no change | -| arm/resources/subscriptions | 2015-11-01 | no change | -| arm/web | 2015-08-01 | no change | -| arm/cdn | 2016-04-02 | updated | -| arm/compute | 2016-03-30 | updated | -| arm/dns | 2016-04-01 | updated | -| arm/logic | 2015-08-01-preview | updated | -| arm/network | 2016-03-30 | updated | -| arm/redis | 2016-04-01 | updated | -| arm/resources/resources | 2016-02-01 | updated | -| arm/resources/policy | 2015-10-01-preview | updated | -| arm/resources/locks | 2015-01-01 | updated (resources/authorization earlier)| -| arm/scheduler | 2016-03-01 | updated | -| arm/storage | 2016-01-01 | updated | -| arm/search | 2015-02-28 | updated | -| arm/batch | 2015-12-01 | new | -| arm/cognitiveservices | 2016-02-01-preview | new | -| arm/devtestlabs | 2016-05-15 | new | -| arm/machinelearning | 2016-05-01-preview | new | -| arm/powerbiembedded | 2016-01-29 | new | -| arm/mobileengagement | 2014-12-01 | new | -| arm/servicebus | 2014-09-01 | new | -| arm/sql | 2015-05-01 | new | -| arm/trafficmanager | 2015-11-01 | new | - - -Below are some design changes. -- Removed Api version from method arguments. -- Removed New...ClientWithBaseURI() method in all clients. BaseURI value is set in client.go. -- Uses go-autorest version v7.0.6. - - -## `v2.2.0-beta` - -- Uses go-autorest version v7.0.5. -- Update version of pacakges "jwt-go" and "crypto" in glide.lock. - - -## `v2.1.1-beta` - -- arm: Better error messages for long running operation failures (Uses go-autorest version v7.0.4). - - -## `v2.1.0-beta` - -- arm: Uses go-autorest v7.0.3 (polling related updates). -- arm: Cancel channel argument added in long-running calls. -- storage: Allow caller to provide headers for DeleteBlob methods. -- storage: Enables connection sharing with http keepalive. -- storage: Add BlobPrefixes and Delimiter to BlobListResponse - - -## `v2.0.0-beta` - -- Uses go-autorest v6.0.0 (Polling and Asynchronous requests related changes). - - -## `v0.5.0-beta` - -Updated following packages to new API versions: -- arm/resources/features 2015-12-01 -- arm/resources/resources 2015-11-01 -- arm/resources/subscriptions 2015-11-01 - - -### Changes - - - SDK now uses go-autorest v3.0.0. - - - -## `v0.4.0-beta` - -This release brings the Go SDK ARM packages up-to-date with Azure ARM Swagger files for most -services. Since the underlying [Swagger files](https://github.com/Azure/azure-rest-api-specs) -continue to change substantially, the ARM packages are still in *beta* status. - -The ARM packages now align with the following API versions (*highlighted* packages are new or -updated in this release): - -- *arm/authorization 2015-07-01* -- *arm/cdn 2015-06-01* -- arm/compute 2015-06-15 -- arm/dns 2015-05-04-preview -- *arm/intune 2015-01-14-preview* -- arm/logic 2015-02-01-preview -- *arm/network 2015-06-15* -- *arm/notificationhubs 2014-09-01* -- arm/redis 2015-08-01 -- *arm/resources/authorization 2015-01-01* -- *arm/resources/features 2014-08-01-preview* -- *arm/resources/resources 2014-04-01-preview* -- *arm/resources/subscriptions 2014-04-01-preview* -- *arm/scheduler 2016-01-01* -- arm/storage 2015-06-15 -- arm/web 2015-08-01 - -### Changes - -- Moved the arm/authorization, arm/features, arm/resources, and arm/subscriptions packages under a new, resources, package (to reflect the corresponding Swagger structure) -- Added a new arm/authoriation (2015-07-01) package -- Added a new arm/cdn (2015-06-01) package -- Added a new arm/intune (2015-01-14-preview) package -- Udated arm/network (2015-06-01) -- Added a new arm/notificationhubs (2014-09-01) package -- Updated arm/scheduler (2016-01-01) package - - ------ - -## `v0.3.0-beta` - -- Corrected unintentional struct field renaming and client renaming in v0.2.0-beta - ------ - -## `v0.2.0-beta` - -- Added support for DNS, Redis, and Web site services -- Updated Storage service to API version 2015-06-15 -- Updated Network to include routing table support -- Address https://github.com/Azure/azure-sdk-for-go/issues/232 -- Address https://github.com/Azure/azure-sdk-for-go/issues/231 -- Address https://github.com/Azure/azure-sdk-for-go/issues/230 -- Address https://github.com/Azure/azure-sdk-for-go/issues/224 -- Address https://github.com/Azure/azure-sdk-for-go/issues/184 -- Address https://github.com/Azure/azure-sdk-for-go/issues/183 - ------- - -## `v0.1.1-beta` - -- Improves the UserAgent string to disambiguate arm packages from others in the SDK -- Improves setting the http.Response into generated results (reduces likelihood of a nil reference) -- Adds gofmt, golint, and govet to Travis CI for the arm packages - -##### Fixed Issues - -- https://github.com/Azure/azure-sdk-for-go/issues/196 -- https://github.com/Azure/azure-sdk-for-go/issues/213 - ------- - -## v0.1.0-beta - -This release addresses the issues raised against the alpha release and adds more features. Most -notably, to address the challenges of encoding JSON -(see the [comments](https://github.com/Azure/go-autorest#handling-empty-values) in the -[go-autorest](https://github.com/Azure/go-autorest) package) by using pointers for *all* structure -fields (with the exception of enumerations). The -[go-autorest/autorest/to](https://github.com/Azure/go-autorest/tree/master/autorest/to) package -provides helpers to convert to / from pointers. The examples demonstrate their usage. - -Additionally, the packages now align with Go coding standards and pass both `golint` and `govet`. -Accomplishing this required renaming various fields and parameters (such as changing Url to URL). - -##### Changes - -- Changed request / response structures to use pointer fields. -- Changed methods to return `error` instead of `autorest.Error`. -- Re-divided methods to ease asynchronous requests. -- Added paged results support. -- Added a UserAgent string. -- Added changes necessary to pass golint and govet. -- Updated README.md with details on asynchronous requests and paging. -- Saved package dependencies through Godep (for the entire SDK). - -##### Fixed Issues: - -- https://github.com/Azure/azure-sdk-for-go/issues/205 -- https://github.com/Azure/azure-sdk-for-go/issues/206 -- https://github.com/Azure/azure-sdk-for-go/issues/211 -- https://github.com/Azure/azure-sdk-for-go/issues/212 - ------ - -## v0.1.0-alpha - -This release introduces the Azure Resource Manager packages generated from the corresponding -[Swagger API](http://swagger.io) [definitions](https://github.com/Azure/azure-rest-api-specs). \ No newline at end of file +| Package Name | API Version | +| commitmentplans | 2016-05-01-preview | +| computervision | v2.0 | +| consumption | 2018-10-01 | +| hanaonazure | 2017-11-03-preview | +| operationalinsights | 2015-03-20 | +| webapi | web | + +### BreakingChanges + +| Package Name | API Version | +| -----------: | :---------: | +| containerservice | 2018-03-31
2018-08-01-preview
2018-09-30-preview | +| costmanagement | 2018-08-01-preview | +| datafactory | 2018-06-01 | +| eventgrid | 2018-01-01 | +| face | v1.0 | +| kusto | 2019-01-21 | +| policyinsights | 2018-07-01-preview | +| security | 2017-08-01-preview | +| securityinsight | 2017-08-01-preview | +| sql | 2015-05-01-preview
2017-03-01-preview | +| storagedatalake | 2018-11-09 | +| textanalytics | v2.1 | +| web | 2018-02-01 | + +### Removed Packages + +| Package Name | API Version | +| -----------: | :---------: | +| blueprint | 2017-11-11-preview | +| edgegateway | 2018-07-01 | + +## `v25.1.0` + +### New Packages + +| Package Name | API Version | +| -----------: | :---------: | +| consumption | 2019-01-01 | +| kusto | 2019-01-21 | + +### Updated Packages + +| Package Name | API Version | +| -----------: | :---------: | +| authorization | 2015-07-01 | +| backup | 2017-07-01 | +| compute | 2018-10-01 | +| eventgrid | 2018-01-01 | +| eventhub | 2017-04-01 | +| sql | 2017-03-01-preview | + +## `v25.0.0` + +NOTE: Go 1.8 has been removed from CI due to a transitive dependency no longer supporting it. + +### New Packages + +| Package Name | API Version | +| -----------: | :---------: | +| devices | 2018-12-01-preview | +| insights | 2018-11-01-preview | +| securityinsight | 2017-08-01-preview | +| storagedatalake | 2018-11-09 | + +### Updated Packages + +| Package Name | API Version | +| -----------: | :---------: | +| cognitiveservices | 2017-04-18 | +| containerregistry | 2018-09-01 | +| eventgrid | 2018-01-01 | +| hdinsight | 2015-03-01-preview
2018-06-01-preview | +| network | 2018-11-01 | +| runtime | luis | +| sql | 2015-05-01-preview
2017-03-01-preview
2017-10-01-preview | +| web | 2018-02-01 | + +### BreakingChanges + +| Package Name | API Version | +| -----------: | :---------: | +| adhybridhealthservice | 2014-01-01 | +| backup | 2016-12-01
2017-07-01 | +| blueprint | 2017-11-11-preview | +| containerservice | 2018-03-31
2018-08-01-preview
2018-09-30-preview | +| datafactory | 2017-09-01-preview
2018-06-01 | +| face | v1.0 | +| hanaonazure | 2017-11-03-preview | +| insights | 2017-05-01-preview | +| logic | 2018-07-01-preview | +| security | 2017-08-01-preview | +| storage | 2015-05-01-preview
2015-06-15
2016-01-01
2016-05-01
2016-12-01
2017-06-01
2017-10-01
2018-02-01
2018-03-01-preview
2018-07-01 | +| virtualmachine | management | + +### Removed Packages + +NOTE: Some removed packages are preview packages that were incorrectly placed in the stable location. The copies under `preview` still exist. + +| Package Name | API Version | +| -----------: | :---------: | +| apimanagement | 2018-01-01 | +| datafactory | 2017-09-01-preview | +| dns | 2018-03-01-preview | +| insights | 2017-09-01 | +| iothub | 2017-08-21-preview | +| managedapplications | 2016-09-01-preview | +| managementpartner | 2018-02-01 | +| policy | 2015-10-01-preview
2017-06-01-preview | +| servicefabric | 1.0.0
5.6
6.0
6.1 | +| storagedatalake | 2018-06-17
2018-11-09 | + +## `v24.1.0` + +### New Packages + +| Package Name | API Version | +| -----------: | :---------: | +| edgegateway | 2018-07-01 | +| network | 2018-11-01 | +| storagesync | 2018-10-01 | + +### Updated Packages + +| Package Name | API Version | +| -----------: | :---------: | +| apimanagement | 2018-06-01-preview | +| automation | 2017-05-15-preview
2018-01-15-preview
2018-06-30-preview | +| classic | management | +| containerservice | 2018-03-31
2018-08-01-preview
2018-09-30-preview | +| hanaonazure | 2017-11-03-preview | +| maps | 2018-05-01 | + +## `v24.0.0` + +### New Packages + +| Package Name | API Version | +| -----------: | :---------: | +| batch | 2018-12-01
2018-12-01.8.0 | +| devices | 2018-12-01-preview | +| eventgrid | 2019-01-01 | +| storagedatalake | 2018-06-17
2018-11-09 | + +### Updated Packages + +| Package Name | API Version | +| -----------: | :---------: | +| apimanagement | 2018-01-01
2018-06-01-preview | +| containerinstance | 2018-10-01 | +| containerregistry | 2017-10-01
2018-02-01
2018-09-01 | +| containerservice | 2018-08-01-preview
2018-09-30-preview | +| costmanagement | 2018-08-01-preview | +| datafactory | 2018-06-01 | +| eventhub | 2018-01-01-preview | +| hanaonazure | 2017-11-03-preview | +| hdinsight | 2018-11-01-preview | +| network | 2018-10-01 | +| resourcehealth | 2015-01-01
2017-07-01 | +| sql | 2017-03-01-preview | +| storagesync | 2018-10-01 | + +### BreakingChanges + +| Package Name | API Version | +| -----------: | :---------: | +| authoring | luis | +| cognitiveservices | 2017-04-18 | +| computervision | v2.0 | +| datamigration | 2018-04-19
2018-07-15-preview | +| labservices | 2018-10-15 | +| logic | 2018-07-01-preview | +| media | 2018-07-01 | +| siterecovery | 2018-01-10 | +| sqlvirtualmachine | 2017-03-01-preview | +| workloadmonitor | 2018-08-31-preview | diff --git a/CODEOWNERS b/CODEOWNERS new file mode 100644 index 000000000000..0ec91828f850 --- /dev/null +++ b/CODEOWNERS @@ -0,0 +1,12 @@ +/documentation/ @joshgav +/profiles/ @jhendrixMSFT @vladbarosan +/services/ @jhendrixMSFT @vladbarosan +/storage/ @jhendrixMSFT @vladbarosan +/tools/apidiff/ @jhendrixMSFT @vladbarosan +/tools/generator/ @jhendrixMSFT @vladbarosan +/tools/indexer/ @jhendrixMSFT @vladbarosan +/tools/profileBuilder/ @jhendrixMSFT @vladbarosan +/version/ @jhendrixMSFT @vladbarosan +.travis.yml @jhendrixMSFT @vladbarosan +doc.go @joshgav +findTestedPackages.sh @jhendrixMSFT @vladbarosan diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 9dc7b82e01ab..a07f78593af6 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,3 +1,13 @@ +trigger: + paths: + exclude: + - sdk/ + +pr: + paths: + exclude: + - sdk/ + jobs: - job: Build_Test strategy: @@ -18,6 +28,7 @@ jobs: GOPATH: '$(system.defaultWorkingDirectory)/work' sdkPath: '$(GOPATH)/src/github.com/$(build.repository.name)' IGNORE_BREAKING_CHANGES: true + go.list.filter: '| grep -v vendor' steps: - script: | @@ -37,13 +48,13 @@ jobs: go get -u golang.org/x/lint/golint workingDirectory: '$(sdkPath)' displayName: 'Install Dependencies' - - script: go vet $(go list ./... | grep -v vendor) + - script: go vet -v $(go list ./... $(go.list.filter)) workingDirectory: '$(sdkPath)' displayName: 'Vet' - - script: go build -v $(go list ./... | grep -v vendor) + - script: go build -v $(go list ./... $(go.list.filter)) workingDirectory: '$(sdkPath)' displayName: 'Build' - - script: go test $(dirname $(find . -path ./vendor -prune -o -name '*_test.go' -print) | sort -u) + - script: go test $(dirname $(find . -path ./vendor -prune -o -path ./sdk -prune -o -name '*_test.go' -print) | sort -u) workingDirectory: '$(sdkPath)' displayName: 'Run Tests' - script: go run ./tools/apidiff/main.go packages ./services FETCH_HEAD~1 FETCH_HEAD --copyrepo --breakingchanges || $IGNORE_BREAKING_CHANGES diff --git a/doc.go b/doc.go new file mode 100644 index 000000000000..af79e21481b3 --- /dev/null +++ b/doc.go @@ -0,0 +1,26 @@ +/* +Package sdk provides Go packages for managing and using Azure services. + +GitHub repo: https://github.com/Azure/azure-sdk-for-go + +Official documentation: https://docs.microsoft.com/azure/go + +API reference: https://godoc.org/github.com/Azure/azure-sdk-for-go + +Samples: https://github.com/Azure-Samples/azure-sdk-for-go-samples +*/ +package sdk + +// Copyright (c) Microsoft and contributors. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// +// See the License for the specific language governing permissions and +// limitations under the License. diff --git a/eng/common/README.md b/eng/common/README.md new file mode 100644 index 000000000000..7e9e197fc466 --- /dev/null +++ b/eng/common/README.md @@ -0,0 +1,12 @@ +# Common Engineering System + +The `eng/common` directory contains engineering files that are common across the various azure-sdk language repos. +It should remain relatively small and only contain textual based files like scripts, configs, or templates. It +should not contain binary files as they don't play well with git. + +# Updating + +Any updates to files in the `eng/common` directory should be made in the [azure-sdk-tools](https://github.com/azure/azure-sdk-tools) repo. +All changes made will cause a PR to created in all subscribed azure-sdk language repos which will blindly replace all contents of +the `eng/common` directory in that repo. For that reason do **NOT** make changes to files in this directory in the individual azure-sdk +languages repos as they will be overwritten the next time an update is taken from the common azure-sdk-tools repo. \ No newline at end of file diff --git a/sdk/azcore/core.go b/sdk/azcore/core.go new file mode 100644 index 000000000000..de01623ffe3b --- /dev/null +++ b/sdk/azcore/core.go @@ -0,0 +1,114 @@ +// +build go1.13 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package azcore + +import ( + "context" + "errors" + "io" + "net/http" +) + +// Policy represents an extensibility point for the Pipeline that can mutate the specified +// Request and react to the received Response. +type Policy interface { + // Do applies the policy to the specified Request. When implementing a Policy, mutate the + // request before calling req.Do() to move on to the next policy, and respond to the result + // before returning to the caller. + Do(ctx context.Context, req *Request) (*Response, error) +} + +// PolicyFunc is a type that implements the Policy interface. +// Use this type when implementing a stateless policy as a first-class function. +type PolicyFunc func(context.Context, *Request) (*Response, error) + +// Do implements the Policy interface on PolicyFunc. +func (pf PolicyFunc) Do(ctx context.Context, req *Request) (*Response, error) { + return pf(ctx, req) +} + +// Transport represents an HTTP pipeline transport used to send HTTP requests and receive responses. +type Transport interface { + // Do sends the HTTP request and returns the HTTP response or error. + Do(ctx context.Context, req *http.Request) (*http.Response, error) +} + +// transportFunc is a type that implements the Transport interface. +// Use this type when implementing a stateless transport as a first-class function. +type transportFunc func(context.Context, *http.Request) (*http.Response, error) + +// Do implements the Transport interface on transportFunc. +func (tf transportFunc) Do(ctx context.Context, req *http.Request) (*http.Response, error) { + return tf(ctx, req) +} + +// used to adapt a TransportPolicy to a Policy +type transportPolicy struct { + trans Transport +} + +func (tp transportPolicy) Do(ctx context.Context, req *Request) (*Response, error) { + resp, err := tp.trans.Do(ctx, req.Request) + if err != nil { + return nil, err + } + return &Response{Response: resp}, nil +} + +// Pipeline represents a primitive for sending HTTP requests and receiving responses. +// Its behavior can be extended by specifying policies during construction. +type Pipeline struct { + policies []Policy +} + +// NewPipeline creates a new goroutine-safe Pipeline object from the specified Policies. +// If no transport is provided then the default HTTP transport will be used. +func NewPipeline(transport Transport, policies ...Policy) Pipeline { + if transport == nil { + transport = DefaultHTTPClientTransport() + } + // transport policy must always be the last in the slice + policies = append(policies, newBodyDownloadPolicy(), transportPolicy{trans: transport}) + return Pipeline{ + policies: policies, + } +} + +// Do is called for each and every HTTP request. It passes the Context and request through +// all the Policy objects (which can transform the Request's URL/query parameters/headers) +// and ultimately sends the transformed HTTP request over the network. +func (p Pipeline) Do(ctx context.Context, req *Request) (*Response, error) { + req.policies = p.policies + return req.Next(ctx) +} + +// ReadSeekCloser is the interface that groups the io.ReadCloser and io.Seeker interfaces. +type ReadSeekCloser interface { + io.ReadCloser + io.Seeker +} + +type nopCloser struct { + io.ReadSeeker +} + +func (n nopCloser) Close() error { + return nil +} + +// NopCloser returns a ReadSeekCloser with a no-op close method wrapping the provided io.ReadSeeker. +func NopCloser(rs io.ReadSeeker) ReadSeekCloser { + return nopCloser{rs} +} + +// IterationDone is returned by an iterator's Next method when iteration is complete. +var IterationDone = errors.New("no more items in iterator") + +// Retrier provides methods describing if an error should be considered as transient. +type Retrier interface { + // IsNotRetriable returns true for error types that are not retriable. + IsNotRetriable() bool +} diff --git a/sdk/azcore/credential.go b/sdk/azcore/credential.go new file mode 100644 index 000000000000..997872203925 --- /dev/null +++ b/sdk/azcore/credential.go @@ -0,0 +1,52 @@ +// +build go1.13 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package azcore + +import ( + "context" + "time" +) + +// AuthenticationPolicyOptions contains various options used to create a credential policy. +type AuthenticationPolicyOptions struct { + // Options contains the TokenRequestOptions that includes a scopes field which contains + // the list of OAuth2 authentication scopes used when requesting a token. + // This field is ignored for other forms of authentication (e.g. shared key). + Options TokenRequestOptions +} + +// Credential represents any credential type. +type Credential interface { + // AuthenticationPolicy returns a policy that requests the credential and applies it to the HTTP request. + AuthenticationPolicy(options AuthenticationPolicyOptions) Policy +} + +// credentialFunc is a type that implements the Credential interface. +// Use this type when implementing a stateless credential as a first-class function. +type credentialFunc func(options AuthenticationPolicyOptions) Policy + +// AuthenticationPolicy implements the Credential interface on credentialFunc. +func (cf credentialFunc) AuthenticationPolicy(options AuthenticationPolicyOptions) Policy { + return cf(options) +} + +// TokenCredential represents a credential capable of providing an OAuth token. +type TokenCredential interface { + Credential + // GetToken requests an access token for the specified set of scopes. + GetToken(ctx context.Context, options TokenRequestOptions) (*AccessToken, error) +} + +// AccessToken represents an Azure service bearer access token with expiry information. +type AccessToken struct { + Token string + ExpiresOn time.Time +} + +// TokenRequestOptions contain specific parameter that may be used by credentials types when attempting to get a token +type TokenRequestOptions struct { + Scopes []string +} diff --git a/sdk/azcore/doc.go b/sdk/azcore/doc.go new file mode 100644 index 000000000000..6546445bc796 --- /dev/null +++ b/sdk/azcore/doc.go @@ -0,0 +1,164 @@ +// +build go1.13 + +// Copyright 2017 Microsoft Corporation. All rights reserved. +// Use of this source code is governed by an MIT +// license that can be found in the LICENSE file. + +/* +Package azcore implements an HTTP request/response middleware pipeline whose +policy objects mutate an HTTP request's URL, query parameters, and/or headers before +the request is sent over the wire. + +Not all policy objects mutate an HTTP request; some policy objects simply impact the +flow of requests/responses by performing operations such as logging, retry policies, +timeouts, failure injection, and deserialization of response payloads. + +Implementing the Policy Interface + +To implement a policy, define a struct that implements the pipeline.Policy interface's Do method. Your Do +method is called when an HTTP request wants to be sent over the network. Your Do method can perform any +operation(s) it desires. For example, it can log the outgoing request, mutate the URL, headers, and/or query +parameters, inject a failure, etc. Your Do method must then forward the HTTP request to next Policy object +in a linked-list ensuring that the remaining Policy objects perform their work. Ultimately, the last Policy +object sends the HTTP request over the network (by calling the HTTPSender's Do method). + +When an HTTP response comes back, each Policy object in the linked-list gets a chance to process the response +(in reverse order). The Policy object can log the response, retry the operation if due to a transient failure +or timeout, deserialize the response body, etc. Ultimately, the last Policy object returns the HTTP response +to the code that initiated the original HTTP request. + +Here is a template for how to define a pipeline.Policy object: + + type myPolicy struct { + node PolicyNode + // TODO: Add configuration/setting fields here (if desired)... + } + + func (p *myPolicy) Do(ctx context.Context, request pipeline.Request) (pipeline.Response, error) { + // TODO: Mutate/process the HTTP request here... + response, err := p.node.Do(ctx, request) // Forward HTTP request to next Policy & get HTTP response + // TODO: Mutate/process the HTTP response here... + return response, err // Return response/error to previous Policy + } + +Implementing the Factory Interface + +Each Policy struct definition requires a factory struct definition that implements the pipeline.Factory interface's New +method. The New method is called when application code wants to initiate a new HTTP request. Factory's New method is +passed a pipeline.PolicyNode object which contains a reference to the owning pipeline.Pipeline object (discussed later) and +a reference to the next Policy object in the linked list. The New method should create its corresponding Policy object +passing it the PolicyNode and any other configuration/settings fields appropriate for the specific Policy object. + +Here is a template for how to define a pipeline.Policy object: + + // NOTE: Once created & initialized, Factory objects should be goroutine-safe (ex: immutable); + // this allows reuse (efficient use of memory) and makes these objects usable by multiple goroutines concurrently. + type myPolicyFactory struct { + // TODO: Add any configuration/setting fields if desired... + } + + func (f *myPolicyFactory) New(node pipeline.PolicyNode) Policy { + return &myPolicy{node: node} // TODO: Also initialize any configuration/setting fields here (if desired)... + } + +Using your Factory and Policy objects via a Pipeline + +To use the Factory and Policy objects, an application constructs a slice of Factory objects and passes +this slice to the pipeline.NewPipeline function. + + func NewPipeline(factories []pipeline.Factory, sender pipeline.HTTPSender) Pipeline + +This function also requires an object implementing the HTTPSender interface. For simple scenarios, +passing nil for HTTPSender causes a standard Go http.Client object to be created and used to actually +send the HTTP response over the network. For more advanced scenarios, you can pass your own HTTPSender +object in. This allows sharing of http.Client objects or the use of custom-configured http.Client objects +or other objects that can simulate the network requests for testing purposes. + +Now that you have a pipeline.Pipeline object, you can create a pipeline.Request object (which is a simple +wrapper around Go's standard http.Request object) and pass it to Pipeline's Do method along with passing a +context.Context for cancelling the HTTP request (if desired). + + type Pipeline interface { + Do(ctx context.Context, methodFactory pipeline.Factory, request pipeline.Request) (pipeline.Response, error) + } + +Do iterates over the slice of Factory objects and tells each one to create its corresponding +Policy object. After the linked-list of Policy objects have been created, Do calls the first +Policy object passing it the Context & HTTP request parameters. These parameters now flow through +all the Policy objects giving each object a chance to look at and/or mutate the HTTP request. +The last Policy object sends the message over the network. + +When the network operation completes, the HTTP response and error return values pass +back through the same Policy objects in reverse order. Most Policy objects ignore the +response/error but some log the result, retry the operation (depending on the exact +reason the operation failed), or deserialize the response's body. Your own Policy +objects can do whatever they like when processing outgoing requests or incoming responses. + +Note that after an I/O request runs to completion, the Policy objects for that request +are garbage collected. However, Pipeline object (like Factory objects) are goroutine-safe allowing +them to be created once and reused over many I/O operations. This allows for efficient use of +memory and also makes them safely usable by multiple goroutines concurrently. + +Inserting a Method-Specific Factory into the Linked-List of Policy Objects + +While Pipeline and Factory objects can be reused over many different operations, it is +common to have special behavior for a specific operation/method. For example, a method +may need to deserialize the response's body to an instance of a specific data type. +To accommodate this, the Pipeline's Do method takes an additional method-specific +Factory object. The Do method tells this Factory to create a Policy object and +injects this method-specific Policy object into the linked-list of Policy objects. + +When creating a Pipeline object, the slice of Factory objects passed must have 1 +(and only 1) entry marking where the method-specific Factory should be injected. +The Factory marker is obtained by calling the pipeline.MethodFactoryMarker() function: + + func MethodFactoryMarker() pipeline.Factory + +Creating an HTTP Request Object + +The HTTP request object passed to Pipeline's Do method is not Go's http.Request struct. +Instead, it is a pipeline.Request struct which is a simple wrapper around Go's standard +http.Request. You create a pipeline.Request object by calling the pipeline.NewRequest function: + + func NewRequest(method string, url url.URL, options pipeline.RequestOptions) (request pipeline.Request, err error) + +To this function, you must pass a pipeline.RequestOptions that looks like this: + + type RequestOptions struct { + // The readable and seekable stream to be sent to the server as the request's body. + Body io.ReadSeeker + + // The callback method (if not nil) to be invoked to report progress as the stream is uploaded in the HTTP request. + Progress ProgressReceiver + } + +The method and struct ensure that the request's body stream is a read/seekable stream. +A seekable stream is required so that upon retry, the final Policy object can seek +the stream back to the beginning before retrying the network request and re-uploading the +body. In addition, you can associate a ProgressReceiver callback function which will be +invoked periodically to report progress while bytes are being read from the body stream +and sent over the network. + +Processing the HTTP Response + +When an HTTP response comes in from the network, a reference to Go's http.Response struct is +embedded in a struct that implements the pipeline.Response interface: + + type Response interface { + Response() *http.Response + } + +This interface is returned through all the Policy objects. Each Policy object can call the Response +interface's Response method to examine (or mutate) the embedded http.Response object. + +A Policy object can internally define another struct (implementing the pipeline.Response interface) +that embeds an http.Response and adds additional fields and return this structure to other Policy +objects. This allows a Policy object to deserialize the body to some other struct and return the +original http.Response and the additional struct back through the Policy chain. Other Policy objects +can see the Response but cannot see the additional struct with the deserialized body. After all the +Policy objects have returned, the pipeline.Response interface is returned by Pipeline's Do method. +The caller of this method can perform a type assertion attempting to get back to the struct type +really returned by the Policy object. If the type assertion is successful, the caller now has +access to both the http.Response and the deserialized struct object. +*/ +package azcore diff --git a/sdk/azcore/error.go b/sdk/azcore/error.go new file mode 100644 index 000000000000..93d6957e206f --- /dev/null +++ b/sdk/azcore/error.go @@ -0,0 +1,53 @@ +// +build go1.13 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package azcore + +import ( + "errors" + "fmt" +) + +var ( + // ErrNoMorePolicies is returned from Request.Next() if there are no more policies in the pipeline. + ErrNoMorePolicies = errors.New("no more policies") +) + +// TODO: capture frame info for marshal, unmarshal, and parsing errors +// built in frame in xerror? %w +type frameInfo struct { + file string + line int +} + +func (f frameInfo) String() string { + if f.zero() { + return "" + } + return fmt.Sprintf("file: %s, line: %d", f.file, f.line) +} + +func (f frameInfo) zero() bool { + return f.file == "" && f.line == 0 +} + +// RequestError is returned when the service returns an unsuccessful resopnse code (4xx, 5xx). +type RequestError struct { + msg string + resp *Response +} + +func newRequestError(message string, response *Response) error { + return RequestError{msg: message, resp: response} +} + +func (re RequestError) Error() string { + return re.msg +} + +// Response returns the underlying response. +func (re RequestError) Response() *Response { + return re.resp +} diff --git a/sdk/azcore/go.mod b/sdk/azcore/go.mod new file mode 100644 index 000000000000..637312064cb5 --- /dev/null +++ b/sdk/azcore/go.mod @@ -0,0 +1,5 @@ +module github.com/Azure/azure-sdk-for-go/sdk/azcore + +require github.com/Azure/azure-sdk-for-go/sdk/internal v0.1.0 + +go 1.13 diff --git a/sdk/azcore/go.sum b/sdk/azcore/go.sum new file mode 100644 index 000000000000..6306f1577dcd --- /dev/null +++ b/sdk/azcore/go.sum @@ -0,0 +1,2 @@ +github.com/Azure/azure-sdk-for-go/sdk/internal v0.1.0 h1:sgOdyT1ZAW3nErwCuvlGrkeP03pTtbRBW5MGCXWGZws= +github.com/Azure/azure-sdk-for-go/sdk/internal v0.1.0/go.mod h1:Q+TCQnSr+clUU0JU+xrHZ3slYCxw17AOFdvWFpQXjAY= diff --git a/sdk/azcore/headers.go b/sdk/azcore/headers.go new file mode 100644 index 000000000000..0daa2908ee04 --- /dev/null +++ b/sdk/azcore/headers.go @@ -0,0 +1,29 @@ +// +build go1.13 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package azcore + +// Constants ensuring that header names are correctly spelled and consistently cased. +const ( + HeaderAuthorization = "Authorization" + HeaderCacheControl = "Cache-Control" + HeaderContentEncoding = "Content-Encoding" + HeaderContentDisposition = "Content-Disposition" + HeaderContentLanguage = "Content-Language" + HeaderContentLength = "Content-Length" + HeaderContentMD5 = "Content-MD5" + HeaderContentType = "Content-Type" + HeaderDate = "Date" + HeaderIfMatch = "If-Match" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderIfNoneMatch = "If-None-Match" + HeaderIfUnmodifiedSince = "If-Unmodified-Since" + HeaderMetadata = "Metadata" + HeaderRange = "Range" + HeaderURLEncoded = "application/x-www-form-urlencoded" + HeaderUserAgent = "User-Agent" + HeaderXmsDate = "x-ms-date" + HeaderXmsVersion = "x-ms-version" +) diff --git a/sdk/azcore/log.go b/sdk/azcore/log.go new file mode 100644 index 000000000000..211cdd99d622 --- /dev/null +++ b/sdk/azcore/log.go @@ -0,0 +1,86 @@ +// +build go1.13 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package azcore + +// LogClassification is used to group entries. Each group can be toggled on or off. +type LogClassification string + +const ( + // LogError entries contain detailed error information. + // This includes the error message and stack trace. + LogError LogClassification = "Error" + + // LogRequest entries contain information about HTTP requests. + // This includes information like the URL, query parameters, and headers. + LogRequest LogClassification = "Request" + + // LogResponse entries contain information about HTTP responses. + // This includes information like the HTTP status code, headers, and request URL. + LogResponse LogClassification = "Response" + + // LogRetryPolicy entries contain information specific to the retry policy in use. + LogRetryPolicy LogClassification = "RetryPolicy" + + // LogSlowResponse entries contain information for responses that take longer than the specified threshold. + LogSlowResponse LogClassification = "SlowResponse" +) + +// Listener is the function signature invoked when writing log entries. +// A Listener is required to perform its own synchronization if it's +// expected to be called from multiple Go routines. +type Listener func(LogClassification, string) + +// Logger controls which classifications to log and writing to the underlying log. +type Logger struct { + cls []LogClassification + lst Listener +} + +// SetClassifications is used to control which classifications are written to +// the log. By default all log classifications are written. +func (l *Logger) SetClassifications(cls ...LogClassification) { + l.cls = cls +} + +// SetListener will set the Logger to write to the specified Listener. +func (l *Logger) SetListener(lst Listener) { + l.lst = lst +} + +// Should returns true if the specified log classification should be written to the log. +// TODO: explain why you would want to call this +func (l *Logger) Should(cls LogClassification) bool { + if l.cls == nil || len(l.cls) == 0 { + return true + } + for _, c := range l.cls { + if c == cls { + return true + } + } + return false +} + +// Write invokes the underlying Listener with the specified classification and message. +// If the classification shouldn't be logged or there is no listener then Write does nothing. +func (l *Logger) Write(cls LogClassification, message string) { + if l.lst == nil || !l.Should(cls) { + return + } + l.lst(cls, message) +} + +// for testing purposes +func (l *Logger) resetClassifications() { + l.cls = nil +} + +var log Logger + +// Log returns the process-wide logger. +func Log() *Logger { + return &log +} diff --git a/sdk/azcore/log_test.go b/sdk/azcore/log_test.go new file mode 100644 index 000000000000..f9eadbe2c5f8 --- /dev/null +++ b/sdk/azcore/log_test.go @@ -0,0 +1,50 @@ +// +build go1.13 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package azcore + +import "testing" + +func TestLoggingDefault(t *testing.T) { + // ensure logging with nil listener doesn't fail + Log().SetListener(nil) + Log().Write(LogError, "this should work just fine") + + log := map[LogClassification]string{} + Log().SetListener(func(cls LogClassification, msg string) { + log[cls] = msg + }) + const req = "this is a request" + Log().Write(LogRequest, req) + const resp = "this is a response" + Log().Write(LogResponse, resp) + if l := len(log); l != 2 { + t.Fatalf("unexpected log entry count: %d", l) + } + if log[LogRequest] != req { + t.Fatalf("unexpected log request: %s", log[LogRequest]) + } + if log[LogResponse] != resp { + t.Fatalf("unexpected log response: %s", log[LogResponse]) + } +} + +func TestLoggingClassification(t *testing.T) { + log := map[LogClassification]string{} + Log().SetListener(func(cls LogClassification, msg string) { + log[cls] = msg + }) + Log().SetClassifications(LogError) + defer Log().resetClassifications() + Log().Write(LogSlowResponse, "this shouldn't be in the log") + if s, ok := log[LogSlowResponse]; ok { + t.Fatalf("unexpected log entry %s", s) + } + const err = "this is an error" + Log().Write(LogError, err) + if log[LogError] != err { + t.Fatalf("unexpected log entry: %s", log[LogError]) + } +} diff --git a/sdk/azcore/policy_anonymous_credential.go b/sdk/azcore/policy_anonymous_credential.go new file mode 100644 index 000000000000..6d5977ccd9f6 --- /dev/null +++ b/sdk/azcore/policy_anonymous_credential.go @@ -0,0 +1,18 @@ +// +build go1.13 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package azcore + +import "context" + +// AnonymousCredential is for use with HTTP(S) requests that read public resource +// or for use with Shared Access Signatures (SAS). +func AnonymousCredential() Credential { + return credentialFunc(func(AuthenticationPolicyOptions) Policy { + return PolicyFunc(func(ctx context.Context, req *Request) (*Response, error) { + return req.Next(ctx) + }) + }) +} diff --git a/sdk/azcore/policy_anonymous_credential_test.go b/sdk/azcore/policy_anonymous_credential_test.go new file mode 100644 index 000000000000..d860a843f704 --- /dev/null +++ b/sdk/azcore/policy_anonymous_credential_test.go @@ -0,0 +1,30 @@ +// +build go1.13 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package azcore + +import ( + "context" + "net/http" + "reflect" + "testing" + + "github.com/Azure/azure-sdk-for-go/sdk/internal/mock" +) + +func TestAnonymousCredential(t *testing.T) { + srv, close := mock.NewServer() + defer close() + srv.SetResponse(mock.WithStatusCode(http.StatusOK)) + pl := NewPipeline(srv, AnonymousCredential().AuthenticationPolicy(AuthenticationPolicyOptions{})) + req := NewRequest(http.MethodGet, srv.URL()) + resp, err := pl.Do(context.Background(), req) + if err != nil { + t.Fatalf("unexpected error: %v", err) + } + if !reflect.DeepEqual(req.Header, resp.Request.Header) { + t.Fatal("unexpected modification to request headers") + } +} diff --git a/sdk/azcore/policy_body_download.go b/sdk/azcore/policy_body_download.go new file mode 100644 index 000000000000..22f5a1b9b415 --- /dev/null +++ b/sdk/azcore/policy_body_download.go @@ -0,0 +1,73 @@ +// +build go1.13 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package azcore + +import ( + "context" + "fmt" + "io" + "io/ioutil" +) + +// newBodyDownloadPolicy creates a policy object that downloads the response's body to a []byte. +func newBodyDownloadPolicy() Policy { + return PolicyFunc(func(ctx context.Context, req *Request) (*Response, error) { + resp, err := req.Next(ctx) + if err != nil { + return resp, err + } + var opValues bodyDownloadPolicyOpValues + if req.OperationValue(&opValues); !opValues.skip && resp.Body != nil { + // Either bodyDownloadPolicyOpValues was not specified (so skip is false) + // or it was specified and skip is false: don't skip downloading the body + b, err := ioutil.ReadAll(resp.Body) + resp.Body.Close() + if err != nil { + err = fmt.Errorf("body download policy: %w", err) + } + resp.Body = &nopClosingBytesReader{s: b} + } + return resp, err + }) +} + +// bodyDownloadPolicyOpValues is the struct containing the per-operation values +type bodyDownloadPolicyOpValues struct { + skip bool +} + +// nopClosingBytesReader is an io.ReadCloser around a byte slice. +// It also provides direct access to the byte slice. +type nopClosingBytesReader struct { + s []byte + i int64 +} + +// Bytes returns the underlying byte slice. +func (r *nopClosingBytesReader) Bytes() []byte { + return r.s +} + +// Close implements the io.Closer interface. +func (*nopClosingBytesReader) Close() error { + return nil +} + +// Read implements the io.Reader interface. +func (r *nopClosingBytesReader) Read(b []byte) (n int, err error) { + if r.i >= int64(len(r.s)) { + return 0, io.EOF + } + n = copy(b, r.s[r.i:]) + r.i += int64(n) + return +} + +// Set replaces the existing byte slice with the specified byte slice and resets the reader. +func (r *nopClosingBytesReader) Set(b []byte) { + r.s = b + r.i = 0 +} diff --git a/sdk/azcore/policy_body_download_test.go b/sdk/azcore/policy_body_download_test.go new file mode 100644 index 000000000000..a46f4dcfd502 --- /dev/null +++ b/sdk/azcore/policy_body_download_test.go @@ -0,0 +1,51 @@ +// +build go1.13 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package azcore + +import ( + "context" + "net/http" + "testing" + + "github.com/Azure/azure-sdk-for-go/sdk/internal/mock" +) + +func TestDownloadBody(t *testing.T) { + const message = "downloaded" + srv, close := mock.NewServer() + defer close() + srv.SetResponse(mock.WithBody([]byte(message))) + // download policy is automatically added during pipeline construction + pl := NewPipeline(srv) + resp, err := pl.Do(context.Background(), NewRequest(http.MethodGet, srv.URL())) + if err != nil { + t.Fatalf("unexpected error: %v", err) + } + if len(resp.payload()) == 0 { + t.Fatal("missing payload") + } + if string(resp.payload()) != message { + t.Fatalf("unexpected response: %s", string(resp.payload())) + } +} + +func TestSkipBodyDownload(t *testing.T) { + const message = "not downloaded" + srv, close := mock.NewServer() + defer close() + srv.SetResponse(mock.WithBody([]byte(message))) + // download policy is automatically added during pipeline construction + pl := NewPipeline(srv) + req := NewRequest(http.MethodGet, srv.URL()) + req.SkipBodyDownload() + resp, err := pl.Do(context.Background(), req) + if err != nil { + t.Fatalf("unexpected error: %v", err) + } + if len(resp.payload()) > 0 { + t.Fatalf("unexpected download: %s", string(resp.payload())) + } +} diff --git a/sdk/azcore/policy_logging.go b/sdk/azcore/policy_logging.go new file mode 100644 index 000000000000..5900e64f9c04 --- /dev/null +++ b/sdk/azcore/policy_logging.go @@ -0,0 +1,160 @@ +// +build go1.13 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package azcore + +import ( + "bytes" + "context" + "fmt" + "net/http" + "net/url" + "runtime" + "strings" + "time" +) + +// RequestLogOptions configures the retry policy's behavior. +type RequestLogOptions struct { + // LogWarningIfTryOverThreshold logs a warning if a tried operation takes longer than the specified + // duration (-1=no logging; 0=default threshold). + LogWarningIfTryOverThreshold time.Duration +} + +func (o RequestLogOptions) defaults() RequestLogOptions { + if o.LogWarningIfTryOverThreshold == 0 { + // It would be good to relate this to https://azure.microsoft.com/en-us/support/legal/sla/storage/v1_2/ + // But this monitors the time to get the HTTP response; NOT the time to download the response body. + o.LogWarningIfTryOverThreshold = 3 * time.Second // Default to 3 seconds + } + return o +} + +type requestLogPolicy struct { + options RequestLogOptions +} + +// NewRequestLogPolicy creates a RequestLogPolicy object configured using the specified options. +func NewRequestLogPolicy(o RequestLogOptions) Policy { + o = o.defaults() // Force defaults to be calculated + return &requestLogPolicy{options: o} +} + +// logPolicyOpValues is the struct containing the per-operation values +type logPolicyOpValues struct { + try int32 + start time.Time +} + +func (p *requestLogPolicy) Do(ctx context.Context, req *Request) (*Response, error) { + // Get the per-operation values. These are saved in the Message's map so that they persist across each retry calling into this policy object. + var opValues logPolicyOpValues + if req.OperationValue(&opValues); opValues.start.IsZero() { + opValues.start = time.Now() // If this is the 1st try, record this operation's start time + } + opValues.try++ // The first try is #1 (not #0) + req.SetOperationValue(opValues) + + // Log the outgoing request as informational + if Log().Should(LogRequest) { + b := &bytes.Buffer{} + fmt.Fprintf(b, "==> OUTGOING REQUEST (Try=%d)\n", opValues.try) + WriteRequestWithResponse(b, prepareRequestForLogging(req), nil, nil) + Log().Write(LogRequest, b.String()) + } + + // Set the time for this particular retry operation and then Do the operation. + tryStart := time.Now() + response, err := req.Next(ctx) // Make the request + tryEnd := time.Now() + tryDuration := tryEnd.Sub(tryStart) + opDuration := tryEnd.Sub(opValues.start) + + logClass := LogResponse // Default logging information + + // If the response took too long, we'll upgrade to warning. + if p.options.LogWarningIfTryOverThreshold > 0 && tryDuration > p.options.LogWarningIfTryOverThreshold { + // Log a warning if the try duration exceeded the specified threshold + logClass = LogSlowResponse + } + + if err == nil { // We got a response from the service + sc := response.StatusCode + if ((sc >= 400 && sc <= 499) && sc != http.StatusNotFound && sc != http.StatusConflict && sc != http.StatusPreconditionFailed && sc != http.StatusRequestedRangeNotSatisfiable) || (sc >= 500 && sc <= 599) { + logClass = LogError // Promote to Error any 4xx (except those listed is an error) or any 5xx + } else { + // For other status codes, we leave the level as is. + } + } else { // This error did not get an HTTP response from the service; upgrade the severity to Error + logClass = LogError + } + + if Log().Should(logClass) { + // We're going to log this; build the string to log + b := &bytes.Buffer{} + slow := "" + if p.options.LogWarningIfTryOverThreshold > 0 && tryDuration > p.options.LogWarningIfTryOverThreshold { + slow = fmt.Sprintf("[SLOW >%v]", p.options.LogWarningIfTryOverThreshold) + } + fmt.Fprintf(b, "==> REQUEST/RESPONSE (Try=%d/%v%s, OpTime=%v) -- ", opValues.try, tryDuration, slow, opDuration) + if err != nil { // This HTTP request did not get a response from the service + fmt.Fprint(b, "REQUEST ERROR\n") + } else { + if logClass == LogError { + fmt.Fprint(b, "RESPONSE STATUS CODE ERROR\n") + } else { + fmt.Fprint(b, "RESPONSE SUCCESSFULLY RECEIVED\n") + } + } + + WriteRequestWithResponse(b, prepareRequestForLogging(req), response, err) + if logClass == LogError { + b.Write(stack()) // For errors (or lower levels), we append the stack trace (an expensive operation) + } + Log().Write(logClass, b.String()) + } + return response, err +} + +// RedactSigQueryParam redacts the 'sig' query parameter in URL's raw query to protect secret. +func RedactSigQueryParam(rawQuery string) (bool, string) { + rawQuery = strings.ToLower(rawQuery) // lowercase the string so we can look for ?sig= and &sig= + sigFound := strings.Contains(rawQuery, "?sig=") + if !sigFound { + sigFound = strings.Contains(rawQuery, "&sig=") + if !sigFound { + return sigFound, rawQuery // [?|&]sig= not found; return same rawQuery passed in (no memory allocation) + } + } + // [?|&]sig= found, redact its value + values, _ := url.ParseQuery(rawQuery) + for name := range values { + if strings.EqualFold(name, "sig") { + values[name] = []string{"REDACTED"} + } + } + return sigFound, values.Encode() +} + +func prepareRequestForLogging(req *Request) *Request { + request := req + if sigFound, rawQuery := RedactSigQueryParam(request.URL.RawQuery); sigFound { + // Make copy so we don't destroy the query parameters we actually need to send in the request + request = req.copy() + request.URL.RawQuery = rawQuery + } + return request +} + +func stack() []byte { + buf := make([]byte, 1024) + for { + n := runtime.Stack(buf, false) + if n < len(buf) { + return buf[:n] + } + buf = make([]byte, 2*len(buf)) + } +} diff --git a/sdk/azcore/policy_logging_test.go b/sdk/azcore/policy_logging_test.go new file mode 100644 index 000000000000..046a6a448262 --- /dev/null +++ b/sdk/azcore/policy_logging_test.go @@ -0,0 +1,116 @@ +// +build go1.13 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package azcore + +import ( + "context" + "errors" + "net/http" + "strings" + "testing" + + "github.com/Azure/azure-sdk-for-go/sdk/internal/mock" +) + +func TestPolicyLoggingSuccess(t *testing.T) { + log := map[LogClassification]string{} + Log().SetListener(func(cls LogClassification, s string) { + log[cls] = s + }) + srv, close := mock.NewServer() + defer close() + srv.SetResponse() + pl := NewPipeline(srv, NewRequestLogPolicy(RequestLogOptions{})) + req := NewRequest(http.MethodGet, srv.URL()) + req.SetQueryParam("one", "fish") + req.SetQueryParam("sig", "redact") + resp, err := pl.Do(context.Background(), req) + if err != nil { + t.Fatalf("unexpected error: %v", err) + } + if resp.StatusCode != http.StatusOK { + t.Fatalf("unexpected status code: %d", resp.StatusCode) + } + if logReq, ok := log[LogRequest]; ok { + // Request ==> OUTGOING REQUEST (Try=1) + // GET http://127.0.0.1:49475?one=fish&sig=REDACTED + // (no headers) + if !strings.Contains(logReq, "sig=REDACTED") { + t.Fatal("missing redacted sig query param") + } + if !strings.Contains(logReq, "(no headers)") { + t.Fatal("missing (no headers)") + } + } else { + t.Fatal("missing LogRequest") + } + if logResp, ok := log[LogResponse]; ok { + // Response ==> REQUEST/RESPONSE (Try=1/1.0034ms, OpTime=1.0034ms) -- RESPONSE SUCCESSFULLY RECEIVED + // GET http://127.0.0.1:49475?one=fish&sig=REDACTED + // (no headers) + // -------------------------------------------------------------------------------- + // RESPONSE Status: 200 OK + // Content-Length: [0] + // Date: [Fri, 22 Nov 2019 23:48:02 GMT] + if !strings.Contains(logResp, "RESPONSE Status: 200 OK") { + t.Fatal("missing response status") + } + } else { + t.Fatal("missing LogResponse") + } +} + +func TestPolicyLoggingError(t *testing.T) { + log := map[LogClassification]string{} + Log().SetListener(func(cls LogClassification, s string) { + log[cls] = s + }) + srv, close := mock.NewServer() + defer close() + srv.SetError(errors.New("bogus error")) + pl := NewPipeline(srv, NewRequestLogPolicy(RequestLogOptions{})) + req := NewRequest(http.MethodGet, srv.URL()) + req.Header.Add("header", "one") + req.Header.Add("Authorization", "redact") + resp, err := pl.Do(context.Background(), req) + if err == nil { + t.Fatal("unexpected nil error") + } + if resp != nil { + t.Fatal("unexpected respose") + } + if logReq, ok := log[LogRequest]; ok { + // Request ==> OUTGOING REQUEST (Try=1) + // GET http://127.0.0.1:50057 + // Authorization: REDACTED + // Header: [one] + if !strings.Contains(logReq, "Authorization: REDACTED") { + t.Fatal("missing redacted authorization header") + } + } else { + t.Fatal("missing LogRequest") + } + if logError, ok := log[LogError]; ok { + // Error ==> REQUEST/RESPONSE (Try=1/0s, OpTime=0s) -- REQUEST ERROR + // GET http://127.0.0.1:50057 + // Authorization: REDACTED + // Header: [one] + // -------------------------------------------------------------------------------- + // ERROR: + // bogus error + // ...stack track... + if !strings.Contains(logError, "Authorization: REDACTED") { + t.Fatal("missing redacted authorization header") + } + if !strings.Contains(logError, "bogus error") { + t.Fatal("missing error message") + } + } else { + t.Fatal("missing LogError") + } +} + +// TODO: add test for slow response diff --git a/sdk/azcore/policy_retry.go b/sdk/azcore/policy_retry.go new file mode 100644 index 000000000000..7d48f98a42b4 --- /dev/null +++ b/sdk/azcore/policy_retry.go @@ -0,0 +1,208 @@ +// +build go1.13 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package azcore + +import ( + "context" + "fmt" + "io" + "math/rand" + "net/http" + "time" +) + +const ( + defaultMaxTries = 4 +) + +// RetryOptions configures the retry policy's behavior. +type RetryOptions struct { + // MaxTries specifies the maximum number of attempts an operation will be tried before producing an error (0=default). + // A value of zero means that you accept our default policy. A value of 1 means 1 try and no retries. + MaxTries int32 + + // TryTimeout indicates the maximum time allowed for any single try of an HTTP request. + // A value of zero means that you accept our default timeout. NOTE: When transferring large amounts + // of data, the default TryTimeout will probably not be sufficient. You should override this value + // based on the bandwidth available to the host machine and proximity to the service. A good + // starting point may be something like (60 seconds per MB of anticipated-payload-size). + TryTimeout time.Duration + + // RetryDelay specifies the amount of delay to use before retrying an operation (0=default). + // The delay increases exponentially with each retry up to a maximum specified by MaxRetryDelay. + // If you specify 0, then you must also specify 0 for MaxRetryDelay. + // If you specify RetryDelay, then you must also specify MaxRetryDelay, and MaxRetryDelay should be + // equal to or greater than RetryDelay. + RetryDelay time.Duration + + // MaxRetryDelay specifies the maximum delay allowed before retrying an operation (0=default). + // If you specify 0, then you must also specify 0 for RetryDelay. + MaxRetryDelay time.Duration + + // StatusCodes specifies the HTTP status codes that indicate the operation should be retried. + // If unspecified it will default to the status codes in StatusCodesForRetry. + StatusCodes []int +} + +var ( + // StatusCodesForRetry is the default set of HTTP status code for which the policy will retry. + StatusCodesForRetry = [6]int{ + http.StatusRequestTimeout, // 408 + http.StatusTooManyRequests, // 429 + http.StatusInternalServerError, // 500 + http.StatusBadGateway, // 502 + http.StatusServiceUnavailable, // 503 + http.StatusGatewayTimeout, // 504 + } +) + +// DefaultRetryOptions returns an instance of RetryOptions initialized with default values. +func DefaultRetryOptions() RetryOptions { + return RetryOptions{ + StatusCodes: StatusCodesForRetry[:], + MaxTries: defaultMaxTries, + TryTimeout: 1 * time.Minute, + RetryDelay: 4 * time.Second, + MaxRetryDelay: 120 * time.Second, + } +} + +func (o RetryOptions) calcDelay(try int32) time.Duration { // try is >=1; never 0 + pow := func(number int64, exponent int32) int64 { // pow is nested helper function + var result int64 = 1 + for n := int32(0); n < exponent; n++ { + result *= number + } + return result + } + + delay := time.Duration(pow(2, try)-1) * o.RetryDelay + + // Introduce some jitter: [0.0, 1.0) / 2 = [0.0, 0.5) + 0.8 = [0.8, 1.3) + delay = time.Duration(delay.Seconds() * (rand.Float64()/2 + 0.8) * float64(time.Second)) // NOTE: We want math/rand; not crypto/rand + if delay > o.MaxRetryDelay { + delay = o.MaxRetryDelay + } + return delay +} + +// NewRetryPolicy creates a policy object configured using the specified options. +// Pass nil to accept the default values; this is the same as passing the result +// from a call to DefaultRetryOptions(). +func NewRetryPolicy(o *RetryOptions) Policy { + if o == nil { + def := DefaultRetryOptions() + o = &def + } + return &retryPolicy{options: *o} +} + +type retryPolicy struct { + options RetryOptions +} + +func (p *retryPolicy) Do(ctx context.Context, req *Request) (resp *Response, err error) { + // Exponential retry algorithm: ((2 ^ attempt) - 1) * delay * random(0.8, 1.2) + // When to retry: connection failure or temporary/timeout. + if req.Body != nil { + // wrap the body so we control when it's actually closed + rwbody := &retryableRequestBody{body: req.Body.(ReadSeekCloser)} + req.Body = rwbody + req.Request.GetBody = func() (io.ReadCloser, error) { + _, err := rwbody.Seek(0, io.SeekStart) // Seek back to the beginning of the stream + return rwbody, err + } + defer rwbody.realClose() + } + try := int32(1) + shouldLog := Log().Should(LogRetryPolicy) + for { + resp = nil // reset + if shouldLog { + Log().Write(LogRetryPolicy, fmt.Sprintf("\n=====> Try=%d\n", try)) + } + + // For each try, seek to the beginning of the Body stream. We do this even for the 1st try because + // the stream may not be at offset 0 when we first get it and we want the same behavior for the + // 1st try as for additional tries. + err = req.RewindBody() + if err != nil { + return + } + + // Set the time for this particular retry operation and then Do the operation. + tryCtx, tryCancel := context.WithTimeout(ctx, p.options.TryTimeout) + resp, err = req.Next(tryCtx) // Make the request + tryCancel() + if shouldLog { + Log().Write(LogRetryPolicy, fmt.Sprintf("Err=%v, response=%v\n", err, resp)) + } + + if err == nil && !resp.HasStatusCode(p.options.StatusCodes...) { + // if there is no error and the response code isn't in the list of retry codes then we're done. + return + } else if ctx.Err() != nil { + // don't retry if the parent context has been cancelled or its deadline exceeded + return + } else if retrier, ok := err.(Retrier); ok && retrier.IsNotRetriable() { + // the error says it's not retriable so don't retry + return + } + + // drain before retrying so nothing is leaked + resp.Drain() + + if try == p.options.MaxTries { + // max number of tries has been reached, don't sleep again + return + } + + // use the delay from retry-after if available + delay, ok := resp.RetryAfter() + if !ok { + delay = p.options.calcDelay(try) + } + if shouldLog { + Log().Write(LogRetryPolicy, fmt.Sprintf("Try=%d, Delay=%v\n", try, delay)) + } + select { + case <-time.After(delay): + try++ + case <-ctx.Done(): + err = ctx.Err() + return + } + } +} + +// ********** The following type/methods implement the retryableRequestBody (a ReadSeekCloser) + +// This struct is used when sending a body to the network +type retryableRequestBody struct { + body io.ReadSeeker // Seeking is required to support retries +} + +// Read reads a block of data from an inner stream and reports progress +func (b *retryableRequestBody) Read(p []byte) (n int, err error) { + return b.body.Read(p) +} + +func (b *retryableRequestBody) Seek(offset int64, whence int) (offsetFromStart int64, err error) { + return b.body.Seek(offset, whence) +} + +func (b *retryableRequestBody) Close() error { + // We don't want the underlying transport to close the request body on transient failures so this is a nop. + // The retry policy closes the request body upon success. + return nil +} + +func (b *retryableRequestBody) realClose() error { + if c, ok := b.body.(io.Closer); ok { + return c.Close() + } + return nil +} diff --git a/sdk/azcore/policy_retry_test.go b/sdk/azcore/policy_retry_test.go new file mode 100644 index 000000000000..6a3dc79197cf --- /dev/null +++ b/sdk/azcore/policy_retry_test.go @@ -0,0 +1,251 @@ +// +build go1.13 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package azcore + +import ( + "context" + "errors" + "io" + "net/http" + "strings" + "testing" + "time" + + "github.com/Azure/azure-sdk-for-go/sdk/internal/mock" +) + +func testRetryOptions() *RetryOptions { + def := DefaultRetryOptions() + def.RetryDelay = 20 * time.Millisecond + return &def +} + +func TestRetryPolicySuccess(t *testing.T) { + srv, close := mock.NewServer() + defer close() + srv.SetResponse(mock.WithStatusCode(http.StatusOK)) + pl := NewPipeline(srv, NewRetryPolicy(nil)) + req := NewRequest(http.MethodGet, srv.URL()) + body := newRewindTrackingBody("stuff") + req.SetBody(body) + resp, err := pl.Do(context.Background(), req) + if err != nil { + t.Fatalf("unexpected error: %v", err) + } + if resp.StatusCode != http.StatusOK { + t.Fatalf("unexpected status code: %d", resp.StatusCode) + } + if body.rcount > 0 { + t.Fatalf("unexpected rewind count: %d", body.rcount) + } + if !body.closed { + t.Fatal("request body wasn't closed") + } +} + +func TestRetryPolicyFailOnStatusCode(t *testing.T) { + srv, close := mock.NewServer() + defer close() + srv.SetResponse(mock.WithStatusCode(http.StatusInternalServerError)) + pl := NewPipeline(srv, NewRetryPolicy(testRetryOptions())) + req := NewRequest(http.MethodGet, srv.URL()) + body := newRewindTrackingBody("stuff") + req.SetBody(body) + resp, err := pl.Do(context.Background(), req) + if err != nil { + t.Fatalf("unexpected error: %v", err) + } + if resp.StatusCode != http.StatusInternalServerError { + t.Fatalf("unexpected status code: %d", resp.StatusCode) + } + if r := srv.Requests(); r != defaultMaxTries { + t.Fatalf("wrong retry count, got %d expected %d", r, defaultMaxTries) + } + if body.rcount != defaultMaxTries-1 { + t.Fatalf("unexpected rewind count: %d", body.rcount) + } + if !body.closed { + t.Fatal("request body wasn't closed") + } +} + +func TestRetryPolicySuccessWithRetry(t *testing.T) { + srv, close := mock.NewServer() + defer close() + srv.AppendResponse(mock.WithStatusCode(http.StatusRequestTimeout)) + srv.AppendResponse(mock.WithStatusCode(http.StatusInternalServerError)) + srv.AppendResponse() + pl := NewPipeline(srv, NewRetryPolicy(testRetryOptions())) + req := NewRequest(http.MethodGet, srv.URL()) + body := newRewindTrackingBody("stuff") + req.SetBody(body) + resp, err := pl.Do(context.Background(), req) + if err != nil { + t.Fatalf("unexpected error: %v", err) + } + if resp.StatusCode != http.StatusOK { + t.Fatalf("unexpected status code: %d", resp.StatusCode) + } + if r := srv.Requests(); r != 3 { + t.Fatalf("wrong retry count, got %d expected %d", r, 3) + } + if body.rcount != 2 { + t.Fatalf("unexpected rewind count: %d", body.rcount) + } + if !body.closed { + t.Fatal("request body wasn't closed") + } +} + +func TestRetryPolicyFailOnError(t *testing.T) { + srv, close := mock.NewServer() + defer close() + fakeErr := errors.New("bogus error") + srv.SetError(fakeErr) + pl := NewPipeline(srv, NewRetryPolicy(testRetryOptions())) + req := NewRequest(http.MethodPost, srv.URL()) + body := newRewindTrackingBody("stuff") + req.SetBody(body) + resp, err := pl.Do(context.Background(), req) + if !errors.Is(err, fakeErr) { + t.Fatalf("unexpected error: %v", err) + } + if resp != nil { + t.Fatal("unexpected response") + } + if r := srv.Requests(); r != defaultMaxTries { + t.Fatalf("wrong retry count, got %d expected %d", r, defaultMaxTries) + } + if body.rcount != defaultMaxTries-1 { + t.Fatalf("unexpected rewind count: %d", body.rcount) + } + if !body.closed { + t.Fatal("request body wasn't closed") + } +} + +func TestRetryPolicySuccessWithRetryComplex(t *testing.T) { + srv, close := mock.NewServer() + defer close() + srv.AppendResponse(mock.WithStatusCode(http.StatusRequestTimeout)) + srv.AppendError(errors.New("bogus error")) + srv.AppendResponse(mock.WithStatusCode(http.StatusInternalServerError)) + srv.AppendResponse(mock.WithStatusCode(http.StatusAccepted)) + pl := NewPipeline(srv, NewRetryPolicy(testRetryOptions())) + req := NewRequest(http.MethodGet, srv.URL()) + body := newRewindTrackingBody("stuff") + req.SetBody(body) + resp, err := pl.Do(context.Background(), req) + if err != nil { + t.Fatalf("unexpected error: %v", err) + } + if resp.StatusCode != http.StatusAccepted { + t.Fatalf("unexpected status code: %d", resp.StatusCode) + } + if r := srv.Requests(); r != defaultMaxTries { + t.Fatalf("wrong retry count, got %d expected %d", r, 3) + } + if body.rcount != defaultMaxTries-1 { + t.Fatalf("unexpected rewind count: %d", body.rcount) + } + if !body.closed { + t.Fatal("request body wasn't closed") + } +} + +func TestRetryPolicyRequestTimedOut(t *testing.T) { + srv, close := mock.NewServer() + defer close() + srv.SetError(errors.New("bogus error")) + pl := NewPipeline(srv, NewRetryPolicy(nil)) + req := NewRequest(http.MethodPost, srv.URL()) + body := newRewindTrackingBody("stuff") + req.SetBody(body) + ctx, cancel := context.WithTimeout(context.Background(), 1*time.Second) + defer cancel() + resp, err := pl.Do(ctx, req) + if !errors.Is(err, context.DeadlineExceeded) { + t.Fatalf("unexpected error: %v", err) + } + if resp != nil { + t.Fatal("unexpected response") + } + if body.rcount > 0 { + t.Fatalf("unexpected rewind count: %d", body.rcount) + } + if !body.closed { + t.Fatal("request body wasn't closed") + } +} + +type fatalError struct { + s string +} + +func (f fatalError) Error() string { + return f.s +} + +func (f fatalError) IsNotRetriable() bool { + return true +} + +func TestRetryPolicyIsNotRetriable(t *testing.T) { + theErr := fatalError{s: "it's dead Jim"} + srv, close := mock.NewServer() + defer close() + srv.AppendResponse(mock.WithStatusCode(http.StatusRequestTimeout)) + srv.AppendError(theErr) + pl := NewPipeline(srv, NewRetryPolicy(testRetryOptions())) + _, err := pl.Do(context.Background(), NewRequest(http.MethodGet, srv.URL())) + if err == nil { + t.Fatal("unexpected nil error") + } + if !errors.Is(err, theErr) { + t.Fatalf("unexpected error type: got %v wanted %v", err, theErr) + } + if r := srv.Requests(); r != 2 { + t.Fatalf("wrong retry count, got %d expected %d", r, 3) + } +} + +// TODO: add test for retry failing to read response body + +// TODO: add test for per-retry timeout failed but e2e succeeded + +func newRewindTrackingBody(s string) *rewindTrackingBody { + // there are two rewinds that happen before rewinding for a retry + // 1. to get the body's size in SetBody() + // 2. the first call to Do() in the retry policy + // to offset this we init rcount with -2 so rcount is only > 0 on a rewind due to a retry + return &rewindTrackingBody{ + body: strings.NewReader(s), + rcount: -2, + } +} + +// used to track the number of times a request body has been rewound +type rewindTrackingBody struct { + body *strings.Reader + closed bool // indicates if the body was closed + rcount int // number of times a rewind happened +} + +func (r *rewindTrackingBody) Close() error { + r.closed = true + return nil +} + +func (r *rewindTrackingBody) Read(b []byte) (int, error) { + return r.body.Read(b) +} + +func (r *rewindTrackingBody) Seek(offset int64, whence int) (int64, error) { + if offset == 0 && whence == io.SeekStart { + r.rcount++ + } + return r.body.Seek(offset, whence) +} diff --git a/sdk/azcore/policy_telemetry.go b/sdk/azcore/policy_telemetry.go new file mode 100644 index 000000000000..10c83fb82f2f --- /dev/null +++ b/sdk/azcore/policy_telemetry.go @@ -0,0 +1,53 @@ +// +build go1.13 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package azcore + +import ( + "bytes" + "context" + "fmt" + "os" + "runtime" +) + +// TelemetryOptions configures the telemetry policy's behavior. +type TelemetryOptions struct { + // Value is a string prepended to each request's User-Agent and sent to the service. + // The service records the user-agent in logs for diagnostics and tracking of client requests. + Value string +} + +type telemetryPolicy struct { + telemetryValue string +} + +// NewTelemetryPolicy creates a telemetry policy object that adds telemetry information to outgoing HTTP requests. +func NewTelemetryPolicy(o TelemetryOptions) Policy { + b := &bytes.Buffer{} + b.WriteString(o.Value) + if b.Len() > 0 { + b.WriteRune(' ') + } + b.WriteString(platformInfo) + return &telemetryPolicy{telemetryValue: b.String()} +} + +func (p telemetryPolicy) Do(ctx context.Context, req *Request) (*Response, error) { + req.Request.Header.Set(HeaderUserAgent, p.telemetryValue) + return req.Next(ctx) +} + +// NOTE: the ONLY function that should write to this variable is this func +var platformInfo = func() string { + operatingSystem := runtime.GOOS // Default OS string + switch operatingSystem { + case "windows": + operatingSystem = os.Getenv("OS") // Get more specific OS information + case "linux": // accept default OS info + case "freebsd": // accept default OS info + } + return fmt.Sprintf("(%s; %s)", runtime.Version(), operatingSystem) +}() diff --git a/sdk/azcore/policy_telemetry_test.go b/sdk/azcore/policy_telemetry_test.go new file mode 100644 index 000000000000..2c5dfe3a7f71 --- /dev/null +++ b/sdk/azcore/policy_telemetry_test.go @@ -0,0 +1,44 @@ +// +build go1.13 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package azcore + +import ( + "context" + "fmt" + "net/http" + "testing" + + "github.com/Azure/azure-sdk-for-go/sdk/internal/mock" +) + +func TestPolicyTelemetryDefault(t *testing.T) { + srv, close := mock.NewServer() + defer close() + srv.SetResponse() + pl := NewPipeline(srv, NewTelemetryPolicy(TelemetryOptions{})) + resp, err := pl.Do(context.Background(), NewRequest(http.MethodGet, srv.URL())) + if err != nil { + t.Fatalf("unexpected error: %v", err) + } + if v := resp.Request.Header.Get(HeaderUserAgent); v != platformInfo { + t.Fatalf("unexpected user agent value: %s", v) + } +} + +func TestPolicyTelemetryWithCustomInfo(t *testing.T) { + srv, close := mock.NewServer() + defer close() + srv.SetResponse() + const testValue = "azcore_test" + pl := NewPipeline(srv, NewTelemetryPolicy(TelemetryOptions{Value: testValue})) + resp, err := pl.Do(context.Background(), NewRequest(http.MethodGet, srv.URL())) + if err != nil { + t.Fatalf("unexpected error: %v", err) + } + if v := resp.Request.Header.Get(HeaderUserAgent); v != fmt.Sprintf("%s %s", testValue, platformInfo) { + t.Fatalf("unexpected user agent value: %s", v) + } +} diff --git a/sdk/azcore/policy_unique_request_id.go b/sdk/azcore/policy_unique_request_id.go new file mode 100644 index 000000000000..c5f9a84f2867 --- /dev/null +++ b/sdk/azcore/policy_unique_request_id.go @@ -0,0 +1,26 @@ +// +build go1.13 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package azcore + +import ( + "context" + + "github.com/Azure/azure-sdk-for-go/sdk/internal/uuid" +) + +const xMsClientRequestID = "x-ms-client-request-id" + +// NewUniqueRequestIDPolicy creates a policy object that sets the request's x-ms-client-request-id header if it doesn't already exist. +func NewUniqueRequestIDPolicy() Policy { + return PolicyFunc(func(ctx context.Context, req *Request) (*Response, error) { + id := req.Request.Header.Get(xMsClientRequestID) + if id == "" { + // Add a unique request ID if the caller didn't specify one already + req.Request.Header.Set(xMsClientRequestID, uuid.New().String()) + } + return req.Next(ctx) + }) +} diff --git a/sdk/azcore/policy_unique_request_id_test.go b/sdk/azcore/policy_unique_request_id_test.go new file mode 100644 index 000000000000..66c2141063c1 --- /dev/null +++ b/sdk/azcore/policy_unique_request_id_test.go @@ -0,0 +1,45 @@ +// +build go1.13 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package azcore + +import ( + "context" + "net/http" + "testing" + + "github.com/Azure/azure-sdk-for-go/sdk/internal/mock" +) + +func TestUniqueRequestIDPolicy(t *testing.T) { + srv, close := mock.NewServer() + defer close() + srv.SetResponse() + pl := NewPipeline(srv, NewUniqueRequestIDPolicy()) + resp, err := pl.Do(context.Background(), NewRequest(http.MethodGet, srv.URL())) + if err != nil { + t.Fatalf("unexpected error: %v", err) + } + if resp.Request.Header.Get(xMsClientRequestID) == "" { + t.Fatal("missing request ID header") + } +} + +func TestUniqueRequestIDPolicyUserDefined(t *testing.T) { + srv, close := mock.NewServer() + defer close() + srv.SetResponse() + pl := NewPipeline(srv, NewUniqueRequestIDPolicy()) + req := NewRequest(http.MethodGet, srv.URL()) + const customID = "my-custom-id" + req.Header.Set(xMsClientRequestID, customID) + resp, err := pl.Do(context.Background(), req) + if err != nil { + t.Fatalf("unexpected error: %v", err) + } + if v := resp.Request.Header.Get(xMsClientRequestID); v != customID { + t.Fatalf("unexpected request ID value: %s", v) + } +} diff --git a/sdk/azcore/progress.go b/sdk/azcore/progress.go new file mode 100644 index 000000000000..8364581b657e --- /dev/null +++ b/sdk/azcore/progress.go @@ -0,0 +1,78 @@ +// +build go1.13 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package azcore + +import "io" + +// ********** The following is common between the request body AND the response body. + +// ProgressReceiver defines the signature of a callback function invoked as progress is reported. +type ProgressReceiver func(bytesTransferred int64) + +// ********** The following are specific to the request body (a ReadSeekCloser) + +// This struct is used when sending a body to the network +type requestBodyProgress struct { + requestBody ReadSeekCloser // Seeking is required to support retries + pr ProgressReceiver +} + +// NewRequestBodyProgress adds progress reporting to an HTTP request's body stream. +func NewRequestBodyProgress(requestBody ReadSeekCloser, pr ProgressReceiver) ReadSeekCloser { + return &requestBodyProgress{requestBody: requestBody, pr: pr} +} + +// Read reads a block of data from an inner stream and reports progress +func (rbp *requestBodyProgress) Read(p []byte) (n int, err error) { + n, err = rbp.requestBody.Read(p) + if err != nil { + return + } + // Invokes the user's callback method to report progress + position, err := rbp.requestBody.Seek(0, io.SeekCurrent) + if err != nil { + return + } + rbp.pr(position) + return +} + +func (rbp *requestBodyProgress) Seek(offset int64, whence int) (offsetFromStart int64, err error) { + return rbp.requestBody.Seek(offset, whence) +} + +// requestBodyProgress supports Close but the underlying stream may not; if it does, Close will close it. +func (rbp *requestBodyProgress) Close() error { + return rbp.requestBody.Close() +} + +// ********** The following are specific to the response body (a ReadCloser) + +// This struct is used when sending a body to the network +type responseBodyProgress struct { + responseBody io.ReadCloser + pr ProgressReceiver + offset int64 +} + +// NewResponseBodyProgress adds progress reporting to an HTTP response's body stream. +func NewResponseBodyProgress(responseBody io.ReadCloser, pr ProgressReceiver) io.ReadCloser { + return &responseBodyProgress{responseBody: responseBody, pr: pr, offset: 0} +} + +// Read reads a block of data from an inner stream and reports progress +func (rbp *responseBodyProgress) Read(p []byte) (n int, err error) { + n, err = rbp.responseBody.Read(p) + rbp.offset += int64(n) + + // Invokes the user's callback method to report progress + rbp.pr(rbp.offset) + return +} + +func (rbp *responseBodyProgress) Close() error { + return rbp.responseBody.Close() +} diff --git a/sdk/azcore/progress_test.go b/sdk/azcore/progress_test.go new file mode 100644 index 000000000000..61c3830175f0 --- /dev/null +++ b/sdk/azcore/progress_test.go @@ -0,0 +1,59 @@ +// +build go1.13 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package azcore + +import ( + "bytes" + "context" + "io/ioutil" + "net/http" + "reflect" + "testing" + + "github.com/Azure/azure-sdk-for-go/sdk/internal/mock" +) + +func TestProgressReporting(t *testing.T) { + const contentSize = 4096 + content := make([]byte, contentSize) + for i := 0; i < contentSize; i++ { + content[i] = byte(i % 255) + } + body := bytes.NewReader(content) + srv, close := mock.NewServer() + defer close() + srv.SetResponse(mock.WithBody(content)) + pl := NewPipeline(srv, NewTelemetryPolicy(TelemetryOptions{})) + req := NewRequest(http.MethodGet, srv.URL()) + req.SkipBodyDownload() + var bytesSent int64 + reqRpt := NewRequestBodyProgress(NopCloser(body), func(bytesTransferred int64) { + bytesSent = bytesTransferred + }) + req.SetBody(reqRpt) + resp, err := pl.Do(context.Background(), req) + if err != nil { + t.Fatalf("unexpected error: %v", err) + } + var bytesReceived int64 + respRpt := NewResponseBodyProgress(resp.Body, func(bytesTransferred int64) { + bytesReceived = bytesTransferred + }) + defer respRpt.Close() + b, err := ioutil.ReadAll(respRpt) + if err != nil { + t.Fatalf("unexpected error: %v", err) + } + if bytesSent != contentSize { + t.Fatalf("wrong bytes sent: %d", bytesSent) + } + if bytesReceived != contentSize { + t.Fatalf("wrong bytes received: %d", bytesReceived) + } + if !reflect.DeepEqual(content, b) { + t.Fatal("request and response bodies don't match") + } +} diff --git a/sdk/azcore/request.go b/sdk/azcore/request.go new file mode 100644 index 000000000000..7d87b20baa07 --- /dev/null +++ b/sdk/azcore/request.go @@ -0,0 +1,196 @@ +// +build go1.13 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package azcore + +import ( + "bytes" + "context" + "encoding/json" + "encoding/xml" + "fmt" + "io" + "net/http" + "net/url" + "reflect" + "strings" +) + +const ( + contentTypeAppJSON = "application/json" + contentTypeAppXML = "application/xml" +) + +// Request is an abstraction over the creation of an HTTP request as it passes through the pipeline. +type Request struct { + *http.Request + policies []Policy + qp url.Values + values opValues +} + +type opValues map[reflect.Type]interface{} + +// Set adds/changes a value +func (ov opValues) set(value interface{}) { + ov[reflect.TypeOf(value)] = value +} + +// Get looks for a value set by SetValue first +func (ov opValues) get(value interface{}) bool { + v, ok := ov[reflect.ValueOf(value).Elem().Type()] + if ok { + reflect.ValueOf(value).Elem().Set(reflect.ValueOf(v)) + } + return ok +} + +// NewRequest creates a new Request with the specified input. +func NewRequest(httpMethod string, endpoint url.URL) *Request { + // removeEmptyPort strips the empty port in ":port" to "" + // as mandated by RFC 3986 Section 6.2.3. + // adapted from removeEmptyPort() in net/http.go + if strings.LastIndex(endpoint.Host, ":") > strings.LastIndex(endpoint.Host, "]") { + endpoint.Host = strings.TrimSuffix(endpoint.Host, ":") + } + return &Request{ + Request: &http.Request{ + Method: httpMethod, + URL: &endpoint, + Proto: "HTTP/1.1", + ProtoMajor: 1, + ProtoMinor: 1, + Header: http.Header{}, + Host: endpoint.Host, + }, + } +} + +// Next calls the next policy in the pipeline. +// If there are no more policies, nil and ErrNoMorePolicies are returned. +// This method is intended to be called from pipeline policies. +// To send a request through a pipeline call Pipeline.Do(). +func (req *Request) Next(ctx context.Context) (*Response, error) { + if len(req.policies) == 0 { + return nil, ErrNoMorePolicies + } + nextPolicy := req.policies[0] + nextReq := *req + nextReq.policies = nextReq.policies[1:] + // encode any pending query params + if nextReq.qp != nil { + nextReq.Request.URL.RawQuery = nextReq.qp.Encode() + nextReq.qp = nil + } + return nextPolicy.Do(ctx, &nextReq) +} + +// MarshalAsJSON calls json.Marshal() to get the JSON encoding of v then calls SetBody. +// If json.Marshal fails a MarshalError is returned. Any error from SetBody is returned. +func (req *Request) MarshalAsJSON(v interface{}) error { + b, err := json.Marshal(v) + if err != nil { + return fmt.Errorf("error marshalling type %s: %w", reflect.TypeOf(v).Name(), err) + } + req.Header.Set(HeaderContentType, contentTypeAppJSON) + return req.SetBody(NopCloser(bytes.NewReader(b))) +} + +// MarshalAsXML calls xml.Marshal() to get the XML encoding of v then calls SetBody. +// If xml.Marshal fails a MarshalError is returned. Any error from SetBody is returned. +func (req *Request) MarshalAsXML(v interface{}) error { + b, err := xml.Marshal(v) + if err != nil { + return fmt.Errorf("error marshalling type %s: %w", reflect.TypeOf(v).Name(), err) + } + req.Header.Set(HeaderContentType, contentTypeAppXML) + return req.SetBody(NopCloser(bytes.NewReader(b))) +} + +// SetOperationValue adds/changes a mutable key/value associated with a single operation. +func (req *Request) SetOperationValue(value interface{}) { + if req.values == nil { + req.values = opValues{} + } + req.values.set(value) +} + +// OperationValue looks for a value set by SetOperationValue(). +func (req *Request) OperationValue(value interface{}) bool { + if req.values == nil { + return false + } + return req.values.get(value) +} + +// SetQueryParam sets the key to value. +func (req *Request) SetQueryParam(key, value string) { + if req.qp == nil { + req.qp = req.Request.URL.Query() + } + req.qp.Set(key, value) +} + +// SetBody sets the specified ReadSeekCloser as the HTTP request body. +func (req *Request) SetBody(body ReadSeekCloser) error { + // Set the body and content length. + size, err := body.Seek(0, io.SeekEnd) // Seek to the end to get the stream's size + if err != nil { + return err + } + if size == 0 { + body.Close() + return nil + } + _, err = body.Seek(0, io.SeekStart) + if err != nil { + return err + } + req.Request.Body = body + req.Request.ContentLength = size + return nil +} + +// SkipBodyDownload will disable automatic downloading of the response body. +func (req *Request) SkipBodyDownload() { + req.SetOperationValue(bodyDownloadPolicyOpValues{skip: true}) +} + +// RewindBody seeks the request's Body stream back to the beginning so it can be resent when retrying an operation. +func (req *Request) RewindBody() error { + if req.Body != nil { + // Reset the stream back to the beginning + _, err := req.Body.(io.Seeker).Seek(0, io.SeekStart) + return err + } + return nil +} + +// Close closes the request body. +func (req *Request) Close() error { + if req.Body == nil { + return nil + } + return req.Body.Close() +} + +func (req *Request) copy() *Request { + clonedURL := *req.URL + // Copy the values and immutable references + return &Request{ + Request: &http.Request{ + Method: req.Method, + URL: &clonedURL, + Proto: req.Proto, + ProtoMajor: req.ProtoMajor, + ProtoMinor: req.ProtoMinor, + Header: req.Header.Clone(), + Host: req.URL.Host, + Body: req.Body, // shallow copy + ContentLength: req.ContentLength, + GetBody: req.GetBody, + }, + } +} diff --git a/sdk/azcore/request_test.go b/sdk/azcore/request_test.go new file mode 100644 index 000000000000..27576d47ee9e --- /dev/null +++ b/sdk/azcore/request_test.go @@ -0,0 +1,81 @@ +// +build go1.13 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package azcore + +import ( + "context" + "errors" + "net/http" + "net/url" + "testing" +) + +type testJSON struct { + SomeInt int + SomeString string +} + +type testXML struct { + SomeInt int + SomeString string +} + +func TestRequestMarshalXML(t *testing.T) { + u, err := url.Parse("https://contoso.com") + if err != nil { + panic(err) + } + req := NewRequest(http.MethodPost, *u) + err = req.MarshalAsXML(testXML{SomeInt: 1, SomeString: "s"}) + if err != nil { + t.Fatalf("marshal failure: %v", err) + } + if ct := req.Header.Get(HeaderContentType); ct != contentTypeAppXML { + t.Fatalf("unexpected content type, got %s wanted %s", ct, contentTypeAppXML) + } + if req.Body == nil { + t.Fatal("unexpected nil request body") + } + if req.ContentLength == 0 { + t.Fatal("unexpected zero content length") + } +} + +func TestRequestEmptyPipeline(t *testing.T) { + u, err := url.Parse("https://contoso.com") + if err != nil { + panic(err) + } + req := NewRequest(http.MethodPost, *u) + resp, err := req.Next(context.Background()) + if resp != nil { + t.Fatal("expected nil response") + } + if !errors.Is(err, ErrNoMorePolicies) { + t.Fatalf("expected ErrNoMorePolicies, got %v", err) + } +} + +func TestRequestMarshalJSON(t *testing.T) { + u, err := url.Parse("https://contoso.com") + if err != nil { + panic(err) + } + req := NewRequest(http.MethodPost, *u) + err = req.MarshalAsJSON(testJSON{SomeInt: 1, SomeString: "s"}) + if err != nil { + t.Fatalf("marshal failure: %v", err) + } + if ct := req.Header.Get(HeaderContentType); ct != contentTypeAppJSON { + t.Fatalf("unexpected content type, got %s wanted %s", ct, contentTypeAppJSON) + } + if req.Body == nil { + t.Fatal("unexpected nil request body") + } + if req.ContentLength == 0 { + t.Fatal("unexpected zero content length") + } +} diff --git a/sdk/azcore/response.go b/sdk/azcore/response.go new file mode 100644 index 000000000000..edb19ad244e3 --- /dev/null +++ b/sdk/azcore/response.go @@ -0,0 +1,147 @@ +// +build go1.13 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package azcore + +import ( + "bytes" + "encoding/json" + "encoding/xml" + "fmt" + "io" + "io/ioutil" + "net/http" + "reflect" + "sort" + "strconv" + "strings" + "time" +) + +// Response represents the response from an HTTP request. +type Response struct { + *http.Response +} + +func (r *Response) payload() []byte { + if r.Body == nil { + return nil + } + // r.Body won't be a nopClosingBytesReader if downloading was skipped + if buf, ok := r.Body.(*nopClosingBytesReader); ok { + return buf.Bytes() + } + return nil +} + +// HasStatusCode returns true if the Response's status code is one of the specified values. +func (r *Response) HasStatusCode(statusCodes ...int) bool { + if r == nil { + return false + } + for _, sc := range statusCodes { + if r.StatusCode == sc { + return true + } + } + return false +} + +// UnmarshalAsJSON calls json.Unmarshal() to unmarshal the received payload into the value pointed to by v. +// If no payload was received a RequestError is returned. If json.Unmarshal fails a UnmarshalError is returned. +func (r *Response) UnmarshalAsJSON(v interface{}) error { + // TODO: verify early exit is correct + if len(r.payload()) == 0 { + return nil + } + r.removeBOM() + err := json.Unmarshal(r.payload(), v) + if err != nil { + err = fmt.Errorf("unmarshalling type %s: %w", reflect.TypeOf(v).Elem().Name(), err) + } + return err +} + +// UnmarshalAsXML calls xml.Unmarshal() to unmarshal the received payload into the value pointed to by v. +// If no payload was received a RequestError is returned. If xml.Unmarshal fails a UnmarshalError is returned. +func (r *Response) UnmarshalAsXML(v interface{}) error { + // TODO: verify early exit is correct + if len(r.payload()) == 0 { + return nil + } + r.removeBOM() + err := xml.Unmarshal(r.payload(), v) + if err != nil { + err = fmt.Errorf("unmarshalling type %s: %w", reflect.TypeOf(v).Elem().Name(), err) + } + return err +} + +// Drain reads the response body to completion then closes it. The bytes read are discarded. +func (r *Response) Drain() { + if r != nil && r.Body != nil { + io.Copy(ioutil.Discard, r.Body) + r.Body.Close() + } +} + +// removeBOM removes any byte-order mark prefix from the payload if present. +func (r *Response) removeBOM() { + // UTF8 + trimmed := bytes.TrimPrefix(r.payload(), []byte("\xef\xbb\xbf")) + if len(trimmed) < len(r.payload()) { + r.Body.(*nopClosingBytesReader).Set(trimmed) + } +} + +// RetryAfter returns (non-zero, true) if the response contains a Retry-After header value +func (r *Response) RetryAfter() (time.Duration, bool) { + if r == nil { + return 0, false + } + if retryAfter, _ := strconv.Atoi(r.Header.Get("Retry-After")); retryAfter > 0 { + return time.Duration(retryAfter) * time.Second, true + } + return 0, false +} + +// WriteRequestWithResponse appends a formatted HTTP request into a Buffer. If request and/or err are +// not nil, then these are also written into the Buffer. +func WriteRequestWithResponse(b *bytes.Buffer, request *Request, response *Response, err error) { + // Write the request into the buffer. + fmt.Fprint(b, " "+request.Method+" "+request.URL.String()+"\n") + writeHeader(b, request.Header) + if response != nil { + fmt.Fprintln(b, " --------------------------------------------------------------------------------") + fmt.Fprint(b, " RESPONSE Status: "+response.Status+"\n") + writeHeader(b, response.Header) + } + if err != nil { + fmt.Fprintln(b, " --------------------------------------------------------------------------------") + fmt.Fprint(b, " ERROR:\n"+err.Error()+"\n") + } +} + +// formatHeaders appends an HTTP request's or response's header into a Buffer. +func writeHeader(b *bytes.Buffer, header http.Header) { + if len(header) == 0 { + b.WriteString(" (no headers)\n") + return + } + keys := make([]string, 0, len(header)) + // Alphabetize the headers + for k := range header { + keys = append(keys, k) + } + sort.Strings(keys) + for _, k := range keys { + // Redact the value of any Authorization header to prevent security information from persisting in logs + value := interface{}("REDACTED") + if !strings.EqualFold(k, "Authorization") { + value = header[k] + } + fmt.Fprintf(b, " %s: %+v\n", k, value) + } +} diff --git a/sdk/azcore/response_test.go b/sdk/azcore/response_test.go new file mode 100644 index 000000000000..263f0c3db674 --- /dev/null +++ b/sdk/azcore/response_test.go @@ -0,0 +1,105 @@ +// +build go1.13 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package azcore + +import ( + "context" + "net/http" + "testing" + + "github.com/Azure/azure-sdk-for-go/sdk/internal/mock" +) + +func TestResponseUnmarshalXML(t *testing.T) { + srv, close := mock.NewServer() + defer close() + // include UTF8 BOM + srv.SetResponse(mock.WithBody([]byte("\xef\xbb\xbf1s"))) + pl := NewPipeline(srv, NewTelemetryPolicy(TelemetryOptions{})) + resp, err := pl.Do(context.Background(), NewRequest(http.MethodGet, srv.URL())) + if err != nil { + t.Fatalf("unexpected error: %v", err) + } + if !resp.HasStatusCode(http.StatusOK) { + t.Fatalf("unexpected status code: %d", resp.StatusCode) + } + var tx testXML + if err := resp.UnmarshalAsXML(&tx); err != nil { + t.Fatalf("unexpected error unmarshalling: %v", err) + } + if tx.SomeInt != 1 || tx.SomeString != "s" { + t.Fatal("unexpected value") + } +} + +func TestResponseFailureStatusCode(t *testing.T) { + srv, close := mock.NewServer() + defer close() + srv.SetResponse(mock.WithStatusCode(http.StatusForbidden)) + pl := NewPipeline(srv, NewTelemetryPolicy(TelemetryOptions{})) + resp, err := pl.Do(context.Background(), NewRequest(http.MethodGet, srv.URL())) + if err != nil { + t.Fatalf("unexpected error: %v", err) + } + if resp.HasStatusCode(http.StatusOK) { + t.Fatalf("unexpected status code: %d", resp.StatusCode) + } +} + +func TestResponseUnmarshalJSON(t *testing.T) { + srv, close := mock.NewServer() + defer close() + srv.SetResponse(mock.WithBody([]byte(`{ "someInt": 1, "someString": "s" }`))) + pl := NewPipeline(srv, NewTelemetryPolicy(TelemetryOptions{})) + resp, err := pl.Do(context.Background(), NewRequest(http.MethodGet, srv.URL())) + if err != nil { + t.Fatalf("unexpected error: %v", err) + } + if !resp.HasStatusCode(http.StatusOK) { + t.Fatalf("unexpected status code: %d", resp.StatusCode) + } + var tx testJSON + if err := resp.UnmarshalAsJSON(&tx); err != nil { + t.Fatalf("unexpected error unmarshalling: %v", err) + } + if tx.SomeInt != 1 || tx.SomeString != "s" { + t.Fatal("unexpected value") + } +} + +func TestResponseUnmarshalJSONNoBody(t *testing.T) { + srv, close := mock.NewServer() + defer close() + srv.SetResponse(mock.WithBody([]byte{})) + pl := NewPipeline(srv, NewTelemetryPolicy(TelemetryOptions{})) + resp, err := pl.Do(context.Background(), NewRequest(http.MethodGet, srv.URL())) + if err != nil { + t.Fatalf("unexpected error: %v", err) + } + if !resp.HasStatusCode(http.StatusOK) { + t.Fatalf("unexpected status code: %d", resp.StatusCode) + } + if err := resp.UnmarshalAsJSON(nil); err != nil { + t.Fatalf("unexpected error unmarshalling: %v", err) + } +} + +func TestResponseUnmarshalXMLNoBody(t *testing.T) { + srv, close := mock.NewServer() + defer close() + srv.SetResponse(mock.WithBody([]byte{})) + pl := NewPipeline(srv, NewTelemetryPolicy(TelemetryOptions{})) + resp, err := pl.Do(context.Background(), NewRequest(http.MethodGet, srv.URL())) + if err != nil { + t.Fatalf("unexpected error: %v", err) + } + if !resp.HasStatusCode(http.StatusOK) { + t.Fatalf("unexpected status code: %d", resp.StatusCode) + } + if err := resp.UnmarshalAsXML(nil); err != nil { + t.Fatalf("unexpected error unmarshalling: %v", err) + } +} diff --git a/sdk/azcore/transport_default_http_client.go b/sdk/azcore/transport_default_http_client.go new file mode 100644 index 000000000000..487ed9566d26 --- /dev/null +++ b/sdk/azcore/transport_default_http_client.go @@ -0,0 +1,40 @@ +// +build go1.13 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package azcore + +import ( + "context" + "crypto/tls" + "net/http" +) + +var defaultHTTPClient *http.Client + +func init() { + defaultTransport := http.DefaultTransport.(*http.Transport) + transport := &http.Transport{ + Proxy: defaultTransport.Proxy, + DialContext: defaultTransport.DialContext, + MaxIdleConns: defaultTransport.MaxIdleConns, + IdleConnTimeout: defaultTransport.IdleConnTimeout, + TLSHandshakeTimeout: defaultTransport.TLSHandshakeTimeout, + ExpectContinueTimeout: defaultTransport.ExpectContinueTimeout, + TLSClientConfig: &tls.Config{ + MinVersion: tls.VersionTLS12, + }, + } + // TODO: in track 1 we created a cookiejar, do we need one here? make it an option? user-specified HTTP client policy? + defaultHTTPClient = &http.Client{ + Transport: transport, + } +} + +// DefaultHTTPClientTransport ... +func DefaultHTTPClientTransport() Transport { + return transportFunc(func(ctx context.Context, req *http.Request) (*http.Response, error) { + return defaultHTTPClient.Do(req.WithContext(ctx)) + }) +} diff --git a/sdk/azcore/version.go b/sdk/azcore/version.go new file mode 100644 index 000000000000..8d4493c648c8 --- /dev/null +++ b/sdk/azcore/version.go @@ -0,0 +1,14 @@ +// +build go1.13 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package azcore + +const ( + // UserAgent is the string to be used in the user agent string when making requests. + UserAgent = "azcore/" + Version + + // Version is the semantic version (see http://semver.org) of the pipeline package. + Version = "0.1.0" +) diff --git a/sdk/ci.yml b/sdk/ci.yml new file mode 100644 index 000000000000..dec76b72a543 --- /dev/null +++ b/sdk/ci.yml @@ -0,0 +1,80 @@ +trigger: + paths: + include: + - sdk/ + +pr: + paths: + include: + - sdk/ + +jobs: + - job: Build_Test + strategy: + matrix: + Linux_Go113: + vm.image: 'ubuntu-18.04' + go.version: '1.13' + GOROOT: '/usr/local/go$(go.version)' + + pool: + vmImage: $(vm.image) + + variables: + GOPATH: '$(system.defaultWorkingDirectory)/work' + sdkPath: '$(GOPATH)/src/github.com/$(build.repository.name)' + + steps: + - script: | + set -e + mkdir -p '$(GOPATH)/bin' + mkdir -p '$(sdkPath)' + shopt -s dotglob extglob + mv !(work) '$(sdkPath)' + echo '##vso[task.prependpath]$(GOROOT)/bin' + echo '##vso[task.prependpath]$(GOPATH)/bin' + displayName: 'Create Go Workspace' + - script: | + set -e + go version + go get github.com/jstemmer/go-junit-report + go get github.com/axw/gocov/gocov + go get github.com/AlekSi/gocov-xml + go get -u github.com/matm/gocov-html + workingDirectory: '$(sdkPath)' + displayName: 'Install Dependencies' + - script: go vet $(go list ./sdk/...) + workingDirectory: '$(sdkPath)' + displayName: 'Vet' + - script: go build -v $(go list ./sdk/...) + workingDirectory: '$(sdkPath)' + displayName: 'Build' + - script: | + go test -race -v -coverprofile=coverage.txt -covermode atomic ./sdk/... 2>&1 | go-junit-report > report.xml + gocov convert coverage.txt > coverage.json + gocov-xml < coverage.json > coverage.xml + gocov-html < coverage.json > coverage.html + workingDirectory: '$(sdkPath)' + displayName: 'Run Tests' + - script: grep -L -r --include \*.go -P "Copyright (\d{4}|\(c\)) Microsoft" ./sdk | tee >&2 + workingDirectory: '$(sdkPath)' + displayName: 'Copyright Header Check' + failOnStderr: true + condition: succeededOrFailed() + - script: gofmt -s -l -w $(find ./sdk -name '*.go' -print) >&2 + workingDirectory: '$(sdkPath)' + displayName: 'Format Check' + failOnStderr: true + condition: succeededOrFailed() + + - task: PublishTestResults@2 + inputs: + testRunner: JUnit + testResultsFiles: $(sdkPath)/report.xml + failTaskOnFailedTests: true + + - task: PublishCodeCoverageResults@1 + inputs: + codeCoverageTool: Cobertura + summaryFileLocation: $(sdkPath)/coverage.xml + additionalCodeCoverageFiles: $(sdkPath)/coverage.html diff --git a/sdk/internal/atomic/atomic.go b/sdk/internal/atomic/atomic.go new file mode 100644 index 000000000000..781dbeca94af --- /dev/null +++ b/sdk/internal/atomic/atomic.go @@ -0,0 +1,78 @@ +// +build go1.13 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package atomic + +import ( + "sync/atomic" + "time" +) + +// Int64 is an atomic wrapper around an int64. +type Int64 int64 + +// NewInt64 creates a new Int64. +func NewInt64(i int64) Int64 { + return Int64(i) +} + +// CAS is an atomic compare-and-swap. +func (i *Int64) CAS(old, new int64) bool { + return atomic.CompareAndSwapInt64((*int64)(i), old, new) +} + +// Load atomically loads the value. +func (i *Int64) Load() int64 { + return atomic.LoadInt64((*int64)(i)) +} + +// Store atomically stores the value. +func (i *Int64) Store(v int64) { + atomic.StoreInt64((*int64)(i), v) +} + +// String is an atomic wrapper around a string. +type String struct { + v atomic.Value +} + +// NewString creats a new String. +func NewString(s string) *String { + ss := String{} + ss.v.Store(s) + return &ss +} + +// Load atomically loads the string. +func (s *String) Load() string { + return s.v.Load().(string) +} + +// Store atomically stores the string. +func (s *String) Store(v string) { + s.v.Store(v) +} + +// Time is an atomic wrapper around a time.Time. +type Time struct { + v atomic.Value +} + +// NewTime creates a new Time. +func NewTime(t time.Time) *Time { + tt := Time{} + tt.v.Store(t) + return &tt +} + +// Load atomically loads the time.Time. +func (t *Time) Load() time.Time { + return t.v.Load().(time.Time) +} + +// Store atomically stores the time.Time. +func (t *Time) Store(v time.Time) { + t.v.Store(v) +} diff --git a/sdk/internal/go.mod b/sdk/internal/go.mod new file mode 100644 index 000000000000..1bb024518b8c --- /dev/null +++ b/sdk/internal/go.mod @@ -0,0 +1,3 @@ +module github.com/Azure/azure-sdk-for-go/sdk/internal + +go 1.13 diff --git a/sdk/internal/mock/mock.go b/sdk/internal/mock/mock.go new file mode 100644 index 000000000000..d409860389ca --- /dev/null +++ b/sdk/internal/mock/mock.go @@ -0,0 +1,207 @@ +// +build go1.13 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package mock + +import ( + "context" + "net/http" + "net/http/httptest" + "net/url" +) + +// Server is a wrapper around an httptest.Server. +// The serving of requests is not safe for concurrent use +// which is ok for right now as each test creates is own +// server and doesn't create additional go routines. +type Server struct { + srv *httptest.Server + + // static is the static response, if this is not nil it's always returned. + static *mockResponse + + // resp is the queue of responses. each response is taken from the front. + resp []mockResponse + + // count tracks the number of requests that have been made. + count int +} + +// NewServer creates a new Server object. +// The returned close func must be called when the server is no longer needed. +func NewServer() (*Server, func()) { + s := Server{} + s.srv = httptest.NewServer(http.HandlerFunc(s.serveHTTP)) + return &s, func() { s.srv.Close() } +} + +// NewTLSServer creates a new Server object. +// The returned close func must be called when the server is no longer needed. +func NewTLSServer() (*Server, func()) { + s := Server{} + s.srv = httptest.NewTLSServer(http.HandlerFunc(s.serveHTTP)) + return &s, func() { s.srv.Close() } +} + +// returns true if the next response is an error response +func (s *Server) isErrorResp() bool { + if s.static == nil && len(s.resp) == 0 { + panic("no more responses") + } + // always favor static response + if s.static != nil && s.static.err != nil { + return true + } + if len(s.resp) == 0 { + return false + } + return s.resp[0].err != nil +} + +// returns the static response or the next response in the queue +func (s *Server) getResponse() mockResponse { + if s.static == nil && len(s.resp) == 0 { + panic("no more responses") + } + // always favor static response + if s.static != nil { + return *s.static + } + // pop off first response and return it + resp := s.resp[0] + s.resp = s.resp[1:] + return resp +} + +// URL returns the endpoint of the test server in URL format. +func (s *Server) URL() url.URL { + u, err := url.Parse(s.srv.URL) + if err != nil { + panic(err) + } + return *u +} + +// Do implements the azcore.Transport interface on Server. +// Calling this when the response queue is empty and no static +// response has been set will cause a panic. +func (s *Server) Do(ctx context.Context, req *http.Request) (*http.Response, error) { + s.count++ + // error responses are returned here + if s.isErrorResp() { + resp := s.getResponse() + return nil, resp.err + } + return s.srv.Client().Do(req.WithContext(ctx)) +} + +func (s *Server) serveHTTP(w http.ResponseWriter, req *http.Request) { + s.getResponse().write(w) +} + +// Requests returns the number of times an HTTP request was made. +func (s *Server) Requests() int { + return s.count +} + +// AppendError appends the error to the end of the response queue. +func (s *Server) AppendError(err error) { + s.resp = append(s.resp, mockResponse{err: err}) +} + +// RepeatError appends the error n number of times to the end of the response queue. +func (s *Server) RepeatError(n int, err error) { + for i := 0; i < n; i++ { + s.AppendError(err) + } +} + +// SetError indicates the same error should always be returned. +// Any responses set via other methods will be ignored. +func (s *Server) SetError(err error) { + s.static = &mockResponse{err: err} +} + +// AppendResponse appends the response to the end of the response queue. +// If no options are provided the default response is an http.StatusOK. +func (s *Server) AppendResponse(opts ...ResponseOption) { + mr := mockResponse{code: http.StatusOK} + for _, o := range opts { + o.apply(&mr) + } + s.resp = append(s.resp, mr) +} + +// RepeatResponse appends the response n number of times to the end of the response queue. +// If no options are provided the default response is an http.StatusOK. +func (s *Server) RepeatResponse(n int, opts ...ResponseOption) { + for i := 0; i < n; i++ { + s.AppendResponse(opts...) + } +} + +// SetResponse indicates the same response should always be returned. +// Any responses set via other methods will be ignored. +// If no options are provided the default response is an http.StatusOK. +func (s *Server) SetResponse(opts ...ResponseOption) { + mr := mockResponse{code: http.StatusOK} + for _, o := range opts { + o.apply(&mr) + } + s.static = &mr +} + +// ResponseOption is an abstraction for configuring a mock HTTP response. +type ResponseOption interface { + apply(mr *mockResponse) +} + +type fnRespOpt func(*mockResponse) + +func (fn fnRespOpt) apply(mr *mockResponse) { + fn(mr) +} + +type mockResponse struct { + code int + body []byte + headers http.Header + err error +} + +func (mr mockResponse) write(w http.ResponseWriter) { + w.WriteHeader(mr.code) + if mr.body != nil { + w.Write(mr.body) + } + if len(mr.headers) > 0 { + for k, v := range mr.headers { + for _, vv := range v { + w.Header().Add(k, vv) + } + } + } +} + +// WithStatusCode sets the HTTP response's status code to the specified value. +func WithStatusCode(c int) ResponseOption { + return fnRespOpt(func(mr *mockResponse) { + mr.code = c + }) +} + +// WithBody sets the HTTP response's body to the specified value. +func WithBody(b []byte) ResponseOption { + return fnRespOpt(func(mr *mockResponse) { + mr.body = b + }) +} + +// WithHeader adds the specified header and value to the HTTP response. +func WithHeader(k, v string) ResponseOption { + return fnRespOpt(func(mr *mockResponse) { + mr.headers.Add(k, v) + }) +} diff --git a/sdk/internal/uuid/uuid.go b/sdk/internal/uuid/uuid.go new file mode 100644 index 000000000000..4b288d81fecd --- /dev/null +++ b/sdk/internal/uuid/uuid.go @@ -0,0 +1,89 @@ +// +build go1.13 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package uuid + +import ( + "fmt" + "math/rand" + "strconv" + "time" +) + +// The UUID reserved variants. +const ( + reservedNCS byte = 0x80 + reservedRFC4122 byte = 0x40 + reservedMicrosoft byte = 0x20 + reservedFuture byte = 0x00 +) + +func init() { + rand.Seed(time.Now().Unix()) +} + +// A UUID representation compliant with specification in RFC 4122 document. +type UUID [16]byte + +// New returns a new uuid using RFC 4122 algorithm. +func New() UUID { + u := UUID{} + // Set all bits to randomly (or pseudo-randomly) chosen values. + // math/rand.Read() is no-fail so we omit any error checking. + // NOTE: this takes a process-wide lock + rand.Read(u[:]) + u[8] = (u[8] | reservedRFC4122) & 0x7F // u.setVariant(ReservedRFC4122) + + var version byte = 4 + u[6] = (u[6] & 0xF) | (version << 4) // u.setVersion(4) + return u +} + +// String returns an unparsed version of the generated UUID sequence. +func (u UUID) String() string { + return fmt.Sprintf("%x-%x-%x-%x-%x", u[0:4], u[4:6], u[6:8], u[8:10], u[10:]) +} + +// Parse parses a string formatted as "003020100-0504-0706-0809-0a0b0c0d0e0f" +// or "{03020100-0504-0706-0809-0a0b0c0d0e0f}" into a UUID. +func Parse(uuidStr string) UUID { + char := func(hexString string) byte { + i, _ := strconv.ParseUint(hexString, 16, 8) + return byte(i) + } + if uuidStr[0] == '{' { + uuidStr = uuidStr[1:] // Skip over the '{' + } + // 03020100 - 05 04 - 07 06 - 08 09 - 0a 0b 0c 0d 0e 0f + // 1 11 1 11 11 1 12 22 2 22 22 22 33 33 33 + // 01234567 8 90 12 3 45 67 8 90 12 3 45 67 89 01 23 45 + uuidVal := UUID{ + char(uuidStr[0:2]), + char(uuidStr[2:4]), + char(uuidStr[4:6]), + char(uuidStr[6:8]), + + char(uuidStr[9:11]), + char(uuidStr[11:13]), + + char(uuidStr[14:16]), + char(uuidStr[16:18]), + + char(uuidStr[19:21]), + char(uuidStr[21:23]), + + char(uuidStr[24:26]), + char(uuidStr[26:28]), + char(uuidStr[28:30]), + char(uuidStr[30:32]), + char(uuidStr[32:34]), + char(uuidStr[34:36]), + } + return uuidVal +} + +func (u UUID) bytes() []byte { + return u[:] +} diff --git a/services/containerservice/mgmt/2017-07-01/containerservice/containerservices.go b/services/containerservice/mgmt/2017-07-01/containerservice/containerservices.go index bc45c720e45e..eac7c50e45ef 100644 --- a/services/containerservice/mgmt/2017-07-01/containerservice/containerservices.go +++ b/services/containerservice/mgmt/2017-07-01/containerservice/containerservices.go @@ -60,35 +60,34 @@ func (client ContainerServicesClient) CreateOrUpdate(ctx context.Context, resour } if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, - Constraints: []validation.Constraint{{Target: "parameters.Properties", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.Properties.OrchestratorProfile", Name: validation.Null, Rule: true, Chain: nil}, - {Target: "parameters.Properties.CustomProfile", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.Properties.CustomProfile.Orchestrator", Name: validation.Null, Rule: true, Chain: nil}}}, - {Target: "parameters.Properties.ServicePrincipalProfile", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.Properties.ServicePrincipalProfile.ClientID", Name: validation.Null, Rule: true, Chain: nil}, - {Target: "parameters.Properties.ServicePrincipalProfile.KeyVaultSecretRef", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.Properties.ServicePrincipalProfile.KeyVaultSecretRef.VaultID", Name: validation.Null, Rule: true, Chain: nil}, - {Target: "parameters.Properties.ServicePrincipalProfile.KeyVaultSecretRef.SecretName", Name: validation.Null, Rule: true, Chain: nil}, - }}, - }}, - {Target: "parameters.Properties.MasterProfile", Name: validation.Null, Rule: true, - Chain: []validation.Constraint{{Target: "parameters.Properties.MasterProfile.DNSPrefix", Name: validation.Null, Rule: true, Chain: nil}}}, - {Target: "parameters.Properties.WindowsProfile", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.Properties.WindowsProfile.AdminUsername", Name: validation.Null, Rule: true, - Chain: []validation.Constraint{{Target: "parameters.Properties.WindowsProfile.AdminUsername", Name: validation.Pattern, Rule: `^[a-zA-Z0-9]+([._]?[a-zA-Z0-9]+)*$`, Chain: nil}}}, - {Target: "parameters.Properties.WindowsProfile.AdminPassword", Name: validation.Null, Rule: true, Chain: nil}, - }}, - {Target: "parameters.Properties.LinuxProfile", Name: validation.Null, Rule: true, - Chain: []validation.Constraint{{Target: "parameters.Properties.LinuxProfile.AdminUsername", Name: validation.Null, Rule: true, - Chain: []validation.Constraint{{Target: "parameters.Properties.LinuxProfile.AdminUsername", Name: validation.Pattern, Rule: `^[A-Za-z][-A-Za-z0-9_]*$`, Chain: nil}}}, - {Target: "parameters.Properties.LinuxProfile.SSH", Name: validation.Null, Rule: true, - Chain: []validation.Constraint{{Target: "parameters.Properties.LinuxProfile.SSH.PublicKeys", Name: validation.Null, Rule: true, Chain: nil}}}, - }}, - {Target: "parameters.Properties.DiagnosticsProfile", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.Properties.DiagnosticsProfile.VMDiagnostics", Name: validation.Null, Rule: true, - Chain: []validation.Constraint{{Target: "parameters.Properties.DiagnosticsProfile.VMDiagnostics.Enabled", Name: validation.Null, Rule: true, Chain: nil}}}, - }}, - }}}}}); err != nil { + Constraints: []validation.Constraint{{Target: "parameters.Location", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "parameters.Properties", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.Properties.OrchestratorProfile", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "parameters.Properties.CustomProfile", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.Properties.CustomProfile.Orchestrator", Name: validation.Null, Rule: true, Chain: nil}}}, + {Target: "parameters.Properties.ServicePrincipalProfile", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.Properties.ServicePrincipalProfile.ClientID", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "parameters.Properties.ServicePrincipalProfile.KeyVaultSecretRef", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.Properties.ServicePrincipalProfile.KeyVaultSecretRef.VaultID", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "parameters.Properties.ServicePrincipalProfile.KeyVaultSecretRef.SecretName", Name: validation.Null, Rule: true, Chain: nil}, + }}, + }}, + {Target: "parameters.Properties.MasterProfile", Name: validation.Null, Rule: true, + Chain: []validation.Constraint{{Target: "parameters.Properties.MasterProfile.DNSPrefix", Name: validation.Null, Rule: true, Chain: nil}}}, + {Target: "parameters.Properties.WindowsProfile", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.Properties.WindowsProfile.AdminUsername", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "parameters.Properties.WindowsProfile.AdminPassword", Name: validation.Null, Rule: true, Chain: nil}, + }}, + {Target: "parameters.Properties.LinuxProfile", Name: validation.Null, Rule: true, + Chain: []validation.Constraint{{Target: "parameters.Properties.LinuxProfile.AdminUsername", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "parameters.Properties.LinuxProfile.SSH", Name: validation.Null, Rule: true, + Chain: []validation.Constraint{{Target: "parameters.Properties.LinuxProfile.SSH.PublicKeys", Name: validation.Null, Rule: true, Chain: nil}}}, + }}, + {Target: "parameters.Properties.DiagnosticsProfile", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.Properties.DiagnosticsProfile.VMDiagnostics", Name: validation.Null, Rule: true, + Chain: []validation.Constraint{{Target: "parameters.Properties.DiagnosticsProfile.VMDiagnostics.Enabled", Name: validation.Null, Rule: true, Chain: nil}}}, + }}, + }}}}}); err != nil { return result, validation.NewError("containerservice.ContainerServicesClient", "CreateOrUpdate", err.Error()) } @@ -120,6 +119,9 @@ func (client ContainerServicesClient) CreateOrUpdatePreparer(ctx context.Context "api-version": APIVersion, } + parameters.ID = nil + parameters.Name = nil + parameters.Type = nil preparer := autorest.CreatePreparer( autorest.AsContentType("application/json; charset=utf-8"), autorest.AsPut(), diff --git a/services/containerservice/mgmt/2017-07-01/containerservice/models.go b/services/containerservice/mgmt/2017-07-01/containerservice/models.go index 25571b4486b1..5897a21ccf53 100644 --- a/services/containerservice/mgmt/2017-07-01/containerservice/models.go +++ b/services/containerservice/mgmt/2017-07-01/containerservice/models.go @@ -464,11 +464,48 @@ type AgentPoolProfile struct { OsType OSType `json:"osType,omitempty"` } +// Componentsschemascontainerserviceallof1 ... +type Componentsschemascontainerserviceallof1 struct { + // Properties - Properties of the container service. + *Properties `json:"properties,omitempty"` +} + +// MarshalJSON is the custom marshaler for Componentsschemascontainerserviceallof1. +func (c Componentsschemascontainerserviceallof1) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if c.Properties != nil { + objectMap["properties"] = c.Properties + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for Componentsschemascontainerserviceallof1 struct. +func (c *Componentsschemascontainerserviceallof1) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "properties": + if v != nil { + var properties Properties + err = json.Unmarshal(*v, &properties) + if err != nil { + return err + } + c.Properties = &properties + } + } + } + + return nil +} + // ContainerService container service. type ContainerService struct { autorest.Response `json:"-"` - // Properties - Properties of the container service. - *Properties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name @@ -479,20 +516,22 @@ type ContainerService struct { Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` + // Properties - Properties of the container service. + *Properties `json:"properties,omitempty"` } // MarshalJSON is the custom marshaler for ContainerService. func (cs ContainerService) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if cs.Properties != nil { - objectMap["properties"] = cs.Properties - } if cs.Location != nil { objectMap["location"] = cs.Location } if cs.Tags != nil { objectMap["tags"] = cs.Tags } + if cs.Properties != nil { + objectMap["properties"] = cs.Properties + } return json.Marshal(objectMap) } @@ -505,15 +544,6 @@ func (cs *ContainerService) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "properties": - if v != nil { - var properties Properties - err = json.Unmarshal(*v, &properties) - if err != nil { - return err - } - cs.Properties = &properties - } case "id": if v != nil { var ID string @@ -559,6 +589,15 @@ func (cs *ContainerService) UnmarshalJSON(body []byte) error { } cs.Tags = tags } + case "properties": + if v != nil { + var properties Properties + err = json.Unmarshal(*v, &properties) + if err != nil { + return err + } + cs.Properties = &properties + } } } diff --git a/services/containerservice/mgmt/2017-08-31/containerservice/client.go b/services/containerservice/mgmt/2017-08-31/containerservice/client.go index 09a36def717c..d27853be33c0 100644 --- a/services/containerservice/mgmt/2017-08-31/containerservice/client.go +++ b/services/containerservice/mgmt/2017-08-31/containerservice/client.go @@ -1,4 +1,4 @@ -// Package containerservice implements the Azure ARM Containerservice service API version . +// Package containerservice implements the Azure ARM Containerservice service API version 2017-07-01. // // The Container Service Client. package containerservice diff --git a/services/containerservice/mgmt/2017-08-31/containerservice/containerservices.go b/services/containerservice/mgmt/2017-08-31/containerservice/containerservices.go index bc45c720e45e..eac7c50e45ef 100644 --- a/services/containerservice/mgmt/2017-08-31/containerservice/containerservices.go +++ b/services/containerservice/mgmt/2017-08-31/containerservice/containerservices.go @@ -60,35 +60,34 @@ func (client ContainerServicesClient) CreateOrUpdate(ctx context.Context, resour } if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, - Constraints: []validation.Constraint{{Target: "parameters.Properties", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.Properties.OrchestratorProfile", Name: validation.Null, Rule: true, Chain: nil}, - {Target: "parameters.Properties.CustomProfile", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.Properties.CustomProfile.Orchestrator", Name: validation.Null, Rule: true, Chain: nil}}}, - {Target: "parameters.Properties.ServicePrincipalProfile", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.Properties.ServicePrincipalProfile.ClientID", Name: validation.Null, Rule: true, Chain: nil}, - {Target: "parameters.Properties.ServicePrincipalProfile.KeyVaultSecretRef", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.Properties.ServicePrincipalProfile.KeyVaultSecretRef.VaultID", Name: validation.Null, Rule: true, Chain: nil}, - {Target: "parameters.Properties.ServicePrincipalProfile.KeyVaultSecretRef.SecretName", Name: validation.Null, Rule: true, Chain: nil}, - }}, - }}, - {Target: "parameters.Properties.MasterProfile", Name: validation.Null, Rule: true, - Chain: []validation.Constraint{{Target: "parameters.Properties.MasterProfile.DNSPrefix", Name: validation.Null, Rule: true, Chain: nil}}}, - {Target: "parameters.Properties.WindowsProfile", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.Properties.WindowsProfile.AdminUsername", Name: validation.Null, Rule: true, - Chain: []validation.Constraint{{Target: "parameters.Properties.WindowsProfile.AdminUsername", Name: validation.Pattern, Rule: `^[a-zA-Z0-9]+([._]?[a-zA-Z0-9]+)*$`, Chain: nil}}}, - {Target: "parameters.Properties.WindowsProfile.AdminPassword", Name: validation.Null, Rule: true, Chain: nil}, - }}, - {Target: "parameters.Properties.LinuxProfile", Name: validation.Null, Rule: true, - Chain: []validation.Constraint{{Target: "parameters.Properties.LinuxProfile.AdminUsername", Name: validation.Null, Rule: true, - Chain: []validation.Constraint{{Target: "parameters.Properties.LinuxProfile.AdminUsername", Name: validation.Pattern, Rule: `^[A-Za-z][-A-Za-z0-9_]*$`, Chain: nil}}}, - {Target: "parameters.Properties.LinuxProfile.SSH", Name: validation.Null, Rule: true, - Chain: []validation.Constraint{{Target: "parameters.Properties.LinuxProfile.SSH.PublicKeys", Name: validation.Null, Rule: true, Chain: nil}}}, - }}, - {Target: "parameters.Properties.DiagnosticsProfile", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.Properties.DiagnosticsProfile.VMDiagnostics", Name: validation.Null, Rule: true, - Chain: []validation.Constraint{{Target: "parameters.Properties.DiagnosticsProfile.VMDiagnostics.Enabled", Name: validation.Null, Rule: true, Chain: nil}}}, - }}, - }}}}}); err != nil { + Constraints: []validation.Constraint{{Target: "parameters.Location", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "parameters.Properties", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.Properties.OrchestratorProfile", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "parameters.Properties.CustomProfile", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.Properties.CustomProfile.Orchestrator", Name: validation.Null, Rule: true, Chain: nil}}}, + {Target: "parameters.Properties.ServicePrincipalProfile", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.Properties.ServicePrincipalProfile.ClientID", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "parameters.Properties.ServicePrincipalProfile.KeyVaultSecretRef", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.Properties.ServicePrincipalProfile.KeyVaultSecretRef.VaultID", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "parameters.Properties.ServicePrincipalProfile.KeyVaultSecretRef.SecretName", Name: validation.Null, Rule: true, Chain: nil}, + }}, + }}, + {Target: "parameters.Properties.MasterProfile", Name: validation.Null, Rule: true, + Chain: []validation.Constraint{{Target: "parameters.Properties.MasterProfile.DNSPrefix", Name: validation.Null, Rule: true, Chain: nil}}}, + {Target: "parameters.Properties.WindowsProfile", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.Properties.WindowsProfile.AdminUsername", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "parameters.Properties.WindowsProfile.AdminPassword", Name: validation.Null, Rule: true, Chain: nil}, + }}, + {Target: "parameters.Properties.LinuxProfile", Name: validation.Null, Rule: true, + Chain: []validation.Constraint{{Target: "parameters.Properties.LinuxProfile.AdminUsername", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "parameters.Properties.LinuxProfile.SSH", Name: validation.Null, Rule: true, + Chain: []validation.Constraint{{Target: "parameters.Properties.LinuxProfile.SSH.PublicKeys", Name: validation.Null, Rule: true, Chain: nil}}}, + }}, + {Target: "parameters.Properties.DiagnosticsProfile", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.Properties.DiagnosticsProfile.VMDiagnostics", Name: validation.Null, Rule: true, + Chain: []validation.Constraint{{Target: "parameters.Properties.DiagnosticsProfile.VMDiagnostics.Enabled", Name: validation.Null, Rule: true, Chain: nil}}}, + }}, + }}}}}); err != nil { return result, validation.NewError("containerservice.ContainerServicesClient", "CreateOrUpdate", err.Error()) } @@ -120,6 +119,9 @@ func (client ContainerServicesClient) CreateOrUpdatePreparer(ctx context.Context "api-version": APIVersion, } + parameters.ID = nil + parameters.Name = nil + parameters.Type = nil preparer := autorest.CreatePreparer( autorest.AsContentType("application/json; charset=utf-8"), autorest.AsPut(), diff --git a/services/containerservice/mgmt/2017-08-31/containerservice/managedclusters.go b/services/containerservice/mgmt/2017-08-31/containerservice/managedclusters.go index 77930638e564..4d0edae44070 100644 --- a/services/containerservice/mgmt/2017-08-31/containerservice/managedclusters.go +++ b/services/containerservice/mgmt/2017-08-31/containerservice/managedclusters.go @@ -60,21 +60,21 @@ func (client ManagedClustersClient) CreateOrUpdate(ctx context.Context, resource } if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, - Constraints: []validation.Constraint{{Target: "parameters.ManagedClusterProperties", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.ManagedClusterProperties.LinuxProfile", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.ManagedClusterProperties.LinuxProfile.AdminUsername", Name: validation.Null, Rule: true, - Chain: []validation.Constraint{{Target: "parameters.ManagedClusterProperties.LinuxProfile.AdminUsername", Name: validation.Pattern, Rule: `^[A-Za-z][-A-Za-z0-9_]*$`, Chain: nil}}}, - {Target: "parameters.ManagedClusterProperties.LinuxProfile.SSH", Name: validation.Null, Rule: true, - Chain: []validation.Constraint{{Target: "parameters.ManagedClusterProperties.LinuxProfile.SSH.PublicKeys", Name: validation.Null, Rule: true, Chain: nil}}}, - }}, - {Target: "parameters.ManagedClusterProperties.ServicePrincipalProfile", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.ManagedClusterProperties.ServicePrincipalProfile.ClientID", Name: validation.Null, Rule: true, Chain: nil}, - {Target: "parameters.ManagedClusterProperties.ServicePrincipalProfile.KeyVaultSecretRef", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.ManagedClusterProperties.ServicePrincipalProfile.KeyVaultSecretRef.VaultID", Name: validation.Null, Rule: true, Chain: nil}, - {Target: "parameters.ManagedClusterProperties.ServicePrincipalProfile.KeyVaultSecretRef.SecretName", Name: validation.Null, Rule: true, Chain: nil}, - }}, + Constraints: []validation.Constraint{{Target: "parameters.Location", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "parameters.ManagedClusterProperties", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.ManagedClusterProperties.LinuxProfile", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.ManagedClusterProperties.LinuxProfile.AdminUsername", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "parameters.ManagedClusterProperties.LinuxProfile.SSH", Name: validation.Null, Rule: true, + Chain: []validation.Constraint{{Target: "parameters.ManagedClusterProperties.LinuxProfile.SSH.PublicKeys", Name: validation.Null, Rule: true, Chain: nil}}}, }}, - }}}}}); err != nil { + {Target: "parameters.ManagedClusterProperties.ServicePrincipalProfile", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.ManagedClusterProperties.ServicePrincipalProfile.ClientID", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "parameters.ManagedClusterProperties.ServicePrincipalProfile.KeyVaultSecretRef", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.ManagedClusterProperties.ServicePrincipalProfile.KeyVaultSecretRef.VaultID", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "parameters.ManagedClusterProperties.ServicePrincipalProfile.KeyVaultSecretRef.SecretName", Name: validation.Null, Rule: true, Chain: nil}, + }}, + }}, + }}}}}); err != nil { return result, validation.NewError("containerservice.ManagedClustersClient", "CreateOrUpdate", err.Error()) } @@ -106,6 +106,9 @@ func (client ManagedClustersClient) CreateOrUpdatePreparer(ctx context.Context, "api-version": APIVersion, } + parameters.ID = nil + parameters.Name = nil + parameters.Type = nil preparer := autorest.CreatePreparer( autorest.AsContentType("application/json; charset=utf-8"), autorest.AsPut(), diff --git a/services/containerservice/mgmt/2017-08-31/containerservice/models.go b/services/containerservice/mgmt/2017-08-31/containerservice/models.go index 93024ca0850d..d447755ac9b9 100644 --- a/services/containerservice/mgmt/2017-08-31/containerservice/models.go +++ b/services/containerservice/mgmt/2017-08-31/containerservice/models.go @@ -470,11 +470,126 @@ type AgentPoolProfile struct { OsType OSType `json:"osType,omitempty"` } +// Componentsschemascontainerserviceallof1 ... +type Componentsschemascontainerserviceallof1 struct { + // Properties - Properties of the container service. + *Properties `json:"properties,omitempty"` +} + +// MarshalJSON is the custom marshaler for Componentsschemascontainerserviceallof1. +func (c Componentsschemascontainerserviceallof1) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if c.Properties != nil { + objectMap["properties"] = c.Properties + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for Componentsschemascontainerserviceallof1 struct. +func (c *Componentsschemascontainerserviceallof1) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "properties": + if v != nil { + var properties Properties + err = json.Unmarshal(*v, &properties) + if err != nil { + return err + } + c.Properties = &properties + } + } + } + + return nil +} + +// Componentsschemasmanagedclusteraccessprofileallof1 ... +type Componentsschemasmanagedclusteraccessprofileallof1 struct { + // AccessProfile - AccessProfile of a managed cluster. + *AccessProfile `json:"properties,omitempty"` +} + +// MarshalJSON is the custom marshaler for Componentsschemasmanagedclusteraccessprofileallof1. +func (c Componentsschemasmanagedclusteraccessprofileallof1) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if c.AccessProfile != nil { + objectMap["properties"] = c.AccessProfile + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for Componentsschemasmanagedclusteraccessprofileallof1 struct. +func (c *Componentsschemasmanagedclusteraccessprofileallof1) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "properties": + if v != nil { + var accessProfile AccessProfile + err = json.Unmarshal(*v, &accessProfile) + if err != nil { + return err + } + c.AccessProfile = &accessProfile + } + } + } + + return nil +} + +// Componentsschemasmanagedclusterallof1 ... +type Componentsschemasmanagedclusterallof1 struct { + // ManagedClusterProperties - Properties of a managed cluster. + *ManagedClusterProperties `json:"properties,omitempty"` +} + +// MarshalJSON is the custom marshaler for Componentsschemasmanagedclusterallof1. +func (c Componentsschemasmanagedclusterallof1) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if c.ManagedClusterProperties != nil { + objectMap["properties"] = c.ManagedClusterProperties + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for Componentsschemasmanagedclusterallof1 struct. +func (c *Componentsschemasmanagedclusterallof1) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "properties": + if v != nil { + var managedClusterProperties ManagedClusterProperties + err = json.Unmarshal(*v, &managedClusterProperties) + if err != nil { + return err + } + c.ManagedClusterProperties = &managedClusterProperties + } + } + } + + return nil +} + // ContainerService container service. type ContainerService struct { autorest.Response `json:"-"` - // Properties - Properties of the container service. - *Properties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name @@ -485,20 +600,22 @@ type ContainerService struct { Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` + // Properties - Properties of the container service. + *Properties `json:"properties,omitempty"` } // MarshalJSON is the custom marshaler for ContainerService. func (cs ContainerService) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if cs.Properties != nil { - objectMap["properties"] = cs.Properties - } if cs.Location != nil { objectMap["location"] = cs.Location } if cs.Tags != nil { objectMap["tags"] = cs.Tags } + if cs.Properties != nil { + objectMap["properties"] = cs.Properties + } return json.Marshal(objectMap) } @@ -511,15 +628,6 @@ func (cs *ContainerService) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "properties": - if v != nil { - var properties Properties - err = json.Unmarshal(*v, &properties) - if err != nil { - return err - } - cs.Properties = &properties - } case "id": if v != nil { var ID string @@ -565,6 +673,15 @@ func (cs *ContainerService) UnmarshalJSON(body []byte) error { } cs.Tags = tags } + case "properties": + if v != nil { + var properties Properties + err = json.Unmarshal(*v, &properties) + if err != nil { + return err + } + cs.Properties = &properties + } } } @@ -802,8 +919,6 @@ func NewListResultPage(getNextPage func(context.Context, ListResult) (ListResult // ManagedCluster managed cluster. type ManagedCluster struct { autorest.Response `json:"-"` - // ManagedClusterProperties - Properties of a managed cluster. - *ManagedClusterProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name @@ -814,20 +929,22 @@ type ManagedCluster struct { Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` + // ManagedClusterProperties - Properties of a managed cluster. + *ManagedClusterProperties `json:"properties,omitempty"` } // MarshalJSON is the custom marshaler for ManagedCluster. func (mc ManagedCluster) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if mc.ManagedClusterProperties != nil { - objectMap["properties"] = mc.ManagedClusterProperties - } if mc.Location != nil { objectMap["location"] = mc.Location } if mc.Tags != nil { objectMap["tags"] = mc.Tags } + if mc.ManagedClusterProperties != nil { + objectMap["properties"] = mc.ManagedClusterProperties + } return json.Marshal(objectMap) } @@ -840,15 +957,6 @@ func (mc *ManagedCluster) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "properties": - if v != nil { - var managedClusterProperties ManagedClusterProperties - err = json.Unmarshal(*v, &managedClusterProperties) - if err != nil { - return err - } - mc.ManagedClusterProperties = &managedClusterProperties - } case "id": if v != nil { var ID string @@ -894,6 +1002,15 @@ func (mc *ManagedCluster) UnmarshalJSON(body []byte) error { } mc.Tags = tags } + case "properties": + if v != nil { + var managedClusterProperties ManagedClusterProperties + err = json.Unmarshal(*v, &managedClusterProperties) + if err != nil { + return err + } + mc.ManagedClusterProperties = &managedClusterProperties + } } } @@ -903,8 +1020,6 @@ func (mc *ManagedCluster) UnmarshalJSON(body []byte) error { // ManagedClusterAccessProfile managed cluster Access Profile. type ManagedClusterAccessProfile struct { autorest.Response `json:"-"` - // AccessProfile - AccessProfile of a managed cluster. - *AccessProfile `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name @@ -915,20 +1030,22 @@ type ManagedClusterAccessProfile struct { Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` + // AccessProfile - AccessProfile of a managed cluster. + *AccessProfile `json:"properties,omitempty"` } // MarshalJSON is the custom marshaler for ManagedClusterAccessProfile. func (mcap ManagedClusterAccessProfile) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if mcap.AccessProfile != nil { - objectMap["properties"] = mcap.AccessProfile - } if mcap.Location != nil { objectMap["location"] = mcap.Location } if mcap.Tags != nil { objectMap["tags"] = mcap.Tags } + if mcap.AccessProfile != nil { + objectMap["properties"] = mcap.AccessProfile + } return json.Marshal(objectMap) } @@ -941,15 +1058,6 @@ func (mcap *ManagedClusterAccessProfile) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "properties": - if v != nil { - var accessProfile AccessProfile - err = json.Unmarshal(*v, &accessProfile) - if err != nil { - return err - } - mcap.AccessProfile = &accessProfile - } case "id": if v != nil { var ID string @@ -995,6 +1103,15 @@ func (mcap *ManagedClusterAccessProfile) UnmarshalJSON(body []byte) error { } mcap.Tags = tags } + case "properties": + if v != nil { + var accessProfile AccessProfile + err = json.Unmarshal(*v, &accessProfile) + if err != nil { + return err + } + mcap.AccessProfile = &accessProfile + } } } diff --git a/services/containerservice/mgmt/2017-08-31/containerservice/version.go b/services/containerservice/mgmt/2017-08-31/containerservice/version.go index d3bc933a65e4..652b5b209e37 100644 --- a/services/containerservice/mgmt/2017-08-31/containerservice/version.go +++ b/services/containerservice/mgmt/2017-08-31/containerservice/version.go @@ -21,7 +21,7 @@ import "github.com/Azure/azure-sdk-for-go/version" // UserAgent returns the UserAgent string to use when sending http.Requests. func UserAgent() string { - return "Azure-SDK-For-Go/" + version.Number + " containerservice/2017-08-31" + return "Azure-SDK-For-Go/" + version.Number + " containerservice/2017-07-01" } // Version returns the semantic version (see http://semver.org) of the client. diff --git a/services/containerservice/mgmt/2017-09-30/containerservice/client.go b/services/containerservice/mgmt/2017-09-30/containerservice/client.go index 09a36def717c..d27853be33c0 100644 --- a/services/containerservice/mgmt/2017-09-30/containerservice/client.go +++ b/services/containerservice/mgmt/2017-09-30/containerservice/client.go @@ -1,4 +1,4 @@ -// Package containerservice implements the Azure ARM Containerservice service API version . +// Package containerservice implements the Azure ARM Containerservice service API version 2017-07-01. // // The Container Service Client. package containerservice diff --git a/services/containerservice/mgmt/2017-09-30/containerservice/containerservices.go b/services/containerservice/mgmt/2017-09-30/containerservice/containerservices.go index c3e6fa6ad1ed..eada8b386a36 100644 --- a/services/containerservice/mgmt/2017-09-30/containerservice/containerservices.go +++ b/services/containerservice/mgmt/2017-09-30/containerservice/containerservices.go @@ -60,35 +60,34 @@ func (client ContainerServicesClient) CreateOrUpdate(ctx context.Context, resour } if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, - Constraints: []validation.Constraint{{Target: "parameters.Properties", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.Properties.OrchestratorProfile", Name: validation.Null, Rule: true, Chain: nil}, - {Target: "parameters.Properties.CustomProfile", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.Properties.CustomProfile.Orchestrator", Name: validation.Null, Rule: true, Chain: nil}}}, - {Target: "parameters.Properties.ServicePrincipalProfile", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.Properties.ServicePrincipalProfile.ClientID", Name: validation.Null, Rule: true, Chain: nil}, - {Target: "parameters.Properties.ServicePrincipalProfile.KeyVaultSecretRef", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.Properties.ServicePrincipalProfile.KeyVaultSecretRef.VaultID", Name: validation.Null, Rule: true, Chain: nil}, - {Target: "parameters.Properties.ServicePrincipalProfile.KeyVaultSecretRef.SecretName", Name: validation.Null, Rule: true, Chain: nil}, - }}, - }}, - {Target: "parameters.Properties.MasterProfile", Name: validation.Null, Rule: true, - Chain: []validation.Constraint{{Target: "parameters.Properties.MasterProfile.DNSPrefix", Name: validation.Null, Rule: true, Chain: nil}}}, - {Target: "parameters.Properties.WindowsProfile", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.Properties.WindowsProfile.AdminUsername", Name: validation.Null, Rule: true, - Chain: []validation.Constraint{{Target: "parameters.Properties.WindowsProfile.AdminUsername", Name: validation.Pattern, Rule: `^[a-zA-Z0-9]+([._]?[a-zA-Z0-9]+)*$`, Chain: nil}}}, - {Target: "parameters.Properties.WindowsProfile.AdminPassword", Name: validation.Null, Rule: true, Chain: nil}, - }}, - {Target: "parameters.Properties.LinuxProfile", Name: validation.Null, Rule: true, - Chain: []validation.Constraint{{Target: "parameters.Properties.LinuxProfile.AdminUsername", Name: validation.Null, Rule: true, - Chain: []validation.Constraint{{Target: "parameters.Properties.LinuxProfile.AdminUsername", Name: validation.Pattern, Rule: `^[A-Za-z][-A-Za-z0-9_]*$`, Chain: nil}}}, - {Target: "parameters.Properties.LinuxProfile.SSH", Name: validation.Null, Rule: true, - Chain: []validation.Constraint{{Target: "parameters.Properties.LinuxProfile.SSH.PublicKeys", Name: validation.Null, Rule: true, Chain: nil}}}, - }}, - {Target: "parameters.Properties.DiagnosticsProfile", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.Properties.DiagnosticsProfile.VMDiagnostics", Name: validation.Null, Rule: true, - Chain: []validation.Constraint{{Target: "parameters.Properties.DiagnosticsProfile.VMDiagnostics.Enabled", Name: validation.Null, Rule: true, Chain: nil}}}, - }}, - }}}}}); err != nil { + Constraints: []validation.Constraint{{Target: "parameters.Location", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "parameters.Properties", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.Properties.OrchestratorProfile", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "parameters.Properties.CustomProfile", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.Properties.CustomProfile.Orchestrator", Name: validation.Null, Rule: true, Chain: nil}}}, + {Target: "parameters.Properties.ServicePrincipalProfile", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.Properties.ServicePrincipalProfile.ClientID", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "parameters.Properties.ServicePrincipalProfile.KeyVaultSecretRef", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.Properties.ServicePrincipalProfile.KeyVaultSecretRef.VaultID", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "parameters.Properties.ServicePrincipalProfile.KeyVaultSecretRef.SecretName", Name: validation.Null, Rule: true, Chain: nil}, + }}, + }}, + {Target: "parameters.Properties.MasterProfile", Name: validation.Null, Rule: true, + Chain: []validation.Constraint{{Target: "parameters.Properties.MasterProfile.DNSPrefix", Name: validation.Null, Rule: true, Chain: nil}}}, + {Target: "parameters.Properties.WindowsProfile", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.Properties.WindowsProfile.AdminUsername", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "parameters.Properties.WindowsProfile.AdminPassword", Name: validation.Null, Rule: true, Chain: nil}, + }}, + {Target: "parameters.Properties.LinuxProfile", Name: validation.Null, Rule: true, + Chain: []validation.Constraint{{Target: "parameters.Properties.LinuxProfile.AdminUsername", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "parameters.Properties.LinuxProfile.SSH", Name: validation.Null, Rule: true, + Chain: []validation.Constraint{{Target: "parameters.Properties.LinuxProfile.SSH.PublicKeys", Name: validation.Null, Rule: true, Chain: nil}}}, + }}, + {Target: "parameters.Properties.DiagnosticsProfile", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.Properties.DiagnosticsProfile.VMDiagnostics", Name: validation.Null, Rule: true, + Chain: []validation.Constraint{{Target: "parameters.Properties.DiagnosticsProfile.VMDiagnostics.Enabled", Name: validation.Null, Rule: true, Chain: nil}}}, + }}, + }}}}}); err != nil { return result, validation.NewError("containerservice.ContainerServicesClient", "CreateOrUpdate", err.Error()) } @@ -120,6 +119,9 @@ func (client ContainerServicesClient) CreateOrUpdatePreparer(ctx context.Context "api-version": APIVersion, } + parameters.ID = nil + parameters.Name = nil + parameters.Type = nil preparer := autorest.CreatePreparer( autorest.AsContentType("application/json; charset=utf-8"), autorest.AsPut(), diff --git a/services/containerservice/mgmt/2017-09-30/containerservice/managedclusters.go b/services/containerservice/mgmt/2017-09-30/containerservice/managedclusters.go index 77930638e564..4d0edae44070 100644 --- a/services/containerservice/mgmt/2017-09-30/containerservice/managedclusters.go +++ b/services/containerservice/mgmt/2017-09-30/containerservice/managedclusters.go @@ -60,21 +60,21 @@ func (client ManagedClustersClient) CreateOrUpdate(ctx context.Context, resource } if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, - Constraints: []validation.Constraint{{Target: "parameters.ManagedClusterProperties", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.ManagedClusterProperties.LinuxProfile", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.ManagedClusterProperties.LinuxProfile.AdminUsername", Name: validation.Null, Rule: true, - Chain: []validation.Constraint{{Target: "parameters.ManagedClusterProperties.LinuxProfile.AdminUsername", Name: validation.Pattern, Rule: `^[A-Za-z][-A-Za-z0-9_]*$`, Chain: nil}}}, - {Target: "parameters.ManagedClusterProperties.LinuxProfile.SSH", Name: validation.Null, Rule: true, - Chain: []validation.Constraint{{Target: "parameters.ManagedClusterProperties.LinuxProfile.SSH.PublicKeys", Name: validation.Null, Rule: true, Chain: nil}}}, - }}, - {Target: "parameters.ManagedClusterProperties.ServicePrincipalProfile", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.ManagedClusterProperties.ServicePrincipalProfile.ClientID", Name: validation.Null, Rule: true, Chain: nil}, - {Target: "parameters.ManagedClusterProperties.ServicePrincipalProfile.KeyVaultSecretRef", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.ManagedClusterProperties.ServicePrincipalProfile.KeyVaultSecretRef.VaultID", Name: validation.Null, Rule: true, Chain: nil}, - {Target: "parameters.ManagedClusterProperties.ServicePrincipalProfile.KeyVaultSecretRef.SecretName", Name: validation.Null, Rule: true, Chain: nil}, - }}, + Constraints: []validation.Constraint{{Target: "parameters.Location", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "parameters.ManagedClusterProperties", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.ManagedClusterProperties.LinuxProfile", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.ManagedClusterProperties.LinuxProfile.AdminUsername", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "parameters.ManagedClusterProperties.LinuxProfile.SSH", Name: validation.Null, Rule: true, + Chain: []validation.Constraint{{Target: "parameters.ManagedClusterProperties.LinuxProfile.SSH.PublicKeys", Name: validation.Null, Rule: true, Chain: nil}}}, }}, - }}}}}); err != nil { + {Target: "parameters.ManagedClusterProperties.ServicePrincipalProfile", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.ManagedClusterProperties.ServicePrincipalProfile.ClientID", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "parameters.ManagedClusterProperties.ServicePrincipalProfile.KeyVaultSecretRef", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.ManagedClusterProperties.ServicePrincipalProfile.KeyVaultSecretRef.VaultID", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "parameters.ManagedClusterProperties.ServicePrincipalProfile.KeyVaultSecretRef.SecretName", Name: validation.Null, Rule: true, Chain: nil}, + }}, + }}, + }}}}}); err != nil { return result, validation.NewError("containerservice.ManagedClustersClient", "CreateOrUpdate", err.Error()) } @@ -106,6 +106,9 @@ func (client ManagedClustersClient) CreateOrUpdatePreparer(ctx context.Context, "api-version": APIVersion, } + parameters.ID = nil + parameters.Name = nil + parameters.Type = nil preparer := autorest.CreatePreparer( autorest.AsContentType("application/json; charset=utf-8"), autorest.AsPut(), diff --git a/services/containerservice/mgmt/2017-09-30/containerservice/models.go b/services/containerservice/mgmt/2017-09-30/containerservice/models.go index 932ce31f0f94..091593ba7e82 100644 --- a/services/containerservice/mgmt/2017-09-30/containerservice/models.go +++ b/services/containerservice/mgmt/2017-09-30/containerservice/models.go @@ -470,11 +470,126 @@ type AgentPoolProfile struct { OsType OSType `json:"osType,omitempty"` } +// Componentsschemascontainerserviceallof1 ... +type Componentsschemascontainerserviceallof1 struct { + // Properties - Properties of the container service. + *Properties `json:"properties,omitempty"` +} + +// MarshalJSON is the custom marshaler for Componentsschemascontainerserviceallof1. +func (c Componentsschemascontainerserviceallof1) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if c.Properties != nil { + objectMap["properties"] = c.Properties + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for Componentsschemascontainerserviceallof1 struct. +func (c *Componentsschemascontainerserviceallof1) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "properties": + if v != nil { + var properties Properties + err = json.Unmarshal(*v, &properties) + if err != nil { + return err + } + c.Properties = &properties + } + } + } + + return nil +} + +// Componentsschemasmanagedclusteraccessprofileallof1 ... +type Componentsschemasmanagedclusteraccessprofileallof1 struct { + // AccessProfile - AccessProfile of a managed cluster. + *AccessProfile `json:"properties,omitempty"` +} + +// MarshalJSON is the custom marshaler for Componentsschemasmanagedclusteraccessprofileallof1. +func (c Componentsschemasmanagedclusteraccessprofileallof1) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if c.AccessProfile != nil { + objectMap["properties"] = c.AccessProfile + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for Componentsschemasmanagedclusteraccessprofileallof1 struct. +func (c *Componentsschemasmanagedclusteraccessprofileallof1) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "properties": + if v != nil { + var accessProfile AccessProfile + err = json.Unmarshal(*v, &accessProfile) + if err != nil { + return err + } + c.AccessProfile = &accessProfile + } + } + } + + return nil +} + +// Componentsschemasmanagedclusterallof1 ... +type Componentsschemasmanagedclusterallof1 struct { + // ManagedClusterProperties - Properties of a managed cluster. + *ManagedClusterProperties `json:"properties,omitempty"` +} + +// MarshalJSON is the custom marshaler for Componentsschemasmanagedclusterallof1. +func (c Componentsschemasmanagedclusterallof1) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if c.ManagedClusterProperties != nil { + objectMap["properties"] = c.ManagedClusterProperties + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for Componentsschemasmanagedclusterallof1 struct. +func (c *Componentsschemasmanagedclusterallof1) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "properties": + if v != nil { + var managedClusterProperties ManagedClusterProperties + err = json.Unmarshal(*v, &managedClusterProperties) + if err != nil { + return err + } + c.ManagedClusterProperties = &managedClusterProperties + } + } + } + + return nil +} + // ContainerService container service. type ContainerService struct { autorest.Response `json:"-"` - // Properties - Properties of the container service. - *Properties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name @@ -485,20 +600,22 @@ type ContainerService struct { Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` + // Properties - Properties of the container service. + *Properties `json:"properties,omitempty"` } // MarshalJSON is the custom marshaler for ContainerService. func (cs ContainerService) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if cs.Properties != nil { - objectMap["properties"] = cs.Properties - } if cs.Location != nil { objectMap["location"] = cs.Location } if cs.Tags != nil { objectMap["tags"] = cs.Tags } + if cs.Properties != nil { + objectMap["properties"] = cs.Properties + } return json.Marshal(objectMap) } @@ -511,15 +628,6 @@ func (cs *ContainerService) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "properties": - if v != nil { - var properties Properties - err = json.Unmarshal(*v, &properties) - if err != nil { - return err - } - cs.Properties = &properties - } case "id": if v != nil { var ID string @@ -565,6 +673,15 @@ func (cs *ContainerService) UnmarshalJSON(body []byte) error { } cs.Tags = tags } + case "properties": + if v != nil { + var properties Properties + err = json.Unmarshal(*v, &properties) + if err != nil { + return err + } + cs.Properties = &properties + } } } @@ -802,8 +919,6 @@ func NewListResultPage(getNextPage func(context.Context, ListResult) (ListResult // ManagedCluster managed cluster. type ManagedCluster struct { autorest.Response `json:"-"` - // ManagedClusterProperties - Properties of a managed cluster. - *ManagedClusterProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name @@ -814,20 +929,22 @@ type ManagedCluster struct { Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` + // ManagedClusterProperties - Properties of a managed cluster. + *ManagedClusterProperties `json:"properties,omitempty"` } // MarshalJSON is the custom marshaler for ManagedCluster. func (mc ManagedCluster) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if mc.ManagedClusterProperties != nil { - objectMap["properties"] = mc.ManagedClusterProperties - } if mc.Location != nil { objectMap["location"] = mc.Location } if mc.Tags != nil { objectMap["tags"] = mc.Tags } + if mc.ManagedClusterProperties != nil { + objectMap["properties"] = mc.ManagedClusterProperties + } return json.Marshal(objectMap) } @@ -840,15 +957,6 @@ func (mc *ManagedCluster) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "properties": - if v != nil { - var managedClusterProperties ManagedClusterProperties - err = json.Unmarshal(*v, &managedClusterProperties) - if err != nil { - return err - } - mc.ManagedClusterProperties = &managedClusterProperties - } case "id": if v != nil { var ID string @@ -894,6 +1002,15 @@ func (mc *ManagedCluster) UnmarshalJSON(body []byte) error { } mc.Tags = tags } + case "properties": + if v != nil { + var managedClusterProperties ManagedClusterProperties + err = json.Unmarshal(*v, &managedClusterProperties) + if err != nil { + return err + } + mc.ManagedClusterProperties = &managedClusterProperties + } } } @@ -903,8 +1020,6 @@ func (mc *ManagedCluster) UnmarshalJSON(body []byte) error { // ManagedClusterAccessProfile managed cluster Access Profile. type ManagedClusterAccessProfile struct { autorest.Response `json:"-"` - // AccessProfile - AccessProfile of a managed cluster. - *AccessProfile `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name @@ -915,20 +1030,22 @@ type ManagedClusterAccessProfile struct { Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` + // AccessProfile - AccessProfile of a managed cluster. + *AccessProfile `json:"properties,omitempty"` } // MarshalJSON is the custom marshaler for ManagedClusterAccessProfile. func (mcap ManagedClusterAccessProfile) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if mcap.AccessProfile != nil { - objectMap["properties"] = mcap.AccessProfile - } if mcap.Location != nil { objectMap["location"] = mcap.Location } if mcap.Tags != nil { objectMap["tags"] = mcap.Tags } + if mcap.AccessProfile != nil { + objectMap["properties"] = mcap.AccessProfile + } return json.Marshal(objectMap) } @@ -941,15 +1058,6 @@ func (mcap *ManagedClusterAccessProfile) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "properties": - if v != nil { - var accessProfile AccessProfile - err = json.Unmarshal(*v, &accessProfile) - if err != nil { - return err - } - mcap.AccessProfile = &accessProfile - } case "id": if v != nil { var ID string @@ -995,6 +1103,15 @@ func (mcap *ManagedClusterAccessProfile) UnmarshalJSON(body []byte) error { } mcap.Tags = tags } + case "properties": + if v != nil { + var accessProfile AccessProfile + err = json.Unmarshal(*v, &accessProfile) + if err != nil { + return err + } + mcap.AccessProfile = &accessProfile + } } } diff --git a/services/containerservice/mgmt/2017-09-30/containerservice/version.go b/services/containerservice/mgmt/2017-09-30/containerservice/version.go index 550a9a973280..652b5b209e37 100644 --- a/services/containerservice/mgmt/2017-09-30/containerservice/version.go +++ b/services/containerservice/mgmt/2017-09-30/containerservice/version.go @@ -21,7 +21,7 @@ import "github.com/Azure/azure-sdk-for-go/version" // UserAgent returns the UserAgent string to use when sending http.Requests. func UserAgent() string { - return "Azure-SDK-For-Go/" + version.Number + " containerservice/2017-09-30" + return "Azure-SDK-For-Go/" + version.Number + " containerservice/2017-07-01" } // Version returns the semantic version (see http://semver.org) of the client. diff --git a/services/containerservice/mgmt/2018-03-31/containerservice/client.go b/services/containerservice/mgmt/2018-03-31/containerservice/client.go index 09a36def717c..d27853be33c0 100644 --- a/services/containerservice/mgmt/2018-03-31/containerservice/client.go +++ b/services/containerservice/mgmt/2018-03-31/containerservice/client.go @@ -1,4 +1,4 @@ -// Package containerservice implements the Azure ARM Containerservice service API version . +// Package containerservice implements the Azure ARM Containerservice service API version 2017-07-01. // // The Container Service Client. package containerservice diff --git a/services/containerservice/mgmt/2018-03-31/containerservice/containerservices.go b/services/containerservice/mgmt/2018-03-31/containerservice/containerservices.go index c3e6fa6ad1ed..eada8b386a36 100644 --- a/services/containerservice/mgmt/2018-03-31/containerservice/containerservices.go +++ b/services/containerservice/mgmt/2018-03-31/containerservice/containerservices.go @@ -60,35 +60,34 @@ func (client ContainerServicesClient) CreateOrUpdate(ctx context.Context, resour } if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, - Constraints: []validation.Constraint{{Target: "parameters.Properties", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.Properties.OrchestratorProfile", Name: validation.Null, Rule: true, Chain: nil}, - {Target: "parameters.Properties.CustomProfile", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.Properties.CustomProfile.Orchestrator", Name: validation.Null, Rule: true, Chain: nil}}}, - {Target: "parameters.Properties.ServicePrincipalProfile", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.Properties.ServicePrincipalProfile.ClientID", Name: validation.Null, Rule: true, Chain: nil}, - {Target: "parameters.Properties.ServicePrincipalProfile.KeyVaultSecretRef", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.Properties.ServicePrincipalProfile.KeyVaultSecretRef.VaultID", Name: validation.Null, Rule: true, Chain: nil}, - {Target: "parameters.Properties.ServicePrincipalProfile.KeyVaultSecretRef.SecretName", Name: validation.Null, Rule: true, Chain: nil}, - }}, - }}, - {Target: "parameters.Properties.MasterProfile", Name: validation.Null, Rule: true, - Chain: []validation.Constraint{{Target: "parameters.Properties.MasterProfile.DNSPrefix", Name: validation.Null, Rule: true, Chain: nil}}}, - {Target: "parameters.Properties.WindowsProfile", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.Properties.WindowsProfile.AdminUsername", Name: validation.Null, Rule: true, - Chain: []validation.Constraint{{Target: "parameters.Properties.WindowsProfile.AdminUsername", Name: validation.Pattern, Rule: `^[a-zA-Z0-9]+([._]?[a-zA-Z0-9]+)*$`, Chain: nil}}}, - {Target: "parameters.Properties.WindowsProfile.AdminPassword", Name: validation.Null, Rule: true, Chain: nil}, - }}, - {Target: "parameters.Properties.LinuxProfile", Name: validation.Null, Rule: true, - Chain: []validation.Constraint{{Target: "parameters.Properties.LinuxProfile.AdminUsername", Name: validation.Null, Rule: true, - Chain: []validation.Constraint{{Target: "parameters.Properties.LinuxProfile.AdminUsername", Name: validation.Pattern, Rule: `^[A-Za-z][-A-Za-z0-9_]*$`, Chain: nil}}}, - {Target: "parameters.Properties.LinuxProfile.SSH", Name: validation.Null, Rule: true, - Chain: []validation.Constraint{{Target: "parameters.Properties.LinuxProfile.SSH.PublicKeys", Name: validation.Null, Rule: true, Chain: nil}}}, - }}, - {Target: "parameters.Properties.DiagnosticsProfile", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.Properties.DiagnosticsProfile.VMDiagnostics", Name: validation.Null, Rule: true, - Chain: []validation.Constraint{{Target: "parameters.Properties.DiagnosticsProfile.VMDiagnostics.Enabled", Name: validation.Null, Rule: true, Chain: nil}}}, - }}, - }}}}}); err != nil { + Constraints: []validation.Constraint{{Target: "parameters.Location", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "parameters.Properties", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.Properties.OrchestratorProfile", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "parameters.Properties.CustomProfile", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.Properties.CustomProfile.Orchestrator", Name: validation.Null, Rule: true, Chain: nil}}}, + {Target: "parameters.Properties.ServicePrincipalProfile", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.Properties.ServicePrincipalProfile.ClientID", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "parameters.Properties.ServicePrincipalProfile.KeyVaultSecretRef", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.Properties.ServicePrincipalProfile.KeyVaultSecretRef.VaultID", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "parameters.Properties.ServicePrincipalProfile.KeyVaultSecretRef.SecretName", Name: validation.Null, Rule: true, Chain: nil}, + }}, + }}, + {Target: "parameters.Properties.MasterProfile", Name: validation.Null, Rule: true, + Chain: []validation.Constraint{{Target: "parameters.Properties.MasterProfile.DNSPrefix", Name: validation.Null, Rule: true, Chain: nil}}}, + {Target: "parameters.Properties.WindowsProfile", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.Properties.WindowsProfile.AdminUsername", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "parameters.Properties.WindowsProfile.AdminPassword", Name: validation.Null, Rule: true, Chain: nil}, + }}, + {Target: "parameters.Properties.LinuxProfile", Name: validation.Null, Rule: true, + Chain: []validation.Constraint{{Target: "parameters.Properties.LinuxProfile.AdminUsername", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "parameters.Properties.LinuxProfile.SSH", Name: validation.Null, Rule: true, + Chain: []validation.Constraint{{Target: "parameters.Properties.LinuxProfile.SSH.PublicKeys", Name: validation.Null, Rule: true, Chain: nil}}}, + }}, + {Target: "parameters.Properties.DiagnosticsProfile", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.Properties.DiagnosticsProfile.VMDiagnostics", Name: validation.Null, Rule: true, + Chain: []validation.Constraint{{Target: "parameters.Properties.DiagnosticsProfile.VMDiagnostics.Enabled", Name: validation.Null, Rule: true, Chain: nil}}}, + }}, + }}}}}); err != nil { return result, validation.NewError("containerservice.ContainerServicesClient", "CreateOrUpdate", err.Error()) } @@ -120,6 +119,9 @@ func (client ContainerServicesClient) CreateOrUpdatePreparer(ctx context.Context "api-version": APIVersion, } + parameters.ID = nil + parameters.Name = nil + parameters.Type = nil preparer := autorest.CreatePreparer( autorest.AsContentType("application/json; charset=utf-8"), autorest.AsPut(), diff --git a/services/containerservice/mgmt/2018-03-31/containerservice/managedclusters.go b/services/containerservice/mgmt/2018-03-31/containerservice/managedclusters.go index de04ca199b84..957f65042304 100644 --- a/services/containerservice/mgmt/2018-03-31/containerservice/managedclusters.go +++ b/services/containerservice/mgmt/2018-03-31/containerservice/managedclusters.go @@ -62,30 +62,20 @@ func (client ManagedClustersClient) CreateOrUpdate(ctx context.Context, resource {TargetValue: resourceGroupName, Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}}}, {TargetValue: parameters, - Constraints: []validation.Constraint{{Target: "parameters.ManagedClusterProperties", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.ManagedClusterProperties.LinuxProfile", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.ManagedClusterProperties.LinuxProfile.AdminUsername", Name: validation.Null, Rule: true, - Chain: []validation.Constraint{{Target: "parameters.ManagedClusterProperties.LinuxProfile.AdminUsername", Name: validation.Pattern, Rule: `^[A-Za-z][-A-Za-z0-9_]*$`, Chain: nil}}}, - {Target: "parameters.ManagedClusterProperties.LinuxProfile.SSH", Name: validation.Null, Rule: true, - Chain: []validation.Constraint{{Target: "parameters.ManagedClusterProperties.LinuxProfile.SSH.PublicKeys", Name: validation.Null, Rule: true, Chain: nil}}}, - }}, - {Target: "parameters.ManagedClusterProperties.ServicePrincipalProfile", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.ManagedClusterProperties.ServicePrincipalProfile.ClientID", Name: validation.Null, Rule: true, Chain: nil}}}, - {Target: "parameters.ManagedClusterProperties.NetworkProfile", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.ManagedClusterProperties.NetworkProfile.PodCidr", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.ManagedClusterProperties.NetworkProfile.PodCidr", Name: validation.Pattern, Rule: `^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$`, Chain: nil}}}, - {Target: "parameters.ManagedClusterProperties.NetworkProfile.ServiceCidr", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.ManagedClusterProperties.NetworkProfile.ServiceCidr", Name: validation.Pattern, Rule: `^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$`, Chain: nil}}}, - {Target: "parameters.ManagedClusterProperties.NetworkProfile.DNSServiceIP", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.ManagedClusterProperties.NetworkProfile.DNSServiceIP", Name: validation.Pattern, Rule: `^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$`, Chain: nil}}}, - {Target: "parameters.ManagedClusterProperties.NetworkProfile.DockerBridgeCidr", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.ManagedClusterProperties.NetworkProfile.DockerBridgeCidr", Name: validation.Pattern, Rule: `^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$`, Chain: nil}}}, + Constraints: []validation.Constraint{{Target: "parameters.Location", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "parameters.ManagedClusterProperties", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.ManagedClusterProperties.LinuxProfile", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.ManagedClusterProperties.LinuxProfile.AdminUsername", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "parameters.ManagedClusterProperties.LinuxProfile.SSH", Name: validation.Null, Rule: true, + Chain: []validation.Constraint{{Target: "parameters.ManagedClusterProperties.LinuxProfile.SSH.PublicKeys", Name: validation.Null, Rule: true, Chain: nil}}}, }}, - {Target: "parameters.ManagedClusterProperties.AadProfile", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.ManagedClusterProperties.AadProfile.ClientAppID", Name: validation.Null, Rule: true, Chain: nil}, - {Target: "parameters.ManagedClusterProperties.AadProfile.ServerAppID", Name: validation.Null, Rule: true, Chain: nil}, - }}, - }}}}}); err != nil { + {Target: "parameters.ManagedClusterProperties.ServicePrincipalProfile", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.ManagedClusterProperties.ServicePrincipalProfile.ClientID", Name: validation.Null, Rule: true, Chain: nil}}}, + {Target: "parameters.ManagedClusterProperties.AadProfile", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.ManagedClusterProperties.AadProfile.ClientAppID", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "parameters.ManagedClusterProperties.AadProfile.ServerAppID", Name: validation.Null, Rule: true, Chain: nil}, + }}, + }}}}}); err != nil { return result, validation.NewError("containerservice.ManagedClustersClient", "CreateOrUpdate", err.Error()) } @@ -117,6 +107,9 @@ func (client ManagedClustersClient) CreateOrUpdatePreparer(ctx context.Context, "api-version": APIVersion, } + parameters.ID = nil + parameters.Name = nil + parameters.Type = nil preparer := autorest.CreatePreparer( autorest.AsContentType("application/json; charset=utf-8"), autorest.AsPut(), diff --git a/services/containerservice/mgmt/2018-03-31/containerservice/models.go b/services/containerservice/mgmt/2018-03-31/containerservice/models.go index 11e2f34d3c27..812def486f9b 100644 --- a/services/containerservice/mgmt/2018-03-31/containerservice/models.go +++ b/services/containerservice/mgmt/2018-03-31/containerservice/models.go @@ -498,11 +498,126 @@ type AgentPoolProfile struct { OsType OSType `json:"osType,omitempty"` } +// Componentsschemascontainerserviceallof1 ... +type Componentsschemascontainerserviceallof1 struct { + // Properties - Properties of the container service. + *Properties `json:"properties,omitempty"` +} + +// MarshalJSON is the custom marshaler for Componentsschemascontainerserviceallof1. +func (c Componentsschemascontainerserviceallof1) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if c.Properties != nil { + objectMap["properties"] = c.Properties + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for Componentsschemascontainerserviceallof1 struct. +func (c *Componentsschemascontainerserviceallof1) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "properties": + if v != nil { + var properties Properties + err = json.Unmarshal(*v, &properties) + if err != nil { + return err + } + c.Properties = &properties + } + } + } + + return nil +} + +// Componentsschemasmanagedclusteraccessprofileallof1 ... +type Componentsschemasmanagedclusteraccessprofileallof1 struct { + // AccessProfile - AccessProfile of a managed cluster. + *AccessProfile `json:"properties,omitempty"` +} + +// MarshalJSON is the custom marshaler for Componentsschemasmanagedclusteraccessprofileallof1. +func (c Componentsschemasmanagedclusteraccessprofileallof1) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if c.AccessProfile != nil { + objectMap["properties"] = c.AccessProfile + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for Componentsschemasmanagedclusteraccessprofileallof1 struct. +func (c *Componentsschemasmanagedclusteraccessprofileallof1) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "properties": + if v != nil { + var accessProfile AccessProfile + err = json.Unmarshal(*v, &accessProfile) + if err != nil { + return err + } + c.AccessProfile = &accessProfile + } + } + } + + return nil +} + +// Componentsschemasmanagedclusterallof1 ... +type Componentsschemasmanagedclusterallof1 struct { + // ManagedClusterProperties - Properties of a managed cluster. + *ManagedClusterProperties `json:"properties,omitempty"` +} + +// MarshalJSON is the custom marshaler for Componentsschemasmanagedclusterallof1. +func (c Componentsschemasmanagedclusterallof1) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if c.ManagedClusterProperties != nil { + objectMap["properties"] = c.ManagedClusterProperties + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for Componentsschemasmanagedclusterallof1 struct. +func (c *Componentsschemasmanagedclusterallof1) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "properties": + if v != nil { + var managedClusterProperties ManagedClusterProperties + err = json.Unmarshal(*v, &managedClusterProperties) + if err != nil { + return err + } + c.ManagedClusterProperties = &managedClusterProperties + } + } + } + + return nil +} + // ContainerService container service. type ContainerService struct { autorest.Response `json:"-"` - // Properties - Properties of the container service. - *Properties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name @@ -513,20 +628,22 @@ type ContainerService struct { Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` + // Properties - Properties of the container service. + *Properties `json:"properties,omitempty"` } // MarshalJSON is the custom marshaler for ContainerService. func (cs ContainerService) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if cs.Properties != nil { - objectMap["properties"] = cs.Properties - } if cs.Location != nil { objectMap["location"] = cs.Location } if cs.Tags != nil { objectMap["tags"] = cs.Tags } + if cs.Properties != nil { + objectMap["properties"] = cs.Properties + } return json.Marshal(objectMap) } @@ -539,15 +656,6 @@ func (cs *ContainerService) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "properties": - if v != nil { - var properties Properties - err = json.Unmarshal(*v, &properties) - if err != nil { - return err - } - cs.Properties = &properties - } case "id": if v != nil { var ID string @@ -593,6 +701,15 @@ func (cs *ContainerService) UnmarshalJSON(body []byte) error { } cs.Tags = tags } + case "properties": + if v != nil { + var properties Properties + err = json.Unmarshal(*v, &properties) + if err != nil { + return err + } + cs.Properties = &properties + } } } @@ -845,8 +962,6 @@ func NewListResultPage(getNextPage func(context.Context, ListResult) (ListResult // ManagedCluster managed cluster. type ManagedCluster struct { autorest.Response `json:"-"` - // ManagedClusterProperties - Properties of a managed cluster. - *ManagedClusterProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name @@ -857,20 +972,22 @@ type ManagedCluster struct { Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` + // ManagedClusterProperties - Properties of a managed cluster. + *ManagedClusterProperties `json:"properties,omitempty"` } // MarshalJSON is the custom marshaler for ManagedCluster. func (mc ManagedCluster) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if mc.ManagedClusterProperties != nil { - objectMap["properties"] = mc.ManagedClusterProperties - } if mc.Location != nil { objectMap["location"] = mc.Location } if mc.Tags != nil { objectMap["tags"] = mc.Tags } + if mc.ManagedClusterProperties != nil { + objectMap["properties"] = mc.ManagedClusterProperties + } return json.Marshal(objectMap) } @@ -883,15 +1000,6 @@ func (mc *ManagedCluster) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "properties": - if v != nil { - var managedClusterProperties ManagedClusterProperties - err = json.Unmarshal(*v, &managedClusterProperties) - if err != nil { - return err - } - mc.ManagedClusterProperties = &managedClusterProperties - } case "id": if v != nil { var ID string @@ -937,6 +1045,15 @@ func (mc *ManagedCluster) UnmarshalJSON(body []byte) error { } mc.Tags = tags } + case "properties": + if v != nil { + var managedClusterProperties ManagedClusterProperties + err = json.Unmarshal(*v, &managedClusterProperties) + if err != nil { + return err + } + mc.ManagedClusterProperties = &managedClusterProperties + } } } @@ -958,8 +1075,6 @@ type ManagedClusterAADProfile struct { // ManagedClusterAccessProfile managed cluster Access Profile. type ManagedClusterAccessProfile struct { autorest.Response `json:"-"` - // AccessProfile - AccessProfile of a managed cluster. - *AccessProfile `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name @@ -970,20 +1085,22 @@ type ManagedClusterAccessProfile struct { Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` + // AccessProfile - AccessProfile of a managed cluster. + *AccessProfile `json:"properties,omitempty"` } // MarshalJSON is the custom marshaler for ManagedClusterAccessProfile. func (mcap ManagedClusterAccessProfile) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if mcap.AccessProfile != nil { - objectMap["properties"] = mcap.AccessProfile - } if mcap.Location != nil { objectMap["location"] = mcap.Location } if mcap.Tags != nil { objectMap["tags"] = mcap.Tags } + if mcap.AccessProfile != nil { + objectMap["properties"] = mcap.AccessProfile + } return json.Marshal(objectMap) } @@ -996,15 +1113,6 @@ func (mcap *ManagedClusterAccessProfile) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "properties": - if v != nil { - var accessProfile AccessProfile - err = json.Unmarshal(*v, &accessProfile) - if err != nil { - return err - } - mcap.AccessProfile = &accessProfile - } case "id": if v != nil { var ID string @@ -1050,6 +1158,15 @@ func (mcap *ManagedClusterAccessProfile) UnmarshalJSON(body []byte) error { } mcap.Tags = tags } + case "properties": + if v != nil { + var accessProfile AccessProfile + err = json.Unmarshal(*v, &accessProfile) + if err != nil { + return err + } + mcap.AccessProfile = &accessProfile + } } } diff --git a/services/containerservice/mgmt/2018-03-31/containerservice/version.go b/services/containerservice/mgmt/2018-03-31/containerservice/version.go index c2c4f9aefef8..652b5b209e37 100644 --- a/services/containerservice/mgmt/2018-03-31/containerservice/version.go +++ b/services/containerservice/mgmt/2018-03-31/containerservice/version.go @@ -21,7 +21,7 @@ import "github.com/Azure/azure-sdk-for-go/version" // UserAgent returns the UserAgent string to use when sending http.Requests. func UserAgent() string { - return "Azure-SDK-For-Go/" + version.Number + " containerservice/2018-03-31" + return "Azure-SDK-For-Go/" + version.Number + " containerservice/2017-07-01" } // Version returns the semantic version (see http://semver.org) of the client. diff --git a/tools/indexer/main.go b/tools/indexer/main.go index 2bf57f4b0c61..c4076d561809 100644 --- a/tools/indexer/main.go +++ b/tools/indexer/main.go @@ -26,18 +26,18 @@ import ( // adds any missing SDK packages to godoc.org func main() { - dir := "" + // by default assume we're running from the source dir + // and calculate the relative path to the services directory. + dir := "../../services" if len(os.Args) > 1 { // assume second arg is source dir dir = os.Args[1] - } else { - // if no args specified assume we're running from the source dir - // and calculate the relative path to the services directory. - var err error - dir, err = filepath.Abs("../../services") - if err != nil { - panic(err) - } + } + + var err error + dir, err = filepath.Abs(dir) + if err != nil { + panic(err) } pkgs, err := util.GetPackagesForIndexing(dir) diff --git a/tools/pkgchk/cmd/root.go b/tools/pkgchk/cmd/root.go index e91e1b631a1e..5d74563f35ce 100644 --- a/tools/pkgchk/cmd/root.go +++ b/tools/pkgchk/cmd/root.go @@ -31,7 +31,7 @@ import ( "github.com/spf13/cobra" ) -var excepFileFlag string +var exceptFileFlag string var rootCmd = &cobra.Command{ Use: "pkgchk ", @@ -41,12 +41,7 @@ found under the specified directory. Failures can be baselined and thus ignored copying the failure text verbatim, pasting it into a text file then specifying that file via the optional exceptions flag. `, - Args: func(cmd *cobra.Command, args []string) error { - if err := cobra.ExactArgs(1)(cmd, args); err != nil { - return err - } - return nil - }, + Args: cobra.ExactArgs(1), RunE: func(cmd *cobra.Command, args []string) error { cmd.SilenceUsage = true return theCommand(args) @@ -54,7 +49,7 @@ file via the optional exceptions flag. } func init() { - rootCmd.PersistentFlags().StringVarP(&excepFileFlag, "exceptions", "e", "", "text file containing the list of exceptions") + rootCmd.PersistentFlags().StringVarP(&exceptFileFlag, "exceptions", "e", "", "text file containing the list of exceptions") } // Execute executes the specified command. @@ -65,26 +60,17 @@ func Execute() { } func theCommand(args []string) error { - rootDir := args[0] - if !filepath.IsAbs(rootDir) { - asAbs, err := filepath.Abs(rootDir) - if err != nil { - return errors.Wrap(err, "failed to get absolute path") - } - rootDir = asAbs + rootDir, err := filepath.Abs(args[0]) + if err != nil { + return errors.Wrap(err, "failed to get absolute path") } - pkgs, err := getPkgs(rootDir) if err != nil { return errors.Wrap(err, "failed to get packages") } - - var exceptions []string - if excepFileFlag != "" { - exceptions, err = loadExceptions(excepFileFlag) - if err != nil { - return errors.Wrap(err, "failed to load exceptions") - } + exceptions, err := loadExceptions(exceptFileFlag) + if err != nil { + return errors.Wrap(err, "failed to load exceptions") } verifiers := getVerifiers() count := 0 @@ -96,12 +82,10 @@ func theCommand(args []string) error { } } } - - var res error if count > 0 { - res = fmt.Errorf("found %d errors", count) + return fmt.Errorf("found %d errors", count) } - return res + return nil } func contains(items []string, item string) bool { @@ -116,8 +100,11 @@ func contains(items []string, item string) bool { return false } -func loadExceptions(excepFile string) ([]string, error) { - f, err := os.Open(excepFile) +func loadExceptions(exceptFile string) ([]string, error) { + if exceptFile == "" { + return nil, nil + } + f, err := os.Open(exceptFile) if err != nil { return nil, err } @@ -150,7 +137,7 @@ func (p pkg) isARMPkg() bool { // walks the directory hierarchy from the specified root returning a slice of all the packages found func getPkgs(rootDir string) ([]pkg, error) { - pkgs := []pkg{} + pkgs := make([]pkg, 0) err := filepath.Walk(rootDir, func(path string, info os.FileInfo, err error) error { if err != nil { return err @@ -214,19 +201,30 @@ func getVerifiers() []verifier { return []verifier{ verifyPkgMatchesDir, verifyLowerCase, - verifyDirectorySturcture, + verifyDirectoryStructure, } } // ensures that the leaf directory name matches the package name +// new to modules: if the last leaf is version suffix, find its parent as leaf folder func verifyPkgMatchesDir(p pkg) error { - leaf := p.d[strings.LastIndex(p.d, "/")+1:] - if strings.Compare(leaf, p.p.Name) != 0 { + leaf := findPackageFolderInPath(p.d) + if !strings.EqualFold(leaf, p.p.Name) { return fmt.Errorf("leaf directory of '%s' doesn't match package name '%s'", p.d, p.p.Name) } return nil } +func findPackageFolderInPath(path string) string { + regex := regexp.MustCompile(`/v\d+$`) + if regex.MatchString(path) { + // folder path ends with version suffix + path = path[:strings.LastIndex(path, "/")] + } + result := path[strings.LastIndex(path, "/")+1:] + return result +} + // ensures that there are no upper-case letters in a package's directory func verifyLowerCase(p pkg) error { // walk the package directory looking for upper-case characters @@ -242,12 +240,13 @@ func verifyLowerCase(p pkg) error { } // ensures that the package's directory hierarchy is properly formed -func verifyDirectorySturcture(p pkg) error { +func verifyDirectoryStructure(p pkg) error { // for ARM the package directory structure is highly deterministic: // /redis/mgmt/2015-08-01/redis // /resources/mgmt/2017-06-01-preview/policy // /preview/signalr/mgmt/2018-03-01-preview/signalr // /preview/security/mgmt/v2.0/security (version scheme for composite packages) + // /network/mgmt/2019-10-01/network/v2 (new with modules) if !p.isARMPkg() { return nil } @@ -255,9 +254,10 @@ func verifyDirectorySturcture(p pkg) error { `^(?:/preview)?`, `[a-z0-9\-]+`, `mgmt`, - `(?:\d{4}-\d{2}-\d{2}(?:-preview)?)|(?:v\d{1,2}\.\d{1,2})`, + `((?:\d{4}-\d{2}-\d{2}(?:-preview)?)|(?:v\d{1,2}\.\d{1,2}))`, `[a-z0-9]+`, }, "/") + regexStr = regexStr + `(/v\d+)?$` regex := regexp.MustCompile(regexStr) if !regex.MatchString(p.d) { return fmt.Errorf("bad directory structure '%s'", p.d) diff --git a/tools/pkgchk/cmd/root_test.go b/tools/pkgchk/cmd/root_test.go new file mode 100644 index 000000000000..6dc4eacb5383 --- /dev/null +++ b/tools/pkgchk/cmd/root_test.go @@ -0,0 +1,92 @@ +// Copyright 2018 Microsoft Corporation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package cmd + +import ( + "path/filepath" + "strings" + "testing" +) + +const ( + testRoot = "../../testpkgs" +) + +var ( + expected = map[string]string{ + "/scenrioa/foo": "foo", + "/scenriob/foo": "foo", + "/scenriob/foo/v2": "foo", + "/scenrioc/mgmt/2019-10-11/foo": "foo", + "/scenriod/mgmt/2019-10-11/foo": "foo", + "/scenriod/mgmt/2019-10-11/foo/v2": "foo", + "/scenrioe/mgmt/2019-10-11/foo": "foo", + "/scenrioe/mgmt/2019-10-11/foo/v2": "foo", + "/scenrioe/mgmt/2019-10-11/foo/v3": "foo", + } +) + +func Test_getPkgs(t *testing.T) { + rootDir, err := filepath.Abs(testRoot) + if err != nil { + t.Fatalf("failed to get absolute path: %+v", err) + } + pkgs, err := getPkgs(rootDir) + if err != nil { + t.Fatalf("failed to get packages: %+v", err) + } + if len(pkgs) != len(expected) { + t.Fatalf("expected %d packages, but got %d", len(expected), len(pkgs)) + } + for _, pkg := range pkgs { + if pkgName, ok := expected[pkg.d]; !ok { + t.Fatalf("got pkg path '%s', but not found in expected", pkg.d) + } else if !strings.EqualFold(pkgName, pkg.p.Name) { + t.Fatalf("expected package of '%s' in path '%s', but got '%s'", pkgName, pkg.d, pkg.p.Name) + } + } +} + +func Test_verifyDirectoryStructure(t *testing.T) { + rootDir, err := filepath.Abs(testRoot) + if err != nil { + t.Fatalf("failed to get absolute path: %+v", err) + } + pkgs, err := getPkgs(rootDir) + if err != nil { + t.Fatalf("failed to get packages: %+v", err) + } + for _, pkg := range pkgs { + if err := verifyDirectoryStructure(pkg); err != nil { + t.Fatalf("failed to verify directory structure: %+v", err) + } + } +} + +func Test_verifyPkgMatchesDir(t *testing.T) { + rootDir, err := filepath.Abs(testRoot) + if err != nil { + t.Fatalf("failed to get absolute path: %+v", err) + } + pkgs, err := getPkgs(rootDir) + if err != nil { + t.Fatalf("failed to get packages: %+v", err) + } + for _, pkg := range pkgs { + if err := verifyPkgMatchesDir(pkg); err != nil { + t.Fatalf("failed to verify package directory name: %+v", err) + } + } +} diff --git a/tools/testpkgs/scenrioa/foo/client.go b/tools/testpkgs/scenrioa/foo/client.go new file mode 100644 index 000000000000..3383e4936acd --- /dev/null +++ b/tools/testpkgs/scenrioa/foo/client.go @@ -0,0 +1,29 @@ +package foo + +import "github.com/Azure/go-autorest/autorest" + +const ( + // DefaultBaseURI is the default URI used for the service Network + DefaultBaseURI = "https://management.azure.com" +) + +// BaseClient is the base client for Network. +type BaseClient struct { + autorest.Client + BaseURI string + SubscriptionID string +} + +// New creates an instance of the BaseClient client. +func New(subscriptionID string) BaseClient { + return NewWithBaseURI(DefaultBaseURI, subscriptionID) +} + +// NewWithBaseURI creates an instance of the BaseClient client. +func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient { + return BaseClient{ + Client: autorest.NewClientWithUserAgent(UserAgent()), + BaseURI: baseURI, + SubscriptionID: subscriptionID, + } +} diff --git a/tools/testpkgs/scenrioa/foo/fooapi/interfaces.go b/tools/testpkgs/scenrioa/foo/fooapi/interfaces.go new file mode 100644 index 000000000000..979eaa56028c --- /dev/null +++ b/tools/testpkgs/scenrioa/foo/fooapi/interfaces.go @@ -0,0 +1,11 @@ +package fooapi + +import ( + "context" + "github.com/Azure/azure-sdk-for-go/tools/testpkgs/scenrioa/foo" +) + +// GatewaysClientAPI ... +type GatewaysClientAPI interface { + CreateOrUpdate(ctx context.Context, resourceGroupName string, gatewayName string, parameters foo.Gateway) (result foo.Gateway, err error) +} diff --git a/tools/testpkgs/scenrioa/foo/gateways.go b/tools/testpkgs/scenrioa/foo/gateways.go new file mode 100644 index 000000000000..0f4bb465babf --- /dev/null +++ b/tools/testpkgs/scenrioa/foo/gateways.go @@ -0,0 +1,16 @@ +package foo + +// GatewaysClient ... +type GatewaysClient struct { + BaseClient +} + +// NewGatewaysClient ... +func NewGatewaysClient(subscriptionID string) GatewaysClient { + return NewGatewaysClientWithBaseURI(DefaultBaseURI, subscriptionID) +} + +// NewGatewaysClientWithBaseURI ... +func NewGatewaysClientWithBaseURI(baseURI string, subscriptionID string) GatewaysClient { + return GatewaysClient{NewWithBaseURI(baseURI, subscriptionID)} +} diff --git a/tools/testpkgs/scenrioa/foo/go.mod b/tools/testpkgs/scenrioa/foo/go.mod new file mode 100644 index 000000000000..cd72ef5610b5 --- /dev/null +++ b/tools/testpkgs/scenrioa/foo/go.mod @@ -0,0 +1,3 @@ +module github.com/Azure/azure-sdk-for-go/tools/testpkgs/scenarioa/foo + +go 1.12 diff --git a/tools/testpkgs/scenrioa/foo/model.go b/tools/testpkgs/scenrioa/foo/model.go new file mode 100644 index 000000000000..0cb1eb592bb9 --- /dev/null +++ b/tools/testpkgs/scenrioa/foo/model.go @@ -0,0 +1,12 @@ +package foo + +import "github.com/Azure/go-autorest/autorest" + +// Gateway ... +type Gateway struct { + autorest.Response `json:"-"` + // Field1 ... + Field1 *string + // Field2 ... + Field2 *int +} diff --git a/tools/testpkgs/scenrioa/foo/version.go b/tools/testpkgs/scenrioa/foo/version.go new file mode 100644 index 000000000000..a2201e008c96 --- /dev/null +++ b/tools/testpkgs/scenrioa/foo/version.go @@ -0,0 +1,28 @@ +package foo + +// Copyright (c) Microsoft and contributors. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +// UserAgent returns the UserAgent string to use when sending http.Requests. +func UserAgent() string { + return "Azure-SDK-For-Go/1.0.0 foo/2019-04-01" +} + +// Version returns the semantic version (see http://semver.org) of the client. +func Version() string { + return "1.0.0" +} diff --git a/tools/testpkgs/scenriob/foo/client.go b/tools/testpkgs/scenriob/foo/client.go new file mode 100644 index 000000000000..3383e4936acd --- /dev/null +++ b/tools/testpkgs/scenriob/foo/client.go @@ -0,0 +1,29 @@ +package foo + +import "github.com/Azure/go-autorest/autorest" + +const ( + // DefaultBaseURI is the default URI used for the service Network + DefaultBaseURI = "https://management.azure.com" +) + +// BaseClient is the base client for Network. +type BaseClient struct { + autorest.Client + BaseURI string + SubscriptionID string +} + +// New creates an instance of the BaseClient client. +func New(subscriptionID string) BaseClient { + return NewWithBaseURI(DefaultBaseURI, subscriptionID) +} + +// NewWithBaseURI creates an instance of the BaseClient client. +func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient { + return BaseClient{ + Client: autorest.NewClientWithUserAgent(UserAgent()), + BaseURI: baseURI, + SubscriptionID: subscriptionID, + } +} diff --git a/tools/testpkgs/scenriob/foo/fooapi/interfaces.go b/tools/testpkgs/scenriob/foo/fooapi/interfaces.go new file mode 100644 index 000000000000..979eaa56028c --- /dev/null +++ b/tools/testpkgs/scenriob/foo/fooapi/interfaces.go @@ -0,0 +1,11 @@ +package fooapi + +import ( + "context" + "github.com/Azure/azure-sdk-for-go/tools/testpkgs/scenrioa/foo" +) + +// GatewaysClientAPI ... +type GatewaysClientAPI interface { + CreateOrUpdate(ctx context.Context, resourceGroupName string, gatewayName string, parameters foo.Gateway) (result foo.Gateway, err error) +} diff --git a/tools/testpkgs/scenriob/foo/gateways.go b/tools/testpkgs/scenriob/foo/gateways.go new file mode 100644 index 000000000000..0f4bb465babf --- /dev/null +++ b/tools/testpkgs/scenriob/foo/gateways.go @@ -0,0 +1,16 @@ +package foo + +// GatewaysClient ... +type GatewaysClient struct { + BaseClient +} + +// NewGatewaysClient ... +func NewGatewaysClient(subscriptionID string) GatewaysClient { + return NewGatewaysClientWithBaseURI(DefaultBaseURI, subscriptionID) +} + +// NewGatewaysClientWithBaseURI ... +func NewGatewaysClientWithBaseURI(baseURI string, subscriptionID string) GatewaysClient { + return GatewaysClient{NewWithBaseURI(baseURI, subscriptionID)} +} diff --git a/tools/testpkgs/scenriob/foo/go.mod b/tools/testpkgs/scenriob/foo/go.mod new file mode 100644 index 000000000000..cd72ef5610b5 --- /dev/null +++ b/tools/testpkgs/scenriob/foo/go.mod @@ -0,0 +1,3 @@ +module github.com/Azure/azure-sdk-for-go/tools/testpkgs/scenarioa/foo + +go 1.12 diff --git a/tools/testpkgs/scenriob/foo/model.go b/tools/testpkgs/scenriob/foo/model.go new file mode 100644 index 000000000000..0cb1eb592bb9 --- /dev/null +++ b/tools/testpkgs/scenriob/foo/model.go @@ -0,0 +1,12 @@ +package foo + +import "github.com/Azure/go-autorest/autorest" + +// Gateway ... +type Gateway struct { + autorest.Response `json:"-"` + // Field1 ... + Field1 *string + // Field2 ... + Field2 *int +} diff --git a/tools/testpkgs/scenriob/foo/v2/client.go b/tools/testpkgs/scenriob/foo/v2/client.go new file mode 100644 index 000000000000..3383e4936acd --- /dev/null +++ b/tools/testpkgs/scenriob/foo/v2/client.go @@ -0,0 +1,29 @@ +package foo + +import "github.com/Azure/go-autorest/autorest" + +const ( + // DefaultBaseURI is the default URI used for the service Network + DefaultBaseURI = "https://management.azure.com" +) + +// BaseClient is the base client for Network. +type BaseClient struct { + autorest.Client + BaseURI string + SubscriptionID string +} + +// New creates an instance of the BaseClient client. +func New(subscriptionID string) BaseClient { + return NewWithBaseURI(DefaultBaseURI, subscriptionID) +} + +// NewWithBaseURI creates an instance of the BaseClient client. +func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient { + return BaseClient{ + Client: autorest.NewClientWithUserAgent(UserAgent()), + BaseURI: baseURI, + SubscriptionID: subscriptionID, + } +} diff --git a/tools/testpkgs/scenriob/foo/v2/fooapi/interfaces.go b/tools/testpkgs/scenriob/foo/v2/fooapi/interfaces.go new file mode 100644 index 000000000000..979eaa56028c --- /dev/null +++ b/tools/testpkgs/scenriob/foo/v2/fooapi/interfaces.go @@ -0,0 +1,11 @@ +package fooapi + +import ( + "context" + "github.com/Azure/azure-sdk-for-go/tools/testpkgs/scenrioa/foo" +) + +// GatewaysClientAPI ... +type GatewaysClientAPI interface { + CreateOrUpdate(ctx context.Context, resourceGroupName string, gatewayName string, parameters foo.Gateway) (result foo.Gateway, err error) +} diff --git a/tools/testpkgs/scenriob/foo/v2/gateways.go b/tools/testpkgs/scenriob/foo/v2/gateways.go new file mode 100644 index 000000000000..0f4bb465babf --- /dev/null +++ b/tools/testpkgs/scenriob/foo/v2/gateways.go @@ -0,0 +1,16 @@ +package foo + +// GatewaysClient ... +type GatewaysClient struct { + BaseClient +} + +// NewGatewaysClient ... +func NewGatewaysClient(subscriptionID string) GatewaysClient { + return NewGatewaysClientWithBaseURI(DefaultBaseURI, subscriptionID) +} + +// NewGatewaysClientWithBaseURI ... +func NewGatewaysClientWithBaseURI(baseURI string, subscriptionID string) GatewaysClient { + return GatewaysClient{NewWithBaseURI(baseURI, subscriptionID)} +} diff --git a/tools/testpkgs/scenriob/foo/v2/go.mod b/tools/testpkgs/scenriob/foo/v2/go.mod new file mode 100644 index 000000000000..e5bbbac12d18 --- /dev/null +++ b/tools/testpkgs/scenriob/foo/v2/go.mod @@ -0,0 +1,3 @@ +module github.com/Azure/azure-sdk-for-go/tools/testpkgs/scenarioa/foo/v2 + +go 1.12 diff --git a/tools/testpkgs/scenriob/foo/v2/model.go b/tools/testpkgs/scenriob/foo/v2/model.go new file mode 100644 index 000000000000..2ce42bea6cd7 --- /dev/null +++ b/tools/testpkgs/scenriob/foo/v2/model.go @@ -0,0 +1,12 @@ +package foo + +import "github.com/Azure/go-autorest/autorest" + +// Gateway ... +type Gateway struct { + autorest.Response `json:"-"` + // Field1 ... + Field1 *string + // Field2 ... + Field2 *string +} diff --git a/tools/testpkgs/scenriob/foo/v2/version.go b/tools/testpkgs/scenriob/foo/v2/version.go new file mode 100644 index 000000000000..5fccf0de3cb4 --- /dev/null +++ b/tools/testpkgs/scenriob/foo/v2/version.go @@ -0,0 +1,28 @@ +package foo + +// Copyright (c) Microsoft and contributors. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +// UserAgent returns the UserAgent string to use when sending http.Requests. +func UserAgent() string { + return "Azure-SDK-For-Go/2.0.0 foo/2019-04-01" +} + +// Version returns the semantic version (see http://semver.org) of the client. +func Version() string { + return "2.0.0" +} diff --git a/tools/testpkgs/scenriob/foo/version.go b/tools/testpkgs/scenriob/foo/version.go new file mode 100644 index 000000000000..a2201e008c96 --- /dev/null +++ b/tools/testpkgs/scenriob/foo/version.go @@ -0,0 +1,28 @@ +package foo + +// Copyright (c) Microsoft and contributors. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +// UserAgent returns the UserAgent string to use when sending http.Requests. +func UserAgent() string { + return "Azure-SDK-For-Go/1.0.0 foo/2019-04-01" +} + +// Version returns the semantic version (see http://semver.org) of the client. +func Version() string { + return "1.0.0" +} diff --git a/tools/testpkgs/scenrioc/mgmt/2019-10-11/foo/client.go b/tools/testpkgs/scenrioc/mgmt/2019-10-11/foo/client.go new file mode 100644 index 000000000000..3383e4936acd --- /dev/null +++ b/tools/testpkgs/scenrioc/mgmt/2019-10-11/foo/client.go @@ -0,0 +1,29 @@ +package foo + +import "github.com/Azure/go-autorest/autorest" + +const ( + // DefaultBaseURI is the default URI used for the service Network + DefaultBaseURI = "https://management.azure.com" +) + +// BaseClient is the base client for Network. +type BaseClient struct { + autorest.Client + BaseURI string + SubscriptionID string +} + +// New creates an instance of the BaseClient client. +func New(subscriptionID string) BaseClient { + return NewWithBaseURI(DefaultBaseURI, subscriptionID) +} + +// NewWithBaseURI creates an instance of the BaseClient client. +func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient { + return BaseClient{ + Client: autorest.NewClientWithUserAgent(UserAgent()), + BaseURI: baseURI, + SubscriptionID: subscriptionID, + } +} diff --git a/tools/testpkgs/scenrioc/mgmt/2019-10-11/foo/fooapi/interfaces.go b/tools/testpkgs/scenrioc/mgmt/2019-10-11/foo/fooapi/interfaces.go new file mode 100644 index 000000000000..979eaa56028c --- /dev/null +++ b/tools/testpkgs/scenrioc/mgmt/2019-10-11/foo/fooapi/interfaces.go @@ -0,0 +1,11 @@ +package fooapi + +import ( + "context" + "github.com/Azure/azure-sdk-for-go/tools/testpkgs/scenrioa/foo" +) + +// GatewaysClientAPI ... +type GatewaysClientAPI interface { + CreateOrUpdate(ctx context.Context, resourceGroupName string, gatewayName string, parameters foo.Gateway) (result foo.Gateway, err error) +} diff --git a/tools/testpkgs/scenrioc/mgmt/2019-10-11/foo/gateways.go b/tools/testpkgs/scenrioc/mgmt/2019-10-11/foo/gateways.go new file mode 100644 index 000000000000..0f4bb465babf --- /dev/null +++ b/tools/testpkgs/scenrioc/mgmt/2019-10-11/foo/gateways.go @@ -0,0 +1,16 @@ +package foo + +// GatewaysClient ... +type GatewaysClient struct { + BaseClient +} + +// NewGatewaysClient ... +func NewGatewaysClient(subscriptionID string) GatewaysClient { + return NewGatewaysClientWithBaseURI(DefaultBaseURI, subscriptionID) +} + +// NewGatewaysClientWithBaseURI ... +func NewGatewaysClientWithBaseURI(baseURI string, subscriptionID string) GatewaysClient { + return GatewaysClient{NewWithBaseURI(baseURI, subscriptionID)} +} diff --git a/tools/testpkgs/scenrioc/mgmt/2019-10-11/foo/go.mod b/tools/testpkgs/scenrioc/mgmt/2019-10-11/foo/go.mod new file mode 100644 index 000000000000..cd72ef5610b5 --- /dev/null +++ b/tools/testpkgs/scenrioc/mgmt/2019-10-11/foo/go.mod @@ -0,0 +1,3 @@ +module github.com/Azure/azure-sdk-for-go/tools/testpkgs/scenarioa/foo + +go 1.12 diff --git a/tools/testpkgs/scenrioc/mgmt/2019-10-11/foo/model.go b/tools/testpkgs/scenrioc/mgmt/2019-10-11/foo/model.go new file mode 100644 index 000000000000..0cb1eb592bb9 --- /dev/null +++ b/tools/testpkgs/scenrioc/mgmt/2019-10-11/foo/model.go @@ -0,0 +1,12 @@ +package foo + +import "github.com/Azure/go-autorest/autorest" + +// Gateway ... +type Gateway struct { + autorest.Response `json:"-"` + // Field1 ... + Field1 *string + // Field2 ... + Field2 *int +} diff --git a/tools/testpkgs/scenrioc/mgmt/2019-10-11/foo/version.go b/tools/testpkgs/scenrioc/mgmt/2019-10-11/foo/version.go new file mode 100644 index 000000000000..a2201e008c96 --- /dev/null +++ b/tools/testpkgs/scenrioc/mgmt/2019-10-11/foo/version.go @@ -0,0 +1,28 @@ +package foo + +// Copyright (c) Microsoft and contributors. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +// UserAgent returns the UserAgent string to use when sending http.Requests. +func UserAgent() string { + return "Azure-SDK-For-Go/1.0.0 foo/2019-04-01" +} + +// Version returns the semantic version (see http://semver.org) of the client. +func Version() string { + return "1.0.0" +} diff --git a/tools/testpkgs/scenriod/mgmt/2019-10-11/foo/client.go b/tools/testpkgs/scenriod/mgmt/2019-10-11/foo/client.go new file mode 100644 index 000000000000..3383e4936acd --- /dev/null +++ b/tools/testpkgs/scenriod/mgmt/2019-10-11/foo/client.go @@ -0,0 +1,29 @@ +package foo + +import "github.com/Azure/go-autorest/autorest" + +const ( + // DefaultBaseURI is the default URI used for the service Network + DefaultBaseURI = "https://management.azure.com" +) + +// BaseClient is the base client for Network. +type BaseClient struct { + autorest.Client + BaseURI string + SubscriptionID string +} + +// New creates an instance of the BaseClient client. +func New(subscriptionID string) BaseClient { + return NewWithBaseURI(DefaultBaseURI, subscriptionID) +} + +// NewWithBaseURI creates an instance of the BaseClient client. +func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient { + return BaseClient{ + Client: autorest.NewClientWithUserAgent(UserAgent()), + BaseURI: baseURI, + SubscriptionID: subscriptionID, + } +} diff --git a/tools/testpkgs/scenriod/mgmt/2019-10-11/foo/fooapi/interfaces.go b/tools/testpkgs/scenriod/mgmt/2019-10-11/foo/fooapi/interfaces.go new file mode 100644 index 000000000000..979eaa56028c --- /dev/null +++ b/tools/testpkgs/scenriod/mgmt/2019-10-11/foo/fooapi/interfaces.go @@ -0,0 +1,11 @@ +package fooapi + +import ( + "context" + "github.com/Azure/azure-sdk-for-go/tools/testpkgs/scenrioa/foo" +) + +// GatewaysClientAPI ... +type GatewaysClientAPI interface { + CreateOrUpdate(ctx context.Context, resourceGroupName string, gatewayName string, parameters foo.Gateway) (result foo.Gateway, err error) +} diff --git a/tools/testpkgs/scenriod/mgmt/2019-10-11/foo/gateways.go b/tools/testpkgs/scenriod/mgmt/2019-10-11/foo/gateways.go new file mode 100644 index 000000000000..0f4bb465babf --- /dev/null +++ b/tools/testpkgs/scenriod/mgmt/2019-10-11/foo/gateways.go @@ -0,0 +1,16 @@ +package foo + +// GatewaysClient ... +type GatewaysClient struct { + BaseClient +} + +// NewGatewaysClient ... +func NewGatewaysClient(subscriptionID string) GatewaysClient { + return NewGatewaysClientWithBaseURI(DefaultBaseURI, subscriptionID) +} + +// NewGatewaysClientWithBaseURI ... +func NewGatewaysClientWithBaseURI(baseURI string, subscriptionID string) GatewaysClient { + return GatewaysClient{NewWithBaseURI(baseURI, subscriptionID)} +} diff --git a/tools/testpkgs/scenriod/mgmt/2019-10-11/foo/go.mod b/tools/testpkgs/scenriod/mgmt/2019-10-11/foo/go.mod new file mode 100644 index 000000000000..cd72ef5610b5 --- /dev/null +++ b/tools/testpkgs/scenriod/mgmt/2019-10-11/foo/go.mod @@ -0,0 +1,3 @@ +module github.com/Azure/azure-sdk-for-go/tools/testpkgs/scenarioa/foo + +go 1.12 diff --git a/tools/testpkgs/scenriod/mgmt/2019-10-11/foo/model.go b/tools/testpkgs/scenriod/mgmt/2019-10-11/foo/model.go new file mode 100644 index 000000000000..0cb1eb592bb9 --- /dev/null +++ b/tools/testpkgs/scenriod/mgmt/2019-10-11/foo/model.go @@ -0,0 +1,12 @@ +package foo + +import "github.com/Azure/go-autorest/autorest" + +// Gateway ... +type Gateway struct { + autorest.Response `json:"-"` + // Field1 ... + Field1 *string + // Field2 ... + Field2 *int +} diff --git a/tools/testpkgs/scenriod/mgmt/2019-10-11/foo/v2/client.go b/tools/testpkgs/scenriod/mgmt/2019-10-11/foo/v2/client.go new file mode 100644 index 000000000000..3383e4936acd --- /dev/null +++ b/tools/testpkgs/scenriod/mgmt/2019-10-11/foo/v2/client.go @@ -0,0 +1,29 @@ +package foo + +import "github.com/Azure/go-autorest/autorest" + +const ( + // DefaultBaseURI is the default URI used for the service Network + DefaultBaseURI = "https://management.azure.com" +) + +// BaseClient is the base client for Network. +type BaseClient struct { + autorest.Client + BaseURI string + SubscriptionID string +} + +// New creates an instance of the BaseClient client. +func New(subscriptionID string) BaseClient { + return NewWithBaseURI(DefaultBaseURI, subscriptionID) +} + +// NewWithBaseURI creates an instance of the BaseClient client. +func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient { + return BaseClient{ + Client: autorest.NewClientWithUserAgent(UserAgent()), + BaseURI: baseURI, + SubscriptionID: subscriptionID, + } +} diff --git a/tools/testpkgs/scenriod/mgmt/2019-10-11/foo/v2/fooapi/interfaces.go b/tools/testpkgs/scenriod/mgmt/2019-10-11/foo/v2/fooapi/interfaces.go new file mode 100644 index 000000000000..979eaa56028c --- /dev/null +++ b/tools/testpkgs/scenriod/mgmt/2019-10-11/foo/v2/fooapi/interfaces.go @@ -0,0 +1,11 @@ +package fooapi + +import ( + "context" + "github.com/Azure/azure-sdk-for-go/tools/testpkgs/scenrioa/foo" +) + +// GatewaysClientAPI ... +type GatewaysClientAPI interface { + CreateOrUpdate(ctx context.Context, resourceGroupName string, gatewayName string, parameters foo.Gateway) (result foo.Gateway, err error) +} diff --git a/tools/testpkgs/scenriod/mgmt/2019-10-11/foo/v2/gateways.go b/tools/testpkgs/scenriod/mgmt/2019-10-11/foo/v2/gateways.go new file mode 100644 index 000000000000..0f4bb465babf --- /dev/null +++ b/tools/testpkgs/scenriod/mgmt/2019-10-11/foo/v2/gateways.go @@ -0,0 +1,16 @@ +package foo + +// GatewaysClient ... +type GatewaysClient struct { + BaseClient +} + +// NewGatewaysClient ... +func NewGatewaysClient(subscriptionID string) GatewaysClient { + return NewGatewaysClientWithBaseURI(DefaultBaseURI, subscriptionID) +} + +// NewGatewaysClientWithBaseURI ... +func NewGatewaysClientWithBaseURI(baseURI string, subscriptionID string) GatewaysClient { + return GatewaysClient{NewWithBaseURI(baseURI, subscriptionID)} +} diff --git a/tools/testpkgs/scenriod/mgmt/2019-10-11/foo/v2/go.mod b/tools/testpkgs/scenriod/mgmt/2019-10-11/foo/v2/go.mod new file mode 100644 index 000000000000..e5bbbac12d18 --- /dev/null +++ b/tools/testpkgs/scenriod/mgmt/2019-10-11/foo/v2/go.mod @@ -0,0 +1,3 @@ +module github.com/Azure/azure-sdk-for-go/tools/testpkgs/scenarioa/foo/v2 + +go 1.12 diff --git a/tools/testpkgs/scenriod/mgmt/2019-10-11/foo/v2/model.go b/tools/testpkgs/scenriod/mgmt/2019-10-11/foo/v2/model.go new file mode 100644 index 000000000000..2ce42bea6cd7 --- /dev/null +++ b/tools/testpkgs/scenriod/mgmt/2019-10-11/foo/v2/model.go @@ -0,0 +1,12 @@ +package foo + +import "github.com/Azure/go-autorest/autorest" + +// Gateway ... +type Gateway struct { + autorest.Response `json:"-"` + // Field1 ... + Field1 *string + // Field2 ... + Field2 *string +} diff --git a/tools/testpkgs/scenriod/mgmt/2019-10-11/foo/v2/version.go b/tools/testpkgs/scenriod/mgmt/2019-10-11/foo/v2/version.go new file mode 100644 index 000000000000..5fccf0de3cb4 --- /dev/null +++ b/tools/testpkgs/scenriod/mgmt/2019-10-11/foo/v2/version.go @@ -0,0 +1,28 @@ +package foo + +// Copyright (c) Microsoft and contributors. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +// UserAgent returns the UserAgent string to use when sending http.Requests. +func UserAgent() string { + return "Azure-SDK-For-Go/2.0.0 foo/2019-04-01" +} + +// Version returns the semantic version (see http://semver.org) of the client. +func Version() string { + return "2.0.0" +} diff --git a/tools/testpkgs/scenriod/mgmt/2019-10-11/foo/version.go b/tools/testpkgs/scenriod/mgmt/2019-10-11/foo/version.go new file mode 100644 index 000000000000..a2201e008c96 --- /dev/null +++ b/tools/testpkgs/scenriod/mgmt/2019-10-11/foo/version.go @@ -0,0 +1,28 @@ +package foo + +// Copyright (c) Microsoft and contributors. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +// UserAgent returns the UserAgent string to use when sending http.Requests. +func UserAgent() string { + return "Azure-SDK-For-Go/1.0.0 foo/2019-04-01" +} + +// Version returns the semantic version (see http://semver.org) of the client. +func Version() string { + return "1.0.0" +} diff --git a/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/client.go b/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/client.go new file mode 100644 index 000000000000..3383e4936acd --- /dev/null +++ b/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/client.go @@ -0,0 +1,29 @@ +package foo + +import "github.com/Azure/go-autorest/autorest" + +const ( + // DefaultBaseURI is the default URI used for the service Network + DefaultBaseURI = "https://management.azure.com" +) + +// BaseClient is the base client for Network. +type BaseClient struct { + autorest.Client + BaseURI string + SubscriptionID string +} + +// New creates an instance of the BaseClient client. +func New(subscriptionID string) BaseClient { + return NewWithBaseURI(DefaultBaseURI, subscriptionID) +} + +// NewWithBaseURI creates an instance of the BaseClient client. +func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient { + return BaseClient{ + Client: autorest.NewClientWithUserAgent(UserAgent()), + BaseURI: baseURI, + SubscriptionID: subscriptionID, + } +} diff --git a/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/fooapi/interfaces.go b/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/fooapi/interfaces.go new file mode 100644 index 000000000000..979eaa56028c --- /dev/null +++ b/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/fooapi/interfaces.go @@ -0,0 +1,11 @@ +package fooapi + +import ( + "context" + "github.com/Azure/azure-sdk-for-go/tools/testpkgs/scenrioa/foo" +) + +// GatewaysClientAPI ... +type GatewaysClientAPI interface { + CreateOrUpdate(ctx context.Context, resourceGroupName string, gatewayName string, parameters foo.Gateway) (result foo.Gateway, err error) +} diff --git a/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/gateways.go b/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/gateways.go new file mode 100644 index 000000000000..0f4bb465babf --- /dev/null +++ b/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/gateways.go @@ -0,0 +1,16 @@ +package foo + +// GatewaysClient ... +type GatewaysClient struct { + BaseClient +} + +// NewGatewaysClient ... +func NewGatewaysClient(subscriptionID string) GatewaysClient { + return NewGatewaysClientWithBaseURI(DefaultBaseURI, subscriptionID) +} + +// NewGatewaysClientWithBaseURI ... +func NewGatewaysClientWithBaseURI(baseURI string, subscriptionID string) GatewaysClient { + return GatewaysClient{NewWithBaseURI(baseURI, subscriptionID)} +} diff --git a/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/go.mod b/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/go.mod new file mode 100644 index 000000000000..cd72ef5610b5 --- /dev/null +++ b/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/go.mod @@ -0,0 +1,3 @@ +module github.com/Azure/azure-sdk-for-go/tools/testpkgs/scenarioa/foo + +go 1.12 diff --git a/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/model.go b/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/model.go new file mode 100644 index 000000000000..0cb1eb592bb9 --- /dev/null +++ b/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/model.go @@ -0,0 +1,12 @@ +package foo + +import "github.com/Azure/go-autorest/autorest" + +// Gateway ... +type Gateway struct { + autorest.Response `json:"-"` + // Field1 ... + Field1 *string + // Field2 ... + Field2 *int +} diff --git a/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v2/client.go b/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v2/client.go new file mode 100644 index 000000000000..3383e4936acd --- /dev/null +++ b/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v2/client.go @@ -0,0 +1,29 @@ +package foo + +import "github.com/Azure/go-autorest/autorest" + +const ( + // DefaultBaseURI is the default URI used for the service Network + DefaultBaseURI = "https://management.azure.com" +) + +// BaseClient is the base client for Network. +type BaseClient struct { + autorest.Client + BaseURI string + SubscriptionID string +} + +// New creates an instance of the BaseClient client. +func New(subscriptionID string) BaseClient { + return NewWithBaseURI(DefaultBaseURI, subscriptionID) +} + +// NewWithBaseURI creates an instance of the BaseClient client. +func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient { + return BaseClient{ + Client: autorest.NewClientWithUserAgent(UserAgent()), + BaseURI: baseURI, + SubscriptionID: subscriptionID, + } +} diff --git a/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v2/fooapi/interfaces.go b/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v2/fooapi/interfaces.go new file mode 100644 index 000000000000..979eaa56028c --- /dev/null +++ b/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v2/fooapi/interfaces.go @@ -0,0 +1,11 @@ +package fooapi + +import ( + "context" + "github.com/Azure/azure-sdk-for-go/tools/testpkgs/scenrioa/foo" +) + +// GatewaysClientAPI ... +type GatewaysClientAPI interface { + CreateOrUpdate(ctx context.Context, resourceGroupName string, gatewayName string, parameters foo.Gateway) (result foo.Gateway, err error) +} diff --git a/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v2/gateways.go b/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v2/gateways.go new file mode 100644 index 000000000000..0f4bb465babf --- /dev/null +++ b/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v2/gateways.go @@ -0,0 +1,16 @@ +package foo + +// GatewaysClient ... +type GatewaysClient struct { + BaseClient +} + +// NewGatewaysClient ... +func NewGatewaysClient(subscriptionID string) GatewaysClient { + return NewGatewaysClientWithBaseURI(DefaultBaseURI, subscriptionID) +} + +// NewGatewaysClientWithBaseURI ... +func NewGatewaysClientWithBaseURI(baseURI string, subscriptionID string) GatewaysClient { + return GatewaysClient{NewWithBaseURI(baseURI, subscriptionID)} +} diff --git a/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v2/go.mod b/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v2/go.mod new file mode 100644 index 000000000000..e5bbbac12d18 --- /dev/null +++ b/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v2/go.mod @@ -0,0 +1,3 @@ +module github.com/Azure/azure-sdk-for-go/tools/testpkgs/scenarioa/foo/v2 + +go 1.12 diff --git a/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v2/model.go b/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v2/model.go new file mode 100644 index 000000000000..2ce42bea6cd7 --- /dev/null +++ b/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v2/model.go @@ -0,0 +1,12 @@ +package foo + +import "github.com/Azure/go-autorest/autorest" + +// Gateway ... +type Gateway struct { + autorest.Response `json:"-"` + // Field1 ... + Field1 *string + // Field2 ... + Field2 *string +} diff --git a/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v2/version.go b/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v2/version.go new file mode 100644 index 000000000000..5fccf0de3cb4 --- /dev/null +++ b/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v2/version.go @@ -0,0 +1,28 @@ +package foo + +// Copyright (c) Microsoft and contributors. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +// UserAgent returns the UserAgent string to use when sending http.Requests. +func UserAgent() string { + return "Azure-SDK-For-Go/2.0.0 foo/2019-04-01" +} + +// Version returns the semantic version (see http://semver.org) of the client. +func Version() string { + return "2.0.0" +} diff --git a/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v3/client.go b/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v3/client.go new file mode 100644 index 000000000000..3383e4936acd --- /dev/null +++ b/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v3/client.go @@ -0,0 +1,29 @@ +package foo + +import "github.com/Azure/go-autorest/autorest" + +const ( + // DefaultBaseURI is the default URI used for the service Network + DefaultBaseURI = "https://management.azure.com" +) + +// BaseClient is the base client for Network. +type BaseClient struct { + autorest.Client + BaseURI string + SubscriptionID string +} + +// New creates an instance of the BaseClient client. +func New(subscriptionID string) BaseClient { + return NewWithBaseURI(DefaultBaseURI, subscriptionID) +} + +// NewWithBaseURI creates an instance of the BaseClient client. +func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient { + return BaseClient{ + Client: autorest.NewClientWithUserAgent(UserAgent()), + BaseURI: baseURI, + SubscriptionID: subscriptionID, + } +} diff --git a/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v3/fooapi/interfaces.go b/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v3/fooapi/interfaces.go new file mode 100644 index 000000000000..979eaa56028c --- /dev/null +++ b/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v3/fooapi/interfaces.go @@ -0,0 +1,11 @@ +package fooapi + +import ( + "context" + "github.com/Azure/azure-sdk-for-go/tools/testpkgs/scenrioa/foo" +) + +// GatewaysClientAPI ... +type GatewaysClientAPI interface { + CreateOrUpdate(ctx context.Context, resourceGroupName string, gatewayName string, parameters foo.Gateway) (result foo.Gateway, err error) +} diff --git a/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v3/gateways.go b/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v3/gateways.go new file mode 100644 index 000000000000..0f4bb465babf --- /dev/null +++ b/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v3/gateways.go @@ -0,0 +1,16 @@ +package foo + +// GatewaysClient ... +type GatewaysClient struct { + BaseClient +} + +// NewGatewaysClient ... +func NewGatewaysClient(subscriptionID string) GatewaysClient { + return NewGatewaysClientWithBaseURI(DefaultBaseURI, subscriptionID) +} + +// NewGatewaysClientWithBaseURI ... +func NewGatewaysClientWithBaseURI(baseURI string, subscriptionID string) GatewaysClient { + return GatewaysClient{NewWithBaseURI(baseURI, subscriptionID)} +} diff --git a/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v3/go.mod b/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v3/go.mod new file mode 100644 index 000000000000..45952d6e7ff3 --- /dev/null +++ b/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v3/go.mod @@ -0,0 +1,3 @@ +module github.com/Azure/azure-sdk-for-go/tools/testpkgs/scenarioa/foo/v3 + +go 1.12 diff --git a/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v3/model.go b/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v3/model.go new file mode 100644 index 000000000000..e760e5fe04ae --- /dev/null +++ b/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v3/model.go @@ -0,0 +1,12 @@ +package foo + +import "github.com/Azure/go-autorest/autorest" + +// Gateway ... +type Gateway struct { + autorest.Response `json:"-"` + // Field1 ... + Field1 *int + // Field2 ... + Field2 *string +} diff --git a/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v3/version.go b/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v3/version.go new file mode 100644 index 000000000000..c4e6e6562f39 --- /dev/null +++ b/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/v3/version.go @@ -0,0 +1,28 @@ +package foo + +// Copyright (c) Microsoft and contributors. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +// UserAgent returns the UserAgent string to use when sending http.Requests. +func UserAgent() string { + return "Azure-SDK-For-Go/3.0.0 foo/2019-04-01" +} + +// Version returns the semantic version (see http://semver.org) of the client. +func Version() string { + return "3.0.0" +} diff --git a/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/version.go b/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/version.go new file mode 100644 index 000000000000..a2201e008c96 --- /dev/null +++ b/tools/testpkgs/scenrioe/mgmt/2019-10-11/foo/version.go @@ -0,0 +1,28 @@ +package foo + +// Copyright (c) Microsoft and contributors. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +// UserAgent returns the UserAgent string to use when sending http.Requests. +func UserAgent() string { + return "Azure-SDK-For-Go/1.0.0 foo/2019-04-01" +} + +// Version returns the semantic version (see http://semver.org) of the client. +func Version() string { + return "1.0.0" +} diff --git a/version/version.go b/version/version.go index 9b42a2166654..b55e476d349d 100644 --- a/version/version.go +++ b/version/version.go @@ -18,4 +18,4 @@ package version // Changes may cause incorrect behavior and will be lost if the code is regenerated. // Number contains the semantic version of this SDK. -const Number = "latest" +const Number = "v38.2.0"