This is the AutoRest configuration file for Azure Service Fabric Mesh.
Azure Service Fabric Mesh is fully managed service where developers can build and deploy mission critical applications without managing any infrastructure such as VMs, storage, or networking. Mesh is a serverless environment for applications built from microservices.
Azure Service Fabric is a distributed systems platform that makes it easy to package, deploy, and manage scalable and reliable microservices.
To build the SDK for ServiceFabricManagementClient, simply Install AutoRest and in this folder, run:
autorest
To see additional help and options, run:
autorest --help
Following are the settings for using this specification with AutoRest tool to validation and optionally generate SDK.
title: ServiceFabricMeshManagementClient
description: Service Fabric Mesh Management Client
openapi-type: arm
tag: package-2018-09-01-preview
directive:
- suppress: RequiredPropertiesMissingInResourceModel
reason: Service is a proxy resource that is managed (created and updated) by including it in the application resource. The name is required by RP to manage those resources. The name is readOnly in the default resource schema so it is not serialized on the wire by AutoRest generated libraries. This is a bug on our RP and should be fixed. The inlined objects should be part of the application properties and not a separate proxy resource.
- suppress: EnumInsteadOfBoolean
reason: The `readOnly` boolean schema is part of Azure Resource Manager common schema.
- suppress: TrackedResourcePatchOperation
reason: The patch operation is not implemented in the preview APIs.
These settings apply only when --tag=package-2018-09-01-preview
is specified on the command line.
input-file:
- Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json
These settings apply only when --tag=package-2018-07-01-preview
is specified on the command line.
input-file:
- Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/servicefabricmesh.json
This section describes what SDK should be generated by the automatic system. This is not used by Autorest itself.
swagger-to-sdk:
- repo: azure-sdk-for-net
- repo: azure-sdk-for-python
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
- repo: azure-sdk-for-node
- repo: azure-sdk-for-ruby
after_scripts:
- bundle install && rake arm:regen_all_profiles['azure_mgmt_service_fabric_mesh']
- repo: azure-resource-manager-schemas
- repo: azure-powershell
These settings apply only when --csharp
is specified on the command line.
Please also specify --csharp-sdks-folder=<path to "SDKs" directory of your azure-sdk-for-net clone>
.
csharp:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: Microsoft.Azure.Management.ServiceFabricMesh
payload-flattening-threshold: 1
output-folder: $(csharp-sdks-folder)/servicefabric/Microsoft.Azure.Management.ServiceFabricMesh/src/Generated
clear-output-folder: true
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
python:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
payload-flattening-threshold: 2
namespace: azure.mgmt.servicefabricmesh
package-name: azure-mgmt-servicefabricmesh
python:
no-namespace-folders: true
output-folder: $(python-sdks-folder)/azure-mgmt-servicefabricmesh/azure/mgmt/servicefabricmesh
python:
basic-setup-py: true
output-folder: $(python-sdks-folder)/azure-mgmt-servicefabricmesh
See configuration in readme.go.md
These settings apply only when --java
is specified on the command line.
Please also specify --azure-libraries-for-java-folder=<path to the root directory of your azure-libraries-for-java clone>
.
azure-arm: true
fluent: true
namespace: com.microsoft.azure.management.servicefabricmesh
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-servicefabricmesh
batch:
- tag: package-2018-09-01-preview
- tag: package-2018-07-01-preview
These settings apply only when --tag=2018-09-01-preview --java
is specified on the command line.
Please also specify --azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>
.
java:
namespace: com.microsoft.azure.management.servicefabricmesh.v2018_09_01_preview
output-folder: $(azure-libraries-for-java-folder)/sdk/servicefabricmesh/mgmt-v2018_09_01_preview
regenerate-manager: true
generate-interface: true
These settings apply only when --tag=2018-07-01-preview --java
is specified on the command line.
Please also specify --azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>
.
java:
namespace: com.microsoft.azure.management.servicefabricmesh.v2018_07_01_preview
output-folder: $(azure-libraries-for-java-folder)/sdk/servicefabricmesh/mgmt-v2018_07_01_preview
regenerate-manager: true
generate-interface: true