1. Packages
  2. Dynatrace
  3. API Docs
  4. DiskAnomaliesV2
Dynatrace v0.27.0 published on Friday, Mar 21, 2025 by Pulumiverse

dynatrace.DiskAnomaliesV2

Explore with Pulumi AI

Create DiskAnomaliesV2 Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new DiskAnomaliesV2(name: string, args: DiskAnomaliesV2Args, opts?: CustomResourceOptions);
@overload
def DiskAnomaliesV2(resource_name: str,
                    args: DiskAnomaliesV2Args,
                    opts: Optional[ResourceOptions] = None)

@overload
def DiskAnomaliesV2(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    disk: Optional[DiskAnomaliesV2DiskArgs] = None,
                    scope: Optional[str] = None)
func NewDiskAnomaliesV2(ctx *Context, name string, args DiskAnomaliesV2Args, opts ...ResourceOption) (*DiskAnomaliesV2, error)
public DiskAnomaliesV2(string name, DiskAnomaliesV2Args args, CustomResourceOptions? opts = null)
public DiskAnomaliesV2(String name, DiskAnomaliesV2Args args)
public DiskAnomaliesV2(String name, DiskAnomaliesV2Args args, CustomResourceOptions options)
type: dynatrace:DiskAnomaliesV2
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. DiskAnomaliesV2Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. DiskAnomaliesV2Args
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. DiskAnomaliesV2Args
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. DiskAnomaliesV2Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. DiskAnomaliesV2Args
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 diskAnomaliesV2Resource = new Dynatrace.DiskAnomaliesV2("diskAnomaliesV2Resource", new()
{
    Disk = new Dynatrace.Inputs.DiskAnomaliesV2DiskArgs
    {
        DiskLowInodesDetection = new Dynatrace.Inputs.DiskAnomaliesV2DiskDiskLowInodesDetectionArgs
        {
            Enabled = false,
            CustomThresholds = new Dynatrace.Inputs.DiskAnomaliesV2DiskDiskLowInodesDetectionCustomThresholdsArgs
            {
                FreeInodesPercentage = 0,
            },
            DetectionMode = "string",
        },
        DiskLowSpaceDetection = new Dynatrace.Inputs.DiskAnomaliesV2DiskDiskLowSpaceDetectionArgs
        {
            Enabled = false,
            CustomThresholds = new Dynatrace.Inputs.DiskAnomaliesV2DiskDiskLowSpaceDetectionCustomThresholdsArgs
            {
                FreeSpacePercentage = 0,
            },
            DetectionMode = "string",
        },
        DiskSlowWritesAndReadsDetection = new Dynatrace.Inputs.DiskAnomaliesV2DiskDiskSlowWritesAndReadsDetectionArgs
        {
            Enabled = false,
            CustomThresholds = new Dynatrace.Inputs.DiskAnomaliesV2DiskDiskSlowWritesAndReadsDetectionCustomThresholdsArgs
            {
                WriteAndReadTime = 0,
            },
            DetectionMode = "string",
        },
    },
    Scope = "string",
});
Copy
example, err := dynatrace.NewDiskAnomaliesV2(ctx, "diskAnomaliesV2Resource", &dynatrace.DiskAnomaliesV2Args{
	Disk: &dynatrace.DiskAnomaliesV2DiskArgs{
		DiskLowInodesDetection: &dynatrace.DiskAnomaliesV2DiskDiskLowInodesDetectionArgs{
			Enabled: pulumi.Bool(false),
			CustomThresholds: &dynatrace.DiskAnomaliesV2DiskDiskLowInodesDetectionCustomThresholdsArgs{
				FreeInodesPercentage: pulumi.Int(0),
			},
			DetectionMode: pulumi.String("string"),
		},
		DiskLowSpaceDetection: &dynatrace.DiskAnomaliesV2DiskDiskLowSpaceDetectionArgs{
			Enabled: pulumi.Bool(false),
			CustomThresholds: &dynatrace.DiskAnomaliesV2DiskDiskLowSpaceDetectionCustomThresholdsArgs{
				FreeSpacePercentage: pulumi.Int(0),
			},
			DetectionMode: pulumi.String("string"),
		},
		DiskSlowWritesAndReadsDetection: &dynatrace.DiskAnomaliesV2DiskDiskSlowWritesAndReadsDetectionArgs{
			Enabled: pulumi.Bool(false),
			CustomThresholds: &dynatrace.DiskAnomaliesV2DiskDiskSlowWritesAndReadsDetectionCustomThresholdsArgs{
				WriteAndReadTime: pulumi.Int(0),
			},
			DetectionMode: pulumi.String("string"),
		},
	},
	Scope: pulumi.String("string"),
})
Copy
var diskAnomaliesV2Resource = new DiskAnomaliesV2("diskAnomaliesV2Resource", DiskAnomaliesV2Args.builder()
    .disk(DiskAnomaliesV2DiskArgs.builder()
        .diskLowInodesDetection(DiskAnomaliesV2DiskDiskLowInodesDetectionArgs.builder()
            .enabled(false)
            .customThresholds(DiskAnomaliesV2DiskDiskLowInodesDetectionCustomThresholdsArgs.builder()
                .freeInodesPercentage(0)
                .build())
            .detectionMode("string")
            .build())
        .diskLowSpaceDetection(DiskAnomaliesV2DiskDiskLowSpaceDetectionArgs.builder()
            .enabled(false)
            .customThresholds(DiskAnomaliesV2DiskDiskLowSpaceDetectionCustomThresholdsArgs.builder()
                .freeSpacePercentage(0)
                .build())
            .detectionMode("string")
            .build())
        .diskSlowWritesAndReadsDetection(DiskAnomaliesV2DiskDiskSlowWritesAndReadsDetectionArgs.builder()
            .enabled(false)
            .customThresholds(DiskAnomaliesV2DiskDiskSlowWritesAndReadsDetectionCustomThresholdsArgs.builder()
                .writeAndReadTime(0)
                .build())
            .detectionMode("string")
            .build())
        .build())
    .scope("string")
    .build());
Copy
disk_anomalies_v2_resource = dynatrace.DiskAnomaliesV2("diskAnomaliesV2Resource",
    disk={
        "disk_low_inodes_detection": {
            "enabled": False,
            "custom_thresholds": {
                "free_inodes_percentage": 0,
            },
            "detection_mode": "string",
        },
        "disk_low_space_detection": {
            "enabled": False,
            "custom_thresholds": {
                "free_space_percentage": 0,
            },
            "detection_mode": "string",
        },
        "disk_slow_writes_and_reads_detection": {
            "enabled": False,
            "custom_thresholds": {
                "write_and_read_time": 0,
            },
            "detection_mode": "string",
        },
    },
    scope="string")
Copy
const diskAnomaliesV2Resource = new dynatrace.DiskAnomaliesV2("diskAnomaliesV2Resource", {
    disk: {
        diskLowInodesDetection: {
            enabled: false,
            customThresholds: {
                freeInodesPercentage: 0,
            },
            detectionMode: "string",
        },
        diskLowSpaceDetection: {
            enabled: false,
            customThresholds: {
                freeSpacePercentage: 0,
            },
            detectionMode: "string",
        },
        diskSlowWritesAndReadsDetection: {
            enabled: false,
            customThresholds: {
                writeAndReadTime: 0,
            },
            detectionMode: "string",
        },
    },
    scope: "string",
});
Copy
type: dynatrace:DiskAnomaliesV2
properties:
    disk:
        diskLowInodesDetection:
            customThresholds:
                freeInodesPercentage: 0
            detectionMode: string
            enabled: false
        diskLowSpaceDetection:
            customThresholds:
                freeSpacePercentage: 0
            detectionMode: string
            enabled: false
        diskSlowWritesAndReadsDetection:
            customThresholds:
                writeAndReadTime: 0
            detectionMode: string
            enabled: false
    scope: string
Copy

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

