azure_mgmt_databox 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/2018-01-01/generated/azure_mgmt_databox.rb +94 -0
  4. data/lib/2018-01-01/generated/azure_mgmt_databox/data_box_management_client.rb +139 -0
  5. data/lib/2018-01-01/generated/azure_mgmt_databox/jobs.rb +1346 -0
  6. data/lib/2018-01-01/generated/azure_mgmt_databox/models/access_protocol.rb +16 -0
  7. data/lib/2018-01-01/generated/azure_mgmt_databox/models/account_credential_details.rb +82 -0
  8. data/lib/2018-01-01/generated/azure_mgmt_databox/models/address_type.rb +17 -0
  9. data/lib/2018-01-01/generated/azure_mgmt_databox/models/address_validation_output.rb +70 -0
  10. data/lib/2018-01-01/generated/azure_mgmt_databox/models/address_validation_status.rb +17 -0
  11. data/lib/2018-01-01/generated/azure_mgmt_databox/models/appliance_network_configuration.rb +59 -0
  12. data/lib/2018-01-01/generated/azure_mgmt_databox/models/arm_base_object.rb +71 -0
  13. data/lib/2018-01-01/generated/azure_mgmt_databox/models/available_sku_request.rb +93 -0
  14. data/lib/2018-01-01/generated/azure_mgmt_databox/models/available_skus_result.rb +99 -0
  15. data/lib/2018-01-01/generated/azure_mgmt_databox/models/cancellation_reason.rb +46 -0
  16. data/lib/2018-01-01/generated/azure_mgmt_databox/models/contact_details.rb +120 -0
  17. data/lib/2018-01-01/generated/azure_mgmt_databox/models/copy_log_details.rb +48 -0
  18. data/lib/2018-01-01/generated/azure_mgmt_databox/models/copy_progress.rb +108 -0
  19. data/lib/2018-01-01/generated/azure_mgmt_databox/models/copy_status.rb +20 -0
  20. data/lib/2018-01-01/generated/azure_mgmt_databox/models/data_box_account_copy_log_details.rb +74 -0
  21. data/lib/2018-01-01/generated/azure_mgmt_databox/models/data_box_disk_copy_log_details.rb +86 -0
  22. data/lib/2018-01-01/generated/azure_mgmt_databox/models/data_box_disk_copy_progress.rb +87 -0
  23. data/lib/2018-01-01/generated/azure_mgmt_databox/models/data_box_disk_job_details.rb +274 -0
  24. data/lib/2018-01-01/generated/azure_mgmt_databox/models/data_box_disk_job_secrets.rb +96 -0
  25. data/lib/2018-01-01/generated/azure_mgmt_databox/models/data_box_heavy_account_copy_log_details.rb +82 -0
  26. data/lib/2018-01-01/generated/azure_mgmt_databox/models/data_box_heavy_job_details.rb +219 -0
  27. data/lib/2018-01-01/generated/azure_mgmt_databox/models/data_box_heavy_job_secrets.rb +72 -0
  28. data/lib/2018-01-01/generated/azure_mgmt_databox/models/data_box_heavy_secret.rb +116 -0
  29. data/lib/2018-01-01/generated/azure_mgmt_databox/models/data_box_job_details.rb +219 -0
  30. data/lib/2018-01-01/generated/azure_mgmt_databox/models/data_box_secret.rb +116 -0
  31. data/lib/2018-01-01/generated/azure_mgmt_databox/models/databox_job_secrets.rb +71 -0
  32. data/lib/2018-01-01/generated/azure_mgmt_databox/models/destination_account_details.rb +59 -0
  33. data/lib/2018-01-01/generated/azure_mgmt_databox/models/destination_managed_disk_details.rb +82 -0
  34. data/lib/2018-01-01/generated/azure_mgmt_databox/models/destination_storage_account_details.rb +69 -0
  35. data/lib/2018-01-01/generated/azure_mgmt_databox/models/destination_to_service_location_map.rb +59 -0
  36. data/lib/2018-01-01/generated/azure_mgmt_databox/models/disk_secret.rb +60 -0
  37. data/lib/2018-01-01/generated/azure_mgmt_databox/models/error.rb +61 -0
  38. data/lib/2018-01-01/generated/azure_mgmt_databox/models/job_details.rb +236 -0
  39. data/lib/2018-01-01/generated/azure_mgmt_databox/models/job_error_details.rb +83 -0
  40. data/lib/2018-01-01/generated/azure_mgmt_databox/models/job_resource.rb +211 -0
  41. data/lib/2018-01-01/generated/azure_mgmt_databox/models/job_resource_list.rb +98 -0
  42. data/lib/2018-01-01/generated/azure_mgmt_databox/models/job_resource_update_parameter.rb +90 -0
  43. data/lib/2018-01-01/generated/azure_mgmt_databox/models/job_secrets.rb +48 -0
  44. data/lib/2018-01-01/generated/azure_mgmt_databox/models/job_stages.rb +124 -0
  45. data/lib/2018-01-01/generated/azure_mgmt_databox/models/notification_preference.rb +60 -0
  46. data/lib/2018-01-01/generated/azure_mgmt_databox/models/notification_stage_name.rb +20 -0
  47. data/lib/2018-01-01/generated/azure_mgmt_databox/models/operation.rb +86 -0
  48. data/lib/2018-01-01/generated/azure_mgmt_databox/models/operation_display.rb +80 -0
  49. data/lib/2018-01-01/generated/azure_mgmt_databox/models/operation_list.rb +99 -0
  50. data/lib/2018-01-01/generated/azure_mgmt_databox/models/package_shipping_details.rb +71 -0
  51. data/lib/2018-01-01/generated/azure_mgmt_databox/models/preferences.rb +54 -0
  52. data/lib/2018-01-01/generated/azure_mgmt_databox/models/resource.rb +92 -0
  53. data/lib/2018-01-01/generated/azure_mgmt_databox/models/share_credential_details.rb +108 -0
  54. data/lib/2018-01-01/generated/azure_mgmt_databox/models/share_destination_format_type.rb +20 -0
  55. data/lib/2018-01-01/generated/azure_mgmt_databox/models/shipment_pick_up_request.rb +70 -0
  56. data/lib/2018-01-01/generated/azure_mgmt_databox/models/shipment_pick_up_response.rb +60 -0
  57. data/lib/2018-01-01/generated/azure_mgmt_databox/models/shipping_address.rb +147 -0
  58. data/lib/2018-01-01/generated/azure_mgmt_databox/models/sku.rb +70 -0
  59. data/lib/2018-01-01/generated/azure_mgmt_databox/models/sku_capacity.rb +59 -0
  60. data/lib/2018-01-01/generated/azure_mgmt_databox/models/sku_cost.rb +59 -0
  61. data/lib/2018-01-01/generated/azure_mgmt_databox/models/sku_disabled_reason.rb +20 -0
  62. data/lib/2018-01-01/generated/azure_mgmt_databox/models/sku_information.rb +175 -0
  63. data/lib/2018-01-01/generated/azure_mgmt_databox/models/sku_name.rb +17 -0
  64. data/lib/2018-01-01/generated/azure_mgmt_databox/models/stage_name.rb +27 -0
  65. data/lib/2018-01-01/generated/azure_mgmt_databox/models/stage_status.rb +21 -0
  66. data/lib/2018-01-01/generated/azure_mgmt_databox/models/unencrypted_credentials.rb +62 -0
  67. data/lib/2018-01-01/generated/azure_mgmt_databox/models/unencrypted_credentials_list.rb +67 -0
  68. data/lib/2018-01-01/generated/azure_mgmt_databox/models/update_job_details.rb +59 -0
  69. data/lib/2018-01-01/generated/azure_mgmt_databox/models/validate_address.rb +61 -0
  70. data/lib/2018-01-01/generated/azure_mgmt_databox/module_definition.rb +9 -0
  71. data/lib/2018-01-01/generated/azure_mgmt_databox/operations.rb +218 -0
  72. data/lib/2018-01-01/generated/azure_mgmt_databox/service.rb +353 -0
  73. data/lib/azure_mgmt_databox.rb +6 -0
  74. data/lib/module_definition.rb +7 -0
  75. data/lib/profiles/latest/databox_latest_profile_client.rb +40 -0
  76. data/lib/profiles/latest/databox_module_definition.rb +8 -0
  77. data/lib/profiles/latest/modules/databox_profile_module.rb +321 -0
  78. data/lib/version.rb +7 -0
  79. metadata +194 -0
@@ -0,0 +1,82 @@
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::DataBox::Mgmt::V2018_01_01
7
+ module Models
8
+ #
9
+ # Copy log details for a storage account for DataBoxHeavy
10
+ #
11
+ class DataBoxHeavyAccountCopyLogDetails < CopyLogDetails
12
+
13
+ include MsRestAzure
14
+
15
+
16
+ def initialize
17
+ @copyLogDetailsType = "DataBoxHeavy"
18
+ end
19
+
20
+ attr_accessor :copyLogDetailsType
21
+
22
+ # @return [String] Destination account name.
23
+ attr_accessor :account_name
24
+
25
+ # @return [Array<String>] Link for copy logs.
26
+ attr_accessor :copy_log_link
27
+
28
+
29
+ #
30
+ # Mapper for DataBoxHeavyAccountCopyLogDetails class as Ruby Hash.
31
+ # This will be used for serialization/deserialization.
32
+ #
33
+ def self.mapper()
34
+ {
35
+ client_side_validation: true,
36
+ required: false,
37
+ serialized_name: 'DataBoxHeavy',
38
+ type: {
39
+ name: 'Composite',
40
+ class_name: 'DataBoxHeavyAccountCopyLogDetails',
41
+ model_properties: {
42
+ copyLogDetailsType: {
43
+ client_side_validation: true,
44
+ required: true,
45
+ serialized_name: 'copyLogDetailsType',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ },
50
+ account_name: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ read_only: true,
54
+ serialized_name: 'accountName',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ copy_log_link: {
60
+ client_side_validation: true,
61
+ required: false,
62
+ read_only: true,
63
+ serialized_name: 'copyLogLink',
64
+ type: {
65
+ name: 'Sequence',
66
+ element: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ serialized_name: 'StringElementType',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+ }
78
+ }
79
+ end
80
+ end
81
+ end
82
+ end
@@ -0,0 +1,219 @@
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::DataBox::Mgmt::V2018_01_01
7
+ module Models
8
+ #
9
+ # DataBoxHeavy Device Job Details
10
+ #
11
+ class DataBoxHeavyJobDetails < JobDetails
12
+
13
+ include MsRestAzure
14
+
15
+
16
+ def initialize
17
+ @jobDetailsType = "DataBoxHeavy"
18
+ end
19
+
20
+ attr_accessor :jobDetailsType
21
+
22
+ # @return [Array<CopyProgress>] Copy progress per account.
23
+ attr_accessor :copy_progress
24
+
25
+
26
+ #
27
+ # Mapper for DataBoxHeavyJobDetails 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: 'DataBoxHeavy',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'DataBoxHeavyJobDetails',
38
+ model_properties: {
39
+ expected_data_size_in_tera_bytes: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'expectedDataSizeInTeraBytes',
43
+ type: {
44
+ name: 'Number'
45
+ }
46
+ },
47
+ job_stages: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ read_only: true,
51
+ serialized_name: 'jobStages',
52
+ type: {
53
+ name: 'Sequence',
54
+ element: {
55
+ client_side_validation: true,
56
+ required: false,
57
+ serialized_name: 'JobStagesElementType',
58
+ type: {
59
+ name: 'Composite',
60
+ class_name: 'JobStages'
61
+ }
62
+ }
63
+ }
64
+ },
65
+ contact_details: {
66
+ client_side_validation: true,
67
+ required: true,
68
+ serialized_name: 'contactDetails',
69
+ type: {
70
+ name: 'Composite',
71
+ class_name: 'ContactDetails'
72
+ }
73
+ },
74
+ shipping_address: {
75
+ client_side_validation: true,
76
+ required: true,
77
+ serialized_name: 'shippingAddress',
78
+ type: {
79
+ name: 'Composite',
80
+ class_name: 'ShippingAddress'
81
+ }
82
+ },
83
+ delivery_package: {
84
+ client_side_validation: true,
85
+ required: false,
86
+ read_only: true,
87
+ serialized_name: 'deliveryPackage',
88
+ type: {
89
+ name: 'Composite',
90
+ class_name: 'PackageShippingDetails'
91
+ }
92
+ },
93
+ return_package: {
94
+ client_side_validation: true,
95
+ required: false,
96
+ read_only: true,
97
+ serialized_name: 'returnPackage',
98
+ type: {
99
+ name: 'Composite',
100
+ class_name: 'PackageShippingDetails'
101
+ }
102
+ },
103
+ destination_account_details: {
104
+ client_side_validation: true,
105
+ required: true,
106
+ serialized_name: 'destinationAccountDetails',
107
+ type: {
108
+ name: 'Sequence',
109
+ element: {
110
+ client_side_validation: true,
111
+ required: false,
112
+ serialized_name: 'DestinationAccountDetailsElementType',
113
+ type: {
114
+ name: 'Composite',
115
+ polymorphic_discriminator: 'dataDestinationType',
116
+ uber_parent: 'DestinationAccountDetails',
117
+ class_name: 'DestinationAccountDetails'
118
+ }
119
+ }
120
+ }
121
+ },
122
+ error_details: {
123
+ client_side_validation: true,
124
+ required: false,
125
+ read_only: true,
126
+ serialized_name: 'errorDetails',
127
+ type: {
128
+ name: 'Sequence',
129
+ element: {
130
+ client_side_validation: true,
131
+ required: false,
132
+ serialized_name: 'JobErrorDetailsElementType',
133
+ type: {
134
+ name: 'Composite',
135
+ class_name: 'JobErrorDetails'
136
+ }
137
+ }
138
+ }
139
+ },
140
+ preferences: {
141
+ client_side_validation: true,
142
+ required: false,
143
+ serialized_name: 'preferences',
144
+ type: {
145
+ name: 'Composite',
146
+ class_name: 'Preferences'
147
+ }
148
+ },
149
+ copy_log_details: {
150
+ client_side_validation: true,
151
+ required: false,
152
+ read_only: true,
153
+ serialized_name: 'copyLogDetails',
154
+ type: {
155
+ name: 'Sequence',
156
+ element: {
157
+ client_side_validation: true,
158
+ required: false,
159
+ serialized_name: 'CopyLogDetailsElementType',
160
+ type: {
161
+ name: 'Composite',
162
+ polymorphic_discriminator: 'copyLogDetailsType',
163
+ uber_parent: 'CopyLogDetails',
164
+ class_name: 'CopyLogDetails'
165
+ }
166
+ }
167
+ }
168
+ },
169
+ reverse_shipment_label_sas_key: {
170
+ client_side_validation: true,
171
+ required: false,
172
+ read_only: true,
173
+ serialized_name: 'reverseShipmentLabelSasKey',
174
+ type: {
175
+ name: 'String'
176
+ }
177
+ },
178
+ chain_of_custody_sas_key: {
179
+ client_side_validation: true,
180
+ required: false,
181
+ read_only: true,
182
+ serialized_name: 'chainOfCustodySasKey',
183
+ type: {
184
+ name: 'String'
185
+ }
186
+ },
187
+ jobDetailsType: {
188
+ client_side_validation: true,
189
+ required: true,
190
+ serialized_name: 'jobDetailsType',
191
+ type: {
192
+ name: 'String'
193
+ }
194
+ },
195
+ copy_progress: {
196
+ client_side_validation: true,
197
+ required: false,
198
+ read_only: true,
199
+ serialized_name: 'copyProgress',
200
+ type: {
201
+ name: 'Sequence',
202
+ element: {
203
+ client_side_validation: true,
204
+ required: false,
205
+ serialized_name: 'CopyProgressElementType',
206
+ type: {
207
+ name: 'Composite',
208
+ class_name: 'CopyProgress'
209
+ }
210
+ }
211
+ }
212
+ }
213
+ }
214
+ }
215
+ }
216
+ end
217
+ end
218
+ end
219
+ end
@@ -0,0 +1,72 @@
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::DataBox::Mgmt::V2018_01_01
7
+ module Models
8
+ #
9
+ # The secrets related to a DataBoxHeavy job.
10
+ #
11
+ class DataBoxHeavyJobSecrets < JobSecrets
12
+
13
+ include MsRestAzure
14
+
15
+
16
+ def initialize
17
+ @jobSecretsType = "DataBoxHeavy"
18
+ end
19
+
20
+ attr_accessor :jobSecretsType
21
+
22
+ # @return [Array<DataBoxHeavySecret>] Contains the list of secret objects
23
+ # for a DataBoxHeavy job.
24
+ attr_accessor :cabinet_pod_secrets
25
+
26
+
27
+ #
28
+ # Mapper for DataBoxHeavyJobSecrets class as Ruby Hash.
29
+ # This will be used for serialization/deserialization.
30
+ #
31
+ def self.mapper()
32
+ {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'DataBoxHeavy',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'DataBoxHeavyJobSecrets',
39
+ model_properties: {
40
+ jobSecretsType: {
41
+ client_side_validation: true,
42
+ required: true,
43
+ serialized_name: 'jobSecretsType',
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ },
48
+ cabinet_pod_secrets: {
49
+ client_side_validation: true,
50
+ required: false,
51
+ read_only: true,
52
+ serialized_name: 'cabinetPodSecrets',
53
+ type: {
54
+ name: 'Sequence',
55
+ element: {
56
+ client_side_validation: true,
57
+ required: false,
58
+ serialized_name: 'DataBoxHeavySecretElementType',
59
+ type: {
60
+ name: 'Composite',
61
+ class_name: 'DataBoxHeavySecret'
62
+ }
63
+ }
64
+ }
65
+ }
66
+ }
67
+ }
68
+ }
69
+ end
70
+ end
71
+ end
72
+ end
@@ -0,0 +1,116 @@
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::DataBox::Mgmt::V2018_01_01
7
+ module Models
8
+ #
9
+ # The secrets related to a DataBoxHeavy.
10
+ #
11
+ class DataBoxHeavySecret
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Serial number of the assigned device.
16
+ attr_accessor :device_serial_number
17
+
18
+ # @return [String] Password for out of the box experience on device.
19
+ attr_accessor :device_password
20
+
21
+ # @return [Array<ApplianceNetworkConfiguration>] Network configuration of
22
+ # the appliance.
23
+ attr_accessor :network_configurations
24
+
25
+ # @return [String] The base 64 encoded public key to authenticate with
26
+ # the device
27
+ attr_accessor :encoded_validation_cert_pub_key
28
+
29
+ # @return [Array<AccountCredentialDetails>] Per account level access
30
+ # credentials.
31
+ attr_accessor :account_credential_details
32
+
33
+
34
+ #
35
+ # Mapper for DataBoxHeavySecret class as Ruby Hash.
36
+ # This will be used for serialization/deserialization.
37
+ #
38
+ def self.mapper()
39
+ {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'DataBoxHeavySecret',
43
+ type: {
44
+ name: 'Composite',
45
+ class_name: 'DataBoxHeavySecret',
46
+ model_properties: {
47
+ device_serial_number: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ read_only: true,
51
+ serialized_name: 'deviceSerialNumber',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ },
56
+ device_password: {
57
+ client_side_validation: true,
58
+ required: false,
59
+ read_only: true,
60
+ serialized_name: 'devicePassword',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ network_configurations: {
66
+ client_side_validation: true,
67
+ required: false,
68
+ read_only: true,
69
+ serialized_name: 'networkConfigurations',
70
+ type: {
71
+ name: 'Sequence',
72
+ element: {
73
+ client_side_validation: true,
74
+ required: false,
75
+ serialized_name: 'ApplianceNetworkConfigurationElementType',
76
+ type: {
77
+ name: 'Composite',
78
+ class_name: 'ApplianceNetworkConfiguration'
79
+ }
80
+ }
81
+ }
82
+ },
83
+ encoded_validation_cert_pub_key: {
84
+ client_side_validation: true,
85
+ required: false,
86
+ read_only: true,
87
+ serialized_name: 'encodedValidationCertPubKey',
88
+ type: {
89
+ name: 'String'
90
+ }
91
+ },
92
+ account_credential_details: {
93
+ client_side_validation: true,
94
+ required: false,
95
+ read_only: true,
96
+ serialized_name: 'accountCredentialDetails',
97
+ type: {
98
+ name: 'Sequence',
99
+ element: {
100
+ client_side_validation: true,
101
+ required: false,
102
+ serialized_name: 'AccountCredentialDetailsElementType',
103
+ type: {
104
+ name: 'Composite',
105
+ class_name: 'AccountCredentialDetails'
106
+ }
107
+ }
108
+ }
109
+ }
110
+ }
111
+ }
112
+ }
113
+ end
114
+ end
115
+ end
116
+ end