-
Notifications
You must be signed in to change notification settings - Fork 5k
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.Fabric.Admin spec for autorest config (#…
…9030) * Cumulative commit message: commit 6ecda64 Author: Yuxing Zhou <zyx.pulsars@gmail.com> Date: Sat Jan 4 02:25:35 2020 +0800 [Azure Stack] Update fabric storage admin specs for new generation with autorest-beta (#8038) commit 9e551f0 Author: bganapa <bganapa@microsoft.com> Date: Tue Nov 12 11:44:22 2019 -0800 Reset to Stackadmin2 (#7766) * Address PR comments * Fix semantic issue * Reset NasCluster files to master * Add nascluster changes * Revert readme.md changes
- Loading branch information
Showing
8 changed files
with
137 additions
and
1 deletion.
There are no files selected for viewing
35 changes: 35 additions & 0 deletions
35
...on/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/Common.json
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,35 @@ | ||
{ | ||
"swagger": "2.0", | ||
"info": { | ||
"version": "2016-05-01", | ||
"title": "FabricAdminClient", | ||
"description": "The common parameters for Fabric Management specs." | ||
}, | ||
"host": "management.azure.com", | ||
"schemes": [ | ||
"https" | ||
], | ||
"produces": [ | ||
"application/json" | ||
], | ||
"consumes": [ | ||
"application/json" | ||
], | ||
"paths": {}, | ||
"parameters": { | ||
"TopParameter": { | ||
"description": "OData top parameter.", | ||
"name": "$top", | ||
"in": "query", | ||
"type": "string", | ||
"x-ms-parameter-location": "method" | ||
}, | ||
"SkipParameter": { | ||
"description": "OData skip parameter.", | ||
"name": "$skip", | ||
"in": "query", | ||
"type": "string", | ||
"x-ms-parameter-location": "method" | ||
} | ||
} | ||
} |
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
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
72 changes: 72 additions & 0 deletions
72
specification/azsadmin/resource-manager/fabric/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,72 @@ | ||
# Fabric Admin | ||
|
||
> see https://aka.ms/autorest | ||
This is the AutoRest configuration file for Fabric Admin. | ||
|
||
--- | ||
## Getting Started | ||
To build the SDK for Fabric 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 Fabric API. | ||
|
||
``` yaml | ||
title: FabricAdminClient | ||
description: Fabric Admin Client | ||
openapi-type: arm | ||
tag: package-2019-05-01 | ||
``` | ||
``` yaml | ||
input-file: | ||
- $(this-folder)/Microsoft.Fabric.Admin/preview/2016-05-01/ApplicationOperationResults.json | ||
- $(this-folder)/Microsoft.Fabric.Admin/preview/2016-05-01/ComputeOperationResults.json | ||
- $(this-folder)/Microsoft.Fabric.Admin/preview/2016-05-01/Fabric.json | ||
- $(this-folder)/Microsoft.Fabric.Admin/preview/2016-05-01/EdgeGateway.json | ||
- $(this-folder)/Microsoft.Fabric.Admin/preview/2016-05-01/EdgeGatewayPool.json | ||
- $(this-folder)/Microsoft.Fabric.Admin/preview/2016-05-01/FabricLocation.json | ||
- $(this-folder)/Microsoft.Fabric.Admin/preview/2016-05-01/FileShare.json | ||
- $(this-folder)/Microsoft.Fabric.Admin/preview/2016-05-01/InfraRole.json | ||
- $(this-folder)/Microsoft.Fabric.Admin/preview/2016-05-01/InfraRoleInstance.json | ||
- $(this-folder)/Microsoft.Fabric.Admin/preview/2016-05-01/IpPool.json | ||
- $(this-folder)/Microsoft.Fabric.Admin/preview/2016-05-01/LogicalNetwork.json | ||
- $(this-folder)/Microsoft.Fabric.Admin/preview/2016-05-01/LogicalSubnet.json | ||
- $(this-folder)/Microsoft.Fabric.Admin/preview/2016-05-01/MacAddressPool.json | ||
- $(this-folder)/Microsoft.Fabric.Admin/preview/2016-05-01/NetworkOperationResults.json | ||
- $(this-folder)/Microsoft.Fabric.Admin/preview/2016-05-01/ScaleUnit.json | ||
- $(this-folder)/Microsoft.Fabric.Admin/preview/2016-05-01/ScaleUnitNode.json | ||
- $(this-folder)/Microsoft.Fabric.Admin/preview/2016-05-01/SlbMuxInstance.json | ||
- $(this-folder)/Microsoft.Fabric.Admin/preview/2016-05-01/StorageOperationResults.json | ||
- $(this-folder)/Microsoft.Fabric.Admin/preview/2018-10-01/StorageSubSystem.json | ||
- $(this-folder)/Microsoft.Fabric.Admin/preview/2019-05-01/Drive.json | ||
- $(this-folder)/Microsoft.Fabric.Admin/preview/2019-05-01/Volume.json | ||
- $(this-folder)/Microsoft.Fabric.Admin/preview/2019-05-01/NasCluster.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.Fabric.Admin | ||
payload-flattening-threshold: 1 | ||
output-folder: $(csharp-sdks-folder)/Generated | ||
clear-output-folder: true | ||
``` |
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