UNPKG

@microsoft/msgraph-beta-sdk-directory

Version:
30 lines 2.1 kB
import { type ImpactedResource } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to call the reactivate method. */ export interface ReactivateRequestBuilder extends BaseRequestBuilder<ReactivateRequestBuilder> { /** * Reactivate an accidentally dismissed, completed, or postponed impactedResource object. This action updates the status of the resource to active. This method is relevant only if the status of the impactedResource object is dismissed, postponed, or completedByUser. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<ImpactedResource>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/impactedresource-reactivate?view=graph-rest-beta|Find more info here} */ post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ImpactedResource | undefined>; /** * Reactivate an accidentally dismissed, completed, or postponed impactedResource object. This action updates the status of the resource to active. This method is relevant only if the status of the impactedResource object is dismissed, postponed, or completedByUser. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Uri template for the request builder. */ export declare const ReactivateRequestBuilderUriTemplate = "{+baseurl}/directory/impactedResources/{impactedResource%2Did}/reactivate"; /** * Metadata for all the requests in the request builder. */ export declare const ReactivateRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map