pulumi-gcp 8.42.0a1756968228__py3-none-any.whl → 9.0.0a1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_gcp/__init__.py +35 -48
- pulumi_gcp/alloydb/backup.py +8 -4
- pulumi_gcp/alloydb/cluster.py +56 -10
- pulumi_gcp/alloydb/get_cluster.py +12 -1
- pulumi_gcp/alloydb/instance.py +10 -4
- pulumi_gcp/alloydb/user.py +8 -4
- pulumi_gcp/apigee/_inputs.py +151 -108
- pulumi_gcp/apigee/keystores_aliases_key_cert_file.py +52 -40
- pulumi_gcp/apigee/outputs.py +92 -88
- pulumi_gcp/artifactregistry/__init__.py +1 -0
- pulumi_gcp/artifactregistry/_inputs.py +0 -12
- pulumi_gcp/artifactregistry/get_npm_package.py +251 -0
- pulumi_gcp/artifactregistry/outputs.py +8 -16
- pulumi_gcp/beyondcorp/__init__.py +0 -5
- pulumi_gcp/beyondcorp/_inputs.py +0 -312
- pulumi_gcp/beyondcorp/outputs.py +0 -200
- pulumi_gcp/bigquery/_inputs.py +114 -4
- pulumi_gcp/bigquery/app_profile.py +52 -19
- pulumi_gcp/bigquery/dataset_access.py +8 -4
- pulumi_gcp/bigquery/outputs.py +75 -5
- pulumi_gcp/bigquery/table.py +21 -7
- pulumi_gcp/bigtable/app_profile.py +50 -15
- pulumi_gcp/bigtable/get_table_iam_policy.py +16 -18
- pulumi_gcp/bigtable/table.py +42 -42
- pulumi_gcp/bigtable/table_iam_binding.py +43 -43
- pulumi_gcp/bigtable/table_iam_member.py +43 -43
- pulumi_gcp/bigtable/table_iam_policy.py +43 -43
- pulumi_gcp/billing/_inputs.py +0 -6
- pulumi_gcp/billing/outputs.py +0 -4
- pulumi_gcp/certificatemanager/__init__.py +1 -0
- pulumi_gcp/certificatemanager/get_dns_authorization.py +229 -0
- pulumi_gcp/certificatemanager/outputs.py +41 -0
- pulumi_gcp/cloudbuild/_inputs.py +289 -45
- pulumi_gcp/cloudbuild/bitbucket_server_config.py +2 -6
- pulumi_gcp/cloudbuild/get_trigger.py +12 -1
- pulumi_gcp/cloudbuild/outputs.py +366 -30
- pulumi_gcp/cloudbuild/trigger.py +156 -0
- pulumi_gcp/cloudbuild/worker_pool.py +23 -34
- pulumi_gcp/cloudfunctions/function.py +8 -4
- pulumi_gcp/cloudfunctionsv2/_inputs.py +23 -21
- pulumi_gcp/cloudfunctionsv2/outputs.py +17 -16
- pulumi_gcp/cloudrunv2/_inputs.py +23 -26
- pulumi_gcp/cloudrunv2/outputs.py +28 -30
- pulumi_gcp/cloudrunv2/service.py +18 -12
- pulumi_gcp/cloudtasks/queue.py +98 -2
- pulumi_gcp/colab/_inputs.py +1 -114
- pulumi_gcp/colab/outputs.py +1 -106
- pulumi_gcp/composer/environment.py +49 -28
- pulumi_gcp/compute/_inputs.py +80 -0
- pulumi_gcp/compute/backend_bucket.py +54 -0
- pulumi_gcp/compute/backend_service.py +54 -0
- pulumi_gcp/compute/get_backend_bucket.py +12 -1
- pulumi_gcp/compute/get_backend_service.py +12 -1
- pulumi_gcp/compute/instance_from_machine_image.py +110 -75
- pulumi_gcp/compute/instance_from_template.py +110 -75
- pulumi_gcp/compute/instance_group_manager.py +14 -7
- pulumi_gcp/compute/instance_template.py +14 -7
- pulumi_gcp/compute/interconnect.py +8 -4
- pulumi_gcp/compute/network_peering_routes_config.py +0 -100
- pulumi_gcp/compute/organization_security_policy.py +83 -51
- pulumi_gcp/compute/outputs.py +128 -0
- pulumi_gcp/compute/packet_mirroring.py +6 -0
- pulumi_gcp/compute/region_instance_group_manager.py +14 -7
- pulumi_gcp/compute/subnetwork.py +0 -98
- pulumi_gcp/config/__init__.pyi +2 -2
- pulumi_gcp/config/vars.py +4 -4
- pulumi_gcp/container/_inputs.py +20 -0
- pulumi_gcp/container/aws_cluster.py +42 -28
- pulumi_gcp/container/aws_node_pool.py +42 -28
- pulumi_gcp/container/azure_cluster.py +70 -35
- pulumi_gcp/container/azure_node_pool.py +42 -28
- pulumi_gcp/container/outputs.py +25 -0
- pulumi_gcp/databasemigrationservice/connection_profile.py +4 -2
- pulumi_gcp/databasemigrationservice/migration_job.py +4 -2
- pulumi_gcp/dataplex/asset.py +21 -28
- pulumi_gcp/dataplex/zone.py +21 -28
- pulumi_gcp/dataproc/cluster.py +14 -21
- pulumi_gcp/dataproc/workflow_template.py +105 -42
- pulumi_gcp/diagflow/_inputs.py +152 -0
- pulumi_gcp/diagflow/cx_agent.py +425 -0
- pulumi_gcp/diagflow/outputs.py +143 -0
- pulumi_gcp/firebase/app_check_play_integrity_config.py +4 -8
- pulumi_gcp/firebase/app_check_recaptcha_enterprise_config.py +2 -4
- pulumi_gcp/firebase/app_check_service_config.py +6 -12
- pulumi_gcp/firebase/app_hosting_backend.py +4 -8
- pulumi_gcp/firebase/app_hosting_build.py +4 -8
- pulumi_gcp/firebase/app_hosting_traffic.py +6 -12
- pulumi_gcp/firebase/data_connect_service.py +4 -8
- pulumi_gcp/firebase/database_instance.py +4 -8
- pulumi_gcp/gkehub/_inputs.py +0 -60
- pulumi_gcp/gkehub/get_membership.py +1 -12
- pulumi_gcp/gkehub/membership.py +0 -70
- pulumi_gcp/gkehub/outputs.py +0 -36
- pulumi_gcp/iap/__init__.py +4 -0
- pulumi_gcp/iap/_inputs.py +130 -0
- pulumi_gcp/iap/get_web_region_forwarding_rule_service_iam_policy.py +182 -0
- pulumi_gcp/iap/outputs.py +76 -0
- pulumi_gcp/{beyondcorp/application_iam_binding.py → iap/web_region_forwarding_rule_service_iam_binding.py} +321 -314
- pulumi_gcp/{beyondcorp/application_iam_member.py → iap/web_region_forwarding_rule_service_iam_member.py} +321 -314
- pulumi_gcp/iap/web_region_forwarding_rule_service_iam_policy.py +910 -0
- pulumi_gcp/kms/autokey_config.py +0 -2
- pulumi_gcp/kms/key_handle.py +0 -2
- pulumi_gcp/logging/billing_account_bucket_config.py +21 -7
- pulumi_gcp/logging/folder_bucket_config.py +21 -7
- pulumi_gcp/logging/organization_bucket_config.py +21 -7
- pulumi_gcp/memorystore/get_instance.py +1 -12
- pulumi_gcp/memorystore/instance.py +0 -70
- pulumi_gcp/monitoring/dashboard.py +14 -7
- pulumi_gcp/networkservices/lb_traffic_extension.py +24 -23
- pulumi_gcp/notebooks/__init__.py +0 -1
- pulumi_gcp/oracledatabase/cloud_vm_cluster.py +3 -3
- pulumi_gcp/organizations/project.py +21 -7
- pulumi_gcp/projects/service.py +2 -4
- pulumi_gcp/provider.py +20 -20
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/cluster.py +0 -70
- pulumi_gcp/redis/get_cluster.py +1 -12
- pulumi_gcp/saasruntime/__init__.py +11 -0
- pulumi_gcp/saasruntime/_inputs.py +55 -0
- pulumi_gcp/saasruntime/outputs.py +39 -0
- pulumi_gcp/saasruntime/saa_s.py +815 -0
- pulumi_gcp/securesourcemanager/_inputs.py +20 -19
- pulumi_gcp/securesourcemanager/outputs.py +15 -14
- pulumi_gcp/serviceaccount/get_account_key.py +1 -21
- pulumi_gcp/sql/database_instance.py +61 -7
- pulumi_gcp/sql/get_database_instance.py +12 -1
- pulumi_gcp/sql/outputs.py +11 -0
- pulumi_gcp/sql/user.py +61 -0
- pulumi_gcp/storage/_inputs.py +7 -7
- pulumi_gcp/storage/bucket.py +14 -7
- pulumi_gcp/storage/outputs.py +7 -7
- pulumi_gcp/tpu/__init__.py +0 -2
- pulumi_gcp/tpu/_inputs.py +0 -93
- pulumi_gcp/tpu/outputs.py +0 -72
- pulumi_gcp/vertex/_inputs.py +8 -9
- pulumi_gcp/vertex/ai_endpoint.py +2 -4
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +0 -2
- pulumi_gcp/vertex/ai_index.py +24 -23
- pulumi_gcp/vertex/outputs.py +7 -8
- {pulumi_gcp-8.42.0a1756968228.dist-info → pulumi_gcp-9.0.0a1.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.42.0a1756968228.dist-info → pulumi_gcp-9.0.0a1.dist-info}/RECORD +143 -141
- pulumi_gcp/beyondcorp/application.py +0 -746
- pulumi_gcp/beyondcorp/application_iam_policy.py +0 -903
- pulumi_gcp/beyondcorp/get_application_iam_policy.py +0 -182
- pulumi_gcp/notebooks/location.py +0 -285
- pulumi_gcp/tpu/get_tensorflow_versions.py +0 -184
- pulumi_gcp/tpu/node.py +0 -1062
- {pulumi_gcp-8.42.0a1756968228.dist-info → pulumi_gcp-9.0.0a1.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.42.0a1756968228.dist-info → pulumi_gcp-9.0.0a1.dist-info}/top_level.txt +0 -0
@@ -23,10 +23,10 @@ class LbTrafficExtensionArgs:
|
|
23
23
|
def __init__(__self__, *,
|
24
24
|
extension_chains: pulumi.Input[Sequence[pulumi.Input['LbTrafficExtensionExtensionChainArgs']]],
|
25
25
|
forwarding_rules: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
|
26
|
+
load_balancing_scheme: pulumi.Input[_builtins.str],
|
26
27
|
location: pulumi.Input[_builtins.str],
|
27
28
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
28
29
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
29
|
-
load_balancing_scheme: Optional[pulumi.Input[_builtins.str]] = None,
|
30
30
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
31
31
|
project: Optional[pulumi.Input[_builtins.str]] = None):
|
32
32
|
"""
|
@@ -39,28 +39,27 @@ class LbTrafficExtensionArgs:
|
|
39
39
|
Structure is documented below.
|
40
40
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] forwarding_rules: A list of references to the forwarding rules to which this service extension is attached to.
|
41
41
|
At least one forwarding rule is required. There can be only one LBTrafficExtension resource per forwarding rule.
|
42
|
+
:param pulumi.Input[_builtins.str] load_balancing_scheme: All backend services and forwarding rules referenced by this extension must share the same load balancing scheme.
|
43
|
+
For more information, refer to [Choosing a load balancer](https://cloud.google.com/load-balancing/docs/backend-service) and
|
44
|
+
[Supported application load balancers](https://cloud.google.com/service-extensions/docs/callouts-overview#supported-lbs).
|
45
|
+
Possible values are: `INTERNAL_MANAGED`, `EXTERNAL_MANAGED`.
|
42
46
|
:param pulumi.Input[_builtins.str] location: The location of the traffic extension
|
43
47
|
:param pulumi.Input[_builtins.str] description: A human-readable description of the resource.
|
44
48
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Set of labels associated with the LbTrafficExtension resource.
|
45
49
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
46
50
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
47
|
-
:param pulumi.Input[_builtins.str] load_balancing_scheme: All backend services and forwarding rules referenced by this extension must share the same load balancing scheme.
|
48
|
-
For more information, refer to [Choosing a load balancer](https://cloud.google.com/load-balancing/docs/backend-service) and
|
49
|
-
[Supported application load balancers](https://cloud.google.com/service-extensions/docs/callouts-overview#supported-lbs).
|
50
|
-
Possible values are: `INTERNAL_MANAGED`, `EXTERNAL_MANAGED`.
|
51
51
|
:param pulumi.Input[_builtins.str] name: Name of the LbTrafficExtension resource in the following format: projects/{project}/locations/{location}/lbTrafficExtensions/{lbTrafficExtension}.
|
52
52
|
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
|
53
53
|
If it is not provided, the provider project is used.
|
54
54
|
"""
|
55
55
|
pulumi.set(__self__, "extension_chains", extension_chains)
|
56
56
|
pulumi.set(__self__, "forwarding_rules", forwarding_rules)
|
57
|
+
pulumi.set(__self__, "load_balancing_scheme", load_balancing_scheme)
|
57
58
|
pulumi.set(__self__, "location", location)
|
58
59
|
if description is not None:
|
59
60
|
pulumi.set(__self__, "description", description)
|
60
61
|
if labels is not None:
|
61
62
|
pulumi.set(__self__, "labels", labels)
|
62
|
-
if load_balancing_scheme is not None:
|
63
|
-
pulumi.set(__self__, "load_balancing_scheme", load_balancing_scheme)
|
64
63
|
if name is not None:
|
65
64
|
pulumi.set(__self__, "name", name)
|
66
65
|
if project is not None:
|
@@ -96,6 +95,21 @@ class LbTrafficExtensionArgs:
|
|
96
95
|
def forwarding_rules(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
|
97
96
|
pulumi.set(self, "forwarding_rules", value)
|
98
97
|
|
98
|
+
@_builtins.property
|
99
|
+
@pulumi.getter(name="loadBalancingScheme")
|
100
|
+
def load_balancing_scheme(self) -> pulumi.Input[_builtins.str]:
|
101
|
+
"""
|
102
|
+
All backend services and forwarding rules referenced by this extension must share the same load balancing scheme.
|
103
|
+
For more information, refer to [Choosing a load balancer](https://cloud.google.com/load-balancing/docs/backend-service) and
|
104
|
+
[Supported application load balancers](https://cloud.google.com/service-extensions/docs/callouts-overview#supported-lbs).
|
105
|
+
Possible values are: `INTERNAL_MANAGED`, `EXTERNAL_MANAGED`.
|
106
|
+
"""
|
107
|
+
return pulumi.get(self, "load_balancing_scheme")
|
108
|
+
|
109
|
+
@load_balancing_scheme.setter
|
110
|
+
def load_balancing_scheme(self, value: pulumi.Input[_builtins.str]):
|
111
|
+
pulumi.set(self, "load_balancing_scheme", value)
|
112
|
+
|
99
113
|
@_builtins.property
|
100
114
|
@pulumi.getter
|
101
115
|
def location(self) -> pulumi.Input[_builtins.str]:
|
@@ -134,21 +148,6 @@ class LbTrafficExtensionArgs:
|
|
134
148
|
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
135
149
|
pulumi.set(self, "labels", value)
|
136
150
|
|
137
|
-
@_builtins.property
|
138
|
-
@pulumi.getter(name="loadBalancingScheme")
|
139
|
-
def load_balancing_scheme(self) -> Optional[pulumi.Input[_builtins.str]]:
|
140
|
-
"""
|
141
|
-
All backend services and forwarding rules referenced by this extension must share the same load balancing scheme.
|
142
|
-
For more information, refer to [Choosing a load balancer](https://cloud.google.com/load-balancing/docs/backend-service) and
|
143
|
-
[Supported application load balancers](https://cloud.google.com/service-extensions/docs/callouts-overview#supported-lbs).
|
144
|
-
Possible values are: `INTERNAL_MANAGED`, `EXTERNAL_MANAGED`.
|
145
|
-
"""
|
146
|
-
return pulumi.get(self, "load_balancing_scheme")
|
147
|
-
|
148
|
-
@load_balancing_scheme.setter
|
149
|
-
def load_balancing_scheme(self, value: Optional[pulumi.Input[_builtins.str]]):
|
150
|
-
pulumi.set(self, "load_balancing_scheme", value)
|
151
|
-
|
152
151
|
@_builtins.property
|
153
152
|
@pulumi.getter
|
154
153
|
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
@@ -523,6 +522,8 @@ class LbTrafficExtension(pulumi.CustomResource):
|
|
523
522
|
raise TypeError("Missing required property 'forwarding_rules'")
|
524
523
|
__props__.__dict__["forwarding_rules"] = forwarding_rules
|
525
524
|
__props__.__dict__["labels"] = labels
|
525
|
+
if load_balancing_scheme is None and not opts.urn:
|
526
|
+
raise TypeError("Missing required property 'load_balancing_scheme'")
|
526
527
|
__props__.__dict__["load_balancing_scheme"] = load_balancing_scheme
|
527
528
|
if location is None and not opts.urn:
|
528
529
|
raise TypeError("Missing required property 'location'")
|
@@ -650,7 +651,7 @@ class LbTrafficExtension(pulumi.CustomResource):
|
|
650
651
|
|
651
652
|
@_builtins.property
|
652
653
|
@pulumi.getter(name="loadBalancingScheme")
|
653
|
-
def load_balancing_scheme(self) -> pulumi.Output[
|
654
|
+
def load_balancing_scheme(self) -> pulumi.Output[_builtins.str]:
|
654
655
|
"""
|
655
656
|
All backend services and forwarding rules referenced by this extension must share the same load balancing scheme.
|
656
657
|
For more information, refer to [Choosing a load balancer](https://cloud.google.com/load-balancing/docs/backend-service) and
|
pulumi_gcp/notebooks/__init__.py
CHANGED
@@ -13,7 +13,6 @@ from .instance import *
|
|
13
13
|
from .instance_iam_binding import *
|
14
14
|
from .instance_iam_member import *
|
15
15
|
from .instance_iam_policy import *
|
16
|
-
from .location import *
|
17
16
|
from .runtime import *
|
18
17
|
from .runtime_iam_binding import *
|
19
18
|
from .runtime_iam_member import *
|
@@ -1202,7 +1202,7 @@ class CloudVmCluster(pulumi.CustomResource):
|
|
1202
1202
|
|
1203
1203
|
@_builtins.property
|
1204
1204
|
@pulumi.getter(name="backupOdbSubnet")
|
1205
|
-
def backup_odb_subnet(self) -> pulumi.Output[
|
1205
|
+
def backup_odb_subnet(self) -> pulumi.Output[_builtins.str]:
|
1206
1206
|
"""
|
1207
1207
|
The name of the backup OdbSubnet associated with the VM Cluster.
|
1208
1208
|
Format:
|
@@ -1323,7 +1323,7 @@ class CloudVmCluster(pulumi.CustomResource):
|
|
1323
1323
|
|
1324
1324
|
@_builtins.property
|
1325
1325
|
@pulumi.getter(name="odbNetwork")
|
1326
|
-
def odb_network(self) -> pulumi.Output[
|
1326
|
+
def odb_network(self) -> pulumi.Output[_builtins.str]:
|
1327
1327
|
"""
|
1328
1328
|
The name of the OdbNetwork associated with the VM Cluster.
|
1329
1329
|
Format:
|
@@ -1335,7 +1335,7 @@ class CloudVmCluster(pulumi.CustomResource):
|
|
1335
1335
|
|
1336
1336
|
@_builtins.property
|
1337
1337
|
@pulumi.getter(name="odbSubnet")
|
1338
|
-
def odb_subnet(self) -> pulumi.Output[
|
1338
|
+
def odb_subnet(self) -> pulumi.Output[_builtins.str]:
|
1339
1339
|
"""
|
1340
1340
|
The name of the OdbSubnet associated with the VM Cluster for
|
1341
1341
|
IP allocation. Format:
|
@@ -30,7 +30,9 @@ class ProjectArgs:
|
|
30
30
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
|
31
31
|
"""
|
32
32
|
The set of arguments for constructing a Project resource.
|
33
|
-
:param pulumi.Input[_builtins.bool] auto_create_network: Create the 'default' network automatically.
|
33
|
+
:param pulumi.Input[_builtins.bool] auto_create_network: Create the 'default' network automatically. Default true. If set to false, the default network will be deleted. Note
|
34
|
+
that, for quota purposes, you will still need to have 1 network slot available to create the project successfully, even
|
35
|
+
if you set auto_create_network to false, since the network will exist momentarily.
|
34
36
|
:param pulumi.Input[_builtins.str] billing_account: The alphanumeric ID of the billing account this project
|
35
37
|
belongs to. The user or service account performing this operation with the provider
|
36
38
|
must have at mininum Billing Account User privileges (`roles/billing.user`) on the billing account.
|
@@ -77,7 +79,9 @@ class ProjectArgs:
|
|
77
79
|
@pulumi.getter(name="autoCreateNetwork")
|
78
80
|
def auto_create_network(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
79
81
|
"""
|
80
|
-
Create the 'default' network automatically.
|
82
|
+
Create the 'default' network automatically. Default true. If set to false, the default network will be deleted. Note
|
83
|
+
that, for quota purposes, you will still need to have 1 network slot available to create the project successfully, even
|
84
|
+
if you set auto_create_network to false, since the network will exist momentarily.
|
81
85
|
"""
|
82
86
|
return pulumi.get(self, "auto_create_network")
|
83
87
|
|
@@ -211,7 +215,9 @@ class _ProjectState:
|
|
211
215
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
|
212
216
|
"""
|
213
217
|
Input properties used for looking up and filtering Project resources.
|
214
|
-
:param pulumi.Input[_builtins.bool] auto_create_network: Create the 'default' network automatically.
|
218
|
+
:param pulumi.Input[_builtins.bool] auto_create_network: Create the 'default' network automatically. Default true. If set to false, the default network will be deleted. Note
|
219
|
+
that, for quota purposes, you will still need to have 1 network slot available to create the project successfully, even
|
220
|
+
if you set auto_create_network to false, since the network will exist momentarily.
|
215
221
|
:param pulumi.Input[_builtins.str] billing_account: The alphanumeric ID of the billing account this project
|
216
222
|
belongs to. The user or service account performing this operation with the provider
|
217
223
|
must have at mininum Billing Account User privileges (`roles/billing.user`) on the billing account.
|
@@ -267,7 +273,9 @@ class _ProjectState:
|
|
267
273
|
@pulumi.getter(name="autoCreateNetwork")
|
268
274
|
def auto_create_network(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
269
275
|
"""
|
270
|
-
Create the 'default' network automatically.
|
276
|
+
Create the 'default' network automatically. Default true. If set to false, the default network will be deleted. Note
|
277
|
+
that, for quota purposes, you will still need to have 1 network slot available to create the project successfully, even
|
278
|
+
if you set auto_create_network to false, since the network will exist momentarily.
|
271
279
|
"""
|
272
280
|
return pulumi.get(self, "auto_create_network")
|
273
281
|
|
@@ -515,7 +523,9 @@ class Project(pulumi.CustomResource):
|
|
515
523
|
|
516
524
|
:param str resource_name: The name of the resource.
|
517
525
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
518
|
-
:param pulumi.Input[_builtins.bool] auto_create_network: Create the 'default' network automatically.
|
526
|
+
:param pulumi.Input[_builtins.bool] auto_create_network: Create the 'default' network automatically. Default true. If set to false, the default network will be deleted. Note
|
527
|
+
that, for quota purposes, you will still need to have 1 network slot available to create the project successfully, even
|
528
|
+
if you set auto_create_network to false, since the network will exist momentarily.
|
519
529
|
:param pulumi.Input[_builtins.str] billing_account: The alphanumeric ID of the billing account this project
|
520
530
|
belongs to. The user or service account performing this operation with the provider
|
521
531
|
must have at mininum Billing Account User privileges (`roles/billing.user`) on the billing account.
|
@@ -698,7 +708,9 @@ class Project(pulumi.CustomResource):
|
|
698
708
|
:param str resource_name: The unique name of the resulting resource.
|
699
709
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
700
710
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
701
|
-
:param pulumi.Input[_builtins.bool] auto_create_network: Create the 'default' network automatically.
|
711
|
+
:param pulumi.Input[_builtins.bool] auto_create_network: Create the 'default' network automatically. Default true. If set to false, the default network will be deleted. Note
|
712
|
+
that, for quota purposes, you will still need to have 1 network slot available to create the project successfully, even
|
713
|
+
if you set auto_create_network to false, since the network will exist momentarily.
|
702
714
|
:param pulumi.Input[_builtins.str] billing_account: The alphanumeric ID of the billing account this project
|
703
715
|
belongs to. The user or service account performing this operation with the provider
|
704
716
|
must have at mininum Billing Account User privileges (`roles/billing.user`) on the billing account.
|
@@ -747,7 +759,9 @@ class Project(pulumi.CustomResource):
|
|
747
759
|
@pulumi.getter(name="autoCreateNetwork")
|
748
760
|
def auto_create_network(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
749
761
|
"""
|
750
|
-
Create the 'default' network automatically.
|
762
|
+
Create the 'default' network automatically. Default true. If set to false, the default network will be deleted. Note
|
763
|
+
that, for quota purposes, you will still need to have 1 network slot available to create the project successfully, even
|
764
|
+
if you set auto_create_network to false, since the network will exist momentarily.
|
751
765
|
"""
|
752
766
|
return pulumi.get(self, "auto_create_network")
|
753
767
|
|
pulumi_gcp/projects/service.py
CHANGED
@@ -232,8 +232,7 @@ class Service(pulumi.CustomResource):
|
|
232
232
|
|
233
233
|
project = gcp.projects.Service("project",
|
234
234
|
project="your-project-id",
|
235
|
-
service="iam.googleapis.com"
|
236
|
-
disable_on_destroy=False)
|
235
|
+
service="iam.googleapis.com")
|
237
236
|
```
|
238
237
|
|
239
238
|
## Import
|
@@ -287,8 +286,7 @@ class Service(pulumi.CustomResource):
|
|
287
286
|
|
288
287
|
project = gcp.projects.Service("project",
|
289
288
|
project="your-project-id",
|
290
|
-
service="iam.googleapis.com"
|
291
|
-
disable_on_destroy=False)
|
289
|
+
service="iam.googleapis.com")
|
292
290
|
```
|
293
291
|
|
294
292
|
## Import
|
pulumi_gcp/provider.py
CHANGED
@@ -178,6 +178,7 @@ class ProviderArgs:
|
|
178
178
|
resource_manager_v3_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
179
179
|
runtime_config_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
180
180
|
runtimeconfig_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
181
|
+
saas_runtime_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
181
182
|
scopes: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
182
183
|
secret_manager_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
183
184
|
secret_manager_regional_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -202,7 +203,6 @@ class ProviderArgs:
|
|
202
203
|
storage_transfer_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
203
204
|
tags_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
204
205
|
tags_location_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
205
|
-
tpu_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
206
206
|
tpu_v2_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
207
207
|
transcoder_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
208
208
|
universe_domain: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -537,6 +537,8 @@ class ProviderArgs:
|
|
537
537
|
pulumi.set(__self__, "runtime_config_custom_endpoint", runtime_config_custom_endpoint)
|
538
538
|
if runtimeconfig_custom_endpoint is not None:
|
539
539
|
pulumi.set(__self__, "runtimeconfig_custom_endpoint", runtimeconfig_custom_endpoint)
|
540
|
+
if saas_runtime_custom_endpoint is not None:
|
541
|
+
pulumi.set(__self__, "saas_runtime_custom_endpoint", saas_runtime_custom_endpoint)
|
540
542
|
if scopes is not None:
|
541
543
|
pulumi.set(__self__, "scopes", scopes)
|
542
544
|
if secret_manager_custom_endpoint is not None:
|
@@ -585,8 +587,6 @@ class ProviderArgs:
|
|
585
587
|
pulumi.set(__self__, "tags_custom_endpoint", tags_custom_endpoint)
|
586
588
|
if tags_location_custom_endpoint is not None:
|
587
589
|
pulumi.set(__self__, "tags_location_custom_endpoint", tags_location_custom_endpoint)
|
588
|
-
if tpu_custom_endpoint is not None:
|
589
|
-
pulumi.set(__self__, "tpu_custom_endpoint", tpu_custom_endpoint)
|
590
590
|
if tpu_v2_custom_endpoint is not None:
|
591
591
|
pulumi.set(__self__, "tpu_v2_custom_endpoint", tpu_v2_custom_endpoint)
|
592
592
|
if transcoder_custom_endpoint is not None:
|
@@ -2034,6 +2034,15 @@ class ProviderArgs:
|
|
2034
2034
|
def runtimeconfig_custom_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]):
|
2035
2035
|
pulumi.set(self, "runtimeconfig_custom_endpoint", value)
|
2036
2036
|
|
2037
|
+
@_builtins.property
|
2038
|
+
@pulumi.getter(name="saasRuntimeCustomEndpoint")
|
2039
|
+
def saas_runtime_custom_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]:
|
2040
|
+
return pulumi.get(self, "saas_runtime_custom_endpoint")
|
2041
|
+
|
2042
|
+
@saas_runtime_custom_endpoint.setter
|
2043
|
+
def saas_runtime_custom_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]):
|
2044
|
+
pulumi.set(self, "saas_runtime_custom_endpoint", value)
|
2045
|
+
|
2037
2046
|
@_builtins.property
|
2038
2047
|
@pulumi.getter
|
2039
2048
|
def scopes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
@@ -2250,15 +2259,6 @@ class ProviderArgs:
|
|
2250
2259
|
def tags_location_custom_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]):
|
2251
2260
|
pulumi.set(self, "tags_location_custom_endpoint", value)
|
2252
2261
|
|
2253
|
-
@_builtins.property
|
2254
|
-
@pulumi.getter(name="tpuCustomEndpoint")
|
2255
|
-
def tpu_custom_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]:
|
2256
|
-
return pulumi.get(self, "tpu_custom_endpoint")
|
2257
|
-
|
2258
|
-
@tpu_custom_endpoint.setter
|
2259
|
-
def tpu_custom_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]):
|
2260
|
-
pulumi.set(self, "tpu_custom_endpoint", value)
|
2261
|
-
|
2262
2262
|
@_builtins.property
|
2263
2263
|
@pulumi.getter(name="tpuV2CustomEndpoint")
|
2264
2264
|
def tpu_v2_custom_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]:
|
@@ -2523,6 +2523,7 @@ class Provider(pulumi.ProviderResource):
|
|
2523
2523
|
resource_manager_v3_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
2524
2524
|
runtime_config_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
2525
2525
|
runtimeconfig_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
2526
|
+
saas_runtime_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
2526
2527
|
scopes: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
2527
2528
|
secret_manager_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
2528
2529
|
secret_manager_regional_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -2547,7 +2548,6 @@ class Provider(pulumi.ProviderResource):
|
|
2547
2548
|
storage_transfer_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
2548
2549
|
tags_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
2549
2550
|
tags_location_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
2550
|
-
tpu_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
2551
2551
|
tpu_v2_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
2552
2552
|
transcoder_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
2553
2553
|
universe_domain: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -2754,6 +2754,7 @@ class Provider(pulumi.ProviderResource):
|
|
2754
2754
|
resource_manager_v3_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
2755
2755
|
runtime_config_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
2756
2756
|
runtimeconfig_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
2757
|
+
saas_runtime_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
2757
2758
|
scopes: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
2758
2759
|
secret_manager_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
2759
2760
|
secret_manager_regional_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -2778,7 +2779,6 @@ class Provider(pulumi.ProviderResource):
|
|
2778
2779
|
storage_transfer_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
2779
2780
|
tags_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
2780
2781
|
tags_location_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
2781
|
-
tpu_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
2782
2782
|
tpu_v2_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
2783
2783
|
transcoder_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
2784
2784
|
universe_domain: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -2961,6 +2961,7 @@ class Provider(pulumi.ProviderResource):
|
|
2961
2961
|
__props__.__dict__["resource_manager_v3_custom_endpoint"] = resource_manager_v3_custom_endpoint
|
2962
2962
|
__props__.__dict__["runtime_config_custom_endpoint"] = runtime_config_custom_endpoint
|
2963
2963
|
__props__.__dict__["runtimeconfig_custom_endpoint"] = runtimeconfig_custom_endpoint
|
2964
|
+
__props__.__dict__["saas_runtime_custom_endpoint"] = saas_runtime_custom_endpoint
|
2964
2965
|
__props__.__dict__["scopes"] = pulumi.Output.from_input(scopes).apply(pulumi.runtime.to_json) if scopes is not None else None
|
2965
2966
|
__props__.__dict__["secret_manager_custom_endpoint"] = secret_manager_custom_endpoint
|
2966
2967
|
__props__.__dict__["secret_manager_regional_custom_endpoint"] = secret_manager_regional_custom_endpoint
|
@@ -2985,7 +2986,6 @@ class Provider(pulumi.ProviderResource):
|
|
2985
2986
|
__props__.__dict__["storage_transfer_custom_endpoint"] = storage_transfer_custom_endpoint
|
2986
2987
|
__props__.__dict__["tags_custom_endpoint"] = tags_custom_endpoint
|
2987
2988
|
__props__.__dict__["tags_location_custom_endpoint"] = tags_location_custom_endpoint
|
2988
|
-
__props__.__dict__["tpu_custom_endpoint"] = tpu_custom_endpoint
|
2989
2989
|
__props__.__dict__["tpu_v2_custom_endpoint"] = tpu_v2_custom_endpoint
|
2990
2990
|
__props__.__dict__["transcoder_custom_endpoint"] = transcoder_custom_endpoint
|
2991
2991
|
__props__.__dict__["universe_domain"] = universe_domain
|
@@ -3767,6 +3767,11 @@ class Provider(pulumi.ProviderResource):
|
|
3767
3767
|
def runtimeconfig_custom_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]:
|
3768
3768
|
return pulumi.get(self, "runtimeconfig_custom_endpoint")
|
3769
3769
|
|
3770
|
+
@_builtins.property
|
3771
|
+
@pulumi.getter(name="saasRuntimeCustomEndpoint")
|
3772
|
+
def saas_runtime_custom_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]:
|
3773
|
+
return pulumi.get(self, "saas_runtime_custom_endpoint")
|
3774
|
+
|
3770
3775
|
@_builtins.property
|
3771
3776
|
@pulumi.getter(name="secretManagerCustomEndpoint")
|
3772
3777
|
def secret_manager_custom_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]:
|
@@ -3882,11 +3887,6 @@ class Provider(pulumi.ProviderResource):
|
|
3882
3887
|
def tags_location_custom_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]:
|
3883
3888
|
return pulumi.get(self, "tags_location_custom_endpoint")
|
3884
3889
|
|
3885
|
-
@_builtins.property
|
3886
|
-
@pulumi.getter(name="tpuCustomEndpoint")
|
3887
|
-
def tpu_custom_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]:
|
3888
|
-
return pulumi.get(self, "tpu_custom_endpoint")
|
3889
|
-
|
3890
3890
|
@_builtins.property
|
3891
3891
|
@pulumi.getter(name="tpuV2CustomEndpoint")
|
3892
3892
|
def tpu_v2_custom_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]:
|
pulumi_gcp/pulumi-plugin.json
CHANGED
pulumi_gcp/redis/cluster.py
CHANGED
@@ -22,7 +22,6 @@ __all__ = ['ClusterArgs', 'Cluster']
|
|
22
22
|
class ClusterArgs:
|
23
23
|
def __init__(__self__, *,
|
24
24
|
shard_count: pulumi.Input[_builtins.int],
|
25
|
-
allow_fewer_zones_deployment: Optional[pulumi.Input[_builtins.bool]] = None,
|
26
25
|
authorization_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
27
26
|
automated_backup_config: Optional[pulumi.Input['ClusterAutomatedBackupConfigArgs']] = None,
|
28
27
|
cross_cluster_replication_config: Optional[pulumi.Input['ClusterCrossClusterReplicationConfigArgs']] = None,
|
@@ -44,10 +43,6 @@ class ClusterArgs:
|
|
44
43
|
"""
|
45
44
|
The set of arguments for constructing a Cluster resource.
|
46
45
|
:param pulumi.Input[_builtins.int] shard_count: Required. Number of shards for the Redis cluster.
|
47
|
-
:param pulumi.Input[_builtins.bool] allow_fewer_zones_deployment: Allows customers to specify if they are okay with deploying a multi-zone
|
48
|
-
cluster in less than 3 zones. Once set, if there is a zonal outage during
|
49
|
-
the cluster creation, the cluster will only be deployed in 2 zones, and
|
50
|
-
stay within the 2 zones for its lifecycle.
|
51
46
|
:param pulumi.Input[_builtins.str] authorization_mode: Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster.
|
52
47
|
Default value is `AUTH_MODE_DISABLED`.
|
53
48
|
Possible values are: `AUTH_MODE_UNSPECIFIED`, `AUTH_MODE_IAM_AUTH`, `AUTH_MODE_DISABLED`.
|
@@ -91,8 +86,6 @@ class ClusterArgs:
|
|
91
86
|
Structure is documented below.
|
92
87
|
"""
|
93
88
|
pulumi.set(__self__, "shard_count", shard_count)
|
94
|
-
if allow_fewer_zones_deployment is not None:
|
95
|
-
pulumi.set(__self__, "allow_fewer_zones_deployment", allow_fewer_zones_deployment)
|
96
89
|
if authorization_mode is not None:
|
97
90
|
pulumi.set(__self__, "authorization_mode", authorization_mode)
|
98
91
|
if automated_backup_config is not None:
|
@@ -142,21 +135,6 @@ class ClusterArgs:
|
|
142
135
|
def shard_count(self, value: pulumi.Input[_builtins.int]):
|
143
136
|
pulumi.set(self, "shard_count", value)
|
144
137
|
|
145
|
-
@_builtins.property
|
146
|
-
@pulumi.getter(name="allowFewerZonesDeployment")
|
147
|
-
def allow_fewer_zones_deployment(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
148
|
-
"""
|
149
|
-
Allows customers to specify if they are okay with deploying a multi-zone
|
150
|
-
cluster in less than 3 zones. Once set, if there is a zonal outage during
|
151
|
-
the cluster creation, the cluster will only be deployed in 2 zones, and
|
152
|
-
stay within the 2 zones for its lifecycle.
|
153
|
-
"""
|
154
|
-
return pulumi.get(self, "allow_fewer_zones_deployment")
|
155
|
-
|
156
|
-
@allow_fewer_zones_deployment.setter
|
157
|
-
def allow_fewer_zones_deployment(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
158
|
-
pulumi.set(self, "allow_fewer_zones_deployment", value)
|
159
|
-
|
160
138
|
@_builtins.property
|
161
139
|
@pulumi.getter(name="authorizationMode")
|
162
140
|
def authorization_mode(self) -> Optional[pulumi.Input[_builtins.str]]:
|
@@ -400,7 +378,6 @@ class ClusterArgs:
|
|
400
378
|
@pulumi.input_type
|
401
379
|
class _ClusterState:
|
402
380
|
def __init__(__self__, *,
|
403
|
-
allow_fewer_zones_deployment: Optional[pulumi.Input[_builtins.bool]] = None,
|
404
381
|
authorization_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
405
382
|
automated_backup_config: Optional[pulumi.Input['ClusterAutomatedBackupConfigArgs']] = None,
|
406
383
|
backup_collection: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -434,10 +411,6 @@ class _ClusterState:
|
|
434
411
|
zone_distribution_config: Optional[pulumi.Input['ClusterZoneDistributionConfigArgs']] = None):
|
435
412
|
"""
|
436
413
|
Input properties used for looking up and filtering Cluster resources.
|
437
|
-
:param pulumi.Input[_builtins.bool] allow_fewer_zones_deployment: Allows customers to specify if they are okay with deploying a multi-zone
|
438
|
-
cluster in less than 3 zones. Once set, if there is a zonal outage during
|
439
|
-
the cluster creation, the cluster will only be deployed in 2 zones, and
|
440
|
-
stay within the 2 zones for its lifecycle.
|
441
414
|
:param pulumi.Input[_builtins.str] authorization_mode: Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster.
|
442
415
|
Default value is `AUTH_MODE_DISABLED`.
|
443
416
|
Possible values are: `AUTH_MODE_UNSPECIFIED`, `AUTH_MODE_IAM_AUTH`, `AUTH_MODE_DISABLED`.
|
@@ -504,8 +477,6 @@ class _ClusterState:
|
|
504
477
|
:param pulumi.Input['ClusterZoneDistributionConfigArgs'] zone_distribution_config: Immutable. Zone distribution config for Memorystore Redis cluster.
|
505
478
|
Structure is documented below.
|
506
479
|
"""
|
507
|
-
if allow_fewer_zones_deployment is not None:
|
508
|
-
pulumi.set(__self__, "allow_fewer_zones_deployment", allow_fewer_zones_deployment)
|
509
480
|
if authorization_mode is not None:
|
510
481
|
pulumi.set(__self__, "authorization_mode", authorization_mode)
|
511
482
|
if automated_backup_config is not None:
|
@@ -569,21 +540,6 @@ class _ClusterState:
|
|
569
540
|
if zone_distribution_config is not None:
|
570
541
|
pulumi.set(__self__, "zone_distribution_config", zone_distribution_config)
|
571
542
|
|
572
|
-
@_builtins.property
|
573
|
-
@pulumi.getter(name="allowFewerZonesDeployment")
|
574
|
-
def allow_fewer_zones_deployment(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
575
|
-
"""
|
576
|
-
Allows customers to specify if they are okay with deploying a multi-zone
|
577
|
-
cluster in less than 3 zones. Once set, if there is a zonal outage during
|
578
|
-
the cluster creation, the cluster will only be deployed in 2 zones, and
|
579
|
-
stay within the 2 zones for its lifecycle.
|
580
|
-
"""
|
581
|
-
return pulumi.get(self, "allow_fewer_zones_deployment")
|
582
|
-
|
583
|
-
@allow_fewer_zones_deployment.setter
|
584
|
-
def allow_fewer_zones_deployment(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
585
|
-
pulumi.set(self, "allow_fewer_zones_deployment", value)
|
586
|
-
|
587
543
|
@_builtins.property
|
588
544
|
@pulumi.getter(name="authorizationMode")
|
589
545
|
def authorization_mode(self) -> Optional[pulumi.Input[_builtins.str]]:
|
@@ -997,7 +953,6 @@ class Cluster(pulumi.CustomResource):
|
|
997
953
|
def __init__(__self__,
|
998
954
|
resource_name: str,
|
999
955
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1000
|
-
allow_fewer_zones_deployment: Optional[pulumi.Input[_builtins.bool]] = None,
|
1001
956
|
authorization_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
1002
957
|
automated_backup_config: Optional[pulumi.Input[Union['ClusterAutomatedBackupConfigArgs', 'ClusterAutomatedBackupConfigArgsDict']]] = None,
|
1003
958
|
cross_cluster_replication_config: Optional[pulumi.Input[Union['ClusterCrossClusterReplicationConfigArgs', 'ClusterCrossClusterReplicationConfigArgsDict']]] = None,
|
@@ -1342,7 +1297,6 @@ class Cluster(pulumi.CustomResource):
|
|
1342
1297
|
"maxmemory-policy": "volatile-ttl",
|
1343
1298
|
},
|
1344
1299
|
deletion_protection_enabled=True,
|
1345
|
-
allow_fewer_zones_deployment=True,
|
1346
1300
|
zone_distribution_config={
|
1347
1301
|
"mode": "MULTI_ZONE",
|
1348
1302
|
},
|
@@ -1433,10 +1387,6 @@ class Cluster(pulumi.CustomResource):
|
|
1433
1387
|
|
1434
1388
|
:param str resource_name: The name of the resource.
|
1435
1389
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1436
|
-
:param pulumi.Input[_builtins.bool] allow_fewer_zones_deployment: Allows customers to specify if they are okay with deploying a multi-zone
|
1437
|
-
cluster in less than 3 zones. Once set, if there is a zonal outage during
|
1438
|
-
the cluster creation, the cluster will only be deployed in 2 zones, and
|
1439
|
-
stay within the 2 zones for its lifecycle.
|
1440
1390
|
:param pulumi.Input[_builtins.str] authorization_mode: Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster.
|
1441
1391
|
Default value is `AUTH_MODE_DISABLED`.
|
1442
1392
|
Possible values are: `AUTH_MODE_UNSPECIFIED`, `AUTH_MODE_IAM_AUTH`, `AUTH_MODE_DISABLED`.
|
@@ -1810,7 +1760,6 @@ class Cluster(pulumi.CustomResource):
|
|
1810
1760
|
"maxmemory-policy": "volatile-ttl",
|
1811
1761
|
},
|
1812
1762
|
deletion_protection_enabled=True,
|
1813
|
-
allow_fewer_zones_deployment=True,
|
1814
1763
|
zone_distribution_config={
|
1815
1764
|
"mode": "MULTI_ZONE",
|
1816
1765
|
},
|
@@ -1914,7 +1863,6 @@ class Cluster(pulumi.CustomResource):
|
|
1914
1863
|
def _internal_init(__self__,
|
1915
1864
|
resource_name: str,
|
1916
1865
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1917
|
-
allow_fewer_zones_deployment: Optional[pulumi.Input[_builtins.bool]] = None,
|
1918
1866
|
authorization_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
1919
1867
|
automated_backup_config: Optional[pulumi.Input[Union['ClusterAutomatedBackupConfigArgs', 'ClusterAutomatedBackupConfigArgsDict']]] = None,
|
1920
1868
|
cross_cluster_replication_config: Optional[pulumi.Input[Union['ClusterCrossClusterReplicationConfigArgs', 'ClusterCrossClusterReplicationConfigArgsDict']]] = None,
|
@@ -1943,7 +1891,6 @@ class Cluster(pulumi.CustomResource):
|
|
1943
1891
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
1944
1892
|
__props__ = ClusterArgs.__new__(ClusterArgs)
|
1945
1893
|
|
1946
|
-
__props__.__dict__["allow_fewer_zones_deployment"] = allow_fewer_zones_deployment
|
1947
1894
|
__props__.__dict__["authorization_mode"] = authorization_mode
|
1948
1895
|
__props__.__dict__["automated_backup_config"] = automated_backup_config
|
1949
1896
|
__props__.__dict__["cross_cluster_replication_config"] = cross_cluster_replication_config
|
@@ -1987,7 +1934,6 @@ class Cluster(pulumi.CustomResource):
|
|
1987
1934
|
def get(resource_name: str,
|
1988
1935
|
id: pulumi.Input[str],
|
1989
1936
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1990
|
-
allow_fewer_zones_deployment: Optional[pulumi.Input[_builtins.bool]] = None,
|
1991
1937
|
authorization_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
1992
1938
|
automated_backup_config: Optional[pulumi.Input[Union['ClusterAutomatedBackupConfigArgs', 'ClusterAutomatedBackupConfigArgsDict']]] = None,
|
1993
1939
|
backup_collection: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -2026,10 +1972,6 @@ class Cluster(pulumi.CustomResource):
|
|
2026
1972
|
:param str resource_name: The unique name of the resulting resource.
|
2027
1973
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
2028
1974
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
2029
|
-
:param pulumi.Input[_builtins.bool] allow_fewer_zones_deployment: Allows customers to specify if they are okay with deploying a multi-zone
|
2030
|
-
cluster in less than 3 zones. Once set, if there is a zonal outage during
|
2031
|
-
the cluster creation, the cluster will only be deployed in 2 zones, and
|
2032
|
-
stay within the 2 zones for its lifecycle.
|
2033
1975
|
:param pulumi.Input[_builtins.str] authorization_mode: Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster.
|
2034
1976
|
Default value is `AUTH_MODE_DISABLED`.
|
2035
1977
|
Possible values are: `AUTH_MODE_UNSPECIFIED`, `AUTH_MODE_IAM_AUTH`, `AUTH_MODE_DISABLED`.
|
@@ -2100,7 +2042,6 @@ class Cluster(pulumi.CustomResource):
|
|
2100
2042
|
|
2101
2043
|
__props__ = _ClusterState.__new__(_ClusterState)
|
2102
2044
|
|
2103
|
-
__props__.__dict__["allow_fewer_zones_deployment"] = allow_fewer_zones_deployment
|
2104
2045
|
__props__.__dict__["authorization_mode"] = authorization_mode
|
2105
2046
|
__props__.__dict__["automated_backup_config"] = automated_backup_config
|
2106
2047
|
__props__.__dict__["backup_collection"] = backup_collection
|
@@ -2134,17 +2075,6 @@ class Cluster(pulumi.CustomResource):
|
|
2134
2075
|
__props__.__dict__["zone_distribution_config"] = zone_distribution_config
|
2135
2076
|
return Cluster(resource_name, opts=opts, __props__=__props__)
|
2136
2077
|
|
2137
|
-
@_builtins.property
|
2138
|
-
@pulumi.getter(name="allowFewerZonesDeployment")
|
2139
|
-
def allow_fewer_zones_deployment(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
2140
|
-
"""
|
2141
|
-
Allows customers to specify if they are okay with deploying a multi-zone
|
2142
|
-
cluster in less than 3 zones. Once set, if there is a zonal outage during
|
2143
|
-
the cluster creation, the cluster will only be deployed in 2 zones, and
|
2144
|
-
stay within the 2 zones for its lifecycle.
|
2145
|
-
"""
|
2146
|
-
return pulumi.get(self, "allow_fewer_zones_deployment")
|
2147
|
-
|
2148
2078
|
@_builtins.property
|
2149
2079
|
@pulumi.getter(name="authorizationMode")
|
2150
2080
|
def authorization_mode(self) -> pulumi.Output[Optional[_builtins.str]]:
|
pulumi_gcp/redis/get_cluster.py
CHANGED
@@ -27,10 +27,7 @@ class GetClusterResult:
|
|
27
27
|
"""
|
28
28
|
A collection of values returned by getCluster.
|
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_cluster_replication_configs=None, deletion_protection_enabled=None, discovery_endpoints=None, gcs_sources=None, id=None, kms_key=None, maintenance_policies=None, maintenance_schedules=None, managed_backup_sources=None, managed_server_cas=None, name=None, node_type=None, persistence_configs=None, precise_size_gb=None, project=None, psc_configs=None, psc_connections=None, psc_service_attachments=None, redis_configs=None, region=None, replica_count=None, shard_count=None, size_gb=None, state=None, state_infos=None, transit_encryption_mode=None, uid=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)
|
@@ -128,11 +125,6 @@ class GetClusterResult:
|
|
128
125
|
raise TypeError("Expected argument 'zone_distribution_configs' to be a list")
|
129
126
|
pulumi.set(__self__, "zone_distribution_configs", zone_distribution_configs)
|
130
127
|
|
131
|
-
@_builtins.property
|
132
|
-
@pulumi.getter(name="allowFewerZonesDeployment")
|
133
|
-
def allow_fewer_zones_deployment(self) -> _builtins.bool:
|
134
|
-
return pulumi.get(self, "allow_fewer_zones_deployment")
|
135
|
-
|
136
128
|
@_builtins.property
|
137
129
|
@pulumi.getter(name="authorizationMode")
|
138
130
|
def authorization_mode(self) -> _builtins.str:
|
@@ -303,7 +295,6 @@ class AwaitableGetClusterResult(GetClusterResult):
|
|
303
295
|
if False:
|
304
296
|
yield self
|
305
297
|
return GetClusterResult(
|
306
|
-
allow_fewer_zones_deployment=self.allow_fewer_zones_deployment,
|
307
298
|
authorization_mode=self.authorization_mode,
|
308
299
|
automated_backup_configs=self.automated_backup_configs,
|
309
300
|
backup_collection=self.backup_collection,
|
@@ -369,7 +360,6 @@ def get_cluster(name: Optional[_builtins.str] = None,
|
|
369
360
|
__ret__ = pulumi.runtime.invoke('gcp:redis/getCluster:getCluster', __args__, opts=opts, typ=GetClusterResult).value
|
370
361
|
|
371
362
|
return AwaitableGetClusterResult(
|
372
|
-
allow_fewer_zones_deployment=pulumi.get(__ret__, 'allow_fewer_zones_deployment'),
|
373
363
|
authorization_mode=pulumi.get(__ret__, 'authorization_mode'),
|
374
364
|
automated_backup_configs=pulumi.get(__ret__, 'automated_backup_configs'),
|
375
365
|
backup_collection=pulumi.get(__ret__, 'backup_collection'),
|
@@ -432,7 +422,6 @@ def get_cluster_output(name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
432
422
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
433
423
|
__ret__ = pulumi.runtime.invoke_output('gcp:redis/getCluster:getCluster', __args__, opts=opts, typ=GetClusterResult)
|
434
424
|
return __ret__.apply(lambda __response__: GetClusterResult(
|
435
|
-
allow_fewer_zones_deployment=pulumi.get(__response__, 'allow_fewer_zones_deployment'),
|
436
425
|
authorization_mode=pulumi.get(__response__, 'authorization_mode'),
|
437
426
|
automated_backup_configs=pulumi.get(__response__, 'automated_backup_configs'),
|
438
427
|
backup_collection=pulumi.get(__response__, 'backup_collection'),
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import builtins as _builtins
|
6
|
+
from .. import _utilities
|
7
|
+
import typing
|
8
|
+
# Export this package's modules as members:
|
9
|
+
from .saa_s import *
|
10
|
+
from ._inputs import *
|
11
|
+
from . import outputs
|