Zscaler Internet Access v1.2.0 published on Friday, Feb 20, 2026 by Zscaler
Zscaler Internet Access v1.2.0 published on Friday, Feb 20, 2026 by Zscaler
Use the zia_datacenters data source to retrieve the list of Zscaler data centers (DCs) that can be excluded from service to your organization.
NOTE: This an Early Access feature.
Example Usage
Retrieve All Datacenters
data "zia_datacenters" "all" {
}
Filter By Name
data "zia_datacenters" "filtered" {
name = "CA Client Node DC"
}
Filter By Multiple Criteria
data "zia_datacenters" "filtered" {
city = "San Jose"
dc_provider = "Zscaler Internal"
gov_only = false
third_party_cloud = false
virtual = false
}
Using getDatacenters
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 getDatacenters(args: GetDatacentersArgs, opts?: InvokeOptions): Promise<GetDatacentersResult>
function getDatacentersOutput(args: GetDatacentersOutputArgs, opts?: InvokeOptions): Output<GetDatacentersResult>def get_datacenters(city: Optional[str] = None,
datacenter_id: Optional[int] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDatacentersResult
def get_datacenters_output(city: Optional[pulumi.Input[str]] = None,
datacenter_id: Optional[pulumi.Input[int]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDatacentersResult]func GetDatacenters(ctx *Context, args *GetDatacentersArgs, opts ...InvokeOption) (*GetDatacentersResult, error)
func GetDatacentersOutput(ctx *Context, args *GetDatacentersOutputArgs, opts ...InvokeOption) GetDatacentersResultOutput> Note: This function is named GetDatacenters in the Go SDK.
public static class GetDatacenters
{
public static Task<GetDatacentersResult> InvokeAsync(GetDatacentersArgs args, InvokeOptions? opts = null)
public static Output<GetDatacentersResult> Invoke(GetDatacentersInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDatacentersResult> getDatacenters(GetDatacentersArgs args, InvokeOptions options)
public static Output<GetDatacentersResult> getDatacenters(GetDatacentersArgs args, InvokeOptions options)
fn::invoke:
function: zia:index/getDatacenters:getDatacenters
arguments:
# arguments dictionaryThe following arguments are supported:
- City string
- (String) City where the datacenter is located.
- Datacenter
Id int - (Integer, Computed) When filtering by ID or when exactly one datacenter matches, the datacenter's numeric ID. Prefer this over
datacenters[0].idwhen you expect a single result (e.g.name = "SJC4"). - Name string
- (String) Zscaler data center name.
- City string
- (String) City where the datacenter is located.
- Datacenter
Id int - (Integer, Computed) When filtering by ID or when exactly one datacenter matches, the datacenter's numeric ID. Prefer this over
datacenters[0].idwhen you expect a single result (e.g.name = "SJC4"). - Name string
- (String) Zscaler data center name.
- city String
- (String) City where the datacenter is located.
- datacenter
Id Integer - (Integer, Computed) When filtering by ID or when exactly one datacenter matches, the datacenter's numeric ID. Prefer this over
datacenters[0].idwhen you expect a single result (e.g.name = "SJC4"). - name String
- (String) Zscaler data center name.
- city string
- (String) City where the datacenter is located.
- datacenter
Id number - (Integer, Computed) When filtering by ID or when exactly one datacenter matches, the datacenter's numeric ID. Prefer this over
datacenters[0].idwhen you expect a single result (e.g.name = "SJC4"). - name string
- (String) Zscaler data center name.
- city str
- (String) City where the datacenter is located.
- datacenter_
id int - (Integer, Computed) When filtering by ID or when exactly one datacenter matches, the datacenter's numeric ID. Prefer this over
datacenters[0].idwhen you expect a single result (e.g.name = "SJC4"). - name str
- (String) Zscaler data center name.
- city String
- (String) City where the datacenter is located.
- datacenter
Id Number - (Integer, Computed) When filtering by ID or when exactly one datacenter matches, the datacenter's numeric ID. Prefer this over
datacenters[0].idwhen you expect a single result (e.g.name = "SJC4"). - name String
- (String) Zscaler data center name.
getDatacenters Result
The following output properties are available:
- City string
- (String) City where the datacenter is located.
- Datacenter
Id int - (Integer, Computed) When filtering by ID or when exactly one datacenter matches, the datacenter's numeric ID. Prefer this over
datacenters[0].idwhen you expect a single result (e.g.name = "SJC4"). - Datacenters
List<zscaler.
Pulumi Package. Zia. Outputs. Get Datacenters Datacenter> - (List) List of datacenters matching the filter criteria.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- (String) Zscaler data center name.
- City string
- (String) City where the datacenter is located.
- Datacenter
Id int - (Integer, Computed) When filtering by ID or when exactly one datacenter matches, the datacenter's numeric ID. Prefer this over
datacenters[0].idwhen you expect a single result (e.g.name = "SJC4"). - Datacenters
[]Get
Datacenters Datacenter - (List) List of datacenters matching the filter criteria.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- (String) Zscaler data center name.
- city String
- (String) City where the datacenter is located.
- datacenter
Id Integer - (Integer, Computed) When filtering by ID or when exactly one datacenter matches, the datacenter's numeric ID. Prefer this over
datacenters[0].idwhen you expect a single result (e.g.name = "SJC4"). - datacenters
List<Get
Datacenters Datacenter> - (List) List of datacenters matching the filter criteria.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- (String) Zscaler data center name.
- city string
- (String) City where the datacenter is located.
- datacenter
Id number - (Integer, Computed) When filtering by ID or when exactly one datacenter matches, the datacenter's numeric ID. Prefer this over
datacenters[0].idwhen you expect a single result (e.g.name = "SJC4"). - datacenters
Get
Datacenters Datacenter[] - (List) List of datacenters matching the filter criteria.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- (String) Zscaler data center name.
- city str
- (String) City where the datacenter is located.
- datacenter_
id int - (Integer, Computed) When filtering by ID or when exactly one datacenter matches, the datacenter's numeric ID. Prefer this over
datacenters[0].idwhen you expect a single result (e.g.name = "SJC4"). - datacenters
Sequence[Get
Datacenters Datacenter] - (List) List of datacenters matching the filter criteria.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- (String) Zscaler data center name.
- city String
- (String) City where the datacenter is located.
- datacenter
Id Number - (Integer, Computed) When filtering by ID or when exactly one datacenter matches, the datacenter's numeric ID. Prefer this over
datacenters[0].idwhen you expect a single result (e.g.name = "SJC4"). - datacenters List<Property Map>
- (List) List of datacenters matching the filter criteria.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- (String) Zscaler data center name.
Supporting Types
GetDatacentersDatacenter
- City string
- (String) City where the datacenter is located.
- Create
Time int - (Integer) Timestamp when the datacenter was created.
- Dont
Provision bool - (Boolean) Whether the datacenter should not be provisioned.
- Dont
Publish bool - (Boolean) Whether the datacenter should not be published.
- Download
Bandwidth int - (Integer) Download bandwidth in bytes per second.
- For
Future boolUse - (Boolean) Whether the datacenter is reserved for future use.
- Gov
Only bool - (Boolean) Whether this is a government-only datacenter.
- Id int
- (Integer) Unique identifier for the datacenter.
- Last
Modified intTime - (Integer) Timestamp when the datacenter was last modified.
- Lat int
- (Integer) Latitude coordinate (legacy field).
- Latitude double
- (Float) Latitude coordinate.
- Longi int
- (Integer) Longitude coordinate (legacy field).
- Longitude double
- (Float) Longitude coordinate.
- Managed
Bcp bool - (Boolean) Whether the datacenter is managed by BCP.
- Name string
- (String) Zscaler data center name.
- Not
Ready boolFor Use - (Boolean) Whether the datacenter is not ready for use.
- Owned
By boolCustomer - (Boolean) Whether the datacenter is owned by the customer.
- Provider string
- (String) Provider of the datacenter.
- Regional
Surcharge bool - (Boolean) Whether there is a regional surcharge for this datacenter.
- Third
Party boolCloud - (Boolean) Whether this is a third-party cloud datacenter.
- Timezone string
- (String) Timezone of the datacenter.
- Upload
Bandwidth int - (Integer) Upload bandwidth in bytes per second.
- Virtual bool
- (Boolean) Whether this is a virtual datacenter.
- City string
- (String) City where the datacenter is located.
- Create
Time int - (Integer) Timestamp when the datacenter was created.
- Dont
Provision bool - (Boolean) Whether the datacenter should not be provisioned.
- Dont
Publish bool - (Boolean) Whether the datacenter should not be published.
- Download
Bandwidth int - (Integer) Download bandwidth in bytes per second.
- For
Future boolUse - (Boolean) Whether the datacenter is reserved for future use.
- Gov
Only bool - (Boolean) Whether this is a government-only datacenter.
- Id int
- (Integer) Unique identifier for the datacenter.
- Last
Modified intTime - (Integer) Timestamp when the datacenter was last modified.
- Lat int
- (Integer) Latitude coordinate (legacy field).
- Latitude float64
- (Float) Latitude coordinate.
- Longi int
- (Integer) Longitude coordinate (legacy field).
- Longitude float64
- (Float) Longitude coordinate.
- Managed
Bcp bool - (Boolean) Whether the datacenter is managed by BCP.
- Name string
- (String) Zscaler data center name.
- Not
Ready boolFor Use - (Boolean) Whether the datacenter is not ready for use.
- Owned
By boolCustomer - (Boolean) Whether the datacenter is owned by the customer.
- Provider string
- (String) Provider of the datacenter.
- Regional
Surcharge bool - (Boolean) Whether there is a regional surcharge for this datacenter.
- Third
Party boolCloud - (Boolean) Whether this is a third-party cloud datacenter.
- Timezone string
- (String) Timezone of the datacenter.
- Upload
Bandwidth int - (Integer) Upload bandwidth in bytes per second.
- Virtual bool
- (Boolean) Whether this is a virtual datacenter.
- city String
- (String) City where the datacenter is located.
- create
Time Integer - (Integer) Timestamp when the datacenter was created.
- dont
Provision Boolean - (Boolean) Whether the datacenter should not be provisioned.
- dont
Publish Boolean - (Boolean) Whether the datacenter should not be published.
- download
Bandwidth Integer - (Integer) Download bandwidth in bytes per second.
- for
Future BooleanUse - (Boolean) Whether the datacenter is reserved for future use.
- gov
Only Boolean - (Boolean) Whether this is a government-only datacenter.
- id Integer
- (Integer) Unique identifier for the datacenter.
- last
Modified IntegerTime - (Integer) Timestamp when the datacenter was last modified.
- lat Integer
- (Integer) Latitude coordinate (legacy field).
- latitude Double
- (Float) Latitude coordinate.
- longi Integer
- (Integer) Longitude coordinate (legacy field).
- longitude Double
- (Float) Longitude coordinate.
- managed
Bcp Boolean - (Boolean) Whether the datacenter is managed by BCP.
- name String
- (String) Zscaler data center name.
- not
Ready BooleanFor Use - (Boolean) Whether the datacenter is not ready for use.
- owned
By BooleanCustomer - (Boolean) Whether the datacenter is owned by the customer.
- provider String
- (String) Provider of the datacenter.
- regional
Surcharge Boolean - (Boolean) Whether there is a regional surcharge for this datacenter.
- third
Party BooleanCloud - (Boolean) Whether this is a third-party cloud datacenter.
- timezone String
- (String) Timezone of the datacenter.
- upload
Bandwidth Integer - (Integer) Upload bandwidth in bytes per second.
- virtual Boolean
- (Boolean) Whether this is a virtual datacenter.
- city string
- (String) City where the datacenter is located.
- create
Time number - (Integer) Timestamp when the datacenter was created.
- dont
Provision boolean - (Boolean) Whether the datacenter should not be provisioned.
- dont
Publish boolean - (Boolean) Whether the datacenter should not be published.
- download
Bandwidth number - (Integer) Download bandwidth in bytes per second.
- for
Future booleanUse - (Boolean) Whether the datacenter is reserved for future use.
- gov
Only boolean - (Boolean) Whether this is a government-only datacenter.
- id number
- (Integer) Unique identifier for the datacenter.
- last
Modified numberTime - (Integer) Timestamp when the datacenter was last modified.
- lat number
- (Integer) Latitude coordinate (legacy field).
- latitude number
- (Float) Latitude coordinate.
- longi number
- (Integer) Longitude coordinate (legacy field).
- longitude number
- (Float) Longitude coordinate.
- managed
Bcp boolean - (Boolean) Whether the datacenter is managed by BCP.
- name string
- (String) Zscaler data center name.
- not
Ready booleanFor Use - (Boolean) Whether the datacenter is not ready for use.
- owned
By booleanCustomer - (Boolean) Whether the datacenter is owned by the customer.
- provider string
- (String) Provider of the datacenter.
- regional
Surcharge boolean - (Boolean) Whether there is a regional surcharge for this datacenter.
- third
Party booleanCloud - (Boolean) Whether this is a third-party cloud datacenter.
- timezone string
- (String) Timezone of the datacenter.
- upload
Bandwidth number - (Integer) Upload bandwidth in bytes per second.
- virtual boolean
- (Boolean) Whether this is a virtual datacenter.
- city str
- (String) City where the datacenter is located.
- create_
time int - (Integer) Timestamp when the datacenter was created.
- dont_
provision bool - (Boolean) Whether the datacenter should not be provisioned.
- dont_
publish bool - (Boolean) Whether the datacenter should not be published.
- download_
bandwidth int - (Integer) Download bandwidth in bytes per second.
- for_
future_ booluse - (Boolean) Whether the datacenter is reserved for future use.
- gov_
only bool - (Boolean) Whether this is a government-only datacenter.
- id int
- (Integer) Unique identifier for the datacenter.
- last_
modified_ inttime - (Integer) Timestamp when the datacenter was last modified.
- lat int
- (Integer) Latitude coordinate (legacy field).
- latitude float
- (Float) Latitude coordinate.
- longi int
- (Integer) Longitude coordinate (legacy field).
- longitude float
- (Float) Longitude coordinate.
- managed_
bcp bool - (Boolean) Whether the datacenter is managed by BCP.
- name str
- (String) Zscaler data center name.
- not_
ready_ boolfor_ use - (Boolean) Whether the datacenter is not ready for use.
- owned_
by_ boolcustomer - (Boolean) Whether the datacenter is owned by the customer.
- provider str
- (String) Provider of the datacenter.
- regional_
surcharge bool - (Boolean) Whether there is a regional surcharge for this datacenter.
- third_
party_ boolcloud - (Boolean) Whether this is a third-party cloud datacenter.
- timezone str
- (String) Timezone of the datacenter.
- upload_
bandwidth int - (Integer) Upload bandwidth in bytes per second.
- virtual bool
- (Boolean) Whether this is a virtual datacenter.
- city String
- (String) City where the datacenter is located.
- create
Time Number - (Integer) Timestamp when the datacenter was created.
- dont
Provision Boolean - (Boolean) Whether the datacenter should not be provisioned.
- dont
Publish Boolean - (Boolean) Whether the datacenter should not be published.
- download
Bandwidth Number - (Integer) Download bandwidth in bytes per second.
- for
Future BooleanUse - (Boolean) Whether the datacenter is reserved for future use.
- gov
Only Boolean - (Boolean) Whether this is a government-only datacenter.
- id Number
- (Integer) Unique identifier for the datacenter.
- last
Modified NumberTime - (Integer) Timestamp when the datacenter was last modified.
- lat Number
- (Integer) Latitude coordinate (legacy field).
- latitude Number
- (Float) Latitude coordinate.
- longi Number
- (Integer) Longitude coordinate (legacy field).
- longitude Number
- (Float) Longitude coordinate.
- managed
Bcp Boolean - (Boolean) Whether the datacenter is managed by BCP.
- name String
- (String) Zscaler data center name.
- not
Ready BooleanFor Use - (Boolean) Whether the datacenter is not ready for use.
- owned
By BooleanCustomer - (Boolean) Whether the datacenter is owned by the customer.
- provider String
- (String) Provider of the datacenter.
- regional
Surcharge Boolean - (Boolean) Whether there is a regional surcharge for this datacenter.
- third
Party BooleanCloud - (Boolean) Whether this is a third-party cloud datacenter.
- timezone String
- (String) Timezone of the datacenter.
- upload
Bandwidth Number - (Integer) Upload bandwidth in bytes per second.
- virtual Boolean
- (Boolean) Whether this is a virtual datacenter.
Package Details
- Repository
- zia zscaler/pulumi-zia
- License
- MIT
- Notes
- This Pulumi package is based on the
ziaTerraform Provider.
Zscaler Internet Access v1.2.0 published on Friday, Feb 20, 2026 by Zscaler
