Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge main to this #17943

Merged
merged 42 commits into from
Feb 22, 2022
Merged

merge main to this #17943

merged 42 commits into from
Feb 22, 2022

Conversation

grizzlytheodore
Copy link
Member

MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.

Changelog

Add a changelog entry for this PR by answering the following questions:

  1. What's the purpose of the update?
    • new service onboarding
    • new API version
    • update existing version for new feature
    • update existing version to fix swagger quality issue in s360
    • Other, please clarify
  2. When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
  3. When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
  4. If updating an existing version, please select the specific language SDKs and CLIs that must be refreshed after the swagger is published.
    • SDK of .NET (need service team to ensure code readiness)
    • SDK of Python
    • SDK of Java
    • SDK of Js
    • SDK of Go
    • PowerShell
    • CLI
    • Terraform
    • No refresh required for updates in this PR

Contribution checklist:

If any further question about AME onboarding or validation tools, please view the FAQ.

ARM API Review Checklist

Applicability: ⚠️

If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

  • Change to data plane APIs
  • Adding new properties
  • All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

  • Check this box if any of the following apply to the PR so that label "WaitForARMFeedback" will be added automatically to begin ARM API Review. Failure to comply may result in delays to the manifest.

    • Adding a new service
    • Adding new API(s)
    • Adding a new API version
      -[ ] To review changes efficiently, ensure you are using OpenAPIHub to initialize the PR for adding a new version. More details, refer to the wiki.
  • Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

  • If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist

If any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.

  • Removing API(s) in a stable version
  • Removing properties in a stable version
  • Removing API version(s) in a stable version
  • Updating API in a stable or public preview version with Breaking Change Validation errors
  • Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.

Please follow the link to find more details on PR review process.

stephenbudhi-msft and others added 30 commits February 16, 2022 10:34
)

* change 200 response for PUT/PATCH

* add integer type and remove extra fields to pass model check

* add id, name, type to GET/PUT/PATCH 200 response

* run prettier

* change x-ms-long-running-operation-options
Co-authored-by: Ochi <ochisamand@microsoft.com>
* New Swagger Spec File

* New Swagger Example Spec File

* New Readme Config File

* New Azure AZ Readme Config File

* New Azure CLI Readme Config File

* New Go Language Readme Config File

* New Python Language Readme Config File

* New Typescript Language Readme Config File

* New C# Language Readme Config File

* Adding new API version 2022-01-01-preview for the new service Microsoft.App (#17135)

* Adding swagger and examples

* Fix samples

* Fix linting errors

* fix errors

* fix more errors

* prettier fixes

* Fix the VNET properties

* fix the vnet props

* Attempt to remove x-ms-identifiers

* Add x-ms-identifiers back

* Revert "Add x-ms-identifiers back"

This reverts commit 44525ab.

* Addsourcecontrolapis (#17287)

* add sourcecontrol apis

* remove space

* prettier fix

* typo

* avocado fix

* lint fix

* add replicas apis (#17501)

* Remove Dapr components from ContainerApp spec. Not breaking because the version hasn't been released yet. (#17479)

* Remove dapr components from the ContainerApp object

* Fix example

* add descriptions

* fix

* change the auto-rest parameters

* Support volume mounts for containerApp (#17530)

* add volume mounts

* add identifier

* refine volume definition

* Fix samples (#17534)

* Adding managed identity (#17569)

* Adding managed identity

* prettier fix.

* Microsof.app 2022 01 01 preview/add custom domains (#17385)

* add support for Custom domains and certificates

* add Certificates

* Ccertificate as child resource of Managed Env.

* Support default custom domain

* PUT/DELETE certificate are not long-running

* Add Custom Domain Verification Id

* domains for all revisions and adding examples

* missing examples

* one more missing example

* Examples+missing paths

* Adding missing envelope properties

* Addressing PR comments

* Removing AKV and Free cert related properties

* Prettier and semantic validation fixes

* Fixing semantic validations and examples

* More fixes

* Addressing more PR comments

* Updating examples

* fixing type

* fixing types

* Extra properties and responses

* misplaced response

* whitespace

* fix security section

* fixing ManageEnvironment securityDefinitions

* add 204 delete response

* Removing virtual IP and IP Based option

* change modelAsString

* Addressing ARM PR comments

* Removing 404 response from example

* renaming custom hostname analysis operation

* mark certificate as tracked resource

* fix sample

* Use Certificate Id instead of Certificate name

Co-authored-by: Ruslan Yakushev 🚴 <ruslany@microsoft.com>
Co-authored-by: vinisoto <vinisoto@hotmail.com>

* Add new properties for ContainerApp (#17483)

* add ephemeral storage

* add outbound ip

* add listsecrets

* fix CI

* fix example

* fix

* add identifier

* fix

* add example

* mars as secret

* Add storages operation for managedEnvironment (#17545)

* add storage

* fix

* fix typo

* Add EasyAuth configuration APIs for ContainerApp (#17492)

* Add Easy Auth Config related APIs for ContainerApp

* Use common type ProxyResource

* Update description

* update per validation

* typo fix

* fix validation error

* Update sample and description

* Update because ARM prefer string than boolean

* Add static web identity provider

* Add container probes (#17535)

* Add container probes

* minor fix

* Use execute instead of exec'd, add identifier

* remove exec from preview

* use integer instead of intorstring

* Add `internal` property under VnetConfiguration for internalOnly environments (#17656)

* Add internal property under VnetConfiguration for internalOnly environments

* Update examples

* Add Dapr Components collection APIs (#17552)

* Add daprComponents

* update readme

* Fix linting errors

* More lint fixes

* prettier fixes

* make dapr component a tracked resource

* fix the patch

* fix lint errors

* Revert "fix lint errors"

This reverts commit 045f1d9.

* Revert "fix the patch"

This reverts commit 1452110.

* Revert "make dapr component a tracked resource"

This reverts commit 239268e.

* Fix linter issues

* fix wrong fix

* fix linter

* fix the operationids (#17809)

* correct resource name (#17846)

* Add custom open id providers support (#17855)

* Add custom open id providers support

* Update description

Co-authored-by: Xingjian Wang <79332479+xwang971@users.noreply.github.com>
Co-authored-by: Zunli Hu <zuh@microsoft.com>
Co-authored-by: Vaclav Turecek <vturecek@microsoft.com>
Co-authored-by: Vini Soto <18271663+vinisoto@users.noreply.github.com>
Co-authored-by: vinisoto <vinisoto@hotmail.com>
Co-authored-by: erich-wang <eriwan@microsoft.com>
Co-authored-by: Mike Vu <mdhvu@uwaterloo.ca>
Co-authored-by: Sanchit Mehta <sanmeht@microsoft.com>
* Add aliases to 2021-04-30-preview swagger for Azure search

* add example for aliases in GetServiceStats

* prettier changes

* fix examples to use aliasName

* add discriminator to LexicalNormalizer to fix validation error

* fix validation error because of duration string

Co-authored-by: Robert Lee <robertlee@microsoft.com>
* Create readme.md

* Create post_IngestUsingDataCollectionRule.json

* Create DataCollectionRules.json
#17681)

* Initial commit for new version and new child resource type extended location

New version: 2021-08-31-preview
New child resource type: resource sync rule

* Fix lint check errors and cross version breaking changes validation issues

* Try to fix Cross-Version Breaking Changes

* Revert changes to previous stable version

* Remove "x-ms-identifiers" definition which will cause golang sdk generation error

* Address review comments, revert unnecessary changes

* Try fix breaking error

* Revert changes which fix lint error but will cause cross version breaking changes

* Fix lintdiff validation issue and also add back two updates for this version only

* Update descriptions of properties of resource sync rules.

* Update description of the resource sync rules API

* Update description of resource sync rules selector property

* Update description of matchExpressions

* Update description of targetResourceGroup

* Fix a required LintDiff check

Adding "x-ms-identifiers": [] to matchExpressionsList

* Add title to readme.typescript.md

* Update specification/extendedlocation/resource-manager/readme.typescript.md

* Revert cross version breacking changes

Co-authored-by: Wei Dong <40835867+dw511214992@users.noreply.github.com>
… DB Account API's (#17864)

* Added enableMaterializedViews property for DB account CRUD API's

* revert package-lock.json

* revert package-lock

* update examples with enableMaterializedViews property

* updated example

* trigger

* trigger

Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com>
… version preview/2021-11-01-preview (#17252)

* Adds base for updating Microsoft.SqlVirtualMachine from version preview/2017-03-01-preview to version 2021-11-01-preview

* Updates readme

* Updates API version in new specs and examples

* add 2021-11-01 swagger

* add missing files, spellcheck, add MAXDOP to custom-words

* prettier check

* fix model validation errors

* fix swagger avocado failures, SDK azure-sdk-for-net failures due to DaysOfWeek

* add system data to AvailabilityGroupListener, SqlVirtualMachineGroup, SqlVirtualMachine

* update list operation for 2021-11-01

* add ms-identifier to address lintdiff R4041

* remove x-ms-identifiers property as it is not available yet on .net sdk

* add SqlVirtualMachines_StartAssessment

* update ResourceIdentity enum from IdentityTypeWithNone to IdentityType

* update list operations json

* prettier check

* re-add ms-identifier to address lintdiff R4041
* Add Swagger spec of MICROSOFT.DASHBOARD for Public Preview

* Add sdk files

* Use ErrorResponse from common-types

* Update GrafanaResource to follow TrackedResources from common-types

* Update specification/dashboard/resource-manager/readme.typescript.md

Co-authored-by: Wei Dong <40835867+dw511214992@users.noreply.github.com>

* Update specification/dashboard/resource-manager/readme.typescript.md

Co-authored-by: Wei Dong <40835867+dw511214992@users.noreply.github.com>

* Update specification/dashboard/resource-manager/readme.csharp.md

Co-authored-by: Wei Dong <40835867+dw511214992@users.noreply.github.com>

* Remove location from PATCH

* Refer to OperationList from common types

* Fix Swagger ModelValidation error

* Remove GrafanaResourcePropertiesUpdateParameters

* Update specification/dashboard/resource-manager/readme.md

Co-authored-by: Wei Dong <40835867+dw511214992@users.noreply.github.com>

* Update readme.python.md

* Update specification/dashboard/resource-manager/readme.go.md

* Update specification/dashboard/resource-manager/readme.md

* Update readme.python.md

* Update readme.md

* Update specification/dashboard/resource-manager/readme.csharp.md

Co-authored-by: Wei Dong <40835867+dw511214992@users.noreply.github.com>
Co-authored-by: Jiefeng Chen <51037443+BigCat20196@users.noreply.github.com>
Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com>
* Put Model api for Personalizer

* Moved api to v1.1-preview.3 and renamed api from model to signedmodel

* Change api to allowed downloading signed and unsigned models.

* Updates to add new parameter for signed for Get model api

* Renamed example file reference

* Fixed errors in model validation.

* Fixed errors from prettier check.

* Changed examples to match the generated files.

* Manual updates to address breaking change issues

* Updated as per feedback from api review meeting

* Added description for Ocp-Apim-Subscription-Key

* Renamed Evaluation_Apply to Evaluations_Apply

* Reverting back the renaming operation since it was done in error.

* Add description for body parameter of model/put call

Co-authored-by: Decision Service <personalizer@microsoft.com>
* Adding x-ms-identifiers for AD Hybrid Health Service

* remove added properties

* Adding xms-identifiers for AlertsManagement

* revert changes related to files outside resource-manager

* Adding xms-ids for ApiManagement

* adding xms-ids for AzureData

* Adding xms-ids for COnfidentialLedger

* Adding xms ids for Confluent

* Adding xms-ids for CostManagement

* Adding xms ids for DataBox

* Adding xms ids for DataBricks

* fix typos

* Corrections after rebasing

* corrections after rebase

* fixing invalid format errors

* changing the format to uuid for all Ids

* prettier fix

* prettier fix 2

* reverting package files to main

* revert noisy prettifier changes

* revert some format changes in adhybrid

* reverting noisy changes

* removing adhybrid and alerts management

* remove azuredata

* remove apimanagement files from this PR
* Adding xms-ids for Compute

* porting changes to a newer gallery version
Co-authored-by: Steven Vukelich <svukel@microsoft.com>
Co-authored-by: Priyankar Gupta <priyagupta@microsoft.com>
…e CLI / PowerShell generation (#17695)

* add swagger generation code for azcli

* fiddle with ordering because the cli-extension codegen did not seem to run

* remove comment

* update readme files as in latest docs

* fix example for cli test case generation

* spec fixes for codegen

* update documentation

* fix example

* Update readme.python.md

* Update readme.md

Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com>
* Mobile Network REST API Specification

* Removed API versions 2020-06-01-preview and 2021-04-01-preview. Have only the API version 2022-01-01-preview in Public

* Addressed Swagger Avocado and Swagger SpellCheck Errors

* Addressed Parameters Order Errors

* Merge azure-rest-api-specs-pr branch ssivathas/mobilenetwork-public-api into satravi/mobilenetwork-rest-api-specs

* Removed Unreferenced JSON Files

* Added support for Static IP Addressing to PMN

* Addressed Swagger PrettierCheck Errors

* Addressed Swagger ModelValidation Errors

* change go config to track 2

* Updated the API versions in SDK README files

* Update readme.python.md

* Update readme.md

* Updated ActivationState to ConfigurationState

* Addressed XmsIdentifierValidation Errors

* Addressed DescriptionAndTitleMissing Errors

* Generic name for N2 and N3 Interface attributes to support 4G Networks

* Generic name for N6 Interface attribute to support 4G Networks

* Generic name for N6 Interface attribute to support 4G Networks

Co-authored-by: ArcturusZhang <dapzhang@microsoft.com>
Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com>
@openapi-workflow-bot
Copy link

Hi, @grizzlytheodore Thanks for your PR. I am workflow bot for review process. Here are some small tips.

  • Please ensure to do self-check against checklists in first PR comment.
  • PR assignee is the person auto-assigned and responsible for your current PR reviewing and merging.
  • For specs comparison cross API versions, Use API Specs Comparison Report Generator
  • If there is CI failure(s), to fix CI error(s) is mandatory for PR merging; or you need to provide justification in PR comment for explanation. How to fix?

  • Any feedback about review process or workflow bot, pls contact swagger and tools team. vscswagger@microsoft.com

    @openapi-workflow-bot
    Copy link

    [Call for Action] To better understand Azure service dev/test scenario, and support Azure service developer better on Swagger and REST API related tests in early phase, please help to fill in with this survey https://aka.ms/SurveyForEarlyPhase. It will take 5 to 10 minutes. If you already complete survey, please neglect this comment. Thanks.

    @openapi-pipeline-app
    Copy link

    Swagger pipeline started successfully, please wait for status update in this comment.

    1 similar comment
    @openapi-pipeline-app
    Copy link

    Swagger pipeline started successfully, please wait for status update in this comment.

    @grizzlytheodore grizzlytheodore merged commit fc96497 into feature/cplat-breakjson Feb 22, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    None yet
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.