Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.datamigration/v1.ConversionWorkspace
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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:
- Conversion
Workspace stringId Required. The ID of the conversion workspace to create.
- Destination
Pulumi.
Google Native. Datamigration. V1. Inputs. Database Engine Info The destination engine details.
- Source
Pulumi.
Google Native. Datamigration. V1. Inputs. Database Engine Info The source engine details.
- Display
Name string The display name for the workspace.
- Global
Settings 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
- 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 is 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 stringId Required. The ID of the conversion workspace to create.
- Destination
Database
Engine Info Args The destination engine details.
- Source
Database
Engine Info Args The source engine details.
- Display
Name string The display name for the workspace.
- Global
Settings 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
- 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 is 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 StringId Required. The ID of the conversion workspace to create.
- destination
Database
Engine Info The destination engine details.
- source
Database
Engine Info The source engine details.
- display
Name String The display name for the workspace.
- global
Settings 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
- 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 is 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 stringId Required. The ID of the conversion workspace to create.
- destination
Database
Engine Info The destination engine details.
- source
Database
Engine Info The source engine details.
- display
Name string The display name for the workspace.
- global
Settings {[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
- 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 is 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_ strid Required. The ID of the conversion workspace to create.
- destination
Database
Engine Info Args The destination engine details.
- source
Database
Engine Info Args 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 is 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 StringId Required. The ID of the conversion workspace to create.
- destination Property Map
The destination engine details.
- source Property Map
The source engine details.
- display
Name String The display name for the workspace.
- global
Settings 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
- 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 is 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:
- Create
Time string The timestamp when the workspace resource was created.
- Has
Uncommitted boolChanges 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.
- Latest
Commit stringId The latest commit ID.
- Latest
Commit stringTime The timestamp when the workspace was committed.
- Update
Time string The timestamp when the workspace resource was last updated.
- Create
Time string The timestamp when the workspace resource was created.
- Has
Uncommitted boolChanges 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.
- Latest
Commit stringId The latest commit ID.
- Latest
Commit stringTime The timestamp when the workspace was committed.
- Update
Time string The timestamp when the workspace resource was last updated.
- create
Time String The timestamp when the workspace resource was created.
- has
Uncommitted BooleanChanges 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.
- latest
Commit StringId The latest commit ID.
- latest
Commit StringTime The timestamp when the workspace was committed.
- update
Time String The timestamp when the workspace resource was last updated.
- create
Time string The timestamp when the workspace resource was created.
- has
Uncommitted booleanChanges 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.
- latest
Commit stringId The latest commit ID.
- latest
Commit stringTime The timestamp when the workspace was committed.
- update
Time string The timestamp when the workspace resource was last updated.
- create_
time str The timestamp when the workspace resource was created.
- has_
uncommitted_ boolchanges 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_ strid The latest commit ID.
- latest_
commit_ strtime The timestamp when the workspace was committed.
- update_
time str The timestamp when the workspace resource was last updated.
- create
Time String The timestamp when the workspace resource was created.
- has
Uncommitted BooleanChanges 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.
- latest
Commit StringId The latest commit ID.
- latest
Commit StringTime The timestamp when the workspace was committed.
- update
Time String The timestamp when the workspace resource was last updated.
Supporting Types
DatabaseEngineInfo, DatabaseEngineInfoArgs
- Engine
Pulumi.
Google Native. Datamigration. V1. Database Engine Info Engine Engine type.
- Version string
Engine named version, for example 12.c.1.
- Engine
Database
Engine Info Engine Engine type.
- Version string
Engine named version, for example 12.c.1.
- engine
Database
Engine Info Engine Engine type.
- version String
Engine named version, for example 12.c.1.
- engine
Database
Engine Info Engine Engine type.
- version string
Engine named version, for example 12.c.1.
- engine
Database
Engine Info Engine Engine type.
- version str
Engine named version, for example 12.c.1.
- engine "DATABASE_ENGINE_UNSPECIFIED" | "MYSQL" | "POSTGRESQL" | "ORACLE"
Engine type.
- version String
Engine named version, for example 12.c.1.
DatabaseEngineInfoEngine, DatabaseEngineInfoEngineArgs
- 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 Info Engine Database Engine Unspecified - DATABASE_ENGINE_UNSPECIFIED
The source database engine of the migration job is unknown.
- Database
Engine Info Engine Mysql - MYSQL
The source engine is MySQL.
- Database
Engine Info Engine Postgresql - POSTGRESQL
The source engine is PostgreSQL.
- Database
Engine Info Engine 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.
- 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, DatabaseEngineInfoResponseArgs
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.