@microsoft/msgraph-sdk-security
Version:
Security fluent API for Microsoft Graph
42 lines • 2.27 kB
TypeScript
import { type User } 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 approvers property of the microsoft.graph.subjectRightsRequest entity.
*/
export interface ApproversWithUserPrincipalNameRequestBuilder extends BaseRequestBuilder<ApproversWithUserPrincipalNameRequestBuilder> {
/**
* Collection of users who can approve the request. Currently only supported for requests of type delete.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<User>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<ApproversWithUserPrincipalNameRequestBuilderGetQueryParameters> | undefined): Promise<User | undefined>;
/**
* Collection of users who can approve the request. Currently only supported for requests of type delete.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ApproversWithUserPrincipalNameRequestBuilderGetQueryParameters> | undefined): RequestInformation;
}
/**
* Collection of users who can approve the request. Currently only supported for requests of type delete.
*/
export interface ApproversWithUserPrincipalNameRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const ApproversWithUserPrincipalNameRequestBuilderUriTemplate = "{+baseurl}/security/subjectRightsRequests/{subjectRightsRequest%2Did}/approvers(userPrincipalName='{userPrincipalName}'){?%24expand,%24select}";
/**
* Metadata for all the requests in the request builder.
*/
export declare const ApproversWithUserPrincipalNameRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map