1. Packages
  2. Zscaler Internet Access (ZIA)
  3. API Docs
  4. ForwardingControlZPAGateway
Zscaler Internet Access v0.0.6 published on Wednesday, Apr 10, 2024 by Zscaler

zia.ForwardingControlZPAGateway

Explore with Pulumi AI

zia logo
Zscaler Internet Access v0.0.6 published on Wednesday, Apr 10, 2024 by Zscaler

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as zia from "@bdzscaler/pulumi-zia";
    import * as zpa from "@pulumi/zpa";
    
    const thisServerGroup = zpa.getServerGroup({
        name: "Server_Group_IP_Source_Anchoring",
    });
    const this1 = zpa.getApplicationSegment({
        name: "App_Segment_IP_Source_Anchoring",
    });
    const this2 = zpa.getApplicationSegment({
        name: "App_Segment_IP_Source_Anchoring2",
    });
    const thisForwardingControlZPAGateway = new zia.ForwardingControlZPAGateway("thisForwardingControlZPAGateway", {
        description: "ZPA_GW01",
        type: "ZPA",
        zpaServerGroup: {
            externalId: thisServerGroup.then(thisServerGroup => thisServerGroup.id),
            name: thisServerGroup.then(thisServerGroup => thisServerGroup.id),
        },
        zpaAppSegments: [
            {
                externalId: this1.then(this1 => this1.id),
                name: this1.then(this1 => this1.name),
            },
            {
                externalId: this2.then(this2 => this2.id),
                name: this2.then(this2 => this2.name),
            },
        ],
    });
    
    import pulumi
    import pulumi_zpa as zpa
    import zscaler_pulumi_zia as zia
    
    this_server_group = zpa.get_server_group(name="Server_Group_IP_Source_Anchoring")
    this1 = zpa.get_application_segment(name="App_Segment_IP_Source_Anchoring")
    this2 = zpa.get_application_segment(name="App_Segment_IP_Source_Anchoring2")
    this_forwarding_control_zpa_gateway = zia.ForwardingControlZPAGateway("thisForwardingControlZPAGateway",
        description="ZPA_GW01",
        type="ZPA",
        zpa_server_group=zia.ForwardingControlZPAGatewayZpaServerGroupArgs(
            external_id=this_server_group.id,
            name=this_server_group.id,
        ),
        zpa_app_segments=[
            zia.ForwardingControlZPAGatewayZpaAppSegmentArgs(
                external_id=this1.id,
                name=this1.name,
            ),
            zia.ForwardingControlZPAGatewayZpaAppSegmentArgs(
                external_id=this2.id,
                name=this2.name,
            ),
        ])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/zscaler/pulumi-zia/sdk/go/zia"
    	"github.com/zscaler/pulumi-zpa/sdk/go/zpa"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		thisServerGroup, err := zpa.LookupServerGroup(ctx, &zpa.LookupServerGroupArgs{
    			Name: pulumi.StringRef("Server_Group_IP_Source_Anchoring"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		this1, err := zpa.LookupApplicationSegment(ctx, &zpa.LookupApplicationSegmentArgs{
    			Name: pulumi.StringRef("App_Segment_IP_Source_Anchoring"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		this2, err := zpa.LookupApplicationSegment(ctx, &zpa.LookupApplicationSegmentArgs{
    			Name: pulumi.StringRef("App_Segment_IP_Source_Anchoring2"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = zia.NewForwardingControlZPAGateway(ctx, "thisForwardingControlZPAGateway", &zia.ForwardingControlZPAGatewayArgs{
    			Description: pulumi.String("ZPA_GW01"),
    			Type:        pulumi.String("ZPA"),
    			ZpaServerGroup: &zia.ForwardingControlZPAGatewayZpaServerGroupArgs{
    				ExternalId: pulumi.String(thisServerGroup.Id),
    				Name:       pulumi.String(thisServerGroup.Id),
    			},
    			ZpaAppSegments: zia.ForwardingControlZPAGatewayZpaAppSegmentArray{
    				&zia.ForwardingControlZPAGatewayZpaAppSegmentArgs{
    					ExternalId: pulumi.String(this1.Id),
    					Name:       pulumi.String(this1.Name),
    				},
    				&zia.ForwardingControlZPAGatewayZpaAppSegmentArgs{
    					ExternalId: pulumi.String(this2.Id),
    					Name:       pulumi.String(this2.Name),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Zia = zscaler.PulumiPackage.Zia;
    using Zpa = Pulumi.Zpa;
    
    return await Deployment.RunAsync(() => 
    {
        var thisServerGroup = Zpa.GetServerGroup.Invoke(new()
        {
            Name = "Server_Group_IP_Source_Anchoring",
        });
    
        var this1 = Zpa.GetApplicationSegment.Invoke(new()
        {
            Name = "App_Segment_IP_Source_Anchoring",
        });
    
        var this2 = Zpa.GetApplicationSegment.Invoke(new()
        {
            Name = "App_Segment_IP_Source_Anchoring2",
        });
    
        var thisForwardingControlZPAGateway = new Zia.ForwardingControlZPAGateway("thisForwardingControlZPAGateway", new()
        {
            Description = "ZPA_GW01",
            Type = "ZPA",
            ZpaServerGroup = new Zia.Inputs.ForwardingControlZPAGatewayZpaServerGroupArgs
            {
                ExternalId = thisServerGroup.Apply(getServerGroupResult => getServerGroupResult.Id),
                Name = thisServerGroup.Apply(getServerGroupResult => getServerGroupResult.Id),
            },
            ZpaAppSegments = new[]
            {
                new Zia.Inputs.ForwardingControlZPAGatewayZpaAppSegmentArgs
                {
                    ExternalId = this1.Apply(getApplicationSegmentResult => getApplicationSegmentResult.Id),
                    Name = this1.Apply(getApplicationSegmentResult => getApplicationSegmentResult.Name),
                },
                new Zia.Inputs.ForwardingControlZPAGatewayZpaAppSegmentArgs
                {
                    ExternalId = this2.Apply(getApplicationSegmentResult => getApplicationSegmentResult.Id),
                    Name = this2.Apply(getApplicationSegmentResult => getApplicationSegmentResult.Name),
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.zpa.ZpaFunctions;
    import com.pulumi.zpa.inputs.GetServerGroupArgs;
    import com.pulumi.zpa.inputs.GetApplicationSegmentArgs;
    import com.pulumi.zia.ForwardingControlZPAGateway;
    import com.pulumi.zia.ForwardingControlZPAGatewayArgs;
    import com.pulumi.zia.inputs.ForwardingControlZPAGatewayZpaServerGroupArgs;
    import com.pulumi.zia.inputs.ForwardingControlZPAGatewayZpaAppSegmentArgs;
    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 thisServerGroup = ZpaFunctions.getServerGroup(GetServerGroupArgs.builder()
                .name("Server_Group_IP_Source_Anchoring")
                .build());
    
            final var this1 = ZpaFunctions.getApplicationSegment(GetApplicationSegmentArgs.builder()
                .name("App_Segment_IP_Source_Anchoring")
                .build());
    
            final var this2 = ZpaFunctions.getApplicationSegment(GetApplicationSegmentArgs.builder()
                .name("App_Segment_IP_Source_Anchoring2")
                .build());
    
            var thisForwardingControlZPAGateway = new ForwardingControlZPAGateway("thisForwardingControlZPAGateway", ForwardingControlZPAGatewayArgs.builder()        
                .description("ZPA_GW01")
                .type("ZPA")
                .zpaServerGroup(ForwardingControlZPAGatewayZpaServerGroupArgs.builder()
                    .externalId(thisServerGroup.applyValue(getServerGroupResult -> getServerGroupResult.id()))
                    .name(thisServerGroup.applyValue(getServerGroupResult -> getServerGroupResult.id()))
                    .build())
                .zpaAppSegments(            
                    ForwardingControlZPAGatewayZpaAppSegmentArgs.builder()
                        .externalId(this1.applyValue(getApplicationSegmentResult -> getApplicationSegmentResult.id()))
                        .name(this1.applyValue(getApplicationSegmentResult -> getApplicationSegmentResult.name()))
                        .build(),
                    ForwardingControlZPAGatewayZpaAppSegmentArgs.builder()
                        .externalId(this2.applyValue(getApplicationSegmentResult -> getApplicationSegmentResult.id()))
                        .name(this2.applyValue(getApplicationSegmentResult -> getApplicationSegmentResult.name()))
                        .build())
                .build());
    
        }
    }
    
    resources:
      thisForwardingControlZPAGateway:
        type: zia:ForwardingControlZPAGateway
        properties:
          description: ZPA_GW01
          type: ZPA
          zpaServerGroup:
            externalId: ${thisServerGroup.id}
            name: ${thisServerGroup.id}
          zpaAppSegments:
            - externalId: ${this1.id}
              name: ${this1.name}
            - externalId: ${this2.id}
              name: ${this2.name}
    variables:
      thisServerGroup:
        fn::invoke:
          Function: zpa:getServerGroup
          Arguments:
            name: Server_Group_IP_Source_Anchoring
      this1:
        fn::invoke:
          Function: zpa:getApplicationSegment
          Arguments:
            name: App_Segment_IP_Source_Anchoring
      this2:
        fn::invoke:
          Function: zpa:getApplicationSegment
          Arguments:
            name: App_Segment_IP_Source_Anchoring2
    

    Create ForwardingControlZPAGateway Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ForwardingControlZPAGateway(name: string, args: ForwardingControlZPAGatewayArgs, opts?: CustomResourceOptions);
    @overload
    def ForwardingControlZPAGateway(resource_name: str,
                                    args: ForwardingControlZPAGatewayArgs,
                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def ForwardingControlZPAGateway(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    zpa_app_segments: Optional[Sequence[ForwardingControlZPAGatewayZpaAppSegmentArgs]] = None,
                                    zpa_server_group: Optional[ForwardingControlZPAGatewayZpaServerGroupArgs] = None,
                                    description: Optional[str] = None,
                                    name: Optional[str] = None,
                                    type: Optional[str] = None)
    func NewForwardingControlZPAGateway(ctx *Context, name string, args ForwardingControlZPAGatewayArgs, opts ...ResourceOption) (*ForwardingControlZPAGateway, error)
    public ForwardingControlZPAGateway(string name, ForwardingControlZPAGatewayArgs args, CustomResourceOptions? opts = null)
    public ForwardingControlZPAGateway(String name, ForwardingControlZPAGatewayArgs args)
    public ForwardingControlZPAGateway(String name, ForwardingControlZPAGatewayArgs args, CustomResourceOptions options)
    
    type: zia:ForwardingControlZPAGateway
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ForwardingControlZPAGatewayArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ForwardingControlZPAGatewayArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ForwardingControlZPAGatewayArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ForwardingControlZPAGatewayArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ForwardingControlZPAGatewayArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var forwardingControlZPAGatewayResource = new Zia.ForwardingControlZPAGateway("forwardingControlZPAGatewayResource", new()
    {
        ZpaAppSegments = new[]
        {
            new Zia.Inputs.ForwardingControlZPAGatewayZpaAppSegmentArgs
            {
                ExternalId = "string",
                Name = "string",
            },
        },
        ZpaServerGroup = new Zia.Inputs.ForwardingControlZPAGatewayZpaServerGroupArgs
        {
            ExternalId = "string",
            Name = "string",
        },
        Description = "string",
        Name = "string",
        Type = "string",
    });
    
    example, err := zia.NewForwardingControlZPAGateway(ctx, "forwardingControlZPAGatewayResource", &zia.ForwardingControlZPAGatewayArgs{
    	ZpaAppSegments: zia.ForwardingControlZPAGatewayZpaAppSegmentArray{
    		&zia.ForwardingControlZPAGatewayZpaAppSegmentArgs{
    			ExternalId: pulumi.String("string"),
    			Name:       pulumi.String("string"),
    		},
    	},
    	ZpaServerGroup: &zia.ForwardingControlZPAGatewayZpaServerGroupArgs{
    		ExternalId: pulumi.String("string"),
    		Name:       pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	Type:        pulumi.String("string"),
    })
    
    var forwardingControlZPAGatewayResource = new ForwardingControlZPAGateway("forwardingControlZPAGatewayResource", ForwardingControlZPAGatewayArgs.builder()
        .zpaAppSegments(ForwardingControlZPAGatewayZpaAppSegmentArgs.builder()
            .externalId("string")
            .name("string")
            .build())
        .zpaServerGroup(ForwardingControlZPAGatewayZpaServerGroupArgs.builder()
            .externalId("string")
            .name("string")
            .build())
        .description("string")
        .name("string")
        .type("string")
        .build());
    
    forwarding_control_zpa_gateway_resource = zia.ForwardingControlZPAGateway("forwardingControlZPAGatewayResource",
        zpa_app_segments=[zia.ForwardingControlZPAGatewayZpaAppSegmentArgs(
            external_id="string",
            name="string",
        )],
        zpa_server_group=zia.ForwardingControlZPAGatewayZpaServerGroupArgs(
            external_id="string",
            name="string",
        ),
        description="string",
        name="string",
        type="string")
    
    const forwardingControlZPAGatewayResource = new zia.ForwardingControlZPAGateway("forwardingControlZPAGatewayResource", {
        zpaAppSegments: [{
            externalId: "string",
            name: "string",
        }],
        zpaServerGroup: {
            externalId: "string",
            name: "string",
        },
        description: "string",
        name: "string",
        type: "string",
    });
    
    type: zia:ForwardingControlZPAGateway
    properties:
        description: string
        name: string
        type: string
        zpaAppSegments:
            - externalId: string
              name: string
        zpaServerGroup:
            externalId: string
            name: string
    

    ForwardingControlZPAGateway Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The ForwardingControlZPAGateway resource accepts the following input properties:

    ZpaAppSegments List<zscaler.PulumiPackage.Zia.Inputs.ForwardingControlZPAGatewayZpaAppSegment>
    The ZPA Server Group that is configured for Source IP Anchoring
    ZpaServerGroup zscaler.PulumiPackage.Zia.Inputs.ForwardingControlZPAGatewayZpaServerGroup
    The ZPA Server Group that is configured for Source IP Anchoring
    Description string
    (string) - Additional details about the ZPA gateway
    Name 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). Supported values: ZPA and ECZPA
    ZpaAppSegments []ForwardingControlZPAGatewayZpaAppSegmentArgs
    The ZPA Server Group that is configured for Source IP Anchoring
    ZpaServerGroup ForwardingControlZPAGatewayZpaServerGroupArgs
    The ZPA Server Group that is configured for Source IP Anchoring
    Description string
    (string) - Additional details about the ZPA gateway
    Name 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). Supported values: ZPA and ECZPA
    zpaAppSegments List<ForwardingControlZPAGatewayZpaAppSegment>
    The ZPA Server Group that is configured for Source IP Anchoring
    zpaServerGroup ForwardingControlZPAGatewayZpaServerGroup
    The ZPA Server Group that is configured for Source IP Anchoring
    description String
    (string) - Additional details about the ZPA gateway
    name 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). Supported values: ZPA and ECZPA
    zpaAppSegments ForwardingControlZPAGatewayZpaAppSegment[]
    The ZPA Server Group that is configured for Source IP Anchoring
    zpaServerGroup ForwardingControlZPAGatewayZpaServerGroup
    The ZPA Server Group that is configured for Source IP Anchoring
    description string
    (string) - Additional details about the ZPA gateway
    name 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). Supported values: ZPA and ECZPA
    zpa_app_segments Sequence[ForwardingControlZPAGatewayZpaAppSegmentArgs]
    The ZPA Server Group that is configured for Source IP Anchoring
    zpa_server_group ForwardingControlZPAGatewayZpaServerGroupArgs
    The ZPA Server Group that is configured for Source IP Anchoring
    description str
    (string) - Additional details about the ZPA gateway
    name str
    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). Supported values: ZPA and ECZPA
    zpaAppSegments List<Property Map>
    The ZPA Server Group that is configured for Source IP Anchoring
    zpaServerGroup Property Map
    The ZPA Server Group that is configured for Source IP Anchoring
    description String
    (string) - Additional details about the ZPA gateway
    name 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). Supported values: ZPA and ECZPA

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ForwardingControlZPAGateway resource produces the following output properties:

    GatewayId int
    Id string
    The provider-assigned unique ID for this managed resource.
    GatewayId int
    Id string
    The provider-assigned unique ID for this managed resource.
    gatewayId Integer
    id String
    The provider-assigned unique ID for this managed resource.
    gatewayId number
    id string
    The provider-assigned unique ID for this managed resource.
    gateway_id int
    id str
    The provider-assigned unique ID for this managed resource.
    gatewayId Number
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ForwardingControlZPAGateway Resource

    Get an existing ForwardingControlZPAGateway resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ForwardingControlZPAGatewayState, opts?: CustomResourceOptions): ForwardingControlZPAGateway
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            gateway_id: Optional[int] = None,
            name: Optional[str] = None,
            type: Optional[str] = None,
            zpa_app_segments: Optional[Sequence[ForwardingControlZPAGatewayZpaAppSegmentArgs]] = None,
            zpa_server_group: Optional[ForwardingControlZPAGatewayZpaServerGroupArgs] = None) -> ForwardingControlZPAGateway
    func GetForwardingControlZPAGateway(ctx *Context, name string, id IDInput, state *ForwardingControlZPAGatewayState, opts ...ResourceOption) (*ForwardingControlZPAGateway, error)
    public static ForwardingControlZPAGateway Get(string name, Input<string> id, ForwardingControlZPAGatewayState? state, CustomResourceOptions? opts = null)
    public static ForwardingControlZPAGateway get(String name, Output<String> id, ForwardingControlZPAGatewayState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Description string
    (string) - Additional details about the ZPA gateway
    GatewayId int
    Name 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). Supported values: ZPA and ECZPA
    ZpaAppSegments List<zscaler.PulumiPackage.Zia.Inputs.ForwardingControlZPAGatewayZpaAppSegment>
    The ZPA Server Group that is configured for Source IP Anchoring
    ZpaServerGroup zscaler.PulumiPackage.Zia.Inputs.ForwardingControlZPAGatewayZpaServerGroup
    The ZPA Server Group that is configured for Source IP Anchoring
    Description string
    (string) - Additional details about the ZPA gateway
    GatewayId int
    Name 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). Supported values: ZPA and ECZPA
    ZpaAppSegments []ForwardingControlZPAGatewayZpaAppSegmentArgs
    The ZPA Server Group that is configured for Source IP Anchoring
    ZpaServerGroup ForwardingControlZPAGatewayZpaServerGroupArgs
    The ZPA Server Group that is configured for Source IP Anchoring
    description String
    (string) - Additional details about the ZPA gateway
    gatewayId Integer
    name 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). Supported values: ZPA and ECZPA
    zpaAppSegments List<ForwardingControlZPAGatewayZpaAppSegment>
    The ZPA Server Group that is configured for Source IP Anchoring
    zpaServerGroup ForwardingControlZPAGatewayZpaServerGroup
    The ZPA Server Group that is configured for Source IP Anchoring
    description string
    (string) - Additional details about the ZPA gateway
    gatewayId number
    name 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). Supported values: ZPA and ECZPA
    zpaAppSegments ForwardingControlZPAGatewayZpaAppSegment[]
    The ZPA Server Group that is configured for Source IP Anchoring
    zpaServerGroup ForwardingControlZPAGatewayZpaServerGroup
    The ZPA Server Group that is configured for Source IP Anchoring
    description str
    (string) - Additional details about the ZPA gateway
    gateway_id int
    name str
    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). Supported values: ZPA and ECZPA
    zpa_app_segments Sequence[ForwardingControlZPAGatewayZpaAppSegmentArgs]
    The ZPA Server Group that is configured for Source IP Anchoring
    zpa_server_group ForwardingControlZPAGatewayZpaServerGroupArgs
    The ZPA Server Group that is configured for Source IP Anchoring
    description String
    (string) - Additional details about the ZPA gateway
    gatewayId Number
    name 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). Supported values: ZPA and ECZPA
    zpaAppSegments List<Property Map>
    The ZPA Server Group that is configured for Source IP Anchoring
    zpaServerGroup Property Map
    The ZPA Server Group that is configured for Source IP Anchoring

    Supporting Types

    ForwardingControlZPAGatewayZpaAppSegment, ForwardingControlZPAGatewayZpaAppSegmentArgs

    ExternalId 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 configured name of the entity
    ExternalId 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 configured name of the entity
    externalId 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 configured name of the entity
    externalId 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 configured name of the entity
    external_id str
    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 configured name of the entity
    externalId 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 configured name of the entity

    ForwardingControlZPAGatewayZpaServerGroup, ForwardingControlZPAGatewayZpaServerGroupArgs

    ExternalId 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 configured name of the entity
    ExternalId 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 configured name of the entity
    externalId 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 configured name of the entity
    externalId 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 configured name of the entity
    external_id str
    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 configured name of the entity
    externalId 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 configured name of the entity

    Import

    Zscaler offers a dedicated tool called Zscaler-Terraformer to allow the automated import of ZIA configurations into Terraform-compliant HashiCorp Configuration Language.

    Visit

    forwarding_control_zpa_gateway can be imported by using <GATEWAY_ID> or <GATEWAY_NAME> as the import ID.

    For example:

    $ pulumi import zia:index/forwardingControlZPAGateway:ForwardingControlZPAGateway example <gateway_id>
    

    or

    $ pulumi import zia:index/forwardingControlZPAGateway:ForwardingControlZPAGateway example <gateway_name>
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    zia zscaler/pulumi-zia
    License
    MIT
    Notes
    This Pulumi package is based on the zia Terraform Provider.
    zia logo
    Zscaler Internet Access v0.0.6 published on Wednesday, Apr 10, 2024 by Zscaler