Skip to main content

androids

Creates, updates, deletes, gets or lists an androids resource.

Overview

Nameandroids
TypeResource
Idazure_extras.intune.androids

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
patch_mam_policyexechostName, policyNamePatch AndroidMAMPolicy.
add_app_for_mam_policyexechostName, policyName, appNameAdd app to an AndroidMAMPolicy.
add_group_for_mam_policyexechostName, policyName, groupIdAdd group to an AndroidMAMPolicy.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
appNamestringapplication unique Name
groupIdstringgroup Id
hostNamestringLocation hostName for the tenant
policyNamestringUnique name for the policy

Lifecycle Methods

Patch AndroidMAMPolicy.

EXEC azure_extras.intune.androids.patch_mam_policy 
@hostName='{{ hostName }}' --required,
@policyName='{{ policyName }}' --required
@@json=
'{
"properties": "{{ properties }}",
"tags": "{{ tags }}",
"location": "{{ location }}"
}'
;