@microsoft/msgraph-sdk-policies
Version:
Policies fluent API for Microsoft Graph
161 lines • 9.11 kB
TypeScript
import { type PolicyRoot } from '@microsoft/msgraph-sdk/models/index.js';
import { type ActivityBasedTimeoutPoliciesRequestBuilder } from './activityBasedTimeoutPolicies/index.js';
import { type AdminConsentRequestPolicyRequestBuilder } from './adminConsentRequestPolicy/index.js';
import { type AppManagementPoliciesRequestBuilder } from './appManagementPolicies/index.js';
import { type AuthenticationFlowsPolicyRequestBuilder } from './authenticationFlowsPolicy/index.js';
import { type AuthenticationMethodsPolicyRequestBuilder } from './authenticationMethodsPolicy/index.js';
import { type AuthenticationStrengthPoliciesRequestBuilder } from './authenticationStrengthPolicies/index.js';
import { type AuthorizationPolicyRequestBuilder } from './authorizationPolicy/index.js';
import { type ClaimsMappingPoliciesRequestBuilder } from './claimsMappingPolicies/index.js';
import { type ConditionalAccessPoliciesRequestBuilder } from './conditionalAccessPolicies/index.js';
import { type CrossTenantAccessPolicyRequestBuilder } from './crossTenantAccessPolicy/index.js';
import { type DefaultAppManagementPolicyRequestBuilder } from './defaultAppManagementPolicy/index.js';
import { type DeviceRegistrationPolicyRequestBuilder } from './deviceRegistrationPolicy/index.js';
import { type FeatureRolloutPoliciesRequestBuilder } from './featureRolloutPolicies/index.js';
import { type HomeRealmDiscoveryPoliciesRequestBuilder } from './homeRealmDiscoveryPolicies/index.js';
import { type IdentitySecurityDefaultsEnforcementPolicyRequestBuilder } from './identitySecurityDefaultsEnforcementPolicy/index.js';
import { type PermissionGrantPoliciesRequestBuilder } from './permissionGrantPolicies/index.js';
import { type RoleManagementPoliciesRequestBuilder } from './roleManagementPolicies/index.js';
import { type RoleManagementPolicyAssignmentsRequestBuilder } from './roleManagementPolicyAssignments/index.js';
import { type TokenIssuancePoliciesRequestBuilder } from './tokenIssuancePolicies/index.js';
import { type TokenLifetimePoliciesRequestBuilder } from './tokenLifetimePolicies/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the policyRoot singleton.
*/
export interface PoliciesRequestBuilder extends BaseRequestBuilder<PoliciesRequestBuilder> {
/**
* Provides operations to manage the activityBasedTimeoutPolicies property of the microsoft.graph.policyRoot entity.
*/
get activityBasedTimeoutPolicies(): ActivityBasedTimeoutPoliciesRequestBuilder;
/**
* Provides operations to manage the adminConsentRequestPolicy property of the microsoft.graph.policyRoot entity.
*/
get adminConsentRequestPolicy(): AdminConsentRequestPolicyRequestBuilder;
/**
* Provides operations to manage the appManagementPolicies property of the microsoft.graph.policyRoot entity.
*/
get appManagementPolicies(): AppManagementPoliciesRequestBuilder;
/**
* Provides operations to manage the authenticationFlowsPolicy property of the microsoft.graph.policyRoot entity.
*/
get authenticationFlowsPolicy(): AuthenticationFlowsPolicyRequestBuilder;
/**
* Provides operations to manage the authenticationMethodsPolicy property of the microsoft.graph.policyRoot entity.
*/
get authenticationMethodsPolicy(): AuthenticationMethodsPolicyRequestBuilder;
/**
* Provides operations to manage the authenticationStrengthPolicies property of the microsoft.graph.policyRoot entity.
*/
get authenticationStrengthPolicies(): AuthenticationStrengthPoliciesRequestBuilder;
/**
* Provides operations to manage the authorizationPolicy property of the microsoft.graph.policyRoot entity.
*/
get authorizationPolicy(): AuthorizationPolicyRequestBuilder;
/**
* Provides operations to manage the claimsMappingPolicies property of the microsoft.graph.policyRoot entity.
*/
get claimsMappingPolicies(): ClaimsMappingPoliciesRequestBuilder;
/**
* Provides operations to manage the conditionalAccessPolicies property of the microsoft.graph.policyRoot entity.
*/
get conditionalAccessPolicies(): ConditionalAccessPoliciesRequestBuilder;
/**
* Provides operations to manage the crossTenantAccessPolicy property of the microsoft.graph.policyRoot entity.
*/
get crossTenantAccessPolicy(): CrossTenantAccessPolicyRequestBuilder;
/**
* Provides operations to manage the defaultAppManagementPolicy property of the microsoft.graph.policyRoot entity.
*/
get defaultAppManagementPolicy(): DefaultAppManagementPolicyRequestBuilder;
/**
* Provides operations to manage the deviceRegistrationPolicy property of the microsoft.graph.policyRoot entity.
*/
get deviceRegistrationPolicy(): DeviceRegistrationPolicyRequestBuilder;
/**
* Provides operations to manage the featureRolloutPolicies property of the microsoft.graph.policyRoot entity.
*/
get featureRolloutPolicies(): FeatureRolloutPoliciesRequestBuilder;
/**
* Provides operations to manage the homeRealmDiscoveryPolicies property of the microsoft.graph.policyRoot entity.
*/
get homeRealmDiscoveryPolicies(): HomeRealmDiscoveryPoliciesRequestBuilder;
/**
* Provides operations to manage the identitySecurityDefaultsEnforcementPolicy property of the microsoft.graph.policyRoot entity.
*/
get identitySecurityDefaultsEnforcementPolicy(): IdentitySecurityDefaultsEnforcementPolicyRequestBuilder;
/**
* Provides operations to manage the permissionGrantPolicies property of the microsoft.graph.policyRoot entity.
*/
get permissionGrantPolicies(): PermissionGrantPoliciesRequestBuilder;
/**
* Provides operations to manage the roleManagementPolicies property of the microsoft.graph.policyRoot entity.
*/
get roleManagementPolicies(): RoleManagementPoliciesRequestBuilder;
/**
* Provides operations to manage the roleManagementPolicyAssignments property of the microsoft.graph.policyRoot entity.
*/
get roleManagementPolicyAssignments(): RoleManagementPolicyAssignmentsRequestBuilder;
/**
* Provides operations to manage the tokenIssuancePolicies property of the microsoft.graph.policyRoot entity.
*/
get tokenIssuancePolicies(): TokenIssuancePoliciesRequestBuilder;
/**
* Provides operations to manage the tokenLifetimePolicies property of the microsoft.graph.policyRoot entity.
*/
get tokenLifetimePolicies(): TokenLifetimePoliciesRequestBuilder;
/**
* Get policies
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<PolicyRoot>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<PoliciesRequestBuilderGetQueryParameters> | undefined): Promise<PolicyRoot | undefined>;
/**
* Update policies
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<PolicyRoot>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
patch(body: PolicyRoot, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PolicyRoot | undefined>;
/**
* Get policies
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<PoliciesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update policies
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPatchRequestInformation(body: PolicyRoot, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Get policies
*/
export interface PoliciesRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const PoliciesRequestBuilderUriTemplate = "{+baseurl}/policies{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const PoliciesRequestBuilderNavigationMetadata: Record<Exclude<keyof PoliciesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const PoliciesRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map