Skip to content

Commit 1bae52e

Browse files
viananth00Kai0
authored andcommitted
[Azure Stack] Updates to Azs.Compute.Admin spec for autorest config (Azure#9032)
* Cumulative commit message: commit 4ec980f (azure/stackadmin) Author: Yuxing Zhou <[email protected]> Date: Wed Mar 18 15:14:57 2020 +0800 [Azure Stack] Add scaleUnit and volumeLabel parameter to Disks_List (Azure#8733) * add scaleUnit and volumeLabel to Disks_List * fix ref location * update parameter description commit c70efa6 Author: bganapa <[email protected]> Date: Tue Feb 25 19:33:53 2020 -0800 Updating ReadMe to include (this-folder) commit ac2ee55 Author: Yuxing Zhou <[email protected]> Date: Mon Feb 17 08:52:02 2020 +0800 Add TargetScaleUnitParameter and TargetVolumeLabelParameter (Azure#8409) commit 79944a3 Author: hannah-murphy-0 <[email protected]> Date: Thu Feb 13 17:25:47 2020 -0800 Adding publisher field to VMExtension model (Azure#8398) commit 8ef2c06 Merge: 4691c2a b53a498 Author: bganapa <[email protected]> Date: Tue Feb 4 22:11:56 2020 -0800 git merge upstream/master commit 9e551f0 Author: bganapa <[email protected]> Date: Tue Nov 12 11:44:22 2019 -0800 Reset to Stackadmin2 (Azure#7766) * Add autorest config to readme.md * Fix path reference
1 parent e6c5980 commit 1bae52e

File tree

3 files changed

+27
-26
lines changed

3 files changed

+27
-26
lines changed

specification/azsadmin/resource-manager/compute/Microsoft.Compute.Admin/preview/2015-12-01-preview/VMExtensions.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,10 @@
224224
"description": "Target virtual machine operating system type necessary for deploying the extension handler.",
225225
"$ref": "PlatformImages.json#/definitions/OsType"
226226
},
227+
"publisher": {
228+
"description": "The publisher of the VM Extension",
229+
"type": "string"
230+
},
227231
"computeRole": {
228232
"description": "Compute role",
229233
"type": "string"
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# AutoRest v3 generators
2+
3+
> see https://aka.ms/autorest
4+
5+
``` yaml
6+
input-file:
7+
- Microsoft.Compute.Admin/preview/2015-12-01-preview/Compute.json
8+
- Microsoft.Compute.Admin/preview/2015-12-01-preview/PlatformImages.json
9+
- Microsoft.Compute.Admin/preview/2018-02-09/Quotas.json
10+
- Microsoft.Compute.Admin/preview/2015-12-01-preview/VMExtensions.json
11+
- Microsoft.Compute.Admin/preview/2018-07-30-preview/Disks.json
12+
- Microsoft.Compute.Admin/preview/2018-07-30-preview/DiskMigrationJobs.json
13+
```

specification/azsadmin/resource-manager/compute/readme.md

Lines changed: 10 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -56,32 +56,16 @@ csharp:
5656
clear-output-folder: true
5757
```
5858

59-
## Multi-API/Profile support for AutoRest v3 generators
59+
# AutoRest v3 generators
6060

61-
AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
62-
63-
This block is updated by an automatic script. Edits may be lost!
64-
65-
``` yaml $(tag) == 'all-api-versions' /* autogenerated */
66-
# include the azure profile definitions from the standard location
67-
require: $(this-folder)/../../../../profiles/readme.md
68-
69-
# all the input files across all versions
70-
input-file:
71-
- $(this-folder)/Microsoft.Compute.Admin/preview/2015-12-01-preview/Compute.json
72-
- $(this-folder)/Microsoft.Compute.Admin/preview/2015-12-01-preview/PlatformImages.json
73-
- $(this-folder)/Microsoft.Compute.Admin/preview/2018-02-09/Quotas.json
74-
- $(this-folder)/Microsoft.Compute.Admin/preview/2015-12-01-preview/VMExtensions.json
75-
- $(this-folder)/Microsoft.Compute.Admin/preview/2018-07-30-preview/Disks.json
76-
- $(this-folder)/Microsoft.Compute.Admin/preview/2018-07-30-preview/DiskMigrationJobs.json
77-
78-
```
79-
80-
If there are files that should not be in the `all-api-versions` set,
81-
uncomment the `exclude-file` section below and add the file paths.
61+
> see https://aka.ms/autorest
8262

83-
``` yaml $(tag) == 'all-api-versions'
84-
#exclude-file:
85-
# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
63+
``` yaml
64+
input-file:
65+
- Microsoft.Compute.Admin/preview/2015-12-01-preview/Compute.json
66+
- Microsoft.Compute.Admin/preview/2015-12-01-preview/PlatformImages.json
67+
- Microsoft.Compute.Admin/preview/2018-02-09/Quotas.json
68+
- Microsoft.Compute.Admin/preview/2015-12-01-preview/VMExtensions.json
69+
- Microsoft.Compute.Admin/preview/2018-07-30-preview/Disks.json
70+
- Microsoft.Compute.Admin/preview/2018-07-30-preview/DiskMigrationJobs.json
8671
```
87-

0 commit comments

Comments
 (0)