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