oci.ContainerEngine.VirtualNodePool
Explore with Pulumi AI
This resource provides the Virtual Node Pool resource in Oracle Cloud Infrastructure Container Engine service.
Create a new virtual node pool.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testVirtualNodePool = new oci.containerengine.VirtualNodePool("test_virtual_node_pool", {
clusterId: testCluster.id,
compartmentId: compartmentId,
displayName: virtualNodePoolDisplayName,
placementConfigurations: [{
availabilityDomain: virtualNodePoolPlacementConfigurationsAvailabilityDomain,
faultDomains: virtualNodePoolPlacementConfigurationsFaultDomain,
subnetId: testSubnet.id,
}],
definedTags: {
"Operations.CostCenter": "42",
},
freeformTags: {
Department: "Finance",
},
initialVirtualNodeLabels: [{
key: virtualNodePoolInitialVirtualNodeLabelsKey,
value: virtualNodePoolInitialVirtualNodeLabelsValue,
}],
nsgIds: virtualNodePoolNsgIds,
podConfiguration: {
shape: virtualNodePoolPodConfigurationShape,
subnetId: testSubnet.id,
nsgIds: virtualNodePoolPodConfigurationNsgIds,
},
size: virtualNodePoolSize,
taints: [{
effect: virtualNodePoolTaintsEffect,
key: virtualNodePoolTaintsKey,
value: virtualNodePoolTaintsValue,
}],
virtualNodeTags: {
definedTags: {
"Operations.CostCenter": "42",
},
freeformTags: {
Department: "Finance",
},
},
});
import pulumi
import pulumi_oci as oci
test_virtual_node_pool = oci.container_engine.VirtualNodePool("test_virtual_node_pool",
cluster_id=test_cluster["id"],
compartment_id=compartment_id,
display_name=virtual_node_pool_display_name,
placement_configurations=[oci.container_engine.VirtualNodePoolPlacementConfigurationArgs(
availability_domain=virtual_node_pool_placement_configurations_availability_domain,
fault_domains=virtual_node_pool_placement_configurations_fault_domain,
subnet_id=test_subnet["id"],
)],
defined_tags={
"Operations.CostCenter": "42",
},
freeform_tags={
"Department": "Finance",
},
initial_virtual_node_labels=[oci.container_engine.VirtualNodePoolInitialVirtualNodeLabelArgs(
key=virtual_node_pool_initial_virtual_node_labels_key,
value=virtual_node_pool_initial_virtual_node_labels_value,
)],
nsg_ids=virtual_node_pool_nsg_ids,
pod_configuration=oci.container_engine.VirtualNodePoolPodConfigurationArgs(
shape=virtual_node_pool_pod_configuration_shape,
subnet_id=test_subnet["id"],
nsg_ids=virtual_node_pool_pod_configuration_nsg_ids,
),
size=virtual_node_pool_size,
taints=[oci.container_engine.VirtualNodePoolTaintArgs(
effect=virtual_node_pool_taints_effect,
key=virtual_node_pool_taints_key,
value=virtual_node_pool_taints_value,
)],
virtual_node_tags=oci.container_engine.VirtualNodePoolVirtualNodeTagsArgs(
defined_tags={
"Operations.CostCenter": "42",
},
freeform_tags={
"Department": "Finance",
},
))
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/ContainerEngine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ContainerEngine.NewVirtualNodePool(ctx, "test_virtual_node_pool", &ContainerEngine.VirtualNodePoolArgs{
ClusterId: pulumi.Any(testCluster.Id),
CompartmentId: pulumi.Any(compartmentId),
DisplayName: pulumi.Any(virtualNodePoolDisplayName),
PlacementConfigurations: containerengine.VirtualNodePoolPlacementConfigurationArray{
&containerengine.VirtualNodePoolPlacementConfigurationArgs{
AvailabilityDomain: pulumi.Any(virtualNodePoolPlacementConfigurationsAvailabilityDomain),
FaultDomains: pulumi.Any(virtualNodePoolPlacementConfigurationsFaultDomain),
SubnetId: pulumi.Any(testSubnet.Id),
},
},
DefinedTags: pulumi.Map{
"Operations.CostCenter": pulumi.Any("42"),
},
FreeformTags: pulumi.Map{
"Department": pulumi.Any("Finance"),
},
InitialVirtualNodeLabels: containerengine.VirtualNodePoolInitialVirtualNodeLabelArray{
&containerengine.VirtualNodePoolInitialVirtualNodeLabelArgs{
Key: pulumi.Any(virtualNodePoolInitialVirtualNodeLabelsKey),
Value: pulumi.Any(virtualNodePoolInitialVirtualNodeLabelsValue),
},
},
NsgIds: pulumi.Any(virtualNodePoolNsgIds),
PodConfiguration: &containerengine.VirtualNodePoolPodConfigurationArgs{
Shape: pulumi.Any(virtualNodePoolPodConfigurationShape),
SubnetId: pulumi.Any(testSubnet.Id),
NsgIds: pulumi.Any(virtualNodePoolPodConfigurationNsgIds),
},
Size: pulumi.Any(virtualNodePoolSize),
Taints: containerengine.VirtualNodePoolTaintArray{
&containerengine.VirtualNodePoolTaintArgs{
Effect: pulumi.Any(virtualNodePoolTaintsEffect),
Key: pulumi.Any(virtualNodePoolTaintsKey),
Value: pulumi.Any(virtualNodePoolTaintsValue),
},
},
VirtualNodeTags: &containerengine.VirtualNodePoolVirtualNodeTagsArgs{
DefinedTags: pulumi.Map{
"Operations.CostCenter": pulumi.Any("42"),
},
FreeformTags: pulumi.Map{
"Department": pulumi.Any("Finance"),
},
},
})
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 testVirtualNodePool = new Oci.ContainerEngine.VirtualNodePool("test_virtual_node_pool", new()
{
ClusterId = testCluster.Id,
CompartmentId = compartmentId,
DisplayName = virtualNodePoolDisplayName,
PlacementConfigurations = new[]
{
new Oci.ContainerEngine.Inputs.VirtualNodePoolPlacementConfigurationArgs
{
AvailabilityDomain = virtualNodePoolPlacementConfigurationsAvailabilityDomain,
FaultDomains = virtualNodePoolPlacementConfigurationsFaultDomain,
SubnetId = testSubnet.Id,
},
},
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
FreeformTags =
{
{ "Department", "Finance" },
},
InitialVirtualNodeLabels = new[]
{
new Oci.ContainerEngine.Inputs.VirtualNodePoolInitialVirtualNodeLabelArgs
{
Key = virtualNodePoolInitialVirtualNodeLabelsKey,
Value = virtualNodePoolInitialVirtualNodeLabelsValue,
},
},
NsgIds = virtualNodePoolNsgIds,
PodConfiguration = new Oci.ContainerEngine.Inputs.VirtualNodePoolPodConfigurationArgs
{
Shape = virtualNodePoolPodConfigurationShape,
SubnetId = testSubnet.Id,
NsgIds = virtualNodePoolPodConfigurationNsgIds,
},
Size = virtualNodePoolSize,
Taints = new[]
{
new Oci.ContainerEngine.Inputs.VirtualNodePoolTaintArgs
{
Effect = virtualNodePoolTaintsEffect,
Key = virtualNodePoolTaintsKey,
Value = virtualNodePoolTaintsValue,
},
},
VirtualNodeTags = new Oci.ContainerEngine.Inputs.VirtualNodePoolVirtualNodeTagsArgs
{
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
FreeformTags =
{
{ "Department", "Finance" },
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.ContainerEngine.VirtualNodePool;
import com.pulumi.oci.ContainerEngine.VirtualNodePoolArgs;
import com.pulumi.oci.ContainerEngine.inputs.VirtualNodePoolPlacementConfigurationArgs;
import com.pulumi.oci.ContainerEngine.inputs.VirtualNodePoolInitialVirtualNodeLabelArgs;
import com.pulumi.oci.ContainerEngine.inputs.VirtualNodePoolPodConfigurationArgs;
import com.pulumi.oci.ContainerEngine.inputs.VirtualNodePoolTaintArgs;
import com.pulumi.oci.ContainerEngine.inputs.VirtualNodePoolVirtualNodeTagsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testVirtualNodePool = new VirtualNodePool("testVirtualNodePool", VirtualNodePoolArgs.builder()
.clusterId(testCluster.id())
.compartmentId(compartmentId)
.displayName(virtualNodePoolDisplayName)
.placementConfigurations(VirtualNodePoolPlacementConfigurationArgs.builder()
.availabilityDomain(virtualNodePoolPlacementConfigurationsAvailabilityDomain)
.faultDomains(virtualNodePoolPlacementConfigurationsFaultDomain)
.subnetId(testSubnet.id())
.build())
.definedTags(Map.of("Operations.CostCenter", "42"))
.freeformTags(Map.of("Department", "Finance"))
.initialVirtualNodeLabels(VirtualNodePoolInitialVirtualNodeLabelArgs.builder()
.key(virtualNodePoolInitialVirtualNodeLabelsKey)
.value(virtualNodePoolInitialVirtualNodeLabelsValue)
.build())
.nsgIds(virtualNodePoolNsgIds)
.podConfiguration(VirtualNodePoolPodConfigurationArgs.builder()
.shape(virtualNodePoolPodConfigurationShape)
.subnetId(testSubnet.id())
.nsgIds(virtualNodePoolPodConfigurationNsgIds)
.build())
.size(virtualNodePoolSize)
.taints(VirtualNodePoolTaintArgs.builder()
.effect(virtualNodePoolTaintsEffect)
.key(virtualNodePoolTaintsKey)
.value(virtualNodePoolTaintsValue)
.build())
.virtualNodeTags(VirtualNodePoolVirtualNodeTagsArgs.builder()
.definedTags(Map.of("Operations.CostCenter", "42"))
.freeformTags(Map.of("Department", "Finance"))
.build())
.build());
}
}
resources:
testVirtualNodePool:
type: oci:ContainerEngine:VirtualNodePool
name: test_virtual_node_pool
properties:
clusterId: ${testCluster.id}
compartmentId: ${compartmentId}
displayName: ${virtualNodePoolDisplayName}
placementConfigurations:
- availabilityDomain: ${virtualNodePoolPlacementConfigurationsAvailabilityDomain}
faultDomains: ${virtualNodePoolPlacementConfigurationsFaultDomain}
subnetId: ${testSubnet.id}
definedTags:
Operations.CostCenter: '42'
freeformTags:
Department: Finance
initialVirtualNodeLabels:
- key: ${virtualNodePoolInitialVirtualNodeLabelsKey}
value: ${virtualNodePoolInitialVirtualNodeLabelsValue}
nsgIds: ${virtualNodePoolNsgIds}
podConfiguration:
shape: ${virtualNodePoolPodConfigurationShape}
subnetId: ${testSubnet.id}
nsgIds: ${virtualNodePoolPodConfigurationNsgIds}
size: ${virtualNodePoolSize}
taints:
- effect: ${virtualNodePoolTaintsEffect}
key: ${virtualNodePoolTaintsKey}
value: ${virtualNodePoolTaintsValue}
virtualNodeTags:
definedTags:
Operations.CostCenter: '42'
freeformTags:
Department: Finance
Create VirtualNodePool Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VirtualNodePool(name: string, args: VirtualNodePoolArgs, opts?: CustomResourceOptions);
@overload
def VirtualNodePool(resource_name: str,
args: VirtualNodePoolArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VirtualNodePool(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_id: Optional[str] = None,
compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
placement_configurations: Optional[Sequence[_containerengine.VirtualNodePoolPlacementConfigurationArgs]] = None,
pod_configuration: Optional[_containerengine.VirtualNodePoolPodConfigurationArgs] = None,
size: Optional[int] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
initial_virtual_node_labels: Optional[Sequence[_containerengine.VirtualNodePoolInitialVirtualNodeLabelArgs]] = None,
nsg_ids: Optional[Sequence[str]] = None,
taints: Optional[Sequence[_containerengine.VirtualNodePoolTaintArgs]] = None,
virtual_node_tags: Optional[_containerengine.VirtualNodePoolVirtualNodeTagsArgs] = None)
func NewVirtualNodePool(ctx *Context, name string, args VirtualNodePoolArgs, opts ...ResourceOption) (*VirtualNodePool, error)
public VirtualNodePool(string name, VirtualNodePoolArgs args, CustomResourceOptions? opts = null)
public VirtualNodePool(String name, VirtualNodePoolArgs args)
public VirtualNodePool(String name, VirtualNodePoolArgs args, CustomResourceOptions options)
type: oci:ContainerEngine:VirtualNodePool
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args VirtualNodePoolArgs
- 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 VirtualNodePoolArgs
- 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 VirtualNodePoolArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VirtualNodePoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VirtualNodePoolArgs
- 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 virtualNodePoolResource = new Oci.ContainerEngine.VirtualNodePool("virtualNodePoolResource", new()
{
ClusterId = "string",
CompartmentId = "string",
DisplayName = "string",
PlacementConfigurations = new[]
{
new Oci.ContainerEngine.Inputs.VirtualNodePoolPlacementConfigurationArgs
{
AvailabilityDomain = "string",
FaultDomains = new[]
{
"string",
},
SubnetId = "string",
},
},
PodConfiguration = new Oci.ContainerEngine.Inputs.VirtualNodePoolPodConfigurationArgs
{
Shape = "string",
SubnetId = "string",
NsgIds = new[]
{
"string",
},
},
Size = 0,
DefinedTags =
{
{ "string", "any" },
},
FreeformTags =
{
{ "string", "any" },
},
InitialVirtualNodeLabels = new[]
{
new Oci.ContainerEngine.Inputs.VirtualNodePoolInitialVirtualNodeLabelArgs
{
Key = "string",
Value = "string",
},
},
NsgIds = new[]
{
"string",
},
Taints = new[]
{
new Oci.ContainerEngine.Inputs.VirtualNodePoolTaintArgs
{
Effect = "string",
Key = "string",
Value = "string",
},
},
VirtualNodeTags = new Oci.ContainerEngine.Inputs.VirtualNodePoolVirtualNodeTagsArgs
{
DefinedTags =
{
{ "string", "any" },
},
FreeformTags =
{
{ "string", "any" },
},
},
});
example, err := ContainerEngine.NewVirtualNodePool(ctx, "virtualNodePoolResource", &ContainerEngine.VirtualNodePoolArgs{
ClusterId: pulumi.String("string"),
CompartmentId: pulumi.String("string"),
DisplayName: pulumi.String("string"),
PlacementConfigurations: containerengine.VirtualNodePoolPlacementConfigurationArray{
&containerengine.VirtualNodePoolPlacementConfigurationArgs{
AvailabilityDomain: pulumi.String("string"),
FaultDomains: pulumi.StringArray{
pulumi.String("string"),
},
SubnetId: pulumi.String("string"),
},
},
PodConfiguration: &containerengine.VirtualNodePoolPodConfigurationArgs{
Shape: pulumi.String("string"),
SubnetId: pulumi.String("string"),
NsgIds: pulumi.StringArray{
pulumi.String("string"),
},
},
Size: pulumi.Int(0),
DefinedTags: pulumi.Map{
"string": pulumi.Any("any"),
},
FreeformTags: pulumi.Map{
"string": pulumi.Any("any"),
},
InitialVirtualNodeLabels: containerengine.VirtualNodePoolInitialVirtualNodeLabelArray{
&containerengine.VirtualNodePoolInitialVirtualNodeLabelArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
NsgIds: pulumi.StringArray{
pulumi.String("string"),
},
Taints: containerengine.VirtualNodePoolTaintArray{
&containerengine.VirtualNodePoolTaintArgs{
Effect: pulumi.String("string"),
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
VirtualNodeTags: &containerengine.VirtualNodePoolVirtualNodeTagsArgs{
DefinedTags: pulumi.Map{
"string": pulumi.Any("any"),
},
FreeformTags: pulumi.Map{
"string": pulumi.Any("any"),
},
},
})
var virtualNodePoolResource = new VirtualNodePool("virtualNodePoolResource", VirtualNodePoolArgs.builder()
.clusterId("string")
.compartmentId("string")
.displayName("string")
.placementConfigurations(VirtualNodePoolPlacementConfigurationArgs.builder()
.availabilityDomain("string")
.faultDomains("string")
.subnetId("string")
.build())
.podConfiguration(VirtualNodePoolPodConfigurationArgs.builder()
.shape("string")
.subnetId("string")
.nsgIds("string")
.build())
.size(0)
.definedTags(Map.of("string", "any"))
.freeformTags(Map.of("string", "any"))
.initialVirtualNodeLabels(VirtualNodePoolInitialVirtualNodeLabelArgs.builder()
.key("string")
.value("string")
.build())
.nsgIds("string")
.taints(VirtualNodePoolTaintArgs.builder()
.effect("string")
.key("string")
.value("string")
.build())
.virtualNodeTags(VirtualNodePoolVirtualNodeTagsArgs.builder()
.definedTags(Map.of("string", "any"))
.freeformTags(Map.of("string", "any"))
.build())
.build());
virtual_node_pool_resource = oci.container_engine.VirtualNodePool("virtualNodePoolResource",
cluster_id="string",
compartment_id="string",
display_name="string",
placement_configurations=[oci.container_engine.VirtualNodePoolPlacementConfigurationArgs(
availability_domain="string",
fault_domains=["string"],
subnet_id="string",
)],
pod_configuration=oci.container_engine.VirtualNodePoolPodConfigurationArgs(
shape="string",
subnet_id="string",
nsg_ids=["string"],
),
size=0,
defined_tags={
"string": "any",
},
freeform_tags={
"string": "any",
},
initial_virtual_node_labels=[oci.container_engine.VirtualNodePoolInitialVirtualNodeLabelArgs(
key="string",
value="string",
)],
nsg_ids=["string"],
taints=[oci.container_engine.VirtualNodePoolTaintArgs(
effect="string",
key="string",
value="string",
)],
virtual_node_tags=oci.container_engine.VirtualNodePoolVirtualNodeTagsArgs(
defined_tags={
"string": "any",
},
freeform_tags={
"string": "any",
},
))
const virtualNodePoolResource = new oci.containerengine.VirtualNodePool("virtualNodePoolResource", {
clusterId: "string",
compartmentId: "string",
displayName: "string",
placementConfigurations: [{
availabilityDomain: "string",
faultDomains: ["string"],
subnetId: "string",
}],
podConfiguration: {
shape: "string",
subnetId: "string",
nsgIds: ["string"],
},
size: 0,
definedTags: {
string: "any",
},
freeformTags: {
string: "any",
},
initialVirtualNodeLabels: [{
key: "string",
value: "string",
}],
nsgIds: ["string"],
taints: [{
effect: "string",
key: "string",
value: "string",
}],
virtualNodeTags: {
definedTags: {
string: "any",
},
freeformTags: {
string: "any",
},
},
});
type: oci:ContainerEngine:VirtualNodePool
properties:
clusterId: string
compartmentId: string
definedTags:
string: any
displayName: string
freeformTags:
string: any
initialVirtualNodeLabels:
- key: string
value: string
nsgIds:
- string
placementConfigurations:
- availabilityDomain: string
faultDomains:
- string
subnetId: string
podConfiguration:
nsgIds:
- string
shape: string
subnetId: string
size: 0
taints:
- effect: string
key: string
value: string
virtualNodeTags:
definedTags:
string: any
freeformTags:
string: any
VirtualNodePool Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The VirtualNodePool resource accepts the following input properties:
- Cluster
Id string - The cluster the virtual node pool is associated with. A virtual node pool can only be associated with one cluster.
- Compartment
Id string - Compartment of the virtual node pool.
- Display
Name string - (Updatable) Display name of the virtual node pool. This is a non-unique value.
- Placement
Configurations List<VirtualNode Pool Placement Configuration> - (Updatable) The list of placement configurations which determines where Virtual Nodes will be provisioned across as it relates to the subnet and availability domains. The size attribute determines how many we evenly spread across these placement configurations
- Pod
Configuration VirtualNode Pool Pod Configuration - (Updatable) The pod configuration for pods run on virtual nodes of this virtual node pool.
- Size int
- (Updatable) The number of Virtual Nodes that should be in the Virtual Node Pool. The placement configurations determine where these virtual nodes are placed.
- Dictionary<string, object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Dictionary<string, object>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Initial
Virtual List<VirtualNode Labels Node Pool Initial Virtual Node Label> - (Updatable) Initial labels that will be added to the Kubernetes Virtual Node object when it registers.
- Nsg
Ids List<string> - (Updatable) List of network security group id's applied to the Virtual Node VNIC.
- Taints
List<Virtual
Node Pool Taint> - (Updatable) A taint is a collection of <key, value, effect>. These taints will be applied to the Virtual Nodes of this Virtual Node Pool for Kubernetes scheduling.
- Virtual
Node Pool Virtual Node Tags - (Updatable) The tags associated to the virtual nodes in this virtual node pool.
- Cluster
Id string - The cluster the virtual node pool is associated with. A virtual node pool can only be associated with one cluster.
- Compartment
Id string - Compartment of the virtual node pool.
- Display
Name string - (Updatable) Display name of the virtual node pool. This is a non-unique value.
- Placement
Configurations []VirtualNode Pool Placement Configuration Args - (Updatable) The list of placement configurations which determines where Virtual Nodes will be provisioned across as it relates to the subnet and availability domains. The size attribute determines how many we evenly spread across these placement configurations
- Pod
Configuration VirtualNode Pool Pod Configuration Args - (Updatable) The pod configuration for pods run on virtual nodes of this virtual node pool.
- Size int
- (Updatable) The number of Virtual Nodes that should be in the Virtual Node Pool. The placement configurations determine where these virtual nodes are placed.
- map[string]interface{}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- map[string]interface{}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Initial
Virtual []VirtualNode Labels Node Pool Initial Virtual Node Label Args - (Updatable) Initial labels that will be added to the Kubernetes Virtual Node object when it registers.
- Nsg
Ids []string - (Updatable) List of network security group id's applied to the Virtual Node VNIC.
- Taints
[]Virtual
Node Pool Taint Args - (Updatable) A taint is a collection of <key, value, effect>. These taints will be applied to the Virtual Nodes of this Virtual Node Pool for Kubernetes scheduling.
- Virtual
Node Pool Virtual Node Tags Args - (Updatable) The tags associated to the virtual nodes in this virtual node pool.
- cluster
Id String - The cluster the virtual node pool is associated with. A virtual node pool can only be associated with one cluster.
- compartment
Id String - Compartment of the virtual node pool.
- display
Name String - (Updatable) Display name of the virtual node pool. This is a non-unique value.
- placement
Configurations List<VirtualNode Pool Placement Configuration> - (Updatable) The list of placement configurations which determines where Virtual Nodes will be provisioned across as it relates to the subnet and availability domains. The size attribute determines how many we evenly spread across these placement configurations
- pod
Configuration VirtualNode Pool Pod Configuration - (Updatable) The pod configuration for pods run on virtual nodes of this virtual node pool.
- size Integer
- (Updatable) The number of Virtual Nodes that should be in the Virtual Node Pool. The placement configurations determine where these virtual nodes are placed.
- Map<String,Object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Map<String,Object>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- initial
Virtual List<VirtualNode Labels Node Pool Initial Virtual Node Label> - (Updatable) Initial labels that will be added to the Kubernetes Virtual Node object when it registers.
- nsg
Ids List<String> - (Updatable) List of network security group id's applied to the Virtual Node VNIC.
- taints
List<Virtual
Node Pool Taint> - (Updatable) A taint is a collection of <key, value, effect>. These taints will be applied to the Virtual Nodes of this Virtual Node Pool for Kubernetes scheduling.
- Virtual
Node Pool Virtual Node Tags - (Updatable) The tags associated to the virtual nodes in this virtual node pool.
- cluster
Id string - The cluster the virtual node pool is associated with. A virtual node pool can only be associated with one cluster.
- compartment
Id string - Compartment of the virtual node pool.
- display
Name string - (Updatable) Display name of the virtual node pool. This is a non-unique value.
- placement
Configurations VirtualNode Pool Placement Configuration[] - (Updatable) The list of placement configurations which determines where Virtual Nodes will be provisioned across as it relates to the subnet and availability domains. The size attribute determines how many we evenly spread across these placement configurations
- pod
Configuration VirtualNode Pool Pod Configuration - (Updatable) The pod configuration for pods run on virtual nodes of this virtual node pool.
- size number
- (Updatable) The number of Virtual Nodes that should be in the Virtual Node Pool. The placement configurations determine where these virtual nodes are placed.
- {[key: string]: any}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- {[key: string]: any}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- initial
Virtual VirtualNode Labels Node Pool Initial Virtual Node Label[] - (Updatable) Initial labels that will be added to the Kubernetes Virtual Node object when it registers.
- nsg
Ids string[] - (Updatable) List of network security group id's applied to the Virtual Node VNIC.
- taints
Virtual
Node Pool Taint[] - (Updatable) A taint is a collection of <key, value, effect>. These taints will be applied to the Virtual Nodes of this Virtual Node Pool for Kubernetes scheduling.
- Virtual
Node Pool Virtual Node Tags - (Updatable) The tags associated to the virtual nodes in this virtual node pool.
- cluster_
id str - The cluster the virtual node pool is associated with. A virtual node pool can only be associated with one cluster.
- compartment_
id str - Compartment of the virtual node pool.
- display_
name str - (Updatable) Display name of the virtual node pool. This is a non-unique value.
- placement_
configurations Sequence[containerengine.Virtual Node Pool Placement Configuration Args] - (Updatable) The list of placement configurations which determines where Virtual Nodes will be provisioned across as it relates to the subnet and availability domains. The size attribute determines how many we evenly spread across these placement configurations
- pod_
configuration containerengine.Virtual Node Pool Pod Configuration Args - (Updatable) The pod configuration for pods run on virtual nodes of this virtual node pool.
- size int
- (Updatable) The number of Virtual Nodes that should be in the Virtual Node Pool. The placement configurations determine where these virtual nodes are placed.
- Mapping[str, Any]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Mapping[str, Any]
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- initial_
virtual_ Sequence[containerengine.node_ labels Virtual Node Pool Initial Virtual Node Label Args] - (Updatable) Initial labels that will be added to the Kubernetes Virtual Node object when it registers.
- nsg_
ids Sequence[str] - (Updatable) List of network security group id's applied to the Virtual Node VNIC.
- taints
Sequence[containerengine.
Virtual Node Pool Taint Args] - (Updatable) A taint is a collection of <key, value, effect>. These taints will be applied to the Virtual Nodes of this Virtual Node Pool for Kubernetes scheduling.
- containerengine.
Virtual Node Pool Virtual Node Tags Args - (Updatable) The tags associated to the virtual nodes in this virtual node pool.
- cluster
Id String - The cluster the virtual node pool is associated with. A virtual node pool can only be associated with one cluster.
- compartment
Id String - Compartment of the virtual node pool.
- display
Name String - (Updatable) Display name of the virtual node pool. This is a non-unique value.
- placement
Configurations List<Property Map> - (Updatable) The list of placement configurations which determines where Virtual Nodes will be provisioned across as it relates to the subnet and availability domains. The size attribute determines how many we evenly spread across these placement configurations
- pod
Configuration Property Map - (Updatable) The pod configuration for pods run on virtual nodes of this virtual node pool.
- size Number
- (Updatable) The number of Virtual Nodes that should be in the Virtual Node Pool. The placement configurations determine where these virtual nodes are placed.
- Map<Any>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Map<Any>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- initial
Virtual List<Property Map>Node Labels - (Updatable) Initial labels that will be added to the Kubernetes Virtual Node object when it registers.
- nsg
Ids List<String> - (Updatable) List of network security group id's applied to the Virtual Node VNIC.
- taints List<Property Map>
- (Updatable) A taint is a collection of <key, value, effect>. These taints will be applied to the Virtual Nodes of this Virtual Node Pool for Kubernetes scheduling.
- Property Map
- (Updatable) The tags associated to the virtual nodes in this virtual node pool.
Outputs
All input properties are implicitly available as output properties. Additionally, the VirtualNodePool resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Kubernetes
Version string - The version of Kubernetes running on the nodes in the node pool.
- Lifecycle
Details string - Details about the state of the Virtual Node Pool.
- State string
- The state of the Virtual Node Pool.
- Dictionary<string, object>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time the virtual node pool was created.
- Time
Updated string - The time the virtual node pool was updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- Kubernetes
Version string - The version of Kubernetes running on the nodes in the node pool.
- Lifecycle
Details string - Details about the state of the Virtual Node Pool.
- State string
- The state of the Virtual Node Pool.
- map[string]interface{}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time the virtual node pool was created.
- Time
Updated string - The time the virtual node pool was updated.
- id String
- The provider-assigned unique ID for this managed resource.
- kubernetes
Version String - The version of Kubernetes running on the nodes in the node pool.
- lifecycle
Details String - Details about the state of the Virtual Node Pool.
- state String
- The state of the Virtual Node Pool.
- Map<String,Object>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the virtual node pool was created.
- time
Updated String - The time the virtual node pool was updated.
- id string
- The provider-assigned unique ID for this managed resource.
- kubernetes
Version string - The version of Kubernetes running on the nodes in the node pool.
- lifecycle
Details string - Details about the state of the Virtual Node Pool.
- state string
- The state of the Virtual Node Pool.
- {[key: string]: any}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time the virtual node pool was created.
- time
Updated string - The time the virtual node pool was updated.
- id str
- The provider-assigned unique ID for this managed resource.
- kubernetes_
version str - The version of Kubernetes running on the nodes in the node pool.
- lifecycle_
details str - Details about the state of the Virtual Node Pool.
- state str
- The state of the Virtual Node Pool.
- Mapping[str, Any]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The time the virtual node pool was created.
- time_
updated str - The time the virtual node pool was updated.
- id String
- The provider-assigned unique ID for this managed resource.
- kubernetes
Version String - The version of Kubernetes running on the nodes in the node pool.
- lifecycle
Details String - Details about the state of the Virtual Node Pool.
- state String
- The state of the Virtual Node Pool.
- Map<Any>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the virtual node pool was created.
- time
Updated String - The time the virtual node pool was updated.
Look up Existing VirtualNodePool Resource
Get an existing VirtualNodePool 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?: VirtualNodePoolState, opts?: CustomResourceOptions): VirtualNodePool
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cluster_id: Optional[str] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
initial_virtual_node_labels: Optional[Sequence[_containerengine.VirtualNodePoolInitialVirtualNodeLabelArgs]] = None,
kubernetes_version: Optional[str] = None,
lifecycle_details: Optional[str] = None,
nsg_ids: Optional[Sequence[str]] = None,
placement_configurations: Optional[Sequence[_containerengine.VirtualNodePoolPlacementConfigurationArgs]] = None,
pod_configuration: Optional[_containerengine.VirtualNodePoolPodConfigurationArgs] = None,
size: Optional[int] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, Any]] = None,
taints: Optional[Sequence[_containerengine.VirtualNodePoolTaintArgs]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None,
virtual_node_tags: Optional[_containerengine.VirtualNodePoolVirtualNodeTagsArgs] = None) -> VirtualNodePool
func GetVirtualNodePool(ctx *Context, name string, id IDInput, state *VirtualNodePoolState, opts ...ResourceOption) (*VirtualNodePool, error)
public static VirtualNodePool Get(string name, Input<string> id, VirtualNodePoolState? state, CustomResourceOptions? opts = null)
public static VirtualNodePool get(String name, Output<String> id, VirtualNodePoolState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Cluster
Id string - The cluster the virtual node pool is associated with. A virtual node pool can only be associated with one cluster.
- Compartment
Id string - Compartment of the virtual node pool.
- Dictionary<string, object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - (Updatable) Display name of the virtual node pool. This is a non-unique value.
- Dictionary<string, object>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Initial
Virtual List<VirtualNode Labels Node Pool Initial Virtual Node Label> - (Updatable) Initial labels that will be added to the Kubernetes Virtual Node object when it registers.
- Kubernetes
Version string - The version of Kubernetes running on the nodes in the node pool.
- Lifecycle
Details string - Details about the state of the Virtual Node Pool.
- Nsg
Ids List<string> - (Updatable) List of network security group id's applied to the Virtual Node VNIC.
- Placement
Configurations List<VirtualNode Pool Placement Configuration> - (Updatable) The list of placement configurations which determines where Virtual Nodes will be provisioned across as it relates to the subnet and availability domains. The size attribute determines how many we evenly spread across these placement configurations
- Pod
Configuration VirtualNode Pool Pod Configuration - (Updatable) The pod configuration for pods run on virtual nodes of this virtual node pool.
- Size int
- (Updatable) The number of Virtual Nodes that should be in the Virtual Node Pool. The placement configurations determine where these virtual nodes are placed.
- State string
- The state of the Virtual Node Pool.
- Dictionary<string, object>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Taints
List<Virtual
Node Pool Taint> - (Updatable) A taint is a collection of <key, value, effect>. These taints will be applied to the Virtual Nodes of this Virtual Node Pool for Kubernetes scheduling.
- Time
Created string - The time the virtual node pool was created.
- Time
Updated string - The time the virtual node pool was updated.
- Virtual
Node Pool Virtual Node Tags - (Updatable) The tags associated to the virtual nodes in this virtual node pool.
- Cluster
Id string - The cluster the virtual node pool is associated with. A virtual node pool can only be associated with one cluster.
- Compartment
Id string - Compartment of the virtual node pool.
- map[string]interface{}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - (Updatable) Display name of the virtual node pool. This is a non-unique value.
- map[string]interface{}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Initial
Virtual []VirtualNode Labels Node Pool Initial Virtual Node Label Args - (Updatable) Initial labels that will be added to the Kubernetes Virtual Node object when it registers.
- Kubernetes
Version string - The version of Kubernetes running on the nodes in the node pool.
- Lifecycle
Details string - Details about the state of the Virtual Node Pool.
- Nsg
Ids []string - (Updatable) List of network security group id's applied to the Virtual Node VNIC.
- Placement
Configurations []VirtualNode Pool Placement Configuration Args - (Updatable) The list of placement configurations which determines where Virtual Nodes will be provisioned across as it relates to the subnet and availability domains. The size attribute determines how many we evenly spread across these placement configurations
- Pod
Configuration VirtualNode Pool Pod Configuration Args - (Updatable) The pod configuration for pods run on virtual nodes of this virtual node pool.
- Size int
- (Updatable) The number of Virtual Nodes that should be in the Virtual Node Pool. The placement configurations determine where these virtual nodes are placed.
- State string
- The state of the Virtual Node Pool.
- map[string]interface{}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Taints
[]Virtual
Node Pool Taint Args - (Updatable) A taint is a collection of <key, value, effect>. These taints will be applied to the Virtual Nodes of this Virtual Node Pool for Kubernetes scheduling.
- Time
Created string - The time the virtual node pool was created.
- Time
Updated string - The time the virtual node pool was updated.
- Virtual
Node Pool Virtual Node Tags Args - (Updatable) The tags associated to the virtual nodes in this virtual node pool.
- cluster
Id String - The cluster the virtual node pool is associated with. A virtual node pool can only be associated with one cluster.
- compartment
Id String - Compartment of the virtual node pool.
- Map<String,Object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - (Updatable) Display name of the virtual node pool. This is a non-unique value.
- Map<String,Object>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- initial
Virtual List<VirtualNode Labels Node Pool Initial Virtual Node Label> - (Updatable) Initial labels that will be added to the Kubernetes Virtual Node object when it registers.
- kubernetes
Version String - The version of Kubernetes running on the nodes in the node pool.
- lifecycle
Details String - Details about the state of the Virtual Node Pool.
- nsg
Ids List<String> - (Updatable) List of network security group id's applied to the Virtual Node VNIC.
- placement
Configurations List<VirtualNode Pool Placement Configuration> - (Updatable) The list of placement configurations which determines where Virtual Nodes will be provisioned across as it relates to the subnet and availability domains. The size attribute determines how many we evenly spread across these placement configurations
- pod
Configuration VirtualNode Pool Pod Configuration - (Updatable) The pod configuration for pods run on virtual nodes of this virtual node pool.
- size Integer
- (Updatable) The number of Virtual Nodes that should be in the Virtual Node Pool. The placement configurations determine where these virtual nodes are placed.
- state String
- The state of the Virtual Node Pool.
- Map<String,Object>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- taints
List<Virtual
Node Pool Taint> - (Updatable) A taint is a collection of <key, value, effect>. These taints will be applied to the Virtual Nodes of this Virtual Node Pool for Kubernetes scheduling.
- time
Created String - The time the virtual node pool was created.
- time
Updated String - The time the virtual node pool was updated.
- Virtual
Node Pool Virtual Node Tags - (Updatable) The tags associated to the virtual nodes in this virtual node pool.
- cluster
Id string - The cluster the virtual node pool is associated with. A virtual node pool can only be associated with one cluster.
- compartment
Id string - Compartment of the virtual node pool.
- {[key: string]: any}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name string - (Updatable) Display name of the virtual node pool. This is a non-unique value.
- {[key: string]: any}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- initial
Virtual VirtualNode Labels Node Pool Initial Virtual Node Label[] - (Updatable) Initial labels that will be added to the Kubernetes Virtual Node object when it registers.
- kubernetes
Version string - The version of Kubernetes running on the nodes in the node pool.
- lifecycle
Details string - Details about the state of the Virtual Node Pool.
- nsg
Ids string[] - (Updatable) List of network security group id's applied to the Virtual Node VNIC.
- placement
Configurations VirtualNode Pool Placement Configuration[] - (Updatable) The list of placement configurations which determines where Virtual Nodes will be provisioned across as it relates to the subnet and availability domains. The size attribute determines how many we evenly spread across these placement configurations
- pod
Configuration VirtualNode Pool Pod Configuration - (Updatable) The pod configuration for pods run on virtual nodes of this virtual node pool.
- size number
- (Updatable) The number of Virtual Nodes that should be in the Virtual Node Pool. The placement configurations determine where these virtual nodes are placed.
- state string
- The state of the Virtual Node Pool.
- {[key: string]: any}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- taints
Virtual
Node Pool Taint[] - (Updatable) A taint is a collection of <key, value, effect>. These taints will be applied to the Virtual Nodes of this Virtual Node Pool for Kubernetes scheduling.
- time
Created string - The time the virtual node pool was created.
- time
Updated string - The time the virtual node pool was updated.
- Virtual
Node Pool Virtual Node Tags - (Updatable) The tags associated to the virtual nodes in this virtual node pool.
- cluster_
id str - The cluster the virtual node pool is associated with. A virtual node pool can only be associated with one cluster.
- compartment_
id str - Compartment of the virtual node pool.
- Mapping[str, Any]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display_
name str - (Updatable) Display name of the virtual node pool. This is a non-unique value.
- Mapping[str, Any]
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- initial_
virtual_ Sequence[containerengine.node_ labels Virtual Node Pool Initial Virtual Node Label Args] - (Updatable) Initial labels that will be added to the Kubernetes Virtual Node object when it registers.
- kubernetes_
version str - The version of Kubernetes running on the nodes in the node pool.
- lifecycle_
details str - Details about the state of the Virtual Node Pool.
- nsg_
ids Sequence[str] - (Updatable) List of network security group id's applied to the Virtual Node VNIC.
- placement_
configurations Sequence[containerengine.Virtual Node Pool Placement Configuration Args] - (Updatable) The list of placement configurations which determines where Virtual Nodes will be provisioned across as it relates to the subnet and availability domains. The size attribute determines how many we evenly spread across these placement configurations
- pod_
configuration containerengine.Virtual Node Pool Pod Configuration Args - (Updatable) The pod configuration for pods run on virtual nodes of this virtual node pool.
- size int
- (Updatable) The number of Virtual Nodes that should be in the Virtual Node Pool. The placement configurations determine where these virtual nodes are placed.
- state str
- The state of the Virtual Node Pool.
- Mapping[str, Any]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- taints
Sequence[containerengine.
Virtual Node Pool Taint Args] - (Updatable) A taint is a collection of <key, value, effect>. These taints will be applied to the Virtual Nodes of this Virtual Node Pool for Kubernetes scheduling.
- time_
created str - The time the virtual node pool was created.
- time_
updated str - The time the virtual node pool was updated.
- containerengine.
Virtual Node Pool Virtual Node Tags Args - (Updatable) The tags associated to the virtual nodes in this virtual node pool.
- cluster
Id String - The cluster the virtual node pool is associated with. A virtual node pool can only be associated with one cluster.
- compartment
Id String - Compartment of the virtual node pool.
- Map<Any>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - (Updatable) Display name of the virtual node pool. This is a non-unique value.
- Map<Any>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- initial
Virtual List<Property Map>Node Labels - (Updatable) Initial labels that will be added to the Kubernetes Virtual Node object when it registers.
- kubernetes
Version String - The version of Kubernetes running on the nodes in the node pool.
- lifecycle
Details String - Details about the state of the Virtual Node Pool.
- nsg
Ids List<String> - (Updatable) List of network security group id's applied to the Virtual Node VNIC.
- placement
Configurations List<Property Map> - (Updatable) The list of placement configurations which determines where Virtual Nodes will be provisioned across as it relates to the subnet and availability domains. The size attribute determines how many we evenly spread across these placement configurations
- pod
Configuration Property Map - (Updatable) The pod configuration for pods run on virtual nodes of this virtual node pool.
- size Number
- (Updatable) The number of Virtual Nodes that should be in the Virtual Node Pool. The placement configurations determine where these virtual nodes are placed.
- state String
- The state of the Virtual Node Pool.
- Map<Any>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- taints List<Property Map>
- (Updatable) A taint is a collection of <key, value, effect>. These taints will be applied to the Virtual Nodes of this Virtual Node Pool for Kubernetes scheduling.
- time
Created String - The time the virtual node pool was created.
- time
Updated String - The time the virtual node pool was updated.
- Property Map
- (Updatable) The tags associated to the virtual nodes in this virtual node pool.
Supporting Types
VirtualNodePoolInitialVirtualNodeLabel, VirtualNodePoolInitialVirtualNodeLabelArgs
VirtualNodePoolPlacementConfiguration, VirtualNodePoolPlacementConfigurationArgs
- Availability
Domain string - (Updatable) The availability domain in which to place virtual nodes. Example:
Uocm:PHX-AD-1
- Fault
Domains List<string> - (Updatable) The fault domain of this virtual node.
- Subnet
Id string - (Updatable) The OCID of the subnet in which to place virtual nodes.
- Availability
Domain string - (Updatable) The availability domain in which to place virtual nodes. Example:
Uocm:PHX-AD-1
- Fault
Domains []string - (Updatable) The fault domain of this virtual node.
- Subnet
Id string - (Updatable) The OCID of the subnet in which to place virtual nodes.
- availability
Domain String - (Updatable) The availability domain in which to place virtual nodes. Example:
Uocm:PHX-AD-1
- fault
Domains List<String> - (Updatable) The fault domain of this virtual node.
- subnet
Id String - (Updatable) The OCID of the subnet in which to place virtual nodes.
- availability
Domain string - (Updatable) The availability domain in which to place virtual nodes. Example:
Uocm:PHX-AD-1
- fault
Domains string[] - (Updatable) The fault domain of this virtual node.
- subnet
Id string - (Updatable) The OCID of the subnet in which to place virtual nodes.
- availability_
domain str - (Updatable) The availability domain in which to place virtual nodes. Example:
Uocm:PHX-AD-1
- fault_
domains Sequence[str] - (Updatable) The fault domain of this virtual node.
- subnet_
id str - (Updatable) The OCID of the subnet in which to place virtual nodes.
- availability
Domain String - (Updatable) The availability domain in which to place virtual nodes. Example:
Uocm:PHX-AD-1
- fault
Domains List<String> - (Updatable) The fault domain of this virtual node.
- subnet
Id String - (Updatable) The OCID of the subnet in which to place virtual nodes.
VirtualNodePoolPodConfiguration, VirtualNodePoolPodConfigurationArgs
VirtualNodePoolTaint, VirtualNodePoolTaintArgs
VirtualNodePoolVirtualNodeTags, VirtualNodePoolVirtualNodeTagsArgs
- Dictionary<string, object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Dictionary<string, object>
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
** 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
- map[string]interface{}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- map[string]interface{}
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
** 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
- Map<String,Object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Map<String,Object>
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
** 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
- {[key: string]: any}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- {[key: string]: any}
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
** 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
- Mapping[str, Any]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Mapping[str, Any]
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
** 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
- Map<Any>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Map<Any>
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
** 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
Import
VirtualNodePools can be imported using the id
, e.g.
$ pulumi import oci:ContainerEngine/virtualNodePool:VirtualNodePool test_virtual_node_pool "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.