import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Use this data source to retrieve information about a subnet in a private network (vRack) of a public cloud project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const subnet = ovh.getCloudNetworkPrivateVrackSubnet({ * serviceName: "", * networkId: "", * id: "", * }); * export const subnetCidr = subnet.then(subnet => subnet.cidr); * ``` */ export declare function getCloudNetworkPrivateVrackSubnet(args: GetCloudNetworkPrivateVrackSubnetArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCloudNetworkPrivateVrackSubnet. */ export interface GetCloudNetworkPrivateVrackSubnetArgs { /** * Subnet ID. */ id: string; /** * Network ID of the parent private network. */ networkId: string; /** * Service name of the resource representing the id of the cloud project. */ serviceName: string; } /** * A collection of values returned by getCloudNetworkPrivateVrackSubnet. */ export interface GetCloudNetworkPrivateVrackSubnetResult { /** * IP address allocation pools: */ readonly allocationPools: outputs.GetCloudNetworkPrivateVrackSubnetAllocationPool[]; /** * Computed hash representing the current target specification value. */ readonly checksum: string; /** * CIDR address range. */ readonly cidr: string; /** * Creation date of the subnet. */ readonly createdAt: string; /** * Current state of the subnet: */ readonly currentState: outputs.GetCloudNetworkPrivateVrackSubnetCurrentState; /** * Subnet description. */ readonly description: string; /** * Whether DHCP is enabled. */ readonly dhcpEnabled: boolean; /** * Configured DNS nameservers. */ readonly dnsNameservers: string[]; /** * Default gateway IP address. */ readonly gatewayIp: string; readonly id: string; /** * Location details: */ readonly location: outputs.GetCloudNetworkPrivateVrackSubnetLocation; /** * Subnet name. */ readonly name: string; readonly networkId: string; /** * Subnet readiness in the system (`CREATING`, `DELETING`, `ERROR`, `OUT_OF_SYNC`, `READY`, `UPDATING`). */ readonly resourceStatus: string; readonly serviceName: string; /** * Last update date of the subnet. */ readonly updatedAt: string; } /** * Use this data source to retrieve information about a subnet in a private network (vRack) of a public cloud project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const subnet = ovh.getCloudNetworkPrivateVrackSubnet({ * serviceName: "", * networkId: "", * id: "", * }); * export const subnetCidr = subnet.then(subnet => subnet.cidr); * ``` */ export declare function getCloudNetworkPrivateVrackSubnetOutput(args: GetCloudNetworkPrivateVrackSubnetOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCloudNetworkPrivateVrackSubnet. */ export interface GetCloudNetworkPrivateVrackSubnetOutputArgs { /** * Subnet ID. */ id: pulumi.Input; /** * Network ID of the parent private network. */ networkId: pulumi.Input; /** * Service name of the resource representing the id of the cloud project. */ serviceName: pulumi.Input; }