cddc

package
v3.54.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 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 DedicatedHost added in v3.12.0

type DedicatedHost struct {
	pulumi.CustomResourceState

	// Specifies whether instances can be created on the host. Valid values: `Allocatable` or `Suspended`. `Allocatable`: Instances can be created on the host. `Suspended`: Instances cannot be created on the host.
	AllocationStatus pulumi.StringOutput `pulumi:"allocationStatus"`
	// Specifies whether to enable the auto-renewal feature.
	AutoRenew pulumi.BoolPtrOutput `pulumi:"autoRenew"`
	// The ID of the dedicated cluster.
	DedicatedHostGroupId pulumi.StringOutput `pulumi:"dedicatedHostGroupId"`
	// The ID of the host.
	DedicatedHostId pulumi.StringOutput `pulumi:"dedicatedHostId"`
	// The instance type of the host. For more information about the supported instance types of hosts, see [Host specification details](https://www.alibabacloud.com/help/doc-detail/206343.htm).
	HostClass pulumi.StringOutput `pulumi:"hostClass"`
	// The name of the host. The name must be `1` to `64` characters in length and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter.
	HostName pulumi.StringOutput `pulumi:"hostName"`
	// Host Image Category. Valid values: `WindowsWithMssqlEntAlwaysonLicense`, `WindowsWithMssqlStdLicense`, `WindowsWithMssqlEntLicense`, `WindowsWithMssqlWebLicense`, `AliLinux`.
	ImageCategory pulumi.StringPtrOutput `pulumi:"imageCategory"`
	// Host password. **NOTE:** The creation of a host password is supported only when the database type is `Tair-PMem`.
	OsPassword pulumi.StringPtrOutput `pulumi:"osPassword"`
	// The payment type of the resource. Valid values: `Subscription`.
	PaymentType pulumi.StringOutput `pulumi:"paymentType"`
	// The unit of the subscription duration. Valid values: `Year`, `Month`, `Week`.
	Period pulumi.StringPtrOutput `pulumi:"period"`
	// The state of the host. Valid values: `0:` The host is being created. `1`: The host is running. `2`: The host is faulty. `3`: The host is ready for deactivation. `4`: The host is being maintained. `5`: The host is deactivated. `6`: The host is restarting. `7`: The host is locked.
	Status pulumi.StringOutput `pulumi:"status"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// The subscription duration of the host. Valid values:
	// * If the Period parameter is set to `Year`, the value of the UsedTime parameter ranges from `1` to `5`.
	// * If the Period parameter is set to `Month`, the value of the UsedTime parameter ranges from `1` to `9`.
	// * If the Period parameter is set to `Week`, the value of the UsedTime parameter ranges from `1`, `2` and `3`.
	UsedTime pulumi.IntPtrOutput `pulumi:"usedTime"`
	// The ID of the vSwitch to which the host is connected.
	VswitchId pulumi.StringOutput `pulumi:"vswitchId"`
	// The ID of the zone.
	ZoneId pulumi.StringOutput `pulumi:"zoneId"`
}

## Import

ApsaraDB for MyBase Dedicated Host can be imported using the id, e.g.

```sh $ pulumi import alicloud:cddc/dedicatedHost:DedicatedHost example <dedicated_host_group_id>:<dedicated_host_id> ```

func GetDedicatedHost added in v3.12.0

func GetDedicatedHost(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DedicatedHostState, opts ...pulumi.ResourceOption) (*DedicatedHost, error)

GetDedicatedHost gets an existing DedicatedHost 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 NewDedicatedHost added in v3.12.0

func NewDedicatedHost(ctx *pulumi.Context,
	name string, args *DedicatedHostArgs, opts ...pulumi.ResourceOption) (*DedicatedHost, error)

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

func (*DedicatedHost) ElementType added in v3.12.0

func (*DedicatedHost) ElementType() reflect.Type

func (*DedicatedHost) ToDedicatedHostOutput added in v3.12.0

func (i *DedicatedHost) ToDedicatedHostOutput() DedicatedHostOutput

func (*DedicatedHost) ToDedicatedHostOutputWithContext added in v3.12.0

func (i *DedicatedHost) ToDedicatedHostOutputWithContext(ctx context.Context) DedicatedHostOutput

type DedicatedHostAccount added in v3.12.0

type DedicatedHostAccount struct {
	pulumi.CustomResourceState

	// The name of the Dedicated host account. The account name must be 2 to 16 characters in length, contain lower case letters, digits, and underscore(_). At the same time, the name must start with a letter and end with a letter or number.
	AccountName pulumi.StringOutput `pulumi:"accountName"`
	// The password of the Dedicated host account. The account password must be 6 to 32 characters in length, and can contain letters, digits, and special characters `!@#$%^&*()_+-=`.
	AccountPassword pulumi.StringOutput `pulumi:"accountPassword"`
	// The type of the Dedicated host account. Valid values: `Admin`, `Normal`.
	AccountType pulumi.StringPtrOutput `pulumi:"accountType"`
	// The ID of Dedicated the host.
	DedicatedHostId pulumi.StringOutput `pulumi:"dedicatedHostId"`
}

Provides a ApsaraDB for MyBase Dedicated Host Account resource.

