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

zia.SubscriptionAlert

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 resource allows the creation and management of Alert Subscriptions in the Zscaler Internet Access.

    Example Usage

    resource "zia_subscription_alert" "this" {
      email  = "alert@acme.com"
      description = "Terraform Alert"
      pt0_severities = ["CRITICAL"]
      secure_severities = ["CRITICAL", "MAJOR", "MINOR", "INFO", "DEBUG"]
      manage_severities = ["CRITICAL", "MAJOR", "MINOR", "INFO", "DEBUG"]
      comply_severities = ["CRITICAL", "MAJOR", "MINOR", "INFO", "DEBUG"]
      system_severities = ["CRITICAL", "MAJOR", "MINOR", "INFO", "DEBUG"]
    }
    

    Create SubscriptionAlert Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SubscriptionAlert(name: string, args?: SubscriptionAlertArgs, opts?: CustomResourceOptions);
    @overload
    def SubscriptionAlert(resource_name: str,
                          args: Optional[SubscriptionAlertArgs] = None,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def SubscriptionAlert(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          comply_severities: Optional[Sequence[str]] = None,
                          description: Optional[str] = None,
                          email: Optional[str] = None,
                          manage_severities: Optional[Sequence[str]] = None,
                          pt0_severities: Optional[Sequence[str]] = None,
                          secure_severities: Optional[Sequence[str]] = None,
                          system_severities: Optional[Sequence[str]] = None)
    func NewSubscriptionAlert(ctx *Context, name string, args *SubscriptionAlertArgs, opts ...ResourceOption) (*SubscriptionAlert, error)
    public SubscriptionAlert(string name, SubscriptionAlertArgs? args = null, CustomResourceOptions? opts = null)
    public SubscriptionAlert(String name, SubscriptionAlertArgs args)
    public SubscriptionAlert(String name, SubscriptionAlertArgs args, CustomResourceOptions options)
    
    type: zia:SubscriptionAlert
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args SubscriptionAlertArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args SubscriptionAlertArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args SubscriptionAlertArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SubscriptionAlertArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SubscriptionAlertArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var subscriptionAlertResource = new Zia.SubscriptionAlert("subscriptionAlertResource", new()
    {
        ComplySeverities = new[]
        {
            "string",
        },
        Description = "string",
        Email = "string",
        ManageSeverities = new[]
        {
            "string",
        },
        Pt0Severities = new[]
        {
            "string",
        },
        SecureSeverities = new[]
        {
            "string",
        },
        SystemSeverities = new[]
        {
            "string",
        },
    });
    
    example, err := zia.NewSubscriptionAlert(ctx, "subscriptionAlertResource", &zia.SubscriptionAlertArgs{
    	ComplySeverities: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	Email:       pulumi.String("string"),
    	ManageSeverities: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Pt0Severities: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	SecureSeverities: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	SystemSeverities: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var subscriptionAlertResource = new SubscriptionAlert("subscriptionAlertResource", SubscriptionAlertArgs.builder()
        .complySeverities("string")
        .description("string")
        .email("string")
        .manageSeverities("string")
        .pt0Severities("string")
        .secureSeverities("string")
        .systemSeverities("string")
        .build());
    
    subscription_alert_resource = zia.SubscriptionAlert("subscriptionAlertResource",
        comply_severities=["string"],
        description="string",
        email="string",
        manage_severities=["string"],
        pt0_severities=["string"],
        secure_severities=["string"],
        system_severities=["string"])
    
    const subscriptionAlertResource = new zia.SubscriptionAlert("subscriptionAlertResource", {
        complySeverities: ["string"],
        description: "string",
        email: "string",
        manageSeverities: ["string"],
        pt0Severities: ["string"],
        secureSeverities: ["string"],
        systemSeverities: ["string"],
    });
    
    type: zia:SubscriptionAlert
    properties:
        complySeverities:
            - string
        description: string
        email: string
        manageSeverities:
            - string
        pt0Severities:
            - string
        secureSeverities:
            - string
        systemSeverities:
            - string
    

    SubscriptionAlert Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The SubscriptionAlert resource accepts the following input properties:

    ComplySeverities List<string>
    (List of String) Lists the severity levels of the Comply Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    Description string
    (String) Additional comments or information about the alert subscription
    Email string
    The email address of the alert recipient
    ManageSeverities List<string>
    (List of String) Lists the severity levels of the Manage Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    Pt0Severities List<string>
    (List of String) Lists the severity levels of the Patient 0 Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    SecureSeverities List<string>
    (List of String) Lists the severity levels of the Secure Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    SystemSeverities List<string>
    (List of String) Lists the severity levels of the System Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    ComplySeverities []string
    (List of String) Lists the severity levels of the Comply Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    Description string
    (String) Additional comments or information about the alert subscription
    Email string
    The email address of the alert recipient
    ManageSeverities []string
    (List of String) Lists the severity levels of the Manage Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    Pt0Severities []string
    (List of String) Lists the severity levels of the Patient 0 Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    SecureSeverities []string
    (List of String) Lists the severity levels of the Secure Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    SystemSeverities []string
    (List of String) Lists the severity levels of the System Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    complySeverities List<String>
    (List of String) Lists the severity levels of the Comply Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    description String
    (String) Additional comments or information about the alert subscription
    email String
    The email address of the alert recipient
    manageSeverities List<String>
    (List of String) Lists the severity levels of the Manage Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    pt0Severities List<String>
    (List of String) Lists the severity levels of the Patient 0 Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    secureSeverities List<String>
    (List of String) Lists the severity levels of the Secure Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    systemSeverities List<String>
    (List of String) Lists the severity levels of the System Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    complySeverities string[]
    (List of String) Lists the severity levels of the Comply Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    description string
    (String) Additional comments or information about the alert subscription
    email string
    The email address of the alert recipient
    manageSeverities string[]
    (List of String) Lists the severity levels of the Manage Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    pt0Severities string[]
    (List of String) Lists the severity levels of the Patient 0 Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    secureSeverities string[]
    (List of String) Lists the severity levels of the Secure Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    systemSeverities string[]
    (List of String) Lists the severity levels of the System Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    comply_severities Sequence[str]
    (List of String) Lists the severity levels of the Comply Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    description str
    (String) Additional comments or information about the alert subscription
    email str
    The email address of the alert recipient
    manage_severities Sequence[str]
    (List of String) Lists the severity levels of the Manage Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    pt0_severities Sequence[str]
    (List of String) Lists the severity levels of the Patient 0 Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    secure_severities Sequence[str]
    (List of String) Lists the severity levels of the Secure Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    system_severities Sequence[str]
    (List of String) Lists the severity levels of the System Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    complySeverities List<String>
    (List of String) Lists the severity levels of the Comply Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    description String
    (String) Additional comments or information about the alert subscription
    email String
    The email address of the alert recipient
    manageSeverities List<String>
    (List of String) Lists the severity levels of the Manage Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    pt0Severities List<String>
    (List of String) Lists the severity levels of the Patient 0 Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    secureSeverities List<String>
    (List of String) Lists the severity levels of the Secure Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    systemSeverities List<String>
    (List of String) Lists the severity levels of the System Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SubscriptionAlert resource produces the following output properties:

    AlertId int
    System-generated identifier for the alert subscription
    Id string
    The provider-assigned unique ID for this managed resource.
    AlertId int
    System-generated identifier for the alert subscription
    Id string
    The provider-assigned unique ID for this managed resource.
    alertId Integer
    System-generated identifier for the alert subscription
    id String
    The provider-assigned unique ID for this managed resource.
    alertId number
    System-generated identifier for the alert subscription
    id string
    The provider-assigned unique ID for this managed resource.
    alert_id int
    System-generated identifier for the alert subscription
    id str
    The provider-assigned unique ID for this managed resource.
    alertId Number
    System-generated identifier for the alert subscription
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing SubscriptionAlert Resource

    Get an existing SubscriptionAlert resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: SubscriptionAlertState, opts?: CustomResourceOptions): SubscriptionAlert
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            alert_id: Optional[int] = None,
            comply_severities: Optional[Sequence[str]] = None,
            description: Optional[str] = None,
            email: Optional[str] = None,
            manage_severities: Optional[Sequence[str]] = None,
            pt0_severities: Optional[Sequence[str]] = None,
            secure_severities: Optional[Sequence[str]] = None,
            system_severities: Optional[Sequence[str]] = None) -> SubscriptionAlert
    func GetSubscriptionAlert(ctx *Context, name string, id IDInput, state *SubscriptionAlertState, opts ...ResourceOption) (*SubscriptionAlert, error)
    public static SubscriptionAlert Get(string name, Input<string> id, SubscriptionAlertState? state, CustomResourceOptions? opts = null)
    public static SubscriptionAlert get(String name, Output<String> id, SubscriptionAlertState state, CustomResourceOptions options)
    resources:  _:    type: zia:SubscriptionAlert    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AlertId int
    System-generated identifier for the alert subscription
    ComplySeverities List<string>
    (List of String) Lists the severity levels of the Comply Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    Description string
    (String) Additional comments or information about the alert subscription
    Email string
    The email address of the alert recipient
    ManageSeverities List<string>
    (List of String) Lists the severity levels of the Manage Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    Pt0Severities List<string>
    (List of String) Lists the severity levels of the Patient 0 Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    SecureSeverities List<string>
    (List of String) Lists the severity levels of the Secure Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    SystemSeverities List<string>
    (List of String) Lists the severity levels of the System Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    AlertId int
    System-generated identifier for the alert subscription
    ComplySeverities []string
    (List of String) Lists the severity levels of the Comply Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    Description string
    (String) Additional comments or information about the alert subscription
    Email string
    The email address of the alert recipient
    ManageSeverities []string
    (List of String) Lists the severity levels of the Manage Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    Pt0Severities []string
    (List of String) Lists the severity levels of the Patient 0 Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    SecureSeverities []string
    (List of String) Lists the severity levels of the Secure Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    SystemSeverities []string
    (List of String) Lists the severity levels of the System Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    alertId Integer
    System-generated identifier for the alert subscription
    complySeverities List<String>
    (List of String) Lists the severity levels of the Comply Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    description String
    (String) Additional comments or information about the alert subscription
    email String
    The email address of the alert recipient
    manageSeverities List<String>
    (List of String) Lists the severity levels of the Manage Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    pt0Severities List<String>
    (List of String) Lists the severity levels of the Patient 0 Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    secureSeverities List<String>
    (List of String) Lists the severity levels of the Secure Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    systemSeverities List<String>
    (List of String) Lists the severity levels of the System Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    alertId number
    System-generated identifier for the alert subscription
    complySeverities string[]
    (List of String) Lists the severity levels of the Comply Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    description string
    (String) Additional comments or information about the alert subscription
    email string
    The email address of the alert recipient
    manageSeverities string[]
    (List of String) Lists the severity levels of the Manage Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    pt0Severities string[]
    (List of String) Lists the severity levels of the Patient 0 Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    secureSeverities string[]
    (List of String) Lists the severity levels of the Secure Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    systemSeverities string[]
    (List of String) Lists the severity levels of the System Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    alert_id int
    System-generated identifier for the alert subscription
    comply_severities Sequence[str]
    (List of String) Lists the severity levels of the Comply Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    description str
    (String) Additional comments or information about the alert subscription
    email str
    The email address of the alert recipient
    manage_severities Sequence[str]
    (List of String) Lists the severity levels of the Manage Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    pt0_severities Sequence[str]
    (List of String) Lists the severity levels of the Patient 0 Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    secure_severities Sequence[str]
    (List of String) Lists the severity levels of the Secure Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    system_severities Sequence[str]
    (List of String) Lists the severity levels of the System Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    alertId Number
    System-generated identifier for the alert subscription
    complySeverities List<String>
    (List of String) Lists the severity levels of the Comply Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    description String
    (String) Additional comments or information about the alert subscription
    email String
    The email address of the alert recipient
    manageSeverities List<String>
    (List of String) Lists the severity levels of the Manage Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    pt0Severities List<String>
    (List of String) Lists the severity levels of the Patient 0 Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    secureSeverities List<String>
    (List of String) Lists the severity levels of the Secure Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG
    systemSeverities List<String>
    (List of String) Lists the severity levels of the System Severity Alert class information that the recipient receives. Supported Values: CRITICAL, MAJOR, MINOR, INFO, DEBUG

    Import

    Zscaler offers a dedicated tool called Zscaler-Terraformer to allow the automated import of ZIA configurations into Terraform-compliant HashiCorp Configuration Language.

    Visit

    zia_subscription_alert can be imported by using <ALERT_ID> or <ALERT_EMAIL> as the import ID.

    For example:

    $ pulumi import zia:index/subscriptionAlert:SubscriptionAlert example <alert_id>
    

    or

    $ pulumi import zia:index/subscriptionAlert:SubscriptionAlert example <alert_email>
    

    To learn more about importing existing cloud resources, see Importing resources.

    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