Interface AvailabilitySetsClient
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<AvailabilitySetInner>,InnerSupportsListing<AvailabilitySetInner>
public interface AvailabilitySetsClient
extends InnerSupportsGet<AvailabilitySetInner>, InnerSupportsListing<AvailabilitySetInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in AvailabilitySetsClient.
-
Method Summary
Modifier and TypeMethodDescriptionbeginConvertToVirtualMachineScaleSet(String resourceGroupName, String availabilitySetName) Create a new Flexible Virtual Machine Scale Set and migrate all the Virtual Machines in the Availability Set.beginConvertToVirtualMachineScaleSet(String resourceGroupName, String availabilitySetName, ConvertToVirtualMachineScaleSetInput parameters, com.azure.core.util.Context context) Create a new Flexible Virtual Machine Scale Set and migrate all the Virtual Machines in the Availability Set.beginConvertToVirtualMachineScaleSetAsync(String resourceGroupName, String availabilitySetName) Create a new Flexible Virtual Machine Scale Set and migrate all the Virtual Machines in the Availability Set.beginConvertToVirtualMachineScaleSetAsync(String resourceGroupName, String availabilitySetName, ConvertToVirtualMachineScaleSetInput parameters) Create a new Flexible Virtual Machine Scale Set and migrate all the Virtual Machines in the Availability Set.voidcancelMigrationToVirtualMachineScaleSet(String resourceGroupName, String availabilitySetName) Cancel the migration operation on an Availability Set.cancelMigrationToVirtualMachineScaleSetAsync(String resourceGroupName, String availabilitySetName) Cancel the migration operation on an Availability Set.com.azure.core.http.rest.Response<Void> cancelMigrationToVirtualMachineScaleSetWithResponse(String resourceGroupName, String availabilitySetName, com.azure.core.util.Context context) Cancel the migration operation on an Availability Set.cancelMigrationToVirtualMachineScaleSetWithResponseAsync(String resourceGroupName, String availabilitySetName) Cancel the migration operation on an Availability Set.voidconvertToVirtualMachineScaleSet(String resourceGroupName, String availabilitySetName) Create a new Flexible Virtual Machine Scale Set and migrate all the Virtual Machines in the Availability Set.voidconvertToVirtualMachineScaleSet(String resourceGroupName, String availabilitySetName, ConvertToVirtualMachineScaleSetInput parameters, com.azure.core.util.Context context) Create a new Flexible Virtual Machine Scale Set and migrate all the Virtual Machines in the Availability Set.convertToVirtualMachineScaleSetAsync(String resourceGroupName, String availabilitySetName) Create a new Flexible Virtual Machine Scale Set and migrate all the Virtual Machines in the Availability Set.convertToVirtualMachineScaleSetAsync(String resourceGroupName, String availabilitySetName, ConvertToVirtualMachineScaleSetInput parameters) Create a new Flexible Virtual Machine Scale Set and migrate all the Virtual Machines in the Availability Set.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> convertToVirtualMachineScaleSetWithResponseAsync(String resourceGroupName, String availabilitySetName, ConvertToVirtualMachineScaleSetInput parameters) Create a new Flexible Virtual Machine Scale Set and migrate all the Virtual Machines in the Availability Set.createOrUpdate(String resourceGroupName, String availabilitySetName, AvailabilitySetInner parameters) Create or update an availability set.createOrUpdateAsync(String resourceGroupName, String availabilitySetName, AvailabilitySetInner parameters) Create or update an availability set.com.azure.core.http.rest.Response<AvailabilitySetInner> createOrUpdateWithResponse(String resourceGroupName, String availabilitySetName, AvailabilitySetInner parameters, com.azure.core.util.Context context) Create or update an availability set.Mono<com.azure.core.http.rest.Response<AvailabilitySetInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String availabilitySetName, AvailabilitySetInner parameters) Create or update an availability set.voidDelete an availability set.deleteAsync(String resourceGroupName, String availabilitySetName) Delete an availability set.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String availabilitySetName, com.azure.core.util.Context context) Delete an availability set.deleteWithResponseAsync(String resourceGroupName, String availabilitySetName) Delete an availability set.getByResourceGroup(String resourceGroupName, String availabilitySetName) Retrieves information about an availability set.getByResourceGroupAsync(String resourceGroupName, String availabilitySetName) Retrieves information about an availability set.com.azure.core.http.rest.Response<AvailabilitySetInner> getByResourceGroupWithResponse(String resourceGroupName, String availabilitySetName, com.azure.core.util.Context context) Retrieves information about an availability set.Mono<com.azure.core.http.rest.Response<AvailabilitySetInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String availabilitySetName) Retrieves information about an availability set.com.azure.core.http.rest.PagedIterable<AvailabilitySetInner> list()Lists all availability sets in a subscription.com.azure.core.http.rest.PagedIterable<AvailabilitySetInner> Lists all availability sets in a subscription.com.azure.core.http.rest.PagedFlux<AvailabilitySetInner> Lists all availability sets in a subscription.com.azure.core.http.rest.PagedFlux<AvailabilitySetInner> Lists all availability sets in a subscription.com.azure.core.http.rest.PagedIterable<VirtualMachineSizeInner> listAvailableSizes(String resourceGroupName, String availabilitySetName) Lists all available virtual machine sizes that can be used to create a new virtual machine in an existing availability set.com.azure.core.http.rest.PagedIterable<VirtualMachineSizeInner> listAvailableSizes(String resourceGroupName, String availabilitySetName, com.azure.core.util.Context context) Lists all available virtual machine sizes that can be used to create a new virtual machine in an existing availability set.com.azure.core.http.rest.PagedFlux<VirtualMachineSizeInner> listAvailableSizesAsync(String resourceGroupName, String availabilitySetName) Lists all available virtual machine sizes that can be used to create a new virtual machine in an existing availability set.com.azure.core.http.rest.PagedIterable<AvailabilitySetInner> listByResourceGroup(String resourceGroupName) Lists all availability sets in a resource group.com.azure.core.http.rest.PagedIterable<AvailabilitySetInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Lists all availability sets in a resource group.com.azure.core.http.rest.PagedFlux<AvailabilitySetInner> listByResourceGroupAsync(String resourceGroupName) Lists all availability sets in a resource group.voidstartMigrationToVirtualMachineScaleSet(String resourceGroupName, String availabilitySetName, MigrateToVirtualMachineScaleSetInput parameters) Start migration operation on an Availability Set to move its Virtual Machines to a Virtual Machine Scale Set.startMigrationToVirtualMachineScaleSetAsync(String resourceGroupName, String availabilitySetName, MigrateToVirtualMachineScaleSetInput parameters) Start migration operation on an Availability Set to move its Virtual Machines to a Virtual Machine Scale Set.com.azure.core.http.rest.Response<Void> startMigrationToVirtualMachineScaleSetWithResponse(String resourceGroupName, String availabilitySetName, MigrateToVirtualMachineScaleSetInput parameters, com.azure.core.util.Context context) Start migration operation on an Availability Set to move its Virtual Machines to a Virtual Machine Scale Set.startMigrationToVirtualMachineScaleSetWithResponseAsync(String resourceGroupName, String availabilitySetName, MigrateToVirtualMachineScaleSetInput parameters) Start migration operation on an Availability Set to move its Virtual Machines to a Virtual Machine Scale Set.update(String resourceGroupName, String availabilitySetName, AvailabilitySetUpdate parameters) Update an availability set.updateAsync(String resourceGroupName, String availabilitySetName, AvailabilitySetUpdate parameters) Update an availability set.com.azure.core.http.rest.Response<AvailabilitySetInner> updateWithResponse(String resourceGroupName, String availabilitySetName, AvailabilitySetUpdate parameters, com.azure.core.util.Context context) Update an availability set.Mono<com.azure.core.http.rest.Response<AvailabilitySetInner>> updateWithResponseAsync(String resourceGroupName, String availabilitySetName, AvailabilitySetUpdate parameters) Update an availability set.voidvalidateMigrationToVirtualMachineScaleSet(String resourceGroupName, String availabilitySetName, MigrateToVirtualMachineScaleSetInput parameters) Validates that the Virtual Machines in the Availability Set can be migrated to the provided Virtual Machine Scale Set.validateMigrationToVirtualMachineScaleSetAsync(String resourceGroupName, String availabilitySetName, MigrateToVirtualMachineScaleSetInput parameters) Validates that the Virtual Machines in the Availability Set can be migrated to the provided Virtual Machine Scale Set.com.azure.core.http.rest.Response<Void> validateMigrationToVirtualMachineScaleSetWithResponse(String resourceGroupName, String availabilitySetName, MigrateToVirtualMachineScaleSetInput parameters, com.azure.core.util.Context context) Validates that the Virtual Machines in the Availability Set can be migrated to the provided Virtual Machine Scale Set.validateMigrationToVirtualMachineScaleSetWithResponseAsync(String resourceGroupName, String availabilitySetName, MigrateToVirtualMachineScaleSetInput parameters) Validates that the Virtual Machines in the Availability Set can be migrated to the provided Virtual Machine Scale Set.
-
Method Details
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<AvailabilitySetInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String availabilitySetName, AvailabilitySetInner parameters) Create or update an availability set.- Parameters:
resourceGroupName- The name of the resource group.availabilitySetName- The name of the availability set.parameters- Parameters supplied to the Create Availability Set operation.- Returns:
- specifies information about the availability set that the virtual machine should be assigned to 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.
-
createOrUpdateAsync
Mono<AvailabilitySetInner> createOrUpdateAsync(String resourceGroupName, String availabilitySetName, AvailabilitySetInner parameters) Create or update an availability set.- Parameters:
resourceGroupName- The name of the resource group.availabilitySetName- The name of the availability set.parameters- Parameters supplied to the Create Availability Set operation.- Returns:
- specifies information about the availability set that the virtual machine should be assigned to 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.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<AvailabilitySetInner> createOrUpdateWithResponse(String resourceGroupName, String availabilitySetName, AvailabilitySetInner parameters, com.azure.core.util.Context context) Create or update an availability set.- Parameters:
resourceGroupName- The name of the resource group.availabilitySetName- The name of the availability set.parameters- Parameters supplied to the Create Availability Set operation.context- The context to associate with this operation.- Returns:
- specifies information about the availability set that the virtual machine should be assigned to 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.
-
createOrUpdate
AvailabilitySetInner createOrUpdate(String resourceGroupName, String availabilitySetName, AvailabilitySetInner parameters) Create or update an availability set.- Parameters:
resourceGroupName- The name of the resource group.availabilitySetName- The name of the availability set.parameters- Parameters supplied to the Create Availability Set operation.- Returns:
- specifies information about the availability set that the virtual machine should be assigned to.
- 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<AvailabilitySetInner>> updateWithResponseAsync(String resourceGroupName, String availabilitySetName, AvailabilitySetUpdate parameters) Update an availability set.- Parameters:
resourceGroupName- The name of the resource group.availabilitySetName- The name of the availability set.parameters- Parameters supplied to the Update Availability Set operation.- Returns:
- specifies information about the availability set that the virtual machine should be assigned to 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<AvailabilitySetInner> updateAsync(String resourceGroupName, String availabilitySetName, AvailabilitySetUpdate parameters) Update an availability set.- Parameters:
resourceGroupName- The name of the resource group.availabilitySetName- The name of the availability set.parameters- Parameters supplied to the Update Availability Set operation.- Returns:
- specifies information about the availability set that the virtual machine should be assigned to 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<AvailabilitySetInner> updateWithResponse(String resourceGroupName, String availabilitySetName, AvailabilitySetUpdate parameters, com.azure.core.util.Context context) Update an availability set.- Parameters:
resourceGroupName- The name of the resource group.availabilitySetName- The name of the availability set.parameters- Parameters supplied to the Update Availability Set operation.context- The context to associate with this operation.- Returns:
- specifies information about the availability set that the virtual machine should be assigned to 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
AvailabilitySetInner update(String resourceGroupName, String availabilitySetName, AvailabilitySetUpdate parameters) Update an availability set.- Parameters:
resourceGroupName- The name of the resource group.availabilitySetName- The name of the availability set.parameters- Parameters supplied to the Update Availability Set operation.- Returns:
- specifies information about the availability set that the virtual machine should be assigned to.
- 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.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceGroupName, String availabilitySetName) Delete an availability set.- Parameters:
resourceGroupName- The name of the resource group.availabilitySetName- The name of the availability set.- Returns:
- the
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.
-
deleteAsync
Delete an availability set.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The name of the resource group.availabilitySetName- The name of the availability set.- Returns:
- A
Monothat completes when a successful response is received. - 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.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String availabilitySetName, com.azure.core.util.Context context) Delete an availability set.- Parameters:
resourceGroupName- The name of the resource group.availabilitySetName- The name of the availability set.context- The context to associate with this operation.- Returns:
- the
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.
-
delete
Delete an availability set.- Parameters:
resourceGroupName- The name of the resource group.availabilitySetName- The name of the availability set.- 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.
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<AvailabilitySetInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String availabilitySetName) Retrieves information about an availability set.- Parameters:
resourceGroupName- The name of the resource group.availabilitySetName- The name of the availability set.- Returns:
- specifies information about the availability set that the virtual machine should be assigned to 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.
-
getByResourceGroupAsync
Mono<AvailabilitySetInner> getByResourceGroupAsync(String resourceGroupName, String availabilitySetName) Retrieves information about an availability set.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<AvailabilitySetInner>- Parameters:
resourceGroupName- The name of the resource group.availabilitySetName- The name of the availability set.- Returns:
- specifies information about the availability set that the virtual machine should be assigned to 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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<AvailabilitySetInner> getByResourceGroupWithResponse(String resourceGroupName, String availabilitySetName, com.azure.core.util.Context context) Retrieves information about an availability set.- Parameters:
resourceGroupName- The name of the resource group.availabilitySetName- The name of the availability set.context- The context to associate with this operation.- Returns:
- specifies information about the availability set that the virtual machine should be assigned to 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.
-
getByResourceGroup
Retrieves information about an availability set.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<AvailabilitySetInner>- Parameters:
resourceGroupName- The name of the resource group.availabilitySetName- The name of the availability set.- Returns:
- specifies information about the availability set that the virtual machine should be assigned to.
- 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
Lists all availability sets in a subscription.- Parameters:
expand- The expand expression to apply to the operation. Allowed values are 'virtualMachines/$ref'.- Returns:
- the List Availability Set operation response 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.
-
listAsync
com.azure.core.http.rest.PagedFlux<AvailabilitySetInner> listAsync()Lists all availability sets in a subscription.- Specified by:
listAsyncin interfaceInnerSupportsListing<AvailabilitySetInner>- Returns:
- the List Availability Set operation response as paginated response with
PagedFlux. - Throws:
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<AvailabilitySetInner> list()Lists all availability sets in a subscription.- Specified by:
listin interfaceInnerSupportsListing<AvailabilitySetInner>- Returns:
- the List Availability Set operation response as paginated response with
PagedIterable. - Throws:
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<AvailabilitySetInner> list(String expand, com.azure.core.util.Context context) Lists all availability sets in a subscription.- Parameters:
expand- The expand expression to apply to the operation. Allowed values are 'virtualMachines/$ref'.context- The context to associate with this operation.- Returns:
- the List Availability Set operation response 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.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<AvailabilitySetInner> listByResourceGroupAsync(String resourceGroupName) Lists all availability sets in a resource group.- Specified by:
listByResourceGroupAsyncin interfaceInnerSupportsListing<AvailabilitySetInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- the List Availability Set operation response 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<AvailabilitySetInner> listByResourceGroup(String resourceGroupName) Lists all availability sets in a resource group.- Specified by:
listByResourceGroupin interfaceInnerSupportsListing<AvailabilitySetInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- the List Availability Set operation response 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<AvailabilitySetInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Lists all availability sets in a resource group.- Parameters:
resourceGroupName- The name of the resource group.context- The context to associate with this operation.- Returns:
- the List Availability Set operation response 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.
-
listAvailableSizesAsync
com.azure.core.http.rest.PagedFlux<VirtualMachineSizeInner> listAvailableSizesAsync(String resourceGroupName, String availabilitySetName) Lists all available virtual machine sizes that can be used to create a new virtual machine in an existing availability set.- Parameters:
resourceGroupName- The name of the resource group.availabilitySetName- The name of the availability set.- Returns:
- the List Virtual Machine operation response 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.
-
listAvailableSizes
com.azure.core.http.rest.PagedIterable<VirtualMachineSizeInner> listAvailableSizes(String resourceGroupName, String availabilitySetName) Lists all available virtual machine sizes that can be used to create a new virtual machine in an existing availability set.- Parameters:
resourceGroupName- The name of the resource group.availabilitySetName- The name of the availability set.- Returns:
- the List Virtual Machine operation response 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.
-
listAvailableSizes
com.azure.core.http.rest.PagedIterable<VirtualMachineSizeInner> listAvailableSizes(String resourceGroupName, String availabilitySetName, com.azure.core.util.Context context) Lists all available virtual machine sizes that can be used to create a new virtual machine in an existing availability set.- Parameters:
resourceGroupName- The name of the resource group.availabilitySetName- The name of the availability set.context- The context to associate with this operation.- Returns:
- the List Virtual Machine operation response 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.
-
startMigrationToVirtualMachineScaleSetWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> startMigrationToVirtualMachineScaleSetWithResponseAsync(String resourceGroupName, String availabilitySetName, MigrateToVirtualMachineScaleSetInput parameters) Start migration operation on an Availability Set to move its Virtual Machines to a Virtual Machine Scale Set. This should be followed by a migrate operation on each Virtual Machine that triggers a downtime on the Virtual Machine.- Parameters:
resourceGroupName- The name of the resource group.availabilitySetName- The name of the availability set.parameters- Parameters supplied to the migrate operation on the availability set.- Returns:
- the
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.
-
startMigrationToVirtualMachineScaleSetAsync
Mono<Void> startMigrationToVirtualMachineScaleSetAsync(String resourceGroupName, String availabilitySetName, MigrateToVirtualMachineScaleSetInput parameters) Start migration operation on an Availability Set to move its Virtual Machines to a Virtual Machine Scale Set. This should be followed by a migrate operation on each Virtual Machine that triggers a downtime on the Virtual Machine.- Parameters:
resourceGroupName- The name of the resource group.availabilitySetName- The name of the availability set.parameters- Parameters supplied to the migrate operation on the availability set.- Returns:
- A
Monothat completes when a successful response is received. - 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.
-
startMigrationToVirtualMachineScaleSetWithResponse
com.azure.core.http.rest.Response<Void> startMigrationToVirtualMachineScaleSetWithResponse(String resourceGroupName, String availabilitySetName, MigrateToVirtualMachineScaleSetInput parameters, com.azure.core.util.Context context) Start migration operation on an Availability Set to move its Virtual Machines to a Virtual Machine Scale Set. This should be followed by a migrate operation on each Virtual Machine that triggers a downtime on the Virtual Machine.- Parameters:
resourceGroupName- The name of the resource group.availabilitySetName- The name of the availability set.parameters- Parameters supplied to the migrate operation on the availability set.context- The context to associate with this operation.- Returns:
- the
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.
-
startMigrationToVirtualMachineScaleSet
void startMigrationToVirtualMachineScaleSet(String resourceGroupName, String availabilitySetName, MigrateToVirtualMachineScaleSetInput parameters) Start migration operation on an Availability Set to move its Virtual Machines to a Virtual Machine Scale Set. This should be followed by a migrate operation on each Virtual Machine that triggers a downtime on the Virtual Machine.- Parameters:
resourceGroupName- The name of the resource group.availabilitySetName- The name of the availability set.parameters- Parameters supplied to the migrate operation on the availability set.- 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.
-
cancelMigrationToVirtualMachineScaleSetWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> cancelMigrationToVirtualMachineScaleSetWithResponseAsync(String resourceGroupName, String availabilitySetName) Cancel the migration operation on an Availability Set.- Parameters:
resourceGroupName- The name of the resource group.availabilitySetName- The name of the availability set.- Returns:
- the
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.
-
cancelMigrationToVirtualMachineScaleSetAsync
Mono<Void> cancelMigrationToVirtualMachineScaleSetAsync(String resourceGroupName, String availabilitySetName) Cancel the migration operation on an Availability Set.- Parameters:
resourceGroupName- The name of the resource group.availabilitySetName- The name of the availability set.- Returns:
- A
Monothat completes when a successful response is received. - 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.
-
cancelMigrationToVirtualMachineScaleSetWithResponse
com.azure.core.http.rest.Response<Void> cancelMigrationToVirtualMachineScaleSetWithResponse(String resourceGroupName, String availabilitySetName, com.azure.core.util.Context context) Cancel the migration operation on an Availability Set.- Parameters:
resourceGroupName- The name of the resource group.availabilitySetName- The name of the availability set.context- The context to associate with this operation.- Returns:
- the
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.
-
cancelMigrationToVirtualMachineScaleSet
Cancel the migration operation on an Availability Set.- Parameters:
resourceGroupName- The name of the resource group.availabilitySetName- The name of the availability set.- 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.
-
validateMigrationToVirtualMachineScaleSetWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> validateMigrationToVirtualMachineScaleSetWithResponseAsync(String resourceGroupName, String availabilitySetName, MigrateToVirtualMachineScaleSetInput parameters) Validates that the Virtual Machines in the Availability Set can be migrated to the provided Virtual Machine Scale Set.- Parameters:
resourceGroupName- The name of the resource group.availabilitySetName- The name of the availability set.parameters- Parameters supplied to the migrate operation on the availability set.- Returns:
- the
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.
-
validateMigrationToVirtualMachineScaleSetAsync
Mono<Void> validateMigrationToVirtualMachineScaleSetAsync(String resourceGroupName, String availabilitySetName, MigrateToVirtualMachineScaleSetInput parameters) Validates that the Virtual Machines in the Availability Set can be migrated to the provided Virtual Machine Scale Set.- Parameters:
resourceGroupName- The name of the resource group.availabilitySetName- The name of the availability set.parameters- Parameters supplied to the migrate operation on the availability set.- Returns:
- A
Monothat completes when a successful response is received. - 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.
-
validateMigrationToVirtualMachineScaleSetWithResponse
com.azure.core.http.rest.Response<Void> validateMigrationToVirtualMachineScaleSetWithResponse(String resourceGroupName, String availabilitySetName, MigrateToVirtualMachineScaleSetInput parameters, com.azure.core.util.Context context) Validates that the Virtual Machines in the Availability Set can be migrated to the provided Virtual Machine Scale Set.- Parameters:
resourceGroupName- The name of the resource group.availabilitySetName- The name of the availability set.parameters- Parameters supplied to the migrate operation on the availability set.context- The context to associate with this operation.- Returns:
- the
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.
-
validateMigrationToVirtualMachineScaleSet
void validateMigrationToVirtualMachineScaleSet(String resourceGroupName, String availabilitySetName, MigrateToVirtualMachineScaleSetInput parameters) Validates that the Virtual Machines in the Availability Set can be migrated to the provided Virtual Machine Scale Set.- Parameters:
resourceGroupName- The name of the resource group.availabilitySetName- The name of the availability set.parameters- Parameters supplied to the migrate operation on the availability set.- 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.
-
convertToVirtualMachineScaleSetWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> convertToVirtualMachineScaleSetWithResponseAsync(String resourceGroupName, String availabilitySetName, ConvertToVirtualMachineScaleSetInput parameters) Create a new Flexible Virtual Machine Scale Set and migrate all the Virtual Machines in the Availability Set. This does not trigger a downtime on the Virtual Machines.- Parameters:
resourceGroupName- The name of the resource group.availabilitySetName- The name of the availability set.parameters- Parameters supplied to the migrate operation on the availability set.- Returns:
- the
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.
-
beginConvertToVirtualMachineScaleSetAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginConvertToVirtualMachineScaleSetAsync(String resourceGroupName, String availabilitySetName, ConvertToVirtualMachineScaleSetInput parameters) Create a new Flexible Virtual Machine Scale Set and migrate all the Virtual Machines in the Availability Set. This does not trigger a downtime on the Virtual Machines.- Parameters:
resourceGroupName- The name of the resource group.availabilitySetName- The name of the availability set.parameters- Parameters supplied to the migrate operation on the availability set.- Returns:
- the
PollerFluxfor polling of long-running operation. - 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.
-
beginConvertToVirtualMachineScaleSetAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginConvertToVirtualMachineScaleSetAsync(String resourceGroupName, String availabilitySetName) Create a new Flexible Virtual Machine Scale Set and migrate all the Virtual Machines in the Availability Set. This does not trigger a downtime on the Virtual Machines.- Parameters:
resourceGroupName- The name of the resource group.availabilitySetName- The name of the availability set.- Returns:
- the
PollerFluxfor polling of long-running operation. - 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.
-
beginConvertToVirtualMachineScaleSet
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginConvertToVirtualMachineScaleSet(String resourceGroupName, String availabilitySetName) Create a new Flexible Virtual Machine Scale Set and migrate all the Virtual Machines in the Availability Set. This does not trigger a downtime on the Virtual Machines.- Parameters:
resourceGroupName- The name of the resource group.availabilitySetName- The name of the availability set.- Returns:
- the
SyncPollerfor polling of long-running operation. - 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.
-
beginConvertToVirtualMachineScaleSet
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginConvertToVirtualMachineScaleSet(String resourceGroupName, String availabilitySetName, ConvertToVirtualMachineScaleSetInput parameters, com.azure.core.util.Context context) Create a new Flexible Virtual Machine Scale Set and migrate all the Virtual Machines in the Availability Set. This does not trigger a downtime on the Virtual Machines.- Parameters:
resourceGroupName- The name of the resource group.availabilitySetName- The name of the availability set.parameters- Parameters supplied to the migrate operation on the availability set.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - 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.
-
convertToVirtualMachineScaleSetAsync
Mono<Void> convertToVirtualMachineScaleSetAsync(String resourceGroupName, String availabilitySetName, ConvertToVirtualMachineScaleSetInput parameters) Create a new Flexible Virtual Machine Scale Set and migrate all the Virtual Machines in the Availability Set. This does not trigger a downtime on the Virtual Machines.- Parameters:
resourceGroupName- The name of the resource group.availabilitySetName- The name of the availability set.parameters- Parameters supplied to the migrate operation on the availability set.- Returns:
- A
Monothat completes when a successful response is received. - 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.
-
convertToVirtualMachineScaleSetAsync
Mono<Void> convertToVirtualMachineScaleSetAsync(String resourceGroupName, String availabilitySetName) Create a new Flexible Virtual Machine Scale Set and migrate all the Virtual Machines in the Availability Set. This does not trigger a downtime on the Virtual Machines.- Parameters:
resourceGroupName- The name of the resource group.availabilitySetName- The name of the availability set.- Returns:
- A
Monothat completes when a successful response is received. - 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.
-
convertToVirtualMachineScaleSet
Create a new Flexible Virtual Machine Scale Set and migrate all the Virtual Machines in the Availability Set. This does not trigger a downtime on the Virtual Machines.- Parameters:
resourceGroupName- The name of the resource group.availabilitySetName- The name of the availability set.- 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.
-
convertToVirtualMachineScaleSet
void convertToVirtualMachineScaleSet(String resourceGroupName, String availabilitySetName, ConvertToVirtualMachineScaleSetInput parameters, com.azure.core.util.Context context) Create a new Flexible Virtual Machine Scale Set and migrate all the Virtual Machines in the Availability Set. This does not trigger a downtime on the Virtual Machines.- Parameters:
resourceGroupName- The name of the resource group.availabilitySetName- The name of the availability set.parameters- Parameters supplied to the migrate operation on the availability set.context- The context to associate with this operation.- 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.
-