dynatrace logo
Dynatrace v0.1.0, May 24 23

dynatrace.DiskAnomalyRules

Explore with Pulumi AI

Create DiskAnomalyRules Resource

new DiskAnomalyRules(name: string, args: DiskAnomalyRulesArgs, opts?: CustomResourceOptions);
@overload
def DiskAnomalyRules(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     disk_name_filter: Optional[DiskAnomalyRulesDiskNameFilterArgs] = None,
                     enabled: Optional[bool] = None,
                     host_group_id: Optional[str] = None,
                     metric: Optional[str] = None,
                     name: Optional[str] = None,
                     sample_limit: Optional[DiskAnomalyRulesSampleLimitArgs] = None,
                     tag_filters: Optional[Sequence[str]] = None,
                     threshold_milliseconds: Optional[float] = None,
                     threshold_percent: Optional[float] = None)
@overload
def DiskAnomalyRules(resource_name: str,
                     args: DiskAnomalyRulesArgs,
                     opts: Optional[ResourceOptions] = None)
func NewDiskAnomalyRules(ctx *Context, name string, args DiskAnomalyRulesArgs, opts ...ResourceOption) (*DiskAnomalyRules, error)
public DiskAnomalyRules(string name, DiskAnomalyRulesArgs args, CustomResourceOptions? opts = null)
public DiskAnomalyRules(String name, DiskAnomalyRulesArgs args)
public DiskAnomalyRules(String name, DiskAnomalyRulesArgs args, CustomResourceOptions options)
type: dynatrace:DiskAnomalyRules
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args DiskAnomalyRulesArgs
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 DiskAnomalyRulesArgs
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 DiskAnomalyRulesArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DiskAnomalyRulesArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args DiskAnomalyRulesArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

DiskAnomalyRules 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 DiskAnomalyRules resource accepts the following input properties:

DiskNameFilter Lbrlabs.PulumiPackage.Dynatrace.Inputs.DiskAnomalyRulesDiskNameFilterArgs

Only apply to disks whose name matches

Enabled bool

This setting is enabled (true) or disabled (false)

Metric string

Possible Values: LOW_DISK_SPACE, LOW_INODES, READ_TIME_EXCEEDING, WRITE_TIME_EXCEEDING

SampleLimit Lbrlabs.PulumiPackage.Dynatrace.Inputs.DiskAnomalyRulesSampleLimitArgs

Only alert if the threshold was violated in at least n of the last m samples

HostGroupId string

The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.

Name string

Name

TagFilters List<string>

Only apply to hosts that have the following tags

ThresholdMilliseconds double

Alert if higher than

ThresholdPercent double

Alert if lower than

DiskNameFilter DiskAnomalyRulesDiskNameFilterArgs

Only apply to disks whose name matches

Enabled bool

This setting is enabled (true) or disabled (false)

Metric string

Possible Values: LOW_DISK_SPACE, LOW_INODES, READ_TIME_EXCEEDING, WRITE_TIME_EXCEEDING

SampleLimit DiskAnomalyRulesSampleLimitArgs

Only alert if the threshold was violated in at least n of the last m samples

HostGroupId string

The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.

Name string

Name

TagFilters []string

Only apply to hosts that have the following tags

ThresholdMilliseconds float64

Alert if higher than

ThresholdPercent float64

Alert if lower than

diskNameFilter DiskAnomalyRulesDiskNameFilterArgs

Only apply to disks whose name matches

enabled Boolean

This setting is enabled (true) or disabled (false)

metric String

Possible Values: LOW_DISK_SPACE, LOW_INODES, READ_TIME_EXCEEDING, WRITE_TIME_EXCEEDING

sampleLimit DiskAnomalyRulesSampleLimitArgs

Only alert if the threshold was violated in at least n of the last m samples

hostGroupId String

The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.

name String

Name

tagFilters List<String>

Only apply to hosts that have the following tags

thresholdMilliseconds Double

Alert if higher than

thresholdPercent Double

Alert if lower than

diskNameFilter DiskAnomalyRulesDiskNameFilterArgs

Only apply to disks whose name matches

enabled boolean

This setting is enabled (true) or disabled (false)

metric string

Possible Values: LOW_DISK_SPACE, LOW_INODES, READ_TIME_EXCEEDING, WRITE_TIME_EXCEEDING

sampleLimit DiskAnomalyRulesSampleLimitArgs

Only alert if the threshold was violated in at least n of the last m samples

hostGroupId string

The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.

name string

Name

tagFilters string[]

Only apply to hosts that have the following tags

thresholdMilliseconds number

Alert if higher than

thresholdPercent number

Alert if lower than

disk_name_filter DiskAnomalyRulesDiskNameFilterArgs

Only apply to disks whose name matches

enabled bool

This setting is enabled (true) or disabled (false)

metric str

Possible Values: LOW_DISK_SPACE, LOW_INODES, READ_TIME_EXCEEDING, WRITE_TIME_EXCEEDING

sample_limit DiskAnomalyRulesSampleLimitArgs

Only alert if the threshold was violated in at least n of the last m samples

host_group_id str

The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.

name str

Name

tag_filters Sequence[str]

Only apply to hosts that have the following tags

threshold_milliseconds float

Alert if higher than

threshold_percent float

Alert if lower than

diskNameFilter Property Map

Only apply to disks whose name matches

enabled Boolean

This setting is enabled (true) or disabled (false)

metric String

Possible Values: LOW_DISK_SPACE, LOW_INODES, READ_TIME_EXCEEDING, WRITE_TIME_EXCEEDING

sampleLimit Property Map

Only alert if the threshold was violated in at least n of the last m samples

hostGroupId String

The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.

name String

Name

tagFilters List<String>

Only apply to hosts that have the following tags

thresholdMilliseconds Number

Alert if higher than

thresholdPercent Number

Alert if lower than

Outputs

All input properties are implicitly available as output properties. Additionally, the DiskAnomalyRules 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 DiskAnomalyRules Resource

Get an existing DiskAnomalyRules 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?: DiskAnomalyRulesState, opts?: CustomResourceOptions): DiskAnomalyRules
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        disk_name_filter: Optional[DiskAnomalyRulesDiskNameFilterArgs] = None,
        enabled: Optional[bool] = None,
        host_group_id: Optional[str] = None,
        metric: Optional[str] = None,
        name: Optional[str] = None,
        sample_limit: Optional[DiskAnomalyRulesSampleLimitArgs] = None,
        tag_filters: Optional[Sequence[str]] = None,
        threshold_milliseconds: Optional[float] = None,
        threshold_percent: Optional[float] = None) -> DiskAnomalyRules
func GetDiskAnomalyRules(ctx *Context, name string, id IDInput, state *DiskAnomalyRulesState, opts ...ResourceOption) (*DiskAnomalyRules, error)
public static DiskAnomalyRules Get(string name, Input<string> id, DiskAnomalyRulesState? state, CustomResourceOptions? opts = null)
public static DiskAnomalyRules get(String name, Output<String> id, DiskAnomalyRulesState 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:
DiskNameFilter Lbrlabs.PulumiPackage.Dynatrace.Inputs.DiskAnomalyRulesDiskNameFilterArgs

Only apply to disks whose name matches

Enabled bool

This setting is enabled (true) or disabled (false)

HostGroupId string

The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.

Metric string

Possible Values: LOW_DISK_SPACE, LOW_INODES, READ_TIME_EXCEEDING, WRITE_TIME_EXCEEDING

Name string

Name

SampleLimit Lbrlabs.PulumiPackage.Dynatrace.Inputs.DiskAnomalyRulesSampleLimitArgs

Only alert if the threshold was violated in at least n of the last m samples

TagFilters List<string>

Only apply to hosts that have the following tags

ThresholdMilliseconds double

Alert if higher than

ThresholdPercent double

Alert if lower than

DiskNameFilter DiskAnomalyRulesDiskNameFilterArgs

Only apply to disks whose name matches

Enabled bool

This setting is enabled (true) or disabled (false)

HostGroupId string

The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.

Metric string

Possible Values: LOW_DISK_SPACE, LOW_INODES, READ_TIME_EXCEEDING, WRITE_TIME_EXCEEDING

Name string

Name

SampleLimit DiskAnomalyRulesSampleLimitArgs

Only alert if the threshold was violated in at least n of the last m samples

TagFilters []string

Only apply to hosts that have the following tags

ThresholdMilliseconds float64

Alert if higher than

ThresholdPercent float64

Alert if lower than

diskNameFilter DiskAnomalyRulesDiskNameFilterArgs

Only apply to disks whose name matches

enabled Boolean

This setting is enabled (true) or disabled (false)

hostGroupId String

The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.

metric String

Possible Values: LOW_DISK_SPACE, LOW_INODES, READ_TIME_EXCEEDING, WRITE_TIME_EXCEEDING

name String

Name

sampleLimit DiskAnomalyRulesSampleLimitArgs

Only alert if the threshold was violated in at least n of the last m samples

tagFilters List<String>

Only apply to hosts that have the following tags

thresholdMilliseconds Double

Alert if higher than

thresholdPercent Double

Alert if lower than

diskNameFilter DiskAnomalyRulesDiskNameFilterArgs

Only apply to disks whose name matches

enabled boolean

This setting is enabled (true) or disabled (false)

hostGroupId string

The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.

metric string

Possible Values: LOW_DISK_SPACE, LOW_INODES, READ_TIME_EXCEEDING, WRITE_TIME_EXCEEDING

name string

Name

sampleLimit DiskAnomalyRulesSampleLimitArgs

Only alert if the threshold was violated in at least n of the last m samples

tagFilters string[]

Only apply to hosts that have the following tags

thresholdMilliseconds number

Alert if higher than

thresholdPercent number

Alert if lower than

disk_name_filter DiskAnomalyRulesDiskNameFilterArgs

Only apply to disks whose name matches

enabled bool

This setting is enabled (true) or disabled (false)

host_group_id str

The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.

metric str

Possible Values: LOW_DISK_SPACE, LOW_INODES, READ_TIME_EXCEEDING, WRITE_TIME_EXCEEDING

name str

Name

sample_limit DiskAnomalyRulesSampleLimitArgs

Only alert if the threshold was violated in at least n of the last m samples

tag_filters Sequence[str]

Only apply to hosts that have the following tags

threshold_milliseconds float

Alert if higher than

threshold_percent float

Alert if lower than

diskNameFilter Property Map

Only apply to disks whose name matches

enabled Boolean

This setting is enabled (true) or disabled (false)

hostGroupId String

The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.

metric String

Possible Values: LOW_DISK_SPACE, LOW_INODES, READ_TIME_EXCEEDING, WRITE_TIME_EXCEEDING

name String

Name

sampleLimit Property Map

Only alert if the threshold was violated in at least n of the last m samples

tagFilters List<String>

Only apply to hosts that have the following tags

thresholdMilliseconds Number

Alert if higher than

thresholdPercent Number

Alert if lower than

Supporting Types

DiskAnomalyRulesDiskNameFilter

Operator string

Possible Values: CONTAINS, DOES_NOT_CONTAIN, DOES_NOT_EQUAL, DOES_NOT_START_WITH, EQUALS, STARTS_WITH

Value string

Matching text

Operator string

Possible Values: CONTAINS, DOES_NOT_CONTAIN, DOES_NOT_EQUAL, DOES_NOT_START_WITH, EQUALS, STARTS_WITH

Value string

Matching text

operator String

Possible Values: CONTAINS, DOES_NOT_CONTAIN, DOES_NOT_EQUAL, DOES_NOT_START_WITH, EQUALS, STARTS_WITH

value String

Matching text

operator string

Possible Values: CONTAINS, DOES_NOT_CONTAIN, DOES_NOT_EQUAL, DOES_NOT_START_WITH, EQUALS, STARTS_WITH

value string

Matching text

operator str

Possible Values: CONTAINS, DOES_NOT_CONTAIN, DOES_NOT_EQUAL, DOES_NOT_START_WITH, EQUALS, STARTS_WITH

value str

Matching text

operator String

Possible Values: CONTAINS, DOES_NOT_CONTAIN, DOES_NOT_EQUAL, DOES_NOT_START_WITH, EQUALS, STARTS_WITH

value String

Matching text

DiskAnomalyRulesSampleLimit

Samples int

.. within the last

ViolatingSamples int

Minimum number of violating samples

Samples int

.. within the last

ViolatingSamples int

Minimum number of violating samples

samples Integer

.. within the last

violatingSamples Integer

Minimum number of violating samples

samples number

.. within the last

violatingSamples number

Minimum number of violating samples

samples int

.. within the last

violating_samples int

Minimum number of violating samples

samples Number

.. within the last

violatingSamples Number

Minimum number of violating samples

Package Details

Repository
dynatrace lbrlabs/pulumi-dynatrace
License
Apache-2.0
Notes

This Pulumi package is based on the dynatrace Terraform Provider.