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

Swagger For new rdbms API change for new biz model #2414

Merged
merged 9 commits into from
Feb 26, 2018

Conversation

QingqingYuan
Copy link
Contributor

@QingqingYuan QingqingYuan commented Feb 3, 2018

This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.

PR information

Quality of Swagger

@AutorestCI
Copy link

This commit was treated and no generation was made for Azure/azure-sdk-for-python

@AutorestCI
Copy link

Did a commit to Azure/azure-sdk-for-go:
Azure/azure-sdk-for-go@0a2273a

"$ref": "#/definitions/StorageProfile",
"description": "Storage profile of a server."
},
"sku": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove sku from properties, please understand the request structure firstly.
{
"Location":"centralus",
"Properties":{
"storageProfile": {
...
},
...
},
"Sku":{
...
},
"Tags":{
...
}
}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching this! I was only took from Reva's pull request and removed the VNET part. Seems this was missed from his. Removed this.

"$ref": "#/definitions/Sku",
"description": "The SKU (pricing tier) of the server."
},
"tags": {
Copy link
Contributor

@Suna-MS Suna-MS Feb 6, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above, remove tags from properties. For both mysql.json and postgresql.json

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed

"type": "string",
"description": "The fully qualified domain name of a server."
},
"EarliestRestoreDate": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lowercase for the first character for earliestRestoreDate

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

"$ref": "#/definitions/StorageProfile",
"description": "Storage profile of a server."
},
"sku": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove sku

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed

"$ref": "#/definitions/Sku",
"description": "The SKU (pricing tier) of the server."
},
"tags": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove "tags" from ServerPropertiesForCreate

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed

"type": "integer",
"description": "Database throughput unit associated with the service level objective"
},
"storageMB": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still use dtu/storageMB in new biz model?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missed in this one as well. Updated.

"type": "string",
"description": "ID of the performance tier."
},
"backupRetentionDays": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

min/maxBackupRetentionDays are used in examples, please double check the definitions.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reva missed this. Added.

@AutorestCI
Copy link

AutorestCI commented Feb 6, 2018

Automation for azure-sdk-for-python

A PR has been created for you:
Azure/azure-sdk-for-python#2058

@AutorestCI
Copy link

Did a commit to Azure/azure-sdk-for-go:
Azure/azure-sdk-for-go@fe01c72

"tags": [
"Servers"
],
"operationId": "Servers_CreateOrUpdate",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For PG, the operationId is Servers_Create, please make them the same for mysql and pg.

},
"geoRedundantBackup": {
"type": "string",
"description": "The tier of the particular SKU, e.g. Basic.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update the description

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's already done in my local branch. i'll push it.

@AutorestCI
Copy link

This commit was treated and no generation was made for Azure/azure-sdk-for-go

"operationId": "Servers_List",
"x-ms-examples": {
"ServerList": {
"$ref": "./examples/ServerList.json"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As mentioned offline, there are casing issues here that are polluting CI. Let's get those fixed up, and I'll review again.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, Thanks Martin! After update the folder name, it's passing!

@AutorestCI
Copy link

This commit was treated and no generation was made for Azure/azure-sdk-for-go

Copy link
Member

@marstr marstr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just took a look at some of the allowed-failures in CI. It looks like some of the examples contain fields that aren't documented in the Swaggers. Mind taking a look at that?
https://travis-ci.org/Azure/azure-rest-api-specs/jobs/338748743#L797

@marstr marstr added the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Feb 7, 2018
@AutorestCI
Copy link

AutorestCI commented Feb 8, 2018

Automation for azure-sdk-for-go

A PR has been created for you:
Azure/azure-sdk-for-go#1155

@QingqingYuan
Copy link
Contributor Author

@marstr I've corrected all errors in the job you mentioned. https://travis-ci.org/Azure/azure-rest-api-specs/jobs/338866706.

},
"LogFileProperties": {
"properties": {
"name": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

name is repeated so many times. Its in proxy resource model, then another top level property called name, and then again here. Please keep just the one under the Proxy rsource reference.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will update the API and then swagger post GA.

"format": "int64",
"description": "Size of the log file."
},
"createdTime": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

read only

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

"format": "date-time",
"description": "Creation timestamp of the log file."
},
"lastModifiedTime": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

read only

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

"format": "date-time",
"description": "Last modified timestamp of the log file."
},
"type": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please rename this to fileType. What are the allowed values here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will update API post GA

"readOnly": true,
"description": "Default value of the configuration."
},
"dataType": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what are the possible values? should this be an enum?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

synced offline. We didn't change this. This was in previous version. Need backend support. will not update in this iteration.

},
"allOf": [
{
"$ref": "#/definitions/ProxyResource"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is database really a proxy resource? Databases under Microsoft.SQL is a tracked resource. So it has location, tags properties also.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rdbms only has servers as tracked resource. It only has "database" as conceptually and we only having them as proxy resource

},
"DatabaseProperties": {
"properties": {
"charset": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isnt this an enum?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

synced offline. We didn't change this. it's a string.

"type": "string",
"description": "The charset of the database."
},
"collation": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this have a fixed set of valueS?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, not presently.

}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/logFiles": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This actually provides a pointer to the logFile. Should this be available to anyone who has read access on the server? Or should this be exposed via a POST action

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, right now, there's no limitation on accessing this once the user has permission to subscription. Will consider adding more granularly control post GA.

@ravbhatnagar
Copy link
Contributor

@johanste @NiklasGustafsson - have folks from azure api review board seen this? Please review if not already.

@marstr
Copy link
Member

marstr commented Feb 12, 2018

@ravbhatnagar says:
@johanste @NiklasGustafsson - have folks from azure api review board seen this? Please review if not already.

I reached out to @johanste offline to get advice on how to proceed here.

@ravbhatnagar
Copy link
Contributor

@QingqingYuan and I had a call on this. COuple of issues that need to be resolved but most likely wil be resolved after GA. One was around the use to SKU API. I am waiting for the email from qingqing ACKing this from their team side. POst that ARM can sign off.

@azuresdkciprbot
Copy link

Hi There,

I am the AutoRest Linter Azure bot. I am here to help. My task is to analyze the situation from the AutoRest linter perspective. Please review the below analysis result:

File: specification/mysql/resource-manager/readme.md
Before the PR: Warning(s): 0 Error(s): 0
After the PR: Warning(s): 0 Error(s): 0

File: specification/postgresql/resource-manager/readme.md
Before the PR: Warning(s): 0 Error(s): 0
After the PR: Warning(s): 0 Error(s): 0

AutoRest Linter Guidelines | AutoRest Linter Issues | Send feedback

Thanks for your co-operation.

@ravbhatnagar
Copy link
Contributor

Looks good.

@ravbhatnagar ravbhatnagar added ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review and removed WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Feb 15, 2018
@marstr marstr added the DoNotMerge <valid label in PR review process> use to hold merge after approval label Feb 15, 2018
@marstr
Copy link
Member

marstr commented Feb 15, 2018

Once the 20th rolls around, I'll remove the DoNotMerge label, and ping @QingqingYuan about whether or not the service team is ready for this to be merged.

@marstr
Copy link
Member

marstr commented Feb 20, 2018

I got word from @QingqingYuan that this has been delayed until the 28th.

@marstr marstr changed the title [Don't Merge, Service roll out 2/20/2018] Swagger For new rdbms API change for new biz model [Don't Merge, Service roll out 2/28/2018] Swagger For new rdbms API change for new biz model Feb 20, 2018
@marstr
Copy link
Member

marstr commented Feb 26, 2018

I just got word from @QingqingYuan that the service is now available.

@marstr marstr removed the DoNotMerge <valid label in PR review process> use to hold merge after approval label Feb 26, 2018
@marstr marstr merged commit 1760a5c into Azure:master Feb 26, 2018
@marstr marstr changed the title [Don't Merge, Service roll out 2/28/2018] Swagger For new rdbms API change for new biz model Swagger For new rdbms API change for new biz model Feb 26, 2018
RandalliLama added a commit that referenced this pull request Mar 16, 2018
* Add purge operations to AppInsights management plane (#2528)

* Add purge to management plane API

* Adding purge status operation

* Change purge statue to enum

* capitalize response status

* [AppInsights Data Plane] Fix table schema (#2527)

* Remove internal schena column

* Fix row schema

* Application Insights: Add Favorites and Web Test Locations APIs (#2416)

* Initial addition of favorites and locations API

* Complete web test locations API

- favor 'web test' names/descriptions over 'synthetic monitor' as web test is more customer-centric naming
- create example data for the web test api

* Spelling update

* Updated parameters for favorite API

* Add favorites API and examples

- ensure tests run against the applicationinsights folder successfully

* Add collectionFormat to comma-separated tags list parameter for favorites
- generating API in CSharp generated errors

* Enum for favorite type should be set to modelAsString as further favorite types are possible in future.

* Update suppressions to include specific instances I need suppressed (no global suppressions where possible).

* Suppress some noisey test warnings from API specifications from my peers.

* PR suggestions

- Remove x-ms-pageable annotation from our list operation, in the service code we never paganate our data.
- Add x-ms-enum annotation to one enum data type where it was missing.

* Event Hub: Added missing API to respective API version Swaggers (#2457)

* Added the missing API discovered in ARM_RP_Fundamentals to the respective API version swagger and review comments

* added tag for 2014-09

* Update the output-folder to match azure-sdk-for-net paths in Vision package (#2529)

* Added enableBatchedOperations property to ServiceBus Queue (#2534)

* [Don't Merge, Service roll out 2/28/2018] Swagger For new rdbms API change for new biz model (#2414)

* Add new version for mysql and pgsql

* Correct readme version

* Correct create properties parameter

* Correct PG namespace and some other comment

* Update Examples folder to examples

* Correct property name cases in the examples

* Corrected the ServerResult objects in CRUD samples

* Correct property values for server response in samples

* make createtime and lastmodifiedtime for logfileproperties to readonly

* Web Python conf (#2549)

* Add a directive for node and TS (#2550)

* Swagger specs for all existing versions of Microsoft.PolicyInsights (#2523)

* Swagger specs for all existing versions of Microsoft.PolicyInsights

* Add support for --validate; make where clauses explicit in existing (approval request pending) suppressions; add new suppression for equivalent paths error (approval request pending)

* Fix $top in examples; fix casing in examples

* Fix two more instances of $top type in examples

* Fix metadata examples by adding content type header and changing the body to a single string

* Remove EQUIVALENT_PATH suppressions; add extendedProperties as additionalProperties; add @odata.count to operations; remove "type" from "rows" in first 2017-08-09-preview and add descriptions

* Fix remaining examples with bad casings

* Fix additionalParameters definition; fix duplicate paths

* Remove redundant operations path/definitions from one of the swagger files for each version (one per namespace is sufficient as long as both files are fed into autorest as a bundle)

* DataMigration py conf (#2553)

* Fix recommendation resource properties, add disable recommendation APIs (#2548)

* Add Billing Account resource to Billing RP. (#2517)

* Add "Classic Account" ARM resource.

* 1. Change classic account property name from "userPrincipalName" to "principalName"
2. Add examples

* Fix API version in examples.

* Add example links.

* ClassicAccount->BillingAccount

* Removing "uuid" - billing account name may be a concatenation of uuid and additional keys.

* Remove unused parameters.

* 1. Add new version to readme.md
2. Fix validation warnings

* Fix descriptions.

* Fix type mismatch error.

* Adding missing parameter in example.

* Fix ms-examples name.

* Compute spec change for zone resilient images (#2551)

* Compute spec change for zone resilient images

* Address feedback from the previous iteration

* [DO NOT MERGE]update swaggers for azure elastic pool operation (#2520)

* update swaggers for azure database and elastic pool operation

* update ListDatabaseOperations and ListElasticPoolOperations examples

* Only update the swagger for elastic pool operations

* end

* remove two not needed folders. Fix the error in ListElasticPoolOperation

* Update the cancel operations swagger on database and pool, and corresponding examples

* fix indentation in cancelOperations.json and cancelPoolOperations.json

* Update Azure Database Migration Service to add Managed Instance as target  (#2531)

* Copy over 2017-11-15-preview folder in preparation for adding 2018-03-15-preview api version.

* Update Azure Database Migration Service to add Managed Instance as target

* Take out GeoRestore option (#2559)

* [Monitor] Fixing issue with metricsnamespace incorrecly specified as client level argument #2565 (#2566)

* [Monitor] Make all attributes of EventData class readonly (#2254)

* [Monitor] Fixing issue with metricnamespace specification as client level argument #2565

* [Azure Search] Change output path for .NET data plane SDK (#2554)

This is part of a planned refactoring that will split the Azure Search .NET
data plane SDK into separate packages.

* Fix links in the PR template (#2571)

* Remove unused API (#2564)

Please note this is not a GA API and has been deprecated for a while.
There is no current user for it.

* Adding preview/stable to the example layout. (#2561)

* Adding preview/stable to the example layout.

* Fixing formatting

* fixed Go SDK path for automation (#2562)

* [Monitor] Fixing issue with metrics api queryparameter name (#2575) (#2577)

* add databricks activity (#2568)

* Swagger completeness for Redis Cache (#2537)

* Default string modeled as parameter for auto generation to work correctly

* Adding CheckNameAvailability and listUpgradeNotifications into swagger for redis

* Fixing code review comments

* remove "/" at end for list apis

* Name change for notification

* Fixing code review comments in PR

* Fixing examples that are breaking the build

* Add missing type specifier to enum definition. (#2580)

* Change group name for operations path, and rename response type definition (#2563)

* Swagger specs for all existing versions of Microsoft.PolicyInsights

* Add support for --validate; make where clauses explicit in existing (approval request pending) suppressions; add new suppression for equivalent paths error (approval request pending)

* Fix $top in examples; fix casing in examples

* Fix two more instances of $top type in examples

* Fix metadata examples by adding content type header and changing the body to a single string

* Remove EQUIVALENT_PATH suppressions; add extendedProperties as additionalProperties; add @odata.count to operations; remove "type" from "rows" in first 2017-08-09-preview and add descriptions

* Fix remaining examples with bad casings

* Fix additionalParameters definition; fix duplicate paths

* Remove redundant operations path/definitions from one of the swagger files for each version (one per namespace is sufficient as long as both files are fed into autorest as a bundle)

* Change group name for operations path, and rename response type definition

* Change group name for operations path, and rename response type definition (old API versions)

* ApiManagement 2018-01-01 version spec (#2292)

* Copy the 2017-03-01 files

* 2018-01-01 specific changes

revert x-ms-enum and update description

* 202 on create or update, network status and backend flatten

202 on create or update, networkstatus backend flatten

Head for ApiRevision

* Fix ValidationRegex of Ids and length

* Fix the TagResource contract

* Make PUT operation on portalsettings resources ARM-compliant

Fix examples

* Removed x-ms-client-flatten

* NextLinkName and fix Check Entity Exist

* Bring back default responses and fix examples

* [Do not merge] CDN in all languages in conf (#2514)

* CDN in all languages in conf

* Review from Node and Amar

* Use "net" in tag and not "csharp"

* Remove wrong C# comment from Readme

* Update Ruby to match real repo

* Fix Ruby folder

* Azure migrate GA and public preview rest api specs. (#2446)

* Azure migrate GA and public preview rest api specs.

* Resolving PR comments and semantic errors

* Modifying dictionary definition in rest api specs

* Defining dictionary in data model

* add delete restore points API (#2593)

* fix name for backward compatibility

* fix name for backward compatibility 2

* fix return type name

* fix message - sdk review comment

* add delete restore points API and change to async for create API

* [Refactor] Client name should be more specific (#2596)

As per request: Azure/azure-sdk-for-python#2048 (review)

* Add DNS 2017-10-01 API version (#2558)

* Add DNS 2017-10-01 API version

* Copy 2017-09-01 DNS API version to 2017-10-01

* Add 2017-10-01 DNS API version

* Add x-ms-client-name for recordsetnamesuffix for RecordSets_ListAllByDnsZone

* Update Sql-ResourceManager readme for list and cancel database/pool operation (#2592)

* Update Sql-ResourceManager readme for a previous pull request on updating list and cancel operation on database and pool

* fix a type in readme

* keep the default tag as unchanged for now

* ApiManagement. Fix reference (#2606)

* ApiManagement. Fix reference

* apimdiagnostics.

* syntax error fix

* Sampling settings added to logger entity (#2600)

* remove async keyword since mocha does not run the tests correctly. (#2609)

* Build Network with Autorest.Python 3.0 (#2611)

* Reorganize policyinsights; change modelAsString for x-ms-enum to true (#2599)

* Swagger specs for all existing versions of Microsoft.PolicyInsights

* Add support for --validate; make where clauses explicit in existing (approval request pending) suppressions; add new suppression for equivalent paths error (approval request pending)

* Fix $top in examples; fix casing in examples

* Fix two more instances of $top type in examples

* Fix metadata examples by adding content type header and changing the body to a single string

* Remove EQUIVALENT_PATH suppressions; add extendedProperties as additionalProperties; add @odata.count to operations; remove "type" from "rows" in first 2017-08-09-preview and add descriptions

* Fix remaining examples with bad casings

* Fix additionalParameters definition; fix duplicate paths

* Remove redundant operations path/definitions from one of the swagger files for each version (one per namespace is sufficient as long as both files are fed into autorest as a bundle)

* Change group name for operations path, and rename response type definition

* Change group name for operations path, and rename response type definition (old API versions)

* Reorganize files; change modelAsString for x-ms-enum to true

Reorganize files (remove resource type based subfolders; rename conflicting example files to have resource type name; change swagger spec files and MD file based on new file locations and names); change modelAsString for x-ms-enum to true based on API review board recommendation

* Dummy change to kick the CI again

* update roledefinition filters to be in sync with the filters present in service (#2586)

* fix the hardcoding of api version for classicadmin in sdk

* fix 2017 version preview file

* update filter to make it in sync with service

* update filter to make it in sync with service

* Fix java code generation for resources (#2613)

* Add on error deployment ARM (#2560)

* Add on error deployment ARM

* Update readme.md file

* Add provisioning state for the on error deployment

* Add on error deployment examples

* fix json

* json formatting

* Fix schema for examples

* 2018-01-01 sync of api changes from 2017-03-01 (#2585)

* Copy changes from 2017-03-01 to 2018-01-01

* 2018-01-01 version specific changes

* [Cognitive Services] March release (add usages operation, addnew/decomission some APIs) (#2544)

* March release initial checkin

1. Add usages operation;
2. Add new APIs;
3. Remove decommisioned APIs

* Add WebLM back

Add WebLM back

* Adding ZRS support for snapshots, new apiversion 2018-04-01 (#2552)

* adding disk.json zrs support for snapshots

* change modelAsString to true to support new enums

* adding create option restore

* adding example files

* adding examples folder and moving files

* adding file

* Update readme.md

* adding 200 responses...

* Adding 2 new APIs for VMSS: Redeploy and PerformMaintenance (#2589)

* Fix SDK breaking change in 2017-10-01 DNS Swagger (#2612)

* Fix SDK breaking change in 2017-10-01 DNS Swagger and add linter error suppressions

* Add scoping to error suppressions in 2017-10-01 DNS Swagger

* ApiMgmt Py conf (#2624)

* Change the default tag to 2017-10 (#2516)

* Add swagger for dataWarehouseUserActivities API (#2389)

* Add swagger for dataWarehouseUserActivities

Add swagger for dataWarehouseUserActivities

* add example file

add example file

* correct case sensitive name

datawarehouseUserActivities to dataWarehouseUserActivities

* add dataWarehouseUserActivityName

add dataWarehouseUserActivityName

* remove "value"

GET ".../activities/current" should be a get single API, so it should not have "value"

* Replace tab spaces with blank spaces

* add missing "body"

* Reducing CI Log output Verbosity (#2619)

* Reducing CI Log output Verbosity

Removing "-v" option from Swagger -> SDK jobs.

Updating the reporter used by `mocha` to use the "min" reporter.
Documenation of available options is here:

http://ricostacruz.com/mocha/#reporters

* Using most up-to-date OAV

* Adding back Swagger -> SDK verbosity.

* Adding OperationalInsights Purge, PurgeStatus operations (#2541)

* Adding OperationalInsights Purge, PurgeStatus operations

* Modifying long running operation

* Diagnostics and Tags are per Api Revision (#2622)

* API managment: make the same description for API 2016-07-07 SubscriptionIdParameter. (#2631)

* Swagger for Salesforce Marketing Cloud Connector, ServiceUri in Dynamics LS, and SSL support in MongoDB LS (#2579)

* Add example for creating Revisions (#2633)

* [Cognitive Services] Change type of limit/currentValue to double from integer (#2627)

Change limit/currentValue to double from integer

* Rename BillingAccount->EnrollmentAccount. (#2626)

* Remove entities-view-parameter from swagger (#2602)

* Add Microsoft.Databricks workspaces swagger (#2594)

* copy of managedapplications.json

* change to databricks.json

* renaming.

* databricks api

* address comments: add patch tags, change GenericResource to TrackedResouce, add some common parameters.

* move sku from TrackedResource to Workspace.

* move resourceGroupName and WorkspaceName to method level

* fix error response.

* add listWorkspacesByResourceGroup nad listWorkspacesBySubscription.

* Adding Container Exec Spec (#2584)

* Adding exec api to swagger operation

* fixing small syntax error

* Updating correct examples for async operation

* fixing ARM header field

* remvoing extra async operations

* Update Python version

* Remove advisor Java block from CognitiveServices readme.md (#2641)

* Adding changes to support Private DNS Public Preview (#2587)

* Copy 2017-10-01 DNS API version to 2018-03-01-preview

* Add 2018-03-01-preview DNS API version

* updating examples to version 2018-03-01-preview

* Adding private zone example

* removing the required property on zoneType also fixing example

* Adding scoping to error suppressions

* Update iotdps.json (#425)

* Added Tags filter for budgets and updated the api version (#2625)

* Added Tags filter for budgets and updated the api version

Added Tags filter for budgets and updated the api version

* Updated comments

Updated comments

* Incorporated review comments

Incorporated review comments

* Incorporated review comments

Incorporated review comments

* Incorporated review comment

Incorporated review comment

* Group DPSCertificate->List with other operations  (#2643)

* fixing relative paths to definitons and commondefinitions.json

* Update iotdps.json

"operationId": "DpsCertificates_List", -> "operationId": "DpsCertificate_List", so the list operation is grouped with the others on docs

* Fix generated doc structure (#2634)

* Plug disks 2018-04-01 for multi api versionning (#2648)

* correct tier enum for postgres (#2629)

* XMSParameterLocation Fixes (#2649)

* Add node config to keyvault for Swagger to SDK (#2650)

* Make OSDisk in storage profile optional (#2652)

* Fix SDK breaking change in 2017-10-01 DNS Swagger ref #2612 (#2656)

* Allow Ruby failure on CI (#2653)

* Updating Travis to enforce branch strategy (#2657)

* Updating Travis to enforce branch strategy

* Fixing some typos

* One more shot

* Negating logic

* Refactor sql readme.md (#2640)

* Refactor sql readme.md

- Rename schema-* to package-pure-* in order to follow convention for python multi-version
- Rename package-2017-10-preview to package-composite-v1. The reasons for this are explained in package-2017-03-01-preview tag. The next tag that I add in the near future will be package-composite-v2, which will represent a breaking change & major version bump for clients.
- Improved description of various sections
- Whitespace/header consistency

* Added package-pure-2017-10 including Go support

* Commented on Go api-versions

* Removed bad python section

* Fixed typo in 2017-10 go package

* Add more enum values for Identity/type in generic resource swagger (#2617)

* Add more enum values for Identity/type in generic resource swagger

Resource types like "Microsoft.Compute/VirtualMachines" have more than
one enum value for Identity/type. Updating generic resource swagger so
it is up-to-date.

* Revert changes in swagger spec for 2017 API Version

* [Monitor] Fixing incorrect specification of top parameter for Metrics API (#2655) (#2662)

* [Monitor] Make all attributes of EventData class readonly (#2254)

* [Monitor] Fixing issue with metricnamespace specification as client level argument #2565

* [Monitor] Fixing incorrect specification of top parameter for Metrics API (#2655)

* Cleaning up branchStrategy messaging (#2663)

* Cleaning up branchStrategy messaging

* Fixing typo

* Improve Microsoft.Insights schema generation (#2632)

* Improve Microsoft.Insights schema generation

- Case of microsoft.insights updated to Microsoft.Insights throughout
- Added schema tag to readme.md to limit the input files

* Properly move folder to update case of name

* Adding 2018-01-22 version for ProvisioningServices and IotHubs (#2542)

* adding DPS camelCase changes, IoT Hub camelCase changes, basic sku

* adding 2018-01-22 changes for dps and iothub

* Add partner name for managmentparnter action response (#2665)

* Adding preview version of Event Hubs Cluster to Azure REST API specs. (#2272)

* Adding preview version of Event Hubs Cluster to Azure REST API specs.

* Adding capacity property to EH Cluster examples.

* Differentiating update semantics with patch semantics.

* RP-Cluster API: Revamping namespaces enumeration in cluster.

* Adding cluster sku property bag and moving capacity to sku. Also adding metricId property to the custom properties bag.

* RP-Cluster: Modifiying EHCluster references to Cluster references. Adding changes to readme file as well.

* RP-Cluster: Adding Event Hubs operations API to Cluster swagger.

* RP-Cluster: Removing leftover EHNamespaces definitions.

* Cluster: Distinguishing between Cluster and Configuration clients in operation ids.

* [AKS] update list of supported VM sizes (#2668)

* [AKS] update list of supported VM sizes

* Sync up ACS VM sizes with AKS sizes

* Fixing error in naming convention for rows and cols (#2651)

* Support azureFunctionReceivers in actionGroup APIs (#2659)

* [AKS] specify byte format for base64-encoded kubeconfig (#2669)

* Adding API Specs for Long Term Retention V2 (#2256)

* Adding API Specs for Long Term Retention V2

This change adds the swagger documentation for the Long Term Retention V2 feature along with examples for each of the APIs.. This includes the following APIs:

Get an LTR Backup
Get all LTR Backups under a database
Get all LTR Backups under a server
Get all LTR Backups under a location
Delete an LTR Backup
Set a database's LTR Policy
Get a database's LTR Policy

* Remove empty properties and update retention description

This update is a response to the few comments that Anu left on the PR. It removes an empty properties entry and updates the retention descriptions to explain that they use an ISO 8601 standard.

* Description and Entity Name Changes

Made some slight changes to the entity names to better align with LTR V1 and added some better descriptors to some property descriptions.

* Fixing Incorrect Description

 The weekOfYear parameter is not in an ISO 8601 format, it is just an integer between 1 and 52. Fixing that accordingly.

* Remove Conflicting Definitions

Need to remove backupLongTermRetentionPolicies so it doesn't conflict with the new backupLongTermRetentionPolicies.

* Remove Reference to backupLongTermRetentionPolicies.json

Need to remove the reference to backupLongTermRetentionPolicies.json in the readme.

* Update ResourceId

Updated the resource ID for longTermRetentionBackups so servers and databases are now longTermRetentionServers and longTermRetentionDatabases, respectively. This better aligns with REST.

* Re-Adding LongTermRetentionPolicyGet.json

LongTermRetentionPolicyGet.json was accidentally deleted in the last commit.

* Fix Travis CI Errors

Made some changes to the examples to fix the Travis CI errors.

* Updating more references to BackupLongTermRetentionPolic(y|ies)

* Re-adding backupLongTermRetentionPolicies.json

* removing .travis.yml that was accidentally added

* Revert "removing .travis.yml that was accidentally added"

This reverts commit 3b80fa0.

* Revert "Re-adding backupLongTermRetentionPolicies.json"

This reverts commit b98cf6c.

* undoing accidental .travis.yml

* Fixing errors in model PR_ONLY=true Travis CI run

* Fixing another Travis CI error

* Removing .travis.yml from the change and changing LongTermRetentionPolicy to BackupLongTermRetentionPolicy to keep it consistent

* resetting backupLongTermRetentionPolicies.json

* Update more references of LongTermRetentionPolicy to BackupLongTermRetentionPolicy

* updating readme.md comment

* Add package-version for ADF (#2674)

* Remove azure-validation from readme file (#2676)

* Add CODEOWNERS file (#2673)

This file will be used to automatically request PR reviews from SMEs on
the service teams. It is autogenerated based on previous PR submitters.

* Add Go tag for api management, api version 2018-01-01 (#2677)

* Add Go tag for api management, api version 2018-01-01

* Generate go to preview path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants