Module: OCI::Optimizer::Models

Defined in:
lib/oci/optimizer/optimizer.rb,
lib/oci/optimizer/models/status.rb,
lib/oci/optimizer/models/importance.rb,
lib/oci/optimizer/models/sort_order.rb,
lib/oci/optimizer/models/action_type.rb,
lib/oci/optimizer/models/operation_type.rb,
lib/oci/optimizer/models/tag_value_type.rb,
lib/oci/optimizer/models/lifecycle_state.rb,
lib/oci/optimizer/models/operation_status.rb,
lib/oci/optimizer/models/strategy_parameter_type.rb,
lib/oci/optimizer/models/work_request_action_type.rb,
lib/oci/optimizer/models/optimizer_enrollment_status.rb,
lib/oci/optimizer/models/work_request_resource_metadata_key.rb

Overview

Module containing models for requests made to, and responses received from, OCI Optimizer services

Defined Under Namespace

Classes: Action, BulkApplyRecommendationsDetails, BulkApplyResourceAction, Category, CategoryCollection, CategorySummary, CreateProfileDetails, EnrollmentStatus, EnrollmentStatusCollection, EnrollmentStatusSummary, EvaluatedMetric, HistoryCollection, HistorySummary, LevelConfiguration, LevelsConfiguration, Profile, ProfileCollection, ProfileLevelCollection, ProfileLevelSummary, ProfileSummary, QueryDetails, QueryableFieldCollection, QueryableFieldSummary, Recommendation, RecommendationCollection, RecommendationCount, RecommendationStrategyCollection, RecommendationStrategySummary, RecommendationSummary, ResourceAction, ResourceActionCollection, ResourceActionSummary, ResourceCount, Strategy, StrategyParameter, SupportedLevel, SupportedLevels, TargetCompartments, TargetTag, TargetTags, UpdateEnrollmentStatusDetails, UpdateProfileDetails, UpdateRecommendationDetails, UpdateResourceActionDetails, WorkRequest, WorkRequestCollection, WorkRequestError, WorkRequestErrorCollection, WorkRequestLogEntry, WorkRequestLogEntryCollection, WorkRequestResource

Constant Summary collapse

STATUS_ENUM =
[
  STATUS_PENDING = 'PENDING'.freeze,
  STATUS_DISMISSED = 'DISMISSED'.freeze,
  STATUS_POSTPONED = 'POSTPONED'.freeze,
  STATUS_IMPLEMENTED = 'IMPLEMENTED'.freeze
].freeze
IMPORTANCE_ENUM =
[
  IMPORTANCE_CRITICAL = 'CRITICAL'.freeze,
  IMPORTANCE_HIGH = 'HIGH'.freeze,
  IMPORTANCE_MODERATE = 'MODERATE'.freeze,
  IMPORTANCE_LOW = 'LOW'.freeze,
  IMPORTANCE_MINOR = 'MINOR'.freeze
].freeze
SORT_ORDER_ENUM =
[
  SORT_ORDER_ASC = 'ASC'.freeze,
  SORT_ORDER_DESC = 'DESC'.freeze
].freeze
ACTION_TYPE_ENUM =
[
  ACTION_TYPE_KB_ARTICLE = 'KB_ARTICLE'.freeze
].freeze
OPERATION_TYPE_ENUM =
[
  OPERATION_TYPE_BULK_APPLY_RECOMMENDATIONS = 'BULK_APPLY_RECOMMENDATIONS'.freeze
].freeze
TAG_VALUE_TYPE_ENUM =
[
  TAG_VALUE_TYPE_VALUE = 'VALUE'.freeze,
  TAG_VALUE_TYPE_ANY = 'ANY'.freeze
].freeze
LIFECYCLE_STATE_ENUM =
[
  LIFECYCLE_STATE_ACTIVE = 'ACTIVE'.freeze,
  LIFECYCLE_STATE_FAILED = 'FAILED'.freeze,
  LIFECYCLE_STATE_INACTIVE = 'INACTIVE'.freeze,
  LIFECYCLE_STATE_ATTACHING = 'ATTACHING'.freeze,
  LIFECYCLE_STATE_DETACHING = 'DETACHING'.freeze,
  LIFECYCLE_STATE_DELETING = 'DELETING'.freeze,
  LIFECYCLE_STATE_DELETED = 'DELETED'.freeze,
  LIFECYCLE_STATE_UPDATING = 'UPDATING'.freeze,
  LIFECYCLE_STATE_CREATING = 'CREATING'.freeze
].freeze
OPERATION_STATUS_ENUM =
[
  OPERATION_STATUS_ACCEPTED = 'ACCEPTED'.freeze,
  OPERATION_STATUS_IN_PROGRESS = 'IN_PROGRESS'.freeze,
  OPERATION_STATUS_FAILED = 'FAILED'.freeze,
  OPERATION_STATUS_SUCCEEDED = 'SUCCEEDED'.freeze,
  OPERATION_STATUS_CANCELING = 'CANCELING'.freeze,
  OPERATION_STATUS_CANCELED = 'CANCELED'.freeze
].freeze
STRATEGY_PARAMETER_TYPE_ENUM =
[
  STRATEGY_PARAMETER_TYPE_STRING = 'STRING'.freeze,
  STRATEGY_PARAMETER_TYPE_BOOLEAN = 'BOOLEAN'.freeze,
  STRATEGY_PARAMETER_TYPE_NUMBER = 'NUMBER'.freeze,
  STRATEGY_PARAMETER_TYPE_DATETIME = 'DATETIME'.freeze
].freeze
WORK_REQUEST_ACTION_TYPE_ENUM =
[
  WORK_REQUEST_ACTION_TYPE_CREATED = 'CREATED'.freeze,
  WORK_REQUEST_ACTION_TYPE_UPDATED = 'UPDATED'.freeze,
  WORK_REQUEST_ACTION_TYPE_DELETED = 'DELETED'.freeze,
  WORK_REQUEST_ACTION_TYPE_IN_PROGRESS = 'IN_PROGRESS'.freeze,
  WORK_REQUEST_ACTION_TYPE_RELATED = 'RELATED'.freeze
].freeze
OPTIMIZER_ENROLLMENT_STATUS_ENUM =
[
  OPTIMIZER_ENROLLMENT_STATUS_ACTIVE = 'ACTIVE'.freeze,
  OPTIMIZER_ENROLLMENT_STATUS_INACTIVE = 'INACTIVE'.freeze
].freeze
WORK_REQUEST_RESOURCE_METADATA_KEY_ENUM =
[
  WORK_REQUEST_RESOURCE_METADATA_KEY_OPERATION_NAME = 'OPERATION_NAME'.freeze
].freeze