pulumiverse-cpln 0.0.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.
Files changed (44) hide show
  1. pulumiverse_cpln/__init__.py +241 -0
  2. pulumiverse_cpln/_inputs.py +18692 -0
  3. pulumiverse_cpln/_utilities.py +331 -0
  4. pulumiverse_cpln/agent.py +330 -0
  5. pulumiverse_cpln/audit_context.py +300 -0
  6. pulumiverse_cpln/cloud_account.py +546 -0
  7. pulumiverse_cpln/config/__init__.py +9 -0
  8. pulumiverse_cpln/config/__init__.pyi +48 -0
  9. pulumiverse_cpln/config/vars.py +64 -0
  10. pulumiverse_cpln/custom_location.py +424 -0
  11. pulumiverse_cpln/domain.py +377 -0
  12. pulumiverse_cpln/domain_route.py +645 -0
  13. pulumiverse_cpln/get_cloud_account.py +107 -0
  14. pulumiverse_cpln/get_gvc.py +423 -0
  15. pulumiverse_cpln/get_image.py +284 -0
  16. pulumiverse_cpln/get_images.py +261 -0
  17. pulumiverse_cpln/get_location.py +273 -0
  18. pulumiverse_cpln/get_locations.py +171 -0
  19. pulumiverse_cpln/get_org.py +250 -0
  20. pulumiverse_cpln/get_secret.py +555 -0
  21. pulumiverse_cpln/group.py +539 -0
  22. pulumiverse_cpln/gvc.py +771 -0
  23. pulumiverse_cpln/identity.py +688 -0
  24. pulumiverse_cpln/ip_set.py +521 -0
  25. pulumiverse_cpln/location.py +435 -0
  26. pulumiverse_cpln/mk8s.py +848 -0
  27. pulumiverse_cpln/mk8s_kubeconfig.py +362 -0
  28. pulumiverse_cpln/org.py +594 -0
  29. pulumiverse_cpln/org_logging.py +616 -0
  30. pulumiverse_cpln/org_tracing.py +347 -0
  31. pulumiverse_cpln/outputs.py +14498 -0
  32. pulumiverse_cpln/policy.py +620 -0
  33. pulumiverse_cpln/provider.py +271 -0
  34. pulumiverse_cpln/pulumi-plugin.json +5 -0
  35. pulumiverse_cpln/py.typed +0 -0
  36. pulumiverse_cpln/secret.py +915 -0
  37. pulumiverse_cpln/service_account.py +328 -0
  38. pulumiverse_cpln/service_account_key.py +285 -0
  39. pulumiverse_cpln/volume_set.py +765 -0
  40. pulumiverse_cpln/workload.py +1033 -0
  41. pulumiverse_cpln-0.0.0.dist-info/METADATA +83 -0
  42. pulumiverse_cpln-0.0.0.dist-info/RECORD +44 -0
  43. pulumiverse_cpln-0.0.0.dist-info/WHEEL +5 -0
  44. pulumiverse_cpln-0.0.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,594 @@
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 builtins
6
+ import copy
7
+ import warnings
8
+ import sys
9
+ import pulumi
10
+ import pulumi.runtime
11
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
12
+ if sys.version_info >= (3, 11):
13
+ from typing import NotRequired, TypedDict, TypeAlias
14
+ else:
15
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
16
+ from . import _utilities
17
+ from . import outputs
18
+ from ._inputs import *
19
+
20
+ __all__ = ['OrgArgs', 'Org']
21
+
22
+ @pulumi.input_type
23
+ class OrgArgs:
24
+ def __init__(__self__, *,
25
+ account_id: Optional[pulumi.Input[builtins.str]] = None,
26
+ auth_config: Optional[pulumi.Input['OrgAuthConfigArgs']] = None,
27
+ description: Optional[pulumi.Input[builtins.str]] = None,
28
+ invitees: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
29
+ observability: Optional[pulumi.Input['OrgObservabilityArgs']] = None,
30
+ security: Optional[pulumi.Input['OrgSecurityArgs']] = None,
31
+ session_timeout_seconds: Optional[pulumi.Input[builtins.int]] = None,
32
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None):
33
+ """
34
+ The set of arguments for constructing a Org resource.
35
+ :param pulumi.Input[builtins.str] account_id: The associated account ID that will be used when creating the org. Only used on org creation. The account ID can be
36
+ obtained from the `Org Management & Billing` page.
37
+ :param pulumi.Input['OrgAuthConfigArgs'] auth_config: The configuration settings and parameters related to authentication within the org.
38
+ :param pulumi.Input[builtins.str] description: Description of the Organization.
39
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] invitees: When an org is created, the list of email addresses which will receive an invitation to join the org and be assigned to
40
+ the `superusers` group. The user account used when creating the org will be included in this list.
41
+ :param pulumi.Input['OrgObservabilityArgs'] observability: The retention period (in days) for logs, metrics, and traces. Charges apply for storage beyond the 30 day default.
42
+ :param pulumi.Input[builtins.int] session_timeout_seconds: The idle time (in seconds) in which the console UI will automatically sign-out the user. Default: 900 (15 minutes)
43
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: Key-value map of resource tags.
44
+ """
45
+ if account_id is not None:
46
+ pulumi.set(__self__, "account_id", account_id)
47
+ if auth_config is not None:
48
+ pulumi.set(__self__, "auth_config", auth_config)
49
+ if description is not None:
50
+ pulumi.set(__self__, "description", description)
51
+ if invitees is not None:
52
+ pulumi.set(__self__, "invitees", invitees)
53
+ if observability is not None:
54
+ pulumi.set(__self__, "observability", observability)
55
+ if security is not None:
56
+ pulumi.set(__self__, "security", security)
57
+ if session_timeout_seconds is not None:
58
+ pulumi.set(__self__, "session_timeout_seconds", session_timeout_seconds)
59
+ if tags is not None:
60
+ pulumi.set(__self__, "tags", tags)
61
+
62
+ @property
63
+ @pulumi.getter(name="accountId")
64
+ def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
65
+ """
66
+ The associated account ID that will be used when creating the org. Only used on org creation. The account ID can be
67
+ obtained from the `Org Management & Billing` page.
68
+ """
69
+ return pulumi.get(self, "account_id")
70
+
71
+ @account_id.setter
72
+ def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
73
+ pulumi.set(self, "account_id", value)
74
+
75
+ @property
76
+ @pulumi.getter(name="authConfig")
77
+ def auth_config(self) -> Optional[pulumi.Input['OrgAuthConfigArgs']]:
78
+ """
79
+ The configuration settings and parameters related to authentication within the org.
80
+ """
81
+ return pulumi.get(self, "auth_config")
82
+
83
+ @auth_config.setter
84
+ def auth_config(self, value: Optional[pulumi.Input['OrgAuthConfigArgs']]):
85
+ pulumi.set(self, "auth_config", value)
86
+
87
+ @property
88
+ @pulumi.getter
89
+ def description(self) -> Optional[pulumi.Input[builtins.str]]:
90
+ """
91
+ Description of the Organization.
92
+ """
93
+ return pulumi.get(self, "description")
94
+
95
+ @description.setter
96
+ def description(self, value: Optional[pulumi.Input[builtins.str]]):
97
+ pulumi.set(self, "description", value)
98
+
99
+ @property
100
+ @pulumi.getter
101
+ def invitees(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
102
+ """
103
+ When an org is created, the list of email addresses which will receive an invitation to join the org and be assigned to
104
+ the `superusers` group. The user account used when creating the org will be included in this list.
105
+ """
106
+ return pulumi.get(self, "invitees")
107
+
108
+ @invitees.setter
109
+ def invitees(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
110
+ pulumi.set(self, "invitees", value)
111
+
112
+ @property
113
+ @pulumi.getter
114
+ def observability(self) -> Optional[pulumi.Input['OrgObservabilityArgs']]:
115
+ """
116
+ The retention period (in days) for logs, metrics, and traces. Charges apply for storage beyond the 30 day default.
117
+ """
118
+ return pulumi.get(self, "observability")
119
+
120
+ @observability.setter
121
+ def observability(self, value: Optional[pulumi.Input['OrgObservabilityArgs']]):
122
+ pulumi.set(self, "observability", value)
123
+
124
+ @property
125
+ @pulumi.getter
126
+ def security(self) -> Optional[pulumi.Input['OrgSecurityArgs']]:
127
+ return pulumi.get(self, "security")
128
+
129
+ @security.setter
130
+ def security(self, value: Optional[pulumi.Input['OrgSecurityArgs']]):
131
+ pulumi.set(self, "security", value)
132
+
133
+ @property
134
+ @pulumi.getter(name="sessionTimeoutSeconds")
135
+ def session_timeout_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
136
+ """
137
+ The idle time (in seconds) in which the console UI will automatically sign-out the user. Default: 900 (15 minutes)
138
+ """
139
+ return pulumi.get(self, "session_timeout_seconds")
140
+
141
+ @session_timeout_seconds.setter
142
+ def session_timeout_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
143
+ pulumi.set(self, "session_timeout_seconds", value)
144
+
145
+ @property
146
+ @pulumi.getter
147
+ def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
148
+ """
149
+ Key-value map of resource tags.
150
+ """
151
+ return pulumi.get(self, "tags")
152
+
153
+ @tags.setter
154
+ def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
155
+ pulumi.set(self, "tags", value)
156
+
157
+
158
+ @pulumi.input_type
159
+ class _OrgState:
160
+ def __init__(__self__, *,
161
+ account_id: Optional[pulumi.Input[builtins.str]] = None,
162
+ auth_config: Optional[pulumi.Input['OrgAuthConfigArgs']] = None,
163
+ cpln_id: Optional[pulumi.Input[builtins.str]] = None,
164
+ description: Optional[pulumi.Input[builtins.str]] = None,
165
+ invitees: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
166
+ name: Optional[pulumi.Input[builtins.str]] = None,
167
+ observability: Optional[pulumi.Input['OrgObservabilityArgs']] = None,
168
+ security: Optional[pulumi.Input['OrgSecurityArgs']] = None,
169
+ self_link: Optional[pulumi.Input[builtins.str]] = None,
170
+ session_timeout_seconds: Optional[pulumi.Input[builtins.int]] = None,
171
+ statuses: Optional[pulumi.Input[Sequence[pulumi.Input['OrgStatusArgs']]]] = None,
172
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None):
173
+ """
174
+ Input properties used for looking up and filtering Org resources.
175
+ :param pulumi.Input[builtins.str] account_id: The associated account ID that will be used when creating the org. Only used on org creation. The account ID can be
176
+ obtained from the `Org Management & Billing` page.
177
+ :param pulumi.Input['OrgAuthConfigArgs'] auth_config: The configuration settings and parameters related to authentication within the org.
178
+ :param pulumi.Input[builtins.str] cpln_id: The ID, in GUID format, of the Organization.
179
+ :param pulumi.Input[builtins.str] description: Description of the Organization.
180
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] invitees: When an org is created, the list of email addresses which will receive an invitation to join the org and be assigned to
181
+ the `superusers` group. The user account used when creating the org will be included in this list.
182
+ :param pulumi.Input[builtins.str] name: Name of the Organization.
183
+ :param pulumi.Input['OrgObservabilityArgs'] observability: The retention period (in days) for logs, metrics, and traces. Charges apply for storage beyond the 30 day default.
184
+ :param pulumi.Input[builtins.str] self_link: Full link to this resource. Can be referenced by other resources.
185
+ :param pulumi.Input[builtins.int] session_timeout_seconds: The idle time (in seconds) in which the console UI will automatically sign-out the user. Default: 900 (15 minutes)
186
+ :param pulumi.Input[Sequence[pulumi.Input['OrgStatusArgs']]] statuses: Status of the org.
187
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: Key-value map of resource tags.
188
+ """
189
+ if account_id is not None:
190
+ pulumi.set(__self__, "account_id", account_id)
191
+ if auth_config is not None:
192
+ pulumi.set(__self__, "auth_config", auth_config)
193
+ if cpln_id is not None:
194
+ pulumi.set(__self__, "cpln_id", cpln_id)
195
+ if description is not None:
196
+ pulumi.set(__self__, "description", description)
197
+ if invitees is not None:
198
+ pulumi.set(__self__, "invitees", invitees)
199
+ if name is not None:
200
+ pulumi.set(__self__, "name", name)
201
+ if observability is not None:
202
+ pulumi.set(__self__, "observability", observability)
203
+ if security is not None:
204
+ pulumi.set(__self__, "security", security)
205
+ if self_link is not None:
206
+ pulumi.set(__self__, "self_link", self_link)
207
+ if session_timeout_seconds is not None:
208
+ pulumi.set(__self__, "session_timeout_seconds", session_timeout_seconds)
209
+ if statuses is not None:
210
+ pulumi.set(__self__, "statuses", statuses)
211
+ if tags is not None:
212
+ pulumi.set(__self__, "tags", tags)
213
+
214
+ @property
215
+ @pulumi.getter(name="accountId")
216
+ def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
217
+ """
218
+ The associated account ID that will be used when creating the org. Only used on org creation. The account ID can be
219
+ obtained from the `Org Management & Billing` page.
220
+ """
221
+ return pulumi.get(self, "account_id")
222
+
223
+ @account_id.setter
224
+ def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
225
+ pulumi.set(self, "account_id", value)
226
+
227
+ @property
228
+ @pulumi.getter(name="authConfig")
229
+ def auth_config(self) -> Optional[pulumi.Input['OrgAuthConfigArgs']]:
230
+ """
231
+ The configuration settings and parameters related to authentication within the org.
232
+ """
233
+ return pulumi.get(self, "auth_config")
234
+
235
+ @auth_config.setter
236
+ def auth_config(self, value: Optional[pulumi.Input['OrgAuthConfigArgs']]):
237
+ pulumi.set(self, "auth_config", value)
238
+
239
+ @property
240
+ @pulumi.getter(name="cplnId")
241
+ def cpln_id(self) -> Optional[pulumi.Input[builtins.str]]:
242
+ """
243
+ The ID, in GUID format, of the Organization.
244
+ """
245
+ return pulumi.get(self, "cpln_id")
246
+
247
+ @cpln_id.setter
248
+ def cpln_id(self, value: Optional[pulumi.Input[builtins.str]]):
249
+ pulumi.set(self, "cpln_id", value)
250
+
251
+ @property
252
+ @pulumi.getter
253
+ def description(self) -> Optional[pulumi.Input[builtins.str]]:
254
+ """
255
+ Description of the Organization.
256
+ """
257
+ return pulumi.get(self, "description")
258
+
259
+ @description.setter
260
+ def description(self, value: Optional[pulumi.Input[builtins.str]]):
261
+ pulumi.set(self, "description", value)
262
+
263
+ @property
264
+ @pulumi.getter
265
+ def invitees(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
266
+ """
267
+ When an org is created, the list of email addresses which will receive an invitation to join the org and be assigned to
268
+ the `superusers` group. The user account used when creating the org will be included in this list.
269
+ """
270
+ return pulumi.get(self, "invitees")
271
+
272
+ @invitees.setter
273
+ def invitees(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
274
+ pulumi.set(self, "invitees", value)
275
+
276
+ @property
277
+ @pulumi.getter
278
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
279
+ """
280
+ Name of the Organization.
281
+ """
282
+ return pulumi.get(self, "name")
283
+
284
+ @name.setter
285
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
286
+ pulumi.set(self, "name", value)
287
+
288
+ @property
289
+ @pulumi.getter
290
+ def observability(self) -> Optional[pulumi.Input['OrgObservabilityArgs']]:
291
+ """
292
+ The retention period (in days) for logs, metrics, and traces. Charges apply for storage beyond the 30 day default.
293
+ """
294
+ return pulumi.get(self, "observability")
295
+
296
+ @observability.setter
297
+ def observability(self, value: Optional[pulumi.Input['OrgObservabilityArgs']]):
298
+ pulumi.set(self, "observability", value)
299
+
300
+ @property
301
+ @pulumi.getter
302
+ def security(self) -> Optional[pulumi.Input['OrgSecurityArgs']]:
303
+ return pulumi.get(self, "security")
304
+
305
+ @security.setter
306
+ def security(self, value: Optional[pulumi.Input['OrgSecurityArgs']]):
307
+ pulumi.set(self, "security", value)
308
+
309
+ @property
310
+ @pulumi.getter(name="selfLink")
311
+ def self_link(self) -> Optional[pulumi.Input[builtins.str]]:
312
+ """
313
+ Full link to this resource. Can be referenced by other resources.
314
+ """
315
+ return pulumi.get(self, "self_link")
316
+
317
+ @self_link.setter
318
+ def self_link(self, value: Optional[pulumi.Input[builtins.str]]):
319
+ pulumi.set(self, "self_link", value)
320
+
321
+ @property
322
+ @pulumi.getter(name="sessionTimeoutSeconds")
323
+ def session_timeout_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
324
+ """
325
+ The idle time (in seconds) in which the console UI will automatically sign-out the user. Default: 900 (15 minutes)
326
+ """
327
+ return pulumi.get(self, "session_timeout_seconds")
328
+
329
+ @session_timeout_seconds.setter
330
+ def session_timeout_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
331
+ pulumi.set(self, "session_timeout_seconds", value)
332
+
333
+ @property
334
+ @pulumi.getter
335
+ def statuses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OrgStatusArgs']]]]:
336
+ """
337
+ Status of the org.
338
+ """
339
+ return pulumi.get(self, "statuses")
340
+
341
+ @statuses.setter
342
+ def statuses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OrgStatusArgs']]]]):
343
+ pulumi.set(self, "statuses", value)
344
+
345
+ @property
346
+ @pulumi.getter
347
+ def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
348
+ """
349
+ Key-value map of resource tags.
350
+ """
351
+ return pulumi.get(self, "tags")
352
+
353
+ @tags.setter
354
+ def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
355
+ pulumi.set(self, "tags", value)
356
+
357
+
358
+ @pulumi.type_token("cpln:index/org:Org")
359
+ class Org(pulumi.CustomResource):
360
+ @overload
361
+ def __init__(__self__,
362
+ resource_name: str,
363
+ opts: Optional[pulumi.ResourceOptions] = None,
364
+ account_id: Optional[pulumi.Input[builtins.str]] = None,
365
+ auth_config: Optional[pulumi.Input[Union['OrgAuthConfigArgs', 'OrgAuthConfigArgsDict']]] = None,
366
+ description: Optional[pulumi.Input[builtins.str]] = None,
367
+ invitees: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
368
+ observability: Optional[pulumi.Input[Union['OrgObservabilityArgs', 'OrgObservabilityArgsDict']]] = None,
369
+ security: Optional[pulumi.Input[Union['OrgSecurityArgs', 'OrgSecurityArgsDict']]] = None,
370
+ session_timeout_seconds: Optional[pulumi.Input[builtins.int]] = None,
371
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
372
+ __props__=None):
373
+ """
374
+ Create a Org resource with the given unique name, props, and options.
375
+ :param str resource_name: The name of the resource.
376
+ :param pulumi.ResourceOptions opts: Options for the resource.
377
+ :param pulumi.Input[builtins.str] account_id: The associated account ID that will be used when creating the org. Only used on org creation. The account ID can be
378
+ obtained from the `Org Management & Billing` page.
379
+ :param pulumi.Input[Union['OrgAuthConfigArgs', 'OrgAuthConfigArgsDict']] auth_config: The configuration settings and parameters related to authentication within the org.
380
+ :param pulumi.Input[builtins.str] description: Description of the Organization.
381
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] invitees: When an org is created, the list of email addresses which will receive an invitation to join the org and be assigned to
382
+ the `superusers` group. The user account used when creating the org will be included in this list.
383
+ :param pulumi.Input[Union['OrgObservabilityArgs', 'OrgObservabilityArgsDict']] observability: The retention period (in days) for logs, metrics, and traces. Charges apply for storage beyond the 30 day default.
384
+ :param pulumi.Input[builtins.int] session_timeout_seconds: The idle time (in seconds) in which the console UI will automatically sign-out the user. Default: 900 (15 minutes)
385
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: Key-value map of resource tags.
386
+ """
387
+ ...
388
+ @overload
389
+ def __init__(__self__,
390
+ resource_name: str,
391
+ args: Optional[OrgArgs] = None,
392
+ opts: Optional[pulumi.ResourceOptions] = None):
393
+ """
394
+ Create a Org resource with the given unique name, props, and options.
395
+ :param str resource_name: The name of the resource.
396
+ :param OrgArgs args: The arguments to use to populate this resource's properties.
397
+ :param pulumi.ResourceOptions opts: Options for the resource.
398
+ """
399
+ ...
400
+ def __init__(__self__, resource_name: str, *args, **kwargs):
401
+ resource_args, opts = _utilities.get_resource_args_opts(OrgArgs, pulumi.ResourceOptions, *args, **kwargs)
402
+ if resource_args is not None:
403
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
404
+ else:
405
+ __self__._internal_init(resource_name, *args, **kwargs)
406
+
407
+ def _internal_init(__self__,
408
+ resource_name: str,
409
+ opts: Optional[pulumi.ResourceOptions] = None,
410
+ account_id: Optional[pulumi.Input[builtins.str]] = None,
411
+ auth_config: Optional[pulumi.Input[Union['OrgAuthConfigArgs', 'OrgAuthConfigArgsDict']]] = None,
412
+ description: Optional[pulumi.Input[builtins.str]] = None,
413
+ invitees: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
414
+ observability: Optional[pulumi.Input[Union['OrgObservabilityArgs', 'OrgObservabilityArgsDict']]] = None,
415
+ security: Optional[pulumi.Input[Union['OrgSecurityArgs', 'OrgSecurityArgsDict']]] = None,
416
+ session_timeout_seconds: Optional[pulumi.Input[builtins.int]] = None,
417
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
418
+ __props__=None):
419
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
420
+ if not isinstance(opts, pulumi.ResourceOptions):
421
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
422
+ if opts.id is None:
423
+ if __props__ is not None:
424
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
425
+ __props__ = OrgArgs.__new__(OrgArgs)
426
+
427
+ __props__.__dict__["account_id"] = account_id
428
+ __props__.__dict__["auth_config"] = auth_config
429
+ __props__.__dict__["description"] = description
430
+ __props__.__dict__["invitees"] = invitees
431
+ __props__.__dict__["observability"] = observability
432
+ __props__.__dict__["security"] = security
433
+ __props__.__dict__["session_timeout_seconds"] = session_timeout_seconds
434
+ __props__.__dict__["tags"] = tags
435
+ __props__.__dict__["cpln_id"] = None
436
+ __props__.__dict__["name"] = None
437
+ __props__.__dict__["self_link"] = None
438
+ __props__.__dict__["statuses"] = None
439
+ super(Org, __self__).__init__(
440
+ 'cpln:index/org:Org',
441
+ resource_name,
442
+ __props__,
443
+ opts)
444
+
445
+ @staticmethod
446
+ def get(resource_name: str,
447
+ id: pulumi.Input[str],
448
+ opts: Optional[pulumi.ResourceOptions] = None,
449
+ account_id: Optional[pulumi.Input[builtins.str]] = None,
450
+ auth_config: Optional[pulumi.Input[Union['OrgAuthConfigArgs', 'OrgAuthConfigArgsDict']]] = None,
451
+ cpln_id: Optional[pulumi.Input[builtins.str]] = None,
452
+ description: Optional[pulumi.Input[builtins.str]] = None,
453
+ invitees: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
454
+ name: Optional[pulumi.Input[builtins.str]] = None,
455
+ observability: Optional[pulumi.Input[Union['OrgObservabilityArgs', 'OrgObservabilityArgsDict']]] = None,
456
+ security: Optional[pulumi.Input[Union['OrgSecurityArgs', 'OrgSecurityArgsDict']]] = None,
457
+ self_link: Optional[pulumi.Input[builtins.str]] = None,
458
+ session_timeout_seconds: Optional[pulumi.Input[builtins.int]] = None,
459
+ statuses: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OrgStatusArgs', 'OrgStatusArgsDict']]]]] = None,
460
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None) -> 'Org':
461
+ """
462
+ Get an existing Org resource's state with the given name, id, and optional extra
463
+ properties used to qualify the lookup.
464
+
465
+ :param str resource_name: The unique name of the resulting resource.
466
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
467
+ :param pulumi.ResourceOptions opts: Options for the resource.
468
+ :param pulumi.Input[builtins.str] account_id: The associated account ID that will be used when creating the org. Only used on org creation. The account ID can be
469
+ obtained from the `Org Management & Billing` page.
470
+ :param pulumi.Input[Union['OrgAuthConfigArgs', 'OrgAuthConfigArgsDict']] auth_config: The configuration settings and parameters related to authentication within the org.
471
+ :param pulumi.Input[builtins.str] cpln_id: The ID, in GUID format, of the Organization.
472
+ :param pulumi.Input[builtins.str] description: Description of the Organization.
473
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] invitees: When an org is created, the list of email addresses which will receive an invitation to join the org and be assigned to
474
+ the `superusers` group. The user account used when creating the org will be included in this list.
475
+ :param pulumi.Input[builtins.str] name: Name of the Organization.
476
+ :param pulumi.Input[Union['OrgObservabilityArgs', 'OrgObservabilityArgsDict']] observability: The retention period (in days) for logs, metrics, and traces. Charges apply for storage beyond the 30 day default.
477
+ :param pulumi.Input[builtins.str] self_link: Full link to this resource. Can be referenced by other resources.
478
+ :param pulumi.Input[builtins.int] session_timeout_seconds: The idle time (in seconds) in which the console UI will automatically sign-out the user. Default: 900 (15 minutes)
479
+ :param pulumi.Input[Sequence[pulumi.Input[Union['OrgStatusArgs', 'OrgStatusArgsDict']]]] statuses: Status of the org.
480
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: Key-value map of resource tags.
481
+ """
482
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
483
+
484
+ __props__ = _OrgState.__new__(_OrgState)
485
+
486
+ __props__.__dict__["account_id"] = account_id
487
+ __props__.__dict__["auth_config"] = auth_config
488
+ __props__.__dict__["cpln_id"] = cpln_id
489
+ __props__.__dict__["description"] = description
490
+ __props__.__dict__["invitees"] = invitees
491
+ __props__.__dict__["name"] = name
492
+ __props__.__dict__["observability"] = observability
493
+ __props__.__dict__["security"] = security
494
+ __props__.__dict__["self_link"] = self_link
495
+ __props__.__dict__["session_timeout_seconds"] = session_timeout_seconds
496
+ __props__.__dict__["statuses"] = statuses
497
+ __props__.__dict__["tags"] = tags
498
+ return Org(resource_name, opts=opts, __props__=__props__)
499
+
500
+ @property
501
+ @pulumi.getter(name="accountId")
502
+ def account_id(self) -> pulumi.Output[builtins.str]:
503
+ """
504
+ The associated account ID that will be used when creating the org. Only used on org creation. The account ID can be
505
+ obtained from the `Org Management & Billing` page.
506
+ """
507
+ return pulumi.get(self, "account_id")
508
+
509
+ @property
510
+ @pulumi.getter(name="authConfig")
511
+ def auth_config(self) -> pulumi.Output[Optional['outputs.OrgAuthConfig']]:
512
+ """
513
+ The configuration settings and parameters related to authentication within the org.
514
+ """
515
+ return pulumi.get(self, "auth_config")
516
+
517
+ @property
518
+ @pulumi.getter(name="cplnId")
519
+ def cpln_id(self) -> pulumi.Output[builtins.str]:
520
+ """
521
+ The ID, in GUID format, of the Organization.
522
+ """
523
+ return pulumi.get(self, "cpln_id")
524
+
525
+ @property
526
+ @pulumi.getter
527
+ def description(self) -> pulumi.Output[builtins.str]:
528
+ """
529
+ Description of the Organization.
530
+ """
531
+ return pulumi.get(self, "description")
532
+
533
+ @property
534
+ @pulumi.getter
535
+ def invitees(self) -> pulumi.Output[Sequence[builtins.str]]:
536
+ """
537
+ When an org is created, the list of email addresses which will receive an invitation to join the org and be assigned to
538
+ the `superusers` group. The user account used when creating the org will be included in this list.
539
+ """
540
+ return pulumi.get(self, "invitees")
541
+
542
+ @property
543
+ @pulumi.getter
544
+ def name(self) -> pulumi.Output[builtins.str]:
545
+ """
546
+ Name of the Organization.
547
+ """
548
+ return pulumi.get(self, "name")
549
+
550
+ @property
551
+ @pulumi.getter
552
+ def observability(self) -> pulumi.Output[Optional['outputs.OrgObservability']]:
553
+ """
554
+ The retention period (in days) for logs, metrics, and traces. Charges apply for storage beyond the 30 day default.
555
+ """
556
+ return pulumi.get(self, "observability")
557
+
558
+ @property
559
+ @pulumi.getter
560
+ def security(self) -> pulumi.Output[Optional['outputs.OrgSecurity']]:
561
+ return pulumi.get(self, "security")
562
+
563
+ @property
564
+ @pulumi.getter(name="selfLink")
565
+ def self_link(self) -> pulumi.Output[builtins.str]:
566
+ """
567
+ Full link to this resource. Can be referenced by other resources.
568
+ """
569
+ return pulumi.get(self, "self_link")
570
+
571
+ @property
572
+ @pulumi.getter(name="sessionTimeoutSeconds")
573
+ def session_timeout_seconds(self) -> pulumi.Output[builtins.int]:
574
+ """
575
+ The idle time (in seconds) in which the console UI will automatically sign-out the user. Default: 900 (15 minutes)
576
+ """
577
+ return pulumi.get(self, "session_timeout_seconds")
578
+
579
+ @property
580
+ @pulumi.getter
581
+ def statuses(self) -> pulumi.Output[Sequence['outputs.OrgStatus']]:
582
+ """
583
+ Status of the org.
584
+ """
585
+ return pulumi.get(self, "statuses")
586
+
587
+ @property
588
+ @pulumi.getter
589
+ def tags(self) -> pulumi.Output[Mapping[str, builtins.str]]:
590
+ """
591
+ Key-value map of resource tags.
592
+ """
593
+ return pulumi.get(self, "tags")
594
+