Documentation ¶
Index ¶
- type GCPolicy
- type GCPolicyArgs
- type GCPolicyMaxAge
- type GCPolicyMaxAgeArgs
- type GCPolicyMaxAgeArray
- type GCPolicyMaxAgeArrayInput
- type GCPolicyMaxAgeArrayOutput
- func (GCPolicyMaxAgeArrayOutput) ElementType() reflect.Type
- func (o GCPolicyMaxAgeArrayOutput) Index(i pulumi.IntInput) GCPolicyMaxAgeOutput
- func (o GCPolicyMaxAgeArrayOutput) ToGCPolicyMaxAgeArrayOutput() GCPolicyMaxAgeArrayOutput
- func (o GCPolicyMaxAgeArrayOutput) ToGCPolicyMaxAgeArrayOutputWithContext(ctx context.Context) GCPolicyMaxAgeArrayOutput
- type GCPolicyMaxAgeInput
- type GCPolicyMaxAgeOutput
- type GCPolicyMaxVersion
- type GCPolicyMaxVersionArgs
- type GCPolicyMaxVersionArray
- type GCPolicyMaxVersionArrayInput
- type GCPolicyMaxVersionArrayOutput
- func (GCPolicyMaxVersionArrayOutput) ElementType() reflect.Type
- func (o GCPolicyMaxVersionArrayOutput) Index(i pulumi.IntInput) GCPolicyMaxVersionOutput
- func (o GCPolicyMaxVersionArrayOutput) ToGCPolicyMaxVersionArrayOutput() GCPolicyMaxVersionArrayOutput
- func (o GCPolicyMaxVersionArrayOutput) ToGCPolicyMaxVersionArrayOutputWithContext(ctx context.Context) GCPolicyMaxVersionArrayOutput
- type GCPolicyMaxVersionInput
- type GCPolicyMaxVersionOutput
- func (GCPolicyMaxVersionOutput) ElementType() reflect.Type
- func (o GCPolicyMaxVersionOutput) Number() pulumi.IntOutput
- func (o GCPolicyMaxVersionOutput) ToGCPolicyMaxVersionOutput() GCPolicyMaxVersionOutput
- func (o GCPolicyMaxVersionOutput) ToGCPolicyMaxVersionOutputWithContext(ctx context.Context) GCPolicyMaxVersionOutput
- type GCPolicyState
- type Instance
- type InstanceArgs
- type InstanceCluster
- type InstanceClusterArgs
- type InstanceClusterArray
- type InstanceClusterArrayInput
- type InstanceClusterArrayOutput
- func (InstanceClusterArrayOutput) ElementType() reflect.Type
- func (o InstanceClusterArrayOutput) Index(i pulumi.IntInput) InstanceClusterOutput
- func (o InstanceClusterArrayOutput) ToInstanceClusterArrayOutput() InstanceClusterArrayOutput
- func (o InstanceClusterArrayOutput) ToInstanceClusterArrayOutputWithContext(ctx context.Context) InstanceClusterArrayOutput
- type InstanceClusterInput
- type InstanceClusterOutput
- func (o InstanceClusterOutput) ClusterId() pulumi.StringOutput
- func (InstanceClusterOutput) ElementType() reflect.Type
- func (o InstanceClusterOutput) NumNodes() pulumi.IntPtrOutput
- func (o InstanceClusterOutput) StorageType() pulumi.StringPtrOutput
- func (o InstanceClusterOutput) ToInstanceClusterOutput() InstanceClusterOutput
- func (o InstanceClusterOutput) ToInstanceClusterOutputWithContext(ctx context.Context) InstanceClusterOutput
- func (o InstanceClusterOutput) Zone() pulumi.StringOutput
- type InstanceIamBinding
- type InstanceIamBindingArgs
- type InstanceIamBindingCondition
- type InstanceIamBindingConditionArgs
- func (InstanceIamBindingConditionArgs) ElementType() reflect.Type
- func (i InstanceIamBindingConditionArgs) ToInstanceIamBindingConditionOutput() InstanceIamBindingConditionOutput
- func (i InstanceIamBindingConditionArgs) ToInstanceIamBindingConditionOutputWithContext(ctx context.Context) InstanceIamBindingConditionOutput
- func (i InstanceIamBindingConditionArgs) ToInstanceIamBindingConditionPtrOutput() InstanceIamBindingConditionPtrOutput
- func (i InstanceIamBindingConditionArgs) ToInstanceIamBindingConditionPtrOutputWithContext(ctx context.Context) InstanceIamBindingConditionPtrOutput
- type InstanceIamBindingConditionInput
- type InstanceIamBindingConditionOutput
- func (o InstanceIamBindingConditionOutput) Description() pulumi.StringPtrOutput
- func (InstanceIamBindingConditionOutput) ElementType() reflect.Type
- func (o InstanceIamBindingConditionOutput) Expression() pulumi.StringOutput
- func (o InstanceIamBindingConditionOutput) Title() pulumi.StringOutput
- func (o InstanceIamBindingConditionOutput) ToInstanceIamBindingConditionOutput() InstanceIamBindingConditionOutput
- func (o InstanceIamBindingConditionOutput) ToInstanceIamBindingConditionOutputWithContext(ctx context.Context) InstanceIamBindingConditionOutput
- func (o InstanceIamBindingConditionOutput) ToInstanceIamBindingConditionPtrOutput() InstanceIamBindingConditionPtrOutput
- func (o InstanceIamBindingConditionOutput) ToInstanceIamBindingConditionPtrOutputWithContext(ctx context.Context) InstanceIamBindingConditionPtrOutput
- type InstanceIamBindingConditionPtrInput
- type InstanceIamBindingConditionPtrOutput
- func (o InstanceIamBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o InstanceIamBindingConditionPtrOutput) Elem() InstanceIamBindingConditionOutput
- func (InstanceIamBindingConditionPtrOutput) ElementType() reflect.Type
- func (o InstanceIamBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o InstanceIamBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o InstanceIamBindingConditionPtrOutput) ToInstanceIamBindingConditionPtrOutput() InstanceIamBindingConditionPtrOutput
- func (o InstanceIamBindingConditionPtrOutput) ToInstanceIamBindingConditionPtrOutputWithContext(ctx context.Context) InstanceIamBindingConditionPtrOutput
- type InstanceIamBindingState
- type InstanceIamMember
- type InstanceIamMemberArgs
- type InstanceIamMemberCondition
- type InstanceIamMemberConditionArgs
- func (InstanceIamMemberConditionArgs) ElementType() reflect.Type
- func (i InstanceIamMemberConditionArgs) ToInstanceIamMemberConditionOutput() InstanceIamMemberConditionOutput
- func (i InstanceIamMemberConditionArgs) ToInstanceIamMemberConditionOutputWithContext(ctx context.Context) InstanceIamMemberConditionOutput
- func (i InstanceIamMemberConditionArgs) ToInstanceIamMemberConditionPtrOutput() InstanceIamMemberConditionPtrOutput
- func (i InstanceIamMemberConditionArgs) ToInstanceIamMemberConditionPtrOutputWithContext(ctx context.Context) InstanceIamMemberConditionPtrOutput
- type InstanceIamMemberConditionInput
- type InstanceIamMemberConditionOutput
- func (o InstanceIamMemberConditionOutput) Description() pulumi.StringPtrOutput
- func (InstanceIamMemberConditionOutput) ElementType() reflect.Type
- func (o InstanceIamMemberConditionOutput) Expression() pulumi.StringOutput
- func (o InstanceIamMemberConditionOutput) Title() pulumi.StringOutput
- func (o InstanceIamMemberConditionOutput) ToInstanceIamMemberConditionOutput() InstanceIamMemberConditionOutput
- func (o InstanceIamMemberConditionOutput) ToInstanceIamMemberConditionOutputWithContext(ctx context.Context) InstanceIamMemberConditionOutput
- func (o InstanceIamMemberConditionOutput) ToInstanceIamMemberConditionPtrOutput() InstanceIamMemberConditionPtrOutput
- func (o InstanceIamMemberConditionOutput) ToInstanceIamMemberConditionPtrOutputWithContext(ctx context.Context) InstanceIamMemberConditionPtrOutput
- type InstanceIamMemberConditionPtrInput
- type InstanceIamMemberConditionPtrOutput
- func (o InstanceIamMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o InstanceIamMemberConditionPtrOutput) Elem() InstanceIamMemberConditionOutput
- func (InstanceIamMemberConditionPtrOutput) ElementType() reflect.Type
- func (o InstanceIamMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o InstanceIamMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o InstanceIamMemberConditionPtrOutput) ToInstanceIamMemberConditionPtrOutput() InstanceIamMemberConditionPtrOutput
- func (o InstanceIamMemberConditionPtrOutput) ToInstanceIamMemberConditionPtrOutputWithContext(ctx context.Context) InstanceIamMemberConditionPtrOutput
- type InstanceIamMemberState
- type InstanceIamPolicy
- type InstanceIamPolicyArgs
- type InstanceIamPolicyState
- type InstanceState
- type Table
- type TableArgs
- type TableColumnFamily
- type TableColumnFamilyArgs
- type TableColumnFamilyArray
- type TableColumnFamilyArrayInput
- type TableColumnFamilyArrayOutput
- func (TableColumnFamilyArrayOutput) ElementType() reflect.Type
- func (o TableColumnFamilyArrayOutput) Index(i pulumi.IntInput) TableColumnFamilyOutput
- func (o TableColumnFamilyArrayOutput) ToTableColumnFamilyArrayOutput() TableColumnFamilyArrayOutput
- func (o TableColumnFamilyArrayOutput) ToTableColumnFamilyArrayOutputWithContext(ctx context.Context) TableColumnFamilyArrayOutput
- type TableColumnFamilyInput
- type TableColumnFamilyOutput
- func (TableColumnFamilyOutput) ElementType() reflect.Type
- func (o TableColumnFamilyOutput) Family() pulumi.StringOutput
- func (o TableColumnFamilyOutput) ToTableColumnFamilyOutput() TableColumnFamilyOutput
- func (o TableColumnFamilyOutput) ToTableColumnFamilyOutputWithContext(ctx context.Context) TableColumnFamilyOutput
- type TableState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GCPolicy ¶
type GCPolicy struct { pulumi.CustomResourceState // The name of the column family. ColumnFamily pulumi.StringOutput `pulumi:"columnFamily"` // The name of the Bigtable instance. InstanceName pulumi.StringOutput `pulumi:"instanceName"` // GC policy that applies to all cells older than the given age. MaxAges GCPolicyMaxAgeArrayOutput `pulumi:"maxAges"` // GC policy that applies to all versions of a cell except for the most recent. MaxVersions GCPolicyMaxVersionArrayOutput `pulumi:"maxVersions"` // If multiple policies are set, you should choose between `UNION` OR `INTERSECTION`. Mode pulumi.StringPtrOutput `pulumi:"mode"` // The ID of the project in which the resource belongs. If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The name of the table. Table pulumi.StringOutput `pulumi:"table"` }
Creates a Google Cloud Bigtable GC Policy inside a family. For more information see [the official documentation](https://cloud.google.com/bigtable/) and [API](https://cloud.google.com/bigtable/docs/go/reference).
func GetGCPolicy ¶
func GetGCPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GCPolicyState, opts ...pulumi.ResourceOption) (*GCPolicy, error)
GetGCPolicy gets an existing GCPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewGCPolicy ¶
func NewGCPolicy(ctx *pulumi.Context, name string, args *GCPolicyArgs, opts ...pulumi.ResourceOption) (*GCPolicy, error)
NewGCPolicy registers a new resource with the given unique name, arguments, and options.
type GCPolicyArgs ¶
type GCPolicyArgs struct { // The name of the column family. ColumnFamily pulumi.StringInput // The name of the Bigtable instance. InstanceName pulumi.StringInput // GC policy that applies to all cells older than the given age. MaxAges GCPolicyMaxAgeArrayInput // GC policy that applies to all versions of a cell except for the most recent. MaxVersions GCPolicyMaxVersionArrayInput // If multiple policies are set, you should choose between `UNION` OR `INTERSECTION`. Mode pulumi.StringPtrInput // The ID of the project in which the resource belongs. If it is not provided, the provider project is used. Project pulumi.StringPtrInput // The name of the table. Table pulumi.StringInput }
The set of arguments for constructing a GCPolicy resource.
func (GCPolicyArgs) ElementType ¶
func (GCPolicyArgs) ElementType() reflect.Type
type GCPolicyMaxAge ¶
type GCPolicyMaxAge struct { // Number of days before applying GC policy. Days int `pulumi:"days"` }
type GCPolicyMaxAgeArgs ¶
type GCPolicyMaxAgeArgs struct { // Number of days before applying GC policy. Days pulumi.IntInput `pulumi:"days"` }
func (GCPolicyMaxAgeArgs) ElementType ¶
func (GCPolicyMaxAgeArgs) ElementType() reflect.Type
func (GCPolicyMaxAgeArgs) ToGCPolicyMaxAgeOutput ¶
func (i GCPolicyMaxAgeArgs) ToGCPolicyMaxAgeOutput() GCPolicyMaxAgeOutput
func (GCPolicyMaxAgeArgs) ToGCPolicyMaxAgeOutputWithContext ¶
func (i GCPolicyMaxAgeArgs) ToGCPolicyMaxAgeOutputWithContext(ctx context.Context) GCPolicyMaxAgeOutput
type GCPolicyMaxAgeArray ¶
type GCPolicyMaxAgeArray []GCPolicyMaxAgeInput
func (GCPolicyMaxAgeArray) ElementType ¶
func (GCPolicyMaxAgeArray) ElementType() reflect.Type
func (GCPolicyMaxAgeArray) ToGCPolicyMaxAgeArrayOutput ¶
func (i GCPolicyMaxAgeArray) ToGCPolicyMaxAgeArrayOutput() GCPolicyMaxAgeArrayOutput
func (GCPolicyMaxAgeArray) ToGCPolicyMaxAgeArrayOutputWithContext ¶
func (i GCPolicyMaxAgeArray) ToGCPolicyMaxAgeArrayOutputWithContext(ctx context.Context) GCPolicyMaxAgeArrayOutput
type GCPolicyMaxAgeArrayInput ¶
type GCPolicyMaxAgeArrayInput interface { pulumi.Input ToGCPolicyMaxAgeArrayOutput() GCPolicyMaxAgeArrayOutput ToGCPolicyMaxAgeArrayOutputWithContext(context.Context) GCPolicyMaxAgeArrayOutput }
GCPolicyMaxAgeArrayInput is an input type that accepts GCPolicyMaxAgeArray and GCPolicyMaxAgeArrayOutput values. You can construct a concrete instance of `GCPolicyMaxAgeArrayInput` via:
GCPolicyMaxAgeArray{ GCPolicyMaxAgeArgs{...} }
type GCPolicyMaxAgeArrayOutput ¶
type GCPolicyMaxAgeArrayOutput struct{ *pulumi.OutputState }
func (GCPolicyMaxAgeArrayOutput) ElementType ¶
func (GCPolicyMaxAgeArrayOutput) ElementType() reflect.Type
func (GCPolicyMaxAgeArrayOutput) Index ¶
func (o GCPolicyMaxAgeArrayOutput) Index(i pulumi.IntInput) GCPolicyMaxAgeOutput
func (GCPolicyMaxAgeArrayOutput) ToGCPolicyMaxAgeArrayOutput ¶
func (o GCPolicyMaxAgeArrayOutput) ToGCPolicyMaxAgeArrayOutput() GCPolicyMaxAgeArrayOutput
func (GCPolicyMaxAgeArrayOutput) ToGCPolicyMaxAgeArrayOutputWithContext ¶
func (o GCPolicyMaxAgeArrayOutput) ToGCPolicyMaxAgeArrayOutputWithContext(ctx context.Context) GCPolicyMaxAgeArrayOutput
type GCPolicyMaxAgeInput ¶
type GCPolicyMaxAgeInput interface { pulumi.Input ToGCPolicyMaxAgeOutput() GCPolicyMaxAgeOutput ToGCPolicyMaxAgeOutputWithContext(context.Context) GCPolicyMaxAgeOutput }
GCPolicyMaxAgeInput is an input type that accepts GCPolicyMaxAgeArgs and GCPolicyMaxAgeOutput values. You can construct a concrete instance of `GCPolicyMaxAgeInput` via:
GCPolicyMaxAgeArgs{...}
type GCPolicyMaxAgeOutput ¶
type GCPolicyMaxAgeOutput struct{ *pulumi.OutputState }
func (GCPolicyMaxAgeOutput) Days ¶
func (o GCPolicyMaxAgeOutput) Days() pulumi.IntOutput
Number of days before applying GC policy.
func (GCPolicyMaxAgeOutput) ElementType ¶
func (GCPolicyMaxAgeOutput) ElementType() reflect.Type
func (GCPolicyMaxAgeOutput) ToGCPolicyMaxAgeOutput ¶
func (o GCPolicyMaxAgeOutput) ToGCPolicyMaxAgeOutput() GCPolicyMaxAgeOutput
func (GCPolicyMaxAgeOutput) ToGCPolicyMaxAgeOutputWithContext ¶
func (o GCPolicyMaxAgeOutput) ToGCPolicyMaxAgeOutputWithContext(ctx context.Context) GCPolicyMaxAgeOutput
type GCPolicyMaxVersion ¶
type GCPolicyMaxVersion struct { // Number of version before applying the GC policy. Number int `pulumi:"number"` }
type GCPolicyMaxVersionArgs ¶
type GCPolicyMaxVersionArgs struct { // Number of version before applying the GC policy. Number pulumi.IntInput `pulumi:"number"` }
func (GCPolicyMaxVersionArgs) ElementType ¶
func (GCPolicyMaxVersionArgs) ElementType() reflect.Type
func (GCPolicyMaxVersionArgs) ToGCPolicyMaxVersionOutput ¶
func (i GCPolicyMaxVersionArgs) ToGCPolicyMaxVersionOutput() GCPolicyMaxVersionOutput
func (GCPolicyMaxVersionArgs) ToGCPolicyMaxVersionOutputWithContext ¶
func (i GCPolicyMaxVersionArgs) ToGCPolicyMaxVersionOutputWithContext(ctx context.Context) GCPolicyMaxVersionOutput
type GCPolicyMaxVersionArray ¶
type GCPolicyMaxVersionArray []GCPolicyMaxVersionInput
func (GCPolicyMaxVersionArray) ElementType ¶
func (GCPolicyMaxVersionArray) ElementType() reflect.Type
func (GCPolicyMaxVersionArray) ToGCPolicyMaxVersionArrayOutput ¶
func (i GCPolicyMaxVersionArray) ToGCPolicyMaxVersionArrayOutput() GCPolicyMaxVersionArrayOutput
func (GCPolicyMaxVersionArray) ToGCPolicyMaxVersionArrayOutputWithContext ¶
func (i GCPolicyMaxVersionArray) ToGCPolicyMaxVersionArrayOutputWithContext(ctx context.Context) GCPolicyMaxVersionArrayOutput
type GCPolicyMaxVersionArrayInput ¶
type GCPolicyMaxVersionArrayInput interface { pulumi.Input ToGCPolicyMaxVersionArrayOutput() GCPolicyMaxVersionArrayOutput ToGCPolicyMaxVersionArrayOutputWithContext(context.Context) GCPolicyMaxVersionArrayOutput }
GCPolicyMaxVersionArrayInput is an input type that accepts GCPolicyMaxVersionArray and GCPolicyMaxVersionArrayOutput values. You can construct a concrete instance of `GCPolicyMaxVersionArrayInput` via:
GCPolicyMaxVersionArray{ GCPolicyMaxVersionArgs{...} }
type GCPolicyMaxVersionArrayOutput ¶
type GCPolicyMaxVersionArrayOutput struct{ *pulumi.OutputState }
func (GCPolicyMaxVersionArrayOutput) ElementType ¶
func (GCPolicyMaxVersionArrayOutput) ElementType() reflect.Type
func (GCPolicyMaxVersionArrayOutput) Index ¶
func (o GCPolicyMaxVersionArrayOutput) Index(i pulumi.IntInput) GCPolicyMaxVersionOutput
func (GCPolicyMaxVersionArrayOutput) ToGCPolicyMaxVersionArrayOutput ¶
func (o GCPolicyMaxVersionArrayOutput) ToGCPolicyMaxVersionArrayOutput() GCPolicyMaxVersionArrayOutput
func (GCPolicyMaxVersionArrayOutput) ToGCPolicyMaxVersionArrayOutputWithContext ¶
func (o GCPolicyMaxVersionArrayOutput) ToGCPolicyMaxVersionArrayOutputWithContext(ctx context.Context) GCPolicyMaxVersionArrayOutput
type GCPolicyMaxVersionInput ¶
type GCPolicyMaxVersionInput interface { pulumi.Input ToGCPolicyMaxVersionOutput() GCPolicyMaxVersionOutput ToGCPolicyMaxVersionOutputWithContext(context.Context) GCPolicyMaxVersionOutput }
GCPolicyMaxVersionInput is an input type that accepts GCPolicyMaxVersionArgs and GCPolicyMaxVersionOutput values. You can construct a concrete instance of `GCPolicyMaxVersionInput` via:
GCPolicyMaxVersionArgs{...}
type GCPolicyMaxVersionOutput ¶
type GCPolicyMaxVersionOutput struct{ *pulumi.OutputState }
func (GCPolicyMaxVersionOutput) ElementType ¶
func (GCPolicyMaxVersionOutput) ElementType() reflect.Type
func (GCPolicyMaxVersionOutput) Number ¶
func (o GCPolicyMaxVersionOutput) Number() pulumi.IntOutput
Number of version before applying the GC policy.
func (GCPolicyMaxVersionOutput) ToGCPolicyMaxVersionOutput ¶
func (o GCPolicyMaxVersionOutput) ToGCPolicyMaxVersionOutput() GCPolicyMaxVersionOutput
func (GCPolicyMaxVersionOutput) ToGCPolicyMaxVersionOutputWithContext ¶
func (o GCPolicyMaxVersionOutput) ToGCPolicyMaxVersionOutputWithContext(ctx context.Context) GCPolicyMaxVersionOutput
type GCPolicyState ¶
type GCPolicyState struct { // The name of the column family. ColumnFamily pulumi.StringPtrInput // The name of the Bigtable instance. InstanceName pulumi.StringPtrInput // GC policy that applies to all cells older than the given age. MaxAges GCPolicyMaxAgeArrayInput // GC policy that applies to all versions of a cell except for the most recent. MaxVersions GCPolicyMaxVersionArrayInput // If multiple policies are set, you should choose between `UNION` OR `INTERSECTION`. Mode pulumi.StringPtrInput // The ID of the project in which the resource belongs. If it is not provided, the provider project is used. Project pulumi.StringPtrInput // The name of the table. Table pulumi.StringPtrInput }
func (GCPolicyState) ElementType ¶
func (GCPolicyState) ElementType() reflect.Type
type Instance ¶
type Instance struct { pulumi.CustomResourceState // A block of cluster configuration options. This can be specified 1 or 2 times. See structure below. Clusters InstanceClusterArrayOutput `pulumi:"clusters"` // The human-readable display name of the Bigtable instance. Defaults to the instance `name`. DisplayName pulumi.StringOutput `pulumi:"displayName"` // The instance type to create. One of `"DEVELOPMENT"` or `"PRODUCTION"`. Defaults to `"PRODUCTION"`. InstanceType pulumi.StringPtrOutput `pulumi:"instanceType"` // The name (also called Instance Id in the Cloud Console) of the Cloud Bigtable instance. Name pulumi.StringOutput `pulumi:"name"` // The ID of the project in which the resource belongs. If it // is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` }
Creates a Google Bigtable instance. For more information see [the official documentation](https://cloud.google.com/bigtable/) and [API](https://cloud.google.com/bigtable/docs/go/reference).
func GetInstance ¶
func GetInstance(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InstanceState, opts ...pulumi.ResourceOption) (*Instance, error)
GetInstance gets an existing Instance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewInstance ¶
func NewInstance(ctx *pulumi.Context, name string, args *InstanceArgs, opts ...pulumi.ResourceOption) (*Instance, error)
NewInstance registers a new resource with the given unique name, arguments, and options.
type InstanceArgs ¶
type InstanceArgs struct { // A block of cluster configuration options. This can be specified 1 or 2 times. See structure below. Clusters InstanceClusterArrayInput // The human-readable display name of the Bigtable instance. Defaults to the instance `name`. DisplayName pulumi.StringPtrInput // The instance type to create. One of `"DEVELOPMENT"` or `"PRODUCTION"`. Defaults to `"PRODUCTION"`. InstanceType pulumi.StringPtrInput // The name (also called Instance Id in the Cloud Console) of the Cloud Bigtable instance. Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. If it // is not provided, the provider project is used. Project pulumi.StringPtrInput }
The set of arguments for constructing a Instance resource.
func (InstanceArgs) ElementType ¶
func (InstanceArgs) ElementType() reflect.Type
type InstanceCluster ¶
type InstanceCluster struct { // The ID of the Cloud Bigtable cluster. ClusterId string `pulumi:"clusterId"` // The number of nodes in your Cloud Bigtable cluster. // Required, with a minimum of `3` for a `PRODUCTION` instance. Must be left unset // for a `DEVELOPMENT` instance. NumNodes *int `pulumi:"numNodes"` // The storage type to use. One of `"SSD"` or // `"HDD"`. Defaults to `"SSD"`. StorageType *string `pulumi:"storageType"` // The zone to create the Cloud Bigtable cluster in. Each // cluster must have a different zone in the same region. Zones that support // Bigtable instances are noted on the [Cloud Bigtable locations page](https://cloud.google.com/bigtable/docs/locations). Zone string `pulumi:"zone"` }
type InstanceClusterArgs ¶
type InstanceClusterArgs struct { // The ID of the Cloud Bigtable cluster. ClusterId pulumi.StringInput `pulumi:"clusterId"` // The number of nodes in your Cloud Bigtable cluster. // Required, with a minimum of `3` for a `PRODUCTION` instance. Must be left unset // for a `DEVELOPMENT` instance. NumNodes pulumi.IntPtrInput `pulumi:"numNodes"` // The storage type to use. One of `"SSD"` or // `"HDD"`. Defaults to `"SSD"`. StorageType pulumi.StringPtrInput `pulumi:"storageType"` // The zone to create the Cloud Bigtable cluster in. Each // cluster must have a different zone in the same region. Zones that support // Bigtable instances are noted on the [Cloud Bigtable locations page](https://cloud.google.com/bigtable/docs/locations). Zone pulumi.StringInput `pulumi:"zone"` }
func (InstanceClusterArgs) ElementType ¶
func (InstanceClusterArgs) ElementType() reflect.Type
func (InstanceClusterArgs) ToInstanceClusterOutput ¶
func (i InstanceClusterArgs) ToInstanceClusterOutput() InstanceClusterOutput
func (InstanceClusterArgs) ToInstanceClusterOutputWithContext ¶
func (i InstanceClusterArgs) ToInstanceClusterOutputWithContext(ctx context.Context) InstanceClusterOutput
type InstanceClusterArray ¶
type InstanceClusterArray []InstanceClusterInput
func (InstanceClusterArray) ElementType ¶
func (InstanceClusterArray) ElementType() reflect.Type
func (InstanceClusterArray) ToInstanceClusterArrayOutput ¶
func (i InstanceClusterArray) ToInstanceClusterArrayOutput() InstanceClusterArrayOutput
func (InstanceClusterArray) ToInstanceClusterArrayOutputWithContext ¶
func (i InstanceClusterArray) ToInstanceClusterArrayOutputWithContext(ctx context.Context) InstanceClusterArrayOutput
type InstanceClusterArrayInput ¶
type InstanceClusterArrayInput interface { pulumi.Input ToInstanceClusterArrayOutput() InstanceClusterArrayOutput ToInstanceClusterArrayOutputWithContext(context.Context) InstanceClusterArrayOutput }
InstanceClusterArrayInput is an input type that accepts InstanceClusterArray and InstanceClusterArrayOutput values. You can construct a concrete instance of `InstanceClusterArrayInput` via:
InstanceClusterArray{ InstanceClusterArgs{...} }
type InstanceClusterArrayOutput ¶
type InstanceClusterArrayOutput struct{ *pulumi.OutputState }
func (InstanceClusterArrayOutput) ElementType ¶
func (InstanceClusterArrayOutput) ElementType() reflect.Type
func (InstanceClusterArrayOutput) Index ¶
func (o InstanceClusterArrayOutput) Index(i pulumi.IntInput) InstanceClusterOutput
func (InstanceClusterArrayOutput) ToInstanceClusterArrayOutput ¶
func (o InstanceClusterArrayOutput) ToInstanceClusterArrayOutput() InstanceClusterArrayOutput
func (InstanceClusterArrayOutput) ToInstanceClusterArrayOutputWithContext ¶
func (o InstanceClusterArrayOutput) ToInstanceClusterArrayOutputWithContext(ctx context.Context) InstanceClusterArrayOutput
type InstanceClusterInput ¶
type InstanceClusterInput interface { pulumi.Input ToInstanceClusterOutput() InstanceClusterOutput ToInstanceClusterOutputWithContext(context.Context) InstanceClusterOutput }
InstanceClusterInput is an input type that accepts InstanceClusterArgs and InstanceClusterOutput values. You can construct a concrete instance of `InstanceClusterInput` via:
InstanceClusterArgs{...}
type InstanceClusterOutput ¶
type InstanceClusterOutput struct{ *pulumi.OutputState }
func (InstanceClusterOutput) ClusterId ¶
func (o InstanceClusterOutput) ClusterId() pulumi.StringOutput
The ID of the Cloud Bigtable cluster.
func (InstanceClusterOutput) ElementType ¶
func (InstanceClusterOutput) ElementType() reflect.Type
func (InstanceClusterOutput) NumNodes ¶
func (o InstanceClusterOutput) NumNodes() pulumi.IntPtrOutput
The number of nodes in your Cloud Bigtable cluster. Required, with a minimum of `3` for a `PRODUCTION` instance. Must be left unset for a `DEVELOPMENT` instance.
func (InstanceClusterOutput) StorageType ¶
func (o InstanceClusterOutput) StorageType() pulumi.StringPtrOutput
The storage type to use. One of `"SSD"` or `"HDD"`. Defaults to `"SSD"`.
func (InstanceClusterOutput) ToInstanceClusterOutput ¶
func (o InstanceClusterOutput) ToInstanceClusterOutput() InstanceClusterOutput
func (InstanceClusterOutput) ToInstanceClusterOutputWithContext ¶
func (o InstanceClusterOutput) ToInstanceClusterOutputWithContext(ctx context.Context) InstanceClusterOutput
func (InstanceClusterOutput) Zone ¶
func (o InstanceClusterOutput) Zone() pulumi.StringOutput
The zone to create the Cloud Bigtable cluster in. Each cluster must have a different zone in the same region. Zones that support Bigtable instances are noted on the [Cloud Bigtable locations page](https://cloud.google.com/bigtable/docs/locations).
type InstanceIamBinding ¶
type InstanceIamBinding struct { pulumi.CustomResourceState Condition InstanceIamBindingConditionPtrOutput `pulumi:"condition"` // (Computed) The etag of the instances's IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // The name or relative resource id of the instance to manage IAM policies for. Instance pulumi.StringOutput `pulumi:"instance"` Members pulumi.StringArrayOutput `pulumi:"members"` // The project in which the instance belongs. If it // is not provided, a default will be supplied. Project pulumi.StringOutput `pulumi:"project"` // The role that should be applied. Only one // `bigtable.InstanceIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringOutput `pulumi:"role"` }
Three different resources help you manage IAM policies on bigtable instances. Each of these resources serves a different use case:
* `bigtable.InstanceIamPolicy`: Authoritative. Sets the IAM policy for the instance and replaces any existing policy already attached. * `bigtable.InstanceIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the instance are preserved. * `bigtable.InstanceIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the instance are preserved.
> **Note:** `bigtable.InstanceIamPolicy` **cannot** be used in conjunction with `bigtable.InstanceIamBinding` and `bigtable.InstanceIamMember` or they will fight over what your policy should be. In addition, be careful not to accidentally unset ownership of the instance as `bigtable.InstanceIamPolicy` replaces the entire policy.
> **Note:** `bigtable.InstanceIamBinding` resources **can be** used in conjunction with `bigtable.InstanceIamMember` resources **only if** they do not grant privilege to the same role.
func GetInstanceIamBinding ¶
func GetInstanceIamBinding(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InstanceIamBindingState, opts ...pulumi.ResourceOption) (*InstanceIamBinding, error)
GetInstanceIamBinding gets an existing InstanceIamBinding resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewInstanceIamBinding ¶
func NewInstanceIamBinding(ctx *pulumi.Context, name string, args *InstanceIamBindingArgs, opts ...pulumi.ResourceOption) (*InstanceIamBinding, error)
NewInstanceIamBinding registers a new resource with the given unique name, arguments, and options.
type InstanceIamBindingArgs ¶
type InstanceIamBindingArgs struct { Condition InstanceIamBindingConditionPtrInput // The name or relative resource id of the instance to manage IAM policies for. Instance pulumi.StringInput Members pulumi.StringArrayInput // The project in which the instance belongs. If it // is not provided, a default will be supplied. Project pulumi.StringPtrInput // The role that should be applied. Only one // `bigtable.InstanceIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringInput }
The set of arguments for constructing a InstanceIamBinding resource.
func (InstanceIamBindingArgs) ElementType ¶
func (InstanceIamBindingArgs) ElementType() reflect.Type
type InstanceIamBindingConditionArgs ¶
type InstanceIamBindingConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` Expression pulumi.StringInput `pulumi:"expression"` Title pulumi.StringInput `pulumi:"title"` }
func (InstanceIamBindingConditionArgs) ElementType ¶
func (InstanceIamBindingConditionArgs) ElementType() reflect.Type
func (InstanceIamBindingConditionArgs) ToInstanceIamBindingConditionOutput ¶
func (i InstanceIamBindingConditionArgs) ToInstanceIamBindingConditionOutput() InstanceIamBindingConditionOutput
func (InstanceIamBindingConditionArgs) ToInstanceIamBindingConditionOutputWithContext ¶
func (i InstanceIamBindingConditionArgs) ToInstanceIamBindingConditionOutputWithContext(ctx context.Context) InstanceIamBindingConditionOutput
func (InstanceIamBindingConditionArgs) ToInstanceIamBindingConditionPtrOutput ¶
func (i InstanceIamBindingConditionArgs) ToInstanceIamBindingConditionPtrOutput() InstanceIamBindingConditionPtrOutput
func (InstanceIamBindingConditionArgs) ToInstanceIamBindingConditionPtrOutputWithContext ¶
func (i InstanceIamBindingConditionArgs) ToInstanceIamBindingConditionPtrOutputWithContext(ctx context.Context) InstanceIamBindingConditionPtrOutput
type InstanceIamBindingConditionInput ¶
type InstanceIamBindingConditionInput interface { pulumi.Input ToInstanceIamBindingConditionOutput() InstanceIamBindingConditionOutput ToInstanceIamBindingConditionOutputWithContext(context.Context) InstanceIamBindingConditionOutput }
InstanceIamBindingConditionInput is an input type that accepts InstanceIamBindingConditionArgs and InstanceIamBindingConditionOutput values. You can construct a concrete instance of `InstanceIamBindingConditionInput` via:
InstanceIamBindingConditionArgs{...}
type InstanceIamBindingConditionOutput ¶
type InstanceIamBindingConditionOutput struct{ *pulumi.OutputState }
func (InstanceIamBindingConditionOutput) Description ¶
func (o InstanceIamBindingConditionOutput) Description() pulumi.StringPtrOutput
func (InstanceIamBindingConditionOutput) ElementType ¶
func (InstanceIamBindingConditionOutput) ElementType() reflect.Type
func (InstanceIamBindingConditionOutput) Expression ¶
func (o InstanceIamBindingConditionOutput) Expression() pulumi.StringOutput
func (InstanceIamBindingConditionOutput) Title ¶
func (o InstanceIamBindingConditionOutput) Title() pulumi.StringOutput
func (InstanceIamBindingConditionOutput) ToInstanceIamBindingConditionOutput ¶
func (o InstanceIamBindingConditionOutput) ToInstanceIamBindingConditionOutput() InstanceIamBindingConditionOutput
func (InstanceIamBindingConditionOutput) ToInstanceIamBindingConditionOutputWithContext ¶
func (o InstanceIamBindingConditionOutput) ToInstanceIamBindingConditionOutputWithContext(ctx context.Context) InstanceIamBindingConditionOutput
func (InstanceIamBindingConditionOutput) ToInstanceIamBindingConditionPtrOutput ¶
func (o InstanceIamBindingConditionOutput) ToInstanceIamBindingConditionPtrOutput() InstanceIamBindingConditionPtrOutput
func (InstanceIamBindingConditionOutput) ToInstanceIamBindingConditionPtrOutputWithContext ¶
func (o InstanceIamBindingConditionOutput) ToInstanceIamBindingConditionPtrOutputWithContext(ctx context.Context) InstanceIamBindingConditionPtrOutput
type InstanceIamBindingConditionPtrInput ¶
type InstanceIamBindingConditionPtrInput interface { pulumi.Input ToInstanceIamBindingConditionPtrOutput() InstanceIamBindingConditionPtrOutput ToInstanceIamBindingConditionPtrOutputWithContext(context.Context) InstanceIamBindingConditionPtrOutput }
InstanceIamBindingConditionPtrInput is an input type that accepts InstanceIamBindingConditionArgs, InstanceIamBindingConditionPtr and InstanceIamBindingConditionPtrOutput values. You can construct a concrete instance of `InstanceIamBindingConditionPtrInput` via:
InstanceIamBindingConditionArgs{...} or: nil
func InstanceIamBindingConditionPtr ¶
func InstanceIamBindingConditionPtr(v *InstanceIamBindingConditionArgs) InstanceIamBindingConditionPtrInput
type InstanceIamBindingConditionPtrOutput ¶
type InstanceIamBindingConditionPtrOutput struct{ *pulumi.OutputState }
func (InstanceIamBindingConditionPtrOutput) Description ¶
func (o InstanceIamBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
func (InstanceIamBindingConditionPtrOutput) ElementType ¶
func (InstanceIamBindingConditionPtrOutput) ElementType() reflect.Type
func (InstanceIamBindingConditionPtrOutput) Expression ¶
func (o InstanceIamBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
func (InstanceIamBindingConditionPtrOutput) Title ¶
func (o InstanceIamBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
func (InstanceIamBindingConditionPtrOutput) ToInstanceIamBindingConditionPtrOutput ¶
func (o InstanceIamBindingConditionPtrOutput) ToInstanceIamBindingConditionPtrOutput() InstanceIamBindingConditionPtrOutput
func (InstanceIamBindingConditionPtrOutput) ToInstanceIamBindingConditionPtrOutputWithContext ¶
func (o InstanceIamBindingConditionPtrOutput) ToInstanceIamBindingConditionPtrOutputWithContext(ctx context.Context) InstanceIamBindingConditionPtrOutput
type InstanceIamBindingState ¶
type InstanceIamBindingState struct { Condition InstanceIamBindingConditionPtrInput // (Computed) The etag of the instances's IAM policy. Etag pulumi.StringPtrInput // The name or relative resource id of the instance to manage IAM policies for. Instance pulumi.StringPtrInput Members pulumi.StringArrayInput // The project in which the instance belongs. If it // is not provided, a default will be supplied. Project pulumi.StringPtrInput // The role that should be applied. Only one // `bigtable.InstanceIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringPtrInput }
func (InstanceIamBindingState) ElementType ¶
func (InstanceIamBindingState) ElementType() reflect.Type
type InstanceIamMember ¶
type InstanceIamMember struct { pulumi.CustomResourceState Condition InstanceIamMemberConditionPtrOutput `pulumi:"condition"` // (Computed) The etag of the instances's IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // The name or relative resource id of the instance to manage IAM policies for. Instance pulumi.StringOutput `pulumi:"instance"` Member pulumi.StringOutput `pulumi:"member"` // The project in which the instance belongs. If it // is not provided, a default will be supplied. Project pulumi.StringOutput `pulumi:"project"` // The role that should be applied. Only one // `bigtable.InstanceIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringOutput `pulumi:"role"` }
Three different resources help you manage IAM policies on bigtable instances. Each of these resources serves a different use case:
* `bigtable.InstanceIamPolicy`: Authoritative. Sets the IAM policy for the instance and replaces any existing policy already attached. * `bigtable.InstanceIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the instance are preserved. * `bigtable.InstanceIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the instance are preserved.
> **Note:** `bigtable.InstanceIamPolicy` **cannot** be used in conjunction with `bigtable.InstanceIamBinding` and `bigtable.InstanceIamMember` or they will fight over what your policy should be. In addition, be careful not to accidentally unset ownership of the instance as `bigtable.InstanceIamPolicy` replaces the entire policy.
> **Note:** `bigtable.InstanceIamBinding` resources **can be** used in conjunction with `bigtable.InstanceIamMember` resources **only if** they do not grant privilege to the same role.
func GetInstanceIamMember ¶
func GetInstanceIamMember(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InstanceIamMemberState, opts ...pulumi.ResourceOption) (*InstanceIamMember, error)
GetInstanceIamMember gets an existing InstanceIamMember resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewInstanceIamMember ¶
func NewInstanceIamMember(ctx *pulumi.Context, name string, args *InstanceIamMemberArgs, opts ...pulumi.ResourceOption) (*InstanceIamMember, error)
NewInstanceIamMember registers a new resource with the given unique name, arguments, and options.
type InstanceIamMemberArgs ¶
type InstanceIamMemberArgs struct { Condition InstanceIamMemberConditionPtrInput // The name or relative resource id of the instance to manage IAM policies for. Instance pulumi.StringInput Member pulumi.StringInput // The project in which the instance belongs. If it // is not provided, a default will be supplied. Project pulumi.StringPtrInput // The role that should be applied. Only one // `bigtable.InstanceIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringInput }
The set of arguments for constructing a InstanceIamMember resource.
func (InstanceIamMemberArgs) ElementType ¶
func (InstanceIamMemberArgs) ElementType() reflect.Type
type InstanceIamMemberConditionArgs ¶
type InstanceIamMemberConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` Expression pulumi.StringInput `pulumi:"expression"` Title pulumi.StringInput `pulumi:"title"` }
func (InstanceIamMemberConditionArgs) ElementType ¶
func (InstanceIamMemberConditionArgs) ElementType() reflect.Type
func (InstanceIamMemberConditionArgs) ToInstanceIamMemberConditionOutput ¶
func (i InstanceIamMemberConditionArgs) ToInstanceIamMemberConditionOutput() InstanceIamMemberConditionOutput
func (InstanceIamMemberConditionArgs) ToInstanceIamMemberConditionOutputWithContext ¶
func (i InstanceIamMemberConditionArgs) ToInstanceIamMemberConditionOutputWithContext(ctx context.Context) InstanceIamMemberConditionOutput
func (InstanceIamMemberConditionArgs) ToInstanceIamMemberConditionPtrOutput ¶
func (i InstanceIamMemberConditionArgs) ToInstanceIamMemberConditionPtrOutput() InstanceIamMemberConditionPtrOutput
func (InstanceIamMemberConditionArgs) ToInstanceIamMemberConditionPtrOutputWithContext ¶
func (i InstanceIamMemberConditionArgs) ToInstanceIamMemberConditionPtrOutputWithContext(ctx context.Context) InstanceIamMemberConditionPtrOutput
type InstanceIamMemberConditionInput ¶
type InstanceIamMemberConditionInput interface { pulumi.Input ToInstanceIamMemberConditionOutput() InstanceIamMemberConditionOutput ToInstanceIamMemberConditionOutputWithContext(context.Context) InstanceIamMemberConditionOutput }
InstanceIamMemberConditionInput is an input type that accepts InstanceIamMemberConditionArgs and InstanceIamMemberConditionOutput values. You can construct a concrete instance of `InstanceIamMemberConditionInput` via:
InstanceIamMemberConditionArgs{...}
type InstanceIamMemberConditionOutput ¶
type InstanceIamMemberConditionOutput struct{ *pulumi.OutputState }
func (InstanceIamMemberConditionOutput) Description ¶
func (o InstanceIamMemberConditionOutput) Description() pulumi.StringPtrOutput
func (InstanceIamMemberConditionOutput) ElementType ¶
func (InstanceIamMemberConditionOutput) ElementType() reflect.Type
func (InstanceIamMemberConditionOutput) Expression ¶
func (o InstanceIamMemberConditionOutput) Expression() pulumi.StringOutput
func (InstanceIamMemberConditionOutput) Title ¶
func (o InstanceIamMemberConditionOutput) Title() pulumi.StringOutput
func (InstanceIamMemberConditionOutput) ToInstanceIamMemberConditionOutput ¶
func (o InstanceIamMemberConditionOutput) ToInstanceIamMemberConditionOutput() InstanceIamMemberConditionOutput
func (InstanceIamMemberConditionOutput) ToInstanceIamMemberConditionOutputWithContext ¶
func (o InstanceIamMemberConditionOutput) ToInstanceIamMemberConditionOutputWithContext(ctx context.Context) InstanceIamMemberConditionOutput
func (InstanceIamMemberConditionOutput) ToInstanceIamMemberConditionPtrOutput ¶
func (o InstanceIamMemberConditionOutput) ToInstanceIamMemberConditionPtrOutput() InstanceIamMemberConditionPtrOutput
func (InstanceIamMemberConditionOutput) ToInstanceIamMemberConditionPtrOutputWithContext ¶
func (o InstanceIamMemberConditionOutput) ToInstanceIamMemberConditionPtrOutputWithContext(ctx context.Context) InstanceIamMemberConditionPtrOutput
type InstanceIamMemberConditionPtrInput ¶
type InstanceIamMemberConditionPtrInput interface { pulumi.Input ToInstanceIamMemberConditionPtrOutput() InstanceIamMemberConditionPtrOutput ToInstanceIamMemberConditionPtrOutputWithContext(context.Context) InstanceIamMemberConditionPtrOutput }
InstanceIamMemberConditionPtrInput is an input type that accepts InstanceIamMemberConditionArgs, InstanceIamMemberConditionPtr and InstanceIamMemberConditionPtrOutput values. You can construct a concrete instance of `InstanceIamMemberConditionPtrInput` via:
InstanceIamMemberConditionArgs{...} or: nil
func InstanceIamMemberConditionPtr ¶
func InstanceIamMemberConditionPtr(v *InstanceIamMemberConditionArgs) InstanceIamMemberConditionPtrInput
type InstanceIamMemberConditionPtrOutput ¶
type InstanceIamMemberConditionPtrOutput struct{ *pulumi.OutputState }
func (InstanceIamMemberConditionPtrOutput) Description ¶
func (o InstanceIamMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
func (InstanceIamMemberConditionPtrOutput) Elem ¶
func (o InstanceIamMemberConditionPtrOutput) Elem() InstanceIamMemberConditionOutput
func (InstanceIamMemberConditionPtrOutput) ElementType ¶
func (InstanceIamMemberConditionPtrOutput) ElementType() reflect.Type
func (InstanceIamMemberConditionPtrOutput) Expression ¶
func (o InstanceIamMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
func (InstanceIamMemberConditionPtrOutput) Title ¶
func (o InstanceIamMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
func (InstanceIamMemberConditionPtrOutput) ToInstanceIamMemberConditionPtrOutput ¶
func (o InstanceIamMemberConditionPtrOutput) ToInstanceIamMemberConditionPtrOutput() InstanceIamMemberConditionPtrOutput
func (InstanceIamMemberConditionPtrOutput) ToInstanceIamMemberConditionPtrOutputWithContext ¶
func (o InstanceIamMemberConditionPtrOutput) ToInstanceIamMemberConditionPtrOutputWithContext(ctx context.Context) InstanceIamMemberConditionPtrOutput
type InstanceIamMemberState ¶
type InstanceIamMemberState struct { Condition InstanceIamMemberConditionPtrInput // (Computed) The etag of the instances's IAM policy. Etag pulumi.StringPtrInput // The name or relative resource id of the instance to manage IAM policies for. Instance pulumi.StringPtrInput Member pulumi.StringPtrInput // The project in which the instance belongs. If it // is not provided, a default will be supplied. Project pulumi.StringPtrInput // The role that should be applied. Only one // `bigtable.InstanceIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringPtrInput }
func (InstanceIamMemberState) ElementType ¶
func (InstanceIamMemberState) ElementType() reflect.Type
type InstanceIamPolicy ¶
type InstanceIamPolicy struct { pulumi.CustomResourceState // (Computed) The etag of the instances's IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // The name or relative resource id of the instance to manage IAM policies for. Instance pulumi.StringOutput `pulumi:"instance"` // The policy data generated by a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringOutput `pulumi:"policyData"` // The project in which the instance belongs. If it // is not provided, a default will be supplied. Project pulumi.StringOutput `pulumi:"project"` }
Three different resources help you manage IAM policies on bigtable instances. Each of these resources serves a different use case:
* `bigtable.InstanceIamPolicy`: Authoritative. Sets the IAM policy for the instance and replaces any existing policy already attached. * `bigtable.InstanceIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the instance are preserved. * `bigtable.InstanceIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the instance are preserved.
> **Note:** `bigtable.InstanceIamPolicy` **cannot** be used in conjunction with `bigtable.InstanceIamBinding` and `bigtable.InstanceIamMember` or they will fight over what your policy should be. In addition, be careful not to accidentally unset ownership of the instance as `bigtable.InstanceIamPolicy` replaces the entire policy.
> **Note:** `bigtable.InstanceIamBinding` resources **can be** used in conjunction with `bigtable.InstanceIamMember` resources **only if** they do not grant privilege to the same role.
func GetInstanceIamPolicy ¶
func GetInstanceIamPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InstanceIamPolicyState, opts ...pulumi.ResourceOption) (*InstanceIamPolicy, error)
GetInstanceIamPolicy gets an existing InstanceIamPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewInstanceIamPolicy ¶
func NewInstanceIamPolicy(ctx *pulumi.Context, name string, args *InstanceIamPolicyArgs, opts ...pulumi.ResourceOption) (*InstanceIamPolicy, error)
NewInstanceIamPolicy registers a new resource with the given unique name, arguments, and options.
type InstanceIamPolicyArgs ¶
type InstanceIamPolicyArgs struct { // The name or relative resource id of the instance to manage IAM policies for. Instance pulumi.StringInput // The policy data generated by a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringInput // The project in which the instance belongs. If it // is not provided, a default will be supplied. Project pulumi.StringPtrInput }
The set of arguments for constructing a InstanceIamPolicy resource.
func (InstanceIamPolicyArgs) ElementType ¶
func (InstanceIamPolicyArgs) ElementType() reflect.Type
type InstanceIamPolicyState ¶
type InstanceIamPolicyState struct { // (Computed) The etag of the instances's IAM policy. Etag pulumi.StringPtrInput // The name or relative resource id of the instance to manage IAM policies for. Instance pulumi.StringPtrInput // The policy data generated by a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringPtrInput // The project in which the instance belongs. If it // is not provided, a default will be supplied. Project pulumi.StringPtrInput }
func (InstanceIamPolicyState) ElementType ¶
func (InstanceIamPolicyState) ElementType() reflect.Type
type InstanceState ¶
type InstanceState struct { // A block of cluster configuration options. This can be specified 1 or 2 times. See structure below. Clusters InstanceClusterArrayInput // The human-readable display name of the Bigtable instance. Defaults to the instance `name`. DisplayName pulumi.StringPtrInput // The instance type to create. One of `"DEVELOPMENT"` or `"PRODUCTION"`. Defaults to `"PRODUCTION"`. InstanceType pulumi.StringPtrInput // The name (also called Instance Id in the Cloud Console) of the Cloud Bigtable instance. Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. If it // is not provided, the provider project is used. Project pulumi.StringPtrInput }
func (InstanceState) ElementType ¶
func (InstanceState) ElementType() reflect.Type
type Table ¶
type Table struct { pulumi.CustomResourceState // A group of columns within a table which share a common configuration. This can be specified multiple times. Structure is documented below. ColumnFamilies TableColumnFamilyArrayOutput `pulumi:"columnFamilies"` // The name of the Bigtable instance. InstanceName pulumi.StringOutput `pulumi:"instanceName"` // The name of the table. Name pulumi.StringOutput `pulumi:"name"` // The ID of the project in which the resource belongs. If it // is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // A list of predefined keys to split the table on. SplitKeys pulumi.StringArrayOutput `pulumi:"splitKeys"` }
Creates a Google Cloud Bigtable table inside an instance. For more information see [the official documentation](https://cloud.google.com/bigtable/) and [API](https://cloud.google.com/bigtable/docs/go/reference).
func GetTable ¶
func GetTable(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TableState, opts ...pulumi.ResourceOption) (*Table, error)
GetTable gets an existing Table resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
type TableArgs ¶
type TableArgs struct { // A group of columns within a table which share a common configuration. This can be specified multiple times. Structure is documented below. ColumnFamilies TableColumnFamilyArrayInput // The name of the Bigtable instance. InstanceName pulumi.StringInput // The name of the table. Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. If it // is not provided, the provider project is used. Project pulumi.StringPtrInput // A list of predefined keys to split the table on. SplitKeys pulumi.StringArrayInput }
The set of arguments for constructing a Table resource.
func (TableArgs) ElementType ¶
type TableColumnFamily ¶
type TableColumnFamily struct { // The name of the column family. Family string `pulumi:"family"` }
type TableColumnFamilyArgs ¶
type TableColumnFamilyArgs struct { // The name of the column family. Family pulumi.StringInput `pulumi:"family"` }
func (TableColumnFamilyArgs) ElementType ¶
func (TableColumnFamilyArgs) ElementType() reflect.Type
func (TableColumnFamilyArgs) ToTableColumnFamilyOutput ¶
func (i TableColumnFamilyArgs) ToTableColumnFamilyOutput() TableColumnFamilyOutput
func (TableColumnFamilyArgs) ToTableColumnFamilyOutputWithContext ¶
func (i TableColumnFamilyArgs) ToTableColumnFamilyOutputWithContext(ctx context.Context) TableColumnFamilyOutput
type TableColumnFamilyArray ¶
type TableColumnFamilyArray []TableColumnFamilyInput
func (TableColumnFamilyArray) ElementType ¶
func (TableColumnFamilyArray) ElementType() reflect.Type
func (TableColumnFamilyArray) ToTableColumnFamilyArrayOutput ¶
func (i TableColumnFamilyArray) ToTableColumnFamilyArrayOutput() TableColumnFamilyArrayOutput
func (TableColumnFamilyArray) ToTableColumnFamilyArrayOutputWithContext ¶
func (i TableColumnFamilyArray) ToTableColumnFamilyArrayOutputWithContext(ctx context.Context) TableColumnFamilyArrayOutput
type TableColumnFamilyArrayInput ¶
type TableColumnFamilyArrayInput interface { pulumi.Input ToTableColumnFamilyArrayOutput() TableColumnFamilyArrayOutput ToTableColumnFamilyArrayOutputWithContext(context.Context) TableColumnFamilyArrayOutput }
TableColumnFamilyArrayInput is an input type that accepts TableColumnFamilyArray and TableColumnFamilyArrayOutput values. You can construct a concrete instance of `TableColumnFamilyArrayInput` via:
TableColumnFamilyArray{ TableColumnFamilyArgs{...} }
type TableColumnFamilyArrayOutput ¶
type TableColumnFamilyArrayOutput struct{ *pulumi.OutputState }
func (TableColumnFamilyArrayOutput) ElementType ¶
func (TableColumnFamilyArrayOutput) ElementType() reflect.Type
func (TableColumnFamilyArrayOutput) Index ¶
func (o TableColumnFamilyArrayOutput) Index(i pulumi.IntInput) TableColumnFamilyOutput
func (TableColumnFamilyArrayOutput) ToTableColumnFamilyArrayOutput ¶
func (o TableColumnFamilyArrayOutput) ToTableColumnFamilyArrayOutput() TableColumnFamilyArrayOutput
func (TableColumnFamilyArrayOutput) ToTableColumnFamilyArrayOutputWithContext ¶
func (o TableColumnFamilyArrayOutput) ToTableColumnFamilyArrayOutputWithContext(ctx context.Context) TableColumnFamilyArrayOutput
type TableColumnFamilyInput ¶
type TableColumnFamilyInput interface { pulumi.Input ToTableColumnFamilyOutput() TableColumnFamilyOutput ToTableColumnFamilyOutputWithContext(context.Context) TableColumnFamilyOutput }
TableColumnFamilyInput is an input type that accepts TableColumnFamilyArgs and TableColumnFamilyOutput values. You can construct a concrete instance of `TableColumnFamilyInput` via:
TableColumnFamilyArgs{...}
type TableColumnFamilyOutput ¶
type TableColumnFamilyOutput struct{ *pulumi.OutputState }
func (TableColumnFamilyOutput) ElementType ¶
func (TableColumnFamilyOutput) ElementType() reflect.Type
func (TableColumnFamilyOutput) Family ¶
func (o TableColumnFamilyOutput) Family() pulumi.StringOutput
The name of the column family.
func (TableColumnFamilyOutput) ToTableColumnFamilyOutput ¶
func (o TableColumnFamilyOutput) ToTableColumnFamilyOutput() TableColumnFamilyOutput
func (TableColumnFamilyOutput) ToTableColumnFamilyOutputWithContext ¶
func (o TableColumnFamilyOutput) ToTableColumnFamilyOutputWithContext(ctx context.Context) TableColumnFamilyOutput
type TableState ¶
type TableState struct { // A group of columns within a table which share a common configuration. This can be specified multiple times. Structure is documented below. ColumnFamilies TableColumnFamilyArrayInput // The name of the Bigtable instance. InstanceName pulumi.StringPtrInput // The name of the table. Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. If it // is not provided, the provider project is used. Project pulumi.StringPtrInput // A list of predefined keys to split the table on. SplitKeys pulumi.StringArrayInput }
func (TableState) ElementType ¶
func (TableState) ElementType() reflect.Type