azure_mgmt_migrate 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.
- 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,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::Migrate::Mgmt::V2018_02_02
|
|
7
|
+
module Models
|
|
8
|
+
#
|
|
9
|
+
# List of assessed machines.
|
|
10
|
+
#
|
|
11
|
+
class AssessedMachineResultList
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
# @return [Array<AssessedMachine>] List of assessed machines.
|
|
16
|
+
attr_accessor :value
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
#
|
|
20
|
+
# Mapper for AssessedMachineResultList 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: 'AssessedMachineResultList',
|
|
28
|
+
type: {
|
|
29
|
+
name: 'Composite',
|
|
30
|
+
class_name: 'AssessedMachineResultList',
|
|
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: 'AssessedMachineElementType',
|
|
42
|
+
type: {
|
|
43
|
+
name: 'Composite',
|
|
44
|
+
class_name: 'AssessedMachine'
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
end
|
|
@@ -0,0 +1,197 @@
|
|
|
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::Migrate::Mgmt::V2018_02_02
|
|
7
|
+
module Models
|
|
8
|
+
#
|
|
9
|
+
# A network adapter assessed for an assessment.
|
|
10
|
+
#
|
|
11
|
+
class AssessedNetworkAdapter
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
# @return [String] MAC Address of the network adapter.
|
|
16
|
+
attr_accessor :mac_address
|
|
17
|
+
|
|
18
|
+
# @return [Array<String>] List of IP Addresses on the network adapter.
|
|
19
|
+
attr_accessor :ip_addresses
|
|
20
|
+
|
|
21
|
+
# @return [Float] Monthly cost estimate for network bandwidth used by
|
|
22
|
+
# this network adapter.
|
|
23
|
+
attr_accessor :monthly_bandwidth_costs
|
|
24
|
+
|
|
25
|
+
# @return [Float] Adapter throughput for incoming traffic in MegaBytes
|
|
26
|
+
# per second.
|
|
27
|
+
attr_accessor :megabytes_per_second_received
|
|
28
|
+
|
|
29
|
+
# @return [Integer] Expected data points for incoming traffic in
|
|
30
|
+
# MegaBytes per second.
|
|
31
|
+
attr_accessor :megabytes_per_second_received_data_points_expected
|
|
32
|
+
|
|
33
|
+
# @return [Integer] Received data points for incoming traffic in
|
|
34
|
+
# MegaBytes per second.
|
|
35
|
+
attr_accessor :megabytes_per_second_of_read_data_points_received
|
|
36
|
+
|
|
37
|
+
# @return [Float] Adapter throughput for outgoing traffic in MegaBytes
|
|
38
|
+
# per second.
|
|
39
|
+
attr_accessor :megabytes_per_second_transmitted
|
|
40
|
+
|
|
41
|
+
# @return [Integer] Expected data points for outgoing traffic in
|
|
42
|
+
# MegaBytes per second.
|
|
43
|
+
attr_accessor :megabytes_per_second_transmitted_data_points_expected
|
|
44
|
+
|
|
45
|
+
# @return [Integer] Received data points for outgoing traffic in
|
|
46
|
+
# MegaBytes per second.
|
|
47
|
+
attr_accessor :megabytes_per_second_transmitted_data_points_received
|
|
48
|
+
|
|
49
|
+
# @return [Float] Gigabytes transmitted through this adapter each month.
|
|
50
|
+
attr_accessor :net_gigabytes_transmitted_per_month
|
|
51
|
+
|
|
52
|
+
# @return [CloudSuitability] Whether this adapter is suitable for Azure.
|
|
53
|
+
# Possible values include: 'Unknown', 'NotSuitable', 'Suitable',
|
|
54
|
+
# 'ConditionallySuitable', 'ReadinessUnknown'
|
|
55
|
+
attr_accessor :suitability
|
|
56
|
+
|
|
57
|
+
# @return [AzureNetworkAdapterSuitabilityExplanation] If network adapter
|
|
58
|
+
# is suitable, this explains the reasons and mitigation steps. Possible
|
|
59
|
+
# values include: 'Unknown', 'NotApplicable', 'InternalErrorOccured'
|
|
60
|
+
attr_accessor :suitability_explanation
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
#
|
|
64
|
+
# Mapper for AssessedNetworkAdapter class as Ruby Hash.
|
|
65
|
+
# This will be used for serialization/deserialization.
|
|
66
|
+
#
|
|
67
|
+
def self.mapper()
|
|
68
|
+
{
|
|
69
|
+
client_side_validation: true,
|
|
70
|
+
required: false,
|
|
71
|
+
serialized_name: 'AssessedNetworkAdapter',
|
|
72
|
+
type: {
|
|
73
|
+
name: 'Composite',
|
|
74
|
+
class_name: 'AssessedNetworkAdapter',
|
|
75
|
+
model_properties: {
|
|
76
|
+
mac_address: {
|
|
77
|
+
client_side_validation: true,
|
|
78
|
+
required: false,
|
|
79
|
+
read_only: true,
|
|
80
|
+
serialized_name: 'macAddress',
|
|
81
|
+
type: {
|
|
82
|
+
name: 'String'
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
ip_addresses: {
|
|
86
|
+
client_side_validation: true,
|
|
87
|
+
required: false,
|
|
88
|
+
read_only: true,
|
|
89
|
+
serialized_name: 'ipAddresses',
|
|
90
|
+
type: {
|
|
91
|
+
name: 'Sequence',
|
|
92
|
+
element: {
|
|
93
|
+
client_side_validation: true,
|
|
94
|
+
required: false,
|
|
95
|
+
serialized_name: 'StringElementType',
|
|
96
|
+
type: {
|
|
97
|
+
name: 'String'
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
monthly_bandwidth_costs: {
|
|
103
|
+
client_side_validation: true,
|
|
104
|
+
required: false,
|
|
105
|
+
read_only: true,
|
|
106
|
+
serialized_name: 'monthlyBandwidthCosts',
|
|
107
|
+
type: {
|
|
108
|
+
name: 'Double'
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
megabytes_per_second_received: {
|
|
112
|
+
client_side_validation: true,
|
|
113
|
+
required: false,
|
|
114
|
+
read_only: true,
|
|
115
|
+
serialized_name: 'megabytesPerSecondReceived',
|
|
116
|
+
type: {
|
|
117
|
+
name: 'Double'
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
megabytes_per_second_received_data_points_expected: {
|
|
121
|
+
client_side_validation: true,
|
|
122
|
+
required: false,
|
|
123
|
+
read_only: true,
|
|
124
|
+
serialized_name: 'megabytesPerSecondReceivedDataPointsExpected',
|
|
125
|
+
type: {
|
|
126
|
+
name: 'Number'
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
megabytes_per_second_of_read_data_points_received: {
|
|
130
|
+
client_side_validation: true,
|
|
131
|
+
required: false,
|
|
132
|
+
read_only: true,
|
|
133
|
+
serialized_name: 'megabytesPerSecondOfReadDataPointsReceived',
|
|
134
|
+
type: {
|
|
135
|
+
name: 'Number'
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
megabytes_per_second_transmitted: {
|
|
139
|
+
client_side_validation: true,
|
|
140
|
+
required: false,
|
|
141
|
+
read_only: true,
|
|
142
|
+
serialized_name: 'megabytesPerSecondTransmitted',
|
|
143
|
+
type: {
|
|
144
|
+
name: 'Double'
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
megabytes_per_second_transmitted_data_points_expected: {
|
|
148
|
+
client_side_validation: true,
|
|
149
|
+
required: false,
|
|
150
|
+
read_only: true,
|
|
151
|
+
serialized_name: 'megabytesPerSecondTransmittedDataPointsExpected',
|
|
152
|
+
type: {
|
|
153
|
+
name: 'Number'
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
megabytes_per_second_transmitted_data_points_received: {
|
|
157
|
+
client_side_validation: true,
|
|
158
|
+
required: false,
|
|
159
|
+
read_only: true,
|
|
160
|
+
serialized_name: 'megabytesPerSecondTransmittedDataPointsReceived',
|
|
161
|
+
type: {
|
|
162
|
+
name: 'Number'
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
net_gigabytes_transmitted_per_month: {
|
|
166
|
+
client_side_validation: true,
|
|
167
|
+
required: false,
|
|
168
|
+
serialized_name: 'netGigabytesTransmittedPerMonth',
|
|
169
|
+
type: {
|
|
170
|
+
name: 'Double'
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
suitability: {
|
|
174
|
+
client_side_validation: true,
|
|
175
|
+
required: false,
|
|
176
|
+
read_only: true,
|
|
177
|
+
serialized_name: 'suitability',
|
|
178
|
+
type: {
|
|
179
|
+
name: 'String'
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
suitability_explanation: {
|
|
183
|
+
client_side_validation: true,
|
|
184
|
+
required: false,
|
|
185
|
+
read_only: true,
|
|
186
|
+
serialized_name: 'suitabilityExplanation',
|
|
187
|
+
type: {
|
|
188
|
+
name: 'String'
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
end
|
|
195
|
+
end
|
|
196
|
+
end
|
|
197
|
+
end
|
|
@@ -0,0 +1,367 @@
|
|
|
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::Migrate::Mgmt::V2018_02_02
|
|
7
|
+
module Models
|
|
8
|
+
#
|
|
9
|
+
# An assessment created for a group in the Migration project.
|
|
10
|
+
#
|
|
11
|
+
class Assessment
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
# @return [String] Path reference to this assessment.
|
|
16
|
+
# /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/projects/{projectName}/groups/{groupName}/assessment/{assessmentName}
|
|
17
|
+
attr_accessor :id
|
|
18
|
+
|
|
19
|
+
# @return [String] Unique name of an assessment.
|
|
20
|
+
attr_accessor :name
|
|
21
|
+
|
|
22
|
+
# @return [String] For optimistic concurrency control.
|
|
23
|
+
attr_accessor :e_tag
|
|
24
|
+
|
|
25
|
+
# @return [String] Type of the object =
|
|
26
|
+
# [Microsoft.Migrate/projects/groups/assessments].
|
|
27
|
+
attr_accessor :type
|
|
28
|
+
|
|
29
|
+
# @return [AzureLocation] Target Azure location for which the machines
|
|
30
|
+
# should be assessed. These enums are the same as used by Compute API.
|
|
31
|
+
# Possible values include: 'Unknown', 'EastAsia', 'SoutheastAsia',
|
|
32
|
+
# 'AustraliaEast', 'AustraliaSoutheast', 'BrazilSouth', 'CanadaCentral',
|
|
33
|
+
# 'CanadaEast', 'WestEurope', 'NorthEurope', 'CentralIndia',
|
|
34
|
+
# 'SouthIndia', 'WestIndia', 'JapanEast', 'JapanWest', 'KoreaCentral',
|
|
35
|
+
# 'KoreaSouth', 'UkWest', 'UkSouth', 'NorthCentralUs', 'EastUs',
|
|
36
|
+
# 'WestUs2', 'SouthCentralUs', 'CentralUs', 'EastUs2', 'WestUs',
|
|
37
|
+
# 'WestCentralUs', 'GermanyCentral', 'GermanyNortheast', 'ChinaNorth',
|
|
38
|
+
# 'ChinaEast'
|
|
39
|
+
attr_accessor :azure_location
|
|
40
|
+
|
|
41
|
+
# @return [AzureOfferCode] Offer code according to which cost estimation
|
|
42
|
+
# is done. Possible values include: 'Unknown', 'MSAZR0003P',
|
|
43
|
+
# 'MSAZR0044P', 'MSAZR0059P', 'MSAZR0060P', 'MSAZR0062P', 'MSAZR0063P',
|
|
44
|
+
# 'MSAZR0064P', 'MSAZR0029P', 'MSAZR0022P', 'MSAZR0023P', 'MSAZR0148P',
|
|
45
|
+
# 'MSAZR0025P', 'MSAZR0036P', 'MSAZR0120P', 'MSAZR0121P', 'MSAZR0122P',
|
|
46
|
+
# 'MSAZR0123P', 'MSAZR0124P', 'MSAZR0125P', 'MSAZR0126P', 'MSAZR0127P',
|
|
47
|
+
# 'MSAZR0128P', 'MSAZR0129P', 'MSAZR0130P', 'MSAZR0111P', 'MSAZR0144P',
|
|
48
|
+
# 'MSAZR0149P', 'MSMCAZR0044P', 'MSMCAZR0059P', 'MSMCAZR0060P',
|
|
49
|
+
# 'MSMCAZR0063P', 'MSMCAZR0120P', 'MSMCAZR0121P', 'MSMCAZR0125P',
|
|
50
|
+
# 'MSMCAZR0128P', 'MSAZRDE0003P', 'MSAZRDE0044P'
|
|
51
|
+
attr_accessor :azure_offer_code
|
|
52
|
+
|
|
53
|
+
# @return [AzurePricingTier] Pricing tier for Size evaluation. Possible
|
|
54
|
+
# values include: 'Standard', 'Basic'
|
|
55
|
+
attr_accessor :azure_pricing_tier
|
|
56
|
+
|
|
57
|
+
# @return [AzureStorageRedundancy] Storage Redundancy type offered by
|
|
58
|
+
# Azure. Possible values include: 'Unknown', 'LocallyRedundant',
|
|
59
|
+
# 'ZoneRedundant', 'GeoRedundant', 'ReadAccessGeoRedundant'
|
|
60
|
+
attr_accessor :azure_storage_redundancy
|
|
61
|
+
|
|
62
|
+
# @return [Float] Scaling factor used over utilization data to add a
|
|
63
|
+
# performance buffer for new machines to be created in Azure. Min Value =
|
|
64
|
+
# 1.0, Max value = 1.9, Default = 1.3.
|
|
65
|
+
attr_accessor :scaling_factor
|
|
66
|
+
|
|
67
|
+
# @return [Percentile] Percentile of performance data used to recommend
|
|
68
|
+
# Azure size. Possible values include: 'Percentile50', 'Percentile90',
|
|
69
|
+
# 'Percentile95', 'Percentile99'
|
|
70
|
+
attr_accessor :percentile
|
|
71
|
+
|
|
72
|
+
# @return [TimeRange] Time range of performance data used to recommend a
|
|
73
|
+
# size. Possible values include: 'Day', 'Week', 'Month'
|
|
74
|
+
attr_accessor :time_range
|
|
75
|
+
|
|
76
|
+
# @return [AssessmentStage] User configurable setting that describes the
|
|
77
|
+
# status of the assessment. Possible values include: 'InProgress',
|
|
78
|
+
# 'UnderReview', 'Approved'
|
|
79
|
+
attr_accessor :stage
|
|
80
|
+
|
|
81
|
+
# @return [Currency] Currency to report prices in. Possible values
|
|
82
|
+
# include: 'Unknown', 'USD', 'DKK', 'CAD', 'IDR', 'JPY', 'KRW', 'NZD',
|
|
83
|
+
# 'NOK', 'RUB', 'SAR', 'ZAR', 'SEK', 'TRY', 'GBP', 'MXN', 'MYR', 'INR',
|
|
84
|
+
# 'HKD', 'BRL', 'TWD', 'EUR', 'CHF', 'ARS', 'AUD', 'CNY'
|
|
85
|
+
attr_accessor :currency
|
|
86
|
+
|
|
87
|
+
# @return [AzureHybridUseBenefit] AHUB discount on windows virtual
|
|
88
|
+
# machines. Possible values include: 'Unknown', 'Yes', 'No'
|
|
89
|
+
attr_accessor :azure_hybrid_use_benefit
|
|
90
|
+
|
|
91
|
+
# @return [Float] Custom discount percentage to be applied on final
|
|
92
|
+
# costs. Can be in the range [0, 100].
|
|
93
|
+
attr_accessor :discount_percentage
|
|
94
|
+
|
|
95
|
+
# @return [Float] Confidence rating percentage for assessment. Can be in
|
|
96
|
+
# the range [0, 100].
|
|
97
|
+
attr_accessor :confidence_rating_in_percentage
|
|
98
|
+
|
|
99
|
+
# @return [AssessmentSizingCriterion] Assessment sizing criterion.
|
|
100
|
+
# Possible values include: 'PerformanceBased', 'AsOnPremises'
|
|
101
|
+
attr_accessor :sizing_criterion
|
|
102
|
+
|
|
103
|
+
# @return [DateTime] Time when the Azure Prices were queried. Date-Time
|
|
104
|
+
# represented in ISO-8601 format.
|
|
105
|
+
attr_accessor :prices_timestamp
|
|
106
|
+
|
|
107
|
+
# @return [DateTime] Time when this project was created. Date-Time
|
|
108
|
+
# represented in ISO-8601 format.
|
|
109
|
+
attr_accessor :created_timestamp
|
|
110
|
+
|
|
111
|
+
# @return [DateTime] Time when this project was last updated. Date-Time
|
|
112
|
+
# represented in ISO-8601 format.
|
|
113
|
+
attr_accessor :updated_timestamp
|
|
114
|
+
|
|
115
|
+
# @return [Float] Monthly compute cost estimate for the machines that are
|
|
116
|
+
# part of this assessment as a group, for a 31-day month.
|
|
117
|
+
attr_accessor :monthly_compute_cost
|
|
118
|
+
|
|
119
|
+
# @return [Float] Monthly network cost estimate for the machines that are
|
|
120
|
+
# part of this assessment as a group, for a 31-day month.
|
|
121
|
+
attr_accessor :monthly_bandwidth_cost
|
|
122
|
+
|
|
123
|
+
# @return [Float] Monthly storage cost estimate for the machines that are
|
|
124
|
+
# part of this assessment as a group, for a 31-day month.
|
|
125
|
+
attr_accessor :monthly_storage_cost
|
|
126
|
+
|
|
127
|
+
# @return [AssessmentStatus] Whether the assessment has been created and
|
|
128
|
+
# is valid. Possible values include: 'Created', 'Updated', 'Running',
|
|
129
|
+
# 'Completed', 'Invalid'
|
|
130
|
+
attr_accessor :status
|
|
131
|
+
|
|
132
|
+
# @return [Integer] Number of assessed machines part of this assessment.
|
|
133
|
+
attr_accessor :number_of_machines
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
#
|
|
137
|
+
# Mapper for Assessment class as Ruby Hash.
|
|
138
|
+
# This will be used for serialization/deserialization.
|
|
139
|
+
#
|
|
140
|
+
def self.mapper()
|
|
141
|
+
{
|
|
142
|
+
client_side_validation: true,
|
|
143
|
+
required: false,
|
|
144
|
+
serialized_name: 'Assessment',
|
|
145
|
+
type: {
|
|
146
|
+
name: 'Composite',
|
|
147
|
+
class_name: 'Assessment',
|
|
148
|
+
model_properties: {
|
|
149
|
+
id: {
|
|
150
|
+
client_side_validation: true,
|
|
151
|
+
required: false,
|
|
152
|
+
read_only: true,
|
|
153
|
+
serialized_name: 'id',
|
|
154
|
+
type: {
|
|
155
|
+
name: 'String'
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
name: {
|
|
159
|
+
client_side_validation: true,
|
|
160
|
+
required: false,
|
|
161
|
+
read_only: true,
|
|
162
|
+
serialized_name: 'name',
|
|
163
|
+
type: {
|
|
164
|
+
name: 'String'
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
e_tag: {
|
|
168
|
+
client_side_validation: true,
|
|
169
|
+
required: false,
|
|
170
|
+
serialized_name: 'eTag',
|
|
171
|
+
type: {
|
|
172
|
+
name: 'String'
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
type: {
|
|
176
|
+
client_side_validation: true,
|
|
177
|
+
required: false,
|
|
178
|
+
read_only: true,
|
|
179
|
+
serialized_name: 'type',
|
|
180
|
+
type: {
|
|
181
|
+
name: 'String'
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
azure_location: {
|
|
185
|
+
client_side_validation: true,
|
|
186
|
+
required: true,
|
|
187
|
+
serialized_name: 'properties.azureLocation',
|
|
188
|
+
type: {
|
|
189
|
+
name: 'String'
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
azure_offer_code: {
|
|
193
|
+
client_side_validation: true,
|
|
194
|
+
required: true,
|
|
195
|
+
serialized_name: 'properties.azureOfferCode',
|
|
196
|
+
type: {
|
|
197
|
+
name: 'String'
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
azure_pricing_tier: {
|
|
201
|
+
client_side_validation: true,
|
|
202
|
+
required: true,
|
|
203
|
+
serialized_name: 'properties.azurePricingTier',
|
|
204
|
+
type: {
|
|
205
|
+
name: 'String'
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
azure_storage_redundancy: {
|
|
209
|
+
client_side_validation: true,
|
|
210
|
+
required: true,
|
|
211
|
+
serialized_name: 'properties.azureStorageRedundancy',
|
|
212
|
+
type: {
|
|
213
|
+
name: 'String'
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
scaling_factor: {
|
|
217
|
+
client_side_validation: true,
|
|
218
|
+
required: true,
|
|
219
|
+
serialized_name: 'properties.scalingFactor',
|
|
220
|
+
type: {
|
|
221
|
+
name: 'Double'
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
percentile: {
|
|
225
|
+
client_side_validation: true,
|
|
226
|
+
required: true,
|
|
227
|
+
serialized_name: 'properties.percentile',
|
|
228
|
+
type: {
|
|
229
|
+
name: 'String'
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
time_range: {
|
|
233
|
+
client_side_validation: true,
|
|
234
|
+
required: true,
|
|
235
|
+
serialized_name: 'properties.timeRange',
|
|
236
|
+
type: {
|
|
237
|
+
name: 'String'
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
stage: {
|
|
241
|
+
client_side_validation: true,
|
|
242
|
+
required: true,
|
|
243
|
+
serialized_name: 'properties.stage',
|
|
244
|
+
type: {
|
|
245
|
+
name: 'String'
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
currency: {
|
|
249
|
+
client_side_validation: true,
|
|
250
|
+
required: true,
|
|
251
|
+
serialized_name: 'properties.currency',
|
|
252
|
+
type: {
|
|
253
|
+
name: 'String'
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
azure_hybrid_use_benefit: {
|
|
257
|
+
client_side_validation: true,
|
|
258
|
+
required: true,
|
|
259
|
+
serialized_name: 'properties.azureHybridUseBenefit',
|
|
260
|
+
type: {
|
|
261
|
+
name: 'String'
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
discount_percentage: {
|
|
265
|
+
client_side_validation: true,
|
|
266
|
+
required: true,
|
|
267
|
+
serialized_name: 'properties.discountPercentage',
|
|
268
|
+
type: {
|
|
269
|
+
name: 'Double'
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
confidence_rating_in_percentage: {
|
|
273
|
+
client_side_validation: true,
|
|
274
|
+
required: false,
|
|
275
|
+
read_only: true,
|
|
276
|
+
serialized_name: 'properties.confidenceRatingInPercentage',
|
|
277
|
+
type: {
|
|
278
|
+
name: 'Double'
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
sizing_criterion: {
|
|
282
|
+
client_side_validation: true,
|
|
283
|
+
required: true,
|
|
284
|
+
serialized_name: 'properties.sizingCriterion',
|
|
285
|
+
type: {
|
|
286
|
+
name: 'String'
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
prices_timestamp: {
|
|
290
|
+
client_side_validation: true,
|
|
291
|
+
required: false,
|
|
292
|
+
read_only: true,
|
|
293
|
+
serialized_name: 'properties.pricesTimestamp',
|
|
294
|
+
type: {
|
|
295
|
+
name: 'DateTime'
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
created_timestamp: {
|
|
299
|
+
client_side_validation: true,
|
|
300
|
+
required: false,
|
|
301
|
+
read_only: true,
|
|
302
|
+
serialized_name: 'properties.createdTimestamp',
|
|
303
|
+
type: {
|
|
304
|
+
name: 'DateTime'
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
updated_timestamp: {
|
|
308
|
+
client_side_validation: true,
|
|
309
|
+
required: false,
|
|
310
|
+
read_only: true,
|
|
311
|
+
serialized_name: 'properties.updatedTimestamp',
|
|
312
|
+
type: {
|
|
313
|
+
name: 'DateTime'
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
monthly_compute_cost: {
|
|
317
|
+
client_side_validation: true,
|
|
318
|
+
required: false,
|
|
319
|
+
read_only: true,
|
|
320
|
+
serialized_name: 'properties.monthlyComputeCost',
|
|
321
|
+
type: {
|
|
322
|
+
name: 'Double'
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
monthly_bandwidth_cost: {
|
|
326
|
+
client_side_validation: true,
|
|
327
|
+
required: false,
|
|
328
|
+
read_only: true,
|
|
329
|
+
serialized_name: 'properties.monthlyBandwidthCost',
|
|
330
|
+
type: {
|
|
331
|
+
name: 'Double'
|
|
332
|
+
}
|
|
333
|
+
},
|
|
334
|
+
monthly_storage_cost: {
|
|
335
|
+
client_side_validation: true,
|
|
336
|
+
required: false,
|
|
337
|
+
read_only: true,
|
|
338
|
+
serialized_name: 'properties.monthlyStorageCost',
|
|
339
|
+
type: {
|
|
340
|
+
name: 'Double'
|
|
341
|
+
}
|
|
342
|
+
},
|
|
343
|
+
status: {
|
|
344
|
+
client_side_validation: true,
|
|
345
|
+
required: false,
|
|
346
|
+
read_only: true,
|
|
347
|
+
serialized_name: 'properties.status',
|
|
348
|
+
type: {
|
|
349
|
+
name: 'String'
|
|
350
|
+
}
|
|
351
|
+
},
|
|
352
|
+
number_of_machines: {
|
|
353
|
+
client_side_validation: true,
|
|
354
|
+
required: false,
|
|
355
|
+
read_only: true,
|
|
356
|
+
serialized_name: 'properties.numberOfMachines',
|
|
357
|
+
type: {
|
|
358
|
+
name: 'Number'
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
end
|
|
365
|
+
end
|
|
366
|
+
end
|
|
367
|
+
end
|