pulumi-gcp 8.25.0a1743489606__py3-none-any.whl → 8.25.0a1743706148__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 +104 -0
- pulumi_gcp/_inputs.py +48 -0
- pulumi_gcp/accesscontextmanager/_inputs.py +324 -12
- pulumi_gcp/accesscontextmanager/outputs.py +204 -12
- pulumi_gcp/accesscontextmanager/service_perimeter.py +0 -2
- pulumi_gcp/apigee/__init__.py +1 -0
- pulumi_gcp/apigee/_inputs.py +58 -0
- pulumi_gcp/apigee/dns_zone.py +491 -0
- pulumi_gcp/apigee/outputs.py +53 -0
- pulumi_gcp/bigquery/reservation_assignment.py +7 -7
- pulumi_gcp/bigtable/table.py +8 -8
- pulumi_gcp/chronicle/data_access_label.py +2 -2
- pulumi_gcp/chronicle/data_access_scope.py +16 -0
- pulumi_gcp/chronicle/reference_list.py +16 -0
- pulumi_gcp/chronicle/retrohunt.py +16 -0
- pulumi_gcp/chronicle/rule.py +16 -0
- pulumi_gcp/chronicle/rule_deployment.py +16 -0
- pulumi_gcp/chronicle/watchlist.py +16 -0
- pulumi_gcp/cloudfunctionsv2/_inputs.py +20 -0
- pulumi_gcp/cloudfunctionsv2/outputs.py +25 -0
- pulumi_gcp/cloudrunv2/_inputs.py +20 -0
- pulumi_gcp/cloudrunv2/outputs.py +25 -0
- pulumi_gcp/compute/__init__.py +1 -0
- pulumi_gcp/compute/_inputs.py +2011 -43
- pulumi_gcp/compute/backend_service.py +121 -3
- pulumi_gcp/compute/get_backend_service.py +15 -4
- pulumi_gcp/compute/get_instance.py +12 -1
- pulumi_gcp/compute/get_region_backend_service.py +482 -0
- pulumi_gcp/compute/get_router.py +12 -1
- pulumi_gcp/compute/get_subnetwork.py +43 -1
- pulumi_gcp/compute/instance.py +47 -0
- pulumi_gcp/compute/instance_from_machine_image.py +94 -0
- pulumi_gcp/compute/instance_from_template.py +47 -0
- pulumi_gcp/compute/outputs.py +3578 -139
- pulumi_gcp/compute/public_delegated_prefix.py +69 -15
- pulumi_gcp/compute/router.py +54 -0
- pulumi_gcp/compute/subnetwork.py +35 -5
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/outputs.py +27 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +12 -12
- pulumi_gcp/container/cluster.py +47 -0
- pulumi_gcp/container/get_cluster.py +12 -1
- pulumi_gcp/container/get_registry_image.py +4 -0
- pulumi_gcp/container/get_registry_repository.py +4 -0
- pulumi_gcp/container/outputs.py +8 -8
- pulumi_gcp/container/registry.py +4 -0
- pulumi_gcp/datafusion/instance.py +68 -0
- pulumi_gcp/dataproc/__init__.py +8 -0
- pulumi_gcp/dataproc/_inputs.py +196 -0
- pulumi_gcp/dataproc/get_metastore_database_iam_policy.py +193 -0
- pulumi_gcp/dataproc/get_metastore_table_iam_policy.py +210 -0
- pulumi_gcp/dataproc/metastore_database_iam_binding.py +848 -0
- pulumi_gcp/dataproc/metastore_database_iam_member.py +848 -0
- pulumi_gcp/dataproc/metastore_database_iam_policy.py +687 -0
- pulumi_gcp/dataproc/metastore_federation.py +38 -2
- pulumi_gcp/dataproc/metastore_table_iam_binding.py +895 -0
- pulumi_gcp/dataproc/metastore_table_iam_member.py +895 -0
- pulumi_gcp/dataproc/metastore_table_iam_policy.py +734 -0
- pulumi_gcp/dataproc/outputs.py +112 -0
- pulumi_gcp/datastream/_inputs.py +311 -94
- pulumi_gcp/datastream/connection_profile.py +40 -0
- pulumi_gcp/datastream/outputs.py +244 -51
- pulumi_gcp/datastream/stream.py +216 -0
- pulumi_gcp/discoveryengine/__init__.py +1 -0
- pulumi_gcp/discoveryengine/sitemap.py +504 -0
- pulumi_gcp/eventarc/__init__.py +1 -0
- pulumi_gcp/eventarc/enrollment.py +980 -0
- pulumi_gcp/firebase/__init__.py +1 -0
- pulumi_gcp/firebase/_inputs.py +484 -0
- pulumi_gcp/firebase/app_hosting_build.py +1232 -0
- pulumi_gcp/firebase/outputs.py +333 -0
- pulumi_gcp/identityplatform/_inputs.py +91 -0
- pulumi_gcp/identityplatform/outputs.py +73 -0
- pulumi_gcp/identityplatform/tenant.py +56 -0
- pulumi_gcp/managedkafka/cluster.py +2 -2
- pulumi_gcp/memorystore/__init__.py +1 -0
- pulumi_gcp/memorystore/_inputs.py +826 -0
- pulumi_gcp/memorystore/get_instance.py +23 -1
- pulumi_gcp/memorystore/instance.py +344 -23
- pulumi_gcp/memorystore/instance_desired_user_created_endpoints.py +843 -0
- pulumi_gcp/memorystore/outputs.py +889 -8
- pulumi_gcp/networksecurity/_inputs.py +473 -0
- pulumi_gcp/networksecurity/mirroring_deployment_group.py +44 -16
- pulumi_gcp/networksecurity/mirroring_endpoint_group.py +94 -36
- pulumi_gcp/networksecurity/mirroring_endpoint_group_association.py +53 -8
- pulumi_gcp/networksecurity/outputs.py +291 -1
- pulumi_gcp/networksecurity/security_profile.py +8 -0
- pulumi_gcp/organizations/__init__.py +1 -0
- pulumi_gcp/organizations/get_iam_custom_roles.py +164 -0
- pulumi_gcp/organizations/outputs.py +96 -0
- pulumi_gcp/parametermanager/get_parameter.py +16 -1
- pulumi_gcp/parametermanager/get_parameter_version.py +19 -1
- pulumi_gcp/parametermanager/get_parameter_version_render.py +4 -0
- pulumi_gcp/parametermanager/get_parameters.py +4 -0
- pulumi_gcp/parametermanager/get_regional_parameter.py +4 -0
- pulumi_gcp/parametermanager/get_regional_parameter_version.py +4 -0
- pulumi_gcp/parametermanager/get_regional_parameter_version_render.py +8 -0
- pulumi_gcp/parametermanager/get_regional_parameters.py +4 -0
- pulumi_gcp/parametermanager/outputs.py +11 -0
- pulumi_gcp/parametermanager/parameter.py +88 -0
- pulumi_gcp/parametermanager/parameter_version.py +74 -0
- pulumi_gcp/parametermanager/regional_parameter.py +12 -0
- pulumi_gcp/parametermanager/regional_parameter_version.py +12 -0
- pulumi_gcp/provider.py +15 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/_inputs.py +136 -0
- pulumi_gcp/redis/cluster.py +54 -0
- pulumi_gcp/redis/outputs.py +114 -0
- pulumi_gcp/secretmanager/regional_secret_version.py +0 -16
- pulumi_gcp/storage/__init__.py +4 -0
- pulumi_gcp/storage/_inputs.py +596 -0
- pulumi_gcp/storage/bucket.py +7 -7
- pulumi_gcp/storage/control_folder_intelligence_config.py +420 -0
- pulumi_gcp/storage/control_organization_intelligence_config.py +420 -0
- pulumi_gcp/storage/control_project_intelligence_config.py +49 -7
- pulumi_gcp/storage/get_bucket_object_content.py +16 -1
- pulumi_gcp/storage/get_control_folder_intelligence_config.py +160 -0
- pulumi_gcp/storage/get_control_organization_intelligence_config.py +160 -0
- pulumi_gcp/storage/get_control_project_intelligence_config.py +32 -2
- pulumi_gcp/storage/outputs.py +2132 -1312
- pulumi_gcp/workbench/instance.py +14 -2
- {pulumi_gcp-8.25.0a1743489606.dist-info → pulumi_gcp-8.25.0a1743706148.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.25.0a1743489606.dist-info → pulumi_gcp-8.25.0a1743706148.dist-info}/RECORD +126 -107
- {pulumi_gcp-8.25.0a1743489606.dist-info → pulumi_gcp-8.25.0a1743706148.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.25.0a1743489606.dist-info → pulumi_gcp-8.25.0a1743706148.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,980 @@
|
|
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 sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
|
17
|
+
__all__ = ['EnrollmentArgs', 'Enrollment']
|
18
|
+
|
19
|
+
@pulumi.input_type
|
20
|
+
class EnrollmentArgs:
|
21
|
+
def __init__(__self__, *,
|
22
|
+
cel_match: pulumi.Input[str],
|
23
|
+
destination: pulumi.Input[str],
|
24
|
+
enrollment_id: pulumi.Input[str],
|
25
|
+
location: pulumi.Input[str],
|
26
|
+
message_bus: pulumi.Input[str],
|
27
|
+
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
28
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
29
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
30
|
+
project: Optional[pulumi.Input[str]] = None):
|
31
|
+
"""
|
32
|
+
The set of arguments for constructing a Enrollment resource.
|
33
|
+
:param pulumi.Input[str] cel_match: A CEL expression identifying which messages this enrollment applies to.
|
34
|
+
:param pulumi.Input[str] destination: Destination is the Pipeline that the Enrollment is delivering to. It must
|
35
|
+
point to the full resource name of a Pipeline. Format:
|
36
|
+
"projects/{PROJECT_ID}/locations/{region}/pipelines/{PIPELINE_ID)"
|
37
|
+
:param pulumi.Input[str] enrollment_id: The user-provided ID to be assigned to the Enrollment. It should match the
|
38
|
+
format `^a-z?$`.
|
39
|
+
|
40
|
+
|
41
|
+
- - -
|
42
|
+
:param pulumi.Input[str] location: Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
43
|
+
:param pulumi.Input[str] message_bus: Resource name of the message bus identifying the source of the messages. It
|
44
|
+
matches the form
|
45
|
+
projects/{project}/locations/{location}/messageBuses/{messageBus}.
|
46
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: Resource annotations.
|
47
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
48
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
49
|
+
:param pulumi.Input[str] display_name: Resource display name.
|
50
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Resource labels.
|
51
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
52
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
53
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
54
|
+
If it is not provided, the provider project is used.
|
55
|
+
"""
|
56
|
+
pulumi.set(__self__, "cel_match", cel_match)
|
57
|
+
pulumi.set(__self__, "destination", destination)
|
58
|
+
pulumi.set(__self__, "enrollment_id", enrollment_id)
|
59
|
+
pulumi.set(__self__, "location", location)
|
60
|
+
pulumi.set(__self__, "message_bus", message_bus)
|
61
|
+
if annotations is not None:
|
62
|
+
pulumi.set(__self__, "annotations", annotations)
|
63
|
+
if display_name is not None:
|
64
|
+
pulumi.set(__self__, "display_name", display_name)
|
65
|
+
if labels is not None:
|
66
|
+
pulumi.set(__self__, "labels", labels)
|
67
|
+
if project is not None:
|
68
|
+
pulumi.set(__self__, "project", project)
|
69
|
+
|
70
|
+
@property
|
71
|
+
@pulumi.getter(name="celMatch")
|
72
|
+
def cel_match(self) -> pulumi.Input[str]:
|
73
|
+
"""
|
74
|
+
A CEL expression identifying which messages this enrollment applies to.
|
75
|
+
"""
|
76
|
+
return pulumi.get(self, "cel_match")
|
77
|
+
|
78
|
+
@cel_match.setter
|
79
|
+
def cel_match(self, value: pulumi.Input[str]):
|
80
|
+
pulumi.set(self, "cel_match", value)
|
81
|
+
|
82
|
+
@property
|
83
|
+
@pulumi.getter
|
84
|
+
def destination(self) -> pulumi.Input[str]:
|
85
|
+
"""
|
86
|
+
Destination is the Pipeline that the Enrollment is delivering to. It must
|
87
|
+
point to the full resource name of a Pipeline. Format:
|
88
|
+
"projects/{PROJECT_ID}/locations/{region}/pipelines/{PIPELINE_ID)"
|
89
|
+
"""
|
90
|
+
return pulumi.get(self, "destination")
|
91
|
+
|
92
|
+
@destination.setter
|
93
|
+
def destination(self, value: pulumi.Input[str]):
|
94
|
+
pulumi.set(self, "destination", value)
|
95
|
+
|
96
|
+
@property
|
97
|
+
@pulumi.getter(name="enrollmentId")
|
98
|
+
def enrollment_id(self) -> pulumi.Input[str]:
|
99
|
+
"""
|
100
|
+
The user-provided ID to be assigned to the Enrollment. It should match the
|
101
|
+
format `^a-z?$`.
|
102
|
+
|
103
|
+
|
104
|
+
- - -
|
105
|
+
"""
|
106
|
+
return pulumi.get(self, "enrollment_id")
|
107
|
+
|
108
|
+
@enrollment_id.setter
|
109
|
+
def enrollment_id(self, value: pulumi.Input[str]):
|
110
|
+
pulumi.set(self, "enrollment_id", value)
|
111
|
+
|
112
|
+
@property
|
113
|
+
@pulumi.getter
|
114
|
+
def location(self) -> pulumi.Input[str]:
|
115
|
+
"""
|
116
|
+
Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
117
|
+
"""
|
118
|
+
return pulumi.get(self, "location")
|
119
|
+
|
120
|
+
@location.setter
|
121
|
+
def location(self, value: pulumi.Input[str]):
|
122
|
+
pulumi.set(self, "location", value)
|
123
|
+
|
124
|
+
@property
|
125
|
+
@pulumi.getter(name="messageBus")
|
126
|
+
def message_bus(self) -> pulumi.Input[str]:
|
127
|
+
"""
|
128
|
+
Resource name of the message bus identifying the source of the messages. It
|
129
|
+
matches the form
|
130
|
+
projects/{project}/locations/{location}/messageBuses/{messageBus}.
|
131
|
+
"""
|
132
|
+
return pulumi.get(self, "message_bus")
|
133
|
+
|
134
|
+
@message_bus.setter
|
135
|
+
def message_bus(self, value: pulumi.Input[str]):
|
136
|
+
pulumi.set(self, "message_bus", value)
|
137
|
+
|
138
|
+
@property
|
139
|
+
@pulumi.getter
|
140
|
+
def annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
141
|
+
"""
|
142
|
+
Resource annotations.
|
143
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
144
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
145
|
+
"""
|
146
|
+
return pulumi.get(self, "annotations")
|
147
|
+
|
148
|
+
@annotations.setter
|
149
|
+
def annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
150
|
+
pulumi.set(self, "annotations", value)
|
151
|
+
|
152
|
+
@property
|
153
|
+
@pulumi.getter(name="displayName")
|
154
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
155
|
+
"""
|
156
|
+
Resource display name.
|
157
|
+
"""
|
158
|
+
return pulumi.get(self, "display_name")
|
159
|
+
|
160
|
+
@display_name.setter
|
161
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
162
|
+
pulumi.set(self, "display_name", value)
|
163
|
+
|
164
|
+
@property
|
165
|
+
@pulumi.getter
|
166
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
167
|
+
"""
|
168
|
+
Resource labels.
|
169
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
170
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
171
|
+
"""
|
172
|
+
return pulumi.get(self, "labels")
|
173
|
+
|
174
|
+
@labels.setter
|
175
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
176
|
+
pulumi.set(self, "labels", value)
|
177
|
+
|
178
|
+
@property
|
179
|
+
@pulumi.getter
|
180
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
181
|
+
"""
|
182
|
+
The ID of the project in which the resource belongs.
|
183
|
+
If it is not provided, the provider project is used.
|
184
|
+
"""
|
185
|
+
return pulumi.get(self, "project")
|
186
|
+
|
187
|
+
@project.setter
|
188
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
189
|
+
pulumi.set(self, "project", value)
|
190
|
+
|
191
|
+
|
192
|
+
@pulumi.input_type
|
193
|
+
class _EnrollmentState:
|
194
|
+
def __init__(__self__, *,
|
195
|
+
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
196
|
+
cel_match: Optional[pulumi.Input[str]] = None,
|
197
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
198
|
+
destination: Optional[pulumi.Input[str]] = None,
|
199
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
200
|
+
effective_annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
201
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
202
|
+
enrollment_id: Optional[pulumi.Input[str]] = None,
|
203
|
+
etag: Optional[pulumi.Input[str]] = None,
|
204
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
205
|
+
location: Optional[pulumi.Input[str]] = None,
|
206
|
+
message_bus: Optional[pulumi.Input[str]] = None,
|
207
|
+
name: Optional[pulumi.Input[str]] = None,
|
208
|
+
project: Optional[pulumi.Input[str]] = None,
|
209
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
210
|
+
uid: Optional[pulumi.Input[str]] = None,
|
211
|
+
update_time: Optional[pulumi.Input[str]] = None):
|
212
|
+
"""
|
213
|
+
Input properties used for looking up and filtering Enrollment resources.
|
214
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: Resource annotations.
|
215
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
216
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
217
|
+
:param pulumi.Input[str] cel_match: A CEL expression identifying which messages this enrollment applies to.
|
218
|
+
:param pulumi.Input[str] create_time: The creation time.
|
219
|
+
:param pulumi.Input[str] destination: Destination is the Pipeline that the Enrollment is delivering to. It must
|
220
|
+
point to the full resource name of a Pipeline. Format:
|
221
|
+
"projects/{PROJECT_ID}/locations/{region}/pipelines/{PIPELINE_ID)"
|
222
|
+
:param pulumi.Input[str] display_name: Resource display name.
|
223
|
+
: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.
|
224
|
+
:param pulumi.Input[str] enrollment_id: The user-provided ID to be assigned to the Enrollment. It should match the
|
225
|
+
format `^a-z?$`.
|
226
|
+
|
227
|
+
|
228
|
+
- - -
|
229
|
+
:param pulumi.Input[str] etag: This checksum is computed by the server based on the value of other
|
230
|
+
fields, and might be sent only on update and delete requests to ensure that
|
231
|
+
the client has an up-to-date value before proceeding.
|
232
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Resource labels.
|
233
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
234
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
235
|
+
:param pulumi.Input[str] location: Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
236
|
+
:param pulumi.Input[str] message_bus: Resource name of the message bus identifying the source of the messages. It
|
237
|
+
matches the form
|
238
|
+
projects/{project}/locations/{location}/messageBuses/{messageBus}.
|
239
|
+
:param pulumi.Input[str] name: Resource name of the form
|
240
|
+
projects/{project}/locations/{location}/enrollments/{enrollment}
|
241
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
242
|
+
If it is not provided, the provider project is used.
|
243
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
244
|
+
and default labels configured on the provider.
|
245
|
+
:param pulumi.Input[str] uid: Server assigned unique identifier for the channel. The value is a UUID4
|
246
|
+
string and guaranteed to remain unchanged until the resource is deleted.
|
247
|
+
:param pulumi.Input[str] update_time: The last-modified time.
|
248
|
+
"""
|
249
|
+
if annotations is not None:
|
250
|
+
pulumi.set(__self__, "annotations", annotations)
|
251
|
+
if cel_match is not None:
|
252
|
+
pulumi.set(__self__, "cel_match", cel_match)
|
253
|
+
if create_time is not None:
|
254
|
+
pulumi.set(__self__, "create_time", create_time)
|
255
|
+
if destination is not None:
|
256
|
+
pulumi.set(__self__, "destination", destination)
|
257
|
+
if display_name is not None:
|
258
|
+
pulumi.set(__self__, "display_name", display_name)
|
259
|
+
if effective_annotations is not None:
|
260
|
+
pulumi.set(__self__, "effective_annotations", effective_annotations)
|
261
|
+
if effective_labels is not None:
|
262
|
+
pulumi.set(__self__, "effective_labels", effective_labels)
|
263
|
+
if enrollment_id is not None:
|
264
|
+
pulumi.set(__self__, "enrollment_id", enrollment_id)
|
265
|
+
if etag is not None:
|
266
|
+
pulumi.set(__self__, "etag", etag)
|
267
|
+
if labels is not None:
|
268
|
+
pulumi.set(__self__, "labels", labels)
|
269
|
+
if location is not None:
|
270
|
+
pulumi.set(__self__, "location", location)
|
271
|
+
if message_bus is not None:
|
272
|
+
pulumi.set(__self__, "message_bus", message_bus)
|
273
|
+
if name is not None:
|
274
|
+
pulumi.set(__self__, "name", name)
|
275
|
+
if project is not None:
|
276
|
+
pulumi.set(__self__, "project", project)
|
277
|
+
if pulumi_labels is not None:
|
278
|
+
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
279
|
+
if uid is not None:
|
280
|
+
pulumi.set(__self__, "uid", uid)
|
281
|
+
if update_time is not None:
|
282
|
+
pulumi.set(__self__, "update_time", update_time)
|
283
|
+
|
284
|
+
@property
|
285
|
+
@pulumi.getter
|
286
|
+
def annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
287
|
+
"""
|
288
|
+
Resource annotations.
|
289
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
290
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
291
|
+
"""
|
292
|
+
return pulumi.get(self, "annotations")
|
293
|
+
|
294
|
+
@annotations.setter
|
295
|
+
def annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
296
|
+
pulumi.set(self, "annotations", value)
|
297
|
+
|
298
|
+
@property
|
299
|
+
@pulumi.getter(name="celMatch")
|
300
|
+
def cel_match(self) -> Optional[pulumi.Input[str]]:
|
301
|
+
"""
|
302
|
+
A CEL expression identifying which messages this enrollment applies to.
|
303
|
+
"""
|
304
|
+
return pulumi.get(self, "cel_match")
|
305
|
+
|
306
|
+
@cel_match.setter
|
307
|
+
def cel_match(self, value: Optional[pulumi.Input[str]]):
|
308
|
+
pulumi.set(self, "cel_match", value)
|
309
|
+
|
310
|
+
@property
|
311
|
+
@pulumi.getter(name="createTime")
|
312
|
+
def create_time(self) -> Optional[pulumi.Input[str]]:
|
313
|
+
"""
|
314
|
+
The creation time.
|
315
|
+
"""
|
316
|
+
return pulumi.get(self, "create_time")
|
317
|
+
|
318
|
+
@create_time.setter
|
319
|
+
def create_time(self, value: Optional[pulumi.Input[str]]):
|
320
|
+
pulumi.set(self, "create_time", value)
|
321
|
+
|
322
|
+
@property
|
323
|
+
@pulumi.getter
|
324
|
+
def destination(self) -> Optional[pulumi.Input[str]]:
|
325
|
+
"""
|
326
|
+
Destination is the Pipeline that the Enrollment is delivering to. It must
|
327
|
+
point to the full resource name of a Pipeline. Format:
|
328
|
+
"projects/{PROJECT_ID}/locations/{region}/pipelines/{PIPELINE_ID)"
|
329
|
+
"""
|
330
|
+
return pulumi.get(self, "destination")
|
331
|
+
|
332
|
+
@destination.setter
|
333
|
+
def destination(self, value: Optional[pulumi.Input[str]]):
|
334
|
+
pulumi.set(self, "destination", value)
|
335
|
+
|
336
|
+
@property
|
337
|
+
@pulumi.getter(name="displayName")
|
338
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
339
|
+
"""
|
340
|
+
Resource display name.
|
341
|
+
"""
|
342
|
+
return pulumi.get(self, "display_name")
|
343
|
+
|
344
|
+
@display_name.setter
|
345
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
346
|
+
pulumi.set(self, "display_name", value)
|
347
|
+
|
348
|
+
@property
|
349
|
+
@pulumi.getter(name="effectiveAnnotations")
|
350
|
+
def effective_annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
351
|
+
return pulumi.get(self, "effective_annotations")
|
352
|
+
|
353
|
+
@effective_annotations.setter
|
354
|
+
def effective_annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
355
|
+
pulumi.set(self, "effective_annotations", value)
|
356
|
+
|
357
|
+
@property
|
358
|
+
@pulumi.getter(name="effectiveLabels")
|
359
|
+
def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
360
|
+
"""
|
361
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
362
|
+
"""
|
363
|
+
return pulumi.get(self, "effective_labels")
|
364
|
+
|
365
|
+
@effective_labels.setter
|
366
|
+
def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
367
|
+
pulumi.set(self, "effective_labels", value)
|
368
|
+
|
369
|
+
@property
|
370
|
+
@pulumi.getter(name="enrollmentId")
|
371
|
+
def enrollment_id(self) -> Optional[pulumi.Input[str]]:
|
372
|
+
"""
|
373
|
+
The user-provided ID to be assigned to the Enrollment. It should match the
|
374
|
+
format `^a-z?$`.
|
375
|
+
|
376
|
+
|
377
|
+
- - -
|
378
|
+
"""
|
379
|
+
return pulumi.get(self, "enrollment_id")
|
380
|
+
|
381
|
+
@enrollment_id.setter
|
382
|
+
def enrollment_id(self, value: Optional[pulumi.Input[str]]):
|
383
|
+
pulumi.set(self, "enrollment_id", value)
|
384
|
+
|
385
|
+
@property
|
386
|
+
@pulumi.getter
|
387
|
+
def etag(self) -> Optional[pulumi.Input[str]]:
|
388
|
+
"""
|
389
|
+
This checksum is computed by the server based on the value of other
|
390
|
+
fields, and might be sent only on update and delete requests to ensure that
|
391
|
+
the client has an up-to-date value before proceeding.
|
392
|
+
"""
|
393
|
+
return pulumi.get(self, "etag")
|
394
|
+
|
395
|
+
@etag.setter
|
396
|
+
def etag(self, value: Optional[pulumi.Input[str]]):
|
397
|
+
pulumi.set(self, "etag", value)
|
398
|
+
|
399
|
+
@property
|
400
|
+
@pulumi.getter
|
401
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
402
|
+
"""
|
403
|
+
Resource labels.
|
404
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
405
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
406
|
+
"""
|
407
|
+
return pulumi.get(self, "labels")
|
408
|
+
|
409
|
+
@labels.setter
|
410
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
411
|
+
pulumi.set(self, "labels", value)
|
412
|
+
|
413
|
+
@property
|
414
|
+
@pulumi.getter
|
415
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
416
|
+
"""
|
417
|
+
Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
418
|
+
"""
|
419
|
+
return pulumi.get(self, "location")
|
420
|
+
|
421
|
+
@location.setter
|
422
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
423
|
+
pulumi.set(self, "location", value)
|
424
|
+
|
425
|
+
@property
|
426
|
+
@pulumi.getter(name="messageBus")
|
427
|
+
def message_bus(self) -> Optional[pulumi.Input[str]]:
|
428
|
+
"""
|
429
|
+
Resource name of the message bus identifying the source of the messages. It
|
430
|
+
matches the form
|
431
|
+
projects/{project}/locations/{location}/messageBuses/{messageBus}.
|
432
|
+
"""
|
433
|
+
return pulumi.get(self, "message_bus")
|
434
|
+
|
435
|
+
@message_bus.setter
|
436
|
+
def message_bus(self, value: Optional[pulumi.Input[str]]):
|
437
|
+
pulumi.set(self, "message_bus", value)
|
438
|
+
|
439
|
+
@property
|
440
|
+
@pulumi.getter
|
441
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
442
|
+
"""
|
443
|
+
Resource name of the form
|
444
|
+
projects/{project}/locations/{location}/enrollments/{enrollment}
|
445
|
+
"""
|
446
|
+
return pulumi.get(self, "name")
|
447
|
+
|
448
|
+
@name.setter
|
449
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
450
|
+
pulumi.set(self, "name", value)
|
451
|
+
|
452
|
+
@property
|
453
|
+
@pulumi.getter
|
454
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
455
|
+
"""
|
456
|
+
The ID of the project in which the resource belongs.
|
457
|
+
If it is not provided, the provider project is used.
|
458
|
+
"""
|
459
|
+
return pulumi.get(self, "project")
|
460
|
+
|
461
|
+
@project.setter
|
462
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
463
|
+
pulumi.set(self, "project", value)
|
464
|
+
|
465
|
+
@property
|
466
|
+
@pulumi.getter(name="pulumiLabels")
|
467
|
+
def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
468
|
+
"""
|
469
|
+
The combination of labels configured directly on the resource
|
470
|
+
and default labels configured on the provider.
|
471
|
+
"""
|
472
|
+
return pulumi.get(self, "pulumi_labels")
|
473
|
+
|
474
|
+
@pulumi_labels.setter
|
475
|
+
def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
476
|
+
pulumi.set(self, "pulumi_labels", value)
|
477
|
+
|
478
|
+
@property
|
479
|
+
@pulumi.getter
|
480
|
+
def uid(self) -> Optional[pulumi.Input[str]]:
|
481
|
+
"""
|
482
|
+
Server assigned unique identifier for the channel. The value is a UUID4
|
483
|
+
string and guaranteed to remain unchanged until the resource is deleted.
|
484
|
+
"""
|
485
|
+
return pulumi.get(self, "uid")
|
486
|
+
|
487
|
+
@uid.setter
|
488
|
+
def uid(self, value: Optional[pulumi.Input[str]]):
|
489
|
+
pulumi.set(self, "uid", value)
|
490
|
+
|
491
|
+
@property
|
492
|
+
@pulumi.getter(name="updateTime")
|
493
|
+
def update_time(self) -> Optional[pulumi.Input[str]]:
|
494
|
+
"""
|
495
|
+
The last-modified time.
|
496
|
+
"""
|
497
|
+
return pulumi.get(self, "update_time")
|
498
|
+
|
499
|
+
@update_time.setter
|
500
|
+
def update_time(self, value: Optional[pulumi.Input[str]]):
|
501
|
+
pulumi.set(self, "update_time", value)
|
502
|
+
|
503
|
+
|
504
|
+
class Enrollment(pulumi.CustomResource):
|
505
|
+
@overload
|
506
|
+
def __init__(__self__,
|
507
|
+
resource_name: str,
|
508
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
509
|
+
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
510
|
+
cel_match: Optional[pulumi.Input[str]] = None,
|
511
|
+
destination: Optional[pulumi.Input[str]] = None,
|
512
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
513
|
+
enrollment_id: Optional[pulumi.Input[str]] = None,
|
514
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
515
|
+
location: Optional[pulumi.Input[str]] = None,
|
516
|
+
message_bus: Optional[pulumi.Input[str]] = None,
|
517
|
+
project: Optional[pulumi.Input[str]] = None,
|
518
|
+
__props__=None):
|
519
|
+
"""
|
520
|
+
The Eventarc Enrollment resource
|
521
|
+
|
522
|
+
To get more information about Enrollment, see:
|
523
|
+
|
524
|
+
* [API documentation](https://cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.enrollments)
|
525
|
+
* How-to Guides
|
526
|
+
* [Official Documentation](https://cloud.google.com/eventarc/advanced/docs/receive-events/create-enrollment)
|
527
|
+
|
528
|
+
## Example Usage
|
529
|
+
|
530
|
+
### Eventarc Enrollment With Pipeline Destination
|
531
|
+
|
532
|
+
```python
|
533
|
+
import pulumi
|
534
|
+
import pulumi_gcp as gcp
|
535
|
+
|
536
|
+
pipeline = gcp.eventarc.Pipeline("pipeline",
|
537
|
+
location="us-central1",
|
538
|
+
pipeline_id="some-pipeline",
|
539
|
+
destinations=[{
|
540
|
+
"http_endpoint": {
|
541
|
+
"uri": "https://10.77.0.0:80/route",
|
542
|
+
},
|
543
|
+
"network_config": {
|
544
|
+
"network_attachment": "projects/my-project-name/regions/us-central1/networkAttachments/some-network-attachment",
|
545
|
+
},
|
546
|
+
}])
|
547
|
+
primary = gcp.eventarc.Enrollment("primary",
|
548
|
+
location="us-central1",
|
549
|
+
enrollment_id="some-enrollment",
|
550
|
+
message_bus=primary_google_eventarc_message_bus["id"],
|
551
|
+
destination=pipeline.id,
|
552
|
+
cel_match="message.type == 'google.cloud.dataflow.job.v1beta3.statusChanged'")
|
553
|
+
message_bus = gcp.eventarc.MessageBus("message_bus",
|
554
|
+
location="us-central1",
|
555
|
+
message_bus_id="some-message-bus")
|
556
|
+
```
|
557
|
+
|
558
|
+
## Import
|
559
|
+
|
560
|
+
Enrollment can be imported using any of these accepted formats:
|
561
|
+
|
562
|
+
* `projects/{{project}}/locations/{{location}}/enrollments/{{enrollment_id}}`
|
563
|
+
|
564
|
+
* `{{project}}/{{location}}/{{enrollment_id}}`
|
565
|
+
|
566
|
+
* `{{location}}/{{enrollment_id}}`
|
567
|
+
|
568
|
+
When using the `pulumi import` command, Enrollment can be imported using one of the formats above. For example:
|
569
|
+
|
570
|
+
```sh
|
571
|
+
$ pulumi import gcp:eventarc/enrollment:Enrollment default projects/{{project}}/locations/{{location}}/enrollments/{{enrollment_id}}
|
572
|
+
```
|
573
|
+
|
574
|
+
```sh
|
575
|
+
$ pulumi import gcp:eventarc/enrollment:Enrollment default {{project}}/{{location}}/{{enrollment_id}}
|
576
|
+
```
|
577
|
+
|
578
|
+
```sh
|
579
|
+
$ pulumi import gcp:eventarc/enrollment:Enrollment default {{location}}/{{enrollment_id}}
|
580
|
+
```
|
581
|
+
|
582
|
+
:param str resource_name: The name of the resource.
|
583
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
584
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: Resource annotations.
|
585
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
586
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
587
|
+
:param pulumi.Input[str] cel_match: A CEL expression identifying which messages this enrollment applies to.
|
588
|
+
:param pulumi.Input[str] destination: Destination is the Pipeline that the Enrollment is delivering to. It must
|
589
|
+
point to the full resource name of a Pipeline. Format:
|
590
|
+
"projects/{PROJECT_ID}/locations/{region}/pipelines/{PIPELINE_ID)"
|
591
|
+
:param pulumi.Input[str] display_name: Resource display name.
|
592
|
+
:param pulumi.Input[str] enrollment_id: The user-provided ID to be assigned to the Enrollment. It should match the
|
593
|
+
format `^a-z?$`.
|
594
|
+
|
595
|
+
|
596
|
+
- - -
|
597
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Resource labels.
|
598
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
599
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
600
|
+
:param pulumi.Input[str] location: Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
601
|
+
:param pulumi.Input[str] message_bus: Resource name of the message bus identifying the source of the messages. It
|
602
|
+
matches the form
|
603
|
+
projects/{project}/locations/{location}/messageBuses/{messageBus}.
|
604
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
605
|
+
If it is not provided, the provider project is used.
|
606
|
+
"""
|
607
|
+
...
|
608
|
+
@overload
|
609
|
+
def __init__(__self__,
|
610
|
+
resource_name: str,
|
611
|
+
args: EnrollmentArgs,
|
612
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
613
|
+
"""
|
614
|
+
The Eventarc Enrollment resource
|
615
|
+
|
616
|
+
To get more information about Enrollment, see:
|
617
|
+
|
618
|
+
* [API documentation](https://cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.enrollments)
|
619
|
+
* How-to Guides
|
620
|
+
* [Official Documentation](https://cloud.google.com/eventarc/advanced/docs/receive-events/create-enrollment)
|
621
|
+
|
622
|
+
## Example Usage
|
623
|
+
|
624
|
+
### Eventarc Enrollment With Pipeline Destination
|
625
|
+
|
626
|
+
```python
|
627
|
+
import pulumi
|
628
|
+
import pulumi_gcp as gcp
|
629
|
+
|
630
|
+
pipeline = gcp.eventarc.Pipeline("pipeline",
|
631
|
+
location="us-central1",
|
632
|
+
pipeline_id="some-pipeline",
|
633
|
+
destinations=[{
|
634
|
+
"http_endpoint": {
|
635
|
+
"uri": "https://10.77.0.0:80/route",
|
636
|
+
},
|
637
|
+
"network_config": {
|
638
|
+
"network_attachment": "projects/my-project-name/regions/us-central1/networkAttachments/some-network-attachment",
|
639
|
+
},
|
640
|
+
}])
|
641
|
+
primary = gcp.eventarc.Enrollment("primary",
|
642
|
+
location="us-central1",
|
643
|
+
enrollment_id="some-enrollment",
|
644
|
+
message_bus=primary_google_eventarc_message_bus["id"],
|
645
|
+
destination=pipeline.id,
|
646
|
+
cel_match="message.type == 'google.cloud.dataflow.job.v1beta3.statusChanged'")
|
647
|
+
message_bus = gcp.eventarc.MessageBus("message_bus",
|
648
|
+
location="us-central1",
|
649
|
+
message_bus_id="some-message-bus")
|
650
|
+
```
|
651
|
+
|
652
|
+
## Import
|
653
|
+
|
654
|
+
Enrollment can be imported using any of these accepted formats:
|
655
|
+
|
656
|
+
* `projects/{{project}}/locations/{{location}}/enrollments/{{enrollment_id}}`
|
657
|
+
|
658
|
+
* `{{project}}/{{location}}/{{enrollment_id}}`
|
659
|
+
|
660
|
+
* `{{location}}/{{enrollment_id}}`
|
661
|
+
|
662
|
+
When using the `pulumi import` command, Enrollment can be imported using one of the formats above. For example:
|
663
|
+
|
664
|
+
```sh
|
665
|
+
$ pulumi import gcp:eventarc/enrollment:Enrollment default projects/{{project}}/locations/{{location}}/enrollments/{{enrollment_id}}
|
666
|
+
```
|
667
|
+
|
668
|
+
```sh
|
669
|
+
$ pulumi import gcp:eventarc/enrollment:Enrollment default {{project}}/{{location}}/{{enrollment_id}}
|
670
|
+
```
|
671
|
+
|
672
|
+
```sh
|
673
|
+
$ pulumi import gcp:eventarc/enrollment:Enrollment default {{location}}/{{enrollment_id}}
|
674
|
+
```
|
675
|
+
|
676
|
+
:param str resource_name: The name of the resource.
|
677
|
+
:param EnrollmentArgs args: The arguments to use to populate this resource's properties.
|
678
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
679
|
+
"""
|
680
|
+
...
|
681
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
682
|
+
resource_args, opts = _utilities.get_resource_args_opts(EnrollmentArgs, pulumi.ResourceOptions, *args, **kwargs)
|
683
|
+
if resource_args is not None:
|
684
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
685
|
+
else:
|
686
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
687
|
+
|
688
|
+
def _internal_init(__self__,
|
689
|
+
resource_name: str,
|
690
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
691
|
+
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
692
|
+
cel_match: Optional[pulumi.Input[str]] = None,
|
693
|
+
destination: Optional[pulumi.Input[str]] = None,
|
694
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
695
|
+
enrollment_id: Optional[pulumi.Input[str]] = None,
|
696
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
697
|
+
location: Optional[pulumi.Input[str]] = None,
|
698
|
+
message_bus: Optional[pulumi.Input[str]] = None,
|
699
|
+
project: Optional[pulumi.Input[str]] = None,
|
700
|
+
__props__=None):
|
701
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
702
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
703
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
704
|
+
if opts.id is None:
|
705
|
+
if __props__ is not None:
|
706
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
707
|
+
__props__ = EnrollmentArgs.__new__(EnrollmentArgs)
|
708
|
+
|
709
|
+
__props__.__dict__["annotations"] = annotations
|
710
|
+
if cel_match is None and not opts.urn:
|
711
|
+
raise TypeError("Missing required property 'cel_match'")
|
712
|
+
__props__.__dict__["cel_match"] = cel_match
|
713
|
+
if destination is None and not opts.urn:
|
714
|
+
raise TypeError("Missing required property 'destination'")
|
715
|
+
__props__.__dict__["destination"] = destination
|
716
|
+
__props__.__dict__["display_name"] = display_name
|
717
|
+
if enrollment_id is None and not opts.urn:
|
718
|
+
raise TypeError("Missing required property 'enrollment_id'")
|
719
|
+
__props__.__dict__["enrollment_id"] = enrollment_id
|
720
|
+
__props__.__dict__["labels"] = labels
|
721
|
+
if location is None and not opts.urn:
|
722
|
+
raise TypeError("Missing required property 'location'")
|
723
|
+
__props__.__dict__["location"] = location
|
724
|
+
if message_bus is None and not opts.urn:
|
725
|
+
raise TypeError("Missing required property 'message_bus'")
|
726
|
+
__props__.__dict__["message_bus"] = message_bus
|
727
|
+
__props__.__dict__["project"] = project
|
728
|
+
__props__.__dict__["create_time"] = None
|
729
|
+
__props__.__dict__["effective_annotations"] = None
|
730
|
+
__props__.__dict__["effective_labels"] = None
|
731
|
+
__props__.__dict__["etag"] = None
|
732
|
+
__props__.__dict__["name"] = None
|
733
|
+
__props__.__dict__["pulumi_labels"] = None
|
734
|
+
__props__.__dict__["uid"] = None
|
735
|
+
__props__.__dict__["update_time"] = None
|
736
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["effectiveLabels", "pulumiLabels"])
|
737
|
+
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
738
|
+
super(Enrollment, __self__).__init__(
|
739
|
+
'gcp:eventarc/enrollment:Enrollment',
|
740
|
+
resource_name,
|
741
|
+
__props__,
|
742
|
+
opts)
|
743
|
+
|
744
|
+
@staticmethod
|
745
|
+
def get(resource_name: str,
|
746
|
+
id: pulumi.Input[str],
|
747
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
748
|
+
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
749
|
+
cel_match: Optional[pulumi.Input[str]] = None,
|
750
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
751
|
+
destination: Optional[pulumi.Input[str]] = None,
|
752
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
753
|
+
effective_annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
754
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
755
|
+
enrollment_id: Optional[pulumi.Input[str]] = None,
|
756
|
+
etag: Optional[pulumi.Input[str]] = None,
|
757
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
758
|
+
location: Optional[pulumi.Input[str]] = None,
|
759
|
+
message_bus: Optional[pulumi.Input[str]] = None,
|
760
|
+
name: Optional[pulumi.Input[str]] = None,
|
761
|
+
project: Optional[pulumi.Input[str]] = None,
|
762
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
763
|
+
uid: Optional[pulumi.Input[str]] = None,
|
764
|
+
update_time: Optional[pulumi.Input[str]] = None) -> 'Enrollment':
|
765
|
+
"""
|
766
|
+
Get an existing Enrollment resource's state with the given name, id, and optional extra
|
767
|
+
properties used to qualify the lookup.
|
768
|
+
|
769
|
+
:param str resource_name: The unique name of the resulting resource.
|
770
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
771
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
772
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: Resource annotations.
|
773
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
774
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
775
|
+
:param pulumi.Input[str] cel_match: A CEL expression identifying which messages this enrollment applies to.
|
776
|
+
:param pulumi.Input[str] create_time: The creation time.
|
777
|
+
:param pulumi.Input[str] destination: Destination is the Pipeline that the Enrollment is delivering to. It must
|
778
|
+
point to the full resource name of a Pipeline. Format:
|
779
|
+
"projects/{PROJECT_ID}/locations/{region}/pipelines/{PIPELINE_ID)"
|
780
|
+
:param pulumi.Input[str] display_name: Resource display name.
|
781
|
+
: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.
|
782
|
+
:param pulumi.Input[str] enrollment_id: The user-provided ID to be assigned to the Enrollment. It should match the
|
783
|
+
format `^a-z?$`.
|
784
|
+
|
785
|
+
|
786
|
+
- - -
|
787
|
+
:param pulumi.Input[str] etag: This checksum is computed by the server based on the value of other
|
788
|
+
fields, and might be sent only on update and delete requests to ensure that
|
789
|
+
the client has an up-to-date value before proceeding.
|
790
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Resource labels.
|
791
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
792
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
793
|
+
:param pulumi.Input[str] location: Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
794
|
+
:param pulumi.Input[str] message_bus: Resource name of the message bus identifying the source of the messages. It
|
795
|
+
matches the form
|
796
|
+
projects/{project}/locations/{location}/messageBuses/{messageBus}.
|
797
|
+
:param pulumi.Input[str] name: Resource name of the form
|
798
|
+
projects/{project}/locations/{location}/enrollments/{enrollment}
|
799
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
800
|
+
If it is not provided, the provider project is used.
|
801
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
802
|
+
and default labels configured on the provider.
|
803
|
+
:param pulumi.Input[str] uid: Server assigned unique identifier for the channel. The value is a UUID4
|
804
|
+
string and guaranteed to remain unchanged until the resource is deleted.
|
805
|
+
:param pulumi.Input[str] update_time: The last-modified time.
|
806
|
+
"""
|
807
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
808
|
+
|
809
|
+
__props__ = _EnrollmentState.__new__(_EnrollmentState)
|
810
|
+
|
811
|
+
__props__.__dict__["annotations"] = annotations
|
812
|
+
__props__.__dict__["cel_match"] = cel_match
|
813
|
+
__props__.__dict__["create_time"] = create_time
|
814
|
+
__props__.__dict__["destination"] = destination
|
815
|
+
__props__.__dict__["display_name"] = display_name
|
816
|
+
__props__.__dict__["effective_annotations"] = effective_annotations
|
817
|
+
__props__.__dict__["effective_labels"] = effective_labels
|
818
|
+
__props__.__dict__["enrollment_id"] = enrollment_id
|
819
|
+
__props__.__dict__["etag"] = etag
|
820
|
+
__props__.__dict__["labels"] = labels
|
821
|
+
__props__.__dict__["location"] = location
|
822
|
+
__props__.__dict__["message_bus"] = message_bus
|
823
|
+
__props__.__dict__["name"] = name
|
824
|
+
__props__.__dict__["project"] = project
|
825
|
+
__props__.__dict__["pulumi_labels"] = pulumi_labels
|
826
|
+
__props__.__dict__["uid"] = uid
|
827
|
+
__props__.__dict__["update_time"] = update_time
|
828
|
+
return Enrollment(resource_name, opts=opts, __props__=__props__)
|
829
|
+
|
830
|
+
@property
|
831
|
+
@pulumi.getter
|
832
|
+
def annotations(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
833
|
+
"""
|
834
|
+
Resource annotations.
|
835
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
836
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
837
|
+
"""
|
838
|
+
return pulumi.get(self, "annotations")
|
839
|
+
|
840
|
+
@property
|
841
|
+
@pulumi.getter(name="celMatch")
|
842
|
+
def cel_match(self) -> pulumi.Output[str]:
|
843
|
+
"""
|
844
|
+
A CEL expression identifying which messages this enrollment applies to.
|
845
|
+
"""
|
846
|
+
return pulumi.get(self, "cel_match")
|
847
|
+
|
848
|
+
@property
|
849
|
+
@pulumi.getter(name="createTime")
|
850
|
+
def create_time(self) -> pulumi.Output[str]:
|
851
|
+
"""
|
852
|
+
The creation time.
|
853
|
+
"""
|
854
|
+
return pulumi.get(self, "create_time")
|
855
|
+
|
856
|
+
@property
|
857
|
+
@pulumi.getter
|
858
|
+
def destination(self) -> pulumi.Output[str]:
|
859
|
+
"""
|
860
|
+
Destination is the Pipeline that the Enrollment is delivering to. It must
|
861
|
+
point to the full resource name of a Pipeline. Format:
|
862
|
+
"projects/{PROJECT_ID}/locations/{region}/pipelines/{PIPELINE_ID)"
|
863
|
+
"""
|
864
|
+
return pulumi.get(self, "destination")
|
865
|
+
|
866
|
+
@property
|
867
|
+
@pulumi.getter(name="displayName")
|
868
|
+
def display_name(self) -> pulumi.Output[Optional[str]]:
|
869
|
+
"""
|
870
|
+
Resource display name.
|
871
|
+
"""
|
872
|
+
return pulumi.get(self, "display_name")
|
873
|
+
|
874
|
+
@property
|
875
|
+
@pulumi.getter(name="effectiveAnnotations")
|
876
|
+
def effective_annotations(self) -> pulumi.Output[Mapping[str, str]]:
|
877
|
+
return pulumi.get(self, "effective_annotations")
|
878
|
+
|
879
|
+
@property
|
880
|
+
@pulumi.getter(name="effectiveLabels")
|
881
|
+
def effective_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
882
|
+
"""
|
883
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
884
|
+
"""
|
885
|
+
return pulumi.get(self, "effective_labels")
|
886
|
+
|
887
|
+
@property
|
888
|
+
@pulumi.getter(name="enrollmentId")
|
889
|
+
def enrollment_id(self) -> pulumi.Output[str]:
|
890
|
+
"""
|
891
|
+
The user-provided ID to be assigned to the Enrollment. It should match the
|
892
|
+
format `^a-z?$`.
|
893
|
+
|
894
|
+
|
895
|
+
- - -
|
896
|
+
"""
|
897
|
+
return pulumi.get(self, "enrollment_id")
|
898
|
+
|
899
|
+
@property
|
900
|
+
@pulumi.getter
|
901
|
+
def etag(self) -> pulumi.Output[str]:
|
902
|
+
"""
|
903
|
+
This checksum is computed by the server based on the value of other
|
904
|
+
fields, and might be sent only on update and delete requests to ensure that
|
905
|
+
the client has an up-to-date value before proceeding.
|
906
|
+
"""
|
907
|
+
return pulumi.get(self, "etag")
|
908
|
+
|
909
|
+
@property
|
910
|
+
@pulumi.getter
|
911
|
+
def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
912
|
+
"""
|
913
|
+
Resource labels.
|
914
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
915
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
916
|
+
"""
|
917
|
+
return pulumi.get(self, "labels")
|
918
|
+
|
919
|
+
@property
|
920
|
+
@pulumi.getter
|
921
|
+
def location(self) -> pulumi.Output[str]:
|
922
|
+
"""
|
923
|
+
Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
924
|
+
"""
|
925
|
+
return pulumi.get(self, "location")
|
926
|
+
|
927
|
+
@property
|
928
|
+
@pulumi.getter(name="messageBus")
|
929
|
+
def message_bus(self) -> pulumi.Output[str]:
|
930
|
+
"""
|
931
|
+
Resource name of the message bus identifying the source of the messages. It
|
932
|
+
matches the form
|
933
|
+
projects/{project}/locations/{location}/messageBuses/{messageBus}.
|
934
|
+
"""
|
935
|
+
return pulumi.get(self, "message_bus")
|
936
|
+
|
937
|
+
@property
|
938
|
+
@pulumi.getter
|
939
|
+
def name(self) -> pulumi.Output[str]:
|
940
|
+
"""
|
941
|
+
Resource name of the form
|
942
|
+
projects/{project}/locations/{location}/enrollments/{enrollment}
|
943
|
+
"""
|
944
|
+
return pulumi.get(self, "name")
|
945
|
+
|
946
|
+
@property
|
947
|
+
@pulumi.getter
|
948
|
+
def project(self) -> pulumi.Output[str]:
|
949
|
+
"""
|
950
|
+
The ID of the project in which the resource belongs.
|
951
|
+
If it is not provided, the provider project is used.
|
952
|
+
"""
|
953
|
+
return pulumi.get(self, "project")
|
954
|
+
|
955
|
+
@property
|
956
|
+
@pulumi.getter(name="pulumiLabels")
|
957
|
+
def pulumi_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
958
|
+
"""
|
959
|
+
The combination of labels configured directly on the resource
|
960
|
+
and default labels configured on the provider.
|
961
|
+
"""
|
962
|
+
return pulumi.get(self, "pulumi_labels")
|
963
|
+
|
964
|
+
@property
|
965
|
+
@pulumi.getter
|
966
|
+
def uid(self) -> pulumi.Output[str]:
|
967
|
+
"""
|
968
|
+
Server assigned unique identifier for the channel. The value is a UUID4
|
969
|
+
string and guaranteed to remain unchanged until the resource is deleted.
|
970
|
+
"""
|
971
|
+
return pulumi.get(self, "uid")
|
972
|
+
|
973
|
+
@property
|
974
|
+
@pulumi.getter(name="updateTime")
|
975
|
+
def update_time(self) -> pulumi.Output[str]:
|
976
|
+
"""
|
977
|
+
The last-modified time.
|
978
|
+
"""
|
979
|
+
return pulumi.get(self, "update_time")
|
980
|
+
|