@microsoft/msgraph-beta-sdk-solutions
Version:
Solutions fluent API for Microsoft Graph
79 lines • 5.3 kB
TypeScript
import { type SharePointMigrationTask } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type CancelRequestBuilder } from './cancel/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the crossOrganizationMigrationTasks property of the microsoft.graph.sharePointMigrationsRoot entity.
*/
export interface SharePointMigrationTaskItemRequestBuilder extends BaseRequestBuilder<SharePointMigrationTaskItemRequestBuilder> {
/**
* Provides operations to call the cancel method.
*/
get cancel(): CancelRequestBuilder;
/**
* Delete navigation property crossOrganizationMigrationTasks 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>;
/**
* Get a sharePointMigrationTask that was previously created, using the task ID. The returned sharePointMigrationTask object includes the source and target site URLs, migration status, optional timestamps (startedDateTime and finishedDateTime), and error details about issues during processing.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<SharePointMigrationTask>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/sharepointmigrationtask-get?view=graph-rest-beta|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<SharePointMigrationTaskItemRequestBuilderGetQueryParameters> | undefined): Promise<SharePointMigrationTask | undefined>;
/**
* Update the navigation property crossOrganizationMigrationTasks in solutions
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<SharePointMigrationTask>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
patch(body: SharePointMigrationTask, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SharePointMigrationTask | undefined>;
/**
* Delete navigation property crossOrganizationMigrationTasks for solutions
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
/**
* Get a sharePointMigrationTask that was previously created, using the task ID. The returned sharePointMigrationTask object includes the source and target site URLs, migration status, optional timestamps (startedDateTime and finishedDateTime), and error details about issues during processing.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<SharePointMigrationTaskItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the navigation property crossOrganizationMigrationTasks 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: SharePointMigrationTask, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Get a sharePointMigrationTask that was previously created, using the task ID. The returned sharePointMigrationTask object includes the source and target site URLs, migration status, optional timestamps (startedDateTime and finishedDateTime), and error details about issues during processing.
*/
export interface SharePointMigrationTaskItemRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const SharePointMigrationTaskItemRequestBuilderUriTemplate = "{+baseurl}/solutions/sharePoint/migrations/crossOrganizationMigrationTasks/{sharePointMigrationTask%2Did}{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const SharePointMigrationTaskItemRequestBuilderNavigationMetadata: Record<Exclude<keyof SharePointMigrationTaskItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const SharePointMigrationTaskItemRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map