Disk This property is required. Pulumiverse.Dynatrace.Inputs.DiskAnomaliesV2Disk
Disk
Scope
This property is required.
Changes to this property will trigger replacement.
string
The scope for the disk anomaly detection
Disk This property is required. DiskAnomaliesV2DiskArgs
Disk
Scope
This property is required.
Changes to this property will trigger replacement.
string
The scope for the disk anomaly detection
disk This property is required. DiskAnomaliesV2Disk
Disk
scope
This property is required.
Changes to this property will trigger replacement.
String
The scope for the disk anomaly detection
disk This property is required. DiskAnomaliesV2Disk
Disk
scope
This property is required.
Changes to this property will trigger replacement.
string
The scope for the disk anomaly detection
disk This property is required. DiskAnomaliesV2DiskArgs
Disk
scope
This property is required.
Changes to this property will trigger replacement.
str
The scope for the disk anomaly detection
disk This property is required. Property Map
Disk
scope
This property is required.
Changes to this property will trigger replacement.
String
The scope for the disk anomaly detection

Outputs

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

Get an existing DiskAnomaliesV2 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?: DiskAnomaliesV2State, opts?: CustomResourceOptions): DiskAnomaliesV2
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        disk: Optional[DiskAnomaliesV2DiskArgs] = None,
        scope: Optional[str] = None) -> DiskAnomaliesV2
func GetDiskAnomaliesV2(ctx *Context, name string, id IDInput, state *DiskAnomaliesV2State, opts ...ResourceOption) (*DiskAnomaliesV2, error)
public static DiskAnomaliesV2 Get(string name, Input<string> id, DiskAnomaliesV2State? state, CustomResourceOptions? opts = null)
public static DiskAnomaliesV2 get(String name, Output<String> id, DiskAnomaliesV2State state, CustomResourceOptions options)
resources:  _:    type: dynatrace:DiskAnomaliesV2    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
Disk Pulumiverse.Dynatrace.Inputs.DiskAnomaliesV2Disk
Disk
Scope Changes to this property will trigger replacement. string
The scope for the disk anomaly detection
Disk DiskAnomaliesV2DiskArgs
Disk
Scope Changes to this property will trigger replacement. string
The scope for the disk anomaly detection
disk DiskAnomaliesV2Disk
Disk
scope Changes to this property will trigger replacement. String
The scope for the disk anomaly detection
disk DiskAnomaliesV2Disk
Disk
scope Changes to this property will trigger replacement. string
The scope for the disk anomaly detection
disk DiskAnomaliesV2DiskArgs
Disk
scope Changes to this property will trigger replacement. str
The scope for the disk anomaly detection
disk Property Map
Disk
scope Changes to this property will trigger replacement. String
The scope for the disk anomaly detection

Supporting Types

DiskAnomaliesV2Disk
, DiskAnomaliesV2DiskArgs

DiskLowInodesDetection This property is required. DiskAnomaliesV2DiskDiskLowInodesDetection
no documentation available
DiskLowSpaceDetection This property is required. DiskAnomaliesV2DiskDiskLowSpaceDetection
no documentation available
DiskSlowWritesAndReadsDetection This property is required. DiskAnomaliesV2DiskDiskSlowWritesAndReadsDetection
no documentation available
diskLowInodesDetection This property is required. DiskAnomaliesV2DiskDiskLowInodesDetection
no documentation available
diskLowSpaceDetection This property is required. DiskAnomaliesV2DiskDiskLowSpaceDetection
no documentation available
diskSlowWritesAndReadsDetection This property is required. DiskAnomaliesV2DiskDiskSlowWritesAndReadsDetection
no documentation available
diskLowInodesDetection This property is required. DiskAnomaliesV2DiskDiskLowInodesDetection
no documentation available
diskLowSpaceDetection This property is required. DiskAnomaliesV2DiskDiskLowSpaceDetection
no documentation available
diskSlowWritesAndReadsDetection This property is required. DiskAnomaliesV2DiskDiskSlowWritesAndReadsDetection
no documentation available
disk_low_inodes_detection This property is required. DiskAnomaliesV2DiskDiskLowInodesDetection
no documentation available
disk_low_space_detection This property is required. DiskAnomaliesV2DiskDiskLowSpaceDetection
no documentation available
disk_slow_writes_and_reads_detection This property is required. DiskAnomaliesV2DiskDiskSlowWritesAndReadsDetection
no documentation available
diskLowInodesDetection This property is required. Property Map
no documentation available
diskLowSpaceDetection This property is required. Property Map
no documentation available
diskSlowWritesAndReadsDetection This property is required. Property Map
no documentation available

DiskAnomaliesV2DiskDiskLowInodesDetection
, DiskAnomaliesV2DiskDiskLowInodesDetectionArgs

Enabled This property is required. bool
Detect low inodes number available
CustomThresholds Pulumiverse.Dynatrace.Inputs.DiskAnomaliesV2DiskDiskLowInodesDetectionCustomThresholds
no documentation available
DetectionMode string
Detection mode for low inodes number available
Enabled This property is required. bool
Detect low inodes number available
CustomThresholds DiskAnomaliesV2DiskDiskLowInodesDetectionCustomThresholds
no documentation available
DetectionMode string
Detection mode for low inodes number available
enabled This property is required. Boolean
Detect low inodes number available
customThresholds DiskAnomaliesV2DiskDiskLowInodesDetectionCustomThresholds
no documentation available
detectionMode String
Detection mode for low inodes number available
enabled This property is required. boolean
Detect low inodes number available
customThresholds DiskAnomaliesV2DiskDiskLowInodesDetectionCustomThresholds
no documentation available
detectionMode string
Detection mode for low inodes number available
enabled This property is required. bool
Detect low inodes number available
custom_thresholds DiskAnomaliesV2DiskDiskLowInodesDetectionCustomThresholds
no documentation available
detection_mode str
Detection mode for low inodes number available
enabled This property is required. Boolean
Detect low inodes number available
customThresholds Property Map
no documentation available
detectionMode String
Detection mode for low inodes number available

DiskAnomaliesV2DiskDiskLowInodesDetectionCustomThresholds
, DiskAnomaliesV2DiskDiskLowInodesDetectionCustomThresholdsArgs

FreeInodesPercentage This property is required. int
Alert if the percentage of available inodes is lower than this threshold in 3 out of 5 samples
FreeInodesPercentage This property is required. int
Alert if the percentage of available inodes is lower than this threshold in 3 out of 5 samples
freeInodesPercentage This property is required. Integer
Alert if the percentage of available inodes is lower than this threshold in 3 out of 5 samples
freeInodesPercentage This property is required. number
Alert if the percentage of available inodes is lower than this threshold in 3 out of 5 samples
free_inodes_percentage This property is required. int
Alert if the percentage of available inodes is lower than this threshold in 3 out of 5 samples
freeInodesPercentage This property is required. Number
Alert if the percentage of available inodes is lower than this threshold in 3 out of 5 samples

DiskAnomaliesV2DiskDiskLowSpaceDetection
, DiskAnomaliesV2DiskDiskLowSpaceDetectionArgs

Enabled This property is required. bool
Detect low disk space
CustomThresholds Pulumiverse.Dynatrace.Inputs.DiskAnomaliesV2DiskDiskLowSpaceDetectionCustomThresholds
no documentation available
DetectionMode string
Detection mode for low disk space
Enabled This property is required. bool
Detect low disk space
CustomThresholds DiskAnomaliesV2DiskDiskLowSpaceDetectionCustomThresholds
no documentation available
DetectionMode string
Detection mode for low disk space
enabled This property is required. Boolean
Detect low disk space
customThresholds DiskAnomaliesV2DiskDiskLowSpaceDetectionCustomThresholds
no documentation available
detectionMode String
Detection mode for low disk space
enabled This property is required. boolean
Detect low disk space
customThresholds DiskAnomaliesV2DiskDiskLowSpaceDetectionCustomThresholds
no documentation available
detectionMode string
Detection mode for low disk space
enabled This property is required. bool
Detect low disk space
custom_thresholds DiskAnomaliesV2DiskDiskLowSpaceDetectionCustomThresholds
no documentation available
detection_mode str
Detection mode for low disk space
enabled This property is required. Boolean
Detect low disk space
customThresholds Property Map
no documentation available
detectionMode String
Detection mode for low disk space

