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
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 dictionary
The following arguments are supported:
- Location string
- Migration
Job stringId - Project string
- Location string
- Migration
Job stringId - Project string
- location String
- migration
Job StringId - project String
- location string
- migration
Job stringId - project string
- location str
- migration_
job_ strid - project str
- location String
- migration
Job StringId - project String
getMigrationJob Result
The following output properties are available:
- Create
Time 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.
- Destination
Database Pulumi.Google Native. Datamigration. V1Beta1. Outputs. Database Type Response - The database engine type and provider of the destination.
- Display
Name string - The migration job display name.
- Dump
Path 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".
- End
Time 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.
- Reverse
Ssh 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.
- Source
Database 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.
- Static
Ip 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.
- Update
Time 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".
- Vpc
Peering Pulumi.Connectivity Google Native. Datamigration. V1Beta1. Outputs. Vpc Peering Connectivity Response - The details of the VPC network that the source database is located in.
- Create
Time 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.
- Destination
Database DatabaseType Response - The database engine type and provider of the destination.
- Display
Name string - The migration job display name.
- Dump
Path 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".
- End
Time string - If the migration job is completed, the time when it was completed.
- Error
Status
Response - 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.
- Reverse
Ssh 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.
- Source
Database DatabaseType Response - The database engine type and provider of the source.
- State string
- The current migration job state.
- Static
Ip StaticConnectivity Ip Connectivity Response - static ip connectivity data (default, no additional details needed).
- Type string
- The migration job type.
- Update
Time 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".
- Vpc
Peering VpcConnectivity Peering Connectivity Response - The details of the VPC network that the source database is located in.
- create
Time 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.
- destination
Database DatabaseType Response - The database engine type and provider of the destination.
- display
Name String - The migration job display name.
- dump
Path 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".
- end
Time String - If the migration job is completed, the time when it was completed.
- error
Status
Response - 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.
- reverse
Ssh 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.
- source
Database DatabaseType Response - The database engine type and provider of the source.
- state String
- The current migration job state.
- static
Ip StaticConnectivity Ip Connectivity Response - static ip connectivity data (default, no additional details needed).
- type String
- The migration job type.
- update
Time 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".
- vpc
Peering VpcConnectivity Peering Connectivity Response - The details of the VPC network that the source database is located in.
- create
Time 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.
- destination
Database DatabaseType Response - The database engine type and provider of the destination.
- display
Name string - The migration job display name.
- dump
Path 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".
- end
Time string - If the migration job is completed, the time when it was completed.
- error
Status
Response - 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.
- reverse
Ssh 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.
- source
Database DatabaseType Response - The database engine type and provider of the source.
- state string
- The current migration job state.
- static
Ip StaticConnectivity Ip Connectivity Response - static ip connectivity data (default, no additional details needed).
- type string
- The migration job type.
- update
Time 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".
- vpc
Peering 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
Status
Response - 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.
- create
Time 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.
- destination
Database Property Map - The database engine type and provider of the destination.
- display
Name String - The migration job display name.
- dump
Path 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".
- end
Time 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.
- reverse
Ssh 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.
- source
Database Property Map - The database engine type and provider of the source.
- state String
- The current migration job state.
- static
Ip Property MapConnectivity - static ip connectivity data (default, no additional details needed).
- type String
- The migration job type.
- update
Time 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".
- vpc
Peering 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.
- Vm
Ip string - 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 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.
- Vm
Ip string - 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 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.
- vm
Ip String - The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- vm
Port 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.
- vm
Ip string - The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- vm
Port 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.
- vm
Ip String - The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- vm
Port 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<Immutable
Dictionary<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