Class InventoryRecordSummary
Summary information about an inventory target.
Inherited Members
Namespace: Oci.FleetappsmanagementService.Models
Assembly: OCI.DotNetSDK.Fleetappsmanagement.dll
Syntax
public class InventoryRecordSummary
Properties
Architecture
Declaration
[Required(ErrorMessage = "Architecture is required.")]
[JsonProperty(PropertyName = "architecture")]
public string Architecture { get; set; }
Property Value
Type | Description |
---|---|
string | Architecture of the resource associated with the target |
Remarks
Required
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | OCID of the compartment to which the resource belongs to. |
Remarks
Required
Components
Declaration
[Required(ErrorMessage = "Components is required.")]
[JsonProperty(PropertyName = "components")]
public List<InventoryRecordComponent> Components { get; set; }
Property Value
Type | Description |
---|---|
List<InventoryRecordComponent> | List of target components |
Remarks
Required
InstalledPatches
Declaration
[Required(ErrorMessage = "InstalledPatches is required.")]
[JsonProperty(PropertyName = "installedPatches")]
public List<InventoryRecordPatchDetails> InstalledPatches { get; set; }
Property Value
Type | Description |
---|---|
List<InventoryRecordPatchDetails> | List of details on the patches currently installed on the target |
Remarks
Required
LifecycleState
Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(StringEnumConverter))]
public InventoryRecord.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
InventoryRecord.LifecycleStateEnum? | The current state of the Inventory target. |
OsType
Declaration
[Required(ErrorMessage = "OsType is required.")]
[JsonProperty(PropertyName = "osType")]
public string OsType { get; set; }
Property Value
Type | Description |
---|---|
string | OS installed on the resource associated with the target |
Remarks
Required
Properties
Declaration
[Required(ErrorMessage = "Properties is required.")]
[JsonProperty(PropertyName = "properties")]
public List<InventoryRecordProperty> Properties { get; set; }
Property Value
Type | Description |
---|---|
List<InventoryRecordProperty> | List of target properties |
Remarks
Required
TargetId
Declaration
[Required(ErrorMessage = "TargetId is required.")]
[JsonProperty(PropertyName = "targetId")]
public string TargetId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the Inventory target. |
Remarks
Required
TargetName
Declaration
[Required(ErrorMessage = "TargetName is required.")]
[JsonProperty(PropertyName = "targetName")]
public string TargetName { get; set; }
Property Value
Type | Description |
---|---|
string | Name of the target |
Remarks
Required
TargetProductId
Declaration
[JsonProperty(PropertyName = "targetProductId")]
public string TargetProductId { get; set; }
Property Value
Type | Description |
---|---|
string | OCID of the product installed at the target path |
TargetProductName
Declaration
[Required(ErrorMessage = "TargetProductName is required.")]
[JsonProperty(PropertyName = "targetProductName")]
public string TargetProductName { get; set; }
Property Value
Type | Description |
---|---|
string | Name of the product installed at the target path |
Remarks
Required
TargetResourceId
Declaration
[Required(ErrorMessage = "TargetResourceId is required.")]
[JsonProperty(PropertyName = "targetResourceId")]
public string TargetResourceId { get; set; }
Property Value
Type | Description |
---|---|
string | OCID of the resource associated with the target |
Remarks
Required
TargetResourceName
Declaration
[JsonProperty(PropertyName = "targetResourceName")]
public string TargetResourceName { get; set; }
Property Value
Type | Description |
---|---|
string | Name of the resource associated with the target |
TimeCreated
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time this resource was created. An RFC3339 formatted datetime string. |
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time this resource was last updated. An RFC3339 formatted datetime string. |
Version
Declaration
[Required(ErrorMessage = "Version is required.")]
[JsonProperty(PropertyName = "version")]
public string Version { get; set; }
Property Value
Type | Description |
---|---|
string | Version of the product on the target |
Remarks
Required