UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

76 lines 3.25 kB
"use strict"; // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getLbAclsOutput = exports.getLbAcls = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * 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 */ function getLbAcls(args, opts) { pulumi.log.warn("getLbAcls is deprecated: scaleway.index/getlbacls.getLbAcls has been deprecated in favor of scaleway.loadbalancers/getacls.getAcls"); opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("scaleway:index/getLbAcls:getLbAcls", { "frontendId": args.frontendId, "name": args.name, "projectId": args.projectId, "zone": args.zone, }, opts); } exports.getLbAcls = getLbAcls; /** * 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 */ function getLbAclsOutput(args, opts) { pulumi.log.warn("getLbAcls is deprecated: scaleway.index/getlbacls.getLbAcls has been deprecated in favor of scaleway.loadbalancers/getacls.getAcls"); opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("scaleway:index/getLbAcls:getLbAcls", { "frontendId": args.frontendId, "name": args.name, "projectId": args.projectId, "zone": args.zone, }, opts); } exports.getLbAclsOutput = getLbAclsOutput; //# sourceMappingURL=getLbAcls.js.map