VCenters Interface

public interface VCenters

Resource collection API of VCenters.

Method Summary

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

Begins definition for a new VCenter resource.

abstract void delete(String resourceGroupName, String vcenterName)

Deletes an vCenter.

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

Deletes an vCenter.

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

Deletes an vCenter.

abstract void deleteById(String id)

Deletes an vCenter.

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

Deletes an vCenter.

abstract VCenter getById(String id)

Gets a vCenter.

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

Gets a vCenter.

abstract VCenter getByResourceGroup(String resourceGroupName, String vcenterName)

Gets a vCenter.

abstract Response<VCenter> getByResourceGroupWithResponse(String resourceGroupName, String vcenterName, Context context)

Gets a vCenter.

abstract PagedIterable<VCenter> list()

Implements GET vCenters in a subscription.

abstract PagedIterable<VCenter> list(Context context)

Implements GET vCenters in a subscription.

abstract PagedIterable<VCenter> listByResourceGroup(String resourceGroupName)

Implements GET vCenters in a resource group.

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

Implements GET vCenters in a resource group.

Method Details

define

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

Begins definition for a new VCenter resource.

Parameters:

name - resource name.

Returns:

the first stage of the new VCenter definition.

delete

public abstract void delete(String resourceGroupName, String vcenterName)

Deletes an vCenter.

Implements vCenter DELETE method.

Parameters:

resourceGroupName - The Resource Group Name.
vcenterName - Name of the vCenter.

delete

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

Deletes an vCenter.

Implements vCenter DELETE method.

Parameters:

resourceGroupName - The Resource Group Name.
vcenterName - Name of the vCenter.
force - Whether force delete was specified.

delete

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

Deletes an vCenter.

Implements vCenter DELETE method.

Parameters:

resourceGroupName - The Resource Group Name.
vcenterName - Name of the vCenter.
force - Whether force delete was specified.
context - The context to associate with this operation.

deleteById

public abstract void deleteById(String id)

Deletes an vCenter.

Implements vCenter DELETE method.

Parameters:

id - the resource ID.

deleteByIdWithResponse

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

Deletes an vCenter.

Implements vCenter DELETE method.

Parameters:

id - the resource ID.
force - Whether force delete was specified.
context - The context to associate with this operation.

getById

public abstract VCenter getById(String id)

Gets a vCenter.

Implements vCenter GET method.

Parameters:

id - the resource ID.

Returns:

defines the vCenter along with Response<T>.

getByIdWithResponse

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

Gets a vCenter.

Implements vCenter GET method.

Parameters:

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

Returns:

defines the vCenter along with Response<T>.

getByResourceGroup

public abstract VCenter getByResourceGroup(String resourceGroupName, String vcenterName)

Gets a vCenter.

Implements vCenter GET method.

Parameters:

resourceGroupName - The Resource Group Name.
vcenterName - Name of the vCenter.

Returns:

defines the vCenter.

getByResourceGroupWithResponse

public abstract Response<VCenter> getByResourceGroupWithResponse(String resourceGroupName, String vcenterName, Context context)

Gets a vCenter.

Implements vCenter GET method.

Parameters:

resourceGroupName - The Resource Group Name.
vcenterName - Name of the vCenter.
context - The context to associate with this operation.

Returns:

defines the vCenter along with Response<T>.

list

public abstract PagedIterable<VCenter> list()

Implements GET vCenters in a subscription.

List of vCenters in a subscription.

Returns:

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

list

public abstract PagedIterable<VCenter> list(Context context)

Implements GET vCenters in a subscription.

List of vCenters in a subscription.

Parameters:

context - The context to associate with this operation.

Returns:

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

listByResourceGroup

public abstract PagedIterable<VCenter> listByResourceGroup(String resourceGroupName)

Implements GET vCenters in a resource group.

List of vCenters in a resource group.

Parameters:

resourceGroupName - The Resource Group Name.

Returns:

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

listByResourceGroup

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

Implements GET vCenters in a resource group.

List of vCenters in a resource group.

Parameters:

resourceGroupName - The Resource Group Name.
context - The context to associate with this operation.

Returns:

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

Applies to