-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
165 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
152
specification/datafactory/resource-manager/readme.az.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|
||
|
||
``` |