pulumi-gcp 7.26.0a1717725112__py3-none-any.whl → 7.27.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_gcp/__init__.py +32 -0
- pulumi_gcp/appengine/_inputs.py +40 -0
- pulumi_gcp/appengine/flexible_app_version.py +47 -0
- pulumi_gcp/appengine/outputs.py +51 -0
- pulumi_gcp/bigtable/instance.py +47 -0
- pulumi_gcp/clouddeploy/_inputs.py +16 -0
- pulumi_gcp/clouddeploy/outputs.py +12 -0
- pulumi_gcp/compute/__init__.py +2 -0
- pulumi_gcp/compute/_inputs.py +84 -0
- pulumi_gcp/compute/backend_service.py +54 -0
- pulumi_gcp/compute/disk.py +68 -0
- pulumi_gcp/compute/get_backend_service.py +11 -1
- pulumi_gcp/compute/get_disk.py +11 -1
- pulumi_gcp/compute/get_instance.py +11 -1
- pulumi_gcp/compute/get_instance_group_manager.py +31 -1
- pulumi_gcp/compute/get_instance_template.py +11 -1
- pulumi_gcp/compute/get_region_instance_template.py +11 -1
- pulumi_gcp/compute/get_security_policy.py +214 -0
- pulumi_gcp/compute/instance.py +47 -0
- pulumi_gcp/compute/instance_from_machine_image.py +47 -0
- pulumi_gcp/compute/instance_from_template.py +47 -0
- pulumi_gcp/compute/instance_group_manager.py +185 -0
- pulumi_gcp/compute/instance_template.py +47 -0
- pulumi_gcp/compute/outputs.py +1039 -0
- pulumi_gcp/compute/project_cloud_armor_tier.py +336 -0
- pulumi_gcp/compute/region_instance_group_manager.py +185 -0
- pulumi_gcp/compute/region_instance_template.py +47 -0
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +33 -4
- pulumi_gcp/container/cluster.py +61 -0
- pulumi_gcp/container/get_cluster.py +11 -1
- pulumi_gcp/container/outputs.py +48 -4
- pulumi_gcp/dataloss/_inputs.py +185 -19
- pulumi_gcp/dataloss/outputs.py +206 -17
- pulumi_gcp/dataloss/prevention_inspect_template.py +54 -0
- pulumi_gcp/gkebackup/_inputs.py +282 -7
- pulumi_gcp/gkebackup/backup_plan.py +100 -0
- pulumi_gcp/gkebackup/outputs.py +312 -7
- pulumi_gcp/gkebackup/restore_plan.py +326 -0
- pulumi_gcp/gkebackup/restore_plan_iam_binding.py +326 -0
- pulumi_gcp/gkebackup/restore_plan_iam_member.py +326 -0
- pulumi_gcp/gkebackup/restore_plan_iam_policy.py +326 -0
- pulumi_gcp/healthcare/_inputs.py +17 -1
- pulumi_gcp/healthcare/dicom_store.py +2 -0
- pulumi_gcp/healthcare/fhir_store.py +44 -60
- pulumi_gcp/healthcare/outputs.py +15 -1
- pulumi_gcp/integrationconnectors/endpoint_attachment.py +47 -0
- pulumi_gcp/kms/crypto_key.py +14 -7
- pulumi_gcp/netapp/_inputs.py +58 -0
- pulumi_gcp/netapp/outputs.py +67 -0
- pulumi_gcp/netapp/volume.py +54 -0
- pulumi_gcp/networkservices/__init__.py +1 -0
- pulumi_gcp/networkservices/_inputs.py +47 -0
- pulumi_gcp/networkservices/outputs.py +56 -0
- pulumi_gcp/networkservices/service_lb_policies.py +782 -0
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/_inputs.py +44 -0
- pulumi_gcp/redis/cluster.py +128 -3
- pulumi_gcp/redis/outputs.py +36 -0
- pulumi_gcp/secretmanager/_inputs.py +20 -0
- pulumi_gcp/secretmanager/outputs.py +20 -0
- pulumi_gcp/secretmanager/secret_iam_binding.py +244 -0
- pulumi_gcp/secretmanager/secret_iam_member.py +244 -0
- pulumi_gcp/secretmanager/secret_iam_policy.py +224 -0
- pulumi_gcp/securitycenter/__init__.py +1 -0
- pulumi_gcp/securitycenter/management_organization_event_threat_detection_custom_module.py +568 -0
- pulumi_gcp/spanner/__init__.py +1 -0
- pulumi_gcp/spanner/_inputs.py +68 -0
- pulumi_gcp/spanner/instance_config.py +569 -0
- pulumi_gcp/spanner/outputs.py +73 -0
- pulumi_gcp/sql/_inputs.py +8 -2
- pulumi_gcp/sql/outputs.py +9 -6
- pulumi_gcp/workstations/_inputs.py +51 -1
- pulumi_gcp/workstations/outputs.py +46 -2
- pulumi_gcp/workstations/workstation_config.py +10 -4
- {pulumi_gcp-7.26.0a1717725112.dist-info → pulumi_gcp-7.27.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.26.0a1717725112.dist-info → pulumi_gcp-7.27.0.dist-info}/RECORD +81 -76
- {pulumi_gcp-7.26.0a1717725112.dist-info → pulumi_gcp-7.27.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.26.0a1717725112.dist-info → pulumi_gcp-7.27.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,568 @@
|
|
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__ = ['ManagementOrganizationEventThreatDetectionCustomModuleArgs', 'ManagementOrganizationEventThreatDetectionCustomModule']
|
13
|
+
|
14
|
+
@pulumi.input_type
|
15
|
+
class ManagementOrganizationEventThreatDetectionCustomModuleArgs:
|
16
|
+
def __init__(__self__, *,
|
17
|
+
organization: pulumi.Input[str],
|
18
|
+
config: Optional[pulumi.Input[str]] = None,
|
19
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
20
|
+
enablement_state: Optional[pulumi.Input[str]] = None,
|
21
|
+
location: Optional[pulumi.Input[str]] = None,
|
22
|
+
type: Optional[pulumi.Input[str]] = None):
|
23
|
+
"""
|
24
|
+
The set of arguments for constructing a ManagementOrganizationEventThreatDetectionCustomModule resource.
|
25
|
+
:param pulumi.Input[str] organization: Numerical ID of the parent organization.
|
26
|
+
|
27
|
+
|
28
|
+
- - -
|
29
|
+
:param pulumi.Input[str] config: Config for the module. For the resident module, its config value is defined at this level.
|
30
|
+
For the inherited module, its config value is inherited from the ancestor module.
|
31
|
+
:param pulumi.Input[str] display_name: The human readable name to be displayed for the module.
|
32
|
+
:param pulumi.Input[str] enablement_state: The state of enablement for the module at the given level of the hierarchy.
|
33
|
+
Possible values are: `ENABLED`, `DISABLED`.
|
34
|
+
:param pulumi.Input[str] location: Location ID of the parent organization. Only global is supported at the moment.
|
35
|
+
:param pulumi.Input[str] type: Immutable. Type for the module. e.g. CONFIGURABLE_BAD_IP.
|
36
|
+
"""
|
37
|
+
pulumi.set(__self__, "organization", organization)
|
38
|
+
if config is not None:
|
39
|
+
pulumi.set(__self__, "config", config)
|
40
|
+
if display_name is not None:
|
41
|
+
pulumi.set(__self__, "display_name", display_name)
|
42
|
+
if enablement_state is not None:
|
43
|
+
pulumi.set(__self__, "enablement_state", enablement_state)
|
44
|
+
if location is not None:
|
45
|
+
pulumi.set(__self__, "location", location)
|
46
|
+
if type is not None:
|
47
|
+
pulumi.set(__self__, "type", type)
|
48
|
+
|
49
|
+
@property
|
50
|
+
@pulumi.getter
|
51
|
+
def organization(self) -> pulumi.Input[str]:
|
52
|
+
"""
|
53
|
+
Numerical ID of the parent organization.
|
54
|
+
|
55
|
+
|
56
|
+
- - -
|
57
|
+
"""
|
58
|
+
return pulumi.get(self, "organization")
|
59
|
+
|
60
|
+
@organization.setter
|
61
|
+
def organization(self, value: pulumi.Input[str]):
|
62
|
+
pulumi.set(self, "organization", value)
|
63
|
+
|
64
|
+
@property
|
65
|
+
@pulumi.getter
|
66
|
+
def config(self) -> Optional[pulumi.Input[str]]:
|
67
|
+
"""
|
68
|
+
Config for the module. For the resident module, its config value is defined at this level.
|
69
|
+
For the inherited module, its config value is inherited from the ancestor module.
|
70
|
+
"""
|
71
|
+
return pulumi.get(self, "config")
|
72
|
+
|
73
|
+
@config.setter
|
74
|
+
def config(self, value: Optional[pulumi.Input[str]]):
|
75
|
+
pulumi.set(self, "config", value)
|
76
|
+
|
77
|
+
@property
|
78
|
+
@pulumi.getter(name="displayName")
|
79
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
80
|
+
"""
|
81
|
+
The human readable name to be displayed for the module.
|
82
|
+
"""
|
83
|
+
return pulumi.get(self, "display_name")
|
84
|
+
|
85
|
+
@display_name.setter
|
86
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
87
|
+
pulumi.set(self, "display_name", value)
|
88
|
+
|
89
|
+
@property
|
90
|
+
@pulumi.getter(name="enablementState")
|
91
|
+
def enablement_state(self) -> Optional[pulumi.Input[str]]:
|
92
|
+
"""
|
93
|
+
The state of enablement for the module at the given level of the hierarchy.
|
94
|
+
Possible values are: `ENABLED`, `DISABLED`.
|
95
|
+
"""
|
96
|
+
return pulumi.get(self, "enablement_state")
|
97
|
+
|
98
|
+
@enablement_state.setter
|
99
|
+
def enablement_state(self, value: Optional[pulumi.Input[str]]):
|
100
|
+
pulumi.set(self, "enablement_state", value)
|
101
|
+
|
102
|
+
@property
|
103
|
+
@pulumi.getter
|
104
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
105
|
+
"""
|
106
|
+
Location ID of the parent organization. Only global is supported at the moment.
|
107
|
+
"""
|
108
|
+
return pulumi.get(self, "location")
|
109
|
+
|
110
|
+
@location.setter
|
111
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
112
|
+
pulumi.set(self, "location", value)
|
113
|
+
|
114
|
+
@property
|
115
|
+
@pulumi.getter
|
116
|
+
def type(self) -> Optional[pulumi.Input[str]]:
|
117
|
+
"""
|
118
|
+
Immutable. Type for the module. e.g. CONFIGURABLE_BAD_IP.
|
119
|
+
"""
|
120
|
+
return pulumi.get(self, "type")
|
121
|
+
|
122
|
+
@type.setter
|
123
|
+
def type(self, value: Optional[pulumi.Input[str]]):
|
124
|
+
pulumi.set(self, "type", value)
|
125
|
+
|
126
|
+
|
127
|
+
@pulumi.input_type
|
128
|
+
class _ManagementOrganizationEventThreatDetectionCustomModuleState:
|
129
|
+
def __init__(__self__, *,
|
130
|
+
config: Optional[pulumi.Input[str]] = None,
|
131
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
132
|
+
enablement_state: Optional[pulumi.Input[str]] = None,
|
133
|
+
last_editor: Optional[pulumi.Input[str]] = None,
|
134
|
+
location: Optional[pulumi.Input[str]] = None,
|
135
|
+
name: Optional[pulumi.Input[str]] = None,
|
136
|
+
organization: Optional[pulumi.Input[str]] = None,
|
137
|
+
type: Optional[pulumi.Input[str]] = None,
|
138
|
+
update_time: Optional[pulumi.Input[str]] = None):
|
139
|
+
"""
|
140
|
+
Input properties used for looking up and filtering ManagementOrganizationEventThreatDetectionCustomModule resources.
|
141
|
+
:param pulumi.Input[str] config: Config for the module. For the resident module, its config value is defined at this level.
|
142
|
+
For the inherited module, its config value is inherited from the ancestor module.
|
143
|
+
:param pulumi.Input[str] display_name: The human readable name to be displayed for the module.
|
144
|
+
:param pulumi.Input[str] enablement_state: The state of enablement for the module at the given level of the hierarchy.
|
145
|
+
Possible values are: `ENABLED`, `DISABLED`.
|
146
|
+
:param pulumi.Input[str] last_editor: The editor that last updated the custom module
|
147
|
+
:param pulumi.Input[str] location: Location ID of the parent organization. Only global is supported at the moment.
|
148
|
+
:param pulumi.Input[str] name: The resource name of the Event Threat Detection custom module.
|
149
|
+
Its format is "organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{eventThreatDetectionCustomModule}".
|
150
|
+
:param pulumi.Input[str] organization: Numerical ID of the parent organization.
|
151
|
+
|
152
|
+
|
153
|
+
- - -
|
154
|
+
:param pulumi.Input[str] type: Immutable. Type for the module. e.g. CONFIGURABLE_BAD_IP.
|
155
|
+
:param pulumi.Input[str] update_time: The time at which the custom module was last updated.
|
156
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and
|
157
|
+
up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
158
|
+
"""
|
159
|
+
if config is not None:
|
160
|
+
pulumi.set(__self__, "config", config)
|
161
|
+
if display_name is not None:
|
162
|
+
pulumi.set(__self__, "display_name", display_name)
|
163
|
+
if enablement_state is not None:
|
164
|
+
pulumi.set(__self__, "enablement_state", enablement_state)
|
165
|
+
if last_editor is not None:
|
166
|
+
pulumi.set(__self__, "last_editor", last_editor)
|
167
|
+
if location is not None:
|
168
|
+
pulumi.set(__self__, "location", location)
|
169
|
+
if name is not None:
|
170
|
+
pulumi.set(__self__, "name", name)
|
171
|
+
if organization is not None:
|
172
|
+
pulumi.set(__self__, "organization", organization)
|
173
|
+
if type is not None:
|
174
|
+
pulumi.set(__self__, "type", type)
|
175
|
+
if update_time is not None:
|
176
|
+
pulumi.set(__self__, "update_time", update_time)
|
177
|
+
|
178
|
+
@property
|
179
|
+
@pulumi.getter
|
180
|
+
def config(self) -> Optional[pulumi.Input[str]]:
|
181
|
+
"""
|
182
|
+
Config for the module. For the resident module, its config value is defined at this level.
|
183
|
+
For the inherited module, its config value is inherited from the ancestor module.
|
184
|
+
"""
|
185
|
+
return pulumi.get(self, "config")
|
186
|
+
|
187
|
+
@config.setter
|
188
|
+
def config(self, value: Optional[pulumi.Input[str]]):
|
189
|
+
pulumi.set(self, "config", value)
|
190
|
+
|
191
|
+
@property
|
192
|
+
@pulumi.getter(name="displayName")
|
193
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
194
|
+
"""
|
195
|
+
The human readable name to be displayed for the module.
|
196
|
+
"""
|
197
|
+
return pulumi.get(self, "display_name")
|
198
|
+
|
199
|
+
@display_name.setter
|
200
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
201
|
+
pulumi.set(self, "display_name", value)
|
202
|
+
|
203
|
+
@property
|
204
|
+
@pulumi.getter(name="enablementState")
|
205
|
+
def enablement_state(self) -> Optional[pulumi.Input[str]]:
|
206
|
+
"""
|
207
|
+
The state of enablement for the module at the given level of the hierarchy.
|
208
|
+
Possible values are: `ENABLED`, `DISABLED`.
|
209
|
+
"""
|
210
|
+
return pulumi.get(self, "enablement_state")
|
211
|
+
|
212
|
+
@enablement_state.setter
|
213
|
+
def enablement_state(self, value: Optional[pulumi.Input[str]]):
|
214
|
+
pulumi.set(self, "enablement_state", value)
|
215
|
+
|
216
|
+
@property
|
217
|
+
@pulumi.getter(name="lastEditor")
|
218
|
+
def last_editor(self) -> Optional[pulumi.Input[str]]:
|
219
|
+
"""
|
220
|
+
The editor that last updated the custom module
|
221
|
+
"""
|
222
|
+
return pulumi.get(self, "last_editor")
|
223
|
+
|
224
|
+
@last_editor.setter
|
225
|
+
def last_editor(self, value: Optional[pulumi.Input[str]]):
|
226
|
+
pulumi.set(self, "last_editor", value)
|
227
|
+
|
228
|
+
@property
|
229
|
+
@pulumi.getter
|
230
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
231
|
+
"""
|
232
|
+
Location ID of the parent organization. Only global is supported at the moment.
|
233
|
+
"""
|
234
|
+
return pulumi.get(self, "location")
|
235
|
+
|
236
|
+
@location.setter
|
237
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
238
|
+
pulumi.set(self, "location", value)
|
239
|
+
|
240
|
+
@property
|
241
|
+
@pulumi.getter
|
242
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
243
|
+
"""
|
244
|
+
The resource name of the Event Threat Detection custom module.
|
245
|
+
Its format is "organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{eventThreatDetectionCustomModule}".
|
246
|
+
"""
|
247
|
+
return pulumi.get(self, "name")
|
248
|
+
|
249
|
+
@name.setter
|
250
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
251
|
+
pulumi.set(self, "name", value)
|
252
|
+
|
253
|
+
@property
|
254
|
+
@pulumi.getter
|
255
|
+
def organization(self) -> Optional[pulumi.Input[str]]:
|
256
|
+
"""
|
257
|
+
Numerical ID of the parent organization.
|
258
|
+
|
259
|
+
|
260
|
+
- - -
|
261
|
+
"""
|
262
|
+
return pulumi.get(self, "organization")
|
263
|
+
|
264
|
+
@organization.setter
|
265
|
+
def organization(self, value: Optional[pulumi.Input[str]]):
|
266
|
+
pulumi.set(self, "organization", value)
|
267
|
+
|
268
|
+
@property
|
269
|
+
@pulumi.getter
|
270
|
+
def type(self) -> Optional[pulumi.Input[str]]:
|
271
|
+
"""
|
272
|
+
Immutable. Type for the module. e.g. CONFIGURABLE_BAD_IP.
|
273
|
+
"""
|
274
|
+
return pulumi.get(self, "type")
|
275
|
+
|
276
|
+
@type.setter
|
277
|
+
def type(self, value: Optional[pulumi.Input[str]]):
|
278
|
+
pulumi.set(self, "type", value)
|
279
|
+
|
280
|
+
@property
|
281
|
+
@pulumi.getter(name="updateTime")
|
282
|
+
def update_time(self) -> Optional[pulumi.Input[str]]:
|
283
|
+
"""
|
284
|
+
The time at which the custom module was last updated.
|
285
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and
|
286
|
+
up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
287
|
+
"""
|
288
|
+
return pulumi.get(self, "update_time")
|
289
|
+
|
290
|
+
@update_time.setter
|
291
|
+
def update_time(self, value: Optional[pulumi.Input[str]]):
|
292
|
+
pulumi.set(self, "update_time", value)
|
293
|
+
|
294
|
+
|
295
|
+
class ManagementOrganizationEventThreatDetectionCustomModule(pulumi.CustomResource):
|
296
|
+
@overload
|
297
|
+
def __init__(__self__,
|
298
|
+
resource_name: str,
|
299
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
300
|
+
config: Optional[pulumi.Input[str]] = None,
|
301
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
302
|
+
enablement_state: Optional[pulumi.Input[str]] = None,
|
303
|
+
location: Optional[pulumi.Input[str]] = None,
|
304
|
+
organization: Optional[pulumi.Input[str]] = None,
|
305
|
+
type: Optional[pulumi.Input[str]] = None,
|
306
|
+
__props__=None):
|
307
|
+
"""
|
308
|
+
Represents an instance of an Event Threat Detection custom module, including
|
309
|
+
its full module name, display name, enablement state, and last updated time.
|
310
|
+
You can create a custom module at the organization level only.
|
311
|
+
|
312
|
+
To get more information about OrganizationEventThreatDetectionCustomModule, see:
|
313
|
+
|
314
|
+
* [API documentation](https://cloud.google.com/security-command-center/docs/reference/security-center-management/rest/v1/organizations.locations.eventThreatDetectionCustomModules)
|
315
|
+
* How-to Guides
|
316
|
+
* [Overview of custom modules for Event Threat Detection](https://cloud.google.com/security-command-center/docs/custom-modules-etd-overview)
|
317
|
+
|
318
|
+
## Example Usage
|
319
|
+
|
320
|
+
## Import
|
321
|
+
|
322
|
+
OrganizationEventThreatDetectionCustomModule can be imported using any of these accepted formats:
|
323
|
+
|
324
|
+
* `organizations/{{organization}}/locations/{{location}}/eventThreatDetectionCustomModules/{{name}}`
|
325
|
+
|
326
|
+
* `{{organization}}/{{location}}/{{name}}`
|
327
|
+
|
328
|
+
When using the `pulumi import` command, OrganizationEventThreatDetectionCustomModule can be imported using one of the formats above. For example:
|
329
|
+
|
330
|
+
```sh
|
331
|
+
$ pulumi import gcp:securitycenter/managementOrganizationEventThreatDetectionCustomModule:ManagementOrganizationEventThreatDetectionCustomModule default organizations/{{organization}}/locations/{{location}}/eventThreatDetectionCustomModules/{{name}}
|
332
|
+
```
|
333
|
+
|
334
|
+
```sh
|
335
|
+
$ pulumi import gcp:securitycenter/managementOrganizationEventThreatDetectionCustomModule:ManagementOrganizationEventThreatDetectionCustomModule default {{organization}}/{{location}}/{{name}}
|
336
|
+
```
|
337
|
+
|
338
|
+
:param str resource_name: The name of the resource.
|
339
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
340
|
+
:param pulumi.Input[str] config: Config for the module. For the resident module, its config value is defined at this level.
|
341
|
+
For the inherited module, its config value is inherited from the ancestor module.
|
342
|
+
:param pulumi.Input[str] display_name: The human readable name to be displayed for the module.
|
343
|
+
:param pulumi.Input[str] enablement_state: The state of enablement for the module at the given level of the hierarchy.
|
344
|
+
Possible values are: `ENABLED`, `DISABLED`.
|
345
|
+
:param pulumi.Input[str] location: Location ID of the parent organization. Only global is supported at the moment.
|
346
|
+
:param pulumi.Input[str] organization: Numerical ID of the parent organization.
|
347
|
+
|
348
|
+
|
349
|
+
- - -
|
350
|
+
:param pulumi.Input[str] type: Immutable. Type for the module. e.g. CONFIGURABLE_BAD_IP.
|
351
|
+
"""
|
352
|
+
...
|
353
|
+
@overload
|
354
|
+
def __init__(__self__,
|
355
|
+
resource_name: str,
|
356
|
+
args: ManagementOrganizationEventThreatDetectionCustomModuleArgs,
|
357
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
358
|
+
"""
|
359
|
+
Represents an instance of an Event Threat Detection custom module, including
|
360
|
+
its full module name, display name, enablement state, and last updated time.
|
361
|
+
You can create a custom module at the organization level only.
|
362
|
+
|
363
|
+
To get more information about OrganizationEventThreatDetectionCustomModule, see:
|
364
|
+
|
365
|
+
* [API documentation](https://cloud.google.com/security-command-center/docs/reference/security-center-management/rest/v1/organizations.locations.eventThreatDetectionCustomModules)
|
366
|
+
* How-to Guides
|
367
|
+
* [Overview of custom modules for Event Threat Detection](https://cloud.google.com/security-command-center/docs/custom-modules-etd-overview)
|
368
|
+
|
369
|
+
## Example Usage
|
370
|
+
|
371
|
+
## Import
|
372
|
+
|
373
|
+
OrganizationEventThreatDetectionCustomModule can be imported using any of these accepted formats:
|
374
|
+
|
375
|
+
* `organizations/{{organization}}/locations/{{location}}/eventThreatDetectionCustomModules/{{name}}`
|
376
|
+
|
377
|
+
* `{{organization}}/{{location}}/{{name}}`
|
378
|
+
|
379
|
+
When using the `pulumi import` command, OrganizationEventThreatDetectionCustomModule can be imported using one of the formats above. For example:
|
380
|
+
|
381
|
+
```sh
|
382
|
+
$ pulumi import gcp:securitycenter/managementOrganizationEventThreatDetectionCustomModule:ManagementOrganizationEventThreatDetectionCustomModule default organizations/{{organization}}/locations/{{location}}/eventThreatDetectionCustomModules/{{name}}
|
383
|
+
```
|
384
|
+
|
385
|
+
```sh
|
386
|
+
$ pulumi import gcp:securitycenter/managementOrganizationEventThreatDetectionCustomModule:ManagementOrganizationEventThreatDetectionCustomModule default {{organization}}/{{location}}/{{name}}
|
387
|
+
```
|
388
|
+
|
389
|
+
:param str resource_name: The name of the resource.
|
390
|
+
:param ManagementOrganizationEventThreatDetectionCustomModuleArgs args: The arguments to use to populate this resource's properties.
|
391
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
392
|
+
"""
|
393
|
+
...
|
394
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
395
|
+
resource_args, opts = _utilities.get_resource_args_opts(ManagementOrganizationEventThreatDetectionCustomModuleArgs, pulumi.ResourceOptions, *args, **kwargs)
|
396
|
+
if resource_args is not None:
|
397
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
398
|
+
else:
|
399
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
400
|
+
|
401
|
+
def _internal_init(__self__,
|
402
|
+
resource_name: str,
|
403
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
404
|
+
config: Optional[pulumi.Input[str]] = None,
|
405
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
406
|
+
enablement_state: Optional[pulumi.Input[str]] = None,
|
407
|
+
location: Optional[pulumi.Input[str]] = None,
|
408
|
+
organization: Optional[pulumi.Input[str]] = None,
|
409
|
+
type: Optional[pulumi.Input[str]] = None,
|
410
|
+
__props__=None):
|
411
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
412
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
413
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
414
|
+
if opts.id is None:
|
415
|
+
if __props__ is not None:
|
416
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
417
|
+
__props__ = ManagementOrganizationEventThreatDetectionCustomModuleArgs.__new__(ManagementOrganizationEventThreatDetectionCustomModuleArgs)
|
418
|
+
|
419
|
+
__props__.__dict__["config"] = config
|
420
|
+
__props__.__dict__["display_name"] = display_name
|
421
|
+
__props__.__dict__["enablement_state"] = enablement_state
|
422
|
+
__props__.__dict__["location"] = location
|
423
|
+
if organization is None and not opts.urn:
|
424
|
+
raise TypeError("Missing required property 'organization'")
|
425
|
+
__props__.__dict__["organization"] = organization
|
426
|
+
__props__.__dict__["type"] = type
|
427
|
+
__props__.__dict__["last_editor"] = None
|
428
|
+
__props__.__dict__["name"] = None
|
429
|
+
__props__.__dict__["update_time"] = None
|
430
|
+
super(ManagementOrganizationEventThreatDetectionCustomModule, __self__).__init__(
|
431
|
+
'gcp:securitycenter/managementOrganizationEventThreatDetectionCustomModule:ManagementOrganizationEventThreatDetectionCustomModule',
|
432
|
+
resource_name,
|
433
|
+
__props__,
|
434
|
+
opts)
|
435
|
+
|
436
|
+
@staticmethod
|
437
|
+
def get(resource_name: str,
|
438
|
+
id: pulumi.Input[str],
|
439
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
440
|
+
config: Optional[pulumi.Input[str]] = None,
|
441
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
442
|
+
enablement_state: Optional[pulumi.Input[str]] = None,
|
443
|
+
last_editor: Optional[pulumi.Input[str]] = None,
|
444
|
+
location: Optional[pulumi.Input[str]] = None,
|
445
|
+
name: Optional[pulumi.Input[str]] = None,
|
446
|
+
organization: Optional[pulumi.Input[str]] = None,
|
447
|
+
type: Optional[pulumi.Input[str]] = None,
|
448
|
+
update_time: Optional[pulumi.Input[str]] = None) -> 'ManagementOrganizationEventThreatDetectionCustomModule':
|
449
|
+
"""
|
450
|
+
Get an existing ManagementOrganizationEventThreatDetectionCustomModule resource's state with the given name, id, and optional extra
|
451
|
+
properties used to qualify the lookup.
|
452
|
+
|
453
|
+
:param str resource_name: The unique name of the resulting resource.
|
454
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
455
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
456
|
+
:param pulumi.Input[str] config: Config for the module. For the resident module, its config value is defined at this level.
|
457
|
+
For the inherited module, its config value is inherited from the ancestor module.
|
458
|
+
:param pulumi.Input[str] display_name: The human readable name to be displayed for the module.
|
459
|
+
:param pulumi.Input[str] enablement_state: The state of enablement for the module at the given level of the hierarchy.
|
460
|
+
Possible values are: `ENABLED`, `DISABLED`.
|
461
|
+
:param pulumi.Input[str] last_editor: The editor that last updated the custom module
|
462
|
+
:param pulumi.Input[str] location: Location ID of the parent organization. Only global is supported at the moment.
|
463
|
+
:param pulumi.Input[str] name: The resource name of the Event Threat Detection custom module.
|
464
|
+
Its format is "organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{eventThreatDetectionCustomModule}".
|
465
|
+
:param pulumi.Input[str] organization: Numerical ID of the parent organization.
|
466
|
+
|
467
|
+
|
468
|
+
- - -
|
469
|
+
:param pulumi.Input[str] type: Immutable. Type for the module. e.g. CONFIGURABLE_BAD_IP.
|
470
|
+
:param pulumi.Input[str] update_time: The time at which the custom module was last updated.
|
471
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and
|
472
|
+
up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
473
|
+
"""
|
474
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
475
|
+
|
476
|
+
__props__ = _ManagementOrganizationEventThreatDetectionCustomModuleState.__new__(_ManagementOrganizationEventThreatDetectionCustomModuleState)
|
477
|
+
|
478
|
+
__props__.__dict__["config"] = config
|
479
|
+
__props__.__dict__["display_name"] = display_name
|
480
|
+
__props__.__dict__["enablement_state"] = enablement_state
|
481
|
+
__props__.__dict__["last_editor"] = last_editor
|
482
|
+
__props__.__dict__["location"] = location
|
483
|
+
__props__.__dict__["name"] = name
|
484
|
+
__props__.__dict__["organization"] = organization
|
485
|
+
__props__.__dict__["type"] = type
|
486
|
+
__props__.__dict__["update_time"] = update_time
|
487
|
+
return ManagementOrganizationEventThreatDetectionCustomModule(resource_name, opts=opts, __props__=__props__)
|
488
|
+
|
489
|
+
@property
|
490
|
+
@pulumi.getter
|
491
|
+
def config(self) -> pulumi.Output[Optional[str]]:
|
492
|
+
"""
|
493
|
+
Config for the module. For the resident module, its config value is defined at this level.
|
494
|
+
For the inherited module, its config value is inherited from the ancestor module.
|
495
|
+
"""
|
496
|
+
return pulumi.get(self, "config")
|
497
|
+
|
498
|
+
@property
|
499
|
+
@pulumi.getter(name="displayName")
|
500
|
+
def display_name(self) -> pulumi.Output[Optional[str]]:
|
501
|
+
"""
|
502
|
+
The human readable name to be displayed for the module.
|
503
|
+
"""
|
504
|
+
return pulumi.get(self, "display_name")
|
505
|
+
|
506
|
+
@property
|
507
|
+
@pulumi.getter(name="enablementState")
|
508
|
+
def enablement_state(self) -> pulumi.Output[Optional[str]]:
|
509
|
+
"""
|
510
|
+
The state of enablement for the module at the given level of the hierarchy.
|
511
|
+
Possible values are: `ENABLED`, `DISABLED`.
|
512
|
+
"""
|
513
|
+
return pulumi.get(self, "enablement_state")
|
514
|
+
|
515
|
+
@property
|
516
|
+
@pulumi.getter(name="lastEditor")
|
517
|
+
def last_editor(self) -> pulumi.Output[str]:
|
518
|
+
"""
|
519
|
+
The editor that last updated the custom module
|
520
|
+
"""
|
521
|
+
return pulumi.get(self, "last_editor")
|
522
|
+
|
523
|
+
@property
|
524
|
+
@pulumi.getter
|
525
|
+
def location(self) -> pulumi.Output[Optional[str]]:
|
526
|
+
"""
|
527
|
+
Location ID of the parent organization. Only global is supported at the moment.
|
528
|
+
"""
|
529
|
+
return pulumi.get(self, "location")
|
530
|
+
|
531
|
+
@property
|
532
|
+
@pulumi.getter
|
533
|
+
def name(self) -> pulumi.Output[str]:
|
534
|
+
"""
|
535
|
+
The resource name of the Event Threat Detection custom module.
|
536
|
+
Its format is "organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{eventThreatDetectionCustomModule}".
|
537
|
+
"""
|
538
|
+
return pulumi.get(self, "name")
|
539
|
+
|
540
|
+
@property
|
541
|
+
@pulumi.getter
|
542
|
+
def organization(self) -> pulumi.Output[str]:
|
543
|
+
"""
|
544
|
+
Numerical ID of the parent organization.
|
545
|
+
|
546
|
+
|
547
|
+
- - -
|
548
|
+
"""
|
549
|
+
return pulumi.get(self, "organization")
|
550
|
+
|
551
|
+
@property
|
552
|
+
@pulumi.getter
|
553
|
+
def type(self) -> pulumi.Output[Optional[str]]:
|
554
|
+
"""
|
555
|
+
Immutable. Type for the module. e.g. CONFIGURABLE_BAD_IP.
|
556
|
+
"""
|
557
|
+
return pulumi.get(self, "type")
|
558
|
+
|
559
|
+
@property
|
560
|
+
@pulumi.getter(name="updateTime")
|
561
|
+
def update_time(self) -> pulumi.Output[str]:
|
562
|
+
"""
|
563
|
+
The time at which the custom module was last updated.
|
564
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and
|
565
|
+
up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
566
|
+
"""
|
567
|
+
return pulumi.get(self, "update_time")
|
568
|
+
|
pulumi_gcp/spanner/__init__.py
CHANGED
@@ -13,6 +13,7 @@ from .get_database_iam_policy import *
|
|
13
13
|
from .get_instance import *
|
14
14
|
from .get_instance_iam_policy import *
|
15
15
|
from .instance import *
|
16
|
+
from .instance_config import *
|
16
17
|
from .instance_iam_binding import *
|
17
18
|
from .instance_iam_member import *
|
18
19
|
from .instance_iam_policy import *
|
pulumi_gcp/spanner/_inputs.py
CHANGED
@@ -16,6 +16,7 @@ __all__ = [
|
|
16
16
|
'InstanceAutoscalingConfigArgs',
|
17
17
|
'InstanceAutoscalingConfigAutoscalingLimitsArgs',
|
18
18
|
'InstanceAutoscalingConfigAutoscalingTargetsArgs',
|
19
|
+
'InstanceConfigReplicaArgs',
|
19
20
|
'InstanceIAMBindingConditionArgs',
|
20
21
|
'InstanceIAMMemberConditionArgs',
|
21
22
|
]
|
@@ -325,6 +326,73 @@ class InstanceAutoscalingConfigAutoscalingTargetsArgs:
|
|
325
326
|
pulumi.set(self, "storage_utilization_percent", value)
|
326
327
|
|
327
328
|
|
329
|
+
@pulumi.input_type
|
330
|
+
class InstanceConfigReplicaArgs:
|
331
|
+
def __init__(__self__, *,
|
332
|
+
default_leader_location: Optional[pulumi.Input[bool]] = None,
|
333
|
+
location: Optional[pulumi.Input[str]] = None,
|
334
|
+
type: Optional[pulumi.Input[str]] = None):
|
335
|
+
"""
|
336
|
+
:param pulumi.Input[bool] default_leader_location: If true, this location is designated as the default leader location where
|
337
|
+
leader replicas are placed.
|
338
|
+
|
339
|
+
- - -
|
340
|
+
:param pulumi.Input[str] location: The location of the serving resources, e.g. "us-central1".
|
341
|
+
:param pulumi.Input[str] type: Indicates the type of replica. See the [replica types
|
342
|
+
documentation](https://cloud.google.com/spanner/docs/replication#replica_types)
|
343
|
+
for more details.
|
344
|
+
Possible values are: `READ_WRITE`, `READ_ONLY`, `WITNESS`.
|
345
|
+
"""
|
346
|
+
if default_leader_location is not None:
|
347
|
+
pulumi.set(__self__, "default_leader_location", default_leader_location)
|
348
|
+
if location is not None:
|
349
|
+
pulumi.set(__self__, "location", location)
|
350
|
+
if type is not None:
|
351
|
+
pulumi.set(__self__, "type", type)
|
352
|
+
|
353
|
+
@property
|
354
|
+
@pulumi.getter(name="defaultLeaderLocation")
|
355
|
+
def default_leader_location(self) -> Optional[pulumi.Input[bool]]:
|
356
|
+
"""
|
357
|
+
If true, this location is designated as the default leader location where
|
358
|
+
leader replicas are placed.
|
359
|
+
|
360
|
+
- - -
|
361
|
+
"""
|
362
|
+
return pulumi.get(self, "default_leader_location")
|
363
|
+
|
364
|
+
@default_leader_location.setter
|
365
|
+
def default_leader_location(self, value: Optional[pulumi.Input[bool]]):
|
366
|
+
pulumi.set(self, "default_leader_location", value)
|
367
|
+
|
368
|
+
@property
|
369
|
+
@pulumi.getter
|
370
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
371
|
+
"""
|
372
|
+
The location of the serving resources, e.g. "us-central1".
|
373
|
+
"""
|
374
|
+
return pulumi.get(self, "location")
|
375
|
+
|
376
|
+
@location.setter
|
377
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
378
|
+
pulumi.set(self, "location", value)
|
379
|
+
|
380
|
+
@property
|
381
|
+
@pulumi.getter
|
382
|
+
def type(self) -> Optional[pulumi.Input[str]]:
|
383
|
+
"""
|
384
|
+
Indicates the type of replica. See the [replica types
|
385
|
+
documentation](https://cloud.google.com/spanner/docs/replication#replica_types)
|
386
|
+
for more details.
|
387
|
+
Possible values are: `READ_WRITE`, `READ_ONLY`, `WITNESS`.
|
388
|
+
"""
|
389
|
+
return pulumi.get(self, "type")
|
390
|
+
|
391
|
+
@type.setter
|
392
|
+
def type(self, value: Optional[pulumi.Input[str]]):
|
393
|
+
pulumi.set(self, "type", value)
|
394
|
+
|
395
|
+
|
328
396
|
@pulumi.input_type
|
329
397
|
class InstanceIAMBindingConditionArgs:
|
330
398
|
def __init__(__self__, *,
|