@microsoft/msgraph-beta-sdk-security
Version:
Security fluent API for Microsoft Graph
69 lines • 3.6 kB
TypeScript
import { type DetectionRule } from '@microsoft/msgraph-beta-sdk/models/security/index.js';
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the detectionRules property of the microsoft.graph.security.rulesRoot entity.
*/
export interface DetectionRuleItemRequestBuilder extends BaseRequestBuilder<DetectionRuleItemRequestBuilder> {
/**
* Delete navigation property detectionRules for security
* @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>;
/**
* Get detectionRules from security
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<DetectionRule>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<DetectionRuleItemRequestBuilderGetQueryParameters> | undefined): Promise<DetectionRule | undefined>;
/**
* Update the navigation property detectionRules in security
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<DetectionRule>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
patch(body: DetectionRule, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DetectionRule | undefined>;
/**
* Delete navigation property detectionRules for security
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
/**
* Get detectionRules from security
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<DetectionRuleItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the navigation property detectionRules in security
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPatchRequestInformation(body: DetectionRule, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Get detectionRules from security
*/
export interface DetectionRuleItemRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const DetectionRuleItemRequestBuilderUriTemplate = "{+baseurl}/security/rules/detectionRules/{detectionRule%2Did}{?%24expand,%24select}";
/**
* Metadata for all the requests in the request builder.
*/
export declare const DetectionRuleItemRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map