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
pulumi_gcp/compute/__init__.py
CHANGED
@@ -133,6 +133,7 @@ from .network_endpoint_group import *
|
|
133
133
|
from .network_endpoint_list import *
|
134
134
|
from .network_firewall_policy import *
|
135
135
|
from .network_firewall_policy_association import *
|
136
|
+
from .network_firewall_policy_packet_mirroring_rule import *
|
136
137
|
from .network_firewall_policy_rule import *
|
137
138
|
from .network_firewall_policy_with_rules import *
|
138
139
|
from .network_peering import *
|
pulumi_gcp/compute/_inputs.py
CHANGED
@@ -411,6 +411,12 @@ __all__ = [
|
|
411
411
|
'NetworkAttachmentConnectionEndpointArgsDict',
|
412
412
|
'NetworkEndpointListNetworkEndpointArgs',
|
413
413
|
'NetworkEndpointListNetworkEndpointArgsDict',
|
414
|
+
'NetworkFirewallPolicyPacketMirroringRuleMatchArgs',
|
415
|
+
'NetworkFirewallPolicyPacketMirroringRuleMatchArgsDict',
|
416
|
+
'NetworkFirewallPolicyPacketMirroringRuleMatchLayer4ConfigArgs',
|
417
|
+
'NetworkFirewallPolicyPacketMirroringRuleMatchLayer4ConfigArgsDict',
|
418
|
+
'NetworkFirewallPolicyPacketMirroringRuleTargetSecureTagArgs',
|
419
|
+
'NetworkFirewallPolicyPacketMirroringRuleTargetSecureTagArgsDict',
|
414
420
|
'NetworkFirewallPolicyRuleMatchArgs',
|
415
421
|
'NetworkFirewallPolicyRuleMatchArgsDict',
|
416
422
|
'NetworkFirewallPolicyRuleMatchLayer4ConfigArgs',
|
@@ -16831,7 +16837,7 @@ if not MYPY:
|
|
16831
16837
|
"""
|
16832
16838
|
nic_type: NotRequired[pulumi.Input[str]]
|
16833
16839
|
"""
|
16834
|
-
The type of vNIC to be used on this interface. Possible values: GVNIC, VIRTIO_NET, IDPF
|
16840
|
+
The type of vNIC to be used on this interface. Possible values: GVNIC, VIRTIO_NET, IDPF, MRDMA, IRDMA.
|
16835
16841
|
"""
|
16836
16842
|
queue_count: NotRequired[pulumi.Input[int]]
|
16837
16843
|
"""
|
@@ -16904,7 +16910,7 @@ class InstanceNetworkInterfaceArgs:
|
|
16904
16910
|
:param pulumi.Input[str] network_attachment: The URL of the network attachment that this interface should connect to in the following format: `projects/{projectNumber}/regions/{region_name}/networkAttachments/{network_attachment_name}`.
|
16905
16911
|
:param pulumi.Input[str] network_ip: The private IP address to assign to the instance. If
|
16906
16912
|
empty, the address will be automatically assigned.
|
16907
|
-
:param pulumi.Input[str] nic_type: The type of vNIC to be used on this interface. Possible values: GVNIC, VIRTIO_NET, IDPF
|
16913
|
+
:param pulumi.Input[str] nic_type: The type of vNIC to be used on this interface. Possible values: GVNIC, VIRTIO_NET, IDPF, MRDMA, IRDMA.
|
16908
16914
|
:param pulumi.Input[int] queue_count: The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It will be empty if not specified.
|
16909
16915
|
:param pulumi.Input[str] security_policy: A full or partial URL to a security policy to add to this instance. If this field is set to an empty string it will remove the associated security policy.
|
16910
16916
|
:param pulumi.Input[str] stack_type: The stack type for this network interface to identify whether the IPv6 feature is enabled or not. Values are IPV4_IPV6, IPV6_ONLY or IPV4_ONLY. If not specified, IPV4_ONLY will be used.
|
@@ -17086,7 +17092,7 @@ class InstanceNetworkInterfaceArgs:
|
|
17086
17092
|
@pulumi.getter(name="nicType")
|
17087
17093
|
def nic_type(self) -> Optional[pulumi.Input[str]]:
|
17088
17094
|
"""
|
17089
|
-
The type of vNIC to be used on this interface. Possible values: GVNIC, VIRTIO_NET, IDPF
|
17095
|
+
The type of vNIC to be used on this interface. Possible values: GVNIC, VIRTIO_NET, IDPF, MRDMA, IRDMA.
|
17090
17096
|
"""
|
17091
17097
|
return pulumi.get(self, "nic_type")
|
17092
17098
|
|
@@ -19544,7 +19550,7 @@ if not MYPY:
|
|
19544
19550
|
"""
|
19545
19551
|
nic_type: NotRequired[pulumi.Input[str]]
|
19546
19552
|
"""
|
19547
|
-
The type of vNIC to be used on this interface. Possible values: GVNIC, VIRTIO_NET
|
19553
|
+
The type of vNIC to be used on this interface. Possible values: GVNIC, VIRTIO_NET, MRDMA, IRDMA.
|
19548
19554
|
"""
|
19549
19555
|
queue_count: NotRequired[pulumi.Input[int]]
|
19550
19556
|
"""
|
@@ -19610,7 +19616,7 @@ class InstanceTemplateNetworkInterfaceArgs:
|
|
19610
19616
|
:param pulumi.Input[str] network_attachment: The URL of the network attachment that this interface should connect to in the following format: projects/{projectNumber}/regions/{region_name}/networkAttachments/{network_attachment_name}.
|
19611
19617
|
:param pulumi.Input[str] network_ip: The private IP address to assign to the instance. If
|
19612
19618
|
empty, the address will be automatically assigned.
|
19613
|
-
:param pulumi.Input[str] nic_type: The type of vNIC to be used on this interface. Possible values: GVNIC, VIRTIO_NET
|
19619
|
+
:param pulumi.Input[str] nic_type: The type of vNIC to be used on this interface. Possible values: GVNIC, VIRTIO_NET, MRDMA, IRDMA.
|
19614
19620
|
:param pulumi.Input[int] queue_count: The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It will be empty if not specified.
|
19615
19621
|
:param pulumi.Input[str] stack_type: The stack type for this network interface to identify whether the IPv6 feature is enabled or not. Values are IPV4_IPV6, IPV6_ONLY or IPV4_ONLY. If not specified, IPV4_ONLY will be used.
|
19616
19622
|
:param pulumi.Input[str] subnetwork: the name of the subnetwork to attach this interface
|
@@ -19787,7 +19793,7 @@ class InstanceTemplateNetworkInterfaceArgs:
|
|
19787
19793
|
@pulumi.getter(name="nicType")
|
19788
19794
|
def nic_type(self) -> Optional[pulumi.Input[str]]:
|
19789
19795
|
"""
|
19790
|
-
The type of vNIC to be used on this interface. Possible values: GVNIC, VIRTIO_NET
|
19796
|
+
The type of vNIC to be used on this interface. Possible values: GVNIC, VIRTIO_NET, MRDMA, IRDMA.
|
19791
19797
|
"""
|
19792
19798
|
return pulumi.get(self, "nic_type")
|
19793
19799
|
|
@@ -22038,6 +22044,204 @@ class NetworkEndpointListNetworkEndpointArgs:
|
|
22038
22044
|
pulumi.set(self, "port", value)
|
22039
22045
|
|
22040
22046
|
|
22047
|
+
if not MYPY:
|
22048
|
+
class NetworkFirewallPolicyPacketMirroringRuleMatchArgsDict(TypedDict):
|
22049
|
+
layer4_configs: pulumi.Input[Sequence[pulumi.Input['NetworkFirewallPolicyPacketMirroringRuleMatchLayer4ConfigArgsDict']]]
|
22050
|
+
"""
|
22051
|
+
Pairs of IP protocols and ports that the rule should match.
|
22052
|
+
Structure is documented below.
|
22053
|
+
|
22054
|
+
|
22055
|
+
<a name="nested_match_layer4_configs"></a>The `layer4_configs` block supports:
|
22056
|
+
"""
|
22057
|
+
dest_ip_ranges: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
22058
|
+
"""
|
22059
|
+
CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.
|
22060
|
+
"""
|
22061
|
+
src_ip_ranges: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
22062
|
+
"""
|
22063
|
+
CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
|
22064
|
+
"""
|
22065
|
+
elif False:
|
22066
|
+
NetworkFirewallPolicyPacketMirroringRuleMatchArgsDict: TypeAlias = Mapping[str, Any]
|
22067
|
+
|
22068
|
+
@pulumi.input_type
|
22069
|
+
class NetworkFirewallPolicyPacketMirroringRuleMatchArgs:
|
22070
|
+
def __init__(__self__, *,
|
22071
|
+
layer4_configs: pulumi.Input[Sequence[pulumi.Input['NetworkFirewallPolicyPacketMirroringRuleMatchLayer4ConfigArgs']]],
|
22072
|
+
dest_ip_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
22073
|
+
src_ip_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
22074
|
+
"""
|
22075
|
+
:param pulumi.Input[Sequence[pulumi.Input['NetworkFirewallPolicyPacketMirroringRuleMatchLayer4ConfigArgs']]] layer4_configs: Pairs of IP protocols and ports that the rule should match.
|
22076
|
+
Structure is documented below.
|
22077
|
+
|
22078
|
+
|
22079
|
+
<a name="nested_match_layer4_configs"></a>The `layer4_configs` block supports:
|
22080
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] dest_ip_ranges: CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.
|
22081
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] src_ip_ranges: CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
|
22082
|
+
"""
|
22083
|
+
pulumi.set(__self__, "layer4_configs", layer4_configs)
|
22084
|
+
if dest_ip_ranges is not None:
|
22085
|
+
pulumi.set(__self__, "dest_ip_ranges", dest_ip_ranges)
|
22086
|
+
if src_ip_ranges is not None:
|
22087
|
+
pulumi.set(__self__, "src_ip_ranges", src_ip_ranges)
|
22088
|
+
|
22089
|
+
@property
|
22090
|
+
@pulumi.getter(name="layer4Configs")
|
22091
|
+
def layer4_configs(self) -> pulumi.Input[Sequence[pulumi.Input['NetworkFirewallPolicyPacketMirroringRuleMatchLayer4ConfigArgs']]]:
|
22092
|
+
"""
|
22093
|
+
Pairs of IP protocols and ports that the rule should match.
|
22094
|
+
Structure is documented below.
|
22095
|
+
|
22096
|
+
|
22097
|
+
<a name="nested_match_layer4_configs"></a>The `layer4_configs` block supports:
|
22098
|
+
"""
|
22099
|
+
return pulumi.get(self, "layer4_configs")
|
22100
|
+
|
22101
|
+
@layer4_configs.setter
|
22102
|
+
def layer4_configs(self, value: pulumi.Input[Sequence[pulumi.Input['NetworkFirewallPolicyPacketMirroringRuleMatchLayer4ConfigArgs']]]):
|
22103
|
+
pulumi.set(self, "layer4_configs", value)
|
22104
|
+
|
22105
|
+
@property
|
22106
|
+
@pulumi.getter(name="destIpRanges")
|
22107
|
+
def dest_ip_ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
22108
|
+
"""
|
22109
|
+
CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.
|
22110
|
+
"""
|
22111
|
+
return pulumi.get(self, "dest_ip_ranges")
|
22112
|
+
|
22113
|
+
@dest_ip_ranges.setter
|
22114
|
+
def dest_ip_ranges(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
22115
|
+
pulumi.set(self, "dest_ip_ranges", value)
|
22116
|
+
|
22117
|
+
@property
|
22118
|
+
@pulumi.getter(name="srcIpRanges")
|
22119
|
+
def src_ip_ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
22120
|
+
"""
|
22121
|
+
CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
|
22122
|
+
"""
|
22123
|
+
return pulumi.get(self, "src_ip_ranges")
|
22124
|
+
|
22125
|
+
@src_ip_ranges.setter
|
22126
|
+
def src_ip_ranges(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
22127
|
+
pulumi.set(self, "src_ip_ranges", value)
|
22128
|
+
|
22129
|
+
|
22130
|
+
if not MYPY:
|
22131
|
+
class NetworkFirewallPolicyPacketMirroringRuleMatchLayer4ConfigArgsDict(TypedDict):
|
22132
|
+
ip_protocol: pulumi.Input[str]
|
22133
|
+
"""
|
22134
|
+
The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule.
|
22135
|
+
This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.
|
22136
|
+
"""
|
22137
|
+
ports: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
22138
|
+
"""
|
22139
|
+
An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port.
|
22140
|
+
Example inputs include: ["22"], ["80","443"], and ["12345-12349"].
|
22141
|
+
"""
|
22142
|
+
elif False:
|
22143
|
+
NetworkFirewallPolicyPacketMirroringRuleMatchLayer4ConfigArgsDict: TypeAlias = Mapping[str, Any]
|
22144
|
+
|
22145
|
+
@pulumi.input_type
|
22146
|
+
class NetworkFirewallPolicyPacketMirroringRuleMatchLayer4ConfigArgs:
|
22147
|
+
def __init__(__self__, *,
|
22148
|
+
ip_protocol: pulumi.Input[str],
|
22149
|
+
ports: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
22150
|
+
"""
|
22151
|
+
:param pulumi.Input[str] ip_protocol: The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule.
|
22152
|
+
This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.
|
22153
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] ports: An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port.
|
22154
|
+
Example inputs include: ["22"], ["80","443"], and ["12345-12349"].
|
22155
|
+
"""
|
22156
|
+
pulumi.set(__self__, "ip_protocol", ip_protocol)
|
22157
|
+
if ports is not None:
|
22158
|
+
pulumi.set(__self__, "ports", ports)
|
22159
|
+
|
22160
|
+
@property
|
22161
|
+
@pulumi.getter(name="ipProtocol")
|
22162
|
+
def ip_protocol(self) -> pulumi.Input[str]:
|
22163
|
+
"""
|
22164
|
+
The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule.
|
22165
|
+
This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.
|
22166
|
+
"""
|
22167
|
+
return pulumi.get(self, "ip_protocol")
|
22168
|
+
|
22169
|
+
@ip_protocol.setter
|
22170
|
+
def ip_protocol(self, value: pulumi.Input[str]):
|
22171
|
+
pulumi.set(self, "ip_protocol", value)
|
22172
|
+
|
22173
|
+
@property
|
22174
|
+
@pulumi.getter
|
22175
|
+
def ports(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
22176
|
+
"""
|
22177
|
+
An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port.
|
22178
|
+
Example inputs include: ["22"], ["80","443"], and ["12345-12349"].
|
22179
|
+
"""
|
22180
|
+
return pulumi.get(self, "ports")
|
22181
|
+
|
22182
|
+
@ports.setter
|
22183
|
+
def ports(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
22184
|
+
pulumi.set(self, "ports", value)
|
22185
|
+
|
22186
|
+
|
22187
|
+
if not MYPY:
|
22188
|
+
class NetworkFirewallPolicyPacketMirroringRuleTargetSecureTagArgsDict(TypedDict):
|
22189
|
+
name: NotRequired[pulumi.Input[str]]
|
22190
|
+
"""
|
22191
|
+
Name of the secure tag, created with TagManager's TagValue API.
|
22192
|
+
diff_suppress_func: 'tpgresource.CompareSelfLinkOrResourceName'
|
22193
|
+
"""
|
22194
|
+
state: NotRequired[pulumi.Input[str]]
|
22195
|
+
"""
|
22196
|
+
(Output)
|
22197
|
+
State of the secure tag, either EFFECTIVE or INEFFECTIVE. A secure tag is INEFFECTIVE when it is deleted or its network is deleted.
|
22198
|
+
"""
|
22199
|
+
elif False:
|
22200
|
+
NetworkFirewallPolicyPacketMirroringRuleTargetSecureTagArgsDict: TypeAlias = Mapping[str, Any]
|
22201
|
+
|
22202
|
+
@pulumi.input_type
|
22203
|
+
class NetworkFirewallPolicyPacketMirroringRuleTargetSecureTagArgs:
|
22204
|
+
def __init__(__self__, *,
|
22205
|
+
name: Optional[pulumi.Input[str]] = None,
|
22206
|
+
state: Optional[pulumi.Input[str]] = None):
|
22207
|
+
"""
|
22208
|
+
:param pulumi.Input[str] name: Name of the secure tag, created with TagManager's TagValue API.
|
22209
|
+
diff_suppress_func: 'tpgresource.CompareSelfLinkOrResourceName'
|
22210
|
+
:param pulumi.Input[str] state: (Output)
|
22211
|
+
State of the secure tag, either EFFECTIVE or INEFFECTIVE. A secure tag is INEFFECTIVE when it is deleted or its network is deleted.
|
22212
|
+
"""
|
22213
|
+
if name is not None:
|
22214
|
+
pulumi.set(__self__, "name", name)
|
22215
|
+
if state is not None:
|
22216
|
+
pulumi.set(__self__, "state", state)
|
22217
|
+
|
22218
|
+
@property
|
22219
|
+
@pulumi.getter
|
22220
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
22221
|
+
"""
|
22222
|
+
Name of the secure tag, created with TagManager's TagValue API.
|
22223
|
+
diff_suppress_func: 'tpgresource.CompareSelfLinkOrResourceName'
|
22224
|
+
"""
|
22225
|
+
return pulumi.get(self, "name")
|
22226
|
+
|
22227
|
+
@name.setter
|
22228
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
22229
|
+
pulumi.set(self, "name", value)
|
22230
|
+
|
22231
|
+
@property
|
22232
|
+
@pulumi.getter
|
22233
|
+
def state(self) -> Optional[pulumi.Input[str]]:
|
22234
|
+
"""
|
22235
|
+
(Output)
|
22236
|
+
State of the secure tag, either EFFECTIVE or INEFFECTIVE. A secure tag is INEFFECTIVE when it is deleted or its network is deleted.
|
22237
|
+
"""
|
22238
|
+
return pulumi.get(self, "state")
|
22239
|
+
|
22240
|
+
@state.setter
|
22241
|
+
def state(self, value: Optional[pulumi.Input[str]]):
|
22242
|
+
pulumi.set(self, "state", value)
|
22243
|
+
|
22244
|
+
|
22041
22245
|
if not MYPY:
|
22042
22246
|
class NetworkFirewallPolicyRuleMatchArgsDict(TypedDict):
|
22043
22247
|
layer4_configs: pulumi.Input[Sequence[pulumi.Input['NetworkFirewallPolicyRuleMatchLayer4ConfigArgsDict']]]
|
@@ -33288,7 +33492,7 @@ if not MYPY:
|
|
33288
33492
|
"""
|
33289
33493
|
nic_type: NotRequired[pulumi.Input[str]]
|
33290
33494
|
"""
|
33291
|
-
The type of vNIC to be used on this interface. Possible values: GVNIC, VIRTIO_NET
|
33495
|
+
The type of vNIC to be used on this interface. Possible values: GVNIC, VIRTIO_NET, MRDMA, IRDMA.
|
33292
33496
|
"""
|
33293
33497
|
queue_count: NotRequired[pulumi.Input[int]]
|
33294
33498
|
"""
|
@@ -33345,7 +33549,7 @@ class RegionInstanceTemplateNetworkInterfaceArgs:
|
|
33345
33549
|
`subnetwork` for custom subnetted networks.
|
33346
33550
|
:param pulumi.Input[str] network_ip: The private IP address to assign to the instance. If
|
33347
33551
|
empty, the address will be automatically assigned.
|
33348
|
-
:param pulumi.Input[str] nic_type: The type of vNIC to be used on this interface. Possible values: GVNIC, VIRTIO_NET
|
33552
|
+
:param pulumi.Input[str] nic_type: The type of vNIC to be used on this interface. Possible values: GVNIC, VIRTIO_NET, MRDMA, IRDMA.
|
33349
33553
|
:param pulumi.Input[int] queue_count: The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It will be empty if not specified.
|
33350
33554
|
:param pulumi.Input[str] stack_type: The stack type for this network interface to identify whether the IPv6 feature is enabled or not. Values are IPV4_IPV6, IPV6_ONLY or IPV4_ONLY. If not specified, IPV4_ONLY will be used.
|
33351
33555
|
:param pulumi.Input[str] subnetwork: the name of the subnetwork to attach this interface
|
@@ -33499,7 +33703,7 @@ class RegionInstanceTemplateNetworkInterfaceArgs:
|
|
33499
33703
|
@pulumi.getter(name="nicType")
|
33500
33704
|
def nic_type(self) -> Optional[pulumi.Input[str]]:
|
33501
33705
|
"""
|
33502
|
-
The type of vNIC to be used on this interface. Possible values: GVNIC, VIRTIO_NET
|
33706
|
+
The type of vNIC to be used on this interface. Possible values: GVNIC, VIRTIO_NET, MRDMA, IRDMA.
|
33503
33707
|
"""
|
33504
33708
|
return pulumi.get(self, "nic_type")
|
33505
33709
|
|
@@ -25,11 +25,12 @@ class FirewallPolicyArgs:
|
|
25
25
|
"""
|
26
26
|
The set of arguments for constructing a FirewallPolicy resource.
|
27
27
|
:param pulumi.Input[str] parent: The parent of the firewall policy.
|
28
|
-
:param pulumi.Input[str] short_name: User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
|
29
|
-
|
30
28
|
|
31
29
|
|
32
30
|
- - -
|
31
|
+
:param pulumi.Input[str] short_name: User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created.
|
32
|
+
This field is not applicable to network firewall policies. This name must be set on creation and cannot be changed. The name must be 1-63 characters long, and comply with RFC1035.
|
33
|
+
Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
|
33
34
|
:param pulumi.Input[str] description: An optional description of this resource. Provide this property when you create the resource.
|
34
35
|
"""
|
35
36
|
pulumi.set(__self__, "parent", parent)
|
@@ -42,6 +43,9 @@ class FirewallPolicyArgs:
|
|
42
43
|
def parent(self) -> pulumi.Input[str]:
|
43
44
|
"""
|
44
45
|
The parent of the firewall policy.
|
46
|
+
|
47
|
+
|
48
|
+
- - -
|
45
49
|
"""
|
46
50
|
return pulumi.get(self, "parent")
|
47
51
|
|
@@ -53,11 +57,9 @@ class FirewallPolicyArgs:
|
|
53
57
|
@pulumi.getter(name="shortName")
|
54
58
|
def short_name(self) -> pulumi.Input[str]:
|
55
59
|
"""
|
56
|
-
User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created.
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
- - -
|
60
|
+
User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created.
|
61
|
+
This field is not applicable to network firewall policies. This name must be set on creation and cannot be changed. The name must be 1-63 characters long, and comply with RFC1035.
|
62
|
+
Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
|
61
63
|
"""
|
62
64
|
return pulumi.get(self, "short_name")
|
63
65
|
|
@@ -99,14 +101,15 @@ class _FirewallPolicyState:
|
|
99
101
|
:param pulumi.Input[str] firewall_policy_id: The unique identifier for the resource. This identifier is defined by the server.
|
100
102
|
:param pulumi.Input[str] name: Name of the resource. It is a numeric ID allocated by GCP which uniquely identifies the Firewall Policy.
|
101
103
|
:param pulumi.Input[str] parent: The parent of the firewall policy.
|
102
|
-
:param pulumi.Input[int] rule_tuple_count: Total count of all firewall policy rule tuples. A firewall policy can not exceed a set number of tuples.
|
103
|
-
:param pulumi.Input[str] self_link: Server-defined URL for the resource.
|
104
|
-
:param pulumi.Input[str] self_link_with_id: Server-defined URL for this resource with the resource id.
|
105
|
-
:param pulumi.Input[str] short_name: User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
|
106
|
-
|
107
104
|
|
108
105
|
|
109
106
|
- - -
|
107
|
+
:param pulumi.Input[int] rule_tuple_count: Total count of all firewall policy rule tuples. A firewall policy can not exceed a set number of tuples.
|
108
|
+
:param pulumi.Input[str] self_link: Server-defined URL for the resource.
|
109
|
+
:param pulumi.Input[str] self_link_with_id: Server-defined URL for this resource with the resource id.
|
110
|
+
:param pulumi.Input[str] short_name: User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created.
|
111
|
+
This field is not applicable to network firewall policies. This name must be set on creation and cannot be changed. The name must be 1-63 characters long, and comply with RFC1035.
|
112
|
+
Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
|
110
113
|
"""
|
111
114
|
if creation_timestamp is not None:
|
112
115
|
pulumi.set(__self__, "creation_timestamp", creation_timestamp)
|
@@ -194,6 +197,9 @@ class _FirewallPolicyState:
|
|
194
197
|
def parent(self) -> Optional[pulumi.Input[str]]:
|
195
198
|
"""
|
196
199
|
The parent of the firewall policy.
|
200
|
+
|
201
|
+
|
202
|
+
- - -
|
197
203
|
"""
|
198
204
|
return pulumi.get(self, "parent")
|
199
205
|
|
@@ -241,11 +247,9 @@ class _FirewallPolicyState:
|
|
241
247
|
@pulumi.getter(name="shortName")
|
242
248
|
def short_name(self) -> Optional[pulumi.Input[str]]:
|
243
249
|
"""
|
244
|
-
User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created.
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
- - -
|
250
|
+
User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created.
|
251
|
+
This field is not applicable to network firewall policies. This name must be set on creation and cannot be changed. The name must be 1-63 characters long, and comply with RFC1035.
|
252
|
+
Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
|
249
253
|
"""
|
250
254
|
return pulumi.get(self, "short_name")
|
251
255
|
|
@@ -264,20 +268,16 @@ class FirewallPolicy(pulumi.CustomResource):
|
|
264
268
|
short_name: Optional[pulumi.Input[str]] = None,
|
265
269
|
__props__=None):
|
266
270
|
"""
|
267
|
-
Hierarchical firewall policy rules let you create and enforce a consistent firewall policy across your organization. Rules can explicitly allow or deny connections or delegate evaluation to lower level policies. Policies can be created within organizations or folders.
|
268
|
-
|
269
|
-
This resource should be generally be used with `compute.FirewallPolicyAssociation` and `compute.FirewallPolicyRule`
|
270
|
-
|
271
|
-
For more information see the [official documentation](https://cloud.google.com/vpc/docs/firewall-policies)
|
272
|
-
|
273
271
|
## Example Usage
|
274
272
|
|
273
|
+
### Firewall Policy
|
274
|
+
|
275
275
|
```python
|
276
276
|
import pulumi
|
277
277
|
import pulumi_gcp as gcp
|
278
278
|
|
279
279
|
default = gcp.compute.FirewallPolicy("default",
|
280
|
-
parent="organizations/
|
280
|
+
parent="organizations/123456789",
|
281
281
|
short_name="my-policy",
|
282
282
|
description="Example Resource")
|
283
283
|
```
|
@@ -286,6 +286,12 @@ class FirewallPolicy(pulumi.CustomResource):
|
|
286
286
|
|
287
287
|
FirewallPolicy can be imported using any of these accepted formats:
|
288
288
|
|
289
|
+
* `locations/global/firewallPolicies/{{name}}`
|
290
|
+
|
291
|
+
* `{{name}}`
|
292
|
+
|
293
|
+
When using the `pulumi import` command, FirewallPolicy can be imported using one of the formats above. For example:
|
294
|
+
|
289
295
|
```sh
|
290
296
|
$ pulumi import gcp:compute/firewallPolicy:FirewallPolicy default locations/global/firewallPolicies/{{name}}
|
291
297
|
```
|
@@ -298,11 +304,12 @@ class FirewallPolicy(pulumi.CustomResource):
|
|
298
304
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
299
305
|
:param pulumi.Input[str] description: An optional description of this resource. Provide this property when you create the resource.
|
300
306
|
:param pulumi.Input[str] parent: The parent of the firewall policy.
|
301
|
-
:param pulumi.Input[str] short_name: User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
|
302
|
-
|
303
307
|
|
304
308
|
|
305
309
|
- - -
|
310
|
+
:param pulumi.Input[str] short_name: User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created.
|
311
|
+
This field is not applicable to network firewall policies. This name must be set on creation and cannot be changed. The name must be 1-63 characters long, and comply with RFC1035.
|
312
|
+
Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
|
306
313
|
"""
|
307
314
|
...
|
308
315
|
@overload
|
@@ -311,20 +318,16 @@ class FirewallPolicy(pulumi.CustomResource):
|
|
311
318
|
args: FirewallPolicyArgs,
|
312
319
|
opts: Optional[pulumi.ResourceOptions] = None):
|
313
320
|
"""
|
314
|
-
Hierarchical firewall policy rules let you create and enforce a consistent firewall policy across your organization. Rules can explicitly allow or deny connections or delegate evaluation to lower level policies. Policies can be created within organizations or folders.
|
315
|
-
|
316
|
-
This resource should be generally be used with `compute.FirewallPolicyAssociation` and `compute.FirewallPolicyRule`
|
317
|
-
|
318
|
-
For more information see the [official documentation](https://cloud.google.com/vpc/docs/firewall-policies)
|
319
|
-
|
320
321
|
## Example Usage
|
321
322
|
|
323
|
+
### Firewall Policy
|
324
|
+
|
322
325
|
```python
|
323
326
|
import pulumi
|
324
327
|
import pulumi_gcp as gcp
|
325
328
|
|
326
329
|
default = gcp.compute.FirewallPolicy("default",
|
327
|
-
parent="organizations/
|
330
|
+
parent="organizations/123456789",
|
328
331
|
short_name="my-policy",
|
329
332
|
description="Example Resource")
|
330
333
|
```
|
@@ -333,6 +336,12 @@ class FirewallPolicy(pulumi.CustomResource):
|
|
333
336
|
|
334
337
|
FirewallPolicy can be imported using any of these accepted formats:
|
335
338
|
|
339
|
+
* `locations/global/firewallPolicies/{{name}}`
|
340
|
+
|
341
|
+
* `{{name}}`
|
342
|
+
|
343
|
+
When using the `pulumi import` command, FirewallPolicy can be imported using one of the formats above. For example:
|
344
|
+
|
336
345
|
```sh
|
337
346
|
$ pulumi import gcp:compute/firewallPolicy:FirewallPolicy default locations/global/firewallPolicies/{{name}}
|
338
347
|
```
|
@@ -415,14 +424,15 @@ class FirewallPolicy(pulumi.CustomResource):
|
|
415
424
|
:param pulumi.Input[str] firewall_policy_id: The unique identifier for the resource. This identifier is defined by the server.
|
416
425
|
:param pulumi.Input[str] name: Name of the resource. It is a numeric ID allocated by GCP which uniquely identifies the Firewall Policy.
|
417
426
|
:param pulumi.Input[str] parent: The parent of the firewall policy.
|
418
|
-
:param pulumi.Input[int] rule_tuple_count: Total count of all firewall policy rule tuples. A firewall policy can not exceed a set number of tuples.
|
419
|
-
:param pulumi.Input[str] self_link: Server-defined URL for the resource.
|
420
|
-
:param pulumi.Input[str] self_link_with_id: Server-defined URL for this resource with the resource id.
|
421
|
-
:param pulumi.Input[str] short_name: User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
|
422
|
-
|
423
427
|
|
424
428
|
|
425
429
|
- - -
|
430
|
+
:param pulumi.Input[int] rule_tuple_count: Total count of all firewall policy rule tuples. A firewall policy can not exceed a set number of tuples.
|
431
|
+
:param pulumi.Input[str] self_link: Server-defined URL for the resource.
|
432
|
+
:param pulumi.Input[str] self_link_with_id: Server-defined URL for this resource with the resource id.
|
433
|
+
:param pulumi.Input[str] short_name: User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created.
|
434
|
+
This field is not applicable to network firewall policies. This name must be set on creation and cannot be changed. The name must be 1-63 characters long, and comply with RFC1035.
|
435
|
+
Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
|
426
436
|
"""
|
427
437
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
428
438
|
|
@@ -485,6 +495,9 @@ class FirewallPolicy(pulumi.CustomResource):
|
|
485
495
|
def parent(self) -> pulumi.Output[str]:
|
486
496
|
"""
|
487
497
|
The parent of the firewall policy.
|
498
|
+
|
499
|
+
|
500
|
+
- - -
|
488
501
|
"""
|
489
502
|
return pulumi.get(self, "parent")
|
490
503
|
|
@@ -516,11 +529,9 @@ class FirewallPolicy(pulumi.CustomResource):
|
|
516
529
|
@pulumi.getter(name="shortName")
|
517
530
|
def short_name(self) -> pulumi.Output[str]:
|
518
531
|
"""
|
519
|
-
User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created.
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
- - -
|
532
|
+
User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created.
|
533
|
+
This field is not applicable to network firewall policies. This name must be set on creation and cannot be changed. The name must be 1-63 characters long, and comply with RFC1035.
|
534
|
+
Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
|
524
535
|
"""
|
525
536
|
return pulumi.get(self, "short_name")
|
526
537
|
|