pulumi-kubernetes 4.17.0a1723576835__py3-none-any.whl → 4.26.0a1769215986__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_kubernetes/__init__.py +73 -2
- pulumi_kubernetes/_inputs.py +49 -49
- pulumi_kubernetes/_utilities.py +9 -5
- pulumi_kubernetes/admissionregistration/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfiguration.py +26 -25
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationList.py +26 -25
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationPatch.py +26 -25
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicy.py +27 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBinding.py +26 -25
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingList.py +26 -25
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingPatch.py +26 -25
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyList.py +26 -25
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyPatch.py +27 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfiguration.py +26 -25
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationList.py +26 -25
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationPatch.py +26 -25
- pulumi_kubernetes/admissionregistration/v1/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1/_inputs.py +721 -721
- pulumi_kubernetes/admissionregistration/v1/outputs.py +516 -516
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicy.py +215 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBinding.py +223 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingList.py +216 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingPatch.py +235 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyList.py +216 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyPatch.py +227 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicy.py +27 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding.py +26 -33
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingList.py +26 -25
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingPatch.py +26 -33
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyList.py +26 -25
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyPatch.py +27 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/__init__.py +7 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/_inputs.py +2219 -716
- pulumi_kubernetes/admissionregistration/v1alpha1/outputs.py +1649 -530
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfiguration.py +26 -25
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationList.py +26 -25
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationPatch.py +26 -25
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicy.py +27 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBinding.py +26 -25
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingList.py +26 -25
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingPatch.py +26 -25
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyList.py +26 -25
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyPatch.py +27 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfiguration.py +26 -25
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.py +26 -25
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationPatch.py +26 -25
- pulumi_kubernetes/admissionregistration/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1beta1/_inputs.py +717 -717
- pulumi_kubernetes/admissionregistration/v1beta1/outputs.py +512 -512
- pulumi_kubernetes/apiextensions/__init__.py +1 -0
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinition.py +27 -26
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionList.py +26 -25
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionPatch.py +27 -26
- pulumi_kubernetes/apiextensions/v1/__init__.py +1 -0
- pulumi_kubernetes/apiextensions/v1/_inputs.py +912 -912
- pulumi_kubernetes/apiextensions/v1/outputs.py +624 -624
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinition.py +27 -26
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionList.py +26 -25
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionPatch.py +27 -26
- pulumi_kubernetes/apiextensions/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/apiextensions/v1beta1/_inputs.py +834 -834
- pulumi_kubernetes/apiextensions/v1beta1/outputs.py +572 -572
- pulumi_kubernetes/apiregistration/__init__.py +1 -0
- pulumi_kubernetes/apiregistration/v1/APIService.py +27 -26
- pulumi_kubernetes/apiregistration/v1/APIServiceList.py +26 -25
- pulumi_kubernetes/apiregistration/v1/APIServicePatch.py +27 -26
- pulumi_kubernetes/apiregistration/v1/__init__.py +1 -0
- pulumi_kubernetes/apiregistration/v1/_inputs.py +157 -157
- pulumi_kubernetes/apiregistration/v1/outputs.py +128 -128
- pulumi_kubernetes/apiregistration/v1beta1/APIService.py +27 -26
- pulumi_kubernetes/apiregistration/v1beta1/APIServiceList.py +26 -25
- pulumi_kubernetes/apiregistration/v1beta1/APIServicePatch.py +27 -26
- pulumi_kubernetes/apiregistration/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/apiregistration/v1beta1/_inputs.py +157 -157
- pulumi_kubernetes/apiregistration/v1beta1/outputs.py +128 -128
- pulumi_kubernetes/apps/__init__.py +1 -0
- pulumi_kubernetes/apps/v1/ControllerRevision.py +36 -35
- pulumi_kubernetes/apps/v1/ControllerRevisionList.py +26 -25
- pulumi_kubernetes/apps/v1/ControllerRevisionPatch.py +36 -35
- pulumi_kubernetes/apps/v1/DaemonSet.py +27 -26
- pulumi_kubernetes/apps/v1/DaemonSetList.py +26 -25
- pulumi_kubernetes/apps/v1/DaemonSetPatch.py +27 -26
- pulumi_kubernetes/apps/v1/Deployment.py +27 -26
- pulumi_kubernetes/apps/v1/DeploymentList.py +26 -25
- pulumi_kubernetes/apps/v1/DeploymentPatch.py +27 -26
- pulumi_kubernetes/apps/v1/ReplicaSet.py +27 -26
- pulumi_kubernetes/apps/v1/ReplicaSetList.py +30 -29
- pulumi_kubernetes/apps/v1/ReplicaSetPatch.py +27 -26
- pulumi_kubernetes/apps/v1/StatefulSet.py +27 -26
- pulumi_kubernetes/apps/v1/StatefulSetList.py +26 -25
- pulumi_kubernetes/apps/v1/StatefulSetPatch.py +27 -26
- pulumi_kubernetes/apps/v1/__init__.py +1 -0
- pulumi_kubernetes/apps/v1/_inputs.py +835 -782
- pulumi_kubernetes/apps/v1/outputs.py +806 -733
- pulumi_kubernetes/apps/v1beta1/ControllerRevision.py +36 -35
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionList.py +26 -25
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionPatch.py +36 -35
- pulumi_kubernetes/apps/v1beta1/Deployment.py +27 -26
- pulumi_kubernetes/apps/v1beta1/DeploymentList.py +26 -25
- pulumi_kubernetes/apps/v1beta1/DeploymentPatch.py +27 -26
- pulumi_kubernetes/apps/v1beta1/StatefulSet.py +27 -26
- pulumi_kubernetes/apps/v1beta1/StatefulSetList.py +26 -25
- pulumi_kubernetes/apps/v1beta1/StatefulSetPatch.py +27 -26
- pulumi_kubernetes/apps/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/apps/v1beta1/_inputs.py +409 -409
- pulumi_kubernetes/apps/v1beta1/outputs.py +381 -381
- pulumi_kubernetes/apps/v1beta2/ControllerRevision.py +36 -35
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionList.py +26 -25
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionPatch.py +36 -35
- pulumi_kubernetes/apps/v1beta2/DaemonSet.py +27 -26
- pulumi_kubernetes/apps/v1beta2/DaemonSetList.py +26 -25
- pulumi_kubernetes/apps/v1beta2/DaemonSetPatch.py +27 -26
- pulumi_kubernetes/apps/v1beta2/Deployment.py +27 -26
- pulumi_kubernetes/apps/v1beta2/DeploymentList.py +26 -25
- pulumi_kubernetes/apps/v1beta2/DeploymentPatch.py +27 -26
- pulumi_kubernetes/apps/v1beta2/ReplicaSet.py +27 -26
- pulumi_kubernetes/apps/v1beta2/ReplicaSetList.py +26 -25
- pulumi_kubernetes/apps/v1beta2/ReplicaSetPatch.py +27 -26
- pulumi_kubernetes/apps/v1beta2/StatefulSet.py +27 -26
- pulumi_kubernetes/apps/v1beta2/StatefulSetList.py +26 -25
- pulumi_kubernetes/apps/v1beta2/StatefulSetPatch.py +27 -26
- pulumi_kubernetes/apps/v1beta2/__init__.py +1 -0
- pulumi_kubernetes/apps/v1beta2/_inputs.py +655 -655
- pulumi_kubernetes/apps/v1beta2/outputs.py +645 -645
- pulumi_kubernetes/auditregistration/__init__.py +1 -0
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSink.py +26 -25
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkList.py +26 -25
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkPatch.py +26 -25
- pulumi_kubernetes/auditregistration/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/auditregistration/v1alpha1/_inputs.py +145 -145
- pulumi_kubernetes/auditregistration/v1alpha1/outputs.py +101 -101
- pulumi_kubernetes/autoscaling/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscaler.py +27 -26
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerList.py +26 -25
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerPatch.py +27 -26
- pulumi_kubernetes/autoscaling/v1/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v1/_inputs.py +120 -120
- pulumi_kubernetes/autoscaling/v1/outputs.py +102 -102
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscaler.py +27 -26
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerList.py +26 -25
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerPatch.py +27 -26
- pulumi_kubernetes/autoscaling/v2/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v2/_inputs.py +500 -420
- pulumi_kubernetes/autoscaling/v2/outputs.py +438 -382
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscaler.py +27 -26
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerList.py +26 -25
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerPatch.py +27 -26
- pulumi_kubernetes/autoscaling/v2beta1/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v2beta1/_inputs.py +451 -451
- pulumi_kubernetes/autoscaling/v2beta1/outputs.py +424 -424
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscaler.py +27 -26
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerList.py +26 -25
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerPatch.py +27 -26
- pulumi_kubernetes/autoscaling/v2beta2/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v2beta2/_inputs.py +398 -398
- pulumi_kubernetes/autoscaling/v2beta2/outputs.py +366 -366
- pulumi_kubernetes/batch/__init__.py +1 -0
- pulumi_kubernetes/batch/v1/CronJob.py +27 -26
- pulumi_kubernetes/batch/v1/CronJobList.py +26 -25
- pulumi_kubernetes/batch/v1/CronJobPatch.py +27 -26
- pulumi_kubernetes/batch/v1/Job.py +27 -26
- pulumi_kubernetes/batch/v1/JobList.py +26 -25
- pulumi_kubernetes/batch/v1/JobPatch.py +27 -26
- pulumi_kubernetes/batch/v1/__init__.py +1 -0
- pulumi_kubernetes/batch/v1/_inputs.py +508 -538
- pulumi_kubernetes/batch/v1/outputs.py +427 -451
- pulumi_kubernetes/batch/v1beta1/CronJob.py +27 -26
- pulumi_kubernetes/batch/v1beta1/CronJobList.py +26 -25
- pulumi_kubernetes/batch/v1beta1/CronJobPatch.py +27 -26
- pulumi_kubernetes/batch/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/batch/v1beta1/_inputs.py +101 -101
- pulumi_kubernetes/batch/v1beta1/outputs.py +76 -76
- pulumi_kubernetes/batch/v2alpha1/CronJob.py +27 -26
- pulumi_kubernetes/batch/v2alpha1/CronJobList.py +26 -25
- pulumi_kubernetes/batch/v2alpha1/CronJobPatch.py +27 -26
- pulumi_kubernetes/batch/v2alpha1/__init__.py +1 -0
- pulumi_kubernetes/batch/v2alpha1/_inputs.py +101 -101
- pulumi_kubernetes/batch/v2alpha1/outputs.py +76 -76
- pulumi_kubernetes/certificates/__init__.py +1 -0
- pulumi_kubernetes/certificates/v1/CertificateSigningRequest.py +27 -26
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestList.py +26 -25
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestPatch.py +27 -26
- pulumi_kubernetes/certificates/v1/__init__.py +1 -0
- pulumi_kubernetes/certificates/v1/_inputs.py +155 -155
- pulumi_kubernetes/certificates/v1/outputs.py +134 -134
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundle.py +28 -25
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundleList.py +26 -25
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundlePatch.py +28 -25
- pulumi_kubernetes/certificates/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/certificates/v1alpha1/_inputs.py +39 -39
- pulumi_kubernetes/certificates/v1alpha1/outputs.py +27 -27
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequest.py +27 -26
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestList.py +26 -25
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestPatch.py +27 -26
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundle.py +226 -0
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundleList.py +216 -0
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundlePatch.py +237 -0
- pulumi_kubernetes/certificates/v1beta1/__init__.py +4 -0
- pulumi_kubernetes/certificates/v1beta1/_inputs.py +436 -144
- pulumi_kubernetes/certificates/v1beta1/outputs.py +369 -128
- pulumi_kubernetes/coordination/__init__.py +4 -0
- pulumi_kubernetes/coordination/v1/Lease.py +26 -25
- pulumi_kubernetes/coordination/v1/LeaseList.py +26 -25
- pulumi_kubernetes/coordination/v1/LeasePatch.py +26 -25
- pulumi_kubernetes/coordination/v1/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1/_inputs.py +99 -99
- pulumi_kubernetes/coordination/v1/outputs.py +67 -67
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidate.py +28 -25
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidateList.py +26 -25
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidatePatch.py +28 -25
- pulumi_kubernetes/coordination/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1alpha1/_inputs.py +87 -87
- pulumi_kubernetes/coordination/v1alpha1/outputs.py +59 -59
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidate.py +217 -0
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidateList.py +216 -0
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidatePatch.py +229 -0
- pulumi_kubernetes/coordination/v1alpha2/__init__.py +13 -0
- pulumi_kubernetes/coordination/v1alpha2/_inputs.py +393 -0
- pulumi_kubernetes/coordination/v1alpha2/outputs.py +313 -0
- pulumi_kubernetes/coordination/v1beta1/Lease.py +26 -25
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidate.py +217 -0
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidateList.py +216 -0
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidatePatch.py +229 -0
- pulumi_kubernetes/coordination/v1beta1/LeaseList.py +26 -25
- pulumi_kubernetes/coordination/v1beta1/LeasePatch.py +26 -25
- pulumi_kubernetes/coordination/v1beta1/__init__.py +4 -0
- pulumi_kubernetes/coordination/v1beta1/_inputs.py +446 -75
- pulumi_kubernetes/coordination/v1beta1/outputs.py +343 -51
- pulumi_kubernetes/core/__init__.py +1 -0
- pulumi_kubernetes/core/v1/Binding.py +28 -27
- pulumi_kubernetes/core/v1/BindingPatch.py +28 -27
- pulumi_kubernetes/core/v1/ConfigMap.py +54 -53
- pulumi_kubernetes/core/v1/ConfigMapList.py +26 -25
- pulumi_kubernetes/core/v1/ConfigMapPatch.py +54 -53
- pulumi_kubernetes/core/v1/Endpoints.py +34 -25
- pulumi_kubernetes/core/v1/EndpointsList.py +28 -27
- pulumi_kubernetes/core/v1/EndpointsPatch.py +34 -25
- pulumi_kubernetes/core/v1/Event.py +132 -131
- pulumi_kubernetes/core/v1/EventList.py +26 -25
- pulumi_kubernetes/core/v1/EventPatch.py +132 -131
- pulumi_kubernetes/core/v1/LimitRange.py +26 -25
- pulumi_kubernetes/core/v1/LimitRangeList.py +26 -25
- pulumi_kubernetes/core/v1/LimitRangePatch.py +26 -25
- pulumi_kubernetes/core/v1/Namespace.py +27 -26
- pulumi_kubernetes/core/v1/NamespaceList.py +26 -25
- pulumi_kubernetes/core/v1/NamespacePatch.py +27 -26
- pulumi_kubernetes/core/v1/Node.py +27 -26
- pulumi_kubernetes/core/v1/NodeList.py +26 -25
- pulumi_kubernetes/core/v1/NodePatch.py +27 -26
- pulumi_kubernetes/core/v1/PersistentVolume.py +27 -26
- pulumi_kubernetes/core/v1/PersistentVolumeClaim.py +27 -26
- pulumi_kubernetes/core/v1/PersistentVolumeClaimList.py +26 -25
- pulumi_kubernetes/core/v1/PersistentVolumeClaimPatch.py +27 -26
- pulumi_kubernetes/core/v1/PersistentVolumeList.py +26 -25
- pulumi_kubernetes/core/v1/PersistentVolumePatch.py +27 -26
- pulumi_kubernetes/core/v1/Pod.py +27 -26
- pulumi_kubernetes/core/v1/PodList.py +26 -25
- pulumi_kubernetes/core/v1/PodPatch.py +27 -26
- pulumi_kubernetes/core/v1/PodTemplate.py +26 -25
- pulumi_kubernetes/core/v1/PodTemplateList.py +26 -25
- pulumi_kubernetes/core/v1/PodTemplatePatch.py +26 -25
- pulumi_kubernetes/core/v1/ReplicationController.py +27 -26
- pulumi_kubernetes/core/v1/ReplicationControllerList.py +26 -25
- pulumi_kubernetes/core/v1/ReplicationControllerPatch.py +27 -26
- pulumi_kubernetes/core/v1/ResourceQuota.py +27 -26
- pulumi_kubernetes/core/v1/ResourceQuotaList.py +26 -25
- pulumi_kubernetes/core/v1/ResourceQuotaPatch.py +27 -26
- pulumi_kubernetes/core/v1/Secret.py +64 -63
- pulumi_kubernetes/core/v1/SecretList.py +26 -25
- pulumi_kubernetes/core/v1/SecretPatch.py +68 -65
- pulumi_kubernetes/core/v1/Service.py +33 -48
- pulumi_kubernetes/core/v1/ServiceAccount.py +42 -41
- pulumi_kubernetes/core/v1/ServiceAccountList.py +26 -25
- pulumi_kubernetes/core/v1/ServiceAccountPatch.py +42 -41
- pulumi_kubernetes/core/v1/ServiceList.py +26 -25
- pulumi_kubernetes/core/v1/ServicePatch.py +33 -48
- pulumi_kubernetes/core/v1/__init__.py +1 -0
- pulumi_kubernetes/core/v1/_enums.py +4 -1
- pulumi_kubernetes/core/v1/_inputs.py +7862 -7453
- pulumi_kubernetes/core/v1/outputs.py +5980 -5608
- pulumi_kubernetes/discovery/__init__.py +1 -0
- pulumi_kubernetes/discovery/v1/EndpointSlice.py +46 -45
- pulumi_kubernetes/discovery/v1/EndpointSliceList.py +26 -25
- pulumi_kubernetes/discovery/v1/EndpointSlicePatch.py +46 -45
- pulumi_kubernetes/discovery/v1/__init__.py +1 -0
- pulumi_kubernetes/discovery/v1/_inputs.py +334 -219
- pulumi_kubernetes/discovery/v1/outputs.py +224 -149
- pulumi_kubernetes/discovery/v1beta1/EndpointSlice.py +38 -37
- pulumi_kubernetes/discovery/v1beta1/EndpointSliceList.py +26 -25
- pulumi_kubernetes/discovery/v1beta1/EndpointSlicePatch.py +38 -37
- pulumi_kubernetes/discovery/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/discovery/v1beta1/_inputs.py +158 -158
- pulumi_kubernetes/discovery/v1beta1/outputs.py +108 -108
- pulumi_kubernetes/events/__init__.py +1 -0
- pulumi_kubernetes/events/v1/Event.py +132 -131
- pulumi_kubernetes/events/v1/EventList.py +26 -25
- pulumi_kubernetes/events/v1/EventPatch.py +132 -131
- pulumi_kubernetes/events/v1/__init__.py +1 -0
- pulumi_kubernetes/events/v1/_inputs.py +102 -102
- pulumi_kubernetes/events/v1/outputs.py +70 -70
- pulumi_kubernetes/events/v1beta1/Event.py +132 -131
- pulumi_kubernetes/events/v1beta1/EventList.py +26 -25
- pulumi_kubernetes/events/v1beta1/EventPatch.py +132 -131
- pulumi_kubernetes/events/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/events/v1beta1/_inputs.py +114 -114
- pulumi_kubernetes/events/v1beta1/outputs.py +78 -78
- pulumi_kubernetes/extensions/__init__.py +1 -0
- pulumi_kubernetes/extensions/v1beta1/DaemonSet.py +27 -26
- pulumi_kubernetes/extensions/v1beta1/DaemonSetList.py +26 -25
- pulumi_kubernetes/extensions/v1beta1/DaemonSetPatch.py +27 -26
- pulumi_kubernetes/extensions/v1beta1/Deployment.py +27 -26
- pulumi_kubernetes/extensions/v1beta1/DeploymentList.py +26 -25
- pulumi_kubernetes/extensions/v1beta1/DeploymentPatch.py +27 -26
- pulumi_kubernetes/extensions/v1beta1/Ingress.py +27 -26
- pulumi_kubernetes/extensions/v1beta1/IngressList.py +26 -25
- pulumi_kubernetes/extensions/v1beta1/IngressPatch.py +27 -26
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicy.py +26 -25
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyList.py +26 -25
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyPatch.py +26 -25
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicy.py +26 -25
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyList.py +26 -25
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyPatch.py +26 -25
- pulumi_kubernetes/extensions/v1beta1/ReplicaSet.py +27 -26
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetList.py +26 -25
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetPatch.py +27 -26
- pulumi_kubernetes/extensions/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/extensions/v1beta1/_inputs.py +1097 -1097
- pulumi_kubernetes/extensions/v1beta1/outputs.py +899 -899
- pulumi_kubernetes/flowcontrol/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1/FlowSchema.py +27 -26
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaList.py +26 -25
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaPatch.py +27 -26
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfiguration.py +27 -26
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationList.py +26 -25
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationPatch.py +27 -26
- pulumi_kubernetes/flowcontrol/v1/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1/_inputs.py +419 -419
- pulumi_kubernetes/flowcontrol/v1/outputs.py +333 -333
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchema.py +27 -26
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaList.py +26 -25
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaPatch.py +27 -26
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfiguration.py +27 -26
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationList.py +26 -25
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationPatch.py +27 -26
- pulumi_kubernetes/flowcontrol/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1alpha1/_inputs.py +369 -369
- pulumi_kubernetes/flowcontrol/v1alpha1/outputs.py +299 -299
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchema.py +27 -26
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaList.py +26 -25
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaPatch.py +27 -26
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfiguration.py +27 -26
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationList.py +26 -25
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationPatch.py +27 -26
- pulumi_kubernetes/flowcontrol/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1beta1/_inputs.py +369 -369
- pulumi_kubernetes/flowcontrol/v1beta1/outputs.py +299 -299
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchema.py +27 -26
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaList.py +26 -25
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaPatch.py +27 -26
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfiguration.py +27 -26
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationList.py +26 -25
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationPatch.py +27 -26
- pulumi_kubernetes/flowcontrol/v1beta2/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1beta2/_inputs.py +419 -419
- pulumi_kubernetes/flowcontrol/v1beta2/outputs.py +333 -333
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchema.py +27 -26
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaList.py +26 -25
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaPatch.py +27 -26
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfiguration.py +27 -26
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationList.py +26 -25
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationPatch.py +27 -26
- pulumi_kubernetes/flowcontrol/v1beta3/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1beta3/_inputs.py +431 -431
- pulumi_kubernetes/flowcontrol/v1beta3/outputs.py +341 -341
- pulumi_kubernetes/helm/__init__.py +1 -0
- pulumi_kubernetes/helm/v3/Release.py +317 -316
- pulumi_kubernetes/helm/v3/__init__.py +1 -0
- pulumi_kubernetes/helm/v3/_inputs.py +39 -39
- pulumi_kubernetes/helm/v3/outputs.py +55 -55
- pulumi_kubernetes/helm/v4/Chart.py +114 -87
- pulumi_kubernetes/helm/v4/__init__.py +1 -0
- pulumi_kubernetes/helm/v4/_inputs.py +36 -36
- pulumi_kubernetes/kustomize/__init__.py +1 -0
- pulumi_kubernetes/kustomize/v2/Directory.py +36 -35
- pulumi_kubernetes/kustomize/v2/__init__.py +1 -0
- pulumi_kubernetes/meta/__init__.py +1 -0
- pulumi_kubernetes/meta/v1/Status.py +58 -57
- pulumi_kubernetes/meta/v1/StatusPatch.py +58 -57
- pulumi_kubernetes/meta/v1/__init__.py +1 -0
- pulumi_kubernetes/meta/v1/_inputs.py +551 -551
- pulumi_kubernetes/meta/v1/outputs.py +395 -395
- pulumi_kubernetes/networking/__init__.py +1 -0
- pulumi_kubernetes/networking/v1/IPAddress.py +217 -0
- pulumi_kubernetes/networking/v1/IPAddressList.py +216 -0
- pulumi_kubernetes/networking/v1/IPAddressPatch.py +229 -0
- pulumi_kubernetes/networking/v1/Ingress.py +27 -26
- pulumi_kubernetes/networking/v1/IngressClass.py +26 -25
- pulumi_kubernetes/networking/v1/IngressClassList.py +26 -25
- pulumi_kubernetes/networking/v1/IngressClassPatch.py +26 -25
- pulumi_kubernetes/networking/v1/IngressList.py +26 -25
- pulumi_kubernetes/networking/v1/IngressPatch.py +27 -26
- pulumi_kubernetes/networking/v1/NetworkPolicy.py +27 -26
- pulumi_kubernetes/networking/v1/NetworkPolicyList.py +26 -25
- pulumi_kubernetes/networking/v1/NetworkPolicyPatch.py +27 -26
- pulumi_kubernetes/networking/v1/ServiceCIDR.py +227 -0
- pulumi_kubernetes/networking/v1/ServiceCIDRList.py +216 -0
- pulumi_kubernetes/networking/v1/ServiceCIDRPatch.py +239 -0
- pulumi_kubernetes/networking/v1/__init__.py +7 -0
- pulumi_kubernetes/networking/v1/_inputs.py +970 -371
- pulumi_kubernetes/networking/v1/outputs.py +746 -285
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDR.py +26 -25
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRList.py +26 -25
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRPatch.py +26 -25
- pulumi_kubernetes/networking/v1alpha1/IPAddress.py +27 -26
- pulumi_kubernetes/networking/v1alpha1/IPAddressList.py +26 -25
- pulumi_kubernetes/networking/v1alpha1/IPAddressPatch.py +27 -26
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDR.py +28 -27
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRList.py +26 -25
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRPatch.py +28 -27
- pulumi_kubernetes/networking/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/networking/v1alpha1/_inputs.py +157 -157
- pulumi_kubernetes/networking/v1alpha1/outputs.py +110 -110
- pulumi_kubernetes/networking/v1beta1/IPAddress.py +27 -26
- pulumi_kubernetes/networking/v1beta1/IPAddressList.py +26 -25
- pulumi_kubernetes/networking/v1beta1/IPAddressPatch.py +27 -26
- pulumi_kubernetes/networking/v1beta1/Ingress.py +27 -26
- pulumi_kubernetes/networking/v1beta1/IngressClass.py +26 -25
- pulumi_kubernetes/networking/v1beta1/IngressClassList.py +26 -25
- pulumi_kubernetes/networking/v1beta1/IngressClassPatch.py +26 -25
- pulumi_kubernetes/networking/v1beta1/IngressList.py +26 -25
- pulumi_kubernetes/networking/v1beta1/IngressPatch.py +27 -26
- pulumi_kubernetes/networking/v1beta1/ServiceCIDR.py +28 -27
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRList.py +26 -25
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRPatch.py +28 -27
- pulumi_kubernetes/networking/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/networking/v1beta1/_inputs.py +247 -247
- pulumi_kubernetes/networking/v1beta1/outputs.py +173 -173
- pulumi_kubernetes/node/__init__.py +1 -0
- pulumi_kubernetes/node/v1/RuntimeClass.py +38 -37
- pulumi_kubernetes/node/v1/RuntimeClassList.py +26 -25
- pulumi_kubernetes/node/v1/RuntimeClassPatch.py +38 -37
- pulumi_kubernetes/node/v1/__init__.py +1 -0
- pulumi_kubernetes/node/v1/_inputs.py +48 -48
- pulumi_kubernetes/node/v1/outputs.py +34 -34
- pulumi_kubernetes/node/v1alpha1/RuntimeClass.py +26 -25
- pulumi_kubernetes/node/v1alpha1/RuntimeClassList.py +26 -25
- pulumi_kubernetes/node/v1alpha1/RuntimeClassPatch.py +26 -25
- pulumi_kubernetes/node/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/node/v1alpha1/_inputs.py +57 -57
- pulumi_kubernetes/node/v1alpha1/outputs.py +41 -41
- pulumi_kubernetes/node/v1beta1/RuntimeClass.py +38 -37
- pulumi_kubernetes/node/v1beta1/RuntimeClassList.py +26 -25
- pulumi_kubernetes/node/v1beta1/RuntimeClassPatch.py +38 -37
- pulumi_kubernetes/node/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/node/v1beta1/_inputs.py +48 -48
- pulumi_kubernetes/node/v1beta1/outputs.py +34 -34
- pulumi_kubernetes/policy/__init__.py +1 -0
- pulumi_kubernetes/policy/v1/PodDisruptionBudget.py +27 -26
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetList.py +26 -25
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetPatch.py +27 -26
- pulumi_kubernetes/policy/v1/__init__.py +1 -0
- pulumi_kubernetes/policy/v1/_inputs.py +91 -103
- pulumi_kubernetes/policy/v1/outputs.py +80 -88
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudget.py +27 -26
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetList.py +26 -25
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetPatch.py +27 -26
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicy.py +26 -25
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyList.py +26 -25
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyPatch.py +26 -25
- pulumi_kubernetes/policy/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/policy/v1beta1/_inputs.py +470 -470
- pulumi_kubernetes/policy/v1beta1/outputs.py +342 -342
- pulumi_kubernetes/provider.py +139 -99
- pulumi_kubernetes/pulumi-plugin.json +1 -1
- pulumi_kubernetes/rbac/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1/ClusterRole.py +28 -27
- pulumi_kubernetes/rbac/v1/ClusterRoleBinding.py +28 -27
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingList.py +26 -25
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingPatch.py +28 -27
- pulumi_kubernetes/rbac/v1/ClusterRoleList.py +26 -25
- pulumi_kubernetes/rbac/v1/ClusterRolePatch.py +28 -27
- pulumi_kubernetes/rbac/v1/Role.py +26 -25
- pulumi_kubernetes/rbac/v1/RoleBinding.py +28 -27
- pulumi_kubernetes/rbac/v1/RoleBindingList.py +26 -25
- pulumi_kubernetes/rbac/v1/RoleBindingPatch.py +28 -27
- pulumi_kubernetes/rbac/v1/RoleList.py +26 -25
- pulumi_kubernetes/rbac/v1/RolePatch.py +26 -25
- pulumi_kubernetes/rbac/v1/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1/_inputs.py +206 -206
- pulumi_kubernetes/rbac/v1/outputs.py +142 -142
- pulumi_kubernetes/rbac/v1alpha1/ClusterRole.py +28 -27
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBinding.py +28 -27
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingList.py +26 -25
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingPatch.py +28 -27
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleList.py +26 -25
- pulumi_kubernetes/rbac/v1alpha1/ClusterRolePatch.py +28 -27
- pulumi_kubernetes/rbac/v1alpha1/Role.py +26 -25
- pulumi_kubernetes/rbac/v1alpha1/RoleBinding.py +28 -27
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingList.py +26 -25
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingPatch.py +28 -27
- pulumi_kubernetes/rbac/v1alpha1/RoleList.py +26 -25
- pulumi_kubernetes/rbac/v1alpha1/RolePatch.py +26 -25
- pulumi_kubernetes/rbac/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1alpha1/_inputs.py +206 -206
- pulumi_kubernetes/rbac/v1alpha1/outputs.py +142 -142
- pulumi_kubernetes/rbac/v1beta1/ClusterRole.py +28 -27
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBinding.py +28 -27
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingList.py +26 -25
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingPatch.py +28 -27
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleList.py +26 -25
- pulumi_kubernetes/rbac/v1beta1/ClusterRolePatch.py +28 -27
- pulumi_kubernetes/rbac/v1beta1/Role.py +26 -25
- pulumi_kubernetes/rbac/v1beta1/RoleBinding.py +28 -27
- pulumi_kubernetes/rbac/v1beta1/RoleBindingList.py +26 -25
- pulumi_kubernetes/rbac/v1beta1/RoleBindingPatch.py +28 -27
- pulumi_kubernetes/rbac/v1beta1/RoleList.py +26 -25
- pulumi_kubernetes/rbac/v1beta1/RolePatch.py +26 -25
- pulumi_kubernetes/rbac/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1beta1/_inputs.py +206 -206
- pulumi_kubernetes/rbac/v1beta1/outputs.py +142 -142
- pulumi_kubernetes/resource/__init__.py +7 -0
- pulumi_kubernetes/resource/v1alpha1/PodScheduling.py +27 -26
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingList.py +26 -25
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingPatch.py +27 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +28 -27
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimList.py +26 -25
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +28 -27
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +27 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplateList.py +26 -25
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +27 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClass.py +38 -37
- pulumi_kubernetes/resource/v1alpha1/ResourceClassList.py +26 -25
- pulumi_kubernetes/resource/v1alpha1/ResourceClassPatch.py +38 -37
- pulumi_kubernetes/resource/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/resource/v1alpha1/_inputs.py +268 -268
- pulumi_kubernetes/resource/v1alpha1/outputs.py +230 -230
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContext.py +27 -26
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextList.py +26 -25
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextPatch.py +27 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +28 -27
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimList.py +26 -25
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParameters.py +38 -37
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersList.py +26 -25
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersPatch.py +38 -37
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +28 -27
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +27 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplateList.py +26 -25
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +27 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClass.py +48 -47
- pulumi_kubernetes/resource/v1alpha2/ResourceClassList.py +26 -25
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParameters.py +30 -29
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersList.py +26 -25
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersPatch.py +30 -29
- pulumi_kubernetes/resource/v1alpha2/ResourceClassPatch.py +48 -47
- pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +47 -46
- pulumi_kubernetes/resource/v1alpha2/ResourceSliceList.py +26 -25
- pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +47 -46
- pulumi_kubernetes/resource/v1alpha2/__init__.py +1 -0
- pulumi_kubernetes/resource/v1alpha2/_inputs.py +550 -550
- pulumi_kubernetes/resource/v1alpha2/outputs.py +449 -449
- pulumi_kubernetes/resource/v1alpha3/DeviceClass.py +28 -25
- pulumi_kubernetes/resource/v1alpha3/DeviceClassList.py +26 -25
- pulumi_kubernetes/resource/v1alpha3/DeviceClassPatch.py +28 -25
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRule.py +224 -0
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRuleList.py +216 -0
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRulePatch.py +235 -0
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContext.py +27 -26
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextList.py +26 -25
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextPatch.py +27 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceClaim.py +28 -27
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimList.py +26 -25
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimPatch.py +28 -27
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplate.py +27 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplateList.py +26 -25
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplatePatch.py +27 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceSlice.py +34 -33
- pulumi_kubernetes/resource/v1alpha3/ResourceSliceList.py +246 -0
- pulumi_kubernetes/resource/v1alpha3/ResourceSlicePatch.py +27 -26
- pulumi_kubernetes/resource/v1alpha3/__init__.py +5 -0
- pulumi_kubernetes/resource/v1alpha3/_inputs.py +3400 -606
- pulumi_kubernetes/resource/v1alpha3/outputs.py +2933 -565
- pulumi_kubernetes/resource/v1beta1/DeviceClass.py +238 -0
- pulumi_kubernetes/resource/v1beta1/DeviceClassList.py +216 -0
- pulumi_kubernetes/resource/v1beta1/DeviceClassPatch.py +249 -0
- pulumi_kubernetes/resource/v1beta1/ResourceClaim.py +233 -0
- pulumi_kubernetes/resource/v1beta1/ResourceClaimList.py +217 -0
- pulumi_kubernetes/resource/v1beta1/ResourceClaimPatch.py +244 -0
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplate.py +230 -0
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplateList.py +216 -0
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplatePatch.py +241 -0
- pulumi_kubernetes/resource/v1beta1/ResourceSlice.py +247 -0
- pulumi_kubernetes/resource/v1beta1/ResourceSliceList.py +217 -0
- pulumi_kubernetes/resource/v1beta1/ResourceSlicePatch.py +258 -0
- pulumi_kubernetes/resource/v1beta1/__init__.py +22 -0
- pulumi_kubernetes/resource/v1beta1/_inputs.py +5735 -0
- pulumi_kubernetes/resource/v1beta1/outputs.py +4736 -0
- pulumi_kubernetes/resource/v1beta2/DeviceClass.py +238 -0
- pulumi_kubernetes/resource/v1beta2/DeviceClassList.py +216 -0
- pulumi_kubernetes/resource/v1beta2/DeviceClassPatch.py +249 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaim.py +233 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimList.py +217 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimPatch.py +244 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplate.py +230 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplateList.py +216 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplatePatch.py +241 -0
- pulumi_kubernetes/resource/v1beta2/ResourceSlice.py +247 -0
- pulumi_kubernetes/resource/v1beta2/ResourceSliceList.py +217 -0
- pulumi_kubernetes/resource/v1beta2/ResourceSlicePatch.py +258 -0
- pulumi_kubernetes/resource/v1beta2/__init__.py +22 -0
- pulumi_kubernetes/resource/v1beta2/_inputs.py +5680 -0
- pulumi_kubernetes/resource/v1beta2/outputs.py +4725 -0
- pulumi_kubernetes/scheduling/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1/PriorityClass.py +64 -63
- pulumi_kubernetes/scheduling/v1/PriorityClassList.py +26 -25
- pulumi_kubernetes/scheduling/v1/PriorityClassPatch.py +64 -63
- pulumi_kubernetes/scheduling/v1/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1/_inputs.py +38 -38
- pulumi_kubernetes/scheduling/v1/outputs.py +26 -26
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClass.py +64 -63
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassList.py +26 -25
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassPatch.py +64 -63
- pulumi_kubernetes/scheduling/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1alpha1/_inputs.py +38 -38
- pulumi_kubernetes/scheduling/v1alpha1/outputs.py +26 -26
- pulumi_kubernetes/scheduling/v1beta1/PriorityClass.py +64 -63
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassList.py +26 -25
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassPatch.py +64 -63
- pulumi_kubernetes/scheduling/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1beta1/_inputs.py +38 -38
- pulumi_kubernetes/scheduling/v1beta1/outputs.py +26 -26
- pulumi_kubernetes/settings/__init__.py +1 -0
- pulumi_kubernetes/settings/v1alpha1/PodPreset.py +26 -25
- pulumi_kubernetes/settings/v1alpha1/PodPresetList.py +26 -25
- pulumi_kubernetes/settings/v1alpha1/PodPresetPatch.py +26 -25
- pulumi_kubernetes/settings/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/settings/v1alpha1/_inputs.py +25 -25
- pulumi_kubernetes/settings/v1alpha1/outputs.py +21 -21
- pulumi_kubernetes/storage/__init__.py +1 -0
- pulumi_kubernetes/storage/v1/CSIDriver.py +26 -25
- pulumi_kubernetes/storage/v1/CSIDriverList.py +26 -25
- pulumi_kubernetes/storage/v1/CSIDriverPatch.py +26 -25
- pulumi_kubernetes/storage/v1/CSINode.py +26 -25
- pulumi_kubernetes/storage/v1/CSINodeList.py +26 -25
- pulumi_kubernetes/storage/v1/CSINodePatch.py +26 -25
- pulumi_kubernetes/storage/v1/CSIStorageCapacity.py +56 -55
- pulumi_kubernetes/storage/v1/CSIStorageCapacityList.py +26 -25
- pulumi_kubernetes/storage/v1/CSIStorageCapacityPatch.py +56 -55
- pulumi_kubernetes/storage/v1/StorageClass.py +86 -85
- pulumi_kubernetes/storage/v1/StorageClassList.py +26 -25
- pulumi_kubernetes/storage/v1/StorageClassPatch.py +86 -85
- pulumi_kubernetes/storage/v1/VolumeAttachment.py +27 -26
- pulumi_kubernetes/storage/v1/VolumeAttachmentList.py +26 -25
- pulumi_kubernetes/storage/v1/VolumeAttachmentPatch.py +27 -26
- pulumi_kubernetes/storage/v1/__init__.py +1 -0
- pulumi_kubernetes/storage/v1/_inputs.py +448 -358
- pulumi_kubernetes/storage/v1/outputs.py +376 -266
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachment.py +27 -26
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentList.py +26 -25
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentPatch.py +27 -26
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClass.py +44 -43
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassList.py +26 -25
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassPatch.py +44 -43
- pulumi_kubernetes/storage/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/storage/v1alpha1/_inputs.py +107 -107
- pulumi_kubernetes/storage/v1alpha1/outputs.py +93 -93
- pulumi_kubernetes/storage/v1beta1/CSIDriver.py +26 -25
- pulumi_kubernetes/storage/v1beta1/CSIDriverList.py +26 -25
- pulumi_kubernetes/storage/v1beta1/CSIDriverPatch.py +26 -25
- pulumi_kubernetes/storage/v1beta1/CSINode.py +26 -25
- pulumi_kubernetes/storage/v1beta1/CSINodeList.py +26 -25
- pulumi_kubernetes/storage/v1beta1/CSINodePatch.py +26 -25
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacity.py +56 -55
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityList.py +26 -25
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityPatch.py +56 -55
- pulumi_kubernetes/storage/v1beta1/StorageClass.py +86 -85
- pulumi_kubernetes/storage/v1beta1/StorageClassList.py +26 -25
- pulumi_kubernetes/storage/v1beta1/StorageClassPatch.py +86 -85
- pulumi_kubernetes/storage/v1beta1/VolumeAttachment.py +27 -26
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentList.py +26 -25
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentPatch.py +27 -26
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClass.py +44 -43
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassList.py +26 -25
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassPatch.py +44 -43
- pulumi_kubernetes/storage/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/storage/v1beta1/_inputs.py +367 -367
- pulumi_kubernetes/storage/v1beta1/outputs.py +271 -271
- pulumi_kubernetes/storagemigration/__init__.py +1 -0
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigration.py +27 -26
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationList.py +26 -25
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationPatch.py +27 -26
- pulumi_kubernetes/storagemigration/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/storagemigration/v1alpha1/_inputs.py +103 -103
- pulumi_kubernetes/storagemigration/v1alpha1/outputs.py +96 -96
- pulumi_kubernetes/yaml/__init__.py +1 -0
- pulumi_kubernetes/yaml/v2/ConfigFile.py +31 -28
- pulumi_kubernetes/yaml/v2/ConfigGroup.py +36 -35
- pulumi_kubernetes/yaml/v2/__init__.py +1 -0
- pulumi_kubernetes/yaml/yaml.py +198 -0
- {pulumi_kubernetes-4.17.0a1723576835.dist-info → pulumi_kubernetes-4.26.0a1769215986.dist-info}/METADATA +9 -9
- pulumi_kubernetes-4.26.0a1769215986.dist-info/RECORD +709 -0
- {pulumi_kubernetes-4.17.0a1723576835.dist-info → pulumi_kubernetes-4.26.0a1769215986.dist-info}/WHEEL +1 -1
- pulumi_kubernetes-4.17.0a1723576835.dist-info/RECORD +0 -651
- {pulumi_kubernetes-4.17.0a1723576835.dist-info → pulumi_kubernetes-4.26.0a1769215986.dist-info}/top_level.txt +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumigen. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
7
|
import sys
|
|
8
8
|
import pulumi
|
|
@@ -97,11 +97,11 @@ if not MYPY:
|
|
|
97
97
|
"""
|
|
98
98
|
ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
|
|
99
99
|
"""
|
|
100
|
-
container: NotRequired[pulumi.Input[str]]
|
|
100
|
+
container: NotRequired[pulumi.Input[_builtins.str]]
|
|
101
101
|
"""
|
|
102
102
|
container is the name of the container in the pods of the scaling target
|
|
103
103
|
"""
|
|
104
|
-
name: NotRequired[pulumi.Input[str]]
|
|
104
|
+
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
105
105
|
"""
|
|
106
106
|
name is the name of the resource in question.
|
|
107
107
|
"""
|
|
@@ -115,13 +115,13 @@ elif False:
|
|
|
115
115
|
@pulumi.input_type
|
|
116
116
|
class ContainerResourceMetricSourcePatchArgs:
|
|
117
117
|
def __init__(__self__, *,
|
|
118
|
-
container: Optional[pulumi.Input[str]] = None,
|
|
119
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
118
|
+
container: Optional[pulumi.Input[_builtins.str]] = None,
|
|
119
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
120
120
|
target: Optional[pulumi.Input['MetricTargetPatchArgs']] = None):
|
|
121
121
|
"""
|
|
122
122
|
ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
|
|
123
|
-
:param pulumi.Input[str] container: container is the name of the container in the pods of the scaling target
|
|
124
|
-
:param pulumi.Input[str] name: name is the name of the resource in question.
|
|
123
|
+
:param pulumi.Input[_builtins.str] container: container is the name of the container in the pods of the scaling target
|
|
124
|
+
:param pulumi.Input[_builtins.str] name: name is the name of the resource in question.
|
|
125
125
|
:param pulumi.Input['MetricTargetPatchArgs'] target: target specifies the target value for the given metric
|
|
126
126
|
"""
|
|
127
127
|
if container is not None:
|
|
@@ -131,31 +131,31 @@ class ContainerResourceMetricSourcePatchArgs:
|
|
|
131
131
|
if target is not None:
|
|
132
132
|
pulumi.set(__self__, "target", target)
|
|
133
133
|
|
|
134
|
-
@property
|
|
134
|
+
@_builtins.property
|
|
135
135
|
@pulumi.getter
|
|
136
|
-
def container(self) -> Optional[pulumi.Input[str]]:
|
|
136
|
+
def container(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
137
137
|
"""
|
|
138
138
|
container is the name of the container in the pods of the scaling target
|
|
139
139
|
"""
|
|
140
140
|
return pulumi.get(self, "container")
|
|
141
141
|
|
|
142
142
|
@container.setter
|
|
143
|
-
def container(self, value: Optional[pulumi.Input[str]]):
|
|
143
|
+
def container(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
144
144
|
pulumi.set(self, "container", value)
|
|
145
145
|
|
|
146
|
-
@property
|
|
146
|
+
@_builtins.property
|
|
147
147
|
@pulumi.getter
|
|
148
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
148
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
149
149
|
"""
|
|
150
150
|
name is the name of the resource in question.
|
|
151
151
|
"""
|
|
152
152
|
return pulumi.get(self, "name")
|
|
153
153
|
|
|
154
154
|
@name.setter
|
|
155
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
155
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
156
156
|
pulumi.set(self, "name", value)
|
|
157
157
|
|
|
158
|
-
@property
|
|
158
|
+
@_builtins.property
|
|
159
159
|
@pulumi.getter
|
|
160
160
|
def target(self) -> Optional[pulumi.Input['MetricTargetPatchArgs']]:
|
|
161
161
|
"""
|
|
@@ -173,11 +173,11 @@ if not MYPY:
|
|
|
173
173
|
"""
|
|
174
174
|
ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
|
|
175
175
|
"""
|
|
176
|
-
container: pulumi.Input[str]
|
|
176
|
+
container: pulumi.Input[_builtins.str]
|
|
177
177
|
"""
|
|
178
178
|
container is the name of the container in the pods of the scaling target
|
|
179
179
|
"""
|
|
180
|
-
name: pulumi.Input[str]
|
|
180
|
+
name: pulumi.Input[_builtins.str]
|
|
181
181
|
"""
|
|
182
182
|
name is the name of the resource in question.
|
|
183
183
|
"""
|
|
@@ -191,44 +191,44 @@ elif False:
|
|
|
191
191
|
@pulumi.input_type
|
|
192
192
|
class ContainerResourceMetricSourceArgs:
|
|
193
193
|
def __init__(__self__, *,
|
|
194
|
-
container: pulumi.Input[str],
|
|
195
|
-
name: pulumi.Input[str],
|
|
194
|
+
container: pulumi.Input[_builtins.str],
|
|
195
|
+
name: pulumi.Input[_builtins.str],
|
|
196
196
|
target: pulumi.Input['MetricTargetArgs']):
|
|
197
197
|
"""
|
|
198
198
|
ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
|
|
199
|
-
:param pulumi.Input[str] container: container is the name of the container in the pods of the scaling target
|
|
200
|
-
:param pulumi.Input[str] name: name is the name of the resource in question.
|
|
199
|
+
:param pulumi.Input[_builtins.str] container: container is the name of the container in the pods of the scaling target
|
|
200
|
+
:param pulumi.Input[_builtins.str] name: name is the name of the resource in question.
|
|
201
201
|
:param pulumi.Input['MetricTargetArgs'] target: target specifies the target value for the given metric
|
|
202
202
|
"""
|
|
203
203
|
pulumi.set(__self__, "container", container)
|
|
204
204
|
pulumi.set(__self__, "name", name)
|
|
205
205
|
pulumi.set(__self__, "target", target)
|
|
206
206
|
|
|
207
|
-
@property
|
|
207
|
+
@_builtins.property
|
|
208
208
|
@pulumi.getter
|
|
209
|
-
def container(self) -> pulumi.Input[str]:
|
|
209
|
+
def container(self) -> pulumi.Input[_builtins.str]:
|
|
210
210
|
"""
|
|
211
211
|
container is the name of the container in the pods of the scaling target
|
|
212
212
|
"""
|
|
213
213
|
return pulumi.get(self, "container")
|
|
214
214
|
|
|
215
215
|
@container.setter
|
|
216
|
-
def container(self, value: pulumi.Input[str]):
|
|
216
|
+
def container(self, value: pulumi.Input[_builtins.str]):
|
|
217
217
|
pulumi.set(self, "container", value)
|
|
218
218
|
|
|
219
|
-
@property
|
|
219
|
+
@_builtins.property
|
|
220
220
|
@pulumi.getter
|
|
221
|
-
def name(self) -> pulumi.Input[str]:
|
|
221
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
222
222
|
"""
|
|
223
223
|
name is the name of the resource in question.
|
|
224
224
|
"""
|
|
225
225
|
return pulumi.get(self, "name")
|
|
226
226
|
|
|
227
227
|
@name.setter
|
|
228
|
-
def name(self, value: pulumi.Input[str]):
|
|
228
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
229
229
|
pulumi.set(self, "name", value)
|
|
230
230
|
|
|
231
|
-
@property
|
|
231
|
+
@_builtins.property
|
|
232
232
|
@pulumi.getter
|
|
233
233
|
def target(self) -> pulumi.Input['MetricTargetArgs']:
|
|
234
234
|
"""
|
|
@@ -246,7 +246,7 @@ if not MYPY:
|
|
|
246
246
|
"""
|
|
247
247
|
ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
248
248
|
"""
|
|
249
|
-
container: pulumi.Input[str]
|
|
249
|
+
container: pulumi.Input[_builtins.str]
|
|
250
250
|
"""
|
|
251
251
|
Container is the name of the container in the pods of the scaling target
|
|
252
252
|
"""
|
|
@@ -254,7 +254,7 @@ if not MYPY:
|
|
|
254
254
|
"""
|
|
255
255
|
current contains the current value for the given metric
|
|
256
256
|
"""
|
|
257
|
-
name: pulumi.Input[str]
|
|
257
|
+
name: pulumi.Input[_builtins.str]
|
|
258
258
|
"""
|
|
259
259
|
Name is the name of the resource in question.
|
|
260
260
|
"""
|
|
@@ -264,32 +264,32 @@ elif False:
|
|
|
264
264
|
@pulumi.input_type
|
|
265
265
|
class ContainerResourceMetricStatusArgs:
|
|
266
266
|
def __init__(__self__, *,
|
|
267
|
-
container: pulumi.Input[str],
|
|
267
|
+
container: pulumi.Input[_builtins.str],
|
|
268
268
|
current: pulumi.Input['MetricValueStatusArgs'],
|
|
269
|
-
name: pulumi.Input[str]):
|
|
269
|
+
name: pulumi.Input[_builtins.str]):
|
|
270
270
|
"""
|
|
271
271
|
ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
272
|
-
:param pulumi.Input[str] container: Container is the name of the container in the pods of the scaling target
|
|
272
|
+
:param pulumi.Input[_builtins.str] container: Container is the name of the container in the pods of the scaling target
|
|
273
273
|
:param pulumi.Input['MetricValueStatusArgs'] current: current contains the current value for the given metric
|
|
274
|
-
:param pulumi.Input[str] name: Name is the name of the resource in question.
|
|
274
|
+
:param pulumi.Input[_builtins.str] name: Name is the name of the resource in question.
|
|
275
275
|
"""
|
|
276
276
|
pulumi.set(__self__, "container", container)
|
|
277
277
|
pulumi.set(__self__, "current", current)
|
|
278
278
|
pulumi.set(__self__, "name", name)
|
|
279
279
|
|
|
280
|
-
@property
|
|
280
|
+
@_builtins.property
|
|
281
281
|
@pulumi.getter
|
|
282
|
-
def container(self) -> pulumi.Input[str]:
|
|
282
|
+
def container(self) -> pulumi.Input[_builtins.str]:
|
|
283
283
|
"""
|
|
284
284
|
Container is the name of the container in the pods of the scaling target
|
|
285
285
|
"""
|
|
286
286
|
return pulumi.get(self, "container")
|
|
287
287
|
|
|
288
288
|
@container.setter
|
|
289
|
-
def container(self, value: pulumi.Input[str]):
|
|
289
|
+
def container(self, value: pulumi.Input[_builtins.str]):
|
|
290
290
|
pulumi.set(self, "container", value)
|
|
291
291
|
|
|
292
|
-
@property
|
|
292
|
+
@_builtins.property
|
|
293
293
|
@pulumi.getter
|
|
294
294
|
def current(self) -> pulumi.Input['MetricValueStatusArgs']:
|
|
295
295
|
"""
|
|
@@ -301,16 +301,16 @@ class ContainerResourceMetricStatusArgs:
|
|
|
301
301
|
def current(self, value: pulumi.Input['MetricValueStatusArgs']):
|
|
302
302
|
pulumi.set(self, "current", value)
|
|
303
303
|
|
|
304
|
-
@property
|
|
304
|
+
@_builtins.property
|
|
305
305
|
@pulumi.getter
|
|
306
|
-
def name(self) -> pulumi.Input[str]:
|
|
306
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
307
307
|
"""
|
|
308
308
|
Name is the name of the resource in question.
|
|
309
309
|
"""
|
|
310
310
|
return pulumi.get(self, "name")
|
|
311
311
|
|
|
312
312
|
@name.setter
|
|
313
|
-
def name(self, value: pulumi.Input[str]):
|
|
313
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
314
314
|
pulumi.set(self, "name", value)
|
|
315
315
|
|
|
316
316
|
|
|
@@ -319,15 +319,15 @@ if not MYPY:
|
|
|
319
319
|
"""
|
|
320
320
|
CrossVersionObjectReference contains enough information to let you identify the referred resource.
|
|
321
321
|
"""
|
|
322
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
322
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
323
323
|
"""
|
|
324
324
|
API version of the referent
|
|
325
325
|
"""
|
|
326
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
326
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
327
327
|
"""
|
|
328
328
|
Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
|
|
329
329
|
"""
|
|
330
|
-
name: NotRequired[pulumi.Input[str]]
|
|
330
|
+
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
331
331
|
"""
|
|
332
332
|
Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
|
|
333
333
|
"""
|
|
@@ -337,14 +337,14 @@ elif False:
|
|
|
337
337
|
@pulumi.input_type
|
|
338
338
|
class CrossVersionObjectReferencePatchArgs:
|
|
339
339
|
def __init__(__self__, *,
|
|
340
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
341
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
342
|
-
name: Optional[pulumi.Input[str]] = None):
|
|
340
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
341
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
342
|
+
name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
343
343
|
"""
|
|
344
344
|
CrossVersionObjectReference contains enough information to let you identify the referred resource.
|
|
345
|
-
:param pulumi.Input[str] api_version: API version of the referent
|
|
346
|
-
:param pulumi.Input[str] kind: Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
|
|
347
|
-
:param pulumi.Input[str] name: Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
|
|
345
|
+
:param pulumi.Input[_builtins.str] api_version: API version of the referent
|
|
346
|
+
:param pulumi.Input[_builtins.str] kind: Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
|
|
347
|
+
:param pulumi.Input[_builtins.str] name: Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
|
|
348
348
|
"""
|
|
349
349
|
if api_version is not None:
|
|
350
350
|
pulumi.set(__self__, "api_version", api_version)
|
|
@@ -353,40 +353,40 @@ class CrossVersionObjectReferencePatchArgs:
|
|
|
353
353
|
if name is not None:
|
|
354
354
|
pulumi.set(__self__, "name", name)
|
|
355
355
|
|
|
356
|
-
@property
|
|
356
|
+
@_builtins.property
|
|
357
357
|
@pulumi.getter(name="apiVersion")
|
|
358
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
358
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
359
359
|
"""
|
|
360
360
|
API version of the referent
|
|
361
361
|
"""
|
|
362
362
|
return pulumi.get(self, "api_version")
|
|
363
363
|
|
|
364
364
|
@api_version.setter
|
|
365
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
365
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
366
366
|
pulumi.set(self, "api_version", value)
|
|
367
367
|
|
|
368
|
-
@property
|
|
368
|
+
@_builtins.property
|
|
369
369
|
@pulumi.getter
|
|
370
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
370
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
371
371
|
"""
|
|
372
372
|
Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
|
|
373
373
|
"""
|
|
374
374
|
return pulumi.get(self, "kind")
|
|
375
375
|
|
|
376
376
|
@kind.setter
|
|
377
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
377
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
378
378
|
pulumi.set(self, "kind", value)
|
|
379
379
|
|
|
380
|
-
@property
|
|
380
|
+
@_builtins.property
|
|
381
381
|
@pulumi.getter
|
|
382
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
382
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
383
383
|
"""
|
|
384
384
|
Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
|
|
385
385
|
"""
|
|
386
386
|
return pulumi.get(self, "name")
|
|
387
387
|
|
|
388
388
|
@name.setter
|
|
389
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
389
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
390
390
|
pulumi.set(self, "name", value)
|
|
391
391
|
|
|
392
392
|
|
|
@@ -395,15 +395,15 @@ if not MYPY:
|
|
|
395
395
|
"""
|
|
396
396
|
CrossVersionObjectReference contains enough information to let you identify the referred resource.
|
|
397
397
|
"""
|
|
398
|
-
kind: pulumi.Input[str]
|
|
398
|
+
kind: pulumi.Input[_builtins.str]
|
|
399
399
|
"""
|
|
400
400
|
Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
|
|
401
401
|
"""
|
|
402
|
-
name: pulumi.Input[str]
|
|
402
|
+
name: pulumi.Input[_builtins.str]
|
|
403
403
|
"""
|
|
404
404
|
Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
|
|
405
405
|
"""
|
|
406
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
406
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
407
407
|
"""
|
|
408
408
|
API version of the referent
|
|
409
409
|
"""
|
|
@@ -413,54 +413,54 @@ elif False:
|
|
|
413
413
|
@pulumi.input_type
|
|
414
414
|
class CrossVersionObjectReferenceArgs:
|
|
415
415
|
def __init__(__self__, *,
|
|
416
|
-
kind: pulumi.Input[str],
|
|
417
|
-
name: pulumi.Input[str],
|
|
418
|
-
api_version: Optional[pulumi.Input[str]] = None):
|
|
416
|
+
kind: pulumi.Input[_builtins.str],
|
|
417
|
+
name: pulumi.Input[_builtins.str],
|
|
418
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None):
|
|
419
419
|
"""
|
|
420
420
|
CrossVersionObjectReference contains enough information to let you identify the referred resource.
|
|
421
|
-
:param pulumi.Input[str] kind: Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
|
|
422
|
-
:param pulumi.Input[str] name: Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
|
|
423
|
-
:param pulumi.Input[str] api_version: API version of the referent
|
|
421
|
+
:param pulumi.Input[_builtins.str] kind: Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
|
|
422
|
+
:param pulumi.Input[_builtins.str] name: Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
|
|
423
|
+
:param pulumi.Input[_builtins.str] api_version: API version of the referent
|
|
424
424
|
"""
|
|
425
425
|
pulumi.set(__self__, "kind", kind)
|
|
426
426
|
pulumi.set(__self__, "name", name)
|
|
427
427
|
if api_version is not None:
|
|
428
428
|
pulumi.set(__self__, "api_version", api_version)
|
|
429
429
|
|
|
430
|
-
@property
|
|
430
|
+
@_builtins.property
|
|
431
431
|
@pulumi.getter
|
|
432
|
-
def kind(self) -> pulumi.Input[str]:
|
|
432
|
+
def kind(self) -> pulumi.Input[_builtins.str]:
|
|
433
433
|
"""
|
|
434
434
|
Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
|
|
435
435
|
"""
|
|
436
436
|
return pulumi.get(self, "kind")
|
|
437
437
|
|
|
438
438
|
@kind.setter
|
|
439
|
-
def kind(self, value: pulumi.Input[str]):
|
|
439
|
+
def kind(self, value: pulumi.Input[_builtins.str]):
|
|
440
440
|
pulumi.set(self, "kind", value)
|
|
441
441
|
|
|
442
|
-
@property
|
|
442
|
+
@_builtins.property
|
|
443
443
|
@pulumi.getter
|
|
444
|
-
def name(self) -> pulumi.Input[str]:
|
|
444
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
445
445
|
"""
|
|
446
446
|
Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
|
|
447
447
|
"""
|
|
448
448
|
return pulumi.get(self, "name")
|
|
449
449
|
|
|
450
450
|
@name.setter
|
|
451
|
-
def name(self, value: pulumi.Input[str]):
|
|
451
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
452
452
|
pulumi.set(self, "name", value)
|
|
453
453
|
|
|
454
|
-
@property
|
|
454
|
+
@_builtins.property
|
|
455
455
|
@pulumi.getter(name="apiVersion")
|
|
456
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
456
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
457
457
|
"""
|
|
458
458
|
API version of the referent
|
|
459
459
|
"""
|
|
460
460
|
return pulumi.get(self, "api_version")
|
|
461
461
|
|
|
462
462
|
@api_version.setter
|
|
463
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
463
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
464
464
|
pulumi.set(self, "api_version", value)
|
|
465
465
|
|
|
466
466
|
|
|
@@ -495,7 +495,7 @@ class ExternalMetricSourcePatchArgs:
|
|
|
495
495
|
if target is not None:
|
|
496
496
|
pulumi.set(__self__, "target", target)
|
|
497
497
|
|
|
498
|
-
@property
|
|
498
|
+
@_builtins.property
|
|
499
499
|
@pulumi.getter
|
|
500
500
|
def metric(self) -> Optional[pulumi.Input['MetricIdentifierPatchArgs']]:
|
|
501
501
|
"""
|
|
@@ -507,7 +507,7 @@ class ExternalMetricSourcePatchArgs:
|
|
|
507
507
|
def metric(self, value: Optional[pulumi.Input['MetricIdentifierPatchArgs']]):
|
|
508
508
|
pulumi.set(self, "metric", value)
|
|
509
509
|
|
|
510
|
-
@property
|
|
510
|
+
@_builtins.property
|
|
511
511
|
@pulumi.getter
|
|
512
512
|
def target(self) -> Optional[pulumi.Input['MetricTargetPatchArgs']]:
|
|
513
513
|
"""
|
|
@@ -549,7 +549,7 @@ class ExternalMetricSourceArgs:
|
|
|
549
549
|
pulumi.set(__self__, "metric", metric)
|
|
550
550
|
pulumi.set(__self__, "target", target)
|
|
551
551
|
|
|
552
|
-
@property
|
|
552
|
+
@_builtins.property
|
|
553
553
|
@pulumi.getter
|
|
554
554
|
def metric(self) -> pulumi.Input['MetricIdentifierArgs']:
|
|
555
555
|
"""
|
|
@@ -561,7 +561,7 @@ class ExternalMetricSourceArgs:
|
|
|
561
561
|
def metric(self, value: pulumi.Input['MetricIdentifierArgs']):
|
|
562
562
|
pulumi.set(self, "metric", value)
|
|
563
563
|
|
|
564
|
-
@property
|
|
564
|
+
@_builtins.property
|
|
565
565
|
@pulumi.getter
|
|
566
566
|
def target(self) -> pulumi.Input['MetricTargetArgs']:
|
|
567
567
|
"""
|
|
@@ -603,7 +603,7 @@ class ExternalMetricStatusArgs:
|
|
|
603
603
|
pulumi.set(__self__, "current", current)
|
|
604
604
|
pulumi.set(__self__, "metric", metric)
|
|
605
605
|
|
|
606
|
-
@property
|
|
606
|
+
@_builtins.property
|
|
607
607
|
@pulumi.getter
|
|
608
608
|
def current(self) -> pulumi.Input['MetricValueStatusArgs']:
|
|
609
609
|
"""
|
|
@@ -615,7 +615,7 @@ class ExternalMetricStatusArgs:
|
|
|
615
615
|
def current(self, value: pulumi.Input['MetricValueStatusArgs']):
|
|
616
616
|
pulumi.set(self, "current", value)
|
|
617
617
|
|
|
618
|
-
@property
|
|
618
|
+
@_builtins.property
|
|
619
619
|
@pulumi.getter
|
|
620
620
|
def metric(self) -> pulumi.Input['MetricIdentifierArgs']:
|
|
621
621
|
"""
|
|
@@ -633,15 +633,15 @@ if not MYPY:
|
|
|
633
633
|
"""
|
|
634
634
|
HPAScalingPolicy is a single policy which must hold true for a specified past interval.
|
|
635
635
|
"""
|
|
636
|
-
period_seconds: NotRequired[pulumi.Input[int]]
|
|
636
|
+
period_seconds: NotRequired[pulumi.Input[_builtins.int]]
|
|
637
637
|
"""
|
|
638
638
|
PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
|
|
639
639
|
"""
|
|
640
|
-
type: NotRequired[pulumi.Input[str]]
|
|
640
|
+
type: NotRequired[pulumi.Input[_builtins.str]]
|
|
641
641
|
"""
|
|
642
642
|
Type is used to specify the scaling policy.
|
|
643
643
|
"""
|
|
644
|
-
value: NotRequired[pulumi.Input[int]]
|
|
644
|
+
value: NotRequired[pulumi.Input[_builtins.int]]
|
|
645
645
|
"""
|
|
646
646
|
Value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
647
647
|
"""
|
|
@@ -651,14 +651,14 @@ elif False:
|
|
|
651
651
|
@pulumi.input_type
|
|
652
652
|
class HPAScalingPolicyPatchArgs:
|
|
653
653
|
def __init__(__self__, *,
|
|
654
|
-
period_seconds: Optional[pulumi.Input[int]] = None,
|
|
655
|
-
type: Optional[pulumi.Input[str]] = None,
|
|
656
|
-
value: Optional[pulumi.Input[int]] = None):
|
|
654
|
+
period_seconds: Optional[pulumi.Input[_builtins.int]] = None,
|
|
655
|
+
type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
656
|
+
value: Optional[pulumi.Input[_builtins.int]] = None):
|
|
657
657
|
"""
|
|
658
658
|
HPAScalingPolicy is a single policy which must hold true for a specified past interval.
|
|
659
|
-
:param pulumi.Input[int] period_seconds: PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
|
|
660
|
-
:param pulumi.Input[str] type: Type is used to specify the scaling policy.
|
|
661
|
-
:param pulumi.Input[int] value: Value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
659
|
+
:param pulumi.Input[_builtins.int] period_seconds: PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
|
|
660
|
+
:param pulumi.Input[_builtins.str] type: Type is used to specify the scaling policy.
|
|
661
|
+
:param pulumi.Input[_builtins.int] value: Value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
662
662
|
"""
|
|
663
663
|
if period_seconds is not None:
|
|
664
664
|
pulumi.set(__self__, "period_seconds", period_seconds)
|
|
@@ -667,40 +667,40 @@ class HPAScalingPolicyPatchArgs:
|
|
|
667
667
|
if value is not None:
|
|
668
668
|
pulumi.set(__self__, "value", value)
|
|
669
669
|
|
|
670
|
-
@property
|
|
670
|
+
@_builtins.property
|
|
671
671
|
@pulumi.getter(name="periodSeconds")
|
|
672
|
-
def period_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
672
|
+
def period_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
673
673
|
"""
|
|
674
674
|
PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
|
|
675
675
|
"""
|
|
676
676
|
return pulumi.get(self, "period_seconds")
|
|
677
677
|
|
|
678
678
|
@period_seconds.setter
|
|
679
|
-
def period_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
679
|
+
def period_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
680
680
|
pulumi.set(self, "period_seconds", value)
|
|
681
681
|
|
|
682
|
-
@property
|
|
682
|
+
@_builtins.property
|
|
683
683
|
@pulumi.getter
|
|
684
|
-
def type(self) -> Optional[pulumi.Input[str]]:
|
|
684
|
+
def type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
685
685
|
"""
|
|
686
686
|
Type is used to specify the scaling policy.
|
|
687
687
|
"""
|
|
688
688
|
return pulumi.get(self, "type")
|
|
689
689
|
|
|
690
690
|
@type.setter
|
|
691
|
-
def type(self, value: Optional[pulumi.Input[str]]):
|
|
691
|
+
def type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
692
692
|
pulumi.set(self, "type", value)
|
|
693
693
|
|
|
694
|
-
@property
|
|
694
|
+
@_builtins.property
|
|
695
695
|
@pulumi.getter
|
|
696
|
-
def value(self) -> Optional[pulumi.Input[int]]:
|
|
696
|
+
def value(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
697
697
|
"""
|
|
698
698
|
Value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
699
699
|
"""
|
|
700
700
|
return pulumi.get(self, "value")
|
|
701
701
|
|
|
702
702
|
@value.setter
|
|
703
|
-
def value(self, value: Optional[pulumi.Input[int]]):
|
|
703
|
+
def value(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
704
704
|
pulumi.set(self, "value", value)
|
|
705
705
|
|
|
706
706
|
|
|
@@ -709,15 +709,15 @@ if not MYPY:
|
|
|
709
709
|
"""
|
|
710
710
|
HPAScalingPolicy is a single policy which must hold true for a specified past interval.
|
|
711
711
|
"""
|
|
712
|
-
period_seconds: pulumi.Input[int]
|
|
712
|
+
period_seconds: pulumi.Input[_builtins.int]
|
|
713
713
|
"""
|
|
714
714
|
PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
|
|
715
715
|
"""
|
|
716
|
-
type: pulumi.Input[str]
|
|
716
|
+
type: pulumi.Input[_builtins.str]
|
|
717
717
|
"""
|
|
718
718
|
Type is used to specify the scaling policy.
|
|
719
719
|
"""
|
|
720
|
-
value: pulumi.Input[int]
|
|
720
|
+
value: pulumi.Input[_builtins.int]
|
|
721
721
|
"""
|
|
722
722
|
Value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
723
723
|
"""
|
|
@@ -727,53 +727,53 @@ elif False:
|
|
|
727
727
|
@pulumi.input_type
|
|
728
728
|
class HPAScalingPolicyArgs:
|
|
729
729
|
def __init__(__self__, *,
|
|
730
|
-
period_seconds: pulumi.Input[int],
|
|
731
|
-
type: pulumi.Input[str],
|
|
732
|
-
value: pulumi.Input[int]):
|
|
730
|
+
period_seconds: pulumi.Input[_builtins.int],
|
|
731
|
+
type: pulumi.Input[_builtins.str],
|
|
732
|
+
value: pulumi.Input[_builtins.int]):
|
|
733
733
|
"""
|
|
734
734
|
HPAScalingPolicy is a single policy which must hold true for a specified past interval.
|
|
735
|
-
:param pulumi.Input[int] period_seconds: PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
|
|
736
|
-
:param pulumi.Input[str] type: Type is used to specify the scaling policy.
|
|
737
|
-
:param pulumi.Input[int] value: Value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
735
|
+
:param pulumi.Input[_builtins.int] period_seconds: PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
|
|
736
|
+
:param pulumi.Input[_builtins.str] type: Type is used to specify the scaling policy.
|
|
737
|
+
:param pulumi.Input[_builtins.int] value: Value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
738
738
|
"""
|
|
739
739
|
pulumi.set(__self__, "period_seconds", period_seconds)
|
|
740
740
|
pulumi.set(__self__, "type", type)
|
|
741
741
|
pulumi.set(__self__, "value", value)
|
|
742
742
|
|
|
743
|
-
@property
|
|
743
|
+
@_builtins.property
|
|
744
744
|
@pulumi.getter(name="periodSeconds")
|
|
745
|
-
def period_seconds(self) -> pulumi.Input[int]:
|
|
745
|
+
def period_seconds(self) -> pulumi.Input[_builtins.int]:
|
|
746
746
|
"""
|
|
747
747
|
PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
|
|
748
748
|
"""
|
|
749
749
|
return pulumi.get(self, "period_seconds")
|
|
750
750
|
|
|
751
751
|
@period_seconds.setter
|
|
752
|
-
def period_seconds(self, value: pulumi.Input[int]):
|
|
752
|
+
def period_seconds(self, value: pulumi.Input[_builtins.int]):
|
|
753
753
|
pulumi.set(self, "period_seconds", value)
|
|
754
754
|
|
|
755
|
-
@property
|
|
755
|
+
@_builtins.property
|
|
756
756
|
@pulumi.getter
|
|
757
|
-
def type(self) -> pulumi.Input[str]:
|
|
757
|
+
def type(self) -> pulumi.Input[_builtins.str]:
|
|
758
758
|
"""
|
|
759
759
|
Type is used to specify the scaling policy.
|
|
760
760
|
"""
|
|
761
761
|
return pulumi.get(self, "type")
|
|
762
762
|
|
|
763
763
|
@type.setter
|
|
764
|
-
def type(self, value: pulumi.Input[str]):
|
|
764
|
+
def type(self, value: pulumi.Input[_builtins.str]):
|
|
765
765
|
pulumi.set(self, "type", value)
|
|
766
766
|
|
|
767
|
-
@property
|
|
767
|
+
@_builtins.property
|
|
768
768
|
@pulumi.getter
|
|
769
|
-
def value(self) -> pulumi.Input[int]:
|
|
769
|
+
def value(self) -> pulumi.Input[_builtins.int]:
|
|
770
770
|
"""
|
|
771
771
|
Value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
772
772
|
"""
|
|
773
773
|
return pulumi.get(self, "value")
|
|
774
774
|
|
|
775
775
|
@value.setter
|
|
776
|
-
def value(self, value: pulumi.Input[int]):
|
|
776
|
+
def value(self, value: pulumi.Input[_builtins.int]):
|
|
777
777
|
pulumi.set(self, "value", value)
|
|
778
778
|
|
|
779
779
|
|
|
@@ -786,11 +786,11 @@ if not MYPY:
|
|
|
786
786
|
"""
|
|
787
787
|
policies is a list of potential scaling polices which can be used during scaling. At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid
|
|
788
788
|
"""
|
|
789
|
-
select_policy: NotRequired[pulumi.Input[str]]
|
|
789
|
+
select_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
790
790
|
"""
|
|
791
791
|
selectPolicy is used to specify which policy should be used. If not set, the default value MaxPolicySelect is used.
|
|
792
792
|
"""
|
|
793
|
-
stabilization_window_seconds: NotRequired[pulumi.Input[int]]
|
|
793
|
+
stabilization_window_seconds: NotRequired[pulumi.Input[_builtins.int]]
|
|
794
794
|
"""
|
|
795
795
|
StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
|
|
796
796
|
"""
|
|
@@ -801,13 +801,13 @@ elif False:
|
|
|
801
801
|
class HPAScalingRulesPatchArgs:
|
|
802
802
|
def __init__(__self__, *,
|
|
803
803
|
policies: Optional[pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyPatchArgs']]]] = None,
|
|
804
|
-
select_policy: Optional[pulumi.Input[str]] = None,
|
|
805
|
-
stabilization_window_seconds: Optional[pulumi.Input[int]] = None):
|
|
804
|
+
select_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
805
|
+
stabilization_window_seconds: Optional[pulumi.Input[_builtins.int]] = None):
|
|
806
806
|
"""
|
|
807
807
|
HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen.
|
|
808
808
|
:param pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyPatchArgs']]] policies: policies is a list of potential scaling polices which can be used during scaling. At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid
|
|
809
|
-
:param pulumi.Input[str] select_policy: selectPolicy is used to specify which policy should be used. If not set, the default value MaxPolicySelect is used.
|
|
810
|
-
:param pulumi.Input[int] stabilization_window_seconds: StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
|
|
809
|
+
:param pulumi.Input[_builtins.str] select_policy: selectPolicy is used to specify which policy should be used. If not set, the default value MaxPolicySelect is used.
|
|
810
|
+
:param pulumi.Input[_builtins.int] stabilization_window_seconds: StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
|
|
811
811
|
"""
|
|
812
812
|
if policies is not None:
|
|
813
813
|
pulumi.set(__self__, "policies", policies)
|
|
@@ -816,7 +816,7 @@ class HPAScalingRulesPatchArgs:
|
|
|
816
816
|
if stabilization_window_seconds is not None:
|
|
817
817
|
pulumi.set(__self__, "stabilization_window_seconds", stabilization_window_seconds)
|
|
818
818
|
|
|
819
|
-
@property
|
|
819
|
+
@_builtins.property
|
|
820
820
|
@pulumi.getter
|
|
821
821
|
def policies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyPatchArgs']]]]:
|
|
822
822
|
"""
|
|
@@ -828,28 +828,28 @@ class HPAScalingRulesPatchArgs:
|
|
|
828
828
|
def policies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyPatchArgs']]]]):
|
|
829
829
|
pulumi.set(self, "policies", value)
|
|
830
830
|
|
|
831
|
-
@property
|
|
831
|
+
@_builtins.property
|
|
832
832
|
@pulumi.getter(name="selectPolicy")
|
|
833
|
-
def select_policy(self) -> Optional[pulumi.Input[str]]:
|
|
833
|
+
def select_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
834
834
|
"""
|
|
835
835
|
selectPolicy is used to specify which policy should be used. If not set, the default value MaxPolicySelect is used.
|
|
836
836
|
"""
|
|
837
837
|
return pulumi.get(self, "select_policy")
|
|
838
838
|
|
|
839
839
|
@select_policy.setter
|
|
840
|
-
def select_policy(self, value: Optional[pulumi.Input[str]]):
|
|
840
|
+
def select_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
841
841
|
pulumi.set(self, "select_policy", value)
|
|
842
842
|
|
|
843
|
-
@property
|
|
843
|
+
@_builtins.property
|
|
844
844
|
@pulumi.getter(name="stabilizationWindowSeconds")
|
|
845
|
-
def stabilization_window_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
845
|
+
def stabilization_window_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
846
846
|
"""
|
|
847
847
|
StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
|
|
848
848
|
"""
|
|
849
849
|
return pulumi.get(self, "stabilization_window_seconds")
|
|
850
850
|
|
|
851
851
|
@stabilization_window_seconds.setter
|
|
852
|
-
def stabilization_window_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
852
|
+
def stabilization_window_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
853
853
|
pulumi.set(self, "stabilization_window_seconds", value)
|
|
854
854
|
|
|
855
855
|
|
|
@@ -862,11 +862,11 @@ if not MYPY:
|
|
|
862
862
|
"""
|
|
863
863
|
policies is a list of potential scaling polices which can be used during scaling. At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid
|
|
864
864
|
"""
|
|
865
|
-
select_policy: NotRequired[pulumi.Input[str]]
|
|
865
|
+
select_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
866
866
|
"""
|
|
867
867
|
selectPolicy is used to specify which policy should be used. If not set, the default value MaxPolicySelect is used.
|
|
868
868
|
"""
|
|
869
|
-
stabilization_window_seconds: NotRequired[pulumi.Input[int]]
|
|
869
|
+
stabilization_window_seconds: NotRequired[pulumi.Input[_builtins.int]]
|
|
870
870
|
"""
|
|
871
871
|
StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
|
|
872
872
|
"""
|
|
@@ -877,13 +877,13 @@ elif False:
|
|
|
877
877
|
class HPAScalingRulesArgs:
|
|
878
878
|
def __init__(__self__, *,
|
|
879
879
|
policies: Optional[pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyArgs']]]] = None,
|
|
880
|
-
select_policy: Optional[pulumi.Input[str]] = None,
|
|
881
|
-
stabilization_window_seconds: Optional[pulumi.Input[int]] = None):
|
|
880
|
+
select_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
881
|
+
stabilization_window_seconds: Optional[pulumi.Input[_builtins.int]] = None):
|
|
882
882
|
"""
|
|
883
883
|
HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen.
|
|
884
884
|
:param pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyArgs']]] policies: policies is a list of potential scaling polices which can be used during scaling. At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid
|
|
885
|
-
:param pulumi.Input[str] select_policy: selectPolicy is used to specify which policy should be used. If not set, the default value MaxPolicySelect is used.
|
|
886
|
-
:param pulumi.Input[int] stabilization_window_seconds: StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
|
|
885
|
+
:param pulumi.Input[_builtins.str] select_policy: selectPolicy is used to specify which policy should be used. If not set, the default value MaxPolicySelect is used.
|
|
886
|
+
:param pulumi.Input[_builtins.int] stabilization_window_seconds: StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
|
|
887
887
|
"""
|
|
888
888
|
if policies is not None:
|
|
889
889
|
pulumi.set(__self__, "policies", policies)
|
|
@@ -892,7 +892,7 @@ class HPAScalingRulesArgs:
|
|
|
892
892
|
if stabilization_window_seconds is not None:
|
|
893
893
|
pulumi.set(__self__, "stabilization_window_seconds", stabilization_window_seconds)
|
|
894
894
|
|
|
895
|
-
@property
|
|
895
|
+
@_builtins.property
|
|
896
896
|
@pulumi.getter
|
|
897
897
|
def policies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyArgs']]]]:
|
|
898
898
|
"""
|
|
@@ -904,28 +904,28 @@ class HPAScalingRulesArgs:
|
|
|
904
904
|
def policies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyArgs']]]]):
|
|
905
905
|
pulumi.set(self, "policies", value)
|
|
906
906
|
|
|
907
|
-
@property
|
|
907
|
+
@_builtins.property
|
|
908
908
|
@pulumi.getter(name="selectPolicy")
|
|
909
|
-
def select_policy(self) -> Optional[pulumi.Input[str]]:
|
|
909
|
+
def select_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
910
910
|
"""
|
|
911
911
|
selectPolicy is used to specify which policy should be used. If not set, the default value MaxPolicySelect is used.
|
|
912
912
|
"""
|
|
913
913
|
return pulumi.get(self, "select_policy")
|
|
914
914
|
|
|
915
915
|
@select_policy.setter
|
|
916
|
-
def select_policy(self, value: Optional[pulumi.Input[str]]):
|
|
916
|
+
def select_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
917
917
|
pulumi.set(self, "select_policy", value)
|
|
918
918
|
|
|
919
|
-
@property
|
|
919
|
+
@_builtins.property
|
|
920
920
|
@pulumi.getter(name="stabilizationWindowSeconds")
|
|
921
|
-
def stabilization_window_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
921
|
+
def stabilization_window_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
922
922
|
"""
|
|
923
923
|
StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
|
|
924
924
|
"""
|
|
925
925
|
return pulumi.get(self, "stabilization_window_seconds")
|
|
926
926
|
|
|
927
927
|
@stabilization_window_seconds.setter
|
|
928
|
-
def stabilization_window_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
928
|
+
def stabilization_window_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
929
929
|
pulumi.set(self, "stabilization_window_seconds", value)
|
|
930
930
|
|
|
931
931
|
|
|
@@ -966,7 +966,7 @@ class HorizontalPodAutoscalerBehaviorPatchArgs:
|
|
|
966
966
|
if scale_up is not None:
|
|
967
967
|
pulumi.set(__self__, "scale_up", scale_up)
|
|
968
968
|
|
|
969
|
-
@property
|
|
969
|
+
@_builtins.property
|
|
970
970
|
@pulumi.getter(name="scaleDown")
|
|
971
971
|
def scale_down(self) -> Optional[pulumi.Input['HPAScalingRulesPatchArgs']]:
|
|
972
972
|
"""
|
|
@@ -978,7 +978,7 @@ class HorizontalPodAutoscalerBehaviorPatchArgs:
|
|
|
978
978
|
def scale_down(self, value: Optional[pulumi.Input['HPAScalingRulesPatchArgs']]):
|
|
979
979
|
pulumi.set(self, "scale_down", value)
|
|
980
980
|
|
|
981
|
-
@property
|
|
981
|
+
@_builtins.property
|
|
982
982
|
@pulumi.getter(name="scaleUp")
|
|
983
983
|
def scale_up(self) -> Optional[pulumi.Input['HPAScalingRulesPatchArgs']]:
|
|
984
984
|
"""
|
|
@@ -1031,7 +1031,7 @@ class HorizontalPodAutoscalerBehaviorArgs:
|
|
|
1031
1031
|
if scale_up is not None:
|
|
1032
1032
|
pulumi.set(__self__, "scale_up", scale_up)
|
|
1033
1033
|
|
|
1034
|
-
@property
|
|
1034
|
+
@_builtins.property
|
|
1035
1035
|
@pulumi.getter(name="scaleDown")
|
|
1036
1036
|
def scale_down(self) -> Optional[pulumi.Input['HPAScalingRulesArgs']]:
|
|
1037
1037
|
"""
|
|
@@ -1043,7 +1043,7 @@ class HorizontalPodAutoscalerBehaviorArgs:
|
|
|
1043
1043
|
def scale_down(self, value: Optional[pulumi.Input['HPAScalingRulesArgs']]):
|
|
1044
1044
|
pulumi.set(self, "scale_down", value)
|
|
1045
1045
|
|
|
1046
|
-
@property
|
|
1046
|
+
@_builtins.property
|
|
1047
1047
|
@pulumi.getter(name="scaleUp")
|
|
1048
1048
|
def scale_up(self) -> Optional[pulumi.Input['HPAScalingRulesArgs']]:
|
|
1049
1049
|
"""
|
|
@@ -1064,23 +1064,23 @@ if not MYPY:
|
|
|
1064
1064
|
"""
|
|
1065
1065
|
HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.
|
|
1066
1066
|
"""
|
|
1067
|
-
status: pulumi.Input[str]
|
|
1067
|
+
status: pulumi.Input[_builtins.str]
|
|
1068
1068
|
"""
|
|
1069
1069
|
status is the status of the condition (True, False, Unknown)
|
|
1070
1070
|
"""
|
|
1071
|
-
type: pulumi.Input[str]
|
|
1071
|
+
type: pulumi.Input[_builtins.str]
|
|
1072
1072
|
"""
|
|
1073
1073
|
type describes the current condition
|
|
1074
1074
|
"""
|
|
1075
|
-
last_transition_time: NotRequired[pulumi.Input[str]]
|
|
1075
|
+
last_transition_time: NotRequired[pulumi.Input[_builtins.str]]
|
|
1076
1076
|
"""
|
|
1077
1077
|
lastTransitionTime is the last time the condition transitioned from one status to another
|
|
1078
1078
|
"""
|
|
1079
|
-
message: NotRequired[pulumi.Input[str]]
|
|
1079
|
+
message: NotRequired[pulumi.Input[_builtins.str]]
|
|
1080
1080
|
"""
|
|
1081
1081
|
message is a human-readable explanation containing details about the transition
|
|
1082
1082
|
"""
|
|
1083
|
-
reason: NotRequired[pulumi.Input[str]]
|
|
1083
|
+
reason: NotRequired[pulumi.Input[_builtins.str]]
|
|
1084
1084
|
"""
|
|
1085
1085
|
reason is the reason for the condition's last transition.
|
|
1086
1086
|
"""
|
|
@@ -1090,18 +1090,18 @@ elif False:
|
|
|
1090
1090
|
@pulumi.input_type
|
|
1091
1091
|
class HorizontalPodAutoscalerConditionArgs:
|
|
1092
1092
|
def __init__(__self__, *,
|
|
1093
|
-
status: pulumi.Input[str],
|
|
1094
|
-
type: pulumi.Input[str],
|
|
1095
|
-
last_transition_time: Optional[pulumi.Input[str]] = None,
|
|
1096
|
-
message: Optional[pulumi.Input[str]] = None,
|
|
1097
|
-
reason: Optional[pulumi.Input[str]] = None):
|
|
1093
|
+
status: pulumi.Input[_builtins.str],
|
|
1094
|
+
type: pulumi.Input[_builtins.str],
|
|
1095
|
+
last_transition_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1096
|
+
message: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1097
|
+
reason: Optional[pulumi.Input[_builtins.str]] = None):
|
|
1098
1098
|
"""
|
|
1099
1099
|
HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.
|
|
1100
|
-
:param pulumi.Input[str] status: status is the status of the condition (True, False, Unknown)
|
|
1101
|
-
:param pulumi.Input[str] type: type describes the current condition
|
|
1102
|
-
:param pulumi.Input[str] last_transition_time: lastTransitionTime is the last time the condition transitioned from one status to another
|
|
1103
|
-
:param pulumi.Input[str] message: message is a human-readable explanation containing details about the transition
|
|
1104
|
-
:param pulumi.Input[str] reason: reason is the reason for the condition's last transition.
|
|
1100
|
+
:param pulumi.Input[_builtins.str] status: status is the status of the condition (True, False, Unknown)
|
|
1101
|
+
:param pulumi.Input[_builtins.str] type: type describes the current condition
|
|
1102
|
+
:param pulumi.Input[_builtins.str] last_transition_time: lastTransitionTime is the last time the condition transitioned from one status to another
|
|
1103
|
+
:param pulumi.Input[_builtins.str] message: message is a human-readable explanation containing details about the transition
|
|
1104
|
+
:param pulumi.Input[_builtins.str] reason: reason is the reason for the condition's last transition.
|
|
1105
1105
|
"""
|
|
1106
1106
|
pulumi.set(__self__, "status", status)
|
|
1107
1107
|
pulumi.set(__self__, "type", type)
|
|
@@ -1112,64 +1112,64 @@ class HorizontalPodAutoscalerConditionArgs:
|
|
|
1112
1112
|
if reason is not None:
|
|
1113
1113
|
pulumi.set(__self__, "reason", reason)
|
|
1114
1114
|
|
|
1115
|
-
@property
|
|
1115
|
+
@_builtins.property
|
|
1116
1116
|
@pulumi.getter
|
|
1117
|
-
def status(self) -> pulumi.Input[str]:
|
|
1117
|
+
def status(self) -> pulumi.Input[_builtins.str]:
|
|
1118
1118
|
"""
|
|
1119
1119
|
status is the status of the condition (True, False, Unknown)
|
|
1120
1120
|
"""
|
|
1121
1121
|
return pulumi.get(self, "status")
|
|
1122
1122
|
|
|
1123
1123
|
@status.setter
|
|
1124
|
-
def status(self, value: pulumi.Input[str]):
|
|
1124
|
+
def status(self, value: pulumi.Input[_builtins.str]):
|
|
1125
1125
|
pulumi.set(self, "status", value)
|
|
1126
1126
|
|
|
1127
|
-
@property
|
|
1127
|
+
@_builtins.property
|
|
1128
1128
|
@pulumi.getter
|
|
1129
|
-
def type(self) -> pulumi.Input[str]:
|
|
1129
|
+
def type(self) -> pulumi.Input[_builtins.str]:
|
|
1130
1130
|
"""
|
|
1131
1131
|
type describes the current condition
|
|
1132
1132
|
"""
|
|
1133
1133
|
return pulumi.get(self, "type")
|
|
1134
1134
|
|
|
1135
1135
|
@type.setter
|
|
1136
|
-
def type(self, value: pulumi.Input[str]):
|
|
1136
|
+
def type(self, value: pulumi.Input[_builtins.str]):
|
|
1137
1137
|
pulumi.set(self, "type", value)
|
|
1138
1138
|
|
|
1139
|
-
@property
|
|
1139
|
+
@_builtins.property
|
|
1140
1140
|
@pulumi.getter(name="lastTransitionTime")
|
|
1141
|
-
def last_transition_time(self) -> Optional[pulumi.Input[str]]:
|
|
1141
|
+
def last_transition_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1142
1142
|
"""
|
|
1143
1143
|
lastTransitionTime is the last time the condition transitioned from one status to another
|
|
1144
1144
|
"""
|
|
1145
1145
|
return pulumi.get(self, "last_transition_time")
|
|
1146
1146
|
|
|
1147
1147
|
@last_transition_time.setter
|
|
1148
|
-
def last_transition_time(self, value: Optional[pulumi.Input[str]]):
|
|
1148
|
+
def last_transition_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1149
1149
|
pulumi.set(self, "last_transition_time", value)
|
|
1150
1150
|
|
|
1151
|
-
@property
|
|
1151
|
+
@_builtins.property
|
|
1152
1152
|
@pulumi.getter
|
|
1153
|
-
def message(self) -> Optional[pulumi.Input[str]]:
|
|
1153
|
+
def message(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1154
1154
|
"""
|
|
1155
1155
|
message is a human-readable explanation containing details about the transition
|
|
1156
1156
|
"""
|
|
1157
1157
|
return pulumi.get(self, "message")
|
|
1158
1158
|
|
|
1159
1159
|
@message.setter
|
|
1160
|
-
def message(self, value: Optional[pulumi.Input[str]]):
|
|
1160
|
+
def message(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1161
1161
|
pulumi.set(self, "message", value)
|
|
1162
1162
|
|
|
1163
|
-
@property
|
|
1163
|
+
@_builtins.property
|
|
1164
1164
|
@pulumi.getter
|
|
1165
|
-
def reason(self) -> Optional[pulumi.Input[str]]:
|
|
1165
|
+
def reason(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1166
1166
|
"""
|
|
1167
1167
|
reason is the reason for the condition's last transition.
|
|
1168
1168
|
"""
|
|
1169
1169
|
return pulumi.get(self, "reason")
|
|
1170
1170
|
|
|
1171
1171
|
@reason.setter
|
|
1172
|
-
def reason(self, value: Optional[pulumi.Input[str]]):
|
|
1172
|
+
def reason(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1173
1173
|
pulumi.set(self, "reason", value)
|
|
1174
1174
|
|
|
1175
1175
|
|
|
@@ -1182,7 +1182,7 @@ if not MYPY:
|
|
|
1182
1182
|
"""
|
|
1183
1183
|
behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used.
|
|
1184
1184
|
"""
|
|
1185
|
-
max_replicas: NotRequired[pulumi.Input[int]]
|
|
1185
|
+
max_replicas: NotRequired[pulumi.Input[_builtins.int]]
|
|
1186
1186
|
"""
|
|
1187
1187
|
maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1188
1188
|
"""
|
|
@@ -1190,7 +1190,7 @@ if not MYPY:
|
|
|
1190
1190
|
"""
|
|
1191
1191
|
metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization.
|
|
1192
1192
|
"""
|
|
1193
|
-
min_replicas: NotRequired[pulumi.Input[int]]
|
|
1193
|
+
min_replicas: NotRequired[pulumi.Input[_builtins.int]]
|
|
1194
1194
|
"""
|
|
1195
1195
|
minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.
|
|
1196
1196
|
"""
|
|
@@ -1205,16 +1205,16 @@ elif False:
|
|
|
1205
1205
|
class HorizontalPodAutoscalerSpecPatchArgs:
|
|
1206
1206
|
def __init__(__self__, *,
|
|
1207
1207
|
behavior: Optional[pulumi.Input['HorizontalPodAutoscalerBehaviorPatchArgs']] = None,
|
|
1208
|
-
max_replicas: Optional[pulumi.Input[int]] = None,
|
|
1208
|
+
max_replicas: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1209
1209
|
metrics: Optional[pulumi.Input[Sequence[pulumi.Input['MetricSpecPatchArgs']]]] = None,
|
|
1210
|
-
min_replicas: Optional[pulumi.Input[int]] = None,
|
|
1210
|
+
min_replicas: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1211
1211
|
scale_target_ref: Optional[pulumi.Input['CrossVersionObjectReferencePatchArgs']] = None):
|
|
1212
1212
|
"""
|
|
1213
1213
|
HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.
|
|
1214
1214
|
:param pulumi.Input['HorizontalPodAutoscalerBehaviorPatchArgs'] behavior: behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used.
|
|
1215
|
-
:param pulumi.Input[int] max_replicas: maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1215
|
+
:param pulumi.Input[_builtins.int] max_replicas: maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1216
1216
|
:param pulumi.Input[Sequence[pulumi.Input['MetricSpecPatchArgs']]] metrics: metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization.
|
|
1217
|
-
:param pulumi.Input[int] min_replicas: minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.
|
|
1217
|
+
:param pulumi.Input[_builtins.int] min_replicas: minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.
|
|
1218
1218
|
:param pulumi.Input['CrossVersionObjectReferencePatchArgs'] scale_target_ref: scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.
|
|
1219
1219
|
"""
|
|
1220
1220
|
if behavior is not None:
|
|
@@ -1228,7 +1228,7 @@ class HorizontalPodAutoscalerSpecPatchArgs:
|
|
|
1228
1228
|
if scale_target_ref is not None:
|
|
1229
1229
|
pulumi.set(__self__, "scale_target_ref", scale_target_ref)
|
|
1230
1230
|
|
|
1231
|
-
@property
|
|
1231
|
+
@_builtins.property
|
|
1232
1232
|
@pulumi.getter
|
|
1233
1233
|
def behavior(self) -> Optional[pulumi.Input['HorizontalPodAutoscalerBehaviorPatchArgs']]:
|
|
1234
1234
|
"""
|
|
@@ -1240,19 +1240,19 @@ class HorizontalPodAutoscalerSpecPatchArgs:
|
|
|
1240
1240
|
def behavior(self, value: Optional[pulumi.Input['HorizontalPodAutoscalerBehaviorPatchArgs']]):
|
|
1241
1241
|
pulumi.set(self, "behavior", value)
|
|
1242
1242
|
|
|
1243
|
-
@property
|
|
1243
|
+
@_builtins.property
|
|
1244
1244
|
@pulumi.getter(name="maxReplicas")
|
|
1245
|
-
def max_replicas(self) -> Optional[pulumi.Input[int]]:
|
|
1245
|
+
def max_replicas(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1246
1246
|
"""
|
|
1247
1247
|
maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1248
1248
|
"""
|
|
1249
1249
|
return pulumi.get(self, "max_replicas")
|
|
1250
1250
|
|
|
1251
1251
|
@max_replicas.setter
|
|
1252
|
-
def max_replicas(self, value: Optional[pulumi.Input[int]]):
|
|
1252
|
+
def max_replicas(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1253
1253
|
pulumi.set(self, "max_replicas", value)
|
|
1254
1254
|
|
|
1255
|
-
@property
|
|
1255
|
+
@_builtins.property
|
|
1256
1256
|
@pulumi.getter
|
|
1257
1257
|
def metrics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MetricSpecPatchArgs']]]]:
|
|
1258
1258
|
"""
|
|
@@ -1264,19 +1264,19 @@ class HorizontalPodAutoscalerSpecPatchArgs:
|
|
|
1264
1264
|
def metrics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MetricSpecPatchArgs']]]]):
|
|
1265
1265
|
pulumi.set(self, "metrics", value)
|
|
1266
1266
|
|
|
1267
|
-
@property
|
|
1267
|
+
@_builtins.property
|
|
1268
1268
|
@pulumi.getter(name="minReplicas")
|
|
1269
|
-
def min_replicas(self) -> Optional[pulumi.Input[int]]:
|
|
1269
|
+
def min_replicas(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1270
1270
|
"""
|
|
1271
1271
|
minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.
|
|
1272
1272
|
"""
|
|
1273
1273
|
return pulumi.get(self, "min_replicas")
|
|
1274
1274
|
|
|
1275
1275
|
@min_replicas.setter
|
|
1276
|
-
def min_replicas(self, value: Optional[pulumi.Input[int]]):
|
|
1276
|
+
def min_replicas(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1277
1277
|
pulumi.set(self, "min_replicas", value)
|
|
1278
1278
|
|
|
1279
|
-
@property
|
|
1279
|
+
@_builtins.property
|
|
1280
1280
|
@pulumi.getter(name="scaleTargetRef")
|
|
1281
1281
|
def scale_target_ref(self) -> Optional[pulumi.Input['CrossVersionObjectReferencePatchArgs']]:
|
|
1282
1282
|
"""
|
|
@@ -1294,7 +1294,7 @@ if not MYPY:
|
|
|
1294
1294
|
"""
|
|
1295
1295
|
HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.
|
|
1296
1296
|
"""
|
|
1297
|
-
max_replicas: pulumi.Input[int]
|
|
1297
|
+
max_replicas: pulumi.Input[_builtins.int]
|
|
1298
1298
|
"""
|
|
1299
1299
|
maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1300
1300
|
"""
|
|
@@ -1310,7 +1310,7 @@ if not MYPY:
|
|
|
1310
1310
|
"""
|
|
1311
1311
|
metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization.
|
|
1312
1312
|
"""
|
|
1313
|
-
min_replicas: NotRequired[pulumi.Input[int]]
|
|
1313
|
+
min_replicas: NotRequired[pulumi.Input[_builtins.int]]
|
|
1314
1314
|
"""
|
|
1315
1315
|
minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.
|
|
1316
1316
|
"""
|
|
@@ -1320,18 +1320,18 @@ elif False:
|
|
|
1320
1320
|
@pulumi.input_type
|
|
1321
1321
|
class HorizontalPodAutoscalerSpecArgs:
|
|
1322
1322
|
def __init__(__self__, *,
|
|
1323
|
-
max_replicas: pulumi.Input[int],
|
|
1323
|
+
max_replicas: pulumi.Input[_builtins.int],
|
|
1324
1324
|
scale_target_ref: pulumi.Input['CrossVersionObjectReferenceArgs'],
|
|
1325
1325
|
behavior: Optional[pulumi.Input['HorizontalPodAutoscalerBehaviorArgs']] = None,
|
|
1326
1326
|
metrics: Optional[pulumi.Input[Sequence[pulumi.Input['MetricSpecArgs']]]] = None,
|
|
1327
|
-
min_replicas: Optional[pulumi.Input[int]] = None):
|
|
1327
|
+
min_replicas: Optional[pulumi.Input[_builtins.int]] = None):
|
|
1328
1328
|
"""
|
|
1329
1329
|
HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.
|
|
1330
|
-
:param pulumi.Input[int] max_replicas: maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1330
|
+
:param pulumi.Input[_builtins.int] max_replicas: maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1331
1331
|
:param pulumi.Input['CrossVersionObjectReferenceArgs'] scale_target_ref: scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.
|
|
1332
1332
|
:param pulumi.Input['HorizontalPodAutoscalerBehaviorArgs'] behavior: behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used.
|
|
1333
1333
|
:param pulumi.Input[Sequence[pulumi.Input['MetricSpecArgs']]] metrics: metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization.
|
|
1334
|
-
:param pulumi.Input[int] min_replicas: minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.
|
|
1334
|
+
:param pulumi.Input[_builtins.int] min_replicas: minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.
|
|
1335
1335
|
"""
|
|
1336
1336
|
pulumi.set(__self__, "max_replicas", max_replicas)
|
|
1337
1337
|
pulumi.set(__self__, "scale_target_ref", scale_target_ref)
|
|
@@ -1342,19 +1342,19 @@ class HorizontalPodAutoscalerSpecArgs:
|
|
|
1342
1342
|
if min_replicas is not None:
|
|
1343
1343
|
pulumi.set(__self__, "min_replicas", min_replicas)
|
|
1344
1344
|
|
|
1345
|
-
@property
|
|
1345
|
+
@_builtins.property
|
|
1346
1346
|
@pulumi.getter(name="maxReplicas")
|
|
1347
|
-
def max_replicas(self) -> pulumi.Input[int]:
|
|
1347
|
+
def max_replicas(self) -> pulumi.Input[_builtins.int]:
|
|
1348
1348
|
"""
|
|
1349
1349
|
maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1350
1350
|
"""
|
|
1351
1351
|
return pulumi.get(self, "max_replicas")
|
|
1352
1352
|
|
|
1353
1353
|
@max_replicas.setter
|
|
1354
|
-
def max_replicas(self, value: pulumi.Input[int]):
|
|
1354
|
+
def max_replicas(self, value: pulumi.Input[_builtins.int]):
|
|
1355
1355
|
pulumi.set(self, "max_replicas", value)
|
|
1356
1356
|
|
|
1357
|
-
@property
|
|
1357
|
+
@_builtins.property
|
|
1358
1358
|
@pulumi.getter(name="scaleTargetRef")
|
|
1359
1359
|
def scale_target_ref(self) -> pulumi.Input['CrossVersionObjectReferenceArgs']:
|
|
1360
1360
|
"""
|
|
@@ -1366,7 +1366,7 @@ class HorizontalPodAutoscalerSpecArgs:
|
|
|
1366
1366
|
def scale_target_ref(self, value: pulumi.Input['CrossVersionObjectReferenceArgs']):
|
|
1367
1367
|
pulumi.set(self, "scale_target_ref", value)
|
|
1368
1368
|
|
|
1369
|
-
@property
|
|
1369
|
+
@_builtins.property
|
|
1370
1370
|
@pulumi.getter
|
|
1371
1371
|
def behavior(self) -> Optional[pulumi.Input['HorizontalPodAutoscalerBehaviorArgs']]:
|
|
1372
1372
|
"""
|
|
@@ -1378,7 +1378,7 @@ class HorizontalPodAutoscalerSpecArgs:
|
|
|
1378
1378
|
def behavior(self, value: Optional[pulumi.Input['HorizontalPodAutoscalerBehaviorArgs']]):
|
|
1379
1379
|
pulumi.set(self, "behavior", value)
|
|
1380
1380
|
|
|
1381
|
-
@property
|
|
1381
|
+
@_builtins.property
|
|
1382
1382
|
@pulumi.getter
|
|
1383
1383
|
def metrics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MetricSpecArgs']]]]:
|
|
1384
1384
|
"""
|
|
@@ -1390,16 +1390,16 @@ class HorizontalPodAutoscalerSpecArgs:
|
|
|
1390
1390
|
def metrics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MetricSpecArgs']]]]):
|
|
1391
1391
|
pulumi.set(self, "metrics", value)
|
|
1392
1392
|
|
|
1393
|
-
@property
|
|
1393
|
+
@_builtins.property
|
|
1394
1394
|
@pulumi.getter(name="minReplicas")
|
|
1395
|
-
def min_replicas(self) -> Optional[pulumi.Input[int]]:
|
|
1395
|
+
def min_replicas(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1396
1396
|
"""
|
|
1397
1397
|
minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.
|
|
1398
1398
|
"""
|
|
1399
1399
|
return pulumi.get(self, "min_replicas")
|
|
1400
1400
|
|
|
1401
1401
|
@min_replicas.setter
|
|
1402
|
-
def min_replicas(self, value: Optional[pulumi.Input[int]]):
|
|
1402
|
+
def min_replicas(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1403
1403
|
pulumi.set(self, "min_replicas", value)
|
|
1404
1404
|
|
|
1405
1405
|
|
|
@@ -1412,11 +1412,11 @@ if not MYPY:
|
|
|
1412
1412
|
"""
|
|
1413
1413
|
conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.
|
|
1414
1414
|
"""
|
|
1415
|
-
current_replicas: pulumi.Input[int]
|
|
1415
|
+
current_replicas: pulumi.Input[_builtins.int]
|
|
1416
1416
|
"""
|
|
1417
1417
|
currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
|
|
1418
1418
|
"""
|
|
1419
|
-
desired_replicas: pulumi.Input[int]
|
|
1419
|
+
desired_replicas: pulumi.Input[_builtins.int]
|
|
1420
1420
|
"""
|
|
1421
1421
|
desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
|
|
1422
1422
|
"""
|
|
@@ -1424,11 +1424,11 @@ if not MYPY:
|
|
|
1424
1424
|
"""
|
|
1425
1425
|
currentMetrics is the last read state of the metrics used by this autoscaler.
|
|
1426
1426
|
"""
|
|
1427
|
-
last_scale_time: NotRequired[pulumi.Input[str]]
|
|
1427
|
+
last_scale_time: NotRequired[pulumi.Input[_builtins.str]]
|
|
1428
1428
|
"""
|
|
1429
1429
|
lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.
|
|
1430
1430
|
"""
|
|
1431
|
-
observed_generation: NotRequired[pulumi.Input[int]]
|
|
1431
|
+
observed_generation: NotRequired[pulumi.Input[_builtins.int]]
|
|
1432
1432
|
"""
|
|
1433
1433
|
observedGeneration is the most recent generation observed by this autoscaler.
|
|
1434
1434
|
"""
|
|
@@ -1439,19 +1439,19 @@ elif False:
|
|
|
1439
1439
|
class HorizontalPodAutoscalerStatusArgs:
|
|
1440
1440
|
def __init__(__self__, *,
|
|
1441
1441
|
conditions: pulumi.Input[Sequence[pulumi.Input['HorizontalPodAutoscalerConditionArgs']]],
|
|
1442
|
-
current_replicas: pulumi.Input[int],
|
|
1443
|
-
desired_replicas: pulumi.Input[int],
|
|
1442
|
+
current_replicas: pulumi.Input[_builtins.int],
|
|
1443
|
+
desired_replicas: pulumi.Input[_builtins.int],
|
|
1444
1444
|
current_metrics: Optional[pulumi.Input[Sequence[pulumi.Input['MetricStatusArgs']]]] = None,
|
|
1445
|
-
last_scale_time: Optional[pulumi.Input[str]] = None,
|
|
1446
|
-
observed_generation: Optional[pulumi.Input[int]] = None):
|
|
1445
|
+
last_scale_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1446
|
+
observed_generation: Optional[pulumi.Input[_builtins.int]] = None):
|
|
1447
1447
|
"""
|
|
1448
1448
|
HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.
|
|
1449
1449
|
:param pulumi.Input[Sequence[pulumi.Input['HorizontalPodAutoscalerConditionArgs']]] conditions: conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.
|
|
1450
|
-
:param pulumi.Input[int] current_replicas: currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
|
|
1451
|
-
:param pulumi.Input[int] desired_replicas: desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
|
|
1450
|
+
:param pulumi.Input[_builtins.int] current_replicas: currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
|
|
1451
|
+
:param pulumi.Input[_builtins.int] desired_replicas: desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
|
|
1452
1452
|
:param pulumi.Input[Sequence[pulumi.Input['MetricStatusArgs']]] current_metrics: currentMetrics is the last read state of the metrics used by this autoscaler.
|
|
1453
|
-
:param pulumi.Input[str] last_scale_time: lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.
|
|
1454
|
-
:param pulumi.Input[int] observed_generation: observedGeneration is the most recent generation observed by this autoscaler.
|
|
1453
|
+
:param pulumi.Input[_builtins.str] last_scale_time: lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.
|
|
1454
|
+
:param pulumi.Input[_builtins.int] observed_generation: observedGeneration is the most recent generation observed by this autoscaler.
|
|
1455
1455
|
"""
|
|
1456
1456
|
pulumi.set(__self__, "conditions", conditions)
|
|
1457
1457
|
pulumi.set(__self__, "current_replicas", current_replicas)
|
|
@@ -1463,7 +1463,7 @@ class HorizontalPodAutoscalerStatusArgs:
|
|
|
1463
1463
|
if observed_generation is not None:
|
|
1464
1464
|
pulumi.set(__self__, "observed_generation", observed_generation)
|
|
1465
1465
|
|
|
1466
|
-
@property
|
|
1466
|
+
@_builtins.property
|
|
1467
1467
|
@pulumi.getter
|
|
1468
1468
|
def conditions(self) -> pulumi.Input[Sequence[pulumi.Input['HorizontalPodAutoscalerConditionArgs']]]:
|
|
1469
1469
|
"""
|
|
@@ -1475,31 +1475,31 @@ class HorizontalPodAutoscalerStatusArgs:
|
|
|
1475
1475
|
def conditions(self, value: pulumi.Input[Sequence[pulumi.Input['HorizontalPodAutoscalerConditionArgs']]]):
|
|
1476
1476
|
pulumi.set(self, "conditions", value)
|
|
1477
1477
|
|
|
1478
|
-
@property
|
|
1478
|
+
@_builtins.property
|
|
1479
1479
|
@pulumi.getter(name="currentReplicas")
|
|
1480
|
-
def current_replicas(self) -> pulumi.Input[int]:
|
|
1480
|
+
def current_replicas(self) -> pulumi.Input[_builtins.int]:
|
|
1481
1481
|
"""
|
|
1482
1482
|
currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
|
|
1483
1483
|
"""
|
|
1484
1484
|
return pulumi.get(self, "current_replicas")
|
|
1485
1485
|
|
|
1486
1486
|
@current_replicas.setter
|
|
1487
|
-
def current_replicas(self, value: pulumi.Input[int]):
|
|
1487
|
+
def current_replicas(self, value: pulumi.Input[_builtins.int]):
|
|
1488
1488
|
pulumi.set(self, "current_replicas", value)
|
|
1489
1489
|
|
|
1490
|
-
@property
|
|
1490
|
+
@_builtins.property
|
|
1491
1491
|
@pulumi.getter(name="desiredReplicas")
|
|
1492
|
-
def desired_replicas(self) -> pulumi.Input[int]:
|
|
1492
|
+
def desired_replicas(self) -> pulumi.Input[_builtins.int]:
|
|
1493
1493
|
"""
|
|
1494
1494
|
desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
|
|
1495
1495
|
"""
|
|
1496
1496
|
return pulumi.get(self, "desired_replicas")
|
|
1497
1497
|
|
|
1498
1498
|
@desired_replicas.setter
|
|
1499
|
-
def desired_replicas(self, value: pulumi.Input[int]):
|
|
1499
|
+
def desired_replicas(self, value: pulumi.Input[_builtins.int]):
|
|
1500
1500
|
pulumi.set(self, "desired_replicas", value)
|
|
1501
1501
|
|
|
1502
|
-
@property
|
|
1502
|
+
@_builtins.property
|
|
1503
1503
|
@pulumi.getter(name="currentMetrics")
|
|
1504
1504
|
def current_metrics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MetricStatusArgs']]]]:
|
|
1505
1505
|
"""
|
|
@@ -1511,28 +1511,28 @@ class HorizontalPodAutoscalerStatusArgs:
|
|
|
1511
1511
|
def current_metrics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MetricStatusArgs']]]]):
|
|
1512
1512
|
pulumi.set(self, "current_metrics", value)
|
|
1513
1513
|
|
|
1514
|
-
@property
|
|
1514
|
+
@_builtins.property
|
|
1515
1515
|
@pulumi.getter(name="lastScaleTime")
|
|
1516
|
-
def last_scale_time(self) -> Optional[pulumi.Input[str]]:
|
|
1516
|
+
def last_scale_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1517
1517
|
"""
|
|
1518
1518
|
lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.
|
|
1519
1519
|
"""
|
|
1520
1520
|
return pulumi.get(self, "last_scale_time")
|
|
1521
1521
|
|
|
1522
1522
|
@last_scale_time.setter
|
|
1523
|
-
def last_scale_time(self, value: Optional[pulumi.Input[str]]):
|
|
1523
|
+
def last_scale_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1524
1524
|
pulumi.set(self, "last_scale_time", value)
|
|
1525
1525
|
|
|
1526
|
-
@property
|
|
1526
|
+
@_builtins.property
|
|
1527
1527
|
@pulumi.getter(name="observedGeneration")
|
|
1528
|
-
def observed_generation(self) -> Optional[pulumi.Input[int]]:
|
|
1528
|
+
def observed_generation(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1529
1529
|
"""
|
|
1530
1530
|
observedGeneration is the most recent generation observed by this autoscaler.
|
|
1531
1531
|
"""
|
|
1532
1532
|
return pulumi.get(self, "observed_generation")
|
|
1533
1533
|
|
|
1534
1534
|
@observed_generation.setter
|
|
1535
|
-
def observed_generation(self, value: Optional[pulumi.Input[int]]):
|
|
1535
|
+
def observed_generation(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1536
1536
|
pulumi.set(self, "observed_generation", value)
|
|
1537
1537
|
|
|
1538
1538
|
|
|
@@ -1541,11 +1541,11 @@ if not MYPY:
|
|
|
1541
1541
|
"""
|
|
1542
1542
|
HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.
|
|
1543
1543
|
"""
|
|
1544
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
1544
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
1545
1545
|
"""
|
|
1546
1546
|
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
|
|
1547
1547
|
"""
|
|
1548
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
1548
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
1549
1549
|
"""
|
|
1550
1550
|
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
|
|
1551
1551
|
"""
|
|
@@ -1567,15 +1567,15 @@ elif False:
|
|
|
1567
1567
|
@pulumi.input_type
|
|
1568
1568
|
class HorizontalPodAutoscalerArgs:
|
|
1569
1569
|
def __init__(__self__, *,
|
|
1570
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
1571
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
1570
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1571
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1572
1572
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
1573
1573
|
spec: Optional[pulumi.Input['HorizontalPodAutoscalerSpecArgs']] = None,
|
|
1574
1574
|
status: Optional[pulumi.Input['HorizontalPodAutoscalerStatusArgs']] = None):
|
|
1575
1575
|
"""
|
|
1576
1576
|
HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.
|
|
1577
|
-
: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
|
|
1578
|
-
: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
|
|
1577
|
+
:param pulumi.Input[_builtins.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
|
|
1578
|
+
:param pulumi.Input[_builtins.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
|
|
1579
1579
|
:param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
1580
1580
|
:param pulumi.Input['HorizontalPodAutoscalerSpecArgs'] spec: spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
|
|
1581
1581
|
:param pulumi.Input['HorizontalPodAutoscalerStatusArgs'] status: status is the current information about the autoscaler.
|
|
@@ -1591,31 +1591,31 @@ class HorizontalPodAutoscalerArgs:
|
|
|
1591
1591
|
if status is not None:
|
|
1592
1592
|
pulumi.set(__self__, "status", status)
|
|
1593
1593
|
|
|
1594
|
-
@property
|
|
1594
|
+
@_builtins.property
|
|
1595
1595
|
@pulumi.getter(name="apiVersion")
|
|
1596
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
1596
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1597
1597
|
"""
|
|
1598
1598
|
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
|
|
1599
1599
|
"""
|
|
1600
1600
|
return pulumi.get(self, "api_version")
|
|
1601
1601
|
|
|
1602
1602
|
@api_version.setter
|
|
1603
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
1603
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1604
1604
|
pulumi.set(self, "api_version", value)
|
|
1605
1605
|
|
|
1606
|
-
@property
|
|
1606
|
+
@_builtins.property
|
|
1607
1607
|
@pulumi.getter
|
|
1608
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
1608
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1609
1609
|
"""
|
|
1610
1610
|
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
|
|
1611
1611
|
"""
|
|
1612
1612
|
return pulumi.get(self, "kind")
|
|
1613
1613
|
|
|
1614
1614
|
@kind.setter
|
|
1615
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
1615
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1616
1616
|
pulumi.set(self, "kind", value)
|
|
1617
1617
|
|
|
1618
|
-
@property
|
|
1618
|
+
@_builtins.property
|
|
1619
1619
|
@pulumi.getter
|
|
1620
1620
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
1621
1621
|
"""
|
|
@@ -1627,7 +1627,7 @@ class HorizontalPodAutoscalerArgs:
|
|
|
1627
1627
|
def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
|
|
1628
1628
|
pulumi.set(self, "metadata", value)
|
|
1629
1629
|
|
|
1630
|
-
@property
|
|
1630
|
+
@_builtins.property
|
|
1631
1631
|
@pulumi.getter
|
|
1632
1632
|
def spec(self) -> Optional[pulumi.Input['HorizontalPodAutoscalerSpecArgs']]:
|
|
1633
1633
|
"""
|
|
@@ -1639,7 +1639,7 @@ class HorizontalPodAutoscalerArgs:
|
|
|
1639
1639
|
def spec(self, value: Optional[pulumi.Input['HorizontalPodAutoscalerSpecArgs']]):
|
|
1640
1640
|
pulumi.set(self, "spec", value)
|
|
1641
1641
|
|
|
1642
|
-
@property
|
|
1642
|
+
@_builtins.property
|
|
1643
1643
|
@pulumi.getter
|
|
1644
1644
|
def status(self) -> Optional[pulumi.Input['HorizontalPodAutoscalerStatusArgs']]:
|
|
1645
1645
|
"""
|
|
@@ -1657,7 +1657,7 @@ if not MYPY:
|
|
|
1657
1657
|
"""
|
|
1658
1658
|
MetricIdentifier defines the name and optionally selector for a metric
|
|
1659
1659
|
"""
|
|
1660
|
-
name: NotRequired[pulumi.Input[str]]
|
|
1660
|
+
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
1661
1661
|
"""
|
|
1662
1662
|
name is the name of the given metric
|
|
1663
1663
|
"""
|
|
@@ -1671,11 +1671,11 @@ elif False:
|
|
|
1671
1671
|
@pulumi.input_type
|
|
1672
1672
|
class MetricIdentifierPatchArgs:
|
|
1673
1673
|
def __init__(__self__, *,
|
|
1674
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
1674
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1675
1675
|
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None):
|
|
1676
1676
|
"""
|
|
1677
1677
|
MetricIdentifier defines the name and optionally selector for a metric
|
|
1678
|
-
:param pulumi.Input[str] name: name is the name of the given metric
|
|
1678
|
+
:param pulumi.Input[_builtins.str] name: name is the name of the given metric
|
|
1679
1679
|
:param pulumi.Input['_meta.v1.LabelSelectorPatchArgs'] selector: selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.
|
|
1680
1680
|
"""
|
|
1681
1681
|
if name is not None:
|
|
@@ -1683,19 +1683,19 @@ class MetricIdentifierPatchArgs:
|
|
|
1683
1683
|
if selector is not None:
|
|
1684
1684
|
pulumi.set(__self__, "selector", selector)
|
|
1685
1685
|
|
|
1686
|
-
@property
|
|
1686
|
+
@_builtins.property
|
|
1687
1687
|
@pulumi.getter
|
|
1688
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
1688
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1689
1689
|
"""
|
|
1690
1690
|
name is the name of the given metric
|
|
1691
1691
|
"""
|
|
1692
1692
|
return pulumi.get(self, "name")
|
|
1693
1693
|
|
|
1694
1694
|
@name.setter
|
|
1695
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
1695
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1696
1696
|
pulumi.set(self, "name", value)
|
|
1697
1697
|
|
|
1698
|
-
@property
|
|
1698
|
+
@_builtins.property
|
|
1699
1699
|
@pulumi.getter
|
|
1700
1700
|
def selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]:
|
|
1701
1701
|
"""
|
|
@@ -1713,7 +1713,7 @@ if not MYPY:
|
|
|
1713
1713
|
"""
|
|
1714
1714
|
MetricIdentifier defines the name and optionally selector for a metric
|
|
1715
1715
|
"""
|
|
1716
|
-
name: pulumi.Input[str]
|
|
1716
|
+
name: pulumi.Input[_builtins.str]
|
|
1717
1717
|
"""
|
|
1718
1718
|
name is the name of the given metric
|
|
1719
1719
|
"""
|
|
@@ -1727,30 +1727,30 @@ elif False:
|
|
|
1727
1727
|
@pulumi.input_type
|
|
1728
1728
|
class MetricIdentifierArgs:
|
|
1729
1729
|
def __init__(__self__, *,
|
|
1730
|
-
name: pulumi.Input[str],
|
|
1730
|
+
name: pulumi.Input[_builtins.str],
|
|
1731
1731
|
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None):
|
|
1732
1732
|
"""
|
|
1733
1733
|
MetricIdentifier defines the name and optionally selector for a metric
|
|
1734
|
-
:param pulumi.Input[str] name: name is the name of the given metric
|
|
1734
|
+
:param pulumi.Input[_builtins.str] name: name is the name of the given metric
|
|
1735
1735
|
:param pulumi.Input['_meta.v1.LabelSelectorArgs'] selector: selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.
|
|
1736
1736
|
"""
|
|
1737
1737
|
pulumi.set(__self__, "name", name)
|
|
1738
1738
|
if selector is not None:
|
|
1739
1739
|
pulumi.set(__self__, "selector", selector)
|
|
1740
1740
|
|
|
1741
|
-
@property
|
|
1741
|
+
@_builtins.property
|
|
1742
1742
|
@pulumi.getter
|
|
1743
|
-
def name(self) -> pulumi.Input[str]:
|
|
1743
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
1744
1744
|
"""
|
|
1745
1745
|
name is the name of the given metric
|
|
1746
1746
|
"""
|
|
1747
1747
|
return pulumi.get(self, "name")
|
|
1748
1748
|
|
|
1749
1749
|
@name.setter
|
|
1750
|
-
def name(self, value: pulumi.Input[str]):
|
|
1750
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
1751
1751
|
pulumi.set(self, "name", value)
|
|
1752
1752
|
|
|
1753
|
-
@property
|
|
1753
|
+
@_builtins.property
|
|
1754
1754
|
@pulumi.getter
|
|
1755
1755
|
def selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]:
|
|
1756
1756
|
"""
|
|
@@ -1788,7 +1788,7 @@ if not MYPY:
|
|
|
1788
1788
|
"""
|
|
1789
1789
|
resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
1790
1790
|
"""
|
|
1791
|
-
type: NotRequired[pulumi.Input[str]]
|
|
1791
|
+
type: NotRequired[pulumi.Input[_builtins.str]]
|
|
1792
1792
|
"""
|
|
1793
1793
|
type is the type of metric source. It should be one of "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
1794
1794
|
"""
|
|
@@ -1803,7 +1803,7 @@ class MetricSpecPatchArgs:
|
|
|
1803
1803
|
object: Optional[pulumi.Input['ObjectMetricSourcePatchArgs']] = None,
|
|
1804
1804
|
pods: Optional[pulumi.Input['PodsMetricSourcePatchArgs']] = None,
|
|
1805
1805
|
resource: Optional[pulumi.Input['ResourceMetricSourcePatchArgs']] = None,
|
|
1806
|
-
type: Optional[pulumi.Input[str]] = None):
|
|
1806
|
+
type: Optional[pulumi.Input[_builtins.str]] = None):
|
|
1807
1807
|
"""
|
|
1808
1808
|
MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
|
|
1809
1809
|
:param pulumi.Input['ContainerResourceMetricSourcePatchArgs'] container_resource: container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag.
|
|
@@ -1811,7 +1811,7 @@ class MetricSpecPatchArgs:
|
|
|
1811
1811
|
:param pulumi.Input['ObjectMetricSourcePatchArgs'] object: object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
|
|
1812
1812
|
:param pulumi.Input['PodsMetricSourcePatchArgs'] pods: pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.
|
|
1813
1813
|
:param pulumi.Input['ResourceMetricSourcePatchArgs'] resource: resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
1814
|
-
:param pulumi.Input[str] type: type is the type of metric source. It should be one of "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
1814
|
+
:param pulumi.Input[_builtins.str] type: type is the type of metric source. It should be one of "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
1815
1815
|
"""
|
|
1816
1816
|
if container_resource is not None:
|
|
1817
1817
|
pulumi.set(__self__, "container_resource", container_resource)
|
|
@@ -1826,7 +1826,7 @@ class MetricSpecPatchArgs:
|
|
|
1826
1826
|
if type is not None:
|
|
1827
1827
|
pulumi.set(__self__, "type", type)
|
|
1828
1828
|
|
|
1829
|
-
@property
|
|
1829
|
+
@_builtins.property
|
|
1830
1830
|
@pulumi.getter(name="containerResource")
|
|
1831
1831
|
def container_resource(self) -> Optional[pulumi.Input['ContainerResourceMetricSourcePatchArgs']]:
|
|
1832
1832
|
"""
|
|
@@ -1838,7 +1838,7 @@ class MetricSpecPatchArgs:
|
|
|
1838
1838
|
def container_resource(self, value: Optional[pulumi.Input['ContainerResourceMetricSourcePatchArgs']]):
|
|
1839
1839
|
pulumi.set(self, "container_resource", value)
|
|
1840
1840
|
|
|
1841
|
-
@property
|
|
1841
|
+
@_builtins.property
|
|
1842
1842
|
@pulumi.getter
|
|
1843
1843
|
def external(self) -> Optional[pulumi.Input['ExternalMetricSourcePatchArgs']]:
|
|
1844
1844
|
"""
|
|
@@ -1850,7 +1850,7 @@ class MetricSpecPatchArgs:
|
|
|
1850
1850
|
def external(self, value: Optional[pulumi.Input['ExternalMetricSourcePatchArgs']]):
|
|
1851
1851
|
pulumi.set(self, "external", value)
|
|
1852
1852
|
|
|
1853
|
-
@property
|
|
1853
|
+
@_builtins.property
|
|
1854
1854
|
@pulumi.getter
|
|
1855
1855
|
def object(self) -> Optional[pulumi.Input['ObjectMetricSourcePatchArgs']]:
|
|
1856
1856
|
"""
|
|
@@ -1862,7 +1862,7 @@ class MetricSpecPatchArgs:
|
|
|
1862
1862
|
def object(self, value: Optional[pulumi.Input['ObjectMetricSourcePatchArgs']]):
|
|
1863
1863
|
pulumi.set(self, "object", value)
|
|
1864
1864
|
|
|
1865
|
-
@property
|
|
1865
|
+
@_builtins.property
|
|
1866
1866
|
@pulumi.getter
|
|
1867
1867
|
def pods(self) -> Optional[pulumi.Input['PodsMetricSourcePatchArgs']]:
|
|
1868
1868
|
"""
|
|
@@ -1874,7 +1874,7 @@ class MetricSpecPatchArgs:
|
|
|
1874
1874
|
def pods(self, value: Optional[pulumi.Input['PodsMetricSourcePatchArgs']]):
|
|
1875
1875
|
pulumi.set(self, "pods", value)
|
|
1876
1876
|
|
|
1877
|
-
@property
|
|
1877
|
+
@_builtins.property
|
|
1878
1878
|
@pulumi.getter
|
|
1879
1879
|
def resource(self) -> Optional[pulumi.Input['ResourceMetricSourcePatchArgs']]:
|
|
1880
1880
|
"""
|
|
@@ -1886,16 +1886,16 @@ class MetricSpecPatchArgs:
|
|
|
1886
1886
|
def resource(self, value: Optional[pulumi.Input['ResourceMetricSourcePatchArgs']]):
|
|
1887
1887
|
pulumi.set(self, "resource", value)
|
|
1888
1888
|
|
|
1889
|
-
@property
|
|
1889
|
+
@_builtins.property
|
|
1890
1890
|
@pulumi.getter
|
|
1891
|
-
def type(self) -> Optional[pulumi.Input[str]]:
|
|
1891
|
+
def type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1892
1892
|
"""
|
|
1893
1893
|
type is the type of metric source. It should be one of "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
1894
1894
|
"""
|
|
1895
1895
|
return pulumi.get(self, "type")
|
|
1896
1896
|
|
|
1897
1897
|
@type.setter
|
|
1898
|
-
def type(self, value: Optional[pulumi.Input[str]]):
|
|
1898
|
+
def type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1899
1899
|
pulumi.set(self, "type", value)
|
|
1900
1900
|
|
|
1901
1901
|
|
|
@@ -1904,7 +1904,7 @@ if not MYPY:
|
|
|
1904
1904
|
"""
|
|
1905
1905
|
MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
|
|
1906
1906
|
"""
|
|
1907
|
-
type: pulumi.Input[str]
|
|
1907
|
+
type: pulumi.Input[_builtins.str]
|
|
1908
1908
|
"""
|
|
1909
1909
|
type is the type of metric source. It should be one of "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
1910
1910
|
"""
|
|
@@ -1934,7 +1934,7 @@ elif False:
|
|
|
1934
1934
|
@pulumi.input_type
|
|
1935
1935
|
class MetricSpecArgs:
|
|
1936
1936
|
def __init__(__self__, *,
|
|
1937
|
-
type: pulumi.Input[str],
|
|
1937
|
+
type: pulumi.Input[_builtins.str],
|
|
1938
1938
|
container_resource: Optional[pulumi.Input['ContainerResourceMetricSourceArgs']] = None,
|
|
1939
1939
|
external: Optional[pulumi.Input['ExternalMetricSourceArgs']] = None,
|
|
1940
1940
|
object: Optional[pulumi.Input['ObjectMetricSourceArgs']] = None,
|
|
@@ -1942,7 +1942,7 @@ class MetricSpecArgs:
|
|
|
1942
1942
|
resource: Optional[pulumi.Input['ResourceMetricSourceArgs']] = None):
|
|
1943
1943
|
"""
|
|
1944
1944
|
MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
|
|
1945
|
-
:param pulumi.Input[str] type: type is the type of metric source. It should be one of "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
1945
|
+
:param pulumi.Input[_builtins.str] type: type is the type of metric source. It should be one of "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
1946
1946
|
:param pulumi.Input['ContainerResourceMetricSourceArgs'] container_resource: container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag.
|
|
1947
1947
|
:param pulumi.Input['ExternalMetricSourceArgs'] external: external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
|
|
1948
1948
|
:param pulumi.Input['ObjectMetricSourceArgs'] object: object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
|
|
@@ -1961,19 +1961,19 @@ class MetricSpecArgs:
|
|
|
1961
1961
|
if resource is not None:
|
|
1962
1962
|
pulumi.set(__self__, "resource", resource)
|
|
1963
1963
|
|
|
1964
|
-
@property
|
|
1964
|
+
@_builtins.property
|
|
1965
1965
|
@pulumi.getter
|
|
1966
|
-
def type(self) -> pulumi.Input[str]:
|
|
1966
|
+
def type(self) -> pulumi.Input[_builtins.str]:
|
|
1967
1967
|
"""
|
|
1968
1968
|
type is the type of metric source. It should be one of "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
1969
1969
|
"""
|
|
1970
1970
|
return pulumi.get(self, "type")
|
|
1971
1971
|
|
|
1972
1972
|
@type.setter
|
|
1973
|
-
def type(self, value: pulumi.Input[str]):
|
|
1973
|
+
def type(self, value: pulumi.Input[_builtins.str]):
|
|
1974
1974
|
pulumi.set(self, "type", value)
|
|
1975
1975
|
|
|
1976
|
-
@property
|
|
1976
|
+
@_builtins.property
|
|
1977
1977
|
@pulumi.getter(name="containerResource")
|
|
1978
1978
|
def container_resource(self) -> Optional[pulumi.Input['ContainerResourceMetricSourceArgs']]:
|
|
1979
1979
|
"""
|
|
@@ -1985,7 +1985,7 @@ class MetricSpecArgs:
|
|
|
1985
1985
|
def container_resource(self, value: Optional[pulumi.Input['ContainerResourceMetricSourceArgs']]):
|
|
1986
1986
|
pulumi.set(self, "container_resource", value)
|
|
1987
1987
|
|
|
1988
|
-
@property
|
|
1988
|
+
@_builtins.property
|
|
1989
1989
|
@pulumi.getter
|
|
1990
1990
|
def external(self) -> Optional[pulumi.Input['ExternalMetricSourceArgs']]:
|
|
1991
1991
|
"""
|
|
@@ -1997,7 +1997,7 @@ class MetricSpecArgs:
|
|
|
1997
1997
|
def external(self, value: Optional[pulumi.Input['ExternalMetricSourceArgs']]):
|
|
1998
1998
|
pulumi.set(self, "external", value)
|
|
1999
1999
|
|
|
2000
|
-
@property
|
|
2000
|
+
@_builtins.property
|
|
2001
2001
|
@pulumi.getter
|
|
2002
2002
|
def object(self) -> Optional[pulumi.Input['ObjectMetricSourceArgs']]:
|
|
2003
2003
|
"""
|
|
@@ -2009,7 +2009,7 @@ class MetricSpecArgs:
|
|
|
2009
2009
|
def object(self, value: Optional[pulumi.Input['ObjectMetricSourceArgs']]):
|
|
2010
2010
|
pulumi.set(self, "object", value)
|
|
2011
2011
|
|
|
2012
|
-
@property
|
|
2012
|
+
@_builtins.property
|
|
2013
2013
|
@pulumi.getter
|
|
2014
2014
|
def pods(self) -> Optional[pulumi.Input['PodsMetricSourceArgs']]:
|
|
2015
2015
|
"""
|
|
@@ -2021,7 +2021,7 @@ class MetricSpecArgs:
|
|
|
2021
2021
|
def pods(self, value: Optional[pulumi.Input['PodsMetricSourceArgs']]):
|
|
2022
2022
|
pulumi.set(self, "pods", value)
|
|
2023
2023
|
|
|
2024
|
-
@property
|
|
2024
|
+
@_builtins.property
|
|
2025
2025
|
@pulumi.getter
|
|
2026
2026
|
def resource(self) -> Optional[pulumi.Input['ResourceMetricSourceArgs']]:
|
|
2027
2027
|
"""
|
|
@@ -2039,7 +2039,7 @@ if not MYPY:
|
|
|
2039
2039
|
"""
|
|
2040
2040
|
MetricStatus describes the last-read state of a single metric.
|
|
2041
2041
|
"""
|
|
2042
|
-
type: pulumi.Input[str]
|
|
2042
|
+
type: pulumi.Input[_builtins.str]
|
|
2043
2043
|
"""
|
|
2044
2044
|
type is the type of metric source. It will be one of "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
|
|
2045
2045
|
"""
|
|
@@ -2069,7 +2069,7 @@ elif False:
|
|
|
2069
2069
|
@pulumi.input_type
|
|
2070
2070
|
class MetricStatusArgs:
|
|
2071
2071
|
def __init__(__self__, *,
|
|
2072
|
-
type: pulumi.Input[str],
|
|
2072
|
+
type: pulumi.Input[_builtins.str],
|
|
2073
2073
|
container_resource: Optional[pulumi.Input['ContainerResourceMetricStatusArgs']] = None,
|
|
2074
2074
|
external: Optional[pulumi.Input['ExternalMetricStatusArgs']] = None,
|
|
2075
2075
|
object: Optional[pulumi.Input['ObjectMetricStatusArgs']] = None,
|
|
@@ -2077,7 +2077,7 @@ class MetricStatusArgs:
|
|
|
2077
2077
|
resource: Optional[pulumi.Input['ResourceMetricStatusArgs']] = None):
|
|
2078
2078
|
"""
|
|
2079
2079
|
MetricStatus describes the last-read state of a single metric.
|
|
2080
|
-
:param pulumi.Input[str] type: type is the type of metric source. It will be one of "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
|
|
2080
|
+
:param pulumi.Input[_builtins.str] type: type is the type of metric source. It will be one of "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
|
|
2081
2081
|
:param pulumi.Input['ContainerResourceMetricStatusArgs'] container_resource: container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
2082
2082
|
:param pulumi.Input['ExternalMetricStatusArgs'] external: external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
|
|
2083
2083
|
:param pulumi.Input['ObjectMetricStatusArgs'] object: object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
|
|
@@ -2096,19 +2096,19 @@ class MetricStatusArgs:
|
|
|
2096
2096
|
if resource is not None:
|
|
2097
2097
|
pulumi.set(__self__, "resource", resource)
|
|
2098
2098
|
|
|
2099
|
-
@property
|
|
2099
|
+
@_builtins.property
|
|
2100
2100
|
@pulumi.getter
|
|
2101
|
-
def type(self) -> pulumi.Input[str]:
|
|
2101
|
+
def type(self) -> pulumi.Input[_builtins.str]:
|
|
2102
2102
|
"""
|
|
2103
2103
|
type is the type of metric source. It will be one of "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
|
|
2104
2104
|
"""
|
|
2105
2105
|
return pulumi.get(self, "type")
|
|
2106
2106
|
|
|
2107
2107
|
@type.setter
|
|
2108
|
-
def type(self, value: pulumi.Input[str]):
|
|
2108
|
+
def type(self, value: pulumi.Input[_builtins.str]):
|
|
2109
2109
|
pulumi.set(self, "type", value)
|
|
2110
2110
|
|
|
2111
|
-
@property
|
|
2111
|
+
@_builtins.property
|
|
2112
2112
|
@pulumi.getter(name="containerResource")
|
|
2113
2113
|
def container_resource(self) -> Optional[pulumi.Input['ContainerResourceMetricStatusArgs']]:
|
|
2114
2114
|
"""
|
|
@@ -2120,7 +2120,7 @@ class MetricStatusArgs:
|
|
|
2120
2120
|
def container_resource(self, value: Optional[pulumi.Input['ContainerResourceMetricStatusArgs']]):
|
|
2121
2121
|
pulumi.set(self, "container_resource", value)
|
|
2122
2122
|
|
|
2123
|
-
@property
|
|
2123
|
+
@_builtins.property
|
|
2124
2124
|
@pulumi.getter
|
|
2125
2125
|
def external(self) -> Optional[pulumi.Input['ExternalMetricStatusArgs']]:
|
|
2126
2126
|
"""
|
|
@@ -2132,7 +2132,7 @@ class MetricStatusArgs:
|
|
|
2132
2132
|
def external(self, value: Optional[pulumi.Input['ExternalMetricStatusArgs']]):
|
|
2133
2133
|
pulumi.set(self, "external", value)
|
|
2134
2134
|
|
|
2135
|
-
@property
|
|
2135
|
+
@_builtins.property
|
|
2136
2136
|
@pulumi.getter
|
|
2137
2137
|
def object(self) -> Optional[pulumi.Input['ObjectMetricStatusArgs']]:
|
|
2138
2138
|
"""
|
|
@@ -2144,7 +2144,7 @@ class MetricStatusArgs:
|
|
|
2144
2144
|
def object(self, value: Optional[pulumi.Input['ObjectMetricStatusArgs']]):
|
|
2145
2145
|
pulumi.set(self, "object", value)
|
|
2146
2146
|
|
|
2147
|
-
@property
|
|
2147
|
+
@_builtins.property
|
|
2148
2148
|
@pulumi.getter
|
|
2149
2149
|
def pods(self) -> Optional[pulumi.Input['PodsMetricStatusArgs']]:
|
|
2150
2150
|
"""
|
|
@@ -2156,7 +2156,7 @@ class MetricStatusArgs:
|
|
|
2156
2156
|
def pods(self, value: Optional[pulumi.Input['PodsMetricStatusArgs']]):
|
|
2157
2157
|
pulumi.set(self, "pods", value)
|
|
2158
2158
|
|
|
2159
|
-
@property
|
|
2159
|
+
@_builtins.property
|
|
2160
2160
|
@pulumi.getter
|
|
2161
2161
|
def resource(self) -> Optional[pulumi.Input['ResourceMetricStatusArgs']]:
|
|
2162
2162
|
"""
|
|
@@ -2174,19 +2174,19 @@ if not MYPY:
|
|
|
2174
2174
|
"""
|
|
2175
2175
|
MetricTarget defines the target value, average value, or average utilization of a specific metric
|
|
2176
2176
|
"""
|
|
2177
|
-
average_utilization: NotRequired[pulumi.Input[int]]
|
|
2177
|
+
average_utilization: NotRequired[pulumi.Input[_builtins.int]]
|
|
2178
2178
|
"""
|
|
2179
2179
|
averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
|
|
2180
2180
|
"""
|
|
2181
|
-
average_value: NotRequired[pulumi.Input[str]]
|
|
2181
|
+
average_value: NotRequired[pulumi.Input[_builtins.str]]
|
|
2182
2182
|
"""
|
|
2183
2183
|
averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2184
2184
|
"""
|
|
2185
|
-
type: NotRequired[pulumi.Input[str]]
|
|
2185
|
+
type: NotRequired[pulumi.Input[_builtins.str]]
|
|
2186
2186
|
"""
|
|
2187
2187
|
type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2188
2188
|
"""
|
|
2189
|
-
value: NotRequired[pulumi.Input[str]]
|
|
2189
|
+
value: NotRequired[pulumi.Input[_builtins.str]]
|
|
2190
2190
|
"""
|
|
2191
2191
|
value is the target value of the metric (as a quantity).
|
|
2192
2192
|
"""
|
|
@@ -2196,16 +2196,16 @@ elif False:
|
|
|
2196
2196
|
@pulumi.input_type
|
|
2197
2197
|
class MetricTargetPatchArgs:
|
|
2198
2198
|
def __init__(__self__, *,
|
|
2199
|
-
average_utilization: Optional[pulumi.Input[int]] = None,
|
|
2200
|
-
average_value: Optional[pulumi.Input[str]] = None,
|
|
2201
|
-
type: Optional[pulumi.Input[str]] = None,
|
|
2202
|
-
value: Optional[pulumi.Input[str]] = None):
|
|
2199
|
+
average_utilization: Optional[pulumi.Input[_builtins.int]] = None,
|
|
2200
|
+
average_value: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2201
|
+
type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2202
|
+
value: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2203
2203
|
"""
|
|
2204
2204
|
MetricTarget defines the target value, average value, or average utilization of a specific metric
|
|
2205
|
-
:param pulumi.Input[int] average_utilization: averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
|
|
2206
|
-
:param pulumi.Input[str] average_value: averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2207
|
-
:param pulumi.Input[str] type: type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2208
|
-
:param pulumi.Input[str] value: value is the target value of the metric (as a quantity).
|
|
2205
|
+
:param pulumi.Input[_builtins.int] average_utilization: averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
|
|
2206
|
+
:param pulumi.Input[_builtins.str] average_value: averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2207
|
+
:param pulumi.Input[_builtins.str] type: type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2208
|
+
:param pulumi.Input[_builtins.str] value: value is the target value of the metric (as a quantity).
|
|
2209
2209
|
"""
|
|
2210
2210
|
if average_utilization is not None:
|
|
2211
2211
|
pulumi.set(__self__, "average_utilization", average_utilization)
|
|
@@ -2216,52 +2216,52 @@ class MetricTargetPatchArgs:
|
|
|
2216
2216
|
if value is not None:
|
|
2217
2217
|
pulumi.set(__self__, "value", value)
|
|
2218
2218
|
|
|
2219
|
-
@property
|
|
2219
|
+
@_builtins.property
|
|
2220
2220
|
@pulumi.getter(name="averageUtilization")
|
|
2221
|
-
def average_utilization(self) -> Optional[pulumi.Input[int]]:
|
|
2221
|
+
def average_utilization(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2222
2222
|
"""
|
|
2223
2223
|
averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
|
|
2224
2224
|
"""
|
|
2225
2225
|
return pulumi.get(self, "average_utilization")
|
|
2226
2226
|
|
|
2227
2227
|
@average_utilization.setter
|
|
2228
|
-
def average_utilization(self, value: Optional[pulumi.Input[int]]):
|
|
2228
|
+
def average_utilization(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2229
2229
|
pulumi.set(self, "average_utilization", value)
|
|
2230
2230
|
|
|
2231
|
-
@property
|
|
2231
|
+
@_builtins.property
|
|
2232
2232
|
@pulumi.getter(name="averageValue")
|
|
2233
|
-
def average_value(self) -> Optional[pulumi.Input[str]]:
|
|
2233
|
+
def average_value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2234
2234
|
"""
|
|
2235
2235
|
averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2236
2236
|
"""
|
|
2237
2237
|
return pulumi.get(self, "average_value")
|
|
2238
2238
|
|
|
2239
2239
|
@average_value.setter
|
|
2240
|
-
def average_value(self, value: Optional[pulumi.Input[str]]):
|
|
2240
|
+
def average_value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2241
2241
|
pulumi.set(self, "average_value", value)
|
|
2242
2242
|
|
|
2243
|
-
@property
|
|
2243
|
+
@_builtins.property
|
|
2244
2244
|
@pulumi.getter
|
|
2245
|
-
def type(self) -> Optional[pulumi.Input[str]]:
|
|
2245
|
+
def type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2246
2246
|
"""
|
|
2247
2247
|
type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2248
2248
|
"""
|
|
2249
2249
|
return pulumi.get(self, "type")
|
|
2250
2250
|
|
|
2251
2251
|
@type.setter
|
|
2252
|
-
def type(self, value: Optional[pulumi.Input[str]]):
|
|
2252
|
+
def type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2253
2253
|
pulumi.set(self, "type", value)
|
|
2254
2254
|
|
|
2255
|
-
@property
|
|
2255
|
+
@_builtins.property
|
|
2256
2256
|
@pulumi.getter
|
|
2257
|
-
def value(self) -> Optional[pulumi.Input[str]]:
|
|
2257
|
+
def value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2258
2258
|
"""
|
|
2259
2259
|
value is the target value of the metric (as a quantity).
|
|
2260
2260
|
"""
|
|
2261
2261
|
return pulumi.get(self, "value")
|
|
2262
2262
|
|
|
2263
2263
|
@value.setter
|
|
2264
|
-
def value(self, value: Optional[pulumi.Input[str]]):
|
|
2264
|
+
def value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2265
2265
|
pulumi.set(self, "value", value)
|
|
2266
2266
|
|
|
2267
2267
|
|
|
@@ -2270,19 +2270,19 @@ if not MYPY:
|
|
|
2270
2270
|
"""
|
|
2271
2271
|
MetricTarget defines the target value, average value, or average utilization of a specific metric
|
|
2272
2272
|
"""
|
|
2273
|
-
type: pulumi.Input[str]
|
|
2273
|
+
type: pulumi.Input[_builtins.str]
|
|
2274
2274
|
"""
|
|
2275
2275
|
type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2276
2276
|
"""
|
|
2277
|
-
average_utilization: NotRequired[pulumi.Input[int]]
|
|
2277
|
+
average_utilization: NotRequired[pulumi.Input[_builtins.int]]
|
|
2278
2278
|
"""
|
|
2279
2279
|
averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
|
|
2280
2280
|
"""
|
|
2281
|
-
average_value: NotRequired[pulumi.Input[str]]
|
|
2281
|
+
average_value: NotRequired[pulumi.Input[_builtins.str]]
|
|
2282
2282
|
"""
|
|
2283
2283
|
averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2284
2284
|
"""
|
|
2285
|
-
value: NotRequired[pulumi.Input[str]]
|
|
2285
|
+
value: NotRequired[pulumi.Input[_builtins.str]]
|
|
2286
2286
|
"""
|
|
2287
2287
|
value is the target value of the metric (as a quantity).
|
|
2288
2288
|
"""
|
|
@@ -2292,16 +2292,16 @@ elif False:
|
|
|
2292
2292
|
@pulumi.input_type
|
|
2293
2293
|
class MetricTargetArgs:
|
|
2294
2294
|
def __init__(__self__, *,
|
|
2295
|
-
type: pulumi.Input[str],
|
|
2296
|
-
average_utilization: Optional[pulumi.Input[int]] = None,
|
|
2297
|
-
average_value: Optional[pulumi.Input[str]] = None,
|
|
2298
|
-
value: Optional[pulumi.Input[str]] = None):
|
|
2295
|
+
type: pulumi.Input[_builtins.str],
|
|
2296
|
+
average_utilization: Optional[pulumi.Input[_builtins.int]] = None,
|
|
2297
|
+
average_value: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2298
|
+
value: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2299
2299
|
"""
|
|
2300
2300
|
MetricTarget defines the target value, average value, or average utilization of a specific metric
|
|
2301
|
-
:param pulumi.Input[str] type: type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2302
|
-
:param pulumi.Input[int] average_utilization: averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
|
|
2303
|
-
:param pulumi.Input[str] average_value: averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2304
|
-
:param pulumi.Input[str] value: value is the target value of the metric (as a quantity).
|
|
2301
|
+
:param pulumi.Input[_builtins.str] type: type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2302
|
+
:param pulumi.Input[_builtins.int] average_utilization: averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
|
|
2303
|
+
:param pulumi.Input[_builtins.str] average_value: averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2304
|
+
:param pulumi.Input[_builtins.str] value: value is the target value of the metric (as a quantity).
|
|
2305
2305
|
"""
|
|
2306
2306
|
pulumi.set(__self__, "type", type)
|
|
2307
2307
|
if average_utilization is not None:
|
|
@@ -2311,52 +2311,52 @@ class MetricTargetArgs:
|
|
|
2311
2311
|
if value is not None:
|
|
2312
2312
|
pulumi.set(__self__, "value", value)
|
|
2313
2313
|
|
|
2314
|
-
@property
|
|
2314
|
+
@_builtins.property
|
|
2315
2315
|
@pulumi.getter
|
|
2316
|
-
def type(self) -> pulumi.Input[str]:
|
|
2316
|
+
def type(self) -> pulumi.Input[_builtins.str]:
|
|
2317
2317
|
"""
|
|
2318
2318
|
type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2319
2319
|
"""
|
|
2320
2320
|
return pulumi.get(self, "type")
|
|
2321
2321
|
|
|
2322
2322
|
@type.setter
|
|
2323
|
-
def type(self, value: pulumi.Input[str]):
|
|
2323
|
+
def type(self, value: pulumi.Input[_builtins.str]):
|
|
2324
2324
|
pulumi.set(self, "type", value)
|
|
2325
2325
|
|
|
2326
|
-
@property
|
|
2326
|
+
@_builtins.property
|
|
2327
2327
|
@pulumi.getter(name="averageUtilization")
|
|
2328
|
-
def average_utilization(self) -> Optional[pulumi.Input[int]]:
|
|
2328
|
+
def average_utilization(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2329
2329
|
"""
|
|
2330
2330
|
averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
|
|
2331
2331
|
"""
|
|
2332
2332
|
return pulumi.get(self, "average_utilization")
|
|
2333
2333
|
|
|
2334
2334
|
@average_utilization.setter
|
|
2335
|
-
def average_utilization(self, value: Optional[pulumi.Input[int]]):
|
|
2335
|
+
def average_utilization(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2336
2336
|
pulumi.set(self, "average_utilization", value)
|
|
2337
2337
|
|
|
2338
|
-
@property
|
|
2338
|
+
@_builtins.property
|
|
2339
2339
|
@pulumi.getter(name="averageValue")
|
|
2340
|
-
def average_value(self) -> Optional[pulumi.Input[str]]:
|
|
2340
|
+
def average_value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2341
2341
|
"""
|
|
2342
2342
|
averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2343
2343
|
"""
|
|
2344
2344
|
return pulumi.get(self, "average_value")
|
|
2345
2345
|
|
|
2346
2346
|
@average_value.setter
|
|
2347
|
-
def average_value(self, value: Optional[pulumi.Input[str]]):
|
|
2347
|
+
def average_value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2348
2348
|
pulumi.set(self, "average_value", value)
|
|
2349
2349
|
|
|
2350
|
-
@property
|
|
2350
|
+
@_builtins.property
|
|
2351
2351
|
@pulumi.getter
|
|
2352
|
-
def value(self) -> Optional[pulumi.Input[str]]:
|
|
2352
|
+
def value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2353
2353
|
"""
|
|
2354
2354
|
value is the target value of the metric (as a quantity).
|
|
2355
2355
|
"""
|
|
2356
2356
|
return pulumi.get(self, "value")
|
|
2357
2357
|
|
|
2358
2358
|
@value.setter
|
|
2359
|
-
def value(self, value: Optional[pulumi.Input[str]]):
|
|
2359
|
+
def value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2360
2360
|
pulumi.set(self, "value", value)
|
|
2361
2361
|
|
|
2362
2362
|
|
|
@@ -2365,15 +2365,15 @@ if not MYPY:
|
|
|
2365
2365
|
"""
|
|
2366
2366
|
MetricValueStatus holds the current value for a metric
|
|
2367
2367
|
"""
|
|
2368
|
-
average_utilization: NotRequired[pulumi.Input[int]]
|
|
2368
|
+
average_utilization: NotRequired[pulumi.Input[_builtins.int]]
|
|
2369
2369
|
"""
|
|
2370
2370
|
currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
|
|
2371
2371
|
"""
|
|
2372
|
-
average_value: NotRequired[pulumi.Input[str]]
|
|
2372
|
+
average_value: NotRequired[pulumi.Input[_builtins.str]]
|
|
2373
2373
|
"""
|
|
2374
2374
|
averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2375
2375
|
"""
|
|
2376
|
-
value: NotRequired[pulumi.Input[str]]
|
|
2376
|
+
value: NotRequired[pulumi.Input[_builtins.str]]
|
|
2377
2377
|
"""
|
|
2378
2378
|
value is the current value of the metric (as a quantity).
|
|
2379
2379
|
"""
|
|
@@ -2383,14 +2383,14 @@ elif False:
|
|
|
2383
2383
|
@pulumi.input_type
|
|
2384
2384
|
class MetricValueStatusArgs:
|
|
2385
2385
|
def __init__(__self__, *,
|
|
2386
|
-
average_utilization: Optional[pulumi.Input[int]] = None,
|
|
2387
|
-
average_value: Optional[pulumi.Input[str]] = None,
|
|
2388
|
-
value: Optional[pulumi.Input[str]] = None):
|
|
2386
|
+
average_utilization: Optional[pulumi.Input[_builtins.int]] = None,
|
|
2387
|
+
average_value: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2388
|
+
value: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2389
2389
|
"""
|
|
2390
2390
|
MetricValueStatus holds the current value for a metric
|
|
2391
|
-
:param pulumi.Input[int] average_utilization: currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
|
|
2392
|
-
:param pulumi.Input[str] average_value: averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2393
|
-
:param pulumi.Input[str] value: value is the current value of the metric (as a quantity).
|
|
2391
|
+
:param pulumi.Input[_builtins.int] average_utilization: currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
|
|
2392
|
+
:param pulumi.Input[_builtins.str] average_value: averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2393
|
+
:param pulumi.Input[_builtins.str] value: value is the current value of the metric (as a quantity).
|
|
2394
2394
|
"""
|
|
2395
2395
|
if average_utilization is not None:
|
|
2396
2396
|
pulumi.set(__self__, "average_utilization", average_utilization)
|
|
@@ -2399,40 +2399,40 @@ class MetricValueStatusArgs:
|
|
|
2399
2399
|
if value is not None:
|
|
2400
2400
|
pulumi.set(__self__, "value", value)
|
|
2401
2401
|
|
|
2402
|
-
@property
|
|
2402
|
+
@_builtins.property
|
|
2403
2403
|
@pulumi.getter(name="averageUtilization")
|
|
2404
|
-
def average_utilization(self) -> Optional[pulumi.Input[int]]:
|
|
2404
|
+
def average_utilization(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2405
2405
|
"""
|
|
2406
2406
|
currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
|
|
2407
2407
|
"""
|
|
2408
2408
|
return pulumi.get(self, "average_utilization")
|
|
2409
2409
|
|
|
2410
2410
|
@average_utilization.setter
|
|
2411
|
-
def average_utilization(self, value: Optional[pulumi.Input[int]]):
|
|
2411
|
+
def average_utilization(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2412
2412
|
pulumi.set(self, "average_utilization", value)
|
|
2413
2413
|
|
|
2414
|
-
@property
|
|
2414
|
+
@_builtins.property
|
|
2415
2415
|
@pulumi.getter(name="averageValue")
|
|
2416
|
-
def average_value(self) -> Optional[pulumi.Input[str]]:
|
|
2416
|
+
def average_value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2417
2417
|
"""
|
|
2418
2418
|
averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2419
2419
|
"""
|
|
2420
2420
|
return pulumi.get(self, "average_value")
|
|
2421
2421
|
|
|
2422
2422
|
@average_value.setter
|
|
2423
|
-
def average_value(self, value: Optional[pulumi.Input[str]]):
|
|
2423
|
+
def average_value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2424
2424
|
pulumi.set(self, "average_value", value)
|
|
2425
2425
|
|
|
2426
|
-
@property
|
|
2426
|
+
@_builtins.property
|
|
2427
2427
|
@pulumi.getter
|
|
2428
|
-
def value(self) -> Optional[pulumi.Input[str]]:
|
|
2428
|
+
def value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2429
2429
|
"""
|
|
2430
2430
|
value is the current value of the metric (as a quantity).
|
|
2431
2431
|
"""
|
|
2432
2432
|
return pulumi.get(self, "value")
|
|
2433
2433
|
|
|
2434
2434
|
@value.setter
|
|
2435
|
-
def value(self, value: Optional[pulumi.Input[str]]):
|
|
2435
|
+
def value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2436
2436
|
pulumi.set(self, "value", value)
|
|
2437
2437
|
|
|
2438
2438
|
|
|
@@ -2471,7 +2471,7 @@ class ObjectMetricSourcePatchArgs:
|
|
|
2471
2471
|
if target is not None:
|
|
2472
2472
|
pulumi.set(__self__, "target", target)
|
|
2473
2473
|
|
|
2474
|
-
@property
|
|
2474
|
+
@_builtins.property
|
|
2475
2475
|
@pulumi.getter(name="describedObject")
|
|
2476
2476
|
def described_object(self) -> Optional[pulumi.Input['CrossVersionObjectReferencePatchArgs']]:
|
|
2477
2477
|
return pulumi.get(self, "described_object")
|
|
@@ -2480,7 +2480,7 @@ class ObjectMetricSourcePatchArgs:
|
|
|
2480
2480
|
def described_object(self, value: Optional[pulumi.Input['CrossVersionObjectReferencePatchArgs']]):
|
|
2481
2481
|
pulumi.set(self, "described_object", value)
|
|
2482
2482
|
|
|
2483
|
-
@property
|
|
2483
|
+
@_builtins.property
|
|
2484
2484
|
@pulumi.getter
|
|
2485
2485
|
def metric(self) -> Optional[pulumi.Input['MetricIdentifierPatchArgs']]:
|
|
2486
2486
|
"""
|
|
@@ -2492,7 +2492,7 @@ class ObjectMetricSourcePatchArgs:
|
|
|
2492
2492
|
def metric(self, value: Optional[pulumi.Input['MetricIdentifierPatchArgs']]):
|
|
2493
2493
|
pulumi.set(self, "metric", value)
|
|
2494
2494
|
|
|
2495
|
-
@property
|
|
2495
|
+
@_builtins.property
|
|
2496
2496
|
@pulumi.getter
|
|
2497
2497
|
def target(self) -> Optional[pulumi.Input['MetricTargetPatchArgs']]:
|
|
2498
2498
|
"""
|
|
@@ -2537,7 +2537,7 @@ class ObjectMetricSourceArgs:
|
|
|
2537
2537
|
pulumi.set(__self__, "metric", metric)
|
|
2538
2538
|
pulumi.set(__self__, "target", target)
|
|
2539
2539
|
|
|
2540
|
-
@property
|
|
2540
|
+
@_builtins.property
|
|
2541
2541
|
@pulumi.getter(name="describedObject")
|
|
2542
2542
|
def described_object(self) -> pulumi.Input['CrossVersionObjectReferenceArgs']:
|
|
2543
2543
|
return pulumi.get(self, "described_object")
|
|
@@ -2546,7 +2546,7 @@ class ObjectMetricSourceArgs:
|
|
|
2546
2546
|
def described_object(self, value: pulumi.Input['CrossVersionObjectReferenceArgs']):
|
|
2547
2547
|
pulumi.set(self, "described_object", value)
|
|
2548
2548
|
|
|
2549
|
-
@property
|
|
2549
|
+
@_builtins.property
|
|
2550
2550
|
@pulumi.getter
|
|
2551
2551
|
def metric(self) -> pulumi.Input['MetricIdentifierArgs']:
|
|
2552
2552
|
"""
|
|
@@ -2558,7 +2558,7 @@ class ObjectMetricSourceArgs:
|
|
|
2558
2558
|
def metric(self, value: pulumi.Input['MetricIdentifierArgs']):
|
|
2559
2559
|
pulumi.set(self, "metric", value)
|
|
2560
2560
|
|
|
2561
|
-
@property
|
|
2561
|
+
@_builtins.property
|
|
2562
2562
|
@pulumi.getter
|
|
2563
2563
|
def target(self) -> pulumi.Input['MetricTargetArgs']:
|
|
2564
2564
|
"""
|
|
@@ -2603,7 +2603,7 @@ class ObjectMetricStatusArgs:
|
|
|
2603
2603
|
pulumi.set(__self__, "described_object", described_object)
|
|
2604
2604
|
pulumi.set(__self__, "metric", metric)
|
|
2605
2605
|
|
|
2606
|
-
@property
|
|
2606
|
+
@_builtins.property
|
|
2607
2607
|
@pulumi.getter
|
|
2608
2608
|
def current(self) -> pulumi.Input['MetricValueStatusArgs']:
|
|
2609
2609
|
"""
|
|
@@ -2615,7 +2615,7 @@ class ObjectMetricStatusArgs:
|
|
|
2615
2615
|
def current(self, value: pulumi.Input['MetricValueStatusArgs']):
|
|
2616
2616
|
pulumi.set(self, "current", value)
|
|
2617
2617
|
|
|
2618
|
-
@property
|
|
2618
|
+
@_builtins.property
|
|
2619
2619
|
@pulumi.getter(name="describedObject")
|
|
2620
2620
|
def described_object(self) -> pulumi.Input['CrossVersionObjectReferenceArgs']:
|
|
2621
2621
|
return pulumi.get(self, "described_object")
|
|
@@ -2624,7 +2624,7 @@ class ObjectMetricStatusArgs:
|
|
|
2624
2624
|
def described_object(self, value: pulumi.Input['CrossVersionObjectReferenceArgs']):
|
|
2625
2625
|
pulumi.set(self, "described_object", value)
|
|
2626
2626
|
|
|
2627
|
-
@property
|
|
2627
|
+
@_builtins.property
|
|
2628
2628
|
@pulumi.getter
|
|
2629
2629
|
def metric(self) -> pulumi.Input['MetricIdentifierArgs']:
|
|
2630
2630
|
"""
|
|
@@ -2668,7 +2668,7 @@ class PodsMetricSourcePatchArgs:
|
|
|
2668
2668
|
if target is not None:
|
|
2669
2669
|
pulumi.set(__self__, "target", target)
|
|
2670
2670
|
|
|
2671
|
-
@property
|
|
2671
|
+
@_builtins.property
|
|
2672
2672
|
@pulumi.getter
|
|
2673
2673
|
def metric(self) -> Optional[pulumi.Input['MetricIdentifierPatchArgs']]:
|
|
2674
2674
|
"""
|
|
@@ -2680,7 +2680,7 @@ class PodsMetricSourcePatchArgs:
|
|
|
2680
2680
|
def metric(self, value: Optional[pulumi.Input['MetricIdentifierPatchArgs']]):
|
|
2681
2681
|
pulumi.set(self, "metric", value)
|
|
2682
2682
|
|
|
2683
|
-
@property
|
|
2683
|
+
@_builtins.property
|
|
2684
2684
|
@pulumi.getter
|
|
2685
2685
|
def target(self) -> Optional[pulumi.Input['MetricTargetPatchArgs']]:
|
|
2686
2686
|
"""
|
|
@@ -2722,7 +2722,7 @@ class PodsMetricSourceArgs:
|
|
|
2722
2722
|
pulumi.set(__self__, "metric", metric)
|
|
2723
2723
|
pulumi.set(__self__, "target", target)
|
|
2724
2724
|
|
|
2725
|
-
@property
|
|
2725
|
+
@_builtins.property
|
|
2726
2726
|
@pulumi.getter
|
|
2727
2727
|
def metric(self) -> pulumi.Input['MetricIdentifierArgs']:
|
|
2728
2728
|
"""
|
|
@@ -2734,7 +2734,7 @@ class PodsMetricSourceArgs:
|
|
|
2734
2734
|
def metric(self, value: pulumi.Input['MetricIdentifierArgs']):
|
|
2735
2735
|
pulumi.set(self, "metric", value)
|
|
2736
2736
|
|
|
2737
|
-
@property
|
|
2737
|
+
@_builtins.property
|
|
2738
2738
|
@pulumi.getter
|
|
2739
2739
|
def target(self) -> pulumi.Input['MetricTargetArgs']:
|
|
2740
2740
|
"""
|
|
@@ -2776,7 +2776,7 @@ class PodsMetricStatusArgs:
|
|
|
2776
2776
|
pulumi.set(__self__, "current", current)
|
|
2777
2777
|
pulumi.set(__self__, "metric", metric)
|
|
2778
2778
|
|
|
2779
|
-
@property
|
|
2779
|
+
@_builtins.property
|
|
2780
2780
|
@pulumi.getter
|
|
2781
2781
|
def current(self) -> pulumi.Input['MetricValueStatusArgs']:
|
|
2782
2782
|
"""
|
|
@@ -2788,7 +2788,7 @@ class PodsMetricStatusArgs:
|
|
|
2788
2788
|
def current(self, value: pulumi.Input['MetricValueStatusArgs']):
|
|
2789
2789
|
pulumi.set(self, "current", value)
|
|
2790
2790
|
|
|
2791
|
-
@property
|
|
2791
|
+
@_builtins.property
|
|
2792
2792
|
@pulumi.getter
|
|
2793
2793
|
def metric(self) -> pulumi.Input['MetricIdentifierArgs']:
|
|
2794
2794
|
"""
|
|
@@ -2806,7 +2806,7 @@ if not MYPY:
|
|
|
2806
2806
|
"""
|
|
2807
2807
|
ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
|
|
2808
2808
|
"""
|
|
2809
|
-
name: NotRequired[pulumi.Input[str]]
|
|
2809
|
+
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
2810
2810
|
"""
|
|
2811
2811
|
name is the name of the resource in question.
|
|
2812
2812
|
"""
|
|
@@ -2820,11 +2820,11 @@ elif False:
|
|
|
2820
2820
|
@pulumi.input_type
|
|
2821
2821
|
class ResourceMetricSourcePatchArgs:
|
|
2822
2822
|
def __init__(__self__, *,
|
|
2823
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
2823
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2824
2824
|
target: Optional[pulumi.Input['MetricTargetPatchArgs']] = None):
|
|
2825
2825
|
"""
|
|
2826
2826
|
ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
|
|
2827
|
-
:param pulumi.Input[str] name: name is the name of the resource in question.
|
|
2827
|
+
:param pulumi.Input[_builtins.str] name: name is the name of the resource in question.
|
|
2828
2828
|
:param pulumi.Input['MetricTargetPatchArgs'] target: target specifies the target value for the given metric
|
|
2829
2829
|
"""
|
|
2830
2830
|
if name is not None:
|
|
@@ -2832,19 +2832,19 @@ class ResourceMetricSourcePatchArgs:
|
|
|
2832
2832
|
if target is not None:
|
|
2833
2833
|
pulumi.set(__self__, "target", target)
|
|
2834
2834
|
|
|
2835
|
-
@property
|
|
2835
|
+
@_builtins.property
|
|
2836
2836
|
@pulumi.getter
|
|
2837
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
2837
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2838
2838
|
"""
|
|
2839
2839
|
name is the name of the resource in question.
|
|
2840
2840
|
"""
|
|
2841
2841
|
return pulumi.get(self, "name")
|
|
2842
2842
|
|
|
2843
2843
|
@name.setter
|
|
2844
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
2844
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2845
2845
|
pulumi.set(self, "name", value)
|
|
2846
2846
|
|
|
2847
|
-
@property
|
|
2847
|
+
@_builtins.property
|
|
2848
2848
|
@pulumi.getter
|
|
2849
2849
|
def target(self) -> Optional[pulumi.Input['MetricTargetPatchArgs']]:
|
|
2850
2850
|
"""
|
|
@@ -2862,7 +2862,7 @@ if not MYPY:
|
|
|
2862
2862
|
"""
|
|
2863
2863
|
ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
|
|
2864
2864
|
"""
|
|
2865
|
-
name: pulumi.Input[str]
|
|
2865
|
+
name: pulumi.Input[_builtins.str]
|
|
2866
2866
|
"""
|
|
2867
2867
|
name is the name of the resource in question.
|
|
2868
2868
|
"""
|
|
@@ -2876,29 +2876,29 @@ elif False:
|
|
|
2876
2876
|
@pulumi.input_type
|
|
2877
2877
|
class ResourceMetricSourceArgs:
|
|
2878
2878
|
def __init__(__self__, *,
|
|
2879
|
-
name: pulumi.Input[str],
|
|
2879
|
+
name: pulumi.Input[_builtins.str],
|
|
2880
2880
|
target: pulumi.Input['MetricTargetArgs']):
|
|
2881
2881
|
"""
|
|
2882
2882
|
ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
|
|
2883
|
-
:param pulumi.Input[str] name: name is the name of the resource in question.
|
|
2883
|
+
:param pulumi.Input[_builtins.str] name: name is the name of the resource in question.
|
|
2884
2884
|
:param pulumi.Input['MetricTargetArgs'] target: target specifies the target value for the given metric
|
|
2885
2885
|
"""
|
|
2886
2886
|
pulumi.set(__self__, "name", name)
|
|
2887
2887
|
pulumi.set(__self__, "target", target)
|
|
2888
2888
|
|
|
2889
|
-
@property
|
|
2889
|
+
@_builtins.property
|
|
2890
2890
|
@pulumi.getter
|
|
2891
|
-
def name(self) -> pulumi.Input[str]:
|
|
2891
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
2892
2892
|
"""
|
|
2893
2893
|
name is the name of the resource in question.
|
|
2894
2894
|
"""
|
|
2895
2895
|
return pulumi.get(self, "name")
|
|
2896
2896
|
|
|
2897
2897
|
@name.setter
|
|
2898
|
-
def name(self, value: pulumi.Input[str]):
|
|
2898
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
2899
2899
|
pulumi.set(self, "name", value)
|
|
2900
2900
|
|
|
2901
|
-
@property
|
|
2901
|
+
@_builtins.property
|
|
2902
2902
|
@pulumi.getter
|
|
2903
2903
|
def target(self) -> pulumi.Input['MetricTargetArgs']:
|
|
2904
2904
|
"""
|
|
@@ -2920,7 +2920,7 @@ if not MYPY:
|
|
|
2920
2920
|
"""
|
|
2921
2921
|
current contains the current value for the given metric
|
|
2922
2922
|
"""
|
|
2923
|
-
name: pulumi.Input[str]
|
|
2923
|
+
name: pulumi.Input[_builtins.str]
|
|
2924
2924
|
"""
|
|
2925
2925
|
Name is the name of the resource in question.
|
|
2926
2926
|
"""
|
|
@@ -2931,16 +2931,16 @@ elif False:
|
|
|
2931
2931
|
class ResourceMetricStatusArgs:
|
|
2932
2932
|
def __init__(__self__, *,
|
|
2933
2933
|
current: pulumi.Input['MetricValueStatusArgs'],
|
|
2934
|
-
name: pulumi.Input[str]):
|
|
2934
|
+
name: pulumi.Input[_builtins.str]):
|
|
2935
2935
|
"""
|
|
2936
2936
|
ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
2937
2937
|
:param pulumi.Input['MetricValueStatusArgs'] current: current contains the current value for the given metric
|
|
2938
|
-
:param pulumi.Input[str] name: Name is the name of the resource in question.
|
|
2938
|
+
:param pulumi.Input[_builtins.str] name: Name is the name of the resource in question.
|
|
2939
2939
|
"""
|
|
2940
2940
|
pulumi.set(__self__, "current", current)
|
|
2941
2941
|
pulumi.set(__self__, "name", name)
|
|
2942
2942
|
|
|
2943
|
-
@property
|
|
2943
|
+
@_builtins.property
|
|
2944
2944
|
@pulumi.getter
|
|
2945
2945
|
def current(self) -> pulumi.Input['MetricValueStatusArgs']:
|
|
2946
2946
|
"""
|
|
@@ -2952,16 +2952,16 @@ class ResourceMetricStatusArgs:
|
|
|
2952
2952
|
def current(self, value: pulumi.Input['MetricValueStatusArgs']):
|
|
2953
2953
|
pulumi.set(self, "current", value)
|
|
2954
2954
|
|
|
2955
|
-
@property
|
|
2955
|
+
@_builtins.property
|
|
2956
2956
|
@pulumi.getter
|
|
2957
|
-
def name(self) -> pulumi.Input[str]:
|
|
2957
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
2958
2958
|
"""
|
|
2959
2959
|
Name is the name of the resource in question.
|
|
2960
2960
|
"""
|
|
2961
2961
|
return pulumi.get(self, "name")
|
|
2962
2962
|
|
|
2963
2963
|
@name.setter
|
|
2964
|
-
def name(self, value: pulumi.Input[str]):
|
|
2964
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
2965
2965
|
pulumi.set(self, "name", value)
|
|
2966
2966
|
|
|
2967
2967
|
|