pulumi-gcp 9.2.0a1759043191__py3-none-any.whl → 9.3.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/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.2.0a1759043191.dist-info → pulumi_gcp-9.3.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-9.2.0a1759043191.dist-info → pulumi_gcp-9.3.0.dist-info}/RECORD +76 -70
- {pulumi_gcp-9.2.0a1759043191.dist-info → pulumi_gcp-9.3.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-9.2.0a1759043191.dist-info → pulumi_gcp-9.3.0.dist-info}/top_level.txt +0 -0
@@ -1272,6 +1272,61 @@ class WorkerPool(pulumi.CustomResource):
|
|
1272
1272
|
}],
|
1273
1273
|
})
|
1274
1274
|
```
|
1275
|
+
### Cloudrunv2 Worker Pool Startup Liveness Probe
|
1276
|
+
|
1277
|
+
```python
|
1278
|
+
import pulumi
|
1279
|
+
import pulumi_gcp as gcp
|
1280
|
+
|
1281
|
+
custom_test = gcp.compute.Network("custom_test",
|
1282
|
+
name="wp-net",
|
1283
|
+
auto_create_subnetworks=False)
|
1284
|
+
custom_test_subnetwork = gcp.compute.Subnetwork("custom_test",
|
1285
|
+
name="wp-subnet",
|
1286
|
+
ip_cidr_range="10.2.0.0/28",
|
1287
|
+
region="us-central1",
|
1288
|
+
network=custom_test.id)
|
1289
|
+
default = gcp.cloudrunv2.WorkerPool("default",
|
1290
|
+
name="cloudrun-worker-pool",
|
1291
|
+
location="us-central1",
|
1292
|
+
launch_stage="BETA",
|
1293
|
+
deletion_protection=False,
|
1294
|
+
template={
|
1295
|
+
"annotations": {},
|
1296
|
+
"labels": {},
|
1297
|
+
"containers": [{
|
1298
|
+
"image": "us-docker.pkg.dev/cloudrun/container/hello",
|
1299
|
+
"commands": [],
|
1300
|
+
"args": [],
|
1301
|
+
"startup_probe": {
|
1302
|
+
"initial_delay_seconds": 0,
|
1303
|
+
"timeout_seconds": 1,
|
1304
|
+
"period_seconds": 3,
|
1305
|
+
"failure_threshold": 3,
|
1306
|
+
"tcp_socket": {
|
1307
|
+
"port": 8080,
|
1308
|
+
},
|
1309
|
+
},
|
1310
|
+
"liveness_probe": {
|
1311
|
+
"initial_delay_seconds": 0,
|
1312
|
+
"timeout_seconds": 1,
|
1313
|
+
"period_seconds": 10,
|
1314
|
+
"failure_threshold": 3,
|
1315
|
+
"http_get": {
|
1316
|
+
"path": "/",
|
1317
|
+
"port": 8080,
|
1318
|
+
},
|
1319
|
+
},
|
1320
|
+
}],
|
1321
|
+
"vpc_access": {
|
1322
|
+
"network_interfaces": [{
|
1323
|
+
"network": custom_test.id,
|
1324
|
+
"subnetwork": custom_test_subnetwork.id,
|
1325
|
+
"tags": [],
|
1326
|
+
}],
|
1327
|
+
},
|
1328
|
+
})
|
1329
|
+
```
|
1275
1330
|
|
1276
1331
|
## Import
|
1277
1332
|
|
@@ -1695,6 +1750,61 @@ class WorkerPool(pulumi.CustomResource):
|
|
1695
1750
|
}],
|
1696
1751
|
})
|
1697
1752
|
```
|
1753
|
+
### Cloudrunv2 Worker Pool Startup Liveness Probe
|
1754
|
+
|
1755
|
+
```python
|
1756
|
+
import pulumi
|
1757
|
+
import pulumi_gcp as gcp
|
1758
|
+
|
1759
|
+
custom_test = gcp.compute.Network("custom_test",
|
1760
|
+
name="wp-net",
|
1761
|
+
auto_create_subnetworks=False)
|
1762
|
+
custom_test_subnetwork = gcp.compute.Subnetwork("custom_test",
|
1763
|
+
name="wp-subnet",
|
1764
|
+
ip_cidr_range="10.2.0.0/28",
|
1765
|
+
region="us-central1",
|
1766
|
+
network=custom_test.id)
|
1767
|
+
default = gcp.cloudrunv2.WorkerPool("default",
|
1768
|
+
name="cloudrun-worker-pool",
|
1769
|
+
location="us-central1",
|
1770
|
+
launch_stage="BETA",
|
1771
|
+
deletion_protection=False,
|
1772
|
+
template={
|
1773
|
+
"annotations": {},
|
1774
|
+
"labels": {},
|
1775
|
+
"containers": [{
|
1776
|
+
"image": "us-docker.pkg.dev/cloudrun/container/hello",
|
1777
|
+
"commands": [],
|
1778
|
+
"args": [],
|
1779
|
+
"startup_probe": {
|
1780
|
+
"initial_delay_seconds": 0,
|
1781
|
+
"timeout_seconds": 1,
|
1782
|
+
"period_seconds": 3,
|
1783
|
+
"failure_threshold": 3,
|
1784
|
+
"tcp_socket": {
|
1785
|
+
"port": 8080,
|
1786
|
+
},
|
1787
|
+
},
|
1788
|
+
"liveness_probe": {
|
1789
|
+
"initial_delay_seconds": 0,
|
1790
|
+
"timeout_seconds": 1,
|
1791
|
+
"period_seconds": 10,
|
1792
|
+
"failure_threshold": 3,
|
1793
|
+
"http_get": {
|
1794
|
+
"path": "/",
|
1795
|
+
"port": 8080,
|
1796
|
+
},
|
1797
|
+
},
|
1798
|
+
}],
|
1799
|
+
"vpc_access": {
|
1800
|
+
"network_interfaces": [{
|
1801
|
+
"network": custom_test.id,
|
1802
|
+
"subnetwork": custom_test_subnetwork.id,
|
1803
|
+
"tags": [],
|
1804
|
+
}],
|
1805
|
+
},
|
1806
|
+
})
|
1807
|
+
```
|
1698
1808
|
|
1699
1809
|
## Import
|
1700
1810
|
|
pulumi_gcp/compute/_inputs.py
CHANGED
@@ -80105,6 +80105,13 @@ class WireGroupWireGroupPropertiesArgs:
|
|
80105
80105
|
|
80106
80106
|
if not MYPY:
|
80107
80107
|
class WireGroupWirePropertiesArgsDict(TypedDict):
|
80108
|
+
bandwidth_allocation: pulumi.Input[_builtins.str]
|
80109
|
+
"""
|
80110
|
+
The configuration of a wire's bandwidth allocation.
|
80111
|
+
ALLOCATE_PER_WIRE: configures a separate unmetered bandwidth allocation (and associated charges) for each wire in the group.
|
80112
|
+
SHARED_WITH_WIRE_GROUP: this is the default behavior, which configures one unmetered bandwidth allocation for the wire group. The unmetered bandwidth is divided equally across each wire in the group, but dynamic
|
80113
|
+
throttling reallocates unused unmetered bandwidth from unused or underused wires to other wires in the group.
|
80114
|
+
"""
|
80108
80115
|
bandwidth_unmetered: NotRequired[pulumi.Input[_builtins.int]]
|
80109
80116
|
"""
|
80110
80117
|
The unmetered bandwidth setting.
|
@@ -80121,19 +80128,40 @@ elif False:
|
|
80121
80128
|
@pulumi.input_type
|
80122
80129
|
class WireGroupWirePropertiesArgs:
|
80123
80130
|
def __init__(__self__, *,
|
80131
|
+
bandwidth_allocation: pulumi.Input[_builtins.str],
|
80124
80132
|
bandwidth_unmetered: Optional[pulumi.Input[_builtins.int]] = None,
|
80125
80133
|
fault_response: Optional[pulumi.Input[_builtins.str]] = None):
|
80126
80134
|
"""
|
80135
|
+
:param pulumi.Input[_builtins.str] bandwidth_allocation: The configuration of a wire's bandwidth allocation.
|
80136
|
+
ALLOCATE_PER_WIRE: configures a separate unmetered bandwidth allocation (and associated charges) for each wire in the group.
|
80137
|
+
SHARED_WITH_WIRE_GROUP: this is the default behavior, which configures one unmetered bandwidth allocation for the wire group. The unmetered bandwidth is divided equally across each wire in the group, but dynamic
|
80138
|
+
throttling reallocates unused unmetered bandwidth from unused or underused wires to other wires in the group.
|
80127
80139
|
:param pulumi.Input[_builtins.int] bandwidth_unmetered: The unmetered bandwidth setting.
|
80128
80140
|
:param pulumi.Input[_builtins.str] fault_response: Response when a fault is detected in a pseudowire:
|
80129
80141
|
NONE: default.
|
80130
80142
|
DISABLE_PORT: set the port line protocol down when inline probes detect a fault. This setting is only permitted on port mode pseudowires.
|
80131
80143
|
"""
|
80144
|
+
pulumi.set(__self__, "bandwidth_allocation", bandwidth_allocation)
|
80132
80145
|
if bandwidth_unmetered is not None:
|
80133
80146
|
pulumi.set(__self__, "bandwidth_unmetered", bandwidth_unmetered)
|
80134
80147
|
if fault_response is not None:
|
80135
80148
|
pulumi.set(__self__, "fault_response", fault_response)
|
80136
80149
|
|
80150
|
+
@_builtins.property
|
80151
|
+
@pulumi.getter(name="bandwidthAllocation")
|
80152
|
+
def bandwidth_allocation(self) -> pulumi.Input[_builtins.str]:
|
80153
|
+
"""
|
80154
|
+
The configuration of a wire's bandwidth allocation.
|
80155
|
+
ALLOCATE_PER_WIRE: configures a separate unmetered bandwidth allocation (and associated charges) for each wire in the group.
|
80156
|
+
SHARED_WITH_WIRE_GROUP: this is the default behavior, which configures one unmetered bandwidth allocation for the wire group. The unmetered bandwidth is divided equally across each wire in the group, but dynamic
|
80157
|
+
throttling reallocates unused unmetered bandwidth from unused or underused wires to other wires in the group.
|
80158
|
+
"""
|
80159
|
+
return pulumi.get(self, "bandwidth_allocation")
|
80160
|
+
|
80161
|
+
@bandwidth_allocation.setter
|
80162
|
+
def bandwidth_allocation(self, value: pulumi.Input[_builtins.str]):
|
80163
|
+
pulumi.set(self, "bandwidth_allocation", value)
|
80164
|
+
|
80137
80165
|
@_builtins.property
|
80138
80166
|
@pulumi.getter(name="bandwidthUnmetered")
|
80139
80167
|
def bandwidth_unmetered(self) -> Optional[pulumi.Input[_builtins.int]]:
|
pulumi_gcp/compute/outputs.py
CHANGED
@@ -61435,7 +61435,9 @@ class WireGroupWireProperties(dict):
|
|
61435
61435
|
@staticmethod
|
61436
61436
|
def __key_warning(key: str):
|
61437
61437
|
suggest = None
|
61438
|
-
if key == "
|
61438
|
+
if key == "bandwidthAllocation":
|
61439
|
+
suggest = "bandwidth_allocation"
|
61440
|
+
elif key == "bandwidthUnmetered":
|
61439
61441
|
suggest = "bandwidth_unmetered"
|
61440
61442
|
elif key == "faultResponse":
|
61441
61443
|
suggest = "fault_response"
|
@@ -61452,19 +61454,36 @@ class WireGroupWireProperties(dict):
|
|
61452
61454
|
return super().get(key, default)
|
61453
61455
|
|
61454
61456
|
def __init__(__self__, *,
|
61457
|
+
bandwidth_allocation: _builtins.str,
|
61455
61458
|
bandwidth_unmetered: Optional[_builtins.int] = None,
|
61456
61459
|
fault_response: Optional[_builtins.str] = None):
|
61457
61460
|
"""
|
61461
|
+
:param _builtins.str bandwidth_allocation: The configuration of a wire's bandwidth allocation.
|
61462
|
+
ALLOCATE_PER_WIRE: configures a separate unmetered bandwidth allocation (and associated charges) for each wire in the group.
|
61463
|
+
SHARED_WITH_WIRE_GROUP: this is the default behavior, which configures one unmetered bandwidth allocation for the wire group. The unmetered bandwidth is divided equally across each wire in the group, but dynamic
|
61464
|
+
throttling reallocates unused unmetered bandwidth from unused or underused wires to other wires in the group.
|
61458
61465
|
:param _builtins.int bandwidth_unmetered: The unmetered bandwidth setting.
|
61459
61466
|
:param _builtins.str fault_response: Response when a fault is detected in a pseudowire:
|
61460
61467
|
NONE: default.
|
61461
61468
|
DISABLE_PORT: set the port line protocol down when inline probes detect a fault. This setting is only permitted on port mode pseudowires.
|
61462
61469
|
"""
|
61470
|
+
pulumi.set(__self__, "bandwidth_allocation", bandwidth_allocation)
|
61463
61471
|
if bandwidth_unmetered is not None:
|
61464
61472
|
pulumi.set(__self__, "bandwidth_unmetered", bandwidth_unmetered)
|
61465
61473
|
if fault_response is not None:
|
61466
61474
|
pulumi.set(__self__, "fault_response", fault_response)
|
61467
61475
|
|
61476
|
+
@_builtins.property
|
61477
|
+
@pulumi.getter(name="bandwidthAllocation")
|
61478
|
+
def bandwidth_allocation(self) -> _builtins.str:
|
61479
|
+
"""
|
61480
|
+
The configuration of a wire's bandwidth allocation.
|
61481
|
+
ALLOCATE_PER_WIRE: configures a separate unmetered bandwidth allocation (and associated charges) for each wire in the group.
|
61482
|
+
SHARED_WITH_WIRE_GROUP: this is the default behavior, which configures one unmetered bandwidth allocation for the wire group. The unmetered bandwidth is divided equally across each wire in the group, but dynamic
|
61483
|
+
throttling reallocates unused unmetered bandwidth from unused or underused wires to other wires in the group.
|
61484
|
+
"""
|
61485
|
+
return pulumi.get(self, "bandwidth_allocation")
|
61486
|
+
|
61468
61487
|
@_builtins.property
|
61469
61488
|
@pulumi.getter(name="bandwidthUnmetered")
|
61470
61489
|
def bandwidth_unmetered(self) -> Optional[_builtins.int]:
|
pulumi_gcp/compute/vpn_tunnel.py
CHANGED
@@ -21,7 +21,6 @@ __all__ = ['VPNTunnelArgs', 'VPNTunnel']
|
|
21
21
|
@pulumi.input_type
|
22
22
|
class VPNTunnelArgs:
|
23
23
|
def __init__(__self__, *,
|
24
|
-
shared_secret: pulumi.Input[_builtins.str],
|
25
24
|
cipher_suite: Optional[pulumi.Input['VPNTunnelCipherSuiteArgs']] = None,
|
26
25
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
27
26
|
ike_version: Optional[pulumi.Input[_builtins.int]] = None,
|
@@ -36,14 +35,13 @@ class VPNTunnelArgs:
|
|
36
35
|
region: Optional[pulumi.Input[_builtins.str]] = None,
|
37
36
|
remote_traffic_selectors: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
38
37
|
router: Optional[pulumi.Input[_builtins.str]] = None,
|
38
|
+
shared_secret: Optional[pulumi.Input[_builtins.str]] = None,
|
39
|
+
shared_secret_wo_version: Optional[pulumi.Input[_builtins.str]] = None,
|
39
40
|
target_vpn_gateway: Optional[pulumi.Input[_builtins.str]] = None,
|
40
41
|
vpn_gateway: Optional[pulumi.Input[_builtins.str]] = None,
|
41
42
|
vpn_gateway_interface: Optional[pulumi.Input[_builtins.int]] = None):
|
42
43
|
"""
|
43
44
|
The set of arguments for constructing a VPNTunnel resource.
|
44
|
-
:param pulumi.Input[_builtins.str] shared_secret: Shared secret used to set the secure session between the Cloud VPN
|
45
|
-
gateway and the peer VPN gateway.
|
46
|
-
**Note**: This property is sensitive and will not be displayed in the plan.
|
47
45
|
:param pulumi.Input['VPNTunnelCipherSuiteArgs'] cipher_suite: User specified list of ciphers to use for the phase 1 and phase 2 of the IKE protocol.
|
48
46
|
Structure is documented below.
|
49
47
|
:param pulumi.Input[_builtins.str] description: An optional description of this resource.
|
@@ -79,6 +77,10 @@ class VPNTunnelArgs:
|
|
79
77
|
for example `192.168.0.0/16`. The ranges should be disjoint.
|
80
78
|
Only IPv4 is supported.
|
81
79
|
:param pulumi.Input[_builtins.str] router: URL of router resource to be used for dynamic routing.
|
80
|
+
:param pulumi.Input[_builtins.str] shared_secret: Shared secret used to set the secure session between the Cloud VPN
|
81
|
+
gateway and the peer VPN gateway.
|
82
|
+
**Note**: This property is sensitive and will not be displayed in the plan.
|
83
|
+
:param pulumi.Input[_builtins.str] shared_secret_wo_version: Triggers update of shared_secret_wo write-only. For more info see [updating write-only attributes](https://www.terraform.io/docs/providers/google/guides/using_write_only_attributes.html#updating-write-only-attributes)
|
82
84
|
:param pulumi.Input[_builtins.str] target_vpn_gateway: URL of the Target VPN gateway with which this VPN tunnel is
|
83
85
|
associated.
|
84
86
|
:param pulumi.Input[_builtins.str] vpn_gateway: URL of the VPN gateway with which this VPN tunnel is associated.
|
@@ -86,7 +88,6 @@ class VPNTunnelArgs:
|
|
86
88
|
This field must reference a `compute.HaVpnGateway` resource.
|
87
89
|
:param pulumi.Input[_builtins.int] vpn_gateway_interface: The interface ID of the VPN gateway with which this VPN tunnel is associated.
|
88
90
|
"""
|
89
|
-
pulumi.set(__self__, "shared_secret", shared_secret)
|
90
91
|
if cipher_suite is not None:
|
91
92
|
pulumi.set(__self__, "cipher_suite", cipher_suite)
|
92
93
|
if description is not None:
|
@@ -115,6 +116,10 @@ class VPNTunnelArgs:
|
|
115
116
|
pulumi.set(__self__, "remote_traffic_selectors", remote_traffic_selectors)
|
116
117
|
if router is not None:
|
117
118
|
pulumi.set(__self__, "router", router)
|
119
|
+
if shared_secret is not None:
|
120
|
+
pulumi.set(__self__, "shared_secret", shared_secret)
|
121
|
+
if shared_secret_wo_version is not None:
|
122
|
+
pulumi.set(__self__, "shared_secret_wo_version", shared_secret_wo_version)
|
118
123
|
if target_vpn_gateway is not None:
|
119
124
|
pulumi.set(__self__, "target_vpn_gateway", target_vpn_gateway)
|
120
125
|
if vpn_gateway is not None:
|
@@ -122,20 +127,6 @@ class VPNTunnelArgs:
|
|
122
127
|
if vpn_gateway_interface is not None:
|
123
128
|
pulumi.set(__self__, "vpn_gateway_interface", vpn_gateway_interface)
|
124
129
|
|
125
|
-
@_builtins.property
|
126
|
-
@pulumi.getter(name="sharedSecret")
|
127
|
-
def shared_secret(self) -> pulumi.Input[_builtins.str]:
|
128
|
-
"""
|
129
|
-
Shared secret used to set the secure session between the Cloud VPN
|
130
|
-
gateway and the peer VPN gateway.
|
131
|
-
**Note**: This property is sensitive and will not be displayed in the plan.
|
132
|
-
"""
|
133
|
-
return pulumi.get(self, "shared_secret")
|
134
|
-
|
135
|
-
@shared_secret.setter
|
136
|
-
def shared_secret(self, value: pulumi.Input[_builtins.str]):
|
137
|
-
pulumi.set(self, "shared_secret", value)
|
138
|
-
|
139
130
|
@_builtins.property
|
140
131
|
@pulumi.getter(name="cipherSuite")
|
141
132
|
def cipher_suite(self) -> Optional[pulumi.Input['VPNTunnelCipherSuiteArgs']]:
|
@@ -325,6 +316,32 @@ class VPNTunnelArgs:
|
|
325
316
|
def router(self, value: Optional[pulumi.Input[_builtins.str]]):
|
326
317
|
pulumi.set(self, "router", value)
|
327
318
|
|
319
|
+
@_builtins.property
|
320
|
+
@pulumi.getter(name="sharedSecret")
|
321
|
+
def shared_secret(self) -> Optional[pulumi.Input[_builtins.str]]:
|
322
|
+
"""
|
323
|
+
Shared secret used to set the secure session between the Cloud VPN
|
324
|
+
gateway and the peer VPN gateway.
|
325
|
+
**Note**: This property is sensitive and will not be displayed in the plan.
|
326
|
+
"""
|
327
|
+
return pulumi.get(self, "shared_secret")
|
328
|
+
|
329
|
+
@shared_secret.setter
|
330
|
+
def shared_secret(self, value: Optional[pulumi.Input[_builtins.str]]):
|
331
|
+
pulumi.set(self, "shared_secret", value)
|
332
|
+
|
333
|
+
@_builtins.property
|
334
|
+
@pulumi.getter(name="sharedSecretWoVersion")
|
335
|
+
def shared_secret_wo_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
336
|
+
"""
|
337
|
+
Triggers update of shared_secret_wo write-only. For more info see [updating write-only attributes](https://www.terraform.io/docs/providers/google/guides/using_write_only_attributes.html#updating-write-only-attributes)
|
338
|
+
"""
|
339
|
+
return pulumi.get(self, "shared_secret_wo_version")
|
340
|
+
|
341
|
+
@shared_secret_wo_version.setter
|
342
|
+
def shared_secret_wo_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
343
|
+
pulumi.set(self, "shared_secret_wo_version", value)
|
344
|
+
|
328
345
|
@_builtins.property
|
329
346
|
@pulumi.getter(name="targetVpnGateway")
|
330
347
|
def target_vpn_gateway(self) -> Optional[pulumi.Input[_builtins.str]]:
|
@@ -390,6 +407,7 @@ class _VPNTunnelState:
|
|
390
407
|
self_link: Optional[pulumi.Input[_builtins.str]] = None,
|
391
408
|
shared_secret: Optional[pulumi.Input[_builtins.str]] = None,
|
392
409
|
shared_secret_hash: Optional[pulumi.Input[_builtins.str]] = None,
|
410
|
+
shared_secret_wo_version: Optional[pulumi.Input[_builtins.str]] = None,
|
393
411
|
target_vpn_gateway: Optional[pulumi.Input[_builtins.str]] = None,
|
394
412
|
tunnel_id: Optional[pulumi.Input[_builtins.str]] = None,
|
395
413
|
vpn_gateway: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -443,6 +461,7 @@ class _VPNTunnelState:
|
|
443
461
|
gateway and the peer VPN gateway.
|
444
462
|
**Note**: This property is sensitive and will not be displayed in the plan.
|
445
463
|
:param pulumi.Input[_builtins.str] shared_secret_hash: Hash of the shared secret.
|
464
|
+
:param pulumi.Input[_builtins.str] shared_secret_wo_version: Triggers update of shared_secret_wo write-only. For more info see [updating write-only attributes](https://www.terraform.io/docs/providers/google/guides/using_write_only_attributes.html#updating-write-only-attributes)
|
446
465
|
:param pulumi.Input[_builtins.str] target_vpn_gateway: URL of the Target VPN gateway with which this VPN tunnel is
|
447
466
|
associated.
|
448
467
|
:param pulumi.Input[_builtins.str] tunnel_id: The unique identifier for the resource. This identifier is defined by the server.
|
@@ -495,6 +514,8 @@ class _VPNTunnelState:
|
|
495
514
|
pulumi.set(__self__, "shared_secret", shared_secret)
|
496
515
|
if shared_secret_hash is not None:
|
497
516
|
pulumi.set(__self__, "shared_secret_hash", shared_secret_hash)
|
517
|
+
if shared_secret_wo_version is not None:
|
518
|
+
pulumi.set(__self__, "shared_secret_wo_version", shared_secret_wo_version)
|
498
519
|
if target_vpn_gateway is not None:
|
499
520
|
pulumi.set(__self__, "target_vpn_gateway", target_vpn_gateway)
|
500
521
|
if tunnel_id is not None:
|
@@ -793,6 +814,18 @@ class _VPNTunnelState:
|
|
793
814
|
def shared_secret_hash(self, value: Optional[pulumi.Input[_builtins.str]]):
|
794
815
|
pulumi.set(self, "shared_secret_hash", value)
|
795
816
|
|
817
|
+
@_builtins.property
|
818
|
+
@pulumi.getter(name="sharedSecretWoVersion")
|
819
|
+
def shared_secret_wo_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
820
|
+
"""
|
821
|
+
Triggers update of shared_secret_wo write-only. For more info see [updating write-only attributes](https://www.terraform.io/docs/providers/google/guides/using_write_only_attributes.html#updating-write-only-attributes)
|
822
|
+
"""
|
823
|
+
return pulumi.get(self, "shared_secret_wo_version")
|
824
|
+
|
825
|
+
@shared_secret_wo_version.setter
|
826
|
+
def shared_secret_wo_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
827
|
+
pulumi.set(self, "shared_secret_wo_version", value)
|
828
|
+
|
796
829
|
@_builtins.property
|
797
830
|
@pulumi.getter(name="targetVpnGateway")
|
798
831
|
def target_vpn_gateway(self) -> Optional[pulumi.Input[_builtins.str]]:
|
@@ -866,6 +899,7 @@ class VPNTunnel(pulumi.CustomResource):
|
|
866
899
|
remote_traffic_selectors: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
867
900
|
router: Optional[pulumi.Input[_builtins.str]] = None,
|
868
901
|
shared_secret: Optional[pulumi.Input[_builtins.str]] = None,
|
902
|
+
shared_secret_wo_version: Optional[pulumi.Input[_builtins.str]] = None,
|
869
903
|
target_vpn_gateway: Optional[pulumi.Input[_builtins.str]] = None,
|
870
904
|
vpn_gateway: Optional[pulumi.Input[_builtins.str]] = None,
|
871
905
|
vpn_gateway_interface: Optional[pulumi.Input[_builtins.int]] = None,
|
@@ -880,6 +914,9 @@ class VPNTunnel(pulumi.CustomResource):
|
|
880
914
|
* [Cloud VPN Overview](https://cloud.google.com/vpn/docs/concepts/overview)
|
881
915
|
* [Networks and Tunnel Routing](https://cloud.google.com/vpn/docs/concepts/choosing-networks-routing)
|
882
916
|
|
917
|
+
> **Note:** All arguments marked as write-only values will not be stored in the state: `shared_secret_wo`.
|
918
|
+
Read more about Write-only Attributes.
|
919
|
+
|
883
920
|
## Example Usage
|
884
921
|
|
885
922
|
### Vpn Tunnel Basic
|
@@ -992,6 +1029,17 @@ class VPNTunnel(pulumi.CustomResource):
|
|
992
1029
|
next_hop_vpn_tunnel=tunnel1.id)
|
993
1030
|
```
|
994
1031
|
|
1032
|
+
## Ephemeral Attributes Reference
|
1033
|
+
|
1034
|
+
The following write-only attributes are supported:
|
1035
|
+
|
1036
|
+
* `shared_secret_wo` -
|
1037
|
+
(Optional)
|
1038
|
+
Shared secret used to set the secure session between the Cloud VPN
|
1039
|
+
gateway and the peer VPN gateway.
|
1040
|
+
Note: This property is write-only and will not be read from the API. For more info see [updating write-only attributes](https://www.terraform.io/docs/providers/google/guides/using_write_only_attributes.html#updating-write-only-attributes)
|
1041
|
+
**Note**: This property is write-only and will not be read from the API.
|
1042
|
+
|
995
1043
|
## Import
|
996
1044
|
|
997
1045
|
VpnTunnel can be imported using any of these accepted formats:
|
@@ -1062,6 +1110,7 @@ class VPNTunnel(pulumi.CustomResource):
|
|
1062
1110
|
:param pulumi.Input[_builtins.str] shared_secret: Shared secret used to set the secure session between the Cloud VPN
|
1063
1111
|
gateway and the peer VPN gateway.
|
1064
1112
|
**Note**: This property is sensitive and will not be displayed in the plan.
|
1113
|
+
:param pulumi.Input[_builtins.str] shared_secret_wo_version: Triggers update of shared_secret_wo write-only. For more info see [updating write-only attributes](https://www.terraform.io/docs/providers/google/guides/using_write_only_attributes.html#updating-write-only-attributes)
|
1065
1114
|
:param pulumi.Input[_builtins.str] target_vpn_gateway: URL of the Target VPN gateway with which this VPN tunnel is
|
1066
1115
|
associated.
|
1067
1116
|
:param pulumi.Input[_builtins.str] vpn_gateway: URL of the VPN gateway with which this VPN tunnel is associated.
|
@@ -1073,7 +1122,7 @@ class VPNTunnel(pulumi.CustomResource):
|
|
1073
1122
|
@overload
|
1074
1123
|
def __init__(__self__,
|
1075
1124
|
resource_name: str,
|
1076
|
-
args: VPNTunnelArgs,
|
1125
|
+
args: Optional[VPNTunnelArgs] = None,
|
1077
1126
|
opts: Optional[pulumi.ResourceOptions] = None):
|
1078
1127
|
"""
|
1079
1128
|
VPN tunnel resource.
|
@@ -1085,6 +1134,9 @@ class VPNTunnel(pulumi.CustomResource):
|
|
1085
1134
|
* [Cloud VPN Overview](https://cloud.google.com/vpn/docs/concepts/overview)
|
1086
1135
|
* [Networks and Tunnel Routing](https://cloud.google.com/vpn/docs/concepts/choosing-networks-routing)
|
1087
1136
|
|
1137
|
+
> **Note:** All arguments marked as write-only values will not be stored in the state: `shared_secret_wo`.
|
1138
|
+
Read more about Write-only Attributes.
|
1139
|
+
|
1088
1140
|
## Example Usage
|
1089
1141
|
|
1090
1142
|
### Vpn Tunnel Basic
|
@@ -1197,6 +1249,17 @@ class VPNTunnel(pulumi.CustomResource):
|
|
1197
1249
|
next_hop_vpn_tunnel=tunnel1.id)
|
1198
1250
|
```
|
1199
1251
|
|
1252
|
+
## Ephemeral Attributes Reference
|
1253
|
+
|
1254
|
+
The following write-only attributes are supported:
|
1255
|
+
|
1256
|
+
* `shared_secret_wo` -
|
1257
|
+
(Optional)
|
1258
|
+
Shared secret used to set the secure session between the Cloud VPN
|
1259
|
+
gateway and the peer VPN gateway.
|
1260
|
+
Note: This property is write-only and will not be read from the API. For more info see [updating write-only attributes](https://www.terraform.io/docs/providers/google/guides/using_write_only_attributes.html#updating-write-only-attributes)
|
1261
|
+
**Note**: This property is write-only and will not be read from the API.
|
1262
|
+
|
1200
1263
|
## Import
|
1201
1264
|
|
1202
1265
|
VpnTunnel can be imported using any of these accepted formats:
|
@@ -1257,6 +1320,7 @@ class VPNTunnel(pulumi.CustomResource):
|
|
1257
1320
|
remote_traffic_selectors: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
1258
1321
|
router: Optional[pulumi.Input[_builtins.str]] = None,
|
1259
1322
|
shared_secret: Optional[pulumi.Input[_builtins.str]] = None,
|
1323
|
+
shared_secret_wo_version: Optional[pulumi.Input[_builtins.str]] = None,
|
1260
1324
|
target_vpn_gateway: Optional[pulumi.Input[_builtins.str]] = None,
|
1261
1325
|
vpn_gateway: Optional[pulumi.Input[_builtins.str]] = None,
|
1262
1326
|
vpn_gateway_interface: Optional[pulumi.Input[_builtins.int]] = None,
|
@@ -1283,9 +1347,8 @@ class VPNTunnel(pulumi.CustomResource):
|
|
1283
1347
|
__props__.__dict__["region"] = region
|
1284
1348
|
__props__.__dict__["remote_traffic_selectors"] = remote_traffic_selectors
|
1285
1349
|
__props__.__dict__["router"] = router
|
1286
|
-
if shared_secret is None and not opts.urn:
|
1287
|
-
raise TypeError("Missing required property 'shared_secret'")
|
1288
1350
|
__props__.__dict__["shared_secret"] = None if shared_secret is None else pulumi.Output.secret(shared_secret)
|
1351
|
+
__props__.__dict__["shared_secret_wo_version"] = shared_secret_wo_version
|
1289
1352
|
__props__.__dict__["target_vpn_gateway"] = target_vpn_gateway
|
1290
1353
|
__props__.__dict__["vpn_gateway"] = vpn_gateway
|
1291
1354
|
__props__.__dict__["vpn_gateway_interface"] = vpn_gateway_interface
|
@@ -1331,6 +1394,7 @@ class VPNTunnel(pulumi.CustomResource):
|
|
1331
1394
|
self_link: Optional[pulumi.Input[_builtins.str]] = None,
|
1332
1395
|
shared_secret: Optional[pulumi.Input[_builtins.str]] = None,
|
1333
1396
|
shared_secret_hash: Optional[pulumi.Input[_builtins.str]] = None,
|
1397
|
+
shared_secret_wo_version: Optional[pulumi.Input[_builtins.str]] = None,
|
1334
1398
|
target_vpn_gateway: Optional[pulumi.Input[_builtins.str]] = None,
|
1335
1399
|
tunnel_id: Optional[pulumi.Input[_builtins.str]] = None,
|
1336
1400
|
vpn_gateway: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -1389,6 +1453,7 @@ class VPNTunnel(pulumi.CustomResource):
|
|
1389
1453
|
gateway and the peer VPN gateway.
|
1390
1454
|
**Note**: This property is sensitive and will not be displayed in the plan.
|
1391
1455
|
:param pulumi.Input[_builtins.str] shared_secret_hash: Hash of the shared secret.
|
1456
|
+
:param pulumi.Input[_builtins.str] shared_secret_wo_version: Triggers update of shared_secret_wo write-only. For more info see [updating write-only attributes](https://www.terraform.io/docs/providers/google/guides/using_write_only_attributes.html#updating-write-only-attributes)
|
1392
1457
|
:param pulumi.Input[_builtins.str] target_vpn_gateway: URL of the Target VPN gateway with which this VPN tunnel is
|
1393
1458
|
associated.
|
1394
1459
|
:param pulumi.Input[_builtins.str] tunnel_id: The unique identifier for the resource. This identifier is defined by the server.
|
@@ -1423,6 +1488,7 @@ class VPNTunnel(pulumi.CustomResource):
|
|
1423
1488
|
__props__.__dict__["self_link"] = self_link
|
1424
1489
|
__props__.__dict__["shared_secret"] = shared_secret
|
1425
1490
|
__props__.__dict__["shared_secret_hash"] = shared_secret_hash
|
1491
|
+
__props__.__dict__["shared_secret_wo_version"] = shared_secret_wo_version
|
1426
1492
|
__props__.__dict__["target_vpn_gateway"] = target_vpn_gateway
|
1427
1493
|
__props__.__dict__["tunnel_id"] = tunnel_id
|
1428
1494
|
__props__.__dict__["vpn_gateway"] = vpn_gateway
|
@@ -1614,7 +1680,7 @@ class VPNTunnel(pulumi.CustomResource):
|
|
1614
1680
|
|
1615
1681
|
@_builtins.property
|
1616
1682
|
@pulumi.getter(name="sharedSecret")
|
1617
|
-
def shared_secret(self) -> pulumi.Output[_builtins.str]:
|
1683
|
+
def shared_secret(self) -> pulumi.Output[Optional[_builtins.str]]:
|
1618
1684
|
"""
|
1619
1685
|
Shared secret used to set the secure session between the Cloud VPN
|
1620
1686
|
gateway and the peer VPN gateway.
|
@@ -1630,6 +1696,14 @@ class VPNTunnel(pulumi.CustomResource):
|
|
1630
1696
|
"""
|
1631
1697
|
return pulumi.get(self, "shared_secret_hash")
|
1632
1698
|
|
1699
|
+
@_builtins.property
|
1700
|
+
@pulumi.getter(name="sharedSecretWoVersion")
|
1701
|
+
def shared_secret_wo_version(self) -> pulumi.Output[Optional[_builtins.str]]:
|
1702
|
+
"""
|
1703
|
+
Triggers update of shared_secret_wo write-only. For more info see [updating write-only attributes](https://www.terraform.io/docs/providers/google/guides/using_write_only_attributes.html#updating-write-only-attributes)
|
1704
|
+
"""
|
1705
|
+
return pulumi.get(self, "shared_secret_wo_version")
|
1706
|
+
|
1633
1707
|
@_builtins.property
|
1634
1708
|
@pulumi.getter(name="targetVpnGateway")
|
1635
1709
|
def target_vpn_gateway(self) -> pulumi.Output[Optional[_builtins.str]]:
|
pulumi_gcp/compute/wire_group.py
CHANGED
@@ -416,6 +416,7 @@ class WireGroup(pulumi.CustomResource):
|
|
416
416
|
wire_properties={
|
417
417
|
"bandwidth_unmetered": 10,
|
418
418
|
"fault_response": "NONE",
|
419
|
+
"bandwidth_allocation": "ALLOCATE_PER_WIRE",
|
419
420
|
},
|
420
421
|
wire_group_properties={
|
421
422
|
"type": "WIRE",
|
@@ -501,6 +502,7 @@ class WireGroup(pulumi.CustomResource):
|
|
501
502
|
wire_properties={
|
502
503
|
"bandwidth_unmetered": 10,
|
503
504
|
"fault_response": "NONE",
|
505
|
+
"bandwidth_allocation": "ALLOCATE_PER_WIRE",
|
504
506
|
},
|
505
507
|
wire_group_properties={
|
506
508
|
"type": "WIRE",
|