ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud
ibm.getPiSharedProcessorPools
Explore with Pulumi AI
Retrieve information about all shared processor pools. 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.getPiSharedProcessorPools({
piCloudInstanceId: "<value of the cloud_instance_id>",
});
import pulumi
import pulumi_ibm as ibm
example = ibm.get_pi_shared_processor_pools(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.GetPiSharedProcessorPools(ctx, &ibm.GetPiSharedProcessorPoolsArgs{
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.GetPiSharedProcessorPools.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.GetPiSharedProcessorPoolsArgs;
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.getPiSharedProcessorPools(GetPiSharedProcessorPoolsArgs.builder()
.piCloudInstanceId("<value of the cloud_instance_id>")
.build());
}
}
variables:
example:
fn::invoke:
function: ibm:getPiSharedProcessorPools
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
-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 getPiSharedProcessorPools
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 getPiSharedProcessorPools(args: GetPiSharedProcessorPoolsArgs, opts?: InvokeOptions): Promise<GetPiSharedProcessorPoolsResult>
function getPiSharedProcessorPoolsOutput(args: GetPiSharedProcessorPoolsOutputArgs, opts?: InvokeOptions): Output<GetPiSharedProcessorPoolsResult>
def get_pi_shared_processor_pools(id: Optional[str] = None,
pi_cloud_instance_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPiSharedProcessorPoolsResult
def get_pi_shared_processor_pools_output(id: Optional[pulumi.Input[str]] = None,
pi_cloud_instance_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPiSharedProcessorPoolsResult]
func GetPiSharedProcessorPools(ctx *Context, args *GetPiSharedProcessorPoolsArgs, opts ...InvokeOption) (*GetPiSharedProcessorPoolsResult, error)
func GetPiSharedProcessorPoolsOutput(ctx *Context, args *GetPiSharedProcessorPoolsOutputArgs, opts ...InvokeOption) GetPiSharedProcessorPoolsResultOutput
> Note: This function is named GetPiSharedProcessorPools
in the Go SDK.
public static class GetPiSharedProcessorPools
{
public static Task<GetPiSharedProcessorPoolsResult> InvokeAsync(GetPiSharedProcessorPoolsArgs args, InvokeOptions? opts = null)
public static Output<GetPiSharedProcessorPoolsResult> Invoke(GetPiSharedProcessorPoolsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPiSharedProcessorPoolsResult> getPiSharedProcessorPools(GetPiSharedProcessorPoolsArgs args, InvokeOptions options)
public static Output<GetPiSharedProcessorPoolsResult> getPiSharedProcessorPools(GetPiSharedProcessorPoolsArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getPiSharedProcessorPools:getPiSharedProcessorPools
arguments:
# arguments dictionary
The 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
getPiSharedProcessorPools Result
The following output properties are available:
- Id string
- Pi
Cloud stringInstance Id - List<Get
Pi Shared Processor Pools Shared Processor Pool> - (List) List of all the shared processor pools.
- Id string
- Pi
Cloud stringInstance Id - []Get
Pi Shared Processor Pools Shared Processor Pool - (List) List of all the shared processor pools.
- id String
- pi
Cloud StringInstance Id - List<Get
Pi Shared Processor Pools Shared Processor Pool> - (List) List of all the shared processor pools.
- id string
- pi
Cloud stringInstance Id - Get
Pi Shared Processor Pools Shared Processor Pool[] - (List) List of all the shared processor pools.
- id str
- pi_
cloud_ strinstance_ id - Sequence[Get
Pi Shared Processor Pools Shared Processor Pool] - (List) List of all the shared processor pools.
- id String
- pi
Cloud StringInstance Id - List<Property Map>
- (List) List of all the shared processor pools.
Supporting Types
GetPiSharedProcessorPoolsSharedProcessorPool
- 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.
- Name string
- (String) The name of the shared processor pool.
- Reserved
Cores double - (Integer) The amount of reserved cores for the shared processor pool.
- string
- (String) The shared processor pool's unique ID.
- 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.
- Name string
- (String) The name of the shared processor pool.
- Reserved
Cores float64 - (Integer) The amount of reserved cores for the shared processor pool.
- string
- (String) The shared processor pool's unique ID.
- 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.
- name String
- (String) The name of the shared processor pool.
- reserved
Cores Double - (Integer) The amount of reserved cores for the shared processor pool.
- String
- (String) The shared processor pool's unique ID.
- 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.
- name string
- (String) The name of the shared processor pool.
- reserved
Cores number - (Integer) The amount of reserved cores for the shared processor pool.
- string
- (String) The shared processor pool's unique ID.
- 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.
- name str
- (String) The name of the shared processor pool.
- reserved_
cores float - (Integer) The amount of reserved cores for the shared processor pool.
- str
- (String) The shared processor pool's unique ID.
- 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.
- name String
- (String) The name of the shared processor pool.
- reserved
Cores Number - (Integer) The amount of reserved cores for the shared processor pool.
- String
- (String) The shared processor pool's unique ID.
- 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.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.