@microsoft/msgraph-beta-sdk-solutions
Version:
Solutions fluent API for Microsoft Graph
83 lines • 4.99 kB
TypeScript
import { type SharePointRestoreSession } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type SiteRestoreArtifactsRequestBuilder } from './siteRestoreArtifacts/index.js';
import { type SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder } from './siteRestoreArtifactsBulkAdditionRequests/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the sharePointRestoreSessions property of the microsoft.graph.backupRestoreRoot entity.
*/
export interface SharePointRestoreSessionItemRequestBuilder extends BaseRequestBuilder<SharePointRestoreSessionItemRequestBuilder> {
/**
* Provides operations to manage the siteRestoreArtifacts property of the microsoft.graph.sharePointRestoreSession entity.
*/
get siteRestoreArtifacts(): SiteRestoreArtifactsRequestBuilder;
/**
* Provides operations to manage the siteRestoreArtifactsBulkAdditionRequests property of the microsoft.graph.sharePointRestoreSession entity.
*/
get siteRestoreArtifactsBulkAdditionRequests(): SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder;
/**
* Delete navigation property sharePointRestoreSessions for solutions
* @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>;
/**
* The list of SharePoint restore sessions available in the tenant.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<SharePointRestoreSession>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<SharePointRestoreSessionItemRequestBuilderGetQueryParameters> | undefined): Promise<SharePointRestoreSession | undefined>;
/**
* Update the navigation property sharePointRestoreSessions in solutions
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<SharePointRestoreSession>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
patch(body: SharePointRestoreSession, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SharePointRestoreSession | undefined>;
/**
* Delete navigation property sharePointRestoreSessions for solutions
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
/**
* The list of SharePoint restore sessions available in the tenant.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<SharePointRestoreSessionItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the navigation property sharePointRestoreSessions in solutions
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPatchRequestInformation(body: SharePointRestoreSession, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* The list of SharePoint restore sessions available in the tenant.
*/
export interface SharePointRestoreSessionItemRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const SharePointRestoreSessionItemRequestBuilderUriTemplate = "{+baseurl}/solutions/backupRestore/sharePointRestoreSessions/{sharePointRestoreSession%2Did}{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const SharePointRestoreSessionItemRequestBuilderNavigationMetadata: Record<Exclude<keyof SharePointRestoreSessionItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const SharePointRestoreSessionItemRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map