
Dynatrace v0.1.0, May 24 23

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:
- Disk
Name Lbrlabs.Filter Pulumi Package. Dynatrace. Inputs. Disk Anomaly Rules Disk Name Filter Args 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
- Sample
Limit Lbrlabs.Pulumi Package. Dynatrace. Inputs. Disk Anomaly Rules Sample Limit Args Only alert if the threshold was violated in at least n of the last m samples
- Host
Group stringId The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- Name string
Name
- Tag
Filters List<string> Only apply to hosts that have the following tags
- Threshold
Milliseconds double Alert if higher than
- Threshold
Percent double Alert if lower than
- Disk
Name DiskFilter Anomaly Rules Disk Name Filter Args 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
- Sample
Limit DiskAnomaly Rules Sample Limit Args Only alert if the threshold was violated in at least n of the last m samples
- Host
Group stringId The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- Name string
Name
- Tag
Filters []string Only apply to hosts that have the following tags
- Threshold
Milliseconds float64 Alert if higher than
- Threshold
Percent float64 Alert if lower than
- disk
Name DiskFilter Anomaly Rules Disk Name Filter Args 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
- sample
Limit DiskAnomaly Rules Sample Limit Args Only alert if the threshold was violated in at least n of the last m samples
- host
Group StringId The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- name String
Name
- tag
Filters List<String> Only apply to hosts that have the following tags
- threshold
Milliseconds Double Alert if higher than
- threshold
Percent Double Alert if lower than
- disk
Name DiskFilter Anomaly Rules Disk Name Filter Args 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
- sample
Limit DiskAnomaly Rules Sample Limit Args Only alert if the threshold was violated in at least n of the last m samples
- host
Group stringId The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- name string
Name
- tag
Filters string[] Only apply to hosts that have the following tags
- threshold
Milliseconds number Alert if higher than
- threshold
Percent number Alert if lower than
- disk_
name_ Diskfilter Anomaly Rules Disk Name Filter Args 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 DiskAnomaly Rules Sample Limit Args Only alert if the threshold was violated in at least n of the last m samples
- host_
group_ strid 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
- disk
Name Property MapFilter 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
- sample
Limit Property Map Only alert if the threshold was violated in at least n of the last m samples
- host
Group StringId The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- name String
Name
- tag
Filters List<String> Only apply to hosts that have the following tags
- threshold
Milliseconds Number Alert if higher than
- threshold
Percent 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.
- Disk
Name Lbrlabs.Filter Pulumi Package. Dynatrace. Inputs. Disk Anomaly Rules Disk Name Filter Args Only apply to disks whose name matches
- Enabled bool
This setting is enabled (
true
) or disabled (false
)- Host
Group stringId 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
- Sample
Limit Lbrlabs.Pulumi Package. Dynatrace. Inputs. Disk Anomaly Rules Sample Limit Args Only alert if the threshold was violated in at least n of the last m samples
- Tag
Filters List<string> Only apply to hosts that have the following tags
- Threshold
Milliseconds double Alert if higher than
- Threshold
Percent double Alert if lower than
- Disk
Name DiskFilter Anomaly Rules Disk Name Filter Args Only apply to disks whose name matches
- Enabled bool
This setting is enabled (
true
) or disabled (false
)- Host
Group stringId 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
- Sample
Limit DiskAnomaly Rules Sample Limit Args Only alert if the threshold was violated in at least n of the last m samples
- Tag
Filters []string Only apply to hosts that have the following tags
- Threshold
Milliseconds float64 Alert if higher than
- Threshold
Percent float64 Alert if lower than
- disk
Name DiskFilter Anomaly Rules Disk Name Filter Args Only apply to disks whose name matches
- enabled Boolean
This setting is enabled (
true
) or disabled (false
)- host
Group StringId 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
- sample
Limit DiskAnomaly Rules Sample Limit Args Only alert if the threshold was violated in at least n of the last m samples
- tag
Filters List<String> Only apply to hosts that have the following tags
- threshold
Milliseconds Double Alert if higher than
- threshold
Percent Double Alert if lower than
- disk
Name DiskFilter Anomaly Rules Disk Name Filter Args Only apply to disks whose name matches
- enabled boolean
This setting is enabled (
true
) or disabled (false
)- host
Group stringId 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
- sample
Limit DiskAnomaly Rules Sample Limit Args Only alert if the threshold was violated in at least n of the last m samples
- tag
Filters string[] Only apply to hosts that have the following tags
- threshold
Milliseconds number Alert if higher than
- threshold
Percent number Alert if lower than
- disk_
name_ Diskfilter Anomaly Rules Disk Name Filter Args Only apply to disks whose name matches
- enabled bool
This setting is enabled (
true
) or disabled (false
)- host_
group_ strid 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 DiskAnomaly Rules Sample Limit Args 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
- disk
Name Property MapFilter Only apply to disks whose name matches
- enabled Boolean
This setting is enabled (
true
) or disabled (false
)- host
Group StringId 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
- sample
Limit Property Map Only alert if the threshold was violated in at least n of the last m samples
- tag
Filters List<String> Only apply to hosts that have the following tags
- threshold
Milliseconds Number Alert if higher than
- threshold
Percent Number Alert if lower than
Supporting Types
DiskAnomalyRulesDiskNameFilter
DiskAnomalyRulesSampleLimit
- Samples int
.. within the last
- Violating
Samples int Minimum number of violating samples
- Samples int
.. within the last
- Violating
Samples int Minimum number of violating samples
- samples Integer
.. within the last
- violating
Samples Integer Minimum number of violating samples
- samples number
.. within the last
- violating
Samples number Minimum number of violating samples
- samples int
.. within the last
- violating_
samples int Minimum number of violating samples
- samples Number
.. within the last
- violating
Samples 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.