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,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
+ # Locations response
10
+ #
11
+ class LocationsResponse
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<Location>] locations
16
+ attr_accessor :value
17
+
18
+
19
+ #
20
+ # Mapper for LocationsResponse 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: 'LocationsResponse',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'LocationsResponse',
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: 'LocationElementType',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'Location'
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ end
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,92 @@
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
+ # Describes a supported operation by the Storage Import/Export job API.
10
+ #
11
+ class Operation
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Name of the operation.
16
+ attr_accessor :name
17
+
18
+ # @return [String] The resource provider name to which the operation
19
+ # belongs.
20
+ attr_accessor :provider
21
+
22
+ # @return [String] The name of the resource to which the operation
23
+ # belongs.
24
+ attr_accessor :resource
25
+
26
+ # @return [String] The display name of the operation.
27
+ attr_accessor :operation
28
+
29
+ # @return [String] Short description of the operation.
30
+ attr_accessor :description
31
+
32
+
33
+ #
34
+ # Mapper for Operation class as Ruby Hash.
35
+ # This will be used for serialization/deserialization.
36
+ #
37
+ def self.mapper()
38
+ {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'Operation',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'Operation',
45
+ model_properties: {
46
+ name: {
47
+ client_side_validation: true,
48
+ required: true,
49
+ serialized_name: 'name',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ },
54
+ provider: {
55
+ client_side_validation: true,
56
+ required: false,
57
+ serialized_name: 'display.provider',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ },
62
+ resource: {
63
+ client_side_validation: true,
64
+ required: false,
65
+ serialized_name: 'display.resource',
66
+ type: {
67
+ name: 'String'
68
+ }
69
+ },
70
+ operation: {
71
+ client_side_validation: true,
72
+ required: false,
73
+ serialized_name: 'display.operation',
74
+ type: {
75
+ name: 'String'
76
+ }
77
+ },
78
+ description: {
79
+ client_side_validation: true,
80
+ required: false,
81
+ serialized_name: 'display.description',
82
+ type: {
83
+ name: 'String'
84
+ }
85
+ }
86
+ }
87
+ }
88
+ }
89
+ end
90
+ end
91
+ end
92
+ end
@@ -0,0 +1,81 @@
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
+ # Contains information about the package being shipped by the customer to
10
+ # the Microsoft data center.
11
+ #
12
+ class PackageInfomation
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] The name of the carrier that is used to ship the
17
+ # import or export drives.
18
+ attr_accessor :carrier_name
19
+
20
+ # @return [String] The tracking number of the package.
21
+ attr_accessor :tracking_number
22
+
23
+ # @return [Integer] The number of drives included in the package.
24
+ attr_accessor :drive_count
25
+
26
+ # @return [String] The date when the package is shipped.
27
+ attr_accessor :ship_date
28
+
29
+
30
+ #
31
+ # Mapper for PackageInfomation 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: 'PackageInfomation',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'PackageInfomation',
42
+ model_properties: {
43
+ carrier_name: {
44
+ client_side_validation: true,
45
+ required: true,
46
+ serialized_name: 'carrierName',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ },
51
+ tracking_number: {
52
+ client_side_validation: true,
53
+ required: true,
54
+ serialized_name: 'trackingNumber',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ drive_count: {
60
+ client_side_validation: true,
61
+ required: true,
62
+ serialized_name: 'driveCount',
63
+ type: {
64
+ name: 'Number'
65
+ }
66
+ },
67
+ ship_date: {
68
+ client_side_validation: true,
69
+ required: true,
70
+ serialized_name: 'shipDate',
71
+ type: {
72
+ name: 'String'
73
+ }
74
+ }
75
+ }
76
+ }
77
+ }
78
+ end
79
+ end
80
+ end
81
+ end
@@ -0,0 +1,70 @@
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
+ # Put Job parameters
10
+ #
11
+ class PutJobParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Specifies the supported Azure location where the job
16
+ # should be created
17
+ attr_accessor :location
18
+
19
+ # @return Specifies the tags that will be assigned to the job.
20
+ attr_accessor :tags
21
+
22
+ # @return [JobDetails] Specifies the job properties
23
+ attr_accessor :properties
24
+
25
+
26
+ #
27
+ # Mapper for PutJobParameters 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: 'PutJobParameters',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'PutJobParameters',
38
+ model_properties: {
39
+ location: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'location',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ tags: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ serialized_name: 'tags',
51
+ type: {
52
+ name: 'Object'
53
+ }
54
+ },
55
+ properties: {
56
+ client_side_validation: true,
57
+ required: false,
58
+ serialized_name: 'properties',
59
+ type: {
60
+ name: 'Composite',
61
+ class_name: 'JobDetails'
62
+ }
63
+ }
64
+ }
65
+ }
66
+ }
67
+ end
68
+ end
69
+ end
70
+ end
@@ -0,0 +1,139 @@
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 return address information for the job.
10
+ #
11
+ class ReturnAddress
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The name of the recipient who will receive the hard
16
+ # drives when they are returned.
17
+ attr_accessor :recipient_name
18
+
19
+ # @return [String] The first line of the street address to use when
20
+ # returning the drives.
21
+ attr_accessor :street_address1
22
+
23
+ # @return [String] The second line of the street address to use when
24
+ # returning the drives.
25
+ attr_accessor :street_address2
26
+
27
+ # @return [String] The city name to use when returning the drives.
28
+ attr_accessor :city
29
+
30
+ # @return [String] The state or province to use when returning the
31
+ # drives.
32
+ attr_accessor :state_or_province
33
+
34
+ # @return [String] The postal code to use when returning the drives.
35
+ attr_accessor :postal_code
36
+
37
+ # @return [String] The country or region to use when returning the
38
+ # drives.
39
+ attr_accessor :country_or_region
40
+
41
+ # @return [String] Phone number of the recipient of the returned drives.
42
+ attr_accessor :phone
43
+
44
+ # @return [String] Email address of the recipient of the returned drives.
45
+ attr_accessor :email
46
+
47
+
48
+ #
49
+ # Mapper for ReturnAddress class as Ruby Hash.
50
+ # This will be used for serialization/deserialization.
51
+ #
52
+ def self.mapper()
53
+ {
54
+ client_side_validation: true,
55
+ required: false,
56
+ serialized_name: 'ReturnAddress',
57
+ type: {
58
+ name: 'Composite',
59
+ class_name: 'ReturnAddress',
60
+ model_properties: {
61
+ recipient_name: {
62
+ client_side_validation: true,
63
+ required: true,
64
+ serialized_name: 'recipientName',
65
+ type: {
66
+ name: 'String'
67
+ }
68
+ },
69
+ street_address1: {
70
+ client_side_validation: true,
71
+ required: true,
72
+ serialized_name: 'streetAddress1',
73
+ type: {
74
+ name: 'String'
75
+ }
76
+ },
77
+ street_address2: {
78
+ client_side_validation: true,
79
+ required: false,
80
+ serialized_name: 'streetAddress2',
81
+ type: {
82
+ name: 'String'
83
+ }
84
+ },
85
+ city: {
86
+ client_side_validation: true,
87
+ required: true,
88
+ serialized_name: 'city',
89
+ type: {
90
+ name: 'String'
91
+ }
92
+ },
93
+ state_or_province: {
94
+ client_side_validation: true,
95
+ required: false,
96
+ serialized_name: 'stateOrProvince',
97
+ type: {
98
+ name: 'String'
99
+ }
100
+ },
101
+ postal_code: {
102
+ client_side_validation: true,
103
+ required: true,
104
+ serialized_name: 'postalCode',
105
+ type: {
106
+ name: 'String'
107
+ }
108
+ },
109
+ country_or_region: {
110
+ client_side_validation: true,
111
+ required: true,
112
+ serialized_name: 'countryOrRegion',
113
+ type: {
114
+ name: 'String'
115
+ }
116
+ },
117
+ phone: {
118
+ client_side_validation: true,
119
+ required: true,
120
+ serialized_name: 'phone',
121
+ type: {
122
+ name: 'String'
123
+ }
124
+ },
125
+ email: {
126
+ client_side_validation: true,
127
+ required: true,
128
+ serialized_name: 'email',
129
+ type: {
130
+ name: 'String'
131
+ }
132
+ }
133
+ }
134
+ }
135
+ }
136
+ end
137
+ end
138
+ end
139
+ end
@@ -0,0 +1,57 @@
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 return carrier and customer's account with the carrier.
10
+ #
11
+ class ReturnShipping
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The carrier's name.
16
+ attr_accessor :carrier_name
17
+
18
+ # @return [String] The customer's account number with the carrier.
19
+ attr_accessor :carrier_account_number
20
+
21
+
22
+ #
23
+ # Mapper for ReturnShipping class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'ReturnShipping',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'ReturnShipping',
34
+ model_properties: {
35
+ carrier_name: {
36
+ client_side_validation: true,
37
+ required: true,
38
+ serialized_name: 'carrierName',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ },
43
+ carrier_account_number: {
44
+ client_side_validation: true,
45
+ required: true,
46
+ serialized_name: 'carrierAccountNumber',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end