Freigeben über


InventoryItemResource Class

Definition

A Class representing an InventoryItem along with the instance operations that can be performed on it. If you have a ResourceIdentifier you can construct an InventoryItemResource from an instance of ArmClient using the GetInventoryItemResource method. Otherwise you can get one from its parent resource ScVmmServerResource using the GetInventoryItem method.

public class InventoryItemResource : Azure.ResourceManager.ArmResource
type InventoryItemResource = class
    inherit ArmResource
Public Class InventoryItemResource
Inherits ArmResource
Inheritance
InventoryItemResource

Constructors

InventoryItemResource()

Initializes a new instance of the InventoryItemResource class for mocking.

Fields

ResourceType

Gets the resource type for the operations.

Properties

Data

Gets the data representing this Feature.

HasData

Gets whether or not the current instance has data.

Methods

CreateResourceIdentifier(String, String, String, String)

Generate the resource identifier of a InventoryItemResource instance.

Delete(WaitUntil, CancellationToken)

Deletes an inventoryItem.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems/{inventoryItemName}
  • Operation Id: InventoryItems_Delete
DeleteAsync(WaitUntil, CancellationToken)

Deletes an inventoryItem.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems/{inventoryItemName}
  • Operation Id: InventoryItems_Delete
Get(CancellationToken)

Shows an inventory item.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems/{inventoryItemName}
  • Operation Id: InventoryItems_Get
GetAsync(CancellationToken)

Shows an inventory item.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems/{inventoryItemName}
  • Operation Id: InventoryItems_Get
Update(WaitUntil, InventoryItemData, CancellationToken)

Create Or Update InventoryItem.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems/{inventoryItemName}
  • Operation Id: InventoryItems_Create
UpdateAsync(WaitUntil, InventoryItemData, CancellationToken)

Create Or Update InventoryItem.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems/{inventoryItemName}
  • Operation Id: InventoryItems_Create

Applies to