UNPKG

@microsoft/msgraph-beta-sdk-admin

Version:
91 lines 5.09 kB
import { type BrowserSiteList } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type PublishRequestBuilder } from './publish/index.js'; import { type SharedCookiesRequestBuilder } from './sharedCookies/index.js'; import { type SitesRequestBuilder } from './sites/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the siteLists property of the microsoft.graph.internetExplorerMode entity. */ export interface BrowserSiteListItemRequestBuilder extends BaseRequestBuilder<BrowserSiteListItemRequestBuilder> { /** * Provides operations to call the publish method. */ get publish(): PublishRequestBuilder; /** * Provides operations to manage the sharedCookies property of the microsoft.graph.browserSiteList entity. */ get sharedCookies(): SharedCookiesRequestBuilder; /** * Provides operations to manage the sites property of the microsoft.graph.browserSiteList entity. */ get sites(): SitesRequestBuilder; /** * Delete a browserSiteList object. * @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 * @see {@link https://learn.microsoft.com/graph/api/internetexplorermode-delete-sitelists?view=graph-rest-beta|Find more info here} */ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>; /** * Get a browserSiteList that contains browserSite and browserSharedCookie resources. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<BrowserSiteList>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/browsersitelist-get?view=graph-rest-beta|Find more info here} */ get(requestConfiguration?: RequestConfiguration<BrowserSiteListItemRequestBuilderGetQueryParameters> | undefined): Promise<BrowserSiteList | undefined>; /** * Update the properties of a browserSiteList object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<BrowserSiteList>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/browsersitelist-update?view=graph-rest-beta|Find more info here} */ patch(body: BrowserSiteList, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<BrowserSiteList | undefined>; /** * Delete a browserSiteList object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * Get a browserSiteList that contains browserSite and browserSharedCookie resources. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<BrowserSiteListItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the properties of a browserSiteList object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: BrowserSiteList, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Get a browserSiteList that contains browserSite and browserSharedCookie resources. */ export interface BrowserSiteListItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const BrowserSiteListItemRequestBuilderUriTemplate = "{+baseurl}/admin/edge/internetExplorerMode/siteLists/{browserSiteList%2Did}{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const BrowserSiteListItemRequestBuilderNavigationMetadata: Record<Exclude<keyof BrowserSiteListItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const BrowserSiteListItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map