1. Packages
  2. Ibm Provider
  3. API Docs
  4. PiSharedProcessorPool
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.PiSharedProcessorPool

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Create, update or delete a shared processor pool.

    Example Usage

    The following example enables you to create a shared processor pool with a group 2 reserved cores on a s922 host group:

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const testaccSharedProcessorPool = new ibm.PiSharedProcessorPool("testaccSharedProcessorPool", {
        piCloudInstanceId: "<value of the cloud_instance_id>",
        piSharedProcessorPoolHostGroup: "s922",
        piSharedProcessorPoolName: "my_spp",
        piSharedProcessorPoolReservedCores: 2,
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    testacc_shared_processor_pool = ibm.PiSharedProcessorPool("testaccSharedProcessorPool",
        pi_cloud_instance_id="<value of the cloud_instance_id>",
        pi_shared_processor_pool_host_group="s922",
        pi_shared_processor_pool_name="my_spp",
        pi_shared_processor_pool_reserved_cores=2)
    
    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.NewPiSharedProcessorPool(ctx, "testaccSharedProcessorPool", &ibm.PiSharedProcessorPoolArgs{
    			PiCloudInstanceId:                  pulumi.String("<value of the cloud_instance_id>"),
    			PiSharedProcessorPoolHostGroup:     pulumi.String("s922"),
    			PiSharedProcessorPoolName:          pulumi.String("my_spp"),
    			PiSharedProcessorPoolReservedCores: pulumi.Float64(2),
    		})
    		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 testaccSharedProcessorPool = new Ibm.PiSharedProcessorPool("testaccSharedProcessorPool", new()
        {
            PiCloudInstanceId = "<value of the cloud_instance_id>",
            PiSharedProcessorPoolHostGroup = "s922",
            PiSharedProcessorPoolName = "my_spp",
            PiSharedProcessorPoolReservedCores = 2,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.PiSharedProcessorPool;
    import com.pulumi.ibm.PiSharedProcessorPoolArgs;
    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) {
            var testaccSharedProcessorPool = new PiSharedProcessorPool("testaccSharedProcessorPool", PiSharedProcessorPoolArgs.builder()
                .piCloudInstanceId("<value of the cloud_instance_id>")
                .piSharedProcessorPoolHostGroup("s922")
                .piSharedProcessorPoolName("my_spp")
                .piSharedProcessorPoolReservedCores("2")
                .build());
    
        }
    }
    
    resources:
      testaccSharedProcessorPool:
        type: ibm:PiSharedProcessorPool
        properties:
          piCloudInstanceId: <value of the cloud_instance_id>
          piSharedProcessorPoolHostGroup: s922
          piSharedProcessorPoolName: my_spp
          piSharedProcessorPoolReservedCores: '2'
    

    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) {
        }
    }
    
    {}
    

    Create PiSharedProcessorPool Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new PiSharedProcessorPool(name: string, args: PiSharedProcessorPoolArgs, opts?: CustomResourceOptions);
    @overload
    def PiSharedProcessorPool(resource_name: str,
                              args: PiSharedProcessorPoolArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def PiSharedProcessorPool(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              pi_cloud_instance_id: Optional[str] = None,
                              pi_shared_processor_pool_host_group: Optional[str] = None,
                              pi_shared_processor_pool_name: Optional[str] = None,
                              pi_shared_processor_pool_reserved_cores: Optional[float] = None,
                              pi_host_id: Optional[str] = None,
                              pi_shared_processor_pool_id: Optional[str] = None,
                              pi_shared_processor_pool_placement_group_id: Optional[str] = None,
                              pi_shared_processor_pool_placement_groups: Optional[Sequence[str]] = None,
                              pi_user_tags: Optional[Sequence[str]] = None,
                              spp_placement_groups: Optional[Sequence[str]] = None,
                              timeouts: Optional[PiSharedProcessorPoolTimeoutsArgs] = None)
    func NewPiSharedProcessorPool(ctx *Context, name string, args PiSharedProcessorPoolArgs, opts ...ResourceOption) (*PiSharedProcessorPool, error)
    public PiSharedProcessorPool(string name, PiSharedProcessorPoolArgs args, CustomResourceOptions? opts = null)
    public PiSharedProcessorPool(String name, PiSharedProcessorPoolArgs args)
    public PiSharedProcessorPool(String name, PiSharedProcessorPoolArgs args, CustomResourceOptions options)
    
    type: ibm:PiSharedProcessorPool
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args PiSharedProcessorPoolArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args PiSharedProcessorPoolArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args PiSharedProcessorPoolArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PiSharedProcessorPoolArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PiSharedProcessorPoolArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var piSharedProcessorPoolResource = new Ibm.PiSharedProcessorPool("piSharedProcessorPoolResource", new()
    {
        PiCloudInstanceId = "string",
        PiSharedProcessorPoolHostGroup = "string",
        PiSharedProcessorPoolName = "string",
        PiSharedProcessorPoolReservedCores = 0,
        PiHostId = "string",
        PiSharedProcessorPoolId = "string",
        PiSharedProcessorPoolPlacementGroups = new[]
        {
            "string",
        },
        PiUserTags = new[]
        {
            "string",
        },
        Timeouts = new Ibm.Inputs.PiSharedProcessorPoolTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
    });
    
    example, err := ibm.NewPiSharedProcessorPool(ctx, "piSharedProcessorPoolResource", &ibm.PiSharedProcessorPoolArgs{
    	PiCloudInstanceId:                  pulumi.String("string"),
    	PiSharedProcessorPoolHostGroup:     pulumi.String("string"),
    	PiSharedProcessorPoolName:          pulumi.String("string"),
    	PiSharedProcessorPoolReservedCores: pulumi.Float64(0),
    	PiHostId:                           pulumi.String("string"),
    	PiSharedProcessorPoolId:            pulumi.String("string"),
    	PiSharedProcessorPoolPlacementGroups: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	PiUserTags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Timeouts: &ibm.PiSharedProcessorPoolTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var piSharedProcessorPoolResource = new PiSharedProcessorPool("piSharedProcessorPoolResource", PiSharedProcessorPoolArgs.builder()
        .piCloudInstanceId("string")
        .piSharedProcessorPoolHostGroup("string")
        .piSharedProcessorPoolName("string")
        .piSharedProcessorPoolReservedCores(0)
        .piHostId("string")
        .piSharedProcessorPoolId("string")
        .piSharedProcessorPoolPlacementGroups("string")
        .piUserTags("string")
        .timeouts(PiSharedProcessorPoolTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .build());
    
    pi_shared_processor_pool_resource = ibm.PiSharedProcessorPool("piSharedProcessorPoolResource",
        pi_cloud_instance_id="string",
        pi_shared_processor_pool_host_group="string",
        pi_shared_processor_pool_name="string",
        pi_shared_processor_pool_reserved_cores=0,
        pi_host_id="string",
        pi_shared_processor_pool_id="string",
        pi_shared_processor_pool_placement_groups=["string"],
        pi_user_tags=["string"],
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        })
    
    const piSharedProcessorPoolResource = new ibm.PiSharedProcessorPool("piSharedProcessorPoolResource", {
        piCloudInstanceId: "string",
        piSharedProcessorPoolHostGroup: "string",
        piSharedProcessorPoolName: "string",
        piSharedProcessorPoolReservedCores: 0,
        piHostId: "string",
        piSharedProcessorPoolId: "string",
        piSharedProcessorPoolPlacementGroups: ["string"],
        piUserTags: ["string"],
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
    });
    
    type: ibm:PiSharedProcessorPool
    properties:
        piCloudInstanceId: string
        piHostId: string
        piSharedProcessorPoolHostGroup: string
        piSharedProcessorPoolId: string
        piSharedProcessorPoolName: string
        piSharedProcessorPoolPlacementGroups:
            - string
        piSharedProcessorPoolReservedCores: 0
        piUserTags:
            - string
        timeouts:
            create: string
            delete: string
            update: string
    

    PiSharedProcessorPool Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The PiSharedProcessorPool resource accepts the following input properties:

    PiCloudInstanceId string
    The GUID of the service instance associated with an account.
    PiSharedProcessorPoolHostGroup string
    Host group of the shared processor pool. Valid values are 's922', 'e980' and 's1022'.
    PiSharedProcessorPoolName string
    The name of the shared processor pool.
    PiSharedProcessorPoolReservedCores double
    The amount of reserved cores for the shared processor pool.
    PiHostId string
    The host id of a host in a host group (only available for dedicated hosts).
    PiSharedProcessorPoolId string
    (String) The server instance ID.
    PiSharedProcessorPoolPlacementGroupId string
    The ID of the placement group the shared processor pool is created in. Please use pi_shared_processor_pool_placement_groups instead.

    Deprecated: Deprecated

    PiSharedProcessorPoolPlacementGroups List<string>
    The list of shared processor pool placement groups that the shared processor pool is in.
    PiUserTags List<string>
    The user tags attached to this resource.
    SppPlacementGroups List<string>
    The list of shared processor pool placement groups that the shared processor pool is in.

    Deprecated: Deprecated

    Timeouts PiSharedProcessorPoolTimeouts
    PiCloudInstanceId string
    The GUID of the service instance associated with an account.
    PiSharedProcessorPoolHostGroup string
    Host group of the shared processor pool. Valid values are 's922', 'e980' and 's1022'.
    PiSharedProcessorPoolName string
    The name of the shared processor pool.
    PiSharedProcessorPoolReservedCores float64
    The amount of reserved cores for the shared processor pool.
    PiHostId string
    The host id of a host in a host group (only available for dedicated hosts).
    PiSharedProcessorPoolId string
    (String) The server instance ID.
    PiSharedProcessorPoolPlacementGroupId string
    The ID of the placement group the shared processor pool is created in. Please use pi_shared_processor_pool_placement_groups instead.

    Deprecated: Deprecated

    PiSharedProcessorPoolPlacementGroups []string
    The list of shared processor pool placement groups that the shared processor pool is in.
    PiUserTags []string
    The user tags attached to this resource.
    SppPlacementGroups []string
    The list of shared processor pool placement groups that the shared processor pool is in.

    Deprecated: Deprecated

    Timeouts PiSharedProcessorPoolTimeoutsArgs
    piCloudInstanceId String
    The GUID of the service instance associated with an account.
    piSharedProcessorPoolHostGroup String
    Host group of the shared processor pool. Valid values are 's922', 'e980' and 's1022'.
    piSharedProcessorPoolName String
    The name of the shared processor pool.
    piSharedProcessorPoolReservedCores Double
    The amount of reserved cores for the shared processor pool.
    piHostId String
    The host id of a host in a host group (only available for dedicated hosts).
    piSharedProcessorPoolId String
    (String) The server instance ID.
    piSharedProcessorPoolPlacementGroupId String
    The ID of the placement group the shared processor pool is created in. Please use pi_shared_processor_pool_placement_groups instead.

    Deprecated: Deprecated

    piSharedProcessorPoolPlacementGroups List<String>
    The list of shared processor pool placement groups that the shared processor pool is in.
    piUserTags List<String>
    The user tags attached to this resource.
    sppPlacementGroups List<String>
    The list of shared processor pool placement groups that the shared processor pool is in.

    Deprecated: Deprecated

    timeouts PiSharedProcessorPoolTimeouts
    piCloudInstanceId string
    The GUID of the service instance associated with an account.
    piSharedProcessorPoolHostGroup string
    Host group of the shared processor pool. Valid values are 's922', 'e980' and 's1022'.
    piSharedProcessorPoolName string
    The name of the shared processor pool.
    piSharedProcessorPoolReservedCores number
    The amount of reserved cores for the shared processor pool.
    piHostId string
    The host id of a host in a host group (only available for dedicated hosts).
    piSharedProcessorPoolId string
    (String) The server instance ID.
    piSharedProcessorPoolPlacementGroupId string
    The ID of the placement group the shared processor pool is created in. Please use pi_shared_processor_pool_placement_groups instead.

    Deprecated: Deprecated

    piSharedProcessorPoolPlacementGroups string[]
    The list of shared processor pool placement groups that the shared processor pool is in.
    piUserTags string[]
    The user tags attached to this resource.
    sppPlacementGroups string[]
    The list of shared processor pool placement groups that the shared processor pool is in.

    Deprecated: Deprecated

    timeouts PiSharedProcessorPoolTimeouts
    pi_cloud_instance_id str
    The GUID of the service instance associated with an account.
    pi_shared_processor_pool_host_group str
    Host group of the shared processor pool. Valid values are 's922', 'e980' and 's1022'.
    pi_shared_processor_pool_name str
    The name of the shared processor pool.
    pi_shared_processor_pool_reserved_cores float
    The amount of reserved cores for the shared processor pool.
    pi_host_id str
    The host id of a host in a host group (only available for dedicated hosts).
    pi_shared_processor_pool_id str
    (String) The server instance ID.
    pi_shared_processor_pool_placement_group_id str
    The ID of the placement group the shared processor pool is created in. Please use pi_shared_processor_pool_placement_groups instead.

    Deprecated: Deprecated

    pi_shared_processor_pool_placement_groups Sequence[str]
    The list of shared processor pool placement groups that the shared processor pool is in.
    pi_user_tags Sequence[str]
    The user tags attached to this resource.
    spp_placement_groups Sequence[str]
    The list of shared processor pool placement groups that the shared processor pool is in.

    Deprecated: Deprecated

    timeouts PiSharedProcessorPoolTimeoutsArgs
    piCloudInstanceId String
    The GUID of the service instance associated with an account.
    piSharedProcessorPoolHostGroup String
    Host group of the shared processor pool. Valid values are 's922', 'e980' and 's1022'.
    piSharedProcessorPoolName String
    The name of the shared processor pool.
    piSharedProcessorPoolReservedCores Number
    The amount of reserved cores for the shared processor pool.
    piHostId String
    The host id of a host in a host group (only available for dedicated hosts).
    piSharedProcessorPoolId String
    (String) The server instance ID.
    piSharedProcessorPoolPlacementGroupId String
    The ID of the placement group the shared processor pool is created in. Please use pi_shared_processor_pool_placement_groups instead.

    Deprecated: Deprecated

    piSharedProcessorPoolPlacementGroups List<String>
    The list of shared processor pool placement groups that the shared processor pool is in.
    piUserTags List<String>
    The user tags attached to this resource.
    sppPlacementGroups List<String>
    The list of shared processor pool placement groups that the shared processor pool is in.

    Deprecated: Deprecated

    timeouts Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the PiSharedProcessorPool resource produces the following output properties:

    AllocatedCores double
    (Float) The allocated cores in the shared processor pool.
    AvailableCores double
    (Integer) The available cores in the shared processor pool.
    Crn string
    (String) The CRN of this resource.
    DedicatedHostId string
    (String) The dedicated host ID where the shared processor pool resides.
    HostId double
    (Integer) The host ID where the shared processor pool resides.
    Id string
    The provider-assigned unique ID for this managed resource.
    Instances List<PiSharedProcessorPoolInstance>
    (List of Map) The list of server instances that are deployed in the shared processor pool.
    SharedProcessorPoolId string
    (String) The shared processor pool's unique ID.
    Status string
    (String) The status of the shared processor pool.
    StatusDetail string
    (String) The status details of the shared processor pool.
    AllocatedCores float64
    (Float) The allocated cores in the shared processor pool.
    AvailableCores float64
    (Integer) The available cores in the shared processor pool.
    Crn string
    (String) The CRN of this resource.
    DedicatedHostId string
    (String) The dedicated host ID where the shared processor pool resides.
    HostId float64
    (Integer) The host ID where the shared processor pool resides.
    Id string
    The provider-assigned unique ID for this managed resource.
    Instances []PiSharedProcessorPoolInstance
    (List of Map) The list of server instances that are deployed in the shared processor pool.
    SharedProcessorPoolId string
    (String) The shared processor pool's unique ID.
    Status string
    (String) The status of the shared processor pool.
    StatusDetail string
    (String) The status details of the shared processor pool.
    allocatedCores Double
    (Float) The allocated cores in the shared processor pool.
    availableCores Double
    (Integer) The available cores in the shared processor pool.
    crn String
    (String) The CRN of this resource.
    dedicatedHostId String
    (String) The dedicated host ID where the shared processor pool resides.
    hostId Double
    (Integer) The host ID where the shared processor pool resides.
    id String
    The provider-assigned unique ID for this managed resource.
    instances List<PiSharedProcessorPoolInstance>
    (List of Map) The list of server instances that are deployed in the shared processor pool.
    sharedProcessorPoolId String
    (String) The shared processor pool's unique ID.
    status String
    (String) The status of the shared processor pool.
    statusDetail String
    (String) The status details of the shared processor pool.
    allocatedCores number
    (Float) The allocated cores in the shared processor pool.
    availableCores number
    (Integer) The available cores in the shared processor pool.
    crn string
    (String) The CRN of this resource.
    dedicatedHostId string
    (String) The dedicated host ID where the shared processor pool resides.
    hostId number
    (Integer) The host ID where the shared processor pool resides.
    id string
    The provider-assigned unique ID for this managed resource.
    instances PiSharedProcessorPoolInstance[]
    (List of Map) The list of server instances that are deployed in the shared processor pool.
    sharedProcessorPoolId string
    (String) The shared processor pool's unique ID.
    status string
    (String) The status of the shared processor pool.
    statusDetail string
    (String) The status details of the shared processor pool.
    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_id str
    (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
    The provider-assigned unique ID for this managed resource.
    instances Sequence[PiSharedProcessorPoolInstance]
    (List of Map) The list of server instances that are deployed in the shared processor pool.
    shared_processor_pool_id 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.
    allocatedCores Number
    (Float) The allocated cores in the shared processor pool.
    availableCores Number
    (Integer) The available cores in the shared processor pool.
    crn String
    (String) The CRN of this resource.
    dedicatedHostId String
    (String) The dedicated host ID where the shared processor pool resides.
    hostId Number
    (Integer) The host ID where the shared processor pool resides.
    id String
    The provider-assigned unique ID for this managed resource.
    instances List<Property Map>
    (List of Map) The list of server instances that are deployed in the shared processor pool.
    sharedProcessorPoolId String
    (String) The shared processor pool's unique ID.
    status String
    (String) The status of the shared processor pool.
    statusDetail String
    (String) The status details of the shared processor pool.

    Look up Existing PiSharedProcessorPool Resource

    Get an existing PiSharedProcessorPool resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: PiSharedProcessorPoolState, opts?: CustomResourceOptions): PiSharedProcessorPool
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            allocated_cores: Optional[float] = None,
            available_cores: Optional[float] = None,
            crn: Optional[str] = None,
            dedicated_host_id: Optional[str] = None,
            host_id: Optional[float] = None,
            instances: Optional[Sequence[PiSharedProcessorPoolInstanceArgs]] = None,
            pi_cloud_instance_id: Optional[str] = None,
            pi_host_id: Optional[str] = None,
            pi_shared_processor_pool_host_group: Optional[str] = None,
            pi_shared_processor_pool_id: Optional[str] = None,
            pi_shared_processor_pool_name: Optional[str] = None,
            pi_shared_processor_pool_placement_group_id: Optional[str] = None,
            pi_shared_processor_pool_placement_groups: Optional[Sequence[str]] = None,
            pi_shared_processor_pool_reserved_cores: Optional[float] = None,
            pi_user_tags: Optional[Sequence[str]] = None,
            shared_processor_pool_id: Optional[str] = None,
            spp_placement_groups: Optional[Sequence[str]] = None,
            status: Optional[str] = None,
            status_detail: Optional[str] = None,
            timeouts: Optional[PiSharedProcessorPoolTimeoutsArgs] = None) -> PiSharedProcessorPool
    func GetPiSharedProcessorPool(ctx *Context, name string, id IDInput, state *PiSharedProcessorPoolState, opts ...ResourceOption) (*PiSharedProcessorPool, error)
    public static PiSharedProcessorPool Get(string name, Input<string> id, PiSharedProcessorPoolState? state, CustomResourceOptions? opts = null)
    public static PiSharedProcessorPool get(String name, Output<String> id, PiSharedProcessorPoolState state, CustomResourceOptions options)
    resources:  _:    type: ibm:PiSharedProcessorPool    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AllocatedCores double
    (Float) The allocated cores in the shared processor pool.
    AvailableCores double
    (Integer) The available cores in the shared processor pool.
    Crn string
    (String) The CRN of this resource.
    DedicatedHostId string
    (String) The dedicated host ID where the shared processor pool resides.
    HostId double
    (Integer) The host ID where the shared processor pool resides.
    Instances List<PiSharedProcessorPoolInstance>
    (List of Map) The list of server instances that are deployed in the shared processor pool.
    PiCloudInstanceId string
    The GUID of the service instance associated with an account.
    PiHostId string
    The host id of a host in a host group (only available for dedicated hosts).
    PiSharedProcessorPoolHostGroup string
    Host group of the shared processor pool. Valid values are 's922', 'e980' and 's1022'.
    PiSharedProcessorPoolId string
    (String) The server instance ID.
    PiSharedProcessorPoolName string
    The name of the shared processor pool.
    PiSharedProcessorPoolPlacementGroupId string
    The ID of the placement group the shared processor pool is created in. Please use pi_shared_processor_pool_placement_groups instead.

    Deprecated: Deprecated

    PiSharedProcessorPoolPlacementGroups List<string>
    The list of shared processor pool placement groups that the shared processor pool is in.
    PiSharedProcessorPoolReservedCores double
    The amount of reserved cores for the shared processor pool.
    PiUserTags List<string>
    The user tags attached to this resource.
    SharedProcessorPoolId string
    (String) The shared processor pool's unique ID.
    SppPlacementGroups List<string>
    The list of shared processor pool placement groups that the shared processor pool is in.

    Deprecated: Deprecated

    Status string
    (String) The status of the shared processor pool.
    StatusDetail string
    (String) The status details of the shared processor pool.
    Timeouts PiSharedProcessorPoolTimeouts
    AllocatedCores float64
    (Float) The allocated cores in the shared processor pool.
    AvailableCores float64
    (Integer) The available cores in the shared processor pool.
    Crn string
    (String) The CRN of this resource.
    DedicatedHostId string
    (String) The dedicated host ID where the shared processor pool resides.
    HostId float64
    (Integer) The host ID where the shared processor pool resides.
    Instances []PiSharedProcessorPoolInstanceArgs
    (List of Map) The list of server instances that are deployed in the shared processor pool.
    PiCloudInstanceId string
    The GUID of the service instance associated with an account.
    PiHostId string
    The host id of a host in a host group (only available for dedicated hosts).
    PiSharedProcessorPoolHostGroup string
    Host group of the shared processor pool. Valid values are 's922', 'e980' and 's1022'.
    PiSharedProcessorPoolId string
    (String) The server instance ID.
    PiSharedProcessorPoolName string
    The name of the shared processor pool.
    PiSharedProcessorPoolPlacementGroupId string
    The ID of the placement group the shared processor pool is created in. Please use pi_shared_processor_pool_placement_groups instead.

    Deprecated: Deprecated

    PiSharedProcessorPoolPlacementGroups []string
    The list of shared processor pool placement groups that the shared processor pool is in.
    PiSharedProcessorPoolReservedCores float64
    The amount of reserved cores for the shared processor pool.
    PiUserTags []string
    The user tags attached to this resource.
    SharedProcessorPoolId string
    (String) The shared processor pool's unique ID.
    SppPlacementGroups []string
    The list of shared processor pool placement groups that the shared processor pool is in.

    Deprecated: Deprecated

    Status string
    (String) The status of the shared processor pool.
    StatusDetail string
    (String) The status details of the shared processor pool.
    Timeouts PiSharedProcessorPoolTimeoutsArgs
    allocatedCores Double
    (Float) The allocated cores in the shared processor pool.
    availableCores Double
    (Integer) The available cores in the shared processor pool.
    crn String
    (String) The CRN of this resource.
    dedicatedHostId String
    (String) The dedicated host ID where the shared processor pool resides.
    hostId Double
    (Integer) The host ID where the shared processor pool resides.
    instances List<PiSharedProcessorPoolInstance>
    (List of Map) The list of server instances that are deployed in the shared processor pool.
    piCloudInstanceId String
    The GUID of the service instance associated with an account.
    piHostId String
    The host id of a host in a host group (only available for dedicated hosts).
    piSharedProcessorPoolHostGroup String
    Host group of the shared processor pool. Valid values are 's922', 'e980' and 's1022'.
    piSharedProcessorPoolId String
    (String) The server instance ID.
    piSharedProcessorPoolName String
    The name of the shared processor pool.
    piSharedProcessorPoolPlacementGroupId String
    The ID of the placement group the shared processor pool is created in. Please use pi_shared_processor_pool_placement_groups instead.

    Deprecated: Deprecated

    piSharedProcessorPoolPlacementGroups List<String>
    The list of shared processor pool placement groups that the shared processor pool is in.
    piSharedProcessorPoolReservedCores Double
    The amount of reserved cores for the shared processor pool.
    piUserTags List<String>
    The user tags attached to this resource.
    sharedProcessorPoolId String
    (String) The shared processor pool's unique ID.
    sppPlacementGroups List<String>
    The list of shared processor pool placement groups that the shared processor pool is in.

    Deprecated: Deprecated

    status String
    (String) The status of the shared processor pool.
    statusDetail String
    (String) The status details of the shared processor pool.
    timeouts PiSharedProcessorPoolTimeouts
    allocatedCores number
    (Float) The allocated cores in the shared processor pool.
    availableCores number
    (Integer) The available cores in the shared processor pool.
    crn string
    (String) The CRN of this resource.
    dedicatedHostId string
    (String) The dedicated host ID where the shared processor pool resides.
    hostId number
    (Integer) The host ID where the shared processor pool resides.
    instances PiSharedProcessorPoolInstance[]
    (List of Map) The list of server instances that are deployed in the shared processor pool.
    piCloudInstanceId string
    The GUID of the service instance associated with an account.
    piHostId string
    The host id of a host in a host group (only available for dedicated hosts).
    piSharedProcessorPoolHostGroup string
    Host group of the shared processor pool. Valid values are 's922', 'e980' and 's1022'.
    piSharedProcessorPoolId string
    (String) The server instance ID.
    piSharedProcessorPoolName string
    The name of the shared processor pool.
    piSharedProcessorPoolPlacementGroupId string
    The ID of the placement group the shared processor pool is created in. Please use pi_shared_processor_pool_placement_groups instead.

    Deprecated: Deprecated

    piSharedProcessorPoolPlacementGroups string[]
    The list of shared processor pool placement groups that the shared processor pool is in.
    piSharedProcessorPoolReservedCores number
    The amount of reserved cores for the shared processor pool.
    piUserTags string[]
    The user tags attached to this resource.
    sharedProcessorPoolId string
    (String) The shared processor pool's unique ID.
    sppPlacementGroups string[]
    The list of shared processor pool placement groups that the shared processor pool is in.

    Deprecated: Deprecated

    status string
    (String) The status of the shared processor pool.
    statusDetail string
    (String) The status details of the shared processor pool.
    timeouts PiSharedProcessorPoolTimeouts
    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_id str
    (String) The dedicated host ID where the shared processor pool resides.
    host_id float
    (Integer) The host ID where the shared processor pool resides.
    instances Sequence[PiSharedProcessorPoolInstanceArgs]
    (List of Map) The list of server instances that are deployed in the shared processor pool.
    pi_cloud_instance_id str
    The GUID of the service instance associated with an account.
    pi_host_id str
    The host id of a host in a host group (only available for dedicated hosts).
    pi_shared_processor_pool_host_group str
    Host group of the shared processor pool. Valid values are 's922', 'e980' and 's1022'.
    pi_shared_processor_pool_id str
    (String) The server instance ID.
    pi_shared_processor_pool_name str
    The name of the shared processor pool.
    pi_shared_processor_pool_placement_group_id str
    The ID of the placement group the shared processor pool is created in. Please use pi_shared_processor_pool_placement_groups instead.

    Deprecated: Deprecated

    pi_shared_processor_pool_placement_groups Sequence[str]
    The list of shared processor pool placement groups that the shared processor pool is in.
    pi_shared_processor_pool_reserved_cores float
    The amount of reserved cores for the shared processor pool.
    pi_user_tags Sequence[str]
    The user tags attached to this resource.
    shared_processor_pool_id str
    (String) The shared processor pool's unique ID.
    spp_placement_groups Sequence[str]
    The list of shared processor pool placement groups that the shared processor pool is in.

    Deprecated: Deprecated

    status str
    (String) The status of the shared processor pool.
    status_detail str
    (String) The status details of the shared processor pool.
    timeouts PiSharedProcessorPoolTimeoutsArgs
    allocatedCores Number
    (Float) The allocated cores in the shared processor pool.
    availableCores Number
    (Integer) The available cores in the shared processor pool.
    crn String
    (String) The CRN of this resource.
    dedicatedHostId String
    (String) The dedicated host ID where the shared processor pool resides.
    hostId Number
    (Integer) The host ID where the shared processor pool resides.
    instances List<Property Map>
    (List of Map) The list of server instances that are deployed in the shared processor pool.
    piCloudInstanceId String
    The GUID of the service instance associated with an account.
    piHostId String
    The host id of a host in a host group (only available for dedicated hosts).
    piSharedProcessorPoolHostGroup String
    Host group of the shared processor pool. Valid values are 's922', 'e980' and 's1022'.
    piSharedProcessorPoolId String
    (String) The server instance ID.
    piSharedProcessorPoolName String
    The name of the shared processor pool.
    piSharedProcessorPoolPlacementGroupId String
    The ID of the placement group the shared processor pool is created in. Please use pi_shared_processor_pool_placement_groups instead.

    Deprecated: Deprecated

    piSharedProcessorPoolPlacementGroups List<String>
    The list of shared processor pool placement groups that the shared processor pool is in.
    piSharedProcessorPoolReservedCores Number
    The amount of reserved cores for the shared processor pool.
    piUserTags List<String>
    The user tags attached to this resource.
    sharedProcessorPoolId String
    (String) The shared processor pool's unique ID.
    sppPlacementGroups List<String>
    The list of shared processor pool placement groups that the shared processor pool is in.

    Deprecated: Deprecated

    status String
    (String) The status of the shared processor pool.
    statusDetail String
    (String) The status details of the shared processor pool.
    timeouts Property Map

    Supporting Types

    PiSharedProcessorPoolInstance, PiSharedProcessorPoolInstanceArgs

    AvailabilityZone 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 server instance name.
    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.
    AvailabilityZone 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 server instance name.
    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.
    availabilityZone 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 server instance name.
    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.
    availabilityZone 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 server instance name.
    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 server instance name.
    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.
    availabilityZone 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 server instance name.
    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.

    PiSharedProcessorPoolTimeouts, PiSharedProcessorPoolTimeoutsArgs

    Create string
    Delete string
    Update string
    Create string
    Delete string
    Update string
    create String
    delete String
    update String
    create string
    delete string
    update string
    create str
    delete str
    update str
    create String
    delete String
    update String

    Import

    Example

    bash

    $ pulumi import ibm:index/piSharedProcessorPool:PiSharedProcessorPool example d7bec597-4726-451f-8a63-e62e6f19c32c/b17a2b7f-77ab-491c-811e-495f8d4c8947
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud