import { type RemediationResponse } from '../../../models/deploy/index.js'; import { type AdditionalDataHolder, type BaseRequestBuilder, type Guid, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions'; /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {RemediatePostRequestBody} */ export declare function createRemediatePostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record void>); /** * The deserialization information for the current model * @param RemediatePostRequestBody The instance to deserialize into. * @returns {Record void>} */ export declare function deserializeIntoRemediatePostRequestBody(remediatePostRequestBody?: Partial | undefined): Record void>; export interface RemediatePostRequestBody extends AdditionalDataHolder, Parsable { /** * Flag that indicates the end user has consented to remediation steps (`true`) or not (`false`). */ remediationConsent?: boolean | null; /** * List of templateIds that indicate configuration items to be applied as part of remediation. */ templateList?: Guid[] | null; } /** * Builds and executes requests for operations under /Api/Deploy/Remediate */ export interface RemediateRequestBuilder extends BaseRequestBuilder { /** * Returns results of the performed remediation action including any errors that occurred as well as mapping of templateId/name for the created resources.This endpoint requires the `Deploy.Read`, or `Deploy.ReadWrite`, or the `Everything.ReadWrite` scope (permission). * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} */ get(requestConfiguration?: RequestConfiguration | undefined): Promise; /** * After the user consents, perform necessary steps to deploy resources to cover the security gap.This endpoint requires the `Deploy.ReadWrite`, or the `Everything.ReadWrite` scope (permission). * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. */ post(body: RemediatePostRequestBody, requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Returns results of the performed remediation action including any errors that occurred as well as mapping of templateId/name for the created resources.This endpoint requires the `Deploy.Read`, or `Deploy.ReadWrite`, or the `Everything.ReadWrite` scope (permission). * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration | undefined): RequestInformation; /** * After the user consents, perform necessary steps to deploy resources to cover the security gap.This endpoint requires the `Deploy.ReadWrite`, or the `Everything.ReadWrite` scope (permission). * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPostRequestInformation(body: RemediatePostRequestBody, requestConfiguration?: RequestConfiguration | undefined): RequestInformation; } /** * Serializes information the current object * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type. * @param RemediatePostRequestBody The instance to serialize from. * @param writer Serialization writer to use to serialize this model */ export declare function serializeRemediatePostRequestBody(writer: SerializationWriter, remediatePostRequestBody?: Partial | undefined | null, isSerializingDerivedType?: boolean): void; /** * Uri template for the request builder. */ export declare const RemediateRequestBuilderUriTemplate = "{+baseurl}/Api/Deploy/Remediate"; /** * Metadata for all the requests in the request builder. */ export declare const RemediateRequestBuilderRequestsMetadata: RequestsMetadata;