import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::VPC::Subnet */ export declare function getSubnet(args: GetSubnetArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSubnet. */ export interface GetSubnetArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getSubnet. */ export interface GetSubnetResult { /** * ID of the account to which the subnet belongs */ readonly accountId: string; /** * Number of available IP addresses in the subnet */ readonly availableIpAddressCount: number; /** * Subnet IPv4 CIDR block */ readonly cidrBlock: string; /** * Subnet creation time */ readonly createdTime: string; /** * Subnet description. Limited to 0–255 characters. Must start with a letter, Chinese character, or number. Can include English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Cannot start with http:// or https:// */ readonly description: string; /** * Enable or disable IPv6. This parameter can be configured only if the VPC to which the subnet belongs has IPv6 enabled. 1. true: Enable. 2. false: Disable. This value can be configured only if no cloud resources in the subnet have assigned IPv6 addresses */ readonly enableIpv6: boolean; /** * Uniquely identifies the resource. */ readonly id: string; /** * Subnet IPv6 CIDR block. 1. When creating or modifying, enter the last 8 bits of the subnet IPv6 CIDR block (subnet mask is fixed at /64). 2. This parameter is supported only when EnableIpv6 is set to true. 3. Value range: 0–255. Mask is fixed at /64 */ readonly ipv6CidrBlock: string; /** * Whether the subnet is a default subnet. 1. true: Default subnet, created automatically when an ECS instance is created. 2. false: Non-default subnet, created manually by the user */ readonly isDefault: boolean; /** * ID of the network ACL associated with the subnet */ readonly networkAclId: string; /** * Name of the project associated with the VPC instance where the subnet resides */ readonly projectName: string; /** * Read-only field, subnet IPv6 CIDR block */ readonly readIpv6CidrBlock: string; /** * Route table information */ readonly routeTable: outputs.vpc.GetSubnetRouteTable; /** * Subnet status. 1. Pending: Configuring. 2. Available: Available */ readonly status: string; /** * ID of the subnet whose information is to be modified */ readonly subnetId: string; /** * Subnet name, limited to 1–128 characters. Must start with a letter, Chinese character, or number. Can include period (.), underscore (_), and hyphen (-). Cannot start with http:// or https://. If not specified, defaults to the subnet ID */ readonly subnetName: string; /** * Subnet tag information */ readonly tags: outputs.vpc.GetSubnetTag[]; /** * Total number of available IPs in the subnet */ readonly totalIpv4Count: number; /** * Subnet update time */ readonly updatedTime: string; /** * ID of the VPC to which the subnet belongs */ readonly vpcId: string; /** * Availability zone ID for the subnet to be created. For more information, see Regions and Availability Zones */ readonly zoneId: string; } /** * Data Source schema for Volcengine::VPC::Subnet */ export declare function getSubnetOutput(args: GetSubnetOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSubnet. */ export interface GetSubnetOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }