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

dynatrace.K8sPvcAnomalies

Explore with Pulumi AI

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

    Create K8sPvcAnomalies Resource

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

    Constructor syntax

    new K8sPvcAnomalies(name: string, args: K8sPvcAnomaliesArgs, opts?: CustomResourceOptions);
    @overload
    def K8sPvcAnomalies(resource_name: str,
                        args: K8sPvcAnomaliesArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def K8sPvcAnomalies(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        low_disk_space_critical: Optional[K8sPvcAnomaliesLowDiskSpaceCriticalArgs] = None,
                        low_disk_space_critical_percentage: Optional[K8sPvcAnomaliesLowDiskSpaceCriticalPercentageArgs] = None,
                        scope: Optional[str] = None)
    func NewK8sPvcAnomalies(ctx *Context, name string, args K8sPvcAnomaliesArgs, opts ...ResourceOption) (*K8sPvcAnomalies, error)
    public K8sPvcAnomalies(string name, K8sPvcAnomaliesArgs args, CustomResourceOptions? opts = null)
    public K8sPvcAnomalies(String name, K8sPvcAnomaliesArgs args)
    public K8sPvcAnomalies(String name, K8sPvcAnomaliesArgs args, CustomResourceOptions options)
    
    type: dynatrace:K8sPvcAnomalies
    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 K8sPvcAnomaliesArgs
    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 K8sPvcAnomaliesArgs
    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 K8sPvcAnomaliesArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args K8sPvcAnomaliesArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args K8sPvcAnomaliesArgs
    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 k8sPvcAnomaliesResource = new Dynatrace.K8sPvcAnomalies("k8sPvcAnomaliesResource", new()
    {
        LowDiskSpaceCritical = new Dynatrace.Inputs.K8sPvcAnomaliesLowDiskSpaceCriticalArgs
        {
            Enabled = false,
            Configuration = new Dynatrace.Inputs.K8sPvcAnomaliesLowDiskSpaceCriticalConfigurationArgs
            {
                ObservationPeriodInMinutes = 0,
                SamplePeriodInMinutes = 0,
                Threshold = 0,
            },
        },
        LowDiskSpaceCriticalPercentage = new Dynatrace.Inputs.K8sPvcAnomaliesLowDiskSpaceCriticalPercentageArgs
        {
            Enabled = false,
            Configuration = new Dynatrace.Inputs.K8sPvcAnomaliesLowDiskSpaceCriticalPercentageConfigurationArgs
            {
                ObservationPeriodInMinutes = 0,
                SamplePeriodInMinutes = 0,
                Threshold = 0,
            },
        },
        Scope = "string",
    });
    
    example, err := dynatrace.NewK8sPvcAnomalies(ctx, "k8sPvcAnomaliesResource", &dynatrace.K8sPvcAnomaliesArgs{
    	LowDiskSpaceCritical: &dynatrace.K8sPvcAnomaliesLowDiskSpaceCriticalArgs{
    		Enabled: pulumi.Bool(false),
    		Configuration: &dynatrace.K8sPvcAnomaliesLowDiskSpaceCriticalConfigurationArgs{
    			ObservationPeriodInMinutes: pulumi.Int(0),
    			SamplePeriodInMinutes:      pulumi.Int(0),
    			Threshold:                  pulumi.Int(0),
    		},
    	},
    	LowDiskSpaceCriticalPercentage: &dynatrace.K8sPvcAnomaliesLowDiskSpaceCriticalPercentageArgs{
    		Enabled: pulumi.Bool(false),
    		Configuration: &dynatrace.K8sPvcAnomaliesLowDiskSpaceCriticalPercentageConfigurationArgs{
    			ObservationPeriodInMinutes: pulumi.Int(0),
    			SamplePeriodInMinutes:      pulumi.Int(0),
    			Threshold:                  pulumi.Int(0),
    		},
    	},
    	Scope: pulumi.String("string"),
    })
    
    var k8sPvcAnomaliesResource = new K8sPvcAnomalies("k8sPvcAnomaliesResource", K8sPvcAnomaliesArgs.builder()
        .lowDiskSpaceCritical(K8sPvcAnomaliesLowDiskSpaceCriticalArgs.builder()
            .enabled(false)
            .configuration(K8sPvcAnomaliesLowDiskSpaceCriticalConfigurationArgs.builder()
                .observationPeriodInMinutes(0)
                .samplePeriodInMinutes(0)
                .threshold(0)
                .build())
            .build())
        .lowDiskSpaceCriticalPercentage(K8sPvcAnomaliesLowDiskSpaceCriticalPercentageArgs.builder()
            .enabled(false)
            .configuration(K8sPvcAnomaliesLowDiskSpaceCriticalPercentageConfigurationArgs.builder()
                .observationPeriodInMinutes(0)
                .samplePeriodInMinutes(0)
                .threshold(0)
                .build())
            .build())
        .scope("string")
        .build());
    
    k8s_pvc_anomalies_resource = dynatrace.K8sPvcAnomalies("k8sPvcAnomaliesResource",
        low_disk_space_critical={
            "enabled": False,
            "configuration": {
                "observation_period_in_minutes": 0,
                "sample_period_in_minutes": 0,
                "threshold": 0,
            },
        },
        low_disk_space_critical_percentage={
            "enabled": False,
            "configuration": {
                "observation_period_in_minutes": 0,
                "sample_period_in_minutes": 0,
                "threshold": 0,
            },
        },
        scope="string")
    
    const k8sPvcAnomaliesResource = new dynatrace.K8sPvcAnomalies("k8sPvcAnomaliesResource", {
        lowDiskSpaceCritical: {
            enabled: false,
            configuration: {
                observationPeriodInMinutes: 0,
                samplePeriodInMinutes: 0,
                threshold: 0,
            },
        },
        lowDiskSpaceCriticalPercentage: {
            enabled: false,
            configuration: {
                observationPeriodInMinutes: 0,
                samplePeriodInMinutes: 0,
                threshold: 0,
            },
        },
        scope: "string",
    });
    
    type: dynatrace:K8sPvcAnomalies
    properties:
        lowDiskSpaceCritical:
            configuration:
                observationPeriodInMinutes: 0
                samplePeriodInMinutes: 0
                threshold: 0
            enabled: false
        lowDiskSpaceCriticalPercentage:
            configuration:
                observationPeriodInMinutes: 0
                samplePeriodInMinutes: 0
                threshold: 0
            enabled: false
        scope: string
    

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

    LowDiskSpaceCritical Pulumiverse.Dynatrace.Inputs.K8sPvcAnomaliesLowDiskSpaceCritical
    Alerts on low disk space in megabytes for a persistent volume claim.
    LowDiskSpaceCriticalPercentage Pulumiverse.Dynatrace.Inputs.K8sPvcAnomaliesLowDiskSpaceCriticalPercentage
    Alerts on low disk space in % for a persistent volume claim.
    Scope string
    The scope of this setting (CLOUDAPPLICATIONNAMESPACE, KUBERNETES_CLUSTER). Omit this property if you want to cover the whole environment.
    LowDiskSpaceCritical K8sPvcAnomaliesLowDiskSpaceCriticalArgs
    Alerts on low disk space in megabytes for a persistent volume claim.
    LowDiskSpaceCriticalPercentage K8sPvcAnomaliesLowDiskSpaceCriticalPercentageArgs
    Alerts on low disk space in % for a persistent volume claim.
    Scope string
    The scope of this setting (CLOUDAPPLICATIONNAMESPACE, KUBERNETES_CLUSTER). Omit this property if you want to cover the whole environment.
    lowDiskSpaceCritical K8sPvcAnomaliesLowDiskSpaceCritical
    Alerts on low disk space in megabytes for a persistent volume claim.
    lowDiskSpaceCriticalPercentage K8sPvcAnomaliesLowDiskSpaceCriticalPercentage
    Alerts on low disk space in % for a persistent volume claim.
    scope String
    The scope of this setting (CLOUDAPPLICATIONNAMESPACE, KUBERNETES_CLUSTER). Omit this property if you want to cover the whole environment.
    lowDiskSpaceCritical K8sPvcAnomaliesLowDiskSpaceCritical
    Alerts on low disk space in megabytes for a persistent volume claim.
    lowDiskSpaceCriticalPercentage K8sPvcAnomaliesLowDiskSpaceCriticalPercentage
    Alerts on low disk space in % for a persistent volume claim.
    scope string
    The scope of this setting (CLOUDAPPLICATIONNAMESPACE, KUBERNETES_CLUSTER). Omit this property if you want to cover the whole environment.
    low_disk_space_critical K8sPvcAnomaliesLowDiskSpaceCriticalArgs
    Alerts on low disk space in megabytes for a persistent volume claim.
    low_disk_space_critical_percentage K8sPvcAnomaliesLowDiskSpaceCriticalPercentageArgs
    Alerts on low disk space in % for a persistent volume claim.
    scope str
    The scope of this setting (CLOUDAPPLICATIONNAMESPACE, KUBERNETES_CLUSTER). Omit this property if you want to cover the whole environment.
    lowDiskSpaceCritical Property Map
    Alerts on low disk space in megabytes for a persistent volume claim.
    lowDiskSpaceCriticalPercentage Property Map
    Alerts on low disk space in % for a persistent volume claim.
    scope String
    The scope of this setting (CLOUDAPPLICATIONNAMESPACE, KUBERNETES_CLUSTER). Omit this property if you want to cover the whole environment.

    Outputs

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

    Get an existing K8sPvcAnomalies 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?: K8sPvcAnomaliesState, opts?: CustomResourceOptions): K8sPvcAnomalies
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            low_disk_space_critical: Optional[K8sPvcAnomaliesLowDiskSpaceCriticalArgs] = None,
            low_disk_space_critical_percentage: Optional[K8sPvcAnomaliesLowDiskSpaceCriticalPercentageArgs] = None,
            scope: Optional[str] = None) -> K8sPvcAnomalies
    func GetK8sPvcAnomalies(ctx *Context, name string, id IDInput, state *K8sPvcAnomaliesState, opts ...ResourceOption) (*K8sPvcAnomalies, error)
    public static K8sPvcAnomalies Get(string name, Input<string> id, K8sPvcAnomaliesState? state, CustomResourceOptions? opts = null)
    public static K8sPvcAnomalies get(String name, Output<String> id, K8sPvcAnomaliesState 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:
    LowDiskSpaceCritical Pulumiverse.Dynatrace.Inputs.K8sPvcAnomaliesLowDiskSpaceCritical
    Alerts on low disk space in megabytes for a persistent volume claim.
    LowDiskSpaceCriticalPercentage Pulumiverse.Dynatrace.Inputs.K8sPvcAnomaliesLowDiskSpaceCriticalPercentage
    Alerts on low disk space in % for a persistent volume claim.
    Scope string
    The scope of this setting (CLOUDAPPLICATIONNAMESPACE, KUBERNETES_CLUSTER). Omit this property if you want to cover the whole environment.
    LowDiskSpaceCritical K8sPvcAnomaliesLowDiskSpaceCriticalArgs
    Alerts on low disk space in megabytes for a persistent volume claim.
    LowDiskSpaceCriticalPercentage K8sPvcAnomaliesLowDiskSpaceCriticalPercentageArgs
    Alerts on low disk space in % for a persistent volume claim.
    Scope string
    The scope of this setting (CLOUDAPPLICATIONNAMESPACE, KUBERNETES_CLUSTER). Omit this property if you want to cover the whole environment.
    lowDiskSpaceCritical K8sPvcAnomaliesLowDiskSpaceCritical
    Alerts on low disk space in megabytes for a persistent volume claim.
    lowDiskSpaceCriticalPercentage K8sPvcAnomaliesLowDiskSpaceCriticalPercentage
    Alerts on low disk space in % for a persistent volume claim.
    scope String
    The scope of this setting (CLOUDAPPLICATIONNAMESPACE, KUBERNETES_CLUSTER). Omit this property if you want to cover the whole environment.
    lowDiskSpaceCritical K8sPvcAnomaliesLowDiskSpaceCritical
    Alerts on low disk space in megabytes for a persistent volume claim.
    lowDiskSpaceCriticalPercentage K8sPvcAnomaliesLowDiskSpaceCriticalPercentage
    Alerts on low disk space in % for a persistent volume claim.
    scope string
    The scope of this setting (CLOUDAPPLICATIONNAMESPACE, KUBERNETES_CLUSTER). Omit this property if you want to cover the whole environment.
    low_disk_space_critical K8sPvcAnomaliesLowDiskSpaceCriticalArgs
    Alerts on low disk space in megabytes for a persistent volume claim.
    low_disk_space_critical_percentage K8sPvcAnomaliesLowDiskSpaceCriticalPercentageArgs
    Alerts on low disk space in % for a persistent volume claim.
    scope str
    The scope of this setting (CLOUDAPPLICATIONNAMESPACE, KUBERNETES_CLUSTER). Omit this property if you want to cover the whole environment.
    lowDiskSpaceCritical Property Map
    Alerts on low disk space in megabytes for a persistent volume claim.
    lowDiskSpaceCriticalPercentage Property Map
    Alerts on low disk space in % for a persistent volume claim.
    scope String
    The scope of this setting (CLOUDAPPLICATIONNAMESPACE, KUBERNETES_CLUSTER). Omit this property if you want to cover the whole environment.

    Supporting Types

    K8sPvcAnomaliesLowDiskSpaceCritical, K8sPvcAnomaliesLowDiskSpaceCriticalArgs

    Enabled bool
    This setting is enabled (true) or disabled (false)
    Configuration K8sPvcAnomaliesLowDiskSpaceCriticalConfiguration
    Alert if
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    configuration K8sPvcAnomaliesLowDiskSpaceCriticalConfiguration
    Alert if
    enabled boolean
    This setting is enabled (true) or disabled (false)
    configuration K8sPvcAnomaliesLowDiskSpaceCriticalConfiguration
    Alert if
    enabled bool
    This setting is enabled (true) or disabled (false)
    configuration K8sPvcAnomaliesLowDiskSpaceCriticalConfiguration
    Alert if
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    configuration Property Map
    Alert if

    K8sPvcAnomaliesLowDiskSpaceCriticalConfiguration, K8sPvcAnomaliesLowDiskSpaceCriticalConfigurationArgs

    ObservationPeriodInMinutes int
    within the last
    SamplePeriodInMinutes int
    for at least
    Threshold int
    the available disk space is below
    ObservationPeriodInMinutes int
    within the last
    SamplePeriodInMinutes int
    for at least
    Threshold int
    the available disk space is below
    observationPeriodInMinutes Integer
    within the last
    samplePeriodInMinutes Integer
    for at least
    threshold Integer
    the available disk space is below
    observationPeriodInMinutes number
    within the last
    samplePeriodInMinutes number
    for at least
    threshold number
    the available disk space is below
    observation_period_in_minutes int
    within the last
    sample_period_in_minutes int
    for at least
    threshold int
    the available disk space is below
    observationPeriodInMinutes Number
    within the last
    samplePeriodInMinutes Number
    for at least
    threshold Number
    the available disk space is below

    K8sPvcAnomaliesLowDiskSpaceCriticalPercentage, K8sPvcAnomaliesLowDiskSpaceCriticalPercentageArgs

    Enabled bool
    This setting is enabled (true) or disabled (false)
    Configuration K8sPvcAnomaliesLowDiskSpaceCriticalPercentageConfiguration
    Alert if
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    configuration K8sPvcAnomaliesLowDiskSpaceCriticalPercentageConfiguration
    Alert if
    enabled boolean
    This setting is enabled (true) or disabled (false)
    configuration K8sPvcAnomaliesLowDiskSpaceCriticalPercentageConfiguration
    Alert if
    enabled bool
    This setting is enabled (true) or disabled (false)
    configuration K8sPvcAnomaliesLowDiskSpaceCriticalPercentageConfiguration
    Alert if
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    configuration Property Map
    Alert if

    K8sPvcAnomaliesLowDiskSpaceCriticalPercentageConfiguration, K8sPvcAnomaliesLowDiskSpaceCriticalPercentageConfigurationArgs

    ObservationPeriodInMinutes int
    within the last
    SamplePeriodInMinutes int
    for at least
    Threshold int
    the available disk space is below
    ObservationPeriodInMinutes int
    within the last
    SamplePeriodInMinutes int
    for at least
    Threshold int
    the available disk space is below
    observationPeriodInMinutes Integer
    within the last
    samplePeriodInMinutes Integer
    for at least
    threshold Integer
    the available disk space is below
    observationPeriodInMinutes number
    within the last
    samplePeriodInMinutes number
    for at least
    threshold number
    the available disk space is below
    observation_period_in_minutes int
    within the last
    sample_period_in_minutes int
    for at least
    threshold int
    the available disk space is below
    observationPeriodInMinutes Number
    within the last
    samplePeriodInMinutes Number
    for at least
    threshold Number
    the available disk space is below

    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