Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace ListProblemsRequest

example

Click here to see how to use ListProblemsRequest.

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.

Optional city

city: undefined | string

City of the problem.

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 country

country: undefined | string

Country of the problem.

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 label

label: undefined | string

User-defined label associated with the problem.

Optional lifecycleDetail

lifecycleDetail: model.ProblemLifecycleDetail

The field life cycle state. Only one state can be provided. Default value for state is active.

Optional lifecycleState

lifecycleState: model.ProblemLifecycleState

The field lifecycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.

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 problemCategory

problemCategory: model.ProblemCategoryEnum

Setting this to {@code SECURITY_ZONE} returns only security zone-related violations.

Optional region

region: undefined | string

OCI monitoring region.

Optional resourceId

resourceId: undefined | string

The ID of the resource associated with the problem.

Optional resourceType

resourceType: undefined | string

Resource type associated with the resource.

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 sortBy

sortBy: SortBy

The field to sort by. Only one sort order may be provided. Default order for riskLevel, timeLastDetected and resourceName is descending. Default order for riskLevel and resourceName is ascending. If no value is specified timeLastDetected is default.

Optional sortOrder

sortOrder: model.SortOrders

The sort order to use

Optional state

state: undefined | string

State or province of the problem.

Optional targetId

targetId: undefined | string

The ID of the target in which to list resources.

Optional timeFirstDetectedGreaterThanOrEqualTo

timeFirstDetectedGreaterThanOrEqualTo: Date

Start time for a filter. If start time is not specified, start time will be set to current time - 30 days.

Optional timeFirstDetectedLessThanOrEqualTo

timeFirstDetectedLessThanOrEqualTo: Date

End time for a filter. If end time is not specified, end time will be set to current time.

Optional timeLastDetectedGreaterThanOrEqualTo

timeLastDetectedGreaterThanOrEqualTo: Date

Start time for a filter. If start time is not specified, start time will be set to current time - 30 days.

Optional timeLastDetectedLessThanOrEqualTo

timeLastDetectedLessThanOrEqualTo: Date

End time for a filter. If end time is not specified, end time will be set to current time.