@@ -29,28 +29,161 @@ For information on how to develop for `Az.Compute`, see [how-to.md](how-to.md).
29
29
### AutoRest Configuration
30
30
> see https://aka.ms/autorest
31
31
``` yaml
32
+ branch : 0c887b0c35f6f19468a16e660bba2a9eb5f4a330
32
33
require :
33
34
# readme.azure.noprofile.md is the common configuration file
34
35
- $(this-folder)/../../readme.azure.noprofile.md
35
36
input-file :
36
37
# You need to specify your swagger files here.
38
+ - $(repo)/specification/compute/resource-manager/Microsoft.Compute/stable/2021-07-01/gallery.json
37
39
- $(repo)/specification/compute/resource-manager/Microsoft.Compute/stable/2021-07-01/runCommands.json
38
40
# If the swagger has not been put in the repo, you may uncomment the following line and refer to it locally
39
- # For new RP, the version is 0.1.0
40
41
module-version : 0.1.0
41
42
# Normally, title is the service name
42
43
title : Compute
43
44
subject-prefix : " "
45
+
44
46
# If there are post APIs for some kinds of actions in the RP, you may need to
45
47
# uncomment following line to support viaIdentity for these post APIs
46
- identity-correction-for-post : true
48
+ # identity-correction-for-post: true
49
+
47
50
directive :
48
51
# Following is two common directive which are normally required in all the RPs
49
52
# 1. Remove the unexpanded parameter set
50
53
# 2. For New-* cmdlets, ViaIdentity is not required, so CreateViaIdentityExpanded is removed as well
51
54
- where :
52
- variant : ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$|^Run$|^RunViaIdentity$
55
+ variant : ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$
56
+ remove : true
57
+ # Remove following verbs
58
+ - select : command
59
+ where :
60
+ verb : Export|Convert|Install
61
+ remove : true
62
+ # Remove existing cmdlets
63
+ - select : command
64
+ where :
65
+ subject : Gallery$|GallerySharingProfile|GalleryImage$|GalleryImageVersion$
53
66
remove : true
67
+ - select : command
68
+ where :
69
+ subject : GalleryApplication$|GalleryApplicationVersion$
70
+ verb : Set
71
+ remove : true
72
+ # Change model names for GalleryApplicationVersion
73
+ - where :
74
+ model-name : GalleryApplicationVersion|GalleryApplicationVersionProperties
75
+ property-name : ManageActionInstall
76
+ set :
77
+ property-name : Install
78
+ - where :
79
+ model-name : GalleryApplicationVersion|GalleryApplicationVersionProperties
80
+ property-name : ManageActionRemove
81
+ set :
82
+ property-name : Remove
83
+ - where :
84
+ model-name : GalleryApplicationVersion|GalleryApplicationVersionProperties
85
+ property-name : ManageActionUpdate
86
+ set :
87
+ property-name : Update
88
+ - where :
89
+ model-name : GalleryApplicationVersion|GalleryApplicationVersionProperties
90
+ property-name : SourceDefaultConfigurationLink
91
+ set :
92
+ property-name : DefaultConfigFileLink
93
+ - where :
94
+ model-name : GalleryApplicationVersion|GalleryApplicationVersionProperties
95
+ property-name : SourceMediaLink
96
+ set :
97
+ property-name : PackageFileLink
98
+ - where :
99
+ model-name : GalleryApplicationVersion|GalleryApplicationVersionProperties
100
+ property-name : PublishingProfileReplicaCount
101
+ set :
102
+ property-name : ReplicaCount
103
+ - where :
104
+ model-name : GalleryApplicationVersion|GalleryApplicationVersionProperties
105
+ property-name : PublishingProfileTargetRegion
106
+ set :
107
+ property-name : TargetRegion
108
+ # ## END # Change model names for GalleryApplicationVersion
109
+ # change parameter names for GalleryApplicationVersion
110
+ - where :
111
+ verb : New|Update
112
+ subject : GalleryApplicationVersion
113
+ parameter-name : ManageActionInstall
114
+ set :
115
+ parameter-name : Install
116
+ - where :
117
+ verb : New|Update
118
+ subject : GalleryApplicationVersion
119
+ parameter-name : ManageActionRemove
120
+ set :
121
+ parameter-name : Remove
122
+ - where :
123
+ verb : New|Update
124
+ subject : GalleryApplicationVersion
125
+ parameter-name : ManageActionUpdate
126
+ set :
127
+ parameter-name : Update
128
+ - where :
129
+ verb : New|Update
130
+ subject : GalleryApplicationVersion
131
+ parameter-name : SourceDefaultConfigurationLink
132
+ set :
133
+ parameter-name : DefaultConfigFileLink
134
+ - where :
135
+ verb : New|Update
136
+ subject : GalleryApplicationVersion
137
+ parameter-name : SourceMediaLink
138
+ set :
139
+ parameter-name : PackageFileLink
140
+ - where :
141
+ verb : New|Update
142
+ subject : GalleryApplicationVersion
143
+ parameter-name : PublishingProfileReplicaCount
144
+ set :
145
+ parameter-name : ReplicaCount
146
+ - where :
147
+ verb : New|Update
148
+ subject : GalleryApplicationVersion
149
+ parameter-name : PublishingProfileTargetRegion
150
+ set :
151
+ parameter-name : TargetRegion
152
+ # ## END # change parameter names for GalleryApplicationVersion
153
+ # hide parameters for New, Update Gallery Application
154
+ - where :
155
+ verb : Update
156
+ subject : GalleryApplication$
157
+ parameter-name : SupportedOSType
158
+ hide : true
159
+ - where :
160
+ verb : Update|New
161
+ subject : GalleryApplication$
162
+ parameter-name : Eula|EndOfLifeDate|PrivacyStatementUri|ReleaseNoteUri
163
+ hide : true
164
+ # ## END # hide parameters for New,Update Gallery Application
165
+ # hide parameters for New, Update Gallery Application Version
166
+ - where :
167
+ verb : Update|New
168
+ subject : GalleryApplicationVersion$
169
+ parameter-name : PublishingProfileEnableHealthCheck|PublishingProfileStorageAccountType|PublishingProfileReplicationMode
170
+ hide : true
171
+ - where :
172
+ verb : Update
173
+ subject : GalleryApplicationVersion$
174
+ parameter-name : Update|Install|Remove
175
+ hide : true
176
+ # ## END # hide parameters for New, Update Gallery Application Version
177
+ # hide New-AzGalleryApplication, New-AzGalleryApplicationVersion, Update-AzGalleryApplicationVersion
178
+ - where :
179
+ verb : New|Update
180
+ subject : GalleryApplicationVersion
181
+ hide : true
182
+ - where :
183
+ verb : New
184
+ subject : GalleryApplication
185
+ hide : true
186
+ # ## END # hide New-AzGalleryApplication, New-AzGalleryApplicationVersion, Update-AzGalleryApplicationVersion
54
187
- where :
55
188
subject : VirtualMachineRunCommand
56
189
set :
0 commit comments