pulumi-gcp 8.17.0a1738274430__py3-none-any.whl → 8.18.0__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 +115 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_resource.py +28 -0
- pulumi_gcp/alloydb/cluster.py +75 -7
- pulumi_gcp/alloydb/user.py +10 -1
- pulumi_gcp/apigee/_inputs.py +91 -0
- pulumi_gcp/apigee/endpoint_attachment.py +0 -64
- pulumi_gcp/apigee/environment.py +54 -0
- pulumi_gcp/apigee/outputs.py +54 -0
- pulumi_gcp/apihub/__init__.py +10 -0
- pulumi_gcp/apihub/_inputs.py +154 -0
- pulumi_gcp/apihub/api_hub_instance.py +784 -0
- pulumi_gcp/apihub/outputs.py +124 -0
- pulumi_gcp/assuredworkloads/workload.py +7 -7
- pulumi_gcp/beyondcorp/__init__.py +4 -0
- pulumi_gcp/beyondcorp/_inputs.py +130 -0
- pulumi_gcp/beyondcorp/get_security_gateway_iam_policy.py +180 -0
- pulumi_gcp/beyondcorp/outputs.py +76 -0
- pulumi_gcp/beyondcorp/security_gateway.py +52 -25
- pulumi_gcp/beyondcorp/security_gateway_iam_binding.py +1075 -0
- pulumi_gcp/beyondcorp/security_gateway_iam_member.py +1075 -0
- pulumi_gcp/beyondcorp/security_gateway_iam_policy.py +894 -0
- pulumi_gcp/bigquery/_inputs.py +33 -0
- pulumi_gcp/bigquery/dataset.py +7 -7
- pulumi_gcp/bigquery/outputs.py +36 -0
- pulumi_gcp/bigquery/table.py +61 -7
- pulumi_gcp/chronicle/__init__.py +1 -0
- pulumi_gcp/chronicle/_inputs.py +124 -0
- pulumi_gcp/chronicle/outputs.py +112 -0
- pulumi_gcp/chronicle/retrohunt.py +629 -0
- pulumi_gcp/cloudquota/s_quota_adjuster_settings.py +23 -23
- pulumi_gcp/cloudrunv2/_inputs.py +197 -0
- pulumi_gcp/cloudrunv2/get_service.py +12 -1
- pulumi_gcp/cloudrunv2/outputs.py +256 -0
- pulumi_gcp/cloudrunv2/service.py +159 -0
- pulumi_gcp/colab/__init__.py +5 -0
- pulumi_gcp/colab/_inputs.py +131 -0
- pulumi_gcp/colab/get_runtime_template_iam_policy.py +182 -0
- pulumi_gcp/colab/outputs.py +92 -0
- pulumi_gcp/colab/runtime.py +696 -0
- pulumi_gcp/colab/runtime_template_iam_binding.py +828 -0
- pulumi_gcp/colab/runtime_template_iam_member.py +828 -0
- pulumi_gcp/colab/runtime_template_iam_policy.py +667 -0
- pulumi_gcp/compute/__init__.py +4 -0
- pulumi_gcp/compute/_inputs.py +535 -9
- pulumi_gcp/compute/firewall_policy_rule.py +104 -22
- pulumi_gcp/compute/firewall_policy_with_rules.py +114 -42
- pulumi_gcp/compute/get_instance_template_iam_policy.py +159 -0
- pulumi_gcp/compute/get_network.py +3 -3
- pulumi_gcp/compute/instance_template_iam_binding.py +998 -0
- pulumi_gcp/compute/instance_template_iam_member.py +998 -0
- pulumi_gcp/compute/instance_template_iam_policy.py +817 -0
- pulumi_gcp/compute/interconnect_attachment.py +189 -2
- pulumi_gcp/compute/network.py +7 -7
- pulumi_gcp/compute/network_firewall_policy_rule.py +122 -10
- pulumi_gcp/compute/network_firewall_policy_with_rules.py +116 -44
- pulumi_gcp/compute/outputs.py +358 -6
- pulumi_gcp/compute/project_metadata_item.py +12 -0
- pulumi_gcp/compute/public_advertised_prefix.py +87 -0
- pulumi_gcp/compute/region_network_firewall_policy_rule.py +130 -10
- pulumi_gcp/compute/region_network_firewall_policy_with_rules.py +104 -32
- pulumi_gcp/compute/router_peer.py +227 -3
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +79 -20
- pulumi_gcp/container/outputs.py +75 -12
- pulumi_gcp/dataproc/_inputs.py +34 -0
- pulumi_gcp/dataproc/outputs.py +37 -0
- pulumi_gcp/dataproc/workflow_template.py +47 -0
- pulumi_gcp/filestore/get_instance.py +12 -1
- pulumi_gcp/filestore/instance.py +75 -0
- pulumi_gcp/firestore/field.py +60 -0
- pulumi_gcp/gemini/code_repository_index.py +29 -33
- pulumi_gcp/gemini/get_repository_group_iam_policy.py +28 -2
- pulumi_gcp/gemini/repository_group.py +76 -26
- pulumi_gcp/gemini/repository_group_iam_binding.py +258 -0
- pulumi_gcp/gemini/repository_group_iam_member.py +258 -0
- pulumi_gcp/gemini/repository_group_iam_policy.py +258 -0
- pulumi_gcp/gkehub/_inputs.py +20 -0
- pulumi_gcp/gkehub/membership_binding.py +6 -6
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
- pulumi_gcp/gkehub/namespace.py +4 -4
- pulumi_gcp/gkehub/outputs.py +26 -1
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +4 -4
- pulumi_gcp/iap/tunnel_dest_group.py +2 -2
- pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
- pulumi_gcp/kms/__init__.py +1 -0
- pulumi_gcp/kms/get_key_handles.py +172 -0
- pulumi_gcp/kms/outputs.py +45 -0
- pulumi_gcp/netapp/storage_pool.py +1 -1
- pulumi_gcp/networkconnectivity/spoke.py +76 -14
- pulumi_gcp/networksecurity/_inputs.py +72 -0
- pulumi_gcp/networksecurity/outputs.py +76 -0
- pulumi_gcp/networksecurity/security_profile.py +233 -7
- pulumi_gcp/networksecurity/security_profile_group.py +218 -0
- pulumi_gcp/organizations/__init__.py +1 -0
- pulumi_gcp/organizations/get_s.py +128 -0
- pulumi_gcp/organizations/outputs.py +63 -0
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/parametermanager/__init__.py +6 -0
- pulumi_gcp/parametermanager/get_parameter.py +211 -0
- pulumi_gcp/parametermanager/get_parameter_version.py +216 -0
- pulumi_gcp/parametermanager/get_parameters.py +140 -0
- pulumi_gcp/parametermanager/get_regional_parameter_version.py +235 -0
- pulumi_gcp/parametermanager/get_regional_parameters.py +157 -0
- pulumi_gcp/parametermanager/outputs.py +366 -0
- pulumi_gcp/parametermanager/parameter_version.py +496 -0
- pulumi_gcp/parametermanager/regional_parameter_version.py +10 -38
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pubsub/_inputs.py +477 -1
- pulumi_gcp/pubsub/outputs.py +631 -2
- pulumi_gcp/pubsub/subscription.py +6 -6
- pulumi_gcp/pubsub/topic.py +112 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/__init__.py +1 -0
- pulumi_gcp/redis/_inputs.py +342 -6
- pulumi_gcp/redis/cluster.py +223 -102
- pulumi_gcp/redis/cluster_user_created_connections.py +845 -0
- pulumi_gcp/redis/outputs.py +268 -4
- pulumi_gcp/resourcemanager/lien.py +12 -0
- pulumi_gcp/secretmanager/regional_secret.py +4 -0
- pulumi_gcp/secretmanager/regional_secret_version.py +12 -0
- pulumi_gcp/secretmanager/secret.py +4 -0
- pulumi_gcp/secretmanager/secret_version.py +12 -0
- pulumi_gcp/securityposture/posture.py +4 -0
- pulumi_gcp/securityposture/posture_deployment.py +4 -0
- pulumi_gcp/serviceaccount/get_s.py +98 -8
- pulumi_gcp/spanner/_inputs.py +68 -0
- pulumi_gcp/spanner/backup_schedule.py +70 -4
- pulumi_gcp/spanner/outputs.py +60 -0
- pulumi_gcp/storage/get_bucket_object_content.py +4 -4
- pulumi_gcp/vertex/ai_endpoint.py +4 -4
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
- pulumi_gcp/workflows/workflow.py +175 -0
- {pulumi_gcp-8.17.0a1738274430.dist-info → pulumi_gcp-8.18.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.17.0a1738274430.dist-info → pulumi_gcp-8.18.0.dist-info}/RECORD +137 -110
- {pulumi_gcp-8.17.0a1738274430.dist-info → pulumi_gcp-8.18.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.17.0a1738274430.dist-info → pulumi_gcp-8.18.0.dist-info}/top_level.txt +0 -0
pulumi_gcp/__init__.py
CHANGED
@@ -22,6 +22,8 @@ if typing.TYPE_CHECKING:
|
|
22
22
|
apigateway = __apigateway
|
23
23
|
import pulumi_gcp.apigee as __apigee
|
24
24
|
apigee = __apigee
|
25
|
+
import pulumi_gcp.apihub as __apihub
|
26
|
+
apihub = __apihub
|
25
27
|
import pulumi_gcp.appengine as __appengine
|
26
28
|
appengine = __appengine
|
27
29
|
import pulumi_gcp.apphub as __apphub
|
@@ -273,6 +275,7 @@ else:
|
|
273
275
|
alloydb = _utilities.lazy_import('pulumi_gcp.alloydb')
|
274
276
|
apigateway = _utilities.lazy_import('pulumi_gcp.apigateway')
|
275
277
|
apigee = _utilities.lazy_import('pulumi_gcp.apigee')
|
278
|
+
apihub = _utilities.lazy_import('pulumi_gcp.apihub')
|
276
279
|
appengine = _utilities.lazy_import('pulumi_gcp.appengine')
|
277
280
|
apphub = _utilities.lazy_import('pulumi_gcp.apphub')
|
278
281
|
applicationintegration = _utilities.lazy_import('pulumi_gcp.applicationintegration')
|
@@ -927,6 +930,14 @@ _utilities.register(
|
|
927
930
|
"gcp:apigee/targetServer:TargetServer": "TargetServer"
|
928
931
|
}
|
929
932
|
},
|
933
|
+
{
|
934
|
+
"pkg": "gcp",
|
935
|
+
"mod": "apihub/apiHubInstance",
|
936
|
+
"fqn": "pulumi_gcp.apihub",
|
937
|
+
"classes": {
|
938
|
+
"gcp:apihub/apiHubInstance:ApiHubInstance": "ApiHubInstance"
|
939
|
+
}
|
940
|
+
},
|
930
941
|
{
|
931
942
|
"pkg": "gcp",
|
932
943
|
"mod": "appengine/application",
|
@@ -1151,6 +1162,30 @@ _utilities.register(
|
|
1151
1162
|
"gcp:beyondcorp/securityGateway:SecurityGateway": "SecurityGateway"
|
1152
1163
|
}
|
1153
1164
|
},
|
1165
|
+
{
|
1166
|
+
"pkg": "gcp",
|
1167
|
+
"mod": "beyondcorp/securityGatewayIamBinding",
|
1168
|
+
"fqn": "pulumi_gcp.beyondcorp",
|
1169
|
+
"classes": {
|
1170
|
+
"gcp:beyondcorp/securityGatewayIamBinding:SecurityGatewayIamBinding": "SecurityGatewayIamBinding"
|
1171
|
+
}
|
1172
|
+
},
|
1173
|
+
{
|
1174
|
+
"pkg": "gcp",
|
1175
|
+
"mod": "beyondcorp/securityGatewayIamMember",
|
1176
|
+
"fqn": "pulumi_gcp.beyondcorp",
|
1177
|
+
"classes": {
|
1178
|
+
"gcp:beyondcorp/securityGatewayIamMember:SecurityGatewayIamMember": "SecurityGatewayIamMember"
|
1179
|
+
}
|
1180
|
+
},
|
1181
|
+
{
|
1182
|
+
"pkg": "gcp",
|
1183
|
+
"mod": "beyondcorp/securityGatewayIamPolicy",
|
1184
|
+
"fqn": "pulumi_gcp.beyondcorp",
|
1185
|
+
"classes": {
|
1186
|
+
"gcp:beyondcorp/securityGatewayIamPolicy:SecurityGatewayIamPolicy": "SecurityGatewayIamPolicy"
|
1187
|
+
}
|
1188
|
+
},
|
1154
1189
|
{
|
1155
1190
|
"pkg": "gcp",
|
1156
1191
|
"mod": "biglake/catalog",
|
@@ -1767,6 +1802,14 @@ _utilities.register(
|
|
1767
1802
|
"gcp:chronicle/referenceList:ReferenceList": "ReferenceList"
|
1768
1803
|
}
|
1769
1804
|
},
|
1805
|
+
{
|
1806
|
+
"pkg": "gcp",
|
1807
|
+
"mod": "chronicle/retrohunt",
|
1808
|
+
"fqn": "pulumi_gcp.chronicle",
|
1809
|
+
"classes": {
|
1810
|
+
"gcp:chronicle/retrohunt:Retrohunt": "Retrohunt"
|
1811
|
+
}
|
1812
|
+
},
|
1770
1813
|
{
|
1771
1814
|
"pkg": "gcp",
|
1772
1815
|
"mod": "chronicle/rule",
|
@@ -2239,6 +2282,14 @@ _utilities.register(
|
|
2239
2282
|
"gcp:cloudtasks/queueIamPolicy:QueueIamPolicy": "QueueIamPolicy"
|
2240
2283
|
}
|
2241
2284
|
},
|
2285
|
+
{
|
2286
|
+
"pkg": "gcp",
|
2287
|
+
"mod": "colab/runtime",
|
2288
|
+
"fqn": "pulumi_gcp.colab",
|
2289
|
+
"classes": {
|
2290
|
+
"gcp:colab/runtime:Runtime": "Runtime"
|
2291
|
+
}
|
2292
|
+
},
|
2242
2293
|
{
|
2243
2294
|
"pkg": "gcp",
|
2244
2295
|
"mod": "colab/runtimeTemplate",
|
@@ -2247,6 +2298,30 @@ _utilities.register(
|
|
2247
2298
|
"gcp:colab/runtimeTemplate:RuntimeTemplate": "RuntimeTemplate"
|
2248
2299
|
}
|
2249
2300
|
},
|
2301
|
+
{
|
2302
|
+
"pkg": "gcp",
|
2303
|
+
"mod": "colab/runtimeTemplateIamBinding",
|
2304
|
+
"fqn": "pulumi_gcp.colab",
|
2305
|
+
"classes": {
|
2306
|
+
"gcp:colab/runtimeTemplateIamBinding:RuntimeTemplateIamBinding": "RuntimeTemplateIamBinding"
|
2307
|
+
}
|
2308
|
+
},
|
2309
|
+
{
|
2310
|
+
"pkg": "gcp",
|
2311
|
+
"mod": "colab/runtimeTemplateIamMember",
|
2312
|
+
"fqn": "pulumi_gcp.colab",
|
2313
|
+
"classes": {
|
2314
|
+
"gcp:colab/runtimeTemplateIamMember:RuntimeTemplateIamMember": "RuntimeTemplateIamMember"
|
2315
|
+
}
|
2316
|
+
},
|
2317
|
+
{
|
2318
|
+
"pkg": "gcp",
|
2319
|
+
"mod": "colab/runtimeTemplateIamPolicy",
|
2320
|
+
"fqn": "pulumi_gcp.colab",
|
2321
|
+
"classes": {
|
2322
|
+
"gcp:colab/runtimeTemplateIamPolicy:RuntimeTemplateIamPolicy": "RuntimeTemplateIamPolicy"
|
2323
|
+
}
|
2324
|
+
},
|
2250
2325
|
{
|
2251
2326
|
"pkg": "gcp",
|
2252
2327
|
"mod": "composer/environment",
|
@@ -2679,6 +2754,30 @@ _utilities.register(
|
|
2679
2754
|
"gcp:compute/instanceTemplate:InstanceTemplate": "InstanceTemplate"
|
2680
2755
|
}
|
2681
2756
|
},
|
2757
|
+
{
|
2758
|
+
"pkg": "gcp",
|
2759
|
+
"mod": "compute/instanceTemplateIamBinding",
|
2760
|
+
"fqn": "pulumi_gcp.compute",
|
2761
|
+
"classes": {
|
2762
|
+
"gcp:compute/instanceTemplateIamBinding:InstanceTemplateIamBinding": "InstanceTemplateIamBinding"
|
2763
|
+
}
|
2764
|
+
},
|
2765
|
+
{
|
2766
|
+
"pkg": "gcp",
|
2767
|
+
"mod": "compute/instanceTemplateIamMember",
|
2768
|
+
"fqn": "pulumi_gcp.compute",
|
2769
|
+
"classes": {
|
2770
|
+
"gcp:compute/instanceTemplateIamMember:InstanceTemplateIamMember": "InstanceTemplateIamMember"
|
2771
|
+
}
|
2772
|
+
},
|
2773
|
+
{
|
2774
|
+
"pkg": "gcp",
|
2775
|
+
"mod": "compute/instanceTemplateIamPolicy",
|
2776
|
+
"fqn": "pulumi_gcp.compute",
|
2777
|
+
"classes": {
|
2778
|
+
"gcp:compute/instanceTemplateIamPolicy:InstanceTemplateIamPolicy": "InstanceTemplateIamPolicy"
|
2779
|
+
}
|
2780
|
+
},
|
2682
2781
|
{
|
2683
2782
|
"pkg": "gcp",
|
2684
2783
|
"mod": "compute/interconnect",
|
@@ -7095,6 +7194,14 @@ _utilities.register(
|
|
7095
7194
|
"gcp:parametermanager/parameter:Parameter": "Parameter"
|
7096
7195
|
}
|
7097
7196
|
},
|
7197
|
+
{
|
7198
|
+
"pkg": "gcp",
|
7199
|
+
"mod": "parametermanager/parameterVersion",
|
7200
|
+
"fqn": "pulumi_gcp.parametermanager",
|
7201
|
+
"classes": {
|
7202
|
+
"gcp:parametermanager/parameterVersion:ParameterVersion": "ParameterVersion"
|
7203
|
+
}
|
7204
|
+
},
|
7098
7205
|
{
|
7099
7206
|
"pkg": "gcp",
|
7100
7207
|
"mod": "parametermanager/regionalParameter",
|
@@ -7359,6 +7466,14 @@ _utilities.register(
|
|
7359
7466
|
"gcp:redis/cluster:Cluster": "Cluster"
|
7360
7467
|
}
|
7361
7468
|
},
|
7469
|
+
{
|
7470
|
+
"pkg": "gcp",
|
7471
|
+
"mod": "redis/clusterUserCreatedConnections",
|
7472
|
+
"fqn": "pulumi_gcp.redis",
|
7473
|
+
"classes": {
|
7474
|
+
"gcp:redis/clusterUserCreatedConnections:ClusterUserCreatedConnections": "ClusterUserCreatedConnections"
|
7475
|
+
}
|
7476
|
+
},
|
7362
7477
|
{
|
7363
7478
|
"pkg": "gcp",
|
7364
7479
|
"mod": "redis/instance",
|
@@ -68,11 +68,13 @@ class ServicePerimeterDryRunResourceArgs:
|
|
68
68
|
class _ServicePerimeterDryRunResourceState:
|
69
69
|
def __init__(__self__, *,
|
70
70
|
access_policy_id: Optional[pulumi.Input[str]] = None,
|
71
|
+
etag: Optional[pulumi.Input[str]] = None,
|
71
72
|
perimeter_name: Optional[pulumi.Input[str]] = None,
|
72
73
|
resource: Optional[pulumi.Input[str]] = None):
|
73
74
|
"""
|
74
75
|
Input properties used for looking up and filtering ServicePerimeterDryRunResource resources.
|
75
76
|
:param pulumi.Input[str] access_policy_id: The name of the Access Policy this resource belongs to.
|
77
|
+
:param pulumi.Input[str] etag: The perimeter etag is internally used to prevent overwriting the list of perimeter resources on PATCH calls. It is retrieved from the same GET perimeter API call that's used to get the current list of resources. The resource to add or remove is merged into that list and then this etag is sent with the PATCH call along with the updated resource list.
|
76
78
|
:param pulumi.Input[str] perimeter_name: The name of the Service Perimeter to add this resource to.
|
77
79
|
|
78
80
|
|
@@ -83,6 +85,8 @@ class _ServicePerimeterDryRunResourceState:
|
|
83
85
|
"""
|
84
86
|
if access_policy_id is not None:
|
85
87
|
pulumi.set(__self__, "access_policy_id", access_policy_id)
|
88
|
+
if etag is not None:
|
89
|
+
pulumi.set(__self__, "etag", etag)
|
86
90
|
if perimeter_name is not None:
|
87
91
|
pulumi.set(__self__, "perimeter_name", perimeter_name)
|
88
92
|
if resource is not None:
|
@@ -100,6 +104,18 @@ class _ServicePerimeterDryRunResourceState:
|
|
100
104
|
def access_policy_id(self, value: Optional[pulumi.Input[str]]):
|
101
105
|
pulumi.set(self, "access_policy_id", value)
|
102
106
|
|
107
|
+
@property
|
108
|
+
@pulumi.getter
|
109
|
+
def etag(self) -> Optional[pulumi.Input[str]]:
|
110
|
+
"""
|
111
|
+
The perimeter etag is internally used to prevent overwriting the list of perimeter resources on PATCH calls. It is retrieved from the same GET perimeter API call that's used to get the current list of resources. The resource to add or remove is merged into that list and then this etag is sent with the PATCH call along with the updated resource list.
|
112
|
+
"""
|
113
|
+
return pulumi.get(self, "etag")
|
114
|
+
|
115
|
+
@etag.setter
|
116
|
+
def etag(self, value: Optional[pulumi.Input[str]]):
|
117
|
+
pulumi.set(self, "etag", value)
|
118
|
+
|
103
119
|
@property
|
104
120
|
@pulumi.getter(name="perimeterName")
|
105
121
|
def perimeter_name(self) -> Optional[pulumi.Input[str]]:
|
@@ -305,6 +321,7 @@ class ServicePerimeterDryRunResource(pulumi.CustomResource):
|
|
305
321
|
raise TypeError("Missing required property 'resource'")
|
306
322
|
__props__.__dict__["resource"] = resource
|
307
323
|
__props__.__dict__["access_policy_id"] = None
|
324
|
+
__props__.__dict__["etag"] = None
|
308
325
|
super(ServicePerimeterDryRunResource, __self__).__init__(
|
309
326
|
'gcp:accesscontextmanager/servicePerimeterDryRunResource:ServicePerimeterDryRunResource',
|
310
327
|
resource_name,
|
@@ -316,6 +333,7 @@ class ServicePerimeterDryRunResource(pulumi.CustomResource):
|
|
316
333
|
id: pulumi.Input[str],
|
317
334
|
opts: Optional[pulumi.ResourceOptions] = None,
|
318
335
|
access_policy_id: Optional[pulumi.Input[str]] = None,
|
336
|
+
etag: Optional[pulumi.Input[str]] = None,
|
319
337
|
perimeter_name: Optional[pulumi.Input[str]] = None,
|
320
338
|
resource: Optional[pulumi.Input[str]] = None) -> 'ServicePerimeterDryRunResource':
|
321
339
|
"""
|
@@ -326,6 +344,7 @@ class ServicePerimeterDryRunResource(pulumi.CustomResource):
|
|
326
344
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
327
345
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
328
346
|
:param pulumi.Input[str] access_policy_id: The name of the Access Policy this resource belongs to.
|
347
|
+
:param pulumi.Input[str] etag: The perimeter etag is internally used to prevent overwriting the list of perimeter resources on PATCH calls. It is retrieved from the same GET perimeter API call that's used to get the current list of resources. The resource to add or remove is merged into that list and then this etag is sent with the PATCH call along with the updated resource list.
|
329
348
|
:param pulumi.Input[str] perimeter_name: The name of the Service Perimeter to add this resource to.
|
330
349
|
|
331
350
|
|
@@ -339,6 +358,7 @@ class ServicePerimeterDryRunResource(pulumi.CustomResource):
|
|
339
358
|
__props__ = _ServicePerimeterDryRunResourceState.__new__(_ServicePerimeterDryRunResourceState)
|
340
359
|
|
341
360
|
__props__.__dict__["access_policy_id"] = access_policy_id
|
361
|
+
__props__.__dict__["etag"] = etag
|
342
362
|
__props__.__dict__["perimeter_name"] = perimeter_name
|
343
363
|
__props__.__dict__["resource"] = resource
|
344
364
|
return ServicePerimeterDryRunResource(resource_name, opts=opts, __props__=__props__)
|
@@ -351,6 +371,14 @@ class ServicePerimeterDryRunResource(pulumi.CustomResource):
|
|
351
371
|
"""
|
352
372
|
return pulumi.get(self, "access_policy_id")
|
353
373
|
|
374
|
+
@property
|
375
|
+
@pulumi.getter
|
376
|
+
def etag(self) -> pulumi.Output[str]:
|
377
|
+
"""
|
378
|
+
The perimeter etag is internally used to prevent overwriting the list of perimeter resources on PATCH calls. It is retrieved from the same GET perimeter API call that's used to get the current list of resources. The resource to add or remove is merged into that list and then this etag is sent with the PATCH call along with the updated resource list.
|
379
|
+
"""
|
380
|
+
return pulumi.get(self, "etag")
|
381
|
+
|
354
382
|
@property
|
355
383
|
@pulumi.getter(name="perimeterName")
|
356
384
|
def perimeter_name(self) -> pulumi.Output[str]:
|
pulumi_gcp/alloydb/cluster.py
CHANGED
@@ -41,6 +41,7 @@ class ClusterArgs:
|
|
41
41
|
restore_backup_source: Optional[pulumi.Input['ClusterRestoreBackupSourceArgs']] = None,
|
42
42
|
restore_continuous_backup_source: Optional[pulumi.Input['ClusterRestoreContinuousBackupSourceArgs']] = None,
|
43
43
|
secondary_config: Optional[pulumi.Input['ClusterSecondaryConfigArgs']] = None,
|
44
|
+
skip_await_major_version_upgrade: Optional[pulumi.Input[bool]] = None,
|
44
45
|
subscription_type: Optional[pulumi.Input[str]] = None):
|
45
46
|
"""
|
46
47
|
The set of arguments for constructing a Cluster resource.
|
@@ -62,7 +63,8 @@ class ClusterArgs:
|
|
62
63
|
:param pulumi.Input['ClusterContinuousBackupConfigArgs'] continuous_backup_config: The continuous backup config for this cluster.
|
63
64
|
If no policy is provided then the default policy will be used. The default policy takes one backup a day and retains backups for 14 days.
|
64
65
|
Structure is documented below.
|
65
|
-
:param pulumi.Input[str] database_version: The database engine major version. This is an optional field and it's populated at the Cluster creation time.
|
66
|
+
:param pulumi.Input[str] database_version: The database engine major version. This is an optional field and it's populated at the Cluster creation time.
|
67
|
+
Note: Changing this field to a higer version results in upgrading the AlloyDB cluster which is an irreversible change.
|
66
68
|
:param pulumi.Input[str] deletion_policy: Policy to determine if the cluster should be deleted forcefully.
|
67
69
|
Deleting a cluster forcefully, deletes the cluster and all its associated instances within the cluster.
|
68
70
|
Deleting a Secondary cluster with a secondary instance REQUIRES setting deletion_policy = "FORCE" otherwise an error is returned. This is needed as there is no support to delete just the secondary instance, and the only way to delete secondary instance is to delete the associated secondary cluster forcefully which also deletes the secondary instance.
|
@@ -90,6 +92,9 @@ class ClusterArgs:
|
|
90
92
|
Structure is documented below.
|
91
93
|
:param pulumi.Input['ClusterSecondaryConfigArgs'] secondary_config: Configuration of the secondary cluster for Cross Region Replication. This should be set if and only if the cluster is of type SECONDARY.
|
92
94
|
Structure is documented below.
|
95
|
+
:param pulumi.Input[bool] skip_await_major_version_upgrade: Set to true to skip awaiting on the major version upgrade of the cluster.
|
96
|
+
Possible values: true, false
|
97
|
+
Default value: "true"
|
93
98
|
:param pulumi.Input[str] subscription_type: The subscrition type of cluster.
|
94
99
|
Possible values are: `TRIAL`, `STANDARD`.
|
95
100
|
"""
|
@@ -131,6 +136,8 @@ class ClusterArgs:
|
|
131
136
|
pulumi.set(__self__, "restore_continuous_backup_source", restore_continuous_backup_source)
|
132
137
|
if secondary_config is not None:
|
133
138
|
pulumi.set(__self__, "secondary_config", secondary_config)
|
139
|
+
if skip_await_major_version_upgrade is not None:
|
140
|
+
pulumi.set(__self__, "skip_await_major_version_upgrade", skip_await_major_version_upgrade)
|
134
141
|
if subscription_type is not None:
|
135
142
|
pulumi.set(__self__, "subscription_type", subscription_type)
|
136
143
|
|
@@ -222,7 +229,8 @@ class ClusterArgs:
|
|
222
229
|
@pulumi.getter(name="databaseVersion")
|
223
230
|
def database_version(self) -> Optional[pulumi.Input[str]]:
|
224
231
|
"""
|
225
|
-
The database engine major version. This is an optional field and it's populated at the Cluster creation time.
|
232
|
+
The database engine major version. This is an optional field and it's populated at the Cluster creation time.
|
233
|
+
Note: Changing this field to a higer version results in upgrading the AlloyDB cluster which is an irreversible change.
|
226
234
|
"""
|
227
235
|
return pulumi.get(self, "database_version")
|
228
236
|
|
@@ -400,6 +408,20 @@ class ClusterArgs:
|
|
400
408
|
def secondary_config(self, value: Optional[pulumi.Input['ClusterSecondaryConfigArgs']]):
|
401
409
|
pulumi.set(self, "secondary_config", value)
|
402
410
|
|
411
|
+
@property
|
412
|
+
@pulumi.getter(name="skipAwaitMajorVersionUpgrade")
|
413
|
+
def skip_await_major_version_upgrade(self) -> Optional[pulumi.Input[bool]]:
|
414
|
+
"""
|
415
|
+
Set to true to skip awaiting on the major version upgrade of the cluster.
|
416
|
+
Possible values: true, false
|
417
|
+
Default value: "true"
|
418
|
+
"""
|
419
|
+
return pulumi.get(self, "skip_await_major_version_upgrade")
|
420
|
+
|
421
|
+
@skip_await_major_version_upgrade.setter
|
422
|
+
def skip_await_major_version_upgrade(self, value: Optional[pulumi.Input[bool]]):
|
423
|
+
pulumi.set(self, "skip_await_major_version_upgrade", value)
|
424
|
+
|
403
425
|
@property
|
404
426
|
@pulumi.getter(name="subscriptionType")
|
405
427
|
def subscription_type(self) -> Optional[pulumi.Input[str]]:
|
@@ -446,6 +468,7 @@ class _ClusterState:
|
|
446
468
|
restore_backup_source: Optional[pulumi.Input['ClusterRestoreBackupSourceArgs']] = None,
|
447
469
|
restore_continuous_backup_source: Optional[pulumi.Input['ClusterRestoreContinuousBackupSourceArgs']] = None,
|
448
470
|
secondary_config: Optional[pulumi.Input['ClusterSecondaryConfigArgs']] = None,
|
471
|
+
skip_await_major_version_upgrade: Optional[pulumi.Input[bool]] = None,
|
449
472
|
state: Optional[pulumi.Input[str]] = None,
|
450
473
|
subscription_type: Optional[pulumi.Input[str]] = None,
|
451
474
|
trial_metadatas: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTrialMetadataArgs']]]] = None,
|
@@ -470,7 +493,8 @@ class _ClusterState:
|
|
470
493
|
Structure is documented below.
|
471
494
|
:param pulumi.Input[Sequence[pulumi.Input['ClusterContinuousBackupInfoArgs']]] continuous_backup_infos: ContinuousBackupInfo describes the continuous backup properties of a cluster.
|
472
495
|
Structure is documented below.
|
473
|
-
:param pulumi.Input[str] database_version: The database engine major version. This is an optional field and it's populated at the Cluster creation time.
|
496
|
+
:param pulumi.Input[str] database_version: The database engine major version. This is an optional field and it's populated at the Cluster creation time.
|
497
|
+
Note: Changing this field to a higer version results in upgrading the AlloyDB cluster which is an irreversible change.
|
474
498
|
:param pulumi.Input[str] deletion_policy: Policy to determine if the cluster should be deleted forcefully.
|
475
499
|
Deleting a cluster forcefully, deletes the cluster and all its associated instances within the cluster.
|
476
500
|
Deleting a Secondary cluster with a secondary instance REQUIRES setting deletion_policy = "FORCE" otherwise an error is returned. This is needed as there is no support to delete just the secondary instance, and the only way to delete secondary instance is to delete the associated secondary cluster forcefully which also deletes the secondary instance.
|
@@ -514,6 +538,9 @@ class _ClusterState:
|
|
514
538
|
Structure is documented below.
|
515
539
|
:param pulumi.Input['ClusterSecondaryConfigArgs'] secondary_config: Configuration of the secondary cluster for Cross Region Replication. This should be set if and only if the cluster is of type SECONDARY.
|
516
540
|
Structure is documented below.
|
541
|
+
:param pulumi.Input[bool] skip_await_major_version_upgrade: Set to true to skip awaiting on the major version upgrade of the cluster.
|
542
|
+
Possible values: true, false
|
543
|
+
Default value: "true"
|
517
544
|
:param pulumi.Input[str] state: Output only. The current serving state of the cluster.
|
518
545
|
:param pulumi.Input[str] subscription_type: The subscrition type of cluster.
|
519
546
|
Possible values are: `TRIAL`, `STANDARD`.
|
@@ -579,6 +606,8 @@ class _ClusterState:
|
|
579
606
|
pulumi.set(__self__, "restore_continuous_backup_source", restore_continuous_backup_source)
|
580
607
|
if secondary_config is not None:
|
581
608
|
pulumi.set(__self__, "secondary_config", secondary_config)
|
609
|
+
if skip_await_major_version_upgrade is not None:
|
610
|
+
pulumi.set(__self__, "skip_await_major_version_upgrade", skip_await_major_version_upgrade)
|
582
611
|
if state is not None:
|
583
612
|
pulumi.set(__self__, "state", state)
|
584
613
|
if subscription_type is not None:
|
@@ -687,7 +716,8 @@ class _ClusterState:
|
|
687
716
|
@pulumi.getter(name="databaseVersion")
|
688
717
|
def database_version(self) -> Optional[pulumi.Input[str]]:
|
689
718
|
"""
|
690
|
-
The database engine major version. This is an optional field and it's populated at the Cluster creation time.
|
719
|
+
The database engine major version. This is an optional field and it's populated at the Cluster creation time.
|
720
|
+
Note: Changing this field to a higer version results in upgrading the AlloyDB cluster which is an irreversible change.
|
691
721
|
"""
|
692
722
|
return pulumi.get(self, "database_version")
|
693
723
|
|
@@ -967,6 +997,20 @@ class _ClusterState:
|
|
967
997
|
def secondary_config(self, value: Optional[pulumi.Input['ClusterSecondaryConfigArgs']]):
|
968
998
|
pulumi.set(self, "secondary_config", value)
|
969
999
|
|
1000
|
+
@property
|
1001
|
+
@pulumi.getter(name="skipAwaitMajorVersionUpgrade")
|
1002
|
+
def skip_await_major_version_upgrade(self) -> Optional[pulumi.Input[bool]]:
|
1003
|
+
"""
|
1004
|
+
Set to true to skip awaiting on the major version upgrade of the cluster.
|
1005
|
+
Possible values: true, false
|
1006
|
+
Default value: "true"
|
1007
|
+
"""
|
1008
|
+
return pulumi.get(self, "skip_await_major_version_upgrade")
|
1009
|
+
|
1010
|
+
@skip_await_major_version_upgrade.setter
|
1011
|
+
def skip_await_major_version_upgrade(self, value: Optional[pulumi.Input[bool]]):
|
1012
|
+
pulumi.set(self, "skip_await_major_version_upgrade", value)
|
1013
|
+
|
970
1014
|
@property
|
971
1015
|
@pulumi.getter
|
972
1016
|
def state(self) -> Optional[pulumi.Input[str]]:
|
@@ -1043,6 +1087,7 @@ class Cluster(pulumi.CustomResource):
|
|
1043
1087
|
restore_backup_source: Optional[pulumi.Input[Union['ClusterRestoreBackupSourceArgs', 'ClusterRestoreBackupSourceArgsDict']]] = None,
|
1044
1088
|
restore_continuous_backup_source: Optional[pulumi.Input[Union['ClusterRestoreContinuousBackupSourceArgs', 'ClusterRestoreContinuousBackupSourceArgsDict']]] = None,
|
1045
1089
|
secondary_config: Optional[pulumi.Input[Union['ClusterSecondaryConfigArgs', 'ClusterSecondaryConfigArgsDict']]] = None,
|
1090
|
+
skip_await_major_version_upgrade: Optional[pulumi.Input[bool]] = None,
|
1046
1091
|
subscription_type: Optional[pulumi.Input[str]] = None,
|
1047
1092
|
__props__=None):
|
1048
1093
|
"""
|
@@ -1204,7 +1249,8 @@ class Cluster(pulumi.CustomResource):
|
|
1204
1249
|
:param pulumi.Input[Union['ClusterContinuousBackupConfigArgs', 'ClusterContinuousBackupConfigArgsDict']] continuous_backup_config: The continuous backup config for this cluster.
|
1205
1250
|
If no policy is provided then the default policy will be used. The default policy takes one backup a day and retains backups for 14 days.
|
1206
1251
|
Structure is documented below.
|
1207
|
-
:param pulumi.Input[str] database_version: The database engine major version. This is an optional field and it's populated at the Cluster creation time.
|
1252
|
+
:param pulumi.Input[str] database_version: The database engine major version. This is an optional field and it's populated at the Cluster creation time.
|
1253
|
+
Note: Changing this field to a higer version results in upgrading the AlloyDB cluster which is an irreversible change.
|
1208
1254
|
:param pulumi.Input[str] deletion_policy: Policy to determine if the cluster should be deleted forcefully.
|
1209
1255
|
Deleting a cluster forcefully, deletes the cluster and all its associated instances within the cluster.
|
1210
1256
|
Deleting a Secondary cluster with a secondary instance REQUIRES setting deletion_policy = "FORCE" otherwise an error is returned. This is needed as there is no support to delete just the secondary instance, and the only way to delete secondary instance is to delete the associated secondary cluster forcefully which also deletes the secondary instance.
|
@@ -1236,6 +1282,9 @@ class Cluster(pulumi.CustomResource):
|
|
1236
1282
|
Structure is documented below.
|
1237
1283
|
:param pulumi.Input[Union['ClusterSecondaryConfigArgs', 'ClusterSecondaryConfigArgsDict']] secondary_config: Configuration of the secondary cluster for Cross Region Replication. This should be set if and only if the cluster is of type SECONDARY.
|
1238
1284
|
Structure is documented below.
|
1285
|
+
:param pulumi.Input[bool] skip_await_major_version_upgrade: Set to true to skip awaiting on the major version upgrade of the cluster.
|
1286
|
+
Possible values: true, false
|
1287
|
+
Default value: "true"
|
1239
1288
|
:param pulumi.Input[str] subscription_type: The subscrition type of cluster.
|
1240
1289
|
Possible values are: `TRIAL`, `STANDARD`.
|
1241
1290
|
"""
|
@@ -1423,6 +1472,7 @@ class Cluster(pulumi.CustomResource):
|
|
1423
1472
|
restore_backup_source: Optional[pulumi.Input[Union['ClusterRestoreBackupSourceArgs', 'ClusterRestoreBackupSourceArgsDict']]] = None,
|
1424
1473
|
restore_continuous_backup_source: Optional[pulumi.Input[Union['ClusterRestoreContinuousBackupSourceArgs', 'ClusterRestoreContinuousBackupSourceArgsDict']]] = None,
|
1425
1474
|
secondary_config: Optional[pulumi.Input[Union['ClusterSecondaryConfigArgs', 'ClusterSecondaryConfigArgsDict']]] = None,
|
1475
|
+
skip_await_major_version_upgrade: Optional[pulumi.Input[bool]] = None,
|
1426
1476
|
subscription_type: Optional[pulumi.Input[str]] = None,
|
1427
1477
|
__props__=None):
|
1428
1478
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
@@ -1457,6 +1507,7 @@ class Cluster(pulumi.CustomResource):
|
|
1457
1507
|
__props__.__dict__["restore_backup_source"] = restore_backup_source
|
1458
1508
|
__props__.__dict__["restore_continuous_backup_source"] = restore_continuous_backup_source
|
1459
1509
|
__props__.__dict__["secondary_config"] = secondary_config
|
1510
|
+
__props__.__dict__["skip_await_major_version_upgrade"] = skip_await_major_version_upgrade
|
1460
1511
|
__props__.__dict__["subscription_type"] = subscription_type
|
1461
1512
|
__props__.__dict__["backup_sources"] = None
|
1462
1513
|
__props__.__dict__["continuous_backup_infos"] = None
|
@@ -1511,6 +1562,7 @@ class Cluster(pulumi.CustomResource):
|
|
1511
1562
|
restore_backup_source: Optional[pulumi.Input[Union['ClusterRestoreBackupSourceArgs', 'ClusterRestoreBackupSourceArgsDict']]] = None,
|
1512
1563
|
restore_continuous_backup_source: Optional[pulumi.Input[Union['ClusterRestoreContinuousBackupSourceArgs', 'ClusterRestoreContinuousBackupSourceArgsDict']]] = None,
|
1513
1564
|
secondary_config: Optional[pulumi.Input[Union['ClusterSecondaryConfigArgs', 'ClusterSecondaryConfigArgsDict']]] = None,
|
1565
|
+
skip_await_major_version_upgrade: Optional[pulumi.Input[bool]] = None,
|
1514
1566
|
state: Optional[pulumi.Input[str]] = None,
|
1515
1567
|
subscription_type: Optional[pulumi.Input[str]] = None,
|
1516
1568
|
trial_metadatas: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ClusterTrialMetadataArgs', 'ClusterTrialMetadataArgsDict']]]]] = None,
|
@@ -1540,7 +1592,8 @@ class Cluster(pulumi.CustomResource):
|
|
1540
1592
|
Structure is documented below.
|
1541
1593
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ClusterContinuousBackupInfoArgs', 'ClusterContinuousBackupInfoArgsDict']]]] continuous_backup_infos: ContinuousBackupInfo describes the continuous backup properties of a cluster.
|
1542
1594
|
Structure is documented below.
|
1543
|
-
:param pulumi.Input[str] database_version: The database engine major version. This is an optional field and it's populated at the Cluster creation time.
|
1595
|
+
:param pulumi.Input[str] database_version: The database engine major version. This is an optional field and it's populated at the Cluster creation time.
|
1596
|
+
Note: Changing this field to a higer version results in upgrading the AlloyDB cluster which is an irreversible change.
|
1544
1597
|
:param pulumi.Input[str] deletion_policy: Policy to determine if the cluster should be deleted forcefully.
|
1545
1598
|
Deleting a cluster forcefully, deletes the cluster and all its associated instances within the cluster.
|
1546
1599
|
Deleting a Secondary cluster with a secondary instance REQUIRES setting deletion_policy = "FORCE" otherwise an error is returned. This is needed as there is no support to delete just the secondary instance, and the only way to delete secondary instance is to delete the associated secondary cluster forcefully which also deletes the secondary instance.
|
@@ -1584,6 +1637,9 @@ class Cluster(pulumi.CustomResource):
|
|
1584
1637
|
Structure is documented below.
|
1585
1638
|
:param pulumi.Input[Union['ClusterSecondaryConfigArgs', 'ClusterSecondaryConfigArgsDict']] secondary_config: Configuration of the secondary cluster for Cross Region Replication. This should be set if and only if the cluster is of type SECONDARY.
|
1586
1639
|
Structure is documented below.
|
1640
|
+
:param pulumi.Input[bool] skip_await_major_version_upgrade: Set to true to skip awaiting on the major version upgrade of the cluster.
|
1641
|
+
Possible values: true, false
|
1642
|
+
Default value: "true"
|
1587
1643
|
:param pulumi.Input[str] state: Output only. The current serving state of the cluster.
|
1588
1644
|
:param pulumi.Input[str] subscription_type: The subscrition type of cluster.
|
1589
1645
|
Possible values are: `TRIAL`, `STANDARD`.
|
@@ -1624,6 +1680,7 @@ class Cluster(pulumi.CustomResource):
|
|
1624
1680
|
__props__.__dict__["restore_backup_source"] = restore_backup_source
|
1625
1681
|
__props__.__dict__["restore_continuous_backup_source"] = restore_continuous_backup_source
|
1626
1682
|
__props__.__dict__["secondary_config"] = secondary_config
|
1683
|
+
__props__.__dict__["skip_await_major_version_upgrade"] = skip_await_major_version_upgrade
|
1627
1684
|
__props__.__dict__["state"] = state
|
1628
1685
|
__props__.__dict__["subscription_type"] = subscription_type
|
1629
1686
|
__props__.__dict__["trial_metadatas"] = trial_metadatas
|
@@ -1701,7 +1758,8 @@ class Cluster(pulumi.CustomResource):
|
|
1701
1758
|
@pulumi.getter(name="databaseVersion")
|
1702
1759
|
def database_version(self) -> pulumi.Output[str]:
|
1703
1760
|
"""
|
1704
|
-
The database engine major version. This is an optional field and it's populated at the Cluster creation time.
|
1761
|
+
The database engine major version. This is an optional field and it's populated at the Cluster creation time.
|
1762
|
+
Note: Changing this field to a higer version results in upgrading the AlloyDB cluster which is an irreversible change.
|
1705
1763
|
"""
|
1706
1764
|
return pulumi.get(self, "database_version")
|
1707
1765
|
|
@@ -1893,6 +1951,16 @@ class Cluster(pulumi.CustomResource):
|
|
1893
1951
|
"""
|
1894
1952
|
return pulumi.get(self, "secondary_config")
|
1895
1953
|
|
1954
|
+
@property
|
1955
|
+
@pulumi.getter(name="skipAwaitMajorVersionUpgrade")
|
1956
|
+
def skip_await_major_version_upgrade(self) -> pulumi.Output[Optional[bool]]:
|
1957
|
+
"""
|
1958
|
+
Set to true to skip awaiting on the major version upgrade of the cluster.
|
1959
|
+
Possible values: true, false
|
1960
|
+
Default value: "true"
|
1961
|
+
"""
|
1962
|
+
return pulumi.get(self, "skip_await_major_version_upgrade")
|
1963
|
+
|
1896
1964
|
@property
|
1897
1965
|
@pulumi.getter
|
1898
1966
|
def state(self) -> pulumi.Output[str]:
|
pulumi_gcp/alloydb/user.py
CHANGED
@@ -36,6 +36,7 @@ class UserArgs:
|
|
36
36
|
- - -
|
37
37
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] database_roles: List of database roles this database user has.
|
38
38
|
:param pulumi.Input[str] password: Password for this database user.
|
39
|
+
**Note**: This property is sensitive and will not be displayed in the plan.
|
39
40
|
"""
|
40
41
|
pulumi.set(__self__, "cluster", cluster)
|
41
42
|
pulumi.set(__self__, "user_id", user_id)
|
@@ -103,6 +104,7 @@ class UserArgs:
|
|
103
104
|
def password(self) -> Optional[pulumi.Input[str]]:
|
104
105
|
"""
|
105
106
|
Password for this database user.
|
107
|
+
**Note**: This property is sensitive and will not be displayed in the plan.
|
106
108
|
"""
|
107
109
|
return pulumi.get(self, "password")
|
108
110
|
|
@@ -127,6 +129,7 @@ class _UserState:
|
|
127
129
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] database_roles: List of database roles this database user has.
|
128
130
|
:param pulumi.Input[str] name: Name of the resource in the form of projects/{project}/locations/{location}/clusters/{cluster}/users/{user}.
|
129
131
|
:param pulumi.Input[str] password: Password for this database user.
|
132
|
+
**Note**: This property is sensitive and will not be displayed in the plan.
|
130
133
|
:param pulumi.Input[str] user_id: The database role name of the user.
|
131
134
|
:param pulumi.Input[str] user_type: The type of this user.
|
132
135
|
Possible values are: `ALLOYDB_BUILT_IN`, `ALLOYDB_IAM_USER`.
|
@@ -189,6 +192,7 @@ class _UserState:
|
|
189
192
|
def password(self) -> Optional[pulumi.Input[str]]:
|
190
193
|
"""
|
191
194
|
Password for this database user.
|
195
|
+
**Note**: This property is sensitive and will not be displayed in the plan.
|
192
196
|
"""
|
193
197
|
return pulumi.get(self, "password")
|
194
198
|
|
@@ -357,6 +361,7 @@ class User(pulumi.CustomResource):
|
|
357
361
|
'projects/{project}/locations/{location}/clusters/{cluster_id}'
|
358
362
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] database_roles: List of database roles this database user has.
|
359
363
|
:param pulumi.Input[str] password: Password for this database user.
|
364
|
+
**Note**: This property is sensitive and will not be displayed in the plan.
|
360
365
|
:param pulumi.Input[str] user_id: The database role name of the user.
|
361
366
|
:param pulumi.Input[str] user_type: The type of this user.
|
362
367
|
Possible values are: `ALLOYDB_BUILT_IN`, `ALLOYDB_IAM_USER`.
|
@@ -518,7 +523,7 @@ class User(pulumi.CustomResource):
|
|
518
523
|
raise TypeError("Missing required property 'cluster'")
|
519
524
|
__props__.__dict__["cluster"] = cluster
|
520
525
|
__props__.__dict__["database_roles"] = database_roles
|
521
|
-
__props__.__dict__["password"] = password
|
526
|
+
__props__.__dict__["password"] = None if password is None else pulumi.Output.secret(password)
|
522
527
|
if user_id is None and not opts.urn:
|
523
528
|
raise TypeError("Missing required property 'user_id'")
|
524
529
|
__props__.__dict__["user_id"] = user_id
|
@@ -526,6 +531,8 @@ class User(pulumi.CustomResource):
|
|
526
531
|
raise TypeError("Missing required property 'user_type'")
|
527
532
|
__props__.__dict__["user_type"] = user_type
|
528
533
|
__props__.__dict__["name"] = None
|
534
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["password"])
|
535
|
+
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
529
536
|
super(User, __self__).__init__(
|
530
537
|
'gcp:alloydb/user:User',
|
531
538
|
resource_name,
|
@@ -554,6 +561,7 @@ class User(pulumi.CustomResource):
|
|
554
561
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] database_roles: List of database roles this database user has.
|
555
562
|
:param pulumi.Input[str] name: Name of the resource in the form of projects/{project}/locations/{location}/clusters/{cluster}/users/{user}.
|
556
563
|
:param pulumi.Input[str] password: Password for this database user.
|
564
|
+
**Note**: This property is sensitive and will not be displayed in the plan.
|
557
565
|
:param pulumi.Input[str] user_id: The database role name of the user.
|
558
566
|
:param pulumi.Input[str] user_type: The type of this user.
|
559
567
|
Possible values are: `ALLOYDB_BUILT_IN`, `ALLOYDB_IAM_USER`.
|
@@ -603,6 +611,7 @@ class User(pulumi.CustomResource):
|
|
603
611
|
def password(self) -> pulumi.Output[Optional[str]]:
|
604
612
|
"""
|
605
613
|
Password for this database user.
|
614
|
+
**Note**: This property is sensitive and will not be displayed in the plan.
|
606
615
|
"""
|
607
616
|
return pulumi.get(self, "password")
|
608
617
|
|