published on Thursday, Nov 12, 2026 by Pulumi
published on Thursday, Nov 12, 2026 by Pulumi
This resource provides the Instance Pool resource in Oracle Cloud Infrastructure Core service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/iaas/latest/InstancePool
Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/
Creates an instance pool.
To determine whether capacity is available for a specific shape before you create an instance pool,
use the CreateComputeCapacityReport
operation.
You can optionally include overridePolicy to define availability domain-scoped
launch overrides for future launches. Existing pool members are not modified.
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,
computeClusterId: testComputeCluster.id,
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,
lifecycleManagement: {
lifecycleActions: {
preTermination: {
isEnabled: instancePoolLifecycleManagementLifecycleActionsPreTerminationIsEnabled,
onTimeout: {
preserveBlockVolumeMode: instancePoolLifecycleManagementLifecycleActionsPreTerminationOnTimeoutPreserveBlockVolumeMode,
preserveBootVolumeMode: instancePoolLifecycleManagementLifecycleActionsPreTerminationOnTimeoutPreserveBootVolumeMode,
},
timeout: instancePoolLifecycleManagementLifecycleActionsPreTerminationTimeout,
},
},
},
loadBalancers: [{
backendSetName: testBackendSet.name,
loadBalancerId: testLoadBalancer.id,
port: instancePoolLoadBalancersPort,
vnicSelection: instancePoolLoadBalancersVnicSelection,
}],
overridePolicy: {
overrideStatements: [{
name: instancePoolOverridePolicyOverrideStatementsName,
overrideOptions: [{
name: instancePoolOverridePolicyOverrideStatementsOverrideOptionsName,
override: {
capacityReservationId: testCapacityReservation.id,
shape: instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShape,
shapeConfigDetails: {
baselineOcpuUtilization: instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsBaselineOcpuUtilization,
localVolumeSizeInGbs: instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsLocalVolumeSizeInGbs,
memoryInGbs: instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsMemoryInGbs,
nvmes: instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsNvmes,
ocpus: instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsOcpus,
resourceManagement: instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsResourceManagement,
vcpus: instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsVcpus,
},
},
}],
selector: {
availabilityDomain: instancePoolOverridePolicyOverrideStatementsSelectorAvailabilityDomain,
},
}],
},
});
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,
"compute_cluster_id": test_compute_cluster["id"],
"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,
lifecycle_management={
"lifecycle_actions": {
"pre_termination": {
"is_enabled": instance_pool_lifecycle_management_lifecycle_actions_pre_termination_is_enabled,
"on_timeout": {
"preserve_block_volume_mode": instance_pool_lifecycle_management_lifecycle_actions_pre_termination_on_timeout_preserve_block_volume_mode,
"preserve_boot_volume_mode": instance_pool_lifecycle_management_lifecycle_actions_pre_termination_on_timeout_preserve_boot_volume_mode,
},
"timeout": instance_pool_lifecycle_management_lifecycle_actions_pre_termination_timeout,
},
},
},
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,
}],
override_policy={
"override_statements": [{
"name": instance_pool_override_policy_override_statements_name,
"override_options": [{
"name": instance_pool_override_policy_override_statements_override_options_name,
"override": {
"capacity_reservation_id": test_capacity_reservation["id"],
"shape": instance_pool_override_policy_override_statements_override_options_override_shape,
"shape_config_details": {
"baseline_ocpu_utilization": instance_pool_override_policy_override_statements_override_options_override_shape_config_details_baseline_ocpu_utilization,
"local_volume_size_in_gbs": instance_pool_override_policy_override_statements_override_options_override_shape_config_details_local_volume_size_in_gbs,
"memory_in_gbs": instance_pool_override_policy_override_statements_override_options_override_shape_config_details_memory_in_gbs,
"nvmes": instance_pool_override_policy_override_statements_override_options_override_shape_config_details_nvmes,
"ocpus": instance_pool_override_policy_override_statements_override_options_override_shape_config_details_ocpus,
"resource_management": instance_pool_override_policy_override_statements_override_options_override_shape_config_details_resource_management,
"vcpus": instance_pool_override_policy_override_statements_override_options_override_shape_config_details_vcpus,
},
},
}],
"selector": {
"availability_domain": instance_pool_override_policy_override_statements_selector_availability_domain,
},
}],
})
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v5/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),
ComputeClusterId: pulumi.Any(testComputeCluster.Id),
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),
LifecycleManagement: &core.InstancePoolLifecycleManagementArgs{
LifecycleActions: &core.InstancePoolLifecycleManagementLifecycleActionsArgs{
PreTermination: &core.InstancePoolLifecycleManagementLifecycleActionsPreTerminationArgs{
IsEnabled: pulumi.Any(instancePoolLifecycleManagementLifecycleActionsPreTerminationIsEnabled),
OnTimeout: &core.InstancePoolLifecycleManagementLifecycleActionsPreTerminationOnTimeoutArgs{
PreserveBlockVolumeMode: pulumi.Any(instancePoolLifecycleManagementLifecycleActionsPreTerminationOnTimeoutPreserveBlockVolumeMode),
PreserveBootVolumeMode: pulumi.Any(instancePoolLifecycleManagementLifecycleActionsPreTerminationOnTimeoutPreserveBootVolumeMode),
},
Timeout: pulumi.Any(instancePoolLifecycleManagementLifecycleActionsPreTerminationTimeout),
},
},
},
LoadBalancers: core.InstancePoolLoadBalancerArray{
&core.InstancePoolLoadBalancerArgs{
BackendSetName: pulumi.Any(testBackendSet.Name),
LoadBalancerId: pulumi.Any(testLoadBalancer.Id),
Port: pulumi.Any(instancePoolLoadBalancersPort),
VnicSelection: pulumi.Any(instancePoolLoadBalancersVnicSelection),
},
},
OverridePolicy: &core.InstancePoolOverridePolicyArgs{
OverrideStatements: core.InstancePoolOverridePolicyOverrideStatementArray{
&core.InstancePoolOverridePolicyOverrideStatementArgs{
Name: instancePoolOverridePolicyOverrideStatementsName,
OverrideOptions: core.InstancePoolOverridePolicyOverrideStatementOverrideOptionArray{
&core.InstancePoolOverridePolicyOverrideStatementOverrideOptionArgs{
Name: pulumi.Any(instancePoolOverridePolicyOverrideStatementsOverrideOptionsName),
Override: &core.InstancePoolOverridePolicyOverrideStatementOverrideOptionOverrideArgs{
CapacityReservationId: pulumi.Any(testCapacityReservation.Id),
Shape: pulumi.Any(instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShape),
ShapeConfigDetails: &core.InstancePoolOverridePolicyOverrideStatementOverrideOptionOverrideShapeConfigDetailsArgs{
BaselineOcpuUtilization: pulumi.Any(instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsBaselineOcpuUtilization),
LocalVolumeSizeInGbs: pulumi.Any(instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsLocalVolumeSizeInGbs),
MemoryInGbs: pulumi.Any(instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsMemoryInGbs),
Nvmes: pulumi.Any(instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsNvmes),
Ocpus: pulumi.Any(instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsOcpus),
ResourceManagement: pulumi.Any(instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsResourceManagement),
Vcpus: pulumi.Any(instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsVcpus),
},
},
},
},
Selector: &core.InstancePoolOverridePolicyOverrideStatementSelectorArgs{
AvailabilityDomain: pulumi.Any(instancePoolOverridePolicyOverrideStatementsSelectorAvailabilityDomain),
},
},
},
},
})
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,
ComputeClusterId = testComputeCluster.Id,
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,
LifecycleManagement = new Oci.Core.Inputs.InstancePoolLifecycleManagementArgs
{
LifecycleActions = new Oci.Core.Inputs.InstancePoolLifecycleManagementLifecycleActionsArgs
{
PreTermination = new Oci.Core.Inputs.InstancePoolLifecycleManagementLifecycleActionsPreTerminationArgs
{
IsEnabled = instancePoolLifecycleManagementLifecycleActionsPreTerminationIsEnabled,
OnTimeout = new Oci.Core.Inputs.InstancePoolLifecycleManagementLifecycleActionsPreTerminationOnTimeoutArgs
{
PreserveBlockVolumeMode = instancePoolLifecycleManagementLifecycleActionsPreTerminationOnTimeoutPreserveBlockVolumeMode,
PreserveBootVolumeMode = instancePoolLifecycleManagementLifecycleActionsPreTerminationOnTimeoutPreserveBootVolumeMode,
},
Timeout = instancePoolLifecycleManagementLifecycleActionsPreTerminationTimeout,
},
},
},
LoadBalancers = new[]
{
new Oci.Core.Inputs.InstancePoolLoadBalancerArgs
{
BackendSetName = testBackendSet.Name,
LoadBalancerId = testLoadBalancer.Id,
Port = instancePoolLoadBalancersPort,
VnicSelection = instancePoolLoadBalancersVnicSelection,
},
},
OverridePolicy = new Oci.Core.Inputs.InstancePoolOverridePolicyArgs
{
OverrideStatements = new[]
{
new Oci.Core.Inputs.InstancePoolOverridePolicyOverrideStatementArgs
{
Name = instancePoolOverridePolicyOverrideStatementsName,
OverrideOptions = new[]
{
new Oci.Core.Inputs.InstancePoolOverridePolicyOverrideStatementOverrideOptionArgs
{
Name = instancePoolOverridePolicyOverrideStatementsOverrideOptionsName,
Override = new Oci.Core.Inputs.InstancePoolOverridePolicyOverrideStatementOverrideOptionOverrideArgs
{
CapacityReservationId = testCapacityReservation.Id,
Shape = instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShape,
ShapeConfigDetails = new Oci.Core.Inputs.InstancePoolOverridePolicyOverrideStatementOverrideOptionOverrideShapeConfigDetailsArgs
{
BaselineOcpuUtilization = instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsBaselineOcpuUtilization,
LocalVolumeSizeInGbs = instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsLocalVolumeSizeInGbs,
MemoryInGbs = instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsMemoryInGbs,
Nvmes = instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsNvmes,
Ocpus = instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsOcpus,
ResourceManagement = instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsResourceManagement,
Vcpus = instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsVcpus,
},
},
},
},
Selector = new Oci.Core.Inputs.InstancePoolOverridePolicyOverrideStatementSelectorArgs
{
AvailabilityDomain = instancePoolOverridePolicyOverrideStatementsSelectorAvailabilityDomain,
},
},
},
},
});
});
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.InstancePoolPlacementConfigurationPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetailArgs;
import com.pulumi.oci.Core.inputs.InstancePoolPlacementConfigurationSecondaryVnicSubnetArgs;
import com.pulumi.oci.Core.inputs.InstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailArgs;
import com.pulumi.oci.Core.inputs.InstancePoolLifecycleManagementArgs;
import com.pulumi.oci.Core.inputs.InstancePoolLifecycleManagementLifecycleActionsArgs;
import com.pulumi.oci.Core.inputs.InstancePoolLifecycleManagementLifecycleActionsPreTerminationArgs;
import com.pulumi.oci.Core.inputs.InstancePoolLifecycleManagementLifecycleActionsPreTerminationOnTimeoutArgs;
import com.pulumi.oci.Core.inputs.InstancePoolLoadBalancerArgs;
import com.pulumi.oci.Core.inputs.InstancePoolOverridePolicyArgs;
import com.pulumi.oci.Core.inputs.InstancePoolOverridePolicyOverrideStatementArgs;
import com.pulumi.oci.Core.inputs.InstancePoolOverridePolicyOverrideStatementOverrideOptionArgs;
import com.pulumi.oci.Core.inputs.InstancePoolOverridePolicyOverrideStatementOverrideOptionOverrideArgs;
import com.pulumi.oci.Core.inputs.InstancePoolOverridePolicyOverrideStatementOverrideOptionOverrideShapeConfigDetailsArgs;
import com.pulumi.oci.Core.inputs.InstancePoolOverridePolicyOverrideStatementSelectorArgs;
import java.util.ArrayList;
import java.util.Arrays;
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.get("id"))
.placementConfigurations(InstancePoolPlacementConfigurationArgs.builder()
.availabilityDomain(instancePoolPlacementConfigurationsAvailabilityDomain)
.computeClusterId(testComputeCluster.get("id"))
.faultDomains(instancePoolPlacementConfigurationsFaultDomains)
.primarySubnetId(testSubnet.get("id"))
.primaryVnicSubnets(InstancePoolPlacementConfigurationPrimaryVnicSubnetsArgs.builder()
.subnetId(testSubnet.get("id"))
.ipv6addressIpv6subnetCidrPairDetails(InstancePoolPlacementConfigurationPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetailArgs.builder()
.ipv6subnetCidr(instancePoolPlacementConfigurationsPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetailsIpv6subnetCidr)
.build())
.isAssignIpv6ip(instancePoolPlacementConfigurationsPrimaryVnicSubnetsIsAssignIpv6ip)
.build())
.secondaryVnicSubnets(InstancePoolPlacementConfigurationSecondaryVnicSubnetArgs.builder()
.subnetId(testSubnet.get("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)
.lifecycleManagement(InstancePoolLifecycleManagementArgs.builder()
.lifecycleActions(InstancePoolLifecycleManagementLifecycleActionsArgs.builder()
.preTermination(InstancePoolLifecycleManagementLifecycleActionsPreTerminationArgs.builder()
.isEnabled(instancePoolLifecycleManagementLifecycleActionsPreTerminationIsEnabled)
.onTimeout(InstancePoolLifecycleManagementLifecycleActionsPreTerminationOnTimeoutArgs.builder()
.preserveBlockVolumeMode(instancePoolLifecycleManagementLifecycleActionsPreTerminationOnTimeoutPreserveBlockVolumeMode)
.preserveBootVolumeMode(instancePoolLifecycleManagementLifecycleActionsPreTerminationOnTimeoutPreserveBootVolumeMode)
.build())
.timeout(instancePoolLifecycleManagementLifecycleActionsPreTerminationTimeout)
.build())
.build())
.build())
.loadBalancers(InstancePoolLoadBalancerArgs.builder()
.backendSetName(testBackendSet.get("name"))
.loadBalancerId(testLoadBalancer.get("id"))
.port(instancePoolLoadBalancersPort)
.vnicSelection(instancePoolLoadBalancersVnicSelection)
.build())
.overridePolicy(InstancePoolOverridePolicyArgs.builder()
.overrideStatements(InstancePoolOverridePolicyOverrideStatementArgs.builder()
.name(instancePoolOverridePolicyOverrideStatementsName)
.overrideOptions(InstancePoolOverridePolicyOverrideStatementOverrideOptionArgs.builder()
.name(instancePoolOverridePolicyOverrideStatementsOverrideOptionsName)
.override(InstancePoolOverridePolicyOverrideStatementOverrideOptionOverrideArgs.builder()
.capacityReservationId(testCapacityReservation.get("id"))
.shape(instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShape)
.shapeConfigDetails(InstancePoolOverridePolicyOverrideStatementOverrideOptionOverrideShapeConfigDetailsArgs.builder()
.baselineOcpuUtilization(instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsBaselineOcpuUtilization)
.localVolumeSizeInGbs(instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsLocalVolumeSizeInGbs)
.memoryInGbs(instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsMemoryInGbs)
.nvmes(instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsNvmes)
.ocpus(instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsOcpus)
.resourceManagement(instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsResourceManagement)
.vcpus(instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsVcpus)
.build())
.build())
.build())
.selector(InstancePoolOverridePolicyOverrideStatementSelectorArgs.builder()
.availabilityDomain(instancePoolOverridePolicyOverrideStatementsSelectorAvailabilityDomain)
.build())
.build())
.build())
.build());
}
}
resources:
testInstancePool:
type: oci:Core:InstancePool
name: test_instance_pool
properties:
compartmentId: ${compartmentId}
instanceConfigurationId: ${testInstanceConfiguration.id}
placementConfigurations:
- availabilityDomain: ${instancePoolPlacementConfigurationsAvailabilityDomain}
computeClusterId: ${testComputeCluster.id}
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}
lifecycleManagement:
lifecycleActions:
preTermination:
isEnabled: ${instancePoolLifecycleManagementLifecycleActionsPreTerminationIsEnabled}
onTimeout:
preserveBlockVolumeMode: ${instancePoolLifecycleManagementLifecycleActionsPreTerminationOnTimeoutPreserveBlockVolumeMode}
preserveBootVolumeMode: ${instancePoolLifecycleManagementLifecycleActionsPreTerminationOnTimeoutPreserveBootVolumeMode}
timeout: ${instancePoolLifecycleManagementLifecycleActionsPreTerminationTimeout}
loadBalancers:
- backendSetName: ${testBackendSet.name}
loadBalancerId: ${testLoadBalancer.id}
port: ${instancePoolLoadBalancersPort}
vnicSelection: ${instancePoolLoadBalancersVnicSelection}
overridePolicy:
overrideStatements:
- name: ${instancePoolOverridePolicyOverrideStatementsName}
overrideOptions:
- name: ${instancePoolOverridePolicyOverrideStatementsOverrideOptionsName}
override:
capacityReservationId: ${testCapacityReservation.id}
shape: ${instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShape}
shapeConfigDetails:
baselineOcpuUtilization: ${instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsBaselineOcpuUtilization}
localVolumeSizeInGbs: ${instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsLocalVolumeSizeInGbs}
memoryInGbs: ${instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsMemoryInGbs}
nvmes: ${instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsNvmes}
ocpus: ${instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsOcpus}
resourceManagement: ${instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsResourceManagement}
vcpus: ${instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsVcpus}
selector:
availabilityDomain: ${instancePoolOverridePolicyOverrideStatementsSelectorAvailabilityDomain}
terraform {
required_providers {
oci = {
source = "pulumi/oci"
}
}
}
resource "oci_core_instance_pool" "test_instance_pool" {
lifecycle {
create_before_destroy = true
}
compartment_id = compartmentId
instance_configuration_id = testInstanceConfiguration.id
placement_configurations {
availability_domain = instancePoolPlacementConfigurationsAvailabilityDomain
compute_cluster_id = testComputeCluster.id
fault_domains = instancePoolPlacementConfigurationsFaultDomains
primary_subnet_id = testSubnet.id
primary_vnic_subnets {
subnet_id = testSubnet.id
ipv6address_ipv6subnet_cidr_pair_details {
ipv6subnet_cidr = instancePoolPlacementConfigurationsPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetailsIpv6subnetCidr
}
is_assign_ipv6ip = instancePoolPlacementConfigurationsPrimaryVnicSubnetsIsAssignIpv6ip
}
secondary_vnic_subnets {
subnet_id = testSubnet.id
display_name = instancePoolPlacementConfigurationsSecondaryVnicSubnetsDisplayName
ipv6address_ipv6subnet_cidr_pair_details {
ipv6subnet_cidr = instancePoolPlacementConfigurationsSecondaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetailsIpv6subnetCidr
}
is_assign_ipv6ip = instancePoolPlacementConfigurationsSecondaryVnicSubnetsIsAssignIpv6ip
}
}
#Required
#Optional
#Required
#Optional
#Required
#Optional
#Optional
size = instancePoolSize
defined_tags = {
"Operations.CostCenter" = "42"
}
display_name = instancePoolDisplayName
freeform_tags = {
"Department" = "Finance"
}
instance_display_name_formatter = instancePoolInstanceDisplayNameFormatter
instance_hostname_formatter = instancePoolInstanceHostnameFormatter
lifecycle_management {
lifecycle_actions {
pre_termination {
is_enabled = instancePoolLifecycleManagementLifecycleActionsPreTerminationIsEnabled
on_timeout {
preserve_block_volume_mode = instancePoolLifecycleManagementLifecycleActionsPreTerminationOnTimeoutPreserveBlockVolumeMode
preserve_boot_volume_mode = instancePoolLifecycleManagementLifecycleActionsPreTerminationOnTimeoutPreserveBootVolumeMode
}
timeout = instancePoolLifecycleManagementLifecycleActionsPreTerminationTimeout
}
}
}
#Required
#Required
load_balancers {
backend_set_name = testBackendSet.name
load_balancer_id = testLoadBalancer.id
port = instancePoolLoadBalancersPort
vnic_selection = instancePoolLoadBalancersVnicSelection
}
#Required
override_policy {
override_statements {
name = instancePoolOverridePolicyOverrideStatementsName
override_options {
name = instancePoolOverridePolicyOverrideStatementsOverrideOptionsName
override {
capacity_reservation_id = testCapacityReservation.id
shape = instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShape
shape_config_details {
baseline_ocpu_utilization = instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsBaselineOcpuUtilization
local_volume_size_in_gbs = instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsLocalVolumeSizeInGbs
memory_in_gbs = instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsMemoryInGbs
nvmes = instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsNvmes
ocpus = instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsOcpus
resource_management = instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsResourceManagement
vcpus = instancePoolOverridePolicyOverrideStatementsOverrideOptionsOverrideShapeConfigDetailsVcpus
}
}
}
selector {
availability_domain = instancePoolOverridePolicyOverrideStatementsSelectorAvailabilityDomain
}
}
}
}
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,
instance_configuration_id: Optional[str] = None,
size: Optional[int] = None,
placement_configurations: Optional[Sequence[InstancePoolPlacementConfigurationArgs]] = None,
compartment_id: Optional[str] = None,
instance_hostname_formatter: Optional[str] = None,
instance_display_name_formatter: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
lifecycle_management: Optional[InstancePoolLifecycleManagementArgs] = None,
load_balancers: Optional[Sequence[InstancePoolLoadBalancerArgs]] = None,
override_policy: Optional[InstancePoolOverridePolicyArgs] = None,
display_name: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = 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.
resource "oci_core_instance_pool" "name" {
# resource properties
}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()
{
InstanceConfigurationId = "string",
Size = 0,
PlacementConfigurations = new[]
{
new Oci.Core.Inputs.InstancePoolPlacementConfigurationArgs
{
AvailabilityDomain = "string",
ComputeClusterId = "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,
},
},
},
},
CompartmentId = "string",
InstanceHostnameFormatter = "string",
InstanceDisplayNameFormatter = "string",
FreeformTags =
{
{ "string", "string" },
},
LifecycleManagement = new Oci.Core.Inputs.InstancePoolLifecycleManagementArgs
{
LifecycleActions = new Oci.Core.Inputs.InstancePoolLifecycleManagementLifecycleActionsArgs
{
PreTermination = new Oci.Core.Inputs.InstancePoolLifecycleManagementLifecycleActionsPreTerminationArgs
{
IsEnabled = false,
OnTimeout = new Oci.Core.Inputs.InstancePoolLifecycleManagementLifecycleActionsPreTerminationOnTimeoutArgs
{
PreserveBlockVolumeMode = "string",
PreserveBootVolumeMode = "string",
},
Timeout = 0,
},
},
},
LoadBalancers = new[]
{
new Oci.Core.Inputs.InstancePoolLoadBalancerArgs
{
BackendSetName = "string",
LoadBalancerId = "string",
Port = 0,
VnicSelection = "string",
Id = "string",
InstancePoolId = "string",
State = "string",
},
},
OverridePolicy = new Oci.Core.Inputs.InstancePoolOverridePolicyArgs
{
OverrideStatements = new[]
{
new Oci.Core.Inputs.InstancePoolOverridePolicyOverrideStatementArgs
{
OverrideOptions = new[]
{
new Oci.Core.Inputs.InstancePoolOverridePolicyOverrideStatementOverrideOptionArgs
{
Name = "string",
Override = new Oci.Core.Inputs.InstancePoolOverridePolicyOverrideStatementOverrideOptionOverrideArgs
{
CapacityReservationId = "string",
Shape = "string",
ShapeConfigDetails = new Oci.Core.Inputs.InstancePoolOverridePolicyOverrideStatementOverrideOptionOverrideShapeConfigDetailsArgs
{
BaselineOcpuUtilization = "string",
LocalVolumeSizeInGbs = 0,
MemoryInGbs = 0.0,
Nvmes = 0,
Ocpus = 0.0,
ResourceManagement = "string",
Vcpus = 0,
},
},
},
},
Selector = new Oci.Core.Inputs.InstancePoolOverridePolicyOverrideStatementSelectorArgs
{
AvailabilityDomain = "string",
},
},
},
},
DisplayName = "string",
DefinedTags =
{
{ "string", "string" },
},
State = "string",
});
example, err := core.NewInstancePool(ctx, "instancePoolResource", &core.InstancePoolArgs{
InstanceConfigurationId: pulumi.String("string"),
Size: pulumi.Int(0),
PlacementConfigurations: core.InstancePoolPlacementConfigurationArray{
&core.InstancePoolPlacementConfigurationArgs{
AvailabilityDomain: pulumi.String("string"),
ComputeClusterId: 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),
},
},
},
},
CompartmentId: pulumi.String("string"),
InstanceHostnameFormatter: pulumi.String("string"),
InstanceDisplayNameFormatter: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
LifecycleManagement: &core.InstancePoolLifecycleManagementArgs{
LifecycleActions: &core.InstancePoolLifecycleManagementLifecycleActionsArgs{
PreTermination: &core.InstancePoolLifecycleManagementLifecycleActionsPreTerminationArgs{
IsEnabled: pulumi.Bool(false),
OnTimeout: &core.InstancePoolLifecycleManagementLifecycleActionsPreTerminationOnTimeoutArgs{
PreserveBlockVolumeMode: pulumi.String("string"),
PreserveBootVolumeMode: pulumi.String("string"),
},
Timeout: pulumi.Int(0),
},
},
},
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"),
},
},
OverridePolicy: &core.InstancePoolOverridePolicyArgs{
OverrideStatements: core.InstancePoolOverridePolicyOverrideStatementArray{
&core.InstancePoolOverridePolicyOverrideStatementArgs{
OverrideOptions: core.InstancePoolOverridePolicyOverrideStatementOverrideOptionArray{
&core.InstancePoolOverridePolicyOverrideStatementOverrideOptionArgs{
Name: pulumi.String("string"),
Override: &core.InstancePoolOverridePolicyOverrideStatementOverrideOptionOverrideArgs{
CapacityReservationId: pulumi.String("string"),
Shape: pulumi.String("string"),
ShapeConfigDetails: &core.InstancePoolOverridePolicyOverrideStatementOverrideOptionOverrideShapeConfigDetailsArgs{
BaselineOcpuUtilization: pulumi.String("string"),
LocalVolumeSizeInGbs: pulumi.Int(0),
MemoryInGbs: pulumi.Float64(0),
Nvmes: pulumi.Int(0),
Ocpus: pulumi.Float64(0),
ResourceManagement: pulumi.String("string"),
Vcpus: pulumi.Int(0),
},
},
},
},
Selector: &core.InstancePoolOverridePolicyOverrideStatementSelectorArgs{
AvailabilityDomain: pulumi.String("string"),
},
},
},
},
DisplayName: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
State: pulumi.String("string"),
})
resource "oci_core_instance_pool" "instancePoolResource" {
lifecycle {
create_before_destroy = true
}
instance_configuration_id = "string"
size = 0
placement_configurations {
availability_domain = "string"
compute_cluster_id = "string"
fault_domains = ["string"]
primary_subnet_id = "string"
primary_vnic_subnets = {
subnet_id = "string"
ipv6address_ipv6subnet_cidr_pair_details = [{
ipv6subnet_cidr = "string"
}]
is_assign_ipv6ip = false
}
secondary_vnic_subnets {
subnet_id = "string"
display_name = "string"
ipv6address_ipv6subnet_cidr_pair_details {
ipv6subnet_cidr = "string"
}
is_assign_ipv6ip = false
}
}
compartment_id = "string"
instance_hostname_formatter = "string"
instance_display_name_formatter = "string"
freeform_tags = {
"string" = "string"
}
lifecycle_management = {
lifecycle_actions = {
pre_termination = {
is_enabled = false
on_timeout = {
preserve_block_volume_mode = "string"
preserve_boot_volume_mode = "string"
}
timeout = 0
}
}
}
load_balancers {
backend_set_name = "string"
load_balancer_id = "string"
port = 0
vnic_selection = "string"
id = "string"
instance_pool_id = "string"
state = "string"
}
override_policy = {
override_statements = [{
override_options = [{
name = "string"
override = {
capacity_reservation_id = "string"
shape = "string"
shape_config_details = {
baseline_ocpu_utilization = "string"
local_volume_size_in_gbs = 0
memory_in_gbs = 0
nvmes = 0
ocpus = 0
resource_management = "string"
vcpus = 0
}
}
}]
selector = {
availability_domain = "string"
}
}]
}
display_name = "string"
defined_tags = {
"string" = "string"
}
state = "string"
}
var instancePoolResource = new InstancePool("instancePoolResource", InstancePoolArgs.builder()
.instanceConfigurationId("string")
.size(0)
.placementConfigurations(InstancePoolPlacementConfigurationArgs.builder()
.availabilityDomain("string")
.computeClusterId("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())
.compartmentId("string")
.instanceHostnameFormatter("string")
.instanceDisplayNameFormatter("string")
.freeformTags(Map.of("string", "string"))
.lifecycleManagement(InstancePoolLifecycleManagementArgs.builder()
.lifecycleActions(InstancePoolLifecycleManagementLifecycleActionsArgs.builder()
.preTermination(InstancePoolLifecycleManagementLifecycleActionsPreTerminationArgs.builder()
.isEnabled(false)
.onTimeout(InstancePoolLifecycleManagementLifecycleActionsPreTerminationOnTimeoutArgs.builder()
.preserveBlockVolumeMode("string")
.preserveBootVolumeMode("string")
.build())
.timeout(0)
.build())
.build())
.build())
.loadBalancers(InstancePoolLoadBalancerArgs.builder()
.backendSetName("string")
.loadBalancerId("string")
.port(0)
.vnicSelection("string")
.id("string")
.instancePoolId("string")
.state("string")
.build())
.overridePolicy(InstancePoolOverridePolicyArgs.builder()
.overrideStatements(InstancePoolOverridePolicyOverrideStatementArgs.builder()
.overrideOptions(InstancePoolOverridePolicyOverrideStatementOverrideOptionArgs.builder()
.name("string")
.override(InstancePoolOverridePolicyOverrideStatementOverrideOptionOverrideArgs.builder()
.capacityReservationId("string")
.shape("string")
.shapeConfigDetails(InstancePoolOverridePolicyOverrideStatementOverrideOptionOverrideShapeConfigDetailsArgs.builder()
.baselineOcpuUtilization("string")
.localVolumeSizeInGbs(0)
.memoryInGbs(0.0)
.nvmes(0)
.ocpus(0.0)
.resourceManagement("string")
.vcpus(0)
.build())
.build())
.build())
.selector(InstancePoolOverridePolicyOverrideStatementSelectorArgs.builder()
.availabilityDomain("string")
.build())
.build())
.build())
.displayName("string")
.definedTags(Map.of("string", "string"))
.state("string")
.build());
instance_pool_resource = oci.core.InstancePool("instancePoolResource",
instance_configuration_id="string",
size=0,
placement_configurations=[{
"availability_domain": "string",
"compute_cluster_id": "string",
"fault_domains": ["string"],
"primary_subnet_id": "string",
"primary_vnic_subnets": {
"subnet_id": "string",
"ipv6address_ipv6subnet_cidr_pair_details": [{
"ipv6subnet_cidr": "string",
}],
"is_assign_ipv6ip": False,
},
"secondary_vnic_subnets": [{
"subnet_id": "string",
"display_name": "string",
"ipv6address_ipv6subnet_cidr_pair_details": [{
"ipv6subnet_cidr": "string",
}],
"is_assign_ipv6ip": False,
}],
}],
compartment_id="string",
instance_hostname_formatter="string",
instance_display_name_formatter="string",
freeform_tags={
"string": "string",
},
lifecycle_management={
"lifecycle_actions": {
"pre_termination": {
"is_enabled": False,
"on_timeout": {
"preserve_block_volume_mode": "string",
"preserve_boot_volume_mode": "string",
},
"timeout": 0,
},
},
},
load_balancers=[{
"backend_set_name": "string",
"load_balancer_id": "string",
"port": 0,
"vnic_selection": "string",
"id": "string",
"instance_pool_id": "string",
"state": "string",
}],
override_policy={
"override_statements": [{
"override_options": [{
"name": "string",
"override": {
"capacity_reservation_id": "string",
"shape": "string",
"shape_config_details": {
"baseline_ocpu_utilization": "string",
"local_volume_size_in_gbs": 0,
"memory_in_gbs": float(0),
"nvmes": 0,
"ocpus": float(0),
"resource_management": "string",
"vcpus": 0,
},
},
}],
"selector": {
"availability_domain": "string",
},
}],
},
display_name="string",
defined_tags={
"string": "string",
},
state="string")
const instancePoolResource = new oci.core.InstancePool("instancePoolResource", {
instanceConfigurationId: "string",
size: 0,
placementConfigurations: [{
availabilityDomain: "string",
computeClusterId: "string",
faultDomains: ["string"],
primarySubnetId: "string",
primaryVnicSubnets: {
subnetId: "string",
ipv6addressIpv6subnetCidrPairDetails: [{
ipv6subnetCidr: "string",
}],
isAssignIpv6ip: false,
},
secondaryVnicSubnets: [{
subnetId: "string",
displayName: "string",
ipv6addressIpv6subnetCidrPairDetails: [{
ipv6subnetCidr: "string",
}],
isAssignIpv6ip: false,
}],
}],
compartmentId: "string",
instanceHostnameFormatter: "string",
instanceDisplayNameFormatter: "string",
freeformTags: {
string: "string",
},
lifecycleManagement: {
lifecycleActions: {
preTermination: {
isEnabled: false,
onTimeout: {
preserveBlockVolumeMode: "string",
preserveBootVolumeMode: "string",
},
timeout: 0,
},
},
},
loadBalancers: [{
backendSetName: "string",
loadBalancerId: "string",
port: 0,
vnicSelection: "string",
id: "string",
instancePoolId: "string",
state: "string",
}],
overridePolicy: {
overrideStatements: [{
overrideOptions: [{
name: "string",
override: {
capacityReservationId: "string",
shape: "string",
shapeConfigDetails: {
baselineOcpuUtilization: "string",
localVolumeSizeInGbs: 0,
memoryInGbs: 0,
nvmes: 0,
ocpus: 0,
resourceManagement: "string",
vcpus: 0,
},
},
}],
selector: {
availabilityDomain: "string",
},
}],
},
displayName: "string",
definedTags: {
string: "string",
},
state: "string",
});
type: oci:Core:InstancePool
properties:
compartmentId: string
definedTags:
string: string
displayName: string
freeformTags:
string: string
instanceConfigurationId: string
instanceDisplayNameFormatter: string
instanceHostnameFormatter: string
lifecycleManagement:
lifecycleActions:
preTermination:
isEnabled: false
onTimeout:
preserveBlockVolumeMode: string
preserveBootVolumeMode: string
timeout: 0
loadBalancers:
- backendSetName: string
id: string
instancePoolId: string
loadBalancerId: string
port: 0
state: string
vnicSelection: string
overridePolicy:
overrideStatements:
- overrideOptions:
- name: string
override:
capacityReservationId: string
shape: string
shapeConfigDetails:
baselineOcpuUtilization: string
localVolumeSizeInGbs: 0
memoryInGbs: 0
nvmes: 0
ocpus: 0
resourceManagement: string
vcpus: 0
selector:
availabilityDomain: string
placementConfigurations:
- availabilityDomain: string
computeClusterId: 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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
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. To use compute cluster with instance pool, provide a single 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. For a GMC-enabled resource pool, this is the number of GMC resources that should be in the 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
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
- Lifecycle
Management InstancePool Lifecycle Management - (Updatable) The lifecycle management options for the instance pool.
- Load
Balancers List<InstancePool Load Balancer> - The load balancers to attach to the instance pool. (Note: From 6.16.0 loadBalancers field in oci.Core.InstancePool is changed from TypeList to TypeSet - to support load balancer insert operation. Also, LB cant by accessed by index)
- Override
Policy InstancePool Override Policy (Updatable) Optional pool-level launch override policy for future instance launches.
The policy is evaluated only after placement is resolved for a launch. In V1, provide between 1 and 3 availability domain-scoped statements and no more than one statement for the same availability domain.
For a matched availability domain, request order defines the canonical override candidate sequence. Preferred-candidate reuse may try one current option once as a fast path. If that fast path misses, canonical evaluation restarts from option 1. During canonical evaluation, the worker advances to the next option only for
out-of-host-capacity,LimitExceeded, andQuotaExceeded, and only after same-option retries are exhausted. Other failures are terminal for that launch attempt.When used on create, omitting
overridePolicypreserves the existing base-plus-placement behavior. When used on update, omittingoverridePolicyleaves the stored policy unchanged, a non-null value replaces the stored policy, andnullclears it. Read surfaces omitoverridePolicywhen no policy is stored on the 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. To use compute cluster with instance pool, provide a single 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. For a GMC-enabled resource pool, this is the number of GMC resources that should be in the 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
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
- Lifecycle
Management InstancePool Lifecycle Management Args - (Updatable) The lifecycle management options for the instance pool.
- Load
Balancers []InstancePool Load Balancer Args - The load balancers to attach to the instance pool. (Note: From 6.16.0 loadBalancers field in oci.Core.InstancePool is changed from TypeList to TypeSet - to support load balancer insert operation. Also, LB cant by accessed by index)
- Override
Policy InstancePool Override Policy Args (Updatable) Optional pool-level launch override policy for future instance launches.
The policy is evaluated only after placement is resolved for a launch. In V1, provide between 1 and 3 availability domain-scoped statements and no more than one statement for the same availability domain.
For a matched availability domain, request order defines the canonical override candidate sequence. Preferred-candidate reuse may try one current option once as a fast path. If that fast path misses, canonical evaluation restarts from option 1. During canonical evaluation, the worker advances to the next option only for
out-of-host-capacity,LimitExceeded, andQuotaExceeded, and only after same-option retries are exhausted. Other failures are terminal for that launch attempt.When used on create, omitting
overridePolicypreserves the existing base-plus-placement behavior. When used on update, omittingoverridePolicyleaves the stored policy unchanged, a non-null value replaces the stored policy, andnullclears it. Read surfaces omitoverridePolicywhen no policy is stored on the 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(object) (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. To use compute cluster with instance pool, provide a single 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. For a GMC-enabled resource pool, this is the number of GMC resources that should be in the 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_
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
- lifecycle_
management object - (Updatable) The lifecycle management options for the instance pool.
- load_
balancers list(object) - The load balancers to attach to the instance pool. (Note: From 6.16.0 loadBalancers field in oci.Core.InstancePool is changed from TypeList to TypeSet - to support load balancer insert operation. Also, LB cant by accessed by index)
- override_
policy object (Updatable) Optional pool-level launch override policy for future instance launches.
The policy is evaluated only after placement is resolved for a launch. In V1, provide between 1 and 3 availability domain-scoped statements and no more than one statement for the same availability domain.
For a matched availability domain, request order defines the canonical override candidate sequence. Preferred-candidate reuse may try one current option once as a fast path. If that fast path misses, canonical evaluation restarts from option 1. During canonical evaluation, the worker advances to the next option only for
out-of-host-capacity,LimitExceeded, andQuotaExceeded, and only after same-option retries are exhausted. Other failures are terminal for that launch attempt.When used on create, omitting
overridePolicypreserves the existing base-plus-placement behavior. When used on update, omittingoverridePolicyleaves the stored policy unchanged, a non-null value replaces the stored policy, andnullclears it. Read surfaces omitoverridePolicywhen no policy is stored on the 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. To use compute cluster with instance pool, provide a single 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. For a GMC-enabled resource pool, this is the number of GMC resources that should be in the 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
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
- lifecycle
Management InstancePool Lifecycle Management - (Updatable) The lifecycle management options for the instance pool.
- load
Balancers List<InstancePool Load Balancer> - The load balancers to attach to the instance pool. (Note: From 6.16.0 loadBalancers field in oci.Core.InstancePool is changed from TypeList to TypeSet - to support load balancer insert operation. Also, LB cant by accessed by index)
- override
Policy InstancePool Override Policy (Updatable) Optional pool-level launch override policy for future instance launches.
The policy is evaluated only after placement is resolved for a launch. In V1, provide between 1 and 3 availability domain-scoped statements and no more than one statement for the same availability domain.
For a matched availability domain, request order defines the canonical override candidate sequence. Preferred-candidate reuse may try one current option once as a fast path. If that fast path misses, canonical evaluation restarts from option 1. During canonical evaluation, the worker advances to the next option only for
out-of-host-capacity,LimitExceeded, andQuotaExceeded, and only after same-option retries are exhausted. Other failures are terminal for that launch attempt.When used on create, omitting
overridePolicypreserves the existing base-plus-placement behavior. When used on update, omittingoverridePolicyleaves the stored policy unchanged, a non-null value replaces the stored policy, andnullclears it. Read surfaces omitoverridePolicywhen no policy is stored on the 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. To use compute cluster with instance pool, provide a single 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. For a GMC-enabled resource pool, this is the number of GMC resources that should be in the 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
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
- lifecycle
Management InstancePool Lifecycle Management - (Updatable) The lifecycle management options for the instance pool.
- load
Balancers InstancePool Load Balancer[] - The load balancers to attach to the instance pool. (Note: From 6.16.0 loadBalancers field in oci.Core.InstancePool is changed from TypeList to TypeSet - to support load balancer insert operation. Also, LB cant by accessed by index)
- override
Policy InstancePool Override Policy (Updatable) Optional pool-level launch override policy for future instance launches.
The policy is evaluated only after placement is resolved for a launch. In V1, provide between 1 and 3 availability domain-scoped statements and no more than one statement for the same availability domain.
For a matched availability domain, request order defines the canonical override candidate sequence. Preferred-candidate reuse may try one current option once as a fast path. If that fast path misses, canonical evaluation restarts from option 1. During canonical evaluation, the worker advances to the next option only for
out-of-host-capacity,LimitExceeded, andQuotaExceeded, and only after same-option retries are exhausted. Other failures are terminal for that launch attempt.When used on create, omitting
overridePolicypreserves the existing base-plus-placement behavior. When used on update, omittingoverridePolicyleaves the stored policy unchanged, a non-null value replaces the stored policy, andnullclears it. Read surfaces omitoverridePolicywhen no policy is stored on the 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[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. To use compute cluster with instance pool, provide a single 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. For a GMC-enabled resource pool, this is the number of GMC resources that should be in the 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_
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
- lifecycle_
management InstancePool Lifecycle Management Args - (Updatable) The lifecycle management options for the instance pool.
- load_
balancers Sequence[InstancePool Load Balancer Args] - The load balancers to attach to the instance pool. (Note: From 6.16.0 loadBalancers field in oci.Core.InstancePool is changed from TypeList to TypeSet - to support load balancer insert operation. Also, LB cant by accessed by index)
- override_
policy InstancePool Override Policy Args (Updatable) Optional pool-level launch override policy for future instance launches.
The policy is evaluated only after placement is resolved for a launch. In V1, provide between 1 and 3 availability domain-scoped statements and no more than one statement for the same availability domain.
For a matched availability domain, request order defines the canonical override candidate sequence. Preferred-candidate reuse may try one current option once as a fast path. If that fast path misses, canonical evaluation restarts from option 1. During canonical evaluation, the worker advances to the next option only for
out-of-host-capacity,LimitExceeded, andQuotaExceeded, and only after same-option retries are exhausted. Other failures are terminal for that launch attempt.When used on create, omitting
overridePolicypreserves the existing base-plus-placement behavior. When used on update, omittingoverridePolicyleaves the stored policy unchanged, a non-null value replaces the stored policy, andnullclears it. Read surfaces omitoverridePolicywhen no policy is stored on the 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. To use compute cluster with instance pool, provide a single 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. For a GMC-enabled resource pool, this is the number of GMC resources that should be in the 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
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
- lifecycle
Management Property Map - (Updatable) The lifecycle management options for the instance pool.
- load
Balancers List<Property Map> - The load balancers to attach to the instance pool. (Note: From 6.16.0 loadBalancers field in oci.Core.InstancePool is changed from TypeList to TypeSet - to support load balancer insert operation. Also, LB cant by accessed by index)
- override
Policy Property Map (Updatable) Optional pool-level launch override policy for future instance launches.
The policy is evaluated only after placement is resolved for a launch. In V1, provide between 1 and 3 availability domain-scoped statements and no more than one statement for the same availability domain.
For a matched availability domain, request order defines the canonical override candidate sequence. Preferred-candidate reuse may try one current option once as a fast path. If that fast path misses, canonical evaluation restarts from option 1. During canonical evaluation, the worker advances to the next option only for
out-of-host-capacity,LimitExceeded, andQuotaExceeded, and only after same-option retries are exhausted. Other failures are terminal for that launch attempt.When used on create, omitting
overridePolicypreserves the existing base-plus-placement behavior. When used on update, omittingoverridePolicyleaves the stored policy unchanged, a non-null value replaces the stored policy, andnullclears it. Read surfaces omitoverridePolicywhen no policy is stored on the 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.
- Current
Size int - Count of instance in running state associated to the Instance Pool.
- Id string
- The provider-assigned unique ID for this managed resource.
- Pool
Type string - The type of resources managed by the pool.
- 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.
- Current
Size int - Count of instance in running state associated to the Instance Pool.
- Id string
- The provider-assigned unique ID for this managed resource.
- Pool
Type string - The type of resources managed by the pool.
- 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.
- current_
size number - Count of instance in running state associated to the Instance Pool.
- id string
- The provider-assigned unique ID for this managed resource.
- pool_
type string - The type of resources managed by the pool.
- 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.
- current
Size Integer - Count of instance in running state associated to the Instance Pool.
- id String
- The provider-assigned unique ID for this managed resource.
- pool
Type String - The type of resources managed by the pool.
- 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.
- current
Size number - Count of instance in running state associated to the Instance Pool.
- id string
- The provider-assigned unique ID for this managed resource.
- pool
Type string - The type of resources managed by the pool.
- 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.
- current_
size int - Count of instance in running state associated to the Instance Pool.
- id str
- The provider-assigned unique ID for this managed resource.
- pool_
type str - The type of resources managed by the pool.
- 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.
- current
Size Number - Count of instance in running state associated to the Instance Pool.
- id String
- The provider-assigned unique ID for this managed resource.
- pool
Type String - The type of resources managed by the pool.
- 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,
current_size: Optional[int] = 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,
lifecycle_management: Optional[InstancePoolLifecycleManagementArgs] = None,
load_balancers: Optional[Sequence[InstancePoolLoadBalancerArgs]] = None,
override_policy: Optional[InstancePoolOverridePolicyArgs] = None,
placement_configurations: Optional[Sequence[InstancePoolPlacementConfigurationArgs]] = None,
pool_type: Optional[str] = None,
size: Optional[int] = None,
state: Optional[str] = None,
time_created: Optional[str] = None) -> InstancePoolfunc 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)resources: _: type: oci:Core:InstancePool get: id: ${id}import {
to = oci_core_instance_pool.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- 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.
- Current
Size int - Count of instance in running state associated to 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
- Lifecycle
Management InstancePool Lifecycle Management - (Updatable) The lifecycle management options for the instance pool.
- Load
Balancers List<InstancePool Load Balancer> - The load balancers to attach to the instance pool. (Note: From 6.16.0 loadBalancers field in oci.Core.InstancePool is changed from TypeList to TypeSet - to support load balancer insert operation. Also, LB cant by accessed by index)
- Override
Policy InstancePool Override Policy (Updatable) Optional pool-level launch override policy for future instance launches.
The policy is evaluated only after placement is resolved for a launch. In V1, provide between 1 and 3 availability domain-scoped statements and no more than one statement for the same availability domain.
For a matched availability domain, request order defines the canonical override candidate sequence. Preferred-candidate reuse may try one current option once as a fast path. If that fast path misses, canonical evaluation restarts from option 1. During canonical evaluation, the worker advances to the next option only for
out-of-host-capacity,LimitExceeded, andQuotaExceeded, and only after same-option retries are exhausted. Other failures are terminal for that launch attempt.When used on create, omitting
overridePolicypreserves the existing base-plus-placement behavior. When used on update, omittingoverridePolicyleaves the stored policy unchanged, a non-null value replaces the stored policy, andnullclears it. Read surfaces omitoverridePolicywhen no policy is stored on the 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. To use compute cluster with instance pool, provide a single placement configuration.
- Pool
Type string - The type of resources managed by the pool.
- 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. For a GMC-enabled resource pool, this is the number of GMC resources that should be in the 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
- 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.
- Current
Size int - Count of instance in running state associated to 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
- Lifecycle
Management InstancePool Lifecycle Management Args - (Updatable) The lifecycle management options for the instance pool.
- Load
Balancers []InstancePool Load Balancer Args - The load balancers to attach to the instance pool. (Note: From 6.16.0 loadBalancers field in oci.Core.InstancePool is changed from TypeList to TypeSet - to support load balancer insert operation. Also, LB cant by accessed by index)
- Override
Policy InstancePool Override Policy Args (Updatable) Optional pool-level launch override policy for future instance launches.
The policy is evaluated only after placement is resolved for a launch. In V1, provide between 1 and 3 availability domain-scoped statements and no more than one statement for the same availability domain.
For a matched availability domain, request order defines the canonical override candidate sequence. Preferred-candidate reuse may try one current option once as a fast path. If that fast path misses, canonical evaluation restarts from option 1. During canonical evaluation, the worker advances to the next option only for
out-of-host-capacity,LimitExceeded, andQuotaExceeded, and only after same-option retries are exhausted. Other failures are terminal for that launch attempt.When used on create, omitting
overridePolicypreserves the existing base-plus-placement behavior. When used on update, omittingoverridePolicyleaves the stored policy unchanged, a non-null value replaces the stored policy, andnullclears it. Read surfaces omitoverridePolicywhen no policy is stored on the 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. To use compute cluster with instance pool, provide a single placement configuration.
- Pool
Type string - The type of resources managed by the pool.
- 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. For a GMC-enabled resource pool, this is the number of GMC resources that should be in the 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
- 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.
- current_
size number - Count of instance in running state associated to 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
- lifecycle_
management object - (Updatable) The lifecycle management options for the instance pool.
- load_
balancers list(object) - The load balancers to attach to the instance pool. (Note: From 6.16.0 loadBalancers field in oci.Core.InstancePool is changed from TypeList to TypeSet - to support load balancer insert operation. Also, LB cant by accessed by index)
- override_
policy object (Updatable) Optional pool-level launch override policy for future instance launches.
The policy is evaluated only after placement is resolved for a launch. In V1, provide between 1 and 3 availability domain-scoped statements and no more than one statement for the same availability domain.
For a matched availability domain, request order defines the canonical override candidate sequence. Preferred-candidate reuse may try one current option once as a fast path. If that fast path misses, canonical evaluation restarts from option 1. During canonical evaluation, the worker advances to the next option only for
out-of-host-capacity,LimitExceeded, andQuotaExceeded, and only after same-option retries are exhausted. Other failures are terminal for that launch attempt.When used on create, omitting
overridePolicypreserves the existing base-plus-placement behavior. When used on update, omittingoverridePolicyleaves the stored policy unchanged, a non-null value replaces the stored policy, andnullclears it. Read surfaces omitoverridePolicywhen no policy is stored on the pool.- placement_
configurations list(object) (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. To use compute cluster with instance pool, provide a single placement configuration.
- pool_
type string - The type of resources managed by the pool.
- 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. For a GMC-enabled resource pool, this is the number of GMC resources that should be in the 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
- 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.
- current
Size Integer - Count of instance in running state associated to 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
- lifecycle
Management InstancePool Lifecycle Management - (Updatable) The lifecycle management options for the instance pool.
- load
Balancers List<InstancePool Load Balancer> - The load balancers to attach to the instance pool. (Note: From 6.16.0 loadBalancers field in oci.Core.InstancePool is changed from TypeList to TypeSet - to support load balancer insert operation. Also, LB cant by accessed by index)
- override
Policy InstancePool Override Policy (Updatable) Optional pool-level launch override policy for future instance launches.
The policy is evaluated only after placement is resolved for a launch. In V1, provide between 1 and 3 availability domain-scoped statements and no more than one statement for the same availability domain.
For a matched availability domain, request order defines the canonical override candidate sequence. Preferred-candidate reuse may try one current option once as a fast path. If that fast path misses, canonical evaluation restarts from option 1. During canonical evaluation, the worker advances to the next option only for
out-of-host-capacity,LimitExceeded, andQuotaExceeded, and only after same-option retries are exhausted. Other failures are terminal for that launch attempt.When used on create, omitting
overridePolicypreserves the existing base-plus-placement behavior. When used on update, omittingoverridePolicyleaves the stored policy unchanged, a non-null value replaces the stored policy, andnullclears it. Read surfaces omitoverridePolicywhen no policy is stored on the 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. To use compute cluster with instance pool, provide a single placement configuration.
- pool
Type String - The type of resources managed by the pool.
- 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. For a GMC-enabled resource pool, this is the number of GMC resources that should be in the 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
- 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.
- current
Size number - Count of instance in running state associated to 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
- lifecycle
Management InstancePool Lifecycle Management - (Updatable) The lifecycle management options for the instance pool.
- load
Balancers InstancePool Load Balancer[] - The load balancers to attach to the instance pool. (Note: From 6.16.0 loadBalancers field in oci.Core.InstancePool is changed from TypeList to TypeSet - to support load balancer insert operation. Also, LB cant by accessed by index)
- override
Policy InstancePool Override Policy (Updatable) Optional pool-level launch override policy for future instance launches.
The policy is evaluated only after placement is resolved for a launch. In V1, provide between 1 and 3 availability domain-scoped statements and no more than one statement for the same availability domain.
For a matched availability domain, request order defines the canonical override candidate sequence. Preferred-candidate reuse may try one current option once as a fast path. If that fast path misses, canonical evaluation restarts from option 1. During canonical evaluation, the worker advances to the next option only for
out-of-host-capacity,LimitExceeded, andQuotaExceeded, and only after same-option retries are exhausted. Other failures are terminal for that launch attempt.When used on create, omitting
overridePolicypreserves the existing base-plus-placement behavior. When used on update, omittingoverridePolicyleaves the stored policy unchanged, a non-null value replaces the stored policy, andnullclears it. Read surfaces omitoverridePolicywhen no policy is stored on the 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. To use compute cluster with instance pool, provide a single placement configuration.
- pool
Type string - The type of resources managed by the pool.
- 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. For a GMC-enabled resource pool, this is the number of GMC resources that should be in the 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
- 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.
- current_
size int - Count of instance in running state associated to 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
- lifecycle_
management InstancePool Lifecycle Management Args - (Updatable) The lifecycle management options for the instance pool.
- load_
balancers Sequence[InstancePool Load Balancer Args] - The load balancers to attach to the instance pool. (Note: From 6.16.0 loadBalancers field in oci.Core.InstancePool is changed from TypeList to TypeSet - to support load balancer insert operation. Also, LB cant by accessed by index)
- override_
policy InstancePool Override Policy Args (Updatable) Optional pool-level launch override policy for future instance launches.
The policy is evaluated only after placement is resolved for a launch. In V1, provide between 1 and 3 availability domain-scoped statements and no more than one statement for the same availability domain.
For a matched availability domain, request order defines the canonical override candidate sequence. Preferred-candidate reuse may try one current option once as a fast path. If that fast path misses, canonical evaluation restarts from option 1. During canonical evaluation, the worker advances to the next option only for
out-of-host-capacity,LimitExceeded, andQuotaExceeded, and only after same-option retries are exhausted. Other failures are terminal for that launch attempt.When used on create, omitting
overridePolicypreserves the existing base-plus-placement behavior. When used on update, omittingoverridePolicyleaves the stored policy unchanged, a non-null value replaces the stored policy, andnullclears it. Read surfaces omitoverridePolicywhen no policy is stored on the pool.- placement_
configurations Sequence[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. To use compute cluster with instance pool, provide a single placement configuration.
- pool_
type str - The type of resources managed by the pool.
- 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. For a GMC-enabled resource pool, this is the number of GMC resources that should be in the 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
- 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.
- current
Size Number - Count of instance in running state associated to 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
- lifecycle
Management Property Map - (Updatable) The lifecycle management options for the instance pool.
- load
Balancers List<Property Map> - The load balancers to attach to the instance pool. (Note: From 6.16.0 loadBalancers field in oci.Core.InstancePool is changed from TypeList to TypeSet - to support load balancer insert operation. Also, LB cant by accessed by index)
- override
Policy Property Map (Updatable) Optional pool-level launch override policy for future instance launches.
The policy is evaluated only after placement is resolved for a launch. In V1, provide between 1 and 3 availability domain-scoped statements and no more than one statement for the same availability domain.
For a matched availability domain, request order defines the canonical override candidate sequence. Preferred-candidate reuse may try one current option once as a fast path. If that fast path misses, canonical evaluation restarts from option 1. During canonical evaluation, the worker advances to the next option only for
out-of-host-capacity,LimitExceeded, andQuotaExceeded, and only after same-option retries are exhausted. Other failures are terminal for that launch attempt.When used on create, omitting
overridePolicypreserves the existing base-plus-placement behavior. When used on update, omittingoverridePolicyleaves the stored policy unchanged, a non-null value replaces the stored policy, andnullclears it. Read surfaces omitoverridePolicywhen no policy is stored on the 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. To use compute cluster with instance pool, provide a single placement configuration.
- pool
Type String - The type of resources managed by the pool.
- 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. For a GMC-enabled resource pool, this is the number of GMC resources that should be in the 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
- 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
InstancePoolLifecycleManagement, InstancePoolLifecycleManagementArgs
- Lifecycle
Actions InstancePool Lifecycle Management Lifecycle Actions - (Updatable) The lifecycle actions for the instance pool.
- Lifecycle
Actions InstancePool Lifecycle Management Lifecycle Actions - (Updatable) The lifecycle actions for the instance pool.
- lifecycle_
actions object - (Updatable) The lifecycle actions for the instance pool.
- lifecycle
Actions InstancePool Lifecycle Management Lifecycle Actions - (Updatable) The lifecycle actions for the instance pool.
- lifecycle
Actions InstancePool Lifecycle Management Lifecycle Actions - (Updatable) The lifecycle actions for the instance pool.
- lifecycle_
actions InstancePool Lifecycle Management Lifecycle Actions - (Updatable) The lifecycle actions for the instance pool.
- lifecycle
Actions Property Map - (Updatable) The lifecycle actions for the instance pool.
InstancePoolLifecycleManagementLifecycleActions, InstancePoolLifecycleManagementLifecycleActionsArgs
- Pre
Termination InstancePool Lifecycle Management Lifecycle Actions Pre Termination - (Updatable) The data for pre-termination action for an instance pool
- Pre
Termination InstancePool Lifecycle Management Lifecycle Actions Pre Termination - (Updatable) The data for pre-termination action for an instance pool
- pre_
termination object - (Updatable) The data for pre-termination action for an instance pool
- pre
Termination InstancePool Lifecycle Management Lifecycle Actions Pre Termination - (Updatable) The data for pre-termination action for an instance pool
- pre
Termination InstancePool Lifecycle Management Lifecycle Actions Pre Termination - (Updatable) The data for pre-termination action for an instance pool
- pre_
termination InstancePool Lifecycle Management Lifecycle Actions Pre Termination - (Updatable) The data for pre-termination action for an instance pool
- pre
Termination Property Map - (Updatable) The data for pre-termination action for an instance pool
InstancePoolLifecycleManagementLifecycleActionsPreTermination, InstancePoolLifecycleManagementLifecycleActionsPreTerminationArgs
- Is
Enabled bool - (Updatable) Whether pre-termination action is enabled or not.
- On
Timeout InstancePool Lifecycle Management Lifecycle Actions Pre Termination On Timeout - (Updatable) Options to handle timeout for pre-termination action.
- Timeout int
- (Updatable) The timeout in seconds for pre-termination action for an instance pool(min = 0 sec, max = 7200 secs).
- Is
Enabled bool - (Updatable) Whether pre-termination action is enabled or not.
- On
Timeout InstancePool Lifecycle Management Lifecycle Actions Pre Termination On Timeout - (Updatable) Options to handle timeout for pre-termination action.
- Timeout int
- (Updatable) The timeout in seconds for pre-termination action for an instance pool(min = 0 sec, max = 7200 secs).
- is_
enabled bool - (Updatable) Whether pre-termination action is enabled or not.
- on_
timeout object - (Updatable) Options to handle timeout for pre-termination action.
- timeout number
- (Updatable) The timeout in seconds for pre-termination action for an instance pool(min = 0 sec, max = 7200 secs).
- is
Enabled Boolean - (Updatable) Whether pre-termination action is enabled or not.
- on
Timeout InstancePool Lifecycle Management Lifecycle Actions Pre Termination On Timeout - (Updatable) Options to handle timeout for pre-termination action.
- timeout Integer
- (Updatable) The timeout in seconds for pre-termination action for an instance pool(min = 0 sec, max = 7200 secs).
- is
Enabled boolean - (Updatable) Whether pre-termination action is enabled or not.
- on
Timeout InstancePool Lifecycle Management Lifecycle Actions Pre Termination On Timeout - (Updatable) Options to handle timeout for pre-termination action.
- timeout number
- (Updatable) The timeout in seconds for pre-termination action for an instance pool(min = 0 sec, max = 7200 secs).
- is_
enabled bool - (Updatable) Whether pre-termination action is enabled or not.
- on_
timeout InstancePool Lifecycle Management Lifecycle Actions Pre Termination On Timeout - (Updatable) Options to handle timeout for pre-termination action.
- timeout int
- (Updatable) The timeout in seconds for pre-termination action for an instance pool(min = 0 sec, max = 7200 secs).
- is
Enabled Boolean - (Updatable) Whether pre-termination action is enabled or not.
- on
Timeout Property Map - (Updatable) Options to handle timeout for pre-termination action.
- timeout Number
- (Updatable) The timeout in seconds for pre-termination action for an instance pool(min = 0 sec, max = 7200 secs).
InstancePoolLifecycleManagementLifecycleActionsPreTerminationOnTimeout, InstancePoolLifecycleManagementLifecycleActionsPreTerminationOnTimeoutArgs
- Preserve
Block stringVolume Mode - (Updatable) Whether the block volume should be preserved after termination.
- Preserve
Boot stringVolume Mode - (Updatable) Whether the boot volume should be preserved after termination.
- Preserve
Block stringVolume Mode - (Updatable) Whether the block volume should be preserved after termination.
- Preserve
Boot stringVolume Mode - (Updatable) Whether the boot volume should be preserved after termination.
- preserve_
block_ stringvolume_ mode - (Updatable) Whether the block volume should be preserved after termination.
- preserve_
boot_ stringvolume_ mode - (Updatable) Whether the boot volume should be preserved after termination.
- preserve
Block StringVolume Mode - (Updatable) Whether the block volume should be preserved after termination.
- preserve
Boot StringVolume Mode - (Updatable) Whether the boot volume should be preserved after termination.
- preserve
Block stringVolume Mode - (Updatable) Whether the block volume should be preserved after termination.
- preserve
Boot stringVolume Mode - (Updatable) Whether the boot volume should be preserved after termination.
- preserve_
block_ strvolume_ mode - (Updatable) Whether the block volume should be preserved after termination.
- preserve_
boot_ strvolume_ mode - (Updatable) Whether the boot volume should be preserved after termination.
- preserve
Block StringVolume Mode - (Updatable) Whether the block volume should be preserved after termination.
- preserve
Boot StringVolume Mode - (Updatable) Whether the boot volume should be preserved after termination.
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 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 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
InstancePoolOverridePolicy, InstancePoolOverridePolicyArgs
- Override
Statements List<InstancePool Override Policy Override Statement> - (Updatable) The ordered set of availability domain-scoped override statements for this policy.
- Override
Statements []InstancePool Override Policy Override Statement - (Updatable) The ordered set of availability domain-scoped override statements for this policy.
- override_
statements list(object) - (Updatable) The ordered set of availability domain-scoped override statements for this policy.
- override
Statements List<InstancePool Override Policy Override Statement> - (Updatable) The ordered set of availability domain-scoped override statements for this policy.
- override
Statements InstancePool Override Policy Override Statement[] - (Updatable) The ordered set of availability domain-scoped override statements for this policy.
- override_
statements Sequence[InstancePool Override Policy Override Statement] - (Updatable) The ordered set of availability domain-scoped override statements for this policy.
- override
Statements List<Property Map> - (Updatable) The ordered set of availability domain-scoped override statements for this policy.
InstancePoolOverridePolicyOverrideStatement, InstancePoolOverridePolicyOverrideStatementArgs
- Override
Options List<InstancePool Override Policy Override Statement Override Option> (Updatable) The ordered list of candidate override options for the matched availability domain.
Request order defines the canonical candidate sequence. Override options within the same statement must normalize to distinct override payloads.
- Selector
Instance
Pool Override Policy Override Statement Selector (Updatable) The selector for an override statement.
In V1, the selector contains only the scalar
availabilityDomain. Additional selector fields are rejected.
- Override
Options []InstancePool Override Policy Override Statement Override Option (Updatable) The ordered list of candidate override options for the matched availability domain.
Request order defines the canonical candidate sequence. Override options within the same statement must normalize to distinct override payloads.
- Selector
Instance
Pool Override Policy Override Statement Selector (Updatable) The selector for an override statement.
In V1, the selector contains only the scalar
availabilityDomain. Additional selector fields are rejected.
- override_
options list(object) (Updatable) The ordered list of candidate override options for the matched availability domain.
Request order defines the canonical candidate sequence. Override options within the same statement must normalize to distinct override payloads.
- selector object
(Updatable) The selector for an override statement.
In V1, the selector contains only the scalar
availabilityDomain. Additional selector fields are rejected.
- override
Options List<InstancePool Override Policy Override Statement Override Option> (Updatable) The ordered list of candidate override options for the matched availability domain.
Request order defines the canonical candidate sequence. Override options within the same statement must normalize to distinct override payloads.
- selector
Instance
Pool Override Policy Override Statement Selector (Updatable) The selector for an override statement.
In V1, the selector contains only the scalar
availabilityDomain. Additional selector fields are rejected.
- override
Options InstancePool Override Policy Override Statement Override Option[] (Updatable) The ordered list of candidate override options for the matched availability domain.
Request order defines the canonical candidate sequence. Override options within the same statement must normalize to distinct override payloads.
- selector
Instance
Pool Override Policy Override Statement Selector (Updatable) The selector for an override statement.
In V1, the selector contains only the scalar
availabilityDomain. Additional selector fields are rejected.
- override_
options Sequence[InstancePool Override Policy Override Statement Override Option] (Updatable) The ordered list of candidate override options for the matched availability domain.
Request order defines the canonical candidate sequence. Override options within the same statement must normalize to distinct override payloads.
- selector
Instance
Pool Override Policy Override Statement Selector (Updatable) The selector for an override statement.
In V1, the selector contains only the scalar
availabilityDomain. Additional selector fields are rejected.
- override
Options List<Property Map> (Updatable) The ordered list of candidate override options for the matched availability domain.
Request order defines the canonical candidate sequence. Override options within the same statement must normalize to distinct override payloads.
- selector Property Map
(Updatable) The selector for an override statement.
In V1, the selector contains only the scalar
availabilityDomain. Additional selector fields are rejected.
InstancePoolOverridePolicyOverrideStatementOverrideOption, InstancePoolOverridePolicyOverrideStatementOverrideOptionArgs
- Name string
- (Updatable) A user-friendly name for the override option.
- Override
Instance
Pool Override Policy Override Statement Override Option Override (Updatable) The concrete launch mutation payload for an override option.
In V1, the override payload is limited to
shape,shapeConfigDetails, andcapacityReservationId.Each override option must include at least one of
shapeorcapacityReservationId, so acapacityReservationId-only override is valid.shapeConfigDetailsmay be supplied only whenshapeis supplied. Ifshapeis a Flex or Fungible shape,shapeConfigDetailsis required.Placement-owned and system-owned fields are not supported in this payload. Any field outside this V1 payload shape is rejected.
- Name string
- (Updatable) A user-friendly name for the override option.
- Override
Instance
Pool Override Policy Override Statement Override Option Override (Updatable) The concrete launch mutation payload for an override option.
In V1, the override payload is limited to
shape,shapeConfigDetails, andcapacityReservationId.Each override option must include at least one of
shapeorcapacityReservationId, so acapacityReservationId-only override is valid.shapeConfigDetailsmay be supplied only whenshapeis supplied. Ifshapeis a Flex or Fungible shape,shapeConfigDetailsis required.Placement-owned and system-owned fields are not supported in this payload. Any field outside this V1 payload shape is rejected.
- name string
- (Updatable) A user-friendly name for the override option.
- override object
(Updatable) The concrete launch mutation payload for an override option.
In V1, the override payload is limited to
shape,shapeConfigDetails, andcapacityReservationId.Each override option must include at least one of
shapeorcapacityReservationId, so acapacityReservationId-only override is valid.shapeConfigDetailsmay be supplied only whenshapeis supplied. Ifshapeis a Flex or Fungible shape,shapeConfigDetailsis required.Placement-owned and system-owned fields are not supported in this payload. Any field outside this V1 payload shape is rejected.
- name String
- (Updatable) A user-friendly name for the override option.
- override
Instance
Pool Override Policy Override Statement Override Option Override (Updatable) The concrete launch mutation payload for an override option.
In V1, the override payload is limited to
shape,shapeConfigDetails, andcapacityReservationId.Each override option must include at least one of
shapeorcapacityReservationId, so acapacityReservationId-only override is valid.shapeConfigDetailsmay be supplied only whenshapeis supplied. Ifshapeis a Flex or Fungible shape,shapeConfigDetailsis required.Placement-owned and system-owned fields are not supported in this payload. Any field outside this V1 payload shape is rejected.
- name string
- (Updatable) A user-friendly name for the override option.
- override
Instance
Pool Override Policy Override Statement Override Option Override (Updatable) The concrete launch mutation payload for an override option.
In V1, the override payload is limited to
shape,shapeConfigDetails, andcapacityReservationId.Each override option must include at least one of
shapeorcapacityReservationId, so acapacityReservationId-only override is valid.shapeConfigDetailsmay be supplied only whenshapeis supplied. Ifshapeis a Flex or Fungible shape,shapeConfigDetailsis required.Placement-owned and system-owned fields are not supported in this payload. Any field outside this V1 payload shape is rejected.
- name str
- (Updatable) A user-friendly name for the override option.
- override
Instance
Pool Override Policy Override Statement Override Option Override (Updatable) The concrete launch mutation payload for an override option.
In V1, the override payload is limited to
shape,shapeConfigDetails, andcapacityReservationId.Each override option must include at least one of
shapeorcapacityReservationId, so acapacityReservationId-only override is valid.shapeConfigDetailsmay be supplied only whenshapeis supplied. Ifshapeis a Flex or Fungible shape,shapeConfigDetailsis required.Placement-owned and system-owned fields are not supported in this payload. Any field outside this V1 payload shape is rejected.
- name String
- (Updatable) A user-friendly name for the override option.
- override Property Map
(Updatable) The concrete launch mutation payload for an override option.
In V1, the override payload is limited to
shape,shapeConfigDetails, andcapacityReservationId.Each override option must include at least one of
shapeorcapacityReservationId, so acapacityReservationId-only override is valid.shapeConfigDetailsmay be supplied only whenshapeis supplied. Ifshapeis a Flex or Fungible shape,shapeConfigDetailsis required.Placement-owned and system-owned fields are not supported in this payload. Any field outside this V1 payload shape is rejected.
InstancePoolOverridePolicyOverrideStatementOverrideOptionOverride, InstancePoolOverridePolicyOverrideStatementOverrideOptionOverrideArgs
- Capacity
Reservation stringId - (Updatable) The OCID of the compute capacity reservation to use for the override option.
- Shape string
(Updatable) The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance.
You can enumerate all available shapes by calling ListShapes.
- Shape
Config InstanceDetails Pool Override Policy Override Statement Override Option Override Shape Config Details - (Updatable) The shape configuration requested for the override option.
- Capacity
Reservation stringId - (Updatable) The OCID of the compute capacity reservation to use for the override option.
- Shape string
(Updatable) The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance.
You can enumerate all available shapes by calling ListShapes.
- Shape
Config InstanceDetails Pool Override Policy Override Statement Override Option Override Shape Config Details - (Updatable) The shape configuration requested for the override option.
- capacity_
reservation_ stringid - (Updatable) The OCID of the compute capacity reservation to use for the override option.
- shape string
(Updatable) The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance.
You can enumerate all available shapes by calling ListShapes.
- shape_
config_ objectdetails - (Updatable) The shape configuration requested for the override option.
- capacity
Reservation StringId - (Updatable) The OCID of the compute capacity reservation to use for the override option.
- shape String
(Updatable) The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance.
You can enumerate all available shapes by calling ListShapes.
- shape
Config InstanceDetails Pool Override Policy Override Statement Override Option Override Shape Config Details - (Updatable) The shape configuration requested for the override option.
- capacity
Reservation stringId - (Updatable) The OCID of the compute capacity reservation to use for the override option.
- shape string
(Updatable) The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance.
You can enumerate all available shapes by calling ListShapes.
- shape
Config InstanceDetails Pool Override Policy Override Statement Override Option Override Shape Config Details - (Updatable) The shape configuration requested for the override option.
- capacity_
reservation_ strid - (Updatable) The OCID of the compute capacity reservation to use for the override option.
- shape str
(Updatable) The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance.
You can enumerate all available shapes by calling ListShapes.
- shape_
config_ Instancedetails Pool Override Policy Override Statement Override Option Override Shape Config Details - (Updatable) The shape configuration requested for the override option.
- capacity
Reservation StringId - (Updatable) The OCID of the compute capacity reservation to use for the override option.
- shape String
(Updatable) The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance.
You can enumerate all available shapes by calling ListShapes.
- shape
Config Property MapDetails - (Updatable) The shape configuration requested for the override option.
InstancePoolOverridePolicyOverrideStatementOverrideOptionOverrideShapeConfigDetails, InstancePoolOverridePolicyOverrideStatementOverrideOptionOverrideShapeConfigDetailsArgs
- Baseline
Ocpu stringUtilization (Updatable) The baseline OCPU utilization for a subcore burstable VM instance. Leave this attribute blank for a non-burstable instance, or explicitly specify non-burstable with
BASELINE_1_1.The following values are supported:
BASELINE_1_8- baseline usage is 1/8 of an OCPU.BASELINE_1_2- baseline usage is 1/2 of an OCPU.BASELINE_1_1- baseline usage is an entire OCPU. This represents a non-burstable instance.
- Local
Volume intSize In Gbs - (Updatable) The NVMe-backed local storage capacity, in GB, for flexible dense (DenseLV) VM shapes. If the selected shape is DenseLV, the value must be greater than 0. For all other shapes, the value must be null (if specified); any non-null value for a non-DenseLV shape results in an error.
- Memory
In doubleGbs - (Updatable) The total amount of memory available to the instance, in gigabytes.
- Nvmes int
- (Updatable) The number of NVMe drives to be used for storage. A single drive has 6.8 TB available.
- Ocpus double
- (Updatable) The total number of OCPUs available to the instance.
- Resource
Management string - (Updatable) This field is reserved for internal use.
- Vcpus int
- (Updatable) The total number of VCPUs available to the instance. This can be used instead of OCPUs, in which case the actual number of OCPUs will be calculated based on this value and the actual hardware. This must be a multiple of 2.
- Baseline
Ocpu stringUtilization (Updatable) The baseline OCPU utilization for a subcore burstable VM instance. Leave this attribute blank for a non-burstable instance, or explicitly specify non-burstable with
BASELINE_1_1.The following values are supported:
BASELINE_1_8- baseline usage is 1/8 of an OCPU.BASELINE_1_2- baseline usage is 1/2 of an OCPU.BASELINE_1_1- baseline usage is an entire OCPU. This represents a non-burstable instance.
- Local
Volume intSize In Gbs - (Updatable) The NVMe-backed local storage capacity, in GB, for flexible dense (DenseLV) VM shapes. If the selected shape is DenseLV, the value must be greater than 0. For all other shapes, the value must be null (if specified); any non-null value for a non-DenseLV shape results in an error.
- Memory
In float64Gbs - (Updatable) The total amount of memory available to the instance, in gigabytes.
- Nvmes int
- (Updatable) The number of NVMe drives to be used for storage. A single drive has 6.8 TB available.
- Ocpus float64
- (Updatable) The total number of OCPUs available to the instance.
- Resource
Management string - (Updatable) This field is reserved for internal use.
- Vcpus int
- (Updatable) The total number of VCPUs available to the instance. This can be used instead of OCPUs, in which case the actual number of OCPUs will be calculated based on this value and the actual hardware. This must be a multiple of 2.
- baseline_
ocpu_ stringutilization (Updatable) The baseline OCPU utilization for a subcore burstable VM instance. Leave this attribute blank for a non-burstable instance, or explicitly specify non-burstable with
BASELINE_1_1.The following values are supported:
BASELINE_1_8- baseline usage is 1/8 of an OCPU.BASELINE_1_2- baseline usage is 1/2 of an OCPU.BASELINE_1_1- baseline usage is an entire OCPU. This represents a non-burstable instance.
- local_
volume_ numbersize_ in_ gbs - (Updatable) The NVMe-backed local storage capacity, in GB, for flexible dense (DenseLV) VM shapes. If the selected shape is DenseLV, the value must be greater than 0. For all other shapes, the value must be null (if specified); any non-null value for a non-DenseLV shape results in an error.
- memory_
in_ numbergbs - (Updatable) The total amount of memory available to the instance, in gigabytes.
- nvmes number
- (Updatable) The number of NVMe drives to be used for storage. A single drive has 6.8 TB available.
- ocpus number
- (Updatable) The total number of OCPUs available to the instance.
- resource_
management string - (Updatable) This field is reserved for internal use.
- vcpus number
- (Updatable) The total number of VCPUs available to the instance. This can be used instead of OCPUs, in which case the actual number of OCPUs will be calculated based on this value and the actual hardware. This must be a multiple of 2.
- baseline
Ocpu StringUtilization (Updatable) The baseline OCPU utilization for a subcore burstable VM instance. Leave this attribute blank for a non-burstable instance, or explicitly specify non-burstable with
BASELINE_1_1.The following values are supported:
BASELINE_1_8- baseline usage is 1/8 of an OCPU.BASELINE_1_2- baseline usage is 1/2 of an OCPU.BASELINE_1_1- baseline usage is an entire OCPU. This represents a non-burstable instance.
- local
Volume IntegerSize In Gbs - (Updatable) The NVMe-backed local storage capacity, in GB, for flexible dense (DenseLV) VM shapes. If the selected shape is DenseLV, the value must be greater than 0. For all other shapes, the value must be null (if specified); any non-null value for a non-DenseLV shape results in an error.
- memory
In DoubleGbs - (Updatable) The total amount of memory available to the instance, in gigabytes.
- nvmes Integer
- (Updatable) The number of NVMe drives to be used for storage. A single drive has 6.8 TB available.
- ocpus Double
- (Updatable) The total number of OCPUs available to the instance.
- resource
Management String - (Updatable) This field is reserved for internal use.
- vcpus Integer
- (Updatable) The total number of VCPUs available to the instance. This can be used instead of OCPUs, in which case the actual number of OCPUs will be calculated based on this value and the actual hardware. This must be a multiple of 2.
- baseline
Ocpu stringUtilization (Updatable) The baseline OCPU utilization for a subcore burstable VM instance. Leave this attribute blank for a non-burstable instance, or explicitly specify non-burstable with
BASELINE_1_1.The following values are supported:
BASELINE_1_8- baseline usage is 1/8 of an OCPU.BASELINE_1_2- baseline usage is 1/2 of an OCPU.BASELINE_1_1- baseline usage is an entire OCPU. This represents a non-burstable instance.
- local
Volume numberSize In Gbs - (Updatable) The NVMe-backed local storage capacity, in GB, for flexible dense (DenseLV) VM shapes. If the selected shape is DenseLV, the value must be greater than 0. For all other shapes, the value must be null (if specified); any non-null value for a non-DenseLV shape results in an error.
- memory
In numberGbs - (Updatable) The total amount of memory available to the instance, in gigabytes.
- nvmes number
- (Updatable) The number of NVMe drives to be used for storage. A single drive has 6.8 TB available.
- ocpus number
- (Updatable) The total number of OCPUs available to the instance.
- resource
Management string - (Updatable) This field is reserved for internal use.
- vcpus number
- (Updatable) The total number of VCPUs available to the instance. This can be used instead of OCPUs, in which case the actual number of OCPUs will be calculated based on this value and the actual hardware. This must be a multiple of 2.
- baseline_
ocpu_ strutilization (Updatable) The baseline OCPU utilization for a subcore burstable VM instance. Leave this attribute blank for a non-burstable instance, or explicitly specify non-burstable with
BASELINE_1_1.The following values are supported:
BASELINE_1_8- baseline usage is 1/8 of an OCPU.BASELINE_1_2- baseline usage is 1/2 of an OCPU.BASELINE_1_1- baseline usage is an entire OCPU. This represents a non-burstable instance.
- local_
volume_ intsize_ in_ gbs - (Updatable) The NVMe-backed local storage capacity, in GB, for flexible dense (DenseLV) VM shapes. If the selected shape is DenseLV, the value must be greater than 0. For all other shapes, the value must be null (if specified); any non-null value for a non-DenseLV shape results in an error.
- memory_
in_ floatgbs - (Updatable) The total amount of memory available to the instance, in gigabytes.
- nvmes int
- (Updatable) The number of NVMe drives to be used for storage. A single drive has 6.8 TB available.
- ocpus float
- (Updatable) The total number of OCPUs available to the instance.
- resource_
management str - (Updatable) This field is reserved for internal use.
- vcpus int
- (Updatable) The total number of VCPUs available to the instance. This can be used instead of OCPUs, in which case the actual number of OCPUs will be calculated based on this value and the actual hardware. This must be a multiple of 2.
- baseline
Ocpu StringUtilization (Updatable) The baseline OCPU utilization for a subcore burstable VM instance. Leave this attribute blank for a non-burstable instance, or explicitly specify non-burstable with
BASELINE_1_1.The following values are supported:
BASELINE_1_8- baseline usage is 1/8 of an OCPU.BASELINE_1_2- baseline usage is 1/2 of an OCPU.BASELINE_1_1- baseline usage is an entire OCPU. This represents a non-burstable instance.
- local
Volume NumberSize In Gbs - (Updatable) The NVMe-backed local storage capacity, in GB, for flexible dense (DenseLV) VM shapes. If the selected shape is DenseLV, the value must be greater than 0. For all other shapes, the value must be null (if specified); any non-null value for a non-DenseLV shape results in an error.
- memory
In NumberGbs - (Updatable) The total amount of memory available to the instance, in gigabytes.
- nvmes Number
- (Updatable) The number of NVMe drives to be used for storage. A single drive has 6.8 TB available.
- ocpus Number
- (Updatable) The total number of OCPUs available to the instance.
- resource
Management String - (Updatable) This field is reserved for internal use.
- vcpus Number
- (Updatable) The total number of VCPUs available to the instance. This can be used instead of OCPUs, in which case the actual number of OCPUs will be calculated based on this value and the actual hardware. This must be a multiple of 2.
InstancePoolOverridePolicyOverrideStatementSelector, InstancePoolOverridePolicyOverrideStatementSelectorArgs
- Availability
Domain string (Updatable) The availability domain that this statement applies to.
The value must match an availability domain present in the pool's
placementConfigurations.
- Availability
Domain string (Updatable) The availability domain that this statement applies to.
The value must match an availability domain present in the pool's
placementConfigurations.
- availability_
domain string (Updatable) The availability domain that this statement applies to.
The value must match an availability domain present in the pool's
placementConfigurations.
- availability
Domain String (Updatable) The availability domain that this statement applies to.
The value must match an availability domain present in the pool's
placementConfigurations.
- availability
Domain string (Updatable) The availability domain that this statement applies to.
The value must match an availability domain present in the pool's
placementConfigurations.
- availability_
domain str (Updatable) The availability domain that this statement applies to.
The value must match an availability domain present in the pool's
placementConfigurations.
- availability
Domain String (Updatable) The availability domain that this statement applies to.
The value must match an availability domain present in the pool's
placementConfigurations.
InstancePoolPlacementConfiguration, InstancePoolPlacementConfigurationArgs
- Availability
Domain string - (Updatable) The availability domain to place instances. Example:
Uocm:PHX-AD-1 - Compute
Cluster stringId The OCID of the compute cluster that the instance will be created in.
Make sure the compute cluster belongs to the same availability domain as specified in placement configuration otherwise the request will be rejected with 400. Once this field is set, it cannot be updated. Also any update to the availability domain in placement configuration will be blocked.
- 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
primaryVnicSubnetsinstead 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 - Compute
Cluster stringId The OCID of the compute cluster that the instance will be created in.
Make sure the compute cluster belongs to the same availability domain as specified in placement configuration otherwise the request will be rejected with 400. Once this field is set, it cannot be updated. Also any update to the availability domain in placement configuration will be blocked.
- 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
primaryVnicSubnetsinstead 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 - compute_
cluster_ stringid The OCID of the compute cluster that the instance will be created in.
Make sure the compute cluster belongs to the same availability domain as specified in placement configuration otherwise the request will be rejected with 400. Once this field is set, it cannot be updated. Also any update to the availability domain in placement configuration will be blocked.
- 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
primaryVnicSubnetsinstead to set VNIC data for instances in the pool. - primary_
vnic_ objectsubnets - (Updatable) Details about the IPv6 primary subnet.
- secondary_
vnic_ list(object)subnets - (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 - compute
Cluster StringId The OCID of the compute cluster that the instance will be created in.
Make sure the compute cluster belongs to the same availability domain as specified in placement configuration otherwise the request will be rejected with 400. Once this field is set, it cannot be updated. Also any update to the availability domain in placement configuration will be blocked.
- 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
primaryVnicSubnetsinstead 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 - compute
Cluster stringId The OCID of the compute cluster that the instance will be created in.
Make sure the compute cluster belongs to the same availability domain as specified in placement configuration otherwise the request will be rejected with 400. Once this field is set, it cannot be updated. Also any update to the availability domain in placement configuration will be blocked.
- 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
primaryVnicSubnetsinstead 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 - compute_
cluster_ strid The OCID of the compute cluster that the instance will be created in.
Make sure the compute cluster belongs to the same availability domain as specified in placement configuration otherwise the request will be rejected with 400. Once this field is set, it cannot be updated. Also any update to the availability domain in placement configuration will be blocked.
- 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
primaryVnicSubnetsinstead 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_ Sequence[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 - compute
Cluster StringId The OCID of the compute cluster that the instance will be created in.
Make sure the compute cluster belongs to the same availability domain as specified in placement configuration otherwise the request will be rejected with 400. Once this field is set, it cannot be updated. Also any update to the availability domain in placement configuration will be blocked.
- 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
primaryVnicSubnetsinstead 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. Ifipv6SubnetCidris 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. Ifipv6SubnetCidris not provided then an IPv6 prefix is chosen for you.
- subnet_
id string - (Updatable) The subnet OCID for the secondary VNIC.
- ipv6address_
ipv6subnet_ list(object)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_ 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. Ifipv6SubnetCidris 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. Ifipv6SubnetCidris 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. Ifipv6SubnetCidris not provided then an IPv6 prefix is chosen for you.
- subnet_
id str - (Updatable) The subnet OCID for the secondary VNIC.
- ipv6address_
ipv6subnet_ Sequence[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. Ifipv6SubnetCidris 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. Ifipv6SubnetCidris 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 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. Ifipv6SubnetCidris 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. Ifipv6SubnetCidris 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(object)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_ 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. Ifipv6SubnetCidris 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. Ifipv6SubnetCidris 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. Ifipv6SubnetCidris 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[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. Ifipv6SubnetCidris 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. Ifipv6SubnetCidris 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 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
ociTerraform Provider.
published on Thursday, Nov 12, 2026 by Pulumi