UNPKG

@microsoft/msgraph-beta-sdk-security

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