Class FirewallInboundRule
Inheritance
System.Object
FirewallInboundRule
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.DigitalOcean.Outputs
Assembly: Pulumi.DigitalOcean.dll
Syntax
public sealed class FirewallInboundRule
Fields
View SourcePortRange
The ports on which traffic will be allowed
specified as a string containing a single port, a range (e.g. "8000-9000"),
or "1-65535" to open all ports for a protocol. Required for when protocol is
tcp or udp.
Declaration
public readonly string PortRange
Field Value
| Type | Description |
|---|---|
| System.String |
Protocol
The type of traffic to be allowed. This may be one of "tcp", "udp", or "icmp".
Declaration
public readonly string Protocol
Field Value
| Type | Description |
|---|---|
| System.String |
SourceAddresses
An array of strings containing the IPv4 addresses, IPv6 addresses, IPv4 CIDRs, and/or IPv6 CIDRs from which the inbound traffic will be accepted.
Declaration
public readonly ImmutableArray<string> SourceAddresses
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<System.String> |
SourceDropletIds
An array containing the IDs of the Droplets from which the inbound traffic will be accepted.
Declaration
public readonly ImmutableArray<int> SourceDropletIds
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<System.Int32> |
SourceLoadBalancerUids
An array containing the IDs of the Load Balancers from which the inbound traffic will be accepted.
Declaration
public readonly ImmutableArray<string> SourceLoadBalancerUids
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<System.String> |
SourceTags
An array containing the names of Tags corresponding to groups of Droplets from which the inbound traffic will be accepted.
Declaration
public readonly ImmutableArray<string> SourceTags
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<System.String> |