import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a resource to create stretched vlans based on the input parameters. * * ## Example Usage * * ### resource to add stretched vlan in NDB * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const name = new nutanix.NdbStretchedVlan("name", { * name: "test-stretcName", * description: "vlan desc updated", * type: "Static", * vlanIds: [ * "{{ vlan_id_1 }}", * "{{ vlan_id_2 }}", * ], * }); * ``` * * * ### resource to update the strteched vlan with new gateway and subnet mask * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const name = new nutanix.NdbStretchedVlan("name", { * name: "test-stretcName", * description: "vlan desc updated", * type: "Static", * vlanIds: [ * "{{ vlan_id_1 }}", * "{{ vlan_id_2 }}", * ], * metadata: { * gateway: "{{ gateway of vlans }}", * subnetMask: "{{ subnet mask of vlans }}", * }, * }); * ``` * */ export declare class NdbStretchedVlan extends pulumi.CustomResource { /** * Get an existing NdbStretchedVlan 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?: NdbStretchedVlanState, opts?: pulumi.CustomResourceOptions): NdbStretchedVlan; /** * Returns true if the given object is an instance of NdbStretchedVlan. 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 NdbStretchedVlan; /** * Description of stretched vlan */ readonly description: pulumi.Output; /** * Update the stretched VLAN Gateway and Subnet Mask IP address * * `metadata.gateway`: Update the gateway of stretched vlan * * `metadata.subnet_mask`: Update the subnetMask of stretched vlan */ readonly metadata: pulumi.Output; /** * name for the stretched VLAN */ readonly name: pulumi.Output; /** * type of vlan. static VLANs that are managed in NDB can be added to a stretched VLAN. */ readonly type: pulumi.Output; /** * list of vlan ids to be added in NDB */ readonly vlanIds: pulumi.Output; /** * properties of vlans */ readonly vlansLists: pulumi.Output; /** * Create a NdbStretchedVlan 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: NdbStretchedVlanArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering NdbStretchedVlan resources. */ export interface NdbStretchedVlanState { /** * Description of stretched vlan */ description?: pulumi.Input; /** * Update the stretched VLAN Gateway and Subnet Mask IP address * * `metadata.gateway`: Update the gateway of stretched vlan * * `metadata.subnet_mask`: Update the subnetMask of stretched vlan */ metadata?: pulumi.Input; /** * name for the stretched VLAN */ name?: pulumi.Input; /** * type of vlan. static VLANs that are managed in NDB can be added to a stretched VLAN. */ type?: pulumi.Input; /** * list of vlan ids to be added in NDB */ vlanIds?: pulumi.Input[] | undefined>; /** * properties of vlans */ vlansLists?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a NdbStretchedVlan resource. */ export interface NdbStretchedVlanArgs { /** * Description of stretched vlan */ description?: pulumi.Input; /** * Update the stretched VLAN Gateway and Subnet Mask IP address * * `metadata.gateway`: Update the gateway of stretched vlan * * `metadata.subnet_mask`: Update the subnetMask of stretched vlan */ metadata?: pulumi.Input; /** * name for the stretched VLAN */ name?: pulumi.Input; /** * type of vlan. static VLANs that are managed in NDB can be added to a stretched VLAN. */ type: pulumi.Input; /** * list of vlan ids to be added in NDB */ vlanIds: pulumi.Input[]>; } //# sourceMappingURL=ndbStretchedVlan.d.ts.map