Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi
alicloud.cddc.getDedicatedHosts
Explore with Pulumi AI
This data source provides the Cddc Dedicated Hosts of the current Alibaba Cloud user.
NOTE: Available in v1.147.0+.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const ids = alicloud.cddc.getDedicatedHosts({
dedicatedHostGroupId: "example_value",
ids: [
"example_value-1",
"example_value-2",
],
});
export const cddcDedicatedHostId1 = ids.then(ids => ids.hosts?.[0]?.id);
const status = alicloud.cddc.getDedicatedHosts({
dedicatedHostGroupId: "example_value",
ids: [
"example_value-1",
"example_value-2",
],
status: "1",
});
export const cddcDedicatedHostId2 = status.then(status => status.hosts?.[0]?.id);
const zoneId = alicloud.cddc.getDedicatedHosts({
dedicatedHostGroupId: "example_value",
ids: [
"example_value-1",
"example_value-2",
],
zoneId: "example_value",
});
export const cddcDedicatedHostId3 = zoneId.then(zoneId => zoneId.hosts?.[0]?.id);
const allocationStatus = alicloud.cddc.getDedicatedHosts({
dedicatedHostGroupId: "example_value",
ids: [
"example_value-1",
"example_value-2",
],
allocationStatus: "Allocatable",
});
export const cddcDedicatedHostId4 = allocationStatus.then(allocationStatus => allocationStatus.hosts?.[0]?.id);
const hostType = alicloud.cddc.getDedicatedHosts({
dedicatedHostGroupId: "example_value",
ids: [
"example_value-1",
"example_value-2",
],
hostType: "dhg_cloud_ssd",
});
export const cddcDedicatedHostId5 = hostType.then(hostType => hostType.hosts?.[0]?.id);
import pulumi
import pulumi_alicloud as alicloud
ids = alicloud.cddc.get_dedicated_hosts(dedicated_host_group_id="example_value",
ids=[
"example_value-1",
"example_value-2",
])
pulumi.export("cddcDedicatedHostId1", ids.hosts[0].id)
status = alicloud.cddc.get_dedicated_hosts(dedicated_host_group_id="example_value",
ids=[
"example_value-1",
"example_value-2",
],
status="1")
pulumi.export("cddcDedicatedHostId2", status.hosts[0].id)
zone_id = alicloud.cddc.get_dedicated_hosts(dedicated_host_group_id="example_value",
ids=[
"example_value-1",
"example_value-2",
],
zone_id="example_value")
pulumi.export("cddcDedicatedHostId3", zone_id.hosts[0].id)
allocation_status = alicloud.cddc.get_dedicated_hosts(dedicated_host_group_id="example_value",
ids=[
"example_value-1",
"example_value-2",
],
allocation_status="Allocatable")
pulumi.export("cddcDedicatedHostId4", allocation_status.hosts[0].id)
host_type = alicloud.cddc.get_dedicated_hosts(dedicated_host_group_id="example_value",
ids=[
"example_value-1",
"example_value-2",
],
host_type="dhg_cloud_ssd")
pulumi.export("cddcDedicatedHostId5", host_type.hosts[0].id)
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
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var ids = AliCloud.Cddc.GetDedicatedHosts.Invoke(new()
{
DedicatedHostGroupId = "example_value",
Ids = new[]
{
"example_value-1",
"example_value-2",
},
});
var status = AliCloud.Cddc.GetDedicatedHosts.Invoke(new()
{
DedicatedHostGroupId = "example_value",
Ids = new[]
{
"example_value-1",
"example_value-2",
},
Status = "1",
});
var zoneId = AliCloud.Cddc.GetDedicatedHosts.Invoke(new()
{
DedicatedHostGroupId = "example_value",
Ids = new[]
{
"example_value-1",
"example_value-2",
},
ZoneId = "example_value",
});
var allocationStatus = AliCloud.Cddc.GetDedicatedHosts.Invoke(new()
{
DedicatedHostGroupId = "example_value",
Ids = new[]
{
"example_value-1",
"example_value-2",
},
AllocationStatus = "Allocatable",
});
var hostType = AliCloud.Cddc.GetDedicatedHosts.Invoke(new()
{
DedicatedHostGroupId = "example_value",
Ids = new[]
{
"example_value-1",
"example_value-2",
},
HostType = "dhg_cloud_ssd",
});
return new Dictionary<string, object?>
{
["cddcDedicatedHostId1"] = ids.Apply(getDedicatedHostsResult => getDedicatedHostsResult.Hosts[0]?.Id),
["cddcDedicatedHostId2"] = status.Apply(getDedicatedHostsResult => getDedicatedHostsResult.Hosts[0]?.Id),
["cddcDedicatedHostId3"] = zoneId.Apply(getDedicatedHostsResult => getDedicatedHostsResult.Hosts[0]?.Id),
["cddcDedicatedHostId4"] = allocationStatus.Apply(getDedicatedHostsResult => getDedicatedHostsResult.Hosts[0]?.Id),
["cddcDedicatedHostId5"] = hostType.Apply(getDedicatedHostsResult => getDedicatedHostsResult.Hosts[0]?.Id),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.cddc.CddcFunctions;
import com.pulumi.alicloud.cddc.inputs.GetDedicatedHostsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var ids = CddcFunctions.getDedicatedHosts(GetDedicatedHostsArgs.builder()
.dedicatedHostGroupId("example_value")
.ids(
"example_value-1",
"example_value-2")
.build());
ctx.export("cddcDedicatedHostId1", ids.applyValue(getDedicatedHostsResult -> getDedicatedHostsResult.hosts()[0].id()));
final var status = CddcFunctions.getDedicatedHosts(GetDedicatedHostsArgs.builder()
.dedicatedHostGroupId("example_value")
.ids(
"example_value-1",
"example_value-2")
.status("1")
.build());
ctx.export("cddcDedicatedHostId2", status.applyValue(getDedicatedHostsResult -> getDedicatedHostsResult.hosts()[0].id()));
final var zoneId = CddcFunctions.getDedicatedHosts(GetDedicatedHostsArgs.builder()
.dedicatedHostGroupId("example_value")
.ids(
"example_value-1",
"example_value-2")
.zoneId("example_value")
.build());
ctx.export("cddcDedicatedHostId3", zoneId.applyValue(getDedicatedHostsResult -> getDedicatedHostsResult.hosts()[0].id()));
final var allocationStatus = CddcFunctions.getDedicatedHosts(GetDedicatedHostsArgs.builder()
.dedicatedHostGroupId("example_value")
.ids(
"example_value-1",
"example_value-2")
.allocationStatus("Allocatable")
.build());
ctx.export("cddcDedicatedHostId4", allocationStatus.applyValue(getDedicatedHostsResult -> getDedicatedHostsResult.hosts()[0].id()));
final var hostType = CddcFunctions.getDedicatedHosts(GetDedicatedHostsArgs.builder()
.dedicatedHostGroupId("example_value")
.ids(
"example_value-1",
"example_value-2")
.hostType("dhg_cloud_ssd")
.build());
ctx.export("cddcDedicatedHostId5", hostType.applyValue(getDedicatedHostsResult -> getDedicatedHostsResult.hosts()[0].id()));
}
}
variables:
ids:
fn::invoke:
Function: alicloud:cddc:getDedicatedHosts
Arguments:
dedicatedHostGroupId: example_value
ids:
- example_value-1
- example_value-2
status:
fn::invoke:
Function: alicloud:cddc:getDedicatedHosts
Arguments:
dedicatedHostGroupId: example_value
ids:
- example_value-1
- example_value-2
status: '1'
zoneId:
fn::invoke:
Function: alicloud:cddc:getDedicatedHosts
Arguments:
dedicatedHostGroupId: example_value
ids:
- example_value-1
- example_value-2
zoneId: example_value
allocationStatus:
fn::invoke:
Function: alicloud:cddc:getDedicatedHosts
Arguments:
dedicatedHostGroupId: example_value
ids:
- example_value-1
- example_value-2
allocationStatus: Allocatable
hostType:
fn::invoke:
Function: alicloud:cddc:getDedicatedHosts
Arguments:
dedicatedHostGroupId: example_value
ids:
- example_value-1
- example_value-2
hostType: dhg_cloud_ssd
outputs:
cddcDedicatedHostId1: ${ids.hosts[0].id}
cddcDedicatedHostId2: ${status.hosts[0].id}
cddcDedicatedHostId3: ${zoneId.hosts[0].id}
cddcDedicatedHostId4: ${allocationStatus.hosts[0].id}
cddcDedicatedHostId5: ${hostType.hosts[0].id}
Using getDedicatedHosts
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDedicatedHosts(args: GetDedicatedHostsArgs, opts?: InvokeOptions): Promise<GetDedicatedHostsResult>
function getDedicatedHostsOutput(args: GetDedicatedHostsOutputArgs, opts?: InvokeOptions): Output<GetDedicatedHostsResult>
def get_dedicated_hosts(allocation_status: Optional[str] = None,
dedicated_host_group_id: Optional[str] = None,
enable_details: Optional[bool] = None,
host_type: Optional[str] = None,
ids: Optional[Sequence[str]] = None,
order_id: Optional[str] = None,
output_file: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
zone_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDedicatedHostsResult
def get_dedicated_hosts_output(allocation_status: Optional[pulumi.Input[str]] = None,
dedicated_host_group_id: Optional[pulumi.Input[str]] = None,
enable_details: Optional[pulumi.Input[bool]] = None,
host_type: Optional[pulumi.Input[str]] = None,
ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
order_id: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
zone_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDedicatedHostsResult]
func GetDedicatedHosts(ctx *Context, args *GetDedicatedHostsArgs, opts ...InvokeOption) (*GetDedicatedHostsResult, error)
func GetDedicatedHostsOutput(ctx *Context, args *GetDedicatedHostsOutputArgs, opts ...InvokeOption) GetDedicatedHostsResultOutput
> Note: This function is named GetDedicatedHosts
in the Go SDK.
public static class GetDedicatedHosts
{
public static Task<GetDedicatedHostsResult> InvokeAsync(GetDedicatedHostsArgs args, InvokeOptions? opts = null)
public static Output<GetDedicatedHostsResult> Invoke(GetDedicatedHostsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDedicatedHostsResult> getDedicatedHosts(GetDedicatedHostsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: alicloud:cddc/getDedicatedHosts:getDedicatedHosts
arguments:
# arguments dictionary
The following arguments are supported:
- Dedicated
Host stringGroup Id - The ID of the dedicated cluster.
- Allocation
Status string - Specifies whether instances can be created on the host. Valid values:
Allocatable
orSuspended
.Allocatable
: Instances can be created on the host.Suspended
: Instances cannot be created on the host. - Enable
Details bool - Default to
false
. Set it totrue
can output more details about resource attributes. - Host
Type string - The storage type of the host. Valid values:
dhg_local_ssd
ordhg_cloud_ssd
.dhg_local_ssd
: specifies that the host uses local SSDs.dhg_cloud_ssd
: specifies that the host uses enhanced SSDs (ESSDs). - Ids List<string>
- A list of Dedicated Host IDs.
- Order
Id string - The ID of the order.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - Status string
- The state of the host. Valid values:
0:
The host is being created.
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- Zone
Id string - The ID of the zone.
- Dedicated
Host stringGroup Id - The ID of the dedicated cluster.
- Allocation
Status string - Specifies whether instances can be created on the host. Valid values:
Allocatable
orSuspended
.Allocatable
: Instances can be created on the host.Suspended
: Instances cannot be created on the host. - Enable
Details bool - Default to
false
. Set it totrue
can output more details about resource attributes. - Host
Type string - The storage type of the host. Valid values:
dhg_local_ssd
ordhg_cloud_ssd
.dhg_local_ssd
: specifies that the host uses local SSDs.dhg_cloud_ssd
: specifies that the host uses enhanced SSDs (ESSDs). - Ids []string
- A list of Dedicated Host IDs.
- Order
Id string - The ID of the order.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - Status string
- The state of the host. Valid values:
0:
The host is being created.
- map[string]string
- A mapping of tags to assign to the resource.
- Zone
Id string - The ID of the zone.
- dedicated
Host StringGroup Id - The ID of the dedicated cluster.
- allocation
Status String - Specifies whether instances can be created on the host. Valid values:
Allocatable
orSuspended
.Allocatable
: Instances can be created on the host.Suspended
: Instances cannot be created on the host. - enable
Details Boolean - Default to
false
. Set it totrue
can output more details about resource attributes. - host
Type String - The storage type of the host. Valid values:
dhg_local_ssd
ordhg_cloud_ssd
.dhg_local_ssd
: specifies that the host uses local SSDs.dhg_cloud_ssd
: specifies that the host uses enhanced SSDs (ESSDs). - ids List<String>
- A list of Dedicated Host IDs.
- order
Id String - The ID of the order.
- output
File String - File name where to save data source results (after running
pulumi preview
). - status String
- The state of the host. Valid values:
0:
The host is being created.
- Map<String,String>
- A mapping of tags to assign to the resource.
- zone
Id String - The ID of the zone.
- dedicated
Host stringGroup Id - The ID of the dedicated cluster.
- allocation
Status string - Specifies whether instances can be created on the host. Valid values:
Allocatable
orSuspended
.Allocatable
: Instances can be created on the host.Suspended
: Instances cannot be created on the host. - enable
Details boolean - Default to
false
. Set it totrue
can output more details about resource attributes. - host
Type string - The storage type of the host. Valid values:
dhg_local_ssd
ordhg_cloud_ssd
.dhg_local_ssd
: specifies that the host uses local SSDs.dhg_cloud_ssd
: specifies that the host uses enhanced SSDs (ESSDs). - ids string[]
- A list of Dedicated Host IDs.
- order
Id string - The ID of the order.
- output
File string - File name where to save data source results (after running
pulumi preview
). - status string
- The state of the host. Valid values:
0:
The host is being created.
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- zone
Id string - The ID of the zone.
- dedicated_
host_ strgroup_ id - The ID of the dedicated cluster.
- allocation_
status str - Specifies whether instances can be created on the host. Valid values:
Allocatable
orSuspended
.Allocatable
: Instances can be created on the host.Suspended
: Instances cannot be created on the host. - enable_
details bool - Default to
false
. Set it totrue
can output more details about resource attributes. - host_
type str - The storage type of the host. Valid values:
dhg_local_ssd
ordhg_cloud_ssd
.dhg_local_ssd
: specifies that the host uses local SSDs.dhg_cloud_ssd
: specifies that the host uses enhanced SSDs (ESSDs). - ids Sequence[str]
- A list of Dedicated Host IDs.
- order_
id str - The ID of the order.
- output_
file str - File name where to save data source results (after running
pulumi preview
). - status str
- The state of the host. Valid values:
0:
The host is being created.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- zone_
id str - The ID of the zone.
- dedicated
Host StringGroup Id - The ID of the dedicated cluster.
- allocation
Status String - Specifies whether instances can be created on the host. Valid values:
Allocatable
orSuspended
.Allocatable
: Instances can be created on the host.Suspended
: Instances cannot be created on the host. - enable
Details Boolean - Default to
false
. Set it totrue
can output more details about resource attributes. - host
Type String - The storage type of the host. Valid values:
dhg_local_ssd
ordhg_cloud_ssd
.dhg_local_ssd
: specifies that the host uses local SSDs.dhg_cloud_ssd
: specifies that the host uses enhanced SSDs (ESSDs). - ids List<String>
- A list of Dedicated Host IDs.
- order
Id String - The ID of the order.
- output
File String - File name where to save data source results (after running
pulumi preview
). - status String
- The state of the host. Valid values:
0:
The host is being created.
- Map<String>
- A mapping of tags to assign to the resource.
- zone
Id String - The ID of the zone.
getDedicatedHosts Result
The following output properties are available:
- Dedicated
Host stringGroup Id - Hosts
List<Pulumi.
Ali Cloud. Cddc. Outputs. Get Dedicated Hosts Host> - Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- Allocation
Status string - Enable
Details bool - Host
Type string - Order
Id string - Output
File string - Status string
- Dictionary<string, string>
- Zone
Id string
- Dedicated
Host stringGroup Id - Hosts
[]Get
Dedicated Hosts Host - Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- Allocation
Status string - Enable
Details bool - Host
Type string - Order
Id string - Output
File string - Status string
- map[string]string
- Zone
Id string
- dedicated
Host StringGroup Id - hosts
List<Get
Dedicated Hosts Host> - id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- allocation
Status String - enable
Details Boolean - host
Type String - order
Id String - output
File String - status String
- Map<String,String>
- zone
Id String
- dedicated
Host stringGroup Id - hosts
Get
Dedicated Hosts Host[] - id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- allocation
Status string - enable
Details boolean - host
Type string - order
Id string - output
File string - status string
- {[key: string]: string}
- zone
Id string
- dedicated_
host_ strgroup_ id - hosts
Sequence[Get
Dedicated Hosts Host] - id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- allocation_
status str - enable_
details bool - host_
type str - order_
id str - output_
file str - status str
- Mapping[str, str]
- zone_
id str
- dedicated
Host StringGroup Id - hosts List<Property Map>
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- allocation
Status String - enable
Details Boolean - host
Type String - order
Id String - output
File String - status String
- Map<String>
- zone
Id String
Supporting Types
GetDedicatedHostsHost
- Allocation
Status string - Specifies whether instances can be created on the host. Valid values:
1
or0
.1
: Instances can be created on the host.0
: Instances cannot be created on the host. - Bastion
Instance stringId - The ID of the bastion host with which the host is associated.
- Cpu
Allocation stringRatio - The numeric value of the CPU over commit ratio of the dedicated cluster.
- Cpu
Used string - The number of CPU cores used by the host.
- Create
Time string - 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. - Dedicated
Host stringGroup Id - The ID of the dedicated cluster in which the host is created.
- Dedicated
Host stringId - The ID of the host.
- Disk
Allocation stringRatio - The disk usage in percentage.
- Ecs
Class stringCode - The Elastic Compute Service (ECS) instance type.
- End
Time string - 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. - Engine string
- The type of the database engine that is used by the host.
- Expired
Time string - 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. - Host
Class string - The instance type of the host.
- Host
Cpu string - The number of CPU cores specified for the host. Unit:
core
. - Host
Mem string - The memory of the host. Unit:
GB
. - Host
Name string - The name of the host.
- Host
Storage string - The total storage capacity of the host. Unit:
GB
. - Host
Type string - The storage type of the host.
- Id string
- The ID of the Dedicated Host. The value formats as
<dedicated_host_group_id>:<dedicated_host_id>
. - Image
Category string - The image type of the host.
- Ip
Address string - The IP address of the host.
- Mem
Allocation stringRatio - The memory usage in percentage.
- Memory
Used string - The amount of memory used by the host. Unit:
GB
. - Open
Permission string - 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. - Status string
- The state of the host.
- Storage
Used string - The storage usage of the host. Unit:
GB
. - Dictionary<string, string>
- The tag of the resource.
- Vpc
Id string - The ID of the virtual private cloud (VPC) to which the host is connected.
- Vswitch
Id string - The ID of the vSwitch.
- Zone
Id string - The zone ID of the host.
- Allocation
Status string - Specifies whether instances can be created on the host. Valid values:
1
or0
.1
: Instances can be created on the host.0
: Instances cannot be created on the host. - Bastion
Instance stringId - The ID of the bastion host with which the host is associated.
- Cpu
Allocation stringRatio - The numeric value of the CPU over commit ratio of the dedicated cluster.
- Cpu
Used string - The number of CPU cores used by the host.
- Create
Time string - 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. - Dedicated
Host stringGroup Id - The ID of the dedicated cluster in which the host is created.
- Dedicated
Host stringId - The ID of the host.
- Disk
Allocation stringRatio - The disk usage in percentage.
- Ecs
Class stringCode - The Elastic Compute Service (ECS) instance type.
- End
Time string - 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. - Engine string
- The type of the database engine that is used by the host.
- Expired
Time string - 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. - Host
Class string - The instance type of the host.
- Host
Cpu string - The number of CPU cores specified for the host. Unit:
core
. - Host
Mem string - The memory of the host. Unit:
GB
. - Host
Name string - The name of the host.
- Host
Storage string - The total storage capacity of the host. Unit:
GB
. - Host
Type string - The storage type of the host.
- Id string
- The ID of the Dedicated Host. The value formats as
<dedicated_host_group_id>:<dedicated_host_id>
. - Image
Category string - The image type of the host.
- Ip
Address string - The IP address of the host.
- Mem
Allocation stringRatio - The memory usage in percentage.
- Memory
Used string - The amount of memory used by the host. Unit:
GB
. - Open
Permission string - 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. - Status string
- The state of the host.
- Storage
Used string - The storage usage of the host. Unit:
GB
. - map[string]string
- The tag of the resource.
- Vpc
Id string - The ID of the virtual private cloud (VPC) to which the host is connected.
- Vswitch
Id string - The ID of the vSwitch.
- Zone
Id string - The zone ID of the host.
- allocation
Status String - Specifies whether instances can be created on the host. Valid values:
1
or0
.1
: Instances can be created on the host.0
: Instances cannot be created on the host. - bastion
Instance StringId - The ID of the bastion host with which the host is associated.
- cpu
Allocation StringRatio - The numeric value of the CPU over commit ratio of the dedicated cluster.
- cpu
Used String - The number of CPU cores used by the host.
- create
Time String - 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. - dedicated
Host StringGroup Id - The ID of the dedicated cluster in which the host is created.
- dedicated
Host StringId - The ID of the host.
- disk
Allocation StringRatio - The disk usage in percentage.
- ecs
Class StringCode - The Elastic Compute Service (ECS) instance type.
- end
Time String - 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. - engine String
- The type of the database engine that is used by the host.
- expired
Time String - 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. - host
Class String - The instance type of the host.
- host
Cpu String - The number of CPU cores specified for the host. Unit:
core
. - host
Mem String - The memory of the host. Unit:
GB
. - host
Name String - The name of the host.
- host
Storage String - The total storage capacity of the host. Unit:
GB
. - host
Type String - The storage type of the host.
- id String
- The ID of the Dedicated Host. The value formats as
<dedicated_host_group_id>:<dedicated_host_id>
. - image
Category String - The image type of the host.
- ip
Address String - The IP address of the host.
- mem
Allocation StringRatio - The memory usage in percentage.
- memory
Used String - The amount of memory used by the host. Unit:
GB
. - open
Permission String - 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. - status String
- The state of the host.
- storage
Used String - The storage usage of the host. Unit:
GB
. - Map<String,String>
- The tag of the resource.
- vpc
Id String - The ID of the virtual private cloud (VPC) to which the host is connected.
- vswitch
Id String - The ID of the vSwitch.
- zone
Id String - The zone ID of the host.
- allocation
Status string - Specifies whether instances can be created on the host. Valid values:
1
or0
.1
: Instances can be created on the host.0
: Instances cannot be created on the host. - bastion
Instance stringId - The ID of the bastion host with which the host is associated.
- cpu
Allocation stringRatio - The numeric value of the CPU over commit ratio of the dedicated cluster.
- cpu
Used string - The number of CPU cores used by the host.
- create
Time string - 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. - dedicated
Host stringGroup Id - The ID of the dedicated cluster in which the host is created.
- dedicated
Host stringId - The ID of the host.
- disk
Allocation stringRatio - The disk usage in percentage.
- ecs
Class stringCode - The Elastic Compute Service (ECS) instance type.
- end
Time string - 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. - engine string
- The type of the database engine that is used by the host.
- expired
Time string - 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. - host
Class string - The instance type of the host.
- host
Cpu string - The number of CPU cores specified for the host. Unit:
core
. - host
Mem string - The memory of the host. Unit:
GB
. - host
Name string - The name of the host.
- host
Storage string - The total storage capacity of the host. Unit:
GB
. - host
Type string - The storage type of the host.
- id string
- The ID of the Dedicated Host. The value formats as
<dedicated_host_group_id>:<dedicated_host_id>
. - image
Category string - The image type of the host.
- ip
Address string - The IP address of the host.
- mem
Allocation stringRatio - The memory usage in percentage.
- memory
Used string - The amount of memory used by the host. Unit:
GB
. - open
Permission string - 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. - status string
- The state of the host.
- storage
Used string - The storage usage of the host. Unit:
GB
. - {[key: string]: string}
- The tag of the resource.
- vpc
Id string - The ID of the virtual private cloud (VPC) to which the host is connected.
- vswitch
Id string - The ID of the vSwitch.
- zone
Id string - The zone ID of the host.
- allocation_
status str - Specifies whether instances can be created on the host. Valid values:
1
or0
.1
: Instances can be created on the host.0
: Instances cannot be created on the host. - bastion_
instance_ strid - The ID of the bastion host with which the host is associated.
- cpu_
allocation_ strratio - The numeric value of the CPU over commit ratio of the dedicated cluster.
- cpu_
used str - The number of CPU cores used by the host.
- create_
time str - 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. - dedicated_
host_ strgroup_ id - The ID of the dedicated cluster in which the host is created.
- dedicated_
host_ strid - The ID of the host.
- disk_
allocation_ strratio - The disk usage in percentage.
- ecs_
class_ strcode - The Elastic Compute Service (ECS) instance type.
- end_
time str - 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. - engine str
- The type of the database engine that is used by the host.
- expired_
time str - 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. - host_
class str - The instance type of the host.
- host_
cpu str - The number of CPU cores specified for the host. Unit:
core
. - host_
mem str - The memory of the host. Unit:
GB
. - host_
name str - The name of the host.
- host_
storage str - The total storage capacity of the host. Unit:
GB
. - host_
type str - The storage type of the host.
- id str
- The ID of the Dedicated Host. The value formats as
<dedicated_host_group_id>:<dedicated_host_id>
. - image_
category str - The image type of the host.
- ip_
address str - The IP address of the host.
- mem_
allocation_ strratio - The memory usage in percentage.
- memory_
used str - The amount of memory used by the host. Unit:
GB
. - open_
permission str - 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. - status str
- The state of the host.
- storage_
used str - The storage usage of the host. Unit:
GB
. - Mapping[str, str]
- The tag of the resource.
- vpc_
id str - The ID of the virtual private cloud (VPC) to which the host is connected.
- vswitch_
id str - The ID of the vSwitch.
- zone_
id str - The zone ID of the host.
- allocation
Status String - Specifies whether instances can be created on the host. Valid values:
1
or0
.1
: Instances can be created on the host.0
: Instances cannot be created on the host. - bastion
Instance StringId - The ID of the bastion host with which the host is associated.
- cpu
Allocation StringRatio - The numeric value of the CPU over commit ratio of the dedicated cluster.
- cpu
Used String - The number of CPU cores used by the host.
- create
Time String - 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. - dedicated
Host StringGroup Id - The ID of the dedicated cluster in which the host is created.
- dedicated
Host StringId - The ID of the host.
- disk
Allocation StringRatio - The disk usage in percentage.
- ecs
Class StringCode - The Elastic Compute Service (ECS) instance type.
- end
Time String - 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. - engine String
- The type of the database engine that is used by the host.
- expired
Time String - 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. - host
Class String - The instance type of the host.
- host
Cpu String - The number of CPU cores specified for the host. Unit:
core
. - host
Mem String - The memory of the host. Unit:
GB
. - host
Name String - The name of the host.
- host
Storage String - The total storage capacity of the host. Unit:
GB
. - host
Type String - The storage type of the host.
- id String
- The ID of the Dedicated Host. The value formats as
<dedicated_host_group_id>:<dedicated_host_id>
. - image
Category String - The image type of the host.
- ip
Address String - The IP address of the host.
- mem
Allocation StringRatio - The memory usage in percentage.
- memory
Used String - The amount of memory used by the host. Unit:
GB
. - open
Permission String - 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. - status String
- The state of the host.
- storage
Used String - The storage usage of the host. Unit:
GB
. - Map<String>
- The tag of the resource.
- vpc
Id String - The ID of the virtual private cloud (VPC) to which the host is connected.
- vswitch
Id String - The ID of the vSwitch.
- zone
Id String - The zone ID of the host.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.