UNPKG

@microsoft/msgraph-beta-sdk-directory

Version:
78 lines 4.8 kB
import { type PublicKeyInfrastructureRoot } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type CertificateBasedAuthConfigurationsRequestBuilder } from './certificateBasedAuthConfigurations/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the publicKeyInfrastructure property of the microsoft.graph.directory entity. */ export interface PublicKeyInfrastructureRequestBuilder extends BaseRequestBuilder<PublicKeyInfrastructureRequestBuilder> { /** * Provides operations to manage the certificateBasedAuthConfigurations property of the microsoft.graph.publicKeyInfrastructureRoot entity. */ get certificateBasedAuthConfigurations(): CertificateBasedAuthConfigurationsRequestBuilder; /** * Delete navigation property publicKeyInfrastructure for directory * @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>; /** * The collection of public key infrastructure instances for the certificate-based authentication feature for users in a Microsoft Entra tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<PublicKeyInfrastructureRoot>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<PublicKeyInfrastructureRequestBuilderGetQueryParameters> | undefined): Promise<PublicKeyInfrastructureRoot | undefined>; /** * Update the navigation property publicKeyInfrastructure in directory * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<PublicKeyInfrastructureRoot>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: PublicKeyInfrastructureRoot, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PublicKeyInfrastructureRoot | undefined>; /** * Delete navigation property publicKeyInfrastructure for directory * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * The collection of public key infrastructure instances for the certificate-based authentication feature for users in a Microsoft Entra tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<PublicKeyInfrastructureRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property publicKeyInfrastructure in directory * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: PublicKeyInfrastructureRoot, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * The collection of public key infrastructure instances for the certificate-based authentication feature for users in a Microsoft Entra tenant. */ export interface PublicKeyInfrastructureRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const PublicKeyInfrastructureRequestBuilderUriTemplate = "{+baseurl}/directory/publicKeyInfrastructure{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const PublicKeyInfrastructureRequestBuilderNavigationMetadata: Record<Exclude<keyof PublicKeyInfrastructureRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const PublicKeyInfrastructureRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map