pulumi-gcp 8.17.0a1738090062__py3-none-any.whl → 8.17.0a1738349438__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 +91 -0
- pulumi_gcp/alloydb/cluster.py +75 -7
- pulumi_gcp/apigee/_inputs.py +91 -0
- pulumi_gcp/apigee/endpoint_attachment.py +0 -64
- pulumi_gcp/apigee/environment.py +54 -0
- pulumi_gcp/apigee/outputs.py +54 -0
- pulumi_gcp/apihub/__init__.py +10 -0
- pulumi_gcp/apihub/_inputs.py +154 -0
- pulumi_gcp/apihub/api_hub_instance.py +784 -0
- pulumi_gcp/apihub/outputs.py +124 -0
- pulumi_gcp/chronicle/__init__.py +1 -0
- pulumi_gcp/chronicle/_inputs.py +124 -0
- pulumi_gcp/chronicle/outputs.py +112 -0
- pulumi_gcp/chronicle/retrohunt.py +645 -0
- pulumi_gcp/cloudrunv2/_inputs.py +197 -0
- pulumi_gcp/cloudrunv2/get_service.py +12 -1
- pulumi_gcp/cloudrunv2/outputs.py +256 -0
- pulumi_gcp/cloudrunv2/service.py +159 -0
- pulumi_gcp/colab/__init__.py +5 -0
- pulumi_gcp/colab/_inputs.py +131 -0
- pulumi_gcp/colab/get_runtime_template_iam_policy.py +182 -0
- pulumi_gcp/colab/outputs.py +92 -0
- pulumi_gcp/colab/runtime.py +696 -0
- pulumi_gcp/colab/runtime_template_iam_binding.py +828 -0
- pulumi_gcp/colab/runtime_template_iam_member.py +828 -0
- pulumi_gcp/colab/runtime_template_iam_policy.py +667 -0
- pulumi_gcp/compute/__init__.py +4 -0
- pulumi_gcp/compute/_inputs.py +526 -0
- pulumi_gcp/compute/firewall_policy_rule.py +104 -22
- pulumi_gcp/compute/firewall_policy_with_rules.py +114 -42
- pulumi_gcp/compute/get_instance_template_iam_policy.py +159 -0
- pulumi_gcp/compute/instance_template_iam_binding.py +998 -0
- pulumi_gcp/compute/instance_template_iam_member.py +998 -0
- pulumi_gcp/compute/instance_template_iam_policy.py +817 -0
- pulumi_gcp/compute/interconnect_attachment.py +189 -2
- pulumi_gcp/compute/network_firewall_policy_rule.py +122 -10
- pulumi_gcp/compute/network_firewall_policy_with_rules.py +116 -44
- pulumi_gcp/compute/outputs.py +352 -0
- pulumi_gcp/compute/project_metadata_item.py +12 -0
- pulumi_gcp/compute/public_advertised_prefix.py +87 -0
- pulumi_gcp/compute/region_network_firewall_policy_rule.py +130 -10
- pulumi_gcp/compute/region_network_firewall_policy_with_rules.py +104 -32
- pulumi_gcp/compute/router_peer.py +115 -3
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/filestore/get_instance.py +12 -1
- pulumi_gcp/filestore/instance.py +75 -0
- pulumi_gcp/gemini/code_repository_index.py +29 -33
- pulumi_gcp/gemini/get_repository_group_iam_policy.py +28 -2
- pulumi_gcp/gemini/repository_group.py +76 -26
- pulumi_gcp/gemini/repository_group_iam_binding.py +258 -0
- pulumi_gcp/gemini/repository_group_iam_member.py +258 -0
- pulumi_gcp/gemini/repository_group_iam_policy.py +258 -0
- pulumi_gcp/kms/__init__.py +1 -0
- pulumi_gcp/kms/get_key_handles.py +172 -0
- pulumi_gcp/kms/outputs.py +45 -0
- pulumi_gcp/networksecurity/_inputs.py +72 -0
- pulumi_gcp/networksecurity/outputs.py +76 -0
- pulumi_gcp/networksecurity/security_profile.py +233 -7
- pulumi_gcp/networksecurity/security_profile_group.py +218 -0
- pulumi_gcp/organizations/__init__.py +1 -0
- pulumi_gcp/organizations/get_s.py +128 -0
- pulumi_gcp/organizations/outputs.py +63 -0
- pulumi_gcp/parametermanager/__init__.py +3 -0
- pulumi_gcp/parametermanager/get_parameter.py +211 -0
- pulumi_gcp/parametermanager/get_regional_parameters.py +157 -0
- pulumi_gcp/parametermanager/outputs.py +210 -0
- pulumi_gcp/parametermanager/parameter_version.py +496 -0
- pulumi_gcp/parametermanager/regional_parameter_version.py +10 -38
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pubsub/_inputs.py +213 -1
- pulumi_gcp/pubsub/outputs.py +278 -2
- pulumi_gcp/pubsub/topic.py +42 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/__init__.py +1 -0
- pulumi_gcp/redis/_inputs.py +342 -6
- pulumi_gcp/redis/cluster.py +223 -102
- pulumi_gcp/redis/cluster_user_created_connections.py +845 -0
- pulumi_gcp/redis/outputs.py +268 -4
- {pulumi_gcp-8.17.0a1738090062.dist-info → pulumi_gcp-8.17.0a1738349438.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.17.0a1738090062.dist-info → pulumi_gcp-8.17.0a1738349438.dist-info}/RECORD +83 -63
- {pulumi_gcp-8.17.0a1738090062.dist-info → pulumi_gcp-8.17.0a1738349438.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.17.0a1738090062.dist-info → pulumi_gcp-8.17.0a1738349438.dist-info}/top_level.txt +0 -0
@@ -19,6 +19,8 @@ __all__ = ['SecurityProfileGroupArgs', 'SecurityProfileGroup']
|
|
19
19
|
@pulumi.input_type
|
20
20
|
class SecurityProfileGroupArgs:
|
21
21
|
def __init__(__self__, *,
|
22
|
+
custom_intercept_profile: Optional[pulumi.Input[str]] = None,
|
23
|
+
custom_mirroring_profile: Optional[pulumi.Input[str]] = None,
|
22
24
|
description: Optional[pulumi.Input[str]] = None,
|
23
25
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
24
26
|
location: Optional[pulumi.Input[str]] = None,
|
@@ -27,6 +29,8 @@ class SecurityProfileGroupArgs:
|
|
27
29
|
threat_prevention_profile: Optional[pulumi.Input[str]] = None):
|
28
30
|
"""
|
29
31
|
The set of arguments for constructing a SecurityProfileGroup resource.
|
32
|
+
:param pulumi.Input[str] custom_intercept_profile: Reference to a SecurityProfile with the CustomIntercept configuration.
|
33
|
+
:param pulumi.Input[str] custom_mirroring_profile: Reference to a SecurityProfile with the custom mirroring configuration for the SecurityProfileGroup.
|
30
34
|
:param pulumi.Input[str] description: An optional description of the profile. The Max length is 512 characters.
|
31
35
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A map of key/value label pairs to assign to the resource.
|
32
36
|
|
@@ -42,6 +46,10 @@ class SecurityProfileGroupArgs:
|
|
42
46
|
Format: organizations/{organization_id}.
|
43
47
|
:param pulumi.Input[str] threat_prevention_profile: Reference to a SecurityProfile with the threat prevention configuration for the SecurityProfileGroup.
|
44
48
|
"""
|
49
|
+
if custom_intercept_profile is not None:
|
50
|
+
pulumi.set(__self__, "custom_intercept_profile", custom_intercept_profile)
|
51
|
+
if custom_mirroring_profile is not None:
|
52
|
+
pulumi.set(__self__, "custom_mirroring_profile", custom_mirroring_profile)
|
45
53
|
if description is not None:
|
46
54
|
pulumi.set(__self__, "description", description)
|
47
55
|
if labels is not None:
|
@@ -55,6 +63,30 @@ class SecurityProfileGroupArgs:
|
|
55
63
|
if threat_prevention_profile is not None:
|
56
64
|
pulumi.set(__self__, "threat_prevention_profile", threat_prevention_profile)
|
57
65
|
|
66
|
+
@property
|
67
|
+
@pulumi.getter(name="customInterceptProfile")
|
68
|
+
def custom_intercept_profile(self) -> Optional[pulumi.Input[str]]:
|
69
|
+
"""
|
70
|
+
Reference to a SecurityProfile with the CustomIntercept configuration.
|
71
|
+
"""
|
72
|
+
return pulumi.get(self, "custom_intercept_profile")
|
73
|
+
|
74
|
+
@custom_intercept_profile.setter
|
75
|
+
def custom_intercept_profile(self, value: Optional[pulumi.Input[str]]):
|
76
|
+
pulumi.set(self, "custom_intercept_profile", value)
|
77
|
+
|
78
|
+
@property
|
79
|
+
@pulumi.getter(name="customMirroringProfile")
|
80
|
+
def custom_mirroring_profile(self) -> Optional[pulumi.Input[str]]:
|
81
|
+
"""
|
82
|
+
Reference to a SecurityProfile with the custom mirroring configuration for the SecurityProfileGroup.
|
83
|
+
"""
|
84
|
+
return pulumi.get(self, "custom_mirroring_profile")
|
85
|
+
|
86
|
+
@custom_mirroring_profile.setter
|
87
|
+
def custom_mirroring_profile(self, value: Optional[pulumi.Input[str]]):
|
88
|
+
pulumi.set(self, "custom_mirroring_profile", value)
|
89
|
+
|
58
90
|
@property
|
59
91
|
@pulumi.getter
|
60
92
|
def description(self) -> Optional[pulumi.Input[str]]:
|
@@ -140,6 +172,8 @@ class SecurityProfileGroupArgs:
|
|
140
172
|
class _SecurityProfileGroupState:
|
141
173
|
def __init__(__self__, *,
|
142
174
|
create_time: Optional[pulumi.Input[str]] = None,
|
175
|
+
custom_intercept_profile: Optional[pulumi.Input[str]] = None,
|
176
|
+
custom_mirroring_profile: Optional[pulumi.Input[str]] = None,
|
143
177
|
description: Optional[pulumi.Input[str]] = None,
|
144
178
|
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
145
179
|
etag: Optional[pulumi.Input[str]] = None,
|
@@ -153,6 +187,8 @@ class _SecurityProfileGroupState:
|
|
153
187
|
"""
|
154
188
|
Input properties used for looking up and filtering SecurityProfileGroup resources.
|
155
189
|
:param pulumi.Input[str] create_time: Time the security profile group was created in UTC.
|
190
|
+
:param pulumi.Input[str] custom_intercept_profile: Reference to a SecurityProfile with the CustomIntercept configuration.
|
191
|
+
:param pulumi.Input[str] custom_mirroring_profile: Reference to a SecurityProfile with the custom mirroring configuration for the SecurityProfileGroup.
|
156
192
|
:param pulumi.Input[str] description: An optional description of the profile. The Max length is 512 characters.
|
157
193
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
158
194
|
:param pulumi.Input[str] etag: This checksum is computed by the server based on the value of other fields,
|
@@ -177,6 +213,10 @@ class _SecurityProfileGroupState:
|
|
177
213
|
"""
|
178
214
|
if create_time is not None:
|
179
215
|
pulumi.set(__self__, "create_time", create_time)
|
216
|
+
if custom_intercept_profile is not None:
|
217
|
+
pulumi.set(__self__, "custom_intercept_profile", custom_intercept_profile)
|
218
|
+
if custom_mirroring_profile is not None:
|
219
|
+
pulumi.set(__self__, "custom_mirroring_profile", custom_mirroring_profile)
|
180
220
|
if description is not None:
|
181
221
|
pulumi.set(__self__, "description", description)
|
182
222
|
if effective_labels is not None:
|
@@ -210,6 +250,30 @@ class _SecurityProfileGroupState:
|
|
210
250
|
def create_time(self, value: Optional[pulumi.Input[str]]):
|
211
251
|
pulumi.set(self, "create_time", value)
|
212
252
|
|
253
|
+
@property
|
254
|
+
@pulumi.getter(name="customInterceptProfile")
|
255
|
+
def custom_intercept_profile(self) -> Optional[pulumi.Input[str]]:
|
256
|
+
"""
|
257
|
+
Reference to a SecurityProfile with the CustomIntercept configuration.
|
258
|
+
"""
|
259
|
+
return pulumi.get(self, "custom_intercept_profile")
|
260
|
+
|
261
|
+
@custom_intercept_profile.setter
|
262
|
+
def custom_intercept_profile(self, value: Optional[pulumi.Input[str]]):
|
263
|
+
pulumi.set(self, "custom_intercept_profile", value)
|
264
|
+
|
265
|
+
@property
|
266
|
+
@pulumi.getter(name="customMirroringProfile")
|
267
|
+
def custom_mirroring_profile(self) -> Optional[pulumi.Input[str]]:
|
268
|
+
"""
|
269
|
+
Reference to a SecurityProfile with the custom mirroring configuration for the SecurityProfileGroup.
|
270
|
+
"""
|
271
|
+
return pulumi.get(self, "custom_mirroring_profile")
|
272
|
+
|
273
|
+
@custom_mirroring_profile.setter
|
274
|
+
def custom_mirroring_profile(self, value: Optional[pulumi.Input[str]]):
|
275
|
+
pulumi.set(self, "custom_mirroring_profile", value)
|
276
|
+
|
213
277
|
@property
|
214
278
|
@pulumi.getter
|
215
279
|
def description(self) -> Optional[pulumi.Input[str]]:
|
@@ -347,6 +411,8 @@ class SecurityProfileGroup(pulumi.CustomResource):
|
|
347
411
|
def __init__(__self__,
|
348
412
|
resource_name: str,
|
349
413
|
opts: Optional[pulumi.ResourceOptions] = None,
|
414
|
+
custom_intercept_profile: Optional[pulumi.Input[str]] = None,
|
415
|
+
custom_mirroring_profile: Optional[pulumi.Input[str]] = None,
|
350
416
|
description: Optional[pulumi.Input[str]] = None,
|
351
417
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
352
418
|
location: Optional[pulumi.Input[str]] = None,
|
@@ -386,6 +452,68 @@ class SecurityProfileGroup(pulumi.CustomResource):
|
|
386
452
|
"foo": "bar",
|
387
453
|
})
|
388
454
|
```
|
455
|
+
### Network Security Security Profile Group Mirroring
|
456
|
+
|
457
|
+
```python
|
458
|
+
import pulumi
|
459
|
+
import pulumi_gcp as gcp
|
460
|
+
|
461
|
+
default = gcp.compute.Network("default",
|
462
|
+
name="network",
|
463
|
+
auto_create_subnetworks=False)
|
464
|
+
default_mirroring_deployment_group = gcp.networksecurity.MirroringDeploymentGroup("default",
|
465
|
+
mirroring_deployment_group_id="deployment-group",
|
466
|
+
location="global",
|
467
|
+
network=default.id)
|
468
|
+
default_mirroring_endpoint_group = gcp.networksecurity.MirroringEndpointGroup("default",
|
469
|
+
mirroring_endpoint_group_id="endpoint-group",
|
470
|
+
location="global",
|
471
|
+
mirroring_deployment_group=default_mirroring_deployment_group.id)
|
472
|
+
default_security_profile = gcp.networksecurity.SecurityProfile("default",
|
473
|
+
name="sec-profile",
|
474
|
+
parent="organizations/123456789",
|
475
|
+
description="my description",
|
476
|
+
type="CUSTOM_MIRRORING",
|
477
|
+
custom_mirroring_profile={
|
478
|
+
"mirroring_endpoint_group": default_mirroring_endpoint_group.id,
|
479
|
+
})
|
480
|
+
default_security_profile_group = gcp.networksecurity.SecurityProfileGroup("default",
|
481
|
+
name="sec-profile-group",
|
482
|
+
parent="organizations/123456789",
|
483
|
+
description="my description",
|
484
|
+
custom_mirroring_profile=default_security_profile.id)
|
485
|
+
```
|
486
|
+
### Network Security Security Profile Group Intercept
|
487
|
+
|
488
|
+
```python
|
489
|
+
import pulumi
|
490
|
+
import pulumi_gcp as gcp
|
491
|
+
|
492
|
+
default = gcp.compute.Network("default",
|
493
|
+
name="network",
|
494
|
+
auto_create_subnetworks=False)
|
495
|
+
default_intercept_deployment_group = gcp.networksecurity.InterceptDeploymentGroup("default",
|
496
|
+
intercept_deployment_group_id="deployment-group",
|
497
|
+
location="global",
|
498
|
+
network=default.id)
|
499
|
+
default_intercept_endpoint_group = gcp.networksecurity.InterceptEndpointGroup("default",
|
500
|
+
intercept_endpoint_group_id="endpoint-group",
|
501
|
+
location="global",
|
502
|
+
intercept_deployment_group=default_intercept_deployment_group.id)
|
503
|
+
default_security_profile = gcp.networksecurity.SecurityProfile("default",
|
504
|
+
name="sec-profile",
|
505
|
+
parent="organizations/123456789",
|
506
|
+
description="my description",
|
507
|
+
type="CUSTOM_INTERCEPT",
|
508
|
+
custom_intercept_profile={
|
509
|
+
"intercept_endpoint_group": default_intercept_endpoint_group.id,
|
510
|
+
})
|
511
|
+
default_security_profile_group = gcp.networksecurity.SecurityProfileGroup("default",
|
512
|
+
name="sec-profile-group",
|
513
|
+
parent="organizations/123456789",
|
514
|
+
description="my description",
|
515
|
+
custom_intercept_profile=default_security_profile.id)
|
516
|
+
```
|
389
517
|
|
390
518
|
## Import
|
391
519
|
|
@@ -401,6 +529,8 @@ class SecurityProfileGroup(pulumi.CustomResource):
|
|
401
529
|
|
402
530
|
:param str resource_name: The name of the resource.
|
403
531
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
532
|
+
:param pulumi.Input[str] custom_intercept_profile: Reference to a SecurityProfile with the CustomIntercept configuration.
|
533
|
+
:param pulumi.Input[str] custom_mirroring_profile: Reference to a SecurityProfile with the custom mirroring configuration for the SecurityProfileGroup.
|
404
534
|
:param pulumi.Input[str] description: An optional description of the profile. The Max length is 512 characters.
|
405
535
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A map of key/value label pairs to assign to the resource.
|
406
536
|
|
@@ -454,6 +584,68 @@ class SecurityProfileGroup(pulumi.CustomResource):
|
|
454
584
|
"foo": "bar",
|
455
585
|
})
|
456
586
|
```
|
587
|
+
### Network Security Security Profile Group Mirroring
|
588
|
+
|
589
|
+
```python
|
590
|
+
import pulumi
|
591
|
+
import pulumi_gcp as gcp
|
592
|
+
|
593
|
+
default = gcp.compute.Network("default",
|
594
|
+
name="network",
|
595
|
+
auto_create_subnetworks=False)
|
596
|
+
default_mirroring_deployment_group = gcp.networksecurity.MirroringDeploymentGroup("default",
|
597
|
+
mirroring_deployment_group_id="deployment-group",
|
598
|
+
location="global",
|
599
|
+
network=default.id)
|
600
|
+
default_mirroring_endpoint_group = gcp.networksecurity.MirroringEndpointGroup("default",
|
601
|
+
mirroring_endpoint_group_id="endpoint-group",
|
602
|
+
location="global",
|
603
|
+
mirroring_deployment_group=default_mirroring_deployment_group.id)
|
604
|
+
default_security_profile = gcp.networksecurity.SecurityProfile("default",
|
605
|
+
name="sec-profile",
|
606
|
+
parent="organizations/123456789",
|
607
|
+
description="my description",
|
608
|
+
type="CUSTOM_MIRRORING",
|
609
|
+
custom_mirroring_profile={
|
610
|
+
"mirroring_endpoint_group": default_mirroring_endpoint_group.id,
|
611
|
+
})
|
612
|
+
default_security_profile_group = gcp.networksecurity.SecurityProfileGroup("default",
|
613
|
+
name="sec-profile-group",
|
614
|
+
parent="organizations/123456789",
|
615
|
+
description="my description",
|
616
|
+
custom_mirroring_profile=default_security_profile.id)
|
617
|
+
```
|
618
|
+
### Network Security Security Profile Group Intercept
|
619
|
+
|
620
|
+
```python
|
621
|
+
import pulumi
|
622
|
+
import pulumi_gcp as gcp
|
623
|
+
|
624
|
+
default = gcp.compute.Network("default",
|
625
|
+
name="network",
|
626
|
+
auto_create_subnetworks=False)
|
627
|
+
default_intercept_deployment_group = gcp.networksecurity.InterceptDeploymentGroup("default",
|
628
|
+
intercept_deployment_group_id="deployment-group",
|
629
|
+
location="global",
|
630
|
+
network=default.id)
|
631
|
+
default_intercept_endpoint_group = gcp.networksecurity.InterceptEndpointGroup("default",
|
632
|
+
intercept_endpoint_group_id="endpoint-group",
|
633
|
+
location="global",
|
634
|
+
intercept_deployment_group=default_intercept_deployment_group.id)
|
635
|
+
default_security_profile = gcp.networksecurity.SecurityProfile("default",
|
636
|
+
name="sec-profile",
|
637
|
+
parent="organizations/123456789",
|
638
|
+
description="my description",
|
639
|
+
type="CUSTOM_INTERCEPT",
|
640
|
+
custom_intercept_profile={
|
641
|
+
"intercept_endpoint_group": default_intercept_endpoint_group.id,
|
642
|
+
})
|
643
|
+
default_security_profile_group = gcp.networksecurity.SecurityProfileGroup("default",
|
644
|
+
name="sec-profile-group",
|
645
|
+
parent="organizations/123456789",
|
646
|
+
description="my description",
|
647
|
+
custom_intercept_profile=default_security_profile.id)
|
648
|
+
```
|
457
649
|
|
458
650
|
## Import
|
459
651
|
|
@@ -482,6 +674,8 @@ class SecurityProfileGroup(pulumi.CustomResource):
|
|
482
674
|
def _internal_init(__self__,
|
483
675
|
resource_name: str,
|
484
676
|
opts: Optional[pulumi.ResourceOptions] = None,
|
677
|
+
custom_intercept_profile: Optional[pulumi.Input[str]] = None,
|
678
|
+
custom_mirroring_profile: Optional[pulumi.Input[str]] = None,
|
485
679
|
description: Optional[pulumi.Input[str]] = None,
|
486
680
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
487
681
|
location: Optional[pulumi.Input[str]] = None,
|
@@ -497,6 +691,8 @@ class SecurityProfileGroup(pulumi.CustomResource):
|
|
497
691
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
498
692
|
__props__ = SecurityProfileGroupArgs.__new__(SecurityProfileGroupArgs)
|
499
693
|
|
694
|
+
__props__.__dict__["custom_intercept_profile"] = custom_intercept_profile
|
695
|
+
__props__.__dict__["custom_mirroring_profile"] = custom_mirroring_profile
|
500
696
|
__props__.__dict__["description"] = description
|
501
697
|
__props__.__dict__["labels"] = labels
|
502
698
|
__props__.__dict__["location"] = location
|
@@ -521,6 +717,8 @@ class SecurityProfileGroup(pulumi.CustomResource):
|
|
521
717
|
id: pulumi.Input[str],
|
522
718
|
opts: Optional[pulumi.ResourceOptions] = None,
|
523
719
|
create_time: Optional[pulumi.Input[str]] = None,
|
720
|
+
custom_intercept_profile: Optional[pulumi.Input[str]] = None,
|
721
|
+
custom_mirroring_profile: Optional[pulumi.Input[str]] = None,
|
524
722
|
description: Optional[pulumi.Input[str]] = None,
|
525
723
|
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
526
724
|
etag: Optional[pulumi.Input[str]] = None,
|
@@ -539,6 +737,8 @@ class SecurityProfileGroup(pulumi.CustomResource):
|
|
539
737
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
540
738
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
541
739
|
:param pulumi.Input[str] create_time: Time the security profile group was created in UTC.
|
740
|
+
:param pulumi.Input[str] custom_intercept_profile: Reference to a SecurityProfile with the CustomIntercept configuration.
|
741
|
+
:param pulumi.Input[str] custom_mirroring_profile: Reference to a SecurityProfile with the custom mirroring configuration for the SecurityProfileGroup.
|
542
742
|
:param pulumi.Input[str] description: An optional description of the profile. The Max length is 512 characters.
|
543
743
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
544
744
|
:param pulumi.Input[str] etag: This checksum is computed by the server based on the value of other fields,
|
@@ -566,6 +766,8 @@ class SecurityProfileGroup(pulumi.CustomResource):
|
|
566
766
|
__props__ = _SecurityProfileGroupState.__new__(_SecurityProfileGroupState)
|
567
767
|
|
568
768
|
__props__.__dict__["create_time"] = create_time
|
769
|
+
__props__.__dict__["custom_intercept_profile"] = custom_intercept_profile
|
770
|
+
__props__.__dict__["custom_mirroring_profile"] = custom_mirroring_profile
|
569
771
|
__props__.__dict__["description"] = description
|
570
772
|
__props__.__dict__["effective_labels"] = effective_labels
|
571
773
|
__props__.__dict__["etag"] = etag
|
@@ -586,6 +788,22 @@ class SecurityProfileGroup(pulumi.CustomResource):
|
|
586
788
|
"""
|
587
789
|
return pulumi.get(self, "create_time")
|
588
790
|
|
791
|
+
@property
|
792
|
+
@pulumi.getter(name="customInterceptProfile")
|
793
|
+
def custom_intercept_profile(self) -> pulumi.Output[Optional[str]]:
|
794
|
+
"""
|
795
|
+
Reference to a SecurityProfile with the CustomIntercept configuration.
|
796
|
+
"""
|
797
|
+
return pulumi.get(self, "custom_intercept_profile")
|
798
|
+
|
799
|
+
@property
|
800
|
+
@pulumi.getter(name="customMirroringProfile")
|
801
|
+
def custom_mirroring_profile(self) -> pulumi.Output[Optional[str]]:
|
802
|
+
"""
|
803
|
+
Reference to a SecurityProfile with the custom mirroring configuration for the SecurityProfileGroup.
|
804
|
+
"""
|
805
|
+
return pulumi.get(self, "custom_mirroring_profile")
|
806
|
+
|
589
807
|
@property
|
590
808
|
@pulumi.getter
|
591
809
|
def description(self) -> pulumi.Output[Optional[str]]:
|
@@ -0,0 +1,128 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
|
18
|
+
__all__ = [
|
19
|
+
'GetSResult',
|
20
|
+
'AwaitableGetSResult',
|
21
|
+
'get_s',
|
22
|
+
'get_s_output',
|
23
|
+
]
|
24
|
+
|
25
|
+
@pulumi.output_type
|
26
|
+
class GetSResult:
|
27
|
+
"""
|
28
|
+
A collection of values returned by getS.
|
29
|
+
"""
|
30
|
+
def __init__(__self__, filter=None, id=None, organizations=None):
|
31
|
+
if filter and not isinstance(filter, str):
|
32
|
+
raise TypeError("Expected argument 'filter' to be a str")
|
33
|
+
pulumi.set(__self__, "filter", filter)
|
34
|
+
if id and not isinstance(id, str):
|
35
|
+
raise TypeError("Expected argument 'id' to be a str")
|
36
|
+
pulumi.set(__self__, "id", id)
|
37
|
+
if organizations and not isinstance(organizations, list):
|
38
|
+
raise TypeError("Expected argument 'organizations' to be a list")
|
39
|
+
pulumi.set(__self__, "organizations", organizations)
|
40
|
+
|
41
|
+
@property
|
42
|
+
@pulumi.getter
|
43
|
+
def filter(self) -> Optional[str]:
|
44
|
+
return pulumi.get(self, "filter")
|
45
|
+
|
46
|
+
@property
|
47
|
+
@pulumi.getter
|
48
|
+
def id(self) -> str:
|
49
|
+
"""
|
50
|
+
The provider-assigned unique ID for this managed resource.
|
51
|
+
"""
|
52
|
+
return pulumi.get(self, "id")
|
53
|
+
|
54
|
+
@property
|
55
|
+
@pulumi.getter
|
56
|
+
def organizations(self) -> Sequence['outputs.GetSOrganizationResult']:
|
57
|
+
"""
|
58
|
+
A list of all retrieved organizations. Structure is defined below.
|
59
|
+
"""
|
60
|
+
return pulumi.get(self, "organizations")
|
61
|
+
|
62
|
+
|
63
|
+
class AwaitableGetSResult(GetSResult):
|
64
|
+
# pylint: disable=using-constant-test
|
65
|
+
def __await__(self):
|
66
|
+
if False:
|
67
|
+
yield self
|
68
|
+
return GetSResult(
|
69
|
+
filter=self.filter,
|
70
|
+
id=self.id,
|
71
|
+
organizations=self.organizations)
|
72
|
+
|
73
|
+
|
74
|
+
def get_s(filter: Optional[str] = None,
|
75
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSResult:
|
76
|
+
"""
|
77
|
+
Gets a list of all organizations.
|
78
|
+
See [the official documentation](https://cloud.google.com/resource-manager/docs/creating-managing-organization)
|
79
|
+
and [API](https://cloud.google.com/resource-manager/reference/rest/v1/organizations/search).
|
80
|
+
|
81
|
+
## Example Usage
|
82
|
+
|
83
|
+
```python
|
84
|
+
import pulumi
|
85
|
+
import pulumi_gcp as gcp
|
86
|
+
|
87
|
+
example = gcp.organizations.get_s(filter="domain:example.com")
|
88
|
+
```
|
89
|
+
|
90
|
+
|
91
|
+
:param str filter: An optional query string used to filter the Organizations to return in the response. Filter rules are case-insensitive. Further information can be found in the [REST API](https://cloud.google.com/resource-manager/reference/rest/v1/organizations/search#request-body).
|
92
|
+
"""
|
93
|
+
__args__ = dict()
|
94
|
+
__args__['filter'] = filter
|
95
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
96
|
+
__ret__ = pulumi.runtime.invoke('gcp:organizations/getS:getS', __args__, opts=opts, typ=GetSResult).value
|
97
|
+
|
98
|
+
return AwaitableGetSResult(
|
99
|
+
filter=pulumi.get(__ret__, 'filter'),
|
100
|
+
id=pulumi.get(__ret__, 'id'),
|
101
|
+
organizations=pulumi.get(__ret__, 'organizations'))
|
102
|
+
def get_s_output(filter: Optional[pulumi.Input[Optional[str]]] = None,
|
103
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSResult]:
|
104
|
+
"""
|
105
|
+
Gets a list of all organizations.
|
106
|
+
See [the official documentation](https://cloud.google.com/resource-manager/docs/creating-managing-organization)
|
107
|
+
and [API](https://cloud.google.com/resource-manager/reference/rest/v1/organizations/search).
|
108
|
+
|
109
|
+
## Example Usage
|
110
|
+
|
111
|
+
```python
|
112
|
+
import pulumi
|
113
|
+
import pulumi_gcp as gcp
|
114
|
+
|
115
|
+
example = gcp.organizations.get_s(filter="domain:example.com")
|
116
|
+
```
|
117
|
+
|
118
|
+
|
119
|
+
:param str filter: An optional query string used to filter the Organizations to return in the response. Filter rules are case-insensitive. Further information can be found in the [REST API](https://cloud.google.com/resource-manager/reference/rest/v1/organizations/search#request-body).
|
120
|
+
"""
|
121
|
+
__args__ = dict()
|
122
|
+
__args__['filter'] = filter
|
123
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
124
|
+
__ret__ = pulumi.runtime.invoke_output('gcp:organizations/getS:getS', __args__, opts=opts, typ=GetSResult)
|
125
|
+
return __ret__.apply(lambda __response__: GetSResult(
|
126
|
+
filter=pulumi.get(__response__, 'filter'),
|
127
|
+
id=pulumi.get(__response__, 'id'),
|
128
|
+
organizations=pulumi.get(__response__, 'organizations')))
|
@@ -30,6 +30,7 @@ __all__ = [
|
|
30
30
|
'GetIAMPolicyAuditConfigAuditLogConfigResult',
|
31
31
|
'GetIAMPolicyBindingResult',
|
32
32
|
'GetIAMPolicyBindingConditionResult',
|
33
|
+
'GetSOrganizationResult',
|
33
34
|
]
|
34
35
|
|
35
36
|
@pulumi.output_type
|
@@ -676,3 +677,65 @@ class GetIAMPolicyBindingConditionResult(dict):
|
|
676
677
|
return pulumi.get(self, "description")
|
677
678
|
|
678
679
|
|
680
|
+
@pulumi.output_type
|
681
|
+
class GetSOrganizationResult(dict):
|
682
|
+
def __init__(__self__, *,
|
683
|
+
directory_customer_id: str,
|
684
|
+
display_name: str,
|
685
|
+
lifecycle_state: str,
|
686
|
+
name: str,
|
687
|
+
org_id: str):
|
688
|
+
"""
|
689
|
+
:param str directory_customer_id: The Google for Work customer ID of the Organization.
|
690
|
+
:param str display_name: A human-readable string that refers to the Organization in the Google Cloud console. The string will be set to the primary domain (for example, `"google.com"`) of the G Suite customer that owns the organization.
|
691
|
+
:param str lifecycle_state: The Organization's current lifecycle state.
|
692
|
+
:param str name: The resource name of the Organization in the form `organizations/{organization_id}`.
|
693
|
+
:param str org_id: The Organization ID.
|
694
|
+
"""
|
695
|
+
pulumi.set(__self__, "directory_customer_id", directory_customer_id)
|
696
|
+
pulumi.set(__self__, "display_name", display_name)
|
697
|
+
pulumi.set(__self__, "lifecycle_state", lifecycle_state)
|
698
|
+
pulumi.set(__self__, "name", name)
|
699
|
+
pulumi.set(__self__, "org_id", org_id)
|
700
|
+
|
701
|
+
@property
|
702
|
+
@pulumi.getter(name="directoryCustomerId")
|
703
|
+
def directory_customer_id(self) -> str:
|
704
|
+
"""
|
705
|
+
The Google for Work customer ID of the Organization.
|
706
|
+
"""
|
707
|
+
return pulumi.get(self, "directory_customer_id")
|
708
|
+
|
709
|
+
@property
|
710
|
+
@pulumi.getter(name="displayName")
|
711
|
+
def display_name(self) -> str:
|
712
|
+
"""
|
713
|
+
A human-readable string that refers to the Organization in the Google Cloud console. The string will be set to the primary domain (for example, `"google.com"`) of the G Suite customer that owns the organization.
|
714
|
+
"""
|
715
|
+
return pulumi.get(self, "display_name")
|
716
|
+
|
717
|
+
@property
|
718
|
+
@pulumi.getter(name="lifecycleState")
|
719
|
+
def lifecycle_state(self) -> str:
|
720
|
+
"""
|
721
|
+
The Organization's current lifecycle state.
|
722
|
+
"""
|
723
|
+
return pulumi.get(self, "lifecycle_state")
|
724
|
+
|
725
|
+
@property
|
726
|
+
@pulumi.getter
|
727
|
+
def name(self) -> str:
|
728
|
+
"""
|
729
|
+
The resource name of the Organization in the form `organizations/{organization_id}`.
|
730
|
+
"""
|
731
|
+
return pulumi.get(self, "name")
|
732
|
+
|
733
|
+
@property
|
734
|
+
@pulumi.getter(name="orgId")
|
735
|
+
def org_id(self) -> str:
|
736
|
+
"""
|
737
|
+
The Organization ID.
|
738
|
+
"""
|
739
|
+
return pulumi.get(self, "org_id")
|
740
|
+
|
741
|
+
|
@@ -5,8 +5,11 @@
|
|
5
5
|
from .. import _utilities
|
6
6
|
import typing
|
7
7
|
# Export this package's modules as members:
|
8
|
+
from .get_parameter import *
|
8
9
|
from .get_regional_parameter import *
|
10
|
+
from .get_regional_parameters import *
|
9
11
|
from .parameter import *
|
12
|
+
from .parameter_version import *
|
10
13
|
from .regional_parameter import *
|
11
14
|
from .regional_parameter_version import *
|
12
15
|
from ._inputs import *
|