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>
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]
func GetComputeFlavorsV2(ctx *Context, args *GetComputeFlavorsV2Args, opts ...InvokeOption) (*GetComputeFlavorsV2Result, error)
func GetComputeFlavorsV2Output(ctx *Context, args *GetComputeFlavorsV2OutputArgs, opts ...InvokeOption) GetComputeFlavorsV2ResultOutput
> 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)
}
public static CompletableFuture<GetComputeFlavorsV2Result> getComputeFlavorsV2(GetComputeFlavorsV2Args args, InvokeOptions options)
public static Output<GetComputeFlavorsV2Result> getComputeFlavorsV2(GetComputeFlavorsV2Args args, InvokeOptions options)
fn::invoke:
function: flexibleengine:index/getComputeFlavorsV2:getComputeFlavorsV2
arguments:
# arguments dictionary
The following arguments are supported:
- Availability
Zone string - Specifies the AZ name.
- Cpu
Core 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.
- Memory
Size double - Specifies the memory size(GB) in the ECS flavor.
- Performance
Type 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 string - Specifies the AZ name.
- Cpu
Core 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.
- Memory
Size float64 - Specifies the memory size(GB) in the ECS flavor.
- Performance
Type 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 String - Specifies the AZ name.
- cpu
Core 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.
- memory
Size Double - Specifies the memory size(GB) in the ECS flavor.
- performance
Type 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 string - Specifies the AZ name.
- cpu
Core 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.
- memory
Size number - Specifies the memory size(GB) in the ECS flavor.
- performance
Type 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.
- availability
Zone String - Specifies the AZ name.
- cpu
Core 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.
- memory
Size Number - Specifies the memory size(GB) in the ECS flavor.
- performance
Type 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
- Availability
Zone string - Cpu
Core double - Generation string
- Memory
Size double - Performance
Type string
- Flavors []string
- A list of flavors.
- Id string
- Specifies a data source ID in UUID format.
- Region string
- Availability
Zone string - Cpu
Core float64 - Generation string
- Memory
Size float64 - Performance
Type string
- flavors List<String>
- A list of flavors.
- id String
- Specifies a data source ID in UUID format.
- region String
- availability
Zone String - cpu
Core Double - generation String
- memory
Size Double - performance
Type String
- flavors string[]
- A list of flavors.
- id string
- Specifies a data source ID in UUID format.
- region string
- availability
Zone string - cpu
Core number - generation string
- memory
Size number - performance
Type 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
- availability
Zone String - cpu
Core Number - generation String
- memory
Size Number - performance
Type 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