@microsoft/msgraph-sdk-security
Version:
Security fluent API for Microsoft Graph
42 lines • 1.98 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.hostCookie entity.
*/
export interface HostRequestBuilder extends BaseRequestBuilder<HostRequestBuilder> {
/**
* Indicates that a cookie of this name and domain was found related to this host.
* @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>;
/**
* Indicates that a cookie of this name and domain was found related to this host.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<HostRequestBuilderGetQueryParameters> | undefined): RequestInformation;
}
/**
* Indicates that a cookie of this name and domain was found related to this host.
*/
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/hostCookies/{hostCookie%2Did}/host{?%24expand,%24select}";
/**
* Metadata for all the requests in the request builder.
*/
export declare const HostRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map