Skip to content

Commit

Permalink
update_resourceconnector (#19622)
Browse files Browse the repository at this point in the history
* update_resourceconnector

* Update readme.python.md

* Update readme.python.md

* Update readme.python.md

* Update readme.python.md

* Update readme.python.md

* Update readme.python.md

* Update readme.python.md

* Update readme.python.md

Co-authored-by: Jiefeng Chen <51037443+BigCat20196@users.noreply.github.com>
  • Loading branch information
Wzb123456789 and BigCat20196 authored Jun 30, 2022
1 parent a03441d commit fbe071b
Showing 1 changed file with 5 additions and 62 deletions.
67 changes: 5 additions & 62 deletions specification/resourceconnector/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,73 +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>`.


These settings apply only when `--python` is specified on the command line.

``` yaml !$(track2)
python:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
payload-flattening-threshold: 2
package-name: azure-mgmt-resourceconnector
clear-output-folder: true
no-namespace-folders: true
```
These settings apply only when `--track2` is specified on the command line.

``` yaml $(track2)
``` yaml $(python)
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
package-name: azure-mgmt-resourceconnector
namespace: azure.mgmt.resourceconnector
package-version: 1.0.0b1
no-namespace-folders: true
```

### Python multi-api

Generate all API versions currently shipped for this package

```yaml $(multiapi) && !$(track2)
batch:
- tag: package-2022-04-15-preview
```

```yaml $(multiapi) && $(track2)
clear-output-folder: true
batch:
- tag: package-2022-04-15-preview
- multiapiscript: true
```

``` yaml $(multiapiscript)
output-folder: $(python-sdks-folder)/resourceconnector/azure-mgmt-resourceconnector/azure/mgmt/resourceconnector/
clear-output-folder: false
perform-load: false
```
### Tag: package-2021-10-31-preview and python

These settings apply only when `--tag=package-2021-10-31-preview --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 $(tag) == 'package-2021-10-31-preview'
namespace: azure.mgmt.resourceconnector.v2021-10-31-preview
output-folder: $(python-sdks-folder)/resourceconnector/azure-mgmt-resourceconnector/azure/mgmt/resourceconnector/v2021-10-31-preview
python:
namespace: azure.mgmt.resourceconnector.v2021-10-31-preview
output-folder: $(python-sdks-folder)/resourceconnector/azure-mgmt-resourceconnector/azure/mgmt/resourceconnector/v2021-10-31-preview
``` yaml $(python)
no-namespace-folders: true
output-folder: $(python-sdks-folder)/resourceconnector/azure-mgmt-resourceconnector/azure/mgmt/resourceconnector
```

### Tag: package-2022-04-15-preview and python

These settings apply only when `--tag=package-2022-04-15-preview --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 $(tag) == 'package-2022-04-15-preview'
namespace: azure.mgmt.resourceconnector.2022-04-15-preview
output-folder: $(python-sdks-folder)/resourceconnector/azure-mgmt-resourceconnector/azure/mgmt/resourceconnector/2022-04-15-preview
python:
namespace: azure.mgmt.resourceconnector.2022-04-15-preview
output-folder: $(python-sdks-folder)/resourceconnector/azure-mgmt-resourceconnector/azure/mgmt/resourceconnector/2022-04-15-preview
```

0 comments on commit fbe071b

Please sign in to comment.