ibm.PiInstance
Explore with Pulumi AI
Create, delete or update a Power Systems Virtual Server instance.
Example Usage
The following example creates a Power Systems Virtual Server instance.
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const test_instance = new ibm.PiInstance("test-instance", {
piMemory: 4,
piProcessors: 2,
piInstanceName: "test-vm",
piProcType: "shared",
piImageId: data.ibm_pi_image.powerimages.id,
piKeyPairName: ibm_pi_key.key.key_id,
piSysType: "s922",
piCloudInstanceId: "51e1879c-bcbe-4ee1-a008-49cdba0eaf60",
piPinPolicy: "none",
piHealthStatus: "WARNING",
piNetworks: [{
networkId: data.ibm_pi_public_network.dsnetwork.id,
}],
});
import pulumi
import pulumi_ibm as ibm
test_instance = ibm.PiInstance("test-instance",
pi_memory=4,
pi_processors=2,
pi_instance_name="test-vm",
pi_proc_type="shared",
pi_image_id=data["ibm_pi_image"]["powerimages"]["id"],
pi_key_pair_name=ibm_pi_key["key"]["key_id"],
pi_sys_type="s922",
pi_cloud_instance_id="51e1879c-bcbe-4ee1-a008-49cdba0eaf60",
pi_pin_policy="none",
pi_health_status="WARNING",
pi_networks=[{
"network_id": data["ibm_pi_public_network"]["dsnetwork"]["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.NewPiInstance(ctx, "test-instance", &ibm.PiInstanceArgs{
PiMemory: pulumi.Float64(4),
PiProcessors: pulumi.Float64(2),
PiInstanceName: pulumi.String("test-vm"),
PiProcType: pulumi.String("shared"),
PiImageId: pulumi.Any(data.Ibm_pi_image.Powerimages.Id),
PiKeyPairName: pulumi.Any(ibm_pi_key.Key.Key_id),
PiSysType: pulumi.String("s922"),
PiCloudInstanceId: pulumi.String("51e1879c-bcbe-4ee1-a008-49cdba0eaf60"),
PiPinPolicy: pulumi.String("none"),
PiHealthStatus: pulumi.String("WARNING"),
PiNetworks: ibm.PiInstancePiNetworkArray{
&ibm.PiInstancePiNetworkArgs{
NetworkId: pulumi.Any(data.Ibm_pi_public_network.Dsnetwork.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 test_instance = new Ibm.PiInstance("test-instance", new()
{
PiMemory = 4,
PiProcessors = 2,
PiInstanceName = "test-vm",
PiProcType = "shared",
PiImageId = data.Ibm_pi_image.Powerimages.Id,
PiKeyPairName = ibm_pi_key.Key.Key_id,
PiSysType = "s922",
PiCloudInstanceId = "51e1879c-bcbe-4ee1-a008-49cdba0eaf60",
PiPinPolicy = "none",
PiHealthStatus = "WARNING",
PiNetworks = new[]
{
new Ibm.Inputs.PiInstancePiNetworkArgs
{
NetworkId = data.Ibm_pi_public_network.Dsnetwork.Id,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.PiInstance;
import com.pulumi.ibm.PiInstanceArgs;
import com.pulumi.ibm.inputs.PiInstancePiNetworkArgs;
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 test_instance = new PiInstance("test-instance", PiInstanceArgs.builder()
.piMemory("4")
.piProcessors("2")
.piInstanceName("test-vm")
.piProcType("shared")
.piImageId(data.ibm_pi_image().powerimages().id())
.piKeyPairName(ibm_pi_key.key().key_id())
.piSysType("s922")
.piCloudInstanceId("51e1879c-bcbe-4ee1-a008-49cdba0eaf60")
.piPinPolicy("none")
.piHealthStatus("WARNING")
.piNetworks(PiInstancePiNetworkArgs.builder()
.networkId(data.ibm_pi_public_network().dsnetwork().id())
.build())
.build());
}
}
resources:
test-instance:
type: ibm:PiInstance
properties:
piMemory: '4'
piProcessors: '2'
piInstanceName: test-vm
piProcType: shared
piImageId: ${data.ibm_pi_image.powerimages.id}
piKeyPairName: ${ibm_pi_key.key.key_id}
piSysType: s922
piCloudInstanceId: 51e1879c-bcbe-4ee1-a008-49cdba0eaf60
piPinPolicy: none
piHealthStatus: WARNING
piNetworks:
- networkId: ${data.ibm_pi_public_network.dsnetwork.id}
WARNING: Updating a ibm.PiInstance resource with
pi_replicants
set does not update replicant vms!
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 PiInstance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PiInstance(name: string, args: PiInstanceArgs, opts?: CustomResourceOptions);
@overload
def PiInstance(resource_name: str,
args: PiInstanceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PiInstance(resource_name: str,
opts: Optional[ResourceOptions] = None,
pi_cloud_instance_id: Optional[str] = None,
pi_networks: Optional[Sequence[PiInstancePiNetworkArgs]] = None,
pi_instance_name: Optional[str] = None,
pi_image_id: Optional[str] = None,
pi_proc_type: Optional[str] = None,
pi_memory: Optional[float] = None,
pi_anti_affinity_volumes: Optional[Sequence[str]] = None,
pi_deployment_target: Optional[PiInstancePiDeploymentTargetArgs] = None,
pi_deployment_type: Optional[str] = None,
pi_health_status: Optional[str] = None,
pi_ibmi_css: Optional[bool] = None,
pi_ibmi_pha: Optional[bool] = None,
pi_ibmi_rds_users: Optional[float] = None,
pi_anti_affinity_instances: Optional[Sequence[str]] = None,
pi_instance_id: Optional[str] = None,
pi_affinity_volume: Optional[str] = None,
pi_key_pair_name: Optional[str] = None,
pi_license_repository_capacity: Optional[float] = None,
pi_processors: Optional[float] = None,
pi_affinity_policy: Optional[str] = None,
pi_pin_policy: Optional[str] = None,
pi_placement_group_id: Optional[str] = None,
pi_boot_volume_replication_enabled: Optional[bool] = None,
pi_affinity_instance: Optional[str] = None,
pi_sap_deployment_type: Optional[str] = None,
pi_replication_policy: Optional[str] = None,
pi_replication_scheme: Optional[str] = None,
pi_replication_sites: Optional[Sequence[str]] = None,
pi_retain_virtual_serial_number: Optional[bool] = None,
pi_replicants: Optional[float] = None,
pi_sap_profile_id: Optional[str] = None,
pi_shared_processor_pool: Optional[str] = None,
pi_storage_connection: Optional[str] = None,
pi_storage_pool: Optional[str] = None,
pi_storage_pool_affinity: Optional[bool] = None,
pi_storage_type: Optional[str] = None,
pi_sys_type: Optional[str] = None,
pi_user_data: Optional[str] = None,
pi_user_tags: Optional[Sequence[str]] = None,
pi_virtual_cores_assigned: Optional[float] = None,
pi_virtual_optical_device: Optional[str] = None,
pi_virtual_serial_number: Optional[PiInstancePiVirtualSerialNumberArgs] = None,
pi_volume_ids: Optional[Sequence[str]] = None,
timeouts: Optional[PiInstanceTimeoutsArgs] = None)
func NewPiInstance(ctx *Context, name string, args PiInstanceArgs, opts ...ResourceOption) (*PiInstance, error)
public PiInstance(string name, PiInstanceArgs args, CustomResourceOptions? opts = null)
public PiInstance(String name, PiInstanceArgs args)
public PiInstance(String name, PiInstanceArgs args, CustomResourceOptions options)
type: ibm:PiInstance
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 PiInstanceArgs
- 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 PiInstanceArgs
- 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 PiInstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PiInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PiInstanceArgs
- 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 piInstanceResource = new Ibm.PiInstance("piInstanceResource", new()
{
PiCloudInstanceId = "string",
PiNetworks = new[]
{
new Ibm.Inputs.PiInstancePiNetworkArgs
{
NetworkId = "string",
ExternalIp = "string",
IpAddress = "string",
MacAddress = "string",
NetworkInterfaceId = "string",
NetworkName = "string",
NetworkSecurityGroupIds = new[]
{
"string",
},
NetworkSecurityGroupsHreves = new[]
{
"string",
},
Type = "string",
},
},
PiInstanceName = "string",
PiImageId = "string",
PiProcType = "string",
PiMemory = 0,
PiAntiAffinityVolumes = new[]
{
"string",
},
PiDeploymentTarget = new Ibm.Inputs.PiInstancePiDeploymentTargetArgs
{
Id = "string",
Type = "string",
},
PiDeploymentType = "string",
PiHealthStatus = "string",
PiIbmiCss = false,
PiIbmiPha = false,
PiIbmiRdsUsers = 0,
PiAntiAffinityInstances = new[]
{
"string",
},
PiInstanceId = "string",
PiAffinityVolume = "string",
PiKeyPairName = "string",
PiLicenseRepositoryCapacity = 0,
PiProcessors = 0,
PiAffinityPolicy = "string",
PiPinPolicy = "string",
PiPlacementGroupId = "string",
PiBootVolumeReplicationEnabled = false,
PiAffinityInstance = "string",
PiSapDeploymentType = "string",
PiReplicationPolicy = "string",
PiReplicationScheme = "string",
PiReplicationSites = new[]
{
"string",
},
PiRetainVirtualSerialNumber = false,
PiReplicants = 0,
PiSapProfileId = "string",
PiSharedProcessorPool = "string",
PiStorageConnection = "string",
PiStoragePool = "string",
PiStoragePoolAffinity = false,
PiStorageType = "string",
PiSysType = "string",
PiUserData = "string",
PiUserTags = new[]
{
"string",
},
PiVirtualCoresAssigned = 0,
PiVirtualOpticalDevice = "string",
PiVirtualSerialNumber = new Ibm.Inputs.PiInstancePiVirtualSerialNumberArgs
{
Serial = "string",
Description = "string",
},
PiVolumeIds = new[]
{
"string",
},
Timeouts = new Ibm.Inputs.PiInstanceTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := ibm.NewPiInstance(ctx, "piInstanceResource", &ibm.PiInstanceArgs{
PiCloudInstanceId: pulumi.String("string"),
PiNetworks: ibm.PiInstancePiNetworkArray{
&ibm.PiInstancePiNetworkArgs{
NetworkId: pulumi.String("string"),
ExternalIp: pulumi.String("string"),
IpAddress: pulumi.String("string"),
MacAddress: pulumi.String("string"),
NetworkInterfaceId: pulumi.String("string"),
NetworkName: pulumi.String("string"),
NetworkSecurityGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
NetworkSecurityGroupsHreves: pulumi.StringArray{
pulumi.String("string"),
},
Type: pulumi.String("string"),
},
},
PiInstanceName: pulumi.String("string"),
PiImageId: pulumi.String("string"),
PiProcType: pulumi.String("string"),
PiMemory: pulumi.Float64(0),
PiAntiAffinityVolumes: pulumi.StringArray{
pulumi.String("string"),
},
PiDeploymentTarget: &ibm.PiInstancePiDeploymentTargetArgs{
Id: pulumi.String("string"),
Type: pulumi.String("string"),
},
PiDeploymentType: pulumi.String("string"),
PiHealthStatus: pulumi.String("string"),
PiIbmiCss: pulumi.Bool(false),
PiIbmiPha: pulumi.Bool(false),
PiIbmiRdsUsers: pulumi.Float64(0),
PiAntiAffinityInstances: pulumi.StringArray{
pulumi.String("string"),
},
PiInstanceId: pulumi.String("string"),
PiAffinityVolume: pulumi.String("string"),
PiKeyPairName: pulumi.String("string"),
PiLicenseRepositoryCapacity: pulumi.Float64(0),
PiProcessors: pulumi.Float64(0),
PiAffinityPolicy: pulumi.String("string"),
PiPinPolicy: pulumi.String("string"),
PiPlacementGroupId: pulumi.String("string"),
PiBootVolumeReplicationEnabled: pulumi.Bool(false),
PiAffinityInstance: pulumi.String("string"),
PiSapDeploymentType: pulumi.String("string"),
PiReplicationPolicy: pulumi.String("string"),
PiReplicationScheme: pulumi.String("string"),
PiReplicationSites: pulumi.StringArray{
pulumi.String("string"),
},
PiRetainVirtualSerialNumber: pulumi.Bool(false),
PiReplicants: pulumi.Float64(0),
PiSapProfileId: pulumi.String("string"),
PiSharedProcessorPool: pulumi.String("string"),
PiStorageConnection: pulumi.String("string"),
PiStoragePool: pulumi.String("string"),
PiStoragePoolAffinity: pulumi.Bool(false),
PiStorageType: pulumi.String("string"),
PiSysType: pulumi.String("string"),
PiUserData: pulumi.String("string"),
PiUserTags: pulumi.StringArray{
pulumi.String("string"),
},
PiVirtualCoresAssigned: pulumi.Float64(0),
PiVirtualOpticalDevice: pulumi.String("string"),
PiVirtualSerialNumber: &ibm.PiInstancePiVirtualSerialNumberArgs{
Serial: pulumi.String("string"),
Description: pulumi.String("string"),
},
PiVolumeIds: pulumi.StringArray{
pulumi.String("string"),
},
Timeouts: &ibm.PiInstanceTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var piInstanceResource = new PiInstance("piInstanceResource", PiInstanceArgs.builder()
.piCloudInstanceId("string")
.piNetworks(PiInstancePiNetworkArgs.builder()
.networkId("string")
.externalIp("string")
.ipAddress("string")
.macAddress("string")
.networkInterfaceId("string")
.networkName("string")
.networkSecurityGroupIds("string")
.networkSecurityGroupsHreves("string")
.type("string")
.build())
.piInstanceName("string")
.piImageId("string")
.piProcType("string")
.piMemory(0)
.piAntiAffinityVolumes("string")
.piDeploymentTarget(PiInstancePiDeploymentTargetArgs.builder()
.id("string")
.type("string")
.build())
.piDeploymentType("string")
.piHealthStatus("string")
.piIbmiCss(false)
.piIbmiPha(false)
.piIbmiRdsUsers(0)
.piAntiAffinityInstances("string")
.piInstanceId("string")
.piAffinityVolume("string")
.piKeyPairName("string")
.piLicenseRepositoryCapacity(0)
.piProcessors(0)
.piAffinityPolicy("string")
.piPinPolicy("string")
.piPlacementGroupId("string")
.piBootVolumeReplicationEnabled(false)
.piAffinityInstance("string")
.piSapDeploymentType("string")
.piReplicationPolicy("string")
.piReplicationScheme("string")
.piReplicationSites("string")
.piRetainVirtualSerialNumber(false)
.piReplicants(0)
.piSapProfileId("string")
.piSharedProcessorPool("string")
.piStorageConnection("string")
.piStoragePool("string")
.piStoragePoolAffinity(false)
.piStorageType("string")
.piSysType("string")
.piUserData("string")
.piUserTags("string")
.piVirtualCoresAssigned(0)
.piVirtualOpticalDevice("string")
.piVirtualSerialNumber(PiInstancePiVirtualSerialNumberArgs.builder()
.serial("string")
.description("string")
.build())
.piVolumeIds("string")
.timeouts(PiInstanceTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
pi_instance_resource = ibm.PiInstance("piInstanceResource",
pi_cloud_instance_id="string",
pi_networks=[{
"network_id": "string",
"external_ip": "string",
"ip_address": "string",
"mac_address": "string",
"network_interface_id": "string",
"network_name": "string",
"network_security_group_ids": ["string"],
"network_security_groups_hreves": ["string"],
"type": "string",
}],
pi_instance_name="string",
pi_image_id="string",
pi_proc_type="string",
pi_memory=0,
pi_anti_affinity_volumes=["string"],
pi_deployment_target={
"id": "string",
"type": "string",
},
pi_deployment_type="string",
pi_health_status="string",
pi_ibmi_css=False,
pi_ibmi_pha=False,
pi_ibmi_rds_users=0,
pi_anti_affinity_instances=["string"],
pi_instance_id="string",
pi_affinity_volume="string",
pi_key_pair_name="string",
pi_license_repository_capacity=0,
pi_processors=0,
pi_affinity_policy="string",
pi_pin_policy="string",
pi_placement_group_id="string",
pi_boot_volume_replication_enabled=False,
pi_affinity_instance="string",
pi_sap_deployment_type="string",
pi_replication_policy="string",
pi_replication_scheme="string",
pi_replication_sites=["string"],
pi_retain_virtual_serial_number=False,
pi_replicants=0,
pi_sap_profile_id="string",
pi_shared_processor_pool="string",
pi_storage_connection="string",
pi_storage_pool="string",
pi_storage_pool_affinity=False,
pi_storage_type="string",
pi_sys_type="string",
pi_user_data="string",
pi_user_tags=["string"],
pi_virtual_cores_assigned=0,
pi_virtual_optical_device="string",
pi_virtual_serial_number={
"serial": "string",
"description": "string",
},
pi_volume_ids=["string"],
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const piInstanceResource = new ibm.PiInstance("piInstanceResource", {
piCloudInstanceId: "string",
piNetworks: [{
networkId: "string",
externalIp: "string",
ipAddress: "string",
macAddress: "string",
networkInterfaceId: "string",
networkName: "string",
networkSecurityGroupIds: ["string"],
networkSecurityGroupsHreves: ["string"],
type: "string",
}],
piInstanceName: "string",
piImageId: "string",
piProcType: "string",
piMemory: 0,
piAntiAffinityVolumes: ["string"],
piDeploymentTarget: {
id: "string",
type: "string",
},
piDeploymentType: "string",
piHealthStatus: "string",
piIbmiCss: false,
piIbmiPha: false,
piIbmiRdsUsers: 0,
piAntiAffinityInstances: ["string"],
piInstanceId: "string",
piAffinityVolume: "string",
piKeyPairName: "string",
piLicenseRepositoryCapacity: 0,
piProcessors: 0,
piAffinityPolicy: "string",
piPinPolicy: "string",
piPlacementGroupId: "string",
piBootVolumeReplicationEnabled: false,
piAffinityInstance: "string",
piSapDeploymentType: "string",
piReplicationPolicy: "string",
piReplicationScheme: "string",
piReplicationSites: ["string"],
piRetainVirtualSerialNumber: false,
piReplicants: 0,
piSapProfileId: "string",
piSharedProcessorPool: "string",
piStorageConnection: "string",
piStoragePool: "string",
piStoragePoolAffinity: false,
piStorageType: "string",
piSysType: "string",
piUserData: "string",
piUserTags: ["string"],
piVirtualCoresAssigned: 0,
piVirtualOpticalDevice: "string",
piVirtualSerialNumber: {
serial: "string",
description: "string",
},
piVolumeIds: ["string"],
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: ibm:PiInstance
properties:
piAffinityInstance: string
piAffinityPolicy: string
piAffinityVolume: string
piAntiAffinityInstances:
- string
piAntiAffinityVolumes:
- string
piBootVolumeReplicationEnabled: false
piCloudInstanceId: string
piDeploymentTarget:
id: string
type: string
piDeploymentType: string
piHealthStatus: string
piIbmiCss: false
piIbmiPha: false
piIbmiRdsUsers: 0
piImageId: string
piInstanceId: string
piInstanceName: string
piKeyPairName: string
piLicenseRepositoryCapacity: 0
piMemory: 0
piNetworks:
- externalIp: string
ipAddress: string
macAddress: string
networkId: string
networkInterfaceId: string
networkName: string
networkSecurityGroupIds:
- string
networkSecurityGroupsHreves:
- string
type: string
piPinPolicy: string
piPlacementGroupId: string
piProcType: string
piProcessors: 0
piReplicants: 0
piReplicationPolicy: string
piReplicationScheme: string
piReplicationSites:
- string
piRetainVirtualSerialNumber: false
piSapDeploymentType: string
piSapProfileId: string
piSharedProcessorPool: string
piStorageConnection: string
piStoragePool: string
piStoragePoolAffinity: false
piStorageType: string
piSysType: string
piUserData: string
piUserTags:
- string
piVirtualCoresAssigned: 0
piVirtualOpticalDevice: string
piVirtualSerialNumber:
description: string
serial: string
piVolumeIds:
- string
timeouts:
create: string
delete: string
update: string
PiInstance 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 PiInstance resource accepts the following input properties:
- Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- Pi
Image stringId - The ID of the image that you want to use for your Power Systems Virtual Server instance. The image determines the operating system that is installed in your instance. To list available images, run the
ibmcloud pi images
command.- Note:
- Only images belonging to your project can be used image for deploying a Power Systems Virtual Server instance. To import an images to your project, see ibm_pi_image.
- If using
pi_deployment_type = VMNoStorage
then use the following images for the respective OS you intend to create the instance:AIX-EMPTY
,IBMI-EMPTY
,SLES-EMPTY
,RHEL-EMPTY
.
- Pi
Instance stringName - The name of the Power Systems Virtual Server instance.
- Pi
Networks List<PiInstance Pi Network> - List of one or more networks to attach to the instance.
- Pi
Affinity stringInstance - PVM Instance (ID or Name) to base storage affinity policy against; required if requesting
affinity
andpi_affinity_volume
is not provided. - Pi
Affinity stringPolicy - Affinity policy for pvm instance being created; ignored if
pi_storage_pool
provided; for policy affinity requires one ofpi_affinity_instance
orpi_affinity_volume
to be specified; for policy anti-affinity requires one ofpi_anti_affinity_instances
orpi_anti_affinity_volumes
to be specified; Allowable values:affinity
,anti-affinity
- Pi
Affinity stringVolume - Volume (ID or Name) to base storage affinity policy against; required if requesting
affinity
andpi_affinity_instance
is not provided. - Pi
Anti List<string>Affinity Instances - List of pvmInstances to base storage anti-affinity policy against; required if requesting
anti-affinity
andpi_anti_affinity_volumes
is not provided. - Pi
Anti List<string>Affinity Volumes - List of volumes to base storage anti-affinity policy against; required if requesting
anti-affinity
andpi_anti_affinity_instances
is not provided. - Pi
Boot boolVolume Replication Enabled - Indicates if the boot volume should be replication enabled or not.
- Pi
Deployment PiTarget Instance Pi Deployment Target The deployment of a dedicated host. Max items: 1.
Nested scheme for
pi_deployment_target
:- Pi
Deployment stringType - Custom deployment type; Allowable value:
EPIC
orVMNoStorage
. - Pi
Health stringStatus - Allow the user to set the status of the lpar so that they can connect to it faster
- Pi
Ibmi boolCss - IBM i Cloud Storage Solution.
- Pi
Ibmi boolPha - IBM i Power High Availability.
- Pi
Ibmi doubleRds Users - IBM i Rational Dev Studio Number of User Licenses.
- Pi
Instance stringId - (String) The unique identifier of the instance. The ID is composed of
<pi_cloud_instance_id>/<instance_id_1>/.../<instance_id_n>
. - Pi
Key stringPair Name - The name of the SSH key that you want to use to access your Power Systems Virtual Server instance. The SSH key must be uploaded to IBM Cloud.
- Pi
License doubleRepository Capacity - The VTL license repository capacity TB value. Only use with VTL instances.
pi_memory >= 16 + (2 * pi_license_repository_capacity)
. - Pi
Memory double - The amount of memory that you want to assign to your instance in GB.
- Required when not creating SAP instances. Conflicts with
pi_sap_profile_id
.
- Required when not creating SAP instances. Conflicts with
- Pi
Pin stringPolicy - Pin Policy of the instance
- Pi
Placement stringGroup Id - Placement group ID
- Pi
Proc stringType - Instance processor type
- Pi
Processors double - Processors count
- Pi
Replicants double - PI Instance replicas count
- Pi
Replication stringPolicy - Replication policy for the PI Instance
- Pi
Replication stringScheme - Replication scheme
- Pi
Replication List<string>Sites - Indicates the replication sites of the boot volume.
- Pi
Retain boolVirtual Serial Number - Indicates whether to retain virtual serial number when changed or deleted.
- Pi
Sap stringDeployment Type - Custom SAP Deployment Type Information
- Pi
Sap stringProfile Id - SAP Profile ID for the amount of cores and memory
- string
- Shared Processor Pool the instance is deployed on
- Pi
Storage stringConnection - Storage Connectivity Group for server deployment
- Pi
Storage stringPool - Storage Pool for server deployment; if provided then pi_storage_pool_affinity will be ignored; Only valid when you deploy one of the IBM supplied stock images. Storage pool for a custom image (an imported image or an image that is created from a VM capture) defaults to the storage pool the image was created in
- Pi
Storage boolPool Affinity - Indicates if all volumes attached to the server must reside in the same storage pool
- Pi
Storage stringType - Storage type for server deployment; if pi_storage_type is not provided the storage type will default to tier3
- Pi
Sys stringType - PI Instance system type
- Pi
User stringData - Base64 encoded data to be passed in for invoking a cloud init script
- List<string>
- The user tags attached to this resource.
- Pi
Virtual doubleCores Assigned - Virtual Cores Assigned to the PVMInstance
- Pi
Virtual stringOptical Device - Virtual Machine's Cloud Initialization Virtual Optical Device
- Pi
Virtual PiSerial Number Instance Pi Virtual Serial Number - Virtual Serial Number information
- Pi
Volume List<string>Ids - List of PI volumes
- Timeouts
Pi
Instance Timeouts
- Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- Pi
Image stringId - The ID of the image that you want to use for your Power Systems Virtual Server instance. The image determines the operating system that is installed in your instance. To list available images, run the
ibmcloud pi images
command.- Note:
- Only images belonging to your project can be used image for deploying a Power Systems Virtual Server instance. To import an images to your project, see ibm_pi_image.
- If using
pi_deployment_type = VMNoStorage
then use the following images for the respective OS you intend to create the instance:AIX-EMPTY
,IBMI-EMPTY
,SLES-EMPTY
,RHEL-EMPTY
.
- Pi
Instance stringName - The name of the Power Systems Virtual Server instance.
- Pi
Networks []PiInstance Pi Network Args - List of one or more networks to attach to the instance.
- Pi
Affinity stringInstance - PVM Instance (ID or Name) to base storage affinity policy against; required if requesting
affinity
andpi_affinity_volume
is not provided. - Pi
Affinity stringPolicy - Affinity policy for pvm instance being created; ignored if
pi_storage_pool
provided; for policy affinity requires one ofpi_affinity_instance
orpi_affinity_volume
to be specified; for policy anti-affinity requires one ofpi_anti_affinity_instances
orpi_anti_affinity_volumes
to be specified; Allowable values:affinity
,anti-affinity
- Pi
Affinity stringVolume - Volume (ID or Name) to base storage affinity policy against; required if requesting
affinity
andpi_affinity_instance
is not provided. - Pi
Anti []stringAffinity Instances - List of pvmInstances to base storage anti-affinity policy against; required if requesting
anti-affinity
andpi_anti_affinity_volumes
is not provided. - Pi
Anti []stringAffinity Volumes - List of volumes to base storage anti-affinity policy against; required if requesting
anti-affinity
andpi_anti_affinity_instances
is not provided. - Pi
Boot boolVolume Replication Enabled - Indicates if the boot volume should be replication enabled or not.
- Pi
Deployment PiTarget Instance Pi Deployment Target Args The deployment of a dedicated host. Max items: 1.
Nested scheme for
pi_deployment_target
:- Pi
Deployment stringType - Custom deployment type; Allowable value:
EPIC
orVMNoStorage
. - Pi
Health stringStatus - Allow the user to set the status of the lpar so that they can connect to it faster
- Pi
Ibmi boolCss - IBM i Cloud Storage Solution.
- Pi
Ibmi boolPha - IBM i Power High Availability.
- Pi
Ibmi float64Rds Users - IBM i Rational Dev Studio Number of User Licenses.
- Pi
Instance stringId - (String) The unique identifier of the instance. The ID is composed of
<pi_cloud_instance_id>/<instance_id_1>/.../<instance_id_n>
. - Pi
Key stringPair Name - The name of the SSH key that you want to use to access your Power Systems Virtual Server instance. The SSH key must be uploaded to IBM Cloud.
- Pi
License float64Repository Capacity - The VTL license repository capacity TB value. Only use with VTL instances.
pi_memory >= 16 + (2 * pi_license_repository_capacity)
. - Pi
Memory float64 - The amount of memory that you want to assign to your instance in GB.
- Required when not creating SAP instances. Conflicts with
pi_sap_profile_id
.
- Required when not creating SAP instances. Conflicts with
- Pi
Pin stringPolicy - Pin Policy of the instance
- Pi
Placement stringGroup Id - Placement group ID
- Pi
Proc stringType - Instance processor type
- Pi
Processors float64 - Processors count
- Pi
Replicants float64 - PI Instance replicas count
- Pi
Replication stringPolicy - Replication policy for the PI Instance
- Pi
Replication stringScheme - Replication scheme
- Pi
Replication []stringSites - Indicates the replication sites of the boot volume.
- Pi
Retain boolVirtual Serial Number - Indicates whether to retain virtual serial number when changed or deleted.
- Pi
Sap stringDeployment Type - Custom SAP Deployment Type Information
- Pi
Sap stringProfile Id - SAP Profile ID for the amount of cores and memory
- string
- Shared Processor Pool the instance is deployed on
- Pi
Storage stringConnection - Storage Connectivity Group for server deployment
- Pi
Storage stringPool - Storage Pool for server deployment; if provided then pi_storage_pool_affinity will be ignored; Only valid when you deploy one of the IBM supplied stock images. Storage pool for a custom image (an imported image or an image that is created from a VM capture) defaults to the storage pool the image was created in
- Pi
Storage boolPool Affinity - Indicates if all volumes attached to the server must reside in the same storage pool
- Pi
Storage stringType - Storage type for server deployment; if pi_storage_type is not provided the storage type will default to tier3
- Pi
Sys stringType - PI Instance system type
- Pi
User stringData - Base64 encoded data to be passed in for invoking a cloud init script
- []string
- The user tags attached to this resource.
- Pi
Virtual float64Cores Assigned - Virtual Cores Assigned to the PVMInstance
- Pi
Virtual stringOptical Device - Virtual Machine's Cloud Initialization Virtual Optical Device
- Pi
Virtual PiSerial Number Instance Pi Virtual Serial Number Args - Virtual Serial Number information
- Pi
Volume []stringIds - List of PI volumes
- Timeouts
Pi
Instance Timeouts Args
- pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- pi
Image StringId - The ID of the image that you want to use for your Power Systems Virtual Server instance. The image determines the operating system that is installed in your instance. To list available images, run the
ibmcloud pi images
command.- Note:
- Only images belonging to your project can be used image for deploying a Power Systems Virtual Server instance. To import an images to your project, see ibm_pi_image.
- If using
pi_deployment_type = VMNoStorage
then use the following images for the respective OS you intend to create the instance:AIX-EMPTY
,IBMI-EMPTY
,SLES-EMPTY
,RHEL-EMPTY
.
- pi
Instance StringName - The name of the Power Systems Virtual Server instance.
- pi
Networks List<PiInstance Pi Network> - List of one or more networks to attach to the instance.
- pi
Affinity StringInstance - PVM Instance (ID or Name) to base storage affinity policy against; required if requesting
affinity
andpi_affinity_volume
is not provided. - pi
Affinity StringPolicy - Affinity policy for pvm instance being created; ignored if
pi_storage_pool
provided; for policy affinity requires one ofpi_affinity_instance
orpi_affinity_volume
to be specified; for policy anti-affinity requires one ofpi_anti_affinity_instances
orpi_anti_affinity_volumes
to be specified; Allowable values:affinity
,anti-affinity
- pi
Affinity StringVolume - Volume (ID or Name) to base storage affinity policy against; required if requesting
affinity
andpi_affinity_instance
is not provided. - pi
Anti List<String>Affinity Instances - List of pvmInstances to base storage anti-affinity policy against; required if requesting
anti-affinity
andpi_anti_affinity_volumes
is not provided. - pi
Anti List<String>Affinity Volumes - List of volumes to base storage anti-affinity policy against; required if requesting
anti-affinity
andpi_anti_affinity_instances
is not provided. - pi
Boot BooleanVolume Replication Enabled - Indicates if the boot volume should be replication enabled or not.
- pi
Deployment PiTarget Instance Pi Deployment Target The deployment of a dedicated host. Max items: 1.
Nested scheme for
pi_deployment_target
:- pi
Deployment StringType - Custom deployment type; Allowable value:
EPIC
orVMNoStorage
. - pi
Health StringStatus - Allow the user to set the status of the lpar so that they can connect to it faster
- pi
Ibmi BooleanCss - IBM i Cloud Storage Solution.
- pi
Ibmi BooleanPha - IBM i Power High Availability.
- pi
Ibmi DoubleRds Users - IBM i Rational Dev Studio Number of User Licenses.
- pi
Instance StringId - (String) The unique identifier of the instance. The ID is composed of
<pi_cloud_instance_id>/<instance_id_1>/.../<instance_id_n>
. - pi
Key StringPair Name - The name of the SSH key that you want to use to access your Power Systems Virtual Server instance. The SSH key must be uploaded to IBM Cloud.
- pi
License DoubleRepository Capacity - The VTL license repository capacity TB value. Only use with VTL instances.
pi_memory >= 16 + (2 * pi_license_repository_capacity)
. - pi
Memory Double - The amount of memory that you want to assign to your instance in GB.
- Required when not creating SAP instances. Conflicts with
pi_sap_profile_id
.
- Required when not creating SAP instances. Conflicts with
- pi
Pin StringPolicy - Pin Policy of the instance
- pi
Placement StringGroup Id - Placement group ID
- pi
Proc StringType - Instance processor type
- pi
Processors Double - Processors count
- pi
Replicants Double - PI Instance replicas count
- pi
Replication StringPolicy - Replication policy for the PI Instance
- pi
Replication StringScheme - Replication scheme
- pi
Replication List<String>Sites - Indicates the replication sites of the boot volume.
- pi
Retain BooleanVirtual Serial Number - Indicates whether to retain virtual serial number when changed or deleted.
- pi
Sap StringDeployment Type - Custom SAP Deployment Type Information
- pi
Sap StringProfile Id - SAP Profile ID for the amount of cores and memory
- String
- Shared Processor Pool the instance is deployed on
- pi
Storage StringConnection - Storage Connectivity Group for server deployment
- pi
Storage StringPool - Storage Pool for server deployment; if provided then pi_storage_pool_affinity will be ignored; Only valid when you deploy one of the IBM supplied stock images. Storage pool for a custom image (an imported image or an image that is created from a VM capture) defaults to the storage pool the image was created in
- pi
Storage BooleanPool Affinity - Indicates if all volumes attached to the server must reside in the same storage pool
- pi
Storage StringType - Storage type for server deployment; if pi_storage_type is not provided the storage type will default to tier3
- pi
Sys StringType - PI Instance system type
- pi
User StringData - Base64 encoded data to be passed in for invoking a cloud init script
- List<String>
- The user tags attached to this resource.
- pi
Virtual DoubleCores Assigned - Virtual Cores Assigned to the PVMInstance
- pi
Virtual StringOptical Device - Virtual Machine's Cloud Initialization Virtual Optical Device
- pi
Virtual PiSerial Number Instance Pi Virtual Serial Number - Virtual Serial Number information
- pi
Volume List<String>Ids - List of PI volumes
- timeouts
Pi
Instance Timeouts
- pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- pi
Image stringId - The ID of the image that you want to use for your Power Systems Virtual Server instance. The image determines the operating system that is installed in your instance. To list available images, run the
ibmcloud pi images
command.- Note:
- Only images belonging to your project can be used image for deploying a Power Systems Virtual Server instance. To import an images to your project, see ibm_pi_image.
- If using
pi_deployment_type = VMNoStorage
then use the following images for the respective OS you intend to create the instance:AIX-EMPTY
,IBMI-EMPTY
,SLES-EMPTY
,RHEL-EMPTY
.
- pi
Instance stringName - The name of the Power Systems Virtual Server instance.
- pi
Networks PiInstance Pi Network[] - List of one or more networks to attach to the instance.
- pi
Affinity stringInstance - PVM Instance (ID or Name) to base storage affinity policy against; required if requesting
affinity
andpi_affinity_volume
is not provided. - pi
Affinity stringPolicy - Affinity policy for pvm instance being created; ignored if
pi_storage_pool
provided; for policy affinity requires one ofpi_affinity_instance
orpi_affinity_volume
to be specified; for policy anti-affinity requires one ofpi_anti_affinity_instances
orpi_anti_affinity_volumes
to be specified; Allowable values:affinity
,anti-affinity
- pi
Affinity stringVolume - Volume (ID or Name) to base storage affinity policy against; required if requesting
affinity
andpi_affinity_instance
is not provided. - pi
Anti string[]Affinity Instances - List of pvmInstances to base storage anti-affinity policy against; required if requesting
anti-affinity
andpi_anti_affinity_volumes
is not provided. - pi
Anti string[]Affinity Volumes - List of volumes to base storage anti-affinity policy against; required if requesting
anti-affinity
andpi_anti_affinity_instances
is not provided. - pi
Boot booleanVolume Replication Enabled - Indicates if the boot volume should be replication enabled or not.
- pi
Deployment PiTarget Instance Pi Deployment Target The deployment of a dedicated host. Max items: 1.
Nested scheme for
pi_deployment_target
:- pi
Deployment stringType - Custom deployment type; Allowable value:
EPIC
orVMNoStorage
. - pi
Health stringStatus - Allow the user to set the status of the lpar so that they can connect to it faster
- pi
Ibmi booleanCss - IBM i Cloud Storage Solution.
- pi
Ibmi booleanPha - IBM i Power High Availability.
- pi
Ibmi numberRds Users - IBM i Rational Dev Studio Number of User Licenses.
- pi
Instance stringId - (String) The unique identifier of the instance. The ID is composed of
<pi_cloud_instance_id>/<instance_id_1>/.../<instance_id_n>
. - pi
Key stringPair Name - The name of the SSH key that you want to use to access your Power Systems Virtual Server instance. The SSH key must be uploaded to IBM Cloud.
- pi
License numberRepository Capacity - The VTL license repository capacity TB value. Only use with VTL instances.
pi_memory >= 16 + (2 * pi_license_repository_capacity)
. - pi
Memory number - The amount of memory that you want to assign to your instance in GB.
- Required when not creating SAP instances. Conflicts with
pi_sap_profile_id
.
- Required when not creating SAP instances. Conflicts with
- pi
Pin stringPolicy - Pin Policy of the instance
- pi
Placement stringGroup Id - Placement group ID
- pi
Proc stringType - Instance processor type
- pi
Processors number - Processors count
- pi
Replicants number - PI Instance replicas count
- pi
Replication stringPolicy - Replication policy for the PI Instance
- pi
Replication stringScheme - Replication scheme
- pi
Replication string[]Sites - Indicates the replication sites of the boot volume.
- pi
Retain booleanVirtual Serial Number - Indicates whether to retain virtual serial number when changed or deleted.
- pi
Sap stringDeployment Type - Custom SAP Deployment Type Information
- pi
Sap stringProfile Id - SAP Profile ID for the amount of cores and memory
- string
- Shared Processor Pool the instance is deployed on
- pi
Storage stringConnection - Storage Connectivity Group for server deployment
- pi
Storage stringPool - Storage Pool for server deployment; if provided then pi_storage_pool_affinity will be ignored; Only valid when you deploy one of the IBM supplied stock images. Storage pool for a custom image (an imported image or an image that is created from a VM capture) defaults to the storage pool the image was created in
- pi
Storage booleanPool Affinity - Indicates if all volumes attached to the server must reside in the same storage pool
- pi
Storage stringType - Storage type for server deployment; if pi_storage_type is not provided the storage type will default to tier3
- pi
Sys stringType - PI Instance system type
- pi
User stringData - Base64 encoded data to be passed in for invoking a cloud init script
- string[]
- The user tags attached to this resource.
- pi
Virtual numberCores Assigned - Virtual Cores Assigned to the PVMInstance
- pi
Virtual stringOptical Device - Virtual Machine's Cloud Initialization Virtual Optical Device
- pi
Virtual PiSerial Number Instance Pi Virtual Serial Number - Virtual Serial Number information
- pi
Volume string[]Ids - List of PI volumes
- timeouts
Pi
Instance Timeouts
- pi_
cloud_ strinstance_ id - The GUID of the service instance associated with an account.
- pi_
image_ strid - The ID of the image that you want to use for your Power Systems Virtual Server instance. The image determines the operating system that is installed in your instance. To list available images, run the
ibmcloud pi images
command.- Note:
- Only images belonging to your project can be used image for deploying a Power Systems Virtual Server instance. To import an images to your project, see ibm_pi_image.
- If using
pi_deployment_type = VMNoStorage
then use the following images for the respective OS you intend to create the instance:AIX-EMPTY
,IBMI-EMPTY
,SLES-EMPTY
,RHEL-EMPTY
.
- pi_
instance_ strname - The name of the Power Systems Virtual Server instance.
- pi_
networks Sequence[PiInstance Pi Network Args] - List of one or more networks to attach to the instance.
- pi_
affinity_ strinstance - PVM Instance (ID or Name) to base storage affinity policy against; required if requesting
affinity
andpi_affinity_volume
is not provided. - pi_
affinity_ strpolicy - Affinity policy for pvm instance being created; ignored if
pi_storage_pool
provided; for policy affinity requires one ofpi_affinity_instance
orpi_affinity_volume
to be specified; for policy anti-affinity requires one ofpi_anti_affinity_instances
orpi_anti_affinity_volumes
to be specified; Allowable values:affinity
,anti-affinity
- pi_
affinity_ strvolume - Volume (ID or Name) to base storage affinity policy against; required if requesting
affinity
andpi_affinity_instance
is not provided. - pi_
anti_ Sequence[str]affinity_ instances - List of pvmInstances to base storage anti-affinity policy against; required if requesting
anti-affinity
andpi_anti_affinity_volumes
is not provided. - pi_
anti_ Sequence[str]affinity_ volumes - List of volumes to base storage anti-affinity policy against; required if requesting
anti-affinity
andpi_anti_affinity_instances
is not provided. - pi_
boot_ boolvolume_ replication_ enabled - Indicates if the boot volume should be replication enabled or not.
- pi_
deployment_ Pitarget Instance Pi Deployment Target Args The deployment of a dedicated host. Max items: 1.
Nested scheme for
pi_deployment_target
:- pi_
deployment_ strtype - Custom deployment type; Allowable value:
EPIC
orVMNoStorage
. - pi_
health_ strstatus - Allow the user to set the status of the lpar so that they can connect to it faster
- pi_
ibmi_ boolcss - IBM i Cloud Storage Solution.
- pi_
ibmi_ boolpha - IBM i Power High Availability.
- pi_
ibmi_ floatrds_ users - IBM i Rational Dev Studio Number of User Licenses.
- pi_
instance_ strid - (String) The unique identifier of the instance. The ID is composed of
<pi_cloud_instance_id>/<instance_id_1>/.../<instance_id_n>
. - pi_
key_ strpair_ name - The name of the SSH key that you want to use to access your Power Systems Virtual Server instance. The SSH key must be uploaded to IBM Cloud.
- pi_
license_ floatrepository_ capacity - The VTL license repository capacity TB value. Only use with VTL instances.
pi_memory >= 16 + (2 * pi_license_repository_capacity)
. - pi_
memory float - The amount of memory that you want to assign to your instance in GB.
- Required when not creating SAP instances. Conflicts with
pi_sap_profile_id
.
- Required when not creating SAP instances. Conflicts with
- pi_
pin_ strpolicy - Pin Policy of the instance
- pi_
placement_ strgroup_ id - Placement group ID
- pi_
proc_ strtype - Instance processor type
- pi_
processors float - Processors count
- pi_
replicants float - PI Instance replicas count
- pi_
replication_ strpolicy - Replication policy for the PI Instance
- pi_
replication_ strscheme - Replication scheme
- pi_
replication_ Sequence[str]sites - Indicates the replication sites of the boot volume.
- pi_
retain_ boolvirtual_ serial_ number - Indicates whether to retain virtual serial number when changed or deleted.
- pi_
sap_ strdeployment_ type - Custom SAP Deployment Type Information
- pi_
sap_ strprofile_ id - SAP Profile ID for the amount of cores and memory
- str
- Shared Processor Pool the instance is deployed on
- pi_
storage_ strconnection - Storage Connectivity Group for server deployment
- pi_
storage_ strpool - Storage Pool for server deployment; if provided then pi_storage_pool_affinity will be ignored; Only valid when you deploy one of the IBM supplied stock images. Storage pool for a custom image (an imported image or an image that is created from a VM capture) defaults to the storage pool the image was created in
- pi_
storage_ boolpool_ affinity - Indicates if all volumes attached to the server must reside in the same storage pool
- pi_
storage_ strtype - Storage type for server deployment; if pi_storage_type is not provided the storage type will default to tier3
- pi_
sys_ strtype - PI Instance system type
- pi_
user_ strdata - Base64 encoded data to be passed in for invoking a cloud init script
- Sequence[str]
- The user tags attached to this resource.
- pi_
virtual_ floatcores_ assigned - Virtual Cores Assigned to the PVMInstance
- pi_
virtual_ stroptical_ device - Virtual Machine's Cloud Initialization Virtual Optical Device
- pi_
virtual_ Piserial_ number Instance Pi Virtual Serial Number Args - Virtual Serial Number information
- pi_
volume_ Sequence[str]ids - List of PI volumes
- timeouts
Pi
Instance Timeouts Args
- pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- pi
Image StringId - The ID of the image that you want to use for your Power Systems Virtual Server instance. The image determines the operating system that is installed in your instance. To list available images, run the
ibmcloud pi images
command.- Note:
- Only images belonging to your project can be used image for deploying a Power Systems Virtual Server instance. To import an images to your project, see ibm_pi_image.
- If using
pi_deployment_type = VMNoStorage
then use the following images for the respective OS you intend to create the instance:AIX-EMPTY
,IBMI-EMPTY
,SLES-EMPTY
,RHEL-EMPTY
.
- pi
Instance StringName - The name of the Power Systems Virtual Server instance.
- pi
Networks List<Property Map> - List of one or more networks to attach to the instance.
- pi
Affinity StringInstance - PVM Instance (ID or Name) to base storage affinity policy against; required if requesting
affinity
andpi_affinity_volume
is not provided. - pi
Affinity StringPolicy - Affinity policy for pvm instance being created; ignored if
pi_storage_pool
provided; for policy affinity requires one ofpi_affinity_instance
orpi_affinity_volume
to be specified; for policy anti-affinity requires one ofpi_anti_affinity_instances
orpi_anti_affinity_volumes
to be specified; Allowable values:affinity
,anti-affinity
- pi
Affinity StringVolume - Volume (ID or Name) to base storage affinity policy against; required if requesting
affinity
andpi_affinity_instance
is not provided. - pi
Anti List<String>Affinity Instances - List of pvmInstances to base storage anti-affinity policy against; required if requesting
anti-affinity
andpi_anti_affinity_volumes
is not provided. - pi
Anti List<String>Affinity Volumes - List of volumes to base storage anti-affinity policy against; required if requesting
anti-affinity
andpi_anti_affinity_instances
is not provided. - pi
Boot BooleanVolume Replication Enabled - Indicates if the boot volume should be replication enabled or not.
- pi
Deployment Property MapTarget The deployment of a dedicated host. Max items: 1.
Nested scheme for
pi_deployment_target
:- pi
Deployment StringType - Custom deployment type; Allowable value:
EPIC
orVMNoStorage
. - pi
Health StringStatus - Allow the user to set the status of the lpar so that they can connect to it faster
- pi
Ibmi BooleanCss - IBM i Cloud Storage Solution.
- pi
Ibmi BooleanPha - IBM i Power High Availability.
- pi
Ibmi NumberRds Users - IBM i Rational Dev Studio Number of User Licenses.
- pi
Instance StringId - (String) The unique identifier of the instance. The ID is composed of
<pi_cloud_instance_id>/<instance_id_1>/.../<instance_id_n>
. - pi
Key StringPair Name - The name of the SSH key that you want to use to access your Power Systems Virtual Server instance. The SSH key must be uploaded to IBM Cloud.
- pi
License NumberRepository Capacity - The VTL license repository capacity TB value. Only use with VTL instances.
pi_memory >= 16 + (2 * pi_license_repository_capacity)
. - pi
Memory Number - The amount of memory that you want to assign to your instance in GB.
- Required when not creating SAP instances. Conflicts with
pi_sap_profile_id
.
- Required when not creating SAP instances. Conflicts with
- pi
Pin StringPolicy - Pin Policy of the instance
- pi
Placement StringGroup Id - Placement group ID
- pi
Proc StringType - Instance processor type
- pi
Processors Number - Processors count
- pi
Replicants Number - PI Instance replicas count
- pi
Replication StringPolicy - Replication policy for the PI Instance
- pi
Replication StringScheme - Replication scheme
- pi
Replication List<String>Sites - Indicates the replication sites of the boot volume.
- pi
Retain BooleanVirtual Serial Number - Indicates whether to retain virtual serial number when changed or deleted.
- pi
Sap StringDeployment Type - Custom SAP Deployment Type Information
- pi
Sap StringProfile Id - SAP Profile ID for the amount of cores and memory
- String
- Shared Processor Pool the instance is deployed on
- pi
Storage StringConnection - Storage Connectivity Group for server deployment
- pi
Storage StringPool - Storage Pool for server deployment; if provided then pi_storage_pool_affinity will be ignored; Only valid when you deploy one of the IBM supplied stock images. Storage pool for a custom image (an imported image or an image that is created from a VM capture) defaults to the storage pool the image was created in
- pi
Storage BooleanPool Affinity - Indicates if all volumes attached to the server must reside in the same storage pool
- pi
Storage StringType - Storage type for server deployment; if pi_storage_type is not provided the storage type will default to tier3
- pi
Sys StringType - PI Instance system type
- pi
User StringData - Base64 encoded data to be passed in for invoking a cloud init script
- List<String>
- The user tags attached to this resource.
- pi
Virtual NumberCores Assigned - Virtual Cores Assigned to the PVMInstance
- pi
Virtual StringOptical Device - Virtual Machine's Cloud Initialization Virtual Optical Device
- pi
Virtual Property MapSerial Number - Virtual Serial Number information
- pi
Volume List<String>Ids - List of PI volumes
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the PiInstance resource produces the following output properties:
- Crn string
- (String) The CRN of this resource.
- Dedicated
Host stringId - (String) The dedicated host ID where the shared processor pool resides.
- Fault Dictionary<string, string>
- (Map) Fault information, if any.
- Health
Status string - (String) The health status of the VM.
- Ibmi
Rds bool - (Boolean) IBM i Rational Dev Studio.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - (String) The unique identifier of the instance.
- Max
Memory double - (Float) The maximum amount of memory that can be allocated to the instance without shut down or reboot the
LPAR
. - Max
Processors double - (Float) The maximum number of processors that can be allocated to the instance with shutting down or rebooting the
LPAR
. - Max
Virtual doubleCores - (Integer) The maximum number of virtual cores.
- Min
Memory double - (Float) The minimum memory that was allocated to the instance.
- Min
Processors double - (Float) The minimum number of processors that the instance can have.
- Min
Virtual doubleCores - (Integer) The minimum number of virtual cores.
- Operating
System string - Operating System
- Os
Type string - OS Type
- Pin
Policy string - (String) The pinning policy of the instance.
- Progress double
- (Float) - Specifies the overall progress of the instance deployment process in percentage.
- string
- (String) The ID of the shared processor pool for the instance.
- Status string
- (String) The status of the instance.
- Crn string
- (String) The CRN of this resource.
- Dedicated
Host stringId - (String) The dedicated host ID where the shared processor pool resides.
- Fault map[string]string
- (Map) Fault information, if any.
- Health
Status string - (String) The health status of the VM.
- Ibmi
Rds bool - (Boolean) IBM i Rational Dev Studio.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - (String) The unique identifier of the instance.
- Max
Memory float64 - (Float) The maximum amount of memory that can be allocated to the instance without shut down or reboot the
LPAR
. - Max
Processors float64 - (Float) The maximum number of processors that can be allocated to the instance with shutting down or rebooting the
LPAR
. - Max
Virtual float64Cores - (Integer) The maximum number of virtual cores.
- Min
Memory float64 - (Float) The minimum memory that was allocated to the instance.
- Min
Processors float64 - (Float) The minimum number of processors that the instance can have.
- Min
Virtual float64Cores - (Integer) The minimum number of virtual cores.
- Operating
System string - Operating System
- Os
Type string - OS Type
- Pin
Policy string - (String) The pinning policy of the instance.
- Progress float64
- (Float) - Specifies the overall progress of the instance deployment process in percentage.
- string
- (String) The ID of the shared processor pool for the instance.
- Status string
- (String) The status of the instance.
- crn String
- (String) The CRN of this resource.
- dedicated
Host StringId - (String) The dedicated host ID where the shared processor pool resides.
- fault Map<String,String>
- (Map) Fault information, if any.
- health
Status String - (String) The health status of the VM.
- ibmi
Rds Boolean - (Boolean) IBM i Rational Dev Studio.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - (String) The unique identifier of the instance.
- max
Memory Double - (Float) The maximum amount of memory that can be allocated to the instance without shut down or reboot the
LPAR
. - max
Processors Double - (Float) The maximum number of processors that can be allocated to the instance with shutting down or rebooting the
LPAR
. - max
Virtual DoubleCores - (Integer) The maximum number of virtual cores.
- min
Memory Double - (Float) The minimum memory that was allocated to the instance.
- min
Processors Double - (Float) The minimum number of processors that the instance can have.
- min
Virtual DoubleCores - (Integer) The minimum number of virtual cores.
- operating
System String - Operating System
- os
Type String - OS Type
- pin
Policy String - (String) The pinning policy of the instance.
- progress Double
- (Float) - Specifies the overall progress of the instance deployment process in percentage.
- String
- (String) The ID of the shared processor pool for the instance.
- status String
- (String) The status of the instance.
- crn string
- (String) The CRN of this resource.
- dedicated
Host stringId - (String) The dedicated host ID where the shared processor pool resides.
- fault {[key: string]: string}
- (Map) Fault information, if any.
- health
Status string - (String) The health status of the VM.
- ibmi
Rds boolean - (Boolean) IBM i Rational Dev Studio.
- id string
- The provider-assigned unique ID for this managed resource.
- instance
Id string - (String) The unique identifier of the instance.
- max
Memory number - (Float) The maximum amount of memory that can be allocated to the instance without shut down or reboot the
LPAR
. - max
Processors number - (Float) The maximum number of processors that can be allocated to the instance with shutting down or rebooting the
LPAR
. - max
Virtual numberCores - (Integer) The maximum number of virtual cores.
- min
Memory number - (Float) The minimum memory that was allocated to the instance.
- min
Processors number - (Float) The minimum number of processors that the instance can have.
- min
Virtual numberCores - (Integer) The minimum number of virtual cores.
- operating
System string - Operating System
- os
Type string - OS Type
- pin
Policy string - (String) The pinning policy of the instance.
- progress number
- (Float) - Specifies the overall progress of the instance deployment process in percentage.
- string
- (String) The ID of the shared processor pool for the instance.
- status string
- (String) The status of the instance.
- crn str
- (String) The CRN of this resource.
- dedicated_
host_ strid - (String) The dedicated host ID where the shared processor pool resides.
- fault Mapping[str, str]
- (Map) Fault information, if any.
- health_
status str - (String) The health status of the VM.
- ibmi_
rds bool - (Boolean) IBM i Rational Dev Studio.
- id str
- The provider-assigned unique ID for this managed resource.
- instance_
id str - (String) The unique identifier of the instance.
- max_
memory float - (Float) The maximum amount of memory that can be allocated to the instance without shut down or reboot the
LPAR
. - max_
processors float - (Float) The maximum number of processors that can be allocated to the instance with shutting down or rebooting the
LPAR
. - max_
virtual_ floatcores - (Integer) The maximum number of virtual cores.
- min_
memory float - (Float) The minimum memory that was allocated to the instance.
- min_
processors float - (Float) The minimum number of processors that the instance can have.
- min_
virtual_ floatcores - (Integer) The minimum number of virtual cores.
- operating_
system str - Operating System
- os_
type str - OS Type
- pin_
policy str - (String) The pinning policy of the instance.
- progress float
- (Float) - Specifies the overall progress of the instance deployment process in percentage.
- str
- (String) The ID of the shared processor pool for the instance.
- status str
- (String) The status of the instance.
- crn String
- (String) The CRN of this resource.
- dedicated
Host StringId - (String) The dedicated host ID where the shared processor pool resides.
- fault Map<String>
- (Map) Fault information, if any.
- health
Status String - (String) The health status of the VM.
- ibmi
Rds Boolean - (Boolean) IBM i Rational Dev Studio.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - (String) The unique identifier of the instance.
- max
Memory Number - (Float) The maximum amount of memory that can be allocated to the instance without shut down or reboot the
LPAR
. - max
Processors Number - (Float) The maximum number of processors that can be allocated to the instance with shutting down or rebooting the
LPAR
. - max
Virtual NumberCores - (Integer) The maximum number of virtual cores.
- min
Memory Number - (Float) The minimum memory that was allocated to the instance.
- min
Processors Number - (Float) The minimum number of processors that the instance can have.
- min
Virtual NumberCores - (Integer) The minimum number of virtual cores.
- operating
System String - Operating System
- os
Type String - OS Type
- pin
Policy String - (String) The pinning policy of the instance.
- progress Number
- (Float) - Specifies the overall progress of the instance deployment process in percentage.
- String
- (String) The ID of the shared processor pool for the instance.
- status String
- (String) The status of the instance.
Look up Existing PiInstance Resource
Get an existing PiInstance 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?: PiInstanceState, opts?: CustomResourceOptions): PiInstance
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
crn: Optional[str] = None,
dedicated_host_id: Optional[str] = None,
fault: Optional[Mapping[str, str]] = None,
health_status: Optional[str] = None,
ibmi_rds: Optional[bool] = None,
instance_id: Optional[str] = None,
max_memory: Optional[float] = None,
max_processors: Optional[float] = None,
max_virtual_cores: Optional[float] = None,
min_memory: Optional[float] = None,
min_processors: Optional[float] = None,
min_virtual_cores: Optional[float] = None,
operating_system: Optional[str] = None,
os_type: Optional[str] = None,
pi_affinity_instance: Optional[str] = None,
pi_affinity_policy: Optional[str] = None,
pi_affinity_volume: Optional[str] = None,
pi_anti_affinity_instances: Optional[Sequence[str]] = None,
pi_anti_affinity_volumes: Optional[Sequence[str]] = None,
pi_boot_volume_replication_enabled: Optional[bool] = None,
pi_cloud_instance_id: Optional[str] = None,
pi_deployment_target: Optional[PiInstancePiDeploymentTargetArgs] = None,
pi_deployment_type: Optional[str] = None,
pi_health_status: Optional[str] = None,
pi_ibmi_css: Optional[bool] = None,
pi_ibmi_pha: Optional[bool] = None,
pi_ibmi_rds_users: Optional[float] = None,
pi_image_id: Optional[str] = None,
pi_instance_id: Optional[str] = None,
pi_instance_name: Optional[str] = None,
pi_key_pair_name: Optional[str] = None,
pi_license_repository_capacity: Optional[float] = None,
pi_memory: Optional[float] = None,
pi_networks: Optional[Sequence[PiInstancePiNetworkArgs]] = None,
pi_pin_policy: Optional[str] = None,
pi_placement_group_id: Optional[str] = None,
pi_proc_type: Optional[str] = None,
pi_processors: Optional[float] = None,
pi_replicants: Optional[float] = None,
pi_replication_policy: Optional[str] = None,
pi_replication_scheme: Optional[str] = None,
pi_replication_sites: Optional[Sequence[str]] = None,
pi_retain_virtual_serial_number: Optional[bool] = None,
pi_sap_deployment_type: Optional[str] = None,
pi_sap_profile_id: Optional[str] = None,
pi_shared_processor_pool: Optional[str] = None,
pi_storage_connection: Optional[str] = None,
pi_storage_pool: Optional[str] = None,
pi_storage_pool_affinity: Optional[bool] = None,
pi_storage_type: Optional[str] = None,
pi_sys_type: Optional[str] = None,
pi_user_data: Optional[str] = None,
pi_user_tags: Optional[Sequence[str]] = None,
pi_virtual_cores_assigned: Optional[float] = None,
pi_virtual_optical_device: Optional[str] = None,
pi_virtual_serial_number: Optional[PiInstancePiVirtualSerialNumberArgs] = None,
pi_volume_ids: Optional[Sequence[str]] = None,
pin_policy: Optional[str] = None,
progress: Optional[float] = None,
shared_processor_pool_id: Optional[str] = None,
status: Optional[str] = None,
timeouts: Optional[PiInstanceTimeoutsArgs] = None) -> PiInstance
func GetPiInstance(ctx *Context, name string, id IDInput, state *PiInstanceState, opts ...ResourceOption) (*PiInstance, error)
public static PiInstance Get(string name, Input<string> id, PiInstanceState? state, CustomResourceOptions? opts = null)
public static PiInstance get(String name, Output<String> id, PiInstanceState state, CustomResourceOptions options)
resources: _: type: ibm:PiInstance 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.
- Crn string
- (String) The CRN of this resource.
- Dedicated
Host stringId - (String) The dedicated host ID where the shared processor pool resides.
- Fault Dictionary<string, string>
- (Map) Fault information, if any.
- Health
Status string - (String) The health status of the VM.
- Ibmi
Rds bool - (Boolean) IBM i Rational Dev Studio.
- Instance
Id string - (String) The unique identifier of the instance.
- Max
Memory double - (Float) The maximum amount of memory that can be allocated to the instance without shut down or reboot the
LPAR
. - Max
Processors double - (Float) The maximum number of processors that can be allocated to the instance with shutting down or rebooting the
LPAR
. - Max
Virtual doubleCores - (Integer) The maximum number of virtual cores.
- Min
Memory double - (Float) The minimum memory that was allocated to the instance.
- Min
Processors double - (Float) The minimum number of processors that the instance can have.
- Min
Virtual doubleCores - (Integer) The minimum number of virtual cores.
- Operating
System string - Operating System
- Os
Type string - OS Type
- Pi
Affinity stringInstance - PVM Instance (ID or Name) to base storage affinity policy against; required if requesting
affinity
andpi_affinity_volume
is not provided. - Pi
Affinity stringPolicy - Affinity policy for pvm instance being created; ignored if
pi_storage_pool
provided; for policy affinity requires one ofpi_affinity_instance
orpi_affinity_volume
to be specified; for policy anti-affinity requires one ofpi_anti_affinity_instances
orpi_anti_affinity_volumes
to be specified; Allowable values:affinity
,anti-affinity
- Pi
Affinity stringVolume - Volume (ID or Name) to base storage affinity policy against; required if requesting
affinity
andpi_affinity_instance
is not provided. - Pi
Anti List<string>Affinity Instances - List of pvmInstances to base storage anti-affinity policy against; required if requesting
anti-affinity
andpi_anti_affinity_volumes
is not provided. - Pi
Anti List<string>Affinity Volumes - List of volumes to base storage anti-affinity policy against; required if requesting
anti-affinity
andpi_anti_affinity_instances
is not provided. - Pi
Boot boolVolume Replication Enabled - Indicates if the boot volume should be replication enabled or not.
- Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- Pi
Deployment PiTarget Instance Pi Deployment Target The deployment of a dedicated host. Max items: 1.
Nested scheme for
pi_deployment_target
:- Pi
Deployment stringType - Custom deployment type; Allowable value:
EPIC
orVMNoStorage
. - Pi
Health stringStatus - Allow the user to set the status of the lpar so that they can connect to it faster
- Pi
Ibmi boolCss - IBM i Cloud Storage Solution.
- Pi
Ibmi boolPha - IBM i Power High Availability.
- Pi
Ibmi doubleRds Users - IBM i Rational Dev Studio Number of User Licenses.
- Pi
Image stringId - The ID of the image that you want to use for your Power Systems Virtual Server instance. The image determines the operating system that is installed in your instance. To list available images, run the
ibmcloud pi images
command.- Note:
- Only images belonging to your project can be used image for deploying a Power Systems Virtual Server instance. To import an images to your project, see ibm_pi_image.
- If using
pi_deployment_type = VMNoStorage
then use the following images for the respective OS you intend to create the instance:AIX-EMPTY
,IBMI-EMPTY
,SLES-EMPTY
,RHEL-EMPTY
.
- Pi
Instance stringId - (String) The unique identifier of the instance. The ID is composed of
<pi_cloud_instance_id>/<instance_id_1>/.../<instance_id_n>
. - Pi
Instance stringName - The name of the Power Systems Virtual Server instance.
- Pi
Key stringPair Name - The name of the SSH key that you want to use to access your Power Systems Virtual Server instance. The SSH key must be uploaded to IBM Cloud.
- Pi
License doubleRepository Capacity - The VTL license repository capacity TB value. Only use with VTL instances.
pi_memory >= 16 + (2 * pi_license_repository_capacity)
. - Pi
Memory double - The amount of memory that you want to assign to your instance in GB.
- Required when not creating SAP instances. Conflicts with
pi_sap_profile_id
.
- Required when not creating SAP instances. Conflicts with
- Pi
Networks List<PiInstance Pi Network> - List of one or more networks to attach to the instance.
- Pi
Pin stringPolicy - Pin Policy of the instance
- Pi
Placement stringGroup Id - Placement group ID
- Pi
Proc stringType - Instance processor type
- Pi
Processors double - Processors count
- Pi
Replicants double - PI Instance replicas count
- Pi
Replication stringPolicy - Replication policy for the PI Instance
- Pi
Replication stringScheme - Replication scheme
- Pi
Replication List<string>Sites - Indicates the replication sites of the boot volume.
- Pi
Retain boolVirtual Serial Number - Indicates whether to retain virtual serial number when changed or deleted.
- Pi
Sap stringDeployment Type - Custom SAP Deployment Type Information
- Pi
Sap stringProfile Id - SAP Profile ID for the amount of cores and memory
- string
- Shared Processor Pool the instance is deployed on
- Pi
Storage stringConnection - Storage Connectivity Group for server deployment
- Pi
Storage stringPool - Storage Pool for server deployment; if provided then pi_storage_pool_affinity will be ignored; Only valid when you deploy one of the IBM supplied stock images. Storage pool for a custom image (an imported image or an image that is created from a VM capture) defaults to the storage pool the image was created in
- Pi
Storage boolPool Affinity - Indicates if all volumes attached to the server must reside in the same storage pool
- Pi
Storage stringType - Storage type for server deployment; if pi_storage_type is not provided the storage type will default to tier3
- Pi
Sys stringType - PI Instance system type
- Pi
User stringData - Base64 encoded data to be passed in for invoking a cloud init script
- List<string>
- The user tags attached to this resource.
- Pi
Virtual doubleCores Assigned - Virtual Cores Assigned to the PVMInstance
- Pi
Virtual stringOptical Device - Virtual Machine's Cloud Initialization Virtual Optical Device
- Pi
Virtual PiSerial Number Instance Pi Virtual Serial Number - Virtual Serial Number information
- Pi
Volume List<string>Ids - List of PI volumes
- Pin
Policy string - (String) The pinning policy of the instance.
- Progress double
- (Float) - Specifies the overall progress of the instance deployment process in percentage.
- string
- (String) The ID of the shared processor pool for the instance.
- Status string
- (String) The status of the instance.
- Timeouts
Pi
Instance Timeouts
- Crn string
- (String) The CRN of this resource.
- Dedicated
Host stringId - (String) The dedicated host ID where the shared processor pool resides.
- Fault map[string]string
- (Map) Fault information, if any.
- Health
Status string - (String) The health status of the VM.
- Ibmi
Rds bool - (Boolean) IBM i Rational Dev Studio.
- Instance
Id string - (String) The unique identifier of the instance.
- Max
Memory float64 - (Float) The maximum amount of memory that can be allocated to the instance without shut down or reboot the
LPAR
. - Max
Processors float64 - (Float) The maximum number of processors that can be allocated to the instance with shutting down or rebooting the
LPAR
. - Max
Virtual float64Cores - (Integer) The maximum number of virtual cores.
- Min
Memory float64 - (Float) The minimum memory that was allocated to the instance.
- Min
Processors float64 - (Float) The minimum number of processors that the instance can have.
- Min
Virtual float64Cores - (Integer) The minimum number of virtual cores.
- Operating
System string - Operating System
- Os
Type string - OS Type
- Pi
Affinity stringInstance - PVM Instance (ID or Name) to base storage affinity policy against; required if requesting
affinity
andpi_affinity_volume
is not provided. - Pi
Affinity stringPolicy - Affinity policy for pvm instance being created; ignored if
pi_storage_pool
provided; for policy affinity requires one ofpi_affinity_instance
orpi_affinity_volume
to be specified; for policy anti-affinity requires one ofpi_anti_affinity_instances
orpi_anti_affinity_volumes
to be specified; Allowable values:affinity
,anti-affinity
- Pi
Affinity stringVolume - Volume (ID or Name) to base storage affinity policy against; required if requesting
affinity
andpi_affinity_instance
is not provided. - Pi
Anti []stringAffinity Instances - List of pvmInstances to base storage anti-affinity policy against; required if requesting
anti-affinity
andpi_anti_affinity_volumes
is not provided. - Pi
Anti []stringAffinity Volumes - List of volumes to base storage anti-affinity policy against; required if requesting
anti-affinity
andpi_anti_affinity_instances
is not provided. - Pi
Boot boolVolume Replication Enabled - Indicates if the boot volume should be replication enabled or not.
- Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- Pi
Deployment PiTarget Instance Pi Deployment Target Args The deployment of a dedicated host. Max items: 1.
Nested scheme for
pi_deployment_target
:- Pi
Deployment stringType - Custom deployment type; Allowable value:
EPIC
orVMNoStorage
. - Pi
Health stringStatus - Allow the user to set the status of the lpar so that they can connect to it faster
- Pi
Ibmi boolCss - IBM i Cloud Storage Solution.
- Pi
Ibmi boolPha - IBM i Power High Availability.
- Pi
Ibmi float64Rds Users - IBM i Rational Dev Studio Number of User Licenses.
- Pi
Image stringId - The ID of the image that you want to use for your Power Systems Virtual Server instance. The image determines the operating system that is installed in your instance. To list available images, run the
ibmcloud pi images
command.- Note:
- Only images belonging to your project can be used image for deploying a Power Systems Virtual Server instance. To import an images to your project, see ibm_pi_image.
- If using
pi_deployment_type = VMNoStorage
then use the following images for the respective OS you intend to create the instance:AIX-EMPTY
,IBMI-EMPTY
,SLES-EMPTY
,RHEL-EMPTY
.
- Pi
Instance stringId - (String) The unique identifier of the instance. The ID is composed of
<pi_cloud_instance_id>/<instance_id_1>/.../<instance_id_n>
. - Pi
Instance stringName - The name of the Power Systems Virtual Server instance.
- Pi
Key stringPair Name - The name of the SSH key that you want to use to access your Power Systems Virtual Server instance. The SSH key must be uploaded to IBM Cloud.
- Pi
License float64Repository Capacity - The VTL license repository capacity TB value. Only use with VTL instances.
pi_memory >= 16 + (2 * pi_license_repository_capacity)
. - Pi
Memory float64 - The amount of memory that you want to assign to your instance in GB.
- Required when not creating SAP instances. Conflicts with
pi_sap_profile_id
.
- Required when not creating SAP instances. Conflicts with
- Pi
Networks []PiInstance Pi Network Args - List of one or more networks to attach to the instance.
- Pi
Pin stringPolicy - Pin Policy of the instance
- Pi
Placement stringGroup Id - Placement group ID
- Pi
Proc stringType - Instance processor type
- Pi
Processors float64 - Processors count
- Pi
Replicants float64 - PI Instance replicas count
- Pi
Replication stringPolicy - Replication policy for the PI Instance
- Pi
Replication stringScheme - Replication scheme
- Pi
Replication []stringSites - Indicates the replication sites of the boot volume.
- Pi
Retain boolVirtual Serial Number - Indicates whether to retain virtual serial number when changed or deleted.
- Pi
Sap stringDeployment Type - Custom SAP Deployment Type Information
- Pi
Sap stringProfile Id - SAP Profile ID for the amount of cores and memory
- string
- Shared Processor Pool the instance is deployed on
- Pi
Storage stringConnection - Storage Connectivity Group for server deployment
- Pi
Storage stringPool - Storage Pool for server deployment; if provided then pi_storage_pool_affinity will be ignored; Only valid when you deploy one of the IBM supplied stock images. Storage pool for a custom image (an imported image or an image that is created from a VM capture) defaults to the storage pool the image was created in
- Pi
Storage boolPool Affinity - Indicates if all volumes attached to the server must reside in the same storage pool
- Pi
Storage stringType - Storage type for server deployment; if pi_storage_type is not provided the storage type will default to tier3
- Pi
Sys stringType - PI Instance system type
- Pi
User stringData - Base64 encoded data to be passed in for invoking a cloud init script
- []string
- The user tags attached to this resource.
- Pi
Virtual float64Cores Assigned - Virtual Cores Assigned to the PVMInstance
- Pi
Virtual stringOptical Device - Virtual Machine's Cloud Initialization Virtual Optical Device
- Pi
Virtual PiSerial Number Instance Pi Virtual Serial Number Args - Virtual Serial Number information
- Pi
Volume []stringIds - List of PI volumes
- Pin
Policy string - (String) The pinning policy of the instance.
- Progress float64
- (Float) - Specifies the overall progress of the instance deployment process in percentage.
- string
- (String) The ID of the shared processor pool for the instance.
- Status string
- (String) The status of the instance.
- Timeouts
Pi
Instance Timeouts Args
- crn String
- (String) The CRN of this resource.
- dedicated
Host StringId - (String) The dedicated host ID where the shared processor pool resides.
- fault Map<String,String>
- (Map) Fault information, if any.
- health
Status String - (String) The health status of the VM.
- ibmi
Rds Boolean - (Boolean) IBM i Rational Dev Studio.
- instance
Id String - (String) The unique identifier of the instance.
- max
Memory Double - (Float) The maximum amount of memory that can be allocated to the instance without shut down or reboot the
LPAR
. - max
Processors Double - (Float) The maximum number of processors that can be allocated to the instance with shutting down or rebooting the
LPAR
. - max
Virtual DoubleCores - (Integer) The maximum number of virtual cores.
- min
Memory Double - (Float) The minimum memory that was allocated to the instance.
- min
Processors Double - (Float) The minimum number of processors that the instance can have.
- min
Virtual DoubleCores - (Integer) The minimum number of virtual cores.
- operating
System String - Operating System
- os
Type String - OS Type
- pi
Affinity StringInstance - PVM Instance (ID or Name) to base storage affinity policy against; required if requesting
affinity
andpi_affinity_volume
is not provided. - pi
Affinity StringPolicy - Affinity policy for pvm instance being created; ignored if
pi_storage_pool
provided; for policy affinity requires one ofpi_affinity_instance
orpi_affinity_volume
to be specified; for policy anti-affinity requires one ofpi_anti_affinity_instances
orpi_anti_affinity_volumes
to be specified; Allowable values:affinity
,anti-affinity
- pi
Affinity StringVolume - Volume (ID or Name) to base storage affinity policy against; required if requesting
affinity
andpi_affinity_instance
is not provided. - pi
Anti List<String>Affinity Instances - List of pvmInstances to base storage anti-affinity policy against; required if requesting
anti-affinity
andpi_anti_affinity_volumes
is not provided. - pi
Anti List<String>Affinity Volumes - List of volumes to base storage anti-affinity policy against; required if requesting
anti-affinity
andpi_anti_affinity_instances
is not provided. - pi
Boot BooleanVolume Replication Enabled - Indicates if the boot volume should be replication enabled or not.
- pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- pi
Deployment PiTarget Instance Pi Deployment Target The deployment of a dedicated host. Max items: 1.
Nested scheme for
pi_deployment_target
:- pi
Deployment StringType - Custom deployment type; Allowable value:
EPIC
orVMNoStorage
. - pi
Health StringStatus - Allow the user to set the status of the lpar so that they can connect to it faster
- pi
Ibmi BooleanCss - IBM i Cloud Storage Solution.
- pi
Ibmi BooleanPha - IBM i Power High Availability.
- pi
Ibmi DoubleRds Users - IBM i Rational Dev Studio Number of User Licenses.
- pi
Image StringId - The ID of the image that you want to use for your Power Systems Virtual Server instance. The image determines the operating system that is installed in your instance. To list available images, run the
ibmcloud pi images
command.- Note:
- Only images belonging to your project can be used image for deploying a Power Systems Virtual Server instance. To import an images to your project, see ibm_pi_image.
- If using
pi_deployment_type = VMNoStorage
then use the following images for the respective OS you intend to create the instance:AIX-EMPTY
,IBMI-EMPTY
,SLES-EMPTY
,RHEL-EMPTY
.
- pi
Instance StringId - (String) The unique identifier of the instance. The ID is composed of
<pi_cloud_instance_id>/<instance_id_1>/.../<instance_id_n>
. - pi
Instance StringName - The name of the Power Systems Virtual Server instance.
- pi
Key StringPair Name - The name of the SSH key that you want to use to access your Power Systems Virtual Server instance. The SSH key must be uploaded to IBM Cloud.
- pi
License DoubleRepository Capacity - The VTL license repository capacity TB value. Only use with VTL instances.
pi_memory >= 16 + (2 * pi_license_repository_capacity)
. - pi
Memory Double - The amount of memory that you want to assign to your instance in GB.
- Required when not creating SAP instances. Conflicts with
pi_sap_profile_id
.
- Required when not creating SAP instances. Conflicts with
- pi
Networks List<PiInstance Pi Network> - List of one or more networks to attach to the instance.
- pi
Pin StringPolicy - Pin Policy of the instance
- pi
Placement StringGroup Id - Placement group ID
- pi
Proc StringType - Instance processor type
- pi
Processors Double - Processors count
- pi
Replicants Double - PI Instance replicas count
- pi
Replication StringPolicy - Replication policy for the PI Instance
- pi
Replication StringScheme - Replication scheme
- pi
Replication List<String>Sites - Indicates the replication sites of the boot volume.
- pi
Retain BooleanVirtual Serial Number - Indicates whether to retain virtual serial number when changed or deleted.
- pi
Sap StringDeployment Type - Custom SAP Deployment Type Information
- pi
Sap StringProfile Id - SAP Profile ID for the amount of cores and memory
- String
- Shared Processor Pool the instance is deployed on
- pi
Storage StringConnection - Storage Connectivity Group for server deployment
- pi
Storage StringPool - Storage Pool for server deployment; if provided then pi_storage_pool_affinity will be ignored; Only valid when you deploy one of the IBM supplied stock images. Storage pool for a custom image (an imported image or an image that is created from a VM capture) defaults to the storage pool the image was created in
- pi
Storage BooleanPool Affinity - Indicates if all volumes attached to the server must reside in the same storage pool
- pi
Storage StringType - Storage type for server deployment; if pi_storage_type is not provided the storage type will default to tier3
- pi
Sys StringType - PI Instance system type
- pi
User StringData - Base64 encoded data to be passed in for invoking a cloud init script
- List<String>
- The user tags attached to this resource.
- pi
Virtual DoubleCores Assigned - Virtual Cores Assigned to the PVMInstance
- pi
Virtual StringOptical Device - Virtual Machine's Cloud Initialization Virtual Optical Device
- pi
Virtual PiSerial Number Instance Pi Virtual Serial Number - Virtual Serial Number information
- pi
Volume List<String>Ids - List of PI volumes
- pin
Policy String - (String) The pinning policy of the instance.
- progress Double
- (Float) - Specifies the overall progress of the instance deployment process in percentage.
- String
- (String) The ID of the shared processor pool for the instance.
- status String
- (String) The status of the instance.
- timeouts
Pi
Instance Timeouts
- crn string
- (String) The CRN of this resource.
- dedicated
Host stringId - (String) The dedicated host ID where the shared processor pool resides.
- fault {[key: string]: string}
- (Map) Fault information, if any.
- health
Status string - (String) The health status of the VM.
- ibmi
Rds boolean - (Boolean) IBM i Rational Dev Studio.
- instance
Id string - (String) The unique identifier of the instance.
- max
Memory number - (Float) The maximum amount of memory that can be allocated to the instance without shut down or reboot the
LPAR
. - max
Processors number - (Float) The maximum number of processors that can be allocated to the instance with shutting down or rebooting the
LPAR
. - max
Virtual numberCores - (Integer) The maximum number of virtual cores.
- min
Memory number - (Float) The minimum memory that was allocated to the instance.
- min
Processors number - (Float) The minimum number of processors that the instance can have.
- min
Virtual numberCores - (Integer) The minimum number of virtual cores.
- operating
System string - Operating System
- os
Type string - OS Type
- pi
Affinity stringInstance - PVM Instance (ID or Name) to base storage affinity policy against; required if requesting
affinity
andpi_affinity_volume
is not provided. - pi
Affinity stringPolicy - Affinity policy for pvm instance being created; ignored if
pi_storage_pool
provided; for policy affinity requires one ofpi_affinity_instance
orpi_affinity_volume
to be specified; for policy anti-affinity requires one ofpi_anti_affinity_instances
orpi_anti_affinity_volumes
to be specified; Allowable values:affinity
,anti-affinity
- pi
Affinity stringVolume - Volume (ID or Name) to base storage affinity policy against; required if requesting
affinity
andpi_affinity_instance
is not provided. - pi
Anti string[]Affinity Instances - List of pvmInstances to base storage anti-affinity policy against; required if requesting
anti-affinity
andpi_anti_affinity_volumes
is not provided. - pi
Anti string[]Affinity Volumes - List of volumes to base storage anti-affinity policy against; required if requesting
anti-affinity
andpi_anti_affinity_instances
is not provided. - pi
Boot booleanVolume Replication Enabled - Indicates if the boot volume should be replication enabled or not.
- pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- pi
Deployment PiTarget Instance Pi Deployment Target The deployment of a dedicated host. Max items: 1.
Nested scheme for
pi_deployment_target
:- pi
Deployment stringType - Custom deployment type; Allowable value:
EPIC
orVMNoStorage
. - pi
Health stringStatus - Allow the user to set the status of the lpar so that they can connect to it faster
- pi
Ibmi booleanCss - IBM i Cloud Storage Solution.
- pi
Ibmi booleanPha - IBM i Power High Availability.
- pi
Ibmi numberRds Users - IBM i Rational Dev Studio Number of User Licenses.
- pi
Image stringId - The ID of the image that you want to use for your Power Systems Virtual Server instance. The image determines the operating system that is installed in your instance. To list available images, run the
ibmcloud pi images
command.- Note:
- Only images belonging to your project can be used image for deploying a Power Systems Virtual Server instance. To import an images to your project, see ibm_pi_image.
- If using
pi_deployment_type = VMNoStorage
then use the following images for the respective OS you intend to create the instance:AIX-EMPTY
,IBMI-EMPTY
,SLES-EMPTY
,RHEL-EMPTY
.
- pi
Instance stringId - (String) The unique identifier of the instance. The ID is composed of
<pi_cloud_instance_id>/<instance_id_1>/.../<instance_id_n>
. - pi
Instance stringName - The name of the Power Systems Virtual Server instance.
- pi
Key stringPair Name - The name of the SSH key that you want to use to access your Power Systems Virtual Server instance. The SSH key must be uploaded to IBM Cloud.
- pi
License numberRepository Capacity - The VTL license repository capacity TB value. Only use with VTL instances.
pi_memory >= 16 + (2 * pi_license_repository_capacity)
. - pi
Memory number - The amount of memory that you want to assign to your instance in GB.
- Required when not creating SAP instances. Conflicts with
pi_sap_profile_id
.
- Required when not creating SAP instances. Conflicts with
- pi
Networks PiInstance Pi Network[] - List of one or more networks to attach to the instance.
- pi
Pin stringPolicy - Pin Policy of the instance
- pi
Placement stringGroup Id - Placement group ID
- pi
Proc stringType - Instance processor type
- pi
Processors number - Processors count
- pi
Replicants number - PI Instance replicas count
- pi
Replication stringPolicy - Replication policy for the PI Instance
- pi
Replication stringScheme - Replication scheme
- pi
Replication string[]Sites - Indicates the replication sites of the boot volume.
- pi
Retain booleanVirtual Serial Number - Indicates whether to retain virtual serial number when changed or deleted.
- pi
Sap stringDeployment Type - Custom SAP Deployment Type Information
- pi
Sap stringProfile Id - SAP Profile ID for the amount of cores and memory
- string
- Shared Processor Pool the instance is deployed on
- pi
Storage stringConnection - Storage Connectivity Group for server deployment
- pi
Storage stringPool - Storage Pool for server deployment; if provided then pi_storage_pool_affinity will be ignored; Only valid when you deploy one of the IBM supplied stock images. Storage pool for a custom image (an imported image or an image that is created from a VM capture) defaults to the storage pool the image was created in
- pi
Storage booleanPool Affinity - Indicates if all volumes attached to the server must reside in the same storage pool
- pi
Storage stringType - Storage type for server deployment; if pi_storage_type is not provided the storage type will default to tier3
- pi
Sys stringType - PI Instance system type
- pi
User stringData - Base64 encoded data to be passed in for invoking a cloud init script
- string[]
- The user tags attached to this resource.
- pi
Virtual numberCores Assigned - Virtual Cores Assigned to the PVMInstance
- pi
Virtual stringOptical Device - Virtual Machine's Cloud Initialization Virtual Optical Device
- pi
Virtual PiSerial Number Instance Pi Virtual Serial Number - Virtual Serial Number information
- pi
Volume string[]Ids - List of PI volumes
- pin
Policy string - (String) The pinning policy of the instance.
- progress number
- (Float) - Specifies the overall progress of the instance deployment process in percentage.
- string
- (String) The ID of the shared processor pool for the instance.
- status string
- (String) The status of the instance.
- timeouts
Pi
Instance Timeouts
- crn str
- (String) The CRN of this resource.
- dedicated_
host_ strid - (String) The dedicated host ID where the shared processor pool resides.
- fault Mapping[str, str]
- (Map) Fault information, if any.
- health_
status str - (String) The health status of the VM.
- ibmi_
rds bool - (Boolean) IBM i Rational Dev Studio.
- instance_
id str - (String) The unique identifier of the instance.
- max_
memory float - (Float) The maximum amount of memory that can be allocated to the instance without shut down or reboot the
LPAR
. - max_
processors float - (Float) The maximum number of processors that can be allocated to the instance with shutting down or rebooting the
LPAR
. - max_
virtual_ floatcores - (Integer) The maximum number of virtual cores.
- min_
memory float - (Float) The minimum memory that was allocated to the instance.
- min_
processors float - (Float) The minimum number of processors that the instance can have.
- min_
virtual_ floatcores - (Integer) The minimum number of virtual cores.
- operating_
system str - Operating System
- os_
type str - OS Type
- pi_
affinity_ strinstance - PVM Instance (ID or Name) to base storage affinity policy against; required if requesting
affinity
andpi_affinity_volume
is not provided. - pi_
affinity_ strpolicy - Affinity policy for pvm instance being created; ignored if
pi_storage_pool
provided; for policy affinity requires one ofpi_affinity_instance
orpi_affinity_volume
to be specified; for policy anti-affinity requires one ofpi_anti_affinity_instances
orpi_anti_affinity_volumes
to be specified; Allowable values:affinity
,anti-affinity
- pi_
affinity_ strvolume - Volume (ID or Name) to base storage affinity policy against; required if requesting
affinity
andpi_affinity_instance
is not provided. - pi_
anti_ Sequence[str]affinity_ instances - List of pvmInstances to base storage anti-affinity policy against; required if requesting
anti-affinity
andpi_anti_affinity_volumes
is not provided. - pi_
anti_ Sequence[str]affinity_ volumes - List of volumes to base storage anti-affinity policy against; required if requesting
anti-affinity
andpi_anti_affinity_instances
is not provided. - pi_
boot_ boolvolume_ replication_ enabled - Indicates if the boot volume should be replication enabled or not.
- pi_
cloud_ strinstance_ id - The GUID of the service instance associated with an account.
- pi_
deployment_ Pitarget Instance Pi Deployment Target Args The deployment of a dedicated host. Max items: 1.
Nested scheme for
pi_deployment_target
:- pi_
deployment_ strtype - Custom deployment type; Allowable value:
EPIC
orVMNoStorage
. - pi_
health_ strstatus - Allow the user to set the status of the lpar so that they can connect to it faster
- pi_
ibmi_ boolcss - IBM i Cloud Storage Solution.
- pi_
ibmi_ boolpha - IBM i Power High Availability.
- pi_
ibmi_ floatrds_ users - IBM i Rational Dev Studio Number of User Licenses.
- pi_
image_ strid - The ID of the image that you want to use for your Power Systems Virtual Server instance. The image determines the operating system that is installed in your instance. To list available images, run the
ibmcloud pi images
command.- Note:
- Only images belonging to your project can be used image for deploying a Power Systems Virtual Server instance. To import an images to your project, see ibm_pi_image.
- If using
pi_deployment_type = VMNoStorage
then use the following images for the respective OS you intend to create the instance:AIX-EMPTY
,IBMI-EMPTY
,SLES-EMPTY
,RHEL-EMPTY
.
- pi_
instance_ strid - (String) The unique identifier of the instance. The ID is composed of
<pi_cloud_instance_id>/<instance_id_1>/.../<instance_id_n>
. - pi_
instance_ strname - The name of the Power Systems Virtual Server instance.
- pi_
key_ strpair_ name - The name of the SSH key that you want to use to access your Power Systems Virtual Server instance. The SSH key must be uploaded to IBM Cloud.
- pi_
license_ floatrepository_ capacity - The VTL license repository capacity TB value. Only use with VTL instances.
pi_memory >= 16 + (2 * pi_license_repository_capacity)
. - pi_
memory float - The amount of memory that you want to assign to your instance in GB.
- Required when not creating SAP instances. Conflicts with
pi_sap_profile_id
.
- Required when not creating SAP instances. Conflicts with
- pi_
networks Sequence[PiInstance Pi Network Args] - List of one or more networks to attach to the instance.
- pi_
pin_ strpolicy - Pin Policy of the instance
- pi_
placement_ strgroup_ id - Placement group ID
- pi_
proc_ strtype - Instance processor type
- pi_
processors float - Processors count
- pi_
replicants float - PI Instance replicas count
- pi_
replication_ strpolicy - Replication policy for the PI Instance
- pi_
replication_ strscheme - Replication scheme
- pi_
replication_ Sequence[str]sites - Indicates the replication sites of the boot volume.
- pi_
retain_ boolvirtual_ serial_ number - Indicates whether to retain virtual serial number when changed or deleted.
- pi_
sap_ strdeployment_ type - Custom SAP Deployment Type Information
- pi_
sap_ strprofile_ id - SAP Profile ID for the amount of cores and memory
- str
- Shared Processor Pool the instance is deployed on
- pi_
storage_ strconnection - Storage Connectivity Group for server deployment
- pi_
storage_ strpool - Storage Pool for server deployment; if provided then pi_storage_pool_affinity will be ignored; Only valid when you deploy one of the IBM supplied stock images. Storage pool for a custom image (an imported image or an image that is created from a VM capture) defaults to the storage pool the image was created in
- pi_
storage_ boolpool_ affinity - Indicates if all volumes attached to the server must reside in the same storage pool
- pi_
storage_ strtype - Storage type for server deployment; if pi_storage_type is not provided the storage type will default to tier3
- pi_
sys_ strtype - PI Instance system type
- pi_
user_ strdata - Base64 encoded data to be passed in for invoking a cloud init script
- Sequence[str]
- The user tags attached to this resource.
- pi_
virtual_ floatcores_ assigned - Virtual Cores Assigned to the PVMInstance
- pi_
virtual_ stroptical_ device - Virtual Machine's Cloud Initialization Virtual Optical Device
- pi_
virtual_ Piserial_ number Instance Pi Virtual Serial Number Args - Virtual Serial Number information
- pi_
volume_ Sequence[str]ids - List of PI volumes
- pin_
policy str - (String) The pinning policy of the instance.
- progress float
- (Float) - Specifies the overall progress of the instance deployment process in percentage.
- str
- (String) The ID of the shared processor pool for the instance.
- status str
- (String) The status of the instance.
- timeouts
Pi
Instance Timeouts Args
- crn String
- (String) The CRN of this resource.
- dedicated
Host StringId - (String) The dedicated host ID where the shared processor pool resides.
- fault Map<String>
- (Map) Fault information, if any.
- health
Status String - (String) The health status of the VM.
- ibmi
Rds Boolean - (Boolean) IBM i Rational Dev Studio.
- instance
Id String - (String) The unique identifier of the instance.
- max
Memory Number - (Float) The maximum amount of memory that can be allocated to the instance without shut down or reboot the
LPAR
. - max
Processors Number - (Float) The maximum number of processors that can be allocated to the instance with shutting down or rebooting the
LPAR
. - max
Virtual NumberCores - (Integer) The maximum number of virtual cores.
- min
Memory Number - (Float) The minimum memory that was allocated to the instance.
- min
Processors Number - (Float) The minimum number of processors that the instance can have.
- min
Virtual NumberCores - (Integer) The minimum number of virtual cores.
- operating
System String - Operating System
- os
Type String - OS Type
- pi
Affinity StringInstance - PVM Instance (ID or Name) to base storage affinity policy against; required if requesting
affinity
andpi_affinity_volume
is not provided. - pi
Affinity StringPolicy - Affinity policy for pvm instance being created; ignored if
pi_storage_pool
provided; for policy affinity requires one ofpi_affinity_instance
orpi_affinity_volume
to be specified; for policy anti-affinity requires one ofpi_anti_affinity_instances
orpi_anti_affinity_volumes
to be specified; Allowable values:affinity
,anti-affinity
- pi
Affinity StringVolume - Volume (ID or Name) to base storage affinity policy against; required if requesting
affinity
andpi_affinity_instance
is not provided. - pi
Anti List<String>Affinity Instances - List of pvmInstances to base storage anti-affinity policy against; required if requesting
anti-affinity
andpi_anti_affinity_volumes
is not provided. - pi
Anti List<String>Affinity Volumes - List of volumes to base storage anti-affinity policy against; required if requesting
anti-affinity
andpi_anti_affinity_instances
is not provided. - pi
Boot BooleanVolume Replication Enabled - Indicates if the boot volume should be replication enabled or not.
- pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- pi
Deployment Property MapTarget The deployment of a dedicated host. Max items: 1.
Nested scheme for
pi_deployment_target
:- pi
Deployment StringType - Custom deployment type; Allowable value:
EPIC
orVMNoStorage
. - pi
Health StringStatus - Allow the user to set the status of the lpar so that they can connect to it faster
- pi
Ibmi BooleanCss - IBM i Cloud Storage Solution.
- pi
Ibmi BooleanPha - IBM i Power High Availability.
- pi
Ibmi NumberRds Users - IBM i Rational Dev Studio Number of User Licenses.
- pi
Image StringId - The ID of the image that you want to use for your Power Systems Virtual Server instance. The image determines the operating system that is installed in your instance. To list available images, run the
ibmcloud pi images
command.- Note:
- Only images belonging to your project can be used image for deploying a Power Systems Virtual Server instance. To import an images to your project, see ibm_pi_image.
- If using
pi_deployment_type = VMNoStorage
then use the following images for the respective OS you intend to create the instance:AIX-EMPTY
,IBMI-EMPTY
,SLES-EMPTY
,RHEL-EMPTY
.
- pi
Instance StringId - (String) The unique identifier of the instance. The ID is composed of
<pi_cloud_instance_id>/<instance_id_1>/.../<instance_id_n>
. - pi
Instance StringName - The name of the Power Systems Virtual Server instance.
- pi
Key StringPair Name - The name of the SSH key that you want to use to access your Power Systems Virtual Server instance. The SSH key must be uploaded to IBM Cloud.
- pi
License NumberRepository Capacity - The VTL license repository capacity TB value. Only use with VTL instances.
pi_memory >= 16 + (2 * pi_license_repository_capacity)
. - pi
Memory Number - The amount of memory that you want to assign to your instance in GB.
- Required when not creating SAP instances. Conflicts with
pi_sap_profile_id
.
- Required when not creating SAP instances. Conflicts with
- pi
Networks List<Property Map> - List of one or more networks to attach to the instance.
- pi
Pin StringPolicy - Pin Policy of the instance
- pi
Placement StringGroup Id - Placement group ID
- pi
Proc StringType - Instance processor type
- pi
Processors Number - Processors count
- pi
Replicants Number - PI Instance replicas count
- pi
Replication StringPolicy - Replication policy for the PI Instance
- pi
Replication StringScheme - Replication scheme
- pi
Replication List<String>Sites - Indicates the replication sites of the boot volume.
- pi
Retain BooleanVirtual Serial Number - Indicates whether to retain virtual serial number when changed or deleted.
- pi
Sap StringDeployment Type - Custom SAP Deployment Type Information
- pi
Sap StringProfile Id - SAP Profile ID for the amount of cores and memory
- String
- Shared Processor Pool the instance is deployed on
- pi
Storage StringConnection - Storage Connectivity Group for server deployment
- pi
Storage StringPool - Storage Pool for server deployment; if provided then pi_storage_pool_affinity will be ignored; Only valid when you deploy one of the IBM supplied stock images. Storage pool for a custom image (an imported image or an image that is created from a VM capture) defaults to the storage pool the image was created in
- pi
Storage BooleanPool Affinity - Indicates if all volumes attached to the server must reside in the same storage pool
- pi
Storage StringType - Storage type for server deployment; if pi_storage_type is not provided the storage type will default to tier3
- pi
Sys StringType - PI Instance system type
- pi
User StringData - Base64 encoded data to be passed in for invoking a cloud init script
- List<String>
- The user tags attached to this resource.
- pi
Virtual NumberCores Assigned - Virtual Cores Assigned to the PVMInstance
- pi
Virtual StringOptical Device - Virtual Machine's Cloud Initialization Virtual Optical Device
- pi
Virtual Property MapSerial Number - Virtual Serial Number information
- pi
Volume List<String>Ids - List of PI volumes
- pin
Policy String - (String) The pinning policy of the instance.
- progress Number
- (Float) - Specifies the overall progress of the instance deployment process in percentage.
- String
- (String) The ID of the shared processor pool for the instance.
- status String
- (String) The status of the instance.
- timeouts Property Map
Supporting Types
PiInstancePiDeploymentTarget, PiInstancePiDeploymentTargetArgs
PiInstancePiNetwork, PiInstancePiNetworkArgs
- Network
Id string - The network ID to assign to the instance.
- External
Ip string - (String) The external IP address of the network.
- Ip
Address string - The ip address to be used of this network.
- Mac
Address string - (String) The MAC address of the network.
- Network
Interface stringId - (String) ID of the network interface.
- Network
Name string - (String) The name of the network.
- Network
Security List<string>Group Ids - The Network security groups that the network interface is a member of. There is a limit of 1 network security group in the array. If not specified, default network security group is used.
- Network
Security List<string>Groups Hreves - (List) Links to the network security groups that the network interface is a member of.
- Type string
- (String) The type of network.
- Network
Id string - The network ID to assign to the instance.
- External
Ip string - (String) The external IP address of the network.
- Ip
Address string - The ip address to be used of this network.
- Mac
Address string - (String) The MAC address of the network.
- Network
Interface stringId - (String) ID of the network interface.
- Network
Name string - (String) The name of the network.
- Network
Security []stringGroup Ids - The Network security groups that the network interface is a member of. There is a limit of 1 network security group in the array. If not specified, default network security group is used.
- Network
Security []stringGroups Hreves - (List) Links to the network security groups that the network interface is a member of.
- Type string
- (String) The type of network.
- network
Id String - The network ID to assign to the instance.
- external
Ip String - (String) The external IP address of the network.
- ip
Address String - The ip address to be used of this network.
- mac
Address String - (String) The MAC address of the network.
- network
Interface StringId - (String) ID of the network interface.
- network
Name String - (String) The name of the network.
- network
Security List<String>Group Ids - The Network security groups that the network interface is a member of. There is a limit of 1 network security group in the array. If not specified, default network security group is used.
- network
Security List<String>Groups Hreves - (List) Links to the network security groups that the network interface is a member of.
- type String
- (String) The type of network.
- network
Id string - The network ID to assign to the instance.
- external
Ip string - (String) The external IP address of the network.
- ip
Address string - The ip address to be used of this network.
- mac
Address string - (String) The MAC address of the network.
- network
Interface stringId - (String) ID of the network interface.
- network
Name string - (String) The name of the network.
- network
Security string[]Group Ids - The Network security groups that the network interface is a member of. There is a limit of 1 network security group in the array. If not specified, default network security group is used.
- network
Security string[]Groups Hreves - (List) Links to the network security groups that the network interface is a member of.
- type string
- (String) The type of network.
- network_
id str - The network ID to assign to the instance.
- external_
ip str - (String) The external IP address of the network.
- ip_
address str - The ip address to be used of this network.
- mac_
address str - (String) The MAC address of the network.
- network_
interface_ strid - (String) ID of the network interface.
- network_
name str - (String) The name of the network.
- network_
security_ Sequence[str]group_ ids - The Network security groups that the network interface is a member of. There is a limit of 1 network security group in the array. If not specified, default network security group is used.
- network_
security_ Sequence[str]groups_ hreves - (List) Links to the network security groups that the network interface is a member of.
- type str
- (String) The type of network.
- network
Id String - The network ID to assign to the instance.
- external
Ip String - (String) The external IP address of the network.
- ip
Address String - The ip address to be used of this network.
- mac
Address String - (String) The MAC address of the network.
- network
Interface StringId - (String) ID of the network interface.
- network
Name String - (String) The name of the network.
- network
Security List<String>Group Ids - The Network security groups that the network interface is a member of. There is a limit of 1 network security group in the array. If not specified, default network security group is used.
- network
Security List<String>Groups Hreves - (List) Links to the network security groups that the network interface is a member of.
- type String
- (String) The type of network.
PiInstancePiVirtualSerialNumber, PiInstancePiVirtualSerialNumberArgs
- Serial string
- Provide an existing reserved Virtual Serial Number or specify 'auto-assign' for auto generated Virtual Serial Number.
- Description string
- Description of the Virtual Serial Number
- Serial string
- Provide an existing reserved Virtual Serial Number or specify 'auto-assign' for auto generated Virtual Serial Number.
- Description string
- Description of the Virtual Serial Number
- serial String
- Provide an existing reserved Virtual Serial Number or specify 'auto-assign' for auto generated Virtual Serial Number.
- description String
- Description of the Virtual Serial Number
- serial string
- Provide an existing reserved Virtual Serial Number or specify 'auto-assign' for auto generated Virtual Serial Number.
- description string
- Description of the Virtual Serial Number
- serial str
- Provide an existing reserved Virtual Serial Number or specify 'auto-assign' for auto generated Virtual Serial Number.
- description str
- Description of the Virtual Serial Number
- serial String
- Provide an existing reserved Virtual Serial Number or specify 'auto-assign' for auto generated Virtual Serial Number.
- description String
- Description of the Virtual Serial Number
PiInstanceTimeouts, PiInstanceTimeoutsArgs
Import
Example
bash
$ pulumi import ibm:index/piInstance:PiInstance example d7bec597-4726-451f-8a63-e62e6f19c32c/cea6651a-bc0a-4438-9f8a-a0770b112ebb
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.