Class: Azure::Batch::Mgmt::V2017_01_01::Models::AutoStorageProperties

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-01-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

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



22
23
24
# File 'lib/2017-01-01/generated/azure_mgmt_batch/models/auto_storage_properties.rb', line 22

def last_key_sync
  @last_key_sync
end

#storage_account_idString

auto storage account.

Returns:

  • (String)

    The resource ID of the storage account to be used for



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

def 
  @storage_account_id
end

Class Method Details

.mapperObject

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



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
54
55
56
57
# File 'lib/2017-01-01/generated/azure_mgmt_batch/models/auto_storage_properties.rb', line 29

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