Skip to content

Commit

Permalink
update readme (#18257)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wzb123456789 authored Mar 16, 2022
1 parent 4daa1db commit 2fe3e5e
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 61 deletions.
11 changes: 3 additions & 8 deletions specification/apimanagement/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-apimanagement
no-namespace-folders: true
namespace: azure.mgmt.apimanagement
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)/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement
```
``` yaml $(python-mode) == 'create' && $(track2)
basic-setup-py: true
output-folder: $(python-sdks-folder)/apimanagement/azure-mgmt-apimanagement
```
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-confidentialledger
no-namespace-folders: true
namespace: azure.mgmt.confidentialledger
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)/confidentialledger/azure-mgmt-confidentialledger/azure/mgmt/confidentialledger
```
``` yaml $(python-mode) == 'create' && $(track2)
basic-setup-py: true
output-folder: $(python-sdks-folder)/confidentialledger/azure-mgmt-confidentialledger
```
31 changes: 2 additions & 29 deletions specification/datafactory/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,42 +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>`.
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.

``` yaml $(python) && $(track2)
python-mode: create
``` yaml $(python)
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: azure.mgmt.datafactory
package-name: azure-mgmt-datafactory
package-version: 1.0.0
clear-output-folder: true
```
``` yaml $(python) && $(python-mode) == 'update' && $(track2)
``` yaml $(python)
no-namespace-folders: true
output-folder: $(python-sdks-folder)/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory
```
``` yaml $(python) && $(python-mode) == 'create' && $(track2)
basic-setup-py: true
output-folder: $(python-sdks-folder)/datafactory/azure-mgmt-datafactory
```
``` yaml $(python) && $(track2)
modelerfour:
lenient-model-deduplication: true
directive:
- from: swagger-document
where: $.definitions.JsonFormatFilePattern
transform: >
$['type'] = 'string';
- from: swagger-document
where: $.definitions.CompressionLevel
transform: >
$['type'] = 'string';
- from: swagger-document
where: $.definitions.DynamicsLinkedServiceTypeProperties.properties.servicePrincipalCredentialType
transform: >
$['type'] = 'string';
- from: swagger-document
where: $.definitions.ScriptAction.properties.roles
transform: >
$['type'] = 'string';
```
11 changes: 3 additions & 8 deletions specification/mobilenetwork/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-mobilenetwork
no-namespace-folders: true
namespace: azure.mgmt.mobilenetwork
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)/mobilenetwork/azure-mgmt-mobilenetwork/azure/mgmt/mobilenetwork
```
``` yaml $(python-mode) == 'create' && $(track2)
basic-setup-py: true
output-folder: $(python-sdks-folder)/mobilenetwork/azure-mgmt-mobilenetwork
```
11 changes: 3 additions & 8 deletions specification/streamanalytics/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-streamanalytics
no-namespace-folders: true
namespace: azure.mgmt.streamanalytics
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)/streamanalytics/azure-mgmt-streamanalytics/azure/mgmt/streamanalytics
```
``` yaml $(python-mode) == 'create' && $(track2)
basic-setup-py: true
output-folder: $(python-sdks-folder)/streamanalytics/azure-mgmt-streamanalytics
```

0 comments on commit 2fe3e5e

Please sign in to comment.