1. Packages
  2. Google Cloud Native
  3. API Docs
  4. firebasedatabase
  5. firebasedatabase/v1beta
  6. getInstance

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.firebasedatabase/v1beta.getInstance

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 DatabaseInstance identified by the specified resource name.

Using getInstance

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 getInstance(args: GetInstanceArgs, opts?: InvokeOptions): Promise<GetInstanceResult>
function getInstanceOutput(args: GetInstanceOutputArgs, opts?: InvokeOptions): Output<GetInstanceResult>
Copy
def get_instance(instance_id: Optional[str] = None,
                 location: Optional[str] = None,
                 project: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetInstanceResult
def get_instance_output(instance_id: Optional[pulumi.Input[str]] = None,
                 location: Optional[pulumi.Input[str]] = None,
                 project: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetInstanceResult]
Copy
func LookupInstance(ctx *Context, args *LookupInstanceArgs, opts ...InvokeOption) (*LookupInstanceResult, error)
func LookupInstanceOutput(ctx *Context, args *LookupInstanceOutputArgs, opts ...InvokeOption) LookupInstanceResultOutput
Copy

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

public static class GetInstance 
{
    public static Task<GetInstanceResult> InvokeAsync(GetInstanceArgs args, InvokeOptions? opts = null)
    public static Output<GetInstanceResult> Invoke(GetInstanceInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetInstanceResult> getInstance(GetInstanceArgs args, InvokeOptions options)
public static Output<GetInstanceResult> getInstance(GetInstanceArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: google-native:firebasedatabase/v1beta:getInstance
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

InstanceId This property is required. string
Location This property is required. string
Project string
InstanceId This property is required. string
Location This property is required. string
Project string
instanceId This property is required. String
location This property is required. String
project String
instanceId This property is required. string
location This property is required. string
project string
instance_id This property is required. str
location This property is required. str
project str
instanceId This property is required. String
location This property is required. String
project String

getInstance Result

The following output properties are available:

DatabaseUrl string
Output Only. The globally unique hostname of the database.
Name string
The fully qualified resource name of the database instance, in the form: projects/{project-number}/locations/{location-id}/instances/{database-id}.
Project string
The resource name of the project this instance belongs to. For example: projects/{project-number}.
State string
The database's lifecycle state. Read-only.
Type string
Immutable. The database instance type. On creation only USER_DATABASE is allowed, which is also the default when omitted.
DatabaseUrl string
Output Only. The globally unique hostname of the database.
Name string
The fully qualified resource name of the database instance, in the form: projects/{project-number}/locations/{location-id}/instances/{database-id}.
Project string
The resource name of the project this instance belongs to. For example: projects/{project-number}.
State string
The database's lifecycle state. Read-only.
Type string
Immutable. The database instance type. On creation only USER_DATABASE is allowed, which is also the default when omitted.
databaseUrl String
Output Only. The globally unique hostname of the database.
name String
The fully qualified resource name of the database instance, in the form: projects/{project-number}/locations/{location-id}/instances/{database-id}.
project String
The resource name of the project this instance belongs to. For example: projects/{project-number}.
state String
The database's lifecycle state. Read-only.
type String
Immutable. The database instance type. On creation only USER_DATABASE is allowed, which is also the default when omitted.
databaseUrl string
Output Only. The globally unique hostname of the database.
name string
The fully qualified resource name of the database instance, in the form: projects/{project-number}/locations/{location-id}/instances/{database-id}.
project string
The resource name of the project this instance belongs to. For example: projects/{project-number}.
state string
The database's lifecycle state. Read-only.
type string
Immutable. The database instance type. On creation only USER_DATABASE is allowed, which is also the default when omitted.
database_url str
Output Only. The globally unique hostname of the database.
name str
The fully qualified resource name of the database instance, in the form: projects/{project-number}/locations/{location-id}/instances/{database-id}.
project str
The resource name of the project this instance belongs to. For example: projects/{project-number}.
state str
The database's lifecycle state. Read-only.
type str
Immutable. The database instance type. On creation only USER_DATABASE is allowed, which is also the default when omitted.
databaseUrl String
Output Only. The globally unique hostname of the database.
name String
The fully qualified resource name of the database instance, in the form: projects/{project-number}/locations/{location-id}/instances/{database-id}.
project String
The resource name of the project this instance belongs to. For example: projects/{project-number}.
state String
The database's lifecycle state. Read-only.
type String
Immutable. The database instance type. On creation only USER_DATABASE is allowed, which is also the default when omitted.

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