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)
// Output-based functions aren't available in Java yet
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
 - Last
Modified 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
 - Last
Modified 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)
 - Zpa
App List<zscaler.Segments Pulumi Package. Zia. Outputs. Get Forwarding Control ZPAGateway Zpa App Segment>  - Zpa
Server 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
 - Zpa
Tenant intId  
- Description string
 - (string) - Additional details about the ZPA gateway
 - Id int
 - (int) - Identifier that uniquely identifies an entity
 - Last
Modified []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 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)
 - Zpa
App []GetSegments Forwarding Control ZPAGateway Zpa App Segment  - Zpa
Server []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 Integer
 - (int) - Identifier that uniquely identifies an entity
 - last
Modified List<GetBies Forwarding Control ZPAGateway Last Modified By>  - (list) - Information about the admin user that last modified the ZPA gateway
 - last
Modified 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)
 - zpa
App List<GetSegments Forwarding Control ZPAGateway Zpa App Segment>  - zpa
Server List<GetGroups Forwarding Control ZPAGateway Zpa Server Group>  - () - The ZPA Server Group that is configured for Source IP Anchoring
 - zpa
Tenant IntegerId  
- description string
 - (string) - Additional details about the ZPA gateway
 - id number
 - (int) - Identifier that uniquely identifies an entity
 - last
Modified GetBies Forwarding Control ZPAGateway Last Modified By[]  - (list) - Information about the admin user that last modified the ZPA gateway
 - last
Modified 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)
 - zpa
App GetSegments Forwarding Control ZPAGateway Zpa App Segment[]  - zpa
Server GetGroups Forwarding Control ZPAGateway Zpa Server Group[]  - () - The ZPA Server Group that is configured for Source IP Anchoring
 - zpa
Tenant 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
 - last
Modified List<Property Map>Bies  - (list) - Information about the admin user that last modified the ZPA gateway
 - last
Modified 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)
 - zpa
App List<Property Map>Segments  - zpa
Server List<Property Map>Groups  - () - The ZPA Server Group that is configured for Source IP Anchoring
 - zpa
Tenant 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      
- External
Id 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 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 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 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.
 
- external
Id 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      
- External
Id 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 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 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 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.
 
- external
Id 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.