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>
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/v1:getMetadataImport
arguments:
# arguments dictionary
The following arguments are supported:
- Location string
- Metadata
Import stringId - Service
Id string - Project string
- Location string
- Metadata
Import stringId - Service
Id string - Project string
- location String
- metadata
Import StringId - service
Id String - project String
- location string
- metadata
Import stringId - service
Id string - project string
- location str
- metadata_
import_ strid - service_
id str - project str
- location String
- metadata
Import StringId - service
Id String - project String
getMetadataImport Result
The following output properties are available:
- Create
Time string - The time when the metadata import was started.
- Database
Dump Pulumi.Google Native. Metastore. V1. Outputs. Database Dump Response - Immutable. A database dump from a pre-existing metastore's database.
- Description string
- The description of the metadata import.
- End
Time 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.
- Update
Time string - The time when the metadata import was last updated.
- Create
Time string - The time when the metadata import was started.
- Database
Dump DatabaseDump Response - Immutable. A database dump from a pre-existing metastore's database.
- Description string
- The description of the metadata import.
- End
Time 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.
- Update
Time string - The time when the metadata import was last updated.
- create
Time String - The time when the metadata import was started.
- database
Dump DatabaseDump Response - Immutable. A database dump from a pre-existing metastore's database.
- description String
- The description of the metadata import.
- end
Time 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.
- update
Time String - The time when the metadata import was last updated.
- create
Time string - The time when the metadata import was started.
- database
Dump DatabaseDump Response - Immutable. A database dump from a pre-existing metastore's database.
- description string
- The description of the metadata import.
- end
Time 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.
- update
Time string - The time when the metadata import was last updated.
- create_
time str - The time when the metadata import was started.
- database_
dump DatabaseDump Response - 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.
- create
Time String - The time when the metadata import was started.
- database
Dump Property Map - Immutable. A database dump from a pre-existing metastore's database.
- description String
- The description of the metadata import.
- end
Time 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.
- update
Time String - The time when the metadata import was last updated.
Supporting Types
DatabaseDumpResponse
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
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