UNPKG

@microsoft/msgraph-beta-sdk-solutions

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