ReplicationLocationDetail¶
- class oci.cloud_migrations.models.ReplicationLocationDetail(**kwargs)¶
Bases:
objectReplication location detail where the snapshots reside
Attributes:
A constant which can be used with the replication_location_type property of a ReplicationLocationDetail.
A constant which can be used with the replication_location_type property of a ReplicationLocationDetail.
Gets the metadata of this ReplicationLocationDetail.
Gets the replication_location_type of this ReplicationLocationDetail.
Methods:
__init__(**kwargs)Initializes a new ReplicationLocationDetail object with values from keyword arguments.
- REPLICATION_LOCATION_TYPE_OCI_OBJECT_STORE = 'OCI_OBJECT_STORE'¶
A constant which can be used with the replication_location_type property of a ReplicationLocationDetail. This constant has a value of “OCI_OBJECT_STORE”
- REPLICATION_LOCATION_TYPE_OLVM_STORAGE_DOMAIN = 'OLVM_STORAGE_DOMAIN'¶
A constant which can be used with the replication_location_type property of a ReplicationLocationDetail. This constant has a value of “OLVM_STORAGE_DOMAIN”
- __init__(**kwargs)¶
Initializes a new ReplicationLocationDetail object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
replication_location_type (str) – The value to assign to the replication_location_type property of this ReplicationLocationDetail. Allowed values for this property are: “OCI_OBJECT_STORE”, “OLVM_STORAGE_DOMAIN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
metadata (object) – The value to assign to the metadata property of this ReplicationLocationDetail.
- property metadata¶
Gets the metadata of this ReplicationLocationDetail. Properties for each of the replication location types
- Returns
The metadata of this ReplicationLocationDetail.
- Return type
object
- property replication_location_type¶
Gets the replication_location_type of this ReplicationLocationDetail. The type of replication location
Allowed values for this property are: “OCI_OBJECT_STORE”, “OLVM_STORAGE_DOMAIN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The replication_location_type of this ReplicationLocationDetail.
- Return type
str