UNPKG

@microsoft/msgraph-beta-sdk-policies

Version:
80 lines 5.87 kB
import { type CrossTenantIdentitySyncPolicyPartner } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type RestoreRequestBuilder } from './restore/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the crossTenantSyncPolicyPartners property of the microsoft.graph.policyDeletableRoot entity. */ export interface CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilder extends BaseRequestBuilder<CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilder> { /** * Provides operations to call the restore method. */ get restore(): RestoreRequestBuilder; /** * Permanently delete a policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner- conditionalAccessPolicy- namedLocation * @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/policydeletableitem-delete?view=graph-rest-beta|Find more info here} */ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>; /** * Read the properties and relationships of a policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner- conditionalAccessPolicy- namedLocation * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<CrossTenantIdentitySyncPolicyPartner>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/policydeletableitem-get?view=graph-rest-beta|Find more info here} */ get(requestConfiguration?: RequestConfiguration<CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilderGetQueryParameters> | undefined): Promise<CrossTenantIdentitySyncPolicyPartner | undefined>; /** * Update the navigation property crossTenantSyncPolicyPartners in policies * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<CrossTenantIdentitySyncPolicyPartner>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ put(body: CrossTenantIdentitySyncPolicyPartner, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CrossTenantIdentitySyncPolicyPartner | undefined>; /** * Permanently delete a policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner- conditionalAccessPolicy- namedLocation * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * Read the properties and relationships of a policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner- conditionalAccessPolicy- namedLocation * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property crossTenantSyncPolicyPartners in policies * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPutRequestInformation(body: CrossTenantIdentitySyncPolicyPartner, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Read the properties and relationships of a policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner- conditionalAccessPolicy- namedLocation */ export interface CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilderUriTemplate = "{+baseurl}/policies/deletedItems/crossTenantSyncPolicyPartners/{crossTenantIdentitySyncPolicyPartner%2DtenantId}{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilderNavigationMetadata: Record<Exclude<keyof CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map