UNPKG

@microsoft/msgraph-beta-sdk-devicemanagement

Version:
69 lines 3.84 kB
import { type CloudPcManagedLicense } 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 managedLicenses property of the microsoft.graph.virtualEndpoint entity. */ export interface CloudPcManagedLicenseItemRequestBuilder extends BaseRequestBuilder<CloudPcManagedLicenseItemRequestBuilder> { /** * Delete navigation property managedLicenses 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>; /** * The managed licenses for Cloud PCs in the organization. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<CloudPcManagedLicense>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<CloudPcManagedLicenseItemRequestBuilderGetQueryParameters> | undefined): Promise<CloudPcManagedLicense | undefined>; /** * Update the navigation property managedLicenses in deviceManagement * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<CloudPcManagedLicense>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: CloudPcManagedLicense, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CloudPcManagedLicense | undefined>; /** * Delete navigation property managedLicenses for deviceManagement * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * The managed licenses for Cloud PCs in the organization. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CloudPcManagedLicenseItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property managedLicenses 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: CloudPcManagedLicense, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * The managed licenses for Cloud PCs in the organization. */ export interface CloudPcManagedLicenseItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const CloudPcManagedLicenseItemRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/managedLicenses/{cloudPcManagedLicense%2Did}{?%24expand,%24select}"; /** * Metadata for all the requests in the request builder. */ export declare const CloudPcManagedLicenseItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map