azure_mgmt_import_export 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/2016-11-01/generated/azure_mgmt_import_export.rb +51 -0
  4. data/lib/2016-11-01/generated/azure_mgmt_import_export/bit_locker_keys.rb +122 -0
  5. data/lib/2016-11-01/generated/azure_mgmt_import_export/jobs.rb +886 -0
  6. data/lib/2016-11-01/generated/azure_mgmt_import_export/locations.rb +207 -0
  7. data/lib/2016-11-01/generated/azure_mgmt_import_export/models/drive_bit_locker_key.rb +57 -0
  8. data/lib/2016-11-01/generated/azure_mgmt_import_export/models/drive_state.rb +21 -0
  9. data/lib/2016-11-01/generated/azure_mgmt_import_export/models/drive_status.rb +175 -0
  10. data/lib/2016-11-01/generated/azure_mgmt_import_export/models/error_response.rb +100 -0
  11. data/lib/2016-11-01/generated/azure_mgmt_import_export/models/error_response_error_details_item.rb +69 -0
  12. data/lib/2016-11-01/generated/azure_mgmt_import_export/models/export.rb +89 -0
  13. data/lib/2016-11-01/generated/azure_mgmt_import_export/models/get_bit_locker_keys_response.rb +55 -0
  14. data/lib/2016-11-01/generated/azure_mgmt_import_export/models/job_details.rb +257 -0
  15. data/lib/2016-11-01/generated/azure_mgmt_import_export/models/job_response.rb +105 -0
  16. data/lib/2016-11-01/generated/azure_mgmt_import_export/models/list_jobs_response.rb +98 -0
  17. data/lib/2016-11-01/generated/azure_mgmt_import_export/models/list_operations_response.rb +55 -0
  18. data/lib/2016-11-01/generated/azure_mgmt_import_export/models/location.rb +207 -0
  19. data/lib/2016-11-01/generated/azure_mgmt_import_export/models/locations_response.rb +55 -0
  20. data/lib/2016-11-01/generated/azure_mgmt_import_export/models/operation.rb +92 -0
  21. data/lib/2016-11-01/generated/azure_mgmt_import_export/models/package_infomation.rb +81 -0
  22. data/lib/2016-11-01/generated/azure_mgmt_import_export/models/put_job_parameters.rb +70 -0
  23. data/lib/2016-11-01/generated/azure_mgmt_import_export/models/return_address.rb +139 -0
  24. data/lib/2016-11-01/generated/azure_mgmt_import_export/models/return_shipping.rb +57 -0
  25. data/lib/2016-11-01/generated/azure_mgmt_import_export/models/shipping_information.rb +129 -0
  26. data/lib/2016-11-01/generated/azure_mgmt_import_export/models/update_job_parameters.rb +156 -0
  27. data/lib/2016-11-01/generated/azure_mgmt_import_export/module_definition.rb +9 -0
  28. data/lib/2016-11-01/generated/azure_mgmt_import_export/operations.rb +112 -0
  29. data/lib/2016-11-01/generated/azure_mgmt_import_export/storage_import_export.rb +142 -0
  30. data/lib/azure_mgmt_import_export.rb +6 -0
  31. data/lib/module_definition.rb +7 -0
  32. data/lib/profiles/latest/importexport_latest_profile_client.rb +40 -0
  33. data/lib/profiles/latest/importexport_module_definition.rb +8 -0
  34. data/lib/profiles/latest/modules/importexport_profile_module.rb +147 -0
  35. data/lib/version.rb +7 -0
  36. metadata +151 -0
