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

ibm.IsInstanceTemplate

Explore with Pulumi AI

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

    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.
    AvailabilityPolicyHostFailure string
    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 and stop.
    BootVolume IsInstanceTemplateBootVolume

    A nested block describes the boot volume configuration for the template.

    Nested scheme for boot_volume:

    CatalogOffering IsInstanceTemplateCatalogOffering

    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 with image

    Nested scheme for catalog_offering:

    ClusterNetworkAttachments List<IsInstanceTemplateClusterNetworkAttachment>

    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 networks

    Nested schema for cluster_network_attachments:

    ConfidentialComputeMode string

    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.

    DedicatedHost 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

    DedicatedHostGroup string

    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

    DefaultTrustedProfileAutoLink bool
    If set to true, the system will create a link to the specified target 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
    DefaultTrustedProfileTarget string
    The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance.
    EnableSecureBoot bool

    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 with catalog_offering

    IsInstanceTemplateId string
    (String) The URL for this placement target.
    MetadataService IsInstanceTemplateMetadataService

    The metadata service configuration.

    Nested scheme for metadata_service:

    MetadataServiceEnabled bool

    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. Use metadata_service instead

    Deprecated: Deprecated

    Name string
    The name of the instance template.
    NetworkAttachments List<IsInstanceTemplateNetworkAttachment>
    The network attachments for this virtual server instance, including the primary network attachment.
    NetworkInterfaces List<IsInstanceTemplateNetworkInterface>

    A nested block describes the network interfaces for the template.

    Nested scheme for network_interfaces:

    PlacementGroup 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

    PrimaryNetworkAttachment IsInstanceTemplatePrimaryNetworkAttachment
    The primary network attachment for this virtual server instance. Nested schema for primary_network_attachment:
    PrimaryNetworkInterface IsInstanceTemplatePrimaryNetworkInterface
    Primary Network interface info
    ReservationAffinities List<IsInstanceTemplateReservationAffinity>
    The reservation affinity for the instance Nested scheme for reservation_affinity:
    ResourceGroup string
    The resource group ID.
    TotalVolumeBandwidth double
    The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes
    UserData string
    The user data provided for the instance.
    VolumeAttachments List<IsInstanceTemplateVolumeAttachment>

    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.
    AvailabilityPolicyHostFailure string
    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 and stop.
    BootVolume IsInstanceTemplateBootVolumeArgs

    A nested block describes the boot volume configuration for the template.

    Nested scheme for boot_volume:

    CatalogOffering IsInstanceTemplateCatalogOfferingArgs

    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 with image

    Nested scheme for catalog_offering:

    ClusterNetworkAttachments []IsInstanceTemplateClusterNetworkAttachmentArgs

    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 networks

    Nested schema for cluster_network_attachments:

    ConfidentialComputeMode string

    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.

    DedicatedHost 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

    DedicatedHostGroup string

    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

    DefaultTrustedProfileAutoLink bool
    If set to true, the system will create a link to the specified target 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
    DefaultTrustedProfileTarget string
    The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance.
    EnableSecureBoot bool

    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 with catalog_offering

    IsInstanceTemplateId string
    (String) The URL for this placement target.
    MetadataService IsInstanceTemplateMetadataServiceArgs

    The metadata service configuration.

    Nested scheme for metadata_service:

    MetadataServiceEnabled bool

    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. Use metadata_service instead

    Deprecated: Deprecated

    Name string
    The name of the instance template.
    NetworkAttachments []IsInstanceTemplateNetworkAttachmentArgs
    The network attachments for this virtual server instance, including the primary network attachment.
    NetworkInterfaces []IsInstanceTemplateNetworkInterfaceArgs

    A nested block describes the network interfaces for the template.

    Nested scheme for network_interfaces:

    PlacementGroup 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

    PrimaryNetworkAttachment IsInstanceTemplatePrimaryNetworkAttachmentArgs
    The primary network attachment for this virtual server instance. Nested schema for primary_network_attachment:
    PrimaryNetworkInterface IsInstanceTemplatePrimaryNetworkInterfaceArgs
    Primary Network interface info
    ReservationAffinities []IsInstanceTemplateReservationAffinityArgs
    The reservation affinity for the instance Nested scheme for reservation_affinity:
    ResourceGroup string
    The resource group ID.
    TotalVolumeBandwidth float64
    The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes
    UserData string
    The user data provided for the instance.
    VolumeAttachments []IsInstanceTemplateVolumeAttachmentArgs

    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.
    availabilityPolicyHostFailure String
    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 and stop.
    bootVolume IsInstanceTemplateBootVolume

    A nested block describes the boot volume configuration for the template.

    Nested scheme for boot_volume:

    catalogOffering IsInstanceTemplateCatalogOffering

    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 with image

    Nested scheme for catalog_offering:

    clusterNetworkAttachments List<IsInstanceTemplateClusterNetworkAttachment>

    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 networks

    Nested schema for cluster_network_attachments:

    confidentialComputeMode String

    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.

    dedicatedHost 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

    dedicatedHostGroup String

    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

    defaultTrustedProfileAutoLink Boolean
    If set to true, the system will create a link to the specified target 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
    defaultTrustedProfileTarget String
    The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance.
    enableSecureBoot Boolean

    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 with catalog_offering

    isInstanceTemplateId String
    (String) The URL for this placement target.
    metadataService IsInstanceTemplateMetadataService

    The metadata service configuration.

    Nested scheme for metadata_service:

    metadataServiceEnabled Boolean

    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. Use metadata_service instead

    Deprecated: Deprecated

    name String
    The name of the instance template.
    networkAttachments List<IsInstanceTemplateNetworkAttachment>
    The network attachments for this virtual server instance, including the primary network attachment.
    networkInterfaces List<IsInstanceTemplateNetworkInterface>

    A nested block describes the network interfaces for the template.

    Nested scheme for network_interfaces:

    placementGroup 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

    primaryNetworkAttachment IsInstanceTemplatePrimaryNetworkAttachment
    The primary network attachment for this virtual server instance. Nested schema for primary_network_attachment:
    primaryNetworkInterface IsInstanceTemplatePrimaryNetworkInterface
    Primary Network interface info
    reservationAffinities List<IsInstanceTemplateReservationAffinity>
    The reservation affinity for the instance Nested scheme for reservation_affinity:
    resourceGroup String
    The resource group ID.
    totalVolumeBandwidth Double
    The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes
    userData String
    The user data provided for the instance.
    volumeAttachments List<IsInstanceTemplateVolumeAttachment>

    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.
    availabilityPolicyHostFailure string
    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 and stop.
    bootVolume IsInstanceTemplateBootVolume

    A nested block describes the boot volume configuration for the template.

    Nested scheme for boot_volume:

    catalogOffering IsInstanceTemplateCatalogOffering

    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 with image

    Nested scheme for catalog_offering:

    clusterNetworkAttachments IsInstanceTemplateClusterNetworkAttachment[]

    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 networks

    Nested schema for cluster_network_attachments:

    confidentialComputeMode string

    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.

    dedicatedHost 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

    dedicatedHostGroup string

    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

    defaultTrustedProfileAutoLink boolean
    If set to true, the system will create a link to the specified target 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
    defaultTrustedProfileTarget string
    The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance.
    enableSecureBoot boolean

    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 with catalog_offering

    isInstanceTemplateId string
    (String) The URL for this placement target.
    metadataService IsInstanceTemplateMetadataService

    The metadata service configuration.

    Nested scheme for metadata_service:

    metadataServiceEnabled boolean

    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. Use metadata_service instead

    Deprecated: Deprecated

    name string
    The name of the instance template.
    networkAttachments IsInstanceTemplateNetworkAttachment[]
    The network attachments for this virtual server instance, including the primary network attachment.
    networkInterfaces IsInstanceTemplateNetworkInterface[]

    A nested block describes the network interfaces for the template.

    Nested scheme for network_interfaces:

    placementGroup 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

    primaryNetworkAttachment IsInstanceTemplatePrimaryNetworkAttachment
    The primary network attachment for this virtual server instance. Nested schema for primary_network_attachment:
    primaryNetworkInterface IsInstanceTemplatePrimaryNetworkInterface
    Primary Network interface info
    reservationAffinities IsInstanceTemplateReservationAffinity[]
    The reservation affinity for the instance Nested scheme for reservation_affinity:
    resourceGroup string
    The resource group ID.
    totalVolumeBandwidth number
    The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes
    userData string
    The user data provided for the instance.
    volumeAttachments IsInstanceTemplateVolumeAttachment[]

    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_host_failure str
    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 and stop.
    boot_volume IsInstanceTemplateBootVolumeArgs

    A nested block describes the boot volume configuration for the template.

    Nested scheme for boot_volume:

    catalog_offering IsInstanceTemplateCatalogOfferingArgs

    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 with image

    Nested scheme for catalog_offering:

    cluster_network_attachments Sequence[IsInstanceTemplateClusterNetworkAttachmentArgs]

    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 networks

    Nested schema for cluster_network_attachments:

    confidential_compute_mode str

    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_group str

    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_profile_auto_link bool
    If set to true, the system will create a link to the specified target 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_profile_target str
    The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance.
    enable_secure_boot bool

    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 with catalog_offering

    is_instance_template_id str
    (String) The URL for this placement target.
    metadata_service IsInstanceTemplateMetadataServiceArgs

    The metadata service configuration.

    Nested scheme for metadata_service:

    metadata_service_enabled bool

    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. Use metadata_service instead

    Deprecated: Deprecated

    name str
    The name of the instance template.
    network_attachments Sequence[IsInstanceTemplateNetworkAttachmentArgs]
    The network attachments for this virtual server instance, including the primary network attachment.
    network_interfaces Sequence[IsInstanceTemplateNetworkInterfaceArgs]

    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_attachment IsInstanceTemplatePrimaryNetworkAttachmentArgs
    The primary network attachment for this virtual server instance. Nested schema for primary_network_attachment:
    primary_network_interface IsInstanceTemplatePrimaryNetworkInterfaceArgs
    Primary Network interface info
    reservation_affinities Sequence[IsInstanceTemplateReservationAffinityArgs]
    The reservation affinity for the instance Nested scheme for reservation_affinity:
    resource_group str
    The resource group ID.
    total_volume_bandwidth float
    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[IsInstanceTemplateVolumeAttachmentArgs]

    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.
    availabilityPolicyHostFailure String
    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 and stop.
    bootVolume Property Map

    A nested block describes the boot volume configuration for the template.

    Nested scheme for boot_volume:

    catalogOffering 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 with image

    Nested scheme for catalog_offering:

    clusterNetworkAttachments List<Property Map>

    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 networks

    Nested schema for cluster_network_attachments:

    confidentialComputeMode String

    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.

    dedicatedHost 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

    dedicatedHostGroup String

    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

    defaultTrustedProfileAutoLink Boolean
    If set to true, the system will create a link to the specified target 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
    defaultTrustedProfileTarget String
    The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance.
    enableSecureBoot Boolean

    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 with catalog_offering

    isInstanceTemplateId String
    (String) The URL for this placement target.
    metadataService Property Map

    The metadata service configuration.

    Nested scheme for metadata_service:

    metadataServiceEnabled Boolean

    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. Use metadata_service instead

    Deprecated: Deprecated

    name String
    The name of the instance template.
    networkAttachments List<Property Map>
    The network attachments for this virtual server instance, including the primary network attachment.
    networkInterfaces List<Property Map>

    A nested block describes the network interfaces for the template.

    Nested scheme for network_interfaces:

    placementGroup 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

    primaryNetworkAttachment Property Map
    The primary network attachment for this virtual server instance. Nested schema for primary_network_attachment:
    primaryNetworkInterface Property Map
    Primary Network interface info
    reservationAffinities List<Property Map>
    The reservation affinity for the instance Nested scheme for reservation_affinity:
    resourceGroup String
    The resource group ID.
    totalVolumeBandwidth Number
    The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes
    userData String
    The user data provided for the instance.
    volumeAttachments 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.
    PlacementTargets List<IsInstanceTemplatePlacementTarget>
    (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.
    PlacementTargets []IsInstanceTemplatePlacementTarget
    (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.
    placementTargets List<IsInstanceTemplatePlacementTarget>
    (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.
    placementTargets IsInstanceTemplatePlacementTarget[]
    (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[IsInstanceTemplatePlacementTarget]
    (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.
    placementTargets 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.
    The following state arguments are supported:
    AvailabilityPolicyHostFailure string
    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 and stop.
    BootVolume IsInstanceTemplateBootVolume

    A nested block describes the boot volume configuration for the template.

    Nested scheme for boot_volume:

    CatalogOffering IsInstanceTemplateCatalogOffering

    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 with image

    Nested scheme for catalog_offering:

    ClusterNetworkAttachments List<IsInstanceTemplateClusterNetworkAttachment>

    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 networks

    Nested schema for cluster_network_attachments:

    ConfidentialComputeMode string

    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.
    DedicatedHost 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

    DedicatedHostGroup string

    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

    DefaultTrustedProfileAutoLink bool
    If set to true, the system will create a link to the specified target 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
    DefaultTrustedProfileTarget string
    The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance.
    EnableSecureBoot bool

    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 with catalog_offering

    IsInstanceTemplateId string
    (String) The URL for this placement target.
    Keys List<string>
    List of SSH key IDs used to allow log in user to the instances.
    MetadataService IsInstanceTemplateMetadataService

    The metadata service configuration.

    Nested scheme for metadata_service:

    MetadataServiceEnabled bool

    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. Use metadata_service instead

    Deprecated: Deprecated

    Name string
    The name of the instance template.
    NetworkAttachments List<IsInstanceTemplateNetworkAttachment>
    The network attachments for this virtual server instance, including the primary network attachment.
    NetworkInterfaces List<IsInstanceTemplateNetworkInterface>

    A nested block describes the network interfaces for the template.

    Nested scheme for network_interfaces:

    PlacementGroup 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

    PlacementTargets List<IsInstanceTemplatePlacementTarget>
    (List) The placement restrictions to use for the virtual server instance. Nested scheme for placement_target:
    PrimaryNetworkAttachment IsInstanceTemplatePrimaryNetworkAttachment
    The primary network attachment for this virtual server instance. Nested schema for primary_network_attachment:
    PrimaryNetworkInterface IsInstanceTemplatePrimaryNetworkInterface
    Primary Network interface info
    Profile string
    The number of instances created in the instance group.
    ReservationAffinities List<IsInstanceTemplateReservationAffinity>
    The reservation affinity for the instance Nested scheme for reservation_affinity:
    ResourceGroup string
    The resource group ID.
    TotalVolumeBandwidth double
    The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes
    UserData string
    The user data provided for the instance.
    VolumeAttachments List<IsInstanceTemplateVolumeAttachment>

    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.
    AvailabilityPolicyHostFailure string
    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 and stop.
    BootVolume IsInstanceTemplateBootVolumeArgs

    A nested block describes the boot volume configuration for the template.

    Nested scheme for boot_volume:

    CatalogOffering IsInstanceTemplateCatalogOfferingArgs

    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 with image

    Nested scheme for catalog_offering:

    ClusterNetworkAttachments []IsInstanceTemplateClusterNetworkAttachmentArgs

    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 networks

    Nested schema for cluster_network_attachments:

    ConfidentialComputeMode string

    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.
    DedicatedHost 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

    DedicatedHostGroup string

    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

    DefaultTrustedProfileAutoLink bool
    If set to true, the system will create a link to the specified target 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
    DefaultTrustedProfileTarget string
    The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance.
    EnableSecureBoot bool

    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 with catalog_offering

    IsInstanceTemplateId string
    (String) The URL for this placement target.
    Keys []string
    List of SSH key IDs used to allow log in user to the instances.
    MetadataService IsInstanceTemplateMetadataServiceArgs

    The metadata service configuration.

    Nested scheme for metadata_service:

    MetadataServiceEnabled bool

    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. Use metadata_service instead

    Deprecated: Deprecated

    Name string
    The name of the instance template.
    NetworkAttachments []IsInstanceTemplateNetworkAttachmentArgs
    The network attachments for this virtual server instance, including the primary network attachment.
    NetworkInterfaces []IsInstanceTemplateNetworkInterfaceArgs

    A nested block describes the network interfaces for the template.

    Nested scheme for network_interfaces:

    PlacementGroup 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

    PlacementTargets []IsInstanceTemplatePlacementTargetArgs
    (List) The placement restrictions to use for the virtual server instance. Nested scheme for placement_target:
    PrimaryNetworkAttachment IsInstanceTemplatePrimaryNetworkAttachmentArgs
    The primary network attachment for this virtual server instance. Nested schema for primary_network_attachment:
    PrimaryNetworkInterface IsInstanceTemplatePrimaryNetworkInterfaceArgs
    Primary Network interface info
    Profile string
    The number of instances created in the instance group.
    ReservationAffinities []IsInstanceTemplateReservationAffinityArgs
    The reservation affinity for the instance Nested scheme for reservation_affinity:
    ResourceGroup string
    The resource group ID.
    TotalVolumeBandwidth float64
    The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes
    UserData string
    The user data provided for the instance.
    VolumeAttachments []IsInstanceTemplateVolumeAttachmentArgs

    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.
    availabilityPolicyHostFailure String
    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 and stop.
    bootVolume IsInstanceTemplateBootVolume

    A nested block describes the boot volume configuration for the template.

    Nested scheme for boot_volume:

    catalogOffering IsInstanceTemplateCatalogOffering

    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 with image

    Nested scheme for catalog_offering:

    clusterNetworkAttachments List<IsInstanceTemplateClusterNetworkAttachment>

    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 networks

    Nested schema for cluster_network_attachments:

    confidentialComputeMode String

    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.
    dedicatedHost 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

    dedicatedHostGroup String

    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

    defaultTrustedProfileAutoLink Boolean
    If set to true, the system will create a link to the specified target 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
    defaultTrustedProfileTarget String
    The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance.
    enableSecureBoot Boolean

    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 with catalog_offering

    isInstanceTemplateId String
    (String) The URL for this placement target.
    keys List<String>
    List of SSH key IDs used to allow log in user to the instances.
    metadataService IsInstanceTemplateMetadataService

    The metadata service configuration.

    Nested scheme for metadata_service:

    metadataServiceEnabled Boolean

    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. Use metadata_service instead

    Deprecated: Deprecated

    name String
    The name of the instance template.
    networkAttachments List<IsInstanceTemplateNetworkAttachment>
    The network attachments for this virtual server instance, including the primary network attachment.
    networkInterfaces List<IsInstanceTemplateNetworkInterface>

    A nested block describes the network interfaces for the template.

    Nested scheme for network_interfaces:

    placementGroup 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

    placementTargets List<IsInstanceTemplatePlacementTarget>
    (List) The placement restrictions to use for the virtual server instance. Nested scheme for placement_target:
    primaryNetworkAttachment IsInstanceTemplatePrimaryNetworkAttachment
    The primary network attachment for this virtual server instance. Nested schema for primary_network_attachment:
    primaryNetworkInterface IsInstanceTemplatePrimaryNetworkInterface
    Primary Network interface info
    profile String
    The number of instances created in the instance group.
    reservationAffinities List<IsInstanceTemplateReservationAffinity>
    The reservation affinity for the instance Nested scheme for reservation_affinity:
    resourceGroup String
    The resource group ID.
    totalVolumeBandwidth Double
    The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes
    userData String
    The user data provided for the instance.
    volumeAttachments List<IsInstanceTemplateVolumeAttachment>

    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.
    availabilityPolicyHostFailure string
    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 and stop.
    bootVolume IsInstanceTemplateBootVolume

    A nested block describes the boot volume configuration for the template.

    Nested scheme for boot_volume:

    catalogOffering IsInstanceTemplateCatalogOffering

    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 with image

    Nested scheme for catalog_offering:

    clusterNetworkAttachments IsInstanceTemplateClusterNetworkAttachment[]

    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 networks

    Nested schema for cluster_network_attachments:

    confidentialComputeMode string

    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.
    dedicatedHost 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

    dedicatedHostGroup string

    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

    defaultTrustedProfileAutoLink boolean
    If set to true, the system will create a link to the specified target 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
    defaultTrustedProfileTarget string
    The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance.
    enableSecureBoot boolean

    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 with catalog_offering

    isInstanceTemplateId string
    (String) The URL for this placement target.
    keys string[]
    List of SSH key IDs used to allow log in user to the instances.
    metadataService IsInstanceTemplateMetadataService

    The metadata service configuration.

    Nested scheme for metadata_service:

    metadataServiceEnabled boolean

    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. Use metadata_service instead

    Deprecated: Deprecated

    name string
    The name of the instance template.
    networkAttachments IsInstanceTemplateNetworkAttachment[]
    The network attachments for this virtual server instance, including the primary network attachment.
    networkInterfaces IsInstanceTemplateNetworkInterface[]

    A nested block describes the network interfaces for the template.

    Nested scheme for network_interfaces:

    placementGroup 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

    placementTargets IsInstanceTemplatePlacementTarget[]
    (List) The placement restrictions to use for the virtual server instance. Nested scheme for placement_target:
    primaryNetworkAttachment IsInstanceTemplatePrimaryNetworkAttachment
    The primary network attachment for this virtual server instance. Nested schema for primary_network_attachment:
    primaryNetworkInterface IsInstanceTemplatePrimaryNetworkInterface
    Primary Network interface info
    profile string
    The number of instances created in the instance group.
    reservationAffinities IsInstanceTemplateReservationAffinity[]
    The reservation affinity for the instance Nested scheme for reservation_affinity:
    resourceGroup string
    The resource group ID.
    totalVolumeBandwidth number
    The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes
    userData string
    The user data provided for the instance.
    volumeAttachments IsInstanceTemplateVolumeAttachment[]

    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_host_failure str
    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 and stop.
    boot_volume IsInstanceTemplateBootVolumeArgs

    A nested block describes the boot volume configuration for the template.

    Nested scheme for boot_volume:

    catalog_offering IsInstanceTemplateCatalogOfferingArgs

    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 with image

    Nested scheme for catalog_offering:

    cluster_network_attachments Sequence[IsInstanceTemplateClusterNetworkAttachmentArgs]

    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 networks

    Nested schema for cluster_network_attachments:

    confidential_compute_mode str

    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_group str

    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_profile_auto_link bool
    If set to true, the system will create a link to the specified target 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_profile_target str
    The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance.
    enable_secure_boot bool

    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 with catalog_offering

    is_instance_template_id str
    (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 IsInstanceTemplateMetadataServiceArgs

    The metadata service configuration.

    Nested scheme for metadata_service:

    metadata_service_enabled bool

    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. Use metadata_service instead

    Deprecated: Deprecated

    name str
    The name of the instance template.
    network_attachments Sequence[IsInstanceTemplateNetworkAttachmentArgs]
    The network attachments for this virtual server instance, including the primary network attachment.
    network_interfaces Sequence[IsInstanceTemplateNetworkInterfaceArgs]

    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[IsInstanceTemplatePlacementTargetArgs]
    (List) The placement restrictions to use for the virtual server instance. Nested scheme for placement_target:
    primary_network_attachment IsInstanceTemplatePrimaryNetworkAttachmentArgs
    The primary network attachment for this virtual server instance. Nested schema for primary_network_attachment:
    primary_network_interface IsInstanceTemplatePrimaryNetworkInterfaceArgs
    Primary Network interface info
    profile str
    The number of instances created in the instance group.
    reservation_affinities Sequence[IsInstanceTemplateReservationAffinityArgs]
    The reservation affinity for the instance Nested scheme for reservation_affinity:
    resource_group str
    The resource group ID.
    total_volume_bandwidth float
    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[IsInstanceTemplateVolumeAttachmentArgs]

    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.
    availabilityPolicyHostFailure String
    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 and stop.
    bootVolume Property Map

    A nested block describes the boot volume configuration for the template.

    Nested scheme for boot_volume:

    catalogOffering 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 with image

    Nested scheme for catalog_offering:

    clusterNetworkAttachments List<Property Map>

    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 networks

    Nested schema for cluster_network_attachments:

    confidentialComputeMode String

    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.
    dedicatedHost 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

    dedicatedHostGroup String

    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

    defaultTrustedProfileAutoLink Boolean
    If set to true, the system will create a link to the specified target 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
    defaultTrustedProfileTarget String
    The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance.
    enableSecureBoot Boolean

    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 with catalog_offering

    isInstanceTemplateId String
    (String) The URL for this placement target.
    keys List<String>
    List of SSH key IDs used to allow log in user to the instances.
    metadataService Property Map

    The metadata service configuration.

    Nested scheme for metadata_service:

    metadataServiceEnabled Boolean

    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. Use metadata_service instead

    Deprecated: Deprecated

    name String
    The name of the instance template.
    networkAttachments List<Property Map>
    The network attachments for this virtual server instance, including the primary network attachment.
    networkInterfaces List<Property Map>

    A nested block describes the network interfaces for the template.

    Nested scheme for network_interfaces:

    placementGroup 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

    placementTargets List<Property Map>
    (List) The placement restrictions to use for the virtual server instance. Nested scheme for placement_target:
    primaryNetworkAttachment Property Map
    The primary network attachment for this virtual server instance. Nested schema for primary_network_attachment:
    primaryNetworkInterface Property Map
    Primary Network interface info
    profile String
    The number of instances created in the instance group.
    reservationAffinities List<Property Map>
    The reservation affinity for the instance Nested scheme for reservation_affinity:
    resourceGroup String
    The resource group ID.
    totalVolumeBandwidth Number
    The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes
    userData String
    The user data provided for the instance.
    volumeAttachments 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.
    DeleteVolumeOnInstanceDelete bool
    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)
    Tags 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.
    DeleteVolumeOnInstanceDelete bool
    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)
    Tags []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.
    deleteVolumeOnInstanceDelete Boolean
    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)
    tags 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.
    deleteVolumeOnInstanceDelete boolean
    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)
    tags 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_on_instance_delete bool
    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)
    tags 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.
    deleteVolumeOnInstanceDelete Boolean
    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)
    tags List<String>
    UserTags for the volume instance

    IsInstanceTemplateCatalogOffering, IsInstanceTemplateCatalogOfferingArgs

    Deleteds List<IsInstanceTemplateCatalogOfferingDeleted>
    If present, this property indicates the referenced resource has been deleted and provides some supplementary information.
    OfferingCrn string
    The CRN for this catalog offering. Identifies a catalog offering by this unique property. Conflicts with catalog_offering.0.version_crn
    PlanCrn 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.
    VersionCrn 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 []IsInstanceTemplateCatalogOfferingDeleted
    If present, this property indicates the referenced resource has been deleted and provides some supplementary information.
    OfferingCrn string
    The CRN for this catalog offering. Identifies a catalog offering by this unique property. Conflicts with catalog_offering.0.version_crn
    PlanCrn 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.
    VersionCrn 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<IsInstanceTemplateCatalogOfferingDeleted>
    If present, this property indicates the referenced resource has been deleted and provides some supplementary information.
    offeringCrn String
    The CRN for this catalog offering. Identifies a catalog offering by this unique property. Conflicts with catalog_offering.0.version_crn
    planCrn 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.
    versionCrn 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 IsInstanceTemplateCatalogOfferingDeleted[]
    If present, this property indicates the referenced resource has been deleted and provides some supplementary information.
    offeringCrn string
    The CRN for this catalog offering. Identifies a catalog offering by this unique property. Conflicts with catalog_offering.0.version_crn
    planCrn 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.
    versionCrn 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[IsInstanceTemplateCatalogOfferingDeleted]
    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.
    offeringCrn String
    The CRN for this catalog offering. Identifies a catalog offering by this unique property. Conflicts with catalog_offering.0.version_crn
    planCrn 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.
    versionCrn 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

    MoreInfo string
    MoreInfo string
    moreInfo String
    moreInfo string
    moreInfo String

    IsInstanceTemplateClusterNetworkAttachment, IsInstanceTemplateClusterNetworkAttachmentArgs

    ClusterNetworkInterface IsInstanceTemplateClusterNetworkAttachmentClusterNetworkInterface
    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 other cluster_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.
    ClusterNetworkInterface IsInstanceTemplateClusterNetworkAttachmentClusterNetworkInterface
    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 other cluster_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.
    clusterNetworkInterface IsInstanceTemplateClusterNetworkAttachmentClusterNetworkInterface
    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 other cluster_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.
    clusterNetworkInterface IsInstanceTemplateClusterNetworkAttachmentClusterNetworkInterface
    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 other cluster_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_interface IsInstanceTemplateClusterNetworkAttachmentClusterNetworkInterface
    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 other cluster_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.
    clusterNetworkInterface Property Map
    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 other cluster_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

    AutoDelete 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.
    PrimaryIp IsInstanceTemplateClusterNetworkAttachmentClusterNetworkInterfacePrimaryIp

    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 IsInstanceTemplateClusterNetworkAttachmentClusterNetworkInterfaceSubnet

    The associated cluster network subnet. Required if primary_ip does not specify acluster network subnet reserved IP identity.

    Nested schema for subnet:

    AutoDelete 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.
    PrimaryIp IsInstanceTemplateClusterNetworkAttachmentClusterNetworkInterfacePrimaryIp

    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 IsInstanceTemplateClusterNetworkAttachmentClusterNetworkInterfaceSubnet

    The associated cluster network subnet. Required if primary_ip does not specify acluster network subnet reserved IP identity.

    Nested schema for subnet:

    autoDelete 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.
    primaryIp IsInstanceTemplateClusterNetworkAttachmentClusterNetworkInterfacePrimaryIp

    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 IsInstanceTemplateClusterNetworkAttachmentClusterNetworkInterfaceSubnet

    The associated cluster network subnet. Required if primary_ip does not specify acluster network subnet reserved IP identity.

    Nested schema for subnet:

    autoDelete 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.
    primaryIp IsInstanceTemplateClusterNetworkAttachmentClusterNetworkInterfacePrimaryIp

    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 IsInstanceTemplateClusterNetworkAttachmentClusterNetworkInterfaceSubnet

    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 IsInstanceTemplateClusterNetworkAttachmentClusterNetworkInterfacePrimaryIp

    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 IsInstanceTemplateClusterNetworkAttachmentClusterNetworkInterfaceSubnet

    The associated cluster network subnet. Required if primary_ip does not specify acluster network subnet reserved IP identity.

    Nested schema for subnet:

    autoDelete 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.
    primaryIp 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.
    AutoDelete 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.
    AutoDelete 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.
    autoDelete 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.
    autoDelete 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.
    autoDelete 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

    Href string
    (String) The CRN for this placement target.
    Id string
    The unique identifier for this cluster network subnet.
    Href string
    (String) The CRN for this placement target.
    Id string
    The unique identifier for this cluster network subnet.
    href String
    (String) The CRN for this placement target.
    id String
    The unique identifier for this cluster network subnet.
    href string
    (String) The CRN for this placement target.
    id string
    The unique identifier for this cluster network subnet.
    href str
    (String) The CRN for this placement target.
    id str
    The unique identifier for this cluster network subnet.
    href String
    (String) The CRN for this placement target.
    id String
    The unique identifier for this cluster network subnet.

    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
    ResponseHopLimit double
    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
    ResponseHopLimit float64
    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
    responseHopLimit Double
    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
    responseHopLimit number
    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_limit float
    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
    responseHopLimit Number
    The hop limit (IP time to live) for IP response packets from the metadata service. Default is 1

    IsInstanceTemplateNetworkAttachment, IsInstanceTemplateNetworkAttachmentArgs

    Deleteds List<IsInstanceTemplateNetworkAttachmentDeleted>
    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.
    ResourceType string
    The resource type.
    VirtualNetworkInterface IsInstanceTemplateNetworkAttachmentVirtualNetworkInterface
    ) The details of the virtual network interface for this network attachment. It can either accept an id or properties of virtual_network_interface Nested schema for virtual_network_interface:
    Deleteds []IsInstanceTemplateNetworkAttachmentDeleted
    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.
    ResourceType string
    The resource type.
    VirtualNetworkInterface IsInstanceTemplateNetworkAttachmentVirtualNetworkInterface
    ) The details of the virtual network interface for this network attachment. It can either accept an id or properties of virtual_network_interface Nested schema for virtual_network_interface:
    deleteds List<IsInstanceTemplateNetworkAttachmentDeleted>
    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.
    resourceType String
    The resource type.
    virtualNetworkInterface IsInstanceTemplateNetworkAttachmentVirtualNetworkInterface
    ) The details of the virtual network interface for this network attachment. It can either accept an id or properties of virtual_network_interface Nested schema for virtual_network_interface:
    deleteds IsInstanceTemplateNetworkAttachmentDeleted[]
    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.
    resourceType string
    The resource type.
    virtualNetworkInterface IsInstanceTemplateNetworkAttachmentVirtualNetworkInterface
    ) The details of the virtual network interface for this network attachment. It can either accept an id or properties of virtual_network_interface Nested schema for virtual_network_interface:
    deleteds Sequence[IsInstanceTemplateNetworkAttachmentDeleted]
    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_interface IsInstanceTemplateNetworkAttachmentVirtualNetworkInterface
    ) The details of the virtual network interface for this network attachment. It can either accept an id or properties of virtual_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.
    resourceType String
    The resource type.
    virtualNetworkInterface Property Map
    ) The details of the virtual network interface for this network attachment. It can either accept an id or properties of virtual_network_interface Nested schema for virtual_network_interface:

    IsInstanceTemplateNetworkAttachmentDeleted, IsInstanceTemplateNetworkAttachmentDeletedArgs

    MoreInfo string
    Link to documentation about deleted resources.
    MoreInfo string
    Link to documentation about deleted resources.
    moreInfo String
    Link to documentation about deleted resources.
    moreInfo string
    Link to documentation about deleted resources.
    more_info str
    Link to documentation about deleted resources.
    moreInfo String
    Link to documentation about deleted resources.

    IsInstanceTemplateNetworkAttachmentVirtualNetworkInterface, IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfaceArgs

    AllowIpSpoofing bool
    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.
    AutoDelete bool
    Indicates whether this virtual network interface will be automatically deleted when target is deleted
    EnableInfrastructureNat bool
    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<IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfaceIp>

    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 existing reserved_ip is supported, new reserved_ip creation is not supported as it leads to unmanaged(dangling) reserved ips. Use ibm.IsSubnetReservedIp to create a reserved_ip

    Name string
    The resource type.
    PrimaryIps List<IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfacePrimaryIp>
    The primary IP address of the virtual network interface for the network attachment. Nested schema for primary_ip:
    ProtocolStateFilteringMode string

    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

    ResourceGroup string
    The resource type.
    ResourceType string
    The resource type.
    SecurityGroups List<string>
    The resource type.
    Subnet string
    The subnet id of the virtual network interface for the network attachment.
    AllowIpSpoofing bool
    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.
    AutoDelete bool
    Indicates whether this virtual network interface will be automatically deleted when target is deleted
    EnableInfrastructureNat bool
    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 []IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfaceIp

    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 existing reserved_ip is supported, new reserved_ip creation is not supported as it leads to unmanaged(dangling) reserved ips. Use ibm.IsSubnetReservedIp to create a reserved_ip

    Name string
    The resource type.
    PrimaryIps []IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfacePrimaryIp
    The primary IP address of the virtual network interface for the network attachment. Nested schema for primary_ip:
    ProtocolStateFilteringMode string

    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

    ResourceGroup string
    The resource type.
    ResourceType string
    The resource type.
    SecurityGroups []string
    The resource type.
    Subnet string
    The subnet id of the virtual network interface for the network attachment.
    allowIpSpoofing Boolean
    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.
    autoDelete Boolean
    Indicates whether this virtual network interface will be automatically deleted when target is deleted
    enableInfrastructureNat Boolean
    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<IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfaceIp>

    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 existing reserved_ip is supported, new reserved_ip creation is not supported as it leads to unmanaged(dangling) reserved ips. Use ibm.IsSubnetReservedIp to create a reserved_ip

    name String
    The resource type.
    primaryIps List<IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfacePrimaryIp>
    The primary IP address of the virtual network interface for the network attachment. Nested schema for primary_ip:
    protocolStateFilteringMode String

    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

    resourceGroup String
    The resource type.
    resourceType String
    The resource type.
    securityGroups List<String>
    The resource type.
    subnet String
    The subnet id of the virtual network interface for the network attachment.
    allowIpSpoofing boolean
    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.
    autoDelete boolean
    Indicates whether this virtual network interface will be automatically deleted when target is deleted
    enableInfrastructureNat boolean
    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 IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfaceIp[]

    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 existing reserved_ip is supported, new reserved_ip creation is not supported as it leads to unmanaged(dangling) reserved ips. Use ibm.IsSubnetReservedIp to create a reserved_ip

    name string
    The resource type.
    primaryIps IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfacePrimaryIp[]
    The primary IP address of the virtual network interface for the network attachment. Nested schema for primary_ip:
    protocolStateFilteringMode string

    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

    resourceGroup string
    The resource type.
    resourceType string
    The resource type.
    securityGroups string[]
    The resource type.
    subnet string
    The subnet id of the virtual network interface for the network attachment.
    allow_ip_spoofing bool
    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_nat bool
    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[IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfaceIp]

    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 existing reserved_ip is supported, new reserved_ip creation is not supported as it leads to unmanaged(dangling) reserved ips. Use ibm.IsSubnetReservedIp to create a reserved_ip

    name str
    The resource type.
    primary_ips Sequence[IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfacePrimaryIp]
    The primary IP address of the virtual network interface for the network attachment. Nested schema for primary_ip:
    protocol_state_filtering_mode str

    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.
    allowIpSpoofing Boolean
    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.
    autoDelete Boolean
    Indicates whether this virtual network interface will be automatically deleted when target is deleted
    enableInfrastructureNat Boolean
    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 existing reserved_ip is supported, new reserved_ip creation is not supported as it leads to unmanaged(dangling) reserved ips. Use ibm.IsSubnetReservedIp to create a reserved_ip

    name String
    The resource type.
    primaryIps List<Property Map>
    The primary IP address of the virtual network interface for the network attachment. Nested schema for primary_ip:
    protocolStateFilteringMode String

    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

    resourceGroup String
    The resource type.
    resourceType String
    The resource type.
    securityGroups 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.
    AutoDelete bool
    Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
    Deleteds List<IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfaceIpDeleted>
    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.
    ReservedIp string
    The unique identifier for this reserved IP.
    ResourceType 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.
    AutoDelete bool
    Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
    Deleteds []IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfaceIpDeleted
    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.
    ReservedIp string
    The unique identifier for this reserved IP.
    ResourceType 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.
    autoDelete Boolean
    Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
    deleteds List<IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfaceIpDeleted>
    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.
    reservedIp String
    The unique identifier for this reserved IP.
    resourceType 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.
    autoDelete boolean
    Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
    deleteds IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfaceIpDeleted[]
    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.
    reservedIp string
    The unique identifier for this reserved IP.
    resourceType 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[IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfaceIpDeleted]
    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.
    autoDelete 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.
    reservedIp String
    The unique identifier for this reserved IP.
    resourceType String
    The resource type.

    IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfaceIpDeleted, IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfaceIpDeletedArgs

    MoreInfo string
    MoreInfo string
    moreInfo String
    moreInfo string
    moreInfo 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.
    AutoDelete bool
    Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
    Deleteds List<IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeleted>
    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.
    ReservedIp string
    The unique identifier for this reserved IP.
    ResourceType 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.
    AutoDelete bool
    Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
    Deleteds []IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeleted
    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.
    ReservedIp string
    The unique identifier for this reserved IP.
    ResourceType 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.
    autoDelete Boolean
    Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
    deleteds List<IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeleted>
    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.
    reservedIp String
    The unique identifier for this reserved IP.
    resourceType 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.
    autoDelete boolean
    Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
    deleteds IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeleted[]
    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.
    reservedIp string
    The unique identifier for this reserved IP.
    resourceType 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[IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeleted]
    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.
    autoDelete 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.
    reservedIp String
    The unique identifier for this reserved IP.
    resourceType String
    The resource type.

    IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeleted, IsInstanceTemplateNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeletedArgs

    MoreInfo string
    Link to documentation about deleted resources.
    MoreInfo string
    Link to documentation about deleted resources.
    moreInfo String
    Link to documentation about deleted resources.
    moreInfo string
    Link to documentation about deleted resources.
    more_info str
    Link to documentation about deleted resources.
    moreInfo String
    Link to documentation about deleted resources.

    IsInstanceTemplateNetworkInterface, IsInstanceTemplateNetworkInterfaceArgs

    Subnet string
    AllowIpSpoofing bool
    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.
    PrimaryIp IsInstanceTemplateNetworkInterfacePrimaryIp
    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.
    PrimaryIpv4Address string
    The IPv4 address assigned to the network interface.

    Deprecated: Deprecated

    SecurityGroups List<string>
    Subnet string
    AllowIpSpoofing bool
    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.
    PrimaryIp IsInstanceTemplateNetworkInterfacePrimaryIp
    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.
    PrimaryIpv4Address string
    The IPv4 address assigned to the network interface.

    Deprecated: Deprecated

    SecurityGroups []string
    subnet String
    allowIpSpoofing Boolean
    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.
    primaryIp IsInstanceTemplateNetworkInterfacePrimaryIp
    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.
    primaryIpv4Address String
    The IPv4 address assigned to the network interface.

    Deprecated: Deprecated

    securityGroups List<String>
    subnet string
    allowIpSpoofing boolean
    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.
    primaryIp IsInstanceTemplateNetworkInterfacePrimaryIp
    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.
    primaryIpv4Address string
    The IPv4 address assigned to the network interface.

    Deprecated: Deprecated

    securityGroups string[]
    subnet str
    allow_ip_spoofing bool
    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 IsInstanceTemplateNetworkInterfacePrimaryIp
    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_address str
    The IPv4 address assigned to the network interface.

    Deprecated: Deprecated

    security_groups Sequence[str]
    subnet String
    allowIpSpoofing Boolean
    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.
    primaryIp 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.
    primaryIpv4Address String
    The IPv4 address assigned to the network interface.

    Deprecated: Deprecated

    securityGroups List<String>

    IsInstanceTemplateNetworkInterfacePrimaryIp, IsInstanceTemplateNetworkInterfacePrimaryIpArgs

    Address string
    The IP address to reserve, which must not already be reserved on the subnet.
    AutoDelete 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.
    ReservedIp 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.
    AutoDelete 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.
    ReservedIp 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.
    autoDelete 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.
    reservedIp 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.
    autoDelete 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.
    reservedIp 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.
    autoDelete 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.
    reservedIp String
    Identifies a reserved IP by a unique property.

    IsInstanceTemplatePlacementTarget, IsInstanceTemplatePlacementTargetArgs

    Crn string
    (String) The unique identifier for this placement target.
    Href string
    (String) The CRN for this placement target.
    Id string
    (String) The URL for this placement target.
    Crn string
    (String) The unique identifier for this placement target.
    Href string
    (String) The CRN for this placement target.
    Id string
    (String) The URL for this placement target.
    crn String
    (String) The unique identifier for this placement target.
    href String
    (String) The CRN for this placement target.
    id String
    (String) The URL for this placement target.
    crn string
    (String) The unique identifier for this placement target.
    href string
    (String) The CRN for this placement target.
    id string
    (String) The URL for this placement target.
    crn str
    (String) The unique identifier for this placement target.
    href str
    (String) The CRN for this placement target.
    id str
    (String) The URL for this placement target.
    crn String
    (String) The unique identifier for this placement target.
    href String
    (String) The CRN for this placement target.
    id String
    (String) The URL for this placement target.

    IsInstanceTemplatePrimaryNetworkAttachment, IsInstanceTemplatePrimaryNetworkAttachmentArgs

    Deleteds List<IsInstanceTemplatePrimaryNetworkAttachmentDeleted>
    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
    ResourceType string
    The resource type.
    VirtualNetworkInterface IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterface
    ) The details of the virtual network interface for this network attachment. It can either accept an id or properties of virtual_network_interface Nested schema for virtual_network_interface:
    Deleteds []IsInstanceTemplatePrimaryNetworkAttachmentDeleted
    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
    ResourceType string
    The resource type.
    VirtualNetworkInterface IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterface
    ) The details of the virtual network interface for this network attachment. It can either accept an id or properties of virtual_network_interface Nested schema for virtual_network_interface:
    deleteds List<IsInstanceTemplatePrimaryNetworkAttachmentDeleted>
    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
    resourceType String
    The resource type.
    virtualNetworkInterface IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterface
    ) The details of the virtual network interface for this network attachment. It can either accept an id or properties of virtual_network_interface Nested schema for virtual_network_interface:
    deleteds IsInstanceTemplatePrimaryNetworkAttachmentDeleted[]
    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
    resourceType string
    The resource type.
    virtualNetworkInterface IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterface
    ) The details of the virtual network interface for this network attachment. It can either accept an id or properties of virtual_network_interface Nested schema for virtual_network_interface:
    deleteds Sequence[IsInstanceTemplatePrimaryNetworkAttachmentDeleted]
    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_interface IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterface
    ) The details of the virtual network interface for this network attachment. It can either accept an id or properties of virtual_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
    resourceType String
    The resource type.
    virtualNetworkInterface Property Map
    ) The details of the virtual network interface for this network attachment. It can either accept an id or properties of virtual_network_interface Nested schema for virtual_network_interface:

    IsInstanceTemplatePrimaryNetworkAttachmentDeleted, IsInstanceTemplatePrimaryNetworkAttachmentDeletedArgs

    MoreInfo string
    Link to documentation about deleted resources.
    MoreInfo string
    Link to documentation about deleted resources.
    moreInfo String
    Link to documentation about deleted resources.
    moreInfo string
    Link to documentation about deleted resources.
    more_info str
    Link to documentation about deleted resources.
    moreInfo String
    Link to documentation about deleted resources.

    IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterface, IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfaceArgs

    AllowIpSpoofing bool
    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.
    AutoDelete bool
    Indicates whether this virtual network interface will be automatically deleted when target is deleted
    EnableInfrastructureNat bool
    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<IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfaceIp>
    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.
    PrimaryIps List<IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIp>
    The primary IP address of the virtual network interface for the network attachment. Nested schema for primary_ip:
    ProtocolStateFilteringMode string

    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

    ResourceGroup string
    The resource type.
    ResourceType string
    The resource type.
    SecurityGroups List<string>
    The resource type.
    Subnet string
    The subnet id of the virtual network interface for the network attachment.
    AllowIpSpoofing bool
    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.
    AutoDelete bool
    Indicates whether this virtual network interface will be automatically deleted when target is deleted
    EnableInfrastructureNat bool
    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 []IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfaceIp
    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.
    PrimaryIps []IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIp
    The primary IP address of the virtual network interface for the network attachment. Nested schema for primary_ip:
    ProtocolStateFilteringMode string

    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

    ResourceGroup string
    The resource type.
    ResourceType string
    The resource type.
    SecurityGroups []string
    The resource type.
    Subnet string
    The subnet id of the virtual network interface for the network attachment.
    allowIpSpoofing Boolean
    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.
    autoDelete Boolean
    Indicates whether this virtual network interface will be automatically deleted when target is deleted
    enableInfrastructureNat Boolean
    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<IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfaceIp>
    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.
    primaryIps List<IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIp>
    The primary IP address of the virtual network interface for the network attachment. Nested schema for primary_ip:
    protocolStateFilteringMode String

    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

    resourceGroup String
    The resource type.
    resourceType String
    The resource type.
    securityGroups List<String>
    The resource type.
    subnet String
    The subnet id of the virtual network interface for the network attachment.
    allowIpSpoofing boolean
    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.
    autoDelete boolean
    Indicates whether this virtual network interface will be automatically deleted when target is deleted
    enableInfrastructureNat boolean
    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 IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfaceIp[]
    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.
    primaryIps IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIp[]
    The primary IP address of the virtual network interface for the network attachment. Nested schema for primary_ip:
    protocolStateFilteringMode string

    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

    resourceGroup string
    The resource type.
    resourceType string
    The resource type.
    securityGroups string[]
    The resource type.
    subnet string
    The subnet id of the virtual network interface for the network attachment.
    allow_ip_spoofing bool
    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_nat bool
    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[IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfaceIp]
    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[IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIp]
    The primary IP address of the virtual network interface for the network attachment. Nested schema for primary_ip:
    protocol_state_filtering_mode str

    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.
    allowIpSpoofing Boolean
    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.
    autoDelete Boolean
    Indicates whether this virtual network interface will be automatically deleted when target is deleted
    enableInfrastructureNat Boolean
    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.
    primaryIps List<Property Map>
    The primary IP address of the virtual network interface for the network attachment. Nested schema for primary_ip:
    protocolStateFilteringMode String

    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

    resourceGroup String
    The resource type.
    resourceType String
    The resource type.
    securityGroups 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.
    AutoDelete bool
    Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
    Deleteds List<IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfaceIpDeleted>
    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.
    ReservedIp string
    The unique identifier for this reserved IP.
    ResourceType 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.
    AutoDelete bool
    Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
    Deleteds []IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfaceIpDeleted
    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.
    ReservedIp string
    The unique identifier for this reserved IP.
    ResourceType 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.
    autoDelete Boolean
    Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
    deleteds List<IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfaceIpDeleted>
    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.
    reservedIp String
    The unique identifier for this reserved IP.
    resourceType 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.
    autoDelete boolean
    Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
    deleteds IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfaceIpDeleted[]
    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.
    reservedIp string
    The unique identifier for this reserved IP.
    resourceType 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[IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfaceIpDeleted]
    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.
    autoDelete 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.
    reservedIp String
    The unique identifier for this reserved IP.
    resourceType String
    The resource type.

    IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfaceIpDeleted, IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfaceIpDeletedArgs

    MoreInfo string
    MoreInfo string
    moreInfo String
    moreInfo string
    moreInfo 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.
    AutoDelete bool
    Indicates whether this reserved ip will be automatically deleted when target is deleted.
    Deleteds List<IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeleted>
    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.
    ReservedIp string
    The unique identifier for this reserved IP.
    ResourceType 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.
    AutoDelete bool
    Indicates whether this reserved ip will be automatically deleted when target is deleted.
    Deleteds []IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeleted
    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.
    ReservedIp string
    The unique identifier for this reserved IP.
    ResourceType 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.
    autoDelete Boolean
    Indicates whether this reserved ip will be automatically deleted when target is deleted.
    deleteds List<IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeleted>
    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.
    reservedIp String
    The unique identifier for this reserved IP.
    resourceType 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.
    autoDelete boolean
    Indicates whether this reserved ip will be automatically deleted when target is deleted.
    deleteds IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeleted[]
    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.
    reservedIp string
    The unique identifier for this reserved IP.
    resourceType 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[IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeleted]
    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.
    autoDelete 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.
    reservedIp String
    The unique identifier for this reserved IP.
    resourceType String
    The resource type.

    IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeleted, IsInstanceTemplatePrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeletedArgs

    MoreInfo string
    Link to documentation about deleted resources.
    MoreInfo string
    Link to documentation about deleted resources.
    moreInfo String
    Link to documentation about deleted resources.
    moreInfo string
    Link to documentation about deleted resources.
    more_info str
    Link to documentation about deleted resources.
    moreInfo String
    Link to documentation about deleted resources.

    IsInstanceTemplatePrimaryNetworkInterface, IsInstanceTemplatePrimaryNetworkInterfaceArgs

    Subnet string
    AllowIpSpoofing bool
    Name string
    The name of the instance template.
    PrimaryIp IsInstanceTemplatePrimaryNetworkInterfacePrimaryIp
    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.
    PrimaryIpv4Address string

    Deprecated: Deprecated

    SecurityGroups List<string>
    Subnet string
    AllowIpSpoofing bool
    Name string
    The name of the instance template.
    PrimaryIp IsInstanceTemplatePrimaryNetworkInterfacePrimaryIp
    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.
    PrimaryIpv4Address string

    Deprecated: Deprecated

    SecurityGroups []string
    subnet String
    allowIpSpoofing Boolean
    name String
    The name of the instance template.
    primaryIp IsInstanceTemplatePrimaryNetworkInterfacePrimaryIp
    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.
    primaryIpv4Address String

    Deprecated: Deprecated

    securityGroups List<String>
    subnet string
    allowIpSpoofing boolean
    name string
    The name of the instance template.
    primaryIp IsInstanceTemplatePrimaryNetworkInterfacePrimaryIp
    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.
    primaryIpv4Address string

    Deprecated: Deprecated

    securityGroups string[]
    subnet str
    allow_ip_spoofing bool
    name str
    The name of the instance template.
    primary_ip IsInstanceTemplatePrimaryNetworkInterfacePrimaryIp
    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_address str

    Deprecated: Deprecated

    security_groups Sequence[str]
    subnet String
    allowIpSpoofing Boolean
    name String
    The name of the instance template.
    primaryIp 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.
    primaryIpv4Address String

    Deprecated: Deprecated

    securityGroups List<String>

    IsInstanceTemplatePrimaryNetworkInterfacePrimaryIp, IsInstanceTemplatePrimaryNetworkInterfacePrimaryIpArgs

    Address string
    The IP address to reserve, which must not already be reserved on the subnet.
    AutoDelete 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.
    ReservedIp 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.
    AutoDelete 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.
    ReservedIp 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.
    autoDelete 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.
    reservedIp 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.
    autoDelete 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.
    reservedIp 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.
    autoDelete 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.
    reservedIp 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<IsInstanceTemplateReservationAffinityPool>
    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 []IsInstanceTemplateReservationAffinityPool
    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<IsInstanceTemplateReservationAffinityPool>
    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 IsInstanceTemplateReservationAffinityPool[]
    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[IsInstanceTemplateReservationAffinityPool]
    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

    DeleteVolumeOnInstanceDelete bool
    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.
    VolumePrototype IsInstanceTemplateVolumeAttachmentVolumePrototype
    Nested scheme for volume_prototype:
    DeleteVolumeOnInstanceDelete bool
    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.
    VolumePrototype IsInstanceTemplateVolumeAttachmentVolumePrototype
    Nested scheme for volume_prototype:
    deleteVolumeOnInstanceDelete Boolean
    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.
    volumePrototype IsInstanceTemplateVolumeAttachmentVolumePrototype
    Nested scheme for volume_prototype:
    deleteVolumeOnInstanceDelete boolean
    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.
    volumePrototype IsInstanceTemplateVolumeAttachmentVolumePrototype
    Nested scheme for volume_prototype:
    delete_volume_on_instance_delete bool
    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 IsInstanceTemplateVolumeAttachmentVolumePrototype
    Nested scheme for volume_prototype:
    deleteVolumeOnInstanceDelete Boolean
    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.
    volumePrototype 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.
    EncryptionKey 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.
    Tags 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.
    EncryptionKey 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.
    Tags []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.
    encryptionKey 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.
    tags 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.
    encryptionKey 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.
    tags 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.
    tags 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.
    encryptionKey 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.
    tags 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.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud