Alibaba Cloud v3.51.0 published on Saturday, Mar 23, 2024 by Pulumi
alicloud.ecs.getInstanceTypes
Explore with Pulumi AI
This data source provides the ECS instance types of Alibaba Cloud.
NOTE: By default, only the upgraded instance types are returned. If you want to get outdated instance types, you must set
is_outdated
to true.
NOTE: If one instance type is sold out, it will not be exported.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const typesDs = alicloud.ecs.getInstanceTypes({
cpuCoreCount: 1,
memorySize: 2,
});
const instance = new alicloud.ecs.Instance("instance", {instanceType: typesDs.then(typesDs => typesDs.instanceTypes?.[0]?.id)});
import pulumi
import pulumi_alicloud as alicloud
types_ds = alicloud.ecs.get_instance_types(cpu_core_count=1,
memory_size=2)
instance = alicloud.ecs.Instance("instance", instance_type=types_ds.instance_types[0].id)
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
typesDs, err := ecs.GetInstanceTypes(ctx, &ecs.GetInstanceTypesArgs{
CpuCoreCount: pulumi.IntRef(1),
MemorySize: pulumi.Float64Ref(2),
}, nil)
if err != nil {
return err
}
_, err = ecs.NewInstance(ctx, "instance", &ecs.InstanceArgs{
InstanceType: pulumi.String(typesDs.InstanceTypes[0].Id),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var typesDs = AliCloud.Ecs.GetInstanceTypes.Invoke(new()
{
CpuCoreCount = 1,
MemorySize = 2,
});
var instance = new AliCloud.Ecs.Instance("instance", new()
{
InstanceType = typesDs.Apply(getInstanceTypesResult => getInstanceTypesResult.InstanceTypes[0]?.Id),
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.ecs.EcsFunctions;
import com.pulumi.alicloud.ecs.inputs.GetInstanceTypesArgs;
import com.pulumi.alicloud.ecs.Instance;
import com.pulumi.alicloud.ecs.InstanceArgs;
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 typesDs = EcsFunctions.getInstanceTypes(GetInstanceTypesArgs.builder()
.cpuCoreCount(1)
.memorySize(2)
.build());
var instance = new Instance("instance", InstanceArgs.builder()
.instanceType(typesDs.applyValue(getInstanceTypesResult -> getInstanceTypesResult.instanceTypes()[0].id()))
.build());
}
}
resources:
instance:
type: alicloud:ecs:Instance
properties:
instanceType: ${typesDs.instanceTypes[0].id}
variables:
typesDs:
fn::invoke:
Function: alicloud:ecs:getInstanceTypes
Arguments:
cpuCoreCount: 1
memorySize: 2
Using getInstanceTypes
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 getInstanceTypes(args: GetInstanceTypesArgs, opts?: InvokeOptions): Promise<GetInstanceTypesResult>
function getInstanceTypesOutput(args: GetInstanceTypesOutputArgs, opts?: InvokeOptions): Output<GetInstanceTypesResult>
def get_instance_types(availability_zone: Optional[str] = None,
cpu_core_count: Optional[int] = None,
eni_amount: Optional[int] = None,
gpu_amount: Optional[int] = None,
gpu_spec: Optional[str] = None,
image_id: Optional[str] = None,
instance_charge_type: Optional[str] = None,
instance_type_family: Optional[str] = None,
is_outdated: Optional[bool] = None,
kubernetes_node_role: Optional[str] = None,
memory_size: Optional[float] = None,
minimum_eni_ipv6_address_quantity: Optional[int] = None,
network_type: Optional[str] = None,
output_file: Optional[str] = None,
sorted_by: Optional[str] = None,
spot_strategy: Optional[str] = None,
system_disk_category: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInstanceTypesResult
def get_instance_types_output(availability_zone: Optional[pulumi.Input[str]] = None,
cpu_core_count: Optional[pulumi.Input[int]] = None,
eni_amount: Optional[pulumi.Input[int]] = None,
gpu_amount: Optional[pulumi.Input[int]] = None,
gpu_spec: Optional[pulumi.Input[str]] = None,
image_id: Optional[pulumi.Input[str]] = None,
instance_charge_type: Optional[pulumi.Input[str]] = None,
instance_type_family: Optional[pulumi.Input[str]] = None,
is_outdated: Optional[pulumi.Input[bool]] = None,
kubernetes_node_role: Optional[pulumi.Input[str]] = None,
memory_size: Optional[pulumi.Input[float]] = None,
minimum_eni_ipv6_address_quantity: Optional[pulumi.Input[int]] = None,
network_type: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
sorted_by: Optional[pulumi.Input[str]] = None,
spot_strategy: Optional[pulumi.Input[str]] = None,
system_disk_category: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInstanceTypesResult]
func GetInstanceTypes(ctx *Context, args *GetInstanceTypesArgs, opts ...InvokeOption) (*GetInstanceTypesResult, error)
func GetInstanceTypesOutput(ctx *Context, args *GetInstanceTypesOutputArgs, opts ...InvokeOption) GetInstanceTypesResultOutput
> Note: This function is named GetInstanceTypes
in the Go SDK.
public static class GetInstanceTypes
{
public static Task<GetInstanceTypesResult> InvokeAsync(GetInstanceTypesArgs args, InvokeOptions? opts = null)
public static Output<GetInstanceTypesResult> Invoke(GetInstanceTypesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetInstanceTypesResult> getInstanceTypes(GetInstanceTypesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: alicloud:ecs/getInstanceTypes:getInstanceTypes
arguments:
# arguments dictionary
The following arguments are supported:
- Availability
Zone string - The zone where instance types are supported.
- Cpu
Core intCount - Filter the results to a specific number of cpu cores.
- Eni
Amount int - Filter the result whose network interface number is no more than
eni_amount
. - Gpu
Amount int - The GPU amount of an instance type.
- Gpu
Spec string - The GPU spec of an instance type.
- Image
Id string - The ID of the image.
- Instance
Charge stringType - Filter the results by charge type. Valid values:
PrePaid
andPostPaid
. Default toPostPaid
. - Instance
Type stringFamily - Filter the results based on their family name. For example: 'ecs.n4'.
- Is
Outdated bool - If true, outdated instance types are included in the results. Default to false.
- Kubernetes
Node stringRole - Filter the result which is used to create a kubernetes cluster
and managed kubernetes cluster. Optional Values:
Master
andWorker
. - Memory
Size double - Filter the results to a specific memory size in GB.
- Minimum
Eni intIpv6Address Quantity - The minimum number of IPv6 addresses per ENI. Note: If an instance type supports fewer IPv6 addresses per ENI than the specified value, information about the instance type is not queried.
- Network
Type string - Filter the results by network type. Valid values:
Classic
andVpc
. - Output
File string - File name where to save data source results (after running
pulumi preview
). - Sorted
By string - Spot
Strategy string - Filter the results by ECS spot type. Valid values:
NoSpot
,SpotWithPriceLimit
andSpotAsPriceGo
. Default toNoSpot
. - System
Disk stringCategory - Filter the results by system disk category. Valid values:
cloud
,ephemeral_ssd
,cloud_essd
,cloud_efficiency
,cloud_ssd
,cloud_essd_entry
. NOTE: Its default valuecloud_efficiency
has been removed from the version v1.150.0.
- Availability
Zone string - The zone where instance types are supported.
- Cpu
Core intCount - Filter the results to a specific number of cpu cores.
- Eni
Amount int - Filter the result whose network interface number is no more than
eni_amount
. - Gpu
Amount int - The GPU amount of an instance type.
- Gpu
Spec string - The GPU spec of an instance type.
- Image
Id string - The ID of the image.
- Instance
Charge stringType - Filter the results by charge type. Valid values:
PrePaid
andPostPaid
. Default toPostPaid
. - Instance
Type stringFamily - Filter the results based on their family name. For example: 'ecs.n4'.
- Is
Outdated bool - If true, outdated instance types are included in the results. Default to false.
- Kubernetes
Node stringRole - Filter the result which is used to create a kubernetes cluster
and managed kubernetes cluster. Optional Values:
Master
andWorker
. - Memory
Size float64 - Filter the results to a specific memory size in GB.
- Minimum
Eni intIpv6Address Quantity - The minimum number of IPv6 addresses per ENI. Note: If an instance type supports fewer IPv6 addresses per ENI than the specified value, information about the instance type is not queried.
- Network
Type string - Filter the results by network type. Valid values:
Classic
andVpc
. - Output
File string - File name where to save data source results (after running
pulumi preview
). - Sorted
By string - Spot
Strategy string - Filter the results by ECS spot type. Valid values:
NoSpot
,SpotWithPriceLimit
andSpotAsPriceGo
. Default toNoSpot
. - System
Disk stringCategory - Filter the results by system disk category. Valid values:
cloud
,ephemeral_ssd
,cloud_essd
,cloud_efficiency
,cloud_ssd
,cloud_essd_entry
. NOTE: Its default valuecloud_efficiency
has been removed from the version v1.150.0.
- availability
Zone String - The zone where instance types are supported.
- cpu
Core IntegerCount - Filter the results to a specific number of cpu cores.
- eni
Amount Integer - Filter the result whose network interface number is no more than
eni_amount
. - gpu
Amount Integer - The GPU amount of an instance type.
- gpu
Spec String - The GPU spec of an instance type.
- image
Id String - The ID of the image.
- instance
Charge StringType - Filter the results by charge type. Valid values:
PrePaid
andPostPaid
. Default toPostPaid
. - instance
Type StringFamily - Filter the results based on their family name. For example: 'ecs.n4'.
- is
Outdated Boolean - If true, outdated instance types are included in the results. Default to false.
- kubernetes
Node StringRole - Filter the result which is used to create a kubernetes cluster
and managed kubernetes cluster. Optional Values:
Master
andWorker
. - memory
Size Double - Filter the results to a specific memory size in GB.
- minimum
Eni IntegerIpv6Address Quantity - The minimum number of IPv6 addresses per ENI. Note: If an instance type supports fewer IPv6 addresses per ENI than the specified value, information about the instance type is not queried.
- network
Type String - Filter the results by network type. Valid values:
Classic
andVpc
. - output
File String - File name where to save data source results (after running
pulumi preview
). - sorted
By String - spot
Strategy String - Filter the results by ECS spot type. Valid values:
NoSpot
,SpotWithPriceLimit
andSpotAsPriceGo
. Default toNoSpot
. - system
Disk StringCategory - Filter the results by system disk category. Valid values:
cloud
,ephemeral_ssd
,cloud_essd
,cloud_efficiency
,cloud_ssd
,cloud_essd_entry
. NOTE: Its default valuecloud_efficiency
has been removed from the version v1.150.0.
- availability
Zone string - The zone where instance types are supported.
- cpu
Core numberCount - Filter the results to a specific number of cpu cores.
- eni
Amount number - Filter the result whose network interface number is no more than
eni_amount
. - gpu
Amount number - The GPU amount of an instance type.
- gpu
Spec string - The GPU spec of an instance type.
- image
Id string - The ID of the image.
- instance
Charge stringType - Filter the results by charge type. Valid values:
PrePaid
andPostPaid
. Default toPostPaid
. - instance
Type stringFamily - Filter the results based on their family name. For example: 'ecs.n4'.
- is
Outdated boolean - If true, outdated instance types are included in the results. Default to false.
- kubernetes
Node stringRole - Filter the result which is used to create a kubernetes cluster
and managed kubernetes cluster. Optional Values:
Master
andWorker
. - memory
Size number - Filter the results to a specific memory size in GB.
- minimum
Eni numberIpv6Address Quantity - The minimum number of IPv6 addresses per ENI. Note: If an instance type supports fewer IPv6 addresses per ENI than the specified value, information about the instance type is not queried.
- network
Type string - Filter the results by network type. Valid values:
Classic
andVpc
. - output
File string - File name where to save data source results (after running
pulumi preview
). - sorted
By string - spot
Strategy string - Filter the results by ECS spot type. Valid values:
NoSpot
,SpotWithPriceLimit
andSpotAsPriceGo
. Default toNoSpot
. - system
Disk stringCategory - Filter the results by system disk category. Valid values:
cloud
,ephemeral_ssd
,cloud_essd
,cloud_efficiency
,cloud_ssd
,cloud_essd_entry
. NOTE: Its default valuecloud_efficiency
has been removed from the version v1.150.0.
- availability_
zone str - The zone where instance types are supported.
- cpu_
core_ intcount - Filter the results to a specific number of cpu cores.
- eni_
amount int - Filter the result whose network interface number is no more than
eni_amount
. - gpu_
amount int - The GPU amount of an instance type.
- gpu_
spec str - The GPU spec of an instance type.
- image_
id str - The ID of the image.
- instance_
charge_ strtype - Filter the results by charge type. Valid values:
PrePaid
andPostPaid
. Default toPostPaid
. - instance_
type_ strfamily - Filter the results based on their family name. For example: 'ecs.n4'.
- is_
outdated bool - If true, outdated instance types are included in the results. Default to false.
- kubernetes_
node_ strrole - Filter the result which is used to create a kubernetes cluster
and managed kubernetes cluster. Optional Values:
Master
andWorker
. - memory_
size float - Filter the results to a specific memory size in GB.
- minimum_
eni_ intipv6_ address_ quantity - The minimum number of IPv6 addresses per ENI. Note: If an instance type supports fewer IPv6 addresses per ENI than the specified value, information about the instance type is not queried.
- network_
type str - Filter the results by network type. Valid values:
Classic
andVpc
. - output_
file str - File name where to save data source results (after running
pulumi preview
). - sorted_
by str - spot_
strategy str - Filter the results by ECS spot type. Valid values:
NoSpot
,SpotWithPriceLimit
andSpotAsPriceGo
. Default toNoSpot
. - system_
disk_ strcategory - Filter the results by system disk category. Valid values:
cloud
,ephemeral_ssd
,cloud_essd
,cloud_efficiency
,cloud_ssd
,cloud_essd_entry
. NOTE: Its default valuecloud_efficiency
has been removed from the version v1.150.0.
- availability
Zone String - The zone where instance types are supported.
- cpu
Core NumberCount - Filter the results to a specific number of cpu cores.
- eni
Amount Number - Filter the result whose network interface number is no more than
eni_amount
. - gpu
Amount Number - The GPU amount of an instance type.
- gpu
Spec String - The GPU spec of an instance type.
- image
Id String - The ID of the image.
- instance
Charge StringType - Filter the results by charge type. Valid values:
PrePaid
andPostPaid
. Default toPostPaid
. - instance
Type StringFamily - Filter the results based on their family name. For example: 'ecs.n4'.
- is
Outdated Boolean - If true, outdated instance types are included in the results. Default to false.
- kubernetes
Node StringRole - Filter the result which is used to create a kubernetes cluster
and managed kubernetes cluster. Optional Values:
Master
andWorker
. - memory
Size Number - Filter the results to a specific memory size in GB.
- minimum
Eni NumberIpv6Address Quantity - The minimum number of IPv6 addresses per ENI. Note: If an instance type supports fewer IPv6 addresses per ENI than the specified value, information about the instance type is not queried.
- network
Type String - Filter the results by network type. Valid values:
Classic
andVpc
. - output
File String - File name where to save data source results (after running
pulumi preview
). - sorted
By String - spot
Strategy String - Filter the results by ECS spot type. Valid values:
NoSpot
,SpotWithPriceLimit
andSpotAsPriceGo
. Default toNoSpot
. - system
Disk StringCategory - Filter the results by system disk category. Valid values:
cloud
,ephemeral_ssd
,cloud_essd
,cloud_efficiency
,cloud_ssd
,cloud_essd_entry
. NOTE: Its default valuecloud_efficiency
has been removed from the version v1.150.0.
getInstanceTypes Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- A list of instance type IDs.
- Instance
Types List<Pulumi.Ali Cloud. Ecs. Outputs. Get Instance Types Instance Type> - A list of image types. Each element contains the following attributes:
- Availability
Zone string - Cpu
Core intCount - Number of CPU cores.
- Eni
Amount int - The maximum number of network interfaces that an instance type can be attached to.
- Gpu
Amount int - Gpu
Spec string - Image
Id string - Instance
Charge stringType - Instance
Type stringFamily - Is
Outdated bool - Kubernetes
Node stringRole - Memory
Size double - Size of memory, measured in GB.
- Minimum
Eni intIpv6Address Quantity - Network
Type string - Output
File string - Sorted
By string - Spot
Strategy string - System
Disk stringCategory
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- A list of instance type IDs.
- Instance
Types []GetInstance Types Instance Type - A list of image types. Each element contains the following attributes:
- Availability
Zone string - Cpu
Core intCount - Number of CPU cores.
- Eni
Amount int - The maximum number of network interfaces that an instance type can be attached to.
- Gpu
Amount int - Gpu
Spec string - Image
Id string - Instance
Charge stringType - Instance
Type stringFamily - Is
Outdated bool - Kubernetes
Node stringRole - Memory
Size float64 - Size of memory, measured in GB.
- Minimum
Eni intIpv6Address Quantity - Network
Type string - Output
File string - Sorted
By string - Spot
Strategy string - System
Disk stringCategory
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of instance type IDs.
- instance
Types List<GetInstance Types Instance Type> - A list of image types. Each element contains the following attributes:
- availability
Zone String - cpu
Core IntegerCount - Number of CPU cores.
- eni
Amount Integer - The maximum number of network interfaces that an instance type can be attached to.
- gpu
Amount Integer - gpu
Spec String - image
Id String - instance
Charge StringType - instance
Type StringFamily - is
Outdated Boolean - kubernetes
Node StringRole - memory
Size Double - Size of memory, measured in GB.
- minimum
Eni IntegerIpv6Address Quantity - network
Type String - output
File String - sorted
By String - spot
Strategy String - system
Disk StringCategory
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- A list of instance type IDs.
- instance
Types GetInstance Types Instance Type[] - A list of image types. Each element contains the following attributes:
- availability
Zone string - cpu
Core numberCount - Number of CPU cores.
- eni
Amount number - The maximum number of network interfaces that an instance type can be attached to.
- gpu
Amount number - gpu
Spec string - image
Id string - instance
Charge stringType - instance
Type stringFamily - is
Outdated boolean - kubernetes
Node stringRole - memory
Size number - Size of memory, measured in GB.
- minimum
Eni numberIpv6Address Quantity - network
Type string - output
File string - sorted
By string - spot
Strategy string - system
Disk stringCategory
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- A list of instance type IDs.
- instance_
types Sequence[GetInstance Types Instance Type] - A list of image types. Each element contains the following attributes:
- availability_
zone str - cpu_
core_ intcount - Number of CPU cores.
- eni_
amount int - The maximum number of network interfaces that an instance type can be attached to.
- gpu_
amount int - gpu_
spec str - image_
id str - instance_
charge_ strtype - instance_
type_ strfamily - is_
outdated bool - kubernetes_
node_ strrole - memory_
size float - Size of memory, measured in GB.
- minimum_
eni_ intipv6_ address_ quantity - network_
type str - output_
file str - sorted_
by str - spot_
strategy str - system_
disk_ strcategory
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of instance type IDs.
- instance
Types List<Property Map> - A list of image types. Each element contains the following attributes:
- availability
Zone String - cpu
Core NumberCount - Number of CPU cores.
- eni
Amount Number - The maximum number of network interfaces that an instance type can be attached to.
- gpu
Amount Number - gpu
Spec String - image
Id String - instance
Charge StringType - instance
Type StringFamily - is
Outdated Boolean - kubernetes
Node StringRole - memory
Size Number - Size of memory, measured in GB.
- minimum
Eni NumberIpv6Address Quantity - network
Type String - output
File String - sorted
By String - spot
Strategy String - system
Disk StringCategory
Supporting Types
GetInstanceTypesInstanceType
- Availability
Zones List<string> - List of availability zones that support the instance type.
- Burstable
Instance Pulumi.Ali Cloud. Ecs. Inputs. Get Instance Types Instance Type Burstable Instance - The burstable instance attribution:
- initial_credit: The initial CPU credit of a burstable instance.
- baseline_credit: The compute performance benchmark CPU credit of a burstable instance.
- Cpu
Core intCount - Filter the results to a specific number of cpu cores.
- Eni
Amount int - Filter the result whose network interface number is no more than
eni_amount
. - Family string
- The instance type family.
- Gpu
Pulumi.
Ali Cloud. Ecs. Inputs. Get Instance Types Instance Type Gpu - The GPU attribution of an instance type:
- amount: The amount of GPU of an instance type.
- category: The category of GPU of an instance type.
- Id string
- ID of the instance type.
- Local
Storage Pulumi.Ali Cloud. Ecs. Inputs. Get Instance Types Instance Type Local Storage - Local storage of an instance type:
- capacity: The capacity of a local storage in GB.
- amount: The number of local storage devices that an instance has been attached to.
- category: The category of local storage that an instance has been attached to.
- Memory
Size double - Filter the results to a specific memory size in GB.
- Nvme
Support string - Indicates whether the cloud disk can be attached by using the nonvolatile memory express (NVMe) protocol. Valid values:
- required: The cloud disk can be attached by using the NVMe protocol.
- unsupported: The cloud disk cannot be attached by using the NVMe protocol.
- Price string
- Availability
Zones []string - List of availability zones that support the instance type.
- Burstable
Instance GetInstance Types Instance Type Burstable Instance - The burstable instance attribution:
- initial_credit: The initial CPU credit of a burstable instance.
- baseline_credit: The compute performance benchmark CPU credit of a burstable instance.
- Cpu
Core intCount - Filter the results to a specific number of cpu cores.
- Eni
Amount int - Filter the result whose network interface number is no more than
eni_amount
. - Family string
- The instance type family.
- Gpu
Get
Instance Types Instance Type Gpu - The GPU attribution of an instance type:
- amount: The amount of GPU of an instance type.
- category: The category of GPU of an instance type.
- Id string
- ID of the instance type.
- Local
Storage GetInstance Types Instance Type Local Storage - Local storage of an instance type:
- capacity: The capacity of a local storage in GB.
- amount: The number of local storage devices that an instance has been attached to.
- category: The category of local storage that an instance has been attached to.
- Memory
Size float64 - Filter the results to a specific memory size in GB.
- Nvme
Support string - Indicates whether the cloud disk can be attached by using the nonvolatile memory express (NVMe) protocol. Valid values:
- required: The cloud disk can be attached by using the NVMe protocol.
- unsupported: The cloud disk cannot be attached by using the NVMe protocol.
- Price string
- availability
Zones List<String> - List of availability zones that support the instance type.
- burstable
Instance GetInstance Types Instance Type Burstable Instance - The burstable instance attribution:
- initial_credit: The initial CPU credit of a burstable instance.
- baseline_credit: The compute performance benchmark CPU credit of a burstable instance.
- cpu
Core IntegerCount - Filter the results to a specific number of cpu cores.
- eni
Amount Integer - Filter the result whose network interface number is no more than
eni_amount
. - family String
- The instance type family.
- gpu
Get
Instance Types Instance Type Gpu - The GPU attribution of an instance type:
- amount: The amount of GPU of an instance type.
- category: The category of GPU of an instance type.
- id String
- ID of the instance type.
- local
Storage GetInstance Types Instance Type Local Storage - Local storage of an instance type:
- capacity: The capacity of a local storage in GB.
- amount: The number of local storage devices that an instance has been attached to.
- category: The category of local storage that an instance has been attached to.
- memory
Size Double - Filter the results to a specific memory size in GB.
- nvme
Support String - Indicates whether the cloud disk can be attached by using the nonvolatile memory express (NVMe) protocol. Valid values:
- required: The cloud disk can be attached by using the NVMe protocol.
- unsupported: The cloud disk cannot be attached by using the NVMe protocol.
- price String
- availability
Zones string[] - List of availability zones that support the instance type.
- burstable
Instance GetInstance Types Instance Type Burstable Instance - The burstable instance attribution:
- initial_credit: The initial CPU credit of a burstable instance.
- baseline_credit: The compute performance benchmark CPU credit of a burstable instance.
- cpu
Core numberCount - Filter the results to a specific number of cpu cores.
- eni
Amount number - Filter the result whose network interface number is no more than
eni_amount
. - family string
- The instance type family.
- gpu
Get
Instance Types Instance Type Gpu - The GPU attribution of an instance type:
- amount: The amount of GPU of an instance type.
- category: The category of GPU of an instance type.
- id string
- ID of the instance type.
- local
Storage GetInstance Types Instance Type Local Storage - Local storage of an instance type:
- capacity: The capacity of a local storage in GB.
- amount: The number of local storage devices that an instance has been attached to.
- category: The category of local storage that an instance has been attached to.
- memory
Size number - Filter the results to a specific memory size in GB.
- nvme
Support string - Indicates whether the cloud disk can be attached by using the nonvolatile memory express (NVMe) protocol. Valid values:
- required: The cloud disk can be attached by using the NVMe protocol.
- unsupported: The cloud disk cannot be attached by using the NVMe protocol.
- price string
- availability_
zones Sequence[str] - List of availability zones that support the instance type.
- burstable_
instance GetInstance Types Instance Type Burstable Instance - The burstable instance attribution:
- initial_credit: The initial CPU credit of a burstable instance.
- baseline_credit: The compute performance benchmark CPU credit of a burstable instance.
- cpu_
core_ intcount - Filter the results to a specific number of cpu cores.
- eni_
amount int - Filter the result whose network interface number is no more than
eni_amount
. - family str
- The instance type family.
- gpu
Get
Instance Types Instance Type Gpu - The GPU attribution of an instance type:
- amount: The amount of GPU of an instance type.
- category: The category of GPU of an instance type.
- id str
- ID of the instance type.
- local_
storage GetInstance Types Instance Type Local Storage - Local storage of an instance type:
- capacity: The capacity of a local storage in GB.
- amount: The number of local storage devices that an instance has been attached to.
- category: The category of local storage that an instance has been attached to.
- memory_
size float - Filter the results to a specific memory size in GB.
- nvme_
support str - Indicates whether the cloud disk can be attached by using the nonvolatile memory express (NVMe) protocol. Valid values:
- required: The cloud disk can be attached by using the NVMe protocol.
- unsupported: The cloud disk cannot be attached by using the NVMe protocol.
- price str
- availability
Zones List<String> - List of availability zones that support the instance type.
- burstable
Instance Property Map - The burstable instance attribution:
- initial_credit: The initial CPU credit of a burstable instance.
- baseline_credit: The compute performance benchmark CPU credit of a burstable instance.
- cpu
Core NumberCount - Filter the results to a specific number of cpu cores.
- eni
Amount Number - Filter the result whose network interface number is no more than
eni_amount
. - family String
- The instance type family.
- gpu Property Map
- The GPU attribution of an instance type:
- amount: The amount of GPU of an instance type.
- category: The category of GPU of an instance type.
- id String
- ID of the instance type.
- local
Storage Property Map - Local storage of an instance type:
- capacity: The capacity of a local storage in GB.
- amount: The number of local storage devices that an instance has been attached to.
- category: The category of local storage that an instance has been attached to.
- memory
Size Number - Filter the results to a specific memory size in GB.
- nvme
Support String - Indicates whether the cloud disk can be attached by using the nonvolatile memory express (NVMe) protocol. Valid values:
- required: The cloud disk can be attached by using the NVMe protocol.
- unsupported: The cloud disk cannot be attached by using the NVMe protocol.
- price String
GetInstanceTypesInstanceTypeBurstableInstance
- Baseline
Credit string - Initial
Credit string
- Baseline
Credit string - Initial
Credit string
- baseline
Credit String - initial
Credit String
- baseline
Credit string - initial
Credit string
- baseline_
credit str - initial_
credit str
- baseline
Credit String - initial
Credit String
GetInstanceTypesInstanceTypeGpu
GetInstanceTypesInstanceTypeLocalStorage
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.