comanageddevice

package
v0.20241126.2320 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: MPL-2.0 Imports: 10 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/microsoft-graph/devicemanagement/beta/comanageddevice Documentation

The comanageddevice SDK allows for interaction with Microsoft Graph devicemanagement (API Version beta).

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/devicemanagement/beta/comanageddevice"

Client Initialization

client := comanageddevice.NewComanagedDeviceClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: ComanagedDeviceClient.BypassComanagedDeviceActivationLock

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

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

Example Usage: ComanagedDeviceClient.ChangeComanagedDeviceAssignments

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

payload := comanageddevice.ChangeComanagedDeviceAssignmentsRequest{
	// ...
}


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

Example Usage: ComanagedDeviceClient.CleanComanagedDeviceWindowsDevice

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

payload := comanageddevice.CleanComanagedDeviceWindowsDeviceRequest{
	// ...
}


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

Example Usage: ComanagedDeviceClient.CreateComanagedDevice

ctx := context.TODO()

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


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

Example Usage: ComanagedDeviceClient.CreateComanagedDeviceActivateDeviceEsim

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

payload := comanageddevice.CreateComanagedDeviceActivateDeviceEsimRequest{
	// ...
}


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

Example Usage: ComanagedDeviceClient.CreateComanagedDeviceBulkReprovisionCloudPC

ctx := context.TODO()

payload := comanageddevice.CreateComanagedDeviceBulkReprovisionCloudPCRequest{
	// ...
}


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

Example Usage: ComanagedDeviceClient.CreateComanagedDeviceBulkRestoreCloudPC

ctx := context.TODO()

payload := comanageddevice.CreateComanagedDeviceBulkRestoreCloudPCRequest{
	// ...
}


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

Example Usage: ComanagedDeviceClient.CreateComanagedDeviceBulkSetCloudPCReviewStatus

ctx := context.TODO()

payload := comanageddevice.CreateComanagedDeviceBulkSetCloudPCReviewStatusRequest{
	// ...
}


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

Example Usage: ComanagedDeviceClient.CreateComanagedDeviceDeprovision

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

payload := comanageddevice.CreateComanagedDeviceDeprovisionRequest{
	// ...
}


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

Example Usage: ComanagedDeviceClient.CreateComanagedDeviceDownloadAppDiagnostic

ctx := context.TODO()

payload := comanageddevice.CreateComanagedDeviceDownloadAppDiagnosticRequest{
	// ...
}


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

Example Usage: ComanagedDeviceClient.CreateComanagedDeviceEnrollNowAction

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

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

Example Usage: ComanagedDeviceClient.CreateComanagedDeviceExecuteAction

ctx := context.TODO()

payload := comanageddevice.CreateComanagedDeviceExecuteActionRequest{
	// ...
}


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

Example Usage: ComanagedDeviceClient.CreateComanagedDeviceInitiateDeviceAttestation

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

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

Example Usage: ComanagedDeviceClient.CreateComanagedDeviceInitiateMobileDeviceManagementKeyRecovery

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

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

Example Usage: ComanagedDeviceClient.CreateComanagedDeviceInitiateOnDemandProactiveRemediation

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

payload := comanageddevice.CreateComanagedDeviceInitiateOnDemandProactiveRemediationRequest{
	// ...
}


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

Example Usage: ComanagedDeviceClient.CreateComanagedDeviceLogCollectionRequest

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

payload := comanageddevice.CreateComanagedDeviceLogCollectionRequestRequest{
	// ...
}


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

Example Usage: ComanagedDeviceClient.CreateComanagedDeviceOverrideComplianceState

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

payload := comanageddevice.CreateComanagedDeviceOverrideComplianceStateRequest{
	// ...
}


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

Example Usage: ComanagedDeviceClient.CreateComanagedDevicePlayLostModeSound

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

payload := comanageddevice.CreateComanagedDevicePlayLostModeSoundRequest{
	// ...
}


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

Example Usage: ComanagedDeviceClient.CreateComanagedDeviceReenable

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

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

Example Usage: ComanagedDeviceClient.CreateComanagedDeviceRotateBitLockerKey

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

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

Example Usage: ComanagedDeviceClient.CreateComanagedDeviceRotateFileVaultKey

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

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

Example Usage: ComanagedDeviceClient.CreateComanagedDeviceRotateLocalAdminPassword

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

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

Example Usage: ComanagedDeviceClient.CreateComanagedDeviceTriggerConfigurationManagerAction

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

payload := comanageddevice.CreateComanagedDeviceTriggerConfigurationManagerActionRequest{
	// ...
}


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

Example Usage: ComanagedDeviceClient.CreateComanagedDeviceWindowsDefenderScan

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

payload := comanageddevice.CreateComanagedDeviceWindowsDefenderScanRequest{
	// ...
}


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

Example Usage: ComanagedDeviceClient.CreateComanagedDeviceWindowsDefenderUpdateSignature

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

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

Example Usage: ComanagedDeviceClient.DeleteComanagedDevice

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

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

Example Usage: ComanagedDeviceClient.DeleteComanagedDeviceUserFromSharedAppleDevice

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

payload := comanageddevice.DeleteComanagedDeviceUserFromSharedAppleDeviceRequest{
	// ...
}


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

Example Usage: ComanagedDeviceClient.DisableComanagedDevice

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

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

Example Usage: ComanagedDeviceClient.DisableComanagedDeviceLostMode

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

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

Example Usage: ComanagedDeviceClient.EnableComanagedDeviceLostMode

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

payload := comanageddevice.EnableComanagedDeviceLostModeRequest{
	// ...
}


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

Example Usage: ComanagedDeviceClient.GetComanagedDevice

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

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

Example Usage: ComanagedDeviceClient.GetComanagedDevicesCount

ctx := context.TODO()


