UNPKG

@microsoft/msgraph-beta-sdk-directory

Version:
71 lines 5.09 kB
import { type MutualTlsOauthConfiguration } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the mutualTlsOauthConfigurations property of the microsoft.graph.certificateAuthorityPath entity. */ export interface MutualTlsOauthConfigurationItemRequestBuilder extends BaseRequestBuilder<MutualTlsOauthConfigurationItemRequestBuilder> { /** * Delete navigation property mutualTlsOauthConfigurations 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>; /** * Get the properties and relationships of the specified mutualTlsOauthConfiguration resource. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<MutualTlsOauthConfiguration>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/mutualtlsoauthconfiguration-get?view=graph-rest-beta|Find more info here} */ get(requestConfiguration?: RequestConfiguration<MutualTlsOauthConfigurationItemRequestBuilderGetQueryParameters> | undefined): Promise<MutualTlsOauthConfiguration | undefined>; /** * Update the specified mutualTlsOauthConfiguration resource. You can only update the following two properties: displayName, certificateAuthority. To update a subset of objects in the certificateAuthorities collection, first get the complete list, make your modifications, and then repost the entire contents of the certificateAuthorities attribute list in the request body. Excluding a subset of objects removes them from the collection. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<MutualTlsOauthConfiguration>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/mutualtlsoauthconfiguration-update?view=graph-rest-beta|Find more info here} */ patch(body: MutualTlsOauthConfiguration, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<MutualTlsOauthConfiguration | undefined>; /** * Delete navigation property mutualTlsOauthConfigurations for directory * @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 the specified mutualTlsOauthConfiguration resource. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<MutualTlsOauthConfigurationItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the specified mutualTlsOauthConfiguration resource. You can only update the following two properties: displayName, certificateAuthority. To update a subset of objects in the certificateAuthorities collection, first get the complete list, make your modifications, and then repost the entire contents of the certificateAuthorities attribute list in the request body. Excluding a subset of objects removes them from the collection. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: MutualTlsOauthConfiguration, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Get the properties and relationships of the specified mutualTlsOauthConfiguration resource. */ export interface MutualTlsOauthConfigurationItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const MutualTlsOauthConfigurationItemRequestBuilderUriTemplate = "{+baseurl}/directory/certificateAuthorities/mutualTlsOauthConfigurations/{mutualTlsOauthConfiguration%2Did}{?%24expand,%24select}"; /** * Metadata for all the requests in the request builder. */ export declare const MutualTlsOauthConfigurationItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map