pulumi-gcp 8.14.0a1736853524__py3-none-any.whl → 8.15.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 (124) hide show
  1. pulumi_gcp/__init__.py +110 -0
  2. pulumi_gcp/accesscontextmanager/access_level_condition.py +28 -0
  3. pulumi_gcp/accesscontextmanager/egress_policy.py +28 -0
  4. pulumi_gcp/accesscontextmanager/ingress_policy.py +28 -0
  5. pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_egress_policy.py +28 -0
  6. pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_ingress_policy.py +28 -0
  7. pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_resource.py +28 -0
  8. pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +28 -0
  9. pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +28 -0
  10. pulumi_gcp/accesscontextmanager/service_perimeter_resource.py +56 -0
  11. pulumi_gcp/apigee/__init__.py +1 -0
  12. pulumi_gcp/apigee/environment_addons_config.py +266 -0
  13. pulumi_gcp/applicationintegration/_inputs.py +3 -3
  14. pulumi_gcp/applicationintegration/outputs.py +2 -2
  15. pulumi_gcp/artifactregistry/repository.py +32 -2
  16. pulumi_gcp/beyondcorp/__init__.py +1 -0
  17. pulumi_gcp/beyondcorp/_inputs.py +93 -0
  18. pulumi_gcp/beyondcorp/outputs.py +89 -0
  19. pulumi_gcp/beyondcorp/security_gateway.py +670 -0
  20. pulumi_gcp/bigquery/connection.py +2 -2
  21. pulumi_gcp/bigquery/routine.py +2 -2
  22. pulumi_gcp/billing/project_info.py +4 -4
  23. pulumi_gcp/blockchainnodeengine/_inputs.py +3 -3
  24. pulumi_gcp/blockchainnodeengine/outputs.py +2 -2
  25. pulumi_gcp/certificateauthority/_inputs.py +6 -6
  26. pulumi_gcp/certificateauthority/outputs.py +4 -4
  27. pulumi_gcp/certificatemanager/_inputs.py +3 -3
  28. pulumi_gcp/certificatemanager/outputs.py +2 -2
  29. pulumi_gcp/chronicle/__init__.py +5 -0
  30. pulumi_gcp/chronicle/_inputs.py +767 -0
  31. pulumi_gcp/chronicle/data_access_label.py +690 -0
  32. pulumi_gcp/chronicle/data_access_scope.py +1094 -0
  33. pulumi_gcp/chronicle/outputs.py +624 -0
  34. pulumi_gcp/chronicle/reference_list.py +788 -0
  35. pulumi_gcp/chronicle/rule.py +1308 -0
  36. pulumi_gcp/chronicle/rule_deployment.py +849 -0
  37. pulumi_gcp/chronicle/watchlist.py +68 -45
  38. pulumi_gcp/cloudbuild/_inputs.py +3 -3
  39. pulumi_gcp/cloudbuild/outputs.py +2 -2
  40. pulumi_gcp/cloudquota/__init__.py +1 -0
  41. pulumi_gcp/cloudquota/s_quota_adjuster_settings.py +336 -0
  42. pulumi_gcp/colab/__init__.py +10 -0
  43. pulumi_gcp/colab/_inputs.py +359 -0
  44. pulumi_gcp/colab/outputs.py +344 -0
  45. pulumi_gcp/colab/runtime_template.py +1160 -0
  46. pulumi_gcp/compute/_inputs.py +42 -42
  47. pulumi_gcp/compute/instance_group_manager.py +9 -9
  48. pulumi_gcp/compute/interconnect_attachment.py +7 -7
  49. pulumi_gcp/compute/outputs.py +28 -28
  50. pulumi_gcp/compute/region_instance_group_manager.py +9 -9
  51. pulumi_gcp/compute/route.py +8 -16
  52. pulumi_gcp/compute/subnetwork.py +7 -7
  53. pulumi_gcp/compute/target_instance.py +4 -4
  54. pulumi_gcp/compute/url_map.py +4 -0
  55. pulumi_gcp/config/__init__.pyi +6 -0
  56. pulumi_gcp/config/vars.py +12 -0
  57. pulumi_gcp/databasemigrationservice/connection_profile.py +6 -6
  58. pulumi_gcp/datacatalog/_inputs.py +3 -3
  59. pulumi_gcp/datacatalog/outputs.py +2 -2
  60. pulumi_gcp/dataplex/entry_type.py +2 -2
  61. pulumi_gcp/dataplex/task.py +16 -16
  62. pulumi_gcp/dataproc/batch.py +10 -10
  63. pulumi_gcp/developerconnect/_inputs.py +910 -42
  64. pulumi_gcp/developerconnect/connection.py +614 -86
  65. pulumi_gcp/developerconnect/git_repository_link.py +4 -0
  66. pulumi_gcp/developerconnect/outputs.py +717 -28
  67. pulumi_gcp/discoveryengine/_inputs.py +54 -0
  68. pulumi_gcp/discoveryengine/data_store.py +94 -0
  69. pulumi_gcp/discoveryengine/outputs.py +51 -0
  70. pulumi_gcp/dns/_inputs.py +124 -20
  71. pulumi_gcp/dns/outputs.py +90 -16
  72. pulumi_gcp/dns/record_set.py +82 -0
  73. pulumi_gcp/edgecontainer/_inputs.py +3 -3
  74. pulumi_gcp/edgecontainer/outputs.py +2 -2
  75. pulumi_gcp/edgenetwork/__init__.py +1 -0
  76. pulumi_gcp/edgenetwork/interconnect_attachment.py +941 -0
  77. pulumi_gcp/firestore/field.py +4 -4
  78. pulumi_gcp/gemini/code_repository_index.py +47 -0
  79. pulumi_gcp/gkehub/membership_binding.py +6 -6
  80. pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
  81. pulumi_gcp/gkehub/namespace.py +4 -4
  82. pulumi_gcp/gkehub/scope_rbac_role_binding.py +4 -4
  83. pulumi_gcp/gkeonprem/_inputs.py +15 -15
  84. pulumi_gcp/gkeonprem/outputs.py +10 -10
  85. pulumi_gcp/gkeonprem/v_mware_cluster.py +1 -1
  86. pulumi_gcp/iap/_inputs.py +9 -3
  87. pulumi_gcp/iap/outputs.py +6 -2
  88. pulumi_gcp/iap/settings.py +63 -63
  89. pulumi_gcp/iap/tunnel_dest_group.py +2 -2
  90. pulumi_gcp/identityplatform/_inputs.py +9 -9
  91. pulumi_gcp/identityplatform/outputs.py +6 -6
  92. pulumi_gcp/integrationconnectors/_inputs.py +6 -6
  93. pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
  94. pulumi_gcp/integrationconnectors/outputs.py +4 -4
  95. pulumi_gcp/monitoring/_inputs.py +3 -3
  96. pulumi_gcp/monitoring/outputs.py +2 -2
  97. pulumi_gcp/networkconnectivity/spoke.py +14 -14
  98. pulumi_gcp/networksecurity/authz_policy.py +0 -202
  99. pulumi_gcp/oracledatabase/_inputs.py +3 -3
  100. pulumi_gcp/oracledatabase/outputs.py +2 -2
  101. pulumi_gcp/orgpolicy/policy.py +2 -2
  102. pulumi_gcp/parametermanager/__init__.py +13 -0
  103. pulumi_gcp/parametermanager/_inputs.py +174 -0
  104. pulumi_gcp/parametermanager/get_regional_parameter.py +230 -0
  105. pulumi_gcp/parametermanager/outputs.py +191 -0
  106. pulumi_gcp/parametermanager/parameter.py +706 -0
  107. pulumi_gcp/parametermanager/regional_parameter.py +762 -0
  108. pulumi_gcp/parametermanager/regional_parameter_version.py +558 -0
  109. pulumi_gcp/provider.py +60 -0
  110. pulumi_gcp/pubsub/subscription.py +6 -6
  111. pulumi_gcp/pulumi-plugin.json +1 -1
  112. pulumi_gcp/sql/_inputs.py +74 -0
  113. pulumi_gcp/sql/database_instance.py +80 -18
  114. pulumi_gcp/sql/get_database_instance.py +12 -1
  115. pulumi_gcp/sql/outputs.py +158 -0
  116. pulumi_gcp/sql/source_representation_instance.py +7 -14
  117. pulumi_gcp/transcoder/_inputs.py +6 -6
  118. pulumi_gcp/transcoder/outputs.py +4 -4
  119. pulumi_gcp/vertex/ai_endpoint.py +4 -4
  120. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
  121. {pulumi_gcp-8.14.0a1736853524.dist-info → pulumi_gcp-8.15.0.dist-info}/METADATA +1 -1
  122. {pulumi_gcp-8.14.0a1736853524.dist-info → pulumi_gcp-8.15.0.dist-info}/RECORD +124 -104
  123. {pulumi_gcp-8.14.0a1736853524.dist-info → pulumi_gcp-8.15.0.dist-info}/WHEEL +0 -0
  124. {pulumi_gcp-8.14.0a1736853524.dist-info → pulumi_gcp-8.15.0.dist-info}/top_level.txt +0 -0
@@ -25,10 +25,10 @@ class WatchlistArgs:
25
25
  entity_population_mechanism: pulumi.Input['WatchlistEntityPopulationMechanismArgs'],
26
26
  instance: pulumi.Input[str],
27
27
  location: pulumi.Input[str],
28
- watchlist_id: pulumi.Input[str],
29
28
  description: Optional[pulumi.Input[str]] = None,
30
29
  multiplying_factor: Optional[pulumi.Input[float]] = None,
31
30
  project: Optional[pulumi.Input[str]] = None,
31
+ watchlist_id: Optional[pulumi.Input[str]] = None,
32
32
  watchlist_user_preferences: Optional[pulumi.Input['WatchlistWatchlistUserPreferencesArgs']] = None):
33
33
  """
34
34
  The set of arguments for constructing a Watchlist resource.
@@ -39,25 +39,24 @@ class WatchlistArgs:
39
39
  Structure is documented below.
40
40
  :param pulumi.Input[str] instance: The unique identifier for the Chronicle instance, which is the same as the customer ID.
41
41
  :param pulumi.Input[str] location: The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".
42
- :param pulumi.Input[str] watchlist_id: Optional. The ID to use for the watchlist,
43
- which will become the final component of the watchlist's resource name.
44
- This value should be 4-63 characters, and valid characters
45
- are /a-z-/.
46
42
  :param pulumi.Input[str] description: Optional. Description of the watchlist.
47
43
  :param pulumi.Input[float] multiplying_factor: Optional. Weight applied to the risk score for entities in this watchlist. The default is 1.0 if it is not specified.
44
+ :param pulumi.Input[str] watchlist_id: Optional. The ID to use for the watchlist, which will become the final component of the watchlist's resource name. This
45
+ value should be 4-63 characters, and valid characters are /a-z-/.
48
46
  :param pulumi.Input['WatchlistWatchlistUserPreferencesArgs'] watchlist_user_preferences: A collection of user preferences for watchlist UI configuration.
49
47
  """
