oci logo
Oracle Cloud Infrastructure v0.12.0, Mar 17 23

oci.Core.ClusterNetwork

This resource provides the Cluster Network resource in Oracle Cloud Infrastructure Core service.

Creates a cluster network. For more information about cluster networks, see Managing Cluster Networks.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testClusterNetwork = new Oci.Core.ClusterNetwork("testClusterNetwork", new()
    {
        CompartmentId = @var.Compartment_id,
        InstancePools = new[]
        {
            new Oci.Core.Inputs.ClusterNetworkInstancePoolArgs
            {
                InstanceConfigurationId = oci_core_instance_configuration.Test_instance_configuration.Id,
                Size = @var.Cluster_network_instance_pools_size,
                DefinedTags = 
                {
                    { "Operations.CostCenter", "42" },
                },
                DisplayName = @var.Cluster_network_instance_pools_display_name,
                FreeformTags = 
                {
                    { "Department", "Finance" },
                },
            },
        },
        PlacementConfiguration = new Oci.Core.Inputs.ClusterNetworkPlacementConfigurationArgs
        {
            AvailabilityDomain = @var.Cluster_network_placement_configuration_availability_domain,
            PrimarySubnetId = oci_core_subnet.Test_subnet.Id,
            SecondaryVnicSubnets = new[]
            {
                new Oci.Core.Inputs.ClusterNetworkPlacementConfigurationSecondaryVnicSubnetArgs
                {
                    SubnetId = oci_core_subnet.Test_subnet.Id,
                    DisplayName = @var.Cluster_network_placement_configuration_secondary_vnic_subnets_display_name,
                },
            },
        },
        DefinedTags = 
        {
            { "Operations.CostCenter", "42" },
        },
        DisplayName = @var.Cluster_network_display_name,
        FreeformTags = 
        {
            { "Department", "Finance" },
        },
    });

});
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Core.NewClusterNetwork(ctx, "testClusterNetwork", &Core.ClusterNetworkArgs{
			CompartmentId: pulumi.Any(_var.Compartment_id),
			InstancePools: core.ClusterNetworkInstancePoolArray{
				&core.ClusterNetworkInstancePoolArgs{
					InstanceConfigurationId: pulumi.Any(oci_core_instance_configuration.Test_instance_configuration.Id),
					Size:                    pulumi.Any(_var.Cluster_network_instance_pools_size),
					DefinedTags: pulumi.AnyMap{
						"Operations.CostCenter": pulumi.Any("42"),
					},
					DisplayName: pulumi.Any(_var.Cluster_network_instance_pools_display_name),
					FreeformTags: pulumi.AnyMap{
						"Department": pulumi.Any("Finance"),
					},
				},
			},
			PlacementConfiguration: &core.ClusterNetworkPlacementConfigurationArgs{
				AvailabilityDomain: pulumi.Any(_var.Cluster_network_placement_configuration_availability_domain),
				PrimarySubnetId:    pulumi.Any(oci_core_subnet.Test_subnet.Id),
				SecondaryVnicSubnets: core.ClusterNetworkPlacementConfigurationSecondaryVnicSubnetArray{
					&core.ClusterNetworkPlacementConfigurationSecondaryVnicSubnetArgs{
						SubnetId:    pulumi.Any(oci_core_subnet.Test_subnet.Id),
						DisplayName: pulumi.Any(_var.Cluster_network_placement_configuration_secondary_vnic_subnets_display_name),
					},
				},
			},
			DefinedTags: pulumi.AnyMap{
				"Operations.CostCenter": pulumi.Any("42"),
			},
			DisplayName: pulumi.Any(_var.Cluster_network_display_name),
			FreeformTags: pulumi.AnyMap{
				"Department": pulumi.Any("Finance"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Core.ClusterNetwork;
import com.pulumi.oci.Core.ClusterNetworkArgs;
import com.pulumi.oci.Core.inputs.ClusterNetworkInstancePoolArgs;
import com.pulumi.oci.Core.inputs.ClusterNetworkPlacementConfigurationArgs;
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 testClusterNetwork = new ClusterNetwork("testClusterNetwork", ClusterNetworkArgs.builder()        
            .compartmentId(var_.compartment_id())
            .instancePools(ClusterNetworkInstancePoolArgs.builder()
                .instanceConfigurationId(oci_core_instance_configuration.test_instance_configuration().id())
                .size(var_.cluster_network_instance_pools_size())
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .displayName(var_.cluster_network_instance_pools_display_name())
                .freeformTags(Map.of("Department", "Finance"))
                .build())
            .placementConfiguration(ClusterNetworkPlacementConfigurationArgs.builder()
                .availabilityDomain(var_.cluster_network_placement_configuration_availability_domain())
                .primarySubnetId(oci_core_subnet.test_subnet().id())
                .secondaryVnicSubnets(ClusterNetworkPlacementConfigurationSecondaryVnicSubnetArgs.builder()
                    .subnetId(oci_core_subnet.test_subnet().id())
                    .displayName(var_.cluster_network_placement_configuration_secondary_vnic_subnets_display_name())
                    .build())
                .build())
            .definedTags(Map.of("Operations.CostCenter", "42"))
            .displayName(var_.cluster_network_display_name())
            .freeformTags(Map.of("Department", "Finance"))
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_cluster_network = oci.core.ClusterNetwork("testClusterNetwork",
    compartment_id=var["compartment_id"],
    instance_pools=[oci.core.ClusterNetworkInstancePoolArgs(
        instance_configuration_id=oci_core_instance_configuration["test_instance_configuration"]["id"],
        size=var["cluster_network_instance_pools_size"],
        defined_tags={
            "Operations.CostCenter": "42",
        },
        display_name=var["cluster_network_instance_pools_display_name"],
        freeform_tags={
            "Department": "Finance",
        },
    )],
    placement_configuration=oci.core.ClusterNetworkPlacementConfigurationArgs(
        availability_domain=var["cluster_network_placement_configuration_availability_domain"],
        primary_subnet_id=oci_core_subnet["test_subnet"]["id"],
        secondary_vnic_subnets=[oci.core.ClusterNetworkPlacementConfigurationSecondaryVnicSubnetArgs(
            subnet_id=oci_core_subnet["test_subnet"]["id"],
            display_name=var["cluster_network_placement_configuration_secondary_vnic_subnets_display_name"],
        )],
    ),
    defined_tags={
        "Operations.CostCenter": "42",
    },
    display_name=var["cluster_network_display_name"],
    freeform_tags={
        "Department": "Finance",
    })
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testClusterNetwork = new oci.core.ClusterNetwork("testClusterNetwork", {
    compartmentId: _var.compartment_id,
    instancePools: [{
        instanceConfigurationId: oci_core_instance_configuration.test_instance_configuration.id,
        size: _var.cluster_network_instance_pools_size,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        displayName: _var.cluster_network_instance_pools_display_name,
        freeformTags: {
            Department: "Finance",
        },
    }],
    placementConfiguration: {
        availabilityDomain: _var.cluster_network_placement_configuration_availability_domain,
        primarySubnetId: oci_core_subnet.test_subnet.id,
        secondaryVnicSubnets: [{
            subnetId: oci_core_subnet.test_subnet.id,
            displayName: _var.cluster_network_placement_configuration_secondary_vnic_subnets_display_name,
        }],
    },
    definedTags: {
        "Operations.CostCenter": "42",
    },
    displayName: _var.cluster_network_display_name,
    freeformTags: {
        Department: "Finance",
    },
});
resources:
  testClusterNetwork:
    type: oci:Core:ClusterNetwork
    properties:
      #Required
      compartmentId: ${var.compartment_id}
      instancePools:
        - instanceConfigurationId: ${oci_core_instance_configuration.test_instance_configuration.id}
          size: ${var.cluster_network_instance_pools_size}
          definedTags:
            Operations.CostCenter: '42'
          displayName: ${var.cluster_network_instance_pools_display_name}
          freeformTags:
            Department: Finance
      placementConfiguration:
        availabilityDomain: ${var.cluster_network_placement_configuration_availability_domain}
        primarySubnetId: ${oci_core_subnet.test_subnet.id}
        secondaryVnicSubnets:
          - subnetId: ${oci_core_subnet.test_subnet.id}
            displayName: ${var.cluster_network_placement_configuration_secondary_vnic_subnets_display_name}
      #Optional
      definedTags:
        Operations.CostCenter: '42'
      displayName: ${var.cluster_network_display_name}
      freeformTags:
        Department: Finance

Create ClusterNetwork Resource

new ClusterNetwork(name: string, args: ClusterNetworkArgs, opts?: CustomResourceOptions);
@overload
def ClusterNetwork(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   compartment_id: Optional[str] = None,
                   defined_tags: Optional[Mapping[str, Any]] = None,
                   display_name: Optional[str] = None,
                   freeform_tags: Optional[Mapping[str, Any]] = None,
                   instance_pools: Optional[Sequence[_core.ClusterNetworkInstancePoolArgs]] = None,
                   placement_configuration: Optional[_core.ClusterNetworkPlacementConfigurationArgs] = None)
@overload
def ClusterNetwork(resource_name: str,
                   args: ClusterNetworkArgs,
                   opts: Optional[ResourceOptions] = None)
func NewClusterNetwork(ctx *Context, name string, args ClusterNetworkArgs, opts ...ResourceOption) (*ClusterNetwork, error)
public ClusterNetwork(string name, ClusterNetworkArgs args, CustomResourceOptions? opts = null)
public ClusterNetwork(String name, ClusterNetworkArgs args)
public ClusterNetwork(String name, ClusterNetworkArgs args, CustomResourceOptions options)
type: oci:Core:ClusterNetwork
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ClusterNetworkArgs
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 ClusterNetworkArgs
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 ClusterNetworkArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ClusterNetworkArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ClusterNetworkArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ClusterNetwork 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 ClusterNetwork resource accepts the following input properties:

CompartmentId string

(Updatable) The OCID of the compartment containing the instance pool.

InstancePools List<ClusterNetworkInstancePoolArgs>

(Updatable) The data to create the instance pools in the cluster network.

PlacementConfiguration ClusterNetworkPlacementConfigurationArgs

The location for where the instance pools in a cluster network will place instances.

DefinedTags Dictionary<string, object>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

DisplayName string

The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.

FreeformTags Dictionary<string, object>

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

CompartmentId string

(Updatable) The OCID of the compartment containing the instance pool.

InstancePools []ClusterNetworkInstancePoolArgs

(Updatable) The data to create the instance pools in the cluster network.

PlacementConfiguration ClusterNetworkPlacementConfigurationArgs

The location for where the instance pools in a cluster network will place instances.

DefinedTags map[string]interface{}

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

DisplayName string

The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.

FreeformTags map[string]interface{}

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

compartmentId String

(Updatable) The OCID of the compartment containing the instance pool.

instancePools List<ClusterNetworkInstancePoolArgs>

(Updatable) The data to create the instance pools in the cluster network.

placementConfiguration ClusterNetworkPlacementConfigurationArgs

The location for where the instance pools in a cluster network will place instances.

definedTags Map<String,Object>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

displayName String

The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.

freeformTags Map<String,Object>

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

compartmentId string

(Updatable) The OCID of the compartment containing the instance pool.

instancePools ClusterNetworkInstancePoolArgs[]

(Updatable) The data to create the instance pools in the cluster network.

placementConfiguration ClusterNetworkPlacementConfigurationArgs

The location for where the instance pools in a cluster network will place instances.

definedTags {[key: string]: any}

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

displayName string

The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.

freeformTags {[key: string]: any}

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

compartment_id str

(Updatable) The OCID of the compartment containing the instance pool.

instance_pools ClusterNetworkInstancePoolArgs]

(Updatable) The data to create the instance pools in the cluster network.

placement_configuration ClusterNetworkPlacementConfigurationArgs

The location for where the instance pools in a cluster network will place instances.

defined_tags Mapping[str, Any]

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

display_name str

The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.

freeform_tags Mapping[str, Any]

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

compartmentId String

(Updatable) The OCID of the compartment containing the instance pool.

instancePools List<Property Map>

(Updatable) The data to create the instance pools in the cluster network.

placementConfiguration Property Map

The location for where the instance pools in a cluster network will place instances.

definedTags Map<Any>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

displayName String

The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.

freeformTags Map<Any>

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

State string

The current state of the cluster network.

TimeCreated string

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

TimeUpdated string

The date and time the resource was updated, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

Id string

The provider-assigned unique ID for this managed resource.

State string

The current state of the cluster network.

TimeCreated string

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

TimeUpdated string

The date and time the resource was updated, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

id String

The provider-assigned unique ID for this managed resource.

state String

The current state of the cluster network.

timeCreated String

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

timeUpdated String

The date and time the resource was updated, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

id string

The provider-assigned unique ID for this managed resource.

state string

The current state of the cluster network.

timeCreated string

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

timeUpdated string

The date and time the resource was updated, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

id str

The provider-assigned unique ID for this managed resource.

state str

The current state of the cluster network.

time_created str

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

time_updated str

The date and time the resource was updated, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

id String

The provider-assigned unique ID for this managed resource.

state String

The current state of the cluster network.

timeCreated String

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

timeUpdated String

The date and time the resource was updated, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

Look up Existing ClusterNetwork Resource

Get an existing ClusterNetwork 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?: ClusterNetworkState, opts?: CustomResourceOptions): ClusterNetwork
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        compartment_id: Optional[str] = None,
        defined_tags: Optional[Mapping[str, Any]] = None,
        display_name: Optional[str] = None,
        freeform_tags: Optional[Mapping[str, Any]] = None,
        instance_pools: Optional[Sequence[_core.ClusterNetworkInstancePoolArgs]] = None,
        placement_configuration: Optional[_core.ClusterNetworkPlacementConfigurationArgs] = None,
        state: Optional[str] = None,
        time_created: Optional[str] = None,
        time_updated: Optional[str] = None) -> ClusterNetwork
func GetClusterNetwork(ctx *Context, name string, id IDInput, state *ClusterNetworkState, opts ...ResourceOption) (*ClusterNetwork, error)
public static ClusterNetwork Get(string name, Input<string> id, ClusterNetworkState? state, CustomResourceOptions? opts = null)
public static ClusterNetwork get(String name, Output<String> id, ClusterNetworkState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
CompartmentId string

(Updatable) The OCID of the compartment containing the instance pool.

DefinedTags Dictionary<string, object>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

DisplayName string

The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.

FreeformTags Dictionary<string, object>

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

InstancePools List<ClusterNetworkInstancePoolArgs>

(Updatable) The data to create the instance pools in the cluster network.

PlacementConfiguration ClusterNetworkPlacementConfigurationArgs

The location for where the instance pools in a cluster network will place instances.

State string

The current state of the cluster network.

TimeCreated string

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

TimeUpdated string

The date and time the resource was updated, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

CompartmentId string

(Updatable) The OCID of the compartment containing the instance pool.

DefinedTags map[string]interface{}

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

DisplayName string

The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.

FreeformTags map[string]interface{}

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

InstancePools []ClusterNetworkInstancePoolArgs

(Updatable) The data to create the instance pools in the cluster network.

PlacementConfiguration ClusterNetworkPlacementConfigurationArgs

The location for where the instance pools in a cluster network will place instances.

State string

The current state of the cluster network.

TimeCreated string

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

TimeUpdated string

The date and time the resource was updated, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

compartmentId String

(Updatable) The OCID of the compartment containing the instance pool.

definedTags Map<String,Object>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

displayName String

The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.

freeformTags Map<String,Object>

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

instancePools List<ClusterNetworkInstancePoolArgs>

(Updatable) The data to create the instance pools in the cluster network.

placementConfiguration ClusterNetworkPlacementConfigurationArgs

The location for where the instance pools in a cluster network will place instances.

state String

The current state of the cluster network.

timeCreated String

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

timeUpdated String

The date and time the resource was updated, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

compartmentId string

(Updatable) The OCID of the compartment containing the instance pool.

definedTags {[key: string]: any}

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

displayName string

The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.

freeformTags {[key: string]: any}

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

instancePools ClusterNetworkInstancePoolArgs[]

(Updatable) The data to create the instance pools in the cluster network.

placementConfiguration ClusterNetworkPlacementConfigurationArgs

The location for where the instance pools in a cluster network will place instances.

state string

The current state of the cluster network.

timeCreated string

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

timeUpdated string

The date and time the resource was updated, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

compartment_id str

(Updatable) The OCID of the compartment containing the instance pool.

defined_tags Mapping[str, Any]

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

display_name str

The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.

freeform_tags Mapping[str, Any]

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

instance_pools ClusterNetworkInstancePoolArgs]

(Updatable) The data to create the instance pools in the cluster network.

placement_configuration ClusterNetworkPlacementConfigurationArgs

The location for where the instance pools in a cluster network will place instances.

state str

The current state of the cluster network.

time_created str

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

time_updated str

The date and time the resource was updated, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

compartmentId String

(Updatable) The OCID of the compartment containing the instance pool.

definedTags Map<Any>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

displayName String

The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.

freeformTags Map<Any>

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

instancePools List<Property Map>

(Updatable) The data to create the instance pools in the cluster network.

placementConfiguration Property Map

The location for where the instance pools in a cluster network will place instances.

state String

The current state of the cluster network.

timeCreated String

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

timeUpdated String

The date and time the resource was updated, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

Supporting Types

ClusterNetworkInstancePool

InstanceConfigurationId string

(Updatable) The OCID of the instance configuration associated with the instance pool.

Size int

(Updatable) The number of instances that should be in the instance pool.

CompartmentId string

(Updatable) The OCID of the compartment containing the instance pool.

DefinedTags Dictionary<string, object>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

DisplayName string

The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.

FreeformTags Dictionary<string, object>

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

Id string

The OCID of the load balancer attachment.

LoadBalancers List<ClusterNetworkInstancePoolLoadBalancer>

The load balancers attached to the instance pool.

PlacementConfigurations List<ClusterNetworkInstancePoolPlacementConfiguration>

The placement configurations for the instance pool.

State string

The current state of the cluster network.

TimeCreated string

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

InstanceConfigurationId string

(Updatable) The OCID of the instance configuration associated with the instance pool.

Size int

(Updatable) The number of instances that should be in the instance pool.

CompartmentId string

(Updatable) The OCID of the compartment containing the instance pool.

DefinedTags map[string]interface{}

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

DisplayName string

The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.

FreeformTags map[string]interface{}

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

Id string

The OCID of the load balancer attachment.

LoadBalancers []ClusterNetworkInstancePoolLoadBalancer

The load balancers attached to the instance pool.

PlacementConfigurations []ClusterNetworkInstancePoolPlacementConfiguration

The placement configurations for the instance pool.

State string

The current state of the cluster network.

TimeCreated string

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

instanceConfigurationId String

(Updatable) The OCID of the instance configuration associated with the instance pool.

size Integer

(Updatable) The number of instances that should be in the instance pool.

compartmentId String

(Updatable) The OCID of the compartment containing the instance pool.

definedTags Map<String,Object>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

displayName String

The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.

freeformTags Map<String,Object>

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

id String

The OCID of the load balancer attachment.

loadBalancers List<ClusterNetworkInstancePoolLoadBalancer>

The load balancers attached to the instance pool.

placementConfigurations List<ClusterNetworkInstancePoolPlacementConfiguration>

The placement configurations for the instance pool.

state String

The current state of the cluster network.

timeCreated String

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

instanceConfigurationId string

(Updatable) The OCID of the instance configuration associated with the instance pool.

size number

(Updatable) The number of instances that should be in the instance pool.

compartmentId string

(Updatable) The OCID of the compartment containing the instance pool.

definedTags {[key: string]: any}

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

displayName string

The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.

freeformTags {[key: string]: any}

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

id string

The OCID of the load balancer attachment.

loadBalancers ClusterNetworkInstancePoolLoadBalancer[]

The load balancers attached to the instance pool.

placementConfigurations ClusterNetworkInstancePoolPlacementConfiguration[]

The placement configurations for the instance pool.

state string

The current state of the cluster network.

timeCreated string

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

instance_configuration_id str

(Updatable) The OCID of the instance configuration associated with the instance pool.

size int

(Updatable) The number of instances that should be in the instance pool.

compartment_id str

(Updatable) The OCID of the compartment containing the instance pool.

defined_tags Mapping[str, Any]

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

display_name str

The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.

freeform_tags Mapping[str, Any]

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

id str

The OCID of the load balancer attachment.

load_balancers ClusterNetworkInstancePoolLoadBalancer]

The load balancers attached to the instance pool.

placement_configurations ClusterNetworkInstancePoolPlacementConfiguration]

The placement configurations for the instance pool.

state str

The current state of the cluster network.

time_created str

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

instanceConfigurationId String

(Updatable) The OCID of the instance configuration associated with the instance pool.

size Number

(Updatable) The number of instances that should be in the instance pool.

compartmentId String

(Updatable) The OCID of the compartment containing the instance pool.

definedTags Map<Any>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

displayName String

The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.

freeformTags Map<Any>

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

id String

The OCID of the load balancer attachment.

loadBalancers List<Property Map>

The load balancers attached to the instance pool.

placementConfigurations List<Property Map>

The placement configurations for the instance pool.

state String

The current state of the cluster network.

timeCreated String

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

ClusterNetworkInstancePoolLoadBalancer

BackendSetName string

The name of the backend set on the load balancer.

Id string

The OCID of the load balancer attachment.

InstancePoolId string

The OCID of the instance pool of the load balancer attachment.

LoadBalancerId string

The OCID of the load balancer attached to the instance pool.

Port int

The port value used for the backends.

State string

The current state of the cluster network.

VnicSelection string

Indicates which VNIC on each instance in the instance pool should be used to associate with the load balancer. Possible values are "PrimaryVnic" or the displayName of one of the secondary VNICs on the instance configuration that is associated with the instance pool.

BackendSetName string

The name of the backend set on the load balancer.

Id string

The OCID of the load balancer attachment.

InstancePoolId string

The OCID of the instance pool of the load balancer attachment.

LoadBalancerId string

The OCID of the load balancer attached to the instance pool.

Port int

The port value used for the backends.

State string

The current state of the cluster network.

VnicSelection string

Indicates which VNIC on each instance in the instance pool should be used to associate with the load balancer. Possible values are "PrimaryVnic" or the displayName of one of the secondary VNICs on the instance configuration that is associated with the instance pool.

backendSetName String

The name of the backend set on the load balancer.

id String

The OCID of the load balancer attachment.

instancePoolId String

The OCID of the instance pool of the load balancer attachment.

loadBalancerId String

The OCID of the load balancer attached to the instance pool.

port Integer

The port value used for the backends.

state String

The current state of the cluster network.

vnicSelection String

Indicates which VNIC on each instance in the instance pool should be used to associate with the load balancer. Possible values are "PrimaryVnic" or the displayName of one of the secondary VNICs on the instance configuration that is associated with the instance pool.

backendSetName string

The name of the backend set on the load balancer.

id string

The OCID of the load balancer attachment.

instancePoolId string

The OCID of the instance pool of the load balancer attachment.

loadBalancerId string

The OCID of the load balancer attached to the instance pool.

