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 vmmServerName, 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 vmmServerName, String inventoryItemName, Context context)

Deletes an inventoryItem.

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

Shows an inventory item.

abstract InventoryItem getById(String id)

Shows an inventory item.

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

Shows an inventory item.

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

Shows an inventory item.

abstract PagedIterable<InventoryItem> listByVmmServer(String resourceGroupName, String vmmServerName)

Returns the list of inventoryItems in the given VMMServer.

abstract PagedIterable<InventoryItem> listByVmmServer(String resourceGroupName, String vmmServerName, Context context)

Returns the list of inventoryItems in the given VMMServer.

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 vmmServerName, String inventoryItemName)

Deletes an inventoryItem.

Parameters:

resourceGroupName - The name of the resource group.
vmmServerName - Name of the VMMServer.
inventoryItemName - Name of the inventoryItem.

deleteById

public abstract void deleteById(String id)

Deletes an inventoryItem.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract Response deleteByIdWithResponse(String id, Context context)

Deletes an inventoryItem.

Parameters:

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

Returns:

deleteWithResponse

public abstract Response deleteWithResponse(String resourceGroupName, String vmmServerName, String inventoryItemName, Context context)

Deletes an inventoryItem.

Parameters:

resourceGroupName - The name of the resource group.
vmmServerName - Name of the VMMServer.
inventoryItemName - Name of the inventoryItem.
context - The context to associate with this operation.

Returns:

get

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

Shows an inventory item.

Parameters:

resourceGroupName - The name of the resource group.
vmmServerName - Name of the VMMServer.
inventoryItemName - Name of the inventoryItem.

Returns:

defines the inventory item.

getById

public abstract InventoryItem getById(String id)

Shows an inventory item.

Parameters:

id - the resource ID.

Returns:

defines the inventory item along with Response<T>.

getByIdWithResponse

public abstract Response getByIdWithResponse(String id, Context context)

Shows an inventory item.

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 getWithResponse(String resourceGroupName, String vmmServerName, String inventoryItemName, Context context)

Shows an inventory item.

Parameters:

resourceGroupName - The name of the resource group.
vmmServerName - Name of the VMMServer.
inventoryItemName - Name of the inventoryItem.
context - The context to associate with this operation.

Returns:

defines the inventory item along with Response<T>.

listByVmmServer

public abstract PagedIterable listByVmmServer(String resourceGroupName, String vmmServerName)

Returns the list of inventoryItems in the given VMMServer.

Parameters:

resourceGroupName - The name of the resource group.
vmmServerName - Name of the VMMServer.

Returns:

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

listByVmmServer

public abstract PagedIterable listByVmmServer(String resourceGroupName, String vmmServerName, Context context)

Returns the list of inventoryItems in the given VMMServer.

Parameters:

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

Returns:

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

Applies to

Azure SDK for Java

Preview