android_mam_policies
Creates, updates, deletes, gets or lists a android_mam_policies
resource.
Overview
Name | android_mam_policies |
Type | Resource |
Id | azure_extras.intune.android_mam_policies |
Fields
Name | Datatype | Description |
---|---|---|
id | string | Resource Id |
name | string | Resource name |
location | string | Resource Location |
properties | object | Intune MAM iOS Policy Properties. |
tags | object | Resource Tags |
type | string | Resource type |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | hostName | Returns Intune Android policies. |
create_or_update | INSERT | hostName, policyName | Creates or updates AndroidMAMPolicy. |
delete | DELETE | hostName, policyName | Delete Android Policy |
SELECT
examples
Returns Intune Android policies.
SELECT
id,
name,
location,
properties,
tags,
type
FROM azure_extras.intune.android_mam_policies
WHERE hostName = '{{ hostName }}';
INSERT
example
Use the following StackQL query and manifest file to create a new android_mam_policies
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure_extras.intune.android_mam_policies (
hostName,
policyName,
properties,
tags,
location
)
SELECT
'{{ hostName }}',
'{{ policyName }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: friendlyName
value: string
- name: description
value: string
- name: appSharingFromLevel
value: string
- name: appSharingToLevel
value: string
- name: authentication
value: string
- name: clipboardSharingLevel
value: string
- name: dataBackup
value: string
- name: fileSharingSaveAs
value: string
- name: pin
value: string
- name: pinNumRetry
value: integer
- name: deviceCompliance
value: string
- name: managedBrowser
value: string
- name: accessRecheckOfflineTimeout
value: string
- name: accessRecheckOnlineTimeout
value: string
- name: offlineWipeTimeout
value: string
- name: numOfApps
value: integer
- name: groupStatus
value: string
- name: lastModifiedTime
value: string
- name: screenCapture
value: string
- name: fileEncryption
value: string
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: tags
value: object
- name: location
value: string
DELETE
example
Deletes the specified android_mam_policies
resource.
/*+ delete */
DELETE FROM azure_extras.intune.android_mam_policies
WHERE hostName = '{{ hostName }}'
AND policyName = '{{ policyName }}';