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

[AutoPR azure-mgmt-applicationinsights] added clientId to byos api response schema #4248

Draft
wants to merge 177 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
177 commits
Select commit Hold shift + click to select a range
fcb76a2
Releasing mixedreality (#11618)
Jun 1, 2020
45934b6
20200604 track1 sdk automation/azure mgmt kusto (#11814)
changlong-liu Jun 4, 2020
111e152
Sdk automation/azure mgmt hdinsight (#11704)
changlong-liu Jun 5, 2020
1b9b27f
Sdk automation/azure mgmt resource terraform (#11835)
chenjianfei2017 Jun 5, 2020
f96b627
Fix appservice CI configuration.
mitchdenny Jun 5, 2020
7c5ca2e
Release azure-mgmt-security 0.4.0 (#11832)
LianwMS Jun 8, 2020
9877e57
Release azure-mgmt-eventgrid 3.0.0rc8 (#11839)
LianwMS Jun 8, 2020
7b911bf
Release azure-mgmt-subscription 0.6.0 (#11841)
LianwMS Jun 8, 2020
516aae3
Release azure-mgmt-containerservice 9.1.0 (#11876)
LianwMS Jun 9, 2020
745b5c2
Generated from 88fd6db0e0edd8e2376c74affb316e5b0ed67c7f (#11831)
LianwMS Jun 10, 2020
cf6eaae
Release azure-mgmt-recoveryservicesbackup 0.8.0 (#11846)
LianwMS Jun 10, 2020
08a1499
adjust model for m4 issue #83 (#11938)
changlong-liu Jun 11, 2020
8df251d
release-for-mgmt-hdinsight (#11979)
qiaozha Jun 12, 2020
debbb83
release for mgmt cosmos (#11969)
qiaozha Jun 12, 2020
04c842a
Release azure-mgmt-monitor 0.10.0 (#11873)
LianwMS Jun 15, 2020
489eddf
release for mgmt security (#12006)
qiaozha Jun 15, 2020
49774f1
release for mgmt eventhub (#12044)
Abyssknight Jun 15, 2020
44229aa
datafactory release for mgmt (#12070)
qiaozha Jun 16, 2020
979ac4c
Release for mgmt container registry (#12043)
Abyssknight Jun 19, 2020
fa2af62
release for mgmt vmware (#12003)
Abyssknight Jun 19, 2020
19bc45f
release for mgmt synapse (#12115)
Abyssknight Jun 19, 2020
4ecab6a
Sdk automation/azure mgmt compute@9801 (#12091)
changlong-liu Jun 19, 2020
deb77e6
Release for mgmt vmware (#12132)
Abyssknight Jun 19, 2020
b4638b5
Virtualenv issue. (#12200)
mitchdenny Jun 25, 2020
1dd4736
don't use mgmt track2 (#12211)
changlong-liu Jun 28, 2020
88ba0b9
Release for mgmt storage (#12228)
Abyssknight Jun 28, 2020
0b34ee1
Release network mgmt 2020 05 (#12139)
qiaozha Jun 30, 2020
715e7f6
release mgmt resource (#12282)
Abyssknight Jul 1, 2020
a7de136
release for mgmt containerservice (#12179)
Abyssknight Jul 1, 2020
22c5319
release for mgmt containerinstance (#12178)
Abyssknight Jul 1, 2020
b7dad04
release mgmt appconfiguration (#12292)
Abyssknight Jul 2, 2020
4cd0b61
release for mgmt sql (#12180)
Abyssknight Jul 2, 2020
eb0d7cb
Release for iot central 535 (#12253)
shawncx Jul 3, 2020
2ba23a5
Release azure mgmt compute (#12366)
dw511214992 Jul 7, 2020
3a375d0
Loganalytics release (#12460)
chunyu3 Jul 9, 2020
cb050d5
Reverts to previous commit on SDK tools. (#12464)
mitchdenny Jul 9, 2020
ed4c2a6
fix mypy for release/v3 branch (#12514)
kristapratico Jul 13, 2020
70aec05
release for avs 560 (#12357)
shawncx Jul 14, 2020
ca42cd1
Sdk automation/azure mgmt netapp (#11678)
changlong-liu Jul 14, 2020
b20a258
20200713 sdk automation/azure mgmt kusto (#12510)
changlong-liu Jul 15, 2020
bdfb3a2
clean up resources / fix changelog (#12432) (#12459)
changlong-liu Jul 15, 2020
95ed9eb
Sdk automation/azure mgmt monitor (#12549)
changlong-liu Jul 15, 2020
f64a10b
Release azure mgmt sql (#12592)
dw511214992 Jul 20, 2020
c7ed469
Sdk automation/azure mgmt hdinsight (#12636)
changlong-liu Jul 22, 2020
06f5c8c
cdn sdk release #538 (#12504)
shawncx Jul 23, 2020
175c7d9
Pin to the same commit as loganalytics. (#12844)
mitchdenny Jul 31, 2020
c60e2dd
release for mgmt servicefabric (#12760)
qiaozha Aug 3, 2020
433d3db
release-for-mgmt-cosmosdb-0.16.0 (#12842)
qiaozha Aug 4, 2020
11a57d5
Release Resource MGMT 10.2.0 (#12860)
LianwMS Aug 4, 2020
284f0c1
Refresh release/v3 branch to latest eng and scripts folder (#12874)
praveenkuttappan Aug 10, 2020
b98b4b6
release-for-mgmt-netapp-0.12.0 (#12792)
qiaozha Aug 11, 2020
4a9fdc6
release for mgmt datafactory 12 (#12774)
qiaozha Aug 11, 2020
c96ce20
Cdn release (#12974)
chenjianfei2017 Aug 11, 2020
5d277ae
Authoriaztion release 0814 (#13109)
chenjianfei2017 Aug 14, 2020
486db4c
Release azure mgmt reservations (#12554)
dw511214992 Aug 18, 2020
8654a04
Skip test for releasing (#13169)
aim-for-better Aug 18, 2020
c1e7a5a
Cosmosdb 2020 04 (#13164)
chunyu3 Aug 18, 2020
8184486
Hdinsight release 2018 06 (#13137)
chunyu3 Aug 18, 2020
6e4cdeb
Add appplatform CI. (#13176)
mitchdenny Aug 18, 2020
2e2d63a
Add automanage CI to release/v3. (#13178)
mitchdenny Aug 18, 2020
49492d6
Reservation release (#13207)
chenjianfei2017 Aug 19, 2020
f7e040b
Add hybridcompute ci.yml for release/v3. (#13214)
mitchdenny Aug 19, 2020
308b9e9
Roll doc owner changes to release/v3 (#13209)
praveenkuttappan Aug 19, 2020
396e794
Sdk automation/azure mgmt storage (#13232)
changlong-liu Aug 20, 2020
12aa2b4
Release sdk 690 (#13208)
shawncx Aug 21, 2020
b23c203
Release sdk 687 (#13213)
shawncx Aug 21, 2020
52bdd94
Release sdk 667 (#13166)
shawncx Aug 25, 2020
f3360b4
Release sdk 698 (#13211)
shawncx Sep 2, 2020
e67b96a
Release azure mgmt datafactory (#13312)
dw511214992 Sep 3, 2020
028ce59
Sdk automation/azure mgmt sql (#13543)
changlong-liu Sep 7, 2020
f481891
Sdk automation/azure mgmt redis (#13541)
changlong-liu Sep 8, 2020
0009740
Release azure mgmt compute (#13610)
dw511214992 Sep 9, 2020
41a8d43
Sdk automation/azure mgmt azurestackhci (#12639)
changlong-liu Sep 9, 2020
decd18c
release-mgmt-network-2020-06 (#13477)
qiaozha Sep 10, 2020
fdf883d
eaRelease mgmt eventhub (#13608)
colawwj Sep 11, 2020
a39bb60
Release mgmt containerservice (#13734)
colawwj Sep 11, 2020
3f96b10
Release azure mgmt netapp (#13416)
dw511214992 Sep 14, 2020
8890600
Release azure mgmt rdbms (#13780)
dw511214992 Sep 15, 2020
ab93d55
release-759 (#13800)
colawwj Sep 16, 2020
136994e
Sdk automation/azure mgmt loganalytics (#13432)
changlong-liu Sep 17, 2020
981105d
Azure mgmt containerregistry yyc@10370 (#13809)
msyyc Sep 18, 2020
a219074
Sdk automation/azure mgmt hybridcompute (#13828)
changlong-liu Sep 21, 2020
5ad658f
Release azure mgmt compute bugfix (#13936)
dw511214992 Sep 23, 2020
bfd19d6
Release synapse (#14047)
colawwj Sep 27, 2020
e62cce7
use track1 package (#14065)
changlong-liu Sep 28, 2020
7ace3f4
Release rdbms (#14032)
colawwj Sep 29, 2020
f570622
Release web (#13938)
colawwj Sep 29, 2020
e4b5296
Release mgmt servicebus (#13802)
colawwj Sep 29, 2020
79bb773
Sdk automation/azure mgmt search (#14125)
colawwj Sep 30, 2020
380ae62
Subscription release (#14426)
dw511214992 Oct 12, 2020
5192df0
Generated from 60de4c8e4df2bd90b44ed70a90d48385e6f6971a (#14381)
msyyc Oct 13, 2020
2057b28
Track1-mgmt-sql (#14385)
msyyc Oct 13, 2020
d430f6d
Sdk automation/azure mgmt cosmosdb@10955 (#14060)
colawwj Oct 14, 2020
d643def
【T1】 azurestackhci (#14495)
msyyc Oct 15, 2020
7000983
[T1]compute (#14551)
msyyc Oct 16, 2020
62d6a81
【T1】 billing (#14491)
msyyc Oct 19, 2020
b8a50e9
[T1] media (#14588)
msyyc Oct 21, 2020
06c7c26
Sdk automation/azure mgmt digitaltwins (#14004)
changlong-liu Oct 22, 2020
67d267e
[T1] datamigration (#14655)
msyyc Oct 22, 2020
e50b27a
[T1] datafactory (#14660)
msyyc Oct 22, 2020
51c048e
Add prepare pipelines for v3 branch. (#14693)
mitchdenny Oct 22, 2020
d7e64e1
[T1] hdinsight (#14679)
msyyc Oct 23, 2020
5903a71
[T1]kusto (#14626)
msyyc Oct 26, 2020
05ce688
Sdk automation/azure mgmt containerservice (#14061)
colawwj Oct 26, 2020
3f10acd
[T1] sql 2020 10 29 (#14822)
msyyc Oct 29, 2020
b57bc01
[T1] security 2020 10 29 (#14718)
msyyc Oct 29, 2020
d99400d
[T1] healthcareapis 2020 11 02 (#14871)
msyyc Oct 30, 2020
2efd3cf
[T1] resource 2020 11 02 (#14876)
msyyc Oct 30, 2020
4b115f9
[T1] containerservice 2020 11 02 (#14873)
msyyc Nov 2, 2020
197a8e8
[T1] databoxedge 2020 11 02 (#14948)
msyyc Nov 2, 2020
44614c3
[T1] network 2020 11 06 (#14974)
msyyc Nov 3, 2020
755bff5
[T1] sql 2020 11 04 (#14996)
msyyc Nov 4, 2020
df84a01
[T1] loganalytics 2020 11 09 (#15141)
msyyc Nov 9, 2020
b0c23e2
[T1] avs 2020 11 11 for version '2020-03-20' (#15230)
msyyc Nov 11, 2020
d0d46ed
[T1] policyinsight 2020 11 11 (#15197)
msyyc Nov 11, 2020
1d09bd7
[T1] netapp 2020 11 16 (#15279)
msyyc Nov 16, 2020
f58f6fd
test,version,CHANGELOG (#15360)
msyyc Nov 17, 2020
b791d51
[T1] security 2020 11 16 (#15283)
msyyc Nov 17, 2020
d80c022
Add rdbms flexible-server tests (#14703)
DaeunYim Nov 18, 2020
3c72c80
test,version,CHANGELOG (#15355)
msyyc Nov 18, 2020
022e775
[T1] attestation 2020 11 17 (#15359)
msyyc Nov 18, 2020
b94a7a9
[Change Log]Filter track2 package version for track1 change log tool …
jsntcy Nov 20, 2020
e1f2009
test,version,CHANGELOG (#15498)
msyyc Nov 24, 2020
1e7fea6
[T1]Cdn 2020-11-18 (#15420)
msyyc Dec 1, 2020
6533738
[T1] resource 2020 12 04 (#15649)
msyyc Dec 7, 2020
ea5b785
[T1] recoveryservicesbackup 2020 12 07 (#15657)
msyyc Dec 7, 2020
0fde0dc
[T1] containerregistry 2020 12 09 (#15720)
msyyc Dec 9, 2020
8680b63
test,version,CHANGELOG (#15702)
msyyc Dec 9, 2020
ee4530c
test,version,CHANGELOG (#15703)
msyyc Dec 9, 2020
05cf28c
[T1] datafactory 2020 12 09 (#15721)
msyyc Dec 10, 2020
ffef335
[T1] recoveryservices 2020 12 11 (#15755)
msyyc Dec 14, 2020
c8a50ec
[T1] cdn 2020 12 10 (#15742)
msyyc Dec 14, 2020
325c36e
[T1] sql 2020 12 14 (#15781)
msyyc Dec 14, 2020
b1ae36e
Update code_report.py (#15806)
msyyc Dec 17, 2020
b94fb2d
[T1] synapse 2020 12 17 (#15838)
msyyc Dec 18, 2020
d1a132d
[T1] hdinsight 2020 12 21 (#15896)
msyyc Dec 23, 2020
fafe4a9
released track2 package (#15963)
msyyc Jan 4, 2021
47a73de
[T1] appplatform 2021 01 04 (#15966)
msyyc Jan 5, 2021
c2a098d
T1 iotcentral 2021 01 05 (#15982)
00Kai0 Jan 5, 2021
e188de6
[T1] netapp 2021 01 05 (#15980)
msyyc Jan 6, 2021
98988d2
T1 containerservice 2020 12 30 (#15948)
00Kai0 Jan 11, 2021
d89aa61
[T1] recoveryservicesbackup 2020 12 28 (#15924)
msyyc Jan 12, 2021
6f142b0
Update CODEOWNERS (#16101)
msyyc Jan 12, 2021
cbfb037
[T1] cosmosdb 2020 06 01 preview (#16189)
00Kai0 Jan 18, 2021
e07f613
T1 sql 2021 01 18 (#16223)
00Kai0 Jan 20, 2021
7477eac
T1 reservations 2021 01 19 (#16232)
00Kai0 Jan 21, 2021
e7a7a22
T1 hdinsight 2021 01 25 (#16319)
00Kai0 Jan 25, 2021
ed52a6d
[T1] new pipeline for Python (#16131)
msyyc Jan 26, 2021
2b85308
T1 servicebus 2021 01 26 (#16337)
00Kai0 Jan 26, 2021
e36e23c
T1 botservice 2021 01 26 (#16338)
00Kai0 Jan 26, 2021
e973776
better display (#16393)
msyyc Jan 28, 2021
e13e462
T1 synapse 2021 01 28 (#16395)
00Kai0 Jan 28, 2021
8d513b2
T1 batch 2021 01 28 (#16388)
00Kai0 Jan 29, 2021
599d3b8
T1 attestation 2021 01 28 (#16396)
00Kai0 Jan 29, 2021
3541b2e
compatible with data-plan (#16442)
msyyc Feb 1, 2021
7b7e5d1
Fix changelog (#16446)
00Kai0 Feb 2, 2021
5aa3396
Update automation_generate.sh (#16471)
msyyc Feb 2, 2021
1e20065
T1 cdn 2021 02 07 (#16591)
00Kai0 Feb 8, 2021
14eb6f7
Update automation_init.sh (#16599)
msyyc Feb 8, 2021
7857577
generate_sdk pin stable version (#16799)
msyyc Feb 18, 2021
34aed9f
T1 mixedreality 2021 02 07 (#16589)
00Kai0 Feb 18, 2021
2104545
T1 storagecache 2021 02 18 (#16802)
00Kai0 Feb 18, 2021
c081534
T1 cosmosdb 2021 02 18 (#16804)
00Kai0 Feb 19, 2021
aea802d
T1 iotcentral 2021 02 19 (#16824)
00Kai0 Feb 19, 2021
660aba5
T1 kubernetesconfiguration 2021 02 23 (#16868)
00Kai0 Feb 23, 2021
b74b486
T1 eventgrid 2021 02 23 (#16869)
zhangyan133 Feb 23, 2021
ac0820a
T1 mixedreality 2021 02 23 (#16870)
00Kai0 Feb 24, 2021
73315fe
T1 appplatform 2021 02 24 (#16896)
zhangyan133 Feb 24, 2021
ba12755
T1 media 2021 02 24 (#16903)
zhangyan133 Feb 25, 2021
35fecac
T1 containerregistry 2021 02 24 (#16902)
zhangyan133 Feb 25, 2021
ec812f0
T1 Web 2021-02-24
00Kai0 Feb 25, 2021
ddcecaf
T1 Netapp 2021-02-25 (#16926)
00Kai0 Feb 26, 2021
5bc7fb0
T1 datafactory 2021 02 24 (#16904)
zhangyan133 Feb 26, 2021
425f5ce
skip failed test on MacOS_Python27 (#16960)
00Kai0 Feb 26, 2021
b848434
T1 hybridkubernetes 2021 03 01 (#16985)
00Kai0 Mar 1, 2021
19efd8c
T1 cosmosdb 2021 03 01 (#16988)
zhangyan133 Mar 1, 2021
ec16814
CodeGen from PR 12944 in Azure/azure-rest-api-specs
Mar 2, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
/common/smoketest/ @lmazuel @chlowell @annatisch @rakshith91 @shurd @southpolesteve

# Management Plane
/**/*mgmt*/ @zikalino
/**/*mgmt*/ @00Kai0 @msyyc @jsntcy

###########
# Eng Sys
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Libraries which enable you to provision specific resources. They are responsible
## Need help?

* For detailed documentation visit our [Azure SDK for Python documentation](https://aka.ms/python-docs)
* File an issue via [Github Issues](../../issues)
* File an issue via [Github Issues](https://github.com/Azure/azure-sdk-for-python/issues)
* Check [previous questions](https://stackoverflow.com/questions/tagged/azure+python) or ask new ones on StackOverflow using `azure` and `python` tags.

### Community
Expand Down
33 changes: 33 additions & 0 deletions ci_template.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# DO NOT EDIT THIS FILE
# This file is generated automatically and any changes will be lost.

trigger:
branches:
include:
- master
- hotfix/*
- release/*
- restapi*
paths:
include:
- sdk/MyService/

pr:
branches:
include:
- master
- feature/*
- hotfix/*
- release/*
- restapi*
paths:
include:
- sdk/MyService/

extends:
template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
ServiceDirectory: MyService
Artifacts:
- name: azure_mgmt_MyService
safeName: azuremgmtMyService
2 changes: 1 addition & 1 deletion doc/dev/mgmt/generating-integration-test.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ now you can run live integration test:

## Fixing Test

It's obvious that when running test for the first time someting is not going to work.
It's obvious that when running test for the first time something is not going to work.

The best approach is to:
- fix the test manually
Expand Down
2 changes: 1 addition & 1 deletion doc/dev/mgmt/generation.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ IMPORTANT NOTE: All the commands prefixed by `python` in this page assumes you h

### Autorest versioning

A few notes on [Autorest for Python versionning](https://github.com/Azure/autorest.python/blob/master/ChangeLog.md):
A few notes on [Autorest for Python versioning](https://github.com/Azure/autorest.python/blob/master/ChangeLog.md):
- Autorest for Python v2.x is deprecated, and should not be used anymore for any generation under any circumstances.
- Autorest for Python v3.x is the most currently used one. Should not be used, but still ok if service team are still in v3.x and they want to avoid breaking changes for a given version (rare).
- Autorest for Python v4.x is the current recommendation. This generator can generates async code, but this should be disabled with --no-async. No package should be shipped with async based on v4
Expand Down
4 changes: 2 additions & 2 deletions doc/dev/mgmt/swagger/multi_api/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This is the AutoRest configuration file for Network.

## Getting Started

To build the SDK for Network, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run:
To build the SDK for Network, simply [Install AutoRest](https://github.com/Azure/autorest/blob/master/docs/installing-autorest.md) and in this folder, run:

> `autorest`

Expand Down Expand Up @@ -66,4 +66,4 @@ swagger-to-sdk:

## Python

See configuration in [readme.python.md](./readme.python.md)
See configuration in [readme.python.md](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/dev/mgmt/swagger/multi_api/readme.python.md)
2 changes: 1 addition & 1 deletion doc/dev/mgmt/swagger/single_api/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This is the AutoRest configuration file for Cdn.

---
## Getting Started
To build the SDK for Cdn, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run:
To build the SDK for Cdn, simply [Install AutoRest](https://github.com/Azure/autorest/blob/master/docs/installing-autorest.md) and in this folder, run:

> `autorest`

Expand Down
22 changes: 11 additions & 11 deletions doc/dev/mgmt/swagger_conf.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,42 +14,42 @@ In practical terms, we want to control the version of Autorest used, the output

## Writing the readme

Writing the readme is the responsability of the Python SDK team. There is currently two types of templates for Python readmes:
Writing the readme is the responsibility of the Python SDK team. There is currently two types of templates for Python readmes:
- Readme that handles only one API version, and generates packages that handle one API version only
- Readme that handles several API versions, and generates packages with multiples API and profile supports

These templates can be found in the [single_api](./single_api) and the [multi_api](./multi_api) folders.
These templates can be found in the [single_api](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/dev/mgmt/swagger/single_api) and the [multi_api](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/dev/mgmt/swagger/multi_api) folders.


### Single API readmes

This one is the most simple:
- Copy the [readme.python.md](./single_api/readme.python.md) and replace `servicetoreplace` by your service name
- Be sure the main [readme.md](./single_api/readme.md) contains a "swagger-to-sdk" section with Python
- Copy the [readme.python.md](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/dev/mgmt/swagger/single_api/readme.python.md) and replace `servicetoreplace` by your service name
- Be sure the main [readme.md](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/dev/mgmt/swagger/single_api/readme.md) contains a "swagger-to-sdk" section with Python

### Multi API readmes

When doing multi-api packages, it means you have shipping several "tags" of the main readme as one package. Autorest is calling this process a "batch" call, and this is the purpose of the "batch" section in [readme.python.md](./multi_api/readme.python.md).
When doing multi-api packages, it means you have shipping several "tags" of the main readme as one package. Autorest is calling this process a "batch" call, and this is the purpose of the "batch" section in [readme.python.md](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/dev/mgmt/swagger/multi_api/readme.python.md).

In order to be sure the correct tags exist, you can use the following script:
```shell
python ./scripts/multi_api_readme_help.py /azure-rest-api-specs/specification/service/resource-manager/
```

This script will analyze the Swaggers available, and suggests on stdout:
- A list of tags for the main [readme.md](./multi_api/readme.md)
- A batch declaration for the [readme.python.md](./multi_api/readme.python.md)
- A list of tags for the main [readme.md](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/dev/mgmt/swagger/multi_api/readme.md)
- A batch declaration for the [readme.python.md](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/dev/mgmt/swagger/multi_api/readme.python.md)

This script is not perfect that it *does* require manual review of the output and not a direct copy/paste.

It's important for Python that tags represents only *ONE* unique API version. It's why it's pretty common that Python uses a set of tags that other languages don't use.

Once you know the list of tags you need to generate:

- Copy the [readme.python.md](./multi_api/readme.python.md) and replace `servicetoreplace` by your service name
- Update the batch list of [readme.python.md](./multi_api/readme.python.md)
- Be sure you have one tag section for each batch entry in [readme.python.md](./multi_api/readme.python.md)
- Be sure the main [readme.md](./multi_api/readme.md) contains a "swagger-to-sdk" section with Python with an `afterscripts` section like the one in the template.
- Copy the [readme.python.md](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/dev/mgmt/swagger/multi_api/readme.python.md) and replace `servicetoreplace` by your service name
- Update the batch list of [readme.python.md](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/dev/mgmt/swagger/multi_api/readme.python.md)
- Be sure you have one tag section for each batch entry in [readme.python.md](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/dev/mgmt/swagger/multi_api/readme.python.md)
- Be sure the main [readme.md](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/dev/mgmt/swagger/multi_api/readme.md) contains a "swagger-to-sdk" section with Python with an `afterscripts` section like the one in the template.

The `afterscripts` will execute a Jinja template to create a client to link together all the batch generated autorest ([example](https://github.com/Azure/azure-sdk-for-python/blob/4a7c67189591b052fe2b5769847ff68f7845386d/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/_storage_management_client.py))

Expand Down
7 changes: 7 additions & 0 deletions eng/.docsettings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ known_content_issues:
# data plane. common issue filed to azure-sdk-for-python
- ['README.rst', '#4554']
- ['sdk/synapse/azure-synapse/README.md', '#4554']
- ['sdk/synapse/azure-synapse-accesscontrol/README.md', '#4554']
- ['sdk/synapse/azure-synapse-spark/README.md', '#4554']
- ['sdk/synapse/azure-synapse-artifacts/README.md', '#4554']
- ['sdk/synapse/azure-synapse-nspkg/README.md', '#4554']
- ['sdk/applicationinsights/azure-applicationinsights/README.md', '#4554']
- ['sdk/batch/azure-batch/README.md', '#4554']
- ['sdk/cognitiveservices/azure-cognitiveservices-anomalydetector/README.md', '#4554']
Expand Down Expand Up @@ -78,6 +82,7 @@ known_content_issues:
- ['sdk/graphrbac/azure-graphrbac/README.md', '#4554']
- ['sdk/loganalytics/azure-loganalytics/README.md', '#4554']
- ['sdk/servicebus/azure-servicebus/README.md', '#4554']
- ['sdk/servicebus/azure-servicebus/swagger/README.md', '#4554']
- ['sdk/servicefabric/azure-servicefabric/README.md', '#4554']
- ['sdk/storage/azure-storage-nspkg/README.md', '#4554']
- ['sdk/storage/azure-storage-blob/swagger/README.md', '#4554']
Expand Down Expand Up @@ -109,10 +114,12 @@ known_content_issues:
- ['sdk/search/azure-search-nspkg/README.md', 'nspkg and common']
- ['sdk/storage/azure-storage-blob/samples/README.md', 'nspkg and common']
- ['sdk/storage/azure-storage-file-datalake/samples/README.md', 'nspkg and common']
- ['sdk/storage/azure-storage-blob-changefeed/samples/README.md', 'nspkg and common']
- ['sdk/storage/azure-storage-file-share/samples/README.md', 'nspkg and common']
- ['sdk/storage/azure-storage-queue/samples/README.md', 'nspkg and common']
- ['sdk/textanalytics/azure-ai-nspkg/README.md', 'nspkg and common']
- ['sdk/eventhub/azure-eventhub/samples/README.md', 'nspkg and common']
- ['sdk/tables/azure-data-nspkg/README.md', 'nspkg and common']

# HISTORY.rst
- ['sdk/core/azure/HISTORY.rst','#4554']
Expand Down
24 changes: 12 additions & 12 deletions eng/ci_tools.txt
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
# requirements leveraged by ci tools
setuptools==44.1.0; python_version == '2.7'
setuptools==45.1.0; python_version >= '3.5'
setuptools==46.4.0; python_version >= '3.5'
virtualenv==20.0.23
wheel==0.34.2
Jinja2==2.11.1
Jinja2==2.11.2
packaging==20.4
tox==3.14.6
tox==3.15.0
tox-monorepo==0.1.2
twine==1.15.0
twine==1.15.0; python_version == '2.7' or python_version == '3.5'
twine==3.1.1; python_version >= '3.6'
pathlib2==2.3.5
readme-renderer[md]==25.0
doc-warden==0.5.4
doc-warden==0.7.1
# we pin coverage to 4.5.4 because there is an bug with `pytest-cov`. the generated coverage files cannot be `coverage combine`ed
coverage==4.5.4
codecov==2.0.22
beautifulsoup4==4.8.2
codecov==2.1.0
beautifulsoup4==4.9.1
pkginfo==1.5.0.1

# locking packages defined as deps from azure-sdk-tools or azure-devtools
pytoml==0.1.21
pyOpenSSL==19.1.0
json-delta==2.0
ConfigArgParse==1.1
ConfigArgParse==1.2.3
six==1.14.0
vcrpy==3.0.0
pyyaml==5.3.1
pytest==5.4.1; python_version >= '3.5'
pytest==5.4.2; python_version >= '3.5'
pytest==4.6.9; python_version == '2.7'
pytest-cov==2.8.1

# local dev packages
./tools/azure-devtools
./tools/azure-sdk-tools



65 changes: 0 additions & 65 deletions eng/common/Extract-ReleaseNotes.ps1

This file was deleted.

24 changes: 20 additions & 4 deletions eng/common/TestResources/New-TestResources.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -154,14 +154,21 @@ if ($ProvisionerApplicationId) {
$subscriptionArgs = if ($SubscriptionId) {
@{SubscriptionId = $SubscriptionId}
}
else {
@{}
}

$provisionerAccount = Retry {
Connect-AzAccount -Force:$Force -Tenant $TenantId -Credential $provisionerCredential -ServicePrincipal -Environment $Environment @subscriptionArgs
}

$exitActions += {
Write-Verbose "Logging out of service principal '$($provisionerAccount.Context.Account)'"
$null = Disconnect-AzAccount -AzureContext $provisionerAccount.Context

# Only attempt to disconnect if the -WhatIf flag was not set. Otherwise, this call is not necessary and will fail.
if ($PSCmdlet.ShouldProcess($ProvisionerApplicationId)) {
$null = Disconnect-AzAccount -AzureContext $provisionerAccount.Context
}
}
}

Expand All @@ -176,7 +183,6 @@ if ($TestApplicationId -and !$TestApplicationOid) {
}
}


# If the ServiceDirectory is an absolute path use the last directory name
# (e.g. D:\foo\bar\ -> bar)
$serviceName = if (Split-Path -IsAbsolute $ServiceDirectory) {
Expand Down Expand Up @@ -229,6 +235,13 @@ if ($resourceGroup.ProvisioningState -eq 'Succeeded') {
# New-AzResourceGroup would've written an error and stopped the pipeline by default anyway.
Write-Verbose "Successfully created resource group '$($resourceGroup.ResourceGroupName)'"
}
elseif (($resourceGroup -eq $null) -and (-not $PSCmdlet.ShouldProcess($resourceGroupName))) {
# If the -WhatIf flag was passed, there will be no resource group created. Fake it.
$resourceGroup = [PSCustomObject]@{
ResourceGroupName = $resourceGroupName
Location = $Location
}
}

# Populate the template parameters and merge any additional specified.
$templateParameters = @{
Expand Down Expand Up @@ -299,6 +312,9 @@ foreach ($templateFile in $templateFiles) {
"$($serviceDirectoryPrefix)RESOURCE_GROUP" = $resourceGroup.ResourceGroupName;
"$($serviceDirectoryPrefix)LOCATION" = $resourceGroup.Location;
"$($serviceDirectoryPrefix)ENVIRONMENT" = $context.Environment.Name;
"$($serviceDirectoryPrefix)AZURE_AUTHORITY_HOST" = $context.Environment.ActiveDirectoryAuthority;
"$($serviceDirectoryPrefix)RESOURCE_MANAGER_URL" = $context.Environment.ResourceManagerUrl;
"$($serviceDirectoryPrefix)SERVICE_MANAGEMENT_URL" = $context.Environment.ServiceManagementUrl;
}

foreach ($key in $deployment.Outputs.Keys) {
Expand Down Expand Up @@ -331,7 +347,7 @@ foreach ($templateFile in $templateFiles) {
}
else
{

if (!$CI) {
# Write an extra new line to isolate the environment variables for easy reading.
Log "Persist the following environment variables based on your detected shell ($shell):`n"
Expand All @@ -340,7 +356,7 @@ foreach ($templateFile in $templateFiles) {
foreach ($key in $deploymentOutputs.Keys)
{
$value = $deploymentOutputs[$key]

if ($CI) {
# Treat all ARM template output variables as secrets since "SecureString" variables do not set values.
# In order to mask secrets but set environment variables for any given ARM template, we set variables twice as shown below.
Expand Down
17 changes: 17 additions & 0 deletions eng/common/TestResources/New-TestResources.ps1.md
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,23 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -OutFile
save test environment settings into a test-resources.json.env file next to test-resources.json.
The file is protected via DPAPI. The environment file would be scoped to the current repository directory.
Note: Supported only on Windows.

```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).

Expand Down
Loading