@bdzscaler/pulumi-zia
Version:
A Pulumi package for creating and managing zia cloud resources.
65 lines (64 loc) • 2 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* * [Official documentation](https://help.zscaler.com/zia/about-email-labels)
* * [API documentation](https://help.zscaler.com/zia/saas-security-api#/casbEmailLabel/lite-get)
*
* 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
*
* ### By ID
*/
export declare function getCasbEmailLabel(args?: GetCasbEmailLabelArgs, opts?: pulumi.InvokeOptions): Promise<GetCasbEmailLabelResult>;
/**
* A collection of arguments for invoking getCasbEmailLabel.
*/
export interface GetCasbEmailLabelArgs {
/**
* SaaS Security API email label ID
*/
id?: number;
/**
* SaaS Security API email label name
*/
name?: string;
}
/**
* A collection of values returned by getCasbEmailLabel.
*/
export interface GetCasbEmailLabelResult {
readonly id: number;
/**
* (Boolean) A Boolean value that indicates whether or not the email label is deleted
*/
readonly labelDeleted: boolean;
readonly name: string;
}
/**
* * [Official documentation](https://help.zscaler.com/zia/about-email-labels)
* * [API documentation](https://help.zscaler.com/zia/saas-security-api#/casbEmailLabel/lite-get)
*
* 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
*
* ### By ID
*/
export declare function getCasbEmailLabelOutput(args?: GetCasbEmailLabelOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCasbEmailLabelResult>;
/**
* A collection of arguments for invoking getCasbEmailLabel.
*/
export interface GetCasbEmailLabelOutputArgs {
/**
* SaaS Security API email label ID
*/
id?: pulumi.Input<number>;
/**
* SaaS Security API email label name
*/
name?: pulumi.Input<string>;
}