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

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.Instance

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

    Requests that a new DatabaseInstance be created. The state of a successfully created DatabaseInstance is ACTIVE. Only available for projects on the Blaze plan. Projects can be upgraded using the Cloud Billing API https://cloud.google.com/billing/reference/rest/v1/projects/updateBillingInfo. Note that it might take a few minutes for billing enablement state to propagate to Firebase systems.

    Create Instance Resource

    new Instance(name: string, args?: InstanceArgs, opts?: CustomResourceOptions);
    @overload
    def Instance(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 database_id: Optional[str] = None,
                 location: Optional[str] = None,
                 name: Optional[str] = None,
                 project: Optional[str] = None,
                 type: Optional[InstanceType] = None)
    @overload
    def Instance(resource_name: str,
                 args: Optional[InstanceArgs] = None,
                 opts: Optional[ResourceOptions] = None)
    func NewInstance(ctx *Context, name string, args *InstanceArgs, opts ...ResourceOption) (*Instance, error)
    public Instance(string name, InstanceArgs? args = null, CustomResourceOptions? opts = null)
    public Instance(String name, InstanceArgs args)
    public Instance(String name, InstanceArgs args, CustomResourceOptions options)
    
    type: google-native:firebasedatabase/v1beta:Instance
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args InstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args InstanceArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args InstanceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args InstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args InstanceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Instance Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Instance resource accepts the following input properties:

    DatabaseId string
    The globally unique identifier of the database instance.
    Location string
    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
    Type Pulumi.GoogleNative.Firebasedatabase.V1Beta.InstanceType
    Immutable. The database instance type. On creation only USER_DATABASE is allowed, which is also the default when omitted.
    DatabaseId string
    The globally unique identifier of the database instance.
    Location string
    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
    Type InstanceType
    Immutable. The database instance type. On creation only USER_DATABASE is allowed, which is also the default when omitted.
    databaseId String
    The globally unique identifier of the database instance.
    location String
    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
    type InstanceType
    Immutable. The database instance type. On creation only USER_DATABASE is allowed, which is also the default when omitted.
    databaseId string
    The globally unique identifier of the database instance.
    location string
    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
    type InstanceType
    Immutable. The database instance type. On creation only USER_DATABASE is allowed, which is also the default when omitted.
    database_id str
    The globally unique identifier of the database instance.
    location str
    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
    type InstanceType
    Immutable. The database instance type. On creation only USER_DATABASE is allowed, which is also the default when omitted.
    databaseId String
    The globally unique identifier of the database instance.
    location String
    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
    type "DATABASE_INSTANCE_TYPE_UNSPECIFIED" | "DEFAULT_DATABASE" | "USER_DATABASE"
    Immutable. The database instance type. On creation only USER_DATABASE is allowed, which is also the default when omitted.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Instance resource produces the following output properties:

    DatabaseUrl string
    Output Only. The globally unique hostname of the database.
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The database's lifecycle state. Read-only.
    DatabaseUrl string
    Output Only. The globally unique hostname of the database.
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The database's lifecycle state. Read-only.
    databaseUrl String
    Output Only. The globally unique hostname of the database.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The database's lifecycle state. Read-only.
    databaseUrl string
    Output Only. The globally unique hostname of the database.
    id string
    The provider-assigned unique ID for this managed resource.
    state string
    The database's lifecycle state. Read-only.
    database_url str
    Output Only. The globally unique hostname of the database.
    id str
    The provider-assigned unique ID for this managed resource.
    state str
    The database's lifecycle state. Read-only.
    databaseUrl String
    Output Only. The globally unique hostname of the database.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The database's lifecycle state. Read-only.

    Supporting Types

    InstanceType, InstanceTypeArgs

    DatabaseInstanceTypeUnspecified
    DATABASE_INSTANCE_TYPE_UNSPECIFIEDUnknown state, likely the result of an error on the backend. This is only used for distinguishing unset values.
    DefaultDatabase
    DEFAULT_DATABASEThe default database that is provisioned when a project is created.
    UserDatabase
    USER_DATABASEA database that the user created.
    InstanceTypeDatabaseInstanceTypeUnspecified
    DATABASE_INSTANCE_TYPE_UNSPECIFIEDUnknown state, likely the result of an error on the backend. This is only used for distinguishing unset values.
    InstanceTypeDefaultDatabase
    DEFAULT_DATABASEThe default database that is provisioned when a project is created.
    InstanceTypeUserDatabase
    USER_DATABASEA database that the user created.
    DatabaseInstanceTypeUnspecified
    DATABASE_INSTANCE_TYPE_UNSPECIFIEDUnknown state, likely the result of an error on the backend. This is only used for distinguishing unset values.
    DefaultDatabase
    DEFAULT_DATABASEThe default database that is provisioned when a project is created.
    UserDatabase
    USER_DATABASEA database that the user created.
    DatabaseInstanceTypeUnspecified
    DATABASE_INSTANCE_TYPE_UNSPECIFIEDUnknown state, likely the result of an error on the backend. This is only used for distinguishing unset values.
    DefaultDatabase
    DEFAULT_DATABASEThe default database that is provisioned when a project is created.
    UserDatabase
    USER_DATABASEA database that the user created.
    DATABASE_INSTANCE_TYPE_UNSPECIFIED
    DATABASE_INSTANCE_TYPE_UNSPECIFIEDUnknown state, likely the result of an error on the backend. This is only used for distinguishing unset values.
    DEFAULT_DATABASE
    DEFAULT_DATABASEThe default database that is provisioned when a project is created.
    USER_DATABASE
    USER_DATABASEA database that the user created.
    "DATABASE_INSTANCE_TYPE_UNSPECIFIED"
    DATABASE_INSTANCE_TYPE_UNSPECIFIEDUnknown state, likely the result of an error on the backend. This is only used for distinguishing unset values.
    "DEFAULT_DATABASE"
    DEFAULT_DATABASEThe default database that is provisioned when a project is created.
    "USER_DATABASE"
    USER_DATABASEA database that the user created.

    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