@microsoft/msgraph-sdk-security
Version:
Security fluent API for Microsoft Graph
79 lines • 4.49 kB
TypeScript
import { type ArticleIndicator } from '@microsoft/msgraph-sdk/models/security/index.js';
import { type ArtifactRequestBuilder } from './artifact/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the articleIndicators property of the microsoft.graph.security.threatIntelligence entity.
*/
export interface ArticleIndicatorItemRequestBuilder extends BaseRequestBuilder<ArticleIndicatorItemRequestBuilder> {
/**
* Provides operations to manage the artifact property of the microsoft.graph.security.indicator entity.
*/
get artifact(): ArtifactRequestBuilder;
/**
* Delete navigation property articleIndicators 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>;
/**
* Read the properties and relationships of an articleIndicator object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<ArticleIndicator>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/security-articleindicator-get?view=graph-rest-1.0|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<ArticleIndicatorItemRequestBuilderGetQueryParameters> | undefined): Promise<ArticleIndicator | undefined>;
/**
* Update the navigation property articleIndicators in security
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<ArticleIndicator>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
patch(body: ArticleIndicator, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArticleIndicator | undefined>;
/**
* Delete navigation property articleIndicators for security
* @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 an articleIndicator object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ArticleIndicatorItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the navigation property articleIndicators 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: ArticleIndicator, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Read the properties and relationships of an articleIndicator object.
*/
export interface ArticleIndicatorItemRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const ArticleIndicatorItemRequestBuilderUriTemplate = "{+baseurl}/security/threatIntelligence/articleIndicators/{articleIndicator%2Did}{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const ArticleIndicatorItemRequestBuilderNavigationMetadata: Record<Exclude<keyof ArticleIndicatorItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const ArticleIndicatorItemRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map