pulumi-gcp 7.15.0a1711038061__py3-none-any.whl → 7.16.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.
Files changed (83) hide show
  1. pulumi_gcp/__init__.py +102 -0
  2. pulumi_gcp/accesscontextmanager/__init__.py +1 -0
  3. pulumi_gcp/accesscontextmanager/_inputs.py +74 -58
  4. pulumi_gcp/accesscontextmanager/outputs.py +74 -58
  5. pulumi_gcp/accesscontextmanager/service_perimeter.py +0 -2
  6. pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_resource.py +345 -0
  7. pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +80 -0
  8. pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +86 -0
  9. pulumi_gcp/accesscontextmanager/service_perimeter_resource.py +4 -2
  10. pulumi_gcp/apphub/__init__.py +15 -0
  11. pulumi_gcp/apphub/_inputs.py +1016 -0
  12. pulumi_gcp/apphub/application.py +775 -0
  13. pulumi_gcp/apphub/get_discovered_service.py +180 -0
  14. pulumi_gcp/apphub/get_discovered_workload.py +180 -0
  15. pulumi_gcp/apphub/outputs.py +1206 -0
  16. pulumi_gcp/apphub/service.py +1121 -0
  17. pulumi_gcp/apphub/service_project_attachment.py +516 -0
  18. pulumi_gcp/apphub/workload.py +1197 -0
  19. pulumi_gcp/cloudquota/__init__.py +10 -0
  20. pulumi_gcp/cloudquota/get_s_quota_info.py +322 -0
  21. pulumi_gcp/cloudquota/get_s_quota_infos.py +136 -0
  22. pulumi_gcp/cloudquota/outputs.py +375 -0
  23. pulumi_gcp/cloudrunv2/_inputs.py +85 -4
  24. pulumi_gcp/cloudrunv2/get_service.py +11 -1
  25. pulumi_gcp/cloudrunv2/outputs.py +165 -6
  26. pulumi_gcp/cloudrunv2/service.py +60 -6
  27. pulumi_gcp/composer/_inputs.py +16 -0
  28. pulumi_gcp/composer/outputs.py +23 -0
  29. pulumi_gcp/compute/_inputs.py +109 -11
  30. pulumi_gcp/compute/outputs.py +144 -13
  31. pulumi_gcp/compute/region_network_endpoint_group.py +30 -0
  32. pulumi_gcp/compute/region_url_map.py +152 -0
  33. pulumi_gcp/config/__init__.pyi +4 -0
  34. pulumi_gcp/config/vars.py +8 -0
  35. pulumi_gcp/dataform/repository.py +4 -74
  36. pulumi_gcp/firebase/__init__.py +1 -0
  37. pulumi_gcp/firebase/android_app.py +41 -40
  38. pulumi_gcp/firebase/app_check_device_check_config.py +572 -0
  39. pulumi_gcp/firestore/_inputs.py +69 -0
  40. pulumi_gcp/firestore/database.py +206 -0
  41. pulumi_gcp/firestore/index.py +34 -48
  42. pulumi_gcp/firestore/outputs.py +80 -0
  43. pulumi_gcp/gkeonprem/_inputs.py +1 -3
  44. pulumi_gcp/gkeonprem/outputs.py +1 -3
  45. pulumi_gcp/gkeonprem/v_mware_cluster.py +2 -0
  46. pulumi_gcp/iap/__init__.py +5 -0
  47. pulumi_gcp/iap/_inputs.py +100 -0
  48. pulumi_gcp/iap/get_tunnel_dest_group_iam_policy.py +172 -0
  49. pulumi_gcp/iap/outputs.py +76 -0
  50. pulumi_gcp/iap/tunnel_dest_group.py +524 -0
  51. pulumi_gcp/iap/tunnel_dest_group_iam_binding.py +858 -0
  52. pulumi_gcp/iap/tunnel_dest_group_iam_member.py +858 -0
  53. pulumi_gcp/iap/tunnel_dest_group_iam_policy.py +760 -0
  54. pulumi_gcp/kms/__init__.py +1 -0
  55. pulumi_gcp/kms/_inputs.py +246 -0
  56. pulumi_gcp/kms/ekm_connection.py +610 -0
  57. pulumi_gcp/kms/outputs.py +242 -0
  58. pulumi_gcp/monitoring/_inputs.py +2 -0
  59. pulumi_gcp/monitoring/outputs.py +2 -0
  60. pulumi_gcp/networksecurity/__init__.py +1 -0
  61. pulumi_gcp/networksecurity/firewall_endpoint.py +48 -0
  62. pulumi_gcp/networksecurity/firewall_endpoint_association.py +753 -0
  63. pulumi_gcp/notebooks/instance.py +8 -0
  64. pulumi_gcp/orgpolicy/policy.py +2 -2
  65. pulumi_gcp/provider.py +40 -0
  66. pulumi_gcp/pubsub/_inputs.py +108 -0
  67. pulumi_gcp/pubsub/get_topic.py +11 -1
  68. pulumi_gcp/pubsub/outputs.py +213 -0
  69. pulumi_gcp/pubsub/subscription.py +4 -4
  70. pulumi_gcp/pubsub/topic.py +92 -0
  71. pulumi_gcp/securityposture/posture.py +2 -2
  72. pulumi_gcp/securityposture/posture_deployment.py +2 -2
  73. pulumi_gcp/storage/_inputs.py +72 -15
  74. pulumi_gcp/storage/bucket.py +54 -0
  75. pulumi_gcp/storage/get_bucket.py +11 -1
  76. pulumi_gcp/storage/outputs.py +110 -14
  77. pulumi_gcp/workstations/_inputs.py +247 -4
  78. pulumi_gcp/workstations/outputs.py +261 -5
  79. pulumi_gcp/workstations/workstation_config.py +160 -0
  80. {pulumi_gcp-7.15.0a1711038061.dist-info → pulumi_gcp-7.16.0.dist-info}/METADATA +1 -1
  81. {pulumi_gcp-7.15.0a1711038061.dist-info → pulumi_gcp-7.16.0.dist-info}/RECORD +83 -61
  82. {pulumi_gcp-7.15.0a1711038061.dist-info → pulumi_gcp-7.16.0.dist-info}/WHEEL +0 -0
  83. {pulumi_gcp-7.15.0a1711038061.dist-info → pulumi_gcp-7.16.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,10 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ from .. import _utilities
6
+ import typing
7
+ # Export this package's modules as members:
8
+ from .get_s_quota_info import *
9
+ from .get_s_quota_infos import *
10
+ from . import outputs
@@ -0,0 +1,322 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from .. import _utilities
11
+ from . import outputs
12
+
13
+ __all__ = [
14
+ 'GetSQuotaInfoResult',
15
+ 'AwaitableGetSQuotaInfoResult',
16
+ 'get_s_quota_info',
17
+ 'get_s_quota_info_output',
18
+ ]
19
+
20
+ @pulumi.output_type
21
+ class GetSQuotaInfoResult:
22
+ """
23
+ A collection of values returned by getSQuotaInfo.
24
+ """
25
+ def __init__(__self__, container_type=None, dimensions=None, dimensions_infos=None, id=None, is_concurrent=None, is_fixed=None, is_precise=None, metric=None, metric_display_name=None, metric_unit=None, name=None, parent=None, quota_display_name=None, quota_id=None, quota_increase_eligibilities=None, refresh_interval=None, service=None, service_request_quota_uri=None):
26
+ if container_type and not isinstance(container_type, str):
27
+ raise TypeError("Expected argument 'container_type' to be a str")
28
+ pulumi.set(__self__, "container_type", container_type)
29
+ if dimensions and not isinstance(dimensions, list):
30
+ raise TypeError("Expected argument 'dimensions' to be a list")
31
+ pulumi.set(__self__, "dimensions", dimensions)
32
+ if dimensions_infos and not isinstance(dimensions_infos, list):
33
+ raise TypeError("Expected argument 'dimensions_infos' to be a list")
34
+ pulumi.set(__self__, "dimensions_infos", dimensions_infos)
35
+ if id and not isinstance(id, str):
36
+ raise TypeError("Expected argument 'id' to be a str")
37
+ pulumi.set(__self__, "id", id)
38
+ if is_concurrent and not isinstance(is_concurrent, bool):
39
+ raise TypeError("Expected argument 'is_concurrent' to be a bool")
40
+ pulumi.set(__self__, "is_concurrent", is_concurrent)
41
+ if is_fixed and not isinstance(is_fixed, bool):
42
+ raise TypeError("Expected argument 'is_fixed' to be a bool")
43
+ pulumi.set(__self__, "is_fixed", is_fixed)
44
+ if is_precise and not isinstance(is_precise, bool):
45
+ raise TypeError("Expected argument 'is_precise' to be a bool")
46
+ pulumi.set(__self__, "is_precise", is_precise)
47
+ if metric and not isinstance(metric, str):
48
+ raise TypeError("Expected argument 'metric' to be a str")
49
+ pulumi.set(__self__, "metric", metric)
50
+ if metric_display_name and not isinstance(metric_display_name, str):
51
+ raise TypeError("Expected argument 'metric_display_name' to be a str")
52
+ pulumi.set(__self__, "metric_display_name", metric_display_name)
53
+ if metric_unit and not isinstance(metric_unit, str):
54
+ raise TypeError("Expected argument 'metric_unit' to be a str")
55
+ pulumi.set(__self__, "metric_unit", metric_unit)
56
+ if name and not isinstance(name, str):
57
+ raise TypeError("Expected argument 'name' to be a str")
58
+ pulumi.set(__self__, "name", name)
59
+ if parent and not isinstance(parent, str):
60
+ raise TypeError("Expected argument 'parent' to be a str")
61
+ pulumi.set(__self__, "parent", parent)
62
+ if quota_display_name and not isinstance(quota_display_name, str):
63
+ raise TypeError("Expected argument 'quota_display_name' to be a str")
64
+ pulumi.set(__self__, "quota_display_name", quota_display_name)
65
+ if quota_id and not isinstance(quota_id, str):
66
+ raise TypeError("Expected argument 'quota_id' to be a str")
67
+ pulumi.set(__self__, "quota_id", quota_id)
68
+ if quota_increase_eligibilities and not isinstance(quota_increase_eligibilities, list):
69
+ raise TypeError("Expected argument 'quota_increase_eligibilities' to be a list")
70
+ pulumi.set(__self__, "quota_increase_eligibilities", quota_increase_eligibilities)
71
+ if refresh_interval and not isinstance(refresh_interval, str):
72
+ raise TypeError("Expected argument 'refresh_interval' to be a str")
73
+ pulumi.set(__self__, "refresh_interval", refresh_interval)
74
+ if service and not isinstance(service, str):
75
+ raise TypeError("Expected argument 'service' to be a str")
76
+ pulumi.set(__self__, "service", service)
77
+ if service_request_quota_uri and not isinstance(service_request_quota_uri, str):
78
+ raise TypeError("Expected argument 'service_request_quota_uri' to be a str")
79
+ pulumi.set(__self__, "service_request_quota_uri", service_request_quota_uri)
80
+
81
+ @property
82
+ @pulumi.getter(name="containerType")
83
+ def container_type(self) -> str:
84
+ """
85
+ (Output) The container type of the QuotaInfo.
86
+ """
87
+ return pulumi.get(self, "container_type")
88
+
89
+ @property
90
+ @pulumi.getter
91
+ def dimensions(self) -> Sequence[str]:
92
+ """
93
+ The map of dimensions for this dimensions info. The key of a map entry is "region", "zone" or the name of a service specific dimension, and the value of a map entry is the value of the dimension. If a dimension does not appear in the map of dimensions, the dimensions info applies to all the dimension values except for those that have another DimenisonInfo instance configured for the specific value. Example: {"provider" : "Foo Inc"} where "provider" is a service specific dimension of a quota.
94
+ """
95
+ return pulumi.get(self, "dimensions")
96
+
97
+ @property
98
+ @pulumi.getter(name="dimensionsInfos")
99
+ def dimensions_infos(self) -> Sequence['outputs.GetSQuotaInfoDimensionsInfoResult']:
100
+ """
101
+ (Output) The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.
102
+ """
103
+ return pulumi.get(self, "dimensions_infos")
104
+
105
+ @property
106
+ @pulumi.getter
107
+ def id(self) -> str:
108
+ """
109
+ The provider-assigned unique ID for this managed resource.
110
+ """
111
+ return pulumi.get(self, "id")
112
+
113
+ @property
114
+ @pulumi.getter(name="isConcurrent")
115
+ def is_concurrent(self) -> bool:
116
+ """
117
+ (Output) Whether the quota is a concurrent quota. Concurrent quotas are enforced on the total number of concurrent operations in flight at any given time.
118
+ """
119
+ return pulumi.get(self, "is_concurrent")
120
+
121
+ @property
122
+ @pulumi.getter(name="isFixed")
123
+ def is_fixed(self) -> bool:
124
+ """
125
+ (Output) Whether the quota value is fixed or adjustable.
126
+ """
127
+ return pulumi.get(self, "is_fixed")
128
+
129
+ @property
130
+ @pulumi.getter(name="isPrecise")
131
+ def is_precise(self) -> bool:
132
+ """
133
+ (Output) Whether this is a precise quota. A precise quota is tracked with absolute precision. In contrast, an imprecise quota is not tracked with precision.
134
+ """
135
+ return pulumi.get(self, "is_precise")
136
+
137
+ @property
138
+ @pulumi.getter
139
+ def metric(self) -> str:
140
+ """
141
+ (Output) The metric of the quota. It specifies the resources consumption the quota is defined for, for example: `compute.googleapis.com/cpus`.
142
+ """
143
+ return pulumi.get(self, "metric")
144
+
145
+ @property
146
+ @pulumi.getter(name="metricDisplayName")
147
+ def metric_display_name(self) -> str:
148
+ """
149
+ (Output) The display name of the quota metric.
150
+ """
151
+ return pulumi.get(self, "metric_display_name")
152
+
153
+ @property
154
+ @pulumi.getter(name="metricUnit")
155
+ def metric_unit(self) -> str:
156
+ """
157
+ (Output) The unit in which the metric value is reported, e.g., `MByte`.
158
+ """
159
+ return pulumi.get(self, "metric_unit")
160
+
161
+ @property
162
+ @pulumi.getter
163
+ def name(self) -> str:
164
+ """
165
+ (Output) Resource name of this QuotaInfo, for example: `projects/123/locations/global/services/compute.googleapis.com/quotaInfos/CpusPerProjectPerRegion`.
166
+ """
167
+ return pulumi.get(self, "name")
168
+
169
+ @property
170
+ @pulumi.getter
171
+ def parent(self) -> str:
172
+ return pulumi.get(self, "parent")
173
+
174
+ @property
175
+ @pulumi.getter(name="quotaDisplayName")
176
+ def quota_display_name(self) -> str:
177
+ """
178
+ (Output) The display name of the quota.
179
+ """
180
+ return pulumi.get(self, "quota_display_name")
181
+
182
+ @property
183
+ @pulumi.getter(name="quotaId")
184
+ def quota_id(self) -> str:
185
+ return pulumi.get(self, "quota_id")
186
+
187
+ @property
188
+ @pulumi.getter(name="quotaIncreaseEligibilities")
189
+ def quota_increase_eligibilities(self) -> Sequence['outputs.GetSQuotaInfoQuotaIncreaseEligibilityResult']:
190
+ """
191
+ (Output) Whether it is eligible to request a higher quota value for this quota.
192
+ """
193
+ return pulumi.get(self, "quota_increase_eligibilities")
194
+
195
+ @property
196
+ @pulumi.getter(name="refreshInterval")
197
+ def refresh_interval(self) -> str:
198
+ """
199
+ (Output) The reset time interval for the quota. Refresh interval applies to rate quota only. Example: "minute" for per minute, "day" for per day, or "10 seconds" for every 10 seconds.
200
+ """
201
+ return pulumi.get(self, "refresh_interval")
202
+
203
+ @property
204
+ @pulumi.getter
205
+ def service(self) -> str:
206
+ return pulumi.get(self, "service")
207
+
208
+ @property
209
+ @pulumi.getter(name="serviceRequestQuotaUri")
210
+ def service_request_quota_uri(self) -> str:
211
+ """
212
+ (Output) URI to the page where users can request more quota for the cloud service, for example: `https://console.cloud.google.com/iam-admin/quotas`.
213
+ """
214
+ return pulumi.get(self, "service_request_quota_uri")
215
+
216
+
217
+ class AwaitableGetSQuotaInfoResult(GetSQuotaInfoResult):
218
+ # pylint: disable=using-constant-test
219
+ def __await__(self):
220
+ if False:
221
+ yield self
222
+ return GetSQuotaInfoResult(
223
+ container_type=self.container_type,
224
+ dimensions=self.dimensions,
225
+ dimensions_infos=self.dimensions_infos,
226
+ id=self.id,
227
+ is_concurrent=self.is_concurrent,
228
+ is_fixed=self.is_fixed,
229
+ is_precise=self.is_precise,
230
+ metric=self.metric,
231
+ metric_display_name=self.metric_display_name,
232
+ metric_unit=self.metric_unit,
233
+ name=self.name,
234
+ parent=self.parent,
235
+ quota_display_name=self.quota_display_name,
236
+ quota_id=self.quota_id,
237
+ quota_increase_eligibilities=self.quota_increase_eligibilities,
238
+ refresh_interval=self.refresh_interval,
239
+ service=self.service,
240
+ service_request_quota_uri=self.service_request_quota_uri)
241
+
242
+
243
+ def get_s_quota_info(parent: Optional[str] = None,
244
+ quota_id: Optional[str] = None,
245
+ service: Optional[str] = None,
246
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSQuotaInfoResult:
247
+ """
248
+ Provides information about a particular quota for a given project, folder or organization.
249
+
250
+ ## Example Usage
251
+
252
+ <!--Start PulumiCodeChooser -->
253
+ ```python
254
+ import pulumi
255
+ import pulumi_gcp as gcp
256
+
257
+ my_quota_info = gcp.cloudquota.get_s_quota_info(parent="projects/my-project",
258
+ service="compute.googleapis.com",
259
+ quota_id="CPUS-per-project-region")
260
+ ```
261
+ <!--End PulumiCodeChooser -->
262
+
263
+
264
+ :param str parent: The parent of the quota info. Allowed parents are "projects/[project-id / number]" or "folders/[folder-id / number]" or "organizations/[org-id / number].
265
+ :param str quota_id: The id of the quota, which is unique within the service.
266
+ :param str service: The name of the service in which the quota is defined.
267
+ """
268
+ __args__ = dict()
269
+ __args__['parent'] = parent
270
+ __args__['quotaId'] = quota_id
271
+ __args__['service'] = service
272
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
273
+ __ret__ = pulumi.runtime.invoke('gcp:cloudquota/getSQuotaInfo:getSQuotaInfo', __args__, opts=opts, typ=GetSQuotaInfoResult).value
274
+
275
+ return AwaitableGetSQuotaInfoResult(
276
+ container_type=pulumi.get(__ret__, 'container_type'),
277
+ dimensions=pulumi.get(__ret__, 'dimensions'),
278
+ dimensions_infos=pulumi.get(__ret__, 'dimensions_infos'),
279
+ id=pulumi.get(__ret__, 'id'),
280
+ is_concurrent=pulumi.get(__ret__, 'is_concurrent'),
281
+ is_fixed=pulumi.get(__ret__, 'is_fixed'),
282
+ is_precise=pulumi.get(__ret__, 'is_precise'),
283
+ metric=pulumi.get(__ret__, 'metric'),
284
+ metric_display_name=pulumi.get(__ret__, 'metric_display_name'),
285
+ metric_unit=pulumi.get(__ret__, 'metric_unit'),
286
+ name=pulumi.get(__ret__, 'name'),
287
+ parent=pulumi.get(__ret__, 'parent'),
288
+ quota_display_name=pulumi.get(__ret__, 'quota_display_name'),
289
+ quota_id=pulumi.get(__ret__, 'quota_id'),
290
+ quota_increase_eligibilities=pulumi.get(__ret__, 'quota_increase_eligibilities'),
291
+ refresh_interval=pulumi.get(__ret__, 'refresh_interval'),
292
+ service=pulumi.get(__ret__, 'service'),
293
+ service_request_quota_uri=pulumi.get(__ret__, 'service_request_quota_uri'))
294
+
295
+
296
+ @_utilities.lift_output_func(get_s_quota_info)
297
+ def get_s_quota_info_output(parent: Optional[pulumi.Input[str]] = None,
298
+ quota_id: Optional[pulumi.Input[str]] = None,
299
+ service: Optional[pulumi.Input[str]] = None,
300
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSQuotaInfoResult]:
301
+ """
302
+ Provides information about a particular quota for a given project, folder or organization.
303
+
304
+ ## Example Usage
305
+
306
+ <!--Start PulumiCodeChooser -->
307
+ ```python
308
+ import pulumi
309
+ import pulumi_gcp as gcp
310
+
311
+ my_quota_info = gcp.cloudquota.get_s_quota_info(parent="projects/my-project",
312
+ service="compute.googleapis.com",
313
+ quota_id="CPUS-per-project-region")
314
+ ```
315
+ <!--End PulumiCodeChooser -->
316
+
317
+
318
+ :param str parent: The parent of the quota info. Allowed parents are "projects/[project-id / number]" or "folders/[folder-id / number]" or "organizations/[org-id / number].
319
+ :param str quota_id: The id of the quota, which is unique within the service.
320
+ :param str service: The name of the service in which the quota is defined.
321
+ """
322
+ ...
@@ -0,0 +1,136 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from .. import _utilities
11
+ from . import outputs
12
+
13
+ __all__ = [
14
+ 'GetSQuotaInfosResult',
15
+ 'AwaitableGetSQuotaInfosResult',
16
+ 'get_s_quota_infos',
17
+ 'get_s_quota_infos_output',
18
+ ]
19
+
20
+ @pulumi.output_type
21
+ class GetSQuotaInfosResult:
22
+ """
23
+ A collection of values returned by getSQuotaInfos.
24
+ """
25
+ def __init__(__self__, id=None, parent=None, quota_infos=None, service=None):
26
+ if id and not isinstance(id, str):
27
+ raise TypeError("Expected argument 'id' to be a str")
28
+ pulumi.set(__self__, "id", id)
29
+ if parent and not isinstance(parent, str):
30
+ raise TypeError("Expected argument 'parent' to be a str")
31
+ pulumi.set(__self__, "parent", parent)
32
+ if quota_infos and not isinstance(quota_infos, list):
33
+ raise TypeError("Expected argument 'quota_infos' to be a list")
34
+ pulumi.set(__self__, "quota_infos", quota_infos)
35
+ if service and not isinstance(service, str):
36
+ raise TypeError("Expected argument 'service' to be a str")
37
+ pulumi.set(__self__, "service", service)
38
+
39
+ @property
40
+ @pulumi.getter
41
+ def id(self) -> str:
42
+ """
43
+ The provider-assigned unique ID for this managed resource.
44
+ """
45
+ return pulumi.get(self, "id")
46
+
47
+ @property
48
+ @pulumi.getter
49
+ def parent(self) -> str:
50
+ return pulumi.get(self, "parent")
51
+
52
+ @property
53
+ @pulumi.getter(name="quotaInfos")
54
+ def quota_infos(self) -> Sequence['outputs.GetSQuotaInfosQuotaInfoResult']:
55
+ """
56
+ (Output) The list of QuotaInfo.
57
+ """
58
+ return pulumi.get(self, "quota_infos")
59
+
60
+ @property
61
+ @pulumi.getter
62
+ def service(self) -> str:
63
+ return pulumi.get(self, "service")
64
+
65
+
66
+ class AwaitableGetSQuotaInfosResult(GetSQuotaInfosResult):
67
+ # pylint: disable=using-constant-test
68
+ def __await__(self):
69
+ if False:
70
+ yield self
71
+ return GetSQuotaInfosResult(
72
+ id=self.id,
73
+ parent=self.parent,
74
+ quota_infos=self.quota_infos,
75
+ service=self.service)
76
+
77
+
78
+ def get_s_quota_infos(parent: Optional[str] = None,
79
+ service: Optional[str] = None,
80
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSQuotaInfosResult:
81
+ """
82
+ Provides information about all quotas for a given project, folder or organization.
83
+
84
+ ## Example Usage
85
+
86
+ <!--Start PulumiCodeChooser -->
87
+ ```python
88
+ import pulumi
89
+ import pulumi_gcp as gcp
90
+
91
+ my_quota_infos = gcp.cloudquota.get_s_quota_infos(parent="projects/my-project",
92
+ service="compute.googleapis.com")
93
+ ```
94
+ <!--End PulumiCodeChooser -->
95
+
96
+
97
+ :param str parent: Parent value of QuotaInfo resources. Listing across different resource containers (such as 'projects/-') is not allowed. Allowed parents are "projects/[project-id / number]" or "folders/[folder-id / number]" or "organizations/[org-id / number].
98
+ :param str service: The name of the service in which the quotas are defined.
99
+ """
100
+ __args__ = dict()
101
+ __args__['parent'] = parent
102
+ __args__['service'] = service
103
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
104
+ __ret__ = pulumi.runtime.invoke('gcp:cloudquota/getSQuotaInfos:getSQuotaInfos', __args__, opts=opts, typ=GetSQuotaInfosResult).value
105
+
106
+ return AwaitableGetSQuotaInfosResult(
107
+ id=pulumi.get(__ret__, 'id'),
108
+ parent=pulumi.get(__ret__, 'parent'),
109
+ quota_infos=pulumi.get(__ret__, 'quota_infos'),
110
+ service=pulumi.get(__ret__, 'service'))
111
+
112
+
113
+ @_utilities.lift_output_func(get_s_quota_infos)
114
+ def get_s_quota_infos_output(parent: Optional[pulumi.Input[str]] = None,
115
+ service: Optional[pulumi.Input[str]] = None,
116
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSQuotaInfosResult]:
117
+ """
118
+ Provides information about all quotas for a given project, folder or organization.
119
+
120
+ ## Example Usage
121
+
122
+ <!--Start PulumiCodeChooser -->
123
+ ```python
124
+ import pulumi
125
+ import pulumi_gcp as gcp
126
+
127
+ my_quota_infos = gcp.cloudquota.get_s_quota_infos(parent="projects/my-project",
128
+ service="compute.googleapis.com")
129
+ ```
130
+ <!--End PulumiCodeChooser -->
131
+
132
+
133
+ :param str parent: Parent value of QuotaInfo resources. Listing across different resource containers (such as 'projects/-') is not allowed. Allowed parents are "projects/[project-id / number]" or "folders/[folder-id / number]" or "organizations/[org-id / number].
134
+ :param str service: The name of the service in which the quotas are defined.
135
+ """
136
+ ...