pulumi-gcp 8.42.0a1756968228__py3-none-any.whl → 9.0.0a1__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 +35 -48
- pulumi_gcp/alloydb/backup.py +8 -4
- pulumi_gcp/alloydb/cluster.py +56 -10
- pulumi_gcp/alloydb/get_cluster.py +12 -1
- pulumi_gcp/alloydb/instance.py +10 -4
- pulumi_gcp/alloydb/user.py +8 -4
- pulumi_gcp/apigee/_inputs.py +151 -108
- pulumi_gcp/apigee/keystores_aliases_key_cert_file.py +52 -40
- pulumi_gcp/apigee/outputs.py +92 -88
- pulumi_gcp/artifactregistry/__init__.py +1 -0
- pulumi_gcp/artifactregistry/_inputs.py +0 -12
- pulumi_gcp/artifactregistry/get_npm_package.py +251 -0
- pulumi_gcp/artifactregistry/outputs.py +8 -16
- pulumi_gcp/beyondcorp/__init__.py +0 -5
- pulumi_gcp/beyondcorp/_inputs.py +0 -312
- pulumi_gcp/beyondcorp/outputs.py +0 -200
- pulumi_gcp/bigquery/_inputs.py +114 -4
- pulumi_gcp/bigquery/app_profile.py +52 -19
- pulumi_gcp/bigquery/dataset_access.py +8 -4
- pulumi_gcp/bigquery/outputs.py +75 -5
- pulumi_gcp/bigquery/table.py +21 -7
- pulumi_gcp/bigtable/app_profile.py +50 -15
- pulumi_gcp/bigtable/get_table_iam_policy.py +16 -18
- pulumi_gcp/bigtable/table.py +42 -42
- pulumi_gcp/bigtable/table_iam_binding.py +43 -43
- pulumi_gcp/bigtable/table_iam_member.py +43 -43
- pulumi_gcp/bigtable/table_iam_policy.py +43 -43
- pulumi_gcp/billing/_inputs.py +0 -6
- pulumi_gcp/billing/outputs.py +0 -4
- pulumi_gcp/certificatemanager/__init__.py +1 -0
- pulumi_gcp/certificatemanager/get_dns_authorization.py +229 -0
- pulumi_gcp/certificatemanager/outputs.py +41 -0
- pulumi_gcp/cloudbuild/_inputs.py +289 -45
- pulumi_gcp/cloudbuild/bitbucket_server_config.py +2 -6
- pulumi_gcp/cloudbuild/get_trigger.py +12 -1
- pulumi_gcp/cloudbuild/outputs.py +366 -30
- pulumi_gcp/cloudbuild/trigger.py +156 -0
- pulumi_gcp/cloudbuild/worker_pool.py +23 -34
- pulumi_gcp/cloudfunctions/function.py +8 -4
- pulumi_gcp/cloudfunctionsv2/_inputs.py +23 -21
- pulumi_gcp/cloudfunctionsv2/outputs.py +17 -16
- pulumi_gcp/cloudrunv2/_inputs.py +23 -26
- pulumi_gcp/cloudrunv2/outputs.py +28 -30
- pulumi_gcp/cloudrunv2/service.py +18 -12
- pulumi_gcp/cloudtasks/queue.py +98 -2
- pulumi_gcp/colab/_inputs.py +1 -114
- pulumi_gcp/colab/outputs.py +1 -106
- pulumi_gcp/composer/environment.py +49 -28
- pulumi_gcp/compute/_inputs.py +80 -0
- pulumi_gcp/compute/backend_bucket.py +54 -0
- pulumi_gcp/compute/backend_service.py +54 -0
- pulumi_gcp/compute/get_backend_bucket.py +12 -1
- pulumi_gcp/compute/get_backend_service.py +12 -1
- pulumi_gcp/compute/instance_from_machine_image.py +110 -75
- pulumi_gcp/compute/instance_from_template.py +110 -75
- pulumi_gcp/compute/instance_group_manager.py +14 -7
- pulumi_gcp/compute/instance_template.py +14 -7
- pulumi_gcp/compute/interconnect.py +8 -4
- pulumi_gcp/compute/network_peering_routes_config.py +0 -100
- pulumi_gcp/compute/organization_security_policy.py +83 -51
- pulumi_gcp/compute/outputs.py +128 -0
- pulumi_gcp/compute/packet_mirroring.py +6 -0
- pulumi_gcp/compute/region_instance_group_manager.py +14 -7
- pulumi_gcp/compute/subnetwork.py +0 -98
- pulumi_gcp/config/__init__.pyi +2 -2
- pulumi_gcp/config/vars.py +4 -4
- pulumi_gcp/container/_inputs.py +20 -0
- pulumi_gcp/container/aws_cluster.py +42 -28
- pulumi_gcp/container/aws_node_pool.py +42 -28
- pulumi_gcp/container/azure_cluster.py +70 -35
- pulumi_gcp/container/azure_node_pool.py +42 -28
- pulumi_gcp/container/outputs.py +25 -0
- pulumi_gcp/databasemigrationservice/connection_profile.py +4 -2
- pulumi_gcp/databasemigrationservice/migration_job.py +4 -2
- pulumi_gcp/dataplex/asset.py +21 -28
- pulumi_gcp/dataplex/zone.py +21 -28
- pulumi_gcp/dataproc/cluster.py +14 -21
- pulumi_gcp/dataproc/workflow_template.py +105 -42
- pulumi_gcp/diagflow/_inputs.py +152 -0
- pulumi_gcp/diagflow/cx_agent.py +425 -0
- pulumi_gcp/diagflow/outputs.py +143 -0
- pulumi_gcp/firebase/app_check_play_integrity_config.py +4 -8
- pulumi_gcp/firebase/app_check_recaptcha_enterprise_config.py +2 -4
- pulumi_gcp/firebase/app_check_service_config.py +6 -12
- pulumi_gcp/firebase/app_hosting_backend.py +4 -8
- pulumi_gcp/firebase/app_hosting_build.py +4 -8
- pulumi_gcp/firebase/app_hosting_traffic.py +6 -12
- pulumi_gcp/firebase/data_connect_service.py +4 -8
- pulumi_gcp/firebase/database_instance.py +4 -8
- pulumi_gcp/gkehub/_inputs.py +0 -60
- pulumi_gcp/gkehub/get_membership.py +1 -12
- pulumi_gcp/gkehub/membership.py +0 -70
- pulumi_gcp/gkehub/outputs.py +0 -36
- pulumi_gcp/iap/__init__.py +4 -0
- pulumi_gcp/iap/_inputs.py +130 -0
- pulumi_gcp/iap/get_web_region_forwarding_rule_service_iam_policy.py +182 -0
- pulumi_gcp/iap/outputs.py +76 -0
- pulumi_gcp/{beyondcorp/application_iam_binding.py → iap/web_region_forwarding_rule_service_iam_binding.py} +321 -314
- pulumi_gcp/{beyondcorp/application_iam_member.py → iap/web_region_forwarding_rule_service_iam_member.py} +321 -314
- pulumi_gcp/iap/web_region_forwarding_rule_service_iam_policy.py +910 -0
- pulumi_gcp/kms/autokey_config.py +0 -2
- pulumi_gcp/kms/key_handle.py +0 -2
- pulumi_gcp/logging/billing_account_bucket_config.py +21 -7
- pulumi_gcp/logging/folder_bucket_config.py +21 -7
- pulumi_gcp/logging/organization_bucket_config.py +21 -7
- pulumi_gcp/memorystore/get_instance.py +1 -12
- pulumi_gcp/memorystore/instance.py +0 -70
- pulumi_gcp/monitoring/dashboard.py +14 -7
- pulumi_gcp/networkservices/lb_traffic_extension.py +24 -23
- pulumi_gcp/notebooks/__init__.py +0 -1
- pulumi_gcp/oracledatabase/cloud_vm_cluster.py +3 -3
- pulumi_gcp/organizations/project.py +21 -7
- pulumi_gcp/projects/service.py +2 -4
- pulumi_gcp/provider.py +20 -20
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/cluster.py +0 -70
- pulumi_gcp/redis/get_cluster.py +1 -12
- pulumi_gcp/saasruntime/__init__.py +11 -0
- pulumi_gcp/saasruntime/_inputs.py +55 -0
- pulumi_gcp/saasruntime/outputs.py +39 -0
- pulumi_gcp/saasruntime/saa_s.py +815 -0
- pulumi_gcp/securesourcemanager/_inputs.py +20 -19
- pulumi_gcp/securesourcemanager/outputs.py +15 -14
- pulumi_gcp/serviceaccount/get_account_key.py +1 -21
- pulumi_gcp/sql/database_instance.py +61 -7
- pulumi_gcp/sql/get_database_instance.py +12 -1
- pulumi_gcp/sql/outputs.py +11 -0
- pulumi_gcp/sql/user.py +61 -0
- pulumi_gcp/storage/_inputs.py +7 -7
- pulumi_gcp/storage/bucket.py +14 -7
- pulumi_gcp/storage/outputs.py +7 -7
- pulumi_gcp/tpu/__init__.py +0 -2
- pulumi_gcp/tpu/_inputs.py +0 -93
- pulumi_gcp/tpu/outputs.py +0 -72
- pulumi_gcp/vertex/_inputs.py +8 -9
- pulumi_gcp/vertex/ai_endpoint.py +2 -4
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +0 -2
- pulumi_gcp/vertex/ai_index.py +24 -23
- pulumi_gcp/vertex/outputs.py +7 -8
- {pulumi_gcp-8.42.0a1756968228.dist-info → pulumi_gcp-9.0.0a1.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.42.0a1756968228.dist-info → pulumi_gcp-9.0.0a1.dist-info}/RECORD +143 -141
- pulumi_gcp/beyondcorp/application.py +0 -746
- pulumi_gcp/beyondcorp/application_iam_policy.py +0 -903
- pulumi_gcp/beyondcorp/get_application_iam_policy.py +0 -182
- pulumi_gcp/notebooks/location.py +0 -285
- pulumi_gcp/tpu/get_tensorflow_versions.py +0 -184
- pulumi_gcp/tpu/node.py +0 -1062
- {pulumi_gcp-8.42.0a1756968228.dist-info → pulumi_gcp-9.0.0a1.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.42.0a1756968228.dist-info → pulumi_gcp-9.0.0a1.dist-info}/top_level.txt +0 -0
pulumi_gcp/sql/user.py
CHANGED
@@ -27,6 +27,7 @@ class UserArgs:
|
|
27
27
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
28
28
|
password: Optional[pulumi.Input[_builtins.str]] = None,
|
29
29
|
password_policy: Optional[pulumi.Input['UserPasswordPolicyArgs']] = None,
|
30
|
+
password_wo_version: Optional[pulumi.Input[_builtins.int]] = None,
|
30
31
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
31
32
|
type: Optional[pulumi.Input[_builtins.str]] = None):
|
32
33
|
"""
|
@@ -47,6 +48,9 @@ class UserArgs:
|
|
47
48
|
instances this is a Required field, unless type is set to either CLOUD_IAM_USER
|
48
49
|
or CLOUD_IAM_SERVICE_ACCOUNT. Don't set this field for CLOUD_IAM_USER
|
49
50
|
and CLOUD_IAM_SERVICE_ACCOUNT user types for any Cloud SQL instance.
|
51
|
+
:param pulumi.Input[_builtins.int] password_wo_version: The version of the password_wo. For more info see [updating write-only attributes](https://www.terraform.io/docs/providers/google/guides/using_write_only_attributes.html#updating-write-only-attributes).
|
52
|
+
|
53
|
+
- - -
|
50
54
|
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs. If it
|
51
55
|
is not provided, the provider project is used.
|
52
56
|
:param pulumi.Input[_builtins.str] type: The user type. It determines the method to authenticate the
|
@@ -67,6 +71,8 @@ class UserArgs:
|
|
67
71
|
pulumi.set(__self__, "password", password)
|
68
72
|
if password_policy is not None:
|
69
73
|
pulumi.set(__self__, "password_policy", password_policy)
|
74
|
+
if password_wo_version is not None:
|
75
|
+
pulumi.set(__self__, "password_wo_version", password_wo_version)
|
70
76
|
if project is not None:
|
71
77
|
pulumi.set(__self__, "project", project)
|
72
78
|
if type is not None:
|
@@ -152,6 +158,20 @@ class UserArgs:
|
|
152
158
|
def password_policy(self, value: Optional[pulumi.Input['UserPasswordPolicyArgs']]):
|
153
159
|
pulumi.set(self, "password_policy", value)
|
154
160
|
|
161
|
+
@_builtins.property
|
162
|
+
@pulumi.getter(name="passwordWoVersion")
|
163
|
+
def password_wo_version(self) -> Optional[pulumi.Input[_builtins.int]]:
|
164
|
+
"""
|
165
|
+
The version of the password_wo. For more info see [updating write-only attributes](https://www.terraform.io/docs/providers/google/guides/using_write_only_attributes.html#updating-write-only-attributes).
|
166
|
+
|
167
|
+
- - -
|
168
|
+
"""
|
169
|
+
return pulumi.get(self, "password_wo_version")
|
170
|
+
|
171
|
+
@password_wo_version.setter
|
172
|
+
def password_wo_version(self, value: Optional[pulumi.Input[_builtins.int]]):
|
173
|
+
pulumi.set(self, "password_wo_version", value)
|
174
|
+
|
155
175
|
@_builtins.property
|
156
176
|
@pulumi.getter
|
157
177
|
def project(self) -> Optional[pulumi.Input[_builtins.str]]:
|
@@ -192,6 +212,7 @@ class _UserState:
|
|
192
212
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
193
213
|
password: Optional[pulumi.Input[_builtins.str]] = None,
|
194
214
|
password_policy: Optional[pulumi.Input['UserPasswordPolicyArgs']] = None,
|
215
|
+
password_wo_version: Optional[pulumi.Input[_builtins.int]] = None,
|
195
216
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
196
217
|
sql_server_user_details: Optional[pulumi.Input[Sequence[pulumi.Input['UserSqlServerUserDetailArgs']]]] = None,
|
197
218
|
type: Optional[pulumi.Input[_builtins.str]] = None):
|
@@ -213,6 +234,9 @@ class _UserState:
|
|
213
234
|
instances this is a Required field, unless type is set to either CLOUD_IAM_USER
|
214
235
|
or CLOUD_IAM_SERVICE_ACCOUNT. Don't set this field for CLOUD_IAM_USER
|
215
236
|
and CLOUD_IAM_SERVICE_ACCOUNT user types for any Cloud SQL instance.
|
237
|
+
:param pulumi.Input[_builtins.int] password_wo_version: The version of the password_wo. For more info see [updating write-only attributes](https://www.terraform.io/docs/providers/google/guides/using_write_only_attributes.html#updating-write-only-attributes).
|
238
|
+
|
239
|
+
- - -
|
216
240
|
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs. If it
|
217
241
|
is not provided, the provider project is used.
|
218
242
|
:param pulumi.Input[_builtins.str] type: The user type. It determines the method to authenticate the
|
@@ -234,6 +258,8 @@ class _UserState:
|
|
234
258
|
pulumi.set(__self__, "password", password)
|
235
259
|
if password_policy is not None:
|
236
260
|
pulumi.set(__self__, "password_policy", password_policy)
|
261
|
+
if password_wo_version is not None:
|
262
|
+
pulumi.set(__self__, "password_wo_version", password_wo_version)
|
237
263
|
if project is not None:
|
238
264
|
pulumi.set(__self__, "project", project)
|
239
265
|
if sql_server_user_details is not None:
|
@@ -321,6 +347,20 @@ class _UserState:
|
|
321
347
|
def password_policy(self, value: Optional[pulumi.Input['UserPasswordPolicyArgs']]):
|
322
348
|
pulumi.set(self, "password_policy", value)
|
323
349
|
|
350
|
+
@_builtins.property
|
351
|
+
@pulumi.getter(name="passwordWoVersion")
|
352
|
+
def password_wo_version(self) -> Optional[pulumi.Input[_builtins.int]]:
|
353
|
+
"""
|
354
|
+
The version of the password_wo. For more info see [updating write-only attributes](https://www.terraform.io/docs/providers/google/guides/using_write_only_attributes.html#updating-write-only-attributes).
|
355
|
+
|
356
|
+
- - -
|
357
|
+
"""
|
358
|
+
return pulumi.get(self, "password_wo_version")
|
359
|
+
|
360
|
+
@password_wo_version.setter
|
361
|
+
def password_wo_version(self, value: Optional[pulumi.Input[_builtins.int]]):
|
362
|
+
pulumi.set(self, "password_wo_version", value)
|
363
|
+
|
324
364
|
@_builtins.property
|
325
365
|
@pulumi.getter
|
326
366
|
def project(self) -> Optional[pulumi.Input[_builtins.str]]:
|
@@ -373,6 +413,7 @@ class User(pulumi.CustomResource):
|
|
373
413
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
374
414
|
password: Optional[pulumi.Input[_builtins.str]] = None,
|
375
415
|
password_policy: Optional[pulumi.Input[Union['UserPasswordPolicyArgs', 'UserPasswordPolicyArgsDict']]] = None,
|
416
|
+
password_wo_version: Optional[pulumi.Input[_builtins.int]] = None,
|
376
417
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
377
418
|
type: Optional[pulumi.Input[_builtins.str]] = None,
|
378
419
|
__props__=None):
|
@@ -508,6 +549,9 @@ class User(pulumi.CustomResource):
|
|
508
549
|
instances this is a Required field, unless type is set to either CLOUD_IAM_USER
|
509
550
|
or CLOUD_IAM_SERVICE_ACCOUNT. Don't set this field for CLOUD_IAM_USER
|
510
551
|
and CLOUD_IAM_SERVICE_ACCOUNT user types for any Cloud SQL instance.
|
552
|
+
:param pulumi.Input[_builtins.int] password_wo_version: The version of the password_wo. For more info see [updating write-only attributes](https://www.terraform.io/docs/providers/google/guides/using_write_only_attributes.html#updating-write-only-attributes).
|
553
|
+
|
554
|
+
- - -
|
511
555
|
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs. If it
|
512
556
|
is not provided, the provider project is used.
|
513
557
|
:param pulumi.Input[_builtins.str] type: The user type. It determines the method to authenticate the
|
@@ -658,6 +702,7 @@ class User(pulumi.CustomResource):
|
|
658
702
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
659
703
|
password: Optional[pulumi.Input[_builtins.str]] = None,
|
660
704
|
password_policy: Optional[pulumi.Input[Union['UserPasswordPolicyArgs', 'UserPasswordPolicyArgsDict']]] = None,
|
705
|
+
password_wo_version: Optional[pulumi.Input[_builtins.int]] = None,
|
661
706
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
662
707
|
type: Optional[pulumi.Input[_builtins.str]] = None,
|
663
708
|
__props__=None):
|
@@ -677,6 +722,7 @@ class User(pulumi.CustomResource):
|
|
677
722
|
__props__.__dict__["name"] = name
|
678
723
|
__props__.__dict__["password"] = None if password is None else pulumi.Output.secret(password)
|
679
724
|
__props__.__dict__["password_policy"] = password_policy
|
725
|
+
__props__.__dict__["password_wo_version"] = password_wo_version
|
680
726
|
__props__.__dict__["project"] = project
|
681
727
|
__props__.__dict__["type"] = type
|
682
728
|
__props__.__dict__["sql_server_user_details"] = None
|
@@ -698,6 +744,7 @@ class User(pulumi.CustomResource):
|
|
698
744
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
699
745
|
password: Optional[pulumi.Input[_builtins.str]] = None,
|
700
746
|
password_policy: Optional[pulumi.Input[Union['UserPasswordPolicyArgs', 'UserPasswordPolicyArgsDict']]] = None,
|
747
|
+
password_wo_version: Optional[pulumi.Input[_builtins.int]] = None,
|
701
748
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
702
749
|
sql_server_user_details: Optional[pulumi.Input[Sequence[pulumi.Input[Union['UserSqlServerUserDetailArgs', 'UserSqlServerUserDetailArgsDict']]]]] = None,
|
703
750
|
type: Optional[pulumi.Input[_builtins.str]] = None) -> 'User':
|
@@ -724,6 +771,9 @@ class User(pulumi.CustomResource):
|
|
724
771
|
instances this is a Required field, unless type is set to either CLOUD_IAM_USER
|
725
772
|
or CLOUD_IAM_SERVICE_ACCOUNT. Don't set this field for CLOUD_IAM_USER
|
726
773
|
and CLOUD_IAM_SERVICE_ACCOUNT user types for any Cloud SQL instance.
|
774
|
+
:param pulumi.Input[_builtins.int] password_wo_version: The version of the password_wo. For more info see [updating write-only attributes](https://www.terraform.io/docs/providers/google/guides/using_write_only_attributes.html#updating-write-only-attributes).
|
775
|
+
|
776
|
+
- - -
|
727
777
|
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs. If it
|
728
778
|
is not provided, the provider project is used.
|
729
779
|
:param pulumi.Input[_builtins.str] type: The user type. It determines the method to authenticate the
|
@@ -743,6 +793,7 @@ class User(pulumi.CustomResource):
|
|
743
793
|
__props__.__dict__["name"] = name
|
744
794
|
__props__.__dict__["password"] = password
|
745
795
|
__props__.__dict__["password_policy"] = password_policy
|
796
|
+
__props__.__dict__["password_wo_version"] = password_wo_version
|
746
797
|
__props__.__dict__["project"] = project
|
747
798
|
__props__.__dict__["sql_server_user_details"] = sql_server_user_details
|
748
799
|
__props__.__dict__["type"] = type
|
@@ -804,6 +855,16 @@ class User(pulumi.CustomResource):
|
|
804
855
|
def password_policy(self) -> pulumi.Output[Optional['outputs.UserPasswordPolicy']]:
|
805
856
|
return pulumi.get(self, "password_policy")
|
806
857
|
|
858
|
+
@_builtins.property
|
859
|
+
@pulumi.getter(name="passwordWoVersion")
|
860
|
+
def password_wo_version(self) -> pulumi.Output[Optional[_builtins.int]]:
|
861
|
+
"""
|
862
|
+
The version of the password_wo. For more info see [updating write-only attributes](https://www.terraform.io/docs/providers/google/guides/using_write_only_attributes.html#updating-write-only-attributes).
|
863
|
+
|
864
|
+
- - -
|
865
|
+
"""
|
866
|
+
return pulumi.get(self, "password_wo_version")
|
867
|
+
|
807
868
|
@_builtins.property
|
808
869
|
@pulumi.getter
|
809
870
|
def project(self) -> pulumi.Output[_builtins.str]:
|
pulumi_gcp/storage/_inputs.py
CHANGED
@@ -1870,9 +1870,9 @@ class BucketObjectRetentionArgs:
|
|
1870
1870
|
|
1871
1871
|
if not MYPY:
|
1872
1872
|
class BucketRetentionPolicyArgsDict(TypedDict):
|
1873
|
-
retention_period: pulumi.Input[_builtins.
|
1873
|
+
retention_period: pulumi.Input[_builtins.str]
|
1874
1874
|
"""
|
1875
|
-
The period of time, in seconds, that objects in the bucket must be retained and cannot be deleted, overwritten, or archived. The value must be less than
|
1875
|
+
The period of time, in seconds, that objects in the bucket must be retained and cannot be deleted, overwritten, or archived. The value must be less than 3,155,760,000 seconds.
|
1876
1876
|
"""
|
1877
1877
|
is_locked: NotRequired[pulumi.Input[_builtins.bool]]
|
1878
1878
|
"""
|
@@ -1884,10 +1884,10 @@ elif False:
|
|
1884
1884
|
@pulumi.input_type
|
1885
1885
|
class BucketRetentionPolicyArgs:
|
1886
1886
|
def __init__(__self__, *,
|
1887
|
-
retention_period: pulumi.Input[_builtins.
|
1887
|
+
retention_period: pulumi.Input[_builtins.str],
|
1888
1888
|
is_locked: Optional[pulumi.Input[_builtins.bool]] = None):
|
1889
1889
|
"""
|
1890
|
-
:param pulumi.Input[_builtins.
|
1890
|
+
:param pulumi.Input[_builtins.str] retention_period: The period of time, in seconds, that objects in the bucket must be retained and cannot be deleted, overwritten, or archived. The value must be less than 3,155,760,000 seconds.
|
1891
1891
|
:param pulumi.Input[_builtins.bool] is_locked: If set to `true`, the bucket will be [locked](https://cloud.google.com/storage/docs/using-bucket-lock#lock-bucket) and permanently restrict edits to the bucket's retention policy. Caution: Locking a bucket is an irreversible action.
|
1892
1892
|
"""
|
1893
1893
|
pulumi.set(__self__, "retention_period", retention_period)
|
@@ -1896,14 +1896,14 @@ class BucketRetentionPolicyArgs:
|
|
1896
1896
|
|
1897
1897
|
@_builtins.property
|
1898
1898
|
@pulumi.getter(name="retentionPeriod")
|
1899
|
-
def retention_period(self) -> pulumi.Input[_builtins.
|
1899
|
+
def retention_period(self) -> pulumi.Input[_builtins.str]:
|
1900
1900
|
"""
|
1901
|
-
The period of time, in seconds, that objects in the bucket must be retained and cannot be deleted, overwritten, or archived. The value must be less than
|
1901
|
+
The period of time, in seconds, that objects in the bucket must be retained and cannot be deleted, overwritten, or archived. The value must be less than 3,155,760,000 seconds.
|
1902
1902
|
"""
|
1903
1903
|
return pulumi.get(self, "retention_period")
|
1904
1904
|
|
1905
1905
|
@retention_period.setter
|
1906
|
-
def retention_period(self, value: pulumi.Input[_builtins.
|
1906
|
+
def retention_period(self, value: pulumi.Input[_builtins.str]):
|
1907
1907
|
pulumi.set(self, "retention_period", value)
|
1908
1908
|
|
1909
1909
|
@_builtins.property
|
pulumi_gcp/storage/bucket.py
CHANGED
@@ -71,7 +71,8 @@ class BucketArgs:
|
|
71
71
|
:param pulumi.Input[_builtins.bool] requester_pays: Enables [Requester Pays](https://cloud.google.com/storage/docs/requester-pays) on a storage bucket.
|
72
72
|
:param pulumi.Input['BucketRetentionPolicyArgs'] retention_policy: Configuration of the bucket's data retention policy for how long objects in the bucket should be retained. Structure is documented below.
|
73
73
|
:param pulumi.Input[_builtins.str] rpo: The recovery point objective for cross-region replication of the bucket. Applicable only for dual and multi-region buckets. `"DEFAULT"` sets default replication. `"ASYNC_TURBO"` value enables turbo replication, valid for dual-region buckets only. See [Turbo Replication](https://cloud.google.com/storage/docs/managing-turbo-replication) for more information. If rpo is not specified at bucket creation, it defaults to `"DEFAULT"` for dual and multi-region buckets. **NOTE** If used with single-region bucket, It will throw an error.
|
74
|
-
:param pulumi.Input['BucketSoftDeletePolicyArgs'] soft_delete_policy: The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot
|
74
|
+
:param pulumi.Input['BucketSoftDeletePolicyArgs'] soft_delete_policy: The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot
|
75
|
+
be permanently deleted. If it is not provided, by default Google Cloud Storage sets this to default soft delete policy
|
75
76
|
:param pulumi.Input[_builtins.str] storage_class: The [Storage Class](https://cloud.google.com/storage/docs/storage-classes) of the new bucket. Supported values include: `STANDARD`, `MULTI_REGIONAL`, `REGIONAL`, `NEARLINE`, `COLDLINE`, `ARCHIVE`.
|
76
77
|
:param pulumi.Input[_builtins.bool] uniform_bucket_level_access: Enables [Uniform bucket-level access](https://cloud.google.com/storage/docs/uniform-bucket-level-access) access to a bucket.
|
77
78
|
:param pulumi.Input['BucketVersioningArgs'] versioning: The bucket's [Versioning](https://cloud.google.com/storage/docs/object-versioning) configuration. Structure is documented below.
|
@@ -362,7 +363,8 @@ class BucketArgs:
|
|
362
363
|
@pulumi.getter(name="softDeletePolicy")
|
363
364
|
def soft_delete_policy(self) -> Optional[pulumi.Input['BucketSoftDeletePolicyArgs']]:
|
364
365
|
"""
|
365
|
-
The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot
|
366
|
+
The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot
|
367
|
+
be permanently deleted. If it is not provided, by default Google Cloud Storage sets this to default soft delete policy
|
366
368
|
"""
|
367
369
|
return pulumi.get(self, "soft_delete_policy")
|
368
370
|
|
@@ -482,7 +484,8 @@ class _BucketState:
|
|
482
484
|
:param pulumi.Input['BucketRetentionPolicyArgs'] retention_policy: Configuration of the bucket's data retention policy for how long objects in the bucket should be retained. Structure is documented below.
|
483
485
|
:param pulumi.Input[_builtins.str] rpo: The recovery point objective for cross-region replication of the bucket. Applicable only for dual and multi-region buckets. `"DEFAULT"` sets default replication. `"ASYNC_TURBO"` value enables turbo replication, valid for dual-region buckets only. See [Turbo Replication](https://cloud.google.com/storage/docs/managing-turbo-replication) for more information. If rpo is not specified at bucket creation, it defaults to `"DEFAULT"` for dual and multi-region buckets. **NOTE** If used with single-region bucket, It will throw an error.
|
484
486
|
:param pulumi.Input[_builtins.str] self_link: The URI of the created resource.
|
485
|
-
:param pulumi.Input['BucketSoftDeletePolicyArgs'] soft_delete_policy: The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot
|
487
|
+
:param pulumi.Input['BucketSoftDeletePolicyArgs'] soft_delete_policy: The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot
|
488
|
+
be permanently deleted. If it is not provided, by default Google Cloud Storage sets this to default soft delete policy
|
486
489
|
:param pulumi.Input[_builtins.str] storage_class: The [Storage Class](https://cloud.google.com/storage/docs/storage-classes) of the new bucket. Supported values include: `STANDARD`, `MULTI_REGIONAL`, `REGIONAL`, `NEARLINE`, `COLDLINE`, `ARCHIVE`.
|
487
490
|
:param pulumi.Input[_builtins.str] time_created: The creation time of the bucket in RFC 3339 format.
|
488
491
|
:param pulumi.Input[_builtins.bool] uniform_bucket_level_access: Enables [Uniform bucket-level access](https://cloud.google.com/storage/docs/uniform-bucket-level-access) access to a bucket.
|
@@ -836,7 +839,8 @@ class _BucketState:
|
|
836
839
|
@pulumi.getter(name="softDeletePolicy")
|
837
840
|
def soft_delete_policy(self) -> Optional[pulumi.Input['BucketSoftDeletePolicyArgs']]:
|
838
841
|
"""
|
839
|
-
The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot
|
842
|
+
The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot
|
843
|
+
be permanently deleted. If it is not provided, by default Google Cloud Storage sets this to default soft delete policy
|
840
844
|
"""
|
841
845
|
return pulumi.get(self, "soft_delete_policy")
|
842
846
|
|
@@ -1139,7 +1143,8 @@ class Bucket(pulumi.CustomResource):
|
|
1139
1143
|
:param pulumi.Input[_builtins.bool] requester_pays: Enables [Requester Pays](https://cloud.google.com/storage/docs/requester-pays) on a storage bucket.
|
1140
1144
|
:param pulumi.Input[Union['BucketRetentionPolicyArgs', 'BucketRetentionPolicyArgsDict']] retention_policy: Configuration of the bucket's data retention policy for how long objects in the bucket should be retained. Structure is documented below.
|
1141
1145
|
:param pulumi.Input[_builtins.str] rpo: The recovery point objective for cross-region replication of the bucket. Applicable only for dual and multi-region buckets. `"DEFAULT"` sets default replication. `"ASYNC_TURBO"` value enables turbo replication, valid for dual-region buckets only. See [Turbo Replication](https://cloud.google.com/storage/docs/managing-turbo-replication) for more information. If rpo is not specified at bucket creation, it defaults to `"DEFAULT"` for dual and multi-region buckets. **NOTE** If used with single-region bucket, It will throw an error.
|
1142
|
-
:param pulumi.Input[Union['BucketSoftDeletePolicyArgs', 'BucketSoftDeletePolicyArgsDict']] soft_delete_policy: The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot
|
1146
|
+
:param pulumi.Input[Union['BucketSoftDeletePolicyArgs', 'BucketSoftDeletePolicyArgsDict']] soft_delete_policy: The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot
|
1147
|
+
be permanently deleted. If it is not provided, by default Google Cloud Storage sets this to default soft delete policy
|
1143
1148
|
:param pulumi.Input[_builtins.str] storage_class: The [Storage Class](https://cloud.google.com/storage/docs/storage-classes) of the new bucket. Supported values include: `STANDARD`, `MULTI_REGIONAL`, `REGIONAL`, `NEARLINE`, `COLDLINE`, `ARCHIVE`.
|
1144
1149
|
:param pulumi.Input[_builtins.bool] uniform_bucket_level_access: Enables [Uniform bucket-level access](https://cloud.google.com/storage/docs/uniform-bucket-level-access) access to a bucket.
|
1145
1150
|
:param pulumi.Input[Union['BucketVersioningArgs', 'BucketVersioningArgsDict']] versioning: The bucket's [Versioning](https://cloud.google.com/storage/docs/object-versioning) configuration. Structure is documented below.
|
@@ -1462,7 +1467,8 @@ class Bucket(pulumi.CustomResource):
|
|
1462
1467
|
:param pulumi.Input[Union['BucketRetentionPolicyArgs', 'BucketRetentionPolicyArgsDict']] retention_policy: Configuration of the bucket's data retention policy for how long objects in the bucket should be retained. Structure is documented below.
|
1463
1468
|
:param pulumi.Input[_builtins.str] rpo: The recovery point objective for cross-region replication of the bucket. Applicable only for dual and multi-region buckets. `"DEFAULT"` sets default replication. `"ASYNC_TURBO"` value enables turbo replication, valid for dual-region buckets only. See [Turbo Replication](https://cloud.google.com/storage/docs/managing-turbo-replication) for more information. If rpo is not specified at bucket creation, it defaults to `"DEFAULT"` for dual and multi-region buckets. **NOTE** If used with single-region bucket, It will throw an error.
|
1464
1469
|
:param pulumi.Input[_builtins.str] self_link: The URI of the created resource.
|
1465
|
-
:param pulumi.Input[Union['BucketSoftDeletePolicyArgs', 'BucketSoftDeletePolicyArgsDict']] soft_delete_policy: The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot
|
1470
|
+
:param pulumi.Input[Union['BucketSoftDeletePolicyArgs', 'BucketSoftDeletePolicyArgsDict']] soft_delete_policy: The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot
|
1471
|
+
be permanently deleted. If it is not provided, by default Google Cloud Storage sets this to default soft delete policy
|
1466
1472
|
:param pulumi.Input[_builtins.str] storage_class: The [Storage Class](https://cloud.google.com/storage/docs/storage-classes) of the new bucket. Supported values include: `STANDARD`, `MULTI_REGIONAL`, `REGIONAL`, `NEARLINE`, `COLDLINE`, `ARCHIVE`.
|
1467
1473
|
:param pulumi.Input[_builtins.str] time_created: The creation time of the bucket in RFC 3339 format.
|
1468
1474
|
:param pulumi.Input[_builtins.bool] uniform_bucket_level_access: Enables [Uniform bucket-level access](https://cloud.google.com/storage/docs/uniform-bucket-level-access) access to a bucket.
|
@@ -1698,7 +1704,8 @@ class Bucket(pulumi.CustomResource):
|
|
1698
1704
|
@pulumi.getter(name="softDeletePolicy")
|
1699
1705
|
def soft_delete_policy(self) -> pulumi.Output['outputs.BucketSoftDeletePolicy']:
|
1700
1706
|
"""
|
1701
|
-
The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot
|
1707
|
+
The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot
|
1708
|
+
be permanently deleted. If it is not provided, by default Google Cloud Storage sets this to default soft delete policy
|
1702
1709
|
"""
|
1703
1710
|
return pulumi.get(self, "soft_delete_policy")
|
1704
1711
|
|
pulumi_gcp/storage/outputs.py
CHANGED
@@ -1549,10 +1549,10 @@ class BucketRetentionPolicy(dict):
|
|
1549
1549
|
return super().get(key, default)
|
1550
1550
|
|
1551
1551
|
def __init__(__self__, *,
|
1552
|
-
retention_period: _builtins.
|
1552
|
+
retention_period: _builtins.str,
|
1553
1553
|
is_locked: Optional[_builtins.bool] = None):
|
1554
1554
|
"""
|
1555
|
-
:param _builtins.
|
1555
|
+
:param _builtins.str retention_period: The period of time, in seconds, that objects in the bucket must be retained and cannot be deleted, overwritten, or archived. The value must be less than 3,155,760,000 seconds.
|
1556
1556
|
:param _builtins.bool is_locked: If set to `true`, the bucket will be [locked](https://cloud.google.com/storage/docs/using-bucket-lock#lock-bucket) and permanently restrict edits to the bucket's retention policy. Caution: Locking a bucket is an irreversible action.
|
1557
1557
|
"""
|
1558
1558
|
pulumi.set(__self__, "retention_period", retention_period)
|
@@ -1561,9 +1561,9 @@ class BucketRetentionPolicy(dict):
|
|
1561
1561
|
|
1562
1562
|
@_builtins.property
|
1563
1563
|
@pulumi.getter(name="retentionPeriod")
|
1564
|
-
def retention_period(self) -> _builtins.
|
1564
|
+
def retention_period(self) -> _builtins.str:
|
1565
1565
|
"""
|
1566
|
-
The period of time, in seconds, that objects in the bucket must be retained and cannot be deleted, overwritten, or archived. The value must be less than
|
1566
|
+
The period of time, in seconds, that objects in the bucket must be retained and cannot be deleted, overwritten, or archived. The value must be less than 3,155,760,000 seconds.
|
1567
1567
|
"""
|
1568
1568
|
return pulumi.get(self, "retention_period")
|
1569
1569
|
|
@@ -6141,10 +6141,10 @@ class GetBucketObjectsBucketObjectResult(dict):
|
|
6141
6141
|
class GetBucketRetentionPolicyResult(dict):
|
6142
6142
|
def __init__(__self__, *,
|
6143
6143
|
is_locked: _builtins.bool,
|
6144
|
-
retention_period: _builtins.
|
6144
|
+
retention_period: _builtins.str):
|
6145
6145
|
"""
|
6146
6146
|
:param _builtins.bool is_locked: If set to true, the bucket will be locked and permanently restrict edits to the bucket's retention policy. Caution: Locking a bucket is an irreversible action.
|
6147
|
-
:param _builtins.
|
6147
|
+
:param _builtins.str retention_period: The period of time, in seconds, that objects in the bucket must be retained and cannot be deleted, overwritten, or archived. The value must be less than 3,155,760,000 seconds.
|
6148
6148
|
"""
|
6149
6149
|
pulumi.set(__self__, "is_locked", is_locked)
|
6150
6150
|
pulumi.set(__self__, "retention_period", retention_period)
|
@@ -6159,7 +6159,7 @@ class GetBucketRetentionPolicyResult(dict):
|
|
6159
6159
|
|
6160
6160
|
@_builtins.property
|
6161
6161
|
@pulumi.getter(name="retentionPeriod")
|
6162
|
-
def retention_period(self) -> _builtins.
|
6162
|
+
def retention_period(self) -> _builtins.str:
|
6163
6163
|
"""
|
6164
6164
|
The period of time, in seconds, that objects in the bucket must be retained and cannot be deleted, overwritten, or archived. The value must be less than 3,155,760,000 seconds.
|
6165
6165
|
"""
|
pulumi_gcp/tpu/__init__.py
CHANGED
@@ -6,10 +6,8 @@ import builtins as _builtins
|
|
6
6
|
from .. import _utilities
|
7
7
|
import typing
|
8
8
|
# Export this package's modules as members:
|
9
|
-
from .get_tensorflow_versions import *
|
10
9
|
from .get_v2_accelerator_types import *
|
11
10
|
from .get_v2_runtime_versions import *
|
12
|
-
from .node import *
|
13
11
|
from .v2_queued_resource import *
|
14
12
|
from .v2_vm import *
|
15
13
|
from ._inputs import *
|
pulumi_gcp/tpu/_inputs.py
CHANGED
@@ -15,10 +15,6 @@ else:
|
|
15
15
|
from .. import _utilities
|
16
16
|
|
17
17
|
__all__ = [
|
18
|
-
'NodeNetworkEndpointArgs',
|
19
|
-
'NodeNetworkEndpointArgsDict',
|
20
|
-
'NodeSchedulingConfigArgs',
|
21
|
-
'NodeSchedulingConfigArgsDict',
|
22
18
|
'V2QueuedResourceTpuArgs',
|
23
19
|
'V2QueuedResourceTpuArgsDict',
|
24
20
|
'V2QueuedResourceTpuNodeSpecArgs',
|
@@ -49,95 +45,6 @@ __all__ = [
|
|
49
45
|
|
50
46
|
MYPY = False
|
51
47
|
|
52
|
-
if not MYPY:
|
53
|
-
class NodeNetworkEndpointArgsDict(TypedDict):
|
54
|
-
ip_address: NotRequired[pulumi.Input[_builtins.str]]
|
55
|
-
"""
|
56
|
-
(Output)
|
57
|
-
The IP address of this network endpoint.
|
58
|
-
"""
|
59
|
-
port: NotRequired[pulumi.Input[_builtins.int]]
|
60
|
-
"""
|
61
|
-
(Output)
|
62
|
-
The port of this network endpoint.
|
63
|
-
"""
|
64
|
-
elif False:
|
65
|
-
NodeNetworkEndpointArgsDict: TypeAlias = Mapping[str, Any]
|
66
|
-
|
67
|
-
@pulumi.input_type
|
68
|
-
class NodeNetworkEndpointArgs:
|
69
|
-
def __init__(__self__, *,
|
70
|
-
ip_address: Optional[pulumi.Input[_builtins.str]] = None,
|
71
|
-
port: Optional[pulumi.Input[_builtins.int]] = None):
|
72
|
-
"""
|
73
|
-
:param pulumi.Input[_builtins.str] ip_address: (Output)
|
74
|
-
The IP address of this network endpoint.
|
75
|
-
:param pulumi.Input[_builtins.int] port: (Output)
|
76
|
-
The port of this network endpoint.
|
77
|
-
"""
|
78
|
-
if ip_address is not None:
|
79
|
-
pulumi.set(__self__, "ip_address", ip_address)
|
80
|
-
if port is not None:
|
81
|
-
pulumi.set(__self__, "port", port)
|
82
|
-
|
83
|
-
@_builtins.property
|
84
|
-
@pulumi.getter(name="ipAddress")
|
85
|
-
def ip_address(self) -> Optional[pulumi.Input[_builtins.str]]:
|
86
|
-
"""
|
87
|
-
(Output)
|
88
|
-
The IP address of this network endpoint.
|
89
|
-
"""
|
90
|
-
return pulumi.get(self, "ip_address")
|
91
|
-
|
92
|
-
@ip_address.setter
|
93
|
-
def ip_address(self, value: Optional[pulumi.Input[_builtins.str]]):
|
94
|
-
pulumi.set(self, "ip_address", value)
|
95
|
-
|
96
|
-
@_builtins.property
|
97
|
-
@pulumi.getter
|
98
|
-
def port(self) -> Optional[pulumi.Input[_builtins.int]]:
|
99
|
-
"""
|
100
|
-
(Output)
|
101
|
-
The port of this network endpoint.
|
102
|
-
"""
|
103
|
-
return pulumi.get(self, "port")
|
104
|
-
|
105
|
-
@port.setter
|
106
|
-
def port(self, value: Optional[pulumi.Input[_builtins.int]]):
|
107
|
-
pulumi.set(self, "port", value)
|
108
|
-
|
109
|
-
|
110
|
-
if not MYPY:
|
111
|
-
class NodeSchedulingConfigArgsDict(TypedDict):
|
112
|
-
preemptible: pulumi.Input[_builtins.bool]
|
113
|
-
"""
|
114
|
-
Defines whether the TPU instance is preemptible.
|
115
|
-
"""
|
116
|
-
elif False:
|
117
|
-
NodeSchedulingConfigArgsDict: TypeAlias = Mapping[str, Any]
|
118
|
-
|
119
|
-
@pulumi.input_type
|
120
|
-
class NodeSchedulingConfigArgs:
|
121
|
-
def __init__(__self__, *,
|
122
|
-
preemptible: pulumi.Input[_builtins.bool]):
|
123
|
-
"""
|
124
|
-
:param pulumi.Input[_builtins.bool] preemptible: Defines whether the TPU instance is preemptible.
|
125
|
-
"""
|
126
|
-
pulumi.set(__self__, "preemptible", preemptible)
|
127
|
-
|
128
|
-
@_builtins.property
|
129
|
-
@pulumi.getter
|
130
|
-
def preemptible(self) -> pulumi.Input[_builtins.bool]:
|
131
|
-
"""
|
132
|
-
Defines whether the TPU instance is preemptible.
|
133
|
-
"""
|
134
|
-
return pulumi.get(self, "preemptible")
|
135
|
-
|
136
|
-
@preemptible.setter
|
137
|
-
def preemptible(self, value: pulumi.Input[_builtins.bool]):
|
138
|
-
pulumi.set(self, "preemptible", value)
|
139
|
-
|
140
|
-
|
141
48
|
if not MYPY:
|
142
49
|
class V2QueuedResourceTpuArgsDict(TypedDict):
|
143
50
|
node_specs: NotRequired[pulumi.Input[Sequence[pulumi.Input['V2QueuedResourceTpuNodeSpecArgsDict']]]]
|
pulumi_gcp/tpu/outputs.py
CHANGED
@@ -16,8 +16,6 @@ from .. import _utilities
|
|
16
16
|
from . import outputs
|
17
17
|
|
18
18
|
__all__ = [
|
19
|
-
'NodeNetworkEndpoint',
|
20
|
-
'NodeSchedulingConfig',
|
21
19
|
'V2QueuedResourceTpu',
|
22
20
|
'V2QueuedResourceTpuNodeSpec',
|
23
21
|
'V2QueuedResourceTpuNodeSpecNode',
|
@@ -33,76 +31,6 @@ __all__ = [
|
|
33
31
|
'V2VmSymptom',
|
34
32
|
]
|
35
33
|
|
36
|
-
@pulumi.output_type
|
37
|
-
class NodeNetworkEndpoint(dict):
|
38
|
-
@staticmethod
|
39
|
-
def __key_warning(key: str):
|
40
|
-
suggest = None
|
41
|
-
if key == "ipAddress":
|
42
|
-
suggest = "ip_address"
|
43
|
-
|
44
|
-
if suggest:
|
45
|
-
pulumi.log.warn(f"Key '{key}' not found in NodeNetworkEndpoint. Access the value via the '{suggest}' property getter instead.")
|
46
|
-
|
47
|
-
def __getitem__(self, key: str) -> Any:
|
48
|
-
NodeNetworkEndpoint.__key_warning(key)
|
49
|
-
return super().__getitem__(key)
|
50
|
-
|
51
|
-
def get(self, key: str, default = None) -> Any:
|
52
|
-
NodeNetworkEndpoint.__key_warning(key)
|
53
|
-
return super().get(key, default)
|
54
|
-
|
55
|
-
def __init__(__self__, *,
|
56
|
-
ip_address: Optional[_builtins.str] = None,
|
57
|
-
port: Optional[_builtins.int] = None):
|
58
|
-
"""
|
59
|
-
:param _builtins.str ip_address: (Output)
|
60
|
-
The IP address of this network endpoint.
|
61
|
-
:param _builtins.int port: (Output)
|
62
|
-
The port of this network endpoint.
|
63
|
-
"""
|
64
|
-
if ip_address is not None:
|
65
|
-
pulumi.set(__self__, "ip_address", ip_address)
|
66
|
-
if port is not None:
|
67
|
-
pulumi.set(__self__, "port", port)
|
68
|
-
|
69
|
-
@_builtins.property
|
70
|
-
@pulumi.getter(name="ipAddress")
|
71
|
-
def ip_address(self) -> Optional[_builtins.str]:
|
72
|
-
"""
|
73
|
-
(Output)
|
74
|
-
The IP address of this network endpoint.
|
75
|
-
"""
|
76
|
-
return pulumi.get(self, "ip_address")
|
77
|
-
|
78
|
-
@_builtins.property
|
79
|
-
@pulumi.getter
|
80
|
-
def port(self) -> Optional[_builtins.int]:
|
81
|
-
"""
|
82
|
-
(Output)
|
83
|
-
The port of this network endpoint.
|
84
|
-
"""
|
85
|
-
return pulumi.get(self, "port")
|
86
|
-
|
87
|
-
|
88
|
-
@pulumi.output_type
|
89
|
-
class NodeSchedulingConfig(dict):
|
90
|
-
def __init__(__self__, *,
|
91
|
-
preemptible: _builtins.bool):
|
92
|
-
"""
|
93
|
-
:param _builtins.bool preemptible: Defines whether the TPU instance is preemptible.
|
94
|
-
"""
|
95
|
-
pulumi.set(__self__, "preemptible", preemptible)
|
96
|
-
|
97
|
-
@_builtins.property
|
98
|
-
@pulumi.getter
|
99
|
-
def preemptible(self) -> _builtins.bool:
|
100
|
-
"""
|
101
|
-
Defines whether the TPU instance is preemptible.
|
102
|
-
"""
|
103
|
-
return pulumi.get(self, "preemptible")
|
104
|
-
|
105
|
-
|
106
34
|
@pulumi.output_type
|
107
35
|
class V2QueuedResourceTpu(dict):
|
108
36
|
@staticmethod
|
pulumi_gcp/vertex/_inputs.py
CHANGED
@@ -7367,7 +7367,7 @@ class AiIndexIndexStatArgs:
|
|
7367
7367
|
|
7368
7368
|
if not MYPY:
|
7369
7369
|
class AiIndexMetadataArgsDict(TypedDict):
|
7370
|
-
config:
|
7370
|
+
config: pulumi.Input['AiIndexMetadataConfigArgsDict']
|
7371
7371
|
"""
|
7372
7372
|
The configuration of the Matching Engine Index.
|
7373
7373
|
Structure is documented below.
|
@@ -7392,7 +7392,7 @@ elif False:
|
|
7392
7392
|
@pulumi.input_type
|
7393
7393
|
class AiIndexMetadataArgs:
|
7394
7394
|
def __init__(__self__, *,
|
7395
|
-
config:
|
7395
|
+
config: pulumi.Input['AiIndexMetadataConfigArgs'],
|
7396
7396
|
contents_delta_uri: Optional[pulumi.Input[_builtins.str]] = None,
|
7397
7397
|
is_complete_overwrite: Optional[pulumi.Input[_builtins.bool]] = None):
|
7398
7398
|
"""
|
@@ -7407,8 +7407,7 @@ class AiIndexMetadataArgs:
|
|
7407
7407
|
:param pulumi.Input[_builtins.bool] is_complete_overwrite: If this field is set together with contentsDeltaUri when calling IndexService.UpdateIndex,
|
7408
7408
|
then existing content of the Index will be replaced by the data from the contentsDeltaUri.
|
7409
7409
|
"""
|
7410
|
-
|
7411
|
-
pulumi.set(__self__, "config", config)
|
7410
|
+
pulumi.set(__self__, "config", config)
|
7412
7411
|
if contents_delta_uri is not None:
|
7413
7412
|
pulumi.set(__self__, "contents_delta_uri", contents_delta_uri)
|
7414
7413
|
if is_complete_overwrite is not None:
|
@@ -7416,7 +7415,7 @@ class AiIndexMetadataArgs:
|
|
7416
7415
|
|
7417
7416
|
@_builtins.property
|
7418
7417
|
@pulumi.getter
|
7419
|
-
def config(self) ->
|
7418
|
+
def config(self) -> pulumi.Input['AiIndexMetadataConfigArgs']:
|
7420
7419
|
"""
|
7421
7420
|
The configuration of the Matching Engine Index.
|
7422
7421
|
Structure is documented below.
|
@@ -7424,7 +7423,7 @@ class AiIndexMetadataArgs:
|
|
7424
7423
|
return pulumi.get(self, "config")
|
7425
7424
|
|
7426
7425
|
@config.setter
|
7427
|
-
def config(self, value:
|
7426
|
+
def config(self, value: pulumi.Input['AiIndexMetadataConfigArgs']):
|
7428
7427
|
pulumi.set(self, "config", value)
|
7429
7428
|
|
7430
7429
|
@_builtins.property
|
@@ -7466,7 +7465,7 @@ if not MYPY:
|
|
7466
7465
|
"""
|
7467
7466
|
algorithm_config: NotRequired[pulumi.Input['AiIndexMetadataConfigAlgorithmConfigArgsDict']]
|
7468
7467
|
"""
|
7469
|
-
The configuration with regard to the algorithms used for efficient search.
|
7468
|
+
The configuration with regard to the algorithms used for efficient search. This field may be required based on your configuration.
|
7470
7469
|
Structure is documented below.
|
7471
7470
|
"""
|
7472
7471
|
approximate_neighbors_count: NotRequired[pulumi.Input[_builtins.int]]
|
@@ -7512,7 +7511,7 @@ class AiIndexMetadataConfigArgs:
|
|
7512
7511
|
shard_size: Optional[pulumi.Input[_builtins.str]] = None):
|
7513
7512
|
"""
|
7514
7513
|
:param pulumi.Input[_builtins.int] dimensions: The number of dimensions of the input vectors.
|
7515
|
-
:param pulumi.Input['AiIndexMetadataConfigAlgorithmConfigArgs'] algorithm_config: The configuration with regard to the algorithms used for efficient search.
|
7514
|
+
:param pulumi.Input['AiIndexMetadataConfigAlgorithmConfigArgs'] algorithm_config: The configuration with regard to the algorithms used for efficient search. This field may be required based on your configuration.
|
7516
7515
|
Structure is documented below.
|
7517
7516
|
:param pulumi.Input[_builtins.int] approximate_neighbors_count: The default number of neighbors to find via approximate search before exact reordering is
|
7518
7517
|
performed. Exact reordering is a procedure where results returned by an
|
@@ -7560,7 +7559,7 @@ class AiIndexMetadataConfigArgs:
|
|
7560
7559
|
@pulumi.getter(name="algorithmConfig")
|
7561
7560
|
def algorithm_config(self) -> Optional[pulumi.Input['AiIndexMetadataConfigAlgorithmConfigArgs']]:
|
7562
7561
|
"""
|
7563
|
-
The configuration with regard to the algorithms used for efficient search.
|
7562
|
+
The configuration with regard to the algorithms used for efficient search. This field may be required based on your configuration.
|
7564
7563
|
Structure is documented below.
|
7565
7564
|
"""
|
7566
7565
|
return pulumi.get(self, "algorithm_config")
|
pulumi_gcp/vertex/ai_endpoint.py
CHANGED
@@ -651,7 +651,7 @@ class AiEndpoint(pulumi.CustomResource):
|
|
651
651
|
|
652
652
|
To get more information about Endpoint, see:
|
653
653
|
|
654
|
-
* [API documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/
|
654
|
+
* [API documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1/projects.locations.endpoints)
|
655
655
|
* How-to Guides
|
656
656
|
* [Official Documentation](https://cloud.google.com/vertex-ai/docs)
|
657
657
|
|
@@ -730,7 +730,6 @@ class AiEndpoint(pulumi.CustomResource):
|
|
730
730
|
private_service_connect_config={
|
731
731
|
"enable_private_service_connect": True,
|
732
732
|
"project_allowlists": [project.project_id],
|
733
|
-
"enable_secure_private_service_connect": False,
|
734
733
|
})
|
735
734
|
```
|
736
735
|
### Vertex Ai Endpoint Dedicated Endpoint
|
@@ -814,7 +813,7 @@ class AiEndpoint(pulumi.CustomResource):
|
|
814
813
|
|
815
814
|
To get more information about Endpoint, see:
|
816
815
|
|
817
|
-
* [API documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/
|
816
|
+
* [API documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1/projects.locations.endpoints)
|
818
817
|
* How-to Guides
|
819
818
|
* [Official Documentation](https://cloud.google.com/vertex-ai/docs)
|
820
819
|
|
@@ -893,7 +892,6 @@ class AiEndpoint(pulumi.CustomResource):
|
|
893
892
|
private_service_connect_config={
|
894
893
|
"enable_private_service_connect": True,
|
895
894
|
"project_allowlists": [project.project_id],
|
896
|
-
"enable_secure_private_service_connect": False,
|
897
895
|
})
|
898
896
|
```
|
899
897
|
### Vertex Ai Endpoint Dedicated Endpoint
|