pulumi-gcp 9.3.0a1759387993__py3-none-any.whl → 9.3.0a1759868184__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/apigee/__init__.py +1 -0
- pulumi_gcp/apigee/api_deployment.py +372 -0
- pulumi_gcp/apihub/plugin.py +1 -1
- pulumi_gcp/artifactregistry/__init__.py +2 -0
- pulumi_gcp/artifactregistry/get_maven_artifacts.py +164 -0
- pulumi_gcp/artifactregistry/get_npm_packages.py +164 -0
- pulumi_gcp/artifactregistry/outputs.py +165 -0
- pulumi_gcp/cloudrunv2/_inputs.py +823 -15
- pulumi_gcp/cloudrunv2/outputs.py +1749 -743
- pulumi_gcp/cloudrunv2/worker_pool.py +110 -0
- pulumi_gcp/compute/_inputs.py +28 -0
- pulumi_gcp/compute/outputs.py +20 -1
- pulumi_gcp/compute/vpn_tunnel.py +97 -23
- pulumi_gcp/compute/wire_group.py +2 -0
- pulumi_gcp/dataloss/_inputs.py +970 -30
- pulumi_gcp/dataloss/outputs.py +850 -20
- pulumi_gcp/dataloss/prevention_discovery_config.py +54 -0
- pulumi_gcp/diagflow/_inputs.py +66 -0
- pulumi_gcp/diagflow/conversation_profile.py +84 -0
- pulumi_gcp/diagflow/outputs.py +57 -0
- pulumi_gcp/discoveryengine/__init__.py +1 -0
- pulumi_gcp/discoveryengine/_inputs.py +187 -0
- pulumi_gcp/discoveryengine/data_connector.py +1368 -0
- pulumi_gcp/discoveryengine/outputs.py +135 -0
- pulumi_gcp/discoveryengine/search_engine.py +47 -0
- pulumi_gcp/gkebackup/_inputs.py +111 -0
- pulumi_gcp/gkebackup/backup_plan.py +72 -0
- pulumi_gcp/gkebackup/outputs.py +84 -0
- pulumi_gcp/kms/__init__.py +1 -0
- pulumi_gcp/kms/_inputs.py +43 -0
- pulumi_gcp/kms/organization_kaj_policy_config.py +290 -0
- pulumi_gcp/kms/outputs.py +43 -0
- pulumi_gcp/logging/metric.py +2 -2
- pulumi_gcp/looker/instance.py +51 -0
- pulumi_gcp/managedkafka/connect_cluster.py +20 -82
- pulumi_gcp/managedkafka/connector.py +24 -94
- pulumi_gcp/netapp/_inputs.py +28 -5
- pulumi_gcp/netapp/outputs.py +19 -3
- pulumi_gcp/netapp/storage_pool.py +56 -0
- pulumi_gcp/netapp/volume.py +28 -0
- pulumi_gcp/networkconnectivity/spoke.py +14 -14
- pulumi_gcp/networksecurity/mirroring_endpoint_group.py +211 -23
- pulumi_gcp/oracledatabase/odb_network.py +101 -2
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/privilegedaccessmanager/_inputs.py +27 -4
- pulumi_gcp/privilegedaccessmanager/outputs.py +31 -6
- pulumi_gcp/pubsub/get_subscription.py +12 -1
- pulumi_gcp/pubsub/get_topic.py +15 -4
- pulumi_gcp/pubsub/subscription.py +153 -7
- pulumi_gcp/pubsub/topic.py +145 -3
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/saasruntime/__init__.py +1 -0
- pulumi_gcp/saasruntime/_inputs.py +60 -0
- pulumi_gcp/saasruntime/outputs.py +55 -0
- pulumi_gcp/saasruntime/rollout_kind.py +1086 -0
- pulumi_gcp/sql/_inputs.py +122 -3
- pulumi_gcp/sql/database_instance.py +47 -0
- pulumi_gcp/sql/get_database_instance.py +12 -1
- pulumi_gcp/sql/outputs.py +233 -2
- pulumi_gcp/storage/bucket.py +52 -24
- pulumi_gcp/storage/get_insights_dataset_config.py +12 -1
- pulumi_gcp/storage/insights_dataset_config.py +49 -0
- pulumi_gcp/storage/insights_report_config.py +47 -0
- pulumi_gcp/vertex/_inputs.py +339 -1
- pulumi_gcp/vertex/ai_endpoint.py +4 -4
- pulumi_gcp/vertex/ai_endpoint_with_model_garden_deployment.py +102 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
- pulumi_gcp/vertex/ai_index.py +74 -2
- pulumi_gcp/vertex/ai_index_endpoint.py +54 -0
- pulumi_gcp/vertex/get_ai_index.py +12 -1
- pulumi_gcp/vertex/outputs.py +303 -1
- {pulumi_gcp-9.3.0a1759387993.dist-info → pulumi_gcp-9.3.0a1759868184.dist-info}/METADATA +1 -1
- {pulumi_gcp-9.3.0a1759387993.dist-info → pulumi_gcp-9.3.0a1759868184.dist-info}/RECORD +76 -70
- {pulumi_gcp-9.3.0a1759387993.dist-info → pulumi_gcp-9.3.0a1759868184.dist-info}/WHEEL +0 -0
- {pulumi_gcp-9.3.0a1759387993.dist-info → pulumi_gcp-9.3.0a1759868184.dist-info}/top_level.txt +0 -0
@@ -22,17 +22,16 @@ __all__ = ['MirroringEndpointGroupArgs', 'MirroringEndpointGroup']
|
|
22
22
|
class MirroringEndpointGroupArgs:
|
23
23
|
def __init__(__self__, *,
|
24
24
|
location: pulumi.Input[_builtins.str],
|
25
|
-
mirroring_deployment_group: pulumi.Input[_builtins.str],
|
26
25
|
mirroring_endpoint_group_id: pulumi.Input[_builtins.str],
|
27
26
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
28
27
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
29
|
-
|
28
|
+
mirroring_deployment_group: Optional[pulumi.Input[_builtins.str]] = None,
|
29
|
+
mirroring_deployment_groups: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
30
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
31
|
+
type: Optional[pulumi.Input[_builtins.str]] = None):
|
30
32
|
"""
|
31
33
|
The set of arguments for constructing a MirroringEndpointGroup resource.
|
32
34
|
:param pulumi.Input[_builtins.str] location: The cloud location of the endpoint group, currently restricted to `global`.
|
33
|
-
:param pulumi.Input[_builtins.str] mirroring_deployment_group: The deployment group that this DIRECT endpoint group is connected to, for example:
|
34
|
-
`projects/123456789/locations/global/mirroringDeploymentGroups/my-dg`.
|
35
|
-
See https://google.aip.dev/124.
|
36
35
|
:param pulumi.Input[_builtins.str] mirroring_endpoint_group_id: The ID to use for the endpoint group, which will become the final component
|
37
36
|
of the endpoint group's resource name.
|
38
37
|
:param pulumi.Input[_builtins.str] description: User-provided description of the endpoint group.
|
@@ -40,18 +39,35 @@ class MirroringEndpointGroupArgs:
|
|
40
39
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key/value pairs that help to organize and filter resources.
|
41
40
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
42
41
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
42
|
+
:param pulumi.Input[_builtins.str] mirroring_deployment_group: The deployment group that this DIRECT endpoint group is connected to, for example:
|
43
|
+
`projects/123456789/locations/global/mirroringDeploymentGroups/my-dg`.
|
44
|
+
See https://google.aip.dev/124.
|
45
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] mirroring_deployment_groups: A list of the deployment groups that this BROKER endpoint group is
|
46
|
+
connected to, for example:
|
47
|
+
`projects/123456789/locations/global/mirroringDeploymentGroups/my-dg`.
|
48
|
+
See https://google.aip.dev/124.
|
43
49
|
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
|
44
50
|
If it is not provided, the provider project is used.
|
51
|
+
:param pulumi.Input[_builtins.str] type: The type of the endpoint group.
|
52
|
+
If left unspecified, defaults to DIRECT.
|
53
|
+
Possible values:
|
54
|
+
DIRECT
|
55
|
+
BROKER
|
45
56
|
"""
|
46
57
|
pulumi.set(__self__, "location", location)
|
47
|
-
pulumi.set(__self__, "mirroring_deployment_group", mirroring_deployment_group)
|
48
58
|
pulumi.set(__self__, "mirroring_endpoint_group_id", mirroring_endpoint_group_id)
|
49
59
|
if description is not None:
|
50
60
|
pulumi.set(__self__, "description", description)
|
51
61
|
if labels is not None:
|
52
62
|
pulumi.set(__self__, "labels", labels)
|
63
|
+
if mirroring_deployment_group is not None:
|
64
|
+
pulumi.set(__self__, "mirroring_deployment_group", mirroring_deployment_group)
|
65
|
+
if mirroring_deployment_groups is not None:
|
66
|
+
pulumi.set(__self__, "mirroring_deployment_groups", mirroring_deployment_groups)
|
53
67
|
if project is not None:
|
54
68
|
pulumi.set(__self__, "project", project)
|
69
|
+
if type is not None:
|
70
|
+
pulumi.set(__self__, "type", type)
|
55
71
|
|
56
72
|
@_builtins.property
|
57
73
|
@pulumi.getter
|
@@ -65,20 +81,6 @@ class MirroringEndpointGroupArgs:
|
|
65
81
|
def location(self, value: pulumi.Input[_builtins.str]):
|
66
82
|
pulumi.set(self, "location", value)
|
67
83
|
|
68
|
-
@_builtins.property
|
69
|
-
@pulumi.getter(name="mirroringDeploymentGroup")
|
70
|
-
def mirroring_deployment_group(self) -> pulumi.Input[_builtins.str]:
|
71
|
-
"""
|
72
|
-
The deployment group that this DIRECT endpoint group is connected to, for example:
|
73
|
-
`projects/123456789/locations/global/mirroringDeploymentGroups/my-dg`.
|
74
|
-
See https://google.aip.dev/124.
|
75
|
-
"""
|
76
|
-
return pulumi.get(self, "mirroring_deployment_group")
|
77
|
-
|
78
|
-
@mirroring_deployment_group.setter
|
79
|
-
def mirroring_deployment_group(self, value: pulumi.Input[_builtins.str]):
|
80
|
-
pulumi.set(self, "mirroring_deployment_group", value)
|
81
|
-
|
82
84
|
@_builtins.property
|
83
85
|
@pulumi.getter(name="mirroringEndpointGroupId")
|
84
86
|
def mirroring_endpoint_group_id(self) -> pulumi.Input[_builtins.str]:
|
@@ -119,6 +121,35 @@ class MirroringEndpointGroupArgs:
|
|
119
121
|
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
120
122
|
pulumi.set(self, "labels", value)
|
121
123
|
|
124
|
+
@_builtins.property
|
125
|
+
@pulumi.getter(name="mirroringDeploymentGroup")
|
126
|
+
def mirroring_deployment_group(self) -> Optional[pulumi.Input[_builtins.str]]:
|
127
|
+
"""
|
128
|
+
The deployment group that this DIRECT endpoint group is connected to, for example:
|
129
|
+
`projects/123456789/locations/global/mirroringDeploymentGroups/my-dg`.
|
130
|
+
See https://google.aip.dev/124.
|
131
|
+
"""
|
132
|
+
return pulumi.get(self, "mirroring_deployment_group")
|
133
|
+
|
134
|
+
@mirroring_deployment_group.setter
|
135
|
+
def mirroring_deployment_group(self, value: Optional[pulumi.Input[_builtins.str]]):
|
136
|
+
pulumi.set(self, "mirroring_deployment_group", value)
|
137
|
+
|
138
|
+
@_builtins.property
|
139
|
+
@pulumi.getter(name="mirroringDeploymentGroups")
|
140
|
+
def mirroring_deployment_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
141
|
+
"""
|
142
|
+
A list of the deployment groups that this BROKER endpoint group is
|
143
|
+
connected to, for example:
|
144
|
+
`projects/123456789/locations/global/mirroringDeploymentGroups/my-dg`.
|
145
|
+
See https://google.aip.dev/124.
|
146
|
+
"""
|
147
|
+
return pulumi.get(self, "mirroring_deployment_groups")
|
148
|
+
|
149
|
+
@mirroring_deployment_groups.setter
|
150
|
+
def mirroring_deployment_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
151
|
+
pulumi.set(self, "mirroring_deployment_groups", value)
|
152
|
+
|
122
153
|
@_builtins.property
|
123
154
|
@pulumi.getter
|
124
155
|
def project(self) -> Optional[pulumi.Input[_builtins.str]]:
|
@@ -132,6 +163,22 @@ class MirroringEndpointGroupArgs:
|
|
132
163
|
def project(self, value: Optional[pulumi.Input[_builtins.str]]):
|
133
164
|
pulumi.set(self, "project", value)
|
134
165
|
|
166
|
+
@_builtins.property
|
167
|
+
@pulumi.getter
|
168
|
+
def type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
169
|
+
"""
|
170
|
+
The type of the endpoint group.
|
171
|
+
If left unspecified, defaults to DIRECT.
|
172
|
+
Possible values:
|
173
|
+
DIRECT
|
174
|
+
BROKER
|
175
|
+
"""
|
176
|
+
return pulumi.get(self, "type")
|
177
|
+
|
178
|
+
@type.setter
|
179
|
+
def type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
180
|
+
pulumi.set(self, "type", value)
|
181
|
+
|
135
182
|
|
136
183
|
@pulumi.input_type
|
137
184
|
class _MirroringEndpointGroupState:
|
@@ -144,12 +191,14 @@ class _MirroringEndpointGroupState:
|
|
144
191
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
145
192
|
location: Optional[pulumi.Input[_builtins.str]] = None,
|
146
193
|
mirroring_deployment_group: Optional[pulumi.Input[_builtins.str]] = None,
|
194
|
+
mirroring_deployment_groups: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
147
195
|
mirroring_endpoint_group_id: Optional[pulumi.Input[_builtins.str]] = None,
|
148
196
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
149
197
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
150
198
|
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
151
199
|
reconciling: Optional[pulumi.Input[_builtins.bool]] = None,
|
152
200
|
state: Optional[pulumi.Input[_builtins.str]] = None,
|
201
|
+
type: Optional[pulumi.Input[_builtins.str]] = None,
|
153
202
|
update_time: Optional[pulumi.Input[_builtins.str]] = None):
|
154
203
|
"""
|
155
204
|
Input properties used for looking up and filtering MirroringEndpointGroup resources.
|
@@ -170,6 +219,10 @@ class _MirroringEndpointGroupState:
|
|
170
219
|
:param pulumi.Input[_builtins.str] mirroring_deployment_group: The deployment group that this DIRECT endpoint group is connected to, for example:
|
171
220
|
`projects/123456789/locations/global/mirroringDeploymentGroups/my-dg`.
|
172
221
|
See https://google.aip.dev/124.
|
222
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] mirroring_deployment_groups: A list of the deployment groups that this BROKER endpoint group is
|
223
|
+
connected to, for example:
|
224
|
+
`projects/123456789/locations/global/mirroringDeploymentGroups/my-dg`.
|
225
|
+
See https://google.aip.dev/124.
|
173
226
|
:param pulumi.Input[_builtins.str] mirroring_endpoint_group_id: The ID to use for the endpoint group, which will become the final component
|
174
227
|
of the endpoint group's resource name.
|
175
228
|
:param pulumi.Input[_builtins.str] name: (Output)
|
@@ -190,6 +243,11 @@ class _MirroringEndpointGroupState:
|
|
190
243
|
STATE_UNSPECIFIED
|
191
244
|
ACTIVE
|
192
245
|
OUT_OF_SYNC
|
246
|
+
:param pulumi.Input[_builtins.str] type: The type of the endpoint group.
|
247
|
+
If left unspecified, defaults to DIRECT.
|
248
|
+
Possible values:
|
249
|
+
DIRECT
|
250
|
+
BROKER
|
193
251
|
:param pulumi.Input[_builtins.str] update_time: The timestamp when the resource was most recently updated.
|
194
252
|
See https://google.aip.dev/148#timestamps.
|
195
253
|
"""
|
@@ -209,6 +267,8 @@ class _MirroringEndpointGroupState:
|
|
209
267
|
pulumi.set(__self__, "location", location)
|
210
268
|
if mirroring_deployment_group is not None:
|
211
269
|
pulumi.set(__self__, "mirroring_deployment_group", mirroring_deployment_group)
|
270
|
+
if mirroring_deployment_groups is not None:
|
271
|
+
pulumi.set(__self__, "mirroring_deployment_groups", mirroring_deployment_groups)
|
212
272
|
if mirroring_endpoint_group_id is not None:
|
213
273
|
pulumi.set(__self__, "mirroring_endpoint_group_id", mirroring_endpoint_group_id)
|
214
274
|
if name is not None:
|
@@ -221,6 +281,8 @@ class _MirroringEndpointGroupState:
|
|
221
281
|
pulumi.set(__self__, "reconciling", reconciling)
|
222
282
|
if state is not None:
|
223
283
|
pulumi.set(__self__, "state", state)
|
284
|
+
if type is not None:
|
285
|
+
pulumi.set(__self__, "type", type)
|
224
286
|
if update_time is not None:
|
225
287
|
pulumi.set(__self__, "update_time", update_time)
|
226
288
|
|
@@ -329,6 +391,21 @@ class _MirroringEndpointGroupState:
|
|
329
391
|
def mirroring_deployment_group(self, value: Optional[pulumi.Input[_builtins.str]]):
|
330
392
|
pulumi.set(self, "mirroring_deployment_group", value)
|
331
393
|
|
394
|
+
@_builtins.property
|
395
|
+
@pulumi.getter(name="mirroringDeploymentGroups")
|
396
|
+
def mirroring_deployment_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
397
|
+
"""
|
398
|
+
A list of the deployment groups that this BROKER endpoint group is
|
399
|
+
connected to, for example:
|
400
|
+
`projects/123456789/locations/global/mirroringDeploymentGroups/my-dg`.
|
401
|
+
See https://google.aip.dev/124.
|
402
|
+
"""
|
403
|
+
return pulumi.get(self, "mirroring_deployment_groups")
|
404
|
+
|
405
|
+
@mirroring_deployment_groups.setter
|
406
|
+
def mirroring_deployment_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
407
|
+
pulumi.set(self, "mirroring_deployment_groups", value)
|
408
|
+
|
332
409
|
@_builtins.property
|
333
410
|
@pulumi.getter(name="mirroringEndpointGroupId")
|
334
411
|
def mirroring_endpoint_group_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
@@ -415,6 +492,22 @@ class _MirroringEndpointGroupState:
|
|
415
492
|
def state(self, value: Optional[pulumi.Input[_builtins.str]]):
|
416
493
|
pulumi.set(self, "state", value)
|
417
494
|
|
495
|
+
@_builtins.property
|
496
|
+
@pulumi.getter
|
497
|
+
def type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
498
|
+
"""
|
499
|
+
The type of the endpoint group.
|
500
|
+
If left unspecified, defaults to DIRECT.
|
501
|
+
Possible values:
|
502
|
+
DIRECT
|
503
|
+
BROKER
|
504
|
+
"""
|
505
|
+
return pulumi.get(self, "type")
|
506
|
+
|
507
|
+
@type.setter
|
508
|
+
def type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
509
|
+
pulumi.set(self, "type", value)
|
510
|
+
|
418
511
|
@_builtins.property
|
419
512
|
@pulumi.getter(name="updateTime")
|
420
513
|
def update_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
@@ -439,8 +532,10 @@ class MirroringEndpointGroup(pulumi.CustomResource):
|
|
439
532
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
440
533
|
location: Optional[pulumi.Input[_builtins.str]] = None,
|
441
534
|
mirroring_deployment_group: Optional[pulumi.Input[_builtins.str]] = None,
|
535
|
+
mirroring_deployment_groups: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
442
536
|
mirroring_endpoint_group_id: Optional[pulumi.Input[_builtins.str]] = None,
|
443
537
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
538
|
+
type: Optional[pulumi.Input[_builtins.str]] = None,
|
444
539
|
__props__=None):
|
445
540
|
"""
|
446
541
|
An endpoint group is a consumer frontend for a deployment group (backend).
|
@@ -479,6 +574,29 @@ class MirroringEndpointGroup(pulumi.CustomResource):
|
|
479
574
|
"foo": "bar",
|
480
575
|
})
|
481
576
|
```
|
577
|
+
### Network Security Mirroring Endpoint Group Broker Basic
|
578
|
+
|
579
|
+
```python
|
580
|
+
import pulumi
|
581
|
+
import pulumi_gcp as gcp
|
582
|
+
|
583
|
+
network = gcp.compute.Network("network",
|
584
|
+
name="example-network",
|
585
|
+
auto_create_subnetworks=False)
|
586
|
+
deployment_group = gcp.networksecurity.MirroringDeploymentGroup("deployment_group",
|
587
|
+
mirroring_deployment_group_id="example-dg",
|
588
|
+
location="global",
|
589
|
+
network=network.id)
|
590
|
+
default = gcp.networksecurity.MirroringEndpointGroup("default",
|
591
|
+
mirroring_endpoint_group_id="example-eg",
|
592
|
+
location="global",
|
593
|
+
type="BROKER",
|
594
|
+
mirroring_deployment_groups=[deployment_group.id],
|
595
|
+
description="some description",
|
596
|
+
labels={
|
597
|
+
"foo": "bar",
|
598
|
+
})
|
599
|
+
```
|
482
600
|
|
483
601
|
## Import
|
484
602
|
|
@@ -515,10 +633,19 @@ class MirroringEndpointGroup(pulumi.CustomResource):
|
|
515
633
|
:param pulumi.Input[_builtins.str] mirroring_deployment_group: The deployment group that this DIRECT endpoint group is connected to, for example:
|
516
634
|
`projects/123456789/locations/global/mirroringDeploymentGroups/my-dg`.
|
517
635
|
See https://google.aip.dev/124.
|
636
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] mirroring_deployment_groups: A list of the deployment groups that this BROKER endpoint group is
|
637
|
+
connected to, for example:
|
638
|
+
`projects/123456789/locations/global/mirroringDeploymentGroups/my-dg`.
|
639
|
+
See https://google.aip.dev/124.
|
518
640
|
:param pulumi.Input[_builtins.str] mirroring_endpoint_group_id: The ID to use for the endpoint group, which will become the final component
|
519
641
|
of the endpoint group's resource name.
|
520
642
|
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
|
521
643
|
If it is not provided, the provider project is used.
|
644
|
+
:param pulumi.Input[_builtins.str] type: The type of the endpoint group.
|
645
|
+
If left unspecified, defaults to DIRECT.
|
646
|
+
Possible values:
|
647
|
+
DIRECT
|
648
|
+
BROKER
|
522
649
|
"""
|
523
650
|
...
|
524
651
|
@overload
|
@@ -563,6 +690,29 @@ class MirroringEndpointGroup(pulumi.CustomResource):
|
|
563
690
|
"foo": "bar",
|
564
691
|
})
|
565
692
|
```
|
693
|
+
### Network Security Mirroring Endpoint Group Broker Basic
|
694
|
+
|
695
|
+
```python
|
696
|
+
import pulumi
|
697
|
+
import pulumi_gcp as gcp
|
698
|
+
|
699
|
+
network = gcp.compute.Network("network",
|
700
|
+
name="example-network",
|
701
|
+
auto_create_subnetworks=False)
|
702
|
+
deployment_group = gcp.networksecurity.MirroringDeploymentGroup("deployment_group",
|
703
|
+
mirroring_deployment_group_id="example-dg",
|
704
|
+
location="global",
|
705
|
+
network=network.id)
|
706
|
+
default = gcp.networksecurity.MirroringEndpointGroup("default",
|
707
|
+
mirroring_endpoint_group_id="example-eg",
|
708
|
+
location="global",
|
709
|
+
type="BROKER",
|
710
|
+
mirroring_deployment_groups=[deployment_group.id],
|
711
|
+
description="some description",
|
712
|
+
labels={
|
713
|
+
"foo": "bar",
|
714
|
+
})
|
715
|
+
```
|
566
716
|
|
567
717
|
## Import
|
568
718
|
|
@@ -607,8 +757,10 @@ class MirroringEndpointGroup(pulumi.CustomResource):
|
|
607
757
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
608
758
|
location: Optional[pulumi.Input[_builtins.str]] = None,
|
609
759
|
mirroring_deployment_group: Optional[pulumi.Input[_builtins.str]] = None,
|
760
|
+
mirroring_deployment_groups: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
610
761
|
mirroring_endpoint_group_id: Optional[pulumi.Input[_builtins.str]] = None,
|
611
762
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
763
|
+
type: Optional[pulumi.Input[_builtins.str]] = None,
|
612
764
|
__props__=None):
|
613
765
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
614
766
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -623,13 +775,13 @@ class MirroringEndpointGroup(pulumi.CustomResource):
|
|
623
775
|
if location is None and not opts.urn:
|
624
776
|
raise TypeError("Missing required property 'location'")
|
625
777
|
__props__.__dict__["location"] = location
|
626
|
-
if mirroring_deployment_group is None and not opts.urn:
|
627
|
-
raise TypeError("Missing required property 'mirroring_deployment_group'")
|
628
778
|
__props__.__dict__["mirroring_deployment_group"] = mirroring_deployment_group
|
779
|
+
__props__.__dict__["mirroring_deployment_groups"] = mirroring_deployment_groups
|
629
780
|
if mirroring_endpoint_group_id is None and not opts.urn:
|
630
781
|
raise TypeError("Missing required property 'mirroring_endpoint_group_id'")
|
631
782
|
__props__.__dict__["mirroring_endpoint_group_id"] = mirroring_endpoint_group_id
|
632
783
|
__props__.__dict__["project"] = project
|
784
|
+
__props__.__dict__["type"] = type
|
633
785
|
__props__.__dict__["associations"] = None
|
634
786
|
__props__.__dict__["connected_deployment_groups"] = None
|
635
787
|
__props__.__dict__["create_time"] = None
|
@@ -659,12 +811,14 @@ class MirroringEndpointGroup(pulumi.CustomResource):
|
|
659
811
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
660
812
|
location: Optional[pulumi.Input[_builtins.str]] = None,
|
661
813
|
mirroring_deployment_group: Optional[pulumi.Input[_builtins.str]] = None,
|
814
|
+
mirroring_deployment_groups: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
662
815
|
mirroring_endpoint_group_id: Optional[pulumi.Input[_builtins.str]] = None,
|
663
816
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
664
817
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
665
818
|
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
666
819
|
reconciling: Optional[pulumi.Input[_builtins.bool]] = None,
|
667
820
|
state: Optional[pulumi.Input[_builtins.str]] = None,
|
821
|
+
type: Optional[pulumi.Input[_builtins.str]] = None,
|
668
822
|
update_time: Optional[pulumi.Input[_builtins.str]] = None) -> 'MirroringEndpointGroup':
|
669
823
|
"""
|
670
824
|
Get an existing MirroringEndpointGroup resource's state with the given name, id, and optional extra
|
@@ -690,6 +844,10 @@ class MirroringEndpointGroup(pulumi.CustomResource):
|
|
690
844
|
:param pulumi.Input[_builtins.str] mirroring_deployment_group: The deployment group that this DIRECT endpoint group is connected to, for example:
|
691
845
|
`projects/123456789/locations/global/mirroringDeploymentGroups/my-dg`.
|
692
846
|
See https://google.aip.dev/124.
|
847
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] mirroring_deployment_groups: A list of the deployment groups that this BROKER endpoint group is
|
848
|
+
connected to, for example:
|
849
|
+
`projects/123456789/locations/global/mirroringDeploymentGroups/my-dg`.
|
850
|
+
See https://google.aip.dev/124.
|
693
851
|
:param pulumi.Input[_builtins.str] mirroring_endpoint_group_id: The ID to use for the endpoint group, which will become the final component
|
694
852
|
of the endpoint group's resource name.
|
695
853
|
:param pulumi.Input[_builtins.str] name: (Output)
|
@@ -710,6 +868,11 @@ class MirroringEndpointGroup(pulumi.CustomResource):
|
|
710
868
|
STATE_UNSPECIFIED
|
711
869
|
ACTIVE
|
712
870
|
OUT_OF_SYNC
|
871
|
+
:param pulumi.Input[_builtins.str] type: The type of the endpoint group.
|
872
|
+
If left unspecified, defaults to DIRECT.
|
873
|
+
Possible values:
|
874
|
+
DIRECT
|
875
|
+
BROKER
|
713
876
|
:param pulumi.Input[_builtins.str] update_time: The timestamp when the resource was most recently updated.
|
714
877
|
See https://google.aip.dev/148#timestamps.
|
715
878
|
"""
|
@@ -725,12 +888,14 @@ class MirroringEndpointGroup(pulumi.CustomResource):
|
|
725
888
|
__props__.__dict__["labels"] = labels
|
726
889
|
__props__.__dict__["location"] = location
|
727
890
|
__props__.__dict__["mirroring_deployment_group"] = mirroring_deployment_group
|
891
|
+
__props__.__dict__["mirroring_deployment_groups"] = mirroring_deployment_groups
|
728
892
|
__props__.__dict__["mirroring_endpoint_group_id"] = mirroring_endpoint_group_id
|
729
893
|
__props__.__dict__["name"] = name
|
730
894
|
__props__.__dict__["project"] = project
|
731
895
|
__props__.__dict__["pulumi_labels"] = pulumi_labels
|
732
896
|
__props__.__dict__["reconciling"] = reconciling
|
733
897
|
__props__.__dict__["state"] = state
|
898
|
+
__props__.__dict__["type"] = type
|
734
899
|
__props__.__dict__["update_time"] = update_time
|
735
900
|
return MirroringEndpointGroup(resource_name, opts=opts, __props__=__props__)
|
736
901
|
|
@@ -799,7 +964,7 @@ class MirroringEndpointGroup(pulumi.CustomResource):
|
|
799
964
|
|
800
965
|
@_builtins.property
|
801
966
|
@pulumi.getter(name="mirroringDeploymentGroup")
|
802
|
-
def mirroring_deployment_group(self) -> pulumi.Output[_builtins.str]:
|
967
|
+
def mirroring_deployment_group(self) -> pulumi.Output[Optional[_builtins.str]]:
|
803
968
|
"""
|
804
969
|
The deployment group that this DIRECT endpoint group is connected to, for example:
|
805
970
|
`projects/123456789/locations/global/mirroringDeploymentGroups/my-dg`.
|
@@ -807,6 +972,17 @@ class MirroringEndpointGroup(pulumi.CustomResource):
|
|
807
972
|
"""
|
808
973
|
return pulumi.get(self, "mirroring_deployment_group")
|
809
974
|
|
975
|
+
@_builtins.property
|
976
|
+
@pulumi.getter(name="mirroringDeploymentGroups")
|
977
|
+
def mirroring_deployment_groups(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
978
|
+
"""
|
979
|
+
A list of the deployment groups that this BROKER endpoint group is
|
980
|
+
connected to, for example:
|
981
|
+
`projects/123456789/locations/global/mirroringDeploymentGroups/my-dg`.
|
982
|
+
See https://google.aip.dev/124.
|
983
|
+
"""
|
984
|
+
return pulumi.get(self, "mirroring_deployment_groups")
|
985
|
+
|
810
986
|
@_builtins.property
|
811
987
|
@pulumi.getter(name="mirroringEndpointGroupId")
|
812
988
|
def mirroring_endpoint_group_id(self) -> pulumi.Output[_builtins.str]:
|
@@ -869,6 +1045,18 @@ class MirroringEndpointGroup(pulumi.CustomResource):
|
|
869
1045
|
"""
|
870
1046
|
return pulumi.get(self, "state")
|
871
1047
|
|
1048
|
+
@_builtins.property
|
1049
|
+
@pulumi.getter
|
1050
|
+
def type(self) -> pulumi.Output[Optional[_builtins.str]]:
|
1051
|
+
"""
|
1052
|
+
The type of the endpoint group.
|
1053
|
+
If left unspecified, defaults to DIRECT.
|
1054
|
+
Possible values:
|
1055
|
+
DIRECT
|
1056
|
+
BROKER
|
1057
|
+
"""
|
1058
|
+
return pulumi.get(self, "type")
|
1059
|
+
|
872
1060
|
@_builtins.property
|
873
1061
|
@pulumi.getter(name="updateTime")
|
874
1062
|
def update_time(self) -> pulumi.Output[_builtins.str]:
|