class Azure::HybridCompute::Mgmt::V2019_12_12::Models::MachineProperties

Describes the properties of a hybrid machine.

Attributes

agent_version[RW]

@return [String] The hybrid machine agent full version.

client_public_key[RW]

@return [String] Public Key that the client provides to be used during initial resource onboarding

display_name[RW]

@return [String] Specifies the hybrid machine display name.

error_details[RW]

@return [Array<ErrorDetail>] Details about the error state.

extensions[RW]

@return [Array<MachineExtensionInstanceView>] Machine Extensions information

last_status_change[RW]

@return [DateTime] The time of the last status change.

location_data[RW]

@return [LocationData]

machine_fqdn[RW]

@return [String] Specifies the hybrid machine FQDN.

os_name[RW]

@return [String] The Operating System running on the hybrid machine.

os_profile[RW]

@return [MachinePropertiesOsProfile] Specifies the operating system settings for the hybrid machine.

os_version[RW]

@return [String] The version of Operating System running on the hybrid machine.

provisioning_state[RW]

@return [String] The provisioning state, which only appears in the response.

status[RW]

@return [StatusTypes] The status of the hybrid machine agent. Possible values include: 'Connected', 'Disconnected', 'Error'

vm_id[RW]

@return [String] Specifies the hybrid machine unique ID.

Public Class Methods

mapper() click to toggle source

Mapper for MachineProperties class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_properties.rb, line 68
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'MachineProperties',
    type: {
      name: 'Composite',
      class_name: 'MachineProperties',
      model_properties: {
        location_data: {
          client_side_validation: true,
          required: false,
          serialized_name: 'locationData',
          type: {
            name: 'Composite',
            class_name: 'LocationData'
          }
        },
        os_profile: {
          client_side_validation: true,
          required: false,
          serialized_name: 'osProfile',
          type: {
            name: 'Composite',
            class_name: 'MachinePropertiesOsProfile'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'provisioningState',
          type: {
            name: 'String'
          }
        },
        status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'status',
          type: {
            name: 'String'
          }
        },
        last_status_change: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'lastStatusChange',
          type: {
            name: 'DateTime'
          }
        },
        error_details: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'errorDetails',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ErrorDetailElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ErrorDetail'
                }
            }
          }
        },
        agent_version: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'agentVersion',
          type: {
            name: 'String'
          }
        },
        vm_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'vmId',
          type: {
            name: 'String'
          }
        },
        display_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'displayName',
          type: {
            name: 'String'
          }
        },
        machine_fqdn: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'machineFqdn',
          type: {
            name: 'String'
          }
        },
        client_public_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'clientPublicKey',
          type: {
            name: 'String'
          }
        },
        os_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'osName',
          type: {
            name: 'String'
          }
        },
        os_version: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'osVersion',
          type: {
            name: 'String'
          }
        },
        extensions: {
          client_side_validation: true,
          required: false,
          serialized_name: 'extensions',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'MachineExtensionInstanceViewElementType',
                type: {
                  name: 'Composite',
                  class_name: 'MachineExtensionInstanceView'
                }
            }
          }
        }
      }
    }
  }
end