import * as pulumi from "@pulumi/pulumi"; /** * This data source provides details about a specific Vlan resource in Oracle Cloud Infrastructure Core service. * * Gets the specified VLAN's information. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testVlan = oci.core.getVlan({ * vlanId: testVlanOciCoreVlan.id, * }); * ``` */ export declare function getVlan(args: GetVlanArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getVlan. */ export interface GetVlanArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN. */ vlanId: string; } /** * A collection of values returned by getVlan. */ export interface GetVlanResult { /** * The VLAN's availability domain. This attribute will be null if this is a regional VLAN rather than an AD-specific VLAN. Example: `Uocm:PHX-AD-1` */ readonly availabilityDomain: string; /** * The range of IPv4 addresses that will be used for layer 3 communication with hosts outside the VLAN. Example: `192.168.1.0/24` */ readonly cidrBlock: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the VLAN. */ 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 VLAN's Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). */ readonly id: string; /** * A list of the OCIDs of the network security groups (NSGs) to use with this VLAN. All VNICs in the VLAN belong to these NSGs. For more information about NSGs, see [NetworkSecurityGroup](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/NetworkSecurityGroup/). */ readonly nsgIds: string[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table that the VLAN uses. */ readonly routeTableId: string; /** * The VLAN's current state. */ readonly state: string; /** * The date and time the VLAN 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 VCN the VLAN is in. */ readonly vcnId: string; readonly vlanId: string; /** * The IEEE 802.1Q VLAN tag of this VLAN. Example: `100` */ readonly vlanTag: number; } /** * This data source provides details about a specific Vlan resource in Oracle Cloud Infrastructure Core service. * * Gets the specified VLAN's information. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testVlan = oci.core.getVlan({ * vlanId: testVlanOciCoreVlan.id, * }); * ``` */ export declare function getVlanOutput(args: GetVlanOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getVlan. */ export interface GetVlanOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN. */ vlanId: pulumi.Input; } //# sourceMappingURL=getVlan.d.ts.map