UNPKG

@microsoft/msgraph-beta-sdk-settings

Version:
72 lines 4 kB
import { type DirectorySetting } 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 collection of directorySetting entities. */ export interface DirectorySettingItemRequestBuilder extends BaseRequestBuilder<DirectorySettingItemRequestBuilder> { /** * Delete a directory setting. * @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 * @see {@link https://learn.microsoft.com/graph/api/directorysetting-delete?view=graph-rest-beta|Find more info here} */ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>; /** * Retrieve the properties of a specific directory setting object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<DirectorySetting>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/directorysetting-get?view=graph-rest-beta|Find more info here} */ get(requestConfiguration?: RequestConfiguration<DirectorySettingItemRequestBuilderGetQueryParameters> | undefined): Promise<DirectorySetting | undefined>; /** * Update the properties of a specific directory setting object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<DirectorySetting>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/directorysetting-update?view=graph-rest-beta|Find more info here} */ patch(body: DirectorySetting, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DirectorySetting | undefined>; /** * Delete a directory setting. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * Retrieve the properties of a specific directory setting object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<DirectorySettingItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the properties of a specific directory setting object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: DirectorySetting, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Retrieve the properties of a specific directory setting object. */ export interface DirectorySettingItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const DirectorySettingItemRequestBuilderUriTemplate = "{+baseurl}/settings/{directorySetting%2Did}{?%24expand,%24select}"; /** * Metadata for all the requests in the request builder. */ export declare const DirectorySettingItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map