Class: Azure::Cosmosdb::Mgmt::V2020_06_01_preview::Models::RestorableLocationResource

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_location_resource.rb

Overview

Properties of the regional restorable account.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#creation_timeDateTime

database account (ISO-8601 format).

Returns:

  • (DateTime)

    The creation time of the regional restorable



23
24
25
# File 'lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_location_resource.rb', line 23

def creation_time
  @creation_time
end

#deletion_timeDateTime

account has been deleted (ISO-8601 format).

Returns:

  • (DateTime)

    The time at which the regional restorable database



27
28
29
# File 'lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_location_resource.rb', line 27

def deletion_time
  @deletion_time
end

#location_nameString

Returns The location of the regional restorable account.

Returns:

  • (String)

    The location of the regional restorable account.



16
17
18
# File 'lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_location_resource.rb', line 16

def location_name
  @location_name
end

#regional_database_account_instance_idString

Returns The instance id of the regional restorable account.

Returns:

  • (String)

    The instance id of the regional restorable account.



19
20
21
# File 'lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_location_resource.rb', line 19

def 
  
end

Class Method Details

.mapperObject

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



34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# 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