@microsoft/msgraph-sdk-policies
Version:
Policies fluent API for Microsoft Graph
91 lines • 5.78 kB
TypeScript
import { type AuthenticationStrengthPolicy } from '@microsoft/msgraph-sdk/models/index.js';
import { type CombinationConfigurationsRequestBuilder } from './combinationConfigurations/index.js';
import { type UpdateAllowedCombinationsRequestBuilder } from './updateAllowedCombinations/index.js';
import { type UsageRequestBuilder } from './usage/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the authenticationStrengthPolicies property of the microsoft.graph.policyRoot entity.
*/
export interface AuthenticationStrengthPolicyItemRequestBuilder extends BaseRequestBuilder<AuthenticationStrengthPolicyItemRequestBuilder> {
/**
* Provides operations to manage the combinationConfigurations property of the microsoft.graph.authenticationStrengthPolicy entity.
*/
get combinationConfigurations(): CombinationConfigurationsRequestBuilder;
/**
* Provides operations to call the updateAllowedCombinations method.
*/
get updateAllowedCombinations(): UpdateAllowedCombinationsRequestBuilder;
/**
* Provides operations to call the usage method.
*/
get usage(): UsageRequestBuilder;
/**
* Delete a custom authenticationStrengthPolicy 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/authenticationstrengthroot-delete-policies?view=graph-rest-1.0|Find more info here}
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
/**
* Read the properties and relationships of an authenticationStrengthPolicy object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<AuthenticationStrengthPolicy>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/authenticationstrengthpolicy-get?view=graph-rest-1.0|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<AuthenticationStrengthPolicyItemRequestBuilderGetQueryParameters> | undefined): Promise<AuthenticationStrengthPolicy | undefined>;
/**
* Update the properties of an authenticationStrengthPolicy object. You cannot update the allowed auth method combinations using this request. To do so, use the Update allowed combinations action.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<AuthenticationStrengthPolicy>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/authenticationstrengthpolicy-update?view=graph-rest-1.0|Find more info here}
*/
patch(body: AuthenticationStrengthPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AuthenticationStrengthPolicy | undefined>;
/**
* Delete a custom authenticationStrengthPolicy object.
* @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 authenticationStrengthPolicy object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<AuthenticationStrengthPolicyItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the properties of an authenticationStrengthPolicy object. You cannot update the allowed auth method combinations using this request. To do so, use the Update allowed combinations action.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPatchRequestInformation(body: AuthenticationStrengthPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Read the properties and relationships of an authenticationStrengthPolicy object.
*/
export interface AuthenticationStrengthPolicyItemRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const AuthenticationStrengthPolicyItemRequestBuilderUriTemplate = "{+baseurl}/policies/authenticationStrengthPolicies/{authenticationStrengthPolicy%2Did}{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const AuthenticationStrengthPolicyItemRequestBuilderNavigationMetadata: Record<Exclude<keyof AuthenticationStrengthPolicyItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const AuthenticationStrengthPolicyItemRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map