UNPKG

@microsoft/msgraph-beta-sdk-solutions

Version:
30 lines 2.41 kB
import { type SharePointMigrationTask } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to call the getBySourceSiteUrl method. */ export interface GetBySourceSiteUrlWithSourceSiteUrlRequestBuilder extends BaseRequestBuilder<GetBySourceSiteUrlWithSourceSiteUrlRequestBuilder> { /** * Get a sharePointMigrationTask that was previously created for a regular site, using the source site URL. 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-getbysourcesiteurl?view=graph-rest-beta|Find more info here} */ get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SharePointMigrationTask | undefined>; /** * Get a sharePointMigrationTask that was previously created for a regular site, using the source site URL. 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<object> | undefined): RequestInformation; } /** * Uri template for the request builder. */ export declare const GetBySourceSiteUrlWithSourceSiteUrlRequestBuilderUriTemplate = "{+baseurl}/solutions/sharePoint/migrations/crossOrganizationMigrationTasks/getBySourceSiteUrl(sourceSiteUrl='{sourceSiteUrl}')"; /** * Metadata for all the requests in the request builder. */ export declare const GetBySourceSiteUrlWithSourceSiteUrlRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map