# 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__ = [
    'ContainerVersioningLegacyArgs',
    'ContainerVersioningLegacyArgsDict',
]

class ContainerVersioningLegacyArgsDict(TypedDict):
    location: pulumi.Input[_builtins.str]
    """
    Container in which versions will be stored.
    """
    type: pulumi.Input[_builtins.str]
    """
    Versioning type which can be `versions` or `history`
    according to [OpenStack
    documentation](https://docs.openstack.org/swift/latest/api/object_versioning.html).
    """

@pulumi.input_type
class ContainerVersioningLegacyArgs:
    def __init__(__self__, *,
                 location: pulumi.Input[_builtins.str],
                 type: pulumi.Input[_builtins.str]):
        """
        :param pulumi.Input[_builtins.str] location: Container in which versions will be stored.
        :param pulumi.Input[_builtins.str] type: Versioning type which can be `versions` or `history`
               according to [OpenStack
               documentation](https://docs.openstack.org/swift/latest/api/object_versioning.html).
        """
        pulumi.set(__self__, "location", location)
        pulumi.set(__self__, "type", type)

    @_builtins.property
    @pulumi.getter
    def location(self) -> pulumi.Input[_builtins.str]:
        """
        Container in which versions will be stored.
        """
        return pulumi.get(self, "location")

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

    @_builtins.property
    @pulumi.getter
    def type(self) -> pulumi.Input[_builtins.str]:
        """
        Versioning type which can be `versions` or `history`
        according to [OpenStack
        documentation](https://docs.openstack.org/swift/latest/api/object_versioning.html).
        """
        return pulumi.get(self, "type")

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


