pulumi-gcp 8.40.0a1754721948__py3-none-any.whl → 8.41.0a1754981061__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.0a1754721948.dist-info → pulumi_gcp-8.41.0a1754981061.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.40.0a1754721948.dist-info → pulumi_gcp-8.41.0a1754981061.dist-info}/RECORD +157 -138
- {pulumi_gcp-8.40.0a1754721948.dist-info → pulumi_gcp-8.41.0a1754981061.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.40.0a1754721948.dist-info → pulumi_gcp-8.41.0a1754981061.dist-info}/top_level.txt +0 -0
@@ -23,6 +23,7 @@ class InstanceArgs:
|
|
23
23
|
def __init__(__self__, *,
|
24
24
|
instance_id: pulumi.Input[_builtins.str],
|
25
25
|
location: pulumi.Input[_builtins.str],
|
26
|
+
deletion_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
26
27
|
kms_key: Optional[pulumi.Input[_builtins.str]] = None,
|
27
28
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
28
29
|
private_config: Optional[pulumi.Input['InstancePrivateConfigArgs']] = None,
|
@@ -32,6 +33,14 @@ class InstanceArgs:
|
|
32
33
|
The set of arguments for constructing a Instance resource.
|
33
34
|
:param pulumi.Input[_builtins.str] instance_id: The name for the Instance.
|
34
35
|
:param pulumi.Input[_builtins.str] location: The location for the Instance.
|
36
|
+
:param pulumi.Input[_builtins.str] deletion_policy: The deletion policy for the instance. Setting `ABANDON` allows the resource
|
37
|
+
to be abandoned, rather than deleted. Setting `DELETE` deletes the resource
|
38
|
+
and all its contents. Setting `PREVENT` prevents the resource from accidental
|
39
|
+
deletion by erroring out during plan.
|
40
|
+
Default is `DELETE`. Possible values are:
|
41
|
+
* DELETE
|
42
|
+
* PREVENT
|
43
|
+
* ABANDON
|
35
44
|
:param pulumi.Input[_builtins.str] kms_key: Customer-managed encryption key name, in the format projects/*/locations/*/keyRings/*/cryptoKeys/*.
|
36
45
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels as key value pairs.
|
37
46
|
|
@@ -47,6 +56,8 @@ class InstanceArgs:
|
|
47
56
|
"""
|
48
57
|
pulumi.set(__self__, "instance_id", instance_id)
|
49
58
|
pulumi.set(__self__, "location", location)
|
59
|
+
if deletion_policy is not None:
|
60
|
+
pulumi.set(__self__, "deletion_policy", deletion_policy)
|
50
61
|
if kms_key is not None:
|
51
62
|
pulumi.set(__self__, "kms_key", kms_key)
|
52
63
|
if labels is not None:
|
@@ -82,6 +93,25 @@ class InstanceArgs:
|
|
82
93
|
def location(self, value: pulumi.Input[_builtins.str]):
|
83
94
|
pulumi.set(self, "location", value)
|
84
95
|
|
96
|
+
@_builtins.property
|
97
|
+
@pulumi.getter(name="deletionPolicy")
|
98
|
+
def deletion_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
99
|
+
"""
|
100
|
+
The deletion policy for the instance. Setting `ABANDON` allows the resource
|
101
|
+
to be abandoned, rather than deleted. Setting `DELETE` deletes the resource
|
102
|
+
and all its contents. Setting `PREVENT` prevents the resource from accidental
|
103
|
+
deletion by erroring out during plan.
|
104
|
+
Default is `DELETE`. Possible values are:
|
105
|
+
* DELETE
|
106
|
+
* PREVENT
|
107
|
+
* ABANDON
|
108
|
+
"""
|
109
|
+
return pulumi.get(self, "deletion_policy")
|
110
|
+
|
111
|
+
@deletion_policy.setter
|
112
|
+
def deletion_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
113
|
+
pulumi.set(self, "deletion_policy", value)
|
114
|
+
|
85
115
|
@_builtins.property
|
86
116
|
@pulumi.getter(name="kmsKey")
|
87
117
|
def kms_key(self) -> Optional[pulumi.Input[_builtins.str]]:
|
@@ -154,6 +184,7 @@ class InstanceArgs:
|
|
154
184
|
class _InstanceState:
|
155
185
|
def __init__(__self__, *,
|
156
186
|
create_time: Optional[pulumi.Input[_builtins.str]] = None,
|
187
|
+
deletion_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
157
188
|
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
158
189
|
host_configs: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceHostConfigArgs']]]] = None,
|
159
190
|
instance_id: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -171,6 +202,14 @@ class _InstanceState:
|
|
171
202
|
"""
|
172
203
|
Input properties used for looking up and filtering Instance resources.
|
173
204
|
:param pulumi.Input[_builtins.str] create_time: Time the Instance was created in UTC.
|
205
|
+
:param pulumi.Input[_builtins.str] deletion_policy: The deletion policy for the instance. Setting `ABANDON` allows the resource
|
206
|
+
to be abandoned, rather than deleted. Setting `DELETE` deletes the resource
|
207
|
+
and all its contents. Setting `PREVENT` prevents the resource from accidental
|
208
|
+
deletion by erroring out during plan.
|
209
|
+
Default is `DELETE`. Possible values are:
|
210
|
+
* DELETE
|
211
|
+
* PREVENT
|
212
|
+
* ABANDON
|
174
213
|
: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.
|
175
214
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceHostConfigArgs']]] host_configs: A list of hostnames for this instance.
|
176
215
|
Structure is documented below.
|
@@ -197,6 +236,8 @@ class _InstanceState:
|
|
197
236
|
"""
|
198
237
|
if create_time is not None:
|
199
238
|
pulumi.set(__self__, "create_time", create_time)
|
239
|
+
if deletion_policy is not None:
|
240
|
+
pulumi.set(__self__, "deletion_policy", deletion_policy)
|
200
241
|
if effective_labels is not None:
|
201
242
|
pulumi.set(__self__, "effective_labels", effective_labels)
|
202
243
|
if host_configs is not None:
|
@@ -238,6 +279,25 @@ class _InstanceState:
|
|
238
279
|
def create_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
239
280
|
pulumi.set(self, "create_time", value)
|
240
281
|
|
282
|
+
@_builtins.property
|
283
|
+
@pulumi.getter(name="deletionPolicy")
|
284
|
+
def deletion_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
285
|
+
"""
|
286
|
+
The deletion policy for the instance. Setting `ABANDON` allows the resource
|
287
|
+
to be abandoned, rather than deleted. Setting `DELETE` deletes the resource
|
288
|
+
and all its contents. Setting `PREVENT` prevents the resource from accidental
|
289
|
+
deletion by erroring out during plan.
|
290
|
+
Default is `DELETE`. Possible values are:
|
291
|
+
* DELETE
|
292
|
+
* PREVENT
|
293
|
+
* ABANDON
|
294
|
+
"""
|
295
|
+
return pulumi.get(self, "deletion_policy")
|
296
|
+
|
297
|
+
@deletion_policy.setter
|
298
|
+
def deletion_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
299
|
+
pulumi.set(self, "deletion_policy", value)
|
300
|
+
|
241
301
|
@_builtins.property
|
242
302
|
@pulumi.getter(name="effectiveLabels")
|
243
303
|
def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
@@ -422,6 +482,7 @@ class Instance(pulumi.CustomResource):
|
|
422
482
|
def __init__(__self__,
|
423
483
|
resource_name: str,
|
424
484
|
opts: Optional[pulumi.ResourceOptions] = None,
|
485
|
+
deletion_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
425
486
|
instance_id: Optional[pulumi.Input[_builtins.str]] = None,
|
426
487
|
kms_key: Optional[pulumi.Input[_builtins.str]] = None,
|
427
488
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
@@ -452,7 +513,8 @@ class Instance(pulumi.CustomResource):
|
|
452
513
|
instance_id="my-instance",
|
453
514
|
labels={
|
454
515
|
"foo": "bar",
|
455
|
-
}
|
516
|
+
},
|
517
|
+
deletion_policy="PREVENT")
|
456
518
|
```
|
457
519
|
### Secure Source Manager Instance Cmek
|
458
520
|
|
@@ -469,6 +531,7 @@ class Instance(pulumi.CustomResource):
|
|
469
531
|
location="us-central1",
|
470
532
|
instance_id="my-instance",
|
471
533
|
kms_key="my-key",
|
534
|
+
deletion_policy="PREVENT",
|
472
535
|
opts = pulumi.ResourceOptions(depends_on=[crypto_key_binding]))
|
473
536
|
```
|
474
537
|
### Secure Source Manager Instance Private
|
@@ -533,6 +596,7 @@ class Instance(pulumi.CustomResource):
|
|
533
596
|
"is_private": True,
|
534
597
|
"ca_pool": ca_pool.id,
|
535
598
|
},
|
599
|
+
deletion_policy="PREVENT",
|
536
600
|
opts = pulumi.ResourceOptions(depends_on=[
|
537
601
|
root_ca,
|
538
602
|
wait120_seconds,
|
@@ -601,6 +665,7 @@ class Instance(pulumi.CustomResource):
|
|
601
665
|
"is_private": True,
|
602
666
|
"ca_pool": ca_pool.id,
|
603
667
|
},
|
668
|
+
deletion_policy="PREVENT",
|
604
669
|
opts = pulumi.ResourceOptions(depends_on=[
|
605
670
|
root_ca,
|
606
671
|
wait120_seconds,
|
@@ -745,6 +810,7 @@ class Instance(pulumi.CustomResource):
|
|
745
810
|
"is_private": True,
|
746
811
|
"ca_pool": ca_pool.id,
|
747
812
|
},
|
813
|
+
deletion_policy="PREVENT",
|
748
814
|
opts = pulumi.ResourceOptions(depends_on=[
|
749
815
|
root_ca,
|
750
816
|
wait120_seconds,
|
@@ -811,7 +877,8 @@ class Instance(pulumi.CustomResource):
|
|
811
877
|
instance_id="my-instance",
|
812
878
|
workforce_identity_federation_config={
|
813
879
|
"enabled": True,
|
814
|
-
}
|
880
|
+
},
|
881
|
+
deletion_policy="PREVENT")
|
815
882
|
```
|
816
883
|
|
817
884
|
## Import
|
@@ -846,6 +913,14 @@ class Instance(pulumi.CustomResource):
|
|
846
913
|
|
847
914
|
:param str resource_name: The name of the resource.
|
848
915
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
916
|
+
:param pulumi.Input[_builtins.str] deletion_policy: The deletion policy for the instance. Setting `ABANDON` allows the resource
|
917
|
+
to be abandoned, rather than deleted. Setting `DELETE` deletes the resource
|
918
|
+
and all its contents. Setting `PREVENT` prevents the resource from accidental
|
919
|
+
deletion by erroring out during plan.
|
920
|
+
Default is `DELETE`. Possible values are:
|
921
|
+
* DELETE
|
922
|
+
* PREVENT
|
923
|
+
* ABANDON
|
849
924
|
:param pulumi.Input[_builtins.str] instance_id: The name for the Instance.
|
850
925
|
:param pulumi.Input[_builtins.str] kms_key: Customer-managed encryption key name, in the format projects/*/locations/*/keyRings/*/cryptoKeys/*.
|
851
926
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels as key value pairs.
|
@@ -889,7 +964,8 @@ class Instance(pulumi.CustomResource):
|
|
889
964
|
instance_id="my-instance",
|
890
965
|
labels={
|
891
966
|
"foo": "bar",
|
892
|
-
}
|
967
|
+
},
|
968
|
+
deletion_policy="PREVENT")
|
893
969
|
```
|
894
970
|
### Secure Source Manager Instance Cmek
|
895
971
|
|
@@ -906,6 +982,7 @@ class Instance(pulumi.CustomResource):
|
|
906
982
|
location="us-central1",
|
907
983
|
instance_id="my-instance",
|
908
984
|
kms_key="my-key",
|
985
|
+
deletion_policy="PREVENT",
|
909
986
|
opts = pulumi.ResourceOptions(depends_on=[crypto_key_binding]))
|
910
987
|
```
|
911
988
|
### Secure Source Manager Instance Private
|
@@ -970,6 +1047,7 @@ class Instance(pulumi.CustomResource):
|
|
970
1047
|
"is_private": True,
|
971
1048
|
"ca_pool": ca_pool.id,
|
972
1049
|
},
|
1050
|
+
deletion_policy="PREVENT",
|
973
1051
|
opts = pulumi.ResourceOptions(depends_on=[
|
974
1052
|
root_ca,
|
975
1053
|
wait120_seconds,
|
@@ -1038,6 +1116,7 @@ class Instance(pulumi.CustomResource):
|
|
1038
1116
|
"is_private": True,
|
1039
1117
|
"ca_pool": ca_pool.id,
|
1040
1118
|
},
|
1119
|
+
deletion_policy="PREVENT",
|
1041
1120
|
opts = pulumi.ResourceOptions(depends_on=[
|
1042
1121
|
root_ca,
|
1043
1122
|
wait120_seconds,
|
@@ -1182,6 +1261,7 @@ class Instance(pulumi.CustomResource):
|
|
1182
1261
|
"is_private": True,
|
1183
1262
|
"ca_pool": ca_pool.id,
|
1184
1263
|
},
|
1264
|
+
deletion_policy="PREVENT",
|
1185
1265
|
opts = pulumi.ResourceOptions(depends_on=[
|
1186
1266
|
root_ca,
|
1187
1267
|
wait120_seconds,
|
@@ -1248,7 +1328,8 @@ class Instance(pulumi.CustomResource):
|
|
1248
1328
|
instance_id="my-instance",
|
1249
1329
|
workforce_identity_federation_config={
|
1250
1330
|
"enabled": True,
|
1251
|
-
}
|
1331
|
+
},
|
1332
|
+
deletion_policy="PREVENT")
|
1252
1333
|
```
|
1253
1334
|
|
1254
1335
|
## Import
|
@@ -1296,6 +1377,7 @@ class Instance(pulumi.CustomResource):
|
|
1296
1377
|
def _internal_init(__self__,
|
1297
1378
|
resource_name: str,
|
1298
1379
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1380
|
+
deletion_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
1299
1381
|
instance_id: Optional[pulumi.Input[_builtins.str]] = None,
|
1300
1382
|
kms_key: Optional[pulumi.Input[_builtins.str]] = None,
|
1301
1383
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
@@ -1312,6 +1394,7 @@ class Instance(pulumi.CustomResource):
|
|
1312
1394
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
1313
1395
|
__props__ = InstanceArgs.__new__(InstanceArgs)
|
1314
1396
|
|
1397
|
+
__props__.__dict__["deletion_policy"] = deletion_policy
|
1315
1398
|
if instance_id is None and not opts.urn:
|
1316
1399
|
raise TypeError("Missing required property 'instance_id'")
|
1317
1400
|
__props__.__dict__["instance_id"] = instance_id
|
@@ -1344,6 +1427,7 @@ class Instance(pulumi.CustomResource):
|
|
1344
1427
|
id: pulumi.Input[str],
|
1345
1428
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1346
1429
|
create_time: Optional[pulumi.Input[_builtins.str]] = None,
|
1430
|
+
deletion_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
1347
1431
|
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
1348
1432
|
host_configs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceHostConfigArgs', 'InstanceHostConfigArgsDict']]]]] = None,
|
1349
1433
|
instance_id: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -1366,6 +1450,14 @@ class Instance(pulumi.CustomResource):
|
|
1366
1450
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
1367
1451
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1368
1452
|
:param pulumi.Input[_builtins.str] create_time: Time the Instance was created in UTC.
|
1453
|
+
:param pulumi.Input[_builtins.str] deletion_policy: The deletion policy for the instance. Setting `ABANDON` allows the resource
|
1454
|
+
to be abandoned, rather than deleted. Setting `DELETE` deletes the resource
|
1455
|
+
and all its contents. Setting `PREVENT` prevents the resource from accidental
|
1456
|
+
deletion by erroring out during plan.
|
1457
|
+
Default is `DELETE`. Possible values are:
|
1458
|
+
* DELETE
|
1459
|
+
* PREVENT
|
1460
|
+
* ABANDON
|
1369
1461
|
: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.
|
1370
1462
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceHostConfigArgs', 'InstanceHostConfigArgsDict']]]] host_configs: A list of hostnames for this instance.
|
1371
1463
|
Structure is documented below.
|
@@ -1395,6 +1487,7 @@ class Instance(pulumi.CustomResource):
|
|
1395
1487
|
__props__ = _InstanceState.__new__(_InstanceState)
|
1396
1488
|
|
1397
1489
|
__props__.__dict__["create_time"] = create_time
|
1490
|
+
__props__.__dict__["deletion_policy"] = deletion_policy
|
1398
1491
|
__props__.__dict__["effective_labels"] = effective_labels
|
1399
1492
|
__props__.__dict__["host_configs"] = host_configs
|
1400
1493
|
__props__.__dict__["instance_id"] = instance_id
|
@@ -1419,6 +1512,21 @@ class Instance(pulumi.CustomResource):
|
|
1419
1512
|
"""
|
1420
1513
|
return pulumi.get(self, "create_time")
|
1421
1514
|
|
1515
|
+
@_builtins.property
|
1516
|
+
@pulumi.getter(name="deletionPolicy")
|
1517
|
+
def deletion_policy(self) -> pulumi.Output[Optional[_builtins.str]]:
|
1518
|
+
"""
|
1519
|
+
The deletion policy for the instance. Setting `ABANDON` allows the resource
|
1520
|
+
to be abandoned, rather than deleted. Setting `DELETE` deletes the resource
|
1521
|
+
and all its contents. Setting `PREVENT` prevents the resource from accidental
|
1522
|
+
deletion by erroring out during plan.
|
1523
|
+
Default is `DELETE`. Possible values are:
|
1524
|
+
* DELETE
|
1525
|
+
* PREVENT
|
1526
|
+
* ABANDON
|
1527
|
+
"""
|
1528
|
+
return pulumi.get(self, "deletion_policy")
|
1529
|
+
|
1422
1530
|
@_builtins.property
|
1423
1531
|
@pulumi.getter(name="effectiveLabels")
|
1424
1532
|
def effective_labels(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
|
@@ -24,6 +24,7 @@ class RepositoryArgs:
|
|
24
24
|
instance: pulumi.Input[_builtins.str],
|
25
25
|
location: pulumi.Input[_builtins.str],
|
26
26
|
repository_id: pulumi.Input[_builtins.str],
|
27
|
+
deletion_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
27
28
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
28
29
|
initial_config: Optional[pulumi.Input['RepositoryInitialConfigArgs']] = None,
|
29
30
|
project: Optional[pulumi.Input[_builtins.str]] = None):
|
@@ -32,6 +33,14 @@ class RepositoryArgs:
|
|
32
33
|
:param pulumi.Input[_builtins.str] instance: The name of the instance in which the repository is hosted.
|
33
34
|
:param pulumi.Input[_builtins.str] location: The location for the Repository.
|
34
35
|
:param pulumi.Input[_builtins.str] repository_id: The ID for the Repository.
|
36
|
+
:param pulumi.Input[_builtins.str] deletion_policy: The deletion policy for the repository. Setting `ABANDON` allows the resource
|
37
|
+
to be abandoned, rather than deleted. Setting `DELETE` deletes the resource
|
38
|
+
and all its contents. Setting `PREVENT` prevents the resource from accidental deletion
|
39
|
+
by erroring out during plan.
|
40
|
+
Default is `DELETE`. Possible values are:
|
41
|
+
* DELETE
|
42
|
+
* PREVENT
|
43
|
+
* ABANDON
|
35
44
|
:param pulumi.Input[_builtins.str] description: Description of the repository, which cannot exceed 500 characters.
|
36
45
|
:param pulumi.Input['RepositoryInitialConfigArgs'] initial_config: Initial configurations for the repository.
|
37
46
|
Structure is documented below.
|
@@ -41,6 +50,8 @@ class RepositoryArgs:
|
|
41
50
|
pulumi.set(__self__, "instance", instance)
|
42
51
|
pulumi.set(__self__, "location", location)
|
43
52
|
pulumi.set(__self__, "repository_id", repository_id)
|
53
|
+
if deletion_policy is not None:
|
54
|
+
pulumi.set(__self__, "deletion_policy", deletion_policy)
|
44
55
|
if description is not None:
|
45
56
|
pulumi.set(__self__, "description", description)
|
46
57
|
if initial_config is not None:
|
@@ -84,6 +95,25 @@ class RepositoryArgs:
|
|
84
95
|
def repository_id(self, value: pulumi.Input[_builtins.str]):
|
85
96
|
pulumi.set(self, "repository_id", value)
|
86
97
|
|
98
|
+
@_builtins.property
|
99
|
+
@pulumi.getter(name="deletionPolicy")
|
100
|
+
def deletion_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
101
|
+
"""
|
102
|
+
The deletion policy for the repository. Setting `ABANDON` allows the resource
|
103
|
+
to be abandoned, rather than deleted. Setting `DELETE` deletes the resource
|
104
|
+
and all its contents. Setting `PREVENT` prevents the resource from accidental deletion
|
105
|
+
by erroring out during plan.
|
106
|
+
Default is `DELETE`. Possible values are:
|
107
|
+
* DELETE
|
108
|
+
* PREVENT
|
109
|
+
* ABANDON
|
110
|
+
"""
|
111
|
+
return pulumi.get(self, "deletion_policy")
|
112
|
+
|
113
|
+
@deletion_policy.setter
|
114
|
+
def deletion_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
115
|
+
pulumi.set(self, "deletion_policy", value)
|
116
|
+
|
87
117
|
@_builtins.property
|
88
118
|
@pulumi.getter
|
89
119
|
def description(self) -> Optional[pulumi.Input[_builtins.str]]:
|
@@ -127,6 +157,7 @@ class RepositoryArgs:
|
|
127
157
|
class _RepositoryState:
|
128
158
|
def __init__(__self__, *,
|
129
159
|
create_time: Optional[pulumi.Input[_builtins.str]] = None,
|
160
|
+
deletion_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
130
161
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
131
162
|
initial_config: Optional[pulumi.Input['RepositoryInitialConfigArgs']] = None,
|
132
163
|
instance: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -140,6 +171,14 @@ class _RepositoryState:
|
|
140
171
|
"""
|
141
172
|
Input properties used for looking up and filtering Repository resources.
|
142
173
|
:param pulumi.Input[_builtins.str] create_time: Time the repository was created in UTC.
|
174
|
+
:param pulumi.Input[_builtins.str] deletion_policy: The deletion policy for the repository. Setting `ABANDON` allows the resource
|
175
|
+
to be abandoned, rather than deleted. Setting `DELETE` deletes the resource
|
176
|
+
and all its contents. Setting `PREVENT` prevents the resource from accidental deletion
|
177
|
+
by erroring out during plan.
|
178
|
+
Default is `DELETE`. Possible values are:
|
179
|
+
* DELETE
|
180
|
+
* PREVENT
|
181
|
+
* ABANDON
|
143
182
|
:param pulumi.Input[_builtins.str] description: Description of the repository, which cannot exceed 500 characters.
|
144
183
|
:param pulumi.Input['RepositoryInitialConfigArgs'] initial_config: Initial configurations for the repository.
|
145
184
|
Structure is documented below.
|
@@ -156,6 +195,8 @@ class _RepositoryState:
|
|
156
195
|
"""
|
157
196
|
if create_time is not None:
|
158
197
|
pulumi.set(__self__, "create_time", create_time)
|
198
|
+
if deletion_policy is not None:
|
199
|
+
pulumi.set(__self__, "deletion_policy", deletion_policy)
|
159
200
|
if description is not None:
|
160
201
|
pulumi.set(__self__, "description", description)
|
161
202
|
if initial_config is not None:
|
@@ -189,6 +230,25 @@ class _RepositoryState:
|
|
189
230
|
def create_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
190
231
|
pulumi.set(self, "create_time", value)
|
191
232
|
|
233
|
+
@_builtins.property
|
234
|
+
@pulumi.getter(name="deletionPolicy")
|
235
|
+
def deletion_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
236
|
+
"""
|
237
|
+
The deletion policy for the repository. Setting `ABANDON` allows the resource
|
238
|
+
to be abandoned, rather than deleted. Setting `DELETE` deletes the resource
|
239
|
+
and all its contents. Setting `PREVENT` prevents the resource from accidental deletion
|
240
|
+
by erroring out during plan.
|
241
|
+
Default is `DELETE`. Possible values are:
|
242
|
+
* DELETE
|
243
|
+
* PREVENT
|
244
|
+
* ABANDON
|
245
|
+
"""
|
246
|
+
return pulumi.get(self, "deletion_policy")
|
247
|
+
|
248
|
+
@deletion_policy.setter
|
249
|
+
def deletion_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
250
|
+
pulumi.set(self, "deletion_policy", value)
|
251
|
+
|
192
252
|
@_builtins.property
|
193
253
|
@pulumi.getter
|
194
254
|
def description(self) -> Optional[pulumi.Input[_builtins.str]]:
|
@@ -319,6 +379,7 @@ class Repository(pulumi.CustomResource):
|
|
319
379
|
def __init__(__self__,
|
320
380
|
resource_name: str,
|
321
381
|
opts: Optional[pulumi.ResourceOptions] = None,
|
382
|
+
deletion_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
322
383
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
323
384
|
initial_config: Optional[pulumi.Input[Union['RepositoryInitialConfigArgs', 'RepositoryInitialConfigArgsDict']]] = None,
|
324
385
|
instance: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -345,11 +406,13 @@ class Repository(pulumi.CustomResource):
|
|
345
406
|
|
346
407
|
instance = gcp.securesourcemanager.Instance("instance",
|
347
408
|
location="us-central1",
|
348
|
-
instance_id="my-instance"
|
409
|
+
instance_id="my-instance",
|
410
|
+
deletion_policy="PREVENT")
|
349
411
|
default = gcp.securesourcemanager.Repository("default",
|
350
412
|
location="us-central1",
|
351
413
|
repository_id="my-repository",
|
352
|
-
instance=instance.name
|
414
|
+
instance=instance.name,
|
415
|
+
deletion_policy="PREVENT")
|
353
416
|
```
|
354
417
|
### Secure Source Manager Repository Initial Config
|
355
418
|
|
@@ -359,7 +422,8 @@ class Repository(pulumi.CustomResource):
|
|
359
422
|
|
360
423
|
instance = gcp.securesourcemanager.Instance("instance",
|
361
424
|
location="us-central1",
|
362
|
-
instance_id="my-instance"
|
425
|
+
instance_id="my-instance",
|
426
|
+
deletion_policy="PREVENT")
|
363
427
|
default = gcp.securesourcemanager.Repository("default",
|
364
428
|
location="us-central1",
|
365
429
|
repository_id="my-repository",
|
@@ -370,7 +434,8 @@ class Repository(pulumi.CustomResource):
|
|
370
434
|
"gitignores": ["python"],
|
371
435
|
"license": "mit",
|
372
436
|
"readme": "default",
|
373
|
-
}
|
437
|
+
},
|
438
|
+
deletion_policy="PREVENT")
|
374
439
|
```
|
375
440
|
|
376
441
|
## Import
|
@@ -405,6 +470,14 @@ class Repository(pulumi.CustomResource):
|
|
405
470
|
|
406
471
|
:param str resource_name: The name of the resource.
|
407
472
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
473
|
+
:param pulumi.Input[_builtins.str] deletion_policy: The deletion policy for the repository. Setting `ABANDON` allows the resource
|
474
|
+
to be abandoned, rather than deleted. Setting `DELETE` deletes the resource
|
475
|
+
and all its contents. Setting `PREVENT` prevents the resource from accidental deletion
|
476
|
+
by erroring out during plan.
|
477
|
+
Default is `DELETE`. Possible values are:
|
478
|
+
* DELETE
|
479
|
+
* PREVENT
|
480
|
+
* ABANDON
|
408
481
|
:param pulumi.Input[_builtins.str] description: Description of the repository, which cannot exceed 500 characters.
|
409
482
|
:param pulumi.Input[Union['RepositoryInitialConfigArgs', 'RepositoryInitialConfigArgsDict']] initial_config: Initial configurations for the repository.
|
410
483
|
Structure is documented below.
|
@@ -439,11 +512,13 @@ class Repository(pulumi.CustomResource):
|
|
439
512
|
|
440
513
|
instance = gcp.securesourcemanager.Instance("instance",
|
441
514
|
location="us-central1",
|
442
|
-
instance_id="my-instance"
|
515
|
+
instance_id="my-instance",
|
516
|
+
deletion_policy="PREVENT")
|
443
517
|
default = gcp.securesourcemanager.Repository("default",
|
444
518
|
location="us-central1",
|
445
519
|
repository_id="my-repository",
|
446
|
-
instance=instance.name
|
520
|
+
instance=instance.name,
|
521
|
+
deletion_policy="PREVENT")
|
447
522
|
```
|
448
523
|
### Secure Source Manager Repository Initial Config
|
449
524
|
|
@@ -453,7 +528,8 @@ class Repository(pulumi.CustomResource):
|
|
453
528
|
|
454
529
|
instance = gcp.securesourcemanager.Instance("instance",
|
455
530
|
location="us-central1",
|
456
|
-
instance_id="my-instance"
|
531
|
+
instance_id="my-instance",
|
532
|
+
deletion_policy="PREVENT")
|
457
533
|
default = gcp.securesourcemanager.Repository("default",
|
458
534
|
location="us-central1",
|
459
535
|
repository_id="my-repository",
|
@@ -464,7 +540,8 @@ class Repository(pulumi.CustomResource):
|
|
464
540
|
"gitignores": ["python"],
|
465
541
|
"license": "mit",
|
466
542
|
"readme": "default",
|
467
|
-
}
|
543
|
+
},
|
544
|
+
deletion_policy="PREVENT")
|
468
545
|
```
|
469
546
|
|
470
547
|
## Import
|
@@ -512,6 +589,7 @@ class Repository(pulumi.CustomResource):
|
|
512
589
|
def _internal_init(__self__,
|
513
590
|
resource_name: str,
|
514
591
|
opts: Optional[pulumi.ResourceOptions] = None,
|
592
|
+
deletion_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
515
593
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
516
594
|
initial_config: Optional[pulumi.Input[Union['RepositoryInitialConfigArgs', 'RepositoryInitialConfigArgsDict']]] = None,
|
517
595
|
instance: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -527,6 +605,7 @@ class Repository(pulumi.CustomResource):
|
|
527
605
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
528
606
|
__props__ = RepositoryArgs.__new__(RepositoryArgs)
|
529
607
|
|
608
|
+
__props__.__dict__["deletion_policy"] = deletion_policy
|
530
609
|
__props__.__dict__["description"] = description
|
531
610
|
__props__.__dict__["initial_config"] = initial_config
|
532
611
|
if instance is None and not opts.urn:
|
@@ -555,6 +634,7 @@ class Repository(pulumi.CustomResource):
|
|
555
634
|
id: pulumi.Input[str],
|
556
635
|
opts: Optional[pulumi.ResourceOptions] = None,
|
557
636
|
create_time: Optional[pulumi.Input[_builtins.str]] = None,
|
637
|
+
deletion_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
558
638
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
559
639
|
initial_config: Optional[pulumi.Input[Union['RepositoryInitialConfigArgs', 'RepositoryInitialConfigArgsDict']]] = None,
|
560
640
|
instance: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -573,6 +653,14 @@ class Repository(pulumi.CustomResource):
|
|
573
653
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
574
654
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
575
655
|
:param pulumi.Input[_builtins.str] create_time: Time the repository was created in UTC.
|
656
|
+
:param pulumi.Input[_builtins.str] deletion_policy: The deletion policy for the repository. Setting `ABANDON` allows the resource
|
657
|
+
to be abandoned, rather than deleted. Setting `DELETE` deletes the resource
|
658
|
+
and all its contents. Setting `PREVENT` prevents the resource from accidental deletion
|
659
|
+
by erroring out during plan.
|
660
|
+
Default is `DELETE`. Possible values are:
|
661
|
+
* DELETE
|
662
|
+
* PREVENT
|
663
|
+
* ABANDON
|
576
664
|
:param pulumi.Input[_builtins.str] description: Description of the repository, which cannot exceed 500 characters.
|
577
665
|
:param pulumi.Input[Union['RepositoryInitialConfigArgs', 'RepositoryInitialConfigArgsDict']] initial_config: Initial configurations for the repository.
|
578
666
|
Structure is documented below.
|
@@ -592,6 +680,7 @@ class Repository(pulumi.CustomResource):
|
|
592
680
|
__props__ = _RepositoryState.__new__(_RepositoryState)
|
593
681
|
|
594
682
|
__props__.__dict__["create_time"] = create_time
|
683
|
+
__props__.__dict__["deletion_policy"] = deletion_policy
|
595
684
|
__props__.__dict__["description"] = description
|
596
685
|
__props__.__dict__["initial_config"] = initial_config
|
597
686
|
__props__.__dict__["instance"] = instance
|
@@ -612,6 +701,21 @@ class Repository(pulumi.CustomResource):
|
|
612
701
|
"""
|
613
702
|
return pulumi.get(self, "create_time")
|
614
703
|
|
704
|
+
@_builtins.property
|
705
|
+
@pulumi.getter(name="deletionPolicy")
|
706
|
+
def deletion_policy(self) -> pulumi.Output[Optional[_builtins.str]]:
|
707
|
+
"""
|
708
|
+
The deletion policy for the repository. Setting `ABANDON` allows the resource
|
709
|
+
to be abandoned, rather than deleted. Setting `DELETE` deletes the resource
|
710
|
+
and all its contents. Setting `PREVENT` prevents the resource from accidental deletion
|
711
|
+
by erroring out during plan.
|
712
|
+
Default is `DELETE`. Possible values are:
|
713
|
+
* DELETE
|
714
|
+
* PREVENT
|
715
|
+
* ABANDON
|
716
|
+
"""
|
717
|
+
return pulumi.get(self, "deletion_policy")
|
718
|
+
|
615
719
|
@_builtins.property
|
616
720
|
@pulumi.getter
|
617
721
|
def description(self) -> pulumi.Output[Optional[_builtins.str]]:
|
@@ -66,6 +66,7 @@ class GetAccountKeyResult:
|
|
66
66
|
|
67
67
|
@_builtins.property
|
68
68
|
@pulumi.getter
|
69
|
+
@_utilities.deprecated("""`project` is deprecated and will be removed in a future major release. This field is non-functional and can be removed from your configuration safely.""")
|
69
70
|
def project(self) -> Optional[_builtins.str]:
|
70
71
|
return pulumi.get(self, "project")
|
71
72
|
|
pulumi_gcp/sql/_inputs.py
CHANGED
@@ -947,11 +947,11 @@ if not MYPY:
|
|
947
947
|
"""
|
948
948
|
disk_size: NotRequired[pulumi.Input[_builtins.int]]
|
949
949
|
"""
|
950
|
-
The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB for PD_SSD
|
950
|
+
The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB for `PD_SSD`, `PD_HDD` and 20GB for `HYPERDISK_BALANCED`. Note that this value will override the resizing from `disk_autoresize` if that feature is enabled. To avoid this, set `lifecycle.ignore_changes` on this field.
|
951
951
|
"""
|
952
952
|
disk_type: NotRequired[pulumi.Input[_builtins.str]]
|
953
953
|
"""
|
954
|
-
The type of data disk: PD_SSD
|
954
|
+
The type of data disk: `PD_SSD`, `PD_HDD`, or `HYPERDISK_BALANCED`. Defaults to `PD_SSD`. `HYPERDISK_BALANCED` is preview.
|
955
955
|
"""
|
956
956
|
edition: NotRequired[pulumi.Input[_builtins.str]]
|
957
957
|
"""
|
@@ -1058,8 +1058,8 @@ class DatabaseInstanceSettingsArgs:
|
|
1058
1058
|
:param pulumi.Input[_builtins.bool] deletion_protection_enabled: Configuration to protect against accidental instance deletion.
|
1059
1059
|
:param pulumi.Input[_builtins.bool] disk_autoresize: Enables auto-resizing of the storage size. Defaults to `true`. Note that if `disk_size` is set, future `pulumi up` calls will attempt to delete the instance in order to resize the disk to the value specified in disk_size if it has been resized. To avoid this, ensure that `lifecycle.ignore_changes` is applied to `disk_size`.
|
1060
1060
|
:param pulumi.Input[_builtins.int] disk_autoresize_limit: The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
|
1061
|
-
:param pulumi.Input[_builtins.int] disk_size: The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB for PD_SSD
|
1062
|
-
:param pulumi.Input[_builtins.str] disk_type: The type of data disk: PD_SSD
|
1061
|
+
:param pulumi.Input[_builtins.int] disk_size: The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB for `PD_SSD`, `PD_HDD` and 20GB for `HYPERDISK_BALANCED`. Note that this value will override the resizing from `disk_autoresize` if that feature is enabled. To avoid this, set `lifecycle.ignore_changes` on this field.
|
1062
|
+
:param pulumi.Input[_builtins.str] disk_type: The type of data disk: `PD_SSD`, `PD_HDD`, or `HYPERDISK_BALANCED`. Defaults to `PD_SSD`. `HYPERDISK_BALANCED` is preview.
|
1063
1063
|
:param pulumi.Input[_builtins.str] edition: The edition of the instance, can be `ENTERPRISE` or `ENTERPRISE_PLUS`.
|
1064
1064
|
:param pulumi.Input[_builtins.bool] enable_dataplex_integration: Enables [Cloud SQL instance integration with Dataplex](https://cloud.google.com/sql/docs/mysql/dataplex-catalog-integration). MySQL, Postgres and SQL Server instances are supported for this feature. Defaults to `false`.
|
1065
1065
|
:param pulumi.Input[_builtins.bool] enable_google_ml_integration: Enables [Cloud SQL instances to connect to Vertex AI](https://cloud.google.com/sql/docs/postgres/integrate-cloud-sql-with-vertex-ai) and pass requests for real-time predictions and insights. Defaults to `false`.
|
@@ -1339,7 +1339,7 @@ class DatabaseInstanceSettingsArgs:
|
|
1339
1339
|
@pulumi.getter(name="diskSize")
|
1340
1340
|
def disk_size(self) -> Optional[pulumi.Input[_builtins.int]]:
|
1341
1341
|
"""
|
1342
|
-
The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB for PD_SSD
|
1342
|
+
The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB for `PD_SSD`, `PD_HDD` and 20GB for `HYPERDISK_BALANCED`. Note that this value will override the resizing from `disk_autoresize` if that feature is enabled. To avoid this, set `lifecycle.ignore_changes` on this field.
|
1343
1343
|
"""
|
1344
1344
|
return pulumi.get(self, "disk_size")
|
1345
1345
|
|
@@ -1351,7 +1351,7 @@ class DatabaseInstanceSettingsArgs:
|
|
1351
1351
|
@pulumi.getter(name="diskType")
|
1352
1352
|
def disk_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
1353
1353
|
"""
|
1354
|
-
The type of data disk: PD_SSD
|
1354
|
+
The type of data disk: `PD_SSD`, `PD_HDD`, or `HYPERDISK_BALANCED`. Defaults to `PD_SSD`. `HYPERDISK_BALANCED` is preview.
|
1355
1355
|
"""
|
1356
1356
|
return pulumi.get(self, "disk_type")
|
1357
1357
|
|