Skip to content

Commit

Permalink
[Synapse]Add auto gen readme files for cli kusto support (Azure#16581)
Browse files Browse the repository at this point in the history
* Add blockchain to latest profile

* Add additional types

* addclikustosupportautogenfiles

* removealias

* addrepo

Co-authored-by: Mark Cowlishaw <markcowl@microsoft.com>
  • Loading branch information
2 people authored and LeiWang3 committed Mar 31, 2022
1 parent f88a718 commit 80d42af
Show file tree
Hide file tree
Showing 3 changed files with 88 additions and 0 deletions.
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:
- 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
```

## Python
Expand Down

0 comments on commit 80d42af

Please sign in to comment.