pulumi-mongodbatlas 4.2.0__py3-none-any.whl → 4.2.0a1768501011__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 (38) hide show
  1. pulumi_mongodbatlas/__init__.py +0 -75
  2. pulumi_mongodbatlas/_inputs.py +12 -366
  3. pulumi_mongodbatlas/api_key_project_assignment.py +2 -16
  4. pulumi_mongodbatlas/get_access_list_api_key.py +14 -19
  5. pulumi_mongodbatlas/get_access_list_api_keys.py +14 -13
  6. pulumi_mongodbatlas/get_api_key_project_assignment.py +2 -16
  7. pulumi_mongodbatlas/get_api_key_project_assignments.py +2 -16
  8. pulumi_mongodbatlas/get_maintenance_window.py +1 -1
  9. pulumi_mongodbatlas/get_project_ip_access_list.py +65 -63
  10. pulumi_mongodbatlas/get_stream_connection.py +2 -46
  11. pulumi_mongodbatlas/maintenance_window.py +21 -21
  12. pulumi_mongodbatlas/outputs.py +94 -1126
  13. pulumi_mongodbatlas/project_ip_access_list.py +100 -71
  14. pulumi_mongodbatlas/pulumi-plugin.json +1 -1
  15. pulumi_mongodbatlas/stream_connection.py +7 -185
  16. {pulumi_mongodbatlas-4.2.0.dist-info → pulumi_mongodbatlas-4.2.0a1768501011.dist-info}/METADATA +1 -1
  17. {pulumi_mongodbatlas-4.2.0.dist-info → pulumi_mongodbatlas-4.2.0a1768501011.dist-info}/RECORD +19 -38
  18. {pulumi_mongodbatlas-4.2.0.dist-info → pulumi_mongodbatlas-4.2.0a1768501011.dist-info}/WHEEL +1 -1
  19. pulumi_mongodbatlas/get_project_service_account.py +0 -185
  20. pulumi_mongodbatlas/get_project_service_account_access_list_entries.py +0 -195
  21. pulumi_mongodbatlas/get_project_service_account_access_list_entry.py +0 -276
  22. pulumi_mongodbatlas/get_project_service_account_secret.py +0 -244
  23. pulumi_mongodbatlas/get_project_service_accounts.py +0 -109
  24. pulumi_mongodbatlas/get_service_account.py +0 -185
  25. pulumi_mongodbatlas/get_service_account_access_list_entries.py +0 -195
  26. pulumi_mongodbatlas/get_service_account_access_list_entry.py +0 -276
  27. pulumi_mongodbatlas/get_service_account_project_assignment.py +0 -176
  28. pulumi_mongodbatlas/get_service_account_project_assignments.py +0 -177
  29. pulumi_mongodbatlas/get_service_account_secret.py +0 -244
  30. pulumi_mongodbatlas/get_service_accounts.py +0 -109
  31. pulumi_mongodbatlas/project_service_account.py +0 -444
  32. pulumi_mongodbatlas/project_service_account_access_list_entry.py +0 -490
  33. pulumi_mongodbatlas/project_service_account_secret.py +0 -491
  34. pulumi_mongodbatlas/service_account.py +0 -444
  35. pulumi_mongodbatlas/service_account_access_list_entry.py +0 -490
  36. pulumi_mongodbatlas/service_account_project_assignment.py +0 -314
  37. pulumi_mongodbatlas/service_account_secret.py +0 -491
  38. {pulumi_mongodbatlas-4.2.0.dist-info → pulumi_mongodbatlas-4.2.0a1768501011.dist-info}/top_level.txt +0 -0
@@ -120,11 +120,6 @@ from .get_project_api_keys import *
120
120
  from .get_project_invitation import *
121
121
  from .get_project_ip_access_list import *
122
122
  from .get_project_ip_addresses import *
123
- from .get_project_service_account import *
124
- from .get_project_service_account_access_list_entries import *
125
- from .get_project_service_account_access_list_entry import *
126
- from .get_project_service_account_secret import *
127
- from .get_project_service_accounts import *
128
123
  from .get_projects import *
129
124
  from .get_push_based_log_export import *
130
125
  from .get_resource_policies import *
@@ -135,13 +130,6 @@ from .get_search_index import *
135
130
  from .get_search_indexes import *
136
131
  from .get_serverless_instance import *
137
132
  from .get_serverless_instances import *
138
- from .get_service_account import *
139
- from .get_service_account_access_list_entries import *
140
- from .get_service_account_access_list_entry import *
141
- from .get_service_account_project_assignment import *
142
- from .get_service_account_project_assignments import *
143
- from .get_service_account_secret import *
144
- from .get_service_accounts import *
145
133
  from .get_shared_tier_restore_job import *
146
134
  from .get_shared_tier_restore_jobs import *
147
135
  from .get_shared_tier_snapshot import *
