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