Compartilhar via


InventoryItems interface

Interface que representa um InventoryItems.

Métodos

create(string, string, string, InventoryItemsCreateOptionalParams)

Criar ou atualizar InventoryItem.

delete(string, string, string, InventoryItemsDeleteOptionalParams)

Implementa o método inventoryItem DELETE.

get(string, string, string, InventoryItemsGetOptionalParams)

Implementa o método INVENTORYItem GET.

listByVCenter(string, string, InventoryItemsListByVCenterOptionalParams)

Retorna a lista de inventoryItems do vCenter especificado.

Detalhes do método

create(string, string, string, InventoryItemsCreateOptionalParams)

Criar ou atualizar InventoryItem.

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

Parâmetros

resourceGroupName

string

O nome do grupo de recursos.

vcenterName

string

Nome do vCenter.

inventoryItemName

string

Nome do inventoryItem.

options
InventoryItemsCreateOptionalParams

Os parâmetros de opções.

Retornos

Promise<InventoryItem>

delete(string, string, string, InventoryItemsDeleteOptionalParams)

Implementa o método inventoryItem DELETE.

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

Parâmetros

resourceGroupName

string

O nome do grupo de recursos.

vcenterName

string

Nome do vCenter.

inventoryItemName

string

Nome do inventoryItem.

options
InventoryItemsDeleteOptionalParams

Os parâmetros de opções.

Retornos

Promise<void>

get(string, string, string, InventoryItemsGetOptionalParams)

Implementa o método INVENTORYItem GET.

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

Parâmetros

resourceGroupName

string

O nome do grupo de recursos.

vcenterName

string

Nome do vCenter.

inventoryItemName

string

Nome do inventoryItem.

options
InventoryItemsGetOptionalParams

Os parâmetros de opções.

Retornos

Promise<InventoryItem>

listByVCenter(string, string, InventoryItemsListByVCenterOptionalParams)

Retorna a lista de inventoryItems do vCenter especificado.

function listByVCenter(resourceGroupName: string, vcenterName: string, options?: InventoryItemsListByVCenterOptionalParams): PagedAsyncIterableIterator<InventoryItem, InventoryItem[], PageSettings>

Parâmetros

resourceGroupName

string

O nome do grupo de recursos.

vcenterName

string

Nome do vCenter.

options
InventoryItemsListByVCenterOptionalParams

Os parâmetros de opções.

Retornos