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_dc_exclusions data source to retrieve the list of Zscaler data centers (DCs) that are currently excluded from service to your organization based on configured exclusions in the ZIA Admin Portal
NOTE: This an Early Access feature.
Example Usage
Retrieve All DC Exclusions
data "zia_dc_exclusions" "all" {
}
Filter By Name
data "zia_dc_exclusions" "this" {
name = "ADL"
}
Filter By Resource ID
data "zia_dc_exclusions" "example" {
id = zia_dc_exclusions.example.id
}
Filter By Datacenter ID
data "zia_dc_exclusions" "example" {
datacenter_id = 1221
}
Using getDCExclusions
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 getDCExclusions(args: GetDCExclusionsArgs, opts?: InvokeOptions): Promise<GetDCExclusionsResult>
function getDCExclusionsOutput(args: GetDCExclusionsOutputArgs, opts?: InvokeOptions): Output<GetDCExclusionsResult>def get_dc_exclusions(datacenter_id: Optional[int] = None,
id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDCExclusionsResult
def get_dc_exclusions_output(datacenter_id: Optional[pulumi.Input[int]] = None,
id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDCExclusionsResult]func LookupDCExclusions(ctx *Context, args *LookupDCExclusionsArgs, opts ...InvokeOption) (*LookupDCExclusionsResult, error)
func LookupDCExclusionsOutput(ctx *Context, args *LookupDCExclusionsOutputArgs, opts ...InvokeOption) LookupDCExclusionsResultOutput> Note: This function is named LookupDCExclusions in the Go SDK.
public static class GetDCExclusions
{
public static Task<GetDCExclusionsResult> InvokeAsync(GetDCExclusionsArgs args, InvokeOptions? opts = null)
public static Output<GetDCExclusionsResult> Invoke(GetDCExclusionsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDCExclusionsResult> getDCExclusions(GetDCExclusionsArgs args, InvokeOptions options)
public static Output<GetDCExclusionsResult> getDCExclusions(GetDCExclusionsArgs args, InvokeOptions options)
fn::invoke:
function: zia:index/getDCExclusions:getDCExclusions
arguments:
# arguments dictionaryThe following arguments are supported:
- Datacenter
Id int - Id string
- (String) The exclusion identifier (datacenter ID as string). Matches the zia.DCExclusions resource id.
- Name string
- (String, Optional + Computed) Filter value when provided; when filtering by
datacenter_idand exactly one exclusion is returned, set to that exclusion's datacenter name.
- Datacenter
Id int - Id string
- (String) The exclusion identifier (datacenter ID as string). Matches the zia.DCExclusions resource id.
- Name string
- (String, Optional + Computed) Filter value when provided; when filtering by
datacenter_idand exactly one exclusion is returned, set to that exclusion's datacenter name.
- datacenter
Id Integer - id String
- (String) The exclusion identifier (datacenter ID as string). Matches the zia.DCExclusions resource id.
- name String
- (String, Optional + Computed) Filter value when provided; when filtering by
datacenter_idand exactly one exclusion is returned, set to that exclusion's datacenter name.
- datacenter
Id number - id string
- (String) The exclusion identifier (datacenter ID as string). Matches the zia.DCExclusions resource id.
- name string
- (String, Optional + Computed) Filter value when provided; when filtering by
datacenter_idand exactly one exclusion is returned, set to that exclusion's datacenter name.
- datacenter_
id int - id str
- (String) The exclusion identifier (datacenter ID as string). Matches the zia.DCExclusions resource id.
- name str
- (String, Optional + Computed) Filter value when provided; when filtering by
datacenter_idand exactly one exclusion is returned, set to that exclusion's datacenter name.
- datacenter
Id Number - id String
- (String) The exclusion identifier (datacenter ID as string). Matches the zia.DCExclusions resource id.
- name String
- (String, Optional + Computed) Filter value when provided; when filtering by
datacenter_idand exactly one exclusion is returned, set to that exclusion's datacenter name.
getDCExclusions Result
The following output properties are available:
- Exclusions
List<zscaler.
Pulumi Package. Zia. Outputs. Get DCExclusions Exclusion> - (List) List of DC exclusion entries.
- Name string
- (String, Optional + Computed) Filter value when provided; when filtering by
datacenter_idand exactly one exclusion is returned, set to that exclusion's datacenter name. - Datacenter
Id int - Id string
- (String) The exclusion identifier (datacenter ID as string). Matches the zia.DCExclusions resource id.
- Exclusions
[]Get
DCExclusions Exclusion - (List) List of DC exclusion entries.
- Name string
- (String, Optional + Computed) Filter value when provided; when filtering by
datacenter_idand exactly one exclusion is returned, set to that exclusion's datacenter name. - Datacenter
Id int - Id string
- (String) The exclusion identifier (datacenter ID as string). Matches the zia.DCExclusions resource id.
- exclusions
List<Get
DCExclusions Exclusion> - (List) List of DC exclusion entries.
- name String
- (String, Optional + Computed) Filter value when provided; when filtering by
datacenter_idand exactly one exclusion is returned, set to that exclusion's datacenter name. - datacenter
Id Integer - id String
- (String) The exclusion identifier (datacenter ID as string). Matches the zia.DCExclusions resource id.
- exclusions
Get
DCExclusions Exclusion[] - (List) List of DC exclusion entries.
- name string
- (String, Optional + Computed) Filter value when provided; when filtering by
datacenter_idand exactly one exclusion is returned, set to that exclusion's datacenter name. - datacenter
Id number - id string
- (String) The exclusion identifier (datacenter ID as string). Matches the zia.DCExclusions resource id.
- exclusions
Sequence[Get
DCExclusions Exclusion] - (List) List of DC exclusion entries.
- name str
- (String, Optional + Computed) Filter value when provided; when filtering by
datacenter_idand exactly one exclusion is returned, set to that exclusion's datacenter name. - datacenter_
id int - id str
- (String) The exclusion identifier (datacenter ID as string). Matches the zia.DCExclusions resource id.
- exclusions List<Property Map>
- (List) List of DC exclusion entries.
- name String
- (String, Optional + Computed) Filter value when provided; when filtering by
datacenter_idand exactly one exclusion is returned, set to that exclusion's datacenter name. - datacenter
Id Number - id String
- (String) The exclusion identifier (datacenter ID as string). Matches the zia.DCExclusions resource id.
Supporting Types
GetDCExclusionsExclusion
- Dc
Id int - (Integer) Datacenter ID (dcid) for the exclusion.
- Dc
Name string - (String) Datacenter name from the dcName reference.
- Dc
Name intId - (Integer) Datacenter ID from the dcName reference.
- Description string
- (String) Description of the DC exclusion.
- End
Time int - (Integer) Unix timestamp when the exclusion window ends.
- Expired bool
- (Boolean) Whether the exclusion has expired.
- Id string
- (String) The exclusion identifier (datacenter ID as string). Matches the zia.DCExclusions resource id.
- Start
Time int - (Integer) Unix timestamp when the exclusion window starts.
- Dc
Id int - (Integer) Datacenter ID (dcid) for the exclusion.
- Dc
Name string - (String) Datacenter name from the dcName reference.
- Dc
Name intId - (Integer) Datacenter ID from the dcName reference.
- Description string
- (String) Description of the DC exclusion.
- End
Time int - (Integer) Unix timestamp when the exclusion window ends.
- Expired bool
- (Boolean) Whether the exclusion has expired.
- Id string
- (String) The exclusion identifier (datacenter ID as string). Matches the zia.DCExclusions resource id.
- Start
Time int - (Integer) Unix timestamp when the exclusion window starts.
- dc
Id Integer - (Integer) Datacenter ID (dcid) for the exclusion.
- dc
Name String - (String) Datacenter name from the dcName reference.
- dc
Name IntegerId - (Integer) Datacenter ID from the dcName reference.
- description String
- (String) Description of the DC exclusion.
- end
Time Integer - (Integer) Unix timestamp when the exclusion window ends.
- expired Boolean
- (Boolean) Whether the exclusion has expired.
- id String
- (String) The exclusion identifier (datacenter ID as string). Matches the zia.DCExclusions resource id.
- start
Time Integer - (Integer) Unix timestamp when the exclusion window starts.
- dc
Id number - (Integer) Datacenter ID (dcid) for the exclusion.
- dc
Name string - (String) Datacenter name from the dcName reference.
- dc
Name numberId - (Integer) Datacenter ID from the dcName reference.
- description string
- (String) Description of the DC exclusion.
- end
Time number - (Integer) Unix timestamp when the exclusion window ends.
- expired boolean
- (Boolean) Whether the exclusion has expired.
- id string
- (String) The exclusion identifier (datacenter ID as string). Matches the zia.DCExclusions resource id.
- start
Time number - (Integer) Unix timestamp when the exclusion window starts.
- dc_
id int - (Integer) Datacenter ID (dcid) for the exclusion.
- dc_
name str - (String) Datacenter name from the dcName reference.
- dc_
name_ intid - (Integer) Datacenter ID from the dcName reference.
- description str
- (String) Description of the DC exclusion.
- end_
time int - (Integer) Unix timestamp when the exclusion window ends.
- expired bool
- (Boolean) Whether the exclusion has expired.
- id str
- (String) The exclusion identifier (datacenter ID as string). Matches the zia.DCExclusions resource id.
- start_
time int - (Integer) Unix timestamp when the exclusion window starts.
- dc
Id Number - (Integer) Datacenter ID (dcid) for the exclusion.
- dc
Name String - (String) Datacenter name from the dcName reference.
- dc
Name NumberId - (Integer) Datacenter ID from the dcName reference.
- description String
- (String) Description of the DC exclusion.
- end
Time Number - (Integer) Unix timestamp when the exclusion window ends.
- expired Boolean
- (Boolean) Whether the exclusion has expired.
- id String
- (String) The exclusion identifier (datacenter ID as string). Matches the zia.DCExclusions resource id.
- start
Time Number - (Integer) Unix timestamp when the exclusion window starts.
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
