import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a resource to create VLANs and IP address pools that are managed both in NDB and outside NDB. * * ## Example Usage * * ### resource to create network for NDB * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const name = new nutanix.NdbNetwork("name", { * name: "test-sub", * type: "Static", * clusterId: "{{ cluster_id }}", * gateway: "{{ gatway for the vlan }}", * subnetMask: "{{ subnet mask for the vlan}}", * primaryDns: " {{ primary dns for the vlan }}", * secondaryDns: "{{secondary dns for the vlan }}", * ipPools: [{ * startIp: "{{ starting address range}}", * endIp: "{{ ending address range }}", * }], * }); * ``` * */ export declare class NdbNetwork extends pulumi.CustomResource { /** * Get an existing NdbNetwork 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?: NdbNetworkState, opts?: pulumi.CustomResourceOptions): NdbNetwork; /** * Returns true if the given object is an instance of NdbNetwork. 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 NdbNetwork; /** * Select the Nutanix cluster on which you want to add the VLAN. */ readonly clusterId: pulumi.Output; /** * dns domain for vlan. (Static IP address assignment only) */ readonly dnsDomain: pulumi.Output; /** * Gateway for vlan. Supports in Static IP address assignment only */ readonly gateway: pulumi.Output; /** * Manage IP Address Pool in NDB option if you want to assign static IP addresses to your database server VMs */ readonly ipPools: pulumi.Output; /** * Managed by NDB or not */ readonly managed: pulumi.Output; /** * Name of the vlan to be attached in NDB */ readonly name: pulumi.Output; /** * primary dns for vlan. (Static IP address assignment only) */ readonly primaryDns: pulumi.Output; /** * properties of network */ readonly properties: pulumi.Output; /** * properties map of network */ readonly propertiesMaps: pulumi.Output; /** * secondary dns for vlan. (Static IP address assignment only) */ readonly secondaryDns: pulumi.Output; /** * stretched vlan id */ readonly stretchedVlanId: pulumi.Output; /** * Subnet mask for vlan. (Static IP address assignment only) */ readonly subnetMask: pulumi.Output; /** * Vlan type. Supports [DHCP, Static] */ readonly type: pulumi.Output; /** * Create a NdbNetwork 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: NdbNetworkArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering NdbNetwork resources. */ export interface NdbNetworkState { /** * Select the Nutanix cluster on which you want to add the VLAN. */ clusterId?: pulumi.Input; /** * dns domain for vlan. (Static IP address assignment only) */ dnsDomain?: pulumi.Input; /** * Gateway for vlan. Supports in Static IP address assignment only */ gateway?: pulumi.Input; /** * Manage IP Address Pool in NDB option if you want to assign static IP addresses to your database server VMs */ ipPools?: pulumi.Input[] | undefined>; /** * Managed by NDB or not */ managed?: pulumi.Input; /** * Name of the vlan to be attached in NDB */ name?: pulumi.Input; /** * primary dns for vlan. (Static IP address assignment only) */ primaryDns?: pulumi.Input; /** * properties of network */ properties?: pulumi.Input[] | undefined>; /** * properties map of network */ propertiesMaps?: pulumi.Input[] | undefined>; /** * secondary dns for vlan. (Static IP address assignment only) */ secondaryDns?: pulumi.Input; /** * stretched vlan id */ stretchedVlanId?: pulumi.Input; /** * Subnet mask for vlan. (Static IP address assignment only) */ subnetMask?: pulumi.Input; /** * Vlan type. Supports [DHCP, Static] */ type?: pulumi.Input; } /** * The set of arguments for constructing a NdbNetwork resource. */ export interface NdbNetworkArgs { /** * Select the Nutanix cluster on which you want to add the VLAN. */ clusterId: pulumi.Input; /** * dns domain for vlan. (Static IP address assignment only) */ dnsDomain?: pulumi.Input; /** * Gateway for vlan. Supports in Static IP address assignment only */ gateway?: pulumi.Input; /** * Manage IP Address Pool in NDB option if you want to assign static IP addresses to your database server VMs */ ipPools?: pulumi.Input[] | undefined>; /** * Name of the vlan to be attached in NDB */ name?: pulumi.Input; /** * primary dns for vlan. (Static IP address assignment only) */ primaryDns?: pulumi.Input; /** * secondary dns for vlan. (Static IP address assignment only) */ secondaryDns?: pulumi.Input; /** * Subnet mask for vlan. (Static IP address assignment only) */ subnetMask?: pulumi.Input; /** * Vlan type. Supports [DHCP, Static] */ type: pulumi.Input; } //# sourceMappingURL=ndbNetwork.d.ts.map