Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 19 additions & 18 deletions specification/storagesync/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,25 +24,25 @@ To see additional help and options, run:

These are the global settings for the Storage Sync API.

``` yaml
```yaml
openapi-type: arm
tag: package-2019-06
tag: package-2019-06-01
```


### Tag: package-2019-06
### Tag: package-2019-06-01

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

```yaml $(tag) == 'package-2019-06'
```yaml $(tag) == 'package-2019-06-01'
input-file:
- Microsoft.StorageSync/stable/2019-06-01/storagesync.json
```
### Tag: package-2019-03-01

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

``` yaml $(tag) == 'package-2019-03-01'
```yaml $(tag) == 'package-2019-03-01'
input-file:
- Microsoft.StorageSync/stable/2019-03-01/storagesync.json
```
Expand All @@ -51,7 +51,7 @@ input-file:

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

``` yaml $(tag) == 'package-2019-02-01'
```yaml $(tag) == 'package-2019-02-01'
input-file:
- Microsoft.StorageSync/stable/2019-02-01/storagesync.json
```
Expand All @@ -60,7 +60,7 @@ input-file:

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

``` yaml $(tag) == 'package-2018-10-01'
```yaml $(tag) == 'package-2018-10-01'
input-file:
- Microsoft.StorageSync/stable/2018-10-01/storagesync.json
```
Expand All @@ -69,7 +69,7 @@ input-file:

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

``` yaml $(tag) == 'package-2018-07-01'
```yaml $(tag) == 'package-2018-07-01'
input-file:
- Microsoft.StorageSync/stable/2018-07-01/storagesync.json
```
Expand All @@ -78,7 +78,7 @@ input-file:

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

``` yaml $(tag) == 'package-2018-04-02'
```yaml $(tag) == 'package-2018-04-02'
input-file:
- Microsoft.StorageSync/stable/2018-04-02/storagesync.json
```
Expand All @@ -87,7 +87,7 @@ input-file:

These settings apply only when `--tag=package-2017-06-05-preview` is specified on the command line.

``` yaml $(tag) == 'package-2017-06-05-preview'
```yaml $(tag) == 'package-2017-06-05-preview'
input-file:
- Microsoft.StorageSync/preview/2017-06-05-preview/storagesync.json
```
Expand All @@ -101,7 +101,7 @@ input-file:
This section describes what SDK should be generated by the automatic system.
This is not used by Autorest itself.

``` yaml $(swagger-to-sdk)
```yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-net
- repo: azure-sdk-for-python
Expand All @@ -116,7 +116,7 @@ swagger-to-sdk:
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>`.

``` yaml $(csharp)
```yaml $(csharp)
csharp:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
Expand All @@ -132,7 +132,7 @@ 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)
```yaml $(python)
python-mode: create
python:
azure-arm: true
Expand All @@ -144,13 +144,13 @@ python:
clear-output-folder: true
```

``` yaml $(python) && $(python-mode) == 'update'
```yaml $(python) && $(python-mode) == 'update'
python:
no-namespace-folders: true
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storagesync/azure/mgmt/storagesync
```

``` yaml $(python) && $(python-mode) == 'create'
```yaml $(python) && $(python-mode) == 'create'
python:
basic-setup-py: true
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storagesync
Expand All @@ -170,12 +170,13 @@ AutoRest V3 generators require the use of `--tag=all-api-versions` to select api

This block is updated by an automatic script. Edits may be lost!

``` yaml $(tag) == 'all-api-versions' /* autogenerated */
```yaml $(tag) == 'all-api-versions' /* autogenerated */
# include the azure profile definitions from the standard location
require: $(this-folder)/../../../profiles/readme.md

# all the input files across all versions
input-file:
- $(this-folder)/Microsoft.StorageSync/stable/2019-06-01/storagesync.json
- $(this-folder)/Microsoft.StorageSync/stable/2019-03-01/storagesync.json
- $(this-folder)/Microsoft.StorageSync/stable/2019-02-01/storagesync.json
- $(this-folder)/Microsoft.StorageSync/stable/2018-10-01/storagesync.json
Expand All @@ -188,7 +189,7 @@ input-file:
If there are files that should not be in the `all-api-versions` set,
uncomment the `exclude-file` section below and add the file paths.

``` yaml $(tag) == 'all-api-versions'
```yaml $(tag) == 'all-api-versions'
#exclude-file:
# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
```