VCentersClient Interface

public interface VCentersClient

An instance of this class provides access to all the operations defined in VCentersClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<VCenterInner>,VCenterInner> beginCreate(String resourceGroupName, String vcenterName, VCenterInner body)

Implements vCenter PUT method.

abstract SyncPoller<PollResult<VCenterInner>,VCenterInner> beginCreate(String resourceGroupName, String vcenterName, VCenterInner body, Context context)

Implements vCenter PUT method.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String vcenterName, Boolean force)

Deletes an vCenter.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String vcenterName, Boolean force, Context context)

Deletes an vCenter.

abstract VCenterInner create(String resourceGroupName, String vcenterName)

Implements vCenter PUT method.

abstract VCenterInner create(String resourceGroupName, String vcenterName, VCenterInner body)

Implements vCenter PUT method.

abstract VCenterInner create(String resourceGroupName, String vcenterName, VCenterInner body, Context context)

Implements vCenter PUT method.

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 VCenterInner getByResourceGroup(String resourceGroupName, String vcenterName)

Gets a vCenter.

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

Gets a vCenter.

abstract PagedIterable<VCenterInner> list()

Implements GET vCenters in a subscription.

abstract PagedIterable<VCenterInner> list(Context context)

Implements GET vCenters in a subscription.

abstract PagedIterable<VCenterInner> listByResourceGroup(String resourceGroupName)

Implements GET vCenters in a resource group.

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

Implements GET vCenters in a resource group.

abstract VCenterInner update(String resourceGroupName, String vcenterName)

Updates a vCenter.

abstract Response<VCenterInner> updateWithResponse(String resourceGroupName, String vcenterName, ResourcePatch body, Context context)

Updates a vCenter.

Method Details

beginCreate

public abstract SyncPoller<PollResult<VCenterInner>,VCenterInner> beginCreate(String resourceGroupName, String vcenterName, VCenterInner body)

Implements vCenter PUT method.

Create Or Update vCenter.

Parameters:

resourceGroupName - The Resource Group Name.
vcenterName - Name of the vCenter.
body - Request payload.

Returns:

the SyncPoller<T,U> for polling of defines the vCenter.

beginCreate

public abstract SyncPoller<PollResult<VCenterInner>,VCenterInner> beginCreate(String resourceGroupName, String vcenterName, VCenterInner body, Context context)

Implements vCenter PUT method.

Create Or Update vCenter.

Parameters:

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

Returns:

the SyncPoller<T,U> for polling of defines the vCenter.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(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.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(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.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

create

public abstract VCenterInner create(String resourceGroupName, String vcenterName)

Implements vCenter PUT method.

Create Or Update vCenter.

Parameters:

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

Returns:

defines the vCenter.

create

public abstract VCenterInner create(String resourceGroupName, String vcenterName, VCenterInner body)

Implements vCenter PUT method.

Create Or Update vCenter.

Parameters:

resourceGroupName - The Resource Group Name.
vcenterName - Name of the vCenter.
body - Request payload.

Returns:

defines the vCenter.

create

public abstract VCenterInner create(String resourceGroupName, String vcenterName, VCenterInner body, Context context)

Implements vCenter PUT method.

Create Or Update vCenter.

Parameters:

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

Returns:

defines the vCenter.

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.

getByResourceGroup

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

update

public abstract VCenterInner update(String resourceGroupName, String vcenterName)

Updates a vCenter.

API to update certain properties of the vCenter resource.

Parameters:

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

Returns:

defines the vCenter.

updateWithResponse

public abstract Response<VCenterInner> updateWithResponse(String resourceGroupName, String vcenterName, ResourcePatch body, Context context)

Updates a vCenter.

API to update certain properties of the vCenter resource.

Parameters:

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

Returns:

defines the vCenter along with Response<T>.

Applies to