1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Core
  5. Ipv6
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.Core.Ipv6

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 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("test_ipv6", {
        vnicId: testVnicAttachment.id,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        displayName: ipv6DisplayName,
        freeformTags: {
            Department: "Finance",
        },
        ipAddress: ipv6IpAddress,
        ipv6subnetCidr: ipv6Ipv6subnetCidr,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_ipv6 = oci.core.Ipv6("test_ipv6",
        vnic_id=test_vnic_attachment["id"],
        defined_tags={
            "Operations.CostCenter": "42",
        },
        display_name=ipv6_display_name,
        freeform_tags={
            "Department": "Finance",
        },
        ip_address=ipv6_ip_address,
        ipv6subnet_cidr=ipv6_ipv6subnet_cidr)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Core"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Core.NewIpv6(ctx, "test_ipv6", &Core.Ipv6Args{
    			VnicId: pulumi.Any(testVnicAttachment.Id),
    			DefinedTags: pulumi.StringMap{
    				"Operations.CostCenter": pulumi.String("42"),
    			},
    			DisplayName: pulumi.Any(ipv6DisplayName),
    			FreeformTags: pulumi.StringMap{
    				"Department": pulumi.String("Finance"),
    			},
    			IpAddress:      pulumi.Any(ipv6IpAddress),
    			Ipv6subnetCidr: pulumi.Any(ipv6Ipv6subnetCidr),
    		})
    		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("test_ipv6", new()
        {
            VnicId = testVnicAttachment.Id,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            DisplayName = ipv6DisplayName,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            IpAddress = ipv6IpAddress,
            Ipv6subnetCidr = ipv6Ipv6subnetCidr,
        });
    
    });
    
    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(testVnicAttachment.id())
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .displayName(ipv6DisplayName)
                .freeformTags(Map.of("Department", "Finance"))
                .ipAddress(ipv6IpAddress)
                .ipv6subnetCidr(ipv6Ipv6subnetCidr)
                .build());
    
        }
    }
    
    resources:
      testIpv6:
        type: oci:Core:Ipv6
        name: test_ipv6
        properties:
          vnicId: ${testVnicAttachment.id}
          definedTags:
            Operations.CostCenter: '42'
          displayName: ${ipv6DisplayName}
          freeformTags:
            Department: Finance
          ipAddress: ${ipv6IpAddress}
          ipv6subnetCidr: ${ipv6Ipv6subnetCidr}
    

    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, str]] = None,
             display_name: Optional[str] = None,
             freeform_tags: Optional[Mapping[str, str]] = 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.

    Constructor example

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

    var ipv6Resource = new Oci.Core.Ipv6("ipv6Resource", new()
    {
        VnicId = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "string" },
        },
        IpAddress = "string",
        Ipv6subnetCidr = "string",
    });
    
    example, err := Core.NewIpv6(ctx, "ipv6Resource", &Core.Ipv6Args{
    	VnicId: pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	DisplayName: pulumi.String("string"),
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	IpAddress:      pulumi.String("string"),
    	Ipv6subnetCidr: pulumi.String("string"),
    })
    
    var ipv6Resource = new Ipv6("ipv6Resource", Ipv6Args.builder()
        .vnicId("string")
        .definedTags(Map.of("string", "string"))
        .displayName("string")
        .freeformTags(Map.of("string", "string"))
        .ipAddress("string")
        .ipv6subnetCidr("string")
        .build());
    
    ipv6_resource = oci.core.Ipv6("ipv6Resource",
        vnic_id="string",
        defined_tags={
            "string": "string",
        },
        display_name="string",
        freeform_tags={
            "string": "string",
        },
        ip_address="string",
        ipv6subnet_cidr="string")
    
    const ipv6Resource = new oci.core.Ipv6("ipv6Resource", {
        vnicId: "string",
        definedTags: {
            string: "string",
        },
        displayName: "string",
        freeformTags: {
            string: "string",
        },
        ipAddress: "string",
        ipv6subnetCidr: "string",
    });
    
    type: oci:Core:Ipv6
    properties:
        definedTags:
            string: string
        displayName: string
        freeformTags:
            string: string
        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, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags Dictionary<string, string>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    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]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags map[string]string
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    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,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<String,String>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    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]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags {[key: string]: string}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    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, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    display_name str
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeform_tags Mapping[str, str]
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    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<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<String>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    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, str]] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = 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, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags Dictionary<string, string>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    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]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags map[string]string
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    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,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<String,String>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    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]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags {[key: string]: string}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    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, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    display_name str
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeform_tags Mapping[str, str]
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    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<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<String>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    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 v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi