GoogleApi.VMwareEngine.V1.Model.ExternalAccessRule (google_api_v_mware_engine v0.5.0)
View SourceExternal access firewall rules for filtering incoming traffic destined to ExternalAddress
resources.
Attributes
-
action
(type:String.t
, default:nil
) - The action that the external access rule performs. -
createTime
(type:DateTime.t
, default:nil
) - Output only. Creation time of this resource. -
description
(type:String.t
, default:nil
) - User-provided description for this external access rule. -
destinationIpRanges
(type:list(GoogleApi.VMwareEngine.V1.Model.IpRange.t)
, default:nil
) - If destination ranges are specified, the external access rule applies only to the traffic that has a destination IP address in these ranges. The specified IP addresses must have reserved external IP addresses in the scope of the parent network policy. To match all external IP addresses in the scope of the parent network policy, specify0.0.0.0/0
. To match a specific external IP address, specify it using theIpRange.external_address
property. -
destinationPorts
(type:list(String.t)
, default:nil
) - A list of destination ports to which the external access rule applies. This field is only applicable for the UDP or TCP protocol. Each entry must be either an integer or a range. For example:["22"]
,["80","443"]
, or["12345-12349"]
. To match all destination ports, specify["0-65535"]
. -
ipProtocol
(type:String.t
, default:nil
) - The IP protocol to which the external access rule applies. This value can be one of the following three protocol strings (not case-sensitive):tcp
,udp
, oricmp
. -
name
(type:String.t
, default:nil
) - Output only. The resource name of this external access rule. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example:projects/my-project/locations/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule
-
priority
(type:integer()
, default:nil
) - External access rule priority, which determines the external access rule to use when multiple rules apply. If multiple rules have the same priority, their ordering is non-deterministic. If specific ordering is required, assign unique priorities to enforce such ordering. The external access rule priority is an integer from 100 to 4096, both inclusive. Lower integers indicate higher precedence. For example, a rule with priority100
has higher precedence than a rule with priority101
. -
sourceIpRanges
(type:list(GoogleApi.VMwareEngine.V1.Model.IpRange.t)
, default:nil
) - If source ranges are specified, the external access rule applies only to traffic that has a source IP address in these ranges. These ranges can either be expressed in the CIDR format or as an IP address. As only inbound rules are supported,ExternalAddress
resources cannot be the source IP addresses of an external access rule. To match all source addresses, specify0.0.0.0/0
. -
sourcePorts
(type:list(String.t)
, default:nil
) - A list of source ports to which the external access rule applies. This field is only applicable for the UDP or TCP protocol. Each entry must be either an integer or a range. For example:["22"]
,["80","443"]
, or["12345-12349"]
. To match all source ports, specify["0-65535"]
. -
state
(type:String.t
, default:nil
) - Output only. The state of the resource. -
uid
(type:String.t
, default:nil
) - Output only. System-generated unique identifier for the resource. -
updateTime
(type:DateTime.t
, default:nil
) - Output only. Last update time of this resource.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.VMwareEngine.V1.Model.ExternalAccessRule{ action: String.t() | nil, createTime: DateTime.t() | nil, description: String.t() | nil, destinationIpRanges: [GoogleApi.VMwareEngine.V1.Model.IpRange.t()] | nil, destinationPorts: [String.t()] | nil, ipProtocol: String.t() | nil, name: String.t() | nil, priority: integer() | nil, sourceIpRanges: [GoogleApi.VMwareEngine.V1.Model.IpRange.t()] | nil, sourcePorts: [String.t()] | nil, state: String.t() | nil, uid: String.t() | nil, updateTime: DateTime.t() | nil }