class Azure::Cosmosdb::Mgmt::V2020_06_01_preview::Models::RestorableLocationResource

Properties of the regional restorable account.

Attributes

creation_time[RW]

@return [DateTime] The creation time of the regional restorable database account (ISO-8601 format).

deletion_time[RW]

@return [DateTime] The time at which the regional restorable database account has been deleted (ISO-8601 format).

location_name[RW]

@return [String] The location of the regional restorable account.

regional_database_account_instance_id[RW]

@return [String] The instance id of the regional restorable account.

Public Class Methods

mapper() click to toggle source

Mapper for RestorableLocationResource class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_location_resource.rb, line 34
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RestorableLocationResource',
    type: {
      name: 'Composite',
      class_name: 'RestorableLocationResource',
      model_properties: {
        location_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'locationName',
          type: {
            name: 'String'
          }
        },
        regional_database_account_instance_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'regionalDatabaseAccountInstanceId',
          type: {
            name: 'String'
          }
        },
        creation_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'creationTime',
          type: {
            name: 'DateTime'
          }
        },
        deletion_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'deletionTime',
          type: {
            name: 'DateTime'
          }
        }
      }
    }
  }
end