Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace ListRecommendationsRequest

example

Click here to see how to use ListRecommendationsRequest.

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 lifecycleDetail

lifecycleDetail: model.RecommendationLifecycleDetail

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

Optional lifecycleState

lifecycleState: model.LifecycleState

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 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 sortBy

sortBy: SortBy

The field to sort by. Only one sort order may be provided. Default order for riskLevel and timeCreated is descending. If no value is specified riskLevel 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.