50
48
  pulumi.set(__self__, "display_name", display_name)
51
49
  pulumi.set(__self__, "entity_population_mechanism", entity_population_mechanism)
52
50
  pulumi.set(__self__, "instance", instance)
53
51
  pulumi.set(__self__, "location", location)
54
- pulumi.set(__self__, "watchlist_id", watchlist_id)
55
52
  if description is not None:
56
53
  pulumi.set(__self__, "description", description)
57
54
  if multiplying_factor is not None:
58
55
  pulumi.set(__self__, "multiplying_factor", multiplying_factor)
59
56
  if project is not None:
60
57
  pulumi.set(__self__, "project", project)
58
+ if watchlist_id is not None:
59
+ pulumi.set(__self__, "watchlist_id", watchlist_id)
61
60
  if watchlist_user_preferences is not None:
62
61
  pulumi.set(__self__, "watchlist_user_preferences", watchlist_user_preferences)
63
62
 
@@ -112,21 +111,6 @@ class WatchlistArgs:
112
111
  def location(self, value: pulumi.Input[str]):
113
112
  pulumi.set(self, "location", value)
114
113
 
115
- @property
116
- @pulumi.getter(name="watchlistId")
117
- def watchlist_id(self) -> pulumi.Input[str]:
118
- """
119
- Optional. The ID to use for the watchlist,
120
- which will become the final component of the watchlist's resource name.
121
- This value should be 4-63 characters, and valid characters
122
- are /a-z-/.
123
- """
124
- return pulumi.get(self, "watchlist_id")
125
-
126
- @watchlist_id.setter
127
- def watchlist_id(self, value: pulumi.Input[str]):
128
- pulumi.set(self, "watchlist_id", value)
129
-
130
114
  @property
131
115
  @pulumi.getter
132
116
  def description(self) -> Optional[pulumi.Input[str]]:
@@ -160,6 +144,19 @@ class WatchlistArgs:
160
144
  def project(self, value: Optional[pulumi.Input[str]]):
161
145
  pulumi.set(self, "project", value)
162
146
 
147
+ @property
148
+ @pulumi.getter(name="watchlistId")
149
+ def watchlist_id(self) -> Optional[pulumi.Input[str]]:
150
+ """
151
+ Optional. The ID to use for the watchlist, which will become the final component of the watchlist's resource name. This
152
+ value should be 4-63 characters, and valid characters are /a-z-/.
153
+ """
154
+ return pulumi.get(self, "watchlist_id")
155
+
156
+ @watchlist_id.setter
157
+ def watchlist_id(self, value: Optional[pulumi.Input[str]]):
158
+ pulumi.set(self, "watchlist_id", value)
159
+
163
160
  @property
164
161
  @pulumi.getter(name="watchlistUserPreferences")
165
162
  def watchlist_user_preferences(self) -> Optional[pulumi.Input['WatchlistWatchlistUserPreferencesArgs']]:
@@ -207,10 +204,8 @@ class _WatchlistState:
207
204
  Format:
208
205
  projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}
209
206
  :param pulumi.Input[str] update_time: Output only. Time the watchlist was last updated.
210
- :param pulumi.Input[str] watchlist_id: Optional. The ID to use for the watchlist,
211
- which will become the final component of the watchlist's resource name.
212
- This value should be 4-63 characters, and valid characters
213
- are /a-z-/.
207
+ :param pulumi.Input[str] watchlist_id: Optional. The ID to use for the watchlist, which will become the final component of the watchlist's resource name. This
208
+ value should be 4-63 characters, and valid characters are /a-z-/.
214
209
  :param pulumi.Input['WatchlistWatchlistUserPreferencesArgs'] watchlist_user_preferences: A collection of user preferences for watchlist UI configuration.
