UNPKG

@microsoft/msgraph-beta-sdk-users

Version:
69 lines 4.31 kB
import { type OnPremisesSyncBehavior } 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 onPremisesSyncBehavior property of the microsoft.graph.user entity. */ export interface OnPremisesSyncBehaviorRequestBuilder extends BaseRequestBuilder<OnPremisesSyncBehaviorRequestBuilder> { /** * Delete navigation property onPremisesSyncBehavior 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>; /** * Indicates the state of synchronization for a user between the cloud and on-premises Active Directory. Supports $filter only with advanced query capabilities, for example, $filter=onPremisesSyncBehavior/isCloudManaged eq true&$count=true. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<OnPremisesSyncBehavior>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<OnPremisesSyncBehaviorRequestBuilderGetQueryParameters> | undefined): Promise<OnPremisesSyncBehavior | undefined>; /** * Update the navigation property onPremisesSyncBehavior in users * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<OnPremisesSyncBehavior>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: OnPremisesSyncBehavior, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OnPremisesSyncBehavior | undefined>; /** * Delete navigation property onPremisesSyncBehavior for users * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * Indicates the state of synchronization for a user between the cloud and on-premises Active Directory. Supports $filter only with advanced query capabilities, for example, $filter=onPremisesSyncBehavior/isCloudManaged eq true&$count=true. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<OnPremisesSyncBehaviorRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property onPremisesSyncBehavior 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: OnPremisesSyncBehavior, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Indicates the state of synchronization for a user between the cloud and on-premises Active Directory. Supports $filter only with advanced query capabilities, for example, $filter=onPremisesSyncBehavior/isCloudManaged eq true&$count=true. */ export interface OnPremisesSyncBehaviorRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const OnPremisesSyncBehaviorRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/onPremisesSyncBehavior{?%24expand,%24select}"; /** * Metadata for all the requests in the request builder. */ export declare const OnPremisesSyncBehaviorRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map