Skip to content

Commit

Permalink
add readme.az.md
Browse files Browse the repository at this point in the history
  • Loading branch information
RodgeFu committed Mar 31, 2020
1 parent 03c98e8 commit 20bd01f
Show file tree
Hide file tree
Showing 2 changed files with 165 additions and 0 deletions.
13 changes: 13 additions & 0 deletions specification/azure-kusto/resource-manager/readme.az.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## AZ

These settings apply only when `--az` is specified on the command line.

``` yaml $(az)
az:
extensions: kusto
namespace: azure.mgmt.kusto
package-name: azure-mgmt-kusto
python-sdk-output-folder: "$(output-folder)/src/kusto/azext_kusto/vendored_sdks/kusto"


```
152 changes: 152 additions & 0 deletions specification/datafactory/resource-manager/readme.az.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,152 @@
## AZ

These settings apply only when `--az` is specified on the command line.

``` yaml $(az)
az:
extensions: datafactory
namespace: azure.mgmt.datafactory
package-name: azure-mgmt-datafactory
python-sdk-output-folder: "$(output-folder)/src/datafactory/azext_datafactory/vendored_sdks/datafactory"

#directive:
# - from: swagger-document
# where: $..parameters[?(@.in=='body')]
# transform: >
# $['x-ms-client-flatten'] = true;
# reason: Flatten everything for Azure CLI
# - from: swagger-document
# where: $.definitions[*].properties.*
# transform: >
# $['x-ms-client-flatten'] = true;
# reason: Flatten everything for Azure CLI
# - from: swagger-document
# where: $.definitions[?(@.discriminator)]
# transform: >
# $['x-ms-client-flatten'] = false;
# - from: swagger-document
# where: $.definitions[?(@.discriminator)].properties.*
# transform: >
# $['x-ms-client-flatten'] = false;
# - from: swagger-document
# where: $.definitions.FactoryRepoUpdate.properties.repoConfiguration
# transform: >
# $['x-ms-client-flatten'] = false;
# reason: manually don't flatten the polymorphic base class
# - from: swagger-document
# where: $.definitions.FactoryProperties.properties.repoConfiguration
# transform: >
# $['x-ms-client-flatten'] = false;
# reason: manually don't flatten the polymorphic base class
# - from: swagger-document
# where: $.definitions.Pipeline.properties.activities
# transform: >
# $['x-ms-client-flatten'] = false;
#- from: swagger-document
# where: $.definitions.CmdkeySetupTypeProperties.properties.password
# transform: >
# $['x-ms-client-flatten'] = false;
# reason: manually don't flatten the polymorphic base class
#- from: swagger-document
# where: $.definitions.LicensedComponentSetupTypeProperties.properties.licenseKey
# transform: >
# $['x-ms-client-flatten'] = false;
# reason: manually don't flatten the polymorphic base class
#- from: swagger-document
# where: $.definitions.*.properties.servicePrincipalKey
# transform: >
# $['x-ms-client-flatten'] = false;
# reason: manually don't flatten the polymorphic base class
#- from: swagger-document
# where: $.definitions.DataFlowResource.properties.properties
# transform: >
# $['x-ms-client-flatten'] = false;
# reason: manually don't flatten the polymorphic base class
#- from: swagger-document
# where: $.definitions.DataFlowDebugResource.properties.properties
# transform: >
# $['x-ms-client-flatten'] = false;
# reason: manually don't flatten the polymorphic base class
#- from: swagger-document
# where: $.definitions.IntegrationRuntimeResource.properties.properties
# transform: >
# $['x-ms-client-flatten'] = false;
# reason: manually don't flatten the polymorphic base class
#- from: swagger-document
# where: $.definitions.IntegrationRuntimeDebugResource.properties.properties
# transform: >
# $['x-ms-client-flatten'] = false;
# reason: manually don't flatten the polymorphic base class
#- from: swagger-document
# where: $.definitions.LinkedServiceResource.properties.properties
# transform: >
# $['x-ms-client-flatten'] = false;


cli:
cli-directive:
# directive on operationGroup
- where:
group: 'Datasets'
op: 'CreateOrUpdate'
param: 'properties'
poly-resource: true
- where:
group: 'LinkedServices'
op: 'CreateOrUpdate'
param: 'properties'
poly-resource: true
- where:
group: 'IntegrationRuntimes'
op: 'CreateOrUpdate'
param: 'properties'
poly-resource: true
- select: 'operationGroup'
where:
operationGroup: 'operations'
operation: 'list'
hidden: true
- where:
parameter: location
required: true
- where:
group: pipelines
parameter: pipeline
set:
json: true
# - where:
# operationGroup: 'exposure_control'
# delete: true
# - where:
# operationGroup: 'integration_runtime_object_metadata'
# delete: true
# - where:
# operationGroup: 'datasets'
# delete: true
# - where:
# operationGroup: 'activity_runs'
# delete: true
# - where:
# operationGroup: 'data_flows'
# delete: true
# - where:
# operationGroup: 'data_flow_debug_session'
# delete: true
# - where:
# operationGroup: 'integration_runtimes'
# delete: true
# - where:
# operationGroup: 'integration_runtime_nodes'
# delete: true
# - where:
# operationGroup: 'linked_services'
# delete: true
cli-flatten-directive:
- where:
group: pipelines
parameter: pipeline
flatten: false



```

0 comments on commit 20bd01f

Please sign in to comment.