Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.datamigration/v1beta1.MigrationJob
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a new migration job in a given project and location.
Create MigrationJob Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MigrationJob(name: string, args: MigrationJobArgs, opts?: CustomResourceOptions);
@overload
def MigrationJob(resource_name: str,
args: MigrationJobArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MigrationJob(resource_name: str,
opts: Optional[ResourceOptions] = None,
migration_job_id: Optional[str] = None,
type: Optional[MigrationJobType] = None,
source: Optional[str] = None,
destination: Optional[str] = None,
project: Optional[str] = None,
location: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
dump_path: Optional[str] = None,
request_id: Optional[str] = None,
reverse_ssh_connectivity: Optional[ReverseSshConnectivityArgs] = None,
display_name: Optional[str] = None,
source_database: Optional[DatabaseTypeArgs] = None,
state: Optional[MigrationJobState] = None,
static_ip_connectivity: Optional[StaticIpConnectivityArgs] = None,
destination_database: Optional[DatabaseTypeArgs] = None,
vpc_peering_connectivity: Optional[VpcPeeringConnectivityArgs] = None)
func NewMigrationJob(ctx *Context, name string, args MigrationJobArgs, opts ...ResourceOption) (*MigrationJob, error)
public MigrationJob(string name, MigrationJobArgs args, CustomResourceOptions? opts = null)
public MigrationJob(String name, MigrationJobArgs args)
public MigrationJob(String name, MigrationJobArgs args, CustomResourceOptions options)
type: google-native:datamigration/v1beta1:MigrationJob
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 MigrationJobArgs
- 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 MigrationJobArgs
- 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 MigrationJobArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MigrationJobArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MigrationJobArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var google_nativeMigrationJobResource = new GoogleNative.Datamigration.V1Beta1.MigrationJob("google-nativeMigrationJobResource", new()
{
MigrationJobId = "string",
Type = GoogleNative.Datamigration.V1Beta1.MigrationJobType.TypeUnspecified,
Source = "string",
Destination = "string",
Project = "string",
Location = "string",
Labels =
{
{ "string", "string" },
},
Name = "string",
DumpPath = "string",
RequestId = "string",
ReverseSshConnectivity = new GoogleNative.Datamigration.V1Beta1.Inputs.ReverseSshConnectivityArgs
{
VmIp = "string",
VmPort = 0,
Vm = "string",
Vpc = "string",
},
DisplayName = "string",
SourceDatabase = new GoogleNative.Datamigration.V1Beta1.Inputs.DatabaseTypeArgs
{
Engine = GoogleNative.Datamigration.V1Beta1.DatabaseTypeEngine.DatabaseEngineUnspecified,
Provider = GoogleNative.Datamigration.V1Beta1.DatabaseTypeProvider.DatabaseProviderUnspecified,
},
State = GoogleNative.Datamigration.V1Beta1.MigrationJobState.StateUnspecified,
StaticIpConnectivity = null,
DestinationDatabase = new GoogleNative.Datamigration.V1Beta1.Inputs.DatabaseTypeArgs
{
Engine = GoogleNative.Datamigration.V1Beta1.DatabaseTypeEngine.DatabaseEngineUnspecified,
Provider = GoogleNative.Datamigration.V1Beta1.DatabaseTypeProvider.DatabaseProviderUnspecified,
},
VpcPeeringConnectivity = new GoogleNative.Datamigration.V1Beta1.Inputs.VpcPeeringConnectivityArgs
{
Vpc = "string",
},
});
example, err := datamigrationv1beta1.NewMigrationJob(ctx, "google-nativeMigrationJobResource", &datamigrationv1beta1.MigrationJobArgs{
MigrationJobId: pulumi.String("string"),
Type: datamigrationv1beta1.MigrationJobTypeTypeUnspecified,
Source: pulumi.String("string"),
Destination: pulumi.String("string"),
Project: pulumi.String("string"),
Location: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Name: pulumi.String("string"),
DumpPath: pulumi.String("string"),
RequestId: pulumi.String("string"),
ReverseSshConnectivity: &datamigration.ReverseSshConnectivityArgs{
VmIp: pulumi.String("string"),
VmPort: pulumi.Int(0),
Vm: pulumi.String("string"),
Vpc: pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
SourceDatabase: &datamigration.DatabaseTypeArgs{
Engine: datamigrationv1beta1.DatabaseTypeEngineDatabaseEngineUnspecified,
Provider: datamigrationv1beta1.DatabaseTypeProviderDatabaseProviderUnspecified,
},
State: datamigrationv1beta1.MigrationJobStateStateUnspecified,
StaticIpConnectivity: nil,
DestinationDatabase: &datamigration.DatabaseTypeArgs{
Engine: datamigrationv1beta1.DatabaseTypeEngineDatabaseEngineUnspecified,
Provider: datamigrationv1beta1.DatabaseTypeProviderDatabaseProviderUnspecified,
},
VpcPeeringConnectivity: &datamigration.VpcPeeringConnectivityArgs{
Vpc: pulumi.String("string"),
},
})
var google_nativeMigrationJobResource = new MigrationJob("google-nativeMigrationJobResource", MigrationJobArgs.builder()
.migrationJobId("string")
.type("TYPE_UNSPECIFIED")
.source("string")
.destination("string")
.project("string")
.location("string")
.labels(Map.of("string", "string"))
.name("string")
.dumpPath("string")
.requestId("string")
.reverseSshConnectivity(ReverseSshConnectivityArgs.builder()
.vmIp("string")
.vmPort(0)
.vm("string")
.vpc("string")
.build())
.displayName("string")
.sourceDatabase(DatabaseTypeArgs.builder()
.engine("DATABASE_ENGINE_UNSPECIFIED")
.provider("DATABASE_PROVIDER_UNSPECIFIED")
.build())
.state("STATE_UNSPECIFIED")
.staticIpConnectivity()
.destinationDatabase(DatabaseTypeArgs.builder()
.engine("DATABASE_ENGINE_UNSPECIFIED")
.provider("DATABASE_PROVIDER_UNSPECIFIED")
.build())
.vpcPeeringConnectivity(VpcPeeringConnectivityArgs.builder()
.vpc("string")
.build())
.build());
google_native_migration_job_resource = google_native.datamigration.v1beta1.MigrationJob("google-nativeMigrationJobResource",
migration_job_id="string",
type=google_native.datamigration.v1beta1.MigrationJobType.TYPE_UNSPECIFIED,
source="string",
destination="string",
project="string",
location="string",
labels={
"string": "string",
},
name="string",
dump_path="string",
request_id="string",
reverse_ssh_connectivity=google_native.datamigration.v1beta1.ReverseSshConnectivityArgs(
vm_ip="string",
vm_port=0,
vm="string",
vpc="string",
),
display_name="string",
source_database=google_native.datamigration.v1beta1.DatabaseTypeArgs(
engine=google_native.datamigration.v1beta1.DatabaseTypeEngine.DATABASE_ENGINE_UNSPECIFIED,
provider=google_native.datamigration.v1beta1.DatabaseTypeProvider.DATABASE_PROVIDER_UNSPECIFIED,
),
state=google_native.datamigration.v1beta1.MigrationJobState.STATE_UNSPECIFIED,
static_ip_connectivity=google_native.datamigration.v1beta1.StaticIpConnectivityArgs(),
destination_database=google_native.datamigration.v1beta1.DatabaseTypeArgs(
engine=google_native.datamigration.v1beta1.DatabaseTypeEngine.DATABASE_ENGINE_UNSPECIFIED,
provider=google_native.datamigration.v1beta1.DatabaseTypeProvider.DATABASE_PROVIDER_UNSPECIFIED,
),
vpc_peering_connectivity=google_native.datamigration.v1beta1.VpcPeeringConnectivityArgs(
vpc="string",
))
const google_nativeMigrationJobResource = new google_native.datamigration.v1beta1.MigrationJob("google-nativeMigrationJobResource", {
migrationJobId: "string",
type: google_native.datamigration.v1beta1.MigrationJobType.TypeUnspecified,
source: "string",
destination: "string",
project: "string",
location: "string",
labels: {
string: "string",
},
name: "string",
dumpPath: "string",
requestId: "string",
reverseSshConnectivity: {
vmIp: "string",
vmPort: 0,
vm: "string",
vpc: "string",
},
displayName: "string",
sourceDatabase: {
engine: google_native.datamigration.v1beta1.DatabaseTypeEngine.DatabaseEngineUnspecified,
provider: google_native.datamigration.v1beta1.DatabaseTypeProvider.DatabaseProviderUnspecified,
},
state: google_native.datamigration.v1beta1.MigrationJobState.StateUnspecified,
staticIpConnectivity: {},
destinationDatabase: {
engine: google_native.datamigration.v1beta1.DatabaseTypeEngine.DatabaseEngineUnspecified,
provider: google_native.datamigration.v1beta1.DatabaseTypeProvider.DatabaseProviderUnspecified,
},
vpcPeeringConnectivity: {
vpc: "string",
},
});
type: google-native:datamigration/v1beta1:MigrationJob
properties:
destination: string
destinationDatabase:
engine: DATABASE_ENGINE_UNSPECIFIED
provider: DATABASE_PROVIDER_UNSPECIFIED
displayName: string
dumpPath: string
labels:
string: string
location: string
migrationJobId: string
name: string
project: string
requestId: string
reverseSshConnectivity:
vm: string
vmIp: string
vmPort: 0
vpc: string
source: string
sourceDatabase:
engine: DATABASE_ENGINE_UNSPECIFIED
provider: DATABASE_PROVIDER_UNSPECIFIED
state: STATE_UNSPECIFIED
staticIpConnectivity: {}
type: TYPE_UNSPECIFIED
vpcPeeringConnectivity:
vpc: string
MigrationJob 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 MigrationJob resource accepts the following input properties:
- Destination string
- The resource name (URI) of the destination connection profile.
- Migration
Job stringId - Required. The ID of the instance to create.
- Source string
- The resource name (URI) of the source connection profile.
- Type
Pulumi.
Google Native. Datamigration. V1Beta1. Migration Job Type - The migration job type.
- Destination
Database Pulumi.Google Native. Datamigration. V1Beta1. Inputs. Database Type - 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]).
- 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" }
. - Location string
- Name string
- The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
- Project string
- Request
Id string - A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
- Reverse
Ssh Pulumi.Connectivity Google Native. Datamigration. V1Beta1. Inputs. Reverse Ssh Connectivity - The details needed to communicate to the source over Reverse SSH tunnel connectivity.
- Source
Database Pulumi.Google Native. Datamigration. V1Beta1. Inputs. Database Type - The database engine type and provider of the source.
- State
Pulumi.
Google Native. Datamigration. V1Beta1. Migration Job State - The current migration job state.
- Static
Ip Pulumi.Connectivity Google Native. Datamigration. V1Beta1. Inputs. Static Ip Connectivity - static ip connectivity data (default, no additional details needed).
- Vpc
Peering Pulumi.Connectivity Google Native. Datamigration. V1Beta1. Inputs. Vpc Peering Connectivity - The details of the VPC network that the source database is located in.
- Destination string
- The resource name (URI) of the destination connection profile.
- Migration
Job stringId - Required. The ID of the instance to create.
- Source string
- The resource name (URI) of the source connection profile.
- Type
Migration
Job Type - The migration job type.
- Destination
Database DatabaseType Args - 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]).
- 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" }
. - Location string
- Name string
- The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
- Project string
- Request
Id string - A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
- Reverse
Ssh ReverseConnectivity Ssh Connectivity Args - The details needed to communicate to the source over Reverse SSH tunnel connectivity.
- Source
Database DatabaseType Args - The database engine type and provider of the source.
- State
Migration
Job State Enum - The current migration job state.
- Static
Ip StaticConnectivity Ip Connectivity Args - static ip connectivity data (default, no additional details needed).
- Vpc
Peering VpcConnectivity Peering Connectivity Args - The details of the VPC network that the source database is located in.
- destination String
- The resource name (URI) of the destination connection profile.
- migration
Job StringId - Required. The ID of the instance to create.
- source String
- The resource name (URI) of the source connection profile.
- type
Migration
Job Type - The migration job type.
- destination
Database DatabaseType - 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]).
- 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" }
. - location String
- name String
- The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
- project String
- request
Id String - A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
- reverse
Ssh ReverseConnectivity Ssh Connectivity - The details needed to communicate to the source over Reverse SSH tunnel connectivity.
- source
Database DatabaseType - The database engine type and provider of the source.
- state
Migration
Job State - The current migration job state.
- static
Ip StaticConnectivity Ip Connectivity - static ip connectivity data (default, no additional details needed).
- vpc
Peering VpcConnectivity Peering Connectivity - The details of the VPC network that the source database is located in.
- destination string
- The resource name (URI) of the destination connection profile.
- migration
Job stringId - Required. The ID of the instance to create.
- source string
- The resource name (URI) of the source connection profile.
- type
Migration
Job Type - The migration job type.
- destination
Database DatabaseType - 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]).
- 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" }
. - location string
- name string
- The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
- project string
- request
Id string - A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
- reverse
Ssh ReverseConnectivity Ssh Connectivity - The details needed to communicate to the source over Reverse SSH tunnel connectivity.
- source
Database DatabaseType - The database engine type and provider of the source.
- state
Migration
Job State - The current migration job state.
- static
Ip StaticConnectivity Ip Connectivity - static ip connectivity data (default, no additional details needed).
- vpc
Peering VpcConnectivity Peering Connectivity - The details of the VPC network that the source database is located in.
- destination str
- The resource name (URI) of the destination connection profile.
- migration_
job_ strid - Required. The ID of the instance to create.
- source str
- The resource name (URI) of the source connection profile.
- type
Migration
Job Type - The migration job type.
- destination_
database DatabaseType Args - 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]).
- 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" }
. - location str
- name str
- The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
- project str
- request_
id str - A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
- reverse_
ssh_ Reverseconnectivity Ssh Connectivity Args - The details needed to communicate to the source over Reverse SSH tunnel connectivity.
- source_
database DatabaseType Args - The database engine type and provider of the source.
- state
Migration
Job State - The current migration job state.
- static_
ip_ Staticconnectivity Ip Connectivity Args - static ip connectivity data (default, no additional details needed).
- vpc_
peering_ Vpcconnectivity Peering Connectivity Args - The details of the VPC network that the source database is located in.
- destination String
- The resource name (URI) of the destination connection profile.
- migration
Job StringId - Required. The ID of the instance to create.
- source String
- The resource name (URI) of the source connection profile.
- type "TYPE_UNSPECIFIED" | "ONE_TIME" | "CONTINUOUS"
- The migration job type.
- 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]).
- 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" }
. - location String
- name String
- The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
- project String
- request
Id String - A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
- reverse
Ssh Property MapConnectivity - The details needed to communicate to the source over Reverse SSH tunnel connectivity.
- source
Database Property Map - The database engine type and provider of the source.
- state "STATE_UNSPECIFIED" | "MAINTENANCE" | "DRAFT" | "CREATING" | "NOT_STARTED" | "RUNNING" | "FAILED" | "COMPLETED" | "DELETING" | "STOPPING" | "STOPPED" | "DELETED" | "UPDATING" | "STARTING" | "RESTARTING" | "RESUMING"
- The current migration job state.
- static
Ip Property MapConnectivity - static ip connectivity data (default, no additional details needed).
- vpc
Peering Property MapConnectivity - The details of the VPC network that the source database is located in.
Outputs
All input properties are implicitly available as output properties. Additionally, the MigrationJob resource produces the following output properties:
- 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".
- 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Phase string
- The current migration job phase.
- 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".
- 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".
- 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Phase string
- The current migration job phase.
- 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".
- 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".
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- phase String
- The current migration job phase.
- 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".
- 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".
- 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.
- id string
- The provider-assigned unique ID for this managed resource.
- phase string
- The current migration job phase.
- 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".
- 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".
- 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.
- id str
- The provider-assigned unique ID for this managed resource.
- phase str
- The current migration job phase.
- 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".
- 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".
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- phase String
- The current migration job phase.
- 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".
Supporting Types
DatabaseType, DatabaseTypeArgs
- Engine
Pulumi.
Google Native. Datamigration. V1Beta1. Database Type Engine - The database engine.
- Provider
Pulumi.
Google Native. Datamigration. V1Beta1. Database Type Provider - The database provider.
- Engine
Database
Type Engine - The database engine.
- Provider
Database
Type Provider - The database provider.
- engine
Database
Type Engine - The database engine.
- provider
Database
Type Provider - The database provider.
- engine
Database
Type Engine - The database engine.
- provider
Database
Type Provider - The database provider.
- engine
Database
Type Engine - The database engine.
- provider
Database
Type Provider - The database provider.
- engine "DATABASE_ENGINE_UNSPECIFIED" | "MYSQL"
- The database engine.
- provider "DATABASE_PROVIDER_UNSPECIFIED" | "CLOUDSQL" | "RDS"
- The database provider.
DatabaseTypeEngine, DatabaseTypeEngineArgs
- Database
Engine Unspecified - DATABASE_ENGINE_UNSPECIFIEDThe source database engine of the migration job is unknown.
- Mysql
- MYSQLThe source engine is MySQL.
- Database
Type Engine Database Engine Unspecified - DATABASE_ENGINE_UNSPECIFIEDThe source database engine of the migration job is unknown.
- Database
Type Engine Mysql - MYSQLThe source engine is MySQL.
- Database
Engine Unspecified - DATABASE_ENGINE_UNSPECIFIEDThe source database engine of the migration job is unknown.
- Mysql
- MYSQLThe source engine is MySQL.
- Database
Engine Unspecified - DATABASE_ENGINE_UNSPECIFIEDThe source database engine of the migration job is unknown.
- Mysql
- MYSQLThe source engine is MySQL.
- DATABASE_ENGINE_UNSPECIFIED
- DATABASE_ENGINE_UNSPECIFIEDThe source database engine of the migration job is unknown.
- MYSQL
- MYSQLThe source engine is MySQL.
- "DATABASE_ENGINE_UNSPECIFIED"
- DATABASE_ENGINE_UNSPECIFIEDThe source database engine of the migration job is unknown.
- "MYSQL"
- MYSQLThe source engine is MySQL.
DatabaseTypeProvider, DatabaseTypeProviderArgs
- Database
Provider Unspecified - DATABASE_PROVIDER_UNSPECIFIEDThe database provider is unknown.
- Cloudsql
- CLOUDSQLCloudSQL runs the database.
- Rds
- RDSRDS runs the database.
- Database
Type Provider Database Provider Unspecified - DATABASE_PROVIDER_UNSPECIFIEDThe database provider is unknown.
- Database
Type Provider Cloudsql - CLOUDSQLCloudSQL runs the database.
- Database
Type Provider Rds - RDSRDS runs the database.
- Database
Provider Unspecified - DATABASE_PROVIDER_UNSPECIFIEDThe database provider is unknown.
- Cloudsql
- CLOUDSQLCloudSQL runs the database.
- Rds
- RDSRDS runs the database.
- Database
Provider Unspecified - DATABASE_PROVIDER_UNSPECIFIEDThe database provider is unknown.
- Cloudsql
- CLOUDSQLCloudSQL runs the database.
- Rds
- RDSRDS runs the database.
- DATABASE_PROVIDER_UNSPECIFIED
- DATABASE_PROVIDER_UNSPECIFIEDThe database provider is unknown.
- CLOUDSQL
- CLOUDSQLCloudSQL runs the database.
- RDS
- RDSRDS runs the database.
- "DATABASE_PROVIDER_UNSPECIFIED"
- DATABASE_PROVIDER_UNSPECIFIEDThe database provider is unknown.
- "CLOUDSQL"
- CLOUDSQLCloudSQL runs the database.
- "RDS"
- RDSRDS runs the database.
DatabaseTypeResponse, DatabaseTypeResponseArgs
MigrationJobState, MigrationJobStateArgs
- State
Unspecified - STATE_UNSPECIFIEDThe state of the migration job is unknown.
- Maintenance
- MAINTENANCEThe migration job is down for maintenance.
- Draft
- DRAFTThe migration job is in draft mode and no resources are created.
- Creating
- CREATINGThe migration job is being created.
- Not
Started - NOT_STARTEDThe migration job is created and not started.
- Running
- RUNNINGThe migration job is running.
- Failed
- FAILEDThe migration job failed.
- Completed
- COMPLETEDThe migration job has been completed.
- Deleting
- DELETINGThe migration job is being deleted.
- Stopping
- STOPPINGThe migration job is being stopped.
- Stopped
- STOPPEDThe migration job is currently stopped.
- Deleted
- DELETEDThe migration job has been deleted.
- Updating
- UPDATINGThe migration job is being updated.
- Starting
- STARTINGThe migration job is starting.
- Restarting
- RESTARTINGThe migration job is restarting.
- Resuming
- RESUMINGThe migration job is resuming.
- Migration
Job State State Unspecified - STATE_UNSPECIFIEDThe state of the migration job is unknown.
- Migration
Job State Maintenance - MAINTENANCEThe migration job is down for maintenance.
- Migration
Job State Draft - DRAFTThe migration job is in draft mode and no resources are created.
- Migration
Job State Creating - CREATINGThe migration job is being created.
- Migration
Job State Not Started - NOT_STARTEDThe migration job is created and not started.
- Migration
Job State Running - RUNNINGThe migration job is running.
- Migration
Job State Failed - FAILEDThe migration job failed.
- Migration
Job State Completed - COMPLETEDThe migration job has been completed.
- Migration
Job State Deleting - DELETINGThe migration job is being deleted.
- Migration
Job State Stopping - STOPPINGThe migration job is being stopped.
- Migration
Job State Stopped - STOPPEDThe migration job is currently stopped.
- Migration
Job State Deleted - DELETEDThe migration job has been deleted.
- Migration
Job State Updating - UPDATINGThe migration job is being updated.
- Migration
Job State Starting - STARTINGThe migration job is starting.
- Migration
Job State Restarting - RESTARTINGThe migration job is restarting.
- Migration
Job State Resuming - RESUMINGThe migration job is resuming.
- State
Unspecified - STATE_UNSPECIFIEDThe state of the migration job is unknown.
- Maintenance
- MAINTENANCEThe migration job is down for maintenance.
- Draft
- DRAFTThe migration job is in draft mode and no resources are created.
- Creating
- CREATINGThe migration job is being created.
- Not
Started - NOT_STARTEDThe migration job is created and not started.
- Running
- RUNNINGThe migration job is running.
- Failed
- FAILEDThe migration job failed.
- Completed
- COMPLETEDThe migration job has been completed.
- Deleting
- DELETINGThe migration job is being deleted.
- Stopping
- STOPPINGThe migration job is being stopped.
- Stopped
- STOPPEDThe migration job is currently stopped.
- Deleted
- DELETEDThe migration job has been deleted.
- Updating
- UPDATINGThe migration job is being updated.
- Starting
- STARTINGThe migration job is starting.
- Restarting
- RESTARTINGThe migration job is restarting.
- Resuming
- RESUMINGThe migration job is resuming.
- State
Unspecified - STATE_UNSPECIFIEDThe state of the migration job is unknown.
- Maintenance
- MAINTENANCEThe migration job is down for maintenance.
- Draft
- DRAFTThe migration job is in draft mode and no resources are created.
- Creating
- CREATINGThe migration job is being created.
- Not
Started - NOT_STARTEDThe migration job is created and not started.
- Running
- RUNNINGThe migration job is running.
- Failed
- FAILEDThe migration job failed.
- Completed
- COMPLETEDThe migration job has been completed.
- Deleting
- DELETINGThe migration job is being deleted.
- Stopping
- STOPPINGThe migration job is being stopped.
- Stopped
- STOPPEDThe migration job is currently stopped.
- Deleted
- DELETEDThe migration job has been deleted.
- Updating
- UPDATINGThe migration job is being updated.
- Starting
- STARTINGThe migration job is starting.
- Restarting
- RESTARTINGThe migration job is restarting.
- Resuming
- RESUMINGThe migration job is resuming.
- STATE_UNSPECIFIED
- STATE_UNSPECIFIEDThe state of the migration job is unknown.
- MAINTENANCE
- MAINTENANCEThe migration job is down for maintenance.
- DRAFT
- DRAFTThe migration job is in draft mode and no resources are created.
- CREATING
- CREATINGThe migration job is being created.
- NOT_STARTED
- NOT_STARTEDThe migration job is created and not started.
- RUNNING
- RUNNINGThe migration job is running.
- FAILED
- FAILEDThe migration job failed.
- COMPLETED
- COMPLETEDThe migration job has been completed.
- DELETING
- DELETINGThe migration job is being deleted.
- STOPPING
- STOPPINGThe migration job is being stopped.
- STOPPED
- STOPPEDThe migration job is currently stopped.
- DELETED
- DELETEDThe migration job has been deleted.
- UPDATING
- UPDATINGThe migration job is being updated.
- STARTING
- STARTINGThe migration job is starting.
- RESTARTING
- RESTARTINGThe migration job is restarting.
- RESUMING
- RESUMINGThe migration job is resuming.
- "STATE_UNSPECIFIED"
- STATE_UNSPECIFIEDThe state of the migration job is unknown.
- "MAINTENANCE"
- MAINTENANCEThe migration job is down for maintenance.
- "DRAFT"
- DRAFTThe migration job is in draft mode and no resources are created.
- "CREATING"
- CREATINGThe migration job is being created.
- "NOT_STARTED"
- NOT_STARTEDThe migration job is created and not started.
- "RUNNING"
- RUNNINGThe migration job is running.
- "FAILED"
- FAILEDThe migration job failed.
- "COMPLETED"
- COMPLETEDThe migration job has been completed.
- "DELETING"
- DELETINGThe migration job is being deleted.
- "STOPPING"
- STOPPINGThe migration job is being stopped.
- "STOPPED"
- STOPPEDThe migration job is currently stopped.
- "DELETED"
- DELETEDThe migration job has been deleted.
- "UPDATING"
- UPDATINGThe migration job is being updated.
- "STARTING"
- STARTINGThe migration job is starting.
- "RESTARTING"
- RESTARTINGThe migration job is restarting.
- "RESUMING"
- RESUMINGThe migration job is resuming.
MigrationJobType, MigrationJobTypeArgs
- Type
Unspecified - TYPE_UNSPECIFIEDThe type of the migration job is unknown.
- One
Time - ONE_TIMEThe migration job is a one time migration.
- Continuous
- CONTINUOUSThe migration job is a continuous migration.
- Migration
Job Type Type Unspecified - TYPE_UNSPECIFIEDThe type of the migration job is unknown.
- Migration
Job Type One Time - ONE_TIMEThe migration job is a one time migration.
- Migration
Job Type Continuous - CONTINUOUSThe migration job is a continuous migration.
- Type
Unspecified - TYPE_UNSPECIFIEDThe type of the migration job is unknown.
- One
Time - ONE_TIMEThe migration job is a one time migration.
- Continuous
- CONTINUOUSThe migration job is a continuous migration.
- Type
Unspecified - TYPE_UNSPECIFIEDThe type of the migration job is unknown.
- One
Time - ONE_TIMEThe migration job is a one time migration.
- Continuous
- CONTINUOUSThe migration job is a continuous migration.
- TYPE_UNSPECIFIED
- TYPE_UNSPECIFIEDThe type of the migration job is unknown.
- ONE_TIME
- ONE_TIMEThe migration job is a one time migration.
- CONTINUOUS
- CONTINUOUSThe migration job is a continuous migration.
- "TYPE_UNSPECIFIED"
- TYPE_UNSPECIFIEDThe type of the migration job is unknown.
- "ONE_TIME"
- ONE_TIMEThe migration job is a one time migration.
- "CONTINUOUS"
- CONTINUOUSThe migration job is a continuous migration.
ReverseSshConnectivity, ReverseSshConnectivityArgs
- 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.
- Vm string
- The name 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
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.
- Vm string
- The name 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
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.
- vm String
- The name 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
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.
- vm string
- The name 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_
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.
- vm str
- The name 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
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.
- vm String
- The name 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.
ReverseSshConnectivityResponse, ReverseSshConnectivityResponseArgs
- 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, StatusResponseArgs
- 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.
VpcPeeringConnectivity, VpcPeeringConnectivityArgs
- 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.
VpcPeeringConnectivityResponse, VpcPeeringConnectivityResponseArgs
- 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.