pulumi-gcp 8.3.0a1726834947__py3-none-any.whl → 8.3.0a1727226164__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 +120 -0
- pulumi_gcp/alloydb/_inputs.py +20 -0
- pulumi_gcp/alloydb/instance.py +36 -0
- pulumi_gcp/alloydb/outputs.py +14 -0
- pulumi_gcp/compute/__init__.py +1 -0
- pulumi_gcp/compute/_inputs.py +1400 -0
- pulumi_gcp/compute/attached_disk.py +103 -0
- pulumi_gcp/compute/backend_service.py +29 -22
- pulumi_gcp/compute/firewall_policy_with_rules.py +769 -0
- pulumi_gcp/compute/outputs.py +1019 -0
- pulumi_gcp/compute/region_backend_service.py +29 -22
- pulumi_gcp/compute/router_nat.py +27 -66
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +72 -99
- pulumi_gcp/container/outputs.py +53 -70
- pulumi_gcp/databasemigrationservice/__init__.py +1 -0
- pulumi_gcp/databasemigrationservice/_inputs.py +362 -0
- pulumi_gcp/databasemigrationservice/migration_job.py +1739 -0
- pulumi_gcp/databasemigrationservice/outputs.py +268 -0
- pulumi_gcp/dataproc/get_metastore_service.py +11 -1
- pulumi_gcp/dataproc/metastore_service.py +93 -0
- pulumi_gcp/developerconnect/_inputs.py +42 -39
- pulumi_gcp/developerconnect/connection.py +86 -83
- pulumi_gcp/developerconnect/outputs.py +28 -26
- pulumi_gcp/discoveryengine/__init__.py +1 -0
- pulumi_gcp/discoveryengine/_inputs.py +131 -0
- pulumi_gcp/discoveryengine/outputs.py +131 -0
- pulumi_gcp/discoveryengine/target_site.py +870 -0
- pulumi_gcp/dns/managed_zone.py +1 -1
- pulumi_gcp/filestore/get_instance.py +21 -1
- pulumi_gcp/filestore/instance.py +94 -0
- pulumi_gcp/gkehub/feature_membership.py +140 -62
- pulumi_gcp/healthcare/__init__.py +1 -0
- pulumi_gcp/healthcare/_inputs.py +39 -0
- pulumi_gcp/healthcare/outputs.py +40 -0
- pulumi_gcp/healthcare/workspace.py +465 -0
- pulumi_gcp/looker/instance.py +81 -0
- pulumi_gcp/netapp/_inputs.py +63 -0
- pulumi_gcp/netapp/outputs.py +57 -0
- pulumi_gcp/netapp/storage_pool.py +54 -0
- pulumi_gcp/netapp/volume.py +82 -0
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pubsub/subscription.py +43 -7
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/secretmanager/__init__.py +8 -0
- pulumi_gcp/secretmanager/_inputs.py +308 -0
- pulumi_gcp/secretmanager/get_regional_secret.py +279 -0
- pulumi_gcp/secretmanager/get_regional_secret_iam_policy.py +173 -0
- pulumi_gcp/secretmanager/get_regional_secret_version.py +241 -0
- pulumi_gcp/secretmanager/outputs.py +336 -0
- pulumi_gcp/secretmanager/regional_secret.py +1433 -0
- pulumi_gcp/secretmanager/regional_secret_iam_binding.py +1082 -0
- pulumi_gcp/secretmanager/regional_secret_iam_member.py +1082 -0
- pulumi_gcp/secretmanager/regional_secret_iam_policy.py +901 -0
- pulumi_gcp/secretmanager/regional_secret_version.py +753 -0
- pulumi_gcp/securitycenter/__init__.py +4 -0
- pulumi_gcp/securitycenter/folder_scc_big_query_export.py +795 -0
- pulumi_gcp/securitycenter/organization_scc_big_query_export.py +738 -0
- pulumi_gcp/securitycenter/project_scc_big_query_export.py +749 -0
- pulumi_gcp/securitycenter/v2_organization_scc_big_query_export.py +862 -0
- pulumi_gcp/securitycenter/v2_organization_scc_big_query_exports.py +6 -2
- pulumi_gcp/siteverification/__init__.py +3 -0
- pulumi_gcp/siteverification/_inputs.py +85 -0
- pulumi_gcp/siteverification/outputs.py +57 -0
- pulumi_gcp/siteverification/web_resource.py +398 -0
- pulumi_gcp/spanner/__init__.py +1 -0
- pulumi_gcp/spanner/_inputs.py +129 -0
- pulumi_gcp/spanner/backup_schedule.py +748 -0
- pulumi_gcp/spanner/get_instance.py +11 -1
- pulumi_gcp/spanner/instance.py +56 -0
- pulumi_gcp/spanner/outputs.py +93 -0
- {pulumi_gcp-8.3.0a1726834947.dist-info → pulumi_gcp-8.3.0a1727226164.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.3.0a1726834947.dist-info → pulumi_gcp-8.3.0a1727226164.dist-info}/RECORD +76 -56
- {pulumi_gcp-8.3.0a1726834947.dist-info → pulumi_gcp-8.3.0a1727226164.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.3.0a1726834947.dist-info → pulumi_gcp-8.3.0a1727226164.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,738 @@
|
|
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__ = ['OrganizationSccBigQueryExportArgs', 'OrganizationSccBigQueryExport']
|
18
|
+
|
19
|
+
@pulumi.input_type
|
20
|
+
class OrganizationSccBigQueryExportArgs:
|
21
|
+
def __init__(__self__, *,
|
22
|
+
big_query_export_id: pulumi.Input[str],
|
23
|
+
organization: pulumi.Input[str],
|
24
|
+
dataset: Optional[pulumi.Input[str]] = None,
|
25
|
+
description: Optional[pulumi.Input[str]] = None,
|
26
|
+
filter: Optional[pulumi.Input[str]] = None):
|
27
|
+
"""
|
28
|
+
The set of arguments for constructing a OrganizationSccBigQueryExport resource.
|
29
|
+
:param pulumi.Input[str] big_query_export_id: This must be unique within the organization.
|
30
|
+
|
31
|
+
|
32
|
+
- - -
|
33
|
+
:param pulumi.Input[str] organization: The organization whose Cloud Security Command Center the Big Query Export
|
34
|
+
Config lives in.
|
35
|
+
:param pulumi.Input[str] dataset: The dataset to write findings' updates to.
|
36
|
+
Its format is "projects/[projectId]/datasets/[bigquery_dataset_id]".
|
37
|
+
BigQuery Dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
|
38
|
+
:param pulumi.Input[str] description: The description of the notification config (max of 1024 characters).
|
39
|
+
:param pulumi.Input[str] filter: Expression that defines the filter to apply across create/update
|
40
|
+
events of findings. The
|
41
|
+
expression is a list of zero or more restrictions combined via
|
42
|
+
logical operators AND and OR. Parentheses are supported, and OR
|
43
|
+
has higher precedence than AND.
|
44
|
+
Restrictions have the form <field> <operator> <value> and may have
|
45
|
+
a - character in front of them to indicate negation. The fields
|
46
|
+
map to those defined in the corresponding resource.
|
47
|
+
The supported operators are:
|
48
|
+
* = for all value types.
|
49
|
+
* \\>, <, >=, <= for integer values.
|
50
|
+
* :, meaning substring matching, for strings.
|
51
|
+
The supported value types are:
|
52
|
+
* string literals in quotes.
|
53
|
+
* integer literals without quotes.
|
54
|
+
* boolean literals true and false without quotes.
|
55
|
+
See
|
56
|
+
[Filtering notifications](https://cloud.google.com/security-command-center/docs/how-to-api-filter-notifications)
|
57
|
+
for information on how to write a filter.
|
58
|
+
"""
|
59
|
+
pulumi.set(__self__, "big_query_export_id", big_query_export_id)
|
60
|
+
pulumi.set(__self__, "organization", organization)
|
61
|
+
if dataset is not None:
|
62
|
+
pulumi.set(__self__, "dataset", dataset)
|
63
|
+
if description is not None:
|
64
|
+
pulumi.set(__self__, "description", description)
|
65
|
+
if filter is not None:
|
66
|
+
pulumi.set(__self__, "filter", filter)
|
67
|
+
|
68
|
+
@property
|
69
|
+
@pulumi.getter(name="bigQueryExportId")
|
70
|
+
def big_query_export_id(self) -> pulumi.Input[str]:
|
71
|
+
"""
|
72
|
+
This must be unique within the organization.
|
73
|
+
|
74
|
+
|
75
|
+
- - -
|
76
|
+
"""
|
77
|
+
return pulumi.get(self, "big_query_export_id")
|
78
|
+
|
79
|
+
@big_query_export_id.setter
|
80
|
+
def big_query_export_id(self, value: pulumi.Input[str]):
|
81
|
+
pulumi.set(self, "big_query_export_id", value)
|
82
|
+
|
83
|
+
@property
|
84
|
+
@pulumi.getter
|
85
|
+
def organization(self) -> pulumi.Input[str]:
|
86
|
+
"""
|
87
|
+
The organization whose Cloud Security Command Center the Big Query Export
|
88
|
+
Config lives in.
|
89
|
+
"""
|
90
|
+
return pulumi.get(self, "organization")
|
91
|
+
|
92
|
+
@organization.setter
|
93
|
+
def organization(self, value: pulumi.Input[str]):
|
94
|
+
pulumi.set(self, "organization", value)
|
95
|
+
|
96
|
+
@property
|
97
|
+
@pulumi.getter
|
98
|
+
def dataset(self) -> Optional[pulumi.Input[str]]:
|
99
|
+
"""
|
100
|
+
The dataset to write findings' updates to.
|
101
|
+
Its format is "projects/[projectId]/datasets/[bigquery_dataset_id]".
|
102
|
+
BigQuery Dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
|
103
|
+
"""
|
104
|
+
return pulumi.get(self, "dataset")
|
105
|
+
|
106
|
+
@dataset.setter
|
107
|
+
def dataset(self, value: Optional[pulumi.Input[str]]):
|
108
|
+
pulumi.set(self, "dataset", value)
|
109
|
+
|
110
|
+
@property
|
111
|
+
@pulumi.getter
|
112
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
113
|
+
"""
|
114
|
+
The description of the notification config (max of 1024 characters).
|
115
|
+
"""
|
116
|
+
return pulumi.get(self, "description")
|
117
|
+
|
118
|
+
@description.setter
|
119
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
120
|
+
pulumi.set(self, "description", value)
|
121
|
+
|
122
|
+
@property
|
123
|
+
@pulumi.getter
|
124
|
+
def filter(self) -> Optional[pulumi.Input[str]]:
|
125
|
+
"""
|
126
|
+
Expression that defines the filter to apply across create/update
|
127
|
+
events of findings. The
|
128
|
+
expression is a list of zero or more restrictions combined via
|
129
|
+
logical operators AND and OR. Parentheses are supported, and OR
|
130
|
+
has higher precedence than AND.
|
131
|
+
Restrictions have the form <field> <operator> <value> and may have
|
132
|
+
a - character in front of them to indicate negation. The fields
|
133
|
+
map to those defined in the corresponding resource.
|
134
|
+
The supported operators are:
|
135
|
+
* = for all value types.
|
136
|
+
* \\>, <, >=, <= for integer values.
|
137
|
+
* :, meaning substring matching, for strings.
|
138
|
+
The supported value types are:
|
139
|
+
* string literals in quotes.
|
140
|
+
* integer literals without quotes.
|
141
|
+
* boolean literals true and false without quotes.
|
142
|
+
See
|
143
|
+
[Filtering notifications](https://cloud.google.com/security-command-center/docs/how-to-api-filter-notifications)
|
144
|
+
for information on how to write a filter.
|
145
|
+
"""
|
146
|
+
return pulumi.get(self, "filter")
|
147
|
+
|
148
|
+
@filter.setter
|
149
|
+
def filter(self, value: Optional[pulumi.Input[str]]):
|
150
|
+
pulumi.set(self, "filter", value)
|
151
|
+
|
152
|
+
|
153
|
+
@pulumi.input_type
|
154
|
+
class _OrganizationSccBigQueryExportState:
|
155
|
+
def __init__(__self__, *,
|
156
|
+
big_query_export_id: Optional[pulumi.Input[str]] = None,
|
157
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
158
|
+
dataset: Optional[pulumi.Input[str]] = None,
|
159
|
+
description: Optional[pulumi.Input[str]] = None,
|
160
|
+
filter: Optional[pulumi.Input[str]] = None,
|
161
|
+
most_recent_editor: Optional[pulumi.Input[str]] = None,
|
162
|
+
name: Optional[pulumi.Input[str]] = None,
|
163
|
+
organization: Optional[pulumi.Input[str]] = None,
|
164
|
+
principal: Optional[pulumi.Input[str]] = None,
|
165
|
+
update_time: Optional[pulumi.Input[str]] = None):
|
166
|
+
"""
|
167
|
+
Input properties used for looking up and filtering OrganizationSccBigQueryExport resources.
|
168
|
+
:param pulumi.Input[str] big_query_export_id: This must be unique within the organization.
|
169
|
+
|
170
|
+
|
171
|
+
- - -
|
172
|
+
:param pulumi.Input[str] create_time: The time at which the BigQuery export was created. This field is set by the server and will be ignored if provided on export on creation.
|
173
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
|
174
|
+
Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
175
|
+
:param pulumi.Input[str] dataset: The dataset to write findings' updates to.
|
176
|
+
Its format is "projects/[projectId]/datasets/[bigquery_dataset_id]".
|
177
|
+
BigQuery Dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
|
178
|
+
:param pulumi.Input[str] description: The description of the notification config (max of 1024 characters).
|
179
|
+
:param pulumi.Input[str] filter: Expression that defines the filter to apply across create/update
|
180
|
+
events of findings. The
|
181
|
+
expression is a list of zero or more restrictions combined via
|
182
|
+
logical operators AND and OR. Parentheses are supported, and OR
|
183
|
+
has higher precedence than AND.
|
184
|
+
Restrictions have the form <field> <operator> <value> and may have
|
185
|
+
a - character in front of them to indicate negation. The fields
|
186
|
+
map to those defined in the corresponding resource.
|
187
|
+
The supported operators are:
|
188
|
+
* = for all value types.
|
189
|
+
* \\>, <, >=, <= for integer values.
|
190
|
+
* :, meaning substring matching, for strings.
|
191
|
+
The supported value types are:
|
192
|
+
* string literals in quotes.
|
193
|
+
* integer literals without quotes.
|
194
|
+
* boolean literals true and false without quotes.
|
195
|
+
See
|
196
|
+
[Filtering notifications](https://cloud.google.com/security-command-center/docs/how-to-api-filter-notifications)
|
197
|
+
for information on how to write a filter.
|
198
|
+
:param pulumi.Input[str] most_recent_editor: Email address of the user who last edited the BigQuery export.
|
199
|
+
This field is set by the server and will be ignored if provided on export creation or update.
|
200
|
+
:param pulumi.Input[str] name: The resource name of this export, in the format
|
201
|
+
`organizations/{{organization}}/bigQueryExports/{{big_query_export_id}}`.
|
202
|
+
This field is provided in responses, and is ignored when provided in create requests.
|
203
|
+
:param pulumi.Input[str] organization: The organization whose Cloud Security Command Center the Big Query Export
|
204
|
+
Config lives in.
|
205
|
+
:param pulumi.Input[str] principal: The service account that needs permission to create table and upload data to the BigQuery dataset.
|
206
|
+
:param pulumi.Input[str] update_time: The most recent time at which the BigQuery export was updated. This field is set by the server and will be ignored if provided on export creation or update.
|
207
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
|
208
|
+
Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
209
|
+
"""
|
210
|
+
if big_query_export_id is not None:
|
211
|
+
pulumi.set(__self__, "big_query_export_id", big_query_export_id)
|
212
|
+
if create_time is not None:
|
213
|
+
pulumi.set(__self__, "create_time", create_time)
|
214
|
+
if dataset is not None:
|
215
|
+
pulumi.set(__self__, "dataset", dataset)
|
216
|
+
if description is not None:
|
217
|
+
pulumi.set(__self__, "description", description)
|
218
|
+
if filter is not None:
|
219
|
+
pulumi.set(__self__, "filter", filter)
|
220
|
+
if most_recent_editor is not None:
|
221
|
+
pulumi.set(__self__, "most_recent_editor", most_recent_editor)
|
222
|
+
if name is not None:
|
223
|
+
pulumi.set(__self__, "name", name)
|
224
|
+
if organization is not None:
|
225
|
+
pulumi.set(__self__, "organization", organization)
|
226
|
+
if principal is not None:
|
227
|
+
pulumi.set(__self__, "principal", principal)
|
228
|
+
if update_time is not None:
|
229
|
+
pulumi.set(__self__, "update_time", update_time)
|
230
|
+
|
231
|
+
@property
|
232
|
+
@pulumi.getter(name="bigQueryExportId")
|
233
|
+
def big_query_export_id(self) -> Optional[pulumi.Input[str]]:
|
234
|
+
"""
|
235
|
+
This must be unique within the organization.
|
236
|
+
|
237
|
+
|
238
|
+
- - -
|
239
|
+
"""
|
240
|
+
return pulumi.get(self, "big_query_export_id")
|
241
|
+
|
242
|
+
@big_query_export_id.setter
|
243
|
+
def big_query_export_id(self, value: Optional[pulumi.Input[str]]):
|
244
|
+
pulumi.set(self, "big_query_export_id", value)
|
245
|
+
|
246
|
+
@property
|
247
|
+
@pulumi.getter(name="createTime")
|
248
|
+
def create_time(self) -> Optional[pulumi.Input[str]]:
|
249
|
+
"""
|
250
|
+
The time at which the BigQuery export was created. This field is set by the server and will be ignored if provided on export on creation.
|
251
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
|
252
|
+
Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
253
|
+
"""
|
254
|
+
return pulumi.get(self, "create_time")
|
255
|
+
|
256
|
+
@create_time.setter
|
257
|
+
def create_time(self, value: Optional[pulumi.Input[str]]):
|
258
|
+
pulumi.set(self, "create_time", value)
|
259
|
+
|
260
|
+
@property
|
261
|
+
@pulumi.getter
|
262
|
+
def dataset(self) -> Optional[pulumi.Input[str]]:
|
263
|
+
"""
|
264
|
+
The dataset to write findings' updates to.
|
265
|
+
Its format is "projects/[projectId]/datasets/[bigquery_dataset_id]".
|
266
|
+
BigQuery Dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
|
267
|
+
"""
|
268
|
+
return pulumi.get(self, "dataset")
|
269
|
+
|
270
|
+
@dataset.setter
|
271
|
+
def dataset(self, value: Optional[pulumi.Input[str]]):
|
272
|
+
pulumi.set(self, "dataset", value)
|
273
|
+
|
274
|
+
@property
|
275
|
+
@pulumi.getter
|
276
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
277
|
+
"""
|
278
|
+
The description of the notification config (max of 1024 characters).
|
279
|
+
"""
|
280
|
+
return pulumi.get(self, "description")
|
281
|
+
|
282
|
+
@description.setter
|
283
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
284
|
+
pulumi.set(self, "description", value)
|
285
|
+
|
286
|
+
@property
|
287
|
+
@pulumi.getter
|
288
|
+
def filter(self) -> Optional[pulumi.Input[str]]:
|
289
|
+
"""
|
290
|
+
Expression that defines the filter to apply across create/update
|
291
|
+
events of findings. The
|
292
|
+
expression is a list of zero or more restrictions combined via
|
293
|
+
logical operators AND and OR. Parentheses are supported, and OR
|
294
|
+
has higher precedence than AND.
|
295
|
+
Restrictions have the form <field> <operator> <value> and may have
|
296
|
+
a - character in front of them to indicate negation. The fields
|
297
|
+
map to those defined in the corresponding resource.
|
298
|
+
The supported operators are:
|
299
|
+
* = for all value types.
|
300
|
+
* \\>, <, >=, <= for integer values.
|
301
|
+
* :, meaning substring matching, for strings.
|
302
|
+
The supported value types are:
|
303
|
+
* string literals in quotes.
|
304
|
+
* integer literals without quotes.
|
305
|
+
* boolean literals true and false without quotes.
|
306
|
+
See
|
307
|
+
[Filtering notifications](https://cloud.google.com/security-command-center/docs/how-to-api-filter-notifications)
|
308
|
+
for information on how to write a filter.
|
309
|
+
"""
|
310
|
+
return pulumi.get(self, "filter")
|
311
|
+
|
312
|
+
@filter.setter
|
313
|
+
def filter(self, value: Optional[pulumi.Input[str]]):
|
314
|
+
pulumi.set(self, "filter", value)
|
315
|
+
|
316
|
+
@property
|
317
|
+
@pulumi.getter(name="mostRecentEditor")
|
318
|
+
def most_recent_editor(self) -> Optional[pulumi.Input[str]]:
|
319
|
+
"""
|
320
|
+
Email address of the user who last edited the BigQuery export.
|
321
|
+
This field is set by the server and will be ignored if provided on export creation or update.
|
322
|
+
"""
|
323
|
+
return pulumi.get(self, "most_recent_editor")
|
324
|
+
|
325
|
+
@most_recent_editor.setter
|
326
|
+
def most_recent_editor(self, value: Optional[pulumi.Input[str]]):
|
327
|
+
pulumi.set(self, "most_recent_editor", value)
|
328
|
+
|
329
|
+
@property
|
330
|
+
@pulumi.getter
|
331
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
332
|
+
"""
|
333
|
+
The resource name of this export, in the format
|
334
|
+
`organizations/{{organization}}/bigQueryExports/{{big_query_export_id}}`.
|
335
|
+
This field is provided in responses, and is ignored when provided in create requests.
|
336
|
+
"""
|
337
|
+
return pulumi.get(self, "name")
|
338
|
+
|
339
|
+
@name.setter
|
340
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
341
|
+
pulumi.set(self, "name", value)
|
342
|
+
|
343
|
+
@property
|
344
|
+
@pulumi.getter
|
345
|
+
def organization(self) -> Optional[pulumi.Input[str]]:
|
346
|
+
"""
|
347
|
+
The organization whose Cloud Security Command Center the Big Query Export
|
348
|
+
Config lives in.
|
349
|
+
"""
|
350
|
+
return pulumi.get(self, "organization")
|
351
|
+
|
352
|
+
@organization.setter
|
353
|
+
def organization(self, value: Optional[pulumi.Input[str]]):
|
354
|
+
pulumi.set(self, "organization", value)
|
355
|
+
|
356
|
+
@property
|
357
|
+
@pulumi.getter
|
358
|
+
def principal(self) -> Optional[pulumi.Input[str]]:
|
359
|
+
"""
|
360
|
+
The service account that needs permission to create table and upload data to the BigQuery dataset.
|
361
|
+
"""
|
362
|
+
return pulumi.get(self, "principal")
|
363
|
+
|
364
|
+
@principal.setter
|
365
|
+
def principal(self, value: Optional[pulumi.Input[str]]):
|
366
|
+
pulumi.set(self, "principal", value)
|
367
|
+
|
368
|
+
@property
|
369
|
+
@pulumi.getter(name="updateTime")
|
370
|
+
def update_time(self) -> Optional[pulumi.Input[str]]:
|
371
|
+
"""
|
372
|
+
The most recent time at which the BigQuery export was updated. This field is set by the server and will be ignored if provided on export creation or update.
|
373
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
|
374
|
+
Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
375
|
+
"""
|
376
|
+
return pulumi.get(self, "update_time")
|
377
|
+
|
378
|
+
@update_time.setter
|
379
|
+
def update_time(self, value: Optional[pulumi.Input[str]]):
|
380
|
+
pulumi.set(self, "update_time", value)
|
381
|
+
|
382
|
+
|
383
|
+
class OrganizationSccBigQueryExport(pulumi.CustomResource):
|
384
|
+
@overload
|
385
|
+
def __init__(__self__,
|
386
|
+
resource_name: str,
|
387
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
388
|
+
big_query_export_id: Optional[pulumi.Input[str]] = None,
|
389
|
+
dataset: Optional[pulumi.Input[str]] = None,
|
390
|
+
description: Optional[pulumi.Input[str]] = None,
|
391
|
+
filter: Optional[pulumi.Input[str]] = None,
|
392
|
+
organization: Optional[pulumi.Input[str]] = None,
|
393
|
+
__props__=None):
|
394
|
+
"""
|
395
|
+
A Cloud Security Command Center (Cloud SCC) Big Query Export Config.
|
396
|
+
It represents exporting Security Command Center data, including assets, findings, and security marks
|
397
|
+
using gcloud scc bqexports
|
398
|
+
> **Note:** In order to use Cloud SCC resources, your organization must be enrolled
|
399
|
+
in [SCC Standard/Premium](https://cloud.google.com/security-command-center/docs/quickstart-security-command-center).
|
400
|
+
Without doing so, you may run into errors during resource creation.
|
401
|
+
|
402
|
+
To get more information about OrganizationSccBigQueryExport, see:
|
403
|
+
|
404
|
+
* [API documentation](https://cloud.google.com/security-command-center/docs/reference/rest/v1/organizations.bigQueryExports)
|
405
|
+
* How-to Guides
|
406
|
+
* [Official Documentation](https://cloud.google.com/security-command-center/docs/how-to-analyze-findings-in-big-query)
|
407
|
+
|
408
|
+
## Example Usage
|
409
|
+
|
410
|
+
## Import
|
411
|
+
|
412
|
+
OrganizationSccBigQueryExport can be imported using any of these accepted formats:
|
413
|
+
|
414
|
+
* `organizations/{{organization}}/bigQueryExports/{{big_query_export_id}}`
|
415
|
+
|
416
|
+
* `{{organization}}/{{big_query_export_id}}`
|
417
|
+
|
418
|
+
When using the `pulumi import` command, OrganizationSccBigQueryExport can be imported using one of the formats above. For example:
|
419
|
+
|
420
|
+
```sh
|
421
|
+
$ pulumi import gcp:securitycenter/organizationSccBigQueryExport:OrganizationSccBigQueryExport default organizations/{{organization}}/bigQueryExports/{{big_query_export_id}}
|
422
|
+
```
|
423
|
+
|
424
|
+
```sh
|
425
|
+
$ pulumi import gcp:securitycenter/organizationSccBigQueryExport:OrganizationSccBigQueryExport default {{organization}}/{{big_query_export_id}}
|
426
|
+
```
|
427
|
+
|
428
|
+
:param str resource_name: The name of the resource.
|
429
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
430
|
+
:param pulumi.Input[str] big_query_export_id: This must be unique within the organization.
|
431
|
+
|
432
|
+
|
433
|
+
- - -
|
434
|
+
:param pulumi.Input[str] dataset: The dataset to write findings' updates to.
|
435
|
+
Its format is "projects/[projectId]/datasets/[bigquery_dataset_id]".
|
436
|
+
BigQuery Dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
|
437
|
+
:param pulumi.Input[str] description: The description of the notification config (max of 1024 characters).
|
438
|
+
:param pulumi.Input[str] filter: Expression that defines the filter to apply across create/update
|
439
|
+
events of findings. The
|
440
|
+
expression is a list of zero or more restrictions combined via
|
441
|
+
logical operators AND and OR. Parentheses are supported, and OR
|
442
|
+
has higher precedence than AND.
|
443
|
+
Restrictions have the form <field> <operator> <value> and may have
|
444
|
+
a - character in front of them to indicate negation. The fields
|
445
|
+
map to those defined in the corresponding resource.
|
446
|
+
The supported operators are:
|
447
|
+
* = for all value types.
|
448
|
+
* \\>, <, >=, <= for integer values.
|
449
|
+
* :, meaning substring matching, for strings.
|
450
|
+
The supported value types are:
|
451
|
+
* string literals in quotes.
|
452
|
+
* integer literals without quotes.
|
453
|
+
* boolean literals true and false without quotes.
|
454
|
+
See
|
455
|
+
[Filtering notifications](https://cloud.google.com/security-command-center/docs/how-to-api-filter-notifications)
|
456
|
+
for information on how to write a filter.
|
457
|
+
:param pulumi.Input[str] organization: The organization whose Cloud Security Command Center the Big Query Export
|
458
|
+
Config lives in.
|
459
|
+
"""
|
460
|
+
...
|
461
|
+
@overload
|
462
|
+
def __init__(__self__,
|
463
|
+
resource_name: str,
|
464
|
+
args: OrganizationSccBigQueryExportArgs,
|
465
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
466
|
+
"""
|
467
|
+
A Cloud Security Command Center (Cloud SCC) Big Query Export Config.
|
468
|
+
It represents exporting Security Command Center data, including assets, findings, and security marks
|
469
|
+
using gcloud scc bqexports
|
470
|
+
> **Note:** In order to use Cloud SCC resources, your organization must be enrolled
|
471
|
+
in [SCC Standard/Premium](https://cloud.google.com/security-command-center/docs/quickstart-security-command-center).
|
472
|
+
Without doing so, you may run into errors during resource creation.
|
473
|
+
|
474
|
+
To get more information about OrganizationSccBigQueryExport, see:
|
475
|
+
|
476
|
+
* [API documentation](https://cloud.google.com/security-command-center/docs/reference/rest/v1/organizations.bigQueryExports)
|
477
|
+
* How-to Guides
|
478
|
+
* [Official Documentation](https://cloud.google.com/security-command-center/docs/how-to-analyze-findings-in-big-query)
|
479
|
+
|
480
|
+
## Example Usage
|
481
|
+
|
482
|
+
## Import
|
483
|
+
|
484
|
+
OrganizationSccBigQueryExport can be imported using any of these accepted formats:
|
485
|
+
|
486
|
+
* `organizations/{{organization}}/bigQueryExports/{{big_query_export_id}}`
|
487
|
+
|
488
|
+
* `{{organization}}/{{big_query_export_id}}`
|
489
|
+
|
490
|
+
When using the `pulumi import` command, OrganizationSccBigQueryExport can be imported using one of the formats above. For example:
|
491
|
+
|
492
|
+
```sh
|
493
|
+
$ pulumi import gcp:securitycenter/organizationSccBigQueryExport:OrganizationSccBigQueryExport default organizations/{{organization}}/bigQueryExports/{{big_query_export_id}}
|
494
|
+
```
|
495
|
+
|
496
|
+
```sh
|
497
|
+
$ pulumi import gcp:securitycenter/organizationSccBigQueryExport:OrganizationSccBigQueryExport default {{organization}}/{{big_query_export_id}}
|
498
|
+
```
|
499
|
+
|
500
|
+
:param str resource_name: The name of the resource.
|
501
|
+
:param OrganizationSccBigQueryExportArgs args: The arguments to use to populate this resource's properties.
|
502
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
503
|
+
"""
|
504
|
+
...
|
505
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
506
|
+
resource_args, opts = _utilities.get_resource_args_opts(OrganizationSccBigQueryExportArgs, pulumi.ResourceOptions, *args, **kwargs)
|
507
|
+
if resource_args is not None:
|
508
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
509
|
+
else:
|
510
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
511
|
+
|
512
|
+
def _internal_init(__self__,
|
513
|
+
resource_name: str,
|
514
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
515
|
+
big_query_export_id: Optional[pulumi.Input[str]] = None,
|
516
|
+
dataset: Optional[pulumi.Input[str]] = None,
|
517
|
+
description: Optional[pulumi.Input[str]] = None,
|
518
|
+
filter: Optional[pulumi.Input[str]] = None,
|
519
|
+
organization: Optional[pulumi.Input[str]] = None,
|
520
|
+
__props__=None):
|
521
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
522
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
523
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
524
|
+
if opts.id is None:
|
525
|
+
if __props__ is not None:
|
526
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
527
|
+
__props__ = OrganizationSccBigQueryExportArgs.__new__(OrganizationSccBigQueryExportArgs)
|
528
|
+
|
529
|
+
if big_query_export_id is None and not opts.urn:
|
530
|
+
raise TypeError("Missing required property 'big_query_export_id'")
|
531
|
+
__props__.__dict__["big_query_export_id"] = big_query_export_id
|
532
|
+
__props__.__dict__["dataset"] = dataset
|
533
|
+
__props__.__dict__["description"] = description
|
534
|
+
__props__.__dict__["filter"] = filter
|
535
|
+
if organization is None and not opts.urn:
|
536
|
+
raise TypeError("Missing required property 'organization'")
|
537
|
+
__props__.__dict__["organization"] = organization
|
538
|
+
__props__.__dict__["create_time"] = None
|
539
|
+
__props__.__dict__["most_recent_editor"] = None
|
540
|
+
__props__.__dict__["name"] = None
|
541
|
+
__props__.__dict__["principal"] = None
|
542
|
+
__props__.__dict__["update_time"] = None
|
543
|
+
super(OrganizationSccBigQueryExport, __self__).__init__(
|
544
|
+
'gcp:securitycenter/organizationSccBigQueryExport:OrganizationSccBigQueryExport',
|
545
|
+
resource_name,
|
546
|
+
__props__,
|
547
|
+
opts)
|
548
|
+
|
549
|
+
@staticmethod
|
550
|
+
def get(resource_name: str,
|
551
|
+
id: pulumi.Input[str],
|
552
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
553
|
+
big_query_export_id: Optional[pulumi.Input[str]] = None,
|
554
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
555
|
+
dataset: Optional[pulumi.Input[str]] = None,
|
556
|
+
description: Optional[pulumi.Input[str]] = None,
|
557
|
+
filter: Optional[pulumi.Input[str]] = None,
|
558
|
+
most_recent_editor: Optional[pulumi.Input[str]] = None,
|
559
|
+
name: Optional[pulumi.Input[str]] = None,
|
560
|
+
organization: Optional[pulumi.Input[str]] = None,
|
561
|
+
principal: Optional[pulumi.Input[str]] = None,
|
562
|
+
update_time: Optional[pulumi.Input[str]] = None) -> 'OrganizationSccBigQueryExport':
|
563
|
+
"""
|
564
|
+
Get an existing OrganizationSccBigQueryExport resource's state with the given name, id, and optional extra
|
565
|
+
properties used to qualify the lookup.
|
566
|
+
|
567
|
+
:param str resource_name: The unique name of the resulting resource.
|
568
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
569
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
570
|
+
:param pulumi.Input[str] big_query_export_id: This must be unique within the organization.
|
571
|
+
|
572
|
+
|
573
|
+
- - -
|
574
|
+
:param pulumi.Input[str] create_time: The time at which the BigQuery export was created. This field is set by the server and will be ignored if provided on export on creation.
|
575
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
|
576
|
+
Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
577
|
+
:param pulumi.Input[str] dataset: The dataset to write findings' updates to.
|
578
|
+
Its format is "projects/[projectId]/datasets/[bigquery_dataset_id]".
|
579
|
+
BigQuery Dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
|
580
|
+
:param pulumi.Input[str] description: The description of the notification config (max of 1024 characters).
|
581
|
+
:param pulumi.Input[str] filter: Expression that defines the filter to apply across create/update
|
582
|
+
events of findings. The
|
583
|
+
expression is a list of zero or more restrictions combined via
|
584
|
+
logical operators AND and OR. Parentheses are supported, and OR
|
585
|
+
has higher precedence than AND.
|
586
|
+
Restrictions have the form <field> <operator> <value> and may have
|
587
|
+
a - character in front of them to indicate negation. The fields
|
588
|
+
map to those defined in the corresponding resource.
|
589
|
+
The supported operators are:
|
590
|
+
* = for all value types.
|
591
|
+
* \\>, <, >=, <= for integer values.
|
592
|
+
* :, meaning substring matching, for strings.
|
593
|
+
The supported value types are:
|
594
|
+
* string literals in quotes.
|
595
|
+
* integer literals without quotes.
|
596
|
+
* boolean literals true and false without quotes.
|
597
|
+
See
|
598
|
+
[Filtering notifications](https://cloud.google.com/security-command-center/docs/how-to-api-filter-notifications)
|
599
|
+
for information on how to write a filter.
|
600
|
+
:param pulumi.Input[str] most_recent_editor: Email address of the user who last edited the BigQuery export.
|
601
|
+
This field is set by the server and will be ignored if provided on export creation or update.
|
602
|
+
:param pulumi.Input[str] name: The resource name of this export, in the format
|
603
|
+
`organizations/{{organization}}/bigQueryExports/{{big_query_export_id}}`.
|
604
|
+
This field is provided in responses, and is ignored when provided in create requests.
|
605
|
+
:param pulumi.Input[str] organization: The organization whose Cloud Security Command Center the Big Query Export
|
606
|
+
Config lives in.
|
607
|
+
:param pulumi.Input[str] principal: The service account that needs permission to create table and upload data to the BigQuery dataset.
|
608
|
+
:param pulumi.Input[str] update_time: The most recent time at which the BigQuery export was updated. This field is set by the server and will be ignored if provided on export creation or update.
|
609
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
|
610
|
+
Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
611
|
+
"""
|
612
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
613
|
+
|
614
|
+
__props__ = _OrganizationSccBigQueryExportState.__new__(_OrganizationSccBigQueryExportState)
|
615
|
+
|
616
|
+
__props__.__dict__["big_query_export_id"] = big_query_export_id
|
617
|
+
__props__.__dict__["create_time"] = create_time
|
618
|
+
__props__.__dict__["dataset"] = dataset
|
619
|
+
__props__.__dict__["description"] = description
|
620
|
+
__props__.__dict__["filter"] = filter
|
621
|
+
__props__.__dict__["most_recent_editor"] = most_recent_editor
|
622
|
+
__props__.__dict__["name"] = name
|
623
|
+
__props__.__dict__["organization"] = organization
|
624
|
+
__props__.__dict__["principal"] = principal
|
625
|
+
__props__.__dict__["update_time"] = update_time
|
626
|
+
return OrganizationSccBigQueryExport(resource_name, opts=opts, __props__=__props__)
|
627
|
+
|
628
|
+
@property
|
629
|
+
@pulumi.getter(name="bigQueryExportId")
|
630
|
+
def big_query_export_id(self) -> pulumi.Output[str]:
|
631
|
+
"""
|
632
|
+
This must be unique within the organization.
|
633
|
+
|
634
|
+
|
635
|
+
- - -
|
636
|
+
"""
|
637
|
+
return pulumi.get(self, "big_query_export_id")
|
638
|
+
|
639
|
+
@property
|
640
|
+
@pulumi.getter(name="createTime")
|
641
|
+
def create_time(self) -> pulumi.Output[str]:
|
642
|
+
"""
|
643
|
+
The time at which the BigQuery export was created. This field is set by the server and will be ignored if provided on export on creation.
|
644
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
|
645
|
+
Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
646
|
+
"""
|
647
|
+
return pulumi.get(self, "create_time")
|
648
|
+
|
649
|
+
@property
|
650
|
+
@pulumi.getter
|
651
|
+
def dataset(self) -> pulumi.Output[Optional[str]]:
|
652
|
+
"""
|
653
|
+
The dataset to write findings' updates to.
|
654
|
+
Its format is "projects/[projectId]/datasets/[bigquery_dataset_id]".
|
655
|
+
BigQuery Dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
|
656
|
+
"""
|
657
|
+
return pulumi.get(self, "dataset")
|
658
|
+
|
659
|
+
@property
|
660
|
+
@pulumi.getter
|
661
|
+
def description(self) -> pulumi.Output[Optional[str]]:
|
662
|
+
"""
|
663
|
+
The description of the notification config (max of 1024 characters).
|
664
|
+
"""
|
665
|
+
return pulumi.get(self, "description")
|
666
|
+
|
667
|
+
@property
|
668
|
+
@pulumi.getter
|
669
|
+
def filter(self) -> pulumi.Output[Optional[str]]:
|
670
|
+
"""
|
671
|
+
Expression that defines the filter to apply across create/update
|
672
|
+
events of findings. The
|
673
|
+
expression is a list of zero or more restrictions combined via
|
674
|
+
logical operators AND and OR. Parentheses are supported, and OR
|
675
|
+
has higher precedence than AND.
|
676
|
+
Restrictions have the form <field> <operator> <value> and may have
|
677
|
+
a - character in front of them to indicate negation. The fields
|
678
|
+
map to those defined in the corresponding resource.
|
679
|
+
The supported operators are:
|
680
|
+
* = for all value types.
|
681
|
+
* \\>, <, >=, <= for integer values.
|
682
|
+
* :, meaning substring matching, for strings.
|
683
|
+
The supported value types are:
|
684
|
+
* string literals in quotes.
|
685
|
+
* integer literals without quotes.
|
686
|
+
* boolean literals true and false without quotes.
|
687
|
+
See
|
688
|
+
[Filtering notifications](https://cloud.google.com/security-command-center/docs/how-to-api-filter-notifications)
|
689
|
+
for information on how to write a filter.
|
690
|
+
"""
|
691
|
+
return pulumi.get(self, "filter")
|
692
|
+
|
693
|
+
@property
|
694
|
+
@pulumi.getter(name="mostRecentEditor")
|
695
|
+
def most_recent_editor(self) -> pulumi.Output[str]:
|
696
|
+
"""
|
697
|
+
Email address of the user who last edited the BigQuery export.
|
698
|
+
This field is set by the server and will be ignored if provided on export creation or update.
|
699
|
+
"""
|
700
|
+
return pulumi.get(self, "most_recent_editor")
|
701
|
+
|
702
|
+
@property
|
703
|
+
@pulumi.getter
|
704
|
+
def name(self) -> pulumi.Output[str]:
|
705
|
+
"""
|
706
|
+
The resource name of this export, in the format
|
707
|
+
`organizations/{{organization}}/bigQueryExports/{{big_query_export_id}}`.
|
708
|
+
This field is provided in responses, and is ignored when provided in create requests.
|
709
|
+
"""
|
710
|
+
return pulumi.get(self, "name")
|
711
|
+
|
712
|
+
@property
|
713
|
+
@pulumi.getter
|
714
|
+
def organization(self) -> pulumi.Output[str]:
|
715
|
+
"""
|
716
|
+
The organization whose Cloud Security Command Center the Big Query Export
|
717
|
+
Config lives in.
|
718
|
+
"""
|
719
|
+
return pulumi.get(self, "organization")
|
720
|
+
|
721
|
+
@property
|
722
|
+
@pulumi.getter
|
723
|
+
def principal(self) -> pulumi.Output[str]:
|
724
|
+
"""
|
725
|
+
The service account that needs permission to create table and upload data to the BigQuery dataset.
|
726
|
+
"""
|
727
|
+
return pulumi.get(self, "principal")
|
728
|
+
|
729
|
+
@property
|
730
|
+
@pulumi.getter(name="updateTime")
|
731
|
+
def update_time(self) -> pulumi.Output[str]:
|
732
|
+
"""
|
733
|
+
The most recent time at which the BigQuery export was updated. This field is set by the server and will be ignored if provided on export creation or update.
|
734
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
|
735
|
+
Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
736
|
+
"""
|
737
|
+
return pulumi.get(self, "update_time")
|
738
|
+
|