1. Packages
  2. Zscaler Internet Access (ZIA)
  3. API Docs
  4. getSubscriptionAlert
Zscaler Internet Access v1.1.1 published on Tuesday, Jun 24, 2025 by Zscaler

zia.getSubscriptionAlert

Explore with Pulumi AI

zia logo
Zscaler Internet Access v1.1.1 published on Tuesday, Jun 24, 2025 by Zscaler

    Use the zia_subscription_alert data source to get information about a subscription alert resource in the Zscaler Internet Access cloud or via the API.

    Example Usage

    Via Email

    data "zia_subscription_alert" "this" {
        email = "alert@acme.com"
    }
    

    Via ID

    data "zia_subscription_alert" "this" {
        id = 3271
    }
    

    Using getSubscriptionAlert

    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 getSubscriptionAlert(args: GetSubscriptionAlertArgs, opts?: InvokeOptions): Promise<GetSubscriptionAlertResult>
    function getSubscriptionAlertOutput(args: GetSubscriptionAlertOutputArgs, opts?: InvokeOptions): Output<GetSubscriptionAlertResult>
    def get_subscription_alert(email: Optional[str] = None,
                               id: Optional[int] = None,
                               opts: Optional[InvokeOptions] = None) -> GetSubscriptionAlertResult
    def get_subscription_alert_output(email: Optional[pulumi.Input[str]] = None,
                               id: Optional[pulumi.Input[int]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetSubscriptionAlertResult]
    func LookupSubscriptionAlert(ctx *Context, args *LookupSubscriptionAlertArgs, opts ...InvokeOption) (*LookupSubscriptionAlertResult, error)
    func LookupSubscriptionAlertOutput(ctx *Context, args *LookupSubscriptionAlertOutputArgs, opts ...InvokeOption) LookupSubscriptionAlertResultOutput

    > Note: This function is named LookupSubscriptionAlert in the Go SDK.

    public static class GetSubscriptionAlert 
    {
        public static Task<GetSubscriptionAlertResult> InvokeAsync(GetSubscriptionAlertArgs args, InvokeOptions? opts = null)
        public static Output<GetSubscriptionAlertResult> Invoke(GetSubscriptionAlertInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSubscriptionAlertResult> getSubscriptionAlert(GetSubscriptionAlertArgs args, InvokeOptions options)
    public static Output<GetSubscriptionAlertResult> getSubscriptionAlert(GetSubscriptionAlertArgs args, InvokeOptions options)
    
    fn::invoke:
      function: zia:index/getSubscriptionAlert:getSubscriptionAlert
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Email string
    The name of the subscription alert to be exported.
    Id int
    The unique identifer for the subscription alert.
    Email string
    The name of the subscription alert to be exported.
    Id int
    The unique identifer for the subscription alert.
    email String
    The name of the subscription alert to be exported.
    id Integer
    The unique identifer for the subscription alert.
    email string
    The name of the subscription alert to be exported.
    id number
    The unique identifer for the subscription alert.
    email str
    The name of the subscription alert to be exported.
    id int
    The unique identifer for the subscription alert.
    email String
    The name of the subscription alert to be exported.
    id Number
    The unique identifer for the subscription alert.

    getSubscriptionAlert Result

    The following output properties are available:

    ComplySeverities List<string>
    (List of String) Lists the severity levels of the Comply Severity Alert class information that the recipient receives
    Deleted bool
    (bool) Deletes an existing alert subscription
    Description string
    (String) Additional comments or information about the alert subscription
    Email string
    Id int
    ManageSeverities List<string>
    (List of String) Lists the severity levels of the Manage Severity Alert class information that the recipient receives
    Pt0Severities List<string>
    (List of String) Lists the severity levels of the Patient 0 Severity Alert class information that the recipient receives
    SecureSeverities List<string>
    (List of String) Lists the severity levels of the Secure Severity Alert class information that the recipient receives
    SystemSeverities List<string>
    (List of String) Lists the severity levels of the System Severity Alert class information that the recipient receives
    ComplySeverities []string
    (List of String) Lists the severity levels of the Comply Severity Alert class information that the recipient receives
    Deleted bool
    (bool) Deletes an existing alert subscription
    Description string
    (String) Additional comments or information about the alert subscription
    Email string
    Id int
    ManageSeverities []string
    (List of String) Lists the severity levels of the Manage Severity Alert class information that the recipient receives
    Pt0Severities []string
    (List of String) Lists the severity levels of the Patient 0 Severity Alert class information that the recipient receives
    SecureSeverities []string
    (List of String) Lists the severity levels of the Secure Severity Alert class information that the recipient receives
    SystemSeverities []string
    (List of String) Lists the severity levels of the System Severity Alert class information that the recipient receives
    complySeverities List<String>
    (List of String) Lists the severity levels of the Comply Severity Alert class information that the recipient receives
    deleted Boolean
    (bool) Deletes an existing alert subscription
    description String
    (String) Additional comments or information about the alert subscription
    email String
    id Integer
    manageSeverities List<String>
    (List of String) Lists the severity levels of the Manage Severity Alert class information that the recipient receives
    pt0Severities List<String>
    (List of String) Lists the severity levels of the Patient 0 Severity Alert class information that the recipient receives
    secureSeverities List<String>
    (List of String) Lists the severity levels of the Secure Severity Alert class information that the recipient receives
    systemSeverities List<String>
    (List of String) Lists the severity levels of the System Severity Alert class information that the recipient receives
    complySeverities string[]
    (List of String) Lists the severity levels of the Comply Severity Alert class information that the recipient receives
    deleted boolean
    (bool) Deletes an existing alert subscription
    description string
    (String) Additional comments or information about the alert subscription
    email string
    id number
    manageSeverities string[]
    (List of String) Lists the severity levels of the Manage Severity Alert class information that the recipient receives
    pt0Severities string[]
    (List of String) Lists the severity levels of the Patient 0 Severity Alert class information that the recipient receives
    secureSeverities string[]
    (List of String) Lists the severity levels of the Secure Severity Alert class information that the recipient receives
    systemSeverities string[]
    (List of String) Lists the severity levels of the System Severity Alert class information that the recipient receives
    comply_severities Sequence[str]
    (List of String) Lists the severity levels of the Comply Severity Alert class information that the recipient receives
    deleted bool
    (bool) Deletes an existing alert subscription
    description str
    (String) Additional comments or information about the alert subscription
    email str
    id int
    manage_severities Sequence[str]
    (List of String) Lists the severity levels of the Manage Severity Alert class information that the recipient receives
    pt0_severities Sequence[str]
    (List of String) Lists the severity levels of the Patient 0 Severity Alert class information that the recipient receives
    secure_severities Sequence[str]
    (List of String) Lists the severity levels of the Secure Severity Alert class information that the recipient receives
    system_severities Sequence[str]
    (List of String) Lists the severity levels of the System Severity Alert class information that the recipient receives
    complySeverities List<String>
    (List of String) Lists the severity levels of the Comply Severity Alert class information that the recipient receives
    deleted Boolean
    (bool) Deletes an existing alert subscription
    description String
    (String) Additional comments or information about the alert subscription
    email String
    id Number
    manageSeverities List<String>
    (List of String) Lists the severity levels of the Manage Severity Alert class information that the recipient receives
    pt0Severities List<String>
    (List of String) Lists the severity levels of the Patient 0 Severity Alert class information that the recipient receives
    secureSeverities List<String>
    (List of String) Lists the severity levels of the Secure Severity Alert class information that the recipient receives
    systemSeverities List<String>
    (List of String) Lists the severity levels of the System Severity Alert class information that the recipient receives

    Package Details

    Repository
    zia zscaler/pulumi-zia
    License
    MIT
    Notes
    This Pulumi package is based on the zia Terraform Provider.
    zia logo
    Zscaler Internet Access v1.1.1 published on Tuesday, Jun 24, 2025 by Zscaler