pulumi-gcp 8.40.0a1754721948__py3-none-any.whl → 8.40.0a1754951145__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 (157) hide show
  1. pulumi_gcp/__init__.py +128 -0
  2. pulumi_gcp/accesscontextmanager/_inputs.py +24 -4
  3. pulumi_gcp/accesscontextmanager/outputs.py +15 -3
  4. pulumi_gcp/apigee/__init__.py +2 -0
  5. pulumi_gcp/apigee/_inputs.py +1435 -0
  6. pulumi_gcp/apigee/api_product.py +1698 -0
  7. pulumi_gcp/apigee/outputs.py +1081 -0
  8. pulumi_gcp/apigee/security_action.py +1010 -0
  9. pulumi_gcp/artifactregistry/__init__.py +1 -0
  10. pulumi_gcp/artifactregistry/get_docker_images.py +164 -0
  11. pulumi_gcp/artifactregistry/outputs.py +109 -2
  12. pulumi_gcp/artifactregistry/repository.py +6 -6
  13. pulumi_gcp/backupdisasterrecovery/backup_vault.py +56 -0
  14. pulumi_gcp/backupdisasterrecovery/get_backup_vault.py +12 -1
  15. pulumi_gcp/bigquery/_inputs.py +6 -0
  16. pulumi_gcp/bigquery/get_table.py +23 -1
  17. pulumi_gcp/bigquery/outputs.py +4 -0
  18. pulumi_gcp/bigquery/table.py +62 -0
  19. pulumi_gcp/bigqueryanalyticshub/_inputs.py +180 -0
  20. pulumi_gcp/bigqueryanalyticshub/data_exchange.py +80 -0
  21. pulumi_gcp/bigqueryanalyticshub/listing.py +322 -2
  22. pulumi_gcp/bigqueryanalyticshub/listing_subscription.py +32 -0
  23. pulumi_gcp/bigqueryanalyticshub/outputs.py +159 -0
  24. pulumi_gcp/bigtable/__init__.py +1 -0
  25. pulumi_gcp/bigtable/_inputs.py +33 -0
  26. pulumi_gcp/bigtable/outputs.py +36 -0
  27. pulumi_gcp/bigtable/schema_bundle.py +568 -0
  28. pulumi_gcp/cloudfunctions/_inputs.py +48 -0
  29. pulumi_gcp/cloudfunctions/function.py +94 -0
  30. pulumi_gcp/cloudfunctions/get_function.py +23 -1
  31. pulumi_gcp/cloudfunctions/outputs.py +70 -0
  32. pulumi_gcp/cloudrunv2/_inputs.py +20 -0
  33. pulumi_gcp/cloudrunv2/job.py +2 -0
  34. pulumi_gcp/cloudrunv2/outputs.py +25 -0
  35. pulumi_gcp/cloudrunv2/worker_pool.py +2 -0
  36. pulumi_gcp/compute/__init__.py +1 -0
  37. pulumi_gcp/compute/_inputs.py +713 -22
  38. pulumi_gcp/compute/firewall_policy_with_rules.py +66 -0
  39. pulumi_gcp/compute/forwarding_rule.py +0 -21
  40. pulumi_gcp/compute/get_router.py +12 -1
  41. pulumi_gcp/compute/outputs.py +562 -22
  42. pulumi_gcp/compute/preview_feature.py +396 -0
  43. pulumi_gcp/compute/region_url_map.py +392 -0
  44. pulumi_gcp/compute/reservation.py +4 -4
  45. pulumi_gcp/compute/router.py +54 -0
  46. pulumi_gcp/compute/storage_pool.py +154 -0
  47. pulumi_gcp/compute/subnetwork.py +54 -0
  48. pulumi_gcp/config/__init__.pyi +2 -0
  49. pulumi_gcp/config/vars.py +4 -0
  50. pulumi_gcp/container/_inputs.py +278 -8
  51. pulumi_gcp/container/cluster.py +61 -21
  52. pulumi_gcp/container/get_cluster.py +12 -1
  53. pulumi_gcp/container/outputs.py +352 -8
  54. pulumi_gcp/dataproc/_inputs.py +249 -14
  55. pulumi_gcp/dataproc/batch.py +6 -0
  56. pulumi_gcp/dataproc/cluster.py +2 -0
  57. pulumi_gcp/dataproc/outputs.py +215 -12
  58. pulumi_gcp/dataproc/session_template.py +14 -2
  59. pulumi_gcp/developerconnect/__init__.py +1 -0
  60. pulumi_gcp/developerconnect/_inputs.py +583 -0
  61. pulumi_gcp/developerconnect/insights_config.py +895 -0
  62. pulumi_gcp/developerconnect/outputs.py +442 -0
  63. pulumi_gcp/diagflow/__init__.py +1 -0
  64. pulumi_gcp/diagflow/_inputs.py +1165 -58
  65. pulumi_gcp/diagflow/cx_generator.py +636 -0
  66. pulumi_gcp/diagflow/cx_tool.py +2 -2
  67. pulumi_gcp/diagflow/cx_webhook.py +380 -36
  68. pulumi_gcp/diagflow/outputs.py +848 -25
  69. pulumi_gcp/discoveryengine/__init__.py +2 -0
  70. pulumi_gcp/discoveryengine/_inputs.py +465 -0
  71. pulumi_gcp/discoveryengine/cmek_config.py +707 -0
  72. pulumi_gcp/discoveryengine/outputs.py +412 -0
  73. pulumi_gcp/discoveryengine/recommendation_engine.py +813 -0
  74. pulumi_gcp/firestore/field.py +6 -6
  75. pulumi_gcp/gemini/gemini_gcp_enablement_setting.py +107 -9
  76. pulumi_gcp/gemini/gemini_gcp_enablement_setting_binding.py +2 -2
  77. pulumi_gcp/gkehub/membership_binding.py +6 -6
  78. pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
  79. pulumi_gcp/gkehub/namespace.py +4 -4
  80. pulumi_gcp/gkehub/scope_rbac_role_binding.py +8 -8
  81. pulumi_gcp/iam/__init__.py +4 -0
  82. pulumi_gcp/iam/_inputs.py +98 -0
  83. pulumi_gcp/iam/get_workforce_pool_iam_policy.py +161 -0
  84. pulumi_gcp/iam/outputs.py +56 -0
  85. pulumi_gcp/iam/workforce_pool_iam_binding.py +761 -0
  86. pulumi_gcp/iam/workforce_pool_iam_member.py +761 -0
  87. pulumi_gcp/iam/workforce_pool_iam_policy.py +600 -0
  88. pulumi_gcp/iap/tunnel_dest_group.py +2 -2
  89. pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
  90. pulumi_gcp/looker/instance.py +28 -7
  91. pulumi_gcp/managedkafka/_inputs.py +127 -0
  92. pulumi_gcp/managedkafka/cluster.py +131 -1
  93. pulumi_gcp/managedkafka/connect_cluster.py +4 -4
  94. pulumi_gcp/managedkafka/connector.py +4 -4
  95. pulumi_gcp/managedkafka/outputs.py +128 -0
  96. pulumi_gcp/memorystore/instance.py +8 -12
  97. pulumi_gcp/modelarmor/__init__.py +1 -0
  98. pulumi_gcp/modelarmor/_inputs.py +683 -0
  99. pulumi_gcp/modelarmor/floorsetting.py +736 -0
  100. pulumi_gcp/modelarmor/outputs.py +618 -0
  101. pulumi_gcp/networkconnectivity/_inputs.py +60 -0
  102. pulumi_gcp/networkconnectivity/internal_range.py +136 -0
  103. pulumi_gcp/networkconnectivity/outputs.py +55 -0
  104. pulumi_gcp/networkconnectivity/spoke.py +14 -14
  105. pulumi_gcp/oracledatabase/__init__.py +2 -0
  106. pulumi_gcp/oracledatabase/autonomous_database.py +262 -38
  107. pulumi_gcp/oracledatabase/cloud_vm_cluster.py +314 -50
  108. pulumi_gcp/oracledatabase/get_autonomous_database.py +23 -1
  109. pulumi_gcp/oracledatabase/get_cloud_vm_cluster.py +34 -1
  110. pulumi_gcp/oracledatabase/odb_network.py +721 -0
  111. pulumi_gcp/oracledatabase/odb_subnet.py +803 -0
  112. pulumi_gcp/oracledatabase/outputs.py +83 -0
  113. pulumi_gcp/orgpolicy/policy.py +2 -2
  114. pulumi_gcp/parametermanager/parameter_version.py +62 -0
  115. pulumi_gcp/parametermanager/regional_parameter_version.py +64 -0
  116. pulumi_gcp/provider.py +20 -0
  117. pulumi_gcp/pubsub/subscription.py +46 -6
  118. pulumi_gcp/pubsub/topic.py +36 -0
  119. pulumi_gcp/pulumi-plugin.json +1 -1
  120. pulumi_gcp/redis/cluster.py +70 -0
  121. pulumi_gcp/redis/get_cluster.py +12 -1
  122. pulumi_gcp/redis/instance.py +8 -12
  123. pulumi_gcp/secretmanager/get_regional_secret.py +12 -1
  124. pulumi_gcp/secretmanager/get_secret.py +12 -1
  125. pulumi_gcp/secretmanager/outputs.py +30 -0
  126. pulumi_gcp/secretmanager/regional_secret.py +61 -0
  127. pulumi_gcp/secretmanager/secret.py +61 -0
  128. pulumi_gcp/securesourcemanager/branch_rule.py +16 -8
  129. pulumi_gcp/securesourcemanager/instance.py +112 -4
  130. pulumi_gcp/securesourcemanager/repository.py +112 -8
  131. pulumi_gcp/serviceaccount/get_account_key.py +1 -0
  132. pulumi_gcp/sql/_inputs.py +6 -6
  133. pulumi_gcp/sql/database.py +0 -12
  134. pulumi_gcp/sql/outputs.py +4 -4
  135. pulumi_gcp/storage/__init__.py +2 -0
  136. pulumi_gcp/storage/_inputs.py +451 -0
  137. pulumi_gcp/storage/bucket.py +7 -7
  138. pulumi_gcp/storage/bucket_object.py +34 -0
  139. pulumi_gcp/storage/get_bucket_object.py +12 -1
  140. pulumi_gcp/storage/get_bucket_object_content.py +12 -1
  141. pulumi_gcp/storage/get_insights_dataset_config.py +363 -0
  142. pulumi_gcp/storage/insights_dataset_config.py +1280 -0
  143. pulumi_gcp/storage/outputs.py +619 -0
  144. pulumi_gcp/vertex/__init__.py +1 -0
  145. pulumi_gcp/vertex/_inputs.py +3646 -3
  146. pulumi_gcp/vertex/ai_endpoint.py +4 -4
  147. pulumi_gcp/vertex/ai_endpoint_with_model_garden_deployment.py +940 -0
  148. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
  149. pulumi_gcp/vertex/outputs.py +2609 -2
  150. pulumi_gcp/vmwareengine/network_peering.py +7 -7
  151. pulumi_gcp/workbench/_inputs.py +118 -0
  152. pulumi_gcp/workbench/instance.py +171 -2
  153. pulumi_gcp/workbench/outputs.py +91 -0
  154. {pulumi_gcp-8.40.0a1754721948.dist-info → pulumi_gcp-8.40.0a1754951145.dist-info}/METADATA +1 -1
  155. {pulumi_gcp-8.40.0a1754721948.dist-info → pulumi_gcp-8.40.0a1754951145.dist-info}/RECORD +157 -138
  156. {pulumi_gcp-8.40.0a1754721948.dist-info → pulumi_gcp-8.40.0a1754951145.dist-info}/WHEEL +0 -0
  157. {pulumi_gcp-8.40.0a1754721948.dist-info → pulumi_gcp-8.40.0a1754951145.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,396 @@
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 as _builtins
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+ from . import outputs
17
+ from ._inputs import *
18
+
19
+ __all__ = ['PreviewFeatureArgs', 'PreviewFeature']
20
+
21
+ @pulumi.input_type
22
+ class PreviewFeatureArgs:
23
+ def __init__(__self__, *,
24
+ activation_status: pulumi.Input[_builtins.str],
25
+ name: Optional[pulumi.Input[_builtins.str]] = None,
26
+ project: Optional[pulumi.Input[_builtins.str]] = None,
27
+ rollout_operation: Optional[pulumi.Input['PreviewFeatureRolloutOperationArgs']] = None):
28
+ """
29
+ The set of arguments for constructing a PreviewFeature resource.
30
+ :param pulumi.Input[_builtins.str] activation_status: The activation status of the preview feature.
31
+ Possible values are: `ENABLED`, `DISABLED`.
32
+ :param pulumi.Input[_builtins.str] name: The name of the preview feature.
33
+ :param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
34
+ If it is not provided, the provider project is used.
35
+ :param pulumi.Input['PreviewFeatureRolloutOperationArgs'] rollout_operation: The rollout operation of the feature.
36
+ Structure is documented below.
37
+ """
38
+ pulumi.set(__self__, "activation_status", activation_status)
39
+ if name is not None:
40
+ pulumi.set(__self__, "name", name)
41
+ if project is not None:
42
+ pulumi.set(__self__, "project", project)
43
+ if rollout_operation is not None:
44
+ pulumi.set(__self__, "rollout_operation", rollout_operation)
45
+
46
+ @_builtins.property
47
+ @pulumi.getter(name="activationStatus")
48
+ def activation_status(self) -> pulumi.Input[_builtins.str]:
49
+ """
50
+ The activation status of the preview feature.
51
+ Possible values are: `ENABLED`, `DISABLED`.
52
+ """
53
+ return pulumi.get(self, "activation_status")
54
+
55
+ @activation_status.setter
56
+ def activation_status(self, value: pulumi.Input[_builtins.str]):
57
+ pulumi.set(self, "activation_status", value)
58
+
59
+ @_builtins.property
60
+ @pulumi.getter
61
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
62
+ """
63
+ The name of the preview feature.
64
+ """
65
+ return pulumi.get(self, "name")
66
+
67
+ @name.setter
68
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
69
+ pulumi.set(self, "name", value)
70
+
71
+ @_builtins.property
72
+ @pulumi.getter
73
+ def project(self) -> Optional[pulumi.Input[_builtins.str]]:
74
+ """
75
+ The ID of the project in which the resource belongs.
76
+ If it is not provided, the provider project is used.
77
+ """
78
+ return pulumi.get(self, "project")
79
+
80
+ @project.setter
81
+ def project(self, value: Optional[pulumi.Input[_builtins.str]]):
82
+ pulumi.set(self, "project", value)
83
+
84
+ @_builtins.property
85
+ @pulumi.getter(name="rolloutOperation")
86
+ def rollout_operation(self) -> Optional[pulumi.Input['PreviewFeatureRolloutOperationArgs']]:
87
+ """
88
+ The rollout operation of the feature.
89
+ Structure is documented below.
90
+ """
91
+ return pulumi.get(self, "rollout_operation")
92
+
93
+ @rollout_operation.setter
94
+ def rollout_operation(self, value: Optional[pulumi.Input['PreviewFeatureRolloutOperationArgs']]):
95
+ pulumi.set(self, "rollout_operation", value)
96
+
97
+
98
+ @pulumi.input_type
99
+ class _PreviewFeatureState:
100
+ def __init__(__self__, *,
101
+ activation_status: Optional[pulumi.Input[_builtins.str]] = None,
102
+ name: Optional[pulumi.Input[_builtins.str]] = None,
103
+ project: Optional[pulumi.Input[_builtins.str]] = None,
104
+ rollout_operation: Optional[pulumi.Input['PreviewFeatureRolloutOperationArgs']] = None):
105
+ """
106
+ Input properties used for looking up and filtering PreviewFeature resources.
107
+ :param pulumi.Input[_builtins.str] activation_status: The activation status of the preview feature.
108
+ Possible values are: `ENABLED`, `DISABLED`.
109
+ :param pulumi.Input[_builtins.str] name: The name of the preview feature.
110
+ :param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
111
+ If it is not provided, the provider project is used.
112
+ :param pulumi.Input['PreviewFeatureRolloutOperationArgs'] rollout_operation: The rollout operation of the feature.
113
+ Structure is documented below.
114
+ """
115
+ if activation_status is not None:
116
+ pulumi.set(__self__, "activation_status", activation_status)
117
+ if name is not None:
118
+ pulumi.set(__self__, "name", name)
119
+ if project is not None:
120
+ pulumi.set(__self__, "project", project)
121
+ if rollout_operation is not None:
122
+ pulumi.set(__self__, "rollout_operation", rollout_operation)
123
+
124
+ @_builtins.property
125
+ @pulumi.getter(name="activationStatus")
126
+ def activation_status(self) -> Optional[pulumi.Input[_builtins.str]]:
127
+ """
128
+ The activation status of the preview feature.
129
+ Possible values are: `ENABLED`, `DISABLED`.
130
+ """
131
+ return pulumi.get(self, "activation_status")
132
+
133
+ @activation_status.setter
134
+ def activation_status(self, value: Optional[pulumi.Input[_builtins.str]]):
135
+ pulumi.set(self, "activation_status", value)
136
+
137
+ @_builtins.property
138
+ @pulumi.getter
139
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
140
+ """
141
+ The name of the preview feature.
142
+ """
143
+ return pulumi.get(self, "name")
144
+
145
+ @name.setter
146
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
147
+ pulumi.set(self, "name", value)
148
+
149
+ @_builtins.property
150
+ @pulumi.getter
151
+ def project(self) -> Optional[pulumi.Input[_builtins.str]]:
152
+ """
153
+ The ID of the project in which the resource belongs.
154
+ If it is not provided, the provider project is used.
155
+ """
156
+ return pulumi.get(self, "project")
157
+
158
+ @project.setter
159
+ def project(self, value: Optional[pulumi.Input[_builtins.str]]):
160
+ pulumi.set(self, "project", value)
161
+
162
+ @_builtins.property
163
+ @pulumi.getter(name="rolloutOperation")
164
+ def rollout_operation(self) -> Optional[pulumi.Input['PreviewFeatureRolloutOperationArgs']]:
165
+ """
166
+ The rollout operation of the feature.
167
+ Structure is documented below.
168
+ """
169
+ return pulumi.get(self, "rollout_operation")
170
+
171
+ @rollout_operation.setter
172
+ def rollout_operation(self, value: Optional[pulumi.Input['PreviewFeatureRolloutOperationArgs']]):
173
+ pulumi.set(self, "rollout_operation", value)
174
+
175
+
176
+ @pulumi.type_token("gcp:compute/previewFeature:PreviewFeature")
177
+ class PreviewFeature(pulumi.CustomResource):
178
+ @overload
179
+ def __init__(__self__,
180
+ resource_name: str,
181
+ opts: Optional[pulumi.ResourceOptions] = None,
182
+ activation_status: Optional[pulumi.Input[_builtins.str]] = None,
183
+ name: Optional[pulumi.Input[_builtins.str]] = None,
184
+ project: Optional[pulumi.Input[_builtins.str]] = None,
185
+ rollout_operation: Optional[pulumi.Input[Union['PreviewFeatureRolloutOperationArgs', 'PreviewFeatureRolloutOperationArgsDict']]] = None,
186
+ __props__=None):
187
+ """
188
+ ## Example Usage
189
+
190
+ ### Preview Feature Basic
191
+
192
+ ```python
193
+ import pulumi
194
+ import pulumi_gcp as gcp
195
+
196
+ gce_preview_feature = gcp.compute.PreviewFeature("gce_preview_feature",
197
+ name="alpha-api-access",
198
+ activation_status="DISABLED",
199
+ rollout_operation={
200
+ "rollout_input": {
201
+ "predefined_rollout_plan": "ROLLOUT_PLAN_FAST_ROLLOUT",
202
+ },
203
+ })
204
+ ```
205
+
206
+ ## Import
207
+
208
+ PreviewFeature can be imported using any of these accepted formats:
209
+
210
+ * `projects/{{project}}/global/previewFeatures/{{name}}`
211
+
212
+ * `{{project}}/{{name}}`
213
+
214
+ * `{{name}}`
215
+
216
+ When using the `pulumi import` command, PreviewFeature can be imported using one of the formats above. For example:
217
+
218
+ ```sh
219
+ $ pulumi import gcp:compute/previewFeature:PreviewFeature default projects/{{project}}/global/previewFeatures/{{name}}
220
+ ```
221
+
222
+ ```sh
223
+ $ pulumi import gcp:compute/previewFeature:PreviewFeature default {{project}}/{{name}}
224
+ ```
225
+
226
+ ```sh
227
+ $ pulumi import gcp:compute/previewFeature:PreviewFeature default {{name}}
228
+ ```
229
+
230
+ :param str resource_name: The name of the resource.
231
+ :param pulumi.ResourceOptions opts: Options for the resource.
232
+ :param pulumi.Input[_builtins.str] activation_status: The activation status of the preview feature.
233
+ Possible values are: `ENABLED`, `DISABLED`.
234
+ :param pulumi.Input[_builtins.str] name: The name of the preview feature.
235
+ :param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
236
+ If it is not provided, the provider project is used.
237
+ :param pulumi.Input[Union['PreviewFeatureRolloutOperationArgs', 'PreviewFeatureRolloutOperationArgsDict']] rollout_operation: The rollout operation of the feature.
238
+ Structure is documented below.
239
+ """
240
+ ...
241
+ @overload
242
+ def __init__(__self__,
243
+ resource_name: str,
244
+ args: PreviewFeatureArgs,
245
+ opts: Optional[pulumi.ResourceOptions] = None):
246
+ """
247
+ ## Example Usage
248
+
249
+ ### Preview Feature Basic
250
+
251
+ ```python
252
+ import pulumi
253
+ import pulumi_gcp as gcp
254
+
255
+ gce_preview_feature = gcp.compute.PreviewFeature("gce_preview_feature",
256
+ name="alpha-api-access",
257
+ activation_status="DISABLED",
258
+ rollout_operation={
259
+ "rollout_input": {
260
+ "predefined_rollout_plan": "ROLLOUT_PLAN_FAST_ROLLOUT",
261
+ },
262
+ })
263
+ ```
264
+
265
+ ## Import
266
+
267
+ PreviewFeature can be imported using any of these accepted formats:
268
+
269
+ * `projects/{{project}}/global/previewFeatures/{{name}}`
270
+
271
+ * `{{project}}/{{name}}`
272
+
273
+ * `{{name}}`
274
+
275
+ When using the `pulumi import` command, PreviewFeature can be imported using one of the formats above. For example:
276
+
277
+ ```sh
278
+ $ pulumi import gcp:compute/previewFeature:PreviewFeature default projects/{{project}}/global/previewFeatures/{{name}}
279
+ ```
280
+
281
+ ```sh
282
+ $ pulumi import gcp:compute/previewFeature:PreviewFeature default {{project}}/{{name}}
283
+ ```
284
+
285
+ ```sh
286
+ $ pulumi import gcp:compute/previewFeature:PreviewFeature default {{name}}
287
+ ```
288
+
289
+ :param str resource_name: The name of the resource.
290
+ :param PreviewFeatureArgs args: The arguments to use to populate this resource's properties.
291
+ :param pulumi.ResourceOptions opts: Options for the resource.
292
+ """
293
+ ...
294
+ def __init__(__self__, resource_name: str, *args, **kwargs):
295
+ resource_args, opts = _utilities.get_resource_args_opts(PreviewFeatureArgs, pulumi.ResourceOptions, *args, **kwargs)
296
+ if resource_args is not None:
297
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
298
+ else:
299
+ __self__._internal_init(resource_name, *args, **kwargs)
300
+
301
+ def _internal_init(__self__,
302
+ resource_name: str,
303
+ opts: Optional[pulumi.ResourceOptions] = None,
304
+ activation_status: Optional[pulumi.Input[_builtins.str]] = None,
305
+ name: Optional[pulumi.Input[_builtins.str]] = None,
306
+ project: Optional[pulumi.Input[_builtins.str]] = None,
307
+ rollout_operation: Optional[pulumi.Input[Union['PreviewFeatureRolloutOperationArgs', 'PreviewFeatureRolloutOperationArgsDict']]] = None,
308
+ __props__=None):
309
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
310
+ if not isinstance(opts, pulumi.ResourceOptions):
311
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
312
+ if opts.id is None:
313
+ if __props__ is not None:
314
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
315
+ __props__ = PreviewFeatureArgs.__new__(PreviewFeatureArgs)
316
+
317
+ if activation_status is None and not opts.urn:
318
+ raise TypeError("Missing required property 'activation_status'")
319
+ __props__.__dict__["activation_status"] = activation_status
320
+ __props__.__dict__["name"] = name
321
+ __props__.__dict__["project"] = project
322
+ __props__.__dict__["rollout_operation"] = rollout_operation
323
+ super(PreviewFeature, __self__).__init__(
324
+ 'gcp:compute/previewFeature:PreviewFeature',
325
+ resource_name,
326
+ __props__,
327
+ opts)
328
+
329
+ @staticmethod
330
+ def get(resource_name: str,
331
+ id: pulumi.Input[str],
332
+ opts: Optional[pulumi.ResourceOptions] = None,
333
+ activation_status: Optional[pulumi.Input[_builtins.str]] = None,
334
+ name: Optional[pulumi.Input[_builtins.str]] = None,
335
+ project: Optional[pulumi.Input[_builtins.str]] = None,
336
+ rollout_operation: Optional[pulumi.Input[Union['PreviewFeatureRolloutOperationArgs', 'PreviewFeatureRolloutOperationArgsDict']]] = None) -> 'PreviewFeature':
337
+ """
338
+ Get an existing PreviewFeature resource's state with the given name, id, and optional extra
339
+ properties used to qualify the lookup.
340
+
341
+ :param str resource_name: The unique name of the resulting resource.
342
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
343
+ :param pulumi.ResourceOptions opts: Options for the resource.
344
+ :param pulumi.Input[_builtins.str] activation_status: The activation status of the preview feature.
345
+ Possible values are: `ENABLED`, `DISABLED`.
346
+ :param pulumi.Input[_builtins.str] name: The name of the preview feature.
347
+ :param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
348
+ If it is not provided, the provider project is used.
349
+ :param pulumi.Input[Union['PreviewFeatureRolloutOperationArgs', 'PreviewFeatureRolloutOperationArgsDict']] rollout_operation: The rollout operation of the feature.
350
+ Structure is documented below.
351
+ """
352
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
353
+
354
+ __props__ = _PreviewFeatureState.__new__(_PreviewFeatureState)
355
+
356
+ __props__.__dict__["activation_status"] = activation_status
357
+ __props__.__dict__["name"] = name
358
+ __props__.__dict__["project"] = project
359
+ __props__.__dict__["rollout_operation"] = rollout_operation
360
+ return PreviewFeature(resource_name, opts=opts, __props__=__props__)
361
+
362
+ @_builtins.property
363
+ @pulumi.getter(name="activationStatus")
364
+ def activation_status(self) -> pulumi.Output[_builtins.str]:
365
+ """
366
+ The activation status of the preview feature.
367
+ Possible values are: `ENABLED`, `DISABLED`.
368
+ """
369
+ return pulumi.get(self, "activation_status")
370
+
371
+ @_builtins.property
372
+ @pulumi.getter
373
+ def name(self) -> pulumi.Output[_builtins.str]:
374
+ """
375
+ The name of the preview feature.
376
+ """
377
+ return pulumi.get(self, "name")
378
+
379
+ @_builtins.property
380
+ @pulumi.getter
381
+ def project(self) -> pulumi.Output[_builtins.str]:
382
+ """
383
+ The ID of the project in which the resource belongs.
384
+ If it is not provided, the provider project is used.
385
+ """
386
+ return pulumi.get(self, "project")
387
+
388
+ @_builtins.property
389
+ @pulumi.getter(name="rolloutOperation")
390
+ def rollout_operation(self) -> pulumi.Output[Optional['outputs.PreviewFeatureRolloutOperation']]:
391
+ """
392
+ The rollout operation of the feature.
393
+ Structure is documented below.
394
+ """
395
+ return pulumi.get(self, "rollout_operation")
396
+