UNPKG

@microsoft/msgraph-sdk-security

Version:
139 lines 7.45 kB
import { type Host } from '@microsoft/msgraph-sdk/models/security/index.js'; import { type ChildHostPairsRequestBuilder } from './childHostPairs/index.js'; import { type ComponentsRequestBuilder } from './components/index.js'; import { type CookiesRequestBuilder } from './cookies/index.js'; import { type HostPairsRequestBuilder } from './hostPairs/index.js'; import { type ParentHostPairsRequestBuilder } from './parentHostPairs/index.js'; import { type PassiveDnsRequestBuilder } from './passiveDns/index.js'; import { type PassiveDnsReverseRequestBuilder } from './passiveDnsReverse/index.js'; import { type PortsRequestBuilder } from './ports/index.js'; import { type ReputationRequestBuilder } from './reputation/index.js'; import { type SslCertificatesRequestBuilder } from './sslCertificates/index.js'; import { type SubdomainsRequestBuilder } from './subdomains/index.js'; import { type TrackersRequestBuilder } from './trackers/index.js'; import { type WhoisRequestBuilder } from './whois/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the hosts property of the microsoft.graph.security.threatIntelligence entity. */ export interface HostItemRequestBuilder extends BaseRequestBuilder<HostItemRequestBuilder> { /** * Provides operations to manage the childHostPairs property of the microsoft.graph.security.host entity. */ get childHostPairs(): ChildHostPairsRequestBuilder; /** * Provides operations to manage the components property of the microsoft.graph.security.host entity. */ get components(): ComponentsRequestBuilder; /** * Provides operations to manage the cookies property of the microsoft.graph.security.host entity. */ get cookies(): CookiesRequestBuilder; /** * Provides operations to manage the hostPairs property of the microsoft.graph.security.host entity. */ get hostPairs(): HostPairsRequestBuilder; /** * Provides operations to manage the parentHostPairs property of the microsoft.graph.security.host entity. */ get parentHostPairs(): ParentHostPairsRequestBuilder; /** * Provides operations to manage the passiveDns property of the microsoft.graph.security.host entity. */ get passiveDns(): PassiveDnsRequestBuilder; /** * Provides operations to manage the passiveDnsReverse property of the microsoft.graph.security.host entity. */ get passiveDnsReverse(): PassiveDnsReverseRequestBuilder; /** * Provides operations to manage the ports property of the microsoft.graph.security.host entity. */ get ports(): PortsRequestBuilder; /** * Provides operations to manage the reputation property of the microsoft.graph.security.host entity. */ get reputation(): ReputationRequestBuilder; /** * Provides operations to manage the sslCertificates property of the microsoft.graph.security.host entity. */ get sslCertificates(): SslCertificatesRequestBuilder; /** * Provides operations to manage the subdomains property of the microsoft.graph.security.host entity. */ get subdomains(): SubdomainsRequestBuilder; /** * Provides operations to manage the trackers property of the microsoft.graph.security.host entity. */ get trackers(): TrackersRequestBuilder; /** * Provides operations to manage the whois property of the microsoft.graph.security.host entity. */ get whois(): WhoisRequestBuilder; /** * Delete navigation property hosts 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 a host object. The host resource is the abstract base type that returns an implementation. A host can be of one of the following types: * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<Host>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/security-host-get?view=graph-rest-1.0|Find more info here} */ get(requestConfiguration?: RequestConfiguration<HostItemRequestBuilderGetQueryParameters> | undefined): Promise<Host | undefined>; /** * Update the navigation property hosts in security * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<Host>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: Host, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Host | undefined>; /** * Delete navigation property hosts 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 a host object. The host resource is the abstract base type that returns an implementation. A host can be of one of the following types: * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<HostItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property hosts 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: Host, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Read the properties and relationships of a host object. The host resource is the abstract base type that returns an implementation. A host can be of one of the following types: */ export interface HostItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const HostItemRequestBuilderUriTemplate = "{+baseurl}/security/threatIntelligence/hosts/{host%2Did}{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const HostItemRequestBuilderNavigationMetadata: Record<Exclude<keyof HostItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const HostItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map