# coding=utf-8
# *** WARNING: this file was generated by pulumi-language-python. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***

import builtins as _builtins
import warnings
import sys
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
if sys.version_info >= (3, 11):
    from typing import NotRequired, TypedDict, TypeAlias
else:
    from typing_extensions import NotRequired, TypedDict, TypeAlias
from .. import _utilities

__all__ = [
    'ExemptMetricExemptMetricArgs',
    'ExemptMetricExemptMetricArgsDict',
]

MYPY = False

if not MYPY:
    class ExemptMetricExemptMetricArgsDict(TypedDict):
        name: pulumi.Input[_builtins.str]
        """
        Name of the metric to be exempted from automated archival
        """
        created: NotRequired[pulumi.Input[_builtins.int]]
        """
        Timestamp of when the automated archival setting was created
        """
        creator: NotRequired[pulumi.Input[_builtins.str]]
        """
        ID of the creator of the automated archival setting
        """
        last_updated: NotRequired[pulumi.Input[_builtins.int]]
        """
        Timestamp of when the automated archival setting was last updated
        """
        last_updated_by: NotRequired[pulumi.Input[_builtins.str]]
        """
        ID of user who last updated the automated archival setting
        """
elif False:
    ExemptMetricExemptMetricArgsDict: TypeAlias = Mapping[str, Any]

@pulumi.input_type
class ExemptMetricExemptMetricArgs:
    def __init__(__self__, *,
                 name: pulumi.Input[_builtins.str],
                 created: Optional[pulumi.Input[_builtins.int]] = None,
                 creator: Optional[pulumi.Input[_builtins.str]] = None,
                 last_updated: Optional[pulumi.Input[_builtins.int]] = None,
                 last_updated_by: Optional[pulumi.Input[_builtins.str]] = None):
        """
        :param pulumi.Input[_builtins.str] name: Name of the metric to be exempted from automated archival
        :param pulumi.Input[_builtins.int] created: Timestamp of when the automated archival setting was created
        :param pulumi.Input[_builtins.str] creator: ID of the creator of the automated archival setting
        :param pulumi.Input[_builtins.int] last_updated: Timestamp of when the automated archival setting was last updated
        :param pulumi.Input[_builtins.str] last_updated_by: ID of user who last updated the automated archival setting
        """
        pulumi.set(__self__, "name", name)
        if created is not None:
            pulumi.set(__self__, "created", created)
        if creator is not None:
            pulumi.set(__self__, "creator", creator)
        if last_updated is not None:
            pulumi.set(__self__, "last_updated", last_updated)
        if last_updated_by is not None:
            pulumi.set(__self__, "last_updated_by", last_updated_by)

    @_builtins.property
    @pulumi.getter
    def name(self) -> pulumi.Input[_builtins.str]:
        """
        Name of the metric to be exempted from automated archival
        """
        return pulumi.get(self, "name")

    @name.setter
    def name(self, value: pulumi.Input[_builtins.str]):
        pulumi.set(self, "name", value)

    @_builtins.property
    @pulumi.getter
    def created(self) -> Optional[pulumi.Input[_builtins.int]]:
        """
        Timestamp of when the automated archival setting was created
        """
        return pulumi.get(self, "created")

    @created.setter
    def created(self, value: Optional[pulumi.Input[_builtins.int]]):
        pulumi.set(self, "created", value)

    @_builtins.property
    @pulumi.getter
    def creator(self) -> Optional[pulumi.Input[_builtins.str]]:
        """
        ID of the creator of the automated archival setting
        """
        return pulumi.get(self, "creator")

    @creator.setter
    def creator(self, value: Optional[pulumi.Input[_builtins.str]]):
        pulumi.set(self, "creator", value)

    @_builtins.property
    @pulumi.getter(name="lastUpdated")
    def last_updated(self) -> Optional[pulumi.Input[_builtins.int]]:
        """
        Timestamp of when the automated archival setting was last updated
        """
        return pulumi.get(self, "last_updated")

    @last_updated.setter
    def last_updated(self, value: Optional[pulumi.Input[_builtins.int]]):
        pulumi.set(self, "last_updated", value)

    @_builtins.property
    @pulumi.getter(name="lastUpdatedBy")
    def last_updated_by(self) -> Optional[pulumi.Input[_builtins.str]]:
        """
        ID of user who last updated the automated archival setting
        """
        return pulumi.get(self, "last_updated_by")

    @last_updated_by.setter
    def last_updated_by(self, value: Optional[pulumi.Input[_builtins.str]]):
        pulumi.set(self, "last_updated_by", value)


