Dela via


AvailabilitySetsClient Interface

Implements

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 Type Method and Description
abstract AvailabilitySetInner createOrUpdate(String resourceGroupName, String availabilitySetName, AvailabilitySetInner parameters)

Create or update an availability set.

abstract Mono<AvailabilitySetInner> createOrUpdateAsync(String resourceGroupName, String availabilitySetName, AvailabilitySetInner parameters)

Create or update an availability set.

abstract Response<AvailabilitySetInner> createOrUpdateWithResponse(String resourceGroupName, String availabilitySetName, AvailabilitySetInner parameters, Context context)

Create or update an availability set.

abstract Mono<Response<AvailabilitySetInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String availabilitySetName, AvailabilitySetInner parameters)

Create or update an availability set.

abstract void delete(String resourceGroupName, String availabilitySetName)

Delete an availability set.

abstract Mono<Void> deleteAsync(String resourceGroupName, String availabilitySetName)

Delete an availability set.

abstract Response<Void> deleteWithResponse(String resourceGroupName, String availabilitySetName, Context context)

Delete an availability set.

abstract Mono<Response<Void>> deleteWithResponseAsync(String resourceGroupName, String availabilitySetName)

Delete an availability set.

abstract AvailabilitySetInner getByResourceGroup(String resourceGroupName, String availabilitySetName)

Retrieves information about an availability set.

abstract Mono<AvailabilitySetInner> getByResourceGroupAsync(String resourceGroupName, String availabilitySetName)

Retrieves information about an availability set.

abstract Response<AvailabilitySetInner> getByResourceGroupWithResponse(String resourceGroupName, String availabilitySetName, Context context)

Retrieves information about an availability set.

abstract Mono<Response<AvailabilitySetInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String availabilitySetName)

Retrieves information about an availability set.

abstract PagedIterable<AvailabilitySetInner> list()

Lists all availability sets in a subscription.

abstract PagedIterable<AvailabilitySetInner> list(String expand, Context context)

Lists all availability sets in a subscription.

abstract PagedFlux<AvailabilitySetInner> listAsync()

Lists all availability sets in a subscription.

abstract PagedFlux<AvailabilitySetInner> listAsync(String expand)

Lists all availability sets in a subscription.

abstract 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.

abstract PagedIterable<VirtualMachineSizeInner> listAvailableSizes(String resourceGroupName, String availabilitySetName, Context context)

Lists all available virtual machine sizes that can be used to create a new virtual machine in an existing availability set.

abstract 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.

abstract PagedIterable<AvailabilitySetInner> listByResourceGroup(String resourceGroupName)

Lists all availability sets in a resource group.

abstract PagedIterable<AvailabilitySetInner> listByResourceGroup(String resourceGroupName, Context context)

Lists all availability sets in a resource group.

abstract PagedFlux<AvailabilitySetInner> listByResourceGroupAsync(String resourceGroupName)

Lists all availability sets in a resource group.

abstract AvailabilitySetInner update(String resourceGroupName, String availabilitySetName, AvailabilitySetUpdate parameters)

Update an availability set.

abstract Mono<AvailabilitySetInner> updateAsync(String resourceGroupName, String availabilitySetName, AvailabilitySetUpdate parameters)

Update an availability set.

abstract Response<AvailabilitySetInner> updateWithResponse(String resourceGroupName, String availabilitySetName, AvailabilitySetUpdate parameters, Context context)

Update an availability set.

abstract Mono<Response<AvailabilitySetInner>> updateWithResponseAsync(String resourceGroupName, String availabilitySetName, AvailabilitySetUpdate parameters)

Update an availability set.

Method Details

createOrUpdate

public abstract 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.

createOrUpdateAsync

public abstract Mono 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.

createOrUpdateWithResponse

public abstract Response createOrUpdateWithResponse(String resourceGroupName, String availabilitySetName, AvailabilitySetInner parameters, 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<T>.

createOrUpdateWithResponseAsync

public abstract Mono<>> 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 Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String availabilitySetName)

Delete an availability set.

Parameters:

resourceGroupName - The name of the resource group.
availabilitySetName - The name of the availability set.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String availabilitySetName)

Delete an availability set.

Parameters:

resourceGroupName - The name of the resource group.
availabilitySetName - The name of the availability set.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponse

public abstract Response deleteWithResponse(String resourceGroupName, String availabilitySetName, 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:

deleteWithResponseAsync

public abstract Mono<>> 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 Response<T> on successful completion of Mono.

getByResourceGroup

public abstract AvailabilitySetInner getByResourceGroup(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.

getByResourceGroupAsync

public abstract Mono getByResourceGroupAsync(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 on successful completion of Mono.

getByResourceGroupWithResponse

public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String availabilitySetName, 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<T>.

getByResourceGroupWithResponseAsync

public abstract Mono<>> 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 Response<T> on successful completion of Mono.

list

public abstract PagedIterable list()

Lists all availability sets in a subscription.

Returns:

the List Availability Set operation response as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String expand, Context context)

Lists all availability sets in a subscription.

Parameters:

expand - The expand expression to apply to the operation. Allowed values are 'instanceView'.
context - The context to associate with this operation.

Returns:

the List Availability Set operation response as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync()

Lists all availability sets in a subscription.

Returns:

the List Availability Set operation response as paginated response with PagedFlux<T>.

listAsync

public abstract PagedFlux listAsync(String expand)

Lists all availability sets in a subscription.

Parameters:

expand - The expand expression to apply to the operation. Allowed values are 'instanceView'.

Returns:

the List Availability Set operation response as paginated response with PagedFlux<T>.

listAvailableSizes

public abstract PagedIterable 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<T>.

listAvailableSizes

public abstract PagedIterable listAvailableSizes(String resourceGroupName, String availabilitySetName, 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<T>.

listAvailableSizesAsync

public abstract PagedFlux 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<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName)

Lists all availability sets in a resource group.

Parameters:

resourceGroupName - The name of the resource group.

Returns:

the List Availability Set operation response as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, 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<T>.

listByResourceGroupAsync

public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName)

Lists all availability sets in a resource group.

Parameters:

resourceGroupName - The name of the resource group.

Returns:

the List Availability Set operation response as paginated response with PagedFlux<T>.

update

public abstract 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.

updateAsync

public abstract Mono 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.

updateWithResponse

public abstract Response updateWithResponse(String resourceGroupName, String availabilitySetName, AvailabilitySetUpdate parameters, 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<T>.

updateWithResponseAsync

public abstract Mono<>> 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 Response<T> on successful completion of Mono.

Applies to