1. Packages
  2. Zscaler Internet Access (ZIA)
  3. API Docs
  4. getExtranet
Zscaler Internet Access v1.2.0 published on Friday, Feb 20, 2026 by Zscaler
zia logo
Zscaler Internet Access v1.2.0 published on Friday, Feb 20, 2026 by Zscaler

    Use the zia_extranet data source to get information about extranets configured for the organization in the Zscaler Internet Access cloud. Extranets are configured as part of Zscaler Extranet Application Support which allows an organization to connect its internal network with another organization’s network (e.g., partners, third-party vendors, etc.) that does not use the Zscaler service. Extranet Application Support enables Zscaler-managed organization users to securely access extranet resources through an IPSec VPN tunnel established between the Zscaler data center and the external organization’s data center, without requiring additional hardware or software installations.

    NOTE: This an Early Access feature.

    Example Usage

    Retrieve By Name

    data "zia_extranet" "this" {
        name = "Extranet01"
    }
    

    Retrieve By ID

    data "zia_extranet" "this" {
        id = 1254674585
    }
    

    Using getExtranet

    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 getExtranet(args: GetExtranetArgs, opts?: InvokeOptions): Promise<GetExtranetResult>
    function getExtranetOutput(args: GetExtranetOutputArgs, opts?: InvokeOptions): Output<GetExtranetResult>
    def get_extranet(id: Optional[int] = None,
                     name: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetExtranetResult
    def get_extranet_output(id: Optional[pulumi.Input[int]] = None,
                     name: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetExtranetResult]
    func LookupExtranet(ctx *Context, args *LookupExtranetArgs, opts ...InvokeOption) (*LookupExtranetResult, error)
    func LookupExtranetOutput(ctx *Context, args *LookupExtranetOutputArgs, opts ...InvokeOption) LookupExtranetResultOutput

    > Note: This function is named LookupExtranet in the Go SDK.

    public static class GetExtranet 
    {
        public static Task<GetExtranetResult> InvokeAsync(GetExtranetArgs args, InvokeOptions? opts = null)
        public static Output<GetExtranetResult> Invoke(GetExtranetInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetExtranetResult> getExtranet(GetExtranetArgs args, InvokeOptions options)
    public static Output<GetExtranetResult> getExtranet(GetExtranetArgs args, InvokeOptions options)
    
    fn::invoke:
      function: zia:index/getExtranet:getExtranet
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id int
    (Integer) The ID generated for the IP pool configuration.
    Name string
    (String) The name of the IP pool.
    Id int
    (Integer) The ID generated for the IP pool configuration.
    Name string
    (String) The name of the IP pool.
    id Integer
    (Integer) The ID generated for the IP pool configuration.
    name String
    (String) The name of the IP pool.
    id number
    (Integer) The ID generated for the IP pool configuration.
    name string
    (String) The name of the IP pool.
    id int
    (Integer) The ID generated for the IP pool configuration.
    name str
    (String) The name of the IP pool.
    id Number
    (Integer) The ID generated for the IP pool configuration.
    name String
    (String) The name of the IP pool.

    getExtranet Result

    The following output properties are available:

    CreatedAt int
    (Integer) The Unix timestamp when the extranet was created.
    Description string
    (String) The description of the extranet.
    ExtranetDnsLists List<zscaler.PulumiPackage.Zia.Outputs.GetExtranetExtranetDnsList>
    (List) Information about the DNS servers specified for the extranet.
    ExtranetIpPoolLists List<zscaler.PulumiPackage.Zia.Outputs.GetExtranetExtranetIpPoolList>
    (List) Information about the traffic selectors (IP pools) specified for the extranet.
    Id int
    (Integer) The ID generated for the IP pool configuration.
    ModifiedAt int
    (Integer) The Unix timestamp when the extranet was last modified.
    Name string
    (String) The name of the IP pool.
    CreatedAt int
    (Integer) The Unix timestamp when the extranet was created.
    Description string
    (String) The description of the extranet.
    ExtranetDnsLists []GetExtranetExtranetDnsList
    (List) Information about the DNS servers specified for the extranet.
    ExtranetIpPoolLists []GetExtranetExtranetIpPoolList
    (List) Information about the traffic selectors (IP pools) specified for the extranet.
    Id int
    (Integer) The ID generated for the IP pool configuration.
    ModifiedAt int
    (Integer) The Unix timestamp when the extranet was last modified.
    Name string
    (String) The name of the IP pool.
    createdAt Integer
    (Integer) The Unix timestamp when the extranet was created.
    description String
    (String) The description of the extranet.
    extranetDnsLists List<GetExtranetExtranetDnsList>
    (List) Information about the DNS servers specified for the extranet.
    extranetIpPoolLists List<GetExtranetExtranetIpPoolList>
    (List) Information about the traffic selectors (IP pools) specified for the extranet.
    id Integer
    (Integer) The ID generated for the IP pool configuration.
    modifiedAt Integer
    (Integer) The Unix timestamp when the extranet was last modified.
    name String
    (String) The name of the IP pool.
    createdAt number
    (Integer) The Unix timestamp when the extranet was created.
    description string
    (String) The description of the extranet.
    extranetDnsLists GetExtranetExtranetDnsList[]
    (List) Information about the DNS servers specified for the extranet.
    extranetIpPoolLists GetExtranetExtranetIpPoolList[]
    (List) Information about the traffic selectors (IP pools) specified for the extranet.
    id number
    (Integer) The ID generated for the IP pool configuration.
    modifiedAt number
    (Integer) The Unix timestamp when the extranet was last modified.
    name string
    (String) The name of the IP pool.
    created_at int
    (Integer) The Unix timestamp when the extranet was created.
    description str
    (String) The description of the extranet.
    extranet_dns_lists Sequence[GetExtranetExtranetDnsList]
    (List) Information about the DNS servers specified for the extranet.
    extranet_ip_pool_lists Sequence[GetExtranetExtranetIpPoolList]
    (List) Information about the traffic selectors (IP pools) specified for the extranet.
    id int
    (Integer) The ID generated for the IP pool configuration.
    modified_at int
    (Integer) The Unix timestamp when the extranet was last modified.
    name str
    (String) The name of the IP pool.
    createdAt Number
    (Integer) The Unix timestamp when the extranet was created.
    description String
    (String) The description of the extranet.
    extranetDnsLists List<Property Map>
    (List) Information about the DNS servers specified for the extranet.
    extranetIpPoolLists List<Property Map>
    (List) Information about the traffic selectors (IP pools) specified for the extranet.
    id Number
    (Integer) The ID generated for the IP pool configuration.
    modifiedAt Number
    (Integer) The Unix timestamp when the extranet was last modified.
    name String
    (String) The name of the IP pool.

    Supporting Types

    GetExtranetExtranetDnsList

    Id int
    (Integer) The ID generated for the IP pool configuration.
    Name string
    (String) The name of the IP pool.
    PrimaryDnsServer string
    (String) The IP address of the primary DNS server.
    SecondaryDnsServer string
    (String) The IP address of the secondary DNS server.
    UseAsDefault bool
    (Boolean) Whether this IP pool is the designated default.
    Id int
    (Integer) The ID generated for the IP pool configuration.
    Name string
    (String) The name of the IP pool.
    PrimaryDnsServer string
    (String) The IP address of the primary DNS server.
    SecondaryDnsServer string
    (String) The IP address of the secondary DNS server.
    UseAsDefault bool
    (Boolean) Whether this IP pool is the designated default.
    id Integer
    (Integer) The ID generated for the IP pool configuration.
    name String
    (String) The name of the IP pool.
    primaryDnsServer String
    (String) The IP address of the primary DNS server.
    secondaryDnsServer String
    (String) The IP address of the secondary DNS server.
    useAsDefault Boolean
    (Boolean) Whether this IP pool is the designated default.
    id number
    (Integer) The ID generated for the IP pool configuration.
    name string
    (String) The name of the IP pool.
    primaryDnsServer string
    (String) The IP address of the primary DNS server.
    secondaryDnsServer string
    (String) The IP address of the secondary DNS server.
    useAsDefault boolean
    (Boolean) Whether this IP pool is the designated default.
    id int
    (Integer) The ID generated for the IP pool configuration.
    name str
    (String) The name of the IP pool.
    primary_dns_server str
    (String) The IP address of the primary DNS server.
    secondary_dns_server str
    (String) The IP address of the secondary DNS server.
    use_as_default bool
    (Boolean) Whether this IP pool is the designated default.
    id Number
    (Integer) The ID generated for the IP pool configuration.
    name String
    (String) The name of the IP pool.
    primaryDnsServer String
    (String) The IP address of the primary DNS server.
    secondaryDnsServer String
    (String) The IP address of the secondary DNS server.
    useAsDefault Boolean
    (Boolean) Whether this IP pool is the designated default.

    GetExtranetExtranetIpPoolList

    Id int
    (Integer) The ID generated for the IP pool configuration.
    IpEnd string
    (String) The ending IP address of the pool.
    IpStart string
    (String) The starting IP address of the pool.
    Name string
    (String) The name of the IP pool.
    UseAsDefault bool
    (Boolean) Whether this IP pool is the designated default.
    Id int
    (Integer) The ID generated for the IP pool configuration.
    IpEnd string
    (String) The ending IP address of the pool.
    IpStart string
    (String) The starting IP address of the pool.
    Name string
    (String) The name of the IP pool.
    UseAsDefault bool
    (Boolean) Whether this IP pool is the designated default.
    id Integer
    (Integer) The ID generated for the IP pool configuration.
    ipEnd String
    (String) The ending IP address of the pool.
    ipStart String
    (String) The starting IP address of the pool.
    name String
    (String) The name of the IP pool.
    useAsDefault Boolean
    (Boolean) Whether this IP pool is the designated default.
    id number
    (Integer) The ID generated for the IP pool configuration.
    ipEnd string
    (String) The ending IP address of the pool.
    ipStart string
    (String) The starting IP address of the pool.
    name string
    (String) The name of the IP pool.
    useAsDefault boolean
    (Boolean) Whether this IP pool is the designated default.
    id int
    (Integer) The ID generated for the IP pool configuration.
    ip_end str
    (String) The ending IP address of the pool.
    ip_start str
    (String) The starting IP address of the pool.
    name str
    (String) The name of the IP pool.
    use_as_default bool
    (Boolean) Whether this IP pool is the designated default.
    id Number
    (Integer) The ID generated for the IP pool configuration.
    ipEnd String
    (String) The ending IP address of the pool.
    ipStart String
    (String) The starting IP address of the pool.
    name String
    (String) The name of the IP pool.
    useAsDefault Boolean
    (Boolean) Whether this IP pool is the designated default.

    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 v1.2.0 published on Friday, Feb 20, 2026 by Zscaler
      Meet Neo: Your AI Platform Teammate