Class GCPolicy
Creates a Google Cloud Bigtable GC Policy inside a family. For more information see the official documentation and API.
Inherited Members
Namespace: Pulumi.Gcp.BigTable
Assembly: Pulumi.Gcp.dll
Syntax
public class GCPolicy : CustomResource
Constructors
View SourceGCPolicy(String, GCPolicyArgs, CustomResourceOptions)
Create a GCPolicy resource with the given unique name, arguments, and options.
Declaration
public GCPolicy(string name, GCPolicyArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| GCPolicyArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceColumnFamily
The name of the column family.
Declaration
public Output<string> ColumnFamily { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
InstanceName
The name of the Bigtable instance.
Declaration
public Output<string> InstanceName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
MaxAges
GC policy that applies to all cells older than the given age.
Declaration
public Output<ImmutableArray<GCPolicyMaxAge>> MaxAges { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<GCPolicyMaxAge>> |
MaxVersions
GC policy that applies to all versions of a cell except for the most recent.
Declaration
public Output<ImmutableArray<GCPolicyMaxVersion>> MaxVersions { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<GCPolicyMaxVersion>> |
Mode
If multiple policies are set, you should choose between UNION OR INTERSECTION.
Declaration
public Output<string> Mode { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Project
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Declaration
public Output<string> Project { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Table
The name of the table.
Declaration
public Output<string> Table { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, GCPolicyState, CustomResourceOptions)
Get an existing GCPolicy resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static GCPolicy Get(string name, Input<string> id, GCPolicyState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| GCPolicyState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| GCPolicy |