Compartir a través de


InventoryItems interface

Interface representing a InventoryItems.

Methods

create(string, string, string, InventoryItem, 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, InventoryItem, InventoryItemsCreateOptionalParams)

Create Or Update InventoryItem.

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

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

vmmServerName

string

Name of the VmmServer.

inventoryItemResourceName

string

Name of the inventoryItem.

resource
InventoryItem

Resource create parameters.

options
InventoryItemsCreateOptionalParams

The options parameters.

Returns

Promise<InventoryItem>

delete(string, string, string, InventoryItemsDeleteOptionalParams)

Deletes an inventoryItem.

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

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

vmmServerName

string

Name of the VmmServer.

inventoryItemResourceName

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, inventoryItemResourceName: string, options?: InventoryItemsGetOptionalParams): Promise<InventoryItem>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

vmmServerName

string

Name of the VmmServer.

inventoryItemResourceName

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. The name is case insensitive.

vmmServerName

string

Name of the VmmServer.

options
InventoryItemsListByVmmServerOptionalParams

The options parameters.

Returns