Class AddressList
List of addresses with a reference name. The value of an entry is a list of IP addresses or prefixes in CIDR notation or FQDNs. The associated key is the identifier by which the IP address list is referenced.
Inherited Members
Namespace: Oci.NetworkfirewallService.Models
Assembly: OCI.DotNetSDK.Networkfirewall.dll
Syntax
public class AddressList
Properties
Addresses
Declaration
[Required(ErrorMessage = "Addresses is required.")]
[JsonProperty(PropertyName = "addresses")]
public List<string> Addresses { get; set; }
Property Value
Type | Description |
---|---|
List<string> | List of addresses. |
Remarks
Required
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | Unique name to identify the group of addresses to be used in the policy rules. |
Remarks
Required
ParentResourceId
Declaration
[Required(ErrorMessage = "ParentResourceId is required.")]
[JsonProperty(PropertyName = "parentResourceId")]
public string ParentResourceId { get; set; }
Property Value
Type | Description |
---|---|
string | OCID of the Network Firewall Policy this Address List belongs to. |
Remarks
Required
TotalAddresses
Declaration
[Required(ErrorMessage = "TotalAddresses is required.")]
[JsonProperty(PropertyName = "totalAddresses")]
public int? TotalAddresses { get; set; }
Property Value
Type | Description |
---|---|
int? | Count of total Addresses in the AddressList |
Remarks
Required
Type
Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(ResponseEnumConverter))]
public AddressListType? Type { get; set; }
Property Value
Type | Description |
---|---|
AddressListType? | Type of address List. The accepted values are - * FQDN * IP |
Remarks
Required