Skip to content

Latest commit

 

History

History
146 lines (96 loc) · 3.61 KB

File metadata and controls

146 lines (96 loc) · 3.61 KB

CustomerInsights

see https://aka.ms/autorest

This is the AutoRest configuration file for CustomerInsights.


Getting Started

To build the SDK for CustomerInsights, simply Install AutoRest and in this folder, run:

autorest

To see additional help and options, run:

autorest --help


Configuration

Basic Information

These are the global settings for the CustomerInsights API.

openapi-type: arm
tag: package-2017-04

Tag: package-2017-04

These settings apply only when --tag=package-2017-04 is specified on the command line.

input-file:
- Microsoft.CustomerInsights/stable/2017-04-26/customer-insights.json

Tag: package-2017-01

These settings apply only when --tag=package-2017-01 is specified on the command line.

input-file:
- Microsoft.CustomerInsights/stable/2017-01-01/customer-insights.json

Code Generation

Swagger to SDK

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-track2
  - 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_customer_insights']
  - repo: azure-resource-manager-schemas
  - repo: azure-powershell

C#

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.CustomerInsights
  output-folder: $(csharp-sdks-folder)/customer-insights/Microsoft.Azure.Management.CustomerInsights/src/Generated
  clear-output-folder: true

Go

See configuration in readme.go.md

Java

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.customerinsights
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-customerinsights

Java multi-api

batch:
  - tag: package-2017-01
  - tag: package-2017-04

Tag: package-2017-01 and java

These settings apply only when --tag=package-2017-01 --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.customerinsights.v2017_01_01
  output-folder: $(azure-libraries-for-java-folder)/sdk/customerinsights/mgmt-v2017_01_01
regenerate-manager: true
generate-interface: true

Tag: package-2017-04 and java

These settings apply only when --tag=package-2017-04 --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.customerinsights.v2017_04_26
  output-folder: $(azure-libraries-for-java-folder)/sdk/customerinsights/mgmt-v2017_04_26
regenerate-manager: true
generate-interface: true