dynatrace.DiskAnomalies
Explore with Pulumi AI
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
andWRITE_TIME_EXCEEDING
- Samples int
The number of samples to evaluate
- Threshold double
The threshold to trigger disk event. * A percentage for
LowDiskSpace
orLowInodes
metrics. * In milliseconds forReadTimeExceeding
orWriteTimeExceeding
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 Lbrlabs.Pulumi Package. Dynatrace. Inputs. Disk Anomalies Disk Name Narrows the rule usage down to disks, matching the specified criteria
- Host
Group stringId 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
- Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Disk Anomalies Tags 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
andWRITE_TIME_EXCEEDING
- Samples int
The number of samples to evaluate
- Threshold float64
The threshold to trigger disk event. * A percentage for
LowDiskSpace
orLowInodes
metrics. * In milliseconds forReadTimeExceeding
orWriteTimeExceeding
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 DiskAnomalies Disk Name Args Narrows the rule usage down to disks, matching the specified criteria
- Host
Group stringId 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
- Disk
Anomalies Tags Args 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
andWRITE_TIME_EXCEEDING
- samples Integer
The number of samples to evaluate
- threshold Double
The threshold to trigger disk event. * A percentage for
LowDiskSpace
orLowInodes
metrics. * In milliseconds forReadTimeExceeding
orWriteTimeExceeding
metrics- violating
Samples Integer The number of samples that must violate the threshold to trigger an event. Must not exceed the number of evaluated samples
- disk
Name DiskAnomalies Disk Name Narrows the rule usage down to disks, matching the specified criteria
- host
Group StringId 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
- Disk
Anomalies Tags 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
andWRITE_TIME_EXCEEDING
- samples number
The number of samples to evaluate
- threshold number
The threshold to trigger disk event. * A percentage for
LowDiskSpace
orLowInodes
metrics. * In milliseconds forReadTimeExceeding
orWriteTimeExceeding
metrics- violating
Samples number The number of samples that must violate the threshold to trigger an event. Must not exceed the number of evaluated samples
- disk
Name DiskAnomalies Disk Name Narrows the rule usage down to disks, matching the specified criteria
- host
Group stringId 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
- Disk
Anomalies Tags 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
andWRITE_TIME_EXCEEDING
- samples int
The number of samples to evaluate
- threshold float
The threshold to trigger disk event. * A percentage for
LowDiskSpace
orLowInodes
metrics. * In milliseconds forReadTimeExceeding
orWriteTimeExceeding
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 DiskAnomalies Disk Name Args Narrows the rule usage down to disks, matching the specified criteria
- host_
group_ strid 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
- Disk
Anomalies Tags Args 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
andWRITE_TIME_EXCEEDING
- samples Number
The number of samples to evaluate
- threshold Number
The threshold to trigger disk event. * A percentage for
LowDiskSpace
orLowInodes
metrics. * In milliseconds forReadTimeExceeding
orWriteTimeExceeding
metrics- violating
Samples Number The number of samples that must violate the threshold to trigger an event. Must not exceed the number of evaluated samples
- disk
Name Property Map Narrows the rule usage down to disks, matching the specified criteria
- host
Group StringId 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
- 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.
- Disk
Name Lbrlabs.Pulumi Package. Dynatrace. Inputs. Disk Anomalies Disk Name Narrows the rule usage down to disks, matching the specified criteria
- Enabled bool
Disk event rule enabled/disabled
- Host
Group stringId 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
andWRITE_TIME_EXCEEDING
- Name string
The name of the disk event rule
- Samples int
The number of samples to evaluate
- Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Disk Anomalies Tags Narrows the rule usage down to the hosts matching the specified tags
- Threshold double
The threshold to trigger disk event. * A percentage for
LowDiskSpace
orLowInodes
metrics. * In milliseconds forReadTimeExceeding
orWriteTimeExceeding
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 DiskAnomalies Disk Name Args Narrows the rule usage down to disks, matching the specified criteria
- Enabled bool
Disk event rule enabled/disabled
- Host
Group stringId 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
andWRITE_TIME_EXCEEDING
- Name string
The name of the disk event rule
- Samples int
The number of samples to evaluate
- Disk
Anomalies Tags Args Narrows the rule usage down to the hosts matching the specified tags
- Threshold float64
The threshold to trigger disk event. * A percentage for
LowDiskSpace
orLowInodes
metrics. * In milliseconds forReadTimeExceeding
orWriteTimeExceeding
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 DiskAnomalies Disk Name Narrows the rule usage down to disks, matching the specified criteria
- enabled Boolean
Disk event rule enabled/disabled
- host
Group StringId 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
andWRITE_TIME_EXCEEDING
- name String
The name of the disk event rule
- samples Integer
The number of samples to evaluate
- Disk
Anomalies Tags Narrows the rule usage down to the hosts matching the specified tags
- threshold Double
The threshold to trigger disk event. * A percentage for
LowDiskSpace
orLowInodes
metrics. * In milliseconds forReadTimeExceeding
orWriteTimeExceeding
metrics- violating
Samples Integer The number of samples that must violate the threshold to trigger an event. Must not exceed the number of evaluated samples
- disk
Name DiskAnomalies Disk Name Narrows the rule usage down to disks, matching the specified criteria
- enabled boolean
Disk event rule enabled/disabled
- host
Group stringId 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
andWRITE_TIME_EXCEEDING
- name string
The name of the disk event rule
- samples number
The number of samples to evaluate
- Disk
Anomalies Tags Narrows the rule usage down to the hosts matching the specified tags
- threshold number
The threshold to trigger disk event. * A percentage for
LowDiskSpace
orLowInodes
metrics. * In milliseconds forReadTimeExceeding
orWriteTimeExceeding
metrics- violating
Samples number The number of samples that must violate the threshold to trigger an event. Must not exceed the number of evaluated samples
- disk_
name DiskAnomalies Disk Name Args Narrows the rule usage down to disks, matching the specified criteria
- enabled bool
Disk event rule enabled/disabled
- host_
group_ strid 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
andWRITE_TIME_EXCEEDING
- name str
The name of the disk event rule
- samples int
The number of samples to evaluate
- Disk
Anomalies Tags Args Narrows the rule usage down to the hosts matching the specified tags
- threshold float
The threshold to trigger disk event. * A percentage for
LowDiskSpace
orLowInodes
metrics. * In milliseconds forReadTimeExceeding
orWriteTimeExceeding
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 Property Map Narrows the rule usage down to disks, matching the specified criteria
- enabled Boolean
Disk event rule enabled/disabled
- host
Group StringId 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
andWRITE_TIME_EXCEEDING
- name String
The name of the disk event rule
- samples Number
The number of samples to evaluate
- 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
orLowInodes
metrics. * In milliseconds forReadTimeExceeding
orWriteTimeExceeding
metrics- violating
Samples 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, DiskAnomaliesDiskNameArgs
DiskAnomaliesTags, DiskAnomaliesTagsArgs
- Filters
[]Disk
Anomalies Tags Filter A Tag Filter
- filters
List<Disk
Anomalies Tags Filter> A Tag Filter
- filters
Disk
Anomalies Tags Filter[] A Tag Filter
- filters
Sequence[Disk
Anomalies Tags Filter] A Tag Filter
- filters List<Property Map>
A Tag Filter
DiskAnomaliesTagsFilter, DiskAnomaliesTagsFilterArgs
Package Details
- Repository
- dynatrace lbrlabs/pulumi-dynatrace
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
dynatrace
Terraform Provider.