UNPKG

@bdzscaler/pulumi-zia

Version:

A Pulumi package for creating and managing zia cloud resources.

42 lines 2.2 kB
"use strict"; // *** WARNING: this file was generated by pulumi-language-nodejs. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getForwardingProxyGatewayOutput = exports.getForwardingProxyGateway = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * * [Official documentation](https://help.zscaler.com/zia/about-gateways-proxies) * * [API documentation](https://help.zscaler.com/zia/forwarding-control-policy#/proxyGateways-get) * * Use the **zia_forwarding_control_proxy_gateway** data source to retrieve the proxy gateway information. This data source can then be associated with the attribute `proxyGateway` when creating a Forwarding Control Rule via the resource: `zia.ForwardingControlRule` * * ## Example Usage */ function getForwardingProxyGateway(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("zia:index/getForwardingProxyGateway:getForwardingProxyGateway", { "id": args.id, "name": args.name, }, opts); } exports.getForwardingProxyGateway = getForwardingProxyGateway; /** * * [Official documentation](https://help.zscaler.com/zia/about-gateways-proxies) * * [API documentation](https://help.zscaler.com/zia/forwarding-control-policy#/proxyGateways-get) * * Use the **zia_forwarding_control_proxy_gateway** data source to retrieve the proxy gateway information. This data source can then be associated with the attribute `proxyGateway` when creating a Forwarding Control Rule via the resource: `zia.ForwardingControlRule` * * ## Example Usage */ function getForwardingProxyGatewayOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("zia:index/getForwardingProxyGateway:getForwardingProxyGateway", { "id": args.id, "name": args.name, }, opts); } exports.getForwardingProxyGatewayOutput = getForwardingProxyGatewayOutput; //# sourceMappingURL=getForwardingProxyGateway.js.map