import * as pulumi from "@pulumi/pulumi"; /** * Provides Nutanix resource to create Floating IPs. * * ## create Floating IP with External Subnet UUID * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const fip1 = new nutanix.FloatingIp("fip1", {externalSubnetReferenceUuid: "{{ext_sub_uuid}}"}); * ``` * * * ## create Floating IP with vpc name with external subnet name * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const fip2 = new nutanix.FloatingIp("fip2", { * externalSubnetReferenceName: "{{ext_sub_name}}", * vpcReferenceName: "{{vpc_name}}", * privateIp: "{{ip_address}}", * }); * ``` * */ export declare class FloatingIp extends pulumi.CustomResource { /** * Get an existing FloatingIp 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?: FloatingIpState, opts?: pulumi.CustomResourceOptions): FloatingIp; /** * Returns true if the given object is an instance of FloatingIp. 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 FloatingIp; /** * The version of the API. */ readonly apiVersion: pulumi.Output; /** * The reference to a subnet. Should not be used with * {external_subnet_reference_uuid} . */ readonly externalSubnetReferenceName: pulumi.Output; /** * The reference to a subnet. Should not be used with {external_subnet_reference_name} . */ readonly externalSubnetReferenceUuid: pulumi.Output; /** * The floatingIps kind metadata. */ readonly metadata: pulumi.Output<{ [key: string]: string; }>; /** * Private IP with which floating IP is associated. Should be used with vpcReference . */ readonly privateIp: pulumi.Output; /** * The reference to a vmNic . */ readonly vmNicReferenceUuid: pulumi.Output; /** * The reference to a vpc. Should not be used with {vpc_reference_uuid}. */ readonly vpcReferenceName: pulumi.Output; /** * The reference to a vpc. Should not be used with {vpc_reference_name}. */ readonly vpcReferenceUuid: pulumi.Output; /** * Create a FloatingIp 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?: FloatingIpArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering FloatingIp resources. */ export interface FloatingIpState { /** * The version of the API. */ apiVersion?: pulumi.Input; /** * The reference to a subnet. Should not be used with * {external_subnet_reference_uuid} . */ externalSubnetReferenceName?: pulumi.Input; /** * The reference to a subnet. Should not be used with {external_subnet_reference_name} . */ externalSubnetReferenceUuid?: pulumi.Input; /** * The floatingIps kind metadata. */ metadata?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Private IP with which floating IP is associated. Should be used with vpcReference . */ privateIp?: pulumi.Input; /** * The reference to a vmNic . */ vmNicReferenceUuid?: pulumi.Input; /** * The reference to a vpc. Should not be used with {vpc_reference_uuid}. */ vpcReferenceName?: pulumi.Input; /** * The reference to a vpc. Should not be used with {vpc_reference_name}. */ vpcReferenceUuid?: pulumi.Input; } /** * The set of arguments for constructing a FloatingIp resource. */ export interface FloatingIpArgs { /** * The version of the API. */ apiVersion?: pulumi.Input; /** * The reference to a subnet. Should not be used with * {external_subnet_reference_uuid} . */ externalSubnetReferenceName?: pulumi.Input; /** * The reference to a subnet. Should not be used with {external_subnet_reference_name} . */ externalSubnetReferenceUuid?: pulumi.Input; /** * Private IP with which floating IP is associated. Should be used with vpcReference . */ privateIp?: pulumi.Input; /** * The reference to a vmNic . */ vmNicReferenceUuid?: pulumi.Input; /** * The reference to a vpc. Should not be used with {vpc_reference_uuid}. */ vpcReferenceName?: pulumi.Input; /** * The reference to a vpc. Should not be used with {vpc_reference_name}. */ vpcReferenceUuid?: pulumi.Input; } //# sourceMappingURL=floatingIp.d.ts.map