Class: Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DataStatistics

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/models/data_statistics.rb

Overview

The additional details related to the data related statistics of a job. Currently applicable only for Backup, Clone and Restore jobs.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#cloud_dataInteger

of the job.

Returns:

  • (Integer)

    The number of bytes of data written to cloud, as part



26
27
28
# File 'lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/models/data_statistics.rb', line 26

def cloud_data
  @cloud_data
end

#processed_dataInteger

part of the job.

Returns:

  • (Integer)

    The number of bytes of data processed till now, as



22
23
24
# File 'lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/models/data_statistics.rb', line 22

def processed_data
  @processed_data
end

#throughputInteger

as part of the job.

Returns:

  • (Integer)

    The average throughput of data processed(bytes/sec),



30
31
32
# File 'lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/models/data_statistics.rb', line 30

def throughput
  @throughput
end

#total_dataInteger

the job.

Returns:

  • (Integer)

    The total bytes of data to be processed, as part of



18
19
20
# File 'lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/models/data_statistics.rb', line 18

def total_data
  @total_data
end

Class Method Details

.mapperObject

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



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
# File 'lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/models/data_statistics.rb', line 37

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DataStatistics',
    type: {
      name: 'Composite',
      class_name: 'DataStatistics',
      model_properties: {
        total_data: {
          client_side_validation: true,
          required: false,
          serialized_name: 'totalData',
          type: {
            name: 'Number'
          }
        },
        processed_data: {
          client_side_validation: true,
          required: false,
          serialized_name: 'processedData',
          type: {
            name: 'Number'
          }
        },
        cloud_data: {
          client_side_validation: true,
          required: false,
          serialized_name: 'cloudData',
          type: {
            name: 'Number'
          }
        },
        throughput: {
          client_side_validation: true,
          required: false,
          serialized_name: 'throughput',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end