Sdílet prostřednictvím


ArmScVmmModelFactory.CloudInventoryItem Method

Definition

Initializes a new instance of CloudInventoryItem.

public static Azure.ResourceManager.ScVmm.Models.CloudInventoryItem CloudInventoryItem (string managedResourceId = default, string uuid = default, string inventoryItemName = default, Azure.ResourceManager.ScVmm.Models.ScVmmProvisioningState? provisioningState = default);
static member CloudInventoryItem : string * string * string * Nullable<Azure.ResourceManager.ScVmm.Models.ScVmmProvisioningState> -> Azure.ResourceManager.ScVmm.Models.CloudInventoryItem
Public Shared Function CloudInventoryItem (Optional managedResourceId As String = Nothing, Optional uuid As String = Nothing, Optional inventoryItemName As String = Nothing, Optional provisioningState As Nullable(Of ScVmmProvisioningState) = Nothing) As CloudInventoryItem

Parameters

managedResourceId
String

Gets the tracked resource id corresponding to the inventory resource.

uuid
String

Gets the UUID (which is assigned by VMM) for the inventory item.

inventoryItemName
String

Gets the Managed Object name in VMM for the inventory item.

provisioningState
Nullable<ScVmmProvisioningState>

Provisioning state of the resource.

Returns

A new CloudInventoryItem instance for mocking.

Applies to