pulumi-gcp 8.42.0a1756925793__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.0a1756925793.dist-info → pulumi_gcp-9.0.0a1.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.42.0a1756925793.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.0a1756925793.dist-info → pulumi_gcp-9.0.0a1.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.42.0a1756925793.dist-info → pulumi_gcp-9.0.0a1.dist-info}/top_level.txt +0 -0
pulumi_gcp/kms/autokey_config.py
CHANGED
@@ -155,7 +155,6 @@ class AutokeyConfig(pulumi.CustomResource):
|
|
155
155
|
kms_api_service = gcp.projects.Service("kms_api_service",
|
156
156
|
service="cloudkms.googleapis.com",
|
157
157
|
project=key_project.project_id,
|
158
|
-
disable_on_destroy=False,
|
159
158
|
disable_dependent_services=True,
|
160
159
|
opts = pulumi.ResourceOptions(depends_on=[key_project]))
|
161
160
|
# Wait delay after enabling APIs
|
@@ -246,7 +245,6 @@ class AutokeyConfig(pulumi.CustomResource):
|
|
246
245
|
kms_api_service = gcp.projects.Service("kms_api_service",
|
247
246
|
service="cloudkms.googleapis.com",
|
248
247
|
project=key_project.project_id,
|
249
|
-
disable_on_destroy=False,
|
250
248
|
disable_dependent_services=True,
|
251
249
|
opts = pulumi.ResourceOptions(depends_on=[key_project]))
|
252
250
|
# Wait delay after enabling APIs
|
pulumi_gcp/kms/key_handle.py
CHANGED
@@ -236,7 +236,6 @@ class KeyHandle(pulumi.CustomResource):
|
|
236
236
|
kms_api_service = gcp.projects.Service("kms_api_service",
|
237
237
|
service="cloudkms.googleapis.com",
|
238
238
|
project=key_project.project_id,
|
239
|
-
disable_on_destroy=False,
|
240
239
|
disable_dependent_services=True,
|
241
240
|
opts = pulumi.ResourceOptions(depends_on=[key_project]))
|
242
241
|
# Wait delay after enabling APIs
|
@@ -349,7 +348,6 @@ class KeyHandle(pulumi.CustomResource):
|
|
349
348
|
kms_api_service = gcp.projects.Service("kms_api_service",
|
350
349
|
service="cloudkms.googleapis.com",
|
351
350
|
project=key_project.project_id,
|
352
|
-
disable_on_destroy=False,
|
353
351
|
disable_dependent_services=True,
|
354
352
|
opts = pulumi.ResourceOptions(depends_on=[key_project]))
|
355
353
|
# Wait delay after enabling APIs
|
@@ -33,7 +33,9 @@ class BillingAccountBucketConfigArgs:
|
|
33
33
|
:param pulumi.Input[_builtins.str] billing_account: The parent resource that contains the logging bucket.
|
34
34
|
:param pulumi.Input[_builtins.str] bucket_id: The name of the logging bucket. Logging automatically creates two log buckets: `_Required` and `_Default`.
|
35
35
|
:param pulumi.Input[_builtins.str] location: The location of the bucket.
|
36
|
-
:param pulumi.Input['BillingAccountBucketConfigCmekSettingsArgs'] cmek_settings: The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
36
|
+
:param pulumi.Input['BillingAccountBucketConfigCmekSettingsArgs'] cmek_settings: The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
37
|
+
key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by
|
38
|
+
updating the log bucket. Changing the KMS key is allowed.
|
37
39
|
:param pulumi.Input[_builtins.str] description: Describes this bucket.
|
38
40
|
:param pulumi.Input[Sequence[pulumi.Input['BillingAccountBucketConfigIndexConfigArgs']]] index_configs: A list of indexed fields and related configuration data. Structure is documented below.
|
39
41
|
:param pulumi.Input[_builtins.int] retention_days: Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used. Bucket retention can not be increased on buckets outside of projects.
|
@@ -90,7 +92,9 @@ class BillingAccountBucketConfigArgs:
|
|
90
92
|
@pulumi.getter(name="cmekSettings")
|
91
93
|
def cmek_settings(self) -> Optional[pulumi.Input['BillingAccountBucketConfigCmekSettingsArgs']]:
|
92
94
|
"""
|
93
|
-
The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
95
|
+
The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
96
|
+
key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by
|
97
|
+
updating the log bucket. Changing the KMS key is allowed.
|
94
98
|
"""
|
95
99
|
return pulumi.get(self, "cmek_settings")
|
96
100
|
|
@@ -151,7 +155,9 @@ class _BillingAccountBucketConfigState:
|
|
151
155
|
Input properties used for looking up and filtering BillingAccountBucketConfig resources.
|
152
156
|
:param pulumi.Input[_builtins.str] billing_account: The parent resource that contains the logging bucket.
|
153
157
|
:param pulumi.Input[_builtins.str] bucket_id: The name of the logging bucket. Logging automatically creates two log buckets: `_Required` and `_Default`.
|
154
|
-
:param pulumi.Input['BillingAccountBucketConfigCmekSettingsArgs'] cmek_settings: The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
158
|
+
:param pulumi.Input['BillingAccountBucketConfigCmekSettingsArgs'] cmek_settings: The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
159
|
+
key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by
|
160
|
+
updating the log bucket. Changing the KMS key is allowed.
|
155
161
|
:param pulumi.Input[_builtins.str] description: Describes this bucket.
|
156
162
|
:param pulumi.Input[Sequence[pulumi.Input['BillingAccountBucketConfigIndexConfigArgs']]] index_configs: A list of indexed fields and related configuration data. Structure is documented below.
|
157
163
|
:param pulumi.Input[_builtins.str] lifecycle_state: The bucket's lifecycle such as active or deleted. See [LifecycleState](https://cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.buckets#LogBucket.LifecycleState).
|
@@ -206,7 +212,9 @@ class _BillingAccountBucketConfigState:
|
|
206
212
|
@pulumi.getter(name="cmekSettings")
|
207
213
|
def cmek_settings(self) -> Optional[pulumi.Input['BillingAccountBucketConfigCmekSettingsArgs']]:
|
208
214
|
"""
|
209
|
-
The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
215
|
+
The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
216
|
+
key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by
|
217
|
+
updating the log bucket. Changing the KMS key is allowed.
|
210
218
|
"""
|
211
219
|
return pulumi.get(self, "cmek_settings")
|
212
220
|
|
@@ -340,7 +348,9 @@ class BillingAccountBucketConfig(pulumi.CustomResource):
|
|
340
348
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
341
349
|
:param pulumi.Input[_builtins.str] billing_account: The parent resource that contains the logging bucket.
|
342
350
|
:param pulumi.Input[_builtins.str] bucket_id: The name of the logging bucket. Logging automatically creates two log buckets: `_Required` and `_Default`.
|
343
|
-
:param pulumi.Input[Union['BillingAccountBucketConfigCmekSettingsArgs', 'BillingAccountBucketConfigCmekSettingsArgsDict']] cmek_settings: The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
351
|
+
:param pulumi.Input[Union['BillingAccountBucketConfigCmekSettingsArgs', 'BillingAccountBucketConfigCmekSettingsArgsDict']] cmek_settings: The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
352
|
+
key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by
|
353
|
+
updating the log bucket. Changing the KMS key is allowed.
|
344
354
|
:param pulumi.Input[_builtins.str] description: Describes this bucket.
|
345
355
|
:param pulumi.Input[Sequence[pulumi.Input[Union['BillingAccountBucketConfigIndexConfigArgs', 'BillingAccountBucketConfigIndexConfigArgsDict']]]] index_configs: A list of indexed fields and related configuration data. Structure is documented below.
|
346
356
|
:param pulumi.Input[_builtins.str] location: The location of the bucket.
|
@@ -461,7 +471,9 @@ class BillingAccountBucketConfig(pulumi.CustomResource):
|
|
461
471
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
462
472
|
:param pulumi.Input[_builtins.str] billing_account: The parent resource that contains the logging bucket.
|
463
473
|
:param pulumi.Input[_builtins.str] bucket_id: The name of the logging bucket. Logging automatically creates two log buckets: `_Required` and `_Default`.
|
464
|
-
:param pulumi.Input[Union['BillingAccountBucketConfigCmekSettingsArgs', 'BillingAccountBucketConfigCmekSettingsArgsDict']] cmek_settings: The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
474
|
+
:param pulumi.Input[Union['BillingAccountBucketConfigCmekSettingsArgs', 'BillingAccountBucketConfigCmekSettingsArgsDict']] cmek_settings: The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
475
|
+
key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by
|
476
|
+
updating the log bucket. Changing the KMS key is allowed.
|
465
477
|
:param pulumi.Input[_builtins.str] description: Describes this bucket.
|
466
478
|
:param pulumi.Input[Sequence[pulumi.Input[Union['BillingAccountBucketConfigIndexConfigArgs', 'BillingAccountBucketConfigIndexConfigArgsDict']]]] index_configs: A list of indexed fields and related configuration data. Structure is documented below.
|
467
479
|
:param pulumi.Input[_builtins.str] lifecycle_state: The bucket's lifecycle such as active or deleted. See [LifecycleState](https://cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.buckets#LogBucket.LifecycleState).
|
@@ -504,7 +516,9 @@ class BillingAccountBucketConfig(pulumi.CustomResource):
|
|
504
516
|
@pulumi.getter(name="cmekSettings")
|
505
517
|
def cmek_settings(self) -> pulumi.Output[Optional['outputs.BillingAccountBucketConfigCmekSettings']]:
|
506
518
|
"""
|
507
|
-
The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
519
|
+
The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
520
|
+
key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by
|
521
|
+
updating the log bucket. Changing the KMS key is allowed.
|
508
522
|
"""
|
509
523
|
return pulumi.get(self, "cmek_settings")
|
510
524
|
|
@@ -33,7 +33,9 @@ class FolderBucketConfigArgs:
|
|
33
33
|
:param pulumi.Input[_builtins.str] bucket_id: The name of the logging bucket. Logging automatically creates two log buckets: `_Required` and `_Default`.
|
34
34
|
:param pulumi.Input[_builtins.str] folder: The parent resource that contains the logging bucket.
|
35
35
|
:param pulumi.Input[_builtins.str] location: The location of the bucket.
|
36
|
-
:param pulumi.Input['FolderBucketConfigCmekSettingsArgs'] cmek_settings: The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
36
|
+
:param pulumi.Input['FolderBucketConfigCmekSettingsArgs'] cmek_settings: The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
37
|
+
key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by
|
38
|
+
updating the log bucket. Changing the KMS key is allowed.
|
37
39
|
:param pulumi.Input[_builtins.str] description: Describes this bucket.
|
38
40
|
:param pulumi.Input[Sequence[pulumi.Input['FolderBucketConfigIndexConfigArgs']]] index_configs: A list of indexed fields and related configuration data. Structure is documented below.
|
39
41
|
:param pulumi.Input[_builtins.int] retention_days: Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used. Bucket retention can not be increased on buckets outside of projects.
|
@@ -90,7 +92,9 @@ class FolderBucketConfigArgs:
|
|
90
92
|
@pulumi.getter(name="cmekSettings")
|
91
93
|
def cmek_settings(self) -> Optional[pulumi.Input['FolderBucketConfigCmekSettingsArgs']]:
|
92
94
|
"""
|
93
|
-
The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
95
|
+
The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
96
|
+
key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by
|
97
|
+
updating the log bucket. Changing the KMS key is allowed.
|
94
98
|
"""
|
95
99
|
return pulumi.get(self, "cmek_settings")
|
96
100
|
|
@@ -150,7 +154,9 @@ class _FolderBucketConfigState:
|
|
150
154
|
"""
|
151
155
|
Input properties used for looking up and filtering FolderBucketConfig resources.
|
152
156
|
:param pulumi.Input[_builtins.str] bucket_id: The name of the logging bucket. Logging automatically creates two log buckets: `_Required` and `_Default`.
|
153
|
-
:param pulumi.Input['FolderBucketConfigCmekSettingsArgs'] cmek_settings: The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
157
|
+
:param pulumi.Input['FolderBucketConfigCmekSettingsArgs'] cmek_settings: The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
158
|
+
key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by
|
159
|
+
updating the log bucket. Changing the KMS key is allowed.
|
154
160
|
:param pulumi.Input[_builtins.str] description: Describes this bucket.
|
155
161
|
:param pulumi.Input[_builtins.str] folder: The parent resource that contains the logging bucket.
|
156
162
|
:param pulumi.Input[Sequence[pulumi.Input['FolderBucketConfigIndexConfigArgs']]] index_configs: A list of indexed fields and related configuration data. Structure is documented below.
|
@@ -194,7 +200,9 @@ class _FolderBucketConfigState:
|
|
194
200
|
@pulumi.getter(name="cmekSettings")
|
195
201
|
def cmek_settings(self) -> Optional[pulumi.Input['FolderBucketConfigCmekSettingsArgs']]:
|
196
202
|
"""
|
197
|
-
The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
203
|
+
The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
204
|
+
key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by
|
205
|
+
updating the log bucket. Changing the KMS key is allowed.
|
198
206
|
"""
|
199
207
|
return pulumi.get(self, "cmek_settings")
|
200
208
|
|
@@ -343,7 +351,9 @@ class FolderBucketConfig(pulumi.CustomResource):
|
|
343
351
|
:param str resource_name: The name of the resource.
|
344
352
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
345
353
|
:param pulumi.Input[_builtins.str] bucket_id: The name of the logging bucket. Logging automatically creates two log buckets: `_Required` and `_Default`.
|
346
|
-
:param pulumi.Input[Union['FolderBucketConfigCmekSettingsArgs', 'FolderBucketConfigCmekSettingsArgsDict']] cmek_settings: The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
354
|
+
:param pulumi.Input[Union['FolderBucketConfigCmekSettingsArgs', 'FolderBucketConfigCmekSettingsArgsDict']] cmek_settings: The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
355
|
+
key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by
|
356
|
+
updating the log bucket. Changing the KMS key is allowed.
|
347
357
|
:param pulumi.Input[_builtins.str] description: Describes this bucket.
|
348
358
|
:param pulumi.Input[_builtins.str] folder: The parent resource that contains the logging bucket.
|
349
359
|
:param pulumi.Input[Sequence[pulumi.Input[Union['FolderBucketConfigIndexConfigArgs', 'FolderBucketConfigIndexConfigArgsDict']]]] index_configs: A list of indexed fields and related configuration data. Structure is documented below.
|
@@ -468,7 +478,9 @@ class FolderBucketConfig(pulumi.CustomResource):
|
|
468
478
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
469
479
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
470
480
|
:param pulumi.Input[_builtins.str] bucket_id: The name of the logging bucket. Logging automatically creates two log buckets: `_Required` and `_Default`.
|
471
|
-
:param pulumi.Input[Union['FolderBucketConfigCmekSettingsArgs', 'FolderBucketConfigCmekSettingsArgsDict']] cmek_settings: The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
481
|
+
:param pulumi.Input[Union['FolderBucketConfigCmekSettingsArgs', 'FolderBucketConfigCmekSettingsArgsDict']] cmek_settings: The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
482
|
+
key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by
|
483
|
+
updating the log bucket. Changing the KMS key is allowed.
|
472
484
|
:param pulumi.Input[_builtins.str] description: Describes this bucket.
|
473
485
|
:param pulumi.Input[_builtins.str] folder: The parent resource that contains the logging bucket.
|
474
486
|
:param pulumi.Input[Sequence[pulumi.Input[Union['FolderBucketConfigIndexConfigArgs', 'FolderBucketConfigIndexConfigArgsDict']]]] index_configs: A list of indexed fields and related configuration data. Structure is documented below.
|
@@ -504,7 +516,9 @@ class FolderBucketConfig(pulumi.CustomResource):
|
|
504
516
|
@pulumi.getter(name="cmekSettings")
|
505
517
|
def cmek_settings(self) -> pulumi.Output[Optional['outputs.FolderBucketConfigCmekSettings']]:
|
506
518
|
"""
|
507
|
-
The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
519
|
+
The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
520
|
+
key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by
|
521
|
+
updating the log bucket. Changing the KMS key is allowed.
|
508
522
|
"""
|
509
523
|
return pulumi.get(self, "cmek_settings")
|
510
524
|
|
@@ -33,7 +33,9 @@ class OrganizationBucketConfigArgs:
|
|
33
33
|
:param pulumi.Input[_builtins.str] bucket_id: The name of the logging bucket. Logging automatically creates two log buckets: `_Required` and `_Default`.
|
34
34
|
:param pulumi.Input[_builtins.str] location: The location of the bucket. The supported locations are: "global" "us-central1"
|
35
35
|
:param pulumi.Input[_builtins.str] organization: The parent resource that contains the logging bucket.
|
36
|
-
:param pulumi.Input['OrganizationBucketConfigCmekSettingsArgs'] cmek_settings: The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
36
|
+
:param pulumi.Input['OrganizationBucketConfigCmekSettingsArgs'] cmek_settings: The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
37
|
+
key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by
|
38
|
+
updating the log bucket. Changing the KMS key is allowed.
|
37
39
|
:param pulumi.Input[_builtins.str] description: Describes this bucket.
|
38
40
|
:param pulumi.Input[Sequence[pulumi.Input['OrganizationBucketConfigIndexConfigArgs']]] index_configs: A list of indexed fields and related configuration data. Structure is documented below.
|
39
41
|
:param pulumi.Input[_builtins.int] retention_days: Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used. Bucket retention can not be increased on buckets outside of projects.
|
@@ -90,7 +92,9 @@ class OrganizationBucketConfigArgs:
|
|
90
92
|
@pulumi.getter(name="cmekSettings")
|
91
93
|
def cmek_settings(self) -> Optional[pulumi.Input['OrganizationBucketConfigCmekSettingsArgs']]:
|
92
94
|
"""
|
93
|
-
The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
95
|
+
The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
96
|
+
key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by
|
97
|
+
updating the log bucket. Changing the KMS key is allowed.
|
94
98
|
"""
|
95
99
|
return pulumi.get(self, "cmek_settings")
|
96
100
|
|
@@ -150,7 +154,9 @@ class _OrganizationBucketConfigState:
|
|
150
154
|
"""
|
151
155
|
Input properties used for looking up and filtering OrganizationBucketConfig resources.
|
152
156
|
:param pulumi.Input[_builtins.str] bucket_id: The name of the logging bucket. Logging automatically creates two log buckets: `_Required` and `_Default`.
|
153
|
-
:param pulumi.Input['OrganizationBucketConfigCmekSettingsArgs'] cmek_settings: The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
157
|
+
:param pulumi.Input['OrganizationBucketConfigCmekSettingsArgs'] cmek_settings: The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
158
|
+
key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by
|
159
|
+
updating the log bucket. Changing the KMS key is allowed.
|
154
160
|
:param pulumi.Input[_builtins.str] description: Describes this bucket.
|
155
161
|
:param pulumi.Input[Sequence[pulumi.Input['OrganizationBucketConfigIndexConfigArgs']]] index_configs: A list of indexed fields and related configuration data. Structure is documented below.
|
156
162
|
:param pulumi.Input[_builtins.str] lifecycle_state: The bucket's lifecycle such as active or deleted. See [LifecycleState](https://cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.buckets#LogBucket.LifecycleState).
|
@@ -194,7 +200,9 @@ class _OrganizationBucketConfigState:
|
|
194
200
|
@pulumi.getter(name="cmekSettings")
|
195
201
|
def cmek_settings(self) -> Optional[pulumi.Input['OrganizationBucketConfigCmekSettingsArgs']]:
|
196
202
|
"""
|
197
|
-
The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
203
|
+
The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
204
|
+
key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by
|
205
|
+
updating the log bucket. Changing the KMS key is allowed.
|
198
206
|
"""
|
199
207
|
return pulumi.get(self, "cmek_settings")
|
200
208
|
|
@@ -341,7 +349,9 @@ class OrganizationBucketConfig(pulumi.CustomResource):
|
|
341
349
|
:param str resource_name: The name of the resource.
|
342
350
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
343
351
|
:param pulumi.Input[_builtins.str] bucket_id: The name of the logging bucket. Logging automatically creates two log buckets: `_Required` and `_Default`.
|
344
|
-
:param pulumi.Input[Union['OrganizationBucketConfigCmekSettingsArgs', 'OrganizationBucketConfigCmekSettingsArgsDict']] cmek_settings: The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
352
|
+
:param pulumi.Input[Union['OrganizationBucketConfigCmekSettingsArgs', 'OrganizationBucketConfigCmekSettingsArgsDict']] cmek_settings: The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
353
|
+
key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by
|
354
|
+
updating the log bucket. Changing the KMS key is allowed.
|
345
355
|
:param pulumi.Input[_builtins.str] description: Describes this bucket.
|
346
356
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OrganizationBucketConfigIndexConfigArgs', 'OrganizationBucketConfigIndexConfigArgsDict']]]] index_configs: A list of indexed fields and related configuration data. Structure is documented below.
|
347
357
|
:param pulumi.Input[_builtins.str] location: The location of the bucket. The supported locations are: "global" "us-central1"
|
@@ -464,7 +474,9 @@ class OrganizationBucketConfig(pulumi.CustomResource):
|
|
464
474
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
465
475
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
466
476
|
:param pulumi.Input[_builtins.str] bucket_id: The name of the logging bucket. Logging automatically creates two log buckets: `_Required` and `_Default`.
|
467
|
-
:param pulumi.Input[Union['OrganizationBucketConfigCmekSettingsArgs', 'OrganizationBucketConfigCmekSettingsArgsDict']] cmek_settings: The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
477
|
+
:param pulumi.Input[Union['OrganizationBucketConfigCmekSettingsArgs', 'OrganizationBucketConfigCmekSettingsArgsDict']] cmek_settings: The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
478
|
+
key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by
|
479
|
+
updating the log bucket. Changing the KMS key is allowed.
|
468
480
|
:param pulumi.Input[_builtins.str] description: Describes this bucket.
|
469
481
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OrganizationBucketConfigIndexConfigArgs', 'OrganizationBucketConfigIndexConfigArgsDict']]]] index_configs: A list of indexed fields and related configuration data. Structure is documented below.
|
470
482
|
:param pulumi.Input[_builtins.str] lifecycle_state: The bucket's lifecycle such as active or deleted. See [LifecycleState](https://cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.buckets#LogBucket.LifecycleState).
|
@@ -500,7 +512,9 @@ class OrganizationBucketConfig(pulumi.CustomResource):
|
|
500
512
|
@pulumi.getter(name="cmekSettings")
|
501
513
|
def cmek_settings(self) -> pulumi.Output[Optional['outputs.OrganizationBucketConfigCmekSettings']]:
|
502
514
|
"""
|
503
|
-
The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
515
|
+
The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK
|
516
|
+
key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by
|
517
|
+
updating the log bucket. Changing the KMS key is allowed.
|
504
518
|
"""
|
505
519
|
return pulumi.get(self, "cmek_settings")
|
506
520
|
|
@@ -27,10 +27,7 @@ class GetInstanceResult:
|
|
27
27
|
"""
|
28
28
|
A collection of values returned by getInstance.
|
29
29
|
"""
|
30
|
-
def __init__(__self__,
|
31
|
-
if allow_fewer_zones_deployment and not isinstance(allow_fewer_zones_deployment, bool):
|
32
|
-
raise TypeError("Expected argument 'allow_fewer_zones_deployment' to be a bool")
|
33
|
-
pulumi.set(__self__, "allow_fewer_zones_deployment", allow_fewer_zones_deployment)
|
30
|
+
def __init__(__self__, authorization_mode=None, automated_backup_configs=None, backup_collection=None, create_time=None, cross_instance_replication_configs=None, deletion_protection_enabled=None, desired_auto_created_endpoints=None, desired_psc_auto_connections=None, discovery_endpoints=None, effective_labels=None, endpoints=None, engine_configs=None, engine_version=None, gcs_sources=None, id=None, instance_id=None, kms_key=None, labels=None, location=None, maintenance_policies=None, maintenance_schedules=None, managed_backup_sources=None, managed_server_cas=None, mode=None, name=None, node_configs=None, node_type=None, persistence_configs=None, project=None, psc_attachment_details=None, psc_auto_connections=None, pulumi_labels=None, replica_count=None, shard_count=None, state=None, state_infos=None, transit_encryption_mode=None, uid=None, update_time=None, zone_distribution_configs=None):
|
34
31
|
if authorization_mode and not isinstance(authorization_mode, str):
|
35
32
|
raise TypeError("Expected argument 'authorization_mode' to be a str")
|
36
33
|
pulumi.set(__self__, "authorization_mode", authorization_mode)
|
@@ -152,11 +149,6 @@ class GetInstanceResult:
|
|
152
149
|
raise TypeError("Expected argument 'zone_distribution_configs' to be a list")
|
153
150
|
pulumi.set(__self__, "zone_distribution_configs", zone_distribution_configs)
|
154
151
|
|
155
|
-
@_builtins.property
|
156
|
-
@pulumi.getter(name="allowFewerZonesDeployment")
|
157
|
-
def allow_fewer_zones_deployment(self) -> _builtins.bool:
|
158
|
-
return pulumi.get(self, "allow_fewer_zones_deployment")
|
159
|
-
|
160
152
|
@_builtins.property
|
161
153
|
@pulumi.getter(name="authorizationMode")
|
162
154
|
def authorization_mode(self) -> _builtins.str:
|
@@ -367,7 +359,6 @@ class AwaitableGetInstanceResult(GetInstanceResult):
|
|
367
359
|
if False:
|
368
360
|
yield self
|
369
361
|
return GetInstanceResult(
|
370
|
-
allow_fewer_zones_deployment=self.allow_fewer_zones_deployment,
|
371
362
|
authorization_mode=self.authorization_mode,
|
372
363
|
automated_backup_configs=self.automated_backup_configs,
|
373
364
|
backup_collection=self.backup_collection,
|
@@ -442,7 +433,6 @@ def get_instance(instance_id: Optional[_builtins.str] = None,
|
|
442
433
|
__ret__ = pulumi.runtime.invoke('gcp:memorystore/getInstance:getInstance', __args__, opts=opts, typ=GetInstanceResult).value
|
443
434
|
|
444
435
|
return AwaitableGetInstanceResult(
|
445
|
-
allow_fewer_zones_deployment=pulumi.get(__ret__, 'allow_fewer_zones_deployment'),
|
446
436
|
authorization_mode=pulumi.get(__ret__, 'authorization_mode'),
|
447
437
|
automated_backup_configs=pulumi.get(__ret__, 'automated_backup_configs'),
|
448
438
|
backup_collection=pulumi.get(__ret__, 'backup_collection'),
|
@@ -514,7 +504,6 @@ def get_instance_output(instance_id: Optional[pulumi.Input[_builtins.str]] = Non
|
|
514
504
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
515
505
|
__ret__ = pulumi.runtime.invoke_output('gcp:memorystore/getInstance:getInstance', __args__, opts=opts, typ=GetInstanceResult)
|
516
506
|
return __ret__.apply(lambda __response__: GetInstanceResult(
|
517
|
-
allow_fewer_zones_deployment=pulumi.get(__response__, 'allow_fewer_zones_deployment'),
|
518
507
|
authorization_mode=pulumi.get(__response__, 'authorization_mode'),
|
519
508
|
automated_backup_configs=pulumi.get(__response__, 'automated_backup_configs'),
|
520
509
|
backup_collection=pulumi.get(__response__, 'backup_collection'),
|
@@ -24,7 +24,6 @@ class InstanceArgs:
|
|
24
24
|
instance_id: pulumi.Input[_builtins.str],
|
25
25
|
location: pulumi.Input[_builtins.str],
|
26
26
|
shard_count: pulumi.Input[_builtins.int],
|
27
|
-
allow_fewer_zones_deployment: Optional[pulumi.Input[_builtins.bool]] = None,
|
28
27
|
authorization_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
29
28
|
automated_backup_config: Optional[pulumi.Input['InstanceAutomatedBackupConfigArgs']] = None,
|
30
29
|
cross_instance_replication_config: Optional[pulumi.Input['InstanceCrossInstanceReplicationConfigArgs']] = None,
|
@@ -57,10 +56,6 @@ class InstanceArgs:
|
|
57
56
|
* Must be unique within a location
|
58
57
|
:param pulumi.Input[_builtins.str] location: Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource type `memorystore.googleapis.com/CertificateAuthority`.
|
59
58
|
:param pulumi.Input[_builtins.int] shard_count: Required. Number of shards for the instance.
|
60
|
-
:param pulumi.Input[_builtins.bool] allow_fewer_zones_deployment: Allows customers to specify if they are okay with deploying a multi-zone
|
61
|
-
instance in less than 3 zones. Once set, if there is a zonal outage during
|
62
|
-
the instance creation, the instance will only be deployed in 2 zones, and
|
63
|
-
stay within the 2 zones for its lifecycle.
|
64
59
|
:param pulumi.Input[_builtins.str] authorization_mode: Optional. Immutable. Authorization mode of the instance. Possible values:
|
65
60
|
AUTH_DISABLED
|
66
61
|
IAM_AUTH
|
@@ -109,8 +104,6 @@ class InstanceArgs:
|
|
109
104
|
pulumi.set(__self__, "instance_id", instance_id)
|
110
105
|
pulumi.set(__self__, "location", location)
|
111
106
|
pulumi.set(__self__, "shard_count", shard_count)
|
112
|
-
if allow_fewer_zones_deployment is not None:
|
113
|
-
pulumi.set(__self__, "allow_fewer_zones_deployment", allow_fewer_zones_deployment)
|
114
107
|
if authorization_mode is not None:
|
115
108
|
pulumi.set(__self__, "authorization_mode", authorization_mode)
|
116
109
|
if automated_backup_config is not None:
|
@@ -198,21 +191,6 @@ class InstanceArgs:
|
|
198
191
|
def shard_count(self, value: pulumi.Input[_builtins.int]):
|
199
192
|
pulumi.set(self, "shard_count", value)
|
200
193
|
|
201
|
-
@_builtins.property
|
202
|
-
@pulumi.getter(name="allowFewerZonesDeployment")
|
203
|
-
def allow_fewer_zones_deployment(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
204
|
-
"""
|
205
|
-
Allows customers to specify if they are okay with deploying a multi-zone
|
206
|
-
instance in less than 3 zones. Once set, if there is a zonal outage during
|
207
|
-
the instance creation, the instance will only be deployed in 2 zones, and
|
208
|
-
stay within the 2 zones for its lifecycle.
|
209
|
-
"""
|
210
|
-
return pulumi.get(self, "allow_fewer_zones_deployment")
|
211
|
-
|
212
|
-
@allow_fewer_zones_deployment.setter
|
213
|
-
def allow_fewer_zones_deployment(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
214
|
-
pulumi.set(self, "allow_fewer_zones_deployment", value)
|
215
|
-
|
216
194
|
@_builtins.property
|
217
195
|
@pulumi.getter(name="authorizationMode")
|
218
196
|
def authorization_mode(self) -> Optional[pulumi.Input[_builtins.str]]:
|
@@ -482,7 +460,6 @@ class InstanceArgs:
|
|
482
460
|
@pulumi.input_type
|
483
461
|
class _InstanceState:
|
484
462
|
def __init__(__self__, *,
|
485
|
-
allow_fewer_zones_deployment: Optional[pulumi.Input[_builtins.bool]] = None,
|
486
463
|
authorization_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
487
464
|
automated_backup_config: Optional[pulumi.Input['InstanceAutomatedBackupConfigArgs']] = None,
|
488
465
|
backup_collection: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -524,10 +501,6 @@ class _InstanceState:
|
|
524
501
|
zone_distribution_config: Optional[pulumi.Input['InstanceZoneDistributionConfigArgs']] = None):
|
525
502
|
"""
|
526
503
|
Input properties used for looking up and filtering Instance resources.
|
527
|
-
:param pulumi.Input[_builtins.bool] allow_fewer_zones_deployment: Allows customers to specify if they are okay with deploying a multi-zone
|
528
|
-
instance in less than 3 zones. Once set, if there is a zonal outage during
|
529
|
-
the instance creation, the instance will only be deployed in 2 zones, and
|
530
|
-
stay within the 2 zones for its lifecycle.
|
531
504
|
:param pulumi.Input[_builtins.str] authorization_mode: Optional. Immutable. Authorization mode of the instance. Possible values:
|
532
505
|
AUTH_DISABLED
|
533
506
|
IAM_AUTH
|
@@ -617,8 +590,6 @@ class _InstanceState:
|
|
617
590
|
:param pulumi.Input['InstanceZoneDistributionConfigArgs'] zone_distribution_config: Zone distribution configuration for allocation of instance resources.
|
618
591
|
Structure is documented below.
|
619
592
|
"""
|
620
|
-
if allow_fewer_zones_deployment is not None:
|
621
|
-
pulumi.set(__self__, "allow_fewer_zones_deployment", allow_fewer_zones_deployment)
|
622
593
|
if authorization_mode is not None:
|
623
594
|
pulumi.set(__self__, "authorization_mode", authorization_mode)
|
624
595
|
if automated_backup_config is not None:
|
@@ -707,21 +678,6 @@ class _InstanceState:
|
|
707
678
|
if zone_distribution_config is not None:
|
708
679
|
pulumi.set(__self__, "zone_distribution_config", zone_distribution_config)
|
709
680
|
|
710
|
-
@_builtins.property
|
711
|
-
@pulumi.getter(name="allowFewerZonesDeployment")
|
712
|
-
def allow_fewer_zones_deployment(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
713
|
-
"""
|
714
|
-
Allows customers to specify if they are okay with deploying a multi-zone
|
715
|
-
instance in less than 3 zones. Once set, if there is a zonal outage during
|
716
|
-
the instance creation, the instance will only be deployed in 2 zones, and
|
717
|
-
stay within the 2 zones for its lifecycle.
|
718
|
-
"""
|
719
|
-
return pulumi.get(self, "allow_fewer_zones_deployment")
|
720
|
-
|
721
|
-
@allow_fewer_zones_deployment.setter
|
722
|
-
def allow_fewer_zones_deployment(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
723
|
-
pulumi.set(self, "allow_fewer_zones_deployment", value)
|
724
|
-
|
725
681
|
@_builtins.property
|
726
682
|
@pulumi.getter(name="authorizationMode")
|
727
683
|
def authorization_mode(self) -> Optional[pulumi.Input[_builtins.str]]:
|
@@ -1249,7 +1205,6 @@ class Instance(pulumi.CustomResource):
|
|
1249
1205
|
def __init__(__self__,
|
1250
1206
|
resource_name: str,
|
1251
1207
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1252
|
-
allow_fewer_zones_deployment: Optional[pulumi.Input[_builtins.bool]] = None,
|
1253
1208
|
authorization_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
1254
1209
|
automated_backup_config: Optional[pulumi.Input[Union['InstanceAutomatedBackupConfigArgs', 'InstanceAutomatedBackupConfigArgsDict']]] = None,
|
1255
1210
|
cross_instance_replication_config: Optional[pulumi.Input[Union['InstanceCrossInstanceReplicationConfigArgs', 'InstanceCrossInstanceReplicationConfigArgsDict']]] = None,
|
@@ -1371,7 +1326,6 @@ class Instance(pulumi.CustomResource):
|
|
1371
1326
|
engine_configs={
|
1372
1327
|
"maxmemory-policy": "volatile-ttl",
|
1373
1328
|
},
|
1374
|
-
allow_fewer_zones_deployment=True,
|
1375
1329
|
zone_distribution_config={
|
1376
1330
|
"mode": "SINGLE_ZONE",
|
1377
1331
|
"zone": "us-central1-b",
|
@@ -1582,10 +1536,6 @@ class Instance(pulumi.CustomResource):
|
|
1582
1536
|
|
1583
1537
|
:param str resource_name: The name of the resource.
|
1584
1538
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1585
|
-
:param pulumi.Input[_builtins.bool] allow_fewer_zones_deployment: Allows customers to specify if they are okay with deploying a multi-zone
|
1586
|
-
instance in less than 3 zones. Once set, if there is a zonal outage during
|
1587
|
-
the instance creation, the instance will only be deployed in 2 zones, and
|
1588
|
-
stay within the 2 zones for its lifecycle.
|
1589
1539
|
:param pulumi.Input[_builtins.str] authorization_mode: Optional. Immutable. Authorization mode of the instance. Possible values:
|
1590
1540
|
AUTH_DISABLED
|
1591
1541
|
IAM_AUTH
|
@@ -1744,7 +1694,6 @@ class Instance(pulumi.CustomResource):
|
|
1744
1694
|
engine_configs={
|
1745
1695
|
"maxmemory-policy": "volatile-ttl",
|
1746
1696
|
},
|
1747
|
-
allow_fewer_zones_deployment=True,
|
1748
1697
|
zone_distribution_config={
|
1749
1698
|
"mode": "SINGLE_ZONE",
|
1750
1699
|
"zone": "us-central1-b",
|
@@ -1968,7 +1917,6 @@ class Instance(pulumi.CustomResource):
|
|
1968
1917
|
def _internal_init(__self__,
|
1969
1918
|
resource_name: str,
|
1970
1919
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1971
|
-
allow_fewer_zones_deployment: Optional[pulumi.Input[_builtins.bool]] = None,
|
1972
1920
|
authorization_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
1973
1921
|
automated_backup_config: Optional[pulumi.Input[Union['InstanceAutomatedBackupConfigArgs', 'InstanceAutomatedBackupConfigArgsDict']]] = None,
|
1974
1922
|
cross_instance_replication_config: Optional[pulumi.Input[Union['InstanceCrossInstanceReplicationConfigArgs', 'InstanceCrossInstanceReplicationConfigArgsDict']]] = None,
|
@@ -2001,7 +1949,6 @@ class Instance(pulumi.CustomResource):
|
|
2001
1949
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
2002
1950
|
__props__ = InstanceArgs.__new__(InstanceArgs)
|
2003
1951
|
|
2004
|
-
__props__.__dict__["allow_fewer_zones_deployment"] = allow_fewer_zones_deployment
|
2005
1952
|
__props__.__dict__["authorization_mode"] = authorization_mode
|
2006
1953
|
__props__.__dict__["automated_backup_config"] = automated_backup_config
|
2007
1954
|
__props__.__dict__["cross_instance_replication_config"] = cross_instance_replication_config
|
@@ -2059,7 +2006,6 @@ class Instance(pulumi.CustomResource):
|
|
2059
2006
|
def get(resource_name: str,
|
2060
2007
|
id: pulumi.Input[str],
|
2061
2008
|
opts: Optional[pulumi.ResourceOptions] = None,
|
2062
|
-
allow_fewer_zones_deployment: Optional[pulumi.Input[_builtins.bool]] = None,
|
2063
2009
|
authorization_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
2064
2010
|
automated_backup_config: Optional[pulumi.Input[Union['InstanceAutomatedBackupConfigArgs', 'InstanceAutomatedBackupConfigArgsDict']]] = None,
|
2065
2011
|
backup_collection: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -2106,10 +2052,6 @@ class Instance(pulumi.CustomResource):
|
|
2106
2052
|
:param str resource_name: The unique name of the resulting resource.
|
2107
2053
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
2108
2054
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
2109
|
-
:param pulumi.Input[_builtins.bool] allow_fewer_zones_deployment: Allows customers to specify if they are okay with deploying a multi-zone
|
2110
|
-
instance in less than 3 zones. Once set, if there is a zonal outage during
|
2111
|
-
the instance creation, the instance will only be deployed in 2 zones, and
|
2112
|
-
stay within the 2 zones for its lifecycle.
|
2113
2055
|
:param pulumi.Input[_builtins.str] authorization_mode: Optional. Immutable. Authorization mode of the instance. Possible values:
|
2114
2056
|
AUTH_DISABLED
|
2115
2057
|
IAM_AUTH
|
@@ -2203,7 +2145,6 @@ class Instance(pulumi.CustomResource):
|
|
2203
2145
|
|
2204
2146
|
__props__ = _InstanceState.__new__(_InstanceState)
|
2205
2147
|
|
2206
|
-
__props__.__dict__["allow_fewer_zones_deployment"] = allow_fewer_zones_deployment
|
2207
2148
|
__props__.__dict__["authorization_mode"] = authorization_mode
|
2208
2149
|
__props__.__dict__["automated_backup_config"] = automated_backup_config
|
2209
2150
|
__props__.__dict__["backup_collection"] = backup_collection
|
@@ -2245,17 +2186,6 @@ class Instance(pulumi.CustomResource):
|
|
2245
2186
|
__props__.__dict__["zone_distribution_config"] = zone_distribution_config
|
2246
2187
|
return Instance(resource_name, opts=opts, __props__=__props__)
|
2247
2188
|
|
2248
|
-
@_builtins.property
|
2249
|
-
@pulumi.getter(name="allowFewerZonesDeployment")
|
2250
|
-
def allow_fewer_zones_deployment(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
2251
|
-
"""
|
2252
|
-
Allows customers to specify if they are okay with deploying a multi-zone
|
2253
|
-
instance in less than 3 zones. Once set, if there is a zonal outage during
|
2254
|
-
the instance creation, the instance will only be deployed in 2 zones, and
|
2255
|
-
stay within the 2 zones for its lifecycle.
|
2256
|
-
"""
|
2257
|
-
return pulumi.get(self, "allow_fewer_zones_deployment")
|
2258
|
-
|
2259
2189
|
@_builtins.property
|
2260
2190
|
@pulumi.getter(name="authorizationMode")
|
2261
2191
|
def authorization_mode(self) -> pulumi.Output[_builtins.str]:
|
@@ -23,7 +23,8 @@ class DashboardArgs:
|
|
23
23
|
project: Optional[pulumi.Input[_builtins.str]] = None):
|
24
24
|
"""
|
25
25
|
The set of arguments for constructing a Dashboard resource.
|
26
|
-
:param pulumi.Input[_builtins.str] dashboard_json: The JSON representation of a dashboard, following the format at
|
26
|
+
:param pulumi.Input[_builtins.str] dashboard_json: The JSON representation of a dashboard, following the format at
|
27
|
+
https://cloud.google.com/monitoring/api/ref_v3/rest/v1/projects.dashboards.
|
27
28
|
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
|
28
29
|
If it is not provided, the provider project is used.
|
29
30
|
"""
|
@@ -35,7 +36,8 @@ class DashboardArgs:
|
|
35
36
|
@pulumi.getter(name="dashboardJson")
|
36
37
|
def dashboard_json(self) -> pulumi.Input[_builtins.str]:
|
37
38
|
"""
|
38
|
-
The JSON representation of a dashboard, following the format at
|
39
|
+
The JSON representation of a dashboard, following the format at
|
40
|
+
https://cloud.google.com/monitoring/api/ref_v3/rest/v1/projects.dashboards.
|
39
41
|
"""
|
40
42
|
return pulumi.get(self, "dashboard_json")
|
41
43
|
|
@@ -64,7 +66,8 @@ class _DashboardState:
|
|
64
66
|
project: Optional[pulumi.Input[_builtins.str]] = None):
|
65
67
|
"""
|
66
68
|
Input properties used for looking up and filtering Dashboard resources.
|
67
|
-
:param pulumi.Input[_builtins.str] dashboard_json: The JSON representation of a dashboard, following the format at
|
69
|
+
:param pulumi.Input[_builtins.str] dashboard_json: The JSON representation of a dashboard, following the format at
|
70
|
+
https://cloud.google.com/monitoring/api/ref_v3/rest/v1/projects.dashboards.
|
68
71
|
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
|
69
72
|
If it is not provided, the provider project is used.
|
70
73
|
"""
|
@@ -77,7 +80,8 @@ class _DashboardState:
|
|
77
80
|
@pulumi.getter(name="dashboardJson")
|
78
81
|
def dashboard_json(self) -> Optional[pulumi.Input[_builtins.str]]:
|
79
82
|
"""
|
80
|
-
The JSON representation of a dashboard, following the format at
|
83
|
+
The JSON representation of a dashboard, following the format at
|
84
|
+
https://cloud.google.com/monitoring/api/ref_v3/rest/v1/projects.dashboards.
|
81
85
|
"""
|
82
86
|
return pulumi.get(self, "dashboard_json")
|
83
87
|
|
@@ -227,7 +231,8 @@ class Dashboard(pulumi.CustomResource):
|
|
227
231
|
|
228
232
|
:param str resource_name: The name of the resource.
|
229
233
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
230
|
-
:param pulumi.Input[_builtins.str] dashboard_json: The JSON representation of a dashboard, following the format at
|
234
|
+
:param pulumi.Input[_builtins.str] dashboard_json: The JSON representation of a dashboard, following the format at
|
235
|
+
https://cloud.google.com/monitoring/api/ref_v3/rest/v1/projects.dashboards.
|
231
236
|
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
|
232
237
|
If it is not provided, the provider project is used.
|
233
238
|
"""
|
@@ -403,7 +408,8 @@ class Dashboard(pulumi.CustomResource):
|
|
403
408
|
:param str resource_name: The unique name of the resulting resource.
|
404
409
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
405
410
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
406
|
-
:param pulumi.Input[_builtins.str] dashboard_json: The JSON representation of a dashboard, following the format at
|
411
|
+
:param pulumi.Input[_builtins.str] dashboard_json: The JSON representation of a dashboard, following the format at
|
412
|
+
https://cloud.google.com/monitoring/api/ref_v3/rest/v1/projects.dashboards.
|
407
413
|
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
|
408
414
|
If it is not provided, the provider project is used.
|
409
415
|
"""
|
@@ -419,7 +425,8 @@ class Dashboard(pulumi.CustomResource):
|
|
419
425
|
@pulumi.getter(name="dashboardJson")
|
420
426
|
def dashboard_json(self) -> pulumi.Output[_builtins.str]:
|
421
427
|
"""
|
422
|
-
The JSON representation of a dashboard, following the format at
|
428
|
+
The JSON representation of a dashboard, following the format at
|
429
|
+
https://cloud.google.com/monitoring/api/ref_v3/rest/v1/projects.dashboards.
|
423
430
|
"""
|
424
431
|
return pulumi.get(self, "dashboard_json")
|
425
432
|
|