DiskAnomaliesV2DiskDiskLowSpaceDetectionCustomThresholds
, DiskAnomaliesV2DiskDiskLowSpaceDetectionCustomThresholdsArgs

FreeSpacePercentage This property is required. int
Alert if free disk space is lower than this percentage in 3 out of 5 samples
FreeSpacePercentage This property is required. int
Alert if free disk space is lower than this percentage in 3 out of 5 samples
freeSpacePercentage This property is required. Integer
Alert if free disk space is lower than this percentage in 3 out of 5 samples
freeSpacePercentage This property is required. number
Alert if free disk space is lower than this percentage in 3 out of 5 samples
free_space_percentage This property is required. int
Alert if free disk space is lower than this percentage in 3 out of 5 samples
freeSpacePercentage This property is required. Number
Alert if free disk space is lower than this percentage in 3 out of 5 samples

DiskAnomaliesV2DiskDiskSlowWritesAndReadsDetection
, DiskAnomaliesV2DiskDiskSlowWritesAndReadsDetectionArgs

Enabled This property is required. bool
Detect slow-running disks
CustomThresholds Pulumiverse.Dynatrace.Inputs.DiskAnomaliesV2DiskDiskSlowWritesAndReadsDetectionCustomThresholds
no documentation available
DetectionMode string
Detection mode for slow running disks
Enabled This property is required. bool
Detect slow-running disks
CustomThresholds DiskAnomaliesV2DiskDiskSlowWritesAndReadsDetectionCustomThresholds
no documentation available
DetectionMode string
Detection mode for slow running disks
enabled This property is required. Boolean
Detect slow-running disks
customThresholds DiskAnomaliesV2DiskDiskSlowWritesAndReadsDetectionCustomThresholds
no documentation available
detectionMode String
Detection mode for slow running disks
enabled This property is required. boolean
Detect slow-running disks
customThresholds DiskAnomaliesV2DiskDiskSlowWritesAndReadsDetectionCustomThresholds
no documentation available
detectionMode string
Detection mode for slow running disks
enabled This property is required. bool
Detect slow-running disks
custom_thresholds DiskAnomaliesV2DiskDiskSlowWritesAndReadsDetectionCustomThresholds
no documentation available
detection_mode str
Detection mode for slow running disks
enabled This property is required. Boolean
Detect slow-running disks
customThresholds Property Map
no documentation available
detectionMode String
Detection mode for slow running disks

DiskAnomaliesV2DiskDiskSlowWritesAndReadsDetectionCustomThresholds
, DiskAnomaliesV2DiskDiskSlowWritesAndReadsDetectionCustomThresholdsArgs

WriteAndReadTime This property is required. int
Alert if disk read time or write time is higher than this threshold in 3 out of 5 samples
WriteAndReadTime This property is required. int
Alert if disk read time or write time is higher than this threshold in 3 out of 5 samples
writeAndReadTime This property is required. Integer
Alert if disk read time or write time is higher than this threshold in 3 out of 5 samples
writeAndReadTime This property is required. number
Alert if disk read time or write time is higher than this threshold in 3 out of 5 samples
write_and_read_time This property is required. int
Alert if disk read time or write time is higher than this threshold in 3 out of 5 samples
writeAndReadTime This property is required. Number
Alert if disk read time or write time is higher than this threshold in 3 out of 5 samples

Package Details

Repository
dynatrace pulumiverse/pulumi-dynatrace
License
Apache-2.0
Notes
This Pulumi package is based on the dynatrace Terraform Provider.