215
210
  """
216
211
  if create_time is not None:
@@ -379,10 +374,8 @@ class _WatchlistState:
379
374
  @pulumi.getter(name="watchlistId")
380
375
  def watchlist_id(self) -> Optional[pulumi.Input[str]]:
381
376
  """
382
- Optional. The ID to use for the watchlist,
383
- which will become the final component of the watchlist's resource name.
384
- This value should be 4-63 characters, and valid characters
385
- are /a-z-/.
377
+ Optional. The ID to use for the watchlist, which will become the final component of the watchlist's resource name. This
378
+ value should be 4-63 characters, and valid characters are /a-z-/.
386
379
  """
387
380
  return pulumi.get(self, "watchlist_id")
388
381
 
@@ -430,7 +423,26 @@ class Watchlist(pulumi.CustomResource):
430
423
  example = gcp.chronicle.Watchlist("example",
431
424
  location="us",
432
425
  instance="00000000-0000-0000-0000-000000000000",
433
- watchlist_id="watchlist-name",
426
+ watchlist_id="watchlist-id",
427
+ description="watchlist-description",
428
+ display_name="watchlist_name",
429
+ multiplying_factor=1,
430
+ entity_population_mechanism={
431
+ "manual": {},
432
+ },
433
+ watchlist_user_preferences={
434
+ "pinned": True,
435
+ })
436
+ ```
437
+ ### Chronicle Watchlist Without Id
438
+
439
+ ```python
440
+ import pulumi
441
+ import pulumi_gcp as gcp
442
+
443
+ example = gcp.chronicle.Watchlist("example",
444
+ location="us",
445
+ instance="00000000-0000-0000-0000-000000000000",
434
446
  description="watchlist-description",
435
447
  display_name="watchlist-name",
436
448
  multiplying_factor=1,
@@ -477,10 +489,8 @@ class Watchlist(pulumi.CustomResource):
477
489
  :param pulumi.Input[str] instance: The unique identifier for the Chronicle instance, which is the same as the customer ID.
478
490
  :param pulumi.Input[str] location: The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".
479
491
  :param pulumi.Input[float] multiplying_factor: Optional. Weight applied to the risk score for entities in this watchlist. The default is 1.0 if it is not specified.
480
- :param pulumi.Input[str] watchlist_id: Optional. The ID to use for the watchlist,
481
- which will become the final component of the watchlist's resource name.
482
- This value should be 4-63 characters, and valid characters
483
- are /a-z-/.
492
+ :param pulumi.Input[str] watchlist_id: Optional. The ID to use for the watchlist, which will become the final component of the watchlist's resource name. This
493
+ value should be 4-63 characters, and valid characters are /a-z-/.
484
494
  :param pulumi.Input[Union['WatchlistWatchlistUserPreferencesArgs', 'WatchlistWatchlistUserPreferencesArgsDict']] watchlist_user_preferences: A collection of user preferences for watchlist UI configuration.
485
495
  """
486
496
  ...
@@ -501,7 +511,26 @@ class Watchlist(pulumi.CustomResource):
501
511
  example = gcp.chronicle.Watchlist("example",
502
512
  location="us",
503
513
  instance="00000000-0000-0000-0000-000000000000",
504
- watchlist_id="watchlist-name",
514
+ watchlist_id="watchlist-id",
515
+ description="watchlist-description",
516
+ display_name="watchlist_name",
517
+ multiplying_factor=1,
518
+ entity_population_mechanism={
519
+ "manual": {},
520
+ },
521
+ watchlist_user_preferences={
522
+ "pinned": True,
523
+ })
524
+ ```
525
+ ### Chronicle Watchlist Without Id
526
+
527
+ ```python
528
+ import pulumi
529
+ import pulumi_gcp as gcp
530
+
531
+ example = gcp.chronicle.Watchlist("example",
532
+ location="us",
533
+ instance="00000000-0000-0000-0000-000000000000",
505
534
  description="watchlist-description",
506
535
  display_name="watchlist-name",
507
536
  multiplying_factor=1,
@@ -585,8 +614,6 @@ class Watchlist(pulumi.CustomResource):
585
614
  __props__.__dict__["location"] = location
586
615
  __props__.__dict__["multiplying_factor"] = multiplying_factor
587
616
  __props__.__dict__["project"] = project
588
- if watchlist_id is None and not opts.urn:
589
- raise TypeError("Missing required property 'watchlist_id'")
590
617
  __props__.__dict__["watchlist_id"] = watchlist_id
591
618
  __props__.__dict__["watchlist_user_preferences"] = watchlist_user_preferences
592
619
  __props__.__dict__["create_time"] = None
@@ -639,10 +666,8 @@ class Watchlist(pulumi.CustomResource):
639
666
  Format:
640
667
  projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}
