text: # coding=utf-8
  # *** WARNING: this file was generated by pulumigen. ***
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
  
  import warnings
  import pulumi
  import pulumi.runtime
  from typing import Any, Dict, List, Mapping, Optional, Tuple, Union
  from ... import _utilities, _tables
  from ... import core as _core
  from ... import meta as _meta
  
  __all__ = [
      'ControllerRevisionArgs',
      'DeploymentArgs',
      'DeploymentConditionArgs',
      'DeploymentSpecArgs',
      'DeploymentStatusArgs',
      'DeploymentStrategyArgs',
      'RollbackConfigArgs',
      'RollingUpdateDeploymentArgs',
      'RollingUpdateStatefulSetStrategyArgs',
      'StatefulSetArgs',
      'StatefulSetConditionArgs',
      'StatefulSetSpecArgs',
      'StatefulSetStatusArgs',
      'StatefulSetUpdateStrategyArgs',
  ]
  
  @pulumi.input_type
  class ControllerRevisionArgs:
      def __init__(__self__, *,
                   revision: pulumi.Input[float],
                   api_version: Optional[pulumi.Input[str]] = None,
                   data: Optional[Any] = None,
                   kind: Optional[pulumi.Input[str]] = None,
                   metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None):
          """
          ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.
          :param pulumi.Input[float] revision: Revision indicates the revision of the state represented by Data.
          :param pulumi.Input[str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
          :param Any data: Data is the serialized representation of the state.
          :param pulumi.Input[str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
          :param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
          """
          pulumi.set(__self__, "revision", revision)
          if api_version is not None:
              pulumi.set(__self__, "api_version", 'apps/v1beta1')
          if data is not None:
              pulumi.set(__self__, "data", data)
          if kind is not None:
              pulumi.set(__self__, "kind", 'ControllerRevision')
          if metadata is not None:
              pulumi.set(__self__, "metadata", metadata)
  
      @property
      @pulumi.getter
      def revision(self) -> pulumi.Input[float]:
          """
          Revision indicates the revision of the state represented by Data.
          """
          return pulumi.get(self, "revision")
  
      @revision.setter
      def revision(self, value: pulumi.Input[float]):
          pulumi.set(self, "revision", value)
  
      @property
      @pulumi.getter(name="apiVersion")
      def api_version(self) -> Optional[pulumi.Input[str]]:
          """
          APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
          """
          return pulumi.get(self, "api_version")
  
      @api_version.setter
      def api_version(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "api_version", value)
  
      @property
      @pulumi.getter
      def data(self) -> Optional[Any]:
          """
          Data is the serialized representation of the state.
          """
          return pulumi.get(self, "data")
  
      @data.setter
      def data(self, value: Optional[Any]):
          pulumi.set(self, "data", value)
  
      @property
      @pulumi.getter
      def kind(self) -> Optional[pulumi.Input[str]]:
          """
          Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
          """
          return pulumi.get(self, "kind")
  
      @kind.setter
      def kind(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "kind", value)
  
      @property
      @pulumi.getter
      def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
          """
          Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
          """
          return pulumi.get(self, "metadata")
  
      @metadata.setter
      def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
          pulumi.set(self, "metadata", value)
  
  
  @pulumi.input_type
  class DeploymentArgs:
      def __init__(__self__, *,
                   api_version: Optional[pulumi.Input[str]] = None,
                   kind: Optional[pulumi.Input[str]] = None,
                   metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
                   spec: Optional[pulumi.Input['DeploymentSpecArgs']] = None,
                   status: Optional[pulumi.Input['DeploymentStatusArgs']] = None):
          """
          Deployment enables declarative updates for Pods and ReplicaSets.
  
          This resource waits until its status is ready before registering success
          for create/update, and populating output properties from the current state of the resource.
          The following conditions are used to determine whether the resource creation has
          succeeded or failed:
  
          1. The Deployment has begun to be updated by the Deployment controller. If the current
             generation of the Deployment is > 1, then this means that the current generation must
             be different from the generation reported by the last outputs.
          2. There exists a ReplicaSet whose revision is equal to the current revision of the
             Deployment.
          3. The Deployment's '.status.conditions' has a status of type 'Available' whose 'status'
             member is set to 'True'.
          4. If the Deployment has generation > 1, then '.status.conditions' has a status of type
             'Progressing', whose 'status' member is set to 'True', and whose 'reason' is
             'NewReplicaSetAvailable'. For generation <= 1, this status field does not exist,
             because it doesn't do a rollout (i.e., it simply creates the Deployment and
             corresponding ReplicaSet), and therefore there is no rollout to mark as 'Progressing'.
  
          If the Deployment has not reached a Ready state after 10 minutes, it will
          time out and mark the resource update as Failed. You can override the default timeout value
          by setting the 'customTimeouts' option on the resource.
          :param pulumi.Input[str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
          :param pulumi.Input[str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
          :param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object metadata.
          :param pulumi.Input['DeploymentSpecArgs'] spec: Specification of the desired behavior of the Deployment.
          :param pulumi.Input['DeploymentStatusArgs'] status: Most recently observed status of the Deployment.
          """
          if api_version is not None:
              pulumi.set(__self__, "api_version", 'apps/v1beta1')
          if kind is not None:
              pulumi.set(__self__, "kind", 'Deployment')
          if metadata is not None:
              pulumi.set(__self__, "metadata", metadata)
          if spec is not None:
              pulumi.set(__self__, "spec", spec)
          if status is not None:
              pulumi.set(__self__, "status", status)
  
      @property
      @pulumi.getter(name="apiVersion")
      def api_version(self) -> Optional[pulumi.Input[str]]:
          """
          APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
          """
          return pulumi.get(self, "api_version")
  
      @api_version.setter
      def api_version(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "api_version", value)
  
      @property
      @pulumi.getter
      def kind(self) -> Optional[pulumi.Input[str]]:
          """
          Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
          """
          return pulumi.get(self, "kind")
  
      @kind.setter
      def kind(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "kind", value)
  
      @property
      @pulumi.getter
      def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
          """
          Standard object metadata.
          """
          return pulumi.get(self, "metadata")
  
      @metadata.setter
      def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
          pulumi.set(self, "metadata", value)
  
      @property
      @pulumi.getter
      def spec(self) -> Optional[pulumi.Input['DeploymentSpecArgs']]:
          """
          Specification of the desired behavior of the Deployment.
          """
          return pulumi.get(self, "spec")
  
      @spec.setter
      def spec(self, value: Optional[pulumi.Input['DeploymentSpecArgs']]):
          pulumi.set(self, "spec", value)
  
      @property
      @pulumi.getter
      def status(self) -> Optional[pulumi.Input['DeploymentStatusArgs']]:
          """
          Most recently observed status of the Deployment.
          """
          return pulumi.get(self, "status")
  
      @status.setter
      def status(self, value: Optional[pulumi.Input['DeploymentStatusArgs']]):
          pulumi.set(self, "status", value)
  
  
  @pulumi.input_type
  class DeploymentConditionArgs:
      def __init__(__self__, *,
                   status: pulumi.Input[str],
                   type: pulumi.Input[str],
                   last_transition_time: Optional[pulumi.Input[str]] = None,
                   last_update_time: Optional[pulumi.Input[str]] = None,
                   message: Optional[pulumi.Input[str]] = None,
                   reason: Optional[pulumi.Input[str]] = None):
          """
          DeploymentCondition describes the state of a deployment at a certain point.
          :param pulumi.Input[str] status: Status of the condition, one of True, False, Unknown.
          :param pulumi.Input[str] type: Type of deployment condition.
          :param pulumi.Input[str] last_transition_time: Last time the condition transitioned from one status to another.
          :param pulumi.Input[str] last_update_time: The last time this condition was updated.
          :param pulumi.Input[str] message: A human readable message indicating details about the transition.
          :param pulumi.Input[str] reason: The reason for the condition's last transition.
          """
          pulumi.set(__self__, "status", status)
          pulumi.set(__self__, "type", type)
          if last_transition_time is not None:
              pulumi.set(__self__, "last_transition_time", last_transition_time)
          if last_update_time is not None:
              pulumi.set(__self__, "last_update_time", last_update_time)
          if message is not None:
              pulumi.set(__self__, "message", message)
          if reason is not None:
              pulumi.set(__self__, "reason", reason)
  
      @property
      @pulumi.getter
      def status(self) -> pulumi.Input[str]:
          """
          Status of the condition, one of True, False, Unknown.
          """
          return pulumi.get(self, "status")
  
      @status.setter
      def status(self, value: pulumi.Input[str]):
          pulumi.set(self, "status", value)
  
      @property
      @pulumi.getter
      def type(self) -> pulumi.Input[str]:
          """
          Type of deployment condition.
          """
          return pulumi.get(self, "type")
  
      @type.setter
      def type(self, value: pulumi.Input[str]):
          pulumi.set(self, "type", value)
  
      @property
      @pulumi.getter(name="lastTransitionTime")
      def last_transition_time(self) -> Optional[pulumi.Input[str]]:
          """
          Last time the condition transitioned from one status to another.
          """
          return pulumi.get(self, "last_transition_time")
  
      @last_transition_time.setter
      def last_transition_time(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "last_transition_time", value)
  
      @property
      @pulumi.getter(name="lastUpdateTime")
      def last_update_time(self) -> Optional[pulumi.Input[str]]:
          """
          The last time this condition was updated.
          """
          return pulumi.get(self, "last_update_time")
  
      @last_update_time.setter
      def last_update_time(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "last_update_time", value)
  
      @property
      @pulumi.getter
      def message(self) -> Optional[pulumi.Input[str]]:
          """
          A human readable message indicating details about the transition.
          """
          return pulumi.get(self, "message")
  
      @message.setter
      def message(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "message", value)
  
      @property
      @pulumi.getter
      def reason(self) -> Optional[pulumi.Input[str]]:
          """
          The reason for the condition's last transition.
          """
          return pulumi.get(self, "reason")
  
      @reason.setter
      def reason(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "reason", value)
  
  
  @pulumi.input_type
  class DeploymentSpecArgs:
      def __init__(__self__, *,
                   template: pulumi.Input['_core.v1.PodTemplateSpecArgs'],
                   min_ready_seconds: Optional[pulumi.Input[float]] = None,
                   paused: Optional[pulumi.Input[bool]] = None,
                   progress_deadline_seconds: Optional[pulumi.Input[float]] = None,
                   replicas: Optional[pulumi.Input[float]] = None,
                   revision_history_limit: Optional[pulumi.Input[float]] = None,
                   rollback_to: Optional[pulumi.Input['RollbackConfigArgs']] = None,
                   selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None,
                   strategy: Optional[pulumi.Input['DeploymentStrategyArgs']] = None):
          """
          DeploymentSpec is the specification of the desired behavior of the Deployment.
          :param pulumi.Input['_core.v1.PodTemplateSpecArgs'] template: Template describes the pods that will be created.
          :param pulumi.Input[float] min_ready_seconds: Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
          :param pulumi.Input[bool] paused: Indicates that the deployment is paused.
          :param pulumi.Input[float] progress_deadline_seconds: The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.
          :param pulumi.Input[float] replicas: Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
          :param pulumi.Input[float] revision_history_limit: The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2.
          :param pulumi.Input['RollbackConfigArgs'] rollback_to: DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done.
          :param pulumi.Input['_meta.v1.LabelSelectorArgs'] selector: Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.
          :param pulumi.Input['DeploymentStrategyArgs'] strategy: The deployment strategy to use to replace existing pods with new ones.
          """
          pulumi.set(__self__, "template", template)
          if min_ready_seconds is not None:
              pulumi.set(__self__, "min_ready_seconds", min_ready_seconds)
          if paused is not None:
              pulumi.set(__self__, "paused", paused)
          if progress_deadline_seconds is not None:
              pulumi.set(__self__, "progress_deadline_seconds", progress_deadline_seconds)
          if replicas is not None:
              pulumi.set(__self__, "replicas", replicas)
          if revision_history_limit is not None:
              pulumi.set(__self__, "revision_history_limit", revision_history_limit)
          if rollback_to is not None:
              pulumi.set(__self__, "rollback_to", rollback_to)
          if selector is not None:
              pulumi.set(__self__, "selector", selector)
          if strategy is not None:
              pulumi.set(__self__, "strategy", strategy)
  
      @property
      @pulumi.getter
      def template(self) -> pulumi.Input['_core.v1.PodTemplateSpecArgs']:
          """
          Template describes the pods that will be created.
          """
          return pulumi.get(self, "template")
  
      @template.setter
      def template(self, value: pulumi.Input['_core.v1.PodTemplateSpecArgs']):
          pulumi.set(self, "template", value)
  
      @property
      @pulumi.getter(name="minReadySeconds")
      def min_ready_seconds(self) -> Optional[pulumi.Input[float]]:
          """
          Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
          """
          return pulumi.get(self, "min_ready_seconds")
  
      @min_ready_seconds.setter
      def min_ready_seconds(self, value: Optional[pulumi.Input[float]]):
          pulumi.set(self, "min_ready_seconds", value)
  
      @property
      @pulumi.getter
      def paused(self) -> Optional[pulumi.Input[bool]]:
          """
          Indicates that the deployment is paused.
          """
          return pulumi.get(self, "paused")
  
      @paused.setter
      def paused(self, value: Optional[pulumi.Input[bool]]):
          pulumi.set(self, "paused", value)
  
      @property
      @pulumi.getter(name="progressDeadlineSeconds")
      def progress_deadline_seconds(self) -> Optional[pulumi.Input[float]]:
          """
          The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.
          """
          return pulumi.get(self, "progress_deadline_seconds")
  
      @progress_deadline_seconds.setter
      def progress_deadline_seconds(self, value: Optional[pulumi.Input[float]]):
          pulumi.set(self, "progress_deadline_seconds", value)
  
      @property
      @pulumi.getter
      def replicas(self) -> Optional[pulumi.Input[float]]:
          """
          Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
          """
          return pulumi.get(self, "replicas")
  
      @replicas.setter
      def replicas(self, value: Optional[pulumi.Input[float]]):
          pulumi.set(self, "replicas", value)
  
      @property
      @pulumi.getter(name="revisionHistoryLimit")
      def revision_history_limit(self) -> Optional[pulumi.Input[float]]:
          """
          The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2.
          """
          return pulumi.get(self, "revision_history_limit")
  
      @revision_history_limit.setter
      def revision_history_limit(self, value: Optional[pulumi.Input[float]]):
          pulumi.set(self, "revision_history_limit", value)
  
      @property
      @pulumi.getter(name="rollbackTo")
      def rollback_to(self) -> Optional[pulumi.Input['RollbackConfigArgs']]:
          """
          DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done.
          """
          return pulumi.get(self, "rollback_to")
  
      @rollback_to.setter
      def rollback_to(self, value: Optional[pulumi.Input['RollbackConfigArgs']]):
          pulumi.set(self, "rollback_to", value)
  
      @property
      @pulumi.getter
      def selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]:
          """
          Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.
          """
          return pulumi.get(self, "selector")
  
      @selector.setter
      def selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]):
          pulumi.set(self, "selector", value)
  
      @property
      @pulumi.getter
      def strategy(self) -> Optional[pulumi.Input['DeploymentStrategyArgs']]:
          """
          The deployment strategy to use to replace existing pods with new ones.
          """
          return pulumi.get(self, "strategy")
  
      @strategy.setter
      def strategy(self, value: Optional[pulumi.Input['DeploymentStrategyArgs']]):
          pulumi.set(self, "strategy", value)
  
  
  @pulumi.input_type
  class DeploymentStatusArgs:
      def __init__(__self__, *,
                   available_replicas: Optional[pulumi.Input[float]] = None,
                   collision_count: Optional[pulumi.Input[float]] = None,
                   conditions: Optional[pulumi.Input[List[pulumi.Input['DeploymentConditionArgs']]]] = None,
                   observed_generation: Optional[pulumi.Input[float]] = None,
                   ready_replicas: Optional[pulumi.Input[float]] = None,
                   replicas: Optional[pulumi.Input[float]] = None,
                   unavailable_replicas: Optional[pulumi.Input[float]] = None,
                   updated_replicas: Optional[pulumi.Input[float]] = None):
          """
          DeploymentStatus is the most recently observed status of the Deployment.
          :param pulumi.Input[float] available_replicas: Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
          :param pulumi.Input[float] collision_count: Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.
          :param pulumi.Input[List[pulumi.Input['DeploymentConditionArgs']]] conditions: Represents the latest available observations of a deployment's current state.
          :param pulumi.Input[float] observed_generation: The generation observed by the deployment controller.
          :param pulumi.Input[float] ready_replicas: Total number of ready pods targeted by this deployment.
          :param pulumi.Input[float] replicas: Total number of non-terminated pods targeted by this deployment (their labels match the selector).
          :param pulumi.Input[float] unavailable_replicas: Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.
          :param pulumi.Input[float] updated_replicas: Total number of non-terminated pods targeted by this deployment that have the desired template spec.
          """
          if available_replicas is not None:
              pulumi.set(__self__, "available_replicas", available_replicas)
          if collision_count is not None:
              pulumi.set(__self__, "collision_count", collision_count)
          if conditions is not None:
              pulumi.set(__self__, "conditions", conditions)
          if observed_generation is not None:
              pulumi.set(__self__, "observed_generation", observed_generation)
          if ready_replicas is not None:
              pulumi.set(__self__, "ready_replicas", ready_replicas)
          if replicas is not None:
              pulumi.set(__self__, "replicas", replicas)
          if unavailable_replicas is not None:
              pulumi.set(__self__, "unavailable_replicas", unavailable_replicas)
          if updated_replicas is not None:
              pulumi.set(__self__, "updated_replicas", updated_replicas)
  
      @property
      @pulumi.getter(name="availableReplicas")
      def available_replicas(self) -> Optional[pulumi.Input[float]]:
          """
          Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
          """
          return pulumi.get(self, "available_replicas")
  
      @available_replicas.setter
      def available_replicas(self, value: Optional[pulumi.Input[float]]):
          pulumi.set(self, "available_replicas", value)
  
      @property
      @pulumi.getter(name="collisionCount")
      def collision_count(self) -> Optional[pulumi.Input[float]]:
          """
          Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.
          """
          return pulumi.get(self, "collision_count")
  
      @collision_count.setter
      def collision_count(self, value: Optional[pulumi.Input[float]]):
          pulumi.set(self, "collision_count", value)
  
      @property
      @pulumi.getter
      def conditions(self) -> Optional[pulumi.Input[List[pulumi.Input['DeploymentConditionArgs']]]]:
          """
          Represents the latest available observations of a deployment's current state.
          """
          return pulumi.get(self, "conditions")
  
      @conditions.setter
      def conditions(self, value: Optional[pulumi.Input[List[pulumi.Input['DeploymentConditionArgs']]]]):
          pulumi.set(self, "conditions", value)
  
      @property
      @pulumi.getter(name="observedGeneration")
      def observed_generation(self) -> Optional[pulumi.Input[float]]:
          """
          The generation observed by the deployment controller.
          """
          return pulumi.get(self, "observed_generation")
  
      @observed_generation.setter
      def observed_generation(self, value: Optional[pulumi.Input[float]]):
          pulumi.set(self, "observed_generation", value)
  
      @property
      @pulumi.getter(name="readyReplicas")
      def ready_replicas(self) -> Optional[pulumi.Input[float]]:
          """
          Total number of ready pods targeted by this deployment.
          """
          return pulumi.get(self, "ready_replicas")
  
      @ready_replicas.setter
      def ready_replicas(self, value: Optional[pulumi.Input[float]]):
          pulumi.set(self, "ready_replicas", value)
  
      @property
      @pulumi.getter
      def replicas(self) -> Optional[pulumi.Input[float]]:
          """
          Total number of non-terminated pods targeted by this deployment (their labels match the selector).
          """
          return pulumi.get(self, "replicas")
  
      @replicas.setter
      def replicas(self, value: Optional[pulumi.Input[float]]):
          pulumi.set(self, "replicas", value)
  
      @property
      @pulumi.getter(name="unavailableReplicas")
      def unavailable_replicas(self) -> Optional[pulumi.Input[float]]:
          """
          Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.
          """
          return pulumi.get(self, "unavailable_replicas")
  
      @unavailable_replicas.setter
      def unavailable_replicas(self, value: Optional[pulumi.Input[float]]):
          pulumi.set(self, "unavailable_replicas", value)
  
      @property
      @pulumi.getter(name="updatedReplicas")
      def updated_replicas(self) -> Optional[pulumi.Input[float]]:
          """
          Total number of non-terminated pods targeted by this deployment that have the desired template spec.
          """
          return pulumi.get(self, "updated_replicas")
  
      @updated_replicas.setter
      def updated_replicas(self, value: Optional[pulumi.Input[float]]):
          pulumi.set(self, "updated_replicas", value)
  
  
  @pulumi.input_type
  class DeploymentStrategyArgs:
      def __init__(__self__, *,
                   rolling_update: Optional[pulumi.Input['RollingUpdateDeploymentArgs']] = None,
                   type: Optional[pulumi.Input[str]] = None):
          """
          DeploymentStrategy describes how to replace existing pods with new ones.
          :param pulumi.Input['RollingUpdateDeploymentArgs'] rolling_update: Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.
          :param pulumi.Input[str] type: Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
          """
          if rolling_update is not None:
              pulumi.set(__self__, "rolling_update", rolling_update)
          if type is not None:
              pulumi.set(__self__, "type", type)
  
      @property
      @pulumi.getter(name="rollingUpdate")
      def rolling_update(self) -> Optional[pulumi.Input['RollingUpdateDeploymentArgs']]:
          """
          Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.
          """
          return pulumi.get(self, "rolling_update")
  
      @rolling_update.setter
      def rolling_update(self, value: Optional[pulumi.Input['RollingUpdateDeploymentArgs']]):
          pulumi.set(self, "rolling_update", value)
  
      @property
      @pulumi.getter
      def type(self) -> Optional[pulumi.Input[str]]:
          """
          Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
          """
          return pulumi.get(self, "type")
  
      @type.setter
      def type(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "type", value)
  
  
  @pulumi.input_type
  class RollbackConfigArgs:
      def __init__(__self__, *,
                   revision: Optional[pulumi.Input[float]] = None):
          """
          DEPRECATED.
          :param pulumi.Input[float] revision: The revision to rollback to. If set to 0, rollback to the last revision.
          """
          if revision is not None:
              pulumi.set(__self__, "revision", revision)
  
      @property
      @pulumi.getter
      def revision(self) -> Optional[pulumi.Input[float]]:
          """
          The revision to rollback to. If set to 0, rollback to the last revision.
          """
          return pulumi.get(self, "revision")
  
      @revision.setter
      def revision(self, value: Optional[pulumi.Input[float]]):
          pulumi.set(self, "revision", value)
  
  
  @pulumi.input_type
  class RollingUpdateDeploymentArgs:
      def __init__(__self__, *,
                   max_surge: Optional[pulumi.Input[Union[float, str]]] = None,
                   max_unavailable: Optional[pulumi.Input[Union[float, str]]] = None):
          """
          Spec to control the desired behavior of rolling update.
          :param pulumi.Input[Union[float, str]] max_surge: The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods.
          :param pulumi.Input[Union[float, str]] max_unavailable: The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.
          """
          if max_surge is not None:
              pulumi.set(__self__, "max_surge", max_surge)
          if max_unavailable is not None:
              pulumi.set(__self__, "max_unavailable", max_unavailable)
  
      @property
      @pulumi.getter(name="maxSurge")
      def max_surge(self) -> Optional[pulumi.Input[Union[float, str]]]:
          """
          The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods.
          """
          return pulumi.get(self, "max_surge")
  
      @max_surge.setter
      def max_surge(self, value: Optional[pulumi.Input[Union[float, str]]]):
          pulumi.set(self, "max_surge", value)
  
      @property
      @pulumi.getter(name="maxUnavailable")
      def max_unavailable(self) -> Optional[pulumi.Input[Union[float, str]]]:
          """
          The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.
          """
          return pulumi.get(self, "max_unavailable")
  
      @max_unavailable.setter
      def max_unavailable(self, value: Optional[pulumi.Input[Union[float, str]]]):
          pulumi.set(self, "max_unavailable", value)
  
  
  @pulumi.input_type
  class RollingUpdateStatefulSetStrategyArgs:
      def __init__(__self__, *,
                   partition: Optional[pulumi.Input[float]] = None):
          """
          RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.
          :param pulumi.Input[float] partition: Partition indicates the ordinal at which the StatefulSet should be partitioned.
          """
          if partition is not None:
              pulumi.set(__self__, "partition", partition)
  
      @property
      @pulumi.getter
      def partition(self) -> Optional[pulumi.Input[float]]:
          """
          Partition indicates the ordinal at which the StatefulSet should be partitioned.
          """
          return pulumi.get(self, "partition")
  
      @partition.setter
      def partition(self, value: Optional[pulumi.Input[float]]):
          pulumi.set(self, "partition", value)
  
  
  @pulumi.input_type
  class StatefulSetArgs:
      def __init__(__self__, *,
                   api_version: Optional[pulumi.Input[str]] = None,
                   kind: Optional[pulumi.Input[str]] = None,
                   metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
                   spec: Optional[pulumi.Input['StatefulSetSpecArgs']] = None,
                   status: Optional[pulumi.Input['StatefulSetStatusArgs']] = None):
          """
          StatefulSet represents a set of pods with consistent identities. Identities are defined as:
           - Network: A single stable DNS and hostname.
           - Storage: As many VolumeClaims as requested.
          The StatefulSet guarantees that a given network identity will always map to the same storage identity.
  
          This resource waits until its status is ready before registering success
          for create/update, and populating output properties from the current state of the resource.
          The following conditions are used to determine whether the resource creation has
          succeeded or failed:
  
          1. The value of 'spec.replicas' matches '.status.replicas', '.status.currentReplicas',
             and '.status.readyReplicas'.
          2. The value of '.status.updateRevision' matches '.status.currentRevision'.
  
          If the StatefulSet has not reached a Ready state after 10 minutes, it will
          time out and mark the resource update as Failed. You can override the default timeout value
          by setting the 'customTimeouts' option on the resource.
          :param pulumi.Input[str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
          :param pulumi.Input[str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
          :param pulumi.Input['StatefulSetSpecArgs'] spec: Spec defines the desired identities of pods in this set.
          :param pulumi.Input['StatefulSetStatusArgs'] status: Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.
          """
          if api_version is not None:
              pulumi.set(__self__, "api_version", 'apps/v1beta1')
          if kind is not None:
              pulumi.set(__self__, "kind", 'StatefulSet')
          if metadata is not None:
              pulumi.set(__self__, "metadata", metadata)
          if spec is not None:
              pulumi.set(__self__, "spec", spec)
          if status is not None:
              pulumi.set(__self__, "status", status)
  
      @property
      @pulumi.getter(name="apiVersion")
      def api_version(self) -> Optional[pulumi.Input[str]]:
          """
          APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
          """
          return pulumi.get(self, "api_version")
  
      @api_version.setter
      def api_version(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "api_version", value)
  
      @property
      @pulumi.getter
      def kind(self) -> Optional[pulumi.Input[str]]:
          """
          Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
          """
          return pulumi.get(self, "kind")
  
      @kind.setter
      def kind(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "kind", value)
  
      @property
      @pulumi.getter
      def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
          return pulumi.get(self, "metadata")
  
      @metadata.setter
      def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
          pulumi.set(self, "metadata", value)
  
      @property
      @pulumi.getter
      def spec(self) -> Optional[pulumi.Input['StatefulSetSpecArgs']]:
          """
          Spec defines the desired identities of pods in this set.
          """
          return pulumi.get(self, "spec")
  
      @spec.setter
      def spec(self, value: Optional[pulumi.Input['StatefulSetSpecArgs']]):
          pulumi.set(self, "spec", value)
  
      @property
      @pulumi.getter
      def status(self) -> Optional[pulumi.Input['StatefulSetStatusArgs']]:
          """
          Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.
          """
          return pulumi.get(self, "status")
  
      @status.setter
      def status(self, value: Optional[pulumi.Input['StatefulSetStatusArgs']]):
          pulumi.set(self, "status", value)
  
  
  @pulumi.input_type
  class StatefulSetConditionArgs:
      def __init__(__self__, *,
                   status: pulumi.Input[str],
                   type: pulumi.Input[str],
                   last_transition_time: Optional[pulumi.Input[str]] = None,
                   message: Optional[pulumi.Input[str]] = None,
                   reason: Optional[pulumi.Input[str]] = None):
          """
          StatefulSetCondition describes the state of a statefulset at a certain point.
          :param pulumi.Input[str] status: Status of the condition, one of True, False, Unknown.
          :param pulumi.Input[str] type: Type of statefulset condition.
          :param pulumi.Input[str] last_transition_time: Last time the condition transitioned from one status to another.
          :param pulumi.Input[str] message: A human readable message indicating details about the transition.
          :param pulumi.Input[str] reason: The reason for the condition's last transition.
          """
          pulumi.set(__self__, "status", status)
          pulumi.set(__self__, "type", type)
          if last_transition_time is not None:
              pulumi.set(__self__, "last_transition_time", last_transition_time)
          if message is not None:
              pulumi.set(__self__, "message", message)
          if reason is not None:
              pulumi.set(__self__, "reason", reason)
  
      @property
      @pulumi.getter
      def status(self) -> pulumi.Input[str]:
          """
          Status of the condition, one of True, False, Unknown.
          """
          return pulumi.get(self, "status")
  
      @status.setter
      def status(self, value: pulumi.Input[str]):
          pulumi.set(self, "status", value)
  
      @property
      @pulumi.getter
      def type(self) -> pulumi.Input[str]:
          """
          Type of statefulset condition.
          """
          return pulumi.get(self, "type")
  
      @type.setter
      def type(self, value: pulumi.Input[str]):
          pulumi.set(self, "type", value)
  
      @property
      @pulumi.getter(name="lastTransitionTime")
      def last_transition_time(self) -> Optional[pulumi.Input[str]]:
          """
          Last time the condition transitioned from one status to another.
          """
          return pulumi.get(self, "last_transition_time")
  
      @last_transition_time.setter
      def last_transition_time(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "last_transition_time", value)
  
      @property
      @pulumi.getter
      def message(self) -> Optional[pulumi.Input[str]]:
          """
          A human readable message indicating details about the transition.
          """
          return pulumi.get(self, "message")
  
      @message.setter
      def message(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "message", value)
  
      @property
      @pulumi.getter
      def reason(self) -> Optional[pulumi.Input[str]]:
          """
          The reason for the condition's last transition.
          """
          return pulumi.get(self, "reason")
  
      @reason.setter
      def reason(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "reason", value)
  
  
  @pulumi.input_type
  class StatefulSetSpecArgs:
      def __init__(__self__, *,
                   service_name: pulumi.Input[str],
                   template: pulumi.Input['_core.v1.PodTemplateSpecArgs'],
                   pod_management_policy: Optional[pulumi.Input[str]] = None,
                   replicas: Optional[pulumi.Input[float]] = None,
                   revision_history_limit: Optional[pulumi.Input[float]] = None,
                   selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None,
                   update_strategy: Optional[pulumi.Input['StatefulSetUpdateStrategyArgs']] = None,
                   volume_claim_templates: Optional[pulumi.Input[List[pulumi.Input['_core.v1.PersistentVolumeClaimArgs']]]] = None):
          """
          A StatefulSetSpec is the specification of a StatefulSet.
          :param pulumi.Input[str] service_name: serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller.
          :param pulumi.Input['_core.v1.PodTemplateSpecArgs'] template: template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet.
          :param pulumi.Input[str] pod_management_policy: podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.
          :param pulumi.Input[float] replicas: replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.
          :param pulumi.Input[float] revision_history_limit: revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.
          :param pulumi.Input['_meta.v1.LabelSelectorArgs'] selector: selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
          :param pulumi.Input['StatefulSetUpdateStrategyArgs'] update_strategy: updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.
          :param pulumi.Input[List[pulumi.Input['_core.v1.PersistentVolumeClaimArgs']]] volume_claim_templates: volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.
          """
          pulumi.set(__self__, "service_name", service_name)
          pulumi.set(__self__, "template", template)
          if pod_management_policy is not None:
              pulumi.set(__self__, "pod_management_policy", pod_management_policy)
          if replicas is not None:
              pulumi.set(__self__, "replicas", replicas)
          if revision_history_limit is not None:
              pulumi.set(__self__, "revision_history_limit", revision_history_limit)
          if selector is not None:
              pulumi.set(__self__, "selector", selector)
          if update_strategy is not None:
              pulumi.set(__self__, "update_strategy", update_strategy)
          if volume_claim_templates is not None:
              pulumi.set(__self__, "volume_claim_templates", volume_claim_templates)
  
      @property
      @pulumi.getter(name="serviceName")
      def service_name(self) -> pulumi.Input[str]:
          """
          serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller.
          """
          return pulumi.get(self, "service_name")
  
      @service_name.setter
      def service_name(self, value: pulumi.Input[str]):
          pulumi.set(self, "service_name", value)
  
      @property
      @pulumi.getter
      def template(self) -> pulumi.Input['_core.v1.PodTemplateSpecArgs']:
          """
          template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet.
          """
          return pulumi.get(self, "template")
  
      @template.setter
      def template(self, value: pulumi.Input['_core.v1.PodTemplateSpecArgs']):
          pulumi.set(self, "template", value)
  
      @property
      @pulumi.getter(name="podManagementPolicy")
      def pod_management_policy(self) -> Optional[pulumi.Input[str]]:
          """
          podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.
          """
          return pulumi.get(self, "pod_management_policy")
  
      @pod_management_policy.setter
      def pod_management_policy(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "pod_management_policy", value)
  
      @property
      @pulumi.getter
      def replicas(self) -> Optional[pulumi.Input[float]]:
          """
          replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.
          """
          return pulumi.get(self, "replicas")
  
      @replicas.setter
      def replicas(self, value: Optional[pulumi.Input[float]]):
          pulumi.set(self, "replicas", value)
  
      @property
      @pulumi.getter(name="revisionHistoryLimit")
      def revision_history_limit(self) -> Optional[pulumi.Input[float]]:
          """
          revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.
          """
          return pulumi.get(self, "revision_history_limit")
  
      @revision_history_limit.setter
      def revision_history_limit(self, value: Optional[pulumi.Input[float]]):
          pulumi.set(self, "revision_history_limit", value)
  
      @property
      @pulumi.getter
      def selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]:
          """
          selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
          """
          return pulumi.get(self, "selector")
  
      @selector.setter
      def selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]):
          pulumi.set(self, "selector", value)
  
      @property
      @pulumi.getter(name="updateStrategy")
      def update_strategy(self) -> Optional[pulumi.Input['StatefulSetUpdateStrategyArgs']]:
          """
          updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.
          """
          return pulumi.get(self, "update_strategy")
  
      @update_strategy.setter
      def update_strategy(self, value: Optional[pulumi.Input['StatefulSetUpdateStrategyArgs']]):
          pulumi.set(self, "update_strategy", value)
  
      @property
      @pulumi.getter(name="volumeClaimTemplates")
      def volume_claim_templates(self) -> Optional[pulumi.Input[List[pulumi.Input['_core.v1.PersistentVolumeClaimArgs']]]]:
          """
          volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.
          """
          return pulumi.get(self, "volume_claim_templates")
  
      @volume_claim_templates.setter
      def volume_claim_templates(self, value: Optional[pulumi.Input[List[pulumi.Input['_core.v1.PersistentVolumeClaimArgs']]]]):
          pulumi.set(self, "volume_claim_templates", value)
  
  
  @pulumi.input_type
  class StatefulSetStatusArgs:
      def __init__(__self__, *,
                   replicas: pulumi.Input[float],
                   collision_count: Optional[pulumi.Input[float]] = None,
                   conditions: Optional[pulumi.Input[List[pulumi.Input['StatefulSetConditionArgs']]]] = None,
                   current_replicas: Optional[pulumi.Input[float]] = None,
                   current_revision: Optional[pulumi.Input[str]] = None,
                   observed_generation: Optional[pulumi.Input[float]] = None,
                   ready_replicas: Optional[pulumi.Input[float]] = None,
                   update_revision: Optional[pulumi.Input[str]] = None,
                   updated_replicas: Optional[pulumi.Input[float]] = None):
          """
          StatefulSetStatus represents the current state of a StatefulSet.
          :param pulumi.Input[float] replicas: replicas is the number of Pods created by the StatefulSet controller.
          :param pulumi.Input[float] collision_count: collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.
          :param pulumi.Input[List[pulumi.Input['StatefulSetConditionArgs']]] conditions: Represents the latest available observations of a statefulset's current state.
          :param pulumi.Input[float] current_replicas: currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.
          :param pulumi.Input[str] current_revision: currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
          :param pulumi.Input[float] observed_generation: observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.
          :param pulumi.Input[float] ready_replicas: readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.
          :param pulumi.Input[str] update_revision: updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)
          :param pulumi.Input[float] updated_replicas: updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.
          """
          pulumi.set(__self__, "replicas", replicas)
          if collision_count is not None:
              pulumi.set(__self__, "collision_count", collision_count)
          if conditions is not None:
              pulumi.set(__self__, "conditions", conditions)
          if current_replicas is not None:
              pulumi.set(__self__, "current_replicas", current_replicas)
          if current_revision is not None:
              pulumi.set(__self__, "current_revision", current_revision)
          if observed_generation is not None:
              pulumi.set(__self__, "observed_generation", observed_generation)
          if ready_replicas is not None:
              pulumi.set(__self__, "ready_replicas", ready_replicas)
          if update_revision is not None:
              pulumi.set(__self__, "update_revision", update_revision)
          if updated_replicas is not None:
              pulumi.set(__self__, "updated_replicas", updated_replicas)
  
      @property
      @pulumi.getter
      def replicas(self) -> pulumi.Input[float]:
          """
          replicas is the number of Pods created by the StatefulSet controller.
          """
          return pulumi.get(self, "replicas")
  
      @replicas.setter
      def replicas(self, value: pulumi.Input[float]):
          pulumi.set(self, "replicas", value)
  
      @property
      @pulumi.getter(name="collisionCount")
      def collision_count(self) -> Optional[pulumi.Input[float]]:
          """
          collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.
          """
          return pulumi.get(self, "collision_count")
  
      @collision_count.setter
      def collision_count(self, value: Optional[pulumi.Input[float]]):
          pulumi.set(self, "collision_count", value)
  
      @property
      @pulumi.getter
      def conditions(self) -> Optional[pulumi.Input[List[pulumi.Input['StatefulSetConditionArgs']]]]:
          """
          Represents the latest available observations of a statefulset's current state.
          """
          return pulumi.get(self, "conditions")
  
      @conditions.setter
      def conditions(self, value: Optional[pulumi.Input[List[pulumi.Input['StatefulSetConditionArgs']]]]):
          pulumi.set(self, "conditions", value)
  
      @property
      @pulumi.getter(name="currentReplicas")
      def current_replicas(self) -> Optional[pulumi.Input[float]]:
          """
          currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.
          """
          return pulumi.get(self, "current_replicas")
  
      @current_replicas.setter
      def current_replicas(self, value: Optional[pulumi.Input[float]]):
          pulumi.set(self, "current_replicas", value)
  
      @property
      @pulumi.getter(name="currentRevision")
      def current_revision(self) -> Optional[pulumi.Input[str]]:
          """
          currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
          """
          return pulumi.get(self, "current_revision")
  
      @current_revision.setter
      def current_revision(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "current_revision", value)
  
      @property
      @pulumi.getter(name="observedGeneration")
      def observed_generation(self) -> Optional[pulumi.Input[float]]:
          """
          observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.
          """
          return pulumi.get(self, "observed_generation")
  
      @observed_generation.setter
      def observed_generation(self, value: Optional[pulumi.Input[float]]):
          pulumi.set(self, "observed_generation", value)
  
      @property
      @pulumi.getter(name="readyReplicas")
      def ready_replicas(self) -> Optional[pulumi.Input[float]]:
          """
          readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.
          """
          return pulumi.get(self, "ready_replicas")
  
      @ready_replicas.setter
      def ready_replicas(self, value: Optional[pulumi.Input[float]]):
          pulumi.set(self, "ready_replicas", value)
  
      @property
      @pulumi.getter(name="updateRevision")
      def update_revision(self) -> Optional[pulumi.Input[str]]:
          """
          updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)
          """
          return pulumi.get(self, "update_revision")
  
      @update_revision.setter
      def update_revision(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "update_revision", value)
  
      @property
      @pulumi.getter(name="updatedReplicas")
      def updated_replicas(self) -> Optional[pulumi.Input[float]]:
          """
          updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.
          """
          return pulumi.get(self, "updated_replicas")
  
      @updated_replicas.setter
      def updated_replicas(self, value: Optional[pulumi.Input[float]]):
          pulumi.set(self, "updated_replicas", value)
  
  
  @pulumi.input_type
  class StatefulSetUpdateStrategyArgs:
      def __init__(__self__, *,
                   rolling_update: Optional[pulumi.Input['RollingUpdateStatefulSetStrategyArgs']] = None,
                   type: Optional[pulumi.Input[str]] = None):
          """
          StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy.
          :param pulumi.Input['RollingUpdateStatefulSetStrategyArgs'] rolling_update: RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.
          :param pulumi.Input[str] type: Type indicates the type of the StatefulSetUpdateStrategy.
          """
          if rolling_update is not None:
              pulumi.set(__self__, "rolling_update", rolling_update)
          if type is not None:
              pulumi.set(__self__, "type", type)
  
      @property
      @pulumi.getter(name="rollingUpdate")
      def rolling_update(self) -> Optional[pulumi.Input['RollingUpdateStatefulSetStrategyArgs']]:
          """
          RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.
          """
          return pulumi.get(self, "rolling_update")
  
      @rolling_update.setter
      def rolling_update(self, value: Optional[pulumi.Input['RollingUpdateStatefulSetStrategyArgs']]):
          pulumi.set(self, "rolling_update", value)
  
      @property
      @pulumi.getter
      def type(self) -> Optional[pulumi.Input[str]]:
          """
          Type indicates the type of the StatefulSetUpdateStrategy.
          """
          return pulumi.get(self, "type")
  
      @type.setter
      def type(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "type", value)
  
  
  