google-native logo
Google Cloud Native v0.28.0, Feb 2 23

google-native.datamigration/v1.ConversionWorkspace

Creates a new conversion workspace in a given project and location.

Create ConversionWorkspace Resource

new ConversionWorkspace(name: string, args: ConversionWorkspaceArgs, opts?: CustomResourceOptions);
@overload
def ConversionWorkspace(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        conversion_workspace_id: Optional[str] = None,
                        destination: Optional[DatabaseEngineInfoArgs] = None,
                        display_name: Optional[str] = None,
                        global_settings: Optional[Mapping[str, str]] = None,
                        location: Optional[str] = None,
                        name: Optional[str] = None,
                        project: Optional[str] = None,
                        request_id: Optional[str] = None,
                        source: Optional[DatabaseEngineInfoArgs] = None)
@overload
def ConversionWorkspace(resource_name: str,
                        args: ConversionWorkspaceArgs,
                        opts: Optional[ResourceOptions] = None)
func NewConversionWorkspace(ctx *Context, name string, args ConversionWorkspaceArgs, opts ...ResourceOption) (*ConversionWorkspace, error)
public ConversionWorkspace(string name, ConversionWorkspaceArgs args, CustomResourceOptions? opts = null)
public ConversionWorkspace(String name, ConversionWorkspaceArgs args)
public ConversionWorkspace(String name, ConversionWorkspaceArgs args, CustomResourceOptions options)
type: google-native:datamigration/v1:ConversionWorkspace
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ConversionWorkspaceArgs
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 ConversionWorkspaceArgs
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 ConversionWorkspaceArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ConversionWorkspaceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ConversionWorkspaceArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ConversionWorkspace 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 ConversionWorkspace resource accepts the following input properties:

ConversionWorkspaceId string

Required. The ID of the conversion workspace to create.

Destination Pulumi.GoogleNative.Datamigration.V1.Inputs.DatabaseEngineInfoArgs

The destination engine details.

Source Pulumi.GoogleNative.Datamigration.V1.Inputs.DatabaseEngineInfoArgs

The source engine details.

DisplayName string

The display name for the workspace

GlobalSettings Dictionary<string, string>

A generic list of settings for the workspace. The settings are database pair dependant and can indicate default behavior for the mapping rules engine or turn on or off specific features. Such examples can be: convert_foreign_key_to_interleave=true, skip_triggers=false, ignore_non_table_synonyms=true

Location string
Name string

Full name of the workspace resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.

Project string
RequestId 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.

ConversionWorkspaceId string

Required. The ID of the conversion workspace to create.

Destination DatabaseEngineInfoArgs

The destination engine details.

Source DatabaseEngineInfoArgs

The source engine details.

DisplayName string

The display name for the workspace

GlobalSettings map[string]string

A generic list of settings for the workspace. The settings are database pair dependant and can indicate default behavior for the mapping rules engine or turn on or off specific features. Such examples can be: convert_foreign_key_to_interleave=true, skip_triggers=false, ignore_non_table_synonyms=true

Location string
Name string

Full name of the workspace resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.

Project string
RequestId 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.

conversionWorkspaceId String

Required. The ID of the conversion workspace to create.

destination DatabaseEngineInfoArgs

The destination engine details.

source DatabaseEngineInfoArgs

The source engine details.

displayName String

The display name for the workspace

globalSettings Map<String,String>

A generic list of settings for the workspace. The settings are database pair dependant and can indicate default behavior for the mapping rules engine or turn on or off specific features. Such examples can be: convert_foreign_key_to_interleave=true, skip_triggers=false, ignore_non_table_synonyms=true

location String
name String

Full name of the workspace resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.

project String
requestId 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.

conversionWorkspaceId string

Required. The ID of the conversion workspace to create.

destination DatabaseEngineInfoArgs

The destination engine details.

source DatabaseEngineInfoArgs

The source engine details.

displayName string

The display name for the workspace

globalSettings {[key: string]: string}

A generic list of settings for the workspace. The settings are database pair dependant and can indicate default behavior for the mapping rules engine or turn on or off specific features. Such examples can be: convert_foreign_key_to_interleave=true, skip_triggers=false, ignore_non_table_synonyms=true

location string
name string

Full name of the workspace resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.

project string
requestId 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.

conversion_workspace_id str

Required. The ID of the conversion workspace to create.

destination DatabaseEngineInfoArgs

The destination engine details.

source DatabaseEngineInfoArgs

The source engine details.

display_name str

The display name for the workspace

global_settings Mapping[str, str]

A generic list of settings for the workspace. The settings are database pair dependant and can indicate default behavior for the mapping rules engine or turn on or off specific features. Such examples can be: convert_foreign_key_to_interleave=true, skip_triggers=false, ignore_non_table_synonyms=true

location str
name str

Full name of the workspace resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.

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.

conversionWorkspaceId String

Required. The ID of the conversion workspace to create.

destination Property Map

The destination engine details.

source Property Map

The source engine details.

displayName String

The display name for the workspace

globalSettings Map<String>

A generic list of settings for the workspace. The settings are database pair dependant and can indicate default behavior for the mapping rules engine or turn on or off specific features. Such examples can be: convert_foreign_key_to_interleave=true, skip_triggers=false, ignore_non_table_synonyms=true

location String
name String

Full name of the workspace resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.

project String
requestId 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.

Outputs

All input properties are implicitly available as output properties. Additionally, the ConversionWorkspace resource produces the following output properties:

CreateTime string

The timestamp when the workspace resource was created.

HasUncommittedChanges bool

Whether the workspace has uncommitted changes (changes which were made after the workspace was committed)

Id string

The provider-assigned unique ID for this managed resource.

LatestCommitId string

The latest commit id

LatestCommitTime string

The timestamp when the workspace was committed.

UpdateTime string

The timestamp when the workspace resource was last updated.

CreateTime string

The timestamp when the workspace resource was created.

HasUncommittedChanges bool

Whether the workspace has uncommitted changes (changes which were made after the workspace was committed)

Id string

The provider-assigned unique ID for this managed resource.

LatestCommitId string

The latest commit id

LatestCommitTime string

The timestamp when the workspace was committed.

UpdateTime string

The timestamp when the workspace resource was last updated.

createTime String

The timestamp when the workspace resource was created.

hasUncommittedChanges Boolean

Whether the workspace has uncommitted changes (changes which were made after the workspace was committed)

id String

The provider-assigned unique ID for this managed resource.

latestCommitId String

The latest commit id

latestCommitTime String

The timestamp when the workspace was committed.

updateTime String

The timestamp when the workspace resource was last updated.

createTime string

The timestamp when the workspace resource was created.

hasUncommittedChanges boolean

Whether the workspace has uncommitted changes (changes which were made after the workspace was committed)

id string

The provider-assigned unique ID for this managed resource.

latestCommitId string

The latest commit id

latestCommitTime string

The timestamp when the workspace was committed.

updateTime string

The timestamp when the workspace resource was last updated.

create_time str

The timestamp when the workspace resource was created.

has_uncommitted_changes bool

Whether the workspace has uncommitted changes (changes which were made after the workspace was committed)

id str

The provider-assigned unique ID for this managed resource.

latest_commit_id str

The latest commit id

latest_commit_time str

The timestamp when the workspace was committed.

update_time str

The timestamp when the workspace resource was last updated.

createTime String

The timestamp when the workspace resource was created.

hasUncommittedChanges Boolean

Whether the workspace has uncommitted changes (changes which were made after the workspace was committed)

id String

The provider-assigned unique ID for this managed resource.

latestCommitId String

The latest commit id

latestCommitTime String

The timestamp when the workspace was committed.

updateTime String

The timestamp when the workspace resource was last updated.

Supporting Types

DatabaseEngineInfo

Engine Pulumi.GoogleNative.Datamigration.V1.DatabaseEngineInfoEngine

Engine Type.

Version string

Engine named version, for e.g. 12.c.1

Engine DatabaseEngineInfoEngine

Engine Type.

Version string

Engine named version, for e.g. 12.c.1

engine DatabaseEngineInfoEngine

Engine Type.

version String

Engine named version, for e.g. 12.c.1

engine DatabaseEngineInfoEngine

Engine Type.

version string

Engine named version, for e.g. 12.c.1

engine DatabaseEngineInfoEngine

Engine Type.

version str

Engine named version, for e.g. 12.c.1

engine "DATABASE_ENGINE_UNSPECIFIED" | "MYSQL" | "POSTGRESQL" | "ORACLE"

Engine Type.

version String

Engine named version, for e.g. 12.c.1

DatabaseEngineInfoEngine

DatabaseEngineUnspecified
DATABASE_ENGINE_UNSPECIFIED

The source database engine of the migration job is unknown.

Mysql
MYSQL

The source engine is MySQL.

Postgresql
POSTGRESQL

The source engine is PostgreSQL.

Oracle
ORACLE

The source engine is Oracle

DatabaseEngineInfoEngineDatabaseEngineUnspecified
DATABASE_ENGINE_UNSPECIFIED

The source database engine of the migration job is unknown.

DatabaseEngineInfoEngineMysql
MYSQL

The source engine is MySQL.

DatabaseEngineInfoEnginePostgresql
POSTGRESQL

The source engine is PostgreSQL.

DatabaseEngineInfoEngineOracle
ORACLE

The source engine is Oracle

DatabaseEngineUnspecified
DATABASE_ENGINE_UNSPECIFIED

The source database engine of the migration job is unknown.

Mysql
MYSQL

The source engine is MySQL.

Postgresql
POSTGRESQL

The source engine is PostgreSQL.

Oracle
ORACLE

The source engine is Oracle

DatabaseEngineUnspecified
DATABASE_ENGINE_UNSPECIFIED

The source database engine of the migration job is unknown.

Mysql
MYSQL

The source engine is MySQL.

Postgresql
POSTGRESQL

The source engine is PostgreSQL.

Oracle
ORACLE

The source engine is Oracle

DATABASE_ENGINE_UNSPECIFIED
DATABASE_ENGINE_UNSPECIFIED

The source database engine of the migration job is unknown.

MYSQL
MYSQL

The source engine is MySQL.

POSTGRESQL
POSTGRESQL

The source engine is PostgreSQL.

ORACLE
ORACLE

The source engine is Oracle

"DATABASE_ENGINE_UNSPECIFIED"
DATABASE_ENGINE_UNSPECIFIED

The source database engine of the migration job is unknown.

"MYSQL"
MYSQL

The source engine is MySQL.

"POSTGRESQL"
POSTGRESQL

The source engine is PostgreSQL.

"ORACLE"
ORACLE

The source engine is Oracle

DatabaseEngineInfoResponse

Engine string

Engine Type.

Version string

Engine named version, for e.g. 12.c.1

Engine string

Engine Type.

Version string

Engine named version, for e.g. 12.c.1

engine String

Engine Type.

version String

Engine named version, for e.g. 12.c.1

engine string

Engine Type.

version string

Engine named version, for e.g. 12.c.1

engine str

Engine Type.

version str

Engine named version, for e.g. 12.c.1

engine String

Engine Type.

version String

Engine named version, for e.g. 12.c.1

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0