import { type RelatedTenant } from '@microsoft/msgraph-sdk/models/index.js'; import { type AppB2BSignInActivityMetricsRequestBuilder } from './appB2BSignInActivityMetrics/index.js'; import { type B2BRegistrationMetricsRequestBuilder } from './b2BRegistrationMetrics/index.js'; import { type B2BSignInActivityMetricsRequestBuilder } from './b2BSignInActivityMetrics/index.js'; import { type BillingMetricsRequestBuilder } from './billingMetrics/index.js'; import { type MultiTenantApplicationMetricsRequestBuilder } from './multiTenantApplicationMetrics/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the relatedTenants property of the microsoft.graph.tenantGovernance entity. */ export interface RelatedTenantItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the appB2BSignInActivityMetrics property of the microsoft.graph.relatedTenant entity. */ get appB2BSignInActivityMetrics(): AppB2BSignInActivityMetricsRequestBuilder; /** * Provides operations to manage the b2BRegistrationMetrics property of the microsoft.graph.relatedTenant entity. */ get b2BRegistrationMetrics(): B2BRegistrationMetricsRequestBuilder; /** * Provides operations to manage the b2BSignInActivityMetrics property of the microsoft.graph.relatedTenant entity. */ get b2BSignInActivityMetrics(): B2BSignInActivityMetricsRequestBuilder; /** * Provides operations to manage the billingMetrics property of the microsoft.graph.relatedTenant entity. */ get billingMetrics(): BillingMetricsRequestBuilder; /** * Provides operations to manage the multiTenantApplicationMetrics property of the microsoft.graph.relatedTenant entity. */ get multiTenantApplicationMetrics(): MultiTenantApplicationMetricsRequestBuilder; /** * Delete navigation property relatedTenants for directory * @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 */ delete(requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Read the properties and relationships of a relatedTenant 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-relatedtenant-get?view=graph-rest-1.0|Find more info here} */ get(requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Update the navigation property relatedTenants in directory * @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 */ patch(body: RelatedTenant, requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Delete navigation property relatedTenants for directory * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration | undefined): RequestInformation; /** * Read the properties and relationships of a relatedTenant object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration | undefined): RequestInformation; /** * Update the navigation property relatedTenants in directory * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: RelatedTenant, requestConfiguration?: RequestConfiguration | undefined): RequestInformation; } /** * Read the properties and relationships of a relatedTenant object. */ export interface RelatedTenantItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const RelatedTenantItemRequestBuilderUriTemplate = "{+baseurl}/directory/tenantGovernance/relatedTenants/{relatedTenant%2Did}{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const RelatedTenantItemRequestBuilderNavigationMetadata: Record, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const RelatedTenantItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map