intune

package
v8.0.0-beta+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package intune implements the Azure ARM Intune service API version 2015-01-14-preview.

Microsoft.Intune Resource provider Api features in the swagger-2.0 specification

Index

Constants

View Source
const (
	// APIVersion is the version of the Intune
	APIVersion = "2015-01-14-preview"

	// DefaultBaseURI is the default URI used for the service Intune
	DefaultBaseURI = "https://management.azure.com"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type AndroidClient

type AndroidClient struct {
	ManagementClient
}

AndroidClient is the microsoft.Intune Resource provider Api features in the swagger-2.0 specification

func NewAndroidClient

func NewAndroidClient() AndroidClient

NewAndroidClient creates an instance of the AndroidClient client.

func NewAndroidClientWithBaseURI

func NewAndroidClientWithBaseURI(baseURI string) AndroidClient

NewAndroidClientWithBaseURI creates an instance of the AndroidClient client.

func (AndroidClient) AddAppForMAMPolicy

func (client AndroidClient) AddAppForMAMPolicy(hostName string, policyName string, appName string, parameters MAMPolicyAppIDOrGroupIDPayload) (result autorest.Response, err error)

AddAppForMAMPolicy add app to an AndroidMAMPolicy.

hostName is location hostName for the tenant policyName is unique name for the policy appName is application unique Name parameters is parameters supplied to the Create or update app to an android policy operation.

func (AndroidClient) AddAppForMAMPolicyPreparer

func (client AndroidClient) AddAppForMAMPolicyPreparer(hostName string, policyName string, appName string, parameters MAMPolicyAppIDOrGroupIDPayload) (*http.Request, error)

AddAppForMAMPolicyPreparer prepares the AddAppForMAMPolicy request.

func (AndroidClient) AddAppForMAMPolicyResponder

func (client AndroidClient) AddAppForMAMPolicyResponder(resp *http.Response) (result autorest.Response, err error)

AddAppForMAMPolicyResponder handles the response to the AddAppForMAMPolicy request. The method always closes the http.Response Body.

func (AndroidClient) AddAppForMAMPolicySender

func (client AndroidClient) AddAppForMAMPolicySender(req *http.Request) (*http.Response, error)

AddAppForMAMPolicySender sends the AddAppForMAMPolicy request. The method will close the http.Response Body if it receives an error.

func (AndroidClient) AddGroupForMAMPolicy

func (client AndroidClient) AddGroupForMAMPolicy(hostName string, policyName string, groupID string, parameters MAMPolicyAppIDOrGroupIDPayload) (result autorest.Response, err error)

AddGroupForMAMPolicy add group to an AndroidMAMPolicy.

hostName is location hostName for the tenant policyName is unique name for the policy groupID is group Id parameters is parameters supplied to the Create or update app to an android policy operation.

func (AndroidClient) AddGroupForMAMPolicyPreparer

func (client AndroidClient) AddGroupForMAMPolicyPreparer(hostName string, policyName string, groupID string, parameters MAMPolicyAppIDOrGroupIDPayload) (*http.Request, error)

AddGroupForMAMPolicyPreparer prepares the AddGroupForMAMPolicy request.

func (AndroidClient) AddGroupForMAMPolicyResponder

func (client AndroidClient) AddGroupForMAMPolicyResponder(resp *http.Response) (result autorest.Response, err error)

AddGroupForMAMPolicyResponder handles the response to the AddGroupForMAMPolicy request. The method always closes the http.Response Body.

func (AndroidClient) AddGroupForMAMPolicySender

func (client AndroidClient) AddGroupForMAMPolicySender(req *http.Request) (*http.Response, error)

AddGroupForMAMPolicySender sends the AddGroupForMAMPolicy request. The method will close the http.Response Body if it receives an error.

func (AndroidClient) CreateOrUpdateMAMPolicy

func (client AndroidClient) CreateOrUpdateMAMPolicy(hostName string, policyName string, parameters AndroidMAMPolicy) (result AndroidMAMPolicy, err error)

CreateOrUpdateMAMPolicy creates or updates AndroidMAMPolicy.

hostName is location hostName for the tenant policyName is unique name for the policy parameters is parameters supplied to the Create or update an android policy operation.

func (AndroidClient) CreateOrUpdateMAMPolicyPreparer

func (client AndroidClient) CreateOrUpdateMAMPolicyPreparer(hostName string, policyName string, parameters AndroidMAMPolicy) (*http.Request, error)

CreateOrUpdateMAMPolicyPreparer prepares the CreateOrUpdateMAMPolicy request.

func (AndroidClient) CreateOrUpdateMAMPolicyResponder

func (client AndroidClient) CreateOrUpdateMAMPolicyResponder(resp *http.Response) (result AndroidMAMPolicy, err error)

CreateOrUpdateMAMPolicyResponder handles the response to the CreateOrUpdateMAMPolicy request. The method always closes the http.Response Body.

func (AndroidClient) CreateOrUpdateMAMPolicySender

func (client AndroidClient) CreateOrUpdateMAMPolicySender(req *http.Request) (*http.Response, error)

CreateOrUpdateMAMPolicySender sends the CreateOrUpdateMAMPolicy request. The method will close the http.Response Body if it receives an error.

func (AndroidClient) DeleteAppForMAMPolicy

func (client AndroidClient) DeleteAppForMAMPolicy(hostName string, policyName string, appName string) (result autorest.Response, err error)

DeleteAppForMAMPolicy delete App for Android Policy

hostName is location hostName for the tenant policyName is unique name for the policy appName is application unique Name

func (AndroidClient) DeleteAppForMAMPolicyPreparer

func (client AndroidClient) DeleteAppForMAMPolicyPreparer(hostName string, policyName string, appName string) (*http.Request, error)

DeleteAppForMAMPolicyPreparer prepares the DeleteAppForMAMPolicy request.

func (AndroidClient) DeleteAppForMAMPolicyResponder

func (client AndroidClient) DeleteAppForMAMPolicyResponder(resp *http.Response) (result autorest.Response, err error)

DeleteAppForMAMPolicyResponder handles the response to the DeleteAppForMAMPolicy request. The method always closes the http.Response Body.

func (AndroidClient) DeleteAppForMAMPolicySender

func (client AndroidClient) DeleteAppForMAMPolicySender(req *http.Request) (*http.Response, error)

DeleteAppForMAMPolicySender sends the DeleteAppForMAMPolicy request. The method will close the http.Response Body if it receives an error.

func (AndroidClient) DeleteGroupForMAMPolicy

func (client AndroidClient) DeleteGroupForMAMPolicy(hostName string, policyName string, groupID string) (result autorest.Response, err error)

DeleteGroupForMAMPolicy delete Group for Android Policy

hostName is location hostName for the tenant policyName is unique name for the policy groupID is application unique Name

func (AndroidClient) DeleteGroupForMAMPolicyPreparer

func (client AndroidClient) DeleteGroupForMAMPolicyPreparer(hostName string, policyName string, groupID string) (*http.Request, error)

DeleteGroupForMAMPolicyPreparer prepares the DeleteGroupForMAMPolicy request.

func (AndroidClient) DeleteGroupForMAMPolicyResponder

func (client AndroidClient) DeleteGroupForMAMPolicyResponder(resp *http.Response) (result autorest.Response, err error)

DeleteGroupForMAMPolicyResponder handles the response to the DeleteGroupForMAMPolicy request. The method always closes the http.Response Body.

func (AndroidClient) DeleteGroupForMAMPolicySender

func (client AndroidClient) DeleteGroupForMAMPolicySender(req *http.Request) (*http.Response, error)

DeleteGroupForMAMPolicySender sends the DeleteGroupForMAMPolicy request. The method will close the http.Response Body if it receives an error.

func (AndroidClient) DeleteMAMPolicy

func (client AndroidClient) DeleteMAMPolicy(hostName string, policyName string) (result autorest.Response, err error)

DeleteMAMPolicy delete Android Policy

hostName is location hostName for the tenant policyName is unique name for the policy

func (AndroidClient) DeleteMAMPolicyPreparer

func (client AndroidClient) DeleteMAMPolicyPreparer(hostName string, policyName string) (*http.Request, error)

DeleteMAMPolicyPreparer prepares the DeleteMAMPolicy request.

func (AndroidClient) DeleteMAMPolicyResponder

func (client AndroidClient) DeleteMAMPolicyResponder(resp *http.Response) (result autorest.Response, err error)

DeleteMAMPolicyResponder handles the response to the DeleteMAMPolicy request. The method always closes the http.Response Body.

func (AndroidClient) DeleteMAMPolicySender

func (client AndroidClient) DeleteMAMPolicySender(req *http.Request) (*http.Response, error)

DeleteMAMPolicySender sends the DeleteMAMPolicy request. The method will close the http.Response Body if it receives an error.

func (AndroidClient) GetAppForMAMPolicy

func (client AndroidClient) GetAppForMAMPolicy(hostName string, policyName string, filter string, top *int32, selectParameter string) (result ApplicationCollection, err error)

GetAppForMAMPolicy get apps for an AndroidMAMPolicy.

hostName is location hostName for the tenant policyName is unique name for the policy filter is the filter to apply on the operation. selectParameter is select specific fields in entity.

func (AndroidClient) GetAppForMAMPolicyNextResults

func (client AndroidClient) GetAppForMAMPolicyNextResults(lastResults ApplicationCollection) (result ApplicationCollection, err error)

GetAppForMAMPolicyNextResults retrieves the next set of results, if any.

func (AndroidClient) GetAppForMAMPolicyPreparer

func (client AndroidClient) GetAppForMAMPolicyPreparer(hostName string, policyName string, filter string, top *int32, selectParameter string) (*http.Request, error)

GetAppForMAMPolicyPreparer prepares the GetAppForMAMPolicy request.

func (AndroidClient) GetAppForMAMPolicyResponder

func (client AndroidClient) GetAppForMAMPolicyResponder(resp *http.Response) (result ApplicationCollection, err error)

GetAppForMAMPolicyResponder handles the response to the GetAppForMAMPolicy request. The method always closes the http.Response Body.

func (AndroidClient) GetAppForMAMPolicySender

func (client AndroidClient) GetAppForMAMPolicySender(req *http.Request) (*http.Response, error)

GetAppForMAMPolicySender sends the GetAppForMAMPolicy request. The method will close the http.Response Body if it receives an error.

func (AndroidClient) GetGroupsForMAMPolicy

func (client AndroidClient) GetGroupsForMAMPolicy(hostName string, policyName string) (result GroupsCollection, err error)

GetGroupsForMAMPolicy returns groups for a given AndroidMAMPolicy.

hostName is location hostName for the tenant policyName is policy name for the tenant

func (AndroidClient) GetGroupsForMAMPolicyNextResults

func (client AndroidClient) GetGroupsForMAMPolicyNextResults(lastResults GroupsCollection) (result GroupsCollection, err error)

GetGroupsForMAMPolicyNextResults retrieves the next set of results, if any.

func (AndroidClient) GetGroupsForMAMPolicyPreparer

func (client AndroidClient) GetGroupsForMAMPolicyPreparer(hostName string, policyName string) (*http.Request, error)

GetGroupsForMAMPolicyPreparer prepares the GetGroupsForMAMPolicy request.

func (AndroidClient) GetGroupsForMAMPolicyResponder

func (client AndroidClient) GetGroupsForMAMPolicyResponder(resp *http.Response) (result GroupsCollection, err error)

GetGroupsForMAMPolicyResponder handles the response to the GetGroupsForMAMPolicy request. The method always closes the http.Response Body.

func (AndroidClient) GetGroupsForMAMPolicySender

func (client AndroidClient) GetGroupsForMAMPolicySender(req *http.Request) (*http.Response, error)

GetGroupsForMAMPolicySender sends the GetGroupsForMAMPolicy request. The method will close the http.Response Body if it receives an error.

func (AndroidClient) GetMAMPolicies

func (client AndroidClient) GetMAMPolicies(hostName string, filter string, top *int32, selectParameter string) (result AndroidMAMPolicyCollection, err error)

GetMAMPolicies returns Intune Android policies.

hostName is location hostName for the tenant filter is the filter to apply on the operation. selectParameter is select specific fields in entity.

func (AndroidClient) GetMAMPoliciesNextResults

func (client AndroidClient) GetMAMPoliciesNextResults(lastResults AndroidMAMPolicyCollection) (result AndroidMAMPolicyCollection, err error)

GetMAMPoliciesNextResults retrieves the next set of results, if any.

func (AndroidClient) GetMAMPoliciesPreparer

func (client AndroidClient) GetMAMPoliciesPreparer(hostName string, filter string, top *int32, selectParameter string) (*http.Request, error)

GetMAMPoliciesPreparer prepares the GetMAMPolicies request.

func (AndroidClient) GetMAMPoliciesResponder

func (client AndroidClient) GetMAMPoliciesResponder(resp *http.Response) (result AndroidMAMPolicyCollection, err error)

GetMAMPoliciesResponder handles the response to the GetMAMPolicies request. The method always closes the http.Response Body.

func (AndroidClient) GetMAMPoliciesSender

func (client AndroidClient) GetMAMPoliciesSender(req *http.Request) (*http.Response, error)

GetMAMPoliciesSender sends the GetMAMPolicies request. The method will close the http.Response Body if it receives an error.

func (AndroidClient) GetMAMPolicyByName

func (client AndroidClient) GetMAMPolicyByName(hostName string, policyName string, selectParameter string) (result AndroidMAMPolicy, err error)

GetMAMPolicyByName returns AndroidMAMPolicy with given name.

hostName is location hostName for the tenant policyName is unique name for the policy selectParameter is select specific fields in entity.

func (AndroidClient) GetMAMPolicyByNamePreparer

func (client AndroidClient) GetMAMPolicyByNamePreparer(hostName string, policyName string, selectParameter string) (*http.Request, error)

GetMAMPolicyByNamePreparer prepares the GetMAMPolicyByName request.

func (AndroidClient) GetMAMPolicyByNameResponder

func (client AndroidClient) GetMAMPolicyByNameResponder(resp *http.Response) (result AndroidMAMPolicy, err error)

GetMAMPolicyByNameResponder handles the response to the GetMAMPolicyByName request. The method always closes the http.Response Body.

func (AndroidClient) GetMAMPolicyByNameSender

func (client AndroidClient) GetMAMPolicyByNameSender(req *http.Request) (*http.Response, error)

GetMAMPolicyByNameSender sends the GetMAMPolicyByName request. The method will close the http.Response Body if it receives an error.

func (AndroidClient) PatchMAMPolicy

func (client AndroidClient) PatchMAMPolicy(hostName string, policyName string, parameters AndroidMAMPolicy) (result AndroidMAMPolicy, err error)

PatchMAMPolicy patch AndroidMAMPolicy.

hostName is location hostName for the tenant policyName is unique name for the policy parameters is parameters supplied to the Create or update an android policy operation.

func (AndroidClient) PatchMAMPolicyPreparer

func (client AndroidClient) PatchMAMPolicyPreparer(hostName string, policyName string, parameters AndroidMAMPolicy) (*http.Request, error)

PatchMAMPolicyPreparer prepares the PatchMAMPolicy request.

func (AndroidClient) PatchMAMPolicyResponder

func (client AndroidClient) PatchMAMPolicyResponder(resp *http.Response) (result AndroidMAMPolicy, err error)

PatchMAMPolicyResponder handles the response to the PatchMAMPolicy request. The method always closes the http.Response Body.

func (AndroidClient) PatchMAMPolicySender

func (client AndroidClient) PatchMAMPolicySender(req *http.Request) (*http.Response, error)

PatchMAMPolicySender sends the PatchMAMPolicy request. The method will close the http.Response Body if it receives an error.

type AndroidMAMPolicy

type AndroidMAMPolicy struct {
	autorest.Response           `json:"-"`
	ID                          *string             `json:"id,omitempty"`
	Name                        *string             `json:"name,omitempty"`
	Type                        *string             `json:"type,omitempty"`
	Tags                        *map[string]*string `json:"tags,omitempty"`
	Location                    *string             `json:"location,omitempty"`
	*AndroidMAMPolicyProperties `json:"properties,omitempty"`
}

AndroidMAMPolicy is android Policy entity for Intune MAM.

type AndroidMAMPolicyCollection

type AndroidMAMPolicyCollection struct {
	autorest.Response `json:"-"`
	Value             *[]AndroidMAMPolicy `json:"value,omitempty"`
	Nextlink          *string             `json:"nextlink,omitempty"`
}

AndroidMAMPolicyCollection is

func (AndroidMAMPolicyCollection) AndroidMAMPolicyCollectionPreparer

func (client AndroidMAMPolicyCollection) AndroidMAMPolicyCollectionPreparer() (*http.Request, error)

AndroidMAMPolicyCollectionPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type AndroidMAMPolicyProperties

type AndroidMAMPolicyProperties struct {
	FriendlyName                *string               `json:"friendlyName,omitempty"`
	Description                 *string               `json:"description,omitempty"`
	AppSharingFromLevel         AppSharingFromLevel   `json:"appSharingFromLevel,omitempty"`
	AppSharingToLevel           AppSharingToLevel     `json:"appSharingToLevel,omitempty"`
	Authentication              Authentication        `json:"authentication,omitempty"`
	ClipboardSharingLevel       ClipboardSharingLevel `json:"clipboardSharingLevel,omitempty"`
	DataBackup                  DataBackup            `json:"dataBackup,omitempty"`
	FileSharingSaveAs           FileSharingSaveAs     `json:"fileSharingSaveAs,omitempty"`
	Pin                         Pin                   `json:"pin,omitempty"`
	PinNumRetry                 *int32                `json:"pinNumRetry,omitempty"`
	DeviceCompliance            DeviceCompliance      `json:"deviceCompliance,omitempty"`
	ManagedBrowser              ManagedBrowser        `json:"managedBrowser,omitempty"`
	AccessRecheckOfflineTimeout *string               `json:"accessRecheckOfflineTimeout,omitempty"`
	AccessRecheckOnlineTimeout  *string               `json:"accessRecheckOnlineTimeout,omitempty"`
	OfflineWipeTimeout          *string               `json:"offlineWipeTimeout,omitempty"`
	NumOfApps                   *int32                `json:"numOfApps,omitempty"`
	GroupStatus                 GroupStatus           `json:"groupStatus,omitempty"`
	LastModifiedTime            *date.Time            `json:"lastModifiedTime,omitempty"`
	ScreenCapture               ScreenCapture         `json:"screenCapture,omitempty"`
	FileEncryption              FileEncryption        `json:"fileEncryption,omitempty"`
}

AndroidMAMPolicyProperties is intune MAM iOS Policy Properties.

type AppSharingFromLevel

type AppSharingFromLevel string

AppSharingFromLevel enumerates the values for app sharing from level.

const (
	// AllApps specifies the all apps state for app sharing from level.
	AllApps AppSharingFromLevel = "allApps"
	// None specifies the none state for app sharing from level.
	None AppSharingFromLevel = "none"
	// PolicyManagedApps specifies the policy managed apps state for app
	// sharing from level.
	PolicyManagedApps AppSharingFromLevel = "policyManagedApps"
)

type AppSharingToLevel

type AppSharingToLevel string

AppSharingToLevel enumerates the values for app sharing to level.

const (
	// AppSharingToLevelAllApps specifies the app sharing to level all apps
	// state for app sharing to level.
	AppSharingToLevelAllApps AppSharingToLevel = "allApps"
	// AppSharingToLevelNone specifies the app sharing to level none state for
	// app sharing to level.
	AppSharingToLevelNone AppSharingToLevel = "none"
	// AppSharingToLevelPolicyManagedApps specifies the app sharing to level
	// policy managed apps state for app sharing to level.
	AppSharingToLevelPolicyManagedApps AppSharingToLevel = "policyManagedApps"
)

type Application

type Application struct {
	ID                     *string             `json:"id,omitempty"`
	Name                   *string             `json:"name,omitempty"`
	Type                   *string             `json:"type,omitempty"`
	Tags                   *map[string]*string `json:"tags,omitempty"`
	Location               *string             `json:"location,omitempty"`
	*ApplicationProperties `json:"properties,omitempty"`
}

Application is application entity for Intune MAM.

type ApplicationCollection

type ApplicationCollection struct {
	autorest.Response `json:"-"`
	Value             *[]Application `json:"value,omitempty"`
	Nextlink          *string        `json:"nextlink,omitempty"`
}

ApplicationCollection is

func (ApplicationCollection) ApplicationCollectionPreparer

func (client ApplicationCollection) ApplicationCollectionPreparer() (*http.Request, error)

ApplicationCollectionPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type ApplicationProperties

type ApplicationProperties struct {
	FriendlyName *string  `json:"friendlyName,omitempty"`
	Platform     Platform `json:"platform,omitempty"`
	AppID        *string  `json:"appId,omitempty"`
}

ApplicationProperties is

type Authentication

type Authentication string

Authentication enumerates the values for authentication.

const (
	// NotRequired specifies the not required state for authentication.
	NotRequired Authentication = "notRequired"
	// Required specifies the required state for authentication.
	Required Authentication = "required"
)

type ClipboardSharingLevel

type ClipboardSharingLevel string

ClipboardSharingLevel enumerates the values for clipboard sharing level.

const (
	// ClipboardSharingLevelAllApps specifies the clipboard sharing level all
	// apps state for clipboard sharing level.
	ClipboardSharingLevelAllApps ClipboardSharingLevel = "allApps"
	// ClipboardSharingLevelBlocked specifies the clipboard sharing level
	// blocked state for clipboard sharing level.
	ClipboardSharingLevelBlocked ClipboardSharingLevel = "blocked"
	// ClipboardSharingLevelPolicyManagedApps specifies the clipboard sharing
	// level policy managed apps state for clipboard sharing level.
	ClipboardSharingLevelPolicyManagedApps ClipboardSharingLevel = "policyManagedApps"
	// ClipboardSharingLevelPolicyManagedAppsWithPasteIn specifies the
	// clipboard sharing level policy managed apps with paste in state for
	// clipboard sharing level.
	ClipboardSharingLevelPolicyManagedAppsWithPasteIn ClipboardSharingLevel = "policyManagedAppsWithPasteIn"
)

type DataBackup

type DataBackup string

DataBackup enumerates the values for data backup.

const (
	// Allow specifies the allow state for data backup.
	Allow DataBackup = "allow"
	// Block specifies the block state for data backup.
	Block DataBackup = "block"
)

type Device

type Device struct {
	autorest.Response `json:"-"`
	ID                *string             `json:"id,omitempty"`
	Name              *string             `json:"name,omitempty"`
	Type              *string             `json:"type,omitempty"`
	Tags              *map[string]*string `json:"tags,omitempty"`
	Location          *string             `json:"location,omitempty"`
	*DeviceProperties `json:"properties,omitempty"`
}

Device is device entity for Intune.

type DeviceCollection

type DeviceCollection struct {
	autorest.Response `json:"-"`
	Value             *[]Device `json:"value,omitempty"`
	Nextlink          *string   `json:"nextlink,omitempty"`
}

DeviceCollection is

func (DeviceCollection) DeviceCollectionPreparer

func (client DeviceCollection) DeviceCollectionPreparer() (*http.Request, error)

DeviceCollectionPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type DeviceCompliance

type DeviceCompliance string

DeviceCompliance enumerates the values for device compliance.

const (
	// Disable specifies the disable state for device compliance.
	Disable DeviceCompliance = "disable"
	// Enable specifies the enable state for device compliance.
	Enable DeviceCompliance = "enable"
)

type DeviceProperties

type DeviceProperties struct {
	UserID          *string `json:"userId,omitempty"`
	FriendlyName    *string `json:"friendlyName,omitempty"`
	Platform        *string `json:"platform,omitempty"`
	PlatformVersion *string `json:"platformVersion,omitempty"`
	DeviceType      *string `json:"deviceType,omitempty"`
}

DeviceProperties is

type Error

type Error struct {
	Code    *string `json:"code,omitempty"`
	Message *string `json:"message,omitempty"`
}

Error is

type FileEncryption

type FileEncryption string

FileEncryption enumerates the values for file encryption.

const (
	// FileEncryptionNotRequired specifies the file encryption not required
	// state for file encryption.
	FileEncryptionNotRequired FileEncryption = "notRequired"
	// FileEncryptionRequired specifies the file encryption required state for
	// file encryption.
	FileEncryptionRequired FileEncryption = "required"
)

type FileEncryptionLevel

type FileEncryptionLevel string

FileEncryptionLevel enumerates the values for file encryption level.

const (
	// AfterDeviceRestart specifies the after device restart state for file
	// encryption level.
	AfterDeviceRestart FileEncryptionLevel = "afterDeviceRestart"
	// DeviceLocked specifies the device locked state for file encryption
	// level.
	DeviceLocked FileEncryptionLevel = "deviceLocked"
	// DeviceLockedExceptFilesOpen specifies the device locked except files
	// open state for file encryption level.
	DeviceLockedExceptFilesOpen FileEncryptionLevel = "deviceLockedExceptFilesOpen"
	// UseDeviceSettings specifies the use device settings state for file
	// encryption level.
	UseDeviceSettings FileEncryptionLevel = "useDeviceSettings"
)

type FileSharingSaveAs

type FileSharingSaveAs string

FileSharingSaveAs enumerates the values for file sharing save as.

const (
	// FileSharingSaveAsAllow specifies the file sharing save as allow state
	// for file sharing save as.
	FileSharingSaveAsAllow FileSharingSaveAs = "allow"
	// FileSharingSaveAsBlock specifies the file sharing save as block state
	// for file sharing save as.
	FileSharingSaveAsBlock FileSharingSaveAs = "block"
)

type FlaggedEnrolledApp

type FlaggedEnrolledApp struct {
	ID                            *string             `json:"id,omitempty"`
	Name                          *string             `json:"name,omitempty"`
	Type                          *string             `json:"type,omitempty"`
	Tags                          *map[string]*string `json:"tags,omitempty"`
	Location                      *string             `json:"location,omitempty"`
	*FlaggedEnrolledAppProperties `json:"properties,omitempty"`
}

FlaggedEnrolledApp is flagged Enrolled App for the given tenant.

type FlaggedEnrolledAppCollection

type FlaggedEnrolledAppCollection struct {
	autorest.Response `json:"-"`
	Value             *[]FlaggedEnrolledApp `json:"value,omitempty"`
	Nextlink          *string               `json:"nextlink,omitempty"`
}

FlaggedEnrolledAppCollection is flagged Enrolled App collection for the given tenant.

func (FlaggedEnrolledAppCollection) FlaggedEnrolledAppCollectionPreparer

func (client FlaggedEnrolledAppCollection) FlaggedEnrolledAppCollectionPreparer() (*http.Request, error)

FlaggedEnrolledAppCollectionPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type FlaggedEnrolledAppError

type FlaggedEnrolledAppError struct {
	ErrorCode *string `json:"errorCode,omitempty"`
	Severity  *string `json:"severity,omitempty"`
}

FlaggedEnrolledAppError is

type FlaggedEnrolledAppProperties

type FlaggedEnrolledAppProperties struct {
	DeviceType       *string                    `json:"deviceType,omitempty"`
	FriendlyName     *string                    `json:"friendlyName,omitempty"`
	LastModifiedTime *string                    `json:"lastModifiedTime,omitempty"`
	Platform         *string                    `json:"platform,omitempty"`
	Errors           *[]FlaggedEnrolledAppError `json:"errors,omitempty"`
}

FlaggedEnrolledAppProperties is

type FlaggedUser

type FlaggedUser struct {
	autorest.Response      `json:"-"`
	ID                     *string             `json:"id,omitempty"`
	Name                   *string             `json:"name,omitempty"`
	Type                   *string             `json:"type,omitempty"`
	Tags                   *map[string]*string `json:"tags,omitempty"`
	Location               *string             `json:"location,omitempty"`
	*FlaggedUserProperties `json:"properties,omitempty"`
}

FlaggedUser is flagged user for the given tenant.

type FlaggedUserCollection

type FlaggedUserCollection struct {
	autorest.Response `json:"-"`
	Value             *[]FlaggedUser `json:"value,omitempty"`
	Nextlink          *string        `json:"nextlink,omitempty"`
}

FlaggedUserCollection is flagged user collection for the given tenant.

func (FlaggedUserCollection) FlaggedUserCollectionPreparer

func (client FlaggedUserCollection) FlaggedUserCollectionPreparer() (*http.Request, error)

FlaggedUserCollectionPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type FlaggedUserProperties

type FlaggedUserProperties struct {
	ErrorCount   *int32  `json:"errorCount,omitempty"`
	FriendlyName *string `json:"friendlyName,omitempty"`
}

FlaggedUserProperties is

type GroupItem

type GroupItem struct {
	ID               *string             `json:"id,omitempty"`
	Name             *string             `json:"name,omitempty"`
	Type             *string             `json:"type,omitempty"`
	Tags             *map[string]*string `json:"tags,omitempty"`
	Location         *string             `json:"location,omitempty"`
	*GroupProperties `json:"properties,omitempty"`
}

GroupItem is group entity for Intune MAM.

type GroupProperties

type GroupProperties struct {
	FriendlyName *string `json:"friendlyName,omitempty"`
}

GroupProperties is

type GroupStatus

type GroupStatus string

GroupStatus enumerates the values for group status.

const (
	// NotTargeted specifies the not targeted state for group status.
	NotTargeted GroupStatus = "notTargeted"
	// Targeted specifies the targeted state for group status.
	Targeted GroupStatus = "targeted"
)

type GroupsCollection

type GroupsCollection struct {
	autorest.Response `json:"-"`
	Value             *[]GroupItem `json:"value,omitempty"`
	Nextlink          *string      `json:"nextlink,omitempty"`
}

GroupsCollection is

func (GroupsCollection) GroupsCollectionPreparer

func (client GroupsCollection) GroupsCollectionPreparer() (*http.Request, error)

GroupsCollectionPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type IOSMAMPolicy

type IOSMAMPolicy struct {
	autorest.Response       `json:"-"`
	ID                      *string             `json:"id,omitempty"`
	Name                    *string             `json:"name,omitempty"`
	Type                    *string             `json:"type,omitempty"`
	Tags                    *map[string]*string `json:"tags,omitempty"`
	Location                *string             `json:"location,omitempty"`
	*IOSMAMPolicyProperties `json:"properties,omitempty"`
}

IOSMAMPolicy is iOS Policy entity for Intune MAM.

type IOSMAMPolicyCollection

type IOSMAMPolicyCollection struct {
	autorest.Response `json:"-"`
	Value             *[]IOSMAMPolicy `json:"value,omitempty"`
	Nextlink          *string         `json:"nextlink,omitempty"`
}

IOSMAMPolicyCollection is

func (IOSMAMPolicyCollection) IOSMAMPolicyCollectionPreparer

func (client IOSMAMPolicyCollection) IOSMAMPolicyCollectionPreparer() (*http.Request, error)

IOSMAMPolicyCollectionPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type IOSMAMPolicyProperties

type IOSMAMPolicyProperties struct {
	FriendlyName                *string               `json:"friendlyName,omitempty"`
	Description                 *string               `json:"description,omitempty"`
	AppSharingFromLevel         AppSharingFromLevel   `json:"appSharingFromLevel,omitempty"`
	AppSharingToLevel           AppSharingToLevel     `json:"appSharingToLevel,omitempty"`
	Authentication              Authentication        `json:"authentication,omitempty"`
	ClipboardSharingLevel       ClipboardSharingLevel `json:"clipboardSharingLevel,omitempty"`
	DataBackup                  DataBackup            `json:"dataBackup,omitempty"`
	FileSharingSaveAs           FileSharingSaveAs     `json:"fileSharingSaveAs,omitempty"`
	Pin                         Pin                   `json:"pin,omitempty"`
	PinNumRetry                 *int32                `json:"pinNumRetry,omitempty"`
	DeviceCompliance            DeviceCompliance      `json:"deviceCompliance,omitempty"`
	ManagedBrowser              ManagedBrowser        `json:"managedBrowser,omitempty"`
	AccessRecheckOfflineTimeout *string               `json:"accessRecheckOfflineTimeout,omitempty"`
	AccessRecheckOnlineTimeout  *string               `json:"accessRecheckOnlineTimeout,omitempty"`
	OfflineWipeTimeout          *string               `json:"offlineWipeTimeout,omitempty"`
	NumOfApps                   *int32                `json:"numOfApps,omitempty"`
	GroupStatus                 GroupStatus           `json:"groupStatus,omitempty"`
	LastModifiedTime            *date.Time            `json:"lastModifiedTime,omitempty"`
	FileEncryptionLevel         FileEncryptionLevel   `json:"fileEncryptionLevel,omitempty"`
	TouchID                     TouchID               `json:"touchId,omitempty"`
}

IOSMAMPolicyProperties is intune MAM iOS Policy Properties.

type IosClient

type IosClient struct {
	ManagementClient
}

IosClient is the microsoft.Intune Resource provider Api features in the swagger-2.0 specification

func NewIosClient

func NewIosClient() IosClient

NewIosClient creates an instance of the IosClient client.

func NewIosClientWithBaseURI

func NewIosClientWithBaseURI(baseURI string) IosClient

NewIosClientWithBaseURI creates an instance of the IosClient client.

func (IosClient) AddAppForMAMPolicy

func (client IosClient) AddAppForMAMPolicy(hostName string, policyName string, appName string, parameters MAMPolicyAppIDOrGroupIDPayload) (result autorest.Response, err error)

AddAppForMAMPolicy add app to an iOSMAMPolicy.

hostName is location hostName for the tenant policyName is unique name for the policy appName is application unique Name parameters is parameters supplied to add an app to an ios policy.

func (IosClient) AddAppForMAMPolicyPreparer

func (client IosClient) AddAppForMAMPolicyPreparer(hostName string, policyName string, appName string, parameters MAMPolicyAppIDOrGroupIDPayload) (*http.Request, error)

AddAppForMAMPolicyPreparer prepares the AddAppForMAMPolicy request.

func (IosClient) AddAppForMAMPolicyResponder

func (client IosClient) AddAppForMAMPolicyResponder(resp *http.Response) (result autorest.Response, err error)

AddAppForMAMPolicyResponder handles the response to the AddAppForMAMPolicy request. The method always closes the http.Response Body.

func (IosClient) AddAppForMAMPolicySender

func (client IosClient) AddAppForMAMPolicySender(req *http.Request) (*http.Response, error)

AddAppForMAMPolicySender sends the AddAppForMAMPolicy request. The method will close the http.Response Body if it receives an error.

func (IosClient) AddGroupForMAMPolicy

func (client IosClient) AddGroupForMAMPolicy(hostName string, policyName string, groupID string, parameters MAMPolicyAppIDOrGroupIDPayload) (result autorest.Response, err error)

AddGroupForMAMPolicy add group to an iOSMAMPolicy.

hostName is location hostName for the tenant policyName is unique name for the policy groupID is group Id parameters is parameters supplied to the Create or update app to an android policy operation.

func (IosClient) AddGroupForMAMPolicyPreparer

func (client IosClient) AddGroupForMAMPolicyPreparer(hostName string, policyName string, groupID string, parameters MAMPolicyAppIDOrGroupIDPayload) (*http.Request, error)

AddGroupForMAMPolicyPreparer prepares the AddGroupForMAMPolicy request.

func (IosClient) AddGroupForMAMPolicyResponder

func (client IosClient) AddGroupForMAMPolicyResponder(resp *http.Response) (result autorest.Response, err error)

AddGroupForMAMPolicyResponder handles the response to the AddGroupForMAMPolicy request. The method always closes the http.Response Body.

func (IosClient) AddGroupForMAMPolicySender

func (client IosClient) AddGroupForMAMPolicySender(req *http.Request) (*http.Response, error)

AddGroupForMAMPolicySender sends the AddGroupForMAMPolicy request. The method will close the http.Response Body if it receives an error.

func (IosClient) CreateOrUpdateMAMPolicy

func (client IosClient) CreateOrUpdateMAMPolicy(hostName string, policyName string, parameters IOSMAMPolicy) (result IOSMAMPolicy, err error)

CreateOrUpdateMAMPolicy creates or updates iOSMAMPolicy.

hostName is location hostName for the tenant policyName is unique name for the policy parameters is parameters supplied to the Create or update an android policy operation.

func (IosClient) CreateOrUpdateMAMPolicyPreparer

func (client IosClient) CreateOrUpdateMAMPolicyPreparer(hostName string, policyName string, parameters IOSMAMPolicy) (*http.Request, error)

CreateOrUpdateMAMPolicyPreparer prepares the CreateOrUpdateMAMPolicy request.

func (IosClient) CreateOrUpdateMAMPolicyResponder

func (client IosClient) CreateOrUpdateMAMPolicyResponder(resp *http.Response) (result IOSMAMPolicy, err error)

CreateOrUpdateMAMPolicyResponder handles the response to the CreateOrUpdateMAMPolicy request. The method always closes the http.Response Body.

func (IosClient) CreateOrUpdateMAMPolicySender

func (client IosClient) CreateOrUpdateMAMPolicySender(req *http.Request) (*http.Response, error)

CreateOrUpdateMAMPolicySender sends the CreateOrUpdateMAMPolicy request. The method will close the http.Response Body if it receives an error.

func (IosClient) DeleteAppForMAMPolicy

func (client IosClient) DeleteAppForMAMPolicy(hostName string, policyName string, appName string) (result autorest.Response, err error)

DeleteAppForMAMPolicy delete App for Ios Policy

hostName is location hostName for the tenant policyName is unique name for the policy appName is application unique Name

func (IosClient) DeleteAppForMAMPolicyPreparer

func (client IosClient) DeleteAppForMAMPolicyPreparer(hostName string, policyName string, appName string) (*http.Request, error)

DeleteAppForMAMPolicyPreparer prepares the DeleteAppForMAMPolicy request.

func (IosClient) DeleteAppForMAMPolicyResponder

func (client IosClient) DeleteAppForMAMPolicyResponder(resp *http.Response) (result autorest.Response, err error)

DeleteAppForMAMPolicyResponder handles the response to the DeleteAppForMAMPolicy request. The method always closes the http.Response Body.

func (IosClient) DeleteAppForMAMPolicySender

func (client IosClient) DeleteAppForMAMPolicySender(req *http.Request) (*http.Response, error)

DeleteAppForMAMPolicySender sends the DeleteAppForMAMPolicy request. The method will close the http.Response Body if it receives an error.

func (IosClient) DeleteGroupForMAMPolicy

func (client IosClient) DeleteGroupForMAMPolicy(hostName string, policyName string, groupID string) (result autorest.Response, err error)

DeleteGroupForMAMPolicy delete Group for iOS Policy

hostName is location hostName for the tenant policyName is unique name for the policy groupID is application unique Name

func (IosClient) DeleteGroupForMAMPolicyPreparer

func (client IosClient) DeleteGroupForMAMPolicyPreparer(hostName string, policyName string, groupID string) (*http.Request, error)

DeleteGroupForMAMPolicyPreparer prepares the DeleteGroupForMAMPolicy request.

func (IosClient) DeleteGroupForMAMPolicyResponder

func (client IosClient) DeleteGroupForMAMPolicyResponder(resp *http.Response) (result autorest.Response, err error)

DeleteGroupForMAMPolicyResponder handles the response to the DeleteGroupForMAMPolicy request. The method always closes the http.Response Body.

func (IosClient) DeleteGroupForMAMPolicySender

func (client IosClient) DeleteGroupForMAMPolicySender(req *http.Request) (*http.Response, error)

DeleteGroupForMAMPolicySender sends the DeleteGroupForMAMPolicy request. The method will close the http.Response Body if it receives an error.

func (IosClient) DeleteMAMPolicy

func (client IosClient) DeleteMAMPolicy(hostName string, policyName string) (result autorest.Response, err error)

DeleteMAMPolicy delete Ios Policy

hostName is location hostName for the tenant policyName is unique name for the policy

func (IosClient) DeleteMAMPolicyPreparer

func (client IosClient) DeleteMAMPolicyPreparer(hostName string, policyName string) (*http.Request, error)

DeleteMAMPolicyPreparer prepares the DeleteMAMPolicy request.

func (IosClient) DeleteMAMPolicyResponder

func (client IosClient) DeleteMAMPolicyResponder(resp *http.Response) (result autorest.Response, err error)

DeleteMAMPolicyResponder handles the response to the DeleteMAMPolicy request. The method always closes the http.Response Body.

func (IosClient) DeleteMAMPolicySender

func (client IosClient) DeleteMAMPolicySender(req *http.Request) (*http.Response, error)

DeleteMAMPolicySender sends the DeleteMAMPolicy request. The method will close the http.Response Body if it receives an error.

func (IosClient) GetAppForMAMPolicy

func (client IosClient) GetAppForMAMPolicy(hostName string, policyName string, filter string, top *int32, selectParameter string) (result ApplicationCollection, err error)

GetAppForMAMPolicy get apps for an iOSMAMPolicy.

hostName is location hostName for the tenant policyName is unique name for the policy filter is the filter to apply on the operation. selectParameter is select specific fields in entity.

func (IosClient) GetAppForMAMPolicyNextResults

func (client IosClient) GetAppForMAMPolicyNextResults(lastResults ApplicationCollection) (result ApplicationCollection, err error)

GetAppForMAMPolicyNextResults retrieves the next set of results, if any.

func (IosClient) GetAppForMAMPolicyPreparer

func (client IosClient) GetAppForMAMPolicyPreparer(hostName string, policyName string, filter string, top *int32, selectParameter string) (*http.Request, error)

GetAppForMAMPolicyPreparer prepares the GetAppForMAMPolicy request.

func (IosClient) GetAppForMAMPolicyResponder

func (client IosClient) GetAppForMAMPolicyResponder(resp *http.Response) (result ApplicationCollection, err error)

GetAppForMAMPolicyResponder handles the response to the GetAppForMAMPolicy request. The method always closes the http.Response Body.

func (IosClient) GetAppForMAMPolicySender

func (client IosClient) GetAppForMAMPolicySender(req *http.Request) (*http.Response, error)

GetAppForMAMPolicySender sends the GetAppForMAMPolicy request. The method will close the http.Response Body if it receives an error.

func (IosClient) GetGroupsForMAMPolicy

func (client IosClient) GetGroupsForMAMPolicy(hostName string, policyName string) (result GroupsCollection, err error)

GetGroupsForMAMPolicy returns groups for a given iOSMAMPolicy.

hostName is location hostName for the tenant policyName is policy name for the tenant

func (IosClient) GetGroupsForMAMPolicyNextResults

func (client IosClient) GetGroupsForMAMPolicyNextResults(lastResults GroupsCollection) (result GroupsCollection, err error)

GetGroupsForMAMPolicyNextResults retrieves the next set of results, if any.

func (IosClient) GetGroupsForMAMPolicyPreparer

func (client IosClient) GetGroupsForMAMPolicyPreparer(hostName string, policyName string) (*http.Request, error)

GetGroupsForMAMPolicyPreparer prepares the GetGroupsForMAMPolicy request.

func (IosClient) GetGroupsForMAMPolicyResponder

func (client IosClient) GetGroupsForMAMPolicyResponder(resp *http.Response) (result GroupsCollection, err error)

GetGroupsForMAMPolicyResponder handles the response to the GetGroupsForMAMPolicy request. The method always closes the http.Response Body.

func (IosClient) GetGroupsForMAMPolicySender

func (client IosClient) GetGroupsForMAMPolicySender(req *http.Request) (*http.Response, error)

GetGroupsForMAMPolicySender sends the GetGroupsForMAMPolicy request. The method will close the http.Response Body if it receives an error.

func (IosClient) GetMAMPolicies

func (client IosClient) GetMAMPolicies(hostName string, filter string, top *int32, selectParameter string) (result IOSMAMPolicyCollection, err error)

GetMAMPolicies returns Intune iOSPolicies.

hostName is location hostName for the tenant filter is the filter to apply on the operation. selectParameter is select specific fields in entity.

func (IosClient) GetMAMPoliciesNextResults

func (client IosClient) GetMAMPoliciesNextResults(lastResults IOSMAMPolicyCollection) (result IOSMAMPolicyCollection, err error)

GetMAMPoliciesNextResults retrieves the next set of results, if any.

func (IosClient) GetMAMPoliciesPreparer

func (client IosClient) GetMAMPoliciesPreparer(hostName string, filter string, top *int32, selectParameter string) (*http.Request, error)

GetMAMPoliciesPreparer prepares the GetMAMPolicies request.

func (IosClient) GetMAMPoliciesResponder

func (client IosClient) GetMAMPoliciesResponder(resp *http.Response) (result IOSMAMPolicyCollection, err error)

GetMAMPoliciesResponder handles the response to the GetMAMPolicies request. The method always closes the http.Response Body.

func (IosClient) GetMAMPoliciesSender

func (client IosClient) GetMAMPoliciesSender(req *http.Request) (*http.Response, error)

GetMAMPoliciesSender sends the GetMAMPolicies request. The method will close the http.Response Body if it receives an error.

func (IosClient) GetMAMPolicyByName

func (client IosClient) GetMAMPolicyByName(hostName string, policyName string, selectParameter string) (result IOSMAMPolicy, err error)

GetMAMPolicyByName returns Intune iOS policies.

hostName is location hostName for the tenant policyName is unique name for the policy selectParameter is select specific fields in entity.

func (IosClient) GetMAMPolicyByNamePreparer

func (client IosClient) GetMAMPolicyByNamePreparer(hostName string, policyName string, selectParameter string) (*http.Request, error)

GetMAMPolicyByNamePreparer prepares the GetMAMPolicyByName request.

func (IosClient) GetMAMPolicyByNameResponder

func (client IosClient) GetMAMPolicyByNameResponder(resp *http.Response) (result IOSMAMPolicy, err error)

GetMAMPolicyByNameResponder handles the response to the GetMAMPolicyByName request. The method always closes the http.Response Body.

func (IosClient) GetMAMPolicyByNameSender

func (client IosClient) GetMAMPolicyByNameSender(req *http.Request) (*http.Response, error)

GetMAMPolicyByNameSender sends the GetMAMPolicyByName request. The method will close the http.Response Body if it receives an error.

func (IosClient) PatchMAMPolicy

func (client IosClient) PatchMAMPolicy(hostName string, policyName string, parameters IOSMAMPolicy) (result IOSMAMPolicy, err error)

PatchMAMPolicy patch an iOSMAMPolicy.

hostName is location hostName for the tenant policyName is unique name for the policy parameters is parameters supplied to the Create or update an android policy operation.

func (IosClient) PatchMAMPolicyPreparer

func (client IosClient) PatchMAMPolicyPreparer(hostName string, policyName string, parameters IOSMAMPolicy) (*http.Request, error)

PatchMAMPolicyPreparer prepares the PatchMAMPolicy request.

func (IosClient) PatchMAMPolicyResponder

func (client IosClient) PatchMAMPolicyResponder(resp *http.Response) (result IOSMAMPolicy, err error)

PatchMAMPolicyResponder handles the response to the PatchMAMPolicy request. The method always closes the http.Response Body.

func (IosClient) PatchMAMPolicySender

func (client IosClient) PatchMAMPolicySender(req *http.Request) (*http.Response, error)

PatchMAMPolicySender sends the PatchMAMPolicy request. The method will close the http.Response Body if it receives an error.

type Location

type Location struct {
	autorest.Response   `json:"-"`
	ID                  *string             `json:"id,omitempty"`
	Name                *string             `json:"name,omitempty"`
	Type                *string             `json:"type,omitempty"`
	Tags                *map[string]*string `json:"tags,omitempty"`
	Location            *string             `json:"location,omitempty"`
	*LocationProperties `json:"properties,omitempty"`
}

Location is location entity for given tenant.

type LocationCollection

type LocationCollection struct {
	autorest.Response `json:"-"`
	Value             *[]Location `json:"value,omitempty"`
	Nextlink          *string     `json:"nextlink,omitempty"`
}

LocationCollection is

func (LocationCollection) LocationCollectionPreparer

func (client LocationCollection) LocationCollectionPreparer() (*http.Request, error)

LocationCollectionPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type LocationProperties

type LocationProperties struct {
	HostName *string `json:"hostName,omitempty"`
}

LocationProperties is

type MAMPolicyAppIDOrGroupIDPayload

type MAMPolicyAppIDOrGroupIDPayload struct {
	Properties *MAMPolicyAppOrGroupIDProperties `json:"properties,omitempty"`
}

MAMPolicyAppIDOrGroupIDPayload is mAM Policy request body for properties Intune MAM.

type MAMPolicyAppOrGroupIDProperties

type MAMPolicyAppOrGroupIDProperties struct {
	URL *string `json:"url,omitempty"`
}

MAMPolicyAppOrGroupIDProperties is android Policy request body for Intune MAM.

type MAMPolicyProperties

type MAMPolicyProperties struct {
	FriendlyName                *string               `json:"friendlyName,omitempty"`
	Description                 *string               `json:"description,omitempty"`
	AppSharingFromLevel         AppSharingFromLevel   `json:"appSharingFromLevel,omitempty"`
	AppSharingToLevel           AppSharingToLevel     `json:"appSharingToLevel,omitempty"`
	Authentication              Authentication        `json:"authentication,omitempty"`
	ClipboardSharingLevel       ClipboardSharingLevel `json:"clipboardSharingLevel,omitempty"`
	DataBackup                  DataBackup            `json:"dataBackup,omitempty"`
	FileSharingSaveAs           FileSharingSaveAs     `json:"fileSharingSaveAs,omitempty"`
	Pin                         Pin                   `json:"pin,omitempty"`
	PinNumRetry                 *int32                `json:"pinNumRetry,omitempty"`
	DeviceCompliance            DeviceCompliance      `json:"deviceCompliance,omitempty"`
	ManagedBrowser              ManagedBrowser        `json:"managedBrowser,omitempty"`
	AccessRecheckOfflineTimeout *string               `json:"accessRecheckOfflineTimeout,omitempty"`
	AccessRecheckOnlineTimeout  *string               `json:"accessRecheckOnlineTimeout,omitempty"`
	OfflineWipeTimeout          *string               `json:"offlineWipeTimeout,omitempty"`
	NumOfApps                   *int32                `json:"numOfApps,omitempty"`
	GroupStatus                 GroupStatus           `json:"groupStatus,omitempty"`
	LastModifiedTime            *date.Time            `json:"lastModifiedTime,omitempty"`
}

MAMPolicyProperties is

type ManagedBrowser

type ManagedBrowser string

ManagedBrowser enumerates the values for managed browser.

const (
	// ManagedBrowserNotRequired specifies the managed browser not required
	// state for managed browser.
	ManagedBrowserNotRequired ManagedBrowser = "notRequired"
	// ManagedBrowserRequired specifies the managed browser required state for
	// managed browser.
	ManagedBrowserRequired ManagedBrowser = "required"
)

type ManagementClient

type ManagementClient struct {
	autorest.Client
	BaseURI    string
	APIVersion string
}

ManagementClient is the base client for Intune.

func New

func New() ManagementClient

New creates an instance of the ManagementClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string) ManagementClient

NewWithBaseURI creates an instance of the ManagementClient client.

func (ManagementClient) GetApps

func (client ManagementClient) GetApps(hostName string, filter string, top *int32, selectParameter string) (result ApplicationCollection, err error)

GetApps returns Intune Manageable apps.

hostName is location hostName for the tenant filter is the filter to apply on the operation. selectParameter is select specific fields in entity.

func (ManagementClient) GetAppsNextResults

func (client ManagementClient) GetAppsNextResults(lastResults ApplicationCollection) (result ApplicationCollection, err error)

GetAppsNextResults retrieves the next set of results, if any.

func (ManagementClient) GetAppsPreparer

func (client ManagementClient) GetAppsPreparer(hostName string, filter string, top *int32, selectParameter string) (*http.Request, error)

GetAppsPreparer prepares the GetApps request.

func (ManagementClient) GetAppsResponder

func (client ManagementClient) GetAppsResponder(resp *http.Response) (result ApplicationCollection, err error)

GetAppsResponder handles the response to the GetApps request. The method always closes the http.Response Body.

func (ManagementClient) GetAppsSender

func (client ManagementClient) GetAppsSender(req *http.Request) (*http.Response, error)

GetAppsSender sends the GetApps request. The method will close the http.Response Body if it receives an error.

func (ManagementClient) GetLocationByHostName

