UNPKG

@microsoft/msgraph-beta-sdk-external

Version:
70 lines 3.77 kB
import { type ConnectionQuota } from '@microsoft/msgraph-beta-sdk/models/externalConnectors/index.js'; import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the quota property of the microsoft.graph.externalConnectors.externalConnection entity. */ export interface QuotaRequestBuilder extends BaseRequestBuilder<QuotaRequestBuilder> { /** * Delete navigation property quota for external * @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>; /** * Retrieve the properties and relationships of a connectionQuota object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<ConnectionQuota>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/externalconnectors-connectionquota-get?view=graph-rest-beta|Find more info here} */ get(requestConfiguration?: RequestConfiguration<QuotaRequestBuilderGetQueryParameters> | undefined): Promise<ConnectionQuota | undefined>; /** * Update the navigation property quota in external * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<ConnectionQuota>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: ConnectionQuota, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ConnectionQuota | undefined>; /** * Delete navigation property quota for external * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * Retrieve the properties and relationships of a connectionQuota object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<QuotaRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property quota in external * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: ConnectionQuota, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Retrieve the properties and relationships of a connectionQuota object. */ export interface QuotaRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const QuotaRequestBuilderUriTemplate = "{+baseurl}/external/connections/{externalConnection%2Did}/quota{?%24expand,%24select}"; /** * Metadata for all the requests in the request builder. */ export declare const QuotaRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map