Viewing docs for pulumi-resource-zia v1.3.8
published on Friday, Mar 13, 2026 by Zscaler
published on Friday, Mar 13, 2026 by Zscaler
Viewing docs for pulumi-resource-zia v1.3.8
published on Friday, Mar 13, 2026 by Zscaler
published on Friday, Mar 13, 2026 by Zscaler
Use this data source to look up a CASB email label by ID or name.
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(name: Optional[str] = None,
resource_id: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetCasbEmailLabelResult
def get_casb_email_label_output(name: Optional[pulumi.Input[str]] = None,
resource_id: Optional[pulumi.Input[int]] = 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:getCasbEmailLabel
arguments:
# arguments dictionaryThe following arguments are supported:
- Name string
- The name of the CASB email label to look up.
- Resource
Id int - The ID of the CASB email label to look up.
- Name string
- The name of the CASB email label to look up.
- Resource
Id int - The ID of the CASB email label to look up.
- name String
- The name of the CASB email label to look up.
- resource
Id Integer - The ID of the CASB email label to look up.
- name string
- The name of the CASB email label to look up.
- resource
Id number - The ID of the CASB email label to look up.
- name str
- The name of the CASB email label to look up.
- resource_
id int - The ID of the CASB email label to look up.
- name String
- The name of the CASB email label to look up.
- resource
Id Number - The ID of the CASB email label to look up.
getCasbEmailLabel Result
The following output properties are available:
- Label
Deleted bool - Whether the email label has been deleted.
- Name string
- The name of the CASB email label.
- Resource
Id int - The ID of the CASB email label.
- Label
Deleted bool - Whether the email label has been deleted.
- Name string
- The name of the CASB email label.
- Resource
Id int - The ID of the CASB email label.
- label
Deleted Boolean - Whether the email label has been deleted.
- name String
- The name of the CASB email label.
- resource
Id Integer - The ID of the CASB email label.
- label
Deleted boolean - Whether the email label has been deleted.
- name string
- The name of the CASB email label.
- resource
Id number - The ID of the CASB email label.
- label_
deleted bool - Whether the email label has been deleted.
- name str
- The name of the CASB email label.
- resource_
id int - The ID of the CASB email label.
- label
Deleted Boolean - Whether the email label has been deleted.
- name String
- The name of the CASB email label.
- resource
Id Number - The ID of the CASB email label.
Package Details
- Repository
- zia zscaler/pulumi-zia
- License
Viewing docs for pulumi-resource-zia v1.3.8
published on Friday, Mar 13, 2026 by Zscaler
published on Friday, Mar 13, 2026 by Zscaler
