@datafire/azure_intune v5.0.0
@datafire/azure_intune
Client library for IntuneResourceManagementClient
Installation and Usage
npm install --save @datafire/azure_intunelet azure_intune = require('@datafire/azure_intune').create();
.then(data => {
console.log(data);
});Description
Microsoft.Intune Resource provider Api features in the swagger-2.0 specification
Actions
GetLocations
Returns location for user tenant.
azure_intune.GetLocations({
"api-version": ""
}, context)Input
- input
object- api-version required
string: Service Api Version.
- api-version required
Output
- output LocationCollection
GetLocationByHostName
Returns location for given tenant.
azure_intune.GetLocationByHostName({
"api-version": ""
}, context)Input
- input
object- api-version required
string: Service Api Version.
- api-version required
Output
- output Location
Android_GetAppForMAMPolicy
Get apps for an AndroidMAMPolicy.
azure_intune.Android_GetAppForMAMPolicy({
"hostName": "",
"policyName": "",
"api-version": ""
}, context)Input
- input
object- hostName required
string: Location hostName for the tenant - policyName required
string: Unique name for the policy - api-version required
string: Service Api Version. - $filter
string: The filter to apply on the operation. - $top
integer - $select
string: select specific fields in entity.
- hostName required
Output
- output ApplicationCollection
Android_GetMAMPolicies
Returns Intune Android policies.
azure_intune.Android_GetMAMPolicies({
"hostName": "",
"api-version": ""
}, context)Input
- input
object- hostName required
string: Location hostName for the tenant - api-version required
string: Service Api Version. - $filter
string: The filter to apply on the operation. - $top
integer - $select
string: select specific fields in entity.
- hostName required
Output
- output AndroidMAMPolicyCollection
Android_DeleteMAMPolicy
Delete Android Policy
azure_intune.Android_DeleteMAMPolicy({
"hostName": "",
"policyName": "",
"api-version": ""
}, context)Input
- input
object- hostName required
string: Location hostName for the tenant - policyName required
string: Unique name for the policy - api-version required
string: Service Api Version.
- hostName required
Output
Output schema unknown
Android_GetMAMPolicyByName
Returns AndroidMAMPolicy with given name.
azure_intune.Android_GetMAMPolicyByName({
"hostName": "",
"policyName": "",
"api-version": ""
}, context)Input
- input
object- hostName required
string: Location hostName for the tenant - policyName required
string: Unique name for the policy - api-version required
string: Service Api Version. - $select
string: select specific fields in entity.
- hostName required
Output
- output AndroidMAMPolicy
Android_PatchMAMPolicy
Patch AndroidMAMPolicy.
azure_intune.Android_PatchMAMPolicy({
"hostName": "",
"policyName": "",
"api-version": "",
"parameters": null
}, context)Input
- input
object- hostName required
string: Location hostName for the tenant - policyName required
string: Unique name for the policy - api-version required
string: Service Api Version. - parameters required AndroidMAMPolicy
- hostName required
Output
- output AndroidMAMPolicy
Android_CreateOrUpdateMAMPolicy
Creates or updates AndroidMAMPolicy.
azure_intune.Android_CreateOrUpdateMAMPolicy({
"hostName": "",
"policyName": "",
"api-version": "",
"parameters": null
}, context)Input
- input
object- hostName required
string: Location hostName for the tenant - policyName required
string: Unique name for the policy - api-version required
string: Service Api Version. - parameters required AndroidMAMPolicy
- hostName required
Output
- output AndroidMAMPolicy
Android_DeleteAppForMAMPolicy
Delete App for Android Policy
azure_intune.Android_DeleteAppForMAMPolicy({
"hostName": "",
"policyName": "",
"appName": "",
"api-version": ""
}, context)Input
- input
object- hostName required
string: Location hostName for the tenant - policyName required
string: Unique name for the policy - appName required
string: application unique Name - api-version required
string: Service Api Version.
- hostName required
Output
Output schema unknown
Android_AddAppForMAMPolicy
Add app to an AndroidMAMPolicy.
azure_intune.Android_AddAppForMAMPolicy({
"hostName": "",
"policyName": "",
"appName": "",
"api-version": "",
"parameters": null
}, context)Input
- input
object- hostName required
string: Location hostName for the tenant - policyName required
string: Unique name for the policy - appName required
string: application unique Name - api-version required
string: Service Api Version. - parameters required MAMPolicyAppIdOrGroupIdPayload
- hostName required
Output
Output schema unknown
Android_GetGroupsForMAMPolicy
Returns groups for a given AndroidMAMPolicy.
azure_intune.Android_GetGroupsForMAMPolicy({
"hostName": "",
"policyName": "",
"api-version": ""
}, context)Input
- input
object- hostName required
string: Location hostName for the tenant - policyName required
string: policy name for the tenant - api-version required
string: Service Api Version.
- hostName required
Output
- output GroupsCollection
Android_DeleteGroupForMAMPolicy
Delete Group for Android Policy
azure_intune.Android_DeleteGroupForMAMPolicy({
"hostName": "",
"policyName": "",
"groupId": "",
"api-version": ""
}, context)Input
- input
object- hostName required
string: Location hostName for the tenant - policyName required
string: Unique name for the policy - groupId required
string: application unique Name - api-version required
string: Service Api Version.
- hostName required
Output
Output schema unknown
Android_AddGroupForMAMPolicy
Add group to an AndroidMAMPolicy.
azure_intune.Android_AddGroupForMAMPolicy({
"hostName": "",
"policyName": "",
"groupId": "",
"api-version": "",
"parameters": null
}, context)Input
- input
object- hostName required
string: Location hostName for the tenant - policyName required
string: Unique name for the policy - groupId required
string: group Id - api-version required
string: Service Api Version. - parameters required MAMPolicyAppIdOrGroupIdPayload
- hostName required
Output
Output schema unknown
GetApps
Returns Intune Manageable apps.
azure_intune.GetApps({
"hostName": "",
"api-version": ""
}, context)Input
- input
object- hostName required
string: Location hostName for the tenant - api-version required
string: Service Api Version. - $filter
string: The filter to apply on the operation. - $top
integer - $select
string: select specific fields in entity.
- hostName required
Output
- output ApplicationCollection
GetMAMFlaggedUsers
Returns Intune flagged user collection
azure_intune.GetMAMFlaggedUsers({
"hostName": "",
"api-version": ""
}, context)Input
- input
object- hostName required
string: Location hostName for the tenant - api-version required
string: Service Api Version. - $filter
string: The filter to apply on the operation. - $top
integer - $select
string: select specific fields in entity.
- hostName required
Output
- output FlaggedUserCollection
GetMAMFlaggedUserByName
Returns Intune flagged user details
azure_intune.GetMAMFlaggedUserByName({
"hostName": "",
"userName": "",
"api-version": ""
}, context)Input
- input
object- hostName required
string: Location hostName for the tenant - userName required
string: Flagged userName - api-version required
string: Service Api Version. - $select
string: select specific fields in entity.
- hostName required
Output
- output FlaggedUser
GetMAMUserFlaggedEnrolledApps
Returns Intune flagged enrolled app collection for the User
azure_intune.GetMAMUserFlaggedEnrolledApps({
"hostName": "",
"userName": "",
"api-version": ""
}, context)Input
- input
object- hostName required
string: Location hostName for the tenant - userName required
string: User name for the tenant - api-version required
string: Service Api Version. - $filter
string: The filter to apply on the operation. - $top
integer - $select
string: select specific fields in entity.
- hostName required
Output
- output FlaggedEnrolledAppCollection
Ios_GetMAMPolicies
Returns Intune iOSPolicies.
azure_intune.Ios_GetMAMPolicies({
"hostName": "",
"api-version": ""
}, context)Input
- input
object- hostName required
string: Location hostName for the tenant - api-version required
string: Service Api Version. - $filter
string: The filter to apply on the operation. - $top
integer - $select
string: select specific fields in entity.
- hostName required
Output
- output IOSMAMPolicyCollection
Ios_DeleteMAMPolicy
Delete Ios Policy
azure_intune.Ios_DeleteMAMPolicy({
"hostName": "",
"policyName": "",
"api-version": ""
}, context)Input
- input
object- hostName required
string: Location hostName for the tenant - policyName required
string: Unique name for the policy - api-version required
string: Service Api Version.
- hostName required
Output
Output schema unknown
Ios_GetMAMPolicyByName
Returns Intune iOS policies.
azure_intune.Ios_GetMAMPolicyByName({
"hostName": "",
"policyName": "",
"api-version": ""
}, context)Input
- input
object- hostName required
string: Location hostName for the tenant - policyName required
string: Unique name for the policy - api-version required
string: Service Api Version. - $select
string: select specific fields in entity.
- hostName required
Output
- output iOSMAMPolicy
Ios_PatchMAMPolicy
patch an iOSMAMPolicy.
azure_intune.Ios_PatchMAMPolicy({
"hostName": "",
"policyName": "",
"api-version": "",
"parameters": null
}, context)Input
- input
object- hostName required
string: Location hostName for the tenant - policyName required
string: Unique name for the policy - api-version required
string: Service Api Version. - parameters required iOSMAMPolicy
- hostName required
Output
- output iOSMAMPolicy
Ios_CreateOrUpdateMAMPolicy
Creates or updates iOSMAMPolicy.
azure_intune.Ios_CreateOrUpdateMAMPolicy({
"hostName": "",
"policyName": "",
"api-version": "",
"parameters": null
}, context)Input
- input
object- hostName required
string: Location hostName for the tenant - policyName required
string: Unique name for the policy - api-version required
string: Service Api Version. - parameters required iOSMAMPolicy
- hostName required
Output
- output iOSMAMPolicy
Ios_GetAppForMAMPolicy
Get apps for an iOSMAMPolicy.
azure_intune.Ios_GetAppForMAMPolicy({
"hostName": "",
"policyName": "",
"api-version": ""
}, context)Input
- input
object- hostName required
string: Location hostName for the tenant - policyName required
string: Unique name for the policy - api-version required
string: Service Api Version. - $filter
string: The filter to apply on the operation. - $top
integer - $select
string: select specific fields in entity.
- hostName required
Output
- output ApplicationCollection
Ios_DeleteAppForMAMPolicy
Delete App for Ios Policy
azure_intune.Ios_DeleteAppForMAMPolicy({
"hostName": "",
"policyName": "",
"appName": "",
"api-version": ""
}, context)Input
- input
object- hostName required
string: Location hostName for the tenant - policyName required
string: Unique name for the policy - appName required
string: application unique Name - api-version required
string: Service Api Version.
- hostName required
Output
Output schema unknown
Ios_AddAppForMAMPolicy
Add app to an iOSMAMPolicy.
azure_intune.Ios_AddAppForMAMPolicy({
"hostName": "",
"policyName": "",
"appName": "",
"api-version": "",
"parameters": null
}, context)Input
- input
object- hostName required
string: Location hostName for the tenant - policyName required
string: Unique name for the policy - appName required
string: application unique Name - api-version required
string: Service Api Version. - parameters required MAMPolicyAppIdOrGroupIdPayload
- hostName required
Output
Output schema unknown
Ios_GetGroupsForMAMPolicy
Returns groups for a given iOSMAMPolicy.
azure_intune.Ios_GetGroupsForMAMPolicy({
"hostName": "",
"policyName": "",
"api-version": ""
}, context)Input
- input
object- hostName required
string: Location hostName for the tenant - policyName required
string: policy name for the tenant - api-version required
string: Service Api Version.
- hostName required
Output
- output GroupsCollection
Ios_DeleteGroupForMAMPolicy
Delete Group for iOS Policy
azure_intune.Ios_DeleteGroupForMAMPolicy({
"hostName": "",
"policyName": "",
"groupId": "",
"api-version": ""
}, context)Input
- input
object- hostName required
string: Location hostName for the tenant - policyName required
string: Unique name for the policy - groupId required
string: application unique Name - api-version required
string: Service Api Version.
- hostName required
Output
Output schema unknown
Ios_AddGroupForMAMPolicy
Add group to an iOSMAMPolicy.
azure_intune.Ios_AddGroupForMAMPolicy({
"hostName": "",
"policyName": "",
"groupId": "",
"api-version": "",
"parameters": null
}, context)Input
- input
object- hostName required
string: Location hostName for the tenant - policyName required
string: Unique name for the policy - groupId required
string: group Id - api-version required
string: Service Api Version. - parameters required MAMPolicyAppIdOrGroupIdPayload
- hostName required
Output
Output schema unknown
GetOperationResults
Returns operationResults.
azure_intune.GetOperationResults({
"hostName": "",
"api-version": ""
}, context)Input
- input
object- hostName required
string: Location hostName for the tenant - api-version required
string: Service Api Version. - $filter
string: The filter to apply on the operation. - $top
integer - $select
string: select specific fields in entity.
- hostName required
Output
- output OperationResultCollection
GetMAMStatuses
Returns Intune Tenant level statuses.
azure_intune.GetMAMStatuses({
"hostName": "",
"api-version": ""
}, context)Input
- input
object- hostName required
string: Location hostName for the tenant - api-version required
string: Service Api Version.
- hostName required
Output
- output StatusesDefault
GetMAMUserDevices
Get devices for a user.
azure_intune.GetMAMUserDevices({
"hostName": "",
"userName": "",
"api-version": ""
}, context)Input
- input
object- hostName required
string: Location hostName for the tenant - userName required
string: user unique Name - api-version required
string: Service Api Version. - $filter
string: The filter to apply on the operation. - $top
integer - $select
string: select specific fields in entity.
- hostName required
Output
- output DeviceCollection
GetMAMUserDeviceByDeviceName
Get a unique device for a user.
azure_intune.GetMAMUserDeviceByDeviceName({
"hostName": "",
"userName": "",
"deviceName": "",
"api-version": ""
}, context)Input
- input
object- hostName required
string: Location hostName for the tenant - userName required
string: unique user name - deviceName required
string: device name - api-version required
string: Service Api Version. - $select
string: select specific fields in entity.
- hostName required
Output
- output Device
WipeMAMUserDevice
Wipe a device for a user.
azure_intune.WipeMAMUserDevice({
"hostName": "",
"userName": "",
"deviceName": "",
"api-version": ""
}, context)Input
- input
object- hostName required
string: Location hostName for the tenant - userName required
string: unique user name - deviceName required
string: device name - api-version required
string: Service Api Version.
- hostName required
Output
- output WipeDeviceOperationResult
Definitions
AndroidMAMPolicy
- AndroidMAMPolicy
object: Android Policy entity for Intune MAM.- properties AndroidMAMPolicyProperties
- id
string: Resource Id - location
string: Resource Location - name
string: Resource name - tags
object: Resource Tags - type
string: Resource type
AndroidMAMPolicyCollection
- AndroidMAMPolicyCollection
object- nextlink
string: Gets the URL to get the next set of results. - value required
array- items AndroidMAMPolicy
- nextlink
AndroidMAMPolicyProperties
- AndroidMAMPolicyProperties
object: Intune MAM iOS Policy Properties.- fileEncryption
string(values: required, notRequired) - screenCapture
string(values: allow, block) - accessRecheckOfflineTimeout
string - accessRecheckOnlineTimeout
string - appSharingFromLevel
string(values: none, policyManagedApps, allApps) - appSharingToLevel
string(values: none, policyManagedApps, allApps) - authentication
string(values: required, notRequired) - clipboardSharingLevel
string(values: blocked, policyManagedApps, policyManagedAppsWithPasteIn, allApps) - dataBackup
string(values: allow, block) - description
string - deviceCompliance
string(values: enable, disable) - fileSharingSaveAs
string(values: allow, block) - friendlyName required
string - groupStatus
string(values: notTargeted, targeted) - lastModifiedTime
string - managedBrowser
string(values: required, notRequired) - numOfApps
integer - offlineWipeTimeout
string - pin
string(values: required, notRequired) - pinNumRetry
integer
- fileEncryption
Application
- Application
object: Application entity for Intune MAM.- properties ApplicationProperties
- id
string: Resource Id - location
string: Resource Location - name
string: Resource name - tags
object: Resource Tags - type
string: Resource type
ApplicationCollection
- ApplicationCollection
object- nextlink
string: Gets the URL to get the next set of results. - value required
array- items Application
- nextlink
ApplicationProperties
- ApplicationProperties
object- appId
string - friendlyName required
string - platform required
string(values: ios, android, windows)
- appId
Device
- Device
object: Device entity for Intune.- properties DeviceProperties
- id
string: Resource Id - location
string: Resource Location - name
string: Resource name - tags
object: Resource Tags - type
string: Resource type
DeviceCollection
- DeviceCollection
object- nextlink
string: Gets the URL to get the next set of results. - value required
array- items Device
- nextlink
DeviceProperties
- DeviceProperties
object- deviceType required
string - friendlyName required
string - platform required
string - platformVersion required
string - userId required
string
- deviceType required
Error
- Error
object- code required
string - message required
string
- code required
FlaggedEnrolledApp
- FlaggedEnrolledApp
object: Flagged Enrolled App for the given tenant.- properties FlaggedEnrolledAppProperties
- id
string: Resource Id - location
string: Resource Location - name
string: Resource name - tags
object: Resource Tags - type
string: Resource type
FlaggedEnrolledAppCollection
- FlaggedEnrolledAppCollection
object: Flagged Enrolled App collection for the given tenant.- nextlink
string: Gets the URL to get the next set of results. - value required
array- items FlaggedEnrolledApp
- nextlink
FlaggedEnrolledAppError
- FlaggedEnrolledAppError
object- errorCode
string - severity
string
- errorCode
FlaggedEnrolledAppProperties
- FlaggedEnrolledAppProperties
object- deviceType
string - errors
array- items FlaggedEnrolledAppError
- friendlyName
string - lastModifiedTime
string - platform
string
- deviceType
FlaggedUser
- FlaggedUser
object: Flagged user for the given tenant.- properties FlaggedUserProperties
- id
string: Resource Id - location
string: Resource Location - name
string: Resource name - tags
object: Resource Tags - type
string: Resource type
FlaggedUserCollection
- FlaggedUserCollection
object: Flagged user collection for the given tenant.- nextlink
string: Gets the URL to get the next set of results. - value required
array- items FlaggedUser
- nextlink
FlaggedUserProperties
- FlaggedUserProperties
object- errorCount
integer - friendlyName
string
- errorCount
GroupItem
- GroupItem
object: Group entity for Intune MAM.- properties GroupProperties
- id
string: Resource Id - location
string: Resource Location - name
string: Resource name - tags
object: Resource Tags - type
string: Resource type
GroupProperties
- GroupProperties
object- friendlyName required
string
- friendlyName required
GroupsCollection
- GroupsCollection
object- nextlink
string: Gets the URL to get the next set of results. - value required
array- items GroupItem
- nextlink
IOSMAMPolicyCollection
- IOSMAMPolicyCollection
object- nextlink
string: Gets the URL to get the next set of results. - value required
array- items iOSMAMPolicy
- nextlink
Location
- Location
object: Location entity for given tenant.- properties LocationProperties
- id
string: Resource Id - location
string: Resource Location - name
string: Resource name - tags
object: Resource Tags - type
string: Resource type
LocationCollection
- LocationCollection
object- nextlink
string: Gets the URL to get the next set of results. - value required
array- items Location
- nextlink
LocationProperties
- LocationProperties
object- hostName required
string
- hostName required
MAMPolicyAppIdOrGroupIdPayload
- MAMPolicyAppIdOrGroupIdPayload
object: MAM Policy request body for properties Intune MAM.- properties MAMPolicyAppOrGroupIdProperties
MAMPolicyAppOrGroupIdProperties
- MAMPolicyAppOrGroupIdProperties
object: Android Policy request body for Intune MAM.- url required
string
- url required
MAMPolicyProperties
- MAMPolicyProperties
object- accessRecheckOfflineTimeout
string - accessRecheckOnlineTimeout
string - appSharingFromLevel
string(values: none, policyManagedApps, allApps) - appSharingToLevel
string(values: none, policyManagedApps, allApps) - authentication
string(values: required, notRequired) - clipboardSharingLevel
string(values: blocked, policyManagedApps, policyManagedAppsWithPasteIn, allApps) - dataBackup
string(values: allow, block) - description
string - deviceCompliance
string(values: enable, disable) - fileSharingSaveAs
string(values: allow, block) - friendlyName required
string - groupStatus
string(values: notTargeted, targeted) - lastModifiedTime
string - managedBrowser
string(values: required, notRequired) - numOfApps
integer - offlineWipeTimeout
string - pin
string(values: required, notRequired) - pinNumRetry
integer
- accessRecheckOfflineTimeout
OperationResult
- OperationResult
object: OperationResult entity for Intune.- properties OperationResultProperties
- id
string: Resource Id - location
string: Resource Location - name
string: Resource name - tags
object: Resource Tags - type
string: Resource type
OperationResultCollection
- OperationResultCollection
object- nextlink
string: Gets the URL to get the next set of results. - value required
array- items OperationResult
- nextlink
OperationResultProperties
- OperationResultProperties
object- category
string - friendlyName required
string - lastModifiedTime
string - operationMetadata required
array - state
string
- category
Resource
- Resource
object- id
string: Resource Id - location
string: Resource Location - name
string: Resource name - tags
object: Resource Tags - type
string: Resource type
- id
StatusesDefault
- StatusesDefault
object: Default Statuses entity for the given tenant.- properties StatusesProperties
- id
string: Resource Id - location
string: Resource Location - name
string: Resource name - tags
object: Resource Tags - type
string: Resource type
StatusesProperties
- StatusesProperties
object- deployedPolicies
integer - enrolledUsers
integer - flaggedUsers
integer - lastModifiedTime
string - policyAppliedUsers
integer - status
string - wipeFailedApps
integer - wipePendingApps
integer - wipeSucceededApps
integer
- deployedPolicies
WipeDeviceOperationResult
- WipeDeviceOperationResult
object: Device entity for Intune.- properties WipeDeviceOperationResultProperties
- id
string: Resource Id - location
string: Resource Location - name
string: Resource name - tags
object: Resource Tags - type
string: Resource type
WipeDeviceOperationResultProperties
- WipeDeviceOperationResultProperties
object- value required
string
- value required
iOSMAMPolicy
- iOSMAMPolicy
object: iOS Policy entity for Intune MAM.- properties iOSMAMPolicyProperties
- id
string: Resource Id - location
string: Resource Location - name
string: Resource name - tags
object: Resource Tags - type
string: Resource type
iOSMAMPolicyProperties
- iOSMAMPolicyProperties
object: Intune MAM iOS Policy Properties.- fileEncryptionLevel
string(values: deviceLocked, deviceLockedExceptFilesOpen, afterDeviceRestart, useDeviceSettings) - touchId
string(values: enable, disable) - accessRecheckOfflineTimeout
string - accessRecheckOnlineTimeout
string - appSharingFromLevel
string(values: none, policyManagedApps, allApps) - appSharingToLevel
string(values: none, policyManagedApps, allApps) - authentication
string(values: required, notRequired) - clipboardSharingLevel
string(values: blocked, policyManagedApps, policyManagedAppsWithPasteIn, allApps) - dataBackup
string(values: allow, block) - description
string - deviceCompliance
string(values: enable, disable) - fileSharingSaveAs
string(values: allow, block) - friendlyName required
string - groupStatus
string(values: notTargeted, targeted) - lastModifiedTime
string - managedBrowser
string(values: required, notRequired) - numOfApps
integer - offlineWipeTimeout
string - pin
string(values: required, notRequired) - pinNumRetry
integer
- fileEncryptionLevel
operationMetadataProperties
- operationMetadataProperties
object- name required
string - value required
string
- name required