import * as pulumi from "@pulumi/pulumi"; /** * Manages a network within the Yandex.Cloud. For more information, see * [the official documentation](https://cloud.yandex.com/docs/vpc/concepts/network#network). * * * How-to Guides * * [Cloud Networking](https://cloud.yandex.com/docs/vpc/) * * [VPC Addressing](https://cloud.yandex.com/docs/vpc/concepts/address) * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as yandex from "@pulumi/yandex"; * * const defaultVpcNetwork = new yandex.VpcNetwork("default", {}); * ``` * * ## Import * * A network can be imported using the `id` of the resource, e.g. * * ```sh * $ pulumi import yandex:index/vpcNetwork:VpcNetwork default network_id * ``` */ export declare class VpcNetwork extends pulumi.CustomResource { /** * Get an existing VpcNetwork resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: VpcNetworkState, opts?: pulumi.CustomResourceOptions): VpcNetwork; /** * Returns true if the given object is an instance of VpcNetwork. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is VpcNetwork; /** * Creation timestamp of the key. */ readonly createdAt: pulumi.Output; /** * ID of default Security Group of this network. */ readonly defaultSecurityGroupId: pulumi.Output; /** * An optional description of this resource. Provide this property when * you create the resource. */ readonly description: pulumi.Output; /** * ID of the folder that the resource belongs to. If it * is not provided, the default provider folder is used. */ readonly folderId: pulumi.Output; /** * Labels to apply to this network. A list of key/value pairs. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; /** * Name of the network. Provided by the client when the network is created. */ readonly name: pulumi.Output; readonly subnetIds: pulumi.Output; /** * Create a VpcNetwork resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: VpcNetworkArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering VpcNetwork resources. */ export interface VpcNetworkState { /** * Creation timestamp of the key. */ createdAt?: pulumi.Input; /** * ID of default Security Group of this network. */ defaultSecurityGroupId?: pulumi.Input; /** * An optional description of this resource. Provide this property when * you create the resource. */ description?: pulumi.Input; /** * ID of the folder that the resource belongs to. If it * is not provided, the default provider folder is used. */ folderId?: pulumi.Input; /** * Labels to apply to this network. A list of key/value pairs. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Name of the network. Provided by the client when the network is created. */ name?: pulumi.Input; subnetIds?: pulumi.Input[]>; } /** * The set of arguments for constructing a VpcNetwork resource. */ export interface VpcNetworkArgs { /** * An optional description of this resource. Provide this property when * you create the resource. */ description?: pulumi.Input; /** * ID of the folder that the resource belongs to. If it * is not provided, the default provider folder is used. */ folderId?: pulumi.Input; /** * Labels to apply to this network. A list of key/value pairs. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Name of the network. Provided by the client when the network is created. */ name?: pulumi.Input; }