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:
- Compartment
Id string (Updatable) The OCID of the compartment containing the instance pool.
- Instance
Pools List<ClusterNetwork Instance Pool Args> (Updatable) The data to create the instance pools in the cluster network.
- Placement
Configuration ClusterNetwork Placement Configuration Args The location for where the instance pools in a cluster network will place instances.
- 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 The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
- 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"}
- Compartment
Id string (Updatable) The OCID of the compartment containing the instance pool.
- Instance
Pools []ClusterNetwork Instance Pool Args (Updatable) The data to create the instance pools in the cluster network.
- Placement
Configuration ClusterNetwork Placement Configuration Args The location for where the instance pools in a cluster network will place instances.
- 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 The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
- 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"}
- compartment
Id String (Updatable) The OCID of the compartment containing the instance pool.
- instance
Pools List<ClusterNetwork Instance Pool Args> (Updatable) The data to create the instance pools in the cluster network.
- placement
Configuration ClusterNetwork Placement Configuration Args The location for where the instance pools in a cluster network will place instances.
- 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 The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
- 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"}
- compartment
Id string (Updatable) The OCID of the compartment containing the instance pool.
- instance
Pools ClusterNetwork Instance Pool Args[] (Updatable) The data to create the instance pools in the cluster network.
- placement
Configuration ClusterNetwork Placement Configuration Args The location for where the instance pools in a cluster network will place instances.
- {[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 The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
- {[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 ClusterNetwork Instance Pool Args] (Updatable) The data to create the instance pools in the cluster network.
- placement_
configuration ClusterNetwork Placement Configuration Args The location for where the instance pools in a cluster network will place instances.
- 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.
- 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"}
- compartment
Id String (Updatable) The OCID of the compartment containing the instance pool.
- instance
Pools List<Property Map> (Updatable) The data to create the instance pools in the cluster network.
- placement
Configuration Property Map The location for where the instance pools in a cluster network will place instances.
- 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 The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
- 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.
- Time
Created string The date and time the resource was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- Time
Updated 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.
- Time
Created string The date and time the resource was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- Time
Updated 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.
- time
Created String The date and time the resource was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- time
Updated 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.
- time
Created string The date and time the resource was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- time
Updated 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.
- time
Created String The date and time the resource was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- time
Updated 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.
- Compartment
Id string (Updatable) The OCID of the compartment containing the instance 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 The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
- 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"}
- Instance
Pools List<ClusterNetwork Instance Pool Args> (Updatable) The data to create the instance pools in the cluster network.
- Placement
Configuration ClusterNetwork Placement Configuration Args The location for where the instance pools in a cluster network will place instances.
- State string
The current state of the cluster network.
- Time
Created string The date and time the resource was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- Time
Updated string The date and time the resource was updated, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- Compartment
Id string (Updatable) The OCID of the compartment containing the instance 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 The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
- 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"}
- Instance
Pools []ClusterNetwork Instance Pool Args (Updatable) The data to create the instance pools in the cluster network.
- Placement
Configuration ClusterNetwork Placement Configuration Args The location for where the instance pools in a cluster network will place instances.
- State string
The current state of the cluster network.
- Time
Created string The date and time the resource was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- Time
Updated string The date and time the resource was updated, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- compartment
Id String (Updatable) The OCID of the compartment containing the instance 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 The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
- 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"}
- instance
Pools List<ClusterNetwork Instance Pool Args> (Updatable) The data to create the instance pools in the cluster network.
- placement
Configuration ClusterNetwork Placement Configuration Args The location for where the instance pools in a cluster network will place instances.
- state String
The current state of the cluster network.
- time
Created String The date and time the resource was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- time
Updated String The date and time the resource was updated, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- compartment
Id string (Updatable) The OCID of the compartment containing the instance 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 The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
- {[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"}
- instance
Pools ClusterNetwork Instance Pool Args[] (Updatable) The data to create the instance pools in the cluster network.
- placement
Configuration ClusterNetwork Placement Configuration Args The location for where the instance pools in a cluster network will place instances.
- state string
The current state of the cluster network.
- time
Created string The date and time the resource was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- time
Updated 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.
- 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.
- 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 ClusterNetwork Instance Pool Args] (Updatable) The data to create the instance pools in the cluster network.
- placement_
configuration ClusterNetwork Placement Configuration Args 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
- compartment
Id String (Updatable) The OCID of the compartment containing the instance 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 The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
- 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"}
- instance
Pools List<Property Map> (Updatable) The data to create the instance pools in the cluster network.
- placement
Configuration 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.
- time
Created String The date and time the resource was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- time
Updated 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
- Instance
Configuration stringId (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 string (Updatable) The OCID of the compartment containing the instance 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 The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
- 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.
- Load
Balancers List<ClusterNetwork Instance Pool Load Balancer> The load balancers attached to the instance pool.
- Placement
Configurations List<ClusterNetwork Instance Pool Placement Configuration> The placement configurations for the instance pool.
- State string
The current state of the cluster network.
- Time
Created string The date and time the resource was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- Instance
Configuration stringId (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 string (Updatable) The OCID of the compartment containing the instance 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 The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
- 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.
- Load
Balancers []ClusterNetwork Instance Pool Load Balancer The load balancers attached to the instance pool.
- Placement
Configurations []ClusterNetwork Instance Pool Placement Configuration The placement configurations for the instance pool.
- State string
The current state of the cluster network.
- Time
Created string The date and time the resource was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- instance
Configuration StringId (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.
- compartment
Id String (Updatable) The OCID of the compartment containing the instance 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 The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
- 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.
- load
Balancers List<ClusterNetwork Instance Pool Load Balancer> The load balancers attached to the instance pool.
- placement
Configurations List<ClusterNetwork Instance Pool Placement Configuration> The placement configurations for the instance pool.
- state String
The current state of the cluster network.
- time
Created String The date and time the resource was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- instance
Configuration stringId (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.
- compartment
Id string (Updatable) The OCID of the compartment containing the instance 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 The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
- {[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.
- load
Balancers ClusterNetwork Instance Pool Load Balancer[] The load balancers attached to the instance pool.
- placement
Configurations ClusterNetwork Instance Pool Placement Configuration[] The placement configurations for the instance pool.
- state string
The current state of the cluster network.
- time
Created string The date and time the resource was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- instance_
configuration_ strid (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.
- 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.
- 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 ClusterNetwork Instance Pool Load Balancer] The load balancers attached to the instance pool.
- placement_
configurations ClusterNetwork Instance Pool Placement Configuration] 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
- instance
Configuration StringId (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.
- compartment
Id String (Updatable) The OCID of the compartment containing the instance 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 The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
- 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.
- load
Balancers List<Property Map> The load balancers attached to the instance pool.
- placement
Configurations List<Property Map> The placement configurations for the instance pool.
- state String
The current state of the cluster network.
- time
Created String The date and time the resource was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
ClusterNetworkInstancePoolLoadBalancer
- Backend
Set stringName The name of the backend set on the load balancer.
- Id string
The OCID of the load balancer attachment.
- Instance
Pool stringId The OCID of the instance pool of the load balancer attachment.
- Load
Balancer stringId 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.
- Vnic
Selection 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 stringName The name of the backend set on the load balancer.
- Id string
The OCID of the load balancer attachment.
- Instance
Pool stringId The OCID of the instance pool of the load balancer attachment.
- Load
Balancer stringId 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.
- Vnic
Selection 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 StringName The name of the backend set on the load balancer.
- id String
The OCID of the load balancer attachment.
- instance
Pool StringId The OCID of the instance pool of the load balancer attachment.
- load
Balancer StringId 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.
- vnic
Selection 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 stringName The name of the backend set on the load balancer.
- id string
The OCID of the load balancer attachment.
- instance
Pool stringId The OCID of the instance pool of the load balancer attachment.
- load
Balancer stringId 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.
- vnic
Selection 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_ strname The name of the backend set on the load balancer.
- id str
The OCID of the load balancer attachment.
- instance_
pool_ strid The OCID of the instance pool of the load balancer attachment.
- load_
balancer_ strid 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.
- backend
Set StringName The name of the backend set on the load balancer.
- id String
The OCID of the load balancer attachment.
- instance
Pool StringId The OCID of the instance pool of the load balancer attachment.
- load
Balancer StringId 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.
- vnic
Selection 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
- Availability
Domain string The availability domain to place instances. Example:
Uocm:PHX-AD-1
- Fault
Domains List<string> The fault domains to place instances.
- Primary
Subnet stringId The OCID of the primary subnet to place instances.
- Secondary
Vnic List<ClusterSubnets Network Instance Pool Placement Configuration Secondary Vnic Subnet> The set of secondary VNIC data for instances in the pool.
- Availability
Domain string The availability domain to place instances. Example:
Uocm:PHX-AD-1
- Fault
Domains []string The fault domains to place instances.
- Primary
Subnet stringId The OCID of the primary subnet to place instances.
- Secondary
Vnic []ClusterSubnets Network Instance Pool Placement Configuration Secondary Vnic Subnet The set of secondary VNIC data for instances in the pool.
- availability
Domain String The availability domain to place instances. Example:
Uocm:PHX-AD-1
- fault
Domains List<String> The fault domains to place instances.
- primary
Subnet StringId The OCID of the primary subnet to place instances.
- secondary
Vnic List<ClusterSubnets Network Instance Pool Placement Configuration Secondary Vnic Subnet> The set of secondary VNIC data for instances in the pool.
- availability
Domain string The availability domain to place instances. Example:
Uocm:PHX-AD-1
- fault
Domains string[] The fault domains to place instances.
- primary
Subnet stringId The OCID of the primary subnet to place instances.
- secondary
Vnic ClusterSubnets Network Instance Pool Placement Configuration Secondary Vnic Subnet[] 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_ strid The OCID of the primary subnet to place instances.
- secondary_
vnic_ Clustersubnets Network Instance Pool Placement Configuration Secondary Vnic Subnet] The set of secondary VNIC data for instances in the pool.
- availability
Domain String The availability domain to place instances. Example:
Uocm:PHX-AD-1
- fault
Domains List<String> The fault domains to place instances.
- primary
Subnet StringId The OCID of the primary subnet to place instances.
- secondary
Vnic List<Property Map>Subnets The set of secondary VNIC data for instances in the pool.
ClusterNetworkInstancePoolPlacementConfigurationSecondaryVnicSubnet
- Display
Name string The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
- Subnet
Id string The subnet OCID for the secondary VNIC.
- Display
Name string The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
- Subnet
Id string The subnet OCID for the secondary VNIC.
- display
Name String The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
- subnet
Id String The subnet OCID for the secondary VNIC.
- display
Name string The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
- subnet
Id 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.
- display
Name String The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
- subnet
Id String The subnet OCID for the secondary VNIC.
ClusterNetworkPlacementConfiguration
- Availability
Domain string The availability domain to place instances. Example:
Uocm:PHX-AD-1
- Primary
Subnet stringId The OCID of the primary subnet to place instances.
- Secondary
Vnic List<ClusterSubnets Network Placement Configuration Secondary Vnic Subnet> The set of secondary VNIC data for instances in the pool.
- Availability
Domain string The availability domain to place instances. Example:
Uocm:PHX-AD-1
- Primary
Subnet stringId The OCID of the primary subnet to place instances.
- Secondary
Vnic []ClusterSubnets Network Placement Configuration Secondary Vnic Subnet The set of secondary VNIC data for instances in the pool.
- availability
Domain String The availability domain to place instances. Example:
Uocm:PHX-AD-1
- primary
Subnet StringId The OCID of the primary subnet to place instances.
- secondary
Vnic List<ClusterSubnets Network Placement Configuration Secondary Vnic Subnet> The set of secondary VNIC data for instances in the pool.
- availability
Domain string The availability domain to place instances. Example:
Uocm:PHX-AD-1
- primary
Subnet stringId The OCID of the primary subnet to place instances.
- secondary
Vnic ClusterSubnets Network Placement Configuration Secondary Vnic Subnet[] 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_ strid The OCID of the primary subnet to place instances.
- secondary_
vnic_ Clustersubnets Network Placement Configuration Secondary Vnic Subnet] The set of secondary VNIC data for instances in the pool.
- availability
Domain String The availability domain to place instances. Example:
Uocm:PHX-AD-1
- primary
Subnet StringId The OCID of the primary subnet to place instances.
- secondary
Vnic List<Property Map>Subnets The set of secondary VNIC data for instances in the pool.
ClusterNetworkPlacementConfigurationSecondaryVnicSubnet
- Subnet
Id string The subnet OCID for the secondary VNIC.
- Display
Name string The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
- Subnet
Id string The subnet OCID for the secondary VNIC.
- Display
Name string The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
- subnet
Id String The subnet OCID for the secondary VNIC.
- display
Name String The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
- subnet
Id string The subnet OCID for the secondary VNIC.
- display
Name 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.
- subnet
Id String The subnet OCID for the secondary VNIC.
- display
Name 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.