UNPKG

@microsoft/msgraph-beta-sdk-admin

Version:
69 lines 3.66 kB
import { type CatalogEntry } from '@microsoft/msgraph-beta-sdk/models/windowsUpdates/index.js'; import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the entries property of the microsoft.graph.windowsUpdates.catalog entity. */ export interface CatalogEntryItemRequestBuilder extends BaseRequestBuilder<CatalogEntryItemRequestBuilder> { /** * Delete navigation property entries 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>; /** * Lists the content that you can approve for deployment. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<CatalogEntry>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<CatalogEntryItemRequestBuilderGetQueryParameters> | undefined): Promise<CatalogEntry | undefined>; /** * Update the navigation property entries in admin * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<CatalogEntry>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: CatalogEntry, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CatalogEntry | undefined>; /** * Delete navigation property entries for admin * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * Lists the content that you can approve for deployment. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CatalogEntryItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property entries 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: CatalogEntry, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Lists the content that you can approve for deployment. Read-only. */ export interface CatalogEntryItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const CatalogEntryItemRequestBuilderUriTemplate = "{+baseurl}/admin/windows/updates/catalog/entries/{catalogEntry%2Did}{?%24expand,%24select}"; /** * Metadata for all the requests in the request builder. */ export declare const CatalogEntryItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map