port number

The port value used for the backends.

state string

The current state of the cluster network.

vnicSelection string

Indicates which VNIC on each instance in the instance pool should be used to associate with the load balancer. Possible values are "PrimaryVnic" or the displayName of one of the secondary VNICs on the instance configuration that is associated with the instance pool.

backend_set_name str

The name of the backend set on the load balancer.

id str

The OCID of the load balancer attachment.

instance_pool_id str

The OCID of the instance pool of the load balancer attachment.

load_balancer_id str

The OCID of the load balancer attached to the instance pool.

port int

The port value used for the backends.

state str

The current state of the cluster network.

vnic_selection str

Indicates which VNIC on each instance in the instance pool should be used to associate with the load balancer. Possible values are "PrimaryVnic" or the displayName of one of the secondary VNICs on the instance configuration that is associated with the instance pool.

backendSetName String

The name of the backend set on the load balancer.

id String

The OCID of the load balancer attachment.

instancePoolId String

The OCID of the instance pool of the load balancer attachment.

loadBalancerId String

The OCID of the load balancer attached to the instance pool.

port Number

The port value used for the backends.

state String

The current state of the cluster network.

vnicSelection String

Indicates which VNIC on each instance in the instance pool should be used to associate with the load balancer. Possible values are "PrimaryVnic" or the displayName of one of the secondary VNICs on the instance configuration that is associated with the instance pool.

ClusterNetworkInstancePoolPlacementConfiguration

AvailabilityDomain string

The availability domain to place instances. Example: Uocm:PHX-AD-1

FaultDomains List<string>

The fault domains to place instances.

PrimarySubnetId string

The OCID of the primary subnet to place instances.

SecondaryVnicSubnets List<ClusterNetworkInstancePoolPlacementConfigurationSecondaryVnicSubnet>

The set of secondary VNIC data for instances in the pool.

AvailabilityDomain string

The availability domain to place instances. Example: Uocm:PHX-AD-1

FaultDomains []string

The fault domains to place instances.

PrimarySubnetId string

The OCID of the primary subnet to place instances.

SecondaryVnicSubnets []ClusterNetworkInstancePoolPlacementConfigurationSecondaryVnicSubnet

The set of secondary VNIC data for instances in the pool.

availabilityDomain String

The availability domain to place instances. Example: Uocm:PHX-AD-1

faultDomains List<String>

The fault domains to place instances.

primarySubnetId String

The OCID of the primary subnet to place instances.

secondaryVnicSubnets List<ClusterNetworkInstancePoolPlacementConfigurationSecondaryVnicSubnet>

The set of secondary VNIC data for instances in the pool.

availabilityDomain string

The availability domain to place instances. Example: Uocm:PHX-AD-1

