import { type PathIndicator } from '../../../../models/deploy/index.js'; import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Builds and executes requests for operations under /Api/Deploy/Restore/{templateId} */ export interface WithTemplateItemRequestBuilder extends BaseRequestBuilder { /** * Calculates and applies a change to the deployed resource to restore original value from the entire configuration item or single property.This endpoint requires the `Deploy.ReadWrite` or `Everything.ReadWrite` scope (permission). * @param body Payload with path data used in several endpoints * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. */ patch(body: PathIndicator, requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Calculates and applies a change to the deployed resource to restore original value from the entire configuration item or single property.This endpoint requires the `Deploy.ReadWrite` or `Everything.ReadWrite` scope (permission). * @param body Payload with path data used in several endpoints * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: PathIndicator, requestConfiguration?: RequestConfiguration | undefined): RequestInformation; } /** * Uri template for the request builder. */ export declare const WithTemplateItemRequestBuilderUriTemplate = "{+baseurl}/Api/Deploy/Restore/{templateId}"; /** * Metadata for all the requests in the request builder. */ export declare const WithTemplateItemRequestBuilderRequestsMetadata: RequestsMetadata;