UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

107 lines (106 loc) 3.8 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Gets information about multiple Load Balancer ACLs. * * For more information, see the [main documentation](https://www.scaleway.com/en/docs/load-balancer/reference-content/acls/) or [API reference](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-acls-get-an-acl). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * // Find acls that share the same frontend ID * const byFrontID = scaleway.loadbalancers.getAcls({ * frontendId: frt01.id, * }); * // Find acls by frontend ID and name * const byFrontIDAndName = scaleway.loadbalancers.getAcls({ * frontendId: frt01.id, * name: "tf-acls-datasource", * }); * ``` */ /** @deprecated scaleway.index/getlbacls.getLbAcls has been deprecated in favor of scaleway.loadbalancers/getacls.getAcls */ 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 matching frontend ID are listed. * > **Important:** LB frontend 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 to filter for. ACLs with a matching name are listed. */ name?: string; projectId?: string; /** * `zone`) The zone in which the ACLs exist. */ zone?: string; } /** * A collection of values returned by getLbAcls. */ export interface GetLbAclsResult { /** * List of retrieved 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. * * For more information, see the [main documentation](https://www.scaleway.com/en/docs/load-balancer/reference-content/acls/) or [API reference](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-acls-get-an-acl). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * // Find acls that share the same frontend ID * const byFrontID = scaleway.loadbalancers.getAcls({ * frontendId: frt01.id, * }); * // Find acls by frontend ID and name * const byFrontIDAndName = scaleway.loadbalancers.getAcls({ * frontendId: frt01.id, * name: "tf-acls-datasource", * }); * ``` */ /** @deprecated scaleway.index/getlbacls.getLbAcls has been deprecated in favor of scaleway.loadbalancers/getacls.getAcls */ export declare function getLbAclsOutput(args: GetLbAclsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetLbAclsResult>; /** * A collection of arguments for invoking getLbAcls. */ export interface GetLbAclsOutputArgs { /** * The frontend ID this ACL is attached to. ACLs with a matching frontend ID are listed. * > **Important:** LB frontend 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 to filter for. ACLs with a matching name are listed. */ name?: pulumi.Input<string>; projectId?: pulumi.Input<string>; /** * `zone`) The zone in which the ACLs exist. */ zone?: pulumi.Input<string>; }