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 dictionaryThe following arguments are supported:
getExtranet Result
The following output properties are available:
- Created
At int - (Integer) The Unix timestamp when the extranet was created.
- Description string
- (String) The description of the extranet.
- Extranet
Dns List<zscaler.Lists Pulumi Package. Zia. Outputs. Get Extranet Extranet Dns List> - (List) Information about the DNS servers specified for the extranet.
- Extranet
Ip List<zscaler.Pool Lists Pulumi Package. Zia. Outputs. Get Extranet Extranet Ip Pool List> - (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 string
- (String) The name of the IP pool.
- Created
At int - (Integer) The Unix timestamp when the extranet was created.
- Description string
- (String) The description of the extranet.
- Extranet
Dns []GetLists Extranet Extranet Dns List - (List) Information about the DNS servers specified for the extranet.
- Extranet
Ip []GetPool Lists Extranet Extranet Ip Pool List - (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 string
- (String) The name of the IP pool.
- created
At Integer - (Integer) The Unix timestamp when the extranet was created.
- description String
- (String) The description of the extranet.
- extranet
Dns List<GetLists Extranet Extranet Dns List> - (List) Information about the DNS servers specified for the extranet.
- extranet
Ip List<GetPool Lists Extranet Extranet Ip Pool List> - (List) Information about the traffic selectors (IP pools) specified for the extranet.
- id Integer
- (Integer) The ID generated for the IP pool configuration.
- modified
At Integer - (Integer) The Unix timestamp when the extranet was last modified.
- name String
- (String) The name of the IP pool.
- created
At number - (Integer) The Unix timestamp when the extranet was created.
- description string
- (String) The description of the extranet.
- extranet
Dns GetLists Extranet Extranet Dns List[] - (List) Information about the DNS servers specified for the extranet.
- extranet
Ip GetPool Lists Extranet Extranet Ip Pool List[] - (List) Information about the traffic selectors (IP pools) specified for the extranet.
- id number
- (Integer) The ID generated for the IP pool configuration.
- modified
At 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_ Sequence[Getlists Extranet Extranet Dns List] - (List) Information about the DNS servers specified for the extranet.
- extranet_
ip_ Sequence[Getpool_ lists Extranet Extranet Ip Pool List] - (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.
- created
At Number - (Integer) The Unix timestamp when the extranet was created.
- description String
- (String) The description of the extranet.
- extranet
Dns List<Property Map>Lists - (List) Information about the DNS servers specified for the extranet.
- extranet
Ip List<Property Map>Pool Lists - (List) Information about the traffic selectors (IP pools) specified for the extranet.
- id Number
- (Integer) The ID generated for the IP pool configuration.
- modified
At 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.
- Primary
Dns stringServer - (String) The IP address of the primary DNS server.
- Secondary
Dns stringServer - (String) The IP address of the secondary DNS server.
- Use
As boolDefault - (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.
- Primary
Dns stringServer - (String) The IP address of the primary DNS server.
- Secondary
Dns stringServer - (String) The IP address of the secondary DNS server.
- Use
As boolDefault - (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.
- primary
Dns StringServer - (String) The IP address of the primary DNS server.
- secondary
Dns StringServer - (String) The IP address of the secondary DNS server.
- use
As BooleanDefault - (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.
- primary
Dns stringServer - (String) The IP address of the primary DNS server.
- secondary
Dns stringServer - (String) The IP address of the secondary DNS server.
- use
As booleanDefault - (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_ strserver - (String) The IP address of the primary DNS server.
- secondary_
dns_ strserver - (String) The IP address of the secondary DNS server.
- use_
as_ booldefault - (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.
- primary
Dns StringServer - (String) The IP address of the primary DNS server.
- secondary
Dns StringServer - (String) The IP address of the secondary DNS server.
- use
As BooleanDefault - (Boolean) Whether this IP pool is the designated default.
GetExtranetExtranetIpPoolList
- Id int
- (Integer) The ID generated for the IP pool configuration.
- Ip
End string - (String) The ending IP address of the pool.
- Ip
Start string - (String) The starting IP address of the pool.
- Name string
- (String) The name of the IP pool.
- Use
As boolDefault - (Boolean) Whether this IP pool is the designated default.
- Id int
- (Integer) The ID generated for the IP pool configuration.
- Ip
End string - (String) The ending IP address of the pool.
- Ip
Start string - (String) The starting IP address of the pool.
- Name string
- (String) The name of the IP pool.
- Use
As boolDefault - (Boolean) Whether this IP pool is the designated default.
- id Integer
- (Integer) The ID generated for the IP pool configuration.
- ip
End String - (String) The ending IP address of the pool.
- ip
Start String - (String) The starting IP address of the pool.
- name String
- (String) The name of the IP pool.
- use
As BooleanDefault - (Boolean) Whether this IP pool is the designated default.
- id number
- (Integer) The ID generated for the IP pool configuration.
- ip
End string - (String) The ending IP address of the pool.
- ip
Start string - (String) The starting IP address of the pool.
- name string
- (String) The name of the IP pool.
- use
As booleanDefault - (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_ booldefault - (Boolean) Whether this IP pool is the designated default.
- id Number
- (Integer) The ID generated for the IP pool configuration.
- ip
End String - (String) The ending IP address of the pool.
- ip
Start String - (String) The starting IP address of the pool.
- name String
- (String) The name of the IP pool.
- use
As BooleanDefault - (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
ziaTerraform Provider.
