UNPKG

@microsoft/msgraph-beta-sdk-devicemanagement

Version:
69 lines 4.16 kB
import { type DeviceManagementIntentDeviceStateSummary } 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 deviceStateSummary property of the microsoft.graph.deviceManagementIntent entity. */ export interface DeviceStateSummaryRequestBuilder extends BaseRequestBuilder<DeviceStateSummaryRequestBuilder> { /** * Delete navigation property deviceStateSummary 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>; /** * A summary of device states and counts of devices that belong to corresponding state for all devices that the intent is applied to * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<DeviceManagementIntentDeviceStateSummary>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<DeviceStateSummaryRequestBuilderGetQueryParameters> | undefined): Promise<DeviceManagementIntentDeviceStateSummary | undefined>; /** * Update the navigation property deviceStateSummary in deviceManagement * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<DeviceManagementIntentDeviceStateSummary>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: DeviceManagementIntentDeviceStateSummary, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DeviceManagementIntentDeviceStateSummary | undefined>; /** * Delete navigation property deviceStateSummary for deviceManagement * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * A summary of device states and counts of devices that belong to corresponding state for all devices that the intent is applied to * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<DeviceStateSummaryRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property deviceStateSummary 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: DeviceManagementIntentDeviceStateSummary, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * A summary of device states and counts of devices that belong to corresponding state for all devices that the intent is applied to */ export interface DeviceStateSummaryRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const DeviceStateSummaryRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/intents/{deviceManagementIntent%2Did}/deviceStateSummary{?%24expand,%24select}"; /** * Metadata for all the requests in the request builder. */ export declare const DeviceStateSummaryRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map