1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Core
  5. Ipv6
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

oci.Core.Ipv6

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

    This resource provides the Ipv6 resource in Oracle Cloud Infrastructure Core service.

    Creates an IPv6 for the specified VNIC.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testIpv6 = new oci.core.Ipv6("testIpv6", {
        vnicId: oci_core_vnic_attachment.test_vnic_attachment.id,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        displayName: _var.ipv6_display_name,
        freeformTags: {
            Department: "Finance",
        },
        ipAddress: _var.ipv6_ip_address,
        ipv6subnetCidr: _var.ipv6_ipv6subnet_cidr,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_ipv6 = oci.core.Ipv6("testIpv6",
        vnic_id=oci_core_vnic_attachment["test_vnic_attachment"]["id"],
        defined_tags={
            "Operations.CostCenter": "42",
        },
        display_name=var["ipv6_display_name"],
        freeform_tags={
            "Department": "Finance",
        },
        ip_address=var["ipv6_ip_address"],
        ipv6subnet_cidr=var["ipv6_ipv6subnet_cidr"])
    
    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.NewIpv6(ctx, "testIpv6", &Core.Ipv6Args{
    			VnicId: pulumi.Any(oci_core_vnic_attachment.Test_vnic_attachment.Id),
    			DefinedTags: pulumi.Map{
    				"Operations.CostCenter": pulumi.Any("42"),
    			},
    			DisplayName: pulumi.Any(_var.Ipv6_display_name),
    			FreeformTags: pulumi.Map{
    				"Department": pulumi.Any("Finance"),
    			},
    			IpAddress:      pulumi.Any(_var.Ipv6_ip_address),
    			Ipv6subnetCidr: pulumi.Any(_var.Ipv6_ipv6subnet_cidr),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testIpv6 = new Oci.Core.Ipv6("testIpv6", new()
        {
            VnicId = oci_core_vnic_attachment.Test_vnic_attachment.Id,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            DisplayName = @var.Ipv6_display_name,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            IpAddress = @var.Ipv6_ip_address,
            Ipv6subnetCidr = @var.Ipv6_ipv6subnet_cidr,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Core.Ipv6;
    import com.pulumi.oci.Core.Ipv6Args;
    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 testIpv6 = new Ipv6("testIpv6", Ipv6Args.builder()        
                .vnicId(oci_core_vnic_attachment.test_vnic_attachment().id())
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .displayName(var_.ipv6_display_name())
                .freeformTags(Map.of("Department", "Finance"))
                .ipAddress(var_.ipv6_ip_address())
                .ipv6subnetCidr(var_.ipv6_ipv6subnet_cidr())
                .build());
    
        }
    }
    
    resources:
      testIpv6:
        type: oci:Core:Ipv6
        properties:
          #Required
          vnicId: ${oci_core_vnic_attachment.test_vnic_attachment.id}
          #Optional
          definedTags:
            Operations.CostCenter: '42'
          displayName: ${var.ipv6_display_name}
          freeformTags:
            Department: Finance
          ipAddress: ${var.ipv6_ip_address}
          ipv6subnetCidr: ${var.ipv6_ipv6subnet_cidr}
    

    Create Ipv6 Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Ipv6(name: string, args: Ipv6Args, opts?: CustomResourceOptions);
    @overload
    def Ipv6(resource_name: str,
             args: Ipv6Args,
             opts: Optional[ResourceOptions] = None)
    
    @overload
    def Ipv6(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             vnic_id: Optional[str] = None,
             defined_tags: Optional[Mapping[str, Any]] = None,
             display_name: Optional[str] = None,
             freeform_tags: Optional[Mapping[str, Any]] = None,
             ip_address: Optional[str] = None,
             ipv6subnet_cidr: Optional[str] = None)
    func NewIpv6(ctx *Context, name string, args Ipv6Args, opts ...ResourceOption) (*Ipv6, error)
    public Ipv6(string name, Ipv6Args args, CustomResourceOptions? opts = null)
    public Ipv6(String name, Ipv6Args args)
    public Ipv6(String name, Ipv6Args args, CustomResourceOptions options)
    
    type: oci:Core:Ipv6
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

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

    Example

    The following reference example uses placeholder values for all input properties.

    var ipv6Resource = new Oci.Core.Ipv6("ipv6Resource", new()
    {
        VnicId = "string",
        DefinedTags = 
        {
            { "string", "any" },
        },
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "any" },
        },
        IpAddress = "string",
        Ipv6subnetCidr = "string",
    });
    
    example, err := Core.NewIpv6(ctx, "ipv6Resource", &Core.Ipv6Args{
    	VnicId: pulumi.String("string"),
    	DefinedTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	DisplayName: pulumi.String("string"),
    	FreeformTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	IpAddress:      pulumi.String("string"),
    	Ipv6subnetCidr: pulumi.String("string"),
    })
    
    var ipv6Resource = new Ipv6("ipv6Resource", Ipv6Args.builder()        
        .vnicId("string")
        .definedTags(Map.of("string", "any"))
        .displayName("string")
        .freeformTags(Map.of("string", "any"))
        .ipAddress("string")
        .ipv6subnetCidr("string")
        .build());
    
    ipv6_resource = oci.core.Ipv6("ipv6Resource",
        vnic_id="string",
        defined_tags={
            "string": "any",
        },
        display_name="string",
        freeform_tags={
            "string": "any",
        },
        ip_address="string",
        ipv6subnet_cidr="string")
    
    const ipv6Resource = new oci.core.Ipv6("ipv6Resource", {
        vnicId: "string",
        definedTags: {
            string: "any",
        },
        displayName: "string",
        freeformTags: {
            string: "any",
        },
        ipAddress: "string",
        ipv6subnetCidr: "string",
    });
    
    type: oci:Core:Ipv6
    properties:
        definedTags:
            string: any
        displayName: string
        freeformTags:
            string: any
        ipAddress: string
        ipv6subnetCidr: string
        vnicId: string
    

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

    VnicId string

    (Updatable) The OCID of the VNIC to assign the IPv6 to. The IPv6 will be in the VNIC's subnet.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    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"}
    IpAddress string
    An IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns an IPv6 address from the subnet. The subnet is the one that contains the VNIC you specify in vnicId. Example: 2001:DB8::
    Ipv6subnetCidr string
    The IPv6 prefix allocated to the subnet. This is required if more than one IPv6 prefix exists on the subnet.
    VnicId string

    (Updatable) The OCID of the VNIC to assign the IPv6 to. The IPv6 will be in the VNIC's subnet.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    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"}
    IpAddress string
    An IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns an IPv6 address from the subnet. The subnet is the one that contains the VNIC you specify in vnicId. Example: 2001:DB8::
    Ipv6subnetCidr string
    The IPv6 prefix allocated to the subnet. This is required if more than one IPv6 prefix exists on the subnet.
    vnicId String

    (Updatable) The OCID of the VNIC to assign the IPv6 to. The IPv6 will be in the VNIC's subnet.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    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"}
    ipAddress String
    An IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns an IPv6 address from the subnet. The subnet is the one that contains the VNIC you specify in vnicId. Example: 2001:DB8::
    ipv6subnetCidr String
    The IPv6 prefix allocated to the subnet. This is required if more than one IPv6 prefix exists on the subnet.
    vnicId string

    (Updatable) The OCID of the VNIC to assign the IPv6 to. The IPv6 will be in the VNIC's subnet.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    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"}
    ipAddress string
    An IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns an IPv6 address from the subnet. The subnet is the one that contains the VNIC you specify in vnicId. Example: 2001:DB8::
    ipv6subnetCidr string
    The IPv6 prefix allocated to the subnet. This is required if more than one IPv6 prefix exists on the subnet.
    vnic_id str

    (Updatable) The OCID of the VNIC to assign the IPv6 to. The IPv6 will be in the VNIC's subnet.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    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"}
    ip_address str
    An IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns an IPv6 address from the subnet. The subnet is the one that contains the VNIC you specify in vnicId. Example: 2001:DB8::
    ipv6subnet_cidr str
    The IPv6 prefix allocated to the subnet. This is required if more than one IPv6 prefix exists on the subnet.
    vnicId String

    (Updatable) The OCID of the VNIC to assign the IPv6 to. The IPv6 will be in the VNIC's subnet.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    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"}
    ipAddress String
    An IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns an IPv6 address from the subnet. The subnet is the one that contains the VNIC you specify in vnicId. Example: 2001:DB8::
    ipv6subnetCidr String
    The IPv6 prefix allocated to the subnet. This is required if more than one IPv6 prefix exists on the subnet.

    Outputs

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

    CompartmentId string
    The OCID of the compartment containing the IPv6. This is the same as the VNIC's compartment.
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The IPv6's current state.
    SubnetId string
    The OCID of the subnet the VNIC is in.
    TimeCreated string
    The date and time the IPv6 was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    CompartmentId string
    The OCID of the compartment containing the IPv6. This is the same as the VNIC's compartment.
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The IPv6's current state.
    SubnetId string
    The OCID of the subnet the VNIC is in.
    TimeCreated string
    The date and time the IPv6 was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    compartmentId String
    The OCID of the compartment containing the IPv6. This is the same as the VNIC's compartment.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The IPv6's current state.
    subnetId String
    The OCID of the subnet the VNIC is in.
    timeCreated String
    The date and time the IPv6 was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    compartmentId string
    The OCID of the compartment containing the IPv6. This is the same as the VNIC's compartment.
    id string
    The provider-assigned unique ID for this managed resource.
    state string
    The IPv6's current state.
    subnetId string
    The OCID of the subnet the VNIC is in.
    timeCreated string
    The date and time the IPv6 was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    compartment_id str
    The OCID of the compartment containing the IPv6. This is the same as the VNIC's compartment.
    id str
    The provider-assigned unique ID for this managed resource.
    state str
    The IPv6's current state.
    subnet_id str
    The OCID of the subnet the VNIC is in.
    time_created str
    The date and time the IPv6 was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    compartmentId String
    The OCID of the compartment containing the IPv6. This is the same as the VNIC's compartment.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The IPv6's current state.
    subnetId String
    The OCID of the subnet the VNIC is in.
    timeCreated String
    The date and time the IPv6 was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

    Look up Existing Ipv6 Resource

    Get an existing Ipv6 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?: Ipv6State, opts?: CustomResourceOptions): Ipv6
    @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,
            ip_address: Optional[str] = None,
            ipv6subnet_cidr: Optional[str] = None,
            state: Optional[str] = None,
            subnet_id: Optional[str] = None,
            time_created: Optional[str] = None,
            vnic_id: Optional[str] = None) -> Ipv6
    func GetIpv6(ctx *Context, name string, id IDInput, state *Ipv6State, opts ...ResourceOption) (*Ipv6, error)
    public static Ipv6 Get(string name, Input<string> id, Ipv6State? state, CustomResourceOptions? opts = null)
    public static Ipv6 get(String name, Output<String> id, Ipv6State 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
    The OCID of the compartment containing the IPv6. This is the same as the VNIC's compartment.
    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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    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"}
    IpAddress string
    An IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns an IPv6 address from the subnet. The subnet is the one that contains the VNIC you specify in vnicId. Example: 2001:DB8::
    Ipv6subnetCidr string
    The IPv6 prefix allocated to the subnet. This is required if more than one IPv6 prefix exists on the subnet.
    State string
    The IPv6's current state.
    SubnetId string
    The OCID of the subnet the VNIC is in.
    TimeCreated string
    The date and time the IPv6 was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    VnicId string

    (Updatable) The OCID of the VNIC to assign the IPv6 to. The IPv6 will be in the VNIC's subnet.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    CompartmentId string
    The OCID of the compartment containing the IPv6. This is the same as the VNIC's compartment.
    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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    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"}
    IpAddress string
    An IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns an IPv6 address from the subnet. The subnet is the one that contains the VNIC you specify in vnicId. Example: 2001:DB8::
    Ipv6subnetCidr string
    The IPv6 prefix allocated to the subnet. This is required if more than one IPv6 prefix exists on the subnet.
    State string
    The IPv6's current state.
    SubnetId string
    The OCID of the subnet the VNIC is in.
    TimeCreated string
    The date and time the IPv6 was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    VnicId string

    (Updatable) The OCID of the VNIC to assign the IPv6 to. The IPv6 will be in the VNIC's subnet.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId String
    The OCID of the compartment containing the IPv6. This is the same as the VNIC's compartment.
    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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    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"}
    ipAddress String
    An IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns an IPv6 address from the subnet. The subnet is the one that contains the VNIC you specify in vnicId. Example: 2001:DB8::
    ipv6subnetCidr String
    The IPv6 prefix allocated to the subnet. This is required if more than one IPv6 prefix exists on the subnet.
    state String
    The IPv6's current state.
    subnetId String
    The OCID of the subnet the VNIC is in.
    timeCreated String
    The date and time the IPv6 was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    vnicId String

    (Updatable) The OCID of the VNIC to assign the IPv6 to. The IPv6 will be in the VNIC's subnet.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId string
    The OCID of the compartment containing the IPv6. This is the same as the VNIC's compartment.
    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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    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"}
    ipAddress string
    An IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns an IPv6 address from the subnet. The subnet is the one that contains the VNIC you specify in vnicId. Example: 2001:DB8::
    ipv6subnetCidr string
    The IPv6 prefix allocated to the subnet. This is required if more than one IPv6 prefix exists on the subnet.
    state string
    The IPv6's current state.
    subnetId string
    The OCID of the subnet the VNIC is in.
    timeCreated string
    The date and time the IPv6 was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    vnicId string

    (Updatable) The OCID of the VNIC to assign the IPv6 to. The IPv6 will be in the VNIC's subnet.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartment_id str
    The OCID of the compartment containing the IPv6. This is the same as the VNIC's compartment.
    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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    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"}
    ip_address str
    An IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns an IPv6 address from the subnet. The subnet is the one that contains the VNIC you specify in vnicId. Example: 2001:DB8::
    ipv6subnet_cidr str
    The IPv6 prefix allocated to the subnet. This is required if more than one IPv6 prefix exists on the subnet.
    state str
    The IPv6's current state.
    subnet_id str
    The OCID of the subnet the VNIC is in.
    time_created str
    The date and time the IPv6 was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    vnic_id str

    (Updatable) The OCID of the VNIC to assign the IPv6 to. The IPv6 will be in the VNIC's subnet.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId String
    The OCID of the compartment containing the IPv6. This is the same as the VNIC's compartment.
    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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    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"}
    ipAddress String
    An IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns an IPv6 address from the subnet. The subnet is the one that contains the VNIC you specify in vnicId. Example: 2001:DB8::
    ipv6subnetCidr String
    The IPv6 prefix allocated to the subnet. This is required if more than one IPv6 prefix exists on the subnet.
    state String
    The IPv6's current state.
    subnetId String
    The OCID of the subnet the VNIC is in.
    timeCreated String
    The date and time the IPv6 was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    vnicId String

    (Updatable) The OCID of the VNIC to assign the IPv6 to. The IPv6 will be in the VNIC's subnet.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Import

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

    $ pulumi import oci:Core/ipv6:Ipv6 test_ipv6 "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi