Struct google_datamigration1::api::MigrationJob
source · pub struct MigrationJob {Show 22 fields
pub conversion_workspace: Option<ConversionWorkspaceInfo>,
pub create_time: Option<DateTime<Utc>>,
pub destination: Option<String>,
pub destination_database: Option<DatabaseType>,
pub display_name: Option<String>,
pub dump_flags: Option<DumpFlags>,
pub dump_path: Option<String>,
pub duration: Option<Duration>,
pub end_time: Option<DateTime<Utc>>,
pub error: Option<Status>,
pub filter: Option<String>,
pub labels: Option<HashMap<String, String>>,
pub name: Option<String>,
pub phase: Option<String>,
pub reverse_ssh_connectivity: Option<ReverseSshConnectivity>,
pub source: Option<String>,
pub source_database: Option<DatabaseType>,
pub state: Option<String>,
pub static_ip_connectivity: Option<StaticIpConnectivity>,
pub type_: Option<String>,
pub update_time: Option<DateTime<Utc>>,
pub vpc_peering_connectivity: Option<VpcPeeringConnectivity>,
}Expand description
Represents a Database Migration Service migration job object.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations migration jobs create projects (request)
- locations migration jobs get projects (response)
- locations migration jobs patch projects (request)
Fields§
§conversion_workspace: Option<ConversionWorkspaceInfo>The conversion workspace used by the migration.
create_time: Option<DateTime<Utc>>Output only. The timestamp when the migration job resource was created. A timestamp in RFC3339 UTC “Zulu” format, accurate to nanoseconds. Example: “2014-10-02T15:01:23.045123456Z”.
destination: Option<String>Required. The resource name (URI) of the destination connection profile.
destination_database: Option<DatabaseType>The database engine type and provider of the destination.
display_name: Option<String>The migration job display name.
dump_flags: Option<DumpFlags>The initial dump flags. This field and the “dump_path” field are mutually exclusive.
dump_path: Option<String>The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]). This field and the “dump_flags” field are mutually exclusive.
duration: Option<Duration>Output only. The duration of the migration job (in seconds). A duration in seconds with up to nine fractional digits, terminated by ‘s’. Example: “3.5s”.
end_time: Option<DateTime<Utc>>Output only. If the migration job is completed, the time when it was completed.
error: Option<Status>Output only. The error details in case of state FAILED.
filter: Option<String>This field can be used to select the entities to migrate as part of the migration job. It uses AIP-160 notation to select a subset of the entities configured on the associated conversion-workspace. This field should not be set on migration-jobs that are not associated with a conversion workspace.
labels: Option<HashMap<String, String>>The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of “key”: “value” pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
name: Option<String>The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
phase: Option<String>Output only. The current migration job phase.
reverse_ssh_connectivity: Option<ReverseSshConnectivity>The details needed to communicate to the source over Reverse SSH tunnel connectivity.
source: Option<String>Required. The resource name (URI) of the source connection profile.
source_database: Option<DatabaseType>The database engine type and provider of the source.
state: Option<String>The current migration job state.
static_ip_connectivity: Option<StaticIpConnectivity>static ip connectivity data (default, no additional details needed).
type_: Option<String>Required. The migration job type.
update_time: Option<DateTime<Utc>>Output only. The timestamp when the migration job resource was last updated. A timestamp in RFC3339 UTC “Zulu” format, accurate to nanoseconds. Example: “2014-10-02T15:01:23.045123456Z”.
vpc_peering_connectivity: Option<VpcPeeringConnectivity>The details of the VPC network that the source database is located in.
Trait Implementations§
source§impl Clone for MigrationJob
impl Clone for MigrationJob
source§fn clone(&self) -> MigrationJob
fn clone(&self) -> MigrationJob
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more