import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to get the ID of an OpenStack Load Balancer. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as openstack from "@pulumi/openstack"; * * const loadbalancer1 = openstack.loadbalancer.getLoadbalancerV2({ * name: "loadbalancer_1", * }); * ``` */ export declare function getLoadbalancerV2(args?: GetLoadbalancerV2Args, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getLoadbalancerV2. */ export interface GetLoadbalancerV2Args { /** * The human-readable description for the loadbalancer. */ description?: string; /** * The ID of the loadbalancer. Exactly one of * `name`, `loadbalancerId` is required to be set. */ loadbalancerId?: string; /** * The name of the loadbalancer. Exactly one of `name`, * `loadbalancerId` is required to be set. */ name?: string; /** * The region in which to obtain the V2 Load Balancer client. * If omitted, the `region` argument of the provider is used. */ region?: string; /** * A set of tags applied to the loadbalancer. The load balancer * will be returned if it has all of the specified tags. */ tags?: string[]; /** * A set of tags. The load balancer will be returned if * it has at least one of the specified tags. */ tagsAnies?: string[]; /** * A set of tags. The load balancer will be returned * if it does not have any of the specified tags. */ tagsNotAnies?: string[]; /** * A set of tags. The load balancer will be returned if * it does not have all of the specified tags. */ tagsNots?: string[]; /** * The IP address of the loadbalancer's virtual IP (VIP). */ vipAddress?: string; } /** * A collection of values returned by getLoadbalancerV2. */ export interface GetLoadbalancerV2Result { /** * A list of additional VIP IP addresses associated with * the loadbalancer. */ readonly additionalVips: string[]; /** * The administrative state of the loadbalancer (true/false). */ readonly adminStateUp: boolean; /** * The availability zone of the loadbalancer. */ readonly availabilityZone: string; /** * The description of the loadbalancer. */ readonly description: string; /** * The flavor ID used by the loadbalancer. */ readonly flavorId: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * A list of listener IDs (UUIDs) associated with the loadbalancer. */ readonly listeners: outputs.loadbalancer.GetLoadbalancerV2Listener[]; readonly loadbalancerId: string; /** * The loadbalancer driver/provider used by Octavia * (for example, `amphora`). */ readonly loadbalancerProvider: string; /** * The name of the loadbalancer. */ readonly name: string; /** * The operating status of the loadbalancer. */ readonly operatingStatus: string; /** * A list of pool IDs (UUIDs) associated with the loadbalancer. */ readonly pools: outputs.loadbalancer.GetLoadbalancerV2Pool[]; /** * The owner (project/tenant) ID of the loadbalancer. */ readonly projectId: string; /** * The provisioning status of the loadbalancer. */ readonly provisioningStatus: string; readonly region: string; /** * A set of tags applied to the loadbalancer. */ readonly tags: string[]; readonly tagsAnies?: string[]; readonly tagsNotAnies?: string[]; readonly tagsNots?: string[]; /** * The IP address of the loadbalancer’s virtual IP (VIP). */ readonly vipAddress: string; /** * The network ID associated with the VIP. */ readonly vipNetworkId: string; /** * The port ID associated with the VIP. */ readonly vipPortId: string; /** * The QoS policy ID associated with the VIP, if any. */ readonly vipQosPolicyId: string; /** * The subnet ID associated with the VIP. */ readonly vipSubnetId: string; } /** * Use this data source to get the ID of an OpenStack Load Balancer. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as openstack from "@pulumi/openstack"; * * const loadbalancer1 = openstack.loadbalancer.getLoadbalancerV2({ * name: "loadbalancer_1", * }); * ``` */ export declare function getLoadbalancerV2Output(args?: GetLoadbalancerV2OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getLoadbalancerV2. */ export interface GetLoadbalancerV2OutputArgs { /** * The human-readable description for the loadbalancer. */ description?: pulumi.Input; /** * The ID of the loadbalancer. Exactly one of * `name`, `loadbalancerId` is required to be set. */ loadbalancerId?: pulumi.Input; /** * The name of the loadbalancer. Exactly one of `name`, * `loadbalancerId` is required to be set. */ name?: pulumi.Input; /** * The region in which to obtain the V2 Load Balancer client. * If omitted, the `region` argument of the provider is used. */ region?: pulumi.Input; /** * A set of tags applied to the loadbalancer. The load balancer * will be returned if it has all of the specified tags. */ tags?: pulumi.Input[]>; /** * A set of tags. The load balancer will be returned if * it has at least one of the specified tags. */ tagsAnies?: pulumi.Input[]>; /** * A set of tags. The load balancer will be returned * if it does not have any of the specified tags. */ tagsNotAnies?: pulumi.Input[]>; /** * A set of tags. The load balancer will be returned if * it does not have all of the specified tags. */ tagsNots?: pulumi.Input[]>; /** * The IP address of the loadbalancer's virtual IP (VIP). */ vipAddress?: pulumi.Input; }