import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a resource to create a subnet based on the input parameters. A subnet is a block of IP addresses. * * ## Example Usage * * * */ export declare function getSubnet(args?: GetSubnetArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSubnet. */ export interface GetSubnetArgs { /** * - Additional filters to narrow down list of subnets. */ additionalFilters?: inputs.GetSubnetAdditionalFilter[]; /** * The API Version. */ categories?: inputs.GetSubnetCategory[]; /** * - (Optional) The ID for the subnet. */ subnetId?: string; /** * - (Optional) The name for the subnet */ subnetName?: string; } /** * A collection of values returned by getSubnet. */ export interface GetSubnetResult { /** * - Additional filters to narrow down list of subnets. */ readonly additionalFilters?: outputs.GetSubnetAdditionalFilter[]; readonly apiVersion: string; /** * The reference to a availability_zone. */ readonly availabilityZoneReference: { [key: string]: string; }; /** * The API Version. */ readonly categories: outputs.GetSubnetCategory[]; /** * The name of a cluster. */ readonly clusterName: string; readonly clusterUuid: string; /** * Default gateway IP address. */ readonly defaultGatewayIp: string; /** * A description for subnet. */ readonly description: string; readonly dhcpDomainNameServerLists: string[]; /** * DHCP domain search list for a subnet. */ readonly dhcpDomainSearchLists: string[]; /** * Spec for defining DHCP options. */ readonly dhcpOptions: { [key: string]: string; }; /** * Host address. */ readonly dhcpServerAddress: { [key: string]: string; }; /** * Port Number. */ readonly dhcpServerAddressPort: number; readonly enableNat: boolean; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly ipConfigPoolListRanges: string[]; readonly isExternal: boolean; readonly messageLists: outputs.GetSubnetMessageList[]; /** * The subnet kind metadata. */ readonly metadata: { [key: string]: string; }; /** * - the name(Optional). */ readonly name: string; /** * The reference to a network_function_chain. */ readonly networkFunctionChainReference: { [key: string]: string; }; /** * The reference to a user. */ readonly ownerReference: { [key: string]: string; }; /** * - (Optional). IP prefix length of the Subnet. */ readonly prefixLength: number; /** * The reference to a project. */ readonly projectReference: { [key: string]: string; }; /** * - The state of the subnet. */ readonly state: string; readonly subnetId?: string; /** * Subnet IP address. */ readonly subnetIp: string; readonly subnetName?: string; /** * The type of the subnet. */ readonly subnetType: string; /** * VLAN assigned to the subnet. */ readonly vlanId: number; readonly vpcReference: { [key: string]: string; }; /** * The name of the vswitch. */ readonly vswitchName: string; } /** * Provides a resource to create a subnet based on the input parameters. A subnet is a block of IP addresses. * * ## Example Usage * * * */ export declare function getSubnetOutput(args?: GetSubnetOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSubnet. */ export interface GetSubnetOutputArgs { /** * - Additional filters to narrow down list of subnets. */ additionalFilters?: pulumi.Input[] | undefined>; /** * The API Version. */ categories?: pulumi.Input[] | undefined>; /** * - (Optional) The ID for the subnet. */ subnetId?: pulumi.Input; /** * - (Optional) The name for the subnet */ subnetName?: pulumi.Input; } //# sourceMappingURL=getSubnet.d.ts.map