@@ -180,19 +168,12 @@ from .project import *
180
168
  from .project_api_key import *
181
169
  from .project_invitation import *
182
170
  from .project_ip_access_list import *
183
- from .project_service_account import *
184
- from .project_service_account_access_list_entry import *
185
- from .project_service_account_secret import *
186
171
  from .provider import *
187
172
  from .push_based_log_export import *
188
173
  from .resource_policy import *
189
174
  from .search_deployment import *
190
175
  from .search_index import *
191
176
  from .serverless_instance import *
192
- from .service_account import *
193
- from .service_account_access_list_entry import *
194
- from .service_account_project_assignment import *
195
- from .service_account_secret import *
196
177
  from .stream_connection import *
197
178
  from .stream_instance import *
198
179
  from .stream_privatelink_endpoint import *
@@ -607,30 +588,6 @@ _utilities.register(
607
588
  "mongodbatlas:index/projectIpAccessList:ProjectIpAccessList": "ProjectIpAccessList"
608
589
  }
609
590
  },
610
- {
611
- "pkg": "mongodbatlas",
612
- "mod": "index/projectServiceAccount",
613
- "fqn": "pulumi_mongodbatlas",
614
- "classes": {
615
- "mongodbatlas:index/projectServiceAccount:ProjectServiceAccount": "ProjectServiceAccount"
616
- }
617
- },
618
- {
619
- "pkg": "mongodbatlas",
620
- "mod": "index/projectServiceAccountAccessListEntry",
621
- "fqn": "pulumi_mongodbatlas",
622
- "classes": {
623
- "mongodbatlas:index/projectServiceAccountAccessListEntry:ProjectServiceAccountAccessListEntry": "ProjectServiceAccountAccessListEntry"
624
- }
625
- },
626
- {
627
- "pkg": "mongodbatlas",
628
- "mod": "index/projectServiceAccountSecret",
629
- "fqn": "pulumi_mongodbatlas",
630
- "classes": {
631
- "mongodbatlas:index/projectServiceAccountSecret:ProjectServiceAccountSecret": "ProjectServiceAccountSecret"
632
- }
633
- },
634
591
  {
635
592
  "pkg": "mongodbatlas",
636
593
  "mod": "index/pushBasedLogExport",
@@ -671,38 +628,6 @@ _utilities.register(
671
628
  "mongodbatlas:index/serverlessInstance:ServerlessInstance": "ServerlessInstance"
672
629
  }
673
630
  },
