@lbrlabs/pulumi-scaleway
Version:
A Pulumi package for creating and managing scaleway cloud resources.
97 lines (96 loc) • 2.92 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* Gets information about multiple Load Balancer ACLs.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumi/scaleway";
*
* const byFrontID = scaleway.getLbAcls({
* frontendId: scaleway_lb_frontend.frt01.id,
* });
* const byFrontIDAndName = scaleway.getLbAcls({
* frontendId: scaleway_lb_frontend.frt01.id,
* name: "tf-acls-datasource",
* });
* ```
*/
export declare function getLbAcls(args: GetLbAclsArgs, opts?: pulumi.InvokeOptions): Promise<GetLbAclsResult>;
/**
* A collection of arguments for invoking getLbAcls.
*/
export interface GetLbAclsArgs {
/**
* The frontend ID this ACL is attached to. ACLs with a frontend ID like it are listed.
* > **Important:** LB Frontends' IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
*/
frontendId: string;
/**
* The ACL name used as filter. ACLs with a name like it are listed.
*/
name?: string;
projectId?: string;
/**
* `zone`) The zone in which ACLs exist.
*/
zone?: string;
}
/**
* A collection of values returned by getLbAcls.
*/
export interface GetLbAclsResult {
/**
* List of found ACLs
*/
readonly acls: outputs.GetLbAclsAcl[];
readonly frontendId: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly name?: string;
readonly organizationId: string;
readonly projectId: string;
readonly zone: string;
}
/**
* Gets information about multiple Load Balancer ACLs.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumi/scaleway";
*
* const byFrontID = scaleway.getLbAcls({
* frontendId: scaleway_lb_frontend.frt01.id,
* });
* const byFrontIDAndName = scaleway.getLbAcls({
* frontendId: scaleway_lb_frontend.frt01.id,
* name: "tf-acls-datasource",
* });
* ```
*/
export declare function getLbAclsOutput(args: GetLbAclsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetLbAclsResult>;
/**
* A collection of arguments for invoking getLbAcls.
*/
export interface GetLbAclsOutputArgs {
/**
* The frontend ID this ACL is attached to. ACLs with a frontend ID like it are listed.
* > **Important:** LB Frontends' IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
*/
frontendId: pulumi.Input<string>;
/**
* The ACL name used as filter. ACLs with a name like it are listed.
*/
name?: pulumi.Input<string>;
projectId?: pulumi.Input<string>;
/**
* `zone`) The zone in which ACLs exist.
*/
zone?: pulumi.Input<string>;
}