manageddevice

package
v0.20241017.1093842 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: MPL-2.0 Imports: 9 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/microsoft-graph/users/stable/manageddevice Documentation

The manageddevice SDK allows for interaction with Microsoft Graph users (API Version stable).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/microsoft-graph/users/stable/manageddevice"

Client Initialization

client := manageddevice.NewManagedDeviceClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: ManagedDeviceClient.BypassManagedDeviceActivationLock

ctx := context.TODO()
id := manageddevice.NewUserIdManagedDeviceID("userId", "managedDeviceId")

read, err := client.BypassManagedDeviceActivationLock(ctx, id, manageddevice.DefaultBypassManagedDeviceActivationLockOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagedDeviceClient.CleanManagedDeviceWindowsDevice

ctx := context.TODO()
id := manageddevice.NewUserIdManagedDeviceID("userId", "managedDeviceId")

payload := manageddevice.CleanManagedDeviceWindowsDeviceRequest{
	// ...
}


read, err := client.CleanManagedDeviceWindowsDevice(ctx, id, payload, manageddevice.DefaultCleanManagedDeviceWindowsDeviceOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagedDeviceClient.CreateManagedDevice

ctx := context.TODO()
id := manageddevice.NewUserID("userId")

payload := manageddevice.ManagedDevice{
	// ...
}


read, err := client.CreateManagedDevice(ctx, id, payload, manageddevice.DefaultCreateManagedDeviceOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagedDeviceClient.CreateManagedDeviceWindowsDefenderScan

ctx := context.TODO()
id := manageddevice.NewUserIdManagedDeviceID("userId", "managedDeviceId")

payload := manageddevice.CreateManagedDeviceWindowsDefenderScanRequest{
	// ...
}


read, err := client.CreateManagedDeviceWindowsDefenderScan(ctx, id, payload, manageddevice.DefaultCreateManagedDeviceWindowsDefenderScanOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagedDeviceClient.CreateManagedDeviceWindowsDefenderUpdateSignature

ctx := context.TODO()
id := manageddevice.NewUserIdManagedDeviceID("userId", "managedDeviceId")

read, err := client.CreateManagedDeviceWindowsDefenderUpdateSignature(ctx, id, manageddevice.DefaultCreateManagedDeviceWindowsDefenderUpdateSignatureOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagedDeviceClient.DeleteManagedDevice

ctx := context.TODO()
id := manageddevice.NewUserIdManagedDeviceID("userId", "managedDeviceId")

read, err := client.DeleteManagedDevice(ctx, id, manageddevice.DefaultDeleteManagedDeviceOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagedDeviceClient.DeleteManagedDeviceUserFromSharedAppleDevice

ctx := context.TODO()
id := manageddevice.NewUserIdManagedDeviceID("userId", "managedDeviceId")

payload := manageddevice.DeleteManagedDeviceUserFromSharedAppleDeviceRequest{
	// ...
}


read, err := client.DeleteManagedDeviceUserFromSharedAppleDevice(ctx, id, payload, manageddevice.DefaultDeleteManagedDeviceUserFromSharedAppleDeviceOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagedDeviceClient.DisableManagedDeviceLostMode

ctx := context.TODO()
id := manageddevice.NewUserIdManagedDeviceID("userId", "managedDeviceId")

read, err := client.DisableManagedDeviceLostMode(ctx, id, manageddevice.DefaultDisableManagedDeviceLostModeOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagedDeviceClient.GetManagedDevice

ctx := context.TODO()
id := manageddevice.NewUserIdManagedDeviceID("userId", "managedDeviceId")

read, err := client.GetManagedDevice(ctx, id, manageddevice.DefaultGetManagedDeviceOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagedDeviceClient.GetManagedDevicesCount

ctx := context.TODO()
id := manageddevice.NewUserID("userId")

read, err := client.GetManagedDevicesCount(ctx, id, manageddevice.DefaultGetManagedDevicesCountOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagedDeviceClient.ListManagedDevices

ctx := context.TODO()
id := manageddevice.NewUserID("userId")

// alternatively `client.ListManagedDevices(ctx, id, manageddevice.DefaultListManagedDevicesOperationOptions())` can be used to do batched pagination
items, err := client.ListManagedDevicesComplete(ctx, id, manageddevice.DefaultListManagedDevicesOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: ManagedDeviceClient.LocateManagedDeviceDevice

ctx := context.TODO()
id := manageddevice.NewUserIdManagedDeviceID("userId", "managedDeviceId")

read, err := client.LocateManagedDeviceDevice(ctx, id, manageddevice.DefaultLocateManagedDeviceDeviceOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagedDeviceClient.LogoutManagedDeviceSharedAppleDeviceActiveUser

ctx := context.TODO()
id := manageddevice.NewUserIdManagedDeviceID("userId", "managedDeviceId")

read, err := client.LogoutManagedDeviceSharedAppleDeviceActiveUser(ctx, id, manageddevice.DefaultLogoutManagedDeviceSharedAppleDeviceActiveUserOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagedDeviceClient.RebootManagedDeviceNow

ctx := context.TODO()
id := manageddevice.NewUserIdManagedDeviceID("userId", "managedDeviceId")

read, err := client.RebootManagedDeviceNow(ctx, id, manageddevice.DefaultRebootManagedDeviceNowOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagedDeviceClient.RecoverManagedDevicePasscode

ctx := context.TODO()
id := manageddevice.NewUserIdManagedDeviceID("userId", "managedDeviceId")

read, err := client.RecoverManagedDevicePasscode(ctx, id, manageddevice.DefaultRecoverManagedDevicePasscodeOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagedDeviceClient.RemoteLockManagedDevice

ctx := context.TODO()
id := manageddevice.NewUserIdManagedDeviceID("userId", "managedDeviceId")

read, err := client.RemoteLockManagedDevice(ctx, id, manageddevice.DefaultRemoteLockManagedDeviceOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagedDeviceClient.RequestManagedDeviceRemoteAssistance

ctx := context.TODO()
id := manageddevice.NewUserIdManagedDeviceID("userId", "managedDeviceId")

read, err := client.RequestManagedDeviceRemoteAssistance(ctx, id, manageddevice.DefaultRequestManagedDeviceRemoteAssistanceOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagedDeviceClient.ResetManagedDevicePasscode

ctx := context.TODO()
id := manageddevice.NewUserIdManagedDeviceID("userId", "managedDeviceId")

read, err := client.ResetManagedDevicePasscode(ctx, id, manageddevice.DefaultResetManagedDevicePasscodeOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagedDeviceClient.RetireManagedDevice

ctx := context.TODO()
id := manageddevice.NewUserIdManagedDeviceID("userId", "managedDeviceId")

read, err := client.RetireManagedDevice(ctx, id, manageddevice.DefaultRetireManagedDeviceOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagedDeviceClient.ShutDownManagedDevice

ctx := context.TODO()
id := manageddevice.NewUserIdManagedDeviceID("userId", "managedDeviceId")

read, err := client.ShutDownManagedDevice(ctx, id, manageddevice.DefaultShutDownManagedDeviceOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagedDeviceClient.SyncManagedDeviceDevice

ctx := context.TODO()
id := manageddevice.NewUserIdManagedDeviceID("userId", "managedDeviceId")

read, err := client.SyncManagedDeviceDevice(ctx, id, manageddevice.DefaultSyncManagedDeviceDeviceOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagedDeviceClient.UpdateManagedDevice

ctx := context.TODO()
id := manageddevice.NewUserIdManagedDeviceID("userId", "managedDeviceId")

payload := manageddevice.ManagedDevice{
	// ...
}


read, err := client.UpdateManagedDevice(ctx, id, payload, manageddevice.DefaultUpdateManagedDeviceOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagedDeviceClient.UpdateManagedDeviceWindowsDeviceAccount

ctx := context.TODO()
id := manageddevice.NewUserIdManagedDeviceID("userId", "managedDeviceId")

payload := manageddevice.UpdateManagedDeviceWindowsDeviceAccountRequest{
	// ...
}


read, err := client.UpdateManagedDeviceWindowsDeviceAccount(ctx, id, payload, manageddevice.DefaultUpdateManagedDeviceWindowsDeviceAccountOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagedDeviceClient.WipeManagedDevice

ctx := context.TODO()
id := manageddevice.NewUserIdManagedDeviceID("userId", "managedDeviceId")

payload := manageddevice.WipeManagedDeviceRequest{
	// ...
}


read, err := client.WipeManagedDevice(ctx, id, payload, manageddevice.DefaultWipeManagedDeviceOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BypassManagedDeviceActivationLockOperationOptions

type BypassManagedDeviceActivationLockOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultBypassManagedDeviceActivationLockOperationOptions

func DefaultBypassManagedDeviceActivationLockOperationOptions() BypassManagedDeviceActivationLockOperationOptions

func (BypassManagedDeviceActivationLockOperationOptions) ToHeaders

func (BypassManagedDeviceActivationLockOperationOptions) ToOData

func (BypassManagedDeviceActivationLockOperationOptions) ToQuery

type BypassManagedDeviceActivationLockOperationResponse

type BypassManagedDeviceActivationLockOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type CleanManagedDeviceWindowsDeviceOperationOptions

type CleanManagedDeviceWindowsDeviceOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultCleanManagedDeviceWindowsDeviceOperationOptions

func DefaultCleanManagedDeviceWindowsDeviceOperationOptions() CleanManagedDeviceWindowsDeviceOperationOptions

func (CleanManagedDeviceWindowsDeviceOperationOptions) ToHeaders

func (CleanManagedDeviceWindowsDeviceOperationOptions) ToOData

func (CleanManagedDeviceWindowsDeviceOperationOptions) ToQuery

type CleanManagedDeviceWindowsDeviceOperationResponse

type CleanManagedDeviceWindowsDeviceOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type CleanManagedDeviceWindowsDeviceRequest

type CleanManagedDeviceWindowsDeviceRequest struct {
	KeepUserData *bool `json:"keepUserData,omitempty"`
}

type CreateManagedDeviceOperationOptions

type CreateManagedDeviceOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultCreateManagedDeviceOperationOptions

func DefaultCreateManagedDeviceOperationOptions() CreateManagedDeviceOperationOptions

func (CreateManagedDeviceOperationOptions) ToHeaders

func (CreateManagedDeviceOperationOptions) ToOData

func (CreateManagedDeviceOperationOptions) ToQuery

type CreateManagedDeviceOperationResponse

type CreateManagedDeviceOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *stable.ManagedDevice
}

type CreateManagedDeviceWindowsDefenderScanOperationOptions

type CreateManagedDeviceWindowsDefenderScanOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultCreateManagedDeviceWindowsDefenderScanOperationOptions

func DefaultCreateManagedDeviceWindowsDefenderScanOperationOptions() CreateManagedDeviceWindowsDefenderScanOperationOptions

func (CreateManagedDeviceWindowsDefenderScanOperationOptions) ToHeaders

func (CreateManagedDeviceWindowsDefenderScanOperationOptions) ToOData

func (CreateManagedDeviceWindowsDefenderScanOperationOptions) ToQuery

type CreateManagedDeviceWindowsDefenderScanOperationResponse

type CreateManagedDeviceWindowsDefenderScanOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type CreateManagedDeviceWindowsDefenderScanRequest

type CreateManagedDeviceWindowsDefenderScanRequest struct {
	QuickScan *bool `json:"quickScan,omitempty"`
}

type CreateManagedDeviceWindowsDefenderUpdateSignatureOperationOptions

type CreateManagedDeviceWindowsDefenderUpdateSignatureOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func (CreateManagedDeviceWindowsDefenderUpdateSignatureOperationOptions) ToHeaders

func (CreateManagedDeviceWindowsDefenderUpdateSignatureOperationOptions) ToOData

func (CreateManagedDeviceWindowsDefenderUpdateSignatureOperationOptions) ToQuery

type CreateManagedDeviceWindowsDefenderUpdateSignatureOperationResponse

type CreateManagedDeviceWindowsDefenderUpdateSignatureOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type DeleteManagedDeviceOperationOptions

type DeleteManagedDeviceOperationOptions struct {
	IfMatch   *string
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultDeleteManagedDeviceOperationOptions

func DefaultDeleteManagedDeviceOperationOptions() DeleteManagedDeviceOperationOptions

func (DeleteManagedDeviceOperationOptions) ToHeaders

func (DeleteManagedDeviceOperationOptions) ToOData

func (DeleteManagedDeviceOperationOptions) ToQuery

type DeleteManagedDeviceOperationResponse

type DeleteManagedDeviceOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type DeleteManagedDeviceUserFromSharedAppleDeviceOperationOptions

type DeleteManagedDeviceUserFromSharedAppleDeviceOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func (DeleteManagedDeviceUserFromSharedAppleDeviceOperationOptions) ToHeaders

func (DeleteManagedDeviceUserFromSharedAppleDeviceOperationOptions) ToOData

func (DeleteManagedDeviceUserFromSharedAppleDeviceOperationOptions) ToQuery

type DeleteManagedDeviceUserFromSharedAppleDeviceOperationResponse

type DeleteManagedDeviceUserFromSharedAppleDeviceOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type DeleteManagedDeviceUserFromSharedAppleDeviceRequest

type DeleteManagedDeviceUserFromSharedAppleDeviceRequest struct {
	UserPrincipalName nullable.Type[string] `json:"userPrincipalName,omitempty"`
}

type DisableManagedDeviceLostModeOperationOptions

type DisableManagedDeviceLostModeOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultDisableManagedDeviceLostModeOperationOptions

func DefaultDisableManagedDeviceLostModeOperationOptions() DisableManagedDeviceLostModeOperationOptions

func (DisableManagedDeviceLostModeOperationOptions) ToHeaders

func (DisableManagedDeviceLostModeOperationOptions) ToOData

func (DisableManagedDeviceLostModeOperationOptions) ToQuery

type DisableManagedDeviceLostModeOperationResponse

type DisableManagedDeviceLostModeOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type GetManagedDeviceOperationOptions

type GetManagedDeviceOperationOptions struct {
	Expand    *odata.Expand
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
	Select    *[]string
}

func DefaultGetManagedDeviceOperationOptions

func DefaultGetManagedDeviceOperationOptions() GetManagedDeviceOperationOptions

func (GetManagedDeviceOperationOptions) ToHeaders

func (GetManagedDeviceOperationOptions) ToOData

func (GetManagedDeviceOperationOptions) ToQuery

type GetManagedDeviceOperationResponse

type GetManagedDeviceOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *stable.ManagedDevice
}

type GetManagedDevicesCountOperationOptions

type GetManagedDevicesCountOperationOptions struct {
	Filter    *string
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
	Search    *string
}

func DefaultGetManagedDevicesCountOperationOptions

func DefaultGetManagedDevicesCountOperationOptions() GetManagedDevicesCountOperationOptions

func (GetManagedDevicesCountOperationOptions) ToHeaders

func (GetManagedDevicesCountOperationOptions) ToOData

func (GetManagedDevicesCountOperationOptions) ToQuery

type GetManagedDevicesCountOperationResponse

type GetManagedDevicesCountOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]byte
}

type ListManagedDevicesCompleteResult

type ListManagedDevicesCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []stable.ManagedDevice
}

type ListManagedDevicesCustomPager

type ListManagedDevicesCustomPager struct {
	NextLink *odata.Link `json:"@odata.nextLink"`
}
func (p *ListManagedDevicesCustomPager) NextPageLink() *odata.Link

type ListManagedDevicesOperationOptions

type ListManagedDevicesOperationOptions struct {
	Count     *bool
	Expand    *odata.Expand
	Filter    *string
	Metadata  *odata.Metadata
	OrderBy   *odata.OrderBy
	RetryFunc client.RequestRetryFunc
	Search    *string
	Select    *[]string
	Skip      *int64
	Top       *int64
}

func DefaultListManagedDevicesOperationOptions

func DefaultListManagedDevicesOperationOptions() ListManagedDevicesOperationOptions

func (ListManagedDevicesOperationOptions) ToHeaders

func (ListManagedDevicesOperationOptions) ToOData

func (ListManagedDevicesOperationOptions) ToQuery

type ListManagedDevicesOperationResponse

type ListManagedDevicesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]stable.ManagedDevice
}

type LocateManagedDeviceDeviceOperationOptions

type LocateManagedDeviceDeviceOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultLocateManagedDeviceDeviceOperationOptions

func DefaultLocateManagedDeviceDeviceOperationOptions() LocateManagedDeviceDeviceOperationOptions

func (LocateManagedDeviceDeviceOperationOptions) ToHeaders

func (LocateManagedDeviceDeviceOperationOptions) ToOData

func (LocateManagedDeviceDeviceOperationOptions) ToQuery

type LocateManagedDeviceDeviceOperationResponse

type LocateManagedDeviceDeviceOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type LogoutManagedDeviceSharedAppleDeviceActiveUserOperationOptions

type LogoutManagedDeviceSharedAppleDeviceActiveUserOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func (LogoutManagedDeviceSharedAppleDeviceActiveUserOperationOptions) ToHeaders

func (LogoutManagedDeviceSharedAppleDeviceActiveUserOperationOptions) ToOData

func (LogoutManagedDeviceSharedAppleDeviceActiveUserOperationOptions) ToQuery

type LogoutManagedDeviceSharedAppleDeviceActiveUserOperationResponse

type LogoutManagedDeviceSharedAppleDeviceActiveUserOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type ManagedDeviceClient

type ManagedDeviceClient struct {
	Client *msgraph.Client
}

func NewManagedDeviceClientWithBaseURI

func NewManagedDeviceClientWithBaseURI(sdkApi sdkEnv.Api) (*ManagedDeviceClient, error)

func (ManagedDeviceClient) BypassManagedDeviceActivationLock

BypassManagedDeviceActivationLock - Invoke action bypassActivationLock. Bypass activation lock

func (ManagedDeviceClient) CleanManagedDeviceWindowsDevice

CleanManagedDeviceWindowsDevice - Invoke action cleanWindowsDevice. Clean Windows device

func (ManagedDeviceClient) CreateManagedDevice

CreateManagedDevice - Create new navigation property to managedDevices for users

func (ManagedDeviceClient) CreateManagedDeviceWindowsDefenderScan

CreateManagedDeviceWindowsDefenderScan - Invoke action windowsDefenderScan. Not yet documented

func (ManagedDeviceClient) CreateManagedDeviceWindowsDefenderUpdateSignature

CreateManagedDeviceWindowsDefenderUpdateSignature - Invoke action windowsDefenderUpdateSignatures. Not yet documented

func (ManagedDeviceClient) DeleteManagedDevice

DeleteManagedDevice - Delete navigation property managedDevices for users

func (ManagedDeviceClient) DeleteManagedDeviceUserFromSharedAppleDevice

DeleteManagedDeviceUserFromSharedAppleDevice - Invoke action deleteUserFromSharedAppleDevice. Delete user from shared Apple device

func (ManagedDeviceClient) DisableManagedDeviceLostMode

DisableManagedDeviceLostMode - Invoke action disableLostMode. Disable lost mode

func (ManagedDeviceClient) GetManagedDevice

GetManagedDevice - Get managedDevices from users. The managed devices associated with the user.

func (ManagedDeviceClient) GetManagedDevicesCount

GetManagedDevicesCount - Get the number of the resource

func (ManagedDeviceClient) ListManagedDevices

ListManagedDevices - Get managedDevices from users. The managed devices associated with the user.

func (ManagedDeviceClient) ListManagedDevicesComplete

ListManagedDevicesComplete retrieves all the results into a single object

func (ManagedDeviceClient) ListManagedDevicesCompleteMatchingPredicate

func (c ManagedDeviceClient) ListManagedDevicesCompleteMatchingPredicate(ctx context.Context, id stable.UserId, options ListManagedDevicesOperationOptions, predicate ManagedDeviceOperationPredicate) (result ListManagedDevicesCompleteResult, err error)

ListManagedDevicesCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ManagedDeviceClient) LocateManagedDeviceDevice

LocateManagedDeviceDevice - Invoke action locateDevice. Locate a device

func (ManagedDeviceClient) LogoutManagedDeviceSharedAppleDeviceActiveUser

LogoutManagedDeviceSharedAppleDeviceActiveUser - Invoke action logoutSharedAppleDeviceActiveUser. Logout shared Apple device active user

func (ManagedDeviceClient) RebootManagedDeviceNow

RebootManagedDeviceNow - Invoke action rebootNow. Reboot device

func (ManagedDeviceClient) RecoverManagedDevicePasscode

RecoverManagedDevicePasscode - Invoke action recoverPasscode. Recover passcode

func (ManagedDeviceClient) RemoteLockManagedDevice

RemoteLockManagedDevice - Invoke action remoteLock. Remote lock

func (ManagedDeviceClient) RequestManagedDeviceRemoteAssistance

RequestManagedDeviceRemoteAssistance - Invoke action requestRemoteAssistance. Request remote assistance

func (ManagedDeviceClient) ResetManagedDevicePasscode

ResetManagedDevicePasscode - Invoke action resetPasscode. Reset passcode

func (ManagedDeviceClient) RetireManagedDevice

RetireManagedDevice - Invoke action retire. Retire a device

func (ManagedDeviceClient) ShutDownManagedDevice

ShutDownManagedDevice - Invoke action shutDown. Shut down device

func (ManagedDeviceClient) SyncManagedDeviceDevice

SyncManagedDeviceDevice - Invoke action syncDevice. Not yet documented

func (ManagedDeviceClient) UpdateManagedDevice

UpdateManagedDevice - Update the navigation property managedDevices in users

func (ManagedDeviceClient) UpdateManagedDeviceWindowsDeviceAccount

UpdateManagedDeviceWindowsDeviceAccount - Invoke action updateWindowsDeviceAccount. Not yet documented

func (ManagedDeviceClient) WipeManagedDevice

WipeManagedDevice - Invoke action wipe. Wipe a device

type ManagedDeviceOperationPredicate

type ManagedDeviceOperationPredicate struct {
}

func (ManagedDeviceOperationPredicate) Matches

type RebootManagedDeviceNowOperationOptions

type RebootManagedDeviceNowOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultRebootManagedDeviceNowOperationOptions

func DefaultRebootManagedDeviceNowOperationOptions() RebootManagedDeviceNowOperationOptions

func (RebootManagedDeviceNowOperationOptions) ToHeaders

func (RebootManagedDeviceNowOperationOptions) ToOData

func (RebootManagedDeviceNowOperationOptions) ToQuery

type RebootManagedDeviceNowOperationResponse

type RebootManagedDeviceNowOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type RecoverManagedDevicePasscodeOperationOptions

type RecoverManagedDevicePasscodeOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultRecoverManagedDevicePasscodeOperationOptions

func DefaultRecoverManagedDevicePasscodeOperationOptions() RecoverManagedDevicePasscodeOperationOptions

func (RecoverManagedDevicePasscodeOperationOptions) ToHeaders

func (RecoverManagedDevicePasscodeOperationOptions) ToOData

func (RecoverManagedDevicePasscodeOperationOptions) ToQuery

type RecoverManagedDevicePasscodeOperationResponse

type RecoverManagedDevicePasscodeOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type RemoteLockManagedDeviceOperationOptions

type RemoteLockManagedDeviceOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultRemoteLockManagedDeviceOperationOptions

func DefaultRemoteLockManagedDeviceOperationOptions() RemoteLockManagedDeviceOperationOptions

func (RemoteLockManagedDeviceOperationOptions) ToHeaders

func (RemoteLockManagedDeviceOperationOptions) ToOData

func (RemoteLockManagedDeviceOperationOptions) ToQuery

type RemoteLockManagedDeviceOperationResponse

type RemoteLockManagedDeviceOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type RequestManagedDeviceRemoteAssistanceOperationOptions

type RequestManagedDeviceRemoteAssistanceOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultRequestManagedDeviceRemoteAssistanceOperationOptions

func DefaultRequestManagedDeviceRemoteAssistanceOperationOptions() RequestManagedDeviceRemoteAssistanceOperationOptions

func (RequestManagedDeviceRemoteAssistanceOperationOptions) ToHeaders

func (RequestManagedDeviceRemoteAssistanceOperationOptions) ToOData

func (RequestManagedDeviceRemoteAssistanceOperationOptions) ToQuery

type RequestManagedDeviceRemoteAssistanceOperationResponse

type RequestManagedDeviceRemoteAssistanceOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type ResetManagedDevicePasscodeOperationOptions

type ResetManagedDevicePasscodeOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultResetManagedDevicePasscodeOperationOptions

func DefaultResetManagedDevicePasscodeOperationOptions() ResetManagedDevicePasscodeOperationOptions

func (ResetManagedDevicePasscodeOperationOptions) ToHeaders

func (ResetManagedDevicePasscodeOperationOptions) ToOData

func (ResetManagedDevicePasscodeOperationOptions) ToQuery

type ResetManagedDevicePasscodeOperationResponse

type ResetManagedDevicePasscodeOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type RetireManagedDeviceOperationOptions

type RetireManagedDeviceOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultRetireManagedDeviceOperationOptions

func DefaultRetireManagedDeviceOperationOptions() RetireManagedDeviceOperationOptions

func (RetireManagedDeviceOperationOptions) ToHeaders

func (RetireManagedDeviceOperationOptions) ToOData

func (RetireManagedDeviceOperationOptions) ToQuery

type RetireManagedDeviceOperationResponse

type RetireManagedDeviceOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type ShutDownManagedDeviceOperationOptions

type ShutDownManagedDeviceOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultShutDownManagedDeviceOperationOptions

func DefaultShutDownManagedDeviceOperationOptions() ShutDownManagedDeviceOperationOptions

func (ShutDownManagedDeviceOperationOptions) ToHeaders

func (ShutDownManagedDeviceOperationOptions) ToOData

func (ShutDownManagedDeviceOperationOptions) ToQuery

type ShutDownManagedDeviceOperationResponse

type ShutDownManagedDeviceOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type SyncManagedDeviceDeviceOperationOptions

type SyncManagedDeviceDeviceOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultSyncManagedDeviceDeviceOperationOptions

func DefaultSyncManagedDeviceDeviceOperationOptions() SyncManagedDeviceDeviceOperationOptions

func (SyncManagedDeviceDeviceOperationOptions) ToHeaders

func (SyncManagedDeviceDeviceOperationOptions) ToOData

func (SyncManagedDeviceDeviceOperationOptions) ToQuery

type SyncManagedDeviceDeviceOperationResponse

type SyncManagedDeviceDeviceOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type UpdateManagedDeviceOperationOptions

type UpdateManagedDeviceOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultUpdateManagedDeviceOperationOptions

func DefaultUpdateManagedDeviceOperationOptions() UpdateManagedDeviceOperationOptions

func (UpdateManagedDeviceOperationOptions) ToHeaders

func (UpdateManagedDeviceOperationOptions) ToOData

func (UpdateManagedDeviceOperationOptions) ToQuery

type UpdateManagedDeviceOperationResponse

type UpdateManagedDeviceOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type UpdateManagedDeviceWindowsDeviceAccountOperationOptions

type UpdateManagedDeviceWindowsDeviceAccountOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func (UpdateManagedDeviceWindowsDeviceAccountOperationOptions) ToHeaders

func (UpdateManagedDeviceWindowsDeviceAccountOperationOptions) ToOData

func (UpdateManagedDeviceWindowsDeviceAccountOperationOptions) ToQuery

type UpdateManagedDeviceWindowsDeviceAccountOperationResponse

type UpdateManagedDeviceWindowsDeviceAccountOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type UpdateManagedDeviceWindowsDeviceAccountRequest

type UpdateManagedDeviceWindowsDeviceAccountRequest struct {
	UpdateWindowsDeviceAccountActionParameter *stable.UpdateWindowsDeviceAccountActionParameter `json:"updateWindowsDeviceAccountActionParameter,omitempty"`
}

type WipeManagedDeviceOperationOptions

type WipeManagedDeviceOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultWipeManagedDeviceOperationOptions

func DefaultWipeManagedDeviceOperationOptions() WipeManagedDeviceOperationOptions

func (WipeManagedDeviceOperationOptions) ToHeaders

func (WipeManagedDeviceOperationOptions) ToOData

func (WipeManagedDeviceOperationOptions) ToQuery

type WipeManagedDeviceOperationResponse

type WipeManagedDeviceOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type WipeManagedDeviceRequest

type WipeManagedDeviceRequest struct {
	KeepEnrollmentData  nullable.Type[bool]   `json:"keepEnrollmentData,omitempty"`
	KeepUserData        nullable.Type[bool]   `json:"keepUserData,omitempty"`
	MacOsUnlockCode     nullable.Type[string] `json:"macOsUnlockCode,omitempty"`
	PersistEsimDataPlan nullable.Type[bool]   `json:"persistEsimDataPlan,omitempty"`
}

Jump to

Keyboard shortcuts

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