@microsoft/msgraph-beta-sdk-solutions
Version:
Solutions fluent API for Microsoft Graph
72 lines • 3.73 kB
TypeScript
import { type ProtectionUnitBase } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type CancelOffboardRequestBuilder } from './cancelOffboard/index.js';
import { type GraphDriveProtectionUnitRequestBuilder } from './graphDriveProtectionUnit/index.js';
import { type GraphMailboxProtectionUnitRequestBuilder } from './graphMailboxProtectionUnit/index.js';
import { type GraphSiteProtectionUnitRequestBuilder } from './graphSiteProtectionUnit/index.js';
import { type OffboardRequestBuilder } from './offboard/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the protectionUnits property of the microsoft.graph.backupRestoreRoot entity.
*/
export interface ProtectionUnitBaseItemRequestBuilder extends BaseRequestBuilder<ProtectionUnitBaseItemRequestBuilder> {
/**
* Provides operations to call the cancelOffboard method.
*/
get cancelOffboard(): CancelOffboardRequestBuilder;
/**
* Casts the previous resource to driveProtectionUnit.
*/
get graphDriveProtectionUnit(): GraphDriveProtectionUnitRequestBuilder;
/**
* Casts the previous resource to mailboxProtectionUnit.
*/
get graphMailboxProtectionUnit(): GraphMailboxProtectionUnitRequestBuilder;
/**
* Casts the previous resource to siteProtectionUnit.
*/
get graphSiteProtectionUnit(): GraphSiteProtectionUnitRequestBuilder;
/**
* Provides operations to call the offboard method.
*/
get offboard(): OffboardRequestBuilder;
/**
* Read the properties and relationships of a protectionUnitBase object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<ProtectionUnitBase>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/protectionunitbase-get?view=graph-rest-beta|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<ProtectionUnitBaseItemRequestBuilderGetQueryParameters> | undefined): Promise<ProtectionUnitBase | undefined>;
/**
* Read the properties and relationships of a protectionUnitBase object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ProtectionUnitBaseItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
}
/**
* Read the properties and relationships of a protectionUnitBase object.
*/
export interface ProtectionUnitBaseItemRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const ProtectionUnitBaseItemRequestBuilderUriTemplate = "{+baseurl}/solutions/backupRestore/protectionUnits/{protectionUnitBase%2Did}{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const ProtectionUnitBaseItemRequestBuilderNavigationMetadata: Record<Exclude<keyof ProtectionUnitBaseItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const ProtectionUnitBaseItemRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map