@microsoft/msgraph-beta-sdk-policies
Version:
Policies fluent API for Microsoft Graph
95 lines • 6.94 kB
TypeScript
import { type CrossTenantAccessPolicyConfigurationPartner } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type IdentitySynchronizationRequestBuilder } from './identitySynchronization/index.js';
import { type M365CapabilitiesRequestBuilder } from './m365Capabilities/index.js';
import { type RestoreRequestBuilder } from './restore/index.js';
import { type ServiceProviderConstraintsRequestBuilder } from './serviceProviderConstraints/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the crossTenantPartners property of the microsoft.graph.policyDeletableRoot entity.
*/
export interface CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder extends BaseRequestBuilder<CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder> {
/**
* Provides operations to manage the identitySynchronization property of the microsoft.graph.crossTenantAccessPolicyConfigurationPartner entity.
*/
get identitySynchronization(): IdentitySynchronizationRequestBuilder;
/**
* Provides operations to manage the m365Capabilities property of the microsoft.graph.crossTenantAccessPolicyConfigurationPartner entity.
*/
get m365Capabilities(): M365CapabilitiesRequestBuilder;
/**
* Provides operations to call the restore method.
*/
get restore(): RestoreRequestBuilder;
/**
* Provides operations to manage the serviceProviderConstraints property of the microsoft.graph.crossTenantAccessPolicyConfigurationPartner entity.
*/
get serviceProviderConstraints(): ServiceProviderConstraintsRequestBuilder;
/**
* 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<CrossTenantAccessPolicyConfigurationPartner>}
* @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<CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderGetQueryParameters> | undefined): Promise<CrossTenantAccessPolicyConfigurationPartner | undefined>;
/**
* Update the navigation property crossTenantPartners in policies
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<CrossTenantAccessPolicyConfigurationPartner>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
patch(body: CrossTenantAccessPolicyConfigurationPartner, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CrossTenantAccessPolicyConfigurationPartner | 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<CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the navigation property crossTenantPartners in policies
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPatchRequestInformation(body: CrossTenantAccessPolicyConfigurationPartner, 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 CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderUriTemplate = "{+baseurl}/policies/deletedItems/crossTenantPartners/{crossTenantAccessPolicyConfigurationPartner%2DtenantId}{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderNavigationMetadata: Record<Exclude<keyof CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map