pulumi-azure-native 2.68.0a1729176987__py3-none-any.whl → 2.68.0a1729519840__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-azure-native might be problematic. Click here for more details.
- pulumi_azure_native/__init__.py +29 -0
- pulumi_azure_native/kubernetes/__init__.py +3 -0
- pulumi_azure_native/kubernetes/connected_cluster.py +3 -3
- pulumi_azure_native/kubernetes/get_connected_cluster.py +2 -2
- pulumi_azure_native/kubernetes/list_connected_cluster_user_credential.py +2 -2
- pulumi_azure_native/kubernetes/v20220501preview/connected_cluster.py +1 -1
- pulumi_azure_native/kubernetes/v20221001preview/connected_cluster.py +1 -1
- pulumi_azure_native/kubernetes/v20231101preview/connected_cluster.py +1 -1
- pulumi_azure_native/kubernetes/v20240101/connected_cluster.py +1 -1
- pulumi_azure_native/kubernetes/v20240201preview/connected_cluster.py +1 -1
- pulumi_azure_native/kubernetes/v20240601preview/connected_cluster.py +1 -1
- pulumi_azure_native/kubernetes/v20240701preview/connected_cluster.py +1 -1
- pulumi_azure_native/kubernetes/v20240715preview/connected_cluster.py +1 -1
- pulumi_azure_native/kubernetes/v20241201preview/__init__.py +13 -0
- pulumi_azure_native/kubernetes/v20241201preview/_enums.py +77 -0
- pulumi_azure_native/kubernetes/v20241201preview/_inputs.py +559 -0
- pulumi_azure_native/kubernetes/v20241201preview/connected_cluster.py +793 -0
- pulumi_azure_native/kubernetes/v20241201preview/get_connected_cluster.py +507 -0
- pulumi_azure_native/kubernetes/v20241201preview/list_connected_cluster_user_credential.py +114 -0
- pulumi_azure_native/kubernetes/v20241201preview/outputs.py +854 -0
- pulumi_azure_native/pulumi-plugin.json +1 -1
- pulumi_azure_native/secretsynccontroller/__init__.py +22 -0
- pulumi_azure_native/secretsynccontroller/_enums.py +38 -0
- pulumi_azure_native/secretsynccontroller/_inputs.py +134 -0
- pulumi_azure_native/secretsynccontroller/azure_key_vault_secret_provider_class.py +389 -0
- pulumi_azure_native/secretsynccontroller/get_azure_key_vault_secret_provider_class.py +243 -0
- pulumi_azure_native/secretsynccontroller/get_secret_sync.py +271 -0
- pulumi_azure_native/secretsynccontroller/outputs.py +367 -0
- pulumi_azure_native/secretsynccontroller/secret_sync.py +429 -0
- pulumi_azure_native/secretsynccontroller/v20240821preview/__init__.py +14 -0
- pulumi_azure_native/secretsynccontroller/v20240821preview/_enums.py +38 -0
- pulumi_azure_native/secretsynccontroller/v20240821preview/_inputs.py +134 -0
- pulumi_azure_native/secretsynccontroller/v20240821preview/azure_key_vault_secret_provider_class.py +387 -0
- pulumi_azure_native/secretsynccontroller/v20240821preview/get_azure_key_vault_secret_provider_class.py +241 -0
- pulumi_azure_native/secretsynccontroller/v20240821preview/get_secret_sync.py +269 -0
- pulumi_azure_native/secretsynccontroller/v20240821preview/outputs.py +367 -0
- pulumi_azure_native/secretsynccontroller/v20240821preview/secret_sync.py +427 -0
- {pulumi_azure_native-2.68.0a1729176987.dist-info → pulumi_azure_native-2.68.0a1729519840.dist-info}/METADATA +1 -1
- {pulumi_azure_native-2.68.0a1729176987.dist-info → pulumi_azure_native-2.68.0a1729519840.dist-info}/RECORD +41 -18
- {pulumi_azure_native-2.68.0a1729176987.dist-info → pulumi_azure_native-2.68.0a1729519840.dist-info}/WHEEL +0 -0
- {pulumi_azure_native-2.68.0a1729176987.dist-info → pulumi_azure_native-2.68.0a1729519840.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
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 sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from ... import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
'GetSecretSyncResult',
|
|
20
|
+
'AwaitableGetSecretSyncResult',
|
|
21
|
+
'get_secret_sync',
|
|
22
|
+
'get_secret_sync_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetSecretSyncResult:
|
|
27
|
+
"""
|
|
28
|
+
The SecretSync resource.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, extended_location=None, force_synchronization=None, id=None, kubernetes_secret_type=None, location=None, name=None, object_secret_mapping=None, provisioning_state=None, secret_provider_class_name=None, service_account_name=None, status=None, system_data=None, tags=None, type=None):
|
|
31
|
+
if extended_location and not isinstance(extended_location, dict):
|
|
32
|
+
raise TypeError("Expected argument 'extended_location' to be a dict")
|
|
33
|
+
pulumi.set(__self__, "extended_location", extended_location)
|
|
34
|
+
if force_synchronization and not isinstance(force_synchronization, str):
|
|
35
|
+
raise TypeError("Expected argument 'force_synchronization' to be a str")
|
|
36
|
+
pulumi.set(__self__, "force_synchronization", force_synchronization)
|
|
37
|
+
if id and not isinstance(id, str):
|
|
38
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
39
|
+
pulumi.set(__self__, "id", id)
|
|
40
|
+
if kubernetes_secret_type and not isinstance(kubernetes_secret_type, str):
|
|
41
|
+
raise TypeError("Expected argument 'kubernetes_secret_type' to be a str")
|
|
42
|
+
pulumi.set(__self__, "kubernetes_secret_type", kubernetes_secret_type)
|
|
43
|
+
if location and not isinstance(location, str):
|
|
44
|
+
raise TypeError("Expected argument 'location' to be a str")
|
|
45
|
+
pulumi.set(__self__, "location", location)
|
|
46
|
+
if name and not isinstance(name, str):
|
|
47
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
48
|
+
pulumi.set(__self__, "name", name)
|
|
49
|
+
if object_secret_mapping and not isinstance(object_secret_mapping, list):
|
|
50
|
+
raise TypeError("Expected argument 'object_secret_mapping' to be a list")
|
|
51
|
+
pulumi.set(__self__, "object_secret_mapping", object_secret_mapping)
|
|
52
|
+
if provisioning_state and not isinstance(provisioning_state, str):
|
|
53
|
+
raise TypeError("Expected argument 'provisioning_state' to be a str")
|
|
54
|
+
pulumi.set(__self__, "provisioning_state", provisioning_state)
|
|
55
|
+
if secret_provider_class_name and not isinstance(secret_provider_class_name, str):
|
|
56
|
+
raise TypeError("Expected argument 'secret_provider_class_name' to be a str")
|
|
57
|
+
pulumi.set(__self__, "secret_provider_class_name", secret_provider_class_name)
|
|
58
|
+
if service_account_name and not isinstance(service_account_name, str):
|
|
59
|
+
raise TypeError("Expected argument 'service_account_name' to be a str")
|
|
60
|
+
pulumi.set(__self__, "service_account_name", service_account_name)
|
|
61
|
+
if status and not isinstance(status, dict):
|
|
62
|
+
raise TypeError("Expected argument 'status' to be a dict")
|
|
63
|
+
pulumi.set(__self__, "status", status)
|
|
64
|
+
if system_data and not isinstance(system_data, dict):
|
|
65
|
+
raise TypeError("Expected argument 'system_data' to be a dict")
|
|
66
|
+
pulumi.set(__self__, "system_data", system_data)
|
|
67
|
+
if tags and not isinstance(tags, dict):
|
|
68
|
+
raise TypeError("Expected argument 'tags' to be a dict")
|
|
69
|
+
pulumi.set(__self__, "tags", tags)
|
|
70
|
+
if type and not isinstance(type, str):
|
|
71
|
+
raise TypeError("Expected argument 'type' to be a str")
|
|
72
|
+
pulumi.set(__self__, "type", type)
|
|
73
|
+
|
|
74
|
+
@property
|
|
75
|
+
@pulumi.getter(name="extendedLocation")
|
|
76
|
+
def extended_location(self) -> Optional['outputs.AzureResourceManagerCommonTypesExtendedLocationResponse']:
|
|
77
|
+
"""
|
|
78
|
+
The complex type of the extended location.
|
|
79
|
+
"""
|
|
80
|
+
return pulumi.get(self, "extended_location")
|
|
81
|
+
|
|
82
|
+
@property
|
|
83
|
+
@pulumi.getter(name="forceSynchronization")
|
|
84
|
+
def force_synchronization(self) -> Optional[str]:
|
|
85
|
+
"""
|
|
86
|
+
ForceSynchronization can be used to force the secret synchronization. The secret synchronization is triggered by changing the value in this field. This field is not used to resolve synchronization conflicts.
|
|
87
|
+
"""
|
|
88
|
+
return pulumi.get(self, "force_synchronization")
|
|
89
|
+
|
|
90
|
+
@property
|
|
91
|
+
@pulumi.getter
|
|
92
|
+
def id(self) -> str:
|
|
93
|
+
"""
|
|
94
|
+
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
|
|
95
|
+
"""
|
|
96
|
+
return pulumi.get(self, "id")
|
|
97
|
+
|
|
98
|
+
@property
|
|
99
|
+
@pulumi.getter(name="kubernetesSecretType")
|
|
100
|
+
def kubernetes_secret_type(self) -> str:
|
|
101
|
+
"""
|
|
102
|
+
Type specifies the type of the Kubernetes secret object, e.g. "Opaque" or"kubernetes.io/tls". The controller must have permission to create secrets of the specified type.
|
|
103
|
+
"""
|
|
104
|
+
return pulumi.get(self, "kubernetes_secret_type")
|
|
105
|
+
|
|
106
|
+
@property
|
|
107
|
+
@pulumi.getter
|
|
108
|
+
def location(self) -> str:
|
|
109
|
+
"""
|
|
110
|
+
The geo-location where the resource lives
|
|
111
|
+
"""
|
|
112
|
+
return pulumi.get(self, "location")
|
|
113
|
+
|
|
114
|
+
@property
|
|
115
|
+
@pulumi.getter
|
|
116
|
+
def name(self) -> str:
|
|
117
|
+
"""
|
|
118
|
+
The name of the resource
|
|
119
|
+
"""
|
|
120
|
+
return pulumi.get(self, "name")
|
|
121
|
+
|
|
122
|
+
@property
|
|
123
|
+
@pulumi.getter(name="objectSecretMapping")
|
|
124
|
+
def object_secret_mapping(self) -> Sequence['outputs.KubernetesSecretObjectMappingResponse']:
|
|
125
|
+
"""
|
|
126
|
+
An array of SecretObjectData that maps secret data from the external secret provider to the Kubernetes secret. Each entry specifies the source secret in the external provider and the corresponding key in the Kubernetes secret.
|
|
127
|
+
"""
|
|
128
|
+
return pulumi.get(self, "object_secret_mapping")
|
|
129
|
+
|
|
130
|
+
@property
|
|
131
|
+
@pulumi.getter(name="provisioningState")
|
|
132
|
+
def provisioning_state(self) -> str:
|
|
133
|
+
"""
|
|
134
|
+
Provisioning state of the SecretSync instance.
|
|
135
|
+
"""
|
|
136
|
+
return pulumi.get(self, "provisioning_state")
|
|
137
|
+
|
|
138
|
+
@property
|
|
139
|
+
@pulumi.getter(name="secretProviderClassName")
|
|
140
|
+
def secret_provider_class_name(self) -> str:
|
|
141
|
+
"""
|
|
142
|
+
SecretProviderClassName specifies the name of the SecretProviderClass resource, which contains the information needed to access the cloud provider secret store.
|
|
143
|
+
"""
|
|
144
|
+
return pulumi.get(self, "secret_provider_class_name")
|
|
145
|
+
|
|
146
|
+
@property
|
|
147
|
+
@pulumi.getter(name="serviceAccountName")
|
|
148
|
+
def service_account_name(self) -> str:
|
|
149
|
+
"""
|
|
150
|
+
ServiceAccountName specifies the name of the service account used to access the cloud provider secret store. The audience field in the service account token must be passed as parameter in the controller configuration. The audience is used when requesting a token from the API server for the service account; the supported audiences are defined by each provider.
|
|
151
|
+
"""
|
|
152
|
+
return pulumi.get(self, "service_account_name")
|
|
153
|
+
|
|
154
|
+
@property
|
|
155
|
+
@pulumi.getter
|
|
156
|
+
def status(self) -> 'outputs.SecretSyncStatusResponse':
|
|
157
|
+
"""
|
|
158
|
+
SecretSyncStatus defines the observed state of the secret synchronization process.
|
|
159
|
+
"""
|
|
160
|
+
return pulumi.get(self, "status")
|
|
161
|
+
|
|
162
|
+
@property
|
|
163
|
+
@pulumi.getter(name="systemData")
|
|
164
|
+
def system_data(self) -> 'outputs.SystemDataResponse':
|
|
165
|
+
"""
|
|
166
|
+
Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
167
|
+
"""
|
|
168
|
+
return pulumi.get(self, "system_data")
|
|
169
|
+
|
|
170
|
+
@property
|
|
171
|
+
@pulumi.getter
|
|
172
|
+
def tags(self) -> Optional[Mapping[str, str]]:
|
|
173
|
+
"""
|
|
174
|
+
Resource tags.
|
|
175
|
+
"""
|
|
176
|
+
return pulumi.get(self, "tags")
|
|
177
|
+
|
|
178
|
+
@property
|
|
179
|
+
@pulumi.getter
|
|
180
|
+
def type(self) -> str:
|
|
181
|
+
"""
|
|
182
|
+
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
183
|
+
"""
|
|
184
|
+
return pulumi.get(self, "type")
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
class AwaitableGetSecretSyncResult(GetSecretSyncResult):
|
|
188
|
+
# pylint: disable=using-constant-test
|
|
189
|
+
def __await__(self):
|
|
190
|
+
if False:
|
|
191
|
+
yield self
|
|
192
|
+
return GetSecretSyncResult(
|
|
193
|
+
extended_location=self.extended_location,
|
|
194
|
+
force_synchronization=self.force_synchronization,
|
|
195
|
+
id=self.id,
|
|
196
|
+
kubernetes_secret_type=self.kubernetes_secret_type,
|
|
197
|
+
location=self.location,
|
|
198
|
+
name=self.name,
|
|
199
|
+
object_secret_mapping=self.object_secret_mapping,
|
|
200
|
+
provisioning_state=self.provisioning_state,
|
|
201
|
+
secret_provider_class_name=self.secret_provider_class_name,
|
|
202
|
+
service_account_name=self.service_account_name,
|
|
203
|
+
status=self.status,
|
|
204
|
+
system_data=self.system_data,
|
|
205
|
+
tags=self.tags,
|
|
206
|
+
type=self.type)
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
def get_secret_sync(resource_group_name: Optional[str] = None,
|
|
210
|
+
secret_sync_name: Optional[str] = None,
|
|
211
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecretSyncResult:
|
|
212
|
+
"""
|
|
213
|
+
Gets the properties of a SecretSync instance.
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
217
|
+
:param str secret_sync_name: The name of the SecretSync
|
|
218
|
+
"""
|
|
219
|
+
__args__ = dict()
|
|
220
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
221
|
+
__args__['secretSyncName'] = secret_sync_name
|
|
222
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
223
|
+
__ret__ = pulumi.runtime.invoke('azure-native:secretsynccontroller/v20240821preview:getSecretSync', __args__, opts=opts, typ=GetSecretSyncResult).value
|
|
224
|
+
|
|
225
|
+
return AwaitableGetSecretSyncResult(
|
|
226
|
+
extended_location=pulumi.get(__ret__, 'extended_location'),
|
|
227
|
+
force_synchronization=pulumi.get(__ret__, 'force_synchronization'),
|
|
228
|
+
id=pulumi.get(__ret__, 'id'),
|
|
229
|
+
kubernetes_secret_type=pulumi.get(__ret__, 'kubernetes_secret_type'),
|
|
230
|
+
location=pulumi.get(__ret__, 'location'),
|
|
231
|
+
name=pulumi.get(__ret__, 'name'),
|
|
232
|
+
object_secret_mapping=pulumi.get(__ret__, 'object_secret_mapping'),
|
|
233
|
+
provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
|
|
234
|
+
secret_provider_class_name=pulumi.get(__ret__, 'secret_provider_class_name'),
|
|
235
|
+
service_account_name=pulumi.get(__ret__, 'service_account_name'),
|
|
236
|
+
status=pulumi.get(__ret__, 'status'),
|
|
237
|
+
system_data=pulumi.get(__ret__, 'system_data'),
|
|
238
|
+
tags=pulumi.get(__ret__, 'tags'),
|
|
239
|
+
type=pulumi.get(__ret__, 'type'))
|
|
240
|
+
def get_secret_sync_output(resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
241
|
+
secret_sync_name: Optional[pulumi.Input[str]] = None,
|
|
242
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecretSyncResult]:
|
|
243
|
+
"""
|
|
244
|
+
Gets the properties of a SecretSync instance.
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
248
|
+
:param str secret_sync_name: The name of the SecretSync
|
|
249
|
+
"""
|
|
250
|
+
__args__ = dict()
|
|
251
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
252
|
+
__args__['secretSyncName'] = secret_sync_name
|
|
253
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
254
|
+
__ret__ = pulumi.runtime.invoke_output('azure-native:secretsynccontroller/v20240821preview:getSecretSync', __args__, opts=opts, typ=GetSecretSyncResult)
|
|
255
|
+
return __ret__.apply(lambda __response__: GetSecretSyncResult(
|
|
256
|
+
extended_location=pulumi.get(__response__, 'extended_location'),
|
|
257
|
+
force_synchronization=pulumi.get(__response__, 'force_synchronization'),
|
|
258
|
+
id=pulumi.get(__response__, 'id'),
|
|
259
|
+
kubernetes_secret_type=pulumi.get(__response__, 'kubernetes_secret_type'),
|
|
260
|
+
location=pulumi.get(__response__, 'location'),
|
|
261
|
+
name=pulumi.get(__response__, 'name'),
|
|
262
|
+
object_secret_mapping=pulumi.get(__response__, 'object_secret_mapping'),
|
|
263
|
+
provisioning_state=pulumi.get(__response__, 'provisioning_state'),
|
|
264
|
+
secret_provider_class_name=pulumi.get(__response__, 'secret_provider_class_name'),
|
|
265
|
+
service_account_name=pulumi.get(__response__, 'service_account_name'),
|
|
266
|
+
status=pulumi.get(__response__, 'status'),
|
|
267
|
+
system_data=pulumi.get(__response__, 'system_data'),
|
|
268
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
269
|
+
type=pulumi.get(__response__, 'type')))
|
|
@@ -0,0 +1,367 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
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 sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from ... import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
from ._enums import *
|
|
18
|
+
|
|
19
|
+
__all__ = [
|
|
20
|
+
'AzureResourceManagerCommonTypesExtendedLocationResponse',
|
|
21
|
+
'KubernetesSecretObjectMappingResponse',
|
|
22
|
+
'SecretSyncConditionResponse',
|
|
23
|
+
'SecretSyncStatusResponse',
|
|
24
|
+
'SystemDataResponse',
|
|
25
|
+
]
|
|
26
|
+
|
|
27
|
+
@pulumi.output_type
|
|
28
|
+
class AzureResourceManagerCommonTypesExtendedLocationResponse(dict):
|
|
29
|
+
"""
|
|
30
|
+
The complex type of the extended location.
|
|
31
|
+
"""
|
|
32
|
+
def __init__(__self__, *,
|
|
33
|
+
name: str,
|
|
34
|
+
type: str):
|
|
35
|
+
"""
|
|
36
|
+
The complex type of the extended location.
|
|
37
|
+
:param str name: The name of the extended location.
|
|
38
|
+
:param str type: The type of the extended location.
|
|
39
|
+
"""
|
|
40
|
+
pulumi.set(__self__, "name", name)
|
|
41
|
+
pulumi.set(__self__, "type", type)
|
|
42
|
+
|
|
43
|
+
@property
|
|
44
|
+
@pulumi.getter
|
|
45
|
+
def name(self) -> str:
|
|
46
|
+
"""
|
|
47
|
+
The name of the extended location.
|
|
48
|
+
"""
|
|
49
|
+
return pulumi.get(self, "name")
|
|
50
|
+
|
|
51
|
+
@property
|
|
52
|
+
@pulumi.getter
|
|
53
|
+
def type(self) -> str:
|
|
54
|
+
"""
|
|
55
|
+
The type of the extended location.
|
|
56
|
+
"""
|
|
57
|
+
return pulumi.get(self, "type")
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
@pulumi.output_type
|
|
61
|
+
class KubernetesSecretObjectMappingResponse(dict):
|
|
62
|
+
"""
|
|
63
|
+
Properties defining the mapping between a cloud secret store object and a Kubernetes Secret.
|
|
64
|
+
"""
|
|
65
|
+
@staticmethod
|
|
66
|
+
def __key_warning(key: str):
|
|
67
|
+
suggest = None
|
|
68
|
+
if key == "sourcePath":
|
|
69
|
+
suggest = "source_path"
|
|
70
|
+
elif key == "targetKey":
|
|
71
|
+
suggest = "target_key"
|
|
72
|
+
|
|
73
|
+
if suggest:
|
|
74
|
+
pulumi.log.warn(f"Key '{key}' not found in KubernetesSecretObjectMappingResponse. Access the value via the '{suggest}' property getter instead.")
|
|
75
|
+
|
|
76
|
+
def __getitem__(self, key: str) -> Any:
|
|
77
|
+
KubernetesSecretObjectMappingResponse.__key_warning(key)
|
|
78
|
+
return super().__getitem__(key)
|
|
79
|
+
|
|
80
|
+
def get(self, key: str, default = None) -> Any:
|
|
81
|
+
KubernetesSecretObjectMappingResponse.__key_warning(key)
|
|
82
|
+
return super().get(key, default)
|
|
83
|
+
|
|
84
|
+
def __init__(__self__, *,
|
|
85
|
+
source_path: str,
|
|
86
|
+
target_key: str):
|
|
87
|
+
"""
|
|
88
|
+
Properties defining the mapping between a cloud secret store object and a Kubernetes Secret.
|
|
89
|
+
:param str source_path: SourcePath is the identifier for the secret data as defined by the external secret provider. This is the key or path to the secret in the provider's system, which gets mounted to a specific path in the pod. The value should match the name of the secret as specified in the SecretProviderClass's objects array.
|
|
90
|
+
:param str target_key: TargetKey is the key in the Kubernetes secret's data field where the secret value will be stored. This key is used to reference the secret data within Kubernetes, and it should be unique within the secret.
|
|
91
|
+
"""
|
|
92
|
+
pulumi.set(__self__, "source_path", source_path)
|
|
93
|
+
pulumi.set(__self__, "target_key", target_key)
|
|
94
|
+
|
|
95
|
+
@property
|
|
96
|
+
@pulumi.getter(name="sourcePath")
|
|
97
|
+
def source_path(self) -> str:
|
|
98
|
+
"""
|
|
99
|
+
SourcePath is the identifier for the secret data as defined by the external secret provider. This is the key or path to the secret in the provider's system, which gets mounted to a specific path in the pod. The value should match the name of the secret as specified in the SecretProviderClass's objects array.
|
|
100
|
+
"""
|
|
101
|
+
return pulumi.get(self, "source_path")
|
|
102
|
+
|
|
103
|
+
@property
|
|
104
|
+
@pulumi.getter(name="targetKey")
|
|
105
|
+
def target_key(self) -> str:
|
|
106
|
+
"""
|
|
107
|
+
TargetKey is the key in the Kubernetes secret's data field where the secret value will be stored. This key is used to reference the secret data within Kubernetes, and it should be unique within the secret.
|
|
108
|
+
"""
|
|
109
|
+
return pulumi.get(self, "target_key")
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
@pulumi.output_type
|
|
113
|
+
class SecretSyncConditionResponse(dict):
|
|
114
|
+
"""
|
|
115
|
+
A condition represents the status of the secret create and update processes.
|
|
116
|
+
"""
|
|
117
|
+
@staticmethod
|
|
118
|
+
def __key_warning(key: str):
|
|
119
|
+
suggest = None
|
|
120
|
+
if key == "lastTransitionTime":
|
|
121
|
+
suggest = "last_transition_time"
|
|
122
|
+
elif key == "observedGeneration":
|
|
123
|
+
suggest = "observed_generation"
|
|
124
|
+
|
|
125
|
+
if suggest:
|
|
126
|
+
pulumi.log.warn(f"Key '{key}' not found in SecretSyncConditionResponse. Access the value via the '{suggest}' property getter instead.")
|
|
127
|
+
|
|
128
|
+
def __getitem__(self, key: str) -> Any:
|
|
129
|
+
SecretSyncConditionResponse.__key_warning(key)
|
|
130
|
+
return super().__getitem__(key)
|
|
131
|
+
|
|
132
|
+
def get(self, key: str, default = None) -> Any:
|
|
133
|
+
SecretSyncConditionResponse.__key_warning(key)
|
|
134
|
+
return super().get(key, default)
|
|
135
|
+
|
|
136
|
+
def __init__(__self__, *,
|
|
137
|
+
last_transition_time: str,
|
|
138
|
+
message: str,
|
|
139
|
+
observed_generation: float,
|
|
140
|
+
reason: str,
|
|
141
|
+
status: str,
|
|
142
|
+
type: str):
|
|
143
|
+
"""
|
|
144
|
+
A condition represents the status of the secret create and update processes.
|
|
145
|
+
:param str last_transition_time: LastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
|
|
146
|
+
:param str message: Message is a human readable message indicating details about the transition. This may be an empty string.
|
|
147
|
+
:param float observed_generation: ObservedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
|
|
148
|
+
:param str reason: Reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.
|
|
149
|
+
:param str status: Status of the condition, one of True, False, Unknown.
|
|
150
|
+
:param str type: Type of condition in CamelCase or in foo.example.com/CamelCase. Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to de-conflict is important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
|
|
151
|
+
"""
|
|
152
|
+
pulumi.set(__self__, "last_transition_time", last_transition_time)
|
|
153
|
+
pulumi.set(__self__, "message", message)
|
|
154
|
+
pulumi.set(__self__, "observed_generation", observed_generation)
|
|
155
|
+
pulumi.set(__self__, "reason", reason)
|
|
156
|
+
pulumi.set(__self__, "status", status)
|
|
157
|
+
pulumi.set(__self__, "type", type)
|
|
158
|
+
|
|
159
|
+
@property
|
|
160
|
+
@pulumi.getter(name="lastTransitionTime")
|
|
161
|
+
def last_transition_time(self) -> str:
|
|
162
|
+
"""
|
|
163
|
+
LastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
|
|
164
|
+
"""
|
|
165
|
+
return pulumi.get(self, "last_transition_time")
|
|
166
|
+
|
|
167
|
+
@property
|
|
168
|
+
@pulumi.getter
|
|
169
|
+
def message(self) -> str:
|
|
170
|
+
"""
|
|
171
|
+
Message is a human readable message indicating details about the transition. This may be an empty string.
|
|
172
|
+
"""
|
|
173
|
+
return pulumi.get(self, "message")
|
|
174
|
+
|
|
175
|
+
@property
|
|
176
|
+
@pulumi.getter(name="observedGeneration")
|
|
177
|
+
def observed_generation(self) -> float:
|
|
178
|
+
"""
|
|
179
|
+
ObservedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
|
|
180
|
+
"""
|
|
181
|
+
return pulumi.get(self, "observed_generation")
|
|
182
|
+
|
|
183
|
+
@property
|
|
184
|
+
@pulumi.getter
|
|
185
|
+
def reason(self) -> str:
|
|
186
|
+
"""
|
|
187
|
+
Reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.
|
|
188
|
+
"""
|
|
189
|
+
return pulumi.get(self, "reason")
|
|
190
|
+
|
|
191
|
+
@property
|
|
192
|
+
@pulumi.getter
|
|
193
|
+
def status(self) -> str:
|
|
194
|
+
"""
|
|
195
|
+
Status of the condition, one of True, False, Unknown.
|
|
196
|
+
"""
|
|
197
|
+
return pulumi.get(self, "status")
|
|
198
|
+
|
|
199
|
+
@property
|
|
200
|
+
@pulumi.getter
|
|
201
|
+
def type(self) -> str:
|
|
202
|
+
"""
|
|
203
|
+
Type of condition in CamelCase or in foo.example.com/CamelCase. Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to de-conflict is important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
|
|
204
|
+
"""
|
|
205
|
+
return pulumi.get(self, "type")
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
@pulumi.output_type
|
|
209
|
+
class SecretSyncStatusResponse(dict):
|
|
210
|
+
"""
|
|
211
|
+
SecretSyncStatus defines the observed state of the secret synchronization process.
|
|
212
|
+
"""
|
|
213
|
+
@staticmethod
|
|
214
|
+
def __key_warning(key: str):
|
|
215
|
+
suggest = None
|
|
216
|
+
if key == "lastSuccessfulSyncTime":
|
|
217
|
+
suggest = "last_successful_sync_time"
|
|
218
|
+
|
|
219
|
+
if suggest:
|
|
220
|
+
pulumi.log.warn(f"Key '{key}' not found in SecretSyncStatusResponse. Access the value via the '{suggest}' property getter instead.")
|
|
221
|
+
|
|
222
|
+
def __getitem__(self, key: str) -> Any:
|
|
223
|
+
SecretSyncStatusResponse.__key_warning(key)
|
|
224
|
+
return super().__getitem__(key)
|
|
225
|
+
|
|
226
|
+
def get(self, key: str, default = None) -> Any:
|
|
227
|
+
SecretSyncStatusResponse.__key_warning(key)
|
|
228
|
+
return super().get(key, default)
|
|
229
|
+
|
|
230
|
+
def __init__(__self__, *,
|
|
231
|
+
conditions: Sequence['outputs.SecretSyncConditionResponse'],
|
|
232
|
+
last_successful_sync_time: str):
|
|
233
|
+
"""
|
|
234
|
+
SecretSyncStatus defines the observed state of the secret synchronization process.
|
|
235
|
+
:param Sequence['SecretSyncConditionResponse'] conditions: Conditions represent the status of the secret create and update processes. The status can be True, False, or Unknown with various reasons and messages explaining the state. Examples of reasons include CreateSucceeded, ProviderError, InvalidClusterSecretLabelError, InvalidClusterSecretAnnotationError, UnknownError, ValidatingAdmissionPolicyCheckFailed, UserInputValidationFailed, ControllerSpcError, ControllerInternalError, NoValueChange, and ValueChangeOrForceUpdateDetected.
|
|
236
|
+
:param str last_successful_sync_time: LastSuccessfulSyncTime represents the last time the secret was retrieved from the Provider and updated.
|
|
237
|
+
"""
|
|
238
|
+
pulumi.set(__self__, "conditions", conditions)
|
|
239
|
+
pulumi.set(__self__, "last_successful_sync_time", last_successful_sync_time)
|
|
240
|
+
|
|
241
|
+
@property
|
|
242
|
+
@pulumi.getter
|
|
243
|
+
def conditions(self) -> Sequence['outputs.SecretSyncConditionResponse']:
|
|
244
|
+
"""
|
|
245
|
+
Conditions represent the status of the secret create and update processes. The status can be True, False, or Unknown with various reasons and messages explaining the state. Examples of reasons include CreateSucceeded, ProviderError, InvalidClusterSecretLabelError, InvalidClusterSecretAnnotationError, UnknownError, ValidatingAdmissionPolicyCheckFailed, UserInputValidationFailed, ControllerSpcError, ControllerInternalError, NoValueChange, and ValueChangeOrForceUpdateDetected.
|
|
246
|
+
"""
|
|
247
|
+
return pulumi.get(self, "conditions")
|
|
248
|
+
|
|
249
|
+
@property
|
|
250
|
+
@pulumi.getter(name="lastSuccessfulSyncTime")
|
|
251
|
+
def last_successful_sync_time(self) -> str:
|
|
252
|
+
"""
|
|
253
|
+
LastSuccessfulSyncTime represents the last time the secret was retrieved from the Provider and updated.
|
|
254
|
+
"""
|
|
255
|
+
return pulumi.get(self, "last_successful_sync_time")
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
@pulumi.output_type
|
|
259
|
+
class SystemDataResponse(dict):
|
|
260
|
+
"""
|
|
261
|
+
Metadata pertaining to creation and last modification of the resource.
|
|
262
|
+
"""
|
|
263
|
+
@staticmethod
|
|
264
|
+
def __key_warning(key: str):
|
|
265
|
+
suggest = None
|
|
266
|
+
if key == "createdAt":
|
|
267
|
+
suggest = "created_at"
|
|
268
|
+
elif key == "createdBy":
|
|
269
|
+
suggest = "created_by"
|
|
270
|
+
elif key == "createdByType":
|
|
271
|
+
suggest = "created_by_type"
|
|
272
|
+
elif key == "lastModifiedAt":
|
|
273
|
+
suggest = "last_modified_at"
|
|
274
|
+
elif key == "lastModifiedBy":
|
|
275
|
+
suggest = "last_modified_by"
|
|
276
|
+
elif key == "lastModifiedByType":
|
|
277
|
+
suggest = "last_modified_by_type"
|
|
278
|
+
|
|
279
|
+
if suggest:
|
|
280
|
+
pulumi.log.warn(f"Key '{key}' not found in SystemDataResponse. Access the value via the '{suggest}' property getter instead.")
|
|
281
|
+
|
|
282
|
+
def __getitem__(self, key: str) -> Any:
|
|
283
|
+
SystemDataResponse.__key_warning(key)
|
|
284
|
+
return super().__getitem__(key)
|
|
285
|
+
|
|
286
|
+
def get(self, key: str, default = None) -> Any:
|
|
287
|
+
SystemDataResponse.__key_warning(key)
|
|
288
|
+
return super().get(key, default)
|
|
289
|
+
|
|
290
|
+
def __init__(__self__, *,
|
|
291
|
+
created_at: Optional[str] = None,
|
|
292
|
+
created_by: Optional[str] = None,
|
|
293
|
+
created_by_type: Optional[str] = None,
|
|
294
|
+
last_modified_at: Optional[str] = None,
|
|
295
|
+
last_modified_by: Optional[str] = None,
|
|
296
|
+
last_modified_by_type: Optional[str] = None):
|
|
297
|
+
"""
|
|
298
|
+
Metadata pertaining to creation and last modification of the resource.
|
|
299
|
+
:param str created_at: The timestamp of resource creation (UTC).
|
|
300
|
+
:param str created_by: The identity that created the resource.
|
|
301
|
+
:param str created_by_type: The type of identity that created the resource.
|
|
302
|
+
:param str last_modified_at: The timestamp of resource last modification (UTC)
|
|
303
|
+
:param str last_modified_by: The identity that last modified the resource.
|
|
304
|
+
:param str last_modified_by_type: The type of identity that last modified the resource.
|
|
305
|
+
"""
|
|
306
|
+
if created_at is not None:
|
|
307
|
+
pulumi.set(__self__, "created_at", created_at)
|
|
308
|
+
if created_by is not None:
|
|
309
|
+
pulumi.set(__self__, "created_by", created_by)
|
|
310
|
+
if created_by_type is not None:
|
|
311
|
+
pulumi.set(__self__, "created_by_type", created_by_type)
|
|
312
|
+
if last_modified_at is not None:
|
|
313
|
+
pulumi.set(__self__, "last_modified_at", last_modified_at)
|
|
314
|
+
if last_modified_by is not None:
|
|
315
|
+
pulumi.set(__self__, "last_modified_by", last_modified_by)
|
|
316
|
+
if last_modified_by_type is not None:
|
|
317
|
+
pulumi.set(__self__, "last_modified_by_type", last_modified_by_type)
|
|
318
|
+
|
|
319
|
+
@property
|
|
320
|
+
@pulumi.getter(name="createdAt")
|
|
321
|
+
def created_at(self) -> Optional[str]:
|
|
322
|
+
"""
|
|
323
|
+
The timestamp of resource creation (UTC).
|
|
324
|
+
"""
|
|
325
|
+
return pulumi.get(self, "created_at")
|
|
326
|
+
|
|
327
|
+
@property
|
|
328
|
+
@pulumi.getter(name="createdBy")
|
|
329
|
+
def created_by(self) -> Optional[str]:
|
|
330
|
+
"""
|
|
331
|
+
The identity that created the resource.
|
|
332
|
+
"""
|
|
333
|
+
return pulumi.get(self, "created_by")
|
|
334
|
+
|
|
335
|
+
@property
|
|
336
|
+
@pulumi.getter(name="createdByType")
|
|
337
|
+
def created_by_type(self) -> Optional[str]:
|
|
338
|
+
"""
|
|
339
|
+
The type of identity that created the resource.
|
|
340
|
+
"""
|
|
341
|
+
return pulumi.get(self, "created_by_type")
|
|
342
|
+
|
|
343
|
+
@property
|
|
344
|
+
@pulumi.getter(name="lastModifiedAt")
|
|
345
|
+
def last_modified_at(self) -> Optional[str]:
|
|
346
|
+
"""
|
|
347
|
+
The timestamp of resource last modification (UTC)
|
|
348
|
+
"""
|
|
349
|
+
return pulumi.get(self, "last_modified_at")
|
|
350
|
+
|
|
351
|
+
@property
|
|
352
|
+
@pulumi.getter(name="lastModifiedBy")
|
|
353
|
+
def last_modified_by(self) -> Optional[str]:
|
|
354
|
+
"""
|
|
355
|
+
The identity that last modified the resource.
|
|
356
|
+
"""
|
|
357
|
+
return pulumi.get(self, "last_modified_by")
|
|
358
|
+
|
|
359
|
+
@property
|
|
360
|
+
@pulumi.getter(name="lastModifiedByType")
|
|
361
|
+
def last_modified_by_type(self) -> Optional[str]:
|
|
362
|
+
"""
|
|
363
|
+
The type of identity that last modified the resource.
|
|
364
|
+
"""
|
|
365
|
+
return pulumi.get(self, "last_modified_by_type")
|
|
366
|
+
|
|
367
|
+
|