1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. CloudMigrations
  5. MigrationAsset
Oracle Cloud Infrastructure v1.37.0 published on Friday, May 24, 2024 by Pulumi

oci.CloudMigrations.MigrationAsset

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.37.0 published on Friday, May 24, 2024 by Pulumi

    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.

    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

    The MigrationAsset resource accepts the following input properties:

    AvailabilityDomain string
    Availability domain
    InventoryAssetId string
    OCID of an asset for an inventory.
    MigrationId string
    OCID of the associated migration.
    ReplicationCompartmentId string
    Replication compartment identifier
    SnapShotBucketName string

    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.
    MigrationAssetDependsOns List<string>
    ReplicationScheduleId string
    (Updatable) Replication schedule identifier
    AvailabilityDomain string
    Availability domain
    InventoryAssetId string
    OCID of an asset for an inventory.
    MigrationId string
    OCID of the associated migration.
    ReplicationCompartmentId string
    Replication compartment identifier
    SnapShotBucketName string

    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.
    MigrationAssetDependsOns []string
    ReplicationScheduleId string
    (Updatable) Replication schedule identifier
    availabilityDomain String
    Availability domain
    inventoryAssetId String
    OCID of an asset for an inventory.
    migrationId String
    OCID of the associated migration.
    replicationCompartmentId String
    Replication compartment identifier
    snapShotBucketName String

    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.
    migrationAssetDependsOns List<String>
    replicationScheduleId String
    (Updatable) Replication schedule identifier
    availabilityDomain string
    Availability domain
    inventoryAssetId string
    OCID of an asset for an inventory.
    migrationId string
    OCID of the associated migration.
    replicationCompartmentId string
    Replication compartment identifier
    snapShotBucketName string

    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.
    migrationAssetDependsOns string[]
    replicationScheduleId string
    (Updatable) Replication schedule identifier
    availability_domain str
    Availability domain
    inventory_asset_id str
    OCID of an asset for an inventory.
    migration_id str
    OCID of the associated migration.
    replication_compartment_id str
    Replication compartment identifier
    snap_shot_bucket_name str

    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_depends_ons Sequence[str]
    replication_schedule_id str
    (Updatable) Replication schedule identifier
    availabilityDomain String
    Availability domain
    inventoryAssetId String
    OCID of an asset for an inventory.
    migrationId String
    OCID of the associated migration.
    replicationCompartmentId String
    Replication compartment identifier
    snapShotBucketName String

    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.
    migrationAssetDependsOns List<String>
    replicationScheduleId String
    (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
    DependedOnBies List<string>
    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, object>
    Key-value pair representing disks ID mapped to the OCIDs of replicated or hydration server volume snapshots. Example: {"bar-key": "value"}
    SourceAssetId string
    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
    DependedOnBies []string
    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]interface{}
    Key-value pair representing disks ID mapped to the OCIDs of replicated or hydration server volume snapshots. Example: {"bar-key": "value"}
    SourceAssetId string
    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
    dependedOnBies List<String>
    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,Object>
    Key-value pair representing disks ID mapped to the OCIDs of replicated or hydration server volume snapshots. Example: {"bar-key": "value"}
    sourceAssetId String
    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
    dependedOnBies string[]
    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]: any}
    Key-value pair representing disks ID mapped to the OCIDs of replicated or hydration server volume snapshots. Example: {"bar-key": "value"}
    sourceAssetId string
    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_bies Sequence[str]
    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, Any]
    Key-value pair representing disks ID mapped to the OCIDs of replicated or hydration server volume snapshots. Example: {"bar-key": "value"}
    source_asset_id str
    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
    dependedOnBies List<String>
    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<Any>
    Key-value pair representing disks ID mapped to the OCIDs of replicated or hydration server volume snapshots. Example: {"bar-key": "value"}
    sourceAssetId String
    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, Any]] = 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) -> MigrationAsset
    func 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)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    AvailabilityDomain string
    Availability domain
    CompartmentId string
    Compartment Identifier
    DependedOnBies List<string>
    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.
    InventoryAssetId string
    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.
    MigrationAssetDependsOns List<string>
    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.
    ReplicationCompartmentId string
    Replication compartment identifier
    ReplicationScheduleId string
    (Updatable) Replication schedule identifier
    SnapShotBucketName string

    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, object>
    Key-value pair representing disks ID mapped to the OCIDs of replicated or hydration server volume snapshots. Example: {"bar-key": "value"}
    SourceAssetId string
    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
    DependedOnBies []string
    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.
    InventoryAssetId string
    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.
    MigrationAssetDependsOns []string
    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.
    ReplicationCompartmentId string
    Replication compartment identifier
    ReplicationScheduleId string
    (Updatable) Replication schedule identifier
    SnapShotBucketName string

    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]interface{}
    Key-value pair representing disks ID mapped to the OCIDs of replicated or hydration server volume snapshots. Example: {"bar-key": "value"}
    SourceAssetId string
    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
    dependedOnBies List<String>
    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.
    inventoryAssetId String
    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.
    migrationAssetDependsOns List<String>
    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.
    replicationCompartmentId String
    Replication compartment identifier
    replicationScheduleId String
    (Updatable) Replication schedule identifier
    snapShotBucketName String

    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,Object>
    Key-value pair representing disks ID mapped to the OCIDs of replicated or hydration server volume snapshots. Example: {"bar-key": "value"}
    sourceAssetId String
    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
    dependedOnBies string[]
    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.
    inventoryAssetId string
    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.
    migrationAssetDependsOns string[]
    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.
    replicationCompartmentId string
    Replication compartment identifier
    replicationScheduleId string
    (Updatable) Replication schedule identifier
    snapShotBucketName string

    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]: any}
    Key-value pair representing disks ID mapped to the OCIDs of replicated or hydration server volume snapshots. Example: {"bar-key": "value"}
    sourceAssetId string
    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_bies Sequence[str]
    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_id str
    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_depends_ons Sequence[str]
    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_id str
    Replication compartment identifier
    replication_schedule_id str
    (Updatable) Replication schedule identifier
    snap_shot_bucket_name str

    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, Any]
    Key-value pair representing disks ID mapped to the OCIDs of replicated or hydration server volume snapshots. Example: {"bar-key": "value"}
    source_asset_id str
    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
    dependedOnBies List<String>
    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.
    inventoryAssetId String
    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.
    migrationAssetDependsOns List<String>
    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.
    replicationCompartmentId String
    Replication compartment identifier
    replicationScheduleId String
    (Updatable) Replication schedule identifier
    snapShotBucketName String

    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<Any>
    Key-value pair representing disks ID mapped to the OCIDs of replicated or hydration server volume snapshots. Example: {"bar-key": "value"}
    sourceAssetId String
    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 oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.37.0 published on Friday, May 24, 2024 by Pulumi