@microsoft/msgraph-beta-sdk-devicemanagement
Version:
DeviceManagement fluent API for Microsoft Graph
43 lines • 2.33 kB
TypeScript
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to count the resources in the collection.
*/
export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
/**
* Get the number of the resource
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<number>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @deprecated The cloudPcExternalPartnerSetting is deprecated and will not be supported starting March 31, 2026. This entity will not be included in the API response. Please use externalPartners instead. as of 2025-02/cloudPcExternalPartnerSetting on 2025-02-18 and will be removed 2026-03-31
*/
get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
/**
* Get the number of the resource
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
* @deprecated The cloudPcExternalPartnerSetting is deprecated and will not be supported starting March 31, 2026. This entity will not be included in the API response. Please use externalPartners instead. as of 2025-02/cloudPcExternalPartnerSetting on 2025-02-18 and will be removed 2026-03-31
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
}
/**
* Get the number of the resource
*/
export interface CountRequestBuilderGetQueryParameters {
/**
* Filter items by property values
*/
filter?: string;
/**
* Search items by search phrases
*/
search?: string;
}
/**
* Uri template for the request builder.
*/
export declare const CountRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/externalPartnerSettings/$count{?%24filter,%24search}";
/**
* Metadata for all the requests in the request builder.
*/
export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map