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 instance groups (placement groups) of a public cloud project. An instance group is immutable once created: there is no update route and its membership is fixed at instance-creation time.
Using getCloudInstanceGroups
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 getCloudInstanceGroups(args: GetCloudInstanceGroupsArgs, opts?: InvokeOptions): Promise<GetCloudInstanceGroupsResult>
function getCloudInstanceGroupsOutput(args: GetCloudInstanceGroupsOutputArgs, opts?: InvokeOutputOptions): Output<GetCloudInstanceGroupsResult>def get_cloud_instance_groups(service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudInstanceGroupsResult
def get_cloud_instance_groups_output(service_name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetCloudInstanceGroupsResult]func GetCloudInstanceGroups(ctx *Context, args *GetCloudInstanceGroupsArgs, opts ...InvokeOption) (*GetCloudInstanceGroupsResult, error)
func GetCloudInstanceGroupsOutput(ctx *Context, args *GetCloudInstanceGroupsOutputArgs, opts ...InvokeOption) GetCloudInstanceGroupsResultOutput> Note: This function is named GetCloudInstanceGroups in the Go SDK.
public static class GetCloudInstanceGroups
{
public static Task<GetCloudInstanceGroupsResult> InvokeAsync(GetCloudInstanceGroupsArgs args, InvokeOptions? opts = null)
public static Output<GetCloudInstanceGroupsResult> Invoke(GetCloudInstanceGroupsInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetCloudInstanceGroupsResult> Invoke(GetCloudInstanceGroupsInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetCloudInstanceGroupsResult> getCloudInstanceGroups(GetCloudInstanceGroupsArgs args, InvokeOptions options)
public static Output<GetCloudInstanceGroupsResult> getCloudInstanceGroups(GetCloudInstanceGroupsArgs args, InvokeOptions options)
public static Output<GetCloudInstanceGroupsResult> getCloudInstanceGroups(GetCloudInstanceGroupsArgs args, InvokeOutputOptions options)
fn::invoke:
function: ovh:index/getCloudInstanceGroups:getCloudInstanceGroups
arguments:
# arguments dictionarydata "ovh_get_cloud_instance_groups" "name" {
# arguments
}The following arguments are supported:
- Service
Name string - Service name of the resource representing the id of the cloud project.
- Service
Name string - Service name of the resource representing the id of the cloud project.
- service_
name string - Service name of the resource representing the id of the cloud project.
- service
Name String - Service name of the resource representing the id of the cloud project.
- service
Name string - Service name of the resource representing the id of the cloud project.
- service_
name str - Service name of the resource representing the id of the cloud project.
- service
Name String - Service name of the resource representing the id of the cloud project.
getCloudInstanceGroups Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Groups List<GetCloud Instance Groups Instance Group> - Instance groups (placement groups) belonging to the project, across every region:
- Service
Name string
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Groups []GetCloud Instance Groups Instance Group - Instance groups (placement groups) belonging to the project, across every region:
- Service
Name string
- id string
- The provider-assigned unique ID for this managed resource.
- instance_
groups list(object) - Instance groups (placement groups) belonging to the project, across every region:
- service_
name string
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Groups List<GetCloud Instance Groups Instance Group> - Instance groups (placement groups) belonging to the project, across every region:
- service
Name String
- id string
- The provider-assigned unique ID for this managed resource.
- instance
Groups GetCloud Instance Groups Instance Group[] - Instance groups (placement groups) belonging to the project, across every region:
- service
Name string
- id str
- The provider-assigned unique ID for this managed resource.
- instance_
groups Sequence[GetCloud Instance Groups Instance Group] - Instance groups (placement groups) belonging to the project, across every region:
- service_
name str
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Groups List<Property Map> - Instance groups (placement groups) belonging to the project, across every region:
- service
Name String
Supporting Types
GetCloudInstanceGroupsInstanceGroup
- Checksum string
- Computed hash of the current target specification, used for optimistic concurrency control. Because an instance group has no update route, this value never changes after creation.
- Created
At string - Timestamp at which the instance group was created, in RFC 3339 format.
- Current
State GetCloud Instance Groups Instance Group Current State - State of the instance group as observed on the backend:
- Id string
- Identifier of the member instance.
- Name string
- Display name of the instance group as reported by the backend. Fixed for the lifetime of the group, since instance groups cannot be updated.
- Policy string
- Placement policy currently enforced for the group's members (
AFFINITY,ANTI_AFFINITY). Mirrors the underlying OpenStack/Nova server group policy and is fixed at creation. - Region string
- Region code.
- Resource
Status string - Instance group readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY).OUT_OF_SYNCmeans the group has drifted from its target specification; a group managed byovh.CloudInstanceGroupis destroyed and recreated on the nextpulumi upto converge.
- Checksum string
- Computed hash of the current target specification, used for optimistic concurrency control. Because an instance group has no update route, this value never changes after creation.
- Created
At string - Timestamp at which the instance group was created, in RFC 3339 format.
- Current
State GetCloud Instance Groups Instance Group Current State - State of the instance group as observed on the backend:
- Id string
- Identifier of the member instance.
- Name string
- Display name of the instance group as reported by the backend. Fixed for the lifetime of the group, since instance groups cannot be updated.
- Policy string
- Placement policy currently enforced for the group's members (
AFFINITY,ANTI_AFFINITY). Mirrors the underlying OpenStack/Nova server group policy and is fixed at creation. - Region string
- Region code.
- Resource
Status string - Instance group readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY).OUT_OF_SYNCmeans the group has drifted from its target specification; a group managed byovh.CloudInstanceGroupis destroyed and recreated on the nextpulumi upto converge.
- checksum string
- Computed hash of the current target specification, used for optimistic concurrency control. Because an instance group has no update route, this value never changes after creation.
- created_
at string - Timestamp at which the instance group was created, in RFC 3339 format.
- current_
state object - State of the instance group as observed on the backend:
- id string
- Identifier of the member instance.
- name string
- Display name of the instance group as reported by the backend. Fixed for the lifetime of the group, since instance groups cannot be updated.
- policy string
- Placement policy currently enforced for the group's members (
AFFINITY,ANTI_AFFINITY). Mirrors the underlying OpenStack/Nova server group policy and is fixed at creation. - region string
- Region code.
- resource_
status string - Instance group readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY).OUT_OF_SYNCmeans the group has drifted from its target specification; a group managed byovh.CloudInstanceGroupis destroyed and recreated on the nextpulumi upto converge.
- checksum String
- Computed hash of the current target specification, used for optimistic concurrency control. Because an instance group has no update route, this value never changes after creation.
- created
At String - Timestamp at which the instance group was created, in RFC 3339 format.
- current
State GetCloud Instance Groups Instance Group Current State - State of the instance group as observed on the backend:
- id String
- Identifier of the member instance.
- name String
- Display name of the instance group as reported by the backend. Fixed for the lifetime of the group, since instance groups cannot be updated.
- policy String
- Placement policy currently enforced for the group's members (
AFFINITY,ANTI_AFFINITY). Mirrors the underlying OpenStack/Nova server group policy and is fixed at creation. - region String
- Region code.
- resource
Status String - Instance group readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY).OUT_OF_SYNCmeans the group has drifted from its target specification; a group managed byovh.CloudInstanceGroupis destroyed and recreated on the nextpulumi upto converge.
- checksum string
- Computed hash of the current target specification, used for optimistic concurrency control. Because an instance group has no update route, this value never changes after creation.
- created
At string - Timestamp at which the instance group was created, in RFC 3339 format.
- current
State GetCloud Instance Groups Instance Group Current State - State of the instance group as observed on the backend:
- id string
- Identifier of the member instance.
- name string
- Display name of the instance group as reported by the backend. Fixed for the lifetime of the group, since instance groups cannot be updated.
- policy string
- Placement policy currently enforced for the group's members (
AFFINITY,ANTI_AFFINITY). Mirrors the underlying OpenStack/Nova server group policy and is fixed at creation. - region string
- Region code.
- resource
Status string - Instance group readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY).OUT_OF_SYNCmeans the group has drifted from its target specification; a group managed byovh.CloudInstanceGroupis destroyed and recreated on the nextpulumi upto converge.
- checksum str
- Computed hash of the current target specification, used for optimistic concurrency control. Because an instance group has no update route, this value never changes after creation.
- created_
at str - Timestamp at which the instance group was created, in RFC 3339 format.
- current_
state GetCloud Instance Groups Instance Group Current State - State of the instance group as observed on the backend:
- id str
- Identifier of the member instance.
- name str
- Display name of the instance group as reported by the backend. Fixed for the lifetime of the group, since instance groups cannot be updated.
- policy str
- Placement policy currently enforced for the group's members (
AFFINITY,ANTI_AFFINITY). Mirrors the underlying OpenStack/Nova server group policy and is fixed at creation. - region str
- Region code.
- resource_
status str - Instance group readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY).OUT_OF_SYNCmeans the group has drifted from its target specification; a group managed byovh.CloudInstanceGroupis destroyed and recreated on the nextpulumi upto converge.
- checksum String
- Computed hash of the current target specification, used for optimistic concurrency control. Because an instance group has no update route, this value never changes after creation.
- created
At String - Timestamp at which the instance group was created, in RFC 3339 format.
- current
State Property Map - State of the instance group as observed on the backend:
- id String
- Identifier of the member instance.
- name String
- Display name of the instance group as reported by the backend. Fixed for the lifetime of the group, since instance groups cannot be updated.
- policy String
- Placement policy currently enforced for the group's members (
AFFINITY,ANTI_AFFINITY). Mirrors the underlying OpenStack/Nova server group policy and is fixed at creation. - region String
- Region code.
- resource
Status String - Instance group readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY).OUT_OF_SYNCmeans the group has drifted from its target specification; a group managed byovh.CloudInstanceGroupis destroyed and recreated on the nextpulumi upto converge.
GetCloudInstanceGroupsInstanceGroupCurrentState
- Location
Get
Cloud Instance Groups Instance Group Current State Location - Region (and, where applicable, availability zone) where the instance group and its member instances are deployed, as observed on the backend:
- Members
List<Get
Cloud Instance Groups Instance Group Current State Member> - Instances currently belonging to this group. Membership is determined at instance-creation time via the instance's
groupfield and cannot be changed afterwards. Empty when the group has no member instances: - Name string
- Display name of the instance group as reported by the backend. Fixed for the lifetime of the group, since instance groups cannot be updated.
- Policy string
- Placement policy currently enforced for the group's members (
AFFINITY,ANTI_AFFINITY). Mirrors the underlying OpenStack/Nova server group policy and is fixed at creation.
- Location
Get
Cloud Instance Groups Instance Group Current State Location - Region (and, where applicable, availability zone) where the instance group and its member instances are deployed, as observed on the backend:
- Members
[]Get
Cloud Instance Groups Instance Group Current State Member - Instances currently belonging to this group. Membership is determined at instance-creation time via the instance's
groupfield and cannot be changed afterwards. Empty when the group has no member instances: - Name string
- Display name of the instance group as reported by the backend. Fixed for the lifetime of the group, since instance groups cannot be updated.
- Policy string
- Placement policy currently enforced for the group's members (
AFFINITY,ANTI_AFFINITY). Mirrors the underlying OpenStack/Nova server group policy and is fixed at creation.
- location object
- Region (and, where applicable, availability zone) where the instance group and its member instances are deployed, as observed on the backend:
- members list(object)
- Instances currently belonging to this group. Membership is determined at instance-creation time via the instance's
groupfield and cannot be changed afterwards. Empty when the group has no member instances: - name string
- Display name of the instance group as reported by the backend. Fixed for the lifetime of the group, since instance groups cannot be updated.
- policy string
- Placement policy currently enforced for the group's members (
AFFINITY,ANTI_AFFINITY). Mirrors the underlying OpenStack/Nova server group policy and is fixed at creation.
- location
Get
Cloud Instance Groups Instance Group Current State Location - Region (and, where applicable, availability zone) where the instance group and its member instances are deployed, as observed on the backend:
- members
List<Get
Cloud Instance Groups Instance Group Current State Member> - Instances currently belonging to this group. Membership is determined at instance-creation time via the instance's
groupfield and cannot be changed afterwards. Empty when the group has no member instances: - name String
- Display name of the instance group as reported by the backend. Fixed for the lifetime of the group, since instance groups cannot be updated.
- policy String
- Placement policy currently enforced for the group's members (
AFFINITY,ANTI_AFFINITY). Mirrors the underlying OpenStack/Nova server group policy and is fixed at creation.
- location
Get
Cloud Instance Groups Instance Group Current State Location - Region (and, where applicable, availability zone) where the instance group and its member instances are deployed, as observed on the backend:
- members
Get
Cloud Instance Groups Instance Group Current State Member[] - Instances currently belonging to this group. Membership is determined at instance-creation time via the instance's
groupfield and cannot be changed afterwards. Empty when the group has no member instances: - name string
- Display name of the instance group as reported by the backend. Fixed for the lifetime of the group, since instance groups cannot be updated.
- policy string
- Placement policy currently enforced for the group's members (
AFFINITY,ANTI_AFFINITY). Mirrors the underlying OpenStack/Nova server group policy and is fixed at creation.
- location
Get
Cloud Instance Groups Instance Group Current State Location - Region (and, where applicable, availability zone) where the instance group and its member instances are deployed, as observed on the backend:
- members
Sequence[Get
Cloud Instance Groups Instance Group Current State Member] - Instances currently belonging to this group. Membership is determined at instance-creation time via the instance's
groupfield and cannot be changed afterwards. Empty when the group has no member instances: - name str
- Display name of the instance group as reported by the backend. Fixed for the lifetime of the group, since instance groups cannot be updated.
- policy str
- Placement policy currently enforced for the group's members (
AFFINITY,ANTI_AFFINITY). Mirrors the underlying OpenStack/Nova server group policy and is fixed at creation.
- location Property Map
- Region (and, where applicable, availability zone) where the instance group and its member instances are deployed, as observed on the backend:
- members List<Property Map>
- Instances currently belonging to this group. Membership is determined at instance-creation time via the instance's
groupfield and cannot be changed afterwards. Empty when the group has no member instances: - name String
- Display name of the instance group as reported by the backend. Fixed for the lifetime of the group, since instance groups cannot be updated.
- policy String
- Placement policy currently enforced for the group's members (
AFFINITY,ANTI_AFFINITY). Mirrors the underlying OpenStack/Nova server group policy and is fixed at creation.
GetCloudInstanceGroupsInstanceGroupCurrentStateLocation
- 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.
GetCloudInstanceGroupsInstanceGroupCurrentStateMember
- Id string
- Identifier of the member instance.
- Id string
- Identifier of the member instance.
- id string
- Identifier of the member instance.
- id String
- Identifier of the member instance.
- id string
- Identifier of the member instance.
- id str
- Identifier of the member instance.
- id String
- Identifier of the member instance.
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