For information about ApsaraDB for MyBase Dedicated Host Account and how to use it, see [What is Dedicated Host Account](https://www.alibabacloud.com/help/en/apsaradb-for-mybase/latest/creatededicatedhostaccount).

> **NOTE:** Available since v1.148.0.

> **NOTE:** Each Dedicated host can have only one account. Before you create an account for a host, make sure that the existing account is deleted.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cddc"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "tf_example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		_default, err := cddc.GetZones(ctx, nil, nil)
		if err != nil {
			return err
		}
		defaultNetwork, err := vpc.NewNetwork(ctx, "default", &vpc.NetworkArgs{
			VpcName:   pulumi.String(name),
			CidrBlock: pulumi.String("10.4.0.0/16"),
		})
		if err != nil {
			return err
		}
		defaultSwitch, err := vpc.NewSwitch(ctx, "default", &vpc.SwitchArgs{
			VswitchName: pulumi.String(name),
			CidrBlock:   pulumi.String("10.4.0.0/24"),
			VpcId:       defaultNetwork.ID(),
			ZoneId:      pulumi.String(_default.Ids[0]),
		})
		if err != nil {
			return err
		}
		defaultDedicatedHostGroup, err := cddc.NewDedicatedHostGroup(ctx, "default", &cddc.DedicatedHostGroupArgs{
			Engine:                 pulumi.String("MySQL"),
			VpcId:                  defaultNetwork.ID(),
			CpuAllocationRatio:     pulumi.Int(101),
			MemAllocationRatio:     pulumi.Int(50),
			DiskAllocationRatio:    pulumi.Int(200),
			AllocationPolicy:       pulumi.String("Evenly"),
			HostReplacePolicy:      pulumi.String("Manual"),
			DedicatedHostGroupDesc: pulumi.String(name),
			OpenPermission:         pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		defaultGetHostEcsLevelInfos, err := cddc.GetHostEcsLevelInfos(ctx, &cddc.GetHostEcsLevelInfosArgs{
			DbType:      "mysql",
			ZoneId:      _default.Ids[0],
			StorageType: "cloud_essd",
		}, nil)
		if err != nil {
			return err
		}
		defaultDedicatedHost, err := cddc.NewDedicatedHost(ctx, "default", &cddc.DedicatedHostArgs{
			HostName:             pulumi.String(name),
			DedicatedHostGroupId: defaultDedicatedHostGroup.ID(),
			HostClass:            pulumi.String(defaultGetHostEcsLevelInfos.Infos[0].ResClassCode),
			ZoneId:               pulumi.String(_default.Ids[0]),
			VswitchId:            defaultSwitch.ID(),
			PaymentType:          pulumi.String("Subscription"),
			Tags: pulumi.Map{
				"Created": pulumi.Any("TF"),
				"For":     pulumi.Any("CDDC_DEDICATED"),
			},
		})
		if err != nil {
			return err
		}
		_, err = cddc.NewDedicatedHostAccount(ctx, "default", &cddc.DedicatedHostAccountArgs{
			AccountName:     pulumi.String(name),
			AccountPassword: pulumi.String("Password1234"),
			DedicatedHostId: defaultDedicatedHost.DedicatedHostId,
			AccountType:     pulumi.String("Normal"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ApsaraDB for MyBase Dedicated Host Account can be imported using the id, e.g.

```sh $ pulumi import alicloud:cddc/dedicatedHostAccount:DedicatedHostAccount example <dedicated_host_id>:<account_name> ```

func GetDedicatedHostAccount added in v3.12.0

func GetDedicatedHostAccount(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DedicatedHostAccountState, opts ...pulumi.ResourceOption) (*DedicatedHostAccount, error)

GetDedicatedHostAccount gets an existing DedicatedHostAccount 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 NewDedicatedHostAccount added in v3.12.0

func NewDedicatedHostAccount(ctx *pulumi.Context,
	name string, args *DedicatedHostAccountArgs, opts ...pulumi.ResourceOption) (*DedicatedHostAccount, error)

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

func (*DedicatedHostAccount) ElementType added in v3.12.0

func (*DedicatedHostAccount) ElementType() reflect.Type

func (*DedicatedHostAccount) ToDedicatedHostAccountOutput added in v3.12.0

func (i *DedicatedHostAccount) ToDedicatedHostAccountOutput() DedicatedHostAccountOutput

func (*DedicatedHostAccount) ToDedicatedHostAccountOutputWithContext added in v3.12.0

func (i *DedicatedHostAccount) ToDedicatedHostAccountOutputWithContext(ctx context.Context) DedicatedHostAccountOutput

type DedicatedHostAccountArgs added in v3.12.0

type DedicatedHostAccountArgs struct {
	// The name of the Dedicated host account. The account name must be 2 to 16 characters in length, contain lower case letters, digits, and underscore(_). At the same time, the name must start with a letter and end with a letter or number.
	AccountName pulumi.StringInput
	// The password of the Dedicated host account. The account password must be 6 to 32 characters in length, and can contain letters, digits, and special characters `!@#$%^&*()_+-=`.
	AccountPassword pulumi.StringInput
	// The type of the Dedicated host account. Valid values: `Admin`, `Normal`.
	AccountType pulumi.StringPtrInput
	// The ID of Dedicated the host.
	DedicatedHostId pulumi.StringInput
}

The set of arguments for constructing a DedicatedHostAccount resource.

func (DedicatedHostAccountArgs) ElementType added in v3.12.0

func (DedicatedHostAccountArgs) ElementType() reflect.Type

type DedicatedHostAccountArray added in v3.12.0

type DedicatedHostAccountArray []DedicatedHostAccountInput

func (DedicatedHostAccountArray) ElementType added in v3.12.0

func (DedicatedHostAccountArray) ElementType() reflect.Type

func (DedicatedHostAccountArray) ToDedicatedHostAccountArrayOutput added in v3.12.0

func (i DedicatedHostAccountArray) ToDedicatedHostAccountArrayOutput() DedicatedHostAccountArrayOutput

func (DedicatedHostAccountArray) ToDedicatedHostAccountArrayOutputWithContext added in v3.12.0

func (i DedicatedHostAccountArray) ToDedicatedHostAccountArrayOutputWithContext(ctx context.Context) DedicatedHostAccountArrayOutput

type DedicatedHostAccountArrayInput added in v3.12.0

type DedicatedHostAccountArrayInput interface {
	pulumi.Input

	ToDedicatedHostAccountArrayOutput() DedicatedHostAccountArrayOutput
	ToDedicatedHostAccountArrayOutputWithContext(context.Context) DedicatedHostAccountArrayOutput
}

DedicatedHostAccountArrayInput is an input type that accepts DedicatedHostAccountArray and DedicatedHostAccountArrayOutput values. You can construct a concrete instance of `DedicatedHostAccountArrayInput` via:

DedicatedHostAccountArray{ DedicatedHostAccountArgs{...} }

type DedicatedHostAccountArrayOutput added in v3.12.0

type DedicatedHostAccountArrayOutput struct{ *pulumi.OutputState }

func (DedicatedHostAccountArrayOutput) ElementType added in v3.12.0

func (DedicatedHostAccountArrayOutput) Index added in v3.12.0

func (DedicatedHostAccountArrayOutput) ToDedicatedHostAccountArrayOutput added in v3.12.0

func (o DedicatedHostAccountArrayOutput) ToDedicatedHostAccountArrayOutput() DedicatedHostAccountArrayOutput

func (DedicatedHostAccountArrayOutput) ToDedicatedHostAccountArrayOutputWithContext added in v3.12.0

func (o DedicatedHostAccountArrayOutput) ToDedicatedHostAccountArrayOutputWithContext(ctx context.Context) DedicatedHostAccountArrayOutput

type DedicatedHostAccountInput added in v3.12.0

type DedicatedHostAccountInput interface {
	pulumi.Input

	ToDedicatedHostAccountOutput() DedicatedHostAccountOutput
	ToDedicatedHostAccountOutputWithContext(ctx context.Context) DedicatedHostAccountOutput
}

type DedicatedHostAccountMap added in v3.12.0

type DedicatedHostAccountMap map[string]DedicatedHostAccountInput

func (DedicatedHostAccountMap) ElementType added in v3.12.0

func (DedicatedHostAccountMap) ElementType() reflect.Type

func (DedicatedHostAccountMap) ToDedicatedHostAccountMapOutput added in v3.12.0

func (i DedicatedHostAccountMap) ToDedicatedHostAccountMapOutput() DedicatedHostAccountMapOutput

func (DedicatedHostAccountMap) ToDedicatedHostAccountMapOutputWithContext added in v3.12.0

func (i DedicatedHostAccountMap) ToDedicatedHostAccountMapOutputWithContext(ctx context.Context) DedicatedHostAccountMapOutput

type DedicatedHostAccountMapInput added in v3.12.0

type DedicatedHostAccountMapInput interface {
	pulumi.Input

	ToDedicatedHostAccountMapOutput() DedicatedHostAccountMapOutput
	ToDedicatedHostAccountMapOutputWithContext(context.Context) DedicatedHostAccountMapOutput
}

DedicatedHostAccountMapInput is an input type that accepts DedicatedHostAccountMap and DedicatedHostAccountMapOutput values. You can construct a concrete instance of `DedicatedHostAccountMapInput` via:

DedicatedHostAccountMap{ "key": DedicatedHostAccountArgs{...} }

type DedicatedHostAccountMapOutput added in v3.12.0

type DedicatedHostAccountMapOutput struct{ *pulumi.OutputState }

func (DedicatedHostAccountMapOutput) ElementType added in v3.12.0

func (DedicatedHostAccountMapOutput) MapIndex added in v3.12.0

func (DedicatedHostAccountMapOutput) ToDedicatedHostAccountMapOutput added in v3.12.0

func (o DedicatedHostAccountMapOutput) ToDedicatedHostAccountMapOutput() DedicatedHostAccountMapOutput

func (DedicatedHostAccountMapOutput) ToDedicatedHostAccountMapOutputWithContext added in v3.12.0

func (o DedicatedHostAccountMapOutput) ToDedicatedHostAccountMapOutputWithContext(ctx context.Context) DedicatedHostAccountMapOutput

type DedicatedHostAccountOutput added in v3.12.0

type DedicatedHostAccountOutput struct{ *pulumi.OutputState }

func (DedicatedHostAccountOutput) AccountName added in v3.27.0

The name of the Dedicated host account. The account name must be 2 to 16 characters in length, contain lower case letters, digits, and underscore(_). At the same time, the name must start with a letter and end with a letter or number.

func (DedicatedHostAccountOutput) AccountPassword added in v3.27.0

func (o DedicatedHostAccountOutput) AccountPassword() pulumi.StringOutput

The password of the Dedicated host account. The account password must be 6 to 32 characters in length, and can contain letters, digits, and special characters `!@#$%^&*()_+-=`.

func (DedicatedHostAccountOutput) AccountType added in v3.27.0

The type of the Dedicated host account. Valid values: `Admin`, `Normal`.

func (DedicatedHostAccountOutput) DedicatedHostId added in v3.27.0

func (o DedicatedHostAccountOutput) DedicatedHostId() pulumi.StringOutput

The ID of Dedicated the host.

func (DedicatedHostAccountOutput) ElementType added in v3.12.0

func (DedicatedHostAccountOutput) ElementType() reflect.Type

func (DedicatedHostAccountOutput) ToDedicatedHostAccountOutput added in v3.12.0

func (o DedicatedHostAccountOutput) ToDedicatedHostAccountOutput() DedicatedHostAccountOutput

func (DedicatedHostAccountOutput) ToDedicatedHostAccountOutputWithContext added in v3.12.0

func (o DedicatedHostAccountOutput) ToDedicatedHostAccountOutputWithContext(ctx context.Context) DedicatedHostAccountOutput

type DedicatedHostAccountState added in v3.12.0

type DedicatedHostAccountState struct {
	// The name of the Dedicated host account. The account name must be 2 to 16 characters in length, contain lower case letters, digits, and underscore(_). At the same time, the name must start with a letter and end with a letter or number.
	AccountName pulumi.StringPtrInput
	// The password of the Dedicated host account. The account password must be 6 to 32 characters in length, and can contain letters, digits, and special characters `!@#$%^&*()_+-=`.
	AccountPassword pulumi.StringPtrInput
	// The type of the Dedicated host account. Valid values: `Admin`, `Normal`.
	AccountType pulumi.StringPtrInput
	// The ID of Dedicated the host.
	DedicatedHostId pulumi.StringPtrInput
}

func (DedicatedHostAccountState) ElementType added in v3.12.0

func (DedicatedHostAccountState) ElementType() reflect.Type

type DedicatedHostArgs added in v3.12.0

type DedicatedHostArgs struct {
	// Specifies whether instances can be created on the host. Valid values: `Allocatable` or `Suspended`. `Allocatable`: Instances can be created on the host. `Suspended`: Instances cannot be created on the host.
	AllocationStatus pulumi.StringPtrInput
	// Specifies whether to enable the auto-renewal feature.
	AutoRenew pulumi.BoolPtrInput
	// The ID of the dedicated cluster.
	DedicatedHostGroupId pulumi.StringInput
	// The instance type of the host. For more information about the supported instance types of hosts, see [Host specification details](https://www.alibabacloud.com/help/doc-detail/206343.htm).
	HostClass pulumi.StringInput
	// The name of the host. The name must be `1` to `64` characters in length and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter.
	HostName pulumi.StringPtrInput
	// Host Image Category. Valid values: `WindowsWithMssqlEntAlwaysonLicense`, `WindowsWithMssqlStdLicense`, `WindowsWithMssqlEntLicense`, `WindowsWithMssqlWebLicense`, `AliLinux`.
	ImageCategory pulumi.StringPtrInput
	// Host password. **NOTE:** The creation of a host password is supported only when the database type is `Tair-PMem`.
	OsPassword pulumi.StringPtrInput
	// The payment type of the resource. Valid values: `Subscription`.
	PaymentType pulumi.StringInput
	// The unit of the subscription duration. Valid values: `Year`, `Month`, `Week`.
	Period pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The subscription duration of the host. Valid values:
	// * If the Period parameter is set to `Year`, the value of the UsedTime parameter ranges from `1` to `5`.
	// * If the Period parameter is set to `Month`, the value of the UsedTime parameter ranges from `1` to `9`.
	// * If the Period parameter is set to `Week`, the value of the UsedTime parameter ranges from `1`, `2` and `3`.
	UsedTime pulumi.IntPtrInput
	// The ID of the vSwitch to which the host is connected.
	VswitchId pulumi.StringInput
	// The ID of the zone.
	ZoneId pulumi.StringInput
}

The set of arguments for constructing a DedicatedHost resource.

func (DedicatedHostArgs) ElementType added in v3.12.0

func (DedicatedHostArgs) ElementType() reflect.Type

type DedicatedHostArray added in v3.12.0

type DedicatedHostArray []DedicatedHostInput

func (DedicatedHostArray) ElementType added in v3.12.0

func (DedicatedHostArray) ElementType() reflect.Type

func (DedicatedHostArray) ToDedicatedHostArrayOutput added in v3.12.0

func (i DedicatedHostArray) ToDedicatedHostArrayOutput() DedicatedHostArrayOutput

func (DedicatedHostArray) ToDedicatedHostArrayOutputWithContext added in v3.12.0

func (i DedicatedHostArray) ToDedicatedHostArrayOutputWithContext(ctx context.Context) DedicatedHostArrayOutput

type DedicatedHostArrayInput added in v3.12.0

type DedicatedHostArrayInput interface {
	pulumi.Input

	ToDedicatedHostArrayOutput() DedicatedHostArrayOutput
	ToDedicatedHostArrayOutputWithContext(context.Context) DedicatedHostArrayOutput
}

DedicatedHostArrayInput is an input type that accepts DedicatedHostArray and DedicatedHostArrayOutput values. You can construct a concrete instance of `DedicatedHostArrayInput` via:

DedicatedHostArray{ DedicatedHostArgs{...} }

type DedicatedHostArrayOutput added in v3.12.0

type DedicatedHostArrayOutput struct{ *pulumi.OutputState }

func (DedicatedHostArrayOutput) ElementType added in v3.12.0

func (DedicatedHostArrayOutput) ElementType() reflect.Type

func (DedicatedHostArrayOutput) Index added in v3.12.0

func (DedicatedHostArrayOutput) ToDedicatedHostArrayOutput added in v3.12.0

func (o DedicatedHostArrayOutput) ToDedicatedHostArrayOutput() DedicatedHostArrayOutput

func (DedicatedHostArrayOutput) ToDedicatedHostArrayOutputWithContext added in v3.12.0

func (o DedicatedHostArrayOutput) ToDedicatedHostArrayOutputWithContext(ctx context.Context) DedicatedHostArrayOutput

type DedicatedHostGroup

type DedicatedHostGroup struct {
	pulumi.CustomResourceState

	// AThe policy that is used to allocate resources in the dedicated cluster. Valid values:`Evenly`,`Intensively`
	AllocationPolicy pulumi.StringOutput `pulumi:"allocationPolicy"`
	// The CPU overcommitment ratio of the dedicated cluster.Valid values: 100 to 300. Default value: 200.
	CpuAllocationRatio pulumi.IntOutput `pulumi:"cpuAllocationRatio"`
	// The name of the dedicated cluster. The name must be 1 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter.
	DedicatedHostGroupDesc pulumi.StringPtrOutput `pulumi:"dedicatedHostGroupDesc"`
	// The Disk Allocation Ratio of the Dedicated Host Group. **NOTE:** When `engine = SQLServer`, this attribute does not support to set.
	DiskAllocationRatio pulumi.IntOutput `pulumi:"diskAllocationRatio"`
	// Database Engine Type.The database engine of the dedicated cluster. Valid values:`Redis`, `SQLServer`, `MySQL`, `PostgreSQL`, `MongoDB`, `alisql`, `tair`, `mssql`. **NOTE:** Since v1.210.0., the `engine = SQLServer` was deprecated.
	Engine pulumi.StringOutput `pulumi:"engine"`
	// The policy based on which the system handles host failures. Valid values:`Auto`,`Manual`
	HostReplacePolicy pulumi.StringOutput `pulumi:"hostReplacePolicy"`
	// The Memory Allocation Ratio of the Dedicated Host Group.
	MemAllocationRatio pulumi.IntOutput `pulumi:"memAllocationRatio"`
	// Whether to enable the feature that allows you to have OS permissions on the hosts in the dedicated cluster. Valid values: `true` and `false`.
	// **NOTE:** The `openPermission` should be `true` when `engine = "SQLServer"`
	OpenPermission pulumi.BoolOutput `pulumi:"openPermission"`
	// The virtual private cloud (VPC) ID of the dedicated cluster.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

Provides a ApsaraDB for MyBase Dedicated Host Group resource.

For information about ApsaraDB for MyBase Dedicated Host Group and how to use it, see [What is Dedicated Host Group](https://www.alibabacloud.com/help/en/apsaradb-for-mybase/latest/creatededicatedhostgroup).

> **NOTE:** Available since v1.132.0.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cddc"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "terraform-example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		_, err := vpc.NewNetwork(ctx, "default", &vpc.NetworkArgs{
			VpcName:   pulumi.String(name),
			CidrBlock: pulumi.String("10.4.0.0/16"),
		})
		if err != nil {
			return err
		}
		_, err = cddc.NewDedicatedHostGroup(ctx, "default", &cddc.DedicatedHostGroupArgs{
			Engine:                 pulumi.String("MySQL"),
			VpcId:                  _default.ID(),
			CpuAllocationRatio:     pulumi.Int(101),
			MemAllocationRatio:     pulumi.Int(50),
			DiskAllocationRatio:    pulumi.Int(200),
			AllocationPolicy:       pulumi.String("Evenly"),
			HostReplacePolicy:      pulumi.String("Manual"),
			DedicatedHostGroupDesc: pulumi.String(name),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ApsaraDB for MyBase Dedicated Host Group can be imported using the id, e.g.

```sh $ pulumi import alicloud:cddc/dedicatedHostGroup:DedicatedHostGroup example <id> ```

func GetDedicatedHostGroup

func GetDedicatedHostGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DedicatedHostGroupState, opts ...pulumi.ResourceOption) (*DedicatedHostGroup, error)

GetDedicatedHostGroup gets an existing DedicatedHostGroup 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 NewDedicatedHostGroup

func NewDedicatedHostGroup(ctx *pulumi.Context,
	name string, args *DedicatedHostGroupArgs, opts ...pulumi.ResourceOption) (*DedicatedHostGroup, error)

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

func (*DedicatedHostGroup) ElementType

func (*DedicatedHostGroup) ElementType() reflect.Type

func (*DedicatedHostGroup) ToDedicatedHostGroupOutput

func (i *DedicatedHostGroup) ToDedicatedHostGroupOutput() DedicatedHostGroupOutput

func (*DedicatedHostGroup) ToDedicatedHostGroupOutputWithContext

func (i *DedicatedHostGroup) ToDedicatedHostGroupOutputWithContext(ctx context.Context) DedicatedHostGroupOutput

type DedicatedHostGroupArgs

type DedicatedHostGroupArgs struct {
	// AThe policy that is used to allocate resources in the dedicated cluster. Valid values:`Evenly`,`Intensively`
	AllocationPolicy pulumi.StringPtrInput
	// The CPU overcommitment ratio of the dedicated cluster.Valid values: 100 to 300. Default value: 200.
	CpuAllocationRatio pulumi.IntPtrInput
	// The name of the dedicated cluster. The name must be 1 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter.
	DedicatedHostGroupDesc pulumi.StringPtrInput
	// The Disk Allocation Ratio of the Dedicated Host Group. **NOTE:** When `engine = SQLServer`, this attribute does not support to set.
	DiskAllocationRatio pulumi.IntPtrInput
	// Database Engine Type.The database engine of the dedicated cluster. Valid values:`Redis`, `SQLServer`, `MySQL`, `PostgreSQL`, `MongoDB`, `alisql`, `tair`, `mssql`. **NOTE:** Since v1.210.0., the `engine = SQLServer` was deprecated.
	Engine pulumi.StringInput
	// The policy based on which the system handles host failures. Valid values:`Auto`,`Manual`
	HostReplacePolicy pulumi.StringPtrInput
	// The Memory Allocation Ratio of the Dedicated Host Group.
	MemAllocationRatio pulumi.IntPtrInput
	// Whether to enable the feature that allows you to have OS permissions on the hosts in the dedicated cluster. Valid values: `true` and `false`.
	// **NOTE:** The `openPermission` should be `true` when `engine = "SQLServer"`
	OpenPermission pulumi.BoolPtrInput
	// The virtual private cloud (VPC) ID of the dedicated cluster.
	VpcId pulumi.StringInput
}

The set of arguments for constructing a DedicatedHostGroup resource.

func (DedicatedHostGroupArgs) ElementType

func (DedicatedHostGroupArgs) ElementType() reflect.Type

type DedicatedHostGroupArray

type DedicatedHostGroupArray []DedicatedHostGroupInput

func (DedicatedHostGroupArray) ElementType

func (DedicatedHostGroupArray) ElementType() reflect.Type

func (DedicatedHostGroupArray) ToDedicatedHostGroupArrayOutput

func (i DedicatedHostGroupArray) ToDedicatedHostGroupArrayOutput() DedicatedHostGroupArrayOutput

func (DedicatedHostGroupArray) ToDedicatedHostGroupArrayOutputWithContext

func (i DedicatedHostGroupArray) ToDedicatedHostGroupArrayOutputWithContext(ctx context.Context) DedicatedHostGroupArrayOutput

type DedicatedHostGroupArrayInput

type DedicatedHostGroupArrayInput interface {
	pulumi.Input

	ToDedicatedHostGroupArrayOutput() DedicatedHostGroupArrayOutput
	ToDedicatedHostGroupArrayOutputWithContext(context.Context) DedicatedHostGroupArrayOutput
}

DedicatedHostGroupArrayInput is an input type that accepts DedicatedHostGroupArray and DedicatedHostGroupArrayOutput values. You can construct a concrete instance of `DedicatedHostGroupArrayInput` via:

DedicatedHostGroupArray{ DedicatedHostGroupArgs{...} }

type DedicatedHostGroupArrayOutput

type DedicatedHostGroupArrayOutput struct{ *pulumi.OutputState }

func (DedicatedHostGroupArrayOutput) ElementType

func (DedicatedHostGroupArrayOutput) Index

func (DedicatedHostGroupArrayOutput) ToDedicatedHostGroupArrayOutput

func (o DedicatedHostGroupArrayOutput) ToDedicatedHostGroupArrayOutput() DedicatedHostGroupArrayOutput

func (DedicatedHostGroupArrayOutput) ToDedicatedHostGroupArrayOutputWithContext

func (o DedicatedHostGroupArrayOutput) ToDedicatedHostGroupArrayOutputWithContext(ctx context.Context) DedicatedHostGroupArrayOutput

type DedicatedHostGroupInput

type DedicatedHostGroupInput interface {
	pulumi.Input

	ToDedicatedHostGroupOutput() DedicatedHostGroupOutput
	ToDedicatedHostGroupOutputWithContext(ctx context.Context) DedicatedHostGroupOutput
}

type DedicatedHostGroupMap

type DedicatedHostGroupMap map[string]DedicatedHostGroupInput

func (DedicatedHostGroupMap) ElementType

func (DedicatedHostGroupMap) ElementType() reflect.Type

func (DedicatedHostGroupMap) ToDedicatedHostGroupMapOutput

func (i DedicatedHostGroupMap) ToDedicatedHostGroupMapOutput() DedicatedHostGroupMapOutput

func (DedicatedHostGroupMap) ToDedicatedHostGroupMapOutputWithContext

func (i DedicatedHostGroupMap) ToDedicatedHostGroupMapOutputWithContext(ctx context.Context) DedicatedHostGroupMapOutput

type DedicatedHostGroupMapInput

type DedicatedHostGroupMapInput interface {
	pulumi.Input

	ToDedicatedHostGroupMapOutput() DedicatedHostGroupMapOutput
	ToDedicatedHostGroupMapOutputWithContext(context.Context) DedicatedHostGroupMapOutput
}

DedicatedHostGroupMapInput is an input type that accepts DedicatedHostGroupMap and DedicatedHostGroupMapOutput values. You can construct a concrete instance of `DedicatedHostGroupMapInput` via:

DedicatedHostGroupMap{ "key": DedicatedHostGroupArgs{...} }

type DedicatedHostGroupMapOutput

type DedicatedHostGroupMapOutput struct{ *pulumi.OutputState }

func (DedicatedHostGroupMapOutput) ElementType

func (DedicatedHostGroupMapOutput) MapIndex

func (DedicatedHostGroupMapOutput) ToDedicatedHostGroupMapOutput

func (o DedicatedHostGroupMapOutput) ToDedicatedHostGroupMapOutput() DedicatedHostGroupMapOutput

func (DedicatedHostGroupMapOutput) ToDedicatedHostGroupMapOutputWithContext

func (o DedicatedHostGroupMapOutput) ToDedicatedHostGroupMapOutputWithContext(ctx context.Context) DedicatedHostGroupMapOutput

type DedicatedHostGroupOutput

type DedicatedHostGroupOutput struct{ *pulumi.OutputState }

func (DedicatedHostGroupOutput) AllocationPolicy added in v3.27.0

func (o DedicatedHostGroupOutput) AllocationPolicy() pulumi.StringOutput

AThe policy that is used to allocate resources in the dedicated cluster. Valid values:`Evenly`,`Intensively`

func (DedicatedHostGroupOutput) CpuAllocationRatio added in v3.27.0

func (o DedicatedHostGroupOutput) CpuAllocationRatio() pulumi.IntOutput

The CPU overcommitment ratio of the dedicated cluster.Valid values: 100 to 300. Default value: 200.

func (DedicatedHostGroupOutput) DedicatedHostGroupDesc added in v3.27.0

func (o DedicatedHostGroupOutput) DedicatedHostGroupDesc() pulumi.StringPtrOutput

The name of the dedicated cluster. The name must be 1 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter.

func (DedicatedHostGroupOutput) DiskAllocationRatio added in v3.27.0

func (o DedicatedHostGroupOutput) DiskAllocationRatio() pulumi.IntOutput

The Disk Allocation Ratio of the Dedicated Host Group. **NOTE:** When `engine = SQLServer`, this attribute does not support to set.

func (DedicatedHostGroupOutput) ElementType

func (DedicatedHostGroupOutput) ElementType() reflect.Type

func (DedicatedHostGroupOutput) Engine added in v3.27.0

Database Engine Type.The database engine of the dedicated cluster. Valid values:`Redis`, `SQLServer`, `MySQL`, `PostgreSQL`, `MongoDB`, `alisql`, `tair`, `mssql`. **NOTE:** Since v1.210.0., the `engine = SQLServer` was deprecated.

func (DedicatedHostGroupOutput) HostReplacePolicy added in v3.27.0

func (o DedicatedHostGroupOutput) HostReplacePolicy() pulumi.StringOutput

The policy based on which the system handles host failures. Valid values:`Auto`,`Manual`

func (DedicatedHostGroupOutput) MemAllocationRatio added in v3.27.0

func (o DedicatedHostGroupOutput) MemAllocationRatio() pulumi.IntOutput

The Memory Allocation Ratio of the Dedicated Host Group.

func (DedicatedHostGroupOutput) OpenPermission added in v3.27.0

func (o DedicatedHostGroupOutput) OpenPermission() pulumi.BoolOutput

Whether to enable the feature that allows you to have OS permissions on the hosts in the dedicated cluster. Valid values: `true` and `false`. **NOTE:** The `openPermission` should be `true` when `engine = "SQLServer"`

func (DedicatedHostGroupOutput) ToDedicatedHostGroupOutput

func (o DedicatedHostGroupOutput) ToDedicatedHostGroupOutput() DedicatedHostGroupOutput

func (DedicatedHostGroupOutput) ToDedicatedHostGroupOutputWithContext

func (o DedicatedHostGroupOutput) ToDedicatedHostGroupOutputWithContext(ctx context.Context) DedicatedHostGroupOutput

func (DedicatedHostGroupOutput) VpcId added in v3.27.0

The virtual private cloud (VPC) ID of the dedicated cluster.

type DedicatedHostGroupState

type DedicatedHostGroupState struct {
	// AThe policy that is used to allocate resources in the dedicated cluster. Valid values:`Evenly`,`Intensively`
	AllocationPolicy pulumi.StringPtrInput
	// The CPU overcommitment ratio of the dedicated cluster.Valid values: 100 to 300. Default value: 200.
	CpuAllocationRatio pulumi.IntPtrInput
	// The name of the dedicated cluster. The name must be 1 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter.
	DedicatedHostGroupDesc pulumi.StringPtrInput
	// The Disk Allocation Ratio of the Dedicated Host Group. **NOTE:** When `engine = SQLServer`, this attribute does not support to set.
	DiskAllocationRatio pulumi.IntPtrInput
	// Database Engine Type.The database engine of the dedicated cluster. Valid values:`Redis`, `SQLServer`, `MySQL`, `PostgreSQL`, `MongoDB`, `alisql`, `tair`, `mssql`. **NOTE:** Since v1.210.0., the `engine = SQLServer` was deprecated.
	Engine pulumi.StringPtrInput
	// The policy based on which the system handles host failures. Valid values:`Auto`,`Manual`
	HostReplacePolicy pulumi.StringPtrInput
	// The Memory Allocation Ratio of the Dedicated Host Group.
	MemAllocationRatio pulumi.IntPtrInput
	// Whether to enable the feature that allows you to have OS permissions on the hosts in the dedicated cluster. Valid values: `true` and `false`.
	// **NOTE:** The `openPermission` should be `true` when `engine = "SQLServer"`
	OpenPermission pulumi.BoolPtrInput
	// The virtual private cloud (VPC) ID of the dedicated cluster.
	VpcId pulumi.StringPtrInput
}

func (DedicatedHostGroupState) ElementType

func (DedicatedHostGroupState) ElementType() reflect.Type

type DedicatedHostInput added in v3.12.0

type DedicatedHostInput interface {
	pulumi.Input

	ToDedicatedHostOutput() DedicatedHostOutput
	ToDedicatedHostOutputWithContext(ctx context.Context) DedicatedHostOutput
}

type DedicatedHostMap added in v3.12.0

type DedicatedHostMap map[string]DedicatedHostInput

func (DedicatedHostMap) ElementType added in v3.12.0

func (DedicatedHostMap) ElementType() reflect.Type

func (DedicatedHostMap) ToDedicatedHostMapOutput added in v3.12.0

func (i DedicatedHostMap) ToDedicatedHostMapOutput() DedicatedHostMapOutput

func (DedicatedHostMap) ToDedicatedHostMapOutputWithContext added in v3.12.0

func (i DedicatedHostMap) ToDedicatedHostMapOutputWithContext(ctx context.Context) DedicatedHostMapOutput

type DedicatedHostMapInput added in v3.12.0

type DedicatedHostMapInput interface {
	pulumi.Input

	ToDedicatedHostMapOutput() DedicatedHostMapOutput
	ToDedicatedHostMapOutputWithContext(context.Context) DedicatedHostMapOutput
}

DedicatedHostMapInput is an input type that accepts DedicatedHostMap and DedicatedHostMapOutput values. You can construct a concrete instance of `DedicatedHostMapInput` via:

DedicatedHostMap{ "key": DedicatedHostArgs{...} }

type DedicatedHostMapOutput added in v3.12.0

type DedicatedHostMapOutput struct{ *pulumi.OutputState }

func (DedicatedHostMapOutput) ElementType added in v3.12.0

func (DedicatedHostMapOutput) ElementType() reflect.Type

func (DedicatedHostMapOutput) MapIndex added in v3.12.0

func (DedicatedHostMapOutput) ToDedicatedHostMapOutput added in v3.12.0

func (o DedicatedHostMapOutput) ToDedicatedHostMapOutput() DedicatedHostMapOutput

func (DedicatedHostMapOutput) ToDedicatedHostMapOutputWithContext added in v3.12.0

func (o DedicatedHostMapOutput) ToDedicatedHostMapOutputWithContext(ctx context.Context) DedicatedHostMapOutput

type DedicatedHostOutput added in v3.12.0

type DedicatedHostOutput struct{ *pulumi.OutputState }

func (DedicatedHostOutput) AllocationStatus added in v3.27.0

func (o DedicatedHostOutput) AllocationStatus() pulumi.StringOutput

Specifies whether instances can be created on the host. Valid values: `Allocatable` or `Suspended`. `Allocatable`: Instances can be created on the host. `Suspended`: Instances cannot be created on the host.

func (DedicatedHostOutput) AutoRenew added in v3.27.0

Specifies whether to enable the auto-renewal feature.

func (DedicatedHostOutput) DedicatedHostGroupId added in v3.27.0

func (o DedicatedHostOutput) DedicatedHostGroupId() pulumi.StringOutput

The ID of the dedicated cluster.

func (DedicatedHostOutput) DedicatedHostId added in v3.27.0

func (o DedicatedHostOutput) DedicatedHostId() pulumi.StringOutput

The ID of the host.

func (DedicatedHostOutput) ElementType added in v3.12.0

func (DedicatedHostOutput) ElementType() reflect.Type

func (DedicatedHostOutput) HostClass added in v3.27.0

func (o DedicatedHostOutput) HostClass() pulumi.StringOutput

The instance type of the host. For more information about the supported instance types of hosts, see [Host specification details](https://www.alibabacloud.com/help/doc-detail/206343.htm).

func (DedicatedHostOutput) HostName added in v3.27.0

The name of the host. The name must be `1` to `64` characters in length and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter.

func (DedicatedHostOutput) ImageCategory added in v3.27.0

func (o DedicatedHostOutput) ImageCategory() pulumi.StringPtrOutput

Host Image Category. Valid values: `WindowsWithMssqlEntAlwaysonLicense`, `WindowsWithMssqlStdLicense`, `WindowsWithMssqlEntLicense`, `WindowsWithMssqlWebLicense`, `AliLinux`.

func (DedicatedHostOutput) OsPassword added in v3.27.0

Host password. **NOTE:** The creation of a host password is supported only when the database type is `Tair-PMem`.

func (DedicatedHostOutput) PaymentType added in v3.27.0

func (o DedicatedHostOutput) PaymentType() pulumi.StringOutput

The payment type of the resource. Valid values: `Subscription`.

func (DedicatedHostOutput) Period added in v3.27.0

The unit of the subscription duration. Valid values: `Year`, `Month`, `Week`.

func (DedicatedHostOutput) Status added in v3.27.0

The state of the host. Valid values: `0:` The host is being created. `1`: The host is running. `2`: The host is faulty. `3`: The host is ready for deactivation. `4`: The host is being maintained. `5`: The host is deactivated. `6`: The host is restarting. `7`: The host is locked.

func (DedicatedHostOutput) Tags added in v3.27.0

A mapping of tags to assign to the resource.

func (DedicatedHostOutput) ToDedicatedHostOutput added in v3.12.0

func (o DedicatedHostOutput) ToDedicatedHostOutput() DedicatedHostOutput

func (DedicatedHostOutput) ToDedicatedHostOutputWithContext added in v3.12.0

func (o DedicatedHostOutput) ToDedicatedHostOutputWithContext(ctx context.Context) DedicatedHostOutput

func (DedicatedHostOutput) UsedTime added in v3.27.0

The subscription duration of the host. Valid values: * If the Period parameter is set to `Year`, the value of the UsedTime parameter ranges from `1` to `5`. * If the Period parameter is set to `Month`, the value of the UsedTime parameter ranges from `1` to `9`. * If the Period parameter is set to `Week`, the value of the UsedTime parameter ranges from `1`, `2` and `3`.

func (DedicatedHostOutput) VswitchId added in v3.27.0

func (o DedicatedHostOutput) VswitchId() pulumi.StringOutput

The ID of the vSwitch to which the host is connected.

func (DedicatedHostOutput) ZoneId added in v3.27.0

The ID of the zone.

type DedicatedHostState added in v3.12.0

type DedicatedHostState struct {
	// Specifies whether instances can be created on the host. Valid values: `Allocatable` or `Suspended`. `Allocatable`: Instances can be created on the host. `Suspended`: Instances cannot be created on the host.
	AllocationStatus pulumi.StringPtrInput
	// Specifies whether to enable the auto-renewal feature.
	AutoRenew pulumi.BoolPtrInput
	// The ID of the dedicated cluster.
	DedicatedHostGroupId pulumi.StringPtrInput
	// The ID of the host.
	DedicatedHostId pulumi.StringPtrInput
	// The instance type of the host. For more information about the supported instance types of hosts, see [Host specification details](https://www.alibabacloud.com/help/doc-detail/206343.htm).
	HostClass pulumi.StringPtrInput
	// The name of the host. The name must be `1` to `64` characters in length and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter.
	HostName pulumi.StringPtrInput
	// Host Image Category. Valid values: `WindowsWithMssqlEntAlwaysonLicense`, `WindowsWithMssqlStdLicense`, `WindowsWithMssqlEntLicense`, `WindowsWithMssqlWebLicense`, `AliLinux`.
	ImageCategory pulumi.StringPtrInput
	// Host password. **NOTE:** The creation of a host password is supported only when the database type is `Tair-PMem`.
	OsPassword pulumi.StringPtrInput
	// The payment type of the resource. Valid values: `Subscription`.
	PaymentType pulumi.StringPtrInput
	// The unit of the subscription duration. Valid values: `Year`, `Month`, `Week`.
	Period pulumi.StringPtrInput
	// The state of the host. Valid values: `0:` The host is being created. `1`: The host is running. `2`: The host is faulty. `3`: The host is ready for deactivation. `4`: The host is being maintained. `5`: The host is deactivated. `6`: The host is restarting. `7`: The host is locked.
	Status pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The subscription duration of the host. Valid values:
	// * If the Period parameter is set to `Year`, the value of the UsedTime parameter ranges from `1` to `5`.
	// * If the Period parameter is set to `Month`, the value of the UsedTime parameter ranges from `1` to `9`.
	// * If the Period parameter is set to `Week`, the value of the UsedTime parameter ranges from `1`, `2` and `3`.
	UsedTime pulumi.IntPtrInput
	// The ID of the vSwitch to which the host is connected.
	VswitchId pulumi.StringPtrInput
	// The ID of the zone.
	ZoneId pulumi.StringPtrInput
}

func (DedicatedHostState) ElementType added in v3.12.0

func (DedicatedHostState) ElementType() reflect.Type

type DedicatedPropreHost added in v3.44.0

type DedicatedPropreHost struct {
	pulumi.CustomResourceState

	// Whether to pay automatically when the host is created.
	AutoPay pulumi.BoolPtrOutput `pulumi:"autoPay"`
	// Whether to enable automatic renewal. Valid values:
	// - **true**: On
	// - **false** (default): Off
	AutoRenew pulumi.StringPtrOutput `pulumi:"autoRenew"`
	// You have a dedicated cluster ID.
	DedicatedHostGroupId pulumi.StringOutput `pulumi:"dedicatedHostGroupId"`
	// ECS specifications. See `ecsClassList` below.
	EcsClassLists DedicatedPropreHostEcsClassListArrayOutput `pulumi:"ecsClassLists"`
	// The ID of the cloud server deployment set.
	EcsDeploymentSetId pulumi.StringPtrOutput `pulumi:"ecsDeploymentSetId"`
	// Windows system: length of 2 to 15 characters, allowing the use of upper and lower case letters, numbers. You cannot use only numbers. Other operating systems (such as Linux): the length of 2 to 64 characters, allowing the use of dot (.) to separate characters into multiple segments, each segment allows the use of upper and lower case letters, numbers, but can not use continuous dot (.). Cannot start or end with a dot (.).
	EcsHostName pulumi.StringPtrOutput `pulumi:"ecsHostName"`
	// ECS instance ID.
	EcsInstanceId pulumi.StringOutput `pulumi:"ecsInstanceId"`
	// The instance name. It must be 2 to 128 characters in length and must start with an uppercase or lowercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-width colons (:), underscores (_), half-width periods (.), or dashes (-). The default value is the InstanceId of the instance.
	EcsInstanceName pulumi.StringPtrOutput `pulumi:"ecsInstanceName"`
	// Whether to automatically add an ordered suffix for HostName and InstanceName when creating multiple instances. The ordered suffix starts from 001 and cannot exceed 999. Value Description:
	// - **true**: added.
	// - **false** (default): Do not add.
	//   When the HostName or InstanceName is set according to the specified sorting format, and the naming suffix nameSuffix is not set, that is, when the naming format is name_prefix[begin_number,bits], the UniqueSuffix does not take effect, and the names are only sorted according to the specified order.
	EcsUniqueSuffix pulumi.StringPtrOutput `pulumi:"ecsUniqueSuffix"`
	// The ID of the zone.
	EcsZoneId pulumi.StringOutput `pulumi:"ecsZoneId"`
	// Database type, value:
	// - **alisql**
	// - **tair**
	// - **mssql**
	//   Must be consistent with the parent resource cluster engine attributes.
	Engine pulumi.StringOutput `pulumi:"engine"`
	// The ID of the custom image.
	// > **NOTE:**  If you need to use the default image, you do not need to fill it in.
	ImageId pulumi.StringPtrOutput `pulumi:"imageId"`
	// Network billing type. Value range: PayByBandwidth: Billing based on fixed bandwidth. PayByTraffic: charges by using the flow meter.
	InternetChargeType pulumi.StringPtrOutput `pulumi:"internetChargeType"`
	// The maximum outbound bandwidth of the public network, in Mbit/s. Value range: 0~100.  Default value: 0. When set to greater than 0, a public IP is automatically created.
	InternetMaxBandwidthOut pulumi.IntPtrOutput `pulumi:"internetMaxBandwidthOut"`
	// The key pair name.
	KeyPairName pulumi.StringPtrOutput `pulumi:"keyPairName"`
	// Host login password, which can be set later. The password must meet the following requirements:
	// - Length is 8~30 characters.
	// - Must contain at least three items: uppercase letters, lowercase letters, numbers, and special characters.
	// - Special symbol '()\' ~! @#$%^& *-_+ =|{}[]:;',.? /'
	// > **NOTE:** - If you need to set the host login password later, fill in an empty string for this parameter. If you need to set a host login password, we recommend that you use the HTTPS protocol to send requests to avoid password leakage.
	OsPassword pulumi.StringPtrOutput `pulumi:"osPassword"`
	// Whether to use the default password of the image.
	// - **false**: (default)Do not use
	// - **true**: Use
	// > **NOTE:**  If the default password of the image is used, the **OSPassword** parameter is not required.
	PasswordInherit pulumi.StringPtrOutput `pulumi:"passwordInherit"`
	// The Payment type. Currently, only **Subscription** is supported.
	PaymentType pulumi.StringOutput `pulumi:"paymentType"`
	// Duration of purchase.
	Period pulumi.StringPtrOutput `pulumi:"period"`
	// The subscription type. Currently, only **Monthly** (subscription) is supported.
	PeriodType pulumi.StringPtrOutput `pulumi:"periodType"`
	// The ID of the resource group.
	ResourceGroupId pulumi.StringOutput `pulumi:"resourceGroupId"`
	// The ID of the security group.
	SecurityGroupId pulumi.StringOutput `pulumi:"securityGroupId"`
	// Host tag information.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// User-defined script data. The maximum size of the original data is 16kB.
	UserData pulumi.StringPtrOutput `pulumi:"userData"`
	// Whether custom data is encoded in Base64 format.
	UserDataEncoded pulumi.BoolPtrOutput `pulumi:"userDataEncoded"`
	// VPCID of the VPC.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
	// The ID of the virtual switch.
	VswitchId pulumi.StringOutput `pulumi:"vswitchId"`
}

## Import

CDDC Dedicated Propre Host can be imported using the id, e.g.

```sh $ pulumi import alicloud:cddc/dedicatedPropreHost:DedicatedPropreHost example <dedicated_host_group_id>:<ecs_instance_id> ```

func GetDedicatedPropreHost added in v3.44.0

func GetDedicatedPropreHost(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DedicatedPropreHostState, opts ...pulumi.ResourceOption) (*DedicatedPropreHost, error)

GetDedicatedPropreHost gets an existing DedicatedPropreHost 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 NewDedicatedPropreHost added in v3.44.0

func NewDedicatedPropreHost(ctx *pulumi.Context,
	name string, args *DedicatedPropreHostArgs, opts ...pulumi.ResourceOption) (*DedicatedPropreHost, error)

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

func (*DedicatedPropreHost) ElementType added in v3.44.0

func (*DedicatedPropreHost) ElementType() reflect.Type

func (*DedicatedPropreHost) ToDedicatedPropreHostOutput added in v3.44.0

func (i *DedicatedPropreHost) ToDedicatedPropreHostOutput() DedicatedPropreHostOutput

func (*DedicatedPropreHost) ToDedicatedPropreHostOutputWithContext added in v3.44.0

func (i *DedicatedPropreHost) ToDedicatedPropreHostOutputWithContext(ctx context.Context) DedicatedPropreHostOutput

type DedicatedPropreHostArgs added in v3.44.0

type DedicatedPropreHostArgs struct {
	// Whether to pay automatically when the host is created.
	AutoPay pulumi.BoolPtrInput
	// Whether to enable automatic renewal. Valid values:
	// - **true**: On
	// - **false** (default): Off
	AutoRenew pulumi.StringPtrInput
	// You have a dedicated cluster ID.
	DedicatedHostGroupId pulumi.StringPtrInput
	// ECS specifications. See `ecsClassList` below.
	EcsClassLists DedicatedPropreHostEcsClassListArrayInput
	// The ID of the cloud server deployment set.
	EcsDeploymentSetId pulumi.StringPtrInput
	// Windows system: length of 2 to 15 characters, allowing the use of upper and lower case letters, numbers. You cannot use only numbers. Other operating systems (such as Linux): the length of 2 to 64 characters, allowing the use of dot (.) to separate characters into multiple segments, each segment allows the use of upper and lower case letters, numbers, but can not use continuous dot (.). Cannot start or end with a dot (.).
	EcsHostName pulumi.StringPtrInput
	// The instance name. It must be 2 to 128 characters in length and must start with an uppercase or lowercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-width colons (:), underscores (_), half-width periods (.), or dashes (-). The default value is the InstanceId of the instance.
	EcsInstanceName pulumi.StringPtrInput
	// Whether to automatically add an ordered suffix for HostName and InstanceName when creating multiple instances. The ordered suffix starts from 001 and cannot exceed 999. Value Description:
	// - **true**: added.
	// - **false** (default): Do not add.
	//   When the HostName or InstanceName is set according to the specified sorting format, and the naming suffix nameSuffix is not set, that is, when the naming format is name_prefix[begin_number,bits], the UniqueSuffix does not take effect, and the names are only sorted according to the specified order.
	EcsUniqueSuffix pulumi.StringPtrInput
	// The ID of the zone.
	EcsZoneId pulumi.StringInput
	// Database type, value:
	// - **alisql**
	// - **tair**
	// - **mssql**
	//   Must be consistent with the parent resource cluster engine attributes.
	Engine pulumi.StringInput
	// The ID of the custom image.
	// > **NOTE:**  If you need to use the default image, you do not need to fill it in.
	ImageId pulumi.StringPtrInput
	// Network billing type. Value range: PayByBandwidth: Billing based on fixed bandwidth. PayByTraffic: charges by using the flow meter.
	InternetChargeType pulumi.StringPtrInput
	// The maximum outbound bandwidth of the public network, in Mbit/s. Value range: 0~100.  Default value: 0. When set to greater than 0, a public IP is automatically created.
	InternetMaxBandwidthOut pulumi.IntPtrInput
	// The key pair name.
	KeyPairName pulumi.StringPtrInput
	// Host login password, which can be set later. The password must meet the following requirements:
	// - Length is 8~30 characters.
	// - Must contain at least three items: uppercase letters, lowercase letters, numbers, and special characters.
	// - Special symbol '()\' ~! @#$%^& *-_+ =|{}[]:;',.? /'
	// > **NOTE:** - If you need to set the host login password later, fill in an empty string for this parameter. If you need to set a host login password, we recommend that you use the HTTPS protocol to send requests to avoid password leakage.
	OsPassword pulumi.StringPtrInput
	// Whether to use the default password of the image.
	// - **false**: (default)Do not use
	// - **true**: Use
	// > **NOTE:**  If the default password of the image is used, the **OSPassword** parameter is not required.
	PasswordInherit pulumi.StringPtrInput
	// The Payment type. Currently, only **Subscription** is supported.
	PaymentType pulumi.StringInput
	// Duration of purchase.
	Period pulumi.StringPtrInput
	// The subscription type. Currently, only **Monthly** (subscription) is supported.
	PeriodType pulumi.StringPtrInput
	// The ID of the resource group.
	ResourceGroupId pulumi.StringPtrInput
	// The ID of the security group.
	SecurityGroupId pulumi.StringInput
	// Host tag information.
	Tags pulumi.MapInput
	// User-defined script data. The maximum size of the original data is 16kB.
	UserData pulumi.StringPtrInput
	// Whether custom data is encoded in Base64 format.
	UserDataEncoded pulumi.BoolPtrInput
	// VPCID of the VPC.
	VpcId pulumi.StringInput
	// The ID of the virtual switch.
	VswitchId pulumi.StringInput
}

The set of arguments for constructing a DedicatedPropreHost resource.

func (DedicatedPropreHostArgs) ElementType added in v3.44.0

func (DedicatedPropreHostArgs) ElementType() reflect.Type

type DedicatedPropreHostArray added in v3.44.0

type DedicatedPropreHostArray []DedicatedPropreHostInput

func (DedicatedPropreHostArray) ElementType added in v3.44.0

func (DedicatedPropreHostArray) ElementType() reflect.Type

func (DedicatedPropreHostArray) ToDedicatedPropreHostArrayOutput added in v3.44.0

func (i DedicatedPropreHostArray) ToDedicatedPropreHostArrayOutput() DedicatedPropreHostArrayOutput

func (DedicatedPropreHostArray) ToDedicatedPropreHostArrayOutputWithContext added in v3.44.0

func (i DedicatedPropreHostArray) ToDedicatedPropreHostArrayOutputWithContext(ctx context.Context) DedicatedPropreHostArrayOutput

type DedicatedPropreHostArrayInput added in v3.44.0

type DedicatedPropreHostArrayInput interface {
	pulumi.Input

	ToDedicatedPropreHostArrayOutput() DedicatedPropreHostArrayOutput
	ToDedicatedPropreHostArrayOutputWithContext(context.Context) DedicatedPropreHostArrayOutput
}

DedicatedPropreHostArrayInput is an input type that accepts DedicatedPropreHostArray and DedicatedPropreHostArrayOutput values. You can construct a concrete instance of `DedicatedPropreHostArrayInput` via:

DedicatedPropreHostArray{ DedicatedPropreHostArgs{...} }

type DedicatedPropreHostArrayOutput added in v3.44.0

type DedicatedPropreHostArrayOutput struct{ *pulumi.OutputState }

func (DedicatedPropreHostArrayOutput) ElementType added in v3.44.0

func (DedicatedPropreHostArrayOutput) Index added in v3.44.0

func (DedicatedPropreHostArrayOutput) ToDedicatedPropreHostArrayOutput added in v3.44.0

func (o DedicatedPropreHostArrayOutput) ToDedicatedPropreHostArrayOutput() DedicatedPropreHostArrayOutput

func (DedicatedPropreHostArrayOutput) ToDedicatedPropreHostArrayOutputWithContext added in v3.44.0

func (o DedicatedPropreHostArrayOutput) ToDedicatedPropreHostArrayOutputWithContext(ctx context.Context) DedicatedPropreHostArrayOutput

type DedicatedPropreHostEcsClassList added in v3.44.0

type DedicatedPropreHostEcsClassList struct {
	// Data disk PL level.
	DataDiskPerformanceLevel *string `pulumi:"dataDiskPerformanceLevel"`
	// The capacity of the data disk.
	DiskCapacity *int `pulumi:"diskCapacity"`
	// Number of mounted data disks.
	DiskCount *int `pulumi:"diskCount"`
	// Data disk type, value range:
	// - **cloud_essd**: the ESSD cloud disk.
	// - **cloud_ssd**: SSD cloud disk.
	// - **cloud_efficiency**: The ultra cloud disk.
	// - **cloud_auto**: ESSD AutoPL cloud disk.
	DiskType *string `pulumi:"diskType"`
	// ECS specifications.
	InstanceType string `pulumi:"instanceType"`
	// System disk capacity.
	SysDiskCapacity int `pulumi:"sysDiskCapacity"`
	// System disk type, value:
	// - **cloud_essd**: the ESSD cloud disk.
	// - **cloud_ssd**: SSD cloud disk.
	// - **cloud_efficiency**: The ultra cloud disk.
	// - **cloud_auto**: ESSD AutoPL cloud disk.
	SysDiskType string `pulumi:"sysDiskType"`
	// System disk PL level.
	SystemDiskPerformanceLevel *string `pulumi:"systemDiskPerformanceLevel"`
}

type DedicatedPropreHostEcsClassListArgs added in v3.44.0

type DedicatedPropreHostEcsClassListArgs struct {
	// Data disk PL level.
	DataDiskPerformanceLevel pulumi.StringPtrInput `pulumi:"dataDiskPerformanceLevel"`
	// The capacity of the data disk.
	DiskCapacity pulumi.IntPtrInput `pulumi:"diskCapacity"`
	// Number of mounted data disks.
	DiskCount pulumi.IntPtrInput `pulumi:"diskCount"`
	// Data disk type, value range:
	// - **cloud_essd**: the ESSD cloud disk.
	// - **cloud_ssd**: SSD cloud disk.
	// - **cloud_efficiency**: The ultra cloud disk.
	// - **cloud_auto**: ESSD AutoPL cloud disk.
	DiskType pulumi.StringPtrInput `pulumi:"diskType"`
	// ECS specifications.
	InstanceType pulumi.StringInput `pulumi:"instanceType"`
	// System disk capacity.
	SysDiskCapacity pulumi.IntInput `pulumi:"sysDiskCapacity"`
	// System disk type, value:
	// - **cloud_essd**: the ESSD cloud disk.
	// - **cloud_ssd**: SSD cloud disk.
	// - **cloud_efficiency**: The ultra cloud disk.
	// - **cloud_auto**: ESSD AutoPL cloud disk.
	SysDiskType pulumi.StringInput `pulumi:"sysDiskType"`
	// System disk PL level.
	SystemDiskPerformanceLevel pulumi.StringPtrInput `pulumi:"systemDiskPerformanceLevel"`
}

func (DedicatedPropreHostEcsClassListArgs) ElementType added in v3.44.0

func (DedicatedPropreHostEcsClassListArgs) ToDedicatedPropreHostEcsClassListOutput added in v3.44.0

func (i DedicatedPropreHostEcsClassListArgs) ToDedicatedPropreHostEcsClassListOutput() DedicatedPropreHostEcsClassListOutput

func (DedicatedPropreHostEcsClassListArgs) ToDedicatedPropreHostEcsClassListOutputWithContext added in v3.44.0

func (i DedicatedPropreHostEcsClassListArgs) ToDedicatedPropreHostEcsClassListOutputWithContext(ctx context.Context) DedicatedPropreHostEcsClassListOutput

type DedicatedPropreHostEcsClassListArray added in v3.44.0

type DedicatedPropreHostEcsClassListArray []DedicatedPropreHostEcsClassListInput

func (DedicatedPropreHostEcsClassListArray) ElementType added in v3.44.0

func (DedicatedPropreHostEcsClassListArray) ToDedicatedPropreHostEcsClassListArrayOutput added in v3.44.0

func (i DedicatedPropreHostEcsClassListArray) ToDedicatedPropreHostEcsClassListArrayOutput() DedicatedPropreHostEcsClassListArrayOutput

func (DedicatedPropreHostEcsClassListArray) ToDedicatedPropreHostEcsClassListArrayOutputWithContext added in v3.44.0

func (i DedicatedPropreHostEcsClassListArray) ToDedicatedPropreHostEcsClassListArrayOutputWithContext(ctx context.Context) DedicatedPropreHostEcsClassListArrayOutput

type DedicatedPropreHostEcsClassListArrayInput added in v3.44.0

type DedicatedPropreHostEcsClassListArrayInput interface {
	pulumi.Input

	ToDedicatedPropreHostEcsClassListArrayOutput() DedicatedPropreHostEcsClassListArrayOutput
	ToDedicatedPropreHostEcsClassListArrayOutputWithContext(context.Context) DedicatedPropreHostEcsClassListArrayOutput
}

DedicatedPropreHostEcsClassListArrayInput is an input type that accepts DedicatedPropreHostEcsClassListArray and DedicatedPropreHostEcsClassListArrayOutput values. You can construct a concrete instance of `DedicatedPropreHostEcsClassListArrayInput` via:

DedicatedPropreHostEcsClassListArray{ DedicatedPropreHostEcsClassListArgs{...} }

type DedicatedPropreHostEcsClassListArrayOutput added in v3.44.0

type DedicatedPropreHostEcsClassListArrayOutput struct{ *pulumi.OutputState }

func (DedicatedPropreHostEcsClassListArrayOutput) ElementType added in v3.44.0

func (DedicatedPropreHostEcsClassListArrayOutput) Index added in v3.44.0

func (DedicatedPropreHostEcsClassListArrayOutput) ToDedicatedPropreHostEcsClassListArrayOutput added in v3.44.0

func (o DedicatedPropreHostEcsClassListArrayOutput) ToDedicatedPropreHostEcsClassListArrayOutput() DedicatedPropreHostEcsClassListArrayOutput

func (DedicatedPropreHostEcsClassListArrayOutput) ToDedicatedPropreHostEcsClassListArrayOutputWithContext added in v3.44.0

func (o DedicatedPropreHostEcsClassListArrayOutput) ToDedicatedPropreHostEcsClassListArrayOutputWithContext(ctx context.Context) DedicatedPropreHostEcsClassListArrayOutput

type DedicatedPropreHostEcsClassListInput added in v3.44.0

type DedicatedPropreHostEcsClassListInput interface {
	pulumi.Input

	ToDedicatedPropreHostEcsClassListOutput() DedicatedPropreHostEcsClassListOutput
	ToDedicatedPropreHostEcsClassListOutputWithContext(context.Context) DedicatedPropreHostEcsClassListOutput
}

DedicatedPropreHostEcsClassListInput is an input type that accepts DedicatedPropreHostEcsClassListArgs and DedicatedPropreHostEcsClassListOutput values. You can construct a concrete instance of `DedicatedPropreHostEcsClassListInput` via:

DedicatedPropreHostEcsClassListArgs{...}

type DedicatedPropreHostEcsClassListOutput added in v3.44.0

type DedicatedPropreHostEcsClassListOutput struct{ *pulumi.OutputState }

func (DedicatedPropreHostEcsClassListOutput) DataDiskPerformanceLevel added in v3.44.0

func (o DedicatedPropreHostEcsClassListOutput) DataDiskPerformanceLevel() pulumi.StringPtrOutput

Data disk PL level.

func (DedicatedPropreHostEcsClassListOutput) DiskCapacity added in v3.44.0

The capacity of the data disk.

func (DedicatedPropreHostEcsClassListOutput) DiskCount added in v3.44.0

Number of mounted data disks.

func (DedicatedPropreHostEcsClassListOutput) DiskType added in v3.44.0

Data disk type, value range: - **cloud_essd**: the ESSD cloud disk. - **cloud_ssd**: SSD cloud disk. - **cloud_efficiency**: The ultra cloud disk. - **cloud_auto**: ESSD AutoPL cloud disk.

func (DedicatedPropreHostEcsClassListOutput) ElementType added in v3.44.0

func (DedicatedPropreHostEcsClassListOutput) InstanceType added in v3.44.0

ECS specifications.

func (DedicatedPropreHostEcsClassListOutput) SysDiskCapacity added in v3.44.0

System disk capacity.

func (DedicatedPropreHostEcsClassListOutput) SysDiskType added in v3.44.0

System disk type, value: - **cloud_essd**: the ESSD cloud disk. - **cloud_ssd**: SSD cloud disk. - **cloud_efficiency**: The ultra cloud disk. - **cloud_auto**: ESSD AutoPL cloud disk.

func (DedicatedPropreHostEcsClassListOutput) SystemDiskPerformanceLevel added in v3.44.0

func (o DedicatedPropreHostEcsClassListOutput) SystemDiskPerformanceLevel() pulumi.StringPtrOutput

System disk PL level.

func (DedicatedPropreHostEcsClassListOutput) ToDedicatedPropreHostEcsClassListOutput added in v3.44.0

func (o DedicatedPropreHostEcsClassListOutput) ToDedicatedPropreHostEcsClassListOutput() DedicatedPropreHostEcsClassListOutput

func (DedicatedPropreHostEcsClassListOutput) ToDedicatedPropreHostEcsClassListOutputWithContext added in v3.44.0

func (o DedicatedPropreHostEcsClassListOutput) ToDedicatedPropreHostEcsClassListOutputWithContext(ctx context.Context) DedicatedPropreHostEcsClassListOutput

type DedicatedPropreHostInput added in v3.44.0

type DedicatedPropreHostInput interface {
	pulumi.Input

	ToDedicatedPropreHostOutput() DedicatedPropreHostOutput
	ToDedicatedPropreHostOutputWithContext(ctx context.Context) DedicatedPropreHostOutput
}

type DedicatedPropreHostMap added in v3.44.0

type DedicatedPropreHostMap map[string]DedicatedPropreHostInput

func (DedicatedPropreHostMap) ElementType added in v3.44.0

func (DedicatedPropreHostMap) ElementType() reflect.Type

func (DedicatedPropreHostMap) ToDedicatedPropreHostMapOutput added in v3.44.0

func (i DedicatedPropreHostMap) ToDedicatedPropreHostMapOutput() DedicatedPropreHostMapOutput

func (DedicatedPropreHostMap) ToDedicatedPropreHostMapOutputWithContext added in v3.44.0

func (i DedicatedPropreHostMap) ToDedicatedPropreHostMapOutputWithContext(ctx context.Context) DedicatedPropreHostMapOutput

type DedicatedPropreHostMapInput added in v3.44.0

type DedicatedPropreHostMapInput interface {
	pulumi.Input

	ToDedicatedPropreHostMapOutput() DedicatedPropreHostMapOutput
	ToDedicatedPropreHostMapOutputWithContext(context.Context) DedicatedPropreHostMapOutput
}

DedicatedPropreHostMapInput is an input type that accepts DedicatedPropreHostMap and DedicatedPropreHostMapOutput values. You can construct a concrete instance of `DedicatedPropreHostMapInput` via:

DedicatedPropreHostMap{ "key": DedicatedPropreHostArgs{...} }

type DedicatedPropreHostMapOutput added in v3.44.0

type DedicatedPropreHostMapOutput struct{ *pulumi.OutputState }

func (DedicatedPropreHostMapOutput) ElementType added in v3.44.0

func (DedicatedPropreHostMapOutput) MapIndex added in v3.44.0

func (DedicatedPropreHostMapOutput) ToDedicatedPropreHostMapOutput added in v3.44.0

func (o DedicatedPropreHostMapOutput) ToDedicatedPropreHostMapOutput() DedicatedPropreHostMapOutput

func (DedicatedPropreHostMapOutput) ToDedicatedPropreHostMapOutputWithContext added in v3.44.0

func (o DedicatedPropreHostMapOutput) ToDedicatedPropreHostMapOutputWithContext(ctx context.Context) DedicatedPropreHostMapOutput

type DedicatedPropreHostOutput added in v3.44.0

type DedicatedPropreHostOutput struct{ *pulumi.OutputState }

func (DedicatedPropreHostOutput) AutoPay added in v3.47.0

Whether to pay automatically when the host is created.

func (DedicatedPropreHostOutput) AutoRenew added in v3.44.0

Whether to enable automatic renewal. Valid values: - **true**: On - **false** (default): Off

func (DedicatedPropreHostOutput) DedicatedHostGroupId added in v3.44.0

func (o DedicatedPropreHostOutput) DedicatedHostGroupId() pulumi.StringOutput

You have a dedicated cluster ID.

func (DedicatedPropreHostOutput) EcsClassLists added in v3.44.0

ECS specifications. See `ecsClassList` below.

func (DedicatedPropreHostOutput) EcsDeploymentSetId added in v3.44.0

func (o DedicatedPropreHostOutput) EcsDeploymentSetId() pulumi.StringPtrOutput

The ID of the cloud server deployment set.

func (DedicatedPropreHostOutput) EcsHostName added in v3.44.0

Windows system: length of 2 to 15 characters, allowing the use of upper and lower case letters, numbers. You cannot use only numbers. Other operating systems (such as Linux): the length of 2 to 64 characters, allowing the use of dot (.) to separate characters into multiple segments, each segment allows the use of upper and lower case letters, numbers, but can not use continuous dot (.). Cannot start or end with a dot (.).

func (DedicatedPropreHostOutput) EcsInstanceId added in v3.44.0

func (o DedicatedPropreHostOutput) EcsInstanceId() pulumi.StringOutput

ECS instance ID.

func (DedicatedPropreHostOutput) EcsInstanceName added in v3.44.0

func (o DedicatedPropreHostOutput) EcsInstanceName() pulumi.StringPtrOutput

The instance name. It must be 2 to 128 characters in length and must start with an uppercase or lowercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-width colons (:), underscores (_), half-width periods (.), or dashes (-). The default value is the InstanceId of the instance.

func (DedicatedPropreHostOutput) EcsUniqueSuffix added in v3.44.0

func (o DedicatedPropreHostOutput) EcsUniqueSuffix() pulumi.StringPtrOutput

Whether to automatically add an ordered suffix for HostName and InstanceName when creating multiple instances. The ordered suffix starts from 001 and cannot exceed 999. Value Description:

  • **true**: added.
  • **false** (default): Do not add. When the HostName or InstanceName is set according to the specified sorting format, and the naming suffix nameSuffix is not set, that is, when the naming format is name_prefix[begin_number,bits], the UniqueSuffix does not take effect, and the names are only sorted according to the specified order.

func (DedicatedPropreHostOutput) EcsZoneId added in v3.44.0

The ID of the zone.

func (DedicatedPropreHostOutput) ElementType added in v3.44.0

func (DedicatedPropreHostOutput) ElementType() reflect.Type

func (DedicatedPropreHostOutput) Engine added in v3.44.0

Database type, value:

  • **alisql**
  • **tair**
  • **mssql** Must be consistent with the parent resource cluster engine attributes.

func (DedicatedPropreHostOutput) ImageId added in v3.44.0

The ID of the custom image. > **NOTE:** If you need to use the default image, you do not need to fill it in.

func (DedicatedPropreHostOutput) InternetChargeType added in v3.47.0

func (o DedicatedPropreHostOutput) InternetChargeType() pulumi.StringPtrOutput

Network billing type. Value range: PayByBandwidth: Billing based on fixed bandwidth. PayByTraffic: charges by using the flow meter.

func (DedicatedPropreHostOutput) InternetMaxBandwidthOut added in v3.47.0

func (o DedicatedPropreHostOutput) InternetMaxBandwidthOut() pulumi.IntPtrOutput

The maximum outbound bandwidth of the public network, in Mbit/s. Value range: 0~100. Default value: 0. When set to greater than 0, a public IP is automatically created.

func (DedicatedPropreHostOutput) KeyPairName added in v3.44.0

The key pair name.

func (DedicatedPropreHostOutput) OsPassword added in v3.44.0

Host login password, which can be set later. The password must meet the following requirements: - Length is 8~30 characters. - Must contain at least three items: uppercase letters, lowercase letters, numbers, and special characters. - Special symbol '()\' ~! @#$%^& *-_+ =|{}[]:;',.? /' > **NOTE:** - If you need to set the host login password later, fill in an empty string for this parameter. If you need to set a host login password, we recommend that you use the HTTPS protocol to send requests to avoid password leakage.

func (DedicatedPropreHostOutput) PasswordInherit added in v3.44.0

func (o DedicatedPropreHostOutput) PasswordInherit() pulumi.StringPtrOutput

Whether to use the default password of the image. - **false**: (default)Do not use - **true**: Use > **NOTE:** If the default password of the image is used, the **OSPassword** parameter is not required.

func (DedicatedPropreHostOutput) PaymentType added in v3.44.0

The Payment type. Currently, only **Subscription** is supported.

func (DedicatedPropreHostOutput) Period added in v3.44.0

Duration of purchase.

func (DedicatedPropreHostOutput) PeriodType added in v3.44.0

The subscription type. Currently, only **Monthly** (subscription) is supported.

func (DedicatedPropreHostOutput) ResourceGroupId added in v3.47.0

func (o DedicatedPropreHostOutput) ResourceGroupId() pulumi.StringOutput

The ID of the resource group.

func (DedicatedPropreHostOutput) SecurityGroupId added in v3.44.0

func (o DedicatedPropreHostOutput) SecurityGroupId() pulumi.StringOutput

The ID of the security group.

func (DedicatedPropreHostOutput) Tags added in v3.47.0

Host tag information.

func (DedicatedPropreHostOutput) ToDedicatedPropreHostOutput added in v3.44.0

func (o DedicatedPropreHostOutput) ToDedicatedPropreHostOutput() DedicatedPropreHostOutput

func (DedicatedPropreHostOutput) ToDedicatedPropreHostOutputWithContext added in v3.44.0

func (o DedicatedPropreHostOutput) ToDedicatedPropreHostOutputWithContext(ctx context.Context) DedicatedPropreHostOutput

func (DedicatedPropreHostOutput) UserData added in v3.47.0

User-defined script data. The maximum size of the original data is 16kB.

func (DedicatedPropreHostOutput) UserDataEncoded added in v3.47.0

func (o DedicatedPropreHostOutput) UserDataEncoded() pulumi.BoolPtrOutput

Whether custom data is encoded in Base64 format.

func (DedicatedPropreHostOutput) VpcId added in v3.44.0

VPCID of the VPC.

func (DedicatedPropreHostOutput) VswitchId added in v3.44.0

The ID of the virtual switch.

type DedicatedPropreHostState added in v3.44.0

type DedicatedPropreHostState struct {
	// Whether to pay automatically when the host is created.
	AutoPay pulumi.BoolPtrInput
	// Whether to enable automatic renewal. Valid values:
	// - **true**: On
	// - **false** (default): Off
	AutoRenew pulumi.StringPtrInput
	// You have a dedicated cluster ID.
	DedicatedHostGroupId pulumi.StringPtrInput
	// ECS specifications. See `ecsClassList` below.
	EcsClassLists DedicatedPropreHostEcsClassListArrayInput
	// The ID of the cloud server deployment set.
	EcsDeploymentSetId pulumi.StringPtrInput
	// Windows system: length of 2 to 15 characters, allowing the use of upper and lower case letters, numbers. You cannot use only numbers. Other operating systems (such as Linux): the length of 2 to 64 characters, allowing the use of dot (.) to separate characters into multiple segments, each segment allows the use of upper and lower case letters, numbers, but can not use continuous dot (.). Cannot start or end with a dot (.).
	EcsHostName pulumi.StringPtrInput
	// ECS instance ID.
	EcsInstanceId pulumi.StringPtrInput
	// The instance name. It must be 2 to 128 characters in length and must start with an uppercase or lowercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-width colons (:), underscores (_), half-width periods (.), or dashes (-). The default value is the InstanceId of the instance.
	EcsInstanceName pulumi.StringPtrInput
	// Whether to automatically add an ordered suffix for HostName and InstanceName when creating multiple instances. The ordered suffix starts from 001 and cannot exceed 999. Value Description:
	// - **true**: added.
	// - **false** (default): Do not add.
	//   When the HostName or InstanceName is set according to the specified sorting format, and the naming suffix nameSuffix is not set, that is, when the naming format is name_prefix[begin_number,bits], the UniqueSuffix does not take effect, and the names are only sorted according to the specified order.
	EcsUniqueSuffix pulumi.StringPtrInput
	// The ID of the zone.
	EcsZoneId pulumi.StringPtrInput
	// Database type, value:
	// - **alisql**
	// - **tair**
	// - **mssql**
	//   Must be consistent with the parent resource cluster engine attributes.
	Engine pulumi.StringPtrInput
	// The ID of the custom image.
	// > **NOTE:**  If you need to use the default image, you do not need to fill it in.
	ImageId pulumi.StringPtrInput
	// Network billing type. Value range: PayByBandwidth: Billing based on fixed bandwidth. PayByTraffic: charges by using the flow meter.
	InternetChargeType pulumi.StringPtrInput
	// The maximum outbound bandwidth of the public network, in Mbit/s. Value range: 0~100.  Default value: 0. When set to greater than 0, a public IP is automatically created.
	InternetMaxBandwidthOut pulumi.IntPtrInput
	// The key pair name.
	KeyPairName pulumi.StringPtrInput
	// Host login password, which can be set later. The password must meet the following requirements:
	// - Length is 8~30 characters.
	// - Must contain at least three items: uppercase letters, lowercase letters, numbers, and special characters.
	// - Special symbol '()\' ~! @#$%^& *-_+ =|{}[]:;',.? /'
	// > **NOTE:** - If you need to set the host login password later, fill in an empty string for this parameter. If you need to set a host login password, we recommend that you use the HTTPS protocol to send requests to avoid password leakage.
	OsPassword pulumi.StringPtrInput
	// Whether to use the default password of the image.
	// - **false**: (default)Do not use
	// - **true**: Use
	// > **NOTE:**  If the default password of the image is used, the **OSPassword** parameter is not required.
	PasswordInherit pulumi.StringPtrInput
	// The Payment type. Currently, only **Subscription** is supported.
	PaymentType pulumi.StringPtrInput
	// Duration of purchase.
	Period pulumi.StringPtrInput
	// The subscription type. Currently, only **Monthly** (subscription) is supported.
	PeriodType pulumi.StringPtrInput
	// The ID of the resource group.
	ResourceGroupId pulumi.StringPtrInput
	// The ID of the security group.
	SecurityGroupId pulumi.StringPtrInput
	// Host tag information.
	Tags pulumi.MapInput
	// User-defined script data. The maximum size of the original data is 16kB.
	UserData pulumi.StringPtrInput
	// Whether custom data is encoded in Base64 format.
	UserDataEncoded pulumi.BoolPtrInput
	// VPCID of the VPC.
	VpcId pulumi.StringPtrInput
	// The ID of the virtual switch.
	VswitchId pulumi.StringPtrInput
}

func (DedicatedPropreHostState) ElementType added in v3.44.0

func (DedicatedPropreHostState) ElementType() reflect.Type

type GetDedicatedHostAccountsAccount added in v3.12.0

type GetDedicatedHostAccountsAccount struct {
	// The name of the Dedicated host account.
	AccountName string `pulumi:"accountName"`
	// The ID of the Dedicated host.
	DedicatedHostId string `pulumi:"dedicatedHostId"`
	// The ID of the Dedicated Host Account. The value formats as `<dedicated_host_id>:<account_name>`.
	Id string `pulumi:"id"`
}

type GetDedicatedHostAccountsAccountArgs added in v3.12.0

type GetDedicatedHostAccountsAccountArgs struct {
	// The name of the Dedicated host account.
	AccountName pulumi.StringInput `pulumi:"accountName"`
	// The ID of the Dedicated host.
	DedicatedHostId pulumi.StringInput `pulumi:"dedicatedHostId"`
	// The ID of the Dedicated Host Account. The value formats as `<dedicated_host_id>:<account_name>`.
	Id pulumi.StringInput `pulumi:"id"`
}

func (GetDedicatedHostAccountsAccountArgs) ElementType added in v3.12.0

func (GetDedicatedHostAccountsAccountArgs) ToGetDedicatedHostAccountsAccountOutput added in v3.12.0

func (i GetDedicatedHostAccountsAccountArgs) ToGetDedicatedHostAccountsAccountOutput() GetDedicatedHostAccountsAccountOutput

func (GetDedicatedHostAccountsAccountArgs) ToGetDedicatedHostAccountsAccountOutputWithContext added in v3.12.0

func (i GetDedicatedHostAccountsAccountArgs) ToGetDedicatedHostAccountsAccountOutputWithContext(ctx context.Context) GetDedicatedHostAccountsAccountOutput

type GetDedicatedHostAccountsAccountArray added in v3.12.0

type GetDedicatedHostAccountsAccountArray []GetDedicatedHostAccountsAccountInput

func (GetDedicatedHostAccountsAccountArray) ElementType added in v3.12.0

func (GetDedicatedHostAccountsAccountArray) ToGetDedicatedHostAccountsAccountArrayOutput added in v3.12.0

func (i GetDedicatedHostAccountsAccountArray) ToGetDedicatedHostAccountsAccountArrayOutput() GetDedicatedHostAccountsAccountArrayOutput

func (GetDedicatedHostAccountsAccountArray) ToGetDedicatedHostAccountsAccountArrayOutputWithContext added in v3.12.0

func (i GetDedicatedHostAccountsAccountArray) ToGetDedicatedHostAccountsAccountArrayOutputWithContext(ctx context.Context) GetDedicatedHostAccountsAccountArrayOutput

type GetDedicatedHostAccountsAccountArrayInput added in v3.12.0

type GetDedicatedHostAccountsAccountArrayInput interface {
	pulumi.Input

	ToGetDedicatedHostAccountsAccountArrayOutput() GetDedicatedHostAccountsAccountArrayOutput
	ToGetDedicatedHostAccountsAccountArrayOutputWithContext(context.Context) GetDedicatedHostAccountsAccountArrayOutput
}

GetDedicatedHostAccountsAccountArrayInput is an input type that accepts GetDedicatedHostAccountsAccountArray and GetDedicatedHostAccountsAccountArrayOutput values. You can construct a concrete instance of `GetDedicatedHostAccountsAccountArrayInput` via:

GetDedicatedHostAccountsAccountArray{ GetDedicatedHostAccountsAccountArgs{...} }

type GetDedicatedHostAccountsAccountArrayOutput added in v3.12.0

type GetDedicatedHostAccountsAccountArrayOutput struct{ *pulumi.OutputState }

func (GetDedicatedHostAccountsAccountArrayOutput) ElementType added in v3.12.0

func (GetDedicatedHostAccountsAccountArrayOutput) Index added in v3.12.0

func (GetDedicatedHostAccountsAccountArrayOutput) ToGetDedicatedHostAccountsAccountArrayOutput added in v3.12.0

func (o GetDedicatedHostAccountsAccountArrayOutput) ToGetDedicatedHostAccountsAccountArrayOutput() GetDedicatedHostAccountsAccountArrayOutput

func (GetDedicatedHostAccountsAccountArrayOutput) ToGetDedicatedHostAccountsAccountArrayOutputWithContext added in v3.12.0

func (o GetDedicatedHostAccountsAccountArrayOutput) ToGetDedicatedHostAccountsAccountArrayOutputWithContext(ctx context.Context) GetDedicatedHostAccountsAccountArrayOutput

type GetDedicatedHostAccountsAccountInput added in v3.12.0

type GetDedicatedHostAccountsAccountInput interface {
	pulumi.Input

	ToGetDedicatedHostAccountsAccountOutput() GetDedicatedHostAccountsAccountOutput
	ToGetDedicatedHostAccountsAccountOutputWithContext(context.Context) GetDedicatedHostAccountsAccountOutput
}

GetDedicatedHostAccountsAccountInput is an input type that accepts GetDedicatedHostAccountsAccountArgs and GetDedicatedHostAccountsAccountOutput values. You can construct a concrete instance of `GetDedicatedHostAccountsAccountInput` via:

GetDedicatedHostAccountsAccountArgs{...}

type GetDedicatedHostAccountsAccountOutput added in v3.12.0

type GetDedicatedHostAccountsAccountOutput struct{ *pulumi.OutputState }

func (GetDedicatedHostAccountsAccountOutput) AccountName added in v3.12.0

The name of the Dedicated host account.

func (GetDedicatedHostAccountsAccountOutput) DedicatedHostId added in v3.12.0

The ID of the Dedicated host.

func (GetDedicatedHostAccountsAccountOutput) ElementType added in v3.12.0

func (GetDedicatedHostAccountsAccountOutput) Id added in v3.12.0

The ID of the Dedicated Host Account. The value formats as `<dedicated_host_id>:<account_name>`.

func (GetDedicatedHostAccountsAccountOutput) ToGetDedicatedHostAccountsAccountOutput added in v3.12.0

func (o GetDedicatedHostAccountsAccountOutput) ToGetDedicatedHostAccountsAccountOutput() GetDedicatedHostAccountsAccountOutput

func (GetDedicatedHostAccountsAccountOutput) ToGetDedicatedHostAccountsAccountOutputWithContext added in v3.12.0

func (o GetDedicatedHostAccountsAccountOutput) ToGetDedicatedHostAccountsAccountOutputWithContext(ctx context.Context) GetDedicatedHostAccountsAccountOutput

type GetDedicatedHostAccountsArgs added in v3.12.0

type GetDedicatedHostAccountsArgs struct {
	// The ID of the Dedicated host.
	DedicatedHostId *string `pulumi:"dedicatedHostId"`
	// A list of Dedicated Host Account IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by Account name.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	PageNumber *int    `pulumi:"pageNumber"`
	PageSize   *int    `pulumi:"pageSize"`
}

A collection of arguments for invoking getDedicatedHostAccounts.

type GetDedicatedHostAccountsOutputArgs added in v3.12.0

type GetDedicatedHostAccountsOutputArgs struct {
	// The ID of the Dedicated host.
	DedicatedHostId pulumi.StringPtrInput `pulumi:"dedicatedHostId"`
	// A list of Dedicated Host Account IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by Account name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	PageNumber pulumi.IntPtrInput    `pulumi:"pageNumber"`
	PageSize   pulumi.IntPtrInput    `pulumi:"pageSize"`
}

A collection of arguments for invoking getDedicatedHostAccounts.

func (GetDedicatedHostAccountsOutputArgs) ElementType added in v3.12.0

type GetDedicatedHostAccountsResult added in v3.12.0

type GetDedicatedHostAccountsResult struct {
	Accounts        []GetDedicatedHostAccountsAccount `pulumi:"accounts"`
	DedicatedHostId *string                           `pulumi:"dedicatedHostId"`
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Ids        []string `pulumi:"ids"`
	NameRegex  *string  `pulumi:"nameRegex"`
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
	PageNumber *int     `pulumi:"pageNumber"`
	PageSize   *int     `pulumi:"pageSize"`
}

A collection of values returned by getDedicatedHostAccounts.

func GetDedicatedHostAccounts added in v3.12.0

func GetDedicatedHostAccounts(ctx *pulumi.Context, args *GetDedicatedHostAccountsArgs, opts ...pulumi.InvokeOption) (*GetDedicatedHostAccountsResult, error)

This data source provides the Cddc Dedicated Host Accounts of the current Alibaba Cloud user.

> **NOTE:** Available in v1.148.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cddc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := cddc.GetDedicatedHostAccounts(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("cddcDedicatedHostAccountId1", ids.Accounts[0].Id)
		return nil
	})
}

```

type GetDedicatedHostAccountsResultOutput added in v3.12.0

type GetDedicatedHostAccountsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDedicatedHostAccounts.

func (GetDedicatedHostAccountsResultOutput) Accounts added in v3.12.0

func (GetDedicatedHostAccountsResultOutput) DedicatedHostId added in v3.12.0

func (GetDedicatedHostAccountsResultOutput) ElementType added in v3.12.0

func (GetDedicatedHostAccountsResultOutput) Id added in v3.12.0

The provider-assigned unique ID for this managed resource.

func (GetDedicatedHostAccountsResultOutput) Ids added in v3.12.0

func (GetDedicatedHostAccountsResultOutput) NameRegex added in v3.12.0

func (GetDedicatedHostAccountsResultOutput) Names added in v3.12.0

func (GetDedicatedHostAccountsResultOutput) OutputFile added in v3.12.0

func (GetDedicatedHostAccountsResultOutput) PageNumber added in v3.12.0

func (GetDedicatedHostAccountsResultOutput) PageSize added in v3.12.0

func (GetDedicatedHostAccountsResultOutput) ToGetDedicatedHostAccountsResultOutput added in v3.12.0

func (o GetDedicatedHostAccountsResultOutput) ToGetDedicatedHostAccountsResultOutput() GetDedicatedHostAccountsResultOutput

func (GetDedicatedHostAccountsResultOutput) ToGetDedicatedHostAccountsResultOutputWithContext added in v3.12.0

func (o GetDedicatedHostAccountsResultOutput) ToGetDedicatedHostAccountsResultOutputWithContext(ctx context.Context) GetDedicatedHostAccountsResultOutput

type GetDedicatedHostGroupsArgs

type GetDedicatedHostGroupsArgs struct {
	// Database Engine Type.The database engine of the dedicated cluster. Valid values:`Redis`, `SQLServer`, `MySQL`, `PostgreSQL`, `MongoDB`
	Engine *string `pulumi:"engine"`
	// A list of Dedicated Host Group IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by Dedicated Host Group name.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getDedicatedHostGroups.

type GetDedicatedHostGroupsGroup

type GetDedicatedHostGroupsGroup struct {
	// The policy that is used to allocate resources in the dedicated cluster. Valid values:`Evenly`,`Intensively`
	AllocationPolicy string `pulumi:"allocationPolicy"`
	// The Bastion Instance id of the Dedicated Host Group.
	BastionInstanceId string `pulumi:"bastionInstanceId"`
	// The CPU overcommitment ratio of the dedicated cluster. If you set this parameter to 200, the CPU resources that can be allocated are twice as many as the CPU resources that are provided. This maximizes the CPU utilization. Valid values: 100 to 300. Default value: 200.
	CpuAllocateRation float64 `pulumi:"cpuAllocateRation"`
	// The CPU Allocated Amount of the Dedicated Host Group.
	CpuAllocatedAmount float64 `pulumi:"cpuAllocatedAmount"`
	// The CPU overcommitment ratio of the dedicated cluster.Valid values: 100 to 300. Default value: 200.
	CpuAllocationRatio int `pulumi:"cpuAllocationRatio"`
	// The Created Time of the Dedicated Host Group.
	CreateTime string `pulumi:"createTime"`
	// The Dedicated Host Count Group by Host Type of the Dedicated Host Group.
	DedicatedHostCountGroupByHostTypes []GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostType `pulumi:"dedicatedHostCountGroupByHostTypes"`
	// The name of the dedicated cluster. The name must be 1 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter.
	DedicatedHostGroupDesc string `pulumi:"dedicatedHostGroupDesc"`
	// Dedicated Host Group ID.
	DedicatedHostGroupId string `pulumi:"dedicatedHostGroupId"`
	// The Deployment Type of the Dedicated Host Group.
	DeployType string `pulumi:"deployType"`
	// The storage overcommitment ratio of the dedicated cluster.Valid values: 100 to 300. Default value: 200.
	DiskAllocateRation float64 `pulumi:"diskAllocateRation"`
	// The Disk Allocated Amount of the Dedicated Host Group.
	DiskAllocatedAmount float64 `pulumi:"diskAllocatedAmount"`
	// The Disk Allocation Ratio of the Dedicated Host Group.
	DiskAllocationRatio int `pulumi:"diskAllocationRatio"`
	// The DiskUsedAmount of the Dedicated Host Group.
	DiskUsedAmount float64 `pulumi:"diskUsedAmount"`
	// The DiskUtility of the Dedicated Host Group.
	DiskUtility float64 `pulumi:"diskUtility"`
	// Database Engine Type.The database engine of the dedicated cluster. Valid values:`Redis`, `SQLServer`, `MySQL`, `PostgreSQL`, `MongoDB`
	Engine string `pulumi:"engine"`
	// The Total Host Number  of the Dedicated Host Group.
	HostNumber int `pulumi:"hostNumber"`
	// The policy based on which the system handles host failures. Valid values:`Auto`,`Manual`
	HostReplacePolicy string `pulumi:"hostReplacePolicy"`
	// The ID of the Dedicated Host Group.
	Id string `pulumi:"id"`
	// The Total Instance Number of the Dedicated Host Group.
	InstanceNumber int `pulumi:"instanceNumber"`
	// The maximum memory usage of each host in the dedicated cluster.Valid values: 0 to 90. Default value: 90.
	MemAllocateRation float64 `pulumi:"memAllocateRation"`
	// The MemAllocatedAmount of the Dedicated Host Group.
	MemAllocatedAmount float64 `pulumi:"memAllocatedAmount"`
	// The Memory Allocation Ratio of the Dedicated Host Group.
	MemAllocationRatio int `pulumi:"memAllocationRatio"`
	// The MemUsedAmount of the Dedicated Host Group.
	MemUsedAmount float64 `pulumi:"memUsedAmount"`
	// The Mem Utility of the Dedicated Host Group.
	MemUtility float64 `pulumi:"memUtility"`
	// The Text of the Dedicated Host Group.
	Text string `pulumi:"text"`
	// The virtual private cloud (VPC) ID of the dedicated cluster.
	VpcId string `pulumi:"vpcId"`
	// The ZoneIDList of the Dedicated Host Group.
	ZoneIdLists []GetDedicatedHostGroupsGroupZoneIdList `pulumi:"zoneIdLists"`
}

type GetDedicatedHostGroupsGroupArgs

type GetDedicatedHostGroupsGroupArgs struct {
	// The policy that is used to allocate resources in the dedicated cluster. Valid values:`Evenly`,`Intensively`
	AllocationPolicy pulumi.StringInput `pulumi:"allocationPolicy"`
	// The Bastion Instance id of the Dedicated Host Group.
	BastionInstanceId pulumi.StringInput `pulumi:"bastionInstanceId"`
	// The CPU overcommitment ratio of the dedicated cluster. If you set this parameter to 200, the CPU resources that can be allocated are twice as many as the CPU resources that are provided. This maximizes the CPU utilization. Valid values: 100 to 300. Default value: 200.
	CpuAllocateRation pulumi.Float64Input `pulumi:"cpuAllocateRation"`
	// The CPU Allocated Amount of the Dedicated Host Group.
	CpuAllocatedAmount pulumi.Float64Input `pulumi:"cpuAllocatedAmount"`
	// The CPU overcommitment ratio of the dedicated cluster.Valid values: 100 to 300. Default value: 200.
	CpuAllocationRatio pulumi.IntInput `pulumi:"cpuAllocationRatio"`
	// The Created Time of the Dedicated Host Group.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The Dedicated Host Count Group by Host Type of the Dedicated Host Group.
	DedicatedHostCountGroupByHostTypes GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayInput `pulumi:"dedicatedHostCountGroupByHostTypes"`
	// The name of the dedicated cluster. The name must be 1 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter.
	DedicatedHostGroupDesc pulumi.StringInput `pulumi:"dedicatedHostGroupDesc"`
	// Dedicated Host Group ID.
	DedicatedHostGroupId pulumi.StringInput `pulumi:"dedicatedHostGroupId"`
	// The Deployment Type of the Dedicated Host Group.
	DeployType pulumi.StringInput `pulumi:"deployType"`
	// The storage overcommitment ratio of the dedicated cluster.Valid values: 100 to 300. Default value: 200.
	DiskAllocateRation pulumi.Float64Input `pulumi:"diskAllocateRation"`
	// The Disk Allocated Amount of the Dedicated Host Group.
	DiskAllocatedAmount pulumi.Float64Input `pulumi:"diskAllocatedAmount"`
	// The Disk Allocation Ratio of the Dedicated Host Group.
	DiskAllocationRatio pulumi.IntInput `pulumi:"diskAllocationRatio"`
	// The DiskUsedAmount of the Dedicated Host Group.
	DiskUsedAmount pulumi.Float64Input `pulumi:"diskUsedAmount"`
	// The DiskUtility of the Dedicated Host Group.
	DiskUtility pulumi.Float64Input `pulumi:"diskUtility"`
	// Database Engine Type.The database engine of the dedicated cluster. Valid values:`Redis`, `SQLServer`, `MySQL`, `PostgreSQL`, `MongoDB`
	Engine pulumi.StringInput `pulumi:"engine"`
	// The Total Host Number  of the Dedicated Host Group.
	HostNumber pulumi.IntInput `pulumi:"hostNumber"`
	// The policy based on which the system handles host failures. Valid values:`Auto`,`Manual`
	HostReplacePolicy pulumi.StringInput `pulumi:"hostReplacePolicy"`
	// The ID of the Dedicated Host Group.
	Id pulumi.StringInput `pulumi:"id"`
	// The Total Instance Number of the Dedicated Host Group.
	InstanceNumber pulumi.IntInput `pulumi:"instanceNumber"`
	// The maximum memory usage of each host in the dedicated cluster.Valid values: 0 to 90. Default value: 90.
	MemAllocateRation pulumi.Float64Input `pulumi:"memAllocateRation"`
	// The MemAllocatedAmount of the Dedicated Host Group.
	MemAllocatedAmount pulumi.Float64Input `pulumi:"memAllocatedAmount"`
	// The Memory Allocation Ratio of the Dedicated Host Group.
	MemAllocationRatio pulumi.IntInput `pulumi:"memAllocationRatio"`
	// The MemUsedAmount of the Dedicated Host Group.
	MemUsedAmount pulumi.Float64Input `pulumi:"memUsedAmount"`
	// The Mem Utility of the Dedicated Host Group.
	MemUtility pulumi.Float64Input `pulumi:"memUtility"`
	// The Text of the Dedicated Host Group.
	Text pulumi.StringInput `pulumi:"text"`
	// The virtual private cloud (VPC) ID of the dedicated cluster.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
	// The ZoneIDList of the Dedicated Host Group.
	ZoneIdLists GetDedicatedHostGroupsGroupZoneIdListArrayInput `pulumi:"zoneIdLists"`
}

func (GetDedicatedHostGroupsGroupArgs) ElementType

func (GetDedicatedHostGroupsGroupArgs) ToGetDedicatedHostGroupsGroupOutput

func (i GetDedicatedHostGroupsGroupArgs) ToGetDedicatedHostGroupsGroupOutput() GetDedicatedHostGroupsGroupOutput

func (GetDedicatedHostGroupsGroupArgs) ToGetDedicatedHostGroupsGroupOutputWithContext

func (i GetDedicatedHostGroupsGroupArgs) ToGetDedicatedHostGroupsGroupOutputWithContext(ctx context.Context) GetDedicatedHostGroupsGroupOutput

type GetDedicatedHostGroupsGroupArray

type GetDedicatedHostGroupsGroupArray []GetDedicatedHostGroupsGroupInput

func (GetDedicatedHostGroupsGroupArray) ElementType

func (GetDedicatedHostGroupsGroupArray) ToGetDedicatedHostGroupsGroupArrayOutput

func (i GetDedicatedHostGroupsGroupArray) ToGetDedicatedHostGroupsGroupArrayOutput() GetDedicatedHostGroupsGroupArrayOutput

func (GetDedicatedHostGroupsGroupArray) ToGetDedicatedHostGroupsGroupArrayOutputWithContext

func (i GetDedicatedHostGroupsGroupArray) ToGetDedicatedHostGroupsGroupArrayOutputWithContext(ctx context.Context) GetDedicatedHostGroupsGroupArrayOutput

type GetDedicatedHostGroupsGroupArrayInput

type GetDedicatedHostGroupsGroupArrayInput interface {
	pulumi.Input

	ToGetDedicatedHostGroupsGroupArrayOutput() GetDedicatedHostGroupsGroupArrayOutput
	ToGetDedicatedHostGroupsGroupArrayOutputWithContext(context.Context) GetDedicatedHostGroupsGroupArrayOutput
}

GetDedicatedHostGroupsGroupArrayInput is an input type that accepts GetDedicatedHostGroupsGroupArray and GetDedicatedHostGroupsGroupArrayOutput values. You can construct a concrete instance of `GetDedicatedHostGroupsGroupArrayInput` via:

GetDedicatedHostGroupsGroupArray{ GetDedicatedHostGroupsGroupArgs{...} }

type GetDedicatedHostGroupsGroupArrayOutput

type GetDedicatedHostGroupsGroupArrayOutput struct{ *pulumi.OutputState }

func (GetDedicatedHostGroupsGroupArrayOutput) ElementType

func (GetDedicatedHostGroupsGroupArrayOutput) Index

func (GetDedicatedHostGroupsGroupArrayOutput) ToGetDedicatedHostGroupsGroupArrayOutput

func (o GetDedicatedHostGroupsGroupArrayOutput) ToGetDedicatedHostGroupsGroupArrayOutput() GetDedicatedHostGroupsGroupArrayOutput

func (GetDedicatedHostGroupsGroupArrayOutput) ToGetDedicatedHostGroupsGroupArrayOutputWithContext

func (o GetDedicatedHostGroupsGroupArrayOutput) ToGetDedicatedHostGroupsGroupArrayOutputWithContext(ctx context.Context) GetDedicatedHostGroupsGroupArrayOutput

type GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostType

type GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostType struct {
	PlaceHolder string `pulumi:"placeHolder"`
}

type GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArgs

type GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArgs struct {
	PlaceHolder pulumi.StringInput `pulumi:"placeHolder"`
}

func (GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArgs) ElementType

func (GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArgs) ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput

func (GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArgs) ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutputWithContext

func (i GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArgs) ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutputWithContext(ctx context.Context) GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput

type GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArray

type GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArray []GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeInput

func (GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArray) ElementType

func (GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArray) ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput

func (GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArray) ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutputWithContext

func (i GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArray) ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutputWithContext(ctx context.Context) GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput

type GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayInput

type GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayInput interface {
	pulumi.Input

	ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput() GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput
	ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutputWithContext(context.Context) GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput
}

GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayInput is an input type that accepts GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArray and GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput values. You can construct a concrete instance of `GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayInput` via:

GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArray{ GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArgs{...} }

type GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput

type GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput struct{ *pulumi.OutputState }

func (GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput) ElementType

func (GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput) ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput

func (GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput) ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutputWithContext

func (o GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput) ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutputWithContext(ctx context.Context) GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput

type GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeInput

type GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeInput interface {
	pulumi.Input

	ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput() GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput
	ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutputWithContext(context.Context) GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput
}

GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeInput is an input type that accepts GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArgs and GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput values. You can construct a concrete instance of `GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeInput` via:

GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArgs{...}

type GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput

type GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput struct{ *pulumi.OutputState }

func (GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput) ElementType

func (GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput) PlaceHolder

func (GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput) ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput

func (GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput) ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutputWithContext

func (o GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput) ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutputWithContext(ctx context.Context) GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput

type GetDedicatedHostGroupsGroupInput

type GetDedicatedHostGroupsGroupInput interface {
	pulumi.Input

	ToGetDedicatedHostGroupsGroupOutput() GetDedicatedHostGroupsGroupOutput
	ToGetDedicatedHostGroupsGroupOutputWithContext(context.Context) GetDedicatedHostGroupsGroupOutput
}

GetDedicatedHostGroupsGroupInput is an input type that accepts GetDedicatedHostGroupsGroupArgs and GetDedicatedHostGroupsGroupOutput values. You can construct a concrete instance of `GetDedicatedHostGroupsGroupInput` via:

GetDedicatedHostGroupsGroupArgs{...}

type GetDedicatedHostGroupsGroupOutput

type GetDedicatedHostGroupsGroupOutput struct{ *pulumi.OutputState }

func (GetDedicatedHostGroupsGroupOutput) AllocationPolicy

The policy that is used to allocate resources in the dedicated cluster. Valid values:`Evenly`,`Intensively`

func (GetDedicatedHostGroupsGroupOutput) BastionInstanceId

The Bastion Instance id of the Dedicated Host Group.

func (GetDedicatedHostGroupsGroupOutput) CpuAllocateRation

The CPU overcommitment ratio of the dedicated cluster. If you set this parameter to 200, the CPU resources that can be allocated are twice as many as the CPU resources that are provided. This maximizes the CPU utilization. Valid values: 100 to 300. Default value: 200.

func (GetDedicatedHostGroupsGroupOutput) CpuAllocatedAmount

The CPU Allocated Amount of the Dedicated Host Group.

func (GetDedicatedHostGroupsGroupOutput) CpuAllocationRatio

func (o GetDedicatedHostGroupsGroupOutput) CpuAllocationRatio() pulumi.IntOutput

The CPU overcommitment ratio of the dedicated cluster.Valid values: 100 to 300. Default value: 200.

func (GetDedicatedHostGroupsGroupOutput) CreateTime

The Created Time of the Dedicated Host Group.

func (GetDedicatedHostGroupsGroupOutput) DedicatedHostCountGroupByHostTypes

The Dedicated Host Count Group by Host Type of the Dedicated Host Group.

func (GetDedicatedHostGroupsGroupOutput) DedicatedHostGroupDesc

func (o GetDedicatedHostGroupsGroupOutput) DedicatedHostGroupDesc() pulumi.StringOutput

The name of the dedicated cluster. The name must be 1 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter.

func (GetDedicatedHostGroupsGroupOutput) DedicatedHostGroupId

func (o GetDedicatedHostGroupsGroupOutput) DedicatedHostGroupId() pulumi.StringOutput

Dedicated Host Group ID.

func (GetDedicatedHostGroupsGroupOutput) DeployType

The Deployment Type of the Dedicated Host Group.

func (GetDedicatedHostGroupsGroupOutput) DiskAllocateRation

The storage overcommitment ratio of the dedicated cluster.Valid values: 100 to 300. Default value: 200.

func (GetDedicatedHostGroupsGroupOutput) DiskAllocatedAmount

func (o GetDedicatedHostGroupsGroupOutput) DiskAllocatedAmount() pulumi.Float64Output

The Disk Allocated Amount of the Dedicated Host Group.

func (GetDedicatedHostGroupsGroupOutput) DiskAllocationRatio

func (o GetDedicatedHostGroupsGroupOutput) DiskAllocationRatio() pulumi.IntOutput

The Disk Allocation Ratio of the Dedicated Host Group.

func (GetDedicatedHostGroupsGroupOutput) DiskUsedAmount

The DiskUsedAmount of the Dedicated Host Group.

func (GetDedicatedHostGroupsGroupOutput) DiskUtility

The DiskUtility of the Dedicated Host Group.

func (GetDedicatedHostGroupsGroupOutput) ElementType

func (GetDedicatedHostGroupsGroupOutput) Engine

Database Engine Type.The database engine of the dedicated cluster. Valid values:`Redis`, `SQLServer`, `MySQL`, `PostgreSQL`, `MongoDB`

func (GetDedicatedHostGroupsGroupOutput) HostNumber

The Total Host Number of the Dedicated Host Group.

func (GetDedicatedHostGroupsGroupOutput) HostReplacePolicy

The policy based on which the system handles host failures. Valid values:`Auto`,`Manual`

func (GetDedicatedHostGroupsGroupOutput) Id

The ID of the Dedicated Host Group.

func (GetDedicatedHostGroupsGroupOutput) InstanceNumber

The Total Instance Number of the Dedicated Host Group.

func (GetDedicatedHostGroupsGroupOutput) MemAllocateRation

The maximum memory usage of each host in the dedicated cluster.Valid values: 0 to 90. Default value: 90.

func (GetDedicatedHostGroupsGroupOutput) MemAllocatedAmount

The MemAllocatedAmount of the Dedicated Host Group.

func (GetDedicatedHostGroupsGroupOutput) MemAllocationRatio

func (o GetDedicatedHostGroupsGroupOutput) MemAllocationRatio() pulumi.IntOutput

The Memory Allocation Ratio of the Dedicated Host Group.

func (GetDedicatedHostGroupsGroupOutput) MemUsedAmount

The MemUsedAmount of the Dedicated Host Group.

func (GetDedicatedHostGroupsGroupOutput) MemUtility

The Mem Utility of the Dedicated Host Group.

func (GetDedicatedHostGroupsGroupOutput) Text

The Text of the Dedicated Host Group.

func (GetDedicatedHostGroupsGroupOutput) ToGetDedicatedHostGroupsGroupOutput

func (o GetDedicatedHostGroupsGroupOutput) ToGetDedicatedHostGroupsGroupOutput() GetDedicatedHostGroupsGroupOutput

func (GetDedicatedHostGroupsGroupOutput) ToGetDedicatedHostGroupsGroupOutputWithContext

func (o GetDedicatedHostGroupsGroupOutput) ToGetDedicatedHostGroupsGroupOutputWithContext(ctx context.Context) GetDedicatedHostGroupsGroupOutput

func (GetDedicatedHostGroupsGroupOutput) VpcId

The virtual private cloud (VPC) ID of the dedicated cluster.

func (GetDedicatedHostGroupsGroupOutput) ZoneIdLists

The ZoneIDList of the Dedicated Host Group.

type GetDedicatedHostGroupsGroupZoneIdList

type GetDedicatedHostGroupsGroupZoneIdList struct {
	// The ZoneIDList of the Dedicated Host Group.
	ZoneIdLists []string `pulumi:"zoneIdLists"`
}

type GetDedicatedHostGroupsGroupZoneIdListArgs

type GetDedicatedHostGroupsGroupZoneIdListArgs struct {
	// The ZoneIDList of the Dedicated Host Group.
	ZoneIdLists pulumi.StringArrayInput `pulumi:"zoneIdLists"`
}

func (GetDedicatedHostGroupsGroupZoneIdListArgs) ElementType

func (GetDedicatedHostGroupsGroupZoneIdListArgs) ToGetDedicatedHostGroupsGroupZoneIdListOutput

func (i GetDedicatedHostGroupsGroupZoneIdListArgs) ToGetDedicatedHostGroupsGroupZoneIdListOutput() GetDedicatedHostGroupsGroupZoneIdListOutput

func (GetDedicatedHostGroupsGroupZoneIdListArgs) ToGetDedicatedHostGroupsGroupZoneIdListOutputWithContext

func (i GetDedicatedHostGroupsGroupZoneIdListArgs) ToGetDedicatedHostGroupsGroupZoneIdListOutputWithContext(ctx context.Context) GetDedicatedHostGroupsGroupZoneIdListOutput

type GetDedicatedHostGroupsGroupZoneIdListArray

type GetDedicatedHostGroupsGroupZoneIdListArray []GetDedicatedHostGroupsGroupZoneIdListInput

func (GetDedicatedHostGroupsGroupZoneIdListArray) ElementType

func (GetDedicatedHostGroupsGroupZoneIdListArray) ToGetDedicatedHostGroupsGroupZoneIdListArrayOutput

func (i GetDedicatedHostGroupsGroupZoneIdListArray) ToGetDedicatedHostGroupsGroupZoneIdListArrayOutput() GetDedicatedHostGroupsGroupZoneIdListArrayOutput

func (GetDedicatedHostGroupsGroupZoneIdListArray) ToGetDedicatedHostGroupsGroupZoneIdListArrayOutputWithContext

func (i GetDedicatedHostGroupsGroupZoneIdListArray) ToGetDedicatedHostGroupsGroupZoneIdListArrayOutputWithContext(ctx context.Context) GetDedicatedHostGroupsGroupZoneIdListArrayOutput

type GetDedicatedHostGroupsGroupZoneIdListArrayInput

type GetDedicatedHostGroupsGroupZoneIdListArrayInput interface {
	pulumi.Input

	ToGetDedicatedHostGroupsGroupZoneIdListArrayOutput() GetDedicatedHostGroupsGroupZoneIdListArrayOutput
	ToGetDedicatedHostGroupsGroupZoneIdListArrayOutputWithContext(context.Context) GetDedicatedHostGroupsGroupZoneIdListArrayOutput
}

GetDedicatedHostGroupsGroupZoneIdListArrayInput is an input type that accepts GetDedicatedHostGroupsGroupZoneIdListArray and GetDedicatedHostGroupsGroupZoneIdListArrayOutput values. You can construct a concrete instance of `GetDedicatedHostGroupsGroupZoneIdListArrayInput` via:

GetDedicatedHostGroupsGroupZoneIdListArray{ GetDedicatedHostGroupsGroupZoneIdListArgs{...} }

type GetDedicatedHostGroupsGroupZoneIdListArrayOutput

type GetDedicatedHostGroupsGroupZoneIdListArrayOutput struct{ *pulumi.OutputState }

func (GetDedicatedHostGroupsGroupZoneIdListArrayOutput) ElementType

func (GetDedicatedHostGroupsGroupZoneIdListArrayOutput) Index

func (GetDedicatedHostGroupsGroupZoneIdListArrayOutput) ToGetDedicatedHostGroupsGroupZoneIdListArrayOutput

func (o GetDedicatedHostGroupsGroupZoneIdListArrayOutput) ToGetDedicatedHostGroupsGroupZoneIdListArrayOutput() GetDedicatedHostGroupsGroupZoneIdListArrayOutput

func (GetDedicatedHostGroupsGroupZoneIdListArrayOutput) ToGetDedicatedHostGroupsGroupZoneIdListArrayOutputWithContext

func (o GetDedicatedHostGroupsGroupZoneIdListArrayOutput) ToGetDedicatedHostGroupsGroupZoneIdListArrayOutputWithContext(ctx context.Context) GetDedicatedHostGroupsGroupZoneIdListArrayOutput

type GetDedicatedHostGroupsGroupZoneIdListInput

type GetDedicatedHostGroupsGroupZoneIdListInput interface {
	pulumi.Input

	ToGetDedicatedHostGroupsGroupZoneIdListOutput() GetDedicatedHostGroupsGroupZoneIdListOutput
	ToGetDedicatedHostGroupsGroupZoneIdListOutputWithContext(context.Context) GetDedicatedHostGroupsGroupZoneIdListOutput
}

GetDedicatedHostGroupsGroupZoneIdListInput is an input type that accepts GetDedicatedHostGroupsGroupZoneIdListArgs and GetDedicatedHostGroupsGroupZoneIdListOutput values. You can construct a concrete instance of `GetDedicatedHostGroupsGroupZoneIdListInput` via:

GetDedicatedHostGroupsGroupZoneIdListArgs{...}

type GetDedicatedHostGroupsGroupZoneIdListOutput

type GetDedicatedHostGroupsGroupZoneIdListOutput struct{ *pulumi.OutputState }

func (GetDedicatedHostGroupsGroupZoneIdListOutput) ElementType

func (GetDedicatedHostGroupsGroupZoneIdListOutput) ToGetDedicatedHostGroupsGroupZoneIdListOutput

func (o GetDedicatedHostGroupsGroupZoneIdListOutput) ToGetDedicatedHostGroupsGroupZoneIdListOutput() GetDedicatedHostGroupsGroupZoneIdListOutput

func (GetDedicatedHostGroupsGroupZoneIdListOutput) ToGetDedicatedHostGroupsGroupZoneIdListOutputWithContext

func (o GetDedicatedHostGroupsGroupZoneIdListOutput) ToGetDedicatedHostGroupsGroupZoneIdListOutputWithContext(ctx context.Context) GetDedicatedHostGroupsGroupZoneIdListOutput

func (GetDedicatedHostGroupsGroupZoneIdListOutput) ZoneIdLists

The ZoneIDList of the Dedicated Host Group.

type GetDedicatedHostGroupsOutputArgs added in v3.9.0

type GetDedicatedHostGroupsOutputArgs struct {
	// Database Engine Type.The database engine of the dedicated cluster. Valid values:`Redis`, `SQLServer`, `MySQL`, `PostgreSQL`, `MongoDB`
	Engine pulumi.StringPtrInput `pulumi:"engine"`
	// A list of Dedicated Host Group IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by Dedicated Host Group name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getDedicatedHostGroups.

func (GetDedicatedHostGroupsOutputArgs) ElementType added in v3.9.0

type GetDedicatedHostGroupsResult

type GetDedicatedHostGroupsResult struct {
	Engine *string                       `pulumi:"engine"`
	Groups []GetDedicatedHostGroupsGroup `pulumi:"groups"`
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Ids        []string `pulumi:"ids"`
	NameRegex  *string  `pulumi:"nameRegex"`
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
}

A collection of values returned by getDedicatedHostGroups.

func GetDedicatedHostGroups

func GetDedicatedHostGroups(ctx *pulumi.Context, args *GetDedicatedHostGroupsArgs, opts ...pulumi.InvokeOption) (*GetDedicatedHostGroupsResult, error)

This data source provides the Cddc Dedicated Host Groups of the current Alibaba Cloud user.

> **NOTE:** Available in v1.132.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cddc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_default, err := cddc.GetDedicatedHostGroups(ctx, &cddc.GetDedicatedHostGroupsArgs{
			Engine: pulumi.StringRef("MongoDB"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("cddcDedicatedHostGroupId", _default.Id)
		return nil
	})
}

```

type GetDedicatedHostGroupsResultOutput added in v3.9.0

type GetDedicatedHostGroupsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDedicatedHostGroups.

func GetDedicatedHostGroupsOutput added in v3.9.0

func (GetDedicatedHostGroupsResultOutput) ElementType added in v3.9.0

func (GetDedicatedHostGroupsResultOutput) Engine added in v3.9.0

func (GetDedicatedHostGroupsResultOutput) Groups added in v3.9.0

func (GetDedicatedHostGroupsResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetDedicatedHostGroupsResultOutput) Ids added in v3.9.0

func (GetDedicatedHostGroupsResultOutput) NameRegex added in v3.12.0

func (GetDedicatedHostGroupsResultOutput) Names added in v3.12.0

func (GetDedicatedHostGroupsResultOutput) OutputFile added in v3.9.0

func (GetDedicatedHostGroupsResultOutput) ToGetDedicatedHostGroupsResultOutput added in v3.9.0

func (o GetDedicatedHostGroupsResultOutput) ToGetDedicatedHostGroupsResultOutput() GetDedicatedHostGroupsResultOutput

func (GetDedicatedHostGroupsResultOutput) ToGetDedicatedHostGroupsResultOutputWithContext added in v3.9.0

func (o GetDedicatedHostGroupsResultOutput) ToGetDedicatedHostGroupsResultOutputWithContext(ctx context.Context) GetDedicatedHostGroupsResultOutput

type GetDedicatedHostsArgs added in v3.12.0

type GetDedicatedHostsArgs struct {
	// Specifies whether instances can be created on the host. Valid values: `Allocatable` or `Suspended`. `Allocatable`: Instances can be created on the host. `Suspended`: Instances cannot be created on the host.
	AllocationStatus *string `pulumi:"allocationStatus"`
	// The ID of the dedicated cluster.
	DedicatedHostGroupId string `pulumi:"dedicatedHostGroupId"`
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails *bool `pulumi:"enableDetails"`
	// The storage type of the host. Valid values: `dhgLocalSsd` or `dhgCloudSsd`. `dhgLocalSsd`: specifies that the host uses local SSDs. `dhgCloudSsd`: specifies that the host uses enhanced SSDs (ESSDs).
	HostType *string `pulumi:"hostType"`
	// A list of Dedicated Host IDs.
	Ids []string `pulumi:"ids"`
	// The ID of the order.
	OrderId *string `pulumi:"orderId"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	// The state of the host. Valid values:
	// * `0:` The host is being created.
	Status *string `pulumi:"status"`
	// A mapping of tags to assign to the resource.
	Tags map[string]interface{} `pulumi:"tags"`
	// The ID of the zone.
	ZoneId *string `pulumi:"zoneId"`
}

A collection of arguments for invoking getDedicatedHosts.

type GetDedicatedHostsHost added in v3.12.0

type GetDedicatedHostsHost struct {
	// Specifies whether instances can be created on the host. Valid values: `1` or `0`. `1`: Instances can be created on the host. `0`: Instances cannot be created on the host.
	AllocationStatus string `pulumi:"allocationStatus"`
	// The ID of the bastion host with which the host is associated.
	BastionInstanceId string `pulumi:"bastionInstanceId"`
	// The numeric value of the CPU over commit ratio of the dedicated cluster.
	CpuAllocationRatio string `pulumi:"cpuAllocationRatio"`
	// The number of CPU cores used by the host.
	CpuUsed string `pulumi:"cpuUsed"`
	// The time when the host was created. The time follows the ISO 8601 standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time is displayed in UTC.
	CreateTime string `pulumi:"createTime"`
	// The ID of the dedicated cluster in which the host is created.
	DedicatedHostGroupId string `pulumi:"dedicatedHostGroupId"`
	// The ID of the host.
	DedicatedHostId string `pulumi:"dedicatedHostId"`
	// The disk usage in percentage.
	DiskAllocationRatio string `pulumi:"diskAllocationRatio"`
	// The Elastic Compute Service (ECS) instance type.
	EcsClassCode string `pulumi:"ecsClassCode"`
	// The time when the host expires. The time follows the ISO 8601 standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time is displayed in UTC.
	EndTime string `pulumi:"endTime"`
	// The type of the database engine that is used by the host.
	Engine string `pulumi:"engine"`
	// The time when the host expires. The time follows the ISO 8601 standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time is displayed in UTC.
	ExpiredTime string `pulumi:"expiredTime"`
	// The instance type of the host.
	HostClass string `pulumi:"hostClass"`
	// The number of CPU cores specified for the host. Unit: `core`.
	HostCpu string `pulumi:"hostCpu"`
	// The memory of the host. Unit: `GB`.
	HostMem string `pulumi:"hostMem"`
	// The name of the host.
	HostName string `pulumi:"hostName"`
	// The total storage capacity of the host. Unit: `GB`.
	HostStorage string `pulumi:"hostStorage"`
	// The storage type of the host.
	HostType string `pulumi:"hostType"`
	// The ID of the Dedicated Host. The value formats as `<dedicated_host_group_id>:<dedicated_host_id>`.
	Id string `pulumi:"id"`
	// The image type of the host.
	ImageCategory string `pulumi:"imageCategory"`
	// The IP address of the host.
	IpAddress string `pulumi:"ipAddress"`
	// The memory usage in percentage.
	MemAllocationRatio string `pulumi:"memAllocationRatio"`
	// The amount of memory used by the host. Unit: `GB`.
	MemoryUsed string `pulumi:"memoryUsed"`
	// Indicates whether you have the OS permissions on the host. Valid values: `0`: You do not have the OS permissions on the host. `1`: You have the OS permissions on the host.
	OpenPermission string `pulumi:"openPermission"`
	// The state of the host.
	Status string `pulumi:"status"`
	// The storage usage of the host. Unit: `GB`.
	StorageUsed string `pulumi:"storageUsed"`
	// The tag of the resource.
	Tags map[string]interface{} `pulumi:"tags"`
	// The ID of the virtual private cloud (VPC) to which the host is connected.
	VpcId string `pulumi:"vpcId"`
	// The ID of the vSwitch.
	VswitchId string `pulumi:"vswitchId"`
	// The zone ID of the host.
	ZoneId string `pulumi:"zoneId"`
}

type GetDedicatedHostsHostArgs added in v3.12.0

type GetDedicatedHostsHostArgs struct {
	// Specifies whether instances can be created on the host. Valid values: `1` or `0`. `1`: Instances can be created on the host. `0`: Instances cannot be created on the host.
	AllocationStatus pulumi.StringInput `pulumi:"allocationStatus"`
	// The ID of the bastion host with which the host is associated.
	BastionInstanceId pulumi.StringInput `pulumi:"bastionInstanceId"`
	// The numeric value of the CPU over commit ratio of the dedicated cluster.
	CpuAllocationRatio pulumi.StringInput `pulumi:"cpuAllocationRatio"`
	// The number of CPU cores used by the host.
	CpuUsed pulumi.StringInput `pulumi:"cpuUsed"`
	// The time when the host was created. The time follows the ISO 8601 standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time is displayed in UTC.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The ID of the dedicated cluster in which the host is created.
	DedicatedHostGroupId pulumi.StringInput `pulumi:"dedicatedHostGroupId"`
	// The ID of the host.
	DedicatedHostId pulumi.StringInput `pulumi:"dedicatedHostId"`
	// The disk usage in percentage.
	DiskAllocationRatio pulumi.StringInput `pulumi:"diskAllocationRatio"`
	// The Elastic Compute Service (ECS) instance type.
	EcsClassCode pulumi.StringInput `pulumi:"ecsClassCode"`
	// The time when the host expires. The time follows the ISO 8601 standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time is displayed in UTC.
	EndTime pulumi.StringInput `pulumi:"endTime"`
	// The type of the database engine that is used by the host.
	Engine pulumi.StringInput `pulumi:"engine"`
	// The time when the host expires. The time follows the ISO 8601 standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time is displayed in UTC.
	ExpiredTime pulumi.StringInput `pulumi:"expiredTime"`
	// The instance type of the host.
	HostClass pulumi.StringInput `pulumi:"hostClass"`
	// The number of CPU cores specified for the host. Unit: `core`.
	HostCpu pulumi.StringInput `pulumi:"hostCpu"`
	// The memory of the host. Unit: `GB`.
	HostMem pulumi.StringInput `pulumi:"hostMem"`
	// The name of the host.
	HostName pulumi.StringInput `pulumi:"hostName"`
	// The total storage capacity of the host. Unit: `GB`.
	HostStorage pulumi.StringInput `pulumi:"hostStorage"`
	// The storage type of the host.
	HostType pulumi.StringInput `pulumi:"hostType"`
	// The ID of the Dedicated Host. The value formats as `<dedicated_host_group_id>:<dedicated_host_id>`.
	Id pulumi.StringInput `pulumi:"id"`
	// The image type of the host.
	ImageCategory pulumi.StringInput `pulumi:"imageCategory"`
	// The IP address of the host.
	IpAddress pulumi.StringInput `pulumi:"ipAddress"`
	// The memory usage in percentage.
	MemAllocationRatio pulumi.StringInput `pulumi:"memAllocationRatio"`
	// The amount of memory used by the host. Unit: `GB`.
	MemoryUsed pulumi.StringInput `pulumi:"memoryUsed"`
	// Indicates whether you have the OS permissions on the host. Valid values: `0`: You do not have the OS permissions on the host. `1`: You have the OS permissions on the host.
	OpenPermission pulumi.StringInput `pulumi:"openPermission"`
	// The state of the host.
	Status pulumi.StringInput `pulumi:"status"`
	// The storage usage of the host. Unit: `GB`.
	StorageUsed pulumi.StringInput `pulumi:"storageUsed"`
	// The tag of the resource.
	Tags pulumi.MapInput `pulumi:"tags"`
	// The ID of the virtual private cloud (VPC) to which the host is connected.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
	// The ID of the vSwitch.
	VswitchId pulumi.StringInput `pulumi:"vswitchId"`
	// The zone ID of the host.
	ZoneId pulumi.StringInput `pulumi:"zoneId"`
}

func (GetDedicatedHostsHostArgs) ElementType added in v3.12.0

func (GetDedicatedHostsHostArgs) ElementType() reflect.Type

func (GetDedicatedHostsHostArgs) ToGetDedicatedHostsHostOutput added in v3.12.0

func (i GetDedicatedHostsHostArgs) ToGetDedicatedHostsHostOutput() GetDedicatedHostsHostOutput

func (GetDedicatedHostsHostArgs) ToGetDedicatedHostsHostOutputWithContext added in v3.12.0

func (i GetDedicatedHostsHostArgs) ToGetDedicatedHostsHostOutputWithContext(ctx context.Context) GetDedicatedHostsHostOutput

type GetDedicatedHostsHostArray added in v3.12.0

type GetDedicatedHostsHostArray []GetDedicatedHostsHostInput

func (GetDedicatedHostsHostArray) ElementType added in v3.12.0

func (GetDedicatedHostsHostArray) ElementType() reflect.Type

func (GetDedicatedHostsHostArray) ToGetDedicatedHostsHostArrayOutput added in v3.12.0

func (i GetDedicatedHostsHostArray) ToGetDedicatedHostsHostArrayOutput() GetDedicatedHostsHostArrayOutput

func (GetDedicatedHostsHostArray) ToGetDedicatedHostsHostArrayOutputWithContext added in v3.12.0

func (i GetDedicatedHostsHostArray) ToGetDedicatedHostsHostArrayOutputWithContext(ctx context.Context) GetDedicatedHostsHostArrayOutput

type GetDedicatedHostsHostArrayInput added in v3.12.0

type GetDedicatedHostsHostArrayInput interface {
	pulumi.Input

	ToGetDedicatedHostsHostArrayOutput() GetDedicatedHostsHostArrayOutput
	ToGetDedicatedHostsHostArrayOutputWithContext(context.Context) GetDedicatedHostsHostArrayOutput
}

GetDedicatedHostsHostArrayInput is an input type that accepts GetDedicatedHostsHostArray and GetDedicatedHostsHostArrayOutput values. You can construct a concrete instance of `GetDedicatedHostsHostArrayInput` via:

GetDedicatedHostsHostArray{ GetDedicatedHostsHostArgs{...} }

type GetDedicatedHostsHostArrayOutput added in v3.12.0

type GetDedicatedHostsHostArrayOutput struct{ *pulumi.OutputState }

func (GetDedicatedHostsHostArrayOutput) ElementType added in v3.12.0

func (GetDedicatedHostsHostArrayOutput) Index added in v3.12.0

func (GetDedicatedHostsHostArrayOutput) ToGetDedicatedHostsHostArrayOutput added in v3.12.0

func (o GetDedicatedHostsHostArrayOutput) ToGetDedicatedHostsHostArrayOutput() GetDedicatedHostsHostArrayOutput

func (GetDedicatedHostsHostArrayOutput) ToGetDedicatedHostsHostArrayOutputWithContext added in v3.12.0

func (o GetDedicatedHostsHostArrayOutput) ToGetDedicatedHostsHostArrayOutputWithContext(ctx context.Context) GetDedicatedHostsHostArrayOutput

type GetDedicatedHostsHostInput added in v3.12.0

type GetDedicatedHostsHostInput interface {
	pulumi.Input

	ToGetDedicatedHostsHostOutput() GetDedicatedHostsHostOutput
	ToGetDedicatedHostsHostOutputWithContext(context.Context) GetDedicatedHostsHostOutput
}

GetDedicatedHostsHostInput is an input type that accepts GetDedicatedHostsHostArgs and GetDedicatedHostsHostOutput values. You can construct a concrete instance of `GetDedicatedHostsHostInput` via:

GetDedicatedHostsHostArgs{...}

type GetDedicatedHostsHostOutput added in v3.12.0

type GetDedicatedHostsHostOutput struct{ *pulumi.OutputState }

func (GetDedicatedHostsHostOutput) AllocationStatus added in v3.12.0

func (o GetDedicatedHostsHostOutput) AllocationStatus() pulumi.StringOutput

Specifies whether instances can be created on the host. Valid values: `1` or `0`. `1`: Instances can be created on the host. `0`: Instances cannot be created on the host.

func (GetDedicatedHostsHostOutput) BastionInstanceId added in v3.12.0

func (o GetDedicatedHostsHostOutput) BastionInstanceId() pulumi.StringOutput

The ID of the bastion host with which the host is associated.

func (GetDedicatedHostsHostOutput) CpuAllocationRatio added in v3.12.0

func (o GetDedicatedHostsHostOutput) CpuAllocationRatio() pulumi.StringOutput

The numeric value of the CPU over commit ratio of the dedicated cluster.

func (GetDedicatedHostsHostOutput) CpuUsed added in v3.12.0

The number of CPU cores used by the host.

func (GetDedicatedHostsHostOutput) CreateTime added in v3.12.0

The time when the host was created. The time follows the ISO 8601 standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time is displayed in UTC.

func (GetDedicatedHostsHostOutput) DedicatedHostGroupId added in v3.12.0

func (o GetDedicatedHostsHostOutput) DedicatedHostGroupId() pulumi.StringOutput

The ID of the dedicated cluster in which the host is created.

func (GetDedicatedHostsHostOutput) DedicatedHostId added in v3.12.0

func (o GetDedicatedHostsHostOutput) DedicatedHostId() pulumi.StringOutput

The ID of the host.

func (GetDedicatedHostsHostOutput) DiskAllocationRatio added in v3.12.0

func (o GetDedicatedHostsHostOutput) DiskAllocationRatio() pulumi.StringOutput

The disk usage in percentage.

func (GetDedicatedHostsHostOutput) EcsClassCode added in v3.12.0

The Elastic Compute Service (ECS) instance type.

func (GetDedicatedHostsHostOutput) ElementType added in v3.12.0

func (GetDedicatedHostsHostOutput) EndTime added in v3.12.0

The time when the host expires. The time follows the ISO 8601 standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time is displayed in UTC.

func (GetDedicatedHostsHostOutput) Engine added in v3.12.0

The type of the database engine that is used by the host.

func (GetDedicatedHostsHostOutput) ExpiredTime added in v3.12.0

The time when the host expires. The time follows the ISO 8601 standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time is displayed in UTC.

func (GetDedicatedHostsHostOutput) HostClass added in v3.12.0

The instance type of the host.

func (GetDedicatedHostsHostOutput) HostCpu added in v3.12.0

The number of CPU cores specified for the host. Unit: `core`.

func (GetDedicatedHostsHostOutput) HostMem added in v3.12.0

The memory of the host. Unit: `GB`.

func (GetDedicatedHostsHostOutput) HostName added in v3.12.0

The name of the host.

func (GetDedicatedHostsHostOutput) HostStorage added in v3.12.0

The total storage capacity of the host. Unit: `GB`.

func (GetDedicatedHostsHostOutput) HostType added in v3.12.0

The storage type of the host.

func (GetDedicatedHostsHostOutput) Id added in v3.12.0

The ID of the Dedicated Host. The value formats as `<dedicated_host_group_id>:<dedicated_host_id>`.

func (GetDedicatedHostsHostOutput) ImageCategory added in v3.12.0

The image type of the host.

func (GetDedicatedHostsHostOutput) IpAddress added in v3.12.0

The IP address of the host.

func (GetDedicatedHostsHostOutput) MemAllocationRatio added in v3.12.0

func (o GetDedicatedHostsHostOutput) MemAllocationRatio() pulumi.StringOutput

The memory usage in percentage.

func (GetDedicatedHostsHostOutput) MemoryUsed added in v3.12.0

The amount of memory used by the host. Unit: `GB`.

func (GetDedicatedHostsHostOutput) OpenPermission added in v3.12.0

func (o GetDedicatedHostsHostOutput) OpenPermission() pulumi.StringOutput

Indicates whether you have the OS permissions on the host. Valid values: `0`: You do not have the OS permissions on the host. `1`: You have the OS permissions on the host.

func (GetDedicatedHostsHostOutput) Status added in v3.12.0

The state of the host.

func (GetDedicatedHostsHostOutput) StorageUsed added in v3.12.0

The storage usage of the host. Unit: `GB`.

func (GetDedicatedHostsHostOutput) Tags added in v3.12.0

The tag of the resource.

func (GetDedicatedHostsHostOutput) ToGetDedicatedHostsHostOutput added in v3.12.0

func (o GetDedicatedHostsHostOutput) ToGetDedicatedHostsHostOutput() GetDedicatedHostsHostOutput

func (GetDedicatedHostsHostOutput) ToGetDedicatedHostsHostOutputWithContext added in v3.12.0

func (o GetDedicatedHostsHostOutput) ToGetDedicatedHostsHostOutputWithContext(ctx context.Context) GetDedicatedHostsHostOutput

func (GetDedicatedHostsHostOutput) VpcId added in v3.12.0

The ID of the virtual private cloud (VPC) to which the host is connected.

func (GetDedicatedHostsHostOutput) VswitchId added in v3.12.0

The ID of the vSwitch.

func (GetDedicatedHostsHostOutput) ZoneId added in v3.12.0

The zone ID of the host.

type GetDedicatedHostsOutputArgs added in v3.12.0

type GetDedicatedHostsOutputArgs struct {
	// Specifies whether instances can be created on the host. Valid values: `Allocatable` or `Suspended`. `Allocatable`: Instances can be created on the host. `Suspended`: Instances cannot be created on the host.
	AllocationStatus pulumi.StringPtrInput `pulumi:"allocationStatus"`
	// The ID of the dedicated cluster.
	DedicatedHostGroupId pulumi.StringInput `pulumi:"dedicatedHostGroupId"`
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"`
	// The storage type of the host. Valid values: `dhgLocalSsd` or `dhgCloudSsd`. `dhgLocalSsd`: specifies that the host uses local SSDs. `dhgCloudSsd`: specifies that the host uses enhanced SSDs (ESSDs).
	HostType pulumi.StringPtrInput `pulumi:"hostType"`
	// A list of Dedicated Host IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// The ID of the order.
	OrderId pulumi.StringPtrInput `pulumi:"orderId"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The state of the host. Valid values:
	// * `0:` The host is being created.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput `pulumi:"tags"`
	// The ID of the zone.
	ZoneId pulumi.StringPtrInput `pulumi:"zoneId"`
}

A collection of arguments for invoking getDedicatedHosts.

func (GetDedicatedHostsOutputArgs) ElementType added in v3.12.0

type GetDedicatedHostsResult added in v3.12.0

type GetDedicatedHostsResult struct {
	AllocationStatus     *string                 `pulumi:"allocationStatus"`
	DedicatedHostGroupId string                  `pulumi:"dedicatedHostGroupId"`
	EnableDetails        *bool                   `pulumi:"enableDetails"`
	HostType             *string                 `pulumi:"hostType"`
	Hosts                []GetDedicatedHostsHost `pulumi:"hosts"`
	// The provider-assigned unique ID for this managed resource.
	Id         string                 `pulumi:"id"`
	Ids        []string               `pulumi:"ids"`
	OrderId    *string                `pulumi:"orderId"`
	OutputFile *string                `pulumi:"outputFile"`
	Status     *string                `pulumi:"status"`
	Tags       map[string]interface{} `pulumi:"tags"`
	ZoneId     *string                `pulumi:"zoneId"`
}

A collection of values returned by getDedicatedHosts.

func GetDedicatedHosts added in v3.12.0

func GetDedicatedHosts(ctx *pulumi.Context, args *GetDedicatedHostsArgs, opts ...pulumi.InvokeOption) (*GetDedicatedHostsResult, error)

This data source provides the Cddc Dedicated Hosts of the current Alibaba Cloud user.

> **NOTE:** Available in v1.147.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cddc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := cddc.GetDedicatedHosts(ctx, &cddc.GetDedicatedHostsArgs{
			DedicatedHostGroupId: "example_value",
			Ids: []string{
				"example_value-1",
				"example_value-2",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("cddcDedicatedHostId1", ids.Hosts[0].Id)
		status, err := cddc.GetDedicatedHosts(ctx, &cddc.GetDedicatedHostsArgs{
			DedicatedHostGroupId: "example_value",
			Ids: []string{
				"example_value-1",
				"example_value-2",
			},
			Status: pulumi.StringRef("1"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("cddcDedicatedHostId2", status.Hosts[0].Id)
		zoneId, err := cddc.GetDedicatedHosts(ctx, &cddc.GetDedicatedHostsArgs{
			DedicatedHostGroupId: "example_value",
			Ids: []string{
				"example_value-1",
				"example_value-2",
			},
			ZoneId: pulumi.StringRef("example_value"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("cddcDedicatedHostId3", zoneId.Hosts[0].Id)
		allocationStatus, err := cddc.GetDedicatedHosts(ctx, &cddc.GetDedicatedHostsArgs{
			DedicatedHostGroupId: "example_value",
			Ids: []string{
				"example_value-1",
				"example_value-2",
			},
			AllocationStatus: pulumi.StringRef("Allocatable"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("cddcDedicatedHostId4", allocationStatus.Hosts[0].Id)
		hostType, err := cddc.GetDedicatedHosts(ctx, &cddc.GetDedicatedHostsArgs{
			DedicatedHostGroupId: "example_value",
			Ids: []string{
				"example_value-1",
				"example_value-2",
			},
			HostType: pulumi.StringRef("dhg_cloud_ssd"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("cddcDedicatedHostId5", hostType.Hosts[0].Id)
		return nil
	})
}

```

type GetDedicatedHostsResultOutput added in v3.12.0

type GetDedicatedHostsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDedicatedHosts.

func GetDedicatedHostsOutput added in v3.12.0

func (GetDedicatedHostsResultOutput) AllocationStatus added in v3.12.0

func (GetDedicatedHostsResultOutput) DedicatedHostGroupId added in v3.12.0

func (o GetDedicatedHostsResultOutput) DedicatedHostGroupId() pulumi.StringOutput

func (GetDedicatedHostsResultOutput) ElementType added in v3.12.0

func (GetDedicatedHostsResultOutput) EnableDetails added in v3.12.0

func (GetDedicatedHostsResultOutput) HostType added in v3.12.0

func (GetDedicatedHostsResultOutput) Hosts added in v3.12.0

func (GetDedicatedHostsResultOutput) Id added in v3.12.0

The provider-assigned unique ID for this managed resource.

func (GetDedicatedHostsResultOutput) Ids added in v3.12.0

func (GetDedicatedHostsResultOutput) OrderId added in v3.12.0

func (GetDedicatedHostsResultOutput) OutputFile added in v3.12.0

func (GetDedicatedHostsResultOutput) Status added in v3.12.0

func (GetDedicatedHostsResultOutput) Tags added in v3.12.0

func (GetDedicatedHostsResultOutput) ToGetDedicatedHostsResultOutput added in v3.12.0

func (o GetDedicatedHostsResultOutput) ToGetDedicatedHostsResultOutput() GetDedicatedHostsResultOutput

func (GetDedicatedHostsResultOutput) ToGetDedicatedHostsResultOutputWithContext added in v3.12.0

func (o GetDedicatedHostsResultOutput) ToGetDedicatedHostsResultOutputWithContext(ctx context.Context) GetDedicatedHostsResultOutput

func (GetDedicatedHostsResultOutput) ZoneId added in v3.12.0

type GetHostEcsLevelInfosArgs added in v3.12.0

type GetHostEcsLevelInfosArgs struct {
	// The database engine of the host. Valid values: `mysql`, `mssql`, `pgsql`, `redis`.
	DbType string `pulumi:"dbType"`
	// Host image. Valid values: `WindowsWithMssqlEntAlwaysonLicense`, `WindowsWithMssqlStdLicense`, `WindowsWithMssqlEntLicense`, `WindowsWithMssqlWebLicense`, `AliLinux`.
	ImageCategory *string `pulumi:"imageCategory"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	// The storage type of the host ecs level info. Valid values: `localSsd`, `cloudEssd`, `cloudEssd2`, `cloudEssd3`.
	StorageType string `pulumi:"storageType"`
	// The ID of the zone in the region.
	ZoneId string `pulumi:"zoneId"`
}

A collection of arguments for invoking getHostEcsLevelInfos.

type GetHostEcsLevelInfosInfo added in v3.12.0

type GetHostEcsLevelInfosInfo struct {
	// The description of the host ecs level info.
	Description string `pulumi:"description"`
	// The instance family of the host ecs level info.
	EcsClass string `pulumi:"ecsClass"`
	// The Elastic Compute Service (ECS) instance type.
	EcsClassCode string `pulumi:"ecsClassCode"`
	// The ApsaraDB RDS instance type of the host ecs level info.
	ResClassCode string `pulumi:"resClassCode"`
}

type GetHostEcsLevelInfosInfoArgs added in v3.12.0

type GetHostEcsLevelInfosInfoArgs struct {
	// The description of the host ecs level info.
	Description pulumi.StringInput `pulumi:"description"`
	// The instance family of the host ecs level info.
	EcsClass pulumi.StringInput `pulumi:"ecsClass"`
	// The Elastic Compute Service (ECS) instance type.
	EcsClassCode pulumi.StringInput `pulumi:"ecsClassCode"`
	// The ApsaraDB RDS instance type of the host ecs level info.
	ResClassCode pulumi.StringInput `pulumi:"resClassCode"`
}

func (GetHostEcsLevelInfosInfoArgs) ElementType added in v3.12.0

func (GetHostEcsLevelInfosInfoArgs) ToGetHostEcsLevelInfosInfoOutput added in v3.12.0

func (i GetHostEcsLevelInfosInfoArgs) ToGetHostEcsLevelInfosInfoOutput() GetHostEcsLevelInfosInfoOutput

func (GetHostEcsLevelInfosInfoArgs) ToGetHostEcsLevelInfosInfoOutputWithContext added in v3.12.0

func (i GetHostEcsLevelInfosInfoArgs) ToGetHostEcsLevelInfosInfoOutputWithContext(ctx context.Context) GetHostEcsLevelInfosInfoOutput

type GetHostEcsLevelInfosInfoArray added in v3.12.0

type GetHostEcsLevelInfosInfoArray []GetHostEcsLevelInfosInfoInput

func (GetHostEcsLevelInfosInfoArray) ElementType added in v3.12.0

func (GetHostEcsLevelInfosInfoArray) ToGetHostEcsLevelInfosInfoArrayOutput added in v3.12.0

func (i GetHostEcsLevelInfosInfoArray) ToGetHostEcsLevelInfosInfoArrayOutput() GetHostEcsLevelInfosInfoArrayOutput

func (GetHostEcsLevelInfosInfoArray) ToGetHostEcsLevelInfosInfoArrayOutputWithContext added in v3.12.0

func (i GetHostEcsLevelInfosInfoArray) ToGetHostEcsLevelInfosInfoArrayOutputWithContext(ctx context.Context) GetHostEcsLevelInfosInfoArrayOutput

type GetHostEcsLevelInfosInfoArrayInput added in v3.12.0

type GetHostEcsLevelInfosInfoArrayInput interface {
	pulumi.Input

	ToGetHostEcsLevelInfosInfoArrayOutput() GetHostEcsLevelInfosInfoArrayOutput
	ToGetHostEcsLevelInfosInfoArrayOutputWithContext(context.Context) GetHostEcsLevelInfosInfoArrayOutput
}

GetHostEcsLevelInfosInfoArrayInput is an input type that accepts GetHostEcsLevelInfosInfoArray and GetHostEcsLevelInfosInfoArrayOutput values. You can construct a concrete instance of `GetHostEcsLevelInfosInfoArrayInput` via:

GetHostEcsLevelInfosInfoArray{ GetHostEcsLevelInfosInfoArgs{...} }

type GetHostEcsLevelInfosInfoArrayOutput added in v3.12.0

type GetHostEcsLevelInfosInfoArrayOutput struct{ *pulumi.OutputState }

func (GetHostEcsLevelInfosInfoArrayOutput) ElementType added in v3.12.0

func (GetHostEcsLevelInfosInfoArrayOutput) Index added in v3.12.0

func (GetHostEcsLevelInfosInfoArrayOutput) ToGetHostEcsLevelInfosInfoArrayOutput added in v3.12.0

func (o GetHostEcsLevelInfosInfoArrayOutput) ToGetHostEcsLevelInfosInfoArrayOutput() GetHostEcsLevelInfosInfoArrayOutput

func (GetHostEcsLevelInfosInfoArrayOutput) ToGetHostEcsLevelInfosInfoArrayOutputWithContext added in v3.12.0

func (o GetHostEcsLevelInfosInfoArrayOutput) ToGetHostEcsLevelInfosInfoArrayOutputWithContext(ctx context.Context) GetHostEcsLevelInfosInfoArrayOutput

type GetHostEcsLevelInfosInfoInput added in v3.12.0

type GetHostEcsLevelInfosInfoInput interface {
	pulumi.Input

	ToGetHostEcsLevelInfosInfoOutput() GetHostEcsLevelInfosInfoOutput
	ToGetHostEcsLevelInfosInfoOutputWithContext(context.Context) GetHostEcsLevelInfosInfoOutput
}

GetHostEcsLevelInfosInfoInput is an input type that accepts GetHostEcsLevelInfosInfoArgs and GetHostEcsLevelInfosInfoOutput values. You can construct a concrete instance of `GetHostEcsLevelInfosInfoInput` via:

GetHostEcsLevelInfosInfoArgs{...}

type GetHostEcsLevelInfosInfoOutput added in v3.12.0

type GetHostEcsLevelInfosInfoOutput struct{ *pulumi.OutputState }

func (GetHostEcsLevelInfosInfoOutput) Description added in v3.12.0

The description of the host ecs level info.

func (GetHostEcsLevelInfosInfoOutput) EcsClass added in v3.12.0

The instance family of the host ecs level info.

func (GetHostEcsLevelInfosInfoOutput) EcsClassCode added in v3.12.0

The Elastic Compute Service (ECS) instance type.

func (GetHostEcsLevelInfosInfoOutput) ElementType added in v3.12.0

func (GetHostEcsLevelInfosInfoOutput) ResClassCode added in v3.12.0

The ApsaraDB RDS instance type of the host ecs level info.

func (GetHostEcsLevelInfosInfoOutput) ToGetHostEcsLevelInfosInfoOutput added in v3.12.0

func (o GetHostEcsLevelInfosInfoOutput) ToGetHostEcsLevelInfosInfoOutput() GetHostEcsLevelInfosInfoOutput

func (GetHostEcsLevelInfosInfoOutput) ToGetHostEcsLevelInfosInfoOutputWithContext added in v3.12.0

func (o GetHostEcsLevelInfosInfoOutput) ToGetHostEcsLevelInfosInfoOutputWithContext(ctx context.Context) GetHostEcsLevelInfosInfoOutput

type GetHostEcsLevelInfosOutputArgs added in v3.12.0

type GetHostEcsLevelInfosOutputArgs struct {
	// The database engine of the host. Valid values: `mysql`, `mssql`, `pgsql`, `redis`.
	DbType pulumi.StringInput `pulumi:"dbType"`
	// Host image. Valid values: `WindowsWithMssqlEntAlwaysonLicense`, `WindowsWithMssqlStdLicense`, `WindowsWithMssqlEntLicense`, `WindowsWithMssqlWebLicense`, `AliLinux`.
	ImageCategory pulumi.StringPtrInput `pulumi:"imageCategory"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The storage type of the host ecs level info. Valid values: `localSsd`, `cloudEssd`, `cloudEssd2`, `cloudEssd3`.
	StorageType pulumi.StringInput `pulumi:"storageType"`
	// The ID of the zone in the region.
	ZoneId pulumi.StringInput `pulumi:"zoneId"`
}

A collection of arguments for invoking getHostEcsLevelInfos.

func (GetHostEcsLevelInfosOutputArgs) ElementType added in v3.12.0

type GetHostEcsLevelInfosResult added in v3.12.0

type GetHostEcsLevelInfosResult struct {
	DbType string `pulumi:"dbType"`
	// The provider-assigned unique ID for this managed resource.
	Id            string                     `pulumi:"id"`
	ImageCategory *string                    `pulumi:"imageCategory"`
	Infos         []GetHostEcsLevelInfosInfo `pulumi:"infos"`
	OutputFile    *string                    `pulumi:"outputFile"`
	StorageType   string                     `pulumi:"storageType"`
	ZoneId        string                     `pulumi:"zoneId"`
}

A collection of values returned by getHostEcsLevelInfos.

func GetHostEcsLevelInfos added in v3.12.0

func GetHostEcsLevelInfos(ctx *pulumi.Context, args *GetHostEcsLevelInfosArgs, opts ...pulumi.InvokeOption) (*GetHostEcsLevelInfosResult, error)

This data source provides the Cddc Host Ecs Level Infos of the current Alibaba Cloud user.

> **NOTE:** Available in v1.147.0+.

type GetHostEcsLevelInfosResultOutput added in v3.12.0

type GetHostEcsLevelInfosResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getHostEcsLevelInfos.

func GetHostEcsLevelInfosOutput added in v3.12.0

func (GetHostEcsLevelInfosResultOutput) DbType added in v3.12.0

func (GetHostEcsLevelInfosResultOutput) ElementType added in v3.12.0

func (GetHostEcsLevelInfosResultOutput) Id added in v3.12.0

The provider-assigned unique ID for this managed resource.

func (GetHostEcsLevelInfosResultOutput) ImageCategory added in v3.12.0

func (GetHostEcsLevelInfosResultOutput) Infos added in v3.12.0

func (GetHostEcsLevelInfosResultOutput) OutputFile added in v3.12.0

func (GetHostEcsLevelInfosResultOutput) StorageType added in v3.12.0

func (GetHostEcsLevelInfosResultOutput) ToGetHostEcsLevelInfosResultOutput added in v3.12.0

func (o GetHostEcsLevelInfosResultOutput) ToGetHostEcsLevelInfosResultOutput() GetHostEcsLevelInfosResultOutput

func (GetHostEcsLevelInfosResultOutput) ToGetHostEcsLevelInfosResultOutputWithContext added in v3.12.0

func (o GetHostEcsLevelInfosResultOutput) ToGetHostEcsLevelInfosResultOutputWithContext(ctx context.Context) GetHostEcsLevelInfosResultOutput

func (GetHostEcsLevelInfosResultOutput) ZoneId added in v3.12.0

type GetZonesArgs added in v3.12.0

type GetZonesArgs struct {
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getZones.

type GetZonesOutputArgs added in v3.12.0

type GetZonesOutputArgs struct {
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getZones.

func (GetZonesOutputArgs) ElementType added in v3.12.0

func (GetZonesOutputArgs) ElementType() reflect.Type

type GetZonesResult added in v3.12.0

type GetZonesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string         `pulumi:"id"`
	Ids        []string       `pulumi:"ids"`
	OutputFile *string        `pulumi:"outputFile"`
	Zones      []GetZonesZone `pulumi:"zones"`
}

A collection of values returned by getZones.

func GetZones added in v3.12.0

func GetZones(ctx *pulumi.Context, args *GetZonesArgs, opts ...pulumi.InvokeOption) (*GetZonesResult, error)

This data source provides the Cddc Zones of the current Alibaba Cloud user.

> **NOTE:** Available in v1.147.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cddc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := cddc.GetZones(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("cddcZonesId1", example.Zones[0].Id)
		return nil
	})
}

```

type GetZonesResultOutput added in v3.12.0

type GetZonesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getZones.

func GetZonesOutput added in v3.12.0

func GetZonesOutput(ctx *pulumi.Context, args GetZonesOutputArgs, opts ...pulumi.InvokeOption) GetZonesResultOutput

func (GetZonesResultOutput) ElementType added in v3.12.0

func (GetZonesResultOutput) ElementType() reflect.Type

func (GetZonesResultOutput) Id added in v3.12.0

The provider-assigned unique ID for this managed resource.

func (GetZonesResultOutput) Ids added in v3.12.0

func (GetZonesResultOutput) OutputFile added in v3.12.0

func (GetZonesResultOutput) ToGetZonesResultOutput added in v3.12.0

func (o GetZonesResultOutput) ToGetZonesResultOutput() GetZonesResultOutput

func (GetZonesResultOutput) ToGetZonesResultOutputWithContext added in v3.12.0

func (o GetZonesResultOutput) ToGetZonesResultOutputWithContext(ctx context.Context) GetZonesResultOutput

func (GetZonesResultOutput) Zones added in v3.12.0

type GetZonesZone added in v3.12.0

type GetZonesZone struct {
	// The ID of the zone.
	Id string `pulumi:"id"`
	// The ID of the region.
	RegionId string `pulumi:"regionId"`
	// The ID of the zone.
	ZoneId string `pulumi:"zoneId"`
}

type GetZonesZoneArgs added in v3.12.0

type GetZonesZoneArgs struct {
	// The ID of the zone.
	Id pulumi.StringInput `pulumi:"id"`
	// The ID of the region.
	RegionId pulumi.StringInput `pulumi:"regionId"`
	// The ID of the zone.
	ZoneId pulumi.StringInput `pulumi:"zoneId"`
}

func (GetZonesZoneArgs) ElementType added in v3.12.0

func (GetZonesZoneArgs) ElementType() reflect.Type

func (GetZonesZoneArgs) ToGetZonesZoneOutput added in v3.12.0

func (i GetZonesZoneArgs) ToGetZonesZoneOutput() GetZonesZoneOutput

func (GetZonesZoneArgs) ToGetZonesZoneOutputWithContext added in v3.12.0

func (i GetZonesZoneArgs) ToGetZonesZoneOutputWithContext(ctx context.Context) GetZonesZoneOutput

type GetZonesZoneArray added in v3.12.0

type GetZonesZoneArray []GetZonesZoneInput

func (GetZonesZoneArray) ElementType added in v3.12.0

func (GetZonesZoneArray) ElementType() reflect.Type

func (GetZonesZoneArray) ToGetZonesZoneArrayOutput added in v3.12.0

func (i GetZonesZoneArray) ToGetZonesZoneArrayOutput() GetZonesZoneArrayOutput

func (GetZonesZoneArray) ToGetZonesZoneArrayOutputWithContext added in v3.12.0

func (i GetZonesZoneArray) ToGetZonesZoneArrayOutputWithContext(ctx context.Context) GetZonesZoneArrayOutput

type GetZonesZoneArrayInput added in v3.12.0

type GetZonesZoneArrayInput interface {
	pulumi.Input

	ToGetZonesZoneArrayOutput() GetZonesZoneArrayOutput
	ToGetZonesZoneArrayOutputWithContext(context.Context) GetZonesZoneArrayOutput
}

GetZonesZoneArrayInput is an input type that accepts GetZonesZoneArray and GetZonesZoneArrayOutput values. You can construct a concrete instance of `GetZonesZoneArrayInput` via:

GetZonesZoneArray{ GetZonesZoneArgs{...} }

type GetZonesZoneArrayOutput added in v3.12.0

type GetZonesZoneArrayOutput struct{ *pulumi.OutputState }

func (GetZonesZoneArrayOutput) ElementType added in v3.12.0

func (GetZonesZoneArrayOutput) ElementType() reflect.Type

func (GetZonesZoneArrayOutput) Index added in v3.12.0

func (GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutput added in v3.12.0

func (o GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutput() GetZonesZoneArrayOutput

func (GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutputWithContext added in v3.12.0

func (o GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutputWithContext(ctx context.Context) GetZonesZoneArrayOutput

type GetZonesZoneInput added in v3.12.0

type GetZonesZoneInput interface {
	pulumi.Input

	ToGetZonesZoneOutput() GetZonesZoneOutput
	ToGetZonesZoneOutputWithContext(context.Context) GetZonesZoneOutput
}

GetZonesZoneInput is an input type that accepts GetZonesZoneArgs and GetZonesZoneOutput values. You can construct a concrete instance of `GetZonesZoneInput` via:

GetZonesZoneArgs{...}

type GetZonesZoneOutput added in v3.12.0

type GetZonesZoneOutput struct{ *pulumi.OutputState }

func (GetZonesZoneOutput) ElementType added in v3.12.0

func (GetZonesZoneOutput) ElementType() reflect.Type

func (GetZonesZoneOutput) Id added in v3.12.0

The ID of the zone.

func (GetZonesZoneOutput) RegionId added in v3.12.0

func (o GetZonesZoneOutput) RegionId() pulumi.StringOutput

The ID of the region.

func (GetZonesZoneOutput) ToGetZonesZoneOutput added in v3.12.0

func (o GetZonesZoneOutput) ToGetZonesZoneOutput() GetZonesZoneOutput

func (GetZonesZoneOutput) ToGetZonesZoneOutputWithContext added in v3.12.0

func (o GetZonesZoneOutput) ToGetZonesZoneOutputWithContext(ctx context.Context) GetZonesZoneOutput

func (GetZonesZoneOutput) ZoneId added in v3.12.0

The ID of the zone.

Jump to

Keyboard shortcuts

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