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