class Azure::Security::Mgmt::V2020_01_01::Models::OnPremiseResourceDetails
Details of the On Premise resource that was assessed
Attributes
machine_name[RW]
@return [String] The name of the machine
source[RW]
source_computer_id[RW]
@return [String] The oms agent Id installed on the machine
vmuuid[RW]
@return [String] The unique Id of the machine
workspace_id[RW]
@return [String] Azure
resource Id of the workspace the machine is attached to
Private Class Methods
mapper()
click to toggle source
Mapper for OnPremiseResourceDetails
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-01-01/generated/azure_mgmt_security/models/on_premise_resource_details.rb, line 40 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'OnPremise', type: { name: 'Composite', class_name: 'OnPremiseResourceDetails', model_properties: { source: { client_side_validation: true, required: true, serialized_name: 'source', type: { name: 'String' } }, workspace_id: { client_side_validation: true, required: true, serialized_name: 'workspaceId', type: { name: 'String' } }, vmuuid: { client_side_validation: true, required: true, serialized_name: 'vmuuid', type: { name: 'String' } }, source_computer_id: { client_side_validation: true, required: true, serialized_name: 'sourceComputerId', type: { name: 'String' } }, machine_name: { client_side_validation: true, required: true, serialized_name: 'machineName', type: { name: 'String' } } } } } end
new()
click to toggle source
# File lib/2020-01-01/generated/azure_mgmt_security/models/on_premise_resource_details.rb, line 16 def initialize @source = "OnPremise" end