InventoryItemInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. scvmm. fluent. models. InventoryItemInner
- com.
- com.
public final class InventoryItemInner
extends ProxyResource
Defines the inventory item.
Constructor Summary
| Constructor | Description |
|---|---|
| InventoryItemInner() |
Creates an instance of Inventory |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Inventory |
fromJson(JsonReader jsonReader)
Reads an instance of Inventory |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
kind()
Get the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e. |
| String |
name()
Get the name property: The name of the resource. |
|
Inventory |
properties()
Get the properties property: The resource-specific properties for this resource. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Inventory |
withKind(String kind)
Set the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e. |
|
Inventory |
withProperties(InventoryItemProperties properties)
Set the properties property: The resource-specific properties for this resource. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
InventoryItemInner
public InventoryItemInner()
Creates an instance of InventoryItemInner class.
Method Details
fromJson
public static InventoryItemInner fromJson(JsonReader jsonReader)
Reads an instance of InventoryItemInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
InventoryItemInner.id()Returns:
kind
public String kind()
Get the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
InventoryItemInner.name()Returns:
properties
public InventoryItemProperties properties()
Get the properties property: The resource-specific properties for this resource.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
InventoryItemInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
InventoryItemInner.type()Returns:
validate
public void validate()
Validates the instance.
withKind
public InventoryItemInner withKind(String kind)
Set the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
Parameters:
Returns:
withProperties
public InventoryItemInner withProperties(InventoryItemProperties properties)
Set the properties property: The resource-specific properties for this resource.
Parameters:
Returns: