UNPKG

@microsoft/msgraph-beta-sdk-policies

Version:
201 lines 11.8 kB
import { type PolicyRoot } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type AccessReviewPolicyRequestBuilder } from './accessReviewPolicy/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 B2cAuthenticationMethodsPolicyRequestBuilder } from './b2cAuthenticationMethodsPolicy/index.js'; import { type ClaimsMappingPoliciesRequestBuilder } from './claimsMappingPolicies/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 DirectoryRoleAccessReviewPolicyRequestBuilder } from './directoryRoleAccessReviewPolicy/index.js'; import { type ExternalIdentitiesPolicyRequestBuilder } from './externalIdentitiesPolicy/index.js'; import { type FeatureRolloutPoliciesRequestBuilder } from './featureRolloutPolicies/index.js'; import { type FederatedTokenValidationPolicyRequestBuilder } from './federatedTokenValidationPolicy/index.js'; import { type HomeRealmDiscoveryPoliciesRequestBuilder } from './homeRealmDiscoveryPolicies/index.js'; import { type IdentitySecurityDefaultsEnforcementPolicyRequestBuilder } from './identitySecurityDefaultsEnforcementPolicy/index.js'; import { type MobileAppManagementPoliciesRequestBuilder } from './mobileAppManagementPolicies/index.js'; import { type MobileDeviceManagementPoliciesRequestBuilder } from './mobileDeviceManagementPolicies/index.js'; import { type PermissionGrantPoliciesRequestBuilder } from './permissionGrantPolicies/index.js'; import { type PermissionGrantPreApprovalPoliciesRequestBuilder } from './permissionGrantPreApprovalPolicies/index.js'; import { type RoleManagementPoliciesRequestBuilder } from './roleManagementPolicies/index.js'; import { type RoleManagementPolicyAssignmentsRequestBuilder } from './roleManagementPolicyAssignments/index.js'; import { type ServicePrincipalCreationPoliciesRequestBuilder } from './servicePrincipalCreationPolicies/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 accessReviewPolicy property of the microsoft.graph.policyRoot entity. */ get accessReviewPolicy(): AccessReviewPolicyRequestBuilder; /** * 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 b2cAuthenticationMethodsPolicy property of the microsoft.graph.policyRoot entity. */ get b2cAuthenticationMethodsPolicy(): B2cAuthenticationMethodsPolicyRequestBuilder; /** * Provides operations to manage the claimsMappingPolicies property of the microsoft.graph.policyRoot entity. */ get claimsMappingPolicies(): ClaimsMappingPoliciesRequestBuilder; /** * 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 directoryRoleAccessReviewPolicy property of the microsoft.graph.policyRoot entity. */ get directoryRoleAccessReviewPolicy(): DirectoryRoleAccessReviewPolicyRequestBuilder; /** * Provides operations to manage the externalIdentitiesPolicy property of the microsoft.graph.policyRoot entity. */ get externalIdentitiesPolicy(): ExternalIdentitiesPolicyRequestBuilder; /** * Provides operations to manage the featureRolloutPolicies property of the microsoft.graph.policyRoot entity. */ get featureRolloutPolicies(): FeatureRolloutPoliciesRequestBuilder; /** * Provides operations to manage the federatedTokenValidationPolicy property of the microsoft.graph.policyRoot entity. */ get federatedTokenValidationPolicy(): FederatedTokenValidationPolicyRequestBuilder; /** * 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 mobileAppManagementPolicies property of the microsoft.graph.policyRoot entity. */ get mobileAppManagementPolicies(): MobileAppManagementPoliciesRequestBuilder; /** * Provides operations to manage the mobileDeviceManagementPolicies property of the microsoft.graph.policyRoot entity. */ get mobileDeviceManagementPolicies(): MobileDeviceManagementPoliciesRequestBuilder; /** * Provides operations to manage the permissionGrantPolicies property of the microsoft.graph.policyRoot entity. */ get permissionGrantPolicies(): PermissionGrantPoliciesRequestBuilder; /** * Provides operations to manage the permissionGrantPreApprovalPolicies property of the microsoft.graph.policyRoot entity. */ get permissionGrantPreApprovalPolicies(): PermissionGrantPreApprovalPoliciesRequestBuilder; /** * 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 servicePrincipalCreationPolicies property of the microsoft.graph.policyRoot entity. */ get servicePrincipalCreationPolicies(): ServicePrincipalCreationPoliciesRequestBuilder; /** * 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