pulumi-kubernetes 4.24.0a1753079574__py3-none-any.whl → 4.24.0a1753121506__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 -1
- pulumi_kubernetes/_inputs.py +49 -50
- pulumi_kubernetes/admissionregistration/__init__.py +1 -1
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfiguration.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicy.py +26 -27
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBinding.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyPatch.py +26 -27
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfiguration.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/__init__.py +1 -1
- pulumi_kubernetes/admissionregistration/v1/_inputs.py +715 -716
- pulumi_kubernetes/admissionregistration/v1/outputs.py +512 -513
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicy.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBinding.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicy.py +26 -27
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyPatch.py +26 -27
- pulumi_kubernetes/admissionregistration/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/admissionregistration/v1alpha1/_inputs.py +495 -496
- pulumi_kubernetes/admissionregistration/v1alpha1/outputs.py +364 -365
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfiguration.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicy.py +26 -27
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBinding.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyPatch.py +26 -27
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfiguration.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/admissionregistration/v1beta1/_inputs.py +711 -712
- pulumi_kubernetes/admissionregistration/v1beta1/outputs.py +508 -509
- pulumi_kubernetes/apiextensions/__init__.py +1 -1
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinition.py +26 -27
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionList.py +25 -26
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionPatch.py +26 -27
- pulumi_kubernetes/apiextensions/v1/__init__.py +1 -1
- pulumi_kubernetes/apiextensions/v1/_inputs.py +906 -907
- pulumi_kubernetes/apiextensions/v1/outputs.py +620 -621
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinition.py +26 -27
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionList.py +25 -26
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionPatch.py +26 -27
- pulumi_kubernetes/apiextensions/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/apiextensions/v1beta1/_inputs.py +834 -835
- pulumi_kubernetes/apiextensions/v1beta1/outputs.py +572 -573
- pulumi_kubernetes/apiregistration/__init__.py +1 -1
- pulumi_kubernetes/apiregistration/v1/APIService.py +26 -27
- pulumi_kubernetes/apiregistration/v1/APIServiceList.py +25 -26
- pulumi_kubernetes/apiregistration/v1/APIServicePatch.py +26 -27
- pulumi_kubernetes/apiregistration/v1/__init__.py +1 -1
- pulumi_kubernetes/apiregistration/v1/_inputs.py +157 -158
- pulumi_kubernetes/apiregistration/v1/outputs.py +128 -129
- pulumi_kubernetes/apiregistration/v1beta1/APIService.py +26 -27
- pulumi_kubernetes/apiregistration/v1beta1/APIServiceList.py +25 -26
- pulumi_kubernetes/apiregistration/v1beta1/APIServicePatch.py +26 -27
- pulumi_kubernetes/apiregistration/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/apiregistration/v1beta1/_inputs.py +157 -158
- pulumi_kubernetes/apiregistration/v1beta1/outputs.py +128 -129
- pulumi_kubernetes/apps/__init__.py +1 -1
- pulumi_kubernetes/apps/v1/ControllerRevision.py +35 -36
- pulumi_kubernetes/apps/v1/ControllerRevisionList.py +25 -26
- pulumi_kubernetes/apps/v1/ControllerRevisionPatch.py +35 -36
- pulumi_kubernetes/apps/v1/DaemonSet.py +26 -27
- pulumi_kubernetes/apps/v1/DaemonSetList.py +25 -26
- pulumi_kubernetes/apps/v1/DaemonSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1/Deployment.py +26 -27
- pulumi_kubernetes/apps/v1/DeploymentList.py +25 -26
- pulumi_kubernetes/apps/v1/DeploymentPatch.py +26 -27
- pulumi_kubernetes/apps/v1/ReplicaSet.py +26 -27
- pulumi_kubernetes/apps/v1/ReplicaSetList.py +25 -26
- pulumi_kubernetes/apps/v1/ReplicaSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1/StatefulSet.py +26 -27
- pulumi_kubernetes/apps/v1/StatefulSetList.py +25 -26
- pulumi_kubernetes/apps/v1/StatefulSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1/__init__.py +1 -1
- pulumi_kubernetes/apps/v1/_inputs.py +749 -750
- pulumi_kubernetes/apps/v1/outputs.py +713 -714
- pulumi_kubernetes/apps/v1beta1/ControllerRevision.py +35 -36
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionList.py +25 -26
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionPatch.py +35 -36
- pulumi_kubernetes/apps/v1beta1/Deployment.py +26 -27
- pulumi_kubernetes/apps/v1beta1/DeploymentList.py +25 -26
- pulumi_kubernetes/apps/v1beta1/DeploymentPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta1/StatefulSet.py +26 -27
- pulumi_kubernetes/apps/v1beta1/StatefulSetList.py +25 -26
- pulumi_kubernetes/apps/v1beta1/StatefulSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/apps/v1beta1/_inputs.py +409 -410
- pulumi_kubernetes/apps/v1beta1/outputs.py +381 -382
- pulumi_kubernetes/apps/v1beta2/ControllerRevision.py +35 -36
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionPatch.py +35 -36
- pulumi_kubernetes/apps/v1beta2/DaemonSet.py +26 -27
- pulumi_kubernetes/apps/v1beta2/DaemonSetList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/DaemonSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta2/Deployment.py +26 -27
- pulumi_kubernetes/apps/v1beta2/DeploymentList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/DeploymentPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta2/ReplicaSet.py +26 -27
- pulumi_kubernetes/apps/v1beta2/ReplicaSetList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/ReplicaSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta2/StatefulSet.py +26 -27
- pulumi_kubernetes/apps/v1beta2/StatefulSetList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/StatefulSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta2/__init__.py +1 -1
- pulumi_kubernetes/apps/v1beta2/_inputs.py +655 -656
- pulumi_kubernetes/apps/v1beta2/outputs.py +645 -646
- pulumi_kubernetes/auditregistration/__init__.py +1 -1
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSink.py +25 -26
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkList.py +25 -26
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkPatch.py +25 -26
- pulumi_kubernetes/auditregistration/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/auditregistration/v1alpha1/_inputs.py +145 -146
- pulumi_kubernetes/auditregistration/v1alpha1/outputs.py +101 -102
- pulumi_kubernetes/autoscaling/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscaler.py +26 -27
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerList.py +25 -26
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerPatch.py +26 -27
- pulumi_kubernetes/autoscaling/v1/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v1/_inputs.py +120 -121
- pulumi_kubernetes/autoscaling/v1/outputs.py +102 -103
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscaler.py +26 -27
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerList.py +25 -26
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerPatch.py +26 -27
- pulumi_kubernetes/autoscaling/v2/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v2/_inputs.py +410 -411
- pulumi_kubernetes/autoscaling/v2/outputs.py +374 -375
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscaler.py +26 -27
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerList.py +25 -26
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerPatch.py +26 -27
- pulumi_kubernetes/autoscaling/v2beta1/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v2beta1/_inputs.py +451 -452
- pulumi_kubernetes/autoscaling/v2beta1/outputs.py +424 -425
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscaler.py +26 -27
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerList.py +25 -26
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerPatch.py +26 -27
- pulumi_kubernetes/autoscaling/v2beta2/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v2beta2/_inputs.py +398 -399
- pulumi_kubernetes/autoscaling/v2beta2/outputs.py +366 -367
- pulumi_kubernetes/batch/__init__.py +1 -1
- pulumi_kubernetes/batch/v1/CronJob.py +26 -27
- pulumi_kubernetes/batch/v1/CronJobList.py +25 -26
- pulumi_kubernetes/batch/v1/CronJobPatch.py +26 -27
- pulumi_kubernetes/batch/v1/Job.py +26 -27
- pulumi_kubernetes/batch/v1/JobList.py +25 -26
- pulumi_kubernetes/batch/v1/JobPatch.py +26 -27
- pulumi_kubernetes/batch/v1/__init__.py +1 -1
- pulumi_kubernetes/batch/v1/_inputs.py +494 -495
- pulumi_kubernetes/batch/v1/outputs.py +419 -420
- pulumi_kubernetes/batch/v1beta1/CronJob.py +26 -27
- pulumi_kubernetes/batch/v1beta1/CronJobList.py +25 -26
- pulumi_kubernetes/batch/v1beta1/CronJobPatch.py +26 -27
- pulumi_kubernetes/batch/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/batch/v1beta1/_inputs.py +101 -102
- pulumi_kubernetes/batch/v1beta1/outputs.py +76 -77
- pulumi_kubernetes/batch/v2alpha1/CronJob.py +26 -27
- pulumi_kubernetes/batch/v2alpha1/CronJobList.py +25 -26
- pulumi_kubernetes/batch/v2alpha1/CronJobPatch.py +26 -27
- pulumi_kubernetes/batch/v2alpha1/__init__.py +1 -1
- pulumi_kubernetes/batch/v2alpha1/_inputs.py +101 -102
- pulumi_kubernetes/batch/v2alpha1/outputs.py +76 -77
- pulumi_kubernetes/certificates/__init__.py +1 -1
- pulumi_kubernetes/certificates/v1/CertificateSigningRequest.py +26 -27
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestList.py +25 -26
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestPatch.py +26 -27
- pulumi_kubernetes/certificates/v1/__init__.py +1 -1
- pulumi_kubernetes/certificates/v1/_inputs.py +155 -156
- pulumi_kubernetes/certificates/v1/outputs.py +134 -135
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundle.py +25 -26
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundleList.py +25 -26
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundlePatch.py +25 -26
- pulumi_kubernetes/certificates/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/certificates/v1alpha1/_inputs.py +39 -40
- pulumi_kubernetes/certificates/v1alpha1/outputs.py +27 -28
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequest.py +26 -27
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestList.py +25 -26
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestPatch.py +26 -27
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundle.py +25 -26
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundleList.py +25 -26
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundlePatch.py +25 -26
- pulumi_kubernetes/certificates/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/certificates/v1beta1/_inputs.py +182 -183
- pulumi_kubernetes/certificates/v1beta1/outputs.py +154 -155
- pulumi_kubernetes/coordination/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1/Lease.py +25 -26
- pulumi_kubernetes/coordination/v1/LeaseList.py +25 -26
- pulumi_kubernetes/coordination/v1/LeasePatch.py +25 -26
- pulumi_kubernetes/coordination/v1/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1/_inputs.py +99 -100
- pulumi_kubernetes/coordination/v1/outputs.py +67 -68
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidate.py +25 -26
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidateList.py +25 -26
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidatePatch.py +25 -26
- pulumi_kubernetes/coordination/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1alpha1/_inputs.py +87 -88
- pulumi_kubernetes/coordination/v1alpha1/outputs.py +59 -60
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidate.py +25 -26
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidateList.py +25 -26
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidatePatch.py +25 -26
- pulumi_kubernetes/coordination/v1alpha2/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1alpha2/_inputs.py +87 -88
- pulumi_kubernetes/coordination/v1alpha2/outputs.py +59 -60
- pulumi_kubernetes/coordination/v1beta1/Lease.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidate.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidateList.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidatePatch.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeaseList.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeasePatch.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1beta1/_inputs.py +161 -162
- pulumi_kubernetes/coordination/v1beta1/outputs.py +109 -110
- pulumi_kubernetes/core/__init__.py +1 -1
- pulumi_kubernetes/core/v1/Binding.py +25 -26
- pulumi_kubernetes/core/v1/BindingPatch.py +25 -26
- pulumi_kubernetes/core/v1/ConfigMap.py +53 -54
- pulumi_kubernetes/core/v1/ConfigMapList.py +25 -26
- pulumi_kubernetes/core/v1/ConfigMapPatch.py +53 -54
- pulumi_kubernetes/core/v1/Endpoints.py +25 -26
- pulumi_kubernetes/core/v1/EndpointsList.py +25 -26
- pulumi_kubernetes/core/v1/EndpointsPatch.py +25 -26
- pulumi_kubernetes/core/v1/Event.py +131 -132
- pulumi_kubernetes/core/v1/EventList.py +25 -26
- pulumi_kubernetes/core/v1/EventPatch.py +131 -132
- pulumi_kubernetes/core/v1/LimitRange.py +25 -26
- pulumi_kubernetes/core/v1/LimitRangeList.py +25 -26
- pulumi_kubernetes/core/v1/LimitRangePatch.py +25 -26
- pulumi_kubernetes/core/v1/Namespace.py +26 -27
- pulumi_kubernetes/core/v1/NamespaceList.py +25 -26
- pulumi_kubernetes/core/v1/NamespacePatch.py +26 -27
- pulumi_kubernetes/core/v1/Node.py +26 -27
- pulumi_kubernetes/core/v1/NodeList.py +25 -26
- pulumi_kubernetes/core/v1/NodePatch.py +26 -27
- pulumi_kubernetes/core/v1/PersistentVolume.py +26 -27
- pulumi_kubernetes/core/v1/PersistentVolumeClaim.py +26 -27
- pulumi_kubernetes/core/v1/PersistentVolumeClaimList.py +25 -26
- pulumi_kubernetes/core/v1/PersistentVolumeClaimPatch.py +26 -27
- pulumi_kubernetes/core/v1/PersistentVolumeList.py +25 -26
- pulumi_kubernetes/core/v1/PersistentVolumePatch.py +26 -27
- pulumi_kubernetes/core/v1/Pod.py +26 -27
- pulumi_kubernetes/core/v1/PodList.py +25 -26
- pulumi_kubernetes/core/v1/PodPatch.py +26 -27
- pulumi_kubernetes/core/v1/PodTemplate.py +25 -26
- pulumi_kubernetes/core/v1/PodTemplateList.py +25 -26
- pulumi_kubernetes/core/v1/PodTemplatePatch.py +25 -26
- pulumi_kubernetes/core/v1/ReplicationController.py +26 -27
- pulumi_kubernetes/core/v1/ReplicationControllerList.py +25 -26
- pulumi_kubernetes/core/v1/ReplicationControllerPatch.py +26 -27
- pulumi_kubernetes/core/v1/ResourceQuota.py +26 -27
- pulumi_kubernetes/core/v1/ResourceQuotaList.py +25 -26
- pulumi_kubernetes/core/v1/ResourceQuotaPatch.py +26 -27
- pulumi_kubernetes/core/v1/Secret.py +63 -64
- pulumi_kubernetes/core/v1/SecretList.py +25 -26
- pulumi_kubernetes/core/v1/SecretPatch.py +63 -64
- pulumi_kubernetes/core/v1/Service.py +26 -27
- pulumi_kubernetes/core/v1/ServiceAccount.py +37 -38
- pulumi_kubernetes/core/v1/ServiceAccountList.py +25 -26
- pulumi_kubernetes/core/v1/ServiceAccountPatch.py +37 -38
- pulumi_kubernetes/core/v1/ServiceList.py +25 -26
- pulumi_kubernetes/core/v1/ServicePatch.py +26 -27
- pulumi_kubernetes/core/v1/__init__.py +1 -1
- pulumi_kubernetes/core/v1/_enums.py +2 -2
- pulumi_kubernetes/core/v1/_inputs.py +7133 -7134
- pulumi_kubernetes/core/v1/outputs.py +5390 -5391
- pulumi_kubernetes/discovery/__init__.py +1 -1
- pulumi_kubernetes/discovery/v1/EndpointSlice.py +37 -38
- pulumi_kubernetes/discovery/v1/EndpointSliceList.py +25 -26
- pulumi_kubernetes/discovery/v1/EndpointSlicePatch.py +37 -38
- pulumi_kubernetes/discovery/v1/__init__.py +1 -1
- pulumi_kubernetes/discovery/v1/_inputs.py +200 -201
- pulumi_kubernetes/discovery/v1/outputs.py +138 -139
- pulumi_kubernetes/discovery/v1beta1/EndpointSlice.py +37 -38
- pulumi_kubernetes/discovery/v1beta1/EndpointSliceList.py +25 -26
- pulumi_kubernetes/discovery/v1beta1/EndpointSlicePatch.py +37 -38
- pulumi_kubernetes/discovery/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/discovery/v1beta1/_inputs.py +158 -159
- pulumi_kubernetes/discovery/v1beta1/outputs.py +108 -109
- pulumi_kubernetes/events/__init__.py +1 -1
- pulumi_kubernetes/events/v1/Event.py +131 -132
- pulumi_kubernetes/events/v1/EventList.py +25 -26
- pulumi_kubernetes/events/v1/EventPatch.py +131 -132
- pulumi_kubernetes/events/v1/__init__.py +1 -1
- pulumi_kubernetes/events/v1/_inputs.py +102 -103
- pulumi_kubernetes/events/v1/outputs.py +70 -71
- pulumi_kubernetes/events/v1beta1/Event.py +131 -132
- pulumi_kubernetes/events/v1beta1/EventList.py +25 -26
- pulumi_kubernetes/events/v1beta1/EventPatch.py +131 -132
- pulumi_kubernetes/events/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/events/v1beta1/_inputs.py +114 -115
- pulumi_kubernetes/events/v1beta1/outputs.py +78 -79
- pulumi_kubernetes/extensions/__init__.py +1 -1
- pulumi_kubernetes/extensions/v1beta1/DaemonSet.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/DaemonSetList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/DaemonSetPatch.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/Deployment.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/DeploymentList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/DeploymentPatch.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/Ingress.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/IngressList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/IngressPatch.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicy.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyPatch.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicy.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyPatch.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/ReplicaSet.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetPatch.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/extensions/v1beta1/_inputs.py +1097 -1098
- pulumi_kubernetes/extensions/v1beta1/outputs.py +899 -900
- pulumi_kubernetes/flowcontrol/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1/_inputs.py +419 -420
- pulumi_kubernetes/flowcontrol/v1/outputs.py +333 -334
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1alpha1/_inputs.py +369 -370
- pulumi_kubernetes/flowcontrol/v1alpha1/outputs.py +299 -300
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1beta1/_inputs.py +369 -370
- pulumi_kubernetes/flowcontrol/v1beta1/outputs.py +299 -300
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta2/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1beta2/_inputs.py +419 -420
- pulumi_kubernetes/flowcontrol/v1beta2/outputs.py +333 -334
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta3/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1beta3/_inputs.py +419 -420
- pulumi_kubernetes/flowcontrol/v1beta3/outputs.py +333 -334
- pulumi_kubernetes/helm/__init__.py +1 -1
- pulumi_kubernetes/helm/v3/Release.py +316 -317
- pulumi_kubernetes/helm/v3/__init__.py +1 -1
- pulumi_kubernetes/helm/v3/_inputs.py +37 -38
- pulumi_kubernetes/helm/v3/outputs.py +54 -55
- pulumi_kubernetes/helm/v4/Chart.py +95 -96
- pulumi_kubernetes/helm/v4/__init__.py +1 -1
- pulumi_kubernetes/helm/v4/_inputs.py +34 -35
- pulumi_kubernetes/kustomize/__init__.py +1 -1
- pulumi_kubernetes/kustomize/v2/Directory.py +35 -36
- pulumi_kubernetes/kustomize/v2/__init__.py +1 -1
- pulumi_kubernetes/meta/__init__.py +1 -1
- pulumi_kubernetes/meta/v1/Status.py +57 -58
- pulumi_kubernetes/meta/v1/StatusPatch.py +57 -58
- pulumi_kubernetes/meta/v1/__init__.py +1 -1
- pulumi_kubernetes/meta/v1/_inputs.py +551 -552
- pulumi_kubernetes/meta/v1/outputs.py +395 -396
- pulumi_kubernetes/networking/__init__.py +1 -1
- pulumi_kubernetes/networking/v1/IPAddress.py +25 -26
- pulumi_kubernetes/networking/v1/IPAddressList.py +25 -26
- pulumi_kubernetes/networking/v1/IPAddressPatch.py +25 -26
- pulumi_kubernetes/networking/v1/Ingress.py +26 -27
- pulumi_kubernetes/networking/v1/IngressClass.py +25 -26
- pulumi_kubernetes/networking/v1/IngressClassList.py +25 -26
- pulumi_kubernetes/networking/v1/IngressClassPatch.py +25 -26
- pulumi_kubernetes/networking/v1/IngressList.py +25 -26
- pulumi_kubernetes/networking/v1/IngressPatch.py +26 -27
- pulumi_kubernetes/networking/v1/NetworkPolicy.py +26 -27
- pulumi_kubernetes/networking/v1/NetworkPolicyList.py +25 -26
- pulumi_kubernetes/networking/v1/NetworkPolicyPatch.py +26 -27
- pulumi_kubernetes/networking/v1/ServiceCIDR.py +26 -27
- pulumi_kubernetes/networking/v1/ServiceCIDRList.py +25 -26
- pulumi_kubernetes/networking/v1/ServiceCIDRPatch.py +26 -27
- pulumi_kubernetes/networking/v1/__init__.py +1 -1
- pulumi_kubernetes/networking/v1/_inputs.py +463 -464
- pulumi_kubernetes/networking/v1/outputs.py +350 -351
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDR.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRList.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRPatch.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/IPAddress.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/IPAddressList.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/IPAddressPatch.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDR.py +26 -27
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRList.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRPatch.py +26 -27
- pulumi_kubernetes/networking/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/networking/v1alpha1/_inputs.py +157 -158
- pulumi_kubernetes/networking/v1alpha1/outputs.py +110 -111
- pulumi_kubernetes/networking/v1beta1/IPAddress.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IPAddressList.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IPAddressPatch.py +25 -26
- pulumi_kubernetes/networking/v1beta1/Ingress.py +26 -27
- pulumi_kubernetes/networking/v1beta1/IngressClass.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IngressClassList.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IngressClassPatch.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IngressList.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IngressPatch.py +26 -27
- pulumi_kubernetes/networking/v1beta1/ServiceCIDR.py +26 -27
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRList.py +25 -26
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRPatch.py +26 -27
- pulumi_kubernetes/networking/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/networking/v1beta1/_inputs.py +247 -248
- pulumi_kubernetes/networking/v1beta1/outputs.py +173 -174
- pulumi_kubernetes/node/__init__.py +1 -1
- pulumi_kubernetes/node/v1/RuntimeClass.py +37 -38
- pulumi_kubernetes/node/v1/RuntimeClassList.py +25 -26
- pulumi_kubernetes/node/v1/RuntimeClassPatch.py +37 -38
- pulumi_kubernetes/node/v1/__init__.py +1 -1
- pulumi_kubernetes/node/v1/_inputs.py +48 -49
- pulumi_kubernetes/node/v1/outputs.py +34 -35
- pulumi_kubernetes/node/v1alpha1/RuntimeClass.py +25 -26
- pulumi_kubernetes/node/v1alpha1/RuntimeClassList.py +25 -26
- pulumi_kubernetes/node/v1alpha1/RuntimeClassPatch.py +25 -26
- pulumi_kubernetes/node/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/node/v1alpha1/_inputs.py +57 -58
- pulumi_kubernetes/node/v1alpha1/outputs.py +41 -42
- pulumi_kubernetes/node/v1beta1/RuntimeClass.py +37 -38
- pulumi_kubernetes/node/v1beta1/RuntimeClassList.py +25 -26
- pulumi_kubernetes/node/v1beta1/RuntimeClassPatch.py +37 -38
- pulumi_kubernetes/node/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/node/v1beta1/_inputs.py +48 -49
- pulumi_kubernetes/node/v1beta1/outputs.py +34 -35
- pulumi_kubernetes/policy/__init__.py +1 -1
- pulumi_kubernetes/policy/v1/PodDisruptionBudget.py +26 -27
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetList.py +25 -26
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetPatch.py +26 -27
- pulumi_kubernetes/policy/v1/__init__.py +1 -1
- pulumi_kubernetes/policy/v1/_inputs.py +91 -92
- pulumi_kubernetes/policy/v1/outputs.py +80 -81
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudget.py +26 -27
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetList.py +25 -26
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetPatch.py +26 -27
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicy.py +25 -26
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyList.py +25 -26
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyPatch.py +25 -26
- pulumi_kubernetes/policy/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/policy/v1beta1/_inputs.py +470 -471
- pulumi_kubernetes/policy/v1beta1/outputs.py +342 -343
- pulumi_kubernetes/provider.py +107 -108
- pulumi_kubernetes/pulumi-plugin.json +1 -1
- pulumi_kubernetes/rbac/__init__.py +1 -1
- pulumi_kubernetes/rbac/v1/ClusterRole.py +27 -28
- pulumi_kubernetes/rbac/v1/ClusterRoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1/ClusterRoleList.py +25 -26
- pulumi_kubernetes/rbac/v1/ClusterRolePatch.py +27 -28
- pulumi_kubernetes/rbac/v1/Role.py +25 -26
- pulumi_kubernetes/rbac/v1/RoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1/RoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1/RoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1/RoleList.py +25 -26
- pulumi_kubernetes/rbac/v1/RolePatch.py +25 -26
- pulumi_kubernetes/rbac/v1/__init__.py +1 -1
- pulumi_kubernetes/rbac/v1/_inputs.py +206 -207
- pulumi_kubernetes/rbac/v1/outputs.py +142 -143
- pulumi_kubernetes/rbac/v1alpha1/ClusterRole.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleList.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/ClusterRolePatch.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/Role.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/RoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/RoleList.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/RolePatch.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/rbac/v1alpha1/_inputs.py +206 -207
- pulumi_kubernetes/rbac/v1alpha1/outputs.py +142 -143
- pulumi_kubernetes/rbac/v1beta1/ClusterRole.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleList.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/ClusterRolePatch.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/Role.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/RoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/RoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/RoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/RoleList.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/RolePatch.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/rbac/v1beta1/_inputs.py +206 -207
- pulumi_kubernetes/rbac/v1beta1/outputs.py +142 -143
- pulumi_kubernetes/resource/__init__.py +1 -1
- pulumi_kubernetes/resource/v1alpha1/PodScheduling.py +26 -27
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingList.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClass.py +37 -38
- pulumi_kubernetes/resource/v1alpha1/ResourceClassList.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClassPatch.py +37 -38
- pulumi_kubernetes/resource/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/resource/v1alpha1/_inputs.py +268 -269
- pulumi_kubernetes/resource/v1alpha1/outputs.py +230 -231
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContext.py +26 -27
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParameters.py +37 -38
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersPatch.py +37 -38
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClass.py +47 -48
- pulumi_kubernetes/resource/v1alpha2/ResourceClassList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParameters.py +29 -30
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersPatch.py +29 -30
- pulumi_kubernetes/resource/v1alpha2/ResourceClassPatch.py +47 -48
- pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +45 -46
- pulumi_kubernetes/resource/v1alpha2/ResourceSliceList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +45 -46
- pulumi_kubernetes/resource/v1alpha2/__init__.py +1 -1
- pulumi_kubernetes/resource/v1alpha2/_inputs.py +550 -551
- pulumi_kubernetes/resource/v1alpha2/outputs.py +449 -450
- pulumi_kubernetes/resource/v1alpha3/DeviceClass.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceClassList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceClassPatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRule.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRuleList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRulePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContext.py +26 -27
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha3/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceSlice.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceSliceList.py +27 -28
- pulumi_kubernetes/resource/v1alpha3/ResourceSlicePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/__init__.py +1 -1
- pulumi_kubernetes/resource/v1alpha3/_inputs.py +836 -837
- pulumi_kubernetes/resource/v1alpha3/outputs.py +685 -686
- pulumi_kubernetes/resource/v1beta1/DeviceClass.py +25 -26
- pulumi_kubernetes/resource/v1beta1/DeviceClassList.py +25 -26
- pulumi_kubernetes/resource/v1beta1/DeviceClassPatch.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1beta1/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceSlice.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceSliceList.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceSlicePatch.py +25 -26
- pulumi_kubernetes/resource/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/resource/v1beta1/_inputs.py +686 -687
- pulumi_kubernetes/resource/v1beta1/outputs.py +564 -565
- pulumi_kubernetes/resource/v1beta2/DeviceClass.py +25 -26
- pulumi_kubernetes/resource/v1beta2/DeviceClassList.py +25 -26
- pulumi_kubernetes/resource/v1beta2/DeviceClassPatch.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1beta2/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceSlice.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceSliceList.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceSlicePatch.py +25 -26
- pulumi_kubernetes/resource/v1beta2/__init__.py +1 -1
- pulumi_kubernetes/resource/v1beta2/_inputs.py +686 -687
- pulumi_kubernetes/resource/v1beta2/outputs.py +564 -565
- pulumi_kubernetes/scheduling/__init__.py +1 -1
- pulumi_kubernetes/scheduling/v1/PriorityClass.py +63 -64
- pulumi_kubernetes/scheduling/v1/PriorityClassList.py +25 -26
- pulumi_kubernetes/scheduling/v1/PriorityClassPatch.py +63 -64
- pulumi_kubernetes/scheduling/v1/__init__.py +1 -1
- pulumi_kubernetes/scheduling/v1/_inputs.py +38 -39
- pulumi_kubernetes/scheduling/v1/outputs.py +26 -27
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClass.py +63 -64
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassList.py +25 -26
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassPatch.py +63 -64
- pulumi_kubernetes/scheduling/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/scheduling/v1alpha1/_inputs.py +38 -39
- pulumi_kubernetes/scheduling/v1alpha1/outputs.py +26 -27
- pulumi_kubernetes/scheduling/v1beta1/PriorityClass.py +63 -64
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassList.py +25 -26
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassPatch.py +63 -64
- pulumi_kubernetes/scheduling/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/scheduling/v1beta1/_inputs.py +38 -39
- pulumi_kubernetes/scheduling/v1beta1/outputs.py +26 -27
- pulumi_kubernetes/settings/__init__.py +1 -1
- pulumi_kubernetes/settings/v1alpha1/PodPreset.py +25 -26
- pulumi_kubernetes/settings/v1alpha1/PodPresetList.py +25 -26
- pulumi_kubernetes/settings/v1alpha1/PodPresetPatch.py +25 -26
- pulumi_kubernetes/settings/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/settings/v1alpha1/_inputs.py +25 -26
- pulumi_kubernetes/settings/v1alpha1/outputs.py +21 -22
- pulumi_kubernetes/storage/__init__.py +1 -1
- pulumi_kubernetes/storage/v1/CSIDriver.py +25 -26
- pulumi_kubernetes/storage/v1/CSIDriverList.py +25 -26
- pulumi_kubernetes/storage/v1/CSIDriverPatch.py +25 -26
- pulumi_kubernetes/storage/v1/CSINode.py +25 -26
- pulumi_kubernetes/storage/v1/CSINodeList.py +25 -26
- pulumi_kubernetes/storage/v1/CSINodePatch.py +25 -26
- pulumi_kubernetes/storage/v1/CSIStorageCapacity.py +55 -56
- pulumi_kubernetes/storage/v1/CSIStorageCapacityList.py +25 -26
- pulumi_kubernetes/storage/v1/CSIStorageCapacityPatch.py +55 -56
- pulumi_kubernetes/storage/v1/StorageClass.py +85 -86
- pulumi_kubernetes/storage/v1/StorageClassList.py +25 -26
- pulumi_kubernetes/storage/v1/StorageClassPatch.py +85 -86
- pulumi_kubernetes/storage/v1/VolumeAttachment.py +26 -27
- pulumi_kubernetes/storage/v1/VolumeAttachmentList.py +25 -26
- pulumi_kubernetes/storage/v1/VolumeAttachmentPatch.py +26 -27
- pulumi_kubernetes/storage/v1/__init__.py +1 -1
- pulumi_kubernetes/storage/v1/_inputs.py +372 -373
- pulumi_kubernetes/storage/v1/outputs.py +278 -279
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachment.py +26 -27
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentList.py +25 -26
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentPatch.py +26 -27
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClass.py +43 -44
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassList.py +25 -26
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassPatch.py +43 -44
- pulumi_kubernetes/storage/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/storage/v1alpha1/_inputs.py +107 -108
- pulumi_kubernetes/storage/v1alpha1/outputs.py +93 -94
- pulumi_kubernetes/storage/v1beta1/CSIDriver.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSIDriverList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSIDriverPatch.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSINode.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSINodeList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSINodePatch.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacity.py +55 -56
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityPatch.py +55 -56
- pulumi_kubernetes/storage/v1beta1/StorageClass.py +85 -86
- pulumi_kubernetes/storage/v1beta1/StorageClassList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/StorageClassPatch.py +85 -86
- pulumi_kubernetes/storage/v1beta1/VolumeAttachment.py +26 -27
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentPatch.py +26 -27
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClass.py +43 -44
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassPatch.py +43 -44
- pulumi_kubernetes/storage/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/storage/v1beta1/_inputs.py +367 -368
- pulumi_kubernetes/storage/v1beta1/outputs.py +271 -272
- pulumi_kubernetes/storagemigration/__init__.py +1 -1
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigration.py +26 -27
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationList.py +25 -26
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationPatch.py +26 -27
- pulumi_kubernetes/storagemigration/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/storagemigration/v1alpha1/_inputs.py +103 -104
- pulumi_kubernetes/storagemigration/v1alpha1/outputs.py +96 -97
- pulumi_kubernetes/yaml/__init__.py +1 -1
- pulumi_kubernetes/yaml/v2/ConfigFile.py +26 -27
- pulumi_kubernetes/yaml/v2/ConfigGroup.py +35 -36
- pulumi_kubernetes/yaml/v2/__init__.py +1 -1
- {pulumi_kubernetes-4.24.0a1753079574.dist-info → pulumi_kubernetes-4.24.0a1753121506.dist-info}/METADATA +1 -1
- pulumi_kubernetes-4.24.0a1753121506.dist-info/RECORD +709 -0
- pulumi_kubernetes-4.24.0a1753079574.dist-info/RECORD +0 -709
- {pulumi_kubernetes-4.24.0a1753079574.dist-info → pulumi_kubernetes-4.24.0a1753121506.dist-info}/WHEEL +0 -0
- {pulumi_kubernetes-4.24.0a1753079574.dist-info → pulumi_kubernetes-4.24.0a1753121506.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +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
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -137,17 +136,17 @@ if not MYPY:
|
|
|
137
136
|
"""
|
|
138
137
|
AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.
|
|
139
138
|
"""
|
|
140
|
-
device: pulumi.Input[
|
|
139
|
+
device: pulumi.Input[_builtins.str]
|
|
141
140
|
"""
|
|
142
141
|
Device references one device instance via its name in the driver's resource pool. It must be a DNS label.
|
|
143
142
|
"""
|
|
144
|
-
driver: pulumi.Input[
|
|
143
|
+
driver: pulumi.Input[_builtins.str]
|
|
145
144
|
"""
|
|
146
145
|
Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.
|
|
147
146
|
|
|
148
147
|
Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.
|
|
149
148
|
"""
|
|
150
|
-
pool: pulumi.Input[
|
|
149
|
+
pool: pulumi.Input[_builtins.str]
|
|
151
150
|
"""
|
|
152
151
|
This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`).
|
|
153
152
|
|
|
@@ -175,19 +174,19 @@ elif False:
|
|
|
175
174
|
@pulumi.input_type
|
|
176
175
|
class AllocatedDeviceStatusArgs:
|
|
177
176
|
def __init__(__self__, *,
|
|
178
|
-
device: pulumi.Input[
|
|
179
|
-
driver: pulumi.Input[
|
|
180
|
-
pool: pulumi.Input[
|
|
177
|
+
device: pulumi.Input[_builtins.str],
|
|
178
|
+
driver: pulumi.Input[_builtins.str],
|
|
179
|
+
pool: pulumi.Input[_builtins.str],
|
|
181
180
|
conditions: Optional[pulumi.Input[Sequence[pulumi.Input['_meta.v1.ConditionArgs']]]] = None,
|
|
182
181
|
data: Optional[Any] = None,
|
|
183
182
|
network_data: Optional[pulumi.Input['NetworkDeviceDataArgs']] = None):
|
|
184
183
|
"""
|
|
185
184
|
AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.
|
|
186
|
-
:param pulumi.Input[
|
|
187
|
-
:param pulumi.Input[
|
|
185
|
+
:param pulumi.Input[_builtins.str] device: Device references one device instance via its name in the driver's resource pool. It must be a DNS label.
|
|
186
|
+
:param pulumi.Input[_builtins.str] driver: Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.
|
|
188
187
|
|
|
189
188
|
Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.
|
|
190
|
-
:param pulumi.Input[
|
|
189
|
+
:param pulumi.Input[_builtins.str] pool: This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`).
|
|
191
190
|
|
|
192
191
|
Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.
|
|
193
192
|
:param pulumi.Input[Sequence[pulumi.Input['_meta.v1.ConditionArgs']]] conditions: Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True.
|
|
@@ -208,21 +207,21 @@ class AllocatedDeviceStatusArgs:
|
|
|
208
207
|
if network_data is not None:
|
|
209
208
|
pulumi.set(__self__, "network_data", network_data)
|
|
210
209
|
|
|
211
|
-
@property
|
|
210
|
+
@_builtins.property
|
|
212
211
|
@pulumi.getter
|
|
213
|
-
def device(self) -> pulumi.Input[
|
|
212
|
+
def device(self) -> pulumi.Input[_builtins.str]:
|
|
214
213
|
"""
|
|
215
214
|
Device references one device instance via its name in the driver's resource pool. It must be a DNS label.
|
|
216
215
|
"""
|
|
217
216
|
return pulumi.get(self, "device")
|
|
218
217
|
|
|
219
218
|
@device.setter
|
|
220
|
-
def device(self, value: pulumi.Input[
|
|
219
|
+
def device(self, value: pulumi.Input[_builtins.str]):
|
|
221
220
|
pulumi.set(self, "device", value)
|
|
222
221
|
|
|
223
|
-
@property
|
|
222
|
+
@_builtins.property
|
|
224
223
|
@pulumi.getter
|
|
225
|
-
def driver(self) -> pulumi.Input[
|
|
224
|
+
def driver(self) -> pulumi.Input[_builtins.str]:
|
|
226
225
|
"""
|
|
227
226
|
Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.
|
|
228
227
|
|
|
@@ -231,12 +230,12 @@ class AllocatedDeviceStatusArgs:
|
|
|
231
230
|
return pulumi.get(self, "driver")
|
|
232
231
|
|
|
233
232
|
@driver.setter
|
|
234
|
-
def driver(self, value: pulumi.Input[
|
|
233
|
+
def driver(self, value: pulumi.Input[_builtins.str]):
|
|
235
234
|
pulumi.set(self, "driver", value)
|
|
236
235
|
|
|
237
|
-
@property
|
|
236
|
+
@_builtins.property
|
|
238
237
|
@pulumi.getter
|
|
239
|
-
def pool(self) -> pulumi.Input[
|
|
238
|
+
def pool(self) -> pulumi.Input[_builtins.str]:
|
|
240
239
|
"""
|
|
241
240
|
This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`).
|
|
242
241
|
|
|
@@ -245,10 +244,10 @@ class AllocatedDeviceStatusArgs:
|
|
|
245
244
|
return pulumi.get(self, "pool")
|
|
246
245
|
|
|
247
246
|
@pool.setter
|
|
248
|
-
def pool(self, value: pulumi.Input[
|
|
247
|
+
def pool(self, value: pulumi.Input[_builtins.str]):
|
|
249
248
|
pulumi.set(self, "pool", value)
|
|
250
249
|
|
|
251
|
-
@property
|
|
250
|
+
@_builtins.property
|
|
252
251
|
@pulumi.getter
|
|
253
252
|
def conditions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['_meta.v1.ConditionArgs']]]]:
|
|
254
253
|
"""
|
|
@@ -262,7 +261,7 @@ class AllocatedDeviceStatusArgs:
|
|
|
262
261
|
def conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['_meta.v1.ConditionArgs']]]]):
|
|
263
262
|
pulumi.set(self, "conditions", value)
|
|
264
263
|
|
|
265
|
-
@property
|
|
264
|
+
@_builtins.property
|
|
266
265
|
@pulumi.getter
|
|
267
266
|
def data(self) -> Optional[Any]:
|
|
268
267
|
"""
|
|
@@ -276,7 +275,7 @@ class AllocatedDeviceStatusArgs:
|
|
|
276
275
|
def data(self, value: Optional[Any]):
|
|
277
276
|
pulumi.set(self, "data", value)
|
|
278
277
|
|
|
279
|
-
@property
|
|
278
|
+
@_builtins.property
|
|
280
279
|
@pulumi.getter(name="networkData")
|
|
281
280
|
def network_data(self) -> Optional[pulumi.Input['NetworkDeviceDataArgs']]:
|
|
282
281
|
"""
|
|
@@ -320,7 +319,7 @@ class AllocationResultArgs:
|
|
|
320
319
|
if node_selector is not None:
|
|
321
320
|
pulumi.set(__self__, "node_selector", node_selector)
|
|
322
321
|
|
|
323
|
-
@property
|
|
322
|
+
@_builtins.property
|
|
324
323
|
@pulumi.getter
|
|
325
324
|
def devices(self) -> Optional[pulumi.Input['DeviceAllocationResultArgs']]:
|
|
326
325
|
"""
|
|
@@ -332,7 +331,7 @@ class AllocationResultArgs:
|
|
|
332
331
|
def devices(self, value: Optional[pulumi.Input['DeviceAllocationResultArgs']]):
|
|
333
332
|
pulumi.set(self, "devices", value)
|
|
334
333
|
|
|
335
|
-
@property
|
|
334
|
+
@_builtins.property
|
|
336
335
|
@pulumi.getter(name="nodeSelector")
|
|
337
336
|
def node_selector(self) -> Optional[pulumi.Input['_core.v1.NodeSelectorArgs']]:
|
|
338
337
|
"""
|
|
@@ -350,7 +349,7 @@ if not MYPY:
|
|
|
350
349
|
"""
|
|
351
350
|
CELDeviceSelector contains a CEL expression for selecting a device.
|
|
352
351
|
"""
|
|
353
|
-
expression: NotRequired[pulumi.Input[
|
|
352
|
+
expression: NotRequired[pulumi.Input[_builtins.str]]
|
|
354
353
|
"""
|
|
355
354
|
Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort.
|
|
356
355
|
|
|
@@ -388,10 +387,10 @@ elif False:
|
|
|
388
387
|
@pulumi.input_type
|
|
389
388
|
class CELDeviceSelectorPatchArgs:
|
|
390
389
|
def __init__(__self__, *,
|
|
391
|
-
expression: Optional[pulumi.Input[
|
|
390
|
+
expression: Optional[pulumi.Input[_builtins.str]] = None):
|
|
392
391
|
"""
|
|
393
392
|
CELDeviceSelector contains a CEL expression for selecting a device.
|
|
394
|
-
:param pulumi.Input[
|
|
393
|
+
:param pulumi.Input[_builtins.str] expression: Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort.
|
|
395
394
|
|
|
396
395
|
The expression's input is an object named "device", which carries the following properties:
|
|
397
396
|
- driver (string): the name of the driver which defines this device.
|
|
@@ -424,9 +423,9 @@ class CELDeviceSelectorPatchArgs:
|
|
|
424
423
|
if expression is not None:
|
|
425
424
|
pulumi.set(__self__, "expression", expression)
|
|
426
425
|
|
|
427
|
-
@property
|
|
426
|
+
@_builtins.property
|
|
428
427
|
@pulumi.getter
|
|
429
|
-
def expression(self) -> Optional[pulumi.Input[
|
|
428
|
+
def expression(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
430
429
|
"""
|
|
431
430
|
Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort.
|
|
432
431
|
|
|
@@ -461,7 +460,7 @@ class CELDeviceSelectorPatchArgs:
|
|
|
461
460
|
return pulumi.get(self, "expression")
|
|
462
461
|
|
|
463
462
|
@expression.setter
|
|
464
|
-
def expression(self, value: Optional[pulumi.Input[
|
|
463
|
+
def expression(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
465
464
|
pulumi.set(self, "expression", value)
|
|
466
465
|
|
|
467
466
|
|
|
@@ -470,7 +469,7 @@ if not MYPY:
|
|
|
470
469
|
"""
|
|
471
470
|
CELDeviceSelector contains a CEL expression for selecting a device.
|
|
472
471
|
"""
|
|
473
|
-
expression: pulumi.Input[
|
|
472
|
+
expression: pulumi.Input[_builtins.str]
|
|
474
473
|
"""
|
|
475
474
|
Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort.
|
|
476
475
|
|
|
@@ -508,10 +507,10 @@ elif False:
|
|
|
508
507
|
@pulumi.input_type
|
|
509
508
|
class CELDeviceSelectorArgs:
|
|
510
509
|
def __init__(__self__, *,
|
|
511
|
-
expression: pulumi.Input[
|
|
510
|
+
expression: pulumi.Input[_builtins.str]):
|
|
512
511
|
"""
|
|
513
512
|
CELDeviceSelector contains a CEL expression for selecting a device.
|
|
514
|
-
:param pulumi.Input[
|
|
513
|
+
:param pulumi.Input[_builtins.str] expression: Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort.
|
|
515
514
|
|
|
516
515
|
The expression's input is an object named "device", which carries the following properties:
|
|
517
516
|
- driver (string): the name of the driver which defines this device.
|
|
@@ -543,9 +542,9 @@ class CELDeviceSelectorArgs:
|
|
|
543
542
|
"""
|
|
544
543
|
pulumi.set(__self__, "expression", expression)
|
|
545
544
|
|
|
546
|
-
@property
|
|
545
|
+
@_builtins.property
|
|
547
546
|
@pulumi.getter
|
|
548
|
-
def expression(self) -> pulumi.Input[
|
|
547
|
+
def expression(self) -> pulumi.Input[_builtins.str]:
|
|
549
548
|
"""
|
|
550
549
|
Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort.
|
|
551
550
|
|
|
@@ -580,7 +579,7 @@ class CELDeviceSelectorArgs:
|
|
|
580
579
|
return pulumi.get(self, "expression")
|
|
581
580
|
|
|
582
581
|
@expression.setter
|
|
583
|
-
def expression(self, value: pulumi.Input[
|
|
582
|
+
def expression(self, value: pulumi.Input[_builtins.str]):
|
|
584
583
|
pulumi.set(self, "expression", value)
|
|
585
584
|
|
|
586
585
|
|
|
@@ -597,7 +596,7 @@ if not MYPY:
|
|
|
597
596
|
|
|
598
597
|
The maximum number of counters in all sets is 32.
|
|
599
598
|
"""
|
|
600
|
-
name: NotRequired[pulumi.Input[
|
|
599
|
+
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
601
600
|
"""
|
|
602
601
|
Name defines the name of the counter set. It must be a DNS label.
|
|
603
602
|
"""
|
|
@@ -608,7 +607,7 @@ elif False:
|
|
|
608
607
|
class CounterSetPatchArgs:
|
|
609
608
|
def __init__(__self__, *,
|
|
610
609
|
counters: Optional[pulumi.Input[Mapping[str, pulumi.Input['CounterArgs']]]] = None,
|
|
611
|
-
name: Optional[pulumi.Input[
|
|
610
|
+
name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
612
611
|
"""
|
|
613
612
|
CounterSet defines a named set of counters that are available to be used by devices defined in the ResourceSlice.
|
|
614
613
|
|
|
@@ -616,14 +615,14 @@ class CounterSetPatchArgs:
|
|
|
616
615
|
:param pulumi.Input[Mapping[str, pulumi.Input['CounterArgs']]] counters: Counters defines the set of counters for this CounterSet The name of each counter must be unique in that set and must be a DNS label.
|
|
617
616
|
|
|
618
617
|
The maximum number of counters in all sets is 32.
|
|
619
|
-
:param pulumi.Input[
|
|
618
|
+
:param pulumi.Input[_builtins.str] name: Name defines the name of the counter set. It must be a DNS label.
|
|
620
619
|
"""
|
|
621
620
|
if counters is not None:
|
|
622
621
|
pulumi.set(__self__, "counters", counters)
|
|
623
622
|
if name is not None:
|
|
624
623
|
pulumi.set(__self__, "name", name)
|
|
625
624
|
|
|
626
|
-
@property
|
|
625
|
+
@_builtins.property
|
|
627
626
|
@pulumi.getter
|
|
628
627
|
def counters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input['CounterArgs']]]]:
|
|
629
628
|
"""
|
|
@@ -637,16 +636,16 @@ class CounterSetPatchArgs:
|
|
|
637
636
|
def counters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['CounterArgs']]]]):
|
|
638
637
|
pulumi.set(self, "counters", value)
|
|
639
638
|
|
|
640
|
-
@property
|
|
639
|
+
@_builtins.property
|
|
641
640
|
@pulumi.getter
|
|
642
|
-
def name(self) -> Optional[pulumi.Input[
|
|
641
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
643
642
|
"""
|
|
644
643
|
Name defines the name of the counter set. It must be a DNS label.
|
|
645
644
|
"""
|
|
646
645
|
return pulumi.get(self, "name")
|
|
647
646
|
|
|
648
647
|
@name.setter
|
|
649
|
-
def name(self, value: Optional[pulumi.Input[
|
|
648
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
650
649
|
pulumi.set(self, "name", value)
|
|
651
650
|
|
|
652
651
|
|
|
@@ -663,7 +662,7 @@ if not MYPY:
|
|
|
663
662
|
|
|
664
663
|
The maximum number of counters in all sets is 32.
|
|
665
664
|
"""
|
|
666
|
-
name: pulumi.Input[
|
|
665
|
+
name: pulumi.Input[_builtins.str]
|
|
667
666
|
"""
|
|
668
667
|
Name defines the name of the counter set. It must be a DNS label.
|
|
669
668
|
"""
|
|
@@ -674,7 +673,7 @@ elif False:
|
|
|
674
673
|
class CounterSetArgs:
|
|
675
674
|
def __init__(__self__, *,
|
|
676
675
|
counters: pulumi.Input[Mapping[str, pulumi.Input['CounterArgs']]],
|
|
677
|
-
name: pulumi.Input[
|
|
676
|
+
name: pulumi.Input[_builtins.str]):
|
|
678
677
|
"""
|
|
679
678
|
CounterSet defines a named set of counters that are available to be used by devices defined in the ResourceSlice.
|
|
680
679
|
|
|
@@ -682,12 +681,12 @@ class CounterSetArgs:
|
|
|
682
681
|
:param pulumi.Input[Mapping[str, pulumi.Input['CounterArgs']]] counters: Counters defines the set of counters for this CounterSet The name of each counter must be unique in that set and must be a DNS label.
|
|
683
682
|
|
|
684
683
|
The maximum number of counters in all sets is 32.
|
|
685
|
-
:param pulumi.Input[
|
|
684
|
+
:param pulumi.Input[_builtins.str] name: Name defines the name of the counter set. It must be a DNS label.
|
|
686
685
|
"""
|
|
687
686
|
pulumi.set(__self__, "counters", counters)
|
|
688
687
|
pulumi.set(__self__, "name", name)
|
|
689
688
|
|
|
690
|
-
@property
|
|
689
|
+
@_builtins.property
|
|
691
690
|
@pulumi.getter
|
|
692
691
|
def counters(self) -> pulumi.Input[Mapping[str, pulumi.Input['CounterArgs']]]:
|
|
693
692
|
"""
|
|
@@ -701,16 +700,16 @@ class CounterSetArgs:
|
|
|
701
700
|
def counters(self, value: pulumi.Input[Mapping[str, pulumi.Input['CounterArgs']]]):
|
|
702
701
|
pulumi.set(self, "counters", value)
|
|
703
702
|
|
|
704
|
-
@property
|
|
703
|
+
@_builtins.property
|
|
705
704
|
@pulumi.getter
|
|
706
|
-
def name(self) -> pulumi.Input[
|
|
705
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
707
706
|
"""
|
|
708
707
|
Name defines the name of the counter set. It must be a DNS label.
|
|
709
708
|
"""
|
|
710
709
|
return pulumi.get(self, "name")
|
|
711
710
|
|
|
712
711
|
@name.setter
|
|
713
|
-
def name(self, value: pulumi.Input[
|
|
712
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
714
713
|
pulumi.set(self, "name", value)
|
|
715
714
|
|
|
716
715
|
|
|
@@ -719,7 +718,7 @@ if not MYPY:
|
|
|
719
718
|
"""
|
|
720
719
|
Counter describes a quantity associated with a device.
|
|
721
720
|
"""
|
|
722
|
-
value: pulumi.Input[
|
|
721
|
+
value: pulumi.Input[_builtins.str]
|
|
723
722
|
"""
|
|
724
723
|
Value defines how much of a certain device counter is available.
|
|
725
724
|
"""
|
|
@@ -729,23 +728,23 @@ elif False:
|
|
|
729
728
|
@pulumi.input_type
|
|
730
729
|
class CounterArgs:
|
|
731
730
|
def __init__(__self__, *,
|
|
732
|
-
value: pulumi.Input[
|
|
731
|
+
value: pulumi.Input[_builtins.str]):
|
|
733
732
|
"""
|
|
734
733
|
Counter describes a quantity associated with a device.
|
|
735
|
-
:param pulumi.Input[
|
|
734
|
+
:param pulumi.Input[_builtins.str] value: Value defines how much of a certain device counter is available.
|
|
736
735
|
"""
|
|
737
736
|
pulumi.set(__self__, "value", value)
|
|
738
737
|
|
|
739
|
-
@property
|
|
738
|
+
@_builtins.property
|
|
740
739
|
@pulumi.getter
|
|
741
|
-
def value(self) -> pulumi.Input[
|
|
740
|
+
def value(self) -> pulumi.Input[_builtins.str]:
|
|
742
741
|
"""
|
|
743
742
|
Value defines how much of a certain device counter is available.
|
|
744
743
|
"""
|
|
745
744
|
return pulumi.get(self, "value")
|
|
746
745
|
|
|
747
746
|
@value.setter
|
|
748
|
-
def value(self, value: pulumi.Input[
|
|
747
|
+
def value(self, value: pulumi.Input[_builtins.str]):
|
|
749
748
|
pulumi.set(self, "value", value)
|
|
750
749
|
|
|
751
750
|
|
|
@@ -754,7 +753,7 @@ if not MYPY:
|
|
|
754
753
|
"""
|
|
755
754
|
DeviceAllocationConfiguration gets embedded in an AllocationResult.
|
|
756
755
|
"""
|
|
757
|
-
source: pulumi.Input[
|
|
756
|
+
source: pulumi.Input[_builtins.str]
|
|
758
757
|
"""
|
|
759
758
|
Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim.
|
|
760
759
|
"""
|
|
@@ -762,7 +761,7 @@ if not MYPY:
|
|
|
762
761
|
"""
|
|
763
762
|
Opaque provides driver-specific configuration parameters.
|
|
764
763
|
"""
|
|
765
|
-
requests: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
764
|
+
requests: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
766
765
|
"""
|
|
767
766
|
Requests lists the names of requests where the configuration applies. If empty, its applies to all requests.
|
|
768
767
|
|
|
@@ -774,14 +773,14 @@ elif False:
|
|
|
774
773
|
@pulumi.input_type
|
|
775
774
|
class DeviceAllocationConfigurationArgs:
|
|
776
775
|
def __init__(__self__, *,
|
|
777
|
-
source: pulumi.Input[
|
|
776
|
+
source: pulumi.Input[_builtins.str],
|
|
778
777
|
opaque: Optional[pulumi.Input['OpaqueDeviceConfigurationArgs']] = None,
|
|
779
|
-
requests: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
778
|
+
requests: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
780
779
|
"""
|
|
781
780
|
DeviceAllocationConfiguration gets embedded in an AllocationResult.
|
|
782
|
-
:param pulumi.Input[
|
|
781
|
+
:param pulumi.Input[_builtins.str] source: Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim.
|
|
783
782
|
:param pulumi.Input['OpaqueDeviceConfigurationArgs'] opaque: Opaque provides driver-specific configuration parameters.
|
|
784
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
783
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] requests: Requests lists the names of requests where the configuration applies. If empty, its applies to all requests.
|
|
785
784
|
|
|
786
785
|
References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the configuration applies to all subrequests.
|
|
787
786
|
"""
|
|
@@ -791,19 +790,19 @@ class DeviceAllocationConfigurationArgs:
|
|
|
791
790
|
if requests is not None:
|
|
792
791
|
pulumi.set(__self__, "requests", requests)
|
|
793
792
|
|
|
794
|
-
@property
|
|
793
|
+
@_builtins.property
|
|
795
794
|
@pulumi.getter
|
|
796
|
-
def source(self) -> pulumi.Input[
|
|
795
|
+
def source(self) -> pulumi.Input[_builtins.str]:
|
|
797
796
|
"""
|
|
798
797
|
Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim.
|
|
799
798
|
"""
|
|
800
799
|
return pulumi.get(self, "source")
|
|
801
800
|
|
|
802
801
|
@source.setter
|
|
803
|
-
def source(self, value: pulumi.Input[
|
|
802
|
+
def source(self, value: pulumi.Input[_builtins.str]):
|
|
804
803
|
pulumi.set(self, "source", value)
|
|
805
804
|
|
|
806
|
-
@property
|
|
805
|
+
@_builtins.property
|
|
807
806
|
@pulumi.getter
|
|
808
807
|
def opaque(self) -> Optional[pulumi.Input['OpaqueDeviceConfigurationArgs']]:
|
|
809
808
|
"""
|
|
@@ -815,9 +814,9 @@ class DeviceAllocationConfigurationArgs:
|
|
|
815
814
|
def opaque(self, value: Optional[pulumi.Input['OpaqueDeviceConfigurationArgs']]):
|
|
816
815
|
pulumi.set(self, "opaque", value)
|
|
817
816
|
|
|
818
|
-
@property
|
|
817
|
+
@_builtins.property
|
|
819
818
|
@pulumi.getter
|
|
820
|
-
def requests(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
819
|
+
def requests(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
821
820
|
"""
|
|
822
821
|
Requests lists the names of requests where the configuration applies. If empty, its applies to all requests.
|
|
823
822
|
|
|
@@ -826,7 +825,7 @@ class DeviceAllocationConfigurationArgs:
|
|
|
826
825
|
return pulumi.get(self, "requests")
|
|
827
826
|
|
|
828
827
|
@requests.setter
|
|
829
|
-
def requests(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
828
|
+
def requests(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
830
829
|
pulumi.set(self, "requests", value)
|
|
831
830
|
|
|
832
831
|
|
|
@@ -865,7 +864,7 @@ class DeviceAllocationResultArgs:
|
|
|
865
864
|
if results is not None:
|
|
866
865
|
pulumi.set(__self__, "results", results)
|
|
867
866
|
|
|
868
|
-
@property
|
|
867
|
+
@_builtins.property
|
|
869
868
|
@pulumi.getter
|
|
870
869
|
def config(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DeviceAllocationConfigurationArgs']]]]:
|
|
871
870
|
"""
|
|
@@ -879,7 +878,7 @@ class DeviceAllocationResultArgs:
|
|
|
879
878
|
def config(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DeviceAllocationConfigurationArgs']]]]):
|
|
880
879
|
pulumi.set(self, "config", value)
|
|
881
880
|
|
|
882
|
-
@property
|
|
881
|
+
@_builtins.property
|
|
883
882
|
@pulumi.getter
|
|
884
883
|
def results(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DeviceRequestAllocationResultArgs']]]]:
|
|
885
884
|
"""
|
|
@@ -897,19 +896,19 @@ if not MYPY:
|
|
|
897
896
|
"""
|
|
898
897
|
DeviceAttribute must have exactly one field set.
|
|
899
898
|
"""
|
|
900
|
-
bool: NotRequired[pulumi.Input[
|
|
899
|
+
bool: NotRequired[pulumi.Input[_builtins.bool]]
|
|
901
900
|
"""
|
|
902
901
|
BoolValue is a true/false value.
|
|
903
902
|
"""
|
|
904
|
-
int: NotRequired[pulumi.Input[
|
|
903
|
+
int: NotRequired[pulumi.Input[_builtins.int]]
|
|
905
904
|
"""
|
|
906
905
|
IntValue is a number.
|
|
907
906
|
"""
|
|
908
|
-
string: NotRequired[pulumi.Input[
|
|
907
|
+
string: NotRequired[pulumi.Input[_builtins.str]]
|
|
909
908
|
"""
|
|
910
909
|
StringValue is a string. Must not be longer than 64 characters.
|
|
911
910
|
"""
|
|
912
|
-
version: NotRequired[pulumi.Input[
|
|
911
|
+
version: NotRequired[pulumi.Input[_builtins.str]]
|
|
913
912
|
"""
|
|
914
913
|
VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters.
|
|
915
914
|
"""
|
|
@@ -919,16 +918,16 @@ elif False:
|
|
|
919
918
|
@pulumi.input_type
|
|
920
919
|
class DeviceAttributeArgs:
|
|
921
920
|
def __init__(__self__, *,
|
|
922
|
-
bool: Optional[pulumi.Input[
|
|
923
|
-
int: Optional[pulumi.Input[
|
|
924
|
-
string: Optional[pulumi.Input[
|
|
925
|
-
version: Optional[pulumi.Input[
|
|
921
|
+
bool: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
922
|
+
int: Optional[pulumi.Input[_builtins.int]] = None,
|
|
923
|
+
string: Optional[pulumi.Input[_builtins.str]] = None,
|
|
924
|
+
version: Optional[pulumi.Input[_builtins.str]] = None):
|
|
926
925
|
"""
|
|
927
926
|
DeviceAttribute must have exactly one field set.
|
|
928
|
-
:param pulumi.Input[
|
|
929
|
-
:param pulumi.Input[
|
|
930
|
-
:param pulumi.Input[
|
|
931
|
-
:param pulumi.Input[
|
|
927
|
+
:param pulumi.Input[_builtins.bool] bool: BoolValue is a true/false value.
|
|
928
|
+
:param pulumi.Input[_builtins.int] int: IntValue is a number.
|
|
929
|
+
:param pulumi.Input[_builtins.str] string: StringValue is a string. Must not be longer than 64 characters.
|
|
930
|
+
:param pulumi.Input[_builtins.str] version: VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters.
|
|
932
931
|
"""
|
|
933
932
|
if bool is not None:
|
|
934
933
|
pulumi.set(__self__, "bool", bool)
|
|
@@ -939,52 +938,52 @@ class DeviceAttributeArgs:
|
|
|
939
938
|
if version is not None:
|
|
940
939
|
pulumi.set(__self__, "version", version)
|
|
941
940
|
|
|
942
|
-
@property
|
|
941
|
+
@_builtins.property
|
|
943
942
|
@pulumi.getter
|
|
944
|
-
def bool(self) -> Optional[pulumi.Input[
|
|
943
|
+
def bool(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
945
944
|
"""
|
|
946
945
|
BoolValue is a true/false value.
|
|
947
946
|
"""
|
|
948
947
|
return pulumi.get(self, "bool")
|
|
949
948
|
|
|
950
949
|
@bool.setter
|
|
951
|
-
def bool(self, value: Optional[pulumi.Input[
|
|
950
|
+
def bool(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
952
951
|
pulumi.set(self, "bool", value)
|
|
953
952
|
|
|
954
|
-
@property
|
|
953
|
+
@_builtins.property
|
|
955
954
|
@pulumi.getter
|
|
956
|
-
def int(self) -> Optional[pulumi.Input[
|
|
955
|
+
def int(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
957
956
|
"""
|
|
958
957
|
IntValue is a number.
|
|
959
958
|
"""
|
|
960
959
|
return pulumi.get(self, "int")
|
|
961
960
|
|
|
962
961
|
@int.setter
|
|
963
|
-
def int(self, value: Optional[pulumi.Input[
|
|
962
|
+
def int(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
964
963
|
pulumi.set(self, "int", value)
|
|
965
964
|
|
|
966
|
-
@property
|
|
965
|
+
@_builtins.property
|
|
967
966
|
@pulumi.getter
|
|
968
|
-
def string(self) -> Optional[pulumi.Input[
|
|
967
|
+
def string(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
969
968
|
"""
|
|
970
969
|
StringValue is a string. Must not be longer than 64 characters.
|
|
971
970
|
"""
|
|
972
971
|
return pulumi.get(self, "string")
|
|
973
972
|
|
|
974
973
|
@string.setter
|
|
975
|
-
def string(self, value: Optional[pulumi.Input[
|
|
974
|
+
def string(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
976
975
|
pulumi.set(self, "string", value)
|
|
977
976
|
|
|
978
|
-
@property
|
|
977
|
+
@_builtins.property
|
|
979
978
|
@pulumi.getter
|
|
980
|
-
def version(self) -> Optional[pulumi.Input[
|
|
979
|
+
def version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
981
980
|
"""
|
|
982
981
|
VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters.
|
|
983
982
|
"""
|
|
984
983
|
return pulumi.get(self, "version")
|
|
985
984
|
|
|
986
985
|
@version.setter
|
|
987
|
-
def version(self, value: Optional[pulumi.Input[
|
|
986
|
+
def version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
988
987
|
pulumi.set(self, "version", value)
|
|
989
988
|
|
|
990
989
|
|
|
@@ -993,7 +992,7 @@ if not MYPY:
|
|
|
993
992
|
"""
|
|
994
993
|
DeviceCapacity describes a quantity associated with a device.
|
|
995
994
|
"""
|
|
996
|
-
value: pulumi.Input[
|
|
995
|
+
value: pulumi.Input[_builtins.str]
|
|
997
996
|
"""
|
|
998
997
|
Value defines how much of a certain device capacity is available.
|
|
999
998
|
"""
|
|
@@ -1003,23 +1002,23 @@ elif False:
|
|
|
1003
1002
|
@pulumi.input_type
|
|
1004
1003
|
class DeviceCapacityArgs:
|
|
1005
1004
|
def __init__(__self__, *,
|
|
1006
|
-
value: pulumi.Input[
|
|
1005
|
+
value: pulumi.Input[_builtins.str]):
|
|
1007
1006
|
"""
|
|
1008
1007
|
DeviceCapacity describes a quantity associated with a device.
|
|
1009
|
-
:param pulumi.Input[
|
|
1008
|
+
:param pulumi.Input[_builtins.str] value: Value defines how much of a certain device capacity is available.
|
|
1010
1009
|
"""
|
|
1011
1010
|
pulumi.set(__self__, "value", value)
|
|
1012
1011
|
|
|
1013
|
-
@property
|
|
1012
|
+
@_builtins.property
|
|
1014
1013
|
@pulumi.getter
|
|
1015
|
-
def value(self) -> pulumi.Input[
|
|
1014
|
+
def value(self) -> pulumi.Input[_builtins.str]:
|
|
1016
1015
|
"""
|
|
1017
1016
|
Value defines how much of a certain device capacity is available.
|
|
1018
1017
|
"""
|
|
1019
1018
|
return pulumi.get(self, "value")
|
|
1020
1019
|
|
|
1021
1020
|
@value.setter
|
|
1022
|
-
def value(self, value: pulumi.Input[
|
|
1021
|
+
def value(self, value: pulumi.Input[_builtins.str]):
|
|
1023
1022
|
pulumi.set(self, "value", value)
|
|
1024
1023
|
|
|
1025
1024
|
|
|
@@ -1032,7 +1031,7 @@ if not MYPY:
|
|
|
1032
1031
|
"""
|
|
1033
1032
|
Opaque provides driver-specific configuration parameters.
|
|
1034
1033
|
"""
|
|
1035
|
-
requests: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
1034
|
+
requests: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
1036
1035
|
"""
|
|
1037
1036
|
Requests lists the names of requests where the configuration applies. If empty, it applies to all requests.
|
|
1038
1037
|
|
|
@@ -1045,11 +1044,11 @@ elif False:
|
|
|
1045
1044
|
class DeviceClaimConfigurationPatchArgs:
|
|
1046
1045
|
def __init__(__self__, *,
|
|
1047
1046
|
opaque: Optional[pulumi.Input['OpaqueDeviceConfigurationPatchArgs']] = None,
|
|
1048
|
-
requests: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1047
|
+
requests: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
1049
1048
|
"""
|
|
1050
1049
|
DeviceClaimConfiguration is used for configuration parameters in DeviceClaim.
|
|
1051
1050
|
:param pulumi.Input['OpaqueDeviceConfigurationPatchArgs'] opaque: Opaque provides driver-specific configuration parameters.
|
|
1052
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1051
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] requests: Requests lists the names of requests where the configuration applies. If empty, it applies to all requests.
|
|
1053
1052
|
|
|
1054
1053
|
References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the configuration applies to all subrequests.
|
|
1055
1054
|
"""
|
|
@@ -1058,7 +1057,7 @@ class DeviceClaimConfigurationPatchArgs:
|
|
|
1058
1057
|
if requests is not None:
|
|
1059
1058
|
pulumi.set(__self__, "requests", requests)
|
|
1060
1059
|
|
|
1061
|
-
@property
|
|
1060
|
+
@_builtins.property
|
|
1062
1061
|
@pulumi.getter
|
|
1063
1062
|
def opaque(self) -> Optional[pulumi.Input['OpaqueDeviceConfigurationPatchArgs']]:
|
|
1064
1063
|
"""
|
|
@@ -1070,9 +1069,9 @@ class DeviceClaimConfigurationPatchArgs:
|
|
|
1070
1069
|
def opaque(self, value: Optional[pulumi.Input['OpaqueDeviceConfigurationPatchArgs']]):
|
|
1071
1070
|
pulumi.set(self, "opaque", value)
|
|
1072
1071
|
|
|
1073
|
-
@property
|
|
1072
|
+
@_builtins.property
|
|
1074
1073
|
@pulumi.getter
|
|
1075
|
-
def requests(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1074
|
+
def requests(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1076
1075
|
"""
|
|
1077
1076
|
Requests lists the names of requests where the configuration applies. If empty, it applies to all requests.
|
|
1078
1077
|
|
|
@@ -1081,7 +1080,7 @@ class DeviceClaimConfigurationPatchArgs:
|
|
|
1081
1080
|
return pulumi.get(self, "requests")
|
|
1082
1081
|
|
|
1083
1082
|
@requests.setter
|
|
1084
|
-
def requests(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1083
|
+
def requests(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
1085
1084
|
pulumi.set(self, "requests", value)
|
|
1086
1085
|
|
|
1087
1086
|
|
|
@@ -1094,7 +1093,7 @@ if not MYPY:
|
|
|
1094
1093
|
"""
|
|
1095
1094
|
Opaque provides driver-specific configuration parameters.
|
|
1096
1095
|
"""
|
|
1097
|
-
requests: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
1096
|
+
requests: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
1098
1097
|
"""
|
|
1099
1098
|
Requests lists the names of requests where the configuration applies. If empty, it applies to all requests.
|
|
1100
1099
|
|
|
@@ -1107,11 +1106,11 @@ elif False:
|
|
|
1107
1106
|
class DeviceClaimConfigurationArgs:
|
|
1108
1107
|
def __init__(__self__, *,
|
|
1109
1108
|
opaque: Optional[pulumi.Input['OpaqueDeviceConfigurationArgs']] = None,
|
|
1110
|
-
requests: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1109
|
+
requests: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
1111
1110
|
"""
|
|
1112
1111
|
DeviceClaimConfiguration is used for configuration parameters in DeviceClaim.
|
|
1113
1112
|
:param pulumi.Input['OpaqueDeviceConfigurationArgs'] opaque: Opaque provides driver-specific configuration parameters.
|
|
1114
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1113
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] requests: Requests lists the names of requests where the configuration applies. If empty, it applies to all requests.
|
|
1115
1114
|
|
|
1116
1115
|
References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the configuration applies to all subrequests.
|
|
1117
1116
|
"""
|
|
@@ -1120,7 +1119,7 @@ class DeviceClaimConfigurationArgs:
|
|
|
1120
1119
|
if requests is not None:
|
|
1121
1120
|
pulumi.set(__self__, "requests", requests)
|
|
1122
1121
|
|
|
1123
|
-
@property
|
|
1122
|
+
@_builtins.property
|
|
1124
1123
|
@pulumi.getter
|
|
1125
1124
|
def opaque(self) -> Optional[pulumi.Input['OpaqueDeviceConfigurationArgs']]:
|
|
1126
1125
|
"""
|
|
@@ -1132,9 +1131,9 @@ class DeviceClaimConfigurationArgs:
|
|
|
1132
1131
|
def opaque(self, value: Optional[pulumi.Input['OpaqueDeviceConfigurationArgs']]):
|
|
1133
1132
|
pulumi.set(self, "opaque", value)
|
|
1134
1133
|
|
|
1135
|
-
@property
|
|
1134
|
+
@_builtins.property
|
|
1136
1135
|
@pulumi.getter
|
|
1137
|
-
def requests(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1136
|
+
def requests(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1138
1137
|
"""
|
|
1139
1138
|
Requests lists the names of requests where the configuration applies. If empty, it applies to all requests.
|
|
1140
1139
|
|
|
@@ -1143,7 +1142,7 @@ class DeviceClaimConfigurationArgs:
|
|
|
1143
1142
|
return pulumi.get(self, "requests")
|
|
1144
1143
|
|
|
1145
1144
|
@requests.setter
|
|
1146
|
-
def requests(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1145
|
+
def requests(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
1147
1146
|
pulumi.set(self, "requests", value)
|
|
1148
1147
|
|
|
1149
1148
|
|
|
@@ -1186,7 +1185,7 @@ class DeviceClaimPatchArgs:
|
|
|
1186
1185
|
if requests is not None:
|
|
1187
1186
|
pulumi.set(__self__, "requests", requests)
|
|
1188
1187
|
|
|
1189
|
-
@property
|
|
1188
|
+
@_builtins.property
|
|
1190
1189
|
@pulumi.getter
|
|
1191
1190
|
def config(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DeviceClaimConfigurationPatchArgs']]]]:
|
|
1192
1191
|
"""
|
|
@@ -1198,7 +1197,7 @@ class DeviceClaimPatchArgs:
|
|
|
1198
1197
|
def config(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DeviceClaimConfigurationPatchArgs']]]]):
|
|
1199
1198
|
pulumi.set(self, "config", value)
|
|
1200
1199
|
|
|
1201
|
-
@property
|
|
1200
|
+
@_builtins.property
|
|
1202
1201
|
@pulumi.getter
|
|
1203
1202
|
def constraints(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DeviceConstraintPatchArgs']]]]:
|
|
1204
1203
|
"""
|
|
@@ -1210,7 +1209,7 @@ class DeviceClaimPatchArgs:
|
|
|
1210
1209
|
def constraints(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DeviceConstraintPatchArgs']]]]):
|
|
1211
1210
|
pulumi.set(self, "constraints", value)
|
|
1212
1211
|
|
|
1213
|
-
@property
|
|
1212
|
+
@_builtins.property
|
|
1214
1213
|
@pulumi.getter
|
|
1215
1214
|
def requests(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DeviceRequestPatchArgs']]]]:
|
|
1216
1215
|
"""
|
|
@@ -1262,7 +1261,7 @@ class DeviceClaimArgs:
|
|
|
1262
1261
|
if requests is not None:
|
|
1263
1262
|
pulumi.set(__self__, "requests", requests)
|
|
1264
1263
|
|
|
1265
|
-
@property
|
|
1264
|
+
@_builtins.property
|
|
1266
1265
|
@pulumi.getter
|
|
1267
1266
|
def config(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DeviceClaimConfigurationArgs']]]]:
|
|
1268
1267
|
"""
|
|
@@ -1274,7 +1273,7 @@ class DeviceClaimArgs:
|
|
|
1274
1273
|
def config(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DeviceClaimConfigurationArgs']]]]):
|
|
1275
1274
|
pulumi.set(self, "config", value)
|
|
1276
1275
|
|
|
1277
|
-
@property
|
|
1276
|
+
@_builtins.property
|
|
1278
1277
|
@pulumi.getter
|
|
1279
1278
|
def constraints(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DeviceConstraintArgs']]]]:
|
|
1280
1279
|
"""
|
|
@@ -1286,7 +1285,7 @@ class DeviceClaimArgs:
|
|
|
1286
1285
|
def constraints(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DeviceConstraintArgs']]]]):
|
|
1287
1286
|
pulumi.set(self, "constraints", value)
|
|
1288
1287
|
|
|
1289
|
-
@property
|
|
1288
|
+
@_builtins.property
|
|
1290
1289
|
@pulumi.getter
|
|
1291
1290
|
def requests(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DeviceRequestArgs']]]]:
|
|
1292
1291
|
"""
|
|
@@ -1322,7 +1321,7 @@ class DeviceClassConfigurationPatchArgs:
|
|
|
1322
1321
|
if opaque is not None:
|
|
1323
1322
|
pulumi.set(__self__, "opaque", opaque)
|
|
1324
1323
|
|
|
1325
|
-
@property
|
|
1324
|
+
@_builtins.property
|
|
1326
1325
|
@pulumi.getter
|
|
1327
1326
|
def opaque(self) -> Optional[pulumi.Input['OpaqueDeviceConfigurationPatchArgs']]:
|
|
1328
1327
|
"""
|
|
@@ -1358,7 +1357,7 @@ class DeviceClassConfigurationArgs:
|
|
|
1358
1357
|
if opaque is not None:
|
|
1359
1358
|
pulumi.set(__self__, "opaque", opaque)
|
|
1360
1359
|
|
|
1361
|
-
@property
|
|
1360
|
+
@_builtins.property
|
|
1362
1361
|
@pulumi.getter
|
|
1363
1362
|
def opaque(self) -> Optional[pulumi.Input['OpaqueDeviceConfigurationArgs']]:
|
|
1364
1363
|
"""
|
|
@@ -1406,7 +1405,7 @@ class DeviceClassSpecPatchArgs:
|
|
|
1406
1405
|
if selectors is not None:
|
|
1407
1406
|
pulumi.set(__self__, "selectors", selectors)
|
|
1408
1407
|
|
|
1409
|
-
@property
|
|
1408
|
+
@_builtins.property
|
|
1410
1409
|
@pulumi.getter
|
|
1411
1410
|
def config(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DeviceClassConfigurationPatchArgs']]]]:
|
|
1412
1411
|
"""
|
|
@@ -1420,7 +1419,7 @@ class DeviceClassSpecPatchArgs:
|
|
|
1420
1419
|
def config(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DeviceClassConfigurationPatchArgs']]]]):
|
|
1421
1420
|
pulumi.set(self, "config", value)
|
|
1422
1421
|
|
|
1423
|
-
@property
|
|
1422
|
+
@_builtins.property
|
|
1424
1423
|
@pulumi.getter
|
|
1425
1424
|
def selectors(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DeviceSelectorPatchArgs']]]]:
|
|
1426
1425
|
"""
|
|
@@ -1468,7 +1467,7 @@ class DeviceClassSpecArgs:
|
|
|
1468
1467
|
if selectors is not None:
|
|
1469
1468
|
pulumi.set(__self__, "selectors", selectors)
|
|
1470
1469
|
|
|
1471
|
-
@property
|
|
1470
|
+
@_builtins.property
|
|
1472
1471
|
@pulumi.getter
|
|
1473
1472
|
def config(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DeviceClassConfigurationArgs']]]]:
|
|
1474
1473
|
"""
|
|
@@ -1482,7 +1481,7 @@ class DeviceClassSpecArgs:
|
|
|
1482
1481
|
def config(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DeviceClassConfigurationArgs']]]]):
|
|
1483
1482
|
pulumi.set(self, "config", value)
|
|
1484
1483
|
|
|
1485
|
-
@property
|
|
1484
|
+
@_builtins.property
|
|
1486
1485
|
@pulumi.getter
|
|
1487
1486
|
def selectors(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DeviceSelectorArgs']]]]:
|
|
1488
1487
|
"""
|
|
@@ -1510,11 +1509,11 @@ if not MYPY:
|
|
|
1510
1509
|
|
|
1511
1510
|
Changing the spec automatically increments the metadata.generation number.
|
|
1512
1511
|
"""
|
|
1513
|
-
api_version: NotRequired[pulumi.Input[
|
|
1512
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
1514
1513
|
"""
|
|
1515
1514
|
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
|
|
1516
1515
|
"""
|
|
1517
|
-
kind: NotRequired[pulumi.Input[
|
|
1516
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
1518
1517
|
"""
|
|
1519
1518
|
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
|
|
1520
1519
|
"""
|
|
@@ -1529,8 +1528,8 @@ elif False:
|
|
|
1529
1528
|
class DeviceClassArgs:
|
|
1530
1529
|
def __init__(__self__, *,
|
|
1531
1530
|
spec: pulumi.Input['DeviceClassSpecArgs'],
|
|
1532
|
-
api_version: Optional[pulumi.Input[
|
|
1533
|
-
kind: Optional[pulumi.Input[
|
|
1531
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1532
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1534
1533
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None):
|
|
1535
1534
|
"""
|
|
1536
1535
|
DeviceClass is a vendor- or admin-provided resource that contains device configuration and selectors. It can be referenced in the device requests of a claim to apply these presets. Cluster scoped.
|
|
@@ -1541,8 +1540,8 @@ class DeviceClassArgs:
|
|
|
1541
1540
|
This is mutable. Consumers have to be prepared for classes changing at any time, either because they get updated or replaced. Claim allocations are done once based on whatever was set in classes at the time of allocation.
|
|
1542
1541
|
|
|
1543
1542
|
Changing the spec automatically increments the metadata.generation number.
|
|
1544
|
-
:param pulumi.Input[
|
|
1545
|
-
:param pulumi.Input[
|
|
1543
|
+
:param pulumi.Input[_builtins.str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1544
|
+
:param pulumi.Input[_builtins.str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1546
1545
|
:param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object metadata
|
|
1547
1546
|
"""
|
|
1548
1547
|
pulumi.set(__self__, "spec", spec)
|
|
@@ -1553,7 +1552,7 @@ class DeviceClassArgs:
|
|
|
1553
1552
|
if metadata is not None:
|
|
1554
1553
|
pulumi.set(__self__, "metadata", metadata)
|
|
1555
1554
|
|
|
1556
|
-
@property
|
|
1555
|
+
@_builtins.property
|
|
1557
1556
|
@pulumi.getter
|
|
1558
1557
|
def spec(self) -> pulumi.Input['DeviceClassSpecArgs']:
|
|
1559
1558
|
"""
|
|
@@ -1569,31 +1568,31 @@ class DeviceClassArgs:
|
|
|
1569
1568
|
def spec(self, value: pulumi.Input['DeviceClassSpecArgs']):
|
|
1570
1569
|
pulumi.set(self, "spec", value)
|
|
1571
1570
|
|
|
1572
|
-
@property
|
|
1571
|
+
@_builtins.property
|
|
1573
1572
|
@pulumi.getter(name="apiVersion")
|
|
1574
|
-
def api_version(self) -> Optional[pulumi.Input[
|
|
1573
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1575
1574
|
"""
|
|
1576
1575
|
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
|
|
1577
1576
|
"""
|
|
1578
1577
|
return pulumi.get(self, "api_version")
|
|
1579
1578
|
|
|
1580
1579
|
@api_version.setter
|
|
1581
|
-
def api_version(self, value: Optional[pulumi.Input[
|
|
1580
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1582
1581
|
pulumi.set(self, "api_version", value)
|
|
1583
1582
|
|
|
1584
|
-
@property
|
|
1583
|
+
@_builtins.property
|
|
1585
1584
|
@pulumi.getter
|
|
1586
|
-
def kind(self) -> Optional[pulumi.Input[
|
|
1585
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1587
1586
|
"""
|
|
1588
1587
|
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
|
|
1589
1588
|
"""
|
|
1590
1589
|
return pulumi.get(self, "kind")
|
|
1591
1590
|
|
|
1592
1591
|
@kind.setter
|
|
1593
|
-
def kind(self, value: Optional[pulumi.Input[
|
|
1592
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1594
1593
|
pulumi.set(self, "kind", value)
|
|
1595
1594
|
|
|
1596
|
-
@property
|
|
1595
|
+
@_builtins.property
|
|
1597
1596
|
@pulumi.getter
|
|
1598
1597
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
1599
1598
|
"""
|
|
@@ -1611,7 +1610,7 @@ if not MYPY:
|
|
|
1611
1610
|
"""
|
|
1612
1611
|
DeviceConstraint must have exactly one field set besides Requests.
|
|
1613
1612
|
"""
|
|
1614
|
-
match_attribute: NotRequired[pulumi.Input[
|
|
1613
|
+
match_attribute: NotRequired[pulumi.Input[_builtins.str]]
|
|
1615
1614
|
"""
|
|
1616
1615
|
MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices.
|
|
1617
1616
|
|
|
@@ -1619,7 +1618,7 @@ if not MYPY:
|
|
|
1619
1618
|
|
|
1620
1619
|
Must include the domain qualifier.
|
|
1621
1620
|
"""
|
|
1622
|
-
requests: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
1621
|
+
requests: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
1623
1622
|
"""
|
|
1624
1623
|
Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim.
|
|
1625
1624
|
|
|
@@ -1631,16 +1630,16 @@ elif False:
|
|
|
1631
1630
|
@pulumi.input_type
|
|
1632
1631
|
class DeviceConstraintPatchArgs:
|
|
1633
1632
|
def __init__(__self__, *,
|
|
1634
|
-
match_attribute: Optional[pulumi.Input[
|
|
1635
|
-
requests: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1633
|
+
match_attribute: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1634
|
+
requests: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
1636
1635
|
"""
|
|
1637
1636
|
DeviceConstraint must have exactly one field set besides Requests.
|
|
1638
|
-
:param pulumi.Input[
|
|
1637
|
+
:param pulumi.Input[_builtins.str] match_attribute: MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices.
|
|
1639
1638
|
|
|
1640
1639
|
For example, if you specified "dra.example.com/numa" (a hypothetical example!), then only devices in the same NUMA node will be chosen. A device which does not have that attribute will not be chosen. All devices should use a value of the same type for this attribute because that is part of its specification, but if one device doesn't, then it also will not be chosen.
|
|
1641
1640
|
|
|
1642
1641
|
Must include the domain qualifier.
|
|
1643
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1642
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] requests: Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim.
|
|
1644
1643
|
|
|
1645
1644
|
References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the constraint applies to all subrequests.
|
|
1646
1645
|
"""
|
|
@@ -1649,9 +1648,9 @@ class DeviceConstraintPatchArgs:
|
|
|
1649
1648
|
if requests is not None:
|
|
1650
1649
|
pulumi.set(__self__, "requests", requests)
|
|
1651
1650
|
|
|
1652
|
-
@property
|
|
1651
|
+
@_builtins.property
|
|
1653
1652
|
@pulumi.getter(name="matchAttribute")
|
|
1654
|
-
def match_attribute(self) -> Optional[pulumi.Input[
|
|
1653
|
+
def match_attribute(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1655
1654
|
"""
|
|
1656
1655
|
MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices.
|
|
1657
1656
|
|
|
@@ -1662,12 +1661,12 @@ class DeviceConstraintPatchArgs:
|
|
|
1662
1661
|
return pulumi.get(self, "match_attribute")
|
|
1663
1662
|
|
|
1664
1663
|
@match_attribute.setter
|
|
1665
|
-
def match_attribute(self, value: Optional[pulumi.Input[
|
|
1664
|
+
def match_attribute(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1666
1665
|
pulumi.set(self, "match_attribute", value)
|
|
1667
1666
|
|
|
1668
|
-
@property
|
|
1667
|
+
@_builtins.property
|
|
1669
1668
|
@pulumi.getter
|
|
1670
|
-
def requests(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1669
|
+
def requests(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1671
1670
|
"""
|
|
1672
1671
|
Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim.
|
|
1673
1672
|
|
|
@@ -1676,7 +1675,7 @@ class DeviceConstraintPatchArgs:
|
|
|
1676
1675
|
return pulumi.get(self, "requests")
|
|
1677
1676
|
|
|
1678
1677
|
@requests.setter
|
|
1679
|
-
def requests(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1678
|
+
def requests(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
1680
1679
|
pulumi.set(self, "requests", value)
|
|
1681
1680
|
|
|
1682
1681
|
|
|
@@ -1685,7 +1684,7 @@ if not MYPY:
|
|
|
1685
1684
|
"""
|
|
1686
1685
|
DeviceConstraint must have exactly one field set besides Requests.
|
|
1687
1686
|
"""
|
|
1688
|
-
match_attribute: NotRequired[pulumi.Input[
|
|
1687
|
+
match_attribute: NotRequired[pulumi.Input[_builtins.str]]
|
|
1689
1688
|
"""
|
|
1690
1689
|
MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices.
|
|
1691
1690
|
|
|
@@ -1693,7 +1692,7 @@ if not MYPY:
|
|
|
1693
1692
|
|
|
1694
1693
|
Must include the domain qualifier.
|
|
1695
1694
|
"""
|
|
1696
|
-
requests: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
1695
|
+
requests: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
1697
1696
|
"""
|
|
1698
1697
|
Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim.
|
|
1699
1698
|
|
|
@@ -1705,16 +1704,16 @@ elif False:
|
|
|
1705
1704
|
@pulumi.input_type
|
|
1706
1705
|
class DeviceConstraintArgs:
|
|
1707
1706
|
def __init__(__self__, *,
|
|
1708
|
-
match_attribute: Optional[pulumi.Input[
|
|
1709
|
-
requests: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1707
|
+
match_attribute: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1708
|
+
requests: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
1710
1709
|
"""
|
|
1711
1710
|
DeviceConstraint must have exactly one field set besides Requests.
|
|
1712
|
-
:param pulumi.Input[
|
|
1711
|
+
:param pulumi.Input[_builtins.str] match_attribute: MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices.
|
|
1713
1712
|
|
|
1714
1713
|
For example, if you specified "dra.example.com/numa" (a hypothetical example!), then only devices in the same NUMA node will be chosen. A device which does not have that attribute will not be chosen. All devices should use a value of the same type for this attribute because that is part of its specification, but if one device doesn't, then it also will not be chosen.
|
|
1715
1714
|
|
|
1716
1715
|
Must include the domain qualifier.
|
|
1717
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1716
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] requests: Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim.
|
|
1718
1717
|
|
|
1719
1718
|
References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the constraint applies to all subrequests.
|
|
1720
1719
|
"""
|
|
@@ -1723,9 +1722,9 @@ class DeviceConstraintArgs:
|
|
|
1723
1722
|
if requests is not None:
|
|
1724
1723
|
pulumi.set(__self__, "requests", requests)
|
|
1725
1724
|
|
|
1726
|
-
@property
|
|
1725
|
+
@_builtins.property
|
|
1727
1726
|
@pulumi.getter(name="matchAttribute")
|
|
1728
|
-
def match_attribute(self) -> Optional[pulumi.Input[
|
|
1727
|
+
def match_attribute(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1729
1728
|
"""
|
|
1730
1729
|
MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices.
|
|
1731
1730
|
|
|
@@ -1736,12 +1735,12 @@ class DeviceConstraintArgs:
|
|
|
1736
1735
|
return pulumi.get(self, "match_attribute")
|
|
1737
1736
|
|
|
1738
1737
|
@match_attribute.setter
|
|
1739
|
-
def match_attribute(self, value: Optional[pulumi.Input[
|
|
1738
|
+
def match_attribute(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1740
1739
|
pulumi.set(self, "match_attribute", value)
|
|
1741
1740
|
|
|
1742
|
-
@property
|
|
1741
|
+
@_builtins.property
|
|
1743
1742
|
@pulumi.getter
|
|
1744
|
-
def requests(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1743
|
+
def requests(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1745
1744
|
"""
|
|
1746
1745
|
Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim.
|
|
1747
1746
|
|
|
@@ -1750,7 +1749,7 @@ class DeviceConstraintArgs:
|
|
|
1750
1749
|
return pulumi.get(self, "requests")
|
|
1751
1750
|
|
|
1752
1751
|
@requests.setter
|
|
1753
|
-
def requests(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1752
|
+
def requests(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
1754
1753
|
pulumi.set(self, "requests", value)
|
|
1755
1754
|
|
|
1756
1755
|
|
|
@@ -1759,7 +1758,7 @@ if not MYPY:
|
|
|
1759
1758
|
"""
|
|
1760
1759
|
DeviceCounterConsumption defines a set of counters that a device will consume from a CounterSet.
|
|
1761
1760
|
"""
|
|
1762
|
-
counter_set: NotRequired[pulumi.Input[
|
|
1761
|
+
counter_set: NotRequired[pulumi.Input[_builtins.str]]
|
|
1763
1762
|
"""
|
|
1764
1763
|
CounterSet is the name of the set from which the counters defined will be consumed.
|
|
1765
1764
|
"""
|
|
@@ -1775,11 +1774,11 @@ elif False:
|
|
|
1775
1774
|
@pulumi.input_type
|
|
1776
1775
|
class DeviceCounterConsumptionPatchArgs:
|
|
1777
1776
|
def __init__(__self__, *,
|
|
1778
|
-
counter_set: Optional[pulumi.Input[
|
|
1777
|
+
counter_set: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1779
1778
|
counters: Optional[pulumi.Input[Mapping[str, pulumi.Input['CounterArgs']]]] = None):
|
|
1780
1779
|
"""
|
|
1781
1780
|
DeviceCounterConsumption defines a set of counters that a device will consume from a CounterSet.
|
|
1782
|
-
:param pulumi.Input[
|
|
1781
|
+
:param pulumi.Input[_builtins.str] counter_set: CounterSet is the name of the set from which the counters defined will be consumed.
|
|
1783
1782
|
:param pulumi.Input[Mapping[str, pulumi.Input['CounterArgs']]] counters: Counters defines the counters that will be consumed by the device.
|
|
1784
1783
|
|
|
1785
1784
|
The maximum number counters in a device is 32. In addition, the maximum number of all counters in all devices is 1024 (for example, 64 devices with 16 counters each).
|
|
@@ -1789,19 +1788,19 @@ class DeviceCounterConsumptionPatchArgs:
|
|
|
1789
1788
|
if counters is not None:
|
|
1790
1789
|
pulumi.set(__self__, "counters", counters)
|
|
1791
1790
|
|
|
1792
|
-
@property
|
|
1791
|
+
@_builtins.property
|
|
1793
1792
|
@pulumi.getter(name="counterSet")
|
|
1794
|
-
def counter_set(self) -> Optional[pulumi.Input[
|
|
1793
|
+
def counter_set(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1795
1794
|
"""
|
|
1796
1795
|
CounterSet is the name of the set from which the counters defined will be consumed.
|
|
1797
1796
|
"""
|
|
1798
1797
|
return pulumi.get(self, "counter_set")
|
|
1799
1798
|
|
|
1800
1799
|
@counter_set.setter
|
|
1801
|
-
def counter_set(self, value: Optional[pulumi.Input[
|
|
1800
|
+
def counter_set(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1802
1801
|
pulumi.set(self, "counter_set", value)
|
|
1803
1802
|
|
|
1804
|
-
@property
|
|
1803
|
+
@_builtins.property
|
|
1805
1804
|
@pulumi.getter
|
|
1806
1805
|
def counters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input['CounterArgs']]]]:
|
|
1807
1806
|
"""
|
|
@@ -1821,7 +1820,7 @@ if not MYPY:
|
|
|
1821
1820
|
"""
|
|
1822
1821
|
DeviceCounterConsumption defines a set of counters that a device will consume from a CounterSet.
|
|
1823
1822
|
"""
|
|
1824
|
-
counter_set: pulumi.Input[
|
|
1823
|
+
counter_set: pulumi.Input[_builtins.str]
|
|
1825
1824
|
"""
|
|
1826
1825
|
CounterSet is the name of the set from which the counters defined will be consumed.
|
|
1827
1826
|
"""
|
|
@@ -1837,11 +1836,11 @@ elif False:
|
|
|
1837
1836
|
@pulumi.input_type
|
|
1838
1837
|
class DeviceCounterConsumptionArgs:
|
|
1839
1838
|
def __init__(__self__, *,
|
|
1840
|
-
counter_set: pulumi.Input[
|
|
1839
|
+
counter_set: pulumi.Input[_builtins.str],
|
|
1841
1840
|
counters: pulumi.Input[Mapping[str, pulumi.Input['CounterArgs']]]):
|
|
1842
1841
|
"""
|
|
1843
1842
|
DeviceCounterConsumption defines a set of counters that a device will consume from a CounterSet.
|
|
1844
|
-
:param pulumi.Input[
|
|
1843
|
+
:param pulumi.Input[_builtins.str] counter_set: CounterSet is the name of the set from which the counters defined will be consumed.
|
|
1845
1844
|
:param pulumi.Input[Mapping[str, pulumi.Input['CounterArgs']]] counters: Counters defines the counters that will be consumed by the device.
|
|
1846
1845
|
|
|
1847
1846
|
The maximum number counters in a device is 32. In addition, the maximum number of all counters in all devices is 1024 (for example, 64 devices with 16 counters each).
|
|
@@ -1849,19 +1848,19 @@ class DeviceCounterConsumptionArgs:
|
|
|
1849
1848
|
pulumi.set(__self__, "counter_set", counter_set)
|
|
1850
1849
|
pulumi.set(__self__, "counters", counters)
|
|
1851
1850
|
|
|
1852
|
-
@property
|
|
1851
|
+
@_builtins.property
|
|
1853
1852
|
@pulumi.getter(name="counterSet")
|
|
1854
|
-
def counter_set(self) -> pulumi.Input[
|
|
1853
|
+
def counter_set(self) -> pulumi.Input[_builtins.str]:
|
|
1855
1854
|
"""
|
|
1856
1855
|
CounterSet is the name of the set from which the counters defined will be consumed.
|
|
1857
1856
|
"""
|
|
1858
1857
|
return pulumi.get(self, "counter_set")
|
|
1859
1858
|
|
|
1860
1859
|
@counter_set.setter
|
|
1861
|
-
def counter_set(self, value: pulumi.Input[
|
|
1860
|
+
def counter_set(self, value: pulumi.Input[_builtins.str]):
|
|
1862
1861
|
pulumi.set(self, "counter_set", value)
|
|
1863
1862
|
|
|
1864
|
-
@property
|
|
1863
|
+
@_builtins.property
|
|
1865
1864
|
@pulumi.getter
|
|
1866
1865
|
def counters(self) -> pulumi.Input[Mapping[str, pulumi.Input['CounterArgs']]]:
|
|
1867
1866
|
"""
|
|
@@ -1881,7 +1880,7 @@ if not MYPY:
|
|
|
1881
1880
|
"""
|
|
1882
1881
|
Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set.
|
|
1883
1882
|
"""
|
|
1884
|
-
all_nodes: NotRequired[pulumi.Input[
|
|
1883
|
+
all_nodes: NotRequired[pulumi.Input[_builtins.bool]]
|
|
1885
1884
|
"""
|
|
1886
1885
|
AllNodes indicates that all nodes have access to the device.
|
|
1887
1886
|
|
|
@@ -1907,11 +1906,11 @@ if not MYPY:
|
|
|
1907
1906
|
|
|
1908
1907
|
The total number of device counter consumption entries must be <= 32. In addition, the total number in the entire ResourceSlice must be <= 1024 (for example, 64 devices with 16 counters each).
|
|
1909
1908
|
"""
|
|
1910
|
-
name: NotRequired[pulumi.Input[
|
|
1909
|
+
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
1911
1910
|
"""
|
|
1912
1911
|
Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label.
|
|
1913
1912
|
"""
|
|
1914
|
-
node_name: NotRequired[pulumi.Input[
|
|
1913
|
+
node_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
1915
1914
|
"""
|
|
1916
1915
|
NodeName identifies the node where the device is available.
|
|
1917
1916
|
|
|
@@ -1939,17 +1938,17 @@ elif False:
|
|
|
1939
1938
|
@pulumi.input_type
|
|
1940
1939
|
class DevicePatchArgs:
|
|
1941
1940
|
def __init__(__self__, *,
|
|
1942
|
-
all_nodes: Optional[pulumi.Input[
|
|
1941
|
+
all_nodes: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1943
1942
|
attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input['DeviceAttributeArgs']]]] = None,
|
|
1944
1943
|
capacity: Optional[pulumi.Input[Mapping[str, pulumi.Input['DeviceCapacityArgs']]]] = None,
|
|
1945
1944
|
consumes_counters: Optional[pulumi.Input[Sequence[pulumi.Input['DeviceCounterConsumptionPatchArgs']]]] = None,
|
|
1946
|
-
name: Optional[pulumi.Input[
|
|
1947
|
-
node_name: Optional[pulumi.Input[
|
|
1945
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1946
|
+
node_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1948
1947
|
node_selector: Optional[pulumi.Input['_core.v1.NodeSelectorPatchArgs']] = None,
|
|
1949
1948
|
taints: Optional[pulumi.Input[Sequence[pulumi.Input['DeviceTaintPatchArgs']]]] = None):
|
|
1950
1949
|
"""
|
|
1951
1950
|
Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set.
|
|
1952
|
-
:param pulumi.Input[
|
|
1951
|
+
:param pulumi.Input[_builtins.bool] all_nodes: AllNodes indicates that all nodes have access to the device.
|
|
1953
1952
|
|
|
1954
1953
|
Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.
|
|
1955
1954
|
:param pulumi.Input[Mapping[str, pulumi.Input['DeviceAttributeArgs']]] attributes: Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set.
|
|
@@ -1963,8 +1962,8 @@ class DevicePatchArgs:
|
|
|
1963
1962
|
There can only be a single entry per counterSet.
|
|
1964
1963
|
|
|
1965
1964
|
The total number of device counter consumption entries must be <= 32. In addition, the total number in the entire ResourceSlice must be <= 1024 (for example, 64 devices with 16 counters each).
|
|
1966
|
-
:param pulumi.Input[
|
|
1967
|
-
:param pulumi.Input[
|
|
1965
|
+
:param pulumi.Input[_builtins.str] name: Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label.
|
|
1966
|
+
:param pulumi.Input[_builtins.str] node_name: NodeName identifies the node where the device is available.
|
|
1968
1967
|
|
|
1969
1968
|
Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.
|
|
1970
1969
|
:param pulumi.Input['_core.v1.NodeSelectorPatchArgs'] node_selector: NodeSelector defines the nodes where the device is available.
|
|
@@ -1995,9 +1994,9 @@ class DevicePatchArgs:
|
|
|
1995
1994
|
if taints is not None:
|
|
1996
1995
|
pulumi.set(__self__, "taints", taints)
|
|
1997
1996
|
|
|
1998
|
-
@property
|
|
1997
|
+
@_builtins.property
|
|
1999
1998
|
@pulumi.getter(name="allNodes")
|
|
2000
|
-
def all_nodes(self) -> Optional[pulumi.Input[
|
|
1999
|
+
def all_nodes(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
2001
2000
|
"""
|
|
2002
2001
|
AllNodes indicates that all nodes have access to the device.
|
|
2003
2002
|
|
|
@@ -2006,10 +2005,10 @@ class DevicePatchArgs:
|
|
|
2006
2005
|
return pulumi.get(self, "all_nodes")
|
|
2007
2006
|
|
|
2008
2007
|
@all_nodes.setter
|
|
2009
|
-
def all_nodes(self, value: Optional[pulumi.Input[
|
|
2008
|
+
def all_nodes(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
2010
2009
|
pulumi.set(self, "all_nodes", value)
|
|
2011
2010
|
|
|
2012
|
-
@property
|
|
2011
|
+
@_builtins.property
|
|
2013
2012
|
@pulumi.getter
|
|
2014
2013
|
def attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input['DeviceAttributeArgs']]]]:
|
|
2015
2014
|
"""
|
|
@@ -2023,7 +2022,7 @@ class DevicePatchArgs:
|
|
|
2023
2022
|
def attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['DeviceAttributeArgs']]]]):
|
|
2024
2023
|
pulumi.set(self, "attributes", value)
|
|
2025
2024
|
|
|
2026
|
-
@property
|
|
2025
|
+
@_builtins.property
|
|
2027
2026
|
@pulumi.getter
|
|
2028
2027
|
def capacity(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input['DeviceCapacityArgs']]]]:
|
|
2029
2028
|
"""
|
|
@@ -2037,7 +2036,7 @@ class DevicePatchArgs:
|
|
|
2037
2036
|
def capacity(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['DeviceCapacityArgs']]]]):
|
|
2038
2037
|
pulumi.set(self, "capacity", value)
|
|
2039
2038
|
|
|
2040
|
-
@property
|
|
2039
|
+
@_builtins.property
|
|
2041
2040
|
@pulumi.getter(name="consumesCounters")
|
|
2042
2041
|
def consumes_counters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DeviceCounterConsumptionPatchArgs']]]]:
|
|
2043
2042
|
"""
|
|
@@ -2053,21 +2052,21 @@ class DevicePatchArgs:
|
|
|
2053
2052
|
def consumes_counters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DeviceCounterConsumptionPatchArgs']]]]):
|
|
2054
2053
|
pulumi.set(self, "consumes_counters", value)
|
|
2055
2054
|
|
|
2056
|
-
@property
|
|
2055
|
+
@_builtins.property
|
|
2057
2056
|
@pulumi.getter
|
|
2058
|
-
def name(self) -> Optional[pulumi.Input[
|
|
2057
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2059
2058
|
"""
|
|
2060
2059
|
Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label.
|
|
2061
2060
|
"""
|
|
2062
2061
|
return pulumi.get(self, "name")
|
|
2063
2062
|
|
|
2064
2063
|
@name.setter
|
|
2065
|
-
def name(self, value: Optional[pulumi.Input[
|
|
2064
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2066
2065
|
pulumi.set(self, "name", value)
|
|
2067
2066
|
|
|
2068
|
-
@property
|
|
2067
|
+
@_builtins.property
|
|
2069
2068
|
@pulumi.getter(name="nodeName")
|
|
2070
|
-
def node_name(self) -> Optional[pulumi.Input[
|
|
2069
|
+
def node_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2071
2070
|
"""
|
|
2072
2071
|
NodeName identifies the node where the device is available.
|
|
2073
2072
|
|
|
@@ -2076,10 +2075,10 @@ class DevicePatchArgs:
|
|
|
2076
2075
|
return pulumi.get(self, "node_name")
|
|
2077
2076
|
|
|
2078
2077
|
@node_name.setter
|
|
2079
|
-
def node_name(self, value: Optional[pulumi.Input[
|
|
2078
|
+
def node_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2080
2079
|
pulumi.set(self, "node_name", value)
|
|
2081
2080
|
|
|
2082
|
-
@property
|
|
2081
|
+
@_builtins.property
|
|
2083
2082
|
@pulumi.getter(name="nodeSelector")
|
|
2084
2083
|
def node_selector(self) -> Optional[pulumi.Input['_core.v1.NodeSelectorPatchArgs']]:
|
|
2085
2084
|
"""
|
|
@@ -2095,7 +2094,7 @@ class DevicePatchArgs:
|
|
|
2095
2094
|
def node_selector(self, value: Optional[pulumi.Input['_core.v1.NodeSelectorPatchArgs']]):
|
|
2096
2095
|
pulumi.set(self, "node_selector", value)
|
|
2097
2096
|
|
|
2098
|
-
@property
|
|
2097
|
+
@_builtins.property
|
|
2099
2098
|
@pulumi.getter
|
|
2100
2099
|
def taints(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DeviceTaintPatchArgs']]]]:
|
|
2101
2100
|
"""
|
|
@@ -2117,29 +2116,29 @@ if not MYPY:
|
|
|
2117
2116
|
"""
|
|
2118
2117
|
DeviceRequestAllocationResult contains the allocation result for one request.
|
|
2119
2118
|
"""
|
|
2120
|
-
device: pulumi.Input[
|
|
2119
|
+
device: pulumi.Input[_builtins.str]
|
|
2121
2120
|
"""
|
|
2122
2121
|
Device references one device instance via its name in the driver's resource pool. It must be a DNS label.
|
|
2123
2122
|
"""
|
|
2124
|
-
driver: pulumi.Input[
|
|
2123
|
+
driver: pulumi.Input[_builtins.str]
|
|
2125
2124
|
"""
|
|
2126
2125
|
Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.
|
|
2127
2126
|
|
|
2128
2127
|
Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.
|
|
2129
2128
|
"""
|
|
2130
|
-
pool: pulumi.Input[
|
|
2129
|
+
pool: pulumi.Input[_builtins.str]
|
|
2131
2130
|
"""
|
|
2132
2131
|
This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`).
|
|
2133
2132
|
|
|
2134
2133
|
Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.
|
|
2135
2134
|
"""
|
|
2136
|
-
request: pulumi.Input[
|
|
2135
|
+
request: pulumi.Input[_builtins.str]
|
|
2137
2136
|
"""
|
|
2138
2137
|
Request is the name of the request in the claim which caused this device to be allocated. If it references a subrequest in the firstAvailable list on a DeviceRequest, this field must include both the name of the main request and the subrequest using the format <main request>/<subrequest>.
|
|
2139
2138
|
|
|
2140
2139
|
Multiple devices may have been allocated per request.
|
|
2141
2140
|
"""
|
|
2142
|
-
admin_access: NotRequired[pulumi.Input[
|
|
2141
|
+
admin_access: NotRequired[pulumi.Input[_builtins.bool]]
|
|
2143
2142
|
"""
|
|
2144
2143
|
AdminAccess indicates that this device was allocated for administrative access. See the corresponding request field for a definition of mode.
|
|
2145
2144
|
|
|
@@ -2159,25 +2158,25 @@ elif False:
|
|
|
2159
2158
|
@pulumi.input_type
|
|
2160
2159
|
class DeviceRequestAllocationResultArgs:
|
|
2161
2160
|
def __init__(__self__, *,
|
|
2162
|
-
device: pulumi.Input[
|
|
2163
|
-
driver: pulumi.Input[
|
|
2164
|
-
pool: pulumi.Input[
|
|
2165
|
-
request: pulumi.Input[
|
|
2166
|
-
admin_access: Optional[pulumi.Input[
|
|
2161
|
+
device: pulumi.Input[_builtins.str],
|
|
2162
|
+
driver: pulumi.Input[_builtins.str],
|
|
2163
|
+
pool: pulumi.Input[_builtins.str],
|
|
2164
|
+
request: pulumi.Input[_builtins.str],
|
|
2165
|
+
admin_access: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
2167
2166
|
tolerations: Optional[pulumi.Input[Sequence[pulumi.Input['DeviceTolerationArgs']]]] = None):
|
|
2168
2167
|
"""
|
|
2169
2168
|
DeviceRequestAllocationResult contains the allocation result for one request.
|
|
2170
|
-
:param pulumi.Input[
|
|
2171
|
-
:param pulumi.Input[
|
|
2169
|
+
:param pulumi.Input[_builtins.str] device: Device references one device instance via its name in the driver's resource pool. It must be a DNS label.
|
|
2170
|
+
:param pulumi.Input[_builtins.str] driver: Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.
|
|
2172
2171
|
|
|
2173
2172
|
Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.
|
|
2174
|
-
:param pulumi.Input[
|
|
2173
|
+
:param pulumi.Input[_builtins.str] pool: This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`).
|
|
2175
2174
|
|
|
2176
2175
|
Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.
|
|
2177
|
-
:param pulumi.Input[
|
|
2176
|
+
:param pulumi.Input[_builtins.str] request: Request is the name of the request in the claim which caused this device to be allocated. If it references a subrequest in the firstAvailable list on a DeviceRequest, this field must include both the name of the main request and the subrequest using the format <main request>/<subrequest>.
|
|
2178
2177
|
|
|
2179
2178
|
Multiple devices may have been allocated per request.
|
|
2180
|
-
:param pulumi.Input[
|
|
2179
|
+
:param pulumi.Input[_builtins.bool] admin_access: AdminAccess indicates that this device was allocated for administrative access. See the corresponding request field for a definition of mode.
|
|
2181
2180
|
|
|
2182
2181
|
This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.
|
|
2183
2182
|
:param pulumi.Input[Sequence[pulumi.Input['DeviceTolerationArgs']]] tolerations: A copy of all tolerations specified in the request at the time when the device got allocated.
|
|
@@ -2195,21 +2194,21 @@ class DeviceRequestAllocationResultArgs:
|
|
|
2195
2194
|
if tolerations is not None:
|
|
2196
2195
|
pulumi.set(__self__, "tolerations", tolerations)
|
|
2197
2196
|
|
|
2198
|
-
@property
|
|
2197
|
+
@_builtins.property
|
|
2199
2198
|
@pulumi.getter
|
|
2200
|
-
def device(self) -> pulumi.Input[
|
|
2199
|
+
def device(self) -> pulumi.Input[_builtins.str]:
|
|
2201
2200
|
"""
|
|
2202
2201
|
Device references one device instance via its name in the driver's resource pool. It must be a DNS label.
|
|
2203
2202
|
"""
|
|
2204
2203
|
return pulumi.get(self, "device")
|
|
2205
2204
|
|
|
2206
2205
|
@device.setter
|
|
2207
|
-
def device(self, value: pulumi.Input[
|
|
2206
|
+
def device(self, value: pulumi.Input[_builtins.str]):
|
|
2208
2207
|
pulumi.set(self, "device", value)
|
|
2209
2208
|
|
|
2210
|
-
@property
|
|
2209
|
+
@_builtins.property
|
|
2211
2210
|
@pulumi.getter
|
|
2212
|
-
def driver(self) -> pulumi.Input[
|
|
2211
|
+
def driver(self) -> pulumi.Input[_builtins.str]:
|
|
2213
2212
|
"""
|
|
2214
2213
|
Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.
|
|
2215
2214
|
|
|
@@ -2218,12 +2217,12 @@ class DeviceRequestAllocationResultArgs:
|
|
|
2218
2217
|
return pulumi.get(self, "driver")
|
|
2219
2218
|
|
|
2220
2219
|
@driver.setter
|
|
2221
|
-
def driver(self, value: pulumi.Input[
|
|
2220
|
+
def driver(self, value: pulumi.Input[_builtins.str]):
|
|
2222
2221
|
pulumi.set(self, "driver", value)
|
|
2223
2222
|
|
|
2224
|
-
@property
|
|
2223
|
+
@_builtins.property
|
|
2225
2224
|
@pulumi.getter
|
|
2226
|
-
def pool(self) -> pulumi.Input[
|
|
2225
|
+
def pool(self) -> pulumi.Input[_builtins.str]:
|
|
2227
2226
|
"""
|
|
2228
2227
|
This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`).
|
|
2229
2228
|
|
|
@@ -2232,12 +2231,12 @@ class DeviceRequestAllocationResultArgs:
|
|
|
2232
2231
|
return pulumi.get(self, "pool")
|
|
2233
2232
|
|
|
2234
2233
|
@pool.setter
|
|
2235
|
-
def pool(self, value: pulumi.Input[
|
|
2234
|
+
def pool(self, value: pulumi.Input[_builtins.str]):
|
|
2236
2235
|
pulumi.set(self, "pool", value)
|
|
2237
2236
|
|
|
2238
|
-
@property
|
|
2237
|
+
@_builtins.property
|
|
2239
2238
|
@pulumi.getter
|
|
2240
|
-
def request(self) -> pulumi.Input[
|
|
2239
|
+
def request(self) -> pulumi.Input[_builtins.str]:
|
|
2241
2240
|
"""
|
|
2242
2241
|
Request is the name of the request in the claim which caused this device to be allocated. If it references a subrequest in the firstAvailable list on a DeviceRequest, this field must include both the name of the main request and the subrequest using the format <main request>/<subrequest>.
|
|
2243
2242
|
|
|
@@ -2246,12 +2245,12 @@ class DeviceRequestAllocationResultArgs:
|
|
|
2246
2245
|
return pulumi.get(self, "request")
|
|
2247
2246
|
|
|
2248
2247
|
@request.setter
|
|
2249
|
-
def request(self, value: pulumi.Input[
|
|
2248
|
+
def request(self, value: pulumi.Input[_builtins.str]):
|
|
2250
2249
|
pulumi.set(self, "request", value)
|
|
2251
2250
|
|
|
2252
|
-
@property
|
|
2251
|
+
@_builtins.property
|
|
2253
2252
|
@pulumi.getter(name="adminAccess")
|
|
2254
|
-
def admin_access(self) -> Optional[pulumi.Input[
|
|
2253
|
+
def admin_access(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
2255
2254
|
"""
|
|
2256
2255
|
AdminAccess indicates that this device was allocated for administrative access. See the corresponding request field for a definition of mode.
|
|
2257
2256
|
|
|
@@ -2260,10 +2259,10 @@ class DeviceRequestAllocationResultArgs:
|
|
|
2260
2259
|
return pulumi.get(self, "admin_access")
|
|
2261
2260
|
|
|
2262
2261
|
@admin_access.setter
|
|
2263
|
-
def admin_access(self, value: Optional[pulumi.Input[
|
|
2262
|
+
def admin_access(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
2264
2263
|
pulumi.set(self, "admin_access", value)
|
|
2265
2264
|
|
|
2266
|
-
@property
|
|
2265
|
+
@_builtins.property
|
|
2267
2266
|
@pulumi.getter
|
|
2268
2267
|
def tolerations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DeviceTolerationArgs']]]]:
|
|
2269
2268
|
"""
|
|
@@ -2297,7 +2296,7 @@ if not MYPY:
|
|
|
2297
2296
|
|
|
2298
2297
|
DRA does not yet implement scoring, so the scheduler will select the first set of devices that satisfies all the requests in the claim. And if the requirements can be satisfied on more than one node, other scheduling features will determine which node is chosen. This means that the set of devices allocated to a claim might not be the optimal set available to the cluster. Scoring will be implemented later.
|
|
2299
2298
|
"""
|
|
2300
|
-
name: NotRequired[pulumi.Input[
|
|
2299
|
+
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
2301
2300
|
"""
|
|
2302
2301
|
Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim.
|
|
2303
2302
|
|
|
@@ -2313,7 +2312,7 @@ class DeviceRequestPatchArgs:
|
|
|
2313
2312
|
def __init__(__self__, *,
|
|
2314
2313
|
exactly: Optional[pulumi.Input['ExactDeviceRequestPatchArgs']] = None,
|
|
2315
2314
|
first_available: Optional[pulumi.Input[Sequence[pulumi.Input['DeviceSubRequestPatchArgs']]]] = None,
|
|
2316
|
-
name: Optional[pulumi.Input[
|
|
2315
|
+
name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2317
2316
|
"""
|
|
2318
2317
|
DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices. With FirstAvailable it is also possible to provide a prioritized list of requests.
|
|
2319
2318
|
:param pulumi.Input['ExactDeviceRequestPatchArgs'] exactly: Exactly specifies the details for a single request that must be met exactly for the request to be satisfied.
|
|
@@ -2322,7 +2321,7 @@ class DeviceRequestPatchArgs:
|
|
|
2322
2321
|
:param pulumi.Input[Sequence[pulumi.Input['DeviceSubRequestPatchArgs']]] first_available: FirstAvailable contains subrequests, of which exactly one will be selected by the scheduler. It tries to satisfy them in the order in which they are listed here. So if there are two entries in the list, the scheduler will only check the second one if it determines that the first one can not be used.
|
|
2323
2322
|
|
|
2324
2323
|
DRA does not yet implement scoring, so the scheduler will select the first set of devices that satisfies all the requests in the claim. And if the requirements can be satisfied on more than one node, other scheduling features will determine which node is chosen. This means that the set of devices allocated to a claim might not be the optimal set available to the cluster. Scoring will be implemented later.
|
|
2325
|
-
:param pulumi.Input[
|
|
2324
|
+
:param pulumi.Input[_builtins.str] name: Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim.
|
|
2326
2325
|
|
|
2327
2326
|
References using the name in the DeviceRequest will uniquely identify a request when the Exactly field is set. When the FirstAvailable field is set, a reference to the name of the DeviceRequest will match whatever subrequest is chosen by the scheduler.
|
|
2328
2327
|
|
|
@@ -2335,7 +2334,7 @@ class DeviceRequestPatchArgs:
|
|
|
2335
2334
|
if name is not None:
|
|
2336
2335
|
pulumi.set(__self__, "name", name)
|
|
2337
2336
|
|
|
2338
|
-
@property
|
|
2337
|
+
@_builtins.property
|
|
2339
2338
|
@pulumi.getter
|
|
2340
2339
|
def exactly(self) -> Optional[pulumi.Input['ExactDeviceRequestPatchArgs']]:
|
|
2341
2340
|
"""
|
|
@@ -2349,7 +2348,7 @@ class DeviceRequestPatchArgs:
|
|
|
2349
2348
|
def exactly(self, value: Optional[pulumi.Input['ExactDeviceRequestPatchArgs']]):
|
|
2350
2349
|
pulumi.set(self, "exactly", value)
|
|
2351
2350
|
|
|
2352
|
-
@property
|
|
2351
|
+
@_builtins.property
|
|
2353
2352
|
@pulumi.getter(name="firstAvailable")
|
|
2354
2353
|
def first_available(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DeviceSubRequestPatchArgs']]]]:
|
|
2355
2354
|
"""
|
|
@@ -2363,9 +2362,9 @@ class DeviceRequestPatchArgs:
|
|
|
2363
2362
|
def first_available(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DeviceSubRequestPatchArgs']]]]):
|
|
2364
2363
|
pulumi.set(self, "first_available", value)
|
|
2365
2364
|
|
|
2366
|
-
@property
|
|
2365
|
+
@_builtins.property
|
|
2367
2366
|
@pulumi.getter
|
|
2368
|
-
def name(self) -> Optional[pulumi.Input[
|
|
2367
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2369
2368
|
"""
|
|
2370
2369
|
Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim.
|
|
2371
2370
|
|
|
@@ -2376,7 +2375,7 @@ class DeviceRequestPatchArgs:
|
|
|
2376
2375
|
return pulumi.get(self, "name")
|
|
2377
2376
|
|
|
2378
2377
|
@name.setter
|
|
2379
|
-
def name(self, value: Optional[pulumi.Input[
|
|
2378
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2380
2379
|
pulumi.set(self, "name", value)
|
|
2381
2380
|
|
|
2382
2381
|
|
|
@@ -2385,7 +2384,7 @@ if not MYPY:
|
|
|
2385
2384
|
"""
|
|
2386
2385
|
DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices. With FirstAvailable it is also possible to provide a prioritized list of requests.
|
|
2387
2386
|
"""
|
|
2388
|
-
name: pulumi.Input[
|
|
2387
|
+
name: pulumi.Input[_builtins.str]
|
|
2389
2388
|
"""
|
|
2390
2389
|
Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim.
|
|
2391
2390
|
|
|
@@ -2411,12 +2410,12 @@ elif False:
|
|
|
2411
2410
|
@pulumi.input_type
|
|
2412
2411
|
class DeviceRequestArgs:
|
|
2413
2412
|
def __init__(__self__, *,
|
|
2414
|
-
name: pulumi.Input[
|
|
2413
|
+
name: pulumi.Input[_builtins.str],
|
|
2415
2414
|
exactly: Optional[pulumi.Input['ExactDeviceRequestArgs']] = None,
|
|
2416
2415
|
first_available: Optional[pulumi.Input[Sequence[pulumi.Input['DeviceSubRequestArgs']]]] = None):
|
|
2417
2416
|
"""
|
|
2418
2417
|
DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices. With FirstAvailable it is also possible to provide a prioritized list of requests.
|
|
2419
|
-
:param pulumi.Input[
|
|
2418
|
+
:param pulumi.Input[_builtins.str] name: Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim.
|
|
2420
2419
|
|
|
2421
2420
|
References using the name in the DeviceRequest will uniquely identify a request when the Exactly field is set. When the FirstAvailable field is set, a reference to the name of the DeviceRequest will match whatever subrequest is chosen by the scheduler.
|
|
2422
2421
|
|
|
@@ -2434,9 +2433,9 @@ class DeviceRequestArgs:
|
|
|
2434
2433
|
if first_available is not None:
|
|
2435
2434
|
pulumi.set(__self__, "first_available", first_available)
|
|
2436
2435
|
|
|
2437
|
-
@property
|
|
2436
|
+
@_builtins.property
|
|
2438
2437
|
@pulumi.getter
|
|
2439
|
-
def name(self) -> pulumi.Input[
|
|
2438
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
2440
2439
|
"""
|
|
2441
2440
|
Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim.
|
|
2442
2441
|
|
|
@@ -2447,10 +2446,10 @@ class DeviceRequestArgs:
|
|
|
2447
2446
|
return pulumi.get(self, "name")
|
|
2448
2447
|
|
|
2449
2448
|
@name.setter
|
|
2450
|
-
def name(self, value: pulumi.Input[
|
|
2449
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
2451
2450
|
pulumi.set(self, "name", value)
|
|
2452
2451
|
|
|
2453
|
-
@property
|
|
2452
|
+
@_builtins.property
|
|
2454
2453
|
@pulumi.getter
|
|
2455
2454
|
def exactly(self) -> Optional[pulumi.Input['ExactDeviceRequestArgs']]:
|
|
2456
2455
|
"""
|
|
@@ -2464,7 +2463,7 @@ class DeviceRequestArgs:
|
|
|
2464
2463
|
def exactly(self, value: Optional[pulumi.Input['ExactDeviceRequestArgs']]):
|
|
2465
2464
|
pulumi.set(self, "exactly", value)
|
|
2466
2465
|
|
|
2467
|
-
@property
|
|
2466
|
+
@_builtins.property
|
|
2468
2467
|
@pulumi.getter(name="firstAvailable")
|
|
2469
2468
|
def first_available(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DeviceSubRequestArgs']]]]:
|
|
2470
2469
|
"""
|
|
@@ -2502,7 +2501,7 @@ class DeviceSelectorPatchArgs:
|
|
|
2502
2501
|
if cel is not None:
|
|
2503
2502
|
pulumi.set(__self__, "cel", cel)
|
|
2504
2503
|
|
|
2505
|
-
@property
|
|
2504
|
+
@_builtins.property
|
|
2506
2505
|
@pulumi.getter
|
|
2507
2506
|
def cel(self) -> Optional[pulumi.Input['CELDeviceSelectorPatchArgs']]:
|
|
2508
2507
|
"""
|
|
@@ -2538,7 +2537,7 @@ class DeviceSelectorArgs:
|
|
|
2538
2537
|
if cel is not None:
|
|
2539
2538
|
pulumi.set(__self__, "cel", cel)
|
|
2540
2539
|
|
|
2541
|
-
@property
|
|
2540
|
+
@_builtins.property
|
|
2542
2541
|
@pulumi.getter
|
|
2543
2542
|
def cel(self) -> Optional[pulumi.Input['CELDeviceSelectorArgs']]:
|
|
2544
2543
|
"""
|
|
@@ -2558,7 +2557,7 @@ if not MYPY:
|
|
|
2558
2557
|
|
|
2559
2558
|
DeviceSubRequest is similar to ExactDeviceRequest, but doesn't expose the AdminAccess field as that one is only supported when requesting a specific device.
|
|
2560
2559
|
"""
|
|
2561
|
-
allocation_mode: NotRequired[pulumi.Input[
|
|
2560
|
+
allocation_mode: NotRequired[pulumi.Input[_builtins.str]]
|
|
2562
2561
|
"""
|
|
2563
2562
|
AllocationMode and its related fields define how devices are allocated to satisfy this subrequest. Supported values are:
|
|
2564
2563
|
|
|
@@ -2574,11 +2573,11 @@ if not MYPY:
|
|
|
2574
2573
|
|
|
2575
2574
|
More modes may get added in the future. Clients must refuse to handle requests with unknown modes.
|
|
2576
2575
|
"""
|
|
2577
|
-
count: NotRequired[pulumi.Input[
|
|
2576
|
+
count: NotRequired[pulumi.Input[_builtins.int]]
|
|
2578
2577
|
"""
|
|
2579
2578
|
Count is used only when the count mode is "ExactCount". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.
|
|
2580
2579
|
"""
|
|
2581
|
-
device_class_name: NotRequired[pulumi.Input[
|
|
2580
|
+
device_class_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
2582
2581
|
"""
|
|
2583
2582
|
DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this subrequest.
|
|
2584
2583
|
|
|
@@ -2586,7 +2585,7 @@ if not MYPY:
|
|
|
2586
2585
|
|
|
2587
2586
|
Administrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference.
|
|
2588
2587
|
"""
|
|
2589
|
-
name: NotRequired[pulumi.Input[
|
|
2588
|
+
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
2590
2589
|
"""
|
|
2591
2590
|
Name can be used to reference this subrequest in the list of constraints or the list of configurations for the claim. References must use the format <main request>/<subrequest>.
|
|
2592
2591
|
|
|
@@ -2614,17 +2613,17 @@ elif False:
|
|
|
2614
2613
|
@pulumi.input_type
|
|
2615
2614
|
class DeviceSubRequestPatchArgs:
|
|
2616
2615
|
def __init__(__self__, *,
|
|
2617
|
-
allocation_mode: Optional[pulumi.Input[
|
|
2618
|
-
count: Optional[pulumi.Input[
|
|
2619
|
-
device_class_name: Optional[pulumi.Input[
|
|
2620
|
-
name: Optional[pulumi.Input[
|
|
2616
|
+
allocation_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2617
|
+
count: Optional[pulumi.Input[_builtins.int]] = None,
|
|
2618
|
+
device_class_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2619
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2621
2620
|
selectors: Optional[pulumi.Input[Sequence[pulumi.Input['DeviceSelectorPatchArgs']]]] = None,
|
|
2622
2621
|
tolerations: Optional[pulumi.Input[Sequence[pulumi.Input['DeviceTolerationPatchArgs']]]] = None):
|
|
2623
2622
|
"""
|
|
2624
2623
|
DeviceSubRequest describes a request for device provided in the claim.spec.devices.requests[].firstAvailable array. Each is typically a request for a single resource like a device, but can also ask for several identical devices.
|
|
2625
2624
|
|
|
2626
2625
|
DeviceSubRequest is similar to ExactDeviceRequest, but doesn't expose the AdminAccess field as that one is only supported when requesting a specific device.
|
|
2627
|
-
:param pulumi.Input[
|
|
2626
|
+
:param pulumi.Input[_builtins.str] allocation_mode: AllocationMode and its related fields define how devices are allocated to satisfy this subrequest. Supported values are:
|
|
2628
2627
|
|
|
2629
2628
|
- ExactCount: This request is for a specific number of devices.
|
|
2630
2629
|
This is the default. The exact number is provided in the
|
|
@@ -2637,13 +2636,13 @@ class DeviceSubRequestPatchArgs:
|
|
|
2637
2636
|
If AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other subrequests must specify this field.
|
|
2638
2637
|
|
|
2639
2638
|
More modes may get added in the future. Clients must refuse to handle requests with unknown modes.
|
|
2640
|
-
:param pulumi.Input[
|
|
2641
|
-
:param pulumi.Input[
|
|
2639
|
+
:param pulumi.Input[_builtins.int] count: Count is used only when the count mode is "ExactCount". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.
|
|
2640
|
+
:param pulumi.Input[_builtins.str] device_class_name: DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this subrequest.
|
|
2642
2641
|
|
|
2643
2642
|
A class is required. Which classes are available depends on the cluster.
|
|
2644
2643
|
|
|
2645
2644
|
Administrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference.
|
|
2646
|
-
:param pulumi.Input[
|
|
2645
|
+
:param pulumi.Input[_builtins.str] name: Name can be used to reference this subrequest in the list of constraints or the list of configurations for the claim. References must use the format <main request>/<subrequest>.
|
|
2647
2646
|
|
|
2648
2647
|
Must be a DNS label.
|
|
2649
2648
|
:param pulumi.Input[Sequence[pulumi.Input['DeviceSelectorPatchArgs']]] selectors: Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this subrequest. All selectors must be satisfied for a device to be considered.
|
|
@@ -2670,9 +2669,9 @@ class DeviceSubRequestPatchArgs:
|
|
|
2670
2669
|
if tolerations is not None:
|
|
2671
2670
|
pulumi.set(__self__, "tolerations", tolerations)
|
|
2672
2671
|
|
|
2673
|
-
@property
|
|
2672
|
+
@_builtins.property
|
|
2674
2673
|
@pulumi.getter(name="allocationMode")
|
|
2675
|
-
def allocation_mode(self) -> Optional[pulumi.Input[
|
|
2674
|
+
def allocation_mode(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2676
2675
|
"""
|
|
2677
2676
|
AllocationMode and its related fields define how devices are allocated to satisfy this subrequest. Supported values are:
|
|
2678
2677
|
|
|
@@ -2691,24 +2690,24 @@ class DeviceSubRequestPatchArgs:
|
|
|
2691
2690
|
return pulumi.get(self, "allocation_mode")
|
|
2692
2691
|
|
|
2693
2692
|
@allocation_mode.setter
|
|
2694
|
-
def allocation_mode(self, value: Optional[pulumi.Input[
|
|
2693
|
+
def allocation_mode(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2695
2694
|
pulumi.set(self, "allocation_mode", value)
|
|
2696
2695
|
|
|
2697
|
-
@property
|
|
2696
|
+
@_builtins.property
|
|
2698
2697
|
@pulumi.getter
|
|
2699
|
-
def count(self) -> Optional[pulumi.Input[
|
|
2698
|
+
def count(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2700
2699
|
"""
|
|
2701
2700
|
Count is used only when the count mode is "ExactCount". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.
|
|
2702
2701
|
"""
|
|
2703
2702
|
return pulumi.get(self, "count")
|
|
2704
2703
|
|
|
2705
2704
|
@count.setter
|
|
2706
|
-
def count(self, value: Optional[pulumi.Input[
|
|
2705
|
+
def count(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2707
2706
|
pulumi.set(self, "count", value)
|
|
2708
2707
|
|
|
2709
|
-
@property
|
|
2708
|
+
@_builtins.property
|
|
2710
2709
|
@pulumi.getter(name="deviceClassName")
|
|
2711
|
-
def device_class_name(self) -> Optional[pulumi.Input[
|
|
2710
|
+
def device_class_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2712
2711
|
"""
|
|
2713
2712
|
DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this subrequest.
|
|
2714
2713
|
|
|
@@ -2719,12 +2718,12 @@ class DeviceSubRequestPatchArgs:
|
|
|
2719
2718
|
return pulumi.get(self, "device_class_name")
|
|
2720
2719
|
|
|
2721
2720
|
@device_class_name.setter
|
|
2722
|
-
def device_class_name(self, value: Optional[pulumi.Input[
|
|
2721
|
+
def device_class_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2723
2722
|
pulumi.set(self, "device_class_name", value)
|
|
2724
2723
|
|
|
2725
|
-
@property
|
|
2724
|
+
@_builtins.property
|
|
2726
2725
|
@pulumi.getter
|
|
2727
|
-
def name(self) -> Optional[pulumi.Input[
|
|
2726
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2728
2727
|
"""
|
|
2729
2728
|
Name can be used to reference this subrequest in the list of constraints or the list of configurations for the claim. References must use the format <main request>/<subrequest>.
|
|
2730
2729
|
|
|
@@ -2733,10 +2732,10 @@ class DeviceSubRequestPatchArgs:
|
|
|
2733
2732
|
return pulumi.get(self, "name")
|
|
2734
2733
|
|
|
2735
2734
|
@name.setter
|
|
2736
|
-
def name(self, value: Optional[pulumi.Input[
|
|
2735
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2737
2736
|
pulumi.set(self, "name", value)
|
|
2738
2737
|
|
|
2739
|
-
@property
|
|
2738
|
+
@_builtins.property
|
|
2740
2739
|
@pulumi.getter
|
|
2741
2740
|
def selectors(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DeviceSelectorPatchArgs']]]]:
|
|
2742
2741
|
"""
|
|
@@ -2748,7 +2747,7 @@ class DeviceSubRequestPatchArgs:
|
|
|
2748
2747
|
def selectors(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DeviceSelectorPatchArgs']]]]):
|
|
2749
2748
|
pulumi.set(self, "selectors", value)
|
|
2750
2749
|
|
|
2751
|
-
@property
|
|
2750
|
+
@_builtins.property
|
|
2752
2751
|
@pulumi.getter
|
|
2753
2752
|
def tolerations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DeviceTolerationPatchArgs']]]]:
|
|
2754
2753
|
"""
|
|
@@ -2776,7 +2775,7 @@ if not MYPY:
|
|
|
2776
2775
|
|
|
2777
2776
|
DeviceSubRequest is similar to ExactDeviceRequest, but doesn't expose the AdminAccess field as that one is only supported when requesting a specific device.
|
|
2778
2777
|
"""
|
|
2779
|
-
device_class_name: pulumi.Input[
|
|
2778
|
+
device_class_name: pulumi.Input[_builtins.str]
|
|
2780
2779
|
"""
|
|
2781
2780
|
DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this subrequest.
|
|
2782
2781
|
|
|
@@ -2784,13 +2783,13 @@ if not MYPY:
|
|
|
2784
2783
|
|
|
2785
2784
|
Administrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference.
|
|
2786
2785
|
"""
|
|
2787
|
-
name: pulumi.Input[
|
|
2786
|
+
name: pulumi.Input[_builtins.str]
|
|
2788
2787
|
"""
|
|
2789
2788
|
Name can be used to reference this subrequest in the list of constraints or the list of configurations for the claim. References must use the format <main request>/<subrequest>.
|
|
2790
2789
|
|
|
2791
2790
|
Must be a DNS label.
|
|
2792
2791
|
"""
|
|
2793
|
-
allocation_mode: NotRequired[pulumi.Input[
|
|
2792
|
+
allocation_mode: NotRequired[pulumi.Input[_builtins.str]]
|
|
2794
2793
|
"""
|
|
2795
2794
|
AllocationMode and its related fields define how devices are allocated to satisfy this subrequest. Supported values are:
|
|
2796
2795
|
|
|
@@ -2806,7 +2805,7 @@ if not MYPY:
|
|
|
2806
2805
|
|
|
2807
2806
|
More modes may get added in the future. Clients must refuse to handle requests with unknown modes.
|
|
2808
2807
|
"""
|
|
2809
|
-
count: NotRequired[pulumi.Input[
|
|
2808
|
+
count: NotRequired[pulumi.Input[_builtins.int]]
|
|
2810
2809
|
"""
|
|
2811
2810
|
Count is used only when the count mode is "ExactCount". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.
|
|
2812
2811
|
"""
|
|
@@ -2832,25 +2831,25 @@ elif False:
|
|
|
2832
2831
|
@pulumi.input_type
|
|
2833
2832
|
class DeviceSubRequestArgs:
|
|
2834
2833
|
def __init__(__self__, *,
|
|
2835
|
-
device_class_name: pulumi.Input[
|
|
2836
|
-
name: pulumi.Input[
|
|
2837
|
-
allocation_mode: Optional[pulumi.Input[
|
|
2838
|
-
count: Optional[pulumi.Input[
|
|
2834
|
+
device_class_name: pulumi.Input[_builtins.str],
|
|
2835
|
+
name: pulumi.Input[_builtins.str],
|
|
2836
|
+
allocation_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2837
|
+
count: Optional[pulumi.Input[_builtins.int]] = None,
|
|
2839
2838
|
selectors: Optional[pulumi.Input[Sequence[pulumi.Input['DeviceSelectorArgs']]]] = None,
|
|
2840
2839
|
tolerations: Optional[pulumi.Input[Sequence[pulumi.Input['DeviceTolerationArgs']]]] = None):
|
|
2841
2840
|
"""
|
|
2842
2841
|
DeviceSubRequest describes a request for device provided in the claim.spec.devices.requests[].firstAvailable array. Each is typically a request for a single resource like a device, but can also ask for several identical devices.
|
|
2843
2842
|
|
|
2844
2843
|
DeviceSubRequest is similar to ExactDeviceRequest, but doesn't expose the AdminAccess field as that one is only supported when requesting a specific device.
|
|
2845
|
-
:param pulumi.Input[
|
|
2844
|
+
:param pulumi.Input[_builtins.str] device_class_name: DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this subrequest.
|
|
2846
2845
|
|
|
2847
2846
|
A class is required. Which classes are available depends on the cluster.
|
|
2848
2847
|
|
|
2849
2848
|
Administrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference.
|
|
2850
|
-
:param pulumi.Input[
|
|
2849
|
+
:param pulumi.Input[_builtins.str] name: Name can be used to reference this subrequest in the list of constraints or the list of configurations for the claim. References must use the format <main request>/<subrequest>.
|
|
2851
2850
|
|
|
2852
2851
|
Must be a DNS label.
|
|
2853
|
-
:param pulumi.Input[
|
|
2852
|
+
:param pulumi.Input[_builtins.str] allocation_mode: AllocationMode and its related fields define how devices are allocated to satisfy this subrequest. Supported values are:
|
|
2854
2853
|
|
|
2855
2854
|
- ExactCount: This request is for a specific number of devices.
|
|
2856
2855
|
This is the default. The exact number is provided in the
|
|
@@ -2863,7 +2862,7 @@ class DeviceSubRequestArgs:
|
|
|
2863
2862
|
If AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other subrequests must specify this field.
|
|
2864
2863
|
|
|
2865
2864
|
More modes may get added in the future. Clients must refuse to handle requests with unknown modes.
|
|
2866
|
-
:param pulumi.Input[
|
|
2865
|
+
:param pulumi.Input[_builtins.int] count: Count is used only when the count mode is "ExactCount". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.
|
|
2867
2866
|
:param pulumi.Input[Sequence[pulumi.Input['DeviceSelectorArgs']]] selectors: Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this subrequest. All selectors must be satisfied for a device to be considered.
|
|
2868
2867
|
:param pulumi.Input[Sequence[pulumi.Input['DeviceTolerationArgs']]] tolerations: If specified, the request's tolerations.
|
|
2869
2868
|
|
|
@@ -2886,9 +2885,9 @@ class DeviceSubRequestArgs:
|
|
|
2886
2885
|
if tolerations is not None:
|
|
2887
2886
|
pulumi.set(__self__, "tolerations", tolerations)
|
|
2888
2887
|
|
|
2889
|
-
@property
|
|
2888
|
+
@_builtins.property
|
|
2890
2889
|
@pulumi.getter(name="deviceClassName")
|
|
2891
|
-
def device_class_name(self) -> pulumi.Input[
|
|
2890
|
+
def device_class_name(self) -> pulumi.Input[_builtins.str]:
|
|
2892
2891
|
"""
|
|
2893
2892
|
DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this subrequest.
|
|
2894
2893
|
|
|
@@ -2899,12 +2898,12 @@ class DeviceSubRequestArgs:
|
|
|
2899
2898
|
return pulumi.get(self, "device_class_name")
|
|
2900
2899
|
|
|
2901
2900
|
@device_class_name.setter
|
|
2902
|
-
def device_class_name(self, value: pulumi.Input[
|
|
2901
|
+
def device_class_name(self, value: pulumi.Input[_builtins.str]):
|
|
2903
2902
|
pulumi.set(self, "device_class_name", value)
|
|
2904
2903
|
|
|
2905
|
-
@property
|
|
2904
|
+
@_builtins.property
|
|
2906
2905
|
@pulumi.getter
|
|
2907
|
-
def name(self) -> pulumi.Input[
|
|
2906
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
2908
2907
|
"""
|
|
2909
2908
|
Name can be used to reference this subrequest in the list of constraints or the list of configurations for the claim. References must use the format <main request>/<subrequest>.
|
|
2910
2909
|
|
|
@@ -2913,12 +2912,12 @@ class DeviceSubRequestArgs:
|
|
|
2913
2912
|
return pulumi.get(self, "name")
|
|
2914
2913
|
|
|
2915
2914
|
@name.setter
|
|
2916
|
-
def name(self, value: pulumi.Input[
|
|
2915
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
2917
2916
|
pulumi.set(self, "name", value)
|
|
2918
2917
|
|
|
2919
|
-
@property
|
|
2918
|
+
@_builtins.property
|
|
2920
2919
|
@pulumi.getter(name="allocationMode")
|
|
2921
|
-
def allocation_mode(self) -> Optional[pulumi.Input[
|
|
2920
|
+
def allocation_mode(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2922
2921
|
"""
|
|
2923
2922
|
AllocationMode and its related fields define how devices are allocated to satisfy this subrequest. Supported values are:
|
|
2924
2923
|
|
|
@@ -2937,22 +2936,22 @@ class DeviceSubRequestArgs:
|
|
|
2937
2936
|
return pulumi.get(self, "allocation_mode")
|
|
2938
2937
|
|
|
2939
2938
|
@allocation_mode.setter
|
|
2940
|
-
def allocation_mode(self, value: Optional[pulumi.Input[
|
|
2939
|
+
def allocation_mode(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2941
2940
|
pulumi.set(self, "allocation_mode", value)
|
|
2942
2941
|
|
|
2943
|
-
@property
|
|
2942
|
+
@_builtins.property
|
|
2944
2943
|
@pulumi.getter
|
|
2945
|
-
def count(self) -> Optional[pulumi.Input[
|
|
2944
|
+
def count(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2946
2945
|
"""
|
|
2947
2946
|
Count is used only when the count mode is "ExactCount". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.
|
|
2948
2947
|
"""
|
|
2949
2948
|
return pulumi.get(self, "count")
|
|
2950
2949
|
|
|
2951
2950
|
@count.setter
|
|
2952
|
-
def count(self, value: Optional[pulumi.Input[
|
|
2951
|
+
def count(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2953
2952
|
pulumi.set(self, "count", value)
|
|
2954
2953
|
|
|
2955
|
-
@property
|
|
2954
|
+
@_builtins.property
|
|
2956
2955
|
@pulumi.getter
|
|
2957
2956
|
def selectors(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DeviceSelectorArgs']]]]:
|
|
2958
2957
|
"""
|
|
@@ -2964,7 +2963,7 @@ class DeviceSubRequestArgs:
|
|
|
2964
2963
|
def selectors(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DeviceSelectorArgs']]]]):
|
|
2965
2964
|
pulumi.set(self, "selectors", value)
|
|
2966
2965
|
|
|
2967
|
-
@property
|
|
2966
|
+
@_builtins.property
|
|
2968
2967
|
@pulumi.getter
|
|
2969
2968
|
def tolerations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DeviceTolerationArgs']]]]:
|
|
2970
2969
|
"""
|
|
@@ -2990,19 +2989,19 @@ if not MYPY:
|
|
|
2990
2989
|
"""
|
|
2991
2990
|
The device this taint is attached to has the "effect" on any claim which does not tolerate the taint and, through the claim, to pods using the claim.
|
|
2992
2991
|
"""
|
|
2993
|
-
effect: NotRequired[pulumi.Input[
|
|
2992
|
+
effect: NotRequired[pulumi.Input[_builtins.str]]
|
|
2994
2993
|
"""
|
|
2995
2994
|
The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here.
|
|
2996
2995
|
"""
|
|
2997
|
-
key: NotRequired[pulumi.Input[
|
|
2996
|
+
key: NotRequired[pulumi.Input[_builtins.str]]
|
|
2998
2997
|
"""
|
|
2999
2998
|
The taint key to be applied to a device. Must be a label name.
|
|
3000
2999
|
"""
|
|
3001
|
-
time_added: NotRequired[pulumi.Input[
|
|
3000
|
+
time_added: NotRequired[pulumi.Input[_builtins.str]]
|
|
3002
3001
|
"""
|
|
3003
3002
|
TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set.
|
|
3004
3003
|
"""
|
|
3005
|
-
value: NotRequired[pulumi.Input[
|
|
3004
|
+
value: NotRequired[pulumi.Input[_builtins.str]]
|
|
3006
3005
|
"""
|
|
3007
3006
|
The taint value corresponding to the taint key. Must be a label value.
|
|
3008
3007
|
"""
|
|
@@ -3012,16 +3011,16 @@ elif False:
|
|
|
3012
3011
|
@pulumi.input_type
|
|
3013
3012
|
class DeviceTaintPatchArgs:
|
|
3014
3013
|
def __init__(__self__, *,
|
|
3015
|
-
effect: Optional[pulumi.Input[
|
|
3016
|
-
key: Optional[pulumi.Input[
|
|
3017
|
-
time_added: Optional[pulumi.Input[
|
|
3018
|
-
value: Optional[pulumi.Input[
|
|
3014
|
+
effect: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3015
|
+
key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3016
|
+
time_added: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3017
|
+
value: Optional[pulumi.Input[_builtins.str]] = None):
|
|
3019
3018
|
"""
|
|
3020
3019
|
The device this taint is attached to has the "effect" on any claim which does not tolerate the taint and, through the claim, to pods using the claim.
|
|
3021
|
-
:param pulumi.Input[
|
|
3022
|
-
:param pulumi.Input[
|
|
3023
|
-
:param pulumi.Input[
|
|
3024
|
-
:param pulumi.Input[
|
|
3020
|
+
:param pulumi.Input[_builtins.str] effect: The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here.
|
|
3021
|
+
:param pulumi.Input[_builtins.str] key: The taint key to be applied to a device. Must be a label name.
|
|
3022
|
+
:param pulumi.Input[_builtins.str] time_added: TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set.
|
|
3023
|
+
:param pulumi.Input[_builtins.str] value: The taint value corresponding to the taint key. Must be a label value.
|
|
3025
3024
|
"""
|
|
3026
3025
|
if effect is not None:
|
|
3027
3026
|
pulumi.set(__self__, "effect", effect)
|
|
@@ -3032,52 +3031,52 @@ class DeviceTaintPatchArgs:
|
|
|
3032
3031
|
if value is not None:
|
|
3033
3032
|
pulumi.set(__self__, "value", value)
|
|
3034
3033
|
|
|
3035
|
-
@property
|
|
3034
|
+
@_builtins.property
|
|
3036
3035
|
@pulumi.getter
|
|
3037
|
-
def effect(self) -> Optional[pulumi.Input[
|
|
3036
|
+
def effect(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3038
3037
|
"""
|
|
3039
3038
|
The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here.
|
|
3040
3039
|
"""
|
|
3041
3040
|
return pulumi.get(self, "effect")
|
|
3042
3041
|
|
|
3043
3042
|
@effect.setter
|
|
3044
|
-
def effect(self, value: Optional[pulumi.Input[
|
|
3043
|
+
def effect(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3045
3044
|
pulumi.set(self, "effect", value)
|
|
3046
3045
|
|
|
3047
|
-
@property
|
|
3046
|
+
@_builtins.property
|
|
3048
3047
|
@pulumi.getter
|
|
3049
|
-
def key(self) -> Optional[pulumi.Input[
|
|
3048
|
+
def key(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3050
3049
|
"""
|
|
3051
3050
|
The taint key to be applied to a device. Must be a label name.
|
|
3052
3051
|
"""
|
|
3053
3052
|
return pulumi.get(self, "key")
|
|
3054
3053
|
|
|
3055
3054
|
@key.setter
|
|
3056
|
-
def key(self, value: Optional[pulumi.Input[
|
|
3055
|
+
def key(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3057
3056
|
pulumi.set(self, "key", value)
|
|
3058
3057
|
|
|
3059
|
-
@property
|
|
3058
|
+
@_builtins.property
|
|
3060
3059
|
@pulumi.getter(name="timeAdded")
|
|
3061
|
-
def time_added(self) -> Optional[pulumi.Input[
|
|
3060
|
+
def time_added(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3062
3061
|
"""
|
|
3063
3062
|
TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set.
|
|
3064
3063
|
"""
|
|
3065
3064
|
return pulumi.get(self, "time_added")
|
|
3066
3065
|
|
|
3067
3066
|
@time_added.setter
|
|
3068
|
-
def time_added(self, value: Optional[pulumi.Input[
|
|
3067
|
+
def time_added(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3069
3068
|
pulumi.set(self, "time_added", value)
|
|
3070
3069
|
|
|
3071
|
-
@property
|
|
3070
|
+
@_builtins.property
|
|
3072
3071
|
@pulumi.getter
|
|
3073
|
-
def value(self) -> Optional[pulumi.Input[
|
|
3072
|
+
def value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3074
3073
|
"""
|
|
3075
3074
|
The taint value corresponding to the taint key. Must be a label value.
|
|
3076
3075
|
"""
|
|
3077
3076
|
return pulumi.get(self, "value")
|
|
3078
3077
|
|
|
3079
3078
|
@value.setter
|
|
3080
|
-
def value(self, value: Optional[pulumi.Input[
|
|
3079
|
+
def value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3081
3080
|
pulumi.set(self, "value", value)
|
|
3082
3081
|
|
|
3083
3082
|
|
|
@@ -3086,19 +3085,19 @@ if not MYPY:
|
|
|
3086
3085
|
"""
|
|
3087
3086
|
The device this taint is attached to has the "effect" on any claim which does not tolerate the taint and, through the claim, to pods using the claim.
|
|
3088
3087
|
"""
|
|
3089
|
-
effect: pulumi.Input[
|
|
3088
|
+
effect: pulumi.Input[_builtins.str]
|
|
3090
3089
|
"""
|
|
3091
3090
|
The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here.
|
|
3092
3091
|
"""
|
|
3093
|
-
key: pulumi.Input[
|
|
3092
|
+
key: pulumi.Input[_builtins.str]
|
|
3094
3093
|
"""
|
|
3095
3094
|
The taint key to be applied to a device. Must be a label name.
|
|
3096
3095
|
"""
|
|
3097
|
-
time_added: NotRequired[pulumi.Input[
|
|
3096
|
+
time_added: NotRequired[pulumi.Input[_builtins.str]]
|
|
3098
3097
|
"""
|
|
3099
3098
|
TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set.
|
|
3100
3099
|
"""
|
|
3101
|
-
value: NotRequired[pulumi.Input[
|
|
3100
|
+
value: NotRequired[pulumi.Input[_builtins.str]]
|
|
3102
3101
|
"""
|
|
3103
3102
|
The taint value corresponding to the taint key. Must be a label value.
|
|
3104
3103
|
"""
|
|
@@ -3108,16 +3107,16 @@ elif False:
|
|
|
3108
3107
|
@pulumi.input_type
|
|
3109
3108
|
class DeviceTaintArgs:
|
|
3110
3109
|
def __init__(__self__, *,
|
|
3111
|
-
effect: pulumi.Input[
|
|
3112
|
-
key: pulumi.Input[
|
|
3113
|
-
time_added: Optional[pulumi.Input[
|
|
3114
|
-
value: Optional[pulumi.Input[
|
|
3110
|
+
effect: pulumi.Input[_builtins.str],
|
|
3111
|
+
key: pulumi.Input[_builtins.str],
|
|
3112
|
+
time_added: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3113
|
+
value: Optional[pulumi.Input[_builtins.str]] = None):
|
|
3115
3114
|
"""
|
|
3116
3115
|
The device this taint is attached to has the "effect" on any claim which does not tolerate the taint and, through the claim, to pods using the claim.
|
|
3117
|
-
:param pulumi.Input[
|
|
3118
|
-
:param pulumi.Input[
|
|
3119
|
-
:param pulumi.Input[
|
|
3120
|
-
:param pulumi.Input[
|
|
3116
|
+
:param pulumi.Input[_builtins.str] effect: The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here.
|
|
3117
|
+
:param pulumi.Input[_builtins.str] key: The taint key to be applied to a device. Must be a label name.
|
|
3118
|
+
:param pulumi.Input[_builtins.str] time_added: TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set.
|
|
3119
|
+
:param pulumi.Input[_builtins.str] value: The taint value corresponding to the taint key. Must be a label value.
|
|
3121
3120
|
"""
|
|
3122
3121
|
pulumi.set(__self__, "effect", effect)
|
|
3123
3122
|
pulumi.set(__self__, "key", key)
|
|
@@ -3126,52 +3125,52 @@ class DeviceTaintArgs:
|
|
|
3126
3125
|
if value is not None:
|
|
3127
3126
|
pulumi.set(__self__, "value", value)
|
|
3128
3127
|
|
|
3129
|
-
@property
|
|
3128
|
+
@_builtins.property
|
|
3130
3129
|
@pulumi.getter
|
|
3131
|
-
def effect(self) -> pulumi.Input[
|
|
3130
|
+
def effect(self) -> pulumi.Input[_builtins.str]:
|
|
3132
3131
|
"""
|
|
3133
3132
|
The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here.
|
|
3134
3133
|
"""
|
|
3135
3134
|
return pulumi.get(self, "effect")
|
|
3136
3135
|
|
|
3137
3136
|
@effect.setter
|
|
3138
|
-
def effect(self, value: pulumi.Input[
|
|
3137
|
+
def effect(self, value: pulumi.Input[_builtins.str]):
|
|
3139
3138
|
pulumi.set(self, "effect", value)
|
|
3140
3139
|
|
|
3141
|
-
@property
|
|
3140
|
+
@_builtins.property
|
|
3142
3141
|
@pulumi.getter
|
|
3143
|
-
def key(self) -> pulumi.Input[
|
|
3142
|
+
def key(self) -> pulumi.Input[_builtins.str]:
|
|
3144
3143
|
"""
|
|
3145
3144
|
The taint key to be applied to a device. Must be a label name.
|
|
3146
3145
|
"""
|
|
3147
3146
|
return pulumi.get(self, "key")
|
|
3148
3147
|
|
|
3149
3148
|
@key.setter
|
|
3150
|
-
def key(self, value: pulumi.Input[
|
|
3149
|
+
def key(self, value: pulumi.Input[_builtins.str]):
|
|
3151
3150
|
pulumi.set(self, "key", value)
|
|
3152
3151
|
|
|
3153
|
-
@property
|
|
3152
|
+
@_builtins.property
|
|
3154
3153
|
@pulumi.getter(name="timeAdded")
|
|
3155
|
-
def time_added(self) -> Optional[pulumi.Input[
|
|
3154
|
+
def time_added(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3156
3155
|
"""
|
|
3157
3156
|
TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set.
|
|
3158
3157
|
"""
|
|
3159
3158
|
return pulumi.get(self, "time_added")
|
|
3160
3159
|
|
|
3161
3160
|
@time_added.setter
|
|
3162
|
-
def time_added(self, value: Optional[pulumi.Input[
|
|
3161
|
+
def time_added(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3163
3162
|
pulumi.set(self, "time_added", value)
|
|
3164
3163
|
|
|
3165
|
-
@property
|
|
3164
|
+
@_builtins.property
|
|
3166
3165
|
@pulumi.getter
|
|
3167
|
-
def value(self) -> Optional[pulumi.Input[
|
|
3166
|
+
def value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3168
3167
|
"""
|
|
3169
3168
|
The taint value corresponding to the taint key. Must be a label value.
|
|
3170
3169
|
"""
|
|
3171
3170
|
return pulumi.get(self, "value")
|
|
3172
3171
|
|
|
3173
3172
|
@value.setter
|
|
3174
|
-
def value(self, value: Optional[pulumi.Input[
|
|
3173
|
+
def value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3175
3174
|
pulumi.set(self, "value", value)
|
|
3176
3175
|
|
|
3177
3176
|
|
|
@@ -3180,23 +3179,23 @@ if not MYPY:
|
|
|
3180
3179
|
"""
|
|
3181
3180
|
The ResourceClaim this DeviceToleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.
|
|
3182
3181
|
"""
|
|
3183
|
-
effect: NotRequired[pulumi.Input[
|
|
3182
|
+
effect: NotRequired[pulumi.Input[_builtins.str]]
|
|
3184
3183
|
"""
|
|
3185
3184
|
Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule and NoExecute.
|
|
3186
3185
|
"""
|
|
3187
|
-
key: NotRequired[pulumi.Input[
|
|
3186
|
+
key: NotRequired[pulumi.Input[_builtins.str]]
|
|
3188
3187
|
"""
|
|
3189
3188
|
Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. Must be a label name.
|
|
3190
3189
|
"""
|
|
3191
|
-
operator: NotRequired[pulumi.Input[
|
|
3190
|
+
operator: NotRequired[pulumi.Input[_builtins.str]]
|
|
3192
3191
|
"""
|
|
3193
3192
|
Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a ResourceClaim can tolerate all taints of a particular category.
|
|
3194
3193
|
"""
|
|
3195
|
-
toleration_seconds: NotRequired[pulumi.Input[
|
|
3194
|
+
toleration_seconds: NotRequired[pulumi.Input[_builtins.int]]
|
|
3196
3195
|
"""
|
|
3197
3196
|
TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. If larger than zero, the time when the pod needs to be evicted is calculated as <time when taint was adedd> + <toleration seconds>.
|
|
3198
3197
|
"""
|
|
3199
|
-
value: NotRequired[pulumi.Input[
|
|
3198
|
+
value: NotRequired[pulumi.Input[_builtins.str]]
|
|
3200
3199
|
"""
|
|
3201
3200
|
Value is the taint value the toleration matches to. If the operator is Exists, the value must be empty, otherwise just a regular string. Must be a label value.
|
|
3202
3201
|
"""
|
|
@@ -3206,18 +3205,18 @@ elif False:
|
|
|
3206
3205
|
@pulumi.input_type
|
|
3207
3206
|
class DeviceTolerationPatchArgs:
|
|
3208
3207
|
def __init__(__self__, *,
|
|
3209
|
-
effect: Optional[pulumi.Input[
|
|
3210
|
-
key: Optional[pulumi.Input[
|
|
3211
|
-
operator: Optional[pulumi.Input[
|
|
3212
|
-
toleration_seconds: Optional[pulumi.Input[
|
|
3213
|
-
value: Optional[pulumi.Input[
|
|
3208
|
+
effect: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3209
|
+
key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3210
|
+
operator: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3211
|
+
toleration_seconds: Optional[pulumi.Input[_builtins.int]] = None,
|
|
3212
|
+
value: Optional[pulumi.Input[_builtins.str]] = None):
|
|
3214
3213
|
"""
|
|
3215
3214
|
The ResourceClaim this DeviceToleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.
|
|
3216
|
-
:param pulumi.Input[
|
|
3217
|
-
:param pulumi.Input[
|
|
3218
|
-
:param pulumi.Input[
|
|
3219
|
-
:param pulumi.Input[
|
|
3220
|
-
:param pulumi.Input[
|
|
3215
|
+
:param pulumi.Input[_builtins.str] effect: Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule and NoExecute.
|
|
3216
|
+
:param pulumi.Input[_builtins.str] key: Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. Must be a label name.
|
|
3217
|
+
:param pulumi.Input[_builtins.str] operator: Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a ResourceClaim can tolerate all taints of a particular category.
|
|
3218
|
+
:param pulumi.Input[_builtins.int] toleration_seconds: TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. If larger than zero, the time when the pod needs to be evicted is calculated as <time when taint was adedd> + <toleration seconds>.
|
|
3219
|
+
:param pulumi.Input[_builtins.str] value: Value is the taint value the toleration matches to. If the operator is Exists, the value must be empty, otherwise just a regular string. Must be a label value.
|
|
3221
3220
|
"""
|
|
3222
3221
|
if effect is not None:
|
|
3223
3222
|
pulumi.set(__self__, "effect", effect)
|
|
@@ -3230,64 +3229,64 @@ class DeviceTolerationPatchArgs:
|
|
|
3230
3229
|
if value is not None:
|
|
3231
3230
|
pulumi.set(__self__, "value", value)
|
|
3232
3231
|
|
|
3233
|
-
@property
|
|
3232
|
+
@_builtins.property
|
|
3234
3233
|
@pulumi.getter
|
|
3235
|
-
def effect(self) -> Optional[pulumi.Input[
|
|
3234
|
+
def effect(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3236
3235
|
"""
|
|
3237
3236
|
Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule and NoExecute.
|
|
3238
3237
|
"""
|
|
3239
3238
|
return pulumi.get(self, "effect")
|
|
3240
3239
|
|
|
3241
3240
|
@effect.setter
|
|
3242
|
-
def effect(self, value: Optional[pulumi.Input[
|
|
3241
|
+
def effect(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3243
3242
|
pulumi.set(self, "effect", value)
|
|
3244
3243
|
|
|
3245
|
-
@property
|
|
3244
|
+
@_builtins.property
|
|
3246
3245
|
@pulumi.getter
|
|
3247
|
-
def key(self) -> Optional[pulumi.Input[
|
|
3246
|
+
def key(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3248
3247
|
"""
|
|
3249
3248
|
Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. Must be a label name.
|
|
3250
3249
|
"""
|
|
3251
3250
|
return pulumi.get(self, "key")
|
|
3252
3251
|
|
|
3253
3252
|
@key.setter
|
|
3254
|
-
def key(self, value: Optional[pulumi.Input[
|
|
3253
|
+
def key(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3255
3254
|
pulumi.set(self, "key", value)
|
|
3256
3255
|
|
|
3257
|
-
@property
|
|
3256
|
+
@_builtins.property
|
|
3258
3257
|
@pulumi.getter
|
|
3259
|
-
def operator(self) -> Optional[pulumi.Input[
|
|
3258
|
+
def operator(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3260
3259
|
"""
|
|
3261
3260
|
Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a ResourceClaim can tolerate all taints of a particular category.
|
|
3262
3261
|
"""
|
|
3263
3262
|
return pulumi.get(self, "operator")
|
|
3264
3263
|
|
|
3265
3264
|
@operator.setter
|
|
3266
|
-
def operator(self, value: Optional[pulumi.Input[
|
|
3265
|
+
def operator(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3267
3266
|
pulumi.set(self, "operator", value)
|
|
3268
3267
|
|
|
3269
|
-
@property
|
|
3268
|
+
@_builtins.property
|
|
3270
3269
|
@pulumi.getter(name="tolerationSeconds")
|
|
3271
|
-
def toleration_seconds(self) -> Optional[pulumi.Input[
|
|
3270
|
+
def toleration_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
3272
3271
|
"""
|
|
3273
3272
|
TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. If larger than zero, the time when the pod needs to be evicted is calculated as <time when taint was adedd> + <toleration seconds>.
|
|
3274
3273
|
"""
|
|
3275
3274
|
return pulumi.get(self, "toleration_seconds")
|
|
3276
3275
|
|
|
3277
3276
|
@toleration_seconds.setter
|
|
3278
|
-
def toleration_seconds(self, value: Optional[pulumi.Input[
|
|
3277
|
+
def toleration_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
3279
3278
|
pulumi.set(self, "toleration_seconds", value)
|
|
3280
3279
|
|
|
3281
|
-
@property
|
|
3280
|
+
@_builtins.property
|
|
3282
3281
|
@pulumi.getter
|
|
3283
|
-
def value(self) -> Optional[pulumi.Input[
|
|
3282
|
+
def value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3284
3283
|
"""
|
|
3285
3284
|
Value is the taint value the toleration matches to. If the operator is Exists, the value must be empty, otherwise just a regular string. Must be a label value.
|
|
3286
3285
|
"""
|
|
3287
3286
|
return pulumi.get(self, "value")
|
|
3288
3287
|
|
|
3289
3288
|
@value.setter
|
|
3290
|
-
def value(self, value: Optional[pulumi.Input[
|
|
3289
|
+
def value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3291
3290
|
pulumi.set(self, "value", value)
|
|
3292
3291
|
|
|
3293
3292
|
|
|
@@ -3296,23 +3295,23 @@ if not MYPY:
|
|
|
3296
3295
|
"""
|
|
3297
3296
|
The ResourceClaim this DeviceToleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.
|
|
3298
3297
|
"""
|
|
3299
|
-
effect: NotRequired[pulumi.Input[
|
|
3298
|
+
effect: NotRequired[pulumi.Input[_builtins.str]]
|
|
3300
3299
|
"""
|
|
3301
3300
|
Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule and NoExecute.
|
|
3302
3301
|
"""
|
|
3303
|
-
key: NotRequired[pulumi.Input[
|
|
3302
|
+
key: NotRequired[pulumi.Input[_builtins.str]]
|
|
3304
3303
|
"""
|
|
3305
3304
|
Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. Must be a label name.
|
|
3306
3305
|
"""
|
|
3307
|
-
operator: NotRequired[pulumi.Input[
|
|
3306
|
+
operator: NotRequired[pulumi.Input[_builtins.str]]
|
|
3308
3307
|
"""
|
|
3309
3308
|
Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a ResourceClaim can tolerate all taints of a particular category.
|
|
3310
3309
|
"""
|
|
3311
|
-
toleration_seconds: NotRequired[pulumi.Input[
|
|
3310
|
+
toleration_seconds: NotRequired[pulumi.Input[_builtins.int]]
|
|
3312
3311
|
"""
|
|
3313
3312
|
TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. If larger than zero, the time when the pod needs to be evicted is calculated as <time when taint was adedd> + <toleration seconds>.
|
|
3314
3313
|
"""
|
|
3315
|
-
value: NotRequired[pulumi.Input[
|
|
3314
|
+
value: NotRequired[pulumi.Input[_builtins.str]]
|
|
3316
3315
|
"""
|
|
3317
3316
|
Value is the taint value the toleration matches to. If the operator is Exists, the value must be empty, otherwise just a regular string. Must be a label value.
|
|
3318
3317
|
"""
|
|
@@ -3322,18 +3321,18 @@ elif False:
|
|
|
3322
3321
|
@pulumi.input_type
|
|
3323
3322
|
class DeviceTolerationArgs:
|
|
3324
3323
|
def __init__(__self__, *,
|
|
3325
|
-
effect: Optional[pulumi.Input[
|
|
3326
|
-
key: Optional[pulumi.Input[
|
|
3327
|
-
operator: Optional[pulumi.Input[
|
|
3328
|
-
toleration_seconds: Optional[pulumi.Input[
|
|
3329
|
-
value: Optional[pulumi.Input[
|
|
3324
|
+
effect: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3325
|
+
key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3326
|
+
operator: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3327
|
+
toleration_seconds: Optional[pulumi.Input[_builtins.int]] = None,
|
|
3328
|
+
value: Optional[pulumi.Input[_builtins.str]] = None):
|
|
3330
3329
|
"""
|
|
3331
3330
|
The ResourceClaim this DeviceToleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.
|
|
3332
|
-
:param pulumi.Input[
|
|
3333
|
-
:param pulumi.Input[
|
|
3334
|
-
:param pulumi.Input[
|
|
3335
|
-
:param pulumi.Input[
|
|
3336
|
-
:param pulumi.Input[
|
|
3331
|
+
:param pulumi.Input[_builtins.str] effect: Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule and NoExecute.
|
|
3332
|
+
:param pulumi.Input[_builtins.str] key: Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. Must be a label name.
|
|
3333
|
+
:param pulumi.Input[_builtins.str] operator: Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a ResourceClaim can tolerate all taints of a particular category.
|
|
3334
|
+
:param pulumi.Input[_builtins.int] toleration_seconds: TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. If larger than zero, the time when the pod needs to be evicted is calculated as <time when taint was adedd> + <toleration seconds>.
|
|
3335
|
+
:param pulumi.Input[_builtins.str] value: Value is the taint value the toleration matches to. If the operator is Exists, the value must be empty, otherwise just a regular string. Must be a label value.
|
|
3337
3336
|
"""
|
|
3338
3337
|
if effect is not None:
|
|
3339
3338
|
pulumi.set(__self__, "effect", effect)
|
|
@@ -3346,64 +3345,64 @@ class DeviceTolerationArgs:
|
|
|
3346
3345
|
if value is not None:
|
|
3347
3346
|
pulumi.set(__self__, "value", value)
|
|
3348
3347
|
|
|
3349
|
-
@property
|
|
3348
|
+
@_builtins.property
|
|
3350
3349
|
@pulumi.getter
|
|
3351
|
-
def effect(self) -> Optional[pulumi.Input[
|
|
3350
|
+
def effect(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3352
3351
|
"""
|
|
3353
3352
|
Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule and NoExecute.
|
|
3354
3353
|
"""
|
|
3355
3354
|
return pulumi.get(self, "effect")
|
|
3356
3355
|
|
|
3357
3356
|
@effect.setter
|
|
3358
|
-
def effect(self, value: Optional[pulumi.Input[
|
|
3357
|
+
def effect(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3359
3358
|
pulumi.set(self, "effect", value)
|
|
3360
3359
|
|
|
3361
|
-
@property
|
|
3360
|
+
@_builtins.property
|
|
3362
3361
|
@pulumi.getter
|
|
3363
|
-
def key(self) -> Optional[pulumi.Input[
|
|
3362
|
+
def key(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3364
3363
|
"""
|
|
3365
3364
|
Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. Must be a label name.
|
|
3366
3365
|
"""
|
|
3367
3366
|
return pulumi.get(self, "key")
|
|
3368
3367
|
|
|
3369
3368
|
@key.setter
|
|
3370
|
-
def key(self, value: Optional[pulumi.Input[
|
|
3369
|
+
def key(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3371
3370
|
pulumi.set(self, "key", value)
|
|
3372
3371
|
|
|
3373
|
-
@property
|
|
3372
|
+
@_builtins.property
|
|
3374
3373
|
@pulumi.getter
|
|
3375
|
-
def operator(self) -> Optional[pulumi.Input[
|
|
3374
|
+
def operator(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3376
3375
|
"""
|
|
3377
3376
|
Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a ResourceClaim can tolerate all taints of a particular category.
|
|
3378
3377
|
"""
|
|
3379
3378
|
return pulumi.get(self, "operator")
|
|
3380
3379
|
|
|
3381
3380
|
@operator.setter
|
|
3382
|
-
def operator(self, value: Optional[pulumi.Input[
|
|
3381
|
+
def operator(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3383
3382
|
pulumi.set(self, "operator", value)
|
|
3384
3383
|
|
|
3385
|
-
@property
|
|
3384
|
+
@_builtins.property
|
|
3386
3385
|
@pulumi.getter(name="tolerationSeconds")
|
|
3387
|
-
def toleration_seconds(self) -> Optional[pulumi.Input[
|
|
3386
|
+
def toleration_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
3388
3387
|
"""
|
|
3389
3388
|
TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. If larger than zero, the time when the pod needs to be evicted is calculated as <time when taint was adedd> + <toleration seconds>.
|
|
3390
3389
|
"""
|
|
3391
3390
|
return pulumi.get(self, "toleration_seconds")
|
|
3392
3391
|
|
|
3393
3392
|
@toleration_seconds.setter
|
|
3394
|
-
def toleration_seconds(self, value: Optional[pulumi.Input[
|
|
3393
|
+
def toleration_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
3395
3394
|
pulumi.set(self, "toleration_seconds", value)
|
|
3396
3395
|
|
|
3397
|
-
@property
|
|
3396
|
+
@_builtins.property
|
|
3398
3397
|
@pulumi.getter
|
|
3399
|
-
def value(self) -> Optional[pulumi.Input[
|
|
3398
|
+
def value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3400
3399
|
"""
|
|
3401
3400
|
Value is the taint value the toleration matches to. If the operator is Exists, the value must be empty, otherwise just a regular string. Must be a label value.
|
|
3402
3401
|
"""
|
|
3403
3402
|
return pulumi.get(self, "value")
|
|
3404
3403
|
|
|
3405
3404
|
@value.setter
|
|
3406
|
-
def value(self, value: Optional[pulumi.Input[
|
|
3405
|
+
def value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3407
3406
|
pulumi.set(self, "value", value)
|
|
3408
3407
|
|
|
3409
3408
|
|
|
@@ -3412,11 +3411,11 @@ if not MYPY:
|
|
|
3412
3411
|
"""
|
|
3413
3412
|
Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set.
|
|
3414
3413
|
"""
|
|
3415
|
-
name: pulumi.Input[
|
|
3414
|
+
name: pulumi.Input[_builtins.str]
|
|
3416
3415
|
"""
|
|
3417
3416
|
Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label.
|
|
3418
3417
|
"""
|
|
3419
|
-
all_nodes: NotRequired[pulumi.Input[
|
|
3418
|
+
all_nodes: NotRequired[pulumi.Input[_builtins.bool]]
|
|
3420
3419
|
"""
|
|
3421
3420
|
AllNodes indicates that all nodes have access to the device.
|
|
3422
3421
|
|
|
@@ -3442,7 +3441,7 @@ if not MYPY:
|
|
|
3442
3441
|
|
|
3443
3442
|
The total number of device counter consumption entries must be <= 32. In addition, the total number in the entire ResourceSlice must be <= 1024 (for example, 64 devices with 16 counters each).
|
|
3444
3443
|
"""
|
|
3445
|
-
node_name: NotRequired[pulumi.Input[
|
|
3444
|
+
node_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
3446
3445
|
"""
|
|
3447
3446
|
NodeName identifies the node where the device is available.
|
|
3448
3447
|
|
|
@@ -3470,18 +3469,18 @@ elif False:
|
|
|
3470
3469
|
@pulumi.input_type
|
|
3471
3470
|
class DeviceArgs:
|
|
3472
3471
|
def __init__(__self__, *,
|
|
3473
|
-
name: pulumi.Input[
|
|
3474
|
-
all_nodes: Optional[pulumi.Input[
|
|
3472
|
+
name: pulumi.Input[_builtins.str],
|
|
3473
|
+
all_nodes: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
3475
3474
|
attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input['DeviceAttributeArgs']]]] = None,
|
|
3476
3475
|
capacity: Optional[pulumi.Input[Mapping[str, pulumi.Input['DeviceCapacityArgs']]]] = None,
|
|
3477
3476
|
consumes_counters: Optional[pulumi.Input[Sequence[pulumi.Input['DeviceCounterConsumptionArgs']]]] = None,
|
|
3478
|
-
node_name: Optional[pulumi.Input[
|
|
3477
|
+
node_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3479
3478
|
node_selector: Optional[pulumi.Input['_core.v1.NodeSelectorArgs']] = None,
|
|
3480
3479
|
taints: Optional[pulumi.Input[Sequence[pulumi.Input['DeviceTaintArgs']]]] = None):
|
|
3481
3480
|
"""
|
|
3482
3481
|
Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set.
|
|
3483
|
-
:param pulumi.Input[
|
|
3484
|
-
:param pulumi.Input[
|
|
3482
|
+
:param pulumi.Input[_builtins.str] name: Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label.
|
|
3483
|
+
:param pulumi.Input[_builtins.bool] all_nodes: AllNodes indicates that all nodes have access to the device.
|
|
3485
3484
|
|
|
3486
3485
|
Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.
|
|
3487
3486
|
:param pulumi.Input[Mapping[str, pulumi.Input['DeviceAttributeArgs']]] attributes: Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set.
|
|
@@ -3495,7 +3494,7 @@ class DeviceArgs:
|
|
|
3495
3494
|
There can only be a single entry per counterSet.
|
|
3496
3495
|
|
|
3497
3496
|
The total number of device counter consumption entries must be <= 32. In addition, the total number in the entire ResourceSlice must be <= 1024 (for example, 64 devices with 16 counters each).
|
|
3498
|
-
:param pulumi.Input[
|
|
3497
|
+
:param pulumi.Input[_builtins.str] node_name: NodeName identifies the node where the device is available.
|
|
3499
3498
|
|
|
3500
3499
|
Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.
|
|
3501
3500
|
:param pulumi.Input['_core.v1.NodeSelectorArgs'] node_selector: NodeSelector defines the nodes where the device is available.
|
|
@@ -3525,21 +3524,21 @@ class DeviceArgs:
|
|
|
3525
3524
|
if taints is not None:
|
|
3526
3525
|
pulumi.set(__self__, "taints", taints)
|
|
3527
3526
|
|
|
3528
|
-
@property
|
|
3527
|
+
@_builtins.property
|
|
3529
3528
|
@pulumi.getter
|
|
3530
|
-
def name(self) -> pulumi.Input[
|
|
3529
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
3531
3530
|
"""
|
|
3532
3531
|
Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label.
|
|
3533
3532
|
"""
|
|
3534
3533
|
return pulumi.get(self, "name")
|
|
3535
3534
|
|
|
3536
3535
|
@name.setter
|
|
3537
|
-
def name(self, value: pulumi.Input[
|
|
3536
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
3538
3537
|
pulumi.set(self, "name", value)
|
|
3539
3538
|
|
|
3540
|
-
@property
|
|
3539
|
+
@_builtins.property
|
|
3541
3540
|
@pulumi.getter(name="allNodes")
|
|
3542
|
-
def all_nodes(self) -> Optional[pulumi.Input[
|
|
3541
|
+
def all_nodes(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
3543
3542
|
"""
|
|
3544
3543
|
AllNodes indicates that all nodes have access to the device.
|
|
3545
3544
|
|
|
@@ -3548,10 +3547,10 @@ class DeviceArgs:
|
|
|
3548
3547
|
return pulumi.get(self, "all_nodes")
|
|
3549
3548
|
|
|
3550
3549
|
@all_nodes.setter
|
|
3551
|
-
def all_nodes(self, value: Optional[pulumi.Input[
|
|
3550
|
+
def all_nodes(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
3552
3551
|
pulumi.set(self, "all_nodes", value)
|
|
3553
3552
|
|
|
3554
|
-
@property
|
|
3553
|
+
@_builtins.property
|
|
3555
3554
|
@pulumi.getter
|
|
3556
3555
|
def attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input['DeviceAttributeArgs']]]]:
|
|
3557
3556
|
"""
|
|
@@ -3565,7 +3564,7 @@ class DeviceArgs:
|
|
|
3565
3564
|
def attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['DeviceAttributeArgs']]]]):
|
|
3566
3565
|
pulumi.set(self, "attributes", value)
|
|
3567
3566
|
|
|
3568
|
-
@property
|
|
3567
|
+
@_builtins.property
|
|
3569
3568
|
@pulumi.getter
|
|
3570
3569
|
def capacity(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input['DeviceCapacityArgs']]]]:
|
|
3571
3570
|
"""
|
|
@@ -3579,7 +3578,7 @@ class DeviceArgs:
|
|
|
3579
3578
|
def capacity(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['DeviceCapacityArgs']]]]):
|
|
3580
3579
|
pulumi.set(self, "capacity", value)
|
|
3581
3580
|
|
|
3582
|
-
@property
|
|
3581
|
+
@_builtins.property
|
|
3583
3582
|
@pulumi.getter(name="consumesCounters")
|
|
3584
3583
|
def consumes_counters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DeviceCounterConsumptionArgs']]]]:
|
|
3585
3584
|
"""
|
|
@@ -3595,9 +3594,9 @@ class DeviceArgs:
|
|
|
3595
3594
|
def consumes_counters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DeviceCounterConsumptionArgs']]]]):
|
|
3596
3595
|
pulumi.set(self, "consumes_counters", value)
|
|
3597
3596
|
|
|
3598
|
-
@property
|
|
3597
|
+
@_builtins.property
|
|
3599
3598
|
@pulumi.getter(name="nodeName")
|
|
3600
|
-
def node_name(self) -> Optional[pulumi.Input[
|
|
3599
|
+
def node_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3601
3600
|
"""
|
|
3602
3601
|
NodeName identifies the node where the device is available.
|
|
3603
3602
|
|
|
@@ -3606,10 +3605,10 @@ class DeviceArgs:
|
|
|
3606
3605
|
return pulumi.get(self, "node_name")
|
|
3607
3606
|
|
|
3608
3607
|
@node_name.setter
|
|
3609
|
-
def node_name(self, value: Optional[pulumi.Input[
|
|
3608
|
+
def node_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3610
3609
|
pulumi.set(self, "node_name", value)
|
|
3611
3610
|
|
|
3612
|
-
@property
|
|
3611
|
+
@_builtins.property
|
|
3613
3612
|
@pulumi.getter(name="nodeSelector")
|
|
3614
3613
|
def node_selector(self) -> Optional[pulumi.Input['_core.v1.NodeSelectorArgs']]:
|
|
3615
3614
|
"""
|
|
@@ -3625,7 +3624,7 @@ class DeviceArgs:
|
|
|
3625
3624
|
def node_selector(self, value: Optional[pulumi.Input['_core.v1.NodeSelectorArgs']]):
|
|
3626
3625
|
pulumi.set(self, "node_selector", value)
|
|
3627
3626
|
|
|
3628
|
-
@property
|
|
3627
|
+
@_builtins.property
|
|
3629
3628
|
@pulumi.getter
|
|
3630
3629
|
def taints(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DeviceTaintArgs']]]]:
|
|
3631
3630
|
"""
|
|
@@ -3647,13 +3646,13 @@ if not MYPY:
|
|
|
3647
3646
|
"""
|
|
3648
3647
|
ExactDeviceRequest is a request for one or more identical devices.
|
|
3649
3648
|
"""
|
|
3650
|
-
admin_access: NotRequired[pulumi.Input[
|
|
3649
|
+
admin_access: NotRequired[pulumi.Input[_builtins.bool]]
|
|
3651
3650
|
"""
|
|
3652
3651
|
AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations.
|
|
3653
3652
|
|
|
3654
3653
|
This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.
|
|
3655
3654
|
"""
|
|
3656
|
-
allocation_mode: NotRequired[pulumi.Input[
|
|
3655
|
+
allocation_mode: NotRequired[pulumi.Input[_builtins.str]]
|
|
3657
3656
|
"""
|
|
3658
3657
|
AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:
|
|
3659
3658
|
|
|
@@ -3670,11 +3669,11 @@ if not MYPY:
|
|
|
3670
3669
|
|
|
3671
3670
|
More modes may get added in the future. Clients must refuse to handle requests with unknown modes.
|
|
3672
3671
|
"""
|
|
3673
|
-
count: NotRequired[pulumi.Input[
|
|
3672
|
+
count: NotRequired[pulumi.Input[_builtins.int]]
|
|
3674
3673
|
"""
|
|
3675
3674
|
Count is used only when the count mode is "ExactCount". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.
|
|
3676
3675
|
"""
|
|
3677
|
-
device_class_name: NotRequired[pulumi.Input[
|
|
3676
|
+
device_class_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
3678
3677
|
"""
|
|
3679
3678
|
DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request.
|
|
3680
3679
|
|
|
@@ -3704,18 +3703,18 @@ elif False:
|
|
|
3704
3703
|
@pulumi.input_type
|
|
3705
3704
|
class ExactDeviceRequestPatchArgs:
|
|
3706
3705
|
def __init__(__self__, *,
|
|
3707
|
-
admin_access: Optional[pulumi.Input[
|
|
3708
|
-
allocation_mode: Optional[pulumi.Input[
|
|
3709
|
-
count: Optional[pulumi.Input[
|
|
3710
|
-
device_class_name: Optional[pulumi.Input[
|
|
3706
|
+
admin_access: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
3707
|
+
allocation_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3708
|
+
count: Optional[pulumi.Input[_builtins.int]] = None,
|
|
3709
|
+
device_class_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3711
3710
|
selectors: Optional[pulumi.Input[Sequence[pulumi.Input['DeviceSelectorPatchArgs']]]] = None,
|
|
3712
3711
|
tolerations: Optional[pulumi.Input[Sequence[pulumi.Input['DeviceTolerationPatchArgs']]]] = None):
|
|
3713
3712
|
"""
|
|
3714
3713
|
ExactDeviceRequest is a request for one or more identical devices.
|
|
3715
|
-
:param pulumi.Input[
|
|
3714
|
+
:param pulumi.Input[_builtins.bool] admin_access: AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations.
|
|
3716
3715
|
|
|
3717
3716
|
This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.
|
|
3718
|
-
:param pulumi.Input[
|
|
3717
|
+
:param pulumi.Input[_builtins.str] allocation_mode: AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:
|
|
3719
3718
|
|
|
3720
3719
|
- ExactCount: This request is for a specific number of devices.
|
|
3721
3720
|
This is the default. The exact number is provided in the
|
|
@@ -3729,8 +3728,8 @@ class ExactDeviceRequestPatchArgs:
|
|
|
3729
3728
|
If AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field.
|
|
3730
3729
|
|
|
3731
3730
|
More modes may get added in the future. Clients must refuse to handle requests with unknown modes.
|
|
3732
|
-
:param pulumi.Input[
|
|
3733
|
-
:param pulumi.Input[
|
|
3731
|
+
:param pulumi.Input[_builtins.int] count: Count is used only when the count mode is "ExactCount". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.
|
|
3732
|
+
:param pulumi.Input[_builtins.str] device_class_name: DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request.
|
|
3734
3733
|
|
|
3735
3734
|
A DeviceClassName is required.
|
|
3736
3735
|
|
|
@@ -3759,9 +3758,9 @@ class ExactDeviceRequestPatchArgs:
|
|
|
3759
3758
|
if tolerations is not None:
|
|
3760
3759
|
pulumi.set(__self__, "tolerations", tolerations)
|
|
3761
3760
|
|
|
3762
|
-
@property
|
|
3761
|
+
@_builtins.property
|
|
3763
3762
|
@pulumi.getter(name="adminAccess")
|
|
3764
|
-
def admin_access(self) -> Optional[pulumi.Input[
|
|
3763
|
+
def admin_access(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
3765
3764
|
"""
|
|
3766
3765
|
AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations.
|
|
3767
3766
|
|
|
@@ -3770,12 +3769,12 @@ class ExactDeviceRequestPatchArgs:
|
|
|
3770
3769
|
return pulumi.get(self, "admin_access")
|
|
3771
3770
|
|
|
3772
3771
|
@admin_access.setter
|
|
3773
|
-
def admin_access(self, value: Optional[pulumi.Input[
|
|
3772
|
+
def admin_access(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
3774
3773
|
pulumi.set(self, "admin_access", value)
|
|
3775
3774
|
|
|
3776
|
-
@property
|
|
3775
|
+
@_builtins.property
|
|
3777
3776
|
@pulumi.getter(name="allocationMode")
|
|
3778
|
-
def allocation_mode(self) -> Optional[pulumi.Input[
|
|
3777
|
+
def allocation_mode(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3779
3778
|
"""
|
|
3780
3779
|
AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:
|
|
3781
3780
|
|
|
@@ -3795,24 +3794,24 @@ class ExactDeviceRequestPatchArgs:
|
|
|
3795
3794
|
return pulumi.get(self, "allocation_mode")
|
|
3796
3795
|
|
|
3797
3796
|
@allocation_mode.setter
|
|
3798
|
-
def allocation_mode(self, value: Optional[pulumi.Input[
|
|
3797
|
+
def allocation_mode(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3799
3798
|
pulumi.set(self, "allocation_mode", value)
|
|
3800
3799
|
|
|
3801
|
-
@property
|
|
3800
|
+
@_builtins.property
|
|
3802
3801
|
@pulumi.getter
|
|
3803
|
-
def count(self) -> Optional[pulumi.Input[
|
|
3802
|
+
def count(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
3804
3803
|
"""
|
|
3805
3804
|
Count is used only when the count mode is "ExactCount". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.
|
|
3806
3805
|
"""
|
|
3807
3806
|
return pulumi.get(self, "count")
|
|
3808
3807
|
|
|
3809
3808
|
@count.setter
|
|
3810
|
-
def count(self, value: Optional[pulumi.Input[
|
|
3809
|
+
def count(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
3811
3810
|
pulumi.set(self, "count", value)
|
|
3812
3811
|
|
|
3813
|
-
@property
|
|
3812
|
+
@_builtins.property
|
|
3814
3813
|
@pulumi.getter(name="deviceClassName")
|
|
3815
|
-
def device_class_name(self) -> Optional[pulumi.Input[
|
|
3814
|
+
def device_class_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3816
3815
|
"""
|
|
3817
3816
|
DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request.
|
|
3818
3817
|
|
|
@@ -3823,10 +3822,10 @@ class ExactDeviceRequestPatchArgs:
|
|
|
3823
3822
|
return pulumi.get(self, "device_class_name")
|
|
3824
3823
|
|
|
3825
3824
|
@device_class_name.setter
|
|
3826
|
-
def device_class_name(self, value: Optional[pulumi.Input[
|
|
3825
|
+
def device_class_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3827
3826
|
pulumi.set(self, "device_class_name", value)
|
|
3828
3827
|
|
|
3829
|
-
@property
|
|
3828
|
+
@_builtins.property
|
|
3830
3829
|
@pulumi.getter
|
|
3831
3830
|
def selectors(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DeviceSelectorPatchArgs']]]]:
|
|
3832
3831
|
"""
|
|
@@ -3838,7 +3837,7 @@ class ExactDeviceRequestPatchArgs:
|
|
|
3838
3837
|
def selectors(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DeviceSelectorPatchArgs']]]]):
|
|
3839
3838
|
pulumi.set(self, "selectors", value)
|
|
3840
3839
|
|
|
3841
|
-
@property
|
|
3840
|
+
@_builtins.property
|
|
3842
3841
|
@pulumi.getter
|
|
3843
3842
|
def tolerations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DeviceTolerationPatchArgs']]]]:
|
|
3844
3843
|
"""
|
|
@@ -3864,7 +3863,7 @@ if not MYPY:
|
|
|
3864
3863
|
"""
|
|
3865
3864
|
ExactDeviceRequest is a request for one or more identical devices.
|
|
3866
3865
|
"""
|
|
3867
|
-
device_class_name: pulumi.Input[
|
|
3866
|
+
device_class_name: pulumi.Input[_builtins.str]
|
|
3868
3867
|
"""
|
|
3869
3868
|
DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request.
|
|
3870
3869
|
|
|
@@ -3872,13 +3871,13 @@ if not MYPY:
|
|
|
3872
3871
|
|
|
3873
3872
|
Administrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference.
|
|
3874
3873
|
"""
|
|
3875
|
-
admin_access: NotRequired[pulumi.Input[
|
|
3874
|
+
admin_access: NotRequired[pulumi.Input[_builtins.bool]]
|
|
3876
3875
|
"""
|
|
3877
3876
|
AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations.
|
|
3878
3877
|
|
|
3879
3878
|
This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.
|
|
3880
3879
|
"""
|
|
3881
|
-
allocation_mode: NotRequired[pulumi.Input[
|
|
3880
|
+
allocation_mode: NotRequired[pulumi.Input[_builtins.str]]
|
|
3882
3881
|
"""
|
|
3883
3882
|
AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:
|
|
3884
3883
|
|
|
@@ -3895,7 +3894,7 @@ if not MYPY:
|
|
|
3895
3894
|
|
|
3896
3895
|
More modes may get added in the future. Clients must refuse to handle requests with unknown modes.
|
|
3897
3896
|
"""
|
|
3898
|
-
count: NotRequired[pulumi.Input[
|
|
3897
|
+
count: NotRequired[pulumi.Input[_builtins.int]]
|
|
3899
3898
|
"""
|
|
3900
3899
|
Count is used only when the count mode is "ExactCount". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.
|
|
3901
3900
|
"""
|
|
@@ -3921,23 +3920,23 @@ elif False:
|
|
|
3921
3920
|
@pulumi.input_type
|
|
3922
3921
|
class ExactDeviceRequestArgs:
|
|
3923
3922
|
def __init__(__self__, *,
|
|
3924
|
-
device_class_name: pulumi.Input[
|
|
3925
|
-
admin_access: Optional[pulumi.Input[
|
|
3926
|
-
allocation_mode: Optional[pulumi.Input[
|
|
3927
|
-
count: Optional[pulumi.Input[
|
|
3923
|
+
device_class_name: pulumi.Input[_builtins.str],
|
|
3924
|
+
admin_access: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
3925
|
+
allocation_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3926
|
+
count: Optional[pulumi.Input[_builtins.int]] = None,
|
|
3928
3927
|
selectors: Optional[pulumi.Input[Sequence[pulumi.Input['DeviceSelectorArgs']]]] = None,
|
|
3929
3928
|
tolerations: Optional[pulumi.Input[Sequence[pulumi.Input['DeviceTolerationArgs']]]] = None):
|
|
3930
3929
|
"""
|
|
3931
3930
|
ExactDeviceRequest is a request for one or more identical devices.
|
|
3932
|
-
:param pulumi.Input[
|
|
3931
|
+
:param pulumi.Input[_builtins.str] device_class_name: DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request.
|
|
3933
3932
|
|
|
3934
3933
|
A DeviceClassName is required.
|
|
3935
3934
|
|
|
3936
3935
|
Administrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference.
|
|
3937
|
-
:param pulumi.Input[
|
|
3936
|
+
:param pulumi.Input[_builtins.bool] admin_access: AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations.
|
|
3938
3937
|
|
|
3939
3938
|
This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.
|
|
3940
|
-
:param pulumi.Input[
|
|
3939
|
+
:param pulumi.Input[_builtins.str] allocation_mode: AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:
|
|
3941
3940
|
|
|
3942
3941
|
- ExactCount: This request is for a specific number of devices.
|
|
3943
3942
|
This is the default. The exact number is provided in the
|
|
@@ -3951,7 +3950,7 @@ class ExactDeviceRequestArgs:
|
|
|
3951
3950
|
If AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field.
|
|
3952
3951
|
|
|
3953
3952
|
More modes may get added in the future. Clients must refuse to handle requests with unknown modes.
|
|
3954
|
-
:param pulumi.Input[
|
|
3953
|
+
:param pulumi.Input[_builtins.int] count: Count is used only when the count mode is "ExactCount". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.
|
|
3955
3954
|
:param pulumi.Input[Sequence[pulumi.Input['DeviceSelectorArgs']]] selectors: Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered.
|
|
3956
3955
|
:param pulumi.Input[Sequence[pulumi.Input['DeviceTolerationArgs']]] tolerations: If specified, the request's tolerations.
|
|
3957
3956
|
|
|
@@ -3975,9 +3974,9 @@ class ExactDeviceRequestArgs:
|
|
|
3975
3974
|
if tolerations is not None:
|
|
3976
3975
|
pulumi.set(__self__, "tolerations", tolerations)
|
|
3977
3976
|
|
|
3978
|
-
@property
|
|
3977
|
+
@_builtins.property
|
|
3979
3978
|
@pulumi.getter(name="deviceClassName")
|
|
3980
|
-
def device_class_name(self) -> pulumi.Input[
|
|
3979
|
+
def device_class_name(self) -> pulumi.Input[_builtins.str]:
|
|
3981
3980
|
"""
|
|
3982
3981
|
DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request.
|
|
3983
3982
|
|
|
@@ -3988,12 +3987,12 @@ class ExactDeviceRequestArgs:
|
|
|
3988
3987
|
return pulumi.get(self, "device_class_name")
|
|
3989
3988
|
|
|
3990
3989
|
@device_class_name.setter
|
|
3991
|
-
def device_class_name(self, value: pulumi.Input[
|
|
3990
|
+
def device_class_name(self, value: pulumi.Input[_builtins.str]):
|
|
3992
3991
|
pulumi.set(self, "device_class_name", value)
|
|
3993
3992
|
|
|
3994
|
-
@property
|
|
3993
|
+
@_builtins.property
|
|
3995
3994
|
@pulumi.getter(name="adminAccess")
|
|
3996
|
-
def admin_access(self) -> Optional[pulumi.Input[
|
|
3995
|
+
def admin_access(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
3997
3996
|
"""
|
|
3998
3997
|
AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations.
|
|
3999
3998
|
|
|
@@ -4002,12 +4001,12 @@ class ExactDeviceRequestArgs:
|
|
|
4002
4001
|
return pulumi.get(self, "admin_access")
|
|
4003
4002
|
|
|
4004
4003
|
@admin_access.setter
|
|
4005
|
-
def admin_access(self, value: Optional[pulumi.Input[
|
|
4004
|
+
def admin_access(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
4006
4005
|
pulumi.set(self, "admin_access", value)
|
|
4007
4006
|
|
|
4008
|
-
@property
|
|
4007
|
+
@_builtins.property
|
|
4009
4008
|
@pulumi.getter(name="allocationMode")
|
|
4010
|
-
def allocation_mode(self) -> Optional[pulumi.Input[
|
|
4009
|
+
def allocation_mode(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
4011
4010
|
"""
|
|
4012
4011
|
AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:
|
|
4013
4012
|
|
|
@@ -4027,22 +4026,22 @@ class ExactDeviceRequestArgs:
|
|
|
4027
4026
|
return pulumi.get(self, "allocation_mode")
|
|
4028
4027
|
|
|
4029
4028
|
@allocation_mode.setter
|
|
4030
|
-
def allocation_mode(self, value: Optional[pulumi.Input[
|
|
4029
|
+
def allocation_mode(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
4031
4030
|
pulumi.set(self, "allocation_mode", value)
|
|
4032
4031
|
|
|
4033
|
-
@property
|
|
4032
|
+
@_builtins.property
|
|
4034
4033
|
@pulumi.getter
|
|
4035
|
-
def count(self) -> Optional[pulumi.Input[
|
|
4034
|
+
def count(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
4036
4035
|
"""
|
|
4037
4036
|
Count is used only when the count mode is "ExactCount". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.
|
|
4038
4037
|
"""
|
|
4039
4038
|
return pulumi.get(self, "count")
|
|
4040
4039
|
|
|
4041
4040
|
@count.setter
|
|
4042
|
-
def count(self, value: Optional[pulumi.Input[
|
|
4041
|
+
def count(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
4043
4042
|
pulumi.set(self, "count", value)
|
|
4044
4043
|
|
|
4045
|
-
@property
|
|
4044
|
+
@_builtins.property
|
|
4046
4045
|
@pulumi.getter
|
|
4047
4046
|
def selectors(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DeviceSelectorArgs']]]]:
|
|
4048
4047
|
"""
|
|
@@ -4054,7 +4053,7 @@ class ExactDeviceRequestArgs:
|
|
|
4054
4053
|
def selectors(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DeviceSelectorArgs']]]]):
|
|
4055
4054
|
pulumi.set(self, "selectors", value)
|
|
4056
4055
|
|
|
4057
|
-
@property
|
|
4056
|
+
@_builtins.property
|
|
4058
4057
|
@pulumi.getter
|
|
4059
4058
|
def tolerations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DeviceTolerationArgs']]]]:
|
|
4060
4059
|
"""
|
|
@@ -4080,19 +4079,19 @@ if not MYPY:
|
|
|
4080
4079
|
"""
|
|
4081
4080
|
NetworkDeviceData provides network-related details for the allocated device. This information may be filled by drivers or other components to configure or identify the device within a network context.
|
|
4082
4081
|
"""
|
|
4083
|
-
hardware_address: NotRequired[pulumi.Input[
|
|
4082
|
+
hardware_address: NotRequired[pulumi.Input[_builtins.str]]
|
|
4084
4083
|
"""
|
|
4085
4084
|
HardwareAddress represents the hardware address (e.g. MAC Address) of the device's network interface.
|
|
4086
4085
|
|
|
4087
4086
|
Must not be longer than 128 characters.
|
|
4088
4087
|
"""
|
|
4089
|
-
interface_name: NotRequired[pulumi.Input[
|
|
4088
|
+
interface_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
4090
4089
|
"""
|
|
4091
4090
|
InterfaceName specifies the name of the network interface associated with the allocated device. This might be the name of a physical or virtual network interface being configured in the pod.
|
|
4092
4091
|
|
|
4093
4092
|
Must not be longer than 256 characters.
|
|
4094
4093
|
"""
|
|
4095
|
-
ips: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
4094
|
+
ips: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
4096
4095
|
"""
|
|
4097
4096
|
IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: "192.0.2.5/24" for IPv4 and "2001:db8::5/64" for IPv6.
|
|
4098
4097
|
"""
|
|
@@ -4102,18 +4101,18 @@ elif False:
|
|
|
4102
4101
|
@pulumi.input_type
|
|
4103
4102
|
class NetworkDeviceDataArgs:
|
|
4104
4103
|
def __init__(__self__, *,
|
|
4105
|
-
hardware_address: Optional[pulumi.Input[
|
|
4106
|
-
interface_name: Optional[pulumi.Input[
|
|
4107
|
-
ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
4104
|
+
hardware_address: Optional[pulumi.Input[_builtins.str]] = None,
|
|
4105
|
+
interface_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
4106
|
+
ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
4108
4107
|
"""
|
|
4109
4108
|
NetworkDeviceData provides network-related details for the allocated device. This information may be filled by drivers or other components to configure or identify the device within a network context.
|
|
4110
|
-
:param pulumi.Input[
|
|
4109
|
+
:param pulumi.Input[_builtins.str] hardware_address: HardwareAddress represents the hardware address (e.g. MAC Address) of the device's network interface.
|
|
4111
4110
|
|
|
4112
4111
|
Must not be longer than 128 characters.
|
|
4113
|
-
:param pulumi.Input[
|
|
4112
|
+
:param pulumi.Input[_builtins.str] interface_name: InterfaceName specifies the name of the network interface associated with the allocated device. This might be the name of a physical or virtual network interface being configured in the pod.
|
|
4114
4113
|
|
|
4115
4114
|
Must not be longer than 256 characters.
|
|
4116
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
4115
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ips: IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: "192.0.2.5/24" for IPv4 and "2001:db8::5/64" for IPv6.
|
|
4117
4116
|
"""
|
|
4118
4117
|
if hardware_address is not None:
|
|
4119
4118
|
pulumi.set(__self__, "hardware_address", hardware_address)
|
|
@@ -4122,9 +4121,9 @@ class NetworkDeviceDataArgs:
|
|
|
4122
4121
|
if ips is not None:
|
|
4123
4122
|
pulumi.set(__self__, "ips", ips)
|
|
4124
4123
|
|
|
4125
|
-
@property
|
|
4124
|
+
@_builtins.property
|
|
4126
4125
|
@pulumi.getter(name="hardwareAddress")
|
|
4127
|
-
def hardware_address(self) -> Optional[pulumi.Input[
|
|
4126
|
+
def hardware_address(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
4128
4127
|
"""
|
|
4129
4128
|
HardwareAddress represents the hardware address (e.g. MAC Address) of the device's network interface.
|
|
4130
4129
|
|
|
@@ -4133,12 +4132,12 @@ class NetworkDeviceDataArgs:
|
|
|
4133
4132
|
return pulumi.get(self, "hardware_address")
|
|
4134
4133
|
|
|
4135
4134
|
@hardware_address.setter
|
|
4136
|
-
def hardware_address(self, value: Optional[pulumi.Input[
|
|
4135
|
+
def hardware_address(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
4137
4136
|
pulumi.set(self, "hardware_address", value)
|
|
4138
4137
|
|
|
4139
|
-
@property
|
|
4138
|
+
@_builtins.property
|
|
4140
4139
|
@pulumi.getter(name="interfaceName")
|
|
4141
|
-
def interface_name(self) -> Optional[pulumi.Input[
|
|
4140
|
+
def interface_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
4142
4141
|
"""
|
|
4143
4142
|
InterfaceName specifies the name of the network interface associated with the allocated device. This might be the name of a physical or virtual network interface being configured in the pod.
|
|
4144
4143
|
|
|
@@ -4147,19 +4146,19 @@ class NetworkDeviceDataArgs:
|
|
|
4147
4146
|
return pulumi.get(self, "interface_name")
|
|
4148
4147
|
|
|
4149
4148
|
@interface_name.setter
|
|
4150
|
-
def interface_name(self, value: Optional[pulumi.Input[
|
|
4149
|
+
def interface_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
4151
4150
|
pulumi.set(self, "interface_name", value)
|
|
4152
4151
|
|
|
4153
|
-
@property
|
|
4152
|
+
@_builtins.property
|
|
4154
4153
|
@pulumi.getter
|
|
4155
|
-
def ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
4154
|
+
def ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
4156
4155
|
"""
|
|
4157
4156
|
IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: "192.0.2.5/24" for IPv4 and "2001:db8::5/64" for IPv6.
|
|
4158
4157
|
"""
|
|
4159
4158
|
return pulumi.get(self, "ips")
|
|
4160
4159
|
|
|
4161
4160
|
@ips.setter
|
|
4162
|
-
def ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
4161
|
+
def ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
4163
4162
|
pulumi.set(self, "ips", value)
|
|
4164
4163
|
|
|
4165
4164
|
|
|
@@ -4168,7 +4167,7 @@ if not MYPY:
|
|
|
4168
4167
|
"""
|
|
4169
4168
|
OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.
|
|
4170
4169
|
"""
|
|
4171
|
-
driver: NotRequired[pulumi.Input[
|
|
4170
|
+
driver: NotRequired[pulumi.Input[_builtins.str]]
|
|
4172
4171
|
"""
|
|
4173
4172
|
Driver is used to determine which kubelet plugin needs to be passed these configuration parameters.
|
|
4174
4173
|
|
|
@@ -4188,11 +4187,11 @@ elif False:
|
|
|
4188
4187
|
@pulumi.input_type
|
|
4189
4188
|
class OpaqueDeviceConfigurationPatchArgs:
|
|
4190
4189
|
def __init__(__self__, *,
|
|
4191
|
-
driver: Optional[pulumi.Input[
|
|
4190
|
+
driver: Optional[pulumi.Input[_builtins.str]] = None,
|
|
4192
4191
|
parameters: Optional[Any] = None):
|
|
4193
4192
|
"""
|
|
4194
4193
|
OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.
|
|
4195
|
-
:param pulumi.Input[
|
|
4194
|
+
:param pulumi.Input[_builtins.str] driver: Driver is used to determine which kubelet plugin needs to be passed these configuration parameters.
|
|
4196
4195
|
|
|
4197
4196
|
An admission policy provided by the driver developer could use this to decide whether it needs to validate them.
|
|
4198
4197
|
|
|
@@ -4206,9 +4205,9 @@ class OpaqueDeviceConfigurationPatchArgs:
|
|
|
4206
4205
|
if parameters is not None:
|
|
4207
4206
|
pulumi.set(__self__, "parameters", parameters)
|
|
4208
4207
|
|
|
4209
|
-
@property
|
|
4208
|
+
@_builtins.property
|
|
4210
4209
|
@pulumi.getter
|
|
4211
|
-
def driver(self) -> Optional[pulumi.Input[
|
|
4210
|
+
def driver(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
4212
4211
|
"""
|
|
4213
4212
|
Driver is used to determine which kubelet plugin needs to be passed these configuration parameters.
|
|
4214
4213
|
|
|
@@ -4219,10 +4218,10 @@ class OpaqueDeviceConfigurationPatchArgs:
|
|
|
4219
4218
|
return pulumi.get(self, "driver")
|
|
4220
4219
|
|
|
4221
4220
|
@driver.setter
|
|
4222
|
-
def driver(self, value: Optional[pulumi.Input[
|
|
4221
|
+
def driver(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
4223
4222
|
pulumi.set(self, "driver", value)
|
|
4224
4223
|
|
|
4225
|
-
@property
|
|
4224
|
+
@_builtins.property
|
|
4226
4225
|
@pulumi.getter
|
|
4227
4226
|
def parameters(self) -> Optional[Any]:
|
|
4228
4227
|
"""
|
|
@@ -4242,7 +4241,7 @@ if not MYPY:
|
|
|
4242
4241
|
"""
|
|
4243
4242
|
OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.
|
|
4244
4243
|
"""
|
|
4245
|
-
driver: pulumi.Input[
|
|
4244
|
+
driver: pulumi.Input[_builtins.str]
|
|
4246
4245
|
"""
|
|
4247
4246
|
Driver is used to determine which kubelet plugin needs to be passed these configuration parameters.
|
|
4248
4247
|
|
|
@@ -4262,11 +4261,11 @@ elif False:
|
|
|
4262
4261
|
@pulumi.input_type
|
|
4263
4262
|
class OpaqueDeviceConfigurationArgs:
|
|
4264
4263
|
def __init__(__self__, *,
|
|
4265
|
-
driver: pulumi.Input[
|
|
4264
|
+
driver: pulumi.Input[_builtins.str],
|
|
4266
4265
|
parameters: Any):
|
|
4267
4266
|
"""
|
|
4268
4267
|
OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.
|
|
4269
|
-
:param pulumi.Input[
|
|
4268
|
+
:param pulumi.Input[_builtins.str] driver: Driver is used to determine which kubelet plugin needs to be passed these configuration parameters.
|
|
4270
4269
|
|
|
4271
4270
|
An admission policy provided by the driver developer could use this to decide whether it needs to validate them.
|
|
4272
4271
|
|
|
@@ -4278,9 +4277,9 @@ class OpaqueDeviceConfigurationArgs:
|
|
|
4278
4277
|
pulumi.set(__self__, "driver", driver)
|
|
4279
4278
|
pulumi.set(__self__, "parameters", parameters)
|
|
4280
4279
|
|
|
4281
|
-
@property
|
|
4280
|
+
@_builtins.property
|
|
4282
4281
|
@pulumi.getter
|
|
4283
|
-
def driver(self) -> pulumi.Input[
|
|
4282
|
+
def driver(self) -> pulumi.Input[_builtins.str]:
|
|
4284
4283
|
"""
|
|
4285
4284
|
Driver is used to determine which kubelet plugin needs to be passed these configuration parameters.
|
|
4286
4285
|
|
|
@@ -4291,10 +4290,10 @@ class OpaqueDeviceConfigurationArgs:
|
|
|
4291
4290
|
return pulumi.get(self, "driver")
|
|
4292
4291
|
|
|
4293
4292
|
@driver.setter
|
|
4294
|
-
def driver(self, value: pulumi.Input[
|
|
4293
|
+
def driver(self, value: pulumi.Input[_builtins.str]):
|
|
4295
4294
|
pulumi.set(self, "driver", value)
|
|
4296
4295
|
|
|
4297
|
-
@property
|
|
4296
|
+
@_builtins.property
|
|
4298
4297
|
@pulumi.getter
|
|
4299
4298
|
def parameters(self) -> Any:
|
|
4300
4299
|
"""
|
|
@@ -4314,19 +4313,19 @@ if not MYPY:
|
|
|
4314
4313
|
"""
|
|
4315
4314
|
ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim. The user must be a resource in the same namespace as the ResourceClaim.
|
|
4316
4315
|
"""
|
|
4317
|
-
name: pulumi.Input[
|
|
4316
|
+
name: pulumi.Input[_builtins.str]
|
|
4318
4317
|
"""
|
|
4319
4318
|
Name is the name of resource being referenced.
|
|
4320
4319
|
"""
|
|
4321
|
-
resource: pulumi.Input[
|
|
4320
|
+
resource: pulumi.Input[_builtins.str]
|
|
4322
4321
|
"""
|
|
4323
4322
|
Resource is the type of resource being referenced, for example "pods".
|
|
4324
4323
|
"""
|
|
4325
|
-
uid: pulumi.Input[
|
|
4324
|
+
uid: pulumi.Input[_builtins.str]
|
|
4326
4325
|
"""
|
|
4327
4326
|
UID identifies exactly one incarnation of the resource.
|
|
4328
4327
|
"""
|
|
4329
|
-
api_group: NotRequired[pulumi.Input[
|
|
4328
|
+
api_group: NotRequired[pulumi.Input[_builtins.str]]
|
|
4330
4329
|
"""
|
|
4331
4330
|
APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.
|
|
4332
4331
|
"""
|
|
@@ -4336,16 +4335,16 @@ elif False:
|
|
|
4336
4335
|
@pulumi.input_type
|
|
4337
4336
|
class ResourceClaimConsumerReferenceArgs:
|
|
4338
4337
|
def __init__(__self__, *,
|
|
4339
|
-
name: pulumi.Input[
|
|
4340
|
-
resource: pulumi.Input[
|
|
4341
|
-
uid: pulumi.Input[
|
|
4342
|
-
api_group: Optional[pulumi.Input[
|
|
4338
|
+
name: pulumi.Input[_builtins.str],
|
|
4339
|
+
resource: pulumi.Input[_builtins.str],
|
|
4340
|
+
uid: pulumi.Input[_builtins.str],
|
|
4341
|
+
api_group: Optional[pulumi.Input[_builtins.str]] = None):
|
|
4343
4342
|
"""
|
|
4344
4343
|
ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim. The user must be a resource in the same namespace as the ResourceClaim.
|
|
4345
|
-
:param pulumi.Input[
|
|
4346
|
-
:param pulumi.Input[
|
|
4347
|
-
:param pulumi.Input[
|
|
4348
|
-
:param pulumi.Input[
|
|
4344
|
+
:param pulumi.Input[_builtins.str] name: Name is the name of resource being referenced.
|
|
4345
|
+
:param pulumi.Input[_builtins.str] resource: Resource is the type of resource being referenced, for example "pods".
|
|
4346
|
+
:param pulumi.Input[_builtins.str] uid: UID identifies exactly one incarnation of the resource.
|
|
4347
|
+
:param pulumi.Input[_builtins.str] api_group: APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.
|
|
4349
4348
|
"""
|
|
4350
4349
|
pulumi.set(__self__, "name", name)
|
|
4351
4350
|
pulumi.set(__self__, "resource", resource)
|
|
@@ -4353,52 +4352,52 @@ class ResourceClaimConsumerReferenceArgs:
|
|
|
4353
4352
|
if api_group is not None:
|
|
4354
4353
|
pulumi.set(__self__, "api_group", api_group)
|
|
4355
4354
|
|
|
4356
|
-
@property
|
|
4355
|
+
@_builtins.property
|
|
4357
4356
|
@pulumi.getter
|
|
4358
|
-
def name(self) -> pulumi.Input[
|
|
4357
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
4359
4358
|
"""
|
|
4360
4359
|
Name is the name of resource being referenced.
|
|
4361
4360
|
"""
|
|
4362
4361
|
return pulumi.get(self, "name")
|
|
4363
4362
|
|
|
4364
4363
|
@name.setter
|
|
4365
|
-
def name(self, value: pulumi.Input[
|
|
4364
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
4366
4365
|
pulumi.set(self, "name", value)
|
|
4367
4366
|
|
|
4368
|
-
@property
|
|
4367
|
+
@_builtins.property
|
|
4369
4368
|
@pulumi.getter
|
|
4370
|
-
def resource(self) -> pulumi.Input[
|
|
4369
|
+
def resource(self) -> pulumi.Input[_builtins.str]:
|
|
4371
4370
|
"""
|
|
4372
4371
|
Resource is the type of resource being referenced, for example "pods".
|
|
4373
4372
|
"""
|
|
4374
4373
|
return pulumi.get(self, "resource")
|
|
4375
4374
|
|
|
4376
4375
|
@resource.setter
|
|
4377
|
-
def resource(self, value: pulumi.Input[
|
|
4376
|
+
def resource(self, value: pulumi.Input[_builtins.str]):
|
|
4378
4377
|
pulumi.set(self, "resource", value)
|
|
4379
4378
|
|
|
4380
|
-
@property
|
|
4379
|
+
@_builtins.property
|
|
4381
4380
|
@pulumi.getter
|
|
4382
|
-
def uid(self) -> pulumi.Input[
|
|
4381
|
+
def uid(self) -> pulumi.Input[_builtins.str]:
|
|
4383
4382
|
"""
|
|
4384
4383
|
UID identifies exactly one incarnation of the resource.
|
|
4385
4384
|
"""
|
|
4386
4385
|
return pulumi.get(self, "uid")
|
|
4387
4386
|
|
|
4388
4387
|
@uid.setter
|
|
4389
|
-
def uid(self, value: pulumi.Input[
|
|
4388
|
+
def uid(self, value: pulumi.Input[_builtins.str]):
|
|
4390
4389
|
pulumi.set(self, "uid", value)
|
|
4391
4390
|
|
|
4392
|
-
@property
|
|
4391
|
+
@_builtins.property
|
|
4393
4392
|
@pulumi.getter(name="apiGroup")
|
|
4394
|
-
def api_group(self) -> Optional[pulumi.Input[
|
|
4393
|
+
def api_group(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
4395
4394
|
"""
|
|
4396
4395
|
APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.
|
|
4397
4396
|
"""
|
|
4398
4397
|
return pulumi.get(self, "api_group")
|
|
4399
4398
|
|
|
4400
4399
|
@api_group.setter
|
|
4401
|
-
def api_group(self, value: Optional[pulumi.Input[
|
|
4400
|
+
def api_group(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
4402
4401
|
pulumi.set(self, "api_group", value)
|
|
4403
4402
|
|
|
4404
4403
|
|
|
@@ -4425,7 +4424,7 @@ class ResourceClaimSpecPatchArgs:
|
|
|
4425
4424
|
if devices is not None:
|
|
4426
4425
|
pulumi.set(__self__, "devices", devices)
|
|
4427
4426
|
|
|
4428
|
-
@property
|
|
4427
|
+
@_builtins.property
|
|
4429
4428
|
@pulumi.getter
|
|
4430
4429
|
def devices(self) -> Optional[pulumi.Input['DeviceClaimPatchArgs']]:
|
|
4431
4430
|
"""
|
|
@@ -4461,7 +4460,7 @@ class ResourceClaimSpecArgs:
|
|
|
4461
4460
|
if devices is not None:
|
|
4462
4461
|
pulumi.set(__self__, "devices", devices)
|
|
4463
4462
|
|
|
4464
|
-
@property
|
|
4463
|
+
@_builtins.property
|
|
4465
4464
|
@pulumi.getter
|
|
4466
4465
|
def devices(self) -> Optional[pulumi.Input['DeviceClaimArgs']]:
|
|
4467
4466
|
"""
|
|
@@ -4525,7 +4524,7 @@ class ResourceClaimStatusArgs:
|
|
|
4525
4524
|
if reserved_for is not None:
|
|
4526
4525
|
pulumi.set(__self__, "reserved_for", reserved_for)
|
|
4527
4526
|
|
|
4528
|
-
@property
|
|
4527
|
+
@_builtins.property
|
|
4529
4528
|
@pulumi.getter
|
|
4530
4529
|
def allocation(self) -> Optional[pulumi.Input['AllocationResultArgs']]:
|
|
4531
4530
|
"""
|
|
@@ -4537,7 +4536,7 @@ class ResourceClaimStatusArgs:
|
|
|
4537
4536
|
def allocation(self, value: Optional[pulumi.Input['AllocationResultArgs']]):
|
|
4538
4537
|
pulumi.set(self, "allocation", value)
|
|
4539
4538
|
|
|
4540
|
-
@property
|
|
4539
|
+
@_builtins.property
|
|
4541
4540
|
@pulumi.getter
|
|
4542
4541
|
def devices(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AllocatedDeviceStatusArgs']]]]:
|
|
4543
4542
|
"""
|
|
@@ -4549,7 +4548,7 @@ class ResourceClaimStatusArgs:
|
|
|
4549
4548
|
def devices(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AllocatedDeviceStatusArgs']]]]):
|
|
4550
4549
|
pulumi.set(self, "devices", value)
|
|
4551
4550
|
|
|
4552
|
-
@property
|
|
4551
|
+
@_builtins.property
|
|
4553
4552
|
@pulumi.getter(name="reservedFor")
|
|
4554
4553
|
def reserved_for(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ResourceClaimConsumerReferenceArgs']]]]:
|
|
4555
4554
|
"""
|
|
@@ -4599,7 +4598,7 @@ class ResourceClaimTemplateSpecPatchArgs:
|
|
|
4599
4598
|
if spec is not None:
|
|
4600
4599
|
pulumi.set(__self__, "spec", spec)
|
|
4601
4600
|
|
|
4602
|
-
@property
|
|
4601
|
+
@_builtins.property
|
|
4603
4602
|
@pulumi.getter
|
|
4604
4603
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaPatchArgs']]:
|
|
4605
4604
|
"""
|
|
@@ -4611,7 +4610,7 @@ class ResourceClaimTemplateSpecPatchArgs:
|
|
|
4611
4610
|
def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaPatchArgs']]):
|
|
4612
4611
|
pulumi.set(self, "metadata", value)
|
|
4613
4612
|
|
|
4614
|
-
@property
|
|
4613
|
+
@_builtins.property
|
|
4615
4614
|
@pulumi.getter
|
|
4616
4615
|
def spec(self) -> Optional[pulumi.Input['ResourceClaimSpecPatchArgs']]:
|
|
4617
4616
|
"""
|
|
@@ -4654,7 +4653,7 @@ class ResourceClaimTemplateSpecArgs:
|
|
|
4654
4653
|
if metadata is not None:
|
|
4655
4654
|
pulumi.set(__self__, "metadata", metadata)
|
|
4656
4655
|
|
|
4657
|
-
@property
|
|
4656
|
+
@_builtins.property
|
|
4658
4657
|
@pulumi.getter
|
|
4659
4658
|
def spec(self) -> pulumi.Input['ResourceClaimSpecArgs']:
|
|
4660
4659
|
"""
|
|
@@ -4666,7 +4665,7 @@ class ResourceClaimTemplateSpecArgs:
|
|
|
4666
4665
|
def spec(self, value: pulumi.Input['ResourceClaimSpecArgs']):
|
|
4667
4666
|
pulumi.set(self, "spec", value)
|
|
4668
4667
|
|
|
4669
|
-
@property
|
|
4668
|
+
@_builtins.property
|
|
4670
4669
|
@pulumi.getter
|
|
4671
4670
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
4672
4671
|
"""
|
|
@@ -4692,11 +4691,11 @@ if not MYPY:
|
|
|
4692
4691
|
|
|
4693
4692
|
This field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore.
|
|
4694
4693
|
"""
|
|
4695
|
-
api_version: NotRequired[pulumi.Input[
|
|
4694
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
4696
4695
|
"""
|
|
4697
4696
|
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
|
|
4698
4697
|
"""
|
|
4699
|
-
kind: NotRequired[pulumi.Input[
|
|
4698
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
4700
4699
|
"""
|
|
4701
4700
|
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
|
|
4702
4701
|
"""
|
|
@@ -4711,8 +4710,8 @@ elif False:
|
|
|
4711
4710
|
class ResourceClaimTemplateArgs:
|
|
4712
4711
|
def __init__(__self__, *,
|
|
4713
4712
|
spec: pulumi.Input['ResourceClaimTemplateSpecArgs'],
|
|
4714
|
-
api_version: Optional[pulumi.Input[
|
|
4715
|
-
kind: Optional[pulumi.Input[
|
|
4713
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
4714
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
4716
4715
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None):
|
|
4717
4716
|
"""
|
|
4718
4717
|
ResourceClaimTemplate is used to produce ResourceClaim objects.
|
|
@@ -4721,8 +4720,8 @@ class ResourceClaimTemplateArgs:
|
|
|
4721
4720
|
:param pulumi.Input['ResourceClaimTemplateSpecArgs'] spec: Describes the ResourceClaim that is to be generated.
|
|
4722
4721
|
|
|
4723
4722
|
This field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore.
|
|
4724
|
-
:param pulumi.Input[
|
|
4725
|
-
:param pulumi.Input[
|
|
4723
|
+
:param pulumi.Input[_builtins.str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
4724
|
+
:param pulumi.Input[_builtins.str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
4726
4725
|
:param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object metadata
|
|
4727
4726
|
"""
|
|
4728
4727
|
pulumi.set(__self__, "spec", spec)
|
|
@@ -4733,7 +4732,7 @@ class ResourceClaimTemplateArgs:
|
|
|
4733
4732
|
if metadata is not None:
|
|
4734
4733
|
pulumi.set(__self__, "metadata", metadata)
|
|
4735
4734
|
|
|
4736
|
-
@property
|
|
4735
|
+
@_builtins.property
|
|
4737
4736
|
@pulumi.getter
|
|
4738
4737
|
def spec(self) -> pulumi.Input['ResourceClaimTemplateSpecArgs']:
|
|
4739
4738
|
"""
|
|
@@ -4747,31 +4746,31 @@ class ResourceClaimTemplateArgs:
|
|
|
4747
4746
|
def spec(self, value: pulumi.Input['ResourceClaimTemplateSpecArgs']):
|
|
4748
4747
|
pulumi.set(self, "spec", value)
|
|
4749
4748
|
|
|
4750
|
-
@property
|
|
4749
|
+
@_builtins.property
|
|
4751
4750
|
@pulumi.getter(name="apiVersion")
|
|
4752
|
-
def api_version(self) -> Optional[pulumi.Input[
|
|
4751
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
4753
4752
|
"""
|
|
4754
4753
|
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
|
|
4755
4754
|
"""
|
|
4756
4755
|
return pulumi.get(self, "api_version")
|
|
4757
4756
|
|
|
4758
4757
|
@api_version.setter
|
|
4759
|
-
def api_version(self, value: Optional[pulumi.Input[
|
|
4758
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
4760
4759
|
pulumi.set(self, "api_version", value)
|
|
4761
4760
|
|
|
4762
|
-
@property
|
|
4761
|
+
@_builtins.property
|
|
4763
4762
|
@pulumi.getter
|
|
4764
|
-
def kind(self) -> Optional[pulumi.Input[
|
|
4763
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
4765
4764
|
"""
|
|
4766
4765
|
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
|
|
4767
4766
|
"""
|
|
4768
4767
|
return pulumi.get(self, "kind")
|
|
4769
4768
|
|
|
4770
4769
|
@kind.setter
|
|
4771
|
-
def kind(self, value: Optional[pulumi.Input[
|
|
4770
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
4772
4771
|
pulumi.set(self, "kind", value)
|
|
4773
4772
|
|
|
4774
|
-
@property
|
|
4773
|
+
@_builtins.property
|
|
4775
4774
|
@pulumi.getter
|
|
4776
4775
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
4777
4776
|
"""
|
|
@@ -4795,11 +4794,11 @@ if not MYPY:
|
|
|
4795
4794
|
"""
|
|
4796
4795
|
Spec describes what is being requested and how to configure it. The spec is immutable.
|
|
4797
4796
|
"""
|
|
4798
|
-
api_version: NotRequired[pulumi.Input[
|
|
4797
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
4799
4798
|
"""
|
|
4800
4799
|
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
|
|
4801
4800
|
"""
|
|
4802
|
-
kind: NotRequired[pulumi.Input[
|
|
4801
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
4803
4802
|
"""
|
|
4804
4803
|
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
|
|
4805
4804
|
"""
|
|
@@ -4818,8 +4817,8 @@ elif False:
|
|
|
4818
4817
|
class ResourceClaimArgs:
|
|
4819
4818
|
def __init__(__self__, *,
|
|
4820
4819
|
spec: pulumi.Input['ResourceClaimSpecArgs'],
|
|
4821
|
-
api_version: Optional[pulumi.Input[
|
|
4822
|
-
kind: Optional[pulumi.Input[
|
|
4820
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
4821
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
4823
4822
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
4824
4823
|
status: Optional[pulumi.Input['ResourceClaimStatusArgs']] = None):
|
|
4825
4824
|
"""
|
|
@@ -4827,8 +4826,8 @@ class ResourceClaimArgs:
|
|
|
4827
4826
|
|
|
4828
4827
|
This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.
|
|
4829
4828
|
:param pulumi.Input['ResourceClaimSpecArgs'] spec: Spec describes what is being requested and how to configure it. The spec is immutable.
|
|
4830
|
-
:param pulumi.Input[
|
|
4831
|
-
:param pulumi.Input[
|
|
4829
|
+
:param pulumi.Input[_builtins.str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
4830
|
+
:param pulumi.Input[_builtins.str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
4832
4831
|
:param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object metadata
|
|
4833
4832
|
:param pulumi.Input['ResourceClaimStatusArgs'] status: Status describes whether the claim is ready to use and what has been allocated.
|
|
4834
4833
|
"""
|
|
@@ -4842,7 +4841,7 @@ class ResourceClaimArgs:
|
|
|
4842
4841
|
if status is not None:
|
|
4843
4842
|
pulumi.set(__self__, "status", status)
|
|
4844
4843
|
|
|
4845
|
-
@property
|
|
4844
|
+
@_builtins.property
|
|
4846
4845
|
@pulumi.getter
|
|
4847
4846
|
def spec(self) -> pulumi.Input['ResourceClaimSpecArgs']:
|
|
4848
4847
|
"""
|
|
@@ -4854,31 +4853,31 @@ class ResourceClaimArgs:
|
|
|
4854
4853
|
def spec(self, value: pulumi.Input['ResourceClaimSpecArgs']):
|
|
4855
4854
|
pulumi.set(self, "spec", value)
|
|
4856
4855
|
|
|
4857
|
-
@property
|
|
4856
|
+
@_builtins.property
|
|
4858
4857
|
@pulumi.getter(name="apiVersion")
|
|
4859
|
-
def api_version(self) -> Optional[pulumi.Input[
|
|
4858
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
4860
4859
|
"""
|
|
4861
4860
|
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
|
|
4862
4861
|
"""
|
|
4863
4862
|
return pulumi.get(self, "api_version")
|
|
4864
4863
|
|
|
4865
4864
|
@api_version.setter
|
|
4866
|
-
def api_version(self, value: Optional[pulumi.Input[
|
|
4865
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
4867
4866
|
pulumi.set(self, "api_version", value)
|
|
4868
4867
|
|
|
4869
|
-
@property
|
|
4868
|
+
@_builtins.property
|
|
4870
4869
|
@pulumi.getter
|
|
4871
|
-
def kind(self) -> Optional[pulumi.Input[
|
|
4870
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
4872
4871
|
"""
|
|
4873
4872
|
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
|
|
4874
4873
|
"""
|
|
4875
4874
|
return pulumi.get(self, "kind")
|
|
4876
4875
|
|
|
4877
4876
|
@kind.setter
|
|
4878
|
-
def kind(self, value: Optional[pulumi.Input[
|
|
4877
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
4879
4878
|
pulumi.set(self, "kind", value)
|
|
4880
4879
|
|
|
4881
|
-
@property
|
|
4880
|
+
@_builtins.property
|
|
4882
4881
|
@pulumi.getter
|
|
4883
4882
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
4884
4883
|
"""
|
|
@@ -4890,7 +4889,7 @@ class ResourceClaimArgs:
|
|
|
4890
4889
|
def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
|
|
4891
4890
|
pulumi.set(self, "metadata", value)
|
|
4892
4891
|
|
|
4893
|
-
@property
|
|
4892
|
+
@_builtins.property
|
|
4894
4893
|
@pulumi.getter
|
|
4895
4894
|
def status(self) -> Optional[pulumi.Input['ResourceClaimStatusArgs']]:
|
|
4896
4895
|
"""
|
|
@@ -4908,19 +4907,19 @@ if not MYPY:
|
|
|
4908
4907
|
"""
|
|
4909
4908
|
ResourcePool describes the pool that ResourceSlices belong to.
|
|
4910
4909
|
"""
|
|
4911
|
-
generation: NotRequired[pulumi.Input[
|
|
4910
|
+
generation: NotRequired[pulumi.Input[_builtins.int]]
|
|
4912
4911
|
"""
|
|
4913
4912
|
Generation tracks the change in a pool over time. Whenever a driver changes something about one or more of the resources in a pool, it must change the generation in all ResourceSlices which are part of that pool. Consumers of ResourceSlices should only consider resources from the pool with the highest generation number. The generation may be reset by drivers, which should be fine for consumers, assuming that all ResourceSlices in a pool are updated to match or deleted.
|
|
4914
4913
|
|
|
4915
4914
|
Combined with ResourceSliceCount, this mechanism enables consumers to detect pools which are comprised of multiple ResourceSlices and are in an incomplete state.
|
|
4916
4915
|
"""
|
|
4917
|
-
name: NotRequired[pulumi.Input[
|
|
4916
|
+
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
4918
4917
|
"""
|
|
4919
4918
|
Name is used to identify the pool. For node-local devices, this is often the node name, but this is not required.
|
|
4920
4919
|
|
|
4921
4920
|
It must not be longer than 253 characters and must consist of one or more DNS sub-domains separated by slashes. This field is immutable.
|
|
4922
4921
|
"""
|
|
4923
|
-
resource_slice_count: NotRequired[pulumi.Input[
|
|
4922
|
+
resource_slice_count: NotRequired[pulumi.Input[_builtins.int]]
|
|
4924
4923
|
"""
|
|
4925
4924
|
ResourceSliceCount is the total number of ResourceSlices in the pool at this generation number. Must be greater than zero.
|
|
4926
4925
|
|
|
@@ -4932,18 +4931,18 @@ elif False:
|
|
|
4932
4931
|
@pulumi.input_type
|
|
4933
4932
|
class ResourcePoolPatchArgs:
|
|
4934
4933
|
def __init__(__self__, *,
|
|
4935
|
-
generation: Optional[pulumi.Input[
|
|
4936
|
-
name: Optional[pulumi.Input[
|
|
4937
|
-
resource_slice_count: Optional[pulumi.Input[
|
|
4934
|
+
generation: Optional[pulumi.Input[_builtins.int]] = None,
|
|
4935
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
4936
|
+
resource_slice_count: Optional[pulumi.Input[_builtins.int]] = None):
|
|
4938
4937
|
"""
|
|
4939
4938
|
ResourcePool describes the pool that ResourceSlices belong to.
|
|
4940
|
-
:param pulumi.Input[
|
|
4939
|
+
:param pulumi.Input[_builtins.int] generation: Generation tracks the change in a pool over time. Whenever a driver changes something about one or more of the resources in a pool, it must change the generation in all ResourceSlices which are part of that pool. Consumers of ResourceSlices should only consider resources from the pool with the highest generation number. The generation may be reset by drivers, which should be fine for consumers, assuming that all ResourceSlices in a pool are updated to match or deleted.
|
|
4941
4940
|
|
|
4942
4941
|
Combined with ResourceSliceCount, this mechanism enables consumers to detect pools which are comprised of multiple ResourceSlices and are in an incomplete state.
|
|
4943
|
-
:param pulumi.Input[
|
|
4942
|
+
:param pulumi.Input[_builtins.str] name: Name is used to identify the pool. For node-local devices, this is often the node name, but this is not required.
|
|
4944
4943
|
|
|
4945
4944
|
It must not be longer than 253 characters and must consist of one or more DNS sub-domains separated by slashes. This field is immutable.
|
|
4946
|
-
:param pulumi.Input[
|
|
4945
|
+
:param pulumi.Input[_builtins.int] resource_slice_count: ResourceSliceCount is the total number of ResourceSlices in the pool at this generation number. Must be greater than zero.
|
|
4947
4946
|
|
|
4948
4947
|
Consumers can use this to check whether they have seen all ResourceSlices belonging to the same pool.
|
|
4949
4948
|
"""
|
|
@@ -4954,9 +4953,9 @@ class ResourcePoolPatchArgs:
|
|
|
4954
4953
|
if resource_slice_count is not None:
|
|
4955
4954
|
pulumi.set(__self__, "resource_slice_count", resource_slice_count)
|
|
4956
4955
|
|
|
4957
|
-
@property
|
|
4956
|
+
@_builtins.property
|
|
4958
4957
|
@pulumi.getter
|
|
4959
|
-
def generation(self) -> Optional[pulumi.Input[
|
|
4958
|
+
def generation(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
4960
4959
|
"""
|
|
4961
4960
|
Generation tracks the change in a pool over time. Whenever a driver changes something about one or more of the resources in a pool, it must change the generation in all ResourceSlices which are part of that pool. Consumers of ResourceSlices should only consider resources from the pool with the highest generation number. The generation may be reset by drivers, which should be fine for consumers, assuming that all ResourceSlices in a pool are updated to match or deleted.
|
|
4962
4961
|
|
|
@@ -4965,12 +4964,12 @@ class ResourcePoolPatchArgs:
|
|
|
4965
4964
|
return pulumi.get(self, "generation")
|
|
4966
4965
|
|
|
4967
4966
|
@generation.setter
|
|
4968
|
-
def generation(self, value: Optional[pulumi.Input[
|
|
4967
|
+
def generation(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
4969
4968
|
pulumi.set(self, "generation", value)
|
|
4970
4969
|
|
|
4971
|
-
@property
|
|
4970
|
+
@_builtins.property
|
|
4972
4971
|
@pulumi.getter
|
|
4973
|
-
def name(self) -> Optional[pulumi.Input[
|
|
4972
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
4974
4973
|
"""
|
|
4975
4974
|
Name is used to identify the pool. For node-local devices, this is often the node name, but this is not required.
|
|
4976
4975
|
|
|
@@ -4979,12 +4978,12 @@ class ResourcePoolPatchArgs:
|
|
|
4979
4978
|
return pulumi.get(self, "name")
|
|
4980
4979
|
|
|
4981
4980
|
@name.setter
|
|
4982
|
-
def name(self, value: Optional[pulumi.Input[
|
|
4981
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
4983
4982
|
pulumi.set(self, "name", value)
|
|
4984
4983
|
|
|
4985
|
-
@property
|
|
4984
|
+
@_builtins.property
|
|
4986
4985
|
@pulumi.getter(name="resourceSliceCount")
|
|
4987
|
-
def resource_slice_count(self) -> Optional[pulumi.Input[
|
|
4986
|
+
def resource_slice_count(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
4988
4987
|
"""
|
|
4989
4988
|
ResourceSliceCount is the total number of ResourceSlices in the pool at this generation number. Must be greater than zero.
|
|
4990
4989
|
|
|
@@ -4993,7 +4992,7 @@ class ResourcePoolPatchArgs:
|
|
|
4993
4992
|
return pulumi.get(self, "resource_slice_count")
|
|
4994
4993
|
|
|
4995
4994
|
@resource_slice_count.setter
|
|
4996
|
-
def resource_slice_count(self, value: Optional[pulumi.Input[
|
|
4995
|
+
def resource_slice_count(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
4997
4996
|
pulumi.set(self, "resource_slice_count", value)
|
|
4998
4997
|
|
|
4999
4998
|
|
|
@@ -5002,19 +5001,19 @@ if not MYPY:
|
|
|
5002
5001
|
"""
|
|
5003
5002
|
ResourcePool describes the pool that ResourceSlices belong to.
|
|
5004
5003
|
"""
|
|
5005
|
-
generation: pulumi.Input[
|
|
5004
|
+
generation: pulumi.Input[_builtins.int]
|
|
5006
5005
|
"""
|
|
5007
5006
|
Generation tracks the change in a pool over time. Whenever a driver changes something about one or more of the resources in a pool, it must change the generation in all ResourceSlices which are part of that pool. Consumers of ResourceSlices should only consider resources from the pool with the highest generation number. The generation may be reset by drivers, which should be fine for consumers, assuming that all ResourceSlices in a pool are updated to match or deleted.
|
|
5008
5007
|
|
|
5009
5008
|
Combined with ResourceSliceCount, this mechanism enables consumers to detect pools which are comprised of multiple ResourceSlices and are in an incomplete state.
|
|
5010
5009
|
"""
|
|
5011
|
-
name: pulumi.Input[
|
|
5010
|
+
name: pulumi.Input[_builtins.str]
|
|
5012
5011
|
"""
|
|
5013
5012
|
Name is used to identify the pool. For node-local devices, this is often the node name, but this is not required.
|
|
5014
5013
|
|
|
5015
5014
|
It must not be longer than 253 characters and must consist of one or more DNS sub-domains separated by slashes. This field is immutable.
|
|
5016
5015
|
"""
|
|
5017
|
-
resource_slice_count: pulumi.Input[
|
|
5016
|
+
resource_slice_count: pulumi.Input[_builtins.int]
|
|
5018
5017
|
"""
|
|
5019
5018
|
ResourceSliceCount is the total number of ResourceSlices in the pool at this generation number. Must be greater than zero.
|
|
5020
5019
|
|
|
@@ -5026,18 +5025,18 @@ elif False:
|
|
|
5026
5025
|
@pulumi.input_type
|
|
5027
5026
|
class ResourcePoolArgs:
|
|
5028
5027
|
def __init__(__self__, *,
|
|
5029
|
-
generation: pulumi.Input[
|
|
5030
|
-
name: pulumi.Input[
|
|
5031
|
-
resource_slice_count: pulumi.Input[
|
|
5028
|
+
generation: pulumi.Input[_builtins.int],
|
|
5029
|
+
name: pulumi.Input[_builtins.str],
|
|
5030
|
+
resource_slice_count: pulumi.Input[_builtins.int]):
|
|
5032
5031
|
"""
|
|
5033
5032
|
ResourcePool describes the pool that ResourceSlices belong to.
|
|
5034
|
-
:param pulumi.Input[
|
|
5033
|
+
:param pulumi.Input[_builtins.int] generation: Generation tracks the change in a pool over time. Whenever a driver changes something about one or more of the resources in a pool, it must change the generation in all ResourceSlices which are part of that pool. Consumers of ResourceSlices should only consider resources from the pool with the highest generation number. The generation may be reset by drivers, which should be fine for consumers, assuming that all ResourceSlices in a pool are updated to match or deleted.
|
|
5035
5034
|
|
|
5036
5035
|
Combined with ResourceSliceCount, this mechanism enables consumers to detect pools which are comprised of multiple ResourceSlices and are in an incomplete state.
|
|
5037
|
-
:param pulumi.Input[
|
|
5036
|
+
:param pulumi.Input[_builtins.str] name: Name is used to identify the pool. For node-local devices, this is often the node name, but this is not required.
|
|
5038
5037
|
|
|
5039
5038
|
It must not be longer than 253 characters and must consist of one or more DNS sub-domains separated by slashes. This field is immutable.
|
|
5040
|
-
:param pulumi.Input[
|
|
5039
|
+
:param pulumi.Input[_builtins.int] resource_slice_count: ResourceSliceCount is the total number of ResourceSlices in the pool at this generation number. Must be greater than zero.
|
|
5041
5040
|
|
|
5042
5041
|
Consumers can use this to check whether they have seen all ResourceSlices belonging to the same pool.
|
|
5043
5042
|
"""
|
|
@@ -5045,9 +5044,9 @@ class ResourcePoolArgs:
|
|
|
5045
5044
|
pulumi.set(__self__, "name", name)
|
|
5046
5045
|
pulumi.set(__self__, "resource_slice_count", resource_slice_count)
|
|
5047
5046
|
|
|
5048
|
-
@property
|
|
5047
|
+
@_builtins.property
|
|
5049
5048
|
@pulumi.getter
|
|
5050
|
-
def generation(self) -> pulumi.Input[
|
|
5049
|
+
def generation(self) -> pulumi.Input[_builtins.int]:
|
|
5051
5050
|
"""
|
|
5052
5051
|
Generation tracks the change in a pool over time. Whenever a driver changes something about one or more of the resources in a pool, it must change the generation in all ResourceSlices which are part of that pool. Consumers of ResourceSlices should only consider resources from the pool with the highest generation number. The generation may be reset by drivers, which should be fine for consumers, assuming that all ResourceSlices in a pool are updated to match or deleted.
|
|
5053
5052
|
|
|
@@ -5056,12 +5055,12 @@ class ResourcePoolArgs:
|
|
|
5056
5055
|
return pulumi.get(self, "generation")
|
|
5057
5056
|
|
|
5058
5057
|
@generation.setter
|
|
5059
|
-
def generation(self, value: pulumi.Input[
|
|
5058
|
+
def generation(self, value: pulumi.Input[_builtins.int]):
|
|
5060
5059
|
pulumi.set(self, "generation", value)
|
|
5061
5060
|
|
|
5062
|
-
@property
|
|
5061
|
+
@_builtins.property
|
|
5063
5062
|
@pulumi.getter
|
|
5064
|
-
def name(self) -> pulumi.Input[
|
|
5063
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
5065
5064
|
"""
|
|
5066
5065
|
Name is used to identify the pool. For node-local devices, this is often the node name, but this is not required.
|
|
5067
5066
|
|
|
@@ -5070,12 +5069,12 @@ class ResourcePoolArgs:
|
|
|
5070
5069
|
return pulumi.get(self, "name")
|
|
5071
5070
|
|
|
5072
5071
|
@name.setter
|
|
5073
|
-
def name(self, value: pulumi.Input[
|
|
5072
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
5074
5073
|
pulumi.set(self, "name", value)
|
|
5075
5074
|
|
|
5076
|
-
@property
|
|
5075
|
+
@_builtins.property
|
|
5077
5076
|
@pulumi.getter(name="resourceSliceCount")
|
|
5078
|
-
def resource_slice_count(self) -> pulumi.Input[
|
|
5077
|
+
def resource_slice_count(self) -> pulumi.Input[_builtins.int]:
|
|
5079
5078
|
"""
|
|
5080
5079
|
ResourceSliceCount is the total number of ResourceSlices in the pool at this generation number. Must be greater than zero.
|
|
5081
5080
|
|
|
@@ -5084,7 +5083,7 @@ class ResourcePoolArgs:
|
|
|
5084
5083
|
return pulumi.get(self, "resource_slice_count")
|
|
5085
5084
|
|
|
5086
5085
|
@resource_slice_count.setter
|
|
5087
|
-
def resource_slice_count(self, value: pulumi.Input[
|
|
5086
|
+
def resource_slice_count(self, value: pulumi.Input[_builtins.int]):
|
|
5088
5087
|
pulumi.set(self, "resource_slice_count", value)
|
|
5089
5088
|
|
|
5090
5089
|
|
|
@@ -5093,7 +5092,7 @@ if not MYPY:
|
|
|
5093
5092
|
"""
|
|
5094
5093
|
ResourceSliceSpec contains the information published by the driver in one ResourceSlice.
|
|
5095
5094
|
"""
|
|
5096
|
-
all_nodes: NotRequired[pulumi.Input[
|
|
5095
|
+
all_nodes: NotRequired[pulumi.Input[_builtins.bool]]
|
|
5097
5096
|
"""
|
|
5098
5097
|
AllNodes indicates that all nodes have access to the resources in the pool.
|
|
5099
5098
|
|
|
@@ -5105,13 +5104,13 @@ if not MYPY:
|
|
|
5105
5104
|
|
|
5106
5105
|
Must not have more than 128 entries.
|
|
5107
5106
|
"""
|
|
5108
|
-
driver: NotRequired[pulumi.Input[
|
|
5107
|
+
driver: NotRequired[pulumi.Input[_builtins.str]]
|
|
5109
5108
|
"""
|
|
5110
5109
|
Driver identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name.
|
|
5111
5110
|
|
|
5112
5111
|
Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. This field is immutable.
|
|
5113
5112
|
"""
|
|
5114
|
-
node_name: NotRequired[pulumi.Input[
|
|
5113
|
+
node_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
5115
5114
|
"""
|
|
5116
5115
|
NodeName identifies the node which provides the resources in this pool. A field selector can be used to list only ResourceSlice objects belonging to a certain node.
|
|
5117
5116
|
|
|
@@ -5127,7 +5126,7 @@ if not MYPY:
|
|
|
5127
5126
|
|
|
5128
5127
|
Exactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set.
|
|
5129
5128
|
"""
|
|
5130
|
-
per_device_node_selection: NotRequired[pulumi.Input[
|
|
5129
|
+
per_device_node_selection: NotRequired[pulumi.Input[_builtins.bool]]
|
|
5131
5130
|
"""
|
|
5132
5131
|
PerDeviceNodeSelection defines whether the access from nodes to resources in the pool is set on the ResourceSlice level or on each device. If it is set to true, every device defined the ResourceSlice must specify this individually.
|
|
5133
5132
|
|
|
@@ -5151,26 +5150,26 @@ elif False:
|
|
|
5151
5150
|
@pulumi.input_type
|
|
5152
5151
|
class ResourceSliceSpecPatchArgs:
|
|
5153
5152
|
def __init__(__self__, *,
|
|
5154
|
-
all_nodes: Optional[pulumi.Input[
|
|
5153
|
+
all_nodes: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
5155
5154
|
devices: Optional[pulumi.Input[Sequence[pulumi.Input['DevicePatchArgs']]]] = None,
|
|
5156
|
-
driver: Optional[pulumi.Input[
|
|
5157
|
-
node_name: Optional[pulumi.Input[
|
|
5155
|
+
driver: Optional[pulumi.Input[_builtins.str]] = None,
|
|
5156
|
+
node_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
5158
5157
|
node_selector: Optional[pulumi.Input['_core.v1.NodeSelectorPatchArgs']] = None,
|
|
5159
|
-
per_device_node_selection: Optional[pulumi.Input[
|
|
5158
|
+
per_device_node_selection: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
5160
5159
|
pool: Optional[pulumi.Input['ResourcePoolPatchArgs']] = None,
|
|
5161
5160
|
shared_counters: Optional[pulumi.Input[Sequence[pulumi.Input['CounterSetPatchArgs']]]] = None):
|
|
5162
5161
|
"""
|
|
5163
5162
|
ResourceSliceSpec contains the information published by the driver in one ResourceSlice.
|
|
5164
|
-
:param pulumi.Input[
|
|
5163
|
+
:param pulumi.Input[_builtins.bool] all_nodes: AllNodes indicates that all nodes have access to the resources in the pool.
|
|
5165
5164
|
|
|
5166
5165
|
Exactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set.
|
|
5167
5166
|
:param pulumi.Input[Sequence[pulumi.Input['DevicePatchArgs']]] devices: Devices lists some or all of the devices in this pool.
|
|
5168
5167
|
|
|
5169
5168
|
Must not have more than 128 entries.
|
|
5170
|
-
:param pulumi.Input[
|
|
5169
|
+
:param pulumi.Input[_builtins.str] driver: Driver identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name.
|
|
5171
5170
|
|
|
5172
5171
|
Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. This field is immutable.
|
|
5173
|
-
:param pulumi.Input[
|
|
5172
|
+
:param pulumi.Input[_builtins.str] node_name: NodeName identifies the node which provides the resources in this pool. A field selector can be used to list only ResourceSlice objects belonging to a certain node.
|
|
5174
5173
|
|
|
5175
5174
|
This field can be used to limit access from nodes to ResourceSlices with the same node name. It also indicates to autoscalers that adding new nodes of the same type as some old node might also make new resources available.
|
|
5176
5175
|
|
|
@@ -5180,7 +5179,7 @@ class ResourceSliceSpecPatchArgs:
|
|
|
5180
5179
|
Must use exactly one term.
|
|
5181
5180
|
|
|
5182
5181
|
Exactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set.
|
|
5183
|
-
:param pulumi.Input[
|
|
5182
|
+
:param pulumi.Input[_builtins.bool] per_device_node_selection: PerDeviceNodeSelection defines whether the access from nodes to resources in the pool is set on the ResourceSlice level or on each device. If it is set to true, every device defined the ResourceSlice must specify this individually.
|
|
5184
5183
|
|
|
5185
5184
|
Exactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set.
|
|
5186
5185
|
:param pulumi.Input['ResourcePoolPatchArgs'] pool: Pool describes the pool that this ResourceSlice belongs to.
|
|
@@ -5207,9 +5206,9 @@ class ResourceSliceSpecPatchArgs:
|
|
|
5207
5206
|
if shared_counters is not None:
|
|
5208
5207
|
pulumi.set(__self__, "shared_counters", shared_counters)
|
|
5209
5208
|
|
|
5210
|
-
@property
|
|
5209
|
+
@_builtins.property
|
|
5211
5210
|
@pulumi.getter(name="allNodes")
|
|
5212
|
-
def all_nodes(self) -> Optional[pulumi.Input[
|
|
5211
|
+
def all_nodes(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
5213
5212
|
"""
|
|
5214
5213
|
AllNodes indicates that all nodes have access to the resources in the pool.
|
|
5215
5214
|
|
|
@@ -5218,10 +5217,10 @@ class ResourceSliceSpecPatchArgs:
|
|
|
5218
5217
|
return pulumi.get(self, "all_nodes")
|
|
5219
5218
|
|
|
5220
5219
|
@all_nodes.setter
|
|
5221
|
-
def all_nodes(self, value: Optional[pulumi.Input[
|
|
5220
|
+
def all_nodes(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
5222
5221
|
pulumi.set(self, "all_nodes", value)
|
|
5223
5222
|
|
|
5224
|
-
@property
|
|
5223
|
+
@_builtins.property
|
|
5225
5224
|
@pulumi.getter
|
|
5226
5225
|
def devices(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DevicePatchArgs']]]]:
|
|
5227
5226
|
"""
|
|
@@ -5235,9 +5234,9 @@ class ResourceSliceSpecPatchArgs:
|
|
|
5235
5234
|
def devices(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DevicePatchArgs']]]]):
|
|
5236
5235
|
pulumi.set(self, "devices", value)
|
|
5237
5236
|
|
|
5238
|
-
@property
|
|
5237
|
+
@_builtins.property
|
|
5239
5238
|
@pulumi.getter
|
|
5240
|
-
def driver(self) -> Optional[pulumi.Input[
|
|
5239
|
+
def driver(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
5241
5240
|
"""
|
|
5242
5241
|
Driver identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name.
|
|
5243
5242
|
|
|
@@ -5246,12 +5245,12 @@ class ResourceSliceSpecPatchArgs:
|
|
|
5246
5245
|
return pulumi.get(self, "driver")
|
|
5247
5246
|
|
|
5248
5247
|
@driver.setter
|
|
5249
|
-
def driver(self, value: Optional[pulumi.Input[
|
|
5248
|
+
def driver(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
5250
5249
|
pulumi.set(self, "driver", value)
|
|
5251
5250
|
|
|
5252
|
-
@property
|
|
5251
|
+
@_builtins.property
|
|
5253
5252
|
@pulumi.getter(name="nodeName")
|
|
5254
|
-
def node_name(self) -> Optional[pulumi.Input[
|
|
5253
|
+
def node_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
5255
5254
|
"""
|
|
5256
5255
|
NodeName identifies the node which provides the resources in this pool. A field selector can be used to list only ResourceSlice objects belonging to a certain node.
|
|
5257
5256
|
|
|
@@ -5262,10 +5261,10 @@ class ResourceSliceSpecPatchArgs:
|
|
|
5262
5261
|
return pulumi.get(self, "node_name")
|
|
5263
5262
|
|
|
5264
5263
|
@node_name.setter
|
|
5265
|
-
def node_name(self, value: Optional[pulumi.Input[
|
|
5264
|
+
def node_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
5266
5265
|
pulumi.set(self, "node_name", value)
|
|
5267
5266
|
|
|
5268
|
-
@property
|
|
5267
|
+
@_builtins.property
|
|
5269
5268
|
@pulumi.getter(name="nodeSelector")
|
|
5270
5269
|
def node_selector(self) -> Optional[pulumi.Input['_core.v1.NodeSelectorPatchArgs']]:
|
|
5271
5270
|
"""
|
|
@@ -5281,9 +5280,9 @@ class ResourceSliceSpecPatchArgs:
|
|
|
5281
5280
|
def node_selector(self, value: Optional[pulumi.Input['_core.v1.NodeSelectorPatchArgs']]):
|
|
5282
5281
|
pulumi.set(self, "node_selector", value)
|
|
5283
5282
|
|
|
5284
|
-
@property
|
|
5283
|
+
@_builtins.property
|
|
5285
5284
|
@pulumi.getter(name="perDeviceNodeSelection")
|
|
5286
|
-
def per_device_node_selection(self) -> Optional[pulumi.Input[
|
|
5285
|
+
def per_device_node_selection(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
5287
5286
|
"""
|
|
5288
5287
|
PerDeviceNodeSelection defines whether the access from nodes to resources in the pool is set on the ResourceSlice level or on each device. If it is set to true, every device defined the ResourceSlice must specify this individually.
|
|
5289
5288
|
|
|
@@ -5292,10 +5291,10 @@ class ResourceSliceSpecPatchArgs:
|
|
|
5292
5291
|
return pulumi.get(self, "per_device_node_selection")
|
|
5293
5292
|
|
|
5294
5293
|
@per_device_node_selection.setter
|
|
5295
|
-
def per_device_node_selection(self, value: Optional[pulumi.Input[
|
|
5294
|
+
def per_device_node_selection(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
5296
5295
|
pulumi.set(self, "per_device_node_selection", value)
|
|
5297
5296
|
|
|
5298
|
-
@property
|
|
5297
|
+
@_builtins.property
|
|
5299
5298
|
@pulumi.getter
|
|
5300
5299
|
def pool(self) -> Optional[pulumi.Input['ResourcePoolPatchArgs']]:
|
|
5301
5300
|
"""
|
|
@@ -5307,7 +5306,7 @@ class ResourceSliceSpecPatchArgs:
|
|
|
5307
5306
|
def pool(self, value: Optional[pulumi.Input['ResourcePoolPatchArgs']]):
|
|
5308
5307
|
pulumi.set(self, "pool", value)
|
|
5309
5308
|
|
|
5310
|
-
@property
|
|
5309
|
+
@_builtins.property
|
|
5311
5310
|
@pulumi.getter(name="sharedCounters")
|
|
5312
5311
|
def shared_counters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CounterSetPatchArgs']]]]:
|
|
5313
5312
|
"""
|
|
@@ -5329,7 +5328,7 @@ if not MYPY:
|
|
|
5329
5328
|
"""
|
|
5330
5329
|
ResourceSliceSpec contains the information published by the driver in one ResourceSlice.
|
|
5331
5330
|
"""
|
|
5332
|
-
driver: pulumi.Input[
|
|
5331
|
+
driver: pulumi.Input[_builtins.str]
|
|
5333
5332
|
"""
|
|
5334
5333
|
Driver identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name.
|
|
5335
5334
|
|
|
@@ -5339,7 +5338,7 @@ if not MYPY:
|
|
|
5339
5338
|
"""
|
|
5340
5339
|
Pool describes the pool that this ResourceSlice belongs to.
|
|
5341
5340
|
"""
|
|
5342
|
-
all_nodes: NotRequired[pulumi.Input[
|
|
5341
|
+
all_nodes: NotRequired[pulumi.Input[_builtins.bool]]
|
|
5343
5342
|
"""
|
|
5344
5343
|
AllNodes indicates that all nodes have access to the resources in the pool.
|
|
5345
5344
|
|
|
@@ -5351,7 +5350,7 @@ if not MYPY:
|
|
|
5351
5350
|
|
|
5352
5351
|
Must not have more than 128 entries.
|
|
5353
5352
|
"""
|
|
5354
|
-
node_name: NotRequired[pulumi.Input[
|
|
5353
|
+
node_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
5355
5354
|
"""
|
|
5356
5355
|
NodeName identifies the node which provides the resources in this pool. A field selector can be used to list only ResourceSlice objects belonging to a certain node.
|
|
5357
5356
|
|
|
@@ -5367,7 +5366,7 @@ if not MYPY:
|
|
|
5367
5366
|
|
|
5368
5367
|
Exactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set.
|
|
5369
5368
|
"""
|
|
5370
|
-
per_device_node_selection: NotRequired[pulumi.Input[
|
|
5369
|
+
per_device_node_selection: NotRequired[pulumi.Input[_builtins.bool]]
|
|
5371
5370
|
"""
|
|
5372
5371
|
PerDeviceNodeSelection defines whether the access from nodes to resources in the pool is set on the ResourceSlice level or on each device. If it is set to true, every device defined the ResourceSlice must specify this individually.
|
|
5373
5372
|
|
|
@@ -5387,27 +5386,27 @@ elif False:
|
|
|
5387
5386
|
@pulumi.input_type
|
|
5388
5387
|
class ResourceSliceSpecArgs:
|
|
5389
5388
|
def __init__(__self__, *,
|
|
5390
|
-
driver: pulumi.Input[
|
|
5389
|
+
driver: pulumi.Input[_builtins.str],
|
|
5391
5390
|
pool: pulumi.Input['ResourcePoolArgs'],
|
|
5392
|
-
all_nodes: Optional[pulumi.Input[
|
|
5391
|
+
all_nodes: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
5393
5392
|
devices: Optional[pulumi.Input[Sequence[pulumi.Input['DeviceArgs']]]] = None,
|
|
5394
|
-
node_name: Optional[pulumi.Input[
|
|
5393
|
+
node_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
5395
5394
|
node_selector: Optional[pulumi.Input['_core.v1.NodeSelectorArgs']] = None,
|
|
5396
|
-
per_device_node_selection: Optional[pulumi.Input[
|
|
5395
|
+
per_device_node_selection: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
5397
5396
|
shared_counters: Optional[pulumi.Input[Sequence[pulumi.Input['CounterSetArgs']]]] = None):
|
|
5398
5397
|
"""
|
|
5399
5398
|
ResourceSliceSpec contains the information published by the driver in one ResourceSlice.
|
|
5400
|
-
:param pulumi.Input[
|
|
5399
|
+
:param pulumi.Input[_builtins.str] driver: Driver identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name.
|
|
5401
5400
|
|
|
5402
5401
|
Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. This field is immutable.
|
|
5403
5402
|
:param pulumi.Input['ResourcePoolArgs'] pool: Pool describes the pool that this ResourceSlice belongs to.
|
|
5404
|
-
:param pulumi.Input[
|
|
5403
|
+
:param pulumi.Input[_builtins.bool] all_nodes: AllNodes indicates that all nodes have access to the resources in the pool.
|
|
5405
5404
|
|
|
5406
5405
|
Exactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set.
|
|
5407
5406
|
:param pulumi.Input[Sequence[pulumi.Input['DeviceArgs']]] devices: Devices lists some or all of the devices in this pool.
|
|
5408
5407
|
|
|
5409
5408
|
Must not have more than 128 entries.
|
|
5410
|
-
:param pulumi.Input[
|
|
5409
|
+
:param pulumi.Input[_builtins.str] node_name: NodeName identifies the node which provides the resources in this pool. A field selector can be used to list only ResourceSlice objects belonging to a certain node.
|
|
5411
5410
|
|
|
5412
5411
|
This field can be used to limit access from nodes to ResourceSlices with the same node name. It also indicates to autoscalers that adding new nodes of the same type as some old node might also make new resources available.
|
|
5413
5412
|
|
|
@@ -5417,7 +5416,7 @@ class ResourceSliceSpecArgs:
|
|
|
5417
5416
|
Must use exactly one term.
|
|
5418
5417
|
|
|
5419
5418
|
Exactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set.
|
|
5420
|
-
:param pulumi.Input[
|
|
5419
|
+
:param pulumi.Input[_builtins.bool] per_device_node_selection: PerDeviceNodeSelection defines whether the access from nodes to resources in the pool is set on the ResourceSlice level or on each device. If it is set to true, every device defined the ResourceSlice must specify this individually.
|
|
5421
5420
|
|
|
5422
5421
|
Exactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set.
|
|
5423
5422
|
:param pulumi.Input[Sequence[pulumi.Input['CounterSetArgs']]] shared_counters: SharedCounters defines a list of counter sets, each of which has a name and a list of counters available.
|
|
@@ -5441,9 +5440,9 @@ class ResourceSliceSpecArgs:
|
|
|
5441
5440
|
if shared_counters is not None:
|
|
5442
5441
|
pulumi.set(__self__, "shared_counters", shared_counters)
|
|
5443
5442
|
|
|
5444
|
-
@property
|
|
5443
|
+
@_builtins.property
|
|
5445
5444
|
@pulumi.getter
|
|
5446
|
-
def driver(self) -> pulumi.Input[
|
|
5445
|
+
def driver(self) -> pulumi.Input[_builtins.str]:
|
|
5447
5446
|
"""
|
|
5448
5447
|
Driver identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name.
|
|
5449
5448
|
|
|
@@ -5452,10 +5451,10 @@ class ResourceSliceSpecArgs:
|
|
|
5452
5451
|
return pulumi.get(self, "driver")
|
|
5453
5452
|
|
|
5454
5453
|
@driver.setter
|
|
5455
|
-
def driver(self, value: pulumi.Input[
|
|
5454
|
+
def driver(self, value: pulumi.Input[_builtins.str]):
|
|
5456
5455
|
pulumi.set(self, "driver", value)
|
|
5457
5456
|
|
|
5458
|
-
@property
|
|
5457
|
+
@_builtins.property
|
|
5459
5458
|
@pulumi.getter
|
|
5460
5459
|
def pool(self) -> pulumi.Input['ResourcePoolArgs']:
|
|
5461
5460
|
"""
|
|
@@ -5467,9 +5466,9 @@ class ResourceSliceSpecArgs:
|
|
|
5467
5466
|
def pool(self, value: pulumi.Input['ResourcePoolArgs']):
|
|
5468
5467
|
pulumi.set(self, "pool", value)
|
|
5469
5468
|
|
|
5470
|
-
@property
|
|
5469
|
+
@_builtins.property
|
|
5471
5470
|
@pulumi.getter(name="allNodes")
|
|
5472
|
-
def all_nodes(self) -> Optional[pulumi.Input[
|
|
5471
|
+
def all_nodes(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
5473
5472
|
"""
|
|
5474
5473
|
AllNodes indicates that all nodes have access to the resources in the pool.
|
|
5475
5474
|
|
|
@@ -5478,10 +5477,10 @@ class ResourceSliceSpecArgs:
|
|
|
5478
5477
|
return pulumi.get(self, "all_nodes")
|
|
5479
5478
|
|
|
5480
5479
|
@all_nodes.setter
|
|
5481
|
-
def all_nodes(self, value: Optional[pulumi.Input[
|
|
5480
|
+
def all_nodes(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
5482
5481
|
pulumi.set(self, "all_nodes", value)
|
|
5483
5482
|
|
|
5484
|
-
@property
|
|
5483
|
+
@_builtins.property
|
|
5485
5484
|
@pulumi.getter
|
|
5486
5485
|
def devices(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DeviceArgs']]]]:
|
|
5487
5486
|
"""
|
|
@@ -5495,9 +5494,9 @@ class ResourceSliceSpecArgs:
|
|
|
5495
5494
|
def devices(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DeviceArgs']]]]):
|
|
5496
5495
|
pulumi.set(self, "devices", value)
|
|
5497
5496
|
|
|
5498
|
-
@property
|
|
5497
|
+
@_builtins.property
|
|
5499
5498
|
@pulumi.getter(name="nodeName")
|
|
5500
|
-
def node_name(self) -> Optional[pulumi.Input[
|
|
5499
|
+
def node_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
5501
5500
|
"""
|
|
5502
5501
|
NodeName identifies the node which provides the resources in this pool. A field selector can be used to list only ResourceSlice objects belonging to a certain node.
|
|
5503
5502
|
|
|
@@ -5508,10 +5507,10 @@ class ResourceSliceSpecArgs:
|
|
|
5508
5507
|
return pulumi.get(self, "node_name")
|
|
5509
5508
|
|
|
5510
5509
|
@node_name.setter
|
|
5511
|
-
def node_name(self, value: Optional[pulumi.Input[
|
|
5510
|
+
def node_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
5512
5511
|
pulumi.set(self, "node_name", value)
|
|
5513
5512
|
|
|
5514
|
-
@property
|
|
5513
|
+
@_builtins.property
|
|
5515
5514
|
@pulumi.getter(name="nodeSelector")
|
|
5516
5515
|
def node_selector(self) -> Optional[pulumi.Input['_core.v1.NodeSelectorArgs']]:
|
|
5517
5516
|
"""
|
|
@@ -5527,9 +5526,9 @@ class ResourceSliceSpecArgs:
|
|
|
5527
5526
|
def node_selector(self, value: Optional[pulumi.Input['_core.v1.NodeSelectorArgs']]):
|
|
5528
5527
|
pulumi.set(self, "node_selector", value)
|
|
5529
5528
|
|
|
5530
|
-
@property
|
|
5529
|
+
@_builtins.property
|
|
5531
5530
|
@pulumi.getter(name="perDeviceNodeSelection")
|
|
5532
|
-
def per_device_node_selection(self) -> Optional[pulumi.Input[
|
|
5531
|
+
def per_device_node_selection(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
5533
5532
|
"""
|
|
5534
5533
|
PerDeviceNodeSelection defines whether the access from nodes to resources in the pool is set on the ResourceSlice level or on each device. If it is set to true, every device defined the ResourceSlice must specify this individually.
|
|
5535
5534
|
|
|
@@ -5538,10 +5537,10 @@ class ResourceSliceSpecArgs:
|
|
|
5538
5537
|
return pulumi.get(self, "per_device_node_selection")
|
|
5539
5538
|
|
|
5540
5539
|
@per_device_node_selection.setter
|
|
5541
|
-
def per_device_node_selection(self, value: Optional[pulumi.Input[
|
|
5540
|
+
def per_device_node_selection(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
5542
5541
|
pulumi.set(self, "per_device_node_selection", value)
|
|
5543
5542
|
|
|
5544
|
-
@property
|
|
5543
|
+
@_builtins.property
|
|
5545
5544
|
@pulumi.getter(name="sharedCounters")
|
|
5546
5545
|
def shared_counters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CounterSetArgs']]]]:
|
|
5547
5546
|
"""
|
|
@@ -5579,11 +5578,11 @@ if not MYPY:
|
|
|
5579
5578
|
|
|
5580
5579
|
Changing the spec automatically increments the metadata.generation number.
|
|
5581
5580
|
"""
|
|
5582
|
-
api_version: NotRequired[pulumi.Input[
|
|
5581
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
5583
5582
|
"""
|
|
5584
5583
|
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
|
|
5585
5584
|
"""
|
|
5586
|
-
kind: NotRequired[pulumi.Input[
|
|
5585
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
5587
5586
|
"""
|
|
5588
5587
|
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
|
|
5589
5588
|
"""
|
|
@@ -5598,8 +5597,8 @@ elif False:
|
|
|
5598
5597
|
class ResourceSliceArgs:
|
|
5599
5598
|
def __init__(__self__, *,
|
|
5600
5599
|
spec: pulumi.Input['ResourceSliceSpecArgs'],
|
|
5601
|
-
api_version: Optional[pulumi.Input[
|
|
5602
|
-
kind: Optional[pulumi.Input[
|
|
5600
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
5601
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
5603
5602
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None):
|
|
5604
5603
|
"""
|
|
5605
5604
|
ResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver. A pool may span more than one ResourceSlice, and exactly how many ResourceSlices comprise a pool is determined by the driver.
|
|
@@ -5616,8 +5615,8 @@ class ResourceSliceArgs:
|
|
|
5616
5615
|
:param pulumi.Input['ResourceSliceSpecArgs'] spec: Contains the information published by the driver.
|
|
5617
5616
|
|
|
5618
5617
|
Changing the spec automatically increments the metadata.generation number.
|
|
5619
|
-
:param pulumi.Input[
|
|
5620
|
-
:param pulumi.Input[
|
|
5618
|
+
:param pulumi.Input[_builtins.str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
5619
|
+
:param pulumi.Input[_builtins.str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
5621
5620
|
:param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object metadata
|
|
5622
5621
|
"""
|
|
5623
5622
|
pulumi.set(__self__, "spec", spec)
|
|
@@ -5628,7 +5627,7 @@ class ResourceSliceArgs:
|
|
|
5628
5627
|
if metadata is not None:
|
|
5629
5628
|
pulumi.set(__self__, "metadata", metadata)
|
|
5630
5629
|
|
|
5631
|
-
@property
|
|
5630
|
+
@_builtins.property
|
|
5632
5631
|
@pulumi.getter
|
|
5633
5632
|
def spec(self) -> pulumi.Input['ResourceSliceSpecArgs']:
|
|
5634
5633
|
"""
|
|
@@ -5642,31 +5641,31 @@ class ResourceSliceArgs:
|
|
|
5642
5641
|
def spec(self, value: pulumi.Input['ResourceSliceSpecArgs']):
|
|
5643
5642
|
pulumi.set(self, "spec", value)
|
|
5644
5643
|
|
|
5645
|
-
@property
|
|
5644
|
+
@_builtins.property
|
|
5646
5645
|
@pulumi.getter(name="apiVersion")
|
|
5647
|
-
def api_version(self) -> Optional[pulumi.Input[
|
|
5646
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
5648
5647
|
"""
|
|
5649
5648
|
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
|
|
5650
5649
|
"""
|
|
5651
5650
|
return pulumi.get(self, "api_version")
|
|
5652
5651
|
|
|
5653
5652
|
@api_version.setter
|
|
5654
|
-
def api_version(self, value: Optional[pulumi.Input[
|
|
5653
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
5655
5654
|
pulumi.set(self, "api_version", value)
|
|
5656
5655
|
|
|
5657
|
-
@property
|
|
5656
|
+
@_builtins.property
|
|
5658
5657
|
@pulumi.getter
|
|
5659
|
-
def kind(self) -> Optional[pulumi.Input[
|
|
5658
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
5660
5659
|
"""
|
|
5661
5660
|
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
|
|
5662
5661
|
"""
|
|
5663
5662
|
return pulumi.get(self, "kind")
|
|
5664
5663
|
|
|
5665
5664
|
@kind.setter
|
|
5666
|
-
def kind(self, value: Optional[pulumi.Input[
|
|
5665
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
5667
5666
|
pulumi.set(self, "kind", value)
|
|
5668
5667
|
|
|
5669
|
-
@property
|
|
5668
|
+
@_builtins.property
|
|
5670
5669
|
@pulumi.getter
|
|
5671
5670
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
5672
5671
|
"""
|