@microsoft/msgraph-beta-sdk-policies
Version:
Policies fluent API for Microsoft Graph
98 lines • 5.67 kB
TypeScript
import { type CrossTenantIdentitySyncPolicyPartner, type CrossTenantIdentitySyncPolicyPartnerCollectionResponse } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type CountRequestBuilder } from './count/index.js';
import { type CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilder } from './item/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 CrossTenantSyncPolicyPartnersRequestBuilder extends BaseRequestBuilder<CrossTenantSyncPolicyPartnersRequestBuilder> {
/**
* Provides operations to count the resources in the collection.
*/
get count(): CountRequestBuilder;
/**
* Provides operations to manage the crossTenantSyncPolicyPartners property of the microsoft.graph.policyDeletableRoot entity.
* @param crossTenantIdentitySyncPolicyPartnerTenantId The unique identifier of crossTenantIdentitySyncPolicyPartner
* @returns {CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilder}
*/
byCrossTenantIdentitySyncPolicyPartnerTenantId(crossTenantIdentitySyncPolicyPartnerTenantId: string): CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilder;
/**
* Get a list of the policyDeletableItem objects and their properties, 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<CrossTenantIdentitySyncPolicyPartnerCollectionResponse>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/policydeletableitem-list?view=graph-rest-beta|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<CrossTenantSyncPolicyPartnersRequestBuilderGetQueryParameters> | undefined): Promise<CrossTenantIdentitySyncPolicyPartnerCollectionResponse | undefined>;
/**
* Create new navigation property to crossTenantSyncPolicyPartners for 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
*/
post(body: CrossTenantIdentitySyncPolicyPartner, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CrossTenantIdentitySyncPolicyPartner | undefined>;
/**
* Get a list of the policyDeletableItem objects and their properties, 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<CrossTenantSyncPolicyPartnersRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Create new navigation property to crossTenantSyncPolicyPartners for policies
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPostRequestInformation(body: CrossTenantIdentitySyncPolicyPartner, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Get a list of the policyDeletableItem objects and their properties, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner- conditionalAccessPolicy- namedLocation
*/
export interface CrossTenantSyncPolicyPartnersRequestBuilderGetQueryParameters {
/**
* Include count of items
*/
count?: boolean;
/**
* Expand related entities
*/
expand?: string[];
/**
* Filter items by property values
*/
filter?: string;
/**
* Order items by property values
*/
orderby?: string[];
/**
* Search items by search phrases
*/
search?: string;
/**
* Select properties to be returned
*/
select?: string[];
/**
* Skip the first n items
*/
skip?: number;
/**
* Show only the first n items
*/
top?: number;
}
/**
* Uri template for the request builder.
*/
export declare const CrossTenantSyncPolicyPartnersRequestBuilderUriTemplate = "{+baseurl}/policies/deletedItems/crossTenantSyncPolicyPartners{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const CrossTenantSyncPolicyPartnersRequestBuilderNavigationMetadata: Record<Exclude<keyof CrossTenantSyncPolicyPartnersRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const CrossTenantSyncPolicyPartnersRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map