oci.CloudMigrations.MigrationAsset
Explore with Pulumi AI
This resource provides the Migration Asset resource in Oracle Cloud Infrastructure Cloud Migrations service.
Creates a migration asset.
Create MigrationAsset Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MigrationAsset(name: string, args: MigrationAssetArgs, opts?: CustomResourceOptions);@overload
def MigrationAsset(resource_name: str,
                   args: MigrationAssetArgs,
                   opts: Optional[ResourceOptions] = None)
@overload
def MigrationAsset(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   availability_domain: Optional[str] = None,
                   inventory_asset_id: Optional[str] = None,
                   migration_id: Optional[str] = None,
                   replication_compartment_id: Optional[str] = None,
                   snap_shot_bucket_name: Optional[str] = None,
                   display_name: Optional[str] = None,
                   migration_asset_depends_ons: Optional[Sequence[str]] = None,
                   replication_schedule_id: Optional[str] = None)func NewMigrationAsset(ctx *Context, name string, args MigrationAssetArgs, opts ...ResourceOption) (*MigrationAsset, error)public MigrationAsset(string name, MigrationAssetArgs args, CustomResourceOptions? opts = null)
public MigrationAsset(String name, MigrationAssetArgs args)
public MigrationAsset(String name, MigrationAssetArgs args, CustomResourceOptions options)
type: oci:CloudMigrations:MigrationAsset
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args MigrationAssetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args MigrationAssetArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args MigrationAssetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MigrationAssetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MigrationAssetArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var migrationAssetResource = new Oci.CloudMigrations.MigrationAsset("migrationAssetResource", new()
{
    AvailabilityDomain = "string",
    InventoryAssetId = "string",
    MigrationId = "string",
    ReplicationCompartmentId = "string",
    SnapShotBucketName = "string",
    DisplayName = "string",
    MigrationAssetDependsOns = new[]
    {
        "string",
    },
    ReplicationScheduleId = "string",
});
example, err := cloudmigrations.NewMigrationAsset(ctx, "migrationAssetResource", &cloudmigrations.MigrationAssetArgs{
	AvailabilityDomain:       pulumi.String("string"),
	InventoryAssetId:         pulumi.String("string"),
	MigrationId:              pulumi.String("string"),
	ReplicationCompartmentId: pulumi.String("string"),
	SnapShotBucketName:       pulumi.String("string"),
	DisplayName:              pulumi.String("string"),
	MigrationAssetDependsOns: pulumi.StringArray{
		pulumi.String("string"),
	},
	ReplicationScheduleId: pulumi.String("string"),
})
var migrationAssetResource = new MigrationAsset("migrationAssetResource", MigrationAssetArgs.builder()
    .availabilityDomain("string")
    .inventoryAssetId("string")
    .migrationId("string")
    .replicationCompartmentId("string")
    .snapShotBucketName("string")
    .displayName("string")
    .migrationAssetDependsOns("string")
    .replicationScheduleId("string")
    .build());
migration_asset_resource = oci.cloud_migrations.MigrationAsset("migrationAssetResource",
    availability_domain="string",
    inventory_asset_id="string",
    migration_id="string",
    replication_compartment_id="string",
    snap_shot_bucket_name="string",
    display_name="string",
    migration_asset_depends_ons=["string"],
    replication_schedule_id="string")
const migrationAssetResource = new oci.cloudmigrations.MigrationAsset("migrationAssetResource", {
    availabilityDomain: "string",
    inventoryAssetId: "string",
    migrationId: "string",
    replicationCompartmentId: "string",
    snapShotBucketName: "string",
    displayName: "string",
    migrationAssetDependsOns: ["string"],
    replicationScheduleId: "string",
});
type: oci:CloudMigrations:MigrationAsset
properties:
    availabilityDomain: string
    displayName: string
    inventoryAssetId: string
    migrationAssetDependsOns:
        - string
    migrationId: string
    replicationCompartmentId: string
    replicationScheduleId: string
    snapShotBucketName: string
MigrationAsset Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The MigrationAsset resource accepts the following input properties:
- AvailabilityDomain string
- Availability domain
- InventoryAsset stringId 
- OCID of an asset for an inventory.
- MigrationId string
- OCID of the associated migration.
- ReplicationCompartment stringId 
- Replication compartment identifier
- SnapShot stringBucket Name 
- Name of snapshot bucket - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- DisplayName string
- (Updatable) A user-friendly name. If empty, then source asset name will be used. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- MigrationAsset List<string>Depends Ons 
- ReplicationSchedule stringId 
- (Updatable) Replication schedule identifier
- AvailabilityDomain string
- Availability domain
- InventoryAsset stringId 
- OCID of an asset for an inventory.
- MigrationId string
- OCID of the associated migration.
- ReplicationCompartment stringId 
- Replication compartment identifier
- SnapShot stringBucket Name 
- Name of snapshot bucket - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- DisplayName string
- (Updatable) A user-friendly name. If empty, then source asset name will be used. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- MigrationAsset []stringDepends Ons 
- ReplicationSchedule stringId 
- (Updatable) Replication schedule identifier
- availabilityDomain String
- Availability domain
- inventoryAsset StringId 
- OCID of an asset for an inventory.
- migrationId String
- OCID of the associated migration.
- replicationCompartment StringId 
- Replication compartment identifier
- snapShot StringBucket Name 
- Name of snapshot bucket - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- displayName String
- (Updatable) A user-friendly name. If empty, then source asset name will be used. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- migrationAsset List<String>Depends Ons 
- replicationSchedule StringId 
- (Updatable) Replication schedule identifier
- availabilityDomain string
- Availability domain
- inventoryAsset stringId 
- OCID of an asset for an inventory.
- migrationId string
- OCID of the associated migration.
- replicationCompartment stringId 
- Replication compartment identifier
- snapShot stringBucket Name 
- Name of snapshot bucket - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- displayName string
- (Updatable) A user-friendly name. If empty, then source asset name will be used. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- migrationAsset string[]Depends Ons 
- replicationSchedule stringId 
- (Updatable) Replication schedule identifier
- availability_domain str
- Availability domain
- inventory_asset_ strid 
- OCID of an asset for an inventory.
- migration_id str
- OCID of the associated migration.
- replication_compartment_ strid 
- Replication compartment identifier
- snap_shot_ strbucket_ name 
- Name of snapshot bucket - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- display_name str
- (Updatable) A user-friendly name. If empty, then source asset name will be used. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- migration_asset_ Sequence[str]depends_ ons 
- replication_schedule_ strid 
- (Updatable) Replication schedule identifier
- availabilityDomain String
- Availability domain
- inventoryAsset StringId 
- OCID of an asset for an inventory.
- migrationId String
- OCID of the associated migration.
- replicationCompartment StringId 
- Replication compartment identifier
- snapShot StringBucket Name 
- Name of snapshot bucket - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- displayName String
- (Updatable) A user-friendly name. If empty, then source asset name will be used. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- migrationAsset List<String>Depends Ons 
- replicationSchedule StringId 
- (Updatable) Replication schedule identifier
Outputs
All input properties are implicitly available as output properties. Additionally, the MigrationAsset resource produces the following output properties:
- CompartmentId string
- Compartment Identifier
- DependedOn List<string>Bies 
- List of migration assets that depend on the asset.
- Id string
- The provider-assigned unique ID for this managed resource.
- LifecycleDetails 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.
- Notifications List<string>
- List of notifications
- ParentSnapshot string
- The parent snapshot of the migration asset to be used by the replication task.
- Snapshots Dictionary<string, string>
- Key-value pair representing disks ID mapped to the OCIDs of replicated or hydration server volume snapshots. Example: {"bar-key": "value"}
- SourceAsset stringId 
- OCID that is referenced to an asset for an inventory.
- State string
- The current state of the migration asset.
- TenancyId string
- Tenancy identifier
- TimeCreated string
- The time when the migration asset was created. An RFC3339 formatted datetime string.
- TimeUpdated string
- The time when the migration asset was updated. An RFC3339 formatted datetime string.
- Type string
- The type of asset referenced for inventory.
- CompartmentId string
- Compartment Identifier
- DependedOn []stringBies 
- List of migration assets that depend on the asset.
- Id string
- The provider-assigned unique ID for this managed resource.
- LifecycleDetails 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.
- Notifications []string
- List of notifications
- ParentSnapshot string
- The parent snapshot of the migration asset to be used by the replication task.
- Snapshots map[string]string
- Key-value pair representing disks ID mapped to the OCIDs of replicated or hydration server volume snapshots. Example: {"bar-key": "value"}
- SourceAsset stringId 
- OCID that is referenced to an asset for an inventory.
- State string
- The current state of the migration asset.
- TenancyId string
- Tenancy identifier
- TimeCreated string
- The time when the migration asset was created. An RFC3339 formatted datetime string.
- TimeUpdated string
- The time when the migration asset was updated. An RFC3339 formatted datetime string.
- Type string
- The type of asset referenced for inventory.
- compartmentId String
- Compartment Identifier
- dependedOn List<String>Bies 
- List of migration assets that depend on the asset.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycleDetails 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.
- notifications List<String>
- List of notifications
- parentSnapshot String
- The parent snapshot of the migration asset to be used by the replication task.
- snapshots Map<String,String>
- Key-value pair representing disks ID mapped to the OCIDs of replicated or hydration server volume snapshots. Example: {"bar-key": "value"}
- sourceAsset StringId 
- OCID that is referenced to an asset for an inventory.
- state String
- The current state of the migration asset.
- tenancyId String
- Tenancy identifier
- timeCreated String
- The time when the migration asset was created. An RFC3339 formatted datetime string.
- timeUpdated String
- The time when the migration asset was updated. An RFC3339 formatted datetime string.
- type String
- The type of asset referenced for inventory.
- compartmentId string
- Compartment Identifier
- dependedOn string[]Bies 
- List of migration assets that depend on the asset.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycleDetails 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.
- notifications string[]
- List of notifications
- parentSnapshot string
- The parent snapshot of the migration asset to be used by the replication task.
- snapshots {[key: string]: string}
- Key-value pair representing disks ID mapped to the OCIDs of replicated or hydration server volume snapshots. Example: {"bar-key": "value"}
- sourceAsset stringId 
- OCID that is referenced to an asset for an inventory.
- state string
- The current state of the migration asset.
- tenancyId string
- Tenancy identifier
- timeCreated string
- The time when the migration asset was created. An RFC3339 formatted datetime string.
- timeUpdated string
- The time when the migration asset was updated. An RFC3339 formatted datetime string.
- type string
- The type of asset referenced for inventory.
- compartment_id str
- Compartment Identifier
- depended_on_ Sequence[str]bies 
- List of migration assets that depend on the asset.
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_details str
- 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.
- notifications Sequence[str]
- List of notifications
- parent_snapshot str
- The parent snapshot of the migration asset to be used by the replication task.
- snapshots Mapping[str, str]
- Key-value pair representing disks ID mapped to the OCIDs of replicated or hydration server volume snapshots. Example: {"bar-key": "value"}
- source_asset_ strid 
- OCID that is referenced to an asset for an inventory.
- state str
- The current state of the migration asset.
- tenancy_id str
- Tenancy identifier
- time_created str
- The time when the migration asset was created. An RFC3339 formatted datetime string.
- time_updated str
- The time when the migration asset was updated. An RFC3339 formatted datetime string.
- type str
- The type of asset referenced for inventory.
- compartmentId String
- Compartment Identifier
- dependedOn List<String>Bies 
- List of migration assets that depend on the asset.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycleDetails 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.
- notifications List<String>
- List of notifications
- parentSnapshot String
- The parent snapshot of the migration asset to be used by the replication task.
- snapshots Map<String>
- Key-value pair representing disks ID mapped to the OCIDs of replicated or hydration server volume snapshots. Example: {"bar-key": "value"}
- sourceAsset StringId 
- OCID that is referenced to an asset for an inventory.
- state String
- The current state of the migration asset.
- tenancyId String
- Tenancy identifier
- timeCreated String
- The time when the migration asset was created. An RFC3339 formatted datetime string.
- timeUpdated String
- The time when the migration asset was updated. An RFC3339 formatted datetime string.
- type String
- The type of asset referenced for inventory.
Look up Existing MigrationAsset Resource
Get an existing MigrationAsset resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: MigrationAssetState, opts?: CustomResourceOptions): MigrationAsset@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        availability_domain: Optional[str] = None,
        compartment_id: Optional[str] = None,
        depended_on_bies: Optional[Sequence[str]] = None,
        display_name: Optional[str] = None,
        inventory_asset_id: Optional[str] = None,
        lifecycle_details: Optional[str] = None,
        migration_asset_depends_ons: Optional[Sequence[str]] = None,
        migration_id: Optional[str] = None,
        notifications: Optional[Sequence[str]] = None,
        parent_snapshot: Optional[str] = None,
        replication_compartment_id: Optional[str] = None,
        replication_schedule_id: Optional[str] = None,
        snap_shot_bucket_name: Optional[str] = None,
        snapshots: Optional[Mapping[str, str]] = None,
        source_asset_id: Optional[str] = None,
        state: Optional[str] = None,
        tenancy_id: Optional[str] = None,
        time_created: Optional[str] = None,
        time_updated: Optional[str] = None,
        type: Optional[str] = None) -> MigrationAssetfunc GetMigrationAsset(ctx *Context, name string, id IDInput, state *MigrationAssetState, opts ...ResourceOption) (*MigrationAsset, error)public static MigrationAsset Get(string name, Input<string> id, MigrationAssetState? state, CustomResourceOptions? opts = null)public static MigrationAsset get(String name, Output<String> id, MigrationAssetState state, CustomResourceOptions options)resources:  _:    type: oci:CloudMigrations:MigrationAsset    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- AvailabilityDomain string
- Availability domain
- CompartmentId string
- Compartment Identifier
- DependedOn List<string>Bies 
- List of migration assets that depend on the asset.
- DisplayName string
- (Updatable) A user-friendly name. If empty, then source asset name will be used. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- InventoryAsset stringId 
- OCID of an asset for an inventory.
- LifecycleDetails 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.
- MigrationAsset List<string>Depends Ons 
- MigrationId string
- OCID of the associated migration.
- Notifications List<string>
- List of notifications
- ParentSnapshot string
- The parent snapshot of the migration asset to be used by the replication task.
- ReplicationCompartment stringId 
- Replication compartment identifier
- ReplicationSchedule stringId 
- (Updatable) Replication schedule identifier
- SnapShot stringBucket Name 
- Name of snapshot bucket - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- Snapshots Dictionary<string, string>
- Key-value pair representing disks ID mapped to the OCIDs of replicated or hydration server volume snapshots. Example: {"bar-key": "value"}
- SourceAsset stringId 
- OCID that is referenced to an asset for an inventory.
- State string
- The current state of the migration asset.
- TenancyId string
- Tenancy identifier
- TimeCreated string
- The time when the migration asset was created. An RFC3339 formatted datetime string.
- TimeUpdated string
- The time when the migration asset was updated. An RFC3339 formatted datetime string.
- Type string
- The type of asset referenced for inventory.
- AvailabilityDomain string
- Availability domain
- CompartmentId string
- Compartment Identifier
- DependedOn []stringBies 
- List of migration assets that depend on the asset.
- DisplayName string
- (Updatable) A user-friendly name. If empty, then source asset name will be used. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- InventoryAsset stringId 
- OCID of an asset for an inventory.
- LifecycleDetails 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.
- MigrationAsset []stringDepends Ons 
- MigrationId string
- OCID of the associated migration.
- Notifications []string
- List of notifications
- ParentSnapshot string
- The parent snapshot of the migration asset to be used by the replication task.
- ReplicationCompartment stringId 
- Replication compartment identifier
- ReplicationSchedule stringId 
- (Updatable) Replication schedule identifier
- SnapShot stringBucket Name 
- Name of snapshot bucket - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- Snapshots map[string]string
- Key-value pair representing disks ID mapped to the OCIDs of replicated or hydration server volume snapshots. Example: {"bar-key": "value"}
- SourceAsset stringId 
- OCID that is referenced to an asset for an inventory.
- State string
- The current state of the migration asset.
- TenancyId string
- Tenancy identifier
- TimeCreated string
- The time when the migration asset was created. An RFC3339 formatted datetime string.
- TimeUpdated string
- The time when the migration asset was updated. An RFC3339 formatted datetime string.
- Type string
- The type of asset referenced for inventory.
- availabilityDomain String
- Availability domain
- compartmentId String
- Compartment Identifier
- dependedOn List<String>Bies 
- List of migration assets that depend on the asset.
- displayName String
- (Updatable) A user-friendly name. If empty, then source asset name will be used. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- inventoryAsset StringId 
- OCID of an asset for an inventory.
- lifecycleDetails 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.
- migrationAsset List<String>Depends Ons 
- migrationId String
- OCID of the associated migration.
- notifications List<String>
- List of notifications
- parentSnapshot String
- The parent snapshot of the migration asset to be used by the replication task.
- replicationCompartment StringId 
- Replication compartment identifier
- replicationSchedule StringId 
- (Updatable) Replication schedule identifier
- snapShot StringBucket Name 
- Name of snapshot bucket - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- snapshots Map<String,String>
- Key-value pair representing disks ID mapped to the OCIDs of replicated or hydration server volume snapshots. Example: {"bar-key": "value"}
- sourceAsset StringId 
- OCID that is referenced to an asset for an inventory.
- state String
- The current state of the migration asset.
- tenancyId String
- Tenancy identifier
- timeCreated String
- The time when the migration asset was created. An RFC3339 formatted datetime string.
- timeUpdated String
- The time when the migration asset was updated. An RFC3339 formatted datetime string.
- type String
- The type of asset referenced for inventory.
- availabilityDomain string
- Availability domain
- compartmentId string
- Compartment Identifier
- dependedOn string[]Bies 
- List of migration assets that depend on the asset.
- displayName string
- (Updatable) A user-friendly name. If empty, then source asset name will be used. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- inventoryAsset stringId 
- OCID of an asset for an inventory.
- lifecycleDetails 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.
- migrationAsset string[]Depends Ons 
- migrationId string
- OCID of the associated migration.
- notifications string[]
- List of notifications
- parentSnapshot string
- The parent snapshot of the migration asset to be used by the replication task.
- replicationCompartment stringId 
- Replication compartment identifier
- replicationSchedule stringId 
- (Updatable) Replication schedule identifier
- snapShot stringBucket Name 
- Name of snapshot bucket - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- snapshots {[key: string]: string}
- Key-value pair representing disks ID mapped to the OCIDs of replicated or hydration server volume snapshots. Example: {"bar-key": "value"}
- sourceAsset stringId 
- OCID that is referenced to an asset for an inventory.
- state string
- The current state of the migration asset.
- tenancyId string
- Tenancy identifier
- timeCreated string
- The time when the migration asset was created. An RFC3339 formatted datetime string.
- timeUpdated string
- The time when the migration asset was updated. An RFC3339 formatted datetime string.
- type string
- The type of asset referenced for inventory.
- availability_domain str
- Availability domain
- compartment_id str
- Compartment Identifier
- depended_on_ Sequence[str]bies 
- List of migration assets that depend on the asset.
- display_name str
- (Updatable) A user-friendly name. If empty, then source asset name will be used. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- inventory_asset_ strid 
- OCID of an asset for an inventory.
- lifecycle_details str
- 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.
- migration_asset_ Sequence[str]depends_ ons 
- migration_id str
- OCID of the associated migration.
- notifications Sequence[str]
- List of notifications
- parent_snapshot str
- The parent snapshot of the migration asset to be used by the replication task.
- replication_compartment_ strid 
- Replication compartment identifier
- replication_schedule_ strid 
- (Updatable) Replication schedule identifier
- snap_shot_ strbucket_ name 
- Name of snapshot bucket - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- snapshots Mapping[str, str]
- Key-value pair representing disks ID mapped to the OCIDs of replicated or hydration server volume snapshots. Example: {"bar-key": "value"}
- source_asset_ strid 
- OCID that is referenced to an asset for an inventory.
- state str
- The current state of the migration asset.
- tenancy_id str
- Tenancy identifier
- time_created str
- The time when the migration asset was created. An RFC3339 formatted datetime string.
- time_updated str
- The time when the migration asset was updated. An RFC3339 formatted datetime string.
- type str
- The type of asset referenced for inventory.
- availabilityDomain String
- Availability domain
- compartmentId String
- Compartment Identifier
- dependedOn List<String>Bies 
- List of migration assets that depend on the asset.
- displayName String
- (Updatable) A user-friendly name. If empty, then source asset name will be used. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- inventoryAsset StringId 
- OCID of an asset for an inventory.
- lifecycleDetails 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.
- migrationAsset List<String>Depends Ons 
- migrationId String
- OCID of the associated migration.
- notifications List<String>
- List of notifications
- parentSnapshot String
- The parent snapshot of the migration asset to be used by the replication task.
- replicationCompartment StringId 
- Replication compartment identifier
- replicationSchedule StringId 
- (Updatable) Replication schedule identifier
- snapShot StringBucket Name 
- Name of snapshot bucket - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- snapshots Map<String>
- Key-value pair representing disks ID mapped to the OCIDs of replicated or hydration server volume snapshots. Example: {"bar-key": "value"}
- sourceAsset StringId 
- OCID that is referenced to an asset for an inventory.
- state String
- The current state of the migration asset.
- tenancyId String
- Tenancy identifier
- timeCreated String
- The time when the migration asset was created. An RFC3339 formatted datetime string.
- timeUpdated String
- The time when the migration asset was updated. An RFC3339 formatted datetime string.
- type String
- The type of asset referenced for inventory.
Import
MigrationAssets can be imported using the id, e.g.
$ pulumi import oci:CloudMigrations/migrationAsset:MigrationAsset test_migration_asset "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.