Class: Azure::Cosmosdb::Mgmt::V2020_06_01_preview::Models::RestorableSqlDatabasePropertiesResource

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

Overview

Model object.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#_ridString

Returns A system generated property. A unique identifier.

Returns:

  • (String)

    A system generated property. A unique identifier.



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

def _rid
  @_rid
end

#databaseRestorableSqlDatabasePropertiesResourceDatabase



34
35
36
# File 'lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_sql_database_properties_resource.rb', line 34

def database
  @database
end

#event_timestampString

Returns The timestamp of this database event.

Returns:

  • (String)

    The timestamp of this database event.



25
26
27
# File 'lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_sql_database_properties_resource.rb', line 25

def event_timestamp
  @event_timestamp
end

#operation_typeOperationType

Possible values include: ‘Create’, ‘Replace’, ‘Delete’, ‘SystemOperation’

Returns:



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

def operation_type
  @operation_type
end

#owner_idString

Returns The name of this restorable SQL database.

Returns:

  • (String)

    The name of this restorable SQL database.



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

def owner_id
  @owner_id
end

#owner_resource_idString

Returns The resource Id of this restorable SQL database.

Returns:

  • (String)

    The resource Id of this restorable SQL database.



31
32
33
# File 'lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_sql_database_properties_resource.rb', line 31

def owner_resource_id
  @owner_resource_id
end

Class Method Details

.mapperObject

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



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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
# File 'lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_sql_database_properties_resource.rb', line 41

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RestorableSqlDatabaseProperties_resource',
    type: {
      name: 'Composite',
      class_name: 'RestorableSqlDatabasePropertiesResource',
      model_properties: {
        _rid: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: '_rid',
          type: {
            name: 'String'
          }
        },
        operation_type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'operationType',
          type: {
            name: 'String'
          }
        },
        event_timestamp: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'eventTimestamp',
          type: {
            name: 'String'
          }
        },
        owner_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'ownerId',
          type: {
            name: 'String'
          }
        },
        owner_resource_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'ownerResourceId',
          type: {
            name: 'String'
          }
        },
        database: {
          client_side_validation: true,
          required: false,
          serialized_name: 'database',
          type: {
            name: 'Composite',
            class_name: 'RestorableSqlDatabasePropertiesResourceDatabase'
          }
        }
      }
    }
  }
end