1. Registry
  2. Packages
  3. Google Cloud Native
  4. API Docs
  5. metastore
  6. metastore/v1alpha
  7. MetadataImport

This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.

Viewing docs for Google Cloud Native v0.32.0
published on Wednesday, Nov 29, 2023 by Pulumi
google-native logo Google Cloud Native

This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.

Viewing docs for Google Cloud Native v0.32.0
published on Wednesday, Nov 29, 2023 by Pulumi

    Creates a new MetadataImport in a given project and location. Note - this resource’s API doesn’t support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

    Create MetadataImport Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new MetadataImport(name: string, args: MetadataImportArgs, opts?: CustomResourceOptions);
    @overload
    def MetadataImport(resource_name: str,
                       args: MetadataImportArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def MetadataImport(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       metadata_import_id: Optional[str] = None,
                       service_id: Optional[str] = None,
                       database_dump: Optional[DatabaseDumpArgs] = None,
                       description: Optional[str] = None,
                       location: Optional[str] = None,
                       name: Optional[str] = None,
                       project: Optional[str] = None,
                       request_id: Optional[str] = None)
    func NewMetadataImport(ctx *Context, name string, args MetadataImportArgs, opts ...ResourceOption) (*MetadataImport, error)
    public MetadataImport(string name, MetadataImportArgs args, CustomResourceOptions? opts = null)
    public MetadataImport(String name, MetadataImportArgs args)
    public MetadataImport(String name, MetadataImportArgs args, CustomResourceOptions options)
    
    type: google-native:metastore/v1alpha:MetadataImport
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "google-native_metastore_v1alpha_metadata_import" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args MetadataImportArgs
    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 MetadataImportArgs
    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 MetadataImportArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MetadataImportArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MetadataImportArgs
    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_nativeMetadataImportResource = new GoogleNative.Metastore.V1Alpha.MetadataImport("google-nativeMetadataImportResource", new()
    {
        MetadataImportId = "string",
        ServiceId = "string",
        DatabaseDump = new GoogleNative.Metastore.V1Alpha.Inputs.DatabaseDumpArgs
        {
            DatabaseType = GoogleNative.Metastore.V1Alpha.DatabaseDumpDatabaseType.DatabaseTypeUnspecified,
            GcsUri = "string",
            SourceDatabase = "string",
            Type = GoogleNative.Metastore.V1Alpha.DatabaseDumpType.TypeUnspecified,
        },
        Description = "string",
        Location = "string",
        Name = "string",
        Project = "string",
        RequestId = "string",
    });
    
    example, err := metastorev1alpha.NewMetadataImport(ctx, "google-nativeMetadataImportResource", &metastorev1alpha.MetadataImportArgs{
    	MetadataImportId: pulumi.String("string"),
    	ServiceId:        pulumi.String("string"),
    	DatabaseDump: &metastore.DatabaseDumpArgs{
    		DatabaseType:   metastorev1alpha.DatabaseDumpDatabaseTypeDatabaseTypeUnspecified,
    		GcsUri:         pulumi.String("string"),
    		SourceDatabase: pulumi.String("string"),
    		Type:           metastorev1alpha.DatabaseDumpTypeTypeUnspecified,
    	},
    	Description: pulumi.String("string"),
    	Location:    pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	Project:     pulumi.String("string"),
    	RequestId:   pulumi.String("string"),
    })
    
    resource "google-native_metastore_v1alpha_metadata_import" "google-nativeMetadataImportResource" {
      lifecycle {
        create_before_destroy = true
      }
      metadata_import_id = "string"
      service_id         = "string"
      database_dump = {
        database_type   = "DATABASE_TYPE_UNSPECIFIED"
        gcs_uri         = "string"
        source_database = "string"
        type            = "TYPE_UNSPECIFIED"
      }
      description = "string"
      location    = "string"
      name        = "string"
      project     = "string"
      request_id  = "string"
    }
    
    var google_nativeMetadataImportResource = new com.pulumi.googlenative.metastore_v1alpha.MetadataImport("google-nativeMetadataImportResource", com.pulumi.googlenative.metastore_v1alpha.MetadataImportArgs.builder()
        .metadataImportId("string")
        .serviceId("string")
        .databaseDump(com.pulumi.googlenative.metastore_v1alpha.inputs.DatabaseDumpArgs.builder()
            .databaseType(com.pulumi.googlenative.metastore_v1alpha.enums.DatabaseDumpDatabaseType.DatabaseTypeUnspecified)
            .gcsUri("string")
            .sourceDatabase("string")
            .type(com.pulumi.googlenative.metastore_v1alpha.enums.DatabaseDumpType.TypeUnspecified)
            .build())
        .description("string")
        .location("string")
        .name("string")
        .project("string")
        .requestId("string")
        .build());
    
    google_native_metadata_import_resource = google_native.metastore.v1alpha.MetadataImport("google-nativeMetadataImportResource",
        metadata_import_id="string",
        service_id="string",
        database_dump={
            "database_type": google_native.metastore.v1alpha.DatabaseDumpDatabaseType.DATABASE_TYPE_UNSPECIFIED,
            "gcs_uri": "string",
            "source_database": "string",
            "type": google_native.metastore.v1alpha.DatabaseDumpType.TYPE_UNSPECIFIED,
        },
        description="string",
        location="string",
        name="string",
        project="string",
        request_id="string")
    
    const google_nativeMetadataImportResource = new google_native.metastore.v1alpha.MetadataImport("google-nativeMetadataImportResource", {
        metadataImportId: "string",
        serviceId: "string",
        databaseDump: {
            databaseType: google_native.metastore.v1alpha.DatabaseDumpDatabaseType.DatabaseTypeUnspecified,
            gcsUri: "string",
            sourceDatabase: "string",
            type: google_native.metastore.v1alpha.DatabaseDumpType.TypeUnspecified,
        },
        description: "string",
        location: "string",
        name: "string",
        project: "string",
        requestId: "string",
    });
    
    type: google-native:metastore/v1alpha:MetadataImport
    properties:
        databaseDump:
            databaseType: DATABASE_TYPE_UNSPECIFIED
            gcsUri: string
            sourceDatabase: string
            type: TYPE_UNSPECIFIED
        description: string
        location: string
        metadataImportId: string
        name: string
        project: string
        requestId: string
        serviceId: string
    

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

    MetadataImportId string
    Required. The ID of the metadata import, which is used as the final component of the metadata import's name.This value must be between 1 and 64 characters long, begin with a letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens.
    ServiceId string
    DatabaseDump Pulumi.GoogleNative.Metastore.V1Alpha.Inputs.DatabaseDump
    Immutable. A database dump from a pre-existing metastore's database.
    Description string
    The description of the metadata import.
    Location string
    Name string
    Immutable. The relative resource name of the metadata import, of the form:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{metadata_import_id}.
    Project string
    RequestId string
    Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
    MetadataImportId string
    Required. The ID of the metadata import, which is used as the final component of the metadata import's name.This value must be between 1 and 64 characters long, begin with a letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens.
    ServiceId string
    DatabaseDump DatabaseDumpArgs
    Immutable. A database dump from a pre-existing metastore's database.
    Description string
    The description of the metadata import.
    Location string
    Name string
    Immutable. The relative resource name of the metadata import, of the form:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{metadata_import_id}.
    Project string
    RequestId string
    Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
    metadata_import_id string
    Required. The ID of the metadata import, which is used as the final component of the metadata import's name.This value must be between 1 and 64 characters long, begin with a letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens.
    service_id string
    database_dump object
    Immutable. A database dump from a pre-existing metastore's database.
    description string
    The description of the metadata import.
    location string
    name string
    Immutable. The relative resource name of the metadata import, of the form:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{metadata_import_id}.
    project string
    request_id string
    Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
    metadataImportId String
    Required. The ID of the metadata import, which is used as the final component of the metadata import's name.This value must be between 1 and 64 characters long, begin with a letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens.
    serviceId String
    databaseDump DatabaseDump
    Immutable. A database dump from a pre-existing metastore's database.
    description String
    The description of the metadata import.
    location String
    name String
    Immutable. The relative resource name of the metadata import, of the form:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{metadata_import_id}.
    project String
    requestId String
    Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
    metadataImportId string
    Required. The ID of the metadata import, which is used as the final component of the metadata import's name.This value must be between 1 and 64 characters long, begin with a letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens.
    serviceId string
    databaseDump DatabaseDump
    Immutable. A database dump from a pre-existing metastore's database.
    description string
    The description of the metadata import.
    location string
    name string
    Immutable. The relative resource name of the metadata import, of the form:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{metadata_import_id}.
    project string
    requestId string
    Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
    metadata_import_id str
    Required. The ID of the metadata import, which is used as the final component of the metadata import's name.This value must be between 1 and 64 characters long, begin with a letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens.
    service_id str
    database_dump DatabaseDumpArgs
    Immutable. A database dump from a pre-existing metastore's database.
    description str
    The description of the metadata import.
    location str
    name str
    Immutable. The relative resource name of the metadata import, of the form:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{metadata_import_id}.
    project str
    request_id str
    Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
    metadataImportId String
    Required. The ID of the metadata import, which is used as the final component of the metadata import's name.This value must be between 1 and 64 characters long, begin with a letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens.
    serviceId String
    databaseDump Property Map
    Immutable. A database dump from a pre-existing metastore's database.
    description String
    The description of the metadata import.
    location String
    name String
    Immutable. The relative resource name of the metadata import, of the form:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{metadata_import_id}.
    project String
    requestId String
    Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.

    Outputs

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

    CreateTime string
    The time when the metadata import was started.
    EndTime string
    The time when the metadata import finished.
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The current state of the metadata import.
    UpdateTime string
    The time when the metadata import was last updated.
    CreateTime string
    The time when the metadata import was started.
    EndTime string
    The time when the metadata import finished.
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The current state of the metadata import.
    UpdateTime string
    The time when the metadata import was last updated.
    create_time string
    The time when the metadata import was started.
    end_time string
    The time when the metadata import finished.
    id string
    The provider-assigned unique ID for this managed resource.
    state string
    The current state of the metadata import.
    update_time string
    The time when the metadata import was last updated.
    createTime String
    The time when the metadata import was started.
    endTime String
    The time when the metadata import finished.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The current state of the metadata import.
    updateTime String
    The time when the metadata import was last updated.
    createTime string
    The time when the metadata import was started.
    endTime string
    The time when the metadata import finished.
    id string
    The provider-assigned unique ID for this managed resource.
    state string
    The current state of the metadata import.
    updateTime string
    The time when the metadata import was last updated.
    create_time str
    The time when the metadata import was started.
    end_time str
    The time when the metadata import finished.
    id str
    The provider-assigned unique ID for this managed resource.
    state str
    The current state of the metadata import.
    update_time str
    The time when the metadata import was last updated.
    createTime String
    The time when the metadata import was started.
    endTime String
    The time when the metadata import finished.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The current state of the metadata import.
    updateTime String
    The time when the metadata import was last updated.

    Look up Existing MetadataImport Resource

    Get an existing MetadataImport resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): MetadataImport
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> MetadataImport
    func GetMetadataImport(ctx *Context, name string, id IDInput, state *MetadataImportState, opts ...ResourceOption) (*MetadataImport, error)
    public static MetadataImport Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static MetadataImport get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingMetadataImport:    type: google-native:metastore/v1alpha:MetadataImport    get:      id: ${id}
    import {
      to = google-native_metastore_v1alpha_metadata_import.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    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 resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state MetadataImportState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Supporting Types

    DatabaseDump, DatabaseDumpArgs

    A specification of the location of and metadata about a database dump from a relational database management system.
    DatabaseType Pulumi.GoogleNative.Metastore.V1Alpha.DatabaseDumpDatabaseType
    The type of the database.
    GcsUri string
    A Cloud Storage object or folder URI that specifies the source from which to import metadata. It must begin with gs://.
    SourceDatabase string
    The name of the source database.
    Type Pulumi.GoogleNative.Metastore.V1Alpha.DatabaseDumpType
    Optional. The type of the database dump. If unspecified, defaults to MYSQL.
    DatabaseType DatabaseDumpDatabaseType
    The type of the database.
    GcsUri string
    A Cloud Storage object or folder URI that specifies the source from which to import metadata. It must begin with gs://.
    SourceDatabase string
    The name of the source database.
    Type DatabaseDumpType
    Optional. The type of the database dump. If unspecified, defaults to MYSQL.
    database_type "DATABASE_TYPE_UNSPECIFIED" | "MYSQL"
    The type of the database.
    gcs_uri string
    A Cloud Storage object or folder URI that specifies the source from which to import metadata. It must begin with gs://.
    source_database string
    The name of the source database.
    type "TYPE_UNSPECIFIED" | "MYSQL" | "AVRO"
    Optional. The type of the database dump. If unspecified, defaults to MYSQL.
    databaseType DatabaseDumpDatabaseType
    The type of the database.
    gcsUri String
    A Cloud Storage object or folder URI that specifies the source from which to import metadata. It must begin with gs://.
    sourceDatabase String
    The name of the source database.
    type DatabaseDumpType
    Optional. The type of the database dump. If unspecified, defaults to MYSQL.
    databaseType DatabaseDumpDatabaseType
    The type of the database.
    gcsUri string
    A Cloud Storage object or folder URI that specifies the source from which to import metadata. It must begin with gs://.
    sourceDatabase string
    The name of the source database.
    type DatabaseDumpType
    Optional. The type of the database dump. If unspecified, defaults to MYSQL.
    database_type DatabaseDumpDatabaseType
    The type of the database.
    gcs_uri str
    A Cloud Storage object or folder URI that specifies the source from which to import metadata. It must begin with gs://.
    source_database str
    The name of the source database.
    type DatabaseDumpType
    Optional. The type of the database dump. If unspecified, defaults to MYSQL.
    databaseType "DATABASE_TYPE_UNSPECIFIED" | "MYSQL"
    The type of the database.
    gcsUri String
    A Cloud Storage object or folder URI that specifies the source from which to import metadata. It must begin with gs://.
    sourceDatabase String
    The name of the source database.
    type "TYPE_UNSPECIFIED" | "MYSQL" | "AVRO"
    Optional. The type of the database dump. If unspecified, defaults to MYSQL.

    DatabaseDumpDatabaseType, DatabaseDumpDatabaseTypeArgs

    The type of the database.
    NameValueDescription
    DatabaseTypeUnspecifiedDATABASE_TYPE_UNSPECIFIEDThe type of the source database is unknown.
    MysqlMYSQLThe type of the source database is MySQL.
    NameValueDescription
    DatabaseDumpDatabaseTypeDatabaseTypeUnspecifiedDATABASE_TYPE_UNSPECIFIEDThe type of the source database is unknown.
    DatabaseDumpDatabaseTypeMysqlMYSQLThe type of the source database is MySQL.
    ValueDescription
    DATABASE_TYPE_UNSPECIFIEDThe type of the source database is unknown.
    MYSQLThe type of the source database is MySQL.
    NameValueDescription
    DatabaseTypeUnspecifiedDATABASE_TYPE_UNSPECIFIEDThe type of the source database is unknown.
    MysqlMYSQLThe type of the source database is MySQL.
    NameValueDescription
    DatabaseTypeUnspecifiedDATABASE_TYPE_UNSPECIFIEDThe type of the source database is unknown.
    MysqlMYSQLThe type of the source database is MySQL.
    NameValueDescription
    DATABASE_TYPE_UNSPECIFIEDDATABASE_TYPE_UNSPECIFIEDThe type of the source database is unknown.
    MYSQLMYSQLThe type of the source database is MySQL.
    ValueDescription
    DATABASE_TYPE_UNSPECIFIEDThe type of the source database is unknown.
    MYSQLThe type of the source database is MySQL.

    DatabaseDumpResponse, DatabaseDumpResponseArgs

    A specification of the location of and metadata about a database dump from a relational database management system.
    DatabaseType string
    The type of the database.
    GcsUri string
    A Cloud Storage object or folder URI that specifies the source from which to import metadata. It must begin with gs://.
    SourceDatabase string
    The name of the source database.
    Type string
    Optional. The type of the database dump. If unspecified, defaults to MYSQL.
    DatabaseType string
    The type of the database.
    GcsUri string
    A Cloud Storage object or folder URI that specifies the source from which to import metadata. It must begin with gs://.
    SourceDatabase string
    The name of the source database.
    Type string
    Optional. The type of the database dump. If unspecified, defaults to MYSQL.
    database_type string
    The type of the database.
    gcs_uri string
    A Cloud Storage object or folder URI that specifies the source from which to import metadata. It must begin with gs://.
    source_database string
    The name of the source database.
    type string
    Optional. The type of the database dump. If unspecified, defaults to MYSQL.
    databaseType String
    The type of the database.
    gcsUri String
    A Cloud Storage object or folder URI that specifies the source from which to import metadata. It must begin with gs://.
    sourceDatabase String
    The name of the source database.
    type String
    Optional. The type of the database dump. If unspecified, defaults to MYSQL.
    databaseType string
    The type of the database.
    gcsUri string
    A Cloud Storage object or folder URI that specifies the source from which to import metadata. It must begin with gs://.
    sourceDatabase string
    The name of the source database.
    type string
    Optional. The type of the database dump. If unspecified, defaults to MYSQL.
    database_type str
    The type of the database.
    gcs_uri str
    A Cloud Storage object or folder URI that specifies the source from which to import metadata. It must begin with gs://.
    source_database str
    The name of the source database.
    type str
    Optional. The type of the database dump. If unspecified, defaults to MYSQL.
    databaseType String
    The type of the database.
    gcsUri String
    A Cloud Storage object or folder URI that specifies the source from which to import metadata. It must begin with gs://.
    sourceDatabase String
    The name of the source database.
    type String
    Optional. The type of the database dump. If unspecified, defaults to MYSQL.

    DatabaseDumpType, DatabaseDumpTypeArgs

    Optional. The type of the database dump. If unspecified, defaults to MYSQL.
    NameValueDescription
    TypeUnspecifiedTYPE_UNSPECIFIEDThe type of the database dump is unknown.
    MysqlMYSQLDatabase dump is a MySQL dump file.
    AvroAVRODatabase dump contains Avro files.
    NameValueDescription
    DatabaseDumpTypeTypeUnspecifiedTYPE_UNSPECIFIEDThe type of the database dump is unknown.
    DatabaseDumpTypeMysqlMYSQLDatabase dump is a MySQL dump file.
    DatabaseDumpTypeAvroAVRODatabase dump contains Avro files.
    ValueDescription
    TYPE_UNSPECIFIEDThe type of the database dump is unknown.
    MYSQLDatabase dump is a MySQL dump file.
    AVRODatabase dump contains Avro files.
    NameValueDescription
    TypeUnspecifiedTYPE_UNSPECIFIEDThe type of the database dump is unknown.
    MysqlMYSQLDatabase dump is a MySQL dump file.
    AvroAVRODatabase dump contains Avro files.
    NameValueDescription
    TypeUnspecifiedTYPE_UNSPECIFIEDThe type of the database dump is unknown.
    MysqlMYSQLDatabase dump is a MySQL dump file.
    AvroAVRODatabase dump contains Avro files.
    NameValueDescription
    TYPE_UNSPECIFIEDTYPE_UNSPECIFIEDThe type of the database dump is unknown.
    MYSQLMYSQLDatabase dump is a MySQL dump file.
    AVROAVRODatabase dump contains Avro files.
    ValueDescription
    TYPE_UNSPECIFIEDThe type of the database dump is unknown.
    MYSQLDatabase dump is a MySQL dump file.
    AVRODatabase dump contains Avro files.

    Package Details

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

    This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.

    Viewing docs for Google Cloud Native v0.32.0
    published on Wednesday, Nov 29, 2023 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial