Dynatrace

v0.0.2 published on Tuesday, Nov 1, 2022 by Lbrlabs

DiskAnomalies

Create DiskAnomalies Resource

new DiskAnomalies(name: string, args: DiskAnomaliesArgs, opts?: CustomResourceOptions);
@overload
def DiskAnomalies(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  disk_name: Optional[DiskAnomaliesDiskNameArgs] = None,
                  enabled: Optional[bool] = None,
                  host_group_id: Optional[str] = None,
                  metric: Optional[str] = None,
                  name: Optional[str] = None,
                  samples: Optional[int] = None,
                  tags: Optional[DiskAnomaliesTagsArgs] = None,
                  threshold: Optional[float] = None,
                  violating_samples: Optional[int] = None)
@overload
def DiskAnomalies(resource_name: str,
                  args: DiskAnomaliesArgs,
                  opts: Optional[ResourceOptions] = None)
func NewDiskAnomalies(ctx *Context, name string, args DiskAnomaliesArgs, opts ...ResourceOption) (*DiskAnomalies, error)
public DiskAnomalies(string name, DiskAnomaliesArgs args, CustomResourceOptions? opts = null)
public DiskAnomalies(String name, DiskAnomaliesArgs args)
public DiskAnomalies(String name, DiskAnomaliesArgs args, CustomResourceOptions options)
type: dynatrace:DiskAnomalies
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

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

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

Enabled bool

Disk event rule enabled/disabled

Metric string

The metric to monitor. Possible values are: LOW_DISK_SPACE, LOW_INODES, READ_TIME_EXCEEDING and WRITE_TIME_EXCEEDING

Samples int

The number of samples to evaluate

Threshold double

The threshold to trigger disk event. * A percentage for LowDiskSpace or LowInodes metrics. * In milliseconds for ReadTimeExceeding or WriteTimeExceeding metrics

ViolatingSamples int

The number of samples that must violate the threshold to trigger an event. Must not exceed the number of evaluated samples

DiskName Lbrlabs.PulumiPackage.Dynatrace.Inputs.DiskAnomaliesDiskNameArgs

Narrows the rule usage down to disks, matching the specified criteria

HostGroupId string

Narrows the rule usage down to disks that run on hosts that themselves run on the specified host group

Name string

The name of the disk event rule

Tags Lbrlabs.PulumiPackage.Dynatrace.Inputs.DiskAnomaliesTagsArgs

Narrows the rule usage down to the hosts matching the specified tags

Enabled bool

Disk event rule enabled/disabled

Metric string

The metric to monitor. Possible values are: LOW_DISK_SPACE, LOW_INODES, READ_TIME_EXCEEDING and WRITE_TIME_EXCEEDING

Samples int

The number of samples to evaluate

Threshold float64

The threshold to trigger disk event. * A percentage for LowDiskSpace or LowInodes metrics. * In milliseconds for ReadTimeExceeding or WriteTimeExceeding metrics

ViolatingSamples int

The number of samples that must violate the threshold to trigger an event. Must not exceed the number of evaluated samples

DiskName DiskAnomaliesDiskNameArgs

Narrows the rule usage down to disks, matching the specified criteria

HostGroupId string

Narrows the rule usage down to disks that run on hosts that themselves run on the specified host group

Name string

The name of the disk event rule

Tags DiskAnomaliesTagsArgs

Narrows the rule usage down to the hosts matching the specified tags

enabled Boolean

Disk event rule enabled/disabled

metric String

The metric to monitor. Possible values are: LOW_DISK_SPACE, LOW_INODES, READ_TIME_EXCEEDING and WRITE_TIME_EXCEEDING

samples Integer

The number of samples to evaluate

threshold Double

The threshold to trigger disk event. * A percentage for LowDiskSpace or LowInodes metrics. * In milliseconds for ReadTimeExceeding or WriteTimeExceeding metrics

violatingSamples Integer

The number of samples that must violate the threshold to trigger an event. Must not exceed the number of evaluated samples

diskName DiskAnomaliesDiskNameArgs

Narrows the rule usage down to disks, matching the specified criteria

hostGroupId String

Narrows the rule usage down to disks that run on hosts that themselves run on the specified host group

name String

The name of the disk event rule

tags DiskAnomaliesTagsArgs

Narrows the rule usage down to the hosts matching the specified tags

enabled boolean

Disk event rule enabled/disabled

metric string

The metric to monitor. Possible values are: LOW_DISK_SPACE, LOW_INODES, READ_TIME_EXCEEDING and WRITE_TIME_EXCEEDING

samples number

The number of samples to evaluate

threshold number

The threshold to trigger disk event. * A percentage for LowDiskSpace or LowInodes metrics. * In milliseconds for ReadTimeExceeding or WriteTimeExceeding metrics

violatingSamples number

The number of samples that must violate the threshold to trigger an event. Must not exceed the number of evaluated samples

diskName DiskAnomaliesDiskNameArgs

Narrows the rule usage down to disks, matching the specified criteria

hostGroupId string

Narrows the rule usage down to disks that run on hosts that themselves run on the specified host group

name string

The name of the disk event rule

tags DiskAnomaliesTagsArgs

Narrows the rule usage down to the hosts matching the specified tags

enabled bool

Disk event rule enabled/disabled

metric str

The metric to monitor. Possible values are: LOW_DISK_SPACE, LOW_INODES, READ_TIME_EXCEEDING and WRITE_TIME_EXCEEDING

samples int

The number of samples to evaluate

threshold float

The threshold to trigger disk event. * A percentage for LowDiskSpace or LowInodes metrics. * In milliseconds for ReadTimeExceeding or WriteTimeExceeding metrics

violating_samples int

The number of samples that must violate the threshold to trigger an event. Must not exceed the number of evaluated samples

disk_name DiskAnomaliesDiskNameArgs

Narrows the rule usage down to disks, matching the specified criteria

host_group_id str

Narrows the rule usage down to disks that run on hosts that themselves run on the specified host group

name str

The name of the disk event rule

tags DiskAnomaliesTagsArgs

Narrows the rule usage down to the hosts matching the specified tags

enabled Boolean

Disk event rule enabled/disabled

metric String

The metric to monitor. Possible values are: LOW_DISK_SPACE, LOW_INODES, READ_TIME_EXCEEDING and WRITE_TIME_EXCEEDING

samples Number

The number of samples to evaluate

threshold Number

The threshold to trigger disk event. * A percentage for LowDiskSpace or LowInodes metrics. * In milliseconds for ReadTimeExceeding or WriteTimeExceeding metrics

violatingSamples Number

The number of samples that must violate the threshold to trigger an event. Must not exceed the number of evaluated samples

diskName Property Map

Narrows the rule usage down to disks, matching the specified criteria

hostGroupId String

Narrows the rule usage down to disks that run on hosts that themselves run on the specified host group

name String

The name of the disk event rule

tags Property Map

Narrows the rule usage down to the hosts matching the specified tags

Outputs

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

Get an existing DiskAnomalies 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?: DiskAnomaliesState, opts?: CustomResourceOptions): DiskAnomalies
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        disk_name: Optional[DiskAnomaliesDiskNameArgs] = None,
        enabled: Optional[bool] = None,
        host_group_id: Optional[str] = None,
        metric: Optional[str] = None,
        name: Optional[str] = None,
        samples: Optional[int] = None,
        tags: Optional[DiskAnomaliesTagsArgs] = None,
        threshold: Optional[float] = None,
        violating_samples: Optional[int] = None) -> DiskAnomalies
func GetDiskAnomalies(ctx *Context, name string, id IDInput, state *DiskAnomaliesState, opts ...ResourceOption) (*DiskAnomalies, error)
public static DiskAnomalies Get(string name, Input<string> id, DiskAnomaliesState? state, CustomResourceOptions? opts = null)
public static DiskAnomalies get(String name, Output<String> id, DiskAnomaliesState 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:
DiskName Lbrlabs.PulumiPackage.Dynatrace.Inputs.DiskAnomaliesDiskNameArgs

Narrows the rule usage down to disks, matching the specified criteria

Enabled bool

Disk event rule enabled/disabled

HostGroupId string

Narrows the rule usage down to disks that run on hosts that themselves run on the specified host group

Metric string

The metric to monitor. Possible values are: LOW_DISK_SPACE, LOW_INODES, READ_TIME_EXCEEDING and WRITE_TIME_EXCEEDING

Name string

The name of the disk event rule

Samples int

The number of samples to evaluate

Tags Lbrlabs.PulumiPackage.Dynatrace.Inputs.DiskAnomaliesTagsArgs

Narrows the rule usage down to the hosts matching the specified tags

Threshold double

The threshold to trigger disk event. * A percentage for LowDiskSpace or LowInodes metrics. * In milliseconds for ReadTimeExceeding or WriteTimeExceeding metrics

ViolatingSamples int

The number of samples that must violate the threshold to trigger an event. Must not exceed the number of evaluated samples

DiskName DiskAnomaliesDiskNameArgs

Narrows the rule usage down to disks, matching the specified criteria

Enabled bool

Disk event rule enabled/disabled

HostGroupId string

Narrows the rule usage down to disks that run on hosts that themselves run on the specified host group

Metric string

The metric to monitor. Possible values are: LOW_DISK_SPACE, LOW_INODES, READ_TIME_EXCEEDING and WRITE_TIME_EXCEEDING

Name string

The name of the disk event rule

Samples int

The number of samples to evaluate

Tags DiskAnomaliesTagsArgs

Narrows the rule usage down to the hosts matching the specified tags

Threshold float64

The threshold to trigger disk event. * A percentage for LowDiskSpace or LowInodes metrics. * In milliseconds for ReadTimeExceeding or WriteTimeExceeding metrics

ViolatingSamples int

The number of samples that must violate the threshold to trigger an event. Must not exceed the number of evaluated samples

diskName DiskAnomaliesDiskNameArgs

Narrows the rule usage down to disks, matching the specified criteria

enabled Boolean

Disk event rule enabled/disabled

hostGroupId String

Narrows the rule usage down to disks that run on hosts that themselves run on the specified host group

metric String

The metric to monitor. Possible values are: LOW_DISK_SPACE, LOW_INODES, READ_TIME_EXCEEDING and WRITE_TIME_EXCEEDING

name String

The name of the disk event rule

samples Integer

The number of samples to evaluate

tags DiskAnomaliesTagsArgs

Narrows the rule usage down to the hosts matching the specified tags

threshold Double

The threshold to trigger disk event. * A percentage for LowDiskSpace or LowInodes metrics. * In milliseconds for ReadTimeExceeding or WriteTimeExceeding metrics

violatingSamples Integer

The number of samples that must violate the threshold to trigger an event. Must not exceed the number of evaluated samples

diskName DiskAnomaliesDiskNameArgs

Narrows the rule usage down to disks, matching the specified criteria

enabled boolean

Disk event rule enabled/disabled

hostGroupId string

Narrows the rule usage down to disks that run on hosts that themselves run on the specified host group

metric string

The metric to monitor. Possible values are: LOW_DISK_SPACE, LOW_INODES, READ_TIME_EXCEEDING and WRITE_TIME_EXCEEDING

name string

The name of the disk event rule

samples number

The number of samples to evaluate

tags DiskAnomaliesTagsArgs

Narrows the rule usage down to the hosts matching the specified tags

threshold number

The threshold to trigger disk event. * A percentage for LowDiskSpace or LowInodes metrics. * In milliseconds for ReadTimeExceeding or WriteTimeExceeding metrics

violatingSamples number

The number of samples that must violate the threshold to trigger an event. Must not exceed the number of evaluated samples

disk_name DiskAnomaliesDiskNameArgs

Narrows the rule usage down to disks, matching the specified criteria

enabled bool

Disk event rule enabled/disabled

host_group_id str

Narrows the rule usage down to disks that run on hosts that themselves run on the specified host group

metric str

The metric to monitor. Possible values are: LOW_DISK_SPACE, LOW_INODES, READ_TIME_EXCEEDING and WRITE_TIME_EXCEEDING

name str

The name of the disk event rule

samples int

The number of samples to evaluate

tags DiskAnomaliesTagsArgs

Narrows the rule usage down to the hosts matching the specified tags

threshold float

The threshold to trigger disk event. * A percentage for LowDiskSpace or LowInodes metrics. * In milliseconds for ReadTimeExceeding or WriteTimeExceeding metrics

violating_samples int

The number of samples that must violate the threshold to trigger an event. Must not exceed the number of evaluated samples

diskName Property Map

Narrows the rule usage down to disks, matching the specified criteria

enabled Boolean

Disk event rule enabled/disabled

hostGroupId String

Narrows the rule usage down to disks that run on hosts that themselves run on the specified host group

metric String

The metric to monitor. Possible values are: LOW_DISK_SPACE, LOW_INODES, READ_TIME_EXCEEDING and WRITE_TIME_EXCEEDING

name String

The name of the disk event rule

samples Number

The number of samples to evaluate

tags Property Map

Narrows the rule usage down to the hosts matching the specified tags

threshold Number

The threshold to trigger disk event. * A percentage for LowDiskSpace or LowInodes metrics. * In milliseconds for ReadTimeExceeding or WriteTimeExceeding metrics

violatingSamples Number

The number of samples that must violate the threshold to trigger an event. Must not exceed the number of evaluated samples

Supporting Types

DiskAnomaliesDiskName

Operator string

Possible values are: CONTAINS, DOES_NOT_CONTAIN, DOES_NOT_EQUAL, DOES_NOT_START_WITH, EQUALS and STARTS_WITH

Value string

Value to compare to

Operator string

Possible values are: CONTAINS, DOES_NOT_CONTAIN, DOES_NOT_EQUAL, DOES_NOT_START_WITH, EQUALS and STARTS_WITH

Value string

Value to compare to

operator String

Possible values are: CONTAINS, DOES_NOT_CONTAIN, DOES_NOT_EQUAL, DOES_NOT_START_WITH, EQUALS and STARTS_WITH

value String

Value to compare to

operator string

Possible values are: CONTAINS, DOES_NOT_CONTAIN, DOES_NOT_EQUAL, DOES_NOT_START_WITH, EQUALS and STARTS_WITH

value string

Value to compare to

operator str

Possible values are: CONTAINS, DOES_NOT_CONTAIN, DOES_NOT_EQUAL, DOES_NOT_START_WITH, EQUALS and STARTS_WITH

value str

Value to compare to

operator String

Possible values are: CONTAINS, DOES_NOT_CONTAIN, DOES_NOT_EQUAL, DOES_NOT_START_WITH, EQUALS and STARTS_WITH

value String

Value to compare to

DiskAnomaliesTags

DiskAnomaliesTagsFilter

Context string
Key string
Value string
Context string
Key string
Value string
context String
key String
value String
context string
key string
value string
context str
key str
value str
context String
key String
value String

Package Details

Repository
https://github.com/lbrlabs/pulumi-dynatrace
License
Apache-2.0
Notes

This Pulumi package is based on the dynatrace Terraform Provider.