1. Packages
  2. Dynatrace
  3. API Docs
  4. DiskOptions
Dynatrace v0.16.0 published on Tuesday, Sep 10, 2024 by Pulumiverse

dynatrace.DiskOptions

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.16.0 published on Tuesday, Sep 10, 2024 by Pulumiverse

    Create DiskOptions Resource

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

    Constructor syntax

    new DiskOptions(name: string, args?: DiskOptionsArgs, opts?: CustomResourceOptions);
    @overload
    def DiskOptions(resource_name: str,
                    args: Optional[DiskOptionsArgs] = None,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def DiskOptions(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    disable_nfs_disk_monitoring: Optional[bool] = None,
                    exclusions: Optional[DiskOptionsExclusionsArgs] = None,
                    nfs_show_all: Optional[bool] = None,
                    scope: Optional[str] = None)
    func NewDiskOptions(ctx *Context, name string, args *DiskOptionsArgs, opts ...ResourceOption) (*DiskOptions, error)
    public DiskOptions(string name, DiskOptionsArgs? args = null, CustomResourceOptions? opts = null)
    public DiskOptions(String name, DiskOptionsArgs args)
    public DiskOptions(String name, DiskOptionsArgs args, CustomResourceOptions options)
    
    type: dynatrace:DiskOptions
    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 DiskOptionsArgs
    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 DiskOptionsArgs
    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 DiskOptionsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DiskOptionsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DiskOptionsArgs
    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 diskOptionsResource = new Dynatrace.DiskOptions("diskOptionsResource", new()
    {
        DisableNfsDiskMonitoring = false,
        Exclusions = new Dynatrace.Inputs.DiskOptionsExclusionsArgs
        {
            Exclusions = new[]
            {
                new Dynatrace.Inputs.DiskOptionsExclusionsExclusionArgs
                {
                    Os = "string",
                    Filesystem = "string",
                    Mountpoint = "string",
                },
            },
        },
        NfsShowAll = false,
        Scope = "string",
    });
    
    example, err := dynatrace.NewDiskOptions(ctx, "diskOptionsResource", &dynatrace.DiskOptionsArgs{
    	DisableNfsDiskMonitoring: pulumi.Bool(false),
    	Exclusions: &dynatrace.DiskOptionsExclusionsArgs{
    		Exclusions: dynatrace.DiskOptionsExclusionsExclusionArray{
    			&dynatrace.DiskOptionsExclusionsExclusionArgs{
    				Os:         pulumi.String("string"),
    				Filesystem: pulumi.String("string"),
    				Mountpoint: pulumi.String("string"),
    			},
    		},
    	},
    	NfsShowAll: pulumi.Bool(false),
    	Scope:      pulumi.String("string"),
    })
    
    var diskOptionsResource = new DiskOptions("diskOptionsResource", DiskOptionsArgs.builder()
        .disableNfsDiskMonitoring(false)
        .exclusions(DiskOptionsExclusionsArgs.builder()
            .exclusions(DiskOptionsExclusionsExclusionArgs.builder()
                .os("string")
                .filesystem("string")
                .mountpoint("string")
                .build())
            .build())
        .nfsShowAll(false)
        .scope("string")
        .build());
    
    disk_options_resource = dynatrace.DiskOptions("diskOptionsResource",
        disable_nfs_disk_monitoring=False,
        exclusions=dynatrace.DiskOptionsExclusionsArgs(
            exclusions=[dynatrace.DiskOptionsExclusionsExclusionArgs(
                os="string",
                filesystem="string",
                mountpoint="string",
            )],
        ),
        nfs_show_all=False,
        scope="string")
    
    const diskOptionsResource = new dynatrace.DiskOptions("diskOptionsResource", {
        disableNfsDiskMonitoring: false,
        exclusions: {
            exclusions: [{
                os: "string",
                filesystem: "string",
                mountpoint: "string",
            }],
        },
        nfsShowAll: false,
        scope: "string",
    });
    
    type: dynatrace:DiskOptions
    properties:
        disableNfsDiskMonitoring: false
        exclusions:
            exclusions:
                - filesystem: string
                  mountpoint: string
                  os: string
        nfsShowAll: false
        scope: string
    

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

    DisableNfsDiskMonitoring bool
    Deactivate NFS monitoring on all supported systems
    Exclusions Pulumiverse.Dynatrace.Inputs.DiskOptionsExclusions
    OneAgent automatically detects and monitors all your mount points, however you can create exception rules to remove disks from the monitoring list.
    NfsShowAll bool
    When disabled OneAgent will try to deduplicate some of nfs disks. Disabled by default, applies only to Linux hosts. Requires OneAgent 1.209 or later
    Scope string
    The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
    DisableNfsDiskMonitoring bool
    Deactivate NFS monitoring on all supported systems
    Exclusions DiskOptionsExclusionsArgs
    OneAgent automatically detects and monitors all your mount points, however you can create exception rules to remove disks from the monitoring list.
    NfsShowAll bool
    When disabled OneAgent will try to deduplicate some of nfs disks. Disabled by default, applies only to Linux hosts. Requires OneAgent 1.209 or later
    Scope string
    The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
    disableNfsDiskMonitoring Boolean
    Deactivate NFS monitoring on all supported systems
    exclusions DiskOptionsExclusions
    OneAgent automatically detects and monitors all your mount points, however you can create exception rules to remove disks from the monitoring list.
    nfsShowAll Boolean
    When disabled OneAgent will try to deduplicate some of nfs disks. Disabled by default, applies only to Linux hosts. Requires OneAgent 1.209 or later
    scope String
    The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
    disableNfsDiskMonitoring boolean
    Deactivate NFS monitoring on all supported systems
    exclusions DiskOptionsExclusions
    OneAgent automatically detects and monitors all your mount points, however you can create exception rules to remove disks from the monitoring list.
    nfsShowAll boolean
    When disabled OneAgent will try to deduplicate some of nfs disks. Disabled by default, applies only to Linux hosts. Requires OneAgent 1.209 or later
    scope string
    The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
    disable_nfs_disk_monitoring bool
    Deactivate NFS monitoring on all supported systems
    exclusions DiskOptionsExclusionsArgs
    OneAgent automatically detects and monitors all your mount points, however you can create exception rules to remove disks from the monitoring list.
    nfs_show_all bool
    When disabled OneAgent will try to deduplicate some of nfs disks. Disabled by default, applies only to Linux hosts. Requires OneAgent 1.209 or later
    scope str
    The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
    disableNfsDiskMonitoring Boolean
    Deactivate NFS monitoring on all supported systems
    exclusions Property Map
    OneAgent automatically detects and monitors all your mount points, however you can create exception rules to remove disks from the monitoring list.
    nfsShowAll Boolean
    When disabled OneAgent will try to deduplicate some of nfs disks. Disabled by default, applies only to Linux hosts. Requires OneAgent 1.209 or later
    scope String
    The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.

    Outputs

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

    Get an existing DiskOptions 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?: DiskOptionsState, opts?: CustomResourceOptions): DiskOptions
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            disable_nfs_disk_monitoring: Optional[bool] = None,
            exclusions: Optional[DiskOptionsExclusionsArgs] = None,
            nfs_show_all: Optional[bool] = None,
            scope: Optional[str] = None) -> DiskOptions
    func GetDiskOptions(ctx *Context, name string, id IDInput, state *DiskOptionsState, opts ...ResourceOption) (*DiskOptions, error)
    public static DiskOptions Get(string name, Input<string> id, DiskOptionsState? state, CustomResourceOptions? opts = null)
    public static DiskOptions get(String name, Output<String> id, DiskOptionsState 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:
    DisableNfsDiskMonitoring bool
    Deactivate NFS monitoring on all supported systems
    Exclusions Pulumiverse.Dynatrace.Inputs.DiskOptionsExclusions
    OneAgent automatically detects and monitors all your mount points, however you can create exception rules to remove disks from the monitoring list.
    NfsShowAll bool
    When disabled OneAgent will try to deduplicate some of nfs disks. Disabled by default, applies only to Linux hosts. Requires OneAgent 1.209 or later
    Scope string
    The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
    DisableNfsDiskMonitoring bool
    Deactivate NFS monitoring on all supported systems
    Exclusions DiskOptionsExclusionsArgs
    OneAgent automatically detects and monitors all your mount points, however you can create exception rules to remove disks from the monitoring list.
    NfsShowAll bool
    When disabled OneAgent will try to deduplicate some of nfs disks. Disabled by default, applies only to Linux hosts. Requires OneAgent 1.209 or later
    Scope string
    The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
    disableNfsDiskMonitoring Boolean
    Deactivate NFS monitoring on all supported systems
    exclusions DiskOptionsExclusions
    OneAgent automatically detects and monitors all your mount points, however you can create exception rules to remove disks from the monitoring list.
    nfsShowAll Boolean
    When disabled OneAgent will try to deduplicate some of nfs disks. Disabled by default, applies only to Linux hosts. Requires OneAgent 1.209 or later
    scope String
    The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
    disableNfsDiskMonitoring boolean
    Deactivate NFS monitoring on all supported systems
    exclusions DiskOptionsExclusions
    OneAgent automatically detects and monitors all your mount points, however you can create exception rules to remove disks from the monitoring list.
    nfsShowAll boolean
    When disabled OneAgent will try to deduplicate some of nfs disks. Disabled by default, applies only to Linux hosts. Requires OneAgent 1.209 or later
    scope string
    The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
    disable_nfs_disk_monitoring bool
    Deactivate NFS monitoring on all supported systems
    exclusions DiskOptionsExclusionsArgs
    OneAgent automatically detects and monitors all your mount points, however you can create exception rules to remove disks from the monitoring list.
    nfs_show_all bool
    When disabled OneAgent will try to deduplicate some of nfs disks. Disabled by default, applies only to Linux hosts. Requires OneAgent 1.209 or later
    scope str
    The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
    disableNfsDiskMonitoring Boolean
    Deactivate NFS monitoring on all supported systems
    exclusions Property Map
    OneAgent automatically detects and monitors all your mount points, however you can create exception rules to remove disks from the monitoring list.
    nfsShowAll Boolean
    When disabled OneAgent will try to deduplicate some of nfs disks. Disabled by default, applies only to Linux hosts. Requires OneAgent 1.209 or later
    scope String
    The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.

    Supporting Types

    DiskOptionsExclusions, DiskOptionsExclusionsArgs

    DiskOptionsExclusionsExclusion, DiskOptionsExclusionsExclusionArgs

    Os string
    Possible Values: OS_TYPE_AIX, OS_TYPE_DARWIN, OS_TYPE_HPUX, OS_TYPE_LINUX, OS_TYPE_SOLARIS, OS_TYPE_UNKNOWN, OS_TYPE_WINDOWS, OS_TYPE_ZOS
    Filesystem string

    File system type field: the type of the file system to be excluded from monitoring. Examples:

    • ext4
    • ext3
    • btrfs
    • ext*

    ⚠️ Starting from OneAgent 1.299+ file system types are not case sensitive!

    The wildcard in the last example means to exclude matching file systems such as types ext4 and ext3

    Mountpoint string

    Disk or mount point path field: the path to where the disk to be excluded from monitoring is mounted. Examples:

    • /mnt/my_disk
    • /staff/emp1
    • C:\
    • /staff/*
    • /disk*

    ⚠️ Mount point paths are case sensitive!

    The wildcard in /staff/* means to exclude every child folder of /staff.

    The wildcard in /disk* means to exclude every mount point starting with /disk, for example /disk1, /disk99, /diskabc

    Os string
    Possible Values: OS_TYPE_AIX, OS_TYPE_DARWIN, OS_TYPE_HPUX, OS_TYPE_LINUX, OS_TYPE_SOLARIS, OS_TYPE_UNKNOWN, OS_TYPE_WINDOWS, OS_TYPE_ZOS
    Filesystem string

    File system type field: the type of the file system to be excluded from monitoring. Examples:

    • ext4
    • ext3
    • btrfs
    • ext*

    ⚠️ Starting from OneAgent 1.299+ file system types are not case sensitive!

    The wildcard in the last example means to exclude matching file systems such as types ext4 and ext3

    Mountpoint string

    Disk or mount point path field: the path to where the disk to be excluded from monitoring is mounted. Examples:

    • /mnt/my_disk
    • /staff/emp1
    • C:\
    • /staff/*
    • /disk*

    ⚠️ Mount point paths are case sensitive!

    The wildcard in /staff/* means to exclude every child folder of /staff.

    The wildcard in /disk* means to exclude every mount point starting with /disk, for example /disk1, /disk99, /diskabc

    os String
    Possible Values: OS_TYPE_AIX, OS_TYPE_DARWIN, OS_TYPE_HPUX, OS_TYPE_LINUX, OS_TYPE_SOLARIS, OS_TYPE_UNKNOWN, OS_TYPE_WINDOWS, OS_TYPE_ZOS
    filesystem String

    File system type field: the type of the file system to be excluded from monitoring. Examples:

    • ext4
    • ext3
    • btrfs
    • ext*

    ⚠️ Starting from OneAgent 1.299+ file system types are not case sensitive!

    The wildcard in the last example means to exclude matching file systems such as types ext4 and ext3

    mountpoint String

    Disk or mount point path field: the path to where the disk to be excluded from monitoring is mounted. Examples:

    • /mnt/my_disk
    • /staff/emp1
    • C:\
    • /staff/*
    • /disk*

    ⚠️ Mount point paths are case sensitive!

    The wildcard in /staff/* means to exclude every child folder of /staff.

    The wildcard in /disk* means to exclude every mount point starting with /disk, for example /disk1, /disk99, /diskabc

    os string
    Possible Values: OS_TYPE_AIX, OS_TYPE_DARWIN, OS_TYPE_HPUX, OS_TYPE_LINUX, OS_TYPE_SOLARIS, OS_TYPE_UNKNOWN, OS_TYPE_WINDOWS, OS_TYPE_ZOS
    filesystem string

    File system type field: the type of the file system to be excluded from monitoring. Examples:

    • ext4
    • ext3
    • btrfs
    • ext*

    ⚠️ Starting from OneAgent 1.299+ file system types are not case sensitive!

    The wildcard in the last example means to exclude matching file systems such as types ext4 and ext3

    mountpoint string

    Disk or mount point path field: the path to where the disk to be excluded from monitoring is mounted. Examples:

    • /mnt/my_disk
    • /staff/emp1
    • C:\
    • /staff/*
    • /disk*

    ⚠️ Mount point paths are case sensitive!

    The wildcard in /staff/* means to exclude every child folder of /staff.

    The wildcard in /disk* means to exclude every mount point starting with /disk, for example /disk1, /disk99, /diskabc

    os str
    Possible Values: OS_TYPE_AIX, OS_TYPE_DARWIN, OS_TYPE_HPUX, OS_TYPE_LINUX, OS_TYPE_SOLARIS, OS_TYPE_UNKNOWN, OS_TYPE_WINDOWS, OS_TYPE_ZOS
    filesystem str

    File system type field: the type of the file system to be excluded from monitoring. Examples:

    • ext4
    • ext3
    • btrfs
    • ext*

    ⚠️ Starting from OneAgent 1.299+ file system types are not case sensitive!

    The wildcard in the last example means to exclude matching file systems such as types ext4 and ext3

    mountpoint str

    Disk or mount point path field: the path to where the disk to be excluded from monitoring is mounted. Examples:

    • /mnt/my_disk
    • /staff/emp1
    • C:\
    • /staff/*
    • /disk*

    ⚠️ Mount point paths are case sensitive!

    The wildcard in /staff/* means to exclude every child folder of /staff.

    The wildcard in /disk* means to exclude every mount point starting with /disk, for example /disk1, /disk99, /diskabc

    os String
    Possible Values: OS_TYPE_AIX, OS_TYPE_DARWIN, OS_TYPE_HPUX, OS_TYPE_LINUX, OS_TYPE_SOLARIS, OS_TYPE_UNKNOWN, OS_TYPE_WINDOWS, OS_TYPE_ZOS
    filesystem String

    File system type field: the type of the file system to be excluded from monitoring. Examples:

    • ext4
    • ext3
    • btrfs
    • ext*

    ⚠️ Starting from OneAgent 1.299+ file system types are not case sensitive!

    The wildcard in the last example means to exclude matching file systems such as types ext4 and ext3

    mountpoint String

    Disk or mount point path field: the path to where the disk to be excluded from monitoring is mounted. Examples:

    • /mnt/my_disk
    • /staff/emp1
    • C:\
    • /staff/*
    • /disk*

    ⚠️ Mount point paths are case sensitive!

    The wildcard in /staff/* means to exclude every child folder of /staff.

    The wildcard in /disk* means to exclude every mount point starting with /disk, for example /disk1, /disk99, /diskabc

    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.16.0 published on Tuesday, Sep 10, 2024 by Pulumiverse