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
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ConversionWorkspace(name: string, args: ConversionWorkspaceArgs, opts?: CustomResourceOptions);@overload
def ConversionWorkspace(resource_name: str,
                        args: ConversionWorkspaceArgs,
                        opts: Optional[ResourceOptions] = None)
@overload
def ConversionWorkspace(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        conversion_workspace_id: Optional[str] = None,
                        destination: Optional[DatabaseEngineInfoArgs] = None,
                        source: 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)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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var conversionWorkspaceResource = new GoogleNative.Datamigration.V1.ConversionWorkspace("conversionWorkspaceResource", new()
{
    ConversionWorkspaceId = "string",
    Destination = new GoogleNative.Datamigration.V1.Inputs.DatabaseEngineInfoArgs
    {
        Engine = GoogleNative.Datamigration.V1.DatabaseEngineInfoEngine.DatabaseEngineUnspecified,
        Version = "string",
    },
    Source = new GoogleNative.Datamigration.V1.Inputs.DatabaseEngineInfoArgs
    {
        Engine = GoogleNative.Datamigration.V1.DatabaseEngineInfoEngine.DatabaseEngineUnspecified,
        Version = "string",
    },
    DisplayName = "string",
    GlobalSettings = 
    {
        { "string", "string" },
    },
    Location = "string",
    Name = "string",
    Project = "string",
    RequestId = "string",
});
example, err := datamigration.NewConversionWorkspace(ctx, "conversionWorkspaceResource", &datamigration.ConversionWorkspaceArgs{
	ConversionWorkspaceId: pulumi.String("string"),
	Destination: &datamigration.DatabaseEngineInfoArgs{
		Engine:  datamigration.DatabaseEngineInfoEngineDatabaseEngineUnspecified,
		Version: pulumi.String("string"),
	},
	Source: &datamigration.DatabaseEngineInfoArgs{
		Engine:  datamigration.DatabaseEngineInfoEngineDatabaseEngineUnspecified,
		Version: pulumi.String("string"),
	},
	DisplayName: pulumi.String("string"),
	GlobalSettings: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Location:  pulumi.String("string"),
	Name:      pulumi.String("string"),
	Project:   pulumi.String("string"),
	RequestId: pulumi.String("string"),
})
var conversionWorkspaceResource = new ConversionWorkspace("conversionWorkspaceResource", ConversionWorkspaceArgs.builder()
    .conversionWorkspaceId("string")
    .destination(DatabaseEngineInfoArgs.builder()
        .engine("DATABASE_ENGINE_UNSPECIFIED")
        .version("string")
        .build())
    .source(DatabaseEngineInfoArgs.builder()
        .engine("DATABASE_ENGINE_UNSPECIFIED")
        .version("string")
        .build())
    .displayName("string")
    .globalSettings(Map.of("string", "string"))
    .location("string")
    .name("string")
    .project("string")
    .requestId("string")
    .build());
conversion_workspace_resource = google_native.datamigration.v1.ConversionWorkspace("conversionWorkspaceResource",
    conversion_workspace_id="string",
    destination={
        "engine": google_native.datamigration.v1.DatabaseEngineInfoEngine.DATABASE_ENGINE_UNSPECIFIED,
        "version": "string",
    },
    source={
        "engine": google_native.datamigration.v1.DatabaseEngineInfoEngine.DATABASE_ENGINE_UNSPECIFIED,
        "version": "string",
    },
    display_name="string",
    global_settings={
        "string": "string",
    },
    location="string",
    name="string",
    project="string",
    request_id="string")
const conversionWorkspaceResource = new google_native.datamigration.v1.ConversionWorkspace("conversionWorkspaceResource", {
    conversionWorkspaceId: "string",
    destination: {
        engine: google_native.datamigration.v1.DatabaseEngineInfoEngine.DatabaseEngineUnspecified,
        version: "string",
    },
    source: {
        engine: google_native.datamigration.v1.DatabaseEngineInfoEngine.DatabaseEngineUnspecified,
        version: "string",
    },
    displayName: "string",
    globalSettings: {
        string: "string",
    },
    location: "string",
    name: "string",
    project: "string",
    requestId: "string",
});
type: google-native:datamigration/v1:ConversionWorkspace
properties:
    conversionWorkspaceId: string
    destination:
        engine: DATABASE_ENGINE_UNSPECIFIED
        version: string
    displayName: string
    globalSettings:
        string: string
    location: string
    name: string
    project: string
    requestId: string
    source:
        engine: DATABASE_ENGINE_UNSPECIFIED
        version: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ConversionWorkspace resource accepts the following input properties:
- ConversionWorkspace 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.
- DisplayName string
- Optional. The display name for the workspace.
- GlobalSettings Dictionary<string, string>
- Optional. 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 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.
- ConversionWorkspace stringId 
- Required. The ID of the conversion workspace to create.
- Destination
DatabaseEngine Info Args 
- The destination engine details.
- Source
DatabaseEngine Info Args 
- The source engine details.
- DisplayName string
- Optional. The display name for the workspace.
- GlobalSettings map[string]string
- Optional. 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 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.
- conversionWorkspace StringId 
- Required. The ID of the conversion workspace to create.
- destination
DatabaseEngine Info 
- The destination engine details.
- source
DatabaseEngine Info 
- The source engine details.
- displayName String
- Optional. The display name for the workspace.
- globalSettings Map<String,String>
- Optional. 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 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.
- conversionWorkspace stringId 
- Required. The ID of the conversion workspace to create.
- destination
DatabaseEngine Info 
- The destination engine details.
- source
DatabaseEngine Info 
- The source engine details.
- displayName string
- Optional. The display name for the workspace.
- globalSettings {[key: string]: string}
- Optional. 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 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
DatabaseEngine Info Args 
- The destination engine details.
- source
DatabaseEngine Info Args 
- The source engine details.
- display_name str
- Optional. The display name for the workspace.
- global_settings Mapping[str, str]
- Optional. 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.
- conversionWorkspace StringId 
- 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
- Optional. The display name for the workspace.
- globalSettings Map<String>
- Optional. 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 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:
- CreateTime string
- The timestamp when the workspace resource was created.
- HasUncommitted 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.
- LatestCommit stringId 
- The latest commit ID.
- LatestCommit stringTime 
- 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.
- HasUncommitted 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.
- LatestCommit stringId 
- The latest commit ID.
- LatestCommit stringTime 
- 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.
- hasUncommitted 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.
- latestCommit StringId 
- The latest commit ID.
- latestCommit StringTime 
- 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.
- hasUncommitted 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.
- latestCommit stringId 
- The latest commit ID.
- latestCommit stringTime 
- 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_ 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.
- createTime String
- The timestamp when the workspace resource was created.
- hasUncommitted 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.
- latestCommit StringId 
- The latest commit ID.
- latestCommit StringTime 
- The timestamp when the workspace was committed.
- updateTime 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 version, for example "12.c.1".
- Engine
DatabaseEngine Info Engine 
- Engine type.
- Version string
- Engine version, for example "12.c.1".
- engine
DatabaseEngine Info Engine 
- Engine type.
- version String
- Engine version, for example "12.c.1".
- engine
DatabaseEngine Info Engine 
- Engine type.
- version string
- Engine version, for example "12.c.1".
- engine
DatabaseEngine Info Engine 
- Engine type.
- version str
- Engine version, for example "12.c.1".
- engine "DATABASE_ENGINE_UNSPECIFIED" | "MYSQL" | "POSTGRESQL" | "ORACLE"
- Engine type.
- version String
- Engine version, for example "12.c.1".
DatabaseEngineInfoEngine, DatabaseEngineInfoEngineArgs        
- DatabaseEngine Unspecified 
- DATABASE_ENGINE_UNSPECIFIEDThe source database engine of the migration job is unknown.
- Mysql
- MYSQLThe source engine is MySQL.
- Postgresql
- POSTGRESQLThe source engine is PostgreSQL.
- Oracle
- ORACLEThe source engine is Oracle.
- DatabaseEngine Info Engine Database Engine Unspecified 
- DATABASE_ENGINE_UNSPECIFIEDThe source database engine of the migration job is unknown.
- DatabaseEngine Info Engine Mysql 
- MYSQLThe source engine is MySQL.
- DatabaseEngine Info Engine Postgresql 
- POSTGRESQLThe source engine is PostgreSQL.
- DatabaseEngine Info Engine Oracle 
- ORACLEThe source engine is Oracle.
- DatabaseEngine Unspecified 
- DATABASE_ENGINE_UNSPECIFIEDThe source database engine of the migration job is unknown.
- Mysql
- MYSQLThe source engine is MySQL.
- Postgresql
- POSTGRESQLThe source engine is PostgreSQL.
- Oracle
- ORACLEThe source engine is Oracle.
- DatabaseEngine Unspecified 
- DATABASE_ENGINE_UNSPECIFIEDThe source database engine of the migration job is unknown.
- Mysql
- MYSQLThe source engine is MySQL.
- Postgresql
- POSTGRESQLThe source engine is PostgreSQL.
- Oracle
- ORACLEThe source engine is Oracle.
- DATABASE_ENGINE_UNSPECIFIED
- DATABASE_ENGINE_UNSPECIFIEDThe source database engine of the migration job is unknown.
- MYSQL
- MYSQLThe source engine is MySQL.
- POSTGRESQL
- POSTGRESQLThe source engine is PostgreSQL.
- ORACLE
- ORACLEThe source engine is Oracle.
- "DATABASE_ENGINE_UNSPECIFIED"
- DATABASE_ENGINE_UNSPECIFIEDThe source database engine of the migration job is unknown.
- "MYSQL"
- MYSQLThe source engine is MySQL.
- "POSTGRESQL"
- POSTGRESQLThe source engine is PostgreSQL.
- "ORACLE"
- ORACLEThe 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.