mongodb

package
v0.0.0-...-9ab2e28 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 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 Instance

type Instance struct {
	pulumi.CustomResourceState

	// Auto renew flag. Valid values are `0`(NOTIFY_AND_MANUAL_RENEW), `1`(NOTIFY_AND_AUTO_RENEW) and
	// `2`(DISABLE_NOTIFY_AND_MANUAL_RENEW). Default value is `0`. Note: only works for PREPAID instance. Only supports`0` and
	// `1` for creation.
	AutoRenewFlag pulumi.IntPtrOutput `pulumi:"autoRenewFlag"`
	// The available zone of the Mongodb.
	AvailableZone pulumi.StringOutput `pulumi:"availableZone"`
	// The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. Default value is `POSTPAID_BY_HOUR`.
	// Note: TencentCloud International only supports `POSTPAID_BY_HOUR`. Caution that update operation on this field will
	// delete old instances and create new one with new charge type.
	ChargeType pulumi.StringPtrOutput `pulumi:"chargeType"`
	// Creation time of the Mongodb instance.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Version of the Mongodb, and available values include `MONGO_36_WT` (MongoDB 3.6 WiredTiger Edition), `MONGO_40_WT`
	// (MongoDB 4.0 WiredTiger Edition) and `MONGO_42_WT` (MongoDB 4.2 WiredTiger Edition). NOTE: `MONGO_3_WT` (MongoDB 3.2
	// WiredTiger Edition) and `MONGO_3_ROCKS` (MongoDB 3.2 RocksDB Edition) will deprecated.
	EngineVersion pulumi.StringOutput `pulumi:"engineVersion"`
	// Name of the Mongodb instance.
	InstanceName pulumi.StringOutput `pulumi:"instanceName"`
	// Type of Mongodb instance, and available values include `HIO`(or `GIO` which will be deprecated, represents high IO) and
	// `HIO10G`(or `TGIO` which will be deprecated, represents 10-gigabit high IO).
	MachineType pulumi.StringOutput `pulumi:"machineType"`
	// Memory size. The minimum value is 2, and unit is GB. Memory and volume must be upgraded or degraded simultaneously.
	Memory pulumi.IntOutput `pulumi:"memory"`
	// Password of this Mongodb account.
	Password pulumi.StringPtrOutput `pulumi:"password"`
	// The tenancy (time unit is month) of the prepaid instance. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24,
	// 36. NOTE: it only works when charge_type is set to `PREPAID`.
	PrepaidPeriod pulumi.IntPtrOutput `pulumi:"prepaidPeriod"`
	// ID of the project which the instance belongs.
	ProjectId pulumi.IntPtrOutput `pulumi:"projectId"`
	// ID of the security group. NOTE: for instance which `engine_version` is `MONGO_40_WT`, `security_groups` is not
	// supported.
	SecurityGroups pulumi.StringArrayOutput `pulumi:"securityGroups"`
	// List of standby instances' info.
	StandbyInstanceLists InstanceStandbyInstanceListArrayOutput `pulumi:"standbyInstanceLists"`
	// Status of the Mongodb instance, and available values include pending initialization(expressed with 0),
	// processing(expressed with 1), running(expressed with 2) and expired(expressed with -2).
	Status pulumi.IntOutput `pulumi:"status"`
	// ID of the subnet within this VPC. The value is required if `vpc_id` is set.
	SubnetId pulumi.StringPtrOutput `pulumi:"subnetId"`
	// The tags of the Mongodb. Key name `project` is system reserved and can't be used.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// IP of the Mongodb instance.
	Vip pulumi.StringOutput `pulumi:"vip"`
	// Disk size. The minimum value is 25, and unit is GB. Memory and volume must be upgraded or degraded simultaneously.
	Volume pulumi.IntOutput `pulumi:"volume"`
	// ID of the VPC.
	VpcId pulumi.StringPtrOutput `pulumi:"vpcId"`
	// IP port of the Mongodb instance.
	Vport pulumi.IntOutput `pulumi:"vport"`
}

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 {
	// Auto renew flag. Valid values are `0`(NOTIFY_AND_MANUAL_RENEW), `1`(NOTIFY_AND_AUTO_RENEW) and
	// `2`(DISABLE_NOTIFY_AND_MANUAL_RENEW). Default value is `0`. Note: only works for PREPAID instance. Only supports`0` and
	// `1` for creation.
	AutoRenewFlag pulumi.IntPtrInput
	// The available zone of the Mongodb.
	AvailableZone pulumi.StringInput
	// The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. Default value is `POSTPAID_BY_HOUR`.
	// Note: TencentCloud International only supports `POSTPAID_BY_HOUR`. Caution that update operation on this field will
	// delete old instances and create new one with new charge type.
	ChargeType pulumi.StringPtrInput
	// Version of the Mongodb, and available values include `MONGO_36_WT` (MongoDB 3.6 WiredTiger Edition), `MONGO_40_WT`
	// (MongoDB 4.0 WiredTiger Edition) and `MONGO_42_WT` (MongoDB 4.2 WiredTiger Edition). NOTE: `MONGO_3_WT` (MongoDB 3.2
	// WiredTiger Edition) and `MONGO_3_ROCKS` (MongoDB 3.2 RocksDB Edition) will deprecated.
	EngineVersion pulumi.StringInput
	// Name of the Mongodb instance.
	InstanceName pulumi.StringInput
	// Type of Mongodb instance, and available values include `HIO`(or `GIO` which will be deprecated, represents high IO) and
	// `HIO10G`(or `TGIO` which will be deprecated, represents 10-gigabit high IO).
	MachineType pulumi.StringInput
	// Memory size. The minimum value is 2, and unit is GB. Memory and volume must be upgraded or degraded simultaneously.
	Memory pulumi.IntInput
	// Password of this Mongodb account.
	Password pulumi.StringPtrInput
	// The tenancy (time unit is month) of the prepaid instance. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24,
	// 36. NOTE: it only works when charge_type is set to `PREPAID`.
	PrepaidPeriod pulumi.IntPtrInput
	// ID of the project which the instance belongs.
	ProjectId pulumi.IntPtrInput
	// ID of the security group. NOTE: for instance which `engine_version` is `MONGO_40_WT`, `security_groups` is not
	// supported.
	SecurityGroups pulumi.StringArrayInput
	// ID of the subnet within this VPC. The value is required if `vpc_id` is set.
	SubnetId pulumi.StringPtrInput
	// The tags of the Mongodb. Key name `project` is system reserved and can't be used.
	Tags pulumi.MapInput
	// Disk size. The minimum value is 25, and unit is GB. Memory and volume must be upgraded or degraded simultaneously.
	Volume pulumi.IntInput
	// ID of the VPC.
	VpcId 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) AutoRenewFlag

func (o InstanceOutput) AutoRenewFlag() pulumi.IntPtrOutput

Auto renew flag. Valid values are `0`(NOTIFY_AND_MANUAL_RENEW), `1`(NOTIFY_AND_AUTO_RENEW) and `2`(DISABLE_NOTIFY_AND_MANUAL_RENEW). Default value is `0`. Note: only works for PREPAID instance. Only supports`0` and `1` for creation.

func (InstanceOutput) AvailableZone

func (o InstanceOutput) AvailableZone() pulumi.StringOutput

The available zone of the Mongodb.

func (InstanceOutput) ChargeType

func (o InstanceOutput) ChargeType() pulumi.StringPtrOutput

The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. Default value is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`. Caution that update operation on this field will delete old instances and create new one with new charge type.

func (InstanceOutput) CreateTime

func (o InstanceOutput) CreateTime() pulumi.StringOutput

Creation time of the Mongodb instance.

func (InstanceOutput) ElementType

func (InstanceOutput) ElementType() reflect.Type

func (InstanceOutput) EngineVersion

func (o InstanceOutput) EngineVersion() pulumi.StringOutput

Version of the Mongodb, and available values include `MONGO_36_WT` (MongoDB 3.6 WiredTiger Edition), `MONGO_40_WT` (MongoDB 4.0 WiredTiger Edition) and `MONGO_42_WT` (MongoDB 4.2 WiredTiger Edition). NOTE: `MONGO_3_WT` (MongoDB 3.2 WiredTiger Edition) and `MONGO_3_ROCKS` (MongoDB 3.2 RocksDB Edition) will deprecated.

func (InstanceOutput) InstanceName

func (o InstanceOutput) InstanceName() pulumi.StringOutput

Name of the Mongodb instance.

func (InstanceOutput) MachineType

func (o InstanceOutput) MachineType() pulumi.StringOutput

Type of Mongodb instance, and available values include `HIO`(or `GIO` which will be deprecated, represents high IO) and `HIO10G`(or `TGIO` which will be deprecated, represents 10-gigabit high IO).

func (InstanceOutput) Memory

func (o InstanceOutput) Memory() pulumi.IntOutput

Memory size. The minimum value is 2, and unit is GB. Memory and volume must be upgraded or degraded simultaneously.

func (InstanceOutput) Password

func (o InstanceOutput) Password() pulumi.StringPtrOutput

Password of this Mongodb account.

func (InstanceOutput) PrepaidPeriod

func (o InstanceOutput) PrepaidPeriod() pulumi.IntPtrOutput

The tenancy (time unit is month) of the prepaid instance. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36. NOTE: it only works when charge_type is set to `PREPAID`.

func (InstanceOutput) ProjectId

func (o InstanceOutput) ProjectId() pulumi.IntPtrOutput

ID of the project which the instance belongs.

func (InstanceOutput) SecurityGroups

func (o InstanceOutput) SecurityGroups() pulumi.StringArrayOutput

ID of the security group. NOTE: for instance which `engine_version` is `MONGO_40_WT`, `security_groups` is not supported.

func (InstanceOutput) StandbyInstanceLists

func (o InstanceOutput) StandbyInstanceLists() InstanceStandbyInstanceListArrayOutput

List of standby instances' info.

func (InstanceOutput) Status

func (o InstanceOutput) Status() pulumi.IntOutput

Status of the Mongodb instance, and available values include pending initialization(expressed with 0), processing(expressed with 1), running(expressed with 2) and expired(expressed with -2).

func (InstanceOutput) SubnetId

func (o InstanceOutput) SubnetId() pulumi.StringPtrOutput

ID of the subnet within this VPC. The value is required if `vpc_id` is set.

func (InstanceOutput) Tags

func (o InstanceOutput) Tags() pulumi.MapOutput

The tags of the Mongodb. Key name `project` is system reserved and can't be used.

func (InstanceOutput) ToInstanceOutput

func (o InstanceOutput) ToInstanceOutput() InstanceOutput

func (InstanceOutput) ToInstanceOutputWithContext

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

func (InstanceOutput) Vip

IP of the Mongodb instance.

func (InstanceOutput) Volume

func (o InstanceOutput) Volume() pulumi.IntOutput

Disk size. The minimum value is 25, and unit is GB. Memory and volume must be upgraded or degraded simultaneously.

func (InstanceOutput) VpcId

ID of the VPC.

func (InstanceOutput) Vport

func (o InstanceOutput) Vport() pulumi.IntOutput

IP port of the Mongodb instance.

type InstanceStandbyInstanceList

type InstanceStandbyInstanceList struct {
	StandbyInstanceId     *string `pulumi:"standbyInstanceId"`
	StandbyInstanceRegion *string `pulumi:"standbyInstanceRegion"`
}

type InstanceStandbyInstanceListArgs

type InstanceStandbyInstanceListArgs struct {
	StandbyInstanceId     pulumi.StringPtrInput `pulumi:"standbyInstanceId"`
	StandbyInstanceRegion pulumi.StringPtrInput `pulumi:"standbyInstanceRegion"`
}

func (InstanceStandbyInstanceListArgs) ElementType

func (InstanceStandbyInstanceListArgs) ToInstanceStandbyInstanceListOutput

func (i InstanceStandbyInstanceListArgs) ToInstanceStandbyInstanceListOutput() InstanceStandbyInstanceListOutput

func (InstanceStandbyInstanceListArgs) ToInstanceStandbyInstanceListOutputWithContext

func (i InstanceStandbyInstanceListArgs) ToInstanceStandbyInstanceListOutputWithContext(ctx context.Context) InstanceStandbyInstanceListOutput

type InstanceStandbyInstanceListArray

type InstanceStandbyInstanceListArray []InstanceStandbyInstanceListInput

func (InstanceStandbyInstanceListArray) ElementType

func (InstanceStandbyInstanceListArray) ToInstanceStandbyInstanceListArrayOutput

func (i InstanceStandbyInstanceListArray) ToInstanceStandbyInstanceListArrayOutput() InstanceStandbyInstanceListArrayOutput

func (InstanceStandbyInstanceListArray) ToInstanceStandbyInstanceListArrayOutputWithContext

func (i InstanceStandbyInstanceListArray) ToInstanceStandbyInstanceListArrayOutputWithContext(ctx context.Context) InstanceStandbyInstanceListArrayOutput

type InstanceStandbyInstanceListArrayInput

type InstanceStandbyInstanceListArrayInput interface {
	pulumi.Input

	ToInstanceStandbyInstanceListArrayOutput() InstanceStandbyInstanceListArrayOutput
	ToInstanceStandbyInstanceListArrayOutputWithContext(context.Context) InstanceStandbyInstanceListArrayOutput
}

InstanceStandbyInstanceListArrayInput is an input type that accepts InstanceStandbyInstanceListArray and InstanceStandbyInstanceListArrayOutput values. You can construct a concrete instance of `InstanceStandbyInstanceListArrayInput` via:

InstanceStandbyInstanceListArray{ InstanceStandbyInstanceListArgs{...} }

type InstanceStandbyInstanceListArrayOutput

type InstanceStandbyInstanceListArrayOutput struct{ *pulumi.OutputState }

func (InstanceStandbyInstanceListArrayOutput) ElementType

func (InstanceStandbyInstanceListArrayOutput) Index

func (InstanceStandbyInstanceListArrayOutput) ToInstanceStandbyInstanceListArrayOutput

func (o InstanceStandbyInstanceListArrayOutput) ToInstanceStandbyInstanceListArrayOutput() InstanceStandbyInstanceListArrayOutput

func (InstanceStandbyInstanceListArrayOutput) ToInstanceStandbyInstanceListArrayOutputWithContext

func (o InstanceStandbyInstanceListArrayOutput) ToInstanceStandbyInstanceListArrayOutputWithContext(ctx context.Context) InstanceStandbyInstanceListArrayOutput

type InstanceStandbyInstanceListInput

type InstanceStandbyInstanceListInput interface {
	pulumi.Input

	ToInstanceStandbyInstanceListOutput() InstanceStandbyInstanceListOutput
	ToInstanceStandbyInstanceListOutputWithContext(context.Context) InstanceStandbyInstanceListOutput
}

InstanceStandbyInstanceListInput is an input type that accepts InstanceStandbyInstanceListArgs and InstanceStandbyInstanceListOutput values. You can construct a concrete instance of `InstanceStandbyInstanceListInput` via:

InstanceStandbyInstanceListArgs{...}

type InstanceStandbyInstanceListOutput

type InstanceStandbyInstanceListOutput struct{ *pulumi.OutputState }

func (InstanceStandbyInstanceListOutput) ElementType

func (InstanceStandbyInstanceListOutput) StandbyInstanceId

func (InstanceStandbyInstanceListOutput) StandbyInstanceRegion

func (o InstanceStandbyInstanceListOutput) StandbyInstanceRegion() pulumi.StringPtrOutput

func (InstanceStandbyInstanceListOutput) ToInstanceStandbyInstanceListOutput

func (o InstanceStandbyInstanceListOutput) ToInstanceStandbyInstanceListOutput() InstanceStandbyInstanceListOutput

func (InstanceStandbyInstanceListOutput) ToInstanceStandbyInstanceListOutputWithContext

func (o InstanceStandbyInstanceListOutput) ToInstanceStandbyInstanceListOutputWithContext(ctx context.Context) InstanceStandbyInstanceListOutput

type InstanceState

type InstanceState struct {
	// Auto renew flag. Valid values are `0`(NOTIFY_AND_MANUAL_RENEW), `1`(NOTIFY_AND_AUTO_RENEW) and
	// `2`(DISABLE_NOTIFY_AND_MANUAL_RENEW). Default value is `0`. Note: only works for PREPAID instance. Only supports`0` and
	// `1` for creation.
	AutoRenewFlag pulumi.IntPtrInput
	// The available zone of the Mongodb.
	AvailableZone pulumi.StringPtrInput
	// The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. Default value is `POSTPAID_BY_HOUR`.
	// Note: TencentCloud International only supports `POSTPAID_BY_HOUR`. Caution that update operation on this field will
	// delete old instances and create new one with new charge type.
	ChargeType pulumi.StringPtrInput
	// Creation time of the Mongodb instance.
	CreateTime pulumi.StringPtrInput
	// Version of the Mongodb, and available values include `MONGO_36_WT` (MongoDB 3.6 WiredTiger Edition), `MONGO_40_WT`
	// (MongoDB 4.0 WiredTiger Edition) and `MONGO_42_WT` (MongoDB 4.2 WiredTiger Edition). NOTE: `MONGO_3_WT` (MongoDB 3.2
	// WiredTiger Edition) and `MONGO_3_ROCKS` (MongoDB 3.2 RocksDB Edition) will deprecated.
	EngineVersion pulumi.StringPtrInput
	// Name of the Mongodb instance.
	InstanceName pulumi.StringPtrInput
	// Type of Mongodb instance, and available values include `HIO`(or `GIO` which will be deprecated, represents high IO) and
	// `HIO10G`(or `TGIO` which will be deprecated, represents 10-gigabit high IO).
	MachineType pulumi.StringPtrInput
	// Memory size. The minimum value is 2, and unit is GB. Memory and volume must be upgraded or degraded simultaneously.
	Memory pulumi.IntPtrInput
	// Password of this Mongodb account.
	Password pulumi.StringPtrInput
	// The tenancy (time unit is month) of the prepaid instance. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24,
	// 36. NOTE: it only works when charge_type is set to `PREPAID`.
	PrepaidPeriod pulumi.IntPtrInput
	// ID of the project which the instance belongs.
	ProjectId pulumi.IntPtrInput
	// ID of the security group. NOTE: for instance which `engine_version` is `MONGO_40_WT`, `security_groups` is not
	// supported.
	SecurityGroups pulumi.StringArrayInput
	// List of standby instances' info.
	StandbyInstanceLists InstanceStandbyInstanceListArrayInput
	// Status of the Mongodb instance, and available values include pending initialization(expressed with 0),
	// processing(expressed with 1), running(expressed with 2) and expired(expressed with -2).
	Status pulumi.IntPtrInput
	// ID of the subnet within this VPC. The value is required if `vpc_id` is set.
	SubnetId pulumi.StringPtrInput
	// The tags of the Mongodb. Key name `project` is system reserved and can't be used.
	Tags pulumi.MapInput
	// IP of the Mongodb instance.
	Vip pulumi.StringPtrInput
	// Disk size. The minimum value is 25, and unit is GB. Memory and volume must be upgraded or degraded simultaneously.
	Volume pulumi.IntPtrInput
	// ID of the VPC.
	VpcId pulumi.StringPtrInput
	// IP port of the Mongodb instance.
	Vport pulumi.IntPtrInput
}

func (InstanceState) ElementType

func (InstanceState) ElementType() reflect.Type

type InstancesArgs

type InstancesArgs struct {
	ClusterType        *string                `pulumi:"clusterType"`
	InstanceId         *string                `pulumi:"instanceId"`
	InstanceNamePrefix *string                `pulumi:"instanceNamePrefix"`
	ResultOutputFile   *string                `pulumi:"resultOutputFile"`
	Tags               map[string]interface{} `pulumi:"tags"`
}

A collection of arguments for invoking Instances.

type InstancesInstanceList

type InstancesInstanceList struct {
	AutoRenewFlag int                    `pulumi:"autoRenewFlag"`
	AvailableZone string                 `pulumi:"availableZone"`
	ChargeType    string                 `pulumi:"chargeType"`
	ClusterType   string                 `pulumi:"clusterType"`
	Cpu           int                    `pulumi:"cpu"`
	CreateTime    string                 `pulumi:"createTime"`
	EngineVersion string                 `pulumi:"engineVersion"`
	InstanceId    string                 `pulumi:"instanceId"`
	InstanceName  string                 `pulumi:"instanceName"`
	MachineType   string                 `pulumi:"machineType"`
	Memory        int                    `pulumi:"memory"`
	ProjectId     int                    `pulumi:"projectId"`
	ShardQuantity int                    `pulumi:"shardQuantity"`
	Status        int                    `pulumi:"status"`
	SubnetId      string                 `pulumi:"subnetId"`
	Tags          map[string]interface{} `pulumi:"tags"`
	Vip           string                 `pulumi:"vip"`
	Volume        int                    `pulumi:"volume"`
	VpcId         string                 `pulumi:"vpcId"`
	Vport         int                    `pulumi:"vport"`
}

type InstancesInstanceListArgs

type InstancesInstanceListArgs struct {
	AutoRenewFlag pulumi.IntInput    `pulumi:"autoRenewFlag"`
	AvailableZone pulumi.StringInput `pulumi:"availableZone"`
	ChargeType    pulumi.StringInput `pulumi:"chargeType"`
	ClusterType   pulumi.StringInput `pulumi:"clusterType"`
	Cpu           pulumi.IntInput    `pulumi:"cpu"`
	CreateTime    pulumi.StringInput `pulumi:"createTime"`
	EngineVersion pulumi.StringInput `pulumi:"engineVersion"`
	InstanceId    pulumi.StringInput `pulumi:"instanceId"`
	InstanceName  pulumi.StringInput `pulumi:"instanceName"`
	MachineType   pulumi.StringInput `pulumi:"machineType"`
	Memory        pulumi.IntInput    `pulumi:"memory"`
	ProjectId     pulumi.IntInput    `pulumi:"projectId"`
	ShardQuantity pulumi.IntInput    `pulumi:"shardQuantity"`
	Status        pulumi.IntInput    `pulumi:"status"`
	SubnetId      pulumi.StringInput `pulumi:"subnetId"`
	Tags          pulumi.MapInput    `pulumi:"tags"`
	Vip           pulumi.StringInput `pulumi:"vip"`
	Volume        pulumi.IntInput    `pulumi:"volume"`
	VpcId         pulumi.StringInput `pulumi:"vpcId"`
	Vport         pulumi.IntInput    `pulumi:"vport"`
}

func (InstancesInstanceListArgs) ElementType

func (InstancesInstanceListArgs) ElementType() reflect.Type

func (InstancesInstanceListArgs) ToInstancesInstanceListOutput

func (i InstancesInstanceListArgs) ToInstancesInstanceListOutput() InstancesInstanceListOutput

func (InstancesInstanceListArgs) ToInstancesInstanceListOutputWithContext

func (i InstancesInstanceListArgs) ToInstancesInstanceListOutputWithContext(ctx context.Context) InstancesInstanceListOutput

type InstancesInstanceListArray

type InstancesInstanceListArray []InstancesInstanceListInput

func (InstancesInstanceListArray) ElementType

func (InstancesInstanceListArray) ElementType() reflect.Type

func (InstancesInstanceListArray) ToInstancesInstanceListArrayOutput

func (i InstancesInstanceListArray) ToInstancesInstanceListArrayOutput() InstancesInstanceListArrayOutput

func (InstancesInstanceListArray) ToInstancesInstanceListArrayOutputWithContext

func (i InstancesInstanceListArray) ToInstancesInstanceListArrayOutputWithContext(ctx context.Context) InstancesInstanceListArrayOutput

type InstancesInstanceListArrayInput

type InstancesInstanceListArrayInput interface {
	pulumi.Input

	ToInstancesInstanceListArrayOutput() InstancesInstanceListArrayOutput
	ToInstancesInstanceListArrayOutputWithContext(context.Context) InstancesInstanceListArrayOutput
}

InstancesInstanceListArrayInput is an input type that accepts InstancesInstanceListArray and InstancesInstanceListArrayOutput values. You can construct a concrete instance of `InstancesInstanceListArrayInput` via:

InstancesInstanceListArray{ InstancesInstanceListArgs{...} }

type InstancesInstanceListArrayOutput

type InstancesInstanceListArrayOutput struct{ *pulumi.OutputState }

func (InstancesInstanceListArrayOutput) ElementType

func (InstancesInstanceListArrayOutput) Index

func (InstancesInstanceListArrayOutput) ToInstancesInstanceListArrayOutput

func (o InstancesInstanceListArrayOutput) ToInstancesInstanceListArrayOutput() InstancesInstanceListArrayOutput

func (InstancesInstanceListArrayOutput) ToInstancesInstanceListArrayOutputWithContext

func (o InstancesInstanceListArrayOutput) ToInstancesInstanceListArrayOutputWithContext(ctx context.Context) InstancesInstanceListArrayOutput

type InstancesInstanceListInput

type InstancesInstanceListInput interface {
	pulumi.Input

	ToInstancesInstanceListOutput() InstancesInstanceListOutput
	ToInstancesInstanceListOutputWithContext(context.Context) InstancesInstanceListOutput
}

InstancesInstanceListInput is an input type that accepts InstancesInstanceListArgs and InstancesInstanceListOutput values. You can construct a concrete instance of `InstancesInstanceListInput` via:

InstancesInstanceListArgs{...}

type InstancesInstanceListOutput

type InstancesInstanceListOutput struct{ *pulumi.OutputState }

func (InstancesInstanceListOutput) AutoRenewFlag

func (o InstancesInstanceListOutput) AutoRenewFlag() pulumi.IntOutput

func (InstancesInstanceListOutput) AvailableZone

func (InstancesInstanceListOutput) ChargeType

func (InstancesInstanceListOutput) ClusterType

func (InstancesInstanceListOutput) Cpu

func (InstancesInstanceListOutput) CreateTime

func (InstancesInstanceListOutput) ElementType

func (InstancesInstanceListOutput) EngineVersion

func (InstancesInstanceListOutput) InstanceId

func (InstancesInstanceListOutput) InstanceName

func (InstancesInstanceListOutput) MachineType

func (InstancesInstanceListOutput) Memory

func (InstancesInstanceListOutput) ProjectId

func (InstancesInstanceListOutput) ShardQuantity

func (o InstancesInstanceListOutput) ShardQuantity() pulumi.IntOutput

func (InstancesInstanceListOutput) Status

func (InstancesInstanceListOutput) SubnetId

func (InstancesInstanceListOutput) Tags

func (InstancesInstanceListOutput) ToInstancesInstanceListOutput

func (o InstancesInstanceListOutput) ToInstancesInstanceListOutput() InstancesInstanceListOutput

func (InstancesInstanceListOutput) ToInstancesInstanceListOutputWithContext

func (o InstancesInstanceListOutput) ToInstancesInstanceListOutputWithContext(ctx context.Context) InstancesInstanceListOutput

func (InstancesInstanceListOutput) Vip

func (InstancesInstanceListOutput) Volume

func (InstancesInstanceListOutput) VpcId

func (InstancesInstanceListOutput) Vport

type InstancesOutputArgs

type InstancesOutputArgs struct {
	ClusterType        pulumi.StringPtrInput `pulumi:"clusterType"`
	InstanceId         pulumi.StringPtrInput `pulumi:"instanceId"`
	InstanceNamePrefix pulumi.StringPtrInput `pulumi:"instanceNamePrefix"`
	ResultOutputFile   pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	Tags               pulumi.MapInput       `pulumi:"tags"`
}

A collection of arguments for invoking Instances.

func (InstancesOutputArgs) ElementType

func (InstancesOutputArgs) ElementType() reflect.Type

type InstancesResult

type InstancesResult struct {
	ClusterType *string `pulumi:"clusterType"`
	// The provider-assigned unique ID for this managed resource.
	Id                 string                  `pulumi:"id"`
	InstanceId         *string                 `pulumi:"instanceId"`
	InstanceLists      []InstancesInstanceList `pulumi:"instanceLists"`
	InstanceNamePrefix *string                 `pulumi:"instanceNamePrefix"`
	ResultOutputFile   *string                 `pulumi:"resultOutputFile"`
	Tags               map[string]interface{}  `pulumi:"tags"`
}

A collection of values returned by Instances.

func Instances

func Instances(ctx *pulumi.Context, args *InstancesArgs, opts ...pulumi.InvokeOption) (*InstancesResult, error)

type InstancesResultOutput

type InstancesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by Instances.

func (InstancesResultOutput) ClusterType

func (InstancesResultOutput) ElementType

func (InstancesResultOutput) ElementType() reflect.Type

func (InstancesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (InstancesResultOutput) InstanceId

func (InstancesResultOutput) InstanceLists

func (InstancesResultOutput) InstanceNamePrefix

func (o InstancesResultOutput) InstanceNamePrefix() pulumi.StringPtrOutput

func (InstancesResultOutput) ResultOutputFile

func (o InstancesResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (InstancesResultOutput) Tags

func (InstancesResultOutput) ToInstancesResultOutput

func (o InstancesResultOutput) ToInstancesResultOutput() InstancesResultOutput

func (InstancesResultOutput) ToInstancesResultOutputWithContext

func (o InstancesResultOutput) ToInstancesResultOutputWithContext(ctx context.Context) InstancesResultOutput

type ShardingInstance

type ShardingInstance struct {
	pulumi.CustomResourceState

	// Auto renew flag. Valid values are `0`(NOTIFY_AND_MANUAL_RENEW), `1`(NOTIFY_AND_AUTO_RENEW) and
	// `2`(DISABLE_NOTIFY_AND_MANUAL_RENEW). Default value is `0`. Note: only works for PREPAID instance. Only supports`0` and
	// `1` for creation.
	AutoRenewFlag pulumi.IntPtrOutput `pulumi:"autoRenewFlag"`
	// The available zone of the Mongodb.
	AvailableZone pulumi.StringOutput `pulumi:"availableZone"`
	// The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. Default value is `POSTPAID_BY_HOUR`.
	// Note: TencentCloud International only supports `POSTPAID_BY_HOUR`. Caution that update operation on this field will
	// delete old instances and create new one with new charge type.
	ChargeType pulumi.StringPtrOutput `pulumi:"chargeType"`
	// Creation time of the Mongodb instance.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Version of the Mongodb, and available values include `MONGO_36_WT` (MongoDB 3.6 WiredTiger Edition), `MONGO_40_WT`
	// (MongoDB 4.0 WiredTiger Edition) and `MONGO_42_WT` (MongoDB 4.2 WiredTiger Edition). NOTE: `MONGO_3_WT` (MongoDB 3.2
	// WiredTiger Edition) and `MONGO_3_ROCKS` (MongoDB 3.2 RocksDB Edition) will deprecated.
	EngineVersion pulumi.StringOutput `pulumi:"engineVersion"`
	// Name of the Mongodb instance.
	InstanceName pulumi.StringOutput `pulumi:"instanceName"`
	// Type of Mongodb instance, and available values include `HIO`(or `GIO` which will be deprecated, represents high IO) and
	// `HIO10G`(or `TGIO` which will be deprecated, represents 10-gigabit high IO).
	MachineType pulumi.StringOutput `pulumi:"machineType"`
	// Memory size. The minimum value is 2, and unit is GB. Memory and volume must be upgraded or degraded simultaneously.
	Memory pulumi.IntOutput `pulumi:"memory"`
	// Number of nodes per shard, at least 3(one master and two slaves).
	NodesPerShard pulumi.IntOutput `pulumi:"nodesPerShard"`
	// Password of this Mongodb account.
	Password pulumi.StringPtrOutput `pulumi:"password"`
	// The tenancy (time unit is month) of the prepaid instance. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24,
	// 36. NOTE: it only works when charge_type is set to `PREPAID`.
	PrepaidPeriod pulumi.IntPtrOutput `pulumi:"prepaidPeriod"`
	// ID of the project which the instance belongs.
	ProjectId pulumi.IntPtrOutput `pulumi:"projectId"`
	// ID of the security group. NOTE: for instance which `engine_version` is `MONGO_40_WT`, `security_groups` is not
	// supported.
	SecurityGroups pulumi.StringArrayOutput `pulumi:"securityGroups"`
	// Number of sharding.
	ShardQuantity pulumi.IntOutput `pulumi:"shardQuantity"`
	// Status of the Mongodb instance, and available values include pending initialization(expressed with 0),
	// processing(expressed with 1), running(expressed with 2) and expired(expressed with -2).
	Status pulumi.IntOutput `pulumi:"status"`
	// ID of the subnet within this VPC. The value is required if `vpc_id` is set.
	SubnetId pulumi.StringPtrOutput `pulumi:"subnetId"`
	// The tags of the Mongodb. Key name `project` is system reserved and can't be used.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// IP of the Mongodb instance.
	Vip pulumi.StringOutput `pulumi:"vip"`
	// Disk size. The minimum value is 25, and unit is GB. Memory and volume must be upgraded or degraded simultaneously.
	Volume pulumi.IntOutput `pulumi:"volume"`
	// ID of the VPC.
	VpcId pulumi.StringPtrOutput `pulumi:"vpcId"`
	// IP port of the Mongodb instance.
	Vport pulumi.IntOutput `pulumi:"vport"`
}

func GetShardingInstance

func GetShardingInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ShardingInstanceState, opts ...pulumi.ResourceOption) (*ShardingInstance, error)

GetShardingInstance gets an existing ShardingInstance 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 NewShardingInstance

func NewShardingInstance(ctx *pulumi.Context,
	name string, args *ShardingInstanceArgs, opts ...pulumi.ResourceOption) (*ShardingInstance, error)

NewShardingInstance registers a new resource with the given unique name, arguments, and options.

func (*ShardingInstance) ElementType

func (*ShardingInstance) ElementType() reflect.Type

func (*ShardingInstance) ToShardingInstanceOutput

func (i *ShardingInstance) ToShardingInstanceOutput() ShardingInstanceOutput

func (*ShardingInstance) ToShardingInstanceOutputWithContext

func (i *ShardingInstance) ToShardingInstanceOutputWithContext(ctx context.Context) ShardingInstanceOutput

type ShardingInstanceArgs

type ShardingInstanceArgs struct {
	// Auto renew flag. Valid values are `0`(NOTIFY_AND_MANUAL_RENEW), `1`(NOTIFY_AND_AUTO_RENEW) and
	// `2`(DISABLE_NOTIFY_AND_MANUAL_RENEW). Default value is `0`. Note: only works for PREPAID instance. Only supports`0` and
	// `1` for creation.
	AutoRenewFlag pulumi.IntPtrInput
	// The available zone of the Mongodb.
	AvailableZone pulumi.StringInput
	// The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. Default value is `POSTPAID_BY_HOUR`.
	// Note: TencentCloud International only supports `POSTPAID_BY_HOUR`. Caution that update operation on this field will
	// delete old instances and create new one with new charge type.
	ChargeType pulumi.StringPtrInput
	// Version of the Mongodb, and available values include `MONGO_36_WT` (MongoDB 3.6 WiredTiger Edition), `MONGO_40_WT`
	// (MongoDB 4.0 WiredTiger Edition) and `MONGO_42_WT` (MongoDB 4.2 WiredTiger Edition). NOTE: `MONGO_3_WT` (MongoDB 3.2
	// WiredTiger Edition) and `MONGO_3_ROCKS` (MongoDB 3.2 RocksDB Edition) will deprecated.
	EngineVersion pulumi.StringInput
	// Name of the Mongodb instance.
	InstanceName pulumi.StringInput
	// Type of Mongodb instance, and available values include `HIO`(or `GIO` which will be deprecated, represents high IO) and
	// `HIO10G`(or `TGIO` which will be deprecated, represents 10-gigabit high IO).
	MachineType pulumi.StringInput
	// Memory size. The minimum value is 2, and unit is GB. Memory and volume must be upgraded or degraded simultaneously.
	Memory pulumi.IntInput
	// Number of nodes per shard, at least 3(one master and two slaves).
	NodesPerShard pulumi.IntInput
	// Password of this Mongodb account.
	Password pulumi.StringPtrInput
	// The tenancy (time unit is month) of the prepaid instance. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24,
	// 36. NOTE: it only works when charge_type is set to `PREPAID`.
	PrepaidPeriod pulumi.IntPtrInput
	// ID of the project which the instance belongs.
	ProjectId pulumi.IntPtrInput
	// ID of the security group. NOTE: for instance which `engine_version` is `MONGO_40_WT`, `security_groups` is not
	// supported.
	SecurityGroups pulumi.StringArrayInput
	// Number of sharding.
	ShardQuantity pulumi.IntInput
	// ID of the subnet within this VPC. The value is required if `vpc_id` is set.
	SubnetId pulumi.StringPtrInput
	// The tags of the Mongodb. Key name `project` is system reserved and can't be used.
	Tags pulumi.MapInput
	// Disk size. The minimum value is 25, and unit is GB. Memory and volume must be upgraded or degraded simultaneously.
	Volume pulumi.IntInput
	// ID of the VPC.
	VpcId pulumi.StringPtrInput
}

The set of arguments for constructing a ShardingInstance resource.

func (ShardingInstanceArgs) ElementType

func (ShardingInstanceArgs) ElementType() reflect.Type

type ShardingInstanceArray

type ShardingInstanceArray []ShardingInstanceInput

func (ShardingInstanceArray) ElementType

func (ShardingInstanceArray) ElementType() reflect.Type

func (ShardingInstanceArray) ToShardingInstanceArrayOutput

func (i ShardingInstanceArray) ToShardingInstanceArrayOutput() ShardingInstanceArrayOutput

func (ShardingInstanceArray) ToShardingInstanceArrayOutputWithContext

func (i ShardingInstanceArray) ToShardingInstanceArrayOutputWithContext(ctx context.Context) ShardingInstanceArrayOutput

type ShardingInstanceArrayInput

type ShardingInstanceArrayInput interface {
	pulumi.Input

	ToShardingInstanceArrayOutput() ShardingInstanceArrayOutput
	ToShardingInstanceArrayOutputWithContext(context.Context) ShardingInstanceArrayOutput
}

ShardingInstanceArrayInput is an input type that accepts ShardingInstanceArray and ShardingInstanceArrayOutput values. You can construct a concrete instance of `ShardingInstanceArrayInput` via:

ShardingInstanceArray{ ShardingInstanceArgs{...} }

type ShardingInstanceArrayOutput

type ShardingInstanceArrayOutput struct{ *pulumi.OutputState }

func (ShardingInstanceArrayOutput) ElementType

func (ShardingInstanceArrayOutput) Index

func (ShardingInstanceArrayOutput) ToShardingInstanceArrayOutput

func (o ShardingInstanceArrayOutput) ToShardingInstanceArrayOutput() ShardingInstanceArrayOutput

func (ShardingInstanceArrayOutput) ToShardingInstanceArrayOutputWithContext

func (o ShardingInstanceArrayOutput) ToShardingInstanceArrayOutputWithContext(ctx context.Context) ShardingInstanceArrayOutput

type ShardingInstanceInput

type ShardingInstanceInput interface {
	pulumi.Input

	ToShardingInstanceOutput() ShardingInstanceOutput
	ToShardingInstanceOutputWithContext(ctx context.Context) ShardingInstanceOutput
}

type ShardingInstanceMap

type ShardingInstanceMap map[string]ShardingInstanceInput

func (ShardingInstanceMap) ElementType

func (ShardingInstanceMap) ElementType() reflect.Type

func (ShardingInstanceMap) ToShardingInstanceMapOutput

func (i ShardingInstanceMap) ToShardingInstanceMapOutput() ShardingInstanceMapOutput

func (ShardingInstanceMap) ToShardingInstanceMapOutputWithContext

func (i ShardingInstanceMap) ToShardingInstanceMapOutputWithContext(ctx context.Context) ShardingInstanceMapOutput

type ShardingInstanceMapInput

type ShardingInstanceMapInput interface {
	pulumi.Input

	ToShardingInstanceMapOutput() ShardingInstanceMapOutput
	ToShardingInstanceMapOutputWithContext(context.Context) ShardingInstanceMapOutput
}

ShardingInstanceMapInput is an input type that accepts ShardingInstanceMap and ShardingInstanceMapOutput values. You can construct a concrete instance of `ShardingInstanceMapInput` via:

ShardingInstanceMap{ "key": ShardingInstanceArgs{...} }

type ShardingInstanceMapOutput

type ShardingInstanceMapOutput struct{ *pulumi.OutputState }

func (ShardingInstanceMapOutput) ElementType

func (ShardingInstanceMapOutput) ElementType() reflect.Type

func (ShardingInstanceMapOutput) MapIndex

func (ShardingInstanceMapOutput) ToShardingInstanceMapOutput

func (o ShardingInstanceMapOutput) ToShardingInstanceMapOutput() ShardingInstanceMapOutput

func (ShardingInstanceMapOutput) ToShardingInstanceMapOutputWithContext

func (o ShardingInstanceMapOutput) ToShardingInstanceMapOutputWithContext(ctx context.Context) ShardingInstanceMapOutput

type ShardingInstanceOutput

type ShardingInstanceOutput struct{ *pulumi.OutputState }

func (ShardingInstanceOutput) AutoRenewFlag

func (o ShardingInstanceOutput) AutoRenewFlag() pulumi.IntPtrOutput

Auto renew flag. Valid values are `0`(NOTIFY_AND_MANUAL_RENEW), `1`(NOTIFY_AND_AUTO_RENEW) and `2`(DISABLE_NOTIFY_AND_MANUAL_RENEW). Default value is `0`. Note: only works for PREPAID instance. Only supports`0` and `1` for creation.

func (ShardingInstanceOutput) AvailableZone

func (o ShardingInstanceOutput) AvailableZone() pulumi.StringOutput

The available zone of the Mongodb.

func (ShardingInstanceOutput) ChargeType

The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. Default value is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`. Caution that update operation on this field will delete old instances and create new one with new charge type.

func (ShardingInstanceOutput) CreateTime

Creation time of the Mongodb instance.

func (ShardingInstanceOutput) ElementType

func (ShardingInstanceOutput) ElementType() reflect.Type

func (ShardingInstanceOutput) EngineVersion

func (o ShardingInstanceOutput) EngineVersion() pulumi.StringOutput

Version of the Mongodb, and available values include `MONGO_36_WT` (MongoDB 3.6 WiredTiger Edition), `MONGO_40_WT` (MongoDB 4.0 WiredTiger Edition) and `MONGO_42_WT` (MongoDB 4.2 WiredTiger Edition). NOTE: `MONGO_3_WT` (MongoDB 3.2 WiredTiger Edition) and `MONGO_3_ROCKS` (MongoDB 3.2 RocksDB Edition) will deprecated.

func (ShardingInstanceOutput) InstanceName

func (o ShardingInstanceOutput) InstanceName() pulumi.StringOutput

Name of the Mongodb instance.

func (ShardingInstanceOutput) MachineType

func (o ShardingInstanceOutput) MachineType() pulumi.StringOutput

Type of Mongodb instance, and available values include `HIO`(or `GIO` which will be deprecated, represents high IO) and `HIO10G`(or `TGIO` which will be deprecated, represents 10-gigabit high IO).

func (ShardingInstanceOutput) Memory

Memory size. The minimum value is 2, and unit is GB. Memory and volume must be upgraded or degraded simultaneously.

func (ShardingInstanceOutput) NodesPerShard

func (o ShardingInstanceOutput) NodesPerShard() pulumi.IntOutput

Number of nodes per shard, at least 3(one master and two slaves).

func (ShardingInstanceOutput) Password

Password of this Mongodb account.

func (ShardingInstanceOutput) PrepaidPeriod

func (o ShardingInstanceOutput) PrepaidPeriod() pulumi.IntPtrOutput

The tenancy (time unit is month) of the prepaid instance. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36. NOTE: it only works when charge_type is set to `PREPAID`.

func (ShardingInstanceOutput) ProjectId

ID of the project which the instance belongs.

func (ShardingInstanceOutput) SecurityGroups

func (o ShardingInstanceOutput) SecurityGroups() pulumi.StringArrayOutput

ID of the security group. NOTE: for instance which `engine_version` is `MONGO_40_WT`, `security_groups` is not supported.

func (ShardingInstanceOutput) ShardQuantity

func (o ShardingInstanceOutput) ShardQuantity() pulumi.IntOutput

Number of sharding.

func (ShardingInstanceOutput) Status

Status of the Mongodb instance, and available values include pending initialization(expressed with 0), processing(expressed with 1), running(expressed with 2) and expired(expressed with -2).

func (ShardingInstanceOutput) SubnetId

ID of the subnet within this VPC. The value is required if `vpc_id` is set.

func (ShardingInstanceOutput) Tags

The tags of the Mongodb. Key name `project` is system reserved and can't be used.

func (ShardingInstanceOutput) ToShardingInstanceOutput

func (o ShardingInstanceOutput) ToShardingInstanceOutput() ShardingInstanceOutput

func (ShardingInstanceOutput) ToShardingInstanceOutputWithContext

func (o ShardingInstanceOutput) ToShardingInstanceOutputWithContext(ctx context.Context) ShardingInstanceOutput

func (ShardingInstanceOutput) Vip

IP of the Mongodb instance.

func (ShardingInstanceOutput) Volume

Disk size. The minimum value is 25, and unit is GB. Memory and volume must be upgraded or degraded simultaneously.

func (ShardingInstanceOutput) VpcId

ID of the VPC.

func (ShardingInstanceOutput) Vport

IP port of the Mongodb instance.

type ShardingInstanceState

type ShardingInstanceState struct {
	// Auto renew flag. Valid values are `0`(NOTIFY_AND_MANUAL_RENEW), `1`(NOTIFY_AND_AUTO_RENEW) and
	// `2`(DISABLE_NOTIFY_AND_MANUAL_RENEW). Default value is `0`. Note: only works for PREPAID instance. Only supports`0` and
	// `1` for creation.
	AutoRenewFlag pulumi.IntPtrInput
	// The available zone of the Mongodb.
	AvailableZone pulumi.StringPtrInput
	// The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. Default value is `POSTPAID_BY_HOUR`.
	// Note: TencentCloud International only supports `POSTPAID_BY_HOUR`. Caution that update operation on this field will
	// delete old instances and create new one with new charge type.
	ChargeType pulumi.StringPtrInput
	// Creation time of the Mongodb instance.
	CreateTime pulumi.StringPtrInput
	// Version of the Mongodb, and available values include `MONGO_36_WT` (MongoDB 3.6 WiredTiger Edition), `MONGO_40_WT`
	// (MongoDB 4.0 WiredTiger Edition) and `MONGO_42_WT` (MongoDB 4.2 WiredTiger Edition). NOTE: `MONGO_3_WT` (MongoDB 3.2
	// WiredTiger Edition) and `MONGO_3_ROCKS` (MongoDB 3.2 RocksDB Edition) will deprecated.
	EngineVersion pulumi.StringPtrInput
	// Name of the Mongodb instance.
	InstanceName pulumi.StringPtrInput
	// Type of Mongodb instance, and available values include `HIO`(or `GIO` which will be deprecated, represents high IO) and
	// `HIO10G`(or `TGIO` which will be deprecated, represents 10-gigabit high IO).
	MachineType pulumi.StringPtrInput
	// Memory size. The minimum value is 2, and unit is GB. Memory and volume must be upgraded or degraded simultaneously.
	Memory pulumi.IntPtrInput
	// Number of nodes per shard, at least 3(one master and two slaves).
	NodesPerShard pulumi.IntPtrInput
	// Password of this Mongodb account.
	Password pulumi.StringPtrInput
	// The tenancy (time unit is month) of the prepaid instance. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24,
	// 36. NOTE: it only works when charge_type is set to `PREPAID`.
	PrepaidPeriod pulumi.IntPtrInput
	// ID of the project which the instance belongs.
	ProjectId pulumi.IntPtrInput
	// ID of the security group. NOTE: for instance which `engine_version` is `MONGO_40_WT`, `security_groups` is not
	// supported.
	SecurityGroups pulumi.StringArrayInput
	// Number of sharding.
	ShardQuantity pulumi.IntPtrInput
	// Status of the Mongodb instance, and available values include pending initialization(expressed with 0),
	// processing(expressed with 1), running(expressed with 2) and expired(expressed with -2).
	Status pulumi.IntPtrInput
	// ID of the subnet within this VPC. The value is required if `vpc_id` is set.
	SubnetId pulumi.StringPtrInput
	// The tags of the Mongodb. Key name `project` is system reserved and can't be used.
	Tags pulumi.MapInput
	// IP of the Mongodb instance.
	Vip pulumi.StringPtrInput
	// Disk size. The minimum value is 25, and unit is GB. Memory and volume must be upgraded or degraded simultaneously.
	Volume pulumi.IntPtrInput
	// ID of the VPC.
	VpcId pulumi.StringPtrInput
	// IP port of the Mongodb instance.
	Vport pulumi.IntPtrInput
}

func (ShardingInstanceState) ElementType

func (ShardingInstanceState) ElementType() reflect.Type

type StandbyInstance

type StandbyInstance struct {
	pulumi.CustomResourceState

	// Auto renew flag. Valid values are `0`(NOTIFY_AND_MANUAL_RENEW), `1`(NOTIFY_AND_AUTO_RENEW) and
	// `2`(DISABLE_NOTIFY_AND_MANUAL_RENEW). Default value is `0`. Note: only works for PREPAID instance. Only supports`0` and
	// `1` for creation.
	AutoRenewFlag pulumi.IntPtrOutput `pulumi:"autoRenewFlag"`
	// The available zone of the Mongodb standby instance. NOTE: must not be same with father instance's.
	AvailableZone pulumi.StringOutput `pulumi:"availableZone"`
	// The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. Default value is `POSTPAID_BY_HOUR`.
	// Note: TencentCloud International only supports `POSTPAID_BY_HOUR`. Caution that update operation on this field will
	// delete old instances and create new one with new charge type.
	ChargeType pulumi.StringPtrOutput `pulumi:"chargeType"`
	// Creation time of the Mongodb instance.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Version of the standby Mongodb instance and must be same as the version of main instance.
	EngineVersion pulumi.StringOutput `pulumi:"engineVersion"`
	// Indicates the main instance ID of standby instances.
	FatherInstanceId pulumi.StringOutput `pulumi:"fatherInstanceId"`
	// Indicates the region of main instance.
	FatherInstanceRegion pulumi.StringOutput `pulumi:"fatherInstanceRegion"`
	// Name of the Mongodb instance.
	InstanceName pulumi.StringOutput `pulumi:"instanceName"`
	// Type of standby Mongodb instance and must be same as the type of main instance.
	MachineType pulumi.StringOutput `pulumi:"machineType"`
	// Memory size. The minimum value is 2, and unit is GB. Memory and volume must be upgraded or degraded simultaneously.
	Memory pulumi.IntOutput `pulumi:"memory"`
	// The tenancy (time unit is month) of the prepaid instance. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24,
	// 36. NOTE: it only works when charge_type is set to `PREPAID`.
	PrepaidPeriod pulumi.IntPtrOutput `pulumi:"prepaidPeriod"`
	// ID of the project which the instance belongs.
	ProjectId pulumi.IntPtrOutput `pulumi:"projectId"`
	// ID of the security group. NOTE: for instance which `engine_version` is `MONGO_40_WT`, `security_groups` is not
	// supported.
	SecurityGroups pulumi.StringArrayOutput `pulumi:"securityGroups"`
	// Status of the Mongodb instance, and available values include pending initialization(expressed with 0),
	// processing(expressed with 1), running(expressed with 2) and expired(expressed with -2).
	Status pulumi.IntOutput `pulumi:"status"`
	// ID of the subnet within this VPC. The value is required if `vpc_id` is set.
	SubnetId pulumi.StringPtrOutput `pulumi:"subnetId"`
	// The tags of the Mongodb. Key name `project` is system reserved and can't be used.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// IP of the Mongodb instance.
	Vip pulumi.StringOutput `pulumi:"vip"`
	// Disk size. The minimum value is 25, and unit is GB. Memory and volume must be upgraded or degraded simultaneously.
	Volume pulumi.IntOutput `pulumi:"volume"`
	// ID of the VPC.
	VpcId pulumi.StringPtrOutput `pulumi:"vpcId"`
	// IP port of the Mongodb instance.
	Vport pulumi.IntOutput `pulumi:"vport"`
}

func GetStandbyInstance

func GetStandbyInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StandbyInstanceState, opts ...pulumi.ResourceOption) (*StandbyInstance, error)

GetStandbyInstance gets an existing StandbyInstance 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 NewStandbyInstance

func NewStandbyInstance(ctx *pulumi.Context,
	name string, args *StandbyInstanceArgs, opts ...pulumi.ResourceOption) (*StandbyInstance, error)

NewStandbyInstance registers a new resource with the given unique name, arguments, and options.

func (*StandbyInstance) ElementType

func (*StandbyInstance) ElementType() reflect.Type

func (*StandbyInstance) ToStandbyInstanceOutput

func (i *StandbyInstance) ToStandbyInstanceOutput() StandbyInstanceOutput

func (*StandbyInstance) ToStandbyInstanceOutputWithContext

func (i *StandbyInstance) ToStandbyInstanceOutputWithContext(ctx context.Context) StandbyInstanceOutput

type StandbyInstanceArgs

type StandbyInstanceArgs struct {
	// Auto renew flag. Valid values are `0`(NOTIFY_AND_MANUAL_RENEW), `1`(NOTIFY_AND_AUTO_RENEW) and
	// `2`(DISABLE_NOTIFY_AND_MANUAL_RENEW). Default value is `0`. Note: only works for PREPAID instance. Only supports`0` and
	// `1` for creation.
	AutoRenewFlag pulumi.IntPtrInput
	// The available zone of the Mongodb standby instance. NOTE: must not be same with father instance's.
	AvailableZone pulumi.StringInput
	// The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. Default value is `POSTPAID_BY_HOUR`.
	// Note: TencentCloud International only supports `POSTPAID_BY_HOUR`. Caution that update operation on this field will
	// delete old instances and create new one with new charge type.
	ChargeType pulumi.StringPtrInput
	// Indicates the main instance ID of standby instances.
	FatherInstanceId pulumi.StringInput
	// Indicates the region of main instance.
	FatherInstanceRegion pulumi.StringInput
	// Name of the Mongodb instance.
	InstanceName pulumi.StringInput
	// Memory size. The minimum value is 2, and unit is GB. Memory and volume must be upgraded or degraded simultaneously.
	Memory pulumi.IntInput
	// The tenancy (time unit is month) of the prepaid instance. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24,
	// 36. NOTE: it only works when charge_type is set to `PREPAID`.
	PrepaidPeriod pulumi.IntPtrInput
	// ID of the project which the instance belongs.
	ProjectId pulumi.IntPtrInput
	// ID of the security group. NOTE: for instance which `engine_version` is `MONGO_40_WT`, `security_groups` is not
	// supported.
	SecurityGroups pulumi.StringArrayInput
	// ID of the subnet within this VPC. The value is required if `vpc_id` is set.
	SubnetId pulumi.StringPtrInput
	// The tags of the Mongodb. Key name `project` is system reserved and can't be used.
	Tags pulumi.MapInput
	// Disk size. The minimum value is 25, and unit is GB. Memory and volume must be upgraded or degraded simultaneously.
	Volume pulumi.IntInput
	// ID of the VPC.
	VpcId pulumi.StringPtrInput
}

The set of arguments for constructing a StandbyInstance resource.

func (StandbyInstanceArgs) ElementType

func (StandbyInstanceArgs) ElementType() reflect.Type

type StandbyInstanceArray

type StandbyInstanceArray []StandbyInstanceInput

func (StandbyInstanceArray) ElementType

func (StandbyInstanceArray) ElementType() reflect.Type

func (StandbyInstanceArray) ToStandbyInstanceArrayOutput

func (i StandbyInstanceArray) ToStandbyInstanceArrayOutput() StandbyInstanceArrayOutput

func (StandbyInstanceArray) ToStandbyInstanceArrayOutputWithContext

func (i StandbyInstanceArray) ToStandbyInstanceArrayOutputWithContext(ctx context.Context) StandbyInstanceArrayOutput

type StandbyInstanceArrayInput

type StandbyInstanceArrayInput interface {
	pulumi.Input

	ToStandbyInstanceArrayOutput() StandbyInstanceArrayOutput
	ToStandbyInstanceArrayOutputWithContext(context.Context) StandbyInstanceArrayOutput
}

StandbyInstanceArrayInput is an input type that accepts StandbyInstanceArray and StandbyInstanceArrayOutput values. You can construct a concrete instance of `StandbyInstanceArrayInput` via:

StandbyInstanceArray{ StandbyInstanceArgs{...} }

type StandbyInstanceArrayOutput

type StandbyInstanceArrayOutput struct{ *pulumi.OutputState }

func (StandbyInstanceArrayOutput) ElementType

func (StandbyInstanceArrayOutput) ElementType() reflect.Type

func (StandbyInstanceArrayOutput) Index

func (StandbyInstanceArrayOutput) ToStandbyInstanceArrayOutput

func (o StandbyInstanceArrayOutput) ToStandbyInstanceArrayOutput() StandbyInstanceArrayOutput

func (StandbyInstanceArrayOutput) ToStandbyInstanceArrayOutputWithContext

func (o StandbyInstanceArrayOutput) ToStandbyInstanceArrayOutputWithContext(ctx context.Context) StandbyInstanceArrayOutput

type StandbyInstanceInput

type StandbyInstanceInput interface {
	pulumi.Input

	ToStandbyInstanceOutput() StandbyInstanceOutput
	ToStandbyInstanceOutputWithContext(ctx context.Context) StandbyInstanceOutput
}

type StandbyInstanceMap

type StandbyInstanceMap map[string]StandbyInstanceInput

func (StandbyInstanceMap) ElementType

func (StandbyInstanceMap) ElementType() reflect.Type

func (StandbyInstanceMap) ToStandbyInstanceMapOutput

func (i StandbyInstanceMap) ToStandbyInstanceMapOutput() StandbyInstanceMapOutput

func (StandbyInstanceMap) ToStandbyInstanceMapOutputWithContext

func (i StandbyInstanceMap) ToStandbyInstanceMapOutputWithContext(ctx context.Context) StandbyInstanceMapOutput

type StandbyInstanceMapInput

type StandbyInstanceMapInput interface {
	pulumi.Input

	ToStandbyInstanceMapOutput() StandbyInstanceMapOutput
	ToStandbyInstanceMapOutputWithContext(context.Context) StandbyInstanceMapOutput
}

StandbyInstanceMapInput is an input type that accepts StandbyInstanceMap and StandbyInstanceMapOutput values. You can construct a concrete instance of `StandbyInstanceMapInput` via:

StandbyInstanceMap{ "key": StandbyInstanceArgs{...} }

type StandbyInstanceMapOutput

type StandbyInstanceMapOutput struct{ *pulumi.OutputState }

func (StandbyInstanceMapOutput) ElementType

func (StandbyInstanceMapOutput) ElementType() reflect.Type

func (StandbyInstanceMapOutput) MapIndex

func (StandbyInstanceMapOutput) ToStandbyInstanceMapOutput

func (o StandbyInstanceMapOutput) ToStandbyInstanceMapOutput() StandbyInstanceMapOutput

func (StandbyInstanceMapOutput) ToStandbyInstanceMapOutputWithContext

func (o StandbyInstanceMapOutput) ToStandbyInstanceMapOutputWithContext(ctx context.Context) StandbyInstanceMapOutput

type StandbyInstanceOutput

type StandbyInstanceOutput struct{ *pulumi.OutputState }

func (StandbyInstanceOutput) AutoRenewFlag

func (o StandbyInstanceOutput) AutoRenewFlag() pulumi.IntPtrOutput

Auto renew flag. Valid values are `0`(NOTIFY_AND_MANUAL_RENEW), `1`(NOTIFY_AND_AUTO_RENEW) and `2`(DISABLE_NOTIFY_AND_MANUAL_RENEW). Default value is `0`. Note: only works for PREPAID instance. Only supports`0` and `1` for creation.

func (StandbyInstanceOutput) AvailableZone

func (o StandbyInstanceOutput) AvailableZone() pulumi.StringOutput

The available zone of the Mongodb standby instance. NOTE: must not be same with father instance's.

func (StandbyInstanceOutput) ChargeType

