@microsoft/msgraph-sdk-security
Version:
Security fluent API for Microsoft Graph
42 lines • 2.25 kB
TypeScript
import { type Host } 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 host property of the microsoft.graph.security.hostComponent entity.
*/
export interface HostRequestBuilder extends BaseRequestBuilder<HostRequestBuilder> {
/**
* The host related to this component. This is a reverse navigation property. When navigating to components from a host, this should be assumed to be a return reference.
* @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
*/
get(requestConfiguration?: RequestConfiguration<HostRequestBuilderGetQueryParameters> | undefined): Promise<Host | undefined>;
/**
* The host related to this component. This is a reverse navigation property. When navigating to components from a host, this should be assumed to be a return reference.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<HostRequestBuilderGetQueryParameters> | undefined): RequestInformation;
}
/**
* The host related to this component. This is a reverse navigation property. When navigating to components from a host, this should be assumed to be a return reference.
*/
export interface HostRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const HostRequestBuilderUriTemplate = "{+baseurl}/security/threatIntelligence/hostComponents/{hostComponent%2Did}/host{?%24expand,%24select}";
/**
* Metadata for all the requests in the request builder.
*/
export declare const HostRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map