UNPKG

@microsoft/msgraph-beta-sdk-devicemanagement

Version:
69 lines 4.25 kB
import { type HardwarePasswordDetail } 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 hardwarePasswordDetails property of the microsoft.graph.deviceManagement entity. */ export interface HardwarePasswordDetailItemRequestBuilder extends BaseRequestBuilder<HardwarePasswordDetailItemRequestBuilder> { /** * Delete navigation property hardwarePasswordDetails 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>; /** * Device BIOS password information for devices with managed BIOS and firmware configuration, which provides device serial number, list of previous passwords, and current password. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<HardwarePasswordDetail>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<HardwarePasswordDetailItemRequestBuilderGetQueryParameters> | undefined): Promise<HardwarePasswordDetail | undefined>; /** * Update the navigation property hardwarePasswordDetails in deviceManagement * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<HardwarePasswordDetail>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: HardwarePasswordDetail, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<HardwarePasswordDetail | undefined>; /** * Delete navigation property hardwarePasswordDetails for deviceManagement * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * Device BIOS password information for devices with managed BIOS and firmware configuration, which provides device serial number, list of previous passwords, and current password. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<HardwarePasswordDetailItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property hardwarePasswordDetails 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: HardwarePasswordDetail, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Device BIOS password information for devices with managed BIOS and firmware configuration, which provides device serial number, list of previous passwords, and current password. */ export interface HardwarePasswordDetailItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const HardwarePasswordDetailItemRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/hardwarePasswordDetails/{hardwarePasswordDetail%2Did}{?%24expand,%24select}"; /** * Metadata for all the requests in the request builder. */ export declare const HardwarePasswordDetailItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map