pulumi-gcp 8.7.0a1730183903__py3-none-any.whl → 8.7.0a1730196225__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 +70 -0
- pulumi_gcp/accesscontextmanager/service_perimeter.py +2 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_egress_policy.py +4 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_ingress_policy.py +4 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +4 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +4 -0
- pulumi_gcp/accesscontextmanager/service_perimeters.py +2 -0
- pulumi_gcp/apigee/__init__.py +2 -0
- pulumi_gcp/apigee/_inputs.py +108 -0
- pulumi_gcp/apigee/app_group.py +811 -0
- pulumi_gcp/apigee/developer.py +757 -0
- pulumi_gcp/apigee/outputs.py +64 -0
- pulumi_gcp/artifactregistry/get_docker_image.py +40 -0
- pulumi_gcp/bigquery/connection.py +12 -12
- pulumi_gcp/bigquery/job.py +6 -6
- pulumi_gcp/cloudrunv2/get_service.py +12 -1
- pulumi_gcp/cloudrunv2/service.py +92 -0
- pulumi_gcp/compute/_inputs.py +214 -116
- pulumi_gcp/compute/backend_service.py +76 -0
- pulumi_gcp/compute/get_backend_service.py +12 -1
- pulumi_gcp/compute/get_instance.py +29 -1
- pulumi_gcp/compute/get_instance_template.py +29 -1
- pulumi_gcp/compute/get_region_instance_group_manager.py +0 -18
- pulumi_gcp/compute/get_region_instance_template.py +29 -1
- pulumi_gcp/compute/instance.py +89 -0
- pulumi_gcp/compute/instance_from_machine_image.py +82 -0
- pulumi_gcp/compute/instance_from_template.py +82 -0
- pulumi_gcp/compute/instance_template.py +75 -0
- pulumi_gcp/compute/network_firewall_policy_association.py +76 -50
- pulumi_gcp/compute/network_firewall_policy_rule.py +149 -103
- pulumi_gcp/compute/outputs.py +170 -80
- pulumi_gcp/compute/region_backend_service.py +94 -0
- pulumi_gcp/compute/region_instance_template.py +75 -0
- pulumi_gcp/compute/region_network_endpoint_group.py +6 -4
- pulumi_gcp/compute/region_network_firewall_policy_association.py +104 -54
- pulumi_gcp/compute/region_network_firewall_policy_rule.py +160 -107
- pulumi_gcp/config/__init__.pyi +4 -0
- pulumi_gcp/config/vars.py +8 -0
- pulumi_gcp/container/attached_cluster.py +9 -6
- pulumi_gcp/container/outputs.py +2 -2
- pulumi_gcp/datastream/stream.py +2 -2
- pulumi_gcp/diagflow/_inputs.py +472 -2
- pulumi_gcp/diagflow/cx_agent.py +64 -4
- pulumi_gcp/diagflow/cx_flow.py +30 -0
- pulumi_gcp/diagflow/outputs.py +378 -2
- pulumi_gcp/gkehub/feature.py +2 -4
- pulumi_gcp/iam/workload_identity_pool_provider.py +56 -0
- pulumi_gcp/looker/instance.py +104 -2
- pulumi_gcp/monitoring/_inputs.py +23 -0
- pulumi_gcp/monitoring/get_secret_version.py +22 -3
- pulumi_gcp/monitoring/outputs.py +16 -0
- pulumi_gcp/networkconnectivity/__init__.py +1 -0
- pulumi_gcp/networkconnectivity/_inputs.py +148 -0
- pulumi_gcp/networkconnectivity/group.py +764 -0
- pulumi_gcp/networkconnectivity/outputs.py +125 -0
- pulumi_gcp/networkconnectivity/spoke.py +144 -0
- pulumi_gcp/networksecurity/server_tls_policy.py +2 -2
- pulumi_gcp/oracledatabase/__init__.py +20 -0
- pulumi_gcp/oracledatabase/_inputs.py +4745 -0
- pulumi_gcp/oracledatabase/autonomous_database.py +983 -0
- pulumi_gcp/oracledatabase/cloud_exadata_infrastructure.py +842 -0
- pulumi_gcp/oracledatabase/cloud_vm_cluster.py +1086 -0
- pulumi_gcp/oracledatabase/get_autonomous_database.py +290 -0
- pulumi_gcp/oracledatabase/get_autonomous_databases.py +150 -0
- pulumi_gcp/oracledatabase/get_cloud_exadata_infrastructure.py +257 -0
- pulumi_gcp/oracledatabase/get_cloud_exadata_infrastructures.py +150 -0
- pulumi_gcp/oracledatabase/get_cloud_vm_cluster.py +290 -0
- pulumi_gcp/oracledatabase/get_cloud_vm_clusters.py +150 -0
- pulumi_gcp/oracledatabase/get_db_nodes.py +245 -0
- pulumi_gcp/oracledatabase/get_db_servers.py +245 -0
- pulumi_gcp/oracledatabase/outputs.py +9304 -0
- pulumi_gcp/organizations/folder.py +7 -7
- pulumi_gcp/organizations/project.py +7 -7
- pulumi_gcp/orgpolicy/_inputs.py +3 -3
- pulumi_gcp/orgpolicy/outputs.py +2 -2
- pulumi_gcp/privilegedaccessmanager/get_entitlement.py +46 -2
- pulumi_gcp/provider.py +40 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/secretmanager/get_regional_secret_version.py +24 -5
- pulumi_gcp/secretmanager/get_regional_secret_version_access.py +24 -5
- pulumi_gcp/secretmanager/get_secret_version.py +22 -3
- pulumi_gcp/secretmanager/get_secret_version_access.py +22 -3
- pulumi_gcp/secretmanager/regional_secret.py +2 -2
- pulumi_gcp/siteverification/get_token.py +0 -16
- pulumi_gcp/siteverification/owner.py +0 -16
- pulumi_gcp/spanner/_inputs.py +29 -5
- pulumi_gcp/spanner/outputs.py +20 -3
- pulumi_gcp/sql/_inputs.py +6 -6
- pulumi_gcp/sql/outputs.py +4 -4
- pulumi_gcp/sql/user.py +28 -21
- pulumi_gcp/storage/_inputs.py +36 -0
- pulumi_gcp/storage/bucket.py +47 -0
- pulumi_gcp/storage/get_bucket.py +12 -1
- pulumi_gcp/storage/outputs.py +40 -0
- pulumi_gcp/transcoder/__init__.py +11 -0
- pulumi_gcp/transcoder/_inputs.py +3991 -0
- pulumi_gcp/transcoder/job.py +2134 -0
- pulumi_gcp/transcoder/job_template.py +1524 -0
- pulumi_gcp/transcoder/outputs.py +2918 -0
- pulumi_gcp/vertex/ai_deployment_resource_pool.py +2 -2
- pulumi_gcp/vmwareengine/_inputs.py +440 -0
- pulumi_gcp/vmwareengine/cluster.py +100 -2
- pulumi_gcp/vmwareengine/get_cluster.py +12 -1
- pulumi_gcp/vmwareengine/outputs.py +615 -0
- pulumi_gcp/workstations/_inputs.py +54 -0
- pulumi_gcp/workstations/outputs.py +32 -0
- pulumi_gcp/workstations/workstation_config.py +205 -0
- {pulumi_gcp-8.7.0a1730183903.dist-info → pulumi_gcp-8.7.0a1730196225.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.7.0a1730183903.dist-info → pulumi_gcp-8.7.0a1730196225.dist-info}/RECORD +111 -89
- {pulumi_gcp-8.7.0a1730183903.dist-info → pulumi_gcp-8.7.0a1730196225.dist-info}/WHEEL +1 -1
- {pulumi_gcp-8.7.0a1730183903.dist-info → pulumi_gcp-8.7.0a1730196225.dist-info}/top_level.txt +0 -0
pulumi_gcp/sql/user.py
CHANGED
@@ -53,9 +53,10 @@ class UserArgs:
|
|
53
53
|
is not provided, the provider project is used.
|
54
54
|
:param pulumi.Input[str] type: The user type. It determines the method to authenticate the
|
55
55
|
user during login. The default is the database's built-in user type. Flags
|
56
|
-
include "BUILT_IN", "CLOUD_IAM_USER",
|
57
|
-
|
58
|
-
|
56
|
+
include "BUILT_IN", "CLOUD_IAM_USER", "CLOUD_IAM_SERVICE_ACCOUNT", "CLOUD_IAM_GROUP",
|
57
|
+
"CLOUD_IAM_GROUP_USER" and "CLOUD_IAM_GROUP_SERVICE_ACCOUNT" for
|
58
|
+
[Postgres](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/users#sqlusertype)
|
59
|
+
and [MySQL](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/users#sqlusertype).
|
59
60
|
"""
|
60
61
|
pulumi.set(__self__, "instance", instance)
|
61
62
|
if deletion_policy is not None:
|
@@ -174,9 +175,10 @@ class UserArgs:
|
|
174
175
|
"""
|
175
176
|
The user type. It determines the method to authenticate the
|
176
177
|
user during login. The default is the database's built-in user type. Flags
|
177
|
-
include "BUILT_IN", "CLOUD_IAM_USER",
|
178
|
-
|
179
|
-
|
178
|
+
include "BUILT_IN", "CLOUD_IAM_USER", "CLOUD_IAM_SERVICE_ACCOUNT", "CLOUD_IAM_GROUP",
|
179
|
+
"CLOUD_IAM_GROUP_USER" and "CLOUD_IAM_GROUP_SERVICE_ACCOUNT" for
|
180
|
+
[Postgres](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/users#sqlusertype)
|
181
|
+
and [MySQL](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/users#sqlusertype).
|
180
182
|
"""
|
181
183
|
return pulumi.get(self, "type")
|
182
184
|
|
@@ -221,9 +223,10 @@ class _UserState:
|
|
221
223
|
is not provided, the provider project is used.
|
222
224
|
:param pulumi.Input[str] type: The user type. It determines the method to authenticate the
|
223
225
|
user during login. The default is the database's built-in user type. Flags
|
224
|
-
include "BUILT_IN", "CLOUD_IAM_USER",
|
225
|
-
|
226
|
-
|
226
|
+
include "BUILT_IN", "CLOUD_IAM_USER", "CLOUD_IAM_SERVICE_ACCOUNT", "CLOUD_IAM_GROUP",
|
227
|
+
"CLOUD_IAM_GROUP_USER" and "CLOUD_IAM_GROUP_SERVICE_ACCOUNT" for
|
228
|
+
[Postgres](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/users#sqlusertype)
|
229
|
+
and [MySQL](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/users#sqlusertype).
|
227
230
|
"""
|
228
231
|
if deletion_policy is not None:
|
229
232
|
pulumi.set(__self__, "deletion_policy", deletion_policy)
|
@@ -354,9 +357,10 @@ class _UserState:
|
|
354
357
|
"""
|
355
358
|
The user type. It determines the method to authenticate the
|
356
359
|
user during login. The default is the database's built-in user type. Flags
|
357
|
-
include "BUILT_IN", "CLOUD_IAM_USER",
|
358
|
-
|
359
|
-
|
360
|
+
include "BUILT_IN", "CLOUD_IAM_USER", "CLOUD_IAM_SERVICE_ACCOUNT", "CLOUD_IAM_GROUP",
|
361
|
+
"CLOUD_IAM_GROUP_USER" and "CLOUD_IAM_GROUP_SERVICE_ACCOUNT" for
|
362
|
+
[Postgres](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/users#sqlusertype)
|
363
|
+
and [MySQL](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/users#sqlusertype).
|
360
364
|
"""
|
361
365
|
return pulumi.get(self, "type")
|
362
366
|
|
@@ -507,9 +511,10 @@ class User(pulumi.CustomResource):
|
|
507
511
|
is not provided, the provider project is used.
|
508
512
|
:param pulumi.Input[str] type: The user type. It determines the method to authenticate the
|
509
513
|
user during login. The default is the database's built-in user type. Flags
|
510
|
-
include "BUILT_IN", "CLOUD_IAM_USER",
|
511
|
-
|
512
|
-
|
514
|
+
include "BUILT_IN", "CLOUD_IAM_USER", "CLOUD_IAM_SERVICE_ACCOUNT", "CLOUD_IAM_GROUP",
|
515
|
+
"CLOUD_IAM_GROUP_USER" and "CLOUD_IAM_GROUP_SERVICE_ACCOUNT" for
|
516
|
+
[Postgres](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/users#sqlusertype)
|
517
|
+
and [MySQL](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/users#sqlusertype).
|
513
518
|
"""
|
514
519
|
...
|
515
520
|
@overload
|
@@ -714,9 +719,10 @@ class User(pulumi.CustomResource):
|
|
714
719
|
is not provided, the provider project is used.
|
715
720
|
:param pulumi.Input[str] type: The user type. It determines the method to authenticate the
|
716
721
|
user during login. The default is the database's built-in user type. Flags
|
717
|
-
include "BUILT_IN", "CLOUD_IAM_USER",
|
718
|
-
|
719
|
-
|
722
|
+
include "BUILT_IN", "CLOUD_IAM_USER", "CLOUD_IAM_SERVICE_ACCOUNT", "CLOUD_IAM_GROUP",
|
723
|
+
"CLOUD_IAM_GROUP_USER" and "CLOUD_IAM_GROUP_SERVICE_ACCOUNT" for
|
724
|
+
[Postgres](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/users#sqlusertype)
|
725
|
+
and [MySQL](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/users#sqlusertype).
|
720
726
|
"""
|
721
727
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
722
728
|
|
@@ -811,9 +817,10 @@ class User(pulumi.CustomResource):
|
|
811
817
|
"""
|
812
818
|
The user type. It determines the method to authenticate the
|
813
819
|
user during login. The default is the database's built-in user type. Flags
|
814
|
-
include "BUILT_IN", "CLOUD_IAM_USER",
|
815
|
-
|
816
|
-
|
820
|
+
include "BUILT_IN", "CLOUD_IAM_USER", "CLOUD_IAM_SERVICE_ACCOUNT", "CLOUD_IAM_GROUP",
|
821
|
+
"CLOUD_IAM_GROUP_USER" and "CLOUD_IAM_GROUP_SERVICE_ACCOUNT" for
|
822
|
+
[Postgres](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/users#sqlusertype)
|
823
|
+
and [MySQL](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/users#sqlusertype).
|
817
824
|
"""
|
818
825
|
return pulumi.get(self, "type")
|
819
826
|
|
pulumi_gcp/storage/_inputs.py
CHANGED
@@ -23,6 +23,8 @@ __all__ = [
|
|
23
23
|
'BucketCustomPlacementConfigArgsDict',
|
24
24
|
'BucketEncryptionArgs',
|
25
25
|
'BucketEncryptionArgsDict',
|
26
|
+
'BucketHierarchicalNamespaceArgs',
|
27
|
+
'BucketHierarchicalNamespaceArgsDict',
|
26
28
|
'BucketIAMBindingConditionArgs',
|
27
29
|
'BucketIAMBindingConditionArgsDict',
|
28
30
|
'BucketIAMMemberConditionArgs',
|
@@ -355,6 +357,40 @@ class BucketEncryptionArgs:
|
|
355
357
|
pulumi.set(self, "default_kms_key_name", value)
|
356
358
|
|
357
359
|
|
360
|
+
if not MYPY:
|
361
|
+
class BucketHierarchicalNamespaceArgsDict(TypedDict):
|
362
|
+
enabled: pulumi.Input[bool]
|
363
|
+
"""
|
364
|
+
Enable hierarchical namespace for the bucket.
|
365
|
+
To use this flag, you must also use --uniform-bucket-level-access
|
366
|
+
"""
|
367
|
+
elif False:
|
368
|
+
BucketHierarchicalNamespaceArgsDict: TypeAlias = Mapping[str, Any]
|
369
|
+
|
370
|
+
@pulumi.input_type
|
371
|
+
class BucketHierarchicalNamespaceArgs:
|
372
|
+
def __init__(__self__, *,
|
373
|
+
enabled: pulumi.Input[bool]):
|
374
|
+
"""
|
375
|
+
:param pulumi.Input[bool] enabled: Enable hierarchical namespace for the bucket.
|
376
|
+
To use this flag, you must also use --uniform-bucket-level-access
|
377
|
+
"""
|
378
|
+
pulumi.set(__self__, "enabled", enabled)
|
379
|
+
|
380
|
+
@property
|
381
|
+
@pulumi.getter
|
382
|
+
def enabled(self) -> pulumi.Input[bool]:
|
383
|
+
"""
|
384
|
+
Enable hierarchical namespace for the bucket.
|
385
|
+
To use this flag, you must also use --uniform-bucket-level-access
|
386
|
+
"""
|
387
|
+
return pulumi.get(self, "enabled")
|
388
|
+
|
389
|
+
@enabled.setter
|
390
|
+
def enabled(self, value: pulumi.Input[bool]):
|
391
|
+
pulumi.set(self, "enabled", value)
|
392
|
+
|
393
|
+
|
358
394
|
if not MYPY:
|
359
395
|
class BucketIAMBindingConditionArgsDict(TypedDict):
|
360
396
|
expression: pulumi.Input[str]
|
pulumi_gcp/storage/bucket.py
CHANGED
@@ -29,6 +29,7 @@ class BucketArgs:
|
|
29
29
|
enable_object_retention: Optional[pulumi.Input[bool]] = None,
|
30
30
|
encryption: Optional[pulumi.Input['BucketEncryptionArgs']] = None,
|
31
31
|
force_destroy: Optional[pulumi.Input[bool]] = None,
|
32
|
+
hierarchical_namespace: Optional[pulumi.Input['BucketHierarchicalNamespaceArgs']] = None,
|
32
33
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
33
34
|
lifecycle_rules: Optional[pulumi.Input[Sequence[pulumi.Input['BucketLifecycleRuleArgs']]]] = None,
|
34
35
|
logging: Optional[pulumi.Input['BucketLoggingArgs']] = None,
|
@@ -57,6 +58,7 @@ class BucketArgs:
|
|
57
58
|
:param pulumi.Input[bool] force_destroy: When deleting a bucket, this
|
58
59
|
boolean option will delete all contained objects. If you try to delete a
|
59
60
|
bucket that contains objects, the provider will fail that run.
|
61
|
+
:param pulumi.Input['BucketHierarchicalNamespaceArgs'] hierarchical_namespace: The bucket's hierarchical namespace policy, which defines the bucket capability to handle folders in logical structure. Structure is documented below.
|
60
62
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A map of key/value label pairs to assign to the bucket.
|
61
63
|
:param pulumi.Input[Sequence[pulumi.Input['BucketLifecycleRuleArgs']]] lifecycle_rules: The bucket's [Lifecycle Rules](https://cloud.google.com/storage/docs/lifecycle#configuration) configuration. Multiple blocks of this type are permitted. Structure is documented below.
|
62
64
|
:param pulumi.Input['BucketLoggingArgs'] logging: The bucket's [Access & Storage Logs](https://cloud.google.com/storage/docs/access-logs) configuration. Structure is documented below.
|
@@ -89,6 +91,8 @@ class BucketArgs:
|
|
89
91
|
pulumi.set(__self__, "encryption", encryption)
|
90
92
|
if force_destroy is not None:
|
91
93
|
pulumi.set(__self__, "force_destroy", force_destroy)
|
94
|
+
if hierarchical_namespace is not None:
|
95
|
+
pulumi.set(__self__, "hierarchical_namespace", hierarchical_namespace)
|
92
96
|
if labels is not None:
|
93
97
|
pulumi.set(__self__, "labels", labels)
|
94
98
|
if lifecycle_rules is not None:
|
@@ -218,6 +222,18 @@ class BucketArgs:
|
|
218
222
|
def force_destroy(self, value: Optional[pulumi.Input[bool]]):
|
219
223
|
pulumi.set(self, "force_destroy", value)
|
220
224
|
|
225
|
+
@property
|
226
|
+
@pulumi.getter(name="hierarchicalNamespace")
|
227
|
+
def hierarchical_namespace(self) -> Optional[pulumi.Input['BucketHierarchicalNamespaceArgs']]:
|
228
|
+
"""
|
229
|
+
The bucket's hierarchical namespace policy, which defines the bucket capability to handle folders in logical structure. Structure is documented below.
|
230
|
+
"""
|
231
|
+
return pulumi.get(self, "hierarchical_namespace")
|
232
|
+
|
233
|
+
@hierarchical_namespace.setter
|
234
|
+
def hierarchical_namespace(self, value: Optional[pulumi.Input['BucketHierarchicalNamespaceArgs']]):
|
235
|
+
pulumi.set(self, "hierarchical_namespace", value)
|
236
|
+
|
221
237
|
@property
|
222
238
|
@pulumi.getter
|
223
239
|
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
@@ -400,6 +416,7 @@ class _BucketState:
|
|
400
416
|
enable_object_retention: Optional[pulumi.Input[bool]] = None,
|
401
417
|
encryption: Optional[pulumi.Input['BucketEncryptionArgs']] = None,
|
402
418
|
force_destroy: Optional[pulumi.Input[bool]] = None,
|
419
|
+
hierarchical_namespace: Optional[pulumi.Input['BucketHierarchicalNamespaceArgs']] = None,
|
403
420
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
404
421
|
lifecycle_rules: Optional[pulumi.Input[Sequence[pulumi.Input['BucketLifecycleRuleArgs']]]] = None,
|
405
422
|
location: Optional[pulumi.Input[str]] = None,
|
@@ -430,6 +447,7 @@ class _BucketState:
|
|
430
447
|
:param pulumi.Input[bool] force_destroy: When deleting a bucket, this
|
431
448
|
boolean option will delete all contained objects. If you try to delete a
|
432
449
|
bucket that contains objects, the provider will fail that run.
|
450
|
+
:param pulumi.Input['BucketHierarchicalNamespaceArgs'] hierarchical_namespace: The bucket's hierarchical namespace policy, which defines the bucket capability to handle folders in logical structure. Structure is documented below.
|
433
451
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A map of key/value label pairs to assign to the bucket.
|
434
452
|
:param pulumi.Input[Sequence[pulumi.Input['BucketLifecycleRuleArgs']]] lifecycle_rules: The bucket's [Lifecycle Rules](https://cloud.google.com/storage/docs/lifecycle#configuration) configuration. Multiple blocks of this type are permitted. Structure is documented below.
|
435
453
|
:param pulumi.Input[str] location: The [GCS location](https://cloud.google.com/storage/docs/bucket-locations).
|
@@ -470,6 +488,8 @@ class _BucketState:
|
|
470
488
|
pulumi.set(__self__, "encryption", encryption)
|
471
489
|
if force_destroy is not None:
|
472
490
|
pulumi.set(__self__, "force_destroy", force_destroy)
|
491
|
+
if hierarchical_namespace is not None:
|
492
|
+
pulumi.set(__self__, "hierarchical_namespace", hierarchical_namespace)
|
473
493
|
if labels is not None:
|
474
494
|
pulumi.set(__self__, "labels", labels)
|
475
495
|
if lifecycle_rules is not None:
|
@@ -604,6 +624,18 @@ class _BucketState:
|
|
604
624
|
def force_destroy(self, value: Optional[pulumi.Input[bool]]):
|
605
625
|
pulumi.set(self, "force_destroy", value)
|
606
626
|
|
627
|
+
@property
|
628
|
+
@pulumi.getter(name="hierarchicalNamespace")
|
629
|
+
def hierarchical_namespace(self) -> Optional[pulumi.Input['BucketHierarchicalNamespaceArgs']]:
|
630
|
+
"""
|
631
|
+
The bucket's hierarchical namespace policy, which defines the bucket capability to handle folders in logical structure. Structure is documented below.
|
632
|
+
"""
|
633
|
+
return pulumi.get(self, "hierarchical_namespace")
|
634
|
+
|
635
|
+
@hierarchical_namespace.setter
|
636
|
+
def hierarchical_namespace(self, value: Optional[pulumi.Input['BucketHierarchicalNamespaceArgs']]):
|
637
|
+
pulumi.set(self, "hierarchical_namespace", value)
|
638
|
+
|
607
639
|
@property
|
608
640
|
@pulumi.getter
|
609
641
|
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
@@ -849,6 +881,7 @@ class Bucket(pulumi.CustomResource):
|
|
849
881
|
enable_object_retention: Optional[pulumi.Input[bool]] = None,
|
850
882
|
encryption: Optional[pulumi.Input[Union['BucketEncryptionArgs', 'BucketEncryptionArgsDict']]] = None,
|
851
883
|
force_destroy: Optional[pulumi.Input[bool]] = None,
|
884
|
+
hierarchical_namespace: Optional[pulumi.Input[Union['BucketHierarchicalNamespaceArgs', 'BucketHierarchicalNamespaceArgsDict']]] = None,
|
852
885
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
853
886
|
lifecycle_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BucketLifecycleRuleArgs', 'BucketLifecycleRuleArgsDict']]]]] = None,
|
854
887
|
location: Optional[pulumi.Input[str]] = None,
|
@@ -1014,6 +1047,7 @@ class Bucket(pulumi.CustomResource):
|
|
1014
1047
|
:param pulumi.Input[bool] force_destroy: When deleting a bucket, this
|
1015
1048
|
boolean option will delete all contained objects. If you try to delete a
|
1016
1049
|
bucket that contains objects, the provider will fail that run.
|
1050
|
+
:param pulumi.Input[Union['BucketHierarchicalNamespaceArgs', 'BucketHierarchicalNamespaceArgsDict']] hierarchical_namespace: The bucket's hierarchical namespace policy, which defines the bucket capability to handle folders in logical structure. Structure is documented below.
|
1017
1051
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A map of key/value label pairs to assign to the bucket.
|
1018
1052
|
:param pulumi.Input[Sequence[pulumi.Input[Union['BucketLifecycleRuleArgs', 'BucketLifecycleRuleArgsDict']]]] lifecycle_rules: The bucket's [Lifecycle Rules](https://cloud.google.com/storage/docs/lifecycle#configuration) configuration. Multiple blocks of this type are permitted. Structure is documented below.
|
1019
1053
|
:param pulumi.Input[str] location: The [GCS location](https://cloud.google.com/storage/docs/bucket-locations).
|
@@ -1200,6 +1234,7 @@ class Bucket(pulumi.CustomResource):
|
|
1200
1234
|
enable_object_retention: Optional[pulumi.Input[bool]] = None,
|
1201
1235
|
encryption: Optional[pulumi.Input[Union['BucketEncryptionArgs', 'BucketEncryptionArgsDict']]] = None,
|
1202
1236
|
force_destroy: Optional[pulumi.Input[bool]] = None,
|
1237
|
+
hierarchical_namespace: Optional[pulumi.Input[Union['BucketHierarchicalNamespaceArgs', 'BucketHierarchicalNamespaceArgsDict']]] = None,
|
1203
1238
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1204
1239
|
lifecycle_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BucketLifecycleRuleArgs', 'BucketLifecycleRuleArgsDict']]]]] = None,
|
1205
1240
|
location: Optional[pulumi.Input[str]] = None,
|
@@ -1231,6 +1266,7 @@ class Bucket(pulumi.CustomResource):
|
|
1231
1266
|
__props__.__dict__["enable_object_retention"] = enable_object_retention
|
1232
1267
|
__props__.__dict__["encryption"] = encryption
|
1233
1268
|
__props__.__dict__["force_destroy"] = force_destroy
|
1269
|
+
__props__.__dict__["hierarchical_namespace"] = hierarchical_namespace
|
1234
1270
|
__props__.__dict__["labels"] = labels
|
1235
1271
|
__props__.__dict__["lifecycle_rules"] = lifecycle_rules
|
1236
1272
|
if location is None and not opts.urn:
|
@@ -1273,6 +1309,7 @@ class Bucket(pulumi.CustomResource):
|
|
1273
1309
|
enable_object_retention: Optional[pulumi.Input[bool]] = None,
|
1274
1310
|
encryption: Optional[pulumi.Input[Union['BucketEncryptionArgs', 'BucketEncryptionArgsDict']]] = None,
|
1275
1311
|
force_destroy: Optional[pulumi.Input[bool]] = None,
|
1312
|
+
hierarchical_namespace: Optional[pulumi.Input[Union['BucketHierarchicalNamespaceArgs', 'BucketHierarchicalNamespaceArgsDict']]] = None,
|
1276
1313
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1277
1314
|
lifecycle_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BucketLifecycleRuleArgs', 'BucketLifecycleRuleArgsDict']]]]] = None,
|
1278
1315
|
location: Optional[pulumi.Input[str]] = None,
|
@@ -1308,6 +1345,7 @@ class Bucket(pulumi.CustomResource):
|
|
1308
1345
|
:param pulumi.Input[bool] force_destroy: When deleting a bucket, this
|
1309
1346
|
boolean option will delete all contained objects. If you try to delete a
|
1310
1347
|
bucket that contains objects, the provider will fail that run.
|
1348
|
+
:param pulumi.Input[Union['BucketHierarchicalNamespaceArgs', 'BucketHierarchicalNamespaceArgsDict']] hierarchical_namespace: The bucket's hierarchical namespace policy, which defines the bucket capability to handle folders in logical structure. Structure is documented below.
|
1311
1349
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A map of key/value label pairs to assign to the bucket.
|
1312
1350
|
:param pulumi.Input[Sequence[pulumi.Input[Union['BucketLifecycleRuleArgs', 'BucketLifecycleRuleArgsDict']]]] lifecycle_rules: The bucket's [Lifecycle Rules](https://cloud.google.com/storage/docs/lifecycle#configuration) configuration. Multiple blocks of this type are permitted. Structure is documented below.
|
1313
1351
|
:param pulumi.Input[str] location: The [GCS location](https://cloud.google.com/storage/docs/bucket-locations).
|
@@ -1344,6 +1382,7 @@ class Bucket(pulumi.CustomResource):
|
|
1344
1382
|
__props__.__dict__["enable_object_retention"] = enable_object_retention
|
1345
1383
|
__props__.__dict__["encryption"] = encryption
|
1346
1384
|
__props__.__dict__["force_destroy"] = force_destroy
|
1385
|
+
__props__.__dict__["hierarchical_namespace"] = hierarchical_namespace
|
1347
1386
|
__props__.__dict__["labels"] = labels
|
1348
1387
|
__props__.__dict__["lifecycle_rules"] = lifecycle_rules
|
1349
1388
|
__props__.__dict__["location"] = location
|
@@ -1428,6 +1467,14 @@ class Bucket(pulumi.CustomResource):
|
|
1428
1467
|
"""
|
1429
1468
|
return pulumi.get(self, "force_destroy")
|
1430
1469
|
|
1470
|
+
@property
|
1471
|
+
@pulumi.getter(name="hierarchicalNamespace")
|
1472
|
+
def hierarchical_namespace(self) -> pulumi.Output[Optional['outputs.BucketHierarchicalNamespace']]:
|
1473
|
+
"""
|
1474
|
+
The bucket's hierarchical namespace policy, which defines the bucket capability to handle folders in logical structure. Structure is documented below.
|
1475
|
+
"""
|
1476
|
+
return pulumi.get(self, "hierarchical_namespace")
|
1477
|
+
|
1431
1478
|
@property
|
1432
1479
|
@pulumi.getter
|
1433
1480
|
def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
pulumi_gcp/storage/get_bucket.py
CHANGED
@@ -27,7 +27,7 @@ class GetBucketResult:
|
|
27
27
|
"""
|
28
28
|
A collection of values returned by getBucket.
|
29
29
|
"""
|
30
|
-
def __init__(__self__, autoclasses=None, cors=None, custom_placement_configs=None, default_event_based_hold=None, effective_labels=None, enable_object_retention=None, encryptions=None, force_destroy=None, id=None, labels=None, lifecycle_rules=None, location=None, loggings=None, name=None, project=None, project_number=None, public_access_prevention=None, pulumi_labels=None, requester_pays=None, retention_policies=None, rpo=None, self_link=None, soft_delete_policies=None, storage_class=None, uniform_bucket_level_access=None, url=None, versionings=None, websites=None):
|
30
|
+
def __init__(__self__, autoclasses=None, cors=None, custom_placement_configs=None, default_event_based_hold=None, effective_labels=None, enable_object_retention=None, encryptions=None, force_destroy=None, hierarchical_namespaces=None, id=None, labels=None, lifecycle_rules=None, location=None, loggings=None, name=None, project=None, project_number=None, public_access_prevention=None, pulumi_labels=None, requester_pays=None, retention_policies=None, rpo=None, self_link=None, soft_delete_policies=None, storage_class=None, uniform_bucket_level_access=None, url=None, versionings=None, websites=None):
|
31
31
|
if autoclasses and not isinstance(autoclasses, list):
|
32
32
|
raise TypeError("Expected argument 'autoclasses' to be a list")
|
33
33
|
pulumi.set(__self__, "autoclasses", autoclasses)
|
@@ -52,6 +52,9 @@ class GetBucketResult:
|
|
52
52
|
if force_destroy and not isinstance(force_destroy, bool):
|
53
53
|
raise TypeError("Expected argument 'force_destroy' to be a bool")
|
54
54
|
pulumi.set(__self__, "force_destroy", force_destroy)
|
55
|
+
if hierarchical_namespaces and not isinstance(hierarchical_namespaces, list):
|
56
|
+
raise TypeError("Expected argument 'hierarchical_namespaces' to be a list")
|
57
|
+
pulumi.set(__self__, "hierarchical_namespaces", hierarchical_namespaces)
|
55
58
|
if id and not isinstance(id, str):
|
56
59
|
raise TypeError("Expected argument 'id' to be a str")
|
57
60
|
pulumi.set(__self__, "id", id)
|
@@ -153,6 +156,11 @@ class GetBucketResult:
|
|
153
156
|
def force_destroy(self) -> bool:
|
154
157
|
return pulumi.get(self, "force_destroy")
|
155
158
|
|
159
|
+
@property
|
160
|
+
@pulumi.getter(name="hierarchicalNamespaces")
|
161
|
+
def hierarchical_namespaces(self) -> Sequence['outputs.GetBucketHierarchicalNamespaceResult']:
|
162
|
+
return pulumi.get(self, "hierarchical_namespaces")
|
163
|
+
|
156
164
|
@property
|
157
165
|
@pulumi.getter
|
158
166
|
def id(self) -> str:
|
@@ -271,6 +279,7 @@ class AwaitableGetBucketResult(GetBucketResult):
|
|
271
279
|
enable_object_retention=self.enable_object_retention,
|
272
280
|
encryptions=self.encryptions,
|
273
281
|
force_destroy=self.force_destroy,
|
282
|
+
hierarchical_namespaces=self.hierarchical_namespaces,
|
274
283
|
id=self.id,
|
275
284
|
labels=self.labels,
|
276
285
|
lifecycle_rules=self.lifecycle_rules,
|
@@ -330,6 +339,7 @@ def get_bucket(name: Optional[str] = None,
|
|
330
339
|
enable_object_retention=pulumi.get(__ret__, 'enable_object_retention'),
|
331
340
|
encryptions=pulumi.get(__ret__, 'encryptions'),
|
332
341
|
force_destroy=pulumi.get(__ret__, 'force_destroy'),
|
342
|
+
hierarchical_namespaces=pulumi.get(__ret__, 'hierarchical_namespaces'),
|
333
343
|
id=pulumi.get(__ret__, 'id'),
|
334
344
|
labels=pulumi.get(__ret__, 'labels'),
|
335
345
|
lifecycle_rules=pulumi.get(__ret__, 'lifecycle_rules'),
|
@@ -386,6 +396,7 @@ def get_bucket_output(name: Optional[pulumi.Input[str]] = None,
|
|
386
396
|
enable_object_retention=pulumi.get(__response__, 'enable_object_retention'),
|
387
397
|
encryptions=pulumi.get(__response__, 'encryptions'),
|
388
398
|
force_destroy=pulumi.get(__response__, 'force_destroy'),
|
399
|
+
hierarchical_namespaces=pulumi.get(__response__, 'hierarchical_namespaces'),
|
389
400
|
id=pulumi.get(__response__, 'id'),
|
390
401
|
labels=pulumi.get(__response__, 'labels'),
|
391
402
|
lifecycle_rules=pulumi.get(__response__, 'lifecycle_rules'),
|
pulumi_gcp/storage/outputs.py
CHANGED
@@ -20,6 +20,7 @@ __all__ = [
|
|
20
20
|
'BucketCor',
|
21
21
|
'BucketCustomPlacementConfig',
|
22
22
|
'BucketEncryption',
|
23
|
+
'BucketHierarchicalNamespace',
|
23
24
|
'BucketIAMBindingCondition',
|
24
25
|
'BucketIAMMemberCondition',
|
25
26
|
'BucketLifecycleRule',
|
@@ -66,6 +67,7 @@ __all__ = [
|
|
66
67
|
'GetBucketCorResult',
|
67
68
|
'GetBucketCustomPlacementConfigResult',
|
68
69
|
'GetBucketEncryptionResult',
|
70
|
+
'GetBucketHierarchicalNamespaceResult',
|
69
71
|
'GetBucketLifecycleRuleResult',
|
70
72
|
'GetBucketLifecycleRuleActionResult',
|
71
73
|
'GetBucketLifecycleRuleConditionResult',
|
@@ -299,6 +301,26 @@ class BucketEncryption(dict):
|
|
299
301
|
return pulumi.get(self, "default_kms_key_name")
|
300
302
|
|
301
303
|
|
304
|
+
@pulumi.output_type
|
305
|
+
class BucketHierarchicalNamespace(dict):
|
306
|
+
def __init__(__self__, *,
|
307
|
+
enabled: bool):
|
308
|
+
"""
|
309
|
+
:param bool enabled: Enable hierarchical namespace for the bucket.
|
310
|
+
To use this flag, you must also use --uniform-bucket-level-access
|
311
|
+
"""
|
312
|
+
pulumi.set(__self__, "enabled", enabled)
|
313
|
+
|
314
|
+
@property
|
315
|
+
@pulumi.getter
|
316
|
+
def enabled(self) -> bool:
|
317
|
+
"""
|
318
|
+
Enable hierarchical namespace for the bucket.
|
319
|
+
To use this flag, you must also use --uniform-bucket-level-access
|
320
|
+
"""
|
321
|
+
return pulumi.get(self, "enabled")
|
322
|
+
|
323
|
+
|
302
324
|
@pulumi.output_type
|
303
325
|
class BucketIAMBindingCondition(dict):
|
304
326
|
def __init__(__self__, *,
|
@@ -2838,6 +2860,24 @@ class GetBucketEncryptionResult(dict):
|
|
2838
2860
|
return pulumi.get(self, "default_kms_key_name")
|
2839
2861
|
|
2840
2862
|
|
2863
|
+
@pulumi.output_type
|
2864
|
+
class GetBucketHierarchicalNamespaceResult(dict):
|
2865
|
+
def __init__(__self__, *,
|
2866
|
+
enabled: bool):
|
2867
|
+
"""
|
2868
|
+
:param bool enabled: Set this enabled flag to true when folders with logical files structure. Default value is false.
|
2869
|
+
"""
|
2870
|
+
pulumi.set(__self__, "enabled", enabled)
|
2871
|
+
|
2872
|
+
@property
|
2873
|
+
@pulumi.getter
|
2874
|
+
def enabled(self) -> bool:
|
2875
|
+
"""
|
2876
|
+
Set this enabled flag to true when folders with logical files structure. Default value is false.
|
2877
|
+
"""
|
2878
|
+
return pulumi.get(self, "enabled")
|
2879
|
+
|
2880
|
+
|
2841
2881
|
@pulumi.output_type
|
2842
2882
|
class GetBucketLifecycleRuleResult(dict):
|
2843
2883
|
def __init__(__self__, *,
|
@@ -0,0 +1,11 @@
|
|
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 .job import *
|
9
|
+
from .job_template import *
|
10
|
+
from ._inputs import *
|
11
|
+
from . import outputs
|