This is the AutoRest configuration file for loadtestservice.
To build the SDKs for My API, simply install AutoRest via npm
(npm install -g autorest
) and then run:
autorest readme.md
To see additional help and options, run:
autorest --help
For other options on installation see Installing AutoRest on the AutoRest github page.
These are the global settings for the loadtestservice.
openapi-type: arm
openapi-subtype: rpaas
tag: package-2022-12-01
These settings apply only when --tag=package-2024-12-01
is specified on the command line.
input-file:
- Microsoft.LoadTestService/preview/2024-12-01-preview/loadtestservice.json
directive:
- where:
- $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LoadTestService/loadTests/{loadTestName}/limits/maxMonthlyVirtualUserHours"]
suppress: PathForNestedResource
reason: Load test resource limits API design.
- where:
- $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LoadTestService/loadTests/{loadTestName}/limits/maxMonthlyVirtualUserHours"]
- $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LoadTestService/loadTests/{loadTestName}/limits/maxMonthlyVirtualUserHours/set"]
suppress: ResourceNameRestriction
reason: The parent loadTests resource (existing API) does not have pattern restriction.
- where:
- $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LoadTestService/loadTests/{loadTestName}/limits/maxMonthlyVirtualUserHours/set"]
suppress: PathForResourceAction
reason: API design for post action for the load testing resource limits.
These settings apply only when --tag=package-2023-12-01
is specified on the command line.
input-file:
- Microsoft.LoadTestService/preview/2023-12-01-preview/loadtestservice.json
These settings apply only when --tag=package-2022-12-01
is specified on the command line.
input-file:
- Microsoft.LoadTestService/stable/2022-12-01/loadtestservice.json
These settings apply only when --tag=package-2022-04-15-preview
is specified on the command line.
input-file:
- Microsoft.LoadTestService/preview/2022-04-15-preview/loadtestservice.json
These settings apply only when --tag=package-2021-12-01-preview
is specified on the command line.
input-file:
- Microsoft.LoadTestService/preview/2021-12-01-preview/loadtestservice.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-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
- repo: azure-sdk-for-ruby
after_scripts:
- bundle install && rake arm:regen_all_profiles['azure_mgmt_loadtesting']
- repo: azure-powershell
See configuration in readme.go.md
See configuration in readme.python.md
See configuration in readme.ruby.md
See configuration in readme.typescript.md
See configuration in readme.csharp.md
See configuration in readme.java.md