read, err := client.GetComanagedDevicesCount(ctx, comanageddevice.DefaultGetComanagedDevicesCountOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ComanagedDeviceClient.ListComanagedDevices

ctx := context.TODO()


// alternatively `client.ListComanagedDevices(ctx, comanageddevice.DefaultListComanagedDevicesOperationOptions())` can be used to do batched pagination
items, err := client.ListComanagedDevicesComplete(ctx, comanageddevice.DefaultListComanagedDevicesOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: ComanagedDeviceClient.LocateComanagedDeviceDevice

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

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

Example Usage: ComanagedDeviceClient.LogoutComanagedDeviceSharedAppleDeviceActiveUser

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

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

Example Usage: ComanagedDeviceClient.MoveComanagedDevicesToOU

ctx := context.TODO()

payload := comanageddevice.MoveComanagedDevicesToOURequest{
	// ...
}


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

Example Usage: ComanagedDeviceClient.PauseComanagedDeviceConfigurationRefresh

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

payload := comanageddevice.PauseComanagedDeviceConfigurationRefreshRequest{
	// ...
}


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

Example Usage: ComanagedDeviceClient.RebootComanagedDeviceNow

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

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

Example Usage: ComanagedDeviceClient.RecoverComanagedDevicePasscode

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

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

Example Usage: ComanagedDeviceClient.RemoteLockComanagedDevice

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

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

Example Usage: ComanagedDeviceClient.RemoveComanagedDeviceFirmwareConfigurationInterfaceManagement

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

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

Example Usage: ComanagedDeviceClient.ReprovisionComanagedDeviceCloudPC

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

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

Example Usage: ComanagedDeviceClient.RequestComanagedDeviceRemoteAssistance

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

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

Example Usage: ComanagedDeviceClient.ResetComanagedDevicePasscode

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

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

Example Usage: ComanagedDeviceClient.ResizeComanagedDeviceCloudPC

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

payload := comanageddevice.ResizeComanagedDeviceCloudPCRequest{
	// ...
}


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

Example Usage: ComanagedDeviceClient.RestoreComanagedDeviceCloudPC

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

payload := comanageddevice.RestoreComanagedDeviceCloudPCRequest{
	// ...
}


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

Example Usage: ComanagedDeviceClient.RetireComanagedDevice

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

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

Example Usage: ComanagedDeviceClient.RevokeComanagedDeviceAppleVppLicenses

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

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

Example Usage: ComanagedDeviceClient.SendComanagedDeviceCustomNotificationToCompanyPortal

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

payload := comanageddevice.SendComanagedDeviceCustomNotificationToCompanyPortalRequest{
	// ...
}


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

Example Usage: ComanagedDeviceClient.SetComanagedDeviceCloudPCReviewStatus

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

payload := comanageddevice.SetComanagedDeviceCloudPCReviewStatusRequest{
	// ...
}


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

Example Usage: ComanagedDeviceClient.SetComanagedDeviceName

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

payload := comanageddevice.SetComanagedDeviceNameRequest{
	// ...
}


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

Example Usage: ComanagedDeviceClient.ShutDownComanagedDevice

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

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

Example Usage: ComanagedDeviceClient.SyncComanagedDeviceDevice

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

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

Example Usage: ComanagedDeviceClient.UpdateComanagedDevice

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

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


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

Example Usage: ComanagedDeviceClient.UpdateComanagedDeviceWindowsDeviceAccount

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

payload := comanageddevice.UpdateComanagedDeviceWindowsDeviceAccountRequest{
	// ...
}


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

Example Usage: ComanagedDeviceClient.WipeComanagedDevice

ctx := context.TODO()
id := comanageddevice.NewDeviceManagementComanagedDeviceID("managedDeviceId")

payload := comanageddevice.WipeComanagedDeviceRequest{
	// ...
}


read, err := client.WipeComanagedDevice(ctx, id, payload, comanageddevice.DefaultWipeComanagedDeviceOperationOptions())
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 BypassComanagedDeviceActivationLockOperationOptions

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

func DefaultBypassComanagedDeviceActivationLockOperationOptions

func DefaultBypassComanagedDeviceActivationLockOperationOptions() BypassComanagedDeviceActivationLockOperationOptions

func (BypassComanagedDeviceActivationLockOperationOptions) ToHeaders

func (BypassComanagedDeviceActivationLockOperationOptions) ToOData

func (BypassComanagedDeviceActivationLockOperationOptions) ToQuery

type BypassComanagedDeviceActivationLockOperationResponse

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

type ChangeComanagedDeviceAssignmentsOperationOptions

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

func DefaultChangeComanagedDeviceAssignmentsOperationOptions

func DefaultChangeComanagedDeviceAssignmentsOperationOptions() ChangeComanagedDeviceAssignmentsOperationOptions

func (ChangeComanagedDeviceAssignmentsOperationOptions) ToHeaders

func (ChangeComanagedDeviceAssignmentsOperationOptions) ToOData

func (ChangeComanagedDeviceAssignmentsOperationOptions) ToQuery

type ChangeComanagedDeviceAssignmentsOperationResponse

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

type ChangeComanagedDeviceAssignmentsRequest

type ChangeComanagedDeviceAssignmentsRequest struct {
	DeviceAssignmentItems *[]beta.DeviceAssignmentItem `json:"deviceAssignmentItems,omitempty"`
}

type CleanComanagedDeviceWindowsDeviceOperationOptions

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

func DefaultCleanComanagedDeviceWindowsDeviceOperationOptions

func DefaultCleanComanagedDeviceWindowsDeviceOperationOptions() CleanComanagedDeviceWindowsDeviceOperationOptions

func (CleanComanagedDeviceWindowsDeviceOperationOptions) ToHeaders

func (CleanComanagedDeviceWindowsDeviceOperationOptions) ToOData

func (CleanComanagedDeviceWindowsDeviceOperationOptions) ToQuery

type CleanComanagedDeviceWindowsDeviceOperationResponse

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

type CleanComanagedDeviceWindowsDeviceRequest

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

type ComanagedDeviceClient

type ComanagedDeviceClient struct {
	Client *msgraph.Client
}

func NewComanagedDeviceClientWithBaseURI

func NewComanagedDeviceClientWithBaseURI(sdkApi sdkEnv.Api) (*ComanagedDeviceClient, error)

func (ComanagedDeviceClient) BypassComanagedDeviceActivationLock

BypassComanagedDeviceActivationLock - Invoke action bypassActivationLock. Bypass activation lock

func (ComanagedDeviceClient) ChangeComanagedDeviceAssignments

ChangeComanagedDeviceAssignments - Invoke action changeAssignments

func (ComanagedDeviceClient) CleanComanagedDeviceWindowsDevice

CleanComanagedDeviceWindowsDevice - Invoke action cleanWindowsDevice. Clean Windows device

func (ComanagedDeviceClient) CreateComanagedDevice

CreateComanagedDevice - Create new navigation property to comanagedDevices for deviceManagement

func (ComanagedDeviceClient) CreateComanagedDeviceActivateDeviceEsim

CreateComanagedDeviceActivateDeviceEsim - Invoke action activateDeviceEsim. Activate eSIM on the device.

func (ComanagedDeviceClient) CreateComanagedDeviceBulkReprovisionCloudPC

CreateComanagedDeviceBulkReprovisionCloudPC - Invoke action bulkReprovisionCloudPc. Bulk reprovision a set of Cloud PC devices with Intune managed device IDs.

func (ComanagedDeviceClient) CreateComanagedDeviceBulkRestoreCloudPC

CreateComanagedDeviceBulkRestoreCloudPC - Invoke action bulkRestoreCloudPc. Restore multiple Cloud PC devices with a single request that includes the IDs of Intune managed devices and a restore point date and time.

func (ComanagedDeviceClient) CreateComanagedDeviceBulkSetCloudPCReviewStatus

CreateComanagedDeviceBulkSetCloudPCReviewStatus - Invoke action bulkSetCloudPcReviewStatus. Set the review status of multiple Cloud PC devices with a single request that includes the IDs of Intune managed devices.

func (ComanagedDeviceClient) CreateComanagedDeviceDeprovision

CreateComanagedDeviceDeprovision - Invoke action deprovision

func (ComanagedDeviceClient) CreateComanagedDeviceDownloadAppDiagnostic

CreateComanagedDeviceDownloadAppDiagnostic - Invoke action downloadAppDiagnostics

func (ComanagedDeviceClient) CreateComanagedDeviceEnrollNowAction

CreateComanagedDeviceEnrollNowAction - Invoke action enrollNowAction. Trigger comanagement enrollment action on ConfigurationManager client

func (ComanagedDeviceClient) CreateComanagedDeviceExecuteAction

CreateComanagedDeviceExecuteAction - Invoke action executeAction

func (ComanagedDeviceClient) CreateComanagedDeviceInitiateDeviceAttestation

CreateComanagedDeviceInitiateDeviceAttestation - Invoke action initiateDeviceAttestation. Perform Device Attestation

func (ComanagedDeviceClient) CreateComanagedDeviceInitiateMobileDeviceManagementKeyRecovery

CreateComanagedDeviceInitiateMobileDeviceManagementKeyRecovery - Invoke action initiateMobileDeviceManagementKeyRecovery. Perform MDM key recovery and TPM attestation

func (ComanagedDeviceClient) CreateComanagedDeviceInitiateOnDemandProactiveRemediation

CreateComanagedDeviceInitiateOnDemandProactiveRemediation - Invoke action initiateOnDemandProactiveRemediation. Perform On Demand Proactive Remediation

func (ComanagedDeviceClient) CreateComanagedDeviceLogCollectionRequest

CreateComanagedDeviceLogCollectionRequest - Invoke action createDeviceLogCollectionRequest

func (ComanagedDeviceClient) CreateComanagedDeviceOverrideComplianceState

CreateComanagedDeviceOverrideComplianceState - Invoke action overrideComplianceState

func (ComanagedDeviceClient) CreateComanagedDevicePlayLostModeSound

CreateComanagedDevicePlayLostModeSound - Invoke action playLostModeSound. Play lost mode sound

func (ComanagedDeviceClient) CreateComanagedDeviceReenable

CreateComanagedDeviceReenable - Invoke action reenable

func (ComanagedDeviceClient) CreateComanagedDeviceRotateBitLockerKey

CreateComanagedDeviceRotateBitLockerKey - Invoke action rotateBitLockerKeys. Rotate BitLockerKeys

func (ComanagedDeviceClient) CreateComanagedDeviceRotateFileVaultKey

CreateComanagedDeviceRotateFileVaultKey - Invoke action rotateFileVaultKey

func (ComanagedDeviceClient) CreateComanagedDeviceRotateLocalAdminPassword

CreateComanagedDeviceRotateLocalAdminPassword - Invoke action rotateLocalAdminPassword. Initiates a manual rotation for the local admin password on the device

func (ComanagedDeviceClient) CreateComanagedDeviceTriggerConfigurationManagerAction

CreateComanagedDeviceTriggerConfigurationManagerAction - Invoke action triggerConfigurationManagerAction. Trigger action on ConfigurationManager client

func (ComanagedDeviceClient) CreateComanagedDeviceWindowsDefenderScan

CreateComanagedDeviceWindowsDefenderScan - Invoke action windowsDefenderScan

func (ComanagedDeviceClient) CreateComanagedDeviceWindowsDefenderUpdateSignature

CreateComanagedDeviceWindowsDefenderUpdateSignature - Invoke action windowsDefenderUpdateSignatures

func (ComanagedDeviceClient) DeleteComanagedDevice

DeleteComanagedDevice - Delete navigation property comanagedDevices for deviceManagement

func (ComanagedDeviceClient) DeleteComanagedDeviceUserFromSharedAppleDevice

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

func (ComanagedDeviceClient) DisableComanagedDevice

DisableComanagedDevice - Invoke action disable

func (ComanagedDeviceClient) DisableComanagedDeviceLostMode

DisableComanagedDeviceLostMode - Invoke action disableLostMode. Disable lost mode

func (ComanagedDeviceClient) EnableComanagedDeviceLostMode

EnableComanagedDeviceLostMode - Invoke action enableLostMode. Enable lost mode

func (ComanagedDeviceClient) GetComanagedDevice

GetComanagedDevice - Get comanagedDevices from deviceManagement. The list of co-managed devices report

func (ComanagedDeviceClient) GetComanagedDevicesCount

GetComanagedDevicesCount - Get the number of the resource

func (ComanagedDeviceClient) ListComanagedDevices

ListComanagedDevices - Get comanagedDevices from deviceManagement. The list of co-managed devices report

func (ComanagedDeviceClient) ListComanagedDevicesComplete

ListComanagedDevicesComplete retrieves all the results into a single object

func (ComanagedDeviceClient) ListComanagedDevicesCompleteMatchingPredicate

func (c ComanagedDeviceClient) ListComanagedDevicesCompleteMatchingPredicate(ctx context.Context, options ListComanagedDevicesOperationOptions, predicate ManagedDeviceOperationPredicate) (result ListComanagedDevicesCompleteResult, err error)

ListComanagedDevicesCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ComanagedDeviceClient) LocateComanagedDeviceDevice

LocateComanagedDeviceDevice - Invoke action locateDevice. Locate a device

func (ComanagedDeviceClient) LogoutComanagedDeviceSharedAppleDeviceActiveUser

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

func (ComanagedDeviceClient) MoveComanagedDevicesToOU

MoveComanagedDevicesToOU - Invoke action moveDevicesToOU

func (ComanagedDeviceClient) PauseComanagedDeviceConfigurationRefresh

PauseComanagedDeviceConfigurationRefresh - Invoke action pauseConfigurationRefresh. Initiates a command to pause config refresh for the device.

func (ComanagedDeviceClient) RebootComanagedDeviceNow

RebootComanagedDeviceNow - Invoke action rebootNow. Reboot device

func (ComanagedDeviceClient) RecoverComanagedDevicePasscode

RecoverComanagedDevicePasscode - Invoke action recoverPasscode. Recover passcode

func (ComanagedDeviceClient) RemoteLockComanagedDevice

RemoteLockComanagedDevice - Invoke action remoteLock. Remote lock

func (ComanagedDeviceClient) RemoveComanagedDeviceFirmwareConfigurationInterfaceManagement

RemoveComanagedDeviceFirmwareConfigurationInterfaceManagement - Invoke action removeDeviceFirmwareConfigurationInterfaceManagement. Remove device from Device Firmware Configuration Interface management

func (ComanagedDeviceClient) ReprovisionComanagedDeviceCloudPC

ReprovisionComanagedDeviceCloudPC - Invoke action reprovisionCloudPc. Reprovision a Cloud PC with an Intune managed device ID.

func (ComanagedDeviceClient) RequestComanagedDeviceRemoteAssistance

RequestComanagedDeviceRemoteAssistance - Invoke action requestRemoteAssistance. Request remote assistance

func (ComanagedDeviceClient) ResetComanagedDevicePasscode

ResetComanagedDevicePasscode - Invoke action resetPasscode. Reset passcode

func (ComanagedDeviceClient) ResizeComanagedDeviceCloudPC

ResizeComanagedDeviceCloudPC - Invoke action resizeCloudPc. Upgrade or downgrade an existing Cloud PC to another configuration with a new virtual CPU (vCPU) and storage size.

func (ComanagedDeviceClient) RestoreComanagedDeviceCloudPC

RestoreComanagedDeviceCloudPC - Invoke action restoreCloudPc. Restore a Cloud PC device to a previous state with an Intune managed device ID.

func (ComanagedDeviceClient) RetireComanagedDevice

RetireComanagedDevice - Invoke action retire. Retire a device

func (ComanagedDeviceClient) RevokeComanagedDeviceAppleVppLicenses

RevokeComanagedDeviceAppleVppLicenses - Invoke action revokeAppleVppLicenses. Revoke all Apple Vpp licenses for a device

func (ComanagedDeviceClient) SendComanagedDeviceCustomNotificationToCompanyPortal

SendComanagedDeviceCustomNotificationToCompanyPortal - Invoke action sendCustomNotificationToCompanyPortal

func (ComanagedDeviceClient) SetComanagedDeviceCloudPCReviewStatus

SetComanagedDeviceCloudPCReviewStatus - Invoke action setCloudPcReviewStatus. Set the review status of a specific Cloud PC device. Use this API to set the review status of a Cloud PC to in review if you consider a Cloud PC as suspicious. After the review is completed, use this API again to set the Cloud PC back to a normal state.

func (ComanagedDeviceClient) SetComanagedDeviceName

SetComanagedDeviceName - Invoke action setDeviceName. Set device name of the device.

func (ComanagedDeviceClient) ShutDownComanagedDevice

ShutDownComanagedDevice - Invoke action shutDown. Shut down device

func (ComanagedDeviceClient) SyncComanagedDeviceDevice

SyncComanagedDeviceDevice - Invoke action syncDevice

func (ComanagedDeviceClient) UpdateComanagedDevice

UpdateComanagedDevice - Update the navigation property comanagedDevices in deviceManagement

func (ComanagedDeviceClient) UpdateComanagedDeviceWindowsDeviceAccount

UpdateComanagedDeviceWindowsDeviceAccount - Invoke action updateWindowsDeviceAccount

func (ComanagedDeviceClient) WipeComanagedDevice

WipeComanagedDevice - Invoke action wipe. Wipe a device

type CreateComanagedDeviceActivateDeviceEsimOperationOptions

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

func (CreateComanagedDeviceActivateDeviceEsimOperationOptions) ToHeaders

func (CreateComanagedDeviceActivateDeviceEsimOperationOptions) ToOData

func (CreateComanagedDeviceActivateDeviceEsimOperationOptions) ToQuery

type CreateComanagedDeviceActivateDeviceEsimOperationResponse

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

type CreateComanagedDeviceActivateDeviceEsimRequest

type CreateComanagedDeviceActivateDeviceEsimRequest struct {
	CarrierUrl nullable.Type[string] `json:"carrierUrl,omitempty"`
}

type CreateComanagedDeviceBulkReprovisionCloudPCOperationOptions

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

func (CreateComanagedDeviceBulkReprovisionCloudPCOperationOptions) ToHeaders

func (CreateComanagedDeviceBulkReprovisionCloudPCOperationOptions) ToOData

func (CreateComanagedDeviceBulkReprovisionCloudPCOperationOptions) ToQuery

type CreateComanagedDeviceBulkReprovisionCloudPCOperationResponse

type CreateComanagedDeviceBulkReprovisionCloudPCOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.CloudPCBulkRemoteActionResult
}

type CreateComanagedDeviceBulkReprovisionCloudPCRequest

type CreateComanagedDeviceBulkReprovisionCloudPCRequest struct {
	ManagedDeviceIds *[]string `json:"managedDeviceIds,omitempty"`
}

type CreateComanagedDeviceBulkRestoreCloudPCOperationOptions

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

func (CreateComanagedDeviceBulkRestoreCloudPCOperationOptions) ToHeaders

func (CreateComanagedDeviceBulkRestoreCloudPCOperationOptions) ToOData

func (CreateComanagedDeviceBulkRestoreCloudPCOperationOptions) ToQuery

type CreateComanagedDeviceBulkRestoreCloudPCOperationResponse

type CreateComanagedDeviceBulkRestoreCloudPCOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.CloudPCBulkRemoteActionResult
}

type CreateComanagedDeviceBulkRestoreCloudPCRequest

type CreateComanagedDeviceBulkRestoreCloudPCRequest struct {
	ManagedDeviceIds     *[]string              `json:"managedDeviceIds,omitempty"`
	RestorePointDateTime nullable.Type[string]  `json:"restorePointDateTime,omitempty"`
	TimeRange            *beta.RestoreTimeRange `json:"timeRange,omitempty"`
}

type CreateComanagedDeviceBulkSetCloudPCReviewStatusOperationOptions

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

func (CreateComanagedDeviceBulkSetCloudPCReviewStatusOperationOptions) ToHeaders

func (CreateComanagedDeviceBulkSetCloudPCReviewStatusOperationOptions) ToOData

func (CreateComanagedDeviceBulkSetCloudPCReviewStatusOperationOptions) ToQuery

type CreateComanagedDeviceBulkSetCloudPCReviewStatusOperationResponse

type CreateComanagedDeviceBulkSetCloudPCReviewStatusOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.CloudPCBulkRemoteActionResult
}

type CreateComanagedDeviceBulkSetCloudPCReviewStatusRequest

type CreateComanagedDeviceBulkSetCloudPCReviewStatusRequest struct {
	ManagedDeviceIds *[]string                 `json:"managedDeviceIds,omitempty"`
	ReviewStatus     *beta.CloudPCReviewStatus `json:"reviewStatus,omitempty"`
}

type CreateComanagedDeviceDeprovisionOperationOptions

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

func DefaultCreateComanagedDeviceDeprovisionOperationOptions

func DefaultCreateComanagedDeviceDeprovisionOperationOptions() CreateComanagedDeviceDeprovisionOperationOptions

func (CreateComanagedDeviceDeprovisionOperationOptions) ToHeaders

func (CreateComanagedDeviceDeprovisionOperationOptions) ToOData

func (CreateComanagedDeviceDeprovisionOperationOptions) ToQuery

type CreateComanagedDeviceDeprovisionOperationResponse

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

type CreateComanagedDeviceDeprovisionRequest

type CreateComanagedDeviceDeprovisionRequest struct {
	DeprovisionReason *string `json:"deprovisionReason,omitempty"`
}

type CreateComanagedDeviceDownloadAppDiagnosticOperationOptions

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

func (CreateComanagedDeviceDownloadAppDiagnosticOperationOptions) ToHeaders

func (CreateComanagedDeviceDownloadAppDiagnosticOperationOptions) ToOData

func (CreateComanagedDeviceDownloadAppDiagnosticOperationOptions) ToQuery

type CreateComanagedDeviceDownloadAppDiagnosticOperationResponse

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

type CreateComanagedDeviceDownloadAppDiagnosticRequest

type CreateComanagedDeviceDownloadAppDiagnosticRequest struct {
	Request *beta.PowerliftDownloadRequest `json:"request,omitempty"`
}

type CreateComanagedDeviceEnrollNowActionOperationOptions

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

func DefaultCreateComanagedDeviceEnrollNowActionOperationOptions

func DefaultCreateComanagedDeviceEnrollNowActionOperationOptions() CreateComanagedDeviceEnrollNowActionOperationOptions

func (CreateComanagedDeviceEnrollNowActionOperationOptions) ToHeaders

func (CreateComanagedDeviceEnrollNowActionOperationOptions) ToOData

func (CreateComanagedDeviceEnrollNowActionOperationOptions) ToQuery

type CreateComanagedDeviceEnrollNowActionOperationResponse

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

type CreateComanagedDeviceExecuteActionOperationOptions

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

func DefaultCreateComanagedDeviceExecuteActionOperationOptions

func DefaultCreateComanagedDeviceExecuteActionOperationOptions() CreateComanagedDeviceExecuteActionOperationOptions

func (CreateComanagedDeviceExecuteActionOperationOptions) ToHeaders

func (CreateComanagedDeviceExecuteActionOperationOptions) ToOData

func (CreateComanagedDeviceExecuteActionOperationOptions) ToQuery

type CreateComanagedDeviceExecuteActionOperationResponse

type CreateComanagedDeviceExecuteActionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.BulkManagedDeviceActionResult
}

type CreateComanagedDeviceExecuteActionRequest

type CreateComanagedDeviceExecuteActionRequest struct {
	ActionName             *beta.ManagedDeviceRemoteAction `json:"actionName,omitempty"`
	CarrierUrl             nullable.Type[string]           `json:"carrierUrl,omitempty"`
	DeprovisionReason      nullable.Type[string]           `json:"deprovisionReason,omitempty"`
	DeviceIds              *[]string                       `json:"deviceIds,omitempty"`
	DeviceName             nullable.Type[string]           `json:"deviceName,omitempty"`
	KeepEnrollmentData     nullable.Type[bool]             `json:"keepEnrollmentData,omitempty"`
	KeepUserData           nullable.Type[bool]             `json:"keepUserData,omitempty"`
	NotificationBody       nullable.Type[string]           `json:"notificationBody,omitempty"`
	NotificationTitle      nullable.Type[string]           `json:"notificationTitle,omitempty"`
	OrganizationalUnitPath nullable.Type[string]           `json:"organizationalUnitPath,omitempty"`
	PersistEsimDataPlan    nullable.Type[bool]             `json:"persistEsimDataPlan,omitempty"`
}

type CreateComanagedDeviceInitiateDeviceAttestationOperationOptions

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

func (CreateComanagedDeviceInitiateDeviceAttestationOperationOptions) ToHeaders

func (CreateComanagedDeviceInitiateDeviceAttestationOperationOptions) ToOData

func (CreateComanagedDeviceInitiateDeviceAttestationOperationOptions) ToQuery

type CreateComanagedDeviceInitiateDeviceAttestationOperationResponse

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

type CreateComanagedDeviceInitiateMobileDeviceManagementKeyRecoveryOperationOptions

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

func (CreateComanagedDeviceInitiateMobileDeviceManagementKeyRecoveryOperationOptions) ToHeaders

func (CreateComanagedDeviceInitiateMobileDeviceManagementKeyRecoveryOperationOptions) ToOData

func (CreateComanagedDeviceInitiateMobileDeviceManagementKeyRecoveryOperationOptions) ToQuery

type CreateComanagedDeviceInitiateMobileDeviceManagementKeyRecoveryOperationResponse

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

type CreateComanagedDeviceInitiateOnDemandProactiveRemediationOperationOptions

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

func (CreateComanagedDeviceInitiateOnDemandProactiveRemediationOperationOptions) ToHeaders

func (CreateComanagedDeviceInitiateOnDemandProactiveRemediationOperationOptions) ToOData

func (CreateComanagedDeviceInitiateOnDemandProactiveRemediationOperationOptions) ToQuery

type CreateComanagedDeviceInitiateOnDemandProactiveRemediationOperationResponse

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

type CreateComanagedDeviceInitiateOnDemandProactiveRemediationRequest

type CreateComanagedDeviceInitiateOnDemandProactiveRemediationRequest struct {
	ScriptPolicyId *string `json:"scriptPolicyId,omitempty"`
}

type CreateComanagedDeviceLogCollectionRequestOperationOptions

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

func (CreateComanagedDeviceLogCollectionRequestOperationOptions) ToHeaders

func (CreateComanagedDeviceLogCollectionRequestOperationOptions) ToOData

func (CreateComanagedDeviceLogCollectionRequestOperationOptions) ToQuery

type CreateComanagedDeviceLogCollectionRequestOperationResponse

type CreateComanagedDeviceLogCollectionRequestOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.DeviceLogCollectionResponse
}

type CreateComanagedDeviceLogCollectionRequestRequest

type CreateComanagedDeviceLogCollectionRequestRequest struct {
	TemplateType *beta.DeviceLogCollectionRequest `json:"templateType,omitempty"`
}

type CreateComanagedDeviceOperationOptions

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

func DefaultCreateComanagedDeviceOperationOptions

func DefaultCreateComanagedDeviceOperationOptions() CreateComanagedDeviceOperationOptions

func (CreateComanagedDeviceOperationOptions) ToHeaders

func (CreateComanagedDeviceOperationOptions) ToOData

func (CreateComanagedDeviceOperationOptions) ToQuery

type CreateComanagedDeviceOperationResponse

type CreateComanagedDeviceOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        beta.ManagedDevice
}

type CreateComanagedDeviceOverrideComplianceStateOperationOptions

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

func (CreateComanagedDeviceOverrideComplianceStateOperationOptions) ToHeaders

func (CreateComanagedDeviceOverrideComplianceStateOperationOptions) ToOData

func (CreateComanagedDeviceOverrideComplianceStateOperationOptions) ToQuery

type CreateComanagedDeviceOverrideComplianceStateOperationResponse

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

type CreateComanagedDeviceOverrideComplianceStateRequest

type CreateComanagedDeviceOverrideComplianceStateRequest struct {
	// Administrator configured device compliance state Enum
	ComplianceState *beta.AdministratorConfiguredDeviceComplianceState `json:"complianceState,omitempty"`

	RemediationUrl nullable.Type[string] `json:"remediationUrl,omitempty"`
}

type CreateComanagedDevicePlayLostModeSoundOperationOptions

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

func DefaultCreateComanagedDevicePlayLostModeSoundOperationOptions

func DefaultCreateComanagedDevicePlayLostModeSoundOperationOptions() CreateComanagedDevicePlayLostModeSoundOperationOptions

func (CreateComanagedDevicePlayLostModeSoundOperationOptions) ToHeaders

func (CreateComanagedDevicePlayLostModeSoundOperationOptions) ToOData

func (CreateComanagedDevicePlayLostModeSoundOperationOptions) ToQuery

type CreateComanagedDevicePlayLostModeSoundOperationResponse

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

type CreateComanagedDevicePlayLostModeSoundRequest

type CreateComanagedDevicePlayLostModeSoundRequest struct {
	DurationInMinutes nullable.Type[string] `json:"durationInMinutes,omitempty"`
}

type CreateComanagedDeviceReenableOperationOptions

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

func DefaultCreateComanagedDeviceReenableOperationOptions

func DefaultCreateComanagedDeviceReenableOperationOptions() CreateComanagedDeviceReenableOperationOptions

func (CreateComanagedDeviceReenableOperationOptions) ToHeaders

func (CreateComanagedDeviceReenableOperationOptions) ToOData

func (CreateComanagedDeviceReenableOperationOptions) ToQuery

type CreateComanagedDeviceReenableOperationResponse

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

type CreateComanagedDeviceRotateBitLockerKeyOperationOptions

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

func (CreateComanagedDeviceRotateBitLockerKeyOperationOptions) ToHeaders

func (CreateComanagedDeviceRotateBitLockerKeyOperationOptions) ToOData

func (CreateComanagedDeviceRotateBitLockerKeyOperationOptions) ToQuery

type CreateComanagedDeviceRotateBitLockerKeyOperationResponse

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

type CreateComanagedDeviceRotateFileVaultKeyOperationOptions

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

func (CreateComanagedDeviceRotateFileVaultKeyOperationOptions) ToHeaders

func (CreateComanagedDeviceRotateFileVaultKeyOperationOptions) ToOData

func (CreateComanagedDeviceRotateFileVaultKeyOperationOptions) ToQuery

type CreateComanagedDeviceRotateFileVaultKeyOperationResponse

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

type CreateComanagedDeviceRotateLocalAdminPasswordOperationOptions

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

func (CreateComanagedDeviceRotateLocalAdminPasswordOperationOptions) ToHeaders

func (CreateComanagedDeviceRotateLocalAdminPasswordOperationOptions) ToOData

func (CreateComanagedDeviceRotateLocalAdminPasswordOperationOptions) ToQuery

type CreateComanagedDeviceRotateLocalAdminPasswordOperationResponse

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

type CreateComanagedDeviceTriggerConfigurationManagerActionOperationOptions

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

func (CreateComanagedDeviceTriggerConfigurationManagerActionOperationOptions) ToHeaders

func (CreateComanagedDeviceTriggerConfigurationManagerActionOperationOptions) ToOData

func (CreateComanagedDeviceTriggerConfigurationManagerActionOperationOptions) ToQuery

type CreateComanagedDeviceTriggerConfigurationManagerActionOperationResponse

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

type CreateComanagedDeviceTriggerConfigurationManagerActionRequest

type CreateComanagedDeviceTriggerConfigurationManagerActionRequest struct {
	// Parameter for action triggerConfigurationManagerAction
	ConfigurationManagerAction *beta.ConfigurationManagerAction `json:"configurationManagerAction,omitempty"`
}

type CreateComanagedDeviceWindowsDefenderScanOperationOptions

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

func (CreateComanagedDeviceWindowsDefenderScanOperationOptions) ToHeaders

func (CreateComanagedDeviceWindowsDefenderScanOperationOptions) ToOData

func (CreateComanagedDeviceWindowsDefenderScanOperationOptions) ToQuery

type CreateComanagedDeviceWindowsDefenderScanOperationResponse

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

type CreateComanagedDeviceWindowsDefenderScanRequest

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

type CreateComanagedDeviceWindowsDefenderUpdateSignatureOperationOptions

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

func (CreateComanagedDeviceWindowsDefenderUpdateSignatureOperationOptions) ToHeaders

func (CreateComanagedDeviceWindowsDefenderUpdateSignatureOperationOptions) ToOData

func (CreateComanagedDeviceWindowsDefenderUpdateSignatureOperationOptions) ToQuery

type CreateComanagedDeviceWindowsDefenderUpdateSignatureOperationResponse

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

type DeleteComanagedDeviceOperationOptions

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

func DefaultDeleteComanagedDeviceOperationOptions

func DefaultDeleteComanagedDeviceOperationOptions() DeleteComanagedDeviceOperationOptions

func (DeleteComanagedDeviceOperationOptions) ToHeaders

func (DeleteComanagedDeviceOperationOptions) ToOData

func (DeleteComanagedDeviceOperationOptions) ToQuery

type DeleteComanagedDeviceOperationResponse

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

type DeleteComanagedDeviceUserFromSharedAppleDeviceOperationOptions

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

func (DeleteComanagedDeviceUserFromSharedAppleDeviceOperationOptions) ToHeaders

func (DeleteComanagedDeviceUserFromSharedAppleDeviceOperationOptions) ToOData

func (DeleteComanagedDeviceUserFromSharedAppleDeviceOperationOptions) ToQuery

type DeleteComanagedDeviceUserFromSharedAppleDeviceOperationResponse

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

type DeleteComanagedDeviceUserFromSharedAppleDeviceRequest

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

type DisableComanagedDeviceLostModeOperationOptions

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

func DefaultDisableComanagedDeviceLostModeOperationOptions

func DefaultDisableComanagedDeviceLostModeOperationOptions() DisableComanagedDeviceLostModeOperationOptions

func (DisableComanagedDeviceLostModeOperationOptions) ToHeaders

func (DisableComanagedDeviceLostModeOperationOptions) ToOData

func (DisableComanagedDeviceLostModeOperationOptions) ToQuery

type DisableComanagedDeviceLostModeOperationResponse

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

type DisableComanagedDeviceOperationOptions

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

func DefaultDisableComanagedDeviceOperationOptions

func DefaultDisableComanagedDeviceOperationOptions() DisableComanagedDeviceOperationOptions

func (DisableComanagedDeviceOperationOptions) ToHeaders

func (DisableComanagedDeviceOperationOptions) ToOData

func (DisableComanagedDeviceOperationOptions) ToQuery

type DisableComanagedDeviceOperationResponse

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

type EnableComanagedDeviceLostModeOperationOptions

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

func DefaultEnableComanagedDeviceLostModeOperationOptions

func DefaultEnableComanagedDeviceLostModeOperationOptions() EnableComanagedDeviceLostModeOperationOptions

func (EnableComanagedDeviceLostModeOperationOptions) ToHeaders

func (EnableComanagedDeviceLostModeOperationOptions) ToOData

func (EnableComanagedDeviceLostModeOperationOptions) ToQuery

type EnableComanagedDeviceLostModeOperationResponse

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

type EnableComanagedDeviceLostModeRequest

type EnableComanagedDeviceLostModeRequest struct {
	Footer      nullable.Type[string] `json:"footer,omitempty"`
	Message     nullable.Type[string] `json:"message,omitempty"`
	PhoneNumber nullable.Type[string] `json:"phoneNumber,omitempty"`
}

type GetComanagedDeviceOperationOptions

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

func DefaultGetComanagedDeviceOperationOptions

func DefaultGetComanagedDeviceOperationOptions() GetComanagedDeviceOperationOptions

func (GetComanagedDeviceOperationOptions) ToHeaders

func (GetComanagedDeviceOperationOptions) ToOData

func (GetComanagedDeviceOperationOptions) ToQuery

type GetComanagedDeviceOperationResponse

type GetComanagedDeviceOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        beta.ManagedDevice
}

type GetComanagedDevicesCountOperationOptions

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

func DefaultGetComanagedDevicesCountOperationOptions

func DefaultGetComanagedDevicesCountOperationOptions() GetComanagedDevicesCountOperationOptions

func (GetComanagedDevicesCountOperationOptions) ToHeaders

func (GetComanagedDevicesCountOperationOptions) ToOData

func (GetComanagedDevicesCountOperationOptions) ToQuery

type GetComanagedDevicesCountOperationResponse

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

type ListComanagedDevicesCompleteResult

type ListComanagedDevicesCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []beta.ManagedDevice
}

type ListComanagedDevicesCustomPager

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

type ListComanagedDevicesOperationOptions

type ListComanagedDevicesOperationOptions 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 DefaultListComanagedDevicesOperationOptions

func DefaultListComanagedDevicesOperationOptions() ListComanagedDevicesOperationOptions

func (ListComanagedDevicesOperationOptions) ToHeaders

func (ListComanagedDevicesOperationOptions) ToOData

func (ListComanagedDevicesOperationOptions) ToQuery

type ListComanagedDevicesOperationResponse

type ListComanagedDevicesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]beta.ManagedDevice
}

type LocateComanagedDeviceDeviceOperationOptions

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

func DefaultLocateComanagedDeviceDeviceOperationOptions

func DefaultLocateComanagedDeviceDeviceOperationOptions() LocateComanagedDeviceDeviceOperationOptions

func (LocateComanagedDeviceDeviceOperationOptions) ToHeaders

func (LocateComanagedDeviceDeviceOperationOptions) ToOData

func (LocateComanagedDeviceDeviceOperationOptions) ToQuery

type LocateComanagedDeviceDeviceOperationResponse

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

type LogoutComanagedDeviceSharedAppleDeviceActiveUserOperationOptions

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

func (LogoutComanagedDeviceSharedAppleDeviceActiveUserOperationOptions) ToHeaders

func (LogoutComanagedDeviceSharedAppleDeviceActiveUserOperationOptions) ToOData

func (LogoutComanagedDeviceSharedAppleDeviceActiveUserOperationOptions) ToQuery

type LogoutComanagedDeviceSharedAppleDeviceActiveUserOperationResponse

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

type ManagedDeviceOperationPredicate

type ManagedDeviceOperationPredicate struct {
}

func (ManagedDeviceOperationPredicate) Matches

type MoveComanagedDevicesToOUOperationOptions

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

func DefaultMoveComanagedDevicesToOUOperationOptions

func DefaultMoveComanagedDevicesToOUOperationOptions() MoveComanagedDevicesToOUOperationOptions

func (MoveComanagedDevicesToOUOperationOptions) ToHeaders

func (MoveComanagedDevicesToOUOperationOptions) ToOData

func (MoveComanagedDevicesToOUOperationOptions) ToQuery

type MoveComanagedDevicesToOUOperationResponse

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

type MoveComanagedDevicesToOURequest

type MoveComanagedDevicesToOURequest struct {
	DeviceIds              *[]string             `json:"deviceIds,omitempty"`
	OrganizationalUnitPath nullable.Type[string] `json:"organizationalUnitPath,omitempty"`
}

type PauseComanagedDeviceConfigurationRefreshOperationOptions

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

func (PauseComanagedDeviceConfigurationRefreshOperationOptions) ToHeaders

func (PauseComanagedDeviceConfigurationRefreshOperationOptions) ToOData

func (PauseComanagedDeviceConfigurationRefreshOperationOptions) ToQuery

type PauseComanagedDeviceConfigurationRefreshOperationResponse

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

type PauseComanagedDeviceConfigurationRefreshRequest

type PauseComanagedDeviceConfigurationRefreshRequest struct {
	PauseTimePeriodInMinutes *int64 `json:"pauseTimePeriodInMinutes,omitempty"`
}

type RebootComanagedDeviceNowOperationOptions

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

func DefaultRebootComanagedDeviceNowOperationOptions

func DefaultRebootComanagedDeviceNowOperationOptions() RebootComanagedDeviceNowOperationOptions

func (RebootComanagedDeviceNowOperationOptions) ToHeaders

func (RebootComanagedDeviceNowOperationOptions) ToOData

func (RebootComanagedDeviceNowOperationOptions) ToQuery

type RebootComanagedDeviceNowOperationResponse

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

type RecoverComanagedDevicePasscodeOperationOptions

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

func DefaultRecoverComanagedDevicePasscodeOperationOptions

func DefaultRecoverComanagedDevicePasscodeOperationOptions() RecoverComanagedDevicePasscodeOperationOptions

func (RecoverComanagedDevicePasscodeOperationOptions) ToHeaders

func (RecoverComanagedDevicePasscodeOperationOptions) ToOData

func (RecoverComanagedDevicePasscodeOperationOptions) ToQuery

type RecoverComanagedDevicePasscodeOperationResponse

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

type RemoteLockComanagedDeviceOperationOptions

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

func DefaultRemoteLockComanagedDeviceOperationOptions

func DefaultRemoteLockComanagedDeviceOperationOptions() RemoteLockComanagedDeviceOperationOptions

func (RemoteLockComanagedDeviceOperationOptions) ToHeaders

func (RemoteLockComanagedDeviceOperationOptions) ToOData

func (RemoteLockComanagedDeviceOperationOptions) ToQuery

type RemoteLockComanagedDeviceOperationResponse

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

type RemoveComanagedDeviceFirmwareConfigurationInterfaceManagementOperationOptions

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

func (RemoveComanagedDeviceFirmwareConfigurationInterfaceManagementOperationOptions) ToHeaders

func (RemoveComanagedDeviceFirmwareConfigurationInterfaceManagementOperationOptions) ToOData

func (RemoveComanagedDeviceFirmwareConfigurationInterfaceManagementOperationOptions) ToQuery

type RemoveComanagedDeviceFirmwareConfigurationInterfaceManagementOperationResponse

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

type ReprovisionComanagedDeviceCloudPCOperationOptions

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

func DefaultReprovisionComanagedDeviceCloudPCOperationOptions

func DefaultReprovisionComanagedDeviceCloudPCOperationOptions() ReprovisionComanagedDeviceCloudPCOperationOptions

func (ReprovisionComanagedDeviceCloudPCOperationOptions) ToHeaders

func (ReprovisionComanagedDeviceCloudPCOperationOptions) ToOData

func (ReprovisionComanagedDeviceCloudPCOperationOptions) ToQuery

type ReprovisionComanagedDeviceCloudPCOperationResponse

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

type RequestComanagedDeviceRemoteAssistanceOperationOptions

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

func DefaultRequestComanagedDeviceRemoteAssistanceOperationOptions

func DefaultRequestComanagedDeviceRemoteAssistanceOperationOptions() RequestComanagedDeviceRemoteAssistanceOperationOptions

func (RequestComanagedDeviceRemoteAssistanceOperationOptions) ToHeaders

func (RequestComanagedDeviceRemoteAssistanceOperationOptions) ToOData

func (RequestComanagedDeviceRemoteAssistanceOperationOptions) ToQuery

type RequestComanagedDeviceRemoteAssistanceOperationResponse

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

type ResetComanagedDevicePasscodeOperationOptions

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

func DefaultResetComanagedDevicePasscodeOperationOptions

func DefaultResetComanagedDevicePasscodeOperationOptions() ResetComanagedDevicePasscodeOperationOptions

func (ResetComanagedDevicePasscodeOperationOptions) ToHeaders

func (ResetComanagedDevicePasscodeOperationOptions) ToOData

func (ResetComanagedDevicePasscodeOperationOptions) ToQuery

type ResetComanagedDevicePasscodeOperationResponse

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

type ResizeComanagedDeviceCloudPCOperationOptions

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

func DefaultResizeComanagedDeviceCloudPCOperationOptions

func DefaultResizeComanagedDeviceCloudPCOperationOptions() ResizeComanagedDeviceCloudPCOperationOptions

func (ResizeComanagedDeviceCloudPCOperationOptions) ToHeaders

func (ResizeComanagedDeviceCloudPCOperationOptions) ToOData

func (ResizeComanagedDeviceCloudPCOperationOptions) ToQuery

type ResizeComanagedDeviceCloudPCOperationResponse

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

type ResizeComanagedDeviceCloudPCRequest

type ResizeComanagedDeviceCloudPCRequest struct {
	TargetServicePlanId nullable.Type[string] `json:"targetServicePlanId,omitempty"`
}

type RestoreComanagedDeviceCloudPCOperationOptions

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

func DefaultRestoreComanagedDeviceCloudPCOperationOptions

func DefaultRestoreComanagedDeviceCloudPCOperationOptions() RestoreComanagedDeviceCloudPCOperationOptions

func (RestoreComanagedDeviceCloudPCOperationOptions) ToHeaders

func (RestoreComanagedDeviceCloudPCOperationOptions) ToOData

func (RestoreComanagedDeviceCloudPCOperationOptions) ToQuery

type RestoreComanagedDeviceCloudPCOperationResponse

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

type RestoreComanagedDeviceCloudPCRequest

type RestoreComanagedDeviceCloudPCRequest struct {
	CloudPCSnapshotId nullable.Type[string] `json:"cloudPcSnapshotId,omitempty"`
}

type RetireComanagedDeviceOperationOptions

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

func DefaultRetireComanagedDeviceOperationOptions

func DefaultRetireComanagedDeviceOperationOptions() RetireComanagedDeviceOperationOptions

func (RetireComanagedDeviceOperationOptions) ToHeaders

func (RetireComanagedDeviceOperationOptions) ToOData

func (RetireComanagedDeviceOperationOptions) ToQuery

type RetireComanagedDeviceOperationResponse

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

type RevokeComanagedDeviceAppleVppLicensesOperationOptions

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

func DefaultRevokeComanagedDeviceAppleVppLicensesOperationOptions

func DefaultRevokeComanagedDeviceAppleVppLicensesOperationOptions() RevokeComanagedDeviceAppleVppLicensesOperationOptions

func (RevokeComanagedDeviceAppleVppLicensesOperationOptions) ToHeaders

func (RevokeComanagedDeviceAppleVppLicensesOperationOptions) ToOData

func (RevokeComanagedDeviceAppleVppLicensesOperationOptions) ToQuery

type RevokeComanagedDeviceAppleVppLicensesOperationResponse

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

type SendComanagedDeviceCustomNotificationToCompanyPortalOperationOptions

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

func (SendComanagedDeviceCustomNotificationToCompanyPortalOperationOptions) ToHeaders

func (SendComanagedDeviceCustomNotificationToCompanyPortalOperationOptions) ToOData

func (SendComanagedDeviceCustomNotificationToCompanyPortalOperationOptions) ToQuery

type SendComanagedDeviceCustomNotificationToCompanyPortalOperationResponse

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

type SendComanagedDeviceCustomNotificationToCompanyPortalRequest

type SendComanagedDeviceCustomNotificationToCompanyPortalRequest struct {
	NotificationBody  *string `json:"notificationBody,omitempty"`
	NotificationTitle *string `json:"notificationTitle,omitempty"`
}

type SetComanagedDeviceCloudPCReviewStatusOperationOptions

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

func DefaultSetComanagedDeviceCloudPCReviewStatusOperationOptions

func DefaultSetComanagedDeviceCloudPCReviewStatusOperationOptions() SetComanagedDeviceCloudPCReviewStatusOperationOptions

func (SetComanagedDeviceCloudPCReviewStatusOperationOptions) ToHeaders

func (SetComanagedDeviceCloudPCReviewStatusOperationOptions) ToOData

func (SetComanagedDeviceCloudPCReviewStatusOperationOptions) ToQuery

type SetComanagedDeviceCloudPCReviewStatusOperationResponse

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

type SetComanagedDeviceCloudPCReviewStatusRequest

type SetComanagedDeviceCloudPCReviewStatusRequest struct {
	ReviewStatus *beta.CloudPCReviewStatus `json:"reviewStatus,omitempty"`
}

type SetComanagedDeviceNameOperationOptions

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

func DefaultSetComanagedDeviceNameOperationOptions

func DefaultSetComanagedDeviceNameOperationOptions() SetComanagedDeviceNameOperationOptions

func (SetComanagedDeviceNameOperationOptions) ToHeaders

func (SetComanagedDeviceNameOperationOptions) ToOData

func (SetComanagedDeviceNameOperationOptions) ToQuery

type SetComanagedDeviceNameOperationResponse

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

type SetComanagedDeviceNameRequest

type SetComanagedDeviceNameRequest struct {
	DeviceName nullable.Type[string] `json:"deviceName,omitempty"`
}

type ShutDownComanagedDeviceOperationOptions

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

func DefaultShutDownComanagedDeviceOperationOptions

func DefaultShutDownComanagedDeviceOperationOptions() ShutDownComanagedDeviceOperationOptions

func (ShutDownComanagedDeviceOperationOptions) ToHeaders

func (ShutDownComanagedDeviceOperationOptions) ToOData

func (ShutDownComanagedDeviceOperationOptions) ToQuery

type ShutDownComanagedDeviceOperationResponse

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

type SyncComanagedDeviceDeviceOperationOptions

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

func DefaultSyncComanagedDeviceDeviceOperationOptions

func DefaultSyncComanagedDeviceDeviceOperationOptions() SyncComanagedDeviceDeviceOperationOptions

func (SyncComanagedDeviceDeviceOperationOptions) ToHeaders

func (SyncComanagedDeviceDeviceOperationOptions) ToOData

func (SyncComanagedDeviceDeviceOperationOptions) ToQuery

type SyncComanagedDeviceDeviceOperationResponse

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

type UpdateComanagedDeviceOperationOptions

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

func DefaultUpdateComanagedDeviceOperationOptions

func DefaultUpdateComanagedDeviceOperationOptions() UpdateComanagedDeviceOperationOptions

func (UpdateComanagedDeviceOperationOptions) ToHeaders

func (UpdateComanagedDeviceOperationOptions) ToOData

func (UpdateComanagedDeviceOperationOptions) ToQuery

type UpdateComanagedDeviceOperationResponse

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

type UpdateComanagedDeviceWindowsDeviceAccountOperationOptions

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

func (UpdateComanagedDeviceWindowsDeviceAccountOperationOptions) ToHeaders

func (UpdateComanagedDeviceWindowsDeviceAccountOperationOptions) ToOData

func (UpdateComanagedDeviceWindowsDeviceAccountOperationOptions) ToQuery

type UpdateComanagedDeviceWindowsDeviceAccountOperationResponse

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

type UpdateComanagedDeviceWindowsDeviceAccountRequest

type UpdateComanagedDeviceWindowsDeviceAccountRequest struct {
	UpdateWindowsDeviceAccountActionParameter *beta.UpdateWindowsDeviceAccountActionParameter `json:"updateWindowsDeviceAccountActionParameter,omitempty"`
}

type WipeComanagedDeviceOperationOptions

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

func DefaultWipeComanagedDeviceOperationOptions

func DefaultWipeComanagedDeviceOperationOptions() WipeComanagedDeviceOperationOptions

func (WipeComanagedDeviceOperationOptions) ToHeaders

func (WipeComanagedDeviceOperationOptions) ToOData

func (WipeComanagedDeviceOperationOptions) ToQuery

type WipeComanagedDeviceOperationResponse

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

type WipeComanagedDeviceRequest

type WipeComanagedDeviceRequest struct {
	KeepEnrollmentData   nullable.Type[bool]        `json:"keepEnrollmentData,omitempty"`
	KeepUserData         nullable.Type[bool]        `json:"keepUserData,omitempty"`
	MacOsUnlockCode      nullable.Type[string]      `json:"macOsUnlockCode,omitempty"`
	ObliterationBehavior *beta.ObliterationBehavior `json:"obliterationBehavior,omitempty"`
	PersistEsimDataPlan  nullable.Type[bool]        `json:"persistEsimDataPlan,omitempty"`
	UseProtectedWipe     nullable.Type[bool]        `json:"useProtectedWipe,omitempty"`
}

Source Files

Jump to

Keyboard shortcuts

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