Class: Azure::DataBox::Mgmt::V2018_01_01::Models::CopyProgress

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-01-01/generated/azure_mgmt_databox/models/copy_progress.rb

Overview

Copy progress.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#account_idString

Returns Id of the account where the data needs to be uploaded.

Returns:

  • (String)

    Id of the account where the data needs to be uploaded.



20
21
22
# File 'lib/2018-01-01/generated/azure_mgmt_databox/models/copy_progress.rb', line 20

def 
  @account_id
end

#bytes_sent_to_cloudInteger

Returns Amount of data uploaded by the job as of now.

Returns:

  • (Integer)

    Amount of data uploaded by the job as of now.



23
24
25
# File 'lib/2018-01-01/generated/azure_mgmt_databox/models/copy_progress.rb', line 23

def bytes_sent_to_cloud
  @bytes_sent_to_cloud
end

#files_processedInteger

Returns Number of files processed by the job as of now.

Returns:

  • (Integer)

    Number of files processed by the job as of now.



29
30
31
# File 'lib/2018-01-01/generated/azure_mgmt_databox/models/copy_progress.rb', line 29

def files_processed
  @files_processed
end

#storage_account_nameString

uploaded.

Returns:

  • (String)

    Name of the storage account where the data needs to be



17
18
19
# File 'lib/2018-01-01/generated/azure_mgmt_databox/models/copy_progress.rb', line 17

def 
  @storage_account_name
end

#total_bytes_to_processInteger

Returns Total amount of data to be processed by the job.

Returns:

  • (Integer)

    Total amount of data to be processed by the job.



26
27
28
# File 'lib/2018-01-01/generated/azure_mgmt_databox/models/copy_progress.rb', line 26

def total_bytes_to_process
  @total_bytes_to_process
end

#total_files_to_processInteger

Returns Total number of files to be processed by the job.

Returns:

  • (Integer)

    Total number of files to be processed by the job.



32
33
34
# File 'lib/2018-01-01/generated/azure_mgmt_databox/models/copy_progress.rb', line 32

def total_files_to_process
  @total_files_to_process
end

Class Method Details

.mapperObject

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



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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# File 'lib/2018-01-01/generated/azure_mgmt_databox/models/copy_progress.rb', line 39

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'CopyProgress',
    type: {
      name: 'Composite',
      class_name: 'CopyProgress',
      model_properties: {
        storage_account_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'storageAccountName',
          type: {
            name: 'String'
          }
        },
        account_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'accountId',
          type: {
            name: 'String'
          }
        },
        bytes_sent_to_cloud: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'bytesSentToCloud',
          type: {
            name: 'Number'
          }
        },
        total_bytes_to_process: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'totalBytesToProcess',
          type: {
            name: 'Number'
          }
        },
        files_processed: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'filesProcessed',
          type: {
            name: 'Number'
          }
        },
        total_files_to_process: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'totalFilesToProcess',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end