pulumi-kubernetes 4.22.1__py3-none-any.whl → 4.22.2__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.
Potentially problematic release.
This version of pulumi-kubernetes might be problematic. Click here for more details.
- pulumi_kubernetes/__init__.py +1 -0
- pulumi_kubernetes/_inputs.py +41 -40
- pulumi_kubernetes/admissionregistration/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfiguration.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicy.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBinding.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfiguration.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1/_inputs.py +546 -545
- pulumi_kubernetes/admissionregistration/v1/outputs.py +337 -336
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicy.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBinding.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicy.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/_inputs.py +366 -365
- pulumi_kubernetes/admissionregistration/v1alpha1/outputs.py +229 -228
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfiguration.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicy.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBinding.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfiguration.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationPatch.py +17 -16
- pulumi_kubernetes/admissionregistration/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1beta1/_inputs.py +546 -545
- pulumi_kubernetes/admissionregistration/v1beta1/outputs.py +337 -336
- pulumi_kubernetes/apiextensions/__init__.py +1 -0
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinition.py +17 -16
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionList.py +17 -16
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionPatch.py +17 -16
- pulumi_kubernetes/apiextensions/v1/__init__.py +1 -0
- pulumi_kubernetes/apiextensions/v1/_inputs.py +699 -698
- pulumi_kubernetes/apiextensions/v1/outputs.py +405 -404
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinition.py +17 -16
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionList.py +17 -16
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionPatch.py +17 -16
- pulumi_kubernetes/apiextensions/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/apiextensions/v1beta1/_inputs.py +639 -638
- pulumi_kubernetes/apiextensions/v1beta1/outputs.py +369 -368
- pulumi_kubernetes/apiregistration/__init__.py +1 -0
- pulumi_kubernetes/apiregistration/v1/APIService.py +17 -16
- pulumi_kubernetes/apiregistration/v1/APIServiceList.py +17 -16
- pulumi_kubernetes/apiregistration/v1/APIServicePatch.py +17 -16
- pulumi_kubernetes/apiregistration/v1/__init__.py +1 -0
- pulumi_kubernetes/apiregistration/v1/_inputs.py +126 -125
- pulumi_kubernetes/apiregistration/v1/outputs.py +91 -90
- pulumi_kubernetes/apiregistration/v1beta1/APIService.py +17 -16
- pulumi_kubernetes/apiregistration/v1beta1/APIServiceList.py +17 -16
- pulumi_kubernetes/apiregistration/v1beta1/APIServicePatch.py +17 -16
- pulumi_kubernetes/apiregistration/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/apiregistration/v1beta1/_inputs.py +126 -125
- pulumi_kubernetes/apiregistration/v1beta1/outputs.py +91 -90
- pulumi_kubernetes/apps/__init__.py +1 -0
- pulumi_kubernetes/apps/v1/ControllerRevision.py +25 -24
- pulumi_kubernetes/apps/v1/ControllerRevisionList.py +17 -16
- pulumi_kubernetes/apps/v1/ControllerRevisionPatch.py +25 -24
- pulumi_kubernetes/apps/v1/DaemonSet.py +17 -16
- pulumi_kubernetes/apps/v1/DaemonSetList.py +17 -16
- pulumi_kubernetes/apps/v1/DaemonSetPatch.py +17 -16
- pulumi_kubernetes/apps/v1/Deployment.py +17 -16
- pulumi_kubernetes/apps/v1/DeploymentList.py +17 -16
- pulumi_kubernetes/apps/v1/DeploymentPatch.py +17 -16
- pulumi_kubernetes/apps/v1/ReplicaSet.py +17 -16
- pulumi_kubernetes/apps/v1/ReplicaSetList.py +17 -16
- pulumi_kubernetes/apps/v1/ReplicaSetPatch.py +17 -16
- pulumi_kubernetes/apps/v1/StatefulSet.py +17 -16
- pulumi_kubernetes/apps/v1/StatefulSetList.py +17 -16
- pulumi_kubernetes/apps/v1/StatefulSetPatch.py +17 -16
- pulumi_kubernetes/apps/v1/__init__.py +1 -0
- pulumi_kubernetes/apps/v1/_inputs.py +571 -570
- pulumi_kubernetes/apps/v1/outputs.py +476 -475
- pulumi_kubernetes/apps/v1beta1/ControllerRevision.py +25 -24
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionList.py +17 -16
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionPatch.py +25 -24
- pulumi_kubernetes/apps/v1beta1/Deployment.py +17 -16
- pulumi_kubernetes/apps/v1beta1/DeploymentList.py +17 -16
- pulumi_kubernetes/apps/v1beta1/DeploymentPatch.py +17 -16
- pulumi_kubernetes/apps/v1beta1/StatefulSet.py +17 -16
- pulumi_kubernetes/apps/v1beta1/StatefulSetList.py +17 -16
- pulumi_kubernetes/apps/v1beta1/StatefulSetPatch.py +17 -16
- pulumi_kubernetes/apps/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/apps/v1beta1/_inputs.py +316 -315
- pulumi_kubernetes/apps/v1beta1/outputs.py +260 -259
- pulumi_kubernetes/apps/v1beta2/ControllerRevision.py +25 -24
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionList.py +17 -16
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionPatch.py +25 -24
- pulumi_kubernetes/apps/v1beta2/DaemonSet.py +17 -16
- pulumi_kubernetes/apps/v1beta2/DaemonSetList.py +17 -16
- pulumi_kubernetes/apps/v1beta2/DaemonSetPatch.py +17 -16
- pulumi_kubernetes/apps/v1beta2/Deployment.py +17 -16
- pulumi_kubernetes/apps/v1beta2/DeploymentList.py +17 -16
- pulumi_kubernetes/apps/v1beta2/DeploymentPatch.py +17 -16
- pulumi_kubernetes/apps/v1beta2/ReplicaSet.py +17 -16
- pulumi_kubernetes/apps/v1beta2/ReplicaSetList.py +17 -16
- pulumi_kubernetes/apps/v1beta2/ReplicaSetPatch.py +17 -16
- pulumi_kubernetes/apps/v1beta2/StatefulSet.py +17 -16
- pulumi_kubernetes/apps/v1beta2/StatefulSetList.py +17 -16
- pulumi_kubernetes/apps/v1beta2/StatefulSetPatch.py +17 -16
- pulumi_kubernetes/apps/v1beta2/__init__.py +1 -0
- pulumi_kubernetes/apps/v1beta2/_inputs.py +506 -505
- pulumi_kubernetes/apps/v1beta2/outputs.py +442 -441
- pulumi_kubernetes/auditregistration/__init__.py +1 -0
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSink.py +17 -16
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkList.py +17 -16
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkPatch.py +17 -16
- pulumi_kubernetes/auditregistration/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/auditregistration/v1alpha1/_inputs.py +111 -110
- pulumi_kubernetes/auditregistration/v1alpha1/outputs.py +67 -66
- pulumi_kubernetes/autoscaling/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscaler.py +17 -16
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerList.py +17 -16
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerPatch.py +17 -16
- pulumi_kubernetes/autoscaling/v1/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v1/_inputs.py +96 -95
- pulumi_kubernetes/autoscaling/v1/outputs.py +73 -72
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscaler.py +17 -16
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerList.py +17 -16
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerPatch.py +17 -16
- pulumi_kubernetes/autoscaling/v2/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v2/_inputs.py +281 -280
- pulumi_kubernetes/autoscaling/v2/outputs.py +217 -216
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscaler.py +17 -16
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerList.py +17 -16
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerPatch.py +17 -16
- pulumi_kubernetes/autoscaling/v2beta1/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v2beta1/_inputs.py +346 -345
- pulumi_kubernetes/autoscaling/v2beta1/outputs.py +283 -282
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscaler.py +17 -16
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerList.py +17 -16
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerPatch.py +17 -16
- pulumi_kubernetes/autoscaling/v2beta2/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v2beta2/_inputs.py +281 -280
- pulumi_kubernetes/autoscaling/v2beta2/outputs.py +217 -216
- pulumi_kubernetes/batch/__init__.py +1 -0
- pulumi_kubernetes/batch/v1/CronJob.py +17 -16
- pulumi_kubernetes/batch/v1/CronJobList.py +17 -16
- pulumi_kubernetes/batch/v1/CronJobPatch.py +17 -16
- pulumi_kubernetes/batch/v1/Job.py +17 -16
- pulumi_kubernetes/batch/v1/JobList.py +17 -16
- pulumi_kubernetes/batch/v1/JobPatch.py +17 -16
- pulumi_kubernetes/batch/v1/__init__.py +1 -0
- pulumi_kubernetes/batch/v1/_inputs.py +386 -385
- pulumi_kubernetes/batch/v1/outputs.py +289 -288
- pulumi_kubernetes/batch/v1beta1/CronJob.py +17 -16
- pulumi_kubernetes/batch/v1beta1/CronJobList.py +17 -16
- pulumi_kubernetes/batch/v1beta1/CronJobPatch.py +17 -16
- pulumi_kubernetes/batch/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/batch/v1beta1/_inputs.py +76 -75
- pulumi_kubernetes/batch/v1beta1/outputs.py +49 -48
- pulumi_kubernetes/batch/v2alpha1/CronJob.py +17 -16
- pulumi_kubernetes/batch/v2alpha1/CronJobList.py +17 -16
- pulumi_kubernetes/batch/v2alpha1/CronJobPatch.py +17 -16
- pulumi_kubernetes/batch/v2alpha1/__init__.py +1 -0
- pulumi_kubernetes/batch/v2alpha1/_inputs.py +76 -75
- pulumi_kubernetes/batch/v2alpha1/outputs.py +49 -48
- pulumi_kubernetes/certificates/__init__.py +1 -0
- pulumi_kubernetes/certificates/v1/CertificateSigningRequest.py +17 -16
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestList.py +17 -16
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestPatch.py +17 -16
- pulumi_kubernetes/certificates/v1/__init__.py +1 -0
- pulumi_kubernetes/certificates/v1/_inputs.py +126 -125
- pulumi_kubernetes/certificates/v1/outputs.py +97 -96
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundle.py +17 -16
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundleList.py +17 -16
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundlePatch.py +17 -16
- pulumi_kubernetes/certificates/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/certificates/v1alpha1/_inputs.py +31 -30
- pulumi_kubernetes/certificates/v1alpha1/outputs.py +19 -18
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequest.py +17 -16
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestList.py +17 -16
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestPatch.py +17 -16
- pulumi_kubernetes/certificates/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/certificates/v1beta1/_inputs.py +117 -116
- pulumi_kubernetes/certificates/v1beta1/outputs.py +93 -92
- pulumi_kubernetes/coordination/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1/Lease.py +17 -16
- pulumi_kubernetes/coordination/v1/LeaseList.py +17 -16
- pulumi_kubernetes/coordination/v1/LeasePatch.py +17 -16
- pulumi_kubernetes/coordination/v1/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1/_inputs.py +81 -80
- pulumi_kubernetes/coordination/v1/outputs.py +49 -48
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidate.py +17 -16
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidateList.py +17 -16
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidatePatch.py +17 -16
- pulumi_kubernetes/coordination/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1alpha1/_inputs.py +71 -70
- pulumi_kubernetes/coordination/v1alpha1/outputs.py +43 -42
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidate.py +17 -16
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidateList.py +17 -16
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidatePatch.py +17 -16
- pulumi_kubernetes/coordination/v1alpha2/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1alpha2/_inputs.py +71 -70
- pulumi_kubernetes/coordination/v1alpha2/outputs.py +43 -42
- pulumi_kubernetes/coordination/v1beta1/Lease.py +17 -16
- pulumi_kubernetes/coordination/v1beta1/LeaseList.py +17 -16
- pulumi_kubernetes/coordination/v1beta1/LeasePatch.py +17 -16
- pulumi_kubernetes/coordination/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1beta1/_inputs.py +61 -60
- pulumi_kubernetes/coordination/v1beta1/outputs.py +37 -36
- pulumi_kubernetes/core/__init__.py +1 -0
- pulumi_kubernetes/core/v1/Binding.py +17 -16
- pulumi_kubernetes/core/v1/BindingPatch.py +17 -16
- pulumi_kubernetes/core/v1/ConfigMap.py +41 -40
- pulumi_kubernetes/core/v1/ConfigMapList.py +17 -16
- pulumi_kubernetes/core/v1/ConfigMapPatch.py +41 -40
- pulumi_kubernetes/core/v1/Endpoints.py +17 -16
- pulumi_kubernetes/core/v1/EndpointsList.py +17 -16
- pulumi_kubernetes/core/v1/EndpointsPatch.py +17 -16
- pulumi_kubernetes/core/v1/Event.py +97 -96
- pulumi_kubernetes/core/v1/EventList.py +17 -16
- pulumi_kubernetes/core/v1/EventPatch.py +97 -96
- pulumi_kubernetes/core/v1/LimitRange.py +17 -16
- pulumi_kubernetes/core/v1/LimitRangeList.py +17 -16
- pulumi_kubernetes/core/v1/LimitRangePatch.py +17 -16
- pulumi_kubernetes/core/v1/Namespace.py +17 -16
- pulumi_kubernetes/core/v1/NamespaceList.py +17 -16
- pulumi_kubernetes/core/v1/NamespacePatch.py +17 -16
- pulumi_kubernetes/core/v1/Node.py +17 -16
- pulumi_kubernetes/core/v1/NodeList.py +17 -16
- pulumi_kubernetes/core/v1/NodePatch.py +17 -16
- pulumi_kubernetes/core/v1/PersistentVolume.py +17 -16
- pulumi_kubernetes/core/v1/PersistentVolumeClaim.py +17 -16
- pulumi_kubernetes/core/v1/PersistentVolumeClaimList.py +17 -16
- pulumi_kubernetes/core/v1/PersistentVolumeClaimPatch.py +17 -16
- pulumi_kubernetes/core/v1/PersistentVolumeList.py +17 -16
- pulumi_kubernetes/core/v1/PersistentVolumePatch.py +17 -16
- pulumi_kubernetes/core/v1/Pod.py +17 -16
- pulumi_kubernetes/core/v1/PodList.py +17 -16
- pulumi_kubernetes/core/v1/PodPatch.py +17 -16
- pulumi_kubernetes/core/v1/PodTemplate.py +17 -16
- pulumi_kubernetes/core/v1/PodTemplateList.py +17 -16
- pulumi_kubernetes/core/v1/PodTemplatePatch.py +17 -16
- pulumi_kubernetes/core/v1/ReplicationController.py +17 -16
- pulumi_kubernetes/core/v1/ReplicationControllerList.py +17 -16
- pulumi_kubernetes/core/v1/ReplicationControllerPatch.py +17 -16
- pulumi_kubernetes/core/v1/ResourceQuota.py +17 -16
- pulumi_kubernetes/core/v1/ResourceQuotaList.py +17 -16
- pulumi_kubernetes/core/v1/ResourceQuotaPatch.py +17 -16
- pulumi_kubernetes/core/v1/Secret.py +49 -48
- pulumi_kubernetes/core/v1/SecretList.py +17 -16
- pulumi_kubernetes/core/v1/SecretPatch.py +49 -48
- pulumi_kubernetes/core/v1/Service.py +17 -16
- pulumi_kubernetes/core/v1/ServiceAccount.py +25 -24
- pulumi_kubernetes/core/v1/ServiceAccountList.py +17 -16
- pulumi_kubernetes/core/v1/ServiceAccountPatch.py +25 -24
- pulumi_kubernetes/core/v1/ServiceList.py +17 -16
- pulumi_kubernetes/core/v1/ServicePatch.py +17 -16
- pulumi_kubernetes/core/v1/__init__.py +1 -0
- pulumi_kubernetes/core/v1/_enums.py +3 -1
- pulumi_kubernetes/core/v1/_inputs.py +5506 -5505
- pulumi_kubernetes/core/v1/outputs.py +3613 -3612
- pulumi_kubernetes/discovery/__init__.py +1 -0
- pulumi_kubernetes/discovery/v1/EndpointSlice.py +25 -24
- pulumi_kubernetes/discovery/v1/EndpointSliceList.py +17 -16
- pulumi_kubernetes/discovery/v1/EndpointSlicePatch.py +25 -24
- pulumi_kubernetes/discovery/v1/__init__.py +1 -0
- pulumi_kubernetes/discovery/v1/_inputs.py +146 -145
- pulumi_kubernetes/discovery/v1/outputs.py +88 -87
- pulumi_kubernetes/discovery/v1beta1/EndpointSlice.py +25 -24
- pulumi_kubernetes/discovery/v1beta1/EndpointSliceList.py +17 -16
- pulumi_kubernetes/discovery/v1beta1/EndpointSlicePatch.py +25 -24
- pulumi_kubernetes/discovery/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/discovery/v1beta1/_inputs.py +126 -125
- pulumi_kubernetes/discovery/v1beta1/outputs.py +76 -75
- pulumi_kubernetes/events/__init__.py +1 -0
- pulumi_kubernetes/events/v1/Event.py +97 -96
- pulumi_kubernetes/events/v1/EventList.py +17 -16
- pulumi_kubernetes/events/v1/EventPatch.py +97 -96
- pulumi_kubernetes/events/v1/__init__.py +1 -0
- pulumi_kubernetes/events/v1/_inputs.py +81 -80
- pulumi_kubernetes/events/v1/outputs.py +49 -48
- pulumi_kubernetes/events/v1beta1/Event.py +97 -96
- pulumi_kubernetes/events/v1beta1/EventList.py +17 -16
- pulumi_kubernetes/events/v1beta1/EventPatch.py +97 -96
- pulumi_kubernetes/events/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/events/v1beta1/_inputs.py +91 -90
- pulumi_kubernetes/events/v1beta1/outputs.py +55 -54
- pulumi_kubernetes/extensions/__init__.py +1 -0
- pulumi_kubernetes/extensions/v1beta1/DaemonSet.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/DaemonSetList.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/DaemonSetPatch.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/Deployment.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/DeploymentList.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/DeploymentPatch.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/Ingress.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/IngressList.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/IngressPatch.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicy.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyList.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyPatch.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicy.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyList.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyPatch.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/ReplicaSet.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetList.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetPatch.py +17 -16
- pulumi_kubernetes/extensions/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/extensions/v1beta1/_inputs.py +826 -825
- pulumi_kubernetes/extensions/v1beta1/outputs.py +587 -586
- pulumi_kubernetes/flowcontrol/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1/FlowSchema.py +17 -16
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaList.py +17 -16
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaPatch.py +17 -16
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfiguration.py +17 -16
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationList.py +17 -16
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationPatch.py +17 -16
- pulumi_kubernetes/flowcontrol/v1/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1/_inputs.py +321 -320
- pulumi_kubernetes/flowcontrol/v1/outputs.py +223 -222
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchema.py +17 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaList.py +17 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaPatch.py +17 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfiguration.py +17 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationList.py +17 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationPatch.py +17 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1alpha1/_inputs.py +281 -280
- pulumi_kubernetes/flowcontrol/v1alpha1/outputs.py +199 -198
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchema.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaList.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaPatch.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfiguration.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationList.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationPatch.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1beta1/_inputs.py +281 -280
- pulumi_kubernetes/flowcontrol/v1beta1/outputs.py +199 -198
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchema.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaList.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaPatch.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfiguration.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationList.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationPatch.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta2/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1beta2/_inputs.py +321 -320
- pulumi_kubernetes/flowcontrol/v1beta2/outputs.py +223 -222
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchema.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaList.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaPatch.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfiguration.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationList.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationPatch.py +17 -16
- pulumi_kubernetes/flowcontrol/v1beta3/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1beta3/_inputs.py +321 -320
- pulumi_kubernetes/flowcontrol/v1beta3/outputs.py +223 -222
- pulumi_kubernetes/helm/__init__.py +1 -0
- pulumi_kubernetes/helm/v3/Release.py +246 -245
- pulumi_kubernetes/helm/v3/__init__.py +1 -0
- pulumi_kubernetes/helm/v3/_inputs.py +31 -30
- pulumi_kubernetes/helm/v3/outputs.py +41 -40
- pulumi_kubernetes/helm/v4/Chart.py +71 -70
- pulumi_kubernetes/helm/v4/__init__.py +1 -0
- pulumi_kubernetes/helm/v4/_inputs.py +26 -25
- pulumi_kubernetes/kustomize/__init__.py +1 -0
- pulumi_kubernetes/kustomize/v2/Directory.py +30 -29
- pulumi_kubernetes/kustomize/v2/__init__.py +1 -0
- pulumi_kubernetes/meta/__init__.py +1 -0
- pulumi_kubernetes/meta/v1/Status.py +42 -41
- pulumi_kubernetes/meta/v1/StatusPatch.py +42 -41
- pulumi_kubernetes/meta/v1/__init__.py +1 -0
- pulumi_kubernetes/meta/v1/_inputs.py +451 -450
- pulumi_kubernetes/meta/v1/outputs.py +289 -288
- pulumi_kubernetes/networking/__init__.py +1 -0
- pulumi_kubernetes/networking/v1/Ingress.py +17 -16
- pulumi_kubernetes/networking/v1/IngressClass.py +17 -16
- pulumi_kubernetes/networking/v1/IngressClassList.py +17 -16
- pulumi_kubernetes/networking/v1/IngressClassPatch.py +17 -16
- pulumi_kubernetes/networking/v1/IngressList.py +17 -16
- pulumi_kubernetes/networking/v1/IngressPatch.py +17 -16
- pulumi_kubernetes/networking/v1/NetworkPolicy.py +17 -16
- pulumi_kubernetes/networking/v1/NetworkPolicyList.py +17 -16
- pulumi_kubernetes/networking/v1/NetworkPolicyPatch.py +17 -16
- pulumi_kubernetes/networking/v1/__init__.py +1 -0
- pulumi_kubernetes/networking/v1/_inputs.py +266 -265
- pulumi_kubernetes/networking/v1/outputs.py +171 -170
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDR.py +17 -16
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRList.py +17 -16
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRPatch.py +17 -16
- pulumi_kubernetes/networking/v1alpha1/IPAddress.py +17 -16
- pulumi_kubernetes/networking/v1alpha1/IPAddressList.py +17 -16
- pulumi_kubernetes/networking/v1alpha1/IPAddressPatch.py +17 -16
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDR.py +17 -16
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRList.py +17 -16
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRPatch.py +17 -16
- pulumi_kubernetes/networking/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/networking/v1alpha1/_inputs.py +121 -120
- pulumi_kubernetes/networking/v1alpha1/outputs.py +73 -72
- pulumi_kubernetes/networking/v1beta1/IPAddress.py +17 -16
- pulumi_kubernetes/networking/v1beta1/IPAddressList.py +17 -16
- pulumi_kubernetes/networking/v1beta1/IPAddressPatch.py +17 -16
- pulumi_kubernetes/networking/v1beta1/Ingress.py +17 -16
- pulumi_kubernetes/networking/v1beta1/IngressClass.py +17 -16
- pulumi_kubernetes/networking/v1beta1/IngressClassList.py +17 -16
- pulumi_kubernetes/networking/v1beta1/IngressClassPatch.py +17 -16
- pulumi_kubernetes/networking/v1beta1/IngressList.py +17 -16
- pulumi_kubernetes/networking/v1beta1/IngressPatch.py +17 -16
- pulumi_kubernetes/networking/v1beta1/ServiceCIDR.py +17 -16
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRList.py +17 -16
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRPatch.py +17 -16
- pulumi_kubernetes/networking/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/networking/v1beta1/_inputs.py +181 -180
- pulumi_kubernetes/networking/v1beta1/outputs.py +105 -104
- pulumi_kubernetes/node/__init__.py +1 -0
- pulumi_kubernetes/node/v1/RuntimeClass.py +25 -24
- pulumi_kubernetes/node/v1/RuntimeClassList.py +17 -16
- pulumi_kubernetes/node/v1/RuntimeClassPatch.py +25 -24
- pulumi_kubernetes/node/v1/__init__.py +1 -0
- pulumi_kubernetes/node/v1/_inputs.py +36 -35
- pulumi_kubernetes/node/v1/outputs.py +22 -21
- pulumi_kubernetes/node/v1alpha1/RuntimeClass.py +17 -16
- pulumi_kubernetes/node/v1alpha1/RuntimeClassList.py +17 -16
- pulumi_kubernetes/node/v1alpha1/RuntimeClassPatch.py +17 -16
- pulumi_kubernetes/node/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/node/v1alpha1/_inputs.py +41 -40
- pulumi_kubernetes/node/v1alpha1/outputs.py +25 -24
- pulumi_kubernetes/node/v1beta1/RuntimeClass.py +25 -24
- pulumi_kubernetes/node/v1beta1/RuntimeClassList.py +17 -16
- pulumi_kubernetes/node/v1beta1/RuntimeClassPatch.py +25 -24
- pulumi_kubernetes/node/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/node/v1beta1/_inputs.py +36 -35
- pulumi_kubernetes/node/v1beta1/outputs.py +22 -21
- pulumi_kubernetes/policy/__init__.py +1 -0
- pulumi_kubernetes/policy/v1/PodDisruptionBudget.py +17 -16
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetList.py +17 -16
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetPatch.py +17 -16
- pulumi_kubernetes/policy/v1/__init__.py +1 -0
- pulumi_kubernetes/policy/v1/_inputs.py +71 -70
- pulumi_kubernetes/policy/v1/outputs.py +53 -52
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudget.py +17 -16
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetList.py +17 -16
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetPatch.py +17 -16
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicy.py +17 -16
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyList.py +17 -16
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyPatch.py +17 -16
- pulumi_kubernetes/policy/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/policy/v1beta1/_inputs.py +361 -360
- pulumi_kubernetes/policy/v1beta1/outputs.py +227 -226
- pulumi_kubernetes/provider.py +92 -91
- pulumi_kubernetes/pulumi-plugin.json +1 -1
- pulumi_kubernetes/rbac/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1/ClusterRole.py +17 -16
- pulumi_kubernetes/rbac/v1/ClusterRoleBinding.py +17 -16
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingList.py +17 -16
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingPatch.py +17 -16
- pulumi_kubernetes/rbac/v1/ClusterRoleList.py +17 -16
- pulumi_kubernetes/rbac/v1/ClusterRolePatch.py +17 -16
- pulumi_kubernetes/rbac/v1/Role.py +17 -16
- pulumi_kubernetes/rbac/v1/RoleBinding.py +17 -16
- pulumi_kubernetes/rbac/v1/RoleBindingList.py +17 -16
- pulumi_kubernetes/rbac/v1/RoleBindingPatch.py +17 -16
- pulumi_kubernetes/rbac/v1/RoleList.py +17 -16
- pulumi_kubernetes/rbac/v1/RolePatch.py +17 -16
- pulumi_kubernetes/rbac/v1/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1/_inputs.py +161 -160
- pulumi_kubernetes/rbac/v1/outputs.py +97 -96
- pulumi_kubernetes/rbac/v1alpha1/ClusterRole.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBinding.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingList.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingPatch.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleList.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRolePatch.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/Role.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/RoleBinding.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingList.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingPatch.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/RoleList.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/RolePatch.py +17 -16
- pulumi_kubernetes/rbac/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1alpha1/_inputs.py +161 -160
- pulumi_kubernetes/rbac/v1alpha1/outputs.py +97 -96
- pulumi_kubernetes/rbac/v1beta1/ClusterRole.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBinding.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingList.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingPatch.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleList.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRolePatch.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/Role.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/RoleBinding.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/RoleBindingList.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/RoleBindingPatch.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/RoleList.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/RolePatch.py +17 -16
- pulumi_kubernetes/rbac/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1beta1/_inputs.py +161 -160
- pulumi_kubernetes/rbac/v1beta1/outputs.py +97 -96
- pulumi_kubernetes/resource/__init__.py +1 -0
- pulumi_kubernetes/resource/v1alpha1/PodScheduling.py +17 -16
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingList.py +17 -16
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingPatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +17 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimList.py +17 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +17 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplateList.py +17 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClass.py +25 -24
- pulumi_kubernetes/resource/v1alpha1/ResourceClassList.py +17 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClassPatch.py +25 -24
- pulumi_kubernetes/resource/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/resource/v1alpha1/_inputs.py +206 -205
- pulumi_kubernetes/resource/v1alpha1/outputs.py +154 -153
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContext.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextList.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextPatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimList.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParameters.py +25 -24
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersList.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersPatch.py +25 -24
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplateList.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClass.py +33 -32
- pulumi_kubernetes/resource/v1alpha2/ResourceClassList.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParameters.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersList.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersPatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClassPatch.py +33 -32
- pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +33 -32
- pulumi_kubernetes/resource/v1alpha2/ResourceSliceList.py +17 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +33 -32
- pulumi_kubernetes/resource/v1alpha2/__init__.py +1 -0
- pulumi_kubernetes/resource/v1alpha2/_inputs.py +411 -410
- pulumi_kubernetes/resource/v1alpha2/outputs.py +286 -285
- pulumi_kubernetes/resource/v1alpha3/DeviceClass.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/DeviceClassList.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/DeviceClassPatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContext.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextList.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextPatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaim.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimList.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimPatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplate.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplateList.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplatePatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceSlice.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceSliceList.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceSlicePatch.py +17 -16
- pulumi_kubernetes/resource/v1alpha3/__init__.py +1 -0
- pulumi_kubernetes/resource/v1alpha3/_inputs.py +386 -385
- pulumi_kubernetes/resource/v1alpha3/outputs.py +295 -294
- pulumi_kubernetes/resource/v1beta1/DeviceClass.py +17 -16
- pulumi_kubernetes/resource/v1beta1/DeviceClassList.py +17 -16
- pulumi_kubernetes/resource/v1beta1/DeviceClassPatch.py +17 -16
- pulumi_kubernetes/resource/v1beta1/ResourceClaim.py +17 -16
- pulumi_kubernetes/resource/v1beta1/ResourceClaimList.py +17 -16
- pulumi_kubernetes/resource/v1beta1/ResourceClaimPatch.py +17 -16
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplate.py +17 -16
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplateList.py +17 -16
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplatePatch.py +17 -16
- pulumi_kubernetes/resource/v1beta1/ResourceSlice.py +17 -16
- pulumi_kubernetes/resource/v1beta1/ResourceSliceList.py +17 -16
- pulumi_kubernetes/resource/v1beta1/ResourceSlicePatch.py +17 -16
- pulumi_kubernetes/resource/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/resource/v1beta1/_inputs.py +321 -320
- pulumi_kubernetes/resource/v1beta1/outputs.py +244 -243
- pulumi_kubernetes/scheduling/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1/PriorityClass.py +49 -48
- pulumi_kubernetes/scheduling/v1/PriorityClassList.py +17 -16
- pulumi_kubernetes/scheduling/v1/PriorityClassPatch.py +49 -48
- pulumi_kubernetes/scheduling/v1/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1/_inputs.py +31 -30
- pulumi_kubernetes/scheduling/v1/outputs.py +19 -18
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClass.py +49 -48
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassList.py +17 -16
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassPatch.py +49 -48
- pulumi_kubernetes/scheduling/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1alpha1/_inputs.py +31 -30
- pulumi_kubernetes/scheduling/v1alpha1/outputs.py +19 -18
- pulumi_kubernetes/scheduling/v1beta1/PriorityClass.py +49 -48
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassList.py +17 -16
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassPatch.py +49 -48
- pulumi_kubernetes/scheduling/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1beta1/_inputs.py +31 -30
- pulumi_kubernetes/scheduling/v1beta1/outputs.py +19 -18
- pulumi_kubernetes/settings/__init__.py +1 -0
- pulumi_kubernetes/settings/v1alpha1/PodPreset.py +17 -16
- pulumi_kubernetes/settings/v1alpha1/PodPresetList.py +17 -16
- pulumi_kubernetes/settings/v1alpha1/PodPresetPatch.py +17 -16
- pulumi_kubernetes/settings/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/settings/v1alpha1/_inputs.py +11 -10
- pulumi_kubernetes/settings/v1alpha1/outputs.py +7 -6
- pulumi_kubernetes/storage/__init__.py +1 -0
- pulumi_kubernetes/storage/v1/CSIDriver.py +17 -16
- pulumi_kubernetes/storage/v1/CSIDriverList.py +17 -16
- pulumi_kubernetes/storage/v1/CSIDriverPatch.py +17 -16
- pulumi_kubernetes/storage/v1/CSINode.py +17 -16
- pulumi_kubernetes/storage/v1/CSINodeList.py +17 -16
- pulumi_kubernetes/storage/v1/CSINodePatch.py +17 -16
- pulumi_kubernetes/storage/v1/CSIStorageCapacity.py +41 -40
- pulumi_kubernetes/storage/v1/CSIStorageCapacityList.py +17 -16
- pulumi_kubernetes/storage/v1/CSIStorageCapacityPatch.py +41 -40
- pulumi_kubernetes/storage/v1/StorageClass.py +65 -64
- pulumi_kubernetes/storage/v1/StorageClassList.py +17 -16
- pulumi_kubernetes/storage/v1/StorageClassPatch.py +65 -64
- pulumi_kubernetes/storage/v1/VolumeAttachment.py +17 -16
- pulumi_kubernetes/storage/v1/VolumeAttachmentList.py +17 -16
- pulumi_kubernetes/storage/v1/VolumeAttachmentPatch.py +17 -16
- pulumi_kubernetes/storage/v1/__init__.py +1 -0
- pulumi_kubernetes/storage/v1/_inputs.py +276 -275
- pulumi_kubernetes/storage/v1/outputs.py +178 -177
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachment.py +17 -16
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentList.py +17 -16
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentPatch.py +17 -16
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClass.py +33 -32
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassList.py +17 -16
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassPatch.py +33 -32
- pulumi_kubernetes/storage/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/storage/v1alpha1/_inputs.py +81 -80
- pulumi_kubernetes/storage/v1alpha1/outputs.py +61 -60
- pulumi_kubernetes/storage/v1beta1/CSIDriver.py +17 -16
- pulumi_kubernetes/storage/v1beta1/CSIDriverList.py +17 -16
- pulumi_kubernetes/storage/v1beta1/CSIDriverPatch.py +17 -16
- pulumi_kubernetes/storage/v1beta1/CSINode.py +17 -16
- pulumi_kubernetes/storage/v1beta1/CSINodeList.py +17 -16
- pulumi_kubernetes/storage/v1beta1/CSINodePatch.py +17 -16
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacity.py +41 -40
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityList.py +17 -16
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityPatch.py +41 -40
- pulumi_kubernetes/storage/v1beta1/StorageClass.py +65 -64
- pulumi_kubernetes/storage/v1beta1/StorageClassList.py +17 -16
- pulumi_kubernetes/storage/v1beta1/StorageClassPatch.py +65 -64
- pulumi_kubernetes/storage/v1beta1/VolumeAttachment.py +17 -16
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentList.py +17 -16
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentPatch.py +17 -16
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClass.py +33 -32
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassList.py +17 -16
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassPatch.py +33 -32
- pulumi_kubernetes/storage/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/storage/v1beta1/_inputs.py +286 -285
- pulumi_kubernetes/storage/v1beta1/outputs.py +184 -183
- pulumi_kubernetes/storagemigration/__init__.py +1 -0
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigration.py +17 -16
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationList.py +17 -16
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationPatch.py +17 -16
- pulumi_kubernetes/storagemigration/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/storagemigration/v1alpha1/_inputs.py +81 -80
- pulumi_kubernetes/storagemigration/v1alpha1/outputs.py +67 -66
- pulumi_kubernetes/yaml/__init__.py +1 -0
- pulumi_kubernetes/yaml/v2/ConfigFile.py +22 -21
- pulumi_kubernetes/yaml/v2/ConfigGroup.py +29 -28
- pulumi_kubernetes/yaml/v2/__init__.py +1 -0
- {pulumi_kubernetes-4.22.1.dist-info → pulumi_kubernetes-4.22.2.dist-info}/METADATA +2 -2
- pulumi_kubernetes-4.22.2.dist-info/RECORD +679 -0
- {pulumi_kubernetes-4.22.1.dist-info → pulumi_kubernetes-4.22.2.dist-info}/WHEEL +1 -1
- pulumi_kubernetes-4.22.1.dist-info/RECORD +0 -679
- {pulumi_kubernetes-4.22.1.dist-info → pulumi_kubernetes-4.22.2.dist-info}/top_level.txt +0 -0
|
@@ -2,6 +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 builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -77,20 +78,20 @@ class CustomResourceColumnDefinition(dict):
|
|
|
77
78
|
return super().get(key, default)
|
|
78
79
|
|
|
79
80
|
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):
|
|
81
|
+
json_path: builtins.str,
|
|
82
|
+
name: builtins.str,
|
|
83
|
+
type: builtins.str,
|
|
84
|
+
description: Optional[builtins.str] = None,
|
|
85
|
+
format: Optional[builtins.str] = None,
|
|
86
|
+
priority: Optional[builtins.int] = None):
|
|
86
87
|
"""
|
|
87
88
|
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.
|
|
89
|
+
: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.
|
|
90
|
+
:param builtins.str name: name is a human readable name for the column.
|
|
91
|
+
: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.
|
|
92
|
+
:param builtins.str description: description is a human readable description of this column.
|
|
93
|
+
: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.
|
|
94
|
+
: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
95
|
"""
|
|
95
96
|
pulumi.set(__self__, "json_path", json_path)
|
|
96
97
|
pulumi.set(__self__, "name", name)
|
|
@@ -104,7 +105,7 @@ class CustomResourceColumnDefinition(dict):
|
|
|
104
105
|
|
|
105
106
|
@property
|
|
106
107
|
@pulumi.getter(name="jsonPath")
|
|
107
|
-
def json_path(self) -> str:
|
|
108
|
+
def json_path(self) -> builtins.str:
|
|
108
109
|
"""
|
|
109
110
|
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
111
|
"""
|
|
@@ -112,7 +113,7 @@ class CustomResourceColumnDefinition(dict):
|
|
|
112
113
|
|
|
113
114
|
@property
|
|
114
115
|
@pulumi.getter
|
|
115
|
-
def name(self) -> str:
|
|
116
|
+
def name(self) -> builtins.str:
|
|
116
117
|
"""
|
|
117
118
|
name is a human readable name for the column.
|
|
118
119
|
"""
|
|
@@ -120,7 +121,7 @@ class CustomResourceColumnDefinition(dict):
|
|
|
120
121
|
|
|
121
122
|
@property
|
|
122
123
|
@pulumi.getter
|
|
123
|
-
def type(self) -> str:
|
|
124
|
+
def type(self) -> builtins.str:
|
|
124
125
|
"""
|
|
125
126
|
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
127
|
"""
|
|
@@ -128,7 +129,7 @@ class CustomResourceColumnDefinition(dict):
|
|
|
128
129
|
|
|
129
130
|
@property
|
|
130
131
|
@pulumi.getter
|
|
131
|
-
def description(self) -> Optional[str]:
|
|
132
|
+
def description(self) -> Optional[builtins.str]:
|
|
132
133
|
"""
|
|
133
134
|
description is a human readable description of this column.
|
|
134
135
|
"""
|
|
@@ -136,7 +137,7 @@ class CustomResourceColumnDefinition(dict):
|
|
|
136
137
|
|
|
137
138
|
@property
|
|
138
139
|
@pulumi.getter
|
|
139
|
-
def format(self) -> Optional[str]:
|
|
140
|
+
def format(self) -> Optional[builtins.str]:
|
|
140
141
|
"""
|
|
141
142
|
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
143
|
"""
|
|
@@ -144,7 +145,7 @@ class CustomResourceColumnDefinition(dict):
|
|
|
144
145
|
|
|
145
146
|
@property
|
|
146
147
|
@pulumi.getter
|
|
147
|
-
def priority(self) -> Optional[int]:
|
|
148
|
+
def priority(self) -> Optional[builtins.int]:
|
|
148
149
|
"""
|
|
149
150
|
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
151
|
"""
|
|
@@ -174,20 +175,20 @@ class CustomResourceColumnDefinitionPatch(dict):
|
|
|
174
175
|
return super().get(key, default)
|
|
175
176
|
|
|
176
177
|
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):
|
|
178
|
+
description: Optional[builtins.str] = None,
|
|
179
|
+
format: Optional[builtins.str] = None,
|
|
180
|
+
json_path: Optional[builtins.str] = None,
|
|
181
|
+
name: Optional[builtins.str] = None,
|
|
182
|
+
priority: Optional[builtins.int] = None,
|
|
183
|
+
type: Optional[builtins.str] = None):
|
|
183
184
|
"""
|
|
184
185
|
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.
|
|
186
|
+
:param builtins.str description: description is a human readable description of this column.
|
|
187
|
+
: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.
|
|
188
|
+
: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.
|
|
189
|
+
:param builtins.str name: name is a human readable name for the column.
|
|
190
|
+
: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.
|
|
191
|
+
: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
192
|
"""
|
|
192
193
|
if description is not None:
|
|
193
194
|
pulumi.set(__self__, "description", description)
|
|
@@ -204,7 +205,7 @@ class CustomResourceColumnDefinitionPatch(dict):
|
|
|
204
205
|
|
|
205
206
|
@property
|
|
206
207
|
@pulumi.getter
|
|
207
|
-
def description(self) -> Optional[str]:
|
|
208
|
+
def description(self) -> Optional[builtins.str]:
|
|
208
209
|
"""
|
|
209
210
|
description is a human readable description of this column.
|
|
210
211
|
"""
|
|
@@ -212,7 +213,7 @@ class CustomResourceColumnDefinitionPatch(dict):
|
|
|
212
213
|
|
|
213
214
|
@property
|
|
214
215
|
@pulumi.getter
|
|
215
|
-
def format(self) -> Optional[str]:
|
|
216
|
+
def format(self) -> Optional[builtins.str]:
|
|
216
217
|
"""
|
|
217
218
|
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
219
|
"""
|
|
@@ -220,7 +221,7 @@ class CustomResourceColumnDefinitionPatch(dict):
|
|
|
220
221
|
|
|
221
222
|
@property
|
|
222
223
|
@pulumi.getter(name="jsonPath")
|
|
223
|
-
def json_path(self) -> Optional[str]:
|
|
224
|
+
def json_path(self) -> Optional[builtins.str]:
|
|
224
225
|
"""
|
|
225
226
|
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
227
|
"""
|
|
@@ -228,7 +229,7 @@ class CustomResourceColumnDefinitionPatch(dict):
|
|
|
228
229
|
|
|
229
230
|
@property
|
|
230
231
|
@pulumi.getter
|
|
231
|
-
def name(self) -> Optional[str]:
|
|
232
|
+
def name(self) -> Optional[builtins.str]:
|
|
232
233
|
"""
|
|
233
234
|
name is a human readable name for the column.
|
|
234
235
|
"""
|
|
@@ -236,7 +237,7 @@ class CustomResourceColumnDefinitionPatch(dict):
|
|
|
236
237
|
|
|
237
238
|
@property
|
|
238
239
|
@pulumi.getter
|
|
239
|
-
def priority(self) -> Optional[int]:
|
|
240
|
+
def priority(self) -> Optional[builtins.int]:
|
|
240
241
|
"""
|
|
241
242
|
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
243
|
"""
|
|
@@ -244,7 +245,7 @@ class CustomResourceColumnDefinitionPatch(dict):
|
|
|
244
245
|
|
|
245
246
|
@property
|
|
246
247
|
@pulumi.getter
|
|
247
|
-
def type(self) -> Optional[str]:
|
|
248
|
+
def type(self) -> Optional[builtins.str]:
|
|
248
249
|
"""
|
|
249
250
|
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
251
|
"""
|
|
@@ -257,11 +258,11 @@ class CustomResourceConversion(dict):
|
|
|
257
258
|
CustomResourceConversion describes how to convert different versions of a CR.
|
|
258
259
|
"""
|
|
259
260
|
def __init__(__self__, *,
|
|
260
|
-
strategy: str,
|
|
261
|
+
strategy: builtins.str,
|
|
261
262
|
webhook: Optional['outputs.WebhookConversion'] = None):
|
|
262
263
|
"""
|
|
263
264
|
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
|
|
265
|
+
: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
266
|
is needed for this option. This requires spec.preserveUnknownFields to be false, and spec.conversion.webhook to be set.
|
|
266
267
|
:param 'WebhookConversionArgs' webhook: webhook describes how to call the conversion webhook. Required when `strategy` is set to `"Webhook"`.
|
|
267
268
|
"""
|
|
@@ -271,7 +272,7 @@ class CustomResourceConversion(dict):
|
|
|
271
272
|
|
|
272
273
|
@property
|
|
273
274
|
@pulumi.getter
|
|
274
|
-
def strategy(self) -> str:
|
|
275
|
+
def strategy(self) -> builtins.str:
|
|
275
276
|
"""
|
|
276
277
|
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
278
|
is needed for this option. This requires spec.preserveUnknownFields to be false, and spec.conversion.webhook to be set.
|
|
@@ -293,11 +294,11 @@ class CustomResourceConversionPatch(dict):
|
|
|
293
294
|
CustomResourceConversion describes how to convert different versions of a CR.
|
|
294
295
|
"""
|
|
295
296
|
def __init__(__self__, *,
|
|
296
|
-
strategy: Optional[str] = None,
|
|
297
|
+
strategy: Optional[builtins.str] = None,
|
|
297
298
|
webhook: Optional['outputs.WebhookConversionPatch'] = None):
|
|
298
299
|
"""
|
|
299
300
|
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
|
|
301
|
+
: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
302
|
is needed for this option. This requires spec.preserveUnknownFields to be false, and spec.conversion.webhook to be set.
|
|
302
303
|
:param 'WebhookConversionPatchArgs' webhook: webhook describes how to call the conversion webhook. Required when `strategy` is set to `"Webhook"`.
|
|
303
304
|
"""
|
|
@@ -308,7 +309,7 @@ class CustomResourceConversionPatch(dict):
|
|
|
308
309
|
|
|
309
310
|
@property
|
|
310
311
|
@pulumi.getter
|
|
311
|
-
def strategy(self) -> Optional[str]:
|
|
312
|
+
def strategy(self) -> Optional[builtins.str]:
|
|
312
313
|
"""
|
|
313
314
|
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
315
|
is needed for this option. This requires spec.preserveUnknownFields to be false, and spec.conversion.webhook to be set.
|
|
@@ -348,15 +349,15 @@ class CustomResourceDefinition(dict):
|
|
|
348
349
|
|
|
349
350
|
def __init__(__self__, *,
|
|
350
351
|
spec: 'outputs.CustomResourceDefinitionSpec',
|
|
351
|
-
api_version: Optional[str] = None,
|
|
352
|
-
kind: Optional[str] = None,
|
|
352
|
+
api_version: Optional[builtins.str] = None,
|
|
353
|
+
kind: Optional[builtins.str] = None,
|
|
353
354
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
|
|
354
355
|
status: Optional['outputs.CustomResourceDefinitionStatus'] = None):
|
|
355
356
|
"""
|
|
356
357
|
CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>.
|
|
357
358
|
: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
|
|
359
|
+
: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
|
|
360
|
+
: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
361
|
: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
362
|
:param 'CustomResourceDefinitionStatusArgs' status: status indicates the actual state of the CustomResourceDefinition
|
|
362
363
|
"""
|
|
@@ -380,7 +381,7 @@ class CustomResourceDefinition(dict):
|
|
|
380
381
|
|
|
381
382
|
@property
|
|
382
383
|
@pulumi.getter(name="apiVersion")
|
|
383
|
-
def api_version(self) -> Optional[str]:
|
|
384
|
+
def api_version(self) -> Optional[builtins.str]:
|
|
384
385
|
"""
|
|
385
386
|
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
387
|
"""
|
|
@@ -388,7 +389,7 @@ class CustomResourceDefinition(dict):
|
|
|
388
389
|
|
|
389
390
|
@property
|
|
390
391
|
@pulumi.getter
|
|
391
|
-
def kind(self) -> Optional[str]:
|
|
392
|
+
def kind(self) -> Optional[builtins.str]:
|
|
392
393
|
"""
|
|
393
394
|
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
395
|
"""
|
|
@@ -434,18 +435,18 @@ class CustomResourceDefinitionCondition(dict):
|
|
|
434
435
|
return super().get(key, default)
|
|
435
436
|
|
|
436
437
|
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):
|
|
438
|
+
status: builtins.str,
|
|
439
|
+
type: builtins.str,
|
|
440
|
+
last_transition_time: Optional[builtins.str] = None,
|
|
441
|
+
message: Optional[builtins.str] = None,
|
|
442
|
+
reason: Optional[builtins.str] = None):
|
|
442
443
|
"""
|
|
443
444
|
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.
|
|
445
|
+
:param builtins.str status: status is the status of the condition. Can be True, False, Unknown.
|
|
446
|
+
:param builtins.str type: type is the type of the condition. Types include Established, NamesAccepted and Terminating.
|
|
447
|
+
:param builtins.str last_transition_time: lastTransitionTime last time the condition transitioned from one status to another.
|
|
448
|
+
:param builtins.str message: message is a human-readable message indicating details about last transition.
|
|
449
|
+
:param builtins.str reason: reason is a unique, one-word, CamelCase reason for the condition's last transition.
|
|
449
450
|
"""
|
|
450
451
|
pulumi.set(__self__, "status", status)
|
|
451
452
|
pulumi.set(__self__, "type", type)
|
|
@@ -458,7 +459,7 @@ class CustomResourceDefinitionCondition(dict):
|
|
|
458
459
|
|
|
459
460
|
@property
|
|
460
461
|
@pulumi.getter
|
|
461
|
-
def status(self) -> str:
|
|
462
|
+
def status(self) -> builtins.str:
|
|
462
463
|
"""
|
|
463
464
|
status is the status of the condition. Can be True, False, Unknown.
|
|
464
465
|
"""
|
|
@@ -466,7 +467,7 @@ class CustomResourceDefinitionCondition(dict):
|
|
|
466
467
|
|
|
467
468
|
@property
|
|
468
469
|
@pulumi.getter
|
|
469
|
-
def type(self) -> str:
|
|
470
|
+
def type(self) -> builtins.str:
|
|
470
471
|
"""
|
|
471
472
|
type is the type of the condition. Types include Established, NamesAccepted and Terminating.
|
|
472
473
|
"""
|
|
@@ -474,7 +475,7 @@ class CustomResourceDefinitionCondition(dict):
|
|
|
474
475
|
|
|
475
476
|
@property
|
|
476
477
|
@pulumi.getter(name="lastTransitionTime")
|
|
477
|
-
def last_transition_time(self) -> Optional[str]:
|
|
478
|
+
def last_transition_time(self) -> Optional[builtins.str]:
|
|
478
479
|
"""
|
|
479
480
|
lastTransitionTime last time the condition transitioned from one status to another.
|
|
480
481
|
"""
|
|
@@ -482,7 +483,7 @@ class CustomResourceDefinitionCondition(dict):
|
|
|
482
483
|
|
|
483
484
|
@property
|
|
484
485
|
@pulumi.getter
|
|
485
|
-
def message(self) -> Optional[str]:
|
|
486
|
+
def message(self) -> Optional[builtins.str]:
|
|
486
487
|
"""
|
|
487
488
|
message is a human-readable message indicating details about last transition.
|
|
488
489
|
"""
|
|
@@ -490,7 +491,7 @@ class CustomResourceDefinitionCondition(dict):
|
|
|
490
491
|
|
|
491
492
|
@property
|
|
492
493
|
@pulumi.getter
|
|
493
|
-
def reason(self) -> Optional[str]:
|
|
494
|
+
def reason(self) -> Optional[builtins.str]:
|
|
494
495
|
"""
|
|
495
496
|
reason is a unique, one-word, CamelCase reason for the condition's last transition.
|
|
496
497
|
"""
|
|
@@ -520,18 +521,18 @@ class CustomResourceDefinitionConditionPatch(dict):
|
|
|
520
521
|
return super().get(key, default)
|
|
521
522
|
|
|
522
523
|
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):
|
|
524
|
+
last_transition_time: Optional[builtins.str] = None,
|
|
525
|
+
message: Optional[builtins.str] = None,
|
|
526
|
+
reason: Optional[builtins.str] = None,
|
|
527
|
+
status: Optional[builtins.str] = None,
|
|
528
|
+
type: Optional[builtins.str] = None):
|
|
528
529
|
"""
|
|
529
530
|
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.
|
|
531
|
+
:param builtins.str last_transition_time: lastTransitionTime last time the condition transitioned from one status to another.
|
|
532
|
+
:param builtins.str message: message is a human-readable message indicating details about last transition.
|
|
533
|
+
:param builtins.str reason: reason is a unique, one-word, CamelCase reason for the condition's last transition.
|
|
534
|
+
:param builtins.str status: status is the status of the condition. Can be True, False, Unknown.
|
|
535
|
+
:param builtins.str type: type is the type of the condition. Types include Established, NamesAccepted and Terminating.
|
|
535
536
|
"""
|
|
536
537
|
if last_transition_time is not None:
|
|
537
538
|
pulumi.set(__self__, "last_transition_time", last_transition_time)
|
|
@@ -546,7 +547,7 @@ class CustomResourceDefinitionConditionPatch(dict):
|
|
|
546
547
|
|
|
547
548
|
@property
|
|
548
549
|
@pulumi.getter(name="lastTransitionTime")
|
|
549
|
-
def last_transition_time(self) -> Optional[str]:
|
|
550
|
+
def last_transition_time(self) -> Optional[builtins.str]:
|
|
550
551
|
"""
|
|
551
552
|
lastTransitionTime last time the condition transitioned from one status to another.
|
|
552
553
|
"""
|
|
@@ -554,7 +555,7 @@ class CustomResourceDefinitionConditionPatch(dict):
|
|
|
554
555
|
|
|
555
556
|
@property
|
|
556
557
|
@pulumi.getter
|
|
557
|
-
def message(self) -> Optional[str]:
|
|
558
|
+
def message(self) -> Optional[builtins.str]:
|
|
558
559
|
"""
|
|
559
560
|
message is a human-readable message indicating details about last transition.
|
|
560
561
|
"""
|
|
@@ -562,7 +563,7 @@ class CustomResourceDefinitionConditionPatch(dict):
|
|
|
562
563
|
|
|
563
564
|
@property
|
|
564
565
|
@pulumi.getter
|
|
565
|
-
def reason(self) -> Optional[str]:
|
|
566
|
+
def reason(self) -> Optional[builtins.str]:
|
|
566
567
|
"""
|
|
567
568
|
reason is a unique, one-word, CamelCase reason for the condition's last transition.
|
|
568
569
|
"""
|
|
@@ -570,7 +571,7 @@ class CustomResourceDefinitionConditionPatch(dict):
|
|
|
570
571
|
|
|
571
572
|
@property
|
|
572
573
|
@pulumi.getter
|
|
573
|
-
def status(self) -> Optional[str]:
|
|
574
|
+
def status(self) -> Optional[builtins.str]:
|
|
574
575
|
"""
|
|
575
576
|
status is the status of the condition. Can be True, False, Unknown.
|
|
576
577
|
"""
|
|
@@ -578,7 +579,7 @@ class CustomResourceDefinitionConditionPatch(dict):
|
|
|
578
579
|
|
|
579
580
|
@property
|
|
580
581
|
@pulumi.getter
|
|
581
|
-
def type(self) -> Optional[str]:
|
|
582
|
+
def type(self) -> Optional[builtins.str]:
|
|
582
583
|
"""
|
|
583
584
|
type is the type of the condition. Types include Established, NamesAccepted and Terminating.
|
|
584
585
|
"""
|
|
@@ -610,20 +611,20 @@ class CustomResourceDefinitionNames(dict):
|
|
|
610
611
|
return super().get(key, default)
|
|
611
612
|
|
|
612
613
|
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):
|
|
614
|
+
kind: builtins.str,
|
|
615
|
+
plural: builtins.str,
|
|
616
|
+
categories: Optional[Sequence[builtins.str]] = None,
|
|
617
|
+
list_kind: Optional[builtins.str] = None,
|
|
618
|
+
short_names: Optional[Sequence[builtins.str]] = None,
|
|
619
|
+
singular: Optional[builtins.str] = None):
|
|
619
620
|
"""
|
|
620
621
|
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`.
|
|
622
|
+
: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.
|
|
623
|
+
: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.
|
|
624
|
+
: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`.
|
|
625
|
+
:param builtins.str list_kind: listKind is the serialized kind of the list for this resource. Defaults to "`kind`List".
|
|
626
|
+
: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.
|
|
627
|
+
:param builtins.str singular: singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`.
|
|
627
628
|
"""
|
|
628
629
|
pulumi.set(__self__, "kind", kind)
|
|
629
630
|
pulumi.set(__self__, "plural", plural)
|
|
@@ -638,7 +639,7 @@ class CustomResourceDefinitionNames(dict):
|
|
|
638
639
|
|
|
639
640
|
@property
|
|
640
641
|
@pulumi.getter
|
|
641
|
-
def kind(self) -> str:
|
|
642
|
+
def kind(self) -> builtins.str:
|
|
642
643
|
"""
|
|
643
644
|
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
645
|
"""
|
|
@@ -646,7 +647,7 @@ class CustomResourceDefinitionNames(dict):
|
|
|
646
647
|
|
|
647
648
|
@property
|
|
648
649
|
@pulumi.getter
|
|
649
|
-
def plural(self) -> str:
|
|
650
|
+
def plural(self) -> builtins.str:
|
|
650
651
|
"""
|
|
651
652
|
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
653
|
"""
|
|
@@ -654,7 +655,7 @@ class CustomResourceDefinitionNames(dict):
|
|
|
654
655
|
|
|
655
656
|
@property
|
|
656
657
|
@pulumi.getter
|
|
657
|
-
def categories(self) -> Optional[Sequence[str]]:
|
|
658
|
+
def categories(self) -> Optional[Sequence[builtins.str]]:
|
|
658
659
|
"""
|
|
659
660
|
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
661
|
"""
|
|
@@ -662,7 +663,7 @@ class CustomResourceDefinitionNames(dict):
|
|
|
662
663
|
|
|
663
664
|
@property
|
|
664
665
|
@pulumi.getter(name="listKind")
|
|
665
|
-
def list_kind(self) -> Optional[str]:
|
|
666
|
+
def list_kind(self) -> Optional[builtins.str]:
|
|
666
667
|
"""
|
|
667
668
|
listKind is the serialized kind of the list for this resource. Defaults to "`kind`List".
|
|
668
669
|
"""
|
|
@@ -670,7 +671,7 @@ class CustomResourceDefinitionNames(dict):
|
|
|
670
671
|
|
|
671
672
|
@property
|
|
672
673
|
@pulumi.getter(name="shortNames")
|
|
673
|
-
def short_names(self) -> Optional[Sequence[str]]:
|
|
674
|
+
def short_names(self) -> Optional[Sequence[builtins.str]]:
|
|
674
675
|
"""
|
|
675
676
|
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
677
|
"""
|
|
@@ -678,7 +679,7 @@ class CustomResourceDefinitionNames(dict):
|
|
|
678
679
|
|
|
679
680
|
@property
|
|
680
681
|
@pulumi.getter
|
|
681
|
-
def singular(self) -> Optional[str]:
|
|
682
|
+
def singular(self) -> Optional[builtins.str]:
|
|
682
683
|
"""
|
|
683
684
|
singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`.
|
|
684
685
|
"""
|
|
@@ -710,20 +711,20 @@ class CustomResourceDefinitionNamesPatch(dict):
|
|
|
710
711
|
return super().get(key, default)
|
|
711
712
|
|
|
712
713
|
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):
|
|
714
|
+
categories: Optional[Sequence[builtins.str]] = None,
|
|
715
|
+
kind: Optional[builtins.str] = None,
|
|
716
|
+
list_kind: Optional[builtins.str] = None,
|
|
717
|
+
plural: Optional[builtins.str] = None,
|
|
718
|
+
short_names: Optional[Sequence[builtins.str]] = None,
|
|
719
|
+
singular: Optional[builtins.str] = None):
|
|
719
720
|
"""
|
|
720
721
|
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`.
|
|
722
|
+
: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`.
|
|
723
|
+
: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.
|
|
724
|
+
:param builtins.str list_kind: listKind is the serialized kind of the list for this resource. Defaults to "`kind`List".
|
|
725
|
+
: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.
|
|
726
|
+
: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.
|
|
727
|
+
:param builtins.str singular: singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`.
|
|
727
728
|
"""
|
|
728
729
|
if categories is not None:
|
|
729
730
|
pulumi.set(__self__, "categories", categories)
|
|
@@ -740,7 +741,7 @@ class CustomResourceDefinitionNamesPatch(dict):
|
|
|
740
741
|
|
|
741
742
|
@property
|
|
742
743
|
@pulumi.getter
|
|
743
|
-
def categories(self) -> Optional[Sequence[str]]:
|
|
744
|
+
def categories(self) -> Optional[Sequence[builtins.str]]:
|
|
744
745
|
"""
|
|
745
746
|
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
747
|
"""
|
|
@@ -748,7 +749,7 @@ class CustomResourceDefinitionNamesPatch(dict):
|
|
|
748
749
|
|
|
749
750
|
@property
|
|
750
751
|
@pulumi.getter
|
|
751
|
-
def kind(self) -> Optional[str]:
|
|
752
|
+
def kind(self) -> Optional[builtins.str]:
|
|
752
753
|
"""
|
|
753
754
|
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
755
|
"""
|
|
@@ -756,7 +757,7 @@ class CustomResourceDefinitionNamesPatch(dict):
|
|
|
756
757
|
|
|
757
758
|
@property
|
|
758
759
|
@pulumi.getter(name="listKind")
|
|
759
|
-
def list_kind(self) -> Optional[str]:
|
|
760
|
+
def list_kind(self) -> Optional[builtins.str]:
|
|
760
761
|
"""
|
|
761
762
|
listKind is the serialized kind of the list for this resource. Defaults to "`kind`List".
|
|
762
763
|
"""
|
|
@@ -764,7 +765,7 @@ class CustomResourceDefinitionNamesPatch(dict):
|
|
|
764
765
|
|
|
765
766
|
@property
|
|
766
767
|
@pulumi.getter
|
|
767
|
-
def plural(self) -> Optional[str]:
|
|
768
|
+
def plural(self) -> Optional[builtins.str]:
|
|
768
769
|
"""
|
|
769
770
|
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
771
|
"""
|
|
@@ -772,7 +773,7 @@ class CustomResourceDefinitionNamesPatch(dict):
|
|
|
772
773
|
|
|
773
774
|
@property
|
|
774
775
|
@pulumi.getter(name="shortNames")
|
|
775
|
-
def short_names(self) -> Optional[Sequence[str]]:
|
|
776
|
+
def short_names(self) -> Optional[Sequence[builtins.str]]:
|
|
776
777
|
"""
|
|
777
778
|
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
779
|
"""
|
|
@@ -780,7 +781,7 @@ class CustomResourceDefinitionNamesPatch(dict):
|
|
|
780
781
|
|
|
781
782
|
@property
|
|
782
783
|
@pulumi.getter
|
|
783
|
-
def singular(self) -> Optional[str]:
|
|
784
|
+
def singular(self) -> Optional[builtins.str]:
|
|
784
785
|
"""
|
|
785
786
|
singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`.
|
|
786
787
|
"""
|
|
@@ -810,20 +811,20 @@ class CustomResourceDefinitionSpec(dict):
|
|
|
810
811
|
return super().get(key, default)
|
|
811
812
|
|
|
812
813
|
def __init__(__self__, *,
|
|
813
|
-
group: str,
|
|
814
|
+
group: builtins.str,
|
|
814
815
|
names: 'outputs.CustomResourceDefinitionNames',
|
|
815
|
-
scope: str,
|
|
816
|
+
scope: builtins.str,
|
|
816
817
|
versions: Sequence['outputs.CustomResourceDefinitionVersion'],
|
|
817
818
|
conversion: Optional['outputs.CustomResourceConversion'] = None,
|
|
818
|
-
preserve_unknown_fields: Optional[bool] = None):
|
|
819
|
+
preserve_unknown_fields: Optional[builtins.bool] = None):
|
|
819
820
|
"""
|
|
820
821
|
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>`).
|
|
822
|
+
: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
823
|
: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`.
|
|
824
|
+
:param builtins.str scope: scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`.
|
|
824
825
|
: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
826
|
: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.
|
|
827
|
+
: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
828
|
"""
|
|
828
829
|
pulumi.set(__self__, "group", group)
|
|
829
830
|
pulumi.set(__self__, "names", names)
|
|
@@ -836,7 +837,7 @@ class CustomResourceDefinitionSpec(dict):
|
|
|
836
837
|
|
|
837
838
|
@property
|
|
838
839
|
@pulumi.getter
|
|
839
|
-
def group(self) -> str:
|
|
840
|
+
def group(self) -> builtins.str:
|
|
840
841
|
"""
|
|
841
842
|
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
843
|
"""
|
|
@@ -852,7 +853,7 @@ class CustomResourceDefinitionSpec(dict):
|
|
|
852
853
|
|
|
853
854
|
@property
|
|
854
855
|
@pulumi.getter
|
|
855
|
-
def scope(self) -> str:
|
|
856
|
+
def scope(self) -> builtins.str:
|
|
856
857
|
"""
|
|
857
858
|
scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`.
|
|
858
859
|
"""
|
|
@@ -876,7 +877,7 @@ class CustomResourceDefinitionSpec(dict):
|
|
|
876
877
|
|
|
877
878
|
@property
|
|
878
879
|
@pulumi.getter(name="preserveUnknownFields")
|
|
879
|
-
def preserve_unknown_fields(self) -> Optional[bool]:
|
|
880
|
+
def preserve_unknown_fields(self) -> Optional[builtins.bool]:
|
|
880
881
|
"""
|
|
881
882
|
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
883
|
"""
|
|
@@ -907,18 +908,18 @@ class CustomResourceDefinitionSpecPatch(dict):
|
|
|
907
908
|
|
|
908
909
|
def __init__(__self__, *,
|
|
909
910
|
conversion: Optional['outputs.CustomResourceConversionPatch'] = None,
|
|
910
|
-
group: Optional[str] = None,
|
|
911
|
+
group: Optional[builtins.str] = None,
|
|
911
912
|
names: Optional['outputs.CustomResourceDefinitionNamesPatch'] = None,
|
|
912
|
-
preserve_unknown_fields: Optional[bool] = None,
|
|
913
|
-
scope: Optional[str] = None,
|
|
913
|
+
preserve_unknown_fields: Optional[builtins.bool] = None,
|
|
914
|
+
scope: Optional[builtins.str] = None,
|
|
914
915
|
versions: Optional[Sequence['outputs.CustomResourceDefinitionVersionPatch']] = None):
|
|
915
916
|
"""
|
|
916
917
|
CustomResourceDefinitionSpec describes how a user wants their resource to appear
|
|
917
918
|
: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>`).
|
|
919
|
+
: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
920
|
: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`.
|
|
921
|
+
: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.
|
|
922
|
+
:param builtins.str scope: scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`.
|
|
922
923
|
: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
924
|
"""
|
|
924
925
|
if conversion is not None:
|
|
@@ -944,7 +945,7 @@ class CustomResourceDefinitionSpecPatch(dict):
|
|
|
944
945
|
|
|
945
946
|
@property
|
|
946
947
|
@pulumi.getter
|
|
947
|
-
def group(self) -> Optional[str]:
|
|
948
|
+
def group(self) -> Optional[builtins.str]:
|
|
948
949
|
"""
|
|
949
950
|
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
951
|
"""
|
|
@@ -960,7 +961,7 @@ class CustomResourceDefinitionSpecPatch(dict):
|
|
|
960
961
|
|
|
961
962
|
@property
|
|
962
963
|
@pulumi.getter(name="preserveUnknownFields")
|
|
963
|
-
def preserve_unknown_fields(self) -> Optional[bool]:
|
|
964
|
+
def preserve_unknown_fields(self) -> Optional[builtins.bool]:
|
|
964
965
|
"""
|
|
965
966
|
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
967
|
"""
|
|
@@ -968,7 +969,7 @@ class CustomResourceDefinitionSpecPatch(dict):
|
|
|
968
969
|
|
|
969
970
|
@property
|
|
970
971
|
@pulumi.getter
|
|
971
|
-
def scope(self) -> Optional[str]:
|
|
972
|
+
def scope(self) -> Optional[builtins.str]:
|
|
972
973
|
"""
|
|
973
974
|
scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`.
|
|
974
975
|
"""
|
|
@@ -1009,12 +1010,12 @@ class CustomResourceDefinitionStatus(dict):
|
|
|
1009
1010
|
|
|
1010
1011
|
def __init__(__self__, *,
|
|
1011
1012
|
accepted_names: 'outputs.CustomResourceDefinitionNames',
|
|
1012
|
-
stored_versions: Sequence[str],
|
|
1013
|
+
stored_versions: Sequence[builtins.str],
|
|
1013
1014
|
conditions: Optional[Sequence['outputs.CustomResourceDefinitionCondition']] = None):
|
|
1014
1015
|
"""
|
|
1015
1016
|
CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition
|
|
1016
1017
|
: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.
|
|
1018
|
+
: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
1019
|
:param Sequence['CustomResourceDefinitionConditionArgs'] conditions: conditions indicate state for particular aspects of a CustomResourceDefinition
|
|
1019
1020
|
"""
|
|
1020
1021
|
pulumi.set(__self__, "accepted_names", accepted_names)
|
|
@@ -1032,7 +1033,7 @@ class CustomResourceDefinitionStatus(dict):
|
|
|
1032
1033
|
|
|
1033
1034
|
@property
|
|
1034
1035
|
@pulumi.getter(name="storedVersions")
|
|
1035
|
-
def stored_versions(self) -> Sequence[str]:
|
|
1036
|
+
def stored_versions(self) -> Sequence[builtins.str]:
|
|
1036
1037
|
"""
|
|
1037
1038
|
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
1039
|
"""
|
|
@@ -1074,12 +1075,12 @@ class CustomResourceDefinitionStatusPatch(dict):
|
|
|
1074
1075
|
def __init__(__self__, *,
|
|
1075
1076
|
accepted_names: Optional['outputs.CustomResourceDefinitionNamesPatch'] = None,
|
|
1076
1077
|
conditions: Optional[Sequence['outputs.CustomResourceDefinitionConditionPatch']] = None,
|
|
1077
|
-
stored_versions: Optional[Sequence[str]] = None):
|
|
1078
|
+
stored_versions: Optional[Sequence[builtins.str]] = None):
|
|
1078
1079
|
"""
|
|
1079
1080
|
CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition
|
|
1080
1081
|
: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
1082
|
: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.
|
|
1083
|
+
: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
1084
|
"""
|
|
1084
1085
|
if accepted_names is not None:
|
|
1085
1086
|
pulumi.set(__self__, "accepted_names", accepted_names)
|
|
@@ -1106,7 +1107,7 @@ class CustomResourceDefinitionStatusPatch(dict):
|
|
|
1106
1107
|
|
|
1107
1108
|
@property
|
|
1108
1109
|
@pulumi.getter(name="storedVersions")
|
|
1109
|
-
def stored_versions(self) -> Optional[Sequence[str]]:
|
|
1110
|
+
def stored_versions(self) -> Optional[Sequence[builtins.str]]:
|
|
1110
1111
|
"""
|
|
1111
1112
|
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
1113
|
"""
|
|
@@ -1140,23 +1141,23 @@ class CustomResourceDefinitionVersion(dict):
|
|
|
1140
1141
|
return super().get(key, default)
|
|
1141
1142
|
|
|
1142
1143
|
def __init__(__self__, *,
|
|
1143
|
-
name: str,
|
|
1144
|
-
served: bool,
|
|
1145
|
-
storage: bool,
|
|
1144
|
+
name: builtins.str,
|
|
1145
|
+
served: builtins.bool,
|
|
1146
|
+
storage: builtins.bool,
|
|
1146
1147
|
additional_printer_columns: Optional[Sequence['outputs.CustomResourceColumnDefinition']] = None,
|
|
1147
|
-
deprecated: Optional[bool] = None,
|
|
1148
|
-
deprecation_warning: Optional[str] = None,
|
|
1148
|
+
deprecated: Optional[builtins.bool] = None,
|
|
1149
|
+
deprecation_warning: Optional[builtins.str] = None,
|
|
1149
1150
|
schema: Optional['outputs.CustomResourceValidation'] = None,
|
|
1150
1151
|
selectable_fields: Optional[Sequence['outputs.SelectableField']] = None,
|
|
1151
1152
|
subresources: Optional['outputs.CustomResourceSubresources'] = None):
|
|
1152
1153
|
"""
|
|
1153
1154
|
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.
|
|
1155
|
+
: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.
|
|
1156
|
+
:param builtins.bool served: served is a flag enabling/disabling this version from being served via REST APIs
|
|
1157
|
+
: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
1158
|
: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.
|
|
1159
|
+
: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.
|
|
1160
|
+
: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
1161
|
:param 'CustomResourceValidationArgs' schema: schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource.
|
|
1161
1162
|
: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
1163
|
:param 'CustomResourceSubresourcesArgs' subresources: subresources specify what subresources this version of the defined custom resource have.
|
|
@@ -1179,7 +1180,7 @@ class CustomResourceDefinitionVersion(dict):
|
|
|
1179
1180
|
|
|
1180
1181
|
@property
|
|
1181
1182
|
@pulumi.getter
|
|
1182
|
-
def name(self) -> str:
|
|
1183
|
+
def name(self) -> builtins.str:
|
|
1183
1184
|
"""
|
|
1184
1185
|
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
1186
|
"""
|
|
@@ -1187,7 +1188,7 @@ class CustomResourceDefinitionVersion(dict):
|
|
|
1187
1188
|
|
|
1188
1189
|
@property
|
|
1189
1190
|
@pulumi.getter
|
|
1190
|
-
def served(self) -> bool:
|
|
1191
|
+
def served(self) -> builtins.bool:
|
|
1191
1192
|
"""
|
|
1192
1193
|
served is a flag enabling/disabling this version from being served via REST APIs
|
|
1193
1194
|
"""
|
|
@@ -1195,7 +1196,7 @@ class CustomResourceDefinitionVersion(dict):
|
|
|
1195
1196
|
|
|
1196
1197
|
@property
|
|
1197
1198
|
@pulumi.getter
|
|
1198
|
-
def storage(self) -> bool:
|
|
1199
|
+
def storage(self) -> builtins.bool:
|
|
1199
1200
|
"""
|
|
1200
1201
|
storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true.
|
|
1201
1202
|
"""
|
|
@@ -1211,7 +1212,7 @@ class CustomResourceDefinitionVersion(dict):
|
|
|
1211
1212
|
|
|
1212
1213
|
@property
|
|
1213
1214
|
@pulumi.getter
|
|
1214
|
-
def deprecated(self) -> Optional[bool]:
|
|
1215
|
+
def deprecated(self) -> Optional[builtins.bool]:
|
|
1215
1216
|
"""
|
|
1216
1217
|
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
1218
|
"""
|
|
@@ -1219,7 +1220,7 @@ class CustomResourceDefinitionVersion(dict):
|
|
|
1219
1220
|
|
|
1220
1221
|
@property
|
|
1221
1222
|
@pulumi.getter(name="deprecationWarning")
|
|
1222
|
-
def deprecation_warning(self) -> Optional[str]:
|
|
1223
|
+
def deprecation_warning(self) -> Optional[builtins.str]:
|
|
1223
1224
|
"""
|
|
1224
1225
|
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
1226
|
"""
|
|
@@ -1278,24 +1279,24 @@ class CustomResourceDefinitionVersionPatch(dict):
|
|
|
1278
1279
|
|
|
1279
1280
|
def __init__(__self__, *,
|
|
1280
1281
|
additional_printer_columns: Optional[Sequence['outputs.CustomResourceColumnDefinitionPatch']] = None,
|
|
1281
|
-
deprecated: Optional[bool] = None,
|
|
1282
|
-
deprecation_warning: Optional[str] = None,
|
|
1283
|
-
name: Optional[str] = None,
|
|
1282
|
+
deprecated: Optional[builtins.bool] = None,
|
|
1283
|
+
deprecation_warning: Optional[builtins.str] = None,
|
|
1284
|
+
name: Optional[builtins.str] = None,
|
|
1284
1285
|
schema: Optional['outputs.CustomResourceValidationPatch'] = None,
|
|
1285
1286
|
selectable_fields: Optional[Sequence['outputs.SelectableFieldPatch']] = None,
|
|
1286
|
-
served: Optional[bool] = None,
|
|
1287
|
-
storage: Optional[bool] = None,
|
|
1287
|
+
served: Optional[builtins.bool] = None,
|
|
1288
|
+
storage: Optional[builtins.bool] = None,
|
|
1288
1289
|
subresources: Optional['outputs.CustomResourceSubresourcesPatch'] = None):
|
|
1289
1290
|
"""
|
|
1290
1291
|
CustomResourceDefinitionVersion describes a version for CRD.
|
|
1291
1292
|
: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.
|
|
1293
|
+
: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.
|
|
1294
|
+
: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.
|
|
1295
|
+
: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
1296
|
:param 'CustomResourceValidationPatchArgs' schema: schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource.
|
|
1296
1297
|
: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.
|
|
1298
|
+
:param builtins.bool served: served is a flag enabling/disabling this version from being served via REST APIs
|
|
1299
|
+
: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
1300
|
:param 'CustomResourceSubresourcesPatchArgs' subresources: subresources specify what subresources this version of the defined custom resource have.
|
|
1300
1301
|
"""
|
|
1301
1302
|
if additional_printer_columns is not None:
|
|
@@ -1327,7 +1328,7 @@ class CustomResourceDefinitionVersionPatch(dict):
|
|
|
1327
1328
|
|
|
1328
1329
|
@property
|
|
1329
1330
|
@pulumi.getter
|
|
1330
|
-
def deprecated(self) -> Optional[bool]:
|
|
1331
|
+
def deprecated(self) -> Optional[builtins.bool]:
|
|
1331
1332
|
"""
|
|
1332
1333
|
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
1334
|
"""
|
|
@@ -1335,7 +1336,7 @@ class CustomResourceDefinitionVersionPatch(dict):
|
|
|
1335
1336
|
|
|
1336
1337
|
@property
|
|
1337
1338
|
@pulumi.getter(name="deprecationWarning")
|
|
1338
|
-
def deprecation_warning(self) -> Optional[str]:
|
|
1339
|
+
def deprecation_warning(self) -> Optional[builtins.str]:
|
|
1339
1340
|
"""
|
|
1340
1341
|
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
1342
|
"""
|
|
@@ -1343,7 +1344,7 @@ class CustomResourceDefinitionVersionPatch(dict):
|
|
|
1343
1344
|
|
|
1344
1345
|
@property
|
|
1345
1346
|
@pulumi.getter
|
|
1346
|
-
def name(self) -> Optional[str]:
|
|
1347
|
+
def name(self) -> Optional[builtins.str]:
|
|
1347
1348
|
"""
|
|
1348
1349
|
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
1350
|
"""
|
|
@@ -1367,7 +1368,7 @@ class CustomResourceDefinitionVersionPatch(dict):
|
|
|
1367
1368
|
|
|
1368
1369
|
@property
|
|
1369
1370
|
@pulumi.getter
|
|
1370
|
-
def served(self) -> Optional[bool]:
|
|
1371
|
+
def served(self) -> Optional[builtins.bool]:
|
|
1371
1372
|
"""
|
|
1372
1373
|
served is a flag enabling/disabling this version from being served via REST APIs
|
|
1373
1374
|
"""
|
|
@@ -1375,7 +1376,7 @@ class CustomResourceDefinitionVersionPatch(dict):
|
|
|
1375
1376
|
|
|
1376
1377
|
@property
|
|
1377
1378
|
@pulumi.getter
|
|
1378
|
-
def storage(self) -> Optional[bool]:
|
|
1379
|
+
def storage(self) -> Optional[builtins.bool]:
|
|
1379
1380
|
"""
|
|
1380
1381
|
storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true.
|
|
1381
1382
|
"""
|
|
@@ -1417,14 +1418,14 @@ class CustomResourceSubresourceScale(dict):
|
|
|
1417
1418
|
return super().get(key, default)
|
|
1418
1419
|
|
|
1419
1420
|
def __init__(__self__, *,
|
|
1420
|
-
spec_replicas_path: str,
|
|
1421
|
-
status_replicas_path: str,
|
|
1422
|
-
label_selector_path: Optional[str] = None):
|
|
1421
|
+
spec_replicas_path: builtins.str,
|
|
1422
|
+
status_replicas_path: builtins.str,
|
|
1423
|
+
label_selector_path: Optional[builtins.str] = None):
|
|
1423
1424
|
"""
|
|
1424
1425
|
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.
|
|
1426
|
+
: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.
|
|
1427
|
+
: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.
|
|
1428
|
+
: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
1429
|
"""
|
|
1429
1430
|
pulumi.set(__self__, "spec_replicas_path", spec_replicas_path)
|
|
1430
1431
|
pulumi.set(__self__, "status_replicas_path", status_replicas_path)
|
|
@@ -1433,7 +1434,7 @@ class CustomResourceSubresourceScale(dict):
|
|
|
1433
1434
|
|
|
1434
1435
|
@property
|
|
1435
1436
|
@pulumi.getter(name="specReplicasPath")
|
|
1436
|
-
def spec_replicas_path(self) -> str:
|
|
1437
|
+
def spec_replicas_path(self) -> builtins.str:
|
|
1437
1438
|
"""
|
|
1438
1439
|
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
1440
|
"""
|
|
@@ -1441,7 +1442,7 @@ class CustomResourceSubresourceScale(dict):
|
|
|
1441
1442
|
|
|
1442
1443
|
@property
|
|
1443
1444
|
@pulumi.getter(name="statusReplicasPath")
|
|
1444
|
-
def status_replicas_path(self) -> str:
|
|
1445
|
+
def status_replicas_path(self) -> builtins.str:
|
|
1445
1446
|
"""
|
|
1446
1447
|
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
1448
|
"""
|
|
@@ -1449,7 +1450,7 @@ class CustomResourceSubresourceScale(dict):
|
|
|
1449
1450
|
|
|
1450
1451
|
@property
|
|
1451
1452
|
@pulumi.getter(name="labelSelectorPath")
|
|
1452
|
-
def label_selector_path(self) -> Optional[str]:
|
|
1453
|
+
def label_selector_path(self) -> Optional[builtins.str]:
|
|
1453
1454
|
"""
|
|
1454
1455
|
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
1456
|
"""
|
|
@@ -1483,14 +1484,14 @@ class CustomResourceSubresourceScalePatch(dict):
|
|
|
1483
1484
|
return super().get(key, default)
|
|
1484
1485
|
|
|
1485
1486
|
def __init__(__self__, *,
|
|
1486
|
-
label_selector_path: Optional[str] = None,
|
|
1487
|
-
spec_replicas_path: Optional[str] = None,
|
|
1488
|
-
status_replicas_path: Optional[str] = None):
|
|
1487
|
+
label_selector_path: Optional[builtins.str] = None,
|
|
1488
|
+
spec_replicas_path: Optional[builtins.str] = None,
|
|
1489
|
+
status_replicas_path: Optional[builtins.str] = None):
|
|
1489
1490
|
"""
|
|
1490
1491
|
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.
|
|
1492
|
+
: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.
|
|
1493
|
+
: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.
|
|
1494
|
+
: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
1495
|
"""
|
|
1495
1496
|
if label_selector_path is not None:
|
|
1496
1497
|
pulumi.set(__self__, "label_selector_path", label_selector_path)
|
|
@@ -1501,7 +1502,7 @@ class CustomResourceSubresourceScalePatch(dict):
|
|
|
1501
1502
|
|
|
1502
1503
|
@property
|
|
1503
1504
|
@pulumi.getter(name="labelSelectorPath")
|
|
1504
|
-
def label_selector_path(self) -> Optional[str]:
|
|
1505
|
+
def label_selector_path(self) -> Optional[builtins.str]:
|
|
1505
1506
|
"""
|
|
1506
1507
|
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
1508
|
"""
|
|
@@ -1509,7 +1510,7 @@ class CustomResourceSubresourceScalePatch(dict):
|
|
|
1509
1510
|
|
|
1510
1511
|
@property
|
|
1511
1512
|
@pulumi.getter(name="specReplicasPath")
|
|
1512
|
-
def spec_replicas_path(self) -> Optional[str]:
|
|
1513
|
+
def spec_replicas_path(self) -> Optional[builtins.str]:
|
|
1513
1514
|
"""
|
|
1514
1515
|
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
1516
|
"""
|
|
@@ -1517,7 +1518,7 @@ class CustomResourceSubresourceScalePatch(dict):
|
|
|
1517
1518
|
|
|
1518
1519
|
@property
|
|
1519
1520
|
@pulumi.getter(name="statusReplicasPath")
|
|
1520
|
-
def status_replicas_path(self) -> Optional[str]:
|
|
1521
|
+
def status_replicas_path(self) -> Optional[builtins.str]:
|
|
1521
1522
|
"""
|
|
1522
1523
|
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
1524
|
"""
|
|
@@ -1680,8 +1681,8 @@ class ExternalDocumentation(dict):
|
|
|
1680
1681
|
ExternalDocumentation allows referencing an external resource for extended documentation.
|
|
1681
1682
|
"""
|
|
1682
1683
|
def __init__(__self__, *,
|
|
1683
|
-
description: Optional[str] = None,
|
|
1684
|
-
url: Optional[str] = None):
|
|
1684
|
+
description: Optional[builtins.str] = None,
|
|
1685
|
+
url: Optional[builtins.str] = None):
|
|
1685
1686
|
"""
|
|
1686
1687
|
ExternalDocumentation allows referencing an external resource for extended documentation.
|
|
1687
1688
|
"""
|
|
@@ -1692,12 +1693,12 @@ class ExternalDocumentation(dict):
|
|
|
1692
1693
|
|
|
1693
1694
|
@property
|
|
1694
1695
|
@pulumi.getter
|
|
1695
|
-
def description(self) -> Optional[str]:
|
|
1696
|
+
def description(self) -> Optional[builtins.str]:
|
|
1696
1697
|
return pulumi.get(self, "description")
|
|
1697
1698
|
|
|
1698
1699
|
@property
|
|
1699
1700
|
@pulumi.getter
|
|
1700
|
-
def url(self) -> Optional[str]:
|
|
1701
|
+
def url(self) -> Optional[builtins.str]:
|
|
1701
1702
|
return pulumi.get(self, "url")
|
|
1702
1703
|
|
|
1703
1704
|
|
|
@@ -1707,8 +1708,8 @@ class ExternalDocumentationPatch(dict):
|
|
|
1707
1708
|
ExternalDocumentation allows referencing an external resource for extended documentation.
|
|
1708
1709
|
"""
|
|
1709
1710
|
def __init__(__self__, *,
|
|
1710
|
-
description: Optional[str] = None,
|
|
1711
|
-
url: Optional[str] = None):
|
|
1711
|
+
description: Optional[builtins.str] = None,
|
|
1712
|
+
url: Optional[builtins.str] = None):
|
|
1712
1713
|
"""
|
|
1713
1714
|
ExternalDocumentation allows referencing an external resource for extended documentation.
|
|
1714
1715
|
"""
|
|
@@ -1719,12 +1720,12 @@ class ExternalDocumentationPatch(dict):
|
|
|
1719
1720
|
|
|
1720
1721
|
@property
|
|
1721
1722
|
@pulumi.getter
|
|
1722
|
-
def description(self) -> Optional[str]:
|
|
1723
|
+
def description(self) -> Optional[builtins.str]:
|
|
1723
1724
|
return pulumi.get(self, "description")
|
|
1724
1725
|
|
|
1725
1726
|
@property
|
|
1726
1727
|
@pulumi.getter
|
|
1727
|
-
def url(self) -> Optional[str]:
|
|
1728
|
+
def url(self) -> Optional[builtins.str]:
|
|
1728
1729
|
return pulumi.get(self, "url")
|
|
1729
1730
|
|
|
1730
1731
|
|
|
@@ -1789,8 +1790,8 @@ class JSONSchemaProps(dict):
|
|
|
1789
1790
|
return super().get(key, default)
|
|
1790
1791
|
|
|
1791
1792
|
def __init__(__self__, *,
|
|
1792
|
-
_ref: Optional[str] = None,
|
|
1793
|
-
_schema: Optional[str] = None,
|
|
1793
|
+
_ref: Optional[builtins.str] = None,
|
|
1794
|
+
_schema: Optional[builtins.str] = None,
|
|
1794
1795
|
additional_items: Optional[Any] = None,
|
|
1795
1796
|
additional_properties: Optional[Any] = None,
|
|
1796
1797
|
all_of: Optional[Sequence['outputs.JSONSchemaProps']] = None,
|
|
@@ -1798,49 +1799,49 @@ class JSONSchemaProps(dict):
|
|
|
1798
1799
|
default: Optional[Any] = None,
|
|
1799
1800
|
definitions: Optional[Mapping[str, 'outputs.JSONSchemaProps']] = None,
|
|
1800
1801
|
dependencies: Optional[Mapping[str, Any]] = None,
|
|
1801
|
-
description: Optional[str] = None,
|
|
1802
|
+
description: Optional[builtins.str] = None,
|
|
1802
1803
|
enum: Optional[Sequence[Any]] = None,
|
|
1803
1804
|
example: Optional[Any] = None,
|
|
1804
|
-
exclusive_maximum: Optional[bool] = None,
|
|
1805
|
-
exclusive_minimum: Optional[bool] = None,
|
|
1805
|
+
exclusive_maximum: Optional[builtins.bool] = None,
|
|
1806
|
+
exclusive_minimum: Optional[builtins.bool] = None,
|
|
1806
1807
|
external_docs: Optional['outputs.ExternalDocumentation'] = None,
|
|
1807
|
-
format: Optional[str] = None,
|
|
1808
|
-
id: Optional[str] = None,
|
|
1808
|
+
format: Optional[builtins.str] = None,
|
|
1809
|
+
id: Optional[builtins.str] = None,
|
|
1809
1810
|
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,
|
|
1811
|
+
max_items: Optional[builtins.int] = None,
|
|
1812
|
+
max_length: Optional[builtins.int] = None,
|
|
1813
|
+
max_properties: Optional[builtins.int] = None,
|
|
1814
|
+
maximum: Optional[builtins.float] = None,
|
|
1815
|
+
min_items: Optional[builtins.int] = None,
|
|
1816
|
+
min_length: Optional[builtins.int] = None,
|
|
1817
|
+
min_properties: Optional[builtins.int] = None,
|
|
1818
|
+
minimum: Optional[builtins.float] = None,
|
|
1819
|
+
multiple_of: Optional[builtins.float] = None,
|
|
1819
1820
|
not_: Optional['outputs.JSONSchemaProps'] = None,
|
|
1820
|
-
nullable: Optional[bool] = None,
|
|
1821
|
+
nullable: Optional[builtins.bool] = None,
|
|
1821
1822
|
one_of: Optional[Sequence['outputs.JSONSchemaProps']] = None,
|
|
1822
|
-
pattern: Optional[str] = None,
|
|
1823
|
+
pattern: Optional[builtins.str] = None,
|
|
1823
1824
|
pattern_properties: Optional[Mapping[str, 'outputs.JSONSchemaProps']] = None,
|
|
1824
1825
|
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,
|
|
1826
|
+
required: Optional[Sequence[builtins.str]] = None,
|
|
1827
|
+
title: Optional[builtins.str] = None,
|
|
1828
|
+
type: Optional[builtins.str] = None,
|
|
1829
|
+
unique_items: Optional[builtins.bool] = None,
|
|
1830
|
+
x_kubernetes_embedded_resource: Optional[builtins.bool] = None,
|
|
1831
|
+
x_kubernetes_int_or_string: Optional[builtins.bool] = None,
|
|
1832
|
+
x_kubernetes_list_map_keys: Optional[Sequence[builtins.str]] = None,
|
|
1833
|
+
x_kubernetes_list_type: Optional[builtins.str] = None,
|
|
1834
|
+
x_kubernetes_map_type: Optional[builtins.str] = None,
|
|
1835
|
+
x_kubernetes_preserve_unknown_fields: Optional[builtins.bool] = None,
|
|
1835
1836
|
x_kubernetes_validations: Optional[Sequence['outputs.ValidationRule']] = None):
|
|
1836
1837
|
"""
|
|
1837
1838
|
JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).
|
|
1838
1839
|
: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:
|
|
1840
|
+
:param builtins.str format: format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:
|
|
1840
1841
|
|
|
1841
1842
|
- 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 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:
|
|
1843
|
+
: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).
|
|
1844
|
+
: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
1845
|
|
|
1845
1846
|
1) anyOf:
|
|
1846
1847
|
- type: integer
|
|
@@ -1850,12 +1851,12 @@ class JSONSchemaProps(dict):
|
|
|
1850
1851
|
- type: integer
|
|
1851
1852
|
- type: string
|
|
1852
1853
|
- ... 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.
|
|
1854
|
+
: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
1855
|
|
|
1855
1856
|
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
1857
|
|
|
1857
1858
|
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:
|
|
1859
|
+
: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
1860
|
|
|
1860
1861
|
1) `atomic`: the list is treated as a single entity, like a scalar.
|
|
1861
1862
|
Atomic lists will be entirely replaced when updated. This extension
|
|
@@ -1869,7 +1870,7 @@ class JSONSchemaProps(dict):
|
|
|
1869
1870
|
used to identify them. Order is preserved upon merge. The map tag
|
|
1870
1871
|
must only be used on a list with elements of type object.
|
|
1871
1872
|
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:
|
|
1873
|
+
: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
1874
|
|
|
1874
1875
|
1) `granular`:
|
|
1875
1876
|
These maps are actual maps (key-value pairs) and each fields are independent
|
|
@@ -1877,7 +1878,7 @@ class JSONSchemaProps(dict):
|
|
|
1877
1878
|
the default behaviour for all maps.
|
|
1878
1879
|
2) `atomic`: the list is treated as a single entity, like a scalar.
|
|
1879
1880
|
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.
|
|
1881
|
+
: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
1882
|
:param Sequence['ValidationRuleArgs'] x_kubernetes_validations: x-kubernetes-validations describes a list of validation rules written in the CEL expression language.
|
|
1882
1883
|
"""
|
|
1883
1884
|
if _ref is not None:
|
|
@@ -1971,12 +1972,12 @@ class JSONSchemaProps(dict):
|
|
|
1971
1972
|
|
|
1972
1973
|
@property
|
|
1973
1974
|
@pulumi.getter(name="$ref")
|
|
1974
|
-
def _ref(self) -> Optional[str]:
|
|
1975
|
+
def _ref(self) -> Optional[builtins.str]:
|
|
1975
1976
|
return pulumi.get(self, "_ref")
|
|
1976
1977
|
|
|
1977
1978
|
@property
|
|
1978
1979
|
@pulumi.getter(name="$schema")
|
|
1979
|
-
def _schema(self) -> Optional[str]:
|
|
1980
|
+
def _schema(self) -> Optional[builtins.str]:
|
|
1980
1981
|
return pulumi.get(self, "_schema")
|
|
1981
1982
|
|
|
1982
1983
|
@property
|
|
@@ -2019,7 +2020,7 @@ class JSONSchemaProps(dict):
|
|
|
2019
2020
|
|
|
2020
2021
|
@property
|
|
2021
2022
|
@pulumi.getter
|
|
2022
|
-
def description(self) -> Optional[str]:
|
|
2023
|
+
def description(self) -> Optional[builtins.str]:
|
|
2023
2024
|
return pulumi.get(self, "description")
|
|
2024
2025
|
|
|
2025
2026
|
@property
|
|
@@ -2034,12 +2035,12 @@ class JSONSchemaProps(dict):
|
|
|
2034
2035
|
|
|
2035
2036
|
@property
|
|
2036
2037
|
@pulumi.getter(name="exclusiveMaximum")
|
|
2037
|
-
def exclusive_maximum(self) -> Optional[bool]:
|
|
2038
|
+
def exclusive_maximum(self) -> Optional[builtins.bool]:
|
|
2038
2039
|
return pulumi.get(self, "exclusive_maximum")
|
|
2039
2040
|
|
|
2040
2041
|
@property
|
|
2041
2042
|
@pulumi.getter(name="exclusiveMinimum")
|
|
2042
|
-
def exclusive_minimum(self) -> Optional[bool]:
|
|
2043
|
+
def exclusive_minimum(self) -> Optional[builtins.bool]:
|
|
2043
2044
|
return pulumi.get(self, "exclusive_minimum")
|
|
2044
2045
|
|
|
2045
2046
|
@property
|
|
@@ -2049,7 +2050,7 @@ class JSONSchemaProps(dict):
|
|
|
2049
2050
|
|
|
2050
2051
|
@property
|
|
2051
2052
|
@pulumi.getter
|
|
2052
|
-
def format(self) -> Optional[str]:
|
|
2053
|
+
def format(self) -> Optional[builtins.str]:
|
|
2053
2054
|
"""
|
|
2054
2055
|
format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:
|
|
2055
2056
|
|
|
@@ -2059,7 +2060,7 @@ class JSONSchemaProps(dict):
|
|
|
2059
2060
|
|
|
2060
2061
|
@property
|
|
2061
2062
|
@pulumi.getter
|
|
2062
|
-
def id(self) -> Optional[str]:
|
|
2063
|
+
def id(self) -> Optional[builtins.str]:
|
|
2063
2064
|
return pulumi.get(self, "id")
|
|
2064
2065
|
|
|
2065
2066
|
@property
|
|
@@ -2069,47 +2070,47 @@ class JSONSchemaProps(dict):
|
|
|
2069
2070
|
|
|
2070
2071
|
@property
|
|
2071
2072
|
@pulumi.getter(name="maxItems")
|
|
2072
|
-
def max_items(self) -> Optional[int]:
|
|
2073
|
+
def max_items(self) -> Optional[builtins.int]:
|
|
2073
2074
|
return pulumi.get(self, "max_items")
|
|
2074
2075
|
|
|
2075
2076
|
@property
|
|
2076
2077
|
@pulumi.getter(name="maxLength")
|
|
2077
|
-
def max_length(self) -> Optional[int]:
|
|
2078
|
+
def max_length(self) -> Optional[builtins.int]:
|
|
2078
2079
|
return pulumi.get(self, "max_length")
|
|
2079
2080
|
|
|
2080
2081
|
@property
|
|
2081
2082
|
@pulumi.getter(name="maxProperties")
|
|
2082
|
-
def max_properties(self) -> Optional[int]:
|
|
2083
|
+
def max_properties(self) -> Optional[builtins.int]:
|
|
2083
2084
|
return pulumi.get(self, "max_properties")
|
|
2084
2085
|
|
|
2085
2086
|
@property
|
|
2086
2087
|
@pulumi.getter
|
|
2087
|
-
def maximum(self) -> Optional[float]:
|
|
2088
|
+
def maximum(self) -> Optional[builtins.float]:
|
|
2088
2089
|
return pulumi.get(self, "maximum")
|
|
2089
2090
|
|
|
2090
2091
|
@property
|
|
2091
2092
|
@pulumi.getter(name="minItems")
|
|
2092
|
-
def min_items(self) -> Optional[int]:
|
|
2093
|
+
def min_items(self) -> Optional[builtins.int]:
|
|
2093
2094
|
return pulumi.get(self, "min_items")
|
|
2094
2095
|
|
|
2095
2096
|
@property
|
|
2096
2097
|
@pulumi.getter(name="minLength")
|
|
2097
|
-
def min_length(self) -> Optional[int]:
|
|
2098
|
+
def min_length(self) -> Optional[builtins.int]:
|
|
2098
2099
|
return pulumi.get(self, "min_length")
|
|
2099
2100
|
|
|
2100
2101
|
@property
|
|
2101
2102
|
@pulumi.getter(name="minProperties")
|
|
2102
|
-
def min_properties(self) -> Optional[int]:
|
|
2103
|
+
def min_properties(self) -> Optional[builtins.int]:
|
|
2103
2104
|
return pulumi.get(self, "min_properties")
|
|
2104
2105
|
|
|
2105
2106
|
@property
|
|
2106
2107
|
@pulumi.getter
|
|
2107
|
-
def minimum(self) -> Optional[float]:
|
|
2108
|
+
def minimum(self) -> Optional[builtins.float]:
|
|
2108
2109
|
return pulumi.get(self, "minimum")
|
|
2109
2110
|
|
|
2110
2111
|
@property
|
|
2111
2112
|
@pulumi.getter(name="multipleOf")
|
|
2112
|
-
def multiple_of(self) -> Optional[float]:
|
|
2113
|
+
def multiple_of(self) -> Optional[builtins.float]:
|
|
2113
2114
|
return pulumi.get(self, "multiple_of")
|
|
2114
2115
|
|
|
2115
2116
|
@property
|
|
@@ -2119,7 +2120,7 @@ class JSONSchemaProps(dict):
|
|
|
2119
2120
|
|
|
2120
2121
|
@property
|
|
2121
2122
|
@pulumi.getter
|
|
2122
|
-
def nullable(self) -> Optional[bool]:
|
|
2123
|
+
def nullable(self) -> Optional[builtins.bool]:
|
|
2123
2124
|
return pulumi.get(self, "nullable")
|
|
2124
2125
|
|
|
2125
2126
|
@property
|
|
@@ -2129,7 +2130,7 @@ class JSONSchemaProps(dict):
|
|
|
2129
2130
|
|
|
2130
2131
|
@property
|
|
2131
2132
|
@pulumi.getter
|
|
2132
|
-
def pattern(self) -> Optional[str]:
|
|
2133
|
+
def pattern(self) -> Optional[builtins.str]:
|
|
2133
2134
|
return pulumi.get(self, "pattern")
|
|
2134
2135
|
|
|
2135
2136
|
@property
|
|
@@ -2144,27 +2145,27 @@ class JSONSchemaProps(dict):
|
|
|
2144
2145
|
|
|
2145
2146
|
@property
|
|
2146
2147
|
@pulumi.getter
|
|
2147
|
-
def required(self) -> Optional[Sequence[str]]:
|
|
2148
|
+
def required(self) -> Optional[Sequence[builtins.str]]:
|
|
2148
2149
|
return pulumi.get(self, "required")
|
|
2149
2150
|
|
|
2150
2151
|
@property
|
|
2151
2152
|
@pulumi.getter
|
|
2152
|
-
def title(self) -> Optional[str]:
|
|
2153
|
+
def title(self) -> Optional[builtins.str]:
|
|
2153
2154
|
return pulumi.get(self, "title")
|
|
2154
2155
|
|
|
2155
2156
|
@property
|
|
2156
2157
|
@pulumi.getter
|
|
2157
|
-
def type(self) -> Optional[str]:
|
|
2158
|
+
def type(self) -> Optional[builtins.str]:
|
|
2158
2159
|
return pulumi.get(self, "type")
|
|
2159
2160
|
|
|
2160
2161
|
@property
|
|
2161
2162
|
@pulumi.getter(name="uniqueItems")
|
|
2162
|
-
def unique_items(self) -> Optional[bool]:
|
|
2163
|
+
def unique_items(self) -> Optional[builtins.bool]:
|
|
2163
2164
|
return pulumi.get(self, "unique_items")
|
|
2164
2165
|
|
|
2165
2166
|
@property
|
|
2166
2167
|
@pulumi.getter
|
|
2167
|
-
def x_kubernetes_embedded_resource(self) -> Optional[bool]:
|
|
2168
|
+
def x_kubernetes_embedded_resource(self) -> Optional[builtins.bool]:
|
|
2168
2169
|
"""
|
|
2169
2170
|
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
2171
|
"""
|
|
@@ -2172,7 +2173,7 @@ class JSONSchemaProps(dict):
|
|
|
2172
2173
|
|
|
2173
2174
|
@property
|
|
2174
2175
|
@pulumi.getter
|
|
2175
|
-
def x_kubernetes_int_or_string(self) -> Optional[bool]:
|
|
2176
|
+
def x_kubernetes_int_or_string(self) -> Optional[builtins.bool]:
|
|
2176
2177
|
"""
|
|
2177
2178
|
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
2179
|
|
|
@@ -2189,7 +2190,7 @@ class JSONSchemaProps(dict):
|
|
|
2189
2190
|
|
|
2190
2191
|
@property
|
|
2191
2192
|
@pulumi.getter
|
|
2192
|
-
def x_kubernetes_list_map_keys(self) -> Optional[Sequence[str]]:
|
|
2193
|
+
def x_kubernetes_list_map_keys(self) -> Optional[Sequence[builtins.str]]:
|
|
2193
2194
|
"""
|
|
2194
2195
|
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
2196
|
|
|
@@ -2201,7 +2202,7 @@ class JSONSchemaProps(dict):
|
|
|
2201
2202
|
|
|
2202
2203
|
@property
|
|
2203
2204
|
@pulumi.getter
|
|
2204
|
-
def x_kubernetes_list_type(self) -> Optional[str]:
|
|
2205
|
+
def x_kubernetes_list_type(self) -> Optional[builtins.str]:
|
|
2205
2206
|
"""
|
|
2206
2207
|
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
2208
|
|
|
@@ -2222,7 +2223,7 @@ class JSONSchemaProps(dict):
|
|
|
2222
2223
|
|
|
2223
2224
|
@property
|
|
2224
2225
|
@pulumi.getter
|
|
2225
|
-
def x_kubernetes_map_type(self) -> Optional[str]:
|
|
2226
|
+
def x_kubernetes_map_type(self) -> Optional[builtins.str]:
|
|
2226
2227
|
"""
|
|
2227
2228
|
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
2229
|
|
|
@@ -2237,7 +2238,7 @@ class JSONSchemaProps(dict):
|
|
|
2237
2238
|
|
|
2238
2239
|
@property
|
|
2239
2240
|
@pulumi.getter
|
|
2240
|
-
def x_kubernetes_preserve_unknown_fields(self) -> Optional[bool]:
|
|
2241
|
+
def x_kubernetes_preserve_unknown_fields(self) -> Optional[builtins.bool]:
|
|
2241
2242
|
"""
|
|
2242
2243
|
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
2244
|
"""
|
|
@@ -2313,8 +2314,8 @@ class JSONSchemaPropsPatch(dict):
|
|
|
2313
2314
|
return super().get(key, default)
|
|
2314
2315
|
|
|
2315
2316
|
def __init__(__self__, *,
|
|
2316
|
-
_ref: Optional[str] = None,
|
|
2317
|
-
_schema: Optional[str] = None,
|
|
2317
|
+
_ref: Optional[builtins.str] = None,
|
|
2318
|
+
_schema: Optional[builtins.str] = None,
|
|
2318
2319
|
additional_items: Optional[Any] = None,
|
|
2319
2320
|
additional_properties: Optional[Any] = None,
|
|
2320
2321
|
all_of: Optional[Sequence['outputs.JSONSchemaPropsPatch']] = None,
|
|
@@ -2322,49 +2323,49 @@ class JSONSchemaPropsPatch(dict):
|
|
|
2322
2323
|
default: Optional[Any] = None,
|
|
2323
2324
|
definitions: Optional[Mapping[str, 'outputs.JSONSchemaProps']] = None,
|
|
2324
2325
|
dependencies: Optional[Mapping[str, Any]] = None,
|
|
2325
|
-
description: Optional[str] = None,
|
|
2326
|
+
description: Optional[builtins.str] = None,
|
|
2326
2327
|
enum: Optional[Sequence[Any]] = None,
|
|
2327
2328
|
example: Optional[Any] = None,
|
|
2328
|
-
exclusive_maximum: Optional[bool] = None,
|
|
2329
|
-
exclusive_minimum: Optional[bool] = None,
|
|
2329
|
+
exclusive_maximum: Optional[builtins.bool] = None,
|
|
2330
|
+
exclusive_minimum: Optional[builtins.bool] = None,
|
|
2330
2331
|
external_docs: Optional['outputs.ExternalDocumentationPatch'] = None,
|
|
2331
|
-
format: Optional[str] = None,
|
|
2332
|
-
id: Optional[str] = None,
|
|
2332
|
+
format: Optional[builtins.str] = None,
|
|
2333
|
+
id: Optional[builtins.str] = None,
|
|
2333
2334
|
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,
|
|
2335
|
+
max_items: Optional[builtins.int] = None,
|
|
2336
|
+
max_length: Optional[builtins.int] = None,
|
|
2337
|
+
max_properties: Optional[builtins.int] = None,
|
|
2338
|
+
maximum: Optional[builtins.float] = None,
|
|
2339
|
+
min_items: Optional[builtins.int] = None,
|
|
2340
|
+
min_length: Optional[builtins.int] = None,
|
|
2341
|
+
min_properties: Optional[builtins.int] = None,
|
|
2342
|
+
minimum: Optional[builtins.float] = None,
|
|
2343
|
+
multiple_of: Optional[builtins.float] = None,
|
|
2343
2344
|
not_: Optional['outputs.JSONSchemaPropsPatch'] = None,
|
|
2344
|
-
nullable: Optional[bool] = None,
|
|
2345
|
+
nullable: Optional[builtins.bool] = None,
|
|
2345
2346
|
one_of: Optional[Sequence['outputs.JSONSchemaPropsPatch']] = None,
|
|
2346
|
-
pattern: Optional[str] = None,
|
|
2347
|
+
pattern: Optional[builtins.str] = None,
|
|
2347
2348
|
pattern_properties: Optional[Mapping[str, 'outputs.JSONSchemaProps']] = None,
|
|
2348
2349
|
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,
|
|
2350
|
+
required: Optional[Sequence[builtins.str]] = None,
|
|
2351
|
+
title: Optional[builtins.str] = None,
|
|
2352
|
+
type: Optional[builtins.str] = None,
|
|
2353
|
+
unique_items: Optional[builtins.bool] = None,
|
|
2354
|
+
x_kubernetes_embedded_resource: Optional[builtins.bool] = None,
|
|
2355
|
+
x_kubernetes_int_or_string: Optional[builtins.bool] = None,
|
|
2356
|
+
x_kubernetes_list_map_keys: Optional[Sequence[builtins.str]] = None,
|
|
2357
|
+
x_kubernetes_list_type: Optional[builtins.str] = None,
|
|
2358
|
+
x_kubernetes_map_type: Optional[builtins.str] = None,
|
|
2359
|
+
x_kubernetes_preserve_unknown_fields: Optional[builtins.bool] = None,
|
|
2359
2360
|
x_kubernetes_validations: Optional[Sequence['outputs.ValidationRulePatch']] = None):
|
|
2360
2361
|
"""
|
|
2361
2362
|
JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).
|
|
2362
2363
|
: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:
|
|
2364
|
+
:param builtins.str format: format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:
|
|
2364
2365
|
|
|
2365
2366
|
- 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 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:
|
|
2367
|
+
: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).
|
|
2368
|
+
: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
2369
|
|
|
2369
2370
|
1) anyOf:
|
|
2370
2371
|
- type: integer
|
|
@@ -2374,12 +2375,12 @@ class JSONSchemaPropsPatch(dict):
|
|
|
2374
2375
|
- type: integer
|
|
2375
2376
|
- type: string
|
|
2376
2377
|
- ... 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.
|
|
2378
|
+
: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
2379
|
|
|
2379
2380
|
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
2381
|
|
|
2381
2382
|
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:
|
|
2383
|
+
: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
2384
|
|
|
2384
2385
|
1) `atomic`: the list is treated as a single entity, like a scalar.
|
|
2385
2386
|
Atomic lists will be entirely replaced when updated. This extension
|
|
@@ -2393,7 +2394,7 @@ class JSONSchemaPropsPatch(dict):
|
|
|
2393
2394
|
used to identify them. Order is preserved upon merge. The map tag
|
|
2394
2395
|
must only be used on a list with elements of type object.
|
|
2395
2396
|
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:
|
|
2397
|
+
: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
2398
|
|
|
2398
2399
|
1) `granular`:
|
|
2399
2400
|
These maps are actual maps (key-value pairs) and each fields are independent
|
|
@@ -2401,7 +2402,7 @@ class JSONSchemaPropsPatch(dict):
|
|
|
2401
2402
|
the default behaviour for all maps.
|
|
2402
2403
|
2) `atomic`: the list is treated as a single entity, like a scalar.
|
|
2403
2404
|
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.
|
|
2405
|
+
: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
2406
|
:param Sequence['ValidationRulePatchArgs'] x_kubernetes_validations: x-kubernetes-validations describes a list of validation rules written in the CEL expression language.
|
|
2406
2407
|
"""
|
|
2407
2408
|
if _ref is not None:
|
|
@@ -2495,12 +2496,12 @@ class JSONSchemaPropsPatch(dict):
|
|
|
2495
2496
|
|
|
2496
2497
|
@property
|
|
2497
2498
|
@pulumi.getter(name="$ref")
|
|
2498
|
-
def _ref(self) -> Optional[str]:
|
|
2499
|
+
def _ref(self) -> Optional[builtins.str]:
|
|
2499
2500
|
return pulumi.get(self, "_ref")
|
|
2500
2501
|
|
|
2501
2502
|
@property
|
|
2502
2503
|
@pulumi.getter(name="$schema")
|
|
2503
|
-
def _schema(self) -> Optional[str]:
|
|
2504
|
+
def _schema(self) -> Optional[builtins.str]:
|
|
2504
2505
|
return pulumi.get(self, "_schema")
|
|
2505
2506
|
|
|
2506
2507
|
@property
|
|
@@ -2543,7 +2544,7 @@ class JSONSchemaPropsPatch(dict):
|
|
|
2543
2544
|
|
|
2544
2545
|
@property
|
|
2545
2546
|
@pulumi.getter
|
|
2546
|
-
def description(self) -> Optional[str]:
|
|
2547
|
+
def description(self) -> Optional[builtins.str]:
|
|
2547
2548
|
return pulumi.get(self, "description")
|
|
2548
2549
|
|
|
2549
2550
|
@property
|
|
@@ -2558,12 +2559,12 @@ class JSONSchemaPropsPatch(dict):
|
|
|
2558
2559
|
|
|
2559
2560
|
@property
|
|
2560
2561
|
@pulumi.getter(name="exclusiveMaximum")
|
|
2561
|
-
def exclusive_maximum(self) -> Optional[bool]:
|
|
2562
|
+
def exclusive_maximum(self) -> Optional[builtins.bool]:
|
|
2562
2563
|
return pulumi.get(self, "exclusive_maximum")
|
|
2563
2564
|
|
|
2564
2565
|
@property
|
|
2565
2566
|
@pulumi.getter(name="exclusiveMinimum")
|
|
2566
|
-
def exclusive_minimum(self) -> Optional[bool]:
|
|
2567
|
+
def exclusive_minimum(self) -> Optional[builtins.bool]:
|
|
2567
2568
|
return pulumi.get(self, "exclusive_minimum")
|
|
2568
2569
|
|
|
2569
2570
|
@property
|
|
@@ -2573,7 +2574,7 @@ class JSONSchemaPropsPatch(dict):
|
|
|
2573
2574
|
|
|
2574
2575
|
@property
|
|
2575
2576
|
@pulumi.getter
|
|
2576
|
-
def format(self) -> Optional[str]:
|
|
2577
|
+
def format(self) -> Optional[builtins.str]:
|
|
2577
2578
|
"""
|
|
2578
2579
|
format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:
|
|
2579
2580
|
|
|
@@ -2583,7 +2584,7 @@ class JSONSchemaPropsPatch(dict):
|
|
|
2583
2584
|
|
|
2584
2585
|
@property
|
|
2585
2586
|
@pulumi.getter
|
|
2586
|
-
def id(self) -> Optional[str]:
|
|
2587
|
+
def id(self) -> Optional[builtins.str]:
|
|
2587
2588
|
return pulumi.get(self, "id")
|
|
2588
2589
|
|
|
2589
2590
|
@property
|
|
@@ -2593,47 +2594,47 @@ class JSONSchemaPropsPatch(dict):
|
|
|
2593
2594
|
|
|
2594
2595
|
@property
|
|
2595
2596
|
@pulumi.getter(name="maxItems")
|
|
2596
|
-
def max_items(self) -> Optional[int]:
|
|
2597
|
+
def max_items(self) -> Optional[builtins.int]:
|
|
2597
2598
|
return pulumi.get(self, "max_items")
|
|
2598
2599
|
|
|
2599
2600
|
@property
|
|
2600
2601
|
@pulumi.getter(name="maxLength")
|
|
2601
|
-
def max_length(self) -> Optional[int]:
|
|
2602
|
+
def max_length(self) -> Optional[builtins.int]:
|
|
2602
2603
|
return pulumi.get(self, "max_length")
|
|
2603
2604
|
|
|
2604
2605
|
@property
|
|
2605
2606
|
@pulumi.getter(name="maxProperties")
|
|
2606
|
-
def max_properties(self) -> Optional[int]:
|
|
2607
|
+
def max_properties(self) -> Optional[builtins.int]:
|
|
2607
2608
|
return pulumi.get(self, "max_properties")
|
|
2608
2609
|
|
|
2609
2610
|
@property
|
|
2610
2611
|
@pulumi.getter
|
|
2611
|
-
def maximum(self) -> Optional[float]:
|
|
2612
|
+
def maximum(self) -> Optional[builtins.float]:
|
|
2612
2613
|
return pulumi.get(self, "maximum")
|
|
2613
2614
|
|
|
2614
2615
|
@property
|
|
2615
2616
|
@pulumi.getter(name="minItems")
|
|
2616
|
-
def min_items(self) -> Optional[int]:
|
|
2617
|
+
def min_items(self) -> Optional[builtins.int]:
|
|
2617
2618
|
return pulumi.get(self, "min_items")
|
|
2618
2619
|
|
|
2619
2620
|
@property
|
|
2620
2621
|
@pulumi.getter(name="minLength")
|
|
2621
|
-
def min_length(self) -> Optional[int]:
|
|
2622
|
+
def min_length(self) -> Optional[builtins.int]:
|
|
2622
2623
|
return pulumi.get(self, "min_length")
|
|
2623
2624
|
|
|
2624
2625
|
@property
|
|
2625
2626
|
@pulumi.getter(name="minProperties")
|
|
2626
|
-
def min_properties(self) -> Optional[int]:
|
|
2627
|
+
def min_properties(self) -> Optional[builtins.int]:
|
|
2627
2628
|
return pulumi.get(self, "min_properties")
|
|
2628
2629
|
|
|
2629
2630
|
@property
|
|
2630
2631
|
@pulumi.getter
|
|
2631
|
-
def minimum(self) -> Optional[float]:
|
|
2632
|
+
def minimum(self) -> Optional[builtins.float]:
|
|
2632
2633
|
return pulumi.get(self, "minimum")
|
|
2633
2634
|
|
|
2634
2635
|
@property
|
|
2635
2636
|
@pulumi.getter(name="multipleOf")
|
|
2636
|
-
def multiple_of(self) -> Optional[float]:
|
|
2637
|
+
def multiple_of(self) -> Optional[builtins.float]:
|
|
2637
2638
|
return pulumi.get(self, "multiple_of")
|
|
2638
2639
|
|
|
2639
2640
|
@property
|
|
@@ -2643,7 +2644,7 @@ class JSONSchemaPropsPatch(dict):
|
|
|
2643
2644
|
|
|
2644
2645
|
@property
|
|
2645
2646
|
@pulumi.getter
|
|
2646
|
-
def nullable(self) -> Optional[bool]:
|
|
2647
|
+
def nullable(self) -> Optional[builtins.bool]:
|
|
2647
2648
|
return pulumi.get(self, "nullable")
|
|
2648
2649
|
|
|
2649
2650
|
@property
|
|
@@ -2653,7 +2654,7 @@ class JSONSchemaPropsPatch(dict):
|
|
|
2653
2654
|
|
|
2654
2655
|
@property
|
|
2655
2656
|
@pulumi.getter
|
|
2656
|
-
def pattern(self) -> Optional[str]:
|
|
2657
|
+
def pattern(self) -> Optional[builtins.str]:
|
|
2657
2658
|
return pulumi.get(self, "pattern")
|
|
2658
2659
|
|
|
2659
2660
|
@property
|
|
@@ -2668,27 +2669,27 @@ class JSONSchemaPropsPatch(dict):
|
|
|
2668
2669
|
|
|
2669
2670
|
@property
|
|
2670
2671
|
@pulumi.getter
|
|
2671
|
-
def required(self) -> Optional[Sequence[str]]:
|
|
2672
|
+
def required(self) -> Optional[Sequence[builtins.str]]:
|
|
2672
2673
|
return pulumi.get(self, "required")
|
|
2673
2674
|
|
|
2674
2675
|
@property
|
|
2675
2676
|
@pulumi.getter
|
|
2676
|
-
def title(self) -> Optional[str]:
|
|
2677
|
+
def title(self) -> Optional[builtins.str]:
|
|
2677
2678
|
return pulumi.get(self, "title")
|
|
2678
2679
|
|
|
2679
2680
|
@property
|
|
2680
2681
|
@pulumi.getter
|
|
2681
|
-
def type(self) -> Optional[str]:
|
|
2682
|
+
def type(self) -> Optional[builtins.str]:
|
|
2682
2683
|
return pulumi.get(self, "type")
|
|
2683
2684
|
|
|
2684
2685
|
@property
|
|
2685
2686
|
@pulumi.getter(name="uniqueItems")
|
|
2686
|
-
def unique_items(self) -> Optional[bool]:
|
|
2687
|
+
def unique_items(self) -> Optional[builtins.bool]:
|
|
2687
2688
|
return pulumi.get(self, "unique_items")
|
|
2688
2689
|
|
|
2689
2690
|
@property
|
|
2690
2691
|
@pulumi.getter
|
|
2691
|
-
def x_kubernetes_embedded_resource(self) -> Optional[bool]:
|
|
2692
|
+
def x_kubernetes_embedded_resource(self) -> Optional[builtins.bool]:
|
|
2692
2693
|
"""
|
|
2693
2694
|
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
2695
|
"""
|
|
@@ -2696,7 +2697,7 @@ class JSONSchemaPropsPatch(dict):
|
|
|
2696
2697
|
|
|
2697
2698
|
@property
|
|
2698
2699
|
@pulumi.getter
|
|
2699
|
-
def x_kubernetes_int_or_string(self) -> Optional[bool]:
|
|
2700
|
+
def x_kubernetes_int_or_string(self) -> Optional[builtins.bool]:
|
|
2700
2701
|
"""
|
|
2701
2702
|
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
2703
|
|
|
@@ -2713,7 +2714,7 @@ class JSONSchemaPropsPatch(dict):
|
|
|
2713
2714
|
|
|
2714
2715
|
@property
|
|
2715
2716
|
@pulumi.getter
|
|
2716
|
-
def x_kubernetes_list_map_keys(self) -> Optional[Sequence[str]]:
|
|
2717
|
+
def x_kubernetes_list_map_keys(self) -> Optional[Sequence[builtins.str]]:
|
|
2717
2718
|
"""
|
|
2718
2719
|
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
2720
|
|
|
@@ -2725,7 +2726,7 @@ class JSONSchemaPropsPatch(dict):
|
|
|
2725
2726
|
|
|
2726
2727
|
@property
|
|
2727
2728
|
@pulumi.getter
|
|
2728
|
-
def x_kubernetes_list_type(self) -> Optional[str]:
|
|
2729
|
+
def x_kubernetes_list_type(self) -> Optional[builtins.str]:
|
|
2729
2730
|
"""
|
|
2730
2731
|
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
2732
|
|
|
@@ -2746,7 +2747,7 @@ class JSONSchemaPropsPatch(dict):
|
|
|
2746
2747
|
|
|
2747
2748
|
@property
|
|
2748
2749
|
@pulumi.getter
|
|
2749
|
-
def x_kubernetes_map_type(self) -> Optional[str]:
|
|
2750
|
+
def x_kubernetes_map_type(self) -> Optional[builtins.str]:
|
|
2750
2751
|
"""
|
|
2751
2752
|
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
2753
|
|
|
@@ -2761,7 +2762,7 @@ class JSONSchemaPropsPatch(dict):
|
|
|
2761
2762
|
|
|
2762
2763
|
@property
|
|
2763
2764
|
@pulumi.getter
|
|
2764
|
-
def x_kubernetes_preserve_unknown_fields(self) -> Optional[bool]:
|
|
2765
|
+
def x_kubernetes_preserve_unknown_fields(self) -> Optional[builtins.bool]:
|
|
2765
2766
|
"""
|
|
2766
2767
|
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
2768
|
"""
|
|
@@ -2799,16 +2800,16 @@ class SelectableField(dict):
|
|
|
2799
2800
|
return super().get(key, default)
|
|
2800
2801
|
|
|
2801
2802
|
def __init__(__self__, *,
|
|
2802
|
-
json_path: str):
|
|
2803
|
+
json_path: builtins.str):
|
|
2803
2804
|
"""
|
|
2804
2805
|
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.
|
|
2806
|
+
: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
2807
|
"""
|
|
2807
2808
|
pulumi.set(__self__, "json_path", json_path)
|
|
2808
2809
|
|
|
2809
2810
|
@property
|
|
2810
2811
|
@pulumi.getter(name="jsonPath")
|
|
2811
|
-
def json_path(self) -> str:
|
|
2812
|
+
def json_path(self) -> builtins.str:
|
|
2812
2813
|
"""
|
|
2813
2814
|
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
2815
|
"""
|
|
@@ -2838,17 +2839,17 @@ class SelectableFieldPatch(dict):
|
|
|
2838
2839
|
return super().get(key, default)
|
|
2839
2840
|
|
|
2840
2841
|
def __init__(__self__, *,
|
|
2841
|
-
json_path: Optional[str] = None):
|
|
2842
|
+
json_path: Optional[builtins.str] = None):
|
|
2842
2843
|
"""
|
|
2843
2844
|
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.
|
|
2845
|
+
: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
2846
|
"""
|
|
2846
2847
|
if json_path is not None:
|
|
2847
2848
|
pulumi.set(__self__, "json_path", json_path)
|
|
2848
2849
|
|
|
2849
2850
|
@property
|
|
2850
2851
|
@pulumi.getter(name="jsonPath")
|
|
2851
|
-
def json_path(self) -> Optional[str]:
|
|
2852
|
+
def json_path(self) -> Optional[builtins.str]:
|
|
2852
2853
|
"""
|
|
2853
2854
|
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
2855
|
"""
|
|
@@ -2861,16 +2862,16 @@ class ServiceReference(dict):
|
|
|
2861
2862
|
ServiceReference holds a reference to Service.legacy.k8s.io
|
|
2862
2863
|
"""
|
|
2863
2864
|
def __init__(__self__, *,
|
|
2864
|
-
name: str,
|
|
2865
|
-
namespace: str,
|
|
2866
|
-
path: Optional[str] = None,
|
|
2867
|
-
port: Optional[int] = None):
|
|
2865
|
+
name: builtins.str,
|
|
2866
|
+
namespace: builtins.str,
|
|
2867
|
+
path: Optional[builtins.str] = None,
|
|
2868
|
+
port: Optional[builtins.int] = None):
|
|
2868
2869
|
"""
|
|
2869
2870
|
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.
|
|
2871
|
+
:param builtins.str name: name is the name of the service. Required
|
|
2872
|
+
:param builtins.str namespace: namespace is the namespace of the service. Required
|
|
2873
|
+
:param builtins.str path: path is an optional URL path at which the webhook will be contacted.
|
|
2874
|
+
: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
2875
|
"""
|
|
2875
2876
|
pulumi.set(__self__, "name", name)
|
|
2876
2877
|
pulumi.set(__self__, "namespace", namespace)
|
|
@@ -2881,7 +2882,7 @@ class ServiceReference(dict):
|
|
|
2881
2882
|
|
|
2882
2883
|
@property
|
|
2883
2884
|
@pulumi.getter
|
|
2884
|
-
def name(self) -> str:
|
|
2885
|
+
def name(self) -> builtins.str:
|
|
2885
2886
|
"""
|
|
2886
2887
|
name is the name of the service. Required
|
|
2887
2888
|
"""
|
|
@@ -2889,7 +2890,7 @@ class ServiceReference(dict):
|
|
|
2889
2890
|
|
|
2890
2891
|
@property
|
|
2891
2892
|
@pulumi.getter
|
|
2892
|
-
def namespace(self) -> str:
|
|
2893
|
+
def namespace(self) -> builtins.str:
|
|
2893
2894
|
"""
|
|
2894
2895
|
namespace is the namespace of the service. Required
|
|
2895
2896
|
"""
|
|
@@ -2897,7 +2898,7 @@ class ServiceReference(dict):
|
|
|
2897
2898
|
|
|
2898
2899
|
@property
|
|
2899
2900
|
@pulumi.getter
|
|
2900
|
-
def path(self) -> Optional[str]:
|
|
2901
|
+
def path(self) -> Optional[builtins.str]:
|
|
2901
2902
|
"""
|
|
2902
2903
|
path is an optional URL path at which the webhook will be contacted.
|
|
2903
2904
|
"""
|
|
@@ -2905,7 +2906,7 @@ class ServiceReference(dict):
|
|
|
2905
2906
|
|
|
2906
2907
|
@property
|
|
2907
2908
|
@pulumi.getter
|
|
2908
|
-
def port(self) -> Optional[int]:
|
|
2909
|
+
def port(self) -> Optional[builtins.int]:
|
|
2909
2910
|
"""
|
|
2910
2911
|
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
2912
|
"""
|
|
@@ -2918,16 +2919,16 @@ class ServiceReferencePatch(dict):
|
|
|
2918
2919
|
ServiceReference holds a reference to Service.legacy.k8s.io
|
|
2919
2920
|
"""
|
|
2920
2921
|
def __init__(__self__, *,
|
|
2921
|
-
name: Optional[str] = None,
|
|
2922
|
-
namespace: Optional[str] = None,
|
|
2923
|
-
path: Optional[str] = None,
|
|
2924
|
-
port: Optional[int] = None):
|
|
2922
|
+
name: Optional[builtins.str] = None,
|
|
2923
|
+
namespace: Optional[builtins.str] = None,
|
|
2924
|
+
path: Optional[builtins.str] = None,
|
|
2925
|
+
port: Optional[builtins.int] = None):
|
|
2925
2926
|
"""
|
|
2926
2927
|
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.
|
|
2928
|
+
:param builtins.str name: name is the name of the service. Required
|
|
2929
|
+
:param builtins.str namespace: namespace is the namespace of the service. Required
|
|
2930
|
+
:param builtins.str path: path is an optional URL path at which the webhook will be contacted.
|
|
2931
|
+
: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
2932
|
"""
|
|
2932
2933
|
if name is not None:
|
|
2933
2934
|
pulumi.set(__self__, "name", name)
|
|
@@ -2940,7 +2941,7 @@ class ServiceReferencePatch(dict):
|
|
|
2940
2941
|
|
|
2941
2942
|
@property
|
|
2942
2943
|
@pulumi.getter
|
|
2943
|
-
def name(self) -> Optional[str]:
|
|
2944
|
+
def name(self) -> Optional[builtins.str]:
|
|
2944
2945
|
"""
|
|
2945
2946
|
name is the name of the service. Required
|
|
2946
2947
|
"""
|
|
@@ -2948,7 +2949,7 @@ class ServiceReferencePatch(dict):
|
|
|
2948
2949
|
|
|
2949
2950
|
@property
|
|
2950
2951
|
@pulumi.getter
|
|
2951
|
-
def namespace(self) -> Optional[str]:
|
|
2952
|
+
def namespace(self) -> Optional[builtins.str]:
|
|
2952
2953
|
"""
|
|
2953
2954
|
namespace is the namespace of the service. Required
|
|
2954
2955
|
"""
|
|
@@ -2956,7 +2957,7 @@ class ServiceReferencePatch(dict):
|
|
|
2956
2957
|
|
|
2957
2958
|
@property
|
|
2958
2959
|
@pulumi.getter
|
|
2959
|
-
def path(self) -> Optional[str]:
|
|
2960
|
+
def path(self) -> Optional[builtins.str]:
|
|
2960
2961
|
"""
|
|
2961
2962
|
path is an optional URL path at which the webhook will be contacted.
|
|
2962
2963
|
"""
|
|
@@ -2964,7 +2965,7 @@ class ServiceReferencePatch(dict):
|
|
|
2964
2965
|
|
|
2965
2966
|
@property
|
|
2966
2967
|
@pulumi.getter
|
|
2967
|
-
def port(self) -> Optional[int]:
|
|
2968
|
+
def port(self) -> Optional[builtins.int]:
|
|
2968
2969
|
"""
|
|
2969
2970
|
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
2971
|
"""
|
|
@@ -2998,15 +2999,15 @@ class ValidationRule(dict):
|
|
|
2998
2999
|
return super().get(key, default)
|
|
2999
3000
|
|
|
3000
3001
|
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):
|
|
3002
|
+
rule: builtins.str,
|
|
3003
|
+
field_path: Optional[builtins.str] = None,
|
|
3004
|
+
message: Optional[builtins.str] = None,
|
|
3005
|
+
message_expression: Optional[builtins.str] = None,
|
|
3006
|
+
optional_old_self: Optional[builtins.bool] = None,
|
|
3007
|
+
reason: Optional[builtins.str] = None):
|
|
3007
3008
|
"""
|
|
3008
3009
|
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"}
|
|
3010
|
+
: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
3011
|
|
|
3011
3012
|
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
3013
|
|
|
@@ -3039,17 +3040,17 @@ class ValidationRule(dict):
|
|
|
3039
3040
|
See the documentation for the `optionalOldSelf` field for details.
|
|
3040
3041
|
|
|
3041
3042
|
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.
|
|
3043
|
+
: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$']`
|
|
3044
|
+
: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"
|
|
3045
|
+
: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)+")"
|
|
3046
|
+
: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
3047
|
|
|
3047
3048
|
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
3049
|
|
|
3049
3050
|
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
3051
|
|
|
3051
3052
|
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.
|
|
3053
|
+
: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
3054
|
"""
|
|
3054
3055
|
pulumi.set(__self__, "rule", rule)
|
|
3055
3056
|
if field_path is not None:
|
|
@@ -3065,7 +3066,7 @@ class ValidationRule(dict):
|
|
|
3065
3066
|
|
|
3066
3067
|
@property
|
|
3067
3068
|
@pulumi.getter
|
|
3068
|
-
def rule(self) -> str:
|
|
3069
|
+
def rule(self) -> builtins.str:
|
|
3069
3070
|
"""
|
|
3070
3071
|
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
3072
|
|
|
@@ -3105,7 +3106,7 @@ class ValidationRule(dict):
|
|
|
3105
3106
|
|
|
3106
3107
|
@property
|
|
3107
3108
|
@pulumi.getter(name="fieldPath")
|
|
3108
|
-
def field_path(self) -> Optional[str]:
|
|
3109
|
+
def field_path(self) -> Optional[builtins.str]:
|
|
3109
3110
|
"""
|
|
3110
3111
|
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
3112
|
"""
|
|
@@ -3113,7 +3114,7 @@ class ValidationRule(dict):
|
|
|
3113
3114
|
|
|
3114
3115
|
@property
|
|
3115
3116
|
@pulumi.getter
|
|
3116
|
-
def message(self) -> Optional[str]:
|
|
3117
|
+
def message(self) -> Optional[builtins.str]:
|
|
3117
3118
|
"""
|
|
3118
3119
|
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
3120
|
"""
|
|
@@ -3121,7 +3122,7 @@ class ValidationRule(dict):
|
|
|
3121
3122
|
|
|
3122
3123
|
@property
|
|
3123
3124
|
@pulumi.getter(name="messageExpression")
|
|
3124
|
-
def message_expression(self) -> Optional[str]:
|
|
3125
|
+
def message_expression(self) -> Optional[builtins.str]:
|
|
3125
3126
|
"""
|
|
3126
3127
|
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
3128
|
"""
|
|
@@ -3129,7 +3130,7 @@ class ValidationRule(dict):
|
|
|
3129
3130
|
|
|
3130
3131
|
@property
|
|
3131
3132
|
@pulumi.getter(name="optionalOldSelf")
|
|
3132
|
-
def optional_old_self(self) -> Optional[bool]:
|
|
3133
|
+
def optional_old_self(self) -> Optional[builtins.bool]:
|
|
3133
3134
|
"""
|
|
3134
3135
|
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
3136
|
|
|
@@ -3143,7 +3144,7 @@ class ValidationRule(dict):
|
|
|
3143
3144
|
|
|
3144
3145
|
@property
|
|
3145
3146
|
@pulumi.getter
|
|
3146
|
-
def reason(self) -> Optional[str]:
|
|
3147
|
+
def reason(self) -> Optional[builtins.str]:
|
|
3147
3148
|
"""
|
|
3148
3149
|
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
3150
|
"""
|
|
@@ -3177,26 +3178,26 @@ class ValidationRulePatch(dict):
|
|
|
3177
3178
|
return super().get(key, default)
|
|
3178
3179
|
|
|
3179
3180
|
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):
|
|
3181
|
+
field_path: Optional[builtins.str] = None,
|
|
3182
|
+
message: Optional[builtins.str] = None,
|
|
3183
|
+
message_expression: Optional[builtins.str] = None,
|
|
3184
|
+
optional_old_self: Optional[builtins.bool] = None,
|
|
3185
|
+
reason: Optional[builtins.str] = None,
|
|
3186
|
+
rule: Optional[builtins.str] = None):
|
|
3186
3187
|
"""
|
|
3187
3188
|
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.
|
|
3189
|
+
: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$']`
|
|
3190
|
+
: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"
|
|
3191
|
+
: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)+")"
|
|
3192
|
+
: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
3193
|
|
|
3193
3194
|
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
3195
|
|
|
3195
3196
|
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
3197
|
|
|
3197
3198
|
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"}
|
|
3199
|
+
: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.
|
|
3200
|
+
: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
3201
|
|
|
3201
3202
|
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
3203
|
|
|
@@ -3245,7 +3246,7 @@ class ValidationRulePatch(dict):
|
|
|
3245
3246
|
|
|
3246
3247
|
@property
|
|
3247
3248
|
@pulumi.getter(name="fieldPath")
|
|
3248
|
-
def field_path(self) -> Optional[str]:
|
|
3249
|
+
def field_path(self) -> Optional[builtins.str]:
|
|
3249
3250
|
"""
|
|
3250
3251
|
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
3252
|
"""
|
|
@@ -3253,7 +3254,7 @@ class ValidationRulePatch(dict):
|
|
|
3253
3254
|
|
|
3254
3255
|
@property
|
|
3255
3256
|
@pulumi.getter
|
|
3256
|
-
def message(self) -> Optional[str]:
|
|
3257
|
+
def message(self) -> Optional[builtins.str]:
|
|
3257
3258
|
"""
|
|
3258
3259
|
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
3260
|
"""
|
|
@@ -3261,7 +3262,7 @@ class ValidationRulePatch(dict):
|
|
|
3261
3262
|
|
|
3262
3263
|
@property
|
|
3263
3264
|
@pulumi.getter(name="messageExpression")
|
|
3264
|
-
def message_expression(self) -> Optional[str]:
|
|
3265
|
+
def message_expression(self) -> Optional[builtins.str]:
|
|
3265
3266
|
"""
|
|
3266
3267
|
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
3268
|
"""
|
|
@@ -3269,7 +3270,7 @@ class ValidationRulePatch(dict):
|
|
|
3269
3270
|
|
|
3270
3271
|
@property
|
|
3271
3272
|
@pulumi.getter(name="optionalOldSelf")
|
|
3272
|
-
def optional_old_self(self) -> Optional[bool]:
|
|
3273
|
+
def optional_old_self(self) -> Optional[builtins.bool]:
|
|
3273
3274
|
"""
|
|
3274
3275
|
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
3276
|
|
|
@@ -3283,7 +3284,7 @@ class ValidationRulePatch(dict):
|
|
|
3283
3284
|
|
|
3284
3285
|
@property
|
|
3285
3286
|
@pulumi.getter
|
|
3286
|
-
def reason(self) -> Optional[str]:
|
|
3287
|
+
def reason(self) -> Optional[builtins.str]:
|
|
3287
3288
|
"""
|
|
3288
3289
|
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
3290
|
"""
|
|
@@ -3291,7 +3292,7 @@ class ValidationRulePatch(dict):
|
|
|
3291
3292
|
|
|
3292
3293
|
@property
|
|
3293
3294
|
@pulumi.getter
|
|
3294
|
-
def rule(self) -> Optional[str]:
|
|
3295
|
+
def rule(self) -> Optional[builtins.str]:
|
|
3295
3296
|
"""
|
|
3296
3297
|
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
3298
|
|
|
@@ -3353,16 +3354,16 @@ class WebhookClientConfig(dict):
|
|
|
3353
3354
|
return super().get(key, default)
|
|
3354
3355
|
|
|
3355
3356
|
def __init__(__self__, *,
|
|
3356
|
-
ca_bundle: Optional[str] = None,
|
|
3357
|
+
ca_bundle: Optional[builtins.str] = None,
|
|
3357
3358
|
service: Optional['outputs.ServiceReference'] = None,
|
|
3358
|
-
url: Optional[str] = None):
|
|
3359
|
+
url: Optional[builtins.str] = None):
|
|
3359
3360
|
"""
|
|
3360
3361
|
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.
|
|
3362
|
+
: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
3363
|
:param 'ServiceReferenceArgs' service: service is a reference to the service for this webhook. Either service or url must be specified.
|
|
3363
3364
|
|
|
3364
3365
|
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.
|
|
3366
|
+
: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
3367
|
|
|
3367
3368
|
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
3369
|
|
|
@@ -3383,7 +3384,7 @@ class WebhookClientConfig(dict):
|
|
|
3383
3384
|
|
|
3384
3385
|
@property
|
|
3385
3386
|
@pulumi.getter(name="caBundle")
|
|
3386
|
-
def ca_bundle(self) -> Optional[str]:
|
|
3387
|
+
def ca_bundle(self) -> Optional[builtins.str]:
|
|
3387
3388
|
"""
|
|
3388
3389
|
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
3390
|
"""
|
|
@@ -3401,7 +3402,7 @@ class WebhookClientConfig(dict):
|
|
|
3401
3402
|
|
|
3402
3403
|
@property
|
|
3403
3404
|
@pulumi.getter
|
|
3404
|
-
def url(self) -> Optional[str]:
|
|
3405
|
+
def url(self) -> Optional[builtins.str]:
|
|
3405
3406
|
"""
|
|
3406
3407
|
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
3408
|
|
|
@@ -3441,16 +3442,16 @@ class WebhookClientConfigPatch(dict):
|
|
|
3441
3442
|
return super().get(key, default)
|
|
3442
3443
|
|
|
3443
3444
|
def __init__(__self__, *,
|
|
3444
|
-
ca_bundle: Optional[str] = None,
|
|
3445
|
+
ca_bundle: Optional[builtins.str] = None,
|
|
3445
3446
|
service: Optional['outputs.ServiceReferencePatch'] = None,
|
|
3446
|
-
url: Optional[str] = None):
|
|
3447
|
+
url: Optional[builtins.str] = None):
|
|
3447
3448
|
"""
|
|
3448
3449
|
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.
|
|
3450
|
+
: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
3451
|
:param 'ServiceReferencePatchArgs' service: service is a reference to the service for this webhook. Either service or url must be specified.
|
|
3451
3452
|
|
|
3452
3453
|
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.
|
|
3454
|
+
: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
3455
|
|
|
3455
3456
|
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
3457
|
|
|
@@ -3471,7 +3472,7 @@ class WebhookClientConfigPatch(dict):
|
|
|
3471
3472
|
|
|
3472
3473
|
@property
|
|
3473
3474
|
@pulumi.getter(name="caBundle")
|
|
3474
|
-
def ca_bundle(self) -> Optional[str]:
|
|
3475
|
+
def ca_bundle(self) -> Optional[builtins.str]:
|
|
3475
3476
|
"""
|
|
3476
3477
|
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
3478
|
"""
|
|
@@ -3489,7 +3490,7 @@ class WebhookClientConfigPatch(dict):
|
|
|
3489
3490
|
|
|
3490
3491
|
@property
|
|
3491
3492
|
@pulumi.getter
|
|
3492
|
-
def url(self) -> Optional[str]:
|
|
3493
|
+
def url(self) -> Optional[builtins.str]:
|
|
3493
3494
|
"""
|
|
3494
3495
|
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
3496
|
|
|
@@ -3531,11 +3532,11 @@ class WebhookConversion(dict):
|
|
|
3531
3532
|
return super().get(key, default)
|
|
3532
3533
|
|
|
3533
3534
|
def __init__(__self__, *,
|
|
3534
|
-
conversion_review_versions: Sequence[str],
|
|
3535
|
+
conversion_review_versions: Sequence[builtins.str],
|
|
3535
3536
|
client_config: Optional['outputs.WebhookClientConfig'] = None):
|
|
3536
3537
|
"""
|
|
3537
3538
|
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.
|
|
3539
|
+
: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
3540
|
:param 'WebhookClientConfigArgs' client_config: clientConfig is the instructions for how to call the webhook if strategy is `Webhook`.
|
|
3540
3541
|
"""
|
|
3541
3542
|
pulumi.set(__self__, "conversion_review_versions", conversion_review_versions)
|
|
@@ -3544,7 +3545,7 @@ class WebhookConversion(dict):
|
|
|
3544
3545
|
|
|
3545
3546
|
@property
|
|
3546
3547
|
@pulumi.getter(name="conversionReviewVersions")
|
|
3547
|
-
def conversion_review_versions(self) -> Sequence[str]:
|
|
3548
|
+
def conversion_review_versions(self) -> Sequence[builtins.str]:
|
|
3548
3549
|
"""
|
|
3549
3550
|
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
3551
|
"""
|
|
@@ -3585,11 +3586,11 @@ class WebhookConversionPatch(dict):
|
|
|
3585
3586
|
|
|
3586
3587
|
def __init__(__self__, *,
|
|
3587
3588
|
client_config: Optional['outputs.WebhookClientConfigPatch'] = None,
|
|
3588
|
-
conversion_review_versions: Optional[Sequence[str]] = None):
|
|
3589
|
+
conversion_review_versions: Optional[Sequence[builtins.str]] = None):
|
|
3589
3590
|
"""
|
|
3590
3591
|
WebhookConversion describes how to call a conversion webhook
|
|
3591
3592
|
: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.
|
|
3593
|
+
: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
3594
|
"""
|
|
3594
3595
|
if client_config is not None:
|
|
3595
3596
|
pulumi.set(__self__, "client_config", client_config)
|
|
@@ -3606,7 +3607,7 @@ class WebhookConversionPatch(dict):
|
|
|
3606
3607
|
|
|
3607
3608
|
@property
|
|
3608
3609
|
@pulumi.getter(name="conversionReviewVersions")
|
|
3609
|
-
def conversion_review_versions(self) -> Optional[Sequence[str]]:
|
|
3610
|
+
def conversion_review_versions(self) -> Optional[Sequence[builtins.str]]:
|
|
3610
3611
|
"""
|
|
3611
3612
|
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
3613
|
"""
|