UNPKG

@microsoft/msgraph-sdk-policies

Version:
80 lines 4.92 kB
import { type AuthenticationMethodsPolicy } from '@microsoft/msgraph-sdk/models/index.js'; import { type AuthenticationMethodConfigurationsRequestBuilder } from './authenticationMethodConfigurations/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the authenticationMethodsPolicy property of the microsoft.graph.policyRoot entity. */ export interface AuthenticationMethodsPolicyRequestBuilder extends BaseRequestBuilder<AuthenticationMethodsPolicyRequestBuilder> { /** * Provides operations to manage the authenticationMethodConfigurations property of the microsoft.graph.authenticationMethodsPolicy entity. */ get authenticationMethodConfigurations(): AuthenticationMethodConfigurationsRequestBuilder; /** * Delete navigation property authenticationMethodsPolicy for policies * @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 an authenticationMethodsPolicy object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<AuthenticationMethodsPolicy>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/authenticationmethodspolicy-get?view=graph-rest-1.0|Find more info here} */ get(requestConfiguration?: RequestConfiguration<AuthenticationMethodsPolicyRequestBuilderGetQueryParameters> | undefined): Promise<AuthenticationMethodsPolicy | undefined>; /** * Update the properties of an authenticationMethodsPolicy object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<AuthenticationMethodsPolicy>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/authenticationmethodspolicy-update?view=graph-rest-1.0|Find more info here} */ patch(body: AuthenticationMethodsPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AuthenticationMethodsPolicy | undefined>; /** * Delete navigation property authenticationMethodsPolicy for policies * @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 an authenticationMethodsPolicy object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<AuthenticationMethodsPolicyRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the properties of an authenticationMethodsPolicy object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: AuthenticationMethodsPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Read the properties and relationships of an authenticationMethodsPolicy object. */ export interface AuthenticationMethodsPolicyRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const AuthenticationMethodsPolicyRequestBuilderUriTemplate = "{+baseurl}/policies/authenticationMethodsPolicy{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const AuthenticationMethodsPolicyRequestBuilderNavigationMetadata: Record<Exclude<keyof AuthenticationMethodsPolicyRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const AuthenticationMethodsPolicyRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map