ibm.PiSharedProcessorPool
Explore with Pulumi AI
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:
- Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- string
- Host group of the shared processor pool. Valid values are 's922', 'e980' and 's1022'.
- string
- The name of the shared processor pool.
- double
- The amount of reserved cores for the shared processor pool.
- Pi
Host stringId - The host id of a host in a host group (only available for dedicated hosts).
- string
- (String) The server instance ID.
- string
- The ID of the placement group the shared processor pool is created in. Please use pi_shared_processor_pool_placement_groups instead.
- List<string>
- The list of shared processor pool placement groups that the shared processor pool is in.
- List<string>
- The user tags attached to this resource.
- Spp
Placement List<string>Groups - The list of shared processor pool placement groups that the shared processor pool is in.
- Timeouts
Pi
Shared Processor Pool Timeouts
- Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- string
- Host group of the shared processor pool. Valid values are 's922', 'e980' and 's1022'.
- string
- The name of the shared processor pool.
- float64
- The amount of reserved cores for the shared processor pool.
- Pi
Host stringId - The host id of a host in a host group (only available for dedicated hosts).
- string
- (String) The server instance ID.
- string
- The ID of the placement group the shared processor pool is created in. Please use pi_shared_processor_pool_placement_groups instead.
- []string
- The list of shared processor pool placement groups that the shared processor pool is in.
- []string
- The user tags attached to this resource.
- Spp
Placement []stringGroups - The list of shared processor pool placement groups that the shared processor pool is in.
- Timeouts
Pi
Shared Processor Pool Timeouts Args
- pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- String
- Host group of the shared processor pool. Valid values are 's922', 'e980' and 's1022'.
- String
- The name of the shared processor pool.
- Double
- The amount of reserved cores for the shared processor pool.
- pi
Host StringId - The host id of a host in a host group (only available for dedicated hosts).
- String
- (String) The server instance ID.
- String
- The ID of the placement group the shared processor pool is created in. Please use pi_shared_processor_pool_placement_groups instead.
- List<String>
- The list of shared processor pool placement groups that the shared processor pool is in.
- List<String>
- The user tags attached to this resource.
- spp
Placement List<String>Groups - The list of shared processor pool placement groups that the shared processor pool is in.
- timeouts
Pi
Shared Processor Pool Timeouts
- pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- string
- Host group of the shared processor pool. Valid values are 's922', 'e980' and 's1022'.
- string
- The name of the shared processor pool.
- number
- The amount of reserved cores for the shared processor pool.
- pi
Host stringId - The host id of a host in a host group (only available for dedicated hosts).
- string
- (String) The server instance ID.
- string
- The ID of the placement group the shared processor pool is created in. Please use pi_shared_processor_pool_placement_groups instead.
- string[]
- The list of shared processor pool placement groups that the shared processor pool is in.
- string[]
- The user tags attached to this resource.
- spp
Placement string[]Groups - The list of shared processor pool placement groups that the shared processor pool is in.
- timeouts
Pi
Shared Processor Pool Timeouts
- pi_
cloud_ strinstance_ id - The GUID of the service instance associated with an account.
- str
- Host group of the shared processor pool. Valid values are 's922', 'e980' and 's1022'.
- str
- The name of the shared processor pool.
- float
- The amount of reserved cores for the shared processor pool.
- pi_
host_ strid - The host id of a host in a host group (only available for dedicated hosts).
- str
- (String) The server instance ID.
- str
- The ID of the placement group the shared processor pool is created in. Please use pi_shared_processor_pool_placement_groups instead.
- Sequence[str]
- The list of shared processor pool placement groups that the shared processor pool is in.
- Sequence[str]
- The user tags attached to this resource.
- spp_
placement_ Sequence[str]groups - The list of shared processor pool placement groups that the shared processor pool is in.
- timeouts
Pi
Shared Processor Pool Timeouts Args
- pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- String
- Host group of the shared processor pool. Valid values are 's922', 'e980' and 's1022'.
- String
- The name of the shared processor pool.
- Number
- The amount of reserved cores for the shared processor pool.
- pi
Host StringId - The host id of a host in a host group (only available for dedicated hosts).
- String
- (String) The server instance ID.
- String
- The ID of the placement group the shared processor pool is created in. Please use pi_shared_processor_pool_placement_groups instead.
- List<String>
- The list of shared processor pool placement groups that the shared processor pool is in.
- List<String>
- The user tags attached to this resource.
- spp
Placement List<String>Groups - The list of shared processor pool placement groups that the shared processor pool is in.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the PiSharedProcessorPool resource produces the following output properties:
- 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
- The provider-assigned unique ID for this managed resource.
- Instances
List<Pi
Shared Processor Pool Instance> - (List of Map) The list of server instances that are deployed in 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.
- 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
- The provider-assigned unique ID for this managed resource.
- Instances
[]Pi
Shared Processor Pool Instance - (List of Map) The list of server instances that are deployed in 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.
- 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
- The provider-assigned unique ID for this managed resource.
- instances
List<Pi
Shared Processor Pool Instance> - (List of Map) The list of server instances that are deployed in 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.
- 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
- The provider-assigned unique ID for this managed resource.
- instances
Pi
Shared Processor Pool Instance[] - (List of Map) The list of server instances that are deployed in 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.
- 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
- The provider-assigned unique ID for this managed resource.
- instances
Sequence[Pi
Shared Processor Pool Instance] - (List of Map) The list of server instances that are deployed in 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.
- 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
- 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.
- 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.
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.
- 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.
- Instances
List<Pi
Shared Processor Pool Instance> - (List of Map) The list of server instances that are deployed in the shared processor pool.
- Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- Pi
Host stringId - The host id of a host in a host group (only available for dedicated hosts).
- string
- Host group of the shared processor pool. Valid values are 's922', 'e980' and 's1022'.
- string
- (String) The server instance ID.
- string
- The name of the shared processor pool.
- string
- The ID of the placement group the shared processor pool is created in. Please use pi_shared_processor_pool_placement_groups instead.
- List<string>
- The list of shared processor pool placement groups that the shared processor pool is in.
- double
- The amount of reserved cores for the shared processor pool.
- List<string>
- The user tags attached to this resource.
- string
- (String) The shared processor pool's unique ID.
- Spp
Placement List<string>Groups - The list of shared processor pool placement groups that the shared processor pool is in.
- Status string
- (String) The status of the shared processor pool.
- Status
Detail string - (String) The status details of the shared processor pool.
- Timeouts
Pi
Shared Processor Pool Timeouts
- 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.
- Instances
[]Pi
Shared Processor Pool Instance Args - (List of Map) The list of server instances that are deployed in the shared processor pool.
- Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- Pi
Host stringId - The host id of a host in a host group (only available for dedicated hosts).
- string
- Host group of the shared processor pool. Valid values are 's922', 'e980' and 's1022'.
- string
- (String) The server instance ID.
- string
- The name of the shared processor pool.
- string
- The ID of the placement group the shared processor pool is created in. Please use pi_shared_processor_pool_placement_groups instead.
- []string
- The list of shared processor pool placement groups that the shared processor pool is in.
- float64
- The amount of reserved cores for the shared processor pool.
- []string
- The user tags attached to this resource.
- string
- (String) The shared processor pool's unique ID.
- Spp
Placement []stringGroups - The list of shared processor pool placement groups that the shared processor pool is in.
- Status string
- (String) The status of the shared processor pool.
- Status
Detail string - (String) The status details of the shared processor pool.
- Timeouts
Pi
Shared Processor Pool Timeouts Args
- 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.
- instances
List<Pi
Shared Processor Pool Instance> - (List of Map) The list of server instances that are deployed in the shared processor pool.
- pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- pi
Host StringId - The host id of a host in a host group (only available for dedicated hosts).
- String
- Host group of the shared processor pool. Valid values are 's922', 'e980' and 's1022'.
- String
- (String) The server instance ID.
- String
- The name of the shared processor pool.
- String
- The ID of the placement group the shared processor pool is created in. Please use pi_shared_processor_pool_placement_groups instead.
- List<String>
- The list of shared processor pool placement groups that the shared processor pool is in.
- Double
- The amount of reserved cores for the shared processor pool.
- List<String>
- The user tags attached to this resource.
- String
- (String) The shared processor pool's unique ID.
- spp
Placement List<String>Groups - The list of shared processor pool placement groups that the shared processor pool is in.
- status String
- (String) The status of the shared processor pool.
- status
Detail String - (String) The status details of the shared processor pool.
- timeouts
Pi
Shared Processor Pool Timeouts
- 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.
- instances
Pi
Shared Processor Pool Instance[] - (List of Map) The list of server instances that are deployed in the shared processor pool.
- pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- pi
Host stringId - The host id of a host in a host group (only available for dedicated hosts).
- string
- Host group of the shared processor pool. Valid values are 's922', 'e980' and 's1022'.
- string
- (String) The server instance ID.
- string
- The name of the shared processor pool.
- string
- The ID of the placement group the shared processor pool is created in. Please use pi_shared_processor_pool_placement_groups instead.
- string[]
- The list of shared processor pool placement groups that the shared processor pool is in.
- number
- The amount of reserved cores for the shared processor pool.
- string[]
- The user tags attached to this resource.
- string
- (String) The shared processor pool's unique ID.
- spp
Placement string[]Groups - The list of shared processor pool placement groups that the shared processor pool is in.
- status string
- (String) The status of the shared processor pool.
- status
Detail string - (String) The status details of the shared processor pool.
- timeouts
Pi
Shared Processor Pool Timeouts
- 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.
- instances
Sequence[Pi
Shared Processor Pool Instance Args] - (List of Map) The list of server instances that are deployed in the shared processor pool.
- pi_
cloud_ strinstance_ id - The GUID of the service instance associated with an account.
- pi_
host_ strid - The host id of a host in a host group (only available for dedicated hosts).
- str
- Host group of the shared processor pool. Valid values are 's922', 'e980' and 's1022'.
- str
- (String) The server instance ID.
- str
- The name of the shared processor pool.
- str
- The ID of the placement group the shared processor pool is created in. Please use pi_shared_processor_pool_placement_groups instead.
- Sequence[str]
- The list of shared processor pool placement groups that the shared processor pool is in.
- float
- The amount of reserved cores for the shared processor pool.
- Sequence[str]
- The user tags attached to this resource.
- str
- (String) The shared processor pool's unique ID.
- spp_
placement_ Sequence[str]groups - The list of shared processor pool placement groups that the shared processor pool is in.
- status str
- (String) The status of the shared processor pool.
- status_
detail str - (String) The status details of the shared processor pool.
- timeouts
Pi
Shared Processor Pool Timeouts Args
- 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.
- instances List<Property Map>
- (List of Map) The list of server instances that are deployed in the shared processor pool.
- pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- pi
Host StringId - The host id of a host in a host group (only available for dedicated hosts).
- String
- Host group of the shared processor pool. Valid values are 's922', 'e980' and 's1022'.
- String
- (String) The server instance ID.
- String
- The name of the shared processor pool.
- String
- The ID of the placement group the shared processor pool is created in. Please use pi_shared_processor_pool_placement_groups instead.
- List<String>
- The list of shared processor pool placement groups that the shared processor pool is in.
- Number
- The amount of reserved cores for the shared processor pool.
- List<String>
- The user tags attached to this resource.
- String
- (String) The shared processor pool's unique ID.
- spp
Placement List<String>Groups - The list of shared processor pool placement groups that the shared processor pool is in.
- status String
- (String) The status of the shared processor pool.
- status
Detail String - (String) The status details of the shared processor pool.
- timeouts Property Map
Supporting Types
PiSharedProcessorPoolInstance, PiSharedProcessorPoolInstanceArgs
- 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 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.
- 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 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.
- 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 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.
- 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 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.
- 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 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
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.