Skip to content

Commit

Permalink
Merge Microsoft.security insights 2021 09 01 preview with main (#15766)
Browse files Browse the repository at this point in the history
* Update readme.md (#15381)

* signalr: adding the missing `Trace` value (#15455)

Fixes #14923

* Fix readme.go.md in compute RP (#14631)

* add the missing $

* remove one useless directive

* fix

* remove the hack for track 2 and add comments for reasons

* add one of the directive back to readme.go.md

* add some comment to explain this more

* fix

* [AKS] Merge dev-containerservice-Microsoft.ContainerService-2021-07-01 to master (#15370)

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

* Updates readme

* Updates API version in new specs and examples

* Modify Swagger to fix the problem of automatically generating ugly names in track 2 (#14758)

* update swagger to fix track 2 autogenerated naming issue

* fix

* update readme for sdk generation

* fix lint error

* Trigger Build

* update readme

* Improve AKS Swagger documentation (#14957)

* Improve AKS Swagger documentation

  - This change has already been merged in master
    for the 2021-05-01 API version.

* Fix up custom words

* aks: replace CloudError with ManagedClusterPodIdentityProvisioningError for AAD pod identity provisioning spec (#15033)

* fix: decouple pod identity provisioning error from cloud error

* drop extra external mark

* fix linting issue

* fix reference

* Dev containerservice microsoft.container service 2021 07 01: add SecurityProfile (#15035)

* Add SecurityProfile to ManagedClusters

* spaces

* Space

* spaces

* json formatting

* move from params to defs

* :)

* just another

* now with npm

* Descriptions update for AKS July API (#15074)

* allow disabling of runcommand (#15092)

* allow disabling of runcommand

* format error

* format with example

* change enable to disable

* Revert "allow disabling of runcommand (#15092)" (#15147)

This reverts commit ec3e241.

* [AKS] Add NATGatewayProfile to 2021-07-01 API (#15154)

* [AKS] Add NATGatewayProfile to 2021-07-01 API

* Fix linter errors

Co-authored-by: Kaiqi Zhang <[email protected]>

* Add scaleDownMode to agent pool properties (#15124)

* add scale down mode

* address comments

* fix markdown link

* update proper api version

* Resolve python markdown conflict & fix typo (#15402)

* resolve python conflict & fix typo

* resolve conflict

Co-authored-by: FumingZhang <[email protected]>
Co-authored-by: Matthew Christopher <[email protected]>
Co-authored-by: hbc <[email protected]>
Co-authored-by: Or Parnes <[email protected]>
Co-authored-by: Haitao Chen <[email protected]>
Co-authored-by: Kaiqi Zhang <[email protected]>
Co-authored-by: Marwan Ahmed <[email protected]>
Co-authored-by: Arthur Ning <[email protected]>

* removing business rules(a feature for the future) which was added by … (#15399)

* removing business rules(a feature for the future) which was added by mistake.

* fixing style issues and a typo

* Remove heaths from Search codeowners (#15477)

* Delete specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview directory (#15394)

- Removing Azure Time Series Insights Preview API from docs as we have GA API since July 2021 and preview API will be depreciated.

* [Hub Generated] add missing date-time format specifier across map clients for cleaner codegen with datetime types (#15454)

* add missing format date-time across map clients

* drop date-time format from quarter forecast date which comes with time but doesn't supply timezone info

* KeyVault - /rng response should always return a value on success (#14982)

* Make value required for RandomBytes response

* format

* Fix missing data actions in 7.2-stable, 7.3-preview (#15254)

* synapse: adding the configuration for the Go Data Plane SDK (#15263)

* AzsAdmin Compute: Fixing powershell generation errors (#15059)

* Update to use unique resource names to avoid collisions; Add SubscriptionId to ScaleUnits route

* Reverting use of common type apiversion to avoid breaking changes.

* Moving ApiVersion back to use common type

* Fix Microsoft.Insights go/terraform 'full' package (update activityLogAlerts_API.json) (#15163)

* Fix go/terraform package

* remove incompatible definitions

* Force trigger checks

* fix on go package-2021-07

* fix condition

* Microsoft.ProviderHub : Update 2021-06-01-preview (#15268)

* adding 05-preview for diff

* adding 06 preview

* Add SystemData support in ProviderHub 2021-06-01-preview version

* Tab to spaces + address comment

* fixing validation errors

* add properties back

* Fix readme

* Fix swagger

* prettier check

* Fix json

Co-authored-by: Sanjai Ganesh Jeenagiri <[email protected]>
Co-authored-by: REDMOND\lakshv <[email protected]>
Co-authored-by: shenshengkafei <[email protected]>

* add descriptions (#15487)

* sync (#15470)

* Feature/morazmiz/swagger separation fixes (#15295)

* add missing types

* change reference to resource and resourceWithEtag

* extract userInfo to common file

* .

* add composite tag

* add missing dataConnectorsCheckRequirements

* add dataConnectorsCheckRequirements to readme

* fix readme

* .

* fix errors in readme

* add missing type

* add missing types

* .

* .

* remove changes with resource, resourceWithEtag, new tag

* .

* remove object

* revert userInfo changes

* fix true

* Alias description change (#15461)

* Add isServerVersionAbove32 in CosmosDbMongoDbApi linked service (#15250)

* track2 modify redis readme.go.md (#15356)

* Update web readme and readme.python (#15488)

* Update web readme and readme.python

* Update readme

* Added defaults to EventGrid.json (#15395)

* Deprecate API (#15434)

Co-authored-by: Orel Kayam <[email protected]>

* [Maps] Update the Creator V1 API deprecation notice URL's title (#15480)

* [Maps] Add Creator v1 deprecation notice.

* [Maps] 'dataSharingLevel' is not available - remove text reference for UDI

* Add missing notices

* [Maps] Update the v1 creator service deprecation notice link

* [Maps] Update Creator v1 deprecation notice's hyperlink title.

* Add Threat Intellingence to Stable swagger (#14832)

* Add Threat Intellingence to Stable swagger

* Fix validation error for sharing parameters

* Fix validation

* Fix Validation

* Fix CloudError in ThreatIntelligence to fix linted error

* Resolve Conflict

* updating error responses, adding x-ms-long-running-operation (#15368)

* Fix S360 bugs for swagger FSPG 2020-02-14-preview API (#15459)

* added properties.minorVersion for 2020-02-14-preview API swagger and examples

* add geoRedundantBackup and earliestRestoreDate

* add geoRedundantBackup and earliestRestoreDate 2

* Updated MaintenanceWindow standbyCount logBackupStorageSku availabilityZone

* KustoPool PATCH: Change async response from 201 to 202 according to ARM RPC (#15410)

* Change PATCH async response from 201 to 202 according to ARM RPC

* Add schema

Co-authored-by: Amit Elran <[email protected]>

* Microsoft.BareMetalInfrastructure: correctly annotate read-only properties with readOnly (#15255)

* Microsoft.BareMetalInfrastructure: correctly annotate read-only properties with readOnly

* Use multi-api and namespace formats for Go SDK like hanaonazure does

* Add userAssignedIdentities property to the Identity section in 2021-05-01 and 2021-06-01-preview (#15296)

* [Synapse] - Exclude KQL Scripts APIs for August release (#15511)

* [Synapse] - split kqlScripts

* Run code style checker

* Update artifacts

* remove ksqlscriptname

Co-authored-by: Dongwei Wang <[email protected]>

* add aad authentication support (#14461)

* update endpoint to v2.1 which supports AAD

* add v2.1 changes under new folder v2.1

* CI issues

* update swagger version

* solving s360 issues in MarketplaceOrdering swagger (#15335)

* solving s360 issues in MarketplaceOrdering swagger

* Update Agreements.json

* Update Agreements.json

* Update Agreements.json

* Update Agreements.json

* Update Agreements.json

* Update Agreements.json

* Update Agreements.json

* Update CancelMarketplaceTerms.json

* Update GetAgreementMarketplaceTerms.json

* Update GetMarketplaceTerms.json

* Update SetMarketplaceTerms.json

* Update SignMarketplaceTerms.json

* Update SignMarketplaceTerms.json

* Update SetMarketplaceTerms.json

* Update GetMarketplaceTerms.json

* Update GetAgreementMarketplaceTerms.json

* Update ListMarketplaceTerms.json

* Update Agreements.json

* Update Agreements.json

* Update readme.md

* Update readme.md

* Update readme.md

* Add Key Vault Extension changes (#15176)

* Add Key Vault Extension changes

* Update compute.json

* Microsoft.IoTSecurity: 2021-09-01-preview (#15491)

* Initial Commit for Old Version

* Add new API version

* Update Operation Ids

* Update tags

* Update example names

Co-authored-by: Orel Kayam <[email protected]>

* Improve Batch Account ListOutboundNetworkDependenciesEndpoints Swagger example (#15537)

* removed un-servied top parameter (#15445)

Co-authored-by: Tim Nguyen <[email protected]>

* track2 add azure cosmos db in readme.go.md (#15551)

* track2 add azure cosmos db in readme.go.md

* fix

* Remove discriminator from ActiveConfiguration and split activeconfiguraiton APIs to config level (#15282)

* Add ResourceGuid to NetworkManager

* add list by config

* Revert "Add ResourceGuid to NetworkManager"

This reverts commit 4e07577.

* resourceGuid

* [NetworkManager] Remove discriminator from ActiveConfiguration

* revert change

* fix format

* Fix as commnets

* fix test

* Update Example

* Split current APIs

* Fix lintdiff

* fix as commnets

* [Synapse] - Update management Swagger spec config file (#15407)

* [Synapse] - Update mgmt Swagger spec config file

* Add an empty line

Co-authored-by: Dongwei Wang <[email protected]>

* Updated new Property for SparkConfig Properties in Spark Compute (#15474)

* Updated new Property for SparkConfig Properties in Spark Compute

Updated new Property for SparkConfig Properties in Spark Compute

* Updated property name

* track2 add PostgreSQL in readme.go.md (#15552)

* track2 add PostgreSQL in readme.go.md

* fix

* fix

* Updated documentation for 2021-04-01-preview version. (#15512)

Co-authored-by: Kalpesh Chavan <[email protected]>

* add outbound swagger change to synapse preview 2021-06-01 (#15549)

* [Hub Generated] Review request for description changes under maps/data-plane/Route & Search (#15429)

* Merge changes in PR:14813

* Merge changes in PR:14829

* Merge changes in PR:14965

Co-authored-by: Alan Yang <[email protected]>

* [Hub Generated] Review request for Render to add version preview/2.1 (#15411)

* render updates based on #14625

* GetAttribution response codes

* remove common error responses

* go multiapi batch should include 2.0

* fix openapi 3.0 definition of file response, keep content-type

* keep operationId between 2.0 and 2.1

* update samples and header response

* exclude 2.0 from 2.1-preview tag, refs in 2.1 params, remove used Text param

* refrain from changing 2.0 timestamp format

* remove default in tileSize

* remove redundant required: false

* bump python package version

* make sure there is no cross-client parameter references - move all shared into Common

* remove non-supported application/xml MIME

* use local apiversion param def

* Fix audience in AzureMetrics IngestMetrics (#15436)

* Fix audience in AzureMetrics metrics

* remove Go from auto codegen

Co-authored-by: Joel Hendrix <[email protected]>

* Add TAv3 skills to latest GA swagger spec (#15536)

* appconfiguration: adding the autorest config needed for a Go Data Plane SDK (#15317)

* Adding NSP resource in the Network Manager preview version (#15553)

* Defining the APIs for the new NSP resource

* Adding the perimeter associable resources in 02-01-preview

* Removing the etags to be same with the 03-01-pre version

* Update networkSecurityPerimeter.json

Fixing a lint error.

Co-authored-by: Hari Prasad Perabattula <[email protected]>

* Add optional location property to patch body. (#15408)

* assignment, remove me from monitor (#15555)

* [databoxedge] remove python track1 configuration (#15566)

* Update readme.md

* Update readme.python.md

* add_support_for_action_groups (#15499)

Co-authored-by: Ilias Khan <[email protected]>

* SpakConfiguration Support for Resource Manager Api's (#15086)

* SpakConfiguration Support for Resource Manager Api's

SpakConfiguration Support for Resource Manager Api's

* Fixed CI errors

Fixed CI errors

* Remove extra properties

Remove extra properties

* Added additional Properties as required

Added additional Properties as required

* Fix Ci Stylecop issues

Fix Ci Stylecop issues

* Resolved Comments

Resolved Comments

* Added Spark Configuration Details for Latest Api Version

Added Spark Configuration Details for Latest Api Version

* Adding Srinithya's UAMI changes

* Remove new storage account properties

* SpakConfiguration Support for Resource Manager Api's

SpakConfiguration Support for Resource Manager Api's

* Fixed CI errors

Fixed CI errors

* Remove extra properties

Remove extra properties

* Added additional Properties as required

Added additional Properties as required

* Fix Ci Stylecop issues

Fix Ci Stylecop issues

* Resolved Comments

Resolved Comments

* Added Spark Configuration Details for Latest Api Version

Added Spark Configuration Details for Latest Api Version

* Adding Srinithya's UAMI changes

* Remove new storage account properties

* Fixed Prettier CI Fix

Fixed Prettier CI Fix

Co-authored-by: Dushyant Bansal <[email protected]>

* Add docs for test scenario (#15437)

* Add docs for test scenario

* fix markdown

* update doc

* update readme

* update readme

* improve folder structure

* move errorCode reference

* update

* add brief introduction

* fix doc

* Add contentVersion

* fix sample

* add caution

* fix link

* change schema folder

* features

* fix command

* fix

* update png

* add jsonpathopmove

* update readme

* refine schema

Co-authored-by: Lei Ni <[email protected]>
Co-authored-by: Ruoxuan Wang <[email protected]>

* fix WindDirection incorrect degrees type: int32 -> float (#15361)

* [Synapse] Fix artifiact schema in dataplane API (preview version) (#15451)

* [Synapse] Add missing 'folder' property for Synapse artifacts

* Fix SQL script schema

* update sql script connection

Co-authored-by: Liren Sun <[email protected]>

* Add rotation permission (#15458)

* Add rotation permission

* Update keys.json

Remove required from lifetimeActions

* Change to expiryTime

* add missing x-ms-client-id parameters required for AD auth (#15389)

* Update KeyVault.json (#15482)

* Document ultra disk in IMDS (#15558)

* document ultra disk

* Fixes

* Fix default LivyApiVersion value in Synapse (#15585)

* Fix default LivyApiVersion value in Synapse

* Fix in the preview swagger too for multiapi

* track2 modify Event Grid readme.go.md (#15568)

* track2 modify apimanagement readme.go.md (#15570)

* track2 modify operationalinsights readme.go.md (#15571)

* track2 modify eventhub readme.go.md (#15572)

* Add Example to Update APIM from Old VNET to New VNET with AZ using PATCH (#15332)

* add examples

* add zones property to update params

* Updating the max value allowed for limit param in WFS to 500. (#15275)

Co-authored-by: Subbarayudu Kamma <[email protected]>

* remove containerService.json from java as it causes lots of model name conflict (#15567)

* track2 modify security readme.go.md (#15569)

* resolving correctness error in preview (#15573)

* resolving correctness error in preview

* adding max time for long running operations

Co-authored-by: Gaurav Bang <[email protected]>

* Vipinhas/fix capacity4cluster (#15565)

* removing read only property, no longer in use - NOT a breaking change

* fix cluster capacityResevation Sku

* fix examples

* add x-ms-enum property

* Add new 1.1-preview version for IoT Central (#15257)

* Add new 2.0-preview.1 version for IoT Central

* fix typo on enum value

* rollback 1.0 changes, applied 2.0-preview.1

* fix typo

* remove non-used examples

* fix style

* update version from 2.0-preview.1 to 1.1-preview

* update code review comments, fix patch consumes with json-patch support, fix examples for fileupload

* add nextLink to collection of orgs

* fix typo

* fix wrong position of paging

* fix the paging

* add . to description

* update default to use enum for api-version

* Update account endpoint parameter (#15613)

* Update account endpoint parameter

* remove trailing comma on parameters

* Fixes for largefacelist and identify (#15187)

Co-authored-by: Yang Chen <[email protected]>

* Web ant94 2021 02 01 attempt 2 (#15548)

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

* Updates readme

* Updates API version in new specs and examples

* Changes for api-version 2012-02-01 (#15545)

* Address PR comments - AppServiceCertificateOrders (#15561)

* Changes for api-version 2012-02-01

* Address PR comments - AppServiceCertificatesOrder

* Fix spelling issue

* Fix summary+description for GET siteseal

* Add reseller to custom words

* Make DedicatedHostCount R/W (#15580)

Co-authored-by: Chris Chen <[email protected]>

* IoTHub: adding new routing source into 2021-07-01-preview (#15398)

Co-authored-by: vfedonkin <[email protected]>

* Moving 2021-07-01-preview to public repo for compliance (#15583)

* Update PULL_REQUEST_TEMPLATE.md

* Fix for issue 14555 (#15578)

* Update Dataset.json

* Update LinkedService.json

* Update Pipeline.json

* LUIS Authoring V3.0 GA  (#15364)

* v3.0 swagger

* Unchange the preview folder

* Changes in the readme

* readme.go changes

* Readme.md changes

* Changes in th readme

* Changing all v2 to v3

* Editing LUIS.authoring

* Editing readme

* Adding "fuzzyMatchingEnabled" property to some objects

* solving syntax errors

* Deleting SDK files

* Solving errors

* Editing package.json

* Changes according to the comments

* Changing the default value of some properties

* Adding prettier check

* Change

* Revert "Change"

This reverts commit ca991fb.

* Add missing parts

* Changes for the SDK

Co-authored-by: MIDDLEEAST\v-mariamel <[email protected]>

* SF updates for 8.1 (#15308)

* SF updates for 8.2

* fixed typo and added 8.1

* set the version to match.

* fixed last typo.

* fixed missing block.

* remove Go SDK from auto-codegen

* avoid hitting credscan alerts.

Co-authored-by: Joel Hendrix <[email protected]>

* Fixing s360 swagger correctness  (#15421)

* fixing issues with swagger correctness.

* adding example changes

* updated description and max item count for labels and tags.

* adding validation rules for tags.

* fixing spell check.

* [Hub Generated] Review request for Microsoft.Notebooks to add version preview/2019-10-11-preview (#15614)

* Paul's changes plus a few from Geoffrey

* Just remove error level

* change cloud error

* changed cloud error again

* remove error

* remove cloud error details and add optional param

* remove resource returns nothing instead

* change enums to string

* revert clouderror

* fix operations

* fix

* fix

* fix

* fix formatting

* try adding top level

* try deprecated

Co-authored-by: Geoffrey Troyer <[email protected]>
Co-authored-by: Paul Wang <[email protected]>

* track1 add batch tag (#15628)

* moving logz to stable (#15598)

* creating directory structure for stable version

* version update chnages

* reolving avacado error

Co-authored-by: Gaurav Bang <[email protected]>

* remove hierchicalQueue (#15591)

Co-authored-by: Jimmy Xie <[email protected]>

* Update default tag for template specs to 2021-05 (#15595)

* Swagger correctness fixes (#15520)

* Adding 2020-09-Preview same as 11-preview

* fixing lint issue

* fixing model

* fixing model

* fixing model

* pretify fix

* fixing linting

* more linting fix

* fixing swagger correctness

* swagger correctness fixes

* fixing errors

* Updated description for K8 and CloudEdgeManagementRole (#15526)

Co-authored-by: Arzoo Jain <[email protected]>

* Fixed types of severity and actions (#15607)

* Fixed types of severity and actions

* Reverted the type of the Severity field from "integer" back to "number"

Co-authored-by: Avi Jerafi <[email protected]>

* add target (#15640)

Co-authored-by: Paul Wang <[email protected]>

* Dev datamigration microsoft.data migration 2021 06 30 (#15259)

* Created new api version and refactoring changes (such as fixing new build restrictions)

* Adding breaking changes

* Adding location to the services update example

* Adding location for projects update and refactoring the task command

* Resolving tasks command ModelValidation test failure

* Resolving issue based on zhenglaizhang's recommendation

* Adding comma to resolve issue

Co-authored-by: Artem Pavlichenko <[email protected]>

* correct sku request body schema (#15608)

Co-authored-by: Wendy Chang <[email protected]>

* update (#15594)

* Add systemData to common-types Resource in a new V3 version (#15600)

* Create v3 common-types with systemData added to Resource definition

* Add systemData to Resource properties

Co-authored-by: Anat Gilenson <[email protected]>

* add new version 2021-09-01-preview (#15406)

* add new version 2021-09-01-preview

* update

* update readme

* update

* fix validation error

* [Datafactory] Swagger change for Power Query (WranglingDataFlow) work (#15584)

* [Datafactory] Add Wrangling dataflow models for Power Query

* Fix spell check issue

* Fix Lint errors

* Update eg guidance (resending PR to to main branch) (#15644)

* Update readme.md

* Update readme.md

Co-authored-by: Laurent Mazuel <[email protected]>

* updated login help text (#15609)

* Update readme.python.md (#15645)

* Fixing API version (#15651)

Co-authored-by: Miguel Concha Vazquez <[email protected]>

* Update readme.python.md (#15655)

* Update CODEOWNERS (#15647)

* Purview Terraform support (#15649)

* Purview Terraform support

* Move readme.md

* Update pull_request_assignment.yml (#15659)

* Changes for Mixed Audio Recordings Release (#15618)

* Adding the existing folders to a new version

* Updating swagger file and readme

* Addressed PR comments

* Nit changes

Co-authored-by: Ninika Sharma <[email protected]>

* [Hub Generated] Review request for Microsoft.PowerBI to add version stable/2020-06-01 (#15240)

* 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 swaggers for Power BI private links

* Fixed Lint erros.

* Fixed spellcheck

* Fixed Lint errors

* fixed Avocado error

* fixed model validation

* fixed model validation.

* updated private endpoint connections

* updated PrivateLinkResources

* updated PrivateLinkResource

* updated private endpoint connection proxies

* fixed model validation.

* updated connectionstate

* renamed connection files

* update readme file.

* updated python readme

* fixed code review comments

* updated error ref.

* Removed Error and linked to common-type.

* added 201 to put request

* removed unnecessary definitions.

* updates examples for 201

* updated list of

* removed extra space

* Added patch to PowerBIResource

* added 202 to PrivateLinkServiceResourceOperationResults_Get

* updated readme files

* added provisioning state

* trying to fix sdk error

* removed privateEndpointConnectionProxies

* added PrivateLinkResources_Get

* added privateLinkResourceName  in example

* removed privateLinkServicesForPowerBI from URL

* added nextLink

* fixed prettier

* Fixed error for Prettier

* Update Python and GO SDK version (#15610)

* Update Python SDK version

* Remove preview api version for GO sdk

* Add back GO package package-2020-12-01-preview

* [Purview Accounts] SDK Team Feedback on Operation IDs (#15669)

This change updates the operation ids for operations in the Purview
Accounts service. These names are used when generating clients and so
for some we've added suffxes (based on their groupings) to make
generated method names a little clearler when you see just the method
name in code e.g.:

```
var client = new PurviewAccountsClient();
...
client.GetAccountProperties() // Nicer than just client.Get();
```

In addition, we noticed that the `Collections_GetCollectionPath`
operation took a `$skipToken` parameter, even though the operation is
not pageable. After following up with the service team we learned this
was a mistake, so I have removed the parameter from the specification.

* updated resource-list description for $top (#15641)

Co-authored-by: Tim Nguyen <[email protected]>

* Added OutboundNetworkDependenciesEndpoints API (#15498)

* Adds VNet peering to 2021-04-01-preview api-version.

* Added OutboundNetworkDependencies.

* Fixed Prettier issue

* Fixed lint error

* Edited sample output

* Added reference to preview/vnetpeering.json in readme file

* Edited description for outbound network dependency endpoints.

* Corrected return type for outbound network dependency endpoints.

* Corrected return type for outbound network dependency endpoints.

* Correcting schema

* Correcting schema

Co-authored-by: nipuneth <[email protected]>
Co-authored-by: Sharanjeet Kaur <[email protected]>

* Defender settings (#15051)

* add new resources

* Add resources to markdown

* Modify routes

* Add systemData

* Add systemData to defenderSettings

* Add missing parameter

* Add more systemData

* Fix example

* Add new API version

* Remove redundant change

* update markdown

* Add operations to new API version

* Update list filters

* update description

* update examples

* Update examples

* Add missing properties

* Add missing properties

* Rename property

* Add alert editing

* Update editable properties

* Update example

* update put to patch

* Separate patch request to a different model

* Share enum

* update example

* update patch model

* Undo break change

* small update

* Old version as PR baseline

* Move examples

* Update scopes and examples

* Add example values

* alignWithMaster

* Revert "Old version as PR baseline"

This reverts commit d963f3a.

* mdeIntegration

* switchToObject

* prettier

Co-authored-by: Orel Kayam <[email protected]>
Co-authored-by: Liran Chen <[email protected]>

* Spec fixed to reflect new examples property (#15377)

* Spec fixed to reflect new examples property

* Prettier

* suppressing incorrect warning

* Add new vulnerabilities resource for IoT Security (#15360)

* 1st

* 2nd

* severity

* prettier

* fix date example

* add date

* readme

* resolve pr comments

* readme

* remove id + title

* remove publishedDate + lastModifiedDate

* source -> sources

* format

* format

* remove paging

* update to 3 levels

* fix validation

Co-authored-by: Gal Bruchim <[email protected]>

* Add support for user assigned identities in Policy Assignments (#15181)

* Initial commit of previous api-version

* Update swagger

* Updated examples

* Updated readme

* Removed dataPolicyManifest.json as we will use the previous one.  Also updated based on feedback.

* Update to support patch for assignments and system data

* Updated based on tool analysis

* updated based on feedback

* [NetAppFiles] Anf 13322 net app files api version 2021 06 01 (#15011)

* Api version bump

* Apply 2021-06-01 changes

* Update readme

* Change default on enum

* Add s360 fixes

* Add missing systemdata

* Change defaultUserQuotaInKiBs default to 0

Co-authored-by: Audunn Baldvinsson <[email protected]>

* Update account.json (#15677)

* [Hub Generated] fix RangeObject property types in Maps Creator preview/2.0 (#15388)

* fix RangeObject properties inconsistency: double -> string

* update remaining samples

* [Batch] Updated job schedule description (#15681)

The behavior of job schedules with respect to UTC time was causing some
confusion.

Co-authored-by: David Watrous <set>

* [Hub Generated] Review request for Microsoft.Notebooks to add version preview/2019-10-11-preview (#15642)

* Add new API with examples, add a few new response for current API endpoints

* change file name back

* remove nullable parameter

* change operation name of patch

* add description to allowPublicNetworkResource

* change example from string to boolean

* Change publicnetworkaccess from boolean to string+

* change name

* change example to string

* change property name

Co-authored-by: Geoffrey Troyer <[email protected]>

* Changed Outboundnetworkdependency description (#15697)

* Swagger changes for MFA work (#15577)

* Baseline changes for API version 2021-07-01

* Made the new changes related to API version 2021-07-01

* Fixing Lintdiff failure

* resolved PR comments

* Fixing validation failures

* Fix the validation failures

* Made lintdiff failures

* Resolved PR comments

* Fixing validation failures

* Resolved PR comments

Co-authored-by: Madhumanti Dey <[email protected]>

* [NetAppFiles] fix default in volumeproperties (#15691)

* fix default in volumeproperties

* Update description

* Update description

Co-authored-by: Audunn Baldvinsson <[email protected]>

* Add2021-06-01AsessmentsAPIVersion (#15390)

* Add2021-06-01AsessmentsAPIVersion

* Add2021-06-01AsessmentsAPIVersion

* Add2021-06-01AsessmentsAPIVersion

* Add2021-06-01AsessmentsAPIVersion

* Add2021-06-01AsessmentsAPIVersion

* Add2021-06-01AsessmentsAPIVersion

* Add2021-06-01AsessmentsAPIVersion

* Add2021-06-01AsessmentsAPIVersion

* Add2021-06-01AsessmentsAPIVersion

* Add2021-06-01AsessmentsAPIVersion

* Update custom-words.txt

Co-authored-by: MIDDLEEAST\morbrisker <[email protected]>

* QuestionAnswering Preview.1 APIs (#15304) (#15717)

* QuestionAnswering Preview.1 APIs

* fix build

* Compute Rest API version 2021-07-01 (#15479)

* apimanagement-readme-tag_config (#15714)

* track2 modify eventhub readme.go.md (#15338)

* track2 modify operationalinsights readme.go.md (#15354)

* track2 modify security readme.go.md (#15357)

* track2 modify eventgrid readme.go.md (#15358)

* trak2 modify cdn readme.go.md (#15705)

* track2 modify automation readme.go.md (#15706)

* track2 modify recoveryservices readme.go.md (#15707)

* track2 modify logic readme.go.md (#15710)

* track2 modify datafactory readme.go.md (#15711)

* track2 modify appplatform readme.go.md (#15712)

* track2 modify msi readme.go.md (#15715)

* Purview add "x-ms-secret" attribute to ListKeys response (#15700)

* Purview add "x-ms-secret" attribute to ListKeys response

Purview add "x-ms-secret" attribute to ListKeys response

* move supressions to top level readme

* Add suppressions to top level readme.md

Add suppressions to top level readme.md for easier discovery

* fix indentation of readme.md

* Make activeconfigraution body required, and update default package version (#15668)

* Add ResourceGuid to NetworkManager

* add list by config

* Revert "Add ResourceGuid to NetworkManager"

This reverts commit 4e07577.

* resourceGuid

* [NetworkManager] Remove discriminator from ActiveConfiguration

* revert change

* fix format

* Fix as commnets

* fix test

* Update Example

* Split current APIs

* Fix lintdiff

* fix as commnets

* small change and update default package id

* remove subnet level api

* Vipinhas/default version (#15620)

* removing read only property, no longer in use - NOT a breaking change

* Update defual packge for LA

* Update examples to make it easier to differentiate MRIs (#15730)

* Update examples to make it easier to differentiate MRIs

* Prettier fix

Co-authored-by: Po Tsang <[email protected]>

* Add "datetime" column data type to 2021-06-01-preview (#15682)

* Update readme.python.md (#15741)

* update-typescript.md-for-resources (#15671)

* update-typescript.md-for-resources

* update

* Update Swagger document for recent API updates: (#15601)

- Update description for model-version query parameter
- Update description for language query parameter (not including OCR operation)

* Updated full backup and restore docs to point to managed hsm (#15664)

* updated urls to point to managed hsm

* Updated RBAC and security domain examples to point to mhsm endpoint

* [Hub Generated] Review request for Microsoft.Insights to add version stable/2015-07-01 (#14103)

* Create metricDefinitions_API.json

* Update readme.md

* Create GetMetricDefinitions.json

* Update metricDefinitions_API.json

Fix resource provider casing

* Update metricDefinitions_API.json

Use standardized error response format

* Update metricDefinitions_API.json

Need to use same error response format for all apis in this api version

* Create operations_API.json

Add operations API

* Create OperationList.json

Add operations example

* Update readme.md

Add operations API

* Update operations_API.json

Fix the operations API

* Update readme.md

Add suppressions for DefaultErrorResponseSchema

* Update metricDefinitions_API.json

Fix autorest, lint, etc issues

* Update operations_API.json

Fix autorest / lint / etc issues

* Update GetMetricDefinitions.json

Update example to better match what is being returned now.

* Add OperationsAPI Lint suppression

Add OperationsAPI Lint suppression

* Suppress R3023 due to a bug with the rule not realizing the operations API is specified.

* Modify the suppression reason

* Make ResourceUriParameter in sync with the one in service diagnostics settings API

* Update readme.md

Revert back to package-2021-04 tag for the SDK to fix build breaks

* Add error message to return payload for polling setup result in case of returning failed status. (#15460)

* Add missing features to be released in 2021-06-01 into 2021-06-01-preview (#15602)

* Add missing features to be released in 2021-06-01 into 2021-06-01-preview

* Prettier fix

* Fix naming from review comments

* Fix parameter names in azureADOnlyAuthentication examples

* Remove systemData from azureAdOnlyAuthentication.json

Co-authored-by: Surya <[email protected]>

* 2021-06-01 version for AzureADOnlyauthSupport (#14780)

* 2021-06-01 version for AzureADOnlyauthSupport

* Spell check and prettier fix

* update AzureADOnlyAuthentication

* prettier and lint fix

* Update azureADOnlyAuthentication.json

* Update workspace.json

* spell check fix

* added missing node family and updated settings

* List AzureADOnlyAuthentication

* fix systemData-R4009 RequiredReadOnlySystemData

* Additional properties not allowed: systemData

* Add optional parameters for customer storage account

* Update workspace.json

Remove extra space

* Add UAMI CMK properties

* prettier fix

* removed system Data

* conflict and validation fix

* Importing latest change from Integration runtime 2021-05-01 version to 2021-06-01

* Cross-Version Breaking Changes fix

Co-authored-by: Sravan Thupili <[email protected]>
Co-authored-by: Kunal Kashyap <[email protected]>
Co-authored-by: Dushyant Bansal <[email protected]>
Co-authored-by: kashyap-kunal <[email protected]>

* relay_track2_config (#15745)

* relay_track2_config

* Update readme.python.md

Co-authored-by: msyyc <[email protected]>

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

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

* Updates readme

* Updates API version in new specs and examples

* Update specificationRepositoryConfiguration.json (#15740)

* [Hub Generated] Review request for Microsoft.CustomerLockbox to add version preview/2018-02-28-preview (#15307)

* Fixing incorrect contract details for customer lockbox RP.

* Fixing validation errors

* Fixing spell check failure

* PR comments

* Fixing go SDK issue.

* removing sdks not requested by customeras

* add config for sdk automation of newest rp (#15748)

* Adding 2021-07-01 version in recoveryservices, recoveryservicessiterecovery folder to make it S360 compliant (#15708)

* Adding a new API version 2021-07-01 to make recoveryservices and recoveryservicessiterecovery RP same as recoveryservicesbackup

* Updating readme.md file

* Resolved PR comments

* Fixing Avocado failures

Co-authored-by: Madhumanti Dey <[email protected]>

* Changed FSPG RestartParameter.failoverMode from string to enum for API 2021-06-01, 2021-06-01-preview, and 2021-06-15-privatepreview (#15753)

* Changed FSPG RestartParameter.failoverMode from string to enum for API 2021-06-01, 2021-06-01-preview, and 2021-06-15-privatepreview

* Change enum first letter to lower case

* Change to upper case

* move Metrics Advisor v1.0 to stable (#15656)

* move Metrics Advisor v1.0 to stable and dup to v1.1-preview.1

* remove preview first to make PR clean

* fix readme.md

* trigger the validation

* Add common types.json v2 (#15735)

* Copy types.json from common 1.0

* Remove definitions and parameters which already exist in common-types directory. Use the common-types Resource definitions instead of defining it again

* Remove EntityCommonProperties which should be located in a common directory under a specific version.

Co-authored-by: Anat Gilenson <[email protected]>

* added notifications settings (#15500)

* [Hub Generated] Review request for Microsoft.Devices to add version preview/2021-09-01-preview (#15428)

* Adds base for updating Microsoft.Devices from version preview/2021-07-01-preview to version 2021-09-01-preview

* Updates readme

* Updates API version in new specs and examples

* Added creation time in the iothub description

* implemented system data property

* updating examples for iothub bv rg and subscription

* Committing unsaved changes

* removing creationTime

* reverting unformatted change

* Fixing josn pretty issue

* Adds suppression to readme

* Removing external reference to internal reference

* reverting the suppression

* Fix merging errors

Co-authored-by: Zed Lei <[email protected]>
Co-authored-by: Tom Harvey <[email protected]>
Co-authored-by: Arcturus <[email protected]>
Co-authored-by: Kaiqi Zhang <[email protected]>
Co-authored-by: FumingZhang <[email protected]>
Co-authored-by: Matthew Christopher <[email protected]>
Co-authored-by: hbc <[email protected]>
Co-authored-by: Or Parnes <[email protected]>
Co-authored-by: Haitao Chen <[email protected]>
Co-authored-by: Kaiqi Zhang <[email protected]>
Co-authored-by: Marwan Ahmed <[email protected]>
Co-authored-by: Arthur Ning <[email protected]>
Co-authored-by: ankanjan <[email protected]>
Co-authored-by: Heath Stewart <[email protected]>
Co-authored-by: Sandip-Raiyani <[email protected]>
Co-authored-by: Taras Vozniuk <[email protected]>
Co-authored-by: Maor Leger <[email protected]>
Co-authored-by: David Desberg <[email protected]>
Co-authored-by: travist13 <[email protected]>
Co-authored-by: Jorge Herrera <[email protected]>
Co-authored-by: diwudd <[email protected]>
Co-authored-by: Sanjai Ganesh Jeenagiri <[email protected]>
Co-authored-by: REDMOND\lakshv <[email protected]>
Co-authored-by: shenshengkafei <[email protected]>
Co-authored-by: Teddy Todorov <[email protected]>
Co-authored-by: Phoenix He <[email protected]>
Co-authored-by: moranraz <[email protected]>
Co-authored-by: navysingla <[email protected]>
Co-authored-by: Guosen Wang <[email protected]>
Co-authored-by: JiahuiPeng <[email protected]>
Co-authored-by: Jiefeng Chen <[email protected]>
Co-authored-by: Kevin Mao <[email protected]>
Co-authored-by: orkayam <[email protected]>
Co-authored-by: Orel Kayam <[email protected]>
Co-authored-by: James Park <[email protected]>
Co-authored-by: hunngu-ms <[email protected]>
Co-authored-by: rewongmicrosoft <[email protected]>
Co-authored-by: xunsun-commits <[email protected]>
Co-authored-by: Amit Elran <[email protected]>
Co-authored-by: Amit Elran <[email protected]>
Co-authored-by: Laura Galbraith <[email protected]>
Co-authored-by: srkakuru <[email protected]>
Co-authored-by: Dongwei Wang <[email protected]>
Co-authored-by: Dongwei Wang <[email protected]>
Co-authored-by: kryalama <[email protected]>
Co-authored-by: alkigel <[email protected]>
Co-authored-by: Micah McKittrick <[email protected]>
Co-authored-by: Peter Socha <[email protected]>
Co-authored-by: Tim Nguyễn <[email protected]>
Co-authored-by: Tim Nguyen <[email protected]>
Co-authored-by: yanfa317 <[email protected]>
Co-authored-by: Bharath Kumar <[email protected]>
Co-authored-by: Kalpesh Chavan <[email protected]>
Co-authored-by: Kalpesh Chavan <[email protected]>
Co-authored-by: nick-ms-ts <[email protected]>
Co-authored-by: Alan Po-Ching Yang <[email protected]>
Co-authored-by: Alan Yang <[email protected]>
Co-authored-by: Adam Dobrawy <[email protected]>
Co-authored-by: Joel Hendrix <[email protected]>
Co-authored-by: Carey Halton <[email protected]>
Co-authored-by: Hari Prasad Perabattula <[email protected]>
Co-authored-by: Hari Prasad Perabattula <[email protected]>
Co-authored-by: guy-microsoft <[email protected]>
Co-authored-by: Weidong Xu <[email protected]>
Co-authored-by: msyyc <[email protected]>
Co-authored-by: Ilias <[email protected]>
Co-authored-by: Ilias Khan <[email protected]>
Co-authored-by: Dushyant Bansal <[email protected]>
Co-authored-by: Lei Ni <[email protected]>
Co-authored-by: Ruoxuan Wang <[email protected]>
Co-authored-by: Sun Liren <[email protected]>
Co-authored-by: Liren Sun <[email protected]>
Co-authored-by: qinl-li <[email protected]>
Co-authored-by: JoshLove-msft <[email protected]>
Co-authored-by: Chris Henk <[email protected]>
Co-authored-by: Jianghao Lu <[email protected]>
Co-authored-by: Samir Solanki <[email protected]>
Co-authored-by: Subbarayudu Kamma <[email protected]>
Co-authored-by: Subbarayudu Kamma <[email protected]>
Co-authored-by: Gaurav <[email protected]>
Co-authored-by: Gaurav Bang <[email protected]>
Co-authored-by: vipinhas <[email protected]>
Co-authored-by: Johnson Yang <[email protected]>
Co-authored-by: annoakes <[email protected]>
Co-authored-by: msyache <[email protected]>
Co-authored-by: Yang Chen <[email protected]>
Co-authored-by: Naveed Aziz <[email protected]>
Co-authored-by: Chris Chen <[email protected]>
Co-authored-by: Vitaliy Fedonkin <[email protected]>
Co-authored-by: vfedonkin <[email protected]>
Co-authored-by: Shuo LI <[email protected]>
Co-authored-by: Anthony Martin <[email protected]>
Co-authored-by: mariam606 <[email protected]>
Co-authored-by: MIDDLEEAST\v-mariamel <[email protected]>
Co-authored-by: jeffj6123 <[email protected]>
Co-authored-by: udmalik <[email protected]>
Co-authored-by: Paul <[email protected]>
Co-authored-by: Geoffrey Troyer <[email protected]>
Co-authored-by: Paul Wang <[email protected]>
Co-authored-by: jimmyshie123 <[email protected]>
Co-authored-by: Jimmy Xie <[email protected]>
Co-authored-by: Shenglong Li <[email protected]>
Co-authored-by: rkapso <[email protected]>
Co-authored-by: arjoojain2812 <[email protected]>
Co-authored-by: Arzoo Jain <[email protected]>
Co-authored-by: avjerafi <[email protected]>
Co-authored-by: Avi Jerafi <[email protected]>
Co-authored-by: Artyom Pavlichenko <[email protected]>
Co-authored-by: Artem Pavlichenko <[email protected]>
Co-authored-by: wwendyc <[email protected]>
Co-authored-by: Wendy Chang <[email protected]>
Co-authored-by: colawwj <[email protected]>
Co-authored-by: Anat Gilenson <[email protected]>
Co-authored-by: Wanpeng Li <[email protected]>
Co-authored-by: soma-ms <[email protected]>
Co-authored-by: Zhenglai Zhang <[email protected]>
Co-authored-by: Laurent Mazuel <[email protected]>
Co-authored-by: Daeun Yim <[email protected]>
Co-authored-by: wmbt96 <[email protected]>
Co-authored-by: Miguel Concha Vazquez <[email protected]>
Co-authored-by: ninikasharma <[email protected]>
Co-authored-by: Ninika Sharma <[email protected]>
Co-authored-by: ravi-pbi <[email protected]>
Co-authored-by: Matt Ellis <[email protected]>
Co-authored-by: Sharan <[email protected]>
Co-authored-by: nipuneth <[email protected]>
Co-authored-by: Sharanjeet Kaur <[email protected]>
Co-authored-by: Liran Chen <[email protected]>
Co-authored-by: VitaliyKurokhtin <[email protected]>
Co-authored-by: galbru <[email protected]>
Co-authored-by: Gal Bruchim <[email protected]>
Co-authored-by: Cale Carter <[email protected]>
Co-authored-by: Auðunn <[email protected]>
Co-authored-by: Audunn Baldvinsson <[email protected]>
Co-authored-by: David Watrous <[email protected]>
Co-authored-by: getroyer <[email protected]>
Co-authored-by: Mahender Sarangam <[email protected]>
Co-authored-by: deymadhumanti <[email protected]>
Co-authored-by: Madhumanti Dey <[email protected]>
Co-authored-by: MorBrisker <[email protected]>
Co-authored-by: MIDDLEEAST\morbrisker <[email protected]>
Co-authored-by: Rohan Kulkarni <[email protected]>
Co-authored-by: Theodore Chang <[email protected]>
Co-authored-by: xerxestph <[email protected]>
Co-authored-by: Po Tsang <[email protected]>
Co-authored-by: Alan Yang <[email protected]>
Co-authored-by: Ryogo Kanatani <[email protected]>
Co-authored-by: Maddie Lucas <[email protected]>
Co-authored-by: Todd King <[email protected]>
Co-authored-by: larisaborodina <[email protected]>
Co-authored-by: Surya Prakash <[email protected]>
Co-authored-by: Surya <[email protected]>
Co-authored-by: sravan251 <[email protected]>
Co-authored-by: Sravan Thupili <[email protected]>
Co-authored-by: Kunal Kashyap <[email protected]>
Co-authored-by: kashyap-kunal <[email protected]>
Co-authored-by: vilaksh <[email protected]>
Co-authored-by: Chenjie Shi <[email protected]>
Co-authored-by: bowgong <[email protected]>
Co-authored-by: dankorenMicrosoft <[email protected]>
Co-authored-by: vikramadityab72 <[email protected]>
  • Loading branch information
Show file tree
Hide file tree
Showing 2,077 changed files with 336,991 additions and 3,247 deletions.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Otherwise your PR may be subject to ARM review requirements. Complete the follow
- Adding a new service
- Adding new API(s)
- Adding a new API version
-[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit (including refactoring) and then push new changes, including version updates, in separate commits.
-[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits.

- [ ] Ensure you've reviewed following [guidelines](https://aka.ms/rpguidelines) including [ARM resource provider contract](https://github.com/Azure/azure-resource-manager-rpc) and [REST guidelines](https://github.com/microsoft/api-guidelines/blob/vNext/azure/Guidelines.md). Estimated time (4 hours). This is required before you can request review from ARM API Review board.

Expand Down
17 changes: 11 additions & 6 deletions .github/pull_request_assignment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,17 @@
- lirenhe


- rule:
paths: "specification/common-types/**"
reviewers:
- raych1
- akning-ms
- leni-msft
- ruowan
- jianyexi
- zhenglaizhang


- rule:
paths: "specification/@(resources|powerplatform|appplatform|deviceupdate)/**"
reviewers:
Expand Down Expand Up @@ -104,12 +115,6 @@
reviewers:
- leni-msft

- rule:
paths:
- "specification/monitor/**"
reviewers:
- weidongxu-microsoft

- rule:
paths:
- "specification/storage/**"
Expand Down
2 changes: 1 addition & 1 deletion CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
/specification/service-map/ @daveirwin1
/specification/servicebus/ @sazeesha @v-ajnava
/specification/servicefabric/ @juhacket @samedder
/specification/sql/ @jamestao @bcham @apurvans
/specification/sql/ @jamestao @ericshape @apurvans
/specification/storage/ @blueww @jasonyang-msft @xiaonlimsft
/specification/storage/data-plane/ @kasobol-msft @seanmcc-msft
/specification/storageimportexport/ @leoz-ms
Expand Down
6 changes: 6 additions & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -882,6 +882,7 @@ Informations
Informix
Ingestor
ingressed
INITIALIAZING
inittime
inkrecognizer
inlinecount
Expand Down Expand Up @@ -1144,6 +1145,7 @@ microservices
microsofttranslator
migratemysql
migratetoaad
Miliseconds
mincoordinates
minidump
minimalmetadata
Expand Down Expand Up @@ -1585,6 +1587,7 @@ reranker
Reranker
Reregister
Rescan
reseller
reservationorders
resetapikey
resetconnection
Expand Down Expand Up @@ -2259,3 +2262,6 @@ XLSM
DOCM
multislot
Tebibytes
privatelinkservicesforpowerbi
Obuscated
azureADOnlyAuthentications
Original file line number Diff line number Diff line change
@@ -0,0 +1,234 @@
{
"swagger": "2.0",
"info": {
"version": "2019-12-01",
"title": "YourServiceName",
"description": "Description of the new service",
"x-ms-code-generation-settings": {
"name": "YourServiceNameClient"
}
},
"host": "management.azure.com",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"security": [
{
"azure_auth": [
"user_impersonation"
]
}
],
"securityDefinitions": {
"azure_auth": {
"type": "oauth2",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"flow": "implicit",
"description": "Azure Active Directory OAuth2 Flow",
"scopes": {
"user_impersonation": "impersonate your user account"
}
}
},
"paths": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.YourServiceName/cats/{catName}": {
"get": {
"operationId": "Cats_Get",
"x-ms-examples": {
"GetCat": "./examples/CatsGet.json"
},
"description": "This is a sample get operation, please see guidelines in azure-rest-api-specs repository for more info",
"parameters": [
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/CatNameParameter"
}
],
"responses": {
"200": {
"description": "Describe the result of a successful operation.",
"schema": {
"$ref": "#/definitions/Cat"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
}
},
"put": {
"operationId": "Cats_CreateOrUpdate",
"x-ms-examples": {
"UpdateCat": "./examples/CatsCreateOrUpdate.json"
},
"description": "This is a sample get operation, please see guidelines in azure-rest-api-specs repository for more info",
"parameters": [
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/CatNameParameter",
},
{
"name": "parameters",
"in": "body",
"description": "The parameters for creating or updating a cat.",
"required": true,
"schema": {
"$ref": "#/definitions/Cat"
}
}
],
"responses": {
"200": {
"description": "Describe the result of a successful operation.",
"schema": {
"$ref": "#/definitions/Cat"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
}
}
}
},
"definitions": {
"Result": {
"description": "Sample result definition",
"properties": {
"sampleProperty": {
"type": "string",
"description": "Sample property of type string"
}
}
},
"ErrorResponse": {
"description": "Error response.",
"properties": {
"error": {
"$ref": "#/definitions/ErrorDefinition",
"description": "The error details."
}
}
},
"ErrorDefinition": {
"description": "Error definition.",
"properties": {
"code": {
"description": "Service specific error code which serves as the substatus for the HTTP error code.",
"type": "string",
"readOnly": true
},
"message": {
"description": "Description of the error.",
"type": "string",
"readOnly": true
},
"details": {
"description": "Internal error details.",
"type": "array",
"items": {
"$ref": "#/definitions/ErrorDefinition"
},
"readOnly": true
}
}
},
"Cat": {
"description": "Sample cat model",
"properties": {
"id": {
"type": "string",
"description": "The id of the cat"
},
"location": {
"type": "string",
"description": "The location of the cat"
},
"name": {
"type": "string",
"description": "The name of the cat"
},
"type": {
"type": "string",
"description": "The type of the cat"
},
"properties": {
"$ref": "#/definitions/CatProperties"
}
}
},
"CatProperties": {
"description": "Sample cat properties model",
"properties": {
"fullName": {
"type": "string",
"description": "The full name of the cat"
},
"mateId": {
"type": "string",
"description": "The id of the cat's mate"
}
},
"required": ["name"]
}
},
"parameters": {
"SubscriptionIdParameter": {
"name": "subscriptionId",
"in": "path",
"required": true,
"type": "string",
"description": "The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)"
},
"ResourceGroupNameParameter": {
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group.",
"x-ms-parameter-location": "method"
},
"ApiVersionParameter": {
"name": "api-version",
"in": "query",
"required": true,
"type": "string",
"description": "The API version to be used with the HTTP request."
},
"CatNameParameter": {
"name": "catName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the cat."
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"parameters": {
"accountName": "sampleacct",
"resourceGroupName": "YourServiceNameClient",
"api-version": "2019-12-01",
"subscriptionId": "subid",
"catName": "Rococo",
"parameters": {
"properties": {
"fullName": "Rococo Sue"
}
}
},
"responses": {
"200": {
"body": {
"name": "Rococo",
"location": "westus",
"id": "/subscriptions/subid/resourceGroups/YourServiceNameClient/providers/Microsoft.YourServiceName/cats/Rococo",
"type": "Microsoft.YourServiceName/cats",
"properties": {
"fullName": "Rococo Sue"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"parameters": {
"accountName": "sampleacct",
"resourceGroupName": "YourServiceNameClient",
"api-version": "2019-12-01",
"subscriptionId": "subid",
"catName": "Rococo"
},
"responses": {
"200": {
"body": {
"name": "Rococo",
"location": "westus",
"id": "/subscriptions/subid/resourceGroups/YourServiceNameClient/providers/Microsoft.YourServiceName/cats/Rococo",
"type": "Microsoft.YourServiceName/cats"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"responses": {
"200": {
"body": {
"name": "sampleacct",
"location": "uswest",
"id": "/subscriptions/subid/resourceGroups/YourServiceNameClient/providers/Microsoft.YourServiceName/batchAccounts/sampleacct",
"type": "Microsoft.YourServiceName/YourServiceName"
Expand Down
Loading

0 comments on commit b3a61df

Please sign in to comment.