UNPKG

@microsoft/msgraph-beta-sdk-solutions

Version:
99 lines 7.19 kB
import { type CrossTenantMigrationJob } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type CancelRequestBuilder } from './cancel/index.js'; import { type MigrateRequestBuilder } from './migrate/index.js'; import { type ValidateRequestBuilder } from './validate/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the crossTenantMigrationJobs property of the microsoft.graph.migrationsRoot entity. */ export interface CrossTenantMigrationJobsWithDisplayNameRequestBuilder extends BaseRequestBuilder<CrossTenantMigrationJobsWithDisplayNameRequestBuilder> { /** * Provides operations to call the cancel method. * @deprecated as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 */ get cancel(): CancelRequestBuilder; /** * Provides operations to call the migrate method. * @deprecated as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 */ get migrate(): MigrateRequestBuilder; /** * Provides operations to call the validate method. * @deprecated as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 */ get validate(): ValidateRequestBuilder; /** * Delete navigation property crossTenantMigrationJobs 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 * @deprecated as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 */ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>; /** * Read the properties and relationships of crossTenantMigrationJob object. Includes details of the crossTenantMigrationJob , but not details of the individual crossTenantMigrationTasks of the crossTenantMigrationJob. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<CrossTenantMigrationJob>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @deprecated as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 * @see {@link https://learn.microsoft.com/graph/api/crosstenantmigrationjob-get?view=graph-rest-beta|Find more info here} */ get(requestConfiguration?: RequestConfiguration<CrossTenantMigrationJobsWithDisplayNameRequestBuilderGetQueryParameters> | undefined): Promise<CrossTenantMigrationJob | undefined>; /** * Update the completeAfterDateTime of a crossTenantMigrationJob object. Only updates to the completeAfterDateTime are supported. Use this function to change when the crossTenantMigrationJob starts processing. If completeAfterDateTime is set to the past, the crossTenantMigrationJob starts processing. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<CrossTenantMigrationJob>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @deprecated as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 * @see {@link https://learn.microsoft.com/graph/api/crosstenantmigrationjob-update?view=graph-rest-beta|Find more info here} */ patch(body: CrossTenantMigrationJob, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CrossTenantMigrationJob | undefined>; /** * Delete navigation property crossTenantMigrationJobs for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} * @deprecated as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * Read the properties and relationships of crossTenantMigrationJob object. Includes details of the crossTenantMigrationJob , but not details of the individual crossTenantMigrationTasks of the crossTenantMigrationJob. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} * @deprecated as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CrossTenantMigrationJobsWithDisplayNameRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the completeAfterDateTime of a crossTenantMigrationJob object. Only updates to the completeAfterDateTime are supported. Use this function to change when the crossTenantMigrationJob starts processing. If completeAfterDateTime is set to the past, the crossTenantMigrationJob starts processing. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} * @deprecated as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 */ toPatchRequestInformation(body: CrossTenantMigrationJob, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Read the properties and relationships of crossTenantMigrationJob object. Includes details of the crossTenantMigrationJob , but not details of the individual crossTenantMigrationTasks of the crossTenantMigrationJob. */ export interface CrossTenantMigrationJobsWithDisplayNameRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const CrossTenantMigrationJobsWithDisplayNameRequestBuilderUriTemplate = "{+baseurl}/solutions/migrations/crossTenantMigrationJobs(displayName='{displayName}'){?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const CrossTenantMigrationJobsWithDisplayNameRequestBuilderNavigationMetadata: Record<Exclude<keyof CrossTenantMigrationJobsWithDisplayNameRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const CrossTenantMigrationJobsWithDisplayNameRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map