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 retrieve information about a flavor available in a public cloud project. This is read-only reference data: it describes a hardware sizing (vCPUs, RAM, disks) the project can create instances from, not an existing resource.
Using getCloudInstanceFlavor
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 getCloudInstanceFlavor(args: GetCloudInstanceFlavorArgs, opts?: InvokeOptions): Promise<GetCloudInstanceFlavorResult>
function getCloudInstanceFlavorOutput(args: GetCloudInstanceFlavorOutputArgs, opts?: InvokeOutputOptions): Output<GetCloudInstanceFlavorResult>def get_cloud_instance_flavor(id: Optional[str] = None,
service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudInstanceFlavorResult
def get_cloud_instance_flavor_output(id: pulumi.Input[Optional[str]] = None,
service_name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetCloudInstanceFlavorResult]func GetCloudInstanceFlavor(ctx *Context, args *GetCloudInstanceFlavorArgs, opts ...InvokeOption) (*GetCloudInstanceFlavorResult, error)
func GetCloudInstanceFlavorOutput(ctx *Context, args *GetCloudInstanceFlavorOutputArgs, opts ...InvokeOption) GetCloudInstanceFlavorResultOutput> Note: This function is named GetCloudInstanceFlavor in the Go SDK.
public static class GetCloudInstanceFlavor
{
public static Task<GetCloudInstanceFlavorResult> InvokeAsync(GetCloudInstanceFlavorArgs args, InvokeOptions? opts = null)
public static Output<GetCloudInstanceFlavorResult> Invoke(GetCloudInstanceFlavorInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetCloudInstanceFlavorResult> Invoke(GetCloudInstanceFlavorInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetCloudInstanceFlavorResult> getCloudInstanceFlavor(GetCloudInstanceFlavorArgs args, InvokeOptions options)
public static Output<GetCloudInstanceFlavorResult> getCloudInstanceFlavor(GetCloudInstanceFlavorArgs args, InvokeOptions options)
public static Output<GetCloudInstanceFlavorResult> getCloudInstanceFlavor(GetCloudInstanceFlavorArgs args, InvokeOutputOptions options)
fn::invoke:
function: ovh:index/getCloudInstanceFlavor:getCloudInstanceFlavor
arguments:
# arguments dictionarydata "ovh_get_cloud_instance_flavor" "name" {
# arguments
}The following arguments are supported:
- Id string
- The OpenStack/Nova flavor ID to look up. Stable within a region and used to reference the flavor when creating an instance.
- Service
Name string - Service name of the resource representing the id of the cloud project.
- Id string
- The OpenStack/Nova flavor ID to look up. Stable within a region and used to reference the flavor when creating an instance.
- Service
Name string - Service name of the resource representing the id of the cloud project.
- id string
- The OpenStack/Nova flavor ID to look up. Stable within a region and used to reference the flavor when creating an instance.
- service_
name string - Service name of the resource representing the id of the cloud project.
- id String
- The OpenStack/Nova flavor ID to look up. Stable within a region and used to reference the flavor when creating an instance.
- service
Name String - Service name of the resource representing the id of the cloud project.
- id string
- The OpenStack/Nova flavor ID to look up. Stable within a region and used to reference the flavor when creating an instance.
- service
Name string - Service name of the resource representing the id of the cloud project.
- id str
- The OpenStack/Nova flavor ID to look up. Stable within a region and used to reference the flavor when creating an instance.
- service_
name str - Service name of the resource representing the id of the cloud project.
- id String
- The OpenStack/Nova flavor ID to look up. Stable within a region and used to reference the flavor when creating an instance.
- service
Name String - Service name of the resource representing the id of the cloud project.
getCloudInstanceFlavor Result
The following output properties are available:
- 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
- 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 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.
- Service
Name string - 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
- 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 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.
- Service
Name string - 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
- 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.
- service_
name string - 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
- 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 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.
- service
Name String - 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
- 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 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.
- service
Name string - 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
- 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 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.
- service_
name str - 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
- 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.
- service
Name String - 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.
Supporting Types
GetCloudInstanceFlavorLocation
- Availability
Zone string - Availability zone within the region.
- Region string
- Region code.
- Availability
Zone string - Availability zone within the region.
- Region string
- Region code.
- availability_
zone string - Availability zone within the region.
- region string
- Region code.
- availability
Zone String - Availability zone within the region.
- region String
- Region code.
- availability
Zone string - Availability zone within the region.
- region string
- Region code.
- availability_
zone str - Availability zone within the region.
- region str
- Region code.
- availability
Zone String - Availability zone within the region.
- region String
- Region code.
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