pulumi-gcp 8.40.0a1754636117__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.
- pulumi_gcp/__init__.py +128 -0
- pulumi_gcp/accesscontextmanager/_inputs.py +24 -4
- pulumi_gcp/accesscontextmanager/outputs.py +15 -3
- pulumi_gcp/apigee/__init__.py +2 -0
- pulumi_gcp/apigee/_inputs.py +1435 -0
- pulumi_gcp/apigee/api_product.py +1698 -0
- pulumi_gcp/apigee/outputs.py +1081 -0
- pulumi_gcp/apigee/security_action.py +1010 -0
- pulumi_gcp/artifactregistry/__init__.py +1 -0
- pulumi_gcp/artifactregistry/get_docker_images.py +164 -0
- pulumi_gcp/artifactregistry/outputs.py +109 -2
- pulumi_gcp/artifactregistry/repository.py +6 -6
- pulumi_gcp/backupdisasterrecovery/backup_vault.py +56 -0
- pulumi_gcp/backupdisasterrecovery/get_backup_vault.py +12 -1
- pulumi_gcp/bigquery/_inputs.py +6 -0
- pulumi_gcp/bigquery/get_table.py +23 -1
- pulumi_gcp/bigquery/outputs.py +4 -0
- pulumi_gcp/bigquery/table.py +62 -0
- pulumi_gcp/bigqueryanalyticshub/_inputs.py +180 -0
- pulumi_gcp/bigqueryanalyticshub/data_exchange.py +80 -0
- pulumi_gcp/bigqueryanalyticshub/listing.py +322 -2
- pulumi_gcp/bigqueryanalyticshub/listing_subscription.py +32 -0
- pulumi_gcp/bigqueryanalyticshub/outputs.py +159 -0
- pulumi_gcp/bigtable/__init__.py +1 -0
- pulumi_gcp/bigtable/_inputs.py +33 -0
- pulumi_gcp/bigtable/outputs.py +36 -0
- pulumi_gcp/bigtable/schema_bundle.py +568 -0
- pulumi_gcp/cloudfunctions/_inputs.py +48 -0
- pulumi_gcp/cloudfunctions/function.py +94 -0
- pulumi_gcp/cloudfunctions/get_function.py +23 -1
- pulumi_gcp/cloudfunctions/outputs.py +70 -0
- pulumi_gcp/cloudrunv2/_inputs.py +20 -0
- pulumi_gcp/cloudrunv2/job.py +2 -0
- pulumi_gcp/cloudrunv2/outputs.py +25 -0
- pulumi_gcp/cloudrunv2/worker_pool.py +2 -0
- pulumi_gcp/compute/__init__.py +1 -0
- pulumi_gcp/compute/_inputs.py +713 -22
- pulumi_gcp/compute/firewall_policy_with_rules.py +66 -0
- pulumi_gcp/compute/forwarding_rule.py +0 -21
- pulumi_gcp/compute/get_router.py +12 -1
- pulumi_gcp/compute/outputs.py +562 -22
- pulumi_gcp/compute/preview_feature.py +396 -0
- pulumi_gcp/compute/region_url_map.py +392 -0
- pulumi_gcp/compute/reservation.py +4 -4
- pulumi_gcp/compute/router.py +54 -0
- pulumi_gcp/compute/storage_pool.py +154 -0
- pulumi_gcp/compute/subnetwork.py +54 -0
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +278 -8
- pulumi_gcp/container/cluster.py +61 -21
- pulumi_gcp/container/get_cluster.py +12 -1
- pulumi_gcp/container/outputs.py +352 -8
- pulumi_gcp/dataproc/_inputs.py +249 -14
- pulumi_gcp/dataproc/batch.py +6 -0
- pulumi_gcp/dataproc/cluster.py +2 -0
- pulumi_gcp/dataproc/outputs.py +215 -12
- pulumi_gcp/dataproc/session_template.py +14 -2
- pulumi_gcp/developerconnect/__init__.py +1 -0
- pulumi_gcp/developerconnect/_inputs.py +583 -0
- pulumi_gcp/developerconnect/insights_config.py +895 -0
- pulumi_gcp/developerconnect/outputs.py +442 -0
- pulumi_gcp/diagflow/__init__.py +1 -0
- pulumi_gcp/diagflow/_inputs.py +1165 -58
- pulumi_gcp/diagflow/cx_generator.py +636 -0
- pulumi_gcp/diagflow/cx_tool.py +2 -2
- pulumi_gcp/diagflow/cx_webhook.py +380 -36
- pulumi_gcp/diagflow/outputs.py +848 -25
- pulumi_gcp/discoveryengine/__init__.py +2 -0
- pulumi_gcp/discoveryengine/_inputs.py +465 -0
- pulumi_gcp/discoveryengine/cmek_config.py +707 -0
- pulumi_gcp/discoveryengine/outputs.py +412 -0
- pulumi_gcp/discoveryengine/recommendation_engine.py +813 -0
- pulumi_gcp/firestore/field.py +6 -6
- pulumi_gcp/gemini/gemini_gcp_enablement_setting.py +107 -9
- pulumi_gcp/gemini/gemini_gcp_enablement_setting_binding.py +2 -2
- pulumi_gcp/gkehub/membership_binding.py +6 -6
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
- pulumi_gcp/gkehub/namespace.py +4 -4
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +8 -8
- pulumi_gcp/iam/__init__.py +4 -0
- pulumi_gcp/iam/_inputs.py +98 -0
- pulumi_gcp/iam/get_workforce_pool_iam_policy.py +161 -0
- pulumi_gcp/iam/outputs.py +56 -0
- pulumi_gcp/iam/workforce_pool_iam_binding.py +761 -0
- pulumi_gcp/iam/workforce_pool_iam_member.py +761 -0
- pulumi_gcp/iam/workforce_pool_iam_policy.py +600 -0
- pulumi_gcp/iap/tunnel_dest_group.py +2 -2
- pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
- pulumi_gcp/looker/instance.py +28 -7
- pulumi_gcp/managedkafka/_inputs.py +127 -0
- pulumi_gcp/managedkafka/cluster.py +131 -1
- pulumi_gcp/managedkafka/connect_cluster.py +4 -4
- pulumi_gcp/managedkafka/connector.py +4 -4
- pulumi_gcp/managedkafka/outputs.py +128 -0
- pulumi_gcp/memorystore/instance.py +8 -12
- pulumi_gcp/modelarmor/__init__.py +1 -0
- pulumi_gcp/modelarmor/_inputs.py +683 -0
- pulumi_gcp/modelarmor/floorsetting.py +736 -0
- pulumi_gcp/modelarmor/outputs.py +618 -0
- pulumi_gcp/networkconnectivity/_inputs.py +60 -0
- pulumi_gcp/networkconnectivity/internal_range.py +136 -0
- pulumi_gcp/networkconnectivity/outputs.py +55 -0
- pulumi_gcp/networkconnectivity/spoke.py +14 -14
- pulumi_gcp/oracledatabase/__init__.py +2 -0
- pulumi_gcp/oracledatabase/autonomous_database.py +262 -38
- pulumi_gcp/oracledatabase/cloud_vm_cluster.py +314 -50
- pulumi_gcp/oracledatabase/get_autonomous_database.py +23 -1
- pulumi_gcp/oracledatabase/get_cloud_vm_cluster.py +34 -1
- pulumi_gcp/oracledatabase/odb_network.py +721 -0
- pulumi_gcp/oracledatabase/odb_subnet.py +803 -0
- pulumi_gcp/oracledatabase/outputs.py +83 -0
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/parametermanager/parameter_version.py +62 -0
- pulumi_gcp/parametermanager/regional_parameter_version.py +64 -0
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pubsub/subscription.py +46 -6
- pulumi_gcp/pubsub/topic.py +36 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/cluster.py +70 -0
- pulumi_gcp/redis/get_cluster.py +12 -1
- pulumi_gcp/redis/instance.py +8 -12
- pulumi_gcp/secretmanager/get_regional_secret.py +12 -1
- pulumi_gcp/secretmanager/get_secret.py +12 -1
- pulumi_gcp/secretmanager/outputs.py +30 -0
- pulumi_gcp/secretmanager/regional_secret.py +61 -0
- pulumi_gcp/secretmanager/secret.py +61 -0
- pulumi_gcp/securesourcemanager/branch_rule.py +16 -8
- pulumi_gcp/securesourcemanager/instance.py +112 -4
- pulumi_gcp/securesourcemanager/repository.py +112 -8
- pulumi_gcp/serviceaccount/get_account_key.py +1 -0
- pulumi_gcp/sql/_inputs.py +6 -6
- pulumi_gcp/sql/database.py +0 -12
- pulumi_gcp/sql/outputs.py +4 -4
- pulumi_gcp/storage/__init__.py +2 -0
- pulumi_gcp/storage/_inputs.py +451 -0
- pulumi_gcp/storage/bucket.py +7 -7
- pulumi_gcp/storage/bucket_object.py +34 -0
- pulumi_gcp/storage/get_bucket_object.py +12 -1
- pulumi_gcp/storage/get_bucket_object_content.py +12 -1
- pulumi_gcp/storage/get_insights_dataset_config.py +363 -0
- pulumi_gcp/storage/insights_dataset_config.py +1280 -0
- pulumi_gcp/storage/outputs.py +619 -0
- pulumi_gcp/vertex/__init__.py +1 -0
- pulumi_gcp/vertex/_inputs.py +3646 -3
- pulumi_gcp/vertex/ai_endpoint.py +4 -4
- pulumi_gcp/vertex/ai_endpoint_with_model_garden_deployment.py +940 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
- pulumi_gcp/vertex/outputs.py +2609 -2
- pulumi_gcp/vmwareengine/network_peering.py +7 -7
- pulumi_gcp/workbench/_inputs.py +118 -0
- pulumi_gcp/workbench/instance.py +171 -2
- pulumi_gcp/workbench/outputs.py +91 -0
- {pulumi_gcp-8.40.0a1754636117.dist-info → pulumi_gcp-8.40.0a1754951145.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.40.0a1754636117.dist-info → pulumi_gcp-8.40.0a1754951145.dist-info}/RECORD +157 -138
- {pulumi_gcp-8.40.0a1754636117.dist-info → pulumi_gcp-8.40.0a1754951145.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.40.0a1754636117.dist-info → pulumi_gcp-8.40.0a1754951145.dist-info}/top_level.txt +0 -0
@@ -27,6 +27,7 @@ class StoragePoolArgs:
|
|
27
27
|
capacity_provisioning_type: Optional[pulumi.Input[_builtins.str]] = None,
|
28
28
|
deletion_protection: Optional[pulumi.Input[_builtins.bool]] = None,
|
29
29
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
30
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
30
31
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
31
32
|
performance_provisioning_type: Optional[pulumi.Input[_builtins.str]] = None,
|
32
33
|
pool_provisioned_iops: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -45,6 +46,10 @@ class StoragePoolArgs:
|
|
45
46
|
:param pulumi.Input[_builtins.str] capacity_provisioning_type: Provisioning type of the byte capacity of the pool.
|
46
47
|
Possible values are: `STANDARD`, `ADVANCED`.
|
47
48
|
:param pulumi.Input[_builtins.str] description: A description of this resource. Provide this property when you create the resource.
|
49
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels to apply to this storage pool. These can be later modified by the setLabels method.
|
50
|
+
|
51
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
52
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
48
53
|
:param pulumi.Input[_builtins.str] name: Name of the resource. Provided by the client when the resource is created.
|
49
54
|
The name must be 1-63 characters long, and comply with RFC1035.
|
50
55
|
Specifically, the name must be 1-63 characters long and match
|
@@ -69,6 +74,8 @@ class StoragePoolArgs:
|
|
69
74
|
pulumi.set(__self__, "deletion_protection", deletion_protection)
|
70
75
|
if description is not None:
|
71
76
|
pulumi.set(__self__, "description", description)
|
77
|
+
if labels is not None:
|
78
|
+
pulumi.set(__self__, "labels", labels)
|
72
79
|
if name is not None:
|
73
80
|
pulumi.set(__self__, "name", name)
|
74
81
|
if performance_provisioning_type is not None:
|
@@ -155,6 +162,21 @@ class StoragePoolArgs:
|
|
155
162
|
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
156
163
|
pulumi.set(self, "description", value)
|
157
164
|
|
165
|
+
@_builtins.property
|
166
|
+
@pulumi.getter
|
167
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
168
|
+
"""
|
169
|
+
Labels to apply to this storage pool. These can be later modified by the setLabels method.
|
170
|
+
|
171
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
172
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
173
|
+
"""
|
174
|
+
return pulumi.get(self, "labels")
|
175
|
+
|
176
|
+
@labels.setter
|
177
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
178
|
+
pulumi.set(self, "labels", value)
|
179
|
+
|
158
180
|
@_builtins.property
|
159
181
|
@pulumi.getter
|
160
182
|
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
@@ -232,14 +254,17 @@ class _StoragePoolState:
|
|
232
254
|
creation_timestamp: Optional[pulumi.Input[_builtins.str]] = None,
|
233
255
|
deletion_protection: Optional[pulumi.Input[_builtins.bool]] = None,
|
234
256
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
257
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
235
258
|
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
236
259
|
label_fingerprint: Optional[pulumi.Input[_builtins.str]] = None,
|
260
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
237
261
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
238
262
|
performance_provisioning_type: Optional[pulumi.Input[_builtins.str]] = None,
|
239
263
|
pool_provisioned_capacity_gb: Optional[pulumi.Input[_builtins.str]] = None,
|
240
264
|
pool_provisioned_iops: Optional[pulumi.Input[_builtins.str]] = None,
|
241
265
|
pool_provisioned_throughput: Optional[pulumi.Input[_builtins.str]] = None,
|
242
266
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
267
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
243
268
|
resource_statuses: Optional[pulumi.Input[Sequence[pulumi.Input['StoragePoolResourceStatusArgs']]]] = None,
|
244
269
|
statuses: Optional[pulumi.Input[Sequence[pulumi.Input['StoragePoolStatusArgs']]]] = None,
|
245
270
|
storage_pool_type: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -250,9 +275,14 @@ class _StoragePoolState:
|
|
250
275
|
Possible values are: `STANDARD`, `ADVANCED`.
|
251
276
|
:param pulumi.Input[_builtins.str] creation_timestamp: Creation timestamp in RFC3339 text format.
|
252
277
|
:param pulumi.Input[_builtins.str] description: A description of this resource. Provide this property when you create the resource.
|
278
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
253
279
|
:param pulumi.Input[_builtins.str] kind: Type of the resource.
|
254
280
|
:param pulumi.Input[_builtins.str] label_fingerprint: The fingerprint used for optimistic locking of this resource.
|
255
281
|
Used internally during updates.
|
282
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels to apply to this storage pool. These can be later modified by the setLabels method.
|
283
|
+
|
284
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
285
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
256
286
|
:param pulumi.Input[_builtins.str] name: Name of the resource. Provided by the client when the resource is created.
|
257
287
|
The name must be 1-63 characters long, and comply with RFC1035.
|
258
288
|
Specifically, the name must be 1-63 characters long and match
|
@@ -270,6 +300,8 @@ class _StoragePoolState:
|
|
270
300
|
Only relevant if the storage pool type is `hyperdisk-balanced` or `hyperdisk-throughput`.
|
271
301
|
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
|
272
302
|
If it is not provided, the provider project is used.
|
303
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] pulumi_labels: The combination of labels configured directly on the resource
|
304
|
+
and default labels configured on the provider.
|
273
305
|
:param pulumi.Input[Sequence[pulumi.Input['StoragePoolResourceStatusArgs']]] resource_statuses: Status information for the storage pool resource.
|
274
306
|
Structure is documented below.
|
275
307
|
:param pulumi.Input[Sequence[pulumi.Input['StoragePoolStatusArgs']]] statuses: Status information for the storage pool resource.
|
@@ -288,10 +320,14 @@ class _StoragePoolState:
|
|
288
320
|
pulumi.set(__self__, "deletion_protection", deletion_protection)
|
289
321
|
if description is not None:
|
290
322
|
pulumi.set(__self__, "description", description)
|
323
|
+
if effective_labels is not None:
|
324
|
+
pulumi.set(__self__, "effective_labels", effective_labels)
|
291
325
|
if kind is not None:
|
292
326
|
pulumi.set(__self__, "kind", kind)
|
293
327
|
if label_fingerprint is not None:
|
294
328
|
pulumi.set(__self__, "label_fingerprint", label_fingerprint)
|
329
|
+
if labels is not None:
|
330
|
+
pulumi.set(__self__, "labels", labels)
|
295
331
|
if name is not None:
|
296
332
|
pulumi.set(__self__, "name", name)
|
297
333
|
if performance_provisioning_type is not None:
|
@@ -304,6 +340,8 @@ class _StoragePoolState:
|
|
304
340
|
pulumi.set(__self__, "pool_provisioned_throughput", pool_provisioned_throughput)
|
305
341
|
if project is not None:
|
306
342
|
pulumi.set(__self__, "project", project)
|
343
|
+
if pulumi_labels is not None:
|
344
|
+
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
307
345
|
if resource_statuses is not None:
|
308
346
|
pulumi.set(__self__, "resource_statuses", resource_statuses)
|
309
347
|
if statuses is not None:
|
@@ -359,6 +397,18 @@ class _StoragePoolState:
|
|
359
397
|
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
360
398
|
pulumi.set(self, "description", value)
|
361
399
|
|
400
|
+
@_builtins.property
|
401
|
+
@pulumi.getter(name="effectiveLabels")
|
402
|
+
def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
403
|
+
"""
|
404
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
405
|
+
"""
|
406
|
+
return pulumi.get(self, "effective_labels")
|
407
|
+
|
408
|
+
@effective_labels.setter
|
409
|
+
def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
410
|
+
pulumi.set(self, "effective_labels", value)
|
411
|
+
|
362
412
|
@_builtins.property
|
363
413
|
@pulumi.getter
|
364
414
|
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
@@ -384,6 +434,21 @@ class _StoragePoolState:
|
|
384
434
|
def label_fingerprint(self, value: Optional[pulumi.Input[_builtins.str]]):
|
385
435
|
pulumi.set(self, "label_fingerprint", value)
|
386
436
|
|
437
|
+
@_builtins.property
|
438
|
+
@pulumi.getter
|
439
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
440
|
+
"""
|
441
|
+
Labels to apply to this storage pool. These can be later modified by the setLabels method.
|
442
|
+
|
443
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
444
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
445
|
+
"""
|
446
|
+
return pulumi.get(self, "labels")
|
447
|
+
|
448
|
+
@labels.setter
|
449
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
450
|
+
pulumi.set(self, "labels", value)
|
451
|
+
|
387
452
|
@_builtins.property
|
388
453
|
@pulumi.getter
|
389
454
|
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
@@ -467,6 +532,19 @@ class _StoragePoolState:
|
|
467
532
|
def project(self, value: Optional[pulumi.Input[_builtins.str]]):
|
468
533
|
pulumi.set(self, "project", value)
|
469
534
|
|
535
|
+
@_builtins.property
|
536
|
+
@pulumi.getter(name="pulumiLabels")
|
537
|
+
def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
538
|
+
"""
|
539
|
+
The combination of labels configured directly on the resource
|
540
|
+
and default labels configured on the provider.
|
541
|
+
"""
|
542
|
+
return pulumi.get(self, "pulumi_labels")
|
543
|
+
|
544
|
+
@pulumi_labels.setter
|
545
|
+
def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
546
|
+
pulumi.set(self, "pulumi_labels", value)
|
547
|
+
|
470
548
|
@_builtins.property
|
471
549
|
@pulumi.getter(name="resourceStatuses")
|
472
550
|
def resource_statuses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['StoragePoolResourceStatusArgs']]]]:
|
@@ -530,6 +608,7 @@ class StoragePool(pulumi.CustomResource):
|
|
530
608
|
capacity_provisioning_type: Optional[pulumi.Input[_builtins.str]] = None,
|
531
609
|
deletion_protection: Optional[pulumi.Input[_builtins.bool]] = None,
|
532
610
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
611
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
533
612
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
534
613
|
performance_provisioning_type: Optional[pulumi.Input[_builtins.str]] = None,
|
535
614
|
pool_provisioned_capacity_gb: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -564,6 +643,12 @@ class StoragePool(pulumi.CustomResource):
|
|
564
643
|
pool_provisioned_throughput="100",
|
565
644
|
storage_pool_type="hyperdisk-throughput",
|
566
645
|
zone="us-central1-a",
|
646
|
+
labels={
|
647
|
+
"environment": "test",
|
648
|
+
"purpose": "storage-pool-testing",
|
649
|
+
"team": "infrastructure",
|
650
|
+
"cost_center": "engineering",
|
651
|
+
},
|
567
652
|
deletion_protection=False)
|
568
653
|
project = gcp.organizations.get_project()
|
569
654
|
```
|
@@ -584,6 +669,12 @@ class StoragePool(pulumi.CustomResource):
|
|
584
669
|
pool_provisioned_iops="10000",
|
585
670
|
pool_provisioned_throughput="1024",
|
586
671
|
storage_pool_type=balanced.self_link,
|
672
|
+
labels={
|
673
|
+
"environment": "test",
|
674
|
+
"purpose": "storage-pool-testing",
|
675
|
+
"team": "infrastructure",
|
676
|
+
"cost_center": "engineering",
|
677
|
+
},
|
587
678
|
deletion_protection=False,
|
588
679
|
zone="us-central1-a")
|
589
680
|
project = gcp.organizations.get_project()
|
@@ -624,6 +715,10 @@ class StoragePool(pulumi.CustomResource):
|
|
624
715
|
:param pulumi.Input[_builtins.str] capacity_provisioning_type: Provisioning type of the byte capacity of the pool.
|
625
716
|
Possible values are: `STANDARD`, `ADVANCED`.
|
626
717
|
:param pulumi.Input[_builtins.str] description: A description of this resource. Provide this property when you create the resource.
|
718
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels to apply to this storage pool. These can be later modified by the setLabels method.
|
719
|
+
|
720
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
721
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
627
722
|
:param pulumi.Input[_builtins.str] name: Name of the resource. Provided by the client when the resource is created.
|
628
723
|
The name must be 1-63 characters long, and comply with RFC1035.
|
629
724
|
Specifically, the name must be 1-63 characters long and match
|
@@ -678,6 +773,12 @@ class StoragePool(pulumi.CustomResource):
|
|
678
773
|
pool_provisioned_throughput="100",
|
679
774
|
storage_pool_type="hyperdisk-throughput",
|
680
775
|
zone="us-central1-a",
|
776
|
+
labels={
|
777
|
+
"environment": "test",
|
778
|
+
"purpose": "storage-pool-testing",
|
779
|
+
"team": "infrastructure",
|
780
|
+
"cost_center": "engineering",
|
781
|
+
},
|
681
782
|
deletion_protection=False)
|
682
783
|
project = gcp.organizations.get_project()
|
683
784
|
```
|
@@ -698,6 +799,12 @@ class StoragePool(pulumi.CustomResource):
|
|
698
799
|
pool_provisioned_iops="10000",
|
699
800
|
pool_provisioned_throughput="1024",
|
700
801
|
storage_pool_type=balanced.self_link,
|
802
|
+
labels={
|
803
|
+
"environment": "test",
|
804
|
+
"purpose": "storage-pool-testing",
|
805
|
+
"team": "infrastructure",
|
806
|
+
"cost_center": "engineering",
|
807
|
+
},
|
701
808
|
deletion_protection=False,
|
702
809
|
zone="us-central1-a")
|
703
810
|
project = gcp.organizations.get_project()
|
@@ -751,6 +858,7 @@ class StoragePool(pulumi.CustomResource):
|
|
751
858
|
capacity_provisioning_type: Optional[pulumi.Input[_builtins.str]] = None,
|
752
859
|
deletion_protection: Optional[pulumi.Input[_builtins.bool]] = None,
|
753
860
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
861
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
754
862
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
755
863
|
performance_provisioning_type: Optional[pulumi.Input[_builtins.str]] = None,
|
756
864
|
pool_provisioned_capacity_gb: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -771,6 +879,7 @@ class StoragePool(pulumi.CustomResource):
|
|
771
879
|
__props__.__dict__["capacity_provisioning_type"] = capacity_provisioning_type
|
772
880
|
__props__.__dict__["deletion_protection"] = deletion_protection
|
773
881
|
__props__.__dict__["description"] = description
|
882
|
+
__props__.__dict__["labels"] = labels
|
774
883
|
__props__.__dict__["name"] = name
|
775
884
|
__props__.__dict__["performance_provisioning_type"] = performance_provisioning_type
|
776
885
|
if pool_provisioned_capacity_gb is None and not opts.urn:
|
@@ -786,10 +895,14 @@ class StoragePool(pulumi.CustomResource):
|
|
786
895
|
__props__.__dict__["storage_pool_type"] = storage_pool_type
|
787
896
|
__props__.__dict__["zone"] = zone
|
788
897
|
__props__.__dict__["creation_timestamp"] = None
|
898
|
+
__props__.__dict__["effective_labels"] = None
|
789
899
|
__props__.__dict__["kind"] = None
|
790
900
|
__props__.__dict__["label_fingerprint"] = None
|
901
|
+
__props__.__dict__["pulumi_labels"] = None
|
791
902
|
__props__.__dict__["resource_statuses"] = None
|
792
903
|
__props__.__dict__["statuses"] = None
|
904
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["effectiveLabels", "pulumiLabels"])
|
905
|
+
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
793
906
|
super(StoragePool, __self__).__init__(
|
794
907
|
'gcp:compute/storagePool:StoragePool',
|
795
908
|
resource_name,
|
@@ -804,14 +917,17 @@ class StoragePool(pulumi.CustomResource):
|
|
804
917
|
creation_timestamp: Optional[pulumi.Input[_builtins.str]] = None,
|
805
918
|
deletion_protection: Optional[pulumi.Input[_builtins.bool]] = None,
|
806
919
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
920
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
807
921
|
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
808
922
|
label_fingerprint: Optional[pulumi.Input[_builtins.str]] = None,
|
923
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
809
924
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
810
925
|
performance_provisioning_type: Optional[pulumi.Input[_builtins.str]] = None,
|
811
926
|
pool_provisioned_capacity_gb: Optional[pulumi.Input[_builtins.str]] = None,
|
812
927
|
pool_provisioned_iops: Optional[pulumi.Input[_builtins.str]] = None,
|
813
928
|
pool_provisioned_throughput: Optional[pulumi.Input[_builtins.str]] = None,
|
814
929
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
930
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
815
931
|
resource_statuses: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StoragePoolResourceStatusArgs', 'StoragePoolResourceStatusArgsDict']]]]] = None,
|
816
932
|
statuses: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StoragePoolStatusArgs', 'StoragePoolStatusArgsDict']]]]] = None,
|
817
933
|
storage_pool_type: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -827,9 +943,14 @@ class StoragePool(pulumi.CustomResource):
|
|
827
943
|
Possible values are: `STANDARD`, `ADVANCED`.
|
828
944
|
:param pulumi.Input[_builtins.str] creation_timestamp: Creation timestamp in RFC3339 text format.
|
829
945
|
:param pulumi.Input[_builtins.str] description: A description of this resource. Provide this property when you create the resource.
|
946
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
830
947
|
:param pulumi.Input[_builtins.str] kind: Type of the resource.
|
831
948
|
:param pulumi.Input[_builtins.str] label_fingerprint: The fingerprint used for optimistic locking of this resource.
|
832
949
|
Used internally during updates.
|
950
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels to apply to this storage pool. These can be later modified by the setLabels method.
|
951
|
+
|
952
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
953
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
833
954
|
:param pulumi.Input[_builtins.str] name: Name of the resource. Provided by the client when the resource is created.
|
834
955
|
The name must be 1-63 characters long, and comply with RFC1035.
|
835
956
|
Specifically, the name must be 1-63 characters long and match
|
@@ -847,6 +968,8 @@ class StoragePool(pulumi.CustomResource):
|
|
847
968
|
Only relevant if the storage pool type is `hyperdisk-balanced` or `hyperdisk-throughput`.
|
848
969
|
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
|
849
970
|
If it is not provided, the provider project is used.
|
971
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] pulumi_labels: The combination of labels configured directly on the resource
|
972
|
+
and default labels configured on the provider.
|
850
973
|
:param pulumi.Input[Sequence[pulumi.Input[Union['StoragePoolResourceStatusArgs', 'StoragePoolResourceStatusArgsDict']]]] resource_statuses: Status information for the storage pool resource.
|
851
974
|
Structure is documented below.
|
852
975
|
:param pulumi.Input[Sequence[pulumi.Input[Union['StoragePoolStatusArgs', 'StoragePoolStatusArgsDict']]]] statuses: Status information for the storage pool resource.
|
@@ -865,14 +988,17 @@ class StoragePool(pulumi.CustomResource):
|
|
865
988
|
__props__.__dict__["creation_timestamp"] = creation_timestamp
|
866
989
|
__props__.__dict__["deletion_protection"] = deletion_protection
|
867
990
|
__props__.__dict__["description"] = description
|
991
|
+
__props__.__dict__["effective_labels"] = effective_labels
|
868
992
|
__props__.__dict__["kind"] = kind
|
869
993
|
__props__.__dict__["label_fingerprint"] = label_fingerprint
|
994
|
+
__props__.__dict__["labels"] = labels
|
870
995
|
__props__.__dict__["name"] = name
|
871
996
|
__props__.__dict__["performance_provisioning_type"] = performance_provisioning_type
|
872
997
|
__props__.__dict__["pool_provisioned_capacity_gb"] = pool_provisioned_capacity_gb
|
873
998
|
__props__.__dict__["pool_provisioned_iops"] = pool_provisioned_iops
|
874
999
|
__props__.__dict__["pool_provisioned_throughput"] = pool_provisioned_throughput
|
875
1000
|
__props__.__dict__["project"] = project
|
1001
|
+
__props__.__dict__["pulumi_labels"] = pulumi_labels
|
876
1002
|
__props__.__dict__["resource_statuses"] = resource_statuses
|
877
1003
|
__props__.__dict__["statuses"] = statuses
|
878
1004
|
__props__.__dict__["storage_pool_type"] = storage_pool_type
|
@@ -909,6 +1035,14 @@ class StoragePool(pulumi.CustomResource):
|
|
909
1035
|
"""
|
910
1036
|
return pulumi.get(self, "description")
|
911
1037
|
|
1038
|
+
@_builtins.property
|
1039
|
+
@pulumi.getter(name="effectiveLabels")
|
1040
|
+
def effective_labels(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
|
1041
|
+
"""
|
1042
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
1043
|
+
"""
|
1044
|
+
return pulumi.get(self, "effective_labels")
|
1045
|
+
|
912
1046
|
@_builtins.property
|
913
1047
|
@pulumi.getter
|
914
1048
|
def kind(self) -> pulumi.Output[_builtins.str]:
|
@@ -926,6 +1060,17 @@ class StoragePool(pulumi.CustomResource):
|
|
926
1060
|
"""
|
927
1061
|
return pulumi.get(self, "label_fingerprint")
|
928
1062
|
|
1063
|
+
@_builtins.property
|
1064
|
+
@pulumi.getter
|
1065
|
+
def labels(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
|
1066
|
+
"""
|
1067
|
+
Labels to apply to this storage pool. These can be later modified by the setLabels method.
|
1068
|
+
|
1069
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
1070
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
1071
|
+
"""
|
1072
|
+
return pulumi.get(self, "labels")
|
1073
|
+
|
929
1074
|
@_builtins.property
|
930
1075
|
@pulumi.getter
|
931
1076
|
def name(self) -> pulumi.Output[_builtins.str]:
|
@@ -985,6 +1130,15 @@ class StoragePool(pulumi.CustomResource):
|
|
985
1130
|
"""
|
986
1131
|
return pulumi.get(self, "project")
|
987
1132
|
|
1133
|
+
@_builtins.property
|
1134
|
+
@pulumi.getter(name="pulumiLabels")
|
1135
|
+
def pulumi_labels(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
|
1136
|
+
"""
|
1137
|
+
The combination of labels configured directly on the resource
|
1138
|
+
and default labels configured on the provider.
|
1139
|
+
"""
|
1140
|
+
return pulumi.get(self, "pulumi_labels")
|
1141
|
+
|
988
1142
|
@_builtins.property
|
989
1143
|
@pulumi.getter(name="resourceStatuses")
|
990
1144
|
def resource_statuses(self) -> pulumi.Output[Sequence['outputs.StoragePoolResourceStatus']]:
|
pulumi_gcp/compute/subnetwork.py
CHANGED
@@ -31,6 +31,7 @@ class SubnetworkArgs:
|
|
31
31
|
ipv6_access_type: Optional[pulumi.Input[_builtins.str]] = None,
|
32
32
|
log_config: Optional[pulumi.Input['SubnetworkLogConfigArgs']] = None,
|
33
33
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
34
|
+
params: Optional[pulumi.Input['SubnetworkParamsArgs']] = None,
|
34
35
|
private_ip_google_access: Optional[pulumi.Input[_builtins.bool]] = None,
|
35
36
|
private_ipv6_google_access: Optional[pulumi.Input[_builtins.str]] = None,
|
36
37
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -90,6 +91,8 @@ class SubnetworkArgs:
|
|
90
91
|
means the first character must be a lowercase letter, and all
|
91
92
|
following characters must be a dash, lowercase letter, or digit,
|
92
93
|
except the last character, which cannot be a dash.
|
94
|
+
:param pulumi.Input['SubnetworkParamsArgs'] params: Additional params passed with the request, but not persisted as part of resource payload
|
95
|
+
Structure is documented below.
|
93
96
|
:param pulumi.Input[_builtins.bool] private_ip_google_access: When enabled, VMs in this subnetwork without external IP addresses can
|
94
97
|
access Google APIs and services by using Private Google Access.
|
95
98
|
:param pulumi.Input[_builtins.str] private_ipv6_google_access: The private IPv6 google access type for the VMs in this subnet.
|
@@ -149,6 +152,8 @@ class SubnetworkArgs:
|
|
149
152
|
pulumi.set(__self__, "log_config", log_config)
|
150
153
|
if name is not None:
|
151
154
|
pulumi.set(__self__, "name", name)
|
155
|
+
if params is not None:
|
156
|
+
pulumi.set(__self__, "params", params)
|
152
157
|
if private_ip_google_access is not None:
|
153
158
|
pulumi.set(__self__, "private_ip_google_access", private_ip_google_access)
|
154
159
|
if private_ipv6_google_access is not None:
|
@@ -328,6 +333,19 @@ class SubnetworkArgs:
|
|
328
333
|
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
329
334
|
pulumi.set(self, "name", value)
|
330
335
|
|
336
|
+
@_builtins.property
|
337
|
+
@pulumi.getter
|
338
|
+
def params(self) -> Optional[pulumi.Input['SubnetworkParamsArgs']]:
|
339
|
+
"""
|
340
|
+
Additional params passed with the request, but not persisted as part of resource payload
|
341
|
+
Structure is documented below.
|
342
|
+
"""
|
343
|
+
return pulumi.get(self, "params")
|
344
|
+
|
345
|
+
@params.setter
|
346
|
+
def params(self, value: Optional[pulumi.Input['SubnetworkParamsArgs']]):
|
347
|
+
pulumi.set(self, "params", value)
|
348
|
+
|
331
349
|
@_builtins.property
|
332
350
|
@pulumi.getter(name="privateIpGoogleAccess")
|
333
351
|
def private_ip_google_access(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
@@ -494,6 +512,7 @@ class _SubnetworkState:
|
|
494
512
|
log_config: Optional[pulumi.Input['SubnetworkLogConfigArgs']] = None,
|
495
513
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
496
514
|
network: Optional[pulumi.Input[_builtins.str]] = None,
|
515
|
+
params: Optional[pulumi.Input['SubnetworkParamsArgs']] = None,
|
497
516
|
private_ip_google_access: Optional[pulumi.Input[_builtins.bool]] = None,
|
498
517
|
private_ipv6_google_access: Optional[pulumi.Input[_builtins.str]] = None,
|
499
518
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -567,6 +586,8 @@ class _SubnetworkState:
|
|
567
586
|
except the last character, which cannot be a dash.
|
568
587
|
:param pulumi.Input[_builtins.str] network: The network this subnet belongs to.
|
569
588
|
Only networks that are in the distributed mode can have subnetworks.
|
589
|
+
:param pulumi.Input['SubnetworkParamsArgs'] params: Additional params passed with the request, but not persisted as part of resource payload
|
590
|
+
Structure is documented below.
|
570
591
|
:param pulumi.Input[_builtins.bool] private_ip_google_access: When enabled, VMs in this subnetwork without external IP addresses can
|
571
592
|
access Google APIs and services by using Private Google Access.
|
572
593
|
:param pulumi.Input[_builtins.str] private_ipv6_google_access: The private IPv6 google access type for the VMs in this subnet.
|
@@ -648,6 +669,8 @@ class _SubnetworkState:
|
|
648
669
|
pulumi.set(__self__, "name", name)
|
649
670
|
if network is not None:
|
650
671
|
pulumi.set(__self__, "network", network)
|
672
|
+
if params is not None:
|
673
|
+
pulumi.set(__self__, "params", params)
|
651
674
|
if private_ip_google_access is not None:
|
652
675
|
pulumi.set(__self__, "private_ip_google_access", private_ip_google_access)
|
653
676
|
if private_ipv6_google_access is not None:
|
@@ -911,6 +934,19 @@ class _SubnetworkState:
|
|
911
934
|
def network(self, value: Optional[pulumi.Input[_builtins.str]]):
|
912
935
|
pulumi.set(self, "network", value)
|
913
936
|
|
937
|
+
@_builtins.property
|
938
|
+
@pulumi.getter
|
939
|
+
def params(self) -> Optional[pulumi.Input['SubnetworkParamsArgs']]:
|
940
|
+
"""
|
941
|
+
Additional params passed with the request, but not persisted as part of resource payload
|
942
|
+
Structure is documented below.
|
943
|
+
"""
|
944
|
+
return pulumi.get(self, "params")
|
945
|
+
|
946
|
+
@params.setter
|
947
|
+
def params(self, value: Optional[pulumi.Input['SubnetworkParamsArgs']]):
|
948
|
+
pulumi.set(self, "params", value)
|
949
|
+
|
914
950
|
@_builtins.property
|
915
951
|
@pulumi.getter(name="privateIpGoogleAccess")
|
916
952
|
def private_ip_google_access(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
@@ -1113,6 +1149,7 @@ class Subnetwork(pulumi.CustomResource):
|
|
1113
1149
|
log_config: Optional[pulumi.Input[Union['SubnetworkLogConfigArgs', 'SubnetworkLogConfigArgsDict']]] = None,
|
1114
1150
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
1115
1151
|
network: Optional[pulumi.Input[_builtins.str]] = None,
|
1152
|
+
params: Optional[pulumi.Input[Union['SubnetworkParamsArgs', 'SubnetworkParamsArgsDict']]] = None,
|
1116
1153
|
private_ip_google_access: Optional[pulumi.Input[_builtins.bool]] = None,
|
1117
1154
|
private_ipv6_google_access: Optional[pulumi.Input[_builtins.str]] = None,
|
1118
1155
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -1415,6 +1452,8 @@ class Subnetwork(pulumi.CustomResource):
|
|
1415
1452
|
except the last character, which cannot be a dash.
|
1416
1453
|
:param pulumi.Input[_builtins.str] network: The network this subnet belongs to.
|
1417
1454
|
Only networks that are in the distributed mode can have subnetworks.
|
1455
|
+
:param pulumi.Input[Union['SubnetworkParamsArgs', 'SubnetworkParamsArgsDict']] params: Additional params passed with the request, but not persisted as part of resource payload
|
1456
|
+
Structure is documented below.
|
1418
1457
|
:param pulumi.Input[_builtins.bool] private_ip_google_access: When enabled, VMs in this subnetwork without external IP addresses can
|
1419
1458
|
access Google APIs and services by using Private Google Access.
|
1420
1459
|
:param pulumi.Input[_builtins.str] private_ipv6_google_access: The private IPv6 google access type for the VMs in this subnet.
|
@@ -1725,6 +1764,7 @@ class Subnetwork(pulumi.CustomResource):
|
|
1725
1764
|
log_config: Optional[pulumi.Input[Union['SubnetworkLogConfigArgs', 'SubnetworkLogConfigArgsDict']]] = None,
|
1726
1765
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
1727
1766
|
network: Optional[pulumi.Input[_builtins.str]] = None,
|
1767
|
+
params: Optional[pulumi.Input[Union['SubnetworkParamsArgs', 'SubnetworkParamsArgsDict']]] = None,
|
1728
1768
|
private_ip_google_access: Optional[pulumi.Input[_builtins.bool]] = None,
|
1729
1769
|
private_ipv6_google_access: Optional[pulumi.Input[_builtins.str]] = None,
|
1730
1770
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -1756,6 +1796,7 @@ class Subnetwork(pulumi.CustomResource):
|
|
1756
1796
|
if network is None and not opts.urn:
|
1757
1797
|
raise TypeError("Missing required property 'network'")
|
1758
1798
|
__props__.__dict__["network"] = network
|
1799
|
+
__props__.__dict__["params"] = params
|
1759
1800
|
__props__.__dict__["private_ip_google_access"] = private_ip_google_access
|
1760
1801
|
__props__.__dict__["private_ipv6_google_access"] = private_ipv6_google_access
|
1761
1802
|
__props__.__dict__["project"] = project
|
@@ -1801,6 +1842,7 @@ class Subnetwork(pulumi.CustomResource):
|
|
1801
1842
|
log_config: Optional[pulumi.Input[Union['SubnetworkLogConfigArgs', 'SubnetworkLogConfigArgsDict']]] = None,
|
1802
1843
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
1803
1844
|
network: Optional[pulumi.Input[_builtins.str]] = None,
|
1845
|
+
params: Optional[pulumi.Input[Union['SubnetworkParamsArgs', 'SubnetworkParamsArgsDict']]] = None,
|
1804
1846
|
private_ip_google_access: Optional[pulumi.Input[_builtins.bool]] = None,
|
1805
1847
|
private_ipv6_google_access: Optional[pulumi.Input[_builtins.str]] = None,
|
1806
1848
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -1879,6 +1921,8 @@ class Subnetwork(pulumi.CustomResource):
|
|
1879
1921
|
except the last character, which cannot be a dash.
|
1880
1922
|
:param pulumi.Input[_builtins.str] network: The network this subnet belongs to.
|
1881
1923
|
Only networks that are in the distributed mode can have subnetworks.
|
1924
|
+
:param pulumi.Input[Union['SubnetworkParamsArgs', 'SubnetworkParamsArgsDict']] params: Additional params passed with the request, but not persisted as part of resource payload
|
1925
|
+
Structure is documented below.
|
1882
1926
|
:param pulumi.Input[_builtins.bool] private_ip_google_access: When enabled, VMs in this subnetwork without external IP addresses can
|
1883
1927
|
access Google APIs and services by using Private Google Access.
|
1884
1928
|
:param pulumi.Input[_builtins.str] private_ipv6_google_access: The private IPv6 google access type for the VMs in this subnet.
|
@@ -1942,6 +1986,7 @@ class Subnetwork(pulumi.CustomResource):
|
|
1942
1986
|
__props__.__dict__["log_config"] = log_config
|
1943
1987
|
__props__.__dict__["name"] = name
|
1944
1988
|
__props__.__dict__["network"] = network
|
1989
|
+
__props__.__dict__["params"] = params
|
1945
1990
|
__props__.__dict__["private_ip_google_access"] = private_ip_google_access
|
1946
1991
|
__props__.__dict__["private_ipv6_google_access"] = private_ipv6_google_access
|
1947
1992
|
__props__.__dict__["project"] = project
|
@@ -2129,6 +2174,15 @@ class Subnetwork(pulumi.CustomResource):
|
|
2129
2174
|
"""
|
2130
2175
|
return pulumi.get(self, "network")
|
2131
2176
|
|
2177
|
+
@_builtins.property
|
2178
|
+
@pulumi.getter
|
2179
|
+
def params(self) -> pulumi.Output[Optional['outputs.SubnetworkParams']]:
|
2180
|
+
"""
|
2181
|
+
Additional params passed with the request, but not persisted as part of resource payload
|
2182
|
+
Structure is documented below.
|
2183
|
+
"""
|
2184
|
+
return pulumi.get(self, "params")
|
2185
|
+
|
2132
2186
|
@_builtins.property
|
2133
2187
|
@pulumi.getter(name="privateIpGoogleAccess")
|
2134
2188
|
def private_ip_google_access(self) -> pulumi.Output[_builtins.bool]:
|
pulumi_gcp/config/__init__.pyi
CHANGED
pulumi_gcp/config/vars.py
CHANGED
@@ -533,6 +533,10 @@ class _ExportableConfig(types.ModuleType):
|
|
533
533
|
def model_armor_custom_endpoint(self) -> Optional[str]:
|
534
534
|
return __config__.get('modelArmorCustomEndpoint')
|
535
535
|
|
536
|
+
@_builtins.property
|
537
|
+
def model_armor_global_custom_endpoint(self) -> Optional[str]:
|
538
|
+
return __config__.get('modelArmorGlobalCustomEndpoint')
|
539
|
+
|
536
540
|
@_builtins.property
|
537
541
|
def monitoring_custom_endpoint(self) -> Optional[str]:
|
538
542
|
return __config__.get('monitoringCustomEndpoint')
|