pulumi-gcp 7.10.0a1708496697__py3-none-any.whl → 7.11.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_gcp/__init__.py +32 -0
- pulumi_gcp/bigtable/table_iam_binding.py +6 -6
- pulumi_gcp/bigtable/table_iam_member.py +6 -6
- pulumi_gcp/bigtable/table_iam_policy.py +6 -6
- pulumi_gcp/cloudbuildv2/_inputs.py +32 -12
- pulumi_gcp/cloudbuildv2/connection.py +140 -38
- pulumi_gcp/cloudbuildv2/connection_iam_binding.py +13 -0
- pulumi_gcp/cloudbuildv2/connection_iam_member.py +13 -0
- pulumi_gcp/cloudbuildv2/connection_iam_policy.py +13 -0
- pulumi_gcp/cloudbuildv2/get_connection_iam_policy.py +2 -0
- pulumi_gcp/cloudbuildv2/outputs.py +32 -12
- pulumi_gcp/clouddeploy/__init__.py +1 -0
- pulumi_gcp/clouddeploy/_inputs.py +277 -2
- pulumi_gcp/clouddeploy/custom_target_type.py +923 -0
- pulumi_gcp/clouddeploy/outputs.py +263 -2
- pulumi_gcp/cloudfunctions/function.py +32 -0
- pulumi_gcp/cloudfunctions/get_function.py +11 -1
- pulumi_gcp/cloudrunv2/service.py +18 -0
- pulumi_gcp/compute/_inputs.py +20 -20
- pulumi_gcp/compute/outputs.py +24 -24
- pulumi_gcp/config/vars.py +2 -2
- pulumi_gcp/container/_inputs.py +22 -0
- pulumi_gcp/container/outputs.py +28 -0
- pulumi_gcp/dns/_inputs.py +2 -2
- pulumi_gcp/dns/get_managed_zone.py +2 -2
- pulumi_gcp/dns/get_managed_zones.py +35 -2
- pulumi_gcp/dns/outputs.py +2 -2
- pulumi_gcp/eventarc/_inputs.py +78 -0
- pulumi_gcp/eventarc/outputs.py +83 -0
- pulumi_gcp/firebase/__init__.py +1 -0
- pulumi_gcp/firebase/app_check_debug_token.py +480 -0
- pulumi_gcp/healthcare/hl7_store.py +50 -1
- pulumi_gcp/identityplatform/_inputs.py +330 -0
- pulumi_gcp/identityplatform/config.py +216 -0
- pulumi_gcp/identityplatform/outputs.py +397 -0
- pulumi_gcp/networksecurity/__init__.py +2 -0
- pulumi_gcp/networksecurity/firewall_endpoint.py +631 -0
- pulumi_gcp/networksecurity/security_profile_group.py +654 -0
- pulumi_gcp/notebooks/instance.py +109 -4
- pulumi_gcp/provider.py +8 -0
- pulumi_gcp/recaptcha/enterprise_key.py +4 -4
- pulumi_gcp/securityposture/_inputs.py +48 -48
- pulumi_gcp/securityposture/outputs.py +40 -40
- pulumi_gcp/securityposture/posture.py +22 -2
- pulumi_gcp/vertex/_inputs.py +63 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +208 -0
- pulumi_gcp/vertex/outputs.py +87 -0
- pulumi_gcp/workbench/_inputs.py +4 -4
- pulumi_gcp/workbench/instance.py +59 -8
- pulumi_gcp/workbench/outputs.py +4 -4
- pulumi_gcp/workstations/_inputs.py +16 -0
- pulumi_gcp/workstations/outputs.py +14 -0
- pulumi_gcp/workstations/workstation_config.py +2 -0
- {pulumi_gcp-7.10.0a1708496697.dist-info → pulumi_gcp-7.11.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.10.0a1708496697.dist-info → pulumi_gcp-7.11.0.dist-info}/RECORD +57 -53
- {pulumi_gcp-7.10.0a1708496697.dist-info → pulumi_gcp-7.11.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.10.0a1708496697.dist-info → pulumi_gcp-7.11.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,923 @@
|
|
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__ = ['CustomTargetTypeArgs', 'CustomTargetType']
|
15
|
+
|
16
|
+
@pulumi.input_type
|
17
|
+
class CustomTargetTypeArgs:
|
18
|
+
def __init__(__self__, *,
|
19
|
+
location: pulumi.Input[str],
|
20
|
+
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
21
|
+
custom_actions: Optional[pulumi.Input['CustomTargetTypeCustomActionsArgs']] = None,
|
22
|
+
description: Optional[pulumi.Input[str]] = None,
|
23
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
24
|
+
name: Optional[pulumi.Input[str]] = None,
|
25
|
+
project: Optional[pulumi.Input[str]] = None):
|
26
|
+
"""
|
27
|
+
The set of arguments for constructing a CustomTargetType resource.
|
28
|
+
:param pulumi.Input[str] location: The location of the source.
|
29
|
+
|
30
|
+
|
31
|
+
- - -
|
32
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
|
33
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
34
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
35
|
+
:param pulumi.Input['CustomTargetTypeCustomActionsArgs'] custom_actions: Configures render and deploy for the `CustomTargetType` using Skaffold custom actions.
|
36
|
+
Structure is documented below.
|
37
|
+
:param pulumi.Input[str] description: Description of the `CustomTargetType`. Max length is 255 characters.
|
38
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
|
39
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
40
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
41
|
+
:param pulumi.Input[str] name: Name of the `CustomTargetType`.
|
42
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
43
|
+
If it is not provided, the provider project is used.
|
44
|
+
"""
|
45
|
+
pulumi.set(__self__, "location", location)
|
46
|
+
if annotations is not None:
|
47
|
+
pulumi.set(__self__, "annotations", annotations)
|
48
|
+
if custom_actions is not None:
|
49
|
+
pulumi.set(__self__, "custom_actions", custom_actions)
|
50
|
+
if description is not None:
|
51
|
+
pulumi.set(__self__, "description", description)
|
52
|
+
if labels is not None:
|
53
|
+
pulumi.set(__self__, "labels", labels)
|
54
|
+
if name is not None:
|
55
|
+
pulumi.set(__self__, "name", name)
|
56
|
+
if project is not None:
|
57
|
+
pulumi.set(__self__, "project", project)
|
58
|
+
|
59
|
+
@property
|
60
|
+
@pulumi.getter
|
61
|
+
def location(self) -> pulumi.Input[str]:
|
62
|
+
"""
|
63
|
+
The location of the source.
|
64
|
+
|
65
|
+
|
66
|
+
- - -
|
67
|
+
"""
|
68
|
+
return pulumi.get(self, "location")
|
69
|
+
|
70
|
+
@location.setter
|
71
|
+
def location(self, value: pulumi.Input[str]):
|
72
|
+
pulumi.set(self, "location", value)
|
73
|
+
|
74
|
+
@property
|
75
|
+
@pulumi.getter
|
76
|
+
def annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
77
|
+
"""
|
78
|
+
User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
|
79
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
80
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
81
|
+
"""
|
82
|
+
return pulumi.get(self, "annotations")
|
83
|
+
|
84
|
+
@annotations.setter
|
85
|
+
def annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
86
|
+
pulumi.set(self, "annotations", value)
|
87
|
+
|
88
|
+
@property
|
89
|
+
@pulumi.getter(name="customActions")
|
90
|
+
def custom_actions(self) -> Optional[pulumi.Input['CustomTargetTypeCustomActionsArgs']]:
|
91
|
+
"""
|
92
|
+
Configures render and deploy for the `CustomTargetType` using Skaffold custom actions.
|
93
|
+
Structure is documented below.
|
94
|
+
"""
|
95
|
+
return pulumi.get(self, "custom_actions")
|
96
|
+
|
97
|
+
@custom_actions.setter
|
98
|
+
def custom_actions(self, value: Optional[pulumi.Input['CustomTargetTypeCustomActionsArgs']]):
|
99
|
+
pulumi.set(self, "custom_actions", value)
|
100
|
+
|
101
|
+
@property
|
102
|
+
@pulumi.getter
|
103
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
104
|
+
"""
|
105
|
+
Description of the `CustomTargetType`. Max length is 255 characters.
|
106
|
+
"""
|
107
|
+
return pulumi.get(self, "description")
|
108
|
+
|
109
|
+
@description.setter
|
110
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
111
|
+
pulumi.set(self, "description", value)
|
112
|
+
|
113
|
+
@property
|
114
|
+
@pulumi.getter
|
115
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
116
|
+
"""
|
117
|
+
Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
|
118
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
119
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
120
|
+
"""
|
121
|
+
return pulumi.get(self, "labels")
|
122
|
+
|
123
|
+
@labels.setter
|
124
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
125
|
+
pulumi.set(self, "labels", value)
|
126
|
+
|
127
|
+
@property
|
128
|
+
@pulumi.getter
|
129
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
130
|
+
"""
|
131
|
+
Name of the `CustomTargetType`.
|
132
|
+
"""
|
133
|
+
return pulumi.get(self, "name")
|
134
|
+
|
135
|
+
@name.setter
|
136
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
137
|
+
pulumi.set(self, "name", value)
|
138
|
+
|
139
|
+
@property
|
140
|
+
@pulumi.getter
|
141
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
142
|
+
"""
|
143
|
+
The ID of the project in which the resource belongs.
|
144
|
+
If it is not provided, the provider project is used.
|
145
|
+
"""
|
146
|
+
return pulumi.get(self, "project")
|
147
|
+
|
148
|
+
@project.setter
|
149
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
150
|
+
pulumi.set(self, "project", value)
|
151
|
+
|
152
|
+
|
153
|
+
@pulumi.input_type
|
154
|
+
class _CustomTargetTypeState:
|
155
|
+
def __init__(__self__, *,
|
156
|
+
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
157
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
158
|
+
custom_actions: Optional[pulumi.Input['CustomTargetTypeCustomActionsArgs']] = None,
|
159
|
+
custom_target_type_id: Optional[pulumi.Input[str]] = None,
|
160
|
+
description: Optional[pulumi.Input[str]] = None,
|
161
|
+
effective_annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
162
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
163
|
+
etag: Optional[pulumi.Input[str]] = None,
|
164
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
165
|
+
location: Optional[pulumi.Input[str]] = None,
|
166
|
+
name: Optional[pulumi.Input[str]] = None,
|
167
|
+
project: Optional[pulumi.Input[str]] = None,
|
168
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
169
|
+
uid: Optional[pulumi.Input[str]] = None,
|
170
|
+
update_time: Optional[pulumi.Input[str]] = None):
|
171
|
+
"""
|
172
|
+
Input properties used for looking up and filtering CustomTargetType resources.
|
173
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
|
174
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
175
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
176
|
+
:param pulumi.Input[str] create_time: Time at which the `CustomTargetType` was created.
|
177
|
+
:param pulumi.Input['CustomTargetTypeCustomActionsArgs'] custom_actions: Configures render and deploy for the `CustomTargetType` using Skaffold custom actions.
|
178
|
+
Structure is documented below.
|
179
|
+
:param pulumi.Input[str] custom_target_type_id: Resource id of the `CustomTargetType`.
|
180
|
+
:param pulumi.Input[str] description: Description of the `CustomTargetType`. Max length is 255 characters.
|
181
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_annotations: All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
|
182
|
+
Terraform, other clients and services.
|
183
|
+
: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.
|
184
|
+
:param pulumi.Input[str] etag: The weak etag of the `CustomTargetType` resource. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
|
185
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
|
186
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
187
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
188
|
+
:param pulumi.Input[str] location: The location of the source.
|
189
|
+
|
190
|
+
|
191
|
+
- - -
|
192
|
+
:param pulumi.Input[str] name: Name of the `CustomTargetType`.
|
193
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
194
|
+
If it is not provided, the provider project is used.
|
195
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
196
|
+
and default labels configured on the provider.
|
197
|
+
:param pulumi.Input[str] uid: Unique identifier of the `CustomTargetType`.
|
198
|
+
:param pulumi.Input[str] update_time: Time at which the `CustomTargetType` was updated.
|
199
|
+
"""
|
200
|
+
if annotations is not None:
|
201
|
+
pulumi.set(__self__, "annotations", annotations)
|
202
|
+
if create_time is not None:
|
203
|
+
pulumi.set(__self__, "create_time", create_time)
|
204
|
+
if custom_actions is not None:
|
205
|
+
pulumi.set(__self__, "custom_actions", custom_actions)
|
206
|
+
if custom_target_type_id is not None:
|
207
|
+
pulumi.set(__self__, "custom_target_type_id", custom_target_type_id)
|
208
|
+
if description is not None:
|
209
|
+
pulumi.set(__self__, "description", description)
|
210
|
+
if effective_annotations is not None:
|
211
|
+
pulumi.set(__self__, "effective_annotations", effective_annotations)
|
212
|
+
if effective_labels is not None:
|
213
|
+
pulumi.set(__self__, "effective_labels", effective_labels)
|
214
|
+
if etag is not None:
|
215
|
+
pulumi.set(__self__, "etag", etag)
|
216
|
+
if labels is not None:
|
217
|
+
pulumi.set(__self__, "labels", labels)
|
218
|
+
if location is not None:
|
219
|
+
pulumi.set(__self__, "location", location)
|
220
|
+
if name is not None:
|
221
|
+
pulumi.set(__self__, "name", name)
|
222
|
+
if project is not None:
|
223
|
+
pulumi.set(__self__, "project", project)
|
224
|
+
if pulumi_labels is not None:
|
225
|
+
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
226
|
+
if uid is not None:
|
227
|
+
pulumi.set(__self__, "uid", uid)
|
228
|
+
if update_time is not None:
|
229
|
+
pulumi.set(__self__, "update_time", update_time)
|
230
|
+
|
231
|
+
@property
|
232
|
+
@pulumi.getter
|
233
|
+
def annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
234
|
+
"""
|
235
|
+
User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
|
236
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
237
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
238
|
+
"""
|
239
|
+
return pulumi.get(self, "annotations")
|
240
|
+
|
241
|
+
@annotations.setter
|
242
|
+
def annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
243
|
+
pulumi.set(self, "annotations", value)
|
244
|
+
|
245
|
+
@property
|
246
|
+
@pulumi.getter(name="createTime")
|
247
|
+
def create_time(self) -> Optional[pulumi.Input[str]]:
|
248
|
+
"""
|
249
|
+
Time at which the `CustomTargetType` was created.
|
250
|
+
"""
|
251
|
+
return pulumi.get(self, "create_time")
|
252
|
+
|
253
|
+
@create_time.setter
|
254
|
+
def create_time(self, value: Optional[pulumi.Input[str]]):
|
255
|
+
pulumi.set(self, "create_time", value)
|
256
|
+
|
257
|
+
@property
|
258
|
+
@pulumi.getter(name="customActions")
|
259
|
+
def custom_actions(self) -> Optional[pulumi.Input['CustomTargetTypeCustomActionsArgs']]:
|
260
|
+
"""
|
261
|
+
Configures render and deploy for the `CustomTargetType` using Skaffold custom actions.
|
262
|
+
Structure is documented below.
|
263
|
+
"""
|
264
|
+
return pulumi.get(self, "custom_actions")
|
265
|
+
|
266
|
+
@custom_actions.setter
|
267
|
+
def custom_actions(self, value: Optional[pulumi.Input['CustomTargetTypeCustomActionsArgs']]):
|
268
|
+
pulumi.set(self, "custom_actions", value)
|
269
|
+
|
270
|
+
@property
|
271
|
+
@pulumi.getter(name="customTargetTypeId")
|
272
|
+
def custom_target_type_id(self) -> Optional[pulumi.Input[str]]:
|
273
|
+
"""
|
274
|
+
Resource id of the `CustomTargetType`.
|
275
|
+
"""
|
276
|
+
return pulumi.get(self, "custom_target_type_id")
|
277
|
+
|
278
|
+
@custom_target_type_id.setter
|
279
|
+
def custom_target_type_id(self, value: Optional[pulumi.Input[str]]):
|
280
|
+
pulumi.set(self, "custom_target_type_id", value)
|
281
|
+
|
282
|
+
@property
|
283
|
+
@pulumi.getter
|
284
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
285
|
+
"""
|
286
|
+
Description of the `CustomTargetType`. Max length is 255 characters.
|
287
|
+
"""
|
288
|
+
return pulumi.get(self, "description")
|
289
|
+
|
290
|
+
@description.setter
|
291
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
292
|
+
pulumi.set(self, "description", value)
|
293
|
+
|
294
|
+
@property
|
295
|
+
@pulumi.getter(name="effectiveAnnotations")
|
296
|
+
def effective_annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
297
|
+
"""
|
298
|
+
All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
|
299
|
+
Terraform, other clients and services.
|
300
|
+
"""
|
301
|
+
return pulumi.get(self, "effective_annotations")
|
302
|
+
|
303
|
+
@effective_annotations.setter
|
304
|
+
def effective_annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
305
|
+
pulumi.set(self, "effective_annotations", value)
|
306
|
+
|
307
|
+
@property
|
308
|
+
@pulumi.getter(name="effectiveLabels")
|
309
|
+
def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
310
|
+
"""
|
311
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
312
|
+
"""
|
313
|
+
return pulumi.get(self, "effective_labels")
|
314
|
+
|
315
|
+
@effective_labels.setter
|
316
|
+
def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
317
|
+
pulumi.set(self, "effective_labels", value)
|
318
|
+
|
319
|
+
@property
|
320
|
+
@pulumi.getter
|
321
|
+
def etag(self) -> Optional[pulumi.Input[str]]:
|
322
|
+
"""
|
323
|
+
The weak etag of the `CustomTargetType` resource. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
|
324
|
+
"""
|
325
|
+
return pulumi.get(self, "etag")
|
326
|
+
|
327
|
+
@etag.setter
|
328
|
+
def etag(self, value: Optional[pulumi.Input[str]]):
|
329
|
+
pulumi.set(self, "etag", value)
|
330
|
+
|
331
|
+
@property
|
332
|
+
@pulumi.getter
|
333
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
334
|
+
"""
|
335
|
+
Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
|
336
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
337
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
338
|
+
"""
|
339
|
+
return pulumi.get(self, "labels")
|
340
|
+
|
341
|
+
@labels.setter
|
342
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
343
|
+
pulumi.set(self, "labels", value)
|
344
|
+
|
345
|
+
@property
|
346
|
+
@pulumi.getter
|
347
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
348
|
+
"""
|
349
|
+
The location of the source.
|
350
|
+
|
351
|
+
|
352
|
+
- - -
|
353
|
+
"""
|
354
|
+
return pulumi.get(self, "location")
|
355
|
+
|
356
|
+
@location.setter
|
357
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
358
|
+
pulumi.set(self, "location", value)
|
359
|
+
|
360
|
+
@property
|
361
|
+
@pulumi.getter
|
362
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
363
|
+
"""
|
364
|
+
Name of the `CustomTargetType`.
|
365
|
+
"""
|
366
|
+
return pulumi.get(self, "name")
|
367
|
+
|
368
|
+
@name.setter
|
369
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
370
|
+
pulumi.set(self, "name", value)
|
371
|
+
|
372
|
+
@property
|
373
|
+
@pulumi.getter
|
374
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
375
|
+
"""
|
376
|
+
The ID of the project in which the resource belongs.
|
377
|
+
If it is not provided, the provider project is used.
|
378
|
+
"""
|
379
|
+
return pulumi.get(self, "project")
|
380
|
+
|
381
|
+
@project.setter
|
382
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
383
|
+
pulumi.set(self, "project", value)
|
384
|
+
|
385
|
+
@property
|
386
|
+
@pulumi.getter(name="pulumiLabels")
|
387
|
+
def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
388
|
+
"""
|
389
|
+
The combination of labels configured directly on the resource
|
390
|
+
and default labels configured on the provider.
|
391
|
+
"""
|
392
|
+
return pulumi.get(self, "pulumi_labels")
|
393
|
+
|
394
|
+
@pulumi_labels.setter
|
395
|
+
def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
396
|
+
pulumi.set(self, "pulumi_labels", value)
|
397
|
+
|
398
|
+
@property
|
399
|
+
@pulumi.getter
|
400
|
+
def uid(self) -> Optional[pulumi.Input[str]]:
|
401
|
+
"""
|
402
|
+
Unique identifier of the `CustomTargetType`.
|
403
|
+
"""
|
404
|
+
return pulumi.get(self, "uid")
|
405
|
+
|
406
|
+
@uid.setter
|
407
|
+
def uid(self, value: Optional[pulumi.Input[str]]):
|
408
|
+
pulumi.set(self, "uid", value)
|
409
|
+
|
410
|
+
@property
|
411
|
+
@pulumi.getter(name="updateTime")
|
412
|
+
def update_time(self) -> Optional[pulumi.Input[str]]:
|
413
|
+
"""
|
414
|
+
Time at which the `CustomTargetType` was updated.
|
415
|
+
"""
|
416
|
+
return pulumi.get(self, "update_time")
|
417
|
+
|
418
|
+
@update_time.setter
|
419
|
+
def update_time(self, value: Optional[pulumi.Input[str]]):
|
420
|
+
pulumi.set(self, "update_time", value)
|
421
|
+
|
422
|
+
|
423
|
+
class CustomTargetType(pulumi.CustomResource):
|
424
|
+
@overload
|
425
|
+
def __init__(__self__,
|
426
|
+
resource_name: str,
|
427
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
428
|
+
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
429
|
+
custom_actions: Optional[pulumi.Input[pulumi.InputType['CustomTargetTypeCustomActionsArgs']]] = None,
|
430
|
+
description: Optional[pulumi.Input[str]] = None,
|
431
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
432
|
+
location: Optional[pulumi.Input[str]] = None,
|
433
|
+
name: Optional[pulumi.Input[str]] = None,
|
434
|
+
project: Optional[pulumi.Input[str]] = None,
|
435
|
+
__props__=None):
|
436
|
+
"""
|
437
|
+
A Cloud Deploy `CustomTargetType` defines a type of custom target that can be referenced in a
|
438
|
+
Cloud Deploy `Target` in order to facilitate deploying to other systems besides the supported runtimes.
|
439
|
+
|
440
|
+
To get more information about CustomTargetType, see:
|
441
|
+
|
442
|
+
* [API documentation](https://cloud.google.com/deploy/docs/api/reference/rest/v1/projects.locations.customTargetTypes)
|
443
|
+
* How-to Guides
|
444
|
+
* [Define and use a custom target type](https://cloud.google.com/deploy/docs/deploy-app-custom-target)
|
445
|
+
|
446
|
+
## Example Usage
|
447
|
+
### Clouddeploy Custom Target Type Basic
|
448
|
+
|
449
|
+
```python
|
450
|
+
import pulumi
|
451
|
+
import pulumi_gcp as gcp
|
452
|
+
|
453
|
+
custom_target_type = gcp.clouddeploy.CustomTargetType("custom-target-type",
|
454
|
+
annotations={
|
455
|
+
"my_first_annotation": "example-annotation-1",
|
456
|
+
"my_second_annotation": "example-annotation-2",
|
457
|
+
},
|
458
|
+
custom_actions=gcp.clouddeploy.CustomTargetTypeCustomActionsArgs(
|
459
|
+
deploy_action="deployAction",
|
460
|
+
render_action="renderAction",
|
461
|
+
),
|
462
|
+
description="My custom target type",
|
463
|
+
labels={
|
464
|
+
"my_first_label": "example-label-1",
|
465
|
+
"my_second_label": "example-label-2",
|
466
|
+
},
|
467
|
+
location="us-central1")
|
468
|
+
```
|
469
|
+
### Clouddeploy Custom Target Type Git Skaffold Modules
|
470
|
+
|
471
|
+
```python
|
472
|
+
import pulumi
|
473
|
+
import pulumi_gcp as gcp
|
474
|
+
|
475
|
+
custom_target_type = gcp.clouddeploy.CustomTargetType("custom-target-type",
|
476
|
+
custom_actions=gcp.clouddeploy.CustomTargetTypeCustomActionsArgs(
|
477
|
+
deploy_action="deployAction",
|
478
|
+
include_skaffold_modules=[gcp.clouddeploy.CustomTargetTypeCustomActionsIncludeSkaffoldModuleArgs(
|
479
|
+
configs=["my-config"],
|
480
|
+
git=gcp.clouddeploy.CustomTargetTypeCustomActionsIncludeSkaffoldModuleGitArgs(
|
481
|
+
path="configs/skaffold.yaml",
|
482
|
+
ref="main",
|
483
|
+
repo="http://github.com/example/example-repo.git",
|
484
|
+
),
|
485
|
+
)],
|
486
|
+
render_action="renderAction",
|
487
|
+
),
|
488
|
+
description="My custom target type",
|
489
|
+
location="us-central1")
|
490
|
+
```
|
491
|
+
### Clouddeploy Custom Target Type Gcs Skaffold Modules
|
492
|
+
|
493
|
+
```python
|
494
|
+
import pulumi
|
495
|
+
import pulumi_gcp as gcp
|
496
|
+
|
497
|
+
custom_target_type = gcp.clouddeploy.CustomTargetType("custom-target-type",
|
498
|
+
custom_actions=gcp.clouddeploy.CustomTargetTypeCustomActionsArgs(
|
499
|
+
deploy_action="deployAction",
|
500
|
+
include_skaffold_modules=[gcp.clouddeploy.CustomTargetTypeCustomActionsIncludeSkaffoldModuleArgs(
|
501
|
+
configs=["my-config"],
|
502
|
+
google_cloud_storage=gcp.clouddeploy.CustomTargetTypeCustomActionsIncludeSkaffoldModuleGoogleCloudStorageArgs(
|
503
|
+
path="skaffold.yaml",
|
504
|
+
source="gs://example-bucket/dir/configs/*",
|
505
|
+
),
|
506
|
+
)],
|
507
|
+
render_action="renderAction",
|
508
|
+
),
|
509
|
+
description="My custom target type",
|
510
|
+
location="us-central1")
|
511
|
+
```
|
512
|
+
|
513
|
+
## Import
|
514
|
+
|
515
|
+
CustomTargetType can be imported using any of these accepted formats:
|
516
|
+
|
517
|
+
* `projects/{{project}}/locations/{{location}}/customTargetTypes/{{name}}`
|
518
|
+
|
519
|
+
* `{{project}}/{{location}}/{{name}}`
|
520
|
+
|
521
|
+
* `{{location}}/{{name}}`
|
522
|
+
|
523
|
+
When using the `pulumi import` command, CustomTargetType can be imported using one of the formats above. For example:
|
524
|
+
|
525
|
+
```sh
|
526
|
+
$ pulumi import gcp:clouddeploy/customTargetType:CustomTargetType default projects/{{project}}/locations/{{location}}/customTargetTypes/{{name}}
|
527
|
+
```
|
528
|
+
|
529
|
+
```sh
|
530
|
+
$ pulumi import gcp:clouddeploy/customTargetType:CustomTargetType default {{project}}/{{location}}/{{name}}
|
531
|
+
```
|
532
|
+
|
533
|
+
```sh
|
534
|
+
$ pulumi import gcp:clouddeploy/customTargetType:CustomTargetType default {{location}}/{{name}}
|
535
|
+
```
|
536
|
+
|
537
|
+
:param str resource_name: The name of the resource.
|
538
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
539
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
|
540
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
541
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
542
|
+
:param pulumi.Input[pulumi.InputType['CustomTargetTypeCustomActionsArgs']] custom_actions: Configures render and deploy for the `CustomTargetType` using Skaffold custom actions.
|
543
|
+
Structure is documented below.
|
544
|
+
:param pulumi.Input[str] description: Description of the `CustomTargetType`. Max length is 255 characters.
|
545
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
|
546
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
547
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
548
|
+
:param pulumi.Input[str] location: The location of the source.
|
549
|
+
|
550
|
+
|
551
|
+
- - -
|
552
|
+
:param pulumi.Input[str] name: Name of the `CustomTargetType`.
|
553
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
554
|
+
If it is not provided, the provider project is used.
|
555
|
+
"""
|
556
|
+
...
|
557
|
+
@overload
|
558
|
+
def __init__(__self__,
|
559
|
+
resource_name: str,
|
560
|
+
args: CustomTargetTypeArgs,
|
561
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
562
|
+
"""
|
563
|
+
A Cloud Deploy `CustomTargetType` defines a type of custom target that can be referenced in a
|
564
|
+
Cloud Deploy `Target` in order to facilitate deploying to other systems besides the supported runtimes.
|
565
|
+
|
566
|
+
To get more information about CustomTargetType, see:
|
567
|
+
|
568
|
+
* [API documentation](https://cloud.google.com/deploy/docs/api/reference/rest/v1/projects.locations.customTargetTypes)
|
569
|
+
* How-to Guides
|
570
|
+
* [Define and use a custom target type](https://cloud.google.com/deploy/docs/deploy-app-custom-target)
|
571
|
+
|
572
|
+
## Example Usage
|
573
|
+
### Clouddeploy Custom Target Type Basic
|
574
|
+
|
575
|
+
```python
|
576
|
+
import pulumi
|
577
|
+
import pulumi_gcp as gcp
|
578
|
+
|
579
|
+
custom_target_type = gcp.clouddeploy.CustomTargetType("custom-target-type",
|
580
|
+
annotations={
|
581
|
+
"my_first_annotation": "example-annotation-1",
|
582
|
+
"my_second_annotation": "example-annotation-2",
|
583
|
+
},
|
584
|
+
custom_actions=gcp.clouddeploy.CustomTargetTypeCustomActionsArgs(
|
585
|
+
deploy_action="deployAction",
|
586
|
+
render_action="renderAction",
|
587
|
+
),
|
588
|
+
description="My custom target type",
|
589
|
+
labels={
|
590
|
+
"my_first_label": "example-label-1",
|
591
|
+
"my_second_label": "example-label-2",
|
592
|
+
},
|
593
|
+
location="us-central1")
|
594
|
+
```
|
595
|
+
### Clouddeploy Custom Target Type Git Skaffold Modules
|
596
|
+
|
597
|
+
```python
|
598
|
+
import pulumi
|
599
|
+
import pulumi_gcp as gcp
|
600
|
+
|
601
|
+
custom_target_type = gcp.clouddeploy.CustomTargetType("custom-target-type",
|
602
|
+
custom_actions=gcp.clouddeploy.CustomTargetTypeCustomActionsArgs(
|
603
|
+
deploy_action="deployAction",
|
604
|
+
include_skaffold_modules=[gcp.clouddeploy.CustomTargetTypeCustomActionsIncludeSkaffoldModuleArgs(
|
605
|
+
configs=["my-config"],
|
606
|
+
git=gcp.clouddeploy.CustomTargetTypeCustomActionsIncludeSkaffoldModuleGitArgs(
|
607
|
+
path="configs/skaffold.yaml",
|
608
|
+
ref="main",
|
609
|
+
repo="http://github.com/example/example-repo.git",
|
610
|
+
),
|
611
|
+
)],
|
612
|
+
render_action="renderAction",
|
613
|
+
),
|
614
|
+
description="My custom target type",
|
615
|
+
location="us-central1")
|
616
|
+
```
|
617
|
+
### Clouddeploy Custom Target Type Gcs Skaffold Modules
|
618
|
+
|
619
|
+
```python
|
620
|
+
import pulumi
|
621
|
+
import pulumi_gcp as gcp
|
622
|
+
|
623
|
+
custom_target_type = gcp.clouddeploy.CustomTargetType("custom-target-type",
|
624
|
+
custom_actions=gcp.clouddeploy.CustomTargetTypeCustomActionsArgs(
|
625
|
+
deploy_action="deployAction",
|
626
|
+
include_skaffold_modules=[gcp.clouddeploy.CustomTargetTypeCustomActionsIncludeSkaffoldModuleArgs(
|
627
|
+
configs=["my-config"],
|
628
|
+
google_cloud_storage=gcp.clouddeploy.CustomTargetTypeCustomActionsIncludeSkaffoldModuleGoogleCloudStorageArgs(
|
629
|
+
path="skaffold.yaml",
|
630
|
+
source="gs://example-bucket/dir/configs/*",
|
631
|
+
),
|
632
|
+
)],
|
633
|
+
render_action="renderAction",
|
634
|
+
),
|
635
|
+
description="My custom target type",
|
636
|
+
location="us-central1")
|
637
|
+
```
|
638
|
+
|
639
|
+
## Import
|
640
|
+
|
641
|
+
CustomTargetType can be imported using any of these accepted formats:
|
642
|
+
|
643
|
+
* `projects/{{project}}/locations/{{location}}/customTargetTypes/{{name}}`
|
644
|
+
|
645
|
+
* `{{project}}/{{location}}/{{name}}`
|
646
|
+
|
647
|
+
* `{{location}}/{{name}}`
|
648
|
+
|
649
|
+
When using the `pulumi import` command, CustomTargetType can be imported using one of the formats above. For example:
|
650
|
+
|
651
|
+
```sh
|
652
|
+
$ pulumi import gcp:clouddeploy/customTargetType:CustomTargetType default projects/{{project}}/locations/{{location}}/customTargetTypes/{{name}}
|
653
|
+
```
|
654
|
+
|
655
|
+
```sh
|
656
|
+
$ pulumi import gcp:clouddeploy/customTargetType:CustomTargetType default {{project}}/{{location}}/{{name}}
|
657
|
+
```
|
658
|
+
|
659
|
+
```sh
|
660
|
+
$ pulumi import gcp:clouddeploy/customTargetType:CustomTargetType default {{location}}/{{name}}
|
661
|
+
```
|
662
|
+
|
663
|
+
:param str resource_name: The name of the resource.
|
664
|
+
:param CustomTargetTypeArgs args: The arguments to use to populate this resource's properties.
|
665
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
666
|
+
"""
|
667
|
+
...
|
668
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
669
|
+
resource_args, opts = _utilities.get_resource_args_opts(CustomTargetTypeArgs, pulumi.ResourceOptions, *args, **kwargs)
|
670
|
+
if resource_args is not None:
|
671
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
672
|
+
else:
|
673
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
674
|
+
|
675
|
+
def _internal_init(__self__,
|
676
|
+
resource_name: str,
|
677
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
678
|
+
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
679
|
+
custom_actions: Optional[pulumi.Input[pulumi.InputType['CustomTargetTypeCustomActionsArgs']]] = None,
|
680
|
+
description: Optional[pulumi.Input[str]] = None,
|
681
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
682
|
+
location: Optional[pulumi.Input[str]] = None,
|
683
|
+
name: Optional[pulumi.Input[str]] = None,
|
684
|
+
project: Optional[pulumi.Input[str]] = None,
|
685
|
+
__props__=None):
|
686
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
687
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
688
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
689
|
+
if opts.id is None:
|
690
|
+
if __props__ is not None:
|
691
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
692
|
+
__props__ = CustomTargetTypeArgs.__new__(CustomTargetTypeArgs)
|
693
|
+
|
694
|
+
__props__.__dict__["annotations"] = annotations
|
695
|
+
__props__.__dict__["custom_actions"] = custom_actions
|
696
|
+
__props__.__dict__["description"] = description
|
697
|
+
__props__.__dict__["labels"] = labels
|
698
|
+
if location is None and not opts.urn:
|
699
|
+
raise TypeError("Missing required property 'location'")
|
700
|
+
__props__.__dict__["location"] = location
|
701
|
+
__props__.__dict__["name"] = name
|
702
|
+
__props__.__dict__["project"] = project
|
703
|
+
__props__.__dict__["create_time"] = None
|
704
|
+
__props__.__dict__["custom_target_type_id"] = None
|
705
|
+
__props__.__dict__["effective_annotations"] = None
|
706
|
+
__props__.__dict__["effective_labels"] = None
|
707
|
+
__props__.__dict__["etag"] = None
|
708
|
+
__props__.__dict__["pulumi_labels"] = None
|
709
|
+
__props__.__dict__["uid"] = None
|
710
|
+
__props__.__dict__["update_time"] = None
|
711
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["effectiveLabels", "pulumiLabels"])
|
712
|
+
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
713
|
+
super(CustomTargetType, __self__).__init__(
|
714
|
+
'gcp:clouddeploy/customTargetType:CustomTargetType',
|
715
|
+
resource_name,
|
716
|
+
__props__,
|
717
|
+
opts)
|
718
|
+
|
719
|
+
@staticmethod
|
720
|
+
def get(resource_name: str,
|
721
|
+
id: pulumi.Input[str],
|
722
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
723
|
+
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
724
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
725
|
+
custom_actions: Optional[pulumi.Input[pulumi.InputType['CustomTargetTypeCustomActionsArgs']]] = None,
|
726
|
+
custom_target_type_id: Optional[pulumi.Input[str]] = None,
|
727
|
+
description: Optional[pulumi.Input[str]] = None,
|
728
|
+
effective_annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
729
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
730
|
+
etag: Optional[pulumi.Input[str]] = None,
|
731
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
732
|
+
location: Optional[pulumi.Input[str]] = None,
|
733
|
+
name: Optional[pulumi.Input[str]] = None,
|
734
|
+
project: Optional[pulumi.Input[str]] = None,
|
735
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
736
|
+
uid: Optional[pulumi.Input[str]] = None,
|
737
|
+
update_time: Optional[pulumi.Input[str]] = None) -> 'CustomTargetType':
|
738
|
+
"""
|
739
|
+
Get an existing CustomTargetType resource's state with the given name, id, and optional extra
|
740
|
+
properties used to qualify the lookup.
|
741
|
+
|
742
|
+
:param str resource_name: The unique name of the resulting resource.
|
743
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
744
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
745
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
|
746
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
747
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
748
|
+
:param pulumi.Input[str] create_time: Time at which the `CustomTargetType` was created.
|
749
|
+
:param pulumi.Input[pulumi.InputType['CustomTargetTypeCustomActionsArgs']] custom_actions: Configures render and deploy for the `CustomTargetType` using Skaffold custom actions.
|
750
|
+
Structure is documented below.
|
751
|
+
:param pulumi.Input[str] custom_target_type_id: Resource id of the `CustomTargetType`.
|
752
|
+
:param pulumi.Input[str] description: Description of the `CustomTargetType`. Max length is 255 characters.
|
753
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_annotations: All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
|
754
|
+
Terraform, other clients and services.
|
755
|
+
: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.
|
756
|
+
:param pulumi.Input[str] etag: The weak etag of the `CustomTargetType` resource. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
|
757
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
|
758
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
759
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
760
|
+
:param pulumi.Input[str] location: The location of the source.
|
761
|
+
|
762
|
+
|
763
|
+
- - -
|
764
|
+
:param pulumi.Input[str] name: Name of the `CustomTargetType`.
|
765
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
766
|
+
If it is not provided, the provider project is used.
|
767
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
768
|
+
and default labels configured on the provider.
|
769
|
+
:param pulumi.Input[str] uid: Unique identifier of the `CustomTargetType`.
|
770
|
+
:param pulumi.Input[str] update_time: Time at which the `CustomTargetType` was updated.
|
771
|
+
"""
|
772
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
773
|
+
|
774
|
+
__props__ = _CustomTargetTypeState.__new__(_CustomTargetTypeState)
|
775
|
+
|
776
|
+
__props__.__dict__["annotations"] = annotations
|
777
|
+
__props__.__dict__["create_time"] = create_time
|
778
|
+
__props__.__dict__["custom_actions"] = custom_actions
|
779
|
+
__props__.__dict__["custom_target_type_id"] = custom_target_type_id
|
780
|
+
__props__.__dict__["description"] = description
|
781
|
+
__props__.__dict__["effective_annotations"] = effective_annotations
|
782
|
+
__props__.__dict__["effective_labels"] = effective_labels
|
783
|
+
__props__.__dict__["etag"] = etag
|
784
|
+
__props__.__dict__["labels"] = labels
|
785
|
+
__props__.__dict__["location"] = location
|
786
|
+
__props__.__dict__["name"] = name
|
787
|
+
__props__.__dict__["project"] = project
|
788
|
+
__props__.__dict__["pulumi_labels"] = pulumi_labels
|
789
|
+
__props__.__dict__["uid"] = uid
|
790
|
+
__props__.__dict__["update_time"] = update_time
|
791
|
+
return CustomTargetType(resource_name, opts=opts, __props__=__props__)
|
792
|
+
|
793
|
+
@property
|
794
|
+
@pulumi.getter
|
795
|
+
def annotations(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
796
|
+
"""
|
797
|
+
User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
|
798
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
799
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
800
|
+
"""
|
801
|
+
return pulumi.get(self, "annotations")
|
802
|
+
|
803
|
+
@property
|
804
|
+
@pulumi.getter(name="createTime")
|
805
|
+
def create_time(self) -> pulumi.Output[str]:
|
806
|
+
"""
|
807
|
+
Time at which the `CustomTargetType` was created.
|
808
|
+
"""
|
809
|
+
return pulumi.get(self, "create_time")
|
810
|
+
|
811
|
+
@property
|
812
|
+
@pulumi.getter(name="customActions")
|
813
|
+
def custom_actions(self) -> pulumi.Output[Optional['outputs.CustomTargetTypeCustomActions']]:
|
814
|
+
"""
|
815
|
+
Configures render and deploy for the `CustomTargetType` using Skaffold custom actions.
|
816
|
+
Structure is documented below.
|
817
|
+
"""
|
818
|
+
return pulumi.get(self, "custom_actions")
|
819
|
+
|
820
|
+
@property
|
821
|
+
@pulumi.getter(name="customTargetTypeId")
|
822
|
+
def custom_target_type_id(self) -> pulumi.Output[str]:
|
823
|
+
"""
|
824
|
+
Resource id of the `CustomTargetType`.
|
825
|
+
"""
|
826
|
+
return pulumi.get(self, "custom_target_type_id")
|
827
|
+
|
828
|
+
@property
|
829
|
+
@pulumi.getter
|
830
|
+
def description(self) -> pulumi.Output[Optional[str]]:
|
831
|
+
"""
|
832
|
+
Description of the `CustomTargetType`. Max length is 255 characters.
|
833
|
+
"""
|
834
|
+
return pulumi.get(self, "description")
|
835
|
+
|
836
|
+
@property
|
837
|
+
@pulumi.getter(name="effectiveAnnotations")
|
838
|
+
def effective_annotations(self) -> pulumi.Output[Mapping[str, str]]:
|
839
|
+
"""
|
840
|
+
All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
|
841
|
+
Terraform, other clients and services.
|
842
|
+
"""
|
843
|
+
return pulumi.get(self, "effective_annotations")
|
844
|
+
|
845
|
+
@property
|
846
|
+
@pulumi.getter(name="effectiveLabels")
|
847
|
+
def effective_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
848
|
+
"""
|
849
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
850
|
+
"""
|
851
|
+
return pulumi.get(self, "effective_labels")
|
852
|
+
|
853
|
+
@property
|
854
|
+
@pulumi.getter
|
855
|
+
def etag(self) -> pulumi.Output[str]:
|
856
|
+
"""
|
857
|
+
The weak etag of the `CustomTargetType` resource. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
|
858
|
+
"""
|
859
|
+
return pulumi.get(self, "etag")
|
860
|
+
|
861
|
+
@property
|
862
|
+
@pulumi.getter
|
863
|
+
def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
864
|
+
"""
|
865
|
+
Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
|
866
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
867
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
868
|
+
"""
|
869
|
+
return pulumi.get(self, "labels")
|
870
|
+
|
871
|
+
@property
|
872
|
+
@pulumi.getter
|
873
|
+
def location(self) -> pulumi.Output[str]:
|
874
|
+
"""
|
875
|
+
The location of the source.
|
876
|
+
|
877
|
+
|
878
|
+
- - -
|
879
|
+
"""
|
880
|
+
return pulumi.get(self, "location")
|
881
|
+
|
882
|
+
@property
|
883
|
+
@pulumi.getter
|
884
|
+
def name(self) -> pulumi.Output[str]:
|
885
|
+
"""
|
886
|
+
Name of the `CustomTargetType`.
|
887
|
+
"""
|
888
|
+
return pulumi.get(self, "name")
|
889
|
+
|
890
|
+
@property
|
891
|
+
@pulumi.getter
|
892
|
+
def project(self) -> pulumi.Output[str]:
|
893
|
+
"""
|
894
|
+
The ID of the project in which the resource belongs.
|
895
|
+
If it is not provided, the provider project is used.
|
896
|
+
"""
|
897
|
+
return pulumi.get(self, "project")
|
898
|
+
|
899
|
+
@property
|
900
|
+
@pulumi.getter(name="pulumiLabels")
|
901
|
+
def pulumi_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
902
|
+
"""
|
903
|
+
The combination of labels configured directly on the resource
|
904
|
+
and default labels configured on the provider.
|
905
|
+
"""
|
906
|
+
return pulumi.get(self, "pulumi_labels")
|
907
|
+
|
908
|
+
@property
|
909
|
+
@pulumi.getter
|
910
|
+
def uid(self) -> pulumi.Output[str]:
|
911
|
+
"""
|
912
|
+
Unique identifier of the `CustomTargetType`.
|
913
|
+
"""
|
914
|
+
return pulumi.get(self, "uid")
|
915
|
+
|
916
|
+
@property
|
917
|
+
@pulumi.getter(name="updateTime")
|
918
|
+
def update_time(self) -> pulumi.Output[str]:
|
919
|
+
"""
|
920
|
+
Time at which the `CustomTargetType` was updated.
|
921
|
+
"""
|
922
|
+
return pulumi.get(self, "update_time")
|
923
|
+
|