ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud
ibm.getPiSharedProcessorPool
Explore with Pulumi AI
Retrieve information about a shared processor pool. 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 dsPool = ibm.getPiSharedProcessorPool({
piCloudInstanceId: "49fba6c9-23f8-40bc-9899-aca322ee7d5b",
piSharedProcessorPoolId: "my-spp",
});
import pulumi
import pulumi_ibm as ibm
ds_pool = ibm.get_pi_shared_processor_pool(pi_cloud_instance_id="49fba6c9-23f8-40bc-9899-aca322ee7d5b",
pi_shared_processor_pool_id="my-spp")
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.LookupPiSharedProcessorPool(ctx, &ibm.LookupPiSharedProcessorPoolArgs{
PiCloudInstanceId: "49fba6c9-23f8-40bc-9899-aca322ee7d5b",
PiSharedProcessorPoolId: "my-spp",
}, 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 dsPool = Ibm.GetPiSharedProcessorPool.Invoke(new()
{
PiCloudInstanceId = "49fba6c9-23f8-40bc-9899-aca322ee7d5b",
PiSharedProcessorPoolId = "my-spp",
});
});
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.GetPiSharedProcessorPoolArgs;
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 dsPool = IbmFunctions.getPiSharedProcessorPool(GetPiSharedProcessorPoolArgs.builder()
.piCloudInstanceId("49fba6c9-23f8-40bc-9899-aca322ee7d5b")
.piSharedProcessorPoolId("my-spp")
.build());
}
}
variables:
dsPool:
fn::invoke:
function: ibm:getPiSharedProcessorPool
arguments:
piCloudInstanceId: 49fba6c9-23f8-40bc-9899-aca322ee7d5b
piSharedProcessorPoolId: my-spp
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
-lon
zone
-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 getPiSharedProcessorPool
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 getPiSharedProcessorPool(args: GetPiSharedProcessorPoolArgs, opts?: InvokeOptions): Promise<GetPiSharedProcessorPoolResult>
function getPiSharedProcessorPoolOutput(args: GetPiSharedProcessorPoolOutputArgs, opts?: InvokeOptions): Output<GetPiSharedProcessorPoolResult>
def get_pi_shared_processor_pool(id: Optional[str] = None,
pi_cloud_instance_id: Optional[str] = None,
pi_shared_processor_pool_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPiSharedProcessorPoolResult
def get_pi_shared_processor_pool_output(id: Optional[pulumi.Input[str]] = None,
pi_cloud_instance_id: Optional[pulumi.Input[str]] = None,
pi_shared_processor_pool_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPiSharedProcessorPoolResult]
func LookupPiSharedProcessorPool(ctx *Context, args *LookupPiSharedProcessorPoolArgs, opts ...InvokeOption) (*LookupPiSharedProcessorPoolResult, error)
func LookupPiSharedProcessorPoolOutput(ctx *Context, args *LookupPiSharedProcessorPoolOutputArgs, opts ...InvokeOption) LookupPiSharedProcessorPoolResultOutput
> Note: This function is named LookupPiSharedProcessorPool
in the Go SDK.
public static class GetPiSharedProcessorPool
{
public static Task<GetPiSharedProcessorPoolResult> InvokeAsync(GetPiSharedProcessorPoolArgs args, InvokeOptions? opts = null)
public static Output<GetPiSharedProcessorPoolResult> Invoke(GetPiSharedProcessorPoolInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPiSharedProcessorPoolResult> getPiSharedProcessorPool(GetPiSharedProcessorPoolArgs args, InvokeOptions options)
public static Output<GetPiSharedProcessorPoolResult> getPiSharedProcessorPool(GetPiSharedProcessorPoolArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getPiSharedProcessorPool:getPiSharedProcessorPool
arguments:
# arguments dictionary
The following arguments are supported:
- Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- string
- The ID of the shared processor pool.
- Id string
- (String) The server instance ID.
- Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- string
- The ID of the shared processor pool.
- Id string
- (String) The server instance ID.
- pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- String
- The ID of the shared processor pool.
- id String
- (String) The server instance ID.
- pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- string
- The ID of the shared processor pool.
- id string
- (String) The server instance ID.
- pi_
cloud_ strinstance_ id - The GUID of the service instance associated with an account.
- str
- The ID of the shared processor pool.
- id str
- (String) The server instance ID.
- pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- String
- The ID of the shared processor pool.
- id String
- (String) The server instance ID.
getPiSharedProcessorPool Result
The following output properties are available:
- Allocated
Cores double - (Float) The allocated cores in the shared processor pool.
- Available
Cores double - (Integer) The available cores in the shared processor pool.
- Crn string
- (String) The CRN of this resource.
- Dedicated
Host stringId - (String) The dedicated host ID where the shared processor pool resides.
- Host
Id double - (Integer) The host ID where the shared processor pool resides.
- Id string
- (String) The server instance ID.
- Instances
List<Get
Pi Shared Processor Pool Instance> - (List) List of server instances deployed in the shared processor pool.
- Name string
- (String) The name of the shared processor pool.
- Pi
Cloud stringInstance Id - string
- Reserved
Cores double - (Integer) The amount of reserved cores for the shared processor pool.
- Status string
- (String) The status of the shared processor pool.
- Status
Detail string - (String) The status details of the shared processor pool.
- List<string>
- (List) List of user tags attached to the resource.
- Allocated
Cores float64 - (Float) The allocated cores in the shared processor pool.
- Available
Cores float64 - (Integer) The available cores in the shared processor pool.
- Crn string
- (String) The CRN of this resource.
- Dedicated
Host stringId - (String) The dedicated host ID where the shared processor pool resides.
- Host
Id float64 - (Integer) The host ID where the shared processor pool resides.
- Id string
- (String) The server instance ID.
- Instances
[]Get
Pi Shared Processor Pool Instance - (List) List of server instances deployed in the shared processor pool.
- Name string
- (String) The name of the shared processor pool.
- Pi
Cloud stringInstance Id - string
- Reserved
Cores float64 - (Integer) The amount of reserved cores for the shared processor pool.
- Status string
- (String) The status of the shared processor pool.
- Status
Detail string - (String) The status details of the shared processor pool.
- []string
- (List) List of user tags attached to the resource.
- allocated
Cores Double - (Float) The allocated cores in the shared processor pool.
- available
Cores Double - (Integer) The available cores in the shared processor pool.
- crn String
- (String) The CRN of this resource.
- dedicated
Host StringId - (String) The dedicated host ID where the shared processor pool resides.
- host
Id Double - (Integer) The host ID where the shared processor pool resides.
- id String
- (String) The server instance ID.
- instances
List<Get
Pi Shared Processor Pool Instance> - (List) List of server instances deployed in the shared processor pool.
- name String
- (String) The name of the shared processor pool.
- pi
Cloud StringInstance Id - String
- reserved
Cores Double - (Integer) The amount of reserved cores for the shared processor pool.
- status String
- (String) The status of the shared processor pool.
- status
Detail String - (String) The status details of the shared processor pool.
- List<String>
- (List) List of user tags attached to the resource.
- allocated
Cores number - (Float) The allocated cores in the shared processor pool.
- available
Cores number - (Integer) The available cores in the shared processor pool.
- crn string
- (String) The CRN of this resource.
- dedicated
Host stringId - (String) The dedicated host ID where the shared processor pool resides.
- host
Id number - (Integer) The host ID where the shared processor pool resides.
- id string
- (String) The server instance ID.
- instances
Get
Pi Shared Processor Pool Instance[] - (List) List of server instances deployed in the shared processor pool.
- name string
- (String) The name of the shared processor pool.
- pi
Cloud stringInstance Id - string
- reserved
Cores number - (Integer) The amount of reserved cores for the shared processor pool.
- status string
- (String) The status of the shared processor pool.
- status
Detail string - (String) The status details of the shared processor pool.
- string[]
- (List) List of user tags attached to the resource.
- allocated_
cores float - (Float) The allocated cores in the shared processor pool.
- available_
cores float - (Integer) The available cores in the shared processor pool.
- crn str
- (String) The CRN of this resource.
- dedicated_
host_ strid - (String) The dedicated host ID where the shared processor pool resides.
- host_
id float - (Integer) The host ID where the shared processor pool resides.
- id str
- (String) The server instance ID.
- instances
Sequence[Get
Pi Shared Processor Pool Instance] - (List) List of server instances deployed in the shared processor pool.
- name str
- (String) The name of the shared processor pool.
- pi_
cloud_ strinstance_ id - str
- reserved_
cores float - (Integer) The amount of reserved cores for the shared processor pool.
- status str
- (String) The status of the shared processor pool.
- status_
detail str - (String) The status details of the shared processor pool.
- Sequence[str]
- (List) List of user tags attached to the resource.
- allocated
Cores Number - (Float) The allocated cores in the shared processor pool.
- available
Cores Number - (Integer) The available cores in the shared processor pool.
- crn String
- (String) The CRN of this resource.
- dedicated
Host StringId - (String) The dedicated host ID where the shared processor pool resides.
- host
Id Number - (Integer) The host ID where the shared processor pool resides.
- id String
- (String) The server instance ID.
- instances List<Property Map>
- (List) List of server instances deployed in the shared processor pool.
- name String
- (String) The name of the shared processor pool.
- pi
Cloud StringInstance Id - String
- reserved
Cores Number - (Integer) The amount of reserved cores for the shared processor pool.
- status String
- (String) The status of the shared processor pool.
- status
Detail String - (String) The status details of the shared processor pool.
- List<String>
- (List) List of user tags attached to the resource.
Supporting Types
GetPiSharedProcessorPoolInstance
- Availability
Zone string - (String) Availability zone for the server instances.
- Cpus double
- (Integer) The amount of cpus for the server instance.
- Id string
- (String) The server instance ID.
- Memory double
- (Integer) The amount of memory for the server instance.
- Name string
- (String) The name of the shared processor pool.
- Status string
- (String) The status of the shared processor pool.
- Uncapped bool
- (Bool) Identifies if uncapped or not.
- Vcpus double
- (Float) The amout of vcpus for the server instance.
- Availability
Zone string - (String) Availability zone for the server instances.
- Cpus float64
- (Integer) The amount of cpus for the server instance.
- Id string
- (String) The server instance ID.
- Memory float64
- (Integer) The amount of memory for the server instance.
- Name string
- (String) The name of the shared processor pool.
- Status string
- (String) The status of the shared processor pool.
- Uncapped bool
- (Bool) Identifies if uncapped or not.
- Vcpus float64
- (Float) The amout of vcpus for the server instance.
- availability
Zone String - (String) Availability zone for the server instances.
- cpus Double
- (Integer) The amount of cpus for the server instance.
- id String
- (String) The server instance ID.
- memory Double
- (Integer) The amount of memory for the server instance.
- name String
- (String) The name of the shared processor pool.
- status String
- (String) The status of the shared processor pool.
- uncapped Boolean
- (Bool) Identifies if uncapped or not.
- vcpus Double
- (Float) The amout of vcpus for the server instance.
- availability
Zone string - (String) Availability zone for the server instances.
- cpus number
- (Integer) The amount of cpus for the server instance.
- id string
- (String) The server instance ID.
- memory number
- (Integer) The amount of memory for the server instance.
- name string
- (String) The name of the shared processor pool.
- status string
- (String) The status of the shared processor pool.
- uncapped boolean
- (Bool) Identifies if uncapped or not.
- vcpus number
- (Float) The amout of vcpus for the server instance.
- availability_
zone str - (String) Availability zone for the server instances.
- cpus float
- (Integer) The amount of cpus for the server instance.
- id str
- (String) The server instance ID.
- memory float
- (Integer) The amount of memory for the server instance.
- name str
- (String) The name of the shared processor pool.
- status str
- (String) The status of the shared processor pool.
- uncapped bool
- (Bool) Identifies if uncapped or not.
- vcpus float
- (Float) The amout of vcpus for the server instance.
- availability
Zone String - (String) Availability zone for the server instances.
- cpus Number
- (Integer) The amount of cpus for the server instance.
- id String
- (String) The server instance ID.
- memory Number
- (Integer) The amount of memory for the server instance.
- name String
- (String) The name of the shared processor pool.
- status String
- (String) The status of the shared processor pool.
- uncapped Boolean
- (Bool) Identifies if uncapped or not.
- vcpus Number
- (Float) The amout of vcpus for the server instance.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.