你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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