1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Core
  5. getInstancePools
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

oci.Core.getInstancePools

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

This data source provides the list of Instance Pools in Oracle Cloud Infrastructure Core service.

Lists the instance pools in the specified compartment.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testInstancePools = oci.Core.getInstancePools({
    compartmentId: compartmentId,
    displayName: instancePoolDisplayName,
    state: instancePoolState,
});
Copy
import pulumi
import pulumi_oci as oci

test_instance_pools = oci.Core.get_instance_pools(compartment_id=compartment_id,
    display_name=instance_pool_display_name,
    state=instance_pool_state)
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/core"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := core.GetInstancePools(ctx, &core.GetInstancePoolsArgs{
			CompartmentId: compartmentId,
			DisplayName:   pulumi.StringRef(instancePoolDisplayName),
			State:         pulumi.StringRef(instancePoolState),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testInstancePools = Oci.Core.GetInstancePools.Invoke(new()
    {
        CompartmentId = compartmentId,
        DisplayName = instancePoolDisplayName,
        State = instancePoolState,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Core.CoreFunctions;
import com.pulumi.oci.Core.inputs.GetInstancePoolsArgs;
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) {
        final var testInstancePools = CoreFunctions.getInstancePools(GetInstancePoolsArgs.builder()
            .compartmentId(compartmentId)
            .displayName(instancePoolDisplayName)
            .state(instancePoolState)
            .build());

    }
}
Copy
variables:
  testInstancePools:
    fn::invoke:
      function: oci:Core:getInstancePools
      arguments:
        compartmentId: ${compartmentId}
        displayName: ${instancePoolDisplayName}
        state: ${instancePoolState}
Copy

