@microsoft/msgraph-beta-sdk-devicemanagement
Version:
DeviceManagement fluent API for Microsoft Graph
343 lines • 18 kB
TypeScript
import { type ManagedDevice } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type ActivateDeviceEsimRequestBuilder } from './activateDeviceEsim/index.js';
import { type AssignmentFilterEvaluationStatusDetailsRequestBuilder } from './assignmentFilterEvaluationStatusDetails/index.js';
import { type BypassActivationLockRequestBuilder } from './bypassActivationLock/index.js';
import { type ChangeAssignmentsRequestBuilder } from './changeAssignments/index.js';
import { type CleanWindowsDeviceRequestBuilder } from './cleanWindowsDevice/index.js';
import { type CreateDeviceLogCollectionRequestRequestBuilder } from './createDeviceLogCollectionRequest/index.js';
import { type DeleteUserFromSharedAppleDeviceRequestBuilder } from './deleteUserFromSharedAppleDevice/index.js';
import { type DeprovisionRequestBuilder } from './deprovision/index.js';
import { type DetectedAppsRequestBuilder } from './detectedApps/index.js';
import { type DeviceCategoryRequestBuilder } from './deviceCategory/index.js';
import { type DeviceCompliancePolicyStatesRequestBuilder } from './deviceCompliancePolicyStates/index.js';
import { type DeviceConfigurationStatesRequestBuilder } from './deviceConfigurationStates/index.js';
import { type DeviceHealthScriptStatesRequestBuilder } from './deviceHealthScriptStates/index.js';
import { type DisableRequestBuilder } from './disable/index.js';
import { type DisableLostModeRequestBuilder } from './disableLostMode/index.js';
import { type EnableLostModeRequestBuilder } from './enableLostMode/index.js';
import { type EnrollNowActionRequestBuilder } from './enrollNowAction/index.js';
import { type GetFileVaultKeyRequestBuilder } from './getFileVaultKey/index.js';
import { type GetNonCompliantSettingsRequestBuilder } from './getNonCompliantSettings/index.js';
import { type InitiateDeviceAttestationRequestBuilder } from './initiateDeviceAttestation/index.js';
import { type InitiateMobileDeviceManagementKeyRecoveryRequestBuilder } from './initiateMobileDeviceManagementKeyRecovery/index.js';
import { type InitiateOnDemandProactiveRemediationRequestBuilder } from './initiateOnDemandProactiveRemediation/index.js';
import { type LocateDeviceRequestBuilder } from './locateDevice/index.js';
import { type LogCollectionRequestsRequestBuilder } from './logCollectionRequests/index.js';
import { type LogoutSharedAppleDeviceActiveUserRequestBuilder } from './logoutSharedAppleDeviceActiveUser/index.js';
import { type ManagedDeviceMobileAppConfigurationStatesRequestBuilder } from './managedDeviceMobileAppConfigurationStates/index.js';
import { type OverrideComplianceStateRequestBuilder } from './overrideComplianceState/index.js';
import { type PauseConfigurationRefreshRequestBuilder } from './pauseConfigurationRefresh/index.js';
import { type PlayLostModeSoundRequestBuilder } from './playLostModeSound/index.js';
import { type RebootNowRequestBuilder } from './rebootNow/index.js';
import { type RecoverPasscodeRequestBuilder } from './recoverPasscode/index.js';
import { type ReenableRequestBuilder } from './reenable/index.js';
import { type RemoteLockRequestBuilder } from './remoteLock/index.js';
import { type RemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder } from './removeDeviceFirmwareConfigurationInterfaceManagement/index.js';
import { type RequestRemoteAssistanceRequestBuilder } from './requestRemoteAssistance/index.js';
import { type ResetPasscodeRequestBuilder } from './resetPasscode/index.js';
import { type RetireRequestBuilder } from './retire/index.js';
import { type RetrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder } from './retrieveMacOSManagedDeviceLocalAdminAccountDetail/index.js';
import { type RevokeAppleVppLicensesRequestBuilder } from './revokeAppleVppLicenses/index.js';
import { type RotateBitLockerKeysRequestBuilder } from './rotateBitLockerKeys/index.js';
import { type RotateFileVaultKeyRequestBuilder } from './rotateFileVaultKey/index.js';
import { type RotateLocalAdminPasswordRequestBuilder } from './rotateLocalAdminPassword/index.js';
import { type SecurityBaselineStatesRequestBuilder } from './securityBaselineStates/index.js';
import { type SendCustomNotificationToCompanyPortalRequestBuilder } from './sendCustomNotificationToCompanyPortal/index.js';
import { type SetDeviceNameRequestBuilder } from './setDeviceName/index.js';
import { type ShutDownRequestBuilder } from './shutDown/index.js';
import { type SyncDeviceRequestBuilder } from './syncDevice/index.js';
import { type TriggerConfigurationManagerActionRequestBuilder } from './triggerConfigurationManagerAction/index.js';
import { type UpdateWindowsDeviceAccountRequestBuilder } from './updateWindowsDeviceAccount/index.js';
import { type UsersRequestBuilder } from './users/index.js';
import { type WindowsDefenderScanRequestBuilder } from './windowsDefenderScan/index.js';
import { type WindowsDefenderUpdateSignaturesRequestBuilder } from './windowsDefenderUpdateSignatures/index.js';
import { type WindowsProtectionStateRequestBuilder } from './windowsProtectionState/index.js';
import { type WipeRequestBuilder } from './wipe/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the comanagedDevices property of the microsoft.graph.deviceManagement entity.
*/
export interface ManagedDeviceItemRequestBuilder extends BaseRequestBuilder<ManagedDeviceItemRequestBuilder> {
/**
* Provides operations to call the activateDeviceEsim method.
*/
get activateDeviceEsim(): ActivateDeviceEsimRequestBuilder;
/**
* Provides operations to manage the assignmentFilterEvaluationStatusDetails property of the microsoft.graph.managedDevice entity.
*/
get assignmentFilterEvaluationStatusDetails(): AssignmentFilterEvaluationStatusDetailsRequestBuilder;
/**
* Provides operations to call the bypassActivationLock method.
*/
get bypassActivationLock(): BypassActivationLockRequestBuilder;
/**
* Provides operations to call the changeAssignments method.
*/
get changeAssignments(): ChangeAssignmentsRequestBuilder;
/**
* Provides operations to call the cleanWindowsDevice method.
*/
get cleanWindowsDevice(): CleanWindowsDeviceRequestBuilder;
/**
* Provides operations to call the createDeviceLogCollectionRequest method.
*/
get createDeviceLogCollectionRequest(): CreateDeviceLogCollectionRequestRequestBuilder;
/**
* Provides operations to call the deleteUserFromSharedAppleDevice method.
*/
get deleteUserFromSharedAppleDevice(): DeleteUserFromSharedAppleDeviceRequestBuilder;
/**
* Provides operations to call the deprovision method.
*/
get deprovision(): DeprovisionRequestBuilder;
/**
* Provides operations to manage the detectedApps property of the microsoft.graph.managedDevice entity.
*/
get detectedApps(): DetectedAppsRequestBuilder;
/**
* Provides operations to manage the deviceCategory property of the microsoft.graph.managedDevice entity.
*/
get deviceCategory(): DeviceCategoryRequestBuilder;
/**
* Provides operations to manage the deviceCompliancePolicyStates property of the microsoft.graph.managedDevice entity.
*/
get deviceCompliancePolicyStates(): DeviceCompliancePolicyStatesRequestBuilder;
/**
* Provides operations to manage the deviceConfigurationStates property of the microsoft.graph.managedDevice entity.
*/
get deviceConfigurationStates(): DeviceConfigurationStatesRequestBuilder;
/**
* Provides operations to manage the deviceHealthScriptStates property of the microsoft.graph.managedDevice entity.
*/
get deviceHealthScriptStates(): DeviceHealthScriptStatesRequestBuilder;
/**
* Provides operations to call the disable method.
*/
get disable(): DisableRequestBuilder;
/**
* Provides operations to call the disableLostMode method.
*/
get disableLostMode(): DisableLostModeRequestBuilder;
/**
* Provides operations to call the enableLostMode method.
*/
get enableLostMode(): EnableLostModeRequestBuilder;
/**
* Provides operations to call the enrollNowAction method.
*/
get enrollNowAction(): EnrollNowActionRequestBuilder;
/**
* Provides operations to call the getFileVaultKey method.
*/
get getFileVaultKey(): GetFileVaultKeyRequestBuilder;
/**
* Provides operations to call the getNonCompliantSettings method.
*/
get getNonCompliantSettings(): GetNonCompliantSettingsRequestBuilder;
/**
* Provides operations to call the initiateDeviceAttestation method.
*/
get initiateDeviceAttestation(): InitiateDeviceAttestationRequestBuilder;
/**
* Provides operations to call the initiateMobileDeviceManagementKeyRecovery method.
*/
get initiateMobileDeviceManagementKeyRecovery(): InitiateMobileDeviceManagementKeyRecoveryRequestBuilder;
/**
* Provides operations to call the initiateOnDemandProactiveRemediation method.
*/
get initiateOnDemandProactiveRemediation(): InitiateOnDemandProactiveRemediationRequestBuilder;
/**
* Provides operations to call the locateDevice method.
*/
get locateDevice(): LocateDeviceRequestBuilder;
/**
* Provides operations to manage the logCollectionRequests property of the microsoft.graph.managedDevice entity.
*/
get logCollectionRequests(): LogCollectionRequestsRequestBuilder;
/**
* Provides operations to call the logoutSharedAppleDeviceActiveUser method.
*/
get logoutSharedAppleDeviceActiveUser(): LogoutSharedAppleDeviceActiveUserRequestBuilder;
/**
* Provides operations to manage the managedDeviceMobileAppConfigurationStates property of the microsoft.graph.managedDevice entity.
*/
get managedDeviceMobileAppConfigurationStates(): ManagedDeviceMobileAppConfigurationStatesRequestBuilder;
/**
* Provides operations to call the overrideComplianceState method.
*/
get overrideComplianceState(): OverrideComplianceStateRequestBuilder;
/**
* Provides operations to call the pauseConfigurationRefresh method.
*/
get pauseConfigurationRefresh(): PauseConfigurationRefreshRequestBuilder;
/**
* Provides operations to call the playLostModeSound method.
*/
get playLostModeSound(): PlayLostModeSoundRequestBuilder;
/**
* Provides operations to call the rebootNow method.
*/
get rebootNow(): RebootNowRequestBuilder;
/**
* Provides operations to call the recoverPasscode method.
*/
get recoverPasscode(): RecoverPasscodeRequestBuilder;
/**
* Provides operations to call the reenable method.
*/
get reenable(): ReenableRequestBuilder;
/**
* Provides operations to call the remoteLock method.
*/
get remoteLock(): RemoteLockRequestBuilder;
/**
* Provides operations to call the removeDeviceFirmwareConfigurationInterfaceManagement method.
*/
get removeDeviceFirmwareConfigurationInterfaceManagement(): RemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder;
/**
* Provides operations to call the requestRemoteAssistance method.
*/
get requestRemoteAssistance(): RequestRemoteAssistanceRequestBuilder;
/**
* Provides operations to call the resetPasscode method.
*/
get resetPasscode(): ResetPasscodeRequestBuilder;
/**
* Provides operations to call the retire method.
*/
get retire(): RetireRequestBuilder;
/**
* Provides operations to call the retrieveMacOSManagedDeviceLocalAdminAccountDetail method.
*/
get retrieveMacOSManagedDeviceLocalAdminAccountDetail(): RetrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder;
/**
* Provides operations to call the revokeAppleVppLicenses method.
*/
get revokeAppleVppLicenses(): RevokeAppleVppLicensesRequestBuilder;
/**
* Provides operations to call the rotateBitLockerKeys method.
*/
get rotateBitLockerKeys(): RotateBitLockerKeysRequestBuilder;
/**
* Provides operations to call the rotateFileVaultKey method.
*/
get rotateFileVaultKey(): RotateFileVaultKeyRequestBuilder;
/**
* Provides operations to call the rotateLocalAdminPassword method.
*/
get rotateLocalAdminPassword(): RotateLocalAdminPasswordRequestBuilder;
/**
* Provides operations to manage the securityBaselineStates property of the microsoft.graph.managedDevice entity.
*/
get securityBaselineStates(): SecurityBaselineStatesRequestBuilder;
/**
* Provides operations to call the sendCustomNotificationToCompanyPortal method.
*/
get sendCustomNotificationToCompanyPortal(): SendCustomNotificationToCompanyPortalRequestBuilder;
/**
* Provides operations to call the setDeviceName method.
*/
get setDeviceName(): SetDeviceNameRequestBuilder;
/**
* Provides operations to call the shutDown method.
*/
get shutDown(): ShutDownRequestBuilder;
/**
* Provides operations to call the syncDevice method.
*/
get syncDevice(): SyncDeviceRequestBuilder;
/**
* Provides operations to call the triggerConfigurationManagerAction method.
*/
get triggerConfigurationManagerAction(): TriggerConfigurationManagerActionRequestBuilder;
/**
* Provides operations to call the updateWindowsDeviceAccount method.
*/
get updateWindowsDeviceAccount(): UpdateWindowsDeviceAccountRequestBuilder;
/**
* Provides operations to manage the users property of the microsoft.graph.managedDevice entity.
*/
get users(): UsersRequestBuilder;
/**
* Provides operations to call the windowsDefenderScan method.
*/
get windowsDefenderScan(): WindowsDefenderScanRequestBuilder;
/**
* Provides operations to call the windowsDefenderUpdateSignatures method.
*/
get windowsDefenderUpdateSignatures(): WindowsDefenderUpdateSignaturesRequestBuilder;
/**
* Provides operations to manage the windowsProtectionState property of the microsoft.graph.managedDevice entity.
*/
get windowsProtectionState(): WindowsProtectionStateRequestBuilder;
/**
* Provides operations to call the wipe method.
*/
get wipe(): WipeRequestBuilder;
/**
* Delete navigation property comanagedDevices for deviceManagement
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
/**
* The list of co-managed devices report
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<ManagedDevice>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<ManagedDeviceItemRequestBuilderGetQueryParameters> | undefined): Promise<ManagedDevice | undefined>;
/**
* Update the navigation property comanagedDevices in deviceManagement
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<ManagedDevice>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
patch(body: ManagedDevice, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ManagedDevice | undefined>;
/**
* Delete navigation property comanagedDevices for deviceManagement
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
/**
* The list of co-managed devices report
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ManagedDeviceItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the navigation property comanagedDevices in deviceManagement
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPatchRequestInformation(body: ManagedDevice, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* The list of co-managed devices report
*/
export interface ManagedDeviceItemRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const ManagedDeviceItemRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const ManagedDeviceItemRequestBuilderNavigationMetadata: Record<Exclude<keyof ManagedDeviceItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const ManagedDeviceItemRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map