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,195 @@
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 Machine Extension.
10
+ #
11
+ class MachineExtension < TrackedResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] How the extension handler should be forced to update
16
+ # even if the extension configuration has not changed.
17
+ attr_accessor :force_update_tag
18
+
19
+ # @return [String] The name of the extension handler publisher.
20
+ attr_accessor :publisher
21
+
22
+ # @return [String] Specifies the type of the extension; an example is
23
+ # "CustomScriptExtension".
24
+ attr_accessor :machine_extension_type
25
+
26
+ # @return [String] Specifies the version of the script handler.
27
+ attr_accessor :type_handler_version
28
+
29
+ # @return [Boolean] Indicates whether the extension should use a newer
30
+ # minor version if one is available at deployment time. Once deployed,
31
+ # however, the extension will not upgrade minor versions unless
32
+ # redeployed, even with this property set to true.
33
+ attr_accessor :auto_upgrade_minor_version
34
+
35
+ # @return Json formatted public settings for the extension.
36
+ attr_accessor :settings
37
+
38
+ # @return The extension can contain either protectedSettings or
39
+ # protectedSettingsFromKeyVault or no protected settings at all.
40
+ attr_accessor :protected_settings
41
+
42
+ # @return [String] The provisioning state, which only appears in the
43
+ # response.
44
+ attr_accessor :provisioning_state
45
+
46
+ # @return [MachineExtensionPropertiesInstanceView] The machine extension
47
+ # instance view.
48
+ attr_accessor :instance_view
49
+
50
+
51
+ #
52
+ # Mapper for MachineExtension class as Ruby Hash.
53
+ # This will be used for serialization/deserialization.
54
+ #
55
+ def self.mapper()
56
+ {
57
+ client_side_validation: true,
58
+ required: false,
59
+ serialized_name: 'MachineExtension',
60
+ type: {
61
+ name: 'Composite',
62
+ class_name: 'MachineExtension',
63
+ model_properties: {
64
+ id: {
65
+ client_side_validation: true,
66
+ required: false,
67
+ read_only: true,
68
+ serialized_name: 'id',
69
+ type: {
70
+ name: 'String'
71
+ }
72
+ },
73
+ name: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ read_only: true,
77
+ serialized_name: 'name',
78
+ type: {
79
+ name: 'String'
80
+ }
81
+ },
82
+ type: {
83
+ client_side_validation: true,
84
+ required: false,
85
+ read_only: true,
86
+ serialized_name: 'type',
87
+ type: {
88
+ name: 'String'
89
+ }
90
+ },
91
+ tags: {
92
+ client_side_validation: true,
93
+ required: false,
94
+ serialized_name: 'tags',
95
+ type: {
96
+ name: 'Dictionary',
97
+ value: {
98
+ client_side_validation: true,
99
+ required: false,
100
+ serialized_name: 'StringElementType',
101
+ type: {
102
+ name: 'String'
103
+ }
104
+ }
105
+ }
106
+ },
107
+ location: {
108
+ client_side_validation: true,
109
+ required: true,
110
+ serialized_name: 'location',
111
+ type: {
112
+ name: 'String'
113
+ }
114
+ },
115
+ force_update_tag: {
116
+ client_side_validation: true,
117
+ required: false,
118
+ serialized_name: 'properties.forceUpdateTag',
119
+ type: {
120
+ name: 'String'
121
+ }
122
+ },
123
+ publisher: {
124
+ client_side_validation: true,
125
+ required: false,
126
+ serialized_name: 'properties.publisher',
127
+ type: {
128
+ name: 'String'
129
+ }
130
+ },
131
+ machine_extension_type: {
132
+ client_side_validation: true,
133
+ required: false,
134
+ serialized_name: 'properties.type',
135
+ type: {
136
+ name: 'String'
137
+ }
138
+ },
139
+ type_handler_version: {
140
+ client_side_validation: true,
141
+ required: false,
142
+ serialized_name: 'properties.typeHandlerVersion',
143
+ type: {
144
+ name: 'String'
145
+ }
146
+ },
147
+ auto_upgrade_minor_version: {
148
+ client_side_validation: true,
149
+ required: false,
150
+ serialized_name: 'properties.autoUpgradeMinorVersion',
151
+ type: {
152
+ name: 'Boolean'
153
+ }
154
+ },
155
+ settings: {
156
+ client_side_validation: true,
157
+ required: false,
158
+ serialized_name: 'properties.settings',
159
+ type: {
160
+ name: 'Object'
161
+ }
162
+ },
163
+ protected_settings: {
164
+ client_side_validation: true,
165
+ required: false,
166
+ serialized_name: 'properties.protectedSettings',
167
+ type: {
168
+ name: 'Object'
169
+ }
170
+ },
171
+ provisioning_state: {
172
+ client_side_validation: true,
173
+ required: false,
174
+ read_only: true,
175
+ serialized_name: 'properties.provisioningState',
176
+ type: {
177
+ name: 'String'
178
+ }
179
+ },
180
+ instance_view: {
181
+ client_side_validation: true,
182
+ required: false,
183
+ serialized_name: 'properties.instanceView',
184
+ type: {
185
+ name: 'Composite',
186
+ class_name: 'MachineExtensionPropertiesInstanceView'
187
+ }
188
+ }
189
+ }
190
+ }
191
+ }
192
+ end
193
+ end
194
+ end
195
+ 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
+ # Describes the Machine Extension Instance View.
10
+ #
11
+ class MachineExtensionInstanceView
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The machine extension name.
16
+ attr_accessor :name
17
+
18
+ # @return [String] Specifies the type of the extension; an example is
19
+ # "CustomScriptExtension".
20
+ attr_accessor :type
21
+
22
+ # @return [String] Specifies the version of the script handler.
23
+ attr_accessor :type_handler_version
24
+
25
+ # @return [MachineExtensionInstanceViewStatus] Instance view status.
26
+ attr_accessor :status
27
+
28
+
29
+ #
30
+ # Mapper for MachineExtensionInstanceView class as Ruby Hash.
31
+ # This will be used for serialization/deserialization.
32
+ #
33
+ def self.mapper()
34
+ {
35
+ client_side_validation: true,
36
+ required: false,
37
+ serialized_name: 'MachineExtensionInstanceView',
38
+ type: {
39
+ name: 'Composite',
40
+ class_name: 'MachineExtensionInstanceView',
41
+ model_properties: {
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
+ type_handler_version: {
61
+ client_side_validation: true,
62
+ required: false,
63
+ read_only: true,
64
+ serialized_name: 'typeHandlerVersion',
65
+ type: {
66
+ name: 'String'
67
+ }
68
+ },
69
+ status: {
70
+ client_side_validation: true,
71
+ required: false,
72
+ serialized_name: 'status',
73
+ type: {
74
+ name: 'Composite',
75
+ class_name: 'MachineExtensionInstanceViewStatus'
76
+ }
77
+ }
78
+ }
79
+ }
80
+ }
81
+ end
82
+ end
83
+ end
84
+ end
@@ -0,0 +1,97 @@
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
+ # Instance view status.
10
+ #
11
+ class MachineExtensionInstanceViewStatus
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The status code.
16
+ attr_accessor :code
17
+
18
+ # @return [StatusLevelTypes] The level code. Possible values include:
19
+ # 'Info', 'Warning', 'Error'
20
+ attr_accessor :level
21
+
22
+ # @return [String] The short localizable label for the status.
23
+ attr_accessor :display_status
24
+
25
+ # @return [String] The detailed status message, including for alerts and
26
+ # error messages.
27
+ attr_accessor :message
28
+
29
+ # @return [DateTime] The time of the status.
30
+ attr_accessor :time
31
+
32
+
33
+ #
34
+ # Mapper for MachineExtensionInstanceViewStatus class as Ruby Hash.
35
+ # This will be used for serialization/deserialization.
36
+ #
37
+ def self.mapper()
38
+ {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'MachineExtensionInstanceView_status',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'MachineExtensionInstanceViewStatus',
45
+ model_properties: {
46
+ code: {
47
+ client_side_validation: true,
48
+ required: false,
49
+ read_only: true,
50
+ serialized_name: 'code',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ },
55
+ level: {
56
+ client_side_validation: true,
57
+ required: false,
58
+ read_only: true,
59
+ serialized_name: 'level',
60
+ type: {
61
+ name: 'String'
62
+ }
63
+ },
64
+ display_status: {
65
+ client_side_validation: true,
66
+ required: false,
67
+ read_only: true,
68
+ serialized_name: 'displayStatus',
69
+ type: {
70
+ name: 'String'
71
+ }
72
+ },
73
+ message: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ read_only: true,
77
+ serialized_name: 'message',
78
+ type: {
79
+ name: 'String'
80
+ }
81
+ },
82
+ time: {
83
+ client_side_validation: true,
84
+ required: false,
85
+ read_only: true,
86
+ serialized_name: 'time',
87
+ type: {
88
+ name: 'DateTime'
89
+ }
90
+ }
91
+ }
92
+ }
93
+ }
94
+ end
95
+ end
96
+ end
97
+ 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
+ # The machine extension instance view.
10
+ #
11
+ class MachineExtensionPropertiesInstanceView < MachineExtensionInstanceView
12
+
13
+ include MsRestAzure
14
+
15
+
16
+ #
17
+ # Mapper for MachineExtensionPropertiesInstanceView class as Ruby Hash.
18
+ # This will be used for serialization/deserialization.
19
+ #
20
+ def self.mapper()
21
+ {
22
+ client_side_validation: true,
23
+ required: false,
24
+ serialized_name: 'MachineExtensionProperties_instanceView',
25
+ type: {
26
+ name: 'Composite',
27
+ class_name: 'MachineExtensionPropertiesInstanceView',
28
+ model_properties: {
29
+ name: {
30
+ client_side_validation: true,
31
+ required: false,
32
+ read_only: true,
33
+ serialized_name: 'name',
34
+ type: {
35
+ name: 'String'
36
+ }
37
+ },
38
+ type: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ read_only: true,
42
+ serialized_name: 'type',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ type_handler_version: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ read_only: true,
51
+ serialized_name: 'typeHandlerVersion',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ },
56
+ status: {
57
+ client_side_validation: true,
58
+ required: false,
59
+ serialized_name: 'status',
60
+ type: {
61
+ name: 'Composite',
62
+ class_name: 'MachineExtensionInstanceViewStatus'
63
+ }
64
+ }
65
+ }
66
+ }
67
+ }
68
+ end
69
+ end
70
+ end
71
+ end