Show / Hide Table of Contents

Class ListNetworkSecurityGroupSecurityRulesRequest

Inheritance
object
ListNetworkSecurityGroupSecurityRulesRequest
Implements
IOciRequest
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.CoreService.Requests
Assembly: OCI.DotNetSDK.Core.dll
Syntax
public class ListNetworkSecurityGroupSecurityRulesRequest : IOciRequest
Examples

Click here to see an example of how to use ListNetworkSecurityGroupSecurityRules request.

Properties

Direction

Declaration
[HttpConverter(TargetEnum.Query, "direction")]
public ListNetworkSecurityGroupSecurityRulesRequest.DirectionEnum? Direction { get; set; }
Property Value
Type Description
ListNetworkSecurityGroupSecurityRulesRequest.DirectionEnum?

Direction of the security rule. Set to EGRESS for rules that allow outbound IP packets, or INGRESS for rules that allow inbound IP packets.

Limit

Declaration
[HttpConverter(TargetEnum.Query, "limit")]
public int? Limit { get; set; }
Property Value
Type Description
int?

For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see List Pagination.
Example: 50

NetworkSecurityGroupId

Declaration
[Required(ErrorMessage = "NetworkSecurityGroupId is required.")]
[HttpConverter(TargetEnum.Path, "networkSecurityGroupId")]
public string NetworkSecurityGroupId { get; set; }
Property Value
Type Description
string

The OCID of the network security group.

Remarks

Required

Page

Declaration
[HttpConverter(TargetEnum.Query, "page")]
public string Page { get; set; }
Property Value
Type Description
string

For list pagination. The value of the opc-next-page response header from the previous "List" call. For important details about how pagination works, see List Pagination.

SortBy

Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public ListNetworkSecurityGroupSecurityRulesRequest.SortByEnum? SortBy { get; set; }
Property Value
Type Description
ListNetworkSecurityGroupSecurityRulesRequest.SortByEnum?

The field to sort by.

SortOrder

Declaration
[HttpConverter(TargetEnum.Query, "sortOrder")]
public ListNetworkSecurityGroupSecurityRulesRequest.SortOrderEnum? SortOrder { get; set; }
Property Value
Type Description
ListNetworkSecurityGroupSecurityRulesRequest.SortOrderEnum?

The sort order to use, either ascending (ASC) or descending (DESC). The DISPLAYNAME sort order is case sensitive.

Implements

IOciRequest
In this article
Back to top