Zscaler Internet Access v1.1.1 published on Tuesday, Jun 24, 2025 by Zscaler
zia.getCasbEmailLabel
Explore with Pulumi AI
Use the zia_casb_email_label data source to get information about email labels generated for the SaaS Security API policies in a user’s email account
Example Usage
By Name
data "zia_casb_email_label" "this" {
name = "EmailLabel01"
}
By ID
data "zia_casb_email_label" "this" {
id = 154658
}
Using getCasbEmailLabel
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 getCasbEmailLabel(args: GetCasbEmailLabelArgs, opts?: InvokeOptions): Promise<GetCasbEmailLabelResult>
function getCasbEmailLabelOutput(args: GetCasbEmailLabelOutputArgs, opts?: InvokeOptions): Output<GetCasbEmailLabelResult>
def get_casb_email_label(id: Optional[int] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCasbEmailLabelResult
def get_casb_email_label_output(id: Optional[pulumi.Input[int]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCasbEmailLabelResult]
func GetCasbEmailLabel(ctx *Context, args *GetCasbEmailLabelArgs, opts ...InvokeOption) (*GetCasbEmailLabelResult, error)
func GetCasbEmailLabelOutput(ctx *Context, args *GetCasbEmailLabelOutputArgs, opts ...InvokeOption) GetCasbEmailLabelResultOutput
> Note: This function is named GetCasbEmailLabel
in the Go SDK.
public static class GetCasbEmailLabel
{
public static Task<GetCasbEmailLabelResult> InvokeAsync(GetCasbEmailLabelArgs args, InvokeOptions? opts = null)
public static Output<GetCasbEmailLabelResult> Invoke(GetCasbEmailLabelInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCasbEmailLabelResult> getCasbEmailLabel(GetCasbEmailLabelArgs args, InvokeOptions options)
public static Output<GetCasbEmailLabelResult> getCasbEmailLabel(GetCasbEmailLabelArgs args, InvokeOptions options)
fn::invoke:
function: zia:index/getCasbEmailLabel:getCasbEmailLabel
arguments:
# arguments dictionary
The following arguments are supported:
getCasbEmailLabel Result
The following output properties are available:
- Id int
- Label
Deleted bool - (Boolean) A Boolean value that indicates whether or not the email label is deleted
- Name string
- Id int
- Label
Deleted bool - (Boolean) A Boolean value that indicates whether or not the email label is deleted
- Name string
- id Integer
- label
Deleted Boolean - (Boolean) A Boolean value that indicates whether or not the email label is deleted
- name String
- id number
- label
Deleted boolean - (Boolean) A Boolean value that indicates whether or not the email label is deleted
- name string
- id int
- label_
deleted bool - (Boolean) A Boolean value that indicates whether or not the email label is deleted
- name str
- id Number
- label
Deleted Boolean - (Boolean) A Boolean value that indicates whether or not the email label is deleted
- name String
Package Details
- Repository
- zia zscaler/pulumi-zia
- License
- MIT
- Notes
- This Pulumi package is based on the
zia
Terraform Provider.