674
- {
675
- "pkg": "mongodbatlas",
676
- "mod": "index/serviceAccount",
677
- "fqn": "pulumi_mongodbatlas",
678
- "classes": {
679
- "mongodbatlas:index/serviceAccount:ServiceAccount": "ServiceAccount"
680
- }
681
- },
682
- {
683
- "pkg": "mongodbatlas",
684
- "mod": "index/serviceAccountAccessListEntry",
685
- "fqn": "pulumi_mongodbatlas",
686
- "classes": {
687
- "mongodbatlas:index/serviceAccountAccessListEntry:ServiceAccountAccessListEntry": "ServiceAccountAccessListEntry"
688
- }
689
- },
690
- {
691
- "pkg": "mongodbatlas",
692
- "mod": "index/serviceAccountProjectAssignment",
693
- "fqn": "pulumi_mongodbatlas",
694
- "classes": {
695
- "mongodbatlas:index/serviceAccountProjectAssignment:ServiceAccountProjectAssignment": "ServiceAccountProjectAssignment"
696
- }
697
- },
698
- {
699
- "pkg": "mongodbatlas",
700
- "mod": "index/serviceAccountSecret",
701
- "fqn": "pulumi_mongodbatlas",
702
- "classes": {
703
- "mongodbatlas:index/serviceAccountSecret:ServiceAccountSecret": "ServiceAccountSecret"
704
- }
705
- },
706
631
  {
707
632
  "pkg": "mongodbatlas",
708
633
  "mod": "index/streamConnection",
@@ -231,8 +231,6 @@ __all__ = [
231
231
  'ProjectIpAddressesServicesClusterArgsDict',
232
232
  'ProjectLimitArgs',
233
233
  'ProjectLimitArgsDict',
234
- 'ProjectServiceAccountSecretArgs',
235
- 'ProjectServiceAccountSecretArgsDict',
236
234
  'ProjectTeamArgs',
237
235
  'ProjectTeamArgsDict',
238
236
  'ProviderAssumeRoleArgs',
@@ -257,8 +255,6 @@ __all__ = [
257
255
  'ServerlessInstanceLinkArgsDict',
258
256
  'ServerlessInstanceTagArgs',
259
257
  'ServerlessInstanceTagArgsDict',
260
- 'ServiceAccountSecretArgs',
261
- 'ServiceAccountSecretArgsDict',
262
258
  'StreamConnectionAuthenticationArgs',
263
259
  'StreamConnectionAuthenticationArgsDict',
264
260
  'StreamConnectionAwsArgs',
@@ -269,8 +265,6 @@ __all__ = [
269
265
  'StreamConnectionNetworkingArgsDict',
270
266
  'StreamConnectionNetworkingAccessArgs',
271
267
  'StreamConnectionNetworkingAccessArgsDict',
272
- 'StreamConnectionSchemaRegistryAuthenticationArgs',
273
- 'StreamConnectionSchemaRegistryAuthenticationArgsDict',
274
268
  'StreamConnectionSecurityArgs',
275
269
  'StreamConnectionSecurityArgsDict',
276
270
  'StreamInstanceDataProcessRegionArgs',
@@ -6606,8 +6600,6 @@ if not MYPY:
6606
6600
  role_name: pulumi.Input[_builtins.str]
6607
6601
  """
6608
6602
  Name of the inherited role. This can either be another custom role or a built-in role.
6609
-
6610
- > **NOTE** Built-in roles are present in clusters by default and do not need to be redefined for their properties to be inherited by a custom role.
6611
6603
  """
6612
6604
  elif False:
6613
6605
  CustomDbRoleInheritedRoleArgsDict: TypeAlias = Mapping[str, Any]
@@ -6622,8 +6614,6 @@ class CustomDbRoleInheritedRoleArgs:
6622
6614
 
6623
6615
  > **NOTE** This value should be admin for all roles except read and readWrite.
6624
6616
  :param pulumi.Input[_builtins.str] role_name: Name of the inherited role. This can either be another custom role or a built-in role.
6625
-
6626
- > **NOTE** Built-in roles are present in clusters by default and do not need to be redefined for their properties to be inherited by a custom role.
6627
6617
  """
6628
6618
  pulumi.set(__self__, "database_name", database_name)
6629
6619
  pulumi.set(__self__, "role_name", role_name)
@@ -6647,8 +6637,6 @@ class CustomDbRoleInheritedRoleArgs:
6647
6637
  def role_name(self) -> pulumi.Input[_builtins.str]:
6648
6638
  """
6649
6639
  Name of the inherited role. This can either be another custom role or a built-in role.
6650
-
6651
- > **NOTE** Built-in roles are present in clusters by default and do not need to be redefined for their properties to be inherited by a custom role.
6652
6640
  """
6653
6641
  return pulumi.get(self, "role_name")
6654
6642
 
@@ -9723,15 +9711,15 @@ if not MYPY:
9723
9711
  class ProjectIpAccessListTimeoutsArgsDict(TypedDict):
9724
9712
  delete: NotRequired[pulumi.Input[_builtins.str]]
9725
9713
  """
9726
- A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
9714
+ (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), and "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs. Default: `45m`.
9727
9715
  """
9728
9716
  read: NotRequired[pulumi.Input[_builtins.str]]
9729
9717
  """
9730
- A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
9718
+ (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), and "h" (hours). Default: `2m`.
9731
9719
  """
9732
9720
  update: NotRequired[pulumi.Input[_builtins.str]]
9733
9721
  """
9734
- A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
9722
+ (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), and "h" (hours). Default: `45m`.
9735
9723
  """
9736
9724
  elif False:
9737
9725
  ProjectIpAccessListTimeoutsArgsDict: TypeAlias = Mapping[str, Any]
@@ -9743,9 +9731,9 @@ class ProjectIpAccessListTimeoutsArgs:
9743
9731
  read: Optional[pulumi.Input[_builtins.str]] = None,
9744
9732
  update: Optional[pulumi.Input[_builtins.str]] = None):
9745
9733
  """
9746
- :param pulumi.Input[_builtins.str] delete: A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
9747
- :param pulumi.Input[_builtins.str] read: A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
9748
- :param pulumi.Input[_builtins.str] update: A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
9734
+ :param pulumi.Input[_builtins.str] delete: (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), and "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs. Default: `45m`.
9735
+ :param pulumi.Input[_builtins.str] read: (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), and "h" (hours). Default: `2m`.
9736
+ :param pulumi.Input[_builtins.str] update: (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), and "h" (hours). Default: `45m`.
9749
9737
  """
9750
9738
  if delete is not None:
9751
9739
  pulumi.set(__self__, "delete", delete)
@@ -9758,7 +9746,7 @@ class ProjectIpAccessListTimeoutsArgs:
9758
9746
  @pulumi.getter
9759
9747
  def delete(self) -> Optional[pulumi.Input[_builtins.str]]:
9760
9748
  """
9761
- A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
9749
+ (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), and "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs. Default: `45m`.
9762
9750
  """
9763
9751
  return pulumi.get(self, "delete")
9764
9752
 
@@ -9770,7 +9758,7 @@ class ProjectIpAccessListTimeoutsArgs:
9770
9758
  @pulumi.getter
9771
9759
  def read(self) -> Optional[pulumi.Input[_builtins.str]]:
9772
9760
  """
9773
- A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
9761
+ (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), and "h" (hours). Default: `2m`.
9774
9762
  """
9775
9763
  return pulumi.get(self, "read")
9776
9764
 
@@ -9782,7 +9770,7 @@ class ProjectIpAccessListTimeoutsArgs:
9782
9770
  @pulumi.getter
9783
9771
  def update(self) -> Optional[pulumi.Input[_builtins.str]]:
9784
9772
  """
9785
- A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
9773
+ (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), and "h" (hours). Default: `45m`.
9786
9774
  """
9787
9775
  return pulumi.get(self, "update")
9788
9776
 
@@ -9975,138 +9963,6 @@ class ProjectLimitArgs:
9975
9963
  pulumi.set(self, "maximum_limit", value)
9976
9964
 
9977
9965
 
9978
- if not MYPY:
9979
- class ProjectServiceAccountSecretArgsDict(TypedDict):
9980
- created_at: NotRequired[pulumi.Input[_builtins.str]]
9981
- """
9982
- The date that the secret was created on. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
9983
- """
9984
- expires_at: NotRequired[pulumi.Input[_builtins.str]]
9985
- """
9986
- The date for the expiration of the secret. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
9987
- """
9988
- last_used_at: NotRequired[pulumi.Input[_builtins.str]]
9989
- """
9990
- The last time the secret was used. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
9991
- """
9992
- masked_secret_value: NotRequired[pulumi.Input[_builtins.str]]
9993
- """
9994
- The masked Service Account secret.
9995
- """
9996
- secret: NotRequired[pulumi.Input[_builtins.str]]
9997
- """
9998
- The secret for the Service Account. It will be returned only the first time after creation.
9999
- """
10000
- secret_id: NotRequired[pulumi.Input[_builtins.str]]
10001
- """
10002
- Unique 24-hexadecimal digit string that identifies the secret.
10003
- """
10004
- elif False:
10005
- ProjectServiceAccountSecretArgsDict: TypeAlias = Mapping[str, Any]
10006
-
10007
- @pulumi.input_type
10008
- class ProjectServiceAccountSecretArgs:
10009
- def __init__(__self__, *,
10010
- created_at: Optional[pulumi.Input[_builtins.str]] = None,
10011
- expires_at: Optional[pulumi.Input[_builtins.str]] = None,
10012
- last_used_at: Optional[pulumi.Input[_builtins.str]] = None,
10013
- masked_secret_value: Optional[pulumi.Input[_builtins.str]] = None,
10014
- secret: Optional[pulumi.Input[_builtins.str]] = None,
10015
- secret_id: Optional[pulumi.Input[_builtins.str]] = None):
10016
- """
10017
- :param pulumi.Input[_builtins.str] created_at: The date that the secret was created on. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
10018
- :param pulumi.Input[_builtins.str] expires_at: The date for the expiration of the secret. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
10019
- :param pulumi.Input[_builtins.str] last_used_at: The last time the secret was used. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
10020
- :param pulumi.Input[_builtins.str] masked_secret_value: The masked Service Account secret.
10021
- :param pulumi.Input[_builtins.str] secret: The secret for the Service Account. It will be returned only the first time after creation.
10022
- :param pulumi.Input[_builtins.str] secret_id: Unique 24-hexadecimal digit string that identifies the secret.
10023
- """
10024
- if created_at is not None:
10025
- pulumi.set(__self__, "created_at", created_at)
10026
- if expires_at is not None:
10027
- pulumi.set(__self__, "expires_at", expires_at)
10028
- if last_used_at is not None:
10029
- pulumi.set(__self__, "last_used_at", last_used_at)
10030
- if masked_secret_value is not None:
10031
- pulumi.set(__self__, "masked_secret_value", masked_secret_value)
10032
- if secret is not None:
10033
- pulumi.set(__self__, "secret", secret)
10034
- if secret_id is not None:
10035
- pulumi.set(__self__, "secret_id", secret_id)
10036
-
10037
- @_builtins.property
10038
- @pulumi.getter(name="createdAt")
10039
- def created_at(self) -> Optional[pulumi.Input[_builtins.str]]:
10040
- """
10041
- The date that the secret was created on. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
10042
- """
10043
- return pulumi.get(self, "created_at")
10044
-
10045
- @created_at.setter
10046
- def created_at(self, value: Optional[pulumi.Input[_builtins.str]]):
10047
- pulumi.set(self, "created_at", value)
10048
-
10049
- @_builtins.property
10050
- @pulumi.getter(name="expiresAt")
10051
- def expires_at(self) -> Optional[pulumi.Input[_builtins.str]]:
10052
- """
10053
- The date for the expiration of the secret. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
10054
- """
10055
- return pulumi.get(self, "expires_at")
10056
-
10057
- @expires_at.setter
10058
- def expires_at(self, value: Optional[pulumi.Input[_builtins.str]]):
10059
- pulumi.set(self, "expires_at", value)
10060
-
10061
- @_builtins.property
10062
- @pulumi.getter(name="lastUsedAt")
10063
- def last_used_at(self) -> Optional[pulumi.Input[_builtins.str]]:
10064
- """
10065
- The last time the secret was used. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
10066
- """
10067
- return pulumi.get(self, "last_used_at")
10068
-
10069
- @last_used_at.setter
10070
- def last_used_at(self, value: Optional[pulumi.Input[_builtins.str]]):
10071
- pulumi.set(self, "last_used_at", value)
10072
-
10073
- @_builtins.property
10074
- @pulumi.getter(name="maskedSecretValue")
10075
- def masked_secret_value(self) -> Optional[pulumi.Input[_builtins.str]]:
10076
- """
10077
- The masked Service Account secret.
10078
- """
10079
- return pulumi.get(self, "masked_secret_value")
10080
-
10081
- @masked_secret_value.setter
10082
- def masked_secret_value(self, value: Optional[pulumi.Input[_builtins.str]]):
10083
- pulumi.set(self, "masked_secret_value", value)
10084
-
10085
- @_builtins.property
10086
- @pulumi.getter
10087
- def secret(self) -> Optional[pulumi.Input[_builtins.str]]:
10088
- """
10089
- The secret for the Service Account. It will be returned only the first time after creation.
10090
- """
10091
- return pulumi.get(self, "secret")
10092
-
10093
- @secret.setter
10094
- def secret(self, value: Optional[pulumi.Input[_builtins.str]]):
10095
- pulumi.set(self, "secret", value)
10096
-
10097
- @_builtins.property
10098
- @pulumi.getter(name="secretId")
10099
- def secret_id(self) -> Optional[pulumi.Input[_builtins.str]]:
10100
- """
10101
- Unique 24-hexadecimal digit string that identifies the secret.
10102
- """
10103
- return pulumi.get(self, "secret_id")
10104
-
10105
- @secret_id.setter
10106
- def secret_id(self, value: Optional[pulumi.Input[_builtins.str]]):
10107
- pulumi.set(self, "secret_id", value)
10108
-
10109
-
10110
9966
  if not MYPY:
10111
9967
  class ProjectTeamArgsDict(TypedDict):
10112
9968
  role_names: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]
@@ -10756,138 +10612,6 @@ class ServerlessInstanceTagArgs:
10756
10612
  pulumi.set(self, "value", value)
10757
10613
 
10758
10614
 
10759
- if not MYPY:
10760
- class ServiceAccountSecretArgsDict(TypedDict):
10761
- created_at: NotRequired[pulumi.Input[_builtins.str]]
10762
- """
10763
- The date that the secret was created on. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
10764
- """
10765
- expires_at: NotRequired[pulumi.Input[_builtins.str]]
10766
- """
10767
- The date for the expiration of the secret. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
10768
- """
10769
- last_used_at: NotRequired[pulumi.Input[_builtins.str]]
10770
- """
10771
- The last time the secret was used. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
10772
- """
10773
- masked_secret_value: NotRequired[pulumi.Input[_builtins.str]]
10774
- """
10775
- The masked Service Account secret.
10776
- """
10777
- secret: NotRequired[pulumi.Input[_builtins.str]]
10778
- """
10779
- The secret for the Service Account. It will be returned only the first time after creation.
10780
- """
10781
- secret_id: NotRequired[pulumi.Input[_builtins.str]]
10782
- """
10783
- Unique 24-hexadecimal digit string that identifies the secret.
10784
- """
10785
- elif False:
10786
- ServiceAccountSecretArgsDict: TypeAlias = Mapping[str, Any]
10787
-
10788
- @pulumi.input_type
10789
- class ServiceAccountSecretArgs:
10790
- def __init__(__self__, *,
10791
- created_at: Optional[pulumi.Input[_builtins.str]] = None,
10792
- expires_at: Optional[pulumi.Input[_builtins.str]] = None,
10793
- last_used_at: Optional[pulumi.Input[_builtins.str]] = None,
10794
- masked_secret_value: Optional[pulumi.Input[_builtins.str]] = None,
10795
- secret: Optional[pulumi.Input[_builtins.str]] = None,
10796
- secret_id: Optional[pulumi.Input[_builtins.str]] = None):
10797
- """
10798
- :param pulumi.Input[_builtins.str] created_at: The date that the secret was created on. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
10799
- :param pulumi.Input[_builtins.str] expires_at: The date for the expiration of the secret. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
10800
- :param pulumi.Input[_builtins.str] last_used_at: The last time the secret was used. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
10801
- :param pulumi.Input[_builtins.str] masked_secret_value: The masked Service Account secret.
10802
- :param pulumi.Input[_builtins.str] secret: The secret for the Service Account. It will be returned only the first time after creation.
10803
- :param pulumi.Input[_builtins.str] secret_id: Unique 24-hexadecimal digit string that identifies the secret.
10804
- """
10805
- if created_at is not None:
10806
- pulumi.set(__self__, "created_at", created_at)
10807
- if expires_at is not None:
10808
- pulumi.set(__self__, "expires_at", expires_at)
10809
- if last_used_at is not None:
10810
- pulumi.set(__self__, "last_used_at", last_used_at)
10811
- if masked_secret_value is not None:
10812
- pulumi.set(__self__, "masked_secret_value", masked_secret_value)
10813
- if secret is not None:
10814
- pulumi.set(__self__, "secret", secret)
10815
- if secret_id is not None:
10816
- pulumi.set(__self__, "secret_id", secret_id)
10817
-
10818
- @_builtins.property
10819
- @pulumi.getter(name="createdAt")
10820
- def created_at(self) -> Optional[pulumi.Input[_builtins.str]]:
10821
- """
10822
- The date that the secret was created on. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
10823
- """
10824
- return pulumi.get(self, "created_at")
10825
-
10826
- @created_at.setter
10827
- def created_at(self, value: Optional[pulumi.Input[_builtins.str]]):
10828
- pulumi.set(self, "created_at", value)
10829
-
10830
- @_builtins.property
10831
- @pulumi.getter(name="expiresAt")
10832
- def expires_at(self) -> Optional[pulumi.Input[_builtins.str]]:
10833
- """
10834
- The date for the expiration of the secret. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
10835
- """
10836
- return pulumi.get(self, "expires_at")
10837
-
10838
- @expires_at.setter
10839
- def expires_at(self, value: Optional[pulumi.Input[_builtins.str]]):
10840
- pulumi.set(self, "expires_at", value)
10841
-
10842
- @_builtins.property
10843
- @pulumi.getter(name="lastUsedAt")
10844
- def last_used_at(self) -> Optional[pulumi.Input[_builtins.str]]:
10845
- """
10846
- The last time the secret was used. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
10847
- """
10848
- return pulumi.get(self, "last_used_at")
10849
-
10850
- @last_used_at.setter
10851
- def last_used_at(self, value: Optional[pulumi.Input[_builtins.str]]):
10852
- pulumi.set(self, "last_used_at", value)
10853
-
10854
- @_builtins.property
10855
- @pulumi.getter(name="maskedSecretValue")
10856
- def masked_secret_value(self) -> Optional[pulumi.Input[_builtins.str]]:
10857
- """
10858
- The masked Service Account secret.
10859
- """
10860
- return pulumi.get(self, "masked_secret_value")
10861
-
10862
- @masked_secret_value.setter
10863
- def masked_secret_value(self, value: Optional[pulumi.Input[_builtins.str]]):
10864
- pulumi.set(self, "masked_secret_value", value)
10865
-
10866
- @_builtins.property
10867
- @pulumi.getter
10868
- def secret(self) -> Optional[pulumi.Input[_builtins.str]]:
10869
- """
10870
- The secret for the Service Account. It will be returned only the first time after creation.
10871
- """
10872
- return pulumi.get(self, "secret")
10873
-
10874
- @secret.setter
10875
- def secret(self, value: Optional[pulumi.Input[_builtins.str]]):
10876
- pulumi.set(self, "secret", value)
10877
-
10878
- @_builtins.property
10879
- @pulumi.getter(name="secretId")
10880
- def secret_id(self) -> Optional[pulumi.Input[_builtins.str]]:
10881
- """
10882
- Unique 24-hexadecimal digit string that identifies the secret.
10883
- """
10884
- return pulumi.get(self, "secret_id")
10885
-
10886
- @secret_id.setter
10887
- def secret_id(self, value: Optional[pulumi.Input[_builtins.str]]):
10888
- pulumi.set(self, "secret_id", value)
10889
-
10890
-
10891
10615
  if not MYPY:
10892
10616
  class StreamConnectionAuthenticationArgsDict(TypedDict):
10893
10617
  client_id: NotRequired[pulumi.Input[_builtins.str]]
@@ -11119,7 +10843,7 @@ if not MYPY:
11119
10843
  """
11120
10844
  type: pulumi.Input[_builtins.str]
11121
10845
  """
11122
- Type of connection. Can be `AWSLambda`, `Cluster`, `Https`, `Kafka`, `Sample`, or `SchemaRegistry`.
10846
+ Type of connection. Can be `AWSLambda`, `Cluster`, `Https`, `Kafka` or `Sample`.
11123
10847
 
11124
10848
  > **NOTE:** Either `workspace_name` or `instance_name` must be provided, but not both. These fields are functionally identical and `workspace_name` is an alias for `instance_name`. `workspace_name` should be used instead of `instance_name`.
11125
10849
  """
@@ -11133,7 +10857,7 @@ class StreamConnectionDbRoleToExecuteArgs:
11133
10857
  type: pulumi.Input[_builtins.str]):
11134
10858
  """
11135
10859
  :param pulumi.Input[_builtins.str] role: The name of the role to use. Value can be `atlasAdmin`, `readWriteAnyDatabase`, or `readAnyDatabase` if `type` is set to `BUILT_IN`, or the name of a user-defined role if `type` is set to `CUSTOM`.
11136
- :param pulumi.Input[_builtins.str] type: Type of connection. Can be `AWSLambda`, `Cluster`, `Https`, `Kafka`, `Sample`, or `SchemaRegistry`.
10860
+ :param pulumi.Input[_builtins.str] type: Type of connection. Can be `AWSLambda`, `Cluster`, `Https`, `Kafka` or `Sample`.
11137
10861
 
11138
10862
  > **NOTE:** Either `workspace_name` or `instance_name` must be provided, but not both. These fields are functionally identical and `workspace_name` is an alias for `instance_name`. `workspace_name` should be used instead of `instance_name`.
11139
10863
  """
@@ -11156,7 +10880,7 @@ class StreamConnectionDbRoleToExecuteArgs:
11156
10880
  @pulumi.getter
11157
10881
  def type(self) -> pulumi.Input[_builtins.str]:
11158
10882
  """
11159
- Type of connection. Can be `AWSLambda`, `Cluster`, `Https`, `Kafka`, `Sample`, or `SchemaRegistry`.
10883
+ Type of connection. Can be `AWSLambda`, `Cluster`, `Https`, `Kafka` or `Sample`.
11160
10884
 
11161
10885
  > **NOTE:** Either `workspace_name` or `instance_name` must be provided, but not both. These fields are functionally identical and `workspace_name` is an alias for `instance_name`. `workspace_name` should be used instead of `instance_name`.
11162
10886
  """
@@ -11249,84 +10973,6 @@ class StreamConnectionNetworkingAccessArgs:
11249
10973
  pulumi.set(self, "connection_id", value)
11250
10974
 
11251
10975
 
11252
- if not MYPY:
11253
- class StreamConnectionSchemaRegistryAuthenticationArgsDict(TypedDict):
11254
- password: NotRequired[pulumi.Input[_builtins.str]]
11255
- """
11256
- Password for the Schema Registry. Required when `type` is `USER_INFO`.
11257
- """
11258
- type: NotRequired[pulumi.Input[_builtins.str]]
11259
- """
11260
- Authentication type discriminator. Specifies the authentication mechanism for Confluent Schema Registry. Valid values are `USER_INFO` or `SASL_INHERIT`.
11261
- * `USER_INFO` - Uses username and password authentication for Confluent Schema Registry.
11262
- * `SASL_INHERIT` - Inherits the authentication configuration from Kafka for the Confluent Schema Registry.
11263
- """
11264
- username: NotRequired[pulumi.Input[_builtins.str]]
11265
- """
11266
- Username for the Schema Registry. Required when `type` is `USER_INFO`.
11267
- """
11268
- elif False:
11269
- StreamConnectionSchemaRegistryAuthenticationArgsDict: TypeAlias = Mapping[str, Any]
11270
-
11271
- @pulumi.input_type
11272
- class StreamConnectionSchemaRegistryAuthenticationArgs:
11273
- def __init__(__self__, *,
11274
- password: Optional[pulumi.Input[_builtins.str]] = None,
11275
- type: Optional[pulumi.Input[_builtins.str]] = None,
11276
- username: Optional[pulumi.Input[_builtins.str]] = None):
11277
- """
11278
- :param pulumi.Input[_builtins.str] password: Password for the Schema Registry. Required when `type` is `USER_INFO`.
11279
- :param pulumi.Input[_builtins.str] type: Authentication type discriminator. Specifies the authentication mechanism for Confluent Schema Registry. Valid values are `USER_INFO` or `SASL_INHERIT`.
11280
- * `USER_INFO` - Uses username and password authentication for Confluent Schema Registry.
11281
- * `SASL_INHERIT` - Inherits the authentication configuration from Kafka for the Confluent Schema Registry.
11282
- :param pulumi.Input[_builtins.str] username: Username for the Schema Registry. Required when `type` is `USER_INFO`.
11283
- """
11284
- if password is not None:
11285
- pulumi.set(__self__, "password", password)
11286
- if type is not None:
11287
- pulumi.set(__self__, "type", type)
11288
- if username is not None:
11289
- pulumi.set(__self__, "username", username)
11290
-
11291
- @_builtins.property
11292
- @pulumi.getter
11293
- def password(self) -> Optional[pulumi.Input[_builtins.str]]:
11294
- """
11295
- Password for the Schema Registry. Required when `type` is `USER_INFO`.
11296
- """
11297
- return pulumi.get(self, "password")
11298
-
11299
- @password.setter
11300
- def password(self, value: Optional[pulumi.Input[_builtins.str]]):
11301
- pulumi.set(self, "password", value)
11302
-
11303
- @_builtins.property
11304
- @pulumi.getter
11305
- def type(self) -> Optional[pulumi.Input[_builtins.str]]:
11306
- """
11307
- Authentication type discriminator. Specifies the authentication mechanism for Confluent Schema Registry. Valid values are `USER_INFO` or `SASL_INHERIT`.
11308
- * `USER_INFO` - Uses username and password authentication for Confluent Schema Registry.
11309
- * `SASL_INHERIT` - Inherits the authentication configuration from Kafka for the Confluent Schema Registry.
11310
- """
11311
- return pulumi.get(self, "type")
11312
-
11313
- @type.setter
11314
- def type(self, value: Optional[pulumi.Input[_builtins.str]]):
11315
- pulumi.set(self, "type", value)
11316
-
11317
- @_builtins.property
11318
- @pulumi.getter
11319
- def username(self) -> Optional[pulumi.Input[_builtins.str]]:
11320
- """
11321
- Username for the Schema Registry. Required when `type` is `USER_INFO`.
11322
- """
11323
- return pulumi.get(self, "username")
11324
-
11325
- @username.setter
11326
- def username(self, value: Optional[pulumi.Input[_builtins.str]]):
11327
- pulumi.set(self, "username", value)
11328
-
11329
-
11330
10976
  if not MYPY:
11331
10977
  class StreamConnectionSecurityArgsDict(TypedDict):
11332
10978
  broker_public_certificate: NotRequired[pulumi.Input[_builtins.str]]
@@ -156,7 +156,7 @@ class ApiKeyProjectAssignment(pulumi.CustomResource):
156
156
  second_project = mongodbatlas.Project("second_project",
157
157
  name="Second Project",
158
158
  org_id=org_id)
159
- first_assignment_api_key_project_assignment = mongodbatlas.ApiKeyProjectAssignment("first_assignment",
159
+ first_assignment = mongodbatlas.ApiKeyProjectAssignment("first_assignment",
160
160
  project_id=first_project.id,
161
161
  api_key_id=this.api_key_id,
162
162
  roles=["GROUP_OWNER"])
@@ -169,13 +169,6 @@ class ApiKeyProjectAssignment(pulumi.CustomResource):
169
169
  org_id=org_id,
170
170
  cidr_block="0.0.0.0/1",
171
171
  api_key_id=this.api_key_id)
172
- # Data source to read a single API key project assignment
173
- first_assignment = mongodbatlas.get_api_key_project_assignment_output(project_id=first_assignment_api_key_project_assignment.project_id,
174
- api_key_id=first_assignment_api_key_project_assignment.api_key_id)
175
- # Data source to read all API key project assignments for a project
176
- all_assignments = mongodbatlas.get_api_key_project_assignments_output(project_id=first_project.id)
177
- pulumi.export("firstAssignmentProjectId", first_assignment.project_id)
178
- pulumi.export("allAssignmentsProjectIds", all_assignments.apply(lambda all_assignments: [assignment.project_id for assignment in all_assignments.results]))
179
172
  ```
180
173
 
181
174
  ### Further Examples
@@ -220,7 +213,7 @@ class ApiKeyProjectAssignment(pulumi.CustomResource):
220
213
  second_project = mongodbatlas.Project("second_project",
221
214
  name="Second Project",
222
215
  org_id=org_id)
223
- first_assignment_api_key_project_assignment = mongodbatlas.ApiKeyProjectAssignment("first_assignment",
216
+ first_assignment = mongodbatlas.ApiKeyProjectAssignment("first_assignment",
224
217
  project_id=first_project.id,
225
218
  api_key_id=this.api_key_id,
226
219
  roles=["GROUP_OWNER"])
@@ -233,13 +226,6 @@ class ApiKeyProjectAssignment(pulumi.CustomResource):
233
226
  org_id=org_id,
234
227
  cidr_block="0.0.0.0/1",
235
228
  api_key_id=this.api_key_id)
236
- # Data source to read a single API key project assignment
237
- first_assignment = mongodbatlas.get_api_key_project_assignment_output(project_id=first_assignment_api_key_project_assignment.project_id,
238
- api_key_id=first_assignment_api_key_project_assignment.api_key_id)
239
- # Data source to read all API key project assignments for a project
240
- all_assignments = mongodbatlas.get_api_key_project_assignments_output(project_id=first_project.id)
241
- pulumi.export("firstAssignmentProjectId", first_assignment.project_id)
242
- pulumi.export("allAssignmentsProjectIds", all_assignments.apply(lambda all_assignments: [assignment.project_id for assignment in all_assignments.results]))
243
229
  ```
244
230
 
245
231
  ### Further Examples