Class: PaloAlto::XML::Config::Devices::Entry::Deviceconfig::System::DeviceTelemetry

Inherits:
PaloAlto::XML::ConfigClass show all
Defined in:
lib/palo_alto/config.rb

Constant Summary

Constants included from DSL

DSL::AXES, DSL::LOWERCASE_LETTERS, DSL::METHODS, DSL::OPERATORS, DSL::UPPERCASE_LETTERS

Instance Attribute Summary

Attributes inherited from PaloAlto::XML::ConfigClass

#api_attributes, #parent_instance, #subclasses

Attributes inherited from Expression

#arguments, #expression

Instance Method Summary collapse

Methods inherited from PaloAlto::XML::ConfigClass

#array_class_setter, #clear!, #complete, #create!, #delete!, #delete_child, #edit!, #enforce_type, #enforce_types, #external_set, #get, #get_all, #get_class_from_child_str, #get_primary_key, #initialize, #inspect, #maybe_register_subclass, #multimove!, #prop_get, #prop_set, #selector_subclasses, #set!, #set_array_class_attributes, #set_values, #to_xml, #values, #xml_builder

Methods inherited from Expression

#current, #initialize, #to_xpath

Methods included from DSL

#anywhere, #axis, #binary_operator, #child, #contains_word, #css, #current, #descendant, #ends_with, #function, #is, #last, #lowercase, #method, #next_sibling, #one_of, #parenthesis, #position, #previous_sibling, #qname, #relative, #root, #text, #union, #uppercase, #where, #xpath_attr

Constructor Details

This class inherits a constructor from PaloAlto::XML::ConfigClass

Instance Method Details

#_sectionObject



43743
43744
43745
# File 'lib/palo_alto/config.rb', line 43743

def _section
:'device-telemetry'
end

#device_health_performanceObject



43753
43754
43755
# File 'lib/palo_alto/config.rb', line 43753

def device_health_performance
prop_get('device-health-performance')
end

#device_health_performance=(val) ⇒ Object



43756
43757
43758
# File 'lib/palo_alto/config.rb', line 43756

def device_health_performance=(val)
prop_set('device-health-performance', val)
end

#has_multiple_values?Boolean

Returns:

  • (Boolean)


43742
# File 'lib/palo_alto/config.rb', line 43742

def has_multiple_values?; false; end

#product_usageObject



43747
43748
43749
# File 'lib/palo_alto/config.rb', line 43747

def product_usage
prop_get('product-usage')
end

#product_usage=(val) ⇒ Object



43750
43751
43752
# File 'lib/palo_alto/config.rb', line 43750

def product_usage=(val)
prop_set('product-usage', val)
end

#regionObject

region name to send telemetry data



43766
43767
43768
# File 'lib/palo_alto/config.rb', line 43766

def region
prop_get('region')
end

#region=(val) ⇒ Object

region name to send telemetry data



43770
43771
43772
# File 'lib/palo_alto/config.rb', line 43770

def region=(val)
prop_set('region', val)
end

#threat_preventionObject



43759
43760
43761
# File 'lib/palo_alto/config.rb', line 43759

def threat_prevention
prop_get('threat-prevention')
end

#threat_prevention=(val) ⇒ Object



43762
43763
43764
# File 'lib/palo_alto/config.rb', line 43762

def threat_prevention=(val)
prop_set('threat-prevention', val)
end