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 {Errors} */ export declare function createErrorsFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record void>); /** * The deserialization information for the current model * @param Errors The instance to deserialize into. * @returns {Record void>} */ export declare function deserializeIntoErrors(errors?: Partial | undefined): Record void>; export interface Errors extends AdditionalDataHolder, Parsable { /** * Text with the details of the deployment failure. */ message?: string | null; /** * Internal reference identifier of the configuration item that encountered the deployment error. */ templateId?: Guid | null; } /** * Builds and executes requests for operations under /Api/Deploy/Errors */ export interface ErrorsRequestBuilder extends BaseRequestBuilder { /** * Returns the current collection of asynchronous deployment errors captured by the deploy engine. Each record identifies the configuration item template and the associated error message.This endpoint requires the `Deploy.Read`, `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; /** * Returns the current collection of asynchronous deployment errors captured by the deploy engine. Each record identifies the configuration item template and the associated error message.This endpoint requires the `Deploy.Read`, `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; } /** * Serializes information the current object * @param Errors The instance to serialize from. * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type. * @param writer Serialization writer to use to serialize this model */ export declare function serializeErrors(writer: SerializationWriter, errors?: Partial | undefined | null, isSerializingDerivedType?: boolean): void; /** * Uri template for the request builder. */ export declare const ErrorsRequestBuilderUriTemplate = "{+baseurl}/Api/Deploy/Errors"; /** * Metadata for all the requests in the request builder. */ export declare const ErrorsRequestBuilderRequestsMetadata: RequestsMetadata;