InventoryItems interface
Interface representing a InventoryItems.
Methods
create(string, string, string, Inventory |
Create Or Update InventoryItem. |
delete(string, string, string, Inventory |
Implements inventoryItem DELETE method. |
get(string, string, string, Inventory |
Implements InventoryItem GET method. |
list |
Returns the list of inventoryItems of the given vCenter. |
Method Details
create(string, string, string, InventoryItemsCreateOptionalParams)
Create Or Update InventoryItem.
function create(resourceGroupName: string, vcenterName: string, inventoryItemName: string, options?: InventoryItemsCreateOptionalParams): Promise<InventoryItem>
Parameters
- resourceGroupName
-
string
The Resource Group Name.
- vcenterName
-
string
Name of the vCenter.
- inventoryItemName
-
string
Name of the inventoryItem.
The options parameters.
Returns
Promise<InventoryItem>
delete(string, string, string, InventoryItemsDeleteOptionalParams)
Implements inventoryItem DELETE method.
function delete(resourceGroupName: string, vcenterName: string, inventoryItemName: string, options?: InventoryItemsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The Resource Group Name.
- vcenterName
-
string
Name of the vCenter.
- inventoryItemName
-
string
Name of the inventoryItem.
The options parameters.
Returns
Promise<void>
get(string, string, string, InventoryItemsGetOptionalParams)
Implements InventoryItem GET method.
function get(resourceGroupName: string, vcenterName: string, inventoryItemName: string, options?: InventoryItemsGetOptionalParams): Promise<InventoryItem>
Parameters
- resourceGroupName
-
string
The Resource Group Name.
- vcenterName
-
string
Name of the vCenter.
- inventoryItemName
-
string
Name of the inventoryItem.
- options
- InventoryItemsGetOptionalParams
The options parameters.
Returns
Promise<InventoryItem>
listByVCenter(string, string, InventoryItemsListByVCenterOptionalParams)
Returns the list of inventoryItems of the given vCenter.
function listByVCenter(resourceGroupName: string, vcenterName: string, options?: InventoryItemsListByVCenterOptionalParams): PagedAsyncIterableIterator<InventoryItem, InventoryItem[], PageSettings>
Parameters
- resourceGroupName
-
string
The Resource Group Name.
- vcenterName
-
string
Name of the vCenter.
The options parameters.