Skip to content

Commit

Permalink
Update readme config for confluent (#12312)
Browse files Browse the repository at this point in the history
  • Loading branch information
fengzhou-msft authored Jan 13, 2021
1 parent fb04862 commit 46a7ad1
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 25 deletions.
33 changes: 33 additions & 0 deletions specification/confluent/resource-manager/readme.az.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
## AZ

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

``` yaml $(az) && $(target-mode) != 'core'
az:
extensions: confluent
namespace: azure.mgmt.confluent
package-name: azure-mgmt-confluent
az-output-folder: $(azure-cli-extension-folder)/src/confluent
python-sdk-output-folder: "$(az-output-folder)/azext_confluent/vendored_sdks/confluent"

directive:
- where:
group: marketplace-agreement
set:
group: terms
cli:
cli-directive:
- where:
group: MarketplaceAgreements
op: Create
hidden: true
- where:
group: OrganizationOperations
hidden: true
- where:
group: Organization
op: Create
param: provisioningState
hidden: true
```
3 changes: 3 additions & 0 deletions specification/confluent/resource-manager/readme.cli.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## CLI

These settings don't need to apply `--cli` on the command line.
3 changes: 1 addition & 2 deletions specification/confluent/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-net
- repo: azure-sdk-for-python
- repo: azure-sdk-for-python-track2
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
Expand Down Expand Up @@ -119,4 +118,4 @@ uncomment the `exclude-file` section below and add the file paths.
``` yaml $(tag) == 'all-api-versions'
#exclude-file:
# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
```
```
29 changes: 6 additions & 23 deletions specification/confluent/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,38 +4,21 @@ 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
python:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
payload-flattening-threshold: 2
namespace: azure.mgmt.confluent
package-name: azure-mgmt-confluent
package-version: 1.0.0b1
clear-output-folder: true
```
``` yaml $(python) && $(track2)
python-mode: create
``` yaml $(python)
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
payload-flattening-threshold: 2
namespace: azure.mgmt.confluent
package-name: azure-mgmt-confluent
package-version: 1.0.0b1
clear-output-folder: true
```
``` yaml $(python) && $(python-mode) == 'update'
python:
no-namespace-folders: true
output-folder: $(python-sdks-folder)/azure-mgmt-confluent/azure/mgmt/confluent
no-namespace-folders: true
output-folder: $(python-sdks-folder)/azure-mgmt-confluent/azure/mgmt/confluent
output-folder: $(python-sdks-folder)/confluent/azure-mgmt-confluent/azure/mgmt/confluent
```
``` yaml $(python) && $(python-mode) == 'create'
python:
basic-setup-py: true
output-folder: $(python-sdks-folder)/azure-mgmt-confluent
basic-setup-py: true
output-folder: $(python-sdks-folder)/azure-mgmt-confluent
```
output-folder: $(python-sdks-folder)/confluent/azure-mgmt-confluent
```

0 comments on commit 46a7ad1

Please sign in to comment.