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.
python-mode: create
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: azure.mgmt.servicefabric
package-name: azure-mgmt-servicefabric
package-version: 1.0.0b1
clear-output-folder: true
no-namespace-folders: true
output-folder: $(python-sdks-folder)/servicefabric/azure-mgmt-servicefabric/azure/mgmt/servicefabric
directive:
- from: application.json
where: $.paths["/providers/Microsoft.ServiceFabric/operations"].get
transform: $['operationId'] = 'Application_List'
- from: managedcluster.json
where: $.paths["/providers/Microsoft.ServiceFabric/operations"].get
transform: $['operationId'] = 'Managedcluster_List'
- from: nodetype.json
where: $.paths["/providers/Microsoft.ServiceFabric/operations"].get
transform: $['operationId'] = 'Nodetype_List'