UNPKG

@microsoft/msgraph-beta-sdk-security

Version:
75 lines 5.06 kB
import { type UserSecurityProfile } 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 userSecurityProfiles property of the microsoft.graph.security entity. */ export interface UserSecurityProfileItemRequestBuilder extends BaseRequestBuilder<UserSecurityProfileItemRequestBuilder> { /** * Delete navigation property userSecurityProfiles for security * @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 * @deprecated The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10 */ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>; /** * Get userSecurityProfiles from security * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<UserSecurityProfile>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @deprecated The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10 */ get(requestConfiguration?: RequestConfiguration<UserSecurityProfileItemRequestBuilderGetQueryParameters> | undefined): Promise<UserSecurityProfile | undefined>; /** * Update the navigation property userSecurityProfiles in security * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<UserSecurityProfile>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @deprecated The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10 */ patch(body: UserSecurityProfile, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<UserSecurityProfile | undefined>; /** * Delete navigation property userSecurityProfiles for security * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} * @deprecated The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10 */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * Get userSecurityProfiles from security * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} * @deprecated The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10 */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<UserSecurityProfileItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property userSecurityProfiles in security * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} * @deprecated The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10 */ toPatchRequestInformation(body: UserSecurityProfile, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Get userSecurityProfiles from security */ export interface UserSecurityProfileItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const UserSecurityProfileItemRequestBuilderUriTemplate = "{+baseurl}/security/userSecurityProfiles/{userSecurityProfile%2Did}{?%24expand,%24select}"; /** * Metadata for all the requests in the request builder. */ export declare const UserSecurityProfileItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map