Skip to content

Commit

Permalink
cosmosdb (#20188)
Browse files Browse the repository at this point in the history
  • Loading branch information
msyyc authored Aug 11, 2022
1 parent 2421768 commit 4b5383a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions specification/cosmos-db/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,14 @@ modelerfour:
no-namespace-folders: true
output-folder: $(python-sdks-folder)/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb
```
``` yaml $(python)
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';
```

0 comments on commit 4b5383a

Please sign in to comment.