Documentation ¶
Index ¶
- func PkgVersion() (semver.Version, error)
- type GetInstancesArgs
- type GetInstancesInstance
- type GetInstancesInstanceArgs
- type GetInstancesInstanceArray
- type GetInstancesInstanceArrayInput
- type GetInstancesInstanceArrayOutput
- func (GetInstancesInstanceArrayOutput) ElementType() reflect.Type
- func (o GetInstancesInstanceArrayOutput) Index(i pulumi.IntInput) GetInstancesInstanceOutput
- func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput
- func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutputWithContext(ctx context.Context) GetInstancesInstanceArrayOutput
- type GetInstancesInstanceInput
- type GetInstancesInstanceOutput
- func (o GetInstancesInstanceOutput) AutoRenew() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) ColdStorage() pulumi.IntOutput
- func (o GetInstancesInstanceOutput) CreateTime() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) DeletionProection() pulumi.BoolOutput
- func (o GetInstancesInstanceOutput) DiskCategory() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) DiskUsage() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) DiskWarningThreshold() pulumi.StringOutput
- func (GetInstancesInstanceOutput) ElementType() reflect.Type
- func (o GetInstancesInstanceOutput) EngineType() pulumi.IntOutput
- func (o GetInstancesInstanceOutput) ExpiredTime() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) FileEngineNodeCount() pulumi.IntOutput
- func (o GetInstancesInstanceOutput) FileEngineSpecification() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) Id() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) InstanceId() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) InstanceName() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) InstanceStorage() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) IpWhiteLists() pulumi.StringArrayOutput
- func (o GetInstancesInstanceOutput) LtsNodeCount() pulumi.IntOutput
- func (o GetInstancesInstanceOutput) LtsNodeSpecification() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) NetworkType() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) PaymentType() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) PhoenixNodeCount() pulumi.IntOutput
- func (o GetInstancesInstanceOutput) PhoenixNodeSpecification() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) ResourceOwnerId() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) SearchEngineNodeCount() pulumi.IntOutput
- func (o GetInstancesInstanceOutput) SearchEngineSpecification() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) ServiceType() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) Status() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) TableEngineNodeCount() pulumi.IntOutput
- func (o GetInstancesInstanceOutput) TableEngineSpecification() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) TimeSeriesEngineNodeCount() pulumi.IntOutput
- func (o GetInstancesInstanceOutput) TimeSeriresEngineSpecification() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutput() GetInstancesInstanceOutput
- func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutputWithContext(ctx context.Context) GetInstancesInstanceOutput
- func (o GetInstancesInstanceOutput) VpcId() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) VswitchId() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) ZoneId() pulumi.StringOutput
- type GetInstancesOutputArgs
- type GetInstancesResult
- type GetInstancesResultOutput
- func (GetInstancesResultOutput) ElementType() reflect.Type
- func (o GetInstancesResultOutput) EnableDetails() pulumi.BoolPtrOutput
- func (o GetInstancesResultOutput) Id() pulumi.StringOutput
- func (o GetInstancesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetInstancesResultOutput) Instances() GetInstancesInstanceArrayOutput
- func (o GetInstancesResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetInstancesResultOutput) Names() pulumi.StringArrayOutput
- func (o GetInstancesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetInstancesResultOutput) QueryStr() pulumi.StringPtrOutput
- func (o GetInstancesResultOutput) Status() pulumi.StringPtrOutput
- func (o GetInstancesResultOutput) SupportEngine() pulumi.IntPtrOutput
- func (o GetInstancesResultOutput) ToGetInstancesResultOutput() GetInstancesResultOutput
- func (o GetInstancesResultOutput) ToGetInstancesResultOutputWithContext(ctx context.Context) GetInstancesResultOutput
- type Instance
- type InstanceArgs
- type InstanceArray
- type InstanceArrayInput
- type InstanceArrayOutput
- type InstanceInput
- type InstanceMap
- type InstanceMapInput
- type InstanceMapOutput
- type InstanceOutput
- func (o InstanceOutput) ArbiterVswitchId() pulumi.StringPtrOutput
- func (o InstanceOutput) ArbiterZoneId() pulumi.StringPtrOutput
- func (o InstanceOutput) ArchVersion() pulumi.StringPtrOutput
- func (o InstanceOutput) ColdStorage() pulumi.IntOutput
- func (o InstanceOutput) CoreNum() pulumi.IntPtrOutputdeprecated
- func (o InstanceOutput) CoreSingleStorage() pulumi.IntPtrOutput
- func (o InstanceOutput) CoreSpec() pulumi.StringOutput
- func (o InstanceOutput) DeletionProection() pulumi.BoolOutput
- func (o InstanceOutput) DiskCategory() pulumi.StringOutput
- func (o InstanceOutput) Duration() pulumi.StringPtrOutput
- func (InstanceOutput) ElementType() reflect.Type
- func (o InstanceOutput) EnabledFileEngine() pulumi.BoolOutput
- func (o InstanceOutput) EnabledLtsEngine() pulumi.BoolOutput
- func (o InstanceOutput) EnabledSearchEngine() pulumi.BoolOutput
- func (o InstanceOutput) EnabledTableEngine() pulumi.BoolOutput
- func (o InstanceOutput) EnabledTimeSeriresEngine() pulumi.BoolOutput
- func (o InstanceOutput) FileEngineNodeCount() pulumi.IntOutput
- func (o InstanceOutput) FileEngineSpecification() pulumi.StringOutput
- func (o InstanceOutput) GroupName() pulumi.StringPtrOutput
- func (o InstanceOutput) InstanceName() pulumi.StringPtrOutput
- func (o InstanceOutput) InstanceStorage() pulumi.StringOutput
- func (o InstanceOutput) IpWhiteLists() pulumi.StringArrayOutput
- func (o InstanceOutput) LogDiskCategory() pulumi.StringPtrOutput
- func (o InstanceOutput) LogNum() pulumi.IntPtrOutput
- func (o InstanceOutput) LogSingleStorage() pulumi.IntPtrOutput
- func (o InstanceOutput) LogSpec() pulumi.StringPtrOutput
- func (o InstanceOutput) LtsNodeCount() pulumi.IntOutput
- func (o InstanceOutput) LtsNodeSpecification() pulumi.StringOutput
- func (o InstanceOutput) MultiZoneCombination() pulumi.StringPtrOutput
- func (o InstanceOutput) PaymentType() pulumi.StringOutput
- func (o InstanceOutput) PhoenixNodeCount() pulumi.IntOutput
- func (o InstanceOutput) PhoenixNodeSpecification() pulumi.StringOutput
- func (o InstanceOutput) PricingCycle() pulumi.StringPtrOutput
- func (o InstanceOutput) PrimaryVswitchId() pulumi.StringPtrOutput
- func (o InstanceOutput) PrimaryZoneId() pulumi.StringPtrOutput
- func (o InstanceOutput) ResourceGroupId() pulumi.StringOutput
- func (o InstanceOutput) SearchEngineNodeCount() pulumi.IntOutput
- func (o InstanceOutput) SearchEngineSpecification() pulumi.StringOutput
- func (o InstanceOutput) StandbyVswitchId() pulumi.StringPtrOutput
- func (o InstanceOutput) StandbyZoneId() pulumi.StringPtrOutput
- func (o InstanceOutput) Status() pulumi.StringOutput
- func (o InstanceOutput) TableEngineNodeCount() pulumi.IntOutput
- func (o InstanceOutput) TableEngineSpecification() pulumi.StringOutput
- func (o InstanceOutput) Tags() pulumi.MapOutput
- func (o InstanceOutput) TimeSeriesEngineNodeCount() pulumi.IntOutput
- func (o InstanceOutput) TimeSeriesEngineSpecification() pulumi.StringOutput
- func (o InstanceOutput) TimeSeriresEngineSpecification() pulumi.StringOutputdeprecated
- func (o InstanceOutput) ToInstanceOutput() InstanceOutput
- func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
- func (o InstanceOutput) UpgradeType() pulumi.StringPtrOutputdeprecated
- func (o InstanceOutput) VpcId() pulumi.StringOutput
- func (o InstanceOutput) VswitchId() pulumi.StringOutput
- func (o InstanceOutput) ZoneId() pulumi.StringOutput
- type InstanceState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PkgVersion ¶ added in v0.0.1
PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.
Types ¶
type GetInstancesArgs ¶
type GetInstancesArgs struct { // Default to `false`. Set it to `true` can output more details about resource attributes. EnableDetails *bool `pulumi:"enableDetails"` // A list of Instance IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by Instance name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // The query str, which can use `instanceName` keyword for fuzzy search. QueryStr *string `pulumi:"queryStr"` // The status of Instance, enumerative: Valid values: `ACTIVATION`, `DELETED`, `CREATING`, `CLASS_CHANGING`, `LOCKED`, `INSTANCE_LEVEL_MODIFY`, `NET_MODIFYING`, `RESIZING`, `RESTARTING`, `MINOR_VERSION_TRANSING`. Status *string `pulumi:"status"` // The support engine. Valid values: `1` to `7`. SupportEngine *int `pulumi:"supportEngine"` }
A collection of arguments for invoking getInstances.
type GetInstancesInstance ¶
type GetInstancesInstance struct { // AutoRenew. AutoRenew string `pulumi:"autoRenew"` // The cold storage capacity of the instance. Unit: GB. ColdStorage int `pulumi:"coldStorage"` // The creation date of Instance. CreateTime string `pulumi:"createTime"` // The deletion protection of instance. DeletionProection bool `pulumi:"deletionProection"` // The disk type of instance. Valid values: `capacityCloudStorage`, `cloudEfficiency`, `cloudEssd`, `cloudSsd`. DiskCategory string `pulumi:"diskCategory"` // The usage of disk. DiskUsage string `pulumi:"diskUsage"` // The threshold of disk. DiskWarningThreshold string `pulumi:"diskWarningThreshold"` // The type of Instance engine . EngineType int `pulumi:"engineType"` // The expiration time of Instance. ExpiredTime string `pulumi:"expiredTime"` // The count of file engine. FileEngineNodeCount int `pulumi:"fileEngineNodeCount"` // The specification of file engine. Valid values: `lindorm.c.xlarge`. FileEngineSpecification string `pulumi:"fileEngineSpecification"` // The ID of the Instance. Id string `pulumi:"id"` // The ID of the instance. InstanceId string `pulumi:"instanceId"` // The name of the instance. InstanceName string `pulumi:"instanceName"` // The storage capacity of the instance. Unit: GB. For example, the value 50 indicates 50 GB. InstanceStorage string `pulumi:"instanceStorage"` // The ip white list of instance. IpWhiteLists []string `pulumi:"ipWhiteLists"` // The count of lindorm tunnel service. LtsNodeCount int `pulumi:"ltsNodeCount"` // The specification of lindorm tunnel service. Valid values: `lindorm.g.2xlarge`, `lindorm.g.xlarge`. LtsNodeSpecification string `pulumi:"ltsNodeSpecification"` // Instance network type, enumerative.VPC. NetworkType string `pulumi:"networkType"` // The billing method. Valid values: `PayAsYouGo` and `Subscription`. PaymentType string `pulumi:"paymentType"` // The count of phoenix. PhoenixNodeCount int `pulumi:"phoenixNodeCount"` // The specification of phoenix. Valid values: `lindorm.c.2xlarge`, `lindorm.c.4xlarge`, `lindorm.c.8xlarge`, `lindorm.c.xlarge`, `lindorm.g.2xlarge`, `lindorm.g.4xlarge`, `lindorm.g.8xlarge`, `lindorm.g.xlarge`. PhoenixNodeSpecification string `pulumi:"phoenixNodeSpecification"` // The owner id of resource. ResourceOwnerId string `pulumi:"resourceOwnerId"` // The count of search engine. SearchEngineNodeCount int `pulumi:"searchEngineNodeCount"` // The specification of search engine. Valid values: `lindorm.g.2xlarge`, `lindorm.g.4xlarge`, `lindorm.g.8xlarge`, `lindorm.g.xlarge`. SearchEngineSpecification string `pulumi:"searchEngineSpecification"` // The service type of Instance, Valid values: `lindorm`, `serverlessLindorm`, `lindormStandalone`. ServiceType string `pulumi:"serviceType"` // The status of Instance, enumerative: Valid values: `ACTIVATION`, `DELETED`, `CREATING`, `CLASS_CHANGING`, `LOCKED`, `INSTANCE_LEVEL_MODIFY`, `NET_MODIFYING`, `RESIZING`, `RESTARTING`, `MINOR_VERSION_TRANSING`. Status string `pulumi:"status"` // The count of table engine. TableEngineNodeCount int `pulumi:"tableEngineNodeCount"` // The specification of table engine. Valid values: `lindorm.c.2xlarge`, `lindorm.c.4xlarge`, `lindorm.c.8xlarge`, `lindorm.c.xlarge`, `lindorm.g.2xlarge`, `lindorm.g.4xlarge`, `lindorm.g.8xlarge`, `lindorm.g.xlarge`. TableEngineSpecification string `pulumi:"tableEngineSpecification"` // The count of time series engine. TimeSeriesEngineNodeCount int `pulumi:"timeSeriesEngineNodeCount"` // The specification of time series engine. Valid values: `lindorm.g.2xlarge`, `lindorm.g.4xlarge`, `lindorm.g.8xlarge`, `lindorm.g.xlarge`. TimeSeriresEngineSpecification string `pulumi:"timeSeriresEngineSpecification"` // The ID of the virtual private cloud (VPC) that is connected to the instance. VpcId string `pulumi:"vpcId"` // The vswitch id. VswitchId string `pulumi:"vswitchId"` // The zone ID of the instance. ZoneId string `pulumi:"zoneId"` }
type GetInstancesInstanceArgs ¶
type GetInstancesInstanceArgs struct { // AutoRenew. AutoRenew pulumi.StringInput `pulumi:"autoRenew"` // The cold storage capacity of the instance. Unit: GB. ColdStorage pulumi.IntInput `pulumi:"coldStorage"` // The creation date of Instance. CreateTime pulumi.StringInput `pulumi:"createTime"` // The deletion protection of instance. DeletionProection pulumi.BoolInput `pulumi:"deletionProection"` // The disk type of instance. Valid values: `capacityCloudStorage`, `cloudEfficiency`, `cloudEssd`, `cloudSsd`. DiskCategory pulumi.StringInput `pulumi:"diskCategory"` // The usage of disk. DiskUsage pulumi.StringInput `pulumi:"diskUsage"` // The threshold of disk. DiskWarningThreshold pulumi.StringInput `pulumi:"diskWarningThreshold"` // The type of Instance engine . EngineType pulumi.IntInput `pulumi:"engineType"` // The expiration time of Instance. ExpiredTime pulumi.StringInput `pulumi:"expiredTime"` // The count of file engine. FileEngineNodeCount pulumi.IntInput `pulumi:"fileEngineNodeCount"` // The specification of file engine. Valid values: `lindorm.c.xlarge`. FileEngineSpecification pulumi.StringInput `pulumi:"fileEngineSpecification"` // The ID of the Instance. Id pulumi.StringInput `pulumi:"id"` // The ID of the instance. InstanceId pulumi.StringInput `pulumi:"instanceId"` // The name of the instance. InstanceName pulumi.StringInput `pulumi:"instanceName"` // The storage capacity of the instance. Unit: GB. For example, the value 50 indicates 50 GB. InstanceStorage pulumi.StringInput `pulumi:"instanceStorage"` // The ip white list of instance. IpWhiteLists pulumi.StringArrayInput `pulumi:"ipWhiteLists"` // The count of lindorm tunnel service. LtsNodeCount pulumi.IntInput `pulumi:"ltsNodeCount"` // The specification of lindorm tunnel service. Valid values: `lindorm.g.2xlarge`, `lindorm.g.xlarge`. LtsNodeSpecification pulumi.StringInput `pulumi:"ltsNodeSpecification"` // Instance network type, enumerative.VPC. NetworkType pulumi.StringInput `pulumi:"networkType"` // The billing method. Valid values: `PayAsYouGo` and `Subscription`. PaymentType pulumi.StringInput `pulumi:"paymentType"` // The count of phoenix. PhoenixNodeCount pulumi.IntInput `pulumi:"phoenixNodeCount"` // The specification of phoenix. Valid values: `lindorm.c.2xlarge`, `lindorm.c.4xlarge`, `lindorm.c.8xlarge`, `lindorm.c.xlarge`, `lindorm.g.2xlarge`, `lindorm.g.4xlarge`, `lindorm.g.8xlarge`, `lindorm.g.xlarge`. PhoenixNodeSpecification pulumi.StringInput `pulumi:"phoenixNodeSpecification"` // The owner id of resource. ResourceOwnerId pulumi.StringInput `pulumi:"resourceOwnerId"` // The count of search engine. SearchEngineNodeCount pulumi.IntInput `pulumi:"searchEngineNodeCount"` // The specification of search engine. Valid values: `lindorm.g.2xlarge`, `lindorm.g.4xlarge`, `lindorm.g.8xlarge`, `lindorm.g.xlarge`. SearchEngineSpecification pulumi.StringInput `pulumi:"searchEngineSpecification"` // The service type of Instance, Valid values: `lindorm`, `serverlessLindorm`, `lindormStandalone`. ServiceType pulumi.StringInput `pulumi:"serviceType"` // The status of Instance, enumerative: Valid values: `ACTIVATION`, `DELETED`, `CREATING`, `CLASS_CHANGING`, `LOCKED`, `INSTANCE_LEVEL_MODIFY`, `NET_MODIFYING`, `RESIZING`, `RESTARTING`, `MINOR_VERSION_TRANSING`. Status pulumi.StringInput `pulumi:"status"` // The count of table engine. TableEngineNodeCount pulumi.IntInput `pulumi:"tableEngineNodeCount"` // The specification of table engine. Valid values: `lindorm.c.2xlarge`, `lindorm.c.4xlarge`, `lindorm.c.8xlarge`, `lindorm.c.xlarge`, `lindorm.g.2xlarge`, `lindorm.g.4xlarge`, `lindorm.g.8xlarge`, `lindorm.g.xlarge`. TableEngineSpecification pulumi.StringInput `pulumi:"tableEngineSpecification"` // The count of time series engine. TimeSeriesEngineNodeCount pulumi.IntInput `pulumi:"timeSeriesEngineNodeCount"` // The specification of time series engine. Valid values: `lindorm.g.2xlarge`, `lindorm.g.4xlarge`, `lindorm.g.8xlarge`, `lindorm.g.xlarge`. TimeSeriresEngineSpecification pulumi.StringInput `pulumi:"timeSeriresEngineSpecification"` // The ID of the virtual private cloud (VPC) that is connected to the instance. VpcId pulumi.StringInput `pulumi:"vpcId"` // The vswitch id. VswitchId pulumi.StringInput `pulumi:"vswitchId"` // The zone ID of the instance. ZoneId pulumi.StringInput `pulumi:"zoneId"` }
func (GetInstancesInstanceArgs) ElementType ¶
func (GetInstancesInstanceArgs) ElementType() reflect.Type
func (GetInstancesInstanceArgs) ToGetInstancesInstanceOutput ¶
func (i GetInstancesInstanceArgs) ToGetInstancesInstanceOutput() GetInstancesInstanceOutput
func (GetInstancesInstanceArgs) ToGetInstancesInstanceOutputWithContext ¶
func (i GetInstancesInstanceArgs) ToGetInstancesInstanceOutputWithContext(ctx context.Context) GetInstancesInstanceOutput
type GetInstancesInstanceArray ¶
type GetInstancesInstanceArray []GetInstancesInstanceInput
func (GetInstancesInstanceArray) ElementType ¶
func (GetInstancesInstanceArray) ElementType() reflect.Type
func (GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutput ¶
func (i GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput
func (GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutputWithContext ¶
func (i GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutputWithContext(ctx context.Context) GetInstancesInstanceArrayOutput
type GetInstancesInstanceArrayInput ¶
type GetInstancesInstanceArrayInput interface { pulumi.Input ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput ToGetInstancesInstanceArrayOutputWithContext(context.Context) GetInstancesInstanceArrayOutput }
GetInstancesInstanceArrayInput is an input type that accepts GetInstancesInstanceArray and GetInstancesInstanceArrayOutput values. You can construct a concrete instance of `GetInstancesInstanceArrayInput` via:
GetInstancesInstanceArray{ GetInstancesInstanceArgs{...} }
type GetInstancesInstanceArrayOutput ¶
type GetInstancesInstanceArrayOutput struct{ *pulumi.OutputState }
func (GetInstancesInstanceArrayOutput) ElementType ¶
func (GetInstancesInstanceArrayOutput) ElementType() reflect.Type
func (GetInstancesInstanceArrayOutput) Index ¶
func (o GetInstancesInstanceArrayOutput) Index(i pulumi.IntInput) GetInstancesInstanceOutput
func (GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutput ¶
func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput
func (GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutputWithContext ¶
func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutputWithContext(ctx context.Context) GetInstancesInstanceArrayOutput
type GetInstancesInstanceInput ¶
type GetInstancesInstanceInput interface { pulumi.Input ToGetInstancesInstanceOutput() GetInstancesInstanceOutput ToGetInstancesInstanceOutputWithContext(context.Context) GetInstancesInstanceOutput }
GetInstancesInstanceInput is an input type that accepts GetInstancesInstanceArgs and GetInstancesInstanceOutput values. You can construct a concrete instance of `GetInstancesInstanceInput` via:
GetInstancesInstanceArgs{...}
type GetInstancesInstanceOutput ¶
type GetInstancesInstanceOutput struct{ *pulumi.OutputState }
func (GetInstancesInstanceOutput) AutoRenew ¶
func (o GetInstancesInstanceOutput) AutoRenew() pulumi.StringOutput
AutoRenew.
func (GetInstancesInstanceOutput) ColdStorage ¶
func (o GetInstancesInstanceOutput) ColdStorage() pulumi.IntOutput
The cold storage capacity of the instance. Unit: GB.
func (GetInstancesInstanceOutput) CreateTime ¶
func (o GetInstancesInstanceOutput) CreateTime() pulumi.StringOutput
The creation date of Instance.
func (GetInstancesInstanceOutput) DeletionProection ¶
func (o GetInstancesInstanceOutput) DeletionProection() pulumi.BoolOutput
The deletion protection of instance.
func (GetInstancesInstanceOutput) DiskCategory ¶
func (o GetInstancesInstanceOutput) DiskCategory() pulumi.StringOutput
The disk type of instance. Valid values: `capacityCloudStorage`, `cloudEfficiency`, `cloudEssd`, `cloudSsd`.
func (GetInstancesInstanceOutput) DiskUsage ¶
func (o GetInstancesInstanceOutput) DiskUsage() pulumi.StringOutput
The usage of disk.
func (GetInstancesInstanceOutput) DiskWarningThreshold ¶
func (o GetInstancesInstanceOutput) DiskWarningThreshold() pulumi.StringOutput
The threshold of disk.
func (GetInstancesInstanceOutput) ElementType ¶
func (GetInstancesInstanceOutput) ElementType() reflect.Type
func (GetInstancesInstanceOutput) EngineType ¶
func (o GetInstancesInstanceOutput) EngineType() pulumi.IntOutput
The type of Instance engine .
func (GetInstancesInstanceOutput) ExpiredTime ¶
func (o GetInstancesInstanceOutput) ExpiredTime() pulumi.StringOutput
The expiration time of Instance.
func (GetInstancesInstanceOutput) FileEngineNodeCount ¶
func (o GetInstancesInstanceOutput) FileEngineNodeCount() pulumi.IntOutput
The count of file engine.
func (GetInstancesInstanceOutput) FileEngineSpecification ¶
func (o GetInstancesInstanceOutput) FileEngineSpecification() pulumi.StringOutput
The specification of file engine. Valid values: `lindorm.c.xlarge`.
func (GetInstancesInstanceOutput) Id ¶
func (o GetInstancesInstanceOutput) Id() pulumi.StringOutput
The ID of the Instance.
func (GetInstancesInstanceOutput) InstanceId ¶
func (o GetInstancesInstanceOutput) InstanceId() pulumi.StringOutput
The ID of the instance.
func (GetInstancesInstanceOutput) InstanceName ¶
func (o GetInstancesInstanceOutput) InstanceName() pulumi.StringOutput
The name of the instance.
func (GetInstancesInstanceOutput) InstanceStorage ¶
func (o GetInstancesInstanceOutput) InstanceStorage() pulumi.StringOutput
The storage capacity of the instance. Unit: GB. For example, the value 50 indicates 50 GB.
func (GetInstancesInstanceOutput) IpWhiteLists ¶
func (o GetInstancesInstanceOutput) IpWhiteLists() pulumi.StringArrayOutput
The ip white list of instance.
func (GetInstancesInstanceOutput) LtsNodeCount ¶
func (o GetInstancesInstanceOutput) LtsNodeCount() pulumi.IntOutput
The count of lindorm tunnel service.
func (GetInstancesInstanceOutput) LtsNodeSpecification ¶
func (o GetInstancesInstanceOutput) LtsNodeSpecification() pulumi.StringOutput
The specification of lindorm tunnel service. Valid values: `lindorm.g.2xlarge`, `lindorm.g.xlarge`.
func (GetInstancesInstanceOutput) NetworkType ¶
func (o GetInstancesInstanceOutput) NetworkType() pulumi.StringOutput
Instance network type, enumerative.VPC.
func (GetInstancesInstanceOutput) PaymentType ¶
func (o GetInstancesInstanceOutput) PaymentType() pulumi.StringOutput
The billing method. Valid values: `PayAsYouGo` and `Subscription`.
func (GetInstancesInstanceOutput) PhoenixNodeCount ¶
func (o GetInstancesInstanceOutput) PhoenixNodeCount() pulumi.IntOutput
The count of phoenix.
func (GetInstancesInstanceOutput) PhoenixNodeSpecification ¶
func (o GetInstancesInstanceOutput) PhoenixNodeSpecification() pulumi.StringOutput
The specification of phoenix. Valid values: `lindorm.c.2xlarge`, `lindorm.c.4xlarge`, `lindorm.c.8xlarge`, `lindorm.c.xlarge`, `lindorm.g.2xlarge`, `lindorm.g.4xlarge`, `lindorm.g.8xlarge`, `lindorm.g.xlarge`.
func (GetInstancesInstanceOutput) ResourceOwnerId ¶
func (o GetInstancesInstanceOutput) ResourceOwnerId() pulumi.StringOutput
The owner id of resource.
func (GetInstancesInstanceOutput) SearchEngineNodeCount ¶
func (o GetInstancesInstanceOutput) SearchEngineNodeCount() pulumi.IntOutput
The count of search engine.
func (GetInstancesInstanceOutput) SearchEngineSpecification ¶
func (o GetInstancesInstanceOutput) SearchEngineSpecification() pulumi.StringOutput
The specification of search engine. Valid values: `lindorm.g.2xlarge`, `lindorm.g.4xlarge`, `lindorm.g.8xlarge`, `lindorm.g.xlarge`.
func (GetInstancesInstanceOutput) ServiceType ¶
func (o GetInstancesInstanceOutput) ServiceType() pulumi.StringOutput
The service type of Instance, Valid values: `lindorm`, `serverlessLindorm`, `lindormStandalone`.
func (GetInstancesInstanceOutput) Status ¶
func (o GetInstancesInstanceOutput) Status() pulumi.StringOutput
The status of Instance, enumerative: Valid values: `ACTIVATION`, `DELETED`, `CREATING`, `CLASS_CHANGING`, `LOCKED`, `INSTANCE_LEVEL_MODIFY`, `NET_MODIFYING`, `RESIZING`, `RESTARTING`, `MINOR_VERSION_TRANSING`.
func (GetInstancesInstanceOutput) TableEngineNodeCount ¶
func (o GetInstancesInstanceOutput) TableEngineNodeCount() pulumi.IntOutput
The count of table engine.
func (GetInstancesInstanceOutput) TableEngineSpecification ¶
func (o GetInstancesInstanceOutput) TableEngineSpecification() pulumi.StringOutput
The specification of table engine. Valid values: `lindorm.c.2xlarge`, `lindorm.c.4xlarge`, `lindorm.c.8xlarge`, `lindorm.c.xlarge`, `lindorm.g.2xlarge`, `lindorm.g.4xlarge`, `lindorm.g.8xlarge`, `lindorm.g.xlarge`.
func (GetInstancesInstanceOutput) TimeSeriesEngineNodeCount ¶
func (o GetInstancesInstanceOutput) TimeSeriesEngineNodeCount() pulumi.IntOutput
The count of time series engine.
func (GetInstancesInstanceOutput) TimeSeriresEngineSpecification ¶
func (o GetInstancesInstanceOutput) TimeSeriresEngineSpecification() pulumi.StringOutput
The specification of time series engine. Valid values: `lindorm.g.2xlarge`, `lindorm.g.4xlarge`, `lindorm.g.8xlarge`, `lindorm.g.xlarge`.
func (GetInstancesInstanceOutput) ToGetInstancesInstanceOutput ¶
func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutput() GetInstancesInstanceOutput
func (GetInstancesInstanceOutput) ToGetInstancesInstanceOutputWithContext ¶
func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutputWithContext(ctx context.Context) GetInstancesInstanceOutput
func (GetInstancesInstanceOutput) VpcId ¶
func (o GetInstancesInstanceOutput) VpcId() pulumi.StringOutput
The ID of the virtual private cloud (VPC) that is connected to the instance.
func (GetInstancesInstanceOutput) VswitchId ¶
func (o GetInstancesInstanceOutput) VswitchId() pulumi.StringOutput
The vswitch id.
func (GetInstancesInstanceOutput) ZoneId ¶
func (o GetInstancesInstanceOutput) ZoneId() pulumi.StringOutput
The zone ID of the instance.
type GetInstancesOutputArgs ¶
type GetInstancesOutputArgs struct { // Default to `false`. Set it to `true` can output more details about resource attributes. EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"` // A list of Instance IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by Instance name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The query str, which can use `instanceName` keyword for fuzzy search. QueryStr pulumi.StringPtrInput `pulumi:"queryStr"` // The status of Instance, enumerative: Valid values: `ACTIVATION`, `DELETED`, `CREATING`, `CLASS_CHANGING`, `LOCKED`, `INSTANCE_LEVEL_MODIFY`, `NET_MODIFYING`, `RESIZING`, `RESTARTING`, `MINOR_VERSION_TRANSING`. Status pulumi.StringPtrInput `pulumi:"status"` // The support engine. Valid values: `1` to `7`. SupportEngine pulumi.IntPtrInput `pulumi:"supportEngine"` }
A collection of arguments for invoking getInstances.
func (GetInstancesOutputArgs) ElementType ¶
func (GetInstancesOutputArgs) ElementType() reflect.Type
type GetInstancesResult ¶
type GetInstancesResult struct { EnableDetails *bool `pulumi:"enableDetails"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` Instances []GetInstancesInstance `pulumi:"instances"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` QueryStr *string `pulumi:"queryStr"` Status *string `pulumi:"status"` SupportEngine *int `pulumi:"supportEngine"` }
A collection of values returned by getInstances.
func GetInstances ¶
func GetInstances(ctx *pulumi.Context, args *GetInstancesArgs, opts ...pulumi.InvokeOption) (*GetInstancesResult, error)
This data source provides the Lindorm Instances of the current Alibaba Cloud user.
> **NOTE:** Available in v1.132.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/lindorm" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/lindorm"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ids, err := lindorm.GetInstances(ctx, nil, nil) if err != nil { return err } ctx.Export("lindormInstanceId1", ids.Instances[0].Id) nameRegex, err := lindorm.GetInstances(ctx, &lindorm.GetInstancesArgs{ NameRegex: pulumi.StringRef("^my-Instance"), }, nil) if err != nil { return err } ctx.Export("lindormInstanceId2", nameRegex.Instances[0].Id) return nil }) }
```
type GetInstancesResultOutput ¶
type GetInstancesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getInstances.
func GetInstancesOutput ¶
func GetInstancesOutput(ctx *pulumi.Context, args GetInstancesOutputArgs, opts ...pulumi.InvokeOption) GetInstancesResultOutput
func (GetInstancesResultOutput) ElementType ¶
func (GetInstancesResultOutput) ElementType() reflect.Type
func (GetInstancesResultOutput) EnableDetails ¶
func (o GetInstancesResultOutput) EnableDetails() pulumi.BoolPtrOutput
func (GetInstancesResultOutput) Id ¶
func (o GetInstancesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetInstancesResultOutput) Ids ¶
func (o GetInstancesResultOutput) Ids() pulumi.StringArrayOutput
func (GetInstancesResultOutput) Instances ¶
func (o GetInstancesResultOutput) Instances() GetInstancesInstanceArrayOutput
func (GetInstancesResultOutput) NameRegex ¶
func (o GetInstancesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetInstancesResultOutput) Names ¶
func (o GetInstancesResultOutput) Names() pulumi.StringArrayOutput
func (GetInstancesResultOutput) OutputFile ¶
func (o GetInstancesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetInstancesResultOutput) QueryStr ¶
func (o GetInstancesResultOutput) QueryStr() pulumi.StringPtrOutput
func (GetInstancesResultOutput) Status ¶
func (o GetInstancesResultOutput) Status() pulumi.StringPtrOutput
func (GetInstancesResultOutput) SupportEngine ¶
func (o GetInstancesResultOutput) SupportEngine() pulumi.IntPtrOutput
func (GetInstancesResultOutput) ToGetInstancesResultOutput ¶
func (o GetInstancesResultOutput) ToGetInstancesResultOutput() GetInstancesResultOutput
func (GetInstancesResultOutput) ToGetInstancesResultOutputWithContext ¶
func (o GetInstancesResultOutput) ToGetInstancesResultOutputWithContext(ctx context.Context) GetInstancesResultOutput
type Instance ¶
type Instance struct { pulumi.CustomResourceState // The multi-availability zone instance, coordinating the virtual switch ID of the availability zone, the switch must be located under the availability zone corresponding to the ArbiterZoneId. This parameter is required if you need to create multiple availability zone instances. ArbiterVswitchId pulumi.StringPtrOutput `pulumi:"arbiterVswitchId"` // The multiple Availability Zone Instance, the availability zone ID of the coordinating availability zone. required if you need to create multiple availability zone instances. ArbiterZoneId pulumi.StringPtrOutput `pulumi:"arbiterZoneId"` // The deployment architecture. If you do not fill in this parameter, the default is 1.0. to create multiple availability instances, fill in 2.0. if you need to create multiple availability instances, this parameter is required. Valid values: `1.0` to `2.0`. ArchVersion pulumi.StringPtrOutput `pulumi:"archVersion"` // The cold storage capacity of the instance. Unit: GB. ColdStorage pulumi.IntOutput `pulumi:"coldStorage"` // The core num. **NOTE:** Field `coreNum` has been deprecated from provider version 1.188.0 and it will be removed in the future version. // // Deprecated: Field 'core_num' has been deprecated from provider version 1.188.0 and it will be removed in the future version. CoreNum pulumi.IntPtrOutput `pulumi:"coreNum"` // The multiple availability zone instances, CORE single node capacity. required if you want to create multiple availability zone instances. Valid values: `400` to `64000`. CoreSingleStorage pulumi.IntPtrOutput `pulumi:"coreSingleStorage"` // The core spec. When `diskCategory` is `localSsdPro` or `localHddPro`, this filed is valid. // - When `diskCategory` is `localSsdPro`, the valid values is `lindorm.i2.xlarge`, `lindorm.i2.2xlarge`, `lindorm.i2.4xlarge`, `lindorm.i2.8xlarge`. // - When `diskCategory` is `localHddPro`, the valid values is `lindorm.d1.2xlarge`, `lindorm.d1.4xlarge`, `lindorm.d1.6xlarge`. CoreSpec pulumi.StringOutput `pulumi:"coreSpec"` // The deletion protection of instance. DeletionProection pulumi.BoolOutput `pulumi:"deletionProection"` // The disk type of instance. Valid values: `capacityCloudStorage`, `cloudEfficiency`, `cloudEssd`, `cloudSsd`, `localSsdPro`, `localHddPro`. DiskCategory pulumi.StringOutput `pulumi:"diskCategory"` // The duration of paid. Valid when the `paymentType` is `Subscription`. When `pricingCycle` set to `Month`, the valid value id `1` to `9`. When `pricingCycle` set to `Year`, the valid value id `1` to `3`. Duration pulumi.StringPtrOutput `pulumi:"duration"` // (Available in v1.163.0+) Whether to enable file engine. EnabledFileEngine pulumi.BoolOutput `pulumi:"enabledFileEngine"` // (Available in v1.163.0+) Whether to enable lts engine. EnabledLtsEngine pulumi.BoolOutput `pulumi:"enabledLtsEngine"` // (Available in v1.163.0+) Whether to enable search engine. EnabledSearchEngine pulumi.BoolOutput `pulumi:"enabledSearchEngine"` // (Available in v1.163.0+) Whether to enable table engine. EnabledTableEngine pulumi.BoolOutput `pulumi:"enabledTableEngine"` // (Available in v1.163.0+) Whether to enable time serires engine. EnabledTimeSeriresEngine pulumi.BoolOutput `pulumi:"enabledTimeSeriresEngine"` // The count of file engine. FileEngineNodeCount pulumi.IntOutput `pulumi:"fileEngineNodeCount"` // The specification of file engine. Valid values: `lindorm.c.xlarge`. FileEngineSpecification pulumi.StringOutput `pulumi:"fileEngineSpecification"` // The group name. GroupName pulumi.StringPtrOutput `pulumi:"groupName"` // The name of the instance. InstanceName pulumi.StringPtrOutput `pulumi:"instanceName"` // The storage capacity of the instance. Unit: GB. For example, the value 50 indicates 50 GB. InstanceStorage pulumi.StringOutput `pulumi:"instanceStorage"` // The ip white list of instance. IpWhiteLists pulumi.StringArrayOutput `pulumi:"ipWhiteLists"` // The multi-available zone instance, log node disk type. required if you need to create multiple availability zone instances. Valid values: `cloudEfficiency`, `cloudSsd`. LogDiskCategory pulumi.StringPtrOutput `pulumi:"logDiskCategory"` // The multiple Availability Zone Instance, number of log nodes. this parameter is required if you want to create multiple availability zone instances. Valid values: `4` to `400`. LogNum pulumi.IntPtrOutput `pulumi:"logNum"` // The multi-availability instance, log single-node disk capacity. This parameter is required if you want to create multiple availability zone instances. Valid values: `400` to `64000`. LogSingleStorage pulumi.IntPtrOutput `pulumi:"logSingleStorage"` // The multiple availability zone instances, log node specification. required if you need to create multiple availability zone instances. Valid values: `lindorm.sn1.large`, `lindorm.sn1.2xlarge`. LogSpec pulumi.StringPtrOutput `pulumi:"logSpec"` // The count of lindorm tunnel service. LtsNodeCount pulumi.IntOutput `pulumi:"ltsNodeCount"` // The specification of lindorm tunnel service. Valid values: `lindorm.g.2xlarge`, `lindorm.g.xlarge`. LtsNodeSpecification pulumi.StringOutput `pulumi:"ltsNodeSpecification"` // The multi-zone combinations. Availability zone combinations are supported on the sale page. required if you need to create multiple availability zone instances. Valid values: `ap-southeast-5abc-aliyun`, `cn-hangzhou-ehi-aliyun`, `cn-beijing-acd-aliyun`, `ap-southeast-1-abc-aliyun`, `cn-zhangjiakou-abc-aliyun`, `cn-shanghai-efg-aliyun`, `cn-shanghai-abd-aliyun`, `cn-hangzhou-bef-aliyun`, `cn-hangzhou-bce-aliyun`, `cn-beijing-fgh-aliyun`, `cn-shenzhen-abc-aliyun`. MultiZoneCombination pulumi.StringPtrOutput `pulumi:"multiZoneCombination"` // The billing method. Valid values: `PayAsYouGo` and `Subscription`. PaymentType pulumi.StringOutput `pulumi:"paymentType"` // The count of phoenix. PhoenixNodeCount pulumi.IntOutput `pulumi:"phoenixNodeCount"` // The specification of phoenix. Valid values: `lindorm.c.2xlarge`, `lindorm.c.4xlarge`, `lindorm.c.8xlarge`, `lindorm.c.xlarge`, `lindorm.g.2xlarge`, `lindorm.g.4xlarge`, `lindorm.g.8xlarge`, `lindorm.g.xlarge`. PhoenixNodeSpecification pulumi.StringOutput `pulumi:"phoenixNodeSpecification"` // The pricing cycle. Valid when the `paymentType` is `Subscription`. Valid values: `Month` and `Year`. PricingCycle pulumi.StringPtrOutput `pulumi:"pricingCycle"` // Multi-available zone instances, the virtual switch ID of the primary available zone, must be under the available zone corresponding to the PrimaryZoneId. required if you need to create multiple availability zone instances. PrimaryVswitchId pulumi.StringPtrOutput `pulumi:"primaryVswitchId"` // Multi-availability zone instance with the availability zone ID of the main availability zone. required if you need to create multiple availability zone instances. PrimaryZoneId pulumi.StringPtrOutput `pulumi:"primaryZoneId"` // The ID of the resource group. ResourceGroupId pulumi.StringOutput `pulumi:"resourceGroupId"` // The count of search engine. SearchEngineNodeCount pulumi.IntOutput `pulumi:"searchEngineNodeCount"` // The specification of search engine. Valid values: `lindorm.g.2xlarge`, `lindorm.g.4xlarge`, `lindorm.g.8xlarge`, `lindorm.g.xlarge`. SearchEngineSpecification pulumi.StringOutput `pulumi:"searchEngineSpecification"` // The multiple availability zone instances, the virtual switch ID of the ready availability zone must be under the availability zone corresponding to the StandbyZoneId. required if you need to create multiple availability zone instances. StandbyVswitchId pulumi.StringPtrOutput `pulumi:"standbyVswitchId"` // The multiple availability zone instances with availability zone IDs for the prepared availability zones. required if you need to create multiple availability zone instances. StandbyZoneId pulumi.StringPtrOutput `pulumi:"standbyZoneId"` // The status of Instance, enumerative: Valid values: `ACTIVATION`, `DELETED`, `CREATING`, `CLASS_CHANGING`, `LOCKED`, `INSTANCE_LEVEL_MODIFY`, `NET_MODIFYING`, `RESIZING`, `RESTARTING`, `MINOR_VERSION_TRANSING`. Status pulumi.StringOutput `pulumi:"status"` // The count of table engine. TableEngineNodeCount pulumi.IntOutput `pulumi:"tableEngineNodeCount"` // The specification of table engine. Valid values: `lindorm.c.2xlarge`, `lindorm.c.4xlarge`, `lindorm.c.8xlarge`, `lindorm.c.xlarge`, `lindorm.g.2xlarge`, `lindorm.g.4xlarge`, `lindorm.g.8xlarge`, `lindorm.g.xlarge`. TableEngineSpecification pulumi.StringOutput `pulumi:"tableEngineSpecification"` // A mapping of tags to assign to the resource. Tags pulumi.MapOutput `pulumi:"tags"` // The count of time series engine. TimeSeriesEngineNodeCount pulumi.IntOutput `pulumi:"timeSeriesEngineNodeCount"` // The specification of time series engine. Valid values: `lindorm.g.2xlarge`, `lindorm.g.4xlarge`, `lindorm.g.8xlarge`, `lindorm.g.xlarge`. TimeSeriesEngineSpecification pulumi.StringOutput `pulumi:"timeSeriesEngineSpecification"` // Field `timeSeriresEngineSpecification` has been deprecated from provider version 1.182.0. New field `timeSeriesEngineSpecification` instead. // // Deprecated: Field 'time_serires_engine_specification' has been deprecated from provider version 1.182.0. New field 'time_series_engine_specification' instead. TimeSeriresEngineSpecification pulumi.StringOutput `pulumi:"timeSeriresEngineSpecification"` // The upgrade type. **NOTE:** Field 'upgrade_type' has been deprecated from provider version 1.163.0 and it will be removed in the future version. Valid values: `open-lindorm-engine`, `open-phoenix-engine`, `open-search-engine`, `open-tsdb-engine`, `upgrade-cold-storage`, `upgrade-disk-size`, `upgrade-lindorm-core-num`, `upgrade-lindorm-engine`, `upgrade-search-core-num`, `upgrade-search-engine`, `upgrade-tsdb-core-num`, `upgrade-tsdb-engine`. // // Deprecated: Field 'upgrade_type' has been deprecated from provider version 1.163.0 and it will be removed in the future version. UpgradeType pulumi.StringPtrOutput `pulumi:"upgradeType"` // The VPC ID of the instance. VpcId pulumi.StringOutput `pulumi:"vpcId"` // The vswitch id. VswitchId pulumi.StringOutput `pulumi:"vswitchId"` // The zone ID of the instance. ZoneId pulumi.StringOutput `pulumi:"zoneId"` }
Provides a Lindorm Instance resource.
For information about Lindorm Instance and how to use it, see [What is Instance](https://www.alibabacloud.com/help/zh/doc-detail/174640.html).
> **NOTE:** Available in v1.132.0+.
> **NOTE:** The Lindorm Instance does not support updating the specifications of multiple different engines or the number of nodes at the same time.
## Import
Lindorm Instance can be imported using the id, e.g.
```sh
$ pulumi import alicloud:lindorm/instance:Instance example <id>
```
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.
func (*Instance) ElementType ¶
func (*Instance) ToInstanceOutput ¶
func (i *Instance) ToInstanceOutput() InstanceOutput
func (*Instance) ToInstanceOutputWithContext ¶
func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
type InstanceArgs ¶
type InstanceArgs struct { // The multi-availability zone instance, coordinating the virtual switch ID of the availability zone, the switch must be located under the availability zone corresponding to the ArbiterZoneId. This parameter is required if you need to create multiple availability zone instances. ArbiterVswitchId pulumi.StringPtrInput // The multiple Availability Zone Instance, the availability zone ID of the coordinating availability zone. required if you need to create multiple availability zone instances. ArbiterZoneId pulumi.StringPtrInput // The deployment architecture. If you do not fill in this parameter, the default is 1.0. to create multiple availability instances, fill in 2.0. if you need to create multiple availability instances, this parameter is required. Valid values: `1.0` to `2.0`. ArchVersion pulumi.StringPtrInput // The cold storage capacity of the instance. Unit: GB. ColdStorage pulumi.IntPtrInput // The core num. **NOTE:** Field `coreNum` has been deprecated from provider version 1.188.0 and it will be removed in the future version. // // Deprecated: Field 'core_num' has been deprecated from provider version 1.188.0 and it will be removed in the future version. CoreNum pulumi.IntPtrInput // The multiple availability zone instances, CORE single node capacity. required if you want to create multiple availability zone instances. Valid values: `400` to `64000`. CoreSingleStorage pulumi.IntPtrInput // The core spec. When `diskCategory` is `localSsdPro` or `localHddPro`, this filed is valid. // - When `diskCategory` is `localSsdPro`, the valid values is `lindorm.i2.xlarge`, `lindorm.i2.2xlarge`, `lindorm.i2.4xlarge`, `lindorm.i2.8xlarge`. // - When `diskCategory` is `localHddPro`, the valid values is `lindorm.d1.2xlarge`, `lindorm.d1.4xlarge`, `lindorm.d1.6xlarge`. CoreSpec pulumi.StringPtrInput // The deletion protection of instance. DeletionProection pulumi.BoolPtrInput // The disk type of instance. Valid values: `capacityCloudStorage`, `cloudEfficiency`, `cloudEssd`, `cloudSsd`, `localSsdPro`, `localHddPro`. DiskCategory pulumi.StringInput // The duration of paid. Valid when the `paymentType` is `Subscription`. When `pricingCycle` set to `Month`, the valid value id `1` to `9`. When `pricingCycle` set to `Year`, the valid value id `1` to `3`. Duration pulumi.StringPtrInput // The count of file engine. FileEngineNodeCount pulumi.IntPtrInput // The specification of file engine. Valid values: `lindorm.c.xlarge`. FileEngineSpecification pulumi.StringPtrInput // The group name. GroupName pulumi.StringPtrInput // The name of the instance. InstanceName pulumi.StringPtrInput // The storage capacity of the instance. Unit: GB. For example, the value 50 indicates 50 GB. InstanceStorage pulumi.StringPtrInput // The ip white list of instance. IpWhiteLists pulumi.StringArrayInput // The multi-available zone instance, log node disk type. required if you need to create multiple availability zone instances. Valid values: `cloudEfficiency`, `cloudSsd`. LogDiskCategory pulumi.StringPtrInput // The multiple Availability Zone Instance, number of log nodes. this parameter is required if you want to create multiple availability zone instances. Valid values: `4` to `400`. LogNum pulumi.IntPtrInput // The multi-availability instance, log single-node disk capacity. This parameter is required if you want to create multiple availability zone instances. Valid values: `400` to `64000`. LogSingleStorage pulumi.IntPtrInput // The multiple availability zone instances, log node specification. required if you need to create multiple availability zone instances. Valid values: `lindorm.sn1.large`, `lindorm.sn1.2xlarge`. LogSpec pulumi.StringPtrInput // The count of lindorm tunnel service. LtsNodeCount pulumi.IntPtrInput // The specification of lindorm tunnel service. Valid values: `lindorm.g.2xlarge`, `lindorm.g.xlarge`. LtsNodeSpecification pulumi.StringPtrInput // The multi-zone combinations. Availability zone combinations are supported on the sale page. required if you need to create multiple availability zone instances. Valid values: `ap-southeast-5abc-aliyun`, `cn-hangzhou-ehi-aliyun`, `cn-beijing-acd-aliyun`, `ap-southeast-1-abc-aliyun`, `cn-zhangjiakou-abc-aliyun`, `cn-shanghai-efg-aliyun`, `cn-shanghai-abd-aliyun`, `cn-hangzhou-bef-aliyun`, `cn-hangzhou-bce-aliyun`, `cn-beijing-fgh-aliyun`, `cn-shenzhen-abc-aliyun`. MultiZoneCombination pulumi.StringPtrInput // The billing method. Valid values: `PayAsYouGo` and `Subscription`. PaymentType pulumi.StringInput // The count of phoenix. PhoenixNodeCount pulumi.IntPtrInput // The specification of phoenix. Valid values: `lindorm.c.2xlarge`, `lindorm.c.4xlarge`, `lindorm.c.8xlarge`, `lindorm.c.xlarge`, `lindorm.g.2xlarge`, `lindorm.g.4xlarge`, `lindorm.g.8xlarge`, `lindorm.g.xlarge`. PhoenixNodeSpecification pulumi.StringPtrInput // The pricing cycle. Valid when the `paymentType` is `Subscription`. Valid values: `Month` and `Year`. PricingCycle pulumi.StringPtrInput // Multi-available zone instances, the virtual switch ID of the primary available zone, must be under the available zone corresponding to the PrimaryZoneId. required if you need to create multiple availability zone instances. PrimaryVswitchId pulumi.StringPtrInput // Multi-availability zone instance with the availability zone ID of the main availability zone. required if you need to create multiple availability zone instances. PrimaryZoneId pulumi.StringPtrInput // The ID of the resource group. ResourceGroupId pulumi.StringPtrInput // The count of search engine. SearchEngineNodeCount pulumi.IntPtrInput // The specification of search engine. Valid values: `lindorm.g.2xlarge`, `lindorm.g.4xlarge`, `lindorm.g.8xlarge`, `lindorm.g.xlarge`. SearchEngineSpecification pulumi.StringPtrInput // The multiple availability zone instances, the virtual switch ID of the ready availability zone must be under the availability zone corresponding to the StandbyZoneId. required if you need to create multiple availability zone instances. StandbyVswitchId pulumi.StringPtrInput // The multiple availability zone instances with availability zone IDs for the prepared availability zones. required if you need to create multiple availability zone instances. StandbyZoneId pulumi.StringPtrInput // The count of table engine. TableEngineNodeCount pulumi.IntPtrInput // The specification of table engine. Valid values: `lindorm.c.2xlarge`, `lindorm.c.4xlarge`, `lindorm.c.8xlarge`, `lindorm.c.xlarge`, `lindorm.g.2xlarge`, `lindorm.g.4xlarge`, `lindorm.g.8xlarge`, `lindorm.g.xlarge`. TableEngineSpecification pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput // The count of time series engine. TimeSeriesEngineNodeCount pulumi.IntPtrInput // The specification of time series engine. Valid values: `lindorm.g.2xlarge`, `lindorm.g.4xlarge`, `lindorm.g.8xlarge`, `lindorm.g.xlarge`. TimeSeriesEngineSpecification pulumi.StringPtrInput // Field `timeSeriresEngineSpecification` has been deprecated from provider version 1.182.0. New field `timeSeriesEngineSpecification` instead. // // Deprecated: Field 'time_serires_engine_specification' has been deprecated from provider version 1.182.0. New field 'time_series_engine_specification' instead. TimeSeriresEngineSpecification pulumi.StringPtrInput // The upgrade type. **NOTE:** Field 'upgrade_type' has been deprecated from provider version 1.163.0 and it will be removed in the future version. Valid values: `open-lindorm-engine`, `open-phoenix-engine`, `open-search-engine`, `open-tsdb-engine`, `upgrade-cold-storage`, `upgrade-disk-size`, `upgrade-lindorm-core-num`, `upgrade-lindorm-engine`, `upgrade-search-core-num`, `upgrade-search-engine`, `upgrade-tsdb-core-num`, `upgrade-tsdb-engine`. // // Deprecated: Field 'upgrade_type' has been deprecated from provider version 1.163.0 and it will be removed in the future version. UpgradeType pulumi.StringPtrInput // The VPC ID of the instance. VpcId pulumi.StringPtrInput // The vswitch id. VswitchId pulumi.StringInput // The zone ID of the instance. ZoneId pulumi.StringPtrInput }
The set of arguments for constructing a Instance resource.
func (InstanceArgs) ElementType ¶
func (InstanceArgs) ElementType() reflect.Type
type InstanceArray ¶
type InstanceArray []InstanceInput
func (InstanceArray) ElementType ¶
func (InstanceArray) ElementType() reflect.Type
func (InstanceArray) ToInstanceArrayOutput ¶
func (i InstanceArray) ToInstanceArrayOutput() InstanceArrayOutput
func (InstanceArray) ToInstanceArrayOutputWithContext ¶
func (i InstanceArray) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput
type InstanceArrayInput ¶
type InstanceArrayInput interface { pulumi.Input ToInstanceArrayOutput() InstanceArrayOutput ToInstanceArrayOutputWithContext(context.Context) InstanceArrayOutput }
InstanceArrayInput is an input type that accepts InstanceArray and InstanceArrayOutput values. You can construct a concrete instance of `InstanceArrayInput` via:
InstanceArray{ InstanceArgs{...} }
type InstanceArrayOutput ¶
type InstanceArrayOutput struct{ *pulumi.OutputState }
func (InstanceArrayOutput) ElementType ¶
func (InstanceArrayOutput) ElementType() reflect.Type
func (InstanceArrayOutput) Index ¶
func (o InstanceArrayOutput) Index(i pulumi.IntInput) InstanceOutput
func (InstanceArrayOutput) ToInstanceArrayOutput ¶
func (o InstanceArrayOutput) ToInstanceArrayOutput() InstanceArrayOutput
func (InstanceArrayOutput) ToInstanceArrayOutputWithContext ¶
func (o InstanceArrayOutput) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput
type InstanceInput ¶
type InstanceInput interface { pulumi.Input ToInstanceOutput() InstanceOutput ToInstanceOutputWithContext(ctx context.Context) InstanceOutput }
type InstanceMap ¶
type InstanceMap map[string]InstanceInput
func (InstanceMap) ElementType ¶
func (InstanceMap) ElementType() reflect.Type
func (InstanceMap) ToInstanceMapOutput ¶
func (i InstanceMap) ToInstanceMapOutput() InstanceMapOutput
func (InstanceMap) ToInstanceMapOutputWithContext ¶
func (i InstanceMap) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput
type InstanceMapInput ¶
type InstanceMapInput interface { pulumi.Input ToInstanceMapOutput() InstanceMapOutput ToInstanceMapOutputWithContext(context.Context) InstanceMapOutput }
InstanceMapInput is an input type that accepts InstanceMap and InstanceMapOutput values. You can construct a concrete instance of `InstanceMapInput` via:
InstanceMap{ "key": InstanceArgs{...} }
type InstanceMapOutput ¶
type InstanceMapOutput struct{ *pulumi.OutputState }
func (InstanceMapOutput) ElementType ¶
func (InstanceMapOutput) ElementType() reflect.Type
func (InstanceMapOutput) MapIndex ¶
func (o InstanceMapOutput) MapIndex(k pulumi.StringInput) InstanceOutput
func (InstanceMapOutput) ToInstanceMapOutput ¶
func (o InstanceMapOutput) ToInstanceMapOutput() InstanceMapOutput
func (InstanceMapOutput) ToInstanceMapOutputWithContext ¶
func (o InstanceMapOutput) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput
type InstanceOutput ¶
type InstanceOutput struct{ *pulumi.OutputState }
func (InstanceOutput) ArbiterVswitchId ¶
func (o InstanceOutput) ArbiterVswitchId() pulumi.StringPtrOutput
The multi-availability zone instance, coordinating the virtual switch ID of the availability zone, the switch must be located under the availability zone corresponding to the ArbiterZoneId. This parameter is required if you need to create multiple availability zone instances.
func (InstanceOutput) ArbiterZoneId ¶
func (o InstanceOutput) ArbiterZoneId() pulumi.StringPtrOutput
The multiple Availability Zone Instance, the availability zone ID of the coordinating availability zone. required if you need to create multiple availability zone instances.
func (InstanceOutput) ArchVersion ¶
func (o InstanceOutput) ArchVersion() pulumi.StringPtrOutput
The deployment architecture. If you do not fill in this parameter, the default is 1.0. to create multiple availability instances, fill in 2.0. if you need to create multiple availability instances, this parameter is required. Valid values: `1.0` to `2.0`.
func (InstanceOutput) ColdStorage ¶
func (o InstanceOutput) ColdStorage() pulumi.IntOutput
The cold storage capacity of the instance. Unit: GB.
func (InstanceOutput) CoreNum
deprecated
func (o InstanceOutput) CoreNum() pulumi.IntPtrOutput
The core num. **NOTE:** Field `coreNum` has been deprecated from provider version 1.188.0 and it will be removed in the future version.
Deprecated: Field 'core_num' has been deprecated from provider version 1.188.0 and it will be removed in the future version.
func (InstanceOutput) CoreSingleStorage ¶
func (o InstanceOutput) CoreSingleStorage() pulumi.IntPtrOutput
The multiple availability zone instances, CORE single node capacity. required if you want to create multiple availability zone instances. Valid values: `400` to `64000`.
func (InstanceOutput) CoreSpec ¶
func (o InstanceOutput) CoreSpec() pulumi.StringOutput
The core spec. When `diskCategory` is `localSsdPro` or `localHddPro`, this filed is valid. - When `diskCategory` is `localSsdPro`, the valid values is `lindorm.i2.xlarge`, `lindorm.i2.2xlarge`, `lindorm.i2.4xlarge`, `lindorm.i2.8xlarge`. - When `diskCategory` is `localHddPro`, the valid values is `lindorm.d1.2xlarge`, `lindorm.d1.4xlarge`, `lindorm.d1.6xlarge`.
func (InstanceOutput) DeletionProection ¶
func (o InstanceOutput) DeletionProection() pulumi.BoolOutput
The deletion protection of instance.
func (InstanceOutput) DiskCategory ¶
func (o InstanceOutput) DiskCategory() pulumi.StringOutput
The disk type of instance. Valid values: `capacityCloudStorage`, `cloudEfficiency`, `cloudEssd`, `cloudSsd`, `localSsdPro`, `localHddPro`.
func (InstanceOutput) Duration ¶
func (o InstanceOutput) Duration() pulumi.StringPtrOutput
The duration of paid. Valid when the `paymentType` is `Subscription`. When `pricingCycle` set to `Month`, the valid value id `1` to `9`. When `pricingCycle` set to `Year`, the valid value id `1` to `3`.
func (InstanceOutput) ElementType ¶
func (InstanceOutput) ElementType() reflect.Type
func (InstanceOutput) EnabledFileEngine ¶
func (o InstanceOutput) EnabledFileEngine() pulumi.BoolOutput
(Available in v1.163.0+) Whether to enable file engine.
func (InstanceOutput) EnabledLtsEngine ¶
func (o InstanceOutput) EnabledLtsEngine() pulumi.BoolOutput
(Available in v1.163.0+) Whether to enable lts engine.
func (InstanceOutput) EnabledSearchEngine ¶
func (o InstanceOutput) EnabledSearchEngine() pulumi.BoolOutput
(Available in v1.163.0+) Whether to enable search engine.
func (InstanceOutput) EnabledTableEngine ¶
func (o InstanceOutput) EnabledTableEngine() pulumi.BoolOutput
(Available in v1.163.0+) Whether to enable table engine.
func (InstanceOutput) EnabledTimeSeriresEngine ¶
func (o InstanceOutput) EnabledTimeSeriresEngine() pulumi.BoolOutput
(Available in v1.163.0+) Whether to enable time serires engine.
func (InstanceOutput) FileEngineNodeCount ¶
func (o InstanceOutput) FileEngineNodeCount() pulumi.IntOutput
The count of file engine.
func (InstanceOutput) FileEngineSpecification ¶
func (o InstanceOutput) FileEngineSpecification() pulumi.StringOutput
The specification of file engine. Valid values: `lindorm.c.xlarge`.
func (InstanceOutput) GroupName ¶
func (o InstanceOutput) GroupName() pulumi.StringPtrOutput
The group name.
func (InstanceOutput) InstanceName ¶
func (o InstanceOutput) InstanceName() pulumi.StringPtrOutput
The name of the instance.
func (InstanceOutput) InstanceStorage ¶
func (o InstanceOutput) InstanceStorage() pulumi.StringOutput
The storage capacity of the instance. Unit: GB. For example, the value 50 indicates 50 GB.
func (InstanceOutput) IpWhiteLists ¶
func (o InstanceOutput) IpWhiteLists() pulumi.StringArrayOutput
The ip white list of instance.
func (InstanceOutput) LogDiskCategory ¶
func (o InstanceOutput) LogDiskCategory() pulumi.StringPtrOutput
The multi-available zone instance, log node disk type. required if you need to create multiple availability zone instances. Valid values: `cloudEfficiency`, `cloudSsd`.
func (InstanceOutput) LogNum ¶
func (o InstanceOutput) LogNum() pulumi.IntPtrOutput
The multiple Availability Zone Instance, number of log nodes. this parameter is required if you want to create multiple availability zone instances. Valid values: `4` to `400`.
func (InstanceOutput) LogSingleStorage ¶
func (o InstanceOutput) LogSingleStorage() pulumi.IntPtrOutput
The multi-availability instance, log single-node disk capacity. This parameter is required if you want to create multiple availability zone instances. Valid values: `400` to `64000`.
func (InstanceOutput) LogSpec ¶
func (o InstanceOutput) LogSpec() pulumi.StringPtrOutput
The multiple availability zone instances, log node specification. required if you need to create multiple availability zone instances. Valid values: `lindorm.sn1.large`, `lindorm.sn1.2xlarge`.
func (InstanceOutput) LtsNodeCount ¶
func (o InstanceOutput) LtsNodeCount() pulumi.IntOutput
The count of lindorm tunnel service.
func (InstanceOutput) LtsNodeSpecification ¶
func (o InstanceOutput) LtsNodeSpecification() pulumi.StringOutput
The specification of lindorm tunnel service. Valid values: `lindorm.g.2xlarge`, `lindorm.g.xlarge`.
func (InstanceOutput) MultiZoneCombination ¶
func (o InstanceOutput) MultiZoneCombination() pulumi.StringPtrOutput
The multi-zone combinations. Availability zone combinations are supported on the sale page. required if you need to create multiple availability zone instances. Valid values: `ap-southeast-5abc-aliyun`, `cn-hangzhou-ehi-aliyun`, `cn-beijing-acd-aliyun`, `ap-southeast-1-abc-aliyun`, `cn-zhangjiakou-abc-aliyun`, `cn-shanghai-efg-aliyun`, `cn-shanghai-abd-aliyun`, `cn-hangzhou-bef-aliyun`, `cn-hangzhou-bce-aliyun`, `cn-beijing-fgh-aliyun`, `cn-shenzhen-abc-aliyun`.
func (InstanceOutput) PaymentType ¶
func (o InstanceOutput) PaymentType() pulumi.StringOutput
The billing method. Valid values: `PayAsYouGo` and `Subscription`.
func (InstanceOutput) PhoenixNodeCount ¶
func (o InstanceOutput) PhoenixNodeCount() pulumi.IntOutput
The count of phoenix.
func (InstanceOutput) PhoenixNodeSpecification ¶
func (o InstanceOutput) PhoenixNodeSpecification() pulumi.StringOutput
The specification of phoenix. Valid values: `lindorm.c.2xlarge`, `lindorm.c.4xlarge`, `lindorm.c.8xlarge`, `lindorm.c.xlarge`, `lindorm.g.2xlarge`, `lindorm.g.4xlarge`, `lindorm.g.8xlarge`, `lindorm.g.xlarge`.
func (InstanceOutput) PricingCycle ¶
func (o InstanceOutput) PricingCycle() pulumi.StringPtrOutput
The pricing cycle. Valid when the `paymentType` is `Subscription`. Valid values: `Month` and `Year`.
func (InstanceOutput) PrimaryVswitchId ¶
func (o InstanceOutput) PrimaryVswitchId() pulumi.StringPtrOutput
Multi-available zone instances, the virtual switch ID of the primary available zone, must be under the available zone corresponding to the PrimaryZoneId. required if you need to create multiple availability zone instances.
func (InstanceOutput) PrimaryZoneId ¶
func (o InstanceOutput) PrimaryZoneId() pulumi.StringPtrOutput
Multi-availability zone instance with the availability zone ID of the main availability zone. required if you need to create multiple availability zone instances.
func (InstanceOutput) ResourceGroupId ¶
func (o InstanceOutput) ResourceGroupId() pulumi.StringOutput
The ID of the resource group.
func (InstanceOutput) SearchEngineNodeCount ¶
func (o InstanceOutput) SearchEngineNodeCount() pulumi.IntOutput
The count of search engine.
func (InstanceOutput) SearchEngineSpecification ¶
func (o InstanceOutput) SearchEngineSpecification() pulumi.StringOutput
The specification of search engine. Valid values: `lindorm.g.2xlarge`, `lindorm.g.4xlarge`, `lindorm.g.8xlarge`, `lindorm.g.xlarge`.
func (InstanceOutput) StandbyVswitchId ¶
func (o InstanceOutput) StandbyVswitchId() pulumi.StringPtrOutput
The multiple availability zone instances, the virtual switch ID of the ready availability zone must be under the availability zone corresponding to the StandbyZoneId. required if you need to create multiple availability zone instances.
func (InstanceOutput) StandbyZoneId ¶
func (o InstanceOutput) StandbyZoneId() pulumi.StringPtrOutput
The multiple availability zone instances with availability zone IDs for the prepared availability zones. required if you need to create multiple availability zone instances.
func (InstanceOutput) Status ¶
func (o InstanceOutput) Status() pulumi.StringOutput
The status of Instance, enumerative: Valid values: `ACTIVATION`, `DELETED`, `CREATING`, `CLASS_CHANGING`, `LOCKED`, `INSTANCE_LEVEL_MODIFY`, `NET_MODIFYING`, `RESIZING`, `RESTARTING`, `MINOR_VERSION_TRANSING`.
func (InstanceOutput) TableEngineNodeCount ¶
func (o InstanceOutput) TableEngineNodeCount() pulumi.IntOutput
The count of table engine.
func (InstanceOutput) TableEngineSpecification ¶
func (o InstanceOutput) TableEngineSpecification() pulumi.StringOutput
The specification of table engine. Valid values: `lindorm.c.2xlarge`, `lindorm.c.4xlarge`, `lindorm.c.8xlarge`, `lindorm.c.xlarge`, `lindorm.g.2xlarge`, `lindorm.g.4xlarge`, `lindorm.g.8xlarge`, `lindorm.g.xlarge`.
func (InstanceOutput) Tags ¶
func (o InstanceOutput) Tags() pulumi.MapOutput
A mapping of tags to assign to the resource.
func (InstanceOutput) TimeSeriesEngineNodeCount ¶
func (o InstanceOutput) TimeSeriesEngineNodeCount() pulumi.IntOutput
The count of time series engine.
func (InstanceOutput) TimeSeriesEngineSpecification ¶
func (o InstanceOutput) TimeSeriesEngineSpecification() pulumi.StringOutput
The specification of time series engine. Valid values: `lindorm.g.2xlarge`, `lindorm.g.4xlarge`, `lindorm.g.8xlarge`, `lindorm.g.xlarge`.
func (InstanceOutput) TimeSeriresEngineSpecification
deprecated
func (o InstanceOutput) TimeSeriresEngineSpecification() pulumi.StringOutput
Field `timeSeriresEngineSpecification` has been deprecated from provider version 1.182.0. New field `timeSeriesEngineSpecification` instead.
Deprecated: Field 'time_serires_engine_specification' has been deprecated from provider version 1.182.0. New field 'time_series_engine_specification' instead.
func (InstanceOutput) ToInstanceOutput ¶
func (o InstanceOutput) ToInstanceOutput() InstanceOutput
func (InstanceOutput) ToInstanceOutputWithContext ¶
func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
func (InstanceOutput) UpgradeType
deprecated
func (o InstanceOutput) UpgradeType() pulumi.StringPtrOutput
The upgrade type. **NOTE:** Field 'upgrade_type' has been deprecated from provider version 1.163.0 and it will be removed in the future version. Valid values: `open-lindorm-engine`, `open-phoenix-engine`, `open-search-engine`, `open-tsdb-engine`, `upgrade-cold-storage`, `upgrade-disk-size`, `upgrade-lindorm-core-num`, `upgrade-lindorm-engine`, `upgrade-search-core-num`, `upgrade-search-engine`, `upgrade-tsdb-core-num`, `upgrade-tsdb-engine`.
Deprecated: Field 'upgrade_type' has been deprecated from provider version 1.163.0 and it will be removed in the future version.
func (InstanceOutput) VpcId ¶
func (o InstanceOutput) VpcId() pulumi.StringOutput
The VPC ID of the instance.
func (InstanceOutput) VswitchId ¶
func (o InstanceOutput) VswitchId() pulumi.StringOutput
The vswitch id.
func (InstanceOutput) ZoneId ¶
func (o InstanceOutput) ZoneId() pulumi.StringOutput
The zone ID of the instance.
type InstanceState ¶
type InstanceState struct { // The multi-availability zone instance, coordinating the virtual switch ID of the availability zone, the switch must be located under the availability zone corresponding to the ArbiterZoneId. This parameter is required if you need to create multiple availability zone instances. ArbiterVswitchId pulumi.StringPtrInput // The multiple Availability Zone Instance, the availability zone ID of the coordinating availability zone. required if you need to create multiple availability zone instances. ArbiterZoneId pulumi.StringPtrInput // The deployment architecture. If you do not fill in this parameter, the default is 1.0. to create multiple availability instances, fill in 2.0. if you need to create multiple availability instances, this parameter is required. Valid values: `1.0` to `2.0`. ArchVersion pulumi.StringPtrInput // The cold storage capacity of the instance. Unit: GB. ColdStorage pulumi.IntPtrInput // The core num. **NOTE:** Field `coreNum` has been deprecated from provider version 1.188.0 and it will be removed in the future version. // // Deprecated: Field 'core_num' has been deprecated from provider version 1.188.0 and it will be removed in the future version. CoreNum pulumi.IntPtrInput // The multiple availability zone instances, CORE single node capacity. required if you want to create multiple availability zone instances. Valid values: `400` to `64000`. CoreSingleStorage pulumi.IntPtrInput // The core spec. When `diskCategory` is `localSsdPro` or `localHddPro`, this filed is valid. // - When `diskCategory` is `localSsdPro`, the valid values is `lindorm.i2.xlarge`, `lindorm.i2.2xlarge`, `lindorm.i2.4xlarge`, `lindorm.i2.8xlarge`. // - When `diskCategory` is `localHddPro`, the valid values is `lindorm.d1.2xlarge`, `lindorm.d1.4xlarge`, `lindorm.d1.6xlarge`. CoreSpec pulumi.StringPtrInput // The deletion protection of instance. DeletionProection pulumi.BoolPtrInput // The disk type of instance. Valid values: `capacityCloudStorage`, `cloudEfficiency`, `cloudEssd`, `cloudSsd`, `localSsdPro`, `localHddPro`. DiskCategory pulumi.StringPtrInput // The duration of paid. Valid when the `paymentType` is `Subscription`. When `pricingCycle` set to `Month`, the valid value id `1` to `9`. When `pricingCycle` set to `Year`, the valid value id `1` to `3`. Duration pulumi.StringPtrInput // (Available in v1.163.0+) Whether to enable file engine. EnabledFileEngine pulumi.BoolPtrInput // (Available in v1.163.0+) Whether to enable lts engine. EnabledLtsEngine pulumi.BoolPtrInput // (Available in v1.163.0+) Whether to enable search engine. EnabledSearchEngine pulumi.BoolPtrInput // (Available in v1.163.0+) Whether to enable table engine. EnabledTableEngine pulumi.BoolPtrInput // (Available in v1.163.0+) Whether to enable time serires engine. EnabledTimeSeriresEngine pulumi.BoolPtrInput // The count of file engine. FileEngineNodeCount pulumi.IntPtrInput // The specification of file engine. Valid values: `lindorm.c.xlarge`. FileEngineSpecification pulumi.StringPtrInput // The group name. GroupName pulumi.StringPtrInput // The name of the instance. InstanceName pulumi.StringPtrInput // The storage capacity of the instance. Unit: GB. For example, the value 50 indicates 50 GB. InstanceStorage pulumi.StringPtrInput // The ip white list of instance. IpWhiteLists pulumi.StringArrayInput // The multi-available zone instance, log node disk type. required if you need to create multiple availability zone instances. Valid values: `cloudEfficiency`, `cloudSsd`. LogDiskCategory pulumi.StringPtrInput // The multiple Availability Zone Instance, number of log nodes. this parameter is required if you want to create multiple availability zone instances. Valid values: `4` to `400`. LogNum pulumi.IntPtrInput // The multi-availability instance, log single-node disk capacity. This parameter is required if you want to create multiple availability zone instances. Valid values: `400` to `64000`. LogSingleStorage pulumi.IntPtrInput // The multiple availability zone instances, log node specification. required if you need to create multiple availability zone instances. Valid values: `lindorm.sn1.large`, `lindorm.sn1.2xlarge`. LogSpec pulumi.StringPtrInput // The count of lindorm tunnel service. LtsNodeCount pulumi.IntPtrInput // The specification of lindorm tunnel service. Valid values: `lindorm.g.2xlarge`, `lindorm.g.xlarge`. LtsNodeSpecification pulumi.StringPtrInput // The multi-zone combinations. Availability zone combinations are supported on the sale page. required if you need to create multiple availability zone instances. Valid values: `ap-southeast-5abc-aliyun`, `cn-hangzhou-ehi-aliyun`, `cn-beijing-acd-aliyun`, `ap-southeast-1-abc-aliyun`, `cn-zhangjiakou-abc-aliyun`, `cn-shanghai-efg-aliyun`, `cn-shanghai-abd-aliyun`, `cn-hangzhou-bef-aliyun`, `cn-hangzhou-bce-aliyun`, `cn-beijing-fgh-aliyun`, `cn-shenzhen-abc-aliyun`. MultiZoneCombination pulumi.StringPtrInput // The billing method. Valid values: `PayAsYouGo` and `Subscription`. PaymentType pulumi.StringPtrInput // The count of phoenix. PhoenixNodeCount pulumi.IntPtrInput // The specification of phoenix. Valid values: `lindorm.c.2xlarge`, `lindorm.c.4xlarge`, `lindorm.c.8xlarge`, `lindorm.c.xlarge`, `lindorm.g.2xlarge`, `lindorm.g.4xlarge`, `lindorm.g.8xlarge`, `lindorm.g.xlarge`. PhoenixNodeSpecification pulumi.StringPtrInput // The pricing cycle. Valid when the `paymentType` is `Subscription`. Valid values: `Month` and `Year`. PricingCycle pulumi.StringPtrInput // Multi-available zone instances, the virtual switch ID of the primary available zone, must be under the available zone corresponding to the PrimaryZoneId. required if you need to create multiple availability zone instances. PrimaryVswitchId pulumi.StringPtrInput // Multi-availability zone instance with the availability zone ID of the main availability zone. required if you need to create multiple availability zone instances. PrimaryZoneId pulumi.StringPtrInput // The ID of the resource group. ResourceGroupId pulumi.StringPtrInput // The count of search engine. SearchEngineNodeCount pulumi.IntPtrInput // The specification of search engine. Valid values: `lindorm.g.2xlarge`, `lindorm.g.4xlarge`, `lindorm.g.8xlarge`, `lindorm.g.xlarge`. SearchEngineSpecification pulumi.StringPtrInput // The multiple availability zone instances, the virtual switch ID of the ready availability zone must be under the availability zone corresponding to the StandbyZoneId. required if you need to create multiple availability zone instances. StandbyVswitchId pulumi.StringPtrInput // The multiple availability zone instances with availability zone IDs for the prepared availability zones. required if you need to create multiple availability zone instances. StandbyZoneId pulumi.StringPtrInput // The status of Instance, enumerative: Valid values: `ACTIVATION`, `DELETED`, `CREATING`, `CLASS_CHANGING`, `LOCKED`, `INSTANCE_LEVEL_MODIFY`, `NET_MODIFYING`, `RESIZING`, `RESTARTING`, `MINOR_VERSION_TRANSING`. Status pulumi.StringPtrInput // The count of table engine. TableEngineNodeCount pulumi.IntPtrInput // The specification of table engine. Valid values: `lindorm.c.2xlarge`, `lindorm.c.4xlarge`, `lindorm.c.8xlarge`, `lindorm.c.xlarge`, `lindorm.g.2xlarge`, `lindorm.g.4xlarge`, `lindorm.g.8xlarge`, `lindorm.g.xlarge`. TableEngineSpecification pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput // The count of time series engine. TimeSeriesEngineNodeCount pulumi.IntPtrInput // The specification of time series engine. Valid values: `lindorm.g.2xlarge`, `lindorm.g.4xlarge`, `lindorm.g.8xlarge`, `lindorm.g.xlarge`. TimeSeriesEngineSpecification pulumi.StringPtrInput // Field `timeSeriresEngineSpecification` has been deprecated from provider version 1.182.0. New field `timeSeriesEngineSpecification` instead. // // Deprecated: Field 'time_serires_engine_specification' has been deprecated from provider version 1.182.0. New field 'time_series_engine_specification' instead. TimeSeriresEngineSpecification pulumi.StringPtrInput // The upgrade type. **NOTE:** Field 'upgrade_type' has been deprecated from provider version 1.163.0 and it will be removed in the future version. Valid values: `open-lindorm-engine`, `open-phoenix-engine`, `open-search-engine`, `open-tsdb-engine`, `upgrade-cold-storage`, `upgrade-disk-size`, `upgrade-lindorm-core-num`, `upgrade-lindorm-engine`, `upgrade-search-core-num`, `upgrade-search-engine`, `upgrade-tsdb-core-num`, `upgrade-tsdb-engine`. // // Deprecated: Field 'upgrade_type' has been deprecated from provider version 1.163.0 and it will be removed in the future version. UpgradeType pulumi.StringPtrInput // The VPC ID of the instance. VpcId pulumi.StringPtrInput // The vswitch id. VswitchId pulumi.StringPtrInput // The zone ID of the instance. ZoneId pulumi.StringPtrInput }
func (InstanceState) ElementType ¶
func (InstanceState) ElementType() reflect.Type