pulumi-gcp 7.12.0a1709561306__py3-none-any.whl → 7.13.0a1709814369__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- pulumi_gcp/__init__.py +24 -0
- pulumi_gcp/appengine/application_url_dispatch_rules.py +2 -2
- pulumi_gcp/appengine/engine_split_traffic.py +4 -4
- pulumi_gcp/appengine/service_network_settings.py +2 -2
- pulumi_gcp/appengine/standard_app_version.py +4 -4
- pulumi_gcp/bigquery/_inputs.py +88 -0
- pulumi_gcp/bigquery/outputs.py +91 -0
- pulumi_gcp/bigquery/routine.py +118 -12
- pulumi_gcp/certificatemanager/dns_authorization.py +63 -14
- pulumi_gcp/clouddeploy/__init__.py +4 -0
- pulumi_gcp/clouddeploy/_inputs.py +80 -0
- pulumi_gcp/clouddeploy/automation.py +16 -0
- pulumi_gcp/clouddeploy/get_target_iam_policy.py +162 -0
- pulumi_gcp/clouddeploy/outputs.py +56 -0
- pulumi_gcp/clouddeploy/target_iam_binding.py +324 -0
- pulumi_gcp/clouddeploy/target_iam_member.py +324 -0
- pulumi_gcp/clouddeploy/target_iam_policy.py +253 -0
- pulumi_gcp/cloudrunv2/_inputs.py +4 -2
- pulumi_gcp/cloudrunv2/outputs.py +8 -4
- pulumi_gcp/composer/_inputs.py +18 -2
- pulumi_gcp/composer/outputs.py +29 -4
- pulumi_gcp/compute/region_target_https_proxy.py +162 -37
- pulumi_gcp/gkehub/scope.py +85 -0
- pulumi_gcp/monitoring/get_app_engine_service.py +2 -2
- pulumi_gcp/spanner/_inputs.py +20 -0
- pulumi_gcp/spanner/database_iam_binding.py +134 -0
- pulumi_gcp/spanner/database_iam_member.py +134 -0
- pulumi_gcp/spanner/database_iam_policy.py +114 -0
- pulumi_gcp/spanner/outputs.py +20 -0
- {pulumi_gcp-7.12.0a1709561306.dist-info → pulumi_gcp-7.13.0a1709814369.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.12.0a1709561306.dist-info → pulumi_gcp-7.13.0a1709814369.dist-info}/RECORD +33 -29
- {pulumi_gcp-7.12.0a1709561306.dist-info → pulumi_gcp-7.13.0a1709814369.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.12.0a1709561306.dist-info → pulumi_gcp-7.13.0a1709814369.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,324 @@
|
|
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
|
+
from ._inputs import *
|
13
|
+
|
14
|
+
__all__ = ['TargetIamMemberArgs', 'TargetIamMember']
|
15
|
+
|
16
|
+
@pulumi.input_type
|
17
|
+
class TargetIamMemberArgs:
|
18
|
+
def __init__(__self__, *,
|
19
|
+
member: pulumi.Input[str],
|
20
|
+
role: pulumi.Input[str],
|
21
|
+
condition: Optional[pulumi.Input['TargetIamMemberConditionArgs']] = None,
|
22
|
+
location: Optional[pulumi.Input[str]] = None,
|
23
|
+
name: Optional[pulumi.Input[str]] = None,
|
24
|
+
project: Optional[pulumi.Input[str]] = None):
|
25
|
+
"""
|
26
|
+
The set of arguments for constructing a TargetIamMember resource.
|
27
|
+
"""
|
28
|
+
pulumi.set(__self__, "member", member)
|
29
|
+
pulumi.set(__self__, "role", role)
|
30
|
+
if condition is not None:
|
31
|
+
pulumi.set(__self__, "condition", condition)
|
32
|
+
if location is not None:
|
33
|
+
pulumi.set(__self__, "location", location)
|
34
|
+
if name is not None:
|
35
|
+
pulumi.set(__self__, "name", name)
|
36
|
+
if project is not None:
|
37
|
+
pulumi.set(__self__, "project", project)
|
38
|
+
|
39
|
+
@property
|
40
|
+
@pulumi.getter
|
41
|
+
def member(self) -> pulumi.Input[str]:
|
42
|
+
return pulumi.get(self, "member")
|
43
|
+
|
44
|
+
@member.setter
|
45
|
+
def member(self, value: pulumi.Input[str]):
|
46
|
+
pulumi.set(self, "member", value)
|
47
|
+
|
48
|
+
@property
|
49
|
+
@pulumi.getter
|
50
|
+
def role(self) -> pulumi.Input[str]:
|
51
|
+
return pulumi.get(self, "role")
|
52
|
+
|
53
|
+
@role.setter
|
54
|
+
def role(self, value: pulumi.Input[str]):
|
55
|
+
pulumi.set(self, "role", value)
|
56
|
+
|
57
|
+
@property
|
58
|
+
@pulumi.getter
|
59
|
+
def condition(self) -> Optional[pulumi.Input['TargetIamMemberConditionArgs']]:
|
60
|
+
return pulumi.get(self, "condition")
|
61
|
+
|
62
|
+
@condition.setter
|
63
|
+
def condition(self, value: Optional[pulumi.Input['TargetIamMemberConditionArgs']]):
|
64
|
+
pulumi.set(self, "condition", value)
|
65
|
+
|
66
|
+
@property
|
67
|
+
@pulumi.getter
|
68
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
69
|
+
return pulumi.get(self, "location")
|
70
|
+
|
71
|
+
@location.setter
|
72
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
73
|
+
pulumi.set(self, "location", value)
|
74
|
+
|
75
|
+
@property
|
76
|
+
@pulumi.getter
|
77
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
78
|
+
return pulumi.get(self, "name")
|
79
|
+
|
80
|
+
@name.setter
|
81
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
82
|
+
pulumi.set(self, "name", value)
|
83
|
+
|
84
|
+
@property
|
85
|
+
@pulumi.getter
|
86
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
87
|
+
return pulumi.get(self, "project")
|
88
|
+
|
89
|
+
@project.setter
|
90
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
91
|
+
pulumi.set(self, "project", value)
|
92
|
+
|
93
|
+
|
94
|
+
@pulumi.input_type
|
95
|
+
class _TargetIamMemberState:
|
96
|
+
def __init__(__self__, *,
|
97
|
+
condition: Optional[pulumi.Input['TargetIamMemberConditionArgs']] = None,
|
98
|
+
etag: Optional[pulumi.Input[str]] = None,
|
99
|
+
location: Optional[pulumi.Input[str]] = None,
|
100
|
+
member: Optional[pulumi.Input[str]] = None,
|
101
|
+
name: Optional[pulumi.Input[str]] = None,
|
102
|
+
project: Optional[pulumi.Input[str]] = None,
|
103
|
+
role: Optional[pulumi.Input[str]] = None):
|
104
|
+
"""
|
105
|
+
Input properties used for looking up and filtering TargetIamMember resources.
|
106
|
+
"""
|
107
|
+
if condition is not None:
|
108
|
+
pulumi.set(__self__, "condition", condition)
|
109
|
+
if etag is not None:
|
110
|
+
pulumi.set(__self__, "etag", etag)
|
111
|
+
if location is not None:
|
112
|
+
pulumi.set(__self__, "location", location)
|
113
|
+
if member is not None:
|
114
|
+
pulumi.set(__self__, "member", member)
|
115
|
+
if name is not None:
|
116
|
+
pulumi.set(__self__, "name", name)
|
117
|
+
if project is not None:
|
118
|
+
pulumi.set(__self__, "project", project)
|
119
|
+
if role is not None:
|
120
|
+
pulumi.set(__self__, "role", role)
|
121
|
+
|
122
|
+
@property
|
123
|
+
@pulumi.getter
|
124
|
+
def condition(self) -> Optional[pulumi.Input['TargetIamMemberConditionArgs']]:
|
125
|
+
return pulumi.get(self, "condition")
|
126
|
+
|
127
|
+
@condition.setter
|
128
|
+
def condition(self, value: Optional[pulumi.Input['TargetIamMemberConditionArgs']]):
|
129
|
+
pulumi.set(self, "condition", value)
|
130
|
+
|
131
|
+
@property
|
132
|
+
@pulumi.getter
|
133
|
+
def etag(self) -> Optional[pulumi.Input[str]]:
|
134
|
+
return pulumi.get(self, "etag")
|
135
|
+
|
136
|
+
@etag.setter
|
137
|
+
def etag(self, value: Optional[pulumi.Input[str]]):
|
138
|
+
pulumi.set(self, "etag", value)
|
139
|
+
|
140
|
+
@property
|
141
|
+
@pulumi.getter
|
142
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
143
|
+
return pulumi.get(self, "location")
|
144
|
+
|
145
|
+
@location.setter
|
146
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
147
|
+
pulumi.set(self, "location", value)
|
148
|
+
|
149
|
+
@property
|
150
|
+
@pulumi.getter
|
151
|
+
def member(self) -> Optional[pulumi.Input[str]]:
|
152
|
+
return pulumi.get(self, "member")
|
153
|
+
|
154
|
+
@member.setter
|
155
|
+
def member(self, value: Optional[pulumi.Input[str]]):
|
156
|
+
pulumi.set(self, "member", value)
|
157
|
+
|
158
|
+
@property
|
159
|
+
@pulumi.getter
|
160
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
161
|
+
return pulumi.get(self, "name")
|
162
|
+
|
163
|
+
@name.setter
|
164
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
165
|
+
pulumi.set(self, "name", value)
|
166
|
+
|
167
|
+
@property
|
168
|
+
@pulumi.getter
|
169
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
170
|
+
return pulumi.get(self, "project")
|
171
|
+
|
172
|
+
@project.setter
|
173
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
174
|
+
pulumi.set(self, "project", value)
|
175
|
+
|
176
|
+
@property
|
177
|
+
@pulumi.getter
|
178
|
+
def role(self) -> Optional[pulumi.Input[str]]:
|
179
|
+
return pulumi.get(self, "role")
|
180
|
+
|
181
|
+
@role.setter
|
182
|
+
def role(self, value: Optional[pulumi.Input[str]]):
|
183
|
+
pulumi.set(self, "role", value)
|
184
|
+
|
185
|
+
|
186
|
+
class TargetIamMember(pulumi.CustomResource):
|
187
|
+
@overload
|
188
|
+
def __init__(__self__,
|
189
|
+
resource_name: str,
|
190
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
191
|
+
condition: Optional[pulumi.Input[pulumi.InputType['TargetIamMemberConditionArgs']]] = None,
|
192
|
+
location: Optional[pulumi.Input[str]] = None,
|
193
|
+
member: Optional[pulumi.Input[str]] = None,
|
194
|
+
name: Optional[pulumi.Input[str]] = None,
|
195
|
+
project: Optional[pulumi.Input[str]] = None,
|
196
|
+
role: Optional[pulumi.Input[str]] = None,
|
197
|
+
__props__=None):
|
198
|
+
"""
|
199
|
+
Create a TargetIamMember resource with the given unique name, props, and options.
|
200
|
+
:param str resource_name: The name of the resource.
|
201
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
202
|
+
"""
|
203
|
+
...
|
204
|
+
@overload
|
205
|
+
def __init__(__self__,
|
206
|
+
resource_name: str,
|
207
|
+
args: TargetIamMemberArgs,
|
208
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
209
|
+
"""
|
210
|
+
Create a TargetIamMember resource with the given unique name, props, and options.
|
211
|
+
:param str resource_name: The name of the resource.
|
212
|
+
:param TargetIamMemberArgs args: The arguments to use to populate this resource's properties.
|
213
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
214
|
+
"""
|
215
|
+
...
|
216
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
217
|
+
resource_args, opts = _utilities.get_resource_args_opts(TargetIamMemberArgs, pulumi.ResourceOptions, *args, **kwargs)
|
218
|
+
if resource_args is not None:
|
219
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
220
|
+
else:
|
221
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
222
|
+
|
223
|
+
def _internal_init(__self__,
|
224
|
+
resource_name: str,
|
225
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
226
|
+
condition: Optional[pulumi.Input[pulumi.InputType['TargetIamMemberConditionArgs']]] = None,
|
227
|
+
location: Optional[pulumi.Input[str]] = None,
|
228
|
+
member: Optional[pulumi.Input[str]] = None,
|
229
|
+
name: Optional[pulumi.Input[str]] = None,
|
230
|
+
project: Optional[pulumi.Input[str]] = None,
|
231
|
+
role: Optional[pulumi.Input[str]] = None,
|
232
|
+
__props__=None):
|
233
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
234
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
235
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
236
|
+
if opts.id is None:
|
237
|
+
if __props__ is not None:
|
238
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
239
|
+
__props__ = TargetIamMemberArgs.__new__(TargetIamMemberArgs)
|
240
|
+
|
241
|
+
__props__.__dict__["condition"] = condition
|
242
|
+
__props__.__dict__["location"] = location
|
243
|
+
if member is None and not opts.urn:
|
244
|
+
raise TypeError("Missing required property 'member'")
|
245
|
+
__props__.__dict__["member"] = member
|
246
|
+
__props__.__dict__["name"] = name
|
247
|
+
__props__.__dict__["project"] = project
|
248
|
+
if role is None and not opts.urn:
|
249
|
+
raise TypeError("Missing required property 'role'")
|
250
|
+
__props__.__dict__["role"] = role
|
251
|
+
__props__.__dict__["etag"] = None
|
252
|
+
super(TargetIamMember, __self__).__init__(
|
253
|
+
'gcp:clouddeploy/targetIamMember:TargetIamMember',
|
254
|
+
resource_name,
|
255
|
+
__props__,
|
256
|
+
opts)
|
257
|
+
|
258
|
+
@staticmethod
|
259
|
+
def get(resource_name: str,
|
260
|
+
id: pulumi.Input[str],
|
261
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
262
|
+
condition: Optional[pulumi.Input[pulumi.InputType['TargetIamMemberConditionArgs']]] = None,
|
263
|
+
etag: Optional[pulumi.Input[str]] = None,
|
264
|
+
location: Optional[pulumi.Input[str]] = None,
|
265
|
+
member: Optional[pulumi.Input[str]] = None,
|
266
|
+
name: Optional[pulumi.Input[str]] = None,
|
267
|
+
project: Optional[pulumi.Input[str]] = None,
|
268
|
+
role: Optional[pulumi.Input[str]] = None) -> 'TargetIamMember':
|
269
|
+
"""
|
270
|
+
Get an existing TargetIamMember resource's state with the given name, id, and optional extra
|
271
|
+
properties used to qualify the lookup.
|
272
|
+
|
273
|
+
:param str resource_name: The unique name of the resulting resource.
|
274
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
275
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
276
|
+
"""
|
277
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
278
|
+
|
279
|
+
__props__ = _TargetIamMemberState.__new__(_TargetIamMemberState)
|
280
|
+
|
281
|
+
__props__.__dict__["condition"] = condition
|
282
|
+
__props__.__dict__["etag"] = etag
|
283
|
+
__props__.__dict__["location"] = location
|
284
|
+
__props__.__dict__["member"] = member
|
285
|
+
__props__.__dict__["name"] = name
|
286
|
+
__props__.__dict__["project"] = project
|
287
|
+
__props__.__dict__["role"] = role
|
288
|
+
return TargetIamMember(resource_name, opts=opts, __props__=__props__)
|
289
|
+
|
290
|
+
@property
|
291
|
+
@pulumi.getter
|
292
|
+
def condition(self) -> pulumi.Output[Optional['outputs.TargetIamMemberCondition']]:
|
293
|
+
return pulumi.get(self, "condition")
|
294
|
+
|
295
|
+
@property
|
296
|
+
@pulumi.getter
|
297
|
+
def etag(self) -> pulumi.Output[str]:
|
298
|
+
return pulumi.get(self, "etag")
|
299
|
+
|
300
|
+
@property
|
301
|
+
@pulumi.getter
|
302
|
+
def location(self) -> pulumi.Output[str]:
|
303
|
+
return pulumi.get(self, "location")
|
304
|
+
|
305
|
+
@property
|
306
|
+
@pulumi.getter
|
307
|
+
def member(self) -> pulumi.Output[str]:
|
308
|
+
return pulumi.get(self, "member")
|
309
|
+
|
310
|
+
@property
|
311
|
+
@pulumi.getter
|
312
|
+
def name(self) -> pulumi.Output[str]:
|
313
|
+
return pulumi.get(self, "name")
|
314
|
+
|
315
|
+
@property
|
316
|
+
@pulumi.getter
|
317
|
+
def project(self) -> pulumi.Output[str]:
|
318
|
+
return pulumi.get(self, "project")
|
319
|
+
|
320
|
+
@property
|
321
|
+
@pulumi.getter
|
322
|
+
def role(self) -> pulumi.Output[str]:
|
323
|
+
return pulumi.get(self, "role")
|
324
|
+
|
@@ -0,0 +1,253 @@
|
|
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
|
+
|
12
|
+
__all__ = ['TargetIamPolicyArgs', 'TargetIamPolicy']
|
13
|
+
|
14
|
+
@pulumi.input_type
|
15
|
+
class TargetIamPolicyArgs:
|
16
|
+
def __init__(__self__, *,
|
17
|
+
policy_data: pulumi.Input[str],
|
18
|
+
location: Optional[pulumi.Input[str]] = None,
|
19
|
+
name: Optional[pulumi.Input[str]] = None,
|
20
|
+
project: Optional[pulumi.Input[str]] = None):
|
21
|
+
"""
|
22
|
+
The set of arguments for constructing a TargetIamPolicy resource.
|
23
|
+
"""
|
24
|
+
pulumi.set(__self__, "policy_data", policy_data)
|
25
|
+
if location is not None:
|
26
|
+
pulumi.set(__self__, "location", location)
|
27
|
+
if name is not None:
|
28
|
+
pulumi.set(__self__, "name", name)
|
29
|
+
if project is not None:
|
30
|
+
pulumi.set(__self__, "project", project)
|
31
|
+
|
32
|
+
@property
|
33
|
+
@pulumi.getter(name="policyData")
|
34
|
+
def policy_data(self) -> pulumi.Input[str]:
|
35
|
+
return pulumi.get(self, "policy_data")
|
36
|
+
|
37
|
+
@policy_data.setter
|
38
|
+
def policy_data(self, value: pulumi.Input[str]):
|
39
|
+
pulumi.set(self, "policy_data", value)
|
40
|
+
|
41
|
+
@property
|
42
|
+
@pulumi.getter
|
43
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
44
|
+
return pulumi.get(self, "location")
|
45
|
+
|
46
|
+
@location.setter
|
47
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
48
|
+
pulumi.set(self, "location", value)
|
49
|
+
|
50
|
+
@property
|
51
|
+
@pulumi.getter
|
52
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
53
|
+
return pulumi.get(self, "name")
|
54
|
+
|
55
|
+
@name.setter
|
56
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
57
|
+
pulumi.set(self, "name", value)
|
58
|
+
|
59
|
+
@property
|
60
|
+
@pulumi.getter
|
61
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
62
|
+
return pulumi.get(self, "project")
|
63
|
+
|
64
|
+
@project.setter
|
65
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
66
|
+
pulumi.set(self, "project", value)
|
67
|
+
|
68
|
+
|
69
|
+
@pulumi.input_type
|
70
|
+
class _TargetIamPolicyState:
|
71
|
+
def __init__(__self__, *,
|
72
|
+
etag: Optional[pulumi.Input[str]] = None,
|
73
|
+
location: Optional[pulumi.Input[str]] = None,
|
74
|
+
name: Optional[pulumi.Input[str]] = None,
|
75
|
+
policy_data: Optional[pulumi.Input[str]] = None,
|
76
|
+
project: Optional[pulumi.Input[str]] = None):
|
77
|
+
"""
|
78
|
+
Input properties used for looking up and filtering TargetIamPolicy resources.
|
79
|
+
"""
|
80
|
+
if etag is not None:
|
81
|
+
pulumi.set(__self__, "etag", etag)
|
82
|
+
if location is not None:
|
83
|
+
pulumi.set(__self__, "location", location)
|
84
|
+
if name is not None:
|
85
|
+
pulumi.set(__self__, "name", name)
|
86
|
+
if policy_data is not None:
|
87
|
+
pulumi.set(__self__, "policy_data", policy_data)
|
88
|
+
if project is not None:
|
89
|
+
pulumi.set(__self__, "project", project)
|
90
|
+
|
91
|
+
@property
|
92
|
+
@pulumi.getter
|
93
|
+
def etag(self) -> Optional[pulumi.Input[str]]:
|
94
|
+
return pulumi.get(self, "etag")
|
95
|
+
|
96
|
+
@etag.setter
|
97
|
+
def etag(self, value: Optional[pulumi.Input[str]]):
|
98
|
+
pulumi.set(self, "etag", value)
|
99
|
+
|
100
|
+
@property
|
101
|
+
@pulumi.getter
|
102
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
103
|
+
return pulumi.get(self, "location")
|
104
|
+
|
105
|
+
@location.setter
|
106
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
107
|
+
pulumi.set(self, "location", value)
|
108
|
+
|
109
|
+
@property
|
110
|
+
@pulumi.getter
|
111
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
112
|
+
return pulumi.get(self, "name")
|
113
|
+
|
114
|
+
@name.setter
|
115
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
116
|
+
pulumi.set(self, "name", value)
|
117
|
+
|
118
|
+
@property
|
119
|
+
@pulumi.getter(name="policyData")
|
120
|
+
def policy_data(self) -> Optional[pulumi.Input[str]]:
|
121
|
+
return pulumi.get(self, "policy_data")
|
122
|
+
|
123
|
+
@policy_data.setter
|
124
|
+
def policy_data(self, value: Optional[pulumi.Input[str]]):
|
125
|
+
pulumi.set(self, "policy_data", value)
|
126
|
+
|
127
|
+
@property
|
128
|
+
@pulumi.getter
|
129
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
130
|
+
return pulumi.get(self, "project")
|
131
|
+
|
132
|
+
@project.setter
|
133
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
134
|
+
pulumi.set(self, "project", value)
|
135
|
+
|
136
|
+
|
137
|
+
class TargetIamPolicy(pulumi.CustomResource):
|
138
|
+
@overload
|
139
|
+
def __init__(__self__,
|
140
|
+
resource_name: str,
|
141
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
142
|
+
location: Optional[pulumi.Input[str]] = None,
|
143
|
+
name: Optional[pulumi.Input[str]] = None,
|
144
|
+
policy_data: Optional[pulumi.Input[str]] = None,
|
145
|
+
project: Optional[pulumi.Input[str]] = None,
|
146
|
+
__props__=None):
|
147
|
+
"""
|
148
|
+
Create a TargetIamPolicy resource with the given unique name, props, and options.
|
149
|
+
:param str resource_name: The name of the resource.
|
150
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
151
|
+
"""
|
152
|
+
...
|
153
|
+
@overload
|
154
|
+
def __init__(__self__,
|
155
|
+
resource_name: str,
|
156
|
+
args: TargetIamPolicyArgs,
|
157
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
158
|
+
"""
|
159
|
+
Create a TargetIamPolicy resource with the given unique name, props, and options.
|
160
|
+
:param str resource_name: The name of the resource.
|
161
|
+
:param TargetIamPolicyArgs args: The arguments to use to populate this resource's properties.
|
162
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
163
|
+
"""
|
164
|
+
...
|
165
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
166
|
+
resource_args, opts = _utilities.get_resource_args_opts(TargetIamPolicyArgs, pulumi.ResourceOptions, *args, **kwargs)
|
167
|
+
if resource_args is not None:
|
168
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
169
|
+
else:
|
170
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
171
|
+
|
172
|
+
def _internal_init(__self__,
|
173
|
+
resource_name: str,
|
174
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
175
|
+
location: Optional[pulumi.Input[str]] = None,
|
176
|
+
name: Optional[pulumi.Input[str]] = None,
|
177
|
+
policy_data: Optional[pulumi.Input[str]] = None,
|
178
|
+
project: Optional[pulumi.Input[str]] = None,
|
179
|
+
__props__=None):
|
180
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
181
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
182
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
183
|
+
if opts.id is None:
|
184
|
+
if __props__ is not None:
|
185
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
186
|
+
__props__ = TargetIamPolicyArgs.__new__(TargetIamPolicyArgs)
|
187
|
+
|
188
|
+
__props__.__dict__["location"] = location
|
189
|
+
__props__.__dict__["name"] = name
|
190
|
+
if policy_data is None and not opts.urn:
|
191
|
+
raise TypeError("Missing required property 'policy_data'")
|
192
|
+
__props__.__dict__["policy_data"] = policy_data
|
193
|
+
__props__.__dict__["project"] = project
|
194
|
+
__props__.__dict__["etag"] = None
|
195
|
+
super(TargetIamPolicy, __self__).__init__(
|
196
|
+
'gcp:clouddeploy/targetIamPolicy:TargetIamPolicy',
|
197
|
+
resource_name,
|
198
|
+
__props__,
|
199
|
+
opts)
|
200
|
+
|
201
|
+
@staticmethod
|
202
|
+
def get(resource_name: str,
|
203
|
+
id: pulumi.Input[str],
|
204
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
205
|
+
etag: Optional[pulumi.Input[str]] = None,
|
206
|
+
location: Optional[pulumi.Input[str]] = None,
|
207
|
+
name: Optional[pulumi.Input[str]] = None,
|
208
|
+
policy_data: Optional[pulumi.Input[str]] = None,
|
209
|
+
project: Optional[pulumi.Input[str]] = None) -> 'TargetIamPolicy':
|
210
|
+
"""
|
211
|
+
Get an existing TargetIamPolicy resource's state with the given name, id, and optional extra
|
212
|
+
properties used to qualify the lookup.
|
213
|
+
|
214
|
+
:param str resource_name: The unique name of the resulting resource.
|
215
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
216
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
217
|
+
"""
|
218
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
219
|
+
|
220
|
+
__props__ = _TargetIamPolicyState.__new__(_TargetIamPolicyState)
|
221
|
+
|
222
|
+
__props__.__dict__["etag"] = etag
|
223
|
+
__props__.__dict__["location"] = location
|
224
|
+
__props__.__dict__["name"] = name
|
225
|
+
__props__.__dict__["policy_data"] = policy_data
|
226
|
+
__props__.__dict__["project"] = project
|
227
|
+
return TargetIamPolicy(resource_name, opts=opts, __props__=__props__)
|
228
|
+
|
229
|
+
@property
|
230
|
+
@pulumi.getter
|
231
|
+
def etag(self) -> pulumi.Output[str]:
|
232
|
+
return pulumi.get(self, "etag")
|
233
|
+
|
234
|
+
@property
|
235
|
+
@pulumi.getter
|
236
|
+
def location(self) -> pulumi.Output[str]:
|
237
|
+
return pulumi.get(self, "location")
|
238
|
+
|
239
|
+
@property
|
240
|
+
@pulumi.getter
|
241
|
+
def name(self) -> pulumi.Output[str]:
|
242
|
+
return pulumi.get(self, "name")
|
243
|
+
|
244
|
+
@property
|
245
|
+
@pulumi.getter(name="policyData")
|
246
|
+
def policy_data(self) -> pulumi.Output[str]:
|
247
|
+
return pulumi.get(self, "policy_data")
|
248
|
+
|
249
|
+
@property
|
250
|
+
@pulumi.getter
|
251
|
+
def project(self) -> pulumi.Output[str]:
|
252
|
+
return pulumi.get(self, "project")
|
253
|
+
|
pulumi_gcp/cloudrunv2/_inputs.py
CHANGED
@@ -2733,7 +2733,8 @@ class ServiceTemplateContainerResourcesArgs:
|
|
2733
2733
|
limits: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
2734
2734
|
startup_cpu_boost: Optional[pulumi.Input[bool]] = None):
|
2735
2735
|
"""
|
2736
|
-
:param pulumi.Input[bool] cpu_idle: Determines whether CPU
|
2736
|
+
:param pulumi.Input[bool] cpu_idle: Determines whether CPU is only allocated during requests. True by default if the parent `resources` field is not set. However, if
|
2737
|
+
`resources` is set, this field must be explicitly set to true to preserve the default behavior.
|
2737
2738
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] limits: Only memory and CPU are supported. Use key `cpu` for CPU limit and `memory` for memory limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
|
2738
2739
|
:param pulumi.Input[bool] startup_cpu_boost: Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.
|
2739
2740
|
"""
|
@@ -2748,7 +2749,8 @@ class ServiceTemplateContainerResourcesArgs:
|
|
2748
2749
|
@pulumi.getter(name="cpuIdle")
|
2749
2750
|
def cpu_idle(self) -> Optional[pulumi.Input[bool]]:
|
2750
2751
|
"""
|
2751
|
-
Determines whether CPU
|
2752
|
+
Determines whether CPU is only allocated during requests. True by default if the parent `resources` field is not set. However, if
|
2753
|
+
`resources` is set, this field must be explicitly set to true to preserve the default behavior.
|
2752
2754
|
"""
|
2753
2755
|
return pulumi.get(self, "cpu_idle")
|
2754
2756
|
|
pulumi_gcp/cloudrunv2/outputs.py
CHANGED
@@ -2700,7 +2700,8 @@ class ServiceTemplateContainerResources(dict):
|
|
2700
2700
|
limits: Optional[Mapping[str, str]] = None,
|
2701
2701
|
startup_cpu_boost: Optional[bool] = None):
|
2702
2702
|
"""
|
2703
|
-
:param bool cpu_idle: Determines whether CPU
|
2703
|
+
:param bool cpu_idle: Determines whether CPU is only allocated during requests. True by default if the parent `resources` field is not set. However, if
|
2704
|
+
`resources` is set, this field must be explicitly set to true to preserve the default behavior.
|
2704
2705
|
:param Mapping[str, str] limits: Only memory and CPU are supported. Use key `cpu` for CPU limit and `memory` for memory limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
|
2705
2706
|
:param bool startup_cpu_boost: Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.
|
2706
2707
|
"""
|
@@ -2715,7 +2716,8 @@ class ServiceTemplateContainerResources(dict):
|
|
2715
2716
|
@pulumi.getter(name="cpuIdle")
|
2716
2717
|
def cpu_idle(self) -> Optional[bool]:
|
2717
2718
|
"""
|
2718
|
-
Determines whether CPU
|
2719
|
+
Determines whether CPU is only allocated during requests. True by default if the parent `resources` field is not set. However, if
|
2720
|
+
`resources` is set, this field must be explicitly set to true to preserve the default behavior.
|
2719
2721
|
"""
|
2720
2722
|
return pulumi.get(self, "cpu_idle")
|
2721
2723
|
|
@@ -5656,7 +5658,8 @@ class GetServiceTemplateContainerResourceResult(dict):
|
|
5656
5658
|
limits: Mapping[str, str],
|
5657
5659
|
startup_cpu_boost: bool):
|
5658
5660
|
"""
|
5659
|
-
:param bool cpu_idle: Determines whether CPU
|
5661
|
+
:param bool cpu_idle: Determines whether CPU is only allocated during requests. True by default if the parent 'resources' field is not set. However, if
|
5662
|
+
'resources' is set, this field must be explicitly set to true to preserve the default behavior.
|
5660
5663
|
:param Mapping[str, str] limits: Only memory and CPU are supported. Use key 'cpu' for CPU limit and 'memory' for memory limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
|
5661
5664
|
:param bool startup_cpu_boost: Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.
|
5662
5665
|
"""
|
@@ -5668,7 +5671,8 @@ class GetServiceTemplateContainerResourceResult(dict):
|
|
5668
5671
|
@pulumi.getter(name="cpuIdle")
|
5669
5672
|
def cpu_idle(self) -> bool:
|
5670
5673
|
"""
|
5671
|
-
Determines whether CPU
|
5674
|
+
Determines whether CPU is only allocated during requests. True by default if the parent 'resources' field is not set. However, if
|
5675
|
+
'resources' is set, this field must be explicitly set to true to preserve the default behavior.
|
5672
5676
|
"""
|
5673
5677
|
return pulumi.get(self, "cpu_idle")
|
5674
5678
|
|