@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,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RulesRequestBuilderUriTemplate = exports.RulesRequestBuilderRequestsMetadata = exports.RulesRequestBuilderNavigationMetadata = 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 RulesRequestBuilderGetQueryParametersMapper = {
|
|
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.RulesRequestBuilderNavigationMetadata = {
|
|
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.RulesRequestBuilderRequestsMetadata = {
|
|
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: RulesRequestBuilderGetQueryParametersMapper,
|
|
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.RulesRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicies/{unifiedRoleManagementPolicy%2Did}/rules{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
69
|
+
/* tslint:enable */
|
|
70
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,68 @@
|
|
|
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 rules property of the microsoft.graph.unifiedRoleManagementPolicy entity.
|
|
5
|
+
*/
|
|
6
|
+
export interface UnifiedRoleManagementPolicyRuleItemRequestBuilder extends BaseRequestBuilder<UnifiedRoleManagementPolicyRuleItemRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Delete navigation property rules 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
|
+
* Retrieve a rule or settings defined for a role management policy. The rule can be one of the following types that are derived from the unifiedRoleManagementPolicyRule object:
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @returns a Promise of UnifiedRoleManagementPolicyRule
|
|
16
|
+
* @see {@link https://learn.microsoft.com/graph/api/unifiedrolemanagementpolicyrule-get?view=graph-rest-1.0|Find more info here}
|
|
17
|
+
*/
|
|
18
|
+
get(requestConfiguration?: RequestConfiguration<UnifiedRoleManagementPolicyRuleItemRequestBuilderGetQueryParameters> | undefined): Promise<UnifiedRoleManagementPolicyRule | undefined>;
|
|
19
|
+
/**
|
|
20
|
+
* Update a rule defined for a role management policy. The rule can be one of the following types that are derived from the unifiedRoleManagementPolicyRule object: For more information about rules for Microsoft Entra roles and examples of updating rules, see the following articles:
|
|
21
|
+
* @param body The request body
|
|
22
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
23
|
+
* @returns a Promise of UnifiedRoleManagementPolicyRule
|
|
24
|
+
* @see {@link https://learn.microsoft.com/graph/api/unifiedrolemanagementpolicyrule-update?view=graph-rest-1.0|Find more info here}
|
|
25
|
+
*/
|
|
26
|
+
patch(body: UnifiedRoleManagementPolicyRule, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<UnifiedRoleManagementPolicyRule | undefined>;
|
|
27
|
+
/**
|
|
28
|
+
* Delete navigation property rules for policies
|
|
29
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
|
+
* @returns a RequestInformation
|
|
31
|
+
*/
|
|
32
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
33
|
+
/**
|
|
34
|
+
* Retrieve a rule or settings defined for a role management policy. The rule can be one of the 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<UnifiedRoleManagementPolicyRuleItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
39
|
+
/**
|
|
40
|
+
* Update a rule defined for a role management policy. The rule can be one of the following types that are derived from the unifiedRoleManagementPolicyRule object: For more information about rules for Microsoft Entra roles and examples of updating rules, see the following articles:
|
|
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
|
+
toPatchRequestInformation(body: UnifiedRoleManagementPolicyRule, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Retrieve a rule or settings defined for a role management policy. The rule can be one of the following types that are derived from the unifiedRoleManagementPolicyRule object:
|
|
49
|
+
*/
|
|
50
|
+
export interface UnifiedRoleManagementPolicyRuleItemRequestBuilderGetQueryParameters {
|
|
51
|
+
/**
|
|
52
|
+
* Expand related entities
|
|
53
|
+
*/
|
|
54
|
+
expand?: string[];
|
|
55
|
+
/**
|
|
56
|
+
* Select properties to be returned
|
|
57
|
+
*/
|
|
58
|
+
select?: string[];
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Metadata for all the requests in the request builder.
|
|
62
|
+
*/
|
|
63
|
+
export declare const UnifiedRoleManagementPolicyRuleItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
64
|
+
/**
|
|
65
|
+
* Uri template for the request builder.
|
|
66
|
+
*/
|
|
67
|
+
export declare const UnifiedRoleManagementPolicyRuleItemRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicies/{unifiedRoleManagementPolicy%2Did}/rules/{unifiedRoleManagementPolicyRule%2Did}{?%24select,%24expand}";
|
|
68
|
+
//# 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;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,mEAAmE,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,+BAA+B,GAAG,SAAS,CAAC,CAAC;IAC1L;;;;;;OAMG;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,qJAAqJ,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}/rules/{unifiedRoleManagementPolicyRule%2Did}{?%24select,%24expand}";
|
|
55
|
+
/* tslint:enable */
|
|
56
|
+
/* 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/roleManagementPolicyAssignments/$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,qFAAqF,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/roleManagementPolicyAssignments/$count{?%24search,%24filter}";
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { type UnifiedRoleManagementPolicyAssignment, type UnifiedRoleManagementPolicyAssignmentCollectionResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type CountRequestBuilder } from './count/';
|
|
3
|
+
import { type UnifiedRoleManagementPolicyAssignmentItemRequestBuilder } 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 roleManagementPolicyAssignments property of the microsoft.graph.policyRoot entity.
|
|
7
|
+
*/
|
|
8
|
+
export interface RoleManagementPolicyAssignmentsRequestBuilder extends BaseRequestBuilder<RoleManagementPolicyAssignmentsRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to count the resources in the collection.
|
|
11
|
+
*/
|
|
12
|
+
get count(): CountRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to manage the roleManagementPolicyAssignments property of the microsoft.graph.policyRoot entity.
|
|
15
|
+
* @param unifiedRoleManagementPolicyAssignmentId The unique identifier of unifiedRoleManagementPolicyAssignment
|
|
16
|
+
* @returns a UnifiedRoleManagementPolicyAssignmentItemRequestBuilder
|
|
17
|
+
*/
|
|
18
|
+
byUnifiedRoleManagementPolicyAssignmentId(unifiedRoleManagementPolicyAssignmentId: string): UnifiedRoleManagementPolicyAssignmentItemRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* Get the details of all role management policy assignments made in PIM for Microsoft Entra roles and PIM for groups.
|
|
21
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
+
* @returns a Promise of UnifiedRoleManagementPolicyAssignmentCollectionResponse
|
|
23
|
+
* @see {@link https://learn.microsoft.com/graph/api/policyroot-list-rolemanagementpolicyassignments?view=graph-rest-1.0|Find more info here}
|
|
24
|
+
*/
|
|
25
|
+
get(requestConfiguration?: RequestConfiguration<RoleManagementPolicyAssignmentsRequestBuilderGetQueryParameters> | undefined): Promise<UnifiedRoleManagementPolicyAssignmentCollectionResponse | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* Create new navigation property to roleManagementPolicyAssignments 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 UnifiedRoleManagementPolicyAssignment
|
|
31
|
+
*/
|
|
32
|
+
post(body: UnifiedRoleManagementPolicyAssignment, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<UnifiedRoleManagementPolicyAssignment | undefined>;
|
|
33
|
+
/**
|
|
34
|
+
* Get the details of all role management policy assignments made in PIM for Microsoft Entra roles and PIM for groups.
|
|
35
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
|
+
* @returns a RequestInformation
|
|
37
|
+
*/
|
|
38
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<RoleManagementPolicyAssignmentsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
39
|
+
/**
|
|
40
|
+
* Create new navigation property to roleManagementPolicyAssignments 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: UnifiedRoleManagementPolicyAssignment, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Get the details of all role management policy assignments made in PIM for Microsoft Entra roles and PIM for groups.
|
|
49
|
+
*/
|
|
50
|
+
export interface RoleManagementPolicyAssignmentsRequestBuilderGetQueryParameters {
|
|
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 RoleManagementPolicyAssignmentsRequestBuilderNavigationMetadata: Record<Exclude<keyof RoleManagementPolicyAssignmentsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
88
|
+
/**
|
|
89
|
+
* Metadata for all the requests in the request builder.
|
|
90
|
+
*/
|
|
91
|
+
export declare const RoleManagementPolicyAssignmentsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
92
|
+
/**
|
|
93
|
+
* Uri template for the request builder.
|
|
94
|
+
*/
|
|
95
|
+
export declare const RoleManagementPolicyAssignmentsRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicyAssignments{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
96
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA0M,KAAK,qCAAqC,EAAE,KAAK,uDAAuD,EAAE,MAAM,gCAAgC,CAAC;AAElW,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAE,KAAK,uDAAuD,EAA0N,MAAM,SAAS,CAAC;AAC/S,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,6CAA8C,SAAQ,kBAAkB,CAAC,6CAA6C,CAAC;IACpI;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,yCAAyC,CAAC,uCAAuC,EAAE,MAAM,GAAI,uDAAuD,CAAC;IACtJ;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,+DAA+D,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,uDAAuD,GAAG,SAAS,CAAC,CAAC;IAC9M;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,qCAAqC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,qCAAqC,GAAG,SAAS,CAAC,CAAC;IACjL;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,+DAA+D,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACxK;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,qCAAqC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAChK;AACD;;GAEG;AACH,MAAM,WAAW,+DAA+D;IAC5E;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;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,+DAA+D,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,6CAA6C,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAWxM,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,6DAA6D,EAAE,gBAuB3E,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,wDAAwD,qIAAqI,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RoleManagementPolicyAssignmentsRequestBuilderUriTemplate = exports.RoleManagementPolicyAssignmentsRequestBuilderRequestsMetadata = exports.RoleManagementPolicyAssignmentsRequestBuilderNavigationMetadata = 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 RoleManagementPolicyAssignmentsRequestBuilderGetQueryParametersMapper = {
|
|
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.RoleManagementPolicyAssignmentsRequestBuilderNavigationMetadata = {
|
|
28
|
+
byUnifiedRoleManagementPolicyAssignmentId: {
|
|
29
|
+
uriTemplate: item_1.UnifiedRoleManagementPolicyAssignmentItemRequestBuilderUriTemplate,
|
|
30
|
+
requestsMetadata: item_1.UnifiedRoleManagementPolicyAssignmentItemRequestBuilderRequestsMetadata,
|
|
31
|
+
navigationMetadata: item_1.UnifiedRoleManagementPolicyAssignmentItemRequestBuilderNavigationMetadata,
|
|
32
|
+
pathParametersMappings: ["unifiedRoleManagementPolicyAssignment%2Did"],
|
|
33
|
+
},
|
|
34
|
+
count: {
|
|
35
|
+
uriTemplate: count_1.CountRequestBuilderUriTemplate,
|
|
36
|
+
requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Metadata for all the requests in the request builder.
|
|
41
|
+
*/
|
|
42
|
+
exports.RoleManagementPolicyAssignmentsRequestBuilderRequestsMetadata = {
|
|
43
|
+
get: {
|
|
44
|
+
responseBodyContentType: "application/json",
|
|
45
|
+
errorMappings: {
|
|
46
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
47
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
48
|
+
},
|
|
49
|
+
adapterMethodName: "sendAsync",
|
|
50
|
+
responseBodyFactory: models_1.createUnifiedRoleManagementPolicyAssignmentCollectionResponseFromDiscriminatorValue,
|
|
51
|
+
queryParametersMapper: RoleManagementPolicyAssignmentsRequestBuilderGetQueryParametersMapper,
|
|
52
|
+
},
|
|
53
|
+
post: {
|
|
54
|
+
responseBodyContentType: "application/json",
|
|
55
|
+
errorMappings: {
|
|
56
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
57
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
58
|
+
},
|
|
59
|
+
adapterMethodName: "sendAsync",
|
|
60
|
+
responseBodyFactory: models_1.createUnifiedRoleManagementPolicyAssignmentFromDiscriminatorValue,
|
|
61
|
+
requestBodyContentType: "application/json",
|
|
62
|
+
requestBodySerializer: models_1.serializeUnifiedRoleManagementPolicyAssignment,
|
|
63
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
64
|
+
},
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Uri template for the request builder.
|
|
68
|
+
*/
|
|
69
|
+
exports.RoleManagementPolicyAssignmentsRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicyAssignments{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
70
|
+
/* tslint:enable */
|
|
71
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { type UnifiedRoleManagementPolicyAssignment } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type PolicyRequestBuilder } from './policy/';
|
|
3
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
4
|
+
/**
|
|
5
|
+
* Provides operations to manage the roleManagementPolicyAssignments property of the microsoft.graph.policyRoot entity.
|
|
6
|
+
*/
|
|
7
|
+
export interface UnifiedRoleManagementPolicyAssignmentItemRequestBuilder extends BaseRequestBuilder<UnifiedRoleManagementPolicyAssignmentItemRequestBuilder> {
|
|
8
|
+
/**
|
|
9
|
+
* Provides operations to manage the policy property of the microsoft.graph.unifiedRoleManagementPolicyAssignment entity.
|
|
10
|
+
*/
|
|
11
|
+
get policy(): PolicyRequestBuilder;
|
|
12
|
+
/**
|
|
13
|
+
* Delete navigation property roleManagementPolicyAssignments for policies
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
*/
|
|
16
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
17
|
+
/**
|
|
18
|
+
* Get the details of a policy assignment in PIM that's assigned to Microsoft Entra roles or group membership or ownership.
|
|
19
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
20
|
+
* @returns a Promise of UnifiedRoleManagementPolicyAssignment
|
|
21
|
+
* @see {@link https://learn.microsoft.com/graph/api/unifiedrolemanagementpolicyassignment-get?view=graph-rest-1.0|Find more info here}
|
|
22
|
+
*/
|
|
23
|
+
get(requestConfiguration?: RequestConfiguration<UnifiedRoleManagementPolicyAssignmentItemRequestBuilderGetQueryParameters> | undefined): Promise<UnifiedRoleManagementPolicyAssignment | undefined>;
|
|
24
|
+
/**
|
|
25
|
+
* Update the navigation property roleManagementPolicyAssignments in policies
|
|
26
|
+
* @param body The request body
|
|
27
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
28
|
+
* @returns a Promise of UnifiedRoleManagementPolicyAssignment
|
|
29
|
+
*/
|
|
30
|
+
patch(body: UnifiedRoleManagementPolicyAssignment, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<UnifiedRoleManagementPolicyAssignment | undefined>;
|
|
31
|
+
/**
|
|
32
|
+
* Delete navigation property roleManagementPolicyAssignments for policies
|
|
33
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
34
|
+
* @returns a RequestInformation
|
|
35
|
+
*/
|
|
36
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
37
|
+
/**
|
|
38
|
+
* Get the details of a policy assignment in PIM that's assigned to Microsoft Entra roles or group membership or ownership.
|
|
39
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
40
|
+
* @returns a RequestInformation
|
|
41
|
+
*/
|
|
42
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<UnifiedRoleManagementPolicyAssignmentItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
43
|
+
/**
|
|
44
|
+
* Update the navigation property roleManagementPolicyAssignments in policies
|
|
45
|
+
* @param body The request body
|
|
46
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
47
|
+
* @returns a RequestInformation
|
|
48
|
+
*/
|
|
49
|
+
toPatchRequestInformation(body: UnifiedRoleManagementPolicyAssignment, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Get the details of a policy assignment in PIM that's assigned to Microsoft Entra roles or group membership or ownership.
|
|
53
|
+
*/
|
|
54
|
+
export interface UnifiedRoleManagementPolicyAssignmentItemRequestBuilderGetQueryParameters {
|
|
55
|
+
/**
|
|
56
|
+
* Expand related entities
|
|
57
|
+
*/
|
|
58
|
+
expand?: string[];
|
|
59
|
+
/**
|
|
60
|
+
* Select properties to be returned
|
|
61
|
+
*/
|
|
62
|
+
select?: string[];
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Metadata for all the navigation properties in the request builder.
|
|
66
|
+
*/
|
|
67
|
+
export declare const UnifiedRoleManagementPolicyAssignmentItemRequestBuilderNavigationMetadata: Record<Exclude<keyof UnifiedRoleManagementPolicyAssignmentItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
68
|
+
/**
|
|
69
|
+
* Metadata for all the requests in the request builder.
|
|
70
|
+
*/
|
|
71
|
+
export declare const UnifiedRoleManagementPolicyAssignmentItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
72
|
+
/**
|
|
73
|
+
* Uri template for the request builder.
|
|
74
|
+
*/
|
|
75
|
+
export declare const UnifiedRoleManagementPolicyAssignmentItemRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicyAssignments/{unifiedRoleManagementPolicyAssignment%2Did}{?%24select,%24expand}";
|
|
76
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAqH,KAAK,qCAAqC,EAAE,MAAM,gCAAgC,CAAC;AAE/M,OAAO,EAAyE,KAAK,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAC7H,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,uDAAwD,SAAQ,kBAAkB,CAAC,uDAAuD,CAAC;IACxJ;;OAEG;IACH,IAAI,MAAM,IAAI,oBAAoB,CAAC;IACnC;;;OAGG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yEAAyE,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,qCAAqC,GAAG,SAAS,CAAC,CAAC;IACtM;;;;;OAKG;IACF,KAAK,CAAC,IAAI,EAAE,qCAAqC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,qCAAqC,GAAG,SAAS,CAAC,CAAC;IAClL;;;;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,yEAAyE,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClL;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,qCAAqC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjK;AACD;;GAEG;AACH,MAAM,WAAW,yEAAyE;IACtF;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,yEAAyE,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,uDAAuD,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAK5N,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,uEAAuE,EAAE,gBA+BrF,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,kEAAkE,2HAA2H,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UnifiedRoleManagementPolicyAssignmentItemRequestBuilderUriTemplate = exports.UnifiedRoleManagementPolicyAssignmentItemRequestBuilderRequestsMetadata = exports.UnifiedRoleManagementPolicyAssignmentItemRequestBuilderNavigationMetadata = 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 policy_1 = require("./policy/");
|
|
10
|
+
/**
|
|
11
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
12
|
+
*/
|
|
13
|
+
const UnifiedRoleManagementPolicyAssignmentItemRequestBuilderGetQueryParametersMapper = {
|
|
14
|
+
"expand": "%24expand",
|
|
15
|
+
"select": "%24select",
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Metadata for all the navigation properties in the request builder.
|
|
19
|
+
*/
|
|
20
|
+
exports.UnifiedRoleManagementPolicyAssignmentItemRequestBuilderNavigationMetadata = {
|
|
21
|
+
policy: {
|
|
22
|
+
uriTemplate: policy_1.PolicyRequestBuilderUriTemplate,
|
|
23
|
+
requestsMetadata: policy_1.PolicyRequestBuilderRequestsMetadata,
|
|
24
|
+
},
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Metadata for all the requests in the request builder.
|
|
28
|
+
*/
|
|
29
|
+
exports.UnifiedRoleManagementPolicyAssignmentItemRequestBuilderRequestsMetadata = {
|
|
30
|
+
delete: {
|
|
31
|
+
responseBodyContentType: "application/json",
|
|
32
|
+
errorMappings: {
|
|
33
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
34
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
35
|
+
},
|
|
36
|
+
adapterMethodName: "sendNoResponseContentAsync",
|
|
37
|
+
},
|
|
38
|
+
get: {
|
|
39
|
+
responseBodyContentType: "application/json",
|
|
40
|
+
errorMappings: {
|
|
41
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
42
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
43
|
+
},
|
|
44
|
+
adapterMethodName: "sendAsync",
|
|
45
|
+
responseBodyFactory: models_1.createUnifiedRoleManagementPolicyAssignmentFromDiscriminatorValue,
|
|
46
|
+
queryParametersMapper: UnifiedRoleManagementPolicyAssignmentItemRequestBuilderGetQueryParametersMapper,
|
|
47
|
+
},
|
|
48
|
+
patch: {
|
|
49
|
+
responseBodyContentType: "application/json",
|
|
50
|
+
errorMappings: {
|
|
51
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
52
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
53
|
+
},
|
|
54
|
+
adapterMethodName: "sendAsync",
|
|
55
|
+
responseBodyFactory: models_1.createUnifiedRoleManagementPolicyAssignmentFromDiscriminatorValue,
|
|
56
|
+
requestBodyContentType: "application/json",
|
|
57
|
+
requestBodySerializer: models_1.serializeUnifiedRoleManagementPolicyAssignment,
|
|
58
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
59
|
+
},
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Uri template for the request builder.
|
|
63
|
+
*/
|
|
64
|
+
exports.UnifiedRoleManagementPolicyAssignmentItemRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicyAssignments/{unifiedRoleManagementPolicyAssignment%2Did}{?%24select,%24expand}";
|
|
65
|
+
/* tslint:enable */
|
|
66
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { type UnifiedRoleManagementPolicy } 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 policy property of the microsoft.graph.unifiedRoleManagementPolicyAssignment entity.
|
|
5
|
+
*/
|
|
6
|
+
export interface PolicyRequestBuilder extends BaseRequestBuilder<PolicyRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* The policy that's associated with a policy assignment. Supports $expand and a nested $expand of the rules and effectiveRules relationships for the policy.
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @returns a Promise of UnifiedRoleManagementPolicy
|
|
11
|
+
*/
|
|
12
|
+
get(requestConfiguration?: RequestConfiguration<PolicyRequestBuilderGetQueryParameters> | undefined): Promise<UnifiedRoleManagementPolicy | undefined>;
|
|
13
|
+
/**
|
|
14
|
+
* The policy that's associated with a policy assignment. Supports $expand and a nested $expand of the rules and effectiveRules relationships for the policy.
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns a RequestInformation
|
|
17
|
+
*/
|
|
18
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<PolicyRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* The policy that's associated with a policy assignment. Supports $expand and a nested $expand of the rules and effectiveRules relationships for the policy.
|
|
22
|
+
*/
|
|
23
|
+
export interface PolicyRequestBuilderGetQueryParameters {
|
|
24
|
+
/**
|
|
25
|
+
* Expand related entities
|
|
26
|
+
*/
|
|
27
|
+
expand?: string[];
|
|
28
|
+
/**
|
|
29
|
+
* Select properties to be returned
|
|
30
|
+
*/
|
|
31
|
+
select?: string[];
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Metadata for all the requests in the request builder.
|
|
35
|
+
*/
|
|
36
|
+
export declare const PolicyRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
37
|
+
/**
|
|
38
|
+
* Uri template for the request builder.
|
|
39
|
+
*/
|
|
40
|
+
export declare const PolicyRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicyAssignments/{unifiedRoleManagementPolicyAssignment%2Did}/policy{?%24select,%24expand}";
|
|
41
|
+
//# sourceMappingURL=index.d.ts.map
|