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
139 changes: 139 additions & 0 deletions specification/synapse/resource-manager/readme.az.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
## 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'
param: 'blobStorageEventType'
alias:
- blob_storage_event_type
- bset
- where:
group: 'KustoPoolDataConnections'
param: 'storageAccountResourceId'
alias:
- storage_account_resource_id
- sari
- where:
group: 'KustoPoolDataConnections'
param: 'eventSystemProperties'
alias:
- event_system_properties
- esysp
- where:
group: 'KustoPoolDataConnections'
param: 'managedIdentityResourceId'
alias:
- managed_identity_resource_id
- miri
- where:
group: 'KustoPoolDataConnections'
param: 'sharedAccessPolicyName'
alias:
- shared_access_policy_name
- sapn
- where:
group: 'KustoPoolDatabasePrincipalAssignments|KustoPoolPrincipalAssignments'
param: 'principalAssignmentName'
alias:
- principal_assignment_name
- psn
- where:
group: 'KustoPool'
param: 'enableStreamingIngest'
alias:
- enable_streaming_ingest
- esig
- where:
group: 'KustoPoolAttachedDatabaseConfigurations'
param: 'attachedDatabaseConfigurationName'
alias:
- attached_database_configuration_name
- adcn
- where:
group: 'KustoPoolAttachedDatabaseConfigurations'
param: 'defaultPrincipalsModificationKind'
alias:
- default_principals_modification_kind
- dpmk
- where:
group: 'KustoPoolAttachedDatabaseConfigurations'
param: 'tableLevelSharingProperties'
alias:
- table_level_sharing_properties
- tlsp
- 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
```
9 changes: 9 additions & 0 deletions specification/synapse/resource-manager/readme.cli.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!-- region Generated -->
# Az.Synapse
This directory contains the Cli common model for the Synapse service.

> Metadata
``` yaml
# Migrated from Powershell's readme

```
zesluo marked this conversation as resolved.
Show resolved Hide resolved