These settings apply only when --python
is specified on the command line.
Please also specify --python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>
.
Use --python-mode=update
if you already have a setup.py and just want to update the code itself.
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: azure.mgmt.cosmosdb
package-name: azure-mgmt-cosmosdb
package-version: 0.7.0
clear-output-folder: true
modelerfour:
lenient-model-deduplication: true
no-namespace-folders: true
output-folder: $(python-sdks-folder)/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb
directive:
- from: managedCassandra.json
where: $.definitions
transform: >
$.CassandraClusterPublicStatus.properties.dataCenters.items.properties.nodes.items['x-ms-client-name'] = 'CassandraClusterDataCenterNodeItem';
- from: cosmos-db.json
where: $.definitions
transform: >
$.ManagedServiceIdentity.properties.userAssignedIdentities.additionalProperties['x-ms-client-name'] = 'ManagedServiceIdentityUserAssignedIdentity';