UNPKG

@bdzscaler/pulumi-zia

Version:

A Pulumi package for creating and managing zia cloud resources.

90 lines (89 loc) 4.13 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * * [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 */ /** @deprecated zia.index/getforwardingcontrolproxygateway.getForwardingControlProxyGateway has been deprecated in favor of zia.index/getforwardingproxygateway.getForwardingProxyGateway */ export declare function getForwardingControlProxyGateway(args?: GetForwardingControlProxyGatewayArgs, opts?: pulumi.InvokeOptions): Promise<GetForwardingControlProxyGatewayResult>; /** * A collection of arguments for invoking getForwardingControlProxyGateway. */ export interface GetForwardingControlProxyGatewayArgs { /** * The ID of the forwarding control Proxy Gateway resource. */ id?: number; /** * The name of the forwarding control Proxy Gateway to be exported. */ name?: string; } /** * A collection of values returned by getForwardingControlProxyGateway. */ export interface GetForwardingControlProxyGatewayResult { /** * (string) - Additional details about the Proxy gateway */ readonly description: string; /** * (Boolean) - Indicates whether fail close is enabled to drop the traffic or disabled to allow the traffic when both primary and secondary proxies defined in this gateway are unreachable. */ readonly failClosed: boolean; /** * (string) A unique identifier for the secondary proxy gateway */ readonly id: number; /** * (list) - Information about the admin user that last modified the Proxy gateway */ readonly lastModifiedBies: outputs.GetForwardingControlProxyGatewayLastModifiedBy[]; /** * (int) - Timestamp when the ZPA gateway was last modified */ readonly lastModifiedTime: number; /** * (string) The configured name for the secondary proxy gateway */ readonly name: string; /** * (Set of String) - The primary proxy for the gateway. This field is not applicable to the Lite API. */ readonly primaryProxies: outputs.GetForwardingControlProxyGatewayPrimaryProxy[]; /** * () - The secondary proxy for the gateway. This field is not applicable to the Lite API. */ readonly secondaryProxies: outputs.GetForwardingControlProxyGatewaySecondaryProxy[]; /** * (string) - Indicates whether the type of Proxy gateway. Returned values are: `PROXYCHAIN`, `ZIA`, or `ECSELF` */ readonly type: string; } /** * * [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 */ /** @deprecated zia.index/getforwardingcontrolproxygateway.getForwardingControlProxyGateway has been deprecated in favor of zia.index/getforwardingproxygateway.getForwardingProxyGateway */ export declare function getForwardingControlProxyGatewayOutput(args?: GetForwardingControlProxyGatewayOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetForwardingControlProxyGatewayResult>; /** * A collection of arguments for invoking getForwardingControlProxyGateway. */ export interface GetForwardingControlProxyGatewayOutputArgs { /** * The ID of the forwarding control Proxy Gateway resource. */ id?: pulumi.Input<number>; /** * The name of the forwarding control Proxy Gateway to be exported. */ name?: pulumi.Input<string>; }