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.biglake/v1.getDatabase
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 the database specified by the resource name.
Using getDatabase
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 getDatabase(args: GetDatabaseArgs, opts?: InvokeOptions): Promise<GetDatabaseResult>
function getDatabaseOutput(args: GetDatabaseOutputArgs, opts?: InvokeOptions): Output<GetDatabaseResult>
def get_database(catalog_id: Optional[str] = None,
database_id: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDatabaseResult
def get_database_output(catalog_id: Optional[pulumi.Input[str]] = None,
database_id: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDatabaseResult]
func LookupDatabase(ctx *Context, args *LookupDatabaseArgs, opts ...InvokeOption) (*LookupDatabaseResult, error)
func LookupDatabaseOutput(ctx *Context, args *LookupDatabaseOutputArgs, opts ...InvokeOption) LookupDatabaseResultOutput
> Note: This function is named LookupDatabase
in the Go SDK.
public static class GetDatabase
{
public static Task<GetDatabaseResult> InvokeAsync(GetDatabaseArgs args, InvokeOptions? opts = null)
public static Output<GetDatabaseResult> Invoke(GetDatabaseInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDatabaseResult> getDatabase(GetDatabaseArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:biglake/v1:getDatabase
arguments:
# arguments dictionary
The following arguments are supported:
- Catalog
Id string - Database
Id string - Location string
- Project string
- Catalog
Id string - Database
Id string - Location string
- Project string
- catalog
Id String - database
Id String - location String
- project String
- catalog
Id string - database
Id string - location string
- project string
- catalog_
id str - database_
id str - location str
- project str
- catalog
Id String - database
Id String - location String
- project String
getDatabase Result
The following output properties are available:
- Create
Time string - The creation time of the database.
- Delete
Time string - The deletion time of the database. Only set after the database is deleted.
- Expire
Time string - The time when this database is considered expired. Only set after the database is deleted.
- Hive
Options Pulumi.Google Native. Big Lake. V1. Outputs. Hive Database Options Response - Options of a Hive database.
- Name string
- The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}
- Type string
- The database type.
- Update
Time string - The last modification time of the database.
- Create
Time string - The creation time of the database.
- Delete
Time string - The deletion time of the database. Only set after the database is deleted.
- Expire
Time string - The time when this database is considered expired. Only set after the database is deleted.
- Hive
Options HiveDatabase Options Response - Options of a Hive database.
- Name string
- The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}
- Type string
- The database type.
- Update
Time string - The last modification time of the database.
- create
Time String - The creation time of the database.
- delete
Time String - The deletion time of the database. Only set after the database is deleted.
- expire
Time String - The time when this database is considered expired. Only set after the database is deleted.
- hive
Options HiveDatabase Options Response - Options of a Hive database.
- name String
- The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}
- type String
- The database type.
- update
Time String - The last modification time of the database.
- create
Time string - The creation time of the database.
- delete
Time string - The deletion time of the database. Only set after the database is deleted.
- expire
Time string - The time when this database is considered expired. Only set after the database is deleted.
- hive
Options HiveDatabase Options Response - Options of a Hive database.
- name string
- The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}
- type string
- The database type.
- update
Time string - The last modification time of the database.
- create_
time str - The creation time of the database.
- delete_
time str - The deletion time of the database. Only set after the database is deleted.
- expire_
time str - The time when this database is considered expired. Only set after the database is deleted.
- hive_
options HiveDatabase Options Response - Options of a Hive database.
- name str
- The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}
- type str
- The database type.
- update_
time str - The last modification time of the database.
- create
Time String - The creation time of the database.
- delete
Time String - The deletion time of the database. Only set after the database is deleted.
- expire
Time String - The time when this database is considered expired. Only set after the database is deleted.
- hive
Options Property Map - Options of a Hive database.
- name String
- The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}
- type String
- The database type.
- update
Time String - The last modification time of the database.
Supporting Types
HiveDatabaseOptionsResponse
- Location
Uri string - Cloud Storage folder URI where the database data is stored, starting with "gs://".
- Parameters Dictionary<string, string>
- Stores user supplied Hive database parameters.
- Location
Uri string - Cloud Storage folder URI where the database data is stored, starting with "gs://".
- Parameters map[string]string
- Stores user supplied Hive database parameters.
- location
Uri String - Cloud Storage folder URI where the database data is stored, starting with "gs://".
- parameters Map<String,String>
- Stores user supplied Hive database parameters.
- location
Uri string - Cloud Storage folder URI where the database data is stored, starting with "gs://".
- parameters {[key: string]: string}
- Stores user supplied Hive database parameters.
- location_
uri str - Cloud Storage folder URI where the database data is stored, starting with "gs://".
- parameters Mapping[str, str]
- Stores user supplied Hive database parameters.
- location
Uri String - Cloud Storage folder URI where the database data is stored, starting with "gs://".
- parameters Map<String>
- Stores user supplied Hive database parameters.
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