Class ExternalAccessRule
External access firewall rules for filtering incoming traffic destined to ExternalAddress
resources.
Implements
Inherited Members
Namespace: Google.Apis.VMwareEngine.v1.Data
Assembly: Google.Apis.VMwareEngine.v1.dll
Syntax
public class ExternalAccessRule : IDirectResponseSchema
Properties
Action
The action that the external access rule performs.
Declaration
[JsonProperty("action")]
public virtual string Action { get; set; }
Property Value
Type | Description |
---|---|
string |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
Output only. Creation time of this resource.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Description
User-provided description for this external access rule.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
DestinationIpRanges
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, specify 0.0.0.0/0
. To match a specific external IP address, specify it using the
IpRange.external_address
property.
Declaration
[JsonProperty("destinationIpRanges")]
public virtual IList<IpRange> DestinationIpRanges { get; set; }
Property Value
Type | Description |
---|---|
IList<IpRange> |
DestinationPorts
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"]
.
Declaration
[JsonProperty("destinationPorts")]
public virtual IList<string> DestinationPorts { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
IpProtocol
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
, or icmp
.
Declaration
[JsonProperty("ipProtocol")]
public virtual string IpProtocol { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
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
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Priority
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
priority 100
has higher precedence than a rule with priority 101
.
Declaration
[JsonProperty("priority")]
public virtual int? Priority { get; set; }
Property Value
Type | Description |
---|---|
int? |
SourceIpRanges
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, specify 0.0.0.0/0
.
Declaration
[JsonProperty("sourceIpRanges")]
public virtual IList<IpRange> SourceIpRanges { get; set; }
Property Value
Type | Description |
---|---|
IList<IpRange> |
SourcePorts
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"]
.
Declaration
[JsonProperty("sourcePorts")]
public virtual IList<string> SourcePorts { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
State
Output only. The state of the resource.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type | Description |
---|---|
string |
Uid
Output only. System-generated unique identifier for the resource.
Declaration
[JsonProperty("uid")]
public virtual string Uid { get; set; }
Property Value
Type | Description |
---|---|
string |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
UpdateTimeRaw
Output only. Last update time of this resource.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |