UNPKG

@microsoft/msgraph-beta-sdk-directory

Version:
70 lines 4.13 kB
import { type IdentityProviderBase } 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 federationConfigurations property of the microsoft.graph.directory entity. */ export interface IdentityProviderBaseItemRequestBuilder extends BaseRequestBuilder<IdentityProviderBaseItemRequestBuilder> { /** * Delete a samlOrWsFedExternalDomainFederation object. * @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 * @see {@link https://learn.microsoft.com/graph/api/samlorwsfedexternaldomainfederation-delete?view=graph-rest-beta|Find more info here} */ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>; /** * Configure domain federation with organizations whose identity provider (IdP) supports either the SAML or WS-Fed protocol. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<IdentityProviderBase>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<IdentityProviderBaseItemRequestBuilderGetQueryParameters> | undefined): Promise<IdentityProviderBase | undefined>; /** * Update the navigation property federationConfigurations in directory * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<IdentityProviderBase>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: IdentityProviderBase, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<IdentityProviderBase | undefined>; /** * Delete a samlOrWsFedExternalDomainFederation object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * Configure domain federation with organizations whose identity provider (IdP) supports either the SAML or WS-Fed protocol. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<IdentityProviderBaseItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property federationConfigurations 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: IdentityProviderBase, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Configure domain federation with organizations whose identity provider (IdP) supports either the SAML or WS-Fed protocol. */ export interface IdentityProviderBaseItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const IdentityProviderBaseItemRequestBuilderUriTemplate = "{+baseurl}/directory/federationConfigurations/{identityProviderBase%2Did}{?%24expand,%24select}"; /** * Metadata for all the requests in the request builder. */ export declare const IdentityProviderBaseItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map