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
@@ -237,14 +237,14 @@ class InstanceIamMemberConditionArgs:
|
|
237
237
|
|
238
238
|
if not MYPY:
|
239
239
|
class InstancePrivateConfigArgsDict(TypedDict):
|
240
|
-
ca_pool: pulumi.Input[_builtins.str]
|
241
|
-
"""
|
242
|
-
CA pool resource, resource must in the format of `projects/{project}/locations/{location}/caPools/{ca_pool}`.
|
243
|
-
"""
|
244
240
|
is_private: pulumi.Input[_builtins.bool]
|
245
241
|
"""
|
246
242
|
'Indicate if it's private instance.'
|
247
243
|
"""
|
244
|
+
ca_pool: NotRequired[pulumi.Input[_builtins.str]]
|
245
|
+
"""
|
246
|
+
CA pool resource, resource must in the format of `projects/{project}/locations/{location}/caPools/{ca_pool}`.
|
247
|
+
"""
|
248
248
|
http_service_attachment: NotRequired[pulumi.Input[_builtins.str]]
|
249
249
|
"""
|
250
250
|
(Output)
|
@@ -261,37 +261,26 @@ elif False:
|
|
261
261
|
@pulumi.input_type
|
262
262
|
class InstancePrivateConfigArgs:
|
263
263
|
def __init__(__self__, *,
|
264
|
-
ca_pool: pulumi.Input[_builtins.str],
|
265
264
|
is_private: pulumi.Input[_builtins.bool],
|
265
|
+
ca_pool: Optional[pulumi.Input[_builtins.str]] = None,
|
266
266
|
http_service_attachment: Optional[pulumi.Input[_builtins.str]] = None,
|
267
267
|
ssh_service_attachment: Optional[pulumi.Input[_builtins.str]] = None):
|
268
268
|
"""
|
269
|
-
:param pulumi.Input[_builtins.str] ca_pool: CA pool resource, resource must in the format of `projects/{project}/locations/{location}/caPools/{ca_pool}`.
|
270
269
|
:param pulumi.Input[_builtins.bool] is_private: 'Indicate if it's private instance.'
|
270
|
+
:param pulumi.Input[_builtins.str] ca_pool: CA pool resource, resource must in the format of `projects/{project}/locations/{location}/caPools/{ca_pool}`.
|
271
271
|
:param pulumi.Input[_builtins.str] http_service_attachment: (Output)
|
272
272
|
Service Attachment for HTTP, resource is in the format of `projects/{project}/regions/{region}/serviceAttachments/{service_attachment}`.
|
273
273
|
:param pulumi.Input[_builtins.str] ssh_service_attachment: (Output)
|
274
274
|
Service Attachment for SSH, resource is in the format of `projects/{project}/regions/{region}/serviceAttachments/{service_attachment}`.
|
275
275
|
"""
|
276
|
-
pulumi.set(__self__, "ca_pool", ca_pool)
|
277
276
|
pulumi.set(__self__, "is_private", is_private)
|
277
|
+
if ca_pool is not None:
|
278
|
+
pulumi.set(__self__, "ca_pool", ca_pool)
|
278
279
|
if http_service_attachment is not None:
|
279
280
|
pulumi.set(__self__, "http_service_attachment", http_service_attachment)
|
280
281
|
if ssh_service_attachment is not None:
|
281
282
|
pulumi.set(__self__, "ssh_service_attachment", ssh_service_attachment)
|
282
283
|
|
283
|
-
@_builtins.property
|
284
|
-
@pulumi.getter(name="caPool")
|
285
|
-
def ca_pool(self) -> pulumi.Input[_builtins.str]:
|
286
|
-
"""
|
287
|
-
CA pool resource, resource must in the format of `projects/{project}/locations/{location}/caPools/{ca_pool}`.
|
288
|
-
"""
|
289
|
-
return pulumi.get(self, "ca_pool")
|
290
|
-
|
291
|
-
@ca_pool.setter
|
292
|
-
def ca_pool(self, value: pulumi.Input[_builtins.str]):
|
293
|
-
pulumi.set(self, "ca_pool", value)
|
294
|
-
|
295
284
|
@_builtins.property
|
296
285
|
@pulumi.getter(name="isPrivate")
|
297
286
|
def is_private(self) -> pulumi.Input[_builtins.bool]:
|
@@ -304,6 +293,18 @@ class InstancePrivateConfigArgs:
|
|
304
293
|
def is_private(self, value: pulumi.Input[_builtins.bool]):
|
305
294
|
pulumi.set(self, "is_private", value)
|
306
295
|
|
296
|
+
@_builtins.property
|
297
|
+
@pulumi.getter(name="caPool")
|
298
|
+
def ca_pool(self) -> Optional[pulumi.Input[_builtins.str]]:
|
299
|
+
"""
|
300
|
+
CA pool resource, resource must in the format of `projects/{project}/locations/{location}/caPools/{ca_pool}`.
|
301
|
+
"""
|
302
|
+
return pulumi.get(self, "ca_pool")
|
303
|
+
|
304
|
+
@ca_pool.setter
|
305
|
+
def ca_pool(self, value: Optional[pulumi.Input[_builtins.str]]):
|
306
|
+
pulumi.set(self, "ca_pool", value)
|
307
|
+
|
307
308
|
@_builtins.property
|
308
309
|
@pulumi.getter(name="httpServiceAttachment")
|
309
310
|
def http_service_attachment(self) -> Optional[pulumi.Input[_builtins.str]]:
|
@@ -167,10 +167,10 @@ class InstancePrivateConfig(dict):
|
|
167
167
|
@staticmethod
|
168
168
|
def __key_warning(key: str):
|
169
169
|
suggest = None
|
170
|
-
if key == "
|
171
|
-
suggest = "ca_pool"
|
172
|
-
elif key == "isPrivate":
|
170
|
+
if key == "isPrivate":
|
173
171
|
suggest = "is_private"
|
172
|
+
elif key == "caPool":
|
173
|
+
suggest = "ca_pool"
|
174
174
|
elif key == "httpServiceAttachment":
|
175
175
|
suggest = "http_service_attachment"
|
176
176
|
elif key == "sshServiceAttachment":
|
@@ -188,33 +188,26 @@ class InstancePrivateConfig(dict):
|
|
188
188
|
return super().get(key, default)
|
189
189
|
|
190
190
|
def __init__(__self__, *,
|
191
|
-
ca_pool: _builtins.str,
|
192
191
|
is_private: _builtins.bool,
|
192
|
+
ca_pool: Optional[_builtins.str] = None,
|
193
193
|
http_service_attachment: Optional[_builtins.str] = None,
|
194
194
|
ssh_service_attachment: Optional[_builtins.str] = None):
|
195
195
|
"""
|
196
|
-
:param _builtins.str ca_pool: CA pool resource, resource must in the format of `projects/{project}/locations/{location}/caPools/{ca_pool}`.
|
197
196
|
:param _builtins.bool is_private: 'Indicate if it's private instance.'
|
197
|
+
:param _builtins.str ca_pool: CA pool resource, resource must in the format of `projects/{project}/locations/{location}/caPools/{ca_pool}`.
|
198
198
|
:param _builtins.str http_service_attachment: (Output)
|
199
199
|
Service Attachment for HTTP, resource is in the format of `projects/{project}/regions/{region}/serviceAttachments/{service_attachment}`.
|
200
200
|
:param _builtins.str ssh_service_attachment: (Output)
|
201
201
|
Service Attachment for SSH, resource is in the format of `projects/{project}/regions/{region}/serviceAttachments/{service_attachment}`.
|
202
202
|
"""
|
203
|
-
pulumi.set(__self__, "ca_pool", ca_pool)
|
204
203
|
pulumi.set(__self__, "is_private", is_private)
|
204
|
+
if ca_pool is not None:
|
205
|
+
pulumi.set(__self__, "ca_pool", ca_pool)
|
205
206
|
if http_service_attachment is not None:
|
206
207
|
pulumi.set(__self__, "http_service_attachment", http_service_attachment)
|
207
208
|
if ssh_service_attachment is not None:
|
208
209
|
pulumi.set(__self__, "ssh_service_attachment", ssh_service_attachment)
|
209
210
|
|
210
|
-
@_builtins.property
|
211
|
-
@pulumi.getter(name="caPool")
|
212
|
-
def ca_pool(self) -> _builtins.str:
|
213
|
-
"""
|
214
|
-
CA pool resource, resource must in the format of `projects/{project}/locations/{location}/caPools/{ca_pool}`.
|
215
|
-
"""
|
216
|
-
return pulumi.get(self, "ca_pool")
|
217
|
-
|
218
211
|
@_builtins.property
|
219
212
|
@pulumi.getter(name="isPrivate")
|
220
213
|
def is_private(self) -> _builtins.bool:
|
@@ -223,6 +216,14 @@ class InstancePrivateConfig(dict):
|
|
223
216
|
"""
|
224
217
|
return pulumi.get(self, "is_private")
|
225
218
|
|
219
|
+
@_builtins.property
|
220
|
+
@pulumi.getter(name="caPool")
|
221
|
+
def ca_pool(self) -> Optional[_builtins.str]:
|
222
|
+
"""
|
223
|
+
CA pool resource, resource must in the format of `projects/{project}/locations/{location}/caPools/{ca_pool}`.
|
224
|
+
"""
|
225
|
+
return pulumi.get(self, "ca_pool")
|
226
|
+
|
226
227
|
@_builtins.property
|
227
228
|
@pulumi.getter(name="httpServiceAttachment")
|
228
229
|
def http_service_attachment(self) -> Optional[_builtins.str]:
|
@@ -26,7 +26,7 @@ class GetAccountKeyResult:
|
|
26
26
|
"""
|
27
27
|
A collection of values returned by getAccountKey.
|
28
28
|
"""
|
29
|
-
def __init__(__self__, id=None, key_algorithm=None, name=None,
|
29
|
+
def __init__(__self__, id=None, key_algorithm=None, name=None, public_key=None, public_key_type=None):
|
30
30
|
if id and not isinstance(id, str):
|
31
31
|
raise TypeError("Expected argument 'id' to be a str")
|
32
32
|
pulumi.set(__self__, "id", id)
|
@@ -36,9 +36,6 @@ class GetAccountKeyResult:
|
|
36
36
|
if name and not isinstance(name, str):
|
37
37
|
raise TypeError("Expected argument 'name' to be a str")
|
38
38
|
pulumi.set(__self__, "name", name)
|
39
|
-
if project and not isinstance(project, str):
|
40
|
-
raise TypeError("Expected argument 'project' to be a str")
|
41
|
-
pulumi.set(__self__, "project", project)
|
42
39
|
if public_key and not isinstance(public_key, str):
|
43
40
|
raise TypeError("Expected argument 'public_key' to be a str")
|
44
41
|
pulumi.set(__self__, "public_key", public_key)
|
@@ -64,12 +61,6 @@ class GetAccountKeyResult:
|
|
64
61
|
def name(self) -> _builtins.str:
|
65
62
|
return pulumi.get(self, "name")
|
66
63
|
|
67
|
-
@_builtins.property
|
68
|
-
@pulumi.getter
|
69
|
-
@_utilities.deprecated("""`project` is deprecated and will be removed in a future major release. This field is non-functional and can be removed from your configuration safely.""")
|
70
|
-
def project(self) -> Optional[_builtins.str]:
|
71
|
-
return pulumi.get(self, "project")
|
72
|
-
|
73
64
|
@_builtins.property
|
74
65
|
@pulumi.getter(name="publicKey")
|
75
66
|
def public_key(self) -> _builtins.str:
|
@@ -93,13 +84,11 @@ class AwaitableGetAccountKeyResult(GetAccountKeyResult):
|
|
93
84
|
id=self.id,
|
94
85
|
key_algorithm=self.key_algorithm,
|
95
86
|
name=self.name,
|
96
|
-
project=self.project,
|
97
87
|
public_key=self.public_key,
|
98
88
|
public_key_type=self.public_key_type)
|
99
89
|
|
100
90
|
|
101
91
|
def get_account_key(name: Optional[_builtins.str] = None,
|
102
|
-
project: Optional[_builtins.str] = None,
|
103
92
|
public_key_type: Optional[_builtins.str] = None,
|
104
93
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAccountKeyResult:
|
105
94
|
"""
|
@@ -121,13 +110,10 @@ def get_account_key(name: Optional[_builtins.str] = None,
|
|
121
110
|
:param _builtins.str name: The name of the service account key. This must have format
|
122
111
|
`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{KEYID}`, where `{ACCOUNT}`
|
123
112
|
is the email address or unique id of the service account.
|
124
|
-
:param _builtins.str project: The ID of the project that the service account is present in.
|
125
|
-
Defaults to the provider project configuration.
|
126
113
|
:param _builtins.str public_key_type: The output format of the public key requested. TYPE_X509_PEM_FILE is the default output format.
|
127
114
|
"""
|
128
115
|
__args__ = dict()
|
129
116
|
__args__['name'] = name
|
130
|
-
__args__['project'] = project
|
131
117
|
__args__['publicKeyType'] = public_key_type
|
132
118
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
133
119
|
__ret__ = pulumi.runtime.invoke('gcp:serviceaccount/getAccountKey:getAccountKey', __args__, opts=opts, typ=GetAccountKeyResult).value
|
@@ -136,11 +122,9 @@ def get_account_key(name: Optional[_builtins.str] = None,
|
|
136
122
|
id=pulumi.get(__ret__, 'id'),
|
137
123
|
key_algorithm=pulumi.get(__ret__, 'key_algorithm'),
|
138
124
|
name=pulumi.get(__ret__, 'name'),
|
139
|
-
project=pulumi.get(__ret__, 'project'),
|
140
125
|
public_key=pulumi.get(__ret__, 'public_key'),
|
141
126
|
public_key_type=pulumi.get(__ret__, 'public_key_type'))
|
142
127
|
def get_account_key_output(name: Optional[pulumi.Input[_builtins.str]] = None,
|
143
|
-
project: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
144
128
|
public_key_type: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
145
129
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAccountKeyResult]:
|
146
130
|
"""
|
@@ -162,13 +146,10 @@ def get_account_key_output(name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
162
146
|
:param _builtins.str name: The name of the service account key. This must have format
|
163
147
|
`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{KEYID}`, where `{ACCOUNT}`
|
164
148
|
is the email address or unique id of the service account.
|
165
|
-
:param _builtins.str project: The ID of the project that the service account is present in.
|
166
|
-
Defaults to the provider project configuration.
|
167
149
|
:param _builtins.str public_key_type: The output format of the public key requested. TYPE_X509_PEM_FILE is the default output format.
|
168
150
|
"""
|
169
151
|
__args__ = dict()
|
170
152
|
__args__['name'] = name
|
171
|
-
__args__['project'] = project
|
172
153
|
__args__['publicKeyType'] = public_key_type
|
173
154
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
174
155
|
__ret__ = pulumi.runtime.invoke_output('gcp:serviceaccount/getAccountKey:getAccountKey', __args__, opts=opts, typ=GetAccountKeyResult)
|
@@ -176,6 +157,5 @@ def get_account_key_output(name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
176
157
|
id=pulumi.get(__response__, 'id'),
|
177
158
|
key_algorithm=pulumi.get(__response__, 'key_algorithm'),
|
178
159
|
name=pulumi.get(__response__, 'name'),
|
179
|
-
project=pulumi.get(__response__, 'project'),
|
180
160
|
public_key=pulumi.get(__response__, 'public_key'),
|
181
161
|
public_key_type=pulumi.get(__response__, 'public_key_type')))
|
@@ -22,6 +22,7 @@ __all__ = ['DatabaseInstanceArgs', 'DatabaseInstance']
|
|
22
22
|
class DatabaseInstanceArgs:
|
23
23
|
def __init__(__self__, *,
|
24
24
|
database_version: pulumi.Input[_builtins.str],
|
25
|
+
backupdr_backup: Optional[pulumi.Input[_builtins.str]] = None,
|
25
26
|
clone: Optional[pulumi.Input['DatabaseInstanceCloneArgs']] = None,
|
26
27
|
deletion_protection: Optional[pulumi.Input[_builtins.bool]] = None,
|
27
28
|
encryption_key_name: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -49,6 +50,7 @@ class DatabaseInstanceArgs:
|
|
49
50
|
`SQLSERVER_2019_WEB`.
|
50
51
|
[Database Version Policies](https://cloud.google.com/sql/docs/db-versions)
|
51
52
|
includes an up-to-date reference of supported versions.
|
53
|
+
:param pulumi.Input[_builtins.str] backupdr_backup: The name of the BackupDR backup to restore from.
|
52
54
|
:param pulumi.Input['DatabaseInstanceCloneArgs'] clone: The context needed to create this instance as a clone of another instance. When this field is set during
|
53
55
|
resource creation, this provider will attempt to clone another instance as indicated in the context. The
|
54
56
|
configuration is detailed below.
|
@@ -81,7 +83,8 @@ class DatabaseInstanceArgs:
|
|
81
83
|
:param pulumi.Input['DatabaseInstanceReplicaConfigurationArgs'] replica_configuration: The configuration for replication. The
|
82
84
|
configuration is detailed below.
|
83
85
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] replica_names: List of replica names. Can be updated.
|
84
|
-
:param pulumi.Input['DatabaseInstanceReplicationClusterArgs'] replication_cluster: A primary instance and disaster recovery replica pair. Applicable to MySQL and PostgreSQL. This field can be set only
|
86
|
+
:param pulumi.Input['DatabaseInstanceReplicationClusterArgs'] replication_cluster: A primary instance and disaster recovery replica pair. Applicable to MySQL and PostgreSQL. This field can be set only
|
87
|
+
after both the primary and replica are created.
|
85
88
|
:param pulumi.Input['DatabaseInstanceRestoreBackupContextArgs'] restore_backup_context: The context needed to restore the database to a backup run. This field will
|
86
89
|
cause the provider to trigger the database to restore from the backup run indicated. The configuration is detailed below.
|
87
90
|
**NOTE:** Restoring from a backup is an imperative action and not recommended via this provider. Adding or modifying this
|
@@ -91,6 +94,8 @@ class DatabaseInstanceArgs:
|
|
91
94
|
configuration is detailed below. Required if `clone` is not set.
|
92
95
|
"""
|
93
96
|
pulumi.set(__self__, "database_version", database_version)
|
97
|
+
if backupdr_backup is not None:
|
98
|
+
pulumi.set(__self__, "backupdr_backup", backupdr_backup)
|
94
99
|
if clone is not None:
|
95
100
|
pulumi.set(__self__, "clone", clone)
|
96
101
|
if deletion_protection is not None:
|
@@ -144,6 +149,18 @@ class DatabaseInstanceArgs:
|
|
144
149
|
def database_version(self, value: pulumi.Input[_builtins.str]):
|
145
150
|
pulumi.set(self, "database_version", value)
|
146
151
|
|
152
|
+
@_builtins.property
|
153
|
+
@pulumi.getter(name="backupdrBackup")
|
154
|
+
def backupdr_backup(self) -> Optional[pulumi.Input[_builtins.str]]:
|
155
|
+
"""
|
156
|
+
The name of the BackupDR backup to restore from.
|
157
|
+
"""
|
158
|
+
return pulumi.get(self, "backupdr_backup")
|
159
|
+
|
160
|
+
@backupdr_backup.setter
|
161
|
+
def backupdr_backup(self, value: Optional[pulumi.Input[_builtins.str]]):
|
162
|
+
pulumi.set(self, "backupdr_backup", value)
|
163
|
+
|
147
164
|
@_builtins.property
|
148
165
|
@pulumi.getter
|
149
166
|
def clone(self) -> Optional[pulumi.Input['DatabaseInstanceCloneArgs']]:
|
@@ -312,7 +329,8 @@ class DatabaseInstanceArgs:
|
|
312
329
|
@pulumi.getter(name="replicationCluster")
|
313
330
|
def replication_cluster(self) -> Optional[pulumi.Input['DatabaseInstanceReplicationClusterArgs']]:
|
314
331
|
"""
|
315
|
-
A primary instance and disaster recovery replica pair. Applicable to MySQL and PostgreSQL. This field can be set only
|
332
|
+
A primary instance and disaster recovery replica pair. Applicable to MySQL and PostgreSQL. This field can be set only
|
333
|
+
after both the primary and replica are created.
|
316
334
|
"""
|
317
335
|
return pulumi.get(self, "replication_cluster")
|
318
336
|
|
@@ -365,6 +383,7 @@ class DatabaseInstanceArgs:
|
|
365
383
|
class _DatabaseInstanceState:
|
366
384
|
def __init__(__self__, *,
|
367
385
|
available_maintenance_versions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
386
|
+
backupdr_backup: Optional[pulumi.Input[_builtins.str]] = None,
|
368
387
|
clone: Optional[pulumi.Input['DatabaseInstanceCloneArgs']] = None,
|
369
388
|
connection_name: Optional[pulumi.Input[_builtins.str]] = None,
|
370
389
|
database_version: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -396,6 +415,7 @@ class _DatabaseInstanceState:
|
|
396
415
|
"""
|
397
416
|
Input properties used for looking up and filtering DatabaseInstance resources.
|
398
417
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] available_maintenance_versions: The list of all maintenance versions applicable on the instance.
|
418
|
+
:param pulumi.Input[_builtins.str] backupdr_backup: The name of the BackupDR backup to restore from.
|
399
419
|
:param pulumi.Input['DatabaseInstanceCloneArgs'] clone: The context needed to create this instance as a clone of another instance. When this field is set during
|
400
420
|
resource creation, this provider will attempt to clone another instance as indicated in the context. The
|
401
421
|
configuration is detailed below.
|
@@ -445,7 +465,8 @@ class _DatabaseInstanceState:
|
|
445
465
|
:param pulumi.Input['DatabaseInstanceReplicaConfigurationArgs'] replica_configuration: The configuration for replication. The
|
446
466
|
configuration is detailed below.
|
447
467
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] replica_names: List of replica names. Can be updated.
|
448
|
-
:param pulumi.Input['DatabaseInstanceReplicationClusterArgs'] replication_cluster: A primary instance and disaster recovery replica pair. Applicable to MySQL and PostgreSQL. This field can be set only
|
468
|
+
:param pulumi.Input['DatabaseInstanceReplicationClusterArgs'] replication_cluster: A primary instance and disaster recovery replica pair. Applicable to MySQL and PostgreSQL. This field can be set only
|
469
|
+
after both the primary and replica are created.
|
449
470
|
:param pulumi.Input['DatabaseInstanceRestoreBackupContextArgs'] restore_backup_context: The context needed to restore the database to a backup run. This field will
|
450
471
|
cause the provider to trigger the database to restore from the backup run indicated. The configuration is detailed below.
|
451
472
|
**NOTE:** Restoring from a backup is an imperative action and not recommended via this provider. Adding or modifying this
|
@@ -459,6 +480,8 @@ class _DatabaseInstanceState:
|
|
459
480
|
"""
|
460
481
|
if available_maintenance_versions is not None:
|
461
482
|
pulumi.set(__self__, "available_maintenance_versions", available_maintenance_versions)
|
483
|
+
if backupdr_backup is not None:
|
484
|
+
pulumi.set(__self__, "backupdr_backup", backupdr_backup)
|
462
485
|
if clone is not None:
|
463
486
|
pulumi.set(__self__, "clone", clone)
|
464
487
|
if connection_name is not None:
|
@@ -528,6 +551,18 @@ class _DatabaseInstanceState:
|
|
528
551
|
def available_maintenance_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
529
552
|
pulumi.set(self, "available_maintenance_versions", value)
|
530
553
|
|
554
|
+
@_builtins.property
|
555
|
+
@pulumi.getter(name="backupdrBackup")
|
556
|
+
def backupdr_backup(self) -> Optional[pulumi.Input[_builtins.str]]:
|
557
|
+
"""
|
558
|
+
The name of the BackupDR backup to restore from.
|
559
|
+
"""
|
560
|
+
return pulumi.get(self, "backupdr_backup")
|
561
|
+
|
562
|
+
@backupdr_backup.setter
|
563
|
+
def backupdr_backup(self, value: Optional[pulumi.Input[_builtins.str]]):
|
564
|
+
pulumi.set(self, "backupdr_backup", value)
|
565
|
+
|
531
566
|
@_builtins.property
|
532
567
|
@pulumi.getter
|
533
568
|
def clone(self) -> Optional[pulumi.Input['DatabaseInstanceCloneArgs']]:
|
@@ -810,7 +845,8 @@ class _DatabaseInstanceState:
|
|
810
845
|
@pulumi.getter(name="replicationCluster")
|
811
846
|
def replication_cluster(self) -> Optional[pulumi.Input['DatabaseInstanceReplicationClusterArgs']]:
|
812
847
|
"""
|
813
|
-
A primary instance and disaster recovery replica pair. Applicable to MySQL and PostgreSQL. This field can be set only
|
848
|
+
A primary instance and disaster recovery replica pair. Applicable to MySQL and PostgreSQL. This field can be set only
|
849
|
+
after both the primary and replica are created.
|
814
850
|
"""
|
815
851
|
return pulumi.get(self, "replication_cluster")
|
816
852
|
|
@@ -899,6 +935,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
899
935
|
def __init__(__self__,
|
900
936
|
resource_name: str,
|
901
937
|
opts: Optional[pulumi.ResourceOptions] = None,
|
938
|
+
backupdr_backup: Optional[pulumi.Input[_builtins.str]] = None,
|
902
939
|
clone: Optional[pulumi.Input[Union['DatabaseInstanceCloneArgs', 'DatabaseInstanceCloneArgsDict']]] = None,
|
903
940
|
database_version: Optional[pulumi.Input[_builtins.str]] = None,
|
904
941
|
deletion_protection: Optional[pulumi.Input[_builtins.bool]] = None,
|
@@ -1152,6 +1189,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1152
1189
|
|
1153
1190
|
:param str resource_name: The name of the resource.
|
1154
1191
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1192
|
+
:param pulumi.Input[_builtins.str] backupdr_backup: The name of the BackupDR backup to restore from.
|
1155
1193
|
:param pulumi.Input[Union['DatabaseInstanceCloneArgs', 'DatabaseInstanceCloneArgsDict']] clone: The context needed to create this instance as a clone of another instance. When this field is set during
|
1156
1194
|
resource creation, this provider will attempt to clone another instance as indicated in the context. The
|
1157
1195
|
configuration is detailed below.
|
@@ -1193,7 +1231,8 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1193
1231
|
:param pulumi.Input[Union['DatabaseInstanceReplicaConfigurationArgs', 'DatabaseInstanceReplicaConfigurationArgsDict']] replica_configuration: The configuration for replication. The
|
1194
1232
|
configuration is detailed below.
|
1195
1233
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] replica_names: List of replica names. Can be updated.
|
1196
|
-
:param pulumi.Input[Union['DatabaseInstanceReplicationClusterArgs', 'DatabaseInstanceReplicationClusterArgsDict']] replication_cluster: A primary instance and disaster recovery replica pair. Applicable to MySQL and PostgreSQL. This field can be set only
|
1234
|
+
:param pulumi.Input[Union['DatabaseInstanceReplicationClusterArgs', 'DatabaseInstanceReplicationClusterArgsDict']] replication_cluster: A primary instance and disaster recovery replica pair. Applicable to MySQL and PostgreSQL. This field can be set only
|
1235
|
+
after both the primary and replica are created.
|
1197
1236
|
:param pulumi.Input[Union['DatabaseInstanceRestoreBackupContextArgs', 'DatabaseInstanceRestoreBackupContextArgsDict']] restore_backup_context: The context needed to restore the database to a backup run. This field will
|
1198
1237
|
cause the provider to trigger the database to restore from the backup run indicated. The configuration is detailed below.
|
1199
1238
|
**NOTE:** Restoring from a backup is an imperative action and not recommended via this provider. Adding or modifying this
|
@@ -1456,6 +1495,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1456
1495
|
def _internal_init(__self__,
|
1457
1496
|
resource_name: str,
|
1458
1497
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1498
|
+
backupdr_backup: Optional[pulumi.Input[_builtins.str]] = None,
|
1459
1499
|
clone: Optional[pulumi.Input[Union['DatabaseInstanceCloneArgs', 'DatabaseInstanceCloneArgsDict']]] = None,
|
1460
1500
|
database_version: Optional[pulumi.Input[_builtins.str]] = None,
|
1461
1501
|
deletion_protection: Optional[pulumi.Input[_builtins.bool]] = None,
|
@@ -1482,6 +1522,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1482
1522
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
1483
1523
|
__props__ = DatabaseInstanceArgs.__new__(DatabaseInstanceArgs)
|
1484
1524
|
|
1525
|
+
__props__.__dict__["backupdr_backup"] = backupdr_backup
|
1485
1526
|
__props__.__dict__["clone"] = clone
|
1486
1527
|
if database_version is None and not opts.urn:
|
1487
1528
|
raise TypeError("Missing required property 'database_version'")
|
@@ -1526,6 +1567,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1526
1567
|
id: pulumi.Input[str],
|
1527
1568
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1528
1569
|
available_maintenance_versions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
1570
|
+
backupdr_backup: Optional[pulumi.Input[_builtins.str]] = None,
|
1529
1571
|
clone: Optional[pulumi.Input[Union['DatabaseInstanceCloneArgs', 'DatabaseInstanceCloneArgsDict']]] = None,
|
1530
1572
|
connection_name: Optional[pulumi.Input[_builtins.str]] = None,
|
1531
1573
|
database_version: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -1562,6 +1604,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1562
1604
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
1563
1605
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1564
1606
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] available_maintenance_versions: The list of all maintenance versions applicable on the instance.
|
1607
|
+
:param pulumi.Input[_builtins.str] backupdr_backup: The name of the BackupDR backup to restore from.
|
1565
1608
|
:param pulumi.Input[Union['DatabaseInstanceCloneArgs', 'DatabaseInstanceCloneArgsDict']] clone: The context needed to create this instance as a clone of another instance. When this field is set during
|
1566
1609
|
resource creation, this provider will attempt to clone another instance as indicated in the context. The
|
1567
1610
|
configuration is detailed below.
|
@@ -1611,7 +1654,8 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1611
1654
|
:param pulumi.Input[Union['DatabaseInstanceReplicaConfigurationArgs', 'DatabaseInstanceReplicaConfigurationArgsDict']] replica_configuration: The configuration for replication. The
|
1612
1655
|
configuration is detailed below.
|
1613
1656
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] replica_names: List of replica names. Can be updated.
|
1614
|
-
:param pulumi.Input[Union['DatabaseInstanceReplicationClusterArgs', 'DatabaseInstanceReplicationClusterArgsDict']] replication_cluster: A primary instance and disaster recovery replica pair. Applicable to MySQL and PostgreSQL. This field can be set only
|
1657
|
+
:param pulumi.Input[Union['DatabaseInstanceReplicationClusterArgs', 'DatabaseInstanceReplicationClusterArgsDict']] replication_cluster: A primary instance and disaster recovery replica pair. Applicable to MySQL and PostgreSQL. This field can be set only
|
1658
|
+
after both the primary and replica are created.
|
1615
1659
|
:param pulumi.Input[Union['DatabaseInstanceRestoreBackupContextArgs', 'DatabaseInstanceRestoreBackupContextArgsDict']] restore_backup_context: The context needed to restore the database to a backup run. This field will
|
1616
1660
|
cause the provider to trigger the database to restore from the backup run indicated. The configuration is detailed below.
|
1617
1661
|
**NOTE:** Restoring from a backup is an imperative action and not recommended via this provider. Adding or modifying this
|
@@ -1628,6 +1672,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1628
1672
|
__props__ = _DatabaseInstanceState.__new__(_DatabaseInstanceState)
|
1629
1673
|
|
1630
1674
|
__props__.__dict__["available_maintenance_versions"] = available_maintenance_versions
|
1675
|
+
__props__.__dict__["backupdr_backup"] = backupdr_backup
|
1631
1676
|
__props__.__dict__["clone"] = clone
|
1632
1677
|
__props__.__dict__["connection_name"] = connection_name
|
1633
1678
|
__props__.__dict__["database_version"] = database_version
|
@@ -1666,6 +1711,14 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1666
1711
|
"""
|
1667
1712
|
return pulumi.get(self, "available_maintenance_versions")
|
1668
1713
|
|
1714
|
+
@_builtins.property
|
1715
|
+
@pulumi.getter(name="backupdrBackup")
|
1716
|
+
def backupdr_backup(self) -> pulumi.Output[Optional[_builtins.str]]:
|
1717
|
+
"""
|
1718
|
+
The name of the BackupDR backup to restore from.
|
1719
|
+
"""
|
1720
|
+
return pulumi.get(self, "backupdr_backup")
|
1721
|
+
|
1669
1722
|
@_builtins.property
|
1670
1723
|
@pulumi.getter
|
1671
1724
|
def clone(self) -> pulumi.Output[Optional['outputs.DatabaseInstanceClone']]:
|
@@ -1864,7 +1917,8 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1864
1917
|
@pulumi.getter(name="replicationCluster")
|
1865
1918
|
def replication_cluster(self) -> pulumi.Output['outputs.DatabaseInstanceReplicationCluster']:
|
1866
1919
|
"""
|
1867
|
-
A primary instance and disaster recovery replica pair. Applicable to MySQL and PostgreSQL. This field can be set only
|
1920
|
+
A primary instance and disaster recovery replica pair. Applicable to MySQL and PostgreSQL. This field can be set only
|
1921
|
+
after both the primary and replica are created.
|
1868
1922
|
"""
|
1869
1923
|
return pulumi.get(self, "replication_cluster")
|
1870
1924
|
|
@@ -27,10 +27,13 @@ class GetDatabaseInstanceResult:
|
|
27
27
|
"""
|
28
28
|
A collection of values returned by getDatabaseInstance.
|
29
29
|
"""
|
30
|
-
def __init__(__self__, available_maintenance_versions=None, clones=None, connection_name=None, database_version=None, deletion_protection=None, dns_name=None, dns_names=None, encryption_key_name=None, first_ip_address=None, id=None, instance_type=None, ip_addresses=None, maintenance_version=None, master_instance_name=None, name=None, node_count=None, private_ip_address=None, project=None, psc_service_attachment_link=None, public_ip_address=None, region=None, replica_configurations=None, replica_names=None, replication_clusters=None, restore_backup_contexts=None, root_password=None, self_link=None, server_ca_certs=None, service_account_email_address=None, settings=None):
|
30
|
+
def __init__(__self__, available_maintenance_versions=None, backupdr_backup=None, clones=None, connection_name=None, database_version=None, deletion_protection=None, dns_name=None, dns_names=None, encryption_key_name=None, first_ip_address=None, id=None, instance_type=None, ip_addresses=None, maintenance_version=None, master_instance_name=None, name=None, node_count=None, private_ip_address=None, project=None, psc_service_attachment_link=None, public_ip_address=None, region=None, replica_configurations=None, replica_names=None, replication_clusters=None, restore_backup_contexts=None, root_password=None, self_link=None, server_ca_certs=None, service_account_email_address=None, settings=None):
|
31
31
|
if available_maintenance_versions and not isinstance(available_maintenance_versions, list):
|
32
32
|
raise TypeError("Expected argument 'available_maintenance_versions' to be a list")
|
33
33
|
pulumi.set(__self__, "available_maintenance_versions", available_maintenance_versions)
|
34
|
+
if backupdr_backup and not isinstance(backupdr_backup, str):
|
35
|
+
raise TypeError("Expected argument 'backupdr_backup' to be a str")
|
36
|
+
pulumi.set(__self__, "backupdr_backup", backupdr_backup)
|
34
37
|
if clones and not isinstance(clones, list):
|
35
38
|
raise TypeError("Expected argument 'clones' to be a list")
|
36
39
|
pulumi.set(__self__, "clones", clones)
|
@@ -124,6 +127,11 @@ class GetDatabaseInstanceResult:
|
|
124
127
|
def available_maintenance_versions(self) -> Sequence[_builtins.str]:
|
125
128
|
return pulumi.get(self, "available_maintenance_versions")
|
126
129
|
|
130
|
+
@_builtins.property
|
131
|
+
@pulumi.getter(name="backupdrBackup")
|
132
|
+
def backupdr_backup(self) -> _builtins.str:
|
133
|
+
return pulumi.get(self, "backupdr_backup")
|
134
|
+
|
127
135
|
@_builtins.property
|
128
136
|
@pulumi.getter
|
129
137
|
def clones(self) -> Sequence['outputs.GetDatabaseInstanceCloneResult']:
|
@@ -280,6 +288,7 @@ class AwaitableGetDatabaseInstanceResult(GetDatabaseInstanceResult):
|
|
280
288
|
yield self
|
281
289
|
return GetDatabaseInstanceResult(
|
282
290
|
available_maintenance_versions=self.available_maintenance_versions,
|
291
|
+
backupdr_backup=self.backupdr_backup,
|
283
292
|
clones=self.clones,
|
284
293
|
connection_name=self.connection_name,
|
285
294
|
database_version=self.database_version,
|
@@ -338,6 +347,7 @@ def get_database_instance(name: Optional[_builtins.str] = None,
|
|
338
347
|
|
339
348
|
return AwaitableGetDatabaseInstanceResult(
|
340
349
|
available_maintenance_versions=pulumi.get(__ret__, 'available_maintenance_versions'),
|
350
|
+
backupdr_backup=pulumi.get(__ret__, 'backupdr_backup'),
|
341
351
|
clones=pulumi.get(__ret__, 'clones'),
|
342
352
|
connection_name=pulumi.get(__ret__, 'connection_name'),
|
343
353
|
database_version=pulumi.get(__ret__, 'database_version'),
|
@@ -393,6 +403,7 @@ def get_database_instance_output(name: Optional[pulumi.Input[_builtins.str]] = N
|
|
393
403
|
__ret__ = pulumi.runtime.invoke_output('gcp:sql/getDatabaseInstance:getDatabaseInstance', __args__, opts=opts, typ=GetDatabaseInstanceResult)
|
394
404
|
return __ret__.apply(lambda __response__: GetDatabaseInstanceResult(
|
395
405
|
available_maintenance_versions=pulumi.get(__response__, 'available_maintenance_versions'),
|
406
|
+
backupdr_backup=pulumi.get(__response__, 'backupdr_backup'),
|
396
407
|
clones=pulumi.get(__response__, 'clones'),
|
397
408
|
connection_name=pulumi.get(__response__, 'connection_name'),
|
398
409
|
database_version=pulumi.get(__response__, 'database_version'),
|
pulumi_gcp/sql/outputs.py
CHANGED
@@ -4199,6 +4199,7 @@ class GetDatabaseInstanceSettingSqlServerAuditConfigResult(dict):
|
|
4199
4199
|
class GetDatabaseInstancesInstanceResult(dict):
|
4200
4200
|
def __init__(__self__, *,
|
4201
4201
|
available_maintenance_versions: Sequence[_builtins.str],
|
4202
|
+
backupdr_backup: _builtins.str,
|
4202
4203
|
clones: Sequence['outputs.GetDatabaseInstancesInstanceCloneResult'],
|
4203
4204
|
connection_name: _builtins.str,
|
4204
4205
|
database_version: _builtins.str,
|
@@ -4229,6 +4230,7 @@ class GetDatabaseInstancesInstanceResult(dict):
|
|
4229
4230
|
settings: Sequence['outputs.GetDatabaseInstancesInstanceSettingResult']):
|
4230
4231
|
"""
|
4231
4232
|
:param Sequence[_builtins.str] available_maintenance_versions: Available Maintenance versions.
|
4233
|
+
:param _builtins.str backupdr_backup: The name of the BackupDR backup to restore from.
|
4232
4234
|
:param Sequence['GetDatabaseInstancesInstanceCloneArgs'] clones: Configuration for creating a new instance as a clone of another instance.
|
4233
4235
|
:param _builtins.str connection_name: The connection name of the instance to be used in connection strings. For example, when connecting with Cloud SQL Proxy.
|
4234
4236
|
:param _builtins.str database_version: To filter out the Cloud SQL instances which are of the specified database version.
|
@@ -4250,6 +4252,7 @@ class GetDatabaseInstancesInstanceResult(dict):
|
|
4250
4252
|
:param Sequence['GetDatabaseInstancesInstanceSettingArgs'] settings: The settings to use for the database. The configuration is detailed below.
|
4251
4253
|
"""
|
4252
4254
|
pulumi.set(__self__, "available_maintenance_versions", available_maintenance_versions)
|
4255
|
+
pulumi.set(__self__, "backupdr_backup", backupdr_backup)
|
4253
4256
|
pulumi.set(__self__, "clones", clones)
|
4254
4257
|
pulumi.set(__self__, "connection_name", connection_name)
|
4255
4258
|
pulumi.set(__self__, "database_version", database_version)
|
@@ -4287,6 +4290,14 @@ class GetDatabaseInstancesInstanceResult(dict):
|
|
4287
4290
|
"""
|
4288
4291
|
return pulumi.get(self, "available_maintenance_versions")
|
4289
4292
|
|
4293
|
+
@_builtins.property
|
4294
|
+
@pulumi.getter(name="backupdrBackup")
|
4295
|
+
def backupdr_backup(self) -> _builtins.str:
|
4296
|
+
"""
|
4297
|
+
The name of the BackupDR backup to restore from.
|
4298
|
+
"""
|
4299
|
+
return pulumi.get(self, "backupdr_backup")
|
4300
|
+
|
4290
4301
|
@_builtins.property
|
4291
4302
|
@pulumi.getter
|
4292
4303
|
def clones(self) -> Sequence['outputs.GetDatabaseInstancesInstanceCloneResult']:
|