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
|
|
@@ -77,20 +77,20 @@ class CustomResourceColumnDefinition(dict):
|
|
|
77
77
|
return super().get(key, default)
|
|
78
78
|
|
|
79
79
|
def __init__(__self__, *,
|
|
80
|
-
json_path: str,
|
|
81
|
-
name: str,
|
|
82
|
-
type: str,
|
|
83
|
-
description: Optional[str] = None,
|
|
84
|
-
format: Optional[str] = None,
|
|
85
|
-
priority: Optional[int] = None):
|
|
80
|
+
json_path: _builtins.str,
|
|
81
|
+
name: _builtins.str,
|
|
82
|
+
type: _builtins.str,
|
|
83
|
+
description: Optional[_builtins.str] = None,
|
|
84
|
+
format: Optional[_builtins.str] = None,
|
|
85
|
+
priority: Optional[_builtins.int] = None):
|
|
86
86
|
"""
|
|
87
87
|
CustomResourceColumnDefinition specifies a column for server side printing.
|
|
88
|
-
:param str json_path: jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column.
|
|
89
|
-
:param str name: name is a human readable name for the column.
|
|
90
|
-
:param str type: type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.
|
|
91
|
-
:param str description: description is a human readable description of this column.
|
|
92
|
-
:param str format: format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.
|
|
93
|
-
:param int priority: priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0.
|
|
88
|
+
:param _builtins.str json_path: jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column.
|
|
89
|
+
:param _builtins.str name: name is a human readable name for the column.
|
|
90
|
+
:param _builtins.str type: type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.
|
|
91
|
+
:param _builtins.str description: description is a human readable description of this column.
|
|
92
|
+
:param _builtins.str format: format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.
|
|
93
|
+
:param _builtins.int priority: priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0.
|
|
94
94
|
"""
|
|
95
95
|
pulumi.set(__self__, "json_path", json_path)
|
|
96
96
|
pulumi.set(__self__, "name", name)
|
|
@@ -102,49 +102,49 @@ class CustomResourceColumnDefinition(dict):
|
|
|
102
102
|
if priority is not None:
|
|
103
103
|
pulumi.set(__self__, "priority", priority)
|
|
104
104
|
|
|
105
|
-
@property
|
|
105
|
+
@_builtins.property
|
|
106
106
|
@pulumi.getter(name="jsonPath")
|
|
107
|
-
def json_path(self) -> str:
|
|
107
|
+
def json_path(self) -> _builtins.str:
|
|
108
108
|
"""
|
|
109
109
|
jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column.
|
|
110
110
|
"""
|
|
111
111
|
return pulumi.get(self, "json_path")
|
|
112
112
|
|
|
113
|
-
@property
|
|
113
|
+
@_builtins.property
|
|
114
114
|
@pulumi.getter
|
|
115
|
-
def name(self) -> str:
|
|
115
|
+
def name(self) -> _builtins.str:
|
|
116
116
|
"""
|
|
117
117
|
name is a human readable name for the column.
|
|
118
118
|
"""
|
|
119
119
|
return pulumi.get(self, "name")
|
|
120
120
|
|
|
121
|
-
@property
|
|
121
|
+
@_builtins.property
|
|
122
122
|
@pulumi.getter
|
|
123
|
-
def type(self) -> str:
|
|
123
|
+
def type(self) -> _builtins.str:
|
|
124
124
|
"""
|
|
125
125
|
type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.
|
|
126
126
|
"""
|
|
127
127
|
return pulumi.get(self, "type")
|
|
128
128
|
|
|
129
|
-
@property
|
|
129
|
+
@_builtins.property
|
|
130
130
|
@pulumi.getter
|
|
131
|
-
def description(self) -> Optional[str]:
|
|
131
|
+
def description(self) -> Optional[_builtins.str]:
|
|
132
132
|
"""
|
|
133
133
|
description is a human readable description of this column.
|
|
134
134
|
"""
|
|
135
135
|
return pulumi.get(self, "description")
|
|
136
136
|
|
|
137
|
-
@property
|
|
137
|
+
@_builtins.property
|
|
138
138
|
@pulumi.getter
|
|
139
|
-
def format(self) -> Optional[str]:
|
|
139
|
+
def format(self) -> Optional[_builtins.str]:
|
|
140
140
|
"""
|
|
141
141
|
format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.
|
|
142
142
|
"""
|
|
143
143
|
return pulumi.get(self, "format")
|
|
144
144
|
|
|
145
|
-
@property
|
|
145
|
+
@_builtins.property
|
|
146
146
|
@pulumi.getter
|
|
147
|
-
def priority(self) -> Optional[int]:
|
|
147
|
+
def priority(self) -> Optional[_builtins.int]:
|
|
148
148
|
"""
|
|
149
149
|
priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0.
|
|
150
150
|
"""
|
|
@@ -174,20 +174,20 @@ class CustomResourceColumnDefinitionPatch(dict):
|
|
|
174
174
|
return super().get(key, default)
|
|
175
175
|
|
|
176
176
|
def __init__(__self__, *,
|
|
177
|
-
description: Optional[str] = None,
|
|
178
|
-
format: Optional[str] = None,
|
|
179
|
-
json_path: Optional[str] = None,
|
|
180
|
-
name: Optional[str] = None,
|
|
181
|
-
priority: Optional[int] = None,
|
|
182
|
-
type: Optional[str] = None):
|
|
177
|
+
description: Optional[_builtins.str] = None,
|
|
178
|
+
format: Optional[_builtins.str] = None,
|
|
179
|
+
json_path: Optional[_builtins.str] = None,
|
|
180
|
+
name: Optional[_builtins.str] = None,
|
|
181
|
+
priority: Optional[_builtins.int] = None,
|
|
182
|
+
type: Optional[_builtins.str] = None):
|
|
183
183
|
"""
|
|
184
184
|
CustomResourceColumnDefinition specifies a column for server side printing.
|
|
185
|
-
:param str description: description is a human readable description of this column.
|
|
186
|
-
:param str format: format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.
|
|
187
|
-
:param str json_path: jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column.
|
|
188
|
-
:param str name: name is a human readable name for the column.
|
|
189
|
-
:param int priority: priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0.
|
|
190
|
-
:param str type: type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.
|
|
185
|
+
:param _builtins.str description: description is a human readable description of this column.
|
|
186
|
+
:param _builtins.str format: format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.
|
|
187
|
+
:param _builtins.str json_path: jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column.
|
|
188
|
+
:param _builtins.str name: name is a human readable name for the column.
|
|
189
|
+
:param _builtins.int priority: priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0.
|
|
190
|
+
:param _builtins.str type: type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.
|
|
191
191
|
"""
|
|
192
192
|
if description is not None:
|
|
193
193
|
pulumi.set(__self__, "description", description)
|
|
@@ -202,49 +202,49 @@ class CustomResourceColumnDefinitionPatch(dict):
|
|
|
202
202
|
if type is not None:
|
|
203
203
|
pulumi.set(__self__, "type", type)
|
|
204
204
|
|
|
205
|
-
@property
|
|
205
|
+
@_builtins.property
|
|
206
206
|
@pulumi.getter
|
|
207
|
-
def description(self) -> Optional[str]:
|
|
207
|
+
def description(self) -> Optional[_builtins.str]:
|
|
208
208
|
"""
|
|
209
209
|
description is a human readable description of this column.
|
|
210
210
|
"""
|
|
211
211
|
return pulumi.get(self, "description")
|
|
212
212
|
|
|
213
|
-
@property
|
|
213
|
+
@_builtins.property
|
|
214
214
|
@pulumi.getter
|
|
215
|
-
def format(self) -> Optional[str]:
|
|
215
|
+
def format(self) -> Optional[_builtins.str]:
|
|
216
216
|
"""
|
|
217
217
|
format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.
|
|
218
218
|
"""
|
|
219
219
|
return pulumi.get(self, "format")
|
|
220
220
|
|
|
221
|
-
@property
|
|
221
|
+
@_builtins.property
|
|
222
222
|
@pulumi.getter(name="jsonPath")
|
|
223
|
-
def json_path(self) -> Optional[str]:
|
|
223
|
+
def json_path(self) -> Optional[_builtins.str]:
|
|
224
224
|
"""
|
|
225
225
|
jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column.
|
|
226
226
|
"""
|
|
227
227
|
return pulumi.get(self, "json_path")
|
|
228
228
|
|
|
229
|
-
@property
|
|
229
|
+
@_builtins.property
|
|
230
230
|
@pulumi.getter
|
|
231
|
-
def name(self) -> Optional[str]:
|
|
231
|
+
def name(self) -> Optional[_builtins.str]:
|
|
232
232
|
"""
|
|
233
233
|
name is a human readable name for the column.
|
|
234
234
|
"""
|
|
235
235
|
return pulumi.get(self, "name")
|
|
236
236
|
|
|
237
|
-
@property
|
|
237
|
+
@_builtins.property
|
|
238
238
|
@pulumi.getter
|
|
239
|
-
def priority(self) -> Optional[int]:
|
|
239
|
+
def priority(self) -> Optional[_builtins.int]:
|
|
240
240
|
"""
|
|
241
241
|
priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0.
|
|
242
242
|
"""
|
|
243
243
|
return pulumi.get(self, "priority")
|
|
244
244
|
|
|
245
|
-
@property
|
|
245
|
+
@_builtins.property
|
|
246
246
|
@pulumi.getter
|
|
247
|
-
def type(self) -> Optional[str]:
|
|
247
|
+
def type(self) -> Optional[_builtins.str]:
|
|
248
248
|
"""
|
|
249
249
|
type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.
|
|
250
250
|
"""
|
|
@@ -257,11 +257,11 @@ class CustomResourceConversion(dict):
|
|
|
257
257
|
CustomResourceConversion describes how to convert different versions of a CR.
|
|
258
258
|
"""
|
|
259
259
|
def __init__(__self__, *,
|
|
260
|
-
strategy: str,
|
|
260
|
+
strategy: _builtins.str,
|
|
261
261
|
webhook: Optional['outputs.WebhookConversion'] = None):
|
|
262
262
|
"""
|
|
263
263
|
CustomResourceConversion describes how to convert different versions of a CR.
|
|
264
|
-
:param str strategy: strategy specifies how custom resources are converted between versions. Allowed values are: - `"None"`: The converter only change the apiVersion and would not touch any other field in the custom resource. - `"Webhook"`: API Server will call to an external webhook to do the conversion. Additional information
|
|
264
|
+
:param _builtins.str strategy: strategy specifies how custom resources are converted between versions. Allowed values are: - `"None"`: The converter only change the apiVersion and would not touch any other field in the custom resource. - `"Webhook"`: API Server will call to an external webhook to do the conversion. Additional information
|
|
265
265
|
is needed for this option. This requires spec.preserveUnknownFields to be false, and spec.conversion.webhook to be set.
|
|
266
266
|
:param 'WebhookConversionArgs' webhook: webhook describes how to call the conversion webhook. Required when `strategy` is set to `"Webhook"`.
|
|
267
267
|
"""
|
|
@@ -269,16 +269,16 @@ class CustomResourceConversion(dict):
|
|
|
269
269
|
if webhook is not None:
|
|
270
270
|
pulumi.set(__self__, "webhook", webhook)
|
|
271
271
|
|
|
272
|
-
@property
|
|
272
|
+
@_builtins.property
|
|
273
273
|
@pulumi.getter
|
|
274
|
-
def strategy(self) -> str:
|
|
274
|
+
def strategy(self) -> _builtins.str:
|
|
275
275
|
"""
|
|
276
276
|
strategy specifies how custom resources are converted between versions. Allowed values are: - `"None"`: The converter only change the apiVersion and would not touch any other field in the custom resource. - `"Webhook"`: API Server will call to an external webhook to do the conversion. Additional information
|
|
277
277
|
is needed for this option. This requires spec.preserveUnknownFields to be false, and spec.conversion.webhook to be set.
|
|
278
278
|
"""
|
|
279
279
|
return pulumi.get(self, "strategy")
|
|
280
280
|
|
|
281
|
-
@property
|
|
281
|
+
@_builtins.property
|
|
282
282
|
@pulumi.getter
|
|
283
283
|
def webhook(self) -> Optional['outputs.WebhookConversion']:
|
|
284
284
|
"""
|
|
@@ -293,11 +293,11 @@ class CustomResourceConversionPatch(dict):
|
|
|
293
293
|
CustomResourceConversion describes how to convert different versions of a CR.
|
|
294
294
|
"""
|
|
295
295
|
def __init__(__self__, *,
|
|
296
|
-
strategy: Optional[str] = None,
|
|
296
|
+
strategy: Optional[_builtins.str] = None,
|
|
297
297
|
webhook: Optional['outputs.WebhookConversionPatch'] = None):
|
|
298
298
|
"""
|
|
299
299
|
CustomResourceConversion describes how to convert different versions of a CR.
|
|
300
|
-
:param str strategy: strategy specifies how custom resources are converted between versions. Allowed values are: - `"None"`: The converter only change the apiVersion and would not touch any other field in the custom resource. - `"Webhook"`: API Server will call to an external webhook to do the conversion. Additional information
|
|
300
|
+
:param _builtins.str strategy: strategy specifies how custom resources are converted between versions. Allowed values are: - `"None"`: The converter only change the apiVersion and would not touch any other field in the custom resource. - `"Webhook"`: API Server will call to an external webhook to do the conversion. Additional information
|
|
301
301
|
is needed for this option. This requires spec.preserveUnknownFields to be false, and spec.conversion.webhook to be set.
|
|
302
302
|
:param 'WebhookConversionPatchArgs' webhook: webhook describes how to call the conversion webhook. Required when `strategy` is set to `"Webhook"`.
|
|
303
303
|
"""
|
|
@@ -306,16 +306,16 @@ class CustomResourceConversionPatch(dict):
|
|
|
306
306
|
if webhook is not None:
|
|
307
307
|
pulumi.set(__self__, "webhook", webhook)
|
|
308
308
|
|
|
309
|
-
@property
|
|
309
|
+
@_builtins.property
|
|
310
310
|
@pulumi.getter
|
|
311
|
-
def strategy(self) -> Optional[str]:
|
|
311
|
+
def strategy(self) -> Optional[_builtins.str]:
|
|
312
312
|
"""
|
|
313
313
|
strategy specifies how custom resources are converted between versions. Allowed values are: - `"None"`: The converter only change the apiVersion and would not touch any other field in the custom resource. - `"Webhook"`: API Server will call to an external webhook to do the conversion. Additional information
|
|
314
314
|
is needed for this option. This requires spec.preserveUnknownFields to be false, and spec.conversion.webhook to be set.
|
|
315
315
|
"""
|
|
316
316
|
return pulumi.get(self, "strategy")
|
|
317
317
|
|
|
318
|
-
@property
|
|
318
|
+
@_builtins.property
|
|
319
319
|
@pulumi.getter
|
|
320
320
|
def webhook(self) -> Optional['outputs.WebhookConversionPatch']:
|
|
321
321
|
"""
|
|
@@ -348,15 +348,15 @@ class CustomResourceDefinition(dict):
|
|
|
348
348
|
|
|
349
349
|
def __init__(__self__, *,
|
|
350
350
|
spec: 'outputs.CustomResourceDefinitionSpec',
|
|
351
|
-
api_version: Optional[str] = None,
|
|
352
|
-
kind: Optional[str] = None,
|
|
351
|
+
api_version: Optional[_builtins.str] = None,
|
|
352
|
+
kind: Optional[_builtins.str] = None,
|
|
353
353
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
|
|
354
354
|
status: Optional['outputs.CustomResourceDefinitionStatus'] = None):
|
|
355
355
|
"""
|
|
356
356
|
CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>.
|
|
357
357
|
:param 'CustomResourceDefinitionSpecArgs' spec: spec describes how the user wants the resources to appear
|
|
358
|
-
:param 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
|
|
359
|
-
:param 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
|
|
358
|
+
:param _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
|
|
359
|
+
:param _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
|
|
360
360
|
:param '_meta.v1.ObjectMetaArgs' metadata: Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
361
361
|
:param 'CustomResourceDefinitionStatusArgs' status: status indicates the actual state of the CustomResourceDefinition
|
|
362
362
|
"""
|
|
@@ -370,7 +370,7 @@ class CustomResourceDefinition(dict):
|
|
|
370
370
|
if status is not None:
|
|
371
371
|
pulumi.set(__self__, "status", status)
|
|
372
372
|
|
|
373
|
-
@property
|
|
373
|
+
@_builtins.property
|
|
374
374
|
@pulumi.getter
|
|
375
375
|
def spec(self) -> 'outputs.CustomResourceDefinitionSpec':
|
|
376
376
|
"""
|
|
@@ -378,23 +378,23 @@ class CustomResourceDefinition(dict):
|
|
|
378
378
|
"""
|
|
379
379
|
return pulumi.get(self, "spec")
|
|
380
380
|
|
|
381
|
-
@property
|
|
381
|
+
@_builtins.property
|
|
382
382
|
@pulumi.getter(name="apiVersion")
|
|
383
|
-
def api_version(self) -> Optional[str]:
|
|
383
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
384
384
|
"""
|
|
385
385
|
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
|
|
386
386
|
"""
|
|
387
387
|
return pulumi.get(self, "api_version")
|
|
388
388
|
|
|
389
|
-
@property
|
|
389
|
+
@_builtins.property
|
|
390
390
|
@pulumi.getter
|
|
391
|
-
def kind(self) -> Optional[str]:
|
|
391
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
392
392
|
"""
|
|
393
393
|
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
|
|
394
394
|
"""
|
|
395
395
|
return pulumi.get(self, "kind")
|
|
396
396
|
|
|
397
|
-
@property
|
|
397
|
+
@_builtins.property
|
|
398
398
|
@pulumi.getter
|
|
399
399
|
def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
|
|
400
400
|
"""
|
|
@@ -402,7 +402,7 @@ class CustomResourceDefinition(dict):
|
|
|
402
402
|
"""
|
|
403
403
|
return pulumi.get(self, "metadata")
|
|
404
404
|
|
|
405
|
-
@property
|
|
405
|
+
@_builtins.property
|
|
406
406
|
@pulumi.getter
|
|
407
407
|
def status(self) -> Optional['outputs.CustomResourceDefinitionStatus']:
|
|
408
408
|
"""
|
|
@@ -434,18 +434,18 @@ class CustomResourceDefinitionCondition(dict):
|
|
|
434
434
|
return super().get(key, default)
|
|
435
435
|
|
|
436
436
|
def __init__(__self__, *,
|
|
437
|
-
status: str,
|
|
438
|
-
type: str,
|
|
439
|
-
last_transition_time: Optional[str] = None,
|
|
440
|
-
message: Optional[str] = None,
|
|
441
|
-
reason: Optional[str] = None):
|
|
437
|
+
status: _builtins.str,
|
|
438
|
+
type: _builtins.str,
|
|
439
|
+
last_transition_time: Optional[_builtins.str] = None,
|
|
440
|
+
message: Optional[_builtins.str] = None,
|
|
441
|
+
reason: Optional[_builtins.str] = None):
|
|
442
442
|
"""
|
|
443
443
|
CustomResourceDefinitionCondition contains details for the current condition of this pod.
|
|
444
|
-
:param str status: status is the status of the condition. Can be True, False, Unknown.
|
|
445
|
-
:param str type: type is the type of the condition. Types include Established, NamesAccepted and Terminating.
|
|
446
|
-
:param str last_transition_time: lastTransitionTime last time the condition transitioned from one status to another.
|
|
447
|
-
:param str message: message is a human-readable message indicating details about last transition.
|
|
448
|
-
:param str reason: reason is a unique, one-word, CamelCase reason for the condition's last transition.
|
|
444
|
+
:param _builtins.str status: status is the status of the condition. Can be True, False, Unknown.
|
|
445
|
+
:param _builtins.str type: type is the type of the condition. Types include Established, NamesAccepted and Terminating.
|
|
446
|
+
:param _builtins.str last_transition_time: lastTransitionTime last time the condition transitioned from one status to another.
|
|
447
|
+
:param _builtins.str message: message is a human-readable message indicating details about last transition.
|
|
448
|
+
:param _builtins.str reason: reason is a unique, one-word, CamelCase reason for the condition's last transition.
|
|
449
449
|
"""
|
|
450
450
|
pulumi.set(__self__, "status", status)
|
|
451
451
|
pulumi.set(__self__, "type", type)
|
|
@@ -456,41 +456,41 @@ class CustomResourceDefinitionCondition(dict):
|
|
|
456
456
|
if reason is not None:
|
|
457
457
|
pulumi.set(__self__, "reason", reason)
|
|
458
458
|
|
|
459
|
-
@property
|
|
459
|
+
@_builtins.property
|
|
460
460
|
@pulumi.getter
|
|
461
|
-
def status(self) -> str:
|
|
461
|
+
def status(self) -> _builtins.str:
|
|
462
462
|
"""
|
|
463
463
|
status is the status of the condition. Can be True, False, Unknown.
|
|
464
464
|
"""
|
|
465
465
|
return pulumi.get(self, "status")
|
|
466
466
|
|
|
467
|
-
@property
|
|
467
|
+
@_builtins.property
|
|
468
468
|
@pulumi.getter
|
|
469
|
-
def type(self) -> str:
|
|
469
|
+
def type(self) -> _builtins.str:
|
|
470
470
|
"""
|
|
471
471
|
type is the type of the condition. Types include Established, NamesAccepted and Terminating.
|
|
472
472
|
"""
|
|
473
473
|
return pulumi.get(self, "type")
|
|
474
474
|
|
|
475
|
-
@property
|
|
475
|
+
@_builtins.property
|
|
476
476
|
@pulumi.getter(name="lastTransitionTime")
|
|
477
|
-
def last_transition_time(self) -> Optional[str]:
|
|
477
|
+
def last_transition_time(self) -> Optional[_builtins.str]:
|
|
478
478
|
"""
|
|
479
479
|
lastTransitionTime last time the condition transitioned from one status to another.
|
|
480
480
|
"""
|
|
481
481
|
return pulumi.get(self, "last_transition_time")
|
|
482
482
|
|
|
483
|
-
@property
|
|
483
|
+
@_builtins.property
|
|
484
484
|
@pulumi.getter
|
|
485
|
-
def message(self) -> Optional[str]:
|
|
485
|
+
def message(self) -> Optional[_builtins.str]:
|
|
486
486
|
"""
|
|
487
487
|
message is a human-readable message indicating details about last transition.
|
|
488
488
|
"""
|
|
489
489
|
return pulumi.get(self, "message")
|
|
490
490
|
|
|
491
|
-
@property
|
|
491
|
+
@_builtins.property
|
|
492
492
|
@pulumi.getter
|
|
493
|
-
def reason(self) -> Optional[str]:
|
|
493
|
+
def reason(self) -> Optional[_builtins.str]:
|
|
494
494
|
"""
|
|
495
495
|
reason is a unique, one-word, CamelCase reason for the condition's last transition.
|
|
496
496
|
"""
|
|
@@ -520,18 +520,18 @@ class CustomResourceDefinitionConditionPatch(dict):
|
|
|
520
520
|
return super().get(key, default)
|
|
521
521
|
|
|
522
522
|
def __init__(__self__, *,
|
|
523
|
-
last_transition_time: Optional[str] = None,
|
|
524
|
-
message: Optional[str] = None,
|
|
525
|
-
reason: Optional[str] = None,
|
|
526
|
-
status: Optional[str] = None,
|
|
527
|
-
type: Optional[str] = None):
|
|
523
|
+
last_transition_time: Optional[_builtins.str] = None,
|
|
524
|
+
message: Optional[_builtins.str] = None,
|
|
525
|
+
reason: Optional[_builtins.str] = None,
|
|
526
|
+
status: Optional[_builtins.str] = None,
|
|
527
|
+
type: Optional[_builtins.str] = None):
|
|
528
528
|
"""
|
|
529
529
|
CustomResourceDefinitionCondition contains details for the current condition of this pod.
|
|
530
|
-
:param str last_transition_time: lastTransitionTime last time the condition transitioned from one status to another.
|
|
531
|
-
:param str message: message is a human-readable message indicating details about last transition.
|
|
532
|
-
:param str reason: reason is a unique, one-word, CamelCase reason for the condition's last transition.
|
|
533
|
-
:param str status: status is the status of the condition. Can be True, False, Unknown.
|
|
534
|
-
:param str type: type is the type of the condition. Types include Established, NamesAccepted and Terminating.
|
|
530
|
+
:param _builtins.str last_transition_time: lastTransitionTime last time the condition transitioned from one status to another.
|
|
531
|
+
:param _builtins.str message: message is a human-readable message indicating details about last transition.
|
|
532
|
+
:param _builtins.str reason: reason is a unique, one-word, CamelCase reason for the condition's last transition.
|
|
533
|
+
:param _builtins.str status: status is the status of the condition. Can be True, False, Unknown.
|
|
534
|
+
:param _builtins.str type: type is the type of the condition. Types include Established, NamesAccepted and Terminating.
|
|
535
535
|
"""
|
|
536
536
|
if last_transition_time is not None:
|
|
537
537
|
pulumi.set(__self__, "last_transition_time", last_transition_time)
|
|
@@ -544,41 +544,41 @@ class CustomResourceDefinitionConditionPatch(dict):
|
|
|
544
544
|
if type is not None:
|
|
545
545
|
pulumi.set(__self__, "type", type)
|
|
546
546
|
|
|
547
|
-
@property
|
|
547
|
+
@_builtins.property
|
|
548
548
|
@pulumi.getter(name="lastTransitionTime")
|
|
549
|
-
def last_transition_time(self) -> Optional[str]:
|
|
549
|
+
def last_transition_time(self) -> Optional[_builtins.str]:
|
|
550
550
|
"""
|
|
551
551
|
lastTransitionTime last time the condition transitioned from one status to another.
|
|
552
552
|
"""
|
|
553
553
|
return pulumi.get(self, "last_transition_time")
|
|
554
554
|
|
|
555
|
-
@property
|
|
555
|
+
@_builtins.property
|
|
556
556
|
@pulumi.getter
|
|
557
|
-
def message(self) -> Optional[str]:
|
|
557
|
+
def message(self) -> Optional[_builtins.str]:
|
|
558
558
|
"""
|
|
559
559
|
message is a human-readable message indicating details about last transition.
|
|
560
560
|
"""
|
|
561
561
|
return pulumi.get(self, "message")
|
|
562
562
|
|
|
563
|
-
@property
|
|
563
|
+
@_builtins.property
|
|
564
564
|
@pulumi.getter
|
|
565
|
-
def reason(self) -> Optional[str]:
|
|
565
|
+
def reason(self) -> Optional[_builtins.str]:
|
|
566
566
|
"""
|
|
567
567
|
reason is a unique, one-word, CamelCase reason for the condition's last transition.
|
|
568
568
|
"""
|
|
569
569
|
return pulumi.get(self, "reason")
|
|
570
570
|
|
|
571
|
-
@property
|
|
571
|
+
@_builtins.property
|
|
572
572
|
@pulumi.getter
|
|
573
|
-
def status(self) -> Optional[str]:
|
|
573
|
+
def status(self) -> Optional[_builtins.str]:
|
|
574
574
|
"""
|
|
575
575
|
status is the status of the condition. Can be True, False, Unknown.
|
|
576
576
|
"""
|
|
577
577
|
return pulumi.get(self, "status")
|
|
578
578
|
|
|
579
|
-
@property
|
|
579
|
+
@_builtins.property
|
|
580
580
|
@pulumi.getter
|
|
581
|
-
def type(self) -> Optional[str]:
|
|
581
|
+
def type(self) -> Optional[_builtins.str]:
|
|
582
582
|
"""
|
|
583
583
|
type is the type of the condition. Types include Established, NamesAccepted and Terminating.
|
|
584
584
|
"""
|
|
@@ -610,20 +610,20 @@ class CustomResourceDefinitionNames(dict):
|
|
|
610
610
|
return super().get(key, default)
|
|
611
611
|
|
|
612
612
|
def __init__(__self__, *,
|
|
613
|
-
kind: str,
|
|
614
|
-
plural: str,
|
|
615
|
-
categories: Optional[Sequence[str]] = None,
|
|
616
|
-
list_kind: Optional[str] = None,
|
|
617
|
-
short_names: Optional[Sequence[str]] = None,
|
|
618
|
-
singular: Optional[str] = None):
|
|
613
|
+
kind: _builtins.str,
|
|
614
|
+
plural: _builtins.str,
|
|
615
|
+
categories: Optional[Sequence[_builtins.str]] = None,
|
|
616
|
+
list_kind: Optional[_builtins.str] = None,
|
|
617
|
+
short_names: Optional[Sequence[_builtins.str]] = None,
|
|
618
|
+
singular: Optional[_builtins.str] = None):
|
|
619
619
|
"""
|
|
620
620
|
CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition
|
|
621
|
-
:param str kind: kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls.
|
|
622
|
-
:param str plural: plural is the plural name of the resource to serve. The custom resources are served under `/apis/<group>/<version>/.../<plural>`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`). Must be all lowercase.
|
|
623
|
-
:param Sequence[str] categories: categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`.
|
|
624
|
-
:param str list_kind: listKind is the serialized kind of the list for this resource. Defaults to "`kind`List".
|
|
625
|
-
:param Sequence[str] short_names: shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get <shortname>`. It must be all lowercase.
|
|
626
|
-
:param str singular: singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`.
|
|
621
|
+
:param _builtins.str kind: kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls.
|
|
622
|
+
:param _builtins.str plural: plural is the plural name of the resource to serve. The custom resources are served under `/apis/<group>/<version>/.../<plural>`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`). Must be all lowercase.
|
|
623
|
+
:param Sequence[_builtins.str] categories: categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`.
|
|
624
|
+
:param _builtins.str list_kind: listKind is the serialized kind of the list for this resource. Defaults to "`kind`List".
|
|
625
|
+
:param Sequence[_builtins.str] short_names: shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get <shortname>`. It must be all lowercase.
|
|
626
|
+
:param _builtins.str singular: singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`.
|
|
627
627
|
"""
|
|
628
628
|
pulumi.set(__self__, "kind", kind)
|
|
629
629
|
pulumi.set(__self__, "plural", plural)
|
|
@@ -636,49 +636,49 @@ class CustomResourceDefinitionNames(dict):
|
|
|
636
636
|
if singular is not None:
|
|
637
637
|
pulumi.set(__self__, "singular", singular)
|
|
638
638
|
|
|
639
|
-
@property
|
|
639
|
+
@_builtins.property
|
|
640
640
|
@pulumi.getter
|
|
641
|
-
def kind(self) -> str:
|
|
641
|
+
def kind(self) -> _builtins.str:
|
|
642
642
|
"""
|
|
643
643
|
kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls.
|
|
644
644
|
"""
|
|
645
645
|
return pulumi.get(self, "kind")
|
|
646
646
|
|
|
647
|
-
@property
|
|
647
|
+
@_builtins.property
|
|
648
648
|
@pulumi.getter
|
|
649
|
-
def plural(self) -> str:
|
|
649
|
+
def plural(self) -> _builtins.str:
|
|
650
650
|
"""
|
|
651
651
|
plural is the plural name of the resource to serve. The custom resources are served under `/apis/<group>/<version>/.../<plural>`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`). Must be all lowercase.
|
|
652
652
|
"""
|
|
653
653
|
return pulumi.get(self, "plural")
|
|
654
654
|
|
|
655
|
-
@property
|
|
655
|
+
@_builtins.property
|
|
656
656
|
@pulumi.getter
|
|
657
|
-
def categories(self) -> Optional[Sequence[str]]:
|
|
657
|
+
def categories(self) -> Optional[Sequence[_builtins.str]]:
|
|
658
658
|
"""
|
|
659
659
|
categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`.
|
|
660
660
|
"""
|
|
661
661
|
return pulumi.get(self, "categories")
|
|
662
662
|
|
|
663
|
-
@property
|
|
663
|
+
@_builtins.property
|
|
664
664
|
@pulumi.getter(name="listKind")
|
|
665
|
-
def list_kind(self) -> Optional[str]:
|
|
665
|
+
def list_kind(self) -> Optional[_builtins.str]:
|
|
666
666
|
"""
|
|
667
667
|
listKind is the serialized kind of the list for this resource. Defaults to "`kind`List".
|
|
668
668
|
"""
|
|
669
669
|
return pulumi.get(self, "list_kind")
|
|
670
670
|
|
|
671
|
-
@property
|
|
671
|
+
@_builtins.property
|
|
672
672
|
@pulumi.getter(name="shortNames")
|
|
673
|
-
def short_names(self) -> Optional[Sequence[str]]:
|
|
673
|
+
def short_names(self) -> Optional[Sequence[_builtins.str]]:
|
|
674
674
|
"""
|
|
675
675
|
shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get <shortname>`. It must be all lowercase.
|
|
676
676
|
"""
|
|
677
677
|
return pulumi.get(self, "short_names")
|
|
678
678
|
|
|
679
|
-
@property
|
|
679
|
+
@_builtins.property
|
|
680
680
|
@pulumi.getter
|
|
681
|
-
def singular(self) -> Optional[str]:
|
|
681
|
+
def singular(self) -> Optional[_builtins.str]:
|
|
682
682
|
"""
|
|
683
683
|
singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`.
|
|
684
684
|
"""
|
|
@@ -710,20 +710,20 @@ class CustomResourceDefinitionNamesPatch(dict):
|
|
|
710
710
|
return super().get(key, default)
|
|
711
711
|
|
|
712
712
|
def __init__(__self__, *,
|
|
713
|
-
categories: Optional[Sequence[str]] = None,
|
|
714
|
-
kind: Optional[str] = None,
|
|
715
|
-
list_kind: Optional[str] = None,
|
|
716
|
-
plural: Optional[str] = None,
|
|
717
|
-
short_names: Optional[Sequence[str]] = None,
|
|
718
|
-
singular: Optional[str] = None):
|
|
713
|
+
categories: Optional[Sequence[_builtins.str]] = None,
|
|
714
|
+
kind: Optional[_builtins.str] = None,
|
|
715
|
+
list_kind: Optional[_builtins.str] = None,
|
|
716
|
+
plural: Optional[_builtins.str] = None,
|
|
717
|
+
short_names: Optional[Sequence[_builtins.str]] = None,
|
|
718
|
+
singular: Optional[_builtins.str] = None):
|
|
719
719
|
"""
|
|
720
720
|
CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition
|
|
721
|
-
:param Sequence[str] categories: categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`.
|
|
722
|
-
:param str kind: kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls.
|
|
723
|
-
:param str list_kind: listKind is the serialized kind of the list for this resource. Defaults to "`kind`List".
|
|
724
|
-
:param str plural: plural is the plural name of the resource to serve. The custom resources are served under `/apis/<group>/<version>/.../<plural>`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`). Must be all lowercase.
|
|
725
|
-
:param Sequence[str] short_names: shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get <shortname>`. It must be all lowercase.
|
|
726
|
-
:param str singular: singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`.
|
|
721
|
+
:param Sequence[_builtins.str] categories: categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`.
|
|
722
|
+
:param _builtins.str kind: kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls.
|
|
723
|
+
:param _builtins.str list_kind: listKind is the serialized kind of the list for this resource. Defaults to "`kind`List".
|
|
724
|
+
:param _builtins.str plural: plural is the plural name of the resource to serve. The custom resources are served under `/apis/<group>/<version>/.../<plural>`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`). Must be all lowercase.
|
|
725
|
+
:param Sequence[_builtins.str] short_names: shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get <shortname>`. It must be all lowercase.
|
|
726
|
+
:param _builtins.str singular: singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`.
|
|
727
727
|
"""
|
|
728
728
|
if categories is not None:
|
|
729
729
|
pulumi.set(__self__, "categories", categories)
|
|
@@ -738,49 +738,49 @@ class CustomResourceDefinitionNamesPatch(dict):
|
|
|
738
738
|
if singular is not None:
|
|
739
739
|
pulumi.set(__self__, "singular", singular)
|
|
740
740
|
|
|
741
|
-
@property
|
|
741
|
+
@_builtins.property
|
|
742
742
|
@pulumi.getter
|
|
743
|
-
def categories(self) -> Optional[Sequence[str]]:
|
|
743
|
+
def categories(self) -> Optional[Sequence[_builtins.str]]:
|
|
744
744
|
"""
|
|
745
745
|
categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`.
|
|
746
746
|
"""
|
|
747
747
|
return pulumi.get(self, "categories")
|
|
748
748
|
|
|
749
|
-
@property
|
|
749
|
+
@_builtins.property
|
|
750
750
|
@pulumi.getter
|
|
751
|
-
def kind(self) -> Optional[str]:
|
|
751
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
752
752
|
"""
|
|
753
753
|
kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls.
|
|
754
754
|
"""
|
|
755
755
|
return pulumi.get(self, "kind")
|
|
756
756
|
|
|
757
|
-
@property
|
|
757
|
+
@_builtins.property
|
|
758
758
|
@pulumi.getter(name="listKind")
|
|
759
|
-
def list_kind(self) -> Optional[str]:
|
|
759
|
+
def list_kind(self) -> Optional[_builtins.str]:
|
|
760
760
|
"""
|
|
761
761
|
listKind is the serialized kind of the list for this resource. Defaults to "`kind`List".
|
|
762
762
|
"""
|
|
763
763
|
return pulumi.get(self, "list_kind")
|
|
764
764
|
|
|
765
|
-
@property
|
|
765
|
+
@_builtins.property
|
|
766
766
|
@pulumi.getter
|
|
767
|
-
def plural(self) -> Optional[str]:
|
|
767
|
+
def plural(self) -> Optional[_builtins.str]:
|
|
768
768
|
"""
|
|
769
769
|
plural is the plural name of the resource to serve. The custom resources are served under `/apis/<group>/<version>/.../<plural>`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`). Must be all lowercase.
|
|
770
770
|
"""
|
|
771
771
|
return pulumi.get(self, "plural")
|
|
772
772
|
|
|
773
|
-
@property
|
|
773
|
+
@_builtins.property
|
|
774
774
|
@pulumi.getter(name="shortNames")
|
|
775
|
-
def short_names(self) -> Optional[Sequence[str]]:
|
|
775
|
+
def short_names(self) -> Optional[Sequence[_builtins.str]]:
|
|
776
776
|
"""
|
|
777
777
|
shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get <shortname>`. It must be all lowercase.
|
|
778
778
|
"""
|
|
779
779
|
return pulumi.get(self, "short_names")
|
|
780
780
|
|
|
781
|
-
@property
|
|
781
|
+
@_builtins.property
|
|
782
782
|
@pulumi.getter
|
|
783
|
-
def singular(self) -> Optional[str]:
|
|
783
|
+
def singular(self) -> Optional[_builtins.str]:
|
|
784
784
|
"""
|
|
785
785
|
singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`.
|
|
786
786
|
"""
|
|
@@ -810,20 +810,20 @@ class CustomResourceDefinitionSpec(dict):
|
|
|
810
810
|
return super().get(key, default)
|
|
811
811
|
|
|
812
812
|
def __init__(__self__, *,
|
|
813
|
-
group: str,
|
|
813
|
+
group: _builtins.str,
|
|
814
814
|
names: 'outputs.CustomResourceDefinitionNames',
|
|
815
|
-
scope: str,
|
|
815
|
+
scope: _builtins.str,
|
|
816
816
|
versions: Sequence['outputs.CustomResourceDefinitionVersion'],
|
|
817
817
|
conversion: Optional['outputs.CustomResourceConversion'] = None,
|
|
818
|
-
preserve_unknown_fields: Optional[bool] = None):
|
|
818
|
+
preserve_unknown_fields: Optional[_builtins.bool] = None):
|
|
819
819
|
"""
|
|
820
820
|
CustomResourceDefinitionSpec describes how a user wants their resource to appear
|
|
821
|
-
:param str group: group is the API group of the defined custom resource. The custom resources are served under `/apis/<group>/...`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`).
|
|
821
|
+
:param _builtins.str group: group is the API group of the defined custom resource. The custom resources are served under `/apis/<group>/...`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`).
|
|
822
822
|
:param 'CustomResourceDefinitionNamesArgs' names: names specify the resource and kind names for the custom resource.
|
|
823
|
-
:param str scope: scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`.
|
|
823
|
+
:param _builtins.str scope: scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`.
|
|
824
824
|
:param Sequence['CustomResourceDefinitionVersionArgs'] versions: versions is the list of all API versions of the defined custom resource. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is "kube-like", it will sort above non "kube-like" version strings, which are ordered lexicographically. "Kube-like" versions start with a "v", then are followed by a number (the major version), then optionally the string "alpha" or "beta" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.
|
|
825
825
|
:param 'CustomResourceConversionArgs' conversion: conversion defines conversion settings for the CRD.
|
|
826
|
-
:param bool preserve_unknown_fields: preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. This field is deprecated in favor of setting `x-preserve-unknown-fields` to true in `spec.versions[*].schema.openAPIV3Schema`. See https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#field-pruning for details.
|
|
826
|
+
:param _builtins.bool preserve_unknown_fields: preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. This field is deprecated in favor of setting `x-preserve-unknown-fields` to true in `spec.versions[*].schema.openAPIV3Schema`. See https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#field-pruning for details.
|
|
827
827
|
"""
|
|
828
828
|
pulumi.set(__self__, "group", group)
|
|
829
829
|
pulumi.set(__self__, "names", names)
|
|
@@ -834,15 +834,15 @@ class CustomResourceDefinitionSpec(dict):
|
|
|
834
834
|
if preserve_unknown_fields is not None:
|
|
835
835
|
pulumi.set(__self__, "preserve_unknown_fields", preserve_unknown_fields)
|
|
836
836
|
|
|
837
|
-
@property
|
|
837
|
+
@_builtins.property
|
|
838
838
|
@pulumi.getter
|
|
839
|
-
def group(self) -> str:
|
|
839
|
+
def group(self) -> _builtins.str:
|
|
840
840
|
"""
|
|
841
841
|
group is the API group of the defined custom resource. The custom resources are served under `/apis/<group>/...`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`).
|
|
842
842
|
"""
|
|
843
843
|
return pulumi.get(self, "group")
|
|
844
844
|
|
|
845
|
-
@property
|
|
845
|
+
@_builtins.property
|
|
846
846
|
@pulumi.getter
|
|
847
847
|
def names(self) -> 'outputs.CustomResourceDefinitionNames':
|
|
848
848
|
"""
|
|
@@ -850,15 +850,15 @@ class CustomResourceDefinitionSpec(dict):
|
|
|
850
850
|
"""
|
|
851
851
|
return pulumi.get(self, "names")
|
|
852
852
|
|
|
853
|
-
@property
|
|
853
|
+
@_builtins.property
|
|
854
854
|
@pulumi.getter
|
|
855
|
-
def scope(self) -> str:
|
|
855
|
+
def scope(self) -> _builtins.str:
|
|
856
856
|
"""
|
|
857
857
|
scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`.
|
|
858
858
|
"""
|
|
859
859
|
return pulumi.get(self, "scope")
|
|
860
860
|
|
|
861
|
-
@property
|
|
861
|
+
@_builtins.property
|
|
862
862
|
@pulumi.getter
|
|
863
863
|
def versions(self) -> Sequence['outputs.CustomResourceDefinitionVersion']:
|
|
864
864
|
"""
|
|
@@ -866,7 +866,7 @@ class CustomResourceDefinitionSpec(dict):
|
|
|
866
866
|
"""
|
|
867
867
|
return pulumi.get(self, "versions")
|
|
868
868
|
|
|
869
|
-
@property
|
|
869
|
+
@_builtins.property
|
|
870
870
|
@pulumi.getter
|
|
871
871
|
def conversion(self) -> Optional['outputs.CustomResourceConversion']:
|
|
872
872
|
"""
|
|
@@ -874,9 +874,9 @@ class CustomResourceDefinitionSpec(dict):
|
|
|
874
874
|
"""
|
|
875
875
|
return pulumi.get(self, "conversion")
|
|
876
876
|
|
|
877
|
-
@property
|
|
877
|
+
@_builtins.property
|
|
878
878
|
@pulumi.getter(name="preserveUnknownFields")
|
|
879
|
-
def preserve_unknown_fields(self) -> Optional[bool]:
|
|
879
|
+
def preserve_unknown_fields(self) -> Optional[_builtins.bool]:
|
|
880
880
|
"""
|
|
881
881
|
preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. This field is deprecated in favor of setting `x-preserve-unknown-fields` to true in `spec.versions[*].schema.openAPIV3Schema`. See https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#field-pruning for details.
|
|
882
882
|
"""
|
|
@@ -907,18 +907,18 @@ class CustomResourceDefinitionSpecPatch(dict):
|
|
|
907
907
|
|
|
908
908
|
def __init__(__self__, *,
|
|
909
909
|
conversion: Optional['outputs.CustomResourceConversionPatch'] = None,
|
|
910
|
-
group: Optional[str] = None,
|
|
910
|
+
group: Optional[_builtins.str] = None,
|
|
911
911
|
names: Optional['outputs.CustomResourceDefinitionNamesPatch'] = None,
|
|
912
|
-
preserve_unknown_fields: Optional[bool] = None,
|
|
913
|
-
scope: Optional[str] = None,
|
|
912
|
+
preserve_unknown_fields: Optional[_builtins.bool] = None,
|
|
913
|
+
scope: Optional[_builtins.str] = None,
|
|
914
914
|
versions: Optional[Sequence['outputs.CustomResourceDefinitionVersionPatch']] = None):
|
|
915
915
|
"""
|
|
916
916
|
CustomResourceDefinitionSpec describes how a user wants their resource to appear
|
|
917
917
|
:param 'CustomResourceConversionPatchArgs' conversion: conversion defines conversion settings for the CRD.
|
|
918
|
-
:param str group: group is the API group of the defined custom resource. The custom resources are served under `/apis/<group>/...`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`).
|
|
918
|
+
:param _builtins.str group: group is the API group of the defined custom resource. The custom resources are served under `/apis/<group>/...`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`).
|
|
919
919
|
:param 'CustomResourceDefinitionNamesPatchArgs' names: names specify the resource and kind names for the custom resource.
|
|
920
|
-
:param bool preserve_unknown_fields: preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. This field is deprecated in favor of setting `x-preserve-unknown-fields` to true in `spec.versions[*].schema.openAPIV3Schema`. See https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#field-pruning for details.
|
|
921
|
-
:param str scope: scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`.
|
|
920
|
+
:param _builtins.bool preserve_unknown_fields: preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. This field is deprecated in favor of setting `x-preserve-unknown-fields` to true in `spec.versions[*].schema.openAPIV3Schema`. See https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#field-pruning for details.
|
|
921
|
+
:param _builtins.str scope: scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`.
|
|
922
922
|
:param Sequence['CustomResourceDefinitionVersionPatchArgs'] versions: versions is the list of all API versions of the defined custom resource. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is "kube-like", it will sort above non "kube-like" version strings, which are ordered lexicographically. "Kube-like" versions start with a "v", then are followed by a number (the major version), then optionally the string "alpha" or "beta" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.
|
|
923
923
|
"""
|
|
924
924
|
if conversion is not None:
|
|
@@ -934,7 +934,7 @@ class CustomResourceDefinitionSpecPatch(dict):
|
|
|
934
934
|
if versions is not None:
|
|
935
935
|
pulumi.set(__self__, "versions", versions)
|
|
936
936
|
|
|
937
|
-
@property
|
|
937
|
+
@_builtins.property
|
|
938
938
|
@pulumi.getter
|
|
939
939
|
def conversion(self) -> Optional['outputs.CustomResourceConversionPatch']:
|
|
940
940
|
"""
|
|
@@ -942,15 +942,15 @@ class CustomResourceDefinitionSpecPatch(dict):
|
|
|
942
942
|
"""
|
|
943
943
|
return pulumi.get(self, "conversion")
|
|
944
944
|
|
|
945
|
-
@property
|
|
945
|
+
@_builtins.property
|
|
946
946
|
@pulumi.getter
|
|
947
|
-
def group(self) -> Optional[str]:
|
|
947
|
+
def group(self) -> Optional[_builtins.str]:
|
|
948
948
|
"""
|
|
949
949
|
group is the API group of the defined custom resource. The custom resources are served under `/apis/<group>/...`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`).
|
|
950
950
|
"""
|
|
951
951
|
return pulumi.get(self, "group")
|
|
952
952
|
|
|
953
|
-
@property
|
|
953
|
+
@_builtins.property
|
|
954
954
|
@pulumi.getter
|
|
955
955
|
def names(self) -> Optional['outputs.CustomResourceDefinitionNamesPatch']:
|
|
956
956
|
"""
|
|
@@ -958,23 +958,23 @@ class CustomResourceDefinitionSpecPatch(dict):
|
|
|
958
958
|
"""
|
|
959
959
|
return pulumi.get(self, "names")
|
|
960
960
|
|
|
961
|
-
@property
|
|
961
|
+
@_builtins.property
|
|
962
962
|
@pulumi.getter(name="preserveUnknownFields")
|
|
963
|
-
def preserve_unknown_fields(self) -> Optional[bool]:
|
|
963
|
+
def preserve_unknown_fields(self) -> Optional[_builtins.bool]:
|
|
964
964
|
"""
|
|
965
965
|
preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. This field is deprecated in favor of setting `x-preserve-unknown-fields` to true in `spec.versions[*].schema.openAPIV3Schema`. See https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#field-pruning for details.
|
|
966
966
|
"""
|
|
967
967
|
return pulumi.get(self, "preserve_unknown_fields")
|
|
968
968
|
|
|
969
|
-
@property
|
|
969
|
+
@_builtins.property
|
|
970
970
|
@pulumi.getter
|
|
971
|
-
def scope(self) -> Optional[str]:
|
|
971
|
+
def scope(self) -> Optional[_builtins.str]:
|
|
972
972
|
"""
|
|
973
973
|
scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`.
|
|
974
974
|
"""
|
|
975
975
|
return pulumi.get(self, "scope")
|
|
976
976
|
|
|
977
|
-
@property
|
|
977
|
+
@_builtins.property
|
|
978
978
|
@pulumi.getter
|
|
979
979
|
def versions(self) -> Optional[Sequence['outputs.CustomResourceDefinitionVersionPatch']]:
|
|
980
980
|
"""
|
|
@@ -1009,12 +1009,12 @@ class CustomResourceDefinitionStatus(dict):
|
|
|
1009
1009
|
|
|
1010
1010
|
def __init__(__self__, *,
|
|
1011
1011
|
accepted_names: 'outputs.CustomResourceDefinitionNames',
|
|
1012
|
-
stored_versions: Sequence[str],
|
|
1012
|
+
stored_versions: Sequence[_builtins.str],
|
|
1013
1013
|
conditions: Optional[Sequence['outputs.CustomResourceDefinitionCondition']] = None):
|
|
1014
1014
|
"""
|
|
1015
1015
|
CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition
|
|
1016
1016
|
:param 'CustomResourceDefinitionNamesArgs' accepted_names: acceptedNames are the names that are actually being used to serve discovery. They may be different than the names in spec.
|
|
1017
|
-
:param Sequence[str] stored_versions: storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list.
|
|
1017
|
+
:param Sequence[_builtins.str] stored_versions: storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list.
|
|
1018
1018
|
:param Sequence['CustomResourceDefinitionConditionArgs'] conditions: conditions indicate state for particular aspects of a CustomResourceDefinition
|
|
1019
1019
|
"""
|
|
1020
1020
|
pulumi.set(__self__, "accepted_names", accepted_names)
|
|
@@ -1022,7 +1022,7 @@ class CustomResourceDefinitionStatus(dict):
|
|
|
1022
1022
|
if conditions is not None:
|
|
1023
1023
|
pulumi.set(__self__, "conditions", conditions)
|
|
1024
1024
|
|
|
1025
|
-
@property
|
|
1025
|
+
@_builtins.property
|
|
1026
1026
|
@pulumi.getter(name="acceptedNames")
|
|
1027
1027
|
def accepted_names(self) -> 'outputs.CustomResourceDefinitionNames':
|
|
1028
1028
|
"""
|
|
@@ -1030,15 +1030,15 @@ class CustomResourceDefinitionStatus(dict):
|
|
|
1030
1030
|
"""
|
|
1031
1031
|
return pulumi.get(self, "accepted_names")
|
|
1032
1032
|
|
|
1033
|
-
@property
|
|
1033
|
+
@_builtins.property
|
|
1034
1034
|
@pulumi.getter(name="storedVersions")
|
|
1035
|
-
def stored_versions(self) -> Sequence[str]:
|
|
1035
|
+
def stored_versions(self) -> Sequence[_builtins.str]:
|
|
1036
1036
|
"""
|
|
1037
1037
|
storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list.
|
|
1038
1038
|
"""
|
|
1039
1039
|
return pulumi.get(self, "stored_versions")
|
|
1040
1040
|
|
|
1041
|
-
@property
|
|
1041
|
+
@_builtins.property
|
|
1042
1042
|
@pulumi.getter
|
|
1043
1043
|
def conditions(self) -> Optional[Sequence['outputs.CustomResourceDefinitionCondition']]:
|
|
1044
1044
|
"""
|
|
@@ -1074,12 +1074,12 @@ class CustomResourceDefinitionStatusPatch(dict):
|
|
|
1074
1074
|
def __init__(__self__, *,
|
|
1075
1075
|
accepted_names: Optional['outputs.CustomResourceDefinitionNamesPatch'] = None,
|
|
1076
1076
|
conditions: Optional[Sequence['outputs.CustomResourceDefinitionConditionPatch']] = None,
|
|
1077
|
-
stored_versions: Optional[Sequence[str]] = None):
|
|
1077
|
+
stored_versions: Optional[Sequence[_builtins.str]] = None):
|
|
1078
1078
|
"""
|
|
1079
1079
|
CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition
|
|
1080
1080
|
:param 'CustomResourceDefinitionNamesPatchArgs' accepted_names: acceptedNames are the names that are actually being used to serve discovery. They may be different than the names in spec.
|
|
1081
1081
|
:param Sequence['CustomResourceDefinitionConditionPatchArgs'] conditions: conditions indicate state for particular aspects of a CustomResourceDefinition
|
|
1082
|
-
:param Sequence[str] stored_versions: storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list.
|
|
1082
|
+
:param Sequence[_builtins.str] stored_versions: storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list.
|
|
1083
1083
|
"""
|
|
1084
1084
|
if accepted_names is not None:
|
|
1085
1085
|
pulumi.set(__self__, "accepted_names", accepted_names)
|
|
@@ -1088,7 +1088,7 @@ class CustomResourceDefinitionStatusPatch(dict):
|
|
|
1088
1088
|
if stored_versions is not None:
|
|
1089
1089
|
pulumi.set(__self__, "stored_versions", stored_versions)
|
|
1090
1090
|
|
|
1091
|
-
@property
|
|
1091
|
+
@_builtins.property
|
|
1092
1092
|
@pulumi.getter(name="acceptedNames")
|
|
1093
1093
|
def accepted_names(self) -> Optional['outputs.CustomResourceDefinitionNamesPatch']:
|
|
1094
1094
|
"""
|
|
@@ -1096,7 +1096,7 @@ class CustomResourceDefinitionStatusPatch(dict):
|
|
|
1096
1096
|
"""
|
|
1097
1097
|
return pulumi.get(self, "accepted_names")
|
|
1098
1098
|
|
|
1099
|
-
@property
|
|
1099
|
+
@_builtins.property
|
|
1100
1100
|
@pulumi.getter
|
|
1101
1101
|
def conditions(self) -> Optional[Sequence['outputs.CustomResourceDefinitionConditionPatch']]:
|
|
1102
1102
|
"""
|
|
@@ -1104,9 +1104,9 @@ class CustomResourceDefinitionStatusPatch(dict):
|
|
|
1104
1104
|
"""
|
|
1105
1105
|
return pulumi.get(self, "conditions")
|
|
1106
1106
|
|
|
1107
|
-
@property
|
|
1107
|
+
@_builtins.property
|
|
1108
1108
|
@pulumi.getter(name="storedVersions")
|
|
1109
|
-
def stored_versions(self) -> Optional[Sequence[str]]:
|
|
1109
|
+
def stored_versions(self) -> Optional[Sequence[_builtins.str]]:
|
|
1110
1110
|
"""
|
|
1111
1111
|
storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list.
|
|
1112
1112
|
"""
|
|
@@ -1140,23 +1140,23 @@ class CustomResourceDefinitionVersion(dict):
|
|
|
1140
1140
|
return super().get(key, default)
|
|
1141
1141
|
|
|
1142
1142
|
def __init__(__self__, *,
|
|
1143
|
-
name: str,
|
|
1144
|
-
served: bool,
|
|
1145
|
-
storage: bool,
|
|
1143
|
+
name: _builtins.str,
|
|
1144
|
+
served: _builtins.bool,
|
|
1145
|
+
storage: _builtins.bool,
|
|
1146
1146
|
additional_printer_columns: Optional[Sequence['outputs.CustomResourceColumnDefinition']] = None,
|
|
1147
|
-
deprecated: Optional[bool] = None,
|
|
1148
|
-
deprecation_warning: Optional[str] = None,
|
|
1147
|
+
deprecated: Optional[_builtins.bool] = None,
|
|
1148
|
+
deprecation_warning: Optional[_builtins.str] = None,
|
|
1149
1149
|
schema: Optional['outputs.CustomResourceValidation'] = None,
|
|
1150
1150
|
selectable_fields: Optional[Sequence['outputs.SelectableField']] = None,
|
|
1151
1151
|
subresources: Optional['outputs.CustomResourceSubresources'] = None):
|
|
1152
1152
|
"""
|
|
1153
1153
|
CustomResourceDefinitionVersion describes a version for CRD.
|
|
1154
|
-
:param str name: name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis/<group>/<version>/...` if `served` is true.
|
|
1155
|
-
:param bool served: served is a flag enabling/disabling this version from being served via REST APIs
|
|
1156
|
-
:param bool storage: storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true.
|
|
1154
|
+
:param _builtins.str name: name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis/<group>/<version>/...` if `served` is true.
|
|
1155
|
+
:param _builtins.bool served: served is a flag enabling/disabling this version from being served via REST APIs
|
|
1156
|
+
:param _builtins.bool storage: storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true.
|
|
1157
1157
|
:param Sequence['CustomResourceColumnDefinitionArgs'] additional_printer_columns: additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If no columns are specified, a single column displaying the age of the custom resource is used.
|
|
1158
|
-
:param bool deprecated: deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false.
|
|
1159
|
-
:param str deprecation_warning: deprecationWarning overrides the default warning returned to API clients. May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists.
|
|
1158
|
+
:param _builtins.bool deprecated: deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false.
|
|
1159
|
+
:param _builtins.str deprecation_warning: deprecationWarning overrides the default warning returned to API clients. May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists.
|
|
1160
1160
|
:param 'CustomResourceValidationArgs' schema: schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource.
|
|
1161
1161
|
:param Sequence['SelectableFieldArgs'] selectable_fields: selectableFields specifies paths to fields that may be used as field selectors. A maximum of 8 selectable fields are allowed. See https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors
|
|
1162
1162
|
:param 'CustomResourceSubresourcesArgs' subresources: subresources specify what subresources this version of the defined custom resource have.
|
|
@@ -1177,31 +1177,31 @@ class CustomResourceDefinitionVersion(dict):
|
|
|
1177
1177
|
if subresources is not None:
|
|
1178
1178
|
pulumi.set(__self__, "subresources", subresources)
|
|
1179
1179
|
|
|
1180
|
-
@property
|
|
1180
|
+
@_builtins.property
|
|
1181
1181
|
@pulumi.getter
|
|
1182
|
-
def name(self) -> str:
|
|
1182
|
+
def name(self) -> _builtins.str:
|
|
1183
1183
|
"""
|
|
1184
1184
|
name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis/<group>/<version>/...` if `served` is true.
|
|
1185
1185
|
"""
|
|
1186
1186
|
return pulumi.get(self, "name")
|
|
1187
1187
|
|
|
1188
|
-
@property
|
|
1188
|
+
@_builtins.property
|
|
1189
1189
|
@pulumi.getter
|
|
1190
|
-
def served(self) -> bool:
|
|
1190
|
+
def served(self) -> _builtins.bool:
|
|
1191
1191
|
"""
|
|
1192
1192
|
served is a flag enabling/disabling this version from being served via REST APIs
|
|
1193
1193
|
"""
|
|
1194
1194
|
return pulumi.get(self, "served")
|
|
1195
1195
|
|
|
1196
|
-
@property
|
|
1196
|
+
@_builtins.property
|
|
1197
1197
|
@pulumi.getter
|
|
1198
|
-
def storage(self) -> bool:
|
|
1198
|
+
def storage(self) -> _builtins.bool:
|
|
1199
1199
|
"""
|
|
1200
1200
|
storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true.
|
|
1201
1201
|
"""
|
|
1202
1202
|
return pulumi.get(self, "storage")
|
|
1203
1203
|
|
|
1204
|
-
@property
|
|
1204
|
+
@_builtins.property
|
|
1205
1205
|
@pulumi.getter(name="additionalPrinterColumns")
|
|
1206
1206
|
def additional_printer_columns(self) -> Optional[Sequence['outputs.CustomResourceColumnDefinition']]:
|
|
1207
1207
|
"""
|
|
@@ -1209,23 +1209,23 @@ class CustomResourceDefinitionVersion(dict):
|
|
|
1209
1209
|
"""
|
|
1210
1210
|
return pulumi.get(self, "additional_printer_columns")
|
|
1211
1211
|
|
|
1212
|
-
@property
|
|
1212
|
+
@_builtins.property
|
|
1213
1213
|
@pulumi.getter
|
|
1214
|
-
def deprecated(self) -> Optional[bool]:
|
|
1214
|
+
def deprecated(self) -> Optional[_builtins.bool]:
|
|
1215
1215
|
"""
|
|
1216
1216
|
deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false.
|
|
1217
1217
|
"""
|
|
1218
1218
|
return pulumi.get(self, "deprecated")
|
|
1219
1219
|
|
|
1220
|
-
@property
|
|
1220
|
+
@_builtins.property
|
|
1221
1221
|
@pulumi.getter(name="deprecationWarning")
|
|
1222
|
-
def deprecation_warning(self) -> Optional[str]:
|
|
1222
|
+
def deprecation_warning(self) -> Optional[_builtins.str]:
|
|
1223
1223
|
"""
|
|
1224
1224
|
deprecationWarning overrides the default warning returned to API clients. May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists.
|
|
1225
1225
|
"""
|
|
1226
1226
|
return pulumi.get(self, "deprecation_warning")
|
|
1227
1227
|
|
|
1228
|
-
@property
|
|
1228
|
+
@_builtins.property
|
|
1229
1229
|
@pulumi.getter
|
|
1230
1230
|
def schema(self) -> Optional['outputs.CustomResourceValidation']:
|
|
1231
1231
|
"""
|
|
@@ -1233,7 +1233,7 @@ class CustomResourceDefinitionVersion(dict):
|
|
|
1233
1233
|
"""
|
|
1234
1234
|
return pulumi.get(self, "schema")
|
|
1235
1235
|
|
|
1236
|
-
@property
|
|
1236
|
+
@_builtins.property
|
|
1237
1237
|
@pulumi.getter(name="selectableFields")
|
|
1238
1238
|
def selectable_fields(self) -> Optional[Sequence['outputs.SelectableField']]:
|
|
1239
1239
|
"""
|
|
@@ -1241,7 +1241,7 @@ class CustomResourceDefinitionVersion(dict):
|
|
|
1241
1241
|
"""
|
|
1242
1242
|
return pulumi.get(self, "selectable_fields")
|
|
1243
1243
|
|
|
1244
|
-
@property
|
|
1244
|
+
@_builtins.property
|
|
1245
1245
|
@pulumi.getter
|
|
1246
1246
|
def subresources(self) -> Optional['outputs.CustomResourceSubresources']:
|
|
1247
1247
|
"""
|
|
@@ -1278,24 +1278,24 @@ class CustomResourceDefinitionVersionPatch(dict):
|
|
|
1278
1278
|
|
|
1279
1279
|
def __init__(__self__, *,
|
|
1280
1280
|
additional_printer_columns: Optional[Sequence['outputs.CustomResourceColumnDefinitionPatch']] = None,
|
|
1281
|
-
deprecated: Optional[bool] = None,
|
|
1282
|
-
deprecation_warning: Optional[str] = None,
|
|
1283
|
-
name: Optional[str] = None,
|
|
1281
|
+
deprecated: Optional[_builtins.bool] = None,
|
|
1282
|
+
deprecation_warning: Optional[_builtins.str] = None,
|
|
1283
|
+
name: Optional[_builtins.str] = None,
|
|
1284
1284
|
schema: Optional['outputs.CustomResourceValidationPatch'] = None,
|
|
1285
1285
|
selectable_fields: Optional[Sequence['outputs.SelectableFieldPatch']] = None,
|
|
1286
|
-
served: Optional[bool] = None,
|
|
1287
|
-
storage: Optional[bool] = None,
|
|
1286
|
+
served: Optional[_builtins.bool] = None,
|
|
1287
|
+
storage: Optional[_builtins.bool] = None,
|
|
1288
1288
|
subresources: Optional['outputs.CustomResourceSubresourcesPatch'] = None):
|
|
1289
1289
|
"""
|
|
1290
1290
|
CustomResourceDefinitionVersion describes a version for CRD.
|
|
1291
1291
|
:param Sequence['CustomResourceColumnDefinitionPatchArgs'] additional_printer_columns: additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If no columns are specified, a single column displaying the age of the custom resource is used.
|
|
1292
|
-
:param bool deprecated: deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false.
|
|
1293
|
-
:param str deprecation_warning: deprecationWarning overrides the default warning returned to API clients. May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists.
|
|
1294
|
-
:param str name: name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis/<group>/<version>/...` if `served` is true.
|
|
1292
|
+
:param _builtins.bool deprecated: deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false.
|
|
1293
|
+
:param _builtins.str deprecation_warning: deprecationWarning overrides the default warning returned to API clients. May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists.
|
|
1294
|
+
:param _builtins.str name: name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis/<group>/<version>/...` if `served` is true.
|
|
1295
1295
|
:param 'CustomResourceValidationPatchArgs' schema: schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource.
|
|
1296
1296
|
:param Sequence['SelectableFieldPatchArgs'] selectable_fields: selectableFields specifies paths to fields that may be used as field selectors. A maximum of 8 selectable fields are allowed. See https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors
|
|
1297
|
-
:param bool served: served is a flag enabling/disabling this version from being served via REST APIs
|
|
1298
|
-
:param bool storage: storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true.
|
|
1297
|
+
:param _builtins.bool served: served is a flag enabling/disabling this version from being served via REST APIs
|
|
1298
|
+
:param _builtins.bool storage: storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true.
|
|
1299
1299
|
:param 'CustomResourceSubresourcesPatchArgs' subresources: subresources specify what subresources this version of the defined custom resource have.
|
|
1300
1300
|
"""
|
|
1301
1301
|
if additional_printer_columns is not None:
|
|
@@ -1317,7 +1317,7 @@ class CustomResourceDefinitionVersionPatch(dict):
|
|
|
1317
1317
|
if subresources is not None:
|
|
1318
1318
|
pulumi.set(__self__, "subresources", subresources)
|
|
1319
1319
|
|
|
1320
|
-
@property
|
|
1320
|
+
@_builtins.property
|
|
1321
1321
|
@pulumi.getter(name="additionalPrinterColumns")
|
|
1322
1322
|
def additional_printer_columns(self) -> Optional[Sequence['outputs.CustomResourceColumnDefinitionPatch']]:
|
|
1323
1323
|
"""
|
|
@@ -1325,31 +1325,31 @@ class CustomResourceDefinitionVersionPatch(dict):
|
|
|
1325
1325
|
"""
|
|
1326
1326
|
return pulumi.get(self, "additional_printer_columns")
|
|
1327
1327
|
|
|
1328
|
-
@property
|
|
1328
|
+
@_builtins.property
|
|
1329
1329
|
@pulumi.getter
|
|
1330
|
-
def deprecated(self) -> Optional[bool]:
|
|
1330
|
+
def deprecated(self) -> Optional[_builtins.bool]:
|
|
1331
1331
|
"""
|
|
1332
1332
|
deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false.
|
|
1333
1333
|
"""
|
|
1334
1334
|
return pulumi.get(self, "deprecated")
|
|
1335
1335
|
|
|
1336
|
-
@property
|
|
1336
|
+
@_builtins.property
|
|
1337
1337
|
@pulumi.getter(name="deprecationWarning")
|
|
1338
|
-
def deprecation_warning(self) -> Optional[str]:
|
|
1338
|
+
def deprecation_warning(self) -> Optional[_builtins.str]:
|
|
1339
1339
|
"""
|
|
1340
1340
|
deprecationWarning overrides the default warning returned to API clients. May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists.
|
|
1341
1341
|
"""
|
|
1342
1342
|
return pulumi.get(self, "deprecation_warning")
|
|
1343
1343
|
|
|
1344
|
-
@property
|
|
1344
|
+
@_builtins.property
|
|
1345
1345
|
@pulumi.getter
|
|
1346
|
-
def name(self) -> Optional[str]:
|
|
1346
|
+
def name(self) -> Optional[_builtins.str]:
|
|
1347
1347
|
"""
|
|
1348
1348
|
name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis/<group>/<version>/...` if `served` is true.
|
|
1349
1349
|
"""
|
|
1350
1350
|
return pulumi.get(self, "name")
|
|
1351
1351
|
|
|
1352
|
-
@property
|
|
1352
|
+
@_builtins.property
|
|
1353
1353
|
@pulumi.getter
|
|
1354
1354
|
def schema(self) -> Optional['outputs.CustomResourceValidationPatch']:
|
|
1355
1355
|
"""
|
|
@@ -1357,7 +1357,7 @@ class CustomResourceDefinitionVersionPatch(dict):
|
|
|
1357
1357
|
"""
|
|
1358
1358
|
return pulumi.get(self, "schema")
|
|
1359
1359
|
|
|
1360
|
-
@property
|
|
1360
|
+
@_builtins.property
|
|
1361
1361
|
@pulumi.getter(name="selectableFields")
|
|
1362
1362
|
def selectable_fields(self) -> Optional[Sequence['outputs.SelectableFieldPatch']]:
|
|
1363
1363
|
"""
|
|
@@ -1365,23 +1365,23 @@ class CustomResourceDefinitionVersionPatch(dict):
|
|
|
1365
1365
|
"""
|
|
1366
1366
|
return pulumi.get(self, "selectable_fields")
|
|
1367
1367
|
|
|
1368
|
-
@property
|
|
1368
|
+
@_builtins.property
|
|
1369
1369
|
@pulumi.getter
|
|
1370
|
-
def served(self) -> Optional[bool]:
|
|
1370
|
+
def served(self) -> Optional[_builtins.bool]:
|
|
1371
1371
|
"""
|
|
1372
1372
|
served is a flag enabling/disabling this version from being served via REST APIs
|
|
1373
1373
|
"""
|
|
1374
1374
|
return pulumi.get(self, "served")
|
|
1375
1375
|
|
|
1376
|
-
@property
|
|
1376
|
+
@_builtins.property
|
|
1377
1377
|
@pulumi.getter
|
|
1378
|
-
def storage(self) -> Optional[bool]:
|
|
1378
|
+
def storage(self) -> Optional[_builtins.bool]:
|
|
1379
1379
|
"""
|
|
1380
1380
|
storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true.
|
|
1381
1381
|
"""
|
|
1382
1382
|
return pulumi.get(self, "storage")
|
|
1383
1383
|
|
|
1384
|
-
@property
|
|
1384
|
+
@_builtins.property
|
|
1385
1385
|
@pulumi.getter
|
|
1386
1386
|
def subresources(self) -> Optional['outputs.CustomResourceSubresourcesPatch']:
|
|
1387
1387
|
"""
|
|
@@ -1417,39 +1417,39 @@ class CustomResourceSubresourceScale(dict):
|
|
|
1417
1417
|
return super().get(key, default)
|
|
1418
1418
|
|
|
1419
1419
|
def __init__(__self__, *,
|
|
1420
|
-
spec_replicas_path: str,
|
|
1421
|
-
status_replicas_path: str,
|
|
1422
|
-
label_selector_path: Optional[str] = None):
|
|
1420
|
+
spec_replicas_path: _builtins.str,
|
|
1421
|
+
status_replicas_path: _builtins.str,
|
|
1422
|
+
label_selector_path: Optional[_builtins.str] = None):
|
|
1423
1423
|
"""
|
|
1424
1424
|
CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources.
|
|
1425
|
-
:param str spec_replicas_path: specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET.
|
|
1426
|
-
:param str status_replicas_path: statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0.
|
|
1427
|
-
:param str label_selector_path: labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string.
|
|
1425
|
+
:param _builtins.str spec_replicas_path: specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET.
|
|
1426
|
+
:param _builtins.str status_replicas_path: statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0.
|
|
1427
|
+
:param _builtins.str label_selector_path: labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string.
|
|
1428
1428
|
"""
|
|
1429
1429
|
pulumi.set(__self__, "spec_replicas_path", spec_replicas_path)
|
|
1430
1430
|
pulumi.set(__self__, "status_replicas_path", status_replicas_path)
|
|
1431
1431
|
if label_selector_path is not None:
|
|
1432
1432
|
pulumi.set(__self__, "label_selector_path", label_selector_path)
|
|
1433
1433
|
|
|
1434
|
-
@property
|
|
1434
|
+
@_builtins.property
|
|
1435
1435
|
@pulumi.getter(name="specReplicasPath")
|
|
1436
|
-
def spec_replicas_path(self) -> str:
|
|
1436
|
+
def spec_replicas_path(self) -> _builtins.str:
|
|
1437
1437
|
"""
|
|
1438
1438
|
specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET.
|
|
1439
1439
|
"""
|
|
1440
1440
|
return pulumi.get(self, "spec_replicas_path")
|
|
1441
1441
|
|
|
1442
|
-
@property
|
|
1442
|
+
@_builtins.property
|
|
1443
1443
|
@pulumi.getter(name="statusReplicasPath")
|
|
1444
|
-
def status_replicas_path(self) -> str:
|
|
1444
|
+
def status_replicas_path(self) -> _builtins.str:
|
|
1445
1445
|
"""
|
|
1446
1446
|
statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0.
|
|
1447
1447
|
"""
|
|
1448
1448
|
return pulumi.get(self, "status_replicas_path")
|
|
1449
1449
|
|
|
1450
|
-
@property
|
|
1450
|
+
@_builtins.property
|
|
1451
1451
|
@pulumi.getter(name="labelSelectorPath")
|
|
1452
|
-
def label_selector_path(self) -> Optional[str]:
|
|
1452
|
+
def label_selector_path(self) -> Optional[_builtins.str]:
|
|
1453
1453
|
"""
|
|
1454
1454
|
labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string.
|
|
1455
1455
|
"""
|
|
@@ -1483,14 +1483,14 @@ class CustomResourceSubresourceScalePatch(dict):
|
|
|
1483
1483
|
return super().get(key, default)
|
|
1484
1484
|
|
|
1485
1485
|
def __init__(__self__, *,
|
|
1486
|
-
label_selector_path: Optional[str] = None,
|
|
1487
|
-
spec_replicas_path: Optional[str] = None,
|
|
1488
|
-
status_replicas_path: Optional[str] = None):
|
|
1486
|
+
label_selector_path: Optional[_builtins.str] = None,
|
|
1487
|
+
spec_replicas_path: Optional[_builtins.str] = None,
|
|
1488
|
+
status_replicas_path: Optional[_builtins.str] = None):
|
|
1489
1489
|
"""
|
|
1490
1490
|
CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources.
|
|
1491
|
-
:param str label_selector_path: labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string.
|
|
1492
|
-
:param str spec_replicas_path: specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET.
|
|
1493
|
-
:param str status_replicas_path: statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0.
|
|
1491
|
+
:param _builtins.str label_selector_path: labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string.
|
|
1492
|
+
:param _builtins.str spec_replicas_path: specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET.
|
|
1493
|
+
:param _builtins.str status_replicas_path: statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0.
|
|
1494
1494
|
"""
|
|
1495
1495
|
if label_selector_path is not None:
|
|
1496
1496
|
pulumi.set(__self__, "label_selector_path", label_selector_path)
|
|
@@ -1499,25 +1499,25 @@ class CustomResourceSubresourceScalePatch(dict):
|
|
|
1499
1499
|
if status_replicas_path is not None:
|
|
1500
1500
|
pulumi.set(__self__, "status_replicas_path", status_replicas_path)
|
|
1501
1501
|
|
|
1502
|
-
@property
|
|
1502
|
+
@_builtins.property
|
|
1503
1503
|
@pulumi.getter(name="labelSelectorPath")
|
|
1504
|
-
def label_selector_path(self) -> Optional[str]:
|
|
1504
|
+
def label_selector_path(self) -> Optional[_builtins.str]:
|
|
1505
1505
|
"""
|
|
1506
1506
|
labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string.
|
|
1507
1507
|
"""
|
|
1508
1508
|
return pulumi.get(self, "label_selector_path")
|
|
1509
1509
|
|
|
1510
|
-
@property
|
|
1510
|
+
@_builtins.property
|
|
1511
1511
|
@pulumi.getter(name="specReplicasPath")
|
|
1512
|
-
def spec_replicas_path(self) -> Optional[str]:
|
|
1512
|
+
def spec_replicas_path(self) -> Optional[_builtins.str]:
|
|
1513
1513
|
"""
|
|
1514
1514
|
specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET.
|
|
1515
1515
|
"""
|
|
1516
1516
|
return pulumi.get(self, "spec_replicas_path")
|
|
1517
1517
|
|
|
1518
|
-
@property
|
|
1518
|
+
@_builtins.property
|
|
1519
1519
|
@pulumi.getter(name="statusReplicasPath")
|
|
1520
|
-
def status_replicas_path(self) -> Optional[str]:
|
|
1520
|
+
def status_replicas_path(self) -> Optional[_builtins.str]:
|
|
1521
1521
|
"""
|
|
1522
1522
|
statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0.
|
|
1523
1523
|
"""
|
|
@@ -1542,7 +1542,7 @@ class CustomResourceSubresources(dict):
|
|
|
1542
1542
|
if status is not None:
|
|
1543
1543
|
pulumi.set(__self__, "status", status)
|
|
1544
1544
|
|
|
1545
|
-
@property
|
|
1545
|
+
@_builtins.property
|
|
1546
1546
|
@pulumi.getter
|
|
1547
1547
|
def scale(self) -> Optional['outputs.CustomResourceSubresourceScale']:
|
|
1548
1548
|
"""
|
|
@@ -1550,7 +1550,7 @@ class CustomResourceSubresources(dict):
|
|
|
1550
1550
|
"""
|
|
1551
1551
|
return pulumi.get(self, "scale")
|
|
1552
1552
|
|
|
1553
|
-
@property
|
|
1553
|
+
@_builtins.property
|
|
1554
1554
|
@pulumi.getter
|
|
1555
1555
|
def status(self) -> Optional[Any]:
|
|
1556
1556
|
"""
|
|
@@ -1577,7 +1577,7 @@ class CustomResourceSubresourcesPatch(dict):
|
|
|
1577
1577
|
if status is not None:
|
|
1578
1578
|
pulumi.set(__self__, "status", status)
|
|
1579
1579
|
|
|
1580
|
-
@property
|
|
1580
|
+
@_builtins.property
|
|
1581
1581
|
@pulumi.getter
|
|
1582
1582
|
def scale(self) -> Optional['outputs.CustomResourceSubresourceScalePatch']:
|
|
1583
1583
|
"""
|
|
@@ -1585,7 +1585,7 @@ class CustomResourceSubresourcesPatch(dict):
|
|
|
1585
1585
|
"""
|
|
1586
1586
|
return pulumi.get(self, "scale")
|
|
1587
1587
|
|
|
1588
|
-
@property
|
|
1588
|
+
@_builtins.property
|
|
1589
1589
|
@pulumi.getter
|
|
1590
1590
|
def status(self) -> Optional[Any]:
|
|
1591
1591
|
"""
|
|
@@ -1625,7 +1625,7 @@ class CustomResourceValidation(dict):
|
|
|
1625
1625
|
if open_apiv3_schema is not None:
|
|
1626
1626
|
pulumi.set(__self__, "open_apiv3_schema", open_apiv3_schema)
|
|
1627
1627
|
|
|
1628
|
-
@property
|
|
1628
|
+
@_builtins.property
|
|
1629
1629
|
@pulumi.getter(name="openAPIV3Schema")
|
|
1630
1630
|
def open_apiv3_schema(self) -> Optional['outputs.JSONSchemaProps']:
|
|
1631
1631
|
"""
|
|
@@ -1665,7 +1665,7 @@ class CustomResourceValidationPatch(dict):
|
|
|
1665
1665
|
if open_apiv3_schema is not None:
|
|
1666
1666
|
pulumi.set(__self__, "open_apiv3_schema", open_apiv3_schema)
|
|
1667
1667
|
|
|
1668
|
-
@property
|
|
1668
|
+
@_builtins.property
|
|
1669
1669
|
@pulumi.getter(name="openAPIV3Schema")
|
|
1670
1670
|
def open_apiv3_schema(self) -> Optional['outputs.JSONSchemaPropsPatch']:
|
|
1671
1671
|
"""
|
|
@@ -1680,8 +1680,8 @@ class ExternalDocumentation(dict):
|
|
|
1680
1680
|
ExternalDocumentation allows referencing an external resource for extended documentation.
|
|
1681
1681
|
"""
|
|
1682
1682
|
def __init__(__self__, *,
|
|
1683
|
-
description: Optional[str] = None,
|
|
1684
|
-
url: Optional[str] = None):
|
|
1683
|
+
description: Optional[_builtins.str] = None,
|
|
1684
|
+
url: Optional[_builtins.str] = None):
|
|
1685
1685
|
"""
|
|
1686
1686
|
ExternalDocumentation allows referencing an external resource for extended documentation.
|
|
1687
1687
|
"""
|
|
@@ -1690,14 +1690,14 @@ class ExternalDocumentation(dict):
|
|
|
1690
1690
|
if url is not None:
|
|
1691
1691
|
pulumi.set(__self__, "url", url)
|
|
1692
1692
|
|
|
1693
|
-
@property
|
|
1693
|
+
@_builtins.property
|
|
1694
1694
|
@pulumi.getter
|
|
1695
|
-
def description(self) -> Optional[str]:
|
|
1695
|
+
def description(self) -> Optional[_builtins.str]:
|
|
1696
1696
|
return pulumi.get(self, "description")
|
|
1697
1697
|
|
|
1698
|
-
@property
|
|
1698
|
+
@_builtins.property
|
|
1699
1699
|
@pulumi.getter
|
|
1700
|
-
def url(self) -> Optional[str]:
|
|
1700
|
+
def url(self) -> Optional[_builtins.str]:
|
|
1701
1701
|
return pulumi.get(self, "url")
|
|
1702
1702
|
|
|
1703
1703
|
|
|
@@ -1707,8 +1707,8 @@ class ExternalDocumentationPatch(dict):
|
|
|
1707
1707
|
ExternalDocumentation allows referencing an external resource for extended documentation.
|
|
1708
1708
|
"""
|
|
1709
1709
|
def __init__(__self__, *,
|
|
1710
|
-
description: Optional[str] = None,
|
|
1711
|
-
url: Optional[str] = None):
|
|
1710
|
+
description: Optional[_builtins.str] = None,
|
|
1711
|
+
url: Optional[_builtins.str] = None):
|
|
1712
1712
|
"""
|
|
1713
1713
|
ExternalDocumentation allows referencing an external resource for extended documentation.
|
|
1714
1714
|
"""
|
|
@@ -1717,14 +1717,14 @@ class ExternalDocumentationPatch(dict):
|
|
|
1717
1717
|
if url is not None:
|
|
1718
1718
|
pulumi.set(__self__, "url", url)
|
|
1719
1719
|
|
|
1720
|
-
@property
|
|
1720
|
+
@_builtins.property
|
|
1721
1721
|
@pulumi.getter
|
|
1722
|
-
def description(self) -> Optional[str]:
|
|
1722
|
+
def description(self) -> Optional[_builtins.str]:
|
|
1723
1723
|
return pulumi.get(self, "description")
|
|
1724
1724
|
|
|
1725
|
-
@property
|
|
1725
|
+
@_builtins.property
|
|
1726
1726
|
@pulumi.getter
|
|
1727
|
-
def url(self) -> Optional[str]:
|
|
1727
|
+
def url(self) -> Optional[_builtins.str]:
|
|
1728
1728
|
return pulumi.get(self, "url")
|
|
1729
1729
|
|
|
1730
1730
|
|
|
@@ -1789,8 +1789,8 @@ class JSONSchemaProps(dict):
|
|
|
1789
1789
|
return super().get(key, default)
|
|
1790
1790
|
|
|
1791
1791
|
def __init__(__self__, *,
|
|
1792
|
-
_ref: Optional[str] = None,
|
|
1793
|
-
_schema: Optional[str] = None,
|
|
1792
|
+
_ref: Optional[_builtins.str] = None,
|
|
1793
|
+
_schema: Optional[_builtins.str] = None,
|
|
1794
1794
|
additional_items: Optional[Any] = None,
|
|
1795
1795
|
additional_properties: Optional[Any] = None,
|
|
1796
1796
|
all_of: Optional[Sequence['outputs.JSONSchemaProps']] = None,
|
|
@@ -1798,49 +1798,49 @@ class JSONSchemaProps(dict):
|
|
|
1798
1798
|
default: Optional[Any] = None,
|
|
1799
1799
|
definitions: Optional[Mapping[str, 'outputs.JSONSchemaProps']] = None,
|
|
1800
1800
|
dependencies: Optional[Mapping[str, Any]] = None,
|
|
1801
|
-
description: Optional[str] = None,
|
|
1801
|
+
description: Optional[_builtins.str] = None,
|
|
1802
1802
|
enum: Optional[Sequence[Any]] = None,
|
|
1803
1803
|
example: Optional[Any] = None,
|
|
1804
|
-
exclusive_maximum: Optional[bool] = None,
|
|
1805
|
-
exclusive_minimum: Optional[bool] = None,
|
|
1804
|
+
exclusive_maximum: Optional[_builtins.bool] = None,
|
|
1805
|
+
exclusive_minimum: Optional[_builtins.bool] = None,
|
|
1806
1806
|
external_docs: Optional['outputs.ExternalDocumentation'] = None,
|
|
1807
|
-
format: Optional[str] = None,
|
|
1808
|
-
id: Optional[str] = None,
|
|
1807
|
+
format: Optional[_builtins.str] = None,
|
|
1808
|
+
id: Optional[_builtins.str] = None,
|
|
1809
1809
|
items: Optional[Any] = None,
|
|
1810
|
-
max_items: Optional[int] = None,
|
|
1811
|
-
max_length: Optional[int] = None,
|
|
1812
|
-
max_properties: Optional[int] = None,
|
|
1813
|
-
maximum: Optional[float] = None,
|
|
1814
|
-
min_items: Optional[int] = None,
|
|
1815
|
-
min_length: Optional[int] = None,
|
|
1816
|
-
min_properties: Optional[int] = None,
|
|
1817
|
-
minimum: Optional[float] = None,
|
|
1818
|
-
multiple_of: Optional[float] = None,
|
|
1810
|
+
max_items: Optional[_builtins.int] = None,
|
|
1811
|
+
max_length: Optional[_builtins.int] = None,
|
|
1812
|
+
max_properties: Optional[_builtins.int] = None,
|
|
1813
|
+
maximum: Optional[_builtins.float] = None,
|
|
1814
|
+
min_items: Optional[_builtins.int] = None,
|
|
1815
|
+
min_length: Optional[_builtins.int] = None,
|
|
1816
|
+
min_properties: Optional[_builtins.int] = None,
|
|
1817
|
+
minimum: Optional[_builtins.float] = None,
|
|
1818
|
+
multiple_of: Optional[_builtins.float] = None,
|
|
1819
1819
|
not_: Optional['outputs.JSONSchemaProps'] = None,
|
|
1820
|
-
nullable: Optional[bool] = None,
|
|
1820
|
+
nullable: Optional[_builtins.bool] = None,
|
|
1821
1821
|
one_of: Optional[Sequence['outputs.JSONSchemaProps']] = None,
|
|
1822
|
-
pattern: Optional[str] = None,
|
|
1822
|
+
pattern: Optional[_builtins.str] = None,
|
|
1823
1823
|
pattern_properties: Optional[Mapping[str, 'outputs.JSONSchemaProps']] = None,
|
|
1824
1824
|
properties: Optional[Mapping[str, 'outputs.JSONSchemaProps']] = None,
|
|
1825
|
-
required: Optional[Sequence[str]] = None,
|
|
1826
|
-
title: Optional[str] = None,
|
|
1827
|
-
type: Optional[str] = None,
|
|
1828
|
-
unique_items: Optional[bool] = None,
|
|
1829
|
-
x_kubernetes_embedded_resource: Optional[bool] = None,
|
|
1830
|
-
x_kubernetes_int_or_string: Optional[bool] = None,
|
|
1831
|
-
x_kubernetes_list_map_keys: Optional[Sequence[str]] = None,
|
|
1832
|
-
x_kubernetes_list_type: Optional[str] = None,
|
|
1833
|
-
x_kubernetes_map_type: Optional[str] = None,
|
|
1834
|
-
x_kubernetes_preserve_unknown_fields: Optional[bool] = None,
|
|
1825
|
+
required: Optional[Sequence[_builtins.str]] = None,
|
|
1826
|
+
title: Optional[_builtins.str] = None,
|
|
1827
|
+
type: Optional[_builtins.str] = None,
|
|
1828
|
+
unique_items: Optional[_builtins.bool] = None,
|
|
1829
|
+
x_kubernetes_embedded_resource: Optional[_builtins.bool] = None,
|
|
1830
|
+
x_kubernetes_int_or_string: Optional[_builtins.bool] = None,
|
|
1831
|
+
x_kubernetes_list_map_keys: Optional[Sequence[_builtins.str]] = None,
|
|
1832
|
+
x_kubernetes_list_type: Optional[_builtins.str] = None,
|
|
1833
|
+
x_kubernetes_map_type: Optional[_builtins.str] = None,
|
|
1834
|
+
x_kubernetes_preserve_unknown_fields: Optional[_builtins.bool] = None,
|
|
1835
1835
|
x_kubernetes_validations: Optional[Sequence['outputs.ValidationRule']] = None):
|
|
1836
1836
|
"""
|
|
1837
1837
|
JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).
|
|
1838
1838
|
:param Any default: default is a default value for undefined object fields. Defaulting is a beta feature under the CustomResourceDefaulting feature gate. Defaulting requires spec.preserveUnknownFields to be false.
|
|
1839
|
-
:param str format: format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:
|
|
1839
|
+
:param _builtins.str format: format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:
|
|
1840
1840
|
|
|
1841
|
-
- bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like "0321751043" or "978-0321751041" - isbn10: an ISBN10 number string like "0321751043" - isbn13: an ISBN13 number string like "978-0321751041" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35
|
|
1842
|
-
:param bool x_kubernetes_embedded_resource: x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata).
|
|
1843
|
-
:param bool x_kubernetes_int_or_string: x-kubernetes-int-or-string specifies that this value is either an integer or a string. If this is true, an empty type is allowed and type as child of anyOf is permitted if following one of the following patterns:
|
|
1841
|
+
- bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like "0321751043" or "978-0321751041" - isbn10: an ISBN10 number string like "0321751043" - isbn13: an ISBN13 number string like "978-0321751041" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\\\d{3})\\\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\\\d{3}[- ]?\\\\d{2}[- ]?\\\\d{4}$ - hexcolor: an hexadecimal color code like "#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like "rgb(255,255,2559" - byte: base64 encoded binary data - password: any kind of string - date: a date string like "2006-01-02" as defined by full-date in RFC3339 - duration: a duration string like "22 ns" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like "2014-12-15T19:30:20.000Z" as defined by date-time in RFC3339.
|
|
1842
|
+
:param _builtins.bool x_kubernetes_embedded_resource: x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata).
|
|
1843
|
+
:param _builtins.bool x_kubernetes_int_or_string: x-kubernetes-int-or-string specifies that this value is either an integer or a string. If this is true, an empty type is allowed and type as child of anyOf is permitted if following one of the following patterns:
|
|
1844
1844
|
|
|
1845
1845
|
1) anyOf:
|
|
1846
1846
|
- type: integer
|
|
@@ -1850,12 +1850,12 @@ class JSONSchemaProps(dict):
|
|
|
1850
1850
|
- type: integer
|
|
1851
1851
|
- type: string
|
|
1852
1852
|
- ... zero or more
|
|
1853
|
-
:param Sequence[str] x_kubernetes_list_map_keys: x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map.
|
|
1853
|
+
:param Sequence[_builtins.str] x_kubernetes_list_map_keys: x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map.
|
|
1854
1854
|
|
|
1855
1855
|
This tag MUST only be used on lists that have the "x-kubernetes-list-type" extension set to "map". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported).
|
|
1856
1856
|
|
|
1857
1857
|
The properties specified must either be required or have a default value, to ensure those properties are present for all list items.
|
|
1858
|
-
:param str x_kubernetes_list_type: x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values:
|
|
1858
|
+
:param _builtins.str x_kubernetes_list_type: x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values:
|
|
1859
1859
|
|
|
1860
1860
|
1) `atomic`: the list is treated as a single entity, like a scalar.
|
|
1861
1861
|
Atomic lists will be entirely replaced when updated. This extension
|
|
@@ -1869,7 +1869,7 @@ class JSONSchemaProps(dict):
|
|
|
1869
1869
|
used to identify them. Order is preserved upon merge. The map tag
|
|
1870
1870
|
must only be used on a list with elements of type object.
|
|
1871
1871
|
Defaults to atomic for arrays.
|
|
1872
|
-
:param str x_kubernetes_map_type: x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values:
|
|
1872
|
+
:param _builtins.str x_kubernetes_map_type: x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values:
|
|
1873
1873
|
|
|
1874
1874
|
1) `granular`:
|
|
1875
1875
|
These maps are actual maps (key-value pairs) and each fields are independent
|
|
@@ -1877,7 +1877,7 @@ class JSONSchemaProps(dict):
|
|
|
1877
1877
|
the default behaviour for all maps.
|
|
1878
1878
|
2) `atomic`: the list is treated as a single entity, like a scalar.
|
|
1879
1879
|
Atomic maps will be entirely replaced when updated.
|
|
1880
|
-
:param bool x_kubernetes_preserve_unknown_fields: x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden.
|
|
1880
|
+
:param _builtins.bool x_kubernetes_preserve_unknown_fields: x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden.
|
|
1881
1881
|
:param Sequence['ValidationRuleArgs'] x_kubernetes_validations: x-kubernetes-validations describes a list of validation rules written in the CEL expression language.
|
|
1882
1882
|
"""
|
|
1883
1883
|
if _ref is not None:
|
|
@@ -1969,37 +1969,37 @@ class JSONSchemaProps(dict):
|
|
|
1969
1969
|
if x_kubernetes_validations is not None:
|
|
1970
1970
|
pulumi.set(__self__, "x_kubernetes_validations", x_kubernetes_validations)
|
|
1971
1971
|
|
|
1972
|
-
@property
|
|
1972
|
+
@_builtins.property
|
|
1973
1973
|
@pulumi.getter(name="$ref")
|
|
1974
|
-
def _ref(self) -> Optional[str]:
|
|
1974
|
+
def _ref(self) -> Optional[_builtins.str]:
|
|
1975
1975
|
return pulumi.get(self, "_ref")
|
|
1976
1976
|
|
|
1977
|
-
@property
|
|
1977
|
+
@_builtins.property
|
|
1978
1978
|
@pulumi.getter(name="$schema")
|
|
1979
|
-
def _schema(self) -> Optional[str]:
|
|
1979
|
+
def _schema(self) -> Optional[_builtins.str]:
|
|
1980
1980
|
return pulumi.get(self, "_schema")
|
|
1981
1981
|
|
|
1982
|
-
@property
|
|
1982
|
+
@_builtins.property
|
|
1983
1983
|
@pulumi.getter(name="additionalItems")
|
|
1984
1984
|
def additional_items(self) -> Optional[Any]:
|
|
1985
1985
|
return pulumi.get(self, "additional_items")
|
|
1986
1986
|
|
|
1987
|
-
@property
|
|
1987
|
+
@_builtins.property
|
|
1988
1988
|
@pulumi.getter(name="additionalProperties")
|
|
1989
1989
|
def additional_properties(self) -> Optional[Any]:
|
|
1990
1990
|
return pulumi.get(self, "additional_properties")
|
|
1991
1991
|
|
|
1992
|
-
@property
|
|
1992
|
+
@_builtins.property
|
|
1993
1993
|
@pulumi.getter(name="allOf")
|
|
1994
1994
|
def all_of(self) -> Optional[Sequence['outputs.JSONSchemaProps']]:
|
|
1995
1995
|
return pulumi.get(self, "all_of")
|
|
1996
1996
|
|
|
1997
|
-
@property
|
|
1997
|
+
@_builtins.property
|
|
1998
1998
|
@pulumi.getter(name="anyOf")
|
|
1999
1999
|
def any_of(self) -> Optional[Sequence['outputs.JSONSchemaProps']]:
|
|
2000
2000
|
return pulumi.get(self, "any_of")
|
|
2001
2001
|
|
|
2002
|
-
@property
|
|
2002
|
+
@_builtins.property
|
|
2003
2003
|
@pulumi.getter
|
|
2004
2004
|
def default(self) -> Optional[Any]:
|
|
2005
2005
|
"""
|
|
@@ -2007,172 +2007,172 @@ class JSONSchemaProps(dict):
|
|
|
2007
2007
|
"""
|
|
2008
2008
|
return pulumi.get(self, "default")
|
|
2009
2009
|
|
|
2010
|
-
@property
|
|
2010
|
+
@_builtins.property
|
|
2011
2011
|
@pulumi.getter
|
|
2012
2012
|
def definitions(self) -> Optional[Mapping[str, 'outputs.JSONSchemaProps']]:
|
|
2013
2013
|
return pulumi.get(self, "definitions")
|
|
2014
2014
|
|
|
2015
|
-
@property
|
|
2015
|
+
@_builtins.property
|
|
2016
2016
|
@pulumi.getter
|
|
2017
2017
|
def dependencies(self) -> Optional[Mapping[str, Any]]:
|
|
2018
2018
|
return pulumi.get(self, "dependencies")
|
|
2019
2019
|
|
|
2020
|
-
@property
|
|
2020
|
+
@_builtins.property
|
|
2021
2021
|
@pulumi.getter
|
|
2022
|
-
def description(self) -> Optional[str]:
|
|
2022
|
+
def description(self) -> Optional[_builtins.str]:
|
|
2023
2023
|
return pulumi.get(self, "description")
|
|
2024
2024
|
|
|
2025
|
-
@property
|
|
2025
|
+
@_builtins.property
|
|
2026
2026
|
@pulumi.getter
|
|
2027
2027
|
def enum(self) -> Optional[Sequence[Any]]:
|
|
2028
2028
|
return pulumi.get(self, "enum")
|
|
2029
2029
|
|
|
2030
|
-
@property
|
|
2030
|
+
@_builtins.property
|
|
2031
2031
|
@pulumi.getter
|
|
2032
2032
|
def example(self) -> Optional[Any]:
|
|
2033
2033
|
return pulumi.get(self, "example")
|
|
2034
2034
|
|
|
2035
|
-
@property
|
|
2035
|
+
@_builtins.property
|
|
2036
2036
|
@pulumi.getter(name="exclusiveMaximum")
|
|
2037
|
-
def exclusive_maximum(self) -> Optional[bool]:
|
|
2037
|
+
def exclusive_maximum(self) -> Optional[_builtins.bool]:
|
|
2038
2038
|
return pulumi.get(self, "exclusive_maximum")
|
|
2039
2039
|
|
|
2040
|
-
@property
|
|
2040
|
+
@_builtins.property
|
|
2041
2041
|
@pulumi.getter(name="exclusiveMinimum")
|
|
2042
|
-
def exclusive_minimum(self) -> Optional[bool]:
|
|
2042
|
+
def exclusive_minimum(self) -> Optional[_builtins.bool]:
|
|
2043
2043
|
return pulumi.get(self, "exclusive_minimum")
|
|
2044
2044
|
|
|
2045
|
-
@property
|
|
2045
|
+
@_builtins.property
|
|
2046
2046
|
@pulumi.getter(name="externalDocs")
|
|
2047
2047
|
def external_docs(self) -> Optional['outputs.ExternalDocumentation']:
|
|
2048
2048
|
return pulumi.get(self, "external_docs")
|
|
2049
2049
|
|
|
2050
|
-
@property
|
|
2050
|
+
@_builtins.property
|
|
2051
2051
|
@pulumi.getter
|
|
2052
|
-
def format(self) -> Optional[str]:
|
|
2052
|
+
def format(self) -> Optional[_builtins.str]:
|
|
2053
2053
|
"""
|
|
2054
2054
|
format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:
|
|
2055
2055
|
|
|
2056
|
-
- bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like "0321751043" or "978-0321751041" - isbn10: an ISBN10 number string like "0321751043" - isbn13: an ISBN13 number string like "978-0321751041" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35
|
|
2056
|
+
- bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like "0321751043" or "978-0321751041" - isbn10: an ISBN10 number string like "0321751043" - isbn13: an ISBN13 number string like "978-0321751041" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\\\d{3})\\\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\\\d{3}[- ]?\\\\d{2}[- ]?\\\\d{4}$ - hexcolor: an hexadecimal color code like "#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like "rgb(255,255,2559" - byte: base64 encoded binary data - password: any kind of string - date: a date string like "2006-01-02" as defined by full-date in RFC3339 - duration: a duration string like "22 ns" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like "2014-12-15T19:30:20.000Z" as defined by date-time in RFC3339.
|
|
2057
2057
|
"""
|
|
2058
2058
|
return pulumi.get(self, "format")
|
|
2059
2059
|
|
|
2060
|
-
@property
|
|
2060
|
+
@_builtins.property
|
|
2061
2061
|
@pulumi.getter
|
|
2062
|
-
def id(self) -> Optional[str]:
|
|
2062
|
+
def id(self) -> Optional[_builtins.str]:
|
|
2063
2063
|
return pulumi.get(self, "id")
|
|
2064
2064
|
|
|
2065
|
-
@property
|
|
2065
|
+
@_builtins.property
|
|
2066
2066
|
@pulumi.getter
|
|
2067
2067
|
def items(self) -> Optional[Any]:
|
|
2068
2068
|
return pulumi.get(self, "items")
|
|
2069
2069
|
|
|
2070
|
-
@property
|
|
2070
|
+
@_builtins.property
|
|
2071
2071
|
@pulumi.getter(name="maxItems")
|
|
2072
|
-
def max_items(self) -> Optional[int]:
|
|
2072
|
+
def max_items(self) -> Optional[_builtins.int]:
|
|
2073
2073
|
return pulumi.get(self, "max_items")
|
|
2074
2074
|
|
|
2075
|
-
@property
|
|
2075
|
+
@_builtins.property
|
|
2076
2076
|
@pulumi.getter(name="maxLength")
|
|
2077
|
-
def max_length(self) -> Optional[int]:
|
|
2077
|
+
def max_length(self) -> Optional[_builtins.int]:
|
|
2078
2078
|
return pulumi.get(self, "max_length")
|
|
2079
2079
|
|
|
2080
|
-
@property
|
|
2080
|
+
@_builtins.property
|
|
2081
2081
|
@pulumi.getter(name="maxProperties")
|
|
2082
|
-
def max_properties(self) -> Optional[int]:
|
|
2082
|
+
def max_properties(self) -> Optional[_builtins.int]:
|
|
2083
2083
|
return pulumi.get(self, "max_properties")
|
|
2084
2084
|
|
|
2085
|
-
@property
|
|
2085
|
+
@_builtins.property
|
|
2086
2086
|
@pulumi.getter
|
|
2087
|
-
def maximum(self) -> Optional[float]:
|
|
2087
|
+
def maximum(self) -> Optional[_builtins.float]:
|
|
2088
2088
|
return pulumi.get(self, "maximum")
|
|
2089
2089
|
|
|
2090
|
-
@property
|
|
2090
|
+
@_builtins.property
|
|
2091
2091
|
@pulumi.getter(name="minItems")
|
|
2092
|
-
def min_items(self) -> Optional[int]:
|
|
2092
|
+
def min_items(self) -> Optional[_builtins.int]:
|
|
2093
2093
|
return pulumi.get(self, "min_items")
|
|
2094
2094
|
|
|
2095
|
-
@property
|
|
2095
|
+
@_builtins.property
|
|
2096
2096
|
@pulumi.getter(name="minLength")
|
|
2097
|
-
def min_length(self) -> Optional[int]:
|
|
2097
|
+
def min_length(self) -> Optional[_builtins.int]:
|
|
2098
2098
|
return pulumi.get(self, "min_length")
|
|
2099
2099
|
|
|
2100
|
-
@property
|
|
2100
|
+
@_builtins.property
|
|
2101
2101
|
@pulumi.getter(name="minProperties")
|
|
2102
|
-
def min_properties(self) -> Optional[int]:
|
|
2102
|
+
def min_properties(self) -> Optional[_builtins.int]:
|
|
2103
2103
|
return pulumi.get(self, "min_properties")
|
|
2104
2104
|
|
|
2105
|
-
@property
|
|
2105
|
+
@_builtins.property
|
|
2106
2106
|
@pulumi.getter
|
|
2107
|
-
def minimum(self) -> Optional[float]:
|
|
2107
|
+
def minimum(self) -> Optional[_builtins.float]:
|
|
2108
2108
|
return pulumi.get(self, "minimum")
|
|
2109
2109
|
|
|
2110
|
-
@property
|
|
2110
|
+
@_builtins.property
|
|
2111
2111
|
@pulumi.getter(name="multipleOf")
|
|
2112
|
-
def multiple_of(self) -> Optional[float]:
|
|
2112
|
+
def multiple_of(self) -> Optional[_builtins.float]:
|
|
2113
2113
|
return pulumi.get(self, "multiple_of")
|
|
2114
2114
|
|
|
2115
|
-
@property
|
|
2115
|
+
@_builtins.property
|
|
2116
2116
|
@pulumi.getter(name="not")
|
|
2117
2117
|
def not_(self) -> Optional['outputs.JSONSchemaProps']:
|
|
2118
2118
|
return pulumi.get(self, "not_")
|
|
2119
2119
|
|
|
2120
|
-
@property
|
|
2120
|
+
@_builtins.property
|
|
2121
2121
|
@pulumi.getter
|
|
2122
|
-
def nullable(self) -> Optional[bool]:
|
|
2122
|
+
def nullable(self) -> Optional[_builtins.bool]:
|
|
2123
2123
|
return pulumi.get(self, "nullable")
|
|
2124
2124
|
|
|
2125
|
-
@property
|
|
2125
|
+
@_builtins.property
|
|
2126
2126
|
@pulumi.getter(name="oneOf")
|
|
2127
2127
|
def one_of(self) -> Optional[Sequence['outputs.JSONSchemaProps']]:
|
|
2128
2128
|
return pulumi.get(self, "one_of")
|
|
2129
2129
|
|
|
2130
|
-
@property
|
|
2130
|
+
@_builtins.property
|
|
2131
2131
|
@pulumi.getter
|
|
2132
|
-
def pattern(self) -> Optional[str]:
|
|
2132
|
+
def pattern(self) -> Optional[_builtins.str]:
|
|
2133
2133
|
return pulumi.get(self, "pattern")
|
|
2134
2134
|
|
|
2135
|
-
@property
|
|
2135
|
+
@_builtins.property
|
|
2136
2136
|
@pulumi.getter(name="patternProperties")
|
|
2137
2137
|
def pattern_properties(self) -> Optional[Mapping[str, 'outputs.JSONSchemaProps']]:
|
|
2138
2138
|
return pulumi.get(self, "pattern_properties")
|
|
2139
2139
|
|
|
2140
|
-
@property
|
|
2140
|
+
@_builtins.property
|
|
2141
2141
|
@pulumi.getter
|
|
2142
2142
|
def properties(self) -> Optional[Mapping[str, 'outputs.JSONSchemaProps']]:
|
|
2143
2143
|
return pulumi.get(self, "properties")
|
|
2144
2144
|
|
|
2145
|
-
@property
|
|
2145
|
+
@_builtins.property
|
|
2146
2146
|
@pulumi.getter
|
|
2147
|
-
def required(self) -> Optional[Sequence[str]]:
|
|
2147
|
+
def required(self) -> Optional[Sequence[_builtins.str]]:
|
|
2148
2148
|
return pulumi.get(self, "required")
|
|
2149
2149
|
|
|
2150
|
-
@property
|
|
2150
|
+
@_builtins.property
|
|
2151
2151
|
@pulumi.getter
|
|
2152
|
-
def title(self) -> Optional[str]:
|
|
2152
|
+
def title(self) -> Optional[_builtins.str]:
|
|
2153
2153
|
return pulumi.get(self, "title")
|
|
2154
2154
|
|
|
2155
|
-
@property
|
|
2155
|
+
@_builtins.property
|
|
2156
2156
|
@pulumi.getter
|
|
2157
|
-
def type(self) -> Optional[str]:
|
|
2157
|
+
def type(self) -> Optional[_builtins.str]:
|
|
2158
2158
|
return pulumi.get(self, "type")
|
|
2159
2159
|
|
|
2160
|
-
@property
|
|
2160
|
+
@_builtins.property
|
|
2161
2161
|
@pulumi.getter(name="uniqueItems")
|
|
2162
|
-
def unique_items(self) -> Optional[bool]:
|
|
2162
|
+
def unique_items(self) -> Optional[_builtins.bool]:
|
|
2163
2163
|
return pulumi.get(self, "unique_items")
|
|
2164
2164
|
|
|
2165
|
-
@property
|
|
2165
|
+
@_builtins.property
|
|
2166
2166
|
@pulumi.getter
|
|
2167
|
-
def x_kubernetes_embedded_resource(self) -> Optional[bool]:
|
|
2167
|
+
def x_kubernetes_embedded_resource(self) -> Optional[_builtins.bool]:
|
|
2168
2168
|
"""
|
|
2169
2169
|
x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata).
|
|
2170
2170
|
"""
|
|
2171
2171
|
return pulumi.get(self, "x_kubernetes_embedded_resource")
|
|
2172
2172
|
|
|
2173
|
-
@property
|
|
2173
|
+
@_builtins.property
|
|
2174
2174
|
@pulumi.getter
|
|
2175
|
-
def x_kubernetes_int_or_string(self) -> Optional[bool]:
|
|
2175
|
+
def x_kubernetes_int_or_string(self) -> Optional[_builtins.bool]:
|
|
2176
2176
|
"""
|
|
2177
2177
|
x-kubernetes-int-or-string specifies that this value is either an integer or a string. If this is true, an empty type is allowed and type as child of anyOf is permitted if following one of the following patterns:
|
|
2178
2178
|
|
|
@@ -2187,9 +2187,9 @@ class JSONSchemaProps(dict):
|
|
|
2187
2187
|
"""
|
|
2188
2188
|
return pulumi.get(self, "x_kubernetes_int_or_string")
|
|
2189
2189
|
|
|
2190
|
-
@property
|
|
2190
|
+
@_builtins.property
|
|
2191
2191
|
@pulumi.getter
|
|
2192
|
-
def x_kubernetes_list_map_keys(self) -> Optional[Sequence[str]]:
|
|
2192
|
+
def x_kubernetes_list_map_keys(self) -> Optional[Sequence[_builtins.str]]:
|
|
2193
2193
|
"""
|
|
2194
2194
|
x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map.
|
|
2195
2195
|
|
|
@@ -2199,9 +2199,9 @@ class JSONSchemaProps(dict):
|
|
|
2199
2199
|
"""
|
|
2200
2200
|
return pulumi.get(self, "x_kubernetes_list_map_keys")
|
|
2201
2201
|
|
|
2202
|
-
@property
|
|
2202
|
+
@_builtins.property
|
|
2203
2203
|
@pulumi.getter
|
|
2204
|
-
def x_kubernetes_list_type(self) -> Optional[str]:
|
|
2204
|
+
def x_kubernetes_list_type(self) -> Optional[_builtins.str]:
|
|
2205
2205
|
"""
|
|
2206
2206
|
x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values:
|
|
2207
2207
|
|
|
@@ -2220,9 +2220,9 @@ class JSONSchemaProps(dict):
|
|
|
2220
2220
|
"""
|
|
2221
2221
|
return pulumi.get(self, "x_kubernetes_list_type")
|
|
2222
2222
|
|
|
2223
|
-
@property
|
|
2223
|
+
@_builtins.property
|
|
2224
2224
|
@pulumi.getter
|
|
2225
|
-
def x_kubernetes_map_type(self) -> Optional[str]:
|
|
2225
|
+
def x_kubernetes_map_type(self) -> Optional[_builtins.str]:
|
|
2226
2226
|
"""
|
|
2227
2227
|
x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values:
|
|
2228
2228
|
|
|
@@ -2235,15 +2235,15 @@ class JSONSchemaProps(dict):
|
|
|
2235
2235
|
"""
|
|
2236
2236
|
return pulumi.get(self, "x_kubernetes_map_type")
|
|
2237
2237
|
|
|
2238
|
-
@property
|
|
2238
|
+
@_builtins.property
|
|
2239
2239
|
@pulumi.getter
|
|
2240
|
-
def x_kubernetes_preserve_unknown_fields(self) -> Optional[bool]:
|
|
2240
|
+
def x_kubernetes_preserve_unknown_fields(self) -> Optional[_builtins.bool]:
|
|
2241
2241
|
"""
|
|
2242
2242
|
x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden.
|
|
2243
2243
|
"""
|
|
2244
2244
|
return pulumi.get(self, "x_kubernetes_preserve_unknown_fields")
|
|
2245
2245
|
|
|
2246
|
-
@property
|
|
2246
|
+
@_builtins.property
|
|
2247
2247
|
@pulumi.getter
|
|
2248
2248
|
def x_kubernetes_validations(self) -> Optional[Sequence['outputs.ValidationRule']]:
|
|
2249
2249
|
"""
|
|
@@ -2313,8 +2313,8 @@ class JSONSchemaPropsPatch(dict):
|
|
|
2313
2313
|
return super().get(key, default)
|
|
2314
2314
|
|
|
2315
2315
|
def __init__(__self__, *,
|
|
2316
|
-
_ref: Optional[str] = None,
|
|
2317
|
-
_schema: Optional[str] = None,
|
|
2316
|
+
_ref: Optional[_builtins.str] = None,
|
|
2317
|
+
_schema: Optional[_builtins.str] = None,
|
|
2318
2318
|
additional_items: Optional[Any] = None,
|
|
2319
2319
|
additional_properties: Optional[Any] = None,
|
|
2320
2320
|
all_of: Optional[Sequence['outputs.JSONSchemaPropsPatch']] = None,
|
|
@@ -2322,49 +2322,49 @@ class JSONSchemaPropsPatch(dict):
|
|
|
2322
2322
|
default: Optional[Any] = None,
|
|
2323
2323
|
definitions: Optional[Mapping[str, 'outputs.JSONSchemaProps']] = None,
|
|
2324
2324
|
dependencies: Optional[Mapping[str, Any]] = None,
|
|
2325
|
-
description: Optional[str] = None,
|
|
2325
|
+
description: Optional[_builtins.str] = None,
|
|
2326
2326
|
enum: Optional[Sequence[Any]] = None,
|
|
2327
2327
|
example: Optional[Any] = None,
|
|
2328
|
-
exclusive_maximum: Optional[bool] = None,
|
|
2329
|
-
exclusive_minimum: Optional[bool] = None,
|
|
2328
|
+
exclusive_maximum: Optional[_builtins.bool] = None,
|
|
2329
|
+
exclusive_minimum: Optional[_builtins.bool] = None,
|
|
2330
2330
|
external_docs: Optional['outputs.ExternalDocumentationPatch'] = None,
|
|
2331
|
-
format: Optional[str] = None,
|
|
2332
|
-
id: Optional[str] = None,
|
|
2331
|
+
format: Optional[_builtins.str] = None,
|
|
2332
|
+
id: Optional[_builtins.str] = None,
|
|
2333
2333
|
items: Optional[Any] = None,
|
|
2334
|
-
max_items: Optional[int] = None,
|
|
2335
|
-
max_length: Optional[int] = None,
|
|
2336
|
-
max_properties: Optional[int] = None,
|
|
2337
|
-
maximum: Optional[float] = None,
|
|
2338
|
-
min_items: Optional[int] = None,
|
|
2339
|
-
min_length: Optional[int] = None,
|
|
2340
|
-
min_properties: Optional[int] = None,
|
|
2341
|
-
minimum: Optional[float] = None,
|
|
2342
|
-
multiple_of: Optional[float] = None,
|
|
2334
|
+
max_items: Optional[_builtins.int] = None,
|
|
2335
|
+
max_length: Optional[_builtins.int] = None,
|
|
2336
|
+
max_properties: Optional[_builtins.int] = None,
|
|
2337
|
+
maximum: Optional[_builtins.float] = None,
|
|
2338
|
+
min_items: Optional[_builtins.int] = None,
|
|
2339
|
+
min_length: Optional[_builtins.int] = None,
|
|
2340
|
+
min_properties: Optional[_builtins.int] = None,
|
|
2341
|
+
minimum: Optional[_builtins.float] = None,
|
|
2342
|
+
multiple_of: Optional[_builtins.float] = None,
|
|
2343
2343
|
not_: Optional['outputs.JSONSchemaPropsPatch'] = None,
|
|
2344
|
-
nullable: Optional[bool] = None,
|
|
2344
|
+
nullable: Optional[_builtins.bool] = None,
|
|
2345
2345
|
one_of: Optional[Sequence['outputs.JSONSchemaPropsPatch']] = None,
|
|
2346
|
-
pattern: Optional[str] = None,
|
|
2346
|
+
pattern: Optional[_builtins.str] = None,
|
|
2347
2347
|
pattern_properties: Optional[Mapping[str, 'outputs.JSONSchemaProps']] = None,
|
|
2348
2348
|
properties: Optional[Mapping[str, 'outputs.JSONSchemaProps']] = None,
|
|
2349
|
-
required: Optional[Sequence[str]] = None,
|
|
2350
|
-
title: Optional[str] = None,
|
|
2351
|
-
type: Optional[str] = None,
|
|
2352
|
-
unique_items: Optional[bool] = None,
|
|
2353
|
-
x_kubernetes_embedded_resource: Optional[bool] = None,
|
|
2354
|
-
x_kubernetes_int_or_string: Optional[bool] = None,
|
|
2355
|
-
x_kubernetes_list_map_keys: Optional[Sequence[str]] = None,
|
|
2356
|
-
x_kubernetes_list_type: Optional[str] = None,
|
|
2357
|
-
x_kubernetes_map_type: Optional[str] = None,
|
|
2358
|
-
x_kubernetes_preserve_unknown_fields: Optional[bool] = None,
|
|
2349
|
+
required: Optional[Sequence[_builtins.str]] = None,
|
|
2350
|
+
title: Optional[_builtins.str] = None,
|
|
2351
|
+
type: Optional[_builtins.str] = None,
|
|
2352
|
+
unique_items: Optional[_builtins.bool] = None,
|
|
2353
|
+
x_kubernetes_embedded_resource: Optional[_builtins.bool] = None,
|
|
2354
|
+
x_kubernetes_int_or_string: Optional[_builtins.bool] = None,
|
|
2355
|
+
x_kubernetes_list_map_keys: Optional[Sequence[_builtins.str]] = None,
|
|
2356
|
+
x_kubernetes_list_type: Optional[_builtins.str] = None,
|
|
2357
|
+
x_kubernetes_map_type: Optional[_builtins.str] = None,
|
|
2358
|
+
x_kubernetes_preserve_unknown_fields: Optional[_builtins.bool] = None,
|
|
2359
2359
|
x_kubernetes_validations: Optional[Sequence['outputs.ValidationRulePatch']] = None):
|
|
2360
2360
|
"""
|
|
2361
2361
|
JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).
|
|
2362
2362
|
:param Any default: default is a default value for undefined object fields. Defaulting is a beta feature under the CustomResourceDefaulting feature gate. Defaulting requires spec.preserveUnknownFields to be false.
|
|
2363
|
-
:param str format: format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:
|
|
2363
|
+
:param _builtins.str format: format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:
|
|
2364
2364
|
|
|
2365
|
-
- bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like "0321751043" or "978-0321751041" - isbn10: an ISBN10 number string like "0321751043" - isbn13: an ISBN13 number string like "978-0321751041" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35
|
|
2366
|
-
:param bool x_kubernetes_embedded_resource: x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata).
|
|
2367
|
-
:param bool x_kubernetes_int_or_string: x-kubernetes-int-or-string specifies that this value is either an integer or a string. If this is true, an empty type is allowed and type as child of anyOf is permitted if following one of the following patterns:
|
|
2365
|
+
- bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like "0321751043" or "978-0321751041" - isbn10: an ISBN10 number string like "0321751043" - isbn13: an ISBN13 number string like "978-0321751041" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\\\d{3})\\\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\\\d{3}[- ]?\\\\d{2}[- ]?\\\\d{4}$ - hexcolor: an hexadecimal color code like "#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like "rgb(255,255,2559" - byte: base64 encoded binary data - password: any kind of string - date: a date string like "2006-01-02" as defined by full-date in RFC3339 - duration: a duration string like "22 ns" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like "2014-12-15T19:30:20.000Z" as defined by date-time in RFC3339.
|
|
2366
|
+
:param _builtins.bool x_kubernetes_embedded_resource: x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata).
|
|
2367
|
+
:param _builtins.bool x_kubernetes_int_or_string: x-kubernetes-int-or-string specifies that this value is either an integer or a string. If this is true, an empty type is allowed and type as child of anyOf is permitted if following one of the following patterns:
|
|
2368
2368
|
|
|
2369
2369
|
1) anyOf:
|
|
2370
2370
|
- type: integer
|
|
@@ -2374,12 +2374,12 @@ class JSONSchemaPropsPatch(dict):
|
|
|
2374
2374
|
- type: integer
|
|
2375
2375
|
- type: string
|
|
2376
2376
|
- ... zero or more
|
|
2377
|
-
:param Sequence[str] x_kubernetes_list_map_keys: x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map.
|
|
2377
|
+
:param Sequence[_builtins.str] x_kubernetes_list_map_keys: x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map.
|
|
2378
2378
|
|
|
2379
2379
|
This tag MUST only be used on lists that have the "x-kubernetes-list-type" extension set to "map". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported).
|
|
2380
2380
|
|
|
2381
2381
|
The properties specified must either be required or have a default value, to ensure those properties are present for all list items.
|
|
2382
|
-
:param str x_kubernetes_list_type: x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values:
|
|
2382
|
+
:param _builtins.str x_kubernetes_list_type: x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values:
|
|
2383
2383
|
|
|
2384
2384
|
1) `atomic`: the list is treated as a single entity, like a scalar.
|
|
2385
2385
|
Atomic lists will be entirely replaced when updated. This extension
|
|
@@ -2393,7 +2393,7 @@ class JSONSchemaPropsPatch(dict):
|
|
|
2393
2393
|
used to identify them. Order is preserved upon merge. The map tag
|
|
2394
2394
|
must only be used on a list with elements of type object.
|
|
2395
2395
|
Defaults to atomic for arrays.
|
|
2396
|
-
:param str x_kubernetes_map_type: x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values:
|
|
2396
|
+
:param _builtins.str x_kubernetes_map_type: x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values:
|
|
2397
2397
|
|
|
2398
2398
|
1) `granular`:
|
|
2399
2399
|
These maps are actual maps (key-value pairs) and each fields are independent
|
|
@@ -2401,7 +2401,7 @@ class JSONSchemaPropsPatch(dict):
|
|
|
2401
2401
|
the default behaviour for all maps.
|
|
2402
2402
|
2) `atomic`: the list is treated as a single entity, like a scalar.
|
|
2403
2403
|
Atomic maps will be entirely replaced when updated.
|
|
2404
|
-
:param bool x_kubernetes_preserve_unknown_fields: x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden.
|
|
2404
|
+
:param _builtins.bool x_kubernetes_preserve_unknown_fields: x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden.
|
|
2405
2405
|
:param Sequence['ValidationRulePatchArgs'] x_kubernetes_validations: x-kubernetes-validations describes a list of validation rules written in the CEL expression language.
|
|
2406
2406
|
"""
|
|
2407
2407
|
if _ref is not None:
|
|
@@ -2493,37 +2493,37 @@ class JSONSchemaPropsPatch(dict):
|
|
|
2493
2493
|
if x_kubernetes_validations is not None:
|
|
2494
2494
|
pulumi.set(__self__, "x_kubernetes_validations", x_kubernetes_validations)
|
|
2495
2495
|
|
|
2496
|
-
@property
|
|
2496
|
+
@_builtins.property
|
|
2497
2497
|
@pulumi.getter(name="$ref")
|
|
2498
|
-
def _ref(self) -> Optional[str]:
|
|
2498
|
+
def _ref(self) -> Optional[_builtins.str]:
|
|
2499
2499
|
return pulumi.get(self, "_ref")
|
|
2500
2500
|
|
|
2501
|
-
@property
|
|
2501
|
+
@_builtins.property
|
|
2502
2502
|
@pulumi.getter(name="$schema")
|
|
2503
|
-
def _schema(self) -> Optional[str]:
|
|
2503
|
+
def _schema(self) -> Optional[_builtins.str]:
|
|
2504
2504
|
return pulumi.get(self, "_schema")
|
|
2505
2505
|
|
|
2506
|
-
@property
|
|
2506
|
+
@_builtins.property
|
|
2507
2507
|
@pulumi.getter(name="additionalItems")
|
|
2508
2508
|
def additional_items(self) -> Optional[Any]:
|
|
2509
2509
|
return pulumi.get(self, "additional_items")
|
|
2510
2510
|
|
|
2511
|
-
@property
|
|
2511
|
+
@_builtins.property
|
|
2512
2512
|
@pulumi.getter(name="additionalProperties")
|
|
2513
2513
|
def additional_properties(self) -> Optional[Any]:
|
|
2514
2514
|
return pulumi.get(self, "additional_properties")
|
|
2515
2515
|
|
|
2516
|
-
@property
|
|
2516
|
+
@_builtins.property
|
|
2517
2517
|
@pulumi.getter(name="allOf")
|
|
2518
2518
|
def all_of(self) -> Optional[Sequence['outputs.JSONSchemaPropsPatch']]:
|
|
2519
2519
|
return pulumi.get(self, "all_of")
|
|
2520
2520
|
|
|
2521
|
-
@property
|
|
2521
|
+
@_builtins.property
|
|
2522
2522
|
@pulumi.getter(name="anyOf")
|
|
2523
2523
|
def any_of(self) -> Optional[Sequence['outputs.JSONSchemaPropsPatch']]:
|
|
2524
2524
|
return pulumi.get(self, "any_of")
|
|
2525
2525
|
|
|
2526
|
-
@property
|
|
2526
|
+
@_builtins.property
|
|
2527
2527
|
@pulumi.getter
|
|
2528
2528
|
def default(self) -> Optional[Any]:
|
|
2529
2529
|
"""
|
|
@@ -2531,172 +2531,172 @@ class JSONSchemaPropsPatch(dict):
|
|
|
2531
2531
|
"""
|
|
2532
2532
|
return pulumi.get(self, "default")
|
|
2533
2533
|
|
|
2534
|
-
@property
|
|
2534
|
+
@_builtins.property
|
|
2535
2535
|
@pulumi.getter
|
|
2536
2536
|
def definitions(self) -> Optional[Mapping[str, 'outputs.JSONSchemaProps']]:
|
|
2537
2537
|
return pulumi.get(self, "definitions")
|
|
2538
2538
|
|
|
2539
|
-
@property
|
|
2539
|
+
@_builtins.property
|
|
2540
2540
|
@pulumi.getter
|
|
2541
2541
|
def dependencies(self) -> Optional[Mapping[str, Any]]:
|
|
2542
2542
|
return pulumi.get(self, "dependencies")
|
|
2543
2543
|
|
|
2544
|
-
@property
|
|
2544
|
+
@_builtins.property
|
|
2545
2545
|
@pulumi.getter
|
|
2546
|
-
def description(self) -> Optional[str]:
|
|
2546
|
+
def description(self) -> Optional[_builtins.str]:
|
|
2547
2547
|
return pulumi.get(self, "description")
|
|
2548
2548
|
|
|
2549
|
-
@property
|
|
2549
|
+
@_builtins.property
|
|
2550
2550
|
@pulumi.getter
|
|
2551
2551
|
def enum(self) -> Optional[Sequence[Any]]:
|
|
2552
2552
|
return pulumi.get(self, "enum")
|
|
2553
2553
|
|
|
2554
|
-
@property
|
|
2554
|
+
@_builtins.property
|
|
2555
2555
|
@pulumi.getter
|
|
2556
2556
|
def example(self) -> Optional[Any]:
|
|
2557
2557
|
return pulumi.get(self, "example")
|
|
2558
2558
|
|
|
2559
|
-
@property
|
|
2559
|
+
@_builtins.property
|
|
2560
2560
|
@pulumi.getter(name="exclusiveMaximum")
|
|
2561
|
-
def exclusive_maximum(self) -> Optional[bool]:
|
|
2561
|
+
def exclusive_maximum(self) -> Optional[_builtins.bool]:
|
|
2562
2562
|
return pulumi.get(self, "exclusive_maximum")
|
|
2563
2563
|
|
|
2564
|
-
@property
|
|
2564
|
+
@_builtins.property
|
|
2565
2565
|
@pulumi.getter(name="exclusiveMinimum")
|
|
2566
|
-
def exclusive_minimum(self) -> Optional[bool]:
|
|
2566
|
+
def exclusive_minimum(self) -> Optional[_builtins.bool]:
|
|
2567
2567
|
return pulumi.get(self, "exclusive_minimum")
|
|
2568
2568
|
|
|
2569
|
-
@property
|
|
2569
|
+
@_builtins.property
|
|
2570
2570
|
@pulumi.getter(name="externalDocs")
|
|
2571
2571
|
def external_docs(self) -> Optional['outputs.ExternalDocumentationPatch']:
|
|
2572
2572
|
return pulumi.get(self, "external_docs")
|
|
2573
2573
|
|
|
2574
|
-
@property
|
|
2574
|
+
@_builtins.property
|
|
2575
2575
|
@pulumi.getter
|
|
2576
|
-
def format(self) -> Optional[str]:
|
|
2576
|
+
def format(self) -> Optional[_builtins.str]:
|
|
2577
2577
|
"""
|
|
2578
2578
|
format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:
|
|
2579
2579
|
|
|
2580
|
-
- bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like "0321751043" or "978-0321751041" - isbn10: an ISBN10 number string like "0321751043" - isbn13: an ISBN13 number string like "978-0321751041" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35
|
|
2580
|
+
- bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like "0321751043" or "978-0321751041" - isbn10: an ISBN10 number string like "0321751043" - isbn13: an ISBN13 number string like "978-0321751041" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\\\d{3})\\\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\\\d{3}[- ]?\\\\d{2}[- ]?\\\\d{4}$ - hexcolor: an hexadecimal color code like "#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like "rgb(255,255,2559" - byte: base64 encoded binary data - password: any kind of string - date: a date string like "2006-01-02" as defined by full-date in RFC3339 - duration: a duration string like "22 ns" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like "2014-12-15T19:30:20.000Z" as defined by date-time in RFC3339.
|
|
2581
2581
|
"""
|
|
2582
2582
|
return pulumi.get(self, "format")
|
|
2583
2583
|
|
|
2584
|
-
@property
|
|
2584
|
+
@_builtins.property
|
|
2585
2585
|
@pulumi.getter
|
|
2586
|
-
def id(self) -> Optional[str]:
|
|
2586
|
+
def id(self) -> Optional[_builtins.str]:
|
|
2587
2587
|
return pulumi.get(self, "id")
|
|
2588
2588
|
|
|
2589
|
-
@property
|
|
2589
|
+
@_builtins.property
|
|
2590
2590
|
@pulumi.getter
|
|
2591
2591
|
def items(self) -> Optional[Any]:
|
|
2592
2592
|
return pulumi.get(self, "items")
|
|
2593
2593
|
|
|
2594
|
-
@property
|
|
2594
|
+
@_builtins.property
|
|
2595
2595
|
@pulumi.getter(name="maxItems")
|
|
2596
|
-
def max_items(self) -> Optional[int]:
|
|
2596
|
+
def max_items(self) -> Optional[_builtins.int]:
|
|
2597
2597
|
return pulumi.get(self, "max_items")
|
|
2598
2598
|
|
|
2599
|
-
@property
|
|
2599
|
+
@_builtins.property
|
|
2600
2600
|
@pulumi.getter(name="maxLength")
|
|
2601
|
-
def max_length(self) -> Optional[int]:
|
|
2601
|
+
def max_length(self) -> Optional[_builtins.int]:
|
|
2602
2602
|
return pulumi.get(self, "max_length")
|
|
2603
2603
|
|
|
2604
|
-
@property
|
|
2604
|
+
@_builtins.property
|
|
2605
2605
|
@pulumi.getter(name="maxProperties")
|
|
2606
|
-
def max_properties(self) -> Optional[int]:
|
|
2606
|
+
def max_properties(self) -> Optional[_builtins.int]:
|
|
2607
2607
|
return pulumi.get(self, "max_properties")
|
|
2608
2608
|
|
|
2609
|
-
@property
|
|
2609
|
+
@_builtins.property
|
|
2610
2610
|
@pulumi.getter
|
|
2611
|
-
def maximum(self) -> Optional[float]:
|
|
2611
|
+
def maximum(self) -> Optional[_builtins.float]:
|
|
2612
2612
|
return pulumi.get(self, "maximum")
|
|
2613
2613
|
|
|
2614
|
-
@property
|
|
2614
|
+
@_builtins.property
|
|
2615
2615
|
@pulumi.getter(name="minItems")
|
|
2616
|
-
def min_items(self) -> Optional[int]:
|
|
2616
|
+
def min_items(self) -> Optional[_builtins.int]:
|
|
2617
2617
|
return pulumi.get(self, "min_items")
|
|
2618
2618
|
|
|
2619
|
-
@property
|
|
2619
|
+
@_builtins.property
|
|
2620
2620
|
@pulumi.getter(name="minLength")
|
|
2621
|
-
def min_length(self) -> Optional[int]:
|
|
2621
|
+
def min_length(self) -> Optional[_builtins.int]:
|
|
2622
2622
|
return pulumi.get(self, "min_length")
|
|
2623
2623
|
|
|
2624
|
-
@property
|
|
2624
|
+
@_builtins.property
|
|
2625
2625
|
@pulumi.getter(name="minProperties")
|
|
2626
|
-
def min_properties(self) -> Optional[int]:
|
|
2626
|
+
def min_properties(self) -> Optional[_builtins.int]:
|
|
2627
2627
|
return pulumi.get(self, "min_properties")
|
|
2628
2628
|
|
|
2629
|
-
@property
|
|
2629
|
+
@_builtins.property
|
|
2630
2630
|
@pulumi.getter
|
|
2631
|
-
def minimum(self) -> Optional[float]:
|
|
2631
|
+
def minimum(self) -> Optional[_builtins.float]:
|
|
2632
2632
|
return pulumi.get(self, "minimum")
|
|
2633
2633
|
|
|
2634
|
-
@property
|
|
2634
|
+
@_builtins.property
|
|
2635
2635
|
@pulumi.getter(name="multipleOf")
|
|
2636
|
-
def multiple_of(self) -> Optional[float]:
|
|
2636
|
+
def multiple_of(self) -> Optional[_builtins.float]:
|
|
2637
2637
|
return pulumi.get(self, "multiple_of")
|
|
2638
2638
|
|
|
2639
|
-
@property
|
|
2639
|
+
@_builtins.property
|
|
2640
2640
|
@pulumi.getter(name="not")
|
|
2641
2641
|
def not_(self) -> Optional['outputs.JSONSchemaPropsPatch']:
|
|
2642
2642
|
return pulumi.get(self, "not_")
|
|
2643
2643
|
|
|
2644
|
-
@property
|
|
2644
|
+
@_builtins.property
|
|
2645
2645
|
@pulumi.getter
|
|
2646
|
-
def nullable(self) -> Optional[bool]:
|
|
2646
|
+
def nullable(self) -> Optional[_builtins.bool]:
|
|
2647
2647
|
return pulumi.get(self, "nullable")
|
|
2648
2648
|
|
|
2649
|
-
@property
|
|
2649
|
+
@_builtins.property
|
|
2650
2650
|
@pulumi.getter(name="oneOf")
|
|
2651
2651
|
def one_of(self) -> Optional[Sequence['outputs.JSONSchemaPropsPatch']]:
|
|
2652
2652
|
return pulumi.get(self, "one_of")
|
|
2653
2653
|
|
|
2654
|
-
@property
|
|
2654
|
+
@_builtins.property
|
|
2655
2655
|
@pulumi.getter
|
|
2656
|
-
def pattern(self) -> Optional[str]:
|
|
2656
|
+
def pattern(self) -> Optional[_builtins.str]:
|
|
2657
2657
|
return pulumi.get(self, "pattern")
|
|
2658
2658
|
|
|
2659
|
-
@property
|
|
2659
|
+
@_builtins.property
|
|
2660
2660
|
@pulumi.getter(name="patternProperties")
|
|
2661
2661
|
def pattern_properties(self) -> Optional[Mapping[str, 'outputs.JSONSchemaProps']]:
|
|
2662
2662
|
return pulumi.get(self, "pattern_properties")
|
|
2663
2663
|
|
|
2664
|
-
@property
|
|
2664
|
+
@_builtins.property
|
|
2665
2665
|
@pulumi.getter
|
|
2666
2666
|
def properties(self) -> Optional[Mapping[str, 'outputs.JSONSchemaProps']]:
|
|
2667
2667
|
return pulumi.get(self, "properties")
|
|
2668
2668
|
|
|
2669
|
-
@property
|
|
2669
|
+
@_builtins.property
|
|
2670
2670
|
@pulumi.getter
|
|
2671
|
-
def required(self) -> Optional[Sequence[str]]:
|
|
2671
|
+
def required(self) -> Optional[Sequence[_builtins.str]]:
|
|
2672
2672
|
return pulumi.get(self, "required")
|
|
2673
2673
|
|
|
2674
|
-
@property
|
|
2674
|
+
@_builtins.property
|
|
2675
2675
|
@pulumi.getter
|
|
2676
|
-
def title(self) -> Optional[str]:
|
|
2676
|
+
def title(self) -> Optional[_builtins.str]:
|
|
2677
2677
|
return pulumi.get(self, "title")
|
|
2678
2678
|
|
|
2679
|
-
@property
|
|
2679
|
+
@_builtins.property
|
|
2680
2680
|
@pulumi.getter
|
|
2681
|
-
def type(self) -> Optional[str]:
|
|
2681
|
+
def type(self) -> Optional[_builtins.str]:
|
|
2682
2682
|
return pulumi.get(self, "type")
|
|
2683
2683
|
|
|
2684
|
-
@property
|
|
2684
|
+
@_builtins.property
|
|
2685
2685
|
@pulumi.getter(name="uniqueItems")
|
|
2686
|
-
def unique_items(self) -> Optional[bool]:
|
|
2686
|
+
def unique_items(self) -> Optional[_builtins.bool]:
|
|
2687
2687
|
return pulumi.get(self, "unique_items")
|
|
2688
2688
|
|
|
2689
|
-
@property
|
|
2689
|
+
@_builtins.property
|
|
2690
2690
|
@pulumi.getter
|
|
2691
|
-
def x_kubernetes_embedded_resource(self) -> Optional[bool]:
|
|
2691
|
+
def x_kubernetes_embedded_resource(self) -> Optional[_builtins.bool]:
|
|
2692
2692
|
"""
|
|
2693
2693
|
x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata).
|
|
2694
2694
|
"""
|
|
2695
2695
|
return pulumi.get(self, "x_kubernetes_embedded_resource")
|
|
2696
2696
|
|
|
2697
|
-
@property
|
|
2697
|
+
@_builtins.property
|
|
2698
2698
|
@pulumi.getter
|
|
2699
|
-
def x_kubernetes_int_or_string(self) -> Optional[bool]:
|
|
2699
|
+
def x_kubernetes_int_or_string(self) -> Optional[_builtins.bool]:
|
|
2700
2700
|
"""
|
|
2701
2701
|
x-kubernetes-int-or-string specifies that this value is either an integer or a string. If this is true, an empty type is allowed and type as child of anyOf is permitted if following one of the following patterns:
|
|
2702
2702
|
|
|
@@ -2711,9 +2711,9 @@ class JSONSchemaPropsPatch(dict):
|
|
|
2711
2711
|
"""
|
|
2712
2712
|
return pulumi.get(self, "x_kubernetes_int_or_string")
|
|
2713
2713
|
|
|
2714
|
-
@property
|
|
2714
|
+
@_builtins.property
|
|
2715
2715
|
@pulumi.getter
|
|
2716
|
-
def x_kubernetes_list_map_keys(self) -> Optional[Sequence[str]]:
|
|
2716
|
+
def x_kubernetes_list_map_keys(self) -> Optional[Sequence[_builtins.str]]:
|
|
2717
2717
|
"""
|
|
2718
2718
|
x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map.
|
|
2719
2719
|
|
|
@@ -2723,9 +2723,9 @@ class JSONSchemaPropsPatch(dict):
|
|
|
2723
2723
|
"""
|
|
2724
2724
|
return pulumi.get(self, "x_kubernetes_list_map_keys")
|
|
2725
2725
|
|
|
2726
|
-
@property
|
|
2726
|
+
@_builtins.property
|
|
2727
2727
|
@pulumi.getter
|
|
2728
|
-
def x_kubernetes_list_type(self) -> Optional[str]:
|
|
2728
|
+
def x_kubernetes_list_type(self) -> Optional[_builtins.str]:
|
|
2729
2729
|
"""
|
|
2730
2730
|
x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values:
|
|
2731
2731
|
|
|
@@ -2744,9 +2744,9 @@ class JSONSchemaPropsPatch(dict):
|
|
|
2744
2744
|
"""
|
|
2745
2745
|
return pulumi.get(self, "x_kubernetes_list_type")
|
|
2746
2746
|
|
|
2747
|
-
@property
|
|
2747
|
+
@_builtins.property
|
|
2748
2748
|
@pulumi.getter
|
|
2749
|
-
def x_kubernetes_map_type(self) -> Optional[str]:
|
|
2749
|
+
def x_kubernetes_map_type(self) -> Optional[_builtins.str]:
|
|
2750
2750
|
"""
|
|
2751
2751
|
x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values:
|
|
2752
2752
|
|
|
@@ -2759,15 +2759,15 @@ class JSONSchemaPropsPatch(dict):
|
|
|
2759
2759
|
"""
|
|
2760
2760
|
return pulumi.get(self, "x_kubernetes_map_type")
|
|
2761
2761
|
|
|
2762
|
-
@property
|
|
2762
|
+
@_builtins.property
|
|
2763
2763
|
@pulumi.getter
|
|
2764
|
-
def x_kubernetes_preserve_unknown_fields(self) -> Optional[bool]:
|
|
2764
|
+
def x_kubernetes_preserve_unknown_fields(self) -> Optional[_builtins.bool]:
|
|
2765
2765
|
"""
|
|
2766
2766
|
x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden.
|
|
2767
2767
|
"""
|
|
2768
2768
|
return pulumi.get(self, "x_kubernetes_preserve_unknown_fields")
|
|
2769
2769
|
|
|
2770
|
-
@property
|
|
2770
|
+
@_builtins.property
|
|
2771
2771
|
@pulumi.getter
|
|
2772
2772
|
def x_kubernetes_validations(self) -> Optional[Sequence['outputs.ValidationRulePatch']]:
|
|
2773
2773
|
"""
|
|
@@ -2799,16 +2799,16 @@ class SelectableField(dict):
|
|
|
2799
2799
|
return super().get(key, default)
|
|
2800
2800
|
|
|
2801
2801
|
def __init__(__self__, *,
|
|
2802
|
-
json_path: str):
|
|
2802
|
+
json_path: _builtins.str):
|
|
2803
2803
|
"""
|
|
2804
2804
|
SelectableField specifies the JSON path of a field that may be used with field selectors.
|
|
2805
|
-
:param str json_path: jsonPath is a simple JSON path which is evaluated against each custom resource to produce a field selector value. Only JSON paths without the array notation are allowed. Must point to a field of type string, boolean or integer. Types with enum values and strings with formats are allowed. If jsonPath refers to absent field in a resource, the jsonPath evaluates to an empty string. Must not point to metdata fields. Required.
|
|
2805
|
+
:param _builtins.str json_path: jsonPath is a simple JSON path which is evaluated against each custom resource to produce a field selector value. Only JSON paths without the array notation are allowed. Must point to a field of type string, boolean or integer. Types with enum values and strings with formats are allowed. If jsonPath refers to absent field in a resource, the jsonPath evaluates to an empty string. Must not point to metdata fields. Required.
|
|
2806
2806
|
"""
|
|
2807
2807
|
pulumi.set(__self__, "json_path", json_path)
|
|
2808
2808
|
|
|
2809
|
-
@property
|
|
2809
|
+
@_builtins.property
|
|
2810
2810
|
@pulumi.getter(name="jsonPath")
|
|
2811
|
-
def json_path(self) -> str:
|
|
2811
|
+
def json_path(self) -> _builtins.str:
|
|
2812
2812
|
"""
|
|
2813
2813
|
jsonPath is a simple JSON path which is evaluated against each custom resource to produce a field selector value. Only JSON paths without the array notation are allowed. Must point to a field of type string, boolean or integer. Types with enum values and strings with formats are allowed. If jsonPath refers to absent field in a resource, the jsonPath evaluates to an empty string. Must not point to metdata fields. Required.
|
|
2814
2814
|
"""
|
|
@@ -2838,17 +2838,17 @@ class SelectableFieldPatch(dict):
|
|
|
2838
2838
|
return super().get(key, default)
|
|
2839
2839
|
|
|
2840
2840
|
def __init__(__self__, *,
|
|
2841
|
-
json_path: Optional[str] = None):
|
|
2841
|
+
json_path: Optional[_builtins.str] = None):
|
|
2842
2842
|
"""
|
|
2843
2843
|
SelectableField specifies the JSON path of a field that may be used with field selectors.
|
|
2844
|
-
:param str json_path: jsonPath is a simple JSON path which is evaluated against each custom resource to produce a field selector value. Only JSON paths without the array notation are allowed. Must point to a field of type string, boolean or integer. Types with enum values and strings with formats are allowed. If jsonPath refers to absent field in a resource, the jsonPath evaluates to an empty string. Must not point to metdata fields. Required.
|
|
2844
|
+
:param _builtins.str json_path: jsonPath is a simple JSON path which is evaluated against each custom resource to produce a field selector value. Only JSON paths without the array notation are allowed. Must point to a field of type string, boolean or integer. Types with enum values and strings with formats are allowed. If jsonPath refers to absent field in a resource, the jsonPath evaluates to an empty string. Must not point to metdata fields. Required.
|
|
2845
2845
|
"""
|
|
2846
2846
|
if json_path is not None:
|
|
2847
2847
|
pulumi.set(__self__, "json_path", json_path)
|
|
2848
2848
|
|
|
2849
|
-
@property
|
|
2849
|
+
@_builtins.property
|
|
2850
2850
|
@pulumi.getter(name="jsonPath")
|
|
2851
|
-
def json_path(self) -> Optional[str]:
|
|
2851
|
+
def json_path(self) -> Optional[_builtins.str]:
|
|
2852
2852
|
"""
|
|
2853
2853
|
jsonPath is a simple JSON path which is evaluated against each custom resource to produce a field selector value. Only JSON paths without the array notation are allowed. Must point to a field of type string, boolean or integer. Types with enum values and strings with formats are allowed. If jsonPath refers to absent field in a resource, the jsonPath evaluates to an empty string. Must not point to metdata fields. Required.
|
|
2854
2854
|
"""
|
|
@@ -2861,16 +2861,16 @@ class ServiceReference(dict):
|
|
|
2861
2861
|
ServiceReference holds a reference to Service.legacy.k8s.io
|
|
2862
2862
|
"""
|
|
2863
2863
|
def __init__(__self__, *,
|
|
2864
|
-
name: str,
|
|
2865
|
-
namespace: str,
|
|
2866
|
-
path: Optional[str] = None,
|
|
2867
|
-
port: Optional[int] = None):
|
|
2864
|
+
name: _builtins.str,
|
|
2865
|
+
namespace: _builtins.str,
|
|
2866
|
+
path: Optional[_builtins.str] = None,
|
|
2867
|
+
port: Optional[_builtins.int] = None):
|
|
2868
2868
|
"""
|
|
2869
2869
|
ServiceReference holds a reference to Service.legacy.k8s.io
|
|
2870
|
-
:param str name: name is the name of the service. Required
|
|
2871
|
-
:param str namespace: namespace is the namespace of the service. Required
|
|
2872
|
-
:param str path: path is an optional URL path at which the webhook will be contacted.
|
|
2873
|
-
:param int port: port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility.
|
|
2870
|
+
:param _builtins.str name: name is the name of the service. Required
|
|
2871
|
+
:param _builtins.str namespace: namespace is the namespace of the service. Required
|
|
2872
|
+
:param _builtins.str path: path is an optional URL path at which the webhook will be contacted.
|
|
2873
|
+
:param _builtins.int port: port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility.
|
|
2874
2874
|
"""
|
|
2875
2875
|
pulumi.set(__self__, "name", name)
|
|
2876
2876
|
pulumi.set(__self__, "namespace", namespace)
|
|
@@ -2879,33 +2879,33 @@ class ServiceReference(dict):
|
|
|
2879
2879
|
if port is not None:
|
|
2880
2880
|
pulumi.set(__self__, "port", port)
|
|
2881
2881
|
|
|
2882
|
-
@property
|
|
2882
|
+
@_builtins.property
|
|
2883
2883
|
@pulumi.getter
|
|
2884
|
-
def name(self) -> str:
|
|
2884
|
+
def name(self) -> _builtins.str:
|
|
2885
2885
|
"""
|
|
2886
2886
|
name is the name of the service. Required
|
|
2887
2887
|
"""
|
|
2888
2888
|
return pulumi.get(self, "name")
|
|
2889
2889
|
|
|
2890
|
-
@property
|
|
2890
|
+
@_builtins.property
|
|
2891
2891
|
@pulumi.getter
|
|
2892
|
-
def namespace(self) -> str:
|
|
2892
|
+
def namespace(self) -> _builtins.str:
|
|
2893
2893
|
"""
|
|
2894
2894
|
namespace is the namespace of the service. Required
|
|
2895
2895
|
"""
|
|
2896
2896
|
return pulumi.get(self, "namespace")
|
|
2897
2897
|
|
|
2898
|
-
@property
|
|
2898
|
+
@_builtins.property
|
|
2899
2899
|
@pulumi.getter
|
|
2900
|
-
def path(self) -> Optional[str]:
|
|
2900
|
+
def path(self) -> Optional[_builtins.str]:
|
|
2901
2901
|
"""
|
|
2902
2902
|
path is an optional URL path at which the webhook will be contacted.
|
|
2903
2903
|
"""
|
|
2904
2904
|
return pulumi.get(self, "path")
|
|
2905
2905
|
|
|
2906
|
-
@property
|
|
2906
|
+
@_builtins.property
|
|
2907
2907
|
@pulumi.getter
|
|
2908
|
-
def port(self) -> Optional[int]:
|
|
2908
|
+
def port(self) -> Optional[_builtins.int]:
|
|
2909
2909
|
"""
|
|
2910
2910
|
port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility.
|
|
2911
2911
|
"""
|
|
@@ -2918,16 +2918,16 @@ class ServiceReferencePatch(dict):
|
|
|
2918
2918
|
ServiceReference holds a reference to Service.legacy.k8s.io
|
|
2919
2919
|
"""
|
|
2920
2920
|
def __init__(__self__, *,
|
|
2921
|
-
name: Optional[str] = None,
|
|
2922
|
-
namespace: Optional[str] = None,
|
|
2923
|
-
path: Optional[str] = None,
|
|
2924
|
-
port: Optional[int] = None):
|
|
2921
|
+
name: Optional[_builtins.str] = None,
|
|
2922
|
+
namespace: Optional[_builtins.str] = None,
|
|
2923
|
+
path: Optional[_builtins.str] = None,
|
|
2924
|
+
port: Optional[_builtins.int] = None):
|
|
2925
2925
|
"""
|
|
2926
2926
|
ServiceReference holds a reference to Service.legacy.k8s.io
|
|
2927
|
-
:param str name: name is the name of the service. Required
|
|
2928
|
-
:param str namespace: namespace is the namespace of the service. Required
|
|
2929
|
-
:param str path: path is an optional URL path at which the webhook will be contacted.
|
|
2930
|
-
:param int port: port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility.
|
|
2927
|
+
:param _builtins.str name: name is the name of the service. Required
|
|
2928
|
+
:param _builtins.str namespace: namespace is the namespace of the service. Required
|
|
2929
|
+
:param _builtins.str path: path is an optional URL path at which the webhook will be contacted.
|
|
2930
|
+
:param _builtins.int port: port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility.
|
|
2931
2931
|
"""
|
|
2932
2932
|
if name is not None:
|
|
2933
2933
|
pulumi.set(__self__, "name", name)
|
|
@@ -2938,33 +2938,33 @@ class ServiceReferencePatch(dict):
|
|
|
2938
2938
|
if port is not None:
|
|
2939
2939
|
pulumi.set(__self__, "port", port)
|
|
2940
2940
|
|
|
2941
|
-
@property
|
|
2941
|
+
@_builtins.property
|
|
2942
2942
|
@pulumi.getter
|
|
2943
|
-
def name(self) -> Optional[str]:
|
|
2943
|
+
def name(self) -> Optional[_builtins.str]:
|
|
2944
2944
|
"""
|
|
2945
2945
|
name is the name of the service. Required
|
|
2946
2946
|
"""
|
|
2947
2947
|
return pulumi.get(self, "name")
|
|
2948
2948
|
|
|
2949
|
-
@property
|
|
2949
|
+
@_builtins.property
|
|
2950
2950
|
@pulumi.getter
|
|
2951
|
-
def namespace(self) -> Optional[str]:
|
|
2951
|
+
def namespace(self) -> Optional[_builtins.str]:
|
|
2952
2952
|
"""
|
|
2953
2953
|
namespace is the namespace of the service. Required
|
|
2954
2954
|
"""
|
|
2955
2955
|
return pulumi.get(self, "namespace")
|
|
2956
2956
|
|
|
2957
|
-
@property
|
|
2957
|
+
@_builtins.property
|
|
2958
2958
|
@pulumi.getter
|
|
2959
|
-
def path(self) -> Optional[str]:
|
|
2959
|
+
def path(self) -> Optional[_builtins.str]:
|
|
2960
2960
|
"""
|
|
2961
2961
|
path is an optional URL path at which the webhook will be contacted.
|
|
2962
2962
|
"""
|
|
2963
2963
|
return pulumi.get(self, "path")
|
|
2964
2964
|
|
|
2965
|
-
@property
|
|
2965
|
+
@_builtins.property
|
|
2966
2966
|
@pulumi.getter
|
|
2967
|
-
def port(self) -> Optional[int]:
|
|
2967
|
+
def port(self) -> Optional[_builtins.int]:
|
|
2968
2968
|
"""
|
|
2969
2969
|
port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility.
|
|
2970
2970
|
"""
|
|
@@ -2998,15 +2998,15 @@ class ValidationRule(dict):
|
|
|
2998
2998
|
return super().get(key, default)
|
|
2999
2999
|
|
|
3000
3000
|
def __init__(__self__, *,
|
|
3001
|
-
rule: str,
|
|
3002
|
-
field_path: Optional[str] = None,
|
|
3003
|
-
message: Optional[str] = None,
|
|
3004
|
-
message_expression: Optional[str] = None,
|
|
3005
|
-
optional_old_self: Optional[bool] = None,
|
|
3006
|
-
reason: Optional[str] = None):
|
|
3001
|
+
rule: _builtins.str,
|
|
3002
|
+
field_path: Optional[_builtins.str] = None,
|
|
3003
|
+
message: Optional[_builtins.str] = None,
|
|
3004
|
+
message_expression: Optional[_builtins.str] = None,
|
|
3005
|
+
optional_old_self: Optional[_builtins.bool] = None,
|
|
3006
|
+
reason: Optional[_builtins.str] = None):
|
|
3007
3007
|
"""
|
|
3008
3008
|
ValidationRule describes a validation rule written in the CEL expression language.
|
|
3009
|
-
:param str rule: Rule represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec The Rule is scoped to the location of the x-kubernetes-validations extension in the schema. The `self` variable in the CEL expression is bound to the scoped value. Example: - Rule scoped to the root of a resource with a status subresource: {"rule": "self.status.actual <= self.spec.maxDesired"}
|
|
3009
|
+
:param _builtins.str rule: Rule represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec The Rule is scoped to the location of the x-kubernetes-validations extension in the schema. The `self` variable in the CEL expression is bound to the scoped value. Example: - Rule scoped to the root of a resource with a status subresource: {"rule": "self.status.actual <= self.spec.maxDesired"}
|
|
3010
3010
|
|
|
3011
3011
|
If the Rule is scoped to an object with properties, the accessible properties of the object are field selectable via `self.field` and field presence can be checked via `has(self.field)`. Null valued fields are treated as absent fields in CEL expressions. If the Rule is scoped to an object with additionalProperties (i.e. a map) the value of the map are accessible via `self[mapKey]`, map containment can be checked via `mapKey in self` and all entries of the map are accessible via CEL macros and functions such as `self.all(...)`. If the Rule is scoped to an array, the elements of the array are accessible via `self[i]` and also by macros and functions. If the Rule is scoped to a scalar, `self` is bound to the scalar value. Examples: - Rule scoped to a map of objects: {"rule": "self.components['Widget'].priority < 10"} - Rule scoped to a list of integers: {"rule": "self.values.all(value, value >= 0 && value < 100)"} - Rule scoped to a string value: {"rule": "self.startsWith('kube')"}
|
|
3012
3012
|
|
|
@@ -3039,17 +3039,17 @@ class ValidationRule(dict):
|
|
|
3039
3039
|
See the documentation for the `optionalOldSelf` field for details.
|
|
3040
3040
|
|
|
3041
3041
|
Transition rules by default are applied only on UPDATE requests and are skipped if an old value could not be found. You can opt a transition rule into unconditional evaluation by setting `optionalOldSelf` to true.
|
|
3042
|
-
:param str field_path: fieldPath represents the field path returned when the validation fails. It must be a relative JSON path (i.e. with array notation) scoped to the location of this x-kubernetes-validations extension in the schema and refer to an existing field. e.g. when validation checks if a specific attribute `foo` under a map `testMap`, the fieldPath could be set to `.testMap.foo` If the validation checks two lists must have unique attributes, the fieldPath could be set to either of the list: e.g. `.testList` It does not support list numeric index. It supports child operation to refer to an existing field currently. Refer to [JSONPath support in Kubernetes](https://kubernetes.io/docs/reference/kubectl/jsonpath/) for more info. Numeric index of array is not supported. For field name which contains special characters, use `['specialName']` to refer the field name. e.g. for attribute `foo.34$` appears in a list `testList`, the fieldPath could be set to `.testList['foo.34$']`
|
|
3043
|
-
:param str message: Message represents the message displayed when validation fails. The message is required if the Rule contains line breaks. The message must not contain line breaks. If unset, the message is "failed rule: {Rule}". e.g. "must be a URL with the host matching spec.host"
|
|
3044
|
-
:param str message_expression: MessageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a rule, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the rule; the only difference is the return type. Example: "x must be less than max ("+string(self.max)+")"
|
|
3045
|
-
:param bool optional_old_self: optionalOldSelf is used to opt a transition rule into evaluation even when the object is first created, or if the old object is missing the value.
|
|
3042
|
+
:param _builtins.str field_path: fieldPath represents the field path returned when the validation fails. It must be a relative JSON path (i.e. with array notation) scoped to the location of this x-kubernetes-validations extension in the schema and refer to an existing field. e.g. when validation checks if a specific attribute `foo` under a map `testMap`, the fieldPath could be set to `.testMap.foo` If the validation checks two lists must have unique attributes, the fieldPath could be set to either of the list: e.g. `.testList` It does not support list numeric index. It supports child operation to refer to an existing field currently. Refer to [JSONPath support in Kubernetes](https://kubernetes.io/docs/reference/kubectl/jsonpath/) for more info. Numeric index of array is not supported. For field name which contains special characters, use `['specialName']` to refer the field name. e.g. for attribute `foo.34$` appears in a list `testList`, the fieldPath could be set to `.testList['foo.34$']`
|
|
3043
|
+
:param _builtins.str message: Message represents the message displayed when validation fails. The message is required if the Rule contains line breaks. The message must not contain line breaks. If unset, the message is "failed rule: {Rule}". e.g. "must be a URL with the host matching spec.host"
|
|
3044
|
+
:param _builtins.str message_expression: MessageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a rule, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the rule; the only difference is the return type. Example: "x must be less than max ("+string(self.max)+")"
|
|
3045
|
+
:param _builtins.bool optional_old_self: optionalOldSelf is used to opt a transition rule into evaluation even when the object is first created, or if the old object is missing the value.
|
|
3046
3046
|
|
|
3047
3047
|
When enabled `oldSelf` will be a CEL optional whose value will be `None` if there is no old value, or when the object is initially created.
|
|
3048
3048
|
|
|
3049
3049
|
You may check for presence of oldSelf using `oldSelf.hasValue()` and unwrap it after checking using `oldSelf.value()`. Check the CEL documentation for Optional types for more information: https://pkg.go.dev/github.com/google/cel-go/cel#OptionalTypes
|
|
3050
3050
|
|
|
3051
3051
|
May not be set unless `oldSelf` is used in `rule`.
|
|
3052
|
-
:param str reason: reason provides a machine-readable validation failure reason that is returned to the caller when a request fails this validation rule. The HTTP status code returned to the caller will match the reason of the reason of the first failed validation rule. The currently supported reasons are: "FieldValueInvalid", "FieldValueForbidden", "FieldValueRequired", "FieldValueDuplicate". If not set, default to use "FieldValueInvalid". All future added reasons must be accepted by clients when reading this value and unknown reasons should be treated as FieldValueInvalid.
|
|
3052
|
+
:param _builtins.str reason: reason provides a machine-readable validation failure reason that is returned to the caller when a request fails this validation rule. The HTTP status code returned to the caller will match the reason of the reason of the first failed validation rule. The currently supported reasons are: "FieldValueInvalid", "FieldValueForbidden", "FieldValueRequired", "FieldValueDuplicate". If not set, default to use "FieldValueInvalid". All future added reasons must be accepted by clients when reading this value and unknown reasons should be treated as FieldValueInvalid.
|
|
3053
3053
|
"""
|
|
3054
3054
|
pulumi.set(__self__, "rule", rule)
|
|
3055
3055
|
if field_path is not None:
|
|
@@ -3063,9 +3063,9 @@ class ValidationRule(dict):
|
|
|
3063
3063
|
if reason is not None:
|
|
3064
3064
|
pulumi.set(__self__, "reason", reason)
|
|
3065
3065
|
|
|
3066
|
-
@property
|
|
3066
|
+
@_builtins.property
|
|
3067
3067
|
@pulumi.getter
|
|
3068
|
-
def rule(self) -> str:
|
|
3068
|
+
def rule(self) -> _builtins.str:
|
|
3069
3069
|
"""
|
|
3070
3070
|
Rule represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec The Rule is scoped to the location of the x-kubernetes-validations extension in the schema. The `self` variable in the CEL expression is bound to the scoped value. Example: - Rule scoped to the root of a resource with a status subresource: {"rule": "self.status.actual <= self.spec.maxDesired"}
|
|
3071
3071
|
|
|
@@ -3103,33 +3103,33 @@ class ValidationRule(dict):
|
|
|
3103
3103
|
"""
|
|
3104
3104
|
return pulumi.get(self, "rule")
|
|
3105
3105
|
|
|
3106
|
-
@property
|
|
3106
|
+
@_builtins.property
|
|
3107
3107
|
@pulumi.getter(name="fieldPath")
|
|
3108
|
-
def field_path(self) -> Optional[str]:
|
|
3108
|
+
def field_path(self) -> Optional[_builtins.str]:
|
|
3109
3109
|
"""
|
|
3110
3110
|
fieldPath represents the field path returned when the validation fails. It must be a relative JSON path (i.e. with array notation) scoped to the location of this x-kubernetes-validations extension in the schema and refer to an existing field. e.g. when validation checks if a specific attribute `foo` under a map `testMap`, the fieldPath could be set to `.testMap.foo` If the validation checks two lists must have unique attributes, the fieldPath could be set to either of the list: e.g. `.testList` It does not support list numeric index. It supports child operation to refer to an existing field currently. Refer to [JSONPath support in Kubernetes](https://kubernetes.io/docs/reference/kubectl/jsonpath/) for more info. Numeric index of array is not supported. For field name which contains special characters, use `['specialName']` to refer the field name. e.g. for attribute `foo.34$` appears in a list `testList`, the fieldPath could be set to `.testList['foo.34$']`
|
|
3111
3111
|
"""
|
|
3112
3112
|
return pulumi.get(self, "field_path")
|
|
3113
3113
|
|
|
3114
|
-
@property
|
|
3114
|
+
@_builtins.property
|
|
3115
3115
|
@pulumi.getter
|
|
3116
|
-
def message(self) -> Optional[str]:
|
|
3116
|
+
def message(self) -> Optional[_builtins.str]:
|
|
3117
3117
|
"""
|
|
3118
3118
|
Message represents the message displayed when validation fails. The message is required if the Rule contains line breaks. The message must not contain line breaks. If unset, the message is "failed rule: {Rule}". e.g. "must be a URL with the host matching spec.host"
|
|
3119
3119
|
"""
|
|
3120
3120
|
return pulumi.get(self, "message")
|
|
3121
3121
|
|
|
3122
|
-
@property
|
|
3122
|
+
@_builtins.property
|
|
3123
3123
|
@pulumi.getter(name="messageExpression")
|
|
3124
|
-
def message_expression(self) -> Optional[str]:
|
|
3124
|
+
def message_expression(self) -> Optional[_builtins.str]:
|
|
3125
3125
|
"""
|
|
3126
3126
|
MessageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a rule, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the rule; the only difference is the return type. Example: "x must be less than max ("+string(self.max)+")"
|
|
3127
3127
|
"""
|
|
3128
3128
|
return pulumi.get(self, "message_expression")
|
|
3129
3129
|
|
|
3130
|
-
@property
|
|
3130
|
+
@_builtins.property
|
|
3131
3131
|
@pulumi.getter(name="optionalOldSelf")
|
|
3132
|
-
def optional_old_self(self) -> Optional[bool]:
|
|
3132
|
+
def optional_old_self(self) -> Optional[_builtins.bool]:
|
|
3133
3133
|
"""
|
|
3134
3134
|
optionalOldSelf is used to opt a transition rule into evaluation even when the object is first created, or if the old object is missing the value.
|
|
3135
3135
|
|
|
@@ -3141,9 +3141,9 @@ class ValidationRule(dict):
|
|
|
3141
3141
|
"""
|
|
3142
3142
|
return pulumi.get(self, "optional_old_self")
|
|
3143
3143
|
|
|
3144
|
-
@property
|
|
3144
|
+
@_builtins.property
|
|
3145
3145
|
@pulumi.getter
|
|
3146
|
-
def reason(self) -> Optional[str]:
|
|
3146
|
+
def reason(self) -> Optional[_builtins.str]:
|
|
3147
3147
|
"""
|
|
3148
3148
|
reason provides a machine-readable validation failure reason that is returned to the caller when a request fails this validation rule. The HTTP status code returned to the caller will match the reason of the reason of the first failed validation rule. The currently supported reasons are: "FieldValueInvalid", "FieldValueForbidden", "FieldValueRequired", "FieldValueDuplicate". If not set, default to use "FieldValueInvalid". All future added reasons must be accepted by clients when reading this value and unknown reasons should be treated as FieldValueInvalid.
|
|
3149
3149
|
"""
|
|
@@ -3177,26 +3177,26 @@ class ValidationRulePatch(dict):
|
|
|
3177
3177
|
return super().get(key, default)
|
|
3178
3178
|
|
|
3179
3179
|
def __init__(__self__, *,
|
|
3180
|
-
field_path: Optional[str] = None,
|
|
3181
|
-
message: Optional[str] = None,
|
|
3182
|
-
message_expression: Optional[str] = None,
|
|
3183
|
-
optional_old_self: Optional[bool] = None,
|
|
3184
|
-
reason: Optional[str] = None,
|
|
3185
|
-
rule: Optional[str] = None):
|
|
3180
|
+
field_path: Optional[_builtins.str] = None,
|
|
3181
|
+
message: Optional[_builtins.str] = None,
|
|
3182
|
+
message_expression: Optional[_builtins.str] = None,
|
|
3183
|
+
optional_old_self: Optional[_builtins.bool] = None,
|
|
3184
|
+
reason: Optional[_builtins.str] = None,
|
|
3185
|
+
rule: Optional[_builtins.str] = None):
|
|
3186
3186
|
"""
|
|
3187
3187
|
ValidationRule describes a validation rule written in the CEL expression language.
|
|
3188
|
-
:param str field_path: fieldPath represents the field path returned when the validation fails. It must be a relative JSON path (i.e. with array notation) scoped to the location of this x-kubernetes-validations extension in the schema and refer to an existing field. e.g. when validation checks if a specific attribute `foo` under a map `testMap`, the fieldPath could be set to `.testMap.foo` If the validation checks two lists must have unique attributes, the fieldPath could be set to either of the list: e.g. `.testList` It does not support list numeric index. It supports child operation to refer to an existing field currently. Refer to [JSONPath support in Kubernetes](https://kubernetes.io/docs/reference/kubectl/jsonpath/) for more info. Numeric index of array is not supported. For field name which contains special characters, use `['specialName']` to refer the field name. e.g. for attribute `foo.34$` appears in a list `testList`, the fieldPath could be set to `.testList['foo.34$']`
|
|
3189
|
-
:param str message: Message represents the message displayed when validation fails. The message is required if the Rule contains line breaks. The message must not contain line breaks. If unset, the message is "failed rule: {Rule}". e.g. "must be a URL with the host matching spec.host"
|
|
3190
|
-
:param str message_expression: MessageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a rule, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the rule; the only difference is the return type. Example: "x must be less than max ("+string(self.max)+")"
|
|
3191
|
-
:param bool optional_old_self: optionalOldSelf is used to opt a transition rule into evaluation even when the object is first created, or if the old object is missing the value.
|
|
3188
|
+
:param _builtins.str field_path: fieldPath represents the field path returned when the validation fails. It must be a relative JSON path (i.e. with array notation) scoped to the location of this x-kubernetes-validations extension in the schema and refer to an existing field. e.g. when validation checks if a specific attribute `foo` under a map `testMap`, the fieldPath could be set to `.testMap.foo` If the validation checks two lists must have unique attributes, the fieldPath could be set to either of the list: e.g. `.testList` It does not support list numeric index. It supports child operation to refer to an existing field currently. Refer to [JSONPath support in Kubernetes](https://kubernetes.io/docs/reference/kubectl/jsonpath/) for more info. Numeric index of array is not supported. For field name which contains special characters, use `['specialName']` to refer the field name. e.g. for attribute `foo.34$` appears in a list `testList`, the fieldPath could be set to `.testList['foo.34$']`
|
|
3189
|
+
:param _builtins.str message: Message represents the message displayed when validation fails. The message is required if the Rule contains line breaks. The message must not contain line breaks. If unset, the message is "failed rule: {Rule}". e.g. "must be a URL with the host matching spec.host"
|
|
3190
|
+
:param _builtins.str message_expression: MessageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a rule, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the rule; the only difference is the return type. Example: "x must be less than max ("+string(self.max)+")"
|
|
3191
|
+
:param _builtins.bool optional_old_self: optionalOldSelf is used to opt a transition rule into evaluation even when the object is first created, or if the old object is missing the value.
|
|
3192
3192
|
|
|
3193
3193
|
When enabled `oldSelf` will be a CEL optional whose value will be `None` if there is no old value, or when the object is initially created.
|
|
3194
3194
|
|
|
3195
3195
|
You may check for presence of oldSelf using `oldSelf.hasValue()` and unwrap it after checking using `oldSelf.value()`. Check the CEL documentation for Optional types for more information: https://pkg.go.dev/github.com/google/cel-go/cel#OptionalTypes
|
|
3196
3196
|
|
|
3197
3197
|
May not be set unless `oldSelf` is used in `rule`.
|
|
3198
|
-
:param str reason: reason provides a machine-readable validation failure reason that is returned to the caller when a request fails this validation rule. The HTTP status code returned to the caller will match the reason of the reason of the first failed validation rule. The currently supported reasons are: "FieldValueInvalid", "FieldValueForbidden", "FieldValueRequired", "FieldValueDuplicate". If not set, default to use "FieldValueInvalid". All future added reasons must be accepted by clients when reading this value and unknown reasons should be treated as FieldValueInvalid.
|
|
3199
|
-
:param str rule: Rule represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec The Rule is scoped to the location of the x-kubernetes-validations extension in the schema. The `self` variable in the CEL expression is bound to the scoped value. Example: - Rule scoped to the root of a resource with a status subresource: {"rule": "self.status.actual <= self.spec.maxDesired"}
|
|
3198
|
+
:param _builtins.str reason: reason provides a machine-readable validation failure reason that is returned to the caller when a request fails this validation rule. The HTTP status code returned to the caller will match the reason of the reason of the first failed validation rule. The currently supported reasons are: "FieldValueInvalid", "FieldValueForbidden", "FieldValueRequired", "FieldValueDuplicate". If not set, default to use "FieldValueInvalid". All future added reasons must be accepted by clients when reading this value and unknown reasons should be treated as FieldValueInvalid.
|
|
3199
|
+
:param _builtins.str rule: Rule represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec The Rule is scoped to the location of the x-kubernetes-validations extension in the schema. The `self` variable in the CEL expression is bound to the scoped value. Example: - Rule scoped to the root of a resource with a status subresource: {"rule": "self.status.actual <= self.spec.maxDesired"}
|
|
3200
3200
|
|
|
3201
3201
|
If the Rule is scoped to an object with properties, the accessible properties of the object are field selectable via `self.field` and field presence can be checked via `has(self.field)`. Null valued fields are treated as absent fields in CEL expressions. If the Rule is scoped to an object with additionalProperties (i.e. a map) the value of the map are accessible via `self[mapKey]`, map containment can be checked via `mapKey in self` and all entries of the map are accessible via CEL macros and functions such as `self.all(...)`. If the Rule is scoped to an array, the elements of the array are accessible via `self[i]` and also by macros and functions. If the Rule is scoped to a scalar, `self` is bound to the scalar value. Examples: - Rule scoped to a map of objects: {"rule": "self.components['Widget'].priority < 10"} - Rule scoped to a list of integers: {"rule": "self.values.all(value, value >= 0 && value < 100)"} - Rule scoped to a string value: {"rule": "self.startsWith('kube')"}
|
|
3202
3202
|
|
|
@@ -3243,33 +3243,33 @@ class ValidationRulePatch(dict):
|
|
|
3243
3243
|
if rule is not None:
|
|
3244
3244
|
pulumi.set(__self__, "rule", rule)
|
|
3245
3245
|
|
|
3246
|
-
@property
|
|
3246
|
+
@_builtins.property
|
|
3247
3247
|
@pulumi.getter(name="fieldPath")
|
|
3248
|
-
def field_path(self) -> Optional[str]:
|
|
3248
|
+
def field_path(self) -> Optional[_builtins.str]:
|
|
3249
3249
|
"""
|
|
3250
3250
|
fieldPath represents the field path returned when the validation fails. It must be a relative JSON path (i.e. with array notation) scoped to the location of this x-kubernetes-validations extension in the schema and refer to an existing field. e.g. when validation checks if a specific attribute `foo` under a map `testMap`, the fieldPath could be set to `.testMap.foo` If the validation checks two lists must have unique attributes, the fieldPath could be set to either of the list: e.g. `.testList` It does not support list numeric index. It supports child operation to refer to an existing field currently. Refer to [JSONPath support in Kubernetes](https://kubernetes.io/docs/reference/kubectl/jsonpath/) for more info. Numeric index of array is not supported. For field name which contains special characters, use `['specialName']` to refer the field name. e.g. for attribute `foo.34$` appears in a list `testList`, the fieldPath could be set to `.testList['foo.34$']`
|
|
3251
3251
|
"""
|
|
3252
3252
|
return pulumi.get(self, "field_path")
|
|
3253
3253
|
|
|
3254
|
-
@property
|
|
3254
|
+
@_builtins.property
|
|
3255
3255
|
@pulumi.getter
|
|
3256
|
-
def message(self) -> Optional[str]:
|
|
3256
|
+
def message(self) -> Optional[_builtins.str]:
|
|
3257
3257
|
"""
|
|
3258
3258
|
Message represents the message displayed when validation fails. The message is required if the Rule contains line breaks. The message must not contain line breaks. If unset, the message is "failed rule: {Rule}". e.g. "must be a URL with the host matching spec.host"
|
|
3259
3259
|
"""
|
|
3260
3260
|
return pulumi.get(self, "message")
|
|
3261
3261
|
|
|
3262
|
-
@property
|
|
3262
|
+
@_builtins.property
|
|
3263
3263
|
@pulumi.getter(name="messageExpression")
|
|
3264
|
-
def message_expression(self) -> Optional[str]:
|
|
3264
|
+
def message_expression(self) -> Optional[_builtins.str]:
|
|
3265
3265
|
"""
|
|
3266
3266
|
MessageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a rule, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the rule; the only difference is the return type. Example: "x must be less than max ("+string(self.max)+")"
|
|
3267
3267
|
"""
|
|
3268
3268
|
return pulumi.get(self, "message_expression")
|
|
3269
3269
|
|
|
3270
|
-
@property
|
|
3270
|
+
@_builtins.property
|
|
3271
3271
|
@pulumi.getter(name="optionalOldSelf")
|
|
3272
|
-
def optional_old_self(self) -> Optional[bool]:
|
|
3272
|
+
def optional_old_self(self) -> Optional[_builtins.bool]:
|
|
3273
3273
|
"""
|
|
3274
3274
|
optionalOldSelf is used to opt a transition rule into evaluation even when the object is first created, or if the old object is missing the value.
|
|
3275
3275
|
|
|
@@ -3281,17 +3281,17 @@ class ValidationRulePatch(dict):
|
|
|
3281
3281
|
"""
|
|
3282
3282
|
return pulumi.get(self, "optional_old_self")
|
|
3283
3283
|
|
|
3284
|
-
@property
|
|
3284
|
+
@_builtins.property
|
|
3285
3285
|
@pulumi.getter
|
|
3286
|
-
def reason(self) -> Optional[str]:
|
|
3286
|
+
def reason(self) -> Optional[_builtins.str]:
|
|
3287
3287
|
"""
|
|
3288
3288
|
reason provides a machine-readable validation failure reason that is returned to the caller when a request fails this validation rule. The HTTP status code returned to the caller will match the reason of the reason of the first failed validation rule. The currently supported reasons are: "FieldValueInvalid", "FieldValueForbidden", "FieldValueRequired", "FieldValueDuplicate". If not set, default to use "FieldValueInvalid". All future added reasons must be accepted by clients when reading this value and unknown reasons should be treated as FieldValueInvalid.
|
|
3289
3289
|
"""
|
|
3290
3290
|
return pulumi.get(self, "reason")
|
|
3291
3291
|
|
|
3292
|
-
@property
|
|
3292
|
+
@_builtins.property
|
|
3293
3293
|
@pulumi.getter
|
|
3294
|
-
def rule(self) -> Optional[str]:
|
|
3294
|
+
def rule(self) -> Optional[_builtins.str]:
|
|
3295
3295
|
"""
|
|
3296
3296
|
Rule represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec The Rule is scoped to the location of the x-kubernetes-validations extension in the schema. The `self` variable in the CEL expression is bound to the scoped value. Example: - Rule scoped to the root of a resource with a status subresource: {"rule": "self.status.actual <= self.spec.maxDesired"}
|
|
3297
3297
|
|
|
@@ -3353,16 +3353,16 @@ class WebhookClientConfig(dict):
|
|
|
3353
3353
|
return super().get(key, default)
|
|
3354
3354
|
|
|
3355
3355
|
def __init__(__self__, *,
|
|
3356
|
-
ca_bundle: Optional[str] = None,
|
|
3356
|
+
ca_bundle: Optional[_builtins.str] = None,
|
|
3357
3357
|
service: Optional['outputs.ServiceReference'] = None,
|
|
3358
|
-
url: Optional[str] = None):
|
|
3358
|
+
url: Optional[_builtins.str] = None):
|
|
3359
3359
|
"""
|
|
3360
3360
|
WebhookClientConfig contains the information to make a TLS connection with the webhook.
|
|
3361
|
-
:param str ca_bundle: caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.
|
|
3361
|
+
:param _builtins.str ca_bundle: caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.
|
|
3362
3362
|
:param 'ServiceReferenceArgs' service: service is a reference to the service for this webhook. Either service or url must be specified.
|
|
3363
3363
|
|
|
3364
3364
|
If the webhook is running within the cluster, then you should use `service`.
|
|
3365
|
-
:param str url: url gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
|
|
3365
|
+
:param _builtins.str url: url gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
|
|
3366
3366
|
|
|
3367
3367
|
The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.
|
|
3368
3368
|
|
|
@@ -3381,15 +3381,15 @@ class WebhookClientConfig(dict):
|
|
|
3381
3381
|
if url is not None:
|
|
3382
3382
|
pulumi.set(__self__, "url", url)
|
|
3383
3383
|
|
|
3384
|
-
@property
|
|
3384
|
+
@_builtins.property
|
|
3385
3385
|
@pulumi.getter(name="caBundle")
|
|
3386
|
-
def ca_bundle(self) -> Optional[str]:
|
|
3386
|
+
def ca_bundle(self) -> Optional[_builtins.str]:
|
|
3387
3387
|
"""
|
|
3388
3388
|
caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.
|
|
3389
3389
|
"""
|
|
3390
3390
|
return pulumi.get(self, "ca_bundle")
|
|
3391
3391
|
|
|
3392
|
-
@property
|
|
3392
|
+
@_builtins.property
|
|
3393
3393
|
@pulumi.getter
|
|
3394
3394
|
def service(self) -> Optional['outputs.ServiceReference']:
|
|
3395
3395
|
"""
|
|
@@ -3399,9 +3399,9 @@ class WebhookClientConfig(dict):
|
|
|
3399
3399
|
"""
|
|
3400
3400
|
return pulumi.get(self, "service")
|
|
3401
3401
|
|
|
3402
|
-
@property
|
|
3402
|
+
@_builtins.property
|
|
3403
3403
|
@pulumi.getter
|
|
3404
|
-
def url(self) -> Optional[str]:
|
|
3404
|
+
def url(self) -> Optional[_builtins.str]:
|
|
3405
3405
|
"""
|
|
3406
3406
|
url gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
|
|
3407
3407
|
|
|
@@ -3441,16 +3441,16 @@ class WebhookClientConfigPatch(dict):
|
|
|
3441
3441
|
return super().get(key, default)
|
|
3442
3442
|
|
|
3443
3443
|
def __init__(__self__, *,
|
|
3444
|
-
ca_bundle: Optional[str] = None,
|
|
3444
|
+
ca_bundle: Optional[_builtins.str] = None,
|
|
3445
3445
|
service: Optional['outputs.ServiceReferencePatch'] = None,
|
|
3446
|
-
url: Optional[str] = None):
|
|
3446
|
+
url: Optional[_builtins.str] = None):
|
|
3447
3447
|
"""
|
|
3448
3448
|
WebhookClientConfig contains the information to make a TLS connection with the webhook.
|
|
3449
|
-
:param str ca_bundle: caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.
|
|
3449
|
+
:param _builtins.str ca_bundle: caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.
|
|
3450
3450
|
:param 'ServiceReferencePatchArgs' service: service is a reference to the service for this webhook. Either service or url must be specified.
|
|
3451
3451
|
|
|
3452
3452
|
If the webhook is running within the cluster, then you should use `service`.
|
|
3453
|
-
:param str url: url gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
|
|
3453
|
+
:param _builtins.str url: url gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
|
|
3454
3454
|
|
|
3455
3455
|
The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.
|
|
3456
3456
|
|
|
@@ -3469,15 +3469,15 @@ class WebhookClientConfigPatch(dict):
|
|
|
3469
3469
|
if url is not None:
|
|
3470
3470
|
pulumi.set(__self__, "url", url)
|
|
3471
3471
|
|
|
3472
|
-
@property
|
|
3472
|
+
@_builtins.property
|
|
3473
3473
|
@pulumi.getter(name="caBundle")
|
|
3474
|
-
def ca_bundle(self) -> Optional[str]:
|
|
3474
|
+
def ca_bundle(self) -> Optional[_builtins.str]:
|
|
3475
3475
|
"""
|
|
3476
3476
|
caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.
|
|
3477
3477
|
"""
|
|
3478
3478
|
return pulumi.get(self, "ca_bundle")
|
|
3479
3479
|
|
|
3480
|
-
@property
|
|
3480
|
+
@_builtins.property
|
|
3481
3481
|
@pulumi.getter
|
|
3482
3482
|
def service(self) -> Optional['outputs.ServiceReferencePatch']:
|
|
3483
3483
|
"""
|
|
@@ -3487,9 +3487,9 @@ class WebhookClientConfigPatch(dict):
|
|
|
3487
3487
|
"""
|
|
3488
3488
|
return pulumi.get(self, "service")
|
|
3489
3489
|
|
|
3490
|
-
@property
|
|
3490
|
+
@_builtins.property
|
|
3491
3491
|
@pulumi.getter
|
|
3492
|
-
def url(self) -> Optional[str]:
|
|
3492
|
+
def url(self) -> Optional[_builtins.str]:
|
|
3493
3493
|
"""
|
|
3494
3494
|
url gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
|
|
3495
3495
|
|
|
@@ -3531,26 +3531,26 @@ class WebhookConversion(dict):
|
|
|
3531
3531
|
return super().get(key, default)
|
|
3532
3532
|
|
|
3533
3533
|
def __init__(__self__, *,
|
|
3534
|
-
conversion_review_versions: Sequence[str],
|
|
3534
|
+
conversion_review_versions: Sequence[_builtins.str],
|
|
3535
3535
|
client_config: Optional['outputs.WebhookClientConfig'] = None):
|
|
3536
3536
|
"""
|
|
3537
3537
|
WebhookConversion describes how to call a conversion webhook
|
|
3538
|
-
:param Sequence[str] conversion_review_versions: conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail.
|
|
3538
|
+
:param Sequence[_builtins.str] conversion_review_versions: conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail.
|
|
3539
3539
|
:param 'WebhookClientConfigArgs' client_config: clientConfig is the instructions for how to call the webhook if strategy is `Webhook`.
|
|
3540
3540
|
"""
|
|
3541
3541
|
pulumi.set(__self__, "conversion_review_versions", conversion_review_versions)
|
|
3542
3542
|
if client_config is not None:
|
|
3543
3543
|
pulumi.set(__self__, "client_config", client_config)
|
|
3544
3544
|
|
|
3545
|
-
@property
|
|
3545
|
+
@_builtins.property
|
|
3546
3546
|
@pulumi.getter(name="conversionReviewVersions")
|
|
3547
|
-
def conversion_review_versions(self) -> Sequence[str]:
|
|
3547
|
+
def conversion_review_versions(self) -> Sequence[_builtins.str]:
|
|
3548
3548
|
"""
|
|
3549
3549
|
conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail.
|
|
3550
3550
|
"""
|
|
3551
3551
|
return pulumi.get(self, "conversion_review_versions")
|
|
3552
3552
|
|
|
3553
|
-
@property
|
|
3553
|
+
@_builtins.property
|
|
3554
3554
|
@pulumi.getter(name="clientConfig")
|
|
3555
3555
|
def client_config(self) -> Optional['outputs.WebhookClientConfig']:
|
|
3556
3556
|
"""
|
|
@@ -3585,18 +3585,18 @@ class WebhookConversionPatch(dict):
|
|
|
3585
3585
|
|
|
3586
3586
|
def __init__(__self__, *,
|
|
3587
3587
|
client_config: Optional['outputs.WebhookClientConfigPatch'] = None,
|
|
3588
|
-
conversion_review_versions: Optional[Sequence[str]] = None):
|
|
3588
|
+
conversion_review_versions: Optional[Sequence[_builtins.str]] = None):
|
|
3589
3589
|
"""
|
|
3590
3590
|
WebhookConversion describes how to call a conversion webhook
|
|
3591
3591
|
:param 'WebhookClientConfigPatchArgs' client_config: clientConfig is the instructions for how to call the webhook if strategy is `Webhook`.
|
|
3592
|
-
:param Sequence[str] conversion_review_versions: conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail.
|
|
3592
|
+
:param Sequence[_builtins.str] conversion_review_versions: conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail.
|
|
3593
3593
|
"""
|
|
3594
3594
|
if client_config is not None:
|
|
3595
3595
|
pulumi.set(__self__, "client_config", client_config)
|
|
3596
3596
|
if conversion_review_versions is not None:
|
|
3597
3597
|
pulumi.set(__self__, "conversion_review_versions", conversion_review_versions)
|
|
3598
3598
|
|
|
3599
|
-
@property
|
|
3599
|
+
@_builtins.property
|
|
3600
3600
|
@pulumi.getter(name="clientConfig")
|
|
3601
3601
|
def client_config(self) -> Optional['outputs.WebhookClientConfigPatch']:
|
|
3602
3602
|
"""
|
|
@@ -3604,9 +3604,9 @@ class WebhookConversionPatch(dict):
|
|
|
3604
3604
|
"""
|
|
3605
3605
|
return pulumi.get(self, "client_config")
|
|
3606
3606
|
|
|
3607
|
-
@property
|
|
3607
|
+
@_builtins.property
|
|
3608
3608
|
@pulumi.getter(name="conversionReviewVersions")
|
|
3609
|
-
def conversion_review_versions(self) -> Optional[Sequence[str]]:
|
|
3609
|
+
def conversion_review_versions(self) -> Optional[Sequence[_builtins.str]]:
|
|
3610
3610
|
"""
|
|
3611
3611
|
conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail.
|
|
3612
3612
|
"""
|