@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
91 lines • 2.94 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).
*/
export declare function getIp(args?: GetIpArgs, opts?: pulumi.InvokeOptions): Promise<GetIpResult>;
/**
* A collection of arguments for invoking getIp.
*/
export interface GetIpArgs {
/**
* 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 getIp.
*/
export interface GetIpResult {
/**
* 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).
*/
export declare function getIpOutput(args?: GetIpOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIpResult>;
/**
* A collection of arguments for invoking getIp.
*/
export interface GetIpOutputArgs {
/**
* The IP address.
* Only one of `ipAddress` and `ipId` should be specified.
*/
ipAddress?: pulumi.Input<string | undefined>;
/**
* The IP ID.
* Only one of `ipAddress` and `ipId` should be specified.
*/
ipId?: pulumi.Input<string | undefined>;
/**
* The ID of the Project the Load Balancer IP is associated with.
*/
projectId?: pulumi.Input<string | undefined>;
/**
* `zone`) The zone in which the IP was reserved.
*/
zone?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=getIp.d.ts.map