Zscaler Internet Access v0.0.7 published on Tuesday, Jul 30, 2024 by Zscaler
zia.getForwardingControlZPAGateway
Explore with Pulumi AI
Use the forwarding_control_zpa_gateway data source to get information about a forwarding control zpa gateway used in IP Source Anchoring integration between Zscaler Internet Access and Zscaler Private Access. This data source can then be associated with a ZIA Forwarding Control Rule.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as zia from "@pulumi/zia";
const this = zia.getForwardingControlZPAGateway({
    name: "ZPA_GW01",
});
import pulumi
import pulumi_zia as zia
this = zia.get_forwarding_control_zpa_gateway(name="ZPA_GW01")
package main
import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/zscaler/pulumi-zia/sdk/go/zia"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := zia.LookupForwardingControlZPAGateway(ctx, &zia.LookupForwardingControlZPAGatewayArgs{
			Name: pulumi.StringRef("ZPA_GW01"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Zia = Pulumi.Zia;
return await Deployment.RunAsync(() => 
{
    var @this = Zia.GetForwardingControlZPAGateway.Invoke(new()
    {
        Name = "ZPA_GW01",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zia.ZiaFunctions;
import com.pulumi.zia.inputs.GetForwardingControlZPAGatewayArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var this = ZiaFunctions.getForwardingControlZPAGateway(GetForwardingControlZPAGatewayArgs.builder()
            .name("ZPA_GW01")
            .build());
    }
}
variables:
  this:
    fn::invoke:
      Function: zia:getForwardingControlZPAGateway
      Arguments:
        name: ZPA_GW01
Using getForwardingControlZPAGateway
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getForwardingControlZPAGateway(args: GetForwardingControlZPAGatewayArgs, opts?: InvokeOptions): Promise<GetForwardingControlZPAGatewayResult>
function getForwardingControlZPAGatewayOutput(args: GetForwardingControlZPAGatewayOutputArgs, opts?: InvokeOptions): Output<GetForwardingControlZPAGatewayResult>def get_forwarding_control_zpa_gateway(id: Optional[int] = None,
                                       name: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetForwardingControlZPAGatewayResult
def get_forwarding_control_zpa_gateway_output(id: Optional[pulumi.Input[int]] = None,
                                       name: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetForwardingControlZPAGatewayResult]func LookupForwardingControlZPAGateway(ctx *Context, args *LookupForwardingControlZPAGatewayArgs, opts ...InvokeOption) (*LookupForwardingControlZPAGatewayResult, error)
func LookupForwardingControlZPAGatewayOutput(ctx *Context, args *LookupForwardingControlZPAGatewayOutputArgs, opts ...InvokeOption) LookupForwardingControlZPAGatewayResultOutput> Note: This function is named LookupForwardingControlZPAGateway in the Go SDK.
public static class GetForwardingControlZPAGateway 
{
    public static Task<GetForwardingControlZPAGatewayResult> InvokeAsync(GetForwardingControlZPAGatewayArgs args, InvokeOptions? opts = null)
    public static Output<GetForwardingControlZPAGatewayResult> Invoke(GetForwardingControlZPAGatewayInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetForwardingControlZPAGatewayResult> getForwardingControlZPAGateway(GetForwardingControlZPAGatewayArgs args, InvokeOptions options)
public static Output<GetForwardingControlZPAGatewayResult> getForwardingControlZPAGateway(GetForwardingControlZPAGatewayArgs args, InvokeOptions options)
fn::invoke:
  function: zia:index/getForwardingControlZPAGateway:getForwardingControlZPAGateway
  arguments:
    # arguments dictionaryThe following arguments are supported:
getForwardingControlZPAGateway Result
The following output properties are available:
- Description string
- (string) - Additional details about the ZPA gateway
- Id int
- (int) - Identifier that uniquely identifies an entity
- LastModified List<zscaler.Bies Pulumi Package. Zia. Outputs. Get Forwarding Control ZPAGateway Last Modified By> 
- (list) - Information about the admin user that last modified the ZPA gateway
- LastModified intTime 
- (int) - Timestamp when the ZPA gateway was last modified
- Name string
- (string) The configured name of the entity
- Type string
- (string) - Indicates whether the ZPA gateway is configured for Zscaler Internet Access (using option ZPA) or Zscaler Cloud Connector (using option ECZPA)
- ZpaApp List<zscaler.Segments Pulumi Package. Zia. Outputs. Get Forwarding Control ZPAGateway Zpa App Segment> 
- ZpaServer List<zscaler.Groups Pulumi Package. Zia. Outputs. Get Forwarding Control ZPAGateway Zpa Server Group> 
- () - The ZPA Server Group that is configured for Source IP Anchoring
- ZpaTenant intId 
- Description string
- (string) - Additional details about the ZPA gateway
- Id int
- (int) - Identifier that uniquely identifies an entity
- LastModified []GetBies Forwarding Control ZPAGateway Last Modified By 
- (list) - Information about the admin user that last modified the ZPA gateway
- LastModified intTime 
- (int) - Timestamp when the ZPA gateway was last modified
- Name string
- (string) The configured name of the entity
- Type string
- (string) - Indicates whether the ZPA gateway is configured for Zscaler Internet Access (using option ZPA) or Zscaler Cloud Connector (using option ECZPA)
- ZpaApp []GetSegments Forwarding Control ZPAGateway Zpa App Segment 
- ZpaServer []GetGroups Forwarding Control ZPAGateway Zpa Server Group 
- () - The ZPA Server Group that is configured for Source IP Anchoring
- ZpaTenant intId 
- description String
- (string) - Additional details about the ZPA gateway
- id Integer
- (int) - Identifier that uniquely identifies an entity
- lastModified List<GetBies Forwarding Control ZPAGateway Last Modified By> 
- (list) - Information about the admin user that last modified the ZPA gateway
- lastModified IntegerTime 
- (int) - Timestamp when the ZPA gateway was last modified
- name String
- (string) The configured name of the entity
- type String
- (string) - Indicates whether the ZPA gateway is configured for Zscaler Internet Access (using option ZPA) or Zscaler Cloud Connector (using option ECZPA)
- zpaApp List<GetSegments Forwarding Control ZPAGateway Zpa App Segment> 
- zpaServer List<GetGroups Forwarding Control ZPAGateway Zpa Server Group> 
- () - The ZPA Server Group that is configured for Source IP Anchoring
- zpaTenant IntegerId 
- description string
- (string) - Additional details about the ZPA gateway
- id number
- (int) - Identifier that uniquely identifies an entity
- lastModified GetBies Forwarding Control ZPAGateway Last Modified By[] 
- (list) - Information about the admin user that last modified the ZPA gateway
- lastModified numberTime 
- (int) - Timestamp when the ZPA gateway was last modified
- name string
- (string) The configured name of the entity
- type string
- (string) - Indicates whether the ZPA gateway is configured for Zscaler Internet Access (using option ZPA) or Zscaler Cloud Connector (using option ECZPA)
- zpaApp GetSegments Forwarding Control ZPAGateway Zpa App Segment[] 
- zpaServer GetGroups Forwarding Control ZPAGateway Zpa Server Group[] 
- () - The ZPA Server Group that is configured for Source IP Anchoring
- zpaTenant numberId 
- description str
- (string) - Additional details about the ZPA gateway
- id int
- (int) - Identifier that uniquely identifies an entity
- last_modified_ Sequence[Getbies Forwarding Control ZPAGateway Last Modified By] 
- (list) - Information about the admin user that last modified the ZPA gateway
- last_modified_ inttime 
- (int) - Timestamp when the ZPA gateway was last modified
- name str
- (string) The configured name of the entity
- type str
- (string) - Indicates whether the ZPA gateway is configured for Zscaler Internet Access (using option ZPA) or Zscaler Cloud Connector (using option ECZPA)
- zpa_app_ Sequence[Getsegments Forwarding Control ZPAGateway Zpa App Segment] 
- zpa_server_ Sequence[Getgroups Forwarding Control ZPAGateway Zpa Server Group] 
- () - The ZPA Server Group that is configured for Source IP Anchoring
- zpa_tenant_ intid 
- description String
- (string) - Additional details about the ZPA gateway
- id Number
- (int) - Identifier that uniquely identifies an entity
- lastModified List<Property Map>Bies 
- (list) - Information about the admin user that last modified the ZPA gateway
- lastModified NumberTime 
- (int) - Timestamp when the ZPA gateway was last modified
- name String
- (string) The configured name of the entity
- type String
- (string) - Indicates whether the ZPA gateway is configured for Zscaler Internet Access (using option ZPA) or Zscaler Cloud Connector (using option ECZPA)
- zpaApp List<Property Map>Segments 
- zpaServer List<Property Map>Groups 
- () - The ZPA Server Group that is configured for Source IP Anchoring
- zpaTenant NumberId 
Supporting Types
GetForwardingControlZPAGatewayLastModifiedBy      
- Extensions Dictionary<string, string>
- Id int
- The ID of the forwarding control ZPA Gateway resource.
- Name string
- The name of the forwarding control ZPA Gateway to be exported.
- Extensions map[string]string
- Id int
- The ID of the forwarding control ZPA Gateway resource.
- Name string
- The name of the forwarding control ZPA Gateway to be exported.
- extensions Map<String,String>
- id Integer
- The ID of the forwarding control ZPA Gateway resource.
- name String
- The name of the forwarding control ZPA Gateway to be exported.
- extensions {[key: string]: string}
- id number
- The ID of the forwarding control ZPA Gateway resource.
- name string
- The name of the forwarding control ZPA Gateway to be exported.
- extensions Mapping[str, str]
- id int
- The ID of the forwarding control ZPA Gateway resource.
- name str
- The name of the forwarding control ZPA Gateway to be exported.
- extensions Map<String>
- id Number
- The ID of the forwarding control ZPA Gateway resource.
- name String
- The name of the forwarding control ZPA Gateway to be exported.
GetForwardingControlZPAGatewayZpaAppSegment      
- ExternalId string
- (string) An external identifier used for an entity that is managed outside of ZIA. Examples include zpaServerGroup and zpaAppSegments. This field is not applicable to ZIA-managed entities.
- Name string
- The name of the forwarding control ZPA Gateway to be exported.
- ExternalId string
- (string) An external identifier used for an entity that is managed outside of ZIA. Examples include zpaServerGroup and zpaAppSegments. This field is not applicable to ZIA-managed entities.
- Name string
- The name of the forwarding control ZPA Gateway to be exported.
- externalId String
- (string) An external identifier used for an entity that is managed outside of ZIA. Examples include zpaServerGroup and zpaAppSegments. This field is not applicable to ZIA-managed entities.
- name String
- The name of the forwarding control ZPA Gateway to be exported.
- externalId string
- (string) An external identifier used for an entity that is managed outside of ZIA. Examples include zpaServerGroup and zpaAppSegments. This field is not applicable to ZIA-managed entities.
- name string
- The name of the forwarding control ZPA Gateway to be exported.
- external_id str
- (string) An external identifier used for an entity that is managed outside of ZIA. Examples include zpaServerGroup and zpaAppSegments. This field is not applicable to ZIA-managed entities.
- name str
- The name of the forwarding control ZPA Gateway to be exported.
- externalId String
- (string) An external identifier used for an entity that is managed outside of ZIA. Examples include zpaServerGroup and zpaAppSegments. This field is not applicable to ZIA-managed entities.
- name String
- The name of the forwarding control ZPA Gateway to be exported.
GetForwardingControlZPAGatewayZpaServerGroup      
- ExternalId string
- (string) An external identifier used for an entity that is managed outside of ZIA. Examples include zpaServerGroup and zpaAppSegments. This field is not applicable to ZIA-managed entities.
- Name string
- The name of the forwarding control ZPA Gateway to be exported.
- ExternalId string
- (string) An external identifier used for an entity that is managed outside of ZIA. Examples include zpaServerGroup and zpaAppSegments. This field is not applicable to ZIA-managed entities.
- Name string
- The name of the forwarding control ZPA Gateway to be exported.
- externalId String
- (string) An external identifier used for an entity that is managed outside of ZIA. Examples include zpaServerGroup and zpaAppSegments. This field is not applicable to ZIA-managed entities.
- name String
- The name of the forwarding control ZPA Gateway to be exported.
- externalId string
- (string) An external identifier used for an entity that is managed outside of ZIA. Examples include zpaServerGroup and zpaAppSegments. This field is not applicable to ZIA-managed entities.
- name string
- The name of the forwarding control ZPA Gateway to be exported.
- external_id str
- (string) An external identifier used for an entity that is managed outside of ZIA. Examples include zpaServerGroup and zpaAppSegments. This field is not applicable to ZIA-managed entities.
- name str
- The name of the forwarding control ZPA Gateway to be exported.
- externalId String
- (string) An external identifier used for an entity that is managed outside of ZIA. Examples include zpaServerGroup and zpaAppSegments. This field is not applicable to ZIA-managed entities.
- name String
- The name of the forwarding control ZPA Gateway to be exported.
Package Details
- Repository
- zia zscaler/pulumi-zia
- License
- MIT
- Notes
- This Pulumi package is based on the ziaTerraform Provider.
