UNPKG

@microsoft/msgraph-beta-sdk-users

Version:
69 lines 4.11 kB
import { type DeviceManagementTroubleshootingEvent } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the deviceManagementTroubleshootingEvents property of the microsoft.graph.user entity. */ export interface DeviceManagementTroubleshootingEventItemRequestBuilder extends BaseRequestBuilder<DeviceManagementTroubleshootingEventItemRequestBuilder> { /** * Delete navigation property deviceManagementTroubleshootingEvents for users * @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 troubleshooting events for this user. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<DeviceManagementTroubleshootingEvent>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<DeviceManagementTroubleshootingEventItemRequestBuilderGetQueryParameters> | undefined): Promise<DeviceManagementTroubleshootingEvent | undefined>; /** * Update the navigation property deviceManagementTroubleshootingEvents in users * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<DeviceManagementTroubleshootingEvent>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: DeviceManagementTroubleshootingEvent, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DeviceManagementTroubleshootingEvent | undefined>; /** * Delete navigation property deviceManagementTroubleshootingEvents for users * @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 troubleshooting events for this user. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<DeviceManagementTroubleshootingEventItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property deviceManagementTroubleshootingEvents in users * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: DeviceManagementTroubleshootingEvent, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * The list of troubleshooting events for this user. */ export interface DeviceManagementTroubleshootingEventItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const DeviceManagementTroubleshootingEventItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/deviceManagementTroubleshootingEvents/{deviceManagementTroubleshootingEvent%2Did}{?%24expand,%24select}"; /** * Metadata for all the requests in the request builder. */ export declare const DeviceManagementTroubleshootingEventItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map