import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Vcn resource in Oracle Cloud Infrastructure Core service. * * Gets the specified VCN's information. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testVcn = oci.core.getVcn({ * vcnId: testVcnOciCoreVcn.id, * }); * ``` */ export declare function getVcn(args: GetVcnArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getVcn. */ export interface GetVcnArgs { /** * Specify the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. */ vcnId: string; } /** * A collection of values returned by getVcn. */ export interface GetVcnResult { /** * The list of BYOIPv6 prefixes required to create a VCN that uses BYOIPv6 ranges. */ readonly byoipv6cidrBlocks: string[]; readonly byoipv6cidrDetails: outputs.Core.GetVcnByoipv6cidrDetail[]; /** * Deprecated. The first CIDR IP address from cidrBlocks. Example: `172.16.0.0/16` */ readonly cidrBlock: string; /** * The list of IPv4 CIDR blocks the VCN will use. */ readonly cidrBlocks: string[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the VCN. */ readonly compartmentId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the VCN's default set of DHCP options. */ readonly defaultDhcpOptionsId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the VCN's default route table. */ readonly defaultRouteTableId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the VCN's default security list. */ readonly defaultSecurityListId: 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; /** * A DNS label for the VCN, used in conjunction with the VNIC's hostname and subnet's DNS label to form a fully qualified domain name (FQDN) for each VNIC within this subnet (for example, `bminstance1.subnet123.vcn1.oraclevcn.com`). Must be an alphanumeric string that begins with a letter. The value cannot be changed. */ readonly dnsLabel: 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 VCN's Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). */ readonly id: string; /** * For an IPv6-enabled VCN, this is the list of IPv6 prefixes for the VCN's IP address space. The prefixes are provided by Oracle and the sizes are always /56. */ readonly ipv6cidrBlocks: string[]; /** * For an IPv6-enabled VCN, this is the list of Private IPv6 prefixes for the VCN's IP address space. */ readonly ipv6privateCidrBlocks: string[]; readonly isIpv6enabled: boolean; readonly isOracleGuaAllocationEnabled: boolean; /** * Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example: `{"Oracle-DataSecurity-ZPR.MaxEgressCount.value": "42", "Oracle-DataSecurity-ZPR.MaxEgressCount.mode": "audit"}` */ readonly securityAttributes: { [key: string]: string; }; /** * The VCN's current state. */ readonly state: string; /** * The date and time the VCN 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 VCN's domain name, which consists of the VCN's DNS label, and the `oraclevcn.com` domain. */ readonly vcnDomainName: string; readonly vcnId: string; } /** * This data source provides details about a specific Vcn resource in Oracle Cloud Infrastructure Core service. * * Gets the specified VCN's information. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testVcn = oci.core.getVcn({ * vcnId: testVcnOciCoreVcn.id, * }); * ``` */ export declare function getVcnOutput(args: GetVcnOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getVcn. */ export interface GetVcnOutputArgs { /** * Specify the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. */ vcnId: pulumi.Input; } //# sourceMappingURL=getVcn.d.ts.map