Skip to content

Commit

Permalink
update readme (Azure#18388)
Browse files Browse the repository at this point in the history
* update readme

* update readme

* update readme
  • Loading branch information
Wzb123456789 authored and FredericHeem committed May 16, 2022
1 parent 41436cf commit 1d702d7
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 59 deletions.
11 changes: 3 additions & 8 deletions specification/dnc/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,16 @@
These settings apply only when `--python` is specified on the command line.
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.

``` yaml $(track2)
``` yaml $(python)
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
package-name: azure-mgmt-dnc
no-namespace-folders: true
namespace: azure.mgmt.dnc
package-version: 1.0.0b1
clear-output-folder: true
```
``` yaml $(python-mode) == 'update' && $(track2)
``` yaml $(python)
no-namespace-folders: true
output-folder: $(python-sdks-folder)/dnc/azure-mgmt-dnc/azure/mgmt/dnc
```
``` yaml $(python-mode) == 'create' && $(track2)
basic-setup-py: true
output-folder: $(python-sdks-folder)/dnc/azure-mgmt-dnc
```
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-cli-extensions
- repo: azure-sdk-for-python-track2
- repo: azure-resource-manager-schemas
- repo: azure-sdk-for-go
- repo: azure-sdk-for-go-track2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,15 @@ These settings apply only when `--python` is specified on the command line.
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.

```yaml $(python)
python:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: azure.mgmt.hardwaresecuritymodules
package-name: azure-mgmt-hardwaresecuritymodules
package-version: 2019-05-01
clear-output-folder: true
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: azure.mgmt.hardwaresecuritymodules
package-name: azure-mgmt-hardwaresecuritymodules
package-version: 2019-05-01
clear-output-folder: true
```
``` yaml $(python) && $(python-mode) == 'update'
python:
no-namespace-folders: true
output-folder: $(python-sdks-folder)/hardwaresecuritymodules/azure-mgmt-hardwaresecuritymodules/azure/mgmt/hardwaresecuritymodules
```
``` yaml $(python) && $(python-mode) == 'create'
python:
basic-setup-py: true
output-folder: $(python-sdks-folder)/hardwaresecuritymodules/azure-mgmt-hardwaresecuritymodules
``` yaml $(python)
no-namespace-folders: true
output-folder: $(python-sdks-folder)/hardwaresecuritymodules/azure-mgmt-hardwaresecuritymodules/azure/mgmt/hardwaresecuritymodules
```
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ This is not used by Autorest itself.
swagger-to-sdk:
- repo: azure-sdk-for-net
- repo: azure-sdk-for-python-track2
- repo: azure-sdk-for-python
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-go-track2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,16 @@
These settings apply only when `--python` is specified on the command line.
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.

``` yaml $(track2)
``` yaml $(python)
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
package-name: azure-mgmt-hybridconnectivity
no-namespace-folders: true
namespace: azure.mgmt.hybridconnectivity
package-version: 1.0.0b1
clear-output-folder: true
```
``` yaml $(python-mode) == 'update' && $(track2)
``` yaml $(python)
no-namespace-folders: true
output-folder: $(python-sdks-folder)/hybridconnectivity/azure-mgmt-hybridconnectivity/azure/mgmt/hybridconnectivity
```
``` yaml $(python-mode) == 'create' && $(track2)
basic-setup-py: true
output-folder: $(python-sdks-folder)/hybridconnectivity/azure-mgmt-hybridconnectivity
```
10 changes: 3 additions & 7 deletions specification/hybridkubernetes/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,16 @@ These settings apply only when `--python` is specified on the command line.
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.

```yaml $(python) && $(track2)
```yaml $(python)
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
package-name: azure-mgmt-hybridkubernetes
no-namespace-folders: true
namespace: azure.mgmt.hybridkubernetes
package-version: 1.0.0b1
clear-output-folder: true
```
``` yaml $(python) && $(python-mode) == 'update' && $(track2)
``` yaml $(python)
no-namespace-folders: true
output-folder: $(python-sdks-folder)/hybridkubernetes/azure-mgmt-hybridkubernetes/azure/mgmt/hybridkubernetes
```
``` yaml $(python) && $(python-mode) == 'create' && $(track2)
basic-setup-py: true
output-folder: $(python-sdks-folder)/hybridkubernetes/azure-mgmt-hybridkubernetes
```
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ swagger-to-sdk:
- repo: azure-sdk-for-go-track2
- repo: azure-sdk-for-js
- repo: azure-sdk-for-node
- repo: azure-sdk-for-python
- repo: azure-sdk-for-python-track2
- repo: azure-resource-manager-schemas
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,15 @@ Please also specify `--python-sdks-folder=<path to the root directory of your az
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.

``` yaml $(python)
python-mode: create
python:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
payload-flattening-threshold: 2
namespace: azure.mgmt.m365securityandcompliance
package-name: azure-mgmt-m365securityandcompliance
package-version: 2.0.0
clear-output-folder: true
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
payload-flattening-threshold: 2
namespace: azure.mgmt.m365securityandcompliance
package-name: azure-mgmt-m365securityandcompliance
package-version: 2.0.0
clear-output-folder: true
```
``` yaml $(python) && $(python-mode) == 'update'
python:
no-namespace-folders: true
output-folder: $(python-sdks-folder)/m365securityandcompliance/azure-mgmt-m365securityandcompliance/azure/mgmt/m365securityandcompliance
```
``` yaml $(python) && $(python-mode) == 'create'
python:
basic-setup-py: true
output-folder: $(python-sdks-folder)/m365securityandcompliance/azure-mgmt-m365securityandcompliance
``` yaml $(python)
no-namespace-folders: true
output-folder: $(python-sdks-folder)/m365securityandcompliance/azure-mgmt-m365securityandcompliance/azure/mgmt/m365securityandcompliance
```

0 comments on commit 1d702d7

Please sign in to comment.