@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
93 lines (92 loc) • 3.28 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Gets information about a Load Balancer IP address.
*
* For more information, see the [main documentation](https://www.scaleway.com/en/docs/load-balancer/how-to/create-manage-flex-ips/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-ip-addresses-list-ip-addresses).
*/
/** @deprecated scaleway.index/getloadbalancerip.getLoadbalancerIp has been deprecated in favor of scaleway.loadbalancers/getip.getIp */
export declare function getLoadbalancerIp(args?: GetLoadbalancerIpArgs, opts?: pulumi.InvokeOptions): Promise<GetLoadbalancerIpResult>;
/**
* A collection of arguments for invoking getLoadbalancerIp.
*/
export interface GetLoadbalancerIpArgs {
/**
* The IP address.
* Only one of `ipAddress` and `ipId` should be specified.
*/
ipAddress?: string;
/**
* The IP ID.
* Only one of `ipAddress` and `ipId` should be specified.
*/
ipId?: string;
/**
* The ID of the Project the Load Balancer IP is associated with.
*/
projectId?: string;
/**
* `zone`) The zone in which the IP was reserved.
*/
zone?: string;
}
/**
* A collection of values returned by getLoadbalancerIp.
*/
export interface GetLoadbalancerIpResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly ipAddress?: string;
readonly ipId?: string;
readonly isIpv6: boolean;
/**
* The ID of the associated Load Balancer, if any
*/
readonly lbId: string;
/**
* (Defaults to provider `organizationId`) The ID of the Organization the Load Balancer IP is associated with.
*/
readonly organizationId: string;
readonly projectId?: string;
readonly region: string;
/**
* The reverse domain associated with this IP.
*/
readonly reverse: string;
/**
* The tags associated with this IP.
*/
readonly tags: string[];
readonly zone?: string;
}
/**
* Gets information about a Load Balancer IP address.
*
* For more information, see the [main documentation](https://www.scaleway.com/en/docs/load-balancer/how-to/create-manage-flex-ips/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-ip-addresses-list-ip-addresses).
*/
/** @deprecated scaleway.index/getloadbalancerip.getLoadbalancerIp has been deprecated in favor of scaleway.loadbalancers/getip.getIp */
export declare function getLoadbalancerIpOutput(args?: GetLoadbalancerIpOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetLoadbalancerIpResult>;
/**
* A collection of arguments for invoking getLoadbalancerIp.
*/
export interface GetLoadbalancerIpOutputArgs {
/**
* The IP address.
* Only one of `ipAddress` and `ipId` should be specified.
*/
ipAddress?: pulumi.Input<string>;
/**
* The IP ID.
* Only one of `ipAddress` and `ipId` should be specified.
*/
ipId?: pulumi.Input<string>;
/**
* The ID of the Project the Load Balancer IP is associated with.
*/
projectId?: pulumi.Input<string>;
/**
* `zone`) The zone in which the IP was reserved.
*/
zone?: pulumi.Input<string>;
}