pulumi-azure-native 2.68.0a1729267188__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.

Files changed (22) hide show
  1. pulumi_azure_native/__init__.py +21 -0
  2. pulumi_azure_native/pulumi-plugin.json +1 -1
  3. pulumi_azure_native/secretsynccontroller/__init__.py +22 -0
  4. pulumi_azure_native/secretsynccontroller/_enums.py +38 -0
  5. pulumi_azure_native/secretsynccontroller/_inputs.py +134 -0
  6. pulumi_azure_native/secretsynccontroller/azure_key_vault_secret_provider_class.py +389 -0
  7. pulumi_azure_native/secretsynccontroller/get_azure_key_vault_secret_provider_class.py +243 -0
  8. pulumi_azure_native/secretsynccontroller/get_secret_sync.py +271 -0
  9. pulumi_azure_native/secretsynccontroller/outputs.py +367 -0
  10. pulumi_azure_native/secretsynccontroller/secret_sync.py +429 -0
  11. pulumi_azure_native/secretsynccontroller/v20240821preview/__init__.py +14 -0
  12. pulumi_azure_native/secretsynccontroller/v20240821preview/_enums.py +38 -0
  13. pulumi_azure_native/secretsynccontroller/v20240821preview/_inputs.py +134 -0
  14. pulumi_azure_native/secretsynccontroller/v20240821preview/azure_key_vault_secret_provider_class.py +387 -0
  15. pulumi_azure_native/secretsynccontroller/v20240821preview/get_azure_key_vault_secret_provider_class.py +241 -0
  16. pulumi_azure_native/secretsynccontroller/v20240821preview/get_secret_sync.py +269 -0
  17. pulumi_azure_native/secretsynccontroller/v20240821preview/outputs.py +367 -0
  18. pulumi_azure_native/secretsynccontroller/v20240821preview/secret_sync.py +427 -0
  19. {pulumi_azure_native-2.68.0a1729267188.dist-info → pulumi_azure_native-2.68.0a1729519840.dist-info}/METADATA +1 -1
  20. {pulumi_azure_native-2.68.0a1729267188.dist-info → pulumi_azure_native-2.68.0a1729519840.dist-info}/RECORD +22 -6
  21. {pulumi_azure_native-2.68.0a1729267188.dist-info → pulumi_azure_native-2.68.0a1729519840.dist-info}/WHEEL +0 -0
  22. {pulumi_azure_native-2.68.0a1729267188.dist-info → pulumi_azure_native-2.68.0a1729519840.dist-info}/top_level.txt +0 -0
@@ -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
+