641
668
  :param pulumi.Input[str] update_time: Output only. Time the watchlist was last updated.
642
- :param pulumi.Input[str] watchlist_id: Optional. The ID to use for the watchlist,
643
- which will become the final component of the watchlist's resource name.
644
- This value should be 4-63 characters, and valid characters
645
- are /a-z-/.
669
+ :param pulumi.Input[str] watchlist_id: Optional. The ID to use for the watchlist, which will become the final component of the watchlist's resource name. This
670
+ value should be 4-63 characters, and valid characters are /a-z-/.
646
671
  :param pulumi.Input[Union['WatchlistWatchlistUserPreferencesArgs', 'WatchlistWatchlistUserPreferencesArgsDict']] watchlist_user_preferences: A collection of user preferences for watchlist UI configuration.
647
672
  """
648
673
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -759,10 +784,8 @@ class Watchlist(pulumi.CustomResource):
759
784
  @pulumi.getter(name="watchlistId")
760
785
  def watchlist_id(self) -> pulumi.Output[str]:
761
786
  """
762
- Optional. The ID to use for the watchlist,
763
- which will become the final component of the watchlist's resource name.
764
- This value should be 4-63 characters, and valid characters
765
- are /a-z-/.
787
+ Optional. The ID to use for the watchlist, which will become the final component of the watchlist's resource name. This
788
+ value should be 4-63 characters, and valid characters are /a-z-/.
766
789
  """
767
790
  return pulumi.get(self, "watchlist_id")
768
791
 
@@ -1180,7 +1180,7 @@ if not MYPY:
1180
1180
  Structure is documented below.
1181
1181
 
1182
1182
 
1183
- <a name="nested_timing"></a>The `timing` block contains:
1183
+ <a name="nested_build_artifacts_objects_timing"></a>The `timing` block contains:
1184
1184
  """
1185
1185
  elif False:
1186
1186
  TriggerBuildArtifactsObjectsArgsDict: TypeAlias = Mapping[str, Any]
@@ -1201,7 +1201,7 @@ class TriggerBuildArtifactsObjectsArgs:
1201
1201
  Structure is documented below.
1202
1202
 
1203
1203
 
1204
- <a name="nested_timing"></a>The `timing` block contains:
1204
+ <a name="nested_build_artifacts_objects_timing"></a>The `timing` block contains:
1205
1205
  """
1206
1206
  if location is not None:
1207
1207
  pulumi.set(__self__, "location", location)
@@ -1245,7 +1245,7 @@ class TriggerBuildArtifactsObjectsArgs:
1245
1245
  Structure is documented below.
1246
1246
 
1247
1247
 
1248
- <a name="nested_timing"></a>The `timing` block contains:
1248
+ <a name="nested_build_artifacts_objects_timing"></a>The `timing` block contains:
1249
1249
  """
1250
1250
  return pulumi.get(self, "timings")
1251
1251
 
@@ -941,7 +941,7 @@ class TriggerBuildArtifactsObjects(dict):
941
941
  Structure is documented below.
942
942
 
943
943
 
944
- <a name="nested_timing"></a>The `timing` block contains:
944
+ <a name="nested_build_artifacts_objects_timing"></a>The `timing` block contains:
945
945
  """
946
946
  if location is not None:
947
947
  pulumi.set(__self__, "location", location)
@@ -977,7 +977,7 @@ class TriggerBuildArtifactsObjects(dict):
977
977
  Structure is documented below.
978
978
 
979
979
 
980
- <a name="nested_timing"></a>The `timing` block contains:
980
+ <a name="nested_build_artifacts_objects_timing"></a>The `timing` block contains:
981
981
  """
982
982
  return pulumi.get(self, "timings")
983
983
 
@@ -7,6 +7,7 @@ import typing
7
7
  # Export this package's modules as members:
8
8
  from .get_s_quota_info import *
9
9
  from .get_s_quota_infos import *
10
+ from .s_quota_adjuster_settings import *
10
11
  from .s_quota_preference import *
11
12
  from ._inputs import *
12
13
  from . import outputs
@@ -0,0 +1,336 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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
+
17
+ __all__ = ['SQuotaAdjusterSettingsArgs', 'SQuotaAdjusterSettings']
18
+
19
+ @pulumi.input_type
20
+ class SQuotaAdjusterSettingsArgs:
21
+ def __init__(__self__, *,
22
+ enablement: pulumi.Input[str],
23
+ parent: Optional[pulumi.Input[str]] = None):
24
+ """
25
+ The set of arguments for constructing a SQuotaAdjusterSettings resource.
26
+ :param pulumi.Input[str] enablement: Required. The configured value of the enablement at the given resource.
27
+ Possible values are: `ENABLED`, `DISABLED`.
28
+ :param pulumi.Input[str] parent: The parent of the quota preference. Allowed parents are "projects/[project-id / number]" or "folders/[folder-id / number]" or "organizations/[org-id / number]".
29
+
30
+
31
+ - - -
32
+ """
33
+ pulumi.set(__self__, "enablement", enablement)
34
+ if parent is not None:
35
+ pulumi.set(__self__, "parent", parent)
36
+
37
+ @property
38
+ @pulumi.getter
39
+ def enablement(self) -> pulumi.Input[str]:
40
+ """
41
+ Required. The configured value of the enablement at the given resource.
42
+ Possible values are: `ENABLED`, `DISABLED`.
43
+ """
44
+ return pulumi.get(self, "enablement")
45
+
46
+ @enablement.setter
47
+ def enablement(self, value: pulumi.Input[str]):
48
+ pulumi.set(self, "enablement", value)
49
+
50
+ @property
51
+ @pulumi.getter
52
+ def parent(self) -> Optional[pulumi.Input[str]]:
53
+ """
54
+ The parent of the quota preference. Allowed parents are "projects/[project-id / number]" or "folders/[folder-id / number]" or "organizations/[org-id / number]".
55
+
56
+
57
+ - - -
58
+ """
59
+ return pulumi.get(self, "parent")
60
+
61
+ @parent.setter
62
+ def parent(self, value: Optional[pulumi.Input[str]]):
63
+ pulumi.set(self, "parent", value)
64
+
65
+
66
+ @pulumi.input_type
67
+ class _SQuotaAdjusterSettingsState:
68
+ def __init__(__self__, *,
69
+ effective_container: Optional[pulumi.Input[str]] = None,
70
+ effective_enablement: Optional[pulumi.Input[str]] = None,
71
+ enablement: Optional[pulumi.Input[str]] = None,
72
+ parent: Optional[pulumi.Input[str]] = None):
73
+ """
74
+ Input properties used for looking up and filtering SQuotaAdjusterSettings resources.
75
+ :param pulumi.Input[str] effective_container: Fields to capture the hierarchy enablement.
76
+ The container (org/folder/project) that determines if the quota adjuster is set for this project/folder/org. We use the nearest-ancestor to determine the effective container.
77
+ The nearest ancestor (including this container) with `enabled` set (either true or false) will be returned.
78
+ :param pulumi.Input[str] effective_enablement: Based on the effective container`s setting above, determines Whether this container has the quota adjuster enabled.
79
+ :param pulumi.Input[str] enablement: Required. The configured value of the enablement at the given resource.
80
+ Possible values are: `ENABLED`, `DISABLED`.
81
+ :param pulumi.Input[str] parent: The parent of the quota preference. Allowed parents are "projects/[project-id / number]" or "folders/[folder-id / number]" or "organizations/[org-id / number]".
82
+
83
+
84
+ - - -
85
+ """
86
+ if effective_container is not None:
87
+ pulumi.set(__self__, "effective_container", effective_container)
88
+ if effective_enablement is not None:
89
+ pulumi.set(__self__, "effective_enablement", effective_enablement)
90
+ if enablement is not None:
91
+ pulumi.set(__self__, "enablement", enablement)
92
+ if parent is not None:
93
+ pulumi.set(__self__, "parent", parent)
94
+
95
+ @property
96
+ @pulumi.getter(name="effectiveContainer")
97
+ def effective_container(self) -> Optional[pulumi.Input[str]]:
98
+ """
99
+ Fields to capture the hierarchy enablement.
100
+ The container (org/folder/project) that determines if the quota adjuster is set for this project/folder/org. We use the nearest-ancestor to determine the effective container.
101
+ The nearest ancestor (including this container) with `enabled` set (either true or false) will be returned.
102
+ """
103
+ return pulumi.get(self, "effective_container")
104
+
105
+ @effective_container.setter
106
+ def effective_container(self, value: Optional[pulumi.Input[str]]):
107
+ pulumi.set(self, "effective_container", value)
108
+
109
+ @property
110
+ @pulumi.getter(name="effectiveEnablement")
111
+ def effective_enablement(self) -> Optional[pulumi.Input[str]]:
112
+ """
113
+ Based on the effective container`s setting above, determines Whether this container has the quota adjuster enabled.
114
+ """
115
+ return pulumi.get(self, "effective_enablement")
116
+
117
+ @effective_enablement.setter
118
+ def effective_enablement(self, value: Optional[pulumi.Input[str]]):
119
+ pulumi.set(self, "effective_enablement", value)
120
+
121
+ @property
122
+ @pulumi.getter
123
+ def enablement(self) -> Optional[pulumi.Input[str]]:
124
+ """
125
+ Required. The configured value of the enablement at the given resource.
126
+ Possible values are: `ENABLED`, `DISABLED`.
127
+ """
128
+ return pulumi.get(self, "enablement")
129
+
130
+ @enablement.setter
131
+ def enablement(self, value: Optional[pulumi.Input[str]]):
132
+ pulumi.set(self, "enablement", value)
133
+
134
+ @property
135
+ @pulumi.getter
136
+ def parent(self) -> Optional[pulumi.Input[str]]:
137
+ """
138
+ The parent of the quota preference. Allowed parents are "projects/[project-id / number]" or "folders/[folder-id / number]" or "organizations/[org-id / number]".
139
+
140
+
141
+ - - -
142
+ """
143
+ return pulumi.get(self, "parent")
144
+
145
+ @parent.setter
146
+ def parent(self, value: Optional[pulumi.Input[str]]):
147
+ pulumi.set(self, "parent", value)
148
+
149
+
150
+ class SQuotaAdjusterSettings(pulumi.CustomResource):
151
+ @overload
152
+ def __init__(__self__,
153
+ resource_name: str,
154
+ opts: Optional[pulumi.ResourceOptions] = None,
155
+ enablement: Optional[pulumi.Input[str]] = None,
156
+ parent: Optional[pulumi.Input[str]] = None,
157
+ __props__=None):
158
+ """
159
+ ## Example Usage
160
+
161
+ ### Cloudquotas Quota Adjuster Settings Basic
162
+
163
+ ```python
164
+ import pulumi
165
+ import pulumi_gcp as gcp
166
+
167
+ adjuster_settings = gcp.cloudquota.SQuotaAdjusterSettings("adjuster_settings",
168
+ parent="projects/104740170505",
169
+ enablement="ENABLED")
170
+ ```
171
+
172
+ ## Import
173
+
174
+ QuotaAdjusterSettings can be imported using any of these accepted formats:
175
+
176
+ * `{{parent}}/locations/global/quotaAdjusterSettings`
177
+
178
+ When using the `pulumi import` command, QuotaAdjusterSettings can be imported using one of the formats above. For example:
179
+
180
+ ```sh
181
+ $ pulumi import gcp:cloudquota/sQuotaAdjusterSettings:SQuotaAdjusterSettings default {{parent}}/locations/global/quotaAdjusterSettings
182
+ ```
183
+
184
+ :param str resource_name: The name of the resource.
185
+ :param pulumi.ResourceOptions opts: Options for the resource.
186
+ :param pulumi.Input[str] enablement: Required. The configured value of the enablement at the given resource.
187
+ Possible values are: `ENABLED`, `DISABLED`.
188
+ :param pulumi.Input[str] parent: The parent of the quota preference. Allowed parents are "projects/[project-id / number]" or "folders/[folder-id / number]" or "organizations/[org-id / number]".
189
+
190
+
191
+ - - -
192
+ """
193
+ ...
194
+ @overload
195
+ def __init__(__self__,
196
+ resource_name: str,
197
+ args: SQuotaAdjusterSettingsArgs,
198
+ opts: Optional[pulumi.ResourceOptions] = None):
199
+ """
200
+ ## Example Usage
201
+
202
+ ### Cloudquotas Quota Adjuster Settings Basic
203
+
204
+ ```python
205
+ import pulumi
206
+ import pulumi_gcp as gcp
207
+
208
+ adjuster_settings = gcp.cloudquota.SQuotaAdjusterSettings("adjuster_settings",
209
+ parent="projects/104740170505",
210
+ enablement="ENABLED")
211
+ ```
212
+
213
+ ## Import
214
+
215
+ QuotaAdjusterSettings can be imported using any of these accepted formats:
216
+
217
+ * `{{parent}}/locations/global/quotaAdjusterSettings`
218
+
219
+ When using the `pulumi import` command, QuotaAdjusterSettings can be imported using one of the formats above. For example:
220
+
221
+ ```sh
222
+ $ pulumi import gcp:cloudquota/sQuotaAdjusterSettings:SQuotaAdjusterSettings default {{parent}}/locations/global/quotaAdjusterSettings
223
+ ```
224
+
225
+ :param str resource_name: The name of the resource.
226
+ :param SQuotaAdjusterSettingsArgs args: The arguments to use to populate this resource's properties.
227
+ :param pulumi.ResourceOptions opts: Options for the resource.
228
+ """
229
+ ...
230
+ def __init__(__self__, resource_name: str, *args, **kwargs):
231
+ resource_args, opts = _utilities.get_resource_args_opts(SQuotaAdjusterSettingsArgs, pulumi.ResourceOptions, *args, **kwargs)
232
+ if resource_args is not None:
233
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
234
+ else:
235
+ __self__._internal_init(resource_name, *args, **kwargs)
236
+
237
+ def _internal_init(__self__,
238
+ resource_name: str,
239
+ opts: Optional[pulumi.ResourceOptions] = None,
240
+ enablement: Optional[pulumi.Input[str]] = None,
241
+ parent: Optional[pulumi.Input[str]] = None,
242
+ __props__=None):
243
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
244
+ if not isinstance(opts, pulumi.ResourceOptions):
245
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
246
+ if opts.id is None:
247
+ if __props__ is not None:
248
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
249
+ __props__ = SQuotaAdjusterSettingsArgs.__new__(SQuotaAdjusterSettingsArgs)
250
+
251
+ if enablement is None and not opts.urn:
252
+ raise TypeError("Missing required property 'enablement'")
253
+ __props__.__dict__["enablement"] = enablement
254
+ __props__.__dict__["parent"] = parent
255
+ __props__.__dict__["effective_container"] = None
256
+ __props__.__dict__["effective_enablement"] = None
257
+ super(SQuotaAdjusterSettings, __self__).__init__(
258
+ 'gcp:cloudquota/sQuotaAdjusterSettings:SQuotaAdjusterSettings',
259
+ resource_name,
260
+ __props__,
261
+ opts)
262
+
263
+ @staticmethod
264
+ def get(resource_name: str,
265
+ id: pulumi.Input[str],
266
+ opts: Optional[pulumi.ResourceOptions] = None,
267
+ effective_container: Optional[pulumi.Input[str]] = None,
268
+ effective_enablement: Optional[pulumi.Input[str]] = None,
269
+ enablement: Optional[pulumi.Input[str]] = None,
270
+ parent: Optional[pulumi.Input[str]] = None) -> 'SQuotaAdjusterSettings':
271
+ """
272
+ Get an existing SQuotaAdjusterSettings resource's state with the given name, id, and optional extra
273
+ properties used to qualify the lookup.
274
+
275
+ :param str resource_name: The unique name of the resulting resource.
276
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
277
+ :param pulumi.ResourceOptions opts: Options for the resource.
278
+ :param pulumi.Input[str] effective_container: Fields to capture the hierarchy enablement.
279
+ The container (org/folder/project) that determines if the quota adjuster is set for this project/folder/org. We use the nearest-ancestor to determine the effective container.
280
+ The nearest ancestor (including this container) with `enabled` set (either true or false) will be returned.
281
+ :param pulumi.Input[str] effective_enablement: Based on the effective container`s setting above, determines Whether this container has the quota adjuster enabled.
282
+ :param pulumi.Input[str] enablement: Required. The configured value of the enablement at the given resource.
283
+ Possible values are: `ENABLED`, `DISABLED`.
284
+ :param pulumi.Input[str] parent: The parent of the quota preference. Allowed parents are "projects/[project-id / number]" or "folders/[folder-id / number]" or "organizations/[org-id / number]".
285
+
286
+
287
+ - - -
288
+ """
289
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
290
+
291
+ __props__ = _SQuotaAdjusterSettingsState.__new__(_SQuotaAdjusterSettingsState)
292
+
293
+ __props__.__dict__["effective_container"] = effective_container
294
+ __props__.__dict__["effective_enablement"] = effective_enablement
295
+ __props__.__dict__["enablement"] = enablement
296
+ __props__.__dict__["parent"] = parent
297
+ return SQuotaAdjusterSettings(resource_name, opts=opts, __props__=__props__)
298
+
299
+ @property
300
+ @pulumi.getter(name="effectiveContainer")
301
+ def effective_container(self) -> pulumi.Output[str]:
302
+ """
303
+ Fields to capture the hierarchy enablement.
304
+ The container (org/folder/project) that determines if the quota adjuster is set for this project/folder/org. We use the nearest-ancestor to determine the effective container.
305
+ The nearest ancestor (including this container) with `enabled` set (either true or false) will be returned.
306
+ """
307
+ return pulumi.get(self, "effective_container")
308
+
309
+ @property
310
+ @pulumi.getter(name="effectiveEnablement")
311
+ def effective_enablement(self) -> pulumi.Output[str]:
312
+ """
313
+ Based on the effective container`s setting above, determines Whether this container has the quota adjuster enabled.
314
+ """
315
+ return pulumi.get(self, "effective_enablement")
316
+
317
+ @property
318
+ @pulumi.getter
319
+ def enablement(self) -> pulumi.Output[str]:
320
+ """
321
+ Required. The configured value of the enablement at the given resource.
322
+ Possible values are: `ENABLED`, `DISABLED`.
323
+ """
324
+ return pulumi.get(self, "enablement")
325
+
326
+ @property
327
+ @pulumi.getter
328
+ def parent(self) -> pulumi.Output[str]:
329
+ """
330
+ The parent of the quota preference. Allowed parents are "projects/[project-id / number]" or "folders/[folder-id / number]" or "organizations/[org-id / number]".
331
+
332
+
333
+ - - -
334
+ """
335
+ return pulumi.get(self, "parent")
336
+
@@ -0,0 +1,10 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ from .. import _utilities
6
+ import typing
7
+ # Export this package's modules as members:
8
+ from .runtime_template import *
9
+ from ._inputs import *
10
+ from . import outputs