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

Update readme config for confluent #12312

Merged
merged 5 commits into from
Jan 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
```