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",
});
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
This property is required. Pulumiverse.Dynatrace. Inputs. Disk Anomalies V2Disk - Disk
- Scope
This property is required. Changes to this property will trigger replacement.
- The scope for the disk anomaly detection
- Disk
This property is required. DiskAnomalies V2Disk Args - Disk
- Scope
This property is required. Changes to this property will trigger replacement.
- The scope for the disk anomaly detection
- disk
This property is required. DiskAnomalies V2Disk - Disk
- scope
This property is required. Changes to this property will trigger replacement.
- The scope for the disk anomaly detection
- disk
This property is required. DiskAnomalies V2Disk - Disk
- scope
This property is required. Changes to this property will trigger replacement.
- The scope for the disk anomaly detection
- disk
This property is required. DiskAnomalies V2Disk Args - Disk
- scope
This property is required. Changes to this property will trigger replacement.
- 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.
- 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.
- Disk
Pulumiverse.
Dynatrace. Inputs. Disk Anomalies V2Disk - Disk
- Scope
Changes to this property will trigger replacement.
- The scope for the disk anomaly detection
- Disk
Disk
Anomalies V2Disk Args - Disk
- Scope
Changes to this property will trigger replacement.
- The scope for the disk anomaly detection
- disk
Disk
Anomalies V2Disk - Disk
- scope
Changes to this property will trigger replacement.
- The scope for the disk anomaly detection
- disk
Disk
Anomalies V2Disk - Disk
- scope
Changes to this property will trigger replacement.
- The scope for the disk anomaly detection
- disk
Disk
Anomalies V2Disk Args - Disk
- scope
Changes to this property will trigger replacement.
- The scope for the disk anomaly detection
- disk Property Map
- Disk
- scope
Changes to this property will trigger replacement.
- The scope for the disk anomaly detection
Supporting Types
DiskAnomaliesV2Disk, DiskAnomaliesV2DiskArgs
- Disk
Low Inodes Detection This property is required. Pulumiverse.Dynatrace. Inputs. Disk Anomalies V2Disk Disk Low Inodes Detection - no documentation available
- Disk
Low Space Detection This property is required. Pulumiverse.Dynatrace. Inputs. Disk Anomalies V2Disk Disk Low Space Detection - no documentation available
- Disk
Slow Writes And Reads Detection This property is required. Pulumiverse.Dynatrace. Inputs. Disk Anomalies V2Disk Disk Slow Writes And Reads Detection - no documentation available
- Disk
Low Inodes Detection This property is required. DiskAnomalies V2Disk Disk Low Inodes Detection - no documentation available
- Disk
Low Space Detection This property is required. DiskAnomalies V2Disk Disk Low Space Detection - no documentation available
- Disk
Slow Writes And Reads Detection This property is required. DiskAnomalies V2Disk Disk Slow Writes And Reads Detection - no documentation available
- disk
Low Inodes Detection This property is required. DiskAnomalies V2Disk Disk Low Inodes Detection - no documentation available
- disk
Low Space Detection This property is required. DiskAnomalies V2Disk Disk Low Space Detection - no documentation available
- disk
Slow Writes And Reads Detection This property is required. DiskAnomalies V2Disk Disk Slow Writes And Reads Detection - no documentation available
- disk
Low Inodes Detection This property is required. DiskAnomalies V2Disk Disk Low Inodes Detection - no documentation available
- disk
Low Space Detection This property is required. DiskAnomalies V2Disk Disk Low Space Detection - no documentation available
- disk
Slow Writes And Reads Detection This property is required. DiskAnomalies V2Disk Disk Slow Writes And Reads Detection - no documentation available
- disk_
low_ inodes_ detection This property is required. DiskAnomalies V2Disk Disk Low Inodes Detection - no documentation available
- disk_
low_ space_ detection This property is required. DiskAnomalies V2Disk Disk Low Space Detection - no documentation available
- disk_
slow_ writes_ and_ reads_ detection This property is required. DiskAnomalies V2Disk Disk Slow Writes And Reads Detection - no documentation available
- disk
Low Inodes Detection This property is required. Property Map - no documentation available
- disk
Low Space Detection This property is required. Property Map - no documentation available
- disk
Slow Writes And Reads Detection This property is required. Property Map - no documentation available
DiskAnomaliesV2DiskDiskLowInodesDetection, DiskAnomaliesV2DiskDiskLowInodesDetectionArgs
- Enabled
This property is required. bool - Detect low inodes number available
- Custom
Thresholds Pulumiverse.Dynatrace. Inputs. Disk Anomalies V2Disk Disk Low Inodes Detection Custom Thresholds - no documentation available
- Detection
Mode string - Detection mode for low inodes number available
- Enabled
This property is required. bool - Detect low inodes number available
- Custom
Thresholds DiskAnomalies V2Disk Disk Low Inodes Detection Custom Thresholds - no documentation available
- Detection
Mode string - Detection mode for low inodes number available
- enabled
This property is required. Boolean - Detect low inodes number available
- custom
Thresholds DiskAnomalies V2Disk Disk Low Inodes Detection Custom Thresholds - no documentation available
- detection
Mode String - Detection mode for low inodes number available
- enabled
This property is required. boolean - Detect low inodes number available
- custom
Thresholds DiskAnomalies V2Disk Disk Low Inodes Detection Custom Thresholds - no documentation available
- detection
Mode string - Detection mode for low inodes number available
- enabled
This property is required. bool - Detect low inodes number available
- custom_
thresholds DiskAnomalies V2Disk Disk Low Inodes Detection Custom Thresholds - no documentation available
- detection_
mode str - Detection mode for low inodes number available
- enabled
This property is required. Boolean - Detect low inodes number available
- custom
Thresholds Property Map - no documentation available
- detection
Mode String - Detection mode for low inodes number available
DiskAnomaliesV2DiskDiskLowInodesDetectionCustomThresholds, DiskAnomaliesV2DiskDiskLowInodesDetectionCustomThresholdsArgs
- 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
- 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
- free
Inodes Percentage This property is required. Integer - 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. 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
- free
Inodes Percentage 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
- Custom
Thresholds Pulumiverse.Dynatrace. Inputs. Disk Anomalies V2Disk Disk Low Space Detection Custom Thresholds - no documentation available
- Detection
Mode string - Detection mode for low disk space
- Enabled
This property is required. bool - Detect low disk space
- Custom
Thresholds DiskAnomalies V2Disk Disk Low Space Detection Custom Thresholds - no documentation available
- Detection
Mode string - Detection mode for low disk space
- enabled
This property is required. Boolean - Detect low disk space
- custom
Thresholds DiskAnomalies V2Disk Disk Low Space Detection Custom Thresholds - no documentation available
- detection
Mode String - Detection mode for low disk space
- enabled
This property is required. boolean - Detect low disk space
- custom
Thresholds DiskAnomalies V2Disk Disk Low Space Detection Custom Thresholds - no documentation available
- detection
Mode string - Detection mode for low disk space
- enabled
This property is required. bool - Detect low disk space
- custom_
thresholds DiskAnomalies V2Disk Disk Low Space Detection Custom Thresholds - no documentation available
- detection_
mode str - Detection mode for low disk space
- enabled
This property is required. Boolean - Detect low disk space
- custom
Thresholds Property Map - no documentation available
- detection
Mode String - Detection mode for low disk space
DiskAnomaliesV2DiskDiskLowSpaceDetectionCustomThresholds, DiskAnomaliesV2DiskDiskLowSpaceDetectionCustomThresholdsArgs
- Free
Space Percentage This property is required. int - 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
- free
Space Percentage This property is required. Integer - Alert if free disk space is lower than this percentage in 3 out of 5 samples
- free
Space Percentage 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
- free
Space Percentage 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
- Custom
Thresholds Pulumiverse.Dynatrace. Inputs. Disk Anomalies V2Disk Disk Slow Writes And Reads Detection Custom Thresholds - no documentation available
- Detection
Mode string - Detection mode for slow running disks
- Enabled
This property is required. bool - Detect slow-running disks
- Custom
Thresholds DiskAnomalies V2Disk Disk Slow Writes And Reads Detection Custom Thresholds - no documentation available
- Detection
Mode string - Detection mode for slow running disks
- enabled
This property is required. Boolean - Detect slow-running disks
- custom
Thresholds DiskAnomalies V2Disk Disk Slow Writes And Reads Detection Custom Thresholds - no documentation available
- detection
Mode String - Detection mode for slow running disks
- enabled
This property is required. boolean - Detect slow-running disks
- custom
Thresholds DiskAnomalies V2Disk Disk Slow Writes And Reads Detection Custom Thresholds - no documentation available
- detection
Mode string - Detection mode for slow running disks
- enabled
This property is required. bool - Detect slow-running disks
- custom_
thresholds DiskAnomalies V2Disk Disk Slow Writes And Reads Detection Custom Thresholds - no documentation available
- detection_
mode str - Detection mode for slow running disks
- enabled
This property is required. Boolean - Detect slow-running disks
- custom
Thresholds Property Map - no documentation available
- detection
Mode String - Detection mode for slow running disks
DiskAnomaliesV2DiskDiskSlowWritesAndReadsDetectionCustomThresholds, DiskAnomaliesV2DiskDiskSlowWritesAndReadsDetectionCustomThresholdsArgs
- 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
- 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
- write
And Read Time This property is required. Integer - 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. 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
- write
And Read Time 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.