@microsoft/msgraph-sdk-policies 1.0.0-preview.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +11 -0
- package/index.d.ts +11 -0
- package/index.d.ts.map +1 -0
- package/index.js +20 -0
- package/package.json +48 -0
- package/policies/activityBasedTimeoutPolicies/count/index.d.ts +40 -0
- package/policies/activityBasedTimeoutPolicies/count/index.d.ts.map +1 -0
- package/policies/activityBasedTimeoutPolicies/count/index.js +35 -0
- package/policies/activityBasedTimeoutPolicies/index.d.ts +97 -0
- package/policies/activityBasedTimeoutPolicies/index.d.ts.map +1 -0
- package/policies/activityBasedTimeoutPolicies/index.js +71 -0
- package/policies/activityBasedTimeoutPolicies/item/appliesTo/count/index.d.ts +40 -0
- package/policies/activityBasedTimeoutPolicies/item/appliesTo/count/index.d.ts.map +1 -0
- package/policies/activityBasedTimeoutPolicies/item/appliesTo/count/index.js +35 -0
- package/policies/activityBasedTimeoutPolicies/item/appliesTo/index.d.ts +81 -0
- package/policies/activityBasedTimeoutPolicies/item/appliesTo/index.d.ts.map +1 -0
- package/policies/activityBasedTimeoutPolicies/item/appliesTo/index.js +58 -0
- package/policies/activityBasedTimeoutPolicies/item/appliesTo/item/index.d.ts +41 -0
- package/policies/activityBasedTimeoutPolicies/item/appliesTo/item/index.d.ts.map +1 -0
- package/policies/activityBasedTimeoutPolicies/item/appliesTo/item/index.js +36 -0
- package/policies/activityBasedTimeoutPolicies/item/index.d.ts +78 -0
- package/policies/activityBasedTimeoutPolicies/item/index.d.ts.map +1 -0
- package/policies/activityBasedTimeoutPolicies/item/index.js +67 -0
- package/policies/adminConsentRequestPolicy/index.d.ts +68 -0
- package/policies/adminConsentRequestPolicy/index.d.ts.map +1 -0
- package/policies/adminConsentRequestPolicy/index.js +56 -0
- package/policies/appManagementPolicies/count/index.d.ts +40 -0
- package/policies/appManagementPolicies/count/index.d.ts.map +1 -0
- package/policies/appManagementPolicies/count/index.js +35 -0
- package/policies/appManagementPolicies/index.d.ts +97 -0
- package/policies/appManagementPolicies/index.d.ts.map +1 -0
- package/policies/appManagementPolicies/index.js +71 -0
- package/policies/appManagementPolicies/item/appliesTo/count/index.d.ts +40 -0
- package/policies/appManagementPolicies/item/appliesTo/count/index.d.ts.map +1 -0
- package/policies/appManagementPolicies/item/appliesTo/count/index.js +35 -0
- package/policies/appManagementPolicies/item/appliesTo/index.d.ts +82 -0
- package/policies/appManagementPolicies/item/appliesTo/index.d.ts.map +1 -0
- package/policies/appManagementPolicies/item/appliesTo/index.js +58 -0
- package/policies/appManagementPolicies/item/appliesTo/item/index.d.ts +41 -0
- package/policies/appManagementPolicies/item/appliesTo/item/index.d.ts.map +1 -0
- package/policies/appManagementPolicies/item/appliesTo/item/index.js +36 -0
- package/policies/appManagementPolicies/item/index.d.ts +78 -0
- package/policies/appManagementPolicies/item/index.d.ts.map +1 -0
- package/policies/appManagementPolicies/item/index.js +67 -0
- package/policies/authenticationFlowsPolicy/index.d.ts +68 -0
- package/policies/authenticationFlowsPolicy/index.d.ts.map +1 -0
- package/policies/authenticationFlowsPolicy/index.js +56 -0
- package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/count/index.d.ts +40 -0
- package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/count/index.d.ts.map +1 -0
- package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/count/index.js +35 -0
- package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/index.d.ts +95 -0
- package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/index.d.ts.map +1 -0
- package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/index.js +70 -0
- package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/item/index.d.ts +66 -0
- package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/item/index.d.ts.map +1 -0
- package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/item/index.js +56 -0
- package/policies/authenticationMethodsPolicy/index.d.ts +77 -0
- package/policies/authenticationMethodsPolicy/index.d.ts.map +1 -0
- package/policies/authenticationMethodsPolicy/index.js +67 -0
- package/policies/authenticationStrengthPolicies/count/index.d.ts +40 -0
- package/policies/authenticationStrengthPolicies/count/index.d.ts.map +1 -0
- package/policies/authenticationStrengthPolicies/count/index.js +35 -0
- package/policies/authenticationStrengthPolicies/index.d.ts +97 -0
- package/policies/authenticationStrengthPolicies/index.d.ts.map +1 -0
- package/policies/authenticationStrengthPolicies/index.js +71 -0
- package/policies/authenticationStrengthPolicies/item/combinationConfigurations/count/index.d.ts +40 -0
- package/policies/authenticationStrengthPolicies/item/combinationConfigurations/count/index.d.ts.map +1 -0
- package/policies/authenticationStrengthPolicies/item/combinationConfigurations/count/index.js +35 -0
- package/policies/authenticationStrengthPolicies/item/combinationConfigurations/index.d.ts +97 -0
- package/policies/authenticationStrengthPolicies/item/combinationConfigurations/index.d.ts.map +1 -0
- package/policies/authenticationStrengthPolicies/item/combinationConfigurations/index.js +70 -0
- package/policies/authenticationStrengthPolicies/item/combinationConfigurations/item/index.d.ts +69 -0
- package/policies/authenticationStrengthPolicies/item/combinationConfigurations/item/index.d.ts.map +1 -0
- package/policies/authenticationStrengthPolicies/item/combinationConfigurations/item/index.js +56 -0
- package/policies/authenticationStrengthPolicies/item/index.d.ts +88 -0
- package/policies/authenticationStrengthPolicies/item/index.d.ts.map +1 -0
- package/policies/authenticationStrengthPolicies/item/index.js +77 -0
- package/policies/authenticationStrengthPolicies/item/updateAllowedCombinations/index.d.ts +61 -0
- package/policies/authenticationStrengthPolicies/item/updateAllowedCombinations/index.d.ts.map +1 -0
- package/policies/authenticationStrengthPolicies/item/updateAllowedCombinations/index.js +61 -0
- package/policies/authenticationStrengthPolicies/item/usage/index.d.ts +28 -0
- package/policies/authenticationStrengthPolicies/item/usage/index.d.ts.map +1 -0
- package/policies/authenticationStrengthPolicies/item/usage/index.js +28 -0
- package/policies/authorizationPolicy/index.d.ts +68 -0
- package/policies/authorizationPolicy/index.d.ts.map +1 -0
- package/policies/authorizationPolicy/index.js +56 -0
- package/policies/claimsMappingPolicies/count/index.d.ts +40 -0
- package/policies/claimsMappingPolicies/count/index.d.ts.map +1 -0
- package/policies/claimsMappingPolicies/count/index.js +35 -0
- package/policies/claimsMappingPolicies/index.d.ts +97 -0
- package/policies/claimsMappingPolicies/index.d.ts.map +1 -0
- package/policies/claimsMappingPolicies/index.js +71 -0
- package/policies/claimsMappingPolicies/item/appliesTo/count/index.d.ts +40 -0
- package/policies/claimsMappingPolicies/item/appliesTo/count/index.d.ts.map +1 -0
- package/policies/claimsMappingPolicies/item/appliesTo/count/index.js +35 -0
- package/policies/claimsMappingPolicies/item/appliesTo/index.d.ts +81 -0
- package/policies/claimsMappingPolicies/item/appliesTo/index.d.ts.map +1 -0
- package/policies/claimsMappingPolicies/item/appliesTo/index.js +58 -0
- package/policies/claimsMappingPolicies/item/appliesTo/item/index.d.ts +41 -0
- package/policies/claimsMappingPolicies/item/appliesTo/item/index.d.ts.map +1 -0
- package/policies/claimsMappingPolicies/item/appliesTo/item/index.js +36 -0
- package/policies/claimsMappingPolicies/item/index.d.ts +78 -0
- package/policies/claimsMappingPolicies/item/index.d.ts.map +1 -0
- package/policies/claimsMappingPolicies/item/index.js +67 -0
- package/policies/conditionalAccessPolicies/count/index.d.ts +40 -0
- package/policies/conditionalAccessPolicies/count/index.d.ts.map +1 -0
- package/policies/conditionalAccessPolicies/count/index.js +35 -0
- package/policies/conditionalAccessPolicies/index.d.ts +95 -0
- package/policies/conditionalAccessPolicies/index.d.ts.map +1 -0
- package/policies/conditionalAccessPolicies/index.js +70 -0
- package/policies/conditionalAccessPolicies/item/index.d.ts +66 -0
- package/policies/conditionalAccessPolicies/item/index.d.ts.map +1 -0
- package/policies/conditionalAccessPolicies/item/index.js +56 -0
- package/policies/crossTenantAccessPolicy/defaultEscaped/index.d.ts +77 -0
- package/policies/crossTenantAccessPolicy/defaultEscaped/index.d.ts.map +1 -0
- package/policies/crossTenantAccessPolicy/defaultEscaped/index.js +66 -0
- package/policies/crossTenantAccessPolicy/defaultEscaped/resetToSystemDefault/index.d.ts +27 -0
- package/policies/crossTenantAccessPolicy/defaultEscaped/resetToSystemDefault/index.d.ts.map +1 -0
- package/policies/crossTenantAccessPolicy/defaultEscaped/resetToSystemDefault/index.js +26 -0
- package/policies/crossTenantAccessPolicy/index.d.ts +82 -0
- package/policies/crossTenantAccessPolicy/index.d.ts.map +1 -0
- package/policies/crossTenantAccessPolicy/index.js +73 -0
- package/policies/crossTenantAccessPolicy/partners/count/index.d.ts +40 -0
- package/policies/crossTenantAccessPolicy/partners/count/index.d.ts.map +1 -0
- package/policies/crossTenantAccessPolicy/partners/count/index.js +35 -0
- package/policies/crossTenantAccessPolicy/partners/index.d.ts +97 -0
- package/policies/crossTenantAccessPolicy/partners/index.d.ts.map +1 -0
- package/policies/crossTenantAccessPolicy/partners/index.js +71 -0
- package/policies/crossTenantAccessPolicy/partners/item/identitySynchronization/index.d.ts +68 -0
- package/policies/crossTenantAccessPolicy/partners/item/identitySynchronization/index.d.ts.map +1 -0
- package/policies/crossTenantAccessPolicy/partners/item/identitySynchronization/index.js +56 -0
- package/policies/crossTenantAccessPolicy/partners/item/index.d.ts +78 -0
- package/policies/crossTenantAccessPolicy/partners/item/index.d.ts.map +1 -0
- package/policies/crossTenantAccessPolicy/partners/item/index.js +66 -0
- package/policies/defaultAppManagementPolicy/index.d.ts +68 -0
- package/policies/defaultAppManagementPolicy/index.d.ts.map +1 -0
- package/policies/defaultAppManagementPolicy/index.js +56 -0
- package/policies/featureRolloutPolicies/count/index.d.ts +40 -0
- package/policies/featureRolloutPolicies/count/index.d.ts.map +1 -0
- package/policies/featureRolloutPolicies/count/index.js +35 -0
- package/policies/featureRolloutPolicies/index.d.ts +97 -0
- package/policies/featureRolloutPolicies/index.d.ts.map +1 -0
- package/policies/featureRolloutPolicies/index.js +71 -0
- package/policies/featureRolloutPolicies/item/appliesTo/count/index.d.ts +40 -0
- package/policies/featureRolloutPolicies/item/appliesTo/count/index.d.ts.map +1 -0
- package/policies/featureRolloutPolicies/item/appliesTo/count/index.js +35 -0
- package/policies/featureRolloutPolicies/item/appliesTo/index.d.ts +101 -0
- package/policies/featureRolloutPolicies/item/appliesTo/index.d.ts.map +1 -0
- package/policies/featureRolloutPolicies/item/appliesTo/index.js +75 -0
- package/policies/featureRolloutPolicies/item/appliesTo/item/index.d.ts +20 -0
- package/policies/featureRolloutPolicies/item/appliesTo/item/index.d.ts.map +1 -0
- package/policies/featureRolloutPolicies/item/appliesTo/item/index.js +22 -0
- package/policies/featureRolloutPolicies/item/appliesTo/item/ref/index.d.ts +36 -0
- package/policies/featureRolloutPolicies/item/appliesTo/item/ref/index.d.ts.map +1 -0
- package/policies/featureRolloutPolicies/item/appliesTo/item/ref/index.js +33 -0
- package/policies/featureRolloutPolicies/item/appliesTo/ref/index.d.ts +71 -0
- package/policies/featureRolloutPolicies/item/appliesTo/ref/index.d.ts.map +1 -0
- package/policies/featureRolloutPolicies/item/appliesTo/ref/index.js +51 -0
- package/policies/featureRolloutPolicies/item/index.d.ts +78 -0
- package/policies/featureRolloutPolicies/item/index.d.ts.map +1 -0
- package/policies/featureRolloutPolicies/item/index.js +67 -0
- package/policies/homeRealmDiscoveryPolicies/count/index.d.ts +40 -0
- package/policies/homeRealmDiscoveryPolicies/count/index.d.ts.map +1 -0
- package/policies/homeRealmDiscoveryPolicies/count/index.js +35 -0
- package/policies/homeRealmDiscoveryPolicies/index.d.ts +97 -0
- package/policies/homeRealmDiscoveryPolicies/index.d.ts.map +1 -0
- package/policies/homeRealmDiscoveryPolicies/index.js +71 -0
- package/policies/homeRealmDiscoveryPolicies/item/appliesTo/count/index.d.ts +40 -0
- package/policies/homeRealmDiscoveryPolicies/item/appliesTo/count/index.d.ts.map +1 -0
- package/policies/homeRealmDiscoveryPolicies/item/appliesTo/count/index.js +35 -0
- package/policies/homeRealmDiscoveryPolicies/item/appliesTo/index.d.ts +81 -0
- package/policies/homeRealmDiscoveryPolicies/item/appliesTo/index.d.ts.map +1 -0
- package/policies/homeRealmDiscoveryPolicies/item/appliesTo/index.js +58 -0
- package/policies/homeRealmDiscoveryPolicies/item/appliesTo/item/index.d.ts +41 -0
- package/policies/homeRealmDiscoveryPolicies/item/appliesTo/item/index.d.ts.map +1 -0
- package/policies/homeRealmDiscoveryPolicies/item/appliesTo/item/index.js +36 -0
- package/policies/homeRealmDiscoveryPolicies/item/index.d.ts +78 -0
- package/policies/homeRealmDiscoveryPolicies/item/index.d.ts.map +1 -0
- package/policies/homeRealmDiscoveryPolicies/item/index.js +67 -0
- package/policies/identitySecurityDefaultsEnforcementPolicy/index.d.ts +68 -0
- package/policies/identitySecurityDefaultsEnforcementPolicy/index.d.ts.map +1 -0
- package/policies/identitySecurityDefaultsEnforcementPolicy/index.js +56 -0
- package/policies/index.d.ts +154 -0
- package/policies/index.d.ts.map +1 -0
- package/policies/index.js +162 -0
- package/policies/permissionGrantPolicies/count/index.d.ts +40 -0
- package/policies/permissionGrantPolicies/count/index.d.ts.map +1 -0
- package/policies/permissionGrantPolicies/count/index.js +35 -0
- package/policies/permissionGrantPolicies/index.d.ts +97 -0
- package/policies/permissionGrantPolicies/index.d.ts.map +1 -0
- package/policies/permissionGrantPolicies/index.js +71 -0
- package/policies/permissionGrantPolicies/item/excludes/count/index.d.ts +40 -0
- package/policies/permissionGrantPolicies/item/excludes/count/index.d.ts.map +1 -0
- package/policies/permissionGrantPolicies/item/excludes/count/index.js +35 -0
- package/policies/permissionGrantPolicies/item/excludes/index.d.ts +97 -0
- package/policies/permissionGrantPolicies/item/excludes/index.d.ts.map +1 -0
- package/policies/permissionGrantPolicies/item/excludes/index.js +70 -0
- package/policies/permissionGrantPolicies/item/excludes/item/index.d.ts +67 -0
- package/policies/permissionGrantPolicies/item/excludes/item/index.d.ts.map +1 -0
- package/policies/permissionGrantPolicies/item/excludes/item/index.js +56 -0
- package/policies/permissionGrantPolicies/item/includes/count/index.d.ts +40 -0
- package/policies/permissionGrantPolicies/item/includes/count/index.d.ts.map +1 -0
- package/policies/permissionGrantPolicies/item/includes/count/index.js +35 -0
- package/policies/permissionGrantPolicies/item/includes/index.d.ts +97 -0
- package/policies/permissionGrantPolicies/item/includes/index.d.ts.map +1 -0
- package/policies/permissionGrantPolicies/item/includes/index.js +70 -0
- package/policies/permissionGrantPolicies/item/includes/item/index.d.ts +67 -0
- package/policies/permissionGrantPolicies/item/includes/item/index.d.ts.map +1 -0
- package/policies/permissionGrantPolicies/item/includes/item/index.js +56 -0
- package/policies/permissionGrantPolicies/item/index.d.ts +83 -0
- package/policies/permissionGrantPolicies/item/index.d.ts.map +1 -0
- package/policies/permissionGrantPolicies/item/index.js +73 -0
- package/policies/roleManagementPolicies/count/index.d.ts +40 -0
- package/policies/roleManagementPolicies/count/index.d.ts.map +1 -0
- package/policies/roleManagementPolicies/count/index.js +35 -0
- package/policies/roleManagementPolicies/index.d.ts +96 -0
- package/policies/roleManagementPolicies/index.d.ts.map +1 -0
- package/policies/roleManagementPolicies/index.js +71 -0
- package/policies/roleManagementPolicies/item/effectiveRules/count/index.d.ts +40 -0
- package/policies/roleManagementPolicies/item/effectiveRules/count/index.d.ts.map +1 -0
- package/policies/roleManagementPolicies/item/effectiveRules/count/index.js +35 -0
- package/policies/roleManagementPolicies/item/effectiveRules/index.d.ts +95 -0
- package/policies/roleManagementPolicies/item/effectiveRules/index.d.ts.map +1 -0
- package/policies/roleManagementPolicies/item/effectiveRules/index.js +70 -0
- package/policies/roleManagementPolicies/item/effectiveRules/item/index.d.ts +66 -0
- package/policies/roleManagementPolicies/item/effectiveRules/item/index.d.ts.map +1 -0
- package/policies/roleManagementPolicies/item/effectiveRules/item/index.js +56 -0
- package/policies/roleManagementPolicies/item/index.d.ts +81 -0
- package/policies/roleManagementPolicies/item/index.d.ts.map +1 -0
- package/policies/roleManagementPolicies/item/index.js +73 -0
- package/policies/roleManagementPolicies/item/rules/count/index.d.ts +40 -0
- package/policies/roleManagementPolicies/item/rules/count/index.d.ts.map +1 -0
- package/policies/roleManagementPolicies/item/rules/count/index.js +35 -0
- package/policies/roleManagementPolicies/item/rules/index.d.ts +96 -0
- package/policies/roleManagementPolicies/item/rules/index.d.ts.map +1 -0
- package/policies/roleManagementPolicies/item/rules/index.js +70 -0
- package/policies/roleManagementPolicies/item/rules/item/index.d.ts +68 -0
- package/policies/roleManagementPolicies/item/rules/item/index.d.ts.map +1 -0
- package/policies/roleManagementPolicies/item/rules/item/index.js +56 -0
- package/policies/roleManagementPolicyAssignments/count/index.d.ts +40 -0
- package/policies/roleManagementPolicyAssignments/count/index.d.ts.map +1 -0
- package/policies/roleManagementPolicyAssignments/count/index.js +35 -0
- package/policies/roleManagementPolicyAssignments/index.d.ts +96 -0
- package/policies/roleManagementPolicyAssignments/index.d.ts.map +1 -0
- package/policies/roleManagementPolicyAssignments/index.js +71 -0
- package/policies/roleManagementPolicyAssignments/item/index.d.ts +76 -0
- package/policies/roleManagementPolicyAssignments/item/index.d.ts.map +1 -0
- package/policies/roleManagementPolicyAssignments/item/index.js +66 -0
- package/policies/roleManagementPolicyAssignments/item/policy/index.d.ts +41 -0
- package/policies/roleManagementPolicyAssignments/item/policy/index.d.ts.map +1 -0
- package/policies/roleManagementPolicyAssignments/item/policy/index.js +36 -0
- package/policies/tokenIssuancePolicies/count/index.d.ts +40 -0
- package/policies/tokenIssuancePolicies/count/index.d.ts.map +1 -0
- package/policies/tokenIssuancePolicies/count/index.js +35 -0
- package/policies/tokenIssuancePolicies/index.d.ts +97 -0
- package/policies/tokenIssuancePolicies/index.d.ts.map +1 -0
- package/policies/tokenIssuancePolicies/index.js +71 -0
- package/policies/tokenIssuancePolicies/item/appliesTo/count/index.d.ts +40 -0
- package/policies/tokenIssuancePolicies/item/appliesTo/count/index.d.ts.map +1 -0
- package/policies/tokenIssuancePolicies/item/appliesTo/count/index.js +35 -0
- package/policies/tokenIssuancePolicies/item/appliesTo/index.d.ts +81 -0
- package/policies/tokenIssuancePolicies/item/appliesTo/index.d.ts.map +1 -0
- package/policies/tokenIssuancePolicies/item/appliesTo/index.js +58 -0
- package/policies/tokenIssuancePolicies/item/appliesTo/item/index.d.ts +41 -0
- package/policies/tokenIssuancePolicies/item/appliesTo/item/index.d.ts.map +1 -0
- package/policies/tokenIssuancePolicies/item/appliesTo/item/index.js +36 -0
- package/policies/tokenIssuancePolicies/item/index.d.ts +77 -0
- package/policies/tokenIssuancePolicies/item/index.d.ts.map +1 -0
- package/policies/tokenIssuancePolicies/item/index.js +67 -0
- package/policies/tokenLifetimePolicies/count/index.d.ts +40 -0
- package/policies/tokenLifetimePolicies/count/index.d.ts.map +1 -0
- package/policies/tokenLifetimePolicies/count/index.js +35 -0
- package/policies/tokenLifetimePolicies/index.d.ts +97 -0
- package/policies/tokenLifetimePolicies/index.d.ts.map +1 -0
- package/policies/tokenLifetimePolicies/index.js +71 -0
- package/policies/tokenLifetimePolicies/item/appliesTo/count/index.d.ts +40 -0
- package/policies/tokenLifetimePolicies/item/appliesTo/count/index.d.ts.map +1 -0
- package/policies/tokenLifetimePolicies/item/appliesTo/count/index.js +35 -0
- package/policies/tokenLifetimePolicies/item/appliesTo/index.d.ts +81 -0
- package/policies/tokenLifetimePolicies/item/appliesTo/index.d.ts.map +1 -0
- package/policies/tokenLifetimePolicies/item/appliesTo/index.js +58 -0
- package/policies/tokenLifetimePolicies/item/appliesTo/item/index.d.ts +41 -0
- package/policies/tokenLifetimePolicies/item/appliesTo/item/index.d.ts.map +1 -0
- package/policies/tokenLifetimePolicies/item/appliesTo/item/index.js +36 -0
- package/policies/tokenLifetimePolicies/item/index.d.ts +78 -0
- package/policies/tokenLifetimePolicies/item/index.d.ts.map +1 -0
- package/policies/tokenLifetimePolicies/item/index.js +67 -0
- package/policiesServiceClient.d.ts +25 -0
- package/policiesServiceClient.d.ts.map +1 -0
- package/policiesServiceClient.js +49 -0
- package/tsconfig.json +15 -0
- package/tsconfig.tsbuildinfo +1 -0
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { type UnifiedRoleManagementPolicyRule, type UnifiedRoleManagementPolicyRuleCollectionResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type CountRequestBuilder } from './count/';
|
|
3
|
+
import { type UnifiedRoleManagementPolicyRuleItemRequestBuilder } from './item/';
|
|
4
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
5
|
+
/**
|
|
6
|
+
* Provides operations to manage the effectiveRules property of the microsoft.graph.unifiedRoleManagementPolicy entity.
|
|
7
|
+
*/
|
|
8
|
+
export interface EffectiveRulesRequestBuilder extends BaseRequestBuilder<EffectiveRulesRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to count the resources in the collection.
|
|
11
|
+
*/
|
|
12
|
+
get count(): CountRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to manage the effectiveRules property of the microsoft.graph.unifiedRoleManagementPolicy entity.
|
|
15
|
+
* @param unifiedRoleManagementPolicyRuleId The unique identifier of unifiedRoleManagementPolicyRule
|
|
16
|
+
* @returns a UnifiedRoleManagementPolicyRuleItemRequestBuilder
|
|
17
|
+
*/
|
|
18
|
+
byUnifiedRoleManagementPolicyRuleId(unifiedRoleManagementPolicyRuleId: string): UnifiedRoleManagementPolicyRuleItemRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* The list of effective rules like approval rules and expiration rules evaluated based on inherited referenced rules. For example, if there is a tenant-wide policy to enforce enabling an approval rule, the effective rule will be to enable approval even if the policy has a rule to disable approval. Supports $expand.
|
|
21
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
+
* @returns a Promise of UnifiedRoleManagementPolicyRuleCollectionResponse
|
|
23
|
+
*/
|
|
24
|
+
get(requestConfiguration?: RequestConfiguration<EffectiveRulesRequestBuilderGetQueryParameters> | undefined): Promise<UnifiedRoleManagementPolicyRuleCollectionResponse | undefined>;
|
|
25
|
+
/**
|
|
26
|
+
* Create new navigation property to effectiveRules for policies
|
|
27
|
+
* @param body The request body
|
|
28
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
29
|
+
* @returns a Promise of UnifiedRoleManagementPolicyRule
|
|
30
|
+
*/
|
|
31
|
+
post(body: UnifiedRoleManagementPolicyRule, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<UnifiedRoleManagementPolicyRule | undefined>;
|
|
32
|
+
/**
|
|
33
|
+
* The list of effective rules like approval rules and expiration rules evaluated based on inherited referenced rules. For example, if there is a tenant-wide policy to enforce enabling an approval rule, the effective rule will be to enable approval even if the policy has a rule to disable approval. Supports $expand.
|
|
34
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
35
|
+
* @returns a RequestInformation
|
|
36
|
+
*/
|
|
37
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<EffectiveRulesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
38
|
+
/**
|
|
39
|
+
* Create new navigation property to effectiveRules for policies
|
|
40
|
+
* @param body The request body
|
|
41
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
42
|
+
* @returns a RequestInformation
|
|
43
|
+
*/
|
|
44
|
+
toPostRequestInformation(body: UnifiedRoleManagementPolicyRule, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* The list of effective rules like approval rules and expiration rules evaluated based on inherited referenced rules. For example, if there is a tenant-wide policy to enforce enabling an approval rule, the effective rule will be to enable approval even if the policy has a rule to disable approval. Supports $expand.
|
|
48
|
+
*/
|
|
49
|
+
export interface EffectiveRulesRequestBuilderGetQueryParameters {
|
|
50
|
+
/**
|
|
51
|
+
* Include count of items
|
|
52
|
+
*/
|
|
53
|
+
count?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Expand related entities
|
|
56
|
+
*/
|
|
57
|
+
expand?: string[];
|
|
58
|
+
/**
|
|
59
|
+
* Filter items by property values
|
|
60
|
+
*/
|
|
61
|
+
filter?: string;
|
|
62
|
+
/**
|
|
63
|
+
* Order items by property values
|
|
64
|
+
*/
|
|
65
|
+
orderby?: string[];
|
|
66
|
+
/**
|
|
67
|
+
* Search items by search phrases
|
|
68
|
+
*/
|
|
69
|
+
search?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Select properties to be returned
|
|
72
|
+
*/
|
|
73
|
+
select?: string[];
|
|
74
|
+
/**
|
|
75
|
+
* Skip the first n items
|
|
76
|
+
*/
|
|
77
|
+
skip?: number;
|
|
78
|
+
/**
|
|
79
|
+
* Show only the first n items
|
|
80
|
+
*/
|
|
81
|
+
top?: number;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Metadata for all the navigation properties in the request builder.
|
|
85
|
+
*/
|
|
86
|
+
export declare const EffectiveRulesRequestBuilderNavigationMetadata: Record<Exclude<keyof EffectiveRulesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
87
|
+
/**
|
|
88
|
+
* Metadata for all the requests in the request builder.
|
|
89
|
+
*/
|
|
90
|
+
export declare const EffectiveRulesRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
91
|
+
/**
|
|
92
|
+
* Uri template for the request builder.
|
|
93
|
+
*/
|
|
94
|
+
export declare const EffectiveRulesRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicies/{unifiedRoleManagementPolicy%2Did}/effectiveRules{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
95
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAwL,KAAK,+BAA+B,EAAE,KAAK,iDAAiD,EAAE,MAAM,gCAAgC,CAAC;AAEpU,OAAO,EAA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C;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AAcD;;GAEG;AACH,eAAO,MAAM,8CAA8C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,4BAA4B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAUtK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,gBAuB1D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,uCAAuC,8KAA8K,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EffectiveRulesRequestBuilderUriTemplate = exports.EffectiveRulesRequestBuilderRequestsMetadata = exports.EffectiveRulesRequestBuilderNavigationMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
const count_1 = require("./count/");
|
|
10
|
+
const item_1 = require("./item/");
|
|
11
|
+
/**
|
|
12
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
13
|
+
*/
|
|
14
|
+
const EffectiveRulesRequestBuilderGetQueryParametersMapper = {
|
|
15
|
+
"count": "%24count",
|
|
16
|
+
"expand": "%24expand",
|
|
17
|
+
"filter": "%24filter",
|
|
18
|
+
"orderby": "%24orderby",
|
|
19
|
+
"search": "%24search",
|
|
20
|
+
"select": "%24select",
|
|
21
|
+
"skip": "%24skip",
|
|
22
|
+
"top": "%24top",
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Metadata for all the navigation properties in the request builder.
|
|
26
|
+
*/
|
|
27
|
+
exports.EffectiveRulesRequestBuilderNavigationMetadata = {
|
|
28
|
+
byUnifiedRoleManagementPolicyRuleId: {
|
|
29
|
+
uriTemplate: item_1.UnifiedRoleManagementPolicyRuleItemRequestBuilderUriTemplate,
|
|
30
|
+
requestsMetadata: item_1.UnifiedRoleManagementPolicyRuleItemRequestBuilderRequestsMetadata,
|
|
31
|
+
pathParametersMappings: ["unifiedRoleManagementPolicyRule%2Did"],
|
|
32
|
+
},
|
|
33
|
+
count: {
|
|
34
|
+
uriTemplate: count_1.CountRequestBuilderUriTemplate,
|
|
35
|
+
requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Metadata for all the requests in the request builder.
|
|
40
|
+
*/
|
|
41
|
+
exports.EffectiveRulesRequestBuilderRequestsMetadata = {
|
|
42
|
+
get: {
|
|
43
|
+
responseBodyContentType: "application/json",
|
|
44
|
+
errorMappings: {
|
|
45
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
46
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
47
|
+
},
|
|
48
|
+
adapterMethodName: "sendAsync",
|
|
49
|
+
responseBodyFactory: models_1.createUnifiedRoleManagementPolicyRuleCollectionResponseFromDiscriminatorValue,
|
|
50
|
+
queryParametersMapper: EffectiveRulesRequestBuilderGetQueryParametersMapper,
|
|
51
|
+
},
|
|
52
|
+
post: {
|
|
53
|
+
responseBodyContentType: "application/json",
|
|
54
|
+
errorMappings: {
|
|
55
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
56
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
57
|
+
},
|
|
58
|
+
adapterMethodName: "sendAsync",
|
|
59
|
+
responseBodyFactory: models_1.createUnifiedRoleManagementPolicyRuleFromDiscriminatorValue,
|
|
60
|
+
requestBodyContentType: "application/json",
|
|
61
|
+
requestBodySerializer: models_1.serializeUnifiedRoleManagementPolicyRule,
|
|
62
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* Uri template for the request builder.
|
|
67
|
+
*/
|
|
68
|
+
exports.EffectiveRulesRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicies/{unifiedRoleManagementPolicy%2Did}/effectiveRules{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
69
|
+
/* tslint:enable */
|
|
70
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { type UnifiedRoleManagementPolicyRule } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Provides operations to manage the effectiveRules property of the microsoft.graph.unifiedRoleManagementPolicy entity.
|
|
5
|
+
*/
|
|
6
|
+
export interface UnifiedRoleManagementPolicyRuleItemRequestBuilder extends BaseRequestBuilder<UnifiedRoleManagementPolicyRuleItemRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Delete navigation property effectiveRules for policies
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
*/
|
|
11
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
12
|
+
/**
|
|
13
|
+
* The list of effective rules like approval rules and expiration rules evaluated based on inherited referenced rules. For example, if there is a tenant-wide policy to enforce enabling an approval rule, the effective rule will be to enable approval even if the policy has a rule to disable approval. Supports $expand.
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @returns a Promise of UnifiedRoleManagementPolicyRule
|
|
16
|
+
*/
|
|
17
|
+
get(requestConfiguration?: RequestConfiguration<UnifiedRoleManagementPolicyRuleItemRequestBuilderGetQueryParameters> | undefined): Promise<UnifiedRoleManagementPolicyRule | undefined>;
|
|
18
|
+
/**
|
|
19
|
+
* Update the navigation property effectiveRules in policies
|
|
20
|
+
* @param body The request body
|
|
21
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
+
* @returns a Promise of UnifiedRoleManagementPolicyRule
|
|
23
|
+
*/
|
|
24
|
+
patch(body: UnifiedRoleManagementPolicyRule, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<UnifiedRoleManagementPolicyRule | undefined>;
|
|
25
|
+
/**
|
|
26
|
+
* Delete navigation property effectiveRules for policies
|
|
27
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
28
|
+
* @returns a RequestInformation
|
|
29
|
+
*/
|
|
30
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
31
|
+
/**
|
|
32
|
+
* The list of effective rules like approval rules and expiration rules evaluated based on inherited referenced rules. For example, if there is a tenant-wide policy to enforce enabling an approval rule, the effective rule will be to enable approval even if the policy has a rule to disable approval. Supports $expand.
|
|
33
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
34
|
+
* @returns a RequestInformation
|
|
35
|
+
*/
|
|
36
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<UnifiedRoleManagementPolicyRuleItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
37
|
+
/**
|
|
38
|
+
* Update the navigation property effectiveRules in policies
|
|
39
|
+
* @param body The request body
|
|
40
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
41
|
+
* @returns a RequestInformation
|
|
42
|
+
*/
|
|
43
|
+
toPatchRequestInformation(body: UnifiedRoleManagementPolicyRule, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* The list of effective rules like approval rules and expiration rules evaluated based on inherited referenced rules. For example, if there is a tenant-wide policy to enforce enabling an approval rule, the effective rule will be to enable approval even if the policy has a rule to disable approval. Supports $expand.
|
|
47
|
+
*/
|
|
48
|
+
export interface UnifiedRoleManagementPolicyRuleItemRequestBuilderGetQueryParameters {
|
|
49
|
+
/**
|
|
50
|
+
* Expand related entities
|
|
51
|
+
*/
|
|
52
|
+
expand?: string[];
|
|
53
|
+
/**
|
|
54
|
+
* Select properties to be returned
|
|
55
|
+
*/
|
|
56
|
+
select?: string[];
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Metadata for all the requests in the request builder.
|
|
60
|
+
*/
|
|
61
|
+
export declare const UnifiedRoleManagementPolicyRuleItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
62
|
+
/**
|
|
63
|
+
* Uri template for the request builder.
|
|
64
|
+
*/
|
|
65
|
+
export declare const UnifiedRoleManagementPolicyRuleItemRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicies/{unifiedRoleManagementPolicy%2Did}/effectiveRules/{unifiedRoleManagementPolicyRule%2Did}{?%24select,%24expand}";
|
|
66
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAyG,KAAK,+BAA+B,EAAE,MAAM,gCAAgC,CAAC;AAE7L,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,iDAAkD,SAAQ,kBAAkB,CAAC,iDAAiD,CAAC;IAC5I;;;OAGG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,mEAAmE,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,+BAA+B,GAAG,SAAS,CAAC,CAAC;IAC1L;;;;;OAKG;IACF,KAAK,CAAC,IAAI,EAAE,+BAA+B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,+BAA+B,GAAG,SAAS,CAAC,CAAC;IACtK;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,mEAAmE,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC5K;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,+BAA+B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC3J;AACD;;GAEG;AACH,MAAM,WAAW,mEAAmE;IAChF;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,iEAAiE,EAAE,gBA+B/E,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,4DAA4D,8JAA8J,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UnifiedRoleManagementPolicyRuleItemRequestBuilderUriTemplate = exports.UnifiedRoleManagementPolicyRuleItemRequestBuilderRequestsMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
/**
|
|
10
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
11
|
+
*/
|
|
12
|
+
const UnifiedRoleManagementPolicyRuleItemRequestBuilderGetQueryParametersMapper = {
|
|
13
|
+
"expand": "%24expand",
|
|
14
|
+
"select": "%24select",
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Metadata for all the requests in the request builder.
|
|
18
|
+
*/
|
|
19
|
+
exports.UnifiedRoleManagementPolicyRuleItemRequestBuilderRequestsMetadata = {
|
|
20
|
+
delete: {
|
|
21
|
+
responseBodyContentType: "application/json",
|
|
22
|
+
errorMappings: {
|
|
23
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
24
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
25
|
+
},
|
|
26
|
+
adapterMethodName: "sendNoResponseContentAsync",
|
|
27
|
+
},
|
|
28
|
+
get: {
|
|
29
|
+
responseBodyContentType: "application/json",
|
|
30
|
+
errorMappings: {
|
|
31
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
32
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
33
|
+
},
|
|
34
|
+
adapterMethodName: "sendAsync",
|
|
35
|
+
responseBodyFactory: models_1.createUnifiedRoleManagementPolicyRuleFromDiscriminatorValue,
|
|
36
|
+
queryParametersMapper: UnifiedRoleManagementPolicyRuleItemRequestBuilderGetQueryParametersMapper,
|
|
37
|
+
},
|
|
38
|
+
patch: {
|
|
39
|
+
responseBodyContentType: "application/json",
|
|
40
|
+
errorMappings: {
|
|
41
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
42
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
43
|
+
},
|
|
44
|
+
adapterMethodName: "sendAsync",
|
|
45
|
+
responseBodyFactory: models_1.createUnifiedRoleManagementPolicyRuleFromDiscriminatorValue,
|
|
46
|
+
requestBodyContentType: "application/json",
|
|
47
|
+
requestBodySerializer: models_1.serializeUnifiedRoleManagementPolicyRule,
|
|
48
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Uri template for the request builder.
|
|
53
|
+
*/
|
|
54
|
+
exports.UnifiedRoleManagementPolicyRuleItemRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicies/{unifiedRoleManagementPolicy%2Did}/effectiveRules/{unifiedRoleManagementPolicyRule%2Did}{?%24select,%24expand}";
|
|
55
|
+
/* tslint:enable */
|
|
56
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { type UnifiedRoleManagementPolicy } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type EffectiveRulesRequestBuilder } from './effectiveRules/';
|
|
3
|
+
import { type RulesRequestBuilder } from './rules/';
|
|
4
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
5
|
+
/**
|
|
6
|
+
* Provides operations to manage the roleManagementPolicies property of the microsoft.graph.policyRoot entity.
|
|
7
|
+
*/
|
|
8
|
+
export interface UnifiedRoleManagementPolicyItemRequestBuilder extends BaseRequestBuilder<UnifiedRoleManagementPolicyItemRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to manage the effectiveRules property of the microsoft.graph.unifiedRoleManagementPolicy entity.
|
|
11
|
+
*/
|
|
12
|
+
get effectiveRules(): EffectiveRulesRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to manage the rules property of the microsoft.graph.unifiedRoleManagementPolicy entity.
|
|
15
|
+
*/
|
|
16
|
+
get rules(): RulesRequestBuilder;
|
|
17
|
+
/**
|
|
18
|
+
* Delete navigation property roleManagementPolicies for policies
|
|
19
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
20
|
+
*/
|
|
21
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
22
|
+
/**
|
|
23
|
+
* Retrieve the details of a role management policy.
|
|
24
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
25
|
+
* @returns a Promise of UnifiedRoleManagementPolicy
|
|
26
|
+
* @see {@link https://learn.microsoft.com/graph/api/unifiedrolemanagementpolicy-get?view=graph-rest-1.0|Find more info here}
|
|
27
|
+
*/
|
|
28
|
+
get(requestConfiguration?: RequestConfiguration<UnifiedRoleManagementPolicyItemRequestBuilderGetQueryParameters> | undefined): Promise<UnifiedRoleManagementPolicy | undefined>;
|
|
29
|
+
/**
|
|
30
|
+
* Update the navigation property roleManagementPolicies in policies
|
|
31
|
+
* @param body The request body
|
|
32
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
33
|
+
* @returns a Promise of UnifiedRoleManagementPolicy
|
|
34
|
+
*/
|
|
35
|
+
patch(body: UnifiedRoleManagementPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<UnifiedRoleManagementPolicy | undefined>;
|
|
36
|
+
/**
|
|
37
|
+
* Delete navigation property roleManagementPolicies for policies
|
|
38
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
39
|
+
* @returns a RequestInformation
|
|
40
|
+
*/
|
|
41
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
42
|
+
/**
|
|
43
|
+
* Retrieve the details of a role management policy.
|
|
44
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
45
|
+
* @returns a RequestInformation
|
|
46
|
+
*/
|
|
47
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<UnifiedRoleManagementPolicyItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
48
|
+
/**
|
|
49
|
+
* Update the navigation property roleManagementPolicies in policies
|
|
50
|
+
* @param body The request body
|
|
51
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
52
|
+
* @returns a RequestInformation
|
|
53
|
+
*/
|
|
54
|
+
toPatchRequestInformation(body: UnifiedRoleManagementPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Retrieve the details of a role management policy.
|
|
58
|
+
*/
|
|
59
|
+
export interface UnifiedRoleManagementPolicyItemRequestBuilderGetQueryParameters {
|
|
60
|
+
/**
|
|
61
|
+
* Expand related entities
|
|
62
|
+
*/
|
|
63
|
+
expand?: string[];
|
|
64
|
+
/**
|
|
65
|
+
* Select properties to be returned
|
|
66
|
+
*/
|
|
67
|
+
select?: string[];
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Metadata for all the navigation properties in the request builder.
|
|
71
|
+
*/
|
|
72
|
+
export declare const UnifiedRoleManagementPolicyItemRequestBuilderNavigationMetadata: Record<Exclude<keyof UnifiedRoleManagementPolicyItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
73
|
+
/**
|
|
74
|
+
* Metadata for all the requests in the request builder.
|
|
75
|
+
*/
|
|
76
|
+
export declare const UnifiedRoleManagementPolicyItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
77
|
+
/**
|
|
78
|
+
* Uri template for the request builder.
|
|
79
|
+
*/
|
|
80
|
+
export declare const UnifiedRoleManagementPolicyItemRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicies/{unifiedRoleManagementPolicy%2Did}{?%24select,%24expand}";
|
|
81
|
+
//# sourceMappingURL=index.d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oBAAoB,CAAC,+DAA+D,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACxK;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,2BAA2B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACvJ;AACD;;GAEG;AACH,MAAM,WAAW,+DAA+D;IAC5E;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,+DAA+D,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,6CAA6C,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAWxM,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,6DAA6D,EAAE,gBA+B3E,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,wDAAwD,wGAAwG,CAAC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UnifiedRoleManagementPolicyItemRequestBuilderUriTemplate = exports.UnifiedRoleManagementPolicyItemRequestBuilderRequestsMetadata = exports.UnifiedRoleManagementPolicyItemRequestBuilderNavigationMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
const effectiveRules_1 = require("./effectiveRules/");
|
|
10
|
+
const rules_1 = require("./rules/");
|
|
11
|
+
/**
|
|
12
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
13
|
+
*/
|
|
14
|
+
const UnifiedRoleManagementPolicyItemRequestBuilderGetQueryParametersMapper = {
|
|
15
|
+
"expand": "%24expand",
|
|
16
|
+
"select": "%24select",
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Metadata for all the navigation properties in the request builder.
|
|
20
|
+
*/
|
|
21
|
+
exports.UnifiedRoleManagementPolicyItemRequestBuilderNavigationMetadata = {
|
|
22
|
+
effectiveRules: {
|
|
23
|
+
uriTemplate: effectiveRules_1.EffectiveRulesRequestBuilderUriTemplate,
|
|
24
|
+
requestsMetadata: effectiveRules_1.EffectiveRulesRequestBuilderRequestsMetadata,
|
|
25
|
+
navigationMetadata: effectiveRules_1.EffectiveRulesRequestBuilderNavigationMetadata,
|
|
26
|
+
},
|
|
27
|
+
rules: {
|
|
28
|
+
uriTemplate: rules_1.RulesRequestBuilderUriTemplate,
|
|
29
|
+
requestsMetadata: rules_1.RulesRequestBuilderRequestsMetadata,
|
|
30
|
+
navigationMetadata: rules_1.RulesRequestBuilderNavigationMetadata,
|
|
31
|
+
},
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Metadata for all the requests in the request builder.
|
|
35
|
+
*/
|
|
36
|
+
exports.UnifiedRoleManagementPolicyItemRequestBuilderRequestsMetadata = {
|
|
37
|
+
delete: {
|
|
38
|
+
responseBodyContentType: "application/json",
|
|
39
|
+
errorMappings: {
|
|
40
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
41
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
42
|
+
},
|
|
43
|
+
adapterMethodName: "sendNoResponseContentAsync",
|
|
44
|
+
},
|
|
45
|
+
get: {
|
|
46
|
+
responseBodyContentType: "application/json",
|
|
47
|
+
errorMappings: {
|
|
48
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
49
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
50
|
+
},
|
|
51
|
+
adapterMethodName: "sendAsync",
|
|
52
|
+
responseBodyFactory: models_1.createUnifiedRoleManagementPolicyFromDiscriminatorValue,
|
|
53
|
+
queryParametersMapper: UnifiedRoleManagementPolicyItemRequestBuilderGetQueryParametersMapper,
|
|
54
|
+
},
|
|
55
|
+
patch: {
|
|
56
|
+
responseBodyContentType: "application/json",
|
|
57
|
+
errorMappings: {
|
|
58
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
59
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
60
|
+
},
|
|
61
|
+
adapterMethodName: "sendAsync",
|
|
62
|
+
responseBodyFactory: models_1.createUnifiedRoleManagementPolicyFromDiscriminatorValue,
|
|
63
|
+
requestBodyContentType: "application/json",
|
|
64
|
+
requestBodySerializer: models_1.serializeUnifiedRoleManagementPolicy,
|
|
65
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
66
|
+
},
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* Uri template for the request builder.
|
|
70
|
+
*/
|
|
71
|
+
exports.UnifiedRoleManagementPolicyItemRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicies/{unifiedRoleManagementPolicy%2Did}{?%24select,%24expand}";
|
|
72
|
+
/* tslint:enable */
|
|
73
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Provides operations to count the resources in the collection.
|
|
4
|
+
*/
|
|
5
|
+
export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
|
|
6
|
+
/**
|
|
7
|
+
* Get the number of the resource
|
|
8
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
* @returns a Promise of Integer
|
|
10
|
+
*/
|
|
11
|
+
get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
|
|
12
|
+
/**
|
|
13
|
+
* Get the number of the resource
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @returns a RequestInformation
|
|
16
|
+
*/
|
|
17
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Get the number of the resource
|
|
21
|
+
*/
|
|
22
|
+
export interface CountRequestBuilderGetQueryParameters {
|
|
23
|
+
/**
|
|
24
|
+
* Filter items by property values
|
|
25
|
+
*/
|
|
26
|
+
filter?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Search items by search phrases
|
|
29
|
+
*/
|
|
30
|
+
search?: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Metadata for all the requests in the request builder.
|
|
34
|
+
*/
|
|
35
|
+
export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
36
|
+
/**
|
|
37
|
+
* Uri template for the request builder.
|
|
38
|
+
*/
|
|
39
|
+
export declare const CountRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicies/{unifiedRoleManagementPolicy%2Did}/rules/$count{?%24search,%24filter}";
|
|
40
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAQD;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,qHAAqH,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
8
|
+
/**
|
|
9
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
10
|
+
*/
|
|
11
|
+
const CountRequestBuilderGetQueryParametersMapper = {
|
|
12
|
+
"filter": "%24filter",
|
|
13
|
+
"search": "%24search",
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Metadata for all the requests in the request builder.
|
|
17
|
+
*/
|
|
18
|
+
exports.CountRequestBuilderRequestsMetadata = {
|
|
19
|
+
get: {
|
|
20
|
+
responseBodyContentType: "text/plain;q=0.9",
|
|
21
|
+
errorMappings: {
|
|
22
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
23
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
24
|
+
},
|
|
25
|
+
adapterMethodName: "sendPrimitiveAsync",
|
|
26
|
+
responseBodyFactory: "number",
|
|
27
|
+
queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Uri template for the request builder.
|
|
32
|
+
*/
|
|
33
|
+
exports.CountRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicies/{unifiedRoleManagementPolicy%2Did}/rules/$count{?%24search,%24filter}";
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { type UnifiedRoleManagementPolicyRule, type UnifiedRoleManagementPolicyRuleCollectionResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type CountRequestBuilder } from './count/';
|
|
3
|
+
import { type UnifiedRoleManagementPolicyRuleItemRequestBuilder } from './item/';
|
|
4
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
5
|
+
/**
|
|
6
|
+
* Provides operations to manage the rules property of the microsoft.graph.unifiedRoleManagementPolicy entity.
|
|
7
|
+
*/
|
|
8
|
+
export interface RulesRequestBuilder extends BaseRequestBuilder<RulesRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to count the resources in the collection.
|
|
11
|
+
*/
|
|
12
|
+
get count(): CountRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to manage the rules property of the microsoft.graph.unifiedRoleManagementPolicy entity.
|
|
15
|
+
* @param unifiedRoleManagementPolicyRuleId The unique identifier of unifiedRoleManagementPolicyRule
|
|
16
|
+
* @returns a UnifiedRoleManagementPolicyRuleItemRequestBuilder
|
|
17
|
+
*/
|
|
18
|
+
byUnifiedRoleManagementPolicyRuleId(unifiedRoleManagementPolicyRuleId: string): UnifiedRoleManagementPolicyRuleItemRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* Get the rules or settings defined for a role management policy. The rules are a collection of following types that are derived from the unifiedRoleManagementPolicyRule object:
|
|
21
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
+
* @returns a Promise of UnifiedRoleManagementPolicyRuleCollectionResponse
|
|
23
|
+
* @see {@link https://learn.microsoft.com/graph/api/unifiedrolemanagementpolicy-list-rules?view=graph-rest-1.0|Find more info here}
|
|
24
|
+
*/
|
|
25
|
+
get(requestConfiguration?: RequestConfiguration<RulesRequestBuilderGetQueryParameters> | undefined): Promise<UnifiedRoleManagementPolicyRuleCollectionResponse | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* Create new navigation property to rules for policies
|
|
28
|
+
* @param body The request body
|
|
29
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
|
+
* @returns a Promise of UnifiedRoleManagementPolicyRule
|
|
31
|
+
*/
|
|
32
|
+
post(body: UnifiedRoleManagementPolicyRule, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<UnifiedRoleManagementPolicyRule | undefined>;
|
|
33
|
+
/**
|
|
34
|
+
* Get the rules or settings defined for a role management policy. The rules are a collection of following types that are derived from the unifiedRoleManagementPolicyRule object:
|
|
35
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
|
+
* @returns a RequestInformation
|
|
37
|
+
*/
|
|
38
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<RulesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
39
|
+
/**
|
|
40
|
+
* Create new navigation property to rules for policies
|
|
41
|
+
* @param body The request body
|
|
42
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
43
|
+
* @returns a RequestInformation
|
|
44
|
+
*/
|
|
45
|
+
toPostRequestInformation(body: UnifiedRoleManagementPolicyRule, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Get the rules or settings defined for a role management policy. The rules are a collection of following types that are derived from the unifiedRoleManagementPolicyRule object:
|
|
49
|
+
*/
|
|
50
|
+
export interface RulesRequestBuilderGetQueryParameters {
|
|
51
|
+
/**
|
|
52
|
+
* Include count of items
|
|
53
|
+
*/
|
|
54
|
+
count?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Expand related entities
|
|
57
|
+
*/
|
|
58
|
+
expand?: string[];
|
|
59
|
+
/**
|
|
60
|
+
* Filter items by property values
|
|
61
|
+
*/
|
|
62
|
+
filter?: string;
|
|
63
|
+
/**
|
|
64
|
+
* Order items by property values
|
|
65
|
+
*/
|
|
66
|
+
orderby?: string[];
|
|
67
|
+
/**
|
|
68
|
+
* Search items by search phrases
|
|
69
|
+
*/
|
|
70
|
+
search?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Select properties to be returned
|
|
73
|
+
*/
|
|
74
|
+
select?: string[];
|
|
75
|
+
/**
|
|
76
|
+
* Skip the first n items
|
|
77
|
+
*/
|
|
78
|
+
skip?: number;
|
|
79
|
+
/**
|
|
80
|
+
* Show only the first n items
|
|
81
|
+
*/
|
|
82
|
+
top?: number;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Metadata for all the navigation properties in the request builder.
|
|
86
|
+
*/
|
|
87
|
+
export declare const RulesRequestBuilderNavigationMetadata: Record<Exclude<keyof RulesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
88
|
+
/**
|
|
89
|
+
* Metadata for all the requests in the request builder.
|
|
90
|
+
*/
|
|
91
|
+
export declare const RulesRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
92
|
+
/**
|
|
93
|
+
* Uri template for the request builder.
|
|
94
|
+
*/
|
|
95
|
+
export declare const RulesRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicies/{unifiedRoleManagementPolicy%2Did}/rules{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
96
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","source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