UNPKG

@microsoft/msgraph-beta-sdk-devicemanagement

Version:
98 lines 5.2 kB
import { type CloudPcServicePlan, type CloudPcServicePlanCollectionResponse } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type CountRequestBuilder } from './count/index.js'; import { type CloudPcServicePlanItemRequestBuilder } from './item/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the servicePlans property of the microsoft.graph.virtualEndpoint entity. */ export interface ServicePlansRequestBuilder extends BaseRequestBuilder<ServicePlansRequestBuilder> { /** * Provides operations to count the resources in the collection. */ get count(): CountRequestBuilder; /** * Provides operations to manage the servicePlans property of the microsoft.graph.virtualEndpoint entity. * @param cloudPcServicePlanId The unique identifier of cloudPcServicePlan * @returns {CloudPcServicePlanItemRequestBuilder} */ byCloudPcServicePlanId(cloudPcServicePlanId: string): CloudPcServicePlanItemRequestBuilder; /** * List the currently available service plans that an organization can purchase for their Cloud PCs. For examples of currently available service plans, see Windows 365 compare plans and pricing. Currently, Microsoft Graph API is available for Windows 365 Enterprise. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<CloudPcServicePlanCollectionResponse>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/virtualendpoint-list-serviceplans?view=graph-rest-beta|Find more info here} */ get(requestConfiguration?: RequestConfiguration<ServicePlansRequestBuilderGetQueryParameters> | undefined): Promise<CloudPcServicePlanCollectionResponse | undefined>; /** * Create new navigation property to servicePlans for deviceManagement * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<CloudPcServicePlan>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ post(body: CloudPcServicePlan, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CloudPcServicePlan | undefined>; /** * List the currently available service plans that an organization can purchase for their Cloud PCs. For examples of currently available service plans, see Windows 365 compare plans and pricing. Currently, Microsoft Graph API is available for Windows 365 Enterprise. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<ServicePlansRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Create new navigation property to servicePlans for deviceManagement * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPostRequestInformation(body: CloudPcServicePlan, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * List the currently available service plans that an organization can purchase for their Cloud PCs. For examples of currently available service plans, see Windows 365 compare plans and pricing. Currently, Microsoft Graph API is available for Windows 365 Enterprise. */ export interface ServicePlansRequestBuilderGetQueryParameters { /** * Include count of items */ count?: boolean; /** * Expand related entities */ expand?: string[]; /** * Filter items by property values */ filter?: string; /** * Order items by property values */ orderby?: string[]; /** * Search items by search phrases */ search?: string; /** * Select properties to be returned */ select?: string[]; /** * Skip the first n items */ skip?: number; /** * Show only the first n items */ top?: number; } /** * Uri template for the request builder. */ export declare const ServicePlansRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/servicePlans{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const ServicePlansRequestBuilderNavigationMetadata: Record<Exclude<keyof ServicePlansRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const ServicePlansRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map