forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Azure Stack] Updates to Azs.Storage.Admin spec (Azure#8959)
* commit 1ef8191 Author: Yuxing Zhou <zyx.pulsars@gmail.com> Date: Thu Feb 6 09:13:52 2020 +0800 [Azure Stack] Update storage admin specs for new generation with autorest-beta (Azure#8306) * Update storage admin specs for new generation with autorest-beta * fix code style commit 9e551f0 Author: bganapa <bganapa@microsoft.com> Date: Tue Nov 12 11:44:22 2019 -0800 Reset to Stackadmin2 (Azure#7766) * Fix resourcegroup case * Fix old version * Address PR feedback
- Loading branch information
Showing
5 changed files
with
67 additions
and
15 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
55 changes: 55 additions & 0 deletions
55
specification/azsadmin/resource-manager/storage/readme.azsautogen.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,55 @@ | ||
# Storage Admin | ||
|
||
> see https://aka.ms/autorest | ||
This is the AutoRest configuration file for Storage Admin. | ||
|
||
--- | ||
## Getting Started | ||
To build the SDK for Storage Admin, 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 Storage API. | ||
|
||
``` yaml | ||
title: StorageAdminClient | ||
description: Storage Admin Client | ||
openapi-type: arm | ||
tag: package-2019-08-08 | ||
``` | ||
``` yaml | ||
input-file: | ||
- $(this-folder)/Microsoft.Storage.Admin/preview/2019-08-08/storageaccounts.json | ||
- $(this-folder)/Microsoft.Storage.Admin/preview/2019-08-08/quotas.json | ||
- $(this-folder)/Microsoft.Storage.Admin/preview/2019-08-08/settings.json | ||
- $(this-folder)/Microsoft.Storage.Admin/preview/2019-08-08/storage.json | ||
- $(this-folder)/Microsoft.Storage.Admin/preview/2019-08-08/acquisitions.json | ||
``` | ||
--- | ||
# Code Generation | ||
## 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>`. | ||
|
||
``` yaml $(csharp) | ||
csharp: | ||
azure-arm: true | ||
license-header: MICROSOFT_MIT_NO_VERSION | ||
namespace: Microsoft.AzureStack.Management.Storage.Admin | ||
payload-flattening-threshold: 1 | ||
output-folder: $(csharp-sdks-folder)/Generated | ||
clear-output-folder: true | ||
``` |