faultDomains string[]

The fault domains to place instances.

primarySubnetId string

The OCID of the primary subnet to place instances.

secondaryVnicSubnets ClusterNetworkInstancePoolPlacementConfigurationSecondaryVnicSubnet[]

The set of secondary VNIC data for instances in the pool.

availability_domain str

The availability domain to place instances. Example: Uocm:PHX-AD-1

fault_domains Sequence[str]

The fault domains to place instances.

primary_subnet_id str

The OCID of the primary subnet to place instances.

secondary_vnic_subnets ClusterNetworkInstancePoolPlacementConfigurationSecondaryVnicSubnet]

The set of secondary VNIC data for instances in the pool.

availabilityDomain String

The availability domain to place instances. Example: Uocm:PHX-AD-1

faultDomains List<String>

The fault domains to place instances.

primarySubnetId String

The OCID of the primary subnet to place instances.

secondaryVnicSubnets List<Property Map>

The set of secondary VNIC data for instances in the pool.

ClusterNetworkInstancePoolPlacementConfigurationSecondaryVnicSubnet

DisplayName string

The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.

SubnetId string

The subnet OCID for the secondary VNIC.

DisplayName string

The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.

SubnetId string

The subnet OCID for the secondary VNIC.

displayName String

The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.

subnetId String

The subnet OCID for the secondary VNIC.

displayName string

The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.

subnetId string

The subnet OCID for the secondary VNIC.

display_name str

The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.

subnet_id str

The subnet OCID for the secondary VNIC.

displayName String

The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.

subnetId String

The subnet OCID for the secondary VNIC.

ClusterNetworkPlacementConfiguration

AvailabilityDomain string

The availability domain to place instances. Example: Uocm:PHX-AD-1

PrimarySubnetId string

The OCID of the primary subnet to place instances.

SecondaryVnicSubnets List<ClusterNetworkPlacementConfigurationSecondaryVnicSubnet>

The set of secondary VNIC data for instances in the pool.

AvailabilityDomain string

The availability domain to place instances. Example: Uocm:PHX-AD-1

PrimarySubnetId string

The OCID of the primary subnet to place instances.

SecondaryVnicSubnets []ClusterNetworkPlacementConfigurationSecondaryVnicSubnet

The set of secondary VNIC data for instances in the pool.

availabilityDomain String

The availability domain to place instances. Example: Uocm:PHX-AD-1

primarySubnetId String

The OCID of the primary subnet to place instances.

secondaryVnicSubnets List<ClusterNetworkPlacementConfigurationSecondaryVnicSubnet>

The set of secondary VNIC data for instances in the pool.

availabilityDomain string

The availability domain to place instances. Example: Uocm:PHX-AD-1

primarySubnetId string

The OCID of the primary subnet to place instances.

secondaryVnicSubnets ClusterNetworkPlacementConfigurationSecondaryVnicSubnet[]

The set of secondary VNIC data for instances in the pool.

availability_domain str

The availability domain to place instances. Example: Uocm:PHX-AD-1

primary_subnet_id str

The OCID of the primary subnet to place instances.

secondary_vnic_subnets ClusterNetworkPlacementConfigurationSecondaryVnicSubnet]

The set of secondary VNIC data for instances in the pool.

availabilityDomain String

The availability domain to place instances. Example: Uocm:PHX-AD-1

primarySubnetId String

The OCID of the primary subnet to place instances.

secondaryVnicSubnets List<Property Map>

The set of secondary VNIC data for instances in the pool.

ClusterNetworkPlacementConfigurationSecondaryVnicSubnet

SubnetId string

The subnet OCID for the secondary VNIC.

DisplayName string

The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.

SubnetId string

The subnet OCID for the secondary VNIC.

DisplayName string

The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.

subnetId String

The subnet OCID for the secondary VNIC.

displayName String

The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.

subnetId string

The subnet OCID for the secondary VNIC.

displayName string

The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.

subnet_id str

The subnet OCID for the secondary VNIC.

display_name str

The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.

subnetId String

The subnet OCID for the secondary VNIC.

displayName String

The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.

Import

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

 $ pulumi import oci:Core/clusterNetwork:ClusterNetwork test_cluster_network "id"

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.