diff --git a/specification/confluent/resource-manager/readme.az.md b/specification/confluent/resource-manager/readme.az.md new file mode 100644 index 000000000000..237bedf87dc8 --- /dev/null +++ b/specification/confluent/resource-manager/readme.az.md @@ -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 +``` + diff --git a/specification/confluent/resource-manager/readme.cli.md b/specification/confluent/resource-manager/readme.cli.md new file mode 100644 index 000000000000..b7ee37d8290c --- /dev/null +++ b/specification/confluent/resource-manager/readme.cli.md @@ -0,0 +1,3 @@ +## CLI + +These settings don't need to apply `--cli` on the command line. diff --git a/specification/confluent/resource-manager/readme.md b/specification/confluent/resource-manager/readme.md index abc71a674bb0..9bf1a0f39d5a 100644 --- a/specification/confluent/resource-manager/readme.md +++ b/specification/confluent/resource-manager/readme.md @@ -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 @@ -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 -``` \ No newline at end of file +``` diff --git a/specification/confluent/resource-manager/readme.python.md b/specification/confluent/resource-manager/readme.python.md index e26460adc6cc..b7652ef0ee6d 100644 --- a/specification/confluent/resource-manager/readme.python.md +++ b/specification/confluent/resource-manager/readme.python.md @@ -4,38 +4,21 @@ These settings apply only when `--python` is specified on the command line. Please also specify `--python-sdks-folder=`. 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 -``` \ No newline at end of file +output-folder: $(python-sdks-folder)/confluent/azure-mgmt-confluent +```