Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@ public interface ComputeManagementClient {
*/
VirtualMachineScaleSetExtensionsClient getVirtualMachineScaleSetExtensions();

/**
* Gets the VirtualMachineScaleSetLifeCycleHookEventsClient object to access its operations.
*
* @return the VirtualMachineScaleSetLifeCycleHookEventsClient object.
*/
VirtualMachineScaleSetLifeCycleHookEventsClient getVirtualMachineScaleSetLifeCycleHookEvents();

/**
* Gets the VirtualMachineScaleSetVMExtensionsClient object to access its operations.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resource
* want to create or update.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
PollerFlux<PollResult<Void>, Void> beginCreateOrUpdateAsync(String resourceGroupName, String galleryName,
String galleryScriptName, GalleryScriptInner galleryScript);
PollerFlux<PollResult<GalleryScriptInner>, GalleryScriptInner> beginCreateOrUpdateAsync(String resourceGroupName,
String galleryName, String galleryScriptName, GalleryScriptInner galleryScript);

/**
* Create or update a Gallery Script Definition. Gallery scripts allow the storage, sharing and reuse of common
Expand All @@ -136,8 +136,8 @@ PollerFlux<PollResult<Void>, Void> beginCreateOrUpdateAsync(String resourceGroup
* want to create or update.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<Void>, Void> beginCreateOrUpdate(String resourceGroupName, String galleryName,
String galleryScriptName, GalleryScriptInner galleryScript);
SyncPoller<PollResult<GalleryScriptInner>, GalleryScriptInner> beginCreateOrUpdate(String resourceGroupName,
String galleryName, String galleryScriptName, GalleryScriptInner galleryScript);

/**
* Create or update a Gallery Script Definition. Gallery scripts allow the storage, sharing and reuse of common
Expand All @@ -155,8 +155,8 @@ SyncPoller<PollResult<Void>, Void> beginCreateOrUpdate(String resourceGroupName,
* want to create or update.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<Void>, Void> beginCreateOrUpdate(String resourceGroupName, String galleryName,
String galleryScriptName, GalleryScriptInner galleryScript, Context context);
SyncPoller<PollResult<GalleryScriptInner>, GalleryScriptInner> beginCreateOrUpdate(String resourceGroupName,
String galleryName, String galleryScriptName, GalleryScriptInner galleryScript, Context context);

/**
* Create or update a Gallery Script Definition. Gallery scripts allow the storage, sharing and reuse of common
Expand All @@ -173,7 +173,7 @@ SyncPoller<PollResult<Void>, Void> beginCreateOrUpdate(String resourceGroupName,
* completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono<Void> createOrUpdateAsync(String resourceGroupName, String galleryName, String galleryScriptName,
Mono<GalleryScriptInner> createOrUpdateAsync(String resourceGroupName, String galleryName, String galleryScriptName,
GalleryScriptInner galleryScript);

/**
Expand All @@ -187,9 +187,10 @@ Mono<Void> createOrUpdateAsync(String resourceGroupName, String galleryName, Str
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return specifies information about the gallery Script Definition that you want to create or update.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
void createOrUpdate(String resourceGroupName, String galleryName, String galleryScriptName,
GalleryScriptInner createOrUpdate(String resourceGroupName, String galleryName, String galleryScriptName,
GalleryScriptInner galleryScript);

/**
Expand All @@ -204,9 +205,10 @@ void createOrUpdate(String resourceGroupName, String galleryName, String gallery
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return specifies information about the gallery Script Definition that you want to create or update.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
void createOrUpdate(String resourceGroupName, String galleryName, String galleryScriptName,
GalleryScriptInner createOrUpdate(String resourceGroupName, String galleryName, String galleryScriptName,
GalleryScriptInner galleryScript, Context context);

/**
Expand Down Expand Up @@ -240,8 +242,8 @@ Mono<Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupNam
* want to create or update.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
PollerFlux<PollResult<Void>, Void> beginUpdateAsync(String resourceGroupName, String galleryName,
String galleryScriptName, GalleryScriptUpdate galleryScript);
PollerFlux<PollResult<GalleryScriptInner>, GalleryScriptInner> beginUpdateAsync(String resourceGroupName,
String galleryName, String galleryScriptName, GalleryScriptUpdate galleryScript);

/**
* Update a gallery Script Definition.
Expand All @@ -257,8 +259,8 @@ PollerFlux<PollResult<Void>, Void> beginUpdateAsync(String resourceGroupName, St
* want to create or update.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<Void>, Void> beginUpdate(String resourceGroupName, String galleryName,
String galleryScriptName, GalleryScriptUpdate galleryScript);
SyncPoller<PollResult<GalleryScriptInner>, GalleryScriptInner> beginUpdate(String resourceGroupName,
String galleryName, String galleryScriptName, GalleryScriptUpdate galleryScript);

/**
* Update a gallery Script Definition.
Expand All @@ -275,8 +277,8 @@ SyncPoller<PollResult<Void>, Void> beginUpdate(String resourceGroupName, String
* want to create or update.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<Void>, Void> beginUpdate(String resourceGroupName, String galleryName,
String galleryScriptName, GalleryScriptUpdate galleryScript, Context context);
SyncPoller<PollResult<GalleryScriptInner>, GalleryScriptInner> beginUpdate(String resourceGroupName,
String galleryName, String galleryScriptName, GalleryScriptUpdate galleryScript, Context context);

/**
* Update a gallery Script Definition.
Expand All @@ -292,7 +294,7 @@ SyncPoller<PollResult<Void>, Void> beginUpdate(String resourceGroupName, String
* completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono<Void> updateAsync(String resourceGroupName, String galleryName, String galleryScriptName,
Mono<GalleryScriptInner> updateAsync(String resourceGroupName, String galleryName, String galleryScriptName,
GalleryScriptUpdate galleryScript);

/**
Expand All @@ -305,9 +307,10 @@ Mono<Void> updateAsync(String resourceGroupName, String galleryName, String gall
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return specifies information about the gallery Script Definition that you want to create or update.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
void update(String resourceGroupName, String galleryName, String galleryScriptName,
GalleryScriptInner update(String resourceGroupName, String galleryName, String galleryScriptName,
GalleryScriptUpdate galleryScript);

/**
Expand All @@ -321,9 +324,10 @@ void update(String resourceGroupName, String galleryName, String galleryScriptNa
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return specifies information about the gallery Script Definition that you want to create or update.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
void update(String resourceGroupName, String galleryName, String galleryScriptName,
GalleryScriptInner update(String resourceGroupName, String galleryName, String galleryScriptName,
GalleryScriptUpdate galleryScript, Context context);

/**
Expand Down
Loading