Skip to content

Latest commit

 

History

History
39 lines (33 loc) · 1.36 KB

File metadata and controls

39 lines (33 loc) · 1.36 KB

Python

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
basic-setup-py: true
output-folder: $(python-sdks-folder)/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'