Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace ListResourcesRequest

example

Click here to see how to use ListResourcesRequest.

Properties

Optional accessLevel

accessLevel: AccessLevel

Valid values are {@code RESTRICTED} and {@code ACCESSIBLE}. Default is {@code RESTRICTED}. Setting this to {@code ACCESSIBLE} returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to {@code RESTRICTED} permissions are checked and no partial results are displayed.

compartmentId

compartmentId: string

The OCID of the compartment in which to list resources.

Optional compartmentIdInSubtree

compartmentIdInSubtree: undefined | false | true

Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the setting of {@code accessLevel}.

Optional cveId

cveId: undefined | string

CVE ID associated with the resource.

Optional cvssScore

cvssScore: undefined | number

Cvss score associated with the resource.

Optional cvssScoreGreaterThan

cvssScoreGreaterThan: undefined | number

Cvss score greater than associated with the resource.

Optional cvssScoreLessThan

cvssScoreLessThan: undefined | number

Cvss score less than associated with the resource.

Optional detectorRuleIdList

detectorRuleIdList: Array<string>

Comma seperated list of detector rule IDs to be passed in to match against Problems.

Optional detectorType

detectorType: model.DetectorEnum

The field to list the problems by detector type.

Optional limit

limit: undefined | number

The maximum number of items to return

Optional opcRequestId

opcRequestId: undefined | string

The client request ID for tracing.

Optional page

page: undefined | string

The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

Optional region

region: undefined | string

OCI monitoring region.

Optional retryConfiguration

retryConfiguration: RetryConfiguration

RetryConfiguration to be used for the request NOTE : Retries are not supported for requests that have binary or stream bodies this also affects UploadManager operations For all requests with binary/stream bodies, retry attempts are not made

Optional riskLevel

riskLevel: undefined | string

Risk level of the problem.

Optional riskLevelGreaterThan

riskLevelGreaterThan: undefined | string

To filter risk level greater than the one mentioned in query param

Optional riskLevelLessThan

riskLevelLessThan: undefined | string

To filter risk level less than the one mentioned in query param

Optional sortBy

sortBy: SortBy

The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.

Optional sortOrder

sortOrder: model.SortOrders

The sort order to use

Optional targetId

targetId: undefined | string

The ID of the target in which to list resources.