ibm 1.85.0-beta0 published on Wednesday, Oct 29, 2025 by ibm-cloud
ibm.getPiSppPlacementGroups
Start a Neo task
Explain and create an ibm.getPiSppPlacementGroups resource
Retrieve information about all shared processor pool placement groups. For more information, see getting started with IBM Power Systems Virtual Servers.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const example = ibm.getPiSppPlacementGroups({
piCloudInstanceId: "<value of the cloud_instance_id>",
});
import pulumi
import pulumi_ibm as ibm
example = ibm.get_pi_spp_placement_groups(pi_cloud_instance_id="<value of the cloud_instance_id>")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.GetPiSppPlacementGroups(ctx, &ibm.GetPiSppPlacementGroupsArgs{
PiCloudInstanceId: "<value of the cloud_instance_id>",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var example = Ibm.GetPiSppPlacementGroups.Invoke(new()
{
PiCloudInstanceId = "<value of the cloud_instance_id>",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IbmFunctions;
import com.pulumi.ibm.inputs.GetPiSppPlacementGroupsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = IbmFunctions.getPiSppPlacementGroups(GetPiSppPlacementGroupsArgs.builder()
.piCloudInstanceId("<value of the cloud_instance_id>")
.build());
}
}
variables:
example:
fn::invoke:
function: ibm:getPiSppPlacementGroups
arguments:
piCloudInstanceId: <value of the cloud_instance_id>
Notes
- Please find supported Regions for endpoints.
- If a Power cloud instance is provisioned at
lon04, The provider level attributes should be as follows:region-lonzone-lon04
Example usage:
import * as pulumi from "@pulumi/pulumi";
import pulumi
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
return await Deployment.RunAsync(() =>
{
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
}
}
{}
Using getPiSppPlacementGroups
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 getPiSppPlacementGroups(args: GetPiSppPlacementGroupsArgs, opts?: InvokeOptions): Promise<GetPiSppPlacementGroupsResult>
function getPiSppPlacementGroupsOutput(args: GetPiSppPlacementGroupsOutputArgs, opts?: InvokeOptions): Output<GetPiSppPlacementGroupsResult>def get_pi_spp_placement_groups(id: Optional[str] = None,
pi_cloud_instance_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPiSppPlacementGroupsResult
def get_pi_spp_placement_groups_output(id: Optional[pulumi.Input[str]] = None,
pi_cloud_instance_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPiSppPlacementGroupsResult]func GetPiSppPlacementGroups(ctx *Context, args *GetPiSppPlacementGroupsArgs, opts ...InvokeOption) (*GetPiSppPlacementGroupsResult, error)
func GetPiSppPlacementGroupsOutput(ctx *Context, args *GetPiSppPlacementGroupsOutputArgs, opts ...InvokeOption) GetPiSppPlacementGroupsResultOutput> Note: This function is named GetPiSppPlacementGroups in the Go SDK.
public static class GetPiSppPlacementGroups
{
public static Task<GetPiSppPlacementGroupsResult> InvokeAsync(GetPiSppPlacementGroupsArgs args, InvokeOptions? opts = null)
public static Output<GetPiSppPlacementGroupsResult> Invoke(GetPiSppPlacementGroupsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPiSppPlacementGroupsResult> getPiSppPlacementGroups(GetPiSppPlacementGroupsArgs args, InvokeOptions options)
public static Output<GetPiSppPlacementGroupsResult> getPiSppPlacementGroups(GetPiSppPlacementGroupsArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getPiSppPlacementGroups:getPiSppPlacementGroups
arguments:
# arguments dictionaryThe following arguments are supported:
- Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- Id string
- Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- Id string
- pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- id String
- pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- id string
- pi_
cloud_ strinstance_ id - The GUID of the service instance associated with an account.
- id str
- pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- id String
getPiSppPlacementGroups Result
The following output properties are available:
- Id string
- Pi
Cloud stringInstance Id - Spp
Placement List<GetGroups Pi Spp Placement Groups Spp Placement Group> - (List) List of all the shared processor pool placement groups.
- Id string
- Pi
Cloud stringInstance Id - Spp
Placement []GetGroups Pi Spp Placement Groups Spp Placement Group - (List) List of all the shared processor pool placement groups.
- id String
- pi
Cloud StringInstance Id - spp
Placement List<GetGroups Pi Spp Placement Groups Spp Placement Group> - (List) List of all the shared processor pool placement groups.
- id string
- pi
Cloud stringInstance Id - spp
Placement GetGroups Pi Spp Placement Groups Spp Placement Group[] - (List) List of all the shared processor pool placement groups.
- id str
- pi_
cloud_ strinstance_ id - spp_
placement_ Sequence[Getgroups Pi Spp Placement Groups Spp Placement Group] - (List) List of all the shared processor pool placement groups.
- id String
- pi
Cloud StringInstance Id - spp
Placement List<Property Map>Groups - (List) List of all the shared processor pool placement groups.
Supporting Types
GetPiSppPlacementGroupsSppPlacementGroup
- Crn string
- (String) The CRN of this resource.
- Members List<string>
- (List) The list of shared processor pool IDs that are members of the shared processor pool placement group.
- Name string
- (String) User defined name for the shared processor pool placement group.
- Policy string
- (String) The value of the group's affinity policy. Valid values are affinity and anti-affinity.
- Spp
Placement stringGroup Id - (String) The ID of the shared processor pool placement group.
- List<string>
- (List) List of user tags attached to the resource.
- Crn string
- (String) The CRN of this resource.
- Members []string
- (List) The list of shared processor pool IDs that are members of the shared processor pool placement group.
- Name string
- (String) User defined name for the shared processor pool placement group.
- Policy string
- (String) The value of the group's affinity policy. Valid values are affinity and anti-affinity.
- Spp
Placement stringGroup Id - (String) The ID of the shared processor pool placement group.
- []string
- (List) List of user tags attached to the resource.
- crn String
- (String) The CRN of this resource.
- members List<String>
- (List) The list of shared processor pool IDs that are members of the shared processor pool placement group.
- name String
- (String) User defined name for the shared processor pool placement group.
- policy String
- (String) The value of the group's affinity policy. Valid values are affinity and anti-affinity.
- spp
Placement StringGroup Id - (String) The ID of the shared processor pool placement group.
- List<String>
- (List) List of user tags attached to the resource.
- crn string
- (String) The CRN of this resource.
- members string[]
- (List) The list of shared processor pool IDs that are members of the shared processor pool placement group.
- name string
- (String) User defined name for the shared processor pool placement group.
- policy string
- (String) The value of the group's affinity policy. Valid values are affinity and anti-affinity.
- spp
Placement stringGroup Id - (String) The ID of the shared processor pool placement group.
- string[]
- (List) List of user tags attached to the resource.
- crn str
- (String) The CRN of this resource.
- members Sequence[str]
- (List) The list of shared processor pool IDs that are members of the shared processor pool placement group.
- name str
- (String) User defined name for the shared processor pool placement group.
- policy str
- (String) The value of the group's affinity policy. Valid values are affinity and anti-affinity.
- spp_
placement_ strgroup_ id - (String) The ID of the shared processor pool placement group.
- Sequence[str]
- (List) List of user tags attached to the resource.
- crn String
- (String) The CRN of this resource.
- members List<String>
- (List) The list of shared processor pool IDs that are members of the shared processor pool placement group.
- name String
- (String) User defined name for the shared processor pool placement group.
- policy String
- (String) The value of the group's affinity policy. Valid values are affinity and anti-affinity.
- spp
Placement StringGroup Id - (String) The ID of the shared processor pool placement group.
- List<String>
- (List) List of user tags attached to the resource.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibmTerraform Provider.
