@microsoft/msgraph-beta-sdk-directory
Version:
Directory fluent API for Microsoft Graph
71 lines • 4.41 kB
TypeScript
import { type OnPremisesDirectorySynchronization } 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 onPremisesSynchronization property of the microsoft.graph.directory entity.
*/
export interface OnPremisesDirectorySynchronizationItemRequestBuilder extends BaseRequestBuilder<OnPremisesDirectorySynchronizationItemRequestBuilder> {
/**
* Delete navigation property onPremisesSynchronization for directory
* @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>;
/**
* Read the properties and relationships of an onPremisesDirectorySynchronization object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<OnPremisesDirectorySynchronization>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/onpremisesdirectorysynchronization-get?view=graph-rest-beta|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<OnPremisesDirectorySynchronizationItemRequestBuilderGetQueryParameters> | undefined): Promise<OnPremisesDirectorySynchronization | undefined>;
/**
* Update the properties of an onPremisesDirectorySynchronization object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<OnPremisesDirectorySynchronization>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/onpremisesdirectorysynchronization-update?view=graph-rest-beta|Find more info here}
*/
patch(body: OnPremisesDirectorySynchronization, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OnPremisesDirectorySynchronization | undefined>;
/**
* Delete navigation property onPremisesSynchronization for directory
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
/**
* Read the properties and relationships of an onPremisesDirectorySynchronization object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<OnPremisesDirectorySynchronizationItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the properties of an onPremisesDirectorySynchronization object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPatchRequestInformation(body: OnPremisesDirectorySynchronization, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Read the properties and relationships of an onPremisesDirectorySynchronization object.
*/
export interface OnPremisesDirectorySynchronizationItemRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const OnPremisesDirectorySynchronizationItemRequestBuilderUriTemplate = "{+baseurl}/directory/onPremisesSynchronization/{onPremisesDirectorySynchronization%2Did}{?%24expand,%24select}";
/**
* Metadata for all the requests in the request builder.
*/
export declare const OnPremisesDirectorySynchronizationItemRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map