import * as pulumi from "@pulumi/pulumi"; /** * This data source provides details about a specific Ipv6 resource in Oracle Cloud Infrastructure Core service. * * Gets the specified IPv6. You must specify the object's OCID. * Alternatively, you can get the object by using * [ListIpv6s](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/Ipv6/ListIpv6s) * with the IPv6 address (for example, 2001:0db8:0123:1111:98fe:dcba:9876:4321) and subnet [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testIpv6 = oci.core.getIpv6({ * ipv6id: testIpv6OciCoreIpv6.id, * }); * ``` */ export declare function getIpv6(args: GetIpv6Args, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getIpv6. */ export interface GetIpv6Args { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPv6. */ ipv6id: string; } /** * A collection of values returned by getIpv6. */ export interface GetIpv6Result { /** * Length of cidr range. Optional field to specify flexible cidr. */ readonly cidrPrefixLength: number; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the IPv6. This is the same as the VNIC's compartment. */ readonly compartmentId: string; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: { [key: string]: string; }; /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ readonly displayName: string; /** * 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: { [key: string]: string; }; /** * The hostname associated with the IPv6 address. Only the hostname label, not the FQDN. */ readonly hostname: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPv6. */ readonly id: string; /** * The IPv6 address of the `IPv6` object. The address is within the IPv6 prefix of the VNIC's subnet (see the `ipv6CidrBlock` attribute for the [Subnet](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/Subnet/) object. Example: `2001:0db8:0123:1111:abcd:ef01:2345:6789` */ readonly ipAddress: string; /** * State of the IP address. If an IP address is assigned to a VNIC it is ASSIGNED, otherwise it is AVAILABLE. */ readonly ipState: string; readonly ipv6id: string; readonly ipv6subnetCidr: string; /** * Lifetime of the IP address. There are two types of IPv6 IPs: * * Ephemeral * * Reserved */ readonly lifetime: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the IP address or VNIC will use. For more information, see [Source Based Routing](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing). */ readonly routeTableId: string; /** * The IPv6's current state. */ readonly state: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the VNIC is in. */ readonly subnetId: string; /** * The date and time the IPv6 was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ readonly timeCreated: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC the IPv6 is assigned to. The VNIC and IPv6 must be in the same subnet. */ readonly vnicId: string; } /** * This data source provides details about a specific Ipv6 resource in Oracle Cloud Infrastructure Core service. * * Gets the specified IPv6. You must specify the object's OCID. * Alternatively, you can get the object by using * [ListIpv6s](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/Ipv6/ListIpv6s) * with the IPv6 address (for example, 2001:0db8:0123:1111:98fe:dcba:9876:4321) and subnet [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testIpv6 = oci.core.getIpv6({ * ipv6id: testIpv6OciCoreIpv6.id, * }); * ``` */ export declare function getIpv6Output(args: GetIpv6OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getIpv6. */ export interface GetIpv6OutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPv6. */ ipv6id: pulumi.Input; } //# sourceMappingURL=getIpv6.d.ts.map