@microsoft/msgraph-beta-sdk-solutions
Version:
Solutions fluent API for Microsoft Graph
93 lines • 5.66 kB
TypeScript
import { type MigrationsRoot } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type CrossTenantMigrationJobsRequestBuilder } from './crossTenantMigrationJobs/index.js';
import { type CrossTenantMigrationJobsWithDisplayNameRequestBuilder } from './crossTenantMigrationJobsWithDisplayName/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the migrations property of the microsoft.graph.solutionsRoot entity.
*/
export interface MigrationsRequestBuilder extends BaseRequestBuilder<MigrationsRequestBuilder> {
/**
* Provides operations to manage the crossTenantMigrationJobs property of the microsoft.graph.migrationsRoot entity.
* @deprecated as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09
*/
get crossTenantMigrationJobs(): CrossTenantMigrationJobsRequestBuilder;
/**
* Provides operations to manage the crossTenantMigrationJobs property of the microsoft.graph.migrationsRoot entity.
* @param displayName Alternate key of crossTenantMigrationJob
* @returns {CrossTenantMigrationJobsWithDisplayNameRequestBuilder}
* @deprecated as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09
*/
crossTenantMigrationJobsWithDisplayName(displayName: string | undefined): CrossTenantMigrationJobsWithDisplayNameRequestBuilder;
/**
* Delete navigation property migrations 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>;
/**
* Get migrations from solutions
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<MigrationsRoot>}
* @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
*/
get(requestConfiguration?: RequestConfiguration<MigrationsRequestBuilderGetQueryParameters> | undefined): Promise<MigrationsRoot | undefined>;
/**
* Update the navigation property migrations in solutions
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<MigrationsRoot>}
* @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
*/
patch(body: MigrationsRoot, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<MigrationsRoot | undefined>;
/**
* Delete navigation property migrations 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;
/**
* Get migrations from 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
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<MigrationsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the navigation property migrations in solutions
* @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: MigrationsRoot, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Get migrations from solutions
*/
export interface MigrationsRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const MigrationsRequestBuilderUriTemplate = "{+baseurl}/solutions/migrations{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const MigrationsRequestBuilderNavigationMetadata: Record<Exclude<keyof MigrationsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const MigrationsRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map