azure_mgmt_hybrid_compute 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (94) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute.rb +72 -0
  4. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/hybrid_compute_management_client.rb +139 -0
  5. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/machine_extensions.rb +805 -0
  6. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/machines.rb +630 -0
  7. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/azure_entity_resource.rb +75 -0
  8. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/error_additional_info.rb +59 -0
  9. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/error_detail.rb +90 -0
  10. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/error_response.rb +113 -0
  11. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/identity.rb +72 -0
  12. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/instance_view_types.rb +15 -0
  13. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/location_data.rb +84 -0
  14. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine.rb +287 -0
  15. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_extension.rb +195 -0
  16. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_extension_instance_view.rb +81 -0
  17. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_extension_instance_view_status.rb +92 -0
  18. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_extension_properties_instance_view.rb +68 -0
  19. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_extension_properties_model.rb +144 -0
  20. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_extension_update.rb +134 -0
  21. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_extension_update_properties_model.rb +118 -0
  22. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_extensions_list_result.rb +99 -0
  23. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_identity.rb +63 -0
  24. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_list_result.rb +99 -0
  25. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_properties.rb +224 -0
  26. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_properties_os_profile.rb +44 -0
  27. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_reconnect.rb +58 -0
  28. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_reconnect_properties.rb +58 -0
  29. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_update.rb +100 -0
  30. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_update_properties.rb +47 -0
  31. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/operation_list_result.rb +56 -0
  32. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/operation_value.rb +108 -0
  33. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/operation_value_display_model.rb +84 -0
  34. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/osprofile.rb +47 -0
  35. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/plan.rb +95 -0
  36. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/proxy_resource.rb +63 -0
  37. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/resource.rb +83 -0
  38. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/resource_identity_type.rb +15 -0
  39. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/resource_model_with_allowed_property_set.rb +191 -0
  40. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/resource_model_with_allowed_property_set_identity.rb +64 -0
  41. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/resource_model_with_allowed_property_set_plan.rb +76 -0
  42. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/resource_model_with_allowed_property_set_sku.rb +77 -0
  43. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/sku.rb +99 -0
  44. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/sku_tier.rb +18 -0
  45. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/status_level_types.rb +17 -0
  46. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/status_types.rb +17 -0
  47. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/tracked_resource.rb +92 -0
  48. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/update_resource.rb +54 -0
  49. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/module_definition.rb +9 -0
  50. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/operations.rb +110 -0
  51. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute.rb +61 -0
  52. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/hybrid_compute_management_client.rb +141 -0
  53. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/machine_extensions.rb +795 -0
  54. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/machines.rb +622 -0
  55. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/azure_entity_resource.rb +75 -0
  56. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/error_detail.rb +90 -0
  57. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/error_response.rb +49 -0
  58. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/identity.rb +71 -0
  59. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/instance_view_types.rb +15 -0
  60. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/location_data.rb +84 -0
  61. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine.rb +348 -0
  62. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_extension.rb +195 -0
  63. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_extension_instance_view.rb +84 -0
  64. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_extension_instance_view_status.rb +97 -0
  65. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_extension_properties_instance_view.rb +71 -0
  66. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_extension_properties_model.rb +144 -0
  67. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_extension_update.rb +134 -0
  68. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_extension_update_properties_model.rb +118 -0
  69. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_extensions_list_result.rb +99 -0
  70. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_identity.rb +62 -0
  71. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_list_result.rb +99 -0
  72. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_properties.rb +285 -0
  73. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_properties_os_profile.rb +44 -0
  74. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_update.rb +98 -0
  75. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_update_properties.rb +47 -0
  76. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/operation_list_result.rb +56 -0
  77. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/operation_value.rb +108 -0
  78. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/operation_value_display_model.rb +84 -0
  79. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/osprofile.rb +47 -0
  80. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/proxy_resource.rb +63 -0
  81. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/resource.rb +83 -0
  82. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/status_level_types.rb +17 -0
  83. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/status_types.rb +17 -0
  84. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/tracked_resource.rb +92 -0
  85. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/update_resource.rb +54 -0
  86. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/module_definition.rb +9 -0
  87. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/operations.rb +109 -0
  88. data/lib/azure_mgmt_hybrid_compute.rb +7 -0
  89. data/lib/module_definition.rb +7 -0
  90. data/lib/profiles/latest/hybridcompute_latest_profile_client.rb +40 -0
  91. data/lib/profiles/latest/hybridcompute_module_definition.rb +8 -0
  92. data/lib/profiles/latest/modules/hybridcompute_profile_module.rb +189 -0
  93. data/lib/version.rb +7 -0
  94. metadata +209 -0
@@ -0,0 +1,75 @@
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::HybridCompute::Mgmt::V2020_08_02
7
+ module Models
8
+ #
9
+ # The resource model definition for a Azure Resource Manager resource with
10
+ # an etag.
11
+ #
12
+ class AzureEntityResource < Resource
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] Resource Etag.
17
+ attr_accessor :etag
18
+
19
+
20
+ #
21
+ # Mapper for AzureEntityResource class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ client_side_validation: true,
27
+ required: false,
28
+ serialized_name: 'AzureEntityResource',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'AzureEntityResource',
32
+ model_properties: {
33
+ id: {
34
+ client_side_validation: true,
35
+ required: false,
36
+ read_only: true,
37
+ serialized_name: 'id',
38
+ type: {
39
+ name: 'String'
40
+ }
41
+ },
42
+ name: {
43
+ client_side_validation: true,
44
+ required: false,
45
+ read_only: true,
46
+ serialized_name: 'name',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ },
51
+ type: {
52
+ client_side_validation: true,
53
+ required: false,
54
+ read_only: true,
55
+ serialized_name: 'type',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ },
60
+ etag: {
61
+ client_side_validation: true,
62
+ required: false,
63
+ read_only: true,
64
+ serialized_name: 'etag',
65
+ type: {
66
+ name: 'String'
67
+ }
68
+ }
69
+ }
70
+ }
71
+ }
72
+ end
73
+ end
74
+ end
75
+ end
@@ -0,0 +1,90 @@
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::HybridCompute::Mgmt::V2020_08_02
7
+ module Models
8
+ #
9
+ # Error details.
10
+ #
11
+ #
12
+ class ErrorDetail
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] The error's code.
17
+ attr_accessor :code
18
+
19
+ # @return [String] A human readable error message.
20
+ attr_accessor :message
21
+
22
+ # @return [String] Indicates which property in the request is responsible
23
+ # for the error.
24
+ attr_accessor :target
25
+
26
+ # @return [Array<ErrorDetail>] Additional error details.
27
+ attr_accessor :details
28
+
29
+
30
+ #
31
+ # Mapper for ErrorDetail class as Ruby Hash.
32
+ # This will be used for serialization/deserialization.
33
+ #
34
+ def self.mapper()
35
+ {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'ErrorDetail',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'ErrorDetail',
42
+ model_properties: {
43
+ code: {
44
+ client_side_validation: true,
45
+ required: true,
46
+ serialized_name: 'code',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ },
51
+ message: {
52
+ client_side_validation: true,
53
+ required: true,
54
+ serialized_name: 'message',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ target: {
60
+ client_side_validation: true,
61
+ required: false,
62
+ serialized_name: 'target',
63
+ type: {
64
+ name: 'String'
65
+ }
66
+ },
67
+ details: {
68
+ client_side_validation: true,
69
+ required: false,
70
+ serialized_name: 'details',
71
+ type: {
72
+ name: 'Sequence',
73
+ element: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ serialized_name: 'ErrorDetailElementType',
77
+ type: {
78
+ name: 'Composite',
79
+ class_name: 'ErrorDetail'
80
+ }
81
+ }
82
+ }
83
+ }
84
+ }
85
+ }
86
+ }
87
+ end
88
+ end
89
+ end
90
+ end
@@ -0,0 +1,49 @@
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::HybridCompute::Mgmt::V2020_08_02
7
+ module Models
8
+ #
9
+ # Error response.
10
+
11
+ # Contains details when the response code indicates an error.
12
+ #
13
+ class ErrorResponse
14
+
15
+ include MsRestAzure
16
+
17
+ # @return [ErrorDetail] The error details.
18
+ attr_accessor :error
19
+
20
+
21
+ #
22
+ # Mapper for ErrorResponse class as Ruby Hash.
23
+ # This will be used for serialization/deserialization.
24
+ #
25
+ def self.mapper()
26
+ {
27
+ client_side_validation: true,
28
+ required: false,
29
+ serialized_name: 'ErrorResponse',
30
+ type: {
31
+ name: 'Composite',
32
+ class_name: 'ErrorResponse',
33
+ model_properties: {
34
+ error: {
35
+ client_side_validation: true,
36
+ required: true,
37
+ serialized_name: 'error',
38
+ type: {
39
+ name: 'Composite',
40
+ class_name: 'ErrorDetail'
41
+ }
42
+ }
43
+ }
44
+ }
45
+ }
46
+ end
47
+ end
48
+ end
49
+ end
@@ -0,0 +1,71 @@
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::HybridCompute::Mgmt::V2020_08_02
7
+ module Models
8
+ #
9
+ # Managed Identity.
10
+ #
11
+ #
12
+ class Identity
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] The identity type.
17
+ attr_accessor :type
18
+
19
+ # @return [String] The identity's principal id.
20
+ attr_accessor :principal_id
21
+
22
+ # @return [String] The identity's tenant id.
23
+ attr_accessor :tenant_id
24
+
25
+
26
+ #
27
+ # Mapper for Identity class as Ruby Hash.
28
+ # This will be used for serialization/deserialization.
29
+ #
30
+ def self.mapper()
31
+ {
32
+ client_side_validation: true,
33
+ required: false,
34
+ serialized_name: 'Identity',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'Identity',
38
+ model_properties: {
39
+ type: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'type',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ principal_id: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ read_only: true,
51
+ serialized_name: 'principalId',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ },
56
+ tenant_id: {
57
+ client_side_validation: true,
58
+ required: false,
59
+ read_only: true,
60
+ serialized_name: 'tenantId',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ }
65
+ }
66
+ }
67
+ }
68
+ end
69
+ end
70
+ end
71
+ end
@@ -0,0 +1,15 @@
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::HybridCompute::Mgmt::V2020_08_02
7
+ module Models
8
+ #
9
+ # Defines values for InstanceViewTypes
10
+ #
11
+ module InstanceViewTypes
12
+ InstanceView = "instanceView"
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,84 @@
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::HybridCompute::Mgmt::V2020_08_02
7
+ module Models
8
+ #
9
+ # Metadata pertaining to the geographic location of the resource.
10
+ #
11
+ class LocationData
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] A canonical name for the geographic or physical
16
+ # location.
17
+ attr_accessor :name
18
+
19
+ # @return [String] The city or locality where the resource is located.
20
+ attr_accessor :city
21
+
22
+ # @return [String] The district, state, or province where the resource is
23
+ # located.
24
+ attr_accessor :district
25
+
26
+ # @return [String] The country or region where the resource is located
27
+ attr_accessor :country_or_region
28
+
29
+
30
+ #
31
+ # Mapper for LocationData class as Ruby Hash.
32
+ # This will be used for serialization/deserialization.
33
+ #
34
+ def self.mapper()
35
+ {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'locationData',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'LocationData',
42
+ model_properties: {
43
+ name: {
44
+ client_side_validation: true,
45
+ required: true,
46
+ serialized_name: 'name',
47
+ constraints: {
48
+ MaxLength: 256
49
+ },
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ },
54
+ city: {
55
+ client_side_validation: true,
56
+ required: false,
57
+ serialized_name: 'city',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ },
62
+ district: {
63
+ client_side_validation: true,
64
+ required: false,
65
+ serialized_name: 'district',
66
+ type: {
67
+ name: 'String'
68
+ }
69
+ },
70
+ country_or_region: {
71
+ client_side_validation: true,
72
+ required: false,
73
+ serialized_name: 'countryOrRegion',
74
+ type: {
75
+ name: 'String'
76
+ }
77
+ }
78
+ }
79
+ }
80
+ }
81
+ end
82
+ end
83
+ end
84
+ end
@@ -0,0 +1,348 @@
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::HybridCompute::Mgmt::V2020_08_02
7
+ module Models
8
+ #
9
+ # Describes a hybrid machine.
10
+ #
11
+ class Machine < TrackedResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [LocationData]
16
+ attr_accessor :location_data
17
+
18
+ # @return [MachinePropertiesOsProfile] Specifies the operating system
19
+ # settings for the hybrid machine.
20
+ attr_accessor :os_profile
21
+
22
+ # @return [String] The provisioning state, which only appears in the
23
+ # response.
24
+ attr_accessor :provisioning_state
25
+
26
+ # @return [StatusTypes] The status of the hybrid machine agent. Possible
27
+ # values include: 'Connected', 'Disconnected', 'Error'
28
+ attr_accessor :status
29
+
30
+ # @return [DateTime] The time of the last status change.
31
+ attr_accessor :last_status_change
32
+
33
+ # @return [Array<ErrorDetail>] Details about the error state.
34
+ attr_accessor :error_details
35
+
36
+ # @return [String] The hybrid machine agent full version.
37
+ attr_accessor :agent_version
38
+
39
+ # @return [String] Specifies the hybrid machine unique ID.
40
+ attr_accessor :vm_id
41
+
42
+ # @return [String] Specifies the hybrid machine display name.
43
+ attr_accessor :display_name
44
+
45
+ # @return [String] Specifies the hybrid machine FQDN.
46
+ attr_accessor :machine_fqdn
47
+
48
+ # @return [String] Public Key that the client provides to be used during
49
+ # initial resource onboarding
50
+ attr_accessor :client_public_key
51
+
52
+ # @return [String] The Operating System running on the hybrid machine.
53
+ attr_accessor :os_name
54
+
55
+ # @return [String] The version of Operating System running on the hybrid
56
+ # machine.
57
+ attr_accessor :os_version
58
+
59
+ # @return [String] Specifies the Arc Machine's unique SMBIOS ID
60
+ attr_accessor :vm_uuid
61
+
62
+ # @return [Array<MachineExtensionInstanceView>] Machine Extensions
63
+ # information
64
+ attr_accessor :extensions
65
+
66
+ # @return [String] Specifies the Operating System product SKU.
67
+ attr_accessor :os_sku
68
+
69
+ # @return [String] Specifies the Windows domain name.
70
+ attr_accessor :domain_name
71
+
72
+ # @return [String] Specifies the AD fully qualified display name.
73
+ attr_accessor :ad_fqdn
74
+
75
+ # @return [String] Specifies the DNS fully qualified display name.
76
+ attr_accessor :dns_fqdn
77
+
78
+ # @return [MachineIdentity]
79
+ attr_accessor :identity
80
+
81
+
82
+ #
83
+ # Mapper for Machine class as Ruby Hash.
84
+ # This will be used for serialization/deserialization.
85
+ #
86
+ def self.mapper()
87
+ {
88
+ client_side_validation: true,
89
+ required: false,
90
+ serialized_name: 'Machine',
91
+ type: {
92
+ name: 'Composite',
93
+ class_name: 'Machine',
94
+ model_properties: {
95
+ id: {
96
+ client_side_validation: true,
97
+ required: false,
98
+ read_only: true,
99
+ serialized_name: 'id',
100
+ type: {
101
+ name: 'String'
102
+ }
103
+ },
104
+ name: {
105
+ client_side_validation: true,
106
+ required: false,
107
+ read_only: true,
108
+ serialized_name: 'name',
109
+ type: {
110
+ name: 'String'
111
+ }
112
+ },
113
+ type: {
114
+ client_side_validation: true,
115
+ required: false,
116
+ read_only: true,
117
+ serialized_name: 'type',
118
+ type: {
119
+ name: 'String'
120
+ }
121
+ },
122
+ tags: {
123
+ client_side_validation: true,
124
+ required: false,
125
+ serialized_name: 'tags',
126
+ type: {
127
+ name: 'Dictionary',
128
+ value: {
129
+ client_side_validation: true,
130
+ required: false,
131
+ serialized_name: 'StringElementType',
132
+ type: {
133
+ name: 'String'
134
+ }
135
+ }
136
+ }
137
+ },
138
+ location: {
139
+ client_side_validation: true,
140
+ required: true,
141
+ serialized_name: 'location',
142
+ type: {
143
+ name: 'String'
144
+ }
145
+ },
146
+ location_data: {
147
+ client_side_validation: true,
148
+ required: false,
149
+ serialized_name: 'properties.locationData',
150
+ type: {
151
+ name: 'Composite',
152
+ class_name: 'LocationData'
153
+ }
154
+ },
155
+ os_profile: {
156
+ client_side_validation: true,
157
+ required: false,
158
+ serialized_name: 'properties.osProfile',
159
+ type: {
160
+ name: 'Composite',
161
+ class_name: 'MachinePropertiesOsProfile'
162
+ }
163
+ },
164
+ provisioning_state: {
165
+ client_side_validation: true,
166
+ required: false,
167
+ read_only: true,
168
+ serialized_name: 'properties.provisioningState',
169
+ type: {
170
+ name: 'String'
171
+ }
172
+ },
173
+ status: {
174
+ client_side_validation: true,
175
+ required: false,
176
+ read_only: true,
177
+ serialized_name: 'properties.status',
178
+ type: {
179
+ name: 'String'
180
+ }
181
+ },
182
+ last_status_change: {
183
+ client_side_validation: true,
184
+ required: false,
185
+ read_only: true,
186
+ serialized_name: 'properties.lastStatusChange',
187
+ type: {
188
+ name: 'DateTime'
189
+ }
190
+ },
191
+ error_details: {
192
+ client_side_validation: true,
193
+ required: false,
194
+ read_only: true,
195
+ serialized_name: 'properties.errorDetails',
196
+ type: {
197
+ name: 'Sequence',
198
+ element: {
199
+ client_side_validation: true,
200
+ required: false,
201
+ serialized_name: 'ErrorDetailElementType',
202
+ type: {
203
+ name: 'Composite',
204
+ class_name: 'ErrorDetail'
205
+ }
206
+ }
207
+ }
208
+ },
209
+ agent_version: {
210
+ client_side_validation: true,
211
+ required: false,
212
+ read_only: true,
213
+ serialized_name: 'properties.agentVersion',
214
+ type: {
215
+ name: 'String'
216
+ }
217
+ },
218
+ vm_id: {
219
+ client_side_validation: true,
220
+ required: false,
221
+ serialized_name: 'properties.vmId',
222
+ type: {
223
+ name: 'String'
224
+ }
225
+ },
226
+ display_name: {
227
+ client_side_validation: true,
228
+ required: false,
229
+ read_only: true,
230
+ serialized_name: 'properties.displayName',
231
+ type: {
232
+ name: 'String'
233
+ }
234
+ },
235
+ machine_fqdn: {
236
+ client_side_validation: true,
237
+ required: false,
238
+ read_only: true,
239
+ serialized_name: 'properties.machineFqdn',
240
+ type: {
241
+ name: 'String'
242
+ }
243
+ },
244
+ client_public_key: {
245
+ client_side_validation: true,
246
+ required: false,
247
+ serialized_name: 'properties.clientPublicKey',
248
+ type: {
249
+ name: 'String'
250
+ }
251
+ },
252
+ os_name: {
253
+ client_side_validation: true,
254
+ required: false,
255
+ read_only: true,
256
+ serialized_name: 'properties.osName',
257
+ type: {
258
+ name: 'String'
259
+ }
260
+ },
261
+ os_version: {
262
+ client_side_validation: true,
263
+ required: false,
264
+ read_only: true,
265
+ serialized_name: 'properties.osVersion',
266
+ type: {
267
+ name: 'String'
268
+ }
269
+ },
270
+ vm_uuid: {
271
+ client_side_validation: true,
272
+ required: false,
273
+ read_only: true,
274
+ serialized_name: 'properties.vmUuid',
275
+ type: {
276
+ name: 'String'
277
+ }
278
+ },
279
+ extensions: {
280
+ client_side_validation: true,
281
+ required: false,
282
+ read_only: true,
283
+ serialized_name: 'properties.extensions',
284
+ type: {
285
+ name: 'Sequence',
286
+ element: {
287
+ client_side_validation: true,
288
+ required: false,
289
+ serialized_name: 'MachineExtensionInstanceViewElementType',
290
+ type: {
291
+ name: 'Composite',
292
+ class_name: 'MachineExtensionInstanceView'
293
+ }
294
+ }
295
+ }
296
+ },
297
+ os_sku: {
298
+ client_side_validation: true,
299
+ required: false,
300
+ read_only: true,
301
+ serialized_name: 'properties.osSku',
302
+ type: {
303
+ name: 'String'
304
+ }
305
+ },
306
+ domain_name: {
307
+ client_side_validation: true,
308
+ required: false,
309
+ read_only: true,
310
+ serialized_name: 'properties.domainName',
311
+ type: {
312
+ name: 'String'
313
+ }
314
+ },
315
+ ad_fqdn: {
316
+ client_side_validation: true,
317
+ required: false,
318
+ read_only: true,
319
+ serialized_name: 'properties.adFqdn',
320
+ type: {
321
+ name: 'String'
322
+ }
323
+ },
324
+ dns_fqdn: {
325
+ client_side_validation: true,
326
+ required: false,
327
+ read_only: true,
328
+ serialized_name: 'properties.dnsFqdn',
329
+ type: {
330
+ name: 'String'
331
+ }
332
+ },
333
+ identity: {
334
+ client_side_validation: true,
335
+ required: false,
336
+ serialized_name: 'identity',
337
+ type: {
338
+ name: 'Composite',
339
+ class_name: 'MachineIdentity'
340
+ }
341
+ }
342
+ }
343
+ }
344
+ }
345
+ end
346
+ end
347
+ end
348
+ end