InventoryItemProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.scvmm.models.InventoryItemProperties

Implements

public class InventoryItemProperties
implements JsonSerializable<InventoryItemProperties>

Defines the resource properties.

Constructor Summary

Constructor Description
InventoryItemProperties()

Creates an instance of InventoryItemProperties class.

Method Summary

Modifier and Type Method and Description
static InventoryItemProperties fromJson(JsonReader jsonReader)

Reads an instance of InventoryItemProperties from the JsonReader.

String inventoryItemName()

Get the inventoryItemName property: Gets the Managed Object name in Vmm for the inventory item.

InventoryType inventoryType()

Get the inventoryType property: They inventory type.

String managedResourceId()

Get the managedResourceId property: Gets the tracked resource id corresponding to the inventory resource.

ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
String uuid()

Get the uuid property: Gets the UUID (which is assigned by Vmm) for the inventory item.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

InventoryItemProperties

public InventoryItemProperties()

Creates an instance of InventoryItemProperties class.

Method Details

fromJson

public static InventoryItemProperties fromJson(JsonReader jsonReader)

Reads an instance of InventoryItemProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of InventoryItemProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the InventoryItemProperties.

inventoryItemName

public String inventoryItemName()

Get the inventoryItemName property: Gets the Managed Object name in Vmm for the inventory item.

Returns:

the inventoryItemName value.

inventoryType

public InventoryType inventoryType()

Get the inventoryType property: They inventory type.

Returns:

the inventoryType value.

managedResourceId

public String managedResourceId()

Get the managedResourceId property: Gets the tracked resource id corresponding to the inventory resource.

Returns:

the managedResourceId value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the resource.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

uuid

public String uuid()

Get the uuid property: Gets the UUID (which is assigned by Vmm) for the inventory item.

Returns:

the uuid value.

validate

public void validate()

Validates the instance.

Applies to