func (client ManagementClient) GetLocationByHostName() (result Location, err error)

GetLocationByHostName returns location for given tenant.

func (ManagementClient) GetLocationByHostNamePreparer

func (client ManagementClient) GetLocationByHostNamePreparer() (*http.Request, error)

GetLocationByHostNamePreparer prepares the GetLocationByHostName request.

func (ManagementClient) GetLocationByHostNameResponder

func (client ManagementClient) GetLocationByHostNameResponder(resp *http.Response) (result Location, err error)

GetLocationByHostNameResponder handles the response to the GetLocationByHostName request. The method always closes the http.Response Body.

func (ManagementClient) GetLocationByHostNameSender

func (client ManagementClient) GetLocationByHostNameSender(req *http.Request) (*http.Response, error)

GetLocationByHostNameSender sends the GetLocationByHostName request. The method will close the http.Response Body if it receives an error.

func (ManagementClient) GetLocations

func (client ManagementClient) GetLocations() (result LocationCollection, err error)

GetLocations returns location for user tenant.

func (ManagementClient) GetLocationsNextResults

func (client ManagementClient) GetLocationsNextResults(lastResults LocationCollection) (result LocationCollection, err error)

GetLocationsNextResults retrieves the next set of results, if any.

func (ManagementClient) GetLocationsPreparer

func (client ManagementClient) GetLocationsPreparer() (*http.Request, error)

GetLocationsPreparer prepares the GetLocations request.

func (ManagementClient) GetLocationsResponder

func (client ManagementClient) GetLocationsResponder(resp *http.Response) (result LocationCollection, err error)

GetLocationsResponder handles the response to the GetLocations request. The method always closes the http.Response Body.

func (ManagementClient) GetLocationsSender

func (client ManagementClient) GetLocationsSender(req *http.Request) (*http.Response, error)

GetLocationsSender sends the GetLocations request. The method will close the http.Response Body if it receives an error.

func (ManagementClient) GetMAMFlaggedUserByName

func (client ManagementClient) GetMAMFlaggedUserByName(hostName string, userName string, selectParameter string) (result FlaggedUser, err error)

GetMAMFlaggedUserByName returns Intune flagged user details

hostName is location hostName for the tenant userName is flagged userName selectParameter is select specific fields in entity.

func (ManagementClient) GetMAMFlaggedUserByNamePreparer

func (client ManagementClient) GetMAMFlaggedUserByNamePreparer(hostName string, userName string, selectParameter string) (*http.Request, error)

GetMAMFlaggedUserByNamePreparer prepares the GetMAMFlaggedUserByName request.

func (ManagementClient) GetMAMFlaggedUserByNameResponder

func (client ManagementClient) GetMAMFlaggedUserByNameResponder(resp *http.Response) (result FlaggedUser, err error)

GetMAMFlaggedUserByNameResponder handles the response to the GetMAMFlaggedUserByName request. The method always closes the http.Response Body.

func (ManagementClient) GetMAMFlaggedUserByNameSender

func (client ManagementClient) GetMAMFlaggedUserByNameSender(req *http.Request) (*http.Response, error)

GetMAMFlaggedUserByNameSender sends the GetMAMFlaggedUserByName request. The method will close the http.Response Body if it receives an error.

func (ManagementClient) GetMAMFlaggedUsers

func (client ManagementClient) GetMAMFlaggedUsers(hostName string, filter string, top *int32, selectParameter string) (result FlaggedUserCollection, err error)

GetMAMFlaggedUsers returns Intune flagged user collection

hostName is location hostName for the tenant filter is the filter to apply on the operation. selectParameter is select specific fields in entity.

func (ManagementClient) GetMAMFlaggedUsersNextResults

func (client ManagementClient) GetMAMFlaggedUsersNextResults(lastResults FlaggedUserCollection) (result FlaggedUserCollection, err error)

GetMAMFlaggedUsersNextResults retrieves the next set of results, if any.

func (ManagementClient) GetMAMFlaggedUsersPreparer

func (client ManagementClient) GetMAMFlaggedUsersPreparer(hostName string, filter string, top *int32, selectParameter string) (*http.Request, error)

GetMAMFlaggedUsersPreparer prepares the GetMAMFlaggedUsers request.

func (ManagementClient) GetMAMFlaggedUsersResponder

func (client ManagementClient) GetMAMFlaggedUsersResponder(resp *http.Response) (result FlaggedUserCollection, err error)

GetMAMFlaggedUsersResponder handles the response to the GetMAMFlaggedUsers request. The method always closes the http.Response Body.

func (ManagementClient) GetMAMFlaggedUsersSender

func (client ManagementClient) GetMAMFlaggedUsersSender(req *http.Request) (*http.Response, error)

GetMAMFlaggedUsersSender sends the GetMAMFlaggedUsers request. The method will close the http.Response Body if it receives an error.

func (ManagementClient) GetMAMStatuses

func (client ManagementClient) GetMAMStatuses(hostName string) (result StatusesDefault, err error)

GetMAMStatuses returns Intune Tenant level statuses.

hostName is location hostName for the tenant

func (ManagementClient) GetMAMStatusesNextResults

func (client ManagementClient) GetMAMStatusesNextResults(lastResults StatusesDefault) (result StatusesDefault, err error)

GetMAMStatusesNextResults retrieves the next set of results, if any.

func (ManagementClient) GetMAMStatusesPreparer

func (client ManagementClient) GetMAMStatusesPreparer(hostName string) (*http.Request, error)

GetMAMStatusesPreparer prepares the GetMAMStatuses request.

func (ManagementClient) GetMAMStatusesResponder

func (client ManagementClient) GetMAMStatusesResponder(resp *http.Response) (result StatusesDefault, err error)

GetMAMStatusesResponder handles the response to the GetMAMStatuses request. The method always closes the http.Response Body.

func (ManagementClient) GetMAMStatusesSender

func (client ManagementClient) GetMAMStatusesSender(req *http.Request) (*http.Response, error)

GetMAMStatusesSender sends the GetMAMStatuses request. The method will close the http.Response Body if it receives an error.

func (ManagementClient) GetMAMUserDeviceByDeviceName

func (client ManagementClient) GetMAMUserDeviceByDeviceName(hostName string, userName string, deviceName string, selectParameter string) (result Device, err error)

GetMAMUserDeviceByDeviceName get a unique device for a user.

hostName is location hostName for the tenant userName is unique user name deviceName is device name selectParameter is select specific fields in entity.

func (ManagementClient) GetMAMUserDeviceByDeviceNamePreparer

func (client ManagementClient) GetMAMUserDeviceByDeviceNamePreparer(hostName string, userName string, deviceName string, selectParameter string) (*http.Request, error)

GetMAMUserDeviceByDeviceNamePreparer prepares the GetMAMUserDeviceByDeviceName request.

func (ManagementClient) GetMAMUserDeviceByDeviceNameResponder

func (client ManagementClient) GetMAMUserDeviceByDeviceNameResponder(resp *http.Response) (result Device, err error)

GetMAMUserDeviceByDeviceNameResponder handles the response to the GetMAMUserDeviceByDeviceName request. The method always closes the http.Response Body.

func (ManagementClient) GetMAMUserDeviceByDeviceNameSender

func (client ManagementClient) GetMAMUserDeviceByDeviceNameSender(req *http.Request) (*http.Response, error)

GetMAMUserDeviceByDeviceNameSender sends the GetMAMUserDeviceByDeviceName request. The method will close the http.Response Body if it receives an error.

func (ManagementClient) GetMAMUserDevices

func (client ManagementClient) GetMAMUserDevices(hostName string, userName string, filter string, top *int32, selectParameter string) (result DeviceCollection, err error)

GetMAMUserDevices get devices for a user.

hostName is location hostName for the tenant userName is user unique Name filter is the filter to apply on the operation. selectParameter is select specific fields in entity.

func (ManagementClient) GetMAMUserDevicesNextResults

func (client ManagementClient) GetMAMUserDevicesNextResults(lastResults DeviceCollection) (result DeviceCollection, err error)

GetMAMUserDevicesNextResults retrieves the next set of results, if any.

func (ManagementClient) GetMAMUserDevicesPreparer

func (client ManagementClient) GetMAMUserDevicesPreparer(hostName string, userName string, filter string, top *int32, selectParameter string) (*http.Request, error)

GetMAMUserDevicesPreparer prepares the GetMAMUserDevices request.

func (ManagementClient) GetMAMUserDevicesResponder

func (client ManagementClient) GetMAMUserDevicesResponder(resp *http.Response) (result DeviceCollection, err error)

GetMAMUserDevicesResponder handles the response to the GetMAMUserDevices request. The method always closes the http.Response Body.

func (ManagementClient) GetMAMUserDevicesSender

func (client ManagementClient) GetMAMUserDevicesSender(req *http.Request) (*http.Response, error)

GetMAMUserDevicesSender sends the GetMAMUserDevices request. The method will close the http.Response Body if it receives an error.

func (ManagementClient) GetMAMUserFlaggedEnrolledApps

func (client ManagementClient) GetMAMUserFlaggedEnrolledApps(hostName string, userName string, filter string, top *int32, selectParameter string) (result FlaggedEnrolledAppCollection, err error)

GetMAMUserFlaggedEnrolledApps returns Intune flagged enrolled app collection for the User

hostName is location hostName for the tenant userName is user name for the tenant filter is the filter to apply on the operation. selectParameter is select specific fields in entity.

func (ManagementClient) GetMAMUserFlaggedEnrolledAppsNextResults

func (client ManagementClient) GetMAMUserFlaggedEnrolledAppsNextResults(lastResults FlaggedEnrolledAppCollection) (result FlaggedEnrolledAppCollection, err error)

GetMAMUserFlaggedEnrolledAppsNextResults retrieves the next set of results, if any.

func (ManagementClient) GetMAMUserFlaggedEnrolledAppsPreparer

func (client ManagementClient) GetMAMUserFlaggedEnrolledAppsPreparer(hostName string, userName string, filter string, top *int32, selectParameter string) (*http.Request, error)

GetMAMUserFlaggedEnrolledAppsPreparer prepares the GetMAMUserFlaggedEnrolledApps request.

func (ManagementClient) GetMAMUserFlaggedEnrolledAppsResponder

func (client ManagementClient) GetMAMUserFlaggedEnrolledAppsResponder(resp *http.Response) (result FlaggedEnrolledAppCollection, err error)

GetMAMUserFlaggedEnrolledAppsResponder handles the response to the GetMAMUserFlaggedEnrolledApps request. The method always closes the http.Response Body.

func (ManagementClient) GetMAMUserFlaggedEnrolledAppsSender

func (client ManagementClient) GetMAMUserFlaggedEnrolledAppsSender(req *http.Request) (*http.Response, error)

GetMAMUserFlaggedEnrolledAppsSender sends the GetMAMUserFlaggedEnrolledApps request. The method will close the http.Response Body if it receives an error.

func (ManagementClient) GetOperationResults

func (client ManagementClient) GetOperationResults(hostName string, filter string, top *int32, selectParameter string) (result OperationResultCollection, err error)

GetOperationResults returns operationResults.

hostName is location hostName for the tenant filter is the filter to apply on the operation. selectParameter is select specific fields in entity.

func (ManagementClient) GetOperationResultsNextResults

func (client ManagementClient) GetOperationResultsNextResults(lastResults OperationResultCollection) (result OperationResultCollection, err error)

GetOperationResultsNextResults retrieves the next set of results, if any.

func (ManagementClient) GetOperationResultsPreparer

func (client ManagementClient) GetOperationResultsPreparer(hostName string, filter string, top *int32, selectParameter string) (*http.Request, error)

GetOperationResultsPreparer prepares the GetOperationResults request.

func (ManagementClient) GetOperationResultsResponder

func (client ManagementClient) GetOperationResultsResponder(resp *http.Response) (result OperationResultCollection, err error)

GetOperationResultsResponder handles the response to the GetOperationResults request. The method always closes the http.Response Body.

func (ManagementClient) GetOperationResultsSender

func (client ManagementClient) GetOperationResultsSender(req *http.Request) (*http.Response, error)

GetOperationResultsSender sends the GetOperationResults request. The method will close the http.Response Body if it receives an error.

func (ManagementClient) WipeMAMUserDevice

func (client ManagementClient) WipeMAMUserDevice(hostName string, userName string, deviceName string) (result WipeDeviceOperationResult, err error)

WipeMAMUserDevice wipe a device for a user.

hostName is location hostName for the tenant userName is unique user name deviceName is device name

func (ManagementClient) WipeMAMUserDevicePreparer

func (client ManagementClient) WipeMAMUserDevicePreparer(hostName string, userName string, deviceName string) (*http.Request, error)

WipeMAMUserDevicePreparer prepares the WipeMAMUserDevice request.

func (ManagementClient) WipeMAMUserDeviceResponder

func (client ManagementClient) WipeMAMUserDeviceResponder(resp *http.Response) (result WipeDeviceOperationResult, err error)

WipeMAMUserDeviceResponder handles the response to the WipeMAMUserDevice request. The method always closes the http.Response Body.

func (ManagementClient) WipeMAMUserDeviceSender

func (client ManagementClient) WipeMAMUserDeviceSender(req *http.Request) (*http.Response, error)

WipeMAMUserDeviceSender sends the WipeMAMUserDevice request. The method will close the http.Response Body if it receives an error.

type OperationMetadataProperties

type OperationMetadataProperties struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

OperationMetadataProperties is

type OperationResult

type OperationResult struct {
	ID                         *string             `json:"id,omitempty"`
	Name                       *string             `json:"name,omitempty"`
	Type                       *string             `json:"type,omitempty"`
	Tags                       *map[string]*string `json:"tags,omitempty"`
	Location                   *string             `json:"location,omitempty"`
	*OperationResultProperties `json:"properties,omitempty"`
}

OperationResult is operationResult entity for Intune.

type OperationResultCollection

type OperationResultCollection struct {
	autorest.Response `json:"-"`
	Value             *[]OperationResult `json:"value,omitempty"`
	Nextlink          *string            `json:"nextlink,omitempty"`
}

OperationResultCollection is

func (OperationResultCollection) OperationResultCollectionPreparer

func (client OperationResultCollection) OperationResultCollectionPreparer() (*http.Request, error)

OperationResultCollectionPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type OperationResultProperties

type OperationResultProperties struct {
	FriendlyName      *string                        `json:"friendlyName,omitempty"`
	Category          *string                        `json:"category,omitempty"`
	LastModifiedTime  *string                        `json:"lastModifiedTime,omitempty"`
	State             *string                        `json:"state,omitempty"`
	OperationMetadata *[]OperationMetadataProperties `json:"operationMetadata,omitempty"`
}

OperationResultProperties is

type Pin

type Pin string

Pin enumerates the values for pin.

const (
	// PinNotRequired specifies the pin not required state for pin.
	PinNotRequired Pin = "notRequired"
	// PinRequired specifies the pin required state for pin.
	PinRequired Pin = "required"
)

type Platform

type Platform string

Platform enumerates the values for platform.

const (
	// Android specifies the android state for platform.
	Android Platform = "android"
	// Ios specifies the ios state for platform.
	Ios Platform = "ios"
	// Windows specifies the windows state for platform.
	Windows Platform = "windows"
)

type Resource

type Resource struct {
	ID       *string             `json:"id,omitempty"`
	Name     *string             `json:"name,omitempty"`
	Type     *string             `json:"type,omitempty"`
	Tags     *map[string]*string `json:"tags,omitempty"`
	Location *string             `json:"location,omitempty"`
}

Resource is

type ScreenCapture

type ScreenCapture string

ScreenCapture enumerates the values for screen capture.

const (
	// ScreenCaptureAllow specifies the screen capture allow state for screen
	// capture.
	ScreenCaptureAllow ScreenCapture = "allow"
	// ScreenCaptureBlock specifies the screen capture block state for screen
	// capture.
	ScreenCaptureBlock ScreenCapture = "block"
)

type StatusesDefault

type StatusesDefault struct {
	autorest.Response   `json:"-"`
	ID                  *string             `json:"id,omitempty"`
	Name                *string             `json:"name,omitempty"`
	Type                *string             `json:"type,omitempty"`
	Tags                *map[string]*string `json:"tags,omitempty"`
	Location            *string             `json:"location,omitempty"`
	*StatusesProperties `json:"properties,omitempty"`
	Nextlink            *string `json:"nextlink,omitempty"`
}

StatusesDefault is default Statuses entity for the given tenant.

func (StatusesDefault) StatusesDefaultPreparer

func (client StatusesDefault) StatusesDefaultPreparer() (*http.Request, error)

StatusesDefaultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type StatusesProperties

type StatusesProperties struct {
	DeployedPolicies   *int32     `json:"deployedPolicies,omitempty"`
	EnrolledUsers      *int32     `json:"enrolledUsers,omitempty"`
	FlaggedUsers       *int32     `json:"flaggedUsers,omitempty"`
	LastModifiedTime   *date.Time `json:"lastModifiedTime,omitempty"`
	PolicyAppliedUsers *int32     `json:"policyAppliedUsers,omitempty"`
	Status             *string    `json:"status,omitempty"`
	WipeFailedApps     *int32     `json:"wipeFailedApps,omitempty"`
	WipePendingApps    *int32     `json:"wipePendingApps,omitempty"`
	WipeSucceededApps  *int32     `json:"wipeSucceededApps,omitempty"`
}

StatusesProperties is

type TouchID

type TouchID string

TouchID enumerates the values for touch id.

const (
	// TouchIDDisable specifies the touch id disable state for touch id.
	TouchIDDisable TouchID = "disable"
	// TouchIDEnable specifies the touch id enable state for touch id.
	TouchIDEnable TouchID = "enable"
)

type WipeDeviceOperationResult

type WipeDeviceOperationResult struct {
	autorest.Response                    `json:"-"`
	ID                                   *string             `json:"id,omitempty"`
	Name                                 *string             `json:"name,omitempty"`
	Type                                 *string             `json:"type,omitempty"`
	Tags                                 *map[string]*string `json:"tags,omitempty"`
	Location                             *string             `json:"location,omitempty"`
	*WipeDeviceOperationResultProperties `json:"properties,omitempty"`
}

WipeDeviceOperationResult is device entity for Intune.

type WipeDeviceOperationResultProperties

type WipeDeviceOperationResultProperties struct {
	Value *string `json:"value,omitempty"`
}

WipeDeviceOperationResultProperties is

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL