Viewing docs for OVHCloud v2.19.1
published on Tuesday, Aug 18, 2026 by OVHcloud
published on Tuesday, Aug 18, 2026 by OVHcloud
Viewing docs for OVHCloud v2.19.1
published on Tuesday, Aug 18, 2026 by OVHcloud
published on Tuesday, Aug 18, 2026 by OVHcloud
Use this data source to list the flavors available in a public cloud project. This is read-only reference data: each entry describes a hardware sizing (vCPUs, RAM, disks) the project can create instances from, not an existing resource.
Using getCloudInstanceFlavors
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 getCloudInstanceFlavors(args: GetCloudInstanceFlavorsArgs, opts?: InvokeOptions): Promise<GetCloudInstanceFlavorsResult>
function getCloudInstanceFlavorsOutput(args: GetCloudInstanceFlavorsOutputArgs, opts?: InvokeOutputOptions): Output<GetCloudInstanceFlavorsResult>def get_cloud_instance_flavors(region: Optional[str] = None,
service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudInstanceFlavorsResult
def get_cloud_instance_flavors_output(region: pulumi.Input[Optional[str]] = None,
service_name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetCloudInstanceFlavorsResult]func GetCloudInstanceFlavors(ctx *Context, args *GetCloudInstanceFlavorsArgs, opts ...InvokeOption) (*GetCloudInstanceFlavorsResult, error)
func GetCloudInstanceFlavorsOutput(ctx *Context, args *GetCloudInstanceFlavorsOutputArgs, opts ...InvokeOption) GetCloudInstanceFlavorsResultOutput> Note: This function is named GetCloudInstanceFlavors in the Go SDK.
public static class GetCloudInstanceFlavors
{
public static Task<GetCloudInstanceFlavorsResult> InvokeAsync(GetCloudInstanceFlavorsArgs args, InvokeOptions? opts = null)
public static Output<GetCloudInstanceFlavorsResult> Invoke(GetCloudInstanceFlavorsInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetCloudInstanceFlavorsResult> Invoke(GetCloudInstanceFlavorsInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetCloudInstanceFlavorsResult> getCloudInstanceFlavors(GetCloudInstanceFlavorsArgs args, InvokeOptions options)
public static Output<GetCloudInstanceFlavorsResult> getCloudInstanceFlavors(GetCloudInstanceFlavorsArgs args, InvokeOptions options)
public static Output<GetCloudInstanceFlavorsResult> getCloudInstanceFlavors(GetCloudInstanceFlavorsArgs args, InvokeOutputOptions options)
fn::invoke:
function: ovh:index/getCloudInstanceFlavors:getCloudInstanceFlavors
arguments:
# arguments dictionarydata "ovh_get_cloud_instance_flavors" "name" {
# arguments
}The following arguments are supported:
- Service
Name string - Service name of the resource representing the id of the cloud project.
- Region string
- Restrict the listing to the flavors offered in this region. The catalog is per-region: a flavor returned for one region is not guaranteed to exist, or to carry the same characteristics, in another.
- Service
Name string - Service name of the resource representing the id of the cloud project.
- Region string
- Restrict the listing to the flavors offered in this region. The catalog is per-region: a flavor returned for one region is not guaranteed to exist, or to carry the same characteristics, in another.
- service_
name string - Service name of the resource representing the id of the cloud project.
- region string
- Restrict the listing to the flavors offered in this region. The catalog is per-region: a flavor returned for one region is not guaranteed to exist, or to carry the same characteristics, in another.
- service
Name String - Service name of the resource representing the id of the cloud project.
- region String
- Restrict the listing to the flavors offered in this region. The catalog is per-region: a flavor returned for one region is not guaranteed to exist, or to carry the same characteristics, in another.
- service
Name string - Service name of the resource representing the id of the cloud project.
- region string
- Restrict the listing to the flavors offered in this region. The catalog is per-region: a flavor returned for one region is not guaranteed to exist, or to carry the same characteristics, in another.
- service_
name str - Service name of the resource representing the id of the cloud project.
- region str
- Restrict the listing to the flavors offered in this region. The catalog is per-region: a flavor returned for one region is not guaranteed to exist, or to carry the same characteristics, in another.
- service
Name String - Service name of the resource representing the id of the cloud project.
- region String
- Restrict the listing to the flavors offered in this region. The catalog is per-region: a flavor returned for one region is not guaranteed to exist, or to carry the same characteristics, in another.
getCloudInstanceFlavors Result
The following output properties are available:
- Flavors
List<Get
Cloud Instance Flavors Flavor> - Flavors advertised by the backend for this project, one entry per region the flavor is offered in:
- Id string
- The provider-assigned unique ID for this managed resource.
- Service
Name string - Region string
- Region code.
- Flavors
[]Get
Cloud Instance Flavors Flavor - Flavors advertised by the backend for this project, one entry per region the flavor is offered in:
- Id string
- The provider-assigned unique ID for this managed resource.
- Service
Name string - Region string
- Region code.
- flavors list(object)
- Flavors advertised by the backend for this project, one entry per region the flavor is offered in:
- id string
- The provider-assigned unique ID for this managed resource.
- service_
name string - region string
- Region code.
- flavors
List<Get
Cloud Instance Flavors Flavor> - Flavors advertised by the backend for this project, one entry per region the flavor is offered in:
- id String
- The provider-assigned unique ID for this managed resource.
- service
Name String - region String
- Region code.
- flavors
Get
Cloud Instance Flavors Flavor[] - Flavors advertised by the backend for this project, one entry per region the flavor is offered in:
- id string
- The provider-assigned unique ID for this managed resource.
- service
Name string - region string
- Region code.
- flavors
Sequence[Get
Cloud Instance Flavors Flavor] - Flavors advertised by the backend for this project, one entry per region the flavor is offered in:
- id str
- The provider-assigned unique ID for this managed resource.
- service_
name str - region str
- Region code.
- flavors List<Property Map>
- Flavors advertised by the backend for this project, one entry per region the flavor is offered in:
- id String
- The provider-assigned unique ID for this managed resource.
- service
Name String - region String
- Region code.
Supporting Types
GetCloudInstanceFlavorsFlavor
- Description string
- Free-form description of the flavor as reported by the backend. May be empty when no description is advertised for this flavor.
- Disk int
- Size of the flavor's root disk in GB. This is the primary system disk provisioned for instances created from this flavor.
- Ephemeral int
- Size of the flavor's ephemeral disk in GB. Ephemeral storage is transient: its contents do not survive a rebuild or deletion of the instance. Zero when the flavor provides no ephemeral disk.
- Id string
- The OpenStack/Nova flavor ID. Stable within a region and used to reference the flavor when creating an instance.
- Is
Public bool - Whether the flavor is publicly available to the project. Private flavors are only visible to the projects they have been explicitly shared with.
- Location
Get
Cloud Instance Flavors Flavor Location - Region (and, where applicable, availability zone) where this flavor is offered. The flavor catalog is per-region: a flavor returned for one region is not guaranteed to exist, or to carry the same characteristics, in another:
- Name string
- The backend flavor name (for example
b2-7,c2-15). This is the commercial/technical name used to identify the sizing in the catalog. - Ram int
- Amount of memory provided by the flavor, expressed in MB.
- Swap int
- Size of the flavor's swap space in MB. Zero when the flavor provides no swap.
- Vcpus int
- Number of virtual CPUs provided by the flavor.
- Description string
- Free-form description of the flavor as reported by the backend. May be empty when no description is advertised for this flavor.
- Disk int
- Size of the flavor's root disk in GB. This is the primary system disk provisioned for instances created from this flavor.
- Ephemeral int
- Size of the flavor's ephemeral disk in GB. Ephemeral storage is transient: its contents do not survive a rebuild or deletion of the instance. Zero when the flavor provides no ephemeral disk.
- Id string
- The OpenStack/Nova flavor ID. Stable within a region and used to reference the flavor when creating an instance.
- Is
Public bool - Whether the flavor is publicly available to the project. Private flavors are only visible to the projects they have been explicitly shared with.
- Location
Get
Cloud Instance Flavors Flavor Location - Region (and, where applicable, availability zone) where this flavor is offered. The flavor catalog is per-region: a flavor returned for one region is not guaranteed to exist, or to carry the same characteristics, in another:
- Name string
- The backend flavor name (for example
b2-7,c2-15). This is the commercial/technical name used to identify the sizing in the catalog. - Ram int
- Amount of memory provided by the flavor, expressed in MB.
- Swap int
- Size of the flavor's swap space in MB. Zero when the flavor provides no swap.
- Vcpus int
- Number of virtual CPUs provided by the flavor.
- description string
- Free-form description of the flavor as reported by the backend. May be empty when no description is advertised for this flavor.
- disk number
- Size of the flavor's root disk in GB. This is the primary system disk provisioned for instances created from this flavor.
- ephemeral number
- Size of the flavor's ephemeral disk in GB. Ephemeral storage is transient: its contents do not survive a rebuild or deletion of the instance. Zero when the flavor provides no ephemeral disk.
- id string
- The OpenStack/Nova flavor ID. Stable within a region and used to reference the flavor when creating an instance.
- is_
public bool - Whether the flavor is publicly available to the project. Private flavors are only visible to the projects they have been explicitly shared with.
- location object
- Region (and, where applicable, availability zone) where this flavor is offered. The flavor catalog is per-region: a flavor returned for one region is not guaranteed to exist, or to carry the same characteristics, in another:
- name string
- The backend flavor name (for example
b2-7,c2-15). This is the commercial/technical name used to identify the sizing in the catalog. - ram number
- Amount of memory provided by the flavor, expressed in MB.
- swap number
- Size of the flavor's swap space in MB. Zero when the flavor provides no swap.
- vcpus number
- Number of virtual CPUs provided by the flavor.
- description String
- Free-form description of the flavor as reported by the backend. May be empty when no description is advertised for this flavor.
- disk Integer
- Size of the flavor's root disk in GB. This is the primary system disk provisioned for instances created from this flavor.
- ephemeral Integer
- Size of the flavor's ephemeral disk in GB. Ephemeral storage is transient: its contents do not survive a rebuild or deletion of the instance. Zero when the flavor provides no ephemeral disk.
- id String
- The OpenStack/Nova flavor ID. Stable within a region and used to reference the flavor when creating an instance.
- is
Public Boolean - Whether the flavor is publicly available to the project. Private flavors are only visible to the projects they have been explicitly shared with.
- location
Get
Cloud Instance Flavors Flavor Location - Region (and, where applicable, availability zone) where this flavor is offered. The flavor catalog is per-region: a flavor returned for one region is not guaranteed to exist, or to carry the same characteristics, in another:
- name String
- The backend flavor name (for example
b2-7,c2-15). This is the commercial/technical name used to identify the sizing in the catalog. - ram Integer
- Amount of memory provided by the flavor, expressed in MB.
- swap Integer
- Size of the flavor's swap space in MB. Zero when the flavor provides no swap.
- vcpus Integer
- Number of virtual CPUs provided by the flavor.
- description string
- Free-form description of the flavor as reported by the backend. May be empty when no description is advertised for this flavor.
- disk number
- Size of the flavor's root disk in GB. This is the primary system disk provisioned for instances created from this flavor.
- ephemeral number
- Size of the flavor's ephemeral disk in GB. Ephemeral storage is transient: its contents do not survive a rebuild or deletion of the instance. Zero when the flavor provides no ephemeral disk.
- id string
- The OpenStack/Nova flavor ID. Stable within a region and used to reference the flavor when creating an instance.
- is
Public boolean - Whether the flavor is publicly available to the project. Private flavors are only visible to the projects they have been explicitly shared with.
- location
Get
Cloud Instance Flavors Flavor Location - Region (and, where applicable, availability zone) where this flavor is offered. The flavor catalog is per-region: a flavor returned for one region is not guaranteed to exist, or to carry the same characteristics, in another:
- name string
- The backend flavor name (for example
b2-7,c2-15). This is the commercial/technical name used to identify the sizing in the catalog. - ram number
- Amount of memory provided by the flavor, expressed in MB.
- swap number
- Size of the flavor's swap space in MB. Zero when the flavor provides no swap.
- vcpus number
- Number of virtual CPUs provided by the flavor.
- description str
- Free-form description of the flavor as reported by the backend. May be empty when no description is advertised for this flavor.
- disk int
- Size of the flavor's root disk in GB. This is the primary system disk provisioned for instances created from this flavor.
- ephemeral int
- Size of the flavor's ephemeral disk in GB. Ephemeral storage is transient: its contents do not survive a rebuild or deletion of the instance. Zero when the flavor provides no ephemeral disk.
- id str
- The OpenStack/Nova flavor ID. Stable within a region and used to reference the flavor when creating an instance.
- is_
public bool - Whether the flavor is publicly available to the project. Private flavors are only visible to the projects they have been explicitly shared with.
- location
Get
Cloud Instance Flavors Flavor Location - Region (and, where applicable, availability zone) where this flavor is offered. The flavor catalog is per-region: a flavor returned for one region is not guaranteed to exist, or to carry the same characteristics, in another:
- name str
- The backend flavor name (for example
b2-7,c2-15). This is the commercial/technical name used to identify the sizing in the catalog. - ram int
- Amount of memory provided by the flavor, expressed in MB.
- swap int
- Size of the flavor's swap space in MB. Zero when the flavor provides no swap.
- vcpus int
- Number of virtual CPUs provided by the flavor.
- description String
- Free-form description of the flavor as reported by the backend. May be empty when no description is advertised for this flavor.
- disk Number
- Size of the flavor's root disk in GB. This is the primary system disk provisioned for instances created from this flavor.
- ephemeral Number
- Size of the flavor's ephemeral disk in GB. Ephemeral storage is transient: its contents do not survive a rebuild or deletion of the instance. Zero when the flavor provides no ephemeral disk.
- id String
- The OpenStack/Nova flavor ID. Stable within a region and used to reference the flavor when creating an instance.
- is
Public Boolean - Whether the flavor is publicly available to the project. Private flavors are only visible to the projects they have been explicitly shared with.
- location Property Map
- Region (and, where applicable, availability zone) where this flavor is offered. The flavor catalog is per-region: a flavor returned for one region is not guaranteed to exist, or to carry the same characteristics, in another:
- name String
- The backend flavor name (for example
b2-7,c2-15). This is the commercial/technical name used to identify the sizing in the catalog. - ram Number
- Amount of memory provided by the flavor, expressed in MB.
- swap Number
- Size of the flavor's swap space in MB. Zero when the flavor provides no swap.
- vcpus Number
- Number of virtual CPUs provided by the flavor.
GetCloudInstanceFlavorsFlavorLocation
- Availability
Zone string - Availability zone within the region.
- Region string
- Restrict the listing to the flavors offered in this region. The catalog is per-region: a flavor returned for one region is not guaranteed to exist, or to carry the same characteristics, in another.
- Availability
Zone string - Availability zone within the region.
- Region string
- Restrict the listing to the flavors offered in this region. The catalog is per-region: a flavor returned for one region is not guaranteed to exist, or to carry the same characteristics, in another.
- availability_
zone string - Availability zone within the region.
- region string
- Restrict the listing to the flavors offered in this region. The catalog is per-region: a flavor returned for one region is not guaranteed to exist, or to carry the same characteristics, in another.
- availability
Zone String - Availability zone within the region.
- region String
- Restrict the listing to the flavors offered in this region. The catalog is per-region: a flavor returned for one region is not guaranteed to exist, or to carry the same characteristics, in another.
- availability
Zone string - Availability zone within the region.
- region string
- Restrict the listing to the flavors offered in this region. The catalog is per-region: a flavor returned for one region is not guaranteed to exist, or to carry the same characteristics, in another.
- availability_
zone str - Availability zone within the region.
- region str
- Restrict the listing to the flavors offered in this region. The catalog is per-region: a flavor returned for one region is not guaranteed to exist, or to carry the same characteristics, in another.
- availability
Zone String - Availability zone within the region.
- region String
- Restrict the listing to the flavors offered in this region. The catalog is per-region: a flavor returned for one region is not guaranteed to exist, or to carry the same characteristics, in another.
Package Details
- Repository
- ovh ovh/pulumi-ovh
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ovhTerraform Provider.
Viewing docs for OVHCloud v2.19.1
published on Tuesday, Aug 18, 2026 by OVHcloud
published on Tuesday, Aug 18, 2026 by OVHcloud