Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A sample resource definition, together with details on the information that is added in the JSON are as follows:

...

Property

Description

Data Type

Example

Anchor
policyName1
policyName1
policyName

The name of the policy that is applied to the Windows device.YesN/AString 

Anchor
compliance1
compliance1
compliance

The action that the monitoring task takes when a policy is violated. The following are the three types of actions that can be applied: Enforce,Warn,Monitor.

YesN/AStringEnforce

Anchor
ownershipType1
ownershipType1
ownershipType

The ownership type of the device. The ownership type named cope is not supported when working with Windows 8.1.YesBYODStringBYOD

Anchor
profile1
profile1
profile

Profile details.YesN/A  
Anchor
profileName1
profileName1
profileName
The name of the profile being added.YesN/AStringMarketing profile
Anchor
deviceType1
deviceType1
deviceType
The code used to define the type of the device platform. The code 2 is used to define the Windows platform.Yes2Integer2
Anchor
profileFeaturesList1
profileFeaturesList1
profileFeaturesList
The list of features that belong to the selected profile.YesN/A  
Anchor
roles1
roles1
roles
The role that this passcode can be applied to. If you wish to apply this policy to any policy, state ANY. Otherwise, specify the respective name of the role.YesN/A ANY

...

Property

Description

Data Type

Example

featureCodeThe code which that defines as to which the policy you wish to add. The available feature codes are as follows: PASSCODE_POLICY, CAMERA and ENCRYPT_STORAGE.Yes StringPASSCODE_POLICY
deviceTypeIdThe code used to define the type of the device platform. The code 2 is used to define the Windows platform.Yes2Integer2
contentThe list of parameters that define the policy. For more information, see profileFeaturesList - policy based.Yes N/A 

...