@@ -0,0 +1,100 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ImportExport::Mgmt::V2016_11_01
7
+ module Models
8
+ #
9
+ # Response when errors occurred
10
+ #
11
+ class ErrorResponse
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Provides information about the error code.
16
+ attr_accessor :code
17
+
18
+ # @return [String] Provides information about the error message.
19
+ attr_accessor :message
20
+
21
+ # @return [String] Provides information about the error target.
22
+ attr_accessor :target
23
+
24
+ # @return [Array<ErrorResponseErrorDetailsItem>] Describes the error
25
+ # details if present.
26
+ attr_accessor :details
27
+
28
+ # @return Inner error object if present.
29
+ attr_accessor :innererror
30
+
31
+
32
+ #
33
+ # Mapper for ErrorResponse class as Ruby Hash.
34
+ # This will be used for serialization/deserialization.
35
+ #
36
+ def self.mapper()
37
+ {
38
+ client_side_validation: true,
39
+ required: false,
40
+ serialized_name: 'ErrorResponse',
41
+ type: {
42
+ name: 'Composite',
43
+ class_name: 'ErrorResponse',
44
+ model_properties: {
45
+ code: {
46
+ client_side_validation: true,
47
+ required: false,
48
+ serialized_name: 'error.code',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ },
53
+ message: {
54
+ client_side_validation: true,
55
+ required: false,
56
+ serialized_name: 'error.message',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ target: {
62
+ client_side_validation: true,
63
+ required: false,
64
+ serialized_name: 'error.target',
65
+ type: {
66
+ name: 'String'
67
+ }
68
+ },
69
+ details: {
70
+ client_side_validation: true,
71
+ required: false,
72
+ serialized_name: 'error.details',
73
+ type: {
74
+ name: 'Sequence',
75
+ element: {
76
+ client_side_validation: true,
77
+ required: false,
78
+ serialized_name: 'ErrorResponseErrorDetailsItemElementType',
79
+ type: {
80
+ name: 'Composite',
81
+ class_name: 'ErrorResponseErrorDetailsItem'
82
+ }
83
+ }
84
+ }
85
+ },
86
+ innererror: {
87
+ client_side_validation: true,
88
+ required: false,
89
+ serialized_name: 'error.innererror',
90
+ type: {
91
+ name: 'Object'
92
+ }
93
+ }
94
+ }
95
+ }
96
+ }
97
+ end
98
+ end
99
+ end
100
+ end
@@ -0,0 +1,69 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ImportExport::Mgmt::V2016_11_01
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ #
12
+ class ErrorResponseErrorDetailsItem
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] Provides information about the error code.
17
+ attr_accessor :code
18
+
19
+ # @return [String] Provides information about the error target.
20
+ attr_accessor :target
21
+
22
+ # @return [String] Provides information about the error message.
23
+ attr_accessor :message
24
+
25
+
26
+ #
27
+ # Mapper for ErrorResponseErrorDetailsItem class as Ruby Hash.
28
+ # This will be used for serialization/deserialization.
29
+ #
30
+ def self.mapper()
31
+ {
32
+ client_side_validation: true,
33
+ required: false,
34
+ serialized_name: 'ErrorResponse_error_detailsItem',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'ErrorResponseErrorDetailsItem',
38
+ model_properties: {
39
+ code: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'code',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ target: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ serialized_name: 'target',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ },
55
+ message: {
56
+ client_side_validation: true,
57
+ required: false,
58
+ serialized_name: 'message',
59
+ type: {
60
+ name: 'String'
61
+ }
62
+ }
63
+ }
64
+ }
65
+ }
66
+ end
67
+ end
68
+ end
69
+ end
@@ -0,0 +1,89 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ImportExport::Mgmt::V2016_11_01
7
+ module Models
8
+ #
9
+ # A property containing information about the blobs to be exported for an
10
+ # export job. This property is required for export jobs, but must not be
11
+ # specified for import jobs.
12
+ #
13
+ class Export
14
+
15
+ include MsRestAzure
16
+
17
+ # @return [Array<String>] A collection of blob-path strings.
18
+ attr_accessor :blob_path
19
+
20
+ # @return [Array<String>] A collection of blob-prefix strings.
21
+ attr_accessor :blob_path_prefix
22
+
23
+ # @return [String] The relative URI to the block blob that contains the
24
+ # list of blob paths or blob path prefixes as defined above, beginning
25
+ # with the container name. If the blob is in root container, the URI must
26
+ # begin with $root.
27
+ attr_accessor :blob_listblob_path
28
+
29
+
30
+ #
31
+ # Mapper for Export class as Ruby Hash.
32
+ # This will be used for serialization/deserialization.
33
+ #
34
+ def self.mapper()
35
+ {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'Export',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'Export',
42
+ model_properties: {
43
+ blob_path: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'blobList.blobPath',
47
+ type: {
48
+ name: 'Sequence',
49
+ element: {
50
+ client_side_validation: true,
51
+ required: false,
52
+ serialized_name: 'StringElementType',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ }
57
+ }
58
+ },
59
+ blob_path_prefix: {
60
+ client_side_validation: true,
61
+ required: false,
62
+ serialized_name: 'blobList.blobPathPrefix',
63
+ type: {
64
+ name: 'Sequence',
65
+ element: {
66
+ client_side_validation: true,
67
+ required: false,
68
+ serialized_name: 'StringElementType',
69
+ type: {
70
+ name: 'String'
71
+ }
72
+ }
73
+ }
74
+ },
75
+ blob_listblob_path: {
76
+ client_side_validation: true,
77
+ required: false,
78
+ serialized_name: 'blobListblobPath',
79
+ type: {
80
+ name: 'String'
81
+ }
82
+ }
83
+ }
84
+ }
85
+ }
86
+ end
87
+ end
88
+ end
89
+ end
@@ -0,0 +1,55 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ImportExport::Mgmt::V2016_11_01
7
+ module Models
8
+ #
9
+ # GetBitLockerKeys response
10
+ #
11
+ class GetBitLockerKeysResponse
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<DriveBitLockerKey>] drive status
16
+ attr_accessor :value
17
+
18
+
19
+ #
20
+ # Mapper for GetBitLockerKeysResponse class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'GetBitLockerKeysResponse',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'GetBitLockerKeysResponse',
31
+ model_properties: {
32
+ value: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'value',
36
+ type: {
37
+ name: 'Sequence',
38
+ element: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'DriveBitLockerKeyElementType',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'DriveBitLockerKey'
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ end
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,257 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ImportExport::Mgmt::V2016_11_01
7
+ module Models
8
+ #
9
+ # Specifies the job properties
10
+ #
11
+ class JobDetails
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The resource identifier of the storage account where
16
+ # data will be imported to or exported from.
17
+ attr_accessor :storage_account_id
18
+
19
+ # @return [String] The type of job
20
+ attr_accessor :job_type
21
+
22
+ # @return [ReturnAddress] Specifies the return address information for
23
+ # the job.
24
+ attr_accessor :return_address
25
+
26
+ # @return [ReturnShipping] Specifies the return carrier and customer's
27
+ # account with the carrier.
28
+ attr_accessor :return_shipping
29
+
30
+ # @return [ShippingInformation] Contains information about the Microsoft
31
+ # datacenter to which the drives should be shipped.
32
+ attr_accessor :shipping_information
33
+
34
+ # @return [PackageInfomation] Contains information about the package
35
+ # being shipped by the customer to the Microsoft data center.
36
+ attr_accessor :delivery_package
37
+
38
+ # @return [PackageInfomation] Contains information about the package
39
+ # being shipped from the Microsoft data center to the customer to return
40
+ # the drives. The format is the same as the deliveryPackage property
41
+ # above. This property is not included if the drives have not yet been
42
+ # returned.
43
+ attr_accessor :return_package
44
+
45
+ # @return [String] The virtual blob directory to which the copy logs and
46
+ # backups of drive manifest files (if enabled) will be stored.
47
+ attr_accessor :diagnostics_path
48
+
49
+ # @return [String] Default value is Error. Indicates whether error
50
+ # logging or verbose logging will be enabled.
51
+ attr_accessor :log_level
52
+
53
+ # @return [Boolean] Default value is false. Indicates whether the
54
+ # manifest files on the drives should be copied to block blobs.
55
+ attr_accessor :backup_drive_manifest
56
+
57
+ # @return [String] Current state of the job.
58
+ attr_accessor :state
59
+
60
+ # @return [Boolean] Indicates whether a request has been submitted to
61
+ # cancel the job.
62
+ attr_accessor :cancel_requested
63
+
64
+ # @return [Integer] Overall percentage completed for the job.
65
+ attr_accessor :percent_complete
66
+
67
+ # @return [String] A blob path that points to a block blob containing a
68
+ # list of blob names that were not exported due to insufficient drive
69
+ # space. If all blobs were exported successfully, then this element is
70
+ # not included in the response.
71
+ attr_accessor :incomplete_blob_list_uri
72
+
73
+ # @return [Array<DriveStatus>] List of up to ten drives that comprise the
74
+ # job. The drive list is a required element for an import job; it is not
75
+ # specified for export jobs.
76
+ attr_accessor :drive_list
77
+
78
+ # @return [Export] A property containing information about the blobs to
79
+ # be exported for an export job. This property is included for export
80
+ # jobs only.
81
+ attr_accessor :export
82
+
83
+ # @return [String] Specifies the provisioning state of the job.
84
+ attr_accessor :provisioning_state
85
+
86
+
87
+ #
88
+ # Mapper for JobDetails class as Ruby Hash.
89
+ # This will be used for serialization/deserialization.
90
+ #
91
+ def self.mapper()
92
+ {
93
+ client_side_validation: true,
94
+ required: false,
95
+ serialized_name: 'JobDetails',
96
+ type: {
97
+ name: 'Composite',
98
+ class_name: 'JobDetails',
99
+ model_properties: {
100
+ storage_account_id: {
101
+ client_side_validation: true,
102
+ required: false,
103
+ serialized_name: 'storageAccountId',
104
+ type: {
105
+ name: 'String'
106
+ }
107
+ },
108
+ job_type: {
109
+ client_side_validation: true,
110
+ required: false,
111
+ serialized_name: 'jobType',
112
+ type: {
113
+ name: 'String'
114
+ }
115
+ },
116
+ return_address: {
117
+ client_side_validation: true,
118
+ required: false,
119
+ serialized_name: 'returnAddress',
120
+ type: {
121
+ name: 'Composite',
122
+ class_name: 'ReturnAddress'
123
+ }
124
+ },
125
+ return_shipping: {
126
+ client_side_validation: true,
127
+ required: false,
128
+ serialized_name: 'returnShipping',
129
+ type: {
130
+ name: 'Composite',
131
+ class_name: 'ReturnShipping'
132
+ }
133
+ },
134
+ shipping_information: {
135
+ client_side_validation: true,
136
+ required: false,
137
+ serialized_name: 'shippingInformation',
138
+ type: {
139
+ name: 'Composite',
140
+ class_name: 'ShippingInformation'
141
+ }
142
+ },
143
+ delivery_package: {
144
+ client_side_validation: true,
145
+ required: false,
146
+ serialized_name: 'deliveryPackage',
147
+ type: {
148
+ name: 'Composite',
149
+ class_name: 'PackageInfomation'
150
+ }
151
+ },
152
+ return_package: {
153
+ client_side_validation: true,
154
+ required: false,
155
+ serialized_name: 'returnPackage',
156
+ type: {
157
+ name: 'Composite',
158
+ class_name: 'PackageInfomation'
159
+ }
160
+ },
161
+ diagnostics_path: {
162
+ client_side_validation: true,
163
+ required: false,
164
+ serialized_name: 'diagnosticsPath',
165
+ type: {
166
+ name: 'String'
167
+ }
168
+ },
169
+ log_level: {
170
+ client_side_validation: true,
171
+ required: false,
172
+ serialized_name: 'logLevel',
173
+ type: {
174
+ name: 'String'
175
+ }
176
+ },
177
+ backup_drive_manifest: {
178
+ client_side_validation: true,
179
+ required: false,
180
+ serialized_name: 'backupDriveManifest',
181
+ type: {
182
+ name: 'Boolean'
183
+ }
184
+ },
185
+ state: {
186
+ client_side_validation: true,
187
+ required: false,
188
+ serialized_name: 'state',
189
+ type: {
190
+ name: 'String'
191
+ }
192
+ },
193
+ cancel_requested: {
194
+ client_side_validation: true,
195
+ required: false,
196
+ serialized_name: 'cancelRequested',
197
+ type: {
198
+ name: 'Boolean'
199
+ }
200
+ },
201
+ percent_complete: {
202
+ client_side_validation: true,
203
+ required: false,
204
+ serialized_name: 'percentComplete',
205
+ type: {
206
+ name: 'Number'
207
+ }
208
+ },
209
+ incomplete_blob_list_uri: {
210
+ client_side_validation: true,
211
+ required: false,
212
+ serialized_name: 'incompleteBlobListUri',
213
+ type: {
214
+ name: 'String'
215
+ }
216
+ },
217
+ drive_list: {
218
+ client_side_validation: true,
219
+ required: false,
220
+ serialized_name: 'driveList',
221
+ type: {
222
+ name: 'Sequence',
223
+ element: {
224
+ client_side_validation: true,
225
+ required: false,
226
+ serialized_name: 'DriveStatusElementType',
227
+ type: {
228
+ name: 'Composite',
229
+ class_name: 'DriveStatus'
230
+ }
231
+ }
232
+ }
233
+ },
234
+ export: {
235
+ client_side_validation: true,
236
+ required: false,
237
+ serialized_name: 'export',
238
+ type: {
239
+ name: 'Composite',
240
+ class_name: 'Export'
241
+ }
242
+ },
243
+ provisioning_state: {
244
+ client_side_validation: true,
245
+ required: false,
246
+ serialized_name: 'provisioningState',
247
+ type: {
248
+ name: 'String'
249
+ }
250
+ }
251
+ }
252
+ }
253
+ }
254
+ end
255
+ end
256
+ end
257
+ end