This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.
published on Wednesday, Nov 29, 2023 by Pulumi
This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.
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?: InvokeOutputOptions): 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: pulumi.Input[Optional[str]] = None,
location: pulumi.Input[Optional[str]] = None,
project: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = 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 Output<GetInstanceResult> Invoke(GetInstanceInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetInstanceResult> getInstance(GetInstanceArgs args, InvokeOptions options)
public static Output<GetInstanceResult> getInstance(GetInstanceArgs args, InvokeOptions options)
public static Output<GetInstanceResult> getInstance(GetInstanceArgs args, InvokeOutputOptions options)
fn::invoke:
function: google-native:firebasedatabase/v1beta:getInstance
arguments:
# arguments dictionarydata "google-native_firebasedatabase_v1beta_get_instance" "name" {
# arguments
}The following arguments are supported:
- Instance
Id string - Location string
- Project string
- Instance
Id string - Location string
- Project string
- instance_
id string - location string
- project string
- instance
Id String - location String
- project String
- instance
Id string - location string
- project string
- instance_
id str - location str
- project str
- instance
Id String - location String
- project String
getInstance Result
The following output properties are available:
- Database
Url 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 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 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 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 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.
- database
Url 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
This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.
published on Wednesday, Nov 29, 2023 by Pulumi