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

ibm.PiHost

Explore with Pulumi AI

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

    Create, update, and delete host with this resource.For more information, see getting started with IBM Power Systems Virtual Servers.

    Example Usage

    The following example enables you add a host to an existing host group in your project:

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const host = new ibm.PiHost("host", {
        piCloudInstanceId: "<value of the cloud_instance_id>",
        piHost: {
            displayName: "<value of the display_name>",
            sysType: "<value of the sys_type>",
        },
        piHostGroupId: "<value of the host_group_id>",
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    host = ibm.PiHost("host",
        pi_cloud_instance_id="<value of the cloud_instance_id>",
        pi_host={
            "display_name": "<value of the display_name>",
            "sys_type": "<value of the sys_type>",
        },
        pi_host_group_id="<value of the host_group_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.NewPiHost(ctx, "host", &ibm.PiHostArgs{
    			PiCloudInstanceId: pulumi.String("<value of the cloud_instance_id>"),
    			PiHost: &ibm.PiHostPiHostArgs{
    				DisplayName: pulumi.String("<value of the display_name>"),
    				SysType:     pulumi.String("<value of the sys_type>"),
    			},
    			PiHostGroupId: pulumi.String("<value of the host_group_id>"),
    		})
    		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 host = new Ibm.PiHost("host", new()
        {
            PiCloudInstanceId = "<value of the cloud_instance_id>",
            PiHost = new Ibm.Inputs.PiHostPiHostArgs
            {
                DisplayName = "<value of the display_name>",
                SysType = "<value of the sys_type>",
            },
            PiHostGroupId = "<value of the host_group_id>",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.PiHost;
    import com.pulumi.ibm.PiHostArgs;
    import com.pulumi.ibm.inputs.PiHostPiHostArgs;
    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 host = new PiHost("host", PiHostArgs.builder()
                .piCloudInstanceId("<value of the cloud_instance_id>")
                .piHost(PiHostPiHostArgs.builder()
                    .displayName("<value of the display_name>")
                    .sysType("<value of the sys_type>")
                    .build())
                .piHostGroupId("<value of the host_group_id>")
                .build());
    
        }
    }
    
    resources:
      host:
        type: ibm:PiHost
        properties:
          piCloudInstanceId: <value of the cloud_instance_id>
          piHost:
            displayName: <value of the display_name>
            sysType: <value of the sys_type>
          piHostGroupId: <value of the host_group_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) {
        }
    }
    
    {}
    

    Create PiHost Resource

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

    Constructor syntax

    new PiHost(name: string, args: PiHostArgs, opts?: CustomResourceOptions);
    @overload
    def PiHost(resource_name: str,
               args: PiHostArgs,
               opts: Optional[ResourceOptions] = None)
    
    @overload
    def PiHost(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               pi_cloud_instance_id: Optional[str] = None,
               pi_host: Optional[PiHostPiHostArgs] = None,
               pi_host_group_id: Optional[str] = None,
               pi_host_id: Optional[str] = None,
               timeouts: Optional[PiHostTimeoutsArgs] = None)
    func NewPiHost(ctx *Context, name string, args PiHostArgs, opts ...ResourceOption) (*PiHost, error)
    public PiHost(string name, PiHostArgs args, CustomResourceOptions? opts = null)
    public PiHost(String name, PiHostArgs args)
    public PiHost(String name, PiHostArgs args, CustomResourceOptions options)
    
    type: ibm:PiHost
    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 PiHostArgs
    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 PiHostArgs
    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 PiHostArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PiHostArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PiHostArgs
    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 piHostResource = new Ibm.PiHost("piHostResource", new()
    {
        PiCloudInstanceId = "string",
        PiHost = new Ibm.Inputs.PiHostPiHostArgs
        {
            DisplayName = "string",
            SysType = "string",
            UserTags = new[]
            {
                "string",
            },
        },
        PiHostGroupId = "string",
        PiHostId = "string",
        Timeouts = new Ibm.Inputs.PiHostTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
        },
    });
    
    example, err := ibm.NewPiHost(ctx, "piHostResource", &ibm.PiHostArgs{
    	PiCloudInstanceId: pulumi.String("string"),
    	PiHost: &ibm.PiHostPiHostArgs{
    		DisplayName: pulumi.String("string"),
    		SysType:     pulumi.String("string"),
    		UserTags: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	PiHostGroupId: pulumi.String("string"),
    	PiHostId:      pulumi.String("string"),
    	Timeouts: &ibm.PiHostTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    	},
    })
    
    var piHostResource = new PiHost("piHostResource", PiHostArgs.builder()
        .piCloudInstanceId("string")
        .piHost(PiHostPiHostArgs.builder()
            .displayName("string")
            .sysType("string")
            .userTags("string")
            .build())
        .piHostGroupId("string")
        .piHostId("string")
        .timeouts(PiHostTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .build())
        .build());
    
    pi_host_resource = ibm.PiHost("piHostResource",
        pi_cloud_instance_id="string",
        pi_host={
            "display_name": "string",
            "sys_type": "string",
            "user_tags": ["string"],
        },
        pi_host_group_id="string",
        pi_host_id="string",
        timeouts={
            "create": "string",
            "delete": "string",
        })
    
    const piHostResource = new ibm.PiHost("piHostResource", {
        piCloudInstanceId: "string",
        piHost: {
            displayName: "string",
            sysType: "string",
            userTags: ["string"],
        },
        piHostGroupId: "string",
        piHostId: "string",
        timeouts: {
            create: "string",
            "delete": "string",
        },
    });
    
    type: ibm:PiHost
    properties:
        piCloudInstanceId: string
        piHost:
            displayName: string
            sysType: string
            userTags:
                - string
        piHostGroupId: string
        piHostId: string
        timeouts:
            create: string
            delete: string
    

    PiHost 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 PiHost resource accepts the following input properties:

    PiCloudInstanceId string
    The GUID of the service instance associated with an account.
    PiHost PiHostPiHost

    Host to add to a host group.

    Nested schema for pi_host:

    PiHostGroupId string
    ID of the host group to which the host should be added.
    PiHostId string
    The unique identifier of the host. The ID is composed of <pi_cloud_instance_id>/<host_id>.
    Timeouts PiHostTimeouts
    PiCloudInstanceId string
    The GUID of the service instance associated with an account.
    PiHost PiHostPiHostArgs

    Host to add to a host group.

    Nested schema for pi_host:

    PiHostGroupId string
    ID of the host group to which the host should be added.
    PiHostId string
    The unique identifier of the host. The ID is composed of <pi_cloud_instance_id>/<host_id>.
    Timeouts PiHostTimeoutsArgs
    piCloudInstanceId String
    The GUID of the service instance associated with an account.
    piHost PiHostPiHost

    Host to add to a host group.

    Nested schema for pi_host:

    piHostGroupId String
    ID of the host group to which the host should be added.
    piHostId String
    The unique identifier of the host. The ID is composed of <pi_cloud_instance_id>/<host_id>.
    timeouts PiHostTimeouts
    piCloudInstanceId string
    The GUID of the service instance associated with an account.
    piHost PiHostPiHost

    Host to add to a host group.

    Nested schema for pi_host:

    piHostGroupId string
    ID of the host group to which the host should be added.
    piHostId string
    The unique identifier of the host. The ID is composed of <pi_cloud_instance_id>/<host_id>.
    timeouts PiHostTimeouts
    pi_cloud_instance_id str
    The GUID of the service instance associated with an account.
    pi_host PiHostPiHostArgs

    Host to add to a host group.

    Nested schema for pi_host:

    pi_host_group_id str
    ID of the host group to which the host should be added.
    pi_host_id str
    The unique identifier of the host. The ID is composed of <pi_cloud_instance_id>/<host_id>.
    timeouts PiHostTimeoutsArgs
    piCloudInstanceId String
    The GUID of the service instance associated with an account.
    piHost Property Map

    Host to add to a host group.

    Nested schema for pi_host:

    piHostGroupId String
    ID of the host group to which the host should be added.
    piHostId String
    The unique identifier of the host. The ID is composed of <pi_cloud_instance_id>/<host_id>.
    timeouts Property Map

    Outputs

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

    Capacities List<PiHostCapacity>
    (List) Capacities of the host.
    Crn string
    (String) The CRN of this resource.
    DisplayName string
    Name of the host (chosen by the user).
    HostGroup Dictionary<string, string>
    (Map) Information about the owning host group.
    HostId string
    (String) ID of the host.
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    (String) State of the host up or down.
    Status string
    (String) Status of the host enabled or disabled.
    SysType string
    (String) System type.
    UserTags List<string>
    (Set of String) The user tags attached to this resource.
    Capacities []PiHostCapacity
    (List) Capacities of the host.
    Crn string
    (String) The CRN of this resource.
    DisplayName string
    Name of the host (chosen by the user).
    HostGroup map[string]string
    (Map) Information about the owning host group.
    HostId string
    (String) ID of the host.
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    (String) State of the host up or down.
    Status string
    (String) Status of the host enabled or disabled.
    SysType string
    (String) System type.
    UserTags []string
    (Set of String) The user tags attached to this resource.
    capacities List<PiHostCapacity>
    (List) Capacities of the host.
    crn String
    (String) The CRN of this resource.
    displayName String
    Name of the host (chosen by the user).
    hostGroup Map<String,String>
    (Map) Information about the owning host group.
    hostId String
    (String) ID of the host.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    (String) State of the host up or down.
    status String
    (String) Status of the host enabled or disabled.
    sysType String
    (String) System type.
    userTags List<String>
    (Set of String) The user tags attached to this resource.
    capacities PiHostCapacity[]
    (List) Capacities of the host.
    crn string
    (String) The CRN of this resource.
    displayName string
    Name of the host (chosen by the user).
    hostGroup {[key: string]: string}
    (Map) Information about the owning host group.
    hostId string
    (String) ID of the host.
    id string
    The provider-assigned unique ID for this managed resource.
    state string
    (String) State of the host up or down.
    status string
    (String) Status of the host enabled or disabled.
    sysType string
    (String) System type.
    userTags string[]
    (Set of String) The user tags attached to this resource.
    capacities Sequence[PiHostCapacity]
    (List) Capacities of the host.
    crn str
    (String) The CRN of this resource.
    display_name str
    Name of the host (chosen by the user).
    host_group Mapping[str, str]
    (Map) Information about the owning host group.
    host_id str
    (String) ID of the host.
    id str
    The provider-assigned unique ID for this managed resource.
    state str
    (String) State of the host up or down.
    status str
    (String) Status of the host enabled or disabled.
    sys_type str
    (String) System type.
    user_tags Sequence[str]
    (Set of String) The user tags attached to this resource.
    capacities List<Property Map>
    (List) Capacities of the host.
    crn String
    (String) The CRN of this resource.
    displayName String
    Name of the host (chosen by the user).
    hostGroup Map<String>
    (Map) Information about the owning host group.
    hostId String
    (String) ID of the host.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    (String) State of the host up or down.
    status String
    (String) Status of the host enabled or disabled.
    sysType String
    (String) System type.
    userTags List<String>
    (Set of String) The user tags attached to this resource.

    Look up Existing PiHost Resource

    Get an existing PiHost 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?: PiHostState, opts?: CustomResourceOptions): PiHost
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            capacities: Optional[Sequence[PiHostCapacityArgs]] = None,
            crn: Optional[str] = None,
            display_name: Optional[str] = None,
            host_group: Optional[Mapping[str, str]] = None,
            host_id: Optional[str] = None,
            pi_cloud_instance_id: Optional[str] = None,
            pi_host: Optional[PiHostPiHostArgs] = None,
            pi_host_group_id: Optional[str] = None,
            pi_host_id: Optional[str] = None,
            state: Optional[str] = None,
            status: Optional[str] = None,
            sys_type: Optional[str] = None,
            timeouts: Optional[PiHostTimeoutsArgs] = None,
            user_tags: Optional[Sequence[str]] = None) -> PiHost
    func GetPiHost(ctx *Context, name string, id IDInput, state *PiHostState, opts ...ResourceOption) (*PiHost, error)
    public static PiHost Get(string name, Input<string> id, PiHostState? state, CustomResourceOptions? opts = null)
    public static PiHost get(String name, Output<String> id, PiHostState state, CustomResourceOptions options)
    resources:  _:    type: ibm:PiHost    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:
    Capacities List<PiHostCapacity>
    (List) Capacities of the host.
    Crn string
    (String) The CRN of this resource.
    DisplayName string
    Name of the host (chosen by the user).
    HostGroup Dictionary<string, string>
    (Map) Information about the owning host group.
    HostId string
    (String) ID of the host.
    PiCloudInstanceId string
    The GUID of the service instance associated with an account.
    PiHost PiHostPiHost

    Host to add to a host group.

    Nested schema for pi_host:

    PiHostGroupId string
    ID of the host group to which the host should be added.
    PiHostId string
    The unique identifier of the host. The ID is composed of <pi_cloud_instance_id>/<host_id>.
    State string
    (String) State of the host up or down.
    Status string
    (String) Status of the host enabled or disabled.
    SysType string
    (String) System type.
    Timeouts PiHostTimeouts
    UserTags List<string>
    (Set of String) The user tags attached to this resource.
    Capacities []PiHostCapacityArgs
    (List) Capacities of the host.
    Crn string
    (String) The CRN of this resource.
    DisplayName string
    Name of the host (chosen by the user).
    HostGroup map[string]string
    (Map) Information about the owning host group.
    HostId string
    (String) ID of the host.
    PiCloudInstanceId string
    The GUID of the service instance associated with an account.
    PiHost PiHostPiHostArgs

    Host to add to a host group.

    Nested schema for pi_host:

    PiHostGroupId string
    ID of the host group to which the host should be added.
    PiHostId string
    The unique identifier of the host. The ID is composed of <pi_cloud_instance_id>/<host_id>.
    State string
    (String) State of the host up or down.
    Status string
    (String) Status of the host enabled or disabled.
    SysType string
    (String) System type.
    Timeouts PiHostTimeoutsArgs
    UserTags []string
    (Set of String) The user tags attached to this resource.
    capacities List<PiHostCapacity>
    (List) Capacities of the host.
    crn String
    (String) The CRN of this resource.
    displayName String
    Name of the host (chosen by the user).
    hostGroup Map<String,String>
    (Map) Information about the owning host group.
    hostId String
    (String) ID of the host.
    piCloudInstanceId String
    The GUID of the service instance associated with an account.
    piHost PiHostPiHost

    Host to add to a host group.

    Nested schema for pi_host:

    piHostGroupId String
    ID of the host group to which the host should be added.
    piHostId String
    The unique identifier of the host. The ID is composed of <pi_cloud_instance_id>/<host_id>.
    state String
    (String) State of the host up or down.
    status String
    (String) Status of the host enabled or disabled.
    sysType String
    (String) System type.
    timeouts PiHostTimeouts
    userTags List<String>
    (Set of String) The user tags attached to this resource.
    capacities PiHostCapacity[]
    (List) Capacities of the host.
    crn string
    (String) The CRN of this resource.
    displayName string
    Name of the host (chosen by the user).
    hostGroup {[key: string]: string}
    (Map) Information about the owning host group.
    hostId string
    (String) ID of the host.
    piCloudInstanceId string
    The GUID of the service instance associated with an account.
    piHost PiHostPiHost

    Host to add to a host group.

    Nested schema for pi_host:

    piHostGroupId string
    ID of the host group to which the host should be added.
    piHostId string
    The unique identifier of the host. The ID is composed of <pi_cloud_instance_id>/<host_id>.
    state string
    (String) State of the host up or down.
    status string
    (String) Status of the host enabled or disabled.
    sysType string
    (String) System type.
    timeouts PiHostTimeouts
    userTags string[]
    (Set of String) The user tags attached to this resource.
    capacities Sequence[PiHostCapacityArgs]
    (List) Capacities of the host.
    crn str
    (String) The CRN of this resource.
    display_name str
    Name of the host (chosen by the user).
    host_group Mapping[str, str]
    (Map) Information about the owning host group.
    host_id str
    (String) ID of the host.
    pi_cloud_instance_id str
    The GUID of the service instance associated with an account.
    pi_host PiHostPiHostArgs

    Host to add to a host group.

    Nested schema for pi_host:

    pi_host_group_id str
    ID of the host group to which the host should be added.
    pi_host_id str
    The unique identifier of the host. The ID is composed of <pi_cloud_instance_id>/<host_id>.
    state str
    (String) State of the host up or down.
    status str
    (String) Status of the host enabled or disabled.
    sys_type str
    (String) System type.
    timeouts PiHostTimeoutsArgs
    user_tags Sequence[str]
    (Set of String) The user tags attached to this resource.
    capacities List<Property Map>
    (List) Capacities of the host.
    crn String
    (String) The CRN of this resource.
    displayName String
    Name of the host (chosen by the user).
    hostGroup Map<String>
    (Map) Information about the owning host group.
    hostId String
    (String) ID of the host.
    piCloudInstanceId String
    The GUID of the service instance associated with an account.
    piHost Property Map

    Host to add to a host group.

    Nested schema for pi_host:

    piHostGroupId String
    ID of the host group to which the host should be added.
    piHostId String
    The unique identifier of the host. The ID is composed of <pi_cloud_instance_id>/<host_id>.
    state String
    (String) State of the host up or down.
    status String
    (String) Status of the host enabled or disabled.
    sysType String
    (String) System type.
    timeouts Property Map
    userTags List<String>
    (Set of String) The user tags attached to this resource.

    Supporting Types

    PiHostCapacity, PiHostCapacityArgs

    AvailableCores double
    AvailableMemory double
    (Float) Amount of memory currently available (in GB).
    ReservedCore double
    (Float) Number of cores reserved for system use.
    ReservedMemory double
    (Float) Amount of memory reserved for system use (in GB).
    TotalCore double
    (Float) Total number of cores of the host.
    TotalMemory double
    (Float) Total amount of memory of the host (in GB).
    UsedCore double
    (Float) Number of cores in use on the host.
    UsedMemory double
    (Float) Amount of memory used on the host (in GB).
    AvailableCores float64
    AvailableMemory float64
    (Float) Amount of memory currently available (in GB).
    ReservedCore float64
    (Float) Number of cores reserved for system use.
    ReservedMemory float64
    (Float) Amount of memory reserved for system use (in GB).
    TotalCore float64
    (Float) Total number of cores of the host.
    TotalMemory float64
    (Float) Total amount of memory of the host (in GB).
    UsedCore float64
    (Float) Number of cores in use on the host.
    UsedMemory float64
    (Float) Amount of memory used on the host (in GB).
    availableCores Double
    availableMemory Double
    (Float) Amount of memory currently available (in GB).
    reservedCore Double
    (Float) Number of cores reserved for system use.
    reservedMemory Double
    (Float) Amount of memory reserved for system use (in GB).
    totalCore Double
    (Float) Total number of cores of the host.
    totalMemory Double
    (Float) Total amount of memory of the host (in GB).
    usedCore Double
    (Float) Number of cores in use on the host.
    usedMemory Double
    (Float) Amount of memory used on the host (in GB).
    availableCores number
    availableMemory number
    (Float) Amount of memory currently available (in GB).
    reservedCore number
    (Float) Number of cores reserved for system use.
    reservedMemory number
    (Float) Amount of memory reserved for system use (in GB).
    totalCore number
    (Float) Total number of cores of the host.
    totalMemory number
    (Float) Total amount of memory of the host (in GB).
    usedCore number
    (Float) Number of cores in use on the host.
    usedMemory number
    (Float) Amount of memory used on the host (in GB).
    available_cores float
    available_memory float
    (Float) Amount of memory currently available (in GB).
    reserved_core float
    (Float) Number of cores reserved for system use.
    reserved_memory float
    (Float) Amount of memory reserved for system use (in GB).
    total_core float
    (Float) Total number of cores of the host.
    total_memory float
    (Float) Total amount of memory of the host (in GB).
    used_core float
    (Float) Number of cores in use on the host.
    used_memory float
    (Float) Amount of memory used on the host (in GB).
    availableCores Number
    availableMemory Number
    (Float) Amount of memory currently available (in GB).
    reservedCore Number
    (Float) Number of cores reserved for system use.
    reservedMemory Number
    (Float) Amount of memory reserved for system use (in GB).
    totalCore Number
    (Float) Total number of cores of the host.
    totalMemory Number
    (Float) Total amount of memory of the host (in GB).
    usedCore Number
    (Float) Number of cores in use on the host.
    usedMemory Number
    (Float) Amount of memory used on the host (in GB).

    PiHostPiHost, PiHostPiHostArgs

    DisplayName string
    Name of the host chosen by the user.
    SysType string
    System type.
    UserTags List<string>
    The user tags attached to this resource.
    DisplayName string
    Name of the host chosen by the user.
    SysType string
    System type.
    UserTags []string
    The user tags attached to this resource.
    displayName String
    Name of the host chosen by the user.
    sysType String
    System type.
    userTags List<String>
    The user tags attached to this resource.
    displayName string
    Name of the host chosen by the user.
    sysType string
    System type.
    userTags string[]
    The user tags attached to this resource.
    display_name str
    Name of the host chosen by the user.
    sys_type str
    System type.
    user_tags Sequence[str]
    The user tags attached to this resource.
    displayName String
    Name of the host chosen by the user.
    sysType String
    System type.
    userTags List<String>
    The user tags attached to this resource.

    PiHostTimeouts, PiHostTimeoutsArgs

    Create string
    Delete string
    Create string
    Delete string
    create String
    delete String
    create string
    delete string
    create str
    delete str
    create String
    delete String

    Import

    Example

    bash

    $ pulumi import ibm:index/piHost:PiHost 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