1. Packages
  2. Google Cloud Native
  3. API Docs
  4. metastore
  5. metastore/v1
  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/v1.getMetadataImport

Explore with Pulumi AI

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>
Copy
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]
Copy
func LookupMetadataImport(ctx *Context, args *LookupMetadataImportArgs, opts ...InvokeOption) (*LookupMetadataImportResult, error)
func LookupMetadataImportOutput(ctx *Context, args *LookupMetadataImportOutputArgs, opts ...InvokeOption) LookupMetadataImportResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetMetadataImportResult> getMetadataImport(GetMetadataImportArgs args, InvokeOptions options)
public static Output<GetMetadataImportResult> getMetadataImport(GetMetadataImportArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: google-native:metastore/v1:getMetadataImport
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Location This property is required. string
MetadataImportId This property is required. string
ServiceId This property is required. string
Project string
Location This property is required. string
MetadataImportId This property is required. string
ServiceId This property is required. string
Project string
location This property is required. String
metadataImportId This property is required. String
serviceId This property is required. String
project String
location This property is required. string
metadataImportId This property is required. string
serviceId This property is required. string
project string
location This property is required. str
metadata_import_id This property is required. str
service_id This property is required. str
project str
location This property is required. String
metadataImportId This property is required. String
serviceId This property is required. 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.V1.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 This property is required. string
The type of the database.
GcsUri This property is required. string
A Cloud Storage object or folder URI that specifies the source from which to import metadata. It must begin with gs://.
SourceDatabase This property is required. string
The name of the source database.
Type This property is required. string
Optional. The type of the database dump. If unspecified, defaults to MYSQL.
DatabaseType This property is required. string
The type of the database.
GcsUri This property is required. string
A Cloud Storage object or folder URI that specifies the source from which to import metadata. It must begin with gs://.
SourceDatabase This property is required. string
The name of the source database.
Type This property is required. string
Optional. The type of the database dump. If unspecified, defaults to MYSQL.
databaseType This property is required. String
The type of the database.
gcsUri This property is required. String
A Cloud Storage object or folder URI that specifies the source from which to import metadata. It must begin with gs://.
sourceDatabase This property is required. String
The name of the source database.
type This property is required. String
Optional. The type of the database dump. If unspecified, defaults to MYSQL.
databaseType This property is required. string
The type of the database.
gcsUri This property is required. string
A Cloud Storage object or folder URI that specifies the source from which to import metadata. It must begin with gs://.
sourceDatabase This property is required. string
The name of the source database.
type This property is required. string
Optional. The type of the database dump. If unspecified, defaults to MYSQL.
database_type This property is required. str
The type of the database.
gcs_uri This property is required. str
A Cloud Storage object or folder URI that specifies the source from which to import metadata. It must begin with gs://.
source_database This property is required. str
The name of the source database.
type This property is required. str
Optional. The type of the database dump. If unspecified, defaults to MYSQL.
databaseType This property is required. String
The type of the database.
gcsUri This property is required. String
A Cloud Storage object or folder URI that specifies the source from which to import metadata. It must begin with gs://.
sourceDatabase This property is required. String
The name of the source database.
type This property is required. 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 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