import { type TenantGovernancePolicyTemplate } 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 governancePolicyTemplates property of the microsoft.graph.tenantGovernance entity. */ export interface TenantGovernancePolicyTemplateItemRequestBuilder extends BaseRequestBuilder { /** * Delete a tenantGovernancePolicyTemplate object. You can't delete the default template or templates currently used by active relationships. * @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 * @see {@link https://learn.microsoft.com/graph/api/tenantgovernanceservices-delete-governancepolicytemplates?view=graph-rest-1.0|Find more info here} */ delete(requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Read the properties of a tenantGovernancePolicyTemplate object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/tenantgovernanceservices-governancepolicytemplate-get?view=graph-rest-1.0|Find more info here} */ get(requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Update the properties of a tenantGovernancePolicyTemplate object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/tenantgovernanceservices-governancepolicytemplate-update?view=graph-rest-1.0|Find more info here} */ patch(body: TenantGovernancePolicyTemplate, requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Delete a tenantGovernancePolicyTemplate object. You can't delete the default template or templates currently used by active relationships. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration | undefined): RequestInformation; /** * Read the properties of a tenantGovernancePolicyTemplate object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration | undefined): RequestInformation; /** * Update the properties of a tenantGovernancePolicyTemplate object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: TenantGovernancePolicyTemplate, requestConfiguration?: RequestConfiguration | undefined): RequestInformation; } /** * Read the properties of a tenantGovernancePolicyTemplate object. */ export interface TenantGovernancePolicyTemplateItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const TenantGovernancePolicyTemplateItemRequestBuilderUriTemplate = "{+baseurl}/directory/tenantGovernance/governancePolicyTemplates/{tenantGovernancePolicyTemplate%2Did}{?%24expand,%24select}"; /** * Metadata for all the requests in the request builder. */ export declare const TenantGovernancePolicyTemplateItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map