Table
Creates a Google Cloud Bigtable table inside an instance. For more information see the official documentation and API.
Create a Table Resource
new Table(name: string, args: TableArgs, opts?: CustomResourceOptions);def Table(resource_name, opts=None, column_families=None, instance_name=None, name=None, project=None, split_keys=None, __props__=None);public Table(string name, TableArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args TableArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TableArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TableArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
Table Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Table resource accepts the following input properties:
- Instance
Name string The name of the Bigtable instance.
- Column
Families List<TableColumn Family Args> A group of columns within a table which share a common configuration. This can be specified multiple times. Structure is documented below.
- Name string
The name of the table.
- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Split
Keys List<string> A list of predefined keys to split the table on. !> Warning: Modifying the
split_keysof an existing table will cause the provider to delete/recreate the entiregcp.bigtable.Tableresource.
- Instance
Name string The name of the Bigtable instance.
- Column
Families []TableColumn Family A group of columns within a table which share a common configuration. This can be specified multiple times. Structure is documented below.
- Name string
The name of the table.
- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Split
Keys []string A list of predefined keys to split the table on. !> Warning: Modifying the
split_keysof an existing table will cause the provider to delete/recreate the entiregcp.bigtable.Tableresource.
- instance
Name string The name of the Bigtable instance.
- column
Families TableColumn Family[] A group of columns within a table which share a common configuration. This can be specified multiple times. Structure is documented below.
- name string
The name of the table.
- project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- split
Keys string[] A list of predefined keys to split the table on. !> Warning: Modifying the
split_keysof an existing table will cause the provider to delete/recreate the entiregcp.bigtable.Tableresource.
- instance_
name str The name of the Bigtable instance.
- column_
families List[TableColumn Family] A group of columns within a table which share a common configuration. This can be specified multiple times. Structure is documented below.
- name str
The name of the table.
- project str
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- split_
keys List[str] A list of predefined keys to split the table on. !> Warning: Modifying the
split_keysof an existing table will cause the provider to delete/recreate the entiregcp.bigtable.Tableresource.
Outputs
All input properties are implicitly available as output properties. Additionally, the Table resource produces the following output properties:
Look up an Existing Table Resource
Get an existing Table resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: TableState, opts?: CustomResourceOptions): Tablestatic get(resource_name, id, opts=None, column_families=None, instance_name=None, name=None, project=None, split_keys=None, __props__=None);func GetTable(ctx *Context, name string, id IDInput, state *TableState, opts ...ResourceOption) (*Table, error)public static Table Get(string name, Input<string> id, TableState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Column
Families List<TableColumn Family Args> A group of columns within a table which share a common configuration. This can be specified multiple times. Structure is documented below.
- Instance
Name string The name of the Bigtable instance.
- Name string
The name of the table.
- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Split
Keys List<string> A list of predefined keys to split the table on. !> Warning: Modifying the
split_keysof an existing table will cause the provider to delete/recreate the entiregcp.bigtable.Tableresource.
- Column
Families []TableColumn Family A group of columns within a table which share a common configuration. This can be specified multiple times. Structure is documented below.
- Instance
Name string The name of the Bigtable instance.
- Name string
The name of the table.
- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Split
Keys []string A list of predefined keys to split the table on. !> Warning: Modifying the
split_keysof an existing table will cause the provider to delete/recreate the entiregcp.bigtable.Tableresource.
- column
Families TableColumn Family[] A group of columns within a table which share a common configuration. This can be specified multiple times. Structure is documented below.
- instance
Name string The name of the Bigtable instance.
- name string
The name of the table.
- project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- split
Keys string[] A list of predefined keys to split the table on. !> Warning: Modifying the
split_keysof an existing table will cause the provider to delete/recreate the entiregcp.bigtable.Tableresource.
- column_
families List[TableColumn Family] A group of columns within a table which share a common configuration. This can be specified multiple times. Structure is documented below.
- instance_
name str The name of the Bigtable instance.
- name str
The name of the table.
- project str
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- split_
keys List[str] A list of predefined keys to split the table on. !> Warning: Modifying the
split_keysof an existing table will cause the provider to delete/recreate the entiregcp.bigtable.Tableresource.
Supporting Types
TableColumnFamily
Package Details
- Repository
- https://github.com/pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.