Class: JSS::OSXConfigurationProfile
- Inherits:
- 
      ConfigurationProfile
      
        - Object
- APIObject
- ConfigurationProfile
- JSS::OSXConfigurationProfile
 
- Defined in:
- lib/jss/api_object/configuration_profile/osx_configuration_profile.rb,
 lib/jss.rb
Overview
An OS X Configuration Profile in the JSS.
Note that the profile payloads and the profile UUID cannot be edited or updated with this via this class. Use the web UI.
Constant Summary collapse
- RSRC_BASE =
          The base for REST resources of this class 
- 'osxconfigurationprofiles'.freeze 
- RSRC_LIST_KEY =
          the hash key used for the JSON list output of all objects in the JSS 
- :os_x_configuration_profiles
- RSRC_OBJECT_KEY =
          The hash key used for the JSON object output. It’s also used in various error messages 
- :os_x_configuration_profile
- SCOPE_TARGET_KEY =
          Our scopes deal with computers 
- :computers
- SELF_SERVICE_TARGET =
          Our SelfService happens on OSX 
- :osx
- LEVELS =
          The possible values for :level 
- %w[user computer].freeze 
- OBJECT_HISTORY_OBJECT_TYPE =
          the object type for this object in the object history table. See APIObject#add_object_history_entry 
- 4
Instance Attribute Summary collapse
- 
  
    
      #icon  ⇒ JSS::Icon? 
    
    
      (also: #self_service_icon)
    
  
  
    
      included
      from SelfServable
    
  
  
  
    
    
  
  
  
  
  
  
    The icon used in self-service. 
- 
  
    
      #in_self_service  ⇒ Boolean 
    
    
      (also: #in_self_service?)
    
  
  
    
      included
      from SelfServable
    
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Is this thing available in Self Service?. 
- 
  
    
      #level  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The level (user/computer) of this profile. 
- 
  
    
      #need_to_update  ⇒ Boolean 
    
    
  
  
    
      included
      from Updatable
    
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Do we have unsaved changes?. 
- 
  
    
      #scope  ⇒ Object 
    
    
  
  
    
      included
      from Scopable
    
  
  
  
    
    
  
  
  
  
  
  
    Attribtues. 
- 
  
    
      #self_service_categories  ⇒ Array<Hash> 
    
    
  
  
    
      included
      from SelfServable
    
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Each Hash has these keys about the category - :id => [Integer] the JSS id of the category - :name => [String] the name of the category. 
- 
  
    
      #self_service_description  ⇒ String 
    
    
  
  
    
      included
      from SelfServable
    
  
  
  
    
    
  
  
  
  
  
  
    The verbage that appears in SelfSvc for this item. 
- 
  
    
      #self_service_display_name  ⇒ String 
    
    
      (also: #self_service_dislay_name)
    
  
  
    
      included
      from SelfServable
    
  
  
  
    
    
  
  
  
  
  
  
    The name to display in macOS Self Service. 
- 
  
    
      #self_service_feature_on_main_page  ⇒ Boolean 
    
    
  
  
    
      included
      from SelfServable
    
  
  
  
    
    
  
  
  
  
  
  
    Only applicable to macOS targets. 
- 
  
    
      #self_service_force_users_to_view_description  ⇒ Boolean 
    
    
  
  
    
      included
      from SelfServable
    
  
  
  
    
    
  
  
  
  
  
  
    Should an extra window appear before the user can install the item? (OSX SSvc only). 
- 
  
    
      #self_service_install_button_text  ⇒ String 
    
    
  
  
    
      included
      from SelfServable
    
  
  
  
    
    
  
  
  
  
  
  
    defaults to ‘Install’. 
- 
  
    
      #self_service_notification_message  ⇒ String 
    
    
  
  
    
      included
      from SelfServable
    
  
  
  
    
    
  
  
  
  
  
  
    The message text of the notification. 
- 
  
    
      #self_service_notification_subject  ⇒ String 
    
    
  
  
    
      included
      from SelfServable
    
  
  
  
    
    
  
  
  
  
  
  
    object name. 
- 
  
    
      #self_service_notification_type  ⇒ Symbol 
    
    
  
  
    
      included
      from SelfServable
    
  
  
  
    
    
  
  
  
  
  
  
    How should notifications be sent either :ssvc_only or :ssvc_and_nctr. 
- 
  
    
      #self_service_notifications_enabled  ⇒ Boolean 
    
    
      (also: #self_service_notifications_enabled?)
    
  
  
    
      included
      from SelfServable
    
  
  
  
    
    
  
  
  
  
  
  
    Should jamf send notifications to self service?. 
- 
  
    
      #self_service_reinstall_button_text  ⇒ String 
    
    
  
  
    
      included
      from SelfServable
    
  
  
  
    
    
  
  
  
  
  
  
    defaults to ‘Reinstall’. 
- 
  
    
      #self_service_reminder_frequency  ⇒ Integer 
    
    
  
  
    
      included
      from SelfServable
    
  
  
  
    
    
  
  
  
  
  
  
    How often (in days) should reminders be given. 
- 
  
    
      #self_service_reminders_enabled  ⇒ Boolean 
    
    
      (also: #self_service_reminders_enabled?)
    
  
  
    
      included
      from SelfServable
    
  
  
  
    
    
  
  
  
  
  
  
    Should self service give reminders by displaying the notification repeatedly?. 
- 
  
    
      #self_service_removal_password  ⇒ String 
    
    
  
  
    
      included
      from SelfServable
    
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    The password needed for removal, in plain text. 
- 
  
    
      #self_service_user_removable  ⇒ Symbol 
    
    
  
  
    
      included
      from SelfServable
    
  
  
  
    
    
  
  
  
  
  
  
    One of the keys in PROFILE_REMOVAL_BY_USER. 
Instance Method Summary collapse
- 
  
    
      #initialize(args = {})  ⇒ OSXConfigurationProfile 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    See JSS::APIObject#initialize. 
Constructor Details
#initialize(args = {}) ⇒ OSXConfigurationProfile
See JSS::APIObject#initialize
| 82 83 84 85 | # File 'lib/jss/api_object/configuration_profile/osx_configuration_profile.rb', line 82 def initialize(args = {}) super @level = @main_subset[:level] end | 
Instance Attribute Details
#icon ⇒ JSS::Icon? Also known as: self_service_icon Originally defined in module SelfServable
Returns The icon used in self-service.
#in_self_service ⇒ Boolean (readonly) Also known as: in_self_service? Originally defined in module SelfServable
Returns Is this thing available in Self Service?.
#level ⇒ String
Returns the level (user/computer) of this profile.
| 75 76 77 | # File 'lib/jss/api_object/configuration_profile/osx_configuration_profile.rb', line 75 def level @level end | 
#need_to_update ⇒ Boolean (readonly) Originally defined in module Updatable
Returns do we have unsaved changes?.
#self_service_categories ⇒ Array<Hash> (readonly) Originally defined in module SelfServable
Each Hash has these keys about the category
- 
:id => [Integer] the JSS id of the category 
- 
:name => [String] the name of the category 
Most objects also include one or both of these keys:
- 
:display_in => [Boolean] should the item be displayed in this category in SSvc? (not MobDevConfProfiles) 
- 
:feature_in => [Boolean] should the item be featured in this category in SSVC? (macOS targets only) 
#self_service_description ⇒ String Originally defined in module SelfServable
Returns The verbage that appears in SelfSvc for this item.
#self_service_display_name ⇒ String Also known as: self_service_dislay_name Originally defined in module SelfServable
Returns The name to display in macOS Self Service.
#self_service_feature_on_main_page ⇒ Boolean Originally defined in module SelfServable
Only applicable to macOS targets
#self_service_force_users_to_view_description ⇒ Boolean Originally defined in module SelfServable
Returns Should an extra window appear before the user can install the item? (OSX SSvc only).
#self_service_install_button_text ⇒ String Originally defined in module SelfServable
defaults to ‘Install’
#self_service_notification_message ⇒ String Originally defined in module SelfServable
Returns The message text of the notification.
#self_service_notification_subject ⇒ String Originally defined in module SelfServable
object name.
#self_service_notification_type ⇒ Symbol Originally defined in module SelfServable
Returns How should notifications be sent either :ssvc_only or :ssvc_and_nctr.
#self_service_notifications_enabled ⇒ Boolean Also known as: self_service_notifications_enabled? Originally defined in module SelfServable
Returns Should jamf send notifications to self service?.
#self_service_reinstall_button_text ⇒ String Originally defined in module SelfServable
defaults to ‘Reinstall’
#self_service_reminder_frequency ⇒ Integer Originally defined in module SelfServable
Returns How often (in days) should reminders be given.
#self_service_reminders_enabled ⇒ Boolean Also known as: self_service_reminders_enabled? Originally defined in module SelfServable
Returns Should self service give reminders by displaying the notification repeatedly?.
#self_service_removal_password ⇒ String (readonly) Originally defined in module SelfServable
Returns The password needed for removal, in plain text.
#self_service_user_removable ⇒ Symbol Originally defined in module SelfServable
Returns one of the keys in PROFILE_REMOVAL_BY_USER.