published on Friday, Mar 13, 2026 by Zscaler
published on Friday, Mar 13, 2026 by Zscaler
The zia.Extranet resource manages extranet configurations in the Zscaler Internet Access (ZIA) cloud. Extranets define DNS and IP pool settings for traffic forwarding.
Example Usage
Basic Extranet
Example coming soon!
Example coming soon!
Example coming soon!
import * as zia from "@bdzscaler/pulumi-zia";
const example = new zia.Extranet("example", {
name: "Example Extranet",
description: "Managed by Pulumi",
extranetDnsList: [{
name: "Primary DNS",
primaryDnsServer: "8.8.8.8",
secondaryDnsServer: "8.8.4.4",
}],
extranetIpPoolList: [{
name: "IP Pool 1",
ipStart: "10.0.0.1",
ipEnd: "10.0.0.254",
}],
});
import zscaler_pulumi_zia as zia
example = zia.Extranet("example",
name="Example Extranet",
description="Managed by Pulumi",
extranet_dns_list=[{
"name": "Primary DNS",
"primary_dns_server": "8.8.8.8",
"secondary_dns_server": "8.8.4.4",
}],
extranet_ip_pool_list=[{
"name": "IP Pool 1",
"ip_start": "10.0.0.1",
"ip_end": "10.0.0.254",
}],
)
resources:
example:
type: zia:Extranet
properties:
name: Example Extranet
description: Managed by Pulumi
extranetDnsList:
- name: Primary DNS
primaryDnsServer: "8.8.8.8"
secondaryDnsServer: "8.8.4.4"
extranetIpPoolList:
- name: IP Pool 1
ipStart: "10.0.0.1"
ipEnd: "10.0.0.254"
Create Extranet Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Extranet(name: string, args?: ExtranetArgs, opts?: CustomResourceOptions);@overload
def Extranet(resource_name: str,
args: Optional[ExtranetArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Extranet(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
extranet_dns_list: Optional[Sequence[ExtranetDnsListInputArgs]] = None,
extranet_ip_pool_list: Optional[Sequence[ExtranetIpPoolListInputArgs]] = None,
name: Optional[str] = None)func NewExtranet(ctx *Context, name string, args *ExtranetArgs, opts ...ResourceOption) (*Extranet, error)public Extranet(string name, ExtranetArgs? args = null, CustomResourceOptions? opts = null)
public Extranet(String name, ExtranetArgs args)
public Extranet(String name, ExtranetArgs args, CustomResourceOptions options)
type: zia:Extranet
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 ExtranetArgs
- 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 ExtranetArgs
- 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 ExtranetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ExtranetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ExtranetArgs
- 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 extranetResource = new Zia.Extranet("extranetResource", new()
{
Description = "string",
ExtranetDnsList = new[]
{
new Zia.Inputs.ExtranetDnsListInputArgs
{
Id = 0,
Name = "string",
PrimaryDnsServer = "string",
SecondaryDnsServer = "string",
UseAsDefault = false,
},
},
ExtranetIpPoolList = new[]
{
new Zia.Inputs.ExtranetIpPoolListInputArgs
{
Id = 0,
IpEnd = "string",
IpStart = "string",
Name = "string",
UseAsDefault = false,
},
},
Name = "string",
});
example, err := zia.NewExtranet(ctx, "extranetResource", &zia.ExtranetArgs{
Description: pulumi.String("string"),
ExtranetDnsList: pulumizia.ExtranetDnsListInputArray{
&pulumizia.ExtranetDnsListInputArgs{
Id: pulumi.Int(0),
Name: pulumi.String("string"),
PrimaryDnsServer: pulumi.String("string"),
SecondaryDnsServer: pulumi.String("string"),
UseAsDefault: pulumi.Bool(false),
},
},
ExtranetIpPoolList: pulumizia.ExtranetIpPoolListInputArray{
&pulumizia.ExtranetIpPoolListInputArgs{
Id: pulumi.Int(0),
IpEnd: pulumi.String("string"),
IpStart: pulumi.String("string"),
Name: pulumi.String("string"),
UseAsDefault: pulumi.Bool(false),
},
},
Name: pulumi.String("string"),
})
var extranetResource = new Extranet("extranetResource", ExtranetArgs.builder()
.description("string")
.extranetDnsList(ExtranetDnsListInputArgs.builder()
.id(0)
.name("string")
.primaryDnsServer("string")
.secondaryDnsServer("string")
.useAsDefault(false)
.build())
.extranetIpPoolList(ExtranetIpPoolListInputArgs.builder()
.id(0)
.ipEnd("string")
.ipStart("string")
.name("string")
.useAsDefault(false)
.build())
.name("string")
.build());
extranet_resource = zia.Extranet("extranetResource",
description="string",
extranet_dns_list=[{
"id": 0,
"name": "string",
"primary_dns_server": "string",
"secondary_dns_server": "string",
"use_as_default": False,
}],
extranet_ip_pool_list=[{
"id": 0,
"ip_end": "string",
"ip_start": "string",
"name": "string",
"use_as_default": False,
}],
name="string")
const extranetResource = new zia.Extranet("extranetResource", {
description: "string",
extranetDnsList: [{
id: 0,
name: "string",
primaryDnsServer: "string",
secondaryDnsServer: "string",
useAsDefault: false,
}],
extranetIpPoolList: [{
id: 0,
ipEnd: "string",
ipStart: "string",
name: "string",
useAsDefault: false,
}],
name: "string",
});
type: zia:Extranet
properties:
description: string
extranetDnsList:
- id: 0
name: string
primaryDnsServer: string
secondaryDnsServer: string
useAsDefault: false
extranetIpPoolList:
- id: 0
ipEnd: string
ipStart: string
name: string
useAsDefault: false
name: string
Extranet Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Extranet resource accepts the following input properties:
- Description string
- Description of the extranet.
- Extranet
Dns List<zscaler.List Pulumi Package. Zia. Inputs. Extranet Dns List Input> - List of DNS server entries for the extranet.
- Extranet
Ip List<zscaler.Pool List Pulumi Package. Zia. Inputs. Extranet Ip Pool List Input> - List of IP pool entries for the extranet.
- Name string
- Name of the extranet.
- Description string
- Description of the extranet.
- Extranet
Dns []ExtranetList Dns List Input Args - List of DNS server entries for the extranet.
- Extranet
Ip []ExtranetPool List Ip Pool List Input Args - List of IP pool entries for the extranet.
- Name string
- Name of the extranet.
- description String
- Description of the extranet.
- extranet
Dns List<ExtranetList Dns List Input> - List of DNS server entries for the extranet.
- extranet
Ip List<ExtranetPool List Ip Pool List Input> - List of IP pool entries for the extranet.
- name String
- Name of the extranet.
- description string
- Description of the extranet.
- extranet
Dns ExtranetList Dns List Input[] - List of DNS server entries for the extranet.
- extranet
Ip ExtranetPool List Ip Pool List Input[] - List of IP pool entries for the extranet.
- name string
- Name of the extranet.
- description str
- Description of the extranet.
- extranet_
dns_ Sequence[Extranetlist Dns List Input Args] - List of DNS server entries for the extranet.
- extranet_
ip_ Sequence[Extranetpool_ list Ip Pool List Input Args] - List of IP pool entries for the extranet.
- name str
- Name of the extranet.
- description String
- Description of the extranet.
- extranet
Dns List<Property Map>List - List of DNS server entries for the extranet.
- extranet
Ip List<Property Map>Pool List - List of IP pool entries for the extranet.
- name String
- Name of the extranet.
Outputs
All input properties are implicitly available as output properties. Additionally, the Extranet resource produces the following output properties:
- Extranet
Id int - The unique identifier for the extranet assigned by the ZIA cloud.
- Id string
- The provider-assigned unique ID for this managed resource.
- Extranet
Id int - The unique identifier for the extranet assigned by the ZIA cloud.
- Id string
- The provider-assigned unique ID for this managed resource.
- extranet
Id Integer - The unique identifier for the extranet assigned by the ZIA cloud.
- id String
- The provider-assigned unique ID for this managed resource.
- extranet
Id number - The unique identifier for the extranet assigned by the ZIA cloud.
- id string
- The provider-assigned unique ID for this managed resource.
- extranet_
id int - The unique identifier for the extranet assigned by the ZIA cloud.
- id str
- The provider-assigned unique ID for this managed resource.
- extranet
Id Number - The unique identifier for the extranet assigned by the ZIA cloud.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
ExtranetDnsListInput, ExtranetDnsListInputArgs
- Id int
- Name string
- Primary
Dns stringServer - Secondary
Dns stringServer - Use
As boolDefault
- Id int
- Name string
- Primary
Dns stringServer - Secondary
Dns stringServer - Use
As boolDefault
- id Integer
- name String
- primary
Dns StringServer - secondary
Dns StringServer - use
As BooleanDefault
- id number
- name string
- primary
Dns stringServer - secondary
Dns stringServer - use
As booleanDefault
- id int
- name str
- primary_
dns_ strserver - secondary_
dns_ strserver - use_
as_ booldefault
- id Number
- name String
- primary
Dns StringServer - secondary
Dns StringServer - use
As BooleanDefault
ExtranetIpPoolListInput, ExtranetIpPoolListInputArgs
- Id int
- Ip
End string - Ip
Start string - Name string
- Use
As boolDefault
- Id int
- Ip
End string - Ip
Start string - Name string
- Use
As boolDefault
- id Integer
- ip
End String - ip
Start String - name String
- use
As BooleanDefault
- id number
- ip
End string - ip
Start string - name string
- use
As booleanDefault
- id int
- ip_
end str - ip_
start str - name str
- use_
as_ booldefault
- id Number
- ip
End String - ip
Start String - name String
- use
As BooleanDefault
Import
An existing extranet can be imported using its ID, e.g.
$ pulumi import zia:index:Extranet example 12345
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- zia zscaler/pulumi-zia
- License
published on Friday, Mar 13, 2026 by Zscaler
