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/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_extension_instance_view.rb
ADDED
@@ -0,0 +1,81 @@
|
|
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::V2019_12_12
|
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
|
+
serialized_name: 'name',
|
46
|
+
type: {
|
47
|
+
name: 'String'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
type: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
serialized_name: 'type',
|
54
|
+
type: {
|
55
|
+
name: 'String'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
type_handler_version: {
|
59
|
+
client_side_validation: true,
|
60
|
+
required: false,
|
61
|
+
serialized_name: 'typeHandlerVersion',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
},
|
66
|
+
status: {
|
67
|
+
client_side_validation: true,
|
68
|
+
required: false,
|
69
|
+
serialized_name: 'status',
|
70
|
+
type: {
|
71
|
+
name: 'Composite',
|
72
|
+
class_name: 'MachineExtensionInstanceViewStatus'
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
@@ -0,0 +1,92 @@
|
|
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::V2019_12_12
|
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
|
+
serialized_name: 'code',
|
50
|
+
type: {
|
51
|
+
name: 'String'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
level: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: false,
|
57
|
+
serialized_name: 'level',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
display_status: {
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
serialized_name: 'displayStatus',
|
66
|
+
type: {
|
67
|
+
name: 'String'
|
68
|
+
}
|
69
|
+
},
|
70
|
+
message: {
|
71
|
+
client_side_validation: true,
|
72
|
+
required: false,
|
73
|
+
serialized_name: 'message',
|
74
|
+
type: {
|
75
|
+
name: 'String'
|
76
|
+
}
|
77
|
+
},
|
78
|
+
time: {
|
79
|
+
client_side_validation: true,
|
80
|
+
required: false,
|
81
|
+
serialized_name: 'time',
|
82
|
+
type: {
|
83
|
+
name: 'DateTime'
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
end
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
@@ -0,0 +1,68 @@
|
|
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::V2019_12_12
|
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
|
+
serialized_name: 'name',
|
33
|
+
type: {
|
34
|
+
name: 'String'
|
35
|
+
}
|
36
|
+
},
|
37
|
+
type: {
|
38
|
+
client_side_validation: true,
|
39
|
+
required: false,
|
40
|
+
serialized_name: 'type',
|
41
|
+
type: {
|
42
|
+
name: 'String'
|
43
|
+
}
|
44
|
+
},
|
45
|
+
type_handler_version: {
|
46
|
+
client_side_validation: true,
|
47
|
+
required: false,
|
48
|
+
serialized_name: 'typeHandlerVersion',
|
49
|
+
type: {
|
50
|
+
name: 'String'
|
51
|
+
}
|
52
|
+
},
|
53
|
+
status: {
|
54
|
+
client_side_validation: true,
|
55
|
+
required: false,
|
56
|
+
serialized_name: 'status',
|
57
|
+
type: {
|
58
|
+
name: 'Composite',
|
59
|
+
class_name: 'MachineExtensionInstanceViewStatus'
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
data/lib/2019-12-12/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::V2019_12_12
|
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::V2019_12_12
|
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
|