InventoryItems Interface

public interface InventoryItems

Resource collection API of InventoryItems.

Method Summary

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

Begins definition for a new InventoryItem resource.

abstract void delete(String resourceGroupName, String vcenterName, String inventoryItemName)

Deletes an inventoryItem.

abstract void deleteById(String id)

Deletes an inventoryItem.

abstract Response<Void> deleteByIdWithResponse(String id, Context context)

Deletes an inventoryItem.

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

Deletes an inventoryItem.

abstract InventoryItem get(String resourceGroupName, String vcenterName, String inventoryItemName)

Gets InventoryItem.

abstract InventoryItem getById(String id)

Gets InventoryItem.

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

Gets InventoryItem.

abstract Response<InventoryItem> getWithResponse(String resourceGroupName, String vcenterName, String inventoryItemName, Context context)

Gets InventoryItem.

abstract PagedIterable<InventoryItem> listByVCenter(String resourceGroupName, String vcenterName)

Implements GET inventoryItems in a vCenter.

abstract PagedIterable<InventoryItem> listByVCenter(String resourceGroupName, String vcenterName, Context context)

Implements GET inventoryItems in a vCenter.

Method Details

define

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

Begins definition for a new InventoryItem resource.

Parameters:

name - resource name.

Returns:

the first stage of the new InventoryItem definition.

delete

public abstract void delete(String resourceGroupName, String vcenterName, String inventoryItemName)

Deletes an inventoryItem.

Implements inventoryItem DELETE method.

Parameters:

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

deleteById

public abstract void deleteById(String id)

Deletes an inventoryItem.

Implements inventoryItem DELETE method.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract Response<Void> deleteByIdWithResponse(String id, Context context)

Deletes an inventoryItem.

Implements inventoryItem DELETE method.

Parameters:

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

Returns:

deleteWithResponse

public abstract Response<Void> deleteWithResponse(String resourceGroupName, String vcenterName, String inventoryItemName, Context context)

Deletes an inventoryItem.

Implements inventoryItem DELETE method.

Parameters:

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

Returns:

get

public abstract InventoryItem get(String resourceGroupName, String vcenterName, String inventoryItemName)

Gets InventoryItem.

Implements InventoryItem GET method.

Parameters:

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

Returns:

defines the inventory item.

getById

public abstract InventoryItem getById(String id)

Gets InventoryItem.

Implements InventoryItem GET method.

Parameters:

id - the resource ID.

Returns:

defines the inventory item along with Response<T>.

getByIdWithResponse

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

Gets InventoryItem.

Implements InventoryItem GET method.

Parameters:

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

Returns:

defines the inventory item along with Response<T>.

getWithResponse

public abstract Response<InventoryItem> getWithResponse(String resourceGroupName, String vcenterName, String inventoryItemName, Context context)

Gets InventoryItem.

Implements InventoryItem GET method.

Parameters:

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

Returns:

defines the inventory item along with Response<T>.

listByVCenter

public abstract PagedIterable<InventoryItem> listByVCenter(String resourceGroupName, String vcenterName)

Implements GET inventoryItems in a vCenter.

Returns the list of inventoryItems of the given vCenter.

Parameters:

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

Returns:

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

listByVCenter

public abstract PagedIterable<InventoryItem> listByVCenter(String resourceGroupName, String vcenterName, Context context)

Implements GET inventoryItems in a vCenter.

Returns the list of inventoryItems of the given vCenter.

Parameters:

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

Returns:

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

Applies to