@lbrlabs/pulumi-scaleway
Version:
A Pulumi package for creating and managing scaleway cloud resources.
95 lines (94 loc) • 2.45 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* Gets information about multiple Load Balancer IPs.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumi/scaleway";
*
* const myKey = scaleway.getLbIps({
* ipCidrRange: "0.0.0.0/0",
* zone: "fr-par-2",
* });
* ```
*/
export declare function getLbIps(args?: GetLbIpsArgs, opts?: pulumi.InvokeOptions): Promise<GetLbIpsResult>;
/**
* A collection of arguments for invoking getLbIps.
*/
export interface GetLbIpsArgs {
/**
* The IP CIDR range used as a filter. IPs within a CIDR block like it are listed.
*/
ipCidrRange?: string;
/**
* The ID of the project the load-balancer is associated with.
*/
projectId?: string;
/**
* `zone`) The zone in which IPs exist.
*/
zone?: string;
}
/**
* A collection of values returned by getLbIps.
*/
export interface GetLbIpsResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly ipCidrRange?: string;
/**
* List of found IPs
*/
readonly ips: outputs.GetLbIpsIp[];
/**
* The organization ID the load-balancer is associated with.
*/
readonly organizationId: string;
/**
* The ID of the project the load-balancer is associated with.
*/
readonly projectId: string;
/**
* The zone in which the load-balancer is.
*/
readonly zone: string;
}
/**
* Gets information about multiple Load Balancer IPs.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumi/scaleway";
*
* const myKey = scaleway.getLbIps({
* ipCidrRange: "0.0.0.0/0",
* zone: "fr-par-2",
* });
* ```
*/
export declare function getLbIpsOutput(args?: GetLbIpsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetLbIpsResult>;
/**
* A collection of arguments for invoking getLbIps.
*/
export interface GetLbIpsOutputArgs {
/**
* The IP CIDR range used as a filter. IPs within a CIDR block like it are listed.
*/
ipCidrRange?: pulumi.Input<string>;
/**
* The ID of the project the load-balancer is associated with.
*/
projectId?: pulumi.Input<string>;
/**
* `zone`) The zone in which IPs exist.
*/
zone?: pulumi.Input<string>;
}