1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Core
  5. InstancePool
Oracle Cloud Infrastructure v1.31.0 published on Wednesday, Apr 10, 2024 by Pulumi

oci.Core.InstancePool

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.31.0 published on Wednesday, Apr 10, 2024 by Pulumi

    This resource provides the Instance Pool resource in Oracle Cloud Infrastructure Core service.

    Creates an instance pool.

    To determine whether capacity is available for a specific shape before you create an instance pool, use the CreateComputeCapacityReport operation.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testInstancePool = new oci.core.InstancePool("testInstancePool", {
        compartmentId: _var.compartment_id,
        instanceConfigurationId: oci_core_instance_configuration.test_instance_configuration.id,
        placementConfigurations: [{
            availabilityDomain: _var.instance_pool_placement_configurations_availability_domain,
            faultDomains: _var.instance_pool_placement_configurations_fault_domains,
            primarySubnetId: oci_core_subnet.test_subnet.id,
            primaryVnicSubnets: {
                subnetId: oci_core_subnet.test_subnet.id,
                ipv6addressIpv6subnetCidrPairDetails: [{
                    ipv6subnetCidr: _var.instance_pool_placement_configurations_primary_vnic_subnets_ipv6address_ipv6subnet_cidr_pair_details_ipv6subnet_cidr,
                }],
                isAssignIpv6ip: _var.instance_pool_placement_configurations_primary_vnic_subnets_is_assign_ipv6ip,
            },
            secondaryVnicSubnets: [{
                subnetId: oci_core_subnet.test_subnet.id,
                displayName: _var.instance_pool_placement_configurations_secondary_vnic_subnets_display_name,
                ipv6addressIpv6subnetCidrPairDetails: [{
                    ipv6subnetCidr: _var.instance_pool_placement_configurations_secondary_vnic_subnets_ipv6address_ipv6subnet_cidr_pair_details_ipv6subnet_cidr,
                }],
                isAssignIpv6ip: _var.instance_pool_placement_configurations_secondary_vnic_subnets_is_assign_ipv6ip,
            }],
        }],
        size: _var.instance_pool_size,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        displayName: _var.instance_pool_display_name,
        freeformTags: {
            Department: "Finance",
        },
        instanceDisplayNameFormatter: _var.instance_pool_instance_display_name_formatter,
        instanceHostnameFormatter: _var.instance_pool_instance_hostname_formatter,
        loadBalancers: [{
            backendSetName: oci_load_balancer_backend_set.test_backend_set.name,
            loadBalancerId: oci_load_balancer_load_balancer.test_load_balancer.id,
            port: _var.instance_pool_load_balancers_port,
            vnicSelection: _var.instance_pool_load_balancers_vnic_selection,
        }],
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_instance_pool = oci.core.InstancePool("testInstancePool",
        compartment_id=var["compartment_id"],
        instance_configuration_id=oci_core_instance_configuration["test_instance_configuration"]["id"],
        placement_configurations=[oci.core.InstancePoolPlacementConfigurationArgs(
            availability_domain=var["instance_pool_placement_configurations_availability_domain"],
            fault_domains=var["instance_pool_placement_configurations_fault_domains"],
            primary_subnet_id=oci_core_subnet["test_subnet"]["id"],
            primary_vnic_subnets=oci.core.InstancePoolPlacementConfigurationPrimaryVnicSubnetsArgs(
                subnet_id=oci_core_subnet["test_subnet"]["id"],
                ipv6address_ipv6subnet_cidr_pair_details=[oci.core.InstancePoolPlacementConfigurationPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetailArgs(
                    ipv6subnet_cidr=var["instance_pool_placement_configurations_primary_vnic_subnets_ipv6address_ipv6subnet_cidr_pair_details_ipv6subnet_cidr"],
                )],
                is_assign_ipv6ip=var["instance_pool_placement_configurations_primary_vnic_subnets_is_assign_ipv6ip"],
            ),
            secondary_vnic_subnets=[oci.core.InstancePoolPlacementConfigurationSecondaryVnicSubnetArgs(
                subnet_id=oci_core_subnet["test_subnet"]["id"],
                display_name=var["instance_pool_placement_configurations_secondary_vnic_subnets_display_name"],
                ipv6address_ipv6subnet_cidr_pair_details=[oci.core.InstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailArgs(
                    ipv6subnet_cidr=var["instance_pool_placement_configurations_secondary_vnic_subnets_ipv6address_ipv6subnet_cidr_pair_details_ipv6subnet_cidr"],
                )],
                is_assign_ipv6ip=var["instance_pool_placement_configurations_secondary_vnic_subnets_is_assign_ipv6ip"],
            )],
        )],
        size=var["instance_pool_size"],
        defined_tags={
            "Operations.CostCenter": "42",
        },
        display_name=var["instance_pool_display_name"],
        freeform_tags={
            "Department": "Finance",
        },
        instance_display_name_formatter=var["instance_pool_instance_display_name_formatter"],
        instance_hostname_formatter=var["instance_pool_instance_hostname_formatter"],
        load_balancers=[oci.core.InstancePoolLoadBalancerArgs(
            backend_set_name=oci_load_balancer_backend_set["test_backend_set"]["name"],
            load_balancer_id=oci_load_balancer_load_balancer["test_load_balancer"]["id"],
            port=var["instance_pool_load_balancers_port"],
            vnic_selection=var["instance_pool_load_balancers_vnic_selection"],
        )])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/Core"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Core.NewInstancePool(ctx, "testInstancePool", &Core.InstancePoolArgs{
    			CompartmentId:           pulumi.Any(_var.Compartment_id),
    			InstanceConfigurationId: pulumi.Any(oci_core_instance_configuration.Test_instance_configuration.Id),
    			PlacementConfigurations: core.InstancePoolPlacementConfigurationArray{
    				&core.InstancePoolPlacementConfigurationArgs{
    					AvailabilityDomain: pulumi.Any(_var.Instance_pool_placement_configurations_availability_domain),
    					FaultDomains:       pulumi.Any(_var.Instance_pool_placement_configurations_fault_domains),
    					PrimarySubnetId:    pulumi.Any(oci_core_subnet.Test_subnet.Id),
    					PrimaryVnicSubnets: &core.InstancePoolPlacementConfigurationPrimaryVnicSubnetsArgs{
    						SubnetId: pulumi.Any(oci_core_subnet.Test_subnet.Id),
    						Ipv6addressIpv6subnetCidrPairDetails: core.InstancePoolPlacementConfigurationPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetailArray{
    							&core.InstancePoolPlacementConfigurationPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetailArgs{
    								Ipv6subnetCidr: pulumi.Any(_var.Instance_pool_placement_configurations_primary_vnic_subnets_ipv6address_ipv6subnet_cidr_pair_details_ipv6subnet_cidr),
    							},
    						},
    						IsAssignIpv6ip: pulumi.Any(_var.Instance_pool_placement_configurations_primary_vnic_subnets_is_assign_ipv6ip),
    					},
    					SecondaryVnicSubnets: core.InstancePoolPlacementConfigurationSecondaryVnicSubnetArray{
    						&core.InstancePoolPlacementConfigurationSecondaryVnicSubnetArgs{
    							SubnetId:    pulumi.Any(oci_core_subnet.Test_subnet.Id),
    							DisplayName: pulumi.Any(_var.Instance_pool_placement_configurations_secondary_vnic_subnets_display_name),
    							Ipv6addressIpv6subnetCidrPairDetails: core.InstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailArray{
    								&core.InstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailArgs{
    									Ipv6subnetCidr: pulumi.Any(_var.Instance_pool_placement_configurations_secondary_vnic_subnets_ipv6address_ipv6subnet_cidr_pair_details_ipv6subnet_cidr),
    								},
    							},
    							IsAssignIpv6ip: pulumi.Any(_var.Instance_pool_placement_configurations_secondary_vnic_subnets_is_assign_ipv6ip),
    						},
    					},
    				},
    			},
    			Size: pulumi.Any(_var.Instance_pool_size),
    			DefinedTags: pulumi.Map{
    				"Operations.CostCenter": pulumi.Any("42"),
    			},
    			DisplayName: pulumi.Any(_var.Instance_pool_display_name),
    			FreeformTags: pulumi.Map{
    				"Department": pulumi.Any("Finance"),
    			},
    			InstanceDisplayNameFormatter: pulumi.Any(_var.Instance_pool_instance_display_name_formatter),
    			InstanceHostnameFormatter:    pulumi.Any(_var.Instance_pool_instance_hostname_formatter),
    			LoadBalancers: core.InstancePoolLoadBalancerArray{
    				&core.InstancePoolLoadBalancerArgs{
    					BackendSetName: pulumi.Any(oci_load_balancer_backend_set.Test_backend_set.Name),
    					LoadBalancerId: pulumi.Any(oci_load_balancer_load_balancer.Test_load_balancer.Id),
    					Port:           pulumi.Any(_var.Instance_pool_load_balancers_port),
    					VnicSelection:  pulumi.Any(_var.Instance_pool_load_balancers_vnic_selection),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testInstancePool = new Oci.Core.InstancePool("testInstancePool", new()
        {
            CompartmentId = @var.Compartment_id,
            InstanceConfigurationId = oci_core_instance_configuration.Test_instance_configuration.Id,
            PlacementConfigurations = new[]
            {
                new Oci.Core.Inputs.InstancePoolPlacementConfigurationArgs
                {
                    AvailabilityDomain = @var.Instance_pool_placement_configurations_availability_domain,
                    FaultDomains = @var.Instance_pool_placement_configurations_fault_domains,
                    PrimarySubnetId = oci_core_subnet.Test_subnet.Id,
                    PrimaryVnicSubnets = new Oci.Core.Inputs.InstancePoolPlacementConfigurationPrimaryVnicSubnetsArgs
                    {
                        SubnetId = oci_core_subnet.Test_subnet.Id,
                        Ipv6addressIpv6subnetCidrPairDetails = new[]
                        {
                            new Oci.Core.Inputs.InstancePoolPlacementConfigurationPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetailArgs
                            {
                                Ipv6subnetCidr = @var.Instance_pool_placement_configurations_primary_vnic_subnets_ipv6address_ipv6subnet_cidr_pair_details_ipv6subnet_cidr,
                            },
                        },
                        IsAssignIpv6ip = @var.Instance_pool_placement_configurations_primary_vnic_subnets_is_assign_ipv6ip,
                    },
                    SecondaryVnicSubnets = new[]
                    {
                        new Oci.Core.Inputs.InstancePoolPlacementConfigurationSecondaryVnicSubnetArgs
                        {
                            SubnetId = oci_core_subnet.Test_subnet.Id,
                            DisplayName = @var.Instance_pool_placement_configurations_secondary_vnic_subnets_display_name,
                            Ipv6addressIpv6subnetCidrPairDetails = new[]
                            {
                                new Oci.Core.Inputs.InstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailArgs
                                {
                                    Ipv6subnetCidr = @var.Instance_pool_placement_configurations_secondary_vnic_subnets_ipv6address_ipv6subnet_cidr_pair_details_ipv6subnet_cidr,
                                },
                            },
                            IsAssignIpv6ip = @var.Instance_pool_placement_configurations_secondary_vnic_subnets_is_assign_ipv6ip,
                        },
                    },
                },
            },
            Size = @var.Instance_pool_size,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            DisplayName = @var.Instance_pool_display_name,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            InstanceDisplayNameFormatter = @var.Instance_pool_instance_display_name_formatter,
            InstanceHostnameFormatter = @var.Instance_pool_instance_hostname_formatter,
            LoadBalancers = new[]
            {
                new Oci.Core.Inputs.InstancePoolLoadBalancerArgs
                {
                    BackendSetName = oci_load_balancer_backend_set.Test_backend_set.Name,
                    LoadBalancerId = oci_load_balancer_load_balancer.Test_load_balancer.Id,
                    Port = @var.Instance_pool_load_balancers_port,
                    VnicSelection = @var.Instance_pool_load_balancers_vnic_selection,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Core.InstancePool;
    import com.pulumi.oci.Core.InstancePoolArgs;
    import com.pulumi.oci.Core.inputs.InstancePoolPlacementConfigurationArgs;
    import com.pulumi.oci.Core.inputs.InstancePoolPlacementConfigurationPrimaryVnicSubnetsArgs;
    import com.pulumi.oci.Core.inputs.InstancePoolLoadBalancerArgs;
    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 testInstancePool = new InstancePool("testInstancePool", InstancePoolArgs.builder()        
                .compartmentId(var_.compartment_id())
                .instanceConfigurationId(oci_core_instance_configuration.test_instance_configuration().id())
                .placementConfigurations(InstancePoolPlacementConfigurationArgs.builder()
                    .availabilityDomain(var_.instance_pool_placement_configurations_availability_domain())
                    .faultDomains(var_.instance_pool_placement_configurations_fault_domains())
                    .primarySubnetId(oci_core_subnet.test_subnet().id())
                    .primaryVnicSubnets(InstancePoolPlacementConfigurationPrimaryVnicSubnetsArgs.builder()
                        .subnetId(oci_core_subnet.test_subnet().id())
                        .ipv6addressIpv6subnetCidrPairDetails(InstancePoolPlacementConfigurationPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetailArgs.builder()
                            .ipv6subnetCidr(var_.instance_pool_placement_configurations_primary_vnic_subnets_ipv6address_ipv6subnet_cidr_pair_details_ipv6subnet_cidr())
                            .build())
                        .isAssignIpv6ip(var_.instance_pool_placement_configurations_primary_vnic_subnets_is_assign_ipv6ip())
                        .build())
                    .secondaryVnicSubnets(InstancePoolPlacementConfigurationSecondaryVnicSubnetArgs.builder()
                        .subnetId(oci_core_subnet.test_subnet().id())
                        .displayName(var_.instance_pool_placement_configurations_secondary_vnic_subnets_display_name())
                        .ipv6addressIpv6subnetCidrPairDetails(InstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailArgs.builder()
                            .ipv6subnetCidr(var_.instance_pool_placement_configurations_secondary_vnic_subnets_ipv6address_ipv6subnet_cidr_pair_details_ipv6subnet_cidr())
                            .build())
                        .isAssignIpv6ip(var_.instance_pool_placement_configurations_secondary_vnic_subnets_is_assign_ipv6ip())
                        .build())
                    .build())
                .size(var_.instance_pool_size())
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .displayName(var_.instance_pool_display_name())
                .freeformTags(Map.of("Department", "Finance"))
                .instanceDisplayNameFormatter(var_.instance_pool_instance_display_name_formatter())
                .instanceHostnameFormatter(var_.instance_pool_instance_hostname_formatter())
                .loadBalancers(InstancePoolLoadBalancerArgs.builder()
                    .backendSetName(oci_load_balancer_backend_set.test_backend_set().name())
                    .loadBalancerId(oci_load_balancer_load_balancer.test_load_balancer().id())
                    .port(var_.instance_pool_load_balancers_port())
                    .vnicSelection(var_.instance_pool_load_balancers_vnic_selection())
                    .build())
                .build());
    
        }
    }
    
    resources:
      testInstancePool:
        type: oci:Core:InstancePool
        properties:
          #Required
          compartmentId: ${var.compartment_id}
          instanceConfigurationId: ${oci_core_instance_configuration.test_instance_configuration.id}
          placementConfigurations:
            - availabilityDomain: ${var.instance_pool_placement_configurations_availability_domain}
              faultDomains: ${var.instance_pool_placement_configurations_fault_domains}
              primarySubnetId: ${oci_core_subnet.test_subnet.id}
              primaryVnicSubnets:
                subnetId: ${oci_core_subnet.test_subnet.id}
                ipv6addressIpv6subnetCidrPairDetails:
                  - ipv6subnetCidr: ${var.instance_pool_placement_configurations_primary_vnic_subnets_ipv6address_ipv6subnet_cidr_pair_details_ipv6subnet_cidr}
                isAssignIpv6ip: ${var.instance_pool_placement_configurations_primary_vnic_subnets_is_assign_ipv6ip}
              secondaryVnicSubnets:
                - subnetId: ${oci_core_subnet.test_subnet.id}
                  displayName: ${var.instance_pool_placement_configurations_secondary_vnic_subnets_display_name}
                  ipv6addressIpv6subnetCidrPairDetails:
                    - ipv6subnetCidr: ${var.instance_pool_placement_configurations_secondary_vnic_subnets_ipv6address_ipv6subnet_cidr_pair_details_ipv6subnet_cidr}
                  isAssignIpv6ip: ${var.instance_pool_placement_configurations_secondary_vnic_subnets_is_assign_ipv6ip}
          size: ${var.instance_pool_size}
          #Optional
          definedTags:
            Operations.CostCenter: '42'
          displayName: ${var.instance_pool_display_name}
          freeformTags:
            Department: Finance
          instanceDisplayNameFormatter: ${var.instance_pool_instance_display_name_formatter}
          instanceHostnameFormatter: ${var.instance_pool_instance_hostname_formatter}
          loadBalancers:
            - backendSetName: ${oci_load_balancer_backend_set.test_backend_set.name}
              loadBalancerId: ${oci_load_balancer_load_balancer.test_load_balancer.id}
              port: ${var.instance_pool_load_balancers_port}
              vnicSelection: ${var.instance_pool_load_balancers_vnic_selection}
    

    Create InstancePool Resource

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

    Constructor syntax

    new InstancePool(name: string, args: InstancePoolArgs, opts?: CustomResourceOptions);
    @overload
    def InstancePool(resource_name: str,
                     args: InstancePoolArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def InstancePool(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     compartment_id: Optional[str] = None,
                     instance_configuration_id: Optional[str] = None,
                     placement_configurations: Optional[Sequence[_core.InstancePoolPlacementConfigurationArgs]] = None,
                     size: Optional[int] = None,
                     defined_tags: Optional[Mapping[str, Any]] = None,
                     display_name: Optional[str] = None,
                     freeform_tags: Optional[Mapping[str, Any]] = None,
                     instance_display_name_formatter: Optional[str] = None,
                     instance_hostname_formatter: Optional[str] = None,
                     load_balancers: Optional[Sequence[_core.InstancePoolLoadBalancerArgs]] = None,
                     state: Optional[str] = None)
    func NewInstancePool(ctx *Context, name string, args InstancePoolArgs, opts ...ResourceOption) (*InstancePool, error)
    public InstancePool(string name, InstancePoolArgs args, CustomResourceOptions? opts = null)
    public InstancePool(String name, InstancePoolArgs args)
    public InstancePool(String name, InstancePoolArgs args, CustomResourceOptions options)
    
    type: oci:Core:InstancePool
    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 InstancePoolArgs
    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 InstancePoolArgs
    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 InstancePoolArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args InstancePoolArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args InstancePoolArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var instancePoolResource = new Oci.Core.InstancePool("instancePoolResource", new()
    {
        CompartmentId = "string",
        InstanceConfigurationId = "string",
        PlacementConfigurations = new[]
        {
            new Oci.Core.Inputs.InstancePoolPlacementConfigurationArgs
            {
                AvailabilityDomain = "string",
                FaultDomains = new[]
                {
                    "string",
                },
                PrimarySubnetId = "string",
                PrimaryVnicSubnets = new Oci.Core.Inputs.InstancePoolPlacementConfigurationPrimaryVnicSubnetsArgs
                {
                    SubnetId = "string",
                    Ipv6addressIpv6subnetCidrPairDetails = new[]
                    {
                        new Oci.Core.Inputs.InstancePoolPlacementConfigurationPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetailArgs
                        {
                            Ipv6subnetCidr = "string",
                        },
                    },
                    IsAssignIpv6ip = false,
                },
                SecondaryVnicSubnets = new[]
                {
                    new Oci.Core.Inputs.InstancePoolPlacementConfigurationSecondaryVnicSubnetArgs
                    {
                        SubnetId = "string",
                        DisplayName = "string",
                        Ipv6addressIpv6subnetCidrPairDetails = new[]
                        {
                            new Oci.Core.Inputs.InstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailArgs
                            {
                                Ipv6subnetCidr = "string",
                            },
                        },
                        IsAssignIpv6ip = false,
                    },
                },
            },
        },
        Size = 0,
        DefinedTags = 
        {
            { "string", "any" },
        },
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "any" },
        },
        InstanceDisplayNameFormatter = "string",
        InstanceHostnameFormatter = "string",
        LoadBalancers = new[]
        {
            new Oci.Core.Inputs.InstancePoolLoadBalancerArgs
            {
                BackendSetName = "string",
                LoadBalancerId = "string",
                Port = 0,
                VnicSelection = "string",
                Id = "string",
                InstancePoolId = "string",
                State = "string",
            },
        },
        State = "string",
    });
    
    example, err := Core.NewInstancePool(ctx, "instancePoolResource", &Core.InstancePoolArgs{
    	CompartmentId:           pulumi.String("string"),
    	InstanceConfigurationId: pulumi.String("string"),
    	PlacementConfigurations: core.InstancePoolPlacementConfigurationArray{
    		&core.InstancePoolPlacementConfigurationArgs{
    			AvailabilityDomain: pulumi.String("string"),
    			FaultDomains: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			PrimarySubnetId: pulumi.String("string"),
    			PrimaryVnicSubnets: &core.InstancePoolPlacementConfigurationPrimaryVnicSubnetsArgs{
    				SubnetId: pulumi.String("string"),
    				Ipv6addressIpv6subnetCidrPairDetails: core.InstancePoolPlacementConfigurationPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetailArray{
    					&core.InstancePoolPlacementConfigurationPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetailArgs{
    						Ipv6subnetCidr: pulumi.String("string"),
    					},
    				},
    				IsAssignIpv6ip: pulumi.Bool(false),
    			},
    			SecondaryVnicSubnets: core.InstancePoolPlacementConfigurationSecondaryVnicSubnetArray{
    				&core.InstancePoolPlacementConfigurationSecondaryVnicSubnetArgs{
    					SubnetId:    pulumi.String("string"),
    					DisplayName: pulumi.String("string"),
    					Ipv6addressIpv6subnetCidrPairDetails: core.InstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailArray{
    						&core.InstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailArgs{
    							Ipv6subnetCidr: pulumi.String("string"),
    						},
    					},
    					IsAssignIpv6ip: pulumi.Bool(false),
    				},
    			},
    		},
    	},
    	Size: pulumi.Int(0),
    	DefinedTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	DisplayName: pulumi.String("string"),
    	FreeformTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	InstanceDisplayNameFormatter: pulumi.String("string"),
    	InstanceHostnameFormatter:    pulumi.String("string"),
    	LoadBalancers: core.InstancePoolLoadBalancerArray{
    		&core.InstancePoolLoadBalancerArgs{
    			BackendSetName: pulumi.String("string"),
    			LoadBalancerId: pulumi.String("string"),
    			Port:           pulumi.Int(0),
    			VnicSelection:  pulumi.String("string"),
    			Id:             pulumi.String("string"),
    			InstancePoolId: pulumi.String("string"),
    			State:          pulumi.String("string"),
    		},
    	},
    	State: pulumi.String("string"),
    })
    
    var instancePoolResource = new InstancePool("instancePoolResource", InstancePoolArgs.builder()        
        .compartmentId("string")
        .instanceConfigurationId("string")
        .placementConfigurations(InstancePoolPlacementConfigurationArgs.builder()
            .availabilityDomain("string")
            .faultDomains("string")
            .primarySubnetId("string")
            .primaryVnicSubnets(InstancePoolPlacementConfigurationPrimaryVnicSubnetsArgs.builder()
                .subnetId("string")
                .ipv6addressIpv6subnetCidrPairDetails(InstancePoolPlacementConfigurationPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetailArgs.builder()
                    .ipv6subnetCidr("string")
                    .build())
                .isAssignIpv6ip(false)
                .build())
            .secondaryVnicSubnets(InstancePoolPlacementConfigurationSecondaryVnicSubnetArgs.builder()
                .subnetId("string")
                .displayName("string")
                .ipv6addressIpv6subnetCidrPairDetails(InstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailArgs.builder()
                    .ipv6subnetCidr("string")
                    .build())
                .isAssignIpv6ip(false)
                .build())
            .build())
        .size(0)
        .definedTags(Map.of("string", "any"))
        .displayName("string")
        .freeformTags(Map.of("string", "any"))
        .instanceDisplayNameFormatter("string")
        .instanceHostnameFormatter("string")
        .loadBalancers(InstancePoolLoadBalancerArgs.builder()
            .backendSetName("string")
            .loadBalancerId("string")
            .port(0)
            .vnicSelection("string")
            .id("string")
            .instancePoolId("string")
            .state("string")
            .build())
        .state("string")
        .build());
    
    instance_pool_resource = oci.core.InstancePool("instancePoolResource",
        compartment_id="string",
        instance_configuration_id="string",
        placement_configurations=[oci.core.InstancePoolPlacementConfigurationArgs(
            availability_domain="string",
            fault_domains=["string"],
            primary_subnet_id="string",
            primary_vnic_subnets=oci.core.InstancePoolPlacementConfigurationPrimaryVnicSubnetsArgs(
                subnet_id="string",
                ipv6address_ipv6subnet_cidr_pair_details=[oci.core.InstancePoolPlacementConfigurationPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetailArgs(
                    ipv6subnet_cidr="string",
                )],
                is_assign_ipv6ip=False,
            ),
            secondary_vnic_subnets=[oci.core.InstancePoolPlacementConfigurationSecondaryVnicSubnetArgs(
                subnet_id="string",
                display_name="string",
                ipv6address_ipv6subnet_cidr_pair_details=[oci.core.InstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailArgs(
                    ipv6subnet_cidr="string",
                )],
                is_assign_ipv6ip=False,
            )],
        )],
        size=0,
        defined_tags={
            "string": "any",
        },
        display_name="string",
        freeform_tags={
            "string": "any",
        },
        instance_display_name_formatter="string",
        instance_hostname_formatter="string",
        load_balancers=[oci.core.InstancePoolLoadBalancerArgs(
            backend_set_name="string",
            load_balancer_id="string",
            port=0,
            vnic_selection="string",
            id="string",
            instance_pool_id="string",
            state="string",
        )],
        state="string")
    
    const instancePoolResource = new oci.core.InstancePool("instancePoolResource", {
        compartmentId: "string",
        instanceConfigurationId: "string",
        placementConfigurations: [{
            availabilityDomain: "string",
            faultDomains: ["string"],
            primarySubnetId: "string",
            primaryVnicSubnets: {
                subnetId: "string",
                ipv6addressIpv6subnetCidrPairDetails: [{
                    ipv6subnetCidr: "string",
                }],
                isAssignIpv6ip: false,
            },
            secondaryVnicSubnets: [{
                subnetId: "string",
                displayName: "string",
                ipv6addressIpv6subnetCidrPairDetails: [{
                    ipv6subnetCidr: "string",
                }],
                isAssignIpv6ip: false,
            }],
        }],
        size: 0,
        definedTags: {
            string: "any",
        },
        displayName: "string",
        freeformTags: {
            string: "any",
        },
        instanceDisplayNameFormatter: "string",
        instanceHostnameFormatter: "string",
        loadBalancers: [{
            backendSetName: "string",
            loadBalancerId: "string",
            port: 0,
            vnicSelection: "string",
            id: "string",
            instancePoolId: "string",
            state: "string",
        }],
        state: "string",
    });
    
    type: oci:Core:InstancePool
    properties:
        compartmentId: string
        definedTags:
            string: any
        displayName: string
        freeformTags:
            string: any
        instanceConfigurationId: string
        instanceDisplayNameFormatter: string
        instanceHostnameFormatter: string
        loadBalancers:
            - backendSetName: string
              id: string
              instancePoolId: string
              loadBalancerId: string
              port: 0
              state: string
              vnicSelection: string
        placementConfigurations:
            - availabilityDomain: string
              faultDomains:
                - string
              primarySubnetId: string
              primaryVnicSubnets:
                ipv6addressIpv6subnetCidrPairDetails:
                    - ipv6subnetCidr: string
                isAssignIpv6ip: false
                subnetId: string
              secondaryVnicSubnets:
                - displayName: string
                  ipv6addressIpv6subnetCidrPairDetails:
                    - ipv6subnetCidr: string
                  isAssignIpv6ip: false
                  subnetId: string
        size: 0
        state: string
    

    InstancePool Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The InstancePool resource accepts the following input properties:

    CompartmentId string
    (Updatable) The OCID of the compartment containing the instance pool.
    InstanceConfigurationId string
    (Updatable) The OCID of the instance configuration associated with the instance pool.
    PlacementConfigurations List<InstancePoolPlacementConfiguration>

    (Updatable) The placement configurations for the instance pool. Provide one placement configuration for each availability domain.

    To use the instance pool with a regional subnet, provide a placement configuration for each availability domain, and include the regional subnet in each placement configuration.

    Size int
    (Updatable) The number of instances that should be in the instance pool. Modifying this value will override the size of the instance pool. If the instance pool is linked with autoscaling configuration, autoscaling configuration could resize the instance pool at a later point. The instance pool's actual size may differ from the configured size if it is associated with an autoscaling configuration, instance pool's actual size will be reflected in this size attribute.
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    (Updatable) The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
    FreeformTags Dictionary<string, object>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    InstanceDisplayNameFormatter string
    (Updatable) A user-friendly formatter for the instance pool's instances. Instance displaynames follow the format. The formatter does not retroactively change instance's displaynames, only instance displaynames in the future follow the format
    InstanceHostnameFormatter string
    (Updatable) A user-friendly formatter for the instance pool's instances. Instance hostnames follow the format. The formatter does not retroactively change instance's hostnames, only instance hostnames in the future follow the format
    LoadBalancers List<InstancePoolLoadBalancer>
    The load balancers to attach to the instance pool.
    State string

    (Updatable) The target state for the instance pool update operation (ignored at create time and should not be set). Could be set to RUNNING or STOPPED.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    CompartmentId string
    (Updatable) The OCID of the compartment containing the instance pool.
    InstanceConfigurationId string
    (Updatable) The OCID of the instance configuration associated with the instance pool.
    PlacementConfigurations []InstancePoolPlacementConfigurationArgs

    (Updatable) The placement configurations for the instance pool. Provide one placement configuration for each availability domain.

    To use the instance pool with a regional subnet, provide a placement configuration for each availability domain, and include the regional subnet in each placement configuration.

    Size int
    (Updatable) The number of instances that should be in the instance pool. Modifying this value will override the size of the instance pool. If the instance pool is linked with autoscaling configuration, autoscaling configuration could resize the instance pool at a later point. The instance pool's actual size may differ from the configured size if it is associated with an autoscaling configuration, instance pool's actual size will be reflected in this size attribute.
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    (Updatable) The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
    FreeformTags map[string]interface{}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    InstanceDisplayNameFormatter string
    (Updatable) A user-friendly formatter for the instance pool's instances. Instance displaynames follow the format. The formatter does not retroactively change instance's displaynames, only instance displaynames in the future follow the format
    InstanceHostnameFormatter string
    (Updatable) A user-friendly formatter for the instance pool's instances. Instance hostnames follow the format. The formatter does not retroactively change instance's hostnames, only instance hostnames in the future follow the format
    LoadBalancers []InstancePoolLoadBalancerArgs
    The load balancers to attach to the instance pool.
    State string

    (Updatable) The target state for the instance pool update operation (ignored at create time and should not be set). Could be set to RUNNING or STOPPED.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId String
    (Updatable) The OCID of the compartment containing the instance pool.
    instanceConfigurationId String
    (Updatable) The OCID of the instance configuration associated with the instance pool.
    placementConfigurations List<InstancePoolPlacementConfiguration>

    (Updatable) The placement configurations for the instance pool. Provide one placement configuration for each availability domain.

    To use the instance pool with a regional subnet, provide a placement configuration for each availability domain, and include the regional subnet in each placement configuration.

    size Integer
    (Updatable) The number of instances that should be in the instance pool. Modifying this value will override the size of the instance pool. If the instance pool is linked with autoscaling configuration, autoscaling configuration could resize the instance pool at a later point. The instance pool's actual size may differ from the configured size if it is associated with an autoscaling configuration, instance pool's actual size will be reflected in this size attribute.
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    (Updatable) The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
    freeformTags Map<String,Object>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    instanceDisplayNameFormatter String
    (Updatable) A user-friendly formatter for the instance pool's instances. Instance displaynames follow the format. The formatter does not retroactively change instance's displaynames, only instance displaynames in the future follow the format
    instanceHostnameFormatter String
    (Updatable) A user-friendly formatter for the instance pool's instances. Instance hostnames follow the format. The formatter does not retroactively change instance's hostnames, only instance hostnames in the future follow the format
    loadBalancers List<InstancePoolLoadBalancer>
    The load balancers to attach to the instance pool.
    state String

    (Updatable) The target state for the instance pool update operation (ignored at create time and should not be set). Could be set to RUNNING or STOPPED.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId string
    (Updatable) The OCID of the compartment containing the instance pool.
    instanceConfigurationId string
    (Updatable) The OCID of the instance configuration associated with the instance pool.
    placementConfigurations InstancePoolPlacementConfiguration[]

    (Updatable) The placement configurations for the instance pool. Provide one placement configuration for each availability domain.

    To use the instance pool with a regional subnet, provide a placement configuration for each availability domain, and include the regional subnet in each placement configuration.

    size number
    (Updatable) The number of instances that should be in the instance pool. Modifying this value will override the size of the instance pool. If the instance pool is linked with autoscaling configuration, autoscaling configuration could resize the instance pool at a later point. The instance pool's actual size may differ from the configured size if it is associated with an autoscaling configuration, instance pool's actual size will be reflected in this size attribute.
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName string
    (Updatable) The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
    freeformTags {[key: string]: any}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    instanceDisplayNameFormatter string
    (Updatable) A user-friendly formatter for the instance pool's instances. Instance displaynames follow the format. The formatter does not retroactively change instance's displaynames, only instance displaynames in the future follow the format
    instanceHostnameFormatter string
    (Updatable) A user-friendly formatter for the instance pool's instances. Instance hostnames follow the format. The formatter does not retroactively change instance's hostnames, only instance hostnames in the future follow the format
    loadBalancers InstancePoolLoadBalancer[]
    The load balancers to attach to the instance pool.
    state string

    (Updatable) The target state for the instance pool update operation (ignored at create time and should not be set). Could be set to RUNNING or STOPPED.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartment_id str
    (Updatable) The OCID of the compartment containing the instance pool.
    instance_configuration_id str
    (Updatable) The OCID of the instance configuration associated with the instance pool.
    placement_configurations Sequence[core.InstancePoolPlacementConfigurationArgs]

    (Updatable) The placement configurations for the instance pool. Provide one placement configuration for each availability domain.

    To use the instance pool with a regional subnet, provide a placement configuration for each availability domain, and include the regional subnet in each placement configuration.

    size int
    (Updatable) The number of instances that should be in the instance pool. Modifying this value will override the size of the instance pool. If the instance pool is linked with autoscaling configuration, autoscaling configuration could resize the instance pool at a later point. The instance pool's actual size may differ from the configured size if it is associated with an autoscaling configuration, instance pool's actual size will be reflected in this size attribute.
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    display_name str
    (Updatable) The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
    freeform_tags Mapping[str, Any]
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    instance_display_name_formatter str
    (Updatable) A user-friendly formatter for the instance pool's instances. Instance displaynames follow the format. The formatter does not retroactively change instance's displaynames, only instance displaynames in the future follow the format
    instance_hostname_formatter str
    (Updatable) A user-friendly formatter for the instance pool's instances. Instance hostnames follow the format. The formatter does not retroactively change instance's hostnames, only instance hostnames in the future follow the format
    load_balancers Sequence[core.InstancePoolLoadBalancerArgs]
    The load balancers to attach to the instance pool.
    state str

    (Updatable) The target state for the instance pool update operation (ignored at create time and should not be set). Could be set to RUNNING or STOPPED.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId String
    (Updatable) The OCID of the compartment containing the instance pool.
    instanceConfigurationId String
    (Updatable) The OCID of the instance configuration associated with the instance pool.
    placementConfigurations List<Property Map>

    (Updatable) The placement configurations for the instance pool. Provide one placement configuration for each availability domain.

    To use the instance pool with a regional subnet, provide a placement configuration for each availability domain, and include the regional subnet in each placement configuration.

    size Number
    (Updatable) The number of instances that should be in the instance pool. Modifying this value will override the size of the instance pool. If the instance pool is linked with autoscaling configuration, autoscaling configuration could resize the instance pool at a later point. The instance pool's actual size may differ from the configured size if it is associated with an autoscaling configuration, instance pool's actual size will be reflected in this size attribute.
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    (Updatable) The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
    freeformTags Map<Any>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    instanceDisplayNameFormatter String
    (Updatable) A user-friendly formatter for the instance pool's instances. Instance displaynames follow the format. The formatter does not retroactively change instance's displaynames, only instance displaynames in the future follow the format
    instanceHostnameFormatter String
    (Updatable) A user-friendly formatter for the instance pool's instances. Instance hostnames follow the format. The formatter does not retroactively change instance's hostnames, only instance hostnames in the future follow the format
    loadBalancers List<Property Map>
    The load balancers to attach to the instance pool.
    state String

    (Updatable) The target state for the instance pool update operation (ignored at create time and should not be set). Could be set to RUNNING or STOPPED.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Outputs

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

    ActualSize int
    The number of actual instances in the instance pool on the cloud. This attribute will be different when instance pool is used along with autoScaling Configuration.
    Id string
    The provider-assigned unique ID for this managed resource.
    TimeCreated string
    The date and time the instance pool was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    ActualSize int
    The number of actual instances in the instance pool on the cloud. This attribute will be different when instance pool is used along with autoScaling Configuration.
    Id string
    The provider-assigned unique ID for this managed resource.
    TimeCreated string
    The date and time the instance pool was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    actualSize Integer
    The number of actual instances in the instance pool on the cloud. This attribute will be different when instance pool is used along with autoScaling Configuration.
    id String
    The provider-assigned unique ID for this managed resource.
    timeCreated String
    The date and time the instance pool was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    actualSize number
    The number of actual instances in the instance pool on the cloud. This attribute will be different when instance pool is used along with autoScaling Configuration.
    id string
    The provider-assigned unique ID for this managed resource.
    timeCreated string
    The date and time the instance pool was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    actual_size int
    The number of actual instances in the instance pool on the cloud. This attribute will be different when instance pool is used along with autoScaling Configuration.
    id str
    The provider-assigned unique ID for this managed resource.
    time_created str
    The date and time the instance pool was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    actualSize Number
    The number of actual instances in the instance pool on the cloud. This attribute will be different when instance pool is used along with autoScaling Configuration.
    id String
    The provider-assigned unique ID for this managed resource.
    timeCreated String
    The date and time the instance pool was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

    Look up Existing InstancePool Resource

    Get an existing InstancePool 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?: InstancePoolState, opts?: CustomResourceOptions): InstancePool
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            actual_size: Optional[int] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, Any]] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, Any]] = None,
            instance_configuration_id: Optional[str] = None,
            instance_display_name_formatter: Optional[str] = None,
            instance_hostname_formatter: Optional[str] = None,
            load_balancers: Optional[Sequence[_core.InstancePoolLoadBalancerArgs]] = None,
            placement_configurations: Optional[Sequence[_core.InstancePoolPlacementConfigurationArgs]] = None,
            size: Optional[int] = None,
            state: Optional[str] = None,
            time_created: Optional[str] = None) -> InstancePool
    func GetInstancePool(ctx *Context, name string, id IDInput, state *InstancePoolState, opts ...ResourceOption) (*InstancePool, error)
    public static InstancePool Get(string name, Input<string> id, InstancePoolState? state, CustomResourceOptions? opts = null)
    public static InstancePool get(String name, Output<String> id, InstancePoolState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    ActualSize int
    The number of actual instances in the instance pool on the cloud. This attribute will be different when instance pool is used along with autoScaling Configuration.
    CompartmentId string
    (Updatable) The OCID of the compartment containing the instance pool.
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    (Updatable) The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
    FreeformTags Dictionary<string, object>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    InstanceConfigurationId string
    (Updatable) The OCID of the instance configuration associated with the instance pool.
    InstanceDisplayNameFormatter string
    (Updatable) A user-friendly formatter for the instance pool's instances. Instance displaynames follow the format. The formatter does not retroactively change instance's displaynames, only instance displaynames in the future follow the format
    InstanceHostnameFormatter string
    (Updatable) A user-friendly formatter for the instance pool's instances. Instance hostnames follow the format. The formatter does not retroactively change instance's hostnames, only instance hostnames in the future follow the format
    LoadBalancers List<InstancePoolLoadBalancer>
    The load balancers to attach to the instance pool.
    PlacementConfigurations List<InstancePoolPlacementConfiguration>

    (Updatable) The placement configurations for the instance pool. Provide one placement configuration for each availability domain.

    To use the instance pool with a regional subnet, provide a placement configuration for each availability domain, and include the regional subnet in each placement configuration.

    Size int
    (Updatable) The number of instances that should be in the instance pool. Modifying this value will override the size of the instance pool. If the instance pool is linked with autoscaling configuration, autoscaling configuration could resize the instance pool at a later point. The instance pool's actual size may differ from the configured size if it is associated with an autoscaling configuration, instance pool's actual size will be reflected in this size attribute.
    State string

    (Updatable) The target state for the instance pool update operation (ignored at create time and should not be set). Could be set to RUNNING or STOPPED.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    TimeCreated string
    The date and time the instance pool was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    ActualSize int
    The number of actual instances in the instance pool on the cloud. This attribute will be different when instance pool is used along with autoScaling Configuration.
    CompartmentId string
    (Updatable) The OCID of the compartment containing the instance pool.
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    (Updatable) The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
    FreeformTags map[string]interface{}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    InstanceConfigurationId string
    (Updatable) The OCID of the instance configuration associated with the instance pool.
    InstanceDisplayNameFormatter string
    (Updatable) A user-friendly formatter for the instance pool's instances. Instance displaynames follow the format. The formatter does not retroactively change instance's displaynames, only instance displaynames in the future follow the format
    InstanceHostnameFormatter string
    (Updatable) A user-friendly formatter for the instance pool's instances. Instance hostnames follow the format. The formatter does not retroactively change instance's hostnames, only instance hostnames in the future follow the format
    LoadBalancers []InstancePoolLoadBalancerArgs
    The load balancers to attach to the instance pool.
    PlacementConfigurations []InstancePoolPlacementConfigurationArgs

    (Updatable) The placement configurations for the instance pool. Provide one placement configuration for each availability domain.

    To use the instance pool with a regional subnet, provide a placement configuration for each availability domain, and include the regional subnet in each placement configuration.

    Size int
    (Updatable) The number of instances that should be in the instance pool. Modifying this value will override the size of the instance pool. If the instance pool is linked with autoscaling configuration, autoscaling configuration could resize the instance pool at a later point. The instance pool's actual size may differ from the configured size if it is associated with an autoscaling configuration, instance pool's actual size will be reflected in this size attribute.
    State string

    (Updatable) The target state for the instance pool update operation (ignored at create time and should not be set). Could be set to RUNNING or STOPPED.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    TimeCreated string
    The date and time the instance pool was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    actualSize Integer
    The number of actual instances in the instance pool on the cloud. This attribute will be different when instance pool is used along with autoScaling Configuration.
    compartmentId String
    (Updatable) The OCID of the compartment containing the instance pool.
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    (Updatable) The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
    freeformTags Map<String,Object>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    instanceConfigurationId String
    (Updatable) The OCID of the instance configuration associated with the instance pool.
    instanceDisplayNameFormatter String
    (Updatable) A user-friendly formatter for the instance pool's instances. Instance displaynames follow the format. The formatter does not retroactively change instance's displaynames, only instance displaynames in the future follow the format
    instanceHostnameFormatter String
    (Updatable) A user-friendly formatter for the instance pool's instances. Instance hostnames follow the format. The formatter does not retroactively change instance's hostnames, only instance hostnames in the future follow the format
    loadBalancers List<InstancePoolLoadBalancer>
    The load balancers to attach to the instance pool.
    placementConfigurations List<InstancePoolPlacementConfiguration>

    (Updatable) The placement configurations for the instance pool. Provide one placement configuration for each availability domain.

    To use the instance pool with a regional subnet, provide a placement configuration for each availability domain, and include the regional subnet in each placement configuration.

    size Integer
    (Updatable) The number of instances that should be in the instance pool. Modifying this value will override the size of the instance pool. If the instance pool is linked with autoscaling configuration, autoscaling configuration could resize the instance pool at a later point. The instance pool's actual size may differ from the configured size if it is associated with an autoscaling configuration, instance pool's actual size will be reflected in this size attribute.
    state String

    (Updatable) The target state for the instance pool update operation (ignored at create time and should not be set). Could be set to RUNNING or STOPPED.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    timeCreated String
    The date and time the instance pool was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    actualSize number
    The number of actual instances in the instance pool on the cloud. This attribute will be different when instance pool is used along with autoScaling Configuration.
    compartmentId string
    (Updatable) The OCID of the compartment containing the instance pool.
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName string
    (Updatable) The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
    freeformTags {[key: string]: any}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    instanceConfigurationId string
    (Updatable) The OCID of the instance configuration associated with the instance pool.
    instanceDisplayNameFormatter string
    (Updatable) A user-friendly formatter for the instance pool's instances. Instance displaynames follow the format. The formatter does not retroactively change instance's displaynames, only instance displaynames in the future follow the format
    instanceHostnameFormatter string
    (Updatable) A user-friendly formatter for the instance pool's instances. Instance hostnames follow the format. The formatter does not retroactively change instance's hostnames, only instance hostnames in the future follow the format
    loadBalancers InstancePoolLoadBalancer[]
    The load balancers to attach to the instance pool.
    placementConfigurations InstancePoolPlacementConfiguration[]

    (Updatable) The placement configurations for the instance pool. Provide one placement configuration for each availability domain.

    To use the instance pool with a regional subnet, provide a placement configuration for each availability domain, and include the regional subnet in each placement configuration.

    size number
    (Updatable) The number of instances that should be in the instance pool. Modifying this value will override the size of the instance pool. If the instance pool is linked with autoscaling configuration, autoscaling configuration could resize the instance pool at a later point. The instance pool's actual size may differ from the configured size if it is associated with an autoscaling configuration, instance pool's actual size will be reflected in this size attribute.
    state string

    (Updatable) The target state for the instance pool update operation (ignored at create time and should not be set). Could be set to RUNNING or STOPPED.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    timeCreated string
    The date and time the instance pool was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    actual_size int
    The number of actual instances in the instance pool on the cloud. This attribute will be different when instance pool is used along with autoScaling Configuration.
    compartment_id str
    (Updatable) The OCID of the compartment containing the instance pool.
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    display_name str
    (Updatable) The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
    freeform_tags Mapping[str, Any]
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    instance_configuration_id str
    (Updatable) The OCID of the instance configuration associated with the instance pool.
    instance_display_name_formatter str
    (Updatable) A user-friendly formatter for the instance pool's instances. Instance displaynames follow the format. The formatter does not retroactively change instance's displaynames, only instance displaynames in the future follow the format
    instance_hostname_formatter str
    (Updatable) A user-friendly formatter for the instance pool's instances. Instance hostnames follow the format. The formatter does not retroactively change instance's hostnames, only instance hostnames in the future follow the format
    load_balancers Sequence[core.InstancePoolLoadBalancerArgs]
    The load balancers to attach to the instance pool.
    placement_configurations Sequence[core.InstancePoolPlacementConfigurationArgs]

    (Updatable) The placement configurations for the instance pool. Provide one placement configuration for each availability domain.

    To use the instance pool with a regional subnet, provide a placement configuration for each availability domain, and include the regional subnet in each placement configuration.

    size int
    (Updatable) The number of instances that should be in the instance pool. Modifying this value will override the size of the instance pool. If the instance pool is linked with autoscaling configuration, autoscaling configuration could resize the instance pool at a later point. The instance pool's actual size may differ from the configured size if it is associated with an autoscaling configuration, instance pool's actual size will be reflected in this size attribute.
    state str

    (Updatable) The target state for the instance pool update operation (ignored at create time and should not be set). Could be set to RUNNING or STOPPED.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    time_created str
    The date and time the instance pool was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    actualSize Number
    The number of actual instances in the instance pool on the cloud. This attribute will be different when instance pool is used along with autoScaling Configuration.
    compartmentId String
    (Updatable) The OCID of the compartment containing the instance pool.
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    (Updatable) The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
    freeformTags Map<Any>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    instanceConfigurationId String
    (Updatable) The OCID of the instance configuration associated with the instance pool.
    instanceDisplayNameFormatter String
    (Updatable) A user-friendly formatter for the instance pool's instances. Instance displaynames follow the format. The formatter does not retroactively change instance's displaynames, only instance displaynames in the future follow the format
    instanceHostnameFormatter String
    (Updatable) A user-friendly formatter for the instance pool's instances. Instance hostnames follow the format. The formatter does not retroactively change instance's hostnames, only instance hostnames in the future follow the format
    loadBalancers List<Property Map>
    The load balancers to attach to the instance pool.
    placementConfigurations List<Property Map>

    (Updatable) The placement configurations for the instance pool. Provide one placement configuration for each availability domain.

    To use the instance pool with a regional subnet, provide a placement configuration for each availability domain, and include the regional subnet in each placement configuration.

    size Number
    (Updatable) The number of instances that should be in the instance pool. Modifying this value will override the size of the instance pool. If the instance pool is linked with autoscaling configuration, autoscaling configuration could resize the instance pool at a later point. The instance pool's actual size may differ from the configured size if it is associated with an autoscaling configuration, instance pool's actual size will be reflected in this size attribute.
    state String

    (Updatable) The target state for the instance pool update operation (ignored at create time and should not be set). Could be set to RUNNING or STOPPED.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    timeCreated String
    The date and time the instance pool was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

    Supporting Types

    InstancePoolLoadBalancer, InstancePoolLoadBalancerArgs

    BackendSetName string
    The name of the backend set on the load balancer to add instances to.
    LoadBalancerId string
    The OCID of the load balancer to attach to the instance pool.
    Port int
    The port value to use when creating the backend set.
    VnicSelection string
    Indicates which VNIC on each instance in the pool should be used to associate with the load balancer. Possible values are "PrimaryVnic" or the displayName of one of the secondary VNICs on the instance configuration that is associated with the instance pool.
    Id string
    The OCID of the load balancer attachment.
    InstancePoolId string
    The OCID of the instance pool of the load balancer attachment.
    State string

    (Updatable) The target state for the instance pool update operation (ignored at create time and should not be set). Could be set to RUNNING or STOPPED.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    BackendSetName string
    The name of the backend set on the load balancer to add instances to.
    LoadBalancerId string
    The OCID of the load balancer to attach to the instance pool.
    Port int
    The port value to use when creating the backend set.
    VnicSelection string
    Indicates which VNIC on each instance in the pool should be used to associate with the load balancer. Possible values are "PrimaryVnic" or the displayName of one of the secondary VNICs on the instance configuration that is associated with the instance pool.
    Id string
    The OCID of the load balancer attachment.
    InstancePoolId string
    The OCID of the instance pool of the load balancer attachment.
    State string

    (Updatable) The target state for the instance pool update operation (ignored at create time and should not be set). Could be set to RUNNING or STOPPED.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    backendSetName String
    The name of the backend set on the load balancer to add instances to.
    loadBalancerId String
    The OCID of the load balancer to attach to the instance pool.
    port Integer
    The port value to use when creating the backend set.
    vnicSelection String
    Indicates which VNIC on each instance in the pool should be used to associate with the load balancer. Possible values are "PrimaryVnic" or the displayName of one of the secondary VNICs on the instance configuration that is associated with the instance pool.
    id String
    The OCID of the load balancer attachment.
    instancePoolId String
    The OCID of the instance pool of the load balancer attachment.
    state String

    (Updatable) The target state for the instance pool update operation (ignored at create time and should not be set). Could be set to RUNNING or STOPPED.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    backendSetName string
    The name of the backend set on the load balancer to add instances to.
    loadBalancerId string
    The OCID of the load balancer to attach to the instance pool.
    port number
    The port value to use when creating the backend set.
    vnicSelection string
    Indicates which VNIC on each instance in the pool should be used to associate with the load balancer. Possible values are "PrimaryVnic" or the displayName of one of the secondary VNICs on the instance configuration that is associated with the instance pool.
    id string
    The OCID of the load balancer attachment.
    instancePoolId string
    The OCID of the instance pool of the load balancer attachment.
    state string

    (Updatable) The target state for the instance pool update operation (ignored at create time and should not be set). Could be set to RUNNING or STOPPED.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    backend_set_name str
    The name of the backend set on the load balancer to add instances to.
    load_balancer_id str
    The OCID of the load balancer to attach to the instance pool.
    port int
    The port value to use when creating the backend set.
    vnic_selection str
    Indicates which VNIC on each instance in the pool should be used to associate with the load balancer. Possible values are "PrimaryVnic" or the displayName of one of the secondary VNICs on the instance configuration that is associated with the instance pool.
    id str
    The OCID of the load balancer attachment.
    instance_pool_id str
    The OCID of the instance pool of the load balancer attachment.
    state str

    (Updatable) The target state for the instance pool update operation (ignored at create time and should not be set). Could be set to RUNNING or STOPPED.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    backendSetName String
    The name of the backend set on the load balancer to add instances to.
    loadBalancerId String
    The OCID of the load balancer to attach to the instance pool.
    port Number
    The port value to use when creating the backend set.
    vnicSelection String
    Indicates which VNIC on each instance in the pool should be used to associate with the load balancer. Possible values are "PrimaryVnic" or the displayName of one of the secondary VNICs on the instance configuration that is associated with the instance pool.
    id String
    The OCID of the load balancer attachment.
    instancePoolId String
    The OCID of the instance pool of the load balancer attachment.
    state String

    (Updatable) The target state for the instance pool update operation (ignored at create time and should not be set). Could be set to RUNNING or STOPPED.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    InstancePoolPlacementConfiguration, InstancePoolPlacementConfigurationArgs

    AvailabilityDomain string
    (Updatable) The availability domain to place instances. Example: Uocm:PHX-AD-1
    FaultDomains List<string>

    (Updatable) The fault domains to place instances.

    If you don't provide any values, the system makes a best effort to distribute instances across all fault domains based on capacity.

    To distribute the instances evenly across selected fault domains, provide a set of fault domains. For example, you might want instances to be evenly distributed if your applications require high availability.

    To get a list of fault domains, use the ListFaultDomains operation in the Identity and Access Management Service API.

    Example: [FAULT-DOMAIN-1, FAULT-DOMAIN-2, FAULT-DOMAIN-3]

    PrimarySubnetId string
    (Updatable) The OCID of the primary subnet to place instances. This field is deprecated. Use primaryVnicSubnets instead to set VNIC data for instances in the pool.
    PrimaryVnicSubnets InstancePoolPlacementConfigurationPrimaryVnicSubnets
    (Updatable) Details about the IPv6 primary subnet.
    SecondaryVnicSubnets List<InstancePoolPlacementConfigurationSecondaryVnicSubnet>
    (Updatable) The set of secondary VNIC data for instances in the pool.
    AvailabilityDomain string
    (Updatable) The availability domain to place instances. Example: Uocm:PHX-AD-1
    FaultDomains []string

    (Updatable) The fault domains to place instances.

    If you don't provide any values, the system makes a best effort to distribute instances across all fault domains based on capacity.

    To distribute the instances evenly across selected fault domains, provide a set of fault domains. For example, you might want instances to be evenly distributed if your applications require high availability.

    To get a list of fault domains, use the ListFaultDomains operation in the Identity and Access Management Service API.

    Example: [FAULT-DOMAIN-1, FAULT-DOMAIN-2, FAULT-DOMAIN-3]

    PrimarySubnetId string
    (Updatable) The OCID of the primary subnet to place instances. This field is deprecated. Use primaryVnicSubnets instead to set VNIC data for instances in the pool.
    PrimaryVnicSubnets InstancePoolPlacementConfigurationPrimaryVnicSubnets
    (Updatable) Details about the IPv6 primary subnet.
    SecondaryVnicSubnets []InstancePoolPlacementConfigurationSecondaryVnicSubnet
    (Updatable) The set of secondary VNIC data for instances in the pool.
    availabilityDomain String
    (Updatable) The availability domain to place instances. Example: Uocm:PHX-AD-1
    faultDomains List<String>

    (Updatable) The fault domains to place instances.

    If you don't provide any values, the system makes a best effort to distribute instances across all fault domains based on capacity.

    To distribute the instances evenly across selected fault domains, provide a set of fault domains. For example, you might want instances to be evenly distributed if your applications require high availability.

    To get a list of fault domains, use the ListFaultDomains operation in the Identity and Access Management Service API.

    Example: [FAULT-DOMAIN-1, FAULT-DOMAIN-2, FAULT-DOMAIN-3]

    primarySubnetId String
    (Updatable) The OCID of the primary subnet to place instances. This field is deprecated. Use primaryVnicSubnets instead to set VNIC data for instances in the pool.
    primaryVnicSubnets InstancePoolPlacementConfigurationPrimaryVnicSubnets
    (Updatable) Details about the IPv6 primary subnet.
    secondaryVnicSubnets List<InstancePoolPlacementConfigurationSecondaryVnicSubnet>
    (Updatable) The set of secondary VNIC data for instances in the pool.
    availabilityDomain string
    (Updatable) The availability domain to place instances. Example: Uocm:PHX-AD-1
    faultDomains string[]

    (Updatable) The fault domains to place instances.

    If you don't provide any values, the system makes a best effort to distribute instances across all fault domains based on capacity.

    To distribute the instances evenly across selected fault domains, provide a set of fault domains. For example, you might want instances to be evenly distributed if your applications require high availability.

    To get a list of fault domains, use the ListFaultDomains operation in the Identity and Access Management Service API.

    Example: [FAULT-DOMAIN-1, FAULT-DOMAIN-2, FAULT-DOMAIN-3]

    primarySubnetId string
    (Updatable) The OCID of the primary subnet to place instances. This field is deprecated. Use primaryVnicSubnets instead to set VNIC data for instances in the pool.
    primaryVnicSubnets InstancePoolPlacementConfigurationPrimaryVnicSubnets
    (Updatable) Details about the IPv6 primary subnet.
    secondaryVnicSubnets InstancePoolPlacementConfigurationSecondaryVnicSubnet[]
    (Updatable) The set of secondary VNIC data for instances in the pool.
    availability_domain str
    (Updatable) The availability domain to place instances. Example: Uocm:PHX-AD-1
    fault_domains Sequence[str]

    (Updatable) The fault domains to place instances.

    If you don't provide any values, the system makes a best effort to distribute instances across all fault domains based on capacity.

    To distribute the instances evenly across selected fault domains, provide a set of fault domains. For example, you might want instances to be evenly distributed if your applications require high availability.

    To get a list of fault domains, use the ListFaultDomains operation in the Identity and Access Management Service API.

    Example: [FAULT-DOMAIN-1, FAULT-DOMAIN-2, FAULT-DOMAIN-3]

    primary_subnet_id str
    (Updatable) The OCID of the primary subnet to place instances. This field is deprecated. Use primaryVnicSubnets instead to set VNIC data for instances in the pool.
    primary_vnic_subnets core.InstancePoolPlacementConfigurationPrimaryVnicSubnets
    (Updatable) Details about the IPv6 primary subnet.
    secondary_vnic_subnets Sequence[core.InstancePoolPlacementConfigurationSecondaryVnicSubnet]
    (Updatable) The set of secondary VNIC data for instances in the pool.
    availabilityDomain String
    (Updatable) The availability domain to place instances. Example: Uocm:PHX-AD-1
    faultDomains List<String>

    (Updatable) The fault domains to place instances.

    If you don't provide any values, the system makes a best effort to distribute instances across all fault domains based on capacity.

    To distribute the instances evenly across selected fault domains, provide a set of fault domains. For example, you might want instances to be evenly distributed if your applications require high availability.

    To get a list of fault domains, use the ListFaultDomains operation in the Identity and Access Management Service API.

    Example: [FAULT-DOMAIN-1, FAULT-DOMAIN-2, FAULT-DOMAIN-3]

    primarySubnetId String
    (Updatable) The OCID of the primary subnet to place instances. This field is deprecated. Use primaryVnicSubnets instead to set VNIC data for instances in the pool.
    primaryVnicSubnets Property Map
    (Updatable) Details about the IPv6 primary subnet.
    secondaryVnicSubnets List<Property Map>
    (Updatable) The set of secondary VNIC data for instances in the pool.

    InstancePoolPlacementConfigurationPrimaryVnicSubnets, InstancePoolPlacementConfigurationPrimaryVnicSubnetsArgs

    SubnetId string
    (Updatable) The subnet OCID for the secondary VNIC.
    Ipv6addressIpv6subnetCidrPairDetails List<InstancePoolPlacementConfigurationPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetail>
    (Updatable) A list of IPv6 prefix ranges from which the VNIC should be assigned an IPv6 address. You can provide only the prefix ranges and Oracle Cloud Infrastructure will select an available address from the range. You can optionally choose to leave the prefix range empty and instead provide the specific IPv6 address that should be used from within that range.
    IsAssignIpv6ip bool
    (Updatable) Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (ipv6SubnetCidr) of your choice to assign the IPv6 address from. If ipv6SubnetCidr is not provided then an IPv6 prefix is chosen for you.
    SubnetId string
    (Updatable) The subnet OCID for the secondary VNIC.
    Ipv6addressIpv6subnetCidrPairDetails []InstancePoolPlacementConfigurationPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetail
    (Updatable) A list of IPv6 prefix ranges from which the VNIC should be assigned an IPv6 address. You can provide only the prefix ranges and Oracle Cloud Infrastructure will select an available address from the range. You can optionally choose to leave the prefix range empty and instead provide the specific IPv6 address that should be used from within that range.
    IsAssignIpv6ip bool
    (Updatable) Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (ipv6SubnetCidr) of your choice to assign the IPv6 address from. If ipv6SubnetCidr is not provided then an IPv6 prefix is chosen for you.
    subnetId String
    (Updatable) The subnet OCID for the secondary VNIC.
    ipv6addressIpv6subnetCidrPairDetails List<InstancePoolPlacementConfigurationPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetail>
    (Updatable) A list of IPv6 prefix ranges from which the VNIC should be assigned an IPv6 address. You can provide only the prefix ranges and Oracle Cloud Infrastructure will select an available address from the range. You can optionally choose to leave the prefix range empty and instead provide the specific IPv6 address that should be used from within that range.
    isAssignIpv6ip Boolean
    (Updatable) Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (ipv6SubnetCidr) of your choice to assign the IPv6 address from. If ipv6SubnetCidr is not provided then an IPv6 prefix is chosen for you.
    subnetId string
    (Updatable) The subnet OCID for the secondary VNIC.
    ipv6addressIpv6subnetCidrPairDetails InstancePoolPlacementConfigurationPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetail[]
    (Updatable) A list of IPv6 prefix ranges from which the VNIC should be assigned an IPv6 address. You can provide only the prefix ranges and Oracle Cloud Infrastructure will select an available address from the range. You can optionally choose to leave the prefix range empty and instead provide the specific IPv6 address that should be used from within that range.
    isAssignIpv6ip boolean
    (Updatable) Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (ipv6SubnetCidr) of your choice to assign the IPv6 address from. If ipv6SubnetCidr is not provided then an IPv6 prefix is chosen for you.
    subnet_id str
    (Updatable) The subnet OCID for the secondary VNIC.
    ipv6address_ipv6subnet_cidr_pair_details Sequence[core.InstancePoolPlacementConfigurationPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetail]
    (Updatable) A list of IPv6 prefix ranges from which the VNIC should be assigned an IPv6 address. You can provide only the prefix ranges and Oracle Cloud Infrastructure will select an available address from the range. You can optionally choose to leave the prefix range empty and instead provide the specific IPv6 address that should be used from within that range.
    is_assign_ipv6ip bool
    (Updatable) Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (ipv6SubnetCidr) of your choice to assign the IPv6 address from. If ipv6SubnetCidr is not provided then an IPv6 prefix is chosen for you.
    subnetId String
    (Updatable) The subnet OCID for the secondary VNIC.
    ipv6addressIpv6subnetCidrPairDetails List<Property Map>
    (Updatable) A list of IPv6 prefix ranges from which the VNIC should be assigned an IPv6 address. You can provide only the prefix ranges and Oracle Cloud Infrastructure will select an available address from the range. You can optionally choose to leave the prefix range empty and instead provide the specific IPv6 address that should be used from within that range.
    isAssignIpv6ip Boolean
    (Updatable) Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (ipv6SubnetCidr) of your choice to assign the IPv6 address from. If ipv6SubnetCidr is not provided then an IPv6 prefix is chosen for you.

    InstancePoolPlacementConfigurationPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetail, InstancePoolPlacementConfigurationPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetailArgs

    Ipv6subnetCidr string
    (Updatable) Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.
    Ipv6subnetCidr string
    (Updatable) Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.
    ipv6subnetCidr String
    (Updatable) Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.
    ipv6subnetCidr string
    (Updatable) Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.
    ipv6subnet_cidr str
    (Updatable) Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.
    ipv6subnetCidr String
    (Updatable) Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.

    InstancePoolPlacementConfigurationSecondaryVnicSubnet, InstancePoolPlacementConfigurationSecondaryVnicSubnetArgs

    SubnetId string
    (Updatable) The subnet OCID for the secondary VNIC.
    DisplayName string
    (Updatable) The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
    Ipv6addressIpv6subnetCidrPairDetails List<InstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetail>
    (Updatable) A list of IPv6 prefix ranges from which the VNIC should be assigned an IPv6 address. You can provide only the prefix ranges and Oracle Cloud Infrastructure will select an available address from the range. You can optionally choose to leave the prefix range empty and instead provide the specific IPv6 address that should be used from within that range.
    IsAssignIpv6ip bool
    (Updatable) Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (ipv6SubnetCidr) of your choice to assign the IPv6 address from. If ipv6SubnetCidr is not provided then an IPv6 prefix is chosen for you.
    SubnetId string
    (Updatable) The subnet OCID for the secondary VNIC.
    DisplayName string
    (Updatable) The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
    Ipv6addressIpv6subnetCidrPairDetails []InstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetail
    (Updatable) A list of IPv6 prefix ranges from which the VNIC should be assigned an IPv6 address. You can provide only the prefix ranges and Oracle Cloud Infrastructure will select an available address from the range. You can optionally choose to leave the prefix range empty and instead provide the specific IPv6 address that should be used from within that range.
    IsAssignIpv6ip bool
    (Updatable) Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (ipv6SubnetCidr) of your choice to assign the IPv6 address from. If ipv6SubnetCidr is not provided then an IPv6 prefix is chosen for you.
    subnetId String
    (Updatable) The subnet OCID for the secondary VNIC.
    displayName String
    (Updatable) The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
    ipv6addressIpv6subnetCidrPairDetails List<InstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetail>
    (Updatable) A list of IPv6 prefix ranges from which the VNIC should be assigned an IPv6 address. You can provide only the prefix ranges and Oracle Cloud Infrastructure will select an available address from the range. You can optionally choose to leave the prefix range empty and instead provide the specific IPv6 address that should be used from within that range.
    isAssignIpv6ip Boolean
    (Updatable) Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (ipv6SubnetCidr) of your choice to assign the IPv6 address from. If ipv6SubnetCidr is not provided then an IPv6 prefix is chosen for you.
    subnetId string
    (Updatable) The subnet OCID for the secondary VNIC.
    displayName string
    (Updatable) The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
    ipv6addressIpv6subnetCidrPairDetails InstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetail[]
    (Updatable) A list of IPv6 prefix ranges from which the VNIC should be assigned an IPv6 address. You can provide only the prefix ranges and Oracle Cloud Infrastructure will select an available address from the range. You can optionally choose to leave the prefix range empty and instead provide the specific IPv6 address that should be used from within that range.
    isAssignIpv6ip boolean
    (Updatable) Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (ipv6SubnetCidr) of your choice to assign the IPv6 address from. If ipv6SubnetCidr is not provided then an IPv6 prefix is chosen for you.
    subnet_id str
    (Updatable) The subnet OCID for the secondary VNIC.
    display_name str
    (Updatable) The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
    ipv6address_ipv6subnet_cidr_pair_details Sequence[core.InstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetail]
    (Updatable) A list of IPv6 prefix ranges from which the VNIC should be assigned an IPv6 address. You can provide only the prefix ranges and Oracle Cloud Infrastructure will select an available address from the range. You can optionally choose to leave the prefix range empty and instead provide the specific IPv6 address that should be used from within that range.
    is_assign_ipv6ip bool
    (Updatable) Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (ipv6SubnetCidr) of your choice to assign the IPv6 address from. If ipv6SubnetCidr is not provided then an IPv6 prefix is chosen for you.
    subnetId String
    (Updatable) The subnet OCID for the secondary VNIC.
    displayName String
    (Updatable) The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
    ipv6addressIpv6subnetCidrPairDetails List<Property Map>
    (Updatable) A list of IPv6 prefix ranges from which the VNIC should be assigned an IPv6 address. You can provide only the prefix ranges and Oracle Cloud Infrastructure will select an available address from the range. You can optionally choose to leave the prefix range empty and instead provide the specific IPv6 address that should be used from within that range.
    isAssignIpv6ip Boolean
    (Updatable) Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (ipv6SubnetCidr) of your choice to assign the IPv6 address from. If ipv6SubnetCidr is not provided then an IPv6 prefix is chosen for you.

    InstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetail, InstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailArgs

    Ipv6subnetCidr string
    (Updatable) Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.
    Ipv6subnetCidr string
    (Updatable) Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.
    ipv6subnetCidr String
    (Updatable) Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.
    ipv6subnetCidr string
    (Updatable) Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.
    ipv6subnet_cidr str
    (Updatable) Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.
    ipv6subnetCidr String
    (Updatable) Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.

    Import

    InstancePools can be imported using the id, e.g.

    $ pulumi import oci:Core/instancePool:InstancePool test_instance_pool "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.31.0 published on Wednesday, Apr 10, 2024 by Pulumi