Show / Hide Table of Contents

Class MigrationAsset

Description of the migration asset.

Inheritance
object
MigrationAsset
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 MigrationAsset

Properties

AvailabilityDomain

Declaration
[Required(ErrorMessage = "AvailabilityDomain is required.")]
[JsonProperty(PropertyName = "availabilityDomain")]
public string AvailabilityDomain { get; set; }
Property Value
Type Description
string

Availability domain

Remarks

Required

CompartmentId

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

Compartment Identifier

DependedOnBy

Declaration
[JsonProperty(PropertyName = "dependedOnBy")]
public List<string> DependedOnBy { get; set; }
Property Value
Type Description
List<string>

List of migration assets that depend on the asset.

DependsOn

Declaration
[JsonProperty(PropertyName = "dependsOn")]
public List<string> DependsOn { get; set; }
Property Value
Type Description
List<string>

List of migration assets that depends on the asset.

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.

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

Asset ID generated by mirgration service. It is used in the mirgration service pipeline.

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 MigrationAsset.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
MigrationAsset.LifecycleStateEnum?

The current state of the migration asset.

Remarks

Required

MigrationId

Declaration
[Required(ErrorMessage = "MigrationId is required.")]
[JsonProperty(PropertyName = "migrationId")]
public string MigrationId { get; set; }
Property Value
Type Description
string

OCID of the associated migration.

Remarks

Required

Notifications

Declaration
[JsonProperty(PropertyName = "notifications", ItemConverterType = typeof(ResponseEnumConverter))]
public List<MigrationAsset.NotificationsEnum> Notifications { get; set; }
Property Value
Type Description
List<MigrationAsset.NotificationsEnum>

List of notifications

ParentSnapshot

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

The parent snapshot of the migration asset to be used by the replication task.

ReplicationCompartmentId

Declaration
[Required(ErrorMessage = "ReplicationCompartmentId is required.")]
[JsonProperty(PropertyName = "replicationCompartmentId")]
public string ReplicationCompartmentId { get; set; }
Property Value
Type Description
string

Replication compartment identifier

Remarks

Required

ReplicationScheduleId

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

Replication schedule identifier

SnapShotBucketName

Declaration
[Required(ErrorMessage = "SnapShotBucketName is required.")]
[JsonProperty(PropertyName = "snapShotBucketName")]
public string SnapShotBucketName { get; set; }
Property Value
Type Description
string

Name of snapshot bucket

Remarks

Required

Snapshots

Declaration
[JsonProperty(PropertyName = "snapshots")]
public Dictionary<string, HydratedVolume> Snapshots { get; set; }
Property Value
Type Description
Dictionary<string, HydratedVolume>

Key-value pair representing disks ID mapped to the OCIDs of replicated or hydration server volume snapshots. Example: {"bar-key": "value"}

SourceAssetData

Declaration
[JsonProperty(PropertyName = "sourceAssetData")]
public Dictionary<string, object> SourceAssetData { get; set; }
Property Value
Type Description
Dictionary<string, object>

Key-value pair representing asset metadata keys and values scoped to a namespace. Example: {"bar-key": "value"}

SourceAssetId

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

OCID that is referenced to an asset for an inventory.

TenancyId

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

Tenancy identifier

TimeCreated

Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

The time when the migration asset was created. An RFC3339 formatted datetime string.

Remarks

Required

TimeUpdated

Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type Description
DateTime?

The time when the migration asset was updated. An RFC3339 formatted datetime string.

Type

Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
public string Type { get; set; }
Property Value
Type Description
string

The type of asset referenced for inventory.

Remarks

Required

In this article
Back to top