UNPKG

@microsoft/msgraph-sdk-security

Version:
43 lines 2.52 kB
import { type WhoisRecord } from '@microsoft/msgraph-sdk/models/security/index.js'; import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the whois property of the microsoft.graph.security.host entity. */ export interface WhoisRequestBuilder extends BaseRequestBuilder<WhoisRequestBuilder> { /** * Get the specified whoisRecord resource. Specify the desired whoisRecord in one of the following two ways:- Identify a host and get its current whoisRecord. - Specify an id value to get the corresponding whoisRecord. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<WhoisRecord>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/security-whoisrecord-get?view=graph-rest-1.0|Find more info here} */ get(requestConfiguration?: RequestConfiguration<WhoisRequestBuilderGetQueryParameters> | undefined): Promise<WhoisRecord | undefined>; /** * Get the specified whoisRecord resource. Specify the desired whoisRecord in one of the following two ways:- Identify a host and get its current whoisRecord. - Specify an id value to get the corresponding whoisRecord. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<WhoisRequestBuilderGetQueryParameters> | undefined): RequestInformation; } /** * Get the specified whoisRecord resource. Specify the desired whoisRecord in one of the following two ways:- Identify a host and get its current whoisRecord. - Specify an id value to get the corresponding whoisRecord. */ export interface WhoisRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const WhoisRequestBuilderUriTemplate = "{+baseurl}/security/threatIntelligence/hosts/{host%2Did}/whois{?%24expand,%24select}"; /** * Metadata for all the requests in the request builder. */ export declare const WhoisRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map