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 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. Disk Anomalies V2Disk - Disk
- Scope string
- The scope for the disk anomaly detection
- Disk
Disk
Anomalies V2Disk Args - Disk
- Scope string
- The scope for the disk anomaly detection
- disk
Disk
Anomalies V2Disk - Disk
- scope String
- The scope for the disk anomaly detection
- disk
Disk
Anomalies V2Disk - Disk
- scope string
- The scope for the disk anomaly detection
- disk
Disk
Anomalies V2Disk Args - 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.
- Disk
Pulumiverse.
Dynatrace. Inputs. Disk Anomalies V2Disk - Disk
- Scope string
- The scope for the disk anomaly detection
- Disk
Disk
Anomalies V2Disk Args - Disk
- Scope string
- The scope for the disk anomaly detection
- disk
Disk
Anomalies V2Disk - Disk
- scope String
- The scope for the disk anomaly detection
- disk
Disk
Anomalies V2Disk - Disk
- scope string
- The scope for the disk anomaly detection
- disk
Disk
Anomalies V2Disk Args - 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
- Disk
Low Pulumiverse.Inodes Detection Dynatrace. Inputs. Disk Anomalies V2Disk Disk Low Inodes Detection - no documentation available
- Disk
Low Pulumiverse.Space Detection Dynatrace. Inputs. Disk Anomalies V2Disk Disk Low Space Detection - no documentation available
- Disk
Slow Pulumiverse.Writes And Reads Detection Dynatrace. Inputs. Disk Anomalies V2Disk Disk Slow Writes And Reads Detection - no documentation available
- Disk
Low DiskInodes Detection Anomalies V2Disk Disk Low Inodes Detection - no documentation available
- Disk
Low DiskSpace Detection Anomalies V2Disk Disk Low Space Detection - no documentation available
- Disk
Slow DiskWrites And Reads Detection Anomalies V2Disk Disk Slow Writes And Reads Detection - no documentation available
- disk
Low DiskInodes Detection Anomalies V2Disk Disk Low Inodes Detection - no documentation available
- disk
Low DiskSpace Detection Anomalies V2Disk Disk Low Space Detection - no documentation available
- disk
Slow DiskWrites And Reads Detection Anomalies V2Disk Disk Slow Writes And Reads Detection - no documentation available
- disk
Low DiskInodes Detection Anomalies V2Disk Disk Low Inodes Detection - no documentation available
- disk
Low DiskSpace Detection Anomalies V2Disk Disk Low Space Detection - no documentation available
- disk
Slow DiskWrites And Reads Detection Anomalies V2Disk Disk Slow Writes And Reads Detection - no documentation available
- disk_
low_ Diskinodes_ detection Anomalies V2Disk Disk Low Inodes Detection - no documentation available
- disk_
low_ Diskspace_ detection Anomalies V2Disk Disk Low Space Detection - no documentation available
- disk_
slow_ Diskwrites_ and_ reads_ detection Anomalies V2Disk Disk Slow Writes And Reads Detection - no documentation available
- disk
Low Property MapInodes Detection - no documentation available
- disk
Low Property MapSpace Detection - no documentation available
- disk
Slow Property MapWrites And Reads Detection - no documentation available
DiskAnomaliesV2DiskDiskLowInodesDetection, DiskAnomaliesV2DiskDiskLowInodesDetectionArgs
- Enabled 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 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 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 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 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 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 intPercentage - Alert if the percentage of available inodes is lower than this threshold in 3 out of 5 samples
- Free
Inodes intPercentage - Alert if the percentage of available inodes is lower than this threshold in 3 out of 5 samples
- free
Inodes IntegerPercentage - Alert if the percentage of available inodes is lower than this threshold in 3 out of 5 samples
- free
Inodes numberPercentage - Alert if the percentage of available inodes is lower than this threshold in 3 out of 5 samples
- free_
inodes_ intpercentage - Alert if the percentage of available inodes is lower than this threshold in 3 out of 5 samples
- free
Inodes NumberPercentage - 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
- 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 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 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 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 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 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 intPercentage - Alert if free disk space is lower than this percentage in 3 out of 5 samples
- Free
Space intPercentage - Alert if free disk space is lower than this percentage in 3 out of 5 samples
- free
Space IntegerPercentage - Alert if free disk space is lower than this percentage in 3 out of 5 samples
- free
Space numberPercentage - Alert if free disk space is lower than this percentage in 3 out of 5 samples
- free_
space_ intpercentage - Alert if free disk space is lower than this percentage in 3 out of 5 samples
- free
Space NumberPercentage - Alert if free disk space is lower than this percentage in 3 out of 5 samples
DiskAnomaliesV2DiskDiskSlowWritesAndReadsDetection, DiskAnomaliesV2DiskDiskSlowWritesAndReadsDetectionArgs
- Enabled 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 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 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 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 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 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 intRead Time - Alert if disk read time or write time is higher than this threshold in 3 out of 5 samples
- Write
And intRead Time - Alert if disk read time or write time is higher than this threshold in 3 out of 5 samples
- write
And IntegerRead Time - Alert if disk read time or write time is higher than this threshold in 3 out of 5 samples
- write
And numberRead Time - Alert if disk read time or write time is higher than this threshold in 3 out of 5 samples
- write_
and_ intread_ time - Alert if disk read time or write time is higher than this threshold in 3 out of 5 samples
- write
And NumberRead Time - 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.