1. Packages
  2. Flexibleengine Provider
  3. API Docs
  4. getComputeFlavorsV2
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

flexibleengine.getComputeFlavorsV2

Explore with Pulumi AI

flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

Use this data source to get the available Compute Flavors.

Using getComputeFlavorsV2

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 getComputeFlavorsV2(args: GetComputeFlavorsV2Args, opts?: InvokeOptions): Promise<GetComputeFlavorsV2Result>
function getComputeFlavorsV2Output(args: GetComputeFlavorsV2OutputArgs, opts?: InvokeOptions): Output<GetComputeFlavorsV2Result>
Copy
def get_compute_flavors_v2(availability_zone: Optional[str] = None,
                           cpu_core: Optional[float] = None,
                           generation: Optional[str] = None,
                           id: Optional[str] = None,
                           memory_size: Optional[float] = None,
                           performance_type: Optional[str] = None,
                           region: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetComputeFlavorsV2Result
def get_compute_flavors_v2_output(availability_zone: Optional[pulumi.Input[str]] = None,
                           cpu_core: Optional[pulumi.Input[float]] = None,
                           generation: Optional[pulumi.Input[str]] = None,
                           id: Optional[pulumi.Input[str]] = None,
                           memory_size: Optional[pulumi.Input[float]] = None,
                           performance_type: Optional[pulumi.Input[str]] = None,
                           region: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetComputeFlavorsV2Result]
Copy
func GetComputeFlavorsV2(ctx *Context, args *GetComputeFlavorsV2Args, opts ...InvokeOption) (*GetComputeFlavorsV2Result, error)
func GetComputeFlavorsV2Output(ctx *Context, args *GetComputeFlavorsV2OutputArgs, opts ...InvokeOption) GetComputeFlavorsV2ResultOutput
Copy

> Note: This function is named GetComputeFlavorsV2 in the Go SDK.

public static class GetComputeFlavorsV2 
{
    public static Task<GetComputeFlavorsV2Result> InvokeAsync(GetComputeFlavorsV2Args args, InvokeOptions? opts = null)
    public static Output<GetComputeFlavorsV2Result> Invoke(GetComputeFlavorsV2InvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetComputeFlavorsV2Result> getComputeFlavorsV2(GetComputeFlavorsV2Args args, InvokeOptions options)
public static Output<GetComputeFlavorsV2Result> getComputeFlavorsV2(GetComputeFlavorsV2Args args, InvokeOptions options)
Copy
fn::invoke:
  function: flexibleengine:index/getComputeFlavorsV2:getComputeFlavorsV2
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AvailabilityZone string
Specifies the AZ name.
CpuCore double
Specifies the number of vCPUs in the ECS flavor.
Generation string
Specifies the generation of an ECS type.
Id string
Specifies a data source ID in UUID format.
MemorySize double
Specifies the memory size(GB) in the ECS flavor.
PerformanceType string
Specifies the ECS flavor type.
Region string
The region in which to obtain the flavors. If omitted, the provider-level region will be used.
AvailabilityZone string
Specifies the AZ name.
CpuCore float64
Specifies the number of vCPUs in the ECS flavor.
Generation string
Specifies the generation of an ECS type.
Id string
Specifies a data source ID in UUID format.
MemorySize float64
Specifies the memory size(GB) in the ECS flavor.
PerformanceType string
Specifies the ECS flavor type.
Region string
The region in which to obtain the flavors. If omitted, the provider-level region will be used.
availabilityZone String
Specifies the AZ name.
cpuCore Double
Specifies the number of vCPUs in the ECS flavor.
generation String
Specifies the generation of an ECS type.
id String
Specifies a data source ID in UUID format.
memorySize Double
Specifies the memory size(GB) in the ECS flavor.
performanceType String
Specifies the ECS flavor type.
region String
The region in which to obtain the flavors. If omitted, the provider-level region will be used.
availabilityZone string
Specifies the AZ name.
cpuCore number
Specifies the number of vCPUs in the ECS flavor.
generation string
Specifies the generation of an ECS type.
id string
Specifies a data source ID in UUID format.
memorySize number
Specifies the memory size(GB) in the ECS flavor.
performanceType string
Specifies the ECS flavor type.
region string
The region in which to obtain the flavors. If omitted, the provider-level region will be used.
availability_zone str
Specifies the AZ name.
cpu_core float
Specifies the number of vCPUs in the ECS flavor.
generation str
Specifies the generation of an ECS type.
id str
Specifies a data source ID in UUID format.
memory_size float
Specifies the memory size(GB) in the ECS flavor.
performance_type str
Specifies the ECS flavor type.
region str
The region in which to obtain the flavors. If omitted, the provider-level region will be used.
availabilityZone String
Specifies the AZ name.
cpuCore Number
Specifies the number of vCPUs in the ECS flavor.
generation String
Specifies the generation of an ECS type.
id String
Specifies a data source ID in UUID format.
memorySize Number
Specifies the memory size(GB) in the ECS flavor.
performanceType String
Specifies the ECS flavor type.
region String
The region in which to obtain the flavors. If omitted, the provider-level region will be used.

getComputeFlavorsV2 Result

The following output properties are available:

Flavors List<string>
A list of flavors.
Id string
Specifies a data source ID in UUID format.
Region string
AvailabilityZone string
CpuCore double
Generation string
MemorySize double
PerformanceType string
Flavors []string
A list of flavors.
Id string
Specifies a data source ID in UUID format.
Region string
AvailabilityZone string
CpuCore float64
Generation string
MemorySize float64
PerformanceType string
flavors List<String>
A list of flavors.
id String
Specifies a data source ID in UUID format.
region String
availabilityZone String
cpuCore Double
generation String
memorySize Double
performanceType String
flavors string[]
A list of flavors.
id string
Specifies a data source ID in UUID format.
region string
availabilityZone string
cpuCore number
generation string
memorySize number
performanceType string
flavors Sequence[str]
A list of flavors.
id str
Specifies a data source ID in UUID format.
region str
availability_zone str
cpu_core float
generation str
memory_size float
performance_type str
flavors List<String>
A list of flavors.
id String
Specifies a data source ID in UUID format.
region String
availabilityZone String
cpuCore Number
generation String
memorySize Number
performanceType String

Package Details

Repository
flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
License
Notes
This Pulumi package is based on the flexibleengine Terraform Provider.
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud