Skip to content

Latest commit

 

History

History
240 lines (179 loc) · 7.47 KB

File metadata and controls

240 lines (179 loc) · 7.47 KB

Logic

see https://aka.ms/autorest

This is the AutoRest configuration file for Logic.


Getting Started

To build the SDK for Logic, 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 Logic API.

openapi-type: arm
tag: package-2019-05

directive:
  - where:
      - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}/listExpressionTraces"].post.responses["200"].schema
    suppress:
      - CollectionObjectPropertiesNaming
  - where:
      - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions/{repetitionName}/listExpressionTraces"].post.responses["200"].schema
    suppress:
      - CollectionObjectPropertiesNaming

Tag: package-2019-05

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

input-file:
- Microsoft.Logic/stable/2019-05-01/logic.json

Tag: package-2018-07-preview

These settings apply only when --tag=package-2018-07-preview is specified on the command line.

input-file:
- Microsoft.Logic/preview/2018-07-01-preview/logic.json

Suppression

directive:
  - suppress: R3016
    reason: Existing properties, can't be changed without breaking API.
    #where:
    #  - $.definitions.AS2ErrorSettings.properties.resendIfMDNNotReceived
    #  - $.definitions.AS2MdnSettings.properties.needMDN
    #  - $.definitions.AS2MdnSettings.properties.signMDN
    #  - $.definitions.AS2MdnSettings.properties.sendMDNAsynchronously
    #  - $.definitions.AS2MdnSettings.properties.signOutboundMDNIfOptional
    #  - $.definitions.AS2MdnSettings.properties.sendInboundMDNToMessageBox
    #  - $.definitions.AS2SecuritySettings.properties.enableNRRForInboundEncodedMessages
    #  - $.definitions.AS2SecuritySettings.properties.enableNRRForInboundDecodedMessages
    #  - $.definitions.AS2SecuritySettings.properties.enableNRRForOutboundMDN
    #  - $.definitions.AS2SecuritySettings.properties.enableNRRForOutboundEncodedMessages
    #  - $.definitions.AS2SecuritySettings.properties.enableNRRForOutboundDecodedMessages
    #  - $.definitions.AS2SecuritySettings.properties.enableNRRForInboundMDN
    #  - $.definitions.EdifactValidationSettings.properties.validateEDITypes
    #  - $.definitions.EdifactValidationSettings.properties.validateXSDTypes
    #  - $.definitions.EdifactValidationOverride.properties.validateEDITypes
    #  - $.definitions.EdifactValidationOverride.properties.validateXSDTypes
    #  - $.definitions.X12ValidationSettings.properties.validateEDITypes
    #  - $.definitions.X12ValidationSettings.properties.validateXSDTypes
    #  - $.definitions.X12ValidationOverride.properties.validateEDITypes
    #  - $.definitions.X12ValidationOverride.properties.validateXSDTypes

Tag: package-2016-06

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

input-file:
- Microsoft.Logic/stable/2016-06-01/logic.json

Tag: package-2015-08-preview

These settings apply only when --tag=package-2015-08-preview is specified on the command line.

input-file:
- Microsoft.Logic/preview/2015-08-01-preview/logic.json

Tag: package-2015-02-preview

These settings apply only when --tag=package-2015-02-preview is specified on the command line.

input-file:
- Microsoft.Logic/preview/2015-02-01-preview/logic.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-python
  - repo: azure-sdk-for-java
  - repo: azure-sdk-for-trenton
  - 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_logic']
  - repo: azure-cli-extensions
  - 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.Logic
  output-folder: $(csharp-sdks-folder)/logic/Microsoft.Azure.Management.Logic/src/Generated
  clear-output-folder: true

Python

See configuration in readme.python.md

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

Java multi-api

batch:
  - tag: package-2019-05
  - tag: package-2018-07-preview
  - tag: package-2016-06

Tag: package-2019-05 and java

These settings apply only when --tag=package-2019-05 --java is specified on the command line. Please also specify --azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>.

java:
  namespace: com.microsoft.azure.management.logic.v2019_05_01
  output-folder: $(azure-libraries-for-java-folder)/sdk/logic/mgmt-v2019_05_01
regenerate-manager: true
generate-interface: true

Tag: package-2018-07-preview and java

These settings apply only when --tag=package-2018-07-preview --java is specified on the command line. Please also specify --azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>.

java:
  namespace: com.microsoft.azure.management.logic.v2018_07_01_preview
  output-folder: $(azure-libraries-for-java-folder)/sdk/logic/mgmt-v2018_07_01_preview
regenerate-manager: true
generate-interface: true

Tag: package-2016-06 and java

These settings apply only when --tag=package-2016-06 --java is specified on the command line. Please also specify --azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>.

java:
  namespace: com.microsoft.azure.management.logic.v2016_06_01
  output-folder: $(azure-libraries-for-java-folder)/sdk/logic/mgmt-v2016_06_01
regenerate-manager: true
generate-interface: true

Terraform

These settings apply only when --terraform is specified on the command line.

terraform:
    cli-name: logic
    azure_arm: true
    license_header: MICROSOFT_MIT_NO_VERSION
    payload_flattening_threshold: 2
    namespace: logic
    package-name: logic
    clear-output-folder: false