dynatrace.AttackAlerting
Explore with Pulumi AI
Create AttackAlerting Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AttackAlerting(name: string, args: AttackAlertingArgs, opts?: CustomResourceOptions);
@overload
def AttackAlerting(resource_name: str,
args: AttackAlertingArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AttackAlerting(resource_name: str,
opts: Optional[ResourceOptions] = None,
enabled: Optional[bool] = None,
enabled_attack_mitigations: Optional[Sequence[str]] = None,
name: Optional[str] = None)
func NewAttackAlerting(ctx *Context, name string, args AttackAlertingArgs, opts ...ResourceOption) (*AttackAlerting, error)
public AttackAlerting(string name, AttackAlertingArgs args, CustomResourceOptions? opts = null)
public AttackAlerting(String name, AttackAlertingArgs args)
public AttackAlerting(String name, AttackAlertingArgs args, CustomResourceOptions options)
type: dynatrace:AttackAlerting
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 AttackAlertingArgs
- 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 AttackAlertingArgs
- 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 AttackAlertingArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AttackAlertingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AttackAlertingArgs
- 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 attackAlertingResource = new Dynatrace.AttackAlerting("attackAlertingResource", new()
{
Enabled = false,
EnabledAttackMitigations = new[]
{
"string",
},
Name = "string",
});
example, err := dynatrace.NewAttackAlerting(ctx, "attackAlertingResource", &dynatrace.AttackAlertingArgs{
Enabled: pulumi.Bool(false),
EnabledAttackMitigations: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
})
var attackAlertingResource = new AttackAlerting("attackAlertingResource", AttackAlertingArgs.builder()
.enabled(false)
.enabledAttackMitigations("string")
.name("string")
.build());
attack_alerting_resource = dynatrace.AttackAlerting("attackAlertingResource",
enabled=False,
enabled_attack_mitigations=["string"],
name="string")
const attackAlertingResource = new dynatrace.AttackAlerting("attackAlertingResource", {
enabled: false,
enabledAttackMitigations: ["string"],
name: "string",
});
type: dynatrace:AttackAlerting
properties:
enabled: false
enabledAttackMitigations:
- string
name: string
AttackAlerting 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 AttackAlerting resource accepts the following input properties:
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Enabled
Attack List<string>Mitigations - Attack State
- Name string
- Name
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Enabled
Attack []stringMitigations - Attack State
- Name string
- Name
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - enabled
Attack List<String>Mitigations - Attack State
- name String
- Name
- enabled boolean
- This setting is enabled (
true
) or disabled (false
) - enabled
Attack string[]Mitigations - Attack State
- name string
- Name
- enabled bool
- This setting is enabled (
true
) or disabled (false
) - enabled_
attack_ Sequence[str]mitigations - Attack State
- name str
- Name
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - enabled
Attack List<String>Mitigations - Attack State
- name String
- Name
Outputs
All input properties are implicitly available as output properties. Additionally, the AttackAlerting 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 AttackAlerting Resource
Get an existing AttackAlerting 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?: AttackAlertingState, opts?: CustomResourceOptions): AttackAlerting
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
enabled: Optional[bool] = None,
enabled_attack_mitigations: Optional[Sequence[str]] = None,
name: Optional[str] = None) -> AttackAlerting
func GetAttackAlerting(ctx *Context, name string, id IDInput, state *AttackAlertingState, opts ...ResourceOption) (*AttackAlerting, error)
public static AttackAlerting Get(string name, Input<string> id, AttackAlertingState? state, CustomResourceOptions? opts = null)
public static AttackAlerting get(String name, Output<String> id, AttackAlertingState 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.
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Enabled
Attack List<string>Mitigations - Attack State
- Name string
- Name
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Enabled
Attack []stringMitigations - Attack State
- Name string
- Name
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - enabled
Attack List<String>Mitigations - Attack State
- name String
- Name
- enabled boolean
- This setting is enabled (
true
) or disabled (false
) - enabled
Attack string[]Mitigations - Attack State
- name string
- Name
- enabled bool
- This setting is enabled (
true
) or disabled (false
) - enabled_
attack_ Sequence[str]mitigations - Attack State
- name str
- Name
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - enabled
Attack List<String>Mitigations - Attack State
- name String
- Name
Package Details
- Repository
- dynatrace pulumiverse/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatrace
Terraform Provider.