hologram

package
v3.55.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 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 Instance

type Instance struct {
	pulumi.CustomResourceState

	// Whether to pay automatically. The default value is true. Value:
	// - true: automatic payment
	// - false: only generate orders, not pay
	// > **NOTE:**  The default value is true. If the balance of your payment method is insufficient, you can set the parameter AutoPay to false, and an unpaid order will be generated. You can log in to the user Center to pay by yourself.
	AutoPay pulumi.BoolPtrOutput `pulumi:"autoPay"`
	// Instance low-frequency storage space. Unit: GB.
	// > **NOTE:**  PayAsYouGo (PostPaid) instances ignore this parameter.
	ColdStorageSize pulumi.IntPtrOutput `pulumi:"coldStorageSize"`
	// Instance specifications. Value:
	// - 8 cores 32 GB (number of compute nodes: 1)
	// - 16 cores 64 GB (number of compute nodes: 1)
	// - 32 core 128 GB (number of compute nodes: 2)
	// - 64 core 256 GB (number of compute nodes: 4)
	// - 96 core 384 GB (number of computing nodes: 6)
	// - 128 core 512 GB (number of compute nodes: 8)
	// > **NOTE:** Just fill in the audit number. Please submit a work order application for purchasing 1024 or above specifications. Shared instance types do not need to specify specifications. The specification of - 8 core 32GB (number of computing nodes: 1) is only for experience use and cannot be used for production.
	Cpu pulumi.IntOutput `pulumi:"cpu"`
	// The creation time of the resource.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// The buying cycle. Buy for 2 months. If the Payment type is PayAsYouGo (PostPaid), you do not need to specify it.
	Duration pulumi.IntPtrOutput `pulumi:"duration"`
	// List of domain names. See `endpoints` below.
	Endpoints InstanceEndpointArrayOutput `pulumi:"endpoints"`
	// Number of gateway nodes.
	GatewayCount pulumi.IntPtrOutput `pulumi:"gatewayCount"`
	// Initialize the database and split multiple database names ",".
	InitialDatabases pulumi.StringPtrOutput `pulumi:"initialDatabases"`
	// The name of the resource.
	InstanceName pulumi.StringOutput `pulumi:"instanceName"`
	// The instance type. Value:
	// - Standard: Universal.
	// - Follower: Read-only slave instance.
	// - Warehouse: calculation group type.
	// - Shared: Shared.
	InstanceType pulumi.StringOutput `pulumi:"instanceType"`
	// The ID of the primary instance.
	LeaderInstanceId pulumi.StringPtrOutput `pulumi:"leaderInstanceId"`
	// The payment type of the resource.
	PaymentType pulumi.StringOutput `pulumi:"paymentType"`
	// Billing cycle. Value:
	// - Month: monthly billing
	// - Hour: hourly billing
	// > **NOTE:**  Subscription instances (PrePaid) only supports Month. PayAsYouGo instances (PostPaid) only supports Hour. The Shared type is automatically set to Hour without specifying it.
	PricingCycle pulumi.StringPtrOutput `pulumi:"pricingCycle"`
	// The ID of the resource group.
	ResourceGroupId pulumi.StringOutput `pulumi:"resourceGroupId"`
	// Change matching type. Value:
	// - UPGRADE: UPGRADE
	// - DOWNGRADE: Downgrading
	// > **NOTE:** The upgrade specification cannot be less than the original specification. A blank field indicates that the original specification remains unchanged. On this basis, at least one specification is larger than the original specification. The downgrading specification cannot be greater than the original specification. A blank field indicates that the original specification remains unchanged. On this basis, at least one specification is smaller than the original specification.
	ScaleType pulumi.StringPtrOutput `pulumi:"scaleType"`
	// The status of the resource.
	Status pulumi.StringOutput `pulumi:"status"`
	// The standard storage space of the instance. Unit: GB.
	// > **NOTE:**  PayAsYouGo instances (PostPaid) ignore this parameter.
	StorageSize pulumi.IntPtrOutput `pulumi:"storageSize"`
	// Instance tag.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// The zone Id. Refer to "Instructions for Use".
	ZoneId pulumi.StringOutput `pulumi:"zoneId"`
}

## Import

Hologram Instance can be imported using the id, e.g.

