Class AssetSummary
Summary of the asset.
Inherited Members
Namespace: Oci.CloudbridgeService.Models
Assembly: OCI.DotNetSDK.Cloudbridge.dll
Syntax
public class AssetSummary
Properties
AssetSourceIds
Declaration
[JsonProperty(PropertyName = "assetSourceIds")]
public List<string> AssetSourceIds { get; set; }
Property Value
Type | Description |
---|---|
List<string> | List of asset source OCID. |
AssetType
Declaration
[Required(ErrorMessage = "AssetType is required.")]
[JsonProperty(PropertyName = "assetType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public AssetType? AssetType { get; set; }
Property Value
Type | Description |
---|---|
AssetType? | The type of asset. |
Remarks
Required
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment that the asset belongs to. |
Remarks
Required
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {"Operations": {"CostCenter": "42"}} |
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | Asset display name. |
ExternalAssetKey
Declaration
[Required(ErrorMessage = "ExternalAssetKey is required.")]
[JsonProperty(PropertyName = "externalAssetKey")]
public string ExternalAssetKey { get; set; }
Property Value
Type | Description |
---|---|
string | The key of the asset from the external environment. |
Remarks
Required
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {"Department": "Finance"} |
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | Asset OCID that is immutable on creation. |
Remarks
Required
InventoryId
Declaration
[Required(ErrorMessage = "InventoryId is required.")]
[JsonProperty(PropertyName = "inventoryId")]
public string InventoryId { get; set; }
Property Value
Type | Description |
---|---|
string | Inventory ID that the asset belongs to. |
Remarks
Required
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Asset.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
Asset.LifecycleStateEnum? | The current state of the asset. |
Remarks
Required
SourceKey
Declaration
[Required(ErrorMessage = "SourceKey is required.")]
[JsonProperty(PropertyName = "sourceKey")]
public string SourceKey { get; set; }
Property Value
Type | Description |
---|---|
string | The source key to which the asset belongs. |
Remarks
Required
SystemTags
Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}} |
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time when the asset was created. An RFC3339 formatted datetime string. |
Remarks
Required
TimeUpdated
Declaration
[Required(ErrorMessage = "TimeUpdated is required.")]
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time when the asset was updated. An RFC3339 formatted datetime string. |
Remarks
Required