ibm.IsInstanceTemplate
Explore with Pulumi AI
Create, update, or delete an instance template on VPC. For more information, about instance template, see managing an instance template.
~>Note:
VPC infrastructure services are a regional specific based endpoint, by default targets to us-south
. Please make sure to target right region in the provider block as shown in the provider.tf
file, if VPC service is created in region other than us-south
.
provider.tf
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) {
}
}
{}
Example Usage
The following example creates an instance template in a VPC generation-2 infrastructure.
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const exampleIsVpc = new ibm.IsVpc("exampleIsVpc", {});
const exampleIsSubnet = new ibm.IsSubnet("exampleIsSubnet", {
vpc: exampleIsVpc.isVpcId,
zone: "us-south-2",
ipv4CidrBlock: "10.240.64.0/28",
});
const exampleIsSshKey = new ibm.IsSshKey("exampleIsSshKey", {publicKey: "SSH KEY"});
const exampleResourceGroup = new ibm.ResourceGroup("exampleResourceGroup", {});
const exampleIsDedicatedHostGroup = new ibm.IsDedicatedHostGroup("exampleIsDedicatedHostGroup", {
family: "compute",
"class": "cx2",
zone: "us-south-1",
resourceGroup: exampleResourceGroup.resourceGroupId,
});
const exampleIsDedicatedHost = new ibm.IsDedicatedHost("exampleIsDedicatedHost", {
profile: "bx2d-host-152x608",
hostGroup: exampleIsDedicatedHostGroup.isDedicatedHostGroupId,
resourceGroup: exampleResourceGroup.resourceGroupId,
});
const exampleIsVolume = new ibm.IsVolume("exampleIsVolume", {
resourceGroup: exampleResourceGroup.resourceGroupId,
zone: "us-south-2",
profile: "general-purpose",
capacity: 50,
});
// Create a new volume with the volume attachment. This template format can be used with instance groups
const exampleIsInstanceTemplate = new ibm.IsInstanceTemplate("exampleIsInstanceTemplate", {
image: ibm_is_image.example.id,
profile: "bx2-8x32",
primaryNetworkInterface: {
subnet: exampleIsSubnet.isSubnetId,
allowIpSpoofing: true,
},
vpc: exampleIsVpc.isVpcId,
zone: "us-south-2",
keys: [exampleIsSshKey.isSshKeyId],
bootVolume: {
name: "example-boot-volume",
deleteVolumeOnInstanceDelete: true,
},
volumeAttachments: [{
deleteVolumeOnInstanceDelete: true,
name: "example-volume-att-01",
volumePrototype: {
iops: 3000,
profile: "custom",
capacity: 200,
},
}],
});
// Template with volume attachment that attaches existing storage volume. This template cannot be used with instance groups
const example1 = new ibm.IsInstanceTemplate("example1", {
image: ibm_is_image.example.id,
profile: "bx2-8x32",
primaryNetworkInterface: {
subnet: exampleIsSubnet.isSubnetId,
allowIpSpoofing: true,
},
vpc: exampleIsVpc.isVpcId,
zone: "us-south-2",
keys: [exampleIsSshKey.isSshKeyId],
bootVolume: {
name: "example-boot-volume",
deleteVolumeOnInstanceDelete: true,
},
volumeAttachments: [{
deleteVolumeOnInstanceDelete: true,
name: "example-volume-att",
volume: exampleIsVolume.isVolumeId,
}],
});
const example3 = new ibm.IsInstanceTemplate("example3", {
image: ibm_is_image.example.id,
profile: "bx2-8x32",
primaryNetworkInterface: {
subnet: exampleIsSubnet.isSubnetId,
allowIpSpoofing: true,
},
dedicatedHostGroup: exampleIsDedicatedHostGroup.isDedicatedHostGroupId,
vpc: exampleIsVpc.isVpcId,
zone: "us-south-2",
keys: [exampleIsSshKey.isSshKeyId],
bootVolume: {
name: "example-boot-volume",
deleteVolumeOnInstanceDelete: true,
},
});
const example4 = new ibm.IsInstanceTemplate("example4", {
image: ibm_is_image.example.id,
profile: "bx2-8x32",
primaryNetworkInterface: {
subnet: exampleIsSubnet.isSubnetId,
allowIpSpoofing: true,
},
dedicatedHost: exampleIsDedicatedHost.isDedicatedHostId,
vpc: ibm_is_vpc.vpc2.id,
zone: "us-south-2",
keys: [exampleIsSshKey.isSshKeyId],
bootVolume: {
name: "example-boot-volume",
deleteVolumeOnInstanceDelete: true,
},
});
import pulumi
import pulumi_ibm as ibm
example_is_vpc = ibm.IsVpc("exampleIsVpc")
example_is_subnet = ibm.IsSubnet("exampleIsSubnet",
vpc=example_is_vpc.is_vpc_id,
zone="us-south-2",
ipv4_cidr_block="10.240.64.0/28")
example_is_ssh_key = ibm.IsSshKey("exampleIsSshKey", public_key="SSH KEY")
example_resource_group = ibm.ResourceGroup("exampleResourceGroup")
example_is_dedicated_host_group = ibm.IsDedicatedHostGroup("exampleIsDedicatedHostGroup",
family="compute",
class_="cx2",
zone="us-south-1",
resource_group=example_resource_group.resource_group_id)
example_is_dedicated_host = ibm.IsDedicatedHost("exampleIsDedicatedHost",
profile="bx2d-host-152x608",
host_group=example_is_dedicated_host_group.is_dedicated_host_group_id,
resource_group=example_resource_group.resource_group_id)
example_is_volume = ibm.IsVolume("exampleIsVolume",
resource_group=example_resource_group.resource_group_id,
zone="us-south-2",
profile="general-purpose",
capacity=50)
# Create a new volume with the volume attachment. This template format can be used with instance groups
example_is_instance_template = ibm.IsInstanceTemplate("exampleIsInstanceTemplate",
image=ibm_is_image["example"]["id"],
profile="bx2-8x32",
primary_network_interface={
"subnet": example_is_subnet.is_subnet_id,
"allow_ip_spoofing": True,
},
vpc=example_is_vpc.is_vpc_id,
zone="us-south-2",
keys=[example_is_ssh_key.is_ssh_key_id],
boot_volume={
"name": "example-boot-volume",
"delete_volume_on_instance_delete": True,
},
volume_attachments=[{
"delete_volume_on_instance_delete": True,
"name": "example-volume-att-01",
"volume_prototype": {
"iops": 3000,
"profile": "custom",
"capacity": 200,
},
}])
# Template with volume attachment that attaches existing storage volume. This template cannot be used with instance groups
example1 = ibm.IsInstanceTemplate("example1",
image=ibm_is_image["example"]["id"],
profile="bx2-8x32",
primary_network_interface={
"subnet": example_is_subnet.is_subnet_id,
"allow_ip_spoofing": True,
},
vpc=example_is_vpc.is_vpc_id,
zone="us-south-2",
keys=[example_is_ssh_key.is_ssh_key_id],
boot_volume={
"name": "example-boot-volume",
"delete_volume_on_instance_delete": True,
},
volume_attachments=[{
"delete_volume_on_instance_delete": True,
"name": "example-volume-att",
"volume": example_is_volume.is_volume_id,
}])
example3 = ibm.IsInstanceTemplate("example3",
image=ibm_is_image["example"]["id"],
profile="bx2-8x32",
primary_network_interface={
"subnet": example_is_subnet.is_subnet_id,
"allow_ip_spoofing": True,
},
dedicated_host_group=example_is_dedicated_host_group.is_dedicated_host_group_id,
vpc=example_is_vpc.is_vpc_id,
zone="us-south-2",
keys=[example_is_ssh_key.is_ssh_key_id],
boot_volume={
"name": "example-boot-volume",
"delete_volume_on_instance_delete": True,
})
example4 = ibm.IsInstanceTemplate("example4",
image=ibm_is_image["example"]["id"],
profile="bx2-8x32",
primary_network_interface={
"subnet": example_is_subnet.is_subnet_id,
"allow_ip_spoofing": True,
},
dedicated_host=example_is_dedicated_host.is_dedicated_host_id,
vpc=ibm_is_vpc["vpc2"]["id"],
zone="us-south-2",
keys=[example_is_ssh_key.is_ssh_key_id],
boot_volume={
"name": "example-boot-volume",
"delete_volume_on_instance_delete": True,
})
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 {
exampleIsVpc, err := ibm.NewIsVpc(ctx, "exampleIsVpc", nil)
if err != nil {
return err
}
exampleIsSubnet, err := ibm.NewIsSubnet(ctx, "exampleIsSubnet", &ibm.IsSubnetArgs{
Vpc: exampleIsVpc.IsVpcId,
Zone: pulumi.String("us-south-2"),
Ipv4CidrBlock: pulumi.String("10.240.64.0/28"),
})
if err != nil {
return err
}
exampleIsSshKey, err := ibm.NewIsSshKey(ctx, "exampleIsSshKey", &ibm.IsSshKeyArgs{
PublicKey: pulumi.String("SSH KEY"),
})
if err != nil {
return err
}
exampleResourceGroup, err := ibm.NewResourceGroup(ctx, "exampleResourceGroup", nil)
if err != nil {
return err
}
exampleIsDedicatedHostGroup, err := ibm.NewIsDedicatedHostGroup(ctx, "exampleIsDedicatedHostGroup", &ibm.IsDedicatedHostGroupArgs{
Family: pulumi.String("compute"),
Class: pulumi.String("cx2"),
Zone: pulumi.String("us-south-1"),
ResourceGroup: exampleResourceGroup.ResourceGroupId,
})
if err != nil {
return err
}
exampleIsDedicatedHost, err := ibm.NewIsDedicatedHost(ctx, "exampleIsDedicatedHost", &ibm.IsDedicatedHostArgs{
Profile: pulumi.String("bx2d-host-152x608"),
HostGroup: exampleIsDedicatedHostGroup.IsDedicatedHostGroupId,
ResourceGroup: exampleResourceGroup.ResourceGroupId,
})
if err != nil {
return err
}
exampleIsVolume, err := ibm.NewIsVolume(ctx, "exampleIsVolume", &ibm.IsVolumeArgs{
ResourceGroup: exampleResourceGroup.ResourceGroupId,
Zone: pulumi.String("us-south-2"),
Profile: pulumi.String("general-purpose"),
Capacity: pulumi.Float64(50),
})
if err != nil {
return err
}
// Create a new volume with the volume attachment. This template format can be used with instance groups
_, err = ibm.NewIsInstanceTemplate(ctx, "exampleIsInstanceTemplate", &ibm.IsInstanceTemplateArgs{
Image: pulumi.Any(ibm_is_image.Example.Id),
Profile: pulumi.String("bx2-8x32"),
PrimaryNetworkInterface: &ibm.IsInstanceTemplatePrimaryNetworkInterfaceArgs{
Subnet: exampleIsSubnet.IsSubnetId,
AllowIpSpoofing: pulumi.Bool(true),
},
Vpc: exampleIsVpc.IsVpcId,
Zone: pulumi.String("us-south-2"),
Keys: pulumi.StringArray{
exampleIsSshKey.IsSshKeyId,
},
BootVolume: &ibm.IsInstanceTemplateBootVolumeArgs{
Name: pulumi.String("example-boot-volume"),
DeleteVolumeOnInstanceDelete: pulumi.Bool(true),
},
VolumeAttachments: ibm.IsInstanceTemplateVolumeAttachmentArray{
&ibm.IsInstanceTemplateVolumeAttachmentArgs{
DeleteVolumeOnInstanceDelete: pulumi.Bool(true),
Name: pulumi.String("example-volume-att-01"),
VolumePrototype: &ibm.IsInstanceTemplateVolumeAttachmentVolumePrototypeArgs{
Iops: pulumi.Float64(3000),
Profile: pulumi.String("custom"),
Capacity: pulumi.Float64(200),
},
},
},
})
if err != nil {
return err
}
// Template with volume attachment that attaches existing storage volume. This template cannot be used with instance groups
_, err = ibm.NewIsInstanceTemplate(ctx, "example1", &ibm.IsInstanceTemplateArgs{
Image: pulumi.Any(ibm_is_image.Example.Id),
Profile: pulumi.String("bx2-8x32"),
PrimaryNetworkInterface: &ibm.IsInstanceTemplatePrimaryNetworkInterfaceArgs{
Subnet: exampleIsSubnet.IsSubnetId,
AllowIpSpoofing: pulumi.Bool(true),
},
Vpc: exampleIsVpc.IsVpcId,
Zone: pulumi.String("us-south-2"),
Keys: pulumi.StringArray{
exampleIsSshKey.IsSshKeyId,
},
BootVolume: &ibm.IsInstanceTemplateBootVolumeArgs{
Name: pulumi.String("example-boot-volume"),
DeleteVolumeOnInstanceDelete: pulumi.Bool(true),
},
VolumeAttachments: ibm.IsInstanceTemplateVolumeAttachmentArray{
&ibm.IsInstanceTemplateVolumeAttachmentArgs{
DeleteVolumeOnInstanceDelete: pulumi.Bool(true),
Name: pulumi.String("example-volume-att"),
Volume: exampleIsVolume.IsVolumeId,
},
},
})
if err != nil {
return err
}
_, err = ibm.NewIsInstanceTemplate(ctx, "example3", &ibm.IsInstanceTemplateArgs{
Image: pulumi.Any(ibm_is_image.Example.Id),
Profile: pulumi.String("bx2-8x32"),
PrimaryNetworkInterface: &ibm.IsInstanceTemplatePrimaryNetworkInterfaceArgs{
Subnet: exampleIsSubnet.IsSubnetId,
AllowIpSpoofing: pulumi.Bool(true),
},
DedicatedHostGroup: exampleIsDedicatedHostGroup.IsDedicatedHostGroupId,
Vpc: exampleIsVpc.IsVpcId,
Zone: pulumi.String("us-south-2"),
Keys: pulumi.StringArray{
exampleIsSshKey.IsSshKeyId,
},
BootVolume: &ibm.IsInstanceTemplateBootVolumeArgs{
Name: pulumi.String("example-boot-volume"),
DeleteVolumeOnInstanceDelete: pulumi.Bool(true),
},
})
if err != nil {
return err
}
_, err = ibm.NewIsInstanceTemplate(ctx, "example4", &ibm.IsInstanceTemplateArgs{
Image: pulumi.Any(ibm_is_image.Example.Id),
Profile: pulumi.String("bx2-8x32"),
PrimaryNetworkInterface: &ibm.IsInstanceTemplatePrimaryNetworkInterfaceArgs{
Subnet: exampleIsSubnet.IsSubnetId,
AllowIpSpoofing: pulumi.Bool(true),
},
DedicatedHost: exampleIsDedicatedHost.IsDedicatedHostId,
Vpc: pulumi.Any(ibm_is_vpc.Vpc2.Id),
Zone: pulumi.String("us-south-2"),
Keys: pulumi.StringArray{
exampleIsSshKey.IsSshKeyId,
},
BootVolume: &ibm.IsInstanceTemplateBootVolumeArgs{
Name: pulumi.String("example-boot-volume"),
DeleteVolumeOnInstanceDelete: pulumi.Bool(true),
},
})
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 exampleIsVpc = new Ibm.IsVpc("exampleIsVpc");
var exampleIsSubnet = new Ibm.IsSubnet("exampleIsSubnet", new()
{
Vpc = exampleIsVpc.IsVpcId,
Zone = "us-south-2",
Ipv4CidrBlock = "10.240.64.0/28",
});
var exampleIsSshKey = new Ibm.IsSshKey("exampleIsSshKey", new()
{
PublicKey = "SSH KEY",
});
var exampleResourceGroup = new Ibm.ResourceGroup("exampleResourceGroup");
var exampleIsDedicatedHostGroup = new Ibm.IsDedicatedHostGroup("exampleIsDedicatedHostGroup", new()
{
Family = "compute",
Class = "cx2",
Zone = "us-south-1",
ResourceGroup = exampleResourceGroup.ResourceGroupId,
});
var exampleIsDedicatedHost = new Ibm.IsDedicatedHost("exampleIsDedicatedHost", new()
{
Profile = "bx2d-host-152x608",
HostGroup = exampleIsDedicatedHostGroup.IsDedicatedHostGroupId,
ResourceGroup = exampleResourceGroup.ResourceGroupId,
});
var exampleIsVolume = new Ibm.IsVolume("exampleIsVolume", new()
{
ResourceGroup = exampleResourceGroup.ResourceGroupId,
Zone = "us-south-2",
Profile = "general-purpose",
Capacity = 50,
});
// Create a new volume with the volume attachment. This template format can be used with instance groups
var exampleIsInstanceTemplate = new Ibm.IsInstanceTemplate("exampleIsInstanceTemplate", new()
{
Image = ibm_is_image.Example.Id,
Profile = "bx2-8x32",
PrimaryNetworkInterface = new Ibm.Inputs.IsInstanceTemplatePrimaryNetworkInterfaceArgs
{
Subnet = exampleIsSubnet.IsSubnetId,
AllowIpSpoofing = true,
},
Vpc = exampleIsVpc.IsVpcId,
Zone = "us-south-2",
Keys = new[]
{
exampleIsSshKey.IsSshKeyId,
},
BootVolume = new Ibm.Inputs.IsInstanceTemplateBootVolumeArgs
{
Name = "example-boot-volume",
DeleteVolumeOnInstanceDelete = true,
},
VolumeAttachments = new[]
{
new Ibm.Inputs.IsInstanceTemplateVolumeAttachmentArgs
{
DeleteVolumeOnInstanceDelete = true,
Name = "example-volume-att-01",
VolumePrototype = new Ibm.Inputs.IsInstanceTemplateVolumeAttachmentVolumePrototypeArgs
{
Iops = 3000,
Profile = "custom",
Capacity = 200,
},
},
},
});
// Template with volume attachment that attaches existing storage volume. This template cannot be used with instance groups
var example1 = new Ibm.IsInstanceTemplate("example1", new()
{
Image = ibm_is_image.Example.Id,
Profile = "bx2-8x32",
PrimaryNetworkInterface = new Ibm.Inputs.IsInstanceTemplatePrimaryNetworkInterfaceArgs
{
Subnet = exampleIsSubnet.IsSubnetId,
AllowIpSpoofing = true,
},
Vpc = exampleIsVpc.IsVpcId,
Zone = "us-south-2",
Keys = new[]
{
exampleIsSshKey.IsSshKeyId,
},
BootVolume = new Ibm.Inputs.IsInstanceTemplateBootVolumeArgs
{
Name = "example-boot-volume",
DeleteVolumeOnInstanceDelete = true,
},
VolumeAttachments = new[]
{
new Ibm.Inputs.IsInstanceTemplateVolumeAttachmentArgs
{
DeleteVolumeOnInstanceDelete = true,
Name = "example-volume-att",
Volume = exampleIsVolume.IsVolumeId,
},
},
});
var example3 = new Ibm.IsInstanceTemplate("example3", new()
{
Image = ibm_is_image.Example.Id,
Profile = "bx2-8x32",
PrimaryNetworkInterface = new Ibm.Inputs.IsInstanceTemplatePrimaryNetworkInterfaceArgs
{
Subnet = exampleIsSubnet.IsSubnetId,
AllowIpSpoofing = true,
},
DedicatedHostGroup = exampleIsDedicatedHostGroup.IsDedicatedHostGroupId,
Vpc = exampleIsVpc.IsVpcId,
Zone = "us-south-2",
Keys = new[]
{
exampleIsSshKey.IsSshKeyId,
},
BootVolume = new Ibm.Inputs.IsInstanceTemplateBootVolumeArgs
{
Name = "example-boot-volume",
DeleteVolumeOnInstanceDelete = true,
},
});
var example4 = new Ibm.IsInstanceTemplate("example4", new()
{
Image = ibm_is_image.Example.Id,
Profile = "bx2-8x32",
PrimaryNetworkInterface = new Ibm.Inputs.IsInstanceTemplatePrimaryNetworkInterfaceArgs
{
Subnet = exampleIsSubnet.IsSubnetId,
AllowIpSpoofing = true,
},
DedicatedHost = exampleIsDedicatedHost.IsDedicatedHostId,
Vpc = ibm_is_vpc.Vpc2.Id,
Zone = "us-south-2",
Keys = new[]
{
exampleIsSshKey.IsSshKeyId,
},
BootVolume = new Ibm.Inputs.IsInstanceTemplateBootVolumeArgs
{
Name = "example-boot-volume",
DeleteVolumeOnInstanceDelete = true,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IsVpc;
import com.pulumi.ibm.IsSubnet;
import com.pulumi.ibm.IsSubnetArgs;
import com.pulumi.ibm.IsSshKey;
import com.pulumi.ibm.IsSshKeyArgs;
import com.pulumi.ibm.ResourceGroup;
import com.pulumi.ibm.IsDedicatedHostGroup;
import com.pulumi.ibm.IsDedicatedHostGroupArgs;
import com.pulumi.ibm.IsDedicatedHost;
import com.pulumi.ibm.IsDedicatedHostArgs;
import com.pulumi.ibm.IsVolume;
import com.pulumi.ibm.IsVolumeArgs;
import com.pulumi.ibm.IsInstanceTemplate;
import com.pulumi.ibm.IsInstanceTemplateArgs;
import com.pulumi.ibm.inputs.IsInstanceTemplatePrimaryNetworkInterfaceArgs;
import com.pulumi.ibm.inputs.IsInstanceTemplateBootVolumeArgs;
import com.pulumi.ibm.inputs.IsInstanceTemplateVolumeAttachmentArgs;
import com.pulumi.ibm.inputs.IsInstanceTemplateVolumeAttachmentVolumePrototypeArgs;
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 exampleIsVpc = new IsVpc("exampleIsVpc");
var exampleIsSubnet = new IsSubnet("exampleIsSubnet", IsSubnetArgs.builder()
.vpc(exampleIsVpc.isVpcId())
.zone("us-south-2")
.ipv4CidrBlock("10.240.64.0/28")
.build());
var exampleIsSshKey = new IsSshKey("exampleIsSshKey", IsSshKeyArgs.builder()
.publicKey("SSH KEY")
.build());
var exampleResourceGroup = new ResourceGroup("exampleResourceGroup");
var exampleIsDedicatedHostGroup = new IsDedicatedHostGroup("exampleIsDedicatedHostGroup", IsDedicatedHostGroupArgs.builder()
.family("compute")
.class_("cx2")
.zone("us-south-1")
.resourceGroup(exampleResourceGroup.resourceGroupId())
.build());
var exampleIsDedicatedHost = new IsDedicatedHost("exampleIsDedicatedHost", IsDedicatedHostArgs.builder()
.profile("bx2d-host-152x608")
.hostGroup(exampleIsDedicatedHostGroup.isDedicatedHostGroupId())
.resourceGroup(exampleResourceGroup.resourceGroupId())
.build());
var exampleIsVolume = new IsVolume("exampleIsVolume", IsVolumeArgs.builder()
.resourceGroup(exampleResourceGroup.resourceGroupId())
.zone("us-south-2")
.profile("general-purpose")
.capacity(50)
.build());
// Create a new volume with the volume attachment. This template format can be used with instance groups
var exampleIsInstanceTemplate = new IsInstanceTemplate("exampleIsInstanceTemplate", IsInstanceTemplateArgs.builder()
.image(ibm_is_image.example().id())
.profile("bx2-8x32")
.primaryNetworkInterface(IsInstanceTemplatePrimaryNetworkInterfaceArgs.builder()
.subnet(exampleIsSubnet.isSubnetId())
.allowIpSpoofing(true)
.build())
.vpc(exampleIsVpc.isVpcId())
.zone("us-south-2")
.keys(exampleIsSshKey.isSshKeyId())
.bootVolume(IsInstanceTemplateBootVolumeArgs.builder()
.name("example-boot-volume")
.deleteVolumeOnInstanceDelete(true)
.build())
.volumeAttachments(IsInstanceTemplateVolumeAttachmentArgs.builder()
.deleteVolumeOnInstanceDelete(true)
.name("example-volume-att-01")
.volumePrototype(IsInstanceTemplateVolumeAttachmentVolumePrototypeArgs.builder()
.iops(3000)
.profile("custom")
.capacity(200)
.build())
.build())
.build());
// Template with volume attachment that attaches existing storage volume. This template cannot be used with instance groups
var example1 = new IsInstanceTemplate("example1", IsInstanceTemplateArgs.builder()
.image(ibm_is_image.example().id())
.profile("bx2-8x32")
.primaryNetworkInterface(IsInstanceTemplatePrimaryNetworkInterfaceArgs.builder()
.subnet(exampleIsSubnet.isSubnetId())
.allowIpSpoofing(true)
.build())
.vpc(exampleIsVpc.isVpcId())
.zone("us-south-2")
.keys(exampleIsSshKey.isSshKeyId())
.bootVolume(IsInstanceTemplateBootVolumeArgs.builder()
.name("example-boot-volume")
.deleteVolumeOnInstanceDelete(true)
.build())
.volumeAttachments(IsInstanceTemplateVolumeAttachmentArgs.builder()
.deleteVolumeOnInstanceDelete(true)
.name("example-volume-att")
.volume(exampleIsVolume.isVolumeId())
.build())
.build());
var example3 = new IsInstanceTemplate("example3", IsInstanceTemplateArgs.builder()
.image(ibm_is_image.example().id())
.profile("bx2-8x32")
.primaryNetworkInterface(IsInstanceTemplatePrimaryNetworkInterfaceArgs.builder()
.subnet(exampleIsSubnet.isSubnetId())
.allowIpSpoofing(true)
.build())
.dedicatedHostGroup(exampleIsDedicatedHostGroup.isDedicatedHostGroupId())
.vpc(exampleIsVpc.isVpcId())
.zone("us-south-2")
.keys(exampleIsSshKey.isSshKeyId())
.bootVolume(IsInstanceTemplateBootVolumeArgs.builder()
.name("example-boot-volume")
.deleteVolumeOnInstanceDelete(true)
.build())
.build());
var example4 = new IsInstanceTemplate("example4", IsInstanceTemplateArgs.builder()
.image(ibm_is_image.example().id())
.profile("bx2-8x32")
.primaryNetworkInterface(IsInstanceTemplatePrimaryNetworkInterfaceArgs.builder()
.subnet(exampleIsSubnet.isSubnetId())
.allowIpSpoofing(true)
.build())
.dedicatedHost(exampleIsDedicatedHost.isDedicatedHostId())
.vpc(ibm_is_vpc.vpc2().id())
.zone("us-south-2")
.keys(exampleIsSshKey.isSshKeyId())
.bootVolume(IsInstanceTemplateBootVolumeArgs.builder()
.name("example-boot-volume")
.deleteVolumeOnInstanceDelete(true)
.build())
.build());
}
}
resources:
exampleIsVpc:
type: ibm:IsVpc
exampleIsSubnet:
type: ibm:IsSubnet
properties:
vpc: ${exampleIsVpc.isVpcId}
zone: us-south-2
ipv4CidrBlock: 10.240.64.0/28
exampleIsSshKey:
type: ibm:IsSshKey
properties:
publicKey: SSH KEY
exampleResourceGroup:
type: ibm:ResourceGroup
exampleIsDedicatedHostGroup:
type: ibm:IsDedicatedHostGroup
properties:
family: compute
class: cx2
zone: us-south-1
resourceGroup: ${exampleResourceGroup.resourceGroupId}
exampleIsDedicatedHost:
type: ibm:IsDedicatedHost
properties:
profile: bx2d-host-152x608
hostGroup: ${exampleIsDedicatedHostGroup.isDedicatedHostGroupId}
resourceGroup: ${exampleResourceGroup.resourceGroupId}
exampleIsVolume:
type: ibm:IsVolume
properties:
resourceGroup: ${exampleResourceGroup.resourceGroupId}
zone: us-south-2
profile: general-purpose
capacity: 50
# Create a new volume with the volume attachment. This template format can be used with instance groups
exampleIsInstanceTemplate:
type: ibm:IsInstanceTemplate
properties:
image: ${ibm_is_image.example.id}
profile: bx2-8x32
primaryNetworkInterface:
subnet: ${exampleIsSubnet.isSubnetId}
allowIpSpoofing: true
vpc: ${exampleIsVpc.isVpcId}
zone: us-south-2
keys:
- ${exampleIsSshKey.isSshKeyId}
bootVolume:
name: example-boot-volume
deleteVolumeOnInstanceDelete: true
volumeAttachments:
- deleteVolumeOnInstanceDelete: true
name: example-volume-att-01
volumePrototype:
iops: 3000
profile: custom
capacity: 200
# Template with volume attachment that attaches existing storage volume. This template cannot be used with instance groups
example1:
type: ibm:IsInstanceTemplate
properties:
image: ${ibm_is_image.example.id}
profile: bx2-8x32
primaryNetworkInterface:
subnet: ${exampleIsSubnet.isSubnetId}
allowIpSpoofing: true
vpc: ${exampleIsVpc.isVpcId}
zone: us-south-2
keys:
- ${exampleIsSshKey.isSshKeyId}
bootVolume:
name: example-boot-volume
deleteVolumeOnInstanceDelete: true
volumeAttachments:
- deleteVolumeOnInstanceDelete: true
name: example-volume-att
volume: ${exampleIsVolume.isVolumeId}
example3:
type: ibm:IsInstanceTemplate
properties:
image: ${ibm_is_image.example.id}
profile: bx2-8x32
primaryNetworkInterface:
subnet: ${exampleIsSubnet.isSubnetId}
allowIpSpoofing: true
dedicatedHostGroup: ${exampleIsDedicatedHostGroup.isDedicatedHostGroupId}
vpc: ${exampleIsVpc.isVpcId}
zone: us-south-2
keys:
- ${exampleIsSshKey.isSshKeyId}
bootVolume:
name: example-boot-volume
deleteVolumeOnInstanceDelete: true
example4:
type: ibm:IsInstanceTemplate
properties:
image: ${ibm_is_image.example.id}
profile: bx2-8x32
primaryNetworkInterface:
subnet: ${exampleIsSubnet.isSubnetId}
allowIpSpoofing: true
dedicatedHost: ${exampleIsDedicatedHost.isDedicatedHostId}
vpc: ${ibm_is_vpc.vpc2.id}
zone: us-south-2
keys:
- ${exampleIsSshKey.isSshKeyId}
bootVolume:
name: example-boot-volume
deleteVolumeOnInstanceDelete: true
Create IsInstanceTemplate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IsInstanceTemplate(name: string, args: IsInstanceTemplateArgs, opts?: CustomResourceOptions);
@overload
def IsInstanceTemplate(resource_name: str,
args: IsInstanceTemplateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IsInstanceTemplate(resource_name: str,
opts: Optional[ResourceOptions] = None,
keys: Optional[Sequence[str]] = None,
zone: Optional[str] = None,
vpc: Optional[str] = None,
profile: Optional[str] = None,
default_trusted_profile_auto_link: Optional[bool] = None,
network_interfaces: Optional[Sequence[IsInstanceTemplateNetworkInterfaceArgs]] = None,
dedicated_host_group: Optional[str] = None,
availability_policy_host_failure: Optional[str] = None,
default_trusted_profile_target: Optional[str] = None,
enable_secure_boot: Optional[bool] = None,
image: Optional[str] = None,
is_instance_template_id: Optional[str] = None,
confidential_compute_mode: Optional[str] = None,
metadata_service: Optional[IsInstanceTemplateMetadataServiceArgs] = None,
metadata_service_enabled: Optional[bool] = None,
name: Optional[str] = None,
network_attachments: Optional[Sequence[IsInstanceTemplateNetworkAttachmentArgs]] = None,
dedicated_host: Optional[str] = None,
placement_group: Optional[str] = None,
primary_network_attachment: Optional[IsInstanceTemplatePrimaryNetworkAttachmentArgs] = None,
primary_network_interface: Optional[IsInstanceTemplatePrimaryNetworkInterfaceArgs] = None,
cluster_network_attachments: Optional[Sequence[IsInstanceTemplateClusterNetworkAttachmentArgs]] = None,
reservation_affinities: Optional[Sequence[IsInstanceTemplateReservationAffinityArgs]] = None,
resource_group: Optional[str] = None,
total_volume_bandwidth: Optional[float] = None,
user_data: Optional[str] = None,
volume_attachments: Optional[Sequence[IsInstanceTemplateVolumeAttachmentArgs]] = None,
catalog_offering: Optional[IsInstanceTemplateCatalogOfferingArgs] = None,
boot_volume: Optional[IsInstanceTemplateBootVolumeArgs] = None)
func NewIsInstanceTemplate(ctx *Context, name string, args IsInstanceTemplateArgs, opts ...ResourceOption) (*IsInstanceTemplate, error)
public IsInstanceTemplate(string name, IsInstanceTemplateArgs args, CustomResourceOptions? opts = null)
public IsInstanceTemplate(String name, IsInstanceTemplateArgs args)
public IsInstanceTemplate(String name, IsInstanceTemplateArgs args, CustomResourceOptions options)
type: ibm:IsInstanceTemplate
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 IsInstanceTemplateArgs
- 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 IsInstanceTemplateArgs
- 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 IsInstanceTemplateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IsInstanceTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IsInstanceTemplateArgs
- 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 isInstanceTemplateResource = new Ibm.IsInstanceTemplate("isInstanceTemplateResource", new()
{
Keys = new[]
{
"string",
},
Zone = "string",
Vpc = "string",
Profile = "string",
DefaultTrustedProfileAutoLink = false,
NetworkInterfaces = new[]
{
new Ibm.Inputs.IsInstanceTemplateNetworkInterfaceArgs
{
Subnet = "string",
AllowIpSpoofing = false,
Name = "string",
PrimaryIp = new Ibm.Inputs.IsInstanceTemplateNetworkInterfacePrimaryIpArgs
{
Address = "string",
AutoDelete = false,
Name = "string",
ReservedIp = "string",
},
SecurityGroups = new[]
{
"string",
},
},
},
DedicatedHostGroup = "string",
AvailabilityPolicyHostFailure = "string",
DefaultTrustedProfileTarget = "string",
EnableSecureBoot = false,
Image = "string",
IsInstanceTemplateId = "string",
ConfidentialComputeMode = "string",
MetadataService = new Ibm.Inputs.IsInstanceTemplateMetadataServiceArgs
{
Enabled = false,
Protocol = "string",
ResponseHopLimit = 0,
},
Name = "string",
NetworkAttachments = new[]
{
new Ibm.Inputs.IsInstanceTemplateNetworkAttachmentArgs
{
Deleteds = new[]
{
new Ibm.Inputs.IsInstanceTemplateNetworkAttachmentDeletedArgs
{
MoreInfo = "string",
},
},
Href = "string",
Id = "string",
Name = "string",
ResourceType = "string",
VirtualNetworkInterface = new Ibm.Inputs.IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfaceArgs
{
AllowIpSpoofing = false,
AutoDelete = false,
EnableInfrastructureNat = false,
Id = "string",
Ips = new[]
{
new Ibm.Inputs.IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfaceIpArgs
{
Address = "string",
AutoDelete = false,
Deleteds = new[]
{
new Ibm.Inputs.IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfaceIpDeletedArgs
{
MoreInfo = "string",
},
},
Href = "string",
Name = "string",
ReservedIp = "string",
ResourceType = "string",
},
},
Name = "string",
PrimaryIps = new[]
{
new Ibm.Inputs.IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfacePrimaryIpArgs
{
Address = "string",
AutoDelete = false,
Deleteds = new[]
{
new Ibm.Inputs.IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeletedArgs
{
MoreInfo = "string",
},
},
Href = "string",
Name = "string",
ReservedIp = "string",
ResourceType = "string",
},
},
ProtocolStateFilteringMode = "string",
ResourceGroup = "string",
ResourceType = "string",
SecurityGroups = new[]
{
"string",
},
Subnet = "string",
},
},
},
DedicatedHost = "string",
PlacementGroup = "string",
PrimaryNetworkAttachment = new Ibm.Inputs.IsInstanceTemplatePrimaryNetworkAttachmentArgs
{
Deleteds = new[]
{
new Ibm.Inputs.IsInstanceTemplatePrimaryNetworkAttachmentDeletedArgs
{
MoreInfo = "string",
},
},
Href = "string",
Id = "string",
Name = "string",
ResourceType = "string",
VirtualNetworkInterface = new Ibm.Inputs.IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfaceArgs
{
AllowIpSpoofing = false,
AutoDelete = false,
EnableInfrastructureNat = false,
Id = "string",
Ips = new[]
{
new Ibm.Inputs.IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfaceIpArgs
{
Address = "string",
AutoDelete = false,
Deleteds = new[]
{
new Ibm.Inputs.IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfaceIpDeletedArgs
{
MoreInfo = "string",
},
},
Href = "string",
Name = "string",
ReservedIp = "string",
ResourceType = "string",
},
},
Name = "string",
PrimaryIps = new[]
{
new Ibm.Inputs.IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpArgs
{
Address = "string",
AutoDelete = false,
Deleteds = new[]
{
new Ibm.Inputs.IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeletedArgs
{
MoreInfo = "string",
},
},
Href = "string",
Name = "string",
ReservedIp = "string",
ResourceType = "string",
},
},
ProtocolStateFilteringMode = "string",
ResourceGroup = "string",
ResourceType = "string",
SecurityGroups = new[]
{
"string",
},
Subnet = "string",
},
},
PrimaryNetworkInterface = new Ibm.Inputs.IsInstanceTemplatePrimaryNetworkInterfaceArgs
{
Subnet = "string",
AllowIpSpoofing = false,
Name = "string",
PrimaryIp = new Ibm.Inputs.IsInstanceTemplatePrimaryNetworkInterfacePrimaryIpArgs
{
Address = "string",
AutoDelete = false,
Name = "string",
ReservedIp = "string",
},
SecurityGroups = new[]
{
"string",
},
},
ClusterNetworkAttachments = new[]
{
new Ibm.Inputs.IsInstanceTemplateClusterNetworkAttachmentArgs
{
ClusterNetworkInterface = new Ibm.Inputs.IsInstanceTemplateClusterNetworkAttachmentClusterNetworkInterfaceArgs
{
AutoDelete = false,
Href = "string",
Id = "string",
Name = "string",
PrimaryIp = new Ibm.Inputs.IsInstanceTemplateClusterNetworkAttachmentClusterNetworkInterfacePrimaryIpArgs
{
Address = "string",
AutoDelete = false,
Href = "string",
Id = "string",
Name = "string",
},
Subnet = new Ibm.Inputs.IsInstanceTemplateClusterNetworkAttachmentClusterNetworkInterfaceSubnetArgs
{
Href = "string",
Id = "string",
},
},
Name = "string",
},
},
ReservationAffinities = new[]
{
new Ibm.Inputs.IsInstanceTemplateReservationAffinityArgs
{
Policy = "string",
Pools = new[]
{
new Ibm.Inputs.IsInstanceTemplateReservationAffinityPoolArgs
{
Id = "string",
},
},
},
},
ResourceGroup = "string",
TotalVolumeBandwidth = 0,
UserData = "string",
VolumeAttachments = new[]
{
new Ibm.Inputs.IsInstanceTemplateVolumeAttachmentArgs
{
DeleteVolumeOnInstanceDelete = false,
Name = "string",
Volume = "string",
VolumePrototype = new Ibm.Inputs.IsInstanceTemplateVolumeAttachmentVolumePrototypeArgs
{
Capacity = 0,
Profile = "string",
Bandwidth = 0,
EncryptionKey = "string",
Iops = 0,
Tags = new[]
{
"string",
},
},
},
},
CatalogOffering = new Ibm.Inputs.IsInstanceTemplateCatalogOfferingArgs
{
Deleteds = new[]
{
new Ibm.Inputs.IsInstanceTemplateCatalogOfferingDeletedArgs
{
MoreInfo = "string",
},
},
OfferingCrn = "string",
PlanCrn = "string",
VersionCrn = "string",
},
BootVolume = new Ibm.Inputs.IsInstanceTemplateBootVolumeArgs
{
Bandwidth = 0,
DeleteVolumeOnInstanceDelete = false,
Encryption = "string",
Name = "string",
Profile = "string",
Size = 0,
Tags = new[]
{
"string",
},
},
});
example, err := ibm.NewIsInstanceTemplate(ctx, "isInstanceTemplateResource", &ibm.IsInstanceTemplateArgs{
Keys: pulumi.StringArray{
pulumi.String("string"),
},
Zone: pulumi.String("string"),
Vpc: pulumi.String("string"),
Profile: pulumi.String("string"),
DefaultTrustedProfileAutoLink: pulumi.Bool(false),
NetworkInterfaces: ibm.IsInstanceTemplateNetworkInterfaceArray{
&ibm.IsInstanceTemplateNetworkInterfaceArgs{
Subnet: pulumi.String("string"),
AllowIpSpoofing: pulumi.Bool(false),
Name: pulumi.String("string"),
PrimaryIp: &ibm.IsInstanceTemplateNetworkInterfacePrimaryIpArgs{
Address: pulumi.String("string"),
AutoDelete: pulumi.Bool(false),
Name: pulumi.String("string"),
ReservedIp: pulumi.String("string"),
},
SecurityGroups: pulumi.StringArray{
pulumi.String("string"),
},
},
},
DedicatedHostGroup: pulumi.String("string"),
AvailabilityPolicyHostFailure: pulumi.String("string"),
DefaultTrustedProfileTarget: pulumi.String("string"),
EnableSecureBoot: pulumi.Bool(false),
Image: pulumi.String("string"),
IsInstanceTemplateId: pulumi.String("string"),
ConfidentialComputeMode: pulumi.String("string"),
MetadataService: &ibm.IsInstanceTemplateMetadataServiceArgs{
Enabled: pulumi.Bool(false),
Protocol: pulumi.String("string"),
ResponseHopLimit: pulumi.Float64(0),
},
Name: pulumi.String("string"),
NetworkAttachments: ibm.IsInstanceTemplateNetworkAttachmentArray{
&ibm.IsInstanceTemplateNetworkAttachmentArgs{
Deleteds: ibm.IsInstanceTemplateNetworkAttachmentDeletedArray{
&ibm.IsInstanceTemplateNetworkAttachmentDeletedArgs{
MoreInfo: pulumi.String("string"),
},
},
Href: pulumi.String("string"),
Id: pulumi.String("string"),
Name: pulumi.String("string"),
ResourceType: pulumi.String("string"),
VirtualNetworkInterface: &ibm.IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfaceArgs{
AllowIpSpoofing: pulumi.Bool(false),
AutoDelete: pulumi.Bool(false),
EnableInfrastructureNat: pulumi.Bool(false),
Id: pulumi.String("string"),
Ips: ibm.IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfaceIpArray{
&ibm.IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfaceIpArgs{
Address: pulumi.String("string"),
AutoDelete: pulumi.Bool(false),
Deleteds: ibm.IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfaceIpDeletedArray{
&ibm.IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfaceIpDeletedArgs{
MoreInfo: pulumi.String("string"),
},
},
Href: pulumi.String("string"),
Name: pulumi.String("string"),
ReservedIp: pulumi.String("string"),
ResourceType: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
PrimaryIps: ibm.IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfacePrimaryIpArray{
&ibm.IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfacePrimaryIpArgs{
Address: pulumi.String("string"),
AutoDelete: pulumi.Bool(false),
Deleteds: ibm.IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeletedArray{
&ibm.IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeletedArgs{
MoreInfo: pulumi.String("string"),
},
},
Href: pulumi.String("string"),
Name: pulumi.String("string"),
ReservedIp: pulumi.String("string"),
ResourceType: pulumi.String("string"),
},
},
ProtocolStateFilteringMode: pulumi.String("string"),
ResourceGroup: pulumi.String("string"),
ResourceType: pulumi.String("string"),
SecurityGroups: pulumi.StringArray{
pulumi.String("string"),
},
Subnet: pulumi.String("string"),
},
},
},
DedicatedHost: pulumi.String("string"),
PlacementGroup: pulumi.String("string"),
PrimaryNetworkAttachment: &ibm.IsInstanceTemplatePrimaryNetworkAttachmentArgs{
Deleteds: ibm.IsInstanceTemplatePrimaryNetworkAttachmentDeletedArray{
&ibm.IsInstanceTemplatePrimaryNetworkAttachmentDeletedArgs{
MoreInfo: pulumi.String("string"),
},
},
Href: pulumi.String("string"),
Id: pulumi.String("string"),
Name: pulumi.String("string"),
ResourceType: pulumi.String("string"),
VirtualNetworkInterface: &ibm.IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfaceArgs{
AllowIpSpoofing: pulumi.Bool(false),
AutoDelete: pulumi.Bool(false),
EnableInfrastructureNat: pulumi.Bool(false),
Id: pulumi.String("string"),
Ips: ibm.IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfaceIpArray{
&ibm.IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfaceIpArgs{
Address: pulumi.String("string"),
AutoDelete: pulumi.Bool(false),
Deleteds: ibm.IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfaceIpDeletedArray{
&ibm.IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfaceIpDeletedArgs{
MoreInfo: pulumi.String("string"),
},
},
Href: pulumi.String("string"),
Name: pulumi.String("string"),
ReservedIp: pulumi.String("string"),
ResourceType: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
PrimaryIps: ibm.IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpArray{
&ibm.IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpArgs{
Address: pulumi.String("string"),
AutoDelete: pulumi.Bool(false),
Deleteds: ibm.IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeletedArray{
&ibm.IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeletedArgs{
MoreInfo: pulumi.String("string"),
},
},
Href: pulumi.String("string"),
Name: pulumi.String("string"),
ReservedIp: pulumi.String("string"),
ResourceType: pulumi.String("string"),
},
},
ProtocolStateFilteringMode: pulumi.String("string"),
ResourceGroup: pulumi.String("string"),
ResourceType: pulumi.String("string"),
SecurityGroups: pulumi.StringArray{
pulumi.String("string"),
},
Subnet: pulumi.String("string"),
},
},
PrimaryNetworkInterface: &ibm.IsInstanceTemplatePrimaryNetworkInterfaceArgs{
Subnet: pulumi.String("string"),
AllowIpSpoofing: pulumi.Bool(false),
Name: pulumi.String("string"),
PrimaryIp: &ibm.IsInstanceTemplatePrimaryNetworkInterfacePrimaryIpArgs{
Address: pulumi.String("string"),
AutoDelete: pulumi.Bool(false),
Name: pulumi.String("string"),
ReservedIp: pulumi.String("string"),
},
SecurityGroups: pulumi.StringArray{
pulumi.String("string"),
},
},
ClusterNetworkAttachments: ibm.IsInstanceTemplateClusterNetworkAttachmentArray{
&ibm.IsInstanceTemplateClusterNetworkAttachmentArgs{
ClusterNetworkInterface: &ibm.IsInstanceTemplateClusterNetworkAttachmentClusterNetworkInterfaceArgs{
AutoDelete: pulumi.Bool(false),
Href: pulumi.String("string"),
Id: pulumi.String("string"),
Name: pulumi.String("string"),
PrimaryIp: &ibm.IsInstanceTemplateClusterNetworkAttachmentClusterNetworkInterfacePrimaryIpArgs{
Address: pulumi.String("string"),
AutoDelete: pulumi.Bool(false),
Href: pulumi.String("string"),
Id: pulumi.String("string"),
Name: pulumi.String("string"),
},
Subnet: &ibm.IsInstanceTemplateClusterNetworkAttachmentClusterNetworkInterfaceSubnetArgs{
Href: pulumi.String("string"),
Id: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
},
},
ReservationAffinities: ibm.IsInstanceTemplateReservationAffinityArray{
&ibm.IsInstanceTemplateReservationAffinityArgs{
Policy: pulumi.String("string"),
Pools: ibm.IsInstanceTemplateReservationAffinityPoolArray{
&ibm.IsInstanceTemplateReservationAffinityPoolArgs{
Id: pulumi.String("string"),
},
},
},
},
ResourceGroup: pulumi.String("string"),
TotalVolumeBandwidth: pulumi.Float64(0),
UserData: pulumi.String("string"),
VolumeAttachments: ibm.IsInstanceTemplateVolumeAttachmentArray{
&ibm.IsInstanceTemplateVolumeAttachmentArgs{
DeleteVolumeOnInstanceDelete: pulumi.Bool(false),
Name: pulumi.String("string"),
Volume: pulumi.String("string"),
VolumePrototype: &ibm.IsInstanceTemplateVolumeAttachmentVolumePrototypeArgs{
Capacity: pulumi.Float64(0),
Profile: pulumi.String("string"),
Bandwidth: pulumi.Float64(0),
EncryptionKey: pulumi.String("string"),
Iops: pulumi.Float64(0),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
CatalogOffering: &ibm.IsInstanceTemplateCatalogOfferingArgs{
Deleteds: ibm.IsInstanceTemplateCatalogOfferingDeletedArray{
&ibm.IsInstanceTemplateCatalogOfferingDeletedArgs{
MoreInfo: pulumi.String("string"),
},
},
OfferingCrn: pulumi.String("string"),
PlanCrn: pulumi.String("string"),
VersionCrn: pulumi.String("string"),
},
BootVolume: &ibm.IsInstanceTemplateBootVolumeArgs{
Bandwidth: pulumi.Float64(0),
DeleteVolumeOnInstanceDelete: pulumi.Bool(false),
Encryption: pulumi.String("string"),
Name: pulumi.String("string"),
Profile: pulumi.String("string"),
Size: pulumi.Float64(0),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
},
})
var isInstanceTemplateResource = new IsInstanceTemplate("isInstanceTemplateResource", IsInstanceTemplateArgs.builder()
.keys("string")
.zone("string")
.vpc("string")
.profile("string")
.defaultTrustedProfileAutoLink(false)
.networkInterfaces(IsInstanceTemplateNetworkInterfaceArgs.builder()
.subnet("string")
.allowIpSpoofing(false)
.name("string")
.primaryIp(IsInstanceTemplateNetworkInterfacePrimaryIpArgs.builder()
.address("string")
.autoDelete(false)
.name("string")
.reservedIp("string")
.build())
.securityGroups("string")
.build())
.dedicatedHostGroup("string")
.availabilityPolicyHostFailure("string")
.defaultTrustedProfileTarget("string")
.enableSecureBoot(false)
.image("string")
.isInstanceTemplateId("string")
.confidentialComputeMode("string")
.metadataService(IsInstanceTemplateMetadataServiceArgs.builder()
.enabled(false)
.protocol("string")
.responseHopLimit(0)
.build())
.name("string")
.networkAttachments(IsInstanceTemplateNetworkAttachmentArgs.builder()
.deleteds(IsInstanceTemplateNetworkAttachmentDeletedArgs.builder()
.moreInfo("string")
.build())
.href("string")
.id("string")
.name("string")
.resourceType("string")
.virtualNetworkInterface(IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfaceArgs.builder()
.allowIpSpoofing(false)
.autoDelete(false)
.enableInfrastructureNat(false)
.id("string")
.ips(IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfaceIpArgs.builder()
.address("string")
.autoDelete(false)
.deleteds(IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfaceIpDeletedArgs.builder()
.moreInfo("string")
.build())
.href("string")
.name("string")
.reservedIp("string")
.resourceType("string")
.build())
.name("string")
.primaryIps(IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfacePrimaryIpArgs.builder()
.address("string")
.autoDelete(false)
.deleteds(IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeletedArgs.builder()
.moreInfo("string")
.build())
.href("string")
.name("string")
.reservedIp("string")
.resourceType("string")
.build())
.protocolStateFilteringMode("string")
.resourceGroup("string")
.resourceType("string")
.securityGroups("string")
.subnet("string")
.build())
.build())
.dedicatedHost("string")
.placementGroup("string")
.primaryNetworkAttachment(IsInstanceTemplatePrimaryNetworkAttachmentArgs.builder()
.deleteds(IsInstanceTemplatePrimaryNetworkAttachmentDeletedArgs.builder()
.moreInfo("string")
.build())
.href("string")
.id("string")
.name("string")
.resourceType("string")
.virtualNetworkInterface(IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfaceArgs.builder()
.allowIpSpoofing(false)
.autoDelete(false)
.enableInfrastructureNat(false)
.id("string")
.ips(IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfaceIpArgs.builder()
.address("string")
.autoDelete(false)
.deleteds(IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfaceIpDeletedArgs.builder()
.moreInfo("string")
.build())
.href("string")
.name("string")
.reservedIp("string")
.resourceType("string")
.build())
.name("string")
.primaryIps(IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpArgs.builder()
.address("string")
.autoDelete(false)
.deleteds(IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeletedArgs.builder()
.moreInfo("string")
.build())
.href("string")
.name("string")
.reservedIp("string")
.resourceType("string")
.build())
.protocolStateFilteringMode("string")
.resourceGroup("string")
.resourceType("string")
.securityGroups("string")
.subnet("string")
.build())
.build())
.primaryNetworkInterface(IsInstanceTemplatePrimaryNetworkInterfaceArgs.builder()
.subnet("string")
.allowIpSpoofing(false)
.name("string")
.primaryIp(IsInstanceTemplatePrimaryNetworkInterfacePrimaryIpArgs.builder()
.address("string")
.autoDelete(false)
.name("string")
.reservedIp("string")
.build())
.securityGroups("string")
.build())
.clusterNetworkAttachments(IsInstanceTemplateClusterNetworkAttachmentArgs.builder()
.clusterNetworkInterface(IsInstanceTemplateClusterNetworkAttachmentClusterNetworkInterfaceArgs.builder()
.autoDelete(false)
.href("string")
.id("string")
.name("string")
.primaryIp(IsInstanceTemplateClusterNetworkAttachmentClusterNetworkInterfacePrimaryIpArgs.builder()
.address("string")
.autoDelete(false)
.href("string")
.id("string")
.name("string")
.build())
.subnet(IsInstanceTemplateClusterNetworkAttachmentClusterNetworkInterfaceSubnetArgs.builder()
.href("string")
.id("string")
.build())
.build())
.name("string")
.build())
.reservationAffinities(IsInstanceTemplateReservationAffinityArgs.builder()
.policy("string")
.pools(IsInstanceTemplateReservationAffinityPoolArgs.builder()
.id("string")
.build())
.build())
.resourceGroup("string")
.totalVolumeBandwidth(0)
.userData("string")
.volumeAttachments(IsInstanceTemplateVolumeAttachmentArgs.builder()
.deleteVolumeOnInstanceDelete(false)
.name("string")
.volume("string")
.volumePrototype(IsInstanceTemplateVolumeAttachmentVolumePrototypeArgs.builder()
.capacity(0)
.profile("string")
.bandwidth(0)
.encryptionKey("string")
.iops(0)
.tags("string")
.build())
.build())
.catalogOffering(IsInstanceTemplateCatalogOfferingArgs.builder()
.deleteds(IsInstanceTemplateCatalogOfferingDeletedArgs.builder()
.moreInfo("string")
.build())
.offeringCrn("string")
.planCrn("string")
.versionCrn("string")
.build())
.bootVolume(IsInstanceTemplateBootVolumeArgs.builder()
.bandwidth(0)
.deleteVolumeOnInstanceDelete(false)
.encryption("string")
.name("string")
.profile("string")
.size(0)
.tags("string")
.build())
.build());
is_instance_template_resource = ibm.IsInstanceTemplate("isInstanceTemplateResource",
keys=["string"],
zone="string",
vpc="string",
profile="string",
default_trusted_profile_auto_link=False,
network_interfaces=[{
"subnet": "string",
"allow_ip_spoofing": False,
"name": "string",
"primary_ip": {
"address": "string",
"auto_delete": False,
"name": "string",
"reserved_ip": "string",
},
"security_groups": ["string"],
}],
dedicated_host_group="string",
availability_policy_host_failure="string",
default_trusted_profile_target="string",
enable_secure_boot=False,
image="string",
is_instance_template_id="string",
confidential_compute_mode="string",
metadata_service={
"enabled": False,
"protocol": "string",
"response_hop_limit": 0,
},
name="string",
network_attachments=[{
"deleteds": [{
"more_info": "string",
}],
"href": "string",
"id": "string",
"name": "string",
"resource_type": "string",
"virtual_network_interface": {
"allow_ip_spoofing": False,
"auto_delete": False,
"enable_infrastructure_nat": False,
"id": "string",
"ips": [{
"address": "string",
"auto_delete": False,
"deleteds": [{
"more_info": "string",
}],
"href": "string",
"name": "string",
"reserved_ip": "string",
"resource_type": "string",
}],
"name": "string",
"primary_ips": [{
"address": "string",
"auto_delete": False,
"deleteds": [{
"more_info": "string",
}],
"href": "string",
"name": "string",
"reserved_ip": "string",
"resource_type": "string",
}],
"protocol_state_filtering_mode": "string",
"resource_group": "string",
"resource_type": "string",
"security_groups": ["string"],
"subnet": "string",
},
}],
dedicated_host="string",
placement_group="string",
primary_network_attachment={
"deleteds": [{
"more_info": "string",
}],
"href": "string",
"id": "string",
"name": "string",
"resource_type": "string",
"virtual_network_interface": {
"allow_ip_spoofing": False,
"auto_delete": False,
"enable_infrastructure_nat": False,
"id": "string",
"ips": [{
"address": "string",
"auto_delete": False,
"deleteds": [{
"more_info": "string",
}],
"href": "string",
"name": "string",
"reserved_ip": "string",
"resource_type": "string",
}],
"name": "string",
"primary_ips": [{
"address": "string",
"auto_delete": False,
"deleteds": [{
"more_info": "string",
}],
"href": "string",
"name": "string",
"reserved_ip": "string",
"resource_type": "string",
}],
"protocol_state_filtering_mode": "string",
"resource_group": "string",
"resource_type": "string",
"security_groups": ["string"],
"subnet": "string",
},
},
primary_network_interface={
"subnet": "string",
"allow_ip_spoofing": False,
"name": "string",
"primary_ip": {
"address": "string",
"auto_delete": False,
"name": "string",
"reserved_ip": "string",
},
"security_groups": ["string"],
},
cluster_network_attachments=[{
"cluster_network_interface": {
"auto_delete": False,
"href": "string",
"id": "string",
"name": "string",
"primary_ip": {
"address": "string",
"auto_delete": False,
"href": "string",
"id": "string",
"name": "string",
},
"subnet": {
"href": "string",
"id": "string",
},
},
"name": "string",
}],
reservation_affinities=[{
"policy": "string",
"pools": [{
"id": "string",
}],
}],
resource_group="string",
total_volume_bandwidth=0,
user_data="string",
volume_attachments=[{
"delete_volume_on_instance_delete": False,
"name": "string",
"volume": "string",
"volume_prototype": {
"capacity": 0,
"profile": "string",
"bandwidth": 0,
"encryption_key": "string",
"iops": 0,
"tags": ["string"],
},
}],
catalog_offering={
"deleteds": [{
"more_info": "string",
}],
"offering_crn": "string",
"plan_crn": "string",
"version_crn": "string",
},
boot_volume={
"bandwidth": 0,
"delete_volume_on_instance_delete": False,
"encryption": "string",
"name": "string",
"profile": "string",
"size": 0,
"tags": ["string"],
})
const isInstanceTemplateResource = new ibm.IsInstanceTemplate("isInstanceTemplateResource", {
keys: ["string"],
zone: "string",
vpc: "string",
profile: "string",
defaultTrustedProfileAutoLink: false,
networkInterfaces: [{
subnet: "string",
allowIpSpoofing: false,
name: "string",
primaryIp: {
address: "string",
autoDelete: false,
name: "string",
reservedIp: "string",
},
securityGroups: ["string"],
}],
dedicatedHostGroup: "string",
availabilityPolicyHostFailure: "string",
defaultTrustedProfileTarget: "string",
enableSecureBoot: false,
image: "string",
isInstanceTemplateId: "string",
confidentialComputeMode: "string",
metadataService: {
enabled: false,
protocol: "string",
responseHopLimit: 0,
},
name: "string",
networkAttachments: [{
deleteds: [{
moreInfo: "string",
}],
href: "string",
id: "string",
name: "string",
resourceType: "string",
virtualNetworkInterface: {
allowIpSpoofing: false,
autoDelete: false,
enableInfrastructureNat: false,
id: "string",
ips: [{
address: "string",
autoDelete: false,
deleteds: [{
moreInfo: "string",
}],
href: "string",
name: "string",
reservedIp: "string",
resourceType: "string",
}],
name: "string",
primaryIps: [{
address: "string",
autoDelete: false,
deleteds: [{
moreInfo: "string",
}],
href: "string",
name: "string",
reservedIp: "string",
resourceType: "string",
}],
protocolStateFilteringMode: "string",
resourceGroup: "string",
resourceType: "string",
securityGroups: ["string"],
subnet: "string",
},
}],
dedicatedHost: "string",
placementGroup: "string",
primaryNetworkAttachment: {
deleteds: [{
moreInfo: "string",
}],
href: "string",
id: "string",
name: "string",
resourceType: "string",
virtualNetworkInterface: {
allowIpSpoofing: false,
autoDelete: false,
enableInfrastructureNat: false,
id: "string",
ips: [{
address: "string",
autoDelete: false,
deleteds: [{
moreInfo: "string",
}],
href: "string",
name: "string",
reservedIp: "string",
resourceType: "string",
}],
name: "string",
primaryIps: [{
address: "string",
autoDelete: false,
deleteds: [{
moreInfo: "string",
}],
href: "string",
name: "string",
reservedIp: "string",
resourceType: "string",
}],
protocolStateFilteringMode: "string",
resourceGroup: "string",
resourceType: "string",
securityGroups: ["string"],
subnet: "string",
},
},
primaryNetworkInterface: {
subnet: "string",
allowIpSpoofing: false,
name: "string",
primaryIp: {
address: "string",
autoDelete: false,
name: "string",
reservedIp: "string",
},
securityGroups: ["string"],
},
clusterNetworkAttachments: [{
clusterNetworkInterface: {
autoDelete: false,
href: "string",
id: "string",
name: "string",
primaryIp: {
address: "string",
autoDelete: false,
href: "string",
id: "string",
name: "string",
},
subnet: {
href: "string",
id: "string",
},
},
name: "string",
}],
reservationAffinities: [{
policy: "string",
pools: [{
id: "string",
}],
}],
resourceGroup: "string",
totalVolumeBandwidth: 0,
userData: "string",
volumeAttachments: [{
deleteVolumeOnInstanceDelete: false,
name: "string",
volume: "string",
volumePrototype: {
capacity: 0,
profile: "string",
bandwidth: 0,
encryptionKey: "string",
iops: 0,
tags: ["string"],
},
}],
catalogOffering: {
deleteds: [{
moreInfo: "string",
}],
offeringCrn: "string",
planCrn: "string",
versionCrn: "string",
},
bootVolume: {
bandwidth: 0,
deleteVolumeOnInstanceDelete: false,
encryption: "string",
name: "string",
profile: "string",
size: 0,
tags: ["string"],
},
});
type: ibm:IsInstanceTemplate
properties:
availabilityPolicyHostFailure: string
bootVolume:
bandwidth: 0
deleteVolumeOnInstanceDelete: false
encryption: string
name: string
profile: string
size: 0
tags:
- string
catalogOffering:
deleteds:
- moreInfo: string
offeringCrn: string
planCrn: string
versionCrn: string
clusterNetworkAttachments:
- clusterNetworkInterface:
autoDelete: false
href: string
id: string
name: string
primaryIp:
address: string
autoDelete: false
href: string
id: string
name: string
subnet:
href: string
id: string
name: string
confidentialComputeMode: string
dedicatedHost: string
dedicatedHostGroup: string
defaultTrustedProfileAutoLink: false
defaultTrustedProfileTarget: string
enableSecureBoot: false
image: string
isInstanceTemplateId: string
keys:
- string
metadataService:
enabled: false
protocol: string
responseHopLimit: 0
name: string
networkAttachments:
- deleteds:
- moreInfo: string
href: string
id: string
name: string
resourceType: string
virtualNetworkInterface:
allowIpSpoofing: false
autoDelete: false
enableInfrastructureNat: false
id: string
ips:
- address: string
autoDelete: false
deleteds:
- moreInfo: string
href: string
name: string
reservedIp: string
resourceType: string
name: string
primaryIps:
- address: string
autoDelete: false
deleteds:
- moreInfo: string
href: string
name: string
reservedIp: string
resourceType: string
protocolStateFilteringMode: string
resourceGroup: string
resourceType: string
securityGroups:
- string
subnet: string
networkInterfaces:
- allowIpSpoofing: false
name: string
primaryIp:
address: string
autoDelete: false
name: string
reservedIp: string
securityGroups:
- string
subnet: string
placementGroup: string
primaryNetworkAttachment:
deleteds:
- moreInfo: string
href: string
id: string
name: string
resourceType: string
virtualNetworkInterface:
allowIpSpoofing: false
autoDelete: false
enableInfrastructureNat: false
id: string
ips:
- address: string
autoDelete: false
deleteds:
- moreInfo: string
href: string
name: string
reservedIp: string
resourceType: string
name: string
primaryIps:
- address: string
autoDelete: false
deleteds:
- moreInfo: string
href: string
name: string
reservedIp: string
resourceType: string
protocolStateFilteringMode: string
resourceGroup: string
resourceType: string
securityGroups:
- string
subnet: string
primaryNetworkInterface:
allowIpSpoofing: false
name: string
primaryIp:
address: string
autoDelete: false
name: string
reservedIp: string
securityGroups:
- string
subnet: string
profile: string
reservationAffinities:
- policy: string
pools:
- id: string
resourceGroup: string
totalVolumeBandwidth: 0
userData: string
volumeAttachments:
- deleteVolumeOnInstanceDelete: false
name: string
volume: string
volumePrototype:
bandwidth: 0
capacity: 0
encryptionKey: string
iops: 0
profile: string
tags:
- string
vpc: string
zone: string
IsInstanceTemplate 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 IsInstanceTemplate resource accepts the following input properties:
- Keys List<string>
- List of SSH key IDs used to allow log in user to the instances.
- Profile string
- The number of instances created in the instance group.
- Vpc string
- The VPC ID that the instance templates needs to be created.
- Zone string
- The name of the zone.
- Availability
Policy stringHost Failure - The availability policy to use for this virtual server instance. The action to perform if the compute host experiences a failure. Supported values are
restart
andstop
. - Boot
Volume IsInstance Template Boot Volume A nested block describes the boot volume configuration for the template.
Nested scheme for
boot_volume
:- Catalog
Offering IsInstance Template Catalog Offering The catalog offering or offering version to use when provisioning this virtual server instance. If an offering is specified, the latest version of that offering will be used. The specified offering or offering version may be in a different account in the same enterprise, subject to IAM policies.
Note:
catalog_offering
conflicts withimage
Nested scheme for
catalog_offering
:- Cluster
Network List<IsAttachments Instance Template Cluster Network Attachment> The cluster network attachments to create for this virtual server instance. A cluster network attachment represents a device that is connected to a cluster network. The number of network attachments must match one of the values from the instance profile's
cluster_network_attachment_count
before the instance can be started. About cluster networksNested schema for cluster_network_attachments:
- Confidential
Compute stringMode The confidential compute mode to use for this virtual server instance.If unspecified, the default confidential compute mode from the profile will be used. Constraints: Allowable values are:
disabled
,sgx
,tdx
{Select Availability}~>Note: The confidential_compute_mode is
Select Availability
feature. Confidential computing with Intel SGX for VPC is available only in the US-South (Dallas) region.- Dedicated
Host string The placement restrictions to use for the virtual server instance. Unique Identifier of the dedicated host where the instance is placed.
~>Note: only one of [dedicated_host, dedicated_host_group, placement_group] can be used
- Dedicated
Host stringGroup The placement restrictions to use for the virtual server instance. Unique Identifier of the dedicated host group where the instance is placed.
~>Note: only one of [dedicated_host, dedicated_host_group, placement_group] can be used
- Default
Trusted boolProfile Auto Link - If set to
true
, the system will create a link to the specifiedtarget
trusted profile during instance creation. Regardless of whether a link is created by the system or manually using the IAM Identity service, it will be automatically deleted when the instance is deleted. Default value : true - Default
Trusted stringProfile Target - The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance.
- Enable
Secure boolBoot Indicates whether secure boot is enabled for this virtual server instance. If unspecified, the default secure boot mode from the profile will be used. {Select Availability}
~>Note: The enable_secure_boot is
Select Availability
feature.- Image string
The ID of the image to create the template. Conflicts when using
catalog_offering
Note:
image
conflicts withcatalog_offering
- Is
Instance stringTemplate Id - (String) The URL for this placement target.
- Metadata
Service IsInstance Template Metadata Service The metadata service configuration.
Nested scheme for
metadata_service
:- Metadata
Service boolEnabled Indicates whether the metadata service endpoint is available to the virtual server instance. Default value : false
NOTE
metadata_service_enabled
is deprecated and will be removed in the future. Usemetadata_service
instead- Name string
- The name of the instance template.
- Network
Attachments List<IsInstance Template Network Attachment> - The network attachments for this virtual server instance, including the primary network attachment.
- Network
Interfaces List<IsInstance Template Network Interface> A nested block describes the network interfaces for the template.
Nested scheme for
network_interfaces
:- Placement
Group string The placement restrictions to use for the virtual server instance. Unique Identifier of the placement group where the instance is placed.
~>Note: only one of [dedicated_host, dedicated_host_group, placement_group] can be used
- Primary
Network IsAttachment Instance Template Primary Network Attachment - The primary network attachment for this virtual server instance. Nested schema for primary_network_attachment:
- Primary
Network IsInterface Instance Template Primary Network Interface - Primary Network interface info
- Reservation
Affinities List<IsInstance Template Reservation Affinity> - The reservation affinity for the instance
Nested scheme for
reservation_affinity
: - Resource
Group string - The resource group ID.
- Total
Volume doubleBandwidth - The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes
- User
Data string - The user data provided for the instance.
- Volume
Attachments List<IsInstance Template Volume Attachment> A nested block describes the storage volume configuration for the template.
Nested scheme for
volume_attachments
:
- Keys []string
- List of SSH key IDs used to allow log in user to the instances.
- Profile string
- The number of instances created in the instance group.
- Vpc string
- The VPC ID that the instance templates needs to be created.
- Zone string
- The name of the zone.
- Availability
Policy stringHost Failure - The availability policy to use for this virtual server instance. The action to perform if the compute host experiences a failure. Supported values are
restart
andstop
. - Boot
Volume IsInstance Template Boot Volume Args A nested block describes the boot volume configuration for the template.
Nested scheme for
boot_volume
:- Catalog
Offering IsInstance Template Catalog Offering Args The catalog offering or offering version to use when provisioning this virtual server instance. If an offering is specified, the latest version of that offering will be used. The specified offering or offering version may be in a different account in the same enterprise, subject to IAM policies.
Note:
catalog_offering
conflicts withimage
Nested scheme for
catalog_offering
:- Cluster
Network []IsAttachments Instance Template Cluster Network Attachment Args The cluster network attachments to create for this virtual server instance. A cluster network attachment represents a device that is connected to a cluster network. The number of network attachments must match one of the values from the instance profile's
cluster_network_attachment_count
before the instance can be started. About cluster networksNested schema for cluster_network_attachments:
- Confidential
Compute stringMode The confidential compute mode to use for this virtual server instance.If unspecified, the default confidential compute mode from the profile will be used. Constraints: Allowable values are:
disabled
,sgx
,tdx
{Select Availability}~>Note: The confidential_compute_mode is
Select Availability
feature. Confidential computing with Intel SGX for VPC is available only in the US-South (Dallas) region.- Dedicated
Host string The placement restrictions to use for the virtual server instance. Unique Identifier of the dedicated host where the instance is placed.
~>Note: only one of [dedicated_host, dedicated_host_group, placement_group] can be used
- Dedicated
Host stringGroup The placement restrictions to use for the virtual server instance. Unique Identifier of the dedicated host group where the instance is placed.
~>Note: only one of [dedicated_host, dedicated_host_group, placement_group] can be used
- Default
Trusted boolProfile Auto Link - If set to
true
, the system will create a link to the specifiedtarget
trusted profile during instance creation. Regardless of whether a link is created by the system or manually using the IAM Identity service, it will be automatically deleted when the instance is deleted. Default value : true - Default
Trusted stringProfile Target - The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance.
- Enable
Secure boolBoot Indicates whether secure boot is enabled for this virtual server instance. If unspecified, the default secure boot mode from the profile will be used. {Select Availability}
~>Note: The enable_secure_boot is
Select Availability
feature.- Image string
The ID of the image to create the template. Conflicts when using
catalog_offering
Note:
image
conflicts withcatalog_offering
- Is
Instance stringTemplate Id - (String) The URL for this placement target.
- Metadata
Service IsInstance Template Metadata Service Args The metadata service configuration.
Nested scheme for
metadata_service
:- Metadata
Service boolEnabled Indicates whether the metadata service endpoint is available to the virtual server instance. Default value : false
NOTE
metadata_service_enabled
is deprecated and will be removed in the future. Usemetadata_service
instead- Name string
- The name of the instance template.
- Network
Attachments []IsInstance Template Network Attachment Args - The network attachments for this virtual server instance, including the primary network attachment.
- Network
Interfaces []IsInstance Template Network Interface Args A nested block describes the network interfaces for the template.
Nested scheme for
network_interfaces
:- Placement
Group string The placement restrictions to use for the virtual server instance. Unique Identifier of the placement group where the instance is placed.
~>Note: only one of [dedicated_host, dedicated_host_group, placement_group] can be used
- Primary
Network IsAttachment Instance Template Primary Network Attachment Args - The primary network attachment for this virtual server instance. Nested schema for primary_network_attachment:
- Primary
Network IsInterface Instance Template Primary Network Interface Args - Primary Network interface info
- Reservation
Affinities []IsInstance Template Reservation Affinity Args - The reservation affinity for the instance
Nested scheme for
reservation_affinity
: - Resource
Group string - The resource group ID.
- Total
Volume float64Bandwidth - The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes
- User
Data string - The user data provided for the instance.
- Volume
Attachments []IsInstance Template Volume Attachment Args A nested block describes the storage volume configuration for the template.
Nested scheme for
volume_attachments
:
- keys List<String>
- List of SSH key IDs used to allow log in user to the instances.
- profile String
- The number of instances created in the instance group.
- vpc String
- The VPC ID that the instance templates needs to be created.
- zone String
- The name of the zone.
- availability
Policy StringHost Failure - The availability policy to use for this virtual server instance. The action to perform if the compute host experiences a failure. Supported values are
restart
andstop
. - boot
Volume IsInstance Template Boot Volume A nested block describes the boot volume configuration for the template.
Nested scheme for
boot_volume
:- catalog
Offering IsInstance Template Catalog Offering The catalog offering or offering version to use when provisioning this virtual server instance. If an offering is specified, the latest version of that offering will be used. The specified offering or offering version may be in a different account in the same enterprise, subject to IAM policies.
Note:
catalog_offering
conflicts withimage
Nested scheme for
catalog_offering
:- cluster
Network List<IsAttachments Instance Template Cluster Network Attachment> The cluster network attachments to create for this virtual server instance. A cluster network attachment represents a device that is connected to a cluster network. The number of network attachments must match one of the values from the instance profile's
cluster_network_attachment_count
before the instance can be started. About cluster networksNested schema for cluster_network_attachments:
- confidential
Compute StringMode The confidential compute mode to use for this virtual server instance.If unspecified, the default confidential compute mode from the profile will be used. Constraints: Allowable values are:
disabled
,sgx
,tdx
{Select Availability}~>Note: The confidential_compute_mode is
Select Availability
feature. Confidential computing with Intel SGX for VPC is available only in the US-South (Dallas) region.- dedicated
Host String The placement restrictions to use for the virtual server instance. Unique Identifier of the dedicated host where the instance is placed.
~>Note: only one of [dedicated_host, dedicated_host_group, placement_group] can be used
- dedicated
Host StringGroup The placement restrictions to use for the virtual server instance. Unique Identifier of the dedicated host group where the instance is placed.
~>Note: only one of [dedicated_host, dedicated_host_group, placement_group] can be used
- default
Trusted BooleanProfile Auto Link - If set to
true
, the system will create a link to the specifiedtarget
trusted profile during instance creation. Regardless of whether a link is created by the system or manually using the IAM Identity service, it will be automatically deleted when the instance is deleted. Default value : true - default
Trusted StringProfile Target - The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance.
- enable
Secure BooleanBoot Indicates whether secure boot is enabled for this virtual server instance. If unspecified, the default secure boot mode from the profile will be used. {Select Availability}
~>Note: The enable_secure_boot is
Select Availability
feature.- image String
The ID of the image to create the template. Conflicts when using
catalog_offering
Note:
image
conflicts withcatalog_offering
- is
Instance StringTemplate Id - (String) The URL for this placement target.
- metadata
Service IsInstance Template Metadata Service The metadata service configuration.
Nested scheme for
metadata_service
:- metadata
Service BooleanEnabled Indicates whether the metadata service endpoint is available to the virtual server instance. Default value : false
NOTE
metadata_service_enabled
is deprecated and will be removed in the future. Usemetadata_service
instead- name String
- The name of the instance template.
- network
Attachments List<IsInstance Template Network Attachment> - The network attachments for this virtual server instance, including the primary network attachment.
- network
Interfaces List<IsInstance Template Network Interface> A nested block describes the network interfaces for the template.
Nested scheme for
network_interfaces
:- placement
Group String The placement restrictions to use for the virtual server instance. Unique Identifier of the placement group where the instance is placed.
~>Note: only one of [dedicated_host, dedicated_host_group, placement_group] can be used
- primary
Network IsAttachment Instance Template Primary Network Attachment - The primary network attachment for this virtual server instance. Nested schema for primary_network_attachment:
- primary
Network IsInterface Instance Template Primary Network Interface - Primary Network interface info
- reservation
Affinities List<IsInstance Template Reservation Affinity> - The reservation affinity for the instance
Nested scheme for
reservation_affinity
: - resource
Group String - The resource group ID.
- total
Volume DoubleBandwidth - The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes
- user
Data String - The user data provided for the instance.
- volume
Attachments List<IsInstance Template Volume Attachment> A nested block describes the storage volume configuration for the template.
Nested scheme for
volume_attachments
:
- keys string[]
- List of SSH key IDs used to allow log in user to the instances.
- profile string
- The number of instances created in the instance group.
- vpc string
- The VPC ID that the instance templates needs to be created.
- zone string
- The name of the zone.
- availability
Policy stringHost Failure - The availability policy to use for this virtual server instance. The action to perform if the compute host experiences a failure. Supported values are
restart
andstop
. - boot
Volume IsInstance Template Boot Volume A nested block describes the boot volume configuration for the template.
Nested scheme for
boot_volume
:- catalog
Offering IsInstance Template Catalog Offering The catalog offering or offering version to use when provisioning this virtual server instance. If an offering is specified, the latest version of that offering will be used. The specified offering or offering version may be in a different account in the same enterprise, subject to IAM policies.
Note:
catalog_offering
conflicts withimage
Nested scheme for
catalog_offering
:- cluster
Network IsAttachments Instance Template Cluster Network Attachment[] The cluster network attachments to create for this virtual server instance. A cluster network attachment represents a device that is connected to a cluster network. The number of network attachments must match one of the values from the instance profile's
cluster_network_attachment_count
before the instance can be started. About cluster networksNested schema for cluster_network_attachments:
- confidential
Compute stringMode The confidential compute mode to use for this virtual server instance.If unspecified, the default confidential compute mode from the profile will be used. Constraints: Allowable values are:
disabled
,sgx
,tdx
{Select Availability}~>Note: The confidential_compute_mode is
Select Availability
feature. Confidential computing with Intel SGX for VPC is available only in the US-South (Dallas) region.- dedicated
Host string The placement restrictions to use for the virtual server instance. Unique Identifier of the dedicated host where the instance is placed.
~>Note: only one of [dedicated_host, dedicated_host_group, placement_group] can be used
- dedicated
Host stringGroup The placement restrictions to use for the virtual server instance. Unique Identifier of the dedicated host group where the instance is placed.
~>Note: only one of [dedicated_host, dedicated_host_group, placement_group] can be used
- default
Trusted booleanProfile Auto Link - If set to
true
, the system will create a link to the specifiedtarget
trusted profile during instance creation. Regardless of whether a link is created by the system or manually using the IAM Identity service, it will be automatically deleted when the instance is deleted. Default value : true - default
Trusted stringProfile Target - The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance.
- enable
Secure booleanBoot Indicates whether secure boot is enabled for this virtual server instance. If unspecified, the default secure boot mode from the profile will be used. {Select Availability}
~>Note: The enable_secure_boot is
Select Availability
feature.- image string
The ID of the image to create the template. Conflicts when using
catalog_offering
Note:
image
conflicts withcatalog_offering
- is
Instance stringTemplate Id - (String) The URL for this placement target.
- metadata
Service IsInstance Template Metadata Service The metadata service configuration.
Nested scheme for
metadata_service
:- metadata
Service booleanEnabled Indicates whether the metadata service endpoint is available to the virtual server instance. Default value : false
NOTE
metadata_service_enabled
is deprecated and will be removed in the future. Usemetadata_service
instead- name string
- The name of the instance template.
- network
Attachments IsInstance Template Network Attachment[] - The network attachments for this virtual server instance, including the primary network attachment.
- network
Interfaces IsInstance Template Network Interface[] A nested block describes the network interfaces for the template.
Nested scheme for
network_interfaces
:- placement
Group string The placement restrictions to use for the virtual server instance. Unique Identifier of the placement group where the instance is placed.
~>Note: only one of [dedicated_host, dedicated_host_group, placement_group] can be used
- primary
Network IsAttachment Instance Template Primary Network Attachment - The primary network attachment for this virtual server instance. Nested schema for primary_network_attachment:
- primary
Network IsInterface Instance Template Primary Network Interface - Primary Network interface info
- reservation
Affinities IsInstance Template Reservation Affinity[] - The reservation affinity for the instance
Nested scheme for
reservation_affinity
: - resource
Group string - The resource group ID.
- total
Volume numberBandwidth - The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes
- user
Data string - The user data provided for the instance.
- volume
Attachments IsInstance Template Volume Attachment[] A nested block describes the storage volume configuration for the template.
Nested scheme for
volume_attachments
:
- keys Sequence[str]
- List of SSH key IDs used to allow log in user to the instances.
- profile str
- The number of instances created in the instance group.
- vpc str
- The VPC ID that the instance templates needs to be created.
- zone str
- The name of the zone.
- availability_
policy_ strhost_ failure - The availability policy to use for this virtual server instance. The action to perform if the compute host experiences a failure. Supported values are
restart
andstop
. - boot_
volume IsInstance Template Boot Volume Args A nested block describes the boot volume configuration for the template.
Nested scheme for
boot_volume
:- catalog_
offering IsInstance Template Catalog Offering Args The catalog offering or offering version to use when provisioning this virtual server instance. If an offering is specified, the latest version of that offering will be used. The specified offering or offering version may be in a different account in the same enterprise, subject to IAM policies.
Note:
catalog_offering
conflicts withimage
Nested scheme for
catalog_offering
:- cluster_
network_ Sequence[Isattachments Instance Template Cluster Network Attachment Args] The cluster network attachments to create for this virtual server instance. A cluster network attachment represents a device that is connected to a cluster network. The number of network attachments must match one of the values from the instance profile's
cluster_network_attachment_count
before the instance can be started. About cluster networksNested schema for cluster_network_attachments:
- confidential_
compute_ strmode The confidential compute mode to use for this virtual server instance.If unspecified, the default confidential compute mode from the profile will be used. Constraints: Allowable values are:
disabled
,sgx
,tdx
{Select Availability}~>Note: The confidential_compute_mode is
Select Availability
feature. Confidential computing with Intel SGX for VPC is available only in the US-South (Dallas) region.- dedicated_
host str The placement restrictions to use for the virtual server instance. Unique Identifier of the dedicated host where the instance is placed.
~>Note: only one of [dedicated_host, dedicated_host_group, placement_group] can be used
- dedicated_
host_ strgroup The placement restrictions to use for the virtual server instance. Unique Identifier of the dedicated host group where the instance is placed.
~>Note: only one of [dedicated_host, dedicated_host_group, placement_group] can be used
- default_
trusted_ boolprofile_ auto_ link - If set to
true
, the system will create a link to the specifiedtarget
trusted profile during instance creation. Regardless of whether a link is created by the system or manually using the IAM Identity service, it will be automatically deleted when the instance is deleted. Default value : true - default_
trusted_ strprofile_ target - The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance.
- enable_
secure_ boolboot Indicates whether secure boot is enabled for this virtual server instance. If unspecified, the default secure boot mode from the profile will be used. {Select Availability}
~>Note: The enable_secure_boot is
Select Availability
feature.- image str
The ID of the image to create the template. Conflicts when using
catalog_offering
Note:
image
conflicts withcatalog_offering
- is_
instance_ strtemplate_ id - (String) The URL for this placement target.
- metadata_
service IsInstance Template Metadata Service Args The metadata service configuration.
Nested scheme for
metadata_service
:- metadata_
service_ boolenabled Indicates whether the metadata service endpoint is available to the virtual server instance. Default value : false
NOTE
metadata_service_enabled
is deprecated and will be removed in the future. Usemetadata_service
instead- name str
- The name of the instance template.
- network_
attachments Sequence[IsInstance Template Network Attachment Args] - The network attachments for this virtual server instance, including the primary network attachment.
- network_
interfaces Sequence[IsInstance Template Network Interface Args] A nested block describes the network interfaces for the template.
Nested scheme for
network_interfaces
:- placement_
group str The placement restrictions to use for the virtual server instance. Unique Identifier of the placement group where the instance is placed.
~>Note: only one of [dedicated_host, dedicated_host_group, placement_group] can be used
- primary_
network_ Isattachment Instance Template Primary Network Attachment Args - The primary network attachment for this virtual server instance. Nested schema for primary_network_attachment:
- primary_
network_ Isinterface Instance Template Primary Network Interface Args - Primary Network interface info
- reservation_
affinities Sequence[IsInstance Template Reservation Affinity Args] - The reservation affinity for the instance
Nested scheme for
reservation_affinity
: - resource_
group str - The resource group ID.
- total_
volume_ floatbandwidth - The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes
- user_
data str - The user data provided for the instance.
- volume_
attachments Sequence[IsInstance Template Volume Attachment Args] A nested block describes the storage volume configuration for the template.
Nested scheme for
volume_attachments
:
- keys List<String>
- List of SSH key IDs used to allow log in user to the instances.
- profile String
- The number of instances created in the instance group.
- vpc String
- The VPC ID that the instance templates needs to be created.
- zone String
- The name of the zone.
- availability
Policy StringHost Failure - The availability policy to use for this virtual server instance. The action to perform if the compute host experiences a failure. Supported values are
restart
andstop
. - boot
Volume Property Map A nested block describes the boot volume configuration for the template.
Nested scheme for
boot_volume
:- catalog
Offering Property Map The catalog offering or offering version to use when provisioning this virtual server instance. If an offering is specified, the latest version of that offering will be used. The specified offering or offering version may be in a different account in the same enterprise, subject to IAM policies.
Note:
catalog_offering
conflicts withimage
Nested scheme for
catalog_offering
:- cluster
Network List<Property Map>Attachments The cluster network attachments to create for this virtual server instance. A cluster network attachment represents a device that is connected to a cluster network. The number of network attachments must match one of the values from the instance profile's
cluster_network_attachment_count
before the instance can be started. About cluster networksNested schema for cluster_network_attachments:
- confidential
Compute StringMode The confidential compute mode to use for this virtual server instance.If unspecified, the default confidential compute mode from the profile will be used. Constraints: Allowable values are:
disabled
,sgx
,tdx
{Select Availability}~>Note: The confidential_compute_mode is
Select Availability
feature. Confidential computing with Intel SGX for VPC is available only in the US-South (Dallas) region.- dedicated
Host String The placement restrictions to use for the virtual server instance. Unique Identifier of the dedicated host where the instance is placed.
~>Note: only one of [dedicated_host, dedicated_host_group, placement_group] can be used
- dedicated
Host StringGroup The placement restrictions to use for the virtual server instance. Unique Identifier of the dedicated host group where the instance is placed.
~>Note: only one of [dedicated_host, dedicated_host_group, placement_group] can be used
- default
Trusted BooleanProfile Auto Link - If set to
true
, the system will create a link to the specifiedtarget
trusted profile during instance creation. Regardless of whether a link is created by the system or manually using the IAM Identity service, it will be automatically deleted when the instance is deleted. Default value : true - default
Trusted StringProfile Target - The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance.
- enable
Secure BooleanBoot Indicates whether secure boot is enabled for this virtual server instance. If unspecified, the default secure boot mode from the profile will be used. {Select Availability}
~>Note: The enable_secure_boot is
Select Availability
feature.- image String
The ID of the image to create the template. Conflicts when using
catalog_offering
Note:
image
conflicts withcatalog_offering
- is
Instance StringTemplate Id - (String) The URL for this placement target.
- metadata
Service Property Map The metadata service configuration.
Nested scheme for
metadata_service
:- metadata
Service BooleanEnabled Indicates whether the metadata service endpoint is available to the virtual server instance. Default value : false
NOTE
metadata_service_enabled
is deprecated and will be removed in the future. Usemetadata_service
instead- name String
- The name of the instance template.
- network
Attachments List<Property Map> - The network attachments for this virtual server instance, including the primary network attachment.
- network
Interfaces List<Property Map> A nested block describes the network interfaces for the template.
Nested scheme for
network_interfaces
:- placement
Group String The placement restrictions to use for the virtual server instance. Unique Identifier of the placement group where the instance is placed.
~>Note: only one of [dedicated_host, dedicated_host_group, placement_group] can be used
- primary
Network Property MapAttachment - The primary network attachment for this virtual server instance. Nested schema for primary_network_attachment:
- primary
Network Property MapInterface - Primary Network interface info
- reservation
Affinities List<Property Map> - The reservation affinity for the instance
Nested scheme for
reservation_affinity
: - resource
Group String - The resource group ID.
- total
Volume NumberBandwidth - The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes
- user
Data String - The user data provided for the instance.
- volume
Attachments List<Property Map> A nested block describes the storage volume configuration for the template.
Nested scheme for
volume_attachments
:
Outputs
All input properties are implicitly available as output properties. Additionally, the IsInstanceTemplate resource produces the following output properties:
- Crn string
- (String) The unique identifier for this placement target.
- Id string
- The provider-assigned unique ID for this managed resource.
- Placement
Targets List<IsInstance Template Placement Target> - (List) The placement restrictions to use for the virtual server instance.
Nested scheme for
placement_target
:
- Crn string
- (String) The unique identifier for this placement target.
- Id string
- The provider-assigned unique ID for this managed resource.
- Placement
Targets []IsInstance Template Placement Target - (List) The placement restrictions to use for the virtual server instance.
Nested scheme for
placement_target
:
- crn String
- (String) The unique identifier for this placement target.
- id String
- The provider-assigned unique ID for this managed resource.
- placement
Targets List<IsInstance Template Placement Target> - (List) The placement restrictions to use for the virtual server instance.
Nested scheme for
placement_target
:
- crn string
- (String) The unique identifier for this placement target.
- id string
- The provider-assigned unique ID for this managed resource.
- placement
Targets IsInstance Template Placement Target[] - (List) The placement restrictions to use for the virtual server instance.
Nested scheme for
placement_target
:
- crn str
- (String) The unique identifier for this placement target.
- id str
- The provider-assigned unique ID for this managed resource.
- placement_
targets Sequence[IsInstance Template Placement Target] - (List) The placement restrictions to use for the virtual server instance.
Nested scheme for
placement_target
:
- crn String
- (String) The unique identifier for this placement target.
- id String
- The provider-assigned unique ID for this managed resource.
- placement
Targets List<Property Map> - (List) The placement restrictions to use for the virtual server instance.
Nested scheme for
placement_target
:
Look up Existing IsInstanceTemplate Resource
Get an existing IsInstanceTemplate 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?: IsInstanceTemplateState, opts?: CustomResourceOptions): IsInstanceTemplate
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
availability_policy_host_failure: Optional[str] = None,
boot_volume: Optional[IsInstanceTemplateBootVolumeArgs] = None,
catalog_offering: Optional[IsInstanceTemplateCatalogOfferingArgs] = None,
cluster_network_attachments: Optional[Sequence[IsInstanceTemplateClusterNetworkAttachmentArgs]] = None,
confidential_compute_mode: Optional[str] = None,
crn: Optional[str] = None,
dedicated_host: Optional[str] = None,
dedicated_host_group: Optional[str] = None,
default_trusted_profile_auto_link: Optional[bool] = None,
default_trusted_profile_target: Optional[str] = None,
enable_secure_boot: Optional[bool] = None,
image: Optional[str] = None,
is_instance_template_id: Optional[str] = None,
keys: Optional[Sequence[str]] = None,
metadata_service: Optional[IsInstanceTemplateMetadataServiceArgs] = None,
metadata_service_enabled: Optional[bool] = None,
name: Optional[str] = None,
network_attachments: Optional[Sequence[IsInstanceTemplateNetworkAttachmentArgs]] = None,
network_interfaces: Optional[Sequence[IsInstanceTemplateNetworkInterfaceArgs]] = None,
placement_group: Optional[str] = None,
placement_targets: Optional[Sequence[IsInstanceTemplatePlacementTargetArgs]] = None,
primary_network_attachment: Optional[IsInstanceTemplatePrimaryNetworkAttachmentArgs] = None,
primary_network_interface: Optional[IsInstanceTemplatePrimaryNetworkInterfaceArgs] = None,
profile: Optional[str] = None,
reservation_affinities: Optional[Sequence[IsInstanceTemplateReservationAffinityArgs]] = None,
resource_group: Optional[str] = None,
total_volume_bandwidth: Optional[float] = None,
user_data: Optional[str] = None,
volume_attachments: Optional[Sequence[IsInstanceTemplateVolumeAttachmentArgs]] = None,
vpc: Optional[str] = None,
zone: Optional[str] = None) -> IsInstanceTemplate
func GetIsInstanceTemplate(ctx *Context, name string, id IDInput, state *IsInstanceTemplateState, opts ...ResourceOption) (*IsInstanceTemplate, error)
public static IsInstanceTemplate Get(string name, Input<string> id, IsInstanceTemplateState? state, CustomResourceOptions? opts = null)
public static IsInstanceTemplate get(String name, Output<String> id, IsInstanceTemplateState state, CustomResourceOptions options)
resources: _: type: ibm:IsInstanceTemplate 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.
- Availability
Policy stringHost Failure - The availability policy to use for this virtual server instance. The action to perform if the compute host experiences a failure. Supported values are
restart
andstop
. - Boot
Volume IsInstance Template Boot Volume A nested block describes the boot volume configuration for the template.
Nested scheme for
boot_volume
:- Catalog
Offering IsInstance Template Catalog Offering The catalog offering or offering version to use when provisioning this virtual server instance. If an offering is specified, the latest version of that offering will be used. The specified offering or offering version may be in a different account in the same enterprise, subject to IAM policies.
Note:
catalog_offering
conflicts withimage
Nested scheme for
catalog_offering
:- Cluster
Network List<IsAttachments Instance Template Cluster Network Attachment> The cluster network attachments to create for this virtual server instance. A cluster network attachment represents a device that is connected to a cluster network. The number of network attachments must match one of the values from the instance profile's
cluster_network_attachment_count
before the instance can be started. About cluster networksNested schema for cluster_network_attachments:
- Confidential
Compute stringMode The confidential compute mode to use for this virtual server instance.If unspecified, the default confidential compute mode from the profile will be used. Constraints: Allowable values are:
disabled
,sgx
,tdx
{Select Availability}~>Note: The confidential_compute_mode is
Select Availability
feature. Confidential computing with Intel SGX for VPC is available only in the US-South (Dallas) region.- Crn string
- (String) The unique identifier for this placement target.
- Dedicated
Host string The placement restrictions to use for the virtual server instance. Unique Identifier of the dedicated host where the instance is placed.
~>Note: only one of [dedicated_host, dedicated_host_group, placement_group] can be used
- Dedicated
Host stringGroup The placement restrictions to use for the virtual server instance. Unique Identifier of the dedicated host group where the instance is placed.
~>Note: only one of [dedicated_host, dedicated_host_group, placement_group] can be used
- Default
Trusted boolProfile Auto Link - If set to
true
, the system will create a link to the specifiedtarget
trusted profile during instance creation. Regardless of whether a link is created by the system or manually using the IAM Identity service, it will be automatically deleted when the instance is deleted. Default value : true - Default
Trusted stringProfile Target - The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance.
- Enable
Secure boolBoot Indicates whether secure boot is enabled for this virtual server instance. If unspecified, the default secure boot mode from the profile will be used. {Select Availability}
~>Note: The enable_secure_boot is
Select Availability
feature.- Image string
The ID of the image to create the template. Conflicts when using
catalog_offering
Note:
image
conflicts withcatalog_offering
- Is
Instance stringTemplate Id - (String) The URL for this placement target.
- Keys List<string>
- List of SSH key IDs used to allow log in user to the instances.
- Metadata
Service IsInstance Template Metadata Service The metadata service configuration.
Nested scheme for
metadata_service
:- Metadata
Service boolEnabled Indicates whether the metadata service endpoint is available to the virtual server instance. Default value : false
NOTE
metadata_service_enabled
is deprecated and will be removed in the future. Usemetadata_service
instead- Name string
- The name of the instance template.
- Network
Attachments List<IsInstance Template Network Attachment> - The network attachments for this virtual server instance, including the primary network attachment.
- Network
Interfaces List<IsInstance Template Network Interface> A nested block describes the network interfaces for the template.
Nested scheme for
network_interfaces
:- Placement
Group string The placement restrictions to use for the virtual server instance. Unique Identifier of the placement group where the instance is placed.
~>Note: only one of [dedicated_host, dedicated_host_group, placement_group] can be used
- Placement
Targets List<IsInstance Template Placement Target> - (List) The placement restrictions to use for the virtual server instance.
Nested scheme for
placement_target
: - Primary
Network IsAttachment Instance Template Primary Network Attachment - The primary network attachment for this virtual server instance. Nested schema for primary_network_attachment:
- Primary
Network IsInterface Instance Template Primary Network Interface - Primary Network interface info
- Profile string
- The number of instances created in the instance group.
- Reservation
Affinities List<IsInstance Template Reservation Affinity> - The reservation affinity for the instance
Nested scheme for
reservation_affinity
: - Resource
Group string - The resource group ID.
- Total
Volume doubleBandwidth - The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes
- User
Data string - The user data provided for the instance.
- Volume
Attachments List<IsInstance Template Volume Attachment> A nested block describes the storage volume configuration for the template.
Nested scheme for
volume_attachments
:- Vpc string
- The VPC ID that the instance templates needs to be created.
- Zone string
- The name of the zone.
- Availability
Policy stringHost Failure - The availability policy to use for this virtual server instance. The action to perform if the compute host experiences a failure. Supported values are
restart
andstop
. - Boot
Volume IsInstance Template Boot Volume Args A nested block describes the boot volume configuration for the template.
Nested scheme for
boot_volume
:- Catalog
Offering IsInstance Template Catalog Offering Args The catalog offering or offering version to use when provisioning this virtual server instance. If an offering is specified, the latest version of that offering will be used. The specified offering or offering version may be in a different account in the same enterprise, subject to IAM policies.
Note:
catalog_offering
conflicts withimage
Nested scheme for
catalog_offering
:- Cluster
Network []IsAttachments Instance Template Cluster Network Attachment Args The cluster network attachments to create for this virtual server instance. A cluster network attachment represents a device that is connected to a cluster network. The number of network attachments must match one of the values from the instance profile's
cluster_network_attachment_count
before the instance can be started. About cluster networksNested schema for cluster_network_attachments:
- Confidential
Compute stringMode The confidential compute mode to use for this virtual server instance.If unspecified, the default confidential compute mode from the profile will be used. Constraints: Allowable values are:
disabled
,sgx
,tdx
{Select Availability}~>Note: The confidential_compute_mode is
Select Availability
feature. Confidential computing with Intel SGX for VPC is available only in the US-South (Dallas) region.- Crn string
- (String) The unique identifier for this placement target.
- Dedicated
Host string The placement restrictions to use for the virtual server instance. Unique Identifier of the dedicated host where the instance is placed.
~>Note: only one of [dedicated_host, dedicated_host_group, placement_group] can be used
- Dedicated
Host stringGroup The placement restrictions to use for the virtual server instance. Unique Identifier of the dedicated host group where the instance is placed.
~>Note: only one of [dedicated_host, dedicated_host_group, placement_group] can be used
- Default
Trusted boolProfile Auto Link - If set to
true
, the system will create a link to the specifiedtarget
trusted profile during instance creation. Regardless of whether a link is created by the system or manually using the IAM Identity service, it will be automatically deleted when the instance is deleted. Default value : true - Default
Trusted stringProfile Target - The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance.
- Enable
Secure boolBoot Indicates whether secure boot is enabled for this virtual server instance. If unspecified, the default secure boot mode from the profile will be used. {Select Availability}
~>Note: The enable_secure_boot is
Select Availability
feature.- Image string
The ID of the image to create the template. Conflicts when using
catalog_offering
Note:
image
conflicts withcatalog_offering
- Is
Instance stringTemplate Id - (String) The URL for this placement target.
- Keys []string
- List of SSH key IDs used to allow log in user to the instances.
- Metadata
Service IsInstance Template Metadata Service Args The metadata service configuration.
Nested scheme for
metadata_service
:- Metadata
Service boolEnabled Indicates whether the metadata service endpoint is available to the virtual server instance. Default value : false
NOTE
metadata_service_enabled
is deprecated and will be removed in the future. Usemetadata_service
instead- Name string
- The name of the instance template.
- Network
Attachments []IsInstance Template Network Attachment Args - The network attachments for this virtual server instance, including the primary network attachment.
- Network
Interfaces []IsInstance Template Network Interface Args A nested block describes the network interfaces for the template.
Nested scheme for
network_interfaces
:- Placement
Group string The placement restrictions to use for the virtual server instance. Unique Identifier of the placement group where the instance is placed.
~>Note: only one of [dedicated_host, dedicated_host_group, placement_group] can be used
- Placement
Targets []IsInstance Template Placement Target Args - (List) The placement restrictions to use for the virtual server instance.
Nested scheme for
placement_target
: - Primary
Network IsAttachment Instance Template Primary Network Attachment Args - The primary network attachment for this virtual server instance. Nested schema for primary_network_attachment:
- Primary
Network IsInterface Instance Template Primary Network Interface Args - Primary Network interface info
- Profile string
- The number of instances created in the instance group.
- Reservation
Affinities []IsInstance Template Reservation Affinity Args - The reservation affinity for the instance
Nested scheme for
reservation_affinity
: - Resource
Group string - The resource group ID.
- Total
Volume float64Bandwidth - The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes
- User
Data string - The user data provided for the instance.
- Volume
Attachments []IsInstance Template Volume Attachment Args A nested block describes the storage volume configuration for the template.
Nested scheme for
volume_attachments
:- Vpc string
- The VPC ID that the instance templates needs to be created.
- Zone string
- The name of the zone.
- availability
Policy StringHost Failure - The availability policy to use for this virtual server instance. The action to perform if the compute host experiences a failure. Supported values are
restart
andstop
. - boot
Volume IsInstance Template Boot Volume A nested block describes the boot volume configuration for the template.
Nested scheme for
boot_volume
:- catalog
Offering IsInstance Template Catalog Offering The catalog offering or offering version to use when provisioning this virtual server instance. If an offering is specified, the latest version of that offering will be used. The specified offering or offering version may be in a different account in the same enterprise, subject to IAM policies.
Note:
catalog_offering
conflicts withimage
Nested scheme for
catalog_offering
:- cluster
Network List<IsAttachments Instance Template Cluster Network Attachment> The cluster network attachments to create for this virtual server instance. A cluster network attachment represents a device that is connected to a cluster network. The number of network attachments must match one of the values from the instance profile's
cluster_network_attachment_count
before the instance can be started. About cluster networksNested schema for cluster_network_attachments:
- confidential
Compute StringMode The confidential compute mode to use for this virtual server instance.If unspecified, the default confidential compute mode from the profile will be used. Constraints: Allowable values are:
disabled
,sgx
,tdx
{Select Availability}~>Note: The confidential_compute_mode is
Select Availability
feature. Confidential computing with Intel SGX for VPC is available only in the US-South (Dallas) region.- crn String
- (String) The unique identifier for this placement target.
- dedicated
Host String The placement restrictions to use for the virtual server instance. Unique Identifier of the dedicated host where the instance is placed.
~>Note: only one of [dedicated_host, dedicated_host_group, placement_group] can be used
- dedicated
Host StringGroup The placement restrictions to use for the virtual server instance. Unique Identifier of the dedicated host group where the instance is placed.
~>Note: only one of [dedicated_host, dedicated_host_group, placement_group] can be used
- default
Trusted BooleanProfile Auto Link - If set to
true
, the system will create a link to the specifiedtarget
trusted profile during instance creation. Regardless of whether a link is created by the system or manually using the IAM Identity service, it will be automatically deleted when the instance is deleted. Default value : true - default
Trusted StringProfile Target - The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance.
- enable
Secure BooleanBoot Indicates whether secure boot is enabled for this virtual server instance. If unspecified, the default secure boot mode from the profile will be used. {Select Availability}
~>Note: The enable_secure_boot is
Select Availability
feature.- image String
The ID of the image to create the template. Conflicts when using
catalog_offering
Note:
image
conflicts withcatalog_offering
- is
Instance StringTemplate Id - (String) The URL for this placement target.
- keys List<String>
- List of SSH key IDs used to allow log in user to the instances.
- metadata
Service IsInstance Template Metadata Service The metadata service configuration.
Nested scheme for
metadata_service
:- metadata
Service BooleanEnabled Indicates whether the metadata service endpoint is available to the virtual server instance. Default value : false
NOTE
metadata_service_enabled
is deprecated and will be removed in the future. Usemetadata_service
instead- name String
- The name of the instance template.
- network
Attachments List<IsInstance Template Network Attachment> - The network attachments for this virtual server instance, including the primary network attachment.
- network
Interfaces List<IsInstance Template Network Interface> A nested block describes the network interfaces for the template.
Nested scheme for
network_interfaces
:- placement
Group String The placement restrictions to use for the virtual server instance. Unique Identifier of the placement group where the instance is placed.
~>Note: only one of [dedicated_host, dedicated_host_group, placement_group] can be used
- placement
Targets List<IsInstance Template Placement Target> - (List) The placement restrictions to use for the virtual server instance.
Nested scheme for
placement_target
: - primary
Network IsAttachment Instance Template Primary Network Attachment - The primary network attachment for this virtual server instance. Nested schema for primary_network_attachment:
- primary
Network IsInterface Instance Template Primary Network Interface - Primary Network interface info
- profile String
- The number of instances created in the instance group.
- reservation
Affinities List<IsInstance Template Reservation Affinity> - The reservation affinity for the instance
Nested scheme for
reservation_affinity
: - resource
Group String - The resource group ID.
- total
Volume DoubleBandwidth - The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes
- user
Data String - The user data provided for the instance.
- volume
Attachments List<IsInstance Template Volume Attachment> A nested block describes the storage volume configuration for the template.
Nested scheme for
volume_attachments
:- vpc String
- The VPC ID that the instance templates needs to be created.
- zone String
- The name of the zone.
- availability
Policy stringHost Failure - The availability policy to use for this virtual server instance. The action to perform if the compute host experiences a failure. Supported values are
restart
andstop
. - boot
Volume IsInstance Template Boot Volume A nested block describes the boot volume configuration for the template.
Nested scheme for
boot_volume
:- catalog
Offering IsInstance Template Catalog Offering The catalog offering or offering version to use when provisioning this virtual server instance. If an offering is specified, the latest version of that offering will be used. The specified offering or offering version may be in a different account in the same enterprise, subject to IAM policies.
Note:
catalog_offering
conflicts withimage
Nested scheme for
catalog_offering
:- cluster
Network IsAttachments Instance Template Cluster Network Attachment[] The cluster network attachments to create for this virtual server instance. A cluster network attachment represents a device that is connected to a cluster network. The number of network attachments must match one of the values from the instance profile's
cluster_network_attachment_count
before the instance can be started. About cluster networksNested schema for cluster_network_attachments:
- confidential
Compute stringMode The confidential compute mode to use for this virtual server instance.If unspecified, the default confidential compute mode from the profile will be used. Constraints: Allowable values are:
disabled
,sgx
,tdx
{Select Availability}~>Note: The confidential_compute_mode is
Select Availability
feature. Confidential computing with Intel SGX for VPC is available only in the US-South (Dallas) region.- crn string
- (String) The unique identifier for this placement target.
- dedicated
Host string The placement restrictions to use for the virtual server instance. Unique Identifier of the dedicated host where the instance is placed.
~>Note: only one of [dedicated_host, dedicated_host_group, placement_group] can be used
- dedicated
Host stringGroup The placement restrictions to use for the virtual server instance. Unique Identifier of the dedicated host group where the instance is placed.
~>Note: only one of [dedicated_host, dedicated_host_group, placement_group] can be used
- default
Trusted booleanProfile Auto Link - If set to
true
, the system will create a link to the specifiedtarget
trusted profile during instance creation. Regardless of whether a link is created by the system or manually using the IAM Identity service, it will be automatically deleted when the instance is deleted. Default value : true - default
Trusted stringProfile Target - The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance.
- enable
Secure booleanBoot Indicates whether secure boot is enabled for this virtual server instance. If unspecified, the default secure boot mode from the profile will be used. {Select Availability}
~>Note: The enable_secure_boot is
Select Availability
feature.- image string
The ID of the image to create the template. Conflicts when using
catalog_offering
Note:
image
conflicts withcatalog_offering
- is
Instance stringTemplate Id - (String) The URL for this placement target.
- keys string[]
- List of SSH key IDs used to allow log in user to the instances.
- metadata
Service IsInstance Template Metadata Service The metadata service configuration.
Nested scheme for
metadata_service
:- metadata
Service booleanEnabled Indicates whether the metadata service endpoint is available to the virtual server instance. Default value : false
NOTE
metadata_service_enabled
is deprecated and will be removed in the future. Usemetadata_service
instead- name string
- The name of the instance template.
- network
Attachments IsInstance Template Network Attachment[] - The network attachments for this virtual server instance, including the primary network attachment.
- network
Interfaces IsInstance Template Network Interface[] A nested block describes the network interfaces for the template.
Nested scheme for
network_interfaces
:- placement
Group string The placement restrictions to use for the virtual server instance. Unique Identifier of the placement group where the instance is placed.
~>Note: only one of [dedicated_host, dedicated_host_group, placement_group] can be used
- placement
Targets IsInstance Template Placement Target[] - (List) The placement restrictions to use for the virtual server instance.
Nested scheme for
placement_target
: - primary
Network IsAttachment Instance Template Primary Network Attachment - The primary network attachment for this virtual server instance. Nested schema for primary_network_attachment:
- primary
Network IsInterface Instance Template Primary Network Interface - Primary Network interface info
- profile string
- The number of instances created in the instance group.
- reservation
Affinities IsInstance Template Reservation Affinity[] - The reservation affinity for the instance
Nested scheme for
reservation_affinity
: - resource
Group string - The resource group ID.
- total
Volume numberBandwidth - The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes
- user
Data string - The user data provided for the instance.
- volume
Attachments IsInstance Template Volume Attachment[] A nested block describes the storage volume configuration for the template.
Nested scheme for
volume_attachments
:- vpc string
- The VPC ID that the instance templates needs to be created.
- zone string
- The name of the zone.
- availability_
policy_ strhost_ failure - The availability policy to use for this virtual server instance. The action to perform if the compute host experiences a failure. Supported values are
restart
andstop
. - boot_
volume IsInstance Template Boot Volume Args A nested block describes the boot volume configuration for the template.
Nested scheme for
boot_volume
:- catalog_
offering IsInstance Template Catalog Offering Args The catalog offering or offering version to use when provisioning this virtual server instance. If an offering is specified, the latest version of that offering will be used. The specified offering or offering version may be in a different account in the same enterprise, subject to IAM policies.
Note:
catalog_offering
conflicts withimage
Nested scheme for
catalog_offering
:- cluster_
network_ Sequence[Isattachments Instance Template Cluster Network Attachment Args] The cluster network attachments to create for this virtual server instance. A cluster network attachment represents a device that is connected to a cluster network. The number of network attachments must match one of the values from the instance profile's
cluster_network_attachment_count
before the instance can be started. About cluster networksNested schema for cluster_network_attachments:
- confidential_
compute_ strmode The confidential compute mode to use for this virtual server instance.If unspecified, the default confidential compute mode from the profile will be used. Constraints: Allowable values are:
disabled
,sgx
,tdx
{Select Availability}~>Note: The confidential_compute_mode is
Select Availability
feature. Confidential computing with Intel SGX for VPC is available only in the US-South (Dallas) region.- crn str
- (String) The unique identifier for this placement target.
- dedicated_
host str The placement restrictions to use for the virtual server instance. Unique Identifier of the dedicated host where the instance is placed.
~>Note: only one of [dedicated_host, dedicated_host_group, placement_group] can be used
- dedicated_
host_ strgroup The placement restrictions to use for the virtual server instance. Unique Identifier of the dedicated host group where the instance is placed.
~>Note: only one of [dedicated_host, dedicated_host_group, placement_group] can be used
- default_
trusted_ boolprofile_ auto_ link - If set to
true
, the system will create a link to the specifiedtarget
trusted profile during instance creation. Regardless of whether a link is created by the system or manually using the IAM Identity service, it will be automatically deleted when the instance is deleted. Default value : true - default_
trusted_ strprofile_ target - The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance.
- enable_
secure_ boolboot Indicates whether secure boot is enabled for this virtual server instance. If unspecified, the default secure boot mode from the profile will be used. {Select Availability}
~>Note: The enable_secure_boot is
Select Availability
feature.- image str
The ID of the image to create the template. Conflicts when using
catalog_offering
Note:
image
conflicts withcatalog_offering
- is_
instance_ strtemplate_ id - (String) The URL for this placement target.
- keys Sequence[str]
- List of SSH key IDs used to allow log in user to the instances.
- metadata_
service IsInstance Template Metadata Service Args The metadata service configuration.
Nested scheme for
metadata_service
:- metadata_
service_ boolenabled Indicates whether the metadata service endpoint is available to the virtual server instance. Default value : false
NOTE
metadata_service_enabled
is deprecated and will be removed in the future. Usemetadata_service
instead- name str
- The name of the instance template.
- network_
attachments Sequence[IsInstance Template Network Attachment Args] - The network attachments for this virtual server instance, including the primary network attachment.
- network_
interfaces Sequence[IsInstance Template Network Interface Args] A nested block describes the network interfaces for the template.
Nested scheme for
network_interfaces
:- placement_
group str The placement restrictions to use for the virtual server instance. Unique Identifier of the placement group where the instance is placed.
~>Note: only one of [dedicated_host, dedicated_host_group, placement_group] can be used
- placement_
targets Sequence[IsInstance Template Placement Target Args] - (List) The placement restrictions to use for the virtual server instance.
Nested scheme for
placement_target
: - primary_
network_ Isattachment Instance Template Primary Network Attachment Args - The primary network attachment for this virtual server instance. Nested schema for primary_network_attachment:
- primary_
network_ Isinterface Instance Template Primary Network Interface Args - Primary Network interface info
- profile str
- The number of instances created in the instance group.
- reservation_
affinities Sequence[IsInstance Template Reservation Affinity Args] - The reservation affinity for the instance
Nested scheme for
reservation_affinity
: - resource_
group str - The resource group ID.
- total_
volume_ floatbandwidth - The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes
- user_
data str - The user data provided for the instance.
- volume_
attachments Sequence[IsInstance Template Volume Attachment Args] A nested block describes the storage volume configuration for the template.
Nested scheme for
volume_attachments
:- vpc str
- The VPC ID that the instance templates needs to be created.
- zone str
- The name of the zone.
- availability
Policy StringHost Failure - The availability policy to use for this virtual server instance. The action to perform if the compute host experiences a failure. Supported values are
restart
andstop
. - boot
Volume Property Map A nested block describes the boot volume configuration for the template.
Nested scheme for
boot_volume
:- catalog
Offering Property Map The catalog offering or offering version to use when provisioning this virtual server instance. If an offering is specified, the latest version of that offering will be used. The specified offering or offering version may be in a different account in the same enterprise, subject to IAM policies.
Note:
catalog_offering
conflicts withimage
Nested scheme for
catalog_offering
:- cluster
Network List<Property Map>Attachments The cluster network attachments to create for this virtual server instance. A cluster network attachment represents a device that is connected to a cluster network. The number of network attachments must match one of the values from the instance profile's
cluster_network_attachment_count
before the instance can be started. About cluster networksNested schema for cluster_network_attachments:
- confidential
Compute StringMode The confidential compute mode to use for this virtual server instance.If unspecified, the default confidential compute mode from the profile will be used. Constraints: Allowable values are:
disabled
,sgx
,tdx
{Select Availability}~>Note: The confidential_compute_mode is
Select Availability
feature. Confidential computing with Intel SGX for VPC is available only in the US-South (Dallas) region.- crn String
- (String) The unique identifier for this placement target.
- dedicated
Host String The placement restrictions to use for the virtual server instance. Unique Identifier of the dedicated host where the instance is placed.
~>Note: only one of [dedicated_host, dedicated_host_group, placement_group] can be used
- dedicated
Host StringGroup The placement restrictions to use for the virtual server instance. Unique Identifier of the dedicated host group where the instance is placed.
~>Note: only one of [dedicated_host, dedicated_host_group, placement_group] can be used
- default
Trusted BooleanProfile Auto Link - If set to
true
, the system will create a link to the specifiedtarget
trusted profile during instance creation. Regardless of whether a link is created by the system or manually using the IAM Identity service, it will be automatically deleted when the instance is deleted. Default value : true - default
Trusted StringProfile Target - The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance.
- enable
Secure BooleanBoot Indicates whether secure boot is enabled for this virtual server instance. If unspecified, the default secure boot mode from the profile will be used. {Select Availability}
~>Note: The enable_secure_boot is
Select Availability
feature.- image String
The ID of the image to create the template. Conflicts when using
catalog_offering
Note:
image
conflicts withcatalog_offering
- is
Instance StringTemplate Id - (String) The URL for this placement target.
- keys List<String>
- List of SSH key IDs used to allow log in user to the instances.
- metadata
Service Property Map The metadata service configuration.
Nested scheme for
metadata_service
:- metadata
Service BooleanEnabled Indicates whether the metadata service endpoint is available to the virtual server instance. Default value : false
NOTE
metadata_service_enabled
is deprecated and will be removed in the future. Usemetadata_service
instead- name String
- The name of the instance template.
- network
Attachments List<Property Map> - The network attachments for this virtual server instance, including the primary network attachment.
- network
Interfaces List<Property Map> A nested block describes the network interfaces for the template.
Nested scheme for
network_interfaces
:- placement
Group String The placement restrictions to use for the virtual server instance. Unique Identifier of the placement group where the instance is placed.
~>Note: only one of [dedicated_host, dedicated_host_group, placement_group] can be used
- placement
Targets List<Property Map> - (List) The placement restrictions to use for the virtual server instance.
Nested scheme for
placement_target
: - primary
Network Property MapAttachment - The primary network attachment for this virtual server instance. Nested schema for primary_network_attachment:
- primary
Network Property MapInterface - Primary Network interface info
- profile String
- The number of instances created in the instance group.
- reservation
Affinities List<Property Map> - The reservation affinity for the instance
Nested scheme for
reservation_affinity
: - resource
Group String - The resource group ID.
- total
Volume NumberBandwidth - The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes
- user
Data String - The user data provided for the instance.
- volume
Attachments List<Property Map> A nested block describes the storage volume configuration for the template.
Nested scheme for
volume_attachments
:- vpc String
- The VPC ID that the instance templates needs to be created.
- zone String
- The name of the zone.
Supporting Types
IsInstanceTemplateBootVolume, IsInstanceTemplateBootVolumeArgs
- Bandwidth double
- The maximum bandwidth (in megabits per second) for the volume. For this property to be specified, the volume storage_generation must be 2.
- Delete
Volume boolOn Instance Delete - You can configure to delete the boot volume based on instance deletion.
- Encryption string
- The encryption key CRN to encrypt the boot volume attached.
- Name string
- The name of the boot volume.
- Profile string
- The profile name for this boot volume.
- Size double
- The size for this boot volume.(in gigabytes)
- List<string>
- UserTags for the volume instance
- Bandwidth float64
- The maximum bandwidth (in megabits per second) for the volume. For this property to be specified, the volume storage_generation must be 2.
- Delete
Volume boolOn Instance Delete - You can configure to delete the boot volume based on instance deletion.
- Encryption string
- The encryption key CRN to encrypt the boot volume attached.
- Name string
- The name of the boot volume.
- Profile string
- The profile name for this boot volume.
- Size float64
- The size for this boot volume.(in gigabytes)
- []string
- UserTags for the volume instance
- bandwidth Double
- The maximum bandwidth (in megabits per second) for the volume. For this property to be specified, the volume storage_generation must be 2.
- delete
Volume BooleanOn Instance Delete - You can configure to delete the boot volume based on instance deletion.
- encryption String
- The encryption key CRN to encrypt the boot volume attached.
- name String
- The name of the boot volume.
- profile String
- The profile name for this boot volume.
- size Double
- The size for this boot volume.(in gigabytes)
- List<String>
- UserTags for the volume instance
- bandwidth number
- The maximum bandwidth (in megabits per second) for the volume. For this property to be specified, the volume storage_generation must be 2.
- delete
Volume booleanOn Instance Delete - You can configure to delete the boot volume based on instance deletion.
- encryption string
- The encryption key CRN to encrypt the boot volume attached.
- name string
- The name of the boot volume.
- profile string
- The profile name for this boot volume.
- size number
- The size for this boot volume.(in gigabytes)
- string[]
- UserTags for the volume instance
- bandwidth float
- The maximum bandwidth (in megabits per second) for the volume. For this property to be specified, the volume storage_generation must be 2.
- delete_
volume_ boolon_ instance_ delete - You can configure to delete the boot volume based on instance deletion.
- encryption str
- The encryption key CRN to encrypt the boot volume attached.
- name str
- The name of the boot volume.
- profile str
- The profile name for this boot volume.
- size float
- The size for this boot volume.(in gigabytes)
- Sequence[str]
- UserTags for the volume instance
- bandwidth Number
- The maximum bandwidth (in megabits per second) for the volume. For this property to be specified, the volume storage_generation must be 2.
- delete
Volume BooleanOn Instance Delete - You can configure to delete the boot volume based on instance deletion.
- encryption String
- The encryption key CRN to encrypt the boot volume attached.
- name String
- The name of the boot volume.
- profile String
- The profile name for this boot volume.
- size Number
- The size for this boot volume.(in gigabytes)
- List<String>
- UserTags for the volume instance
IsInstanceTemplateCatalogOffering, IsInstanceTemplateCatalogOfferingArgs
- Deleteds
List<Is
Instance Template Catalog Offering Deleted> - If present, this property indicates the referenced resource has been deleted and provides some supplementary information.
- Offering
Crn string - The CRN for this catalog offering. Identifies a catalog offering by this unique property. Conflicts with
catalog_offering.0.version_crn
- Plan
Crn string - The CRN for this catalog offering version's billing plan. If unspecified, no billing plan will be used (free). Must be specified for catalog offering versions that require a billing plan to be used.
- Version
Crn string - The CRN for this version of a catalog offering. Identifies a version of a catalog offering by this unique property. Conflicts with
catalog_offering.0.offering_crn
- Deleteds
[]Is
Instance Template Catalog Offering Deleted - If present, this property indicates the referenced resource has been deleted and provides some supplementary information.
- Offering
Crn string - The CRN for this catalog offering. Identifies a catalog offering by this unique property. Conflicts with
catalog_offering.0.version_crn
- Plan
Crn string - The CRN for this catalog offering version's billing plan. If unspecified, no billing plan will be used (free). Must be specified for catalog offering versions that require a billing plan to be used.
- Version
Crn string - The CRN for this version of a catalog offering. Identifies a version of a catalog offering by this unique property. Conflicts with
catalog_offering.0.offering_crn
- deleteds
List<Is
Instance Template Catalog Offering Deleted> - If present, this property indicates the referenced resource has been deleted and provides some supplementary information.
- offering
Crn String - The CRN for this catalog offering. Identifies a catalog offering by this unique property. Conflicts with
catalog_offering.0.version_crn
- plan
Crn String - The CRN for this catalog offering version's billing plan. If unspecified, no billing plan will be used (free). Must be specified for catalog offering versions that require a billing plan to be used.
- version
Crn String - The CRN for this version of a catalog offering. Identifies a version of a catalog offering by this unique property. Conflicts with
catalog_offering.0.offering_crn
- deleteds
Is
Instance Template Catalog Offering Deleted[] - If present, this property indicates the referenced resource has been deleted and provides some supplementary information.
- offering
Crn string - The CRN for this catalog offering. Identifies a catalog offering by this unique property. Conflicts with
catalog_offering.0.version_crn
- plan
Crn string - The CRN for this catalog offering version's billing plan. If unspecified, no billing plan will be used (free). Must be specified for catalog offering versions that require a billing plan to be used.
- version
Crn string - The CRN for this version of a catalog offering. Identifies a version of a catalog offering by this unique property. Conflicts with
catalog_offering.0.offering_crn
- deleteds
Sequence[Is
Instance Template Catalog Offering Deleted] - If present, this property indicates the referenced resource has been deleted and provides some supplementary information.
- offering_
crn str - The CRN for this catalog offering. Identifies a catalog offering by this unique property. Conflicts with
catalog_offering.0.version_crn
- plan_
crn str - The CRN for this catalog offering version's billing plan. If unspecified, no billing plan will be used (free). Must be specified for catalog offering versions that require a billing plan to be used.
- version_
crn str - The CRN for this version of a catalog offering. Identifies a version of a catalog offering by this unique property. Conflicts with
catalog_offering.0.offering_crn
- deleteds List<Property Map>
- If present, this property indicates the referenced resource has been deleted and provides some supplementary information.
- offering
Crn String - The CRN for this catalog offering. Identifies a catalog offering by this unique property. Conflicts with
catalog_offering.0.version_crn
- plan
Crn String - The CRN for this catalog offering version's billing plan. If unspecified, no billing plan will be used (free). Must be specified for catalog offering versions that require a billing plan to be used.
- version
Crn String - The CRN for this version of a catalog offering. Identifies a version of a catalog offering by this unique property. Conflicts with
catalog_offering.0.offering_crn
IsInstanceTemplateCatalogOfferingDeleted, IsInstanceTemplateCatalogOfferingDeletedArgs
- More
Info string
- More
Info string
- more
Info String
- more
Info string
- more_
info str
- more
Info String
IsInstanceTemplateClusterNetworkAttachment, IsInstanceTemplateClusterNetworkAttachmentArgs
- Cluster
Network IsInterface Instance Template Cluster Network Attachment Cluster Network Interface - A cluster network interface for the instance cluster network attachment. This can bespecified using an existing cluster network interface that does not already have a
target
,or a prototype object for a new cluster network interface.This instance must reside in the same VPC as the specified cluster network interface. Thecluster network interface must reside in the same cluster network as thecluster_network_interface
of any othercluster_network_attachments
for this instance. Nested schema for cluster_network_interface: - Name string
- The name for this cluster network attachment. Names must be unique within the instance the cluster network attachment resides in. If unspecified, the name will be a hyphenated list of randomly-selected words. Names starting with
ibm-
are reserved for provider-owned resources, and are not allowed.
- Cluster
Network IsInterface Instance Template Cluster Network Attachment Cluster Network Interface - A cluster network interface for the instance cluster network attachment. This can bespecified using an existing cluster network interface that does not already have a
target
,or a prototype object for a new cluster network interface.This instance must reside in the same VPC as the specified cluster network interface. Thecluster network interface must reside in the same cluster network as thecluster_network_interface
of any othercluster_network_attachments
for this instance. Nested schema for cluster_network_interface: - Name string
- The name for this cluster network attachment. Names must be unique within the instance the cluster network attachment resides in. If unspecified, the name will be a hyphenated list of randomly-selected words. Names starting with
ibm-
are reserved for provider-owned resources, and are not allowed.
- cluster
Network IsInterface Instance Template Cluster Network Attachment Cluster Network Interface - A cluster network interface for the instance cluster network attachment. This can bespecified using an existing cluster network interface that does not already have a
target
,or a prototype object for a new cluster network interface.This instance must reside in the same VPC as the specified cluster network interface. Thecluster network interface must reside in the same cluster network as thecluster_network_interface
of any othercluster_network_attachments
for this instance. Nested schema for cluster_network_interface: - name String
- The name for this cluster network attachment. Names must be unique within the instance the cluster network attachment resides in. If unspecified, the name will be a hyphenated list of randomly-selected words. Names starting with
ibm-
are reserved for provider-owned resources, and are not allowed.
- cluster
Network IsInterface Instance Template Cluster Network Attachment Cluster Network Interface - A cluster network interface for the instance cluster network attachment. This can bespecified using an existing cluster network interface that does not already have a
target
,or a prototype object for a new cluster network interface.This instance must reside in the same VPC as the specified cluster network interface. Thecluster network interface must reside in the same cluster network as thecluster_network_interface
of any othercluster_network_attachments
for this instance. Nested schema for cluster_network_interface: - name string
- The name for this cluster network attachment. Names must be unique within the instance the cluster network attachment resides in. If unspecified, the name will be a hyphenated list of randomly-selected words. Names starting with
ibm-
are reserved for provider-owned resources, and are not allowed.
- cluster_
network_ Isinterface Instance Template Cluster Network Attachment Cluster Network Interface - A cluster network interface for the instance cluster network attachment. This can bespecified using an existing cluster network interface that does not already have a
target
,or a prototype object for a new cluster network interface.This instance must reside in the same VPC as the specified cluster network interface. Thecluster network interface must reside in the same cluster network as thecluster_network_interface
of any othercluster_network_attachments
for this instance. Nested schema for cluster_network_interface: - name str
- The name for this cluster network attachment. Names must be unique within the instance the cluster network attachment resides in. If unspecified, the name will be a hyphenated list of randomly-selected words. Names starting with
ibm-
are reserved for provider-owned resources, and are not allowed.
- cluster
Network Property MapInterface - A cluster network interface for the instance cluster network attachment. This can bespecified using an existing cluster network interface that does not already have a
target
,or a prototype object for a new cluster network interface.This instance must reside in the same VPC as the specified cluster network interface. Thecluster network interface must reside in the same cluster network as thecluster_network_interface
of any othercluster_network_attachments
for this instance. Nested schema for cluster_network_interface: - name String
- The name for this cluster network attachment. Names must be unique within the instance the cluster network attachment resides in. If unspecified, the name will be a hyphenated list of randomly-selected words. Names starting with
ibm-
are reserved for provider-owned resources, and are not allowed.
IsInstanceTemplateClusterNetworkAttachmentClusterNetworkInterface, IsInstanceTemplateClusterNetworkAttachmentClusterNetworkInterfaceArgs
- Auto
Delete bool - Indicates whether this cluster network interface will be automatically deleted when
target
is deleted. - Href string
- (String) The CRN for this placement target.
- Id string
- The unique identifier for this cluster network interface.
- Name string
- The name for this cluster network interface. The name must not be used by another interface in the cluster network. Names beginning with
ibm-
are reserved for provider-owned resources, and are not allowed. If unspecified, the name will be a hyphenated list of randomly-selected words. - Primary
Ip IsInstance Template Cluster Network Attachment Cluster Network Interface Primary Ip The primary IP address to bind to the cluster network interface. May be eithera cluster network subnet reserved IP identity, or a cluster network subnet reserved IPprototype object which will be used to create a new cluster network subnet reserved IP.If a cluster network subnet reserved IP identity is provided, the specified clusternetwork subnet reserved IP must be unbound.If a cluster network subnet reserved IP prototype object with an address is provided,the address must be available on the cluster network interface's cluster networksubnet. If no address is specified, an available address on the cluster network subnetwill be automatically selected and reserved.
Nested schema for primary_ip:
- Subnet
Is
Instance Template Cluster Network Attachment Cluster Network Interface Subnet The associated cluster network subnet. Required if
primary_ip
does not specify acluster network subnet reserved IP identity.Nested schema for subnet:
- Auto
Delete bool - Indicates whether this cluster network interface will be automatically deleted when
target
is deleted. - Href string
- (String) The CRN for this placement target.
- Id string
- The unique identifier for this cluster network interface.
- Name string
- The name for this cluster network interface. The name must not be used by another interface in the cluster network. Names beginning with
ibm-
are reserved for provider-owned resources, and are not allowed. If unspecified, the name will be a hyphenated list of randomly-selected words. - Primary
Ip IsInstance Template Cluster Network Attachment Cluster Network Interface Primary Ip The primary IP address to bind to the cluster network interface. May be eithera cluster network subnet reserved IP identity, or a cluster network subnet reserved IPprototype object which will be used to create a new cluster network subnet reserved IP.If a cluster network subnet reserved IP identity is provided, the specified clusternetwork subnet reserved IP must be unbound.If a cluster network subnet reserved IP prototype object with an address is provided,the address must be available on the cluster network interface's cluster networksubnet. If no address is specified, an available address on the cluster network subnetwill be automatically selected and reserved.
Nested schema for primary_ip:
- Subnet
Is
Instance Template Cluster Network Attachment Cluster Network Interface Subnet The associated cluster network subnet. Required if
primary_ip
does not specify acluster network subnet reserved IP identity.Nested schema for subnet:
- auto
Delete Boolean - Indicates whether this cluster network interface will be automatically deleted when
target
is deleted. - href String
- (String) The CRN for this placement target.
- id String
- The unique identifier for this cluster network interface.
- name String
- The name for this cluster network interface. The name must not be used by another interface in the cluster network. Names beginning with
ibm-
are reserved for provider-owned resources, and are not allowed. If unspecified, the name will be a hyphenated list of randomly-selected words. - primary
Ip IsInstance Template Cluster Network Attachment Cluster Network Interface Primary Ip The primary IP address to bind to the cluster network interface. May be eithera cluster network subnet reserved IP identity, or a cluster network subnet reserved IPprototype object which will be used to create a new cluster network subnet reserved IP.If a cluster network subnet reserved IP identity is provided, the specified clusternetwork subnet reserved IP must be unbound.If a cluster network subnet reserved IP prototype object with an address is provided,the address must be available on the cluster network interface's cluster networksubnet. If no address is specified, an available address on the cluster network subnetwill be automatically selected and reserved.
Nested schema for primary_ip:
- subnet
Is
Instance Template Cluster Network Attachment Cluster Network Interface Subnet The associated cluster network subnet. Required if
primary_ip
does not specify acluster network subnet reserved IP identity.Nested schema for subnet:
- auto
Delete boolean - Indicates whether this cluster network interface will be automatically deleted when
target
is deleted. - href string
- (String) The CRN for this placement target.
- id string
- The unique identifier for this cluster network interface.
- name string
- The name for this cluster network interface. The name must not be used by another interface in the cluster network. Names beginning with
ibm-
are reserved for provider-owned resources, and are not allowed. If unspecified, the name will be a hyphenated list of randomly-selected words. - primary
Ip IsInstance Template Cluster Network Attachment Cluster Network Interface Primary Ip The primary IP address to bind to the cluster network interface. May be eithera cluster network subnet reserved IP identity, or a cluster network subnet reserved IPprototype object which will be used to create a new cluster network subnet reserved IP.If a cluster network subnet reserved IP identity is provided, the specified clusternetwork subnet reserved IP must be unbound.If a cluster network subnet reserved IP prototype object with an address is provided,the address must be available on the cluster network interface's cluster networksubnet. If no address is specified, an available address on the cluster network subnetwill be automatically selected and reserved.
Nested schema for primary_ip:
- subnet
Is
Instance Template Cluster Network Attachment Cluster Network Interface Subnet The associated cluster network subnet. Required if
primary_ip
does not specify acluster network subnet reserved IP identity.Nested schema for subnet:
- auto_
delete bool - Indicates whether this cluster network interface will be automatically deleted when
target
is deleted. - href str
- (String) The CRN for this placement target.
- id str
- The unique identifier for this cluster network interface.
- name str
- The name for this cluster network interface. The name must not be used by another interface in the cluster network. Names beginning with
ibm-
are reserved for provider-owned resources, and are not allowed. If unspecified, the name will be a hyphenated list of randomly-selected words. - primary_
ip IsInstance Template Cluster Network Attachment Cluster Network Interface Primary Ip The primary IP address to bind to the cluster network interface. May be eithera cluster network subnet reserved IP identity, or a cluster network subnet reserved IPprototype object which will be used to create a new cluster network subnet reserved IP.If a cluster network subnet reserved IP identity is provided, the specified clusternetwork subnet reserved IP must be unbound.If a cluster network subnet reserved IP prototype object with an address is provided,the address must be available on the cluster network interface's cluster networksubnet. If no address is specified, an available address on the cluster network subnetwill be automatically selected and reserved.
Nested schema for primary_ip:
- subnet
Is
Instance Template Cluster Network Attachment Cluster Network Interface Subnet The associated cluster network subnet. Required if
primary_ip
does not specify acluster network subnet reserved IP identity.Nested schema for subnet:
- auto
Delete Boolean - Indicates whether this cluster network interface will be automatically deleted when
target
is deleted. - href String
- (String) The CRN for this placement target.
- id String
- The unique identifier for this cluster network interface.
- name String
- The name for this cluster network interface. The name must not be used by another interface in the cluster network. Names beginning with
ibm-
are reserved for provider-owned resources, and are not allowed. If unspecified, the name will be a hyphenated list of randomly-selected words. - primary
Ip Property Map The primary IP address to bind to the cluster network interface. May be eithera cluster network subnet reserved IP identity, or a cluster network subnet reserved IPprototype object which will be used to create a new cluster network subnet reserved IP.If a cluster network subnet reserved IP identity is provided, the specified clusternetwork subnet reserved IP must be unbound.If a cluster network subnet reserved IP prototype object with an address is provided,the address must be available on the cluster network interface's cluster networksubnet. If no address is specified, an available address on the cluster network subnetwill be automatically selected and reserved.
Nested schema for primary_ip:
- subnet Property Map
The associated cluster network subnet. Required if
primary_ip
does not specify acluster network subnet reserved IP identity.Nested schema for subnet:
IsInstanceTemplateClusterNetworkAttachmentClusterNetworkInterfacePrimaryIp, IsInstanceTemplateClusterNetworkAttachmentClusterNetworkInterfacePrimaryIpArgs
- Address string
- The IP address to reserve, which must not already be reserved on the subnet.If unspecified, an available address on the subnet will automatically be selected.
- Auto
Delete bool - Indicates whether this cluster network subnet reserved IP member will be automatically deleted when either
target
is deleted, or the cluster network subnet reserved IP is unbound. - Href string
- (String) The CRN for this placement target.
- Id string
- (String) The URL for this placement target.
- Name string
- The name for this cluster network subnet reserved IP. The name must not be used by another reserved IP in the cluster network subnet. Names starting with
ibm-
are reserved for provider-owned resources, and are not allowed. If unspecified, the name will be a hyphenated list of randomly-selected words.
- Address string
- The IP address to reserve, which must not already be reserved on the subnet.If unspecified, an available address on the subnet will automatically be selected.
- Auto
Delete bool - Indicates whether this cluster network subnet reserved IP member will be automatically deleted when either
target
is deleted, or the cluster network subnet reserved IP is unbound. - Href string
- (String) The CRN for this placement target.
- Id string
- (String) The URL for this placement target.
- Name string
- The name for this cluster network subnet reserved IP. The name must not be used by another reserved IP in the cluster network subnet. Names starting with
ibm-
are reserved for provider-owned resources, and are not allowed. If unspecified, the name will be a hyphenated list of randomly-selected words.
- address String
- The IP address to reserve, which must not already be reserved on the subnet.If unspecified, an available address on the subnet will automatically be selected.
- auto
Delete Boolean - Indicates whether this cluster network subnet reserved IP member will be automatically deleted when either
target
is deleted, or the cluster network subnet reserved IP is unbound. - href String
- (String) The CRN for this placement target.
- id String
- (String) The URL for this placement target.
- name String
- The name for this cluster network subnet reserved IP. The name must not be used by another reserved IP in the cluster network subnet. Names starting with
ibm-
are reserved for provider-owned resources, and are not allowed. If unspecified, the name will be a hyphenated list of randomly-selected words.
- address string
- The IP address to reserve, which must not already be reserved on the subnet.If unspecified, an available address on the subnet will automatically be selected.
- auto
Delete boolean - Indicates whether this cluster network subnet reserved IP member will be automatically deleted when either
target
is deleted, or the cluster network subnet reserved IP is unbound. - href string
- (String) The CRN for this placement target.
- id string
- (String) The URL for this placement target.
- name string
- The name for this cluster network subnet reserved IP. The name must not be used by another reserved IP in the cluster network subnet. Names starting with
ibm-
are reserved for provider-owned resources, and are not allowed. If unspecified, the name will be a hyphenated list of randomly-selected words.
- address str
- The IP address to reserve, which must not already be reserved on the subnet.If unspecified, an available address on the subnet will automatically be selected.
- auto_
delete bool - Indicates whether this cluster network subnet reserved IP member will be automatically deleted when either
target
is deleted, or the cluster network subnet reserved IP is unbound. - href str
- (String) The CRN for this placement target.
- id str
- (String) The URL for this placement target.
- name str
- The name for this cluster network subnet reserved IP. The name must not be used by another reserved IP in the cluster network subnet. Names starting with
ibm-
are reserved for provider-owned resources, and are not allowed. If unspecified, the name will be a hyphenated list of randomly-selected words.
- address String
- The IP address to reserve, which must not already be reserved on the subnet.If unspecified, an available address on the subnet will automatically be selected.
- auto
Delete Boolean - Indicates whether this cluster network subnet reserved IP member will be automatically deleted when either
target
is deleted, or the cluster network subnet reserved IP is unbound. - href String
- (String) The CRN for this placement target.
- id String
- (String) The URL for this placement target.
- name String
- The name for this cluster network subnet reserved IP. The name must not be used by another reserved IP in the cluster network subnet. Names starting with
ibm-
are reserved for provider-owned resources, and are not allowed. If unspecified, the name will be a hyphenated list of randomly-selected words.
IsInstanceTemplateClusterNetworkAttachmentClusterNetworkInterfaceSubnet, IsInstanceTemplateClusterNetworkAttachmentClusterNetworkInterfaceSubnetArgs
IsInstanceTemplateMetadataService, IsInstanceTemplateMetadataServiceArgs
- Enabled bool
- Indicates whether the metadata service endpoint will be available to the virtual server instance. Default is false
- Protocol string
- The communication protocol to use for the metadata service endpoint. Applies only when the metadata service is enabled. Default is http
- Response
Hop doubleLimit - The hop limit (IP time to live) for IP response packets from the metadata service. Default is 1
- Enabled bool
- Indicates whether the metadata service endpoint will be available to the virtual server instance. Default is false
- Protocol string
- The communication protocol to use for the metadata service endpoint. Applies only when the metadata service is enabled. Default is http
- Response
Hop float64Limit - The hop limit (IP time to live) for IP response packets from the metadata service. Default is 1
- enabled Boolean
- Indicates whether the metadata service endpoint will be available to the virtual server instance. Default is false
- protocol String
- The communication protocol to use for the metadata service endpoint. Applies only when the metadata service is enabled. Default is http
- response
Hop DoubleLimit - The hop limit (IP time to live) for IP response packets from the metadata service. Default is 1
- enabled boolean
- Indicates whether the metadata service endpoint will be available to the virtual server instance. Default is false
- protocol string
- The communication protocol to use for the metadata service endpoint. Applies only when the metadata service is enabled. Default is http
- response
Hop numberLimit - The hop limit (IP time to live) for IP response packets from the metadata service. Default is 1
- enabled bool
- Indicates whether the metadata service endpoint will be available to the virtual server instance. Default is false
- protocol str
- The communication protocol to use for the metadata service endpoint. Applies only when the metadata service is enabled. Default is http
- response_
hop_ floatlimit - The hop limit (IP time to live) for IP response packets from the metadata service. Default is 1
- enabled Boolean
- Indicates whether the metadata service endpoint will be available to the virtual server instance. Default is false
- protocol String
- The communication protocol to use for the metadata service endpoint. Applies only when the metadata service is enabled. Default is http
- response
Hop NumberLimit - The hop limit (IP time to live) for IP response packets from the metadata service. Default is 1
IsInstanceTemplateNetworkAttachment, IsInstanceTemplateNetworkAttachmentArgs
- Deleteds
List<Is
Instance Template Network Attachment Deleted> - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- Href string
- The URL for this network attachment.
- Id string
- The unique identifier for this network attachment.
- Name string
- Name of the attachment.
- Resource
Type string - The resource type.
- Virtual
Network IsInterface Instance Template Network Attachment Virtual Network Interface - ) The details of the virtual network interface for this network attachment. It can either accept an
id
or properties ofvirtual_network_interface
Nested schema for virtual_network_interface:
- Deleteds
[]Is
Instance Template Network Attachment Deleted - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- Href string
- The URL for this network attachment.
- Id string
- The unique identifier for this network attachment.
- Name string
- Name of the attachment.
- Resource
Type string - The resource type.
- Virtual
Network IsInterface Instance Template Network Attachment Virtual Network Interface - ) The details of the virtual network interface for this network attachment. It can either accept an
id
or properties ofvirtual_network_interface
Nested schema for virtual_network_interface:
- deleteds
List<Is
Instance Template Network Attachment Deleted> - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- href String
- The URL for this network attachment.
- id String
- The unique identifier for this network attachment.
- name String
- Name of the attachment.
- resource
Type String - The resource type.
- virtual
Network IsInterface Instance Template Network Attachment Virtual Network Interface - ) The details of the virtual network interface for this network attachment. It can either accept an
id
or properties ofvirtual_network_interface
Nested schema for virtual_network_interface:
- deleteds
Is
Instance Template Network Attachment Deleted[] - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- href string
- The URL for this network attachment.
- id string
- The unique identifier for this network attachment.
- name string
- Name of the attachment.
- resource
Type string - The resource type.
- virtual
Network IsInterface Instance Template Network Attachment Virtual Network Interface - ) The details of the virtual network interface for this network attachment. It can either accept an
id
or properties ofvirtual_network_interface
Nested schema for virtual_network_interface:
- deleteds
Sequence[Is
Instance Template Network Attachment Deleted] - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- href str
- The URL for this network attachment.
- id str
- The unique identifier for this network attachment.
- name str
- Name of the attachment.
- resource_
type str - The resource type.
- virtual_
network_ Isinterface Instance Template Network Attachment Virtual Network Interface - ) The details of the virtual network interface for this network attachment. It can either accept an
id
or properties ofvirtual_network_interface
Nested schema for virtual_network_interface:
- deleteds List<Property Map>
- If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- href String
- The URL for this network attachment.
- id String
- The unique identifier for this network attachment.
- name String
- Name of the attachment.
- resource
Type String - The resource type.
- virtual
Network Property MapInterface - ) The details of the virtual network interface for this network attachment. It can either accept an
id
or properties ofvirtual_network_interface
Nested schema for virtual_network_interface:
IsInstanceTemplateNetworkAttachmentDeleted, IsInstanceTemplateNetworkAttachmentDeletedArgs
- More
Info string - Link to documentation about deleted resources.
- More
Info string - Link to documentation about deleted resources.
- more
Info String - Link to documentation about deleted resources.
- more
Info string - Link to documentation about deleted resources.
- more_
info str - Link to documentation about deleted resources.
- more
Info String - Link to documentation about deleted resources.
IsInstanceTemplateNetworkAttachmentVirtualNetworkInterface, IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfaceArgs
- Allow
Ip boolSpoofing - Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
- Auto
Delete bool - Indicates whether this virtual network interface will be automatically deleted when target is deleted
- Enable
Infrastructure boolNat - If true: The VPC infrastructure performs any needed NAT operations and floating_ips must not have more than one floating IP. If false: Packets are passed unchanged to/from the virtual network interface, allowing the workload to perform any needed NAT operations, allow_ip_spoofing must be false, can only be attached to a target with a resource_type of bare_metal_server_network_attachment.
- Id string
- The
id
of the virtual network interface, id conflicts with other properties of virtual network interface - Ips
List<Is
Instance Template Network Attachment Virtual Network Interface Ip> Additional IP addresses to bind to the virtual network interface. Each item may be either a reserved IP identity, or a reserved IP prototype object which will be used to create a new reserved IP. All IP addresses must be in the primary IP's subnet.
NOTE to add
ips
only existingreserved_ip
is supported, new reserved_ip creation is not supported as it leads to unmanaged(dangling) reserved ips. Useibm.IsSubnetReservedIp
to create a reserved_ip- Name string
- The resource type.
- Primary
Ips List<IsInstance Template Network Attachment Virtual Network Interface Primary Ip> - The primary IP address of the virtual network interface for the network attachment. Nested schema for primary_ip:
- Protocol
State stringFiltering Mode The protocol state filtering mode to use for this virtual network interface.
If auto, protocol state packet filtering is enabled or disabled based on the virtual network interface's target resource type: • bare_metal_server_network_attachment: disabled • instance_network_attachment: enabled • share_mount_target: enabled
- Resource
Group string - The resource type.
- Resource
Type string - The resource type.
- Security
Groups List<string> - The resource type.
- Subnet string
- The subnet id of the virtual network interface for the network attachment.
- Allow
Ip boolSpoofing - Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
- Auto
Delete bool - Indicates whether this virtual network interface will be automatically deleted when target is deleted
- Enable
Infrastructure boolNat - If true: The VPC infrastructure performs any needed NAT operations and floating_ips must not have more than one floating IP. If false: Packets are passed unchanged to/from the virtual network interface, allowing the workload to perform any needed NAT operations, allow_ip_spoofing must be false, can only be attached to a target with a resource_type of bare_metal_server_network_attachment.
- Id string
- The
id
of the virtual network interface, id conflicts with other properties of virtual network interface - Ips
[]Is
Instance Template Network Attachment Virtual Network Interface Ip Additional IP addresses to bind to the virtual network interface. Each item may be either a reserved IP identity, or a reserved IP prototype object which will be used to create a new reserved IP. All IP addresses must be in the primary IP's subnet.
NOTE to add
ips
only existingreserved_ip
is supported, new reserved_ip creation is not supported as it leads to unmanaged(dangling) reserved ips. Useibm.IsSubnetReservedIp
to create a reserved_ip- Name string
- The resource type.
- Primary
Ips []IsInstance Template Network Attachment Virtual Network Interface Primary Ip - The primary IP address of the virtual network interface for the network attachment. Nested schema for primary_ip:
- Protocol
State stringFiltering Mode The protocol state filtering mode to use for this virtual network interface.
If auto, protocol state packet filtering is enabled or disabled based on the virtual network interface's target resource type: • bare_metal_server_network_attachment: disabled • instance_network_attachment: enabled • share_mount_target: enabled
- Resource
Group string - The resource type.
- Resource
Type string - The resource type.
- Security
Groups []string - The resource type.
- Subnet string
- The subnet id of the virtual network interface for the network attachment.
- allow
Ip BooleanSpoofing - Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
- auto
Delete Boolean - Indicates whether this virtual network interface will be automatically deleted when target is deleted
- enable
Infrastructure BooleanNat - If true: The VPC infrastructure performs any needed NAT operations and floating_ips must not have more than one floating IP. If false: Packets are passed unchanged to/from the virtual network interface, allowing the workload to perform any needed NAT operations, allow_ip_spoofing must be false, can only be attached to a target with a resource_type of bare_metal_server_network_attachment.
- id String
- The
id
of the virtual network interface, id conflicts with other properties of virtual network interface - ips
List<Is
Instance Template Network Attachment Virtual Network Interface Ip> Additional IP addresses to bind to the virtual network interface. Each item may be either a reserved IP identity, or a reserved IP prototype object which will be used to create a new reserved IP. All IP addresses must be in the primary IP's subnet.
NOTE to add
ips
only existingreserved_ip
is supported, new reserved_ip creation is not supported as it leads to unmanaged(dangling) reserved ips. Useibm.IsSubnetReservedIp
to create a reserved_ip- name String
- The resource type.
- primary
Ips List<IsInstance Template Network Attachment Virtual Network Interface Primary Ip> - The primary IP address of the virtual network interface for the network attachment. Nested schema for primary_ip:
- protocol
State StringFiltering Mode The protocol state filtering mode to use for this virtual network interface.
If auto, protocol state packet filtering is enabled or disabled based on the virtual network interface's target resource type: • bare_metal_server_network_attachment: disabled • instance_network_attachment: enabled • share_mount_target: enabled
- resource
Group String - The resource type.
- resource
Type String - The resource type.
- security
Groups List<String> - The resource type.
- subnet String
- The subnet id of the virtual network interface for the network attachment.
- allow
Ip booleanSpoofing - Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
- auto
Delete boolean - Indicates whether this virtual network interface will be automatically deleted when target is deleted
- enable
Infrastructure booleanNat - If true: The VPC infrastructure performs any needed NAT operations and floating_ips must not have more than one floating IP. If false: Packets are passed unchanged to/from the virtual network interface, allowing the workload to perform any needed NAT operations, allow_ip_spoofing must be false, can only be attached to a target with a resource_type of bare_metal_server_network_attachment.
- id string
- The
id
of the virtual network interface, id conflicts with other properties of virtual network interface - ips
Is
Instance Template Network Attachment Virtual Network Interface Ip[] Additional IP addresses to bind to the virtual network interface. Each item may be either a reserved IP identity, or a reserved IP prototype object which will be used to create a new reserved IP. All IP addresses must be in the primary IP's subnet.
NOTE to add
ips
only existingreserved_ip
is supported, new reserved_ip creation is not supported as it leads to unmanaged(dangling) reserved ips. Useibm.IsSubnetReservedIp
to create a reserved_ip- name string
- The resource type.
- primary
Ips IsInstance Template Network Attachment Virtual Network Interface Primary Ip[] - The primary IP address of the virtual network interface for the network attachment. Nested schema for primary_ip:
- protocol
State stringFiltering Mode The protocol state filtering mode to use for this virtual network interface.
If auto, protocol state packet filtering is enabled or disabled based on the virtual network interface's target resource type: • bare_metal_server_network_attachment: disabled • instance_network_attachment: enabled • share_mount_target: enabled
- resource
Group string - The resource type.
- resource
Type string - The resource type.
- security
Groups string[] - The resource type.
- subnet string
- The subnet id of the virtual network interface for the network attachment.
- allow_
ip_ boolspoofing - Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
- auto_
delete bool - Indicates whether this virtual network interface will be automatically deleted when target is deleted
- enable_
infrastructure_ boolnat - If true: The VPC infrastructure performs any needed NAT operations and floating_ips must not have more than one floating IP. If false: Packets are passed unchanged to/from the virtual network interface, allowing the workload to perform any needed NAT operations, allow_ip_spoofing must be false, can only be attached to a target with a resource_type of bare_metal_server_network_attachment.
- id str
- The
id
of the virtual network interface, id conflicts with other properties of virtual network interface - ips
Sequence[Is
Instance Template Network Attachment Virtual Network Interface Ip] Additional IP addresses to bind to the virtual network interface. Each item may be either a reserved IP identity, or a reserved IP prototype object which will be used to create a new reserved IP. All IP addresses must be in the primary IP's subnet.
NOTE to add
ips
only existingreserved_ip
is supported, new reserved_ip creation is not supported as it leads to unmanaged(dangling) reserved ips. Useibm.IsSubnetReservedIp
to create a reserved_ip- name str
- The resource type.
- primary_
ips Sequence[IsInstance Template Network Attachment Virtual Network Interface Primary Ip] - The primary IP address of the virtual network interface for the network attachment. Nested schema for primary_ip:
- protocol_
state_ strfiltering_ mode The protocol state filtering mode to use for this virtual network interface.
If auto, protocol state packet filtering is enabled or disabled based on the virtual network interface's target resource type: • bare_metal_server_network_attachment: disabled • instance_network_attachment: enabled • share_mount_target: enabled
- resource_
group str - The resource type.
- resource_
type str - The resource type.
- security_
groups Sequence[str] - The resource type.
- subnet str
- The subnet id of the virtual network interface for the network attachment.
- allow
Ip BooleanSpoofing - Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
- auto
Delete Boolean - Indicates whether this virtual network interface will be automatically deleted when target is deleted
- enable
Infrastructure BooleanNat - If true: The VPC infrastructure performs any needed NAT operations and floating_ips must not have more than one floating IP. If false: Packets are passed unchanged to/from the virtual network interface, allowing the workload to perform any needed NAT operations, allow_ip_spoofing must be false, can only be attached to a target with a resource_type of bare_metal_server_network_attachment.
- id String
- The
id
of the virtual network interface, id conflicts with other properties of virtual network interface - ips List<Property Map>
Additional IP addresses to bind to the virtual network interface. Each item may be either a reserved IP identity, or a reserved IP prototype object which will be used to create a new reserved IP. All IP addresses must be in the primary IP's subnet.
NOTE to add
ips
only existingreserved_ip
is supported, new reserved_ip creation is not supported as it leads to unmanaged(dangling) reserved ips. Useibm.IsSubnetReservedIp
to create a reserved_ip- name String
- The resource type.
- primary
Ips List<Property Map> - The primary IP address of the virtual network interface for the network attachment. Nested schema for primary_ip:
- protocol
State StringFiltering Mode The protocol state filtering mode to use for this virtual network interface.
If auto, protocol state packet filtering is enabled or disabled based on the virtual network interface's target resource type: • bare_metal_server_network_attachment: disabled • instance_network_attachment: enabled • share_mount_target: enabled
- resource
Group String - The resource type.
- resource
Type String - The resource type.
- security
Groups List<String> - The resource type.
- subnet String
- The subnet id of the virtual network interface for the network attachment.
IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfaceIp, IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfaceIpArgs
- Address string
- The IP address.If the address has not yet been selected, the value will be
0.0.0.0
.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered. - Auto
Delete bool - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
- Deleteds
List<Is
Instance Template Network Attachment Virtual Network Interface Ip Deleted> - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
- Href string
- (String) The CRN for this placement target.
- Name string
- The name of the instance template.
- Reserved
Ip string - The unique identifier for this reserved IP.
- Resource
Type string - The resource type.
- Address string
- The IP address.If the address has not yet been selected, the value will be
0.0.0.0
.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered. - Auto
Delete bool - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
- Deleteds
[]Is
Instance Template Network Attachment Virtual Network Interface Ip Deleted - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
- Href string
- (String) The CRN for this placement target.
- Name string
- The name of the instance template.
- Reserved
Ip string - The unique identifier for this reserved IP.
- Resource
Type string - The resource type.
- address String
- The IP address.If the address has not yet been selected, the value will be
0.0.0.0
.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered. - auto
Delete Boolean - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
- deleteds
List<Is
Instance Template Network Attachment Virtual Network Interface Ip Deleted> - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
- href String
- (String) The CRN for this placement target.
- name String
- The name of the instance template.
- reserved
Ip String - The unique identifier for this reserved IP.
- resource
Type String - The resource type.
- address string
- The IP address.If the address has not yet been selected, the value will be
0.0.0.0
.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered. - auto
Delete boolean - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
- deleteds
Is
Instance Template Network Attachment Virtual Network Interface Ip Deleted[] - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
- href string
- (String) The CRN for this placement target.
- name string
- The name of the instance template.
- reserved
Ip string - The unique identifier for this reserved IP.
- resource
Type string - The resource type.
- address str
- The IP address.If the address has not yet been selected, the value will be
0.0.0.0
.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered. - auto_
delete bool - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
- deleteds
Sequence[Is
Instance Template Network Attachment Virtual Network Interface Ip Deleted] - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
- href str
- (String) The CRN for this placement target.
- name str
- The name of the instance template.
- reserved_
ip str - The unique identifier for this reserved IP.
- resource_
type str - The resource type.
- address String
- The IP address.If the address has not yet been selected, the value will be
0.0.0.0
.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered. - auto
Delete Boolean - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
- deleteds List<Property Map>
- If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
- href String
- (String) The CRN for this placement target.
- name String
- The name of the instance template.
- reserved
Ip String - The unique identifier for this reserved IP.
- resource
Type String - The resource type.
IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfaceIpDeleted, IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfaceIpDeletedArgs
- More
Info string
- More
Info string
- more
Info String
- more
Info string
- more_
info str
- more
Info String
IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfacePrimaryIp, IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfacePrimaryIpArgs
- Address string
- The IP address.If the address has not yet been selected, the value will be
0.0.0.0
.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered. - Auto
Delete bool - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
- Deleteds
List<Is
Instance Template Network Attachment Virtual Network Interface Primary Ip Deleted> - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- Href string
- The URL for this reserved IP.
- Name string
- The name for this reserved IP. The name is unique across all reserved IPs in a subnet.
- Reserved
Ip string - The unique identifier for this reserved IP.
- Resource
Type string - The resource type.
- Address string
- The IP address.If the address has not yet been selected, the value will be
0.0.0.0
.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered. - Auto
Delete bool - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
- Deleteds
[]Is
Instance Template Network Attachment Virtual Network Interface Primary Ip Deleted - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- Href string
- The URL for this reserved IP.
- Name string
- The name for this reserved IP. The name is unique across all reserved IPs in a subnet.
- Reserved
Ip string - The unique identifier for this reserved IP.
- Resource
Type string - The resource type.
- address String
- The IP address.If the address has not yet been selected, the value will be
0.0.0.0
.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered. - auto
Delete Boolean - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
- deleteds
List<Is
Instance Template Network Attachment Virtual Network Interface Primary Ip Deleted> - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- href String
- The URL for this reserved IP.
- name String
- The name for this reserved IP. The name is unique across all reserved IPs in a subnet.
- reserved
Ip String - The unique identifier for this reserved IP.
- resource
Type String - The resource type.
- address string
- The IP address.If the address has not yet been selected, the value will be
0.0.0.0
.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered. - auto
Delete boolean - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
- deleteds
Is
Instance Template Network Attachment Virtual Network Interface Primary Ip Deleted[] - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- href string
- The URL for this reserved IP.
- name string
- The name for this reserved IP. The name is unique across all reserved IPs in a subnet.
- reserved
Ip string - The unique identifier for this reserved IP.
- resource
Type string - The resource type.
- address str
- The IP address.If the address has not yet been selected, the value will be
0.0.0.0
.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered. - auto_
delete bool - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
- deleteds
Sequence[Is
Instance Template Network Attachment Virtual Network Interface Primary Ip Deleted] - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- href str
- The URL for this reserved IP.
- name str
- The name for this reserved IP. The name is unique across all reserved IPs in a subnet.
- reserved_
ip str - The unique identifier for this reserved IP.
- resource_
type str - The resource type.
- address String
- The IP address.If the address has not yet been selected, the value will be
0.0.0.0
.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered. - auto
Delete Boolean - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
- deleteds List<Property Map>
- If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- href String
- The URL for this reserved IP.
- name String
- The name for this reserved IP. The name is unique across all reserved IPs in a subnet.
- reserved
Ip String - The unique identifier for this reserved IP.
- resource
Type String - The resource type.
IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeleted, IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeletedArgs
- More
Info string - Link to documentation about deleted resources.
- More
Info string - Link to documentation about deleted resources.
- more
Info String - Link to documentation about deleted resources.
- more
Info string - Link to documentation about deleted resources.
- more_
info str - Link to documentation about deleted resources.
- more
Info String - Link to documentation about deleted resources.
IsInstanceTemplateNetworkInterface, IsInstanceTemplateNetworkInterfaceArgs
- Subnet string
- Allow
Ip boolSpoofing - Indicates whether IP spoofing is allowed on this interface. If set to false IP spoofing is prevented on the interface. If set to true, IP spoofing is allowed on the interface.
- Name string
- The name of the interface.
- Primary
Ip IsInstance Template Network Interface Primary Ip - The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
- Primary
Ipv4Address string - The IPv4 address assigned to the network interface.
- Security
Groups List<string>
- Subnet string
- Allow
Ip boolSpoofing - Indicates whether IP spoofing is allowed on this interface. If set to false IP spoofing is prevented on the interface. If set to true, IP spoofing is allowed on the interface.
- Name string
- The name of the interface.
- Primary
Ip IsInstance Template Network Interface Primary Ip - The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
- Primary
Ipv4Address string - The IPv4 address assigned to the network interface.
- Security
Groups []string
- subnet String
- allow
Ip BooleanSpoofing - Indicates whether IP spoofing is allowed on this interface. If set to false IP spoofing is prevented on the interface. If set to true, IP spoofing is allowed on the interface.
- name String
- The name of the interface.
- primary
Ip IsInstance Template Network Interface Primary Ip - The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
- primary
Ipv4Address String - The IPv4 address assigned to the network interface.
- security
Groups List<String>
- subnet string
- allow
Ip booleanSpoofing - Indicates whether IP spoofing is allowed on this interface. If set to false IP spoofing is prevented on the interface. If set to true, IP spoofing is allowed on the interface.
- name string
- The name of the interface.
- primary
Ip IsInstance Template Network Interface Primary Ip - The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
- primary
Ipv4Address string - The IPv4 address assigned to the network interface.
- security
Groups string[]
- subnet str
- allow_
ip_ boolspoofing - Indicates whether IP spoofing is allowed on this interface. If set to false IP spoofing is prevented on the interface. If set to true, IP spoofing is allowed on the interface.
- name str
- The name of the interface.
- primary_
ip IsInstance Template Network Interface Primary Ip - The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
- primary_
ipv4_ straddress - The IPv4 address assigned to the network interface.
- security_
groups Sequence[str]
- subnet String
- allow
Ip BooleanSpoofing - Indicates whether IP spoofing is allowed on this interface. If set to false IP spoofing is prevented on the interface. If set to true, IP spoofing is allowed on the interface.
- name String
- The name of the interface.
- primary
Ip Property Map - The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
- primary
Ipv4Address String - The IPv4 address assigned to the network interface.
- security
Groups List<String>
IsInstanceTemplateNetworkInterfacePrimaryIp, IsInstanceTemplateNetworkInterfacePrimaryIpArgs
- Address string
- The IP address to reserve, which must not already be reserved on the subnet.
- Auto
Delete bool - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
- Name string
- The name of the instance template.
- Reserved
Ip string - Identifies a reserved IP by a unique property.
- Address string
- The IP address to reserve, which must not already be reserved on the subnet.
- Auto
Delete bool - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
- Name string
- The name of the instance template.
- Reserved
Ip string - Identifies a reserved IP by a unique property.
- address String
- The IP address to reserve, which must not already be reserved on the subnet.
- auto
Delete Boolean - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
- name String
- The name of the instance template.
- reserved
Ip String - Identifies a reserved IP by a unique property.
- address string
- The IP address to reserve, which must not already be reserved on the subnet.
- auto
Delete boolean - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
- name string
- The name of the instance template.
- reserved
Ip string - Identifies a reserved IP by a unique property.
- address str
- The IP address to reserve, which must not already be reserved on the subnet.
- auto_
delete bool - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
- name str
- The name of the instance template.
- reserved_
ip str - Identifies a reserved IP by a unique property.
- address String
- The IP address to reserve, which must not already be reserved on the subnet.
- auto
Delete Boolean - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
- name String
- The name of the instance template.
- reserved
Ip String - Identifies a reserved IP by a unique property.
IsInstanceTemplatePlacementTarget, IsInstanceTemplatePlacementTargetArgs
IsInstanceTemplatePrimaryNetworkAttachment, IsInstanceTemplatePrimaryNetworkAttachmentArgs
- Deleteds
List<Is
Instance Template Primary Network Attachment Deleted> - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- Href string
- The URL for this network attachment.
- Id string
- The unique identifier for this network attachment.
- Name string
- The name of this network attachment
- Resource
Type string - The resource type.
- Virtual
Network IsInterface Instance Template Primary Network Attachment Virtual Network Interface - ) The details of the virtual network interface for this network attachment. It can either accept an
id
or properties ofvirtual_network_interface
Nested schema for virtual_network_interface:
- Deleteds
[]Is
Instance Template Primary Network Attachment Deleted - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- Href string
- The URL for this network attachment.
- Id string
- The unique identifier for this network attachment.
- Name string
- The name of this network attachment
- Resource
Type string - The resource type.
- Virtual
Network IsInterface Instance Template Primary Network Attachment Virtual Network Interface - ) The details of the virtual network interface for this network attachment. It can either accept an
id
or properties ofvirtual_network_interface
Nested schema for virtual_network_interface:
- deleteds
List<Is
Instance Template Primary Network Attachment Deleted> - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- href String
- The URL for this network attachment.
- id String
- The unique identifier for this network attachment.
- name String
- The name of this network attachment
- resource
Type String - The resource type.
- virtual
Network IsInterface Instance Template Primary Network Attachment Virtual Network Interface - ) The details of the virtual network interface for this network attachment. It can either accept an
id
or properties ofvirtual_network_interface
Nested schema for virtual_network_interface:
- deleteds
Is
Instance Template Primary Network Attachment Deleted[] - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- href string
- The URL for this network attachment.
- id string
- The unique identifier for this network attachment.
- name string
- The name of this network attachment
- resource
Type string - The resource type.
- virtual
Network IsInterface Instance Template Primary Network Attachment Virtual Network Interface - ) The details of the virtual network interface for this network attachment. It can either accept an
id
or properties ofvirtual_network_interface
Nested schema for virtual_network_interface:
- deleteds
Sequence[Is
Instance Template Primary Network Attachment Deleted] - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- href str
- The URL for this network attachment.
- id str
- The unique identifier for this network attachment.
- name str
- The name of this network attachment
- resource_
type str - The resource type.
- virtual_
network_ Isinterface Instance Template Primary Network Attachment Virtual Network Interface - ) The details of the virtual network interface for this network attachment. It can either accept an
id
or properties ofvirtual_network_interface
Nested schema for virtual_network_interface:
- deleteds List<Property Map>
- If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- href String
- The URL for this network attachment.
- id String
- The unique identifier for this network attachment.
- name String
- The name of this network attachment
- resource
Type String - The resource type.
- virtual
Network Property MapInterface - ) The details of the virtual network interface for this network attachment. It can either accept an
id
or properties ofvirtual_network_interface
Nested schema for virtual_network_interface:
IsInstanceTemplatePrimaryNetworkAttachmentDeleted, IsInstanceTemplatePrimaryNetworkAttachmentDeletedArgs
- More
Info string - Link to documentation about deleted resources.
- More
Info string - Link to documentation about deleted resources.
- more
Info String - Link to documentation about deleted resources.
- more
Info string - Link to documentation about deleted resources.
- more_
info str - Link to documentation about deleted resources.
- more
Info String - Link to documentation about deleted resources.
IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterface, IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfaceArgs
- Allow
Ip boolSpoofing - Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
- Auto
Delete bool - Indicates whether this virtual network interface will be automatically deleted when target is deleted
- Enable
Infrastructure boolNat - If true: The VPC infrastructure performs any needed NAT operations and floating_ips must not have more than one floating IP. If false: Packets are passed unchanged to/from the virtual network interface, allowing the workload to perform any needed NAT operations, allow_ip_spoofing must be false, can only be attached to a target with a resource_type of bare_metal_server_network_attachment.
- Id string
- The
id
of the virtual network interface, id conflicts with other properties of virtual network interface - Ips
List<Is
Instance Template Primary Network Attachment Virtual Network Interface Ip> - Additional IP addresses to bind to the virtual network interface. Each item may be either a reserved IP identity, or a reserved IP prototype object which will be used to create a new reserved IP. All IP addresses must be in the primary IP's subnet.
- Name string
- The resource type.
- Primary
Ips List<IsInstance Template Primary Network Attachment Virtual Network Interface Primary Ip> - The primary IP address of the virtual network interface for the network attachment. Nested schema for primary_ip:
- Protocol
State stringFiltering Mode The protocol state filtering mode to use for this virtual network interface.
If auto, protocol state packet filtering is enabled or disabled based on the virtual network interface's target resource type: • bare_metal_server_network_attachment: disabled • instance_network_attachment: enabled • share_mount_target: enabled
- Resource
Group string - The resource type.
- Resource
Type string - The resource type.
- Security
Groups List<string> - The resource type.
- Subnet string
- The subnet id of the virtual network interface for the network attachment.
- Allow
Ip boolSpoofing - Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
- Auto
Delete bool - Indicates whether this virtual network interface will be automatically deleted when target is deleted
- Enable
Infrastructure boolNat - If true: The VPC infrastructure performs any needed NAT operations and floating_ips must not have more than one floating IP. If false: Packets are passed unchanged to/from the virtual network interface, allowing the workload to perform any needed NAT operations, allow_ip_spoofing must be false, can only be attached to a target with a resource_type of bare_metal_server_network_attachment.
- Id string
- The
id
of the virtual network interface, id conflicts with other properties of virtual network interface - Ips
[]Is
Instance Template Primary Network Attachment Virtual Network Interface Ip - Additional IP addresses to bind to the virtual network interface. Each item may be either a reserved IP identity, or a reserved IP prototype object which will be used to create a new reserved IP. All IP addresses must be in the primary IP's subnet.
- Name string
- The resource type.
- Primary
Ips []IsInstance Template Primary Network Attachment Virtual Network Interface Primary Ip - The primary IP address of the virtual network interface for the network attachment. Nested schema for primary_ip:
- Protocol
State stringFiltering Mode The protocol state filtering mode to use for this virtual network interface.
If auto, protocol state packet filtering is enabled or disabled based on the virtual network interface's target resource type: • bare_metal_server_network_attachment: disabled • instance_network_attachment: enabled • share_mount_target: enabled
- Resource
Group string - The resource type.
- Resource
Type string - The resource type.
- Security
Groups []string - The resource type.
- Subnet string
- The subnet id of the virtual network interface for the network attachment.
- allow
Ip BooleanSpoofing - Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
- auto
Delete Boolean - Indicates whether this virtual network interface will be automatically deleted when target is deleted
- enable
Infrastructure BooleanNat - If true: The VPC infrastructure performs any needed NAT operations and floating_ips must not have more than one floating IP. If false: Packets are passed unchanged to/from the virtual network interface, allowing the workload to perform any needed NAT operations, allow_ip_spoofing must be false, can only be attached to a target with a resource_type of bare_metal_server_network_attachment.
- id String
- The
id
of the virtual network interface, id conflicts with other properties of virtual network interface - ips
List<Is
Instance Template Primary Network Attachment Virtual Network Interface Ip> - Additional IP addresses to bind to the virtual network interface. Each item may be either a reserved IP identity, or a reserved IP prototype object which will be used to create a new reserved IP. All IP addresses must be in the primary IP's subnet.
- name String
- The resource type.
- primary
Ips List<IsInstance Template Primary Network Attachment Virtual Network Interface Primary Ip> - The primary IP address of the virtual network interface for the network attachment. Nested schema for primary_ip:
- protocol
State StringFiltering Mode The protocol state filtering mode to use for this virtual network interface.
If auto, protocol state packet filtering is enabled or disabled based on the virtual network interface's target resource type: • bare_metal_server_network_attachment: disabled • instance_network_attachment: enabled • share_mount_target: enabled
- resource
Group String - The resource type.
- resource
Type String - The resource type.
- security
Groups List<String> - The resource type.
- subnet String
- The subnet id of the virtual network interface for the network attachment.
- allow
Ip booleanSpoofing - Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
- auto
Delete boolean - Indicates whether this virtual network interface will be automatically deleted when target is deleted
- enable
Infrastructure booleanNat - If true: The VPC infrastructure performs any needed NAT operations and floating_ips must not have more than one floating IP. If false: Packets are passed unchanged to/from the virtual network interface, allowing the workload to perform any needed NAT operations, allow_ip_spoofing must be false, can only be attached to a target with a resource_type of bare_metal_server_network_attachment.
- id string
- The
id
of the virtual network interface, id conflicts with other properties of virtual network interface - ips
Is
Instance Template Primary Network Attachment Virtual Network Interface Ip[] - Additional IP addresses to bind to the virtual network interface. Each item may be either a reserved IP identity, or a reserved IP prototype object which will be used to create a new reserved IP. All IP addresses must be in the primary IP's subnet.
- name string
- The resource type.
- primary
Ips IsInstance Template Primary Network Attachment Virtual Network Interface Primary Ip[] - The primary IP address of the virtual network interface for the network attachment. Nested schema for primary_ip:
- protocol
State stringFiltering Mode The protocol state filtering mode to use for this virtual network interface.
If auto, protocol state packet filtering is enabled or disabled based on the virtual network interface's target resource type: • bare_metal_server_network_attachment: disabled • instance_network_attachment: enabled • share_mount_target: enabled
- resource
Group string - The resource type.
- resource
Type string - The resource type.
- security
Groups string[] - The resource type.
- subnet string
- The subnet id of the virtual network interface for the network attachment.
- allow_
ip_ boolspoofing - Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
- auto_
delete bool - Indicates whether this virtual network interface will be automatically deleted when target is deleted
- enable_
infrastructure_ boolnat - If true: The VPC infrastructure performs any needed NAT operations and floating_ips must not have more than one floating IP. If false: Packets are passed unchanged to/from the virtual network interface, allowing the workload to perform any needed NAT operations, allow_ip_spoofing must be false, can only be attached to a target with a resource_type of bare_metal_server_network_attachment.
- id str
- The
id
of the virtual network interface, id conflicts with other properties of virtual network interface - ips
Sequence[Is
Instance Template Primary Network Attachment Virtual Network Interface Ip] - Additional IP addresses to bind to the virtual network interface. Each item may be either a reserved IP identity, or a reserved IP prototype object which will be used to create a new reserved IP. All IP addresses must be in the primary IP's subnet.
- name str
- The resource type.
- primary_
ips Sequence[IsInstance Template Primary Network Attachment Virtual Network Interface Primary Ip] - The primary IP address of the virtual network interface for the network attachment. Nested schema for primary_ip:
- protocol_
state_ strfiltering_ mode The protocol state filtering mode to use for this virtual network interface.
If auto, protocol state packet filtering is enabled or disabled based on the virtual network interface's target resource type: • bare_metal_server_network_attachment: disabled • instance_network_attachment: enabled • share_mount_target: enabled
- resource_
group str - The resource type.
- resource_
type str - The resource type.
- security_
groups Sequence[str] - The resource type.
- subnet str
- The subnet id of the virtual network interface for the network attachment.
- allow
Ip BooleanSpoofing - Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
- auto
Delete Boolean - Indicates whether this virtual network interface will be automatically deleted when target is deleted
- enable
Infrastructure BooleanNat - If true: The VPC infrastructure performs any needed NAT operations and floating_ips must not have more than one floating IP. If false: Packets are passed unchanged to/from the virtual network interface, allowing the workload to perform any needed NAT operations, allow_ip_spoofing must be false, can only be attached to a target with a resource_type of bare_metal_server_network_attachment.
- id String
- The
id
of the virtual network interface, id conflicts with other properties of virtual network interface - ips List<Property Map>
- Additional IP addresses to bind to the virtual network interface. Each item may be either a reserved IP identity, or a reserved IP prototype object which will be used to create a new reserved IP. All IP addresses must be in the primary IP's subnet.
- name String
- The resource type.
- primary
Ips List<Property Map> - The primary IP address of the virtual network interface for the network attachment. Nested schema for primary_ip:
- protocol
State StringFiltering Mode The protocol state filtering mode to use for this virtual network interface.
If auto, protocol state packet filtering is enabled or disabled based on the virtual network interface's target resource type: • bare_metal_server_network_attachment: disabled • instance_network_attachment: enabled • share_mount_target: enabled
- resource
Group String - The resource type.
- resource
Type String - The resource type.
- security
Groups List<String> - The resource type.
- subnet String
- The subnet id of the virtual network interface for the network attachment.
IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfaceIp, IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfaceIpArgs
- Address string
- The IP address.If the address has not yet been selected, the value will be
0.0.0.0
.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered. - Auto
Delete bool - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
- Deleteds
List<Is
Instance Template Primary Network Attachment Virtual Network Interface Ip Deleted> - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
- Href string
- (String) The CRN for this placement target.
- Name string
- The name of the instance template.
- Reserved
Ip string - The unique identifier for this reserved IP.
- Resource
Type string - The resource type.
- Address string
- The IP address.If the address has not yet been selected, the value will be
0.0.0.0
.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered. - Auto
Delete bool - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
- Deleteds
[]Is
Instance Template Primary Network Attachment Virtual Network Interface Ip Deleted - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
- Href string
- (String) The CRN for this placement target.
- Name string
- The name of the instance template.
- Reserved
Ip string - The unique identifier for this reserved IP.
- Resource
Type string - The resource type.
- address String
- The IP address.If the address has not yet been selected, the value will be
0.0.0.0
.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered. - auto
Delete Boolean - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
- deleteds
List<Is
Instance Template Primary Network Attachment Virtual Network Interface Ip Deleted> - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
- href String
- (String) The CRN for this placement target.
- name String
- The name of the instance template.
- reserved
Ip String - The unique identifier for this reserved IP.
- resource
Type String - The resource type.
- address string
- The IP address.If the address has not yet been selected, the value will be
0.0.0.0
.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered. - auto
Delete boolean - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
- deleteds
Is
Instance Template Primary Network Attachment Virtual Network Interface Ip Deleted[] - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
- href string
- (String) The CRN for this placement target.
- name string
- The name of the instance template.
- reserved
Ip string - The unique identifier for this reserved IP.
- resource
Type string - The resource type.
- address str
- The IP address.If the address has not yet been selected, the value will be
0.0.0.0
.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered. - auto_
delete bool - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
- deleteds
Sequence[Is
Instance Template Primary Network Attachment Virtual Network Interface Ip Deleted] - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
- href str
- (String) The CRN for this placement target.
- name str
- The name of the instance template.
- reserved_
ip str - The unique identifier for this reserved IP.
- resource_
type str - The resource type.
- address String
- The IP address.If the address has not yet been selected, the value will be
0.0.0.0
.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered. - auto
Delete Boolean - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
- deleteds List<Property Map>
- If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
- href String
- (String) The CRN for this placement target.
- name String
- The name of the instance template.
- reserved
Ip String - The unique identifier for this reserved IP.
- resource
Type String - The resource type.
IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfaceIpDeleted, IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfaceIpDeletedArgs
- More
Info string
- More
Info string
- more
Info String
- more
Info string
- more_
info str
- more
Info String
IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIp, IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpArgs
- Address string
- The IP address.If the address has not yet been selected, the value will be
0.0.0.0
.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered. - Auto
Delete bool - Indicates whether this reserved ip will be automatically deleted when
target
is deleted. - Deleteds
List<Is
Instance Template Primary Network Attachment Virtual Network Interface Primary Ip Deleted> - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- Href string
- The URL for this reserved IP.
- Name string
- The name for this reserved IP. The name is unique across all reserved IPs in a subnet.
- Reserved
Ip string - The unique identifier for this reserved IP.
- Resource
Type string - The resource type.
- Address string
- The IP address.If the address has not yet been selected, the value will be
0.0.0.0
.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered. - Auto
Delete bool - Indicates whether this reserved ip will be automatically deleted when
target
is deleted. - Deleteds
[]Is
Instance Template Primary Network Attachment Virtual Network Interface Primary Ip Deleted - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- Href string
- The URL for this reserved IP.
- Name string
- The name for this reserved IP. The name is unique across all reserved IPs in a subnet.
- Reserved
Ip string - The unique identifier for this reserved IP.
- Resource
Type string - The resource type.
- address String
- The IP address.If the address has not yet been selected, the value will be
0.0.0.0
.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered. - auto
Delete Boolean - Indicates whether this reserved ip will be automatically deleted when
target
is deleted. - deleteds
List<Is
Instance Template Primary Network Attachment Virtual Network Interface Primary Ip Deleted> - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- href String
- The URL for this reserved IP.
- name String
- The name for this reserved IP. The name is unique across all reserved IPs in a subnet.
- reserved
Ip String - The unique identifier for this reserved IP.
- resource
Type String - The resource type.
- address string
- The IP address.If the address has not yet been selected, the value will be
0.0.0.0
.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered. - auto
Delete boolean - Indicates whether this reserved ip will be automatically deleted when
target
is deleted. - deleteds
Is
Instance Template Primary Network Attachment Virtual Network Interface Primary Ip Deleted[] - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- href string
- The URL for this reserved IP.
- name string
- The name for this reserved IP. The name is unique across all reserved IPs in a subnet.
- reserved
Ip string - The unique identifier for this reserved IP.
- resource
Type string - The resource type.
- address str
- The IP address.If the address has not yet been selected, the value will be
0.0.0.0
.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered. - auto_
delete bool - Indicates whether this reserved ip will be automatically deleted when
target
is deleted. - deleteds
Sequence[Is
Instance Template Primary Network Attachment Virtual Network Interface Primary Ip Deleted] - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- href str
- The URL for this reserved IP.
- name str
- The name for this reserved IP. The name is unique across all reserved IPs in a subnet.
- reserved_
ip str - The unique identifier for this reserved IP.
- resource_
type str - The resource type.
- address String
- The IP address.If the address has not yet been selected, the value will be
0.0.0.0
.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered. - auto
Delete Boolean - Indicates whether this reserved ip will be automatically deleted when
target
is deleted. - deleteds List<Property Map>
- If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- href String
- The URL for this reserved IP.
- name String
- The name for this reserved IP. The name is unique across all reserved IPs in a subnet.
- reserved
Ip String - The unique identifier for this reserved IP.
- resource
Type String - The resource type.
IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeleted, IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeletedArgs
- More
Info string - Link to documentation about deleted resources.
- More
Info string - Link to documentation about deleted resources.
- more
Info String - Link to documentation about deleted resources.
- more
Info string - Link to documentation about deleted resources.
- more_
info str - Link to documentation about deleted resources.
- more
Info String - Link to documentation about deleted resources.
IsInstanceTemplatePrimaryNetworkInterface, IsInstanceTemplatePrimaryNetworkInterfaceArgs
- Subnet string
- Allow
Ip boolSpoofing - Name string
- The name of the instance template.
- Primary
Ip IsInstance Template Primary Network Interface Primary Ip - The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
- Primary
Ipv4Address string - Security
Groups List<string>
- Subnet string
- Allow
Ip boolSpoofing - Name string
- The name of the instance template.
- Primary
Ip IsInstance Template Primary Network Interface Primary Ip - The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
- Primary
Ipv4Address string - Security
Groups []string
- subnet String
- allow
Ip BooleanSpoofing - name String
- The name of the instance template.
- primary
Ip IsInstance Template Primary Network Interface Primary Ip - The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
- primary
Ipv4Address String - security
Groups List<String>
- subnet string
- allow
Ip booleanSpoofing - name string
- The name of the instance template.
- primary
Ip IsInstance Template Primary Network Interface Primary Ip - The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
- primary
Ipv4Address string - security
Groups string[]
- subnet str
- allow_
ip_ boolspoofing - name str
- The name of the instance template.
- primary_
ip IsInstance Template Primary Network Interface Primary Ip - The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
- primary_
ipv4_ straddress - security_
groups Sequence[str]
- subnet String
- allow
Ip BooleanSpoofing - name String
- The name of the instance template.
- primary
Ip Property Map - The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
- primary
Ipv4Address String - security
Groups List<String>
IsInstanceTemplatePrimaryNetworkInterfacePrimaryIp, IsInstanceTemplatePrimaryNetworkInterfacePrimaryIpArgs
- Address string
- The IP address to reserve, which must not already be reserved on the subnet.
- Auto
Delete bool - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
- Name string
- The name of the instance template.
- Reserved
Ip string - Identifies a reserved IP by a unique property.
- Address string
- The IP address to reserve, which must not already be reserved on the subnet.
- Auto
Delete bool - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
- Name string
- The name of the instance template.
- Reserved
Ip string - Identifies a reserved IP by a unique property.
- address String
- The IP address to reserve, which must not already be reserved on the subnet.
- auto
Delete Boolean - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
- name String
- The name of the instance template.
- reserved
Ip String - Identifies a reserved IP by a unique property.
- address string
- The IP address to reserve, which must not already be reserved on the subnet.
- auto
Delete boolean - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
- name string
- The name of the instance template.
- reserved
Ip string - Identifies a reserved IP by a unique property.
- address str
- The IP address to reserve, which must not already be reserved on the subnet.
- auto_
delete bool - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
- name str
- The name of the instance template.
- reserved_
ip str - Identifies a reserved IP by a unique property.
- address String
- The IP address to reserve, which must not already be reserved on the subnet.
- auto
Delete Boolean - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
- name String
- The name of the instance template.
- reserved
Ip String - Identifies a reserved IP by a unique property.
IsInstanceTemplateReservationAffinity, IsInstanceTemplateReservationAffinityArgs
- Policy string
The reservation affinity policy to use for this virtual server instance.
->policy • disabled: Reservations will not be used • manual: Reservations in pool will be available for use
- Pools
List<Is
Instance Template Reservation Affinity Pool> - The pool of reservations available for use by this virtual server instance. Specified reservations must have a status of active, and have the same profile and zone as this virtual server instance. The pool must be empty if policy is disabled, and must not be empty if policy is manual.
Nested scheme for
pool
:
- Policy string
The reservation affinity policy to use for this virtual server instance.
->policy • disabled: Reservations will not be used • manual: Reservations in pool will be available for use
- Pools
[]Is
Instance Template Reservation Affinity Pool - The pool of reservations available for use by this virtual server instance. Specified reservations must have a status of active, and have the same profile and zone as this virtual server instance. The pool must be empty if policy is disabled, and must not be empty if policy is manual.
Nested scheme for
pool
:
- policy String
The reservation affinity policy to use for this virtual server instance.
->policy • disabled: Reservations will not be used • manual: Reservations in pool will be available for use
- pools
List<Is
Instance Template Reservation Affinity Pool> - The pool of reservations available for use by this virtual server instance. Specified reservations must have a status of active, and have the same profile and zone as this virtual server instance. The pool must be empty if policy is disabled, and must not be empty if policy is manual.
Nested scheme for
pool
:
- policy string
The reservation affinity policy to use for this virtual server instance.
->policy • disabled: Reservations will not be used • manual: Reservations in pool will be available for use
- pools
Is
Instance Template Reservation Affinity Pool[] - The pool of reservations available for use by this virtual server instance. Specified reservations must have a status of active, and have the same profile and zone as this virtual server instance. The pool must be empty if policy is disabled, and must not be empty if policy is manual.
Nested scheme for
pool
:
- policy str
The reservation affinity policy to use for this virtual server instance.
->policy • disabled: Reservations will not be used • manual: Reservations in pool will be available for use
- pools
Sequence[Is
Instance Template Reservation Affinity Pool] - The pool of reservations available for use by this virtual server instance. Specified reservations must have a status of active, and have the same profile and zone as this virtual server instance. The pool must be empty if policy is disabled, and must not be empty if policy is manual.
Nested scheme for
pool
:
- policy String
The reservation affinity policy to use for this virtual server instance.
->policy • disabled: Reservations will not be used • manual: Reservations in pool will be available for use
- pools List<Property Map>
- The pool of reservations available for use by this virtual server instance. Specified reservations must have a status of active, and have the same profile and zone as this virtual server instance. The pool must be empty if policy is disabled, and must not be empty if policy is manual.
Nested scheme for
pool
:
IsInstanceTemplateReservationAffinityPool, IsInstanceTemplateReservationAffinityPoolArgs
- Id string
- The unique identifier for this reservation
- Id string
- The unique identifier for this reservation
- id String
- The unique identifier for this reservation
- id string
- The unique identifier for this reservation
- id str
- The unique identifier for this reservation
- id String
- The unique identifier for this reservation
IsInstanceTemplateVolumeAttachment, IsInstanceTemplateVolumeAttachmentArgs
- Delete
Volume boolOn Instance Delete - You can configure to delete the storage volume to delete based on instance deletion.
- Name string
- The name of the instance template.
- Volume string
- The storage volume ID created in VPC.
- Volume
Prototype IsInstance Template Volume Attachment Volume Prototype - Nested scheme for
volume_prototype
:
- Delete
Volume boolOn Instance Delete - You can configure to delete the storage volume to delete based on instance deletion.
- Name string
- The name of the instance template.
- Volume string
- The storage volume ID created in VPC.
- Volume
Prototype IsInstance Template Volume Attachment Volume Prototype - Nested scheme for
volume_prototype
:
- delete
Volume BooleanOn Instance Delete - You can configure to delete the storage volume to delete based on instance deletion.
- name String
- The name of the instance template.
- volume String
- The storage volume ID created in VPC.
- volume
Prototype IsInstance Template Volume Attachment Volume Prototype - Nested scheme for
volume_prototype
:
- delete
Volume booleanOn Instance Delete - You can configure to delete the storage volume to delete based on instance deletion.
- name string
- The name of the instance template.
- volume string
- The storage volume ID created in VPC.
- volume
Prototype IsInstance Template Volume Attachment Volume Prototype - Nested scheme for
volume_prototype
:
- delete_
volume_ boolon_ instance_ delete - You can configure to delete the storage volume to delete based on instance deletion.
- name str
- The name of the instance template.
- volume str
- The storage volume ID created in VPC.
- volume_
prototype IsInstance Template Volume Attachment Volume Prototype - Nested scheme for
volume_prototype
:
- delete
Volume BooleanOn Instance Delete - You can configure to delete the storage volume to delete based on instance deletion.
- name String
- The name of the instance template.
- volume String
- The storage volume ID created in VPC.
- volume
Prototype Property Map - Nested scheme for
volume_prototype
:
IsInstanceTemplateVolumeAttachmentVolumePrototype, IsInstanceTemplateVolumeAttachmentVolumePrototypeArgs
- Capacity double
- The capacity of the volume in gigabytes. The specified minimum and maximum capacity values for creating or updating volumes may expand in the future.
- Profile string
- The number of instances created in the instance group.
- Bandwidth double
- The maximum bandwidth (in megabits per second) for the volume. For this property to be specified, the volume storage_generation must be 2.
- Encryption
Key string - The CRN of the Key Protect Root Key or Hyper Protect Crypto Service Root Key for this resource.
- Iops double
- The maximum I/O operations per second (IOPS) for the volume.
- List<string>
- UserTags for the volume instance
- Capacity float64
- The capacity of the volume in gigabytes. The specified minimum and maximum capacity values for creating or updating volumes may expand in the future.
- Profile string
- The number of instances created in the instance group.
- Bandwidth float64
- The maximum bandwidth (in megabits per second) for the volume. For this property to be specified, the volume storage_generation must be 2.
- Encryption
Key string - The CRN of the Key Protect Root Key or Hyper Protect Crypto Service Root Key for this resource.
- Iops float64
- The maximum I/O operations per second (IOPS) for the volume.
- []string
- UserTags for the volume instance
- capacity Double
- The capacity of the volume in gigabytes. The specified minimum and maximum capacity values for creating or updating volumes may expand in the future.
- profile String
- The number of instances created in the instance group.
- bandwidth Double
- The maximum bandwidth (in megabits per second) for the volume. For this property to be specified, the volume storage_generation must be 2.
- encryption
Key String - The CRN of the Key Protect Root Key or Hyper Protect Crypto Service Root Key for this resource.
- iops Double
- The maximum I/O operations per second (IOPS) for the volume.
- List<String>
- UserTags for the volume instance
- capacity number
- The capacity of the volume in gigabytes. The specified minimum and maximum capacity values for creating or updating volumes may expand in the future.
- profile string
- The number of instances created in the instance group.
- bandwidth number
- The maximum bandwidth (in megabits per second) for the volume. For this property to be specified, the volume storage_generation must be 2.
- encryption
Key string - The CRN of the Key Protect Root Key or Hyper Protect Crypto Service Root Key for this resource.
- iops number
- The maximum I/O operations per second (IOPS) for the volume.
- string[]
- UserTags for the volume instance
- capacity float
- The capacity of the volume in gigabytes. The specified minimum and maximum capacity values for creating or updating volumes may expand in the future.
- profile str
- The number of instances created in the instance group.
- bandwidth float
- The maximum bandwidth (in megabits per second) for the volume. For this property to be specified, the volume storage_generation must be 2.
- encryption_
key str - The CRN of the Key Protect Root Key or Hyper Protect Crypto Service Root Key for this resource.
- iops float
- The maximum I/O operations per second (IOPS) for the volume.
- Sequence[str]
- UserTags for the volume instance
- capacity Number
- The capacity of the volume in gigabytes. The specified minimum and maximum capacity values for creating or updating volumes may expand in the future.
- profile String
- The number of instances created in the instance group.
- bandwidth Number
- The maximum bandwidth (in megabits per second) for the volume. For this property to be specified, the volume storage_generation must be 2.
- encryption
Key String - The CRN of the Key Protect Root Key or Hyper Protect Crypto Service Root Key for this resource.
- iops Number
- The maximum I/O operations per second (IOPS) for the volume.
- List<String>
- UserTags for the volume instance
Import
The ibm_is_instance_template
resource can be imported by using instance template ID.
Example
$ pulumi import ibm:index/isInstanceTemplate:IsInstanceTemplate template r006-14140f94-fcc4-1349-96e7-a71212125115
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.