azure_mgmt_hybrid_compute 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute.rb +72 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/hybrid_compute_management_client.rb +139 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/machine_extensions.rb +805 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/machines.rb +630 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/azure_entity_resource.rb +75 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/error_additional_info.rb +59 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/error_detail.rb +90 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/error_response.rb +113 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/identity.rb +72 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/instance_view_types.rb +15 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/location_data.rb +84 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine.rb +287 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_extension.rb +195 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_extension_instance_view.rb +81 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_extension_instance_view_status.rb +92 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_extension_properties_instance_view.rb +68 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_extension_properties_model.rb +144 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_extension_update.rb +134 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_extension_update_properties_model.rb +118 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_extensions_list_result.rb +99 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_identity.rb +63 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_list_result.rb +99 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_properties.rb +224 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_properties_os_profile.rb +44 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_reconnect.rb +58 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_reconnect_properties.rb +58 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_update.rb +100 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_update_properties.rb +47 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/operation_list_result.rb +56 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/operation_value.rb +108 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/operation_value_display_model.rb +84 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/osprofile.rb +47 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/plan.rb +95 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/proxy_resource.rb +63 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/resource.rb +83 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/resource_identity_type.rb +15 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/resource_model_with_allowed_property_set.rb +191 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/resource_model_with_allowed_property_set_identity.rb +64 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/resource_model_with_allowed_property_set_plan.rb +76 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/resource_model_with_allowed_property_set_sku.rb +77 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/sku.rb +99 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/sku_tier.rb +18 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/status_level_types.rb +17 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/status_types.rb +17 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/tracked_resource.rb +92 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/update_resource.rb +54 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/module_definition.rb +9 -0
- data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/operations.rb +110 -0
- data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute.rb +61 -0
- data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/hybrid_compute_management_client.rb +141 -0
- data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/machine_extensions.rb +795 -0
- data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/machines.rb +622 -0
- data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/azure_entity_resource.rb +75 -0
- data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/error_detail.rb +90 -0
- data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/error_response.rb +49 -0
- data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/identity.rb +71 -0
- data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/instance_view_types.rb +15 -0
- data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/location_data.rb +84 -0
- data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine.rb +348 -0
- data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_extension.rb +195 -0
- data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_extension_instance_view.rb +84 -0
- data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_extension_instance_view_status.rb +97 -0
- data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_extension_properties_instance_view.rb +71 -0
- data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_extension_properties_model.rb +144 -0
- data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_extension_update.rb +134 -0
- data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_extension_update_properties_model.rb +118 -0
- data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_extensions_list_result.rb +99 -0
- data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_identity.rb +62 -0
- data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_list_result.rb +99 -0
- data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_properties.rb +285 -0
- data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_properties_os_profile.rb +44 -0
- data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_update.rb +98 -0
- data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_update_properties.rb +47 -0
- data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/operation_list_result.rb +56 -0
- data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/operation_value.rb +108 -0
- data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/operation_value_display_model.rb +84 -0
- data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/osprofile.rb +47 -0
- data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/proxy_resource.rb +63 -0
- data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/resource.rb +83 -0
- data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/status_level_types.rb +17 -0
- data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/status_types.rb +17 -0
- data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/tracked_resource.rb +92 -0
- data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/update_resource.rb +54 -0
- data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/module_definition.rb +9 -0
- data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/operations.rb +109 -0
- data/lib/azure_mgmt_hybrid_compute.rb +7 -0
- data/lib/module_definition.rb +7 -0
- data/lib/profiles/latest/hybridcompute_latest_profile_client.rb +40 -0
- data/lib/profiles/latest/hybridcompute_module_definition.rb +8 -0
- data/lib/profiles/latest/modules/hybridcompute_profile_module.rb +189 -0
- data/lib/version.rb +7 -0
- metadata +209 -0
data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_extension_properties_model.rb
ADDED
@@ -0,0 +1,144 @@
|
|
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 properties of a Machine Extension.
|
10
|
+
#
|
11
|
+
class MachineExtensionPropertiesModel
|
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 :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 MachineExtensionPropertiesModel 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: 'MachineExtensionProperties',
|
60
|
+
type: {
|
61
|
+
name: 'Composite',
|
62
|
+
class_name: 'MachineExtensionPropertiesModel',
|
63
|
+
model_properties: {
|
64
|
+
force_update_tag: {
|
65
|
+
client_side_validation: true,
|
66
|
+
required: false,
|
67
|
+
serialized_name: 'forceUpdateTag',
|
68
|
+
type: {
|
69
|
+
name: 'String'
|
70
|
+
}
|
71
|
+
},
|
72
|
+
publisher: {
|
73
|
+
client_side_validation: true,
|
74
|
+
required: false,
|
75
|
+
serialized_name: 'publisher',
|
76
|
+
type: {
|
77
|
+
name: 'String'
|
78
|
+
}
|
79
|
+
},
|
80
|
+
type: {
|
81
|
+
client_side_validation: true,
|
82
|
+
required: false,
|
83
|
+
serialized_name: 'type',
|
84
|
+
type: {
|
85
|
+
name: 'String'
|
86
|
+
}
|
87
|
+
},
|
88
|
+
type_handler_version: {
|
89
|
+
client_side_validation: true,
|
90
|
+
required: false,
|
91
|
+
serialized_name: 'typeHandlerVersion',
|
92
|
+
type: {
|
93
|
+
name: 'String'
|
94
|
+
}
|
95
|
+
},
|
96
|
+
auto_upgrade_minor_version: {
|
97
|
+
client_side_validation: true,
|
98
|
+
required: false,
|
99
|
+
serialized_name: 'autoUpgradeMinorVersion',
|
100
|
+
type: {
|
101
|
+
name: 'Boolean'
|
102
|
+
}
|
103
|
+
},
|
104
|
+
settings: {
|
105
|
+
client_side_validation: true,
|
106
|
+
required: false,
|
107
|
+
serialized_name: 'settings',
|
108
|
+
type: {
|
109
|
+
name: 'Object'
|
110
|
+
}
|
111
|
+
},
|
112
|
+
protected_settings: {
|
113
|
+
client_side_validation: true,
|
114
|
+
required: false,
|
115
|
+
serialized_name: 'protectedSettings',
|
116
|
+
type: {
|
117
|
+
name: 'Object'
|
118
|
+
}
|
119
|
+
},
|
120
|
+
provisioning_state: {
|
121
|
+
client_side_validation: true,
|
122
|
+
required: false,
|
123
|
+
read_only: true,
|
124
|
+
serialized_name: 'provisioningState',
|
125
|
+
type: {
|
126
|
+
name: 'String'
|
127
|
+
}
|
128
|
+
},
|
129
|
+
instance_view: {
|
130
|
+
client_side_validation: true,
|
131
|
+
required: false,
|
132
|
+
serialized_name: 'instanceView',
|
133
|
+
type: {
|
134
|
+
name: 'Composite',
|
135
|
+
class_name: 'MachineExtensionPropertiesInstanceView'
|
136
|
+
}
|
137
|
+
}
|
138
|
+
}
|
139
|
+
}
|
140
|
+
}
|
141
|
+
end
|
142
|
+
end
|
143
|
+
end
|
144
|
+
end
|
@@ -0,0 +1,134 @@
|
|
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 Update.
|
10
|
+
#
|
11
|
+
class MachineExtensionUpdate < UpdateResource
|
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 :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
|
+
|
43
|
+
#
|
44
|
+
# Mapper for MachineExtensionUpdate class as Ruby Hash.
|
45
|
+
# This will be used for serialization/deserialization.
|
46
|
+
#
|
47
|
+
def self.mapper()
|
48
|
+
{
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
serialized_name: 'MachineExtensionUpdate',
|
52
|
+
type: {
|
53
|
+
name: 'Composite',
|
54
|
+
class_name: 'MachineExtensionUpdate',
|
55
|
+
model_properties: {
|
56
|
+
tags: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
serialized_name: 'tags',
|
60
|
+
type: {
|
61
|
+
name: 'Dictionary',
|
62
|
+
value: {
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
serialized_name: 'StringElementType',
|
66
|
+
type: {
|
67
|
+
name: 'String'
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
},
|
72
|
+
force_update_tag: {
|
73
|
+
client_side_validation: true,
|
74
|
+
required: false,
|
75
|
+
serialized_name: 'properties.forceUpdateTag',
|
76
|
+
type: {
|
77
|
+
name: 'String'
|
78
|
+
}
|
79
|
+
},
|
80
|
+
publisher: {
|
81
|
+
client_side_validation: true,
|
82
|
+
required: false,
|
83
|
+
serialized_name: 'properties.publisher',
|
84
|
+
type: {
|
85
|
+
name: 'String'
|
86
|
+
}
|
87
|
+
},
|
88
|
+
type: {
|
89
|
+
client_side_validation: true,
|
90
|
+
required: false,
|
91
|
+
serialized_name: 'properties.type',
|
92
|
+
type: {
|
93
|
+
name: 'String'
|
94
|
+
}
|
95
|
+
},
|
96
|
+
type_handler_version: {
|
97
|
+
client_side_validation: true,
|
98
|
+
required: false,
|
99
|
+
serialized_name: 'properties.typeHandlerVersion',
|
100
|
+
type: {
|
101
|
+
name: 'String'
|
102
|
+
}
|
103
|
+
},
|
104
|
+
auto_upgrade_minor_version: {
|
105
|
+
client_side_validation: true,
|
106
|
+
required: false,
|
107
|
+
serialized_name: 'properties.autoUpgradeMinorVersion',
|
108
|
+
type: {
|
109
|
+
name: 'Boolean'
|
110
|
+
}
|
111
|
+
},
|
112
|
+
settings: {
|
113
|
+
client_side_validation: true,
|
114
|
+
required: false,
|
115
|
+
serialized_name: 'properties.settings',
|
116
|
+
type: {
|
117
|
+
name: 'Object'
|
118
|
+
}
|
119
|
+
},
|
120
|
+
protected_settings: {
|
121
|
+
client_side_validation: true,
|
122
|
+
required: false,
|
123
|
+
serialized_name: 'properties.protectedSettings',
|
124
|
+
type: {
|
125
|
+
name: 'Object'
|
126
|
+
}
|
127
|
+
}
|
128
|
+
}
|
129
|
+
}
|
130
|
+
}
|
131
|
+
end
|
132
|
+
end
|
133
|
+
end
|
134
|
+
end
|
@@ -0,0 +1,118 @@
|
|
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 properties of a Machine Extension.
|
10
|
+
#
|
11
|
+
class MachineExtensionUpdatePropertiesModel
|
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 :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
|
+
|
43
|
+
#
|
44
|
+
# Mapper for MachineExtensionUpdatePropertiesModel class as Ruby Hash.
|
45
|
+
# This will be used for serialization/deserialization.
|
46
|
+
#
|
47
|
+
def self.mapper()
|
48
|
+
{
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
serialized_name: 'MachineExtensionUpdateProperties',
|
52
|
+
type: {
|
53
|
+
name: 'Composite',
|
54
|
+
class_name: 'MachineExtensionUpdatePropertiesModel',
|
55
|
+
model_properties: {
|
56
|
+
force_update_tag: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
serialized_name: 'forceUpdateTag',
|
60
|
+
type: {
|
61
|
+
name: 'String'
|
62
|
+
}
|
63
|
+
},
|
64
|
+
publisher: {
|
65
|
+
client_side_validation: true,
|
66
|
+
required: false,
|
67
|
+
serialized_name: 'publisher',
|
68
|
+
type: {
|
69
|
+
name: 'String'
|
70
|
+
}
|
71
|
+
},
|
72
|
+
type: {
|
73
|
+
client_side_validation: true,
|
74
|
+
required: false,
|
75
|
+
serialized_name: 'type',
|
76
|
+
type: {
|
77
|
+
name: 'String'
|
78
|
+
}
|
79
|
+
},
|
80
|
+
type_handler_version: {
|
81
|
+
client_side_validation: true,
|
82
|
+
required: false,
|
83
|
+
serialized_name: 'typeHandlerVersion',
|
84
|
+
type: {
|
85
|
+
name: 'String'
|
86
|
+
}
|
87
|
+
},
|
88
|
+
auto_upgrade_minor_version: {
|
89
|
+
client_side_validation: true,
|
90
|
+
required: false,
|
91
|
+
serialized_name: 'autoUpgradeMinorVersion',
|
92
|
+
type: {
|
93
|
+
name: 'Boolean'
|
94
|
+
}
|
95
|
+
},
|
96
|
+
settings: {
|
97
|
+
client_side_validation: true,
|
98
|
+
required: false,
|
99
|
+
serialized_name: 'settings',
|
100
|
+
type: {
|
101
|
+
name: 'Object'
|
102
|
+
}
|
103
|
+
},
|
104
|
+
protected_settings: {
|
105
|
+
client_side_validation: true,
|
106
|
+
required: false,
|
107
|
+
serialized_name: 'protectedSettings',
|
108
|
+
type: {
|
109
|
+
name: 'Object'
|
110
|
+
}
|
111
|
+
}
|
112
|
+
}
|
113
|
+
}
|
114
|
+
}
|
115
|
+
end
|
116
|
+
end
|
117
|
+
end
|
118
|
+
end
|
data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_extensions_list_result.rb
ADDED
@@ -0,0 +1,99 @@
|
|
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 Extensions List Result.
|
10
|
+
#
|
11
|
+
class MachineExtensionsListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<MachineExtension>] The list of extensions
|
17
|
+
attr_accessor :value
|
18
|
+
|
19
|
+
# @return [String] The uri to fetch the next page of machine extensions.
|
20
|
+
# Call ListNext() with this to fetch the next page of extensions.
|
21
|
+
attr_accessor :next_link
|
22
|
+
|
23
|
+
# return [Proc] with next page method call.
|
24
|
+
attr_accessor :next_method
|
25
|
+
|
26
|
+
#
|
27
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
28
|
+
#
|
29
|
+
# @return [Array<MachineExtension>] operation results.
|
30
|
+
#
|
31
|
+
def get_all_items
|
32
|
+
items = @value
|
33
|
+
page = self
|
34
|
+
while page.next_link != nil && !page.next_link.strip.empty? do
|
35
|
+
page = page.get_next_page
|
36
|
+
items.concat(page.value)
|
37
|
+
end
|
38
|
+
items
|
39
|
+
end
|
40
|
+
|
41
|
+
#
|
42
|
+
# Gets the next page of results.
|
43
|
+
#
|
44
|
+
# @return [MachineExtensionsListResult] with next page content.
|
45
|
+
#
|
46
|
+
def get_next_page
|
47
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
48
|
+
unless response.nil?
|
49
|
+
@next_link = response.body.next_link
|
50
|
+
@value = response.body.value
|
51
|
+
self
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
#
|
56
|
+
# Mapper for MachineExtensionsListResult class as Ruby Hash.
|
57
|
+
# This will be used for serialization/deserialization.
|
58
|
+
#
|
59
|
+
def self.mapper()
|
60
|
+
{
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'MachineExtensionsListResult',
|
64
|
+
type: {
|
65
|
+
name: 'Composite',
|
66
|
+
class_name: 'MachineExtensionsListResult',
|
67
|
+
model_properties: {
|
68
|
+
value: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'value',
|
72
|
+
type: {
|
73
|
+
name: 'Sequence',
|
74
|
+
element: {
|
75
|
+
client_side_validation: true,
|
76
|
+
required: false,
|
77
|
+
serialized_name: 'MachineExtensionElementType',
|
78
|
+
type: {
|
79
|
+
name: 'Composite',
|
80
|
+
class_name: 'MachineExtension'
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
},
|
85
|
+
next_link: {
|
86
|
+
client_side_validation: true,
|
87
|
+
required: false,
|
88
|
+
serialized_name: 'nextLink',
|
89
|
+
type: {
|
90
|
+
name: 'String'
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|