Dynatrace v0.16.0 published on Tuesday, Sep 10, 2024 by Pulumiverse
dynatrace.K8sPvcAnomalies
Explore with Pulumi AI
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=dynatrace.K8sPvcAnomaliesLowDiskSpaceCriticalArgs(
enabled=False,
configuration=dynatrace.K8sPvcAnomaliesLowDiskSpaceCriticalConfigurationArgs(
observation_period_in_minutes=0,
sample_period_in_minutes=0,
threshold=0,
),
),
low_disk_space_critical_percentage=dynatrace.K8sPvcAnomaliesLowDiskSpaceCriticalPercentageArgs(
enabled=False,
configuration=dynatrace.K8sPvcAnomaliesLowDiskSpaceCriticalPercentageConfigurationArgs(
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
The K8sPvcAnomalies resource accepts the following input properties:
- Low
Disk Pulumiverse.Space Critical Dynatrace. Inputs. K8s Pvc Anomalies Low Disk Space Critical - Alerts on low disk space in megabytes for a persistent volume claim.
- Low
Disk Pulumiverse.Space Critical Percentage Dynatrace. Inputs. K8s Pvc Anomalies Low Disk Space Critical Percentage - 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 K8sSpace Critical Pvc Anomalies Low Disk Space Critical Args - Alerts on low disk space in megabytes for a persistent volume claim.
- Low
Disk K8sSpace Critical Percentage Pvc Anomalies Low Disk Space Critical Percentage Args - 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 K8sSpace Critical Pvc Anomalies Low Disk Space Critical - Alerts on low disk space in megabytes for a persistent volume claim.
- low
Disk K8sSpace Critical Percentage Pvc Anomalies Low Disk Space Critical Percentage - 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 K8sSpace Critical Pvc Anomalies Low Disk Space Critical - Alerts on low disk space in megabytes for a persistent volume claim.
- low
Disk K8sSpace Critical Percentage Pvc Anomalies Low Disk Space Critical Percentage - 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_ K8sspace_ critical Pvc Anomalies Low Disk Space Critical Args - Alerts on low disk space in megabytes for a persistent volume claim.
- low_
disk_ K8sspace_ critical_ percentage Pvc Anomalies Low Disk Space Critical Percentage Args - 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.
- low
Disk Property MapSpace Critical - Alerts on low disk space in megabytes for a persistent volume claim.
- low
Disk Property MapSpace Critical Percentage - 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.
- Low
Disk Pulumiverse.Space Critical Dynatrace. Inputs. K8s Pvc Anomalies Low Disk Space Critical - Alerts on low disk space in megabytes for a persistent volume claim.
- Low
Disk Pulumiverse.Space Critical Percentage Dynatrace. Inputs. K8s Pvc Anomalies Low Disk Space Critical Percentage - 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 K8sSpace Critical Pvc Anomalies Low Disk Space Critical Args - Alerts on low disk space in megabytes for a persistent volume claim.
- Low
Disk K8sSpace Critical Percentage Pvc Anomalies Low Disk Space Critical Percentage Args - 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 K8sSpace Critical Pvc Anomalies Low Disk Space Critical - Alerts on low disk space in megabytes for a persistent volume claim.
- low
Disk K8sSpace Critical Percentage Pvc Anomalies Low Disk Space Critical Percentage - 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 K8sSpace Critical Pvc Anomalies Low Disk Space Critical - Alerts on low disk space in megabytes for a persistent volume claim.
- low
Disk K8sSpace Critical Percentage Pvc Anomalies Low Disk Space Critical Percentage - 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_ K8sspace_ critical Pvc Anomalies Low Disk Space Critical Args - Alerts on low disk space in megabytes for a persistent volume claim.
- low_
disk_ K8sspace_ critical_ percentage Pvc Anomalies Low Disk Space Critical Percentage Args - 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.
- low
Disk Property MapSpace Critical - Alerts on low disk space in megabytes for a persistent volume claim.
- low
Disk Property MapSpace Critical Percentage - 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
Pulumiverse.
Dynatrace. Inputs. K8s Pvc Anomalies Low Disk Space Critical Configuration - Alert if
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Configuration
K8s
Pvc Anomalies Low Disk Space Critical Configuration - Alert if
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - configuration
K8s
Pvc Anomalies Low Disk Space Critical Configuration - Alert if
- enabled boolean
- This setting is enabled (
true
) or disabled (false
) - configuration
K8s
Pvc Anomalies Low Disk Space Critical Configuration - Alert if
- enabled bool
- This setting is enabled (
true
) or disabled (false
) - configuration
K8s
Pvc Anomalies Low Disk Space Critical Configuration - Alert if
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - configuration Property Map
- Alert if
K8sPvcAnomaliesLowDiskSpaceCriticalConfiguration, K8sPvcAnomaliesLowDiskSpaceCriticalConfigurationArgs
- Observation
Period intIn Minutes - within the last
- Sample
Period intIn Minutes - for at least
- Threshold int
- the available disk space is below
- Observation
Period intIn Minutes - within the last
- Sample
Period intIn Minutes - for at least
- Threshold int
- the available disk space is below
- observation
Period IntegerIn Minutes - within the last
- sample
Period IntegerIn Minutes - for at least
- threshold Integer
- the available disk space is below
- observation
Period numberIn Minutes - within the last
- sample
Period numberIn Minutes - for at least
- threshold number
- the available disk space is below
- observation_
period_ intin_ minutes - within the last
- sample_
period_ intin_ minutes - for at least
- threshold int
- the available disk space is below
- observation
Period NumberIn Minutes - within the last
- sample
Period NumberIn Minutes - for at least
- threshold Number
- the available disk space is below
K8sPvcAnomaliesLowDiskSpaceCriticalPercentage, K8sPvcAnomaliesLowDiskSpaceCriticalPercentageArgs
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Configuration
Pulumiverse.
Dynatrace. Inputs. K8s Pvc Anomalies Low Disk Space Critical Percentage Configuration - Alert if
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Configuration
K8s
Pvc Anomalies Low Disk Space Critical Percentage Configuration - Alert if
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - configuration
K8s
Pvc Anomalies Low Disk Space Critical Percentage Configuration - Alert if
- enabled boolean
- This setting is enabled (
true
) or disabled (false
) - configuration
K8s
Pvc Anomalies Low Disk Space Critical Percentage Configuration - Alert if
- enabled bool
- This setting is enabled (
true
) or disabled (false
) - configuration
K8s
Pvc Anomalies Low Disk Space Critical Percentage Configuration - Alert if
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - configuration Property Map
- Alert if
K8sPvcAnomaliesLowDiskSpaceCriticalPercentageConfiguration, K8sPvcAnomaliesLowDiskSpaceCriticalPercentageConfigurationArgs
- Observation
Period intIn Minutes - within the last
- Sample
Period intIn Minutes - for at least
- Threshold int
- the available disk space is below
- Observation
Period intIn Minutes - within the last
- Sample
Period intIn Minutes - for at least
- Threshold int
- the available disk space is below
- observation
Period IntegerIn Minutes - within the last
- sample
Period IntegerIn Minutes - for at least
- threshold Integer
- the available disk space is below
- observation
Period numberIn Minutes - within the last
- sample
Period numberIn Minutes - for at least
- threshold number
- the available disk space is below
- observation_
period_ intin_ minutes - within the last
- sample_
period_ intin_ minutes - for at least
- threshold int
- the available disk space is below
- observation
Period NumberIn Minutes - within the last
- sample
Period NumberIn Minutes - 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.