Class IcmpOptions
Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:
- ICMP Parameters
- ICMPv6 Parameters
If you specify ICMP or ICMPv6 as the protocol but omit this object, then all ICMP types and codes are allowed. If you do provide this object, the type is required and the code is optional. To enable MTU negotiation for ingress internet traffic via IPv4, make sure to allow type 3 ("Destination Unreachable") code 4 ("Fragmentation Needed and Don't Fragment was Set"). If you need to specify multiple codes for a single type, create a separate security list rule for each.
Inherited Members
Namespace: Oci.CoreService.Models
Assembly: OCI.DotNetSDK.Core.dll
Syntax
public class IcmpOptions
Properties
Code
Declaration
[JsonProperty(PropertyName = "code")]
public int? Code { get; set; }
Property Value
Type | Description |
---|---|
int? | The ICMP code (optional). |
Type
Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
public int? Type { get; set; }
Property Value
Type | Description |
---|---|
int? | The ICMP type. |
Remarks
Required