Zscaler Internet Access v1.1.1 published on Tuesday, Jun 24, 2025 by Zscaler
zia.getTenantRestrictionProfile
Explore with Pulumi AI
Use the zia_tenant_restriction_profile data source to get information about a ZIA Domain Profiles in the Zscaler Internet Access cloud or via the API. The resource can then be utilized when configuring a Web DLP Rule resource zia.DLPWebRules
Example Usage
By Name
data "zia_tenant_restriction_profile" "this"{
name = "MiicrosoftO365Login"
}
By ID
data "zia_tenant_restriction_profile" "this"{
id = "5421656"
}
Using getTenantRestrictionProfile
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 getTenantRestrictionProfile(args: GetTenantRestrictionProfileArgs, opts?: InvokeOptions): Promise<GetTenantRestrictionProfileResult>
function getTenantRestrictionProfileOutput(args: GetTenantRestrictionProfileOutputArgs, opts?: InvokeOptions): Output<GetTenantRestrictionProfileResult>
def get_tenant_restriction_profile(description: Optional[str] = None,
id: Optional[int] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTenantRestrictionProfileResult
def get_tenant_restriction_profile_output(description: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[int]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTenantRestrictionProfileResult]
func GetTenantRestrictionProfile(ctx *Context, args *GetTenantRestrictionProfileArgs, opts ...InvokeOption) (*GetTenantRestrictionProfileResult, error)
func GetTenantRestrictionProfileOutput(ctx *Context, args *GetTenantRestrictionProfileOutputArgs, opts ...InvokeOption) GetTenantRestrictionProfileResultOutput
> Note: This function is named GetTenantRestrictionProfile
in the Go SDK.
public static class GetTenantRestrictionProfile
{
public static Task<GetTenantRestrictionProfileResult> InvokeAsync(GetTenantRestrictionProfileArgs args, InvokeOptions? opts = null)
public static Output<GetTenantRestrictionProfileResult> Invoke(GetTenantRestrictionProfileInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTenantRestrictionProfileResult> getTenantRestrictionProfile(GetTenantRestrictionProfileArgs args, InvokeOptions options)
public static Output<GetTenantRestrictionProfileResult> getTenantRestrictionProfile(GetTenantRestrictionProfileArgs args, InvokeOptions options)
fn::invoke:
function: zia:index/getTenantRestrictionProfile:getTenantRestrictionProfile
arguments:
# arguments dictionary
The following arguments are supported:
- Description string
- Id int
- Name string
- Description string
- Id int
- Name string
- description String
- id Integer
- name String
- description string
- id number
- name string
- description str
- id int
- name str
- description String
- id Number
- name String
getTenantRestrictionProfile Result
The following output properties are available:
- Allow
Gcp boolCloud Storage Read - Allow
Google boolConsumers - Allow
Google boolVisitors - App
Type string - Description string
- Id int
- Item
Data List<string>Primaries - Item
Data List<string>Secondaries - Item
Type stringPrimary - Item
Type stringSecondary - Item
Values List<string> - Last
Modified intTime - Last
Modified intUser Id - Ms
Login boolServices Tr V2 - Name string
- Restrict
Personal boolO365Domains
- Allow
Gcp boolCloud Storage Read - Allow
Google boolConsumers - Allow
Google boolVisitors - App
Type string - Description string
- Id int
- Item
Data []stringPrimaries - Item
Data []stringSecondaries - Item
Type stringPrimary - Item
Type stringSecondary - Item
Values []string - Last
Modified intTime - Last
Modified intUser Id - Ms
Login boolServices Tr V2 - Name string
- Restrict
Personal boolO365Domains
- allow
Gcp BooleanCloud Storage Read - allow
Google BooleanConsumers - allow
Google BooleanVisitors - app
Type String - description String
- id Integer
- item
Data List<String>Primaries - item
Data List<String>Secondaries - item
Type StringPrimary - item
Type StringSecondary - item
Values List<String> - last
Modified IntegerTime - last
Modified IntegerUser Id - ms
Login BooleanServices Tr V2 - name String
- restrict
Personal BooleanO365Domains
- allow
Gcp booleanCloud Storage Read - allow
Google booleanConsumers - allow
Google booleanVisitors - app
Type string - description string
- id number
- item
Data string[]Primaries - item
Data string[]Secondaries - item
Type stringPrimary - item
Type stringSecondary - item
Values string[] - last
Modified numberTime - last
Modified numberUser Id - ms
Login booleanServices Tr V2 - name string
- restrict
Personal booleanO365Domains
- allow_
gcp_ boolcloud_ storage_ read - allow_
google_ boolconsumers - allow_
google_ boolvisitors - app_
type str - description str
- id int
- item_
data_ Sequence[str]primaries - item_
data_ Sequence[str]secondaries - item_
type_ strprimary - item_
type_ strsecondary - item_
values Sequence[str] - last_
modified_ inttime - last_
modified_ intuser_ id - ms_
login_ boolservices_ tr_ v2 - name str
- restrict_
personal_ boolo365_ domains
- allow
Gcp BooleanCloud Storage Read - allow
Google BooleanConsumers - allow
Google BooleanVisitors - app
Type String - description String
- id Number
- item
Data List<String>Primaries - item
Data List<String>Secondaries - item
Type StringPrimary - item
Type StringSecondary - item
Values List<String> - last
Modified NumberTime - last
Modified NumberUser Id - ms
Login BooleanServices Tr V2 - name String
- restrict
Personal BooleanO365Domains
Package Details
- Repository
- zia zscaler/pulumi-zia
- License
- MIT
- Notes
- This Pulumi package is based on the
zia
Terraform Provider.