Show / Hide Table of Contents

Class AssetSummary

Summary of the asset.

Inheritance
object
AssetSummary
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.CloudmigrationsService.Models
Assembly: OCI.DotNetSDK.Cloudmigrations.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(StringEnumConverter))]
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>>

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace": {"bar-key": "value"}}

DisplayName

Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

Asset display name.

EnvironmentType

Declaration
[JsonProperty(PropertyName = "environmentType")]
[JsonConverter(typeof(StringEnumConverter))]
public EnvironmentType? EnvironmentType { get; set; }
Property Value
Type Description
EnvironmentType?

Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.

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>

Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility. Example: {"bar-key": "value"}

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(StringEnumConverter))]
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>>

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "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

In this article
Back to top