The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. Default value is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`. Caution that update operation on this field will delete old instances and create new one with new charge type.

func (StandbyInstanceOutput) CreateTime

func (o StandbyInstanceOutput) CreateTime() pulumi.StringOutput

Creation time of the Mongodb instance.

func (StandbyInstanceOutput) ElementType

func (StandbyInstanceOutput) ElementType() reflect.Type

func (StandbyInstanceOutput) EngineVersion

func (o StandbyInstanceOutput) EngineVersion() pulumi.StringOutput

Version of the standby Mongodb instance and must be same as the version of main instance.

func (StandbyInstanceOutput) FatherInstanceId

func (o StandbyInstanceOutput) FatherInstanceId() pulumi.StringOutput

Indicates the main instance ID of standby instances.

func (StandbyInstanceOutput) FatherInstanceRegion

func (o StandbyInstanceOutput) FatherInstanceRegion() pulumi.StringOutput

Indicates the region of main instance.

func (StandbyInstanceOutput) InstanceName

func (o StandbyInstanceOutput) InstanceName() pulumi.StringOutput

Name of the Mongodb instance.

func (StandbyInstanceOutput) MachineType

func (o StandbyInstanceOutput) MachineType() pulumi.StringOutput

Type of standby Mongodb instance and must be same as the type of main instance.

func (StandbyInstanceOutput) Memory

Memory size. The minimum value is 2, and unit is GB. Memory and volume must be upgraded or degraded simultaneously.

func (StandbyInstanceOutput) PrepaidPeriod

func (o StandbyInstanceOutput) PrepaidPeriod() pulumi.IntPtrOutput

The tenancy (time unit is month) of the prepaid instance. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36. NOTE: it only works when charge_type is set to `PREPAID`.

func (StandbyInstanceOutput) ProjectId

ID of the project which the instance belongs.

func (StandbyInstanceOutput) SecurityGroups

func (o StandbyInstanceOutput) SecurityGroups() pulumi.StringArrayOutput

ID of the security group. NOTE: for instance which `engine_version` is `MONGO_40_WT`, `security_groups` is not supported.

func (StandbyInstanceOutput) Status

Status of the Mongodb instance, and available values include pending initialization(expressed with 0), processing(expressed with 1), running(expressed with 2) and expired(expressed with -2).

func (StandbyInstanceOutput) SubnetId

ID of the subnet within this VPC. The value is required if `vpc_id` is set.

func (StandbyInstanceOutput) Tags

The tags of the Mongodb. Key name `project` is system reserved and can't be used.

func (StandbyInstanceOutput) ToStandbyInstanceOutput

func (o StandbyInstanceOutput) ToStandbyInstanceOutput() StandbyInstanceOutput

func (StandbyInstanceOutput) ToStandbyInstanceOutputWithContext

func (o StandbyInstanceOutput) ToStandbyInstanceOutputWithContext(ctx context.Context) StandbyInstanceOutput

func (StandbyInstanceOutput) Vip

IP of the Mongodb instance.

func (StandbyInstanceOutput) Volume

Disk size. The minimum value is 25, and unit is GB. Memory and volume must be upgraded or degraded simultaneously.

func (StandbyInstanceOutput) VpcId

ID of the VPC.

func (StandbyInstanceOutput) Vport

IP port of the Mongodb instance.

type StandbyInstanceState

type StandbyInstanceState struct {
	// Auto renew flag. Valid values are `0`(NOTIFY_AND_MANUAL_RENEW), `1`(NOTIFY_AND_AUTO_RENEW) and
	// `2`(DISABLE_NOTIFY_AND_MANUAL_RENEW). Default value is `0`. Note: only works for PREPAID instance. Only supports`0` and
	// `1` for creation.
	AutoRenewFlag pulumi.IntPtrInput
	// The available zone of the Mongodb standby instance. NOTE: must not be same with father instance's.
	AvailableZone pulumi.StringPtrInput
	// The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. Default value is `POSTPAID_BY_HOUR`.
	// Note: TencentCloud International only supports `POSTPAID_BY_HOUR`. Caution that update operation on this field will
	// delete old instances and create new one with new charge type.
	ChargeType pulumi.StringPtrInput
	// Creation time of the Mongodb instance.
	CreateTime pulumi.StringPtrInput
	// Version of the standby Mongodb instance and must be same as the version of main instance.
	EngineVersion pulumi.StringPtrInput
	// Indicates the main instance ID of standby instances.
	FatherInstanceId pulumi.StringPtrInput
	// Indicates the region of main instance.
	FatherInstanceRegion pulumi.StringPtrInput
	// Name of the Mongodb instance.
	InstanceName pulumi.StringPtrInput
	// Type of standby Mongodb instance and must be same as the type of main instance.
	MachineType pulumi.StringPtrInput
	// Memory size. The minimum value is 2, and unit is GB. Memory and volume must be upgraded or degraded simultaneously.
	Memory pulumi.IntPtrInput
	// The tenancy (time unit is month) of the prepaid instance. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24,
	// 36. NOTE: it only works when charge_type is set to `PREPAID`.
	PrepaidPeriod pulumi.IntPtrInput
	// ID of the project which the instance belongs.
	ProjectId pulumi.IntPtrInput
	// ID of the security group. NOTE: for instance which `engine_version` is `MONGO_40_WT`, `security_groups` is not
	// supported.
	SecurityGroups pulumi.StringArrayInput
	// Status of the Mongodb instance, and available values include pending initialization(expressed with 0),
	// processing(expressed with 1), running(expressed with 2) and expired(expressed with -2).
	Status pulumi.IntPtrInput
	// ID of the subnet within this VPC. The value is required if `vpc_id` is set.
	SubnetId pulumi.StringPtrInput
	// The tags of the Mongodb. Key name `project` is system reserved and can't be used.
	Tags pulumi.MapInput
	// IP of the Mongodb instance.
	Vip pulumi.StringPtrInput
	// Disk size. The minimum value is 25, and unit is GB. Memory and volume must be upgraded or degraded simultaneously.
	Volume pulumi.IntPtrInput
	// ID of the VPC.
	VpcId pulumi.StringPtrInput
	// IP port of the Mongodb instance.
	Vport pulumi.IntPtrInput
}

func (StandbyInstanceState) ElementType

func (StandbyInstanceState) ElementType() reflect.Type

type ZoneConfigArgs

type ZoneConfigArgs struct {
	AvailableZone    *string `pulumi:"availableZone"`
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking ZoneConfig.

type ZoneConfigList

type ZoneConfigList struct {
	AvailableZone  string `pulumi:"availableZone"`
	ClusterType    string `pulumi:"clusterType"`
	Cpu            int    `pulumi:"cpu"`
	DefaultStorage int    `pulumi:"defaultStorage"`
	EngineVersion  string `pulumi:"engineVersion"`
	MachineType    string `pulumi:"machineType"`
	MaxStorage     int    `pulumi:"maxStorage"`
	Memory         int    `pulumi:"memory"`
	MinStorage     int    `pulumi:"minStorage"`
}

type ZoneConfigListArgs

type ZoneConfigListArgs struct {
	AvailableZone  pulumi.StringInput `pulumi:"availableZone"`
	ClusterType    pulumi.StringInput `pulumi:"clusterType"`
	Cpu            pulumi.IntInput    `pulumi:"cpu"`
	DefaultStorage pulumi.IntInput    `pulumi:"defaultStorage"`
	EngineVersion  pulumi.StringInput `pulumi:"engineVersion"`
	MachineType    pulumi.StringInput `pulumi:"machineType"`
	MaxStorage     pulumi.IntInput    `pulumi:"maxStorage"`
	Memory         pulumi.IntInput    `pulumi:"memory"`
	MinStorage     pulumi.IntInput    `pulumi:"minStorage"`
}

func (ZoneConfigListArgs) ElementType

func (ZoneConfigListArgs) ElementType() reflect.Type

func (ZoneConfigListArgs) ToZoneConfigListOutput

func (i ZoneConfigListArgs) ToZoneConfigListOutput() ZoneConfigListOutput

func (ZoneConfigListArgs) ToZoneConfigListOutputWithContext

func (i ZoneConfigListArgs) ToZoneConfigListOutputWithContext(ctx context.Context) ZoneConfigListOutput

type ZoneConfigListArray

type ZoneConfigListArray []ZoneConfigListInput

func (ZoneConfigListArray) ElementType

func (ZoneConfigListArray) ElementType() reflect.Type

func (ZoneConfigListArray) ToZoneConfigListArrayOutput

func (i ZoneConfigListArray) ToZoneConfigListArrayOutput() ZoneConfigListArrayOutput

func (ZoneConfigListArray) ToZoneConfigListArrayOutputWithContext

func (i ZoneConfigListArray) ToZoneConfigListArrayOutputWithContext(ctx context.Context) ZoneConfigListArrayOutput

type ZoneConfigListArrayInput

type ZoneConfigListArrayInput interface {
	pulumi.Input

	ToZoneConfigListArrayOutput() ZoneConfigListArrayOutput
	ToZoneConfigListArrayOutputWithContext(context.Context) ZoneConfigListArrayOutput
}

ZoneConfigListArrayInput is an input type that accepts ZoneConfigListArray and ZoneConfigListArrayOutput values. You can construct a concrete instance of `ZoneConfigListArrayInput` via:

ZoneConfigListArray{ ZoneConfigListArgs{...} }

type ZoneConfigListArrayOutput

type ZoneConfigListArrayOutput struct{ *pulumi.OutputState }

func (ZoneConfigListArrayOutput) ElementType

func (ZoneConfigListArrayOutput) ElementType() reflect.Type

func (ZoneConfigListArrayOutput) Index

func (ZoneConfigListArrayOutput) ToZoneConfigListArrayOutput

func (o ZoneConfigListArrayOutput) ToZoneConfigListArrayOutput() ZoneConfigListArrayOutput

func (ZoneConfigListArrayOutput) ToZoneConfigListArrayOutputWithContext

func (o ZoneConfigListArrayOutput) ToZoneConfigListArrayOutputWithContext(ctx context.Context) ZoneConfigListArrayOutput

type ZoneConfigListInput

type ZoneConfigListInput interface {
	pulumi.Input

	ToZoneConfigListOutput() ZoneConfigListOutput
	ToZoneConfigListOutputWithContext(context.Context) ZoneConfigListOutput
}

ZoneConfigListInput is an input type that accepts ZoneConfigListArgs and ZoneConfigListOutput values. You can construct a concrete instance of `ZoneConfigListInput` via:

ZoneConfigListArgs{...}

type ZoneConfigListOutput

type ZoneConfigListOutput struct{ *pulumi.OutputState }

func (ZoneConfigListOutput) AvailableZone

func (o ZoneConfigListOutput) AvailableZone() pulumi.StringOutput

func (ZoneConfigListOutput) ClusterType

func (o ZoneConfigListOutput) ClusterType() pulumi.StringOutput

func (ZoneConfigListOutput) Cpu

func (ZoneConfigListOutput) DefaultStorage

func (o ZoneConfigListOutput) DefaultStorage() pulumi.IntOutput

func (ZoneConfigListOutput) ElementType

func (ZoneConfigListOutput) ElementType() reflect.Type

func (ZoneConfigListOutput) EngineVersion

func (o ZoneConfigListOutput) EngineVersion() pulumi.StringOutput

func (ZoneConfigListOutput) MachineType

func (o ZoneConfigListOutput) MachineType() pulumi.StringOutput

func (ZoneConfigListOutput) MaxStorage

func (o ZoneConfigListOutput) MaxStorage() pulumi.IntOutput

func (ZoneConfigListOutput) Memory

func (ZoneConfigListOutput) MinStorage

func (o ZoneConfigListOutput) MinStorage() pulumi.IntOutput

func (ZoneConfigListOutput) ToZoneConfigListOutput

func (o ZoneConfigListOutput) ToZoneConfigListOutput() ZoneConfigListOutput

func (ZoneConfigListOutput) ToZoneConfigListOutputWithContext

func (o ZoneConfigListOutput) ToZoneConfigListOutputWithContext(ctx context.Context) ZoneConfigListOutput

type ZoneConfigOutputArgs

type ZoneConfigOutputArgs struct {
	AvailableZone    pulumi.StringPtrInput `pulumi:"availableZone"`
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking ZoneConfig.

func (ZoneConfigOutputArgs) ElementType

func (ZoneConfigOutputArgs) ElementType() reflect.Type

type ZoneConfigResult

type ZoneConfigResult struct {
	AvailableZone *string `pulumi:"availableZone"`
	// The provider-assigned unique ID for this managed resource.
	Id               string           `pulumi:"id"`
	Lists            []ZoneConfigList `pulumi:"lists"`
	ResultOutputFile *string          `pulumi:"resultOutputFile"`
}

A collection of values returned by ZoneConfig.

func ZoneConfig

func ZoneConfig(ctx *pulumi.Context, args *ZoneConfigArgs, opts ...pulumi.InvokeOption) (*ZoneConfigResult, error)

type ZoneConfigResultOutput

type ZoneConfigResultOutput struct{ *pulumi.OutputState }

A collection of values returned by ZoneConfig.

func (ZoneConfigResultOutput) AvailableZone

func (o ZoneConfigResultOutput) AvailableZone() pulumi.StringPtrOutput

func (ZoneConfigResultOutput) ElementType

func (ZoneConfigResultOutput) ElementType() reflect.Type

func (ZoneConfigResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (ZoneConfigResultOutput) Lists

func (ZoneConfigResultOutput) ResultOutputFile

func (o ZoneConfigResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (ZoneConfigResultOutput) ToZoneConfigResultOutput

func (o ZoneConfigResultOutput) ToZoneConfigResultOutput() ZoneConfigResultOutput

func (ZoneConfigResultOutput) ToZoneConfigResultOutputWithContext

func (o ZoneConfigResultOutput) ToZoneConfigResultOutputWithContext(ctx context.Context) ZoneConfigResultOutput

Jump to

Keyboard shortcuts

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