1. Packages
  2. Dynatrace
  3. API Docs
  4. DiskAnomaliesV2
Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse

dynatrace.DiskAnomaliesV2

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse

    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 string
    The unique name of the resource.
    args DiskAnomaliesV2Args
    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 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 string
    The unique name of the resource.
    args DiskAnomaliesV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DiskAnomaliesV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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",
    });
    
    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"),
    })
    
    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());
    
    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")
    
    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",
    });
    
    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
    

    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 Pulumiverse.Dynatrace.Inputs.DiskAnomaliesV2Disk
    Disk
    Scope string
    The scope for the disk anomaly detection
    Disk DiskAnomaliesV2DiskArgs
    Disk
    Scope string
    The scope for the disk anomaly detection
    disk DiskAnomaliesV2Disk
    Disk
    scope String
    The scope for the disk anomaly detection
    disk DiskAnomaliesV2Disk
    Disk
    scope string
    The scope for the disk anomaly detection
    disk DiskAnomaliesV2DiskArgs
    Disk
    scope str
    The scope for the disk anomaly detection
    disk Property Map
    Disk
    scope 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)
    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:
    Disk Pulumiverse.Dynatrace.Inputs.DiskAnomaliesV2Disk
    Disk
    Scope string
    The scope for the disk anomaly detection
    Disk DiskAnomaliesV2DiskArgs
    Disk
    Scope string
    The scope for the disk anomaly detection
    disk DiskAnomaliesV2Disk
    Disk
    scope String
    The scope for the disk anomaly detection
    disk DiskAnomaliesV2Disk
    Disk
    scope string
    The scope for the disk anomaly detection
    disk DiskAnomaliesV2DiskArgs
    Disk
    scope str
    The scope for the disk anomaly detection
    disk Property Map
    Disk
    scope String
    The scope for the disk anomaly detection

    Supporting Types

    DiskAnomaliesV2Disk, DiskAnomaliesV2DiskArgs

    diskLowInodesDetection Property Map
    no documentation available
    diskLowSpaceDetection Property Map
    no documentation available
    diskSlowWritesAndReadsDetection Property Map
    no documentation available

    DiskAnomaliesV2DiskDiskLowInodesDetection, DiskAnomaliesV2DiskDiskLowInodesDetectionArgs

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

    DiskAnomaliesV2DiskDiskLowInodesDetectionCustomThresholds, DiskAnomaliesV2DiskDiskLowInodesDetectionCustomThresholdsArgs

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

    DiskAnomaliesV2DiskDiskLowSpaceDetection, DiskAnomaliesV2DiskDiskLowSpaceDetectionArgs

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

    DiskAnomaliesV2DiskDiskLowSpaceDetectionCustomThresholds, DiskAnomaliesV2DiskDiskLowSpaceDetectionCustomThresholdsArgs

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

    DiskAnomaliesV2DiskDiskSlowWritesAndReadsDetection, DiskAnomaliesV2DiskDiskSlowWritesAndReadsDetectionArgs

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

    DiskAnomaliesV2DiskDiskSlowWritesAndReadsDetectionCustomThresholds, DiskAnomaliesV2DiskDiskSlowWritesAndReadsDetectionCustomThresholdsArgs

    WriteAndReadTime int
    Alert if disk read time or write time is higher than this threshold in 3 out of 5 samples
    WriteAndReadTime int
    Alert if disk read time or write time is higher than this threshold in 3 out of 5 samples
    writeAndReadTime Integer
    Alert if disk read time or write time is higher than this threshold in 3 out of 5 samples
    writeAndReadTime number
    Alert if disk read time or write time is higher than this threshold in 3 out of 5 samples
    write_and_read_time int
    Alert if disk read time or write time is higher than this threshold in 3 out of 5 samples
    writeAndReadTime 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.
    dynatrace logo
    Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse