pulumi-gcp 7.3.0a1702567892__py3-none-any.whl → 7.3.1__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- pulumi_gcp/__init__.py +129 -0
- pulumi_gcp/artifactregistry/_inputs.py +88 -0
- pulumi_gcp/artifactregistry/outputs.py +148 -0
- pulumi_gcp/artifactregistry/repository.py +116 -16
- pulumi_gcp/bigquery/_inputs.py +110 -0
- pulumi_gcp/bigquery/connection.py +123 -3
- pulumi_gcp/bigquery/outputs.py +145 -0
- pulumi_gcp/cloudbuild/_inputs.py +241 -1
- pulumi_gcp/cloudbuild/outputs.py +353 -2
- pulumi_gcp/cloudfunctionsv2/_inputs.py +6 -2
- pulumi_gcp/cloudfunctionsv2/outputs.py +6 -2
- pulumi_gcp/cloudidentity/_inputs.py +54 -5
- pulumi_gcp/cloudidentity/group_membership.py +0 -8
- pulumi_gcp/cloudidentity/outputs.py +99 -4
- pulumi_gcp/cloudrunv2/_inputs.py +8 -4
- pulumi_gcp/cloudrunv2/job.py +44 -0
- pulumi_gcp/cloudrunv2/outputs.py +8 -4
- pulumi_gcp/cloudrunv2/service.py +42 -0
- pulumi_gcp/cloudtasks/queue.py +0 -10
- pulumi_gcp/composer/_inputs.py +17 -4
- pulumi_gcp/composer/outputs.py +20 -4
- pulumi_gcp/compute/_inputs.py +46 -0
- pulumi_gcp/compute/get_global_forwarding_rule.py +11 -1
- pulumi_gcp/compute/global_forwarding_rule.py +69 -0
- pulumi_gcp/compute/outputs.py +75 -0
- pulumi_gcp/config/__init__.pyi +6 -0
- pulumi_gcp/config/vars.py +12 -0
- pulumi_gcp/container/_inputs.py +58 -0
- pulumi_gcp/container/node_pool.py +68 -14
- pulumi_gcp/container/outputs.py +68 -0
- pulumi_gcp/dataform/__init__.py +4 -0
- pulumi_gcp/dataform/_inputs.py +80 -0
- pulumi_gcp/dataform/get_repository_iam_policy.py +144 -0
- pulumi_gcp/dataform/outputs.py +56 -0
- pulumi_gcp/dataform/repository_iam_binding.py +325 -0
- pulumi_gcp/dataform/repository_iam_member.py +325 -0
- pulumi_gcp/dataform/repository_iam_policy.py +254 -0
- pulumi_gcp/dataloss/_inputs.py +29 -26
- pulumi_gcp/dataloss/outputs.py +28 -25
- pulumi_gcp/dataloss/prevention_job_trigger.py +78 -0
- pulumi_gcp/datastream/connection_profile.py +82 -4
- pulumi_gcp/datastream/stream.py +32 -22
- pulumi_gcp/firestore/database.py +146 -28
- pulumi_gcp/gkehub/_inputs.py +821 -3
- pulumi_gcp/gkehub/feature.py +176 -0
- pulumi_gcp/gkehub/feature_membership.py +105 -59
- pulumi_gcp/gkehub/fleet.py +70 -2
- pulumi_gcp/gkehub/outputs.py +819 -3
- pulumi_gcp/gkehub/scope.py +2 -2
- pulumi_gcp/iam/_inputs.py +72 -0
- pulumi_gcp/iam/outputs.py +79 -0
- pulumi_gcp/iam/workforce_pool.py +75 -0
- pulumi_gcp/identityplatform/project_default_config.py +4 -0
- pulumi_gcp/logging/__init__.py +3 -0
- pulumi_gcp/logging/get_folder_settings.py +197 -0
- pulumi_gcp/logging/get_organization_settings.py +197 -0
- pulumi_gcp/logging/get_project_settings.py +197 -0
- pulumi_gcp/migrationcenter/__init__.py +8 -0
- pulumi_gcp/migrationcenter/group.py +652 -0
- pulumi_gcp/netapp/__init__.py +8 -0
- pulumi_gcp/netapp/storage_pool.py +970 -0
- pulumi_gcp/projects/iam_custom_role.py +7 -7
- pulumi_gcp/provider.py +60 -0
- pulumi_gcp/securesourcemanager/__init__.py +14 -0
- pulumi_gcp/securesourcemanager/_inputs.py +94 -0
- pulumi_gcp/securesourcemanager/get_instance_iam_policy.py +168 -0
- pulumi_gcp/securesourcemanager/instance.py +607 -0
- pulumi_gcp/securesourcemanager/instance_iam_binding.py +325 -0
- pulumi_gcp/securesourcemanager/instance_iam_member.py +325 -0
- pulumi_gcp/securesourcemanager/instance_iam_policy.py +254 -0
- pulumi_gcp/securesourcemanager/outputs.py +70 -0
- pulumi_gcp/securitycenter/__init__.py +1 -0
- pulumi_gcp/securitycenter/event_threat_detection_custom_module.py +528 -0
- pulumi_gcp/sql/_inputs.py +2 -2
- pulumi_gcp/sql/database_instance.py +4 -4
- pulumi_gcp/sql/outputs.py +2 -2
- pulumi_gcp/storage/_inputs.py +16 -0
- pulumi_gcp/storage/outputs.py +21 -0
- pulumi_gcp/vertex/__init__.py +4 -0
- pulumi_gcp/vertex/_inputs.py +80 -0
- pulumi_gcp/vertex/ai_endpoint_iam_binding.py +325 -0
- pulumi_gcp/vertex/ai_endpoint_iam_member.py +325 -0
- pulumi_gcp/vertex/ai_endpoint_iam_policy.py +254 -0
- pulumi_gcp/vertex/get_ai_endpoint_iam_policy.py +140 -0
- pulumi_gcp/vertex/outputs.py +56 -0
- pulumi_gcp/vmwareengine/__init__.py +5 -0
- pulumi_gcp/vmwareengine/_inputs.py +104 -2
- pulumi_gcp/vmwareengine/get_network.py +14 -4
- pulumi_gcp/vmwareengine/get_network_peering.py +260 -0
- pulumi_gcp/vmwareengine/get_network_policy.py +228 -0
- pulumi_gcp/vmwareengine/get_nsx_credentials.py +133 -0
- pulumi_gcp/vmwareengine/get_private_cloud.py +14 -4
- pulumi_gcp/vmwareengine/network.py +41 -7
- pulumi_gcp/vmwareengine/network_peering.py +959 -0
- pulumi_gcp/vmwareengine/network_policy.py +836 -0
- pulumi_gcp/vmwareengine/outputs.py +133 -2
- pulumi_gcp/vmwareengine/private_cloud.py +20 -68
- {pulumi_gcp-7.3.0a1702567892.dist-info → pulumi_gcp-7.3.1.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.3.0a1702567892.dist-info → pulumi_gcp-7.3.1.dist-info}/RECORD +101 -72
- {pulumi_gcp-7.3.0a1702567892.dist-info → pulumi_gcp-7.3.1.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.3.0a1702567892.dist-info → pulumi_gcp-7.3.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,528 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
|
12
|
+
__all__ = ['EventThreatDetectionCustomModuleArgs', 'EventThreatDetectionCustomModule']
|
13
|
+
|
14
|
+
@pulumi.input_type
|
15
|
+
class EventThreatDetectionCustomModuleArgs:
|
16
|
+
def __init__(__self__, *,
|
17
|
+
config: pulumi.Input[str],
|
18
|
+
enablement_state: pulumi.Input[str],
|
19
|
+
organization: pulumi.Input[str],
|
20
|
+
type: pulumi.Input[str],
|
21
|
+
display_name: Optional[pulumi.Input[str]] = None):
|
22
|
+
"""
|
23
|
+
The set of arguments for constructing a EventThreatDetectionCustomModule resource.
|
24
|
+
:param pulumi.Input[str] config: Config for the module. For the resident module, its config value is defined at this level.
|
25
|
+
For the inherited module, its config value is inherited from the ancestor module.
|
26
|
+
:param pulumi.Input[str] enablement_state: The state of enablement for the module at the given level of the hierarchy.
|
27
|
+
Possible values are: `ENABLED`, `DISABLED`.
|
28
|
+
:param pulumi.Input[str] organization: Numerical ID of the parent organization.
|
29
|
+
|
30
|
+
|
31
|
+
- - -
|
32
|
+
:param pulumi.Input[str] type: Immutable. Type for the module. e.g. CONFIGURABLE_BAD_IP.
|
33
|
+
:param pulumi.Input[str] display_name: The human readable name to be displayed for the module.
|
34
|
+
"""
|
35
|
+
pulumi.set(__self__, "config", config)
|
36
|
+
pulumi.set(__self__, "enablement_state", enablement_state)
|
37
|
+
pulumi.set(__self__, "organization", organization)
|
38
|
+
pulumi.set(__self__, "type", type)
|
39
|
+
if display_name is not None:
|
40
|
+
pulumi.set(__self__, "display_name", display_name)
|
41
|
+
|
42
|
+
@property
|
43
|
+
@pulumi.getter
|
44
|
+
def config(self) -> pulumi.Input[str]:
|
45
|
+
"""
|
46
|
+
Config for the module. For the resident module, its config value is defined at this level.
|
47
|
+
For the inherited module, its config value is inherited from the ancestor module.
|
48
|
+
"""
|
49
|
+
return pulumi.get(self, "config")
|
50
|
+
|
51
|
+
@config.setter
|
52
|
+
def config(self, value: pulumi.Input[str]):
|
53
|
+
pulumi.set(self, "config", value)
|
54
|
+
|
55
|
+
@property
|
56
|
+
@pulumi.getter(name="enablementState")
|
57
|
+
def enablement_state(self) -> pulumi.Input[str]:
|
58
|
+
"""
|
59
|
+
The state of enablement for the module at the given level of the hierarchy.
|
60
|
+
Possible values are: `ENABLED`, `DISABLED`.
|
61
|
+
"""
|
62
|
+
return pulumi.get(self, "enablement_state")
|
63
|
+
|
64
|
+
@enablement_state.setter
|
65
|
+
def enablement_state(self, value: pulumi.Input[str]):
|
66
|
+
pulumi.set(self, "enablement_state", value)
|
67
|
+
|
68
|
+
@property
|
69
|
+
@pulumi.getter
|
70
|
+
def organization(self) -> pulumi.Input[str]:
|
71
|
+
"""
|
72
|
+
Numerical ID of the parent organization.
|
73
|
+
|
74
|
+
|
75
|
+
- - -
|
76
|
+
"""
|
77
|
+
return pulumi.get(self, "organization")
|
78
|
+
|
79
|
+
@organization.setter
|
80
|
+
def organization(self, value: pulumi.Input[str]):
|
81
|
+
pulumi.set(self, "organization", value)
|
82
|
+
|
83
|
+
@property
|
84
|
+
@pulumi.getter
|
85
|
+
def type(self) -> pulumi.Input[str]:
|
86
|
+
"""
|
87
|
+
Immutable. Type for the module. e.g. CONFIGURABLE_BAD_IP.
|
88
|
+
"""
|
89
|
+
return pulumi.get(self, "type")
|
90
|
+
|
91
|
+
@type.setter
|
92
|
+
def type(self, value: pulumi.Input[str]):
|
93
|
+
pulumi.set(self, "type", value)
|
94
|
+
|
95
|
+
@property
|
96
|
+
@pulumi.getter(name="displayName")
|
97
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
98
|
+
"""
|
99
|
+
The human readable name to be displayed for the module.
|
100
|
+
"""
|
101
|
+
return pulumi.get(self, "display_name")
|
102
|
+
|
103
|
+
@display_name.setter
|
104
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
105
|
+
pulumi.set(self, "display_name", value)
|
106
|
+
|
107
|
+
|
108
|
+
@pulumi.input_type
|
109
|
+
class _EventThreatDetectionCustomModuleState:
|
110
|
+
def __init__(__self__, *,
|
111
|
+
config: Optional[pulumi.Input[str]] = None,
|
112
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
113
|
+
enablement_state: Optional[pulumi.Input[str]] = None,
|
114
|
+
last_editor: Optional[pulumi.Input[str]] = None,
|
115
|
+
name: Optional[pulumi.Input[str]] = None,
|
116
|
+
organization: Optional[pulumi.Input[str]] = None,
|
117
|
+
type: Optional[pulumi.Input[str]] = None,
|
118
|
+
update_time: Optional[pulumi.Input[str]] = None):
|
119
|
+
"""
|
120
|
+
Input properties used for looking up and filtering EventThreatDetectionCustomModule resources.
|
121
|
+
:param pulumi.Input[str] config: Config for the module. For the resident module, its config value is defined at this level.
|
122
|
+
For the inherited module, its config value is inherited from the ancestor module.
|
123
|
+
:param pulumi.Input[str] display_name: The human readable name to be displayed for the module.
|
124
|
+
:param pulumi.Input[str] enablement_state: The state of enablement for the module at the given level of the hierarchy.
|
125
|
+
Possible values are: `ENABLED`, `DISABLED`.
|
126
|
+
:param pulumi.Input[str] last_editor: The editor that last updated the custom module
|
127
|
+
:param pulumi.Input[str] name: The resource name of the Event Threat Detection custom module.
|
128
|
+
Its format is "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}".
|
129
|
+
:param pulumi.Input[str] organization: Numerical ID of the parent organization.
|
130
|
+
|
131
|
+
|
132
|
+
- - -
|
133
|
+
:param pulumi.Input[str] type: Immutable. Type for the module. e.g. CONFIGURABLE_BAD_IP.
|
134
|
+
:param pulumi.Input[str] update_time: The time at which the custom module was last updated.
|
135
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and
|
136
|
+
up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
137
|
+
"""
|
138
|
+
if config is not None:
|
139
|
+
pulumi.set(__self__, "config", config)
|
140
|
+
if display_name is not None:
|
141
|
+
pulumi.set(__self__, "display_name", display_name)
|
142
|
+
if enablement_state is not None:
|
143
|
+
pulumi.set(__self__, "enablement_state", enablement_state)
|
144
|
+
if last_editor is not None:
|
145
|
+
pulumi.set(__self__, "last_editor", last_editor)
|
146
|
+
if name is not None:
|
147
|
+
pulumi.set(__self__, "name", name)
|
148
|
+
if organization is not None:
|
149
|
+
pulumi.set(__self__, "organization", organization)
|
150
|
+
if type is not None:
|
151
|
+
pulumi.set(__self__, "type", type)
|
152
|
+
if update_time is not None:
|
153
|
+
pulumi.set(__self__, "update_time", update_time)
|
154
|
+
|
155
|
+
@property
|
156
|
+
@pulumi.getter
|
157
|
+
def config(self) -> Optional[pulumi.Input[str]]:
|
158
|
+
"""
|
159
|
+
Config for the module. For the resident module, its config value is defined at this level.
|
160
|
+
For the inherited module, its config value is inherited from the ancestor module.
|
161
|
+
"""
|
162
|
+
return pulumi.get(self, "config")
|
163
|
+
|
164
|
+
@config.setter
|
165
|
+
def config(self, value: Optional[pulumi.Input[str]]):
|
166
|
+
pulumi.set(self, "config", value)
|
167
|
+
|
168
|
+
@property
|
169
|
+
@pulumi.getter(name="displayName")
|
170
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
171
|
+
"""
|
172
|
+
The human readable name to be displayed for the module.
|
173
|
+
"""
|
174
|
+
return pulumi.get(self, "display_name")
|
175
|
+
|
176
|
+
@display_name.setter
|
177
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
178
|
+
pulumi.set(self, "display_name", value)
|
179
|
+
|
180
|
+
@property
|
181
|
+
@pulumi.getter(name="enablementState")
|
182
|
+
def enablement_state(self) -> Optional[pulumi.Input[str]]:
|
183
|
+
"""
|
184
|
+
The state of enablement for the module at the given level of the hierarchy.
|
185
|
+
Possible values are: `ENABLED`, `DISABLED`.
|
186
|
+
"""
|
187
|
+
return pulumi.get(self, "enablement_state")
|
188
|
+
|
189
|
+
@enablement_state.setter
|
190
|
+
def enablement_state(self, value: Optional[pulumi.Input[str]]):
|
191
|
+
pulumi.set(self, "enablement_state", value)
|
192
|
+
|
193
|
+
@property
|
194
|
+
@pulumi.getter(name="lastEditor")
|
195
|
+
def last_editor(self) -> Optional[pulumi.Input[str]]:
|
196
|
+
"""
|
197
|
+
The editor that last updated the custom module
|
198
|
+
"""
|
199
|
+
return pulumi.get(self, "last_editor")
|
200
|
+
|
201
|
+
@last_editor.setter
|
202
|
+
def last_editor(self, value: Optional[pulumi.Input[str]]):
|
203
|
+
pulumi.set(self, "last_editor", value)
|
204
|
+
|
205
|
+
@property
|
206
|
+
@pulumi.getter
|
207
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
208
|
+
"""
|
209
|
+
The resource name of the Event Threat Detection custom module.
|
210
|
+
Its format is "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}".
|
211
|
+
"""
|
212
|
+
return pulumi.get(self, "name")
|
213
|
+
|
214
|
+
@name.setter
|
215
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
216
|
+
pulumi.set(self, "name", value)
|
217
|
+
|
218
|
+
@property
|
219
|
+
@pulumi.getter
|
220
|
+
def organization(self) -> Optional[pulumi.Input[str]]:
|
221
|
+
"""
|
222
|
+
Numerical ID of the parent organization.
|
223
|
+
|
224
|
+
|
225
|
+
- - -
|
226
|
+
"""
|
227
|
+
return pulumi.get(self, "organization")
|
228
|
+
|
229
|
+
@organization.setter
|
230
|
+
def organization(self, value: Optional[pulumi.Input[str]]):
|
231
|
+
pulumi.set(self, "organization", value)
|
232
|
+
|
233
|
+
@property
|
234
|
+
@pulumi.getter
|
235
|
+
def type(self) -> Optional[pulumi.Input[str]]:
|
236
|
+
"""
|
237
|
+
Immutable. Type for the module. e.g. CONFIGURABLE_BAD_IP.
|
238
|
+
"""
|
239
|
+
return pulumi.get(self, "type")
|
240
|
+
|
241
|
+
@type.setter
|
242
|
+
def type(self, value: Optional[pulumi.Input[str]]):
|
243
|
+
pulumi.set(self, "type", value)
|
244
|
+
|
245
|
+
@property
|
246
|
+
@pulumi.getter(name="updateTime")
|
247
|
+
def update_time(self) -> Optional[pulumi.Input[str]]:
|
248
|
+
"""
|
249
|
+
The time at which the custom module was last updated.
|
250
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and
|
251
|
+
up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
252
|
+
"""
|
253
|
+
return pulumi.get(self, "update_time")
|
254
|
+
|
255
|
+
@update_time.setter
|
256
|
+
def update_time(self, value: Optional[pulumi.Input[str]]):
|
257
|
+
pulumi.set(self, "update_time", value)
|
258
|
+
|
259
|
+
|
260
|
+
class EventThreatDetectionCustomModule(pulumi.CustomResource):
|
261
|
+
@overload
|
262
|
+
def __init__(__self__,
|
263
|
+
resource_name: str,
|
264
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
265
|
+
config: Optional[pulumi.Input[str]] = None,
|
266
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
267
|
+
enablement_state: Optional[pulumi.Input[str]] = None,
|
268
|
+
organization: Optional[pulumi.Input[str]] = None,
|
269
|
+
type: Optional[pulumi.Input[str]] = None,
|
270
|
+
__props__=None):
|
271
|
+
"""
|
272
|
+
Represents an instance of an Event Threat Detection custom module, including
|
273
|
+
its full module name, display name, enablement state, andlast updated time.
|
274
|
+
You can create a custom module at the organization level only.
|
275
|
+
|
276
|
+
To get more information about EventThreatDetectionCustomModule, see:
|
277
|
+
|
278
|
+
* [API documentation](https://cloud.google.com/security-command-center/docs/reference/rest/v1/organizations.eventThreatDetectionSettings.customModules)
|
279
|
+
* How-to Guides
|
280
|
+
* [Overview of custom modules for Event Threat Detection](https://cloud.google.com/security-command-center/docs/custom-modules-etd-overview)
|
281
|
+
|
282
|
+
## Example Usage
|
283
|
+
|
284
|
+
## Import
|
285
|
+
|
286
|
+
EventThreatDetectionCustomModule can be imported using any of these accepted formats* `organizations/{{organization}}/eventThreatDetectionSettings/customModules/{{name}}` * `{{organization}}/{{name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import EventThreatDetectionCustomModule using one of the formats above. For exampletf import {
|
287
|
+
|
288
|
+
id = "organizations/{{organization}}/eventThreatDetectionSettings/customModules/{{name}}"
|
289
|
+
|
290
|
+
to = google_scc_event_threat_detection_custom_module.default }
|
291
|
+
|
292
|
+
```sh
|
293
|
+
$ pulumi import gcp:securitycenter/eventThreatDetectionCustomModule:EventThreatDetectionCustomModule When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), EventThreatDetectionCustomModule can be imported using one of the formats above. For example
|
294
|
+
```
|
295
|
+
|
296
|
+
```sh
|
297
|
+
$ pulumi import gcp:securitycenter/eventThreatDetectionCustomModule:EventThreatDetectionCustomModule default organizations/{{organization}}/eventThreatDetectionSettings/customModules/{{name}}
|
298
|
+
```
|
299
|
+
|
300
|
+
```sh
|
301
|
+
$ pulumi import gcp:securitycenter/eventThreatDetectionCustomModule:EventThreatDetectionCustomModule default {{organization}}/{{name}}
|
302
|
+
```
|
303
|
+
|
304
|
+
:param str resource_name: The name of the resource.
|
305
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
306
|
+
:param pulumi.Input[str] config: Config for the module. For the resident module, its config value is defined at this level.
|
307
|
+
For the inherited module, its config value is inherited from the ancestor module.
|
308
|
+
:param pulumi.Input[str] display_name: The human readable name to be displayed for the module.
|
309
|
+
:param pulumi.Input[str] enablement_state: The state of enablement for the module at the given level of the hierarchy.
|
310
|
+
Possible values are: `ENABLED`, `DISABLED`.
|
311
|
+
:param pulumi.Input[str] organization: Numerical ID of the parent organization.
|
312
|
+
|
313
|
+
|
314
|
+
- - -
|
315
|
+
:param pulumi.Input[str] type: Immutable. Type for the module. e.g. CONFIGURABLE_BAD_IP.
|
316
|
+
"""
|
317
|
+
...
|
318
|
+
@overload
|
319
|
+
def __init__(__self__,
|
320
|
+
resource_name: str,
|
321
|
+
args: EventThreatDetectionCustomModuleArgs,
|
322
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
323
|
+
"""
|
324
|
+
Represents an instance of an Event Threat Detection custom module, including
|
325
|
+
its full module name, display name, enablement state, andlast updated time.
|
326
|
+
You can create a custom module at the organization level only.
|
327
|
+
|
328
|
+
To get more information about EventThreatDetectionCustomModule, see:
|
329
|
+
|
330
|
+
* [API documentation](https://cloud.google.com/security-command-center/docs/reference/rest/v1/organizations.eventThreatDetectionSettings.customModules)
|
331
|
+
* How-to Guides
|
332
|
+
* [Overview of custom modules for Event Threat Detection](https://cloud.google.com/security-command-center/docs/custom-modules-etd-overview)
|
333
|
+
|
334
|
+
## Example Usage
|
335
|
+
|
336
|
+
## Import
|
337
|
+
|
338
|
+
EventThreatDetectionCustomModule can be imported using any of these accepted formats* `organizations/{{organization}}/eventThreatDetectionSettings/customModules/{{name}}` * `{{organization}}/{{name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import EventThreatDetectionCustomModule using one of the formats above. For exampletf import {
|
339
|
+
|
340
|
+
id = "organizations/{{organization}}/eventThreatDetectionSettings/customModules/{{name}}"
|
341
|
+
|
342
|
+
to = google_scc_event_threat_detection_custom_module.default }
|
343
|
+
|
344
|
+
```sh
|
345
|
+
$ pulumi import gcp:securitycenter/eventThreatDetectionCustomModule:EventThreatDetectionCustomModule When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), EventThreatDetectionCustomModule can be imported using one of the formats above. For example
|
346
|
+
```
|
347
|
+
|
348
|
+
```sh
|
349
|
+
$ pulumi import gcp:securitycenter/eventThreatDetectionCustomModule:EventThreatDetectionCustomModule default organizations/{{organization}}/eventThreatDetectionSettings/customModules/{{name}}
|
350
|
+
```
|
351
|
+
|
352
|
+
```sh
|
353
|
+
$ pulumi import gcp:securitycenter/eventThreatDetectionCustomModule:EventThreatDetectionCustomModule default {{organization}}/{{name}}
|
354
|
+
```
|
355
|
+
|
356
|
+
:param str resource_name: The name of the resource.
|
357
|
+
:param EventThreatDetectionCustomModuleArgs args: The arguments to use to populate this resource's properties.
|
358
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
359
|
+
"""
|
360
|
+
...
|
361
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
362
|
+
resource_args, opts = _utilities.get_resource_args_opts(EventThreatDetectionCustomModuleArgs, pulumi.ResourceOptions, *args, **kwargs)
|
363
|
+
if resource_args is not None:
|
364
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
365
|
+
else:
|
366
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
367
|
+
|
368
|
+
def _internal_init(__self__,
|
369
|
+
resource_name: str,
|
370
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
371
|
+
config: Optional[pulumi.Input[str]] = None,
|
372
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
373
|
+
enablement_state: Optional[pulumi.Input[str]] = None,
|
374
|
+
organization: Optional[pulumi.Input[str]] = None,
|
375
|
+
type: Optional[pulumi.Input[str]] = None,
|
376
|
+
__props__=None):
|
377
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
378
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
379
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
380
|
+
if opts.id is None:
|
381
|
+
if __props__ is not None:
|
382
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
383
|
+
__props__ = EventThreatDetectionCustomModuleArgs.__new__(EventThreatDetectionCustomModuleArgs)
|
384
|
+
|
385
|
+
if config is None and not opts.urn:
|
386
|
+
raise TypeError("Missing required property 'config'")
|
387
|
+
__props__.__dict__["config"] = config
|
388
|
+
__props__.__dict__["display_name"] = display_name
|
389
|
+
if enablement_state is None and not opts.urn:
|
390
|
+
raise TypeError("Missing required property 'enablement_state'")
|
391
|
+
__props__.__dict__["enablement_state"] = enablement_state
|
392
|
+
if organization is None and not opts.urn:
|
393
|
+
raise TypeError("Missing required property 'organization'")
|
394
|
+
__props__.__dict__["organization"] = organization
|
395
|
+
if type is None and not opts.urn:
|
396
|
+
raise TypeError("Missing required property 'type'")
|
397
|
+
__props__.__dict__["type"] = type
|
398
|
+
__props__.__dict__["last_editor"] = None
|
399
|
+
__props__.__dict__["name"] = None
|
400
|
+
__props__.__dict__["update_time"] = None
|
401
|
+
super(EventThreatDetectionCustomModule, __self__).__init__(
|
402
|
+
'gcp:securitycenter/eventThreatDetectionCustomModule:EventThreatDetectionCustomModule',
|
403
|
+
resource_name,
|
404
|
+
__props__,
|
405
|
+
opts)
|
406
|
+
|
407
|
+
@staticmethod
|
408
|
+
def get(resource_name: str,
|
409
|
+
id: pulumi.Input[str],
|
410
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
411
|
+
config: Optional[pulumi.Input[str]] = None,
|
412
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
413
|
+
enablement_state: Optional[pulumi.Input[str]] = None,
|
414
|
+
last_editor: Optional[pulumi.Input[str]] = None,
|
415
|
+
name: Optional[pulumi.Input[str]] = None,
|
416
|
+
organization: Optional[pulumi.Input[str]] = None,
|
417
|
+
type: Optional[pulumi.Input[str]] = None,
|
418
|
+
update_time: Optional[pulumi.Input[str]] = None) -> 'EventThreatDetectionCustomModule':
|
419
|
+
"""
|
420
|
+
Get an existing EventThreatDetectionCustomModule resource's state with the given name, id, and optional extra
|
421
|
+
properties used to qualify the lookup.
|
422
|
+
|
423
|
+
:param str resource_name: The unique name of the resulting resource.
|
424
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
425
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
426
|
+
:param pulumi.Input[str] config: Config for the module. For the resident module, its config value is defined at this level.
|
427
|
+
For the inherited module, its config value is inherited from the ancestor module.
|
428
|
+
:param pulumi.Input[str] display_name: The human readable name to be displayed for the module.
|
429
|
+
:param pulumi.Input[str] enablement_state: The state of enablement for the module at the given level of the hierarchy.
|
430
|
+
Possible values are: `ENABLED`, `DISABLED`.
|
431
|
+
:param pulumi.Input[str] last_editor: The editor that last updated the custom module
|
432
|
+
:param pulumi.Input[str] name: The resource name of the Event Threat Detection custom module.
|
433
|
+
Its format is "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}".
|
434
|
+
:param pulumi.Input[str] organization: Numerical ID of the parent organization.
|
435
|
+
|
436
|
+
|
437
|
+
- - -
|
438
|
+
:param pulumi.Input[str] type: Immutable. Type for the module. e.g. CONFIGURABLE_BAD_IP.
|
439
|
+
:param pulumi.Input[str] update_time: The time at which the custom module was last updated.
|
440
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and
|
441
|
+
up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
442
|
+
"""
|
443
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
444
|
+
|
445
|
+
__props__ = _EventThreatDetectionCustomModuleState.__new__(_EventThreatDetectionCustomModuleState)
|
446
|
+
|
447
|
+
__props__.__dict__["config"] = config
|
448
|
+
__props__.__dict__["display_name"] = display_name
|
449
|
+
__props__.__dict__["enablement_state"] = enablement_state
|
450
|
+
__props__.__dict__["last_editor"] = last_editor
|
451
|
+
__props__.__dict__["name"] = name
|
452
|
+
__props__.__dict__["organization"] = organization
|
453
|
+
__props__.__dict__["type"] = type
|
454
|
+
__props__.__dict__["update_time"] = update_time
|
455
|
+
return EventThreatDetectionCustomModule(resource_name, opts=opts, __props__=__props__)
|
456
|
+
|
457
|
+
@property
|
458
|
+
@pulumi.getter
|
459
|
+
def config(self) -> pulumi.Output[str]:
|
460
|
+
"""
|
461
|
+
Config for the module. For the resident module, its config value is defined at this level.
|
462
|
+
For the inherited module, its config value is inherited from the ancestor module.
|
463
|
+
"""
|
464
|
+
return pulumi.get(self, "config")
|
465
|
+
|
466
|
+
@property
|
467
|
+
@pulumi.getter(name="displayName")
|
468
|
+
def display_name(self) -> pulumi.Output[Optional[str]]:
|
469
|
+
"""
|
470
|
+
The human readable name to be displayed for the module.
|
471
|
+
"""
|
472
|
+
return pulumi.get(self, "display_name")
|
473
|
+
|
474
|
+
@property
|
475
|
+
@pulumi.getter(name="enablementState")
|
476
|
+
def enablement_state(self) -> pulumi.Output[str]:
|
477
|
+
"""
|
478
|
+
The state of enablement for the module at the given level of the hierarchy.
|
479
|
+
Possible values are: `ENABLED`, `DISABLED`.
|
480
|
+
"""
|
481
|
+
return pulumi.get(self, "enablement_state")
|
482
|
+
|
483
|
+
@property
|
484
|
+
@pulumi.getter(name="lastEditor")
|
485
|
+
def last_editor(self) -> pulumi.Output[str]:
|
486
|
+
"""
|
487
|
+
The editor that last updated the custom module
|
488
|
+
"""
|
489
|
+
return pulumi.get(self, "last_editor")
|
490
|
+
|
491
|
+
@property
|
492
|
+
@pulumi.getter
|
493
|
+
def name(self) -> pulumi.Output[str]:
|
494
|
+
"""
|
495
|
+
The resource name of the Event Threat Detection custom module.
|
496
|
+
Its format is "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}".
|
497
|
+
"""
|
498
|
+
return pulumi.get(self, "name")
|
499
|
+
|
500
|
+
@property
|
501
|
+
@pulumi.getter
|
502
|
+
def organization(self) -> pulumi.Output[str]:
|
503
|
+
"""
|
504
|
+
Numerical ID of the parent organization.
|
505
|
+
|
506
|
+
|
507
|
+
- - -
|
508
|
+
"""
|
509
|
+
return pulumi.get(self, "organization")
|
510
|
+
|
511
|
+
@property
|
512
|
+
@pulumi.getter
|
513
|
+
def type(self) -> pulumi.Output[str]:
|
514
|
+
"""
|
515
|
+
Immutable. Type for the module. e.g. CONFIGURABLE_BAD_IP.
|
516
|
+
"""
|
517
|
+
return pulumi.get(self, "type")
|
518
|
+
|
519
|
+
@property
|
520
|
+
@pulumi.getter(name="updateTime")
|
521
|
+
def update_time(self) -> pulumi.Output[str]:
|
522
|
+
"""
|
523
|
+
The time at which the custom module was last updated.
|
524
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and
|
525
|
+
up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
526
|
+
"""
|
527
|
+
return pulumi.get(self, "update_time")
|
528
|
+
|
pulumi_gcp/sql/_inputs.py
CHANGED
@@ -1336,7 +1336,7 @@ class DatabaseInstanceSettingsIpConfigurationArgs:
|
|
1336
1336
|
This setting can be updated, but it cannot be removed after it is set.
|
1337
1337
|
:param pulumi.Input[bool] require_ssl: Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in `ssl_mode`.
|
1338
1338
|
:param pulumi.Input[str] ssl_mode: Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcment options compared to `require_ssl`. To change this field, also set the correspoding value in `require_ssl`.
|
1339
|
-
* For PostgreSQL instances, the value pairs are listed in the [API reference doc](https://cloud.google.com/sql/docs/
|
1339
|
+
* For PostgreSQL instances, the value pairs are listed in the [API reference doc](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/instances#ipconfiguration) for `ssl_mode` field.
|
1340
1340
|
* For MySQL instances, use the same value pairs as the PostgreSQL instances.
|
1341
1341
|
* For SQL Server instances, set it to `ALLOW_UNENCRYPTED_AND_ENCRYPTED` when `require_ssl=false` and `ENCRYPTED_ONLY` otherwise.
|
1342
1342
|
"""
|
@@ -1446,7 +1446,7 @@ class DatabaseInstanceSettingsIpConfigurationArgs:
|
|
1446
1446
|
def ssl_mode(self) -> Optional[pulumi.Input[str]]:
|
1447
1447
|
"""
|
1448
1448
|
Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcment options compared to `require_ssl`. To change this field, also set the correspoding value in `require_ssl`.
|
1449
|
-
* For PostgreSQL instances, the value pairs are listed in the [API reference doc](https://cloud.google.com/sql/docs/
|
1449
|
+
* For PostgreSQL instances, the value pairs are listed in the [API reference doc](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/instances#ipconfiguration) for `ssl_mode` field.
|
1450
1450
|
* For MySQL instances, use the same value pairs as the PostgreSQL instances.
|
1451
1451
|
* For SQL Server instances, set it to `ALLOW_UNENCRYPTED_AND_ENCRYPTED` when `require_ssl=false` and `ENCRYPTED_ONLY` otherwise.
|
1452
1452
|
"""
|
@@ -377,7 +377,7 @@ class _DatabaseInstanceState:
|
|
377
377
|
:param pulumi.Input[str] private_ip_address: The first private (`PRIVATE`) IPv4 address assigned.
|
378
378
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs. If it
|
379
379
|
is not provided, the provider project is used.
|
380
|
-
:param pulumi.Input[str] psc_service_attachment_link:
|
380
|
+
:param pulumi.Input[str] psc_service_attachment_link: the URI that points to the service attachment of the instance.
|
381
381
|
:param pulumi.Input[str] public_ip_address: The first public (`PRIMARY`) IPv4 address assigned.
|
382
382
|
:param pulumi.Input[str] region: The region the instance will sit in. If a region is not provided in the resource definition,
|
383
383
|
the provider region will be used instead.
|
@@ -653,7 +653,7 @@ class _DatabaseInstanceState:
|
|
653
653
|
@pulumi.getter(name="pscServiceAttachmentLink")
|
654
654
|
def psc_service_attachment_link(self) -> Optional[pulumi.Input[str]]:
|
655
655
|
"""
|
656
|
-
|
656
|
+
the URI that points to the service attachment of the instance.
|
657
657
|
"""
|
658
658
|
return pulumi.get(self, "psc_service_attachment_link")
|
659
659
|
|
@@ -1209,7 +1209,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1209
1209
|
:param pulumi.Input[str] private_ip_address: The first private (`PRIVATE`) IPv4 address assigned.
|
1210
1210
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs. If it
|
1211
1211
|
is not provided, the provider project is used.
|
1212
|
-
:param pulumi.Input[str] psc_service_attachment_link:
|
1212
|
+
:param pulumi.Input[str] psc_service_attachment_link: the URI that points to the service attachment of the instance.
|
1213
1213
|
:param pulumi.Input[str] public_ip_address: The first public (`PRIMARY`) IPv4 address assigned.
|
1214
1214
|
:param pulumi.Input[str] region: The region the instance will sit in. If a region is not provided in the resource definition,
|
1215
1215
|
the provider region will be used instead.
|
@@ -1405,7 +1405,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1405
1405
|
@pulumi.getter(name="pscServiceAttachmentLink")
|
1406
1406
|
def psc_service_attachment_link(self) -> pulumi.Output[str]:
|
1407
1407
|
"""
|
1408
|
-
|
1408
|
+
the URI that points to the service attachment of the instance.
|
1409
1409
|
"""
|
1410
1410
|
return pulumi.get(self, "psc_service_attachment_link")
|
1411
1411
|
|
pulumi_gcp/sql/outputs.py
CHANGED
@@ -1412,7 +1412,7 @@ class DatabaseInstanceSettingsIpConfiguration(dict):
|
|
1412
1412
|
This setting can be updated, but it cannot be removed after it is set.
|
1413
1413
|
:param bool require_ssl: Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in `ssl_mode`.
|
1414
1414
|
:param str ssl_mode: Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcment options compared to `require_ssl`. To change this field, also set the correspoding value in `require_ssl`.
|
1415
|
-
* For PostgreSQL instances, the value pairs are listed in the [API reference doc](https://cloud.google.com/sql/docs/
|
1415
|
+
* For PostgreSQL instances, the value pairs are listed in the [API reference doc](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/instances#ipconfiguration) for `ssl_mode` field.
|
1416
1416
|
* For MySQL instances, use the same value pairs as the PostgreSQL instances.
|
1417
1417
|
* For SQL Server instances, set it to `ALLOW_UNENCRYPTED_AND_ENCRYPTED` when `require_ssl=false` and `ENCRYPTED_ONLY` otherwise.
|
1418
1418
|
"""
|
@@ -1494,7 +1494,7 @@ class DatabaseInstanceSettingsIpConfiguration(dict):
|
|
1494
1494
|
def ssl_mode(self) -> Optional[str]:
|
1495
1495
|
"""
|
1496
1496
|
Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcment options compared to `require_ssl`. To change this field, also set the correspoding value in `require_ssl`.
|
1497
|
-
* For PostgreSQL instances, the value pairs are listed in the [API reference doc](https://cloud.google.com/sql/docs/
|
1497
|
+
* For PostgreSQL instances, the value pairs are listed in the [API reference doc](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/instances#ipconfiguration) for `ssl_mode` field.
|
1498
1498
|
* For MySQL instances, use the same value pairs as the PostgreSQL instances.
|
1499
1499
|
* For SQL Server instances, set it to `ALLOW_UNENCRYPTED_AND_ENCRYPTED` when `require_ssl=false` and `ENCRYPTED_ONLY` otherwise.
|
1500
1500
|
"""
|
pulumi_gcp/storage/_inputs.py
CHANGED
@@ -442,6 +442,7 @@ class BucketLifecycleRuleConditionArgs:
|
|
442
442
|
matches_prefixes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
443
443
|
matches_storage_classes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
444
444
|
matches_suffixes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
445
|
+
no_age: Optional[pulumi.Input[bool]] = None,
|
445
446
|
noncurrent_time_before: Optional[pulumi.Input[str]] = None,
|
446
447
|
num_newer_versions: Optional[pulumi.Input[int]] = None,
|
447
448
|
with_state: Optional[pulumi.Input[str]] = None):
|
@@ -454,6 +455,7 @@ class BucketLifecycleRuleConditionArgs:
|
|
454
455
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] matches_prefixes: One or more matching name prefixes to satisfy this condition.
|
455
456
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] matches_storage_classes: [Storage Class](https://cloud.google.com/storage/docs/storage-classes) of objects to satisfy this condition. Supported values include: `STANDARD`, `MULTI_REGIONAL`, `REGIONAL`, `NEARLINE`, `COLDLINE`, `ARCHIVE`, `DURABLE_REDUCED_AVAILABILITY`.
|
456
457
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] matches_suffixes: One or more matching name suffixes to satisfy this condition.
|
458
|
+
:param pulumi.Input[bool] no_age: While set `true`, `age` value will be omitted. **Note** Required to set `true` when `age` is unset in the config file.
|
457
459
|
:param pulumi.Input[str] noncurrent_time_before: Relevant only for versioned objects. The date in RFC 3339 (e.g. `2017-06-13`) when the object became nonconcurrent.
|
458
460
|
:param pulumi.Input[int] num_newer_versions: Relevant only for versioned objects. The number of newer versions of an object to satisfy this condition.
|
459
461
|
:param pulumi.Input[str] with_state: Match to live and/or archived objects. Unversioned buckets have only live objects. Supported values include: `"LIVE"`, `"ARCHIVED"`, `"ANY"`.
|
@@ -474,6 +476,8 @@ class BucketLifecycleRuleConditionArgs:
|
|
474
476
|
pulumi.set(__self__, "matches_storage_classes", matches_storage_classes)
|
475
477
|
if matches_suffixes is not None:
|
476
478
|
pulumi.set(__self__, "matches_suffixes", matches_suffixes)
|
479
|
+
if no_age is not None:
|
480
|
+
pulumi.set(__self__, "no_age", no_age)
|
477
481
|
if noncurrent_time_before is not None:
|
478
482
|
pulumi.set(__self__, "noncurrent_time_before", noncurrent_time_before)
|
479
483
|
if num_newer_versions is not None:
|
@@ -577,6 +581,18 @@ class BucketLifecycleRuleConditionArgs:
|
|
577
581
|
def matches_suffixes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
578
582
|
pulumi.set(self, "matches_suffixes", value)
|
579
583
|
|
584
|
+
@property
|
585
|
+
@pulumi.getter(name="noAge")
|
586
|
+
def no_age(self) -> Optional[pulumi.Input[bool]]:
|
587
|
+
"""
|
588
|
+
While set `true`, `age` value will be omitted. **Note** Required to set `true` when `age` is unset in the config file.
|
589
|
+
"""
|
590
|
+
return pulumi.get(self, "no_age")
|
591
|
+
|
592
|
+
@no_age.setter
|
593
|
+
def no_age(self, value: Optional[pulumi.Input[bool]]):
|
594
|
+
pulumi.set(self, "no_age", value)
|
595
|
+
|
580
596
|
@property
|
581
597
|
@pulumi.getter(name="noncurrentTimeBefore")
|
582
598
|
def noncurrent_time_before(self) -> Optional[pulumi.Input[str]]:
|