UNPKG

@microsoft/msgraph-beta-sdk-admin

Version:
95 lines 5.26 kB
import { type Product } from '@microsoft/msgraph-beta-sdk/models/windowsUpdates/index.js'; import { type EditionsRequestBuilder } from './editions/index.js'; import { type KnownIssuesRequestBuilder } from './knownIssues/index.js'; import { type MicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveRequestBuilder } from './microsoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActive/index.js'; import { type RevisionsRequestBuilder } from './revisions/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the products property of the microsoft.graph.adminWindowsUpdates entity. */ export interface ProductItemRequestBuilder extends BaseRequestBuilder<ProductItemRequestBuilder> { /** * Provides operations to manage the editions property of the microsoft.graph.windowsUpdates.product entity. */ get editions(): EditionsRequestBuilder; /** * Provides operations to manage the knownIssues property of the microsoft.graph.windowsUpdates.product entity. */ get knownIssues(): KnownIssuesRequestBuilder; /** * Provides operations to manage the revisions property of the microsoft.graph.windowsUpdates.product entity. */ get revisions(): RevisionsRequestBuilder; /** * Delete navigation property products for admin * @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>; /** * A collection of Windows products. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<Product>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<ProductItemRequestBuilderGetQueryParameters> | undefined): Promise<Product | undefined>; /** * Provides operations to call the getKnownIssuesByTimeRange method. * @param daysInPast Usage: daysInPast={daysInPast} * @returns {MicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveRequestBuilder} */ microsoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActive(daysInPast: number | undefined): MicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveRequestBuilder; /** * Update the navigation property products in admin * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<Product>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: Product, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Product | undefined>; /** * Delete navigation property products for admin * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * A collection of Windows products. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<ProductItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property products in admin * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: Product, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * A collection of Windows products. */ export interface ProductItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const ProductItemRequestBuilderUriTemplate = "{+baseurl}/admin/windows/updates/products/{product%2Did}{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const ProductItemRequestBuilderNavigationMetadata: Record<Exclude<keyof ProductItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const ProductItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map