pulumi-gcp 7.14.0a1710186287__py3-none-any.whl → 7.14.1__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 +24 -0
- pulumi_gcp/certificatemanager/_inputs.py +14 -4
- pulumi_gcp/certificatemanager/certificate.py +44 -0
- pulumi_gcp/certificatemanager/dns_authorization.py +122 -3
- pulumi_gcp/certificatemanager/outputs.py +14 -4
- pulumi_gcp/clouddeploy/__init__.py +4 -0
- pulumi_gcp/clouddeploy/_inputs.py +80 -0
- pulumi_gcp/clouddeploy/custom_target_type_iam_binding.py +324 -0
- pulumi_gcp/clouddeploy/custom_target_type_iam_member.py +324 -0
- pulumi_gcp/clouddeploy/custom_target_type_iam_policy.py +253 -0
- pulumi_gcp/clouddeploy/get_custom_target_type_iam_policy.py +168 -0
- pulumi_gcp/clouddeploy/outputs.py +56 -0
- pulumi_gcp/cloudfunctions/function.py +14 -14
- pulumi_gcp/compute/_inputs.py +65 -12
- pulumi_gcp/compute/outputs.py +71 -13
- pulumi_gcp/compute/service_attachment.py +150 -0
- pulumi_gcp/dataflow/flex_template_job.py +14 -14
- pulumi_gcp/gkehub/_inputs.py +350 -0
- pulumi_gcp/gkehub/outputs.py +320 -0
- pulumi_gcp/kms/_inputs.py +12 -12
- pulumi_gcp/kms/outputs.py +9 -9
- {pulumi_gcp-7.14.0a1710186287.dist-info → pulumi_gcp-7.14.1.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.14.0a1710186287.dist-info → pulumi_gcp-7.14.1.dist-info}/RECORD +25 -21
- {pulumi_gcp-7.14.0a1710186287.dist-info → pulumi_gcp-7.14.1.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.14.0a1710186287.dist-info → pulumi_gcp-7.14.1.dist-info}/top_level.txt +0 -0
@@ -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__ = ['CustomTargetTypeIamPolicyArgs', 'CustomTargetTypeIamPolicy']
|
13
|
+
|
14
|
+
@pulumi.input_type
|
15
|
+
class CustomTargetTypeIamPolicyArgs:
|
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 CustomTargetTypeIamPolicy 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 _CustomTargetTypeIamPolicyState:
|
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 CustomTargetTypeIamPolicy 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 CustomTargetTypeIamPolicy(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 CustomTargetTypeIamPolicy 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: CustomTargetTypeIamPolicyArgs,
|
157
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
158
|
+
"""
|
159
|
+
Create a CustomTargetTypeIamPolicy resource with the given unique name, props, and options.
|
160
|
+
:param str resource_name: The name of the resource.
|
161
|
+
:param CustomTargetTypeIamPolicyArgs 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(CustomTargetTypeIamPolicyArgs, 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__ = CustomTargetTypeIamPolicyArgs.__new__(CustomTargetTypeIamPolicyArgs)
|
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(CustomTargetTypeIamPolicy, __self__).__init__(
|
196
|
+
'gcp:clouddeploy/customTargetTypeIamPolicy:CustomTargetTypeIamPolicy',
|
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) -> 'CustomTargetTypeIamPolicy':
|
210
|
+
"""
|
211
|
+
Get an existing CustomTargetTypeIamPolicy 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__ = _CustomTargetTypeIamPolicyState.__new__(_CustomTargetTypeIamPolicyState)
|
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 CustomTargetTypeIamPolicy(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
|
+
|
@@ -0,0 +1,168 @@
|
|
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__ = [
|
13
|
+
'GetCustomTargetTypeIamPolicyResult',
|
14
|
+
'AwaitableGetCustomTargetTypeIamPolicyResult',
|
15
|
+
'get_custom_target_type_iam_policy',
|
16
|
+
'get_custom_target_type_iam_policy_output',
|
17
|
+
]
|
18
|
+
|
19
|
+
@pulumi.output_type
|
20
|
+
class GetCustomTargetTypeIamPolicyResult:
|
21
|
+
"""
|
22
|
+
A collection of values returned by getCustomTargetTypeIamPolicy.
|
23
|
+
"""
|
24
|
+
def __init__(__self__, etag=None, id=None, location=None, name=None, policy_data=None, project=None):
|
25
|
+
if etag and not isinstance(etag, str):
|
26
|
+
raise TypeError("Expected argument 'etag' to be a str")
|
27
|
+
pulumi.set(__self__, "etag", etag)
|
28
|
+
if id and not isinstance(id, str):
|
29
|
+
raise TypeError("Expected argument 'id' to be a str")
|
30
|
+
pulumi.set(__self__, "id", id)
|
31
|
+
if location and not isinstance(location, str):
|
32
|
+
raise TypeError("Expected argument 'location' to be a str")
|
33
|
+
pulumi.set(__self__, "location", location)
|
34
|
+
if name and not isinstance(name, str):
|
35
|
+
raise TypeError("Expected argument 'name' to be a str")
|
36
|
+
pulumi.set(__self__, "name", name)
|
37
|
+
if policy_data and not isinstance(policy_data, str):
|
38
|
+
raise TypeError("Expected argument 'policy_data' to be a str")
|
39
|
+
pulumi.set(__self__, "policy_data", policy_data)
|
40
|
+
if project and not isinstance(project, str):
|
41
|
+
raise TypeError("Expected argument 'project' to be a str")
|
42
|
+
pulumi.set(__self__, "project", project)
|
43
|
+
|
44
|
+
@property
|
45
|
+
@pulumi.getter
|
46
|
+
def etag(self) -> str:
|
47
|
+
"""
|
48
|
+
(Computed) The etag of the IAM policy.
|
49
|
+
"""
|
50
|
+
return pulumi.get(self, "etag")
|
51
|
+
|
52
|
+
@property
|
53
|
+
@pulumi.getter
|
54
|
+
def id(self) -> str:
|
55
|
+
"""
|
56
|
+
The provider-assigned unique ID for this managed resource.
|
57
|
+
"""
|
58
|
+
return pulumi.get(self, "id")
|
59
|
+
|
60
|
+
@property
|
61
|
+
@pulumi.getter
|
62
|
+
def location(self) -> str:
|
63
|
+
return pulumi.get(self, "location")
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter
|
67
|
+
def name(self) -> str:
|
68
|
+
return pulumi.get(self, "name")
|
69
|
+
|
70
|
+
@property
|
71
|
+
@pulumi.getter(name="policyData")
|
72
|
+
def policy_data(self) -> str:
|
73
|
+
"""
|
74
|
+
(Required only by `clouddeploy.CustomTargetTypeIamPolicy`) The policy data generated by
|
75
|
+
a `organizations_get_iam_policy` data source.
|
76
|
+
"""
|
77
|
+
return pulumi.get(self, "policy_data")
|
78
|
+
|
79
|
+
@property
|
80
|
+
@pulumi.getter
|
81
|
+
def project(self) -> str:
|
82
|
+
return pulumi.get(self, "project")
|
83
|
+
|
84
|
+
|
85
|
+
class AwaitableGetCustomTargetTypeIamPolicyResult(GetCustomTargetTypeIamPolicyResult):
|
86
|
+
# pylint: disable=using-constant-test
|
87
|
+
def __await__(self):
|
88
|
+
if False:
|
89
|
+
yield self
|
90
|
+
return GetCustomTargetTypeIamPolicyResult(
|
91
|
+
etag=self.etag,
|
92
|
+
id=self.id,
|
93
|
+
location=self.location,
|
94
|
+
name=self.name,
|
95
|
+
policy_data=self.policy_data,
|
96
|
+
project=self.project)
|
97
|
+
|
98
|
+
|
99
|
+
def get_custom_target_type_iam_policy(location: Optional[str] = None,
|
100
|
+
name: Optional[str] = None,
|
101
|
+
project: Optional[str] = None,
|
102
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCustomTargetTypeIamPolicyResult:
|
103
|
+
"""
|
104
|
+
Retrieves the current IAM policy data for customtargettype
|
105
|
+
|
106
|
+
## example
|
107
|
+
|
108
|
+
<!--Start PulumiCodeChooser -->
|
109
|
+
```python
|
110
|
+
import pulumi
|
111
|
+
import pulumi_gcp as gcp
|
112
|
+
|
113
|
+
policy = gcp.clouddeploy.get_custom_target_type_iam_policy(project=custom_target_type["project"],
|
114
|
+
location=custom_target_type["location"],
|
115
|
+
name=custom_target_type["name"])
|
116
|
+
```
|
117
|
+
<!--End PulumiCodeChooser -->
|
118
|
+
|
119
|
+
|
120
|
+
:param str location: The location of the source. Used to find the parent resource to bind the IAM policy to
|
121
|
+
:param str name: Used to find the parent resource to bind the IAM policy to
|
122
|
+
:param str project: The ID of the project in which the resource belongs.
|
123
|
+
If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
124
|
+
"""
|
125
|
+
__args__ = dict()
|
126
|
+
__args__['location'] = location
|
127
|
+
__args__['name'] = name
|
128
|
+
__args__['project'] = project
|
129
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
130
|
+
__ret__ = pulumi.runtime.invoke('gcp:clouddeploy/getCustomTargetTypeIamPolicy:getCustomTargetTypeIamPolicy', __args__, opts=opts, typ=GetCustomTargetTypeIamPolicyResult).value
|
131
|
+
|
132
|
+
return AwaitableGetCustomTargetTypeIamPolicyResult(
|
133
|
+
etag=pulumi.get(__ret__, 'etag'),
|
134
|
+
id=pulumi.get(__ret__, 'id'),
|
135
|
+
location=pulumi.get(__ret__, 'location'),
|
136
|
+
name=pulumi.get(__ret__, 'name'),
|
137
|
+
policy_data=pulumi.get(__ret__, 'policy_data'),
|
138
|
+
project=pulumi.get(__ret__, 'project'))
|
139
|
+
|
140
|
+
|
141
|
+
@_utilities.lift_output_func(get_custom_target_type_iam_policy)
|
142
|
+
def get_custom_target_type_iam_policy_output(location: Optional[pulumi.Input[Optional[str]]] = None,
|
143
|
+
name: Optional[pulumi.Input[str]] = None,
|
144
|
+
project: Optional[pulumi.Input[Optional[str]]] = None,
|
145
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCustomTargetTypeIamPolicyResult]:
|
146
|
+
"""
|
147
|
+
Retrieves the current IAM policy data for customtargettype
|
148
|
+
|
149
|
+
## example
|
150
|
+
|
151
|
+
<!--Start PulumiCodeChooser -->
|
152
|
+
```python
|
153
|
+
import pulumi
|
154
|
+
import pulumi_gcp as gcp
|
155
|
+
|
156
|
+
policy = gcp.clouddeploy.get_custom_target_type_iam_policy(project=custom_target_type["project"],
|
157
|
+
location=custom_target_type["location"],
|
158
|
+
name=custom_target_type["name"])
|
159
|
+
```
|
160
|
+
<!--End PulumiCodeChooser -->
|
161
|
+
|
162
|
+
|
163
|
+
:param str location: The location of the source. Used to find the parent resource to bind the IAM policy to
|
164
|
+
:param str name: Used to find the parent resource to bind the IAM policy to
|
165
|
+
:param str project: The ID of the project in which the resource belongs.
|
166
|
+
If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
167
|
+
"""
|
168
|
+
...
|
@@ -20,6 +20,8 @@ __all__ = [
|
|
20
20
|
'CustomTargetTypeCustomActionsIncludeSkaffoldModule',
|
21
21
|
'CustomTargetTypeCustomActionsIncludeSkaffoldModuleGit',
|
22
22
|
'CustomTargetTypeCustomActionsIncludeSkaffoldModuleGoogleCloudStorage',
|
23
|
+
'CustomTargetTypeIamBindingCondition',
|
24
|
+
'CustomTargetTypeIamMemberCondition',
|
23
25
|
'DeliveryPipelineCondition',
|
24
26
|
'DeliveryPipelineConditionPipelineReadyCondition',
|
25
27
|
'DeliveryPipelineConditionTargetsPresentCondition',
|
@@ -497,6 +499,60 @@ class CustomTargetTypeCustomActionsIncludeSkaffoldModuleGoogleCloudStorage(dict)
|
|
497
499
|
return pulumi.get(self, "path")
|
498
500
|
|
499
501
|
|
502
|
+
@pulumi.output_type
|
503
|
+
class CustomTargetTypeIamBindingCondition(dict):
|
504
|
+
def __init__(__self__, *,
|
505
|
+
expression: str,
|
506
|
+
title: str,
|
507
|
+
description: Optional[str] = None):
|
508
|
+
pulumi.set(__self__, "expression", expression)
|
509
|
+
pulumi.set(__self__, "title", title)
|
510
|
+
if description is not None:
|
511
|
+
pulumi.set(__self__, "description", description)
|
512
|
+
|
513
|
+
@property
|
514
|
+
@pulumi.getter
|
515
|
+
def expression(self) -> str:
|
516
|
+
return pulumi.get(self, "expression")
|
517
|
+
|
518
|
+
@property
|
519
|
+
@pulumi.getter
|
520
|
+
def title(self) -> str:
|
521
|
+
return pulumi.get(self, "title")
|
522
|
+
|
523
|
+
@property
|
524
|
+
@pulumi.getter
|
525
|
+
def description(self) -> Optional[str]:
|
526
|
+
return pulumi.get(self, "description")
|
527
|
+
|
528
|
+
|
529
|
+
@pulumi.output_type
|
530
|
+
class CustomTargetTypeIamMemberCondition(dict):
|
531
|
+
def __init__(__self__, *,
|
532
|
+
expression: str,
|
533
|
+
title: str,
|
534
|
+
description: Optional[str] = None):
|
535
|
+
pulumi.set(__self__, "expression", expression)
|
536
|
+
pulumi.set(__self__, "title", title)
|
537
|
+
if description is not None:
|
538
|
+
pulumi.set(__self__, "description", description)
|
539
|
+
|
540
|
+
@property
|
541
|
+
@pulumi.getter
|
542
|
+
def expression(self) -> str:
|
543
|
+
return pulumi.get(self, "expression")
|
544
|
+
|
545
|
+
@property
|
546
|
+
@pulumi.getter
|
547
|
+
def title(self) -> str:
|
548
|
+
return pulumi.get(self, "title")
|
549
|
+
|
550
|
+
@property
|
551
|
+
@pulumi.getter
|
552
|
+
def description(self) -> Optional[str]:
|
553
|
+
return pulumi.get(self, "description")
|
554
|
+
|
555
|
+
|
500
556
|
@pulumi.output_type
|
501
557
|
class DeliveryPipelineCondition(dict):
|
502
558
|
@staticmethod
|
@@ -56,8 +56,8 @@ class FunctionArgs:
|
|
56
56
|
:param pulumi.Input[Mapping[str, Any]] build_environment_variables: A set of key/value environment variable pairs available during build time.
|
57
57
|
:param pulumi.Input[str] build_worker_pool: Name of the Cloud Build Custom Worker Pool that should be used to build the function.
|
58
58
|
:param pulumi.Input[str] description: Description of the function.
|
59
|
-
:param pulumi.Input[str] docker_registry: Docker Registry to use for storing the function's Docker images. Allowed values are
|
60
|
-
:param pulumi.Input[str] docker_repository: User
|
59
|
+
:param pulumi.Input[str] docker_registry: Docker Registry to use for storing the function's Docker images. Allowed values are ARTIFACT_REGISTRY (default) and CONTAINER_REGISTRY.
|
60
|
+
:param pulumi.Input[str] docker_repository: User-managed repository created in Artifact Registry to which the function's Docker image will be pushed after it is built by Cloud Build. May optionally be encrypted with a customer-managed encryption key (CMEK). If unspecified and `docker_registry` is not explicitly set to `CONTAINER_REGISTRY`, GCF will create and use a default Artifact Registry repository named 'gcf-artifacts' in the region.
|
61
61
|
:param pulumi.Input[str] entry_point: Name of the function that will be executed when the Google Cloud Function is triggered.
|
62
62
|
:param pulumi.Input[Mapping[str, Any]] environment_variables: A set of key/value environment variable pairs to assign to the function.
|
63
63
|
:param pulumi.Input['FunctionEventTriggerArgs'] event_trigger: A source that fires events in response to a condition in another service. Structure is documented below. Cannot be used with `trigger_http`.
|
@@ -214,7 +214,7 @@ class FunctionArgs:
|
|
214
214
|
@pulumi.getter(name="dockerRegistry")
|
215
215
|
def docker_registry(self) -> Optional[pulumi.Input[str]]:
|
216
216
|
"""
|
217
|
-
Docker Registry to use for storing the function's Docker images. Allowed values are
|
217
|
+
Docker Registry to use for storing the function's Docker images. Allowed values are ARTIFACT_REGISTRY (default) and CONTAINER_REGISTRY.
|
218
218
|
"""
|
219
219
|
return pulumi.get(self, "docker_registry")
|
220
220
|
|
@@ -226,7 +226,7 @@ class FunctionArgs:
|
|
226
226
|
@pulumi.getter(name="dockerRepository")
|
227
227
|
def docker_repository(self) -> Optional[pulumi.Input[str]]:
|
228
228
|
"""
|
229
|
-
User
|
229
|
+
User-managed repository created in Artifact Registry to which the function's Docker image will be pushed after it is built by Cloud Build. May optionally be encrypted with a customer-managed encryption key (CMEK). If unspecified and `docker_registry` is not explicitly set to `CONTAINER_REGISTRY`, GCF will create and use a default Artifact Registry repository named 'gcf-artifacts' in the region.
|
230
230
|
"""
|
231
231
|
return pulumi.get(self, "docker_repository")
|
232
232
|
|
@@ -559,8 +559,8 @@ class _FunctionState:
|
|
559
559
|
:param pulumi.Input[Mapping[str, Any]] build_environment_variables: A set of key/value environment variable pairs available during build time.
|
560
560
|
:param pulumi.Input[str] build_worker_pool: Name of the Cloud Build Custom Worker Pool that should be used to build the function.
|
561
561
|
:param pulumi.Input[str] description: Description of the function.
|
562
|
-
:param pulumi.Input[str] docker_registry: Docker Registry to use for storing the function's Docker images. Allowed values are
|
563
|
-
:param pulumi.Input[str] docker_repository: User
|
562
|
+
:param pulumi.Input[str] docker_registry: Docker Registry to use for storing the function's Docker images. Allowed values are ARTIFACT_REGISTRY (default) and CONTAINER_REGISTRY.
|
563
|
+
:param pulumi.Input[str] docker_repository: User-managed repository created in Artifact Registry to which the function's Docker image will be pushed after it is built by Cloud Build. May optionally be encrypted with a customer-managed encryption key (CMEK). If unspecified and `docker_registry` is not explicitly set to `CONTAINER_REGISTRY`, GCF will create and use a default Artifact Registry repository named 'gcf-artifacts' in the region.
|
564
564
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
565
565
|
:param pulumi.Input[str] entry_point: Name of the function that will be executed when the Google Cloud Function is triggered.
|
566
566
|
:param pulumi.Input[Mapping[str, Any]] environment_variables: A set of key/value environment variable pairs to assign to the function.
|
@@ -720,7 +720,7 @@ class _FunctionState:
|
|
720
720
|
@pulumi.getter(name="dockerRegistry")
|
721
721
|
def docker_registry(self) -> Optional[pulumi.Input[str]]:
|
722
722
|
"""
|
723
|
-
Docker Registry to use for storing the function's Docker images. Allowed values are
|
723
|
+
Docker Registry to use for storing the function's Docker images. Allowed values are ARTIFACT_REGISTRY (default) and CONTAINER_REGISTRY.
|
724
724
|
"""
|
725
725
|
return pulumi.get(self, "docker_registry")
|
726
726
|
|
@@ -732,7 +732,7 @@ class _FunctionState:
|
|
732
732
|
@pulumi.getter(name="dockerRepository")
|
733
733
|
def docker_repository(self) -> Optional[pulumi.Input[str]]:
|
734
734
|
"""
|
735
|
-
User
|
735
|
+
User-managed repository created in Artifact Registry to which the function's Docker image will be pushed after it is built by Cloud Build. May optionally be encrypted with a customer-managed encryption key (CMEK). If unspecified and `docker_registry` is not explicitly set to `CONTAINER_REGISTRY`, GCF will create and use a default Artifact Registry repository named 'gcf-artifacts' in the region.
|
736
736
|
"""
|
737
737
|
return pulumi.get(self, "docker_repository")
|
738
738
|
|
@@ -1235,8 +1235,8 @@ class Function(pulumi.CustomResource):
|
|
1235
1235
|
:param pulumi.Input[Mapping[str, Any]] build_environment_variables: A set of key/value environment variable pairs available during build time.
|
1236
1236
|
:param pulumi.Input[str] build_worker_pool: Name of the Cloud Build Custom Worker Pool that should be used to build the function.
|
1237
1237
|
:param pulumi.Input[str] description: Description of the function.
|
1238
|
-
:param pulumi.Input[str] docker_registry: Docker Registry to use for storing the function's Docker images. Allowed values are
|
1239
|
-
:param pulumi.Input[str] docker_repository: User
|
1238
|
+
:param pulumi.Input[str] docker_registry: Docker Registry to use for storing the function's Docker images. Allowed values are ARTIFACT_REGISTRY (default) and CONTAINER_REGISTRY.
|
1239
|
+
:param pulumi.Input[str] docker_repository: User-managed repository created in Artifact Registry to which the function's Docker image will be pushed after it is built by Cloud Build. May optionally be encrypted with a customer-managed encryption key (CMEK). If unspecified and `docker_registry` is not explicitly set to `CONTAINER_REGISTRY`, GCF will create and use a default Artifact Registry repository named 'gcf-artifacts' in the region.
|
1240
1240
|
:param pulumi.Input[str] entry_point: Name of the function that will be executed when the Google Cloud Function is triggered.
|
1241
1241
|
:param pulumi.Input[Mapping[str, Any]] environment_variables: A set of key/value environment variable pairs to assign to the function.
|
1242
1242
|
:param pulumi.Input[pulumi.InputType['FunctionEventTriggerArgs']] event_trigger: A source that fires events in response to a condition in another service. Structure is documented below. Cannot be used with `trigger_http`.
|
@@ -1530,8 +1530,8 @@ class Function(pulumi.CustomResource):
|
|
1530
1530
|
:param pulumi.Input[Mapping[str, Any]] build_environment_variables: A set of key/value environment variable pairs available during build time.
|
1531
1531
|
:param pulumi.Input[str] build_worker_pool: Name of the Cloud Build Custom Worker Pool that should be used to build the function.
|
1532
1532
|
:param pulumi.Input[str] description: Description of the function.
|
1533
|
-
:param pulumi.Input[str] docker_registry: Docker Registry to use for storing the function's Docker images. Allowed values are
|
1534
|
-
:param pulumi.Input[str] docker_repository: User
|
1533
|
+
:param pulumi.Input[str] docker_registry: Docker Registry to use for storing the function's Docker images. Allowed values are ARTIFACT_REGISTRY (default) and CONTAINER_REGISTRY.
|
1534
|
+
:param pulumi.Input[str] docker_repository: User-managed repository created in Artifact Registry to which the function's Docker image will be pushed after it is built by Cloud Build. May optionally be encrypted with a customer-managed encryption key (CMEK). If unspecified and `docker_registry` is not explicitly set to `CONTAINER_REGISTRY`, GCF will create and use a default Artifact Registry repository named 'gcf-artifacts' in the region.
|
1535
1535
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
1536
1536
|
:param pulumi.Input[str] entry_point: Name of the function that will be executed when the Google Cloud Function is triggered.
|
1537
1537
|
:param pulumi.Input[Mapping[str, Any]] environment_variables: A set of key/value environment variable pairs to assign to the function.
|
@@ -1646,7 +1646,7 @@ class Function(pulumi.CustomResource):
|
|
1646
1646
|
@pulumi.getter(name="dockerRegistry")
|
1647
1647
|
def docker_registry(self) -> pulumi.Output[str]:
|
1648
1648
|
"""
|
1649
|
-
Docker Registry to use for storing the function's Docker images. Allowed values are
|
1649
|
+
Docker Registry to use for storing the function's Docker images. Allowed values are ARTIFACT_REGISTRY (default) and CONTAINER_REGISTRY.
|
1650
1650
|
"""
|
1651
1651
|
return pulumi.get(self, "docker_registry")
|
1652
1652
|
|
@@ -1654,7 +1654,7 @@ class Function(pulumi.CustomResource):
|
|
1654
1654
|
@pulumi.getter(name="dockerRepository")
|
1655
1655
|
def docker_repository(self) -> pulumi.Output[Optional[str]]:
|
1656
1656
|
"""
|
1657
|
-
User
|
1657
|
+
User-managed repository created in Artifact Registry to which the function's Docker image will be pushed after it is built by Cloud Build. May optionally be encrypted with a customer-managed encryption key (CMEK). If unspecified and `docker_registry` is not explicitly set to `CONTAINER_REGISTRY`, GCF will create and use a default Artifact Registry repository named 'gcf-artifacts' in the region.
|
1658
1658
|
"""
|
1659
1659
|
return pulumi.get(self, "docker_repository")
|
1660
1660
|
|