@microsoft/msgraph-beta-sdk-solutions
Version:
Solutions fluent API for Microsoft Graph
42 lines • 2.1 kB
TypeScript
import { type ProtectionUnitBase } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the protectionUnit property of the microsoft.graph.restorePoint entity.
*/
export interface ProtectionUnitRequestBuilder extends BaseRequestBuilder<ProtectionUnitRequestBuilder> {
/**
* The site, drive, or mailbox units that are protected under a protection policy.
* @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
*/
get(requestConfiguration?: RequestConfiguration<ProtectionUnitRequestBuilderGetQueryParameters> | undefined): Promise<ProtectionUnitBase | undefined>;
/**
* The site, drive, or mailbox units that are protected under a protection policy.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ProtectionUnitRequestBuilderGetQueryParameters> | undefined): RequestInformation;
}
/**
* The site, drive, or mailbox units that are protected under a protection policy.
*/
export interface ProtectionUnitRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const ProtectionUnitRequestBuilderUriTemplate = "{+baseurl}/solutions/backupRestore/restorePoints/{restorePoint%2Did}/protectionUnit{?%24expand,%24select}";
/**
* Metadata for all the requests in the request builder.
*/
export declare const ProtectionUnitRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map