This is the AutoRest configuration file for SignalR.
To build the SDK for SignalR, simply Install AutoRest and in this folder, run:
autorest
To see additional help and options, run:
autorest --help
These are the global settings for the SignalR API.
openapi-type: arm
tag: package-2020-07-01-preview
directive:
- suppress: EnumInsteadOfBoolean
from: signalr.json
where: $.definitions.NameAvailability.properties.nameAvailable
reason: The boolean properties 'nameAvailable' is actually boolean value defined by Azure API spec
- suppress: EnumInsteadOfBoolean
from: signalr.json
where: $.definitions.Dimension.properties.toBeExportedForShoebox
reason: The boolean properties 'toBeExportedForShoebox' is defined by Geneva metrics.
- suppress: EnumInsteadOfBoolean
from: signalr.json
where: $.definitions.Operation.properties.isDataAction
reason: The boolean properties 'isDataAction' is a standard property for Azuer Operatoins.
- suppress: TrackedResourceListByImmediateParent
reason: Another list APIs naming approach is used over the specs
- suppress: AvoidNestedProperties
from: signalr.json
where:
- $.definitions.SignalRFeature.properties.properties
- $.definitions.PrivateEndpointConnection.properties.properties
reason: The 'properties' is a user-defined dictionary, cannot be flattened.
These settings apply only when --tag=package-2020-07-01-preview
is specified on the command line.
input-file:
- Microsoft.SignalRService/preview/2020-07-01-preview/signalr.json
These settings apply only when --tag=package-2020-05-01
is specified on the command line.
input-file:
- Microsoft.SignalRService/stable/2020-05-01/signalr.json
These settings apply only when --tag=package-2018-10-01
is specified on the command line.
input-file:
- Microsoft.SignalRService/stable/2018-10-01/signalr.json
These settings apply only when --tag=package-2018-03-01-preview
is specified on the command line.
input-file:
- Microsoft.SignalRService/preview/2018-03-01-preview/signalr.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-node
- repo: azure-sdk-for-js
- repo: azure-sdk-for-go
- repo: azure-sdk-for-ruby
after_scripts:
- bundle install && rake arm:regen_all_profiles['azure_mgmt_signalr']
- repo: azure-resource-manager-schemas
after_scripts:
- node sdkauto_afterscript.js signalr/resource-manager
See configuration in readme.go.md
See configuration in readme.java.md
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:
# last generated with AutoRest.0.17.3
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: Microsoft.Azure.Management.SignalR
output-folder: $(csharp-sdks-folder)/signalr/Microsoft.Azure.Management.SignalR/src/Generated
clear-output-folder: true
See configuration in readme.azureresourceschema.md