This repository has been archived by the owner on Jul 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
44 changed files
with
1,940 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
## CLI | ||
|
||
These settings apply only when `--az` is specified on the command line. | ||
|
||
``` yaml $(az) | ||
az: | ||
extensions: boolean | ||
package-name: azure-mgmt-boolean | ||
namespace: azure.mgmt.boolean | ||
client-subscription-bound: false | ||
client-base-url-bound: false | ||
client-authentication-policy: SansIOHTTPPolicy | ||
az-output-folder: $(azure-cli-extension-folder)/src/boolean | ||
python-sdk-output-folder: "$(az-output-folder)/azext_boolean/vendored_sdks/boolean" | ||
|
||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
CLI | ||
|
||
These settings apply only when `--cli` is specified on the command line. | ||
|
||
``` yaml $(cli) | ||
#cli: | ||
# test-scenario: | ||
# - name: Factories_CreateOrUpdate | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# Managed Network | ||
|
||
> see https://aka.ms/autorest | ||
This is the AutoRest configuration file for Managed Network. | ||
|
||
|
||
|
||
--- | ||
## Getting Started | ||
To build the SDK for Managed Network, simply [Install AutoRest](https://aka.ms/autorest/install) 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 Managed Network API. | ||
|
||
``` yaml | ||
openapi-type: arm | ||
tag: testserver-local | ||
override-info: | ||
title: AutoRest Test Service | ||
description: Test Infrastructure for AutoRest. | ||
``` | ||
### Tag: testserver-local | ||
These settings apply only when `--tag=testserver-local` is specified on the command line. | ||
|
||
``` yaml $(tag) == 'testserver-local' | ||
input-file: | ||
- ../input/body-boolean.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. | ||
|
||
``` yaml $(swagger-to-sdk) | ||
swagger-to-sdk: | ||
- repo: azure-sdk-for-python | ||
``` | ||
|
||
|
||
## CLI | ||
|
||
See configuration in [readme.cli.md](./readme.cli.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
## Python | ||
|
||
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. | ||
|
||
``` yaml $(python) | ||
python: | ||
azure-arm: true | ||
license-header: MICROSOFT_MIT_NO_VERSION | ||
payload-flattening-threshold: 2 | ||
namespace: azure.mgmt.boolean | ||
package-name: azure-mgmt-boolean | ||
package-version: 0.1.0 | ||
clear-output-folder: true | ||
``` | ||
``` yaml $(python) && $(python-mode) == 'update' | ||
python: | ||
no-namespace-folders: true | ||
output-folder: $(python-sdks-folder)/boolean/azure-mgmt-boolean/azure/mgmt/boolean | ||
``` | ||
``` yaml $(python) && $(python-mode) == 'create' | ||
python: | ||
basic-setup-py: true | ||
output-folder: $(python-sdks-folder)/boolean/azure-mgmt-boolean | ||
``` |
Oops, something went wrong.