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-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 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>
    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]
    func LookupInstance(ctx *Context, args *LookupInstanceArgs, opts ...InvokeOption) (*LookupInstanceResult, error)
    func LookupInstanceOutput(ctx *Context, args *LookupInstanceOutputArgs, opts ...InvokeOption) LookupInstanceResultOutput

    > 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)
    }
    public static CompletableFuture<GetInstanceResult> getInstance(GetInstanceArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:firebasedatabase/v1beta:getInstance
      arguments:
        # arguments dictionary

    The following arguments are supported:

    InstanceId string
    Location string
    Project string
    InstanceId string
    Location string
    Project string
    instanceId String
    location String
    project String
    instanceId string
    location string
    project string
    instanceId String
    location 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-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