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