UNPKG

@microsoft/msgraph-beta-sdk-admin

Version:
94 lines 5.32 kB
import { type BaseCollectionPaginationCountResponse } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type KnownIssue } from '@microsoft/msgraph-beta-sdk/models/windowsUpdates/index.js'; import { type BaseRequestBuilder, 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 {GetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveGetResponse} */ export declare function createGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveGetResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>); /** * The deserialization information for the current model * @returns {Record<string, (node: ParseNode) => void>} */ export declare function deserializeIntoGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveGetResponse(getKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveGetResponse?: Partial<GetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveGetResponse> | undefined): Record<string, (node: ParseNode) => void>; export interface GetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveGetResponse extends BaseCollectionPaginationCountResponse, Parsable { /** * The value property */ value?: KnownIssue[] | null; } /** * Provides operations to call the getKnownIssuesByTimeRange method. */ export interface MicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveRequestBuilder extends BaseRequestBuilder<MicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveRequestBuilder> { /** * Get known issues related to a particular product based on a specified timeframe in the past. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<GetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveGetResponse>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/windowsupdates-product-getknownissuesbytimerange?view=graph-rest-beta|Find more info here} */ get(requestConfiguration?: RequestConfiguration<MicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveRequestBuilderGetQueryParameters> | undefined): Promise<GetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveGetResponse | undefined>; /** * Get known issues related to a particular product based on a specified timeframe in the past. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<MicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveRequestBuilderGetQueryParameters> | undefined): RequestInformation; } /** * Get known issues related to a particular product based on a specified timeframe in the past. */ export interface MicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveRequestBuilderGetQueryParameters { /** * Include count of items */ count?: boolean; /** * Expand related entities */ expand?: string[]; /** * Filter items by property values */ filter?: string; /** * Usage: includeAllActive=@includeAllActive */ includeAllActive?: boolean; /** * Order items by property values */ orderby?: string[]; /** * Search items by search phrases */ search?: string; /** * Select properties to be returned */ select?: string[]; /** * Skip the first n items */ skip?: number; /** * Show only the first n items */ top?: number; } /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model */ export declare function serializeGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveGetResponse(writer: SerializationWriter, getKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveGetResponse?: Partial<GetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveGetResponse> | undefined | null): void; /** * Uri template for the request builder. */ export declare const MicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveRequestBuilderUriTemplate = "{+baseurl}/admin/windows/updates/products/{product%2Did}/microsoft.graph.windowsUpdates.getKnownIssuesByTimeRange(daysInPast={daysInPast},includeAllActive=@includeAllActive){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,includeAllActive*}"; /** * Metadata for all the requests in the request builder. */ export declare const MicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map