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
@@ -0,0 +1,62 @@
|
|
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
|
+
# Model object.
|
10
|
+
#
|
11
|
+
#
|
12
|
+
class MachineIdentity < Identity
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
|
17
|
+
#
|
18
|
+
# Mapper for MachineIdentity class as Ruby Hash.
|
19
|
+
# This will be used for serialization/deserialization.
|
20
|
+
#
|
21
|
+
def self.mapper()
|
22
|
+
{
|
23
|
+
client_side_validation: true,
|
24
|
+
required: false,
|
25
|
+
serialized_name: 'Machine_identity',
|
26
|
+
type: {
|
27
|
+
name: 'Composite',
|
28
|
+
class_name: 'MachineIdentity',
|
29
|
+
model_properties: {
|
30
|
+
type: {
|
31
|
+
client_side_validation: true,
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'type',
|
34
|
+
type: {
|
35
|
+
name: 'String'
|
36
|
+
}
|
37
|
+
},
|
38
|
+
principal_id: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
read_only: true,
|
42
|
+
serialized_name: 'principalId',
|
43
|
+
type: {
|
44
|
+
name: 'String'
|
45
|
+
}
|
46
|
+
},
|
47
|
+
tenant_id: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
read_only: true,
|
51
|
+
serialized_name: 'tenantId',
|
52
|
+
type: {
|
53
|
+
name: 'String'
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
@@ -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
|
+
# The List hybrid machine operation response.
|
10
|
+
#
|
11
|
+
class MachineListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<Machine>] The list of hybrid machines.
|
17
|
+
attr_accessor :value
|
18
|
+
|
19
|
+
# @return [String] The URI to fetch the next page of Machines. Call
|
20
|
+
# ListNext() with this URI to fetch the next page of hybrid machines.
|
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<Machine>] 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 [MachineListResult] 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 MachineListResult 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: 'MachineListResult',
|
64
|
+
type: {
|
65
|
+
name: 'Composite',
|
66
|
+
class_name: 'MachineListResult',
|
67
|
+
model_properties: {
|
68
|
+
value: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: true,
|
71
|
+
serialized_name: 'value',
|
72
|
+
type: {
|
73
|
+
name: 'Sequence',
|
74
|
+
element: {
|
75
|
+
client_side_validation: true,
|
76
|
+
required: false,
|
77
|
+
serialized_name: 'MachineElementType',
|
78
|
+
type: {
|
79
|
+
name: 'Composite',
|
80
|
+
class_name: 'Machine'
|
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
|
@@ -0,0 +1,285 @@
|
|
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 hybrid machine.
|
10
|
+
#
|
11
|
+
class MachineProperties
|
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
|
+
|
79
|
+
#
|
80
|
+
# Mapper for MachineProperties class as Ruby Hash.
|
81
|
+
# This will be used for serialization/deserialization.
|
82
|
+
#
|
83
|
+
def self.mapper()
|
84
|
+
{
|
85
|
+
client_side_validation: true,
|
86
|
+
required: false,
|
87
|
+
serialized_name: 'MachineProperties',
|
88
|
+
type: {
|
89
|
+
name: 'Composite',
|
90
|
+
class_name: 'MachineProperties',
|
91
|
+
model_properties: {
|
92
|
+
location_data: {
|
93
|
+
client_side_validation: true,
|
94
|
+
required: false,
|
95
|
+
serialized_name: 'locationData',
|
96
|
+
type: {
|
97
|
+
name: 'Composite',
|
98
|
+
class_name: 'LocationData'
|
99
|
+
}
|
100
|
+
},
|
101
|
+
os_profile: {
|
102
|
+
client_side_validation: true,
|
103
|
+
required: false,
|
104
|
+
serialized_name: 'osProfile',
|
105
|
+
type: {
|
106
|
+
name: 'Composite',
|
107
|
+
class_name: 'MachinePropertiesOsProfile'
|
108
|
+
}
|
109
|
+
},
|
110
|
+
provisioning_state: {
|
111
|
+
client_side_validation: true,
|
112
|
+
required: false,
|
113
|
+
read_only: true,
|
114
|
+
serialized_name: 'provisioningState',
|
115
|
+
type: {
|
116
|
+
name: 'String'
|
117
|
+
}
|
118
|
+
},
|
119
|
+
status: {
|
120
|
+
client_side_validation: true,
|
121
|
+
required: false,
|
122
|
+
read_only: true,
|
123
|
+
serialized_name: 'status',
|
124
|
+
type: {
|
125
|
+
name: 'String'
|
126
|
+
}
|
127
|
+
},
|
128
|
+
last_status_change: {
|
129
|
+
client_side_validation: true,
|
130
|
+
required: false,
|
131
|
+
read_only: true,
|
132
|
+
serialized_name: 'lastStatusChange',
|
133
|
+
type: {
|
134
|
+
name: 'DateTime'
|
135
|
+
}
|
136
|
+
},
|
137
|
+
error_details: {
|
138
|
+
client_side_validation: true,
|
139
|
+
required: false,
|
140
|
+
read_only: true,
|
141
|
+
serialized_name: 'errorDetails',
|
142
|
+
type: {
|
143
|
+
name: 'Sequence',
|
144
|
+
element: {
|
145
|
+
client_side_validation: true,
|
146
|
+
required: false,
|
147
|
+
serialized_name: 'ErrorDetailElementType',
|
148
|
+
type: {
|
149
|
+
name: 'Composite',
|
150
|
+
class_name: 'ErrorDetail'
|
151
|
+
}
|
152
|
+
}
|
153
|
+
}
|
154
|
+
},
|
155
|
+
agent_version: {
|
156
|
+
client_side_validation: true,
|
157
|
+
required: false,
|
158
|
+
read_only: true,
|
159
|
+
serialized_name: 'agentVersion',
|
160
|
+
type: {
|
161
|
+
name: 'String'
|
162
|
+
}
|
163
|
+
},
|
164
|
+
vm_id: {
|
165
|
+
client_side_validation: true,
|
166
|
+
required: false,
|
167
|
+
serialized_name: 'vmId',
|
168
|
+
type: {
|
169
|
+
name: 'String'
|
170
|
+
}
|
171
|
+
},
|
172
|
+
display_name: {
|
173
|
+
client_side_validation: true,
|
174
|
+
required: false,
|
175
|
+
read_only: true,
|
176
|
+
serialized_name: 'displayName',
|
177
|
+
type: {
|
178
|
+
name: 'String'
|
179
|
+
}
|
180
|
+
},
|
181
|
+
machine_fqdn: {
|
182
|
+
client_side_validation: true,
|
183
|
+
required: false,
|
184
|
+
read_only: true,
|
185
|
+
serialized_name: 'machineFqdn',
|
186
|
+
type: {
|
187
|
+
name: 'String'
|
188
|
+
}
|
189
|
+
},
|
190
|
+
client_public_key: {
|
191
|
+
client_side_validation: true,
|
192
|
+
required: false,
|
193
|
+
serialized_name: 'clientPublicKey',
|
194
|
+
type: {
|
195
|
+
name: 'String'
|
196
|
+
}
|
197
|
+
},
|
198
|
+
os_name: {
|
199
|
+
client_side_validation: true,
|
200
|
+
required: false,
|
201
|
+
read_only: true,
|
202
|
+
serialized_name: 'osName',
|
203
|
+
type: {
|
204
|
+
name: 'String'
|
205
|
+
}
|
206
|
+
},
|
207
|
+
os_version: {
|
208
|
+
client_side_validation: true,
|
209
|
+
required: false,
|
210
|
+
read_only: true,
|
211
|
+
serialized_name: 'osVersion',
|
212
|
+
type: {
|
213
|
+
name: 'String'
|
214
|
+
}
|
215
|
+
},
|
216
|
+
vm_uuid: {
|
217
|
+
client_side_validation: true,
|
218
|
+
required: false,
|
219
|
+
read_only: true,
|
220
|
+
serialized_name: 'vmUuid',
|
221
|
+
type: {
|
222
|
+
name: 'String'
|
223
|
+
}
|
224
|
+
},
|
225
|
+
extensions: {
|
226
|
+
client_side_validation: true,
|
227
|
+
required: false,
|
228
|
+
read_only: true,
|
229
|
+
serialized_name: 'extensions',
|
230
|
+
type: {
|
231
|
+
name: 'Sequence',
|
232
|
+
element: {
|
233
|
+
client_side_validation: true,
|
234
|
+
required: false,
|
235
|
+
serialized_name: 'MachineExtensionInstanceViewElementType',
|
236
|
+
type: {
|
237
|
+
name: 'Composite',
|
238
|
+
class_name: 'MachineExtensionInstanceView'
|
239
|
+
}
|
240
|
+
}
|
241
|
+
}
|
242
|
+
},
|
243
|
+
os_sku: {
|
244
|
+
client_side_validation: true,
|
245
|
+
required: false,
|
246
|
+
read_only: true,
|
247
|
+
serialized_name: 'osSku',
|
248
|
+
type: {
|
249
|
+
name: 'String'
|
250
|
+
}
|
251
|
+
},
|
252
|
+
domain_name: {
|
253
|
+
client_side_validation: true,
|
254
|
+
required: false,
|
255
|
+
read_only: true,
|
256
|
+
serialized_name: 'domainName',
|
257
|
+
type: {
|
258
|
+
name: 'String'
|
259
|
+
}
|
260
|
+
},
|
261
|
+
ad_fqdn: {
|
262
|
+
client_side_validation: true,
|
263
|
+
required: false,
|
264
|
+
read_only: true,
|
265
|
+
serialized_name: 'adFqdn',
|
266
|
+
type: {
|
267
|
+
name: 'String'
|
268
|
+
}
|
269
|
+
},
|
270
|
+
dns_fqdn: {
|
271
|
+
client_side_validation: true,
|
272
|
+
required: false,
|
273
|
+
read_only: true,
|
274
|
+
serialized_name: 'dnsFqdn',
|
275
|
+
type: {
|
276
|
+
name: 'String'
|
277
|
+
}
|
278
|
+
}
|
279
|
+
}
|
280
|
+
}
|
281
|
+
}
|
282
|
+
end
|
283
|
+
end
|
284
|
+
end
|
285
|
+
end
|
data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_properties_os_profile.rb
ADDED
@@ -0,0 +1,44 @@
|
|
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
|
+
# Specifies the operating system settings for the hybrid machine.
|
10
|
+
#
|
11
|
+
class MachinePropertiesOsProfile < OSProfile
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
|
16
|
+
#
|
17
|
+
# Mapper for MachinePropertiesOsProfile 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: 'MachineProperties_osProfile',
|
25
|
+
type: {
|
26
|
+
name: 'Composite',
|
27
|
+
class_name: 'MachinePropertiesOsProfile',
|
28
|
+
model_properties: {
|
29
|
+
computer_name: {
|
30
|
+
client_side_validation: true,
|
31
|
+
required: false,
|
32
|
+
read_only: true,
|
33
|
+
serialized_name: 'computerName',
|
34
|
+
type: {
|
35
|
+
name: 'String'
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|