Show / Hide Table of Contents

Class ListListenersRequest

Inheritance
object
ListListenersRequest
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.NetworkloadbalancerService.Requests
Assembly: OCI.DotNetSDK.Networkloadbalancer.dll
Syntax
public class ListListenersRequest : IOciRequest
Examples

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

Properties

IfNoneMatch

Declaration
[HttpConverter(TargetEnum.Header, "if-none-match")]
public string IfNoneMatch { get; set; }
Property Value
Type Description
string

The system returns the requested resource, with a 200 status, only if the resource has no etag matching the one specified. If the condition fails for the GET and HEAD methods, then the system returns the HTTP status code 304 (Not Modified).
Example: example-etag

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.

NetworkLoadBalancerId

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

The OCID of the network load balancer to update.

Remarks

Required

OpcRequestId

Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
Type Description
string

The unique Oracle-assigned identifier for the request. If you must contact Oracle about a particular request, then provide the request identifier.

Page

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

The page token representing the page from which to start retrieving results. 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 ListListenersRequest.SortByEnum? SortBy { get; set; }
Property Value
Type Description
ListListenersRequest.SortByEnum?

The field to sort by. Only one sort order can be provided. The default order for timeCreated is descending. The default order for displayName is ascending. If no value is specified, then timeCreated is the default.

SortOrder

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

The sort order to use, either 'asc' (ascending) or 'desc' (descending).

Implements

IOciRequest
In this article
Back to top