pulumi-gcp 8.18.0a1738650987__py3-none-any.whl → 8.19.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 +104 -0
- pulumi_gcp/accesscontextmanager/_inputs.py +288 -78
- pulumi_gcp/accesscontextmanager/outputs.py +186 -54
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_resource.py +28 -0
- pulumi_gcp/alloydb/user.py +10 -1
- pulumi_gcp/appengine/_inputs.py +3 -0
- pulumi_gcp/appengine/outputs.py +2 -0
- pulumi_gcp/assuredworkloads/workload.py +7 -7
- pulumi_gcp/beyondcorp/__init__.py +9 -0
- pulumi_gcp/beyondcorp/_inputs.py +319 -0
- pulumi_gcp/beyondcorp/application.py +604 -0
- pulumi_gcp/beyondcorp/application_iam_binding.py +1049 -0
- pulumi_gcp/beyondcorp/application_iam_member.py +1049 -0
- pulumi_gcp/beyondcorp/application_iam_policy.py +868 -0
- pulumi_gcp/beyondcorp/get_application_iam_policy.py +174 -0
- pulumi_gcp/beyondcorp/get_security_gateway_iam_policy.py +180 -0
- pulumi_gcp/beyondcorp/outputs.py +187 -0
- pulumi_gcp/beyondcorp/security_gateway.py +52 -25
- pulumi_gcp/beyondcorp/security_gateway_iam_binding.py +1075 -0
- pulumi_gcp/beyondcorp/security_gateway_iam_member.py +1075 -0
- pulumi_gcp/beyondcorp/security_gateway_iam_policy.py +894 -0
- pulumi_gcp/bigquery/_inputs.py +33 -0
- pulumi_gcp/bigquery/dataset.py +7 -7
- pulumi_gcp/bigquery/outputs.py +36 -0
- pulumi_gcp/bigquery/table.py +61 -7
- pulumi_gcp/bigqueryanalyticshub/__init__.py +1 -0
- pulumi_gcp/bigqueryanalyticshub/_inputs.py +318 -0
- pulumi_gcp/bigqueryanalyticshub/listing_subscription.py +808 -0
- pulumi_gcp/bigqueryanalyticshub/outputs.py +263 -0
- pulumi_gcp/certificateauthority/_inputs.py +54 -0
- pulumi_gcp/certificateauthority/authority.py +149 -3
- pulumi_gcp/certificateauthority/get_authority.py +15 -4
- pulumi_gcp/certificateauthority/outputs.py +81 -0
- pulumi_gcp/chronicle/retrohunt.py +0 -16
- pulumi_gcp/cloudquota/s_quota_adjuster_settings.py +23 -23
- pulumi_gcp/cloudrunv2/_inputs.py +112 -0
- pulumi_gcp/cloudrunv2/outputs.py +144 -1
- pulumi_gcp/cloudrunv2/service.py +2 -0
- pulumi_gcp/colab/__init__.py +2 -0
- pulumi_gcp/colab/_inputs.py +655 -0
- pulumi_gcp/colab/notebook_execution.py +1259 -0
- pulumi_gcp/colab/outputs.py +512 -0
- pulumi_gcp/colab/runtime.py +266 -2
- pulumi_gcp/colab/runtime_template.py +79 -3
- pulumi_gcp/colab/schedule.py +1318 -0
- pulumi_gcp/compute/__init__.py +1 -0
- pulumi_gcp/compute/_inputs.py +213 -9
- pulumi_gcp/compute/firewall_policy.py +54 -43
- pulumi_gcp/compute/forwarding_rule.py +103 -0
- pulumi_gcp/compute/get_forwarding_rule.py +12 -1
- pulumi_gcp/compute/get_network.py +3 -3
- pulumi_gcp/compute/interconnect_attachment.py +12 -0
- pulumi_gcp/compute/network.py +7 -7
- pulumi_gcp/compute/network_firewall_policy_packet_mirroring_rule.py +1011 -0
- pulumi_gcp/compute/outputs.py +193 -6
- pulumi_gcp/compute/public_advertised_prefix.py +35 -7
- pulumi_gcp/compute/public_delegated_prefix.py +171 -7
- pulumi_gcp/compute/region_resize_request.py +21 -22
- pulumi_gcp/compute/resize_request.py +22 -23
- pulumi_gcp/compute/router_peer.py +112 -0
- pulumi_gcp/compute/subnetwork.py +14 -7
- pulumi_gcp/container/_inputs.py +133 -21
- pulumi_gcp/container/outputs.py +154 -13
- pulumi_gcp/dataproc/_inputs.py +34 -0
- pulumi_gcp/dataproc/outputs.py +37 -0
- pulumi_gcp/dataproc/workflow_template.py +47 -0
- pulumi_gcp/datastream/connection_profile.py +120 -46
- pulumi_gcp/discoveryengine/chat_engine.py +7 -7
- pulumi_gcp/filestore/_inputs.py +222 -0
- pulumi_gcp/filestore/get_instance.py +23 -1
- pulumi_gcp/filestore/instance.py +86 -0
- pulumi_gcp/filestore/outputs.py +282 -0
- pulumi_gcp/firestore/field.py +60 -0
- pulumi_gcp/gemini/__init__.py +2 -0
- pulumi_gcp/gemini/logging_setting.py +671 -0
- pulumi_gcp/gemini/release_channel_setting.py +639 -0
- pulumi_gcp/gkehub/_inputs.py +20 -0
- pulumi_gcp/gkehub/membership_binding.py +6 -6
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
- pulumi_gcp/gkehub/namespace.py +4 -4
- pulumi_gcp/gkehub/outputs.py +26 -1
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +4 -4
- pulumi_gcp/iap/tunnel_dest_group.py +2 -2
- pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
- pulumi_gcp/memorystore/_inputs.py +296 -0
- pulumi_gcp/memorystore/instance.py +32 -28
- pulumi_gcp/memorystore/outputs.py +224 -0
- pulumi_gcp/monitoring/_inputs.py +12 -9
- pulumi_gcp/monitoring/outputs.py +8 -6
- pulumi_gcp/netapp/storage_pool.py +1 -1
- pulumi_gcp/networkconnectivity/spoke.py +76 -14
- pulumi_gcp/networkservices/_inputs.py +89 -0
- pulumi_gcp/networkservices/outputs.py +75 -0
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/parametermanager/__init__.py +5 -0
- pulumi_gcp/parametermanager/get_parameter_version.py +216 -0
- pulumi_gcp/parametermanager/get_parameter_version_render.py +199 -0
- pulumi_gcp/parametermanager/get_parameters.py +140 -0
- pulumi_gcp/parametermanager/get_regional_parameter_version.py +235 -0
- pulumi_gcp/parametermanager/get_regional_parameter_version_render.py +220 -0
- pulumi_gcp/parametermanager/outputs.py +156 -0
- pulumi_gcp/privilegedaccessmanager/entitlement.py +14 -0
- pulumi_gcp/pubsub/_inputs.py +264 -0
- pulumi_gcp/pubsub/outputs.py +353 -0
- pulumi_gcp/pubsub/subscription.py +6 -6
- pulumi_gcp/pubsub/topic.py +70 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/resourcemanager/lien.py +12 -0
- pulumi_gcp/secretmanager/regional_secret.py +4 -0
- pulumi_gcp/secretmanager/regional_secret_version.py +12 -0
- pulumi_gcp/secretmanager/secret.py +4 -0
- pulumi_gcp/secretmanager/secret_version.py +12 -0
- pulumi_gcp/securesourcemanager/branch_rule.py +4 -0
- pulumi_gcp/securesourcemanager/repository.py +4 -0
- pulumi_gcp/securityposture/posture.py +4 -0
- pulumi_gcp/securityposture/posture_deployment.py +4 -0
- pulumi_gcp/serviceaccount/get_s.py +98 -8
- pulumi_gcp/spanner/_inputs.py +68 -0
- pulumi_gcp/spanner/backup_schedule.py +70 -4
- pulumi_gcp/spanner/outputs.py +60 -0
- pulumi_gcp/storage/bucket_object.py +8 -0
- pulumi_gcp/storage/get_bucket_object_content.py +4 -4
- pulumi_gcp/vertex/ai_endpoint.py +4 -4
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
- pulumi_gcp/workbench/instance.py +70 -2
- pulumi_gcp/workflows/workflow.py +175 -0
- {pulumi_gcp-8.18.0a1738650987.dist-info → pulumi_gcp-8.19.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.18.0a1738650987.dist-info → pulumi_gcp-8.19.0.dist-info}/RECORD +130 -110
- {pulumi_gcp-8.18.0a1738650987.dist-info → pulumi_gcp-8.19.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.18.0a1738650987.dist-info → pulumi_gcp-8.19.0.dist-info}/top_level.txt +0 -0
@@ -62,11 +62,11 @@ class InstanceArgs:
|
|
62
62
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional. Labels to represent user-provided metadata.
|
63
63
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
64
64
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
65
|
-
:param pulumi.Input[str] mode: Optional.
|
65
|
+
:param pulumi.Input[str] mode: Optional. cluster or cluster-disabled.
|
66
66
|
Possible values:
|
67
67
|
CLUSTER
|
68
|
-
|
69
|
-
Possible values are: `CLUSTER`, `
|
68
|
+
CLUSTER_DISABLED
|
69
|
+
Possible values are: `CLUSTER`, `CLUSTER_DISABLED`.
|
70
70
|
:param pulumi.Input[str] node_type: Optional. Immutable. Machine type for individual nodes of the instance.
|
71
71
|
Possible values:
|
72
72
|
SHARED_CORE_NANO
|
@@ -240,11 +240,11 @@ class InstanceArgs:
|
|
240
240
|
@pulumi.getter
|
241
241
|
def mode(self) -> Optional[pulumi.Input[str]]:
|
242
242
|
"""
|
243
|
-
Optional.
|
243
|
+
Optional. cluster or cluster-disabled.
|
244
244
|
Possible values:
|
245
245
|
CLUSTER
|
246
|
-
|
247
|
-
Possible values are: `CLUSTER`, `
|
246
|
+
CLUSTER_DISABLED
|
247
|
+
Possible values are: `CLUSTER`, `CLUSTER_DISABLED`.
|
248
248
|
"""
|
249
249
|
return pulumi.get(self, "mode")
|
250
250
|
|
@@ -345,7 +345,7 @@ class _InstanceState:
|
|
345
345
|
desired_psc_auto_connections: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceDesiredPscAutoConnectionArgs']]]] = None,
|
346
346
|
discovery_endpoints: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceDiscoveryEndpointArgs']]]] = None,
|
347
347
|
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
348
|
-
endpoints: Optional[pulumi.Input[Sequence[pulumi.Input[
|
348
|
+
endpoints: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceEndpointArgs']]]] = None,
|
349
349
|
engine_configs: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
350
350
|
engine_version: Optional[pulumi.Input[str]] = None,
|
351
351
|
instance_id: Optional[pulumi.Input[str]] = None,
|
@@ -379,7 +379,8 @@ class _InstanceState:
|
|
379
379
|
discovery endpoint is supported.
|
380
380
|
Structure is documented below.
|
381
381
|
: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.
|
382
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
382
|
+
:param pulumi.Input[Sequence[pulumi.Input['InstanceEndpointArgs']]] endpoints: Endpoints for the instance.
|
383
|
+
Structure is documented below.
|
383
384
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] engine_configs: Optional. User-provided engine configurations for the instance.
|
384
385
|
:param pulumi.Input[str] engine_version: Optional. Immutable. Engine version of the instance.
|
385
386
|
:param pulumi.Input[str] instance_id: Required. The ID to use for the instance, which will become the final component of
|
@@ -397,11 +398,11 @@ class _InstanceState:
|
|
397
398
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
398
399
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
399
400
|
:param pulumi.Input[str] location: Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource type `memorystore.googleapis.com/CertificateAuthority`.
|
400
|
-
:param pulumi.Input[str] mode: Optional.
|
401
|
+
:param pulumi.Input[str] mode: Optional. cluster or cluster-disabled.
|
401
402
|
Possible values:
|
402
403
|
CLUSTER
|
403
|
-
|
404
|
-
Possible values are: `CLUSTER`, `
|
404
|
+
CLUSTER_DISABLED
|
405
|
+
Possible values are: `CLUSTER`, `CLUSTER_DISABLED`.
|
405
406
|
:param pulumi.Input[str] name: Identifier. Unique name of the instance.
|
406
407
|
Format: projects/{project}/locations/{location}/instances/{instance}
|
407
408
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceNodeConfigArgs']]] node_configs: Represents configuration for nodes of the instance.
|
@@ -574,14 +575,15 @@ class _InstanceState:
|
|
574
575
|
|
575
576
|
@property
|
576
577
|
@pulumi.getter
|
577
|
-
def endpoints(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
578
|
+
def endpoints(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceEndpointArgs']]]]:
|
578
579
|
"""
|
579
580
|
Endpoints for the instance.
|
581
|
+
Structure is documented below.
|
580
582
|
"""
|
581
583
|
return pulumi.get(self, "endpoints")
|
582
584
|
|
583
585
|
@endpoints.setter
|
584
|
-
def endpoints(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
586
|
+
def endpoints(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceEndpointArgs']]]]):
|
585
587
|
pulumi.set(self, "endpoints", value)
|
586
588
|
|
587
589
|
@property
|
@@ -660,11 +662,11 @@ class _InstanceState:
|
|
660
662
|
@pulumi.getter
|
661
663
|
def mode(self) -> Optional[pulumi.Input[str]]:
|
662
664
|
"""
|
663
|
-
Optional.
|
665
|
+
Optional. cluster or cluster-disabled.
|
664
666
|
Possible values:
|
665
667
|
CLUSTER
|
666
|
-
|
667
|
-
Possible values are: `CLUSTER`, `
|
668
|
+
CLUSTER_DISABLED
|
669
|
+
Possible values are: `CLUSTER`, `CLUSTER_DISABLED`.
|
668
670
|
"""
|
669
671
|
return pulumi.get(self, "mode")
|
670
672
|
|
@@ -1084,11 +1086,11 @@ class Instance(pulumi.CustomResource):
|
|
1084
1086
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
1085
1087
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
1086
1088
|
:param pulumi.Input[str] location: Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource type `memorystore.googleapis.com/CertificateAuthority`.
|
1087
|
-
:param pulumi.Input[str] mode: Optional.
|
1089
|
+
:param pulumi.Input[str] mode: Optional. cluster or cluster-disabled.
|
1088
1090
|
Possible values:
|
1089
1091
|
CLUSTER
|
1090
|
-
|
1091
|
-
Possible values are: `CLUSTER`, `
|
1092
|
+
CLUSTER_DISABLED
|
1093
|
+
Possible values are: `CLUSTER`, `CLUSTER_DISABLED`.
|
1092
1094
|
:param pulumi.Input[str] node_type: Optional. Immutable. Machine type for individual nodes of the instance.
|
1093
1095
|
Possible values:
|
1094
1096
|
SHARED_CORE_NANO
|
@@ -1372,7 +1374,7 @@ class Instance(pulumi.CustomResource):
|
|
1372
1374
|
desired_psc_auto_connections: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceDesiredPscAutoConnectionArgs', 'InstanceDesiredPscAutoConnectionArgsDict']]]]] = None,
|
1373
1375
|
discovery_endpoints: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceDiscoveryEndpointArgs', 'InstanceDiscoveryEndpointArgsDict']]]]] = None,
|
1374
1376
|
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1375
|
-
endpoints: Optional[pulumi.Input[Sequence[pulumi.Input[
|
1377
|
+
endpoints: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceEndpointArgs', 'InstanceEndpointArgsDict']]]]] = None,
|
1376
1378
|
engine_configs: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1377
1379
|
engine_version: Optional[pulumi.Input[str]] = None,
|
1378
1380
|
instance_id: Optional[pulumi.Input[str]] = None,
|
@@ -1411,7 +1413,8 @@ class Instance(pulumi.CustomResource):
|
|
1411
1413
|
discovery endpoint is supported.
|
1412
1414
|
Structure is documented below.
|
1413
1415
|
: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.
|
1414
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
1416
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceEndpointArgs', 'InstanceEndpointArgsDict']]]] endpoints: Endpoints for the instance.
|
1417
|
+
Structure is documented below.
|
1415
1418
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] engine_configs: Optional. User-provided engine configurations for the instance.
|
1416
1419
|
:param pulumi.Input[str] engine_version: Optional. Immutable. Engine version of the instance.
|
1417
1420
|
:param pulumi.Input[str] instance_id: Required. The ID to use for the instance, which will become the final component of
|
@@ -1429,11 +1432,11 @@ class Instance(pulumi.CustomResource):
|
|
1429
1432
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
1430
1433
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
1431
1434
|
:param pulumi.Input[str] location: Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource type `memorystore.googleapis.com/CertificateAuthority`.
|
1432
|
-
:param pulumi.Input[str] mode: Optional.
|
1435
|
+
:param pulumi.Input[str] mode: Optional. cluster or cluster-disabled.
|
1433
1436
|
Possible values:
|
1434
1437
|
CLUSTER
|
1435
|
-
|
1436
|
-
Possible values are: `CLUSTER`, `
|
1438
|
+
CLUSTER_DISABLED
|
1439
|
+
Possible values are: `CLUSTER`, `CLUSTER_DISABLED`.
|
1437
1440
|
:param pulumi.Input[str] name: Identifier. Unique name of the instance.
|
1438
1441
|
Format: projects/{project}/locations/{location}/instances/{instance}
|
1439
1442
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceNodeConfigArgs', 'InstanceNodeConfigArgsDict']]]] node_configs: Represents configuration for nodes of the instance.
|
@@ -1559,9 +1562,10 @@ class Instance(pulumi.CustomResource):
|
|
1559
1562
|
|
1560
1563
|
@property
|
1561
1564
|
@pulumi.getter
|
1562
|
-
def endpoints(self) -> pulumi.Output[Sequence[
|
1565
|
+
def endpoints(self) -> pulumi.Output[Sequence['outputs.InstanceEndpoint']]:
|
1563
1566
|
"""
|
1564
1567
|
Endpoints for the instance.
|
1568
|
+
Structure is documented below.
|
1565
1569
|
"""
|
1566
1570
|
return pulumi.get(self, "endpoints")
|
1567
1571
|
|
@@ -1621,11 +1625,11 @@ class Instance(pulumi.CustomResource):
|
|
1621
1625
|
@pulumi.getter
|
1622
1626
|
def mode(self) -> pulumi.Output[str]:
|
1623
1627
|
"""
|
1624
|
-
Optional.
|
1628
|
+
Optional. cluster or cluster-disabled.
|
1625
1629
|
Possible values:
|
1626
1630
|
CLUSTER
|
1627
|
-
|
1628
|
-
Possible values are: `CLUSTER`, `
|
1631
|
+
CLUSTER_DISABLED
|
1632
|
+
Possible values are: `CLUSTER`, `CLUSTER_DISABLED`.
|
1629
1633
|
"""
|
1630
1634
|
return pulumi.get(self, "mode")
|
1631
1635
|
|
@@ -18,6 +18,9 @@ from . import outputs
|
|
18
18
|
__all__ = [
|
19
19
|
'InstanceDesiredPscAutoConnection',
|
20
20
|
'InstanceDiscoveryEndpoint',
|
21
|
+
'InstanceEndpoint',
|
22
|
+
'InstanceEndpointConnection',
|
23
|
+
'InstanceEndpointConnectionPscAutoConnection',
|
21
24
|
'InstanceNodeConfig',
|
22
25
|
'InstancePersistenceConfig',
|
23
26
|
'InstancePersistenceConfigAofConfig',
|
@@ -131,6 +134,227 @@ class InstanceDiscoveryEndpoint(dict):
|
|
131
134
|
return pulumi.get(self, "port")
|
132
135
|
|
133
136
|
|
137
|
+
@pulumi.output_type
|
138
|
+
class InstanceEndpoint(dict):
|
139
|
+
def __init__(__self__, *,
|
140
|
+
connections: Optional[Sequence['outputs.InstanceEndpointConnection']] = None):
|
141
|
+
"""
|
142
|
+
:param Sequence['InstanceEndpointConnectionArgs'] connections: A group of PSC connections. They are created in the same VPC network, one for each service attachment in the cluster.
|
143
|
+
Structure is documented below.
|
144
|
+
"""
|
145
|
+
if connections is not None:
|
146
|
+
pulumi.set(__self__, "connections", connections)
|
147
|
+
|
148
|
+
@property
|
149
|
+
@pulumi.getter
|
150
|
+
def connections(self) -> Optional[Sequence['outputs.InstanceEndpointConnection']]:
|
151
|
+
"""
|
152
|
+
A group of PSC connections. They are created in the same VPC network, one for each service attachment in the cluster.
|
153
|
+
Structure is documented below.
|
154
|
+
"""
|
155
|
+
return pulumi.get(self, "connections")
|
156
|
+
|
157
|
+
|
158
|
+
@pulumi.output_type
|
159
|
+
class InstanceEndpointConnection(dict):
|
160
|
+
@staticmethod
|
161
|
+
def __key_warning(key: str):
|
162
|
+
suggest = None
|
163
|
+
if key == "pscAutoConnection":
|
164
|
+
suggest = "psc_auto_connection"
|
165
|
+
|
166
|
+
if suggest:
|
167
|
+
pulumi.log.warn(f"Key '{key}' not found in InstanceEndpointConnection. Access the value via the '{suggest}' property getter instead.")
|
168
|
+
|
169
|
+
def __getitem__(self, key: str) -> Any:
|
170
|
+
InstanceEndpointConnection.__key_warning(key)
|
171
|
+
return super().__getitem__(key)
|
172
|
+
|
173
|
+
def get(self, key: str, default = None) -> Any:
|
174
|
+
InstanceEndpointConnection.__key_warning(key)
|
175
|
+
return super().get(key, default)
|
176
|
+
|
177
|
+
def __init__(__self__, *,
|
178
|
+
psc_auto_connection: Optional['outputs.InstanceEndpointConnectionPscAutoConnection'] = None):
|
179
|
+
"""
|
180
|
+
:param 'InstanceEndpointConnectionPscAutoConnectionArgs' psc_auto_connection: Detailed information of a PSC connection that is created through service connectivity automation.
|
181
|
+
Structure is documented below.
|
182
|
+
"""
|
183
|
+
if psc_auto_connection is not None:
|
184
|
+
pulumi.set(__self__, "psc_auto_connection", psc_auto_connection)
|
185
|
+
|
186
|
+
@property
|
187
|
+
@pulumi.getter(name="pscAutoConnection")
|
188
|
+
def psc_auto_connection(self) -> Optional['outputs.InstanceEndpointConnectionPscAutoConnection']:
|
189
|
+
"""
|
190
|
+
Detailed information of a PSC connection that is created through service connectivity automation.
|
191
|
+
Structure is documented below.
|
192
|
+
"""
|
193
|
+
return pulumi.get(self, "psc_auto_connection")
|
194
|
+
|
195
|
+
|
196
|
+
@pulumi.output_type
|
197
|
+
class InstanceEndpointConnectionPscAutoConnection(dict):
|
198
|
+
@staticmethod
|
199
|
+
def __key_warning(key: str):
|
200
|
+
suggest = None
|
201
|
+
if key == "connectionType":
|
202
|
+
suggest = "connection_type"
|
203
|
+
elif key == "forwardingRule":
|
204
|
+
suggest = "forwarding_rule"
|
205
|
+
elif key == "ipAddress":
|
206
|
+
suggest = "ip_address"
|
207
|
+
elif key == "projectId":
|
208
|
+
suggest = "project_id"
|
209
|
+
elif key == "pscConnectionId":
|
210
|
+
suggest = "psc_connection_id"
|
211
|
+
elif key == "serviceAttachment":
|
212
|
+
suggest = "service_attachment"
|
213
|
+
|
214
|
+
if suggest:
|
215
|
+
pulumi.log.warn(f"Key '{key}' not found in InstanceEndpointConnectionPscAutoConnection. Access the value via the '{suggest}' property getter instead.")
|
216
|
+
|
217
|
+
def __getitem__(self, key: str) -> Any:
|
218
|
+
InstanceEndpointConnectionPscAutoConnection.__key_warning(key)
|
219
|
+
return super().__getitem__(key)
|
220
|
+
|
221
|
+
def get(self, key: str, default = None) -> Any:
|
222
|
+
InstanceEndpointConnectionPscAutoConnection.__key_warning(key)
|
223
|
+
return super().get(key, default)
|
224
|
+
|
225
|
+
def __init__(__self__, *,
|
226
|
+
connection_type: Optional[str] = None,
|
227
|
+
forwarding_rule: Optional[str] = None,
|
228
|
+
ip_address: Optional[str] = None,
|
229
|
+
network: Optional[str] = None,
|
230
|
+
port: Optional[int] = None,
|
231
|
+
project_id: Optional[str] = None,
|
232
|
+
psc_connection_id: Optional[str] = None,
|
233
|
+
service_attachment: Optional[str] = None):
|
234
|
+
"""
|
235
|
+
:param str connection_type: (Output)
|
236
|
+
Output Only. Type of a PSC Connection.
|
237
|
+
Possible values:
|
238
|
+
CONNECTION_TYPE_DISCOVERY
|
239
|
+
CONNECTION_TYPE_PRIMARY
|
240
|
+
CONNECTION_TYPE_READER
|
241
|
+
:param str forwarding_rule: (Output)
|
242
|
+
Output only. The URI of the consumer side forwarding rule.
|
243
|
+
Format:
|
244
|
+
projects/{project}/regions/{region}/forwardingRules/{forwarding_rule}
|
245
|
+
:param str ip_address: (Output)
|
246
|
+
Output only. The IP allocated on the consumer network for the PSC forwarding rule.
|
247
|
+
:param str network: (Output)
|
248
|
+
Output only. The consumer network where the IP address resides, in the form of
|
249
|
+
projects/{project_id}/global/networks/{network_id}.
|
250
|
+
:param int port: (Output)
|
251
|
+
Output only. Ports of the exposed endpoint.
|
252
|
+
:param str project_id: (Output)
|
253
|
+
Output only. The consumer project_id where the forwarding rule is created from.
|
254
|
+
:param str psc_connection_id: (Output)
|
255
|
+
Output only. The PSC connection id of the forwarding rule connected to the
|
256
|
+
service attachment.
|
257
|
+
:param str service_attachment: (Output)
|
258
|
+
Output only. The service attachment which is the target of the PSC connection, in the form of projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.
|
259
|
+
"""
|
260
|
+
if connection_type is not None:
|
261
|
+
pulumi.set(__self__, "connection_type", connection_type)
|
262
|
+
if forwarding_rule is not None:
|
263
|
+
pulumi.set(__self__, "forwarding_rule", forwarding_rule)
|
264
|
+
if ip_address is not None:
|
265
|
+
pulumi.set(__self__, "ip_address", ip_address)
|
266
|
+
if network is not None:
|
267
|
+
pulumi.set(__self__, "network", network)
|
268
|
+
if port is not None:
|
269
|
+
pulumi.set(__self__, "port", port)
|
270
|
+
if project_id is not None:
|
271
|
+
pulumi.set(__self__, "project_id", project_id)
|
272
|
+
if psc_connection_id is not None:
|
273
|
+
pulumi.set(__self__, "psc_connection_id", psc_connection_id)
|
274
|
+
if service_attachment is not None:
|
275
|
+
pulumi.set(__self__, "service_attachment", service_attachment)
|
276
|
+
|
277
|
+
@property
|
278
|
+
@pulumi.getter(name="connectionType")
|
279
|
+
def connection_type(self) -> Optional[str]:
|
280
|
+
"""
|
281
|
+
(Output)
|
282
|
+
Output Only. Type of a PSC Connection.
|
283
|
+
Possible values:
|
284
|
+
CONNECTION_TYPE_DISCOVERY
|
285
|
+
CONNECTION_TYPE_PRIMARY
|
286
|
+
CONNECTION_TYPE_READER
|
287
|
+
"""
|
288
|
+
return pulumi.get(self, "connection_type")
|
289
|
+
|
290
|
+
@property
|
291
|
+
@pulumi.getter(name="forwardingRule")
|
292
|
+
def forwarding_rule(self) -> Optional[str]:
|
293
|
+
"""
|
294
|
+
(Output)
|
295
|
+
Output only. The URI of the consumer side forwarding rule.
|
296
|
+
Format:
|
297
|
+
projects/{project}/regions/{region}/forwardingRules/{forwarding_rule}
|
298
|
+
"""
|
299
|
+
return pulumi.get(self, "forwarding_rule")
|
300
|
+
|
301
|
+
@property
|
302
|
+
@pulumi.getter(name="ipAddress")
|
303
|
+
def ip_address(self) -> Optional[str]:
|
304
|
+
"""
|
305
|
+
(Output)
|
306
|
+
Output only. The IP allocated on the consumer network for the PSC forwarding rule.
|
307
|
+
"""
|
308
|
+
return pulumi.get(self, "ip_address")
|
309
|
+
|
310
|
+
@property
|
311
|
+
@pulumi.getter
|
312
|
+
def network(self) -> Optional[str]:
|
313
|
+
"""
|
314
|
+
(Output)
|
315
|
+
Output only. The consumer network where the IP address resides, in the form of
|
316
|
+
projects/{project_id}/global/networks/{network_id}.
|
317
|
+
"""
|
318
|
+
return pulumi.get(self, "network")
|
319
|
+
|
320
|
+
@property
|
321
|
+
@pulumi.getter
|
322
|
+
def port(self) -> Optional[int]:
|
323
|
+
"""
|
324
|
+
(Output)
|
325
|
+
Output only. Ports of the exposed endpoint.
|
326
|
+
"""
|
327
|
+
return pulumi.get(self, "port")
|
328
|
+
|
329
|
+
@property
|
330
|
+
@pulumi.getter(name="projectId")
|
331
|
+
def project_id(self) -> Optional[str]:
|
332
|
+
"""
|
333
|
+
(Output)
|
334
|
+
Output only. The consumer project_id where the forwarding rule is created from.
|
335
|
+
"""
|
336
|
+
return pulumi.get(self, "project_id")
|
337
|
+
|
338
|
+
@property
|
339
|
+
@pulumi.getter(name="pscConnectionId")
|
340
|
+
def psc_connection_id(self) -> Optional[str]:
|
341
|
+
"""
|
342
|
+
(Output)
|
343
|
+
Output only. The PSC connection id of the forwarding rule connected to the
|
344
|
+
service attachment.
|
345
|
+
"""
|
346
|
+
return pulumi.get(self, "psc_connection_id")
|
347
|
+
|
348
|
+
@property
|
349
|
+
@pulumi.getter(name="serviceAttachment")
|
350
|
+
def service_attachment(self) -> Optional[str]:
|
351
|
+
"""
|
352
|
+
(Output)
|
353
|
+
Output only. The service attachment which is the target of the PSC connection, in the form of projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.
|
354
|
+
"""
|
355
|
+
return pulumi.get(self, "service_attachment")
|
356
|
+
|
357
|
+
|
134
358
|
@pulumi.output_type
|
135
359
|
class InstanceNodeConfig(dict):
|
136
360
|
@staticmethod
|
pulumi_gcp/monitoring/_inputs.py
CHANGED
@@ -1441,9 +1441,10 @@ if not MYPY:
|
|
1441
1441
|
Labels to add to or overwrite in the PromQL query result. Label names
|
1442
1442
|
must be valid.
|
1443
1443
|
Label values can be templatized by using variables. The only available
|
1444
|
-
variable names are the names of the labels in the PromQL result,
|
1445
|
-
|
1446
|
-
|
1444
|
+
variable names are the names of the labels in the PromQL result,
|
1445
|
+
although label names beginning with \\_\\_ (two "\\_") are reserved for
|
1446
|
+
internal use. "labels" may be empty. This field is intended to be used
|
1447
|
+
for organizing and identifying the AlertPolicy.
|
1447
1448
|
"""
|
1448
1449
|
rule_group: NotRequired[pulumi.Input[str]]
|
1449
1450
|
"""
|
@@ -1493,9 +1494,10 @@ class AlertPolicyConditionConditionPrometheusQueryLanguageArgs:
|
|
1493
1494
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Labels to add to or overwrite in the PromQL query result. Label names
|
1494
1495
|
must be valid.
|
1495
1496
|
Label values can be templatized by using variables. The only available
|
1496
|
-
variable names are the names of the labels in the PromQL result,
|
1497
|
-
|
1498
|
-
|
1497
|
+
variable names are the names of the labels in the PromQL result,
|
1498
|
+
although label names beginning with \\_\\_ (two "\\_") are reserved for
|
1499
|
+
internal use. "labels" may be empty. This field is intended to be used
|
1500
|
+
for organizing and identifying the AlertPolicy.
|
1499
1501
|
:param pulumi.Input[str] rule_group: The rule group name of this alert in the corresponding Prometheus
|
1500
1502
|
configuration file.
|
1501
1503
|
Some external tools may require this field to be populated correctly
|
@@ -1599,9 +1601,10 @@ class AlertPolicyConditionConditionPrometheusQueryLanguageArgs:
|
|
1599
1601
|
Labels to add to or overwrite in the PromQL query result. Label names
|
1600
1602
|
must be valid.
|
1601
1603
|
Label values can be templatized by using variables. The only available
|
1602
|
-
variable names are the names of the labels in the PromQL result,
|
1603
|
-
|
1604
|
-
|
1604
|
+
variable names are the names of the labels in the PromQL result,
|
1605
|
+
although label names beginning with \\_\\_ (two "\\_") are reserved for
|
1606
|
+
internal use. "labels" may be empty. This field is intended to be used
|
1607
|
+
for organizing and identifying the AlertPolicy.
|
1605
1608
|
"""
|
1606
1609
|
return pulumi.get(self, "labels")
|
1607
1610
|
|
pulumi_gcp/monitoring/outputs.py
CHANGED
@@ -1055,9 +1055,10 @@ class AlertPolicyConditionConditionPrometheusQueryLanguage(dict):
|
|
1055
1055
|
:param Mapping[str, str] labels: Labels to add to or overwrite in the PromQL query result. Label names
|
1056
1056
|
must be valid.
|
1057
1057
|
Label values can be templatized by using variables. The only available
|
1058
|
-
variable names are the names of the labels in the PromQL result,
|
1059
|
-
|
1060
|
-
|
1058
|
+
variable names are the names of the labels in the PromQL result,
|
1059
|
+
although label names beginning with \\_\\_ (two "\\_") are reserved for
|
1060
|
+
internal use. "labels" may be empty. This field is intended to be used
|
1061
|
+
for organizing and identifying the AlertPolicy.
|
1061
1062
|
:param str rule_group: The rule group name of this alert in the corresponding Prometheus
|
1062
1063
|
configuration file.
|
1063
1064
|
Some external tools may require this field to be populated correctly
|
@@ -1141,9 +1142,10 @@ class AlertPolicyConditionConditionPrometheusQueryLanguage(dict):
|
|
1141
1142
|
Labels to add to or overwrite in the PromQL query result. Label names
|
1142
1143
|
must be valid.
|
1143
1144
|
Label values can be templatized by using variables. The only available
|
1144
|
-
variable names are the names of the labels in the PromQL result,
|
1145
|
-
|
1146
|
-
|
1145
|
+
variable names are the names of the labels in the PromQL result,
|
1146
|
+
although label names beginning with \\_\\_ (two "\\_") are reserved for
|
1147
|
+
internal use. "labels" may be empty. This field is intended to be used
|
1148
|
+
for organizing and identifying the AlertPolicy.
|
1147
1149
|
"""
|
1148
1150
|
return pulumi.get(self, "labels")
|
1149
1151
|
|
@@ -1132,7 +1132,7 @@ class StoragePool(pulumi.CustomResource):
|
|
1132
1132
|
|
1133
1133
|
@property
|
1134
1134
|
@pulumi.getter
|
1135
|
-
def zone(self) -> pulumi.Output[
|
1135
|
+
def zone(self) -> pulumi.Output[str]:
|
1136
1136
|
"""
|
1137
1137
|
Specifies the active zone for regional Flex pools. `zone` and `replica_zone` values can be swapped to initiate a
|
1138
1138
|
[zone switch](https://cloud.google.com/netapp/volumes/docs/configure-and-use/storage-pools/edit-or-delete-storage-pool#switch_active_and_replica_zones).
|
@@ -669,15 +669,15 @@ class Spoke(pulumi.CustomResource):
|
|
669
669
|
import pulumi_gcp as gcp
|
670
670
|
|
671
671
|
network = gcp.compute.Network("network",
|
672
|
-
name="tf-test-
|
672
|
+
name="tf-test-network_91980",
|
673
673
|
auto_create_subnetworks=False)
|
674
674
|
subnetwork = gcp.compute.Subnetwork("subnetwork",
|
675
|
-
name="tf-test-
|
675
|
+
name="tf-test-subnet_37118",
|
676
676
|
ip_cidr_range="10.0.0.0/28",
|
677
677
|
region="us-central1",
|
678
678
|
network=network.self_link)
|
679
679
|
instance = gcp.compute.Instance("instance",
|
680
|
-
name="tf-test-
|
680
|
+
name="tf-test-instance_80332",
|
681
681
|
machine_type="e2-medium",
|
682
682
|
can_ip_forward=True,
|
683
683
|
zone="us-central1-a",
|
@@ -694,13 +694,13 @@ class Spoke(pulumi.CustomResource):
|
|
694
694
|
}],
|
695
695
|
}])
|
696
696
|
basic_hub = gcp.networkconnectivity.Hub("basic_hub",
|
697
|
-
name="tf-test-
|
697
|
+
name="tf-test-hub_13293",
|
698
698
|
description="A sample hub",
|
699
699
|
labels={
|
700
700
|
"label-two": "value-one",
|
701
701
|
})
|
702
702
|
primary = gcp.networkconnectivity.Spoke("primary",
|
703
|
-
name="tf-test-
|
703
|
+
name="tf-test-name_40289",
|
704
704
|
location="us-central1",
|
705
705
|
description="A sample spoke with a linked routher appliance instance",
|
706
706
|
labels={
|
@@ -932,8 +932,8 @@ class Spoke(pulumi.CustomResource):
|
|
932
932
|
hub=star_hub.id,
|
933
933
|
auto_accept={
|
934
934
|
"auto_accept_projects": [
|
935
|
-
"
|
936
|
-
"
|
935
|
+
"foo_33395",
|
936
|
+
"bar_76044",
|
937
937
|
],
|
938
938
|
})
|
939
939
|
primary = gcp.networkconnectivity.Spoke("primary",
|
@@ -949,6 +949,37 @@ class Spoke(pulumi.CustomResource):
|
|
949
949
|
"uri": network.self_link,
|
950
950
|
})
|
951
951
|
```
|
952
|
+
### Network Connectivity Spoke Linked Vpc Network Ipv6 Support
|
953
|
+
|
954
|
+
```python
|
955
|
+
import pulumi
|
956
|
+
import pulumi_gcp as gcp
|
957
|
+
|
958
|
+
network = gcp.compute.Network("network",
|
959
|
+
name="net",
|
960
|
+
auto_create_subnetworks=False)
|
961
|
+
basic_hub = gcp.networkconnectivity.Hub("basic_hub",
|
962
|
+
name="hub1",
|
963
|
+
description="A sample hub",
|
964
|
+
labels={
|
965
|
+
"label-two": "value-one",
|
966
|
+
})
|
967
|
+
primary = gcp.networkconnectivity.Spoke("primary",
|
968
|
+
name="spoke1-ipv6",
|
969
|
+
location="global",
|
970
|
+
description="A sample spoke with a linked VPC that include export ranges of all IPv6",
|
971
|
+
labels={
|
972
|
+
"label-one": "value-one",
|
973
|
+
},
|
974
|
+
hub=basic_hub.id,
|
975
|
+
linked_vpc_network={
|
976
|
+
"include_export_ranges": [
|
977
|
+
"ALL_IPV6_RANGES",
|
978
|
+
"ALL_PRIVATE_IPV4_RANGES",
|
979
|
+
],
|
980
|
+
"uri": network.self_link,
|
981
|
+
})
|
982
|
+
```
|
952
983
|
|
953
984
|
## Import
|
954
985
|
|
@@ -1099,15 +1130,15 @@ class Spoke(pulumi.CustomResource):
|
|
1099
1130
|
import pulumi_gcp as gcp
|
1100
1131
|
|
1101
1132
|
network = gcp.compute.Network("network",
|
1102
|
-
name="tf-test-
|
1133
|
+
name="tf-test-network_91980",
|
1103
1134
|
auto_create_subnetworks=False)
|
1104
1135
|
subnetwork = gcp.compute.Subnetwork("subnetwork",
|
1105
|
-
name="tf-test-
|
1136
|
+
name="tf-test-subnet_37118",
|
1106
1137
|
ip_cidr_range="10.0.0.0/28",
|
1107
1138
|
region="us-central1",
|
1108
1139
|
network=network.self_link)
|
1109
1140
|
instance = gcp.compute.Instance("instance",
|
1110
|
-
name="tf-test-
|
1141
|
+
name="tf-test-instance_80332",
|
1111
1142
|
machine_type="e2-medium",
|
1112
1143
|
can_ip_forward=True,
|
1113
1144
|
zone="us-central1-a",
|
@@ -1124,13 +1155,13 @@ class Spoke(pulumi.CustomResource):
|
|
1124
1155
|
}],
|
1125
1156
|
}])
|
1126
1157
|
basic_hub = gcp.networkconnectivity.Hub("basic_hub",
|
1127
|
-
name="tf-test-
|
1158
|
+
name="tf-test-hub_13293",
|
1128
1159
|
description="A sample hub",
|
1129
1160
|
labels={
|
1130
1161
|
"label-two": "value-one",
|
1131
1162
|
})
|
1132
1163
|
primary = gcp.networkconnectivity.Spoke("primary",
|
1133
|
-
name="tf-test-
|
1164
|
+
name="tf-test-name_40289",
|
1134
1165
|
location="us-central1",
|
1135
1166
|
description="A sample spoke with a linked routher appliance instance",
|
1136
1167
|
labels={
|
@@ -1362,8 +1393,8 @@ class Spoke(pulumi.CustomResource):
|
|
1362
1393
|
hub=star_hub.id,
|
1363
1394
|
auto_accept={
|
1364
1395
|
"auto_accept_projects": [
|
1365
|
-
"
|
1366
|
-
"
|
1396
|
+
"foo_33395",
|
1397
|
+
"bar_76044",
|
1367
1398
|
],
|
1368
1399
|
})
|
1369
1400
|
primary = gcp.networkconnectivity.Spoke("primary",
|
@@ -1379,6 +1410,37 @@ class Spoke(pulumi.CustomResource):
|
|
1379
1410
|
"uri": network.self_link,
|
1380
1411
|
})
|
1381
1412
|
```
|
1413
|
+
### Network Connectivity Spoke Linked Vpc Network Ipv6 Support
|
1414
|
+
|
1415
|
+
```python
|
1416
|
+
import pulumi
|
1417
|
+
import pulumi_gcp as gcp
|
1418
|
+
|
1419
|
+
network = gcp.compute.Network("network",
|
1420
|
+
name="net",
|
1421
|
+
auto_create_subnetworks=False)
|
1422
|
+
basic_hub = gcp.networkconnectivity.Hub("basic_hub",
|
1423
|
+
name="hub1",
|
1424
|
+
description="A sample hub",
|
1425
|
+
labels={
|
1426
|
+
"label-two": "value-one",
|
1427
|
+
})
|
1428
|
+
primary = gcp.networkconnectivity.Spoke("primary",
|
1429
|
+
name="spoke1-ipv6",
|
1430
|
+
location="global",
|
1431
|
+
description="A sample spoke with a linked VPC that include export ranges of all IPv6",
|
1432
|
+
labels={
|
1433
|
+
"label-one": "value-one",
|
1434
|
+
},
|
1435
|
+
hub=basic_hub.id,
|
1436
|
+
linked_vpc_network={
|
1437
|
+
"include_export_ranges": [
|
1438
|
+
"ALL_IPV6_RANGES",
|
1439
|
+
"ALL_PRIVATE_IPV4_RANGES",
|
1440
|
+
],
|
1441
|
+
"uri": network.self_link,
|
1442
|
+
})
|
1443
|
+
```
|
1382
1444
|
|
1383
1445
|
## Import
|
1384
1446
|
|