1. Packages
  2. Dynatrace
  3. API Docs
  4. VulnerabilityAlerting
Dynatrace v0.10.0 published on Friday, Jun 7, 2024 by Pulumiverse

dynatrace.VulnerabilityAlerting

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.10.0 published on Friday, Jun 7, 2024 by Pulumiverse

    Create VulnerabilityAlerting Resource

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

    Constructor syntax

    new VulnerabilityAlerting(name: string, args: VulnerabilityAlertingArgs, opts?: CustomResourceOptions);
    @overload
    def VulnerabilityAlerting(resource_name: str,
                              args: VulnerabilityAlertingArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def VulnerabilityAlerting(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              enabled: Optional[bool] = None,
                              enabled_risk_levels: Optional[Sequence[str]] = None,
                              enabled_trigger_events: Optional[Sequence[str]] = None,
                              management_zone: Optional[str] = None,
                              name: Optional[str] = None)
    func NewVulnerabilityAlerting(ctx *Context, name string, args VulnerabilityAlertingArgs, opts ...ResourceOption) (*VulnerabilityAlerting, error)
    public VulnerabilityAlerting(string name, VulnerabilityAlertingArgs args, CustomResourceOptions? opts = null)
    public VulnerabilityAlerting(String name, VulnerabilityAlertingArgs args)
    public VulnerabilityAlerting(String name, VulnerabilityAlertingArgs args, CustomResourceOptions options)
    
    type: dynatrace:VulnerabilityAlerting
    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 VulnerabilityAlertingArgs
    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 VulnerabilityAlertingArgs
    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 VulnerabilityAlertingArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VulnerabilityAlertingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VulnerabilityAlertingArgs
    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 vulnerabilityAlertingResource = new Dynatrace.VulnerabilityAlerting("vulnerabilityAlertingResource", new()
    {
        Enabled = false,
        EnabledRiskLevels = new[]
        {
            "string",
        },
        EnabledTriggerEvents = new[]
        {
            "string",
        },
        ManagementZone = "string",
        Name = "string",
    });
    
    example, err := dynatrace.NewVulnerabilityAlerting(ctx, "vulnerabilityAlertingResource", &dynatrace.VulnerabilityAlertingArgs{
    	Enabled: pulumi.Bool(false),
    	EnabledRiskLevels: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	EnabledTriggerEvents: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ManagementZone: pulumi.String("string"),
    	Name:           pulumi.String("string"),
    })
    
    var vulnerabilityAlertingResource = new VulnerabilityAlerting("vulnerabilityAlertingResource", VulnerabilityAlertingArgs.builder()
        .enabled(false)
        .enabledRiskLevels("string")
        .enabledTriggerEvents("string")
        .managementZone("string")
        .name("string")
        .build());
    
    vulnerability_alerting_resource = dynatrace.VulnerabilityAlerting("vulnerabilityAlertingResource",
        enabled=False,
        enabled_risk_levels=["string"],
        enabled_trigger_events=["string"],
        management_zone="string",
        name="string")
    
    const vulnerabilityAlertingResource = new dynatrace.VulnerabilityAlerting("vulnerabilityAlertingResource", {
        enabled: false,
        enabledRiskLevels: ["string"],
        enabledTriggerEvents: ["string"],
        managementZone: "string",
        name: "string",
    });
    
    type: dynatrace:VulnerabilityAlerting
    properties:
        enabled: false
        enabledRiskLevels:
            - string
        enabledTriggerEvents:
            - string
        managementZone: string
        name: string
    

    VulnerabilityAlerting Resource Properties

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

    Inputs

    The VulnerabilityAlerting resource accepts the following input properties:

    Enabled bool
    Alerting profile is enabled (true) or disabled (false)
    EnabledRiskLevels List<string>
    List of risk levels to alert
    EnabledTriggerEvents List<string>
    List of events to alert
    ManagementZone string
    Alert only if the following management zone is affected (optional)
    Name string
    Alerting profile name
    Enabled bool
    Alerting profile is enabled (true) or disabled (false)
    EnabledRiskLevels []string
    List of risk levels to alert
    EnabledTriggerEvents []string
    List of events to alert
    ManagementZone string
    Alert only if the following management zone is affected (optional)
    Name string
    Alerting profile name
    enabled Boolean
    Alerting profile is enabled (true) or disabled (false)
    enabledRiskLevels List<String>
    List of risk levels to alert
    enabledTriggerEvents List<String>
    List of events to alert
    managementZone String
    Alert only if the following management zone is affected (optional)
    name String
    Alerting profile name
    enabled boolean
    Alerting profile is enabled (true) or disabled (false)
    enabledRiskLevels string[]
    List of risk levels to alert
    enabledTriggerEvents string[]
    List of events to alert
    managementZone string
    Alert only if the following management zone is affected (optional)
    name string
    Alerting profile name
    enabled bool
    Alerting profile is enabled (true) or disabled (false)
    enabled_risk_levels Sequence[str]
    List of risk levels to alert
    enabled_trigger_events Sequence[str]
    List of events to alert
    management_zone str
    Alert only if the following management zone is affected (optional)
    name str
    Alerting profile name
    enabled Boolean
    Alerting profile is enabled (true) or disabled (false)
    enabledRiskLevels List<String>
    List of risk levels to alert
    enabledTriggerEvents List<String>
    List of events to alert
    managementZone String
    Alert only if the following management zone is affected (optional)
    name String
    Alerting profile name

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing VulnerabilityAlerting Resource

    Get an existing VulnerabilityAlerting 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?: VulnerabilityAlertingState, opts?: CustomResourceOptions): VulnerabilityAlerting
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            enabled: Optional[bool] = None,
            enabled_risk_levels: Optional[Sequence[str]] = None,
            enabled_trigger_events: Optional[Sequence[str]] = None,
            management_zone: Optional[str] = None,
            name: Optional[str] = None) -> VulnerabilityAlerting
    func GetVulnerabilityAlerting(ctx *Context, name string, id IDInput, state *VulnerabilityAlertingState, opts ...ResourceOption) (*VulnerabilityAlerting, error)
    public static VulnerabilityAlerting Get(string name, Input<string> id, VulnerabilityAlertingState? state, CustomResourceOptions? opts = null)
    public static VulnerabilityAlerting get(String name, Output<String> id, VulnerabilityAlertingState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    Enabled bool
    Alerting profile is enabled (true) or disabled (false)
    EnabledRiskLevels List<string>
    List of risk levels to alert
    EnabledTriggerEvents List<string>
    List of events to alert
    ManagementZone string
    Alert only if the following management zone is affected (optional)
    Name string
    Alerting profile name
    Enabled bool
    Alerting profile is enabled (true) or disabled (false)
    EnabledRiskLevels []string
    List of risk levels to alert
    EnabledTriggerEvents []string
    List of events to alert
    ManagementZone string
    Alert only if the following management zone is affected (optional)
    Name string
    Alerting profile name
    enabled Boolean
    Alerting profile is enabled (true) or disabled (false)
    enabledRiskLevels List<String>
    List of risk levels to alert
    enabledTriggerEvents List<String>
    List of events to alert
    managementZone String
    Alert only if the following management zone is affected (optional)
    name String
    Alerting profile name
    enabled boolean
    Alerting profile is enabled (true) or disabled (false)
    enabledRiskLevels string[]
    List of risk levels to alert
    enabledTriggerEvents string[]
    List of events to alert
    managementZone string
    Alert only if the following management zone is affected (optional)
    name string
    Alerting profile name
    enabled bool
    Alerting profile is enabled (true) or disabled (false)
    enabled_risk_levels Sequence[str]
    List of risk levels to alert
    enabled_trigger_events Sequence[str]
    List of events to alert
    management_zone str
    Alert only if the following management zone is affected (optional)
    name str
    Alerting profile name
    enabled Boolean
    Alerting profile is enabled (true) or disabled (false)
    enabledRiskLevels List<String>
    List of risk levels to alert
    enabledTriggerEvents List<String>
    List of events to alert
    managementZone String
    Alert only if the following management zone is affected (optional)
    name String
    Alerting profile name

    Package Details

    Repository
    dynatrace pulumiverse/pulumi-dynatrace
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dynatrace Terraform Provider.
    dynatrace logo
    Dynatrace v0.10.0 published on Friday, Jun 7, 2024 by Pulumiverse