pulumi-gcp 7.16.0__py3-none-any.whl → 7.16.0a1711520590__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 +0 -8
- pulumi_gcp/accesscontextmanager/__init__.py +0 -1
- pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +0 -80
- pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +0 -86
- pulumi_gcp/accesscontextmanager/service_perimeter_resource.py +2 -4
- pulumi_gcp/cloudquota/__init__.py +0 -1
- pulumi_gcp/cloudquota/outputs.py +0 -270
- pulumi_gcp/cloudrunv2/_inputs.py +2 -59
- pulumi_gcp/cloudrunv2/outputs.py +4 -107
- pulumi_gcp/cloudrunv2/service.py +6 -6
- pulumi_gcp/composer/_inputs.py +0 -16
- pulumi_gcp/composer/outputs.py +0 -23
- pulumi_gcp/compute/_inputs.py +7 -105
- pulumi_gcp/compute/outputs.py +9 -140
- pulumi_gcp/compute/region_url_map.py +0 -152
- pulumi_gcp/dataform/repository.py +74 -4
- pulumi_gcp/firebase/android_app.py +40 -41
- pulumi_gcp/firestore/index.py +48 -34
- pulumi_gcp/monitoring/_inputs.py +0 -2
- pulumi_gcp/monitoring/outputs.py +0 -2
- pulumi_gcp/networksecurity/firewall_endpoint.py +0 -48
- pulumi_gcp/pubsub/_inputs.py +0 -108
- pulumi_gcp/pubsub/get_topic.py +1 -11
- pulumi_gcp/pubsub/outputs.py +0 -213
- pulumi_gcp/pubsub/topic.py +0 -92
- pulumi_gcp/storage/_inputs.py +0 -40
- pulumi_gcp/storage/bucket.py +0 -54
- pulumi_gcp/storage/get_bucket.py +1 -11
- pulumi_gcp/storage/outputs.py +0 -81
- pulumi_gcp/workstations/_inputs.py +0 -113
- pulumi_gcp/workstations/outputs.py +1 -109
- pulumi_gcp/workstations/workstation_config.py +0 -106
- {pulumi_gcp-7.16.0.dist-info → pulumi_gcp-7.16.0a1711520590.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.16.0.dist-info → pulumi_gcp-7.16.0a1711520590.dist-info}/RECORD +36 -38
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_resource.py +0 -345
- pulumi_gcp/cloudquota/get_s_quota_infos.py +0 -136
- {pulumi_gcp-7.16.0.dist-info → pulumi_gcp-7.16.0a1711520590.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.16.0.dist-info → pulumi_gcp-7.16.0a1711520590.dist-info}/top_level.txt +0 -0
pulumi_gcp/__init__.py
CHANGED
@@ -459,14 +459,6 @@ _utilities.register(
|
|
459
459
|
"gcp:accesscontextmanager/servicePerimeter:ServicePerimeter": "ServicePerimeter"
|
460
460
|
}
|
461
461
|
},
|
462
|
-
{
|
463
|
-
"pkg": "gcp",
|
464
|
-
"mod": "accesscontextmanager/servicePerimeterDryRunResource",
|
465
|
-
"fqn": "pulumi_gcp.accesscontextmanager",
|
466
|
-
"classes": {
|
467
|
-
"gcp:accesscontextmanager/servicePerimeterDryRunResource:ServicePerimeterDryRunResource": "ServicePerimeterDryRunResource"
|
468
|
-
}
|
469
|
-
},
|
470
462
|
{
|
471
463
|
"pkg": "gcp",
|
472
464
|
"mod": "accesscontextmanager/servicePerimeterEgressPolicy",
|
@@ -18,7 +18,6 @@ from .gcp_user_access_binding import *
|
|
18
18
|
from .get_access_policy_iam_policy import *
|
19
19
|
from .ingress_policy import *
|
20
20
|
from .service_perimeter import *
|
21
|
-
from .service_perimeter_dry_run_resource import *
|
22
21
|
from .service_perimeter_egress_policy import *
|
23
22
|
from .service_perimeter_ingress_policy import *
|
24
23
|
from .service_perimeter_resource import *
|
@@ -166,50 +166,10 @@ class ServicePerimeterEgressPolicy(pulumi.CustomResource):
|
|
166
166
|
perimeter in certain contexts (e.g. to read data from a Cloud Storage bucket
|
167
167
|
or query against a BigQuery dataset).
|
168
168
|
|
169
|
-
> **Note:** By default, updates to this resource will remove the EgressPolicy from the
|
170
|
-
from the perimeter and add it back in a non-atomic manner. To ensure that the new EgressPolicy
|
171
|
-
is added before the old one is removed, add a `lifecycle` block with `create_before_destroy = true` to this resource.
|
172
|
-
|
173
169
|
To get more information about ServicePerimeterEgressPolicy, see:
|
174
170
|
|
175
171
|
* [API documentation](https://cloud.google.com/access-context-manager/docs/reference/rest/v1/accessPolicies.servicePerimeters#egresspolicy)
|
176
172
|
|
177
|
-
## Example Usage
|
178
|
-
|
179
|
-
### Access Context Manager Service Perimeter Egress Policy
|
180
|
-
|
181
|
-
<!--Start PulumiCodeChooser -->
|
182
|
-
```python
|
183
|
-
import pulumi
|
184
|
-
import pulumi_gcp as gcp
|
185
|
-
|
186
|
-
access_policy = gcp.accesscontextmanager.AccessPolicy("access-policy",
|
187
|
-
parent="organizations/123456789",
|
188
|
-
title="Storage Policy")
|
189
|
-
storage_perimeter = gcp.accesscontextmanager.ServicePerimeter("storage-perimeter",
|
190
|
-
parent=access_policy.name.apply(lambda name: f"accesspolicies/{name}"),
|
191
|
-
name=access_policy.name.apply(lambda name: f"accesspolicies/{name}/serviceperimeters/storage-perimeter"),
|
192
|
-
title="Storage Perimeter",
|
193
|
-
status=gcp.accesscontextmanager.ServicePerimeterStatusArgs(
|
194
|
-
restricted_services=["storage.googleapis.com"],
|
195
|
-
))
|
196
|
-
egress_policy = gcp.accesscontextmanager.ServicePerimeterEgressPolicy("egress_policy",
|
197
|
-
perimeter=storage_perimeter.name,
|
198
|
-
egress_from=gcp.accesscontextmanager.ServicePerimeterEgressPolicyEgressFromArgs(
|
199
|
-
identity_type="ANY_IDENTITY",
|
200
|
-
),
|
201
|
-
egress_to=gcp.accesscontextmanager.ServicePerimeterEgressPolicyEgressToArgs(
|
202
|
-
resources=["*"],
|
203
|
-
operations=[gcp.accesscontextmanager.ServicePerimeterEgressPolicyEgressToOperationArgs(
|
204
|
-
service_name="bigquery.googleapis.com",
|
205
|
-
method_selectors=[gcp.accesscontextmanager.ServicePerimeterEgressPolicyEgressToOperationMethodSelectorArgs(
|
206
|
-
method="*",
|
207
|
-
)],
|
208
|
-
)],
|
209
|
-
))
|
210
|
-
```
|
211
|
-
<!--End PulumiCodeChooser -->
|
212
|
-
|
213
173
|
## Import
|
214
174
|
|
215
175
|
ServicePerimeterEgressPolicy can be imported using any of these accepted formats:
|
@@ -249,50 +209,10 @@ class ServicePerimeterEgressPolicy(pulumi.CustomResource):
|
|
249
209
|
perimeter in certain contexts (e.g. to read data from a Cloud Storage bucket
|
250
210
|
or query against a BigQuery dataset).
|
251
211
|
|
252
|
-
> **Note:** By default, updates to this resource will remove the EgressPolicy from the
|
253
|
-
from the perimeter and add it back in a non-atomic manner. To ensure that the new EgressPolicy
|
254
|
-
is added before the old one is removed, add a `lifecycle` block with `create_before_destroy = true` to this resource.
|
255
|
-
|
256
212
|
To get more information about ServicePerimeterEgressPolicy, see:
|
257
213
|
|
258
214
|
* [API documentation](https://cloud.google.com/access-context-manager/docs/reference/rest/v1/accessPolicies.servicePerimeters#egresspolicy)
|
259
215
|
|
260
|
-
## Example Usage
|
261
|
-
|
262
|
-
### Access Context Manager Service Perimeter Egress Policy
|
263
|
-
|
264
|
-
<!--Start PulumiCodeChooser -->
|
265
|
-
```python
|
266
|
-
import pulumi
|
267
|
-
import pulumi_gcp as gcp
|
268
|
-
|
269
|
-
access_policy = gcp.accesscontextmanager.AccessPolicy("access-policy",
|
270
|
-
parent="organizations/123456789",
|
271
|
-
title="Storage Policy")
|
272
|
-
storage_perimeter = gcp.accesscontextmanager.ServicePerimeter("storage-perimeter",
|
273
|
-
parent=access_policy.name.apply(lambda name: f"accesspolicies/{name}"),
|
274
|
-
name=access_policy.name.apply(lambda name: f"accesspolicies/{name}/serviceperimeters/storage-perimeter"),
|
275
|
-
title="Storage Perimeter",
|
276
|
-
status=gcp.accesscontextmanager.ServicePerimeterStatusArgs(
|
277
|
-
restricted_services=["storage.googleapis.com"],
|
278
|
-
))
|
279
|
-
egress_policy = gcp.accesscontextmanager.ServicePerimeterEgressPolicy("egress_policy",
|
280
|
-
perimeter=storage_perimeter.name,
|
281
|
-
egress_from=gcp.accesscontextmanager.ServicePerimeterEgressPolicyEgressFromArgs(
|
282
|
-
identity_type="ANY_IDENTITY",
|
283
|
-
),
|
284
|
-
egress_to=gcp.accesscontextmanager.ServicePerimeterEgressPolicyEgressToArgs(
|
285
|
-
resources=["*"],
|
286
|
-
operations=[gcp.accesscontextmanager.ServicePerimeterEgressPolicyEgressToOperationArgs(
|
287
|
-
service_name="bigquery.googleapis.com",
|
288
|
-
method_selectors=[gcp.accesscontextmanager.ServicePerimeterEgressPolicyEgressToOperationMethodSelectorArgs(
|
289
|
-
method="*",
|
290
|
-
)],
|
291
|
-
)],
|
292
|
-
))
|
293
|
-
```
|
294
|
-
<!--End PulumiCodeChooser -->
|
295
|
-
|
296
216
|
## Import
|
297
217
|
|
298
218
|
ServicePerimeterEgressPolicy can be imported using any of these accepted formats:
|
@@ -171,53 +171,10 @@ class ServicePerimeterIngressPolicy(pulumi.CustomResource):
|
|
171
171
|
Individual ingress policies can be limited by restricting which services and/
|
172
172
|
or actions they match using the ingressTo field.
|
173
173
|
|
174
|
-
> **Note:** By default, updates to this resource will remove the IngressPolicy from the
|
175
|
-
from the perimeter and add it back in a non-atomic manner. To ensure that the new IngressPolicy
|
176
|
-
is added before the old one is removed, add a `lifecycle` block with `create_before_destroy = true` to this resource.
|
177
|
-
|
178
174
|
To get more information about ServicePerimeterIngressPolicy, see:
|
179
175
|
|
180
176
|
* [API documentation](https://cloud.google.com/access-context-manager/docs/reference/rest/v1/accessPolicies.servicePerimeters#ingresspolicy)
|
181
177
|
|
182
|
-
## Example Usage
|
183
|
-
|
184
|
-
### Access Context Manager Service Perimeter Ingress Policy
|
185
|
-
|
186
|
-
<!--Start PulumiCodeChooser -->
|
187
|
-
```python
|
188
|
-
import pulumi
|
189
|
-
import pulumi_gcp as gcp
|
190
|
-
|
191
|
-
access_policy = gcp.accesscontextmanager.AccessPolicy("access-policy",
|
192
|
-
parent="organizations/123456789",
|
193
|
-
title="Storage Policy")
|
194
|
-
storage_perimeter = gcp.accesscontextmanager.ServicePerimeter("storage-perimeter",
|
195
|
-
parent=access_policy.name.apply(lambda name: f"accesspolicies/{name}"),
|
196
|
-
name=access_policy.name.apply(lambda name: f"accesspolicies/{name}/serviceperimeters/storage-perimeter"),
|
197
|
-
title="Storage Perimeter",
|
198
|
-
status=gcp.accesscontextmanager.ServicePerimeterStatusArgs(
|
199
|
-
restricted_services=["storage.googleapis.com"],
|
200
|
-
))
|
201
|
-
ingress_policy = gcp.accesscontextmanager.ServicePerimeterIngressPolicy("ingress_policy",
|
202
|
-
perimeter=storage_perimeter.name,
|
203
|
-
ingress_from=gcp.accesscontextmanager.ServicePerimeterIngressPolicyIngressFromArgs(
|
204
|
-
identity_type="any_identity",
|
205
|
-
sources=[gcp.accesscontextmanager.ServicePerimeterIngressPolicyIngressFromSourceArgs(
|
206
|
-
access_level="*",
|
207
|
-
)],
|
208
|
-
),
|
209
|
-
ingress_to=gcp.accesscontextmanager.ServicePerimeterIngressPolicyIngressToArgs(
|
210
|
-
resources=["*"],
|
211
|
-
operations=[gcp.accesscontextmanager.ServicePerimeterIngressPolicyIngressToOperationArgs(
|
212
|
-
service_name="bigquery.googleapis.com",
|
213
|
-
method_selectors=[gcp.accesscontextmanager.ServicePerimeterIngressPolicyIngressToOperationMethodSelectorArgs(
|
214
|
-
method="*",
|
215
|
-
)],
|
216
|
-
)],
|
217
|
-
))
|
218
|
-
```
|
219
|
-
<!--End PulumiCodeChooser -->
|
220
|
-
|
221
178
|
## Import
|
222
179
|
|
223
180
|
ServicePerimeterIngressPolicy can be imported using any of these accepted formats:
|
@@ -259,53 +216,10 @@ class ServicePerimeterIngressPolicy(pulumi.CustomResource):
|
|
259
216
|
Individual ingress policies can be limited by restricting which services and/
|
260
217
|
or actions they match using the ingressTo field.
|
261
218
|
|
262
|
-
> **Note:** By default, updates to this resource will remove the IngressPolicy from the
|
263
|
-
from the perimeter and add it back in a non-atomic manner. To ensure that the new IngressPolicy
|
264
|
-
is added before the old one is removed, add a `lifecycle` block with `create_before_destroy = true` to this resource.
|
265
|
-
|
266
219
|
To get more information about ServicePerimeterIngressPolicy, see:
|
267
220
|
|
268
221
|
* [API documentation](https://cloud.google.com/access-context-manager/docs/reference/rest/v1/accessPolicies.servicePerimeters#ingresspolicy)
|
269
222
|
|
270
|
-
## Example Usage
|
271
|
-
|
272
|
-
### Access Context Manager Service Perimeter Ingress Policy
|
273
|
-
|
274
|
-
<!--Start PulumiCodeChooser -->
|
275
|
-
```python
|
276
|
-
import pulumi
|
277
|
-
import pulumi_gcp as gcp
|
278
|
-
|
279
|
-
access_policy = gcp.accesscontextmanager.AccessPolicy("access-policy",
|
280
|
-
parent="organizations/123456789",
|
281
|
-
title="Storage Policy")
|
282
|
-
storage_perimeter = gcp.accesscontextmanager.ServicePerimeter("storage-perimeter",
|
283
|
-
parent=access_policy.name.apply(lambda name: f"accesspolicies/{name}"),
|
284
|
-
name=access_policy.name.apply(lambda name: f"accesspolicies/{name}/serviceperimeters/storage-perimeter"),
|
285
|
-
title="Storage Perimeter",
|
286
|
-
status=gcp.accesscontextmanager.ServicePerimeterStatusArgs(
|
287
|
-
restricted_services=["storage.googleapis.com"],
|
288
|
-
))
|
289
|
-
ingress_policy = gcp.accesscontextmanager.ServicePerimeterIngressPolicy("ingress_policy",
|
290
|
-
perimeter=storage_perimeter.name,
|
291
|
-
ingress_from=gcp.accesscontextmanager.ServicePerimeterIngressPolicyIngressFromArgs(
|
292
|
-
identity_type="any_identity",
|
293
|
-
sources=[gcp.accesscontextmanager.ServicePerimeterIngressPolicyIngressFromSourceArgs(
|
294
|
-
access_level="*",
|
295
|
-
)],
|
296
|
-
),
|
297
|
-
ingress_to=gcp.accesscontextmanager.ServicePerimeterIngressPolicyIngressToArgs(
|
298
|
-
resources=["*"],
|
299
|
-
operations=[gcp.accesscontextmanager.ServicePerimeterIngressPolicyIngressToOperationArgs(
|
300
|
-
service_name="bigquery.googleapis.com",
|
301
|
-
method_selectors=[gcp.accesscontextmanager.ServicePerimeterIngressPolicyIngressToOperationMethodSelectorArgs(
|
302
|
-
method="*",
|
303
|
-
)],
|
304
|
-
)],
|
305
|
-
))
|
306
|
-
```
|
307
|
-
<!--End PulumiCodeChooser -->
|
308
|
-
|
309
223
|
## Import
|
310
224
|
|
311
225
|
ServicePerimeterIngressPolicy can be imported using any of these accepted formats:
|
@@ -118,11 +118,10 @@ class ServicePerimeterResource(pulumi.CustomResource):
|
|
118
118
|
resource: Optional[pulumi.Input[str]] = None,
|
119
119
|
__props__=None):
|
120
120
|
"""
|
121
|
-
Allows configuring a single GCP resource that should be inside
|
121
|
+
Allows configuring a single GCP resource that should be inside of a service perimeter.
|
122
122
|
This resource is intended to be used in cases where it is not possible to compile a full list
|
123
123
|
of projects to include in a `accesscontextmanager.ServicePerimeter` resource,
|
124
124
|
to enable them to be added separately.
|
125
|
-
If your perimeter is in dry-run mode use `accesscontextmanager.ServicePerimeterDryRunResource` instead.
|
126
125
|
|
127
126
|
> **Note:** If this resource is used alongside a `accesscontextmanager.ServicePerimeter` resource,
|
128
127
|
the service perimeter resource must have a `lifecycle` block with `ignore_changes = [status[0].resources]` so
|
@@ -194,11 +193,10 @@ class ServicePerimeterResource(pulumi.CustomResource):
|
|
194
193
|
args: ServicePerimeterResourceArgs,
|
195
194
|
opts: Optional[pulumi.ResourceOptions] = None):
|
196
195
|
"""
|
197
|
-
Allows configuring a single GCP resource that should be inside
|
196
|
+
Allows configuring a single GCP resource that should be inside of a service perimeter.
|
198
197
|
This resource is intended to be used in cases where it is not possible to compile a full list
|
199
198
|
of projects to include in a `accesscontextmanager.ServicePerimeter` resource,
|
200
199
|
to enable them to be added separately.
|
201
|
-
If your perimeter is in dry-run mode use `accesscontextmanager.ServicePerimeterDryRunResource` instead.
|
202
200
|
|
203
201
|
> **Note:** If this resource is used alongside a `accesscontextmanager.ServicePerimeter` resource,
|
204
202
|
the service perimeter resource must have a `lifecycle` block with `ignore_changes = [status[0].resources]` so
|
pulumi_gcp/cloudquota/outputs.py
CHANGED
@@ -14,10 +14,6 @@ __all__ = [
|
|
14
14
|
'GetSQuotaInfoDimensionsInfoResult',
|
15
15
|
'GetSQuotaInfoDimensionsInfoDetailResult',
|
16
16
|
'GetSQuotaInfoQuotaIncreaseEligibilityResult',
|
17
|
-
'GetSQuotaInfosQuotaInfoResult',
|
18
|
-
'GetSQuotaInfosQuotaInfoDimensionsInfoResult',
|
19
|
-
'GetSQuotaInfosQuotaInfoDimensionsInfoDetailResult',
|
20
|
-
'GetSQuotaInfosQuotaInfoQuotaIncreaseEligibilityResult',
|
21
17
|
]
|
22
18
|
|
23
19
|
@pulumi.output_type
|
@@ -107,269 +103,3 @@ class GetSQuotaInfoQuotaIncreaseEligibilityResult(dict):
|
|
107
103
|
return pulumi.get(self, "is_eligible")
|
108
104
|
|
109
105
|
|
110
|
-
@pulumi.output_type
|
111
|
-
class GetSQuotaInfosQuotaInfoResult(dict):
|
112
|
-
def __init__(__self__, *,
|
113
|
-
container_type: str,
|
114
|
-
dimensions: Sequence[str],
|
115
|
-
dimensions_infos: Sequence['outputs.GetSQuotaInfosQuotaInfoDimensionsInfoResult'],
|
116
|
-
is_concurrent: bool,
|
117
|
-
is_fixed: bool,
|
118
|
-
is_precise: bool,
|
119
|
-
metric: str,
|
120
|
-
metric_display_name: str,
|
121
|
-
metric_unit: str,
|
122
|
-
name: str,
|
123
|
-
quota_display_name: str,
|
124
|
-
quota_id: str,
|
125
|
-
quota_increase_eligibilities: Sequence['outputs.GetSQuotaInfosQuotaInfoQuotaIncreaseEligibilityResult'],
|
126
|
-
refresh_interval: str,
|
127
|
-
service: str,
|
128
|
-
service_request_quota_uri: str):
|
129
|
-
"""
|
130
|
-
:param str container_type: (Output) The container type of the QuotaInfo.
|
131
|
-
:param Sequence[str] dimensions: 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.
|
132
|
-
:param Sequence['GetSQuotaInfosQuotaInfoDimensionsInfoArgs'] dimensions_infos: (Output) The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.
|
133
|
-
:param bool is_concurrent: (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.
|
134
|
-
:param bool is_fixed: (Output) Whether the quota value is fixed or adjustable.
|
135
|
-
:param bool is_precise: (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.
|
136
|
-
:param str metric: (Output) The metric of the quota. It specifies the resources consumption the quota is defined for, for example: `compute.googleapis.com/cpus`.
|
137
|
-
:param str metric_display_name: (Output) The display name of the quota metric.
|
138
|
-
:param str metric_unit: (Output) The unit in which the metric value is reported, e.g., `MByte`.
|
139
|
-
:param str name: (Output) Resource name of this QuotaInfo, for example: `projects/123/locations/global/services/compute.googleapis.com/quotaInfos/CpusPerProjectPerRegion`.
|
140
|
-
:param str quota_display_name: (Output) The display name of the quota.
|
141
|
-
:param Sequence['GetSQuotaInfosQuotaInfoQuotaIncreaseEligibilityArgs'] quota_increase_eligibilities: (Output) Whether it is eligible to request a higher quota value for this quota.
|
142
|
-
:param str refresh_interval: (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.
|
143
|
-
:param str service: The name of the service in which the quotas are defined.
|
144
|
-
:param str service_request_quota_uri: (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`.
|
145
|
-
"""
|
146
|
-
pulumi.set(__self__, "container_type", container_type)
|
147
|
-
pulumi.set(__self__, "dimensions", dimensions)
|
148
|
-
pulumi.set(__self__, "dimensions_infos", dimensions_infos)
|
149
|
-
pulumi.set(__self__, "is_concurrent", is_concurrent)
|
150
|
-
pulumi.set(__self__, "is_fixed", is_fixed)
|
151
|
-
pulumi.set(__self__, "is_precise", is_precise)
|
152
|
-
pulumi.set(__self__, "metric", metric)
|
153
|
-
pulumi.set(__self__, "metric_display_name", metric_display_name)
|
154
|
-
pulumi.set(__self__, "metric_unit", metric_unit)
|
155
|
-
pulumi.set(__self__, "name", name)
|
156
|
-
pulumi.set(__self__, "quota_display_name", quota_display_name)
|
157
|
-
pulumi.set(__self__, "quota_id", quota_id)
|
158
|
-
pulumi.set(__self__, "quota_increase_eligibilities", quota_increase_eligibilities)
|
159
|
-
pulumi.set(__self__, "refresh_interval", refresh_interval)
|
160
|
-
pulumi.set(__self__, "service", service)
|
161
|
-
pulumi.set(__self__, "service_request_quota_uri", service_request_quota_uri)
|
162
|
-
|
163
|
-
@property
|
164
|
-
@pulumi.getter(name="containerType")
|
165
|
-
def container_type(self) -> str:
|
166
|
-
"""
|
167
|
-
(Output) The container type of the QuotaInfo.
|
168
|
-
"""
|
169
|
-
return pulumi.get(self, "container_type")
|
170
|
-
|
171
|
-
@property
|
172
|
-
@pulumi.getter
|
173
|
-
def dimensions(self) -> Sequence[str]:
|
174
|
-
"""
|
175
|
-
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.
|
176
|
-
"""
|
177
|
-
return pulumi.get(self, "dimensions")
|
178
|
-
|
179
|
-
@property
|
180
|
-
@pulumi.getter(name="dimensionsInfos")
|
181
|
-
def dimensions_infos(self) -> Sequence['outputs.GetSQuotaInfosQuotaInfoDimensionsInfoResult']:
|
182
|
-
"""
|
183
|
-
(Output) The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.
|
184
|
-
"""
|
185
|
-
return pulumi.get(self, "dimensions_infos")
|
186
|
-
|
187
|
-
@property
|
188
|
-
@pulumi.getter(name="isConcurrent")
|
189
|
-
def is_concurrent(self) -> bool:
|
190
|
-
"""
|
191
|
-
(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.
|
192
|
-
"""
|
193
|
-
return pulumi.get(self, "is_concurrent")
|
194
|
-
|
195
|
-
@property
|
196
|
-
@pulumi.getter(name="isFixed")
|
197
|
-
def is_fixed(self) -> bool:
|
198
|
-
"""
|
199
|
-
(Output) Whether the quota value is fixed or adjustable.
|
200
|
-
"""
|
201
|
-
return pulumi.get(self, "is_fixed")
|
202
|
-
|
203
|
-
@property
|
204
|
-
@pulumi.getter(name="isPrecise")
|
205
|
-
def is_precise(self) -> bool:
|
206
|
-
"""
|
207
|
-
(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.
|
208
|
-
"""
|
209
|
-
return pulumi.get(self, "is_precise")
|
210
|
-
|
211
|
-
@property
|
212
|
-
@pulumi.getter
|
213
|
-
def metric(self) -> str:
|
214
|
-
"""
|
215
|
-
(Output) The metric of the quota. It specifies the resources consumption the quota is defined for, for example: `compute.googleapis.com/cpus`.
|
216
|
-
"""
|
217
|
-
return pulumi.get(self, "metric")
|
218
|
-
|
219
|
-
@property
|
220
|
-
@pulumi.getter(name="metricDisplayName")
|
221
|
-
def metric_display_name(self) -> str:
|
222
|
-
"""
|
223
|
-
(Output) The display name of the quota metric.
|
224
|
-
"""
|
225
|
-
return pulumi.get(self, "metric_display_name")
|
226
|
-
|
227
|
-
@property
|
228
|
-
@pulumi.getter(name="metricUnit")
|
229
|
-
def metric_unit(self) -> str:
|
230
|
-
"""
|
231
|
-
(Output) The unit in which the metric value is reported, e.g., `MByte`.
|
232
|
-
"""
|
233
|
-
return pulumi.get(self, "metric_unit")
|
234
|
-
|
235
|
-
@property
|
236
|
-
@pulumi.getter
|
237
|
-
def name(self) -> str:
|
238
|
-
"""
|
239
|
-
(Output) Resource name of this QuotaInfo, for example: `projects/123/locations/global/services/compute.googleapis.com/quotaInfos/CpusPerProjectPerRegion`.
|
240
|
-
"""
|
241
|
-
return pulumi.get(self, "name")
|
242
|
-
|
243
|
-
@property
|
244
|
-
@pulumi.getter(name="quotaDisplayName")
|
245
|
-
def quota_display_name(self) -> str:
|
246
|
-
"""
|
247
|
-
(Output) The display name of the quota.
|
248
|
-
"""
|
249
|
-
return pulumi.get(self, "quota_display_name")
|
250
|
-
|
251
|
-
@property
|
252
|
-
@pulumi.getter(name="quotaId")
|
253
|
-
def quota_id(self) -> str:
|
254
|
-
return pulumi.get(self, "quota_id")
|
255
|
-
|
256
|
-
@property
|
257
|
-
@pulumi.getter(name="quotaIncreaseEligibilities")
|
258
|
-
def quota_increase_eligibilities(self) -> Sequence['outputs.GetSQuotaInfosQuotaInfoQuotaIncreaseEligibilityResult']:
|
259
|
-
"""
|
260
|
-
(Output) Whether it is eligible to request a higher quota value for this quota.
|
261
|
-
"""
|
262
|
-
return pulumi.get(self, "quota_increase_eligibilities")
|
263
|
-
|
264
|
-
@property
|
265
|
-
@pulumi.getter(name="refreshInterval")
|
266
|
-
def refresh_interval(self) -> str:
|
267
|
-
"""
|
268
|
-
(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.
|
269
|
-
"""
|
270
|
-
return pulumi.get(self, "refresh_interval")
|
271
|
-
|
272
|
-
@property
|
273
|
-
@pulumi.getter
|
274
|
-
def service(self) -> str:
|
275
|
-
"""
|
276
|
-
The name of the service in which the quotas are defined.
|
277
|
-
"""
|
278
|
-
return pulumi.get(self, "service")
|
279
|
-
|
280
|
-
@property
|
281
|
-
@pulumi.getter(name="serviceRequestQuotaUri")
|
282
|
-
def service_request_quota_uri(self) -> str:
|
283
|
-
"""
|
284
|
-
(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`.
|
285
|
-
"""
|
286
|
-
return pulumi.get(self, "service_request_quota_uri")
|
287
|
-
|
288
|
-
|
289
|
-
@pulumi.output_type
|
290
|
-
class GetSQuotaInfosQuotaInfoDimensionsInfoResult(dict):
|
291
|
-
def __init__(__self__, *,
|
292
|
-
applicable_locations: Sequence[str],
|
293
|
-
details: Sequence['outputs.GetSQuotaInfosQuotaInfoDimensionsInfoDetailResult'],
|
294
|
-
dimensions: Mapping[str, Any]):
|
295
|
-
"""
|
296
|
-
:param Sequence[str] applicable_locations: The applicable regions or zones of this dimensions info. The field will be set to `['global']` for quotas that are not per region or per zone. Otherwise, it will be set to the list of locations this dimension info is applicable to.
|
297
|
-
:param Sequence['GetSQuotaInfosQuotaInfoDimensionsInfoDetailArgs'] details: The quota details for a map of dimensions.
|
298
|
-
:param Mapping[str, Any] dimensions: 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.
|
299
|
-
"""
|
300
|
-
pulumi.set(__self__, "applicable_locations", applicable_locations)
|
301
|
-
pulumi.set(__self__, "details", details)
|
302
|
-
pulumi.set(__self__, "dimensions", dimensions)
|
303
|
-
|
304
|
-
@property
|
305
|
-
@pulumi.getter(name="applicableLocations")
|
306
|
-
def applicable_locations(self) -> Sequence[str]:
|
307
|
-
"""
|
308
|
-
The applicable regions or zones of this dimensions info. The field will be set to `['global']` for quotas that are not per region or per zone. Otherwise, it will be set to the list of locations this dimension info is applicable to.
|
309
|
-
"""
|
310
|
-
return pulumi.get(self, "applicable_locations")
|
311
|
-
|
312
|
-
@property
|
313
|
-
@pulumi.getter
|
314
|
-
def details(self) -> Sequence['outputs.GetSQuotaInfosQuotaInfoDimensionsInfoDetailResult']:
|
315
|
-
"""
|
316
|
-
The quota details for a map of dimensions.
|
317
|
-
"""
|
318
|
-
return pulumi.get(self, "details")
|
319
|
-
|
320
|
-
@property
|
321
|
-
@pulumi.getter
|
322
|
-
def dimensions(self) -> Mapping[str, Any]:
|
323
|
-
"""
|
324
|
-
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.
|
325
|
-
"""
|
326
|
-
return pulumi.get(self, "dimensions")
|
327
|
-
|
328
|
-
|
329
|
-
@pulumi.output_type
|
330
|
-
class GetSQuotaInfosQuotaInfoDimensionsInfoDetailResult(dict):
|
331
|
-
def __init__(__self__, *,
|
332
|
-
value: str):
|
333
|
-
"""
|
334
|
-
:param str value: The value currently in effect and being enforced.
|
335
|
-
"""
|
336
|
-
pulumi.set(__self__, "value", value)
|
337
|
-
|
338
|
-
@property
|
339
|
-
@pulumi.getter
|
340
|
-
def value(self) -> str:
|
341
|
-
"""
|
342
|
-
The value currently in effect and being enforced.
|
343
|
-
"""
|
344
|
-
return pulumi.get(self, "value")
|
345
|
-
|
346
|
-
|
347
|
-
@pulumi.output_type
|
348
|
-
class GetSQuotaInfosQuotaInfoQuotaIncreaseEligibilityResult(dict):
|
349
|
-
def __init__(__self__, *,
|
350
|
-
ineligibility_reason: str,
|
351
|
-
is_eligible: bool):
|
352
|
-
"""
|
353
|
-
:param str ineligibility_reason: The enumeration of reasons when it is ineligible to request increase adjustment.
|
354
|
-
:param bool is_eligible: Whether a higher quota value can be requested for the quota.
|
355
|
-
"""
|
356
|
-
pulumi.set(__self__, "ineligibility_reason", ineligibility_reason)
|
357
|
-
pulumi.set(__self__, "is_eligible", is_eligible)
|
358
|
-
|
359
|
-
@property
|
360
|
-
@pulumi.getter(name="ineligibilityReason")
|
361
|
-
def ineligibility_reason(self) -> str:
|
362
|
-
"""
|
363
|
-
The enumeration of reasons when it is ineligible to request increase adjustment.
|
364
|
-
"""
|
365
|
-
return pulumi.get(self, "ineligibility_reason")
|
366
|
-
|
367
|
-
@property
|
368
|
-
@pulumi.getter(name="isEligible")
|
369
|
-
def is_eligible(self) -> bool:
|
370
|
-
"""
|
371
|
-
Whether a higher quota value can be requested for the quota.
|
372
|
-
"""
|
373
|
-
return pulumi.get(self, "is_eligible")
|
374
|
-
|
375
|
-
|
pulumi_gcp/cloudrunv2/_inputs.py
CHANGED
@@ -27,7 +27,6 @@ __all__ = [
|
|
27
27
|
'JobTemplateTemplateVolumeArgs',
|
28
28
|
'JobTemplateTemplateVolumeCloudSqlInstanceArgs',
|
29
29
|
'JobTemplateTemplateVolumeEmptyDirArgs',
|
30
|
-
'JobTemplateTemplateVolumeGcsArgs',
|
31
30
|
'JobTemplateTemplateVolumeSecretArgs',
|
32
31
|
'JobTemplateTemplateVolumeSecretItemArgs',
|
33
32
|
'JobTemplateTemplateVpcAccessArgs',
|
@@ -1034,7 +1033,6 @@ class JobTemplateTemplateVolumeArgs:
|
|
1034
1033
|
name: pulumi.Input[str],
|
1035
1034
|
cloud_sql_instance: Optional[pulumi.Input['JobTemplateTemplateVolumeCloudSqlInstanceArgs']] = None,
|
1036
1035
|
empty_dir: Optional[pulumi.Input['JobTemplateTemplateVolumeEmptyDirArgs']] = None,
|
1037
|
-
gcs: Optional[pulumi.Input['JobTemplateTemplateVolumeGcsArgs']] = None,
|
1038
1036
|
secret: Optional[pulumi.Input['JobTemplateTemplateVolumeSecretArgs']] = None):
|
1039
1037
|
"""
|
1040
1038
|
:param pulumi.Input[str] name: Volume's name.
|
@@ -1042,8 +1040,6 @@ class JobTemplateTemplateVolumeArgs:
|
|
1042
1040
|
Structure is documented below.
|
1043
1041
|
:param pulumi.Input['JobTemplateTemplateVolumeEmptyDirArgs'] empty_dir: Ephemeral storage used as a shared volume.
|
1044
1042
|
Structure is documented below.
|
1045
|
-
:param pulumi.Input['JobTemplateTemplateVolumeGcsArgs'] gcs: Cloud Storage bucket mounted as a volume using GCSFuse. This feature requires the launch stage to be set to ALPHA or BETA.
|
1046
|
-
Structure is documented below.
|
1047
1043
|
:param pulumi.Input['JobTemplateTemplateVolumeSecretArgs'] secret: Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
|
1048
1044
|
Structure is documented below.
|
1049
1045
|
"""
|
@@ -1052,8 +1048,6 @@ class JobTemplateTemplateVolumeArgs:
|
|
1052
1048
|
pulumi.set(__self__, "cloud_sql_instance", cloud_sql_instance)
|
1053
1049
|
if empty_dir is not None:
|
1054
1050
|
pulumi.set(__self__, "empty_dir", empty_dir)
|
1055
|
-
if gcs is not None:
|
1056
|
-
pulumi.set(__self__, "gcs", gcs)
|
1057
1051
|
if secret is not None:
|
1058
1052
|
pulumi.set(__self__, "secret", secret)
|
1059
1053
|
|
@@ -1095,19 +1089,6 @@ class JobTemplateTemplateVolumeArgs:
|
|
1095
1089
|
def empty_dir(self, value: Optional[pulumi.Input['JobTemplateTemplateVolumeEmptyDirArgs']]):
|
1096
1090
|
pulumi.set(self, "empty_dir", value)
|
1097
1091
|
|
1098
|
-
@property
|
1099
|
-
@pulumi.getter
|
1100
|
-
def gcs(self) -> Optional[pulumi.Input['JobTemplateTemplateVolumeGcsArgs']]:
|
1101
|
-
"""
|
1102
|
-
Cloud Storage bucket mounted as a volume using GCSFuse. This feature requires the launch stage to be set to ALPHA or BETA.
|
1103
|
-
Structure is documented below.
|
1104
|
-
"""
|
1105
|
-
return pulumi.get(self, "gcs")
|
1106
|
-
|
1107
|
-
@gcs.setter
|
1108
|
-
def gcs(self, value: Optional[pulumi.Input['JobTemplateTemplateVolumeGcsArgs']]):
|
1109
|
-
pulumi.set(self, "gcs", value)
|
1110
|
-
|
1111
1092
|
@property
|
1112
1093
|
@pulumi.getter
|
1113
1094
|
def secret(self) -> Optional[pulumi.Input['JobTemplateTemplateVolumeSecretArgs']]:
|
@@ -1188,44 +1169,6 @@ class JobTemplateTemplateVolumeEmptyDirArgs:
|
|
1188
1169
|
pulumi.set(self, "size_limit", value)
|
1189
1170
|
|
1190
1171
|
|
1191
|
-
@pulumi.input_type
|
1192
|
-
class JobTemplateTemplateVolumeGcsArgs:
|
1193
|
-
def __init__(__self__, *,
|
1194
|
-
bucket: pulumi.Input[str],
|
1195
|
-
read_only: Optional[pulumi.Input[bool]] = None):
|
1196
|
-
"""
|
1197
|
-
:param pulumi.Input[str] bucket: Name of the cloud storage bucket to back the volume. The resource service account must have permission to access the bucket.
|
1198
|
-
:param pulumi.Input[bool] read_only: If true, mount this volume as read-only in all mounts. If false, mount this volume as read-write.
|
1199
|
-
"""
|
1200
|
-
pulumi.set(__self__, "bucket", bucket)
|
1201
|
-
if read_only is not None:
|
1202
|
-
pulumi.set(__self__, "read_only", read_only)
|
1203
|
-
|
1204
|
-
@property
|
1205
|
-
@pulumi.getter
|
1206
|
-
def bucket(self) -> pulumi.Input[str]:
|
1207
|
-
"""
|
1208
|
-
Name of the cloud storage bucket to back the volume. The resource service account must have permission to access the bucket.
|
1209
|
-
"""
|
1210
|
-
return pulumi.get(self, "bucket")
|
1211
|
-
|
1212
|
-
@bucket.setter
|
1213
|
-
def bucket(self, value: pulumi.Input[str]):
|
1214
|
-
pulumi.set(self, "bucket", value)
|
1215
|
-
|
1216
|
-
@property
|
1217
|
-
@pulumi.getter(name="readOnly")
|
1218
|
-
def read_only(self) -> Optional[pulumi.Input[bool]]:
|
1219
|
-
"""
|
1220
|
-
If true, mount this volume as read-only in all mounts. If false, mount this volume as read-write.
|
1221
|
-
"""
|
1222
|
-
return pulumi.get(self, "read_only")
|
1223
|
-
|
1224
|
-
@read_only.setter
|
1225
|
-
def read_only(self, value: Optional[pulumi.Input[bool]]):
|
1226
|
-
pulumi.set(self, "read_only", value)
|
1227
|
-
|
1228
|
-
|
1229
1172
|
@pulumi.input_type
|
1230
1173
|
class JobTemplateTemplateVolumeSecretArgs:
|
1231
1174
|
def __init__(__self__, *,
|
@@ -3247,7 +3190,7 @@ class ServiceTemplateVolumeArgs:
|
|
3247
3190
|
Structure is documented below.
|
3248
3191
|
:param pulumi.Input['ServiceTemplateVolumeEmptyDirArgs'] empty_dir: Ephemeral storage used as a shared volume.
|
3249
3192
|
Structure is documented below.
|
3250
|
-
:param pulumi.Input['ServiceTemplateVolumeGcsArgs'] gcs:
|
3193
|
+
:param pulumi.Input['ServiceTemplateVolumeGcsArgs'] gcs: Represents a GCS Bucket mounted as a volume.
|
3251
3194
|
Structure is documented below.
|
3252
3195
|
:param pulumi.Input['ServiceTemplateVolumeNfsArgs'] nfs: Represents an NFS mount.
|
3253
3196
|
Structure is documented below.
|
@@ -3308,7 +3251,7 @@ class ServiceTemplateVolumeArgs:
|
|
3308
3251
|
@pulumi.getter
|
3309
3252
|
def gcs(self) -> Optional[pulumi.Input['ServiceTemplateVolumeGcsArgs']]:
|
3310
3253
|
"""
|
3311
|
-
|
3254
|
+
Represents a GCS Bucket mounted as a volume.
|
3312
3255
|
Structure is documented below.
|
3313
3256
|
"""
|
3314
3257
|
return pulumi.get(self, "gcs")
|