1. Registry
  2. Packages
  3. OVH
  4. API Docs
  5. getCloudInstanceFlavors
Viewing docs for OVHCloud v2.19.1
published on Tuesday, Aug 18, 2026 by OVHcloud
ovh logo
Viewing docs for OVHCloud v2.19.1
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 dictionary
    data "ovh_get_cloud_instance_flavors" "name" {
        # arguments
    }

    The following arguments are supported:

    ServiceName 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.
    ServiceName 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.
    serviceName 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.
    serviceName 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.
    serviceName 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<GetCloudInstanceFlavorsFlavor>
    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.
    ServiceName string
    Region string
    Region code.
    Flavors []GetCloudInstanceFlavorsFlavor
    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.
    ServiceName 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<GetCloudInstanceFlavorsFlavor>
    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.
    serviceName String
    region String
    Region code.
    flavors GetCloudInstanceFlavorsFlavor[]
    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.
    serviceName string
    region string
    Region code.
    flavors Sequence[GetCloudInstanceFlavorsFlavor]
    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.
    serviceName 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.
    IsPublic 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 GetCloudInstanceFlavorsFlavorLocation
    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.
    IsPublic 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 GetCloudInstanceFlavorsFlavorLocation
    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.
    isPublic 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 GetCloudInstanceFlavorsFlavorLocation
    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.
    isPublic 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 GetCloudInstanceFlavorsFlavorLocation
    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 GetCloudInstanceFlavorsFlavorLocation
    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.
    isPublic 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

    AvailabilityZone 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.
    AvailabilityZone 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.
    availabilityZone 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.
    availabilityZone 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.
    availabilityZone 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 ovh Terraform Provider.
    ovh logo
    Viewing docs for OVHCloud v2.19.1
    published on Tuesday, Aug 18, 2026 by OVHcloud

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial