Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.datamigration/v1beta1.getMigrationJob
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Gets details of a single migration job.
Using getMigrationJob
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getMigrationJob(args: GetMigrationJobArgs, opts?: InvokeOptions): Promise<GetMigrationJobResult>
function getMigrationJobOutput(args: GetMigrationJobOutputArgs, opts?: InvokeOptions): Output<GetMigrationJobResult>def get_migration_job(location: Optional[str] = None,
                      migration_job_id: Optional[str] = None,
                      project: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetMigrationJobResult
def get_migration_job_output(location: Optional[pulumi.Input[str]] = None,
                      migration_job_id: Optional[pulumi.Input[str]] = None,
                      project: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetMigrationJobResult]func LookupMigrationJob(ctx *Context, args *LookupMigrationJobArgs, opts ...InvokeOption) (*LookupMigrationJobResult, error)
func LookupMigrationJobOutput(ctx *Context, args *LookupMigrationJobOutputArgs, opts ...InvokeOption) LookupMigrationJobResultOutput> Note: This function is named LookupMigrationJob in the Go SDK.
public static class GetMigrationJob 
{
    public static Task<GetMigrationJobResult> InvokeAsync(GetMigrationJobArgs args, InvokeOptions? opts = null)
    public static Output<GetMigrationJobResult> Invoke(GetMigrationJobInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetMigrationJobResult> getMigrationJob(GetMigrationJobArgs args, InvokeOptions options)
public static Output<GetMigrationJobResult> getMigrationJob(GetMigrationJobArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:datamigration/v1beta1:getMigrationJob
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Location string
- MigrationJob stringId 
- Project string
- Location string
- MigrationJob stringId 
- Project string
- location String
- migrationJob StringId 
- project String
- location string
- migrationJob stringId 
- project string
- location str
- migration_job_ strid 
- project str
- location String
- migrationJob StringId 
- project String
getMigrationJob Result
The following output properties are available:
- CreateTime string
- 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 string
- The resource name (URI) of the destination connection profile.
- DestinationDatabase Pulumi.Google Native. Datamigration. V1Beta1. Outputs. Database Type Response 
- The database engine type and provider of the destination.
- DisplayName string
- The migration job display name.
- DumpPath string
- The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).
- Duration string
- The duration of the migration job (in seconds). A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
- EndTime string
- If the migration job is completed, the time when it was completed.
- Error
Pulumi.Google Native. Datamigration. V1Beta1. Outputs. Status Response 
- The error details in case of state FAILED.
- Labels Dictionary<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 string
- The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
- Phase string
- The current migration job phase.
- ReverseSsh Pulumi.Connectivity Google Native. Datamigration. V1Beta1. Outputs. Reverse Ssh Connectivity Response 
- The details needed to communicate to the source over Reverse SSH tunnel connectivity.
- Source string
- The resource name (URI) of the source connection profile.
- SourceDatabase Pulumi.Google Native. Datamigration. V1Beta1. Outputs. Database Type Response 
- The database engine type and provider of the source.
- State string
- The current migration job state.
- StaticIp Pulumi.Connectivity Google Native. Datamigration. V1Beta1. Outputs. Static Ip Connectivity Response 
- static ip connectivity data (default, no additional details needed).
- Type string
- The migration job type.
- UpdateTime string
- 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".
- VpcPeering Pulumi.Connectivity Google Native. Datamigration. V1Beta1. Outputs. Vpc Peering Connectivity Response 
- The details of the VPC network that the source database is located in.
- CreateTime string
- 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 string
- The resource name (URI) of the destination connection profile.
- DestinationDatabase DatabaseType Response 
- The database engine type and provider of the destination.
- DisplayName string
- The migration job display name.
- DumpPath string
- The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).
- Duration string
- The duration of the migration job (in seconds). A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
- EndTime string
- If the migration job is completed, the time when it was completed.
- Error
StatusResponse 
- The error details in case of state FAILED.
- Labels map[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 string
- The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
- Phase string
- The current migration job phase.
- ReverseSsh ReverseConnectivity Ssh Connectivity Response 
- The details needed to communicate to the source over Reverse SSH tunnel connectivity.
- Source string
- The resource name (URI) of the source connection profile.
- SourceDatabase DatabaseType Response 
- The database engine type and provider of the source.
- State string
- The current migration job state.
- StaticIp StaticConnectivity Ip Connectivity Response 
- static ip connectivity data (default, no additional details needed).
- Type string
- The migration job type.
- UpdateTime string
- 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".
- VpcPeering VpcConnectivity Peering Connectivity Response 
- The details of the VPC network that the source database is located in.
- createTime String
- 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 String
- The resource name (URI) of the destination connection profile.
- destinationDatabase DatabaseType Response 
- The database engine type and provider of the destination.
- displayName String
- The migration job display name.
- dumpPath String
- The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).
- duration String
- The duration of the migration job (in seconds). A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
- endTime String
- If the migration job is completed, the time when it was completed.
- error
StatusResponse 
- The error details in case of state FAILED.
- labels Map<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 String
- The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
- phase String
- The current migration job phase.
- reverseSsh ReverseConnectivity Ssh Connectivity Response 
- The details needed to communicate to the source over Reverse SSH tunnel connectivity.
- source String
- The resource name (URI) of the source connection profile.
- sourceDatabase DatabaseType Response 
- The database engine type and provider of the source.
- state String
- The current migration job state.
- staticIp StaticConnectivity Ip Connectivity Response 
- static ip connectivity data (default, no additional details needed).
- type String
- The migration job type.
- updateTime String
- 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".
- vpcPeering VpcConnectivity Peering Connectivity Response 
- The details of the VPC network that the source database is located in.
- createTime string
- 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 string
- The resource name (URI) of the destination connection profile.
- destinationDatabase DatabaseType Response 
- The database engine type and provider of the destination.
- displayName string
- The migration job display name.
- dumpPath string
- The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).
- duration string
- The duration of the migration job (in seconds). A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
- endTime string
- If the migration job is completed, the time when it was completed.
- error
StatusResponse 
- The error details in case of state FAILED.
- labels {[key: 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 string
- The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
- phase string
- The current migration job phase.
- reverseSsh ReverseConnectivity Ssh Connectivity Response 
- The details needed to communicate to the source over Reverse SSH tunnel connectivity.
- source string
- The resource name (URI) of the source connection profile.
- sourceDatabase DatabaseType Response 
- The database engine type and provider of the source.
- state string
- The current migration job state.
- staticIp StaticConnectivity Ip Connectivity Response 
- static ip connectivity data (default, no additional details needed).
- type string
- The migration job type.
- updateTime string
- 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".
- vpcPeering VpcConnectivity Peering Connectivity Response 
- The details of the VPC network that the source database is located in.
- create_time str
- 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 str
- The resource name (URI) of the destination connection profile.
- destination_database DatabaseType Response 
- The database engine type and provider of the destination.
- display_name str
- The migration job display name.
- dump_path str
- The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).
- duration str
- 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 str
- If the migration job is completed, the time when it was completed.
- error
StatusResponse 
- The error details in case of state FAILED.
- labels Mapping[str, str]
- 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 str
- The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
- phase str
- The current migration job phase.
- reverse_ssh_ Reverseconnectivity Ssh Connectivity Response 
- The details needed to communicate to the source over Reverse SSH tunnel connectivity.
- source str
- The resource name (URI) of the source connection profile.
- source_database DatabaseType Response 
- The database engine type and provider of the source.
- state str
- The current migration job state.
- static_ip_ Staticconnectivity Ip Connectivity Response 
- static ip connectivity data (default, no additional details needed).
- type str
- The migration job type.
- update_time str
- 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_ Vpcconnectivity Peering Connectivity Response 
- The details of the VPC network that the source database is located in.
- createTime String
- 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 String
- The resource name (URI) of the destination connection profile.
- destinationDatabase Property Map
- The database engine type and provider of the destination.
- displayName String
- The migration job display name.
- dumpPath String
- The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).
- duration String
- The duration of the migration job (in seconds). A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
- endTime String
- If the migration job is completed, the time when it was completed.
- error Property Map
- The error details in case of state FAILED.
- labels Map<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 String
- The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
- phase String
- The current migration job phase.
- reverseSsh Property MapConnectivity 
- The details needed to communicate to the source over Reverse SSH tunnel connectivity.
- source String
- The resource name (URI) of the source connection profile.
- sourceDatabase Property Map
- The database engine type and provider of the source.
- state String
- The current migration job state.
- staticIp Property MapConnectivity 
- static ip connectivity data (default, no additional details needed).
- type String
- The migration job type.
- updateTime String
- 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".
- vpcPeering Property MapConnectivity 
- The details of the VPC network that the source database is located in.
Supporting Types
DatabaseTypeResponse  
ReverseSshConnectivityResponse   
- Vm string
- The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- VmIp string
- The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- VmPort int
- The forwarding port of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- Vpc string
- The name of the VPC to peer with the Cloud SQL private network.
- Vm string
- The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- VmIp string
- The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- VmPort int
- The forwarding port of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- Vpc string
- The name of the VPC to peer with the Cloud SQL private network.
- vm String
- The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- vmIp String
- The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- vmPort Integer
- The forwarding port of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- vpc String
- The name of the VPC to peer with the Cloud SQL private network.
- vm string
- The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- vmIp string
- The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- vmPort number
- The forwarding port of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- vpc string
- The name of the VPC to peer with the Cloud SQL private network.
- vm str
- The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- vm_ip str
- The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- vm_port int
- The forwarding port of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- vpc str
- The name of the VPC to peer with the Cloud SQL private network.
- vm String
- The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- vmIp String
- The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- vmPort Number
- The forwarding port of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- vpc String
- The name of the VPC to peer with the Cloud SQL private network.
StatusResponse 
- Code int
- The status code, which should be an enum value of google.rpc.Code.
- Details
List<ImmutableDictionary<string, string>> 
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- Message string
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- Code int
- The status code, which should be an enum value of google.rpc.Code.
- Details []map[string]string
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- Message string
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code Integer
- The status code, which should be an enum value of google.rpc.Code.
- details List<Map<String,String>>
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message String
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code number
- The status code, which should be an enum value of google.rpc.Code.
- details {[key: string]: string}[]
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message string
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code int
- The status code, which should be an enum value of google.rpc.Code.
- details Sequence[Mapping[str, str]]
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message str
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code Number
- The status code, which should be an enum value of google.rpc.Code.
- details List<Map<String>>
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message String
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
VpcPeeringConnectivityResponse   
- Vpc string
- The name of the VPC network to peer with the Cloud SQL private network.
- Vpc string
- The name of the VPC network to peer with the Cloud SQL private network.
- vpc String
- The name of the VPC network to peer with the Cloud SQL private network.
- vpc string
- The name of the VPC network to peer with the Cloud SQL private network.
- vpc str
- The name of the VPC network to peer with the Cloud SQL private network.
- vpc String
- The name of the VPC network to peer with the Cloud SQL private network.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi