UNPKG

@microsoft/msgraph-sdk-security

Version:
42 lines 2.25 kB
import { type AuthorityTemplate } from '@microsoft/msgraph-sdk/models/security/index.js'; import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the authorityTemplate property of the microsoft.graph.security.filePlanDescriptor entity. */ export interface AuthorityTemplateRequestBuilder extends BaseRequestBuilder<AuthorityTemplateRequestBuilder> { /** * Specifies the underlying authority that describes the type of content to be retained and its retention schedule. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<AuthorityTemplate>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<AuthorityTemplateRequestBuilderGetQueryParameters> | undefined): Promise<AuthorityTemplate | undefined>; /** * Specifies the underlying authority that describes the type of content to be retained and its retention schedule. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<AuthorityTemplateRequestBuilderGetQueryParameters> | undefined): RequestInformation; } /** * Specifies the underlying authority that describes the type of content to be retained and its retention schedule. */ export interface AuthorityTemplateRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const AuthorityTemplateRequestBuilderUriTemplate = "{+baseurl}/security/labels/retentionLabels/{retentionLabel%2Did}/descriptors/authorityTemplate{?%24expand,%24select}"; /** * Metadata for all the requests in the request builder. */ export declare const AuthorityTemplateRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map