pulumi-gcp 8.21.0a1741156431__py3-none-any.whl → 8.22.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 +96 -0
- pulumi_gcp/alloydb/_inputs.py +66 -0
- pulumi_gcp/alloydb/cluster.py +148 -0
- pulumi_gcp/alloydb/instance.py +28 -28
- pulumi_gcp/alloydb/outputs.py +95 -0
- pulumi_gcp/apihub/__init__.py +1 -0
- pulumi_gcp/apihub/host_project_registration.py +535 -0
- pulumi_gcp/backupdisasterrecovery/_inputs.py +3 -3
- pulumi_gcp/backupdisasterrecovery/outputs.py +4 -4
- pulumi_gcp/bigquery/table.py +1 -1
- pulumi_gcp/certificatemanager/certificate.py +53 -7
- pulumi_gcp/certificatemanager/outputs.py +8 -2
- pulumi_gcp/compute/__init__.py +6 -0
- pulumi_gcp/compute/_inputs.py +1370 -17
- pulumi_gcp/compute/backend_service.py +209 -14
- pulumi_gcp/compute/ca_external_account_key.py +48 -3
- pulumi_gcp/compute/disk.py +403 -0
- pulumi_gcp/compute/firewall_policy_association.py +28 -2
- pulumi_gcp/compute/get_backend_service.py +12 -1
- pulumi_gcp/compute/get_disk.py +78 -1
- pulumi_gcp/compute/get_instant_snapshot_iam_policy.py +182 -0
- pulumi_gcp/compute/get_region_disk.py +23 -1
- pulumi_gcp/compute/get_region_ssl_policy.py +203 -0
- pulumi_gcp/compute/instant_snapshot.py +796 -0
- pulumi_gcp/compute/instant_snapshot_iam_binding.py +1087 -0
- pulumi_gcp/compute/instant_snapshot_iam_member.py +1087 -0
- pulumi_gcp/compute/instant_snapshot_iam_policy.py +906 -0
- pulumi_gcp/compute/outputs.py +1952 -29
- pulumi_gcp/compute/region_backend_service.py +207 -14
- pulumi_gcp/compute/region_disk.py +114 -0
- pulumi_gcp/compute/route.py +228 -2
- pulumi_gcp/compute/shared_vpc_service_project.py +0 -4
- pulumi_gcp/compute/subnetwork.py +147 -0
- pulumi_gcp/compute/url_map.py +8 -0
- pulumi_gcp/container/_inputs.py +6 -6
- pulumi_gcp/container/outputs.py +8 -8
- pulumi_gcp/datacatalog/entry.py +4 -0
- pulumi_gcp/datacatalog/tag.py +4 -0
- pulumi_gcp/dataproc/_inputs.py +12 -15
- pulumi_gcp/dataproc/outputs.py +8 -10
- pulumi_gcp/datastream/_inputs.py +273 -0
- pulumi_gcp/datastream/connection_profile.py +54 -2
- pulumi_gcp/datastream/outputs.py +224 -0
- pulumi_gcp/discoveryengine/target_site.py +4 -4
- pulumi_gcp/eventarc/__init__.py +2 -0
- pulumi_gcp/eventarc/_inputs.py +80 -0
- pulumi_gcp/eventarc/channel.py +85 -93
- pulumi_gcp/eventarc/google_api_source.py +997 -0
- pulumi_gcp/eventarc/message_bus.py +927 -0
- pulumi_gcp/eventarc/outputs.py +82 -0
- pulumi_gcp/firebase/data_connect_service.py +40 -2
- pulumi_gcp/gemini/__init__.py +1 -0
- pulumi_gcp/gemini/data_sharing_with_google_setting_binding.py +20 -8
- pulumi_gcp/gemini/gemini_gcp_enablement_setting.py +6 -0
- pulumi_gcp/gemini/gemini_gcp_enablement_setting_binding.py +734 -0
- pulumi_gcp/gemini/logging_setting_binding.py +7 -7
- pulumi_gcp/iam/__init__.py +2 -0
- pulumi_gcp/iam/_inputs.py +84 -27
- pulumi_gcp/iam/folders_policy_binding.py +10 -26
- pulumi_gcp/iam/oauth_client.py +979 -0
- pulumi_gcp/iam/oauth_client_credential.py +641 -0
- pulumi_gcp/iam/organizations_policy_binding.py +8 -24
- pulumi_gcp/iam/outputs.py +56 -18
- pulumi_gcp/iam/principal_access_boundary_policy.py +58 -22
- pulumi_gcp/iam/projects_policy_binding.py +8 -24
- pulumi_gcp/iam/workforce_pool_provider.py +2 -2
- pulumi_gcp/kms/crypto_key_version.py +14 -7
- pulumi_gcp/memorystore/__init__.py +1 -0
- pulumi_gcp/memorystore/get_instance.py +425 -0
- pulumi_gcp/memorystore/outputs.py +582 -0
- pulumi_gcp/monitoring/_inputs.py +15 -18
- pulumi_gcp/monitoring/alert_policy.py +46 -0
- pulumi_gcp/monitoring/outputs.py +10 -12
- pulumi_gcp/networkconnectivity/hub.py +84 -0
- pulumi_gcp/networksecurity/__init__.py +1 -0
- pulumi_gcp/networksecurity/_inputs.py +30 -18
- pulumi_gcp/networksecurity/backend_authentication_config.py +847 -0
- pulumi_gcp/networksecurity/intercept_deployment.py +178 -94
- pulumi_gcp/networksecurity/intercept_deployment_group.py +161 -77
- pulumi_gcp/networksecurity/intercept_endpoint_group.py +161 -66
- pulumi_gcp/networksecurity/intercept_endpoint_group_association.py +137 -80
- pulumi_gcp/networksecurity/mirroring_deployment.py +178 -94
- pulumi_gcp/networksecurity/mirroring_deployment_group.py +161 -77
- pulumi_gcp/networksecurity/mirroring_endpoint_group.py +161 -80
- pulumi_gcp/networksecurity/mirroring_endpoint_group_association.py +137 -105
- pulumi_gcp/networksecurity/outputs.py +20 -12
- pulumi_gcp/networkservices/endpoint_policy.py +12 -0
- pulumi_gcp/networkservices/grpc_route.py +128 -12
- pulumi_gcp/networkservices/http_route.py +16 -0
- pulumi_gcp/networkservices/mesh.py +16 -0
- pulumi_gcp/networkservices/service_binding.py +14 -0
- pulumi_gcp/networkservices/tcp_route.py +16 -0
- pulumi_gcp/networkservices/tls_route.py +12 -0
- pulumi_gcp/notebooks/location.py +4 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/storage/__init__.py +1 -0
- pulumi_gcp/storage/_inputs.py +74 -0
- pulumi_gcp/storage/anywhere_cache.py +552 -0
- pulumi_gcp/storage/outputs.py +65 -0
- pulumi_gcp/storage/transfer_job.py +67 -0
- pulumi_gcp/tpu/_inputs.py +21 -1
- pulumi_gcp/tpu/outputs.py +13 -1
- pulumi_gcp/tpu/v2_vm.py +2 -0
- pulumi_gcp/vmwareengine/_inputs.py +6 -0
- pulumi_gcp/vmwareengine/outputs.py +8 -0
- pulumi_gcp/workstations/workstation_cluster.py +137 -1
- {pulumi_gcp-8.21.0a1741156431.dist-info → pulumi_gcp-8.22.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.21.0a1741156431.dist-info → pulumi_gcp-8.22.0.dist-info}/RECORD +110 -95
- {pulumi_gcp-8.21.0a1741156431.dist-info → pulumi_gcp-8.22.0.dist-info}/WHEEL +1 -1
- {pulumi_gcp-8.21.0a1741156431.dist-info → pulumi_gcp-8.22.0.dist-info}/top_level.txt +0 -0
pulumi_gcp/monitoring/_inputs.py
CHANGED
@@ -1686,8 +1686,7 @@ if not MYPY:
|
|
1686
1686
|
"""
|
1687
1687
|
boolean_test: NotRequired[pulumi.Input['AlertPolicyConditionConditionSqlBooleanTestArgsDict']]
|
1688
1688
|
"""
|
1689
|
-
|
1690
|
-
query will start immediately.
|
1689
|
+
A test that uses an alerting result in a boolean column produced by the SQL query.
|
1691
1690
|
Structure is documented below.
|
1692
1691
|
"""
|
1693
1692
|
daily: NotRequired[pulumi.Input['AlertPolicyConditionConditionSqlDailyArgsDict']]
|
@@ -1707,7 +1706,7 @@ if not MYPY:
|
|
1707
1706
|
"""
|
1708
1707
|
row_count_test: NotRequired[pulumi.Input['AlertPolicyConditionConditionSqlRowCountTestArgsDict']]
|
1709
1708
|
"""
|
1710
|
-
|
1709
|
+
A test that checks if the number of rows in the result set violates some threshold.
|
1711
1710
|
Structure is documented below.
|
1712
1711
|
"""
|
1713
1712
|
elif False:
|
@@ -1728,8 +1727,7 @@ class AlertPolicyConditionConditionSqlArgs:
|
|
1728
1727
|
filter the input by time. A filter will automatically be applied
|
1729
1728
|
to filter the input so that the query receives all rows received
|
1730
1729
|
since the last time the query was run.
|
1731
|
-
:param pulumi.Input['AlertPolicyConditionConditionSqlBooleanTestArgs'] boolean_test:
|
1732
|
-
query will start immediately.
|
1730
|
+
:param pulumi.Input['AlertPolicyConditionConditionSqlBooleanTestArgs'] boolean_test: A test that uses an alerting result in a boolean column produced by the SQL query.
|
1733
1731
|
Structure is documented below.
|
1734
1732
|
:param pulumi.Input['AlertPolicyConditionConditionSqlDailyArgs'] daily: Used to schedule the query to run every so many days.
|
1735
1733
|
Structure is documented below.
|
@@ -1737,7 +1735,7 @@ class AlertPolicyConditionConditionSqlArgs:
|
|
1737
1735
|
Structure is documented below.
|
1738
1736
|
:param pulumi.Input['AlertPolicyConditionConditionSqlMinutesArgs'] minutes: Used to schedule the query to run every so many minutes.
|
1739
1737
|
Structure is documented below.
|
1740
|
-
:param pulumi.Input['AlertPolicyConditionConditionSqlRowCountTestArgs'] row_count_test:
|
1738
|
+
:param pulumi.Input['AlertPolicyConditionConditionSqlRowCountTestArgs'] row_count_test: A test that checks if the number of rows in the result set violates some threshold.
|
1741
1739
|
Structure is documented below.
|
1742
1740
|
"""
|
1743
1741
|
pulumi.set(__self__, "query", query)
|
@@ -1772,8 +1770,7 @@ class AlertPolicyConditionConditionSqlArgs:
|
|
1772
1770
|
@pulumi.getter(name="booleanTest")
|
1773
1771
|
def boolean_test(self) -> Optional[pulumi.Input['AlertPolicyConditionConditionSqlBooleanTestArgs']]:
|
1774
1772
|
"""
|
1775
|
-
|
1776
|
-
query will start immediately.
|
1773
|
+
A test that uses an alerting result in a boolean column produced by the SQL query.
|
1777
1774
|
Structure is documented below.
|
1778
1775
|
"""
|
1779
1776
|
return pulumi.get(self, "boolean_test")
|
@@ -1825,7 +1822,7 @@ class AlertPolicyConditionConditionSqlArgs:
|
|
1825
1822
|
@pulumi.getter(name="rowCountTest")
|
1826
1823
|
def row_count_test(self) -> Optional[pulumi.Input['AlertPolicyConditionConditionSqlRowCountTestArgs']]:
|
1827
1824
|
"""
|
1828
|
-
|
1825
|
+
A test that checks if the number of rows in the result set violates some threshold.
|
1829
1826
|
Structure is documented below.
|
1830
1827
|
"""
|
1831
1828
|
return pulumi.get(self, "row_count_test")
|
@@ -1839,8 +1836,8 @@ if not MYPY:
|
|
1839
1836
|
class AlertPolicyConditionConditionSqlBooleanTestArgsDict(TypedDict):
|
1840
1837
|
column: pulumi.Input[str]
|
1841
1838
|
"""
|
1842
|
-
The name of the column containing the boolean value. If the value
|
1843
|
-
|
1839
|
+
The name of the column containing the boolean value. If the value in a row is
|
1840
|
+
NULL, that row is ignored.
|
1844
1841
|
|
1845
1842
|
- - -
|
1846
1843
|
"""
|
@@ -1852,8 +1849,8 @@ class AlertPolicyConditionConditionSqlBooleanTestArgs:
|
|
1852
1849
|
def __init__(__self__, *,
|
1853
1850
|
column: pulumi.Input[str]):
|
1854
1851
|
"""
|
1855
|
-
:param pulumi.Input[str] column: The name of the column containing the boolean value. If the value
|
1856
|
-
|
1852
|
+
:param pulumi.Input[str] column: The name of the column containing the boolean value. If the value in a row is
|
1853
|
+
NULL, that row is ignored.
|
1857
1854
|
|
1858
1855
|
- - -
|
1859
1856
|
"""
|
@@ -1863,8 +1860,8 @@ class AlertPolicyConditionConditionSqlBooleanTestArgs:
|
|
1863
1860
|
@pulumi.getter
|
1864
1861
|
def column(self) -> pulumi.Input[str]:
|
1865
1862
|
"""
|
1866
|
-
The name of the column containing the boolean value. If the value
|
1867
|
-
|
1863
|
+
The name of the column containing the boolean value. If the value in a row is
|
1864
|
+
NULL, that row is ignored.
|
1868
1865
|
|
1869
1866
|
- - -
|
1870
1867
|
"""
|
@@ -2161,7 +2158,7 @@ if not MYPY:
|
|
2161
2158
|
"""
|
2162
2159
|
threshold: pulumi.Input[int]
|
2163
2160
|
"""
|
2164
|
-
|
2161
|
+
The value against which to compare the row count.
|
2165
2162
|
"""
|
2166
2163
|
elif False:
|
2167
2164
|
AlertPolicyConditionConditionSqlRowCountTestArgsDict: TypeAlias = Mapping[str, Any]
|
@@ -2181,7 +2178,7 @@ class AlertPolicyConditionConditionSqlRowCountTestArgs:
|
|
2181
2178
|
right-hand side. Only COMPARISON_LT and
|
2182
2179
|
COMPARISON_GT are supported currently.
|
2183
2180
|
Possible values are: `COMPARISON_GT`, `COMPARISON_GE`, `COMPARISON_LT`, `COMPARISON_LE`, `COMPARISON_EQ`, `COMPARISON_NE`.
|
2184
|
-
:param pulumi.Input[int] threshold:
|
2181
|
+
:param pulumi.Input[int] threshold: The value against which to compare the row count.
|
2185
2182
|
"""
|
2186
2183
|
pulumi.set(__self__, "comparison", comparison)
|
2187
2184
|
pulumi.set(__self__, "threshold", threshold)
|
@@ -2210,7 +2207,7 @@ class AlertPolicyConditionConditionSqlRowCountTestArgs:
|
|
2210
2207
|
@pulumi.getter
|
2211
2208
|
def threshold(self) -> pulumi.Input[int]:
|
2212
2209
|
"""
|
2213
|
-
|
2210
|
+
The value against which to compare the row count.
|
2214
2211
|
"""
|
2215
2212
|
return pulumi.get(self, "threshold")
|
2216
2213
|
|
@@ -586,6 +586,29 @@ class AlertPolicy(pulumi.CustomResource):
|
|
586
586
|
"auto_close": "1800s",
|
587
587
|
})
|
588
588
|
```
|
589
|
+
### Monitoring Alert Policy Sql Condition
|
590
|
+
|
591
|
+
```python
|
592
|
+
import pulumi
|
593
|
+
import pulumi_gcp as gcp
|
594
|
+
|
595
|
+
alert_policy = gcp.monitoring.AlertPolicy("alert_policy",
|
596
|
+
display_name="My Alert Policy",
|
597
|
+
combiner="OR",
|
598
|
+
conditions=[{
|
599
|
+
"display_name": "minutes row count",
|
600
|
+
"condition_sql": {
|
601
|
+
"query": "SELECT severity, resource FROM my_project.global._Default._AllLogs WHERE severity IS NOT NULL",
|
602
|
+
"minutes": {
|
603
|
+
"periodicity": 600,
|
604
|
+
},
|
605
|
+
"row_count_test": {
|
606
|
+
"comparison": "COMPARISON_GT",
|
607
|
+
"threshold": 0,
|
608
|
+
},
|
609
|
+
},
|
610
|
+
}])
|
611
|
+
```
|
589
612
|
|
590
613
|
## Import
|
591
614
|
|
@@ -762,6 +785,29 @@ class AlertPolicy(pulumi.CustomResource):
|
|
762
785
|
"auto_close": "1800s",
|
763
786
|
})
|
764
787
|
```
|
788
|
+
### Monitoring Alert Policy Sql Condition
|
789
|
+
|
790
|
+
```python
|
791
|
+
import pulumi
|
792
|
+
import pulumi_gcp as gcp
|
793
|
+
|
794
|
+
alert_policy = gcp.monitoring.AlertPolicy("alert_policy",
|
795
|
+
display_name="My Alert Policy",
|
796
|
+
combiner="OR",
|
797
|
+
conditions=[{
|
798
|
+
"display_name": "minutes row count",
|
799
|
+
"condition_sql": {
|
800
|
+
"query": "SELECT severity, resource FROM my_project.global._Default._AllLogs WHERE severity IS NOT NULL",
|
801
|
+
"minutes": {
|
802
|
+
"periodicity": 600,
|
803
|
+
},
|
804
|
+
"row_count_test": {
|
805
|
+
"comparison": "COMPARISON_GT",
|
806
|
+
"threshold": 0,
|
807
|
+
},
|
808
|
+
},
|
809
|
+
}])
|
810
|
+
```
|
765
811
|
|
766
812
|
## Import
|
767
813
|
|
pulumi_gcp/monitoring/outputs.py
CHANGED
@@ -1225,8 +1225,7 @@ class AlertPolicyConditionConditionSql(dict):
|
|
1225
1225
|
filter the input by time. A filter will automatically be applied
|
1226
1226
|
to filter the input so that the query receives all rows received
|
1227
1227
|
since the last time the query was run.
|
1228
|
-
:param 'AlertPolicyConditionConditionSqlBooleanTestArgs' boolean_test:
|
1229
|
-
query will start immediately.
|
1228
|
+
:param 'AlertPolicyConditionConditionSqlBooleanTestArgs' boolean_test: A test that uses an alerting result in a boolean column produced by the SQL query.
|
1230
1229
|
Structure is documented below.
|
1231
1230
|
:param 'AlertPolicyConditionConditionSqlDailyArgs' daily: Used to schedule the query to run every so many days.
|
1232
1231
|
Structure is documented below.
|
@@ -1234,7 +1233,7 @@ class AlertPolicyConditionConditionSql(dict):
|
|
1234
1233
|
Structure is documented below.
|
1235
1234
|
:param 'AlertPolicyConditionConditionSqlMinutesArgs' minutes: Used to schedule the query to run every so many minutes.
|
1236
1235
|
Structure is documented below.
|
1237
|
-
:param 'AlertPolicyConditionConditionSqlRowCountTestArgs' row_count_test:
|
1236
|
+
:param 'AlertPolicyConditionConditionSqlRowCountTestArgs' row_count_test: A test that checks if the number of rows in the result set violates some threshold.
|
1238
1237
|
Structure is documented below.
|
1239
1238
|
"""
|
1240
1239
|
pulumi.set(__self__, "query", query)
|
@@ -1265,8 +1264,7 @@ class AlertPolicyConditionConditionSql(dict):
|
|
1265
1264
|
@pulumi.getter(name="booleanTest")
|
1266
1265
|
def boolean_test(self) -> Optional['outputs.AlertPolicyConditionConditionSqlBooleanTest']:
|
1267
1266
|
"""
|
1268
|
-
|
1269
|
-
query will start immediately.
|
1267
|
+
A test that uses an alerting result in a boolean column produced by the SQL query.
|
1270
1268
|
Structure is documented below.
|
1271
1269
|
"""
|
1272
1270
|
return pulumi.get(self, "boolean_test")
|
@@ -1302,7 +1300,7 @@ class AlertPolicyConditionConditionSql(dict):
|
|
1302
1300
|
@pulumi.getter(name="rowCountTest")
|
1303
1301
|
def row_count_test(self) -> Optional['outputs.AlertPolicyConditionConditionSqlRowCountTest']:
|
1304
1302
|
"""
|
1305
|
-
|
1303
|
+
A test that checks if the number of rows in the result set violates some threshold.
|
1306
1304
|
Structure is documented below.
|
1307
1305
|
"""
|
1308
1306
|
return pulumi.get(self, "row_count_test")
|
@@ -1313,8 +1311,8 @@ class AlertPolicyConditionConditionSqlBooleanTest(dict):
|
|
1313
1311
|
def __init__(__self__, *,
|
1314
1312
|
column: str):
|
1315
1313
|
"""
|
1316
|
-
:param str column: The name of the column containing the boolean value. If the value
|
1317
|
-
|
1314
|
+
:param str column: The name of the column containing the boolean value. If the value in a row is
|
1315
|
+
NULL, that row is ignored.
|
1318
1316
|
|
1319
1317
|
- - -
|
1320
1318
|
"""
|
@@ -1324,8 +1322,8 @@ class AlertPolicyConditionConditionSqlBooleanTest(dict):
|
|
1324
1322
|
@pulumi.getter
|
1325
1323
|
def column(self) -> str:
|
1326
1324
|
"""
|
1327
|
-
The name of the column containing the boolean value. If the value
|
1328
|
-
|
1325
|
+
The name of the column containing the boolean value. If the value in a row is
|
1326
|
+
NULL, that row is ignored.
|
1329
1327
|
|
1330
1328
|
- - -
|
1331
1329
|
"""
|
@@ -1544,7 +1542,7 @@ class AlertPolicyConditionConditionSqlRowCountTest(dict):
|
|
1544
1542
|
right-hand side. Only COMPARISON_LT and
|
1545
1543
|
COMPARISON_GT are supported currently.
|
1546
1544
|
Possible values are: `COMPARISON_GT`, `COMPARISON_GE`, `COMPARISON_LT`, `COMPARISON_LE`, `COMPARISON_EQ`, `COMPARISON_NE`.
|
1547
|
-
:param int threshold:
|
1545
|
+
:param int threshold: The value against which to compare the row count.
|
1548
1546
|
"""
|
1549
1547
|
pulumi.set(__self__, "comparison", comparison)
|
1550
1548
|
pulumi.set(__self__, "threshold", threshold)
|
@@ -1569,7 +1567,7 @@ class AlertPolicyConditionConditionSqlRowCountTest(dict):
|
|
1569
1567
|
@pulumi.getter
|
1570
1568
|
def threshold(self) -> int:
|
1571
1569
|
"""
|
1572
|
-
|
1570
|
+
The value against which to compare the row count.
|
1573
1571
|
"""
|
1574
1572
|
return pulumi.get(self, "threshold")
|
1575
1573
|
|
@@ -25,6 +25,7 @@ class HubArgs:
|
|
25
25
|
export_psc: Optional[pulumi.Input[bool]] = None,
|
26
26
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
27
27
|
name: Optional[pulumi.Input[str]] = None,
|
28
|
+
policy_mode: Optional[pulumi.Input[str]] = None,
|
28
29
|
preset_topology: Optional[pulumi.Input[str]] = None,
|
29
30
|
project: Optional[pulumi.Input[str]] = None):
|
30
31
|
"""
|
@@ -38,6 +39,8 @@ class HubArgs:
|
|
38
39
|
|
39
40
|
|
40
41
|
- - -
|
42
|
+
:param pulumi.Input[str] policy_mode: Optional. The policy mode of this hub. This field can be either PRESET or CUSTOM. If unspecified, the policyMode defaults to PRESET.
|
43
|
+
Possible values are: `CUSTOM`, `PRESET`.
|
41
44
|
:param pulumi.Input[str] preset_topology: Optional. The topology implemented in this hub. Currently, this field is only used when policyMode = PRESET. The available preset topologies are MESH and STAR. If presetTopology is unspecified and policyMode = PRESET, the presetTopology defaults to MESH. When policyMode = CUSTOM, the presetTopology is set to PRESET_TOPOLOGY_UNSPECIFIED.
|
42
45
|
Possible values are: `MESH`, `STAR`.
|
43
46
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
@@ -51,6 +54,8 @@ class HubArgs:
|
|
51
54
|
pulumi.set(__self__, "labels", labels)
|
52
55
|
if name is not None:
|
53
56
|
pulumi.set(__self__, "name", name)
|
57
|
+
if policy_mode is not None:
|
58
|
+
pulumi.set(__self__, "policy_mode", policy_mode)
|
54
59
|
if preset_topology is not None:
|
55
60
|
pulumi.set(__self__, "preset_topology", preset_topology)
|
56
61
|
if project is not None:
|
@@ -109,6 +114,19 @@ class HubArgs:
|
|
109
114
|
def name(self, value: Optional[pulumi.Input[str]]):
|
110
115
|
pulumi.set(self, "name", value)
|
111
116
|
|
117
|
+
@property
|
118
|
+
@pulumi.getter(name="policyMode")
|
119
|
+
def policy_mode(self) -> Optional[pulumi.Input[str]]:
|
120
|
+
"""
|
121
|
+
Optional. The policy mode of this hub. This field can be either PRESET or CUSTOM. If unspecified, the policyMode defaults to PRESET.
|
122
|
+
Possible values are: `CUSTOM`, `PRESET`.
|
123
|
+
"""
|
124
|
+
return pulumi.get(self, "policy_mode")
|
125
|
+
|
126
|
+
@policy_mode.setter
|
127
|
+
def policy_mode(self, value: Optional[pulumi.Input[str]]):
|
128
|
+
pulumi.set(self, "policy_mode", value)
|
129
|
+
|
112
130
|
@property
|
113
131
|
@pulumi.getter(name="presetTopology")
|
114
132
|
def preset_topology(self) -> Optional[pulumi.Input[str]]:
|
@@ -145,6 +163,7 @@ class _HubState:
|
|
145
163
|
export_psc: Optional[pulumi.Input[bool]] = None,
|
146
164
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
147
165
|
name: Optional[pulumi.Input[str]] = None,
|
166
|
+
policy_mode: Optional[pulumi.Input[str]] = None,
|
148
167
|
preset_topology: Optional[pulumi.Input[str]] = None,
|
149
168
|
project: Optional[pulumi.Input[str]] = None,
|
150
169
|
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
@@ -165,6 +184,8 @@ class _HubState:
|
|
165
184
|
|
166
185
|
|
167
186
|
- - -
|
187
|
+
:param pulumi.Input[str] policy_mode: Optional. The policy mode of this hub. This field can be either PRESET or CUSTOM. If unspecified, the policyMode defaults to PRESET.
|
188
|
+
Possible values are: `CUSTOM`, `PRESET`.
|
168
189
|
:param pulumi.Input[str] preset_topology: Optional. The topology implemented in this hub. Currently, this field is only used when policyMode = PRESET. The available preset topologies are MESH and STAR. If presetTopology is unspecified and policyMode = PRESET, the presetTopology defaults to MESH. When policyMode = CUSTOM, the presetTopology is set to PRESET_TOPOLOGY_UNSPECIFIED.
|
169
190
|
Possible values are: `MESH`, `STAR`.
|
170
191
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
@@ -189,6 +210,8 @@ class _HubState:
|
|
189
210
|
pulumi.set(__self__, "labels", labels)
|
190
211
|
if name is not None:
|
191
212
|
pulumi.set(__self__, "name", name)
|
213
|
+
if policy_mode is not None:
|
214
|
+
pulumi.set(__self__, "policy_mode", policy_mode)
|
192
215
|
if preset_topology is not None:
|
193
216
|
pulumi.set(__self__, "preset_topology", preset_topology)
|
194
217
|
if project is not None:
|
@@ -281,6 +304,19 @@ class _HubState:
|
|
281
304
|
def name(self, value: Optional[pulumi.Input[str]]):
|
282
305
|
pulumi.set(self, "name", value)
|
283
306
|
|
307
|
+
@property
|
308
|
+
@pulumi.getter(name="policyMode")
|
309
|
+
def policy_mode(self) -> Optional[pulumi.Input[str]]:
|
310
|
+
"""
|
311
|
+
Optional. The policy mode of this hub. This field can be either PRESET or CUSTOM. If unspecified, the policyMode defaults to PRESET.
|
312
|
+
Possible values are: `CUSTOM`, `PRESET`.
|
313
|
+
"""
|
314
|
+
return pulumi.get(self, "policy_mode")
|
315
|
+
|
316
|
+
@policy_mode.setter
|
317
|
+
def policy_mode(self, value: Optional[pulumi.Input[str]]):
|
318
|
+
pulumi.set(self, "policy_mode", value)
|
319
|
+
|
284
320
|
@property
|
285
321
|
@pulumi.getter(name="presetTopology")
|
286
322
|
def preset_topology(self) -> Optional[pulumi.Input[str]]:
|
@@ -379,6 +415,7 @@ class Hub(pulumi.CustomResource):
|
|
379
415
|
export_psc: Optional[pulumi.Input[bool]] = None,
|
380
416
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
381
417
|
name: Optional[pulumi.Input[str]] = None,
|
418
|
+
policy_mode: Optional[pulumi.Input[str]] = None,
|
382
419
|
preset_topology: Optional[pulumi.Input[str]] = None,
|
383
420
|
project: Optional[pulumi.Input[str]] = None,
|
384
421
|
__props__=None):
|
@@ -444,6 +481,21 @@ class Hub(pulumi.CustomResource):
|
|
444
481
|
},
|
445
482
|
preset_topology="STAR")
|
446
483
|
```
|
484
|
+
### Network Connectivity Hub Policy Mode
|
485
|
+
|
486
|
+
```python
|
487
|
+
import pulumi
|
488
|
+
import pulumi_gcp as gcp
|
489
|
+
|
490
|
+
primary = gcp.networkconnectivity.Hub("primary",
|
491
|
+
name="policy",
|
492
|
+
description="A sample hub with PRESET policy_mode and STAR topology",
|
493
|
+
policy_mode="PRESET",
|
494
|
+
preset_topology="STAR",
|
495
|
+
labels={
|
496
|
+
"label-one": "value-one",
|
497
|
+
})
|
498
|
+
```
|
447
499
|
|
448
500
|
## Import
|
449
501
|
|
@@ -480,6 +532,8 @@ class Hub(pulumi.CustomResource):
|
|
480
532
|
|
481
533
|
|
482
534
|
- - -
|
535
|
+
:param pulumi.Input[str] policy_mode: Optional. The policy mode of this hub. This field can be either PRESET or CUSTOM. If unspecified, the policyMode defaults to PRESET.
|
536
|
+
Possible values are: `CUSTOM`, `PRESET`.
|
483
537
|
:param pulumi.Input[str] preset_topology: Optional. The topology implemented in this hub. Currently, this field is only used when policyMode = PRESET. The available preset topologies are MESH and STAR. If presetTopology is unspecified and policyMode = PRESET, the presetTopology defaults to MESH. When policyMode = CUSTOM, the presetTopology is set to PRESET_TOPOLOGY_UNSPECIFIED.
|
484
538
|
Possible values are: `MESH`, `STAR`.
|
485
539
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
@@ -553,6 +607,21 @@ class Hub(pulumi.CustomResource):
|
|
553
607
|
},
|
554
608
|
preset_topology="STAR")
|
555
609
|
```
|
610
|
+
### Network Connectivity Hub Policy Mode
|
611
|
+
|
612
|
+
```python
|
613
|
+
import pulumi
|
614
|
+
import pulumi_gcp as gcp
|
615
|
+
|
616
|
+
primary = gcp.networkconnectivity.Hub("primary",
|
617
|
+
name="policy",
|
618
|
+
description="A sample hub with PRESET policy_mode and STAR topology",
|
619
|
+
policy_mode="PRESET",
|
620
|
+
preset_topology="STAR",
|
621
|
+
labels={
|
622
|
+
"label-one": "value-one",
|
623
|
+
})
|
624
|
+
```
|
556
625
|
|
557
626
|
## Import
|
558
627
|
|
@@ -597,6 +666,7 @@ class Hub(pulumi.CustomResource):
|
|
597
666
|
export_psc: Optional[pulumi.Input[bool]] = None,
|
598
667
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
599
668
|
name: Optional[pulumi.Input[str]] = None,
|
669
|
+
policy_mode: Optional[pulumi.Input[str]] = None,
|
600
670
|
preset_topology: Optional[pulumi.Input[str]] = None,
|
601
671
|
project: Optional[pulumi.Input[str]] = None,
|
602
672
|
__props__=None):
|
@@ -612,6 +682,7 @@ class Hub(pulumi.CustomResource):
|
|
612
682
|
__props__.__dict__["export_psc"] = export_psc
|
613
683
|
__props__.__dict__["labels"] = labels
|
614
684
|
__props__.__dict__["name"] = name
|
685
|
+
__props__.__dict__["policy_mode"] = policy_mode
|
615
686
|
__props__.__dict__["preset_topology"] = preset_topology
|
616
687
|
__props__.__dict__["project"] = project
|
617
688
|
__props__.__dict__["create_time"] = None
|
@@ -639,6 +710,7 @@ class Hub(pulumi.CustomResource):
|
|
639
710
|
export_psc: Optional[pulumi.Input[bool]] = None,
|
640
711
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
641
712
|
name: Optional[pulumi.Input[str]] = None,
|
713
|
+
policy_mode: Optional[pulumi.Input[str]] = None,
|
642
714
|
preset_topology: Optional[pulumi.Input[str]] = None,
|
643
715
|
project: Optional[pulumi.Input[str]] = None,
|
644
716
|
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
@@ -664,6 +736,8 @@ class Hub(pulumi.CustomResource):
|
|
664
736
|
|
665
737
|
|
666
738
|
- - -
|
739
|
+
:param pulumi.Input[str] policy_mode: Optional. The policy mode of this hub. This field can be either PRESET or CUSTOM. If unspecified, the policyMode defaults to PRESET.
|
740
|
+
Possible values are: `CUSTOM`, `PRESET`.
|
667
741
|
:param pulumi.Input[str] preset_topology: Optional. The topology implemented in this hub. Currently, this field is only used when policyMode = PRESET. The available preset topologies are MESH and STAR. If presetTopology is unspecified and policyMode = PRESET, the presetTopology defaults to MESH. When policyMode = CUSTOM, the presetTopology is set to PRESET_TOPOLOGY_UNSPECIFIED.
|
668
742
|
Possible values are: `MESH`, `STAR`.
|
669
743
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
@@ -686,6 +760,7 @@ class Hub(pulumi.CustomResource):
|
|
686
760
|
__props__.__dict__["export_psc"] = export_psc
|
687
761
|
__props__.__dict__["labels"] = labels
|
688
762
|
__props__.__dict__["name"] = name
|
763
|
+
__props__.__dict__["policy_mode"] = policy_mode
|
689
764
|
__props__.__dict__["preset_topology"] = preset_topology
|
690
765
|
__props__.__dict__["project"] = project
|
691
766
|
__props__.__dict__["pulumi_labels"] = pulumi_labels
|
@@ -748,6 +823,15 @@ class Hub(pulumi.CustomResource):
|
|
748
823
|
"""
|
749
824
|
return pulumi.get(self, "name")
|
750
825
|
|
826
|
+
@property
|
827
|
+
@pulumi.getter(name="policyMode")
|
828
|
+
def policy_mode(self) -> pulumi.Output[str]:
|
829
|
+
"""
|
830
|
+
Optional. The policy mode of this hub. This field can be either PRESET or CUSTOM. If unspecified, the policyMode defaults to PRESET.
|
831
|
+
Possible values are: `CUSTOM`, `PRESET`.
|
832
|
+
"""
|
833
|
+
return pulumi.get(self, "policy_mode")
|
834
|
+
|
751
835
|
@property
|
752
836
|
@pulumi.getter(name="presetTopology")
|
753
837
|
def preset_topology(self) -> pulumi.Output[str]:
|
@@ -11,6 +11,7 @@ from .address_group_iam_member import *
|
|
11
11
|
from .address_group_iam_policy import *
|
12
12
|
from .authorization_policy import *
|
13
13
|
from .authz_policy import *
|
14
|
+
from .backend_authentication_config import *
|
14
15
|
from .client_tls_policy import *
|
15
16
|
from .firewall_endpoint import *
|
16
17
|
from .firewall_endpoint_association import *
|
@@ -2547,7 +2547,9 @@ if not MYPY:
|
|
2547
2547
|
name: NotRequired[pulumi.Input[str]]
|
2548
2548
|
"""
|
2549
2549
|
(Output)
|
2550
|
-
|
2550
|
+
The connected endpoint group's resource name, for example:
|
2551
|
+
`projects/123456789/locations/global/interceptEndpointGroups/my-eg`.
|
2552
|
+
See https://google.aip.dev/124.
|
2551
2553
|
"""
|
2552
2554
|
elif False:
|
2553
2555
|
InterceptDeploymentGroupConnectedEndpointGroupArgsDict: TypeAlias = Mapping[str, Any]
|
@@ -2558,7 +2560,9 @@ class InterceptDeploymentGroupConnectedEndpointGroupArgs:
|
|
2558
2560
|
name: Optional[pulumi.Input[str]] = None):
|
2559
2561
|
"""
|
2560
2562
|
:param pulumi.Input[str] name: (Output)
|
2561
|
-
|
2563
|
+
The connected endpoint group's resource name, for example:
|
2564
|
+
`projects/123456789/locations/global/interceptEndpointGroups/my-eg`.
|
2565
|
+
See https://google.aip.dev/124.
|
2562
2566
|
"""
|
2563
2567
|
if name is not None:
|
2564
2568
|
pulumi.set(__self__, "name", name)
|
@@ -2568,7 +2572,9 @@ class InterceptDeploymentGroupConnectedEndpointGroupArgs:
|
|
2568
2572
|
def name(self) -> Optional[pulumi.Input[str]]:
|
2569
2573
|
"""
|
2570
2574
|
(Output)
|
2571
|
-
|
2575
|
+
The connected endpoint group's resource name, for example:
|
2576
|
+
`projects/123456789/locations/global/interceptEndpointGroups/my-eg`.
|
2577
|
+
See https://google.aip.dev/124.
|
2572
2578
|
"""
|
2573
2579
|
return pulumi.get(self, "name")
|
2574
2580
|
|
@@ -2581,7 +2587,7 @@ if not MYPY:
|
|
2581
2587
|
class InterceptEndpointGroupAssociationLocationsDetailArgsDict(TypedDict):
|
2582
2588
|
location: NotRequired[pulumi.Input[str]]
|
2583
2589
|
"""
|
2584
|
-
The location of the
|
2590
|
+
The cloud location of the association, currently restricted to `global`.
|
2585
2591
|
|
2586
2592
|
|
2587
2593
|
- - -
|
@@ -2589,7 +2595,7 @@ if not MYPY:
|
|
2589
2595
|
state: NotRequired[pulumi.Input[str]]
|
2590
2596
|
"""
|
2591
2597
|
(Output)
|
2592
|
-
The
|
2598
|
+
The current state of the association in this location.
|
2593
2599
|
Possible values:
|
2594
2600
|
STATE_UNSPECIFIED
|
2595
2601
|
ACTIVE
|
@@ -2604,12 +2610,12 @@ class InterceptEndpointGroupAssociationLocationsDetailArgs:
|
|
2604
2610
|
location: Optional[pulumi.Input[str]] = None,
|
2605
2611
|
state: Optional[pulumi.Input[str]] = None):
|
2606
2612
|
"""
|
2607
|
-
:param pulumi.Input[str] location: The location of the
|
2613
|
+
:param pulumi.Input[str] location: The cloud location of the association, currently restricted to `global`.
|
2608
2614
|
|
2609
2615
|
|
2610
2616
|
- - -
|
2611
2617
|
:param pulumi.Input[str] state: (Output)
|
2612
|
-
The
|
2618
|
+
The current state of the association in this location.
|
2613
2619
|
Possible values:
|
2614
2620
|
STATE_UNSPECIFIED
|
2615
2621
|
ACTIVE
|
@@ -2624,7 +2630,7 @@ class InterceptEndpointGroupAssociationLocationsDetailArgs:
|
|
2624
2630
|
@pulumi.getter
|
2625
2631
|
def location(self) -> Optional[pulumi.Input[str]]:
|
2626
2632
|
"""
|
2627
|
-
The location of the
|
2633
|
+
The cloud location of the association, currently restricted to `global`.
|
2628
2634
|
|
2629
2635
|
|
2630
2636
|
- - -
|
@@ -2640,7 +2646,7 @@ class InterceptEndpointGroupAssociationLocationsDetailArgs:
|
|
2640
2646
|
def state(self) -> Optional[pulumi.Input[str]]:
|
2641
2647
|
"""
|
2642
2648
|
(Output)
|
2643
|
-
The
|
2649
|
+
The current state of the association in this location.
|
2644
2650
|
Possible values:
|
2645
2651
|
STATE_UNSPECIFIED
|
2646
2652
|
ACTIVE
|
@@ -2658,7 +2664,9 @@ if not MYPY:
|
|
2658
2664
|
name: NotRequired[pulumi.Input[str]]
|
2659
2665
|
"""
|
2660
2666
|
(Output)
|
2661
|
-
|
2667
|
+
The connected endpoint group's resource name, for example:
|
2668
|
+
`projects/123456789/locations/global/mirroringEndpointGroups/my-eg`.
|
2669
|
+
See https://google.aip.dev/124.
|
2662
2670
|
"""
|
2663
2671
|
elif False:
|
2664
2672
|
MirroringDeploymentGroupConnectedEndpointGroupArgsDict: TypeAlias = Mapping[str, Any]
|
@@ -2669,7 +2677,9 @@ class MirroringDeploymentGroupConnectedEndpointGroupArgs:
|
|
2669
2677
|
name: Optional[pulumi.Input[str]] = None):
|
2670
2678
|
"""
|
2671
2679
|
:param pulumi.Input[str] name: (Output)
|
2672
|
-
|
2680
|
+
The connected endpoint group's resource name, for example:
|
2681
|
+
`projects/123456789/locations/global/mirroringEndpointGroups/my-eg`.
|
2682
|
+
See https://google.aip.dev/124.
|
2673
2683
|
"""
|
2674
2684
|
if name is not None:
|
2675
2685
|
pulumi.set(__self__, "name", name)
|
@@ -2679,7 +2689,9 @@ class MirroringDeploymentGroupConnectedEndpointGroupArgs:
|
|
2679
2689
|
def name(self) -> Optional[pulumi.Input[str]]:
|
2680
2690
|
"""
|
2681
2691
|
(Output)
|
2682
|
-
|
2692
|
+
The connected endpoint group's resource name, for example:
|
2693
|
+
`projects/123456789/locations/global/mirroringEndpointGroups/my-eg`.
|
2694
|
+
See https://google.aip.dev/124.
|
2683
2695
|
"""
|
2684
2696
|
return pulumi.get(self, "name")
|
2685
2697
|
|
@@ -2692,7 +2704,7 @@ if not MYPY:
|
|
2692
2704
|
class MirroringEndpointGroupAssociationLocationsDetailArgsDict(TypedDict):
|
2693
2705
|
location: NotRequired[pulumi.Input[str]]
|
2694
2706
|
"""
|
2695
|
-
|
2707
|
+
The cloud location of the association, currently restricted to `global`.
|
2696
2708
|
|
2697
2709
|
|
2698
2710
|
- - -
|
@@ -2700,7 +2712,7 @@ if not MYPY:
|
|
2700
2712
|
state: NotRequired[pulumi.Input[str]]
|
2701
2713
|
"""
|
2702
2714
|
(Output)
|
2703
|
-
|
2715
|
+
The current state of the association in this location.
|
2704
2716
|
Possible values:
|
2705
2717
|
STATE_UNSPECIFIED
|
2706
2718
|
ACTIVE
|
@@ -2715,12 +2727,12 @@ class MirroringEndpointGroupAssociationLocationsDetailArgs:
|
|
2715
2727
|
location: Optional[pulumi.Input[str]] = None,
|
2716
2728
|
state: Optional[pulumi.Input[str]] = None):
|
2717
2729
|
"""
|
2718
|
-
:param pulumi.Input[str] location:
|
2730
|
+
:param pulumi.Input[str] location: The cloud location of the association, currently restricted to `global`.
|
2719
2731
|
|
2720
2732
|
|
2721
2733
|
- - -
|
2722
2734
|
:param pulumi.Input[str] state: (Output)
|
2723
|
-
|
2735
|
+
The current state of the association in this location.
|
2724
2736
|
Possible values:
|
2725
2737
|
STATE_UNSPECIFIED
|
2726
2738
|
ACTIVE
|
@@ -2735,7 +2747,7 @@ class MirroringEndpointGroupAssociationLocationsDetailArgs:
|
|
2735
2747
|
@pulumi.getter
|
2736
2748
|
def location(self) -> Optional[pulumi.Input[str]]:
|
2737
2749
|
"""
|
2738
|
-
|
2750
|
+
The cloud location of the association, currently restricted to `global`.
|
2739
2751
|
|
2740
2752
|
|
2741
2753
|
- - -
|
@@ -2751,7 +2763,7 @@ class MirroringEndpointGroupAssociationLocationsDetailArgs:
|
|
2751
2763
|
def state(self) -> Optional[pulumi.Input[str]]:
|
2752
2764
|
"""
|
2753
2765
|
(Output)
|
2754
|
-
|
2766
|
+
The current state of the association in this location.
|
2755
2767
|
Possible values:
|
2756
2768
|
STATE_UNSPECIFIED
|
2757
2769
|
ACTIVE
|