android_mam_policy_by_names
Creates, updates, deletes, gets or lists an android_mam_policy_by_names resource.
Overview
| Name | android_mam_policy_by_names |
| Type | Resource |
| Id | azure_extras.intune.android_mam_policy_by_names |
Fields
The following fields are returned by SELECT queries:
- get
iOSMAMPolicy entity.
| 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
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | hostName, policyName | $select | Returns AndroidMAMPolicy with given name. |
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.
| Name | Datatype | Description |
|---|---|---|
hostName | string | Location hostName for the tenant |
policyName | string | Unique name for the policy |
$select | string | select specific fields in entity. |
SELECT examples
- get
Returns AndroidMAMPolicy with given name.
SELECT
id,
name,
location,
properties,
tags,
type
FROM azure_extras.intune.android_mam_policy_by_names
WHERE hostName = '{{ hostName }}' -- required
AND policyName = '{{ policyName }}' -- required
AND $select = '{{ $select }}'
;