Class ListWaasPoliciesRequest
Implements
Inherited Members
Namespace: Oci.WaasService.Requests
Assembly: OCI.DotNetSDK.Waas.dll
Syntax
public class ListWaasPoliciesRequest : IOciRequest
Examples
Click here to see an example of how to use ListWaasPolicies 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 policies 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 policies using a list of policy OCIDs. |
LifecycleState
Declaration
[HttpConverter(TargetEnum.Query, "lifecycleState", CollectionFormatType.Multi)]
public List<LifecycleStates> LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
List<LifecycleStates> | Filter policies 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 |
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 |
SortBy
Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public ListWaasPoliciesRequest.SortByEnum? SortBy { get; set; }
Property Value
Type | Description |
---|---|
ListWaasPoliciesRequest.SortByEnum? | The value by which policies are sorted in a paginated 'List' call. If unspecified, defaults to |
SortOrder
Declaration
[HttpConverter(TargetEnum.Query, "sortOrder")]
public ListWaasPoliciesRequest.SortOrderEnum? SortOrder { get; set; }
Property Value
Type | Description |
---|---|
ListWaasPoliciesRequest.SortOrderEnum? | The value of the sorting direction of resources in a paginated 'List' call. If unspecified, defaults to |
TimeCreatedGreaterThanOrEqualTo
Declaration
[HttpConverter(TargetEnum.Query, "timeCreatedGreaterThanOrEqualTo")]
public DateTime? TimeCreatedGreaterThanOrEqualTo { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | A filter that matches policies created on or after the specified date and time. |
TimeCreatedLessThan
Declaration
[HttpConverter(TargetEnum.Query, "timeCreatedLessThan")]
public DateTime? TimeCreatedLessThan { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | A filter that matches policies created before the specified date-time. |