Documentation
¶
Index ¶
- type TairInstance
- type TairInstanceArgs
- type TairInstanceArray
- type TairInstanceArrayInput
- type TairInstanceArrayOutput
- func (TairInstanceArrayOutput) ElementType() reflect.Type
- func (o TairInstanceArrayOutput) Index(i pulumi.IntInput) TairInstanceOutput
- func (o TairInstanceArrayOutput) ToTairInstanceArrayOutput() TairInstanceArrayOutput
- func (o TairInstanceArrayOutput) ToTairInstanceArrayOutputWithContext(ctx context.Context) TairInstanceArrayOutput
- type TairInstanceInput
- type TairInstanceMap
- type TairInstanceMapInput
- type TairInstanceMapOutput
- func (TairInstanceMapOutput) ElementType() reflect.Type
- func (o TairInstanceMapOutput) MapIndex(k pulumi.StringInput) TairInstanceOutput
- func (o TairInstanceMapOutput) ToTairInstanceMapOutput() TairInstanceMapOutput
- func (o TairInstanceMapOutput) ToTairInstanceMapOutputWithContext(ctx context.Context) TairInstanceMapOutput
- type TairInstanceOutput
- func (o TairInstanceOutput) AutoRenew() pulumi.StringPtrOutput
- func (o TairInstanceOutput) AutoRenewPeriod() pulumi.StringPtrOutput
- func (o TairInstanceOutput) CreateTime() pulumi.StringOutput
- func (o TairInstanceOutput) EffectiveTime() pulumi.StringPtrOutput
- func (TairInstanceOutput) ElementType() reflect.Type
- func (o TairInstanceOutput) EngineVersion() pulumi.StringOutput
- func (o TairInstanceOutput) ForceUpgrade() pulumi.BoolPtrOutput
- func (o TairInstanceOutput) InstanceClass() pulumi.StringOutput
- func (o TairInstanceOutput) InstanceType() pulumi.StringOutput
- func (o TairInstanceOutput) Password() pulumi.StringPtrOutput
- func (o TairInstanceOutput) PaymentType() pulumi.StringOutput
- func (o TairInstanceOutput) Period() pulumi.IntPtrOutput
- func (o TairInstanceOutput) Port() pulumi.IntOutput
- func (o TairInstanceOutput) ResourceGroupId() pulumi.StringOutput
- func (o TairInstanceOutput) SecondaryZoneId() pulumi.StringPtrOutput
- func (o TairInstanceOutput) ShardCount() pulumi.IntOutput
- func (o TairInstanceOutput) Status() pulumi.StringOutput
- func (o TairInstanceOutput) StoragePerformanceLevel() pulumi.StringPtrOutput
- func (o TairInstanceOutput) StorageSizeGb() pulumi.IntOutput
- func (o TairInstanceOutput) Tags() pulumi.MapOutput
- func (o TairInstanceOutput) TairInstanceName() pulumi.StringPtrOutput
- func (o TairInstanceOutput) ToTairInstanceOutput() TairInstanceOutput
- func (o TairInstanceOutput) ToTairInstanceOutputWithContext(ctx context.Context) TairInstanceOutput
- func (o TairInstanceOutput) VpcId() pulumi.StringOutput
- func (o TairInstanceOutput) VswitchId() pulumi.StringOutput
- func (o TairInstanceOutput) ZoneId() pulumi.StringOutput
- type TairInstanceState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TairInstance ¶
type TairInstance struct { pulumi.CustomResourceState // Specifies whether to enable auto-renewal for the instance. Default value: false. Valid values: true(enables auto-renewal), false(disables auto-renewal). AutoRenew pulumi.StringPtrOutput `pulumi:"autoRenew"` // The subscription duration that is supported by auto-renewal. Unit: months. Valid values: 1, 2, 3, 6, and 12. This parameter is required only if the AutoRenew parameter is set to true. AutoRenewPeriod pulumi.StringPtrOutput `pulumi:"autoRenewPeriod"` // The time when the instance was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC. CreateTime pulumi.StringOutput `pulumi:"createTime"` // The time when to change the configurations. Default value: Immediately. Valid values: Immediately (The configurations are immediately changed), MaintainTime (The configurations are changed within the maintenance window). EffectiveTime pulumi.StringPtrOutput `pulumi:"effectiveTime"` // Database version. Default value: 1.0. Rules for transferring parameters of different tair product types: tair_rdb: Compatible with the Redis5.0 and Redis6.0 protocols, and is transmitted to 5.0 or 6.0. tair_scm: The Tair persistent memory is compatible with the Redis6.0 protocol and is passed 1.0. tair_essd: The disk (ESSD/SSD) is compatible with the Redis4.0 and Redis6.0 protocols, and is transmitted to 1.0 and 2.0 respectively. EngineVersion pulumi.StringOutput `pulumi:"engineVersion"` // Specifies whether to forcefully change the configurations of the instance. Default value: true. Valid values: false (The system does not forcefully change the configurations), true (The system forcefully changes the configurations). ForceUpgrade pulumi.BoolPtrOutput `pulumi:"forceUpgrade"` // The instance type of the instance. For more information, see [Instance types](https://www.alibabacloud.com/help/en/apsaradb-for-redis/latest/instance-types). InstanceClass pulumi.StringOutput `pulumi:"instanceClass"` // The storage medium of the instance. Valid values: tair_rdb, tair_scm, tair_essd. InstanceType pulumi.StringOutput `pulumi:"instanceType"` // The password that is used to connect to the instance. The password must be 8 to 32 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include ! @ # $ % ^ & * ( ) _ + - =. Password pulumi.StringPtrOutput `pulumi:"password"` // Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default PayAsYouGo. PaymentType pulumi.StringOutput `pulumi:"paymentType"` // The subscription duration. Unit: months. Valid values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24,36, and 60. This parameter is required only if you set the PaymentType parameter to Subscription. Period pulumi.IntPtrOutput `pulumi:"period"` // The Tair service port. The service port of the instance. Valid values: 1024 to 65535. Default value: 6379. Port pulumi.IntOutput `pulumi:"port"` // The ID of the resource group to which the instance belongs. ResourceGroupId pulumi.StringOutput `pulumi:"resourceGroupId"` // The ID of the secondary zone.This parameter is returned only if the instance is deployed in two zones. SecondaryZoneId pulumi.StringPtrOutput `pulumi:"secondaryZoneId"` // The number of data nodes in the instance. When 1 is passed, it means that the instance created is a standard architecture with only one data node. You can create an instance in the standard architecture that contains only a single data node. 2 to 32: You can create an instance in the cluster architecture that contains the specified number of data nodes. Only persistent memory-optimized instances can use the cluster architecture. Therefore, you can set this parameter to an integer from 2 to 32 only if you set the InstanceType parameter to tair_scm. It is not allowed to modify the number of shards by modifying this parameter after creating a master-slave architecture instance with or without passing 1. ShardCount pulumi.IntOutput `pulumi:"shardCount"` // The status of the resource. Status pulumi.StringOutput `pulumi:"status"` // The storage type. The value range is [PL1, PL2, and PL3]. The default value is PL1. When the value of instanceType is "tairEssd", this attribute takes effect and is required. StoragePerformanceLevel pulumi.StringPtrOutput `pulumi:"storagePerformanceLevel"` // The value range of different specifications is different, see [ESSD-based instances](https://www.alibabacloud.com/help/en/tair/product-overview/essd-based-instances). When the value of instanceType is "tairEssd", this attribute takes effect and is required. StorageSizeGb pulumi.IntOutput `pulumi:"storageSizeGb"` // The tag of the resource. Tags pulumi.MapOutput `pulumi:"tags"` // The name of the resource. TairInstanceName pulumi.StringPtrOutput `pulumi:"tairInstanceName"` // The ID of the virtual private cloud (VPC). VpcId pulumi.StringOutput `pulumi:"vpcId"` // The ID of the vSwitch to which the instance is connected. VswitchId pulumi.StringOutput `pulumi:"vswitchId"` // Zone ID. ZoneId pulumi.StringOutput `pulumi:"zoneId"` }
## Import
Redis Tair Instance can be imported using the id, e.g.
```sh
$ pulumi import alicloud:redis/tairInstance:TairInstance example <id>
```
func GetTairInstance ¶
func GetTairInstance(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TairInstanceState, opts ...pulumi.ResourceOption) (*TairInstance, error)
GetTairInstance gets an existing TairInstance 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 NewTairInstance ¶
func NewTairInstance(ctx *pulumi.Context, name string, args *TairInstanceArgs, opts ...pulumi.ResourceOption) (*TairInstance, error)
NewTairInstance registers a new resource with the given unique name, arguments, and options.
func (*TairInstance) ElementType ¶
func (*TairInstance) ElementType() reflect.Type
func (*TairInstance) ToTairInstanceOutput ¶
func (i *TairInstance) ToTairInstanceOutput() TairInstanceOutput
func (*TairInstance) ToTairInstanceOutputWithContext ¶
func (i *TairInstance) ToTairInstanceOutputWithContext(ctx context.Context) TairInstanceOutput
type TairInstanceArgs ¶
type TairInstanceArgs struct { // Specifies whether to enable auto-renewal for the instance. Default value: false. Valid values: true(enables auto-renewal), false(disables auto-renewal). AutoRenew pulumi.StringPtrInput // The subscription duration that is supported by auto-renewal. Unit: months. Valid values: 1, 2, 3, 6, and 12. This parameter is required only if the AutoRenew parameter is set to true. AutoRenewPeriod pulumi.StringPtrInput // The time when to change the configurations. Default value: Immediately. Valid values: Immediately (The configurations are immediately changed), MaintainTime (The configurations are changed within the maintenance window). EffectiveTime pulumi.StringPtrInput // Database version. Default value: 1.0. Rules for transferring parameters of different tair product types: tair_rdb: Compatible with the Redis5.0 and Redis6.0 protocols, and is transmitted to 5.0 or 6.0. tair_scm: The Tair persistent memory is compatible with the Redis6.0 protocol and is passed 1.0. tair_essd: The disk (ESSD/SSD) is compatible with the Redis4.0 and Redis6.0 protocols, and is transmitted to 1.0 and 2.0 respectively. EngineVersion pulumi.StringPtrInput // Specifies whether to forcefully change the configurations of the instance. Default value: true. Valid values: false (The system does not forcefully change the configurations), true (The system forcefully changes the configurations). ForceUpgrade pulumi.BoolPtrInput // The instance type of the instance. For more information, see [Instance types](https://www.alibabacloud.com/help/en/apsaradb-for-redis/latest/instance-types). InstanceClass pulumi.StringInput // The storage medium of the instance. Valid values: tair_rdb, tair_scm, tair_essd. InstanceType pulumi.StringInput // The password that is used to connect to the instance. The password must be 8 to 32 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include ! @ # $ % ^ & * ( ) _ + - =. Password pulumi.StringPtrInput // Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default PayAsYouGo. PaymentType pulumi.StringPtrInput // The subscription duration. Unit: months. Valid values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24,36, and 60. This parameter is required only if you set the PaymentType parameter to Subscription. Period pulumi.IntPtrInput // The Tair service port. The service port of the instance. Valid values: 1024 to 65535. Default value: 6379. Port pulumi.IntPtrInput // The ID of the resource group to which the instance belongs. ResourceGroupId pulumi.StringPtrInput // The ID of the secondary zone.This parameter is returned only if the instance is deployed in two zones. SecondaryZoneId pulumi.StringPtrInput // The number of data nodes in the instance. When 1 is passed, it means that the instance created is a standard architecture with only one data node. You can create an instance in the standard architecture that contains only a single data node. 2 to 32: You can create an instance in the cluster architecture that contains the specified number of data nodes. Only persistent memory-optimized instances can use the cluster architecture. Therefore, you can set this parameter to an integer from 2 to 32 only if you set the InstanceType parameter to tair_scm. It is not allowed to modify the number of shards by modifying this parameter after creating a master-slave architecture instance with or without passing 1. ShardCount pulumi.IntPtrInput // The storage type. The value range is [PL1, PL2, and PL3]. The default value is PL1. When the value of instanceType is "tairEssd", this attribute takes effect and is required. StoragePerformanceLevel pulumi.StringPtrInput // The value range of different specifications is different, see [ESSD-based instances](https://www.alibabacloud.com/help/en/tair/product-overview/essd-based-instances). When the value of instanceType is "tairEssd", this attribute takes effect and is required. StorageSizeGb pulumi.IntPtrInput // The tag of the resource. Tags pulumi.MapInput // The name of the resource. TairInstanceName pulumi.StringPtrInput // The ID of the virtual private cloud (VPC). VpcId pulumi.StringInput // The ID of the vSwitch to which the instance is connected. VswitchId pulumi.StringInput // Zone ID. ZoneId pulumi.StringInput }
The set of arguments for constructing a TairInstance resource.
func (TairInstanceArgs) ElementType ¶
func (TairInstanceArgs) ElementType() reflect.Type
type TairInstanceArray ¶
type TairInstanceArray []TairInstanceInput
func (TairInstanceArray) ElementType ¶
func (TairInstanceArray) ElementType() reflect.Type
func (TairInstanceArray) ToTairInstanceArrayOutput ¶
func (i TairInstanceArray) ToTairInstanceArrayOutput() TairInstanceArrayOutput
func (TairInstanceArray) ToTairInstanceArrayOutputWithContext ¶
func (i TairInstanceArray) ToTairInstanceArrayOutputWithContext(ctx context.Context) TairInstanceArrayOutput
type TairInstanceArrayInput ¶
type TairInstanceArrayInput interface { pulumi.Input ToTairInstanceArrayOutput() TairInstanceArrayOutput ToTairInstanceArrayOutputWithContext(context.Context) TairInstanceArrayOutput }
TairInstanceArrayInput is an input type that accepts TairInstanceArray and TairInstanceArrayOutput values. You can construct a concrete instance of `TairInstanceArrayInput` via:
TairInstanceArray{ TairInstanceArgs{...} }
type TairInstanceArrayOutput ¶
type TairInstanceArrayOutput struct{ *pulumi.OutputState }
func (TairInstanceArrayOutput) ElementType ¶
func (TairInstanceArrayOutput) ElementType() reflect.Type
func (TairInstanceArrayOutput) Index ¶
func (o TairInstanceArrayOutput) Index(i pulumi.IntInput) TairInstanceOutput
func (TairInstanceArrayOutput) ToTairInstanceArrayOutput ¶
func (o TairInstanceArrayOutput) ToTairInstanceArrayOutput() TairInstanceArrayOutput
func (TairInstanceArrayOutput) ToTairInstanceArrayOutputWithContext ¶
func (o TairInstanceArrayOutput) ToTairInstanceArrayOutputWithContext(ctx context.Context) TairInstanceArrayOutput
type TairInstanceInput ¶
type TairInstanceInput interface { pulumi.Input ToTairInstanceOutput() TairInstanceOutput ToTairInstanceOutputWithContext(ctx context.Context) TairInstanceOutput }
type TairInstanceMap ¶
type TairInstanceMap map[string]TairInstanceInput
func (TairInstanceMap) ElementType ¶
func (TairInstanceMap) ElementType() reflect.Type
func (TairInstanceMap) ToTairInstanceMapOutput ¶
func (i TairInstanceMap) ToTairInstanceMapOutput() TairInstanceMapOutput
func (TairInstanceMap) ToTairInstanceMapOutputWithContext ¶
func (i TairInstanceMap) ToTairInstanceMapOutputWithContext(ctx context.Context) TairInstanceMapOutput
type TairInstanceMapInput ¶
type TairInstanceMapInput interface { pulumi.Input ToTairInstanceMapOutput() TairInstanceMapOutput ToTairInstanceMapOutputWithContext(context.Context) TairInstanceMapOutput }
TairInstanceMapInput is an input type that accepts TairInstanceMap and TairInstanceMapOutput values. You can construct a concrete instance of `TairInstanceMapInput` via:
TairInstanceMap{ "key": TairInstanceArgs{...} }
type TairInstanceMapOutput ¶
type TairInstanceMapOutput struct{ *pulumi.OutputState }
func (TairInstanceMapOutput) ElementType ¶
func (TairInstanceMapOutput) ElementType() reflect.Type
func (TairInstanceMapOutput) MapIndex ¶
func (o TairInstanceMapOutput) MapIndex(k pulumi.StringInput) TairInstanceOutput
func (TairInstanceMapOutput) ToTairInstanceMapOutput ¶
func (o TairInstanceMapOutput) ToTairInstanceMapOutput() TairInstanceMapOutput
func (TairInstanceMapOutput) ToTairInstanceMapOutputWithContext ¶
func (o TairInstanceMapOutput) ToTairInstanceMapOutputWithContext(ctx context.Context) TairInstanceMapOutput
type TairInstanceOutput ¶
type TairInstanceOutput struct{ *pulumi.OutputState }
func (TairInstanceOutput) AutoRenew ¶
func (o TairInstanceOutput) AutoRenew() pulumi.StringPtrOutput
Specifies whether to enable auto-renewal for the instance. Default value: false. Valid values: true(enables auto-renewal), false(disables auto-renewal).
func (TairInstanceOutput) AutoRenewPeriod ¶
func (o TairInstanceOutput) AutoRenewPeriod() pulumi.StringPtrOutput
The subscription duration that is supported by auto-renewal. Unit: months. Valid values: 1, 2, 3, 6, and 12. This parameter is required only if the AutoRenew parameter is set to true.
func (TairInstanceOutput) CreateTime ¶
func (o TairInstanceOutput) CreateTime() pulumi.StringOutput
The time when the instance was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
func (TairInstanceOutput) EffectiveTime ¶
func (o TairInstanceOutput) EffectiveTime() pulumi.StringPtrOutput
The time when to change the configurations. Default value: Immediately. Valid values: Immediately (The configurations are immediately changed), MaintainTime (The configurations are changed within the maintenance window).
func (TairInstanceOutput) ElementType ¶
func (TairInstanceOutput) ElementType() reflect.Type
func (TairInstanceOutput) EngineVersion ¶
func (o TairInstanceOutput) EngineVersion() pulumi.StringOutput
Database version. Default value: 1.0. Rules for transferring parameters of different tair product types: tair_rdb: Compatible with the Redis5.0 and Redis6.0 protocols, and is transmitted to 5.0 or 6.0. tair_scm: The Tair persistent memory is compatible with the Redis6.0 protocol and is passed 1.0. tair_essd: The disk (ESSD/SSD) is compatible with the Redis4.0 and Redis6.0 protocols, and is transmitted to 1.0 and 2.0 respectively.
func (TairInstanceOutput) ForceUpgrade ¶
func (o TairInstanceOutput) ForceUpgrade() pulumi.BoolPtrOutput
Specifies whether to forcefully change the configurations of the instance. Default value: true. Valid values: false (The system does not forcefully change the configurations), true (The system forcefully changes the configurations).
func (TairInstanceOutput) InstanceClass ¶
func (o TairInstanceOutput) InstanceClass() pulumi.StringOutput
The instance type of the instance. For more information, see [Instance types](https://www.alibabacloud.com/help/en/apsaradb-for-redis/latest/instance-types).
func (TairInstanceOutput) InstanceType ¶
func (o TairInstanceOutput) InstanceType() pulumi.StringOutput
The storage medium of the instance. Valid values: tair_rdb, tair_scm, tair_essd.
func (TairInstanceOutput) Password ¶
func (o TairInstanceOutput) Password() pulumi.StringPtrOutput
The password that is used to connect to the instance. The password must be 8 to 32 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include ! @ # $ % ^ & * ( ) _ + - =.
func (TairInstanceOutput) PaymentType ¶
func (o TairInstanceOutput) PaymentType() pulumi.StringOutput
Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default PayAsYouGo.
func (TairInstanceOutput) Period ¶
func (o TairInstanceOutput) Period() pulumi.IntPtrOutput
The subscription duration. Unit: months. Valid values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24,36, and 60. This parameter is required only if you set the PaymentType parameter to Subscription.
func (TairInstanceOutput) Port ¶
func (o TairInstanceOutput) Port() pulumi.IntOutput
The Tair service port. The service port of the instance. Valid values: 1024 to 65535. Default value: 6379.
func (TairInstanceOutput) ResourceGroupId ¶
func (o TairInstanceOutput) ResourceGroupId() pulumi.StringOutput
The ID of the resource group to which the instance belongs.
func (TairInstanceOutput) SecondaryZoneId ¶
func (o TairInstanceOutput) SecondaryZoneId() pulumi.StringPtrOutput
The ID of the secondary zone.This parameter is returned only if the instance is deployed in two zones.
func (TairInstanceOutput) ShardCount ¶
func (o TairInstanceOutput) ShardCount() pulumi.IntOutput
The number of data nodes in the instance. When 1 is passed, it means that the instance created is a standard architecture with only one data node. You can create an instance in the standard architecture that contains only a single data node. 2 to 32: You can create an instance in the cluster architecture that contains the specified number of data nodes. Only persistent memory-optimized instances can use the cluster architecture. Therefore, you can set this parameter to an integer from 2 to 32 only if you set the InstanceType parameter to tair_scm. It is not allowed to modify the number of shards by modifying this parameter after creating a master-slave architecture instance with or without passing 1.
func (TairInstanceOutput) Status ¶
func (o TairInstanceOutput) Status() pulumi.StringOutput
The status of the resource.
func (TairInstanceOutput) StoragePerformanceLevel ¶ added in v3.44.1
func (o TairInstanceOutput) StoragePerformanceLevel() pulumi.StringPtrOutput
The storage type. The value range is [PL1, PL2, and PL3]. The default value is PL1. When the value of instanceType is "tairEssd", this attribute takes effect and is required.
func (TairInstanceOutput) StorageSizeGb ¶ added in v3.44.1
func (o TairInstanceOutput) StorageSizeGb() pulumi.IntOutput
The value range of different specifications is different, see [ESSD-based instances](https://www.alibabacloud.com/help/en/tair/product-overview/essd-based-instances). When the value of instanceType is "tairEssd", this attribute takes effect and is required.
func (TairInstanceOutput) Tags ¶ added in v3.44.1
func (o TairInstanceOutput) Tags() pulumi.MapOutput
The tag of the resource.
func (TairInstanceOutput) TairInstanceName ¶
func (o TairInstanceOutput) TairInstanceName() pulumi.StringPtrOutput
The name of the resource.
func (TairInstanceOutput) ToTairInstanceOutput ¶
func (o TairInstanceOutput) ToTairInstanceOutput() TairInstanceOutput
func (TairInstanceOutput) ToTairInstanceOutputWithContext ¶
func (o TairInstanceOutput) ToTairInstanceOutputWithContext(ctx context.Context) TairInstanceOutput
func (TairInstanceOutput) VpcId ¶
func (o TairInstanceOutput) VpcId() pulumi.StringOutput
The ID of the virtual private cloud (VPC).
func (TairInstanceOutput) VswitchId ¶
func (o TairInstanceOutput) VswitchId() pulumi.StringOutput
The ID of the vSwitch to which the instance is connected.
func (TairInstanceOutput) ZoneId ¶
func (o TairInstanceOutput) ZoneId() pulumi.StringOutput
Zone ID.
type TairInstanceState ¶
type TairInstanceState struct { // Specifies whether to enable auto-renewal for the instance. Default value: false. Valid values: true(enables auto-renewal), false(disables auto-renewal). AutoRenew pulumi.StringPtrInput // The subscription duration that is supported by auto-renewal. Unit: months. Valid values: 1, 2, 3, 6, and 12. This parameter is required only if the AutoRenew parameter is set to true. AutoRenewPeriod pulumi.StringPtrInput // The time when the instance was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC. CreateTime pulumi.StringPtrInput // The time when to change the configurations. Default value: Immediately. Valid values: Immediately (The configurations are immediately changed), MaintainTime (The configurations are changed within the maintenance window). EffectiveTime pulumi.StringPtrInput // Database version. Default value: 1.0. Rules for transferring parameters of different tair product types: tair_rdb: Compatible with the Redis5.0 and Redis6.0 protocols, and is transmitted to 5.0 or 6.0. tair_scm: The Tair persistent memory is compatible with the Redis6.0 protocol and is passed 1.0. tair_essd: The disk (ESSD/SSD) is compatible with the Redis4.0 and Redis6.0 protocols, and is transmitted to 1.0 and 2.0 respectively. EngineVersion pulumi.StringPtrInput // Specifies whether to forcefully change the configurations of the instance. Default value: true. Valid values: false (The system does not forcefully change the configurations), true (The system forcefully changes the configurations). ForceUpgrade pulumi.BoolPtrInput // The instance type of the instance. For more information, see [Instance types](https://www.alibabacloud.com/help/en/apsaradb-for-redis/latest/instance-types). InstanceClass pulumi.StringPtrInput // The storage medium of the instance. Valid values: tair_rdb, tair_scm, tair_essd. InstanceType pulumi.StringPtrInput // The password that is used to connect to the instance. The password must be 8 to 32 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include ! @ # $ % ^ & * ( ) _ + - =. Password pulumi.StringPtrInput // Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default PayAsYouGo. PaymentType pulumi.StringPtrInput // The subscription duration. Unit: months. Valid values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24,36, and 60. This parameter is required only if you set the PaymentType parameter to Subscription. Period pulumi.IntPtrInput // The Tair service port. The service port of the instance. Valid values: 1024 to 65535. Default value: 6379. Port pulumi.IntPtrInput // The ID of the resource group to which the instance belongs. ResourceGroupId pulumi.StringPtrInput // The ID of the secondary zone.This parameter is returned only if the instance is deployed in two zones. SecondaryZoneId pulumi.StringPtrInput // The number of data nodes in the instance. When 1 is passed, it means that the instance created is a standard architecture with only one data node. You can create an instance in the standard architecture that contains only a single data node. 2 to 32: You can create an instance in the cluster architecture that contains the specified number of data nodes. Only persistent memory-optimized instances can use the cluster architecture. Therefore, you can set this parameter to an integer from 2 to 32 only if you set the InstanceType parameter to tair_scm. It is not allowed to modify the number of shards by modifying this parameter after creating a master-slave architecture instance with or without passing 1. ShardCount pulumi.IntPtrInput // The status of the resource. Status pulumi.StringPtrInput // The storage type. The value range is [PL1, PL2, and PL3]. The default value is PL1. When the value of instanceType is "tairEssd", this attribute takes effect and is required. StoragePerformanceLevel pulumi.StringPtrInput // The value range of different specifications is different, see [ESSD-based instances](https://www.alibabacloud.com/help/en/tair/product-overview/essd-based-instances). When the value of instanceType is "tairEssd", this attribute takes effect and is required. StorageSizeGb pulumi.IntPtrInput // The tag of the resource. Tags pulumi.MapInput // The name of the resource. TairInstanceName pulumi.StringPtrInput // The ID of the virtual private cloud (VPC). VpcId pulumi.StringPtrInput // The ID of the vSwitch to which the instance is connected. VswitchId pulumi.StringPtrInput // Zone ID. ZoneId pulumi.StringPtrInput }
func (TairInstanceState) ElementType ¶
func (TairInstanceState) ElementType() reflect.Type