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,50 @@
|
|
|
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
|
+
# Defines values for AzureVmSuitabilityExplanation
|
|
10
|
+
#
|
|
11
|
+
module AzureVmSuitabilityExplanation
|
|
12
|
+
Unknown = "Unknown"
|
|
13
|
+
NotApplicable = "NotApplicable"
|
|
14
|
+
GuestOperatingSystemArchitectureNotSupported = "GuestOperatingSystemArchitectureNotSupported"
|
|
15
|
+
GuestOperatingSystemNotSupported = "GuestOperatingSystemNotSupported"
|
|
16
|
+
BootTypeNotSupported = "BootTypeNotSupported"
|
|
17
|
+
MoreDisksThanSupported = "MoreDisksThanSupported"
|
|
18
|
+
NoSuitableVmSizeFound = "NoSuitableVmSizeFound"
|
|
19
|
+
OneOrMoreDisksNotSuitable = "OneOrMoreDisksNotSuitable"
|
|
20
|
+
OneOrMoreAdaptersNotSuitable = "OneOrMoreAdaptersNotSuitable"
|
|
21
|
+
InternalErrorOccuredDuringComputeEvaluation = "InternalErrorOccuredDuringComputeEvaluation"
|
|
22
|
+
InternalErrorOccuredDuringStorageEvaluation = "InternalErrorOccuredDuringStorageEvaluation"
|
|
23
|
+
InternalErrorOccuredDuringNetworkEvaluation = "InternalErrorOccuredDuringNetworkEvaluation"
|
|
24
|
+
NoVmSizeSupportsStoragePerformance = "NoVmSizeSupportsStoragePerformance"
|
|
25
|
+
NoVmSizeSupportsNetworkPerformance = "NoVmSizeSupportsNetworkPerformance"
|
|
26
|
+
NoVmSizeForSelectedPricingTier = "NoVmSizeForSelectedPricingTier"
|
|
27
|
+
NoVmSizeForSelectedAzureLocation = "NoVmSizeForSelectedAzureLocation"
|
|
28
|
+
CheckRedHatLinuxVersion = "CheckRedHatLinuxVersion"
|
|
29
|
+
CheckOpenSuseLinuxVersion = "CheckOpenSuseLinuxVersion"
|
|
30
|
+
CheckWindowsServer2008R2Version = "CheckWindowsServer2008R2Version"
|
|
31
|
+
CheckCentOsVersion = "CheckCentOsVersion"
|
|
32
|
+
CheckDebianLinuxVersion = "CheckDebianLinuxVersion"
|
|
33
|
+
CheckSuseLinuxVersion = "CheckSuseLinuxVersion"
|
|
34
|
+
CheckOracleLinuxVersion = "CheckOracleLinuxVersion"
|
|
35
|
+
CheckUbuntuLinuxVersion = "CheckUbuntuLinuxVersion"
|
|
36
|
+
CheckCoreOsLinuxVersion = "CheckCoreOsLinuxVersion"
|
|
37
|
+
WindowsServerVersionConditionallySupported = "WindowsServerVersionConditionallySupported"
|
|
38
|
+
NoGuestOperatingSystemConditionallySupported = "NoGuestOperatingSystemConditionallySupported"
|
|
39
|
+
WindowsClientVersionsConditionallySupported = "WindowsClientVersionsConditionallySupported"
|
|
40
|
+
BootTypeUnknown = "BootTypeUnknown"
|
|
41
|
+
GuestOperatingSystemUnknown = "GuestOperatingSystemUnknown"
|
|
42
|
+
WindowsServerVersionsSupportedWithCaveat = "WindowsServerVersionsSupportedWithCaveat"
|
|
43
|
+
WindowsOSNoLongerUnderMSSupport = "WindowsOSNoLongerUnderMSSupport"
|
|
44
|
+
EndorsedWithConditionsLinuxDistributions = "EndorsedWithConditionsLinuxDistributions"
|
|
45
|
+
UnendorsedLinuxDistributions = "UnendorsedLinuxDistributions"
|
|
46
|
+
NoVmSizeForStandardPricingTier = "NoVmSizeForStandardPricingTier"
|
|
47
|
+
NoVmSizeForBasicPricingTier = "NoVmSizeForBasicPricingTier"
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
@@ -0,0 +1,61 @@
|
|
|
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
|
+
# Parameters for a check name availability request.
|
|
10
|
+
#
|
|
11
|
+
class CheckNameAvailabilityParameters
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
# @return [String] The name to check for availability
|
|
16
|
+
attr_accessor :name
|
|
17
|
+
|
|
18
|
+
# @return [String] The resource type. Must be set to
|
|
19
|
+
# Microsoft.Migrate/projects. Default value: 'Microsoft.Migrate/projects'
|
|
20
|
+
# .
|
|
21
|
+
attr_accessor :type
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
#
|
|
25
|
+
# Mapper for CheckNameAvailabilityParameters class as Ruby Hash.
|
|
26
|
+
# This will be used for serialization/deserialization.
|
|
27
|
+
#
|
|
28
|
+
def self.mapper()
|
|
29
|
+
{
|
|
30
|
+
client_side_validation: true,
|
|
31
|
+
required: false,
|
|
32
|
+
serialized_name: 'CheckNameAvailabilityParameters',
|
|
33
|
+
type: {
|
|
34
|
+
name: 'Composite',
|
|
35
|
+
class_name: 'CheckNameAvailabilityParameters',
|
|
36
|
+
model_properties: {
|
|
37
|
+
name: {
|
|
38
|
+
client_side_validation: true,
|
|
39
|
+
required: true,
|
|
40
|
+
serialized_name: 'name',
|
|
41
|
+
type: {
|
|
42
|
+
name: 'String'
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
type: {
|
|
46
|
+
client_side_validation: true,
|
|
47
|
+
required: true,
|
|
48
|
+
is_constant: true,
|
|
49
|
+
serialized_name: 'type',
|
|
50
|
+
default_value: 'Microsoft.Migrate/projects',
|
|
51
|
+
type: {
|
|
52
|
+
name: 'String'
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
end
|
|
@@ -0,0 +1,78 @@
|
|
|
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
|
+
# The CheckNameAvailability operation response.
|
|
10
|
+
#
|
|
11
|
+
class CheckNameAvailabilityResult
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
# @return [Boolean] Gets a boolean value that indicates whether the name
|
|
16
|
+
# is available for you to use. If true, the name is available. If false,
|
|
17
|
+
# the name has already been taken or invalid and cannot be used.
|
|
18
|
+
attr_accessor :name_available
|
|
19
|
+
|
|
20
|
+
# @return [NameAvailabilityReason] Gets the reason that a project name
|
|
21
|
+
# could not be used. The Reason element is only returned if NameAvailable
|
|
22
|
+
# is false. Possible values include: 'Available', 'Invalid',
|
|
23
|
+
# 'AlreadyExists'
|
|
24
|
+
attr_accessor :reason
|
|
25
|
+
|
|
26
|
+
# @return [String] Gets an error message explaining the Reason value in
|
|
27
|
+
# more detail.
|
|
28
|
+
attr_accessor :message
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
#
|
|
32
|
+
# Mapper for CheckNameAvailabilityResult class as Ruby Hash.
|
|
33
|
+
# This will be used for serialization/deserialization.
|
|
34
|
+
#
|
|
35
|
+
def self.mapper()
|
|
36
|
+
{
|
|
37
|
+
client_side_validation: true,
|
|
38
|
+
required: false,
|
|
39
|
+
serialized_name: 'CheckNameAvailabilityResult',
|
|
40
|
+
type: {
|
|
41
|
+
name: 'Composite',
|
|
42
|
+
class_name: 'CheckNameAvailabilityResult',
|
|
43
|
+
model_properties: {
|
|
44
|
+
name_available: {
|
|
45
|
+
client_side_validation: true,
|
|
46
|
+
required: false,
|
|
47
|
+
read_only: true,
|
|
48
|
+
serialized_name: 'nameAvailable',
|
|
49
|
+
type: {
|
|
50
|
+
name: 'Boolean'
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
reason: {
|
|
54
|
+
client_side_validation: true,
|
|
55
|
+
required: false,
|
|
56
|
+
read_only: true,
|
|
57
|
+
serialized_name: 'reason',
|
|
58
|
+
type: {
|
|
59
|
+
name: 'Enum',
|
|
60
|
+
module: 'NameAvailabilityReason'
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
message: {
|
|
64
|
+
client_side_validation: true,
|
|
65
|
+
required: false,
|
|
66
|
+
read_only: true,
|
|
67
|
+
serialized_name: 'message',
|
|
68
|
+
type: {
|
|
69
|
+
name: 'String'
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
end
|
|
78
|
+
end
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
# Defines values for CloudSuitability
|
|
10
|
+
#
|
|
11
|
+
module CloudSuitability
|
|
12
|
+
Unknown = "Unknown"
|
|
13
|
+
NotSuitable = "NotSuitable"
|
|
14
|
+
Suitable = "Suitable"
|
|
15
|
+
ConditionallySuitable = "ConditionallySuitable"
|
|
16
|
+
ReadinessUnknown = "ReadinessUnknown"
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
# Defines values for Currency
|
|
10
|
+
#
|
|
11
|
+
module Currency
|
|
12
|
+
Unknown = "Unknown"
|
|
13
|
+
USD = "USD"
|
|
14
|
+
DKK = "DKK"
|
|
15
|
+
CAD = "CAD"
|
|
16
|
+
IDR = "IDR"
|
|
17
|
+
JPY = "JPY"
|
|
18
|
+
KRW = "KRW"
|
|
19
|
+
NZD = "NZD"
|
|
20
|
+
NOK = "NOK"
|
|
21
|
+
RUB = "RUB"
|
|
22
|
+
SAR = "SAR"
|
|
23
|
+
ZAR = "ZAR"
|
|
24
|
+
SEK = "SEK"
|
|
25
|
+
TRY = "TRY"
|
|
26
|
+
GBP = "GBP"
|
|
27
|
+
MXN = "MXN"
|
|
28
|
+
MYR = "MYR"
|
|
29
|
+
INR = "INR"
|
|
30
|
+
HKD = "HKD"
|
|
31
|
+
BRL = "BRL"
|
|
32
|
+
TWD = "TWD"
|
|
33
|
+
EUR = "EUR"
|
|
34
|
+
CHF = "CHF"
|
|
35
|
+
ARS = "ARS"
|
|
36
|
+
AUD = "AUD"
|
|
37
|
+
CNY = "CNY"
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
# Defines values for DiscoveryStatus
|
|
10
|
+
#
|
|
11
|
+
module DiscoveryStatus
|
|
12
|
+
Unknown = "Unknown"
|
|
13
|
+
NotStarted = "NotStarted"
|
|
14
|
+
InProgress = "InProgress"
|
|
15
|
+
Completed = "Completed"
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
@@ -0,0 +1,59 @@
|
|
|
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 disk discovered on a machine.
|
|
10
|
+
#
|
|
11
|
+
class Disk
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
# @return [Float] Gigabytes of storage provisioned for this disk.
|
|
16
|
+
attr_accessor :gigabytes_allocated
|
|
17
|
+
|
|
18
|
+
# @return [Float] Gigabytes of storage consumed by this disk.
|
|
19
|
+
attr_accessor :gigabytes_consumed
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
#
|
|
23
|
+
# Mapper for Disk 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: 'Disk',
|
|
31
|
+
type: {
|
|
32
|
+
name: 'Composite',
|
|
33
|
+
class_name: 'Disk',
|
|
34
|
+
model_properties: {
|
|
35
|
+
gigabytes_allocated: {
|
|
36
|
+
client_side_validation: true,
|
|
37
|
+
required: false,
|
|
38
|
+
read_only: true,
|
|
39
|
+
serialized_name: 'gigabytesAllocated',
|
|
40
|
+
type: {
|
|
41
|
+
name: 'Double'
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
gigabytes_consumed: {
|
|
45
|
+
client_side_validation: true,
|
|
46
|
+
required: false,
|
|
47
|
+
read_only: true,
|
|
48
|
+
serialized_name: 'gigabytesConsumed',
|
|
49
|
+
type: {
|
|
50
|
+
name: 'Double'
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
end
|
|
@@ -0,0 +1,59 @@
|
|
|
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
|
+
# Download URL for assessment report.
|
|
10
|
+
#
|
|
11
|
+
class DownloadUrl
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
# @return [String] Hyperlink to download report.
|
|
16
|
+
attr_accessor :assessment_report_url
|
|
17
|
+
|
|
18
|
+
# @return [DateTime] Expiry date of download url.
|
|
19
|
+
attr_accessor :expiration_time
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
#
|
|
23
|
+
# Mapper for DownloadUrl 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: 'DownloadUrl',
|
|
31
|
+
type: {
|
|
32
|
+
name: 'Composite',
|
|
33
|
+
class_name: 'DownloadUrl',
|
|
34
|
+
model_properties: {
|
|
35
|
+
assessment_report_url: {
|
|
36
|
+
client_side_validation: true,
|
|
37
|
+
required: false,
|
|
38
|
+
read_only: true,
|
|
39
|
+
serialized_name: 'assessmentReportUrl',
|
|
40
|
+
type: {
|
|
41
|
+
name: 'String'
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
expiration_time: {
|
|
45
|
+
client_side_validation: true,
|
|
46
|
+
required: false,
|
|
47
|
+
read_only: true,
|
|
48
|
+
serialized_name: 'expirationTime',
|
|
49
|
+
type: {
|
|
50
|
+
name: 'DateTime'
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
end
|
|
@@ -0,0 +1,151 @@
|
|
|
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 group created in a Migration project.
|
|
10
|
+
#
|
|
11
|
+
class Group
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
# @return [String] Path reference to this group.
|
|
16
|
+
# /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/projects/{projectName}/groups/{groupName}
|
|
17
|
+
attr_accessor :id
|
|
18
|
+
|
|
19
|
+
# @return [String] Name of the group.
|
|
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].
|
|
27
|
+
attr_accessor :type
|
|
28
|
+
|
|
29
|
+
# @return [Array<String>] List of machine names that are part of this
|
|
30
|
+
# group.
|
|
31
|
+
attr_accessor :machines
|
|
32
|
+
|
|
33
|
+
# @return [Array<String>] List of References to Assessments created on
|
|
34
|
+
# this group.
|
|
35
|
+
attr_accessor :assessments
|
|
36
|
+
|
|
37
|
+
# @return [DateTime] Time when this project was created. Date-Time
|
|
38
|
+
# represented in ISO-8601 format.
|
|
39
|
+
attr_accessor :created_timestamp
|
|
40
|
+
|
|
41
|
+
# @return [DateTime] Time when this project was last updated. Date-Time
|
|
42
|
+
# represented in ISO-8601 format.
|
|
43
|
+
attr_accessor :updated_timestamp
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
#
|
|
47
|
+
# Mapper for Group class as Ruby Hash.
|
|
48
|
+
# This will be used for serialization/deserialization.
|
|
49
|
+
#
|
|
50
|
+
def self.mapper()
|
|
51
|
+
{
|
|
52
|
+
client_side_validation: true,
|
|
53
|
+
required: false,
|
|
54
|
+
serialized_name: 'Group',
|
|
55
|
+
type: {
|
|
56
|
+
name: 'Composite',
|
|
57
|
+
class_name: 'Group',
|
|
58
|
+
model_properties: {
|
|
59
|
+
id: {
|
|
60
|
+
client_side_validation: true,
|
|
61
|
+
required: false,
|
|
62
|
+
read_only: true,
|
|
63
|
+
serialized_name: 'id',
|
|
64
|
+
type: {
|
|
65
|
+
name: 'String'
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
name: {
|
|
69
|
+
client_side_validation: true,
|
|
70
|
+
required: false,
|
|
71
|
+
read_only: true,
|
|
72
|
+
serialized_name: 'name',
|
|
73
|
+
type: {
|
|
74
|
+
name: 'String'
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
e_tag: {
|
|
78
|
+
client_side_validation: true,
|
|
79
|
+
required: false,
|
|
80
|
+
serialized_name: 'eTag',
|
|
81
|
+
type: {
|
|
82
|
+
name: 'String'
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
type: {
|
|
86
|
+
client_side_validation: true,
|
|
87
|
+
required: false,
|
|
88
|
+
read_only: true,
|
|
89
|
+
serialized_name: 'type',
|
|
90
|
+
type: {
|
|
91
|
+
name: 'String'
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
machines: {
|
|
95
|
+
client_side_validation: true,
|
|
96
|
+
required: true,
|
|
97
|
+
serialized_name: 'properties.machines',
|
|
98
|
+
type: {
|
|
99
|
+
name: 'Sequence',
|
|
100
|
+
element: {
|
|
101
|
+
client_side_validation: true,
|
|
102
|
+
required: false,
|
|
103
|
+
serialized_name: 'StringElementType',
|
|
104
|
+
type: {
|
|
105
|
+
name: 'String'
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
assessments: {
|
|
111
|
+
client_side_validation: true,
|
|
112
|
+
required: false,
|
|
113
|
+
read_only: true,
|
|
114
|
+
serialized_name: 'properties.assessments',
|
|
115
|
+
type: {
|
|
116
|
+
name: 'Sequence',
|
|
117
|
+
element: {
|
|
118
|
+
client_side_validation: true,
|
|
119
|
+
required: false,
|
|
120
|
+
serialized_name: 'StringElementType',
|
|
121
|
+
type: {
|
|
122
|
+
name: 'String'
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
created_timestamp: {
|
|
128
|
+
client_side_validation: true,
|
|
129
|
+
required: false,
|
|
130
|
+
read_only: true,
|
|
131
|
+
serialized_name: 'properties.createdTimestamp',
|
|
132
|
+
type: {
|
|
133
|
+
name: 'DateTime'
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
updated_timestamp: {
|
|
137
|
+
client_side_validation: true,
|
|
138
|
+
required: false,
|
|
139
|
+
read_only: true,
|
|
140
|
+
serialized_name: 'properties.updatedTimestamp',
|
|
141
|
+
type: {
|
|
142
|
+
name: 'DateTime'
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
end
|
|
149
|
+
end
|
|
150
|
+
end
|
|
151
|
+
end
|