Using getInstancePools

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getInstancePools(args: GetInstancePoolsArgs, opts?: InvokeOptions): Promise<GetInstancePoolsResult>
function getInstancePoolsOutput(args: GetInstancePoolsOutputArgs, opts?: InvokeOptions): Output<GetInstancePoolsResult>
Copy
def get_instance_pools(compartment_id: Optional[str] = None,
                       display_name: Optional[str] = None,
                       filters: Optional[Sequence[_core.GetInstancePoolsFilter]] = None,
                       state: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetInstancePoolsResult
def get_instance_pools_output(compartment_id: Optional[pulumi.Input[str]] = None,
                       display_name: Optional[pulumi.Input[str]] = None,
                       filters: Optional[pulumi.Input[Sequence[pulumi.Input[_core.GetInstancePoolsFilterArgs]]]] = None,
                       state: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetInstancePoolsResult]
Copy
func GetInstancePools(ctx *Context, args *GetInstancePoolsArgs, opts ...InvokeOption) (*GetInstancePoolsResult, error)
func GetInstancePoolsOutput(ctx *Context, args *GetInstancePoolsOutputArgs, opts ...InvokeOption) GetInstancePoolsResultOutput
Copy

> Note: This function is named GetInstancePools in the Go SDK.

public static class GetInstancePools 
{
    public static Task<GetInstancePoolsResult> InvokeAsync(GetInstancePoolsArgs args, InvokeOptions? opts = null)
    public static Output<GetInstancePoolsResult> Invoke(GetInstancePoolsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetInstancePoolsResult> getInstancePools(GetInstancePoolsArgs args, InvokeOptions options)
public static Output<GetInstancePoolsResult> getInstancePools(GetInstancePoolsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:Core/getInstancePools:getInstancePools
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CompartmentId This property is required. string
The OCID of the compartment.
DisplayName string
A filter to return only resources that match the given display name exactly.
Filters Changes to this property will trigger replacement. List<GetInstancePoolsFilter>
State string
A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
CompartmentId This property is required. string
The OCID of the compartment.
DisplayName string
A filter to return only resources that match the given display name exactly.
Filters Changes to this property will trigger replacement. []GetInstancePoolsFilter
State string
A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
compartmentId This property is required. String
The OCID of the compartment.
displayName String
A filter to return only resources that match the given display name exactly.
filters Changes to this property will trigger replacement. List<GetInstancePoolsFilter>
state String
A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
compartmentId This property is required. string
The OCID of the compartment.
displayName string
A filter to return only resources that match the given display name exactly.
filters Changes to this property will trigger replacement. GetInstancePoolsFilter[]
state string
A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
compartment_id This property is required. str
The OCID of the compartment.
display_name str
A filter to return only resources that match the given display name exactly.
filters Changes to this property will trigger replacement. Sequence[core.GetInstancePoolsFilter]
state str
A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
compartmentId This property is required. String
The OCID of the compartment.
displayName String
A filter to return only resources that match the given display name exactly.
filters Changes to this property will trigger replacement. List<Property Map>
state String
A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.

getInstancePools Result

The following output properties are available:

CompartmentId string
The OCID of the compartment containing the instance pool.
Id string
The provider-assigned unique ID for this managed resource.
InstancePools List<GetInstancePoolsInstancePool>
The list of instance_pools.
DisplayName string
The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
Filters List<GetInstancePoolsFilter>
State string
The current state of the instance pool.
CompartmentId string
The OCID of the compartment containing the instance pool.
Id string
The provider-assigned unique ID for this managed resource.
InstancePools []GetInstancePoolsInstancePool
The list of instance_pools.
DisplayName string
The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
Filters []GetInstancePoolsFilter
State string
The current state of the instance pool.
compartmentId String
The OCID of the compartment containing the instance pool.
id String
The provider-assigned unique ID for this managed resource.
instancePools List<GetInstancePoolsInstancePool>
The list of instance_pools.
displayName String
The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
filters List<GetInstancePoolsFilter>
state String
The current state of the instance pool.
compartmentId string
The OCID of the compartment containing the instance pool.
id string
The provider-assigned unique ID for this managed resource.
instancePools GetInstancePoolsInstancePool[]
The list of instance_pools.
displayName string
The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
filters GetInstancePoolsFilter[]
state string
The current state of the instance pool.
compartment_id str
The OCID of the compartment containing the instance pool.
id str
The provider-assigned unique ID for this managed resource.
instance_pools Sequence[core.GetInstancePoolsInstancePool]
The list of instance_pools.
display_name str
The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
filters Sequence[core.GetInstancePoolsFilter]
state str
The current state of the instance pool.
compartmentId String
The OCID of the compartment containing the instance pool.
id String
The provider-assigned unique ID for this managed resource.
instancePools List<Property Map>
The list of instance_pools.
displayName String
The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
filters List<Property Map>
state String
The current state of the instance pool.

Supporting Types

GetInstancePoolsFilter

Name This property is required. string
Values This property is required. List<string>
Regex bool
Name This property is required. string
Values This property is required. []string
Regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean
name This property is required. string
values This property is required. string[]
regex boolean
name This property is required. str
values This property is required. Sequence[str]
regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean

GetInstancePoolsInstancePool

ActualSize This property is required. int
CompartmentId This property is required. string
The OCID of the compartment.
DefinedTags This property is required. Dictionary<string, string>
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 This property is required. string
A filter to return only resources that match the given display name exactly.
FreeformTags This property is required. Dictionary<string, string>
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"}
Id This property is required. string
The OCID of the load balancer attachment.
InstanceConfigurationId This property is required. string
The OCID of the instance configuration associated with the instance pool.
InstanceDisplayNameFormatter This property is required. string
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 This property is required. string
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 This property is required. List<GetInstancePoolsInstancePoolLoadBalancer>
The load balancers attached to the instance pool.
PlacementConfigurations This property is required. List<GetInstancePoolsInstancePoolPlacementConfiguration>
The placement configurations for the instance pool.
Size This property is required. 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.
State This property is required. string
A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
TimeCreated This property is required. string
The date and time the instance pool was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
ActualSize This property is required. int
CompartmentId This property is required. string
The OCID of the compartment.
DefinedTags This property is required. map[string]string
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 This property is required. string
A filter to return only resources that match the given display name exactly.
FreeformTags This property is required. map[string]string
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"}
Id This property is required. string
The OCID of the load balancer attachment.
InstanceConfigurationId This property is required. string
The OCID of the instance configuration associated with the instance pool.
InstanceDisplayNameFormatter This property is required. string
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 This property is required. string
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 This property is required. []GetInstancePoolsInstancePoolLoadBalancer
The load balancers attached to the instance pool.
PlacementConfigurations This property is required. []GetInstancePoolsInstancePoolPlacementConfiguration
The placement configurations for the instance pool.
Size This property is required. 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.
State This property is required. string
A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
TimeCreated This property is required. string
The date and time the instance pool was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
actualSize This property is required. Integer
compartmentId This property is required. String
The OCID of the compartment.
definedTags This property is required. Map<String,String>
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 This property is required. String
A filter to return only resources that match the given display name exactly.
freeformTags This property is required. Map<String,String>
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"}
id This property is required. String
The OCID of the load balancer attachment.
instanceConfigurationId This property is required. String
The OCID of the instance configuration associated with the instance pool.
instanceDisplayNameFormatter This property is required. String
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 This property is required. String
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 This property is required. List<GetInstancePoolsInstancePoolLoadBalancer>
The load balancers attached to the instance pool.
placementConfigurations This property is required. List<GetInstancePoolsInstancePoolPlacementConfiguration>
The placement configurations for the instance pool.
size This property is required. 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.
state This property is required. String
A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
timeCreated This property is required. String
The date and time the instance pool was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
actualSize This property is required. number
compartmentId This property is required. string
The OCID of the compartment.
definedTags This property is required. {[key: string]: string}
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 This property is required. string
A filter to return only resources that match the given display name exactly.
freeformTags This property is required. {[key: string]: string}
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"}
id This property is required. string
The OCID of the load balancer attachment.
instanceConfigurationId This property is required. string
The OCID of the instance configuration associated with the instance pool.
instanceDisplayNameFormatter This property is required. string
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 This property is required. string
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 This property is required. GetInstancePoolsInstancePoolLoadBalancer[]
The load balancers attached to the instance pool.
placementConfigurations This property is required. GetInstancePoolsInstancePoolPlacementConfiguration[]
The placement configurations for the instance pool.
size This property is required. 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.
state This property is required. string
A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
timeCreated This property is required. 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 This property is required. int
compartment_id This property is required. str
The OCID of the compartment.
defined_tags This property is required. Mapping[str, str]
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 This property is required. str
A filter to return only resources that match the given display name exactly.
freeform_tags This property is required. Mapping[str, str]
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"}
id This property is required. str
The OCID of the load balancer attachment.
instance_configuration_id This property is required. str
The OCID of the instance configuration associated with the instance pool.
instance_display_name_formatter This property is required. str
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 This property is required. str
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 This property is required. Sequence[core.GetInstancePoolsInstancePoolLoadBalancer]
The load balancers attached to the instance pool.
placement_configurations This property is required. Sequence[core.GetInstancePoolsInstancePoolPlacementConfiguration]
The placement configurations for the instance pool.
size This property is required. 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.
state This property is required. str
A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
time_created This property is required. str
The date and time the instance pool was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
actualSize This property is required. Number
compartmentId This property is required. String
The OCID of the compartment.
definedTags This property is required. Map<String>
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 This property is required. String
A filter to return only resources that match the given display name exactly.
freeformTags This property is required. Map<String>
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"}
id This property is required. String
The OCID of the load balancer attachment.
instanceConfigurationId This property is required. String
The OCID of the instance configuration associated with the instance pool.
instanceDisplayNameFormatter This property is required. String
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 This property is required. String
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 This property is required. List<Property Map>
The load balancers attached to the instance pool.
placementConfigurations This property is required. List<Property Map>
The placement configurations for the instance pool.
size This property is required. 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.
state This property is required. String
A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
timeCreated This property is required. String
The date and time the instance pool was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

GetInstancePoolsInstancePoolLoadBalancer

BackendSetName This property is required. string
The name of the backend set on the load balancer.
Id This property is required. string
The OCID of the load balancer attachment.
InstancePoolId This property is required. string
The OCID of the instance pool of the load balancer attachment.
LoadBalancerId This property is required. string
The OCID of the load balancer attached to the instance pool.
Port This property is required. int
The port value used for the backends.
State This property is required. string
A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
VnicSelection This property is required. string
Indicates which VNIC on each instance in the instance 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.
BackendSetName This property is required. string
The name of the backend set on the load balancer.
Id This property is required. string
The OCID of the load balancer attachment.
InstancePoolId This property is required. string
The OCID of the instance pool of the load balancer attachment.
LoadBalancerId This property is required. string
The OCID of the load balancer attached to the instance pool.
Port This property is required. int
The port value used for the backends.
State This property is required. string
A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
VnicSelection This property is required. string
Indicates which VNIC on each instance in the instance 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.
backendSetName This property is required. String
The name of the backend set on the load balancer.
id This property is required. String
The OCID of the load balancer attachment.
instancePoolId This property is required. String
The OCID of the instance pool of the load balancer attachment.
loadBalancerId This property is required. String
The OCID of the load balancer attached to the instance pool.
port This property is required. Integer
The port value used for the backends.
state This property is required. String
A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
vnicSelection This property is required. String
Indicates which VNIC on each instance in the instance 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.
backendSetName This property is required. string
The name of the backend set on the load balancer.
id This property is required. string
The OCID of the load balancer attachment.
instancePoolId This property is required. string
The OCID of the instance pool of the load balancer attachment.
loadBalancerId This property is required. string
The OCID of the load balancer attached to the instance pool.
port This property is required. number
The port value used for the backends.
state This property is required. string
A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
vnicSelection This property is required. string
Indicates which VNIC on each instance in the instance 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.
backend_set_name This property is required. str
The name of the backend set on the load balancer.
id This property is required. str
The OCID of the load balancer attachment.
instance_pool_id This property is required. str
The OCID of the instance pool of the load balancer attachment.
load_balancer_id This property is required. str
The OCID of the load balancer attached to the instance pool.
port This property is required. int
The port value used for the backends.
state This property is required. str
A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
vnic_selection This property is required. str
Indicates which VNIC on each instance in the instance 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.
backendSetName This property is required. String
The name of the backend set on the load balancer.
id This property is required. String
The OCID of the load balancer attachment.
instancePoolId This property is required. String
The OCID of the instance pool of the load balancer attachment.
loadBalancerId This property is required. String
The OCID of the load balancer attached to the instance pool.
port This property is required. Number
The port value used for the backends.
state This property is required. String
A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
vnicSelection This property is required. String
Indicates which VNIC on each instance in the instance 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.

GetInstancePoolsInstancePoolPlacementConfiguration

AvailabilityDomain This property is required. string
The availability domain to place instances. Example: Uocm:PHX-AD-1
FaultDomains This property is required. List<string>
The fault domains to place instances.
PrimarySubnetId This property is required. string
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 This property is required. List<GetInstancePoolsInstancePoolPlacementConfigurationPrimaryVnicSubnet>
Details about the IPv6 primary subnet.
SecondaryVnicSubnets This property is required. List<GetInstancePoolsInstancePoolPlacementConfigurationSecondaryVnicSubnet>
The set of secondary VNIC data for instances in the pool.
AvailabilityDomain This property is required. string
The availability domain to place instances. Example: Uocm:PHX-AD-1
FaultDomains This property is required. []string
The fault domains to place instances.
PrimarySubnetId This property is required. string
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 This property is required. []GetInstancePoolsInstancePoolPlacementConfigurationPrimaryVnicSubnet
Details about the IPv6 primary subnet.
SecondaryVnicSubnets This property is required. []GetInstancePoolsInstancePoolPlacementConfigurationSecondaryVnicSubnet
The set of secondary VNIC data for instances in the pool.
availabilityDomain This property is required. String
The availability domain to place instances. Example: Uocm:PHX-AD-1
faultDomains This property is required. List<String>
The fault domains to place instances.
primarySubnetId This property is required. String
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 This property is required. List<GetInstancePoolsInstancePoolPlacementConfigurationPrimaryVnicSubnet>
Details about the IPv6 primary subnet.
secondaryVnicSubnets This property is required. List<GetInstancePoolsInstancePoolPlacementConfigurationSecondaryVnicSubnet>
The set of secondary VNIC data for instances in the pool.
availabilityDomain This property is required. string
The availability domain to place instances. Example: Uocm:PHX-AD-1
faultDomains This property is required. string[]
The fault domains to place instances.
primarySubnetId This property is required. string
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 This property is required. GetInstancePoolsInstancePoolPlacementConfigurationPrimaryVnicSubnet[]
Details about the IPv6 primary subnet.
secondaryVnicSubnets This property is required. GetInstancePoolsInstancePoolPlacementConfigurationSecondaryVnicSubnet[]
The set of secondary VNIC data for instances in the pool.
availability_domain This property is required. str
The availability domain to place instances. Example: Uocm:PHX-AD-1
fault_domains This property is required. Sequence[str]
The fault domains to place instances.
primary_subnet_id This property is required. str
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 This property is required. Sequence[core.GetInstancePoolsInstancePoolPlacementConfigurationPrimaryVnicSubnet]
Details about the IPv6 primary subnet.
secondary_vnic_subnets This property is required. Sequence[core.GetInstancePoolsInstancePoolPlacementConfigurationSecondaryVnicSubnet]
The set of secondary VNIC data for instances in the pool.
availabilityDomain This property is required. String
The availability domain to place instances. Example: Uocm:PHX-AD-1
faultDomains This property is required. List<String>
The fault domains to place instances.
primarySubnetId This property is required. String
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 This property is required. List<Property Map>
Details about the IPv6 primary subnet.
secondaryVnicSubnets This property is required. List<Property Map>
The set of secondary VNIC data for instances in the pool.

GetInstancePoolsInstancePoolPlacementConfigurationPrimaryVnicSubnet

Ipv6addressIpv6subnetCidrPairDetails This property is required. List<GetInstancePoolsInstancePoolPlacementConfigurationPrimaryVnicSubnetIpv6addressIpv6subnetCidrPairDetail>
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 This property is required. bool
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 This property is required. string
The subnet OCID for the secondary VNIC.
Ipv6addressIpv6subnetCidrPairDetails This property is required. []GetInstancePoolsInstancePoolPlacementConfigurationPrimaryVnicSubnetIpv6addressIpv6subnetCidrPairDetail
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 This property is required. bool
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 This property is required. string
The subnet OCID for the secondary VNIC.
ipv6addressIpv6subnetCidrPairDetails This property is required. List<GetInstancePoolsInstancePoolPlacementConfigurationPrimaryVnicSubnetIpv6addressIpv6subnetCidrPairDetail>
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 This property is required. Boolean
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 This property is required. String
The subnet OCID for the secondary VNIC.
ipv6addressIpv6subnetCidrPairDetails This property is required. GetInstancePoolsInstancePoolPlacementConfigurationPrimaryVnicSubnetIpv6addressIpv6subnetCidrPairDetail[]
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 This property is required. boolean
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 This property is required. string
The subnet OCID for the secondary VNIC.
ipv6address_ipv6subnet_cidr_pair_details This property is required. Sequence[core.GetInstancePoolsInstancePoolPlacementConfigurationPrimaryVnicSubnetIpv6addressIpv6subnetCidrPairDetail]
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 This property is required. bool
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 This property is required. str
The subnet OCID for the secondary VNIC.
ipv6addressIpv6subnetCidrPairDetails This property is required. List<Property Map>
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 This property is required. Boolean
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 This property is required. String
The subnet OCID for the secondary VNIC.

GetInstancePoolsInstancePoolPlacementConfigurationPrimaryVnicSubnetIpv6addressIpv6subnetCidrPairDetail

Ipv6subnetCidr This property is required. string
Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.
Ipv6subnetCidr This property is required. string
Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.
ipv6subnetCidr This property is required. String
Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.
ipv6subnetCidr This property is required. string
Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.
ipv6subnet_cidr This property is required. str
Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.
ipv6subnetCidr This property is required. String
Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.

GetInstancePoolsInstancePoolPlacementConfigurationSecondaryVnicSubnet

DisplayName This property is required. string
A filter to return only resources that match the given display name exactly.
Ipv6addressIpv6subnetCidrPairDetails This property is required. List<GetInstancePoolsInstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetail>
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 This property is required. bool
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 This property is required. string
The subnet OCID for the secondary VNIC.
DisplayName This property is required. string
A filter to return only resources that match the given display name exactly.
Ipv6addressIpv6subnetCidrPairDetails This property is required. []GetInstancePoolsInstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetail
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 This property is required. bool
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 This property is required. string
The subnet OCID for the secondary VNIC.
displayName This property is required. String
A filter to return only resources that match the given display name exactly.
ipv6addressIpv6subnetCidrPairDetails This property is required. List<GetInstancePoolsInstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetail>
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 This property is required. Boolean
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 This property is required. String
The subnet OCID for the secondary VNIC.
displayName This property is required. string
A filter to return only resources that match the given display name exactly.
ipv6addressIpv6subnetCidrPairDetails This property is required. GetInstancePoolsInstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetail[]
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 This property is required. boolean
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 This property is required. string
The subnet OCID for the secondary VNIC.
display_name This property is required. str
A filter to return only resources that match the given display name exactly.
ipv6address_ipv6subnet_cidr_pair_details This property is required. Sequence[core.GetInstancePoolsInstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetail]
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 This property is required. bool
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 This property is required. str
The subnet OCID for the secondary VNIC.
displayName This property is required. String
A filter to return only resources that match the given display name exactly.
ipv6addressIpv6subnetCidrPairDetails This property is required. List<Property Map>
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 This property is required. Boolean
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 This property is required. String
The subnet OCID for the secondary VNIC.

GetInstancePoolsInstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetail

Ipv6subnetCidr This property is required. string
Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.
Ipv6subnetCidr This property is required. string
Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.
ipv6subnetCidr This property is required. String
Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.
ipv6subnetCidr This property is required. string
Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.
ipv6subnet_cidr This property is required. str
Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.
ipv6subnetCidr This property is required. String
Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi