UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

93 lines (92 loc) 2.97 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets information about multiple Load Balancer IP addresses. * * 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). */ export declare function getIps(args?: GetIpsArgs, opts?: pulumi.InvokeOptions): Promise<GetIpsResult>; /** * A collection of arguments for invoking getIps. */ export interface GetIpsArgs { /** * The IP CIDR range to filter for. IPs within a matching CIDR block are listed. */ ipCidrRange?: string; /** * The IP type used as a filter. */ ipType?: string; /** * The ID of the Project the Load Balancer is associated with. */ projectId?: string; /** * List of tags used as filter. IPs with these exact tags are listed. */ tags?: string[]; /** * `zone`) The zone in which the IPs exist. */ zone?: string; } /** * A collection of values returned by getIps. */ export interface GetIpsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly ipCidrRange?: string; readonly ipType?: string; /** * List of retrieved IPs */ readonly ips: outputs.loadbalancers.GetIpsIp[]; /** * The ID of the Organization the Load Balancer is associated with. */ readonly organizationId: string; /** * The ID of the Project the Load Balancer is associated with. */ readonly projectId: string; readonly tags?: string[]; /** * The zone of the Load Balancer. */ readonly zone: string; } /** * Gets information about multiple Load Balancer IP addresses. * * 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). */ export declare function getIpsOutput(args?: GetIpsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIpsResult>; /** * A collection of arguments for invoking getIps. */ export interface GetIpsOutputArgs { /** * The IP CIDR range to filter for. IPs within a matching CIDR block are listed. */ ipCidrRange?: pulumi.Input<string>; /** * The IP type used as a filter. */ ipType?: pulumi.Input<string>; /** * The ID of the Project the Load Balancer is associated with. */ projectId?: pulumi.Input<string>; /** * List of tags used as filter. IPs with these exact tags are listed. */ tags?: pulumi.Input<pulumi.Input<string>[]>; /** * `zone`) The zone in which the IPs exist. */ zone?: pulumi.Input<string>; }