@microsoft/msgraph-beta-sdk-users
Version:
Users fluent API for Microsoft Graph
146 lines • 7 kB
TypeScript
import { type ManagedDevice, type ManagedDeviceCollectionResponse } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type AppDiagnosticsWithUpnRequestBuilder } from './appDiagnosticsWithUpn/index.js';
import { type BulkReprovisionCloudPcRequestBuilder } from './bulkReprovisionCloudPc/index.js';
import { type BulkRestoreCloudPcRequestBuilder } from './bulkRestoreCloudPc/index.js';
import { type BulkSetCloudPcReviewStatusRequestBuilder } from './bulkSetCloudPcReviewStatus/index.js';
import { type CountRequestBuilder } from './count/index.js';
import { type DownloadAppDiagnosticsRequestBuilder } from './downloadAppDiagnostics/index.js';
import { type DownloadPowerliftAppDiagnosticRequestBuilder } from './downloadPowerliftAppDiagnostic/index.js';
import { type ExecuteActionRequestBuilder } from './executeAction/index.js';
import { type ManagedDeviceItemRequestBuilder } from './item/index.js';
import { type MoveDevicesToOURequestBuilder } from './moveDevicesToOU/index.js';
import { type RetrievePowerliftAppDiagnosticsDetailsWithUserPrincipalNameRequestBuilder } from './retrievePowerliftAppDiagnosticsDetailsWithUserPrincipalName/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the managedDevices property of the microsoft.graph.user entity.
*/
export interface ManagedDevicesRequestBuilder extends BaseRequestBuilder<ManagedDevicesRequestBuilder> {
/**
* Provides operations to call the bulkReprovisionCloudPc method.
*/
get bulkReprovisionCloudPc(): BulkReprovisionCloudPcRequestBuilder;
/**
* Provides operations to call the bulkRestoreCloudPc method.
*/
get bulkRestoreCloudPc(): BulkRestoreCloudPcRequestBuilder;
/**
* Provides operations to call the bulkSetCloudPcReviewStatus method.
*/
get bulkSetCloudPcReviewStatus(): BulkSetCloudPcReviewStatusRequestBuilder;
/**
* Provides operations to count the resources in the collection.
*/
get count(): CountRequestBuilder;
/**
* Provides operations to call the downloadAppDiagnostics method.
*/
get downloadAppDiagnostics(): DownloadAppDiagnosticsRequestBuilder;
/**
* Provides operations to call the downloadPowerliftAppDiagnostic method.
*/
get downloadPowerliftAppDiagnostic(): DownloadPowerliftAppDiagnosticRequestBuilder;
/**
* Provides operations to call the executeAction method.
*/
get executeAction(): ExecuteActionRequestBuilder;
/**
* Provides operations to call the moveDevicesToOU method.
*/
get moveDevicesToOU(): MoveDevicesToOURequestBuilder;
/**
* Provides operations to call the appDiagnostics method.
* @param upn Usage: upn='{upn}'
* @returns {AppDiagnosticsWithUpnRequestBuilder}
*/
appDiagnosticsWithUpn(upn: string | undefined): AppDiagnosticsWithUpnRequestBuilder;
/**
* Provides operations to manage the managedDevices property of the microsoft.graph.user entity.
* @param managedDeviceId The unique identifier of managedDevice
* @returns {ManagedDeviceItemRequestBuilder}
*/
byManagedDeviceId(managedDeviceId: string): ManagedDeviceItemRequestBuilder;
/**
* The managed devices associated with the user.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<ManagedDeviceCollectionResponse>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<ManagedDevicesRequestBuilderGetQueryParameters> | undefined): Promise<ManagedDeviceCollectionResponse | undefined>;
/**
* Create new navigation property to managedDevices for users
* @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
*/
post(body: ManagedDevice, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ManagedDevice | undefined>;
/**
* Provides operations to call the retrievePowerliftAppDiagnosticsDetails method.
* @param userPrincipalName Usage: userPrincipalName='{userPrincipalName}'
* @returns {RetrievePowerliftAppDiagnosticsDetailsWithUserPrincipalNameRequestBuilder}
*/
retrievePowerliftAppDiagnosticsDetailsWithUserPrincipalName(userPrincipalName: string | undefined): RetrievePowerliftAppDiagnosticsDetailsWithUserPrincipalNameRequestBuilder;
/**
* The managed devices associated with the user.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ManagedDevicesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Create new navigation property to managedDevices for users
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPostRequestInformation(body: ManagedDevice, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* The managed devices associated with the user.
*/
export interface ManagedDevicesRequestBuilderGetQueryParameters {
/**
* Include count of items
*/
count?: boolean;
/**
* Expand related entities
*/
expand?: string[];
/**
* Filter items by property values
*/
filter?: string;
/**
* Order items by property values
*/
orderby?: string[];
/**
* Search items by search phrases
*/
search?: string;
/**
* Select properties to be returned
*/
select?: string[];
/**
* Skip the first n items
*/
skip?: number;
/**
* Show only the first n items
*/
top?: number;
}
/**
* Uri template for the request builder.
*/
export declare const ManagedDevicesRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/managedDevices{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const ManagedDevicesRequestBuilderNavigationMetadata: Record<Exclude<keyof ManagedDevicesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const ManagedDevicesRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map