Zscaler Internet Access v1.1.1 published on Tuesday, Jun 24, 2025 by Zscaler
zia.getDomainProfiles
Explore with Pulumi AI
Use the zia_domain_profiles 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_domain_profiles" "this"{
profile_name = "Example"
}
By ID
data "zia_domain_profiles" "this"{
profile_id = "Example"
}
Using getDomainProfiles
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 getDomainProfiles(args: GetDomainProfilesArgs, opts?: InvokeOptions): Promise<GetDomainProfilesResult>
function getDomainProfilesOutput(args: GetDomainProfilesOutputArgs, opts?: InvokeOptions): Output<GetDomainProfilesResult>
def get_domain_profiles(profile_id: Optional[int] = None,
profile_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDomainProfilesResult
def get_domain_profiles_output(profile_id: Optional[pulumi.Input[int]] = None,
profile_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDomainProfilesResult]
func GetDomainProfiles(ctx *Context, args *GetDomainProfilesArgs, opts ...InvokeOption) (*GetDomainProfilesResult, error)
func GetDomainProfilesOutput(ctx *Context, args *GetDomainProfilesOutputArgs, opts ...InvokeOption) GetDomainProfilesResultOutput
> Note: This function is named GetDomainProfiles
in the Go SDK.
public static class GetDomainProfiles
{
public static Task<GetDomainProfilesResult> InvokeAsync(GetDomainProfilesArgs args, InvokeOptions? opts = null)
public static Output<GetDomainProfilesResult> Invoke(GetDomainProfilesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDomainProfilesResult> getDomainProfiles(GetDomainProfilesArgs args, InvokeOptions options)
public static Output<GetDomainProfilesResult> getDomainProfiles(GetDomainProfilesArgs args, InvokeOptions options)
fn::invoke:
function: zia:index/getDomainProfiles:getDomainProfiles
arguments:
# arguments dictionary
The following arguments are supported:
- Profile
Id int - Profile
Name string
- Profile
Id int - Profile
Name string
- profile
Id Integer - profile
Name String
- profile
Id number - profile
Name string
- profile_
id int - profile_
name str
- profile
Id Number - profile
Name String
getDomainProfiles Result
The following output properties are available:
- Custom
Domains List<string> - Description string
- Id string
- The provider-assigned unique ID for this managed resource.
- Include
Company boolDomains - Include
Subdomains bool - Predefined
Email List<string>Domains - Profile
Id int - Profile
Name string
- Custom
Domains []string - Description string
- Id string
- The provider-assigned unique ID for this managed resource.
- Include
Company boolDomains - Include
Subdomains bool - Predefined
Email []stringDomains - Profile
Id int - Profile
Name string
- custom
Domains List<String> - description String
- id String
- The provider-assigned unique ID for this managed resource.
- include
Company BooleanDomains - include
Subdomains Boolean - predefined
Email List<String>Domains - profile
Id Integer - profile
Name String
- custom
Domains string[] - description string
- id string
- The provider-assigned unique ID for this managed resource.
- include
Company booleanDomains - include
Subdomains boolean - predefined
Email string[]Domains - profile
Id number - profile
Name string
- custom_
domains Sequence[str] - description str
- id str
- The provider-assigned unique ID for this managed resource.
- include_
company_ booldomains - include_
subdomains bool - predefined_
email_ Sequence[str]domains - profile_
id int - profile_
name str
- custom
Domains List<String> - description String
- id String
- The provider-assigned unique ID for this managed resource.
- include
Company BooleanDomains - include
Subdomains Boolean - predefined
Email List<String>Domains - profile
Id Number - profile
Name String
Package Details
- Repository
- zia zscaler/pulumi-zia
- License
- MIT
- Notes
- This Pulumi package is based on the
zia
Terraform Provider.