UNPKG

@microsoft/msgraph-beta-sdk-devicemanagement

Version:
78 lines 4.56 kB
import { type DeviceManagementExchangeConnector } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type SyncRequestBuilder } from './sync/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the exchangeConnectors property of the microsoft.graph.deviceManagement entity. */ export interface DeviceManagementExchangeConnectorItemRequestBuilder extends BaseRequestBuilder<DeviceManagementExchangeConnectorItemRequestBuilder> { /** * Provides operations to call the sync method. */ get sync(): SyncRequestBuilder; /** * Delete navigation property exchangeConnectors for deviceManagement * @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>; /** * The list of Exchange Connectors configured by the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<DeviceManagementExchangeConnector>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<DeviceManagementExchangeConnectorItemRequestBuilderGetQueryParameters> | undefined): Promise<DeviceManagementExchangeConnector | undefined>; /** * Update the navigation property exchangeConnectors in deviceManagement * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<DeviceManagementExchangeConnector>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: DeviceManagementExchangeConnector, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DeviceManagementExchangeConnector | undefined>; /** * Delete navigation property exchangeConnectors for deviceManagement * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * The list of Exchange Connectors configured by the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<DeviceManagementExchangeConnectorItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property exchangeConnectors in deviceManagement * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: DeviceManagementExchangeConnector, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * The list of Exchange Connectors configured by the tenant. */ export interface DeviceManagementExchangeConnectorItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const DeviceManagementExchangeConnectorItemRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/exchangeConnectors/{deviceManagementExchangeConnector%2Did}{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const DeviceManagementExchangeConnectorItemRequestBuilderNavigationMetadata: Record<Exclude<keyof DeviceManagementExchangeConnectorItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const DeviceManagementExchangeConnectorItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map