@microsoft/msgraph-beta-sdk-solutions
Version:
Solutions fluent API for Microsoft Graph
84 lines • 5.38 kB
TypeScript
import { type OneDriveForBusinessRestoreSession } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type DriveRestoreArtifactsRequestBuilder } from './driveRestoreArtifacts/index.js';
import { type DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder } from './driveRestoreArtifactsBulkAdditionRequests/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the oneDriveForBusinessRestoreSessions property of the microsoft.graph.backupRestoreRoot entity.
*/
export interface OneDriveForBusinessRestoreSessionItemRequestBuilder extends BaseRequestBuilder<OneDriveForBusinessRestoreSessionItemRequestBuilder> {
/**
* Provides operations to manage the driveRestoreArtifacts property of the microsoft.graph.oneDriveForBusinessRestoreSession entity.
*/
get driveRestoreArtifacts(): DriveRestoreArtifactsRequestBuilder;
/**
* Provides operations to manage the driveRestoreArtifactsBulkAdditionRequests property of the microsoft.graph.oneDriveForBusinessRestoreSession entity.
*/
get driveRestoreArtifactsBulkAdditionRequests(): DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder;
/**
* Delete navigation property oneDriveForBusinessRestoreSessions 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 OneDrive for Business restore sessions available in the tenant.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<OneDriveForBusinessRestoreSession>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<OneDriveForBusinessRestoreSessionItemRequestBuilderGetQueryParameters> | undefined): Promise<OneDriveForBusinessRestoreSession | undefined>;
/**
* Update the properties of a oneDriveForBusinessRestoreSession object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<OneDriveForBusinessRestoreSession>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/onedriveforbusinessrestoresession-update?view=graph-rest-beta|Find more info here}
*/
patch(body: OneDriveForBusinessRestoreSession, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OneDriveForBusinessRestoreSession | undefined>;
/**
* Delete navigation property oneDriveForBusinessRestoreSessions 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 OneDrive for Business 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<OneDriveForBusinessRestoreSessionItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the properties of a oneDriveForBusinessRestoreSession object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPatchRequestInformation(body: OneDriveForBusinessRestoreSession, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* The list of OneDrive for Business restore sessions available in the tenant.
*/
export interface OneDriveForBusinessRestoreSessionItemRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const OneDriveForBusinessRestoreSessionItemRequestBuilderUriTemplate = "{+baseurl}/solutions/backupRestore/oneDriveForBusinessRestoreSessions/{oneDriveForBusinessRestoreSession%2Did}{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const OneDriveForBusinessRestoreSessionItemRequestBuilderNavigationMetadata: Record<Exclude<keyof OneDriveForBusinessRestoreSessionItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const OneDriveForBusinessRestoreSessionItemRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map