@microsoft/msgraph-beta-sdk-admin
Version:
Admin fluent API for Microsoft Graph
88 lines • 5.12 kB
TypeScript
import { type SharePointReportSettings } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type ApiUsageReportMetricsRequestBuilder } from './apiUsageReportMetrics/index.js';
import { type DisableApiUsageReportRequestBuilder } from './disableApiUsageReport/index.js';
import { type EnableApiUsageReportRequestBuilder } from './enableApiUsageReport/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the sharePoint property of the microsoft.graph.adminReportSettings entity.
*/
export interface SharePointRequestBuilder extends BaseRequestBuilder<SharePointRequestBuilder> {
/**
* Provides operations to manage the apiUsageReportMetrics property of the microsoft.graph.sharePointReportSettings entity.
*/
get apiUsageReportMetrics(): ApiUsageReportMetricsRequestBuilder;
/**
* Provides operations to call the disableApiUsageReport method.
*/
get disableApiUsageReport(): DisableApiUsageReportRequestBuilder;
/**
* Provides operations to call the enableApiUsageReport method.
*/
get enableApiUsageReport(): EnableApiUsageReportRequestBuilder;
/**
* Delete navigation property sharePoint 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 container for SharePoint-specific report settings. Access the SharePoint API usage report metrics through the operations defined on the sharePointReportSettings resource type.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<SharePointReportSettings>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<SharePointRequestBuilderGetQueryParameters> | undefined): Promise<SharePointReportSettings | undefined>;
/**
* Update the navigation property sharePoint in admin
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<SharePointReportSettings>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
patch(body: SharePointReportSettings, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SharePointReportSettings | undefined>;
/**
* Delete navigation property sharePoint 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 container for SharePoint-specific report settings. Access the SharePoint API usage report metrics through the operations defined on the sharePointReportSettings resource type.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<SharePointRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the navigation property sharePoint 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: SharePointReportSettings, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* A container for SharePoint-specific report settings. Access the SharePoint API usage report metrics through the operations defined on the sharePointReportSettings resource type.
*/
export interface SharePointRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const SharePointRequestBuilderUriTemplate = "{+baseurl}/admin/reportSettings/sharePoint{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const SharePointRequestBuilderNavigationMetadata: Record<Exclude<keyof SharePointRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const SharePointRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map