InventoryItems interface

Interface representing a InventoryItems.

Methods

create(string, string, string, InventoryItemsCreateOptionalParams)

Create Or Update InventoryItem.

delete(string, string, string, InventoryItemsDeleteOptionalParams)

Deletes an inventoryItem.

get(string, string, string, InventoryItemsGetOptionalParams)

Shows an inventory item.

listByVMMServer(string, string, InventoryItemsListByVMMServerOptionalParams)

Returns the list of inventoryItems in the given VMMServer.

Method Details

create(string, string, string, InventoryItemsCreateOptionalParams)

Create Or Update InventoryItem.

function create(resourceGroupName: string, vmmServerName: string, inventoryItemName: string, options?: InventoryItemsCreateOptionalParams): Promise<InventoryItem>

Parameters

resourceGroupName

string

The name of the resource group.

vmmServerName

string

Name of the VMMServer.

inventoryItemName

string

Name of the inventoryItem.

options
InventoryItemsCreateOptionalParams

The options parameters.

Returns

Promise<InventoryItem>

delete(string, string, string, InventoryItemsDeleteOptionalParams)

Deletes an inventoryItem.

function delete(resourceGroupName: string, vmmServerName: string, inventoryItemName: string, options?: InventoryItemsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group.

vmmServerName

string

Name of the VMMServer.

inventoryItemName

string

Name of the inventoryItem.

options
InventoryItemsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, InventoryItemsGetOptionalParams)

Shows an inventory item.

function get(resourceGroupName: string, vmmServerName: string, inventoryItemName: string, options?: InventoryItemsGetOptionalParams): Promise<InventoryItem>

Parameters

resourceGroupName

string

The name of the resource group.

vmmServerName

string

Name of the VMMServer.

inventoryItemName

string

Name of the inventoryItem.

options
InventoryItemsGetOptionalParams

The options parameters.

Returns

Promise<InventoryItem>

listByVMMServer(string, string, InventoryItemsListByVMMServerOptionalParams)

Returns the list of inventoryItems in the given VMMServer.

function listByVMMServer(resourceGroupName: string, vmmServerName: string, options?: InventoryItemsListByVMMServerOptionalParams): PagedAsyncIterableIterator<InventoryItem, InventoryItem[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group.

vmmServerName

string

Name of the VMMServer.

options
InventoryItemsListByVMMServerOptionalParams

The options parameters.

Returns