1. Packages
  2. Google Cloud Native
  3. API Docs
  4. metastore
  5. metastore/v1beta
  6. getMetadataImport

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

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

google-native.metastore/v1beta.getMetadataImport

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

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

    Gets details of a single import.

    Using getMetadataImport

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getMetadataImport(args: GetMetadataImportArgs, opts?: InvokeOptions): Promise<GetMetadataImportResult>
    function getMetadataImportOutput(args: GetMetadataImportOutputArgs, opts?: InvokeOptions): Output<GetMetadataImportResult>
    def get_metadata_import(location: Optional[str] = None,
                            metadata_import_id: Optional[str] = None,
                            project: Optional[str] = None,
                            service_id: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetMetadataImportResult
    def get_metadata_import_output(location: Optional[pulumi.Input[str]] = None,
                            metadata_import_id: Optional[pulumi.Input[str]] = None,
                            project: Optional[pulumi.Input[str]] = None,
                            service_id: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetMetadataImportResult]
    func LookupMetadataImport(ctx *Context, args *LookupMetadataImportArgs, opts ...InvokeOption) (*LookupMetadataImportResult, error)
    func LookupMetadataImportOutput(ctx *Context, args *LookupMetadataImportOutputArgs, opts ...InvokeOption) LookupMetadataImportResultOutput

    > Note: This function is named LookupMetadataImport in the Go SDK.

    public static class GetMetadataImport 
    {
        public static Task<GetMetadataImportResult> InvokeAsync(GetMetadataImportArgs args, InvokeOptions? opts = null)
        public static Output<GetMetadataImportResult> Invoke(GetMetadataImportInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMetadataImportResult> getMetadataImport(GetMetadataImportArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:metastore/v1beta:getMetadataImport
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Location string
    MetadataImportId string
    ServiceId string
    Project string
    Location string
    MetadataImportId string
    ServiceId string
    Project string
    location String
    metadataImportId String
    serviceId String
    project String
    location string
    metadataImportId string
    serviceId string
    project string
    location String
    metadataImportId String
    serviceId String
    project String

    getMetadataImport Result

    The following output properties are available:

    CreateTime string
    The time when the metadata import was started.
    DatabaseDump Pulumi.GoogleNative.Metastore.V1Beta.Outputs.DatabaseDumpResponse
    Immutable. A database dump from a pre-existing metastore's database.
    Description string
    The description of the metadata import.
    EndTime string
    The time when the metadata import finished.
    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}.
    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.
    DatabaseDump DatabaseDumpResponse
    Immutable. A database dump from a pre-existing metastore's database.
    Description string
    The description of the metadata import.
    EndTime string
    The time when the metadata import finished.
    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}.
    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.
    databaseDump DatabaseDumpResponse
    Immutable. A database dump from a pre-existing metastore's database.
    description String
    The description of the metadata import.
    endTime String
    The time when the metadata import finished.
    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}.
    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.
    databaseDump DatabaseDumpResponse
    Immutable. A database dump from a pre-existing metastore's database.
    description string
    The description of the metadata import.
    endTime string
    The time when the metadata import finished.
    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}.
    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.
    database_dump DatabaseDumpResponse
    Immutable. A database dump from a pre-existing metastore's database.
    description str
    The description of the metadata import.
    end_time str
    The time when the metadata import finished.
    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}.
    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.
    databaseDump Property Map
    Immutable. A database dump from a pre-existing metastore's database.
    description String
    The description of the metadata import.
    endTime String
    The time when the metadata import finished.
    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}.
    state String
    The current state of the metadata import.
    updateTime String
    The time when the metadata import was last updated.

    Supporting Types

    DatabaseDumpResponse

    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.
    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.

    Package Details

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

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

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