lindorm

package
v3.23.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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) Index

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

AutoRenew.

func (GetInstancesInstanceOutput) ColdStorage

The cold storage capacity of the instance. Unit: GB.

func (GetInstancesInstanceOutput) CreateTime

The creation date of Instance.

func (GetInstancesInstanceOutput) DeletionProection

func (o GetInstancesInstanceOutput) DeletionProection() pulumi.BoolOutput

The deletion protection of instance.

func (GetInstancesInstanceOutput) DiskCategory

The disk type of instance. Valid values: `capacityCloudStorage`, `cloudEfficiency`, `cloudEssd`, `cloudSsd`.

func (GetInstancesInstanceOutput) DiskUsage

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

The type of Instance engine .

func (GetInstancesInstanceOutput) ExpiredTime

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

The ID of the Instance.

func (GetInstancesInstanceOutput) InstanceId

The ID of the instance.

func (GetInstancesInstanceOutput) InstanceName

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

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

Instance network type, enumerative.VPC.

func (GetInstancesInstanceOutput) PaymentType

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

The service type of Instance, Valid values: `lindorm`, `serverlessLindorm`, `lindormStandalone`.

func (GetInstancesInstanceOutput) Status

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

The ID of the virtual private cloud (VPC) that is connected to the instance.

func (GetInstancesInstanceOutput) VswitchId

The vswitch id.

func (GetInstancesInstanceOutput) ZoneId

The zone ID of the instance.

type GetInstancesOutputArgs added in v3.9.0

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 added in v3.9.0

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/v3/go/alicloud/lindorm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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 added in v3.9.0

type GetInstancesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getInstances.

func GetInstancesOutput added in v3.9.0

func GetInstancesOutput(ctx *pulumi.Context, args GetInstancesOutputArgs, opts ...pulumi.InvokeOption) GetInstancesResultOutput

func (GetInstancesResultOutput) ElementType added in v3.9.0

func (GetInstancesResultOutput) ElementType() reflect.Type

func (GetInstancesResultOutput) EnableDetails added in v3.9.0

func (o GetInstancesResultOutput) EnableDetails() pulumi.BoolPtrOutput

func (GetInstancesResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetInstancesResultOutput) Ids added in v3.9.0

func (GetInstancesResultOutput) Instances added in v3.9.0

func (GetInstancesResultOutput) NameRegex added in v3.9.0

func (GetInstancesResultOutput) Names added in v3.9.0

func (GetInstancesResultOutput) OutputFile added in v3.9.0

func (GetInstancesResultOutput) QueryStr added in v3.9.0

func (GetInstancesResultOutput) Status added in v3.9.0

func (GetInstancesResultOutput) SupportEngine added in v3.9.0

func (o GetInstancesResultOutput) SupportEngine() pulumi.IntPtrOutput

func (GetInstancesResultOutput) ToGetInstancesResultOutput added in v3.9.0

func (o GetInstancesResultOutput) ToGetInstancesResultOutput() GetInstancesResultOutput

func (GetInstancesResultOutput) ToGetInstancesResultOutputWithContext added in v3.9.0

func (o GetInstancesResultOutput) ToGetInstancesResultOutputWithContext(ctx context.Context) GetInstancesResultOutput

type Instance

type Instance struct {
	pulumi.CustomResourceState

	// The cold storage capacity of the instance. Unit: GB.
	ColdStorage pulumi.IntOutput `pulumi:"coldStorage"`
	// The core num.
	CoreNum pulumi.IntPtrOutput `pulumi:"coreNum"`
	// The core spec.
	CoreSpec pulumi.StringPtrOutput `pulumi:"coreSpec"`
	// The deletion protection of instance.
	DeletionProection pulumi.BoolOutput `pulumi:"deletionProection"`
	// The disk type of instance. Valid values: `capacityCloudStorage`, `cloudEfficiency`, `cloudEssd`, `cloudSsd`.
	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.StringPtrOutput `pulumi:"instanceStorage"`
	// The ip white list of instance.
	IpWhiteLists pulumi.StringArrayOutput `pulumi:"ipWhiteLists"`
	// 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 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"`
	// 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 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"`
	// 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`.
	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 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) ElementType() reflect.Type

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 cold storage capacity of the instance. Unit: GB.
	ColdStorage pulumi.IntPtrInput
	// The core num.
	CoreNum pulumi.IntPtrInput
	// The core spec.
	CoreSpec pulumi.StringPtrInput
	// The deletion protection of instance.
	DeletionProection pulumi.BoolPtrInput
	// The disk type of instance. Valid values: `capacityCloudStorage`, `cloudEfficiency`, `cloudEssd`, `cloudSsd`.
	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 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 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
	// 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 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
	// 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`.
	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 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 (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 (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) ElementType

func (InstanceOutput) ElementType() reflect.Type

func (InstanceOutput) ToInstanceOutput

func (o InstanceOutput) ToInstanceOutput() InstanceOutput

func (InstanceOutput) ToInstanceOutputWithContext

func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput

type InstanceState

type InstanceState struct {
	// The cold storage capacity of the instance. Unit: GB.
	ColdStorage pulumi.IntPtrInput
	// The core num.
	CoreNum pulumi.IntPtrInput
	// The core spec.
	CoreSpec pulumi.StringPtrInput
	// The deletion protection of instance.
	DeletionProection pulumi.BoolPtrInput
	// The disk type of instance. Valid values: `capacityCloudStorage`, `cloudEfficiency`, `cloudEssd`, `cloudSsd`.
	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 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 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
	// 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 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
	// 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`.
	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 vswitch id.
	VswitchId pulumi.StringPtrInput
	// The zone ID of the instance.
	ZoneId pulumi.StringPtrInput
}

func (InstanceState) ElementType

func (InstanceState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL