UNPKG

@microsoft/msgraph-beta-sdk-applications

Version:
98 lines 5.14 kB
import { type Synchronization } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type AcquireAccessTokenRequestBuilder } from './acquireAccessToken/index.js'; import { type JobsRequestBuilder } from './jobs/index.js'; import { type PingRequestBuilder } from './ping/index.js'; import { type SecretsRequestBuilder } from './secrets/index.js'; import { type TemplatesRequestBuilder } from './templates/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the synchronization property of the microsoft.graph.application entity. */ export interface SynchronizationRequestBuilder extends BaseRequestBuilder<SynchronizationRequestBuilder> { /** * Provides operations to call the acquireAccessToken method. */ get acquireAccessToken(): AcquireAccessTokenRequestBuilder; /** * Provides operations to manage the jobs property of the microsoft.graph.synchronization entity. */ get jobs(): JobsRequestBuilder; /** * Provides operations to call the Ping method. */ get ping(): PingRequestBuilder; /** * The secrets property */ get secrets(): SecretsRequestBuilder; /** * Provides operations to manage the templates property of the microsoft.graph.synchronization entity. */ get templates(): TemplatesRequestBuilder; /** * Delete navigation property synchronization for applications * @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>; /** * Represents the capability for Microsoft Entra identity synchronization through the Microsoft Graph API. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<Synchronization>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<SynchronizationRequestBuilderGetQueryParameters> | undefined): Promise<Synchronization | undefined>; /** * Update the navigation property synchronization in applications * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<Synchronization>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ put(body: Synchronization, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Synchronization | undefined>; /** * Delete navigation property synchronization for applications * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * Represents the capability for Microsoft Entra identity synchronization through the Microsoft Graph API. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<SynchronizationRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property synchronization in applications * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPutRequestInformation(body: Synchronization, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Represents the capability for Microsoft Entra identity synchronization through the Microsoft Graph API. */ export interface SynchronizationRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const SynchronizationRequestBuilderUriTemplate = "{+baseurl}/applications/{application%2Did}/synchronization{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const SynchronizationRequestBuilderNavigationMetadata: Record<Exclude<keyof SynchronizationRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const SynchronizationRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map