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

[Synapse]Add auto gen readme files for cli kusto support #16581

Merged
merged 12 commits into from
Nov 3, 2021
79 changes: 79 additions & 0 deletions specification/synapse/resource-manager/readme.az.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
## AZ
These settings apply only when `--az` is specified on the command line.

``` yaml $(az) && $(target-mode) == 'core'
az:
extensions: synapse
namespace: azure.mgmt.synapse
package-name: azure-mgmt-synapse
az-output-folder: $(azure-cli-folder)/src/azure-cli/azure/cli/command_modules/synapse
python-sdk-output-folder: "$(az-output-folder)/vendored_sdks/synapse"
input-file:
- Microsoft.Synapse/preview/2021-06-01-preview/kustoPool.json

directive:
- where:
group: 'synapse kusto-pool-database-principal-assignment'
set:
group: 'synapse kusto database-principal-assignment'
- where:
group: 'synapse kusto-pool-attached-database-configuration'
set:
group: 'synapse kusto attached-database-configuration'
- where:
group: 'synapse kusto-pool-data-connection'
set:
group: 'synapse kusto data-connection'
- where:
group: 'synapse kusto-pool-database'
set:
group: 'synapse kusto database'
- where:
group: 'synapse kusto-pool-principal-assignment'
set:
group: 'synapse kusto pool-principal-assignment'
- where:
group: 'synapse kusto-pool'
set:
group: 'synapse kusto pool'
- where:
group: 'synapse kusto-pool-data-connection event-grid'
set:
group: 'synapse kusto data-connection event-grid'
- where:
group: 'synapse kusto-pool-data-connection event-hub'
set:
group: 'synapse kusto data-connection event-hub'
- where:
group: 'synapse kusto-pool-data-connection iot-hub'
set:
group: 'synapse kusto data-connection iot-hub'

cli:
cli-directive:
zesluo marked this conversation as resolved.
Show resolved Hide resolved
- where:
group: 'KustoPoolDataConnections'
op: 'CreateOrUpdate|Update'
param: 'parameters'
poly-resource: true
- where:
group: 'KustoPoolDataConnections'
op: 'dataConnectionValidation'
removed: true
- where:
group: 'KustoPools'
op: 'AddLanguageExtensions'
removed: true
- where:
group: 'KustoPools'
op: 'RemoveLanguageExtensions'
removed: true
- where:
group: 'KustoPools'
op: 'DetachFollowerDatabases'
removed: true
- where:
group: 'KustoPools'
op: 'CreateOrUpdate|Update'
removed: true
```
8 changes: 8 additions & 0 deletions specification/synapse/resource-manager/readme.cli.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<!-- region Generated -->
# Az.Synapse
This directory contains the Cli common model for the Synapse service.

> Metadata
``` yaml

```
1 change: 1 addition & 0 deletions specification/synapse/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ swagger-to-sdk:
- repo: azure-sdk-for-python-track2
- repo: azure-sdk-for-go
- repo: azure-resource-manager-schemas
- repo: azure-cli-extensions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need this line?

```

## Python
Expand Down