import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to call the enableRelatedTenants method. */ export interface EnableRelatedTenantsRequestBuilder extends BaseRequestBuilder { /** * Enable the related tenants feature for tenant discovery. After calling this action, the isRelatedTenantsEnabled property of tenantGovernanceSetting is set to true, which allows the use of related tenant APIs. * @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-tenantgovernancesetting-enablerelatedtenants?view=graph-rest-1.0|Find more info here} */ post(requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Enable the related tenants feature for tenant discovery. After calling this action, the isRelatedTenantsEnabled property of tenantGovernanceSetting is set to true, which allows the use of related tenant APIs. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPostRequestInformation(requestConfiguration?: RequestConfiguration | undefined): RequestInformation; } /** * Uri template for the request builder. */ export declare const EnableRelatedTenantsRequestBuilderUriTemplate = "{+baseurl}/directory/tenantGovernance/settings/enableRelatedTenants"; /** * Metadata for all the requests in the request builder. */ export declare const EnableRelatedTenantsRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map