Clouds Interface

public interface Clouds

Resource collection API of Clouds.

Method Summary

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

Begins definition for a new Cloud resource.

abstract void delete(String resourceGroupName, String cloudName)

Deregisters the ScVmm fabric cloud from Azure.

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

Deregisters the ScVmm fabric cloud from Azure.

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

Deregisters the ScVmm fabric cloud from Azure.

abstract void deleteById(String id)

Deregisters the ScVmm fabric cloud from Azure.

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

Deregisters the ScVmm fabric cloud from Azure.

abstract Cloud getById(String id)

Implements Cloud GET method.

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

Implements Cloud GET method.

abstract Cloud getByResourceGroup(String resourceGroupName, String cloudName)

Implements Cloud GET method.

abstract Response<Cloud> getByResourceGroupWithResponse(String resourceGroupName, String cloudName, Context context)

Implements Cloud GET method.

abstract PagedIterable<Cloud> list()

List of Clouds in a subscription.

abstract PagedIterable<Cloud> list(Context context)

List of Clouds in a subscription.

abstract PagedIterable<Cloud> listByResourceGroup(String resourceGroupName)

List of Clouds in a resource group.

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

List of Clouds in a resource group.

Method Details

define

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

Begins definition for a new Cloud resource.

Parameters:

name - resource name.

Returns:

the first stage of the new Cloud definition.

delete

public abstract void delete(String resourceGroupName, String cloudName)

Deregisters the ScVmm fabric cloud from Azure.

Parameters:

resourceGroupName - The name of the resource group.
cloudName - Name of the Cloud.

delete

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

Deregisters the ScVmm fabric cloud from Azure.

Parameters:

resourceGroupName - The name of the resource group.
cloudName - Name of the Cloud.
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 cloudName, Boolean force, Context context)

Deregisters the ScVmm fabric cloud from Azure.

Parameters:

resourceGroupName - The name of the resource group.
cloudName - Name of the Cloud.
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 fabric cloud from Azure.

Parameters:

id - the resource ID.

deleteByIdWithResponse

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

Deregisters the ScVmm fabric cloud 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 Cloud getById(String id)

Implements Cloud GET method.

Parameters:

id - the resource ID.

Returns:

the Clouds resource definition along with Response<T>.

getByIdWithResponse

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

Implements Cloud GET method.

Parameters:

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

Returns:

the Clouds resource definition along with Response<T>.

getByResourceGroup

public abstract Cloud getByResourceGroup(String resourceGroupName, String cloudName)

Implements Cloud GET method.

Parameters:

resourceGroupName - The name of the resource group.
cloudName - Name of the Cloud.

Returns:

the Clouds resource definition.

getByResourceGroupWithResponse

public abstract Response<Cloud> getByResourceGroupWithResponse(String resourceGroupName, String cloudName, Context context)

Implements Cloud GET method.

Parameters:

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

Returns:

the Clouds resource definition along with Response<T>.

list

public abstract PagedIterable<Cloud> list()

List of Clouds in a subscription.

Returns:

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

list

public abstract PagedIterable<Cloud> list(Context context)

List of Clouds in a subscription.

Parameters:

context - The context to associate with this operation.

Returns:

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

listByResourceGroup

public abstract PagedIterable<Cloud> listByResourceGroup(String resourceGroupName)

List of Clouds in a resource group.

Parameters:

resourceGroupName - The name of the resource group.

Returns:

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

listByResourceGroup

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

List of Clouds in a resource group.

Parameters:

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

Returns:

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

Applies to