@microsoft/msgraph-beta-sdk-devicemanagement
Version:
DeviceManagement fluent API for Microsoft Graph
70 lines • 3.91 kB
TypeScript
import { type CloudPcAuditEvent } 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 auditEvents property of the microsoft.graph.virtualEndpoint entity.
*/
export interface CloudPcAuditEventItemRequestBuilder extends BaseRequestBuilder<CloudPcAuditEventItemRequestBuilder> {
/**
* Delete navigation property auditEvents 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>;
/**
* Read the properties and relationships of a cloudPcAuditEvent object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<CloudPcAuditEvent>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/cloudpcauditevent-get?view=graph-rest-beta|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<CloudPcAuditEventItemRequestBuilderGetQueryParameters> | undefined): Promise<CloudPcAuditEvent | undefined>;
/**
* Update the navigation property auditEvents in deviceManagement
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<CloudPcAuditEvent>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
patch(body: CloudPcAuditEvent, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CloudPcAuditEvent | undefined>;
/**
* Delete navigation property auditEvents for deviceManagement
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
/**
* Read the properties and relationships of a cloudPcAuditEvent object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CloudPcAuditEventItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the navigation property auditEvents 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: CloudPcAuditEvent, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Read the properties and relationships of a cloudPcAuditEvent object.
*/
export interface CloudPcAuditEventItemRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const CloudPcAuditEventItemRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/auditEvents/{cloudPcAuditEvent%2Did}{?%24expand,%24select}";
/**
* Metadata for all the requests in the request builder.
*/
export declare const CloudPcAuditEventItemRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map