azure_mgmt_migrate 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate.rb +80 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/assessed_machines.rb +293 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/assessment_options.rb +121 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/assessments.rb +790 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/azure_migrate.rb +160 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/groups.rb +506 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/location.rb +129 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/machines.rb +241 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/assessed_disk.rb +312 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/assessed_machine.rb +547 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/assessed_machine_result_list.rb +55 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/assessed_network_adapter.rb +197 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/assessment.rb +367 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/assessment_options_result_list.rb +78 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/assessment_result_list.rb +55 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/assessment_sizing_criterion.rb +16 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/assessment_stage.rb +17 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/assessment_status.rb +19 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/azure_disk_size.rb +29 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/azure_disk_suitability_explanation.rb +22 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/azure_disk_type.rb +17 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/azure_hybrid_use_benefit.rb +17 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/azure_location.rb +45 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/azure_network_adapter_suitability_explanation.rb +17 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/azure_offer_code.rb +52 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/azure_pricing_tier.rb +16 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/azure_storage_redundancy.rb +19 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/azure_vm_size.rb +105 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/azure_vm_suitability_explanation.rb +50 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/check_name_availability_parameters.rb +61 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/check_name_availability_result.rb +78 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/cloud_suitability.rb +19 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/currency.rb +40 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/discovery_status.rb +18 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/disk.rb +59 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/download_url.rb +59 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/group.rb +151 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/group_result_list.rb +55 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/machine.rb +317 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/machine_boot_type.rb +17 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/machine_result_list.rb +55 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/name_availability_reason.rb +17 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/network_adapter.rb +67 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/operation.rb +71 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/operation_display.rb +83 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/operation_result_list.rb +55 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/percentile.rb +18 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/project.rb +256 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/project_key.rb +59 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/project_result_list.rb +55 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/provisioning_state.rb +20 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/time_range.rb +17 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/models/vm_family.rb +88 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/module_definition.rb +9 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/operations.rb +113 -0
- data/lib/2018-02-02/generated/azure_mgmt_migrate/projects.rb +756 -0
- data/lib/azure_mgmt_migrate.rb +6 -0
- data/lib/module_definition.rb +7 -0
- data/lib/profiles/latest/migrate_latest_profile_client.rb +40 -0
- data/lib/profiles/latest/migrate_module_definition.rb +8 -0
- data/lib/profiles/latest/modules/migrate_profile_module.rb +255 -0
- data/lib/version.rb +7 -0
- metadata +180 -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 '2018-02-02/generated/azure_mgmt_migrate'
|
6
|
+
require 'profiles/latest/migrate_latest_profile_client'
|
@@ -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/migrate_module_definition'
|
6
|
+
require 'profiles/latest/modules/migrate_profile_module'
|
7
|
+
|
8
|
+
module Azure::Migrate::Profiles::Latest
|
9
|
+
module Mgmt
|
10
|
+
#
|
11
|
+
# Client class for the Latest profile SDK.
|
12
|
+
#
|
13
|
+
class Client < MigrateManagementClass
|
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::Migrate end
|
7
|
+
module Azure::Migrate::Profiles end
|
8
|
+
module Azure::Migrate::Profiles::Latest end
|
@@ -0,0 +1,255 @@
|
|
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_migrate'
|
6
|
+
|
7
|
+
module Azure::Migrate::Profiles::Latest
|
8
|
+
module Mgmt
|
9
|
+
Location = Azure::Migrate::Mgmt::V2018_02_02::Location
|
10
|
+
AssessmentOptions = Azure::Migrate::Mgmt::V2018_02_02::AssessmentOptions
|
11
|
+
Projects = Azure::Migrate::Mgmt::V2018_02_02::Projects
|
12
|
+
Machines = Azure::Migrate::Mgmt::V2018_02_02::Machines
|
13
|
+
Groups = Azure::Migrate::Mgmt::V2018_02_02::Groups
|
14
|
+
Assessments = Azure::Migrate::Mgmt::V2018_02_02::Assessments
|
15
|
+
AssessedMachines = Azure::Migrate::Mgmt::V2018_02_02::AssessedMachines
|
16
|
+
Operations = Azure::Migrate::Mgmt::V2018_02_02::Operations
|
17
|
+
|
18
|
+
module Models
|
19
|
+
DownloadUrl = Azure::Migrate::Mgmt::V2018_02_02::Models::DownloadUrl
|
20
|
+
Project = Azure::Migrate::Mgmt::V2018_02_02::Models::Project
|
21
|
+
VmFamily = Azure::Migrate::Mgmt::V2018_02_02::Models::VmFamily
|
22
|
+
Assessment = Azure::Migrate::Mgmt::V2018_02_02::Models::Assessment
|
23
|
+
ProjectResultList = Azure::Migrate::Mgmt::V2018_02_02::Models::ProjectResultList
|
24
|
+
NetworkAdapter = Azure::Migrate::Mgmt::V2018_02_02::Models::NetworkAdapter
|
25
|
+
MachineResultList = Azure::Migrate::Mgmt::V2018_02_02::Models::MachineResultList
|
26
|
+
AssessedDisk = Azure::Migrate::Mgmt::V2018_02_02::Models::AssessedDisk
|
27
|
+
GroupResultList = Azure::Migrate::Mgmt::V2018_02_02::Models::GroupResultList
|
28
|
+
AssessedMachine = Azure::Migrate::Mgmt::V2018_02_02::Models::AssessedMachine
|
29
|
+
AssessedMachineResultList = Azure::Migrate::Mgmt::V2018_02_02::Models::AssessedMachineResultList
|
30
|
+
OperationDisplay = Azure::Migrate::Mgmt::V2018_02_02::Models::OperationDisplay
|
31
|
+
AssessmentResultList = Azure::Migrate::Mgmt::V2018_02_02::Models::AssessmentResultList
|
32
|
+
Group = Azure::Migrate::Mgmt::V2018_02_02::Models::Group
|
33
|
+
OperationResultList = Azure::Migrate::Mgmt::V2018_02_02::Models::OperationResultList
|
34
|
+
Machine = Azure::Migrate::Mgmt::V2018_02_02::Models::Machine
|
35
|
+
AssessmentOptionsResultList = Azure::Migrate::Mgmt::V2018_02_02::Models::AssessmentOptionsResultList
|
36
|
+
ProjectKey = Azure::Migrate::Mgmt::V2018_02_02::Models::ProjectKey
|
37
|
+
Disk = Azure::Migrate::Mgmt::V2018_02_02::Models::Disk
|
38
|
+
Operation = Azure::Migrate::Mgmt::V2018_02_02::Models::Operation
|
39
|
+
CheckNameAvailabilityParameters = Azure::Migrate::Mgmt::V2018_02_02::Models::CheckNameAvailabilityParameters
|
40
|
+
AssessedNetworkAdapter = Azure::Migrate::Mgmt::V2018_02_02::Models::AssessedNetworkAdapter
|
41
|
+
CheckNameAvailabilityResult = Azure::Migrate::Mgmt::V2018_02_02::Models::CheckNameAvailabilityResult
|
42
|
+
DiscoveryStatus = Azure::Migrate::Mgmt::V2018_02_02::Models::DiscoveryStatus
|
43
|
+
ProvisioningState = Azure::Migrate::Mgmt::V2018_02_02::Models::ProvisioningState
|
44
|
+
AzureLocation = Azure::Migrate::Mgmt::V2018_02_02::Models::AzureLocation
|
45
|
+
AzureOfferCode = Azure::Migrate::Mgmt::V2018_02_02::Models::AzureOfferCode
|
46
|
+
AzurePricingTier = Azure::Migrate::Mgmt::V2018_02_02::Models::AzurePricingTier
|
47
|
+
AzureStorageRedundancy = Azure::Migrate::Mgmt::V2018_02_02::Models::AzureStorageRedundancy
|
48
|
+
Percentile = Azure::Migrate::Mgmt::V2018_02_02::Models::Percentile
|
49
|
+
TimeRange = Azure::Migrate::Mgmt::V2018_02_02::Models::TimeRange
|
50
|
+
AssessmentStage = Azure::Migrate::Mgmt::V2018_02_02::Models::AssessmentStage
|
51
|
+
Currency = Azure::Migrate::Mgmt::V2018_02_02::Models::Currency
|
52
|
+
AzureHybridUseBenefit = Azure::Migrate::Mgmt::V2018_02_02::Models::AzureHybridUseBenefit
|
53
|
+
AssessmentSizingCriterion = Azure::Migrate::Mgmt::V2018_02_02::Models::AssessmentSizingCriterion
|
54
|
+
AssessmentStatus = Azure::Migrate::Mgmt::V2018_02_02::Models::AssessmentStatus
|
55
|
+
MachineBootType = Azure::Migrate::Mgmt::V2018_02_02::Models::MachineBootType
|
56
|
+
AzureDiskType = Azure::Migrate::Mgmt::V2018_02_02::Models::AzureDiskType
|
57
|
+
AzureDiskSize = Azure::Migrate::Mgmt::V2018_02_02::Models::AzureDiskSize
|
58
|
+
CloudSuitability = Azure::Migrate::Mgmt::V2018_02_02::Models::CloudSuitability
|
59
|
+
AzureDiskSuitabilityExplanation = Azure::Migrate::Mgmt::V2018_02_02::Models::AzureDiskSuitabilityExplanation
|
60
|
+
AzureNetworkAdapterSuitabilityExplanation = Azure::Migrate::Mgmt::V2018_02_02::Models::AzureNetworkAdapterSuitabilityExplanation
|
61
|
+
AzureVmSize = Azure::Migrate::Mgmt::V2018_02_02::Models::AzureVmSize
|
62
|
+
AzureVmSuitabilityExplanation = Azure::Migrate::Mgmt::V2018_02_02::Models::AzureVmSuitabilityExplanation
|
63
|
+
NameAvailabilityReason = Azure::Migrate::Mgmt::V2018_02_02::Models::NameAvailabilityReason
|
64
|
+
end
|
65
|
+
|
66
|
+
#
|
67
|
+
# MigrateManagementClass
|
68
|
+
#
|
69
|
+
class MigrateManagementClass
|
70
|
+
attr_reader :location, :assessment_options, :projects, :machines, :groups, :assessments, :assessed_machines, :operations, :configurable, :base_url, :options, :model_classes
|
71
|
+
|
72
|
+
def initialize(options = {})
|
73
|
+
if options.is_a?(Hash) && options.length == 0
|
74
|
+
@options = setup_default_options
|
75
|
+
else
|
76
|
+
@options = options
|
77
|
+
end
|
78
|
+
|
79
|
+
reset!(options)
|
80
|
+
|
81
|
+
@configurable = self
|
82
|
+
@base_url = options[:base_url].nil? ? nil:options[:base_url]
|
83
|
+
@options = options[:options].nil? ? nil:options[:options]
|
84
|
+
|
85
|
+
@client_0 = Azure::Migrate::Mgmt::V2018_02_02::AzureMigrate.new(configurable.credentials, base_url, options)
|
86
|
+
if(@client_0.respond_to?(:subscription_id))
|
87
|
+
@client_0.subscription_id = configurable.subscription_id
|
88
|
+
end
|
89
|
+
add_telemetry(@client_0)
|
90
|
+
@location = @client_0.location
|
91
|
+
@assessment_options = @client_0.assessment_options
|
92
|
+
@projects = @client_0.projects
|
93
|
+
@machines = @client_0.machines
|
94
|
+
@groups = @client_0.groups
|
95
|
+
@assessments = @client_0.assessments
|
96
|
+
@assessed_machines = @client_0.assessed_machines
|
97
|
+
@operations = @client_0.operations
|
98
|
+
|
99
|
+
@model_classes = ModelClasses.new
|
100
|
+
end
|
101
|
+
|
102
|
+
def add_telemetry(client)
|
103
|
+
profile_information = 'Profiles/Latest/Migrate/Mgmt'
|
104
|
+
client.add_user_agent_information(profile_information)
|
105
|
+
end
|
106
|
+
|
107
|
+
def method_missing(method, *args)
|
108
|
+
if @client_0.respond_to?method
|
109
|
+
@client_0.send(method, *args)
|
110
|
+
else
|
111
|
+
super
|
112
|
+
end
|
113
|
+
end
|
114
|
+
|
115
|
+
end
|
116
|
+
|
117
|
+
class ModelClasses
|
118
|
+
def download_url
|
119
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::DownloadUrl
|
120
|
+
end
|
121
|
+
def project
|
122
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::Project
|
123
|
+
end
|
124
|
+
def vm_family
|
125
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::VmFamily
|
126
|
+
end
|
127
|
+
def assessment
|
128
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::Assessment
|
129
|
+
end
|
130
|
+
def project_result_list
|
131
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::ProjectResultList
|
132
|
+
end
|
133
|
+
def network_adapter
|
134
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::NetworkAdapter
|
135
|
+
end
|
136
|
+
def machine_result_list
|
137
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::MachineResultList
|
138
|
+
end
|
139
|
+
def assessed_disk
|
140
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::AssessedDisk
|
141
|
+
end
|
142
|
+
def group_result_list
|
143
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::GroupResultList
|
144
|
+
end
|
145
|
+
def assessed_machine
|
146
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::AssessedMachine
|
147
|
+
end
|
148
|
+
def assessed_machine_result_list
|
149
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::AssessedMachineResultList
|
150
|
+
end
|
151
|
+
def operation_display
|
152
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::OperationDisplay
|
153
|
+
end
|
154
|
+
def assessment_result_list
|
155
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::AssessmentResultList
|
156
|
+
end
|
157
|
+
def group
|
158
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::Group
|
159
|
+
end
|
160
|
+
def operation_result_list
|
161
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::OperationResultList
|
162
|
+
end
|
163
|
+
def machine
|
164
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::Machine
|
165
|
+
end
|
166
|
+
def assessment_options_result_list
|
167
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::AssessmentOptionsResultList
|
168
|
+
end
|
169
|
+
def project_key
|
170
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::ProjectKey
|
171
|
+
end
|
172
|
+
def disk
|
173
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::Disk
|
174
|
+
end
|
175
|
+
def operation
|
176
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::Operation
|
177
|
+
end
|
178
|
+
def check_name_availability_parameters
|
179
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::CheckNameAvailabilityParameters
|
180
|
+
end
|
181
|
+
def assessed_network_adapter
|
182
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::AssessedNetworkAdapter
|
183
|
+
end
|
184
|
+
def check_name_availability_result
|
185
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::CheckNameAvailabilityResult
|
186
|
+
end
|
187
|
+
def discovery_status
|
188
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::DiscoveryStatus
|
189
|
+
end
|
190
|
+
def provisioning_state
|
191
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::ProvisioningState
|
192
|
+
end
|
193
|
+
def azure_location
|
194
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::AzureLocation
|
195
|
+
end
|
196
|
+
def azure_offer_code
|
197
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::AzureOfferCode
|
198
|
+
end
|
199
|
+
def azure_pricing_tier
|
200
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::AzurePricingTier
|
201
|
+
end
|
202
|
+
def azure_storage_redundancy
|
203
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::AzureStorageRedundancy
|
204
|
+
end
|
205
|
+
def percentile
|
206
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::Percentile
|
207
|
+
end
|
208
|
+
def time_range
|
209
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::TimeRange
|
210
|
+
end
|
211
|
+
def assessment_stage
|
212
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::AssessmentStage
|
213
|
+
end
|
214
|
+
def currency
|
215
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::Currency
|
216
|
+
end
|
217
|
+
def azure_hybrid_use_benefit
|
218
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::AzureHybridUseBenefit
|
219
|
+
end
|
220
|
+
def assessment_sizing_criterion
|
221
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::AssessmentSizingCriterion
|
222
|
+
end
|
223
|
+
def assessment_status
|
224
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::AssessmentStatus
|
225
|
+
end
|
226
|
+
def machine_boot_type
|
227
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::MachineBootType
|
228
|
+
end
|
229
|
+
def azure_disk_type
|
230
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::AzureDiskType
|
231
|
+
end
|
232
|
+
def azure_disk_size
|
233
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::AzureDiskSize
|
234
|
+
end
|
235
|
+
def cloud_suitability
|
236
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::CloudSuitability
|
237
|
+
end
|
238
|
+
def azure_disk_suitability_explanation
|
239
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::AzureDiskSuitabilityExplanation
|
240
|
+
end
|
241
|
+
def azure_network_adapter_suitability_explanation
|
242
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::AzureNetworkAdapterSuitabilityExplanation
|
243
|
+
end
|
244
|
+
def azure_vm_size
|
245
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::AzureVmSize
|
246
|
+
end
|
247
|
+
def azure_vm_suitability_explanation
|
248
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::AzureVmSuitabilityExplanation
|
249
|
+
end
|
250
|
+
def name_availability_reason
|
251
|
+
Azure::Migrate::Mgmt::V2018_02_02::Models::NameAvailabilityReason
|
252
|
+
end
|
253
|
+
end
|
254
|
+
end
|
255
|
+
end
|
data/lib/version.rb
ADDED
metadata
ADDED
@@ -0,0 +1,180 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: azure_mgmt_migrate
|
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-07-23 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/2018-02-02/generated/azure_mgmt_migrate.rb
|
91
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/assessed_machines.rb
|
92
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/assessment_options.rb
|
93
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/assessments.rb
|
94
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/azure_migrate.rb
|
95
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/groups.rb
|
96
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/location.rb
|
97
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/machines.rb
|
98
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/assessed_disk.rb
|
99
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/assessed_machine.rb
|
100
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/assessed_machine_result_list.rb
|
101
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/assessed_network_adapter.rb
|
102
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/assessment.rb
|
103
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/assessment_options_result_list.rb
|
104
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/assessment_result_list.rb
|
105
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/assessment_sizing_criterion.rb
|
106
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/assessment_stage.rb
|
107
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/assessment_status.rb
|
108
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/azure_disk_size.rb
|
109
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/azure_disk_suitability_explanation.rb
|
110
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/azure_disk_type.rb
|
111
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/azure_hybrid_use_benefit.rb
|
112
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/azure_location.rb
|
113
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/azure_network_adapter_suitability_explanation.rb
|
114
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/azure_offer_code.rb
|
115
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/azure_pricing_tier.rb
|
116
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/azure_storage_redundancy.rb
|
117
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/azure_vm_size.rb
|
118
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/azure_vm_suitability_explanation.rb
|
119
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/check_name_availability_parameters.rb
|
120
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/check_name_availability_result.rb
|
121
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/cloud_suitability.rb
|
122
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/currency.rb
|
123
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/discovery_status.rb
|
124
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/disk.rb
|
125
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/download_url.rb
|
126
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/group.rb
|
127
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/group_result_list.rb
|
128
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/machine.rb
|
129
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/machine_boot_type.rb
|
130
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/machine_result_list.rb
|
131
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/name_availability_reason.rb
|
132
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/network_adapter.rb
|
133
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/operation.rb
|
134
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/operation_display.rb
|
135
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/operation_result_list.rb
|
136
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/percentile.rb
|
137
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/project.rb
|
138
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/project_key.rb
|
139
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/project_result_list.rb
|
140
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/provisioning_state.rb
|
141
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/time_range.rb
|
142
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/models/vm_family.rb
|
143
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/module_definition.rb
|
144
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/operations.rb
|
145
|
+
- lib/2018-02-02/generated/azure_mgmt_migrate/projects.rb
|
146
|
+
- lib/azure_mgmt_migrate.rb
|
147
|
+
- lib/module_definition.rb
|
148
|
+
- lib/profiles/latest/migrate_latest_profile_client.rb
|
149
|
+
- lib/profiles/latest/migrate_module_definition.rb
|
150
|
+
- lib/profiles/latest/modules/migrate_profile_module.rb
|
151
|
+
- lib/version.rb
|
152
|
+
homepage: https://aka.ms/azure-sdk-for-ruby
|
153
|
+
licenses:
|
154
|
+
- MIT
|
155
|
+
metadata:
|
156
|
+
bug_tracker_uri: https://github.com/Azure/azure-sdk-for-ruby/issues
|
157
|
+
changelog_uri: https://github.com/Azure/azure-sdk-for-ruby/blob/master/ChangeLog.md
|
158
|
+
documentation_uri: https://azure.microsoft.com/en-us/develop/ruby/
|
159
|
+
homepage_uri: https://aka.ms/azure-sdk-for-ruby
|
160
|
+
post_install_message:
|
161
|
+
rdoc_options: []
|
162
|
+
require_paths:
|
163
|
+
- lib
|
164
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
165
|
+
requirements:
|
166
|
+
- - ">="
|
167
|
+
- !ruby/object:Gem::Version
|
168
|
+
version: 2.0.0
|
169
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
requirements: []
|
175
|
+
rubyforge_project:
|
176
|
+
rubygems_version: 2.7.8
|
177
|
+
signing_key:
|
178
|
+
specification_version: 4
|
179
|
+
summary: Official Ruby client library to consume Migrate
|
180
|
+
test_files: []
|