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 class Subnet extends pulumi.CustomResource { /** * Get an existing Subnet 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?: SubnetState, opts?: pulumi.CustomResourceOptions): Subnet; /** * Returns true if the given object is an instance of Subnet. 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 Subnet; /** * The version of the API. */ readonly apiVersion: pulumi.Output; /** * - (Optional) The reference to a availability_zone. */ readonly availabilityZoneReference: pulumi.Output<{ [key: string]: string; }>; /** * - (Optional) The categories of the resource. */ readonly categories: pulumi.Output; readonly clusterName: pulumi.Output; /** * - (Required) The UUID of the cluster. */ readonly clusterUuid: pulumi.Output; /** * - (Optional) Default gateway IP address. */ readonly defaultGatewayIp: pulumi.Output; /** * - (Optional) A description for subnet. */ readonly description: pulumi.Output; /** * - (Optional). List of Domain Name Server addresses . */ readonly dhcpDomainNameServerLists: pulumi.Output; /** * - (Optional).The DNS domain search list . */ readonly dhcpDomainSearchLists: pulumi.Output; /** * - (Optional) Spec for defining DHCP options. */ readonly dhcpOptions: pulumi.Output<{ [key: string]: string; }>; /** * - (Optional) Host address. */ readonly dhcpServerAddress: pulumi.Output<{ [key: string]: string; }>; /** * - (Optional) Port Number. */ readonly dhcpServerAddressPort: pulumi.Output; /** * - (Optional) Whether NAT should be performed for VPCs attaching to the subnet. This field is supported only for external subnets. NAT is enabled by default on external subnets. */ readonly enableNat: pulumi.Output; /** * - (Optional) Range of IPs (example: 10.0.0.9 10.0.0.19). */ readonly ipConfigPoolListRanges: pulumi.Output; /** * - (Optional) Whether the subnet is external subnet or not. */ readonly isExternal: pulumi.Output; /** * - (Required) The subnet kind metadata. */ readonly metadata: pulumi.Output<{ [key: string]: string; }>; /** * - (Optional) Subnet name (Readonly). */ readonly name: pulumi.Output; /** * - (Optional) The reference to a network_function_chain. */ readonly networkFunctionChainReference: pulumi.Output<{ [key: string]: string; }>; /** * - (Optional) The reference to a user. */ readonly ownerReference: pulumi.Output<{ [key: string]: string; }>; /** * - (Optional). */ readonly prefixLength: pulumi.Output; /** * - (Optional) The reference to a project. */ readonly projectReference: pulumi.Output<{ [key: string]: string; }>; /** * - The state of the subnet. */ readonly state: pulumi.Output; /** * - (Optional) Subnet IP address. */ readonly subnetIp: pulumi.Output; /** * - (Optional). Valid Types are ["VLAN", "OVERLAY"] */ readonly subnetType: pulumi.Output; /** * - (Optional). For VLAN subnet. */ readonly vlanId: pulumi.Output; /** * VPC reference uuid */ readonly vpcReferenceUuid: pulumi.Output; /** * - (Optional). */ readonly vswitchName: pulumi.Output; /** * Create a Subnet 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: SubnetArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Subnet resources. */ export interface SubnetState { /** * The version of the API. */ apiVersion?: pulumi.Input; /** * - (Optional) The reference to a availability_zone. */ availabilityZoneReference?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * - (Optional) The categories of the resource. */ categories?: pulumi.Input[] | undefined>; clusterName?: pulumi.Input; /** * - (Required) The UUID of the cluster. */ clusterUuid?: pulumi.Input; /** * - (Optional) Default gateway IP address. */ defaultGatewayIp?: pulumi.Input; /** * - (Optional) A description for subnet. */ description?: pulumi.Input; /** * - (Optional). List of Domain Name Server addresses . */ dhcpDomainNameServerLists?: pulumi.Input[] | undefined>; /** * - (Optional).The DNS domain search list . */ dhcpDomainSearchLists?: pulumi.Input[] | undefined>; /** * - (Optional) Spec for defining DHCP options. */ dhcpOptions?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * - (Optional) Host address. */ dhcpServerAddress?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * - (Optional) Port Number. */ dhcpServerAddressPort?: pulumi.Input; /** * - (Optional) Whether NAT should be performed for VPCs attaching to the subnet. This field is supported only for external subnets. NAT is enabled by default on external subnets. */ enableNat?: pulumi.Input; /** * - (Optional) Range of IPs (example: 10.0.0.9 10.0.0.19). */ ipConfigPoolListRanges?: pulumi.Input[] | undefined>; /** * - (Optional) Whether the subnet is external subnet or not. */ isExternal?: pulumi.Input; /** * - (Required) The subnet kind metadata. */ metadata?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * - (Optional) Subnet name (Readonly). */ name?: pulumi.Input; /** * - (Optional) The reference to a network_function_chain. */ networkFunctionChainReference?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * - (Optional) The reference to a user. */ ownerReference?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * - (Optional). */ prefixLength?: pulumi.Input; /** * - (Optional) The reference to a project. */ projectReference?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * - The state of the subnet. */ state?: pulumi.Input; /** * - (Optional) Subnet IP address. */ subnetIp?: pulumi.Input; /** * - (Optional). Valid Types are ["VLAN", "OVERLAY"] */ subnetType?: pulumi.Input; /** * - (Optional). For VLAN subnet. */ vlanId?: pulumi.Input; /** * VPC reference uuid */ vpcReferenceUuid?: pulumi.Input; /** * - (Optional). */ vswitchName?: pulumi.Input; } /** * The set of arguments for constructing a Subnet resource. */ export interface SubnetArgs { /** * - (Optional) The reference to a availability_zone. */ availabilityZoneReference?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * - (Optional) The categories of the resource. */ categories?: pulumi.Input[] | undefined>; /** * - (Required) The UUID of the cluster. */ clusterUuid?: pulumi.Input; /** * - (Optional) Default gateway IP address. */ defaultGatewayIp?: pulumi.Input; /** * - (Optional) A description for subnet. */ description?: pulumi.Input; /** * - (Optional). List of Domain Name Server addresses . */ dhcpDomainNameServerLists?: pulumi.Input[] | undefined>; /** * - (Optional).The DNS domain search list . */ dhcpDomainSearchLists?: pulumi.Input[] | undefined>; /** * - (Optional) Spec for defining DHCP options. */ dhcpOptions?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * - (Optional) Host address. */ dhcpServerAddress?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * - (Optional) Port Number. */ dhcpServerAddressPort?: pulumi.Input; /** * - (Optional) Whether NAT should be performed for VPCs attaching to the subnet. This field is supported only for external subnets. NAT is enabled by default on external subnets. */ enableNat?: pulumi.Input; /** * - (Optional) Range of IPs (example: 10.0.0.9 10.0.0.19). */ ipConfigPoolListRanges?: pulumi.Input[] | undefined>; /** * - (Optional) Whether the subnet is external subnet or not. */ isExternal?: pulumi.Input; /** * - (Optional) Subnet name (Readonly). */ name?: pulumi.Input; /** * - (Optional) The reference to a network_function_chain. */ networkFunctionChainReference?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * - (Optional) The reference to a user. */ ownerReference?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * - (Optional). */ prefixLength?: pulumi.Input; /** * - (Optional) The reference to a project. */ projectReference?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * - (Optional) Subnet IP address. */ subnetIp?: pulumi.Input; /** * - (Optional). Valid Types are ["VLAN", "OVERLAY"] */ subnetType: pulumi.Input; /** * - (Optional). For VLAN subnet. */ vlanId?: pulumi.Input; /** * VPC reference uuid */ vpcReferenceUuid?: pulumi.Input; /** * - (Optional). */ vswitchName?: pulumi.Input; } //# sourceMappingURL=subnet.d.ts.map