5.0.0 • Published 5 years ago

@datafire/azure_intune v5.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

@datafire/azure_intune

Client library for IntuneResourceManagementClient

Installation and Usage

npm install --save @datafire/azure_intune
let 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.

Output

GetLocationByHostName

Returns location for given tenant.

azure_intune.GetLocationByHostName({
  "api-version": ""
}, context)

Input

  • input object
    • api-version required string: Service Api Version.

Output

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.

Output

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.

Output

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.

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.

Output

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

Output

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

Output

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.

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

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.

Output

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.

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

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.

Output

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.

Output

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.

Output

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.

Output

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.

Output

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.

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.

Output

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

Output

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

Output

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.

Output

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.

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

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.

Output

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.

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

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.

Output

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.

Output

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.

Output

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.

Output

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.

Output

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

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

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

ApplicationProperties

  • ApplicationProperties object
    • appId string
    • friendlyName required string
    • platform required string (values: ios, android, windows)

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

DeviceProperties

  • DeviceProperties object
    • deviceType required string
    • friendlyName required string
    • platform required string
    • platformVersion required string
    • userId required string

Error

  • Error object
    • code required string
    • message required string

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

FlaggedEnrolledAppError

  • FlaggedEnrolledAppError object
    • errorCode string
    • severity string

FlaggedEnrolledAppProperties

  • FlaggedEnrolledAppProperties object
    • deviceType string
    • errors array
    • friendlyName string
    • lastModifiedTime string
    • platform string

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

FlaggedUserProperties

  • FlaggedUserProperties object
    • errorCount integer
    • friendlyName string

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

GroupsCollection

  • GroupsCollection object
    • nextlink string: Gets the URL to get the next set of results.
    • value required array

IOSMAMPolicyCollection

  • IOSMAMPolicyCollection object
    • nextlink string: Gets the URL to get the next set of results.
    • value required array

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

LocationProperties

  • LocationProperties object
    • hostName required string

MAMPolicyAppIdOrGroupIdPayload

MAMPolicyAppOrGroupIdProperties

  • MAMPolicyAppOrGroupIdProperties object: Android Policy request body for Intune MAM.
    • url required string

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

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

OperationResultProperties

  • OperationResultProperties object
    • category string
    • friendlyName required string
    • lastModifiedTime string
    • operationMetadata required array
    • state string

Resource

  • Resource object
    • id string: Resource Id
    • location string: Resource Location
    • name string: Resource name
    • tags object: Resource Tags
    • type string: Resource type

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

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

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

operationMetadataProperties

  • operationMetadataProperties object
    • name required string
    • value required string
5.0.0

5 years ago

4.0.0

7 years ago

3.0.0

7 years ago