@microsoft/msgraph-beta-sdk-devicemanagement
Version:
DeviceManagement fluent API for Microsoft Graph
76 lines • 6.42 kB
TypeScript
import { type CloudPcExportJob } 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 exportJobs property of the microsoft.graph.cloudPcReports entity.
*/
export interface CloudPcExportJobItemRequestBuilder extends BaseRequestBuilder<CloudPcExportJobItemRequestBuilder> {
/**
* Delete navigation property exportJobs 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
* @deprecated Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
/**
* Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. The property becomes completed when the report finishes downloading in the location specified by the exportUrl property.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<CloudPcExportJob>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @deprecated Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
* @see {@link https://learn.microsoft.com/graph/api/cloudpcexportjob-get?view=graph-rest-beta|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<CloudPcExportJobItemRequestBuilderGetQueryParameters> | undefined): Promise<CloudPcExportJob | undefined>;
/**
* Update the navigation property exportJobs in deviceManagement
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<CloudPcExportJob>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @deprecated Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
patch(body: CloudPcExportJob, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CloudPcExportJob | undefined>;
/**
* Delete navigation property exportJobs for deviceManagement
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
* @deprecated Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
/**
* Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. The property becomes completed when the report finishes downloading in the location specified by the exportUrl property.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
* @deprecated Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CloudPcExportJobItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the navigation property exportJobs in deviceManagement
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
* @deprecated Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
toPatchRequestInformation(body: CloudPcExportJob, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. The property becomes completed when the report finishes downloading in the location specified by the exportUrl property.
*/
export interface CloudPcExportJobItemRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const CloudPcExportJobItemRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/reports/exportJobs/{cloudPcExportJob%2Did}{?%24expand,%24select}";
/**
* Metadata for all the requests in the request builder.
*/
export declare const CloudPcExportJobItemRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map