azure_mgmt_import_export 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,6 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ require '2016-11-01/generated/azure_mgmt_import_export'
6
+ require 'profiles/latest/importexport_latest_profile_client'
@@ -0,0 +1,7 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ module Azure end
6
+ module Azure::ImportExport end
7
+ module Azure::ImportExport::Mgmt end
@@ -0,0 +1,40 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ require 'profiles/latest/importexport_module_definition'
6
+ require 'profiles/latest/modules/importexport_profile_module'
7
+
8
+ module Azure::ImportExport::Profiles::Latest
9
+ module Mgmt
10
+ #
11
+ # Client class for the Latest profile SDK.
12
+ #
13
+ class Client < ImportExportManagementClass
14
+ include MsRestAzure::Common::Configurable
15
+
16
+ #
17
+ # Initializes a new instance of the Client class.
18
+ # @param options [Hash] hash of client options.
19
+ # options = {
20
+ # tenant_id: 'YOUR TENANT ID',
21
+ # client_id: 'YOUR CLIENT ID',
22
+ # client_secret: 'YOUR CLIENT SECRET',
23
+ # subscription_id: 'YOUR SUBSCRIPTION ID',
24
+ # credentials: credentials,
25
+ # active_directory_settings: active_directory_settings,
26
+ # base_url: 'YOUR BASE URL',
27
+ # options: options
28
+ # }
29
+ # 'credentials' are optional and if not passed in the hash, will be obtained
30
+ # from MsRest::TokenCredentials using MsRestAzure::ApplicationTokenProvider.
31
+ #
32
+ # Also, base_url, active_directory_settings & options are optional.
33
+ #
34
+ def initialize(options = {})
35
+ super(options)
36
+ end
37
+
38
+ end
39
+ end
40
+ end
@@ -0,0 +1,8 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ module Azure end
6
+ module Azure::ImportExport end
7
+ module Azure::ImportExport::Profiles end
8
+ module Azure::ImportExport::Profiles::Latest end
@@ -0,0 +1,147 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ require 'azure_mgmt_import_export'
6
+
7
+ module Azure::ImportExport::Profiles::Latest
8
+ module Mgmt
9
+ Locations = Azure::ImportExport::Mgmt::V2016_11_01::Locations
10
+ Jobs = Azure::ImportExport::Mgmt::V2016_11_01::Jobs
11
+ BitLockerKeys = Azure::ImportExport::Mgmt::V2016_11_01::BitLockerKeys
12
+ Operations = Azure::ImportExport::Mgmt::V2016_11_01::Operations
13
+
14
+ module Models
15
+ PutJobParameters = Azure::ImportExport::Mgmt::V2016_11_01::Models::PutJobParameters
16
+ UpdateJobParameters = Azure::ImportExport::Mgmt::V2016_11_01::Models::UpdateJobParameters
17
+ ErrorResponse = Azure::ImportExport::Mgmt::V2016_11_01::Models::ErrorResponse
18
+ JobResponse = Azure::ImportExport::Mgmt::V2016_11_01::Models::JobResponse
19
+ ReturnShipping = Azure::ImportExport::Mgmt::V2016_11_01::Models::ReturnShipping
20
+ ListJobsResponse = Azure::ImportExport::Mgmt::V2016_11_01::Models::ListJobsResponse
21
+ PackageInfomation = Azure::ImportExport::Mgmt::V2016_11_01::Models::PackageInfomation
22
+ Operation = Azure::ImportExport::Mgmt::V2016_11_01::Models::Operation
23
+ Export = Azure::ImportExport::Mgmt::V2016_11_01::Models::Export
24
+ Location = Azure::ImportExport::Mgmt::V2016_11_01::Models::Location
25
+ ErrorResponseErrorDetailsItem = Azure::ImportExport::Mgmt::V2016_11_01::Models::ErrorResponseErrorDetailsItem
26
+ LocationsResponse = Azure::ImportExport::Mgmt::V2016_11_01::Models::LocationsResponse
27
+ ShippingInformation = Azure::ImportExport::Mgmt::V2016_11_01::Models::ShippingInformation
28
+ DriveBitLockerKey = Azure::ImportExport::Mgmt::V2016_11_01::Models::DriveBitLockerKey
29
+ JobDetails = Azure::ImportExport::Mgmt::V2016_11_01::Models::JobDetails
30
+ GetBitLockerKeysResponse = Azure::ImportExport::Mgmt::V2016_11_01::Models::GetBitLockerKeysResponse
31
+ DriveStatus = Azure::ImportExport::Mgmt::V2016_11_01::Models::DriveStatus
32
+ ListOperationsResponse = Azure::ImportExport::Mgmt::V2016_11_01::Models::ListOperationsResponse
33
+ ReturnAddress = Azure::ImportExport::Mgmt::V2016_11_01::Models::ReturnAddress
34
+ DriveState = Azure::ImportExport::Mgmt::V2016_11_01::Models::DriveState
35
+ end
36
+
37
+ #
38
+ # ImportExportManagementClass
39
+ #
40
+ class ImportExportManagementClass
41
+ attr_reader :locations, :jobs, :bit_locker_keys, :operations, :configurable, :base_url, :options, :model_classes
42
+
43
+ def initialize(options = {})
44
+ if options.is_a?(Hash) && options.length == 0
45
+ @options = setup_default_options
46
+ else
47
+ @options = options
48
+ end
49
+
50
+ reset!(options)
51
+
52
+ @configurable = self
53
+ @base_url = options[:base_url].nil? ? nil:options[:base_url]
54
+ @options = options[:options].nil? ? nil:options[:options]
55
+
56
+ @client_0 = Azure::ImportExport::Mgmt::V2016_11_01::StorageImportExport.new(configurable.credentials, base_url, options)
57
+ if(@client_0.respond_to?(:subscription_id))
58
+ @client_0.subscription_id = configurable.subscription_id
59
+ end
60
+ add_telemetry(@client_0)
61
+ @locations = @client_0.locations
62
+ @jobs = @client_0.jobs
63
+ @bit_locker_keys = @client_0.bit_locker_keys
64
+ @operations = @client_0.operations
65
+
66
+ @model_classes = ModelClasses.new
67
+ end
68
+
69
+ def add_telemetry(client)
70
+ profile_information = 'Profiles/Latest/ImportExport/Mgmt'
71
+ client.add_user_agent_information(profile_information)
72
+ end
73
+
74
+ def method_missing(method, *args)
75
+ if @client_0.respond_to?method
76
+ @client_0.send(method, *args)
77
+ else
78
+ super
79
+ end
80
+ end
81
+
82
+ end
83
+
84
+ class ModelClasses
85
+ def put_job_parameters
86
+ Azure::ImportExport::Mgmt::V2016_11_01::Models::PutJobParameters
87
+ end
88
+ def update_job_parameters
89
+ Azure::ImportExport::Mgmt::V2016_11_01::Models::UpdateJobParameters
90
+ end
91
+ def error_response
92
+ Azure::ImportExport::Mgmt::V2016_11_01::Models::ErrorResponse
93
+ end
94
+ def job_response
95
+ Azure::ImportExport::Mgmt::V2016_11_01::Models::JobResponse
96
+ end
97
+ def return_shipping
98
+ Azure::ImportExport::Mgmt::V2016_11_01::Models::ReturnShipping
99
+ end
100
+ def list_jobs_response
101
+ Azure::ImportExport::Mgmt::V2016_11_01::Models::ListJobsResponse
102
+ end
103
+ def package_infomation
104
+ Azure::ImportExport::Mgmt::V2016_11_01::Models::PackageInfomation
105
+ end
106
+ def operation
107
+ Azure::ImportExport::Mgmt::V2016_11_01::Models::Operation
108
+ end
109
+ def export
110
+ Azure::ImportExport::Mgmt::V2016_11_01::Models::Export
111
+ end
112
+ def location
113
+ Azure::ImportExport::Mgmt::V2016_11_01::Models::Location
114
+ end
115
+ def error_response_error_details_item
116
+ Azure::ImportExport::Mgmt::V2016_11_01::Models::ErrorResponseErrorDetailsItem
117
+ end
118
+ def locations_response
119
+ Azure::ImportExport::Mgmt::V2016_11_01::Models::LocationsResponse
120
+ end
121
+ def shipping_information
122
+ Azure::ImportExport::Mgmt::V2016_11_01::Models::ShippingInformation
123
+ end
124
+ def drive_bit_locker_key
125
+ Azure::ImportExport::Mgmt::V2016_11_01::Models::DriveBitLockerKey
126
+ end
127
+ def job_details
128
+ Azure::ImportExport::Mgmt::V2016_11_01::Models::JobDetails
129
+ end
130
+ def get_bit_locker_keys_response
131
+ Azure::ImportExport::Mgmt::V2016_11_01::Models::GetBitLockerKeysResponse
132
+ end
133
+ def drive_status
134
+ Azure::ImportExport::Mgmt::V2016_11_01::Models::DriveStatus
135
+ end
136
+ def list_operations_response
137
+ Azure::ImportExport::Mgmt::V2016_11_01::Models::ListOperationsResponse
138
+ end
139
+ def return_address
140
+ Azure::ImportExport::Mgmt::V2016_11_01::Models::ReturnAddress
141
+ end
142
+ def drive_state
143
+ Azure::ImportExport::Mgmt::V2016_11_01::Models::DriveState
144
+ end
145
+ end
146
+ end
147
+ end
@@ -0,0 +1,7 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ module Azure::ImportExport::Mgmt
6
+ VERSION = '0.17.0'
7
+ end
metadata ADDED
@@ -0,0 +1,151 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: azure_mgmt_import_export
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.17.0
5
+ platform: ruby
6
+ authors:
7
+ - Microsoft Corporation
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-11-27 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.9'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.9'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3'
55
+ - !ruby/object:Gem::Dependency
56
+ name: dotenv
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '2'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '2'
69
+ - !ruby/object:Gem::Dependency
70
+ name: ms_rest_azure
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 0.11.1
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 0.11.1
83
+ description:
84
+ email: azrubyteam@microsoft.com
85
+ executables: []
86
+ extensions: []
87
+ extra_rdoc_files: []
88
+ files:
89
+ - LICENSE.txt
90
+ - lib/2016-11-01/generated/azure_mgmt_import_export.rb
91
+ - lib/2016-11-01/generated/azure_mgmt_import_export/bit_locker_keys.rb
92
+ - lib/2016-11-01/generated/azure_mgmt_import_export/jobs.rb
93
+ - lib/2016-11-01/generated/azure_mgmt_import_export/locations.rb
94
+ - lib/2016-11-01/generated/azure_mgmt_import_export/models/drive_bit_locker_key.rb
95
+ - lib/2016-11-01/generated/azure_mgmt_import_export/models/drive_state.rb
96
+ - lib/2016-11-01/generated/azure_mgmt_import_export/models/drive_status.rb
97
+ - lib/2016-11-01/generated/azure_mgmt_import_export/models/error_response.rb
98
+ - lib/2016-11-01/generated/azure_mgmt_import_export/models/error_response_error_details_item.rb
99
+ - lib/2016-11-01/generated/azure_mgmt_import_export/models/export.rb
100
+ - lib/2016-11-01/generated/azure_mgmt_import_export/models/get_bit_locker_keys_response.rb
101
+ - lib/2016-11-01/generated/azure_mgmt_import_export/models/job_details.rb
102
+ - lib/2016-11-01/generated/azure_mgmt_import_export/models/job_response.rb
103
+ - lib/2016-11-01/generated/azure_mgmt_import_export/models/list_jobs_response.rb
104
+ - lib/2016-11-01/generated/azure_mgmt_import_export/models/list_operations_response.rb
105
+ - lib/2016-11-01/generated/azure_mgmt_import_export/models/location.rb
106
+ - lib/2016-11-01/generated/azure_mgmt_import_export/models/locations_response.rb
107
+ - lib/2016-11-01/generated/azure_mgmt_import_export/models/operation.rb
108
+ - lib/2016-11-01/generated/azure_mgmt_import_export/models/package_infomation.rb
109
+ - lib/2016-11-01/generated/azure_mgmt_import_export/models/put_job_parameters.rb
110
+ - lib/2016-11-01/generated/azure_mgmt_import_export/models/return_address.rb
111
+ - lib/2016-11-01/generated/azure_mgmt_import_export/models/return_shipping.rb
112
+ - lib/2016-11-01/generated/azure_mgmt_import_export/models/shipping_information.rb
113
+ - lib/2016-11-01/generated/azure_mgmt_import_export/models/update_job_parameters.rb
114
+ - lib/2016-11-01/generated/azure_mgmt_import_export/module_definition.rb
115
+ - lib/2016-11-01/generated/azure_mgmt_import_export/operations.rb
116
+ - lib/2016-11-01/generated/azure_mgmt_import_export/storage_import_export.rb
117
+ - lib/azure_mgmt_import_export.rb
118
+ - lib/module_definition.rb
119
+ - lib/profiles/latest/importexport_latest_profile_client.rb
120
+ - lib/profiles/latest/importexport_module_definition.rb
121
+ - lib/profiles/latest/modules/importexport_profile_module.rb
122
+ - lib/version.rb
123
+ homepage: https://aka.ms/azure-sdk-for-ruby
124
+ licenses:
125
+ - MIT
126
+ metadata:
127
+ bug_tracker_uri: https://github.com/Azure/azure-sdk-for-ruby/issues
128
+ changelog_uri: https://github.com/Azure/azure-sdk-for-ruby/blob/master/ChangeLog.md
129
+ documentation_uri: https://azure.microsoft.com/en-us/develop/ruby/
130
+ homepage_uri: https://aka.ms/azure-sdk-for-ruby
131
+ post_install_message:
132
+ rdoc_options: []
133
+ require_paths:
134
+ - lib
135
+ required_ruby_version: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - ">="
138
+ - !ruby/object:Gem::Version
139
+ version: 2.0.0
140
+ required_rubygems_version: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - ">="
143
+ - !ruby/object:Gem::Version
144
+ version: '0'
145
+ requirements: []
146
+ rubyforge_project:
147
+ rubygems_version: 2.5.2.3
148
+ signing_key:
149
+ specification_version: 4
150
+ summary: Official Ruby client library to consume ImportExport
151
+ test_files: []