AvailabilitySets Interface

public interface AvailabilitySets

Resource collection API of AvailabilitySets.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new AvailabilitySet resource.

abstract void delete(String resourceGroupName, String availabilitySetName)

Deregisters the ScVmm availability set from Azure.

abstract void delete(String resourceGroupName, String availabilitySetName, Boolean force)

Deregisters the ScVmm availability set from Azure.

abstract void delete(String resourceGroupName, String availabilitySetName, Boolean force, Context context)

Deregisters the ScVmm availability set from Azure.

abstract void deleteById(String id)

Deregisters the ScVmm availability set from Azure.

abstract void deleteByIdWithResponse(String id, Boolean force, Context context)

Deregisters the ScVmm availability set from Azure.

abstract AvailabilitySet getById(String id)

Implements AvailabilitySet GET method.

abstract Response<AvailabilitySet> getByIdWithResponse(String id, Context context)

Implements AvailabilitySet GET method.

abstract AvailabilitySet getByResourceGroup(String resourceGroupName, String availabilitySetName)

Implements AvailabilitySet GET method.

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

Implements AvailabilitySet GET method.

abstract PagedIterable<AvailabilitySet> list()

List of AvailabilitySets in a subscription.

abstract PagedIterable<AvailabilitySet> list(Context context)

List of AvailabilitySets in a subscription.

abstract PagedIterable<AvailabilitySet> listByResourceGroup(String resourceGroupName)

List of AvailabilitySets in a resource group.

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

List of AvailabilitySets in a resource group.

Method Details

define

public abstract AvailabilitySet.DefinitionStages.Blank define(String name)

Begins definition for a new AvailabilitySet resource.

Parameters:

name - resource name.

Returns:

the first stage of the new AvailabilitySet definition.

delete

public abstract void delete(String resourceGroupName, String availabilitySetName)

Deregisters the ScVmm availability set from Azure.

Parameters:

resourceGroupName - The name of the resource group.
availabilitySetName - Name of the AvailabilitySet.

delete

public abstract void delete(String resourceGroupName, String availabilitySetName, Boolean force)

Deregisters the ScVmm availability set from Azure.

Parameters:

resourceGroupName - The name of the resource group.
availabilitySetName - Name of the AvailabilitySet.
force - Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too.

delete

public abstract void delete(String resourceGroupName, String availabilitySetName, Boolean force, Context context)

Deregisters the ScVmm availability set from Azure.

Parameters:

resourceGroupName - The name of the resource group.
availabilitySetName - Name of the AvailabilitySet.
force - Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too.
context - The context to associate with this operation.

deleteById

public abstract void deleteById(String id)

Deregisters the ScVmm availability set from Azure.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract void deleteByIdWithResponse(String id, Boolean force, Context context)

Deregisters the ScVmm availability set from Azure.

Parameters:

id - the resource ID.
force - Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too.
context - The context to associate with this operation.

getById

public abstract AvailabilitySet getById(String id)

Implements AvailabilitySet GET method.

Parameters:

id - the resource ID.

Returns:

the AvailabilitySets resource definition along with Response<T>.

getByIdWithResponse

public abstract Response<AvailabilitySet> getByIdWithResponse(String id, Context context)

Implements AvailabilitySet GET method.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

the AvailabilitySets resource definition along with Response<T>.

getByResourceGroup

public abstract AvailabilitySet getByResourceGroup(String resourceGroupName, String availabilitySetName)

Implements AvailabilitySet GET method.

Parameters:

resourceGroupName - The name of the resource group.
availabilitySetName - Name of the AvailabilitySet.

Returns:

the AvailabilitySets resource definition.

getByResourceGroupWithResponse

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

Implements AvailabilitySet GET method.

Parameters:

resourceGroupName - The name of the resource group.
availabilitySetName - Name of the AvailabilitySet.
context - The context to associate with this operation.

Returns:

the AvailabilitySets resource definition along with Response<T>.

list

public abstract PagedIterable<AvailabilitySet> list()

List of AvailabilitySets in a subscription.

Returns:

list of AvailabilitySets as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<AvailabilitySet> list(Context context)

List of AvailabilitySets in a subscription.

Parameters:

context - The context to associate with this operation.

Returns:

list of AvailabilitySets as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<AvailabilitySet> listByResourceGroup(String resourceGroupName)

List of AvailabilitySets in a resource group.

Parameters:

resourceGroupName - The name of the resource group.

Returns:

list of AvailabilitySets as paginated response with PagedIterable<T>.

listByResourceGroup

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

List of AvailabilitySets in a resource group.

Parameters:

resourceGroupName - The name of the resource group.
context - The context to associate with this operation.

Returns:

list of AvailabilitySets as paginated response with PagedIterable<T>.

Applies to