Class: Azure::Batch::Mgmt::V2018_12_01::Models::AutoStorageProperties

Inherits:
AutoStorageBaseProperties show all
Includes:
MsRestAzure
Defined in:
lib/2018-12-01/generated/azure_mgmt_batch/models/auto_storage_properties.rb

Overview

Contains information about the auto-storage account associated with a Batch account.

Instance Attribute Summary collapse

Attributes inherited from AutoStorageBaseProperties

#storage_account_id

Class Method Summary collapse

Instance Attribute Details

#last_key_syncDateTime

synchronized with the Batch account.

Returns:

  • (DateTime)

    The UTC time at which storage keys were last



18
19
20
# File 'lib/2018-12-01/generated/azure_mgmt_batch/models/auto_storage_properties.rb', line 18

def last_key_sync
  @last_key_sync
end

Class Method Details

.mapperObject

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



25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# File 'lib/2018-12-01/generated/azure_mgmt_batch/models/auto_storage_properties.rb', line 25

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AutoStorageProperties',
    type: {
      name: 'Composite',
      class_name: 'AutoStorageProperties',
      model_properties: {
        storage_account_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'storageAccountId',
          type: {
            name: 'String'
          }
        },
        last_key_sync: {
          client_side_validation: true,
          required: true,
          serialized_name: 'lastKeySync',
          type: {
            name: 'DateTime'
          }
        }
      }
    }
  }
end