oci.Core.InstancePool
Explore with Pulumi AI
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("test_instance_pool", {
compartmentId: compartmentId,
instanceConfigurationId: testInstanceConfiguration.id,
placementConfigurations: [{
availabilityDomain: instancePoolPlacementConfigurationsAvailabilityDomain,
faultDomains: instancePoolPlacementConfigurationsFaultDomains,
primarySubnetId: testSubnet.id,
primaryVnicSubnets: {
subnetId: testSubnet.id,
ipv6addressIpv6subnetCidrPairDetails: [{
ipv6subnetCidr: instancePoolPlacementConfigurationsPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetailsIpv6subnetCidr,
}],
isAssignIpv6ip: instancePoolPlacementConfigurationsPrimaryVnicSubnetsIsAssignIpv6ip,
},
secondaryVnicSubnets: [{
subnetId: testSubnet.id,
displayName: instancePoolPlacementConfigurationsSecondaryVnicSubnetsDisplayName,
ipv6addressIpv6subnetCidrPairDetails: [{
ipv6subnetCidr: instancePoolPlacementConfigurationsSecondaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetailsIpv6subnetCidr,
}],
isAssignIpv6ip: instancePoolPlacementConfigurationsSecondaryVnicSubnetsIsAssignIpv6ip,
}],
}],
size: instancePoolSize,
definedTags: {
"Operations.CostCenter": "42",
},
displayName: instancePoolDisplayName,
freeformTags: {
Department: "Finance",
},
instanceDisplayNameFormatter: instancePoolInstanceDisplayNameFormatter,
instanceHostnameFormatter: instancePoolInstanceHostnameFormatter,
loadBalancers: [{
backendSetName: testBackendSet.name,
loadBalancerId: testLoadBalancer.id,
port: instancePoolLoadBalancersPort,
vnicSelection: instancePoolLoadBalancersVnicSelection,
}],
});
import pulumi
import pulumi_oci as oci
test_instance_pool = oci.core.InstancePool("test_instance_pool",
compartment_id=compartment_id,
instance_configuration_id=test_instance_configuration["id"],
placement_configurations=[{
"availability_domain": instance_pool_placement_configurations_availability_domain,
"fault_domains": instance_pool_placement_configurations_fault_domains,
"primary_subnet_id": test_subnet["id"],
"primary_vnic_subnets": {
"subnet_id": test_subnet["id"],
"ipv6address_ipv6subnet_cidr_pair_details": [{
"ipv6subnet_cidr": instance_pool_placement_configurations_primary_vnic_subnets_ipv6address_ipv6subnet_cidr_pair_details_ipv6subnet_cidr,
}],
"is_assign_ipv6ip": instance_pool_placement_configurations_primary_vnic_subnets_is_assign_ipv6ip,
},
"secondary_vnic_subnets": [{
"subnet_id": test_subnet["id"],
"display_name": instance_pool_placement_configurations_secondary_vnic_subnets_display_name,
"ipv6address_ipv6subnet_cidr_pair_details": [{
"ipv6subnet_cidr": instance_pool_placement_configurations_secondary_vnic_subnets_ipv6address_ipv6subnet_cidr_pair_details_ipv6subnet_cidr,
}],
"is_assign_ipv6ip": instance_pool_placement_configurations_secondary_vnic_subnets_is_assign_ipv6ip,
}],
}],
size=instance_pool_size,
defined_tags={
"Operations.CostCenter": "42",
},
display_name=instance_pool_display_name,
freeform_tags={
"Department": "Finance",
},
instance_display_name_formatter=instance_pool_instance_display_name_formatter,
instance_hostname_formatter=instance_pool_instance_hostname_formatter,
load_balancers=[{
"backend_set_name": test_backend_set["name"],
"load_balancer_id": test_load_balancer["id"],
"port": instance_pool_load_balancers_port,
"vnic_selection": instance_pool_load_balancers_vnic_selection,
}])
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.NewInstancePool(ctx, "test_instance_pool", &Core.InstancePoolArgs{
CompartmentId: pulumi.Any(compartmentId),
InstanceConfigurationId: pulumi.Any(testInstanceConfiguration.Id),
PlacementConfigurations: core.InstancePoolPlacementConfigurationArray{
&core.InstancePoolPlacementConfigurationArgs{
AvailabilityDomain: pulumi.Any(instancePoolPlacementConfigurationsAvailabilityDomain),
FaultDomains: pulumi.Any(instancePoolPlacementConfigurationsFaultDomains),
PrimarySubnetId: pulumi.Any(testSubnet.Id),
PrimaryVnicSubnets: &core.InstancePoolPlacementConfigurationPrimaryVnicSubnetsArgs{
SubnetId: pulumi.Any(testSubnet.Id),
Ipv6addressIpv6subnetCidrPairDetails: core.InstancePoolPlacementConfigurationPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetailArray{
&core.InstancePoolPlacementConfigurationPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetailArgs{
Ipv6subnetCidr: pulumi.Any(instancePoolPlacementConfigurationsPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetailsIpv6subnetCidr),
},
},
IsAssignIpv6ip: pulumi.Any(instancePoolPlacementConfigurationsPrimaryVnicSubnetsIsAssignIpv6ip),
},
SecondaryVnicSubnets: core.InstancePoolPlacementConfigurationSecondaryVnicSubnetArray{
&core.InstancePoolPlacementConfigurationSecondaryVnicSubnetArgs{
SubnetId: pulumi.Any(testSubnet.Id),
DisplayName: pulumi.Any(instancePoolPlacementConfigurationsSecondaryVnicSubnetsDisplayName),
Ipv6addressIpv6subnetCidrPairDetails: core.InstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailArray{
&core.InstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailArgs{
Ipv6subnetCidr: pulumi.Any(instancePoolPlacementConfigurationsSecondaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetailsIpv6subnetCidr),
},
},
IsAssignIpv6ip: pulumi.Any(instancePoolPlacementConfigurationsSecondaryVnicSubnetsIsAssignIpv6ip),
},
},
},
},
Size: pulumi.Any(instancePoolSize),
DefinedTags: pulumi.StringMap{
"Operations.CostCenter": pulumi.String("42"),
},
DisplayName: pulumi.Any(instancePoolDisplayName),
FreeformTags: pulumi.StringMap{
"Department": pulumi.String("Finance"),
},
InstanceDisplayNameFormatter: pulumi.Any(instancePoolInstanceDisplayNameFormatter),
InstanceHostnameFormatter: pulumi.Any(instancePoolInstanceHostnameFormatter),
LoadBalancers: core.InstancePoolLoadBalancerArray{
&core.InstancePoolLoadBalancerArgs{
BackendSetName: pulumi.Any(testBackendSet.Name),
LoadBalancerId: pulumi.Any(testLoadBalancer.Id),
Port: pulumi.Any(instancePoolLoadBalancersPort),
VnicSelection: pulumi.Any(instancePoolLoadBalancersVnicSelection),
},
},
})
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("test_instance_pool", new()
{
CompartmentId = compartmentId,
InstanceConfigurationId = testInstanceConfiguration.Id,
PlacementConfigurations = new[]
{
new Oci.Core.Inputs.InstancePoolPlacementConfigurationArgs
{
AvailabilityDomain = instancePoolPlacementConfigurationsAvailabilityDomain,
FaultDomains = instancePoolPlacementConfigurationsFaultDomains,
PrimarySubnetId = testSubnet.Id,
PrimaryVnicSubnets = new Oci.Core.Inputs.InstancePoolPlacementConfigurationPrimaryVnicSubnetsArgs
{
SubnetId = testSubnet.Id,
Ipv6addressIpv6subnetCidrPairDetails = new[]
{
new Oci.Core.Inputs.InstancePoolPlacementConfigurationPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetailArgs
{
Ipv6subnetCidr = instancePoolPlacementConfigurationsPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetailsIpv6subnetCidr,
},
},
IsAssignIpv6ip = instancePoolPlacementConfigurationsPrimaryVnicSubnetsIsAssignIpv6ip,
},
SecondaryVnicSubnets = new[]
{
new Oci.Core.Inputs.InstancePoolPlacementConfigurationSecondaryVnicSubnetArgs
{
SubnetId = testSubnet.Id,
DisplayName = instancePoolPlacementConfigurationsSecondaryVnicSubnetsDisplayName,
Ipv6addressIpv6subnetCidrPairDetails = new[]
{
new Oci.Core.Inputs.InstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailArgs
{
Ipv6subnetCidr = instancePoolPlacementConfigurationsSecondaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetailsIpv6subnetCidr,
},
},
IsAssignIpv6ip = instancePoolPlacementConfigurationsSecondaryVnicSubnetsIsAssignIpv6ip,
},
},
},
},
Size = instancePoolSize,
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
DisplayName = instancePoolDisplayName,
FreeformTags =
{
{ "Department", "Finance" },
},
InstanceDisplayNameFormatter = instancePoolInstanceDisplayNameFormatter,
InstanceHostnameFormatter = instancePoolInstanceHostnameFormatter,
LoadBalancers = new[]
{
new Oci.Core.Inputs.InstancePoolLoadBalancerArgs
{
BackendSetName = testBackendSet.Name,
LoadBalancerId = testLoadBalancer.Id,
Port = instancePoolLoadBalancersPort,
VnicSelection = instancePoolLoadBalancersVnicSelection,
},
},
});
});
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(compartmentId)
.instanceConfigurationId(testInstanceConfiguration.id())
.placementConfigurations(InstancePoolPlacementConfigurationArgs.builder()
.availabilityDomain(instancePoolPlacementConfigurationsAvailabilityDomain)
.faultDomains(instancePoolPlacementConfigurationsFaultDomains)
.primarySubnetId(testSubnet.id())
.primaryVnicSubnets(InstancePoolPlacementConfigurationPrimaryVnicSubnetsArgs.builder()
.subnetId(testSubnet.id())
.ipv6addressIpv6subnetCidrPairDetails(InstancePoolPlacementConfigurationPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetailArgs.builder()
.ipv6subnetCidr(instancePoolPlacementConfigurationsPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetailsIpv6subnetCidr)
.build())
.isAssignIpv6ip(instancePoolPlacementConfigurationsPrimaryVnicSubnetsIsAssignIpv6ip)
.build())
.secondaryVnicSubnets(InstancePoolPlacementConfigurationSecondaryVnicSubnetArgs.builder()
.subnetId(testSubnet.id())
.displayName(instancePoolPlacementConfigurationsSecondaryVnicSubnetsDisplayName)
.ipv6addressIpv6subnetCidrPairDetails(InstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailArgs.builder()
.ipv6subnetCidr(instancePoolPlacementConfigurationsSecondaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetailsIpv6subnetCidr)
.build())
.isAssignIpv6ip(instancePoolPlacementConfigurationsSecondaryVnicSubnetsIsAssignIpv6ip)
.build())
.build())
.size(instancePoolSize)
.definedTags(Map.of("Operations.CostCenter", "42"))
.displayName(instancePoolDisplayName)
.freeformTags(Map.of("Department", "Finance"))
.instanceDisplayNameFormatter(instancePoolInstanceDisplayNameFormatter)
.instanceHostnameFormatter(instancePoolInstanceHostnameFormatter)
.loadBalancers(InstancePoolLoadBalancerArgs.builder()
.backendSetName(testBackendSet.name())
.loadBalancerId(testLoadBalancer.id())
.port(instancePoolLoadBalancersPort)
.vnicSelection(instancePoolLoadBalancersVnicSelection)
.build())
.build());
}
}
resources:
testInstancePool:
type: oci:Core:InstancePool
name: test_instance_pool
properties:
compartmentId: ${compartmentId}
instanceConfigurationId: ${testInstanceConfiguration.id}
placementConfigurations:
- availabilityDomain: ${instancePoolPlacementConfigurationsAvailabilityDomain}
faultDomains: ${instancePoolPlacementConfigurationsFaultDomains}
primarySubnetId: ${testSubnet.id}
primaryVnicSubnets:
subnetId: ${testSubnet.id}
ipv6addressIpv6subnetCidrPairDetails:
- ipv6subnetCidr: ${instancePoolPlacementConfigurationsPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetailsIpv6subnetCidr}
isAssignIpv6ip: ${instancePoolPlacementConfigurationsPrimaryVnicSubnetsIsAssignIpv6ip}
secondaryVnicSubnets:
- subnetId: ${testSubnet.id}
displayName: ${instancePoolPlacementConfigurationsSecondaryVnicSubnetsDisplayName}
ipv6addressIpv6subnetCidrPairDetails:
- ipv6subnetCidr: ${instancePoolPlacementConfigurationsSecondaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetailsIpv6subnetCidr}
isAssignIpv6ip: ${instancePoolPlacementConfigurationsSecondaryVnicSubnetsIsAssignIpv6ip}
size: ${instancePoolSize}
definedTags:
Operations.CostCenter: '42'
displayName: ${instancePoolDisplayName}
freeformTags:
Department: Finance
instanceDisplayNameFormatter: ${instancePoolInstanceDisplayNameFormatter}
instanceHostnameFormatter: ${instancePoolInstanceHostnameFormatter}
loadBalancers:
- backendSetName: ${testBackendSet.name}
loadBalancerId: ${testLoadBalancer.id}
port: ${instancePoolLoadBalancersPort}
vnicSelection: ${instancePoolLoadBalancersVnicSelection}
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, str]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = 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.
Constructor 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", "string" },
},
DisplayName = "string",
FreeformTags =
{
{ "string", "string" },
},
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.StringMap{
"string": pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
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", "string"))
.displayName("string")
.freeformTags(Map.of("string", "string"))
.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": "string",
},
display_name="string",
freeform_tags={
"string": "string",
},
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: "string",
},
displayName: "string",
freeformTags: {
string: "string",
},
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: string
displayName: string
freeformTags:
string: string
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:
- Compartment
Id string - (Updatable) The OCID of the compartment containing the instance pool.
- Instance
Configuration stringId - (Updatable) The OCID of the instance configuration associated with the instance pool.
- Placement
Configurations List<InstancePool Placement Configuration> (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.
- Dictionary<string, string>
- (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 string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Dictionary<string, string>
- (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 stringName Formatter - (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 stringFormatter - (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 List<InstancePool Load Balancer> - 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 string - (Updatable) The OCID of the compartment containing the instance pool.
- Instance
Configuration stringId - (Updatable) The OCID of the instance configuration associated with the instance pool.
- Placement
Configurations []InstancePool Placement Configuration Args (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.
- map[string]string
- (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 string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- map[string]string
- (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 stringName Formatter - (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 stringFormatter - (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 []InstancePool Load Balancer Args - 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 String - (Updatable) The OCID of the compartment containing the instance pool.
- instance
Configuration StringId - (Updatable) The OCID of the instance configuration associated with the instance pool.
- placement
Configurations List<InstancePool Placement Configuration> (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.
- Map<String,String>
- (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 String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String,String>
- (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 StringName Formatter - (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 StringFormatter - (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 List<InstancePool Load Balancer> - 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 string - (Updatable) The OCID of the compartment containing the instance pool.
- instance
Configuration stringId - (Updatable) The OCID of the instance configuration associated with the instance pool.
- placement
Configurations InstancePool Placement Configuration[] (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.
- {[key: string]: string}
- (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 string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- {[key: string]: string}
- (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 stringName Formatter - (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 stringFormatter - (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 InstancePool Load Balancer[] - 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_ strid - (Updatable) The OCID of the instance configuration associated with the instance pool.
- placement_
configurations Sequence[core.Instance Pool Placement Configuration Args] (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.
- Mapping[str, str]
- (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) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Mapping[str, str]
- (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_ strname_ formatter - (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_ strformatter - (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.Instance Pool Load Balancer Args] - 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
- compartment
Id String - (Updatable) The OCID of the compartment containing the instance pool.
- instance
Configuration StringId - (Updatable) The OCID of the instance configuration associated with the instance pool.
- placement
Configurations 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.
- Map<String>
- (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 String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String>
- (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 StringName Formatter - (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 StringFormatter - (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 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:
- 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 string
- The provider-assigned unique ID for this managed resource.
- Time
Created 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 string
- The provider-assigned unique ID for this managed resource.
- Time
Created 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 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.
- time
Created 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 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.
- time
Created 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
- actual
Size 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.
- time
Created 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, str]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = 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.
- 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 string - (Updatable) The OCID of the compartment containing the instance pool.
- Dictionary<string, string>
- (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 string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Dictionary<string, string>
- (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 stringId - (Updatable) The OCID of the instance configuration associated with the instance pool.
- Instance
Display stringName Formatter - (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 stringFormatter - (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 List<InstancePool Load Balancer> - The load balancers to attach to the instance pool.
- Placement
Configurations List<InstancePool Placement Configuration> (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
- Time
Created 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 string - (Updatable) The OCID of the compartment containing the instance pool.
- map[string]string
- (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 string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- map[string]string
- (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 stringId - (Updatable) The OCID of the instance configuration associated with the instance pool.
- Instance
Display stringName Formatter - (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 stringFormatter - (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 []InstancePool Load Balancer Args - The load balancers to attach to the instance pool.
- Placement
Configurations []InstancePool Placement Configuration Args (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
- Time
Created 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 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.
- compartment
Id String - (Updatable) The OCID of the compartment containing the instance pool.
- Map<String,String>
- (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 String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String,String>
- (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 StringId - (Updatable) The OCID of the instance configuration associated with the instance pool.
- instance
Display StringName Formatter - (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 StringFormatter - (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 List<InstancePool Load Balancer> - The load balancers to attach to the instance pool.
- placement
Configurations List<InstancePool Placement Configuration> (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
- time
Created 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 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.
- compartment
Id string - (Updatable) The OCID of the compartment containing the instance pool.
- {[key: string]: string}
- (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 string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- {[key: string]: string}
- (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 stringId - (Updatable) The OCID of the instance configuration associated with the instance pool.
- instance
Display stringName Formatter - (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 stringFormatter - (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 InstancePool Load Balancer[] - The load balancers to attach to the instance pool.
- placement
Configurations InstancePool Placement Configuration[] (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
- time
Created 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.
- Mapping[str, str]
- (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) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Mapping[str, str]
- (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_ strid - (Updatable) The OCID of the instance configuration associated with the instance pool.
- instance_
display_ strname_ formatter - (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_ strformatter - (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.Instance Pool Load Balancer Args] - The load balancers to attach to the instance pool.
- placement_
configurations Sequence[core.Instance Pool Placement Configuration Args] (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
- actual
Size 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.
- compartment
Id String - (Updatable) The OCID of the compartment containing the instance pool.
- Map<String>
- (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 String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String>
- (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 StringId - (Updatable) The OCID of the instance configuration associated with the instance pool.
- instance
Display StringName Formatter - (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 StringFormatter - (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 List<Property Map> - The load balancers to attach to the instance pool.
- placement
Configurations 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
- time
Created 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
- Backend
Set stringName - The name of the backend set on the load balancer to add instances to.
- Load
Balancer stringId - 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 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.
- Instance
Pool stringId - 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 stringName - The name of the backend set on the load balancer to add instances to.
- Load
Balancer stringId - 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 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.
- Instance
Pool stringId - 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 StringName - The name of the backend set on the load balancer to add instances to.
- load
Balancer StringId - The OCID of the load balancer to attach to the instance pool.
- port Integer
- The port value to use when creating the backend set.
- vnic
Selection 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.
- instance
Pool StringId - 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 stringName - The name of the backend set on the load balancer to add instances to.
- load
Balancer stringId - The OCID of the load balancer to attach to the instance pool.
- port number
- The port value to use when creating the backend set.
- vnic
Selection 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.
- instance
Pool stringId - 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_ strname - The name of the backend set on the load balancer to add instances to.
- load_
balancer_ strid - 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_ strid - 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
- backend
Set StringName - The name of the backend set on the load balancer to add instances to.
- load
Balancer StringId - The OCID of the load balancer to attach to the instance pool.
- port Number
- The port value to use when creating the backend set.
- vnic
Selection 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.
- instance
Pool StringId - 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
- Availability
Domain string - (Updatable) The availability domain to place instances. Example:
Uocm:PHX-AD-1
- Fault
Domains 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]
- Primary
Subnet stringId - (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 InstanceSubnets Pool Placement Configuration Primary Vnic Subnets - (Updatable) Details about the IPv6 primary subnet.
- Secondary
Vnic List<InstanceSubnets Pool Placement Configuration Secondary Vnic Subnet> - (Updatable) The set of secondary VNIC data for instances in the pool.
- Availability
Domain string - (Updatable) The availability domain to place instances. Example:
Uocm:PHX-AD-1
- Fault
Domains []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]
- Primary
Subnet stringId - (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 InstanceSubnets Pool Placement Configuration Primary Vnic Subnets - (Updatable) Details about the IPv6 primary subnet.
- Secondary
Vnic []InstanceSubnets Pool Placement Configuration Secondary Vnic Subnet - (Updatable) The set of secondary VNIC data for instances in the pool.
- availability
Domain String - (Updatable) The availability domain to place instances. Example:
Uocm:PHX-AD-1
- fault
Domains 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]
- primary
Subnet StringId - (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 InstanceSubnets Pool Placement Configuration Primary Vnic Subnets - (Updatable) Details about the IPv6 primary subnet.
- secondary
Vnic List<InstanceSubnets Pool Placement Configuration Secondary Vnic Subnet> - (Updatable) The set of secondary VNIC data for instances in the pool.
- availability
Domain string - (Updatable) The availability domain to place instances. Example:
Uocm:PHX-AD-1
- fault
Domains 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]
- primary
Subnet stringId - (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 InstanceSubnets Pool Placement Configuration Primary Vnic Subnets - (Updatable) Details about the IPv6 primary subnet.
- secondary
Vnic InstanceSubnets Pool Placement Configuration Secondary Vnic Subnet[] - (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_ strid - (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_ core.subnets Instance Pool Placement Configuration Primary Vnic Subnets - (Updatable) Details about the IPv6 primary subnet.
- secondary_
vnic_ Sequence[core.subnets Instance Pool Placement Configuration Secondary Vnic Subnet] - (Updatable) The set of secondary VNIC data for instances in the pool.
- availability
Domain String - (Updatable) The availability domain to place instances. Example:
Uocm:PHX-AD-1
- fault
Domains 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]
- primary
Subnet StringId - (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 Property MapSubnets - (Updatable) Details about the IPv6 primary subnet.
- secondary
Vnic List<Property Map>Subnets - (Updatable) The set of secondary VNIC data for instances in the pool.
InstancePoolPlacementConfigurationPrimaryVnicSubnets, InstancePoolPlacementConfigurationPrimaryVnicSubnetsArgs
- Subnet
Id string - (Updatable) The subnet OCID for the secondary VNIC.
- Ipv6address
Ipv6subnet List<InstanceCidr Pair Details Pool Placement Configuration Primary Vnic Subnets Ipv6address Ipv6subnet Cidr Pair Detail> - (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 boolIpv6ip - (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. Ifipv6SubnetCidr
is not provided then an IPv6 prefix is chosen for you.
- Subnet
Id string - (Updatable) The subnet OCID for the secondary VNIC.
- Ipv6address
Ipv6subnet []InstanceCidr Pair Details Pool Placement Configuration Primary Vnic Subnets Ipv6address Ipv6subnet Cidr Pair Detail - (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 boolIpv6ip - (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. Ifipv6SubnetCidr
is not provided then an IPv6 prefix is chosen for you.
- subnet
Id String - (Updatable) The subnet OCID for the secondary VNIC.
- ipv6address
Ipv6subnet List<InstanceCidr Pair Details Pool Placement Configuration Primary Vnic Subnets Ipv6address Ipv6subnet Cidr Pair Detail> - (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 BooleanIpv6ip - (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. Ifipv6SubnetCidr
is not provided then an IPv6 prefix is chosen for you.
- subnet
Id string - (Updatable) The subnet OCID for the secondary VNIC.
- ipv6address
Ipv6subnet InstanceCidr Pair Details Pool Placement Configuration Primary Vnic Subnets Ipv6address Ipv6subnet Cidr Pair Detail[] - (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 booleanIpv6ip - (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. Ifipv6SubnetCidr
is not provided then an IPv6 prefix is chosen for you.
- subnet_
id str - (Updatable) The subnet OCID for the secondary VNIC.
- ipv6address_
ipv6subnet_ Sequence[core.cidr_ pair_ details Instance Pool Placement Configuration Primary Vnic Subnets Ipv6address Ipv6subnet Cidr Pair Detail] - (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_ boolipv6ip - (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. Ifipv6SubnetCidr
is not provided then an IPv6 prefix is chosen for you.
- subnet
Id String - (Updatable) The subnet OCID for the secondary VNIC.
- ipv6address
Ipv6subnet List<Property Map>Cidr Pair Details - (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 BooleanIpv6ip - (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. Ifipv6SubnetCidr
is not provided then an IPv6 prefix is chosen for you.
InstancePoolPlacementConfigurationPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetail, InstancePoolPlacementConfigurationPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetailArgs
- Ipv6subnet
Cidr string - (Updatable) Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.
- Ipv6subnet
Cidr string - (Updatable) Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.
- ipv6subnet
Cidr String - (Updatable) Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.
- ipv6subnet
Cidr 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.
- ipv6subnet
Cidr String - (Updatable) Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.
InstancePoolPlacementConfigurationSecondaryVnicSubnet, InstancePoolPlacementConfigurationSecondaryVnicSubnetArgs
- Subnet
Id string - (Updatable) The subnet OCID for the secondary VNIC.
- Display
Name string - (Updatable) The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
- Ipv6address
Ipv6subnet List<InstanceCidr Pair Details Pool Placement Configuration Secondary Vnic Subnet Ipv6address Ipv6subnet Cidr Pair Detail> - (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 boolIpv6ip - (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. Ifipv6SubnetCidr
is not provided then an IPv6 prefix is chosen for you.
- Subnet
Id string - (Updatable) The subnet OCID for the secondary VNIC.
- Display
Name string - (Updatable) The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
- Ipv6address
Ipv6subnet []InstanceCidr Pair Details Pool Placement Configuration Secondary Vnic Subnet Ipv6address Ipv6subnet Cidr Pair Detail - (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 boolIpv6ip - (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. Ifipv6SubnetCidr
is not provided then an IPv6 prefix is chosen for you.
- subnet
Id String - (Updatable) The subnet OCID for the secondary VNIC.
- display
Name String - (Updatable) The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
- ipv6address
Ipv6subnet List<InstanceCidr Pair Details Pool Placement Configuration Secondary Vnic Subnet Ipv6address Ipv6subnet Cidr Pair Detail> - (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 BooleanIpv6ip - (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. Ifipv6SubnetCidr
is not provided then an IPv6 prefix is chosen for you.
- subnet
Id string - (Updatable) The subnet OCID for the secondary VNIC.
- display
Name string - (Updatable) The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
- ipv6address
Ipv6subnet InstanceCidr Pair Details Pool Placement Configuration Secondary Vnic Subnet Ipv6address Ipv6subnet Cidr Pair Detail[] - (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 booleanIpv6ip - (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. Ifipv6SubnetCidr
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_ Sequence[core.cidr_ pair_ details Instance Pool Placement Configuration Secondary Vnic Subnet Ipv6address Ipv6subnet Cidr Pair Detail] - (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_ boolipv6ip - (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. Ifipv6SubnetCidr
is not provided then an IPv6 prefix is chosen for you.
- subnet
Id String - (Updatable) The subnet OCID for the secondary VNIC.
- display
Name String - (Updatable) The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
- ipv6address
Ipv6subnet List<Property Map>Cidr Pair Details - (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 BooleanIpv6ip - (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. Ifipv6SubnetCidr
is not provided then an IPv6 prefix is chosen for you.
InstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetail, InstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailArgs
- Ipv6subnet
Cidr string - (Updatable) Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.
- Ipv6subnet
Cidr string - (Updatable) Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.
- ipv6subnet
Cidr String - (Updatable) Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.
- ipv6subnet
Cidr 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.
- ipv6subnet
Cidr 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.