Show / Hide Table of Contents

Class ListCustomProtectionRulesRequest

Inheritance
object
ListCustomProtectionRulesRequest
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.WaasService.Requests
Assembly: OCI.DotNetSDK.Waas.dll
Syntax
public class ListCustomProtectionRulesRequest : IOciRequest
Examples

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

Properties

CompartmentId

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

The OCID of the compartment. This number is generated when the compartment is created.

Remarks

Required

DisplayName

Declaration
[HttpConverter(TargetEnum.Query, "displayName", CollectionFormatType.Multi)]
public List<string> DisplayName { get; set; }
Property Value
Type Description
List<string>

Filter custom protection rules using a list of display names.

Id

Declaration
[HttpConverter(TargetEnum.Query, "id", CollectionFormatType.Multi)]
public List<string> Id { get; set; }
Property Value
Type Description
List<string>

Filter custom protection rules using a list of custom protection rule OCIDs.

LifecycleState

Declaration
[HttpConverter(TargetEnum.Query, "lifecycleState", CollectionFormatType.Multi)]
public List<LifecycleStates> LifecycleState { get; set; }
Property Value
Type Description
List<LifecycleStates>

Filter Custom Protection rules using a list of lifecycle states.

Limit

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

The maximum number of items to return in a paginated call. If unspecified, defaults to 10.

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 need to contact Oracle about a particular request, please provide the request ID.

Page

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

The value of the opc-next-page response header from the previous paginated call.

SortBy

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

The value by which custom protection rules are sorted in a paginated 'List' call. If unspecified, defaults to timeCreated.

SortOrder

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

The value of the sorting direction of resources in a paginated 'List' call. If unspecified, defaults to DESC.

TimeCreatedGreaterThanOrEqualTo

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

A filter that matches Custom Protection rules created on or after the specified date-time.

TimeCreatedLessThan

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

A filter that matches custom protection rules created before the specified date-time.

Implements

IOciRequest
In this article
Back to top