UNPKG

@microsoft/msgraph-beta-sdk-devicemanagement

Version:
69 lines 3.68 kB
import { type CloudPcServicePlan } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type BaseRequestBuilder, 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 CloudPcServicePlanItemRequestBuilder extends BaseRequestBuilder<CloudPcServicePlanItemRequestBuilder> { /** * Delete navigation property servicePlans 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>; /** * Cloud PC service plans. * @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 */ get(requestConfiguration?: RequestConfiguration<CloudPcServicePlanItemRequestBuilderGetQueryParameters> | undefined): Promise<CloudPcServicePlan | undefined>; /** * Update the navigation property servicePlans in 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 */ patch(body: CloudPcServicePlan, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CloudPcServicePlan | undefined>; /** * Delete navigation property servicePlans for deviceManagement * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * Cloud PC service plans. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CloudPcServicePlanItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property servicePlans 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: CloudPcServicePlan, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Cloud PC service plans. */ export interface CloudPcServicePlanItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const CloudPcServicePlanItemRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/servicePlans/{cloudPcServicePlan%2Did}{?%24expand,%24select}"; /** * Metadata for all the requests in the request builder. */ export declare const CloudPcServicePlanItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map