1. Packages
  2. Dynatrace
  3. API Docs
  4. DiskAnomaliesV2
Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs

dynatrace.DiskAnomaliesV2

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs

    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.

    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=dynatrace.DiskAnomaliesV2DiskArgs(
            disk_low_inodes_detection=dynatrace.DiskAnomaliesV2DiskDiskLowInodesDetectionArgs(
                enabled=False,
                custom_thresholds=dynatrace.DiskAnomaliesV2DiskDiskLowInodesDetectionCustomThresholdsArgs(
                    free_inodes_percentage=0,
                ),
                detection_mode="string",
            ),
            disk_low_space_detection=dynatrace.DiskAnomaliesV2DiskDiskLowSpaceDetectionArgs(
                enabled=False,
                custom_thresholds=dynatrace.DiskAnomaliesV2DiskDiskLowSpaceDetectionCustomThresholdsArgs(
                    free_space_percentage=0,
                ),
                detection_mode="string",
            ),
            disk_slow_writes_and_reads_detection=dynatrace.DiskAnomaliesV2DiskDiskSlowWritesAndReadsDetectionArgs(
                enabled=False,
                custom_thresholds=dynatrace.DiskAnomaliesV2DiskDiskSlowWritesAndReadsDetectionCustomThresholdsArgs(
                    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

    The DiskAnomaliesV2 resource accepts the following input properties:

    Disk Lbrlabs.PulumiPackage.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 Lbrlabs.PulumiPackage.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

    DiskAnomaliesV2DiskDiskLowInodesDetectionCustomThresholds, DiskAnomaliesV2DiskDiskLowInodesDetectionCustomThresholdsArgs

    DiskAnomaliesV2DiskDiskLowSpaceDetection, DiskAnomaliesV2DiskDiskLowSpaceDetectionArgs

    DiskAnomaliesV2DiskDiskLowSpaceDetectionCustomThresholds, DiskAnomaliesV2DiskDiskLowSpaceDetectionCustomThresholdsArgs

    DiskAnomaliesV2DiskDiskSlowWritesAndReadsDetection, DiskAnomaliesV2DiskDiskSlowWritesAndReadsDetectionArgs

    DiskAnomaliesV2DiskDiskSlowWritesAndReadsDetectionCustomThresholds, DiskAnomaliesV2DiskDiskSlowWritesAndReadsDetectionCustomThresholdsArgs

    Package Details

    Repository
    dynatrace lbrlabs/pulumi-dynatrace
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dynatrace Terraform Provider.
    dynatrace logo
    Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs