class Azure::Compute::Mgmt::V2020_06_01::Models::DedicatedHostInstanceViewWithName
The instance view of a dedicated host that includes the name of the dedicated host. It is used for the response to the instance view of a dedicated host group.
Attributes
name[RW]
@return [String] The name of the dedicated host.
Public Class Methods
mapper()
click to toggle source
Mapper for DedicatedHostInstanceViewWithName
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_instance_view_with_name.rb, line 25 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DedicatedHostInstanceViewWithName', type: { name: 'Composite', class_name: 'DedicatedHostInstanceViewWithName', model_properties: { asset_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'assetId', type: { name: 'String' } }, available_capacity: { client_side_validation: true, required: false, serialized_name: 'availableCapacity', type: { name: 'Composite', class_name: 'DedicatedHostAvailableCapacity' } }, statuses: { client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { name: 'Composite', class_name: 'InstanceViewStatus' } } } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } } } } } end