Interface VirtualMachineScaleSetLifeCycleHookEventsClient
public interface VirtualMachineScaleSetLifeCycleHookEventsClient
An instance of this class provides access to all the operations defined in
VirtualMachineScaleSetLifeCycleHookEventsClient.
-
Method Summary
Modifier and TypeMethodDescriptionGets a virtual machine scale set lifecycle hook event.Gets a virtual machine scale set lifecycle hook event.com.azure.core.http.rest.Response<VMScaleSetLifecycleHookEventInner> getWithResponse(String resourceGroupName, String vmScaleSetName, String lifecycleHookEventName, com.azure.core.util.Context context) Gets a virtual machine scale set lifecycle hook event.Mono<com.azure.core.http.rest.Response<VMScaleSetLifecycleHookEventInner>> getWithResponseAsync(String resourceGroupName, String vmScaleSetName, String lifecycleHookEventName) Gets a virtual machine scale set lifecycle hook event.com.azure.core.http.rest.PagedIterable<VMScaleSetLifecycleHookEventInner> Gets a list of virtual machine scale set lifecycle hook events created for a virtual machine scale set resource.com.azure.core.http.rest.PagedIterable<VMScaleSetLifecycleHookEventInner> Gets a list of virtual machine scale set lifecycle hook events created for a virtual machine scale set resource.com.azure.core.http.rest.PagedFlux<VMScaleSetLifecycleHookEventInner> Gets a list of virtual machine scale set lifecycle hook events created for a virtual machine scale set resource.update(String resourceGroupName, String vmScaleSetName, String lifecycleHookEventName, VMScaleSetLifecycleHookEventUpdate properties) The operation to update a virtual machine scale set lifecycle hook event.updateAsync(String resourceGroupName, String vmScaleSetName, String lifecycleHookEventName, VMScaleSetLifecycleHookEventUpdate properties) The operation to update a virtual machine scale set lifecycle hook event.com.azure.core.http.rest.Response<VMScaleSetLifecycleHookEventInner> updateWithResponse(String resourceGroupName, String vmScaleSetName, String lifecycleHookEventName, VMScaleSetLifecycleHookEventUpdate properties, com.azure.core.util.Context context) The operation to update a virtual machine scale set lifecycle hook event.Mono<com.azure.core.http.rest.Response<VMScaleSetLifecycleHookEventInner>> updateWithResponseAsync(String resourceGroupName, String vmScaleSetName, String lifecycleHookEventName, VMScaleSetLifecycleHookEventUpdate properties) The operation to update a virtual machine scale set lifecycle hook event.
-
Method Details
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<VMScaleSetLifecycleHookEventInner>> getWithResponseAsync(String resourceGroupName, String vmScaleSetName, String lifecycleHookEventName) Gets a virtual machine scale set lifecycle hook event.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.vmScaleSetName- The name of the VM scale set.lifecycleHookEventName- The name of the VMScaleSetLifecycleHookEvent.- Returns:
- a virtual machine scale set lifecycle hook event along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAsync
Mono<VMScaleSetLifecycleHookEventInner> getAsync(String resourceGroupName, String vmScaleSetName, String lifecycleHookEventName) Gets a virtual machine scale set lifecycle hook event.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.vmScaleSetName- The name of the VM scale set.lifecycleHookEventName- The name of the VMScaleSetLifecycleHookEvent.- Returns:
- a virtual machine scale set lifecycle hook event on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<VMScaleSetLifecycleHookEventInner> getWithResponse(String resourceGroupName, String vmScaleSetName, String lifecycleHookEventName, com.azure.core.util.Context context) Gets a virtual machine scale set lifecycle hook event.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.vmScaleSetName- The name of the VM scale set.lifecycleHookEventName- The name of the VMScaleSetLifecycleHookEvent.context- The context to associate with this operation.- Returns:
- a virtual machine scale set lifecycle hook event along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
get
VMScaleSetLifecycleHookEventInner get(String resourceGroupName, String vmScaleSetName, String lifecycleHookEventName) Gets a virtual machine scale set lifecycle hook event.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.vmScaleSetName- The name of the VM scale set.lifecycleHookEventName- The name of the VMScaleSetLifecycleHookEvent.- Returns:
- a virtual machine scale set lifecycle hook event.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateWithResponseAsync
Mono<com.azure.core.http.rest.Response<VMScaleSetLifecycleHookEventInner>> updateWithResponseAsync(String resourceGroupName, String vmScaleSetName, String lifecycleHookEventName, VMScaleSetLifecycleHookEventUpdate properties) The operation to update a virtual machine scale set lifecycle hook event.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.vmScaleSetName- The name of the VM scale set.lifecycleHookEventName- The name of the VMScaleSetLifecycleHookEvent.properties- Parameters supplied to the Update virtual machine scale set lifecycle hook event operation.- Returns:
- defines a virtual machine scale set lifecycle hook event along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateAsync
Mono<VMScaleSetLifecycleHookEventInner> updateAsync(String resourceGroupName, String vmScaleSetName, String lifecycleHookEventName, VMScaleSetLifecycleHookEventUpdate properties) The operation to update a virtual machine scale set lifecycle hook event.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.vmScaleSetName- The name of the VM scale set.lifecycleHookEventName- The name of the VMScaleSetLifecycleHookEvent.properties- Parameters supplied to the Update virtual machine scale set lifecycle hook event operation.- Returns:
- defines a virtual machine scale set lifecycle hook event on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateWithResponse
com.azure.core.http.rest.Response<VMScaleSetLifecycleHookEventInner> updateWithResponse(String resourceGroupName, String vmScaleSetName, String lifecycleHookEventName, VMScaleSetLifecycleHookEventUpdate properties, com.azure.core.util.Context context) The operation to update a virtual machine scale set lifecycle hook event.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.vmScaleSetName- The name of the VM scale set.lifecycleHookEventName- The name of the VMScaleSetLifecycleHookEvent.properties- Parameters supplied to the Update virtual machine scale set lifecycle hook event operation.context- The context to associate with this operation.- Returns:
- defines a virtual machine scale set lifecycle hook event along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
update
VMScaleSetLifecycleHookEventInner update(String resourceGroupName, String vmScaleSetName, String lifecycleHookEventName, VMScaleSetLifecycleHookEventUpdate properties) The operation to update a virtual machine scale set lifecycle hook event.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.vmScaleSetName- The name of the VM scale set.lifecycleHookEventName- The name of the VMScaleSetLifecycleHookEvent.properties- Parameters supplied to the Update virtual machine scale set lifecycle hook event operation.- Returns:
- defines a virtual machine scale set lifecycle hook event.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAsync
com.azure.core.http.rest.PagedFlux<VMScaleSetLifecycleHookEventInner> listAsync(String resourceGroupName, String vmScaleSetName) Gets a list of virtual machine scale set lifecycle hook events created for a virtual machine scale set resource.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.vmScaleSetName- The name of the VM scale set.- Returns:
- a list of virtual machine scale set lifecycle hook events created for a virtual machine scale set
resource as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<VMScaleSetLifecycleHookEventInner> list(String resourceGroupName, String vmScaleSetName) Gets a list of virtual machine scale set lifecycle hook events created for a virtual machine scale set resource.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.vmScaleSetName- The name of the VM scale set.- Returns:
- a list of virtual machine scale set lifecycle hook events created for a virtual machine scale set
resource as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<VMScaleSetLifecycleHookEventInner> list(String resourceGroupName, String vmScaleSetName, com.azure.core.util.Context context) Gets a list of virtual machine scale set lifecycle hook events created for a virtual machine scale set resource.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.vmScaleSetName- The name of the VM scale set.context- The context to associate with this operation.- Returns:
- a list of virtual machine scale set lifecycle hook events created for a virtual machine scale set
resource as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-