manageddevice

package
v0.20241021.1074254 Latest Latest
Warning

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

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

README

github.com/hashicorp/go-azure-sdk/microsoft-graph/me/beta/manageddevice Documentation

The manageddevice SDK allows for interaction with Microsoft Graph me (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/me/beta/manageddevice"

Client Initialization

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

Example Usage: ManagedDeviceClient.BypassManagedDeviceActivationLock

ctx := context.TODO()
id := manageddevice.NewMeManagedDeviceID("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.ChangeManagedDeviceAssignments

ctx := context.TODO()
id := manageddevice.NewMeManagedDeviceID("managedDeviceId")

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


read, err := client.ChangeManagedDeviceAssignments(ctx, id, payload, manageddevice.DefaultChangeManagedDeviceAssignmentsOperationOptions())
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.NewMeManagedDeviceID("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()

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


read, err := client.CreateManagedDevice(ctx, 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.CreateManagedDeviceActivateDeviceEsim

ctx := context.TODO()
id := manageddevice.NewMeManagedDeviceID("managedDeviceId")

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


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

Example Usage: ManagedDeviceClient.CreateManagedDeviceBulkReprovisionCloudPC

ctx := context.TODO()

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


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

Example Usage: ManagedDeviceClient.CreateManagedDeviceBulkRestoreCloudPC

ctx := context.TODO()

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


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

Example Usage: ManagedDeviceClient.CreateManagedDeviceBulkSetCloudPCReviewStatus

ctx := context.TODO()

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


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

Example Usage: ManagedDeviceClient.CreateManagedDeviceDeprovision

ctx := context.TODO()
id := manageddevice.NewMeManagedDeviceID("managedDeviceId")

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


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

Example Usage: ManagedDeviceClient.CreateManagedDeviceDownloadAppDiagnostic

ctx := context.TODO()

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


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

Example Usage: ManagedDeviceClient.CreateManagedDeviceEnrollNowAction

ctx := context.TODO()
id := manageddevice.NewMeManagedDeviceID("managedDeviceId")

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

Example Usage: ManagedDeviceClient.CreateManagedDeviceExecuteAction

ctx := context.TODO()

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


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

Example Usage: ManagedDeviceClient.CreateManagedDeviceInitiateDeviceAttestation

ctx := context.TODO()
id := manageddevice.NewMeManagedDeviceID("managedDeviceId")

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

Example Usage: ManagedDeviceClient.CreateManagedDeviceInitiateMobileDeviceManagementKeyRecovery

ctx := context.TODO()
id := manageddevice.NewMeManagedDeviceID("managedDeviceId")

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

Example Usage: ManagedDeviceClient.CreateManagedDeviceInitiateOnDemandProactiveRemediation

ctx := context.TODO()
id := manageddevice.NewMeManagedDeviceID("managedDeviceId")

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


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

Example Usage: ManagedDeviceClient.CreateManagedDeviceLogCollectionRequest

ctx := context.TODO()
id := manageddevice.NewMeManagedDeviceID("managedDeviceId")

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


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

Example Usage: ManagedDeviceClient.CreateManagedDeviceOverrideComplianceState

ctx := context.TODO()
id := manageddevice.NewMeManagedDeviceID("managedDeviceId")

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


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

Example Usage: ManagedDeviceClient.CreateManagedDevicePlayLostModeSound

ctx := context.TODO()
id := manageddevice.NewMeManagedDeviceID("managedDeviceId")

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


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

Example Usage: ManagedDeviceClient.CreateManagedDeviceReenable

ctx := context.TODO()
id := manageddevice.NewMeManagedDeviceID("managedDeviceId")

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

Example Usage: ManagedDeviceClient.CreateManagedDeviceRotateBitLockerKey

ctx := context.TODO()
id := manageddevice.NewMeManagedDeviceID("managedDeviceId")

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

Example Usage: ManagedDeviceClient.CreateManagedDeviceRotateFileVaultKey

ctx := context.TODO()
id := manageddevice.NewMeManagedDeviceID("managedDeviceId")

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

Example Usage: ManagedDeviceClient.CreateManagedDeviceRotateLocalAdminPassword

ctx := context.TODO()
id := manageddevice.NewMeManagedDeviceID("managedDeviceId")

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

Example Usage: ManagedDeviceClient.CreateManagedDeviceTriggerConfigurationManagerAction

ctx := context.TODO()
id := manageddevice.NewMeManagedDeviceID("managedDeviceId")

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


read, err := client.CreateManagedDeviceTriggerConfigurationManagerAction(ctx, id, payload, manageddevice.DefaultCreateManagedDeviceTriggerConfigurationManagerActionOperationOptions())
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.NewMeManagedDeviceID("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.NewMeManagedDeviceID("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.NewMeManagedDeviceID("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.NewMeManagedDeviceID("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.DisableManagedDevice

ctx := context.TODO()
id := manageddevice.NewMeManagedDeviceID("managedDeviceId")

read, err := client.DisableManagedDevice(ctx, id, manageddevice.DefaultDisableManagedDeviceOperationOptions())
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.NewMeManagedDeviceID("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.EnableManagedDeviceLostMode

ctx := context.TODO()
id := manageddevice.NewMeManagedDeviceID("managedDeviceId")

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


read, err := client.EnableManagedDeviceLostMode(ctx, id, payload, manageddevice.DefaultEnableManagedDeviceLostModeOperationOptions())
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.NewMeManagedDeviceID("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()


read, err := client.GetManagedDevicesCount(ctx, 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()


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

Example Usage: ManagedDeviceClient.LocateManagedDeviceDevice

ctx := context.TODO()
id := manageddevice.NewMeManagedDeviceID("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.NewMeManagedDeviceID("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.MoveManagedDevicesToOU

ctx := context.TODO()

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


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

Example Usage: ManagedDeviceClient.PauseManagedDeviceConfigurationRefresh

ctx := context.TODO()
id := manageddevice.NewMeManagedDeviceID("managedDeviceId")

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


read, err := client.PauseManagedDeviceConfigurationRefresh(ctx, id, payload, manageddevice.DefaultPauseManagedDeviceConfigurationRefreshOperationOptions())
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.NewMeManagedDeviceID("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.NewMeManagedDeviceID("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.NewMeManagedDeviceID("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.RemoveManagedDeviceFirmwareConfigurationInterfaceManagement

ctx := context.TODO()
id := manageddevice.NewMeManagedDeviceID("managedDeviceId")

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

Example Usage: ManagedDeviceClient.ReprovisionManagedDeviceCloudPC

ctx := context.TODO()
id := manageddevice.NewMeManagedDeviceID("managedDeviceId")

read, err := client.ReprovisionManagedDeviceCloudPC(ctx, id, manageddevice.DefaultReprovisionManagedDeviceCloudPCOperationOptions())
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.NewMeManagedDeviceID("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.NewMeManagedDeviceID("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.ResizeManagedDeviceCloudPC

ctx := context.TODO()
id := manageddevice.NewMeManagedDeviceID("managedDeviceId")

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


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

Example Usage: ManagedDeviceClient.RestoreManagedDeviceCloudPC

ctx := context.TODO()
id := manageddevice.NewMeManagedDeviceID("managedDeviceId")

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


read, err := client.RestoreManagedDeviceCloudPC(ctx, id, payload, manageddevice.DefaultRestoreManagedDeviceCloudPCOperationOptions())
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.NewMeManagedDeviceID("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.RevokeManagedDeviceAppleVppLicenses

ctx := context.TODO()
id := manageddevice.NewMeManagedDeviceID("managedDeviceId")

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

Example Usage: ManagedDeviceClient.SendManagedDeviceCustomNotificationToCompanyPortal

ctx := context.TODO()
id := manageddevice.NewMeManagedDeviceID("managedDeviceId")

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


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

Example Usage: ManagedDeviceClient.SetManagedDeviceCloudPCReviewStatus

ctx := context.TODO()
id := manageddevice.NewMeManagedDeviceID("managedDeviceId")

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


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

Example Usage: ManagedDeviceClient.SetManagedDeviceName

ctx := context.TODO()
id := manageddevice.NewMeManagedDeviceID("managedDeviceId")

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


read, err := client.SetManagedDeviceName(ctx, id, payload, manageddevice.DefaultSetManagedDeviceNameOperationOptions())
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.NewMeManagedDeviceID("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.NewMeManagedDeviceID("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.NewMeManagedDeviceID("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.NewMeManagedDeviceID("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.NewMeManagedDeviceID("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 ChangeManagedDeviceAssignmentsOperationOptions

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

func DefaultChangeManagedDeviceAssignmentsOperationOptions

func DefaultChangeManagedDeviceAssignmentsOperationOptions() ChangeManagedDeviceAssignmentsOperationOptions

func (ChangeManagedDeviceAssignmentsOperationOptions) ToHeaders

func (ChangeManagedDeviceAssignmentsOperationOptions) ToOData

func (ChangeManagedDeviceAssignmentsOperationOptions) ToQuery

type ChangeManagedDeviceAssignmentsOperationResponse

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

type ChangeManagedDeviceAssignmentsRequest

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

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 CreateManagedDeviceActivateDeviceEsimOperationOptions

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

func DefaultCreateManagedDeviceActivateDeviceEsimOperationOptions

func DefaultCreateManagedDeviceActivateDeviceEsimOperationOptions() CreateManagedDeviceActivateDeviceEsimOperationOptions

func (CreateManagedDeviceActivateDeviceEsimOperationOptions) ToHeaders

func (CreateManagedDeviceActivateDeviceEsimOperationOptions) ToOData

func (CreateManagedDeviceActivateDeviceEsimOperationOptions) ToQuery

type CreateManagedDeviceActivateDeviceEsimOperationResponse

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

type CreateManagedDeviceActivateDeviceEsimRequest

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

type CreateManagedDeviceBulkReprovisionCloudPCOperationOptions

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

func (CreateManagedDeviceBulkReprovisionCloudPCOperationOptions) ToHeaders

func (CreateManagedDeviceBulkReprovisionCloudPCOperationOptions) ToOData

func (CreateManagedDeviceBulkReprovisionCloudPCOperationOptions) ToQuery

type CreateManagedDeviceBulkReprovisionCloudPCOperationResponse

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

type CreateManagedDeviceBulkReprovisionCloudPCRequest

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

type CreateManagedDeviceBulkRestoreCloudPCOperationOptions

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

func DefaultCreateManagedDeviceBulkRestoreCloudPCOperationOptions

func DefaultCreateManagedDeviceBulkRestoreCloudPCOperationOptions() CreateManagedDeviceBulkRestoreCloudPCOperationOptions

func (CreateManagedDeviceBulkRestoreCloudPCOperationOptions) ToHeaders

func (CreateManagedDeviceBulkRestoreCloudPCOperationOptions) ToOData

func (CreateManagedDeviceBulkRestoreCloudPCOperationOptions) ToQuery

type CreateManagedDeviceBulkRestoreCloudPCOperationResponse

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

type CreateManagedDeviceBulkRestoreCloudPCRequest

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

type CreateManagedDeviceBulkSetCloudPCReviewStatusOperationOptions

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

func (CreateManagedDeviceBulkSetCloudPCReviewStatusOperationOptions) ToHeaders

func (CreateManagedDeviceBulkSetCloudPCReviewStatusOperationOptions) ToOData

func (CreateManagedDeviceBulkSetCloudPCReviewStatusOperationOptions) ToQuery

type CreateManagedDeviceBulkSetCloudPCReviewStatusOperationResponse

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

type CreateManagedDeviceBulkSetCloudPCReviewStatusRequest

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

type CreateManagedDeviceDeprovisionOperationOptions

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

func DefaultCreateManagedDeviceDeprovisionOperationOptions

func DefaultCreateManagedDeviceDeprovisionOperationOptions() CreateManagedDeviceDeprovisionOperationOptions

func (CreateManagedDeviceDeprovisionOperationOptions) ToHeaders

func (CreateManagedDeviceDeprovisionOperationOptions) ToOData

func (CreateManagedDeviceDeprovisionOperationOptions) ToQuery

type CreateManagedDeviceDeprovisionOperationResponse

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

type CreateManagedDeviceDeprovisionRequest

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

type CreateManagedDeviceDownloadAppDiagnosticOperationOptions

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

func (CreateManagedDeviceDownloadAppDiagnosticOperationOptions) ToHeaders

func (CreateManagedDeviceDownloadAppDiagnosticOperationOptions) ToOData

func (CreateManagedDeviceDownloadAppDiagnosticOperationOptions) ToQuery

type CreateManagedDeviceDownloadAppDiagnosticOperationResponse

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

type CreateManagedDeviceDownloadAppDiagnosticRequest

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

type CreateManagedDeviceEnrollNowActionOperationOptions

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

func DefaultCreateManagedDeviceEnrollNowActionOperationOptions

func DefaultCreateManagedDeviceEnrollNowActionOperationOptions() CreateManagedDeviceEnrollNowActionOperationOptions

func (CreateManagedDeviceEnrollNowActionOperationOptions) ToHeaders

func (CreateManagedDeviceEnrollNowActionOperationOptions) ToOData

func (CreateManagedDeviceEnrollNowActionOperationOptions) ToQuery

type CreateManagedDeviceEnrollNowActionOperationResponse

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

type CreateManagedDeviceExecuteActionOperationOptions

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

func DefaultCreateManagedDeviceExecuteActionOperationOptions

func DefaultCreateManagedDeviceExecuteActionOperationOptions() CreateManagedDeviceExecuteActionOperationOptions

func (CreateManagedDeviceExecuteActionOperationOptions) ToHeaders

func (CreateManagedDeviceExecuteActionOperationOptions) ToOData

func (CreateManagedDeviceExecuteActionOperationOptions) ToQuery

type CreateManagedDeviceExecuteActionOperationResponse

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

type CreateManagedDeviceExecuteActionRequest

type CreateManagedDeviceExecuteActionRequest 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 CreateManagedDeviceInitiateDeviceAttestationOperationOptions

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

func (CreateManagedDeviceInitiateDeviceAttestationOperationOptions) ToHeaders

func (CreateManagedDeviceInitiateDeviceAttestationOperationOptions) ToOData

func (CreateManagedDeviceInitiateDeviceAttestationOperationOptions) ToQuery

type CreateManagedDeviceInitiateDeviceAttestationOperationResponse

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

type CreateManagedDeviceInitiateMobileDeviceManagementKeyRecoveryOperationOptions

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

func (CreateManagedDeviceInitiateMobileDeviceManagementKeyRecoveryOperationOptions) ToHeaders

func (CreateManagedDeviceInitiateMobileDeviceManagementKeyRecoveryOperationOptions) ToOData

func (CreateManagedDeviceInitiateMobileDeviceManagementKeyRecoveryOperationOptions) ToQuery

type CreateManagedDeviceInitiateMobileDeviceManagementKeyRecoveryOperationResponse

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

type CreateManagedDeviceInitiateOnDemandProactiveRemediationOperationOptions

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

func (CreateManagedDeviceInitiateOnDemandProactiveRemediationOperationOptions) ToHeaders

func (CreateManagedDeviceInitiateOnDemandProactiveRemediationOperationOptions) ToOData

func (CreateManagedDeviceInitiateOnDemandProactiveRemediationOperationOptions) ToQuery

type CreateManagedDeviceInitiateOnDemandProactiveRemediationOperationResponse

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

type CreateManagedDeviceInitiateOnDemandProactiveRemediationRequest

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

type CreateManagedDeviceLogCollectionRequestOperationOptions

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

func (CreateManagedDeviceLogCollectionRequestOperationOptions) ToHeaders

func (CreateManagedDeviceLogCollectionRequestOperationOptions) ToOData

func (CreateManagedDeviceLogCollectionRequestOperationOptions) ToQuery

type CreateManagedDeviceLogCollectionRequestOperationResponse

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

type CreateManagedDeviceLogCollectionRequestRequest

type CreateManagedDeviceLogCollectionRequestRequest struct {
	TemplateType *beta.DeviceLogCollectionRequest `json:"templateType,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        beta.ManagedDevice
}

type CreateManagedDeviceOverrideComplianceStateOperationOptions

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

func (CreateManagedDeviceOverrideComplianceStateOperationOptions) ToHeaders

func (CreateManagedDeviceOverrideComplianceStateOperationOptions) ToOData

func (CreateManagedDeviceOverrideComplianceStateOperationOptions) ToQuery

type CreateManagedDeviceOverrideComplianceStateOperationResponse

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

type CreateManagedDeviceOverrideComplianceStateRequest

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

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

type CreateManagedDevicePlayLostModeSoundOperationOptions

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

func DefaultCreateManagedDevicePlayLostModeSoundOperationOptions

func DefaultCreateManagedDevicePlayLostModeSoundOperationOptions() CreateManagedDevicePlayLostModeSoundOperationOptions

func (CreateManagedDevicePlayLostModeSoundOperationOptions) ToHeaders

func (CreateManagedDevicePlayLostModeSoundOperationOptions) ToOData

func (CreateManagedDevicePlayLostModeSoundOperationOptions) ToQuery

type CreateManagedDevicePlayLostModeSoundOperationResponse

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

type CreateManagedDevicePlayLostModeSoundRequest

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

type CreateManagedDeviceReenableOperationOptions

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

func DefaultCreateManagedDeviceReenableOperationOptions

func DefaultCreateManagedDeviceReenableOperationOptions() CreateManagedDeviceReenableOperationOptions

func (CreateManagedDeviceReenableOperationOptions) ToHeaders

func (CreateManagedDeviceReenableOperationOptions) ToOData

func (CreateManagedDeviceReenableOperationOptions) ToQuery

type CreateManagedDeviceReenableOperationResponse

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

type CreateManagedDeviceRotateBitLockerKeyOperationOptions

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

func DefaultCreateManagedDeviceRotateBitLockerKeyOperationOptions

func DefaultCreateManagedDeviceRotateBitLockerKeyOperationOptions() CreateManagedDeviceRotateBitLockerKeyOperationOptions

func (CreateManagedDeviceRotateBitLockerKeyOperationOptions) ToHeaders

func (CreateManagedDeviceRotateBitLockerKeyOperationOptions) ToOData

func (CreateManagedDeviceRotateBitLockerKeyOperationOptions) ToQuery

type CreateManagedDeviceRotateBitLockerKeyOperationResponse

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

type CreateManagedDeviceRotateFileVaultKeyOperationOptions

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

func DefaultCreateManagedDeviceRotateFileVaultKeyOperationOptions

func DefaultCreateManagedDeviceRotateFileVaultKeyOperationOptions() CreateManagedDeviceRotateFileVaultKeyOperationOptions

func (CreateManagedDeviceRotateFileVaultKeyOperationOptions) ToHeaders

func (CreateManagedDeviceRotateFileVaultKeyOperationOptions) ToOData

func (CreateManagedDeviceRotateFileVaultKeyOperationOptions) ToQuery

type CreateManagedDeviceRotateFileVaultKeyOperationResponse

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

type CreateManagedDeviceRotateLocalAdminPasswordOperationOptions

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

func (CreateManagedDeviceRotateLocalAdminPasswordOperationOptions) ToHeaders

func (CreateManagedDeviceRotateLocalAdminPasswordOperationOptions) ToOData

func (CreateManagedDeviceRotateLocalAdminPasswordOperationOptions) ToQuery

type CreateManagedDeviceRotateLocalAdminPasswordOperationResponse

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

type CreateManagedDeviceTriggerConfigurationManagerActionOperationOptions

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

func (CreateManagedDeviceTriggerConfigurationManagerActionOperationOptions) ToHeaders

func (CreateManagedDeviceTriggerConfigurationManagerActionOperationOptions) ToOData

func (CreateManagedDeviceTriggerConfigurationManagerActionOperationOptions) ToQuery

type CreateManagedDeviceTriggerConfigurationManagerActionOperationResponse

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

type CreateManagedDeviceTriggerConfigurationManagerActionRequest

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

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 DisableManagedDeviceOperationOptions

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

func DefaultDisableManagedDeviceOperationOptions

func DefaultDisableManagedDeviceOperationOptions() DisableManagedDeviceOperationOptions

func (DisableManagedDeviceOperationOptions) ToHeaders

func (DisableManagedDeviceOperationOptions) ToOData

func (DisableManagedDeviceOperationOptions) ToQuery

type DisableManagedDeviceOperationResponse

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

type EnableManagedDeviceLostModeOperationOptions

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

func DefaultEnableManagedDeviceLostModeOperationOptions

func DefaultEnableManagedDeviceLostModeOperationOptions() EnableManagedDeviceLostModeOperationOptions

func (EnableManagedDeviceLostModeOperationOptions) ToHeaders

func (EnableManagedDeviceLostModeOperationOptions) ToOData

func (EnableManagedDeviceLostModeOperationOptions) ToQuery

type EnableManagedDeviceLostModeOperationResponse

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

type EnableManagedDeviceLostModeRequest

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

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        beta.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              []beta.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        *[]beta.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) ChangeManagedDeviceAssignments

ChangeManagedDeviceAssignments - Invoke action changeAssignments

func (ManagedDeviceClient) CleanManagedDeviceWindowsDevice

CleanManagedDeviceWindowsDevice - Invoke action cleanWindowsDevice. Clean Windows device

func (ManagedDeviceClient) CreateManagedDevice

CreateManagedDevice - Create new navigation property to managedDevices for me

func (ManagedDeviceClient) CreateManagedDeviceActivateDeviceEsim

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

func (ManagedDeviceClient) CreateManagedDeviceBulkReprovisionCloudPC

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

func (ManagedDeviceClient) CreateManagedDeviceBulkRestoreCloudPC

CreateManagedDeviceBulkRestoreCloudPC - 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 (ManagedDeviceClient) CreateManagedDeviceBulkSetCloudPCReviewStatus

CreateManagedDeviceBulkSetCloudPCReviewStatus - 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 (ManagedDeviceClient) CreateManagedDeviceDeprovision

CreateManagedDeviceDeprovision - Invoke action deprovision

func (ManagedDeviceClient) CreateManagedDeviceDownloadAppDiagnostic

CreateManagedDeviceDownloadAppDiagnostic - Invoke action downloadAppDiagnostics

func (ManagedDeviceClient) CreateManagedDeviceEnrollNowAction

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

func (ManagedDeviceClient) CreateManagedDeviceExecuteAction

CreateManagedDeviceExecuteAction - Invoke action executeAction

func (ManagedDeviceClient) CreateManagedDeviceInitiateDeviceAttestation

CreateManagedDeviceInitiateDeviceAttestation - Invoke action initiateDeviceAttestation. Perform Device Attestation

func (ManagedDeviceClient) CreateManagedDeviceInitiateMobileDeviceManagementKeyRecovery

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

func (ManagedDeviceClient) CreateManagedDeviceInitiateOnDemandProactiveRemediation

CreateManagedDeviceInitiateOnDemandProactiveRemediation - Invoke action initiateOnDemandProactiveRemediation. Perform On Demand Proactive Remediation

func (ManagedDeviceClient) CreateManagedDeviceLogCollectionRequest

CreateManagedDeviceLogCollectionRequest - Invoke action createDeviceLogCollectionRequest

func (ManagedDeviceClient) CreateManagedDeviceOverrideComplianceState

CreateManagedDeviceOverrideComplianceState - Invoke action overrideComplianceState

func (ManagedDeviceClient) CreateManagedDevicePlayLostModeSound

CreateManagedDevicePlayLostModeSound - Invoke action playLostModeSound. Play lost mode sound

func (ManagedDeviceClient) CreateManagedDeviceReenable

CreateManagedDeviceReenable - Invoke action reenable

func (ManagedDeviceClient) CreateManagedDeviceRotateBitLockerKey

CreateManagedDeviceRotateBitLockerKey - Invoke action rotateBitLockerKeys. Rotate BitLockerKeys

func (ManagedDeviceClient) CreateManagedDeviceRotateFileVaultKey

CreateManagedDeviceRotateFileVaultKey - Invoke action rotateFileVaultKey

func (ManagedDeviceClient) CreateManagedDeviceRotateLocalAdminPassword

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

func (ManagedDeviceClient) CreateManagedDeviceTriggerConfigurationManagerAction

CreateManagedDeviceTriggerConfigurationManagerAction - Invoke action triggerConfigurationManagerAction. Trigger action on ConfigurationManager client

func (ManagedDeviceClient) CreateManagedDeviceWindowsDefenderScan

CreateManagedDeviceWindowsDefenderScan - Invoke action windowsDefenderScan

func (ManagedDeviceClient) CreateManagedDeviceWindowsDefenderUpdateSignature

CreateManagedDeviceWindowsDefenderUpdateSignature - Invoke action windowsDefenderUpdateSignatures

func (ManagedDeviceClient) DeleteManagedDevice

DeleteManagedDevice - Delete navigation property managedDevices for me

func (ManagedDeviceClient) DeleteManagedDeviceUserFromSharedAppleDevice

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

func (ManagedDeviceClient) DisableManagedDevice

DisableManagedDevice - Invoke action disable

func (ManagedDeviceClient) DisableManagedDeviceLostMode

DisableManagedDeviceLostMode - Invoke action disableLostMode. Disable lost mode

func (ManagedDeviceClient) EnableManagedDeviceLostMode

EnableManagedDeviceLostMode - Invoke action enableLostMode. Enable lost mode

func (ManagedDeviceClient) GetManagedDevice

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

func (ManagedDeviceClient) GetManagedDevicesCount

GetManagedDevicesCount - Get the number of the resource

func (ManagedDeviceClient) ListManagedDevices

ListManagedDevices - Get managedDevices from me. 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, 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) MoveManagedDevicesToOU

MoveManagedDevicesToOU - Invoke action moveDevicesToOU

func (ManagedDeviceClient) PauseManagedDeviceConfigurationRefresh

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

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) RemoveManagedDeviceFirmwareConfigurationInterfaceManagement

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

func (ManagedDeviceClient) ReprovisionManagedDeviceCloudPC

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

func (ManagedDeviceClient) RequestManagedDeviceRemoteAssistance

RequestManagedDeviceRemoteAssistance - Invoke action requestRemoteAssistance. Request remote assistance

func (ManagedDeviceClient) ResetManagedDevicePasscode

ResetManagedDevicePasscode - Invoke action resetPasscode. Reset passcode

func (ManagedDeviceClient) ResizeManagedDeviceCloudPC

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

func (ManagedDeviceClient) RestoreManagedDeviceCloudPC

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

func (ManagedDeviceClient) RetireManagedDevice

RetireManagedDevice - Invoke action retire. Retire a device

func (ManagedDeviceClient) RevokeManagedDeviceAppleVppLicenses

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

func (ManagedDeviceClient) SendManagedDeviceCustomNotificationToCompanyPortal

SendManagedDeviceCustomNotificationToCompanyPortal - Invoke action sendCustomNotificationToCompanyPortal

func (ManagedDeviceClient) SetManagedDeviceCloudPCReviewStatus

SetManagedDeviceCloudPCReviewStatus - 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 (ManagedDeviceClient) SetManagedDeviceName

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

func (ManagedDeviceClient) ShutDownManagedDevice

ShutDownManagedDevice - Invoke action shutDown. Shut down device

func (ManagedDeviceClient) SyncManagedDeviceDevice

SyncManagedDeviceDevice - Invoke action syncDevice

func (ManagedDeviceClient) UpdateManagedDevice

UpdateManagedDevice - Update the navigation property managedDevices in me

func (ManagedDeviceClient) UpdateManagedDeviceWindowsDeviceAccount

UpdateManagedDeviceWindowsDeviceAccount - Invoke action updateWindowsDeviceAccount

func (ManagedDeviceClient) WipeManagedDevice

WipeManagedDevice - Invoke action wipe. Wipe a device

type ManagedDeviceOperationPredicate

type ManagedDeviceOperationPredicate struct {
}

func (ManagedDeviceOperationPredicate) Matches

type MoveManagedDevicesToOUOperationOptions

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

func DefaultMoveManagedDevicesToOUOperationOptions

func DefaultMoveManagedDevicesToOUOperationOptions() MoveManagedDevicesToOUOperationOptions

func (MoveManagedDevicesToOUOperationOptions) ToHeaders

func (MoveManagedDevicesToOUOperationOptions) ToOData

func (MoveManagedDevicesToOUOperationOptions) ToQuery

type MoveManagedDevicesToOUOperationResponse

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

type MoveManagedDevicesToOURequest

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

type PauseManagedDeviceConfigurationRefreshOperationOptions

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

func DefaultPauseManagedDeviceConfigurationRefreshOperationOptions

func DefaultPauseManagedDeviceConfigurationRefreshOperationOptions() PauseManagedDeviceConfigurationRefreshOperationOptions

func (PauseManagedDeviceConfigurationRefreshOperationOptions) ToHeaders

func (PauseManagedDeviceConfigurationRefreshOperationOptions) ToOData

func (PauseManagedDeviceConfigurationRefreshOperationOptions) ToQuery

type PauseManagedDeviceConfigurationRefreshOperationResponse

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

type PauseManagedDeviceConfigurationRefreshRequest

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

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 RemoveManagedDeviceFirmwareConfigurationInterfaceManagementOperationOptions

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

func (RemoveManagedDeviceFirmwareConfigurationInterfaceManagementOperationOptions) ToHeaders

func (RemoveManagedDeviceFirmwareConfigurationInterfaceManagementOperationOptions) ToOData

func (RemoveManagedDeviceFirmwareConfigurationInterfaceManagementOperationOptions) ToQuery

type RemoveManagedDeviceFirmwareConfigurationInterfaceManagementOperationResponse

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

type ReprovisionManagedDeviceCloudPCOperationOptions

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

func DefaultReprovisionManagedDeviceCloudPCOperationOptions

func DefaultReprovisionManagedDeviceCloudPCOperationOptions() ReprovisionManagedDeviceCloudPCOperationOptions

func (ReprovisionManagedDeviceCloudPCOperationOptions) ToHeaders

func (ReprovisionManagedDeviceCloudPCOperationOptions) ToOData

func (ReprovisionManagedDeviceCloudPCOperationOptions) ToQuery

type ReprovisionManagedDeviceCloudPCOperationResponse

type ReprovisionManagedDeviceCloudPCOperationResponse 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 ResizeManagedDeviceCloudPCOperationOptions

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

func DefaultResizeManagedDeviceCloudPCOperationOptions

func DefaultResizeManagedDeviceCloudPCOperationOptions() ResizeManagedDeviceCloudPCOperationOptions

func (ResizeManagedDeviceCloudPCOperationOptions) ToHeaders

func (ResizeManagedDeviceCloudPCOperationOptions) ToOData

func (ResizeManagedDeviceCloudPCOperationOptions) ToQuery

type ResizeManagedDeviceCloudPCOperationResponse

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

type ResizeManagedDeviceCloudPCRequest

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

type RestoreManagedDeviceCloudPCOperationOptions

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

func DefaultRestoreManagedDeviceCloudPCOperationOptions

func DefaultRestoreManagedDeviceCloudPCOperationOptions() RestoreManagedDeviceCloudPCOperationOptions

func (RestoreManagedDeviceCloudPCOperationOptions) ToHeaders

func (RestoreManagedDeviceCloudPCOperationOptions) ToOData

func (RestoreManagedDeviceCloudPCOperationOptions) ToQuery

type RestoreManagedDeviceCloudPCOperationResponse

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

type RestoreManagedDeviceCloudPCRequest

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

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 RevokeManagedDeviceAppleVppLicensesOperationOptions

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

func DefaultRevokeManagedDeviceAppleVppLicensesOperationOptions

func DefaultRevokeManagedDeviceAppleVppLicensesOperationOptions() RevokeManagedDeviceAppleVppLicensesOperationOptions

func (RevokeManagedDeviceAppleVppLicensesOperationOptions) ToHeaders

func (RevokeManagedDeviceAppleVppLicensesOperationOptions) ToOData

func (RevokeManagedDeviceAppleVppLicensesOperationOptions) ToQuery

type RevokeManagedDeviceAppleVppLicensesOperationResponse

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

type SendManagedDeviceCustomNotificationToCompanyPortalOperationOptions

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

func (SendManagedDeviceCustomNotificationToCompanyPortalOperationOptions) ToHeaders

func (SendManagedDeviceCustomNotificationToCompanyPortalOperationOptions) ToOData

func (SendManagedDeviceCustomNotificationToCompanyPortalOperationOptions) ToQuery

type SendManagedDeviceCustomNotificationToCompanyPortalOperationResponse

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

type SendManagedDeviceCustomNotificationToCompanyPortalRequest

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

type SetManagedDeviceCloudPCReviewStatusOperationOptions

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

func DefaultSetManagedDeviceCloudPCReviewStatusOperationOptions

func DefaultSetManagedDeviceCloudPCReviewStatusOperationOptions() SetManagedDeviceCloudPCReviewStatusOperationOptions

func (SetManagedDeviceCloudPCReviewStatusOperationOptions) ToHeaders

func (SetManagedDeviceCloudPCReviewStatusOperationOptions) ToOData

func (SetManagedDeviceCloudPCReviewStatusOperationOptions) ToQuery

type SetManagedDeviceCloudPCReviewStatusOperationResponse

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

type SetManagedDeviceCloudPCReviewStatusRequest

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

type SetManagedDeviceNameOperationOptions

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

func DefaultSetManagedDeviceNameOperationOptions

func DefaultSetManagedDeviceNameOperationOptions() SetManagedDeviceNameOperationOptions

func (SetManagedDeviceNameOperationOptions) ToHeaders

func (SetManagedDeviceNameOperationOptions) ToOData

func (SetManagedDeviceNameOperationOptions) ToQuery

type SetManagedDeviceNameOperationResponse

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

type SetManagedDeviceNameRequest

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

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 *beta.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"`
	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