UNPKG

@microsoft/msgraph-beta-sdk-solutions

Version:
69 lines 3.8 kB
import { type DriveProtectionRule } 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 driveInclusionRules property of the microsoft.graph.backupRestoreRoot entity. */ export interface DriveProtectionRuleItemRequestBuilder extends BaseRequestBuilder<DriveProtectionRuleItemRequestBuilder> { /** * Delete navigation property driveInclusionRules 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 */ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>; /** * The list of drive inclusion rules applied to the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<DriveProtectionRule>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<DriveProtectionRuleItemRequestBuilderGetQueryParameters> | undefined): Promise<DriveProtectionRule | undefined>; /** * Update the navigation property driveInclusionRules in solutions * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<DriveProtectionRule>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: DriveProtectionRule, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DriveProtectionRule | undefined>; /** * Delete navigation property driveInclusionRules for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * The list of drive inclusion rules applied to the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<DriveProtectionRuleItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property driveInclusionRules in solutions * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: DriveProtectionRule, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * The list of drive inclusion rules applied to the tenant. */ export interface DriveProtectionRuleItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const DriveProtectionRuleItemRequestBuilderUriTemplate = "{+baseurl}/solutions/backupRestore/driveInclusionRules/{driveProtectionRule%2Did}{?%24expand,%24select}"; /** * Metadata for all the requests in the request builder. */ export declare const DriveProtectionRuleItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map