UNPKG

@microsoft/msgraph-sdk-security

Version:
71 lines 4.39 kB
import { type SecureScoreControlProfile } from '@microsoft/msgraph-sdk/models/index.js'; import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the secureScoreControlProfiles property of the microsoft.graph.security entity. */ export interface SecureScoreControlProfileItemRequestBuilder extends BaseRequestBuilder<SecureScoreControlProfileItemRequestBuilder> { /** * Delete navigation property secureScoreControlProfiles 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 */ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>; /** * Retrieve the properties and relationships of an securescorecontrolprofile object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<SecureScoreControlProfile>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/securescorecontrolprofile-get?view=graph-rest-1.0|Find more info here} */ get(requestConfiguration?: RequestConfiguration<SecureScoreControlProfileItemRequestBuilderGetQueryParameters> | undefined): Promise<SecureScoreControlProfile | undefined>; /** * Update an editable secureScoreControlProfile object within any integrated solution to change various properties, such as assignedTo or tenantNote. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<SecureScoreControlProfile>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/securescorecontrolprofile-update?view=graph-rest-1.0|Find more info here} */ patch(body: SecureScoreControlProfile, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SecureScoreControlProfile | undefined>; /** * Delete navigation property secureScoreControlProfiles for security * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * Retrieve the properties and relationships of an securescorecontrolprofile object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<SecureScoreControlProfileItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update an editable secureScoreControlProfile object within any integrated solution to change various properties, such as assignedTo or tenantNote. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: SecureScoreControlProfile, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Retrieve the properties and relationships of an securescorecontrolprofile object. */ export interface SecureScoreControlProfileItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const SecureScoreControlProfileItemRequestBuilderUriTemplate = "{+baseurl}/security/secureScoreControlProfiles/{secureScoreControlProfile%2Did}{?%24expand,%24select}"; /** * Metadata for all the requests in the request builder. */ export declare const SecureScoreControlProfileItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map