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