Class TargetAssetSummary
Summary of the target asset.
Inherited Members
Namespace: Oci.CloudmigrationsService.Models
Assembly: OCI.DotNetSDK.Cloudmigrations.dll
Syntax
[JsonConverter(typeof(TargetAssetSummaryModelConverter))]
public class TargetAssetSummary
Properties
CompartmentId
Declaration
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | Compartment identifier |
CompatibilityMessages
Declaration
[JsonProperty(PropertyName = "compatibilityMessages")]
public List<CompatibilityMessage> CompatibilityMessages { get; set; }
Property Value
Type | Description |
---|---|
List<CompatibilityMessage> | Messages about compatibility issues. |
CreatedResourceId
Declaration
[JsonProperty(PropertyName = "createdResourceId")]
public string CreatedResourceId { get; set; }
Property Value
Type | Description |
---|---|
string | Created resource identifier |
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. |
EstimatedCost
Declaration
[Required(ErrorMessage = "EstimatedCost is required.")]
[JsonProperty(PropertyName = "estimatedCost")]
public CostEstimation EstimatedCost { get; set; }
Property Value
Type | Description |
---|---|
CostEstimation |
Remarks
Required
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | Unique identifier that is immutable on creation. |
Remarks
Required
IsExcludedFromExecution
Declaration
[Required(ErrorMessage = "IsExcludedFromExecution is required.")]
[JsonProperty(PropertyName = "isExcludedFromExecution")]
public bool? IsExcludedFromExecution { get; set; }
Property Value
Type | Description |
---|---|
bool? | A boolean indicating whether the asset should be migrated. |
Remarks
Required
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
Type | Description |
---|---|
string | A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state. |
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public TargetAsset.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
TargetAsset.LifecycleStateEnum? | The current state of the target asset. |
Remarks
Required
MigrationAsset
Declaration
[JsonProperty(PropertyName = "migrationAsset")]
public MigrationAssetSummary MigrationAsset { get; set; }
Property Value
Type | Description |
---|---|
MigrationAssetSummary |
MigrationPlanId
Declaration
[Required(ErrorMessage = "MigrationPlanId is required.")]
[JsonProperty(PropertyName = "migrationPlanId")]
public string MigrationPlanId { get; set; }
Property Value
Type | Description |
---|---|
string | OCID of the associated migration plan. |
Remarks
Required
TimeAssessed
Declaration
[Required(ErrorMessage = "TimeAssessed is required.")]
[JsonProperty(PropertyName = "timeAssessed")]
public DateTime? TimeAssessed { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time when the assessment was done. An RFC3339 formatted datetime string. |
Remarks
Required
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time when the target 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 target asset was updated. An RFC3339 formatted datetime string. |
Remarks
Required