Module: OCI::Recovery::Models

Defined in:
lib/oci/recovery/recovery.rb,
lib/oci/recovery/models/health.rb,
lib/oci/recovery/models/sort_order.rb,
lib/oci/recovery/models/action_type.rb,
lib/oci/recovery/models/database_sizes.rb,
lib/oci/recovery/models/operation_type.rb,
lib/oci/recovery/models/lifecycle_state.rb,
lib/oci/recovery/models/operation_status.rb,
lib/oci/recovery/models/deletion_schedule.rb

Overview

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

Defined Under Namespace

Classes: ChangeProtectedDatabaseCompartmentDetails, ChangeProtectionPolicyCompartmentDetails, ChangeRecoveryServiceSubnetCompartmentDetails, CreateProtectedDatabaseDetails, CreateProtectionPolicyDetails, CreateRecoveryServiceSubnetDetails, FetchProtectedDatabaseConfigurationDetails, Metrics, MetricsSummary, ProtectedDatabase, ProtectedDatabaseCollection, ProtectedDatabaseSummary, ProtectionPolicy, ProtectionPolicyCollection, ProtectionPolicySummary, RecoveryServiceSubnet, RecoveryServiceSubnetCollection, RecoveryServiceSubnetDetails, RecoveryServiceSubnetInput, RecoveryServiceSubnetSummary, ScheduleProtectedDatabaseDeletionDetails, UpdateProtectedDatabaseDetails, UpdateProtectionPolicyDetails, UpdateRecoveryServiceSubnetDetails, WorkRequest, WorkRequestError, WorkRequestErrorCollection, WorkRequestLogEntry, WorkRequestLogEntryCollection, WorkRequestResource, WorkRequestSummary, WorkRequestSummaryCollection

Constant Summary collapse

HEALTH_ENUM =
[
  HEALTH_PROTECTED = 'PROTECTED'.freeze,
  HEALTH_WARNING = 'WARNING'.freeze,
  HEALTH_ALERT = 'ALERT'.freeze
].freeze
SORT_ORDER_ENUM =
[
  SORT_ORDER_ASC = 'ASC'.freeze,
  SORT_ORDER_DESC = 'DESC'.freeze
].freeze
ACTION_TYPE_ENUM =
[
  ACTION_TYPE_CREATED = 'CREATED'.freeze,
  ACTION_TYPE_UPDATED = 'UPDATED'.freeze,
  ACTION_TYPE_DELETED = 'DELETED'.freeze,
  ACTION_TYPE_IN_PROGRESS = 'IN_PROGRESS'.freeze,
  ACTION_TYPE_RELATED = 'RELATED'.freeze,
  ACTION_TYPE_FAILED = 'FAILED'.freeze
].freeze
DATABASE_SIZES_ENUM =
[
  DATABASE_SIZES_XS = 'XS'.freeze,
  DATABASE_SIZES_S = 'S'.freeze,
  DATABASE_SIZES_M = 'M'.freeze,
  DATABASE_SIZES_L = 'L'.freeze,
  DATABASE_SIZES_XL = 'XL'.freeze,
  DATABASE_SIZES_XXL = 'XXL'.freeze,
  DATABASE_SIZES_AUTO = 'AUTO'.freeze
].freeze
OPERATION_TYPE_ENUM =
[
  OPERATION_TYPE_CREATE_PROTECTED_DATABASE = 'CREATE_PROTECTED_DATABASE'.freeze,
  OPERATION_TYPE_UPDATE_PROTECTED_DATABASE = 'UPDATE_PROTECTED_DATABASE'.freeze,
  OPERATION_TYPE_DELETE_PROTECTED_DATABASE = 'DELETE_PROTECTED_DATABASE'.freeze,
  OPERATION_TYPE_MOVE_PROTECTED_DATABASE = 'MOVE_PROTECTED_DATABASE'.freeze,
  OPERATION_TYPE_CREATE_PROTECTION_POLICY = 'CREATE_PROTECTION_POLICY'.freeze,
  OPERATION_TYPE_UPDATE_PROTECTION_POLICY = 'UPDATE_PROTECTION_POLICY'.freeze,
  OPERATION_TYPE_DELETE_PROTECTION_POLICY = 'DELETE_PROTECTION_POLICY'.freeze,
  OPERATION_TYPE_MOVE_PROTECTION_POLICY = 'MOVE_PROTECTION_POLICY'.freeze,
  OPERATION_TYPE_CREATE_RECOVERY_SERVICE_SUBNET = 'CREATE_RECOVERY_SERVICE_SUBNET'.freeze,
  OPERATION_TYPE_UPDATE_RECOVERY_SERVICE_SUBNET = 'UPDATE_RECOVERY_SERVICE_SUBNET'.freeze,
  OPERATION_TYPE_DELETE_RECOVERY_SERVICE_SUBNET = 'DELETE_RECOVERY_SERVICE_SUBNET'.freeze,
  OPERATION_TYPE_MOVE_RECOVERY_SERVICE_SUBNET = 'MOVE_RECOVERY_SERVICE_SUBNET'.freeze
].freeze
LIFECYCLE_STATE_ENUM =
[
  LIFECYCLE_STATE_CREATING = 'CREATING'.freeze,
  LIFECYCLE_STATE_UPDATING = 'UPDATING'.freeze,
  LIFECYCLE_STATE_ACTIVE = 'ACTIVE'.freeze,
  LIFECYCLE_STATE_DELETE_SCHEDULED = 'DELETE_SCHEDULED'.freeze,
  LIFECYCLE_STATE_DELETING = 'DELETING'.freeze,
  LIFECYCLE_STATE_DELETED = 'DELETED'.freeze,
  LIFECYCLE_STATE_FAILED = 'FAILED'.freeze
].freeze
OPERATION_STATUS_ENUM =
[
  OPERATION_STATUS_ACCEPTED = 'ACCEPTED'.freeze,
  OPERATION_STATUS_WAITING = 'WAITING'.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
DELETION_SCHEDULE_ENUM =
[
  DELETION_SCHEDULE_DELETE_AFTER_RETENTION_PERIOD = 'DELETE_AFTER_RETENTION_PERIOD'.freeze,
  DELETION_SCHEDULE_DELETE_AFTER_72_HOURS = 'DELETE_AFTER_72_HOURS'.freeze
].freeze