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

[Ready to MERGE] Swagger for Tenant Properties API #5038

Merged
merged 13 commits into from
Feb 22, 2019

Conversation

santoshsinha100
Copy link
Contributor

@santoshsinha100 santoshsinha100 commented Jan 15, 2019

added swagger for Tenant Properties

Latest improvements:

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

Contribution checklist:

  • I have reviewed the documentation for the workflow.
  • Validation tools were run on swagger spec(s) and have all been fixed in this PR.
  • The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

  • Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
  • adding/removing APIs.
  • adding/removing properties.
  • adding/removing API-version.
  • adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

  • If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
    Please follow the link to find more details on API review process.

added swagger for Tenant Properties
@openapi-portal-comment
Copy link

If you're a MSFT employee, click this link
to view this PR's validation status on our new OpenAPI Hub spec management tool.

@msftclas
Copy link

msftclas commented Jan 15, 2019

CLA assistant check
All CLA requirements met.

@AutorestCI
Copy link

AutorestCI commented Jan 15, 2019

Automation for azure-sdk-for-js

Encountered an unknown error: (azure-sdk-for-js)

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/azure_devtools/ci_tools/github_tools.py", line 33, in exception_to_github
    yield context
  File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/restapi/github.py", line 170, in rest_handle_action
    return rest_pull_close(body, restapi_repo, sdk_pr_target_repo, sdkbase, sdk_tag)
  File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/restapi/github.py", line 185, in rest_pull_close
    rest_pr_management(rest_pr, sdk_pr_target_repo, sdk_tag, sdk_default_base)
  File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/restapi/github_handler.py", line 151, in rest_pr_management
    sdk_tag=sdk_tag
  File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/SwaggerToSdkNewCLI.py", line 310, in generate_sdk_from_git_object
    sdk_repo.git.push('origin', branch_name, set_upstream=True)
  File "/usr/local/lib/python3.6/dist-packages/git/cmd.py", line 548, in <lambda>
    return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/git/cmd.py", line 1014, in _call_process
    return self.execute(call, **exec_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/git/cmd.py", line 825, in execute
    raise GitCommandError(command, status, stderr_value, stdout_value)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git push --set-upstream origin restapi_auto_5038
  stderr: 'remote: Permission to Azure/azure-sdk-for-js.git denied to AutorestCI.
fatal: unable to access 'https://AutorestCI:[email protected]/Azure/azure-sdk-for-js.git/': The requested URL returned error: 403'

@AutorestCI
Copy link

AutorestCI commented Jan 15, 2019

Automation for azure-sdk-for-python

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

@AutorestCI
Copy link

AutorestCI commented Jan 15, 2019

Automation for azure-sdk-for-ruby

A PR has been created for you:
Azure/azure-sdk-for-ruby#2165

@AutorestCI
Copy link

AutorestCI commented Jan 15, 2019

Automation for azure-sdk-for-java

Encountered an unknown error: (azure-sdk-for-java)

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/azure_devtools/ci_tools/github_tools.py", line 33, in exception_to_github
    yield context
  File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/restapi/github.py", line 170, in rest_handle_action
    return rest_pull_close(body, restapi_repo, sdk_pr_target_repo, sdkbase, sdk_tag)
  File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/restapi/github.py", line 185, in rest_pull_close
    rest_pr_management(rest_pr, sdk_pr_target_repo, sdk_tag, sdk_default_base)
  File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/restapi/github_handler.py", line 151, in rest_pr_management
    sdk_tag=sdk_tag
  File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/SwaggerToSdkNewCLI.py", line 310, in generate_sdk_from_git_object
    sdk_repo.git.push('origin', branch_name, set_upstream=True)
  File "/usr/local/lib/python3.6/dist-packages/git/cmd.py", line 548, in <lambda>
    return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/git/cmd.py", line 1014, in _call_process
    return self.execute(call, **exec_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/git/cmd.py", line 825, in execute
    raise GitCommandError(command, status, stderr_value, stdout_value)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git push --set-upstream origin restapi_auto_5038
  stderr: 'remote: Permission to Azure/azure-sdk-for-java.git denied to AutorestCI.
fatal: unable to access 'https://AutorestCI:[email protected]/Azure/azure-sdk-for-java.git/': The requested URL returned error: 403'

@AutorestCI
Copy link

AutorestCI commented Jan 15, 2019

Automation for azure-sdk-for-node

A PR has been created for you:
Azure/azure-sdk-for-node#4734

@AutorestCI
Copy link

AutorestCI commented Jan 15, 2019

Automation for azure-sdk-for-go

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

@azuresdkci
Copy link
Contributor

Can one of the admins verify this patch?

Santosh Sinha added 2 commits January 15, 2019 10:20
Fixed camel casing in billing.json file
@@ -402,7 +443,7 @@
"$ref": "#/definitions/EnrollmentAccountProperties"
}
}
},
},
Copy link
Contributor

Choose a reason for hiding this comment

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

Trim?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Copy link
Contributor

Choose a reason for hiding this comment

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

👍 looks like you replaced the next line indentation with a tab though 😉

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't see any tab in notepadd ++. Can you please approve it else it won't get published as ARM api.

Santosh Sinha added 3 commits January 15, 2019 11:47
changes in DiscoverTenants contracts
billing.Json trim blank space
@santoshsinha100
Copy link
Contributor Author

I am getting below error while trying to run the checks on GitHub after billing.json update. However all the remaining checks and OAV test were performed and passed. Can you please help me on this.

Here’s the ARM Manifest update PR. I have created for “DiscoverTenant” api.
https://armmanifest.visualstudio.com/One/_git/Manifest/pullrequest/468?_a=files

AutoRest code generation utility [version: 2.0.4283; node: v8.12.0]
(C) 2018 Microsoft Corporation.
https://aka.ms/autorest
Loading AutoRest core '/root/.autorest/@[email protected]/node_modules/@microsoft.azure/autorest-core/dist' (2.0.4289)
Loading AutoRest extension '@microsoft.azure/autorest.java' (2.1.71->2.1.71)
Loading AutoRest extension '@microsoft.azure/autorest.modeler' (2.3.38->2.3.38)
Processing batch task - {"tag":"package-2017-04-preview"} .
Processing batch task - {"tag":"package-2018-03-preview"} .
FATAL: System.Exception: Duplicate File Generation: src/main/java/com/microsoft/azure/management/billing/v2018_03_01_preview/TenantProperties.java
at AutoRest.Core.CodeGenerator.d__13.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at AutoRest.Core.CodeGenerator.d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at AutoRest.Java.Azure.Fluent.CodeGeneratorJvaf.d__6.MoveNext() in /opt/vsts/work/1/s/src/azurefluent/CodeGeneratorJvaf.cs:line 106
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at AutoRest.Java.Program.d__3.MoveNext() in /opt/vsts/work/1/s/src/Program.cs:line 114
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NewPlugin.d__15.MoveNext()
FATAL: java/generate - FAILED
FATAL: Error: Plugin java reported failure.
Process() cancelled due to exception : Plugin java reported failure.
Failure during batch task - {"tag":"package-2018-03-preview"} -- Error: Plugin java reported failure..
Error: Plugin java reported failure.

@santoshsinha100
Copy link
Contributor Author

Can you please approve as this is blocking my ARM API to get published.

@praries880 praries880 added the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Jan 15, 2019
@@ -431,6 +471,26 @@
}
}
},
"DiscoverTenants": {

Choose a reason for hiding this comment

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

The build issue in Java is because this name is a plural.

Also, why if the field names DiscoverTenants? Should it be Tenant or TenantInfo as it is describing a Tenant?

I will leave that call to the ARM team...

In the meanwhile, to fix the build break, can you remove the plural from the name... and just change it to the following :

Suggested change
"DiscoverTenants": {
"DiscoverTenant": {

Copy link
Contributor Author

Choose a reason for hiding this comment

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

build issue is fixed now. Waiting for approval.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Regarding Name "DiscoverTenants" its actually doing a tenant discovery in Power BI custom connector and this API is designed only for that purpose. I hope this justifies your query.

removal of plural name
@santoshsinha100
Copy link
Contributor Author

santoshsinha100 commented Jan 15, 2019 via email

@@ -199,8 +199,8 @@
}
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Billing/invoices": {
},
Copy link
Contributor Author

Choose a reason for hiding this comment

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

we are moving our new API "discoverTenants" from "Microsoft.Billing" to "Microsoft.Consumption". All the change we made previously remains the same except for different folder and path.

}
}
}
},
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We are moving our new API "discoverTenants" from "Microsoft. Billing" to "Microsoft.Consumption". All the change we made previously remains the same except for different folder and path. There is no change in the URL pattern we agreed in our previous discussion.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There is change in namespace and addition of one extra parameter "billingAccountId".

…untId"

Change in Namespace followed by one additional parameter "billingAccountId"
"readOnly": true
}
}
},
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Change in Namespace followed by one additional parameter "billingAccountId"

@KrisBash KrisBash added ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review and removed ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review labels Jan 23, 2019
@praries880
Copy link

@santoshsinha100 do let us lknow when its safe to merge these changes in

Change of method name from discoverTenants to tanants.
"200": {
"description": "OK. The request has succeeded.",
"schema": {
"$ref": "#/definitions/TenantListResult"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changes in tenant response as per ARM recommendations.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Also changes in route from "discoverTenants" to "tenants" now.

changes ion response type
added name after Id. Code review implementation
@ryansbenson ryansbenson added ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review and removed ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review labels Jan 25, 2019
Copy link
Contributor

@ryansbenson ryansbenson left a comment

Choose a reason for hiding this comment

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

Discussed offline and Santosh will be moving the /tenants api to a new api version before approval

@ryansbenson ryansbenson added ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review and removed ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review labels Jan 25, 2019
Copy link
Contributor

@ryansbenson ryansbenson left a comment

Choose a reason for hiding this comment

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

We will be leaving the tenants API in 2018-10-01 as defined in this PR

@santoshsinha100 santoshsinha100 changed the title [DO NOT MERGE] Swagger for Tenant Properties API [Ready to MERGE] Swagger for Tenant Properties API Feb 22, 2019
@santoshsinha100
Copy link
Contributor Author

This item is long due and ready to merge. Can you please merge this item to close an open item in our 360 dashboards. All the comments are resolved. Arm manifest was reviewed and got successfully updated.

Please close this open item.

https://msazure.visualstudio.com/Unified%20Platform%20KPIs/_workitems/edit/3598659

@praries880
Copy link

@santoshsinha100 You don't seem to have signed the CLA... can you kindly click on the Details link for the one pending CI check and sign it?

@praries880 praries880 merged commit a628a43 into Azure:master Feb 22, 2019
sergey-shandar added a commit that referenced this pull request Feb 25, 2019
* DataFactory Swagger Change for SapOpenHub and Rest (#5195)

* DataFactory Swagger Change for SapOpenHub and Rest

* correct indentation

* address comment of REST

* fix syntax issue

* Fix issue with AutoRest

* Add cognitive service AnomalyFinder (#5126)

* add AnomalyFinder swagger json

* AnomalyFinder update swagger json

* add AnomalyFinder readme

* fix file path; change class name;

* make camelCase style

* fix typo; change operationId; remove hard code arg limitation;

* fix type of "sensitivity"; change description of "timestamp";

* Improving secretVersion description (#5220)

* [Cogsvcs] LUIS - add text to simple entity description (#5216)

* Add hwRevision field to HanaInstance definition (#5196)

* [DataFactory] Swagger changes for ADF newly released features: (#5218)

* Swagger changes for ADF newly released features:
1. I can load data from o365 by leveraging the REST endpoint of o365
2. Support copying incremental files based on lastModifiedTime for S3/File/Blob
3. Enable ADLS Gen2 connector as both source & sink
4. Support data migration from MongoDB to CosmosDB (MongoDB API)
5. Make Kusto source/sink better and support Azure Data exploer source/sink
6. Support copy from ADLS Gen1 to ADLS Gen2 with ACL
7. serviceUrl @ S3 linked service
8. I can copy from Dynamics AX
9. AAD OAuth for OData Linked Service
10. I can copy from Oracle Service Cloud and Google Adwords

* fix swagger definetion for MongoDB Srouce cursor method.

* fix Amazon S3 servie url definition

* fix CosmosDbMongoDbApiSink

* Fix several typos

* Add maxConcurrentConnections in CopySource and CopySink

* Node v 10. (#5236)

* Remove API reference of Gender::genderless. (#5188)

* Add an Operations API for Commitment Plan RP (#5222)

* Add an Operations API for Commitment Plan RP

* Add OperationEntityListResult related definitions

* Fix case typo

* Fix tab to spaces

* Fix NewtonSoftJson Issue (#5240)

* Support create pipeline run with recovery mode

* Update description of isLatest

* Update descriptions

* update autorest version to fix CI

* Add suppresses for Machine Learning Commitment Plan RP (#5221)

* typo: datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/ (#5238)

- Adwords -> AdWords
- connectioned to -> for the

* scripts (#5213)

* scripts

* TRAVIS_PULL_REQUEST

* another try

* TRAVIS_PULL_REQUEST_SLUG

* TRAVIS_REPO_SLUG

* Swagger to SDK

* linter and ruby

* not really a slug

* pool

* indent

* strange

* URI

* env vars

* uri

* env var

* TRAVIS_PULL_REQUEST_SLUG

* matrix

* Azure OpenAPI name

* linter: autorest fix

* error handling and PR_ONLY = true

* syntax

* pipelines.

* job name

* job name

* Names

* params, no getStatus.js

* No CI, only PR validations.

* displayName

* revert back

* no need to show vars

* Fix for lintdiff tool memory issue. (#5246)

* node options

* correct NODE_OPTIONS

* lintdiff travis-ci

* 2019 Azure Stack hybrid Profile. (#5212)

* 2019 Azure Stack hybrid Profile.

* fixing changes for profile

* remove space

* formatted profile

* [Azure Search] Add Suggest and Index APIs to data plane Swagger spec (#5219)

* Renaming Search|SuggestParametersPayload to *Request and making them internal

Made AutocompleteRequest internal too, and fixed some incorrect comments.

* Adding Suggest API to the Azure Search data plane spec

* Fixing validation error in Suggest example

* Adding Index API to the Azure Search data plane spec

* Make example names consistent

* Adding new properties to Databricks LS and custom activity (#5214)

* typo: instantitate -> instantiate (#5251)

* Users/laramume/addv2.1 swagger (#5187)

* updated model names in preview version to be consistent with stable version to avoid breaking changes in client side code

* changed swagger files

* added v2.1 swagger

* added v2.1 swagger

* added v2.1 swagger

* added v2.1 swagger

* added v2.1 swagger

* resolved PR comments

* Update swagger file and examples with time zone parameter (#5224)

* Update swagger documetation to mark Collation property as writable.

Change Managed Instance collation property from read only to read and create.
Add collation to properties section in ManagedInstanceCreateMax example.

VSTS task: 12336257

* Remove 'cosmetics' from swagger.

* Remove comma as redundant

* Return to the initial, generated state.

* Update swagger file and examples with time zone parameter

* Minor (but improtant) changes in Azure DevOps pipeline. (#5253)

* empty parameters

* TRAVIS_BRANCH

* target branch

* trying to set env var

* use shell

* info

* more info

* Pull Request Number

* [Ready to MERGE] Swagger for Tenant Properties API (#5038)

* added swagger for Tenant Properties

added swagger for Tenant Properties

* Fixed camel casing in billing.json file

Fixed camel casing in billing.json file

* Update billing.json

* changes in DiscoverTenants contracts

changes in DiscoverTenants contracts

* billing.Json trim blank space

billing.Json trim blank space

* Update billing.json

* removal of plural name

removal of plural name

* Updating the route

Updating the route as per suggestion

* Moved Swagger for Discover Tenants from billing to consumption

Moved Swagger for Discover Tenants from billing to consumption

* Change in Namespace followed by one additional parameter "billingAccountId"

Change in Namespace followed by one additional parameter "billingAccountId"

* Change of method name from discoverTenants to tanants.

Change of method name from discoverTenants to tanants.

* changes ion response type

changes ion response type

* added name after Id. Code review implementation

added name after Id. Code review implementation

* Add JavaScript/TypeScript generation details to resource-manager/netapp (#5261)

* Azure Security Center - break-to-composite v1 (#5197)

* Azure Security Center - break-to-composite v1

* Azure Security Center - composite api v1 - suppress email format
dsgouda pushed a commit that referenced this pull request Mar 15, 2019
* Adds base for updating Microsoft.Network from version stable/2018-12-01 to version 2018-12-01

* Updates readme

* Updates API version in new specs and examples

* Network: Duplicate tags in readme file. (#5227)

* FI from `master` branch to `network-february-release`. (#5262)

* DataFactory Swagger Change for SapOpenHub and Rest (#5195)

* DataFactory Swagger Change for SapOpenHub and Rest

* correct indentation

* address comment of REST

* fix syntax issue

* Fix issue with AutoRest

* Add cognitive service AnomalyFinder (#5126)

* add AnomalyFinder swagger json

* AnomalyFinder update swagger json

* add AnomalyFinder readme

* fix file path; change class name;

* make camelCase style

* fix typo; change operationId; remove hard code arg limitation;

* fix type of "sensitivity"; change description of "timestamp";

* Improving secretVersion description (#5220)

* [Cogsvcs] LUIS - add text to simple entity description (#5216)

* Add hwRevision field to HanaInstance definition (#5196)

* [DataFactory] Swagger changes for ADF newly released features: (#5218)

* Swagger changes for ADF newly released features:
1. I can load data from o365 by leveraging the REST endpoint of o365
2. Support copying incremental files based on lastModifiedTime for S3/File/Blob
3. Enable ADLS Gen2 connector as both source & sink
4. Support data migration from MongoDB to CosmosDB (MongoDB API)
5. Make Kusto source/sink better and support Azure Data exploer source/sink
6. Support copy from ADLS Gen1 to ADLS Gen2 with ACL
7. serviceUrl @ S3 linked service
8. I can copy from Dynamics AX
9. AAD OAuth for OData Linked Service
10. I can copy from Oracle Service Cloud and Google Adwords

* fix swagger definetion for MongoDB Srouce cursor method.

* fix Amazon S3 servie url definition

* fix CosmosDbMongoDbApiSink

* Fix several typos

* Add maxConcurrentConnections in CopySource and CopySink

* Node v 10. (#5236)

* Remove API reference of Gender::genderless. (#5188)

* Add an Operations API for Commitment Plan RP (#5222)

* Add an Operations API for Commitment Plan RP

* Add OperationEntityListResult related definitions

* Fix case typo

* Fix tab to spaces

* Fix NewtonSoftJson Issue (#5240)

* Support create pipeline run with recovery mode

* Update description of isLatest

* Update descriptions

* update autorest version to fix CI

* Add suppresses for Machine Learning Commitment Plan RP (#5221)

* typo: datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/ (#5238)

- Adwords -> AdWords
- connectioned to -> for the

* scripts (#5213)

* scripts

* TRAVIS_PULL_REQUEST

* another try

* TRAVIS_PULL_REQUEST_SLUG

* TRAVIS_REPO_SLUG

* Swagger to SDK

* linter and ruby

* not really a slug

* pool

* indent

* strange

* URI

* env vars

* uri

* env var

* TRAVIS_PULL_REQUEST_SLUG

* matrix

* Azure OpenAPI name

* linter: autorest fix

* error handling and PR_ONLY = true

* syntax

* pipelines.

* job name

* job name

* Names

* params, no getStatus.js

* No CI, only PR validations.

* displayName

* revert back

* no need to show vars

* Fix for lintdiff tool memory issue. (#5246)

* node options

* correct NODE_OPTIONS

* lintdiff travis-ci

* 2019 Azure Stack hybrid Profile. (#5212)

* 2019 Azure Stack hybrid Profile.

* fixing changes for profile

* remove space

* formatted profile

* [Azure Search] Add Suggest and Index APIs to data plane Swagger spec (#5219)

* Renaming Search|SuggestParametersPayload to *Request and making them internal

Made AutocompleteRequest internal too, and fixed some incorrect comments.

* Adding Suggest API to the Azure Search data plane spec

* Fixing validation error in Suggest example

* Adding Index API to the Azure Search data plane spec

* Make example names consistent

* Adding new properties to Databricks LS and custom activity (#5214)

* typo: instantitate -> instantiate (#5251)

* Users/laramume/addv2.1 swagger (#5187)

* updated model names in preview version to be consistent with stable version to avoid breaking changes in client side code

* changed swagger files

* added v2.1 swagger

* added v2.1 swagger

* added v2.1 swagger

* added v2.1 swagger

* added v2.1 swagger

* resolved PR comments

* Update swagger file and examples with time zone parameter (#5224)

* Update swagger documetation to mark Collation property as writable.

Change Managed Instance collation property from read only to read and create.
Add collation to properties section in ManagedInstanceCreateMax example.

VSTS task: 12336257

* Remove 'cosmetics' from swagger.

* Remove comma as redundant

* Return to the initial, generated state.

* Update swagger file and examples with time zone parameter

* Minor (but improtant) changes in Azure DevOps pipeline. (#5253)

* empty parameters

* TRAVIS_BRANCH

* target branch

* trying to set env var

* use shell

* info

* more info

* Pull Request Number

* [Ready to MERGE] Swagger for Tenant Properties API (#5038)

* added swagger for Tenant Properties

added swagger for Tenant Properties

* Fixed camel casing in billing.json file

Fixed camel casing in billing.json file

* Update billing.json

* changes in DiscoverTenants contracts

changes in DiscoverTenants contracts

* billing.Json trim blank space

billing.Json trim blank space

* Update billing.json

* removal of plural name

removal of plural name

* Updating the route

Updating the route as per suggestion

* Moved Swagger for Discover Tenants from billing to consumption

Moved Swagger for Discover Tenants from billing to consumption

* Change in Namespace followed by one additional parameter "billingAccountId"

Change in Namespace followed by one additional parameter "billingAccountId"

* Change of method name from discoverTenants to tanants.

Change of method name from discoverTenants to tanants.

* changes ion response type

changes ion response type

* added name after Id. Code review implementation

added name after Id. Code review implementation

* Add JavaScript/TypeScript generation details to resource-manager/netapp (#5261)

* Azure Security Center - break-to-composite v1 (#5197)

* Azure Security Center - break-to-composite v1

* Azure Security Center - composite api v1 - suppress email format

* Add globalReachEnabled, Add Get and list for peer express route circuit connections. Remove allowGlobalReach (#5266)

* Added GlobalReachEnabled field. Added GET and List apis for peer express route circuit connections. Removed AllowGlobalReach as it was a dead field and abandoned in favor for GlobalReachEnabled

* adding allow gloabl reach back

* fixed typo

* Fix descriptions & remove unused/duplicate definitions (#5243)

* Add support for Local Sku (#5317)

* Add WAF as a top level resource (#5341)

* Add WAF as a top level resource

* Fix merge

* Addressed comments

* Addressed comments

* Code review comments

* fix issue for powershell

* add health probe log

* address the comments

* increase Node.js memory

* double the memory

* print node_options

* mistake

* pass to docker

* FI from master to network-february-release (#5391)

* Add mixedreality 2019-02-28 API version to Go SDK (#5271)

* Remove ARM gateway Node.js configuration (#5283)

* Updates to Scheduled Query Rule swagger (#5175)

- making aznsaction paramter optional
  - removing hidden-link value from tags
pu

* Fix JavaScript configuration for ARM Private DNS SDK (#5284)

* Fix JavaScript configuration for ARM Private DNS SDK

* Add quotes

* Add private preview API for Azure Image Builder (#5055)

* Add private preview API for Azure Image Builder

* Review comments

 - Added list-by-resource-group and list-by-subscription
 - Added default error response
 - Removed explicit operation url (implied by async contract)
 - Adjusted 'delete' response codes to match expectations
 - Allow patch for tags
 - Added provider operations API

* Review comment: use "nextLink" for paging

* Adding readme files for SDK generation

* PR: rename 'tags' -> 'artifactTags' for distributor

* Add examples, fix minor issues in swagger

* Updating Blueprint spec to include resource group tags (#5263)

* Add Showback model (#5217)

* Add Showback model

* fix ShowbackRule.json example

* remove "," from line 1709

* Add Put Rule

* Fix Scope

* Update json with pull request changes

* change recurring to enum

* chore: Graphservice -> GraphService (#5098)

* Enable SSL on custom domains using users certificate or CDN managed certificate (#5276)

* Translator Text API V3 (#5230)

* Translator Text API V3

* Fix path and override

* Fix a typo and few other improvements in descriptions.

* Remove after_scripts

* Update readme.md

* Update readme.md

* Update MariaDB api version (#5280)

* Adding Swagger and examples for VirtualClusters operation group (#5248)

* Adding Swagger file for VirtualClusters operation group, together with examples.

* Fixing api version, typos and location in examples.

* Adding virtualclusters.json to readme.md

* Security - Updating API versions of alerts and pricing types (#5269)

* Security - Updating api versions of alerts and pricing types

* fix codegen paths for Go SDK

* typo: asscociation -> association (#5252)

* Fix lintdiff issue (#5299)

* fix Go SDK package path for mariadb stable release (#5298)

* changes to improve documentation of endpoint health statuses for routing (#5290)

* add netapp to Go SDK (#5308)

* Update MariaDB default API version to 2018-06-01 (#5302)

* new application insignts api version for unified schema in action (#5292)

* Added Azure App Configuration event data schema. (#5309)

* Added Azure App Configuration event data schema.

* Added a few missing pieces.

* Prefixed event names with our service prefix 'AppConfiguration'.
* Added Microsoft.AppConfiguration to the event grid data-plane readme.

* Updated api-version path to '2018-01-01' from '2018-02-01'.

* Apim Cache resource + DELETE long running + refactor to align with tooling. (#5260)

* api import and service delete long running operation

* Bring your own Cache

align with spec generated from tooling

user and notification align

Refactor products and apis

* align with spec generated from tooling

user and notification align

Refactor products and apis

validating examples

validating examples

move all parameters to apimanagement.json

Fix reference issue with tagcontract and example DeleteCache.

* switch to plural example file names for LIST

* bring back updatehostname and updatecertificate

* Dev adhybridhealthservice microsoft.ad hybrid health service 2014 01 01 binilkk (#5042)

* Fixes for:

Issue #1 : #4576 (comment)

Typo in the DeltaOperationType Enum.

Issue #2 : #4844 (comment)

GlobalAdmins list is marked as an object, while it's an array.

* Updated the Specification as example for Risky IP Download report.

* Added the Result details

* Fixed review comments, changed the URI scheme as well as changed get/post methods

* Addressing Review Feedback, changing POST call of blobUri -> generateBlobUri

* Update UserAssignedIdentities spec in Web (#5288)

* Update UserAssignedIdentities spec in Web

Microsoft.Web recently added support for UserAssigned managed service identities (in preview), but the swagger spec is incorrect for the identity payload as it follows the old construct of sending an array of identityIds as opposed to the updated spec which instead sends a dictionary object called userAssignedIdentities. 

Spec + history outlined here:
http://sharepoint/sites/AzureUX/Sparta/_layouts/15/WopiFrame2.aspx?sourcedoc=%7b633632B4-02E4-4DE2-92A9-EDCAF9BE73D4%7d&file=ARM%2BMSI.docx&action=default 

Our swagger contains identityids[] because of previous work to future support UserAssigned identities, but never released the feature in that state, rather we opted to wait for the new spec to be supported and then integrated with that on our end. 

Our MSI implementation reflects Microsoft.Compute's spec for user assigned.

https://github.com/Azure/azure-rest-api-specs/blob/78e1feab142c605839aa3cec23442ca26b8ef04d/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/compute.json

* fix linterdiff tool

* Add private dns module name for java codegen (#5312)

* Update Swagger Files For ManagedInstanceAdministrator (#5095)

* Update Swagger Files For ManagedInstanceAdministrator

* Fix for double wording

* Comments resolved

* Bringing consistency between to "ResourceGroup" definition (#5256)

* Bringing consistency between this "ResourceGroup" definition and the one in Common.

* Fixing broken references

* reverted security python readme to pre multi api (#5301)

* [Azure Search] Add Search API to data plane Swagger spec (#5315)

* [Azure Search] Updating some Swagger descriptions to be more doc-friendly

Sometimes we over-describe things, especially "comma-separated lists" in
query string parameters. These are modeled as arrays in Swagger, which are
already understood to be comma-separated lists. They are modeled as
collections in generated code, so they are decidedly not comma-separated
lists in that context. So removing this phrase is a win-win.

* [Azure Search] Adding some missing readOnly attributes

* Adding Search API to the Azure Search data plane spec

* [Azure Search] Use regexes to generate code for server-side paging

This change introduces some very hacky regexes to customize the generated
code for server-side paging of the GET and POST Search APIs. They work by
splitting the generated SearchGet and SearchPost operations in two, so that
the portion that operates on a URL and request body can be reused.

This workaround is necessary because AutoRest lacks flexibility around
paging. The current x-ms-pageable implementation doesn't work for us because
it doesn't model additional top-level response properties or continuation
POST requests (only nextLink/GET).

The only other alternative to this approach besides custom code would have
been to try to parse the nextLink URL query string to reconstitute parameters
to pass to the generated SearchGet and SearchPost operations. This is
unacceptable for Azure Search, since it would exclude custom parameters that
can't be modeled in Swagger, like personalization IDs for custom ranking.
Neither AutoRest nor apparently Open API support modeling arbitrary query
string parameters.

Ideally we'll find a pattern common to other data plane APIs so we don't have
to hack this with regexes for every target language, but it's good enough for
now.

* [Azure Search] Rename some client properties for consistency

* [Azure Search] Make AutocompleteMode non-nullable

* [Hub Generated] Review request for Microsoft.Web to add version 2018-02-01 (#5137)

* Add Hosting Environment network dependencies

* Address PR description feedback

* Add Network Dependencies examples

* Fix casing

* Remove incorrect pagination from examples.

* Add missing MarketplaceOrdering operations to swagger (#5279)

* Add missing MarketplaceOrdering operations to swagger

* Add examples

* Add example files

* Apply suggestions from code review

Clarify operation descriptions

Co-Authored-By: zachraMSFT <[email protected]>

* Fix Hosting Environment Network Dependencies pagination (#5320)

* Add regex validation for ManagedClusterAgentPoolProfile.name (#5324)

* Adding instance pools swagger (#5225)

* Initializing instance pools swagger and examples - no usages / managed instances get by instance pool

* updates to use common resource and sku definitions

* Update instance pool swagger with typo fixes

* Updates to instance pool swagger and reverting readme.md to exclude instance pools reference

* Fix whitespace diff

* Making a whitespace change to re-try linter validation

* Updates to add list instances pools by subscription and update license type param to use enum which is limited to LicenseIncluded and BasePrice

* Enhanced A2ARecoveryPointDetails with "disks" (#5307)

* [DiskRP] Adding swagger spec for 09-30-2018 (#5232)

* commit for the older swagger version to make the PR easier to look at

* Adding the DiskRP 09-30-2018 swagger spec. This includes support for hyperVGeneration, encryptionSettingCollections, diskState, Upload Disks, and Write access

* adding the updated readme

* updating the examples to use 09-30-2018

* removing extraneous examples

* adding a description for the EncryptionSettingsElementand fixing linter issues

* [Computer Vision] Add read to CV OCR API. (#5314)

* Add read to OCR API.

* Add description to OCR related JSON properties.

* Mark asyncBatchAnalyze as long running operation.

* Update page property.

* Revert "Mark asyncBatchAnalyze as long running operation."

This reverts commit 51742b3.

* added links to limits for application gateway (#5265)

* typo: Winodws -> Windows (#5321)

* MultiApi EventHub (#5331)

* try 2 bootstrapping swagger to .net sdk tools (#5334)

* bootstrapping swagger to .net sdk tools

* deleting nuget.exe binary. Updating configs to locally restore pacakges. Adding the directory that will be used in restoring packages locally to .gitignore

* changing directory

* updating feed location to a readonly directory

* Azure Search: Resource Manager: Support 'None' Identity type (#5319)

* Azure Search: Resource Manager: Support 'None' Identity type

* Azure Search: Resource Manager: Adding serice identity creation\removal examples

* [ADLA] - Catalog - Add stream path to USqlTableFragment (#5329)

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

* Add GTM scopes for budgets API

* Removed the extra period at the end of the statement

* fixing stos.proj parameter (#5338)

* change flag name from useUnifiedSchema into useCommonAlertSchema per UX requirement (#5323)

* Enhanced A2A protection input and response details (#5330)

Enhanced A2AEnableProtectionInput & A2AReplicationDetails objects with recoveryAvailabilityZone, recoveryAzureNetworkId, and recoverySubnetName.

* [Hub Generated] Review request for Microsoft.ContainerService to add version 2019-02-01 (#5350)

* Adds base for updating Microsoft.ContainerService from version preview/2018-08-01-preview to version 2019-02-01

* Updates readme

* Updates API version in new specs and examples

* [AKS] add availabilityZones to agent pool profile (#5120)

* including orchestratorVersion and provisioning state for agent pool (#5156)

* including orchestratorVersion and provisioning state for agent pool

* fixing the readme.go.md

* including enablePodSecurityPoliy properties for managedcluster and updating examples

* fixing the example for enablePodSecurityPolicy

* including apiServerAuthorizedIPRanges (#5286)

* including apiServerAuthorizedIPRanges

* support azure network policy

* mark the new features as PREVIEW in description  (#5310)

* mark the new features as PREVIEW

* mark vmss as required for az

* Azure Event Grid: Add 2019-02-01-preview tags for Ruby and Go readme files (#5349)

* Add 2019-02-01-preview tags for Ruby and Go readme files

* fix wrong preview subdirectory

* Update some descriptions. (#5305)

* update description. (#5335)

* Added VNet API (#5351)

* EventHub : corrected typo  (#5360)

* corrected typo in uri

* removed unused parameters

* Add annotations property to trigger (#5332)

* EventHub: Revert the NetworkRuleSet  (#5363)

* Revert "EventHub : corrected typo  (#5360)"

This reverts commit 1495122.

* Revert "Added VNet API (#5351)"

This reverts commit f2ab4a8.

* Remove the AzureDataLakeStoreCosmosStructuredStreamDataset since it's internal only (#5277)

* Removing SDK generation from Travis-CI (#5367)

* Microsoft.DataBoxEdge RP: Corrected comments of trigger and extendedinfo APIs, corrected examples (#5322)

* Corrected comments of trigger and extendedinfo APIs, corrected examples

* Microsoft.DataBoxEdge RP: Have better examples

* Corrected parameter description in order API

* oad => @azure/oad (#5362)

* oad => @azure/oad

* oad => @azure/oad

* SRP Swagger changes for 2018-11-01 (#5300)

* SRP Swagger changes for 2018-11-01

* Address CR comments

* Restrict ManagementPolicyRule -> type property to have only values from defined enum

* Make ManagementPolicySchema/version an enum string

* Remove 'version' property from ManagementPolicy schema

* Added List Policies API to SecurityAlerts (#5070)

* Added SecurityAlert List API

Added List api to:
Manged Server + Managed Database
Logical Server + Logical Database

* FIxed a description

this property is for databases+servers

* Added missing Database exmaples

Added missing examples for database security alert

* Added missing description change

For Server Security Alerts

* Revert "FIxed a description"

This reverts commit e01a332.

* Revert "Added missing description change"

This reverts commit 17aeab7.

* Update DatabaseSecurityAlertListByDatabase.json

* fixed examples

* Update DatabaseSecurityAlertCreateMin.json

Deleted wild comma

* Update readme.md

* Minor fixes

Changed tabs to spaces.
Added location for servers exmaples.

* Removed location

removed the location property from examples

* graph: improve API coverage on application & service principal  (#5181)

* [graphrbac]: fix bugs in permission grant apis

* fix paging

* add missing property

* remove pageable

* author pagable in the right way

* breaking changes over a wrong spec

* remove additionalProperties which causes wrong code-gen

* add suppressions

* use code to surpress

* address review feedabck

* moev ahead with the established pattern anyway

* address review feedbacks

* clean up all

* update operation id

* add one more property per CLI user's ask

* Add insights 2019-03-01 package to Go SDK (#5373)

* Add insights 2019-03-01 package to Go SDK

* move global settings before packages

* fix package tag for new API version (#5378)

* Remove GZRS and RAGZRS sku from SRP 2018-11-01 because feature slipped. (#5377)

* typo: upto -> up to (#5376)

* typo: graphrbac/data-plane/Microsoft.GraphRbac/stable/1.6 (#5375)

- requied -> required
- authorizaed -> authorized
- Organizatio -> Organization
- Allorganizations -> AllOrganizations
- Microsof -> Microsoft
- perperties -> prorperties
- servie -> service
- altenative -> alternative
- thubmbprint -> thumbprint

* Azure DevOps Pipeline workaround for private repository (#5374)

* Fix PolicyInsights code generation issue (#5389)

* Add replica creation parameters to Postgres ResourceProvider for SDK (#5379)

*  Add replica creation parameters to Postgres ResourceProvider for SDK

* Add replica creation parameters to Postgres ResourceProvider for SDK

* Add replica creation parameters to Postgres ResourceProvider for SDK

* Add replica creation parameters to Postgres ResourceProvider for SDK

* Add replica creation parameters to Postgres ResourceProvider for SDK

* Revert "FI from master to network-february-release (#5391)" (#5393)

This reverts commit 8f28f7f.
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 DoNotMerge <valid label in PR review process> use to hold merge after approval
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants