pulumi-kubernetes 4.11.0a1713219485__py3-none-any.whl → 4.12.0__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 +37 -1
- pulumi_kubernetes/_inputs.py +6 -6
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicy.py +221 -0
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBinding.py +219 -0
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingList.py +209 -0
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingPatch.py +231 -0
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyList.py +209 -0
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyPatch.py +233 -0
- pulumi_kubernetes/admissionregistration/v1/__init__.py +6 -0
- pulumi_kubernetes/admissionregistration/v1/_inputs.py +2282 -174
- pulumi_kubernetes/admissionregistration/v1/outputs.py +2875 -470
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicy.py +1 -1
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding.py +1 -1
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingPatch.py +1 -1
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyPatch.py +1 -1
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicy.py +1 -1
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBinding.py +1 -1
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingPatch.py +1 -1
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyPatch.py +1 -1
- pulumi_kubernetes/apiextensions/v1/_inputs.py +81 -0
- pulumi_kubernetes/apiextensions/v1/outputs.py +109 -0
- pulumi_kubernetes/batch/v1/_inputs.py +241 -14
- pulumi_kubernetes/batch/v1/outputs.py +289 -28
- pulumi_kubernetes/core/v1/_inputs.py +465 -59
- pulumi_kubernetes/core/v1/outputs.py +679 -64
- pulumi_kubernetes/helm/__init__.py +3 -0
- pulumi_kubernetes/helm/v4/Chart.py +706 -0
- pulumi_kubernetes/helm/v4/__init__.py +9 -0
- pulumi_kubernetes/helm/v4/_inputs.py +159 -0
- pulumi_kubernetes/networking/v1alpha1/_inputs.py +34 -37
- pulumi_kubernetes/networking/v1alpha1/outputs.py +21 -24
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParameters.py +275 -0
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersList.py +210 -0
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersPatch.py +287 -0
- pulumi_kubernetes/resource/v1alpha2/ResourceClass.py +29 -0
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParameters.py +267 -0
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersList.py +210 -0
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersPatch.py +279 -0
- pulumi_kubernetes/resource/v1alpha2/ResourceClassPatch.py +29 -0
- pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +276 -0
- pulumi_kubernetes/resource/v1alpha2/ResourceSliceList.py +210 -0
- pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +287 -0
- pulumi_kubernetes/resource/v1alpha2/__init__.py +9 -0
- pulumi_kubernetes/resource/v1alpha2/_inputs.py +1498 -8
- pulumi_kubernetes/resource/v1alpha2/outputs.py +2623 -880
- pulumi_kubernetes/storage/v1/_inputs.py +8 -8
- pulumi_kubernetes/storage/v1/outputs.py +8 -8
- pulumi_kubernetes/storagemigration/__init__.py +14 -0
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigration.py +219 -0
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationList.py +210 -0
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationPatch.py +231 -0
- pulumi_kubernetes/storagemigration/v1alpha1/__init__.py +12 -0
- pulumi_kubernetes/storagemigration/v1alpha1/_inputs.py +427 -0
- pulumi_kubernetes/storagemigration/v1alpha1/outputs.py +588 -0
- pulumi_kubernetes/yaml/yaml.py +72 -0
- {pulumi_kubernetes-4.11.0a1713219485.dist-info → pulumi_kubernetes-4.12.0.dist-info}/METADATA +1 -1
- {pulumi_kubernetes-4.11.0a1713219485.dist-info → pulumi_kubernetes-4.12.0.dist-info}/RECORD +59 -34
- {pulumi_kubernetes-4.11.0a1713219485.dist-info → pulumi_kubernetes-4.12.0.dist-info}/WHEEL +0 -0
- {pulumi_kubernetes-4.11.0a1713219485.dist-info → pulumi_kubernetes-4.12.0.dist-info}/top_level.txt +0 -0
pulumi_kubernetes/__init__.py
CHANGED
|
@@ -60,6 +60,8 @@ if typing.TYPE_CHECKING:
|
|
|
60
60
|
settings = __settings
|
|
61
61
|
import pulumi_kubernetes.storage as __storage
|
|
62
62
|
storage = __storage
|
|
63
|
+
import pulumi_kubernetes.storagemigration as __storagemigration
|
|
64
|
+
storagemigration = __storagemigration
|
|
63
65
|
import pulumi_kubernetes.yaml as __yaml
|
|
64
66
|
yaml = __yaml
|
|
65
67
|
else:
|
|
@@ -88,6 +90,7 @@ else:
|
|
|
88
90
|
scheduling = _utilities.lazy_import('pulumi_kubernetes.scheduling')
|
|
89
91
|
settings = _utilities.lazy_import('pulumi_kubernetes.settings')
|
|
90
92
|
storage = _utilities.lazy_import('pulumi_kubernetes.storage')
|
|
93
|
+
storagemigration = _utilities.lazy_import('pulumi_kubernetes.storagemigration')
|
|
91
94
|
yaml = _utilities.lazy_import('pulumi_kubernetes.yaml')
|
|
92
95
|
|
|
93
96
|
_utilities.register(
|
|
@@ -101,6 +104,12 @@ _utilities.register(
|
|
|
101
104
|
"kubernetes:admissionregistration.k8s.io/v1:MutatingWebhookConfiguration": "MutatingWebhookConfiguration",
|
|
102
105
|
"kubernetes:admissionregistration.k8s.io/v1:MutatingWebhookConfigurationList": "MutatingWebhookConfigurationList",
|
|
103
106
|
"kubernetes:admissionregistration.k8s.io/v1:MutatingWebhookConfigurationPatch": "MutatingWebhookConfigurationPatch",
|
|
107
|
+
"kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicy": "ValidatingAdmissionPolicy",
|
|
108
|
+
"kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyBinding": "ValidatingAdmissionPolicyBinding",
|
|
109
|
+
"kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyBindingList": "ValidatingAdmissionPolicyBindingList",
|
|
110
|
+
"kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyBindingPatch": "ValidatingAdmissionPolicyBindingPatch",
|
|
111
|
+
"kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyList": "ValidatingAdmissionPolicyList",
|
|
112
|
+
"kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyPatch": "ValidatingAdmissionPolicyPatch",
|
|
104
113
|
"kubernetes:admissionregistration.k8s.io/v1:ValidatingWebhookConfiguration": "ValidatingWebhookConfiguration",
|
|
105
114
|
"kubernetes:admissionregistration.k8s.io/v1:ValidatingWebhookConfigurationList": "ValidatingWebhookConfigurationList",
|
|
106
115
|
"kubernetes:admissionregistration.k8s.io/v1:ValidatingWebhookConfigurationPatch": "ValidatingWebhookConfigurationPatch"
|
|
@@ -563,6 +572,14 @@ _utilities.register(
|
|
|
563
572
|
"kubernetes:helm.sh/v3:Release": "Release"
|
|
564
573
|
}
|
|
565
574
|
},
|
|
575
|
+
{
|
|
576
|
+
"pkg": "kubernetes",
|
|
577
|
+
"mod": "helm.sh/v4",
|
|
578
|
+
"fqn": "pulumi_kubernetes.helm.v4",
|
|
579
|
+
"classes": {
|
|
580
|
+
"kubernetes:helm.sh/v4:Chart": "Chart"
|
|
581
|
+
}
|
|
582
|
+
},
|
|
566
583
|
{
|
|
567
584
|
"pkg": "kubernetes",
|
|
568
585
|
"mod": "meta/v1",
|
|
@@ -756,13 +773,22 @@ _utilities.register(
|
|
|
756
773
|
"kubernetes:resource.k8s.io/v1alpha2:PodSchedulingContextPatch": "PodSchedulingContextPatch",
|
|
757
774
|
"kubernetes:resource.k8s.io/v1alpha2:ResourceClaim": "ResourceClaim",
|
|
758
775
|
"kubernetes:resource.k8s.io/v1alpha2:ResourceClaimList": "ResourceClaimList",
|
|
776
|
+
"kubernetes:resource.k8s.io/v1alpha2:ResourceClaimParameters": "ResourceClaimParameters",
|
|
777
|
+
"kubernetes:resource.k8s.io/v1alpha2:ResourceClaimParametersList": "ResourceClaimParametersList",
|
|
778
|
+
"kubernetes:resource.k8s.io/v1alpha2:ResourceClaimParametersPatch": "ResourceClaimParametersPatch",
|
|
759
779
|
"kubernetes:resource.k8s.io/v1alpha2:ResourceClaimPatch": "ResourceClaimPatch",
|
|
760
780
|
"kubernetes:resource.k8s.io/v1alpha2:ResourceClaimTemplate": "ResourceClaimTemplate",
|
|
761
781
|
"kubernetes:resource.k8s.io/v1alpha2:ResourceClaimTemplateList": "ResourceClaimTemplateList",
|
|
762
782
|
"kubernetes:resource.k8s.io/v1alpha2:ResourceClaimTemplatePatch": "ResourceClaimTemplatePatch",
|
|
763
783
|
"kubernetes:resource.k8s.io/v1alpha2:ResourceClass": "ResourceClass",
|
|
764
784
|
"kubernetes:resource.k8s.io/v1alpha2:ResourceClassList": "ResourceClassList",
|
|
765
|
-
"kubernetes:resource.k8s.io/v1alpha2:
|
|
785
|
+
"kubernetes:resource.k8s.io/v1alpha2:ResourceClassParameters": "ResourceClassParameters",
|
|
786
|
+
"kubernetes:resource.k8s.io/v1alpha2:ResourceClassParametersList": "ResourceClassParametersList",
|
|
787
|
+
"kubernetes:resource.k8s.io/v1alpha2:ResourceClassParametersPatch": "ResourceClassParametersPatch",
|
|
788
|
+
"kubernetes:resource.k8s.io/v1alpha2:ResourceClassPatch": "ResourceClassPatch",
|
|
789
|
+
"kubernetes:resource.k8s.io/v1alpha2:ResourceSlice": "ResourceSlice",
|
|
790
|
+
"kubernetes:resource.k8s.io/v1alpha2:ResourceSliceList": "ResourceSliceList",
|
|
791
|
+
"kubernetes:resource.k8s.io/v1alpha2:ResourceSlicePatch": "ResourceSlicePatch"
|
|
766
792
|
}
|
|
767
793
|
},
|
|
768
794
|
{
|
|
@@ -862,6 +888,16 @@ _utilities.register(
|
|
|
862
888
|
"kubernetes:storage.k8s.io/v1beta1:VolumeAttachmentPatch": "VolumeAttachmentPatch"
|
|
863
889
|
}
|
|
864
890
|
},
|
|
891
|
+
{
|
|
892
|
+
"pkg": "kubernetes",
|
|
893
|
+
"mod": "storagemigration.k8s.io/v1alpha1",
|
|
894
|
+
"fqn": "pulumi_kubernetes.storagemigration.v1alpha1",
|
|
895
|
+
"classes": {
|
|
896
|
+
"kubernetes:storagemigration.k8s.io/v1alpha1:StorageVersionMigration": "StorageVersionMigration",
|
|
897
|
+
"kubernetes:storagemigration.k8s.io/v1alpha1:StorageVersionMigrationList": "StorageVersionMigrationList",
|
|
898
|
+
"kubernetes:storagemigration.k8s.io/v1alpha1:StorageVersionMigrationPatch": "StorageVersionMigrationPatch"
|
|
899
|
+
}
|
|
900
|
+
},
|
|
865
901
|
{
|
|
866
902
|
"pkg": "kubernetes",
|
|
867
903
|
"mod": "yaml/v2",
|
pulumi_kubernetes/_inputs.py
CHANGED
|
@@ -27,7 +27,7 @@ class HelmReleaseSettingsArgs:
|
|
|
27
27
|
:param pulumi.Input[str] driver: The backend storage driver for Helm. Values are: configmap, secret, memory, sql.
|
|
28
28
|
:param pulumi.Input[str] plugins_path: The path to the helm plugins directory.
|
|
29
29
|
:param pulumi.Input[str] registry_config_path: The path to the registry config file.
|
|
30
|
-
:param pulumi.Input[str] repository_cache: The path to the
|
|
30
|
+
:param pulumi.Input[str] repository_cache: The path to the directory containing cached repository indexes.
|
|
31
31
|
:param pulumi.Input[str] repository_config_path: The path to the file containing repository names and URLs.
|
|
32
32
|
"""
|
|
33
33
|
if driver is None:
|
|
@@ -91,7 +91,7 @@ class HelmReleaseSettingsArgs:
|
|
|
91
91
|
@pulumi.getter(name="repositoryCache")
|
|
92
92
|
def repository_cache(self) -> Optional[pulumi.Input[str]]:
|
|
93
93
|
"""
|
|
94
|
-
The path to the
|
|
94
|
+
The path to the directory containing cached repository indexes.
|
|
95
95
|
"""
|
|
96
96
|
return pulumi.get(self, "repository_cache")
|
|
97
97
|
|
|
@@ -120,8 +120,8 @@ class KubeClientSettingsArgs:
|
|
|
120
120
|
timeout: Optional[pulumi.Input[int]] = None):
|
|
121
121
|
"""
|
|
122
122
|
Options for tuning the Kubernetes client used by a Provider.
|
|
123
|
-
:param pulumi.Input[int] burst: Maximum burst for throttle. Default value is
|
|
124
|
-
:param pulumi.Input[float] qps: Maximum queries per second (QPS) to the API server from this client. Default value is
|
|
123
|
+
:param pulumi.Input[int] burst: Maximum burst for throttle. Default value is 120.
|
|
124
|
+
:param pulumi.Input[float] qps: Maximum queries per second (QPS) to the API server from this client. Default value is 50.
|
|
125
125
|
:param pulumi.Input[int] timeout: Maximum time in seconds to wait before cancelling a HTTP request to the Kubernetes server. Default value is 32.
|
|
126
126
|
"""
|
|
127
127
|
if burst is None:
|
|
@@ -141,7 +141,7 @@ class KubeClientSettingsArgs:
|
|
|
141
141
|
@pulumi.getter
|
|
142
142
|
def burst(self) -> Optional[pulumi.Input[int]]:
|
|
143
143
|
"""
|
|
144
|
-
Maximum burst for throttle. Default value is
|
|
144
|
+
Maximum burst for throttle. Default value is 120.
|
|
145
145
|
"""
|
|
146
146
|
return pulumi.get(self, "burst")
|
|
147
147
|
|
|
@@ -153,7 +153,7 @@ class KubeClientSettingsArgs:
|
|
|
153
153
|
@pulumi.getter
|
|
154
154
|
def qps(self) -> Optional[pulumi.Input[float]]:
|
|
155
155
|
"""
|
|
156
|
-
Maximum queries per second (QPS) to the API server from this client. Default value is
|
|
156
|
+
Maximum queries per second (QPS) to the API server from this client. Default value is 50.
|
|
157
157
|
"""
|
|
158
158
|
return pulumi.get(self, "qps")
|
|
159
159
|
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumigen. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import copy
|
|
6
|
+
import warnings
|
|
7
|
+
import pulumi
|
|
8
|
+
import pulumi.runtime
|
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
10
|
+
from ... import _utilities
|
|
11
|
+
from . import outputs
|
|
12
|
+
from ... import meta as _meta
|
|
13
|
+
from ._inputs import *
|
|
14
|
+
|
|
15
|
+
__all__ = ['ValidatingAdmissionPolicyInitArgs', 'ValidatingAdmissionPolicy']
|
|
16
|
+
|
|
17
|
+
@pulumi.input_type
|
|
18
|
+
class ValidatingAdmissionPolicyInitArgs:
|
|
19
|
+
def __init__(__self__, *,
|
|
20
|
+
api_version: Optional[pulumi.Input[str]] = None,
|
|
21
|
+
kind: Optional[pulumi.Input[str]] = None,
|
|
22
|
+
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
23
|
+
spec: Optional[pulumi.Input['ValidatingAdmissionPolicySpecArgs']] = None):
|
|
24
|
+
"""
|
|
25
|
+
The set of arguments for constructing a ValidatingAdmissionPolicy resource.
|
|
26
|
+
:param pulumi.Input[str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
27
|
+
:param pulumi.Input[str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
28
|
+
:param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
|
29
|
+
:param pulumi.Input['ValidatingAdmissionPolicySpecArgs'] spec: Specification of the desired behavior of the ValidatingAdmissionPolicy.
|
|
30
|
+
"""
|
|
31
|
+
if api_version is not None:
|
|
32
|
+
pulumi.set(__self__, "api_version", 'admissionregistration.k8s.io/v1')
|
|
33
|
+
if kind is not None:
|
|
34
|
+
pulumi.set(__self__, "kind", 'ValidatingAdmissionPolicy')
|
|
35
|
+
if metadata is not None:
|
|
36
|
+
pulumi.set(__self__, "metadata", metadata)
|
|
37
|
+
if spec is not None:
|
|
38
|
+
pulumi.set(__self__, "spec", spec)
|
|
39
|
+
|
|
40
|
+
@property
|
|
41
|
+
@pulumi.getter(name="apiVersion")
|
|
42
|
+
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
43
|
+
"""
|
|
44
|
+
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
|
|
45
|
+
"""
|
|
46
|
+
return pulumi.get(self, "api_version")
|
|
47
|
+
|
|
48
|
+
@api_version.setter
|
|
49
|
+
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
50
|
+
pulumi.set(self, "api_version", value)
|
|
51
|
+
|
|
52
|
+
@property
|
|
53
|
+
@pulumi.getter
|
|
54
|
+
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
55
|
+
"""
|
|
56
|
+
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
|
|
57
|
+
"""
|
|
58
|
+
return pulumi.get(self, "kind")
|
|
59
|
+
|
|
60
|
+
@kind.setter
|
|
61
|
+
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
62
|
+
pulumi.set(self, "kind", value)
|
|
63
|
+
|
|
64
|
+
@property
|
|
65
|
+
@pulumi.getter
|
|
66
|
+
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
67
|
+
"""
|
|
68
|
+
Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
|
69
|
+
"""
|
|
70
|
+
return pulumi.get(self, "metadata")
|
|
71
|
+
|
|
72
|
+
@metadata.setter
|
|
73
|
+
def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
|
|
74
|
+
pulumi.set(self, "metadata", value)
|
|
75
|
+
|
|
76
|
+
@property
|
|
77
|
+
@pulumi.getter
|
|
78
|
+
def spec(self) -> Optional[pulumi.Input['ValidatingAdmissionPolicySpecArgs']]:
|
|
79
|
+
"""
|
|
80
|
+
Specification of the desired behavior of the ValidatingAdmissionPolicy.
|
|
81
|
+
"""
|
|
82
|
+
return pulumi.get(self, "spec")
|
|
83
|
+
|
|
84
|
+
@spec.setter
|
|
85
|
+
def spec(self, value: Optional[pulumi.Input['ValidatingAdmissionPolicySpecArgs']]):
|
|
86
|
+
pulumi.set(self, "spec", value)
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
class ValidatingAdmissionPolicy(pulumi.CustomResource):
|
|
90
|
+
@overload
|
|
91
|
+
def __init__(__self__,
|
|
92
|
+
resource_name: str,
|
|
93
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
94
|
+
api_version: Optional[pulumi.Input[str]] = None,
|
|
95
|
+
kind: Optional[pulumi.Input[str]] = None,
|
|
96
|
+
metadata: Optional[pulumi.Input[pulumi.InputType['_meta.v1.ObjectMetaArgs']]] = None,
|
|
97
|
+
spec: Optional[pulumi.Input[pulumi.InputType['ValidatingAdmissionPolicySpecArgs']]] = None,
|
|
98
|
+
__props__=None):
|
|
99
|
+
"""
|
|
100
|
+
ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.
|
|
101
|
+
|
|
102
|
+
:param str resource_name: The name of the resource.
|
|
103
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
104
|
+
:param pulumi.Input[str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
105
|
+
:param pulumi.Input[str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
106
|
+
:param pulumi.Input[pulumi.InputType['_meta.v1.ObjectMetaArgs']] metadata: Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
|
107
|
+
:param pulumi.Input[pulumi.InputType['ValidatingAdmissionPolicySpecArgs']] spec: Specification of the desired behavior of the ValidatingAdmissionPolicy.
|
|
108
|
+
"""
|
|
109
|
+
...
|
|
110
|
+
@overload
|
|
111
|
+
def __init__(__self__,
|
|
112
|
+
resource_name: str,
|
|
113
|
+
args: Optional[ValidatingAdmissionPolicyInitArgs] = None,
|
|
114
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
115
|
+
"""
|
|
116
|
+
ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.
|
|
117
|
+
|
|
118
|
+
:param str resource_name: The name of the resource.
|
|
119
|
+
:param ValidatingAdmissionPolicyInitArgs args: The arguments to use to populate this resource's properties.
|
|
120
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
121
|
+
"""
|
|
122
|
+
...
|
|
123
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
124
|
+
resource_args, opts = _utilities.get_resource_args_opts(ValidatingAdmissionPolicyInitArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
125
|
+
if resource_args is not None:
|
|
126
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
127
|
+
else:
|
|
128
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
129
|
+
|
|
130
|
+
def _internal_init(__self__,
|
|
131
|
+
resource_name: str,
|
|
132
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
133
|
+
api_version: Optional[pulumi.Input[str]] = None,
|
|
134
|
+
kind: Optional[pulumi.Input[str]] = None,
|
|
135
|
+
metadata: Optional[pulumi.Input[pulumi.InputType['_meta.v1.ObjectMetaArgs']]] = None,
|
|
136
|
+
spec: Optional[pulumi.Input[pulumi.InputType['ValidatingAdmissionPolicySpecArgs']]] = None,
|
|
137
|
+
__props__=None):
|
|
138
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
139
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
140
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
141
|
+
if opts.id is None:
|
|
142
|
+
if __props__ is not None:
|
|
143
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
144
|
+
__props__ = ValidatingAdmissionPolicyInitArgs.__new__(ValidatingAdmissionPolicyInitArgs)
|
|
145
|
+
|
|
146
|
+
__props__.__dict__["api_version"] = 'admissionregistration.k8s.io/v1'
|
|
147
|
+
__props__.__dict__["kind"] = 'ValidatingAdmissionPolicy'
|
|
148
|
+
__props__.__dict__["metadata"] = metadata
|
|
149
|
+
__props__.__dict__["spec"] = spec
|
|
150
|
+
__props__.__dict__["status"] = None
|
|
151
|
+
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicy"), pulumi.Alias(type_="kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicy")])
|
|
152
|
+
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
153
|
+
super(ValidatingAdmissionPolicy, __self__).__init__(
|
|
154
|
+
'kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicy',
|
|
155
|
+
resource_name,
|
|
156
|
+
__props__,
|
|
157
|
+
opts)
|
|
158
|
+
|
|
159
|
+
@staticmethod
|
|
160
|
+
def get(resource_name: str,
|
|
161
|
+
id: pulumi.Input[str],
|
|
162
|
+
opts: Optional[pulumi.ResourceOptions] = None) -> 'ValidatingAdmissionPolicy':
|
|
163
|
+
"""
|
|
164
|
+
Get an existing ValidatingAdmissionPolicy resource's state with the given name, id, and optional extra
|
|
165
|
+
properties used to qualify the lookup.
|
|
166
|
+
|
|
167
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
168
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
169
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
170
|
+
"""
|
|
171
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
172
|
+
|
|
173
|
+
__props__ = ValidatingAdmissionPolicyInitArgs.__new__(ValidatingAdmissionPolicyInitArgs)
|
|
174
|
+
|
|
175
|
+
__props__.__dict__["api_version"] = None
|
|
176
|
+
__props__.__dict__["kind"] = None
|
|
177
|
+
__props__.__dict__["metadata"] = None
|
|
178
|
+
__props__.__dict__["spec"] = None
|
|
179
|
+
__props__.__dict__["status"] = None
|
|
180
|
+
return ValidatingAdmissionPolicy(resource_name, opts=opts, __props__=__props__)
|
|
181
|
+
|
|
182
|
+
@property
|
|
183
|
+
@pulumi.getter(name="apiVersion")
|
|
184
|
+
def api_version(self) -> pulumi.Output[str]:
|
|
185
|
+
"""
|
|
186
|
+
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
|
|
187
|
+
"""
|
|
188
|
+
return pulumi.get(self, "api_version")
|
|
189
|
+
|
|
190
|
+
@property
|
|
191
|
+
@pulumi.getter
|
|
192
|
+
def kind(self) -> pulumi.Output[str]:
|
|
193
|
+
"""
|
|
194
|
+
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
|
|
195
|
+
"""
|
|
196
|
+
return pulumi.get(self, "kind")
|
|
197
|
+
|
|
198
|
+
@property
|
|
199
|
+
@pulumi.getter
|
|
200
|
+
def metadata(self) -> pulumi.Output['_meta.v1.outputs.ObjectMeta']:
|
|
201
|
+
"""
|
|
202
|
+
Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
|
203
|
+
"""
|
|
204
|
+
return pulumi.get(self, "metadata")
|
|
205
|
+
|
|
206
|
+
@property
|
|
207
|
+
@pulumi.getter
|
|
208
|
+
def spec(self) -> pulumi.Output['outputs.ValidatingAdmissionPolicySpec']:
|
|
209
|
+
"""
|
|
210
|
+
Specification of the desired behavior of the ValidatingAdmissionPolicy.
|
|
211
|
+
"""
|
|
212
|
+
return pulumi.get(self, "spec")
|
|
213
|
+
|
|
214
|
+
@property
|
|
215
|
+
@pulumi.getter
|
|
216
|
+
def status(self) -> pulumi.Output[Optional['outputs.ValidatingAdmissionPolicyStatus']]:
|
|
217
|
+
"""
|
|
218
|
+
The status of the ValidatingAdmissionPolicy, including warnings that are useful to determine if the policy behaves in the expected way. Populated by the system. Read-only.
|
|
219
|
+
"""
|
|
220
|
+
return pulumi.get(self, "status")
|
|
221
|
+
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumigen. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import copy
|
|
6
|
+
import warnings
|
|
7
|
+
import pulumi
|
|
8
|
+
import pulumi.runtime
|
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
10
|
+
from ... import _utilities
|
|
11
|
+
from . import outputs
|
|
12
|
+
from ... import meta as _meta
|
|
13
|
+
from ._inputs import *
|
|
14
|
+
|
|
15
|
+
__all__ = ['ValidatingAdmissionPolicyBindingInitArgs', 'ValidatingAdmissionPolicyBinding']
|
|
16
|
+
|
|
17
|
+
@pulumi.input_type
|
|
18
|
+
class ValidatingAdmissionPolicyBindingInitArgs:
|
|
19
|
+
def __init__(__self__, *,
|
|
20
|
+
api_version: Optional[pulumi.Input[str]] = None,
|
|
21
|
+
kind: Optional[pulumi.Input[str]] = None,
|
|
22
|
+
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
23
|
+
spec: Optional[pulumi.Input['ValidatingAdmissionPolicyBindingSpecArgs']] = None):
|
|
24
|
+
"""
|
|
25
|
+
The set of arguments for constructing a ValidatingAdmissionPolicyBinding resource.
|
|
26
|
+
:param pulumi.Input[str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
27
|
+
:param pulumi.Input[str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
28
|
+
:param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
|
29
|
+
:param pulumi.Input['ValidatingAdmissionPolicyBindingSpecArgs'] spec: Specification of the desired behavior of the ValidatingAdmissionPolicyBinding.
|
|
30
|
+
"""
|
|
31
|
+
if api_version is not None:
|
|
32
|
+
pulumi.set(__self__, "api_version", 'admissionregistration.k8s.io/v1')
|
|
33
|
+
if kind is not None:
|
|
34
|
+
pulumi.set(__self__, "kind", 'ValidatingAdmissionPolicyBinding')
|
|
35
|
+
if metadata is not None:
|
|
36
|
+
pulumi.set(__self__, "metadata", metadata)
|
|
37
|
+
if spec is not None:
|
|
38
|
+
pulumi.set(__self__, "spec", spec)
|
|
39
|
+
|
|
40
|
+
@property
|
|
41
|
+
@pulumi.getter(name="apiVersion")
|
|
42
|
+
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
43
|
+
"""
|
|
44
|
+
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
|
|
45
|
+
"""
|
|
46
|
+
return pulumi.get(self, "api_version")
|
|
47
|
+
|
|
48
|
+
@api_version.setter
|
|
49
|
+
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
50
|
+
pulumi.set(self, "api_version", value)
|
|
51
|
+
|
|
52
|
+
@property
|
|
53
|
+
@pulumi.getter
|
|
54
|
+
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
55
|
+
"""
|
|
56
|
+
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
|
|
57
|
+
"""
|
|
58
|
+
return pulumi.get(self, "kind")
|
|
59
|
+
|
|
60
|
+
@kind.setter
|
|
61
|
+
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
62
|
+
pulumi.set(self, "kind", value)
|
|
63
|
+
|
|
64
|
+
@property
|
|
65
|
+
@pulumi.getter
|
|
66
|
+
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
67
|
+
"""
|
|
68
|
+
Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
|
69
|
+
"""
|
|
70
|
+
return pulumi.get(self, "metadata")
|
|
71
|
+
|
|
72
|
+
@metadata.setter
|
|
73
|
+
def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
|
|
74
|
+
pulumi.set(self, "metadata", value)
|
|
75
|
+
|
|
76
|
+
@property
|
|
77
|
+
@pulumi.getter
|
|
78
|
+
def spec(self) -> Optional[pulumi.Input['ValidatingAdmissionPolicyBindingSpecArgs']]:
|
|
79
|
+
"""
|
|
80
|
+
Specification of the desired behavior of the ValidatingAdmissionPolicyBinding.
|
|
81
|
+
"""
|
|
82
|
+
return pulumi.get(self, "spec")
|
|
83
|
+
|
|
84
|
+
@spec.setter
|
|
85
|
+
def spec(self, value: Optional[pulumi.Input['ValidatingAdmissionPolicyBindingSpecArgs']]):
|
|
86
|
+
pulumi.set(self, "spec", value)
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
class ValidatingAdmissionPolicyBinding(pulumi.CustomResource):
|
|
90
|
+
@overload
|
|
91
|
+
def __init__(__self__,
|
|
92
|
+
resource_name: str,
|
|
93
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
94
|
+
api_version: Optional[pulumi.Input[str]] = None,
|
|
95
|
+
kind: Optional[pulumi.Input[str]] = None,
|
|
96
|
+
metadata: Optional[pulumi.Input[pulumi.InputType['_meta.v1.ObjectMetaArgs']]] = None,
|
|
97
|
+
spec: Optional[pulumi.Input[pulumi.InputType['ValidatingAdmissionPolicyBindingSpecArgs']]] = None,
|
|
98
|
+
__props__=None):
|
|
99
|
+
"""
|
|
100
|
+
ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.
|
|
101
|
+
|
|
102
|
+
For a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding.
|
|
103
|
+
|
|
104
|
+
The CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.
|
|
105
|
+
|
|
106
|
+
:param str resource_name: The name of the resource.
|
|
107
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
108
|
+
:param pulumi.Input[str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
109
|
+
:param pulumi.Input[str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
110
|
+
:param pulumi.Input[pulumi.InputType['_meta.v1.ObjectMetaArgs']] metadata: Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
|
111
|
+
:param pulumi.Input[pulumi.InputType['ValidatingAdmissionPolicyBindingSpecArgs']] spec: Specification of the desired behavior of the ValidatingAdmissionPolicyBinding.
|
|
112
|
+
"""
|
|
113
|
+
...
|
|
114
|
+
@overload
|
|
115
|
+
def __init__(__self__,
|
|
116
|
+
resource_name: str,
|
|
117
|
+
args: Optional[ValidatingAdmissionPolicyBindingInitArgs] = None,
|
|
118
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
119
|
+
"""
|
|
120
|
+
ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.
|
|
121
|
+
|
|
122
|
+
For a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding.
|
|
123
|
+
|
|
124
|
+
The CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.
|
|
125
|
+
|
|
126
|
+
:param str resource_name: The name of the resource.
|
|
127
|
+
:param ValidatingAdmissionPolicyBindingInitArgs args: The arguments to use to populate this resource's properties.
|
|
128
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
129
|
+
"""
|
|
130
|
+
...
|
|
131
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
132
|
+
resource_args, opts = _utilities.get_resource_args_opts(ValidatingAdmissionPolicyBindingInitArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
133
|
+
if resource_args is not None:
|
|
134
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
135
|
+
else:
|
|
136
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
137
|
+
|
|
138
|
+
def _internal_init(__self__,
|
|
139
|
+
resource_name: str,
|
|
140
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
141
|
+
api_version: Optional[pulumi.Input[str]] = None,
|
|
142
|
+
kind: Optional[pulumi.Input[str]] = None,
|
|
143
|
+
metadata: Optional[pulumi.Input[pulumi.InputType['_meta.v1.ObjectMetaArgs']]] = None,
|
|
144
|
+
spec: Optional[pulumi.Input[pulumi.InputType['ValidatingAdmissionPolicyBindingSpecArgs']]] = None,
|
|
145
|
+
__props__=None):
|
|
146
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
147
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
148
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
149
|
+
if opts.id is None:
|
|
150
|
+
if __props__ is not None:
|
|
151
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
152
|
+
__props__ = ValidatingAdmissionPolicyBindingInitArgs.__new__(ValidatingAdmissionPolicyBindingInitArgs)
|
|
153
|
+
|
|
154
|
+
__props__.__dict__["api_version"] = 'admissionregistration.k8s.io/v1'
|
|
155
|
+
__props__.__dict__["kind"] = 'ValidatingAdmissionPolicyBinding'
|
|
156
|
+
__props__.__dict__["metadata"] = metadata
|
|
157
|
+
__props__.__dict__["spec"] = spec
|
|
158
|
+
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:admissionregistration.k8s.io/v1alpha1:ValidatingAdmissionPolicyBinding"), pulumi.Alias(type_="kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingAdmissionPolicyBinding")])
|
|
159
|
+
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
160
|
+
super(ValidatingAdmissionPolicyBinding, __self__).__init__(
|
|
161
|
+
'kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyBinding',
|
|
162
|
+
resource_name,
|
|
163
|
+
__props__,
|
|
164
|
+
opts)
|
|
165
|
+
|
|
166
|
+
@staticmethod
|
|
167
|
+
def get(resource_name: str,
|
|
168
|
+
id: pulumi.Input[str],
|
|
169
|
+
opts: Optional[pulumi.ResourceOptions] = None) -> 'ValidatingAdmissionPolicyBinding':
|
|
170
|
+
"""
|
|
171
|
+
Get an existing ValidatingAdmissionPolicyBinding resource's state with the given name, id, and optional extra
|
|
172
|
+
properties used to qualify the lookup.
|
|
173
|
+
|
|
174
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
175
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
176
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
177
|
+
"""
|
|
178
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
179
|
+
|
|
180
|
+
__props__ = ValidatingAdmissionPolicyBindingInitArgs.__new__(ValidatingAdmissionPolicyBindingInitArgs)
|
|
181
|
+
|
|
182
|
+
__props__.__dict__["api_version"] = None
|
|
183
|
+
__props__.__dict__["kind"] = None
|
|
184
|
+
__props__.__dict__["metadata"] = None
|
|
185
|
+
__props__.__dict__["spec"] = None
|
|
186
|
+
return ValidatingAdmissionPolicyBinding(resource_name, opts=opts, __props__=__props__)
|
|
187
|
+
|
|
188
|
+
@property
|
|
189
|
+
@pulumi.getter(name="apiVersion")
|
|
190
|
+
def api_version(self) -> pulumi.Output[str]:
|
|
191
|
+
"""
|
|
192
|
+
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
|
|
193
|
+
"""
|
|
194
|
+
return pulumi.get(self, "api_version")
|
|
195
|
+
|
|
196
|
+
@property
|
|
197
|
+
@pulumi.getter
|
|
198
|
+
def kind(self) -> pulumi.Output[str]:
|
|
199
|
+
"""
|
|
200
|
+
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
|
|
201
|
+
"""
|
|
202
|
+
return pulumi.get(self, "kind")
|
|
203
|
+
|
|
204
|
+
@property
|
|
205
|
+
@pulumi.getter
|
|
206
|
+
def metadata(self) -> pulumi.Output['_meta.v1.outputs.ObjectMeta']:
|
|
207
|
+
"""
|
|
208
|
+
Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
|
209
|
+
"""
|
|
210
|
+
return pulumi.get(self, "metadata")
|
|
211
|
+
|
|
212
|
+
@property
|
|
213
|
+
@pulumi.getter
|
|
214
|
+
def spec(self) -> pulumi.Output['outputs.ValidatingAdmissionPolicyBindingSpec']:
|
|
215
|
+
"""
|
|
216
|
+
Specification of the desired behavior of the ValidatingAdmissionPolicyBinding.
|
|
217
|
+
"""
|
|
218
|
+
return pulumi.get(self, "spec")
|
|
219
|
+
|