@@ -118,8 +118,8 @@ Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resource
118118 * want to create or update.
119119 */
120120 @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
121- PollerFlux <PollResult <Void >, Void > beginCreateOrUpdateAsync (String resourceGroupName , String galleryName ,
122- String galleryScriptName , GalleryScriptInner galleryScript );
121+ PollerFlux <PollResult <GalleryScriptInner >, GalleryScriptInner > beginCreateOrUpdateAsync (String resourceGroupName ,
122+ String galleryName , String galleryScriptName , GalleryScriptInner galleryScript );
123123
124124 /**
125125 * Create or update a Gallery Script Definition. Gallery scripts allow the storage, sharing and reuse of common
@@ -136,8 +136,8 @@ PollerFlux<PollResult<Void>, Void> beginCreateOrUpdateAsync(String resourceGroup
136136 * want to create or update.
137137 */
138138 @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
139- SyncPoller <PollResult <Void >, Void > beginCreateOrUpdate (String resourceGroupName , String galleryName ,
140- String galleryScriptName , GalleryScriptInner galleryScript );
139+ SyncPoller <PollResult <GalleryScriptInner >, GalleryScriptInner > beginCreateOrUpdate (String resourceGroupName ,
140+ String galleryName , String galleryScriptName , GalleryScriptInner galleryScript );
141141
142142 /**
143143 * Create or update a Gallery Script Definition. Gallery scripts allow the storage, sharing and reuse of common
@@ -155,8 +155,8 @@ SyncPoller<PollResult<Void>, Void> beginCreateOrUpdate(String resourceGroupName,
155155 * want to create or update.
156156 */
157157 @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
158- SyncPoller <PollResult <Void >, Void > beginCreateOrUpdate (String resourceGroupName , String galleryName ,
159- String galleryScriptName , GalleryScriptInner galleryScript , Context context );
158+ SyncPoller <PollResult <GalleryScriptInner >, GalleryScriptInner > beginCreateOrUpdate (String resourceGroupName ,
159+ String galleryName , String galleryScriptName , GalleryScriptInner galleryScript , Context context );
160160
161161 /**
162162 * Create or update a Gallery Script Definition. Gallery scripts allow the storage, sharing and reuse of common
@@ -173,7 +173,7 @@ SyncPoller<PollResult<Void>, Void> beginCreateOrUpdate(String resourceGroupName,
173173 * completion of {@link Mono}.
174174 */
175175 @ ServiceMethod (returns = ReturnType .SINGLE )
176- Mono <Void > createOrUpdateAsync (String resourceGroupName , String galleryName , String galleryScriptName ,
176+ Mono <GalleryScriptInner > createOrUpdateAsync (String resourceGroupName , String galleryName , String galleryScriptName ,
177177 GalleryScriptInner galleryScript );
178178
179179 /**
@@ -187,9 +187,10 @@ Mono<Void> createOrUpdateAsync(String resourceGroupName, String galleryName, Str
187187 * @throws IllegalArgumentException thrown if parameters fail the validation.
188188 * @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
189189 * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
190+ * @return specifies information about the gallery Script Definition that you want to create or update.
190191 */
191192 @ ServiceMethod (returns = ReturnType .SINGLE )
192- void createOrUpdate (String resourceGroupName , String galleryName , String galleryScriptName ,
193+ GalleryScriptInner createOrUpdate (String resourceGroupName , String galleryName , String galleryScriptName ,
193194 GalleryScriptInner galleryScript );
194195
195196 /**
@@ -204,9 +205,10 @@ void createOrUpdate(String resourceGroupName, String galleryName, String gallery
204205 * @throws IllegalArgumentException thrown if parameters fail the validation.
205206 * @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
206207 * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
208+ * @return specifies information about the gallery Script Definition that you want to create or update.
207209 */
208210 @ ServiceMethod (returns = ReturnType .SINGLE )
209- void createOrUpdate (String resourceGroupName , String galleryName , String galleryScriptName ,
211+ GalleryScriptInner createOrUpdate (String resourceGroupName , String galleryName , String galleryScriptName ,
210212 GalleryScriptInner galleryScript , Context context );
211213
212214 /**
@@ -240,8 +242,8 @@ Mono<Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupNam
240242 * want to create or update.
241243 */
242244 @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
243- PollerFlux <PollResult <Void >, Void > beginUpdateAsync (String resourceGroupName , String galleryName ,
244- String galleryScriptName , GalleryScriptUpdate galleryScript );
245+ PollerFlux <PollResult <GalleryScriptInner >, GalleryScriptInner > beginUpdateAsync (String resourceGroupName ,
246+ String galleryName , String galleryScriptName , GalleryScriptUpdate galleryScript );
245247
246248 /**
247249 * Update a gallery Script Definition.
@@ -257,8 +259,8 @@ PollerFlux<PollResult<Void>, Void> beginUpdateAsync(String resourceGroupName, St
257259 * want to create or update.
258260 */
259261 @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
260- SyncPoller <PollResult <Void >, Void > beginUpdate (String resourceGroupName , String galleryName ,
261- String galleryScriptName , GalleryScriptUpdate galleryScript );
262+ SyncPoller <PollResult <GalleryScriptInner >, GalleryScriptInner > beginUpdate (String resourceGroupName ,
263+ String galleryName , String galleryScriptName , GalleryScriptUpdate galleryScript );
262264
263265 /**
264266 * Update a gallery Script Definition.
@@ -275,8 +277,8 @@ SyncPoller<PollResult<Void>, Void> beginUpdate(String resourceGroupName, String
275277 * want to create or update.
276278 */
277279 @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
278- SyncPoller <PollResult <Void >, Void > beginUpdate (String resourceGroupName , String galleryName ,
279- String galleryScriptName , GalleryScriptUpdate galleryScript , Context context );
280+ SyncPoller <PollResult <GalleryScriptInner >, GalleryScriptInner > beginUpdate (String resourceGroupName ,
281+ String galleryName , String galleryScriptName , GalleryScriptUpdate galleryScript , Context context );
280282
281283 /**
282284 * Update a gallery Script Definition.
@@ -292,7 +294,7 @@ SyncPoller<PollResult<Void>, Void> beginUpdate(String resourceGroupName, String
292294 * completion of {@link Mono}.
293295 */
294296 @ ServiceMethod (returns = ReturnType .SINGLE )
295- Mono <Void > updateAsync (String resourceGroupName , String galleryName , String galleryScriptName ,
297+ Mono <GalleryScriptInner > updateAsync (String resourceGroupName , String galleryName , String galleryScriptName ,
296298 GalleryScriptUpdate galleryScript );
297299
298300 /**
@@ -305,9 +307,10 @@ Mono<Void> updateAsync(String resourceGroupName, String galleryName, String gall
305307 * @throws IllegalArgumentException thrown if parameters fail the validation.
306308 * @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
307309 * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
310+ * @return specifies information about the gallery Script Definition that you want to create or update.
308311 */
309312 @ ServiceMethod (returns = ReturnType .SINGLE )
310- void update (String resourceGroupName , String galleryName , String galleryScriptName ,
313+ GalleryScriptInner update (String resourceGroupName , String galleryName , String galleryScriptName ,
311314 GalleryScriptUpdate galleryScript );
312315
313316 /**
@@ -321,9 +324,10 @@ void update(String resourceGroupName, String galleryName, String galleryScriptNa
321324 * @throws IllegalArgumentException thrown if parameters fail the validation.
322325 * @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
323326 * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
327+ * @return specifies information about the gallery Script Definition that you want to create or update.
324328 */
325329 @ ServiceMethod (returns = ReturnType .SINGLE )
326- void update (String resourceGroupName , String galleryName , String galleryScriptName ,
330+ GalleryScriptInner update (String resourceGroupName , String galleryName , String galleryScriptName ,
327331 GalleryScriptUpdate galleryScript , Context context );
328332
329333 /**
0 commit comments