```sh $ pulumi import alicloud:hologram/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 {
	// Whether to pay automatically. The default value is true. Value:
	// - true: automatic payment
	// - false: only generate orders, not pay
	// > **NOTE:**  The default value is true. If the balance of your payment method is insufficient, you can set the parameter AutoPay to false, and an unpaid order will be generated. You can log in to the user Center to pay by yourself.
	AutoPay pulumi.BoolPtrInput
	// Instance low-frequency storage space. Unit: GB.
	// > **NOTE:**  PayAsYouGo (PostPaid) instances ignore this parameter.
	ColdStorageSize pulumi.IntPtrInput
	// Instance specifications. Value:
	// - 8 cores 32 GB (number of compute nodes: 1)
	// - 16 cores 64 GB (number of compute nodes: 1)
	// - 32 core 128 GB (number of compute nodes: 2)
	// - 64 core 256 GB (number of compute nodes: 4)
	// - 96 core 384 GB (number of computing nodes: 6)
	// - 128 core 512 GB (number of compute nodes: 8)
	// > **NOTE:** Just fill in the audit number. Please submit a work order application for purchasing 1024 or above specifications. Shared instance types do not need to specify specifications. The specification of - 8 core 32GB (number of computing nodes: 1) is only for experience use and cannot be used for production.
	Cpu pulumi.IntPtrInput
	// The buying cycle. Buy for 2 months. If the Payment type is PayAsYouGo (PostPaid), you do not need to specify it.
	Duration pulumi.IntPtrInput
	// List of domain names. See `endpoints` below.
	Endpoints InstanceEndpointArrayInput
	// Number of gateway nodes.
	GatewayCount pulumi.IntPtrInput
	// Initialize the database and split multiple database names ",".
	InitialDatabases pulumi.StringPtrInput
	// The name of the resource.
	InstanceName pulumi.StringInput
	// The instance type. Value:
	// - Standard: Universal.
	// - Follower: Read-only slave instance.
	// - Warehouse: calculation group type.
	// - Shared: Shared.
	InstanceType pulumi.StringInput
	// The ID of the primary instance.
	LeaderInstanceId pulumi.StringPtrInput
	// The payment type of the resource.
	PaymentType pulumi.StringInput
	// Billing cycle. Value:
	// - Month: monthly billing
	// - Hour: hourly billing
	// > **NOTE:**  Subscription instances (PrePaid) only supports Month. PayAsYouGo instances (PostPaid) only supports Hour. The Shared type is automatically set to Hour without specifying it.
	PricingCycle pulumi.StringPtrInput
	// The ID of the resource group.
	ResourceGroupId pulumi.StringPtrInput
	// Change matching type. Value:
	// - UPGRADE: UPGRADE
	// - DOWNGRADE: Downgrading
	// > **NOTE:** The upgrade specification cannot be less than the original specification. A blank field indicates that the original specification remains unchanged. On this basis, at least one specification is larger than the original specification. The downgrading specification cannot be greater than the original specification. A blank field indicates that the original specification remains unchanged. On this basis, at least one specification is smaller than the original specification.
	ScaleType pulumi.StringPtrInput
	// The status of the resource.
	Status pulumi.StringPtrInput
	// The standard storage space of the instance. Unit: GB.
	// > **NOTE:**  PayAsYouGo instances (PostPaid) ignore this parameter.
	StorageSize pulumi.IntPtrInput
	// Instance tag.
	Tags pulumi.MapInput
	// The zone Id. Refer to "Instructions for Use".
	ZoneId pulumi.StringInput
}

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 InstanceEndpoint

type InstanceEndpoint struct {
	// Some old instances have both AnyTunnel and SingleTunnel enabled. When switching from AnyTunnel to SingleTunnel, the endpoints of both are retained. Therefore, one more field is required to store the Endpoint.
	AlternativeEndpoints *string `pulumi:"alternativeEndpoints"`
	// Whether to turn on the network.
	Enabled *bool `pulumi:"enabled"`
	// Domain name.
	Endpoint *string `pulumi:"endpoint"`
	// The network type.
	Type *string `pulumi:"type"`
	// VPC primary key.
	VpcId *string `pulumi:"vpcId"`
	// The vpc instance ID.
	VpcInstanceId *string `pulumi:"vpcInstanceId"`
	// The ID of the virtual switch.
	VswitchId *string `pulumi:"vswitchId"`
}

type InstanceEndpointArgs

type InstanceEndpointArgs struct {
	// Some old instances have both AnyTunnel and SingleTunnel enabled. When switching from AnyTunnel to SingleTunnel, the endpoints of both are retained. Therefore, one more field is required to store the Endpoint.
	AlternativeEndpoints pulumi.StringPtrInput `pulumi:"alternativeEndpoints"`
	// Whether to turn on the network.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
	// Domain name.
	Endpoint pulumi.StringPtrInput `pulumi:"endpoint"`
	// The network type.
	Type pulumi.StringPtrInput `pulumi:"type"`
	// VPC primary key.
	VpcId pulumi.StringPtrInput `pulumi:"vpcId"`
	// The vpc instance ID.
	VpcInstanceId pulumi.StringPtrInput `pulumi:"vpcInstanceId"`
	// The ID of the virtual switch.
	VswitchId pulumi.StringPtrInput `pulumi:"vswitchId"`
}

func (InstanceEndpointArgs) ElementType

func (InstanceEndpointArgs) ElementType() reflect.Type

func (InstanceEndpointArgs) ToInstanceEndpointOutput

func (i InstanceEndpointArgs) ToInstanceEndpointOutput() InstanceEndpointOutput

func (InstanceEndpointArgs) ToInstanceEndpointOutputWithContext

func (i InstanceEndpointArgs) ToInstanceEndpointOutputWithContext(ctx context.Context) InstanceEndpointOutput

type InstanceEndpointArray

type InstanceEndpointArray []InstanceEndpointInput

func (InstanceEndpointArray) ElementType

func (InstanceEndpointArray) ElementType() reflect.Type

func (InstanceEndpointArray) ToInstanceEndpointArrayOutput

func (i InstanceEndpointArray) ToInstanceEndpointArrayOutput() InstanceEndpointArrayOutput

func (InstanceEndpointArray) ToInstanceEndpointArrayOutputWithContext

func (i InstanceEndpointArray) ToInstanceEndpointArrayOutputWithContext(ctx context.Context) InstanceEndpointArrayOutput

type InstanceEndpointArrayInput

type InstanceEndpointArrayInput interface {
	pulumi.Input

	ToInstanceEndpointArrayOutput() InstanceEndpointArrayOutput
	ToInstanceEndpointArrayOutputWithContext(context.Context) InstanceEndpointArrayOutput
}

InstanceEndpointArrayInput is an input type that accepts InstanceEndpointArray and InstanceEndpointArrayOutput values. You can construct a concrete instance of `InstanceEndpointArrayInput` via:

InstanceEndpointArray{ InstanceEndpointArgs{...} }

type InstanceEndpointArrayOutput

type InstanceEndpointArrayOutput struct{ *pulumi.OutputState }

func (InstanceEndpointArrayOutput) ElementType

func (InstanceEndpointArrayOutput) Index

func (InstanceEndpointArrayOutput) ToInstanceEndpointArrayOutput

func (o InstanceEndpointArrayOutput) ToInstanceEndpointArrayOutput() InstanceEndpointArrayOutput

func (InstanceEndpointArrayOutput) ToInstanceEndpointArrayOutputWithContext

func (o InstanceEndpointArrayOutput) ToInstanceEndpointArrayOutputWithContext(ctx context.Context) InstanceEndpointArrayOutput

type InstanceEndpointInput

type InstanceEndpointInput interface {
	pulumi.Input

	ToInstanceEndpointOutput() InstanceEndpointOutput
	ToInstanceEndpointOutputWithContext(context.Context) InstanceEndpointOutput
}

InstanceEndpointInput is an input type that accepts InstanceEndpointArgs and InstanceEndpointOutput values. You can construct a concrete instance of `InstanceEndpointInput` via:

InstanceEndpointArgs{...}

type InstanceEndpointOutput

type InstanceEndpointOutput struct{ *pulumi.OutputState }

func (InstanceEndpointOutput) AlternativeEndpoints

func (o InstanceEndpointOutput) AlternativeEndpoints() pulumi.StringPtrOutput

Some old instances have both AnyTunnel and SingleTunnel enabled. When switching from AnyTunnel to SingleTunnel, the endpoints of both are retained. Therefore, one more field is required to store the Endpoint.

func (InstanceEndpointOutput) ElementType

func (InstanceEndpointOutput) ElementType() reflect.Type

func (InstanceEndpointOutput) Enabled

Whether to turn on the network.

func (InstanceEndpointOutput) Endpoint

Domain name.

func (InstanceEndpointOutput) ToInstanceEndpointOutput

func (o InstanceEndpointOutput) ToInstanceEndpointOutput() InstanceEndpointOutput

func (InstanceEndpointOutput) ToInstanceEndpointOutputWithContext

func (o InstanceEndpointOutput) ToInstanceEndpointOutputWithContext(ctx context.Context) InstanceEndpointOutput

func (InstanceEndpointOutput) Type

The network type.

func (InstanceEndpointOutput) VpcId

VPC primary key.

func (InstanceEndpointOutput) VpcInstanceId

func (o InstanceEndpointOutput) VpcInstanceId() pulumi.StringPtrOutput

The vpc instance ID.

func (InstanceEndpointOutput) VswitchId

The ID of the virtual switch.

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

func (o InstanceOutput) AutoPay() pulumi.BoolPtrOutput

Whether to pay automatically. The default value is true. Value: - true: automatic payment - false: only generate orders, not pay > **NOTE:** The default value is true. If the balance of your payment method is insufficient, you can set the parameter AutoPay to false, and an unpaid order will be generated. You can log in to the user Center to pay by yourself.

func (InstanceOutput) ColdStorageSize

func (o InstanceOutput) ColdStorageSize() pulumi.IntPtrOutput

Instance low-frequency storage space. Unit: GB. > **NOTE:** PayAsYouGo (PostPaid) instances ignore this parameter.

func (InstanceOutput) Cpu

Instance specifications. Value: - 8 cores 32 GB (number of compute nodes: 1) - 16 cores 64 GB (number of compute nodes: 1) - 32 core 128 GB (number of compute nodes: 2) - 64 core 256 GB (number of compute nodes: 4) - 96 core 384 GB (number of computing nodes: 6) - 128 core 512 GB (number of compute nodes: 8) > **NOTE:** Just fill in the audit number. Please submit a work order application for purchasing 1024 or above specifications. Shared instance types do not need to specify specifications. The specification of - 8 core 32GB (number of computing nodes: 1) is only for experience use and cannot be used for production.

func (InstanceOutput) CreateTime

func (o InstanceOutput) CreateTime() pulumi.StringOutput

The creation time of the resource.

func (InstanceOutput) Duration

func (o InstanceOutput) Duration() pulumi.IntPtrOutput

The buying cycle. Buy for 2 months. If the Payment type is PayAsYouGo (PostPaid), you do not need to specify it.

func (InstanceOutput) ElementType

func (InstanceOutput) ElementType() reflect.Type

func (InstanceOutput) Endpoints

List of domain names. See `endpoints` below.

func (InstanceOutput) GatewayCount

func (o InstanceOutput) GatewayCount() pulumi.IntPtrOutput

Number of gateway nodes.

func (InstanceOutput) InitialDatabases

func (o InstanceOutput) InitialDatabases() pulumi.StringPtrOutput

Initialize the database and split multiple database names ",".

func (InstanceOutput) InstanceName

func (o InstanceOutput) InstanceName() pulumi.StringOutput

The name of the resource.

func (InstanceOutput) InstanceType

func (o InstanceOutput) InstanceType() pulumi.StringOutput

The instance type. Value: - Standard: Universal. - Follower: Read-only slave instance. - Warehouse: calculation group type. - Shared: Shared.

func (InstanceOutput) LeaderInstanceId

func (o InstanceOutput) LeaderInstanceId() pulumi.StringPtrOutput

The ID of the primary instance.

func (InstanceOutput) PaymentType

func (o InstanceOutput) PaymentType() pulumi.StringOutput

The payment type of the resource.

func (InstanceOutput) PricingCycle

func (o InstanceOutput) PricingCycle() pulumi.StringPtrOutput

Billing cycle. Value: - Month: monthly billing - Hour: hourly billing > **NOTE:** Subscription instances (PrePaid) only supports Month. PayAsYouGo instances (PostPaid) only supports Hour. The Shared type is automatically set to Hour without specifying it.

func (InstanceOutput) ResourceGroupId

func (o InstanceOutput) ResourceGroupId() pulumi.StringOutput

The ID of the resource group.

func (InstanceOutput) ScaleType

func (o InstanceOutput) ScaleType() pulumi.StringPtrOutput

Change matching type. Value: - UPGRADE: UPGRADE - DOWNGRADE: Downgrading > **NOTE:** The upgrade specification cannot be less than the original specification. A blank field indicates that the original specification remains unchanged. On this basis, at least one specification is larger than the original specification. The downgrading specification cannot be greater than the original specification. A blank field indicates that the original specification remains unchanged. On this basis, at least one specification is smaller than the original specification.

func (InstanceOutput) Status

func (o InstanceOutput) Status() pulumi.StringOutput

The status of the resource.

func (InstanceOutput) StorageSize

func (o InstanceOutput) StorageSize() pulumi.IntPtrOutput

The standard storage space of the instance. Unit: GB. > **NOTE:** PayAsYouGo instances (PostPaid) ignore this parameter.

func (InstanceOutput) Tags

func (o InstanceOutput) Tags() pulumi.MapOutput

Instance tag.

func (InstanceOutput) ToInstanceOutput

func (o InstanceOutput) ToInstanceOutput() InstanceOutput

func (InstanceOutput) ToInstanceOutputWithContext

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

func (InstanceOutput) ZoneId

func (o InstanceOutput) ZoneId() pulumi.StringOutput

The zone Id. Refer to "Instructions for Use".

type InstanceState

type InstanceState struct {
	// Whether to pay automatically. The default value is true. Value:
	// - true: automatic payment
	// - false: only generate orders, not pay
	// > **NOTE:**  The default value is true. If the balance of your payment method is insufficient, you can set the parameter AutoPay to false, and an unpaid order will be generated. You can log in to the user Center to pay by yourself.
	AutoPay pulumi.BoolPtrInput
	// Instance low-frequency storage space. Unit: GB.
	// > **NOTE:**  PayAsYouGo (PostPaid) instances ignore this parameter.
	ColdStorageSize pulumi.IntPtrInput
	// Instance specifications. Value:
	// - 8 cores 32 GB (number of compute nodes: 1)
	// - 16 cores 64 GB (number of compute nodes: 1)
	// - 32 core 128 GB (number of compute nodes: 2)
	// - 64 core 256 GB (number of compute nodes: 4)
	// - 96 core 384 GB (number of computing nodes: 6)
	// - 128 core 512 GB (number of compute nodes: 8)
	// > **NOTE:** Just fill in the audit number. Please submit a work order application for purchasing 1024 or above specifications. Shared instance types do not need to specify specifications. The specification of - 8 core 32GB (number of computing nodes: 1) is only for experience use and cannot be used for production.
	Cpu pulumi.IntPtrInput
	// The creation time of the resource.
	CreateTime pulumi.StringPtrInput
	// The buying cycle. Buy for 2 months. If the Payment type is PayAsYouGo (PostPaid), you do not need to specify it.
	Duration pulumi.IntPtrInput
	// List of domain names. See `endpoints` below.
	Endpoints InstanceEndpointArrayInput
	// Number of gateway nodes.
	GatewayCount pulumi.IntPtrInput
	// Initialize the database and split multiple database names ",".
	InitialDatabases pulumi.StringPtrInput
	// The name of the resource.
	InstanceName pulumi.StringPtrInput
	// The instance type. Value:
	// - Standard: Universal.
	// - Follower: Read-only slave instance.
	// - Warehouse: calculation group type.
	// - Shared: Shared.
	InstanceType pulumi.StringPtrInput
	// The ID of the primary instance.
	LeaderInstanceId pulumi.StringPtrInput
	// The payment type of the resource.
	PaymentType pulumi.StringPtrInput
	// Billing cycle. Value:
	// - Month: monthly billing
	// - Hour: hourly billing
	// > **NOTE:**  Subscription instances (PrePaid) only supports Month. PayAsYouGo instances (PostPaid) only supports Hour. The Shared type is automatically set to Hour without specifying it.
	PricingCycle pulumi.StringPtrInput
	// The ID of the resource group.
	ResourceGroupId pulumi.StringPtrInput
	// Change matching type. Value:
	// - UPGRADE: UPGRADE
	// - DOWNGRADE: Downgrading
	// > **NOTE:** The upgrade specification cannot be less than the original specification. A blank field indicates that the original specification remains unchanged. On this basis, at least one specification is larger than the original specification. The downgrading specification cannot be greater than the original specification. A blank field indicates that the original specification remains unchanged. On this basis, at least one specification is smaller than the original specification.
	ScaleType pulumi.StringPtrInput
	// The status of the resource.
	Status pulumi.StringPtrInput
	// The standard storage space of the instance. Unit: GB.
	// > **NOTE:**  PayAsYouGo instances (PostPaid) ignore this parameter.
	StorageSize pulumi.IntPtrInput
	// Instance tag.
	Tags pulumi.MapInput
	// The zone Id. Refer to "Instructions for Use".
	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