pulumi-gcp 8.39.0a1752821510__py3-none-any.whl → 8.39.0a1753206228__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 +16 -0
- pulumi_gcp/apigee/_inputs.py +62 -0
- pulumi_gcp/apigee/instance.py +63 -0
- pulumi_gcp/apigee/outputs.py +37 -0
- pulumi_gcp/backupdisasterrecovery/__init__.py +1 -0
- pulumi_gcp/backupdisasterrecovery/service_config.py +297 -0
- pulumi_gcp/bigqueryanalyticshub/__init__.py +1 -0
- pulumi_gcp/bigqueryanalyticshub/_inputs.py +355 -0
- pulumi_gcp/bigqueryanalyticshub/data_exchange_subscription.py +1082 -0
- pulumi_gcp/bigqueryanalyticshub/listing.py +116 -0
- pulumi_gcp/bigqueryanalyticshub/outputs.py +287 -0
- pulumi_gcp/compute/__init__.py +1 -0
- pulumi_gcp/compute/_inputs.py +699 -19
- pulumi_gcp/compute/firewall.py +54 -0
- pulumi_gcp/compute/future_reservation.py +124 -0
- pulumi_gcp/compute/get_network_attachment.py +288 -0
- pulumi_gcp/compute/get_region_disk.py +23 -1
- pulumi_gcp/compute/get_reservation.py +45 -1
- pulumi_gcp/compute/interconnect.py +108 -0
- pulumi_gcp/compute/outputs.py +734 -15
- pulumi_gcp/compute/region_disk.py +115 -0
- pulumi_gcp/compute/reservation.py +449 -0
- pulumi_gcp/firebase/hosting_site.py +50 -2
- pulumi_gcp/firestore/__init__.py +1 -0
- pulumi_gcp/firestore/database.py +117 -1
- pulumi_gcp/firestore/get_document.py +234 -0
- pulumi_gcp/gkeonprem/vmware_admin_cluster.py +12 -0
- pulumi_gcp/networksecurity/backend_authentication_config.py +12 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/storage/bucket_object.py +47 -0
- pulumi_gcp/storage/get_bucket_object.py +12 -1
- pulumi_gcp/storage/get_bucket_object_content.py +12 -1
- {pulumi_gcp-8.39.0a1752821510.dist-info → pulumi_gcp-8.39.0a1753206228.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.39.0a1752821510.dist-info → pulumi_gcp-8.39.0a1753206228.dist-info}/RECORD +36 -32
- {pulumi_gcp-8.39.0a1752821510.dist-info → pulumi_gcp-8.39.0a1753206228.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.39.0a1752821510.dist-info → pulumi_gcp-8.39.0a1753206228.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,288 @@
|
|
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
|
6
|
+
import copy
|
7
|
+
import warnings
|
8
|
+
import sys
|
9
|
+
import pulumi
|
10
|
+
import pulumi.runtime
|
11
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
12
|
+
if sys.version_info >= (3, 11):
|
13
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
14
|
+
else:
|
15
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
16
|
+
from .. import _utilities
|
17
|
+
from . import outputs
|
18
|
+
|
19
|
+
__all__ = [
|
20
|
+
'GetNetworkAttachmentResult',
|
21
|
+
'AwaitableGetNetworkAttachmentResult',
|
22
|
+
'get_network_attachment',
|
23
|
+
'get_network_attachment_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetNetworkAttachmentResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getNetworkAttachment.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, connection_endpoints=None, connection_preference=None, creation_timestamp=None, description=None, fingerprint=None, id=None, kind=None, name=None, network=None, producer_accept_lists=None, producer_reject_lists=None, project=None, region=None, self_link=None, self_link_with_id=None, subnetworks=None):
|
32
|
+
if connection_endpoints and not isinstance(connection_endpoints, list):
|
33
|
+
raise TypeError("Expected argument 'connection_endpoints' to be a list")
|
34
|
+
pulumi.set(__self__, "connection_endpoints", connection_endpoints)
|
35
|
+
if connection_preference and not isinstance(connection_preference, str):
|
36
|
+
raise TypeError("Expected argument 'connection_preference' to be a str")
|
37
|
+
pulumi.set(__self__, "connection_preference", connection_preference)
|
38
|
+
if creation_timestamp and not isinstance(creation_timestamp, str):
|
39
|
+
raise TypeError("Expected argument 'creation_timestamp' to be a str")
|
40
|
+
pulumi.set(__self__, "creation_timestamp", creation_timestamp)
|
41
|
+
if description and not isinstance(description, str):
|
42
|
+
raise TypeError("Expected argument 'description' to be a str")
|
43
|
+
pulumi.set(__self__, "description", description)
|
44
|
+
if fingerprint and not isinstance(fingerprint, str):
|
45
|
+
raise TypeError("Expected argument 'fingerprint' to be a str")
|
46
|
+
pulumi.set(__self__, "fingerprint", fingerprint)
|
47
|
+
if id and not isinstance(id, str):
|
48
|
+
raise TypeError("Expected argument 'id' to be a str")
|
49
|
+
pulumi.set(__self__, "id", id)
|
50
|
+
if kind and not isinstance(kind, str):
|
51
|
+
raise TypeError("Expected argument 'kind' to be a str")
|
52
|
+
pulumi.set(__self__, "kind", kind)
|
53
|
+
if name and not isinstance(name, str):
|
54
|
+
raise TypeError("Expected argument 'name' to be a str")
|
55
|
+
pulumi.set(__self__, "name", name)
|
56
|
+
if network and not isinstance(network, str):
|
57
|
+
raise TypeError("Expected argument 'network' to be a str")
|
58
|
+
pulumi.set(__self__, "network", network)
|
59
|
+
if producer_accept_lists and not isinstance(producer_accept_lists, list):
|
60
|
+
raise TypeError("Expected argument 'producer_accept_lists' to be a list")
|
61
|
+
pulumi.set(__self__, "producer_accept_lists", producer_accept_lists)
|
62
|
+
if producer_reject_lists and not isinstance(producer_reject_lists, list):
|
63
|
+
raise TypeError("Expected argument 'producer_reject_lists' to be a list")
|
64
|
+
pulumi.set(__self__, "producer_reject_lists", producer_reject_lists)
|
65
|
+
if project and not isinstance(project, str):
|
66
|
+
raise TypeError("Expected argument 'project' to be a str")
|
67
|
+
pulumi.set(__self__, "project", project)
|
68
|
+
if region and not isinstance(region, str):
|
69
|
+
raise TypeError("Expected argument 'region' to be a str")
|
70
|
+
pulumi.set(__self__, "region", region)
|
71
|
+
if self_link and not isinstance(self_link, str):
|
72
|
+
raise TypeError("Expected argument 'self_link' to be a str")
|
73
|
+
pulumi.set(__self__, "self_link", self_link)
|
74
|
+
if self_link_with_id and not isinstance(self_link_with_id, str):
|
75
|
+
raise TypeError("Expected argument 'self_link_with_id' to be a str")
|
76
|
+
pulumi.set(__self__, "self_link_with_id", self_link_with_id)
|
77
|
+
if subnetworks and not isinstance(subnetworks, list):
|
78
|
+
raise TypeError("Expected argument 'subnetworks' to be a list")
|
79
|
+
pulumi.set(__self__, "subnetworks", subnetworks)
|
80
|
+
|
81
|
+
@property
|
82
|
+
@pulumi.getter(name="connectionEndpoints")
|
83
|
+
def connection_endpoints(self) -> Sequence['outputs.GetNetworkAttachmentConnectionEndpointResult']:
|
84
|
+
return pulumi.get(self, "connection_endpoints")
|
85
|
+
|
86
|
+
@property
|
87
|
+
@pulumi.getter(name="connectionPreference")
|
88
|
+
def connection_preference(self) -> builtins.str:
|
89
|
+
return pulumi.get(self, "connection_preference")
|
90
|
+
|
91
|
+
@property
|
92
|
+
@pulumi.getter(name="creationTimestamp")
|
93
|
+
def creation_timestamp(self) -> builtins.str:
|
94
|
+
return pulumi.get(self, "creation_timestamp")
|
95
|
+
|
96
|
+
@property
|
97
|
+
@pulumi.getter
|
98
|
+
def description(self) -> builtins.str:
|
99
|
+
return pulumi.get(self, "description")
|
100
|
+
|
101
|
+
@property
|
102
|
+
@pulumi.getter
|
103
|
+
def fingerprint(self) -> builtins.str:
|
104
|
+
return pulumi.get(self, "fingerprint")
|
105
|
+
|
106
|
+
@property
|
107
|
+
@pulumi.getter
|
108
|
+
def id(self) -> builtins.str:
|
109
|
+
return pulumi.get(self, "id")
|
110
|
+
|
111
|
+
@property
|
112
|
+
@pulumi.getter
|
113
|
+
def kind(self) -> builtins.str:
|
114
|
+
return pulumi.get(self, "kind")
|
115
|
+
|
116
|
+
@property
|
117
|
+
@pulumi.getter
|
118
|
+
def name(self) -> builtins.str:
|
119
|
+
return pulumi.get(self, "name")
|
120
|
+
|
121
|
+
@property
|
122
|
+
@pulumi.getter
|
123
|
+
def network(self) -> builtins.str:
|
124
|
+
return pulumi.get(self, "network")
|
125
|
+
|
126
|
+
@property
|
127
|
+
@pulumi.getter(name="producerAcceptLists")
|
128
|
+
def producer_accept_lists(self) -> Sequence[builtins.str]:
|
129
|
+
return pulumi.get(self, "producer_accept_lists")
|
130
|
+
|
131
|
+
@property
|
132
|
+
@pulumi.getter(name="producerRejectLists")
|
133
|
+
def producer_reject_lists(self) -> Sequence[builtins.str]:
|
134
|
+
return pulumi.get(self, "producer_reject_lists")
|
135
|
+
|
136
|
+
@property
|
137
|
+
@pulumi.getter
|
138
|
+
def project(self) -> Optional[builtins.str]:
|
139
|
+
return pulumi.get(self, "project")
|
140
|
+
|
141
|
+
@property
|
142
|
+
@pulumi.getter
|
143
|
+
def region(self) -> builtins.str:
|
144
|
+
return pulumi.get(self, "region")
|
145
|
+
|
146
|
+
@property
|
147
|
+
@pulumi.getter(name="selfLink")
|
148
|
+
def self_link(self) -> builtins.str:
|
149
|
+
return pulumi.get(self, "self_link")
|
150
|
+
|
151
|
+
@property
|
152
|
+
@pulumi.getter(name="selfLinkWithId")
|
153
|
+
def self_link_with_id(self) -> builtins.str:
|
154
|
+
return pulumi.get(self, "self_link_with_id")
|
155
|
+
|
156
|
+
@property
|
157
|
+
@pulumi.getter
|
158
|
+
def subnetworks(self) -> Sequence[builtins.str]:
|
159
|
+
return pulumi.get(self, "subnetworks")
|
160
|
+
|
161
|
+
|
162
|
+
class AwaitableGetNetworkAttachmentResult(GetNetworkAttachmentResult):
|
163
|
+
# pylint: disable=using-constant-test
|
164
|
+
def __await__(self):
|
165
|
+
if False:
|
166
|
+
yield self
|
167
|
+
return GetNetworkAttachmentResult(
|
168
|
+
connection_endpoints=self.connection_endpoints,
|
169
|
+
connection_preference=self.connection_preference,
|
170
|
+
creation_timestamp=self.creation_timestamp,
|
171
|
+
description=self.description,
|
172
|
+
fingerprint=self.fingerprint,
|
173
|
+
id=self.id,
|
174
|
+
kind=self.kind,
|
175
|
+
name=self.name,
|
176
|
+
network=self.network,
|
177
|
+
producer_accept_lists=self.producer_accept_lists,
|
178
|
+
producer_reject_lists=self.producer_reject_lists,
|
179
|
+
project=self.project,
|
180
|
+
region=self.region,
|
181
|
+
self_link=self.self_link,
|
182
|
+
self_link_with_id=self.self_link_with_id,
|
183
|
+
subnetworks=self.subnetworks)
|
184
|
+
|
185
|
+
|
186
|
+
def get_network_attachment(name: Optional[builtins.str] = None,
|
187
|
+
project: Optional[builtins.str] = None,
|
188
|
+
region: Optional[builtins.str] = None,
|
189
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNetworkAttachmentResult:
|
190
|
+
"""
|
191
|
+
Get a specific network attachment within a region. For more information see
|
192
|
+
the [official documentation](https://cloud.google.com/vpc/docs/about-network-attachments)
|
193
|
+
and [API](https://cloud.google.com/compute/docs/reference/rest/v1/networkAttachments/get).
|
194
|
+
|
195
|
+
## Example Usage
|
196
|
+
|
197
|
+
```python
|
198
|
+
import pulumi
|
199
|
+
import pulumi_gcp as gcp
|
200
|
+
|
201
|
+
default = gcp.compute.get_network_attachment(project="my-project",
|
202
|
+
name="my-network-attachment",
|
203
|
+
region="europe-west1")
|
204
|
+
```
|
205
|
+
|
206
|
+
|
207
|
+
:param builtins.str name: The name of the network attachment to retrieve.
|
208
|
+
The name must be unique within the region.
|
209
|
+
:param builtins.str project: The ID of the project in which the resource belongs.
|
210
|
+
If it is not provided, the provider project is used.
|
211
|
+
:param builtins.str region: The region in which the network attachment resides.
|
212
|
+
For example, `europe-west1`.
|
213
|
+
"""
|
214
|
+
__args__ = dict()
|
215
|
+
__args__['name'] = name
|
216
|
+
__args__['project'] = project
|
217
|
+
__args__['region'] = region
|
218
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
219
|
+
__ret__ = pulumi.runtime.invoke('gcp:compute/getNetworkAttachment:getNetworkAttachment', __args__, opts=opts, typ=GetNetworkAttachmentResult).value
|
220
|
+
|
221
|
+
return AwaitableGetNetworkAttachmentResult(
|
222
|
+
connection_endpoints=pulumi.get(__ret__, 'connection_endpoints'),
|
223
|
+
connection_preference=pulumi.get(__ret__, 'connection_preference'),
|
224
|
+
creation_timestamp=pulumi.get(__ret__, 'creation_timestamp'),
|
225
|
+
description=pulumi.get(__ret__, 'description'),
|
226
|
+
fingerprint=pulumi.get(__ret__, 'fingerprint'),
|
227
|
+
id=pulumi.get(__ret__, 'id'),
|
228
|
+
kind=pulumi.get(__ret__, 'kind'),
|
229
|
+
name=pulumi.get(__ret__, 'name'),
|
230
|
+
network=pulumi.get(__ret__, 'network'),
|
231
|
+
producer_accept_lists=pulumi.get(__ret__, 'producer_accept_lists'),
|
232
|
+
producer_reject_lists=pulumi.get(__ret__, 'producer_reject_lists'),
|
233
|
+
project=pulumi.get(__ret__, 'project'),
|
234
|
+
region=pulumi.get(__ret__, 'region'),
|
235
|
+
self_link=pulumi.get(__ret__, 'self_link'),
|
236
|
+
self_link_with_id=pulumi.get(__ret__, 'self_link_with_id'),
|
237
|
+
subnetworks=pulumi.get(__ret__, 'subnetworks'))
|
238
|
+
def get_network_attachment_output(name: Optional[pulumi.Input[builtins.str]] = None,
|
239
|
+
project: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
240
|
+
region: Optional[pulumi.Input[builtins.str]] = None,
|
241
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNetworkAttachmentResult]:
|
242
|
+
"""
|
243
|
+
Get a specific network attachment within a region. For more information see
|
244
|
+
the [official documentation](https://cloud.google.com/vpc/docs/about-network-attachments)
|
245
|
+
and [API](https://cloud.google.com/compute/docs/reference/rest/v1/networkAttachments/get).
|
246
|
+
|
247
|
+
## Example Usage
|
248
|
+
|
249
|
+
```python
|
250
|
+
import pulumi
|
251
|
+
import pulumi_gcp as gcp
|
252
|
+
|
253
|
+
default = gcp.compute.get_network_attachment(project="my-project",
|
254
|
+
name="my-network-attachment",
|
255
|
+
region="europe-west1")
|
256
|
+
```
|
257
|
+
|
258
|
+
|
259
|
+
:param builtins.str name: The name of the network attachment to retrieve.
|
260
|
+
The name must be unique within the region.
|
261
|
+
:param builtins.str project: The ID of the project in which the resource belongs.
|
262
|
+
If it is not provided, the provider project is used.
|
263
|
+
:param builtins.str region: The region in which the network attachment resides.
|
264
|
+
For example, `europe-west1`.
|
265
|
+
"""
|
266
|
+
__args__ = dict()
|
267
|
+
__args__['name'] = name
|
268
|
+
__args__['project'] = project
|
269
|
+
__args__['region'] = region
|
270
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
271
|
+
__ret__ = pulumi.runtime.invoke_output('gcp:compute/getNetworkAttachment:getNetworkAttachment', __args__, opts=opts, typ=GetNetworkAttachmentResult)
|
272
|
+
return __ret__.apply(lambda __response__: GetNetworkAttachmentResult(
|
273
|
+
connection_endpoints=pulumi.get(__response__, 'connection_endpoints'),
|
274
|
+
connection_preference=pulumi.get(__response__, 'connection_preference'),
|
275
|
+
creation_timestamp=pulumi.get(__response__, 'creation_timestamp'),
|
276
|
+
description=pulumi.get(__response__, 'description'),
|
277
|
+
fingerprint=pulumi.get(__response__, 'fingerprint'),
|
278
|
+
id=pulumi.get(__response__, 'id'),
|
279
|
+
kind=pulumi.get(__response__, 'kind'),
|
280
|
+
name=pulumi.get(__response__, 'name'),
|
281
|
+
network=pulumi.get(__response__, 'network'),
|
282
|
+
producer_accept_lists=pulumi.get(__response__, 'producer_accept_lists'),
|
283
|
+
producer_reject_lists=pulumi.get(__response__, 'producer_reject_lists'),
|
284
|
+
project=pulumi.get(__response__, 'project'),
|
285
|
+
region=pulumi.get(__response__, 'region'),
|
286
|
+
self_link=pulumi.get(__response__, 'self_link'),
|
287
|
+
self_link_with_id=pulumi.get(__response__, 'self_link_with_id'),
|
288
|
+
subnetworks=pulumi.get(__response__, 'subnetworks')))
|
@@ -28,7 +28,7 @@ class GetRegionDiskResult:
|
|
28
28
|
"""
|
29
29
|
A collection of values returned by getRegionDisk.
|
30
30
|
"""
|
31
|
-
def __init__(__self__, access_mode=None, async_primary_disks=None, create_snapshot_before_destroy=None, create_snapshot_before_destroy_prefix=None, creation_timestamp=None, description=None, disk_encryption_keys=None, disk_id=None, effective_labels=None, guest_os_features=None, id=None, interface=None, label_fingerprint=None, labels=None, last_attach_timestamp=None, last_detach_timestamp=None, licenses=None, name=None, physical_block_size_bytes=None, project=None, pulumi_labels=None, region=None, replica_zones=None, self_link=None, size=None, snapshot=None, source_disk=None, source_disk_id=None, source_snapshot_encryption_keys=None, source_snapshot_id=None, type=None, users=None):
|
31
|
+
def __init__(__self__, access_mode=None, async_primary_disks=None, create_snapshot_before_destroy=None, create_snapshot_before_destroy_prefix=None, creation_timestamp=None, description=None, disk_encryption_keys=None, disk_id=None, effective_labels=None, guest_os_features=None, id=None, interface=None, label_fingerprint=None, labels=None, last_attach_timestamp=None, last_detach_timestamp=None, licenses=None, name=None, physical_block_size_bytes=None, project=None, provisioned_iops=None, provisioned_throughput=None, pulumi_labels=None, region=None, replica_zones=None, self_link=None, size=None, snapshot=None, source_disk=None, source_disk_id=None, source_snapshot_encryption_keys=None, source_snapshot_id=None, type=None, users=None):
|
32
32
|
if access_mode and not isinstance(access_mode, str):
|
33
33
|
raise TypeError("Expected argument 'access_mode' to be a str")
|
34
34
|
pulumi.set(__self__, "access_mode", access_mode)
|
@@ -89,6 +89,12 @@ class GetRegionDiskResult:
|
|
89
89
|
if project and not isinstance(project, str):
|
90
90
|
raise TypeError("Expected argument 'project' to be a str")
|
91
91
|
pulumi.set(__self__, "project", project)
|
92
|
+
if provisioned_iops and not isinstance(provisioned_iops, int):
|
93
|
+
raise TypeError("Expected argument 'provisioned_iops' to be a int")
|
94
|
+
pulumi.set(__self__, "provisioned_iops", provisioned_iops)
|
95
|
+
if provisioned_throughput and not isinstance(provisioned_throughput, int):
|
96
|
+
raise TypeError("Expected argument 'provisioned_throughput' to be a int")
|
97
|
+
pulumi.set(__self__, "provisioned_throughput", provisioned_throughput)
|
92
98
|
if pulumi_labels and not isinstance(pulumi_labels, dict):
|
93
99
|
raise TypeError("Expected argument 'pulumi_labels' to be a dict")
|
94
100
|
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
@@ -229,6 +235,16 @@ class GetRegionDiskResult:
|
|
229
235
|
def project(self) -> Optional[builtins.str]:
|
230
236
|
return pulumi.get(self, "project")
|
231
237
|
|
238
|
+
@property
|
239
|
+
@pulumi.getter(name="provisionedIops")
|
240
|
+
def provisioned_iops(self) -> builtins.int:
|
241
|
+
return pulumi.get(self, "provisioned_iops")
|
242
|
+
|
243
|
+
@property
|
244
|
+
@pulumi.getter(name="provisionedThroughput")
|
245
|
+
def provisioned_throughput(self) -> builtins.int:
|
246
|
+
return pulumi.get(self, "provisioned_throughput")
|
247
|
+
|
232
248
|
@property
|
233
249
|
@pulumi.getter(name="pulumiLabels")
|
234
250
|
def pulumi_labels(self) -> Mapping[str, builtins.str]:
|
@@ -316,6 +332,8 @@ class AwaitableGetRegionDiskResult(GetRegionDiskResult):
|
|
316
332
|
name=self.name,
|
317
333
|
physical_block_size_bytes=self.physical_block_size_bytes,
|
318
334
|
project=self.project,
|
335
|
+
provisioned_iops=self.provisioned_iops,
|
336
|
+
provisioned_throughput=self.provisioned_throughput,
|
319
337
|
pulumi_labels=self.pulumi_labels,
|
320
338
|
region=self.region,
|
321
339
|
replica_zones=self.replica_zones,
|
@@ -375,6 +393,8 @@ def get_region_disk(name: Optional[builtins.str] = None,
|
|
375
393
|
name=pulumi.get(__ret__, 'name'),
|
376
394
|
physical_block_size_bytes=pulumi.get(__ret__, 'physical_block_size_bytes'),
|
377
395
|
project=pulumi.get(__ret__, 'project'),
|
396
|
+
provisioned_iops=pulumi.get(__ret__, 'provisioned_iops'),
|
397
|
+
provisioned_throughput=pulumi.get(__ret__, 'provisioned_throughput'),
|
378
398
|
pulumi_labels=pulumi.get(__ret__, 'pulumi_labels'),
|
379
399
|
region=pulumi.get(__ret__, 'region'),
|
380
400
|
replica_zones=pulumi.get(__ret__, 'replica_zones'),
|
@@ -431,6 +451,8 @@ def get_region_disk_output(name: Optional[pulumi.Input[builtins.str]] = None,
|
|
431
451
|
name=pulumi.get(__response__, 'name'),
|
432
452
|
physical_block_size_bytes=pulumi.get(__response__, 'physical_block_size_bytes'),
|
433
453
|
project=pulumi.get(__response__, 'project'),
|
454
|
+
provisioned_iops=pulumi.get(__response__, 'provisioned_iops'),
|
455
|
+
provisioned_throughput=pulumi.get(__response__, 'provisioned_throughput'),
|
434
456
|
pulumi_labels=pulumi.get(__response__, 'pulumi_labels'),
|
435
457
|
region=pulumi.get(__response__, 'region'),
|
436
458
|
replica_zones=pulumi.get(__response__, 'replica_zones'),
|
@@ -28,16 +28,25 @@ class GetReservationResult:
|
|
28
28
|
"""
|
29
29
|
A collection of values returned by getReservation.
|
30
30
|
"""
|
31
|
-
def __init__(__self__, commitment=None, creation_timestamp=None, description=None, id=None, name=None, project=None, self_link=None, share_settings=None, specific_reservation_required=None, specific_reservations=None, status=None, zone=None):
|
31
|
+
def __init__(__self__, commitment=None, creation_timestamp=None, delete_after_durations=None, delete_at_time=None, description=None, enable_emergent_maintenance=None, id=None, name=None, project=None, reservation_sharing_policies=None, self_link=None, share_settings=None, specific_reservation_required=None, specific_reservations=None, status=None, zone=None):
|
32
32
|
if commitment and not isinstance(commitment, str):
|
33
33
|
raise TypeError("Expected argument 'commitment' to be a str")
|
34
34
|
pulumi.set(__self__, "commitment", commitment)
|
35
35
|
if creation_timestamp and not isinstance(creation_timestamp, str):
|
36
36
|
raise TypeError("Expected argument 'creation_timestamp' to be a str")
|
37
37
|
pulumi.set(__self__, "creation_timestamp", creation_timestamp)
|
38
|
+
if delete_after_durations and not isinstance(delete_after_durations, list):
|
39
|
+
raise TypeError("Expected argument 'delete_after_durations' to be a list")
|
40
|
+
pulumi.set(__self__, "delete_after_durations", delete_after_durations)
|
41
|
+
if delete_at_time and not isinstance(delete_at_time, str):
|
42
|
+
raise TypeError("Expected argument 'delete_at_time' to be a str")
|
43
|
+
pulumi.set(__self__, "delete_at_time", delete_at_time)
|
38
44
|
if description and not isinstance(description, str):
|
39
45
|
raise TypeError("Expected argument 'description' to be a str")
|
40
46
|
pulumi.set(__self__, "description", description)
|
47
|
+
if enable_emergent_maintenance and not isinstance(enable_emergent_maintenance, bool):
|
48
|
+
raise TypeError("Expected argument 'enable_emergent_maintenance' to be a bool")
|
49
|
+
pulumi.set(__self__, "enable_emergent_maintenance", enable_emergent_maintenance)
|
41
50
|
if id and not isinstance(id, str):
|
42
51
|
raise TypeError("Expected argument 'id' to be a str")
|
43
52
|
pulumi.set(__self__, "id", id)
|
@@ -47,6 +56,9 @@ class GetReservationResult:
|
|
47
56
|
if project and not isinstance(project, str):
|
48
57
|
raise TypeError("Expected argument 'project' to be a str")
|
49
58
|
pulumi.set(__self__, "project", project)
|
59
|
+
if reservation_sharing_policies and not isinstance(reservation_sharing_policies, list):
|
60
|
+
raise TypeError("Expected argument 'reservation_sharing_policies' to be a list")
|
61
|
+
pulumi.set(__self__, "reservation_sharing_policies", reservation_sharing_policies)
|
50
62
|
if self_link and not isinstance(self_link, str):
|
51
63
|
raise TypeError("Expected argument 'self_link' to be a str")
|
52
64
|
pulumi.set(__self__, "self_link", self_link)
|
@@ -76,11 +88,26 @@ class GetReservationResult:
|
|
76
88
|
def creation_timestamp(self) -> builtins.str:
|
77
89
|
return pulumi.get(self, "creation_timestamp")
|
78
90
|
|
91
|
+
@property
|
92
|
+
@pulumi.getter(name="deleteAfterDurations")
|
93
|
+
def delete_after_durations(self) -> Sequence['outputs.GetReservationDeleteAfterDurationResult']:
|
94
|
+
return pulumi.get(self, "delete_after_durations")
|
95
|
+
|
96
|
+
@property
|
97
|
+
@pulumi.getter(name="deleteAtTime")
|
98
|
+
def delete_at_time(self) -> builtins.str:
|
99
|
+
return pulumi.get(self, "delete_at_time")
|
100
|
+
|
79
101
|
@property
|
80
102
|
@pulumi.getter
|
81
103
|
def description(self) -> builtins.str:
|
82
104
|
return pulumi.get(self, "description")
|
83
105
|
|
106
|
+
@property
|
107
|
+
@pulumi.getter(name="enableEmergentMaintenance")
|
108
|
+
def enable_emergent_maintenance(self) -> builtins.bool:
|
109
|
+
return pulumi.get(self, "enable_emergent_maintenance")
|
110
|
+
|
84
111
|
@property
|
85
112
|
@pulumi.getter
|
86
113
|
def id(self) -> builtins.str:
|
@@ -99,6 +126,11 @@ class GetReservationResult:
|
|
99
126
|
def project(self) -> Optional[builtins.str]:
|
100
127
|
return pulumi.get(self, "project")
|
101
128
|
|
129
|
+
@property
|
130
|
+
@pulumi.getter(name="reservationSharingPolicies")
|
131
|
+
def reservation_sharing_policies(self) -> Sequence['outputs.GetReservationReservationSharingPolicyResult']:
|
132
|
+
return pulumi.get(self, "reservation_sharing_policies")
|
133
|
+
|
102
134
|
@property
|
103
135
|
@pulumi.getter(name="selfLink")
|
104
136
|
def self_link(self) -> builtins.str:
|
@@ -138,10 +170,14 @@ class AwaitableGetReservationResult(GetReservationResult):
|
|
138
170
|
return GetReservationResult(
|
139
171
|
commitment=self.commitment,
|
140
172
|
creation_timestamp=self.creation_timestamp,
|
173
|
+
delete_after_durations=self.delete_after_durations,
|
174
|
+
delete_at_time=self.delete_at_time,
|
141
175
|
description=self.description,
|
176
|
+
enable_emergent_maintenance=self.enable_emergent_maintenance,
|
142
177
|
id=self.id,
|
143
178
|
name=self.name,
|
144
179
|
project=self.project,
|
180
|
+
reservation_sharing_policies=self.reservation_sharing_policies,
|
145
181
|
self_link=self.self_link,
|
146
182
|
share_settings=self.share_settings,
|
147
183
|
specific_reservation_required=self.specific_reservation_required,
|
@@ -181,10 +217,14 @@ def get_reservation(name: Optional[builtins.str] = None,
|
|
181
217
|
return AwaitableGetReservationResult(
|
182
218
|
commitment=pulumi.get(__ret__, 'commitment'),
|
183
219
|
creation_timestamp=pulumi.get(__ret__, 'creation_timestamp'),
|
220
|
+
delete_after_durations=pulumi.get(__ret__, 'delete_after_durations'),
|
221
|
+
delete_at_time=pulumi.get(__ret__, 'delete_at_time'),
|
184
222
|
description=pulumi.get(__ret__, 'description'),
|
223
|
+
enable_emergent_maintenance=pulumi.get(__ret__, 'enable_emergent_maintenance'),
|
185
224
|
id=pulumi.get(__ret__, 'id'),
|
186
225
|
name=pulumi.get(__ret__, 'name'),
|
187
226
|
project=pulumi.get(__ret__, 'project'),
|
227
|
+
reservation_sharing_policies=pulumi.get(__ret__, 'reservation_sharing_policies'),
|
188
228
|
self_link=pulumi.get(__ret__, 'self_link'),
|
189
229
|
share_settings=pulumi.get(__ret__, 'share_settings'),
|
190
230
|
specific_reservation_required=pulumi.get(__ret__, 'specific_reservation_required'),
|
@@ -221,10 +261,14 @@ def get_reservation_output(name: Optional[pulumi.Input[builtins.str]] = None,
|
|
221
261
|
return __ret__.apply(lambda __response__: GetReservationResult(
|
222
262
|
commitment=pulumi.get(__response__, 'commitment'),
|
223
263
|
creation_timestamp=pulumi.get(__response__, 'creation_timestamp'),
|
264
|
+
delete_after_durations=pulumi.get(__response__, 'delete_after_durations'),
|
265
|
+
delete_at_time=pulumi.get(__response__, 'delete_at_time'),
|
224
266
|
description=pulumi.get(__response__, 'description'),
|
267
|
+
enable_emergent_maintenance=pulumi.get(__response__, 'enable_emergent_maintenance'),
|
225
268
|
id=pulumi.get(__response__, 'id'),
|
226
269
|
name=pulumi.get(__response__, 'name'),
|
227
270
|
project=pulumi.get(__response__, 'project'),
|
271
|
+
reservation_sharing_policies=pulumi.get(__response__, 'reservation_sharing_policies'),
|
228
272
|
self_link=pulumi.get(__response__, 'self_link'),
|
229
273
|
share_settings=pulumi.get(__response__, 'share_settings'),
|
230
274
|
specific_reservation_required=pulumi.get(__response__, 'specific_reservation_required'),
|