1. Packages
  2. Zscaler Internet Access (ZIA)
  3. API Docs
  4. SubscriptionAlert
Viewing docs for pulumi-resource-zia v1.3.8
published on Friday, Mar 13, 2026 by Zscaler
zia logo
Viewing docs for pulumi-resource-zia v1.3.8
published on Friday, Mar 13, 2026 by Zscaler

    The zia_subscription_alert resource manages subscription alert configurations in the Zscaler Internet Access (ZIA) cloud service. Subscription alerts notify administrators about various system events with configurable severity levels across different categories including security, management, compliance, and system alerts.

    For more information, see the ZIA Subscription Alerts documentation.

    Example Usage

    Basic Subscription Alert

    Example coming soon!

    Example coming soon!

    Example coming soon!

    import * as zia from "@bdzscaler/pulumi-zia";
    
    const example = new zia.SubscriptionAlert("example", {
        email: "admin@example.com",
        description: "Critical security alerts",
        secureSeverities: ["CRITICAL", "HIGH"],
        systemSeverities: ["CRITICAL"],
    });
    
    import zscaler_pulumi_zia as zia
    
    example = zia.SubscriptionAlert("example",
        email="admin@example.com",
        description="Critical security alerts",
        secure_severities=["CRITICAL", "HIGH"],
        system_severities=["CRITICAL"],
    )
    
    resources:
      example:
        type: zia:SubscriptionAlert
        properties:
          email: admin@example.com
          description: Critical security alerts
          secureSeverities:
            - CRITICAL
            - HIGH
          systemSeverities:
            - CRITICAL
    

    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>
    Severity levels for compliance alerts.
    Description string
    Additional information about the subscription alert.
    Email string
    The email address to which alerts are sent.
    ManageSeverities List<string>
    Severity levels for management alerts.
    Pt0Severities List<string>
    Severity levels for Pt0 alerts.
    SecureSeverities List<string>
    Severity levels for security alerts.
    SystemSeverities List<string>
    Severity levels for system alerts.
    ComplySeverities []string
    Severity levels for compliance alerts.
    Description string
    Additional information about the subscription alert.
    Email string
    The email address to which alerts are sent.
    ManageSeverities []string
    Severity levels for management alerts.
    Pt0Severities []string
    Severity levels for Pt0 alerts.
    SecureSeverities []string
    Severity levels for security alerts.
    SystemSeverities []string
    Severity levels for system alerts.
    complySeverities List<String>
    Severity levels for compliance alerts.
    description String
    Additional information about the subscription alert.
    email String
    The email address to which alerts are sent.
    manageSeverities List<String>
    Severity levels for management alerts.
    pt0Severities List<String>
    Severity levels for Pt0 alerts.
    secureSeverities List<String>
    Severity levels for security alerts.
    systemSeverities List<String>
    Severity levels for system alerts.
    complySeverities string[]
    Severity levels for compliance alerts.
    description string
    Additional information about the subscription alert.
    email string
    The email address to which alerts are sent.
    manageSeverities string[]
    Severity levels for management alerts.
    pt0Severities string[]
    Severity levels for Pt0 alerts.
    secureSeverities string[]
    Severity levels for security alerts.
    systemSeverities string[]
    Severity levels for system alerts.
    comply_severities Sequence[str]
    Severity levels for compliance alerts.
    description str
    Additional information about the subscription alert.
    email str
    The email address to which alerts are sent.
    manage_severities Sequence[str]
    Severity levels for management alerts.
    pt0_severities Sequence[str]
    Severity levels for Pt0 alerts.
    secure_severities Sequence[str]
    Severity levels for security alerts.
    system_severities Sequence[str]
    Severity levels for system alerts.
    complySeverities List<String>
    Severity levels for compliance alerts.
    description String
    Additional information about the subscription alert.
    email String
    The email address to which alerts are sent.
    manageSeverities List<String>
    Severity levels for management alerts.
    pt0Severities List<String>
    Severity levels for Pt0 alerts.
    secureSeverities List<String>
    Severity levels for security alerts.
    systemSeverities List<String>
    Severity levels for system alerts.

    Outputs

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

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

    Import

    An existing Subscription Alert can be imported using its resource ID, e.g.

    $ pulumi import zia:index:SubscriptionAlert example 12345
    

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

    Package Details

    Repository
    zia zscaler/pulumi-zia
    License
    zia logo
    Viewing docs for pulumi-resource-zia v1.3.8
    published on Friday, Mar 13, 2026 by Zscaler
      Try Pulumi Cloud free. Your team will thank you.