@azure/arm-policy 6.0.0 → 7.0.0
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/README.md +11 -11
- package/dist/browser/api/index.d.ts +2 -0
- package/dist/browser/api/index.js +4 -0
- package/dist/browser/api/index.js.map +1 -0
- package/dist/browser/api/policyAssignments/index.d.ts +3 -0
- package/dist/browser/api/policyAssignments/index.js +4 -0
- package/dist/browser/api/policyAssignments/index.js.map +1 -0
- package/dist/browser/api/policyAssignments/operations.d.ts +43 -0
- package/dist/browser/api/policyAssignments/operations.js +243 -0
- package/dist/browser/api/policyAssignments/operations.js.map +1 -0
- package/dist/browser/api/policyAssignments/options.d.ts +52 -0
- package/dist/browser/api/policyAssignments/options.js +4 -0
- package/dist/browser/api/policyAssignments/options.js.map +1 -0
- package/dist/browser/api/policyContext.d.ts +22 -0
- package/dist/browser/api/policyContext.js +24 -0
- package/dist/browser/api/policyContext.js.map +1 -0
- package/dist/browser/api/policyDefinitionVersions/index.d.ts +3 -0
- package/dist/browser/api/policyDefinitionVersions/index.js +4 -0
- package/dist/browser/api/policyDefinitionVersions/index.js.map +1 -0
- package/dist/browser/api/policyDefinitionVersions/operations.d.ts +63 -0
- package/dist/browser/api/policyDefinitionVersions/operations.js +366 -0
- package/dist/browser/api/policyDefinitionVersions/operations.js.map +1 -0
- package/dist/browser/api/policyDefinitionVersions/options.d.ts +47 -0
- package/dist/browser/api/policyDefinitionVersions/options.js +4 -0
- package/dist/browser/api/policyDefinitionVersions/options.js.map +1 -0
- package/dist/browser/api/policyDefinitions/index.d.ts +3 -0
- package/dist/browser/api/policyDefinitions/index.js +4 -0
- package/dist/browser/api/policyDefinitions/index.js.map +1 -0
- package/dist/browser/api/policyDefinitions/operations.d.ts +51 -0
- package/dist/browser/api/policyDefinitions/operations.js +278 -0
- package/dist/browser/api/policyDefinitions/operations.js.map +1 -0
- package/dist/browser/api/policyDefinitions/options.d.ts +44 -0
- package/dist/browser/api/policyDefinitions/options.js +4 -0
- package/dist/browser/api/policyDefinitions/options.js.map +1 -0
- package/dist/browser/api/policySetDefinitionVersions/index.d.ts +3 -0
- package/dist/browser/api/policySetDefinitionVersions/index.js +4 -0
- package/dist/browser/api/policySetDefinitionVersions/index.js.map +1 -0
- package/dist/browser/api/policySetDefinitionVersions/operations.d.ts +63 -0
- package/dist/browser/api/policySetDefinitionVersions/operations.js +380 -0
- package/dist/browser/api/policySetDefinitionVersions/operations.js.map +1 -0
- package/dist/browser/api/policySetDefinitionVersions/options.d.ts +59 -0
- package/dist/browser/api/policySetDefinitionVersions/options.js +4 -0
- package/dist/browser/api/policySetDefinitionVersions/options.js.map +1 -0
- package/dist/browser/api/policySetDefinitions/index.d.ts +3 -0
- package/dist/browser/api/policySetDefinitions/index.js +4 -0
- package/dist/browser/api/policySetDefinitions/index.js.map +1 -0
- package/dist/browser/api/policySetDefinitions/operations.d.ts +51 -0
- package/dist/browser/api/policySetDefinitions/operations.js +288 -0
- package/dist/browser/api/policySetDefinitions/operations.js.map +1 -0
- package/dist/browser/api/policySetDefinitions/options.d.ts +56 -0
- package/dist/browser/api/policySetDefinitions/options.js +4 -0
- package/dist/browser/api/policySetDefinitions/options.js.map +1 -0
- package/dist/browser/api/policyTokens/index.d.ts +3 -0
- package/dist/browser/api/policyTokens/index.js +4 -0
- package/dist/browser/api/policyTokens/index.js.map +1 -0
- package/dist/browser/api/policyTokens/operations.d.ts +13 -0
- package/dist/browser/api/policyTokens/operations.js +62 -0
- package/dist/browser/api/policyTokens/operations.js.map +1 -0
- package/dist/browser/api/policyTokens/options.d.ts +8 -0
- package/dist/browser/api/policyTokens/options.js +4 -0
- package/dist/browser/api/policyTokens/options.js.map +1 -0
- package/dist/browser/classic/index.d.ts +7 -0
- package/dist/browser/classic/index.js +4 -0
- package/dist/browser/classic/index.js.map +1 -0
- package/dist/browser/classic/policyAssignments/index.d.ts +30 -0
- package/dist/browser/classic/policyAssignments/index.js +21 -0
- package/dist/browser/classic/policyAssignments/index.js.map +1 -0
- package/dist/browser/classic/policyDefinitionVersions/index.d.ts +40 -0
- package/dist/browser/classic/policyDefinitionVersions/index.js +26 -0
- package/dist/browser/classic/policyDefinitionVersions/index.js.map +1 -0
- package/dist/browser/classic/policyDefinitions/index.d.ts +34 -0
- package/dist/browser/classic/policyDefinitions/index.js +23 -0
- package/dist/browser/classic/policyDefinitions/index.js.map +1 -0
- package/dist/browser/classic/policySetDefinitionVersions/index.d.ts +40 -0
- package/dist/browser/classic/policySetDefinitionVersions/index.js +26 -0
- package/dist/browser/classic/policySetDefinitionVersions/index.js.map +1 -0
- package/dist/browser/classic/policySetDefinitions/index.d.ts +34 -0
- package/dist/browser/classic/policySetDefinitions/index.js +23 -0
- package/dist/browser/classic/policySetDefinitions/index.js.map +1 -0
- package/dist/browser/classic/policyTokens/index.d.ts +12 -0
- package/dist/browser/classic/policyTokens/index.js +15 -0
- package/dist/browser/classic/policyTokens/index.js.map +1 -0
- package/dist/browser/index.d.ts +13 -3
- package/dist/browser/index.js +5 -11
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/logger.d.ts +2 -0
- package/dist/browser/logger.js +5 -0
- package/dist/browser/logger.js.map +1 -0
- package/dist/browser/models/index.d.ts +1 -1080
- package/dist/browser/models/index.js +3 -89
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +941 -0
- package/dist/browser/models/models.js +1306 -0
- package/dist/browser/models/models.js.map +1 -0
- package/dist/browser/policyClient.d.ts +28 -23
- package/dist/browser/policyClient.js +43 -88
- package/dist/browser/policyClient.js.map +1 -1
- package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/browser/static-helpers/pagingHelpers.js +143 -0
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
- package/dist/browser/static-helpers/serialization/check-prop-undefined.js +17 -0
- package/dist/browser/static-helpers/serialization/check-prop-undefined.js.map +1 -0
- package/dist/browser/static-helpers/serialization/serialize-record.d.ts +2 -0
- package/dist/browser/static-helpers/serialization/serialize-record.js +19 -0
- package/dist/browser/static-helpers/serialization/serialize-record.js.map +1 -0
- package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/browser/static-helpers/urlTemplate.js +200 -0
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
- package/dist/commonjs/api/index.d.ts +2 -0
- package/dist/commonjs/api/index.js +31 -0
- package/dist/commonjs/api/index.js.map +7 -0
- package/dist/commonjs/api/policyAssignments/index.d.ts +3 -0
- package/dist/commonjs/api/policyAssignments/index.js +58 -0
- package/dist/commonjs/api/policyAssignments/index.js.map +7 -0
- package/dist/commonjs/api/policyAssignments/operations.d.ts +43 -0
- package/dist/commonjs/api/policyAssignments/operations.js +363 -0
- package/dist/commonjs/api/policyAssignments/operations.js.map +7 -0
- package/dist/commonjs/api/policyAssignments/options.d.ts +52 -0
- package/dist/commonjs/api/policyAssignments/options.js +15 -0
- package/dist/commonjs/api/policyAssignments/options.js.map +7 -0
- package/dist/commonjs/api/policyContext.d.ts +22 -0
- package/dist/commonjs/api/policyContext.js +44 -0
- package/dist/commonjs/api/policyContext.js.map +7 -0
- package/dist/commonjs/api/policyDefinitionVersions/index.d.ts +3 -0
- package/dist/commonjs/api/policyDefinitionVersions/index.js +78 -0
- package/dist/commonjs/api/policyDefinitionVersions/index.js.map +7 -0
- package/dist/commonjs/api/policyDefinitionVersions/operations.d.ts +63 -0
- package/dist/commonjs/api/policyDefinitionVersions/operations.js +552 -0
- package/dist/commonjs/api/policyDefinitionVersions/operations.js.map +7 -0
- package/dist/commonjs/api/policyDefinitionVersions/options.d.ts +47 -0
- package/dist/commonjs/api/policyDefinitionVersions/options.js +15 -0
- package/dist/commonjs/api/policyDefinitionVersions/options.js.map +7 -0
- package/dist/commonjs/api/policyDefinitions/index.d.ts +3 -0
- package/dist/commonjs/api/policyDefinitions/index.js +66 -0
- package/dist/commonjs/api/policyDefinitions/index.js.map +7 -0
- package/dist/commonjs/api/policyDefinitions/operations.d.ts +51 -0
- package/dist/commonjs/api/policyDefinitions/operations.js +418 -0
- package/dist/commonjs/api/policyDefinitions/operations.js.map +7 -0
- package/dist/commonjs/api/policyDefinitions/options.d.ts +44 -0
- package/dist/commonjs/api/policyDefinitions/options.js +15 -0
- package/dist/commonjs/api/policyDefinitions/options.js.map +7 -0
- package/dist/commonjs/api/policySetDefinitionVersions/index.d.ts +3 -0
- package/dist/commonjs/api/policySetDefinitionVersions/index.js +78 -0
- package/dist/commonjs/api/policySetDefinitionVersions/index.js.map +7 -0
- package/dist/commonjs/api/policySetDefinitionVersions/operations.d.ts +63 -0
- package/dist/commonjs/api/policySetDefinitionVersions/operations.js +566 -0
- package/dist/commonjs/api/policySetDefinitionVersions/operations.js.map +7 -0
- package/dist/commonjs/api/policySetDefinitionVersions/options.d.ts +59 -0
- package/dist/commonjs/api/policySetDefinitionVersions/options.js +15 -0
- package/dist/commonjs/api/policySetDefinitionVersions/options.js.map +7 -0
- package/dist/commonjs/api/policySetDefinitions/index.d.ts +3 -0
- package/dist/commonjs/api/policySetDefinitions/index.js +66 -0
- package/dist/commonjs/api/policySetDefinitions/index.js.map +7 -0
- package/dist/commonjs/api/policySetDefinitions/operations.d.ts +51 -0
- package/dist/commonjs/api/policySetDefinitions/operations.js +428 -0
- package/dist/commonjs/api/policySetDefinitions/operations.js.map +7 -0
- package/dist/commonjs/api/policySetDefinitions/options.d.ts +56 -0
- package/dist/commonjs/api/policySetDefinitions/options.js +15 -0
- package/dist/commonjs/api/policySetDefinitions/options.js.map +7 -0
- package/dist/commonjs/api/policyTokens/index.d.ts +3 -0
- package/dist/commonjs/api/policyTokens/index.js +34 -0
- package/dist/commonjs/api/policyTokens/index.js.map +7 -0
- package/dist/commonjs/api/policyTokens/operations.d.ts +13 -0
- package/dist/commonjs/api/policyTokens/operations.js +106 -0
- package/dist/commonjs/api/policyTokens/operations.js.map +7 -0
- package/dist/commonjs/api/policyTokens/options.d.ts +8 -0
- package/dist/commonjs/api/policyTokens/options.js +15 -0
- package/dist/commonjs/api/policyTokens/options.js.map +7 -0
- package/dist/commonjs/classic/index.d.ts +7 -0
- package/dist/commonjs/classic/index.js +42 -0
- package/dist/commonjs/classic/index.js.map +7 -0
- package/dist/commonjs/classic/policyAssignments/index.d.ts +30 -0
- package/dist/commonjs/classic/policyAssignments/index.js +52 -0
- package/dist/commonjs/classic/policyAssignments/index.js.map +7 -0
- package/dist/commonjs/classic/policyDefinitionVersions/index.d.ts +40 -0
- package/dist/commonjs/classic/policyDefinitionVersions/index.js +68 -0
- package/dist/commonjs/classic/policyDefinitionVersions/index.js.map +7 -0
- package/dist/commonjs/classic/policyDefinitions/index.d.ts +34 -0
- package/dist/commonjs/classic/policyDefinitions/index.js +52 -0
- package/dist/commonjs/classic/policyDefinitions/index.js.map +7 -0
- package/dist/commonjs/classic/policySetDefinitionVersions/index.d.ts +40 -0
- package/dist/commonjs/classic/policySetDefinitionVersions/index.js +74 -0
- package/dist/commonjs/classic/policySetDefinitionVersions/index.js.map +7 -0
- package/dist/commonjs/classic/policySetDefinitions/index.d.ts +34 -0
- package/dist/commonjs/classic/policySetDefinitions/index.js +52 -0
- package/dist/commonjs/classic/policySetDefinitions/index.js.map +7 -0
- package/dist/commonjs/classic/policyTokens/index.d.ts +12 -0
- package/dist/commonjs/classic/policyTokens/index.js +38 -0
- package/dist/commonjs/classic/policyTokens/index.js.map +7 -0
- package/dist/commonjs/index.d.ts +13 -3
- package/dist/commonjs/index.js +288 -19
- package/dist/commonjs/index.js.map +7 -1
- package/dist/commonjs/logger.d.ts +2 -0
- package/dist/commonjs/logger.js +28 -0
- package/dist/commonjs/logger.js.map +7 -0
- package/dist/commonjs/models/index.d.ts +1 -1080
- package/dist/commonjs/models/index.js +139 -93
- package/dist/commonjs/models/index.js.map +7 -1
- package/dist/commonjs/models/models.d.ts +941 -0
- package/dist/commonjs/models/models.js +1322 -0
- package/dist/commonjs/models/models.js.map +7 -0
- package/dist/commonjs/policyClient.d.ts +28 -23
- package/dist/commonjs/policyClient.js +74 -101
- package/dist/commonjs/policyClient.js.map +7 -1
- package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js +51 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js +142 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js +34 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js.map +7 -0
- package/dist/commonjs/static-helpers/serialization/serialize-record.d.ts +2 -0
- package/dist/commonjs/static-helpers/serialization/serialize-record.js +41 -0
- package/dist/commonjs/static-helpers/serialization/serialize-record.js.map +7 -0
- package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/commonjs/static-helpers/urlTemplate.js +196 -0
- package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/esm/api/index.d.ts +2 -0
- package/dist/esm/api/index.js +6 -0
- package/dist/esm/api/index.js.map +7 -0
- package/dist/esm/api/policyAssignments/index.d.ts +3 -0
- package/dist/esm/api/policyAssignments/index.js +38 -0
- package/dist/esm/api/policyAssignments/index.js.map +7 -0
- package/dist/esm/api/policyAssignments/operations.d.ts +43 -0
- package/dist/esm/api/policyAssignments/operations.js +323 -0
- package/dist/esm/api/policyAssignments/operations.js.map +7 -0
- package/dist/esm/api/policyAssignments/options.d.ts +52 -0
- package/dist/esm/api/policyAssignments/options.js +0 -0
- package/dist/esm/api/policyAssignments/options.js.map +7 -0
- package/dist/esm/api/policyContext.d.ts +22 -0
- package/dist/esm/api/policyContext.js +21 -0
- package/dist/esm/api/policyContext.js.map +7 -0
- package/dist/esm/api/policyDefinitionVersions/index.d.ts +3 -0
- package/dist/esm/api/policyDefinitionVersions/index.js +58 -0
- package/dist/esm/api/policyDefinitionVersions/index.js.map +7 -0
- package/dist/esm/api/policyDefinitionVersions/operations.d.ts +63 -0
- package/dist/esm/api/policyDefinitionVersions/operations.js +496 -0
- package/dist/esm/api/policyDefinitionVersions/operations.js.map +7 -0
- package/dist/esm/api/policyDefinitionVersions/options.d.ts +47 -0
- package/dist/esm/api/policyDefinitionVersions/options.js +0 -0
- package/dist/esm/api/policyDefinitionVersions/options.js.map +7 -0
- package/dist/esm/api/policyDefinitions/index.d.ts +3 -0
- package/dist/esm/api/policyDefinitions/index.js +46 -0
- package/dist/esm/api/policyDefinitions/index.js.map +7 -0
- package/dist/esm/api/policyDefinitions/operations.d.ts +51 -0
- package/dist/esm/api/policyDefinitions/operations.js +371 -0
- package/dist/esm/api/policyDefinitions/operations.js.map +7 -0
- package/dist/esm/api/policyDefinitions/options.d.ts +44 -0
- package/dist/esm/api/policyDefinitions/options.js +0 -0
- package/dist/esm/api/policyDefinitions/options.js.map +7 -0
- package/dist/esm/api/policySetDefinitionVersions/index.d.ts +3 -0
- package/dist/esm/api/policySetDefinitionVersions/index.js +58 -0
- package/dist/esm/api/policySetDefinitionVersions/index.js.map +7 -0
- package/dist/esm/api/policySetDefinitionVersions/operations.d.ts +63 -0
- package/dist/esm/api/policySetDefinitionVersions/operations.js +510 -0
- package/dist/esm/api/policySetDefinitionVersions/operations.js.map +7 -0
- package/dist/esm/api/policySetDefinitionVersions/options.d.ts +59 -0
- package/dist/esm/api/policySetDefinitionVersions/options.js +0 -0
- package/dist/esm/api/policySetDefinitionVersions/options.js.map +7 -0
- package/dist/esm/api/policySetDefinitions/index.d.ts +3 -0
- package/dist/esm/api/policySetDefinitions/index.js +46 -0
- package/dist/esm/api/policySetDefinitions/index.js.map +7 -0
- package/dist/esm/api/policySetDefinitions/operations.d.ts +51 -0
- package/dist/esm/api/policySetDefinitions/operations.js +381 -0
- package/dist/esm/api/policySetDefinitions/operations.js.map +7 -0
- package/dist/esm/api/policySetDefinitions/options.d.ts +56 -0
- package/dist/esm/api/policySetDefinitions/options.js +0 -0
- package/dist/esm/api/policySetDefinitions/options.js.map +7 -0
- package/dist/esm/api/policyTokens/index.d.ts +3 -0
- package/dist/esm/api/policyTokens/index.js +11 -0
- package/dist/esm/api/policyTokens/index.js.map +7 -0
- package/dist/esm/api/policyTokens/operations.d.ts +13 -0
- package/dist/esm/api/policyTokens/operations.js +82 -0
- package/dist/esm/api/policyTokens/operations.js.map +7 -0
- package/dist/esm/api/policyTokens/options.d.ts +8 -0
- package/dist/esm/api/policyTokens/options.js +0 -0
- package/dist/esm/api/policyTokens/options.js.map +7 -0
- package/dist/esm/classic/index.d.ts +7 -0
- package/dist/esm/classic/index.js +14 -0
- package/dist/esm/classic/index.js.map +7 -0
- package/dist/esm/classic/policyAssignments/index.d.ts +30 -0
- package/dist/esm/classic/policyAssignments/index.js +38 -0
- package/dist/esm/classic/policyAssignments/index.js.map +7 -0
- package/dist/esm/classic/policyDefinitionVersions/index.d.ts +40 -0
- package/dist/esm/classic/policyDefinitionVersions/index.js +59 -0
- package/dist/esm/classic/policyDefinitionVersions/index.js.map +7 -0
- package/dist/esm/classic/policyDefinitions/index.d.ts +34 -0
- package/dist/esm/classic/policyDefinitions/index.js +40 -0
- package/dist/esm/classic/policyDefinitions/index.js.map +7 -0
- package/dist/esm/classic/policySetDefinitionVersions/index.d.ts +40 -0
- package/dist/esm/classic/policySetDefinitionVersions/index.js +65 -0
- package/dist/esm/classic/policySetDefinitionVersions/index.js.map +7 -0
- package/dist/esm/classic/policySetDefinitions/index.d.ts +34 -0
- package/dist/esm/classic/policySetDefinitions/index.js +40 -0
- package/dist/esm/classic/policySetDefinitions/index.js.map +7 -0
- package/dist/esm/classic/policyTokens/index.d.ts +12 -0
- package/dist/esm/classic/policyTokens/index.js +15 -0
- package/dist/esm/classic/policyTokens/index.js.map +7 -0
- package/dist/esm/index.d.ts +13 -3
- package/dist/esm/index.js +271 -13
- package/dist/esm/index.js.map +7 -1
- package/dist/esm/logger.d.ts +2 -0
- package/dist/esm/logger.js +5 -0
- package/dist/esm/logger.js.map +7 -0
- package/dist/esm/models/index.d.ts +1 -1080
- package/dist/esm/models/index.js +118 -90
- package/dist/esm/models/index.js.map +7 -1
- package/dist/esm/models/models.d.ts +941 -0
- package/dist/esm/models/models.js +1180 -0
- package/dist/esm/models/models.js.map +7 -0
- package/dist/esm/policyClient.d.ts +28 -23
- package/dist/esm/policyClient.js +50 -96
- package/dist/esm/policyClient.js.map +7 -1
- package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js +27 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js.map +7 -0
- package/dist/esm/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/esm/static-helpers/pagingHelpers.js +119 -0
- package/dist/esm/static-helpers/pagingHelpers.js.map +7 -0
- package/dist/esm/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
- package/dist/esm/static-helpers/serialization/check-prop-undefined.js +11 -0
- package/dist/esm/static-helpers/serialization/check-prop-undefined.js.map +7 -0
- package/dist/esm/static-helpers/serialization/serialize-record.d.ts +2 -0
- package/dist/esm/static-helpers/serialization/serialize-record.js +18 -0
- package/dist/esm/static-helpers/serialization/serialize-record.js.map +7 -0
- package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/esm/static-helpers/urlTemplate.js +173 -0
- package/dist/esm/static-helpers/urlTemplate.js.map +7 -0
- package/dist/react-native/api/index.d.ts +2 -0
- package/dist/react-native/api/index.js +4 -0
- package/dist/react-native/api/index.js.map +1 -0
- package/dist/react-native/api/policyAssignments/index.d.ts +3 -0
- package/dist/react-native/api/policyAssignments/index.js +4 -0
- package/dist/react-native/api/policyAssignments/index.js.map +1 -0
- package/dist/react-native/api/policyAssignments/operations.d.ts +43 -0
- package/dist/react-native/api/policyAssignments/operations.js +243 -0
- package/dist/react-native/api/policyAssignments/operations.js.map +1 -0
- package/dist/react-native/api/policyAssignments/options.d.ts +52 -0
- package/dist/react-native/api/policyAssignments/options.js +4 -0
- package/dist/react-native/api/policyAssignments/options.js.map +1 -0
- package/dist/react-native/api/policyContext.d.ts +22 -0
- package/dist/react-native/api/policyContext.js +24 -0
- package/dist/react-native/api/policyContext.js.map +1 -0
- package/dist/react-native/api/policyDefinitionVersions/index.d.ts +3 -0
- package/dist/react-native/api/policyDefinitionVersions/index.js +4 -0
- package/dist/react-native/api/policyDefinitionVersions/index.js.map +1 -0
- package/dist/react-native/api/policyDefinitionVersions/operations.d.ts +63 -0
- package/dist/react-native/api/policyDefinitionVersions/operations.js +366 -0
- package/dist/react-native/api/policyDefinitionVersions/operations.js.map +1 -0
- package/dist/react-native/api/policyDefinitionVersions/options.d.ts +47 -0
- package/dist/react-native/api/policyDefinitionVersions/options.js +4 -0
- package/dist/react-native/api/policyDefinitionVersions/options.js.map +1 -0
- package/dist/react-native/api/policyDefinitions/index.d.ts +3 -0
- package/dist/react-native/api/policyDefinitions/index.js +4 -0
- package/dist/react-native/api/policyDefinitions/index.js.map +1 -0
- package/dist/react-native/api/policyDefinitions/operations.d.ts +51 -0
- package/dist/react-native/api/policyDefinitions/operations.js +278 -0
- package/dist/react-native/api/policyDefinitions/operations.js.map +1 -0
- package/dist/react-native/api/policyDefinitions/options.d.ts +44 -0
- package/dist/react-native/api/policyDefinitions/options.js +4 -0
- package/dist/react-native/api/policyDefinitions/options.js.map +1 -0
- package/dist/react-native/api/policySetDefinitionVersions/index.d.ts +3 -0
- package/dist/react-native/api/policySetDefinitionVersions/index.js +4 -0
- package/dist/react-native/api/policySetDefinitionVersions/index.js.map +1 -0
- package/dist/react-native/api/policySetDefinitionVersions/operations.d.ts +63 -0
- package/dist/react-native/api/policySetDefinitionVersions/operations.js +380 -0
- package/dist/react-native/api/policySetDefinitionVersions/operations.js.map +1 -0
- package/dist/react-native/api/policySetDefinitionVersions/options.d.ts +59 -0
- package/dist/react-native/api/policySetDefinitionVersions/options.js +4 -0
- package/dist/react-native/api/policySetDefinitionVersions/options.js.map +1 -0
- package/dist/react-native/api/policySetDefinitions/index.d.ts +3 -0
- package/dist/react-native/api/policySetDefinitions/index.js +4 -0
- package/dist/react-native/api/policySetDefinitions/index.js.map +1 -0
- package/dist/react-native/api/policySetDefinitions/operations.d.ts +51 -0
- package/dist/react-native/api/policySetDefinitions/operations.js +288 -0
- package/dist/react-native/api/policySetDefinitions/operations.js.map +1 -0
- package/dist/react-native/api/policySetDefinitions/options.d.ts +56 -0
- package/dist/react-native/api/policySetDefinitions/options.js +4 -0
- package/dist/react-native/api/policySetDefinitions/options.js.map +1 -0
- package/dist/react-native/api/policyTokens/index.d.ts +3 -0
- package/dist/react-native/api/policyTokens/index.js +4 -0
- package/dist/react-native/api/policyTokens/index.js.map +1 -0
- package/dist/react-native/api/policyTokens/operations.d.ts +13 -0
- package/dist/react-native/api/policyTokens/operations.js +62 -0
- package/dist/react-native/api/policyTokens/operations.js.map +1 -0
- package/dist/react-native/api/policyTokens/options.d.ts +8 -0
- package/dist/react-native/api/policyTokens/options.js +4 -0
- package/dist/react-native/api/policyTokens/options.js.map +1 -0
- package/dist/react-native/classic/index.d.ts +7 -0
- package/dist/react-native/classic/index.js +4 -0
- package/dist/react-native/classic/index.js.map +1 -0
- package/dist/react-native/classic/policyAssignments/index.d.ts +30 -0
- package/dist/react-native/classic/policyAssignments/index.js +21 -0
- package/dist/react-native/classic/policyAssignments/index.js.map +1 -0
- package/dist/react-native/classic/policyDefinitionVersions/index.d.ts +40 -0
- package/dist/react-native/classic/policyDefinitionVersions/index.js +26 -0
- package/dist/react-native/classic/policyDefinitionVersions/index.js.map +1 -0
- package/dist/react-native/classic/policyDefinitions/index.d.ts +34 -0
- package/dist/react-native/classic/policyDefinitions/index.js +23 -0
- package/dist/react-native/classic/policyDefinitions/index.js.map +1 -0
- package/dist/react-native/classic/policySetDefinitionVersions/index.d.ts +40 -0
- package/dist/react-native/classic/policySetDefinitionVersions/index.js +26 -0
- package/dist/react-native/classic/policySetDefinitionVersions/index.js.map +1 -0
- package/dist/react-native/classic/policySetDefinitions/index.d.ts +34 -0
- package/dist/react-native/classic/policySetDefinitions/index.js +23 -0
- package/dist/react-native/classic/policySetDefinitions/index.js.map +1 -0
- package/dist/react-native/classic/policyTokens/index.d.ts +12 -0
- package/dist/react-native/classic/policyTokens/index.js +15 -0
- package/dist/react-native/classic/policyTokens/index.js.map +1 -0
- package/dist/react-native/index.d.ts +13 -3
- package/dist/react-native/index.js +5 -11
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/logger.d.ts +2 -0
- package/dist/react-native/logger.js +5 -0
- package/dist/react-native/logger.js.map +1 -0
- package/dist/react-native/models/index.d.ts +1 -1080
- package/dist/react-native/models/index.js +3 -89
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/models.d.ts +941 -0
- package/dist/react-native/models/models.js +1306 -0
- package/dist/react-native/models/models.js.map +1 -0
- package/dist/react-native/policyClient.d.ts +28 -23
- package/dist/react-native/policyClient.js +43 -88
- package/dist/react-native/policyClient.js.map +1 -1
- package/dist/react-native/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/react-native/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/react-native/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/react-native/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/react-native/static-helpers/pagingHelpers.js +143 -0
- package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/react-native/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
- package/dist/react-native/static-helpers/serialization/check-prop-undefined.js +17 -0
- package/dist/react-native/static-helpers/serialization/check-prop-undefined.js.map +1 -0
- package/dist/react-native/static-helpers/serialization/serialize-record.d.ts +2 -0
- package/dist/react-native/static-helpers/serialization/serialize-record.js +19 -0
- package/dist/react-native/static-helpers/serialization/serialize-record.js.map +1 -0
- package/dist/react-native/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/react-native/static-helpers/urlTemplate.js +200 -0
- package/dist/react-native/static-helpers/urlTemplate.js.map +1 -0
- package/package.json +213 -89
- package/CHANGELOG.md +0 -188
- package/dist/browser/index.d.ts.map +0 -1
- package/dist/browser/models/index.d.ts.map +0 -1
- package/dist/browser/models/mappers.d.ts +0 -28
- package/dist/browser/models/mappers.d.ts.map +0 -1
- package/dist/browser/models/mappers.js +0 -1253
- package/dist/browser/models/mappers.js.map +0 -1
- package/dist/browser/models/parameters.d.ts +0 -30
- package/dist/browser/models/parameters.d.ts.map +0 -1
- package/dist/browser/models/parameters.js +0 -288
- package/dist/browser/models/parameters.js.map +0 -1
- package/dist/browser/operations/index.d.ts +0 -6
- package/dist/browser/operations/index.d.ts.map +0 -1
- package/dist/browser/operations/index.js +0 -13
- package/dist/browser/operations/index.js.map +0 -1
- package/dist/browser/operations/policyAssignments.d.ts +0 -319
- package/dist/browser/operations/policyAssignments.d.ts.map +0 -1
- package/dist/browser/operations/policyAssignments.js +0 -878
- package/dist/browser/operations/policyAssignments.js.map +0 -1
- package/dist/browser/operations/policyDefinitionVersions.d.ts +0 -169
- package/dist/browser/operations/policyDefinitionVersions.d.ts.map +0 -1
- package/dist/browser/operations/policyDefinitionVersions.js +0 -700
- package/dist/browser/operations/policyDefinitionVersions.js.map +0 -1
- package/dist/browser/operations/policyDefinitions.d.ts +0 -163
- package/dist/browser/operations/policyDefinitions.d.ts.map +0 -1
- package/dist/browser/operations/policyDefinitions.js +0 -570
- package/dist/browser/operations/policyDefinitions.js.map +0 -1
- package/dist/browser/operations/policySetDefinitionVersions.d.ts +0 -172
- package/dist/browser/operations/policySetDefinitionVersions.d.ts.map +0 -1
- package/dist/browser/operations/policySetDefinitionVersions.js +0 -703
- package/dist/browser/operations/policySetDefinitionVersions.js.map +0 -1
- package/dist/browser/operations/policySetDefinitions.d.ts +0 -161
- package/dist/browser/operations/policySetDefinitions.d.ts.map +0 -1
- package/dist/browser/operations/policySetDefinitions.js +0 -586
- package/dist/browser/operations/policySetDefinitions.js.map +0 -1
- package/dist/browser/operationsInterfaces/index.d.ts +0 -6
- package/dist/browser/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/index.js +0 -13
- package/dist/browser/operationsInterfaces/index.js.map +0 -1
- package/dist/browser/operationsInterfaces/policyAssignments.d.ts +0 -193
- package/dist/browser/operationsInterfaces/policyAssignments.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/policyAssignments.js +0 -9
- package/dist/browser/operationsInterfaces/policyAssignments.js.map +0 -1
- package/dist/browser/operationsInterfaces/policyDefinitionVersions.d.ts +0 -111
- package/dist/browser/operationsInterfaces/policyDefinitionVersions.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/policyDefinitionVersions.js +0 -9
- package/dist/browser/operationsInterfaces/policyDefinitionVersions.js.map +0 -1
- package/dist/browser/operationsInterfaces/policyDefinitions.d.ts +0 -92
- package/dist/browser/operationsInterfaces/policyDefinitions.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/policyDefinitions.js +0 -9
- package/dist/browser/operationsInterfaces/policyDefinitions.js.map +0 -1
- package/dist/browser/operationsInterfaces/policySetDefinitionVersions.d.ts +0 -114
- package/dist/browser/operationsInterfaces/policySetDefinitionVersions.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/policySetDefinitionVersions.js +0 -9
- package/dist/browser/operationsInterfaces/policySetDefinitionVersions.js.map +0 -1
- package/dist/browser/operationsInterfaces/policySetDefinitions.d.ts +0 -92
- package/dist/browser/operationsInterfaces/policySetDefinitions.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/policySetDefinitions.js +0 -9
- package/dist/browser/operationsInterfaces/policySetDefinitions.js.map +0 -1
- package/dist/browser/pagingHelper.d.ts +0 -13
- package/dist/browser/pagingHelper.d.ts.map +0 -1
- package/dist/browser/pagingHelper.js +0 -32
- package/dist/browser/pagingHelper.js.map +0 -1
- package/dist/browser/policyClient.d.ts.map +0 -1
- package/dist/commonjs/index.d.ts.map +0 -1
- package/dist/commonjs/models/index.d.ts.map +0 -1
- package/dist/commonjs/models/mappers.d.ts +0 -28
- package/dist/commonjs/models/mappers.d.ts.map +0 -1
- package/dist/commonjs/models/mappers.js +0 -1256
- package/dist/commonjs/models/mappers.js.map +0 -1
- package/dist/commonjs/models/parameters.d.ts +0 -30
- package/dist/commonjs/models/parameters.d.ts.map +0 -1
- package/dist/commonjs/models/parameters.js +0 -291
- package/dist/commonjs/models/parameters.js.map +0 -1
- package/dist/commonjs/operations/index.d.ts +0 -6
- package/dist/commonjs/operations/index.d.ts.map +0 -1
- package/dist/commonjs/operations/index.js +0 -16
- package/dist/commonjs/operations/index.js.map +0 -1
- package/dist/commonjs/operations/policyAssignments.d.ts +0 -319
- package/dist/commonjs/operations/policyAssignments.d.ts.map +0 -1
- package/dist/commonjs/operations/policyAssignments.js +0 -882
- package/dist/commonjs/operations/policyAssignments.js.map +0 -1
- package/dist/commonjs/operations/policyDefinitionVersions.d.ts +0 -169
- package/dist/commonjs/operations/policyDefinitionVersions.d.ts.map +0 -1
- package/dist/commonjs/operations/policyDefinitionVersions.js +0 -704
- package/dist/commonjs/operations/policyDefinitionVersions.js.map +0 -1
- package/dist/commonjs/operations/policyDefinitions.d.ts +0 -163
- package/dist/commonjs/operations/policyDefinitions.d.ts.map +0 -1
- package/dist/commonjs/operations/policyDefinitions.js +0 -574
- package/dist/commonjs/operations/policyDefinitions.js.map +0 -1
- package/dist/commonjs/operations/policySetDefinitionVersions.d.ts +0 -172
- package/dist/commonjs/operations/policySetDefinitionVersions.d.ts.map +0 -1
- package/dist/commonjs/operations/policySetDefinitionVersions.js +0 -707
- package/dist/commonjs/operations/policySetDefinitionVersions.js.map +0 -1
- package/dist/commonjs/operations/policySetDefinitions.d.ts +0 -161
- package/dist/commonjs/operations/policySetDefinitions.d.ts.map +0 -1
- package/dist/commonjs/operations/policySetDefinitions.js +0 -590
- package/dist/commonjs/operations/policySetDefinitions.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/index.d.ts +0 -6
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/index.js +0 -16
- package/dist/commonjs/operationsInterfaces/index.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/policyAssignments.d.ts +0 -193
- package/dist/commonjs/operationsInterfaces/policyAssignments.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/policyAssignments.js +0 -10
- package/dist/commonjs/operationsInterfaces/policyAssignments.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/policyDefinitionVersions.d.ts +0 -111
- package/dist/commonjs/operationsInterfaces/policyDefinitionVersions.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/policyDefinitionVersions.js +0 -10
- package/dist/commonjs/operationsInterfaces/policyDefinitionVersions.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/policyDefinitions.d.ts +0 -92
- package/dist/commonjs/operationsInterfaces/policyDefinitions.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/policyDefinitions.js +0 -10
- package/dist/commonjs/operationsInterfaces/policyDefinitions.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/policySetDefinitionVersions.d.ts +0 -114
- package/dist/commonjs/operationsInterfaces/policySetDefinitionVersions.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/policySetDefinitionVersions.js +0 -10
- package/dist/commonjs/operationsInterfaces/policySetDefinitionVersions.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/policySetDefinitions.d.ts +0 -92
- package/dist/commonjs/operationsInterfaces/policySetDefinitions.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/policySetDefinitions.js +0 -10
- package/dist/commonjs/operationsInterfaces/policySetDefinitions.js.map +0 -1
- package/dist/commonjs/pagingHelper.d.ts +0 -13
- package/dist/commonjs/pagingHelper.d.ts.map +0 -1
- package/dist/commonjs/pagingHelper.js +0 -36
- package/dist/commonjs/pagingHelper.js.map +0 -1
- package/dist/commonjs/policyClient.d.ts.map +0 -1
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/models/index.d.ts.map +0 -1
- package/dist/esm/models/mappers.d.ts +0 -28
- package/dist/esm/models/mappers.d.ts.map +0 -1
- package/dist/esm/models/mappers.js +0 -1253
- package/dist/esm/models/mappers.js.map +0 -1
- package/dist/esm/models/parameters.d.ts +0 -30
- package/dist/esm/models/parameters.d.ts.map +0 -1
- package/dist/esm/models/parameters.js +0 -288
- package/dist/esm/models/parameters.js.map +0 -1
- package/dist/esm/operations/index.d.ts +0 -6
- package/dist/esm/operations/index.d.ts.map +0 -1
- package/dist/esm/operations/index.js +0 -13
- package/dist/esm/operations/index.js.map +0 -1
- package/dist/esm/operations/policyAssignments.d.ts +0 -319
- package/dist/esm/operations/policyAssignments.d.ts.map +0 -1
- package/dist/esm/operations/policyAssignments.js +0 -878
- package/dist/esm/operations/policyAssignments.js.map +0 -1
- package/dist/esm/operations/policyDefinitionVersions.d.ts +0 -169
- package/dist/esm/operations/policyDefinitionVersions.d.ts.map +0 -1
- package/dist/esm/operations/policyDefinitionVersions.js +0 -700
- package/dist/esm/operations/policyDefinitionVersions.js.map +0 -1
- package/dist/esm/operations/policyDefinitions.d.ts +0 -163
- package/dist/esm/operations/policyDefinitions.d.ts.map +0 -1
- package/dist/esm/operations/policyDefinitions.js +0 -570
- package/dist/esm/operations/policyDefinitions.js.map +0 -1
- package/dist/esm/operations/policySetDefinitionVersions.d.ts +0 -172
- package/dist/esm/operations/policySetDefinitionVersions.d.ts.map +0 -1
- package/dist/esm/operations/policySetDefinitionVersions.js +0 -703
- package/dist/esm/operations/policySetDefinitionVersions.js.map +0 -1
- package/dist/esm/operations/policySetDefinitions.d.ts +0 -161
- package/dist/esm/operations/policySetDefinitions.d.ts.map +0 -1
- package/dist/esm/operations/policySetDefinitions.js +0 -586
- package/dist/esm/operations/policySetDefinitions.js.map +0 -1
- package/dist/esm/operationsInterfaces/index.d.ts +0 -6
- package/dist/esm/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/index.js +0 -13
- package/dist/esm/operationsInterfaces/index.js.map +0 -1
- package/dist/esm/operationsInterfaces/policyAssignments.d.ts +0 -193
- package/dist/esm/operationsInterfaces/policyAssignments.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/policyAssignments.js +0 -9
- package/dist/esm/operationsInterfaces/policyAssignments.js.map +0 -1
- package/dist/esm/operationsInterfaces/policyDefinitionVersions.d.ts +0 -111
- package/dist/esm/operationsInterfaces/policyDefinitionVersions.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/policyDefinitionVersions.js +0 -9
- package/dist/esm/operationsInterfaces/policyDefinitionVersions.js.map +0 -1
- package/dist/esm/operationsInterfaces/policyDefinitions.d.ts +0 -92
- package/dist/esm/operationsInterfaces/policyDefinitions.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/policyDefinitions.js +0 -9
- package/dist/esm/operationsInterfaces/policyDefinitions.js.map +0 -1
- package/dist/esm/operationsInterfaces/policySetDefinitionVersions.d.ts +0 -114
- package/dist/esm/operationsInterfaces/policySetDefinitionVersions.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/policySetDefinitionVersions.js +0 -9
- package/dist/esm/operationsInterfaces/policySetDefinitionVersions.js.map +0 -1
- package/dist/esm/operationsInterfaces/policySetDefinitions.d.ts +0 -92
- package/dist/esm/operationsInterfaces/policySetDefinitions.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/policySetDefinitions.js +0 -9
- package/dist/esm/operationsInterfaces/policySetDefinitions.js.map +0 -1
- package/dist/esm/pagingHelper.d.ts +0 -13
- package/dist/esm/pagingHelper.d.ts.map +0 -1
- package/dist/esm/pagingHelper.js +0 -32
- package/dist/esm/pagingHelper.js.map +0 -1
- package/dist/esm/policyClient.d.ts.map +0 -1
- package/dist/react-native/index.d.ts.map +0 -1
- package/dist/react-native/models/index.d.ts.map +0 -1
- package/dist/react-native/models/mappers.d.ts +0 -28
- package/dist/react-native/models/mappers.d.ts.map +0 -1
- package/dist/react-native/models/mappers.js +0 -1253
- package/dist/react-native/models/mappers.js.map +0 -1
- package/dist/react-native/models/parameters.d.ts +0 -30
- package/dist/react-native/models/parameters.d.ts.map +0 -1
- package/dist/react-native/models/parameters.js +0 -288
- package/dist/react-native/models/parameters.js.map +0 -1
- package/dist/react-native/operations/index.d.ts +0 -6
- package/dist/react-native/operations/index.d.ts.map +0 -1
- package/dist/react-native/operations/index.js +0 -13
- package/dist/react-native/operations/index.js.map +0 -1
- package/dist/react-native/operations/policyAssignments.d.ts +0 -319
- package/dist/react-native/operations/policyAssignments.d.ts.map +0 -1
- package/dist/react-native/operations/policyAssignments.js +0 -878
- package/dist/react-native/operations/policyAssignments.js.map +0 -1
- package/dist/react-native/operations/policyDefinitionVersions.d.ts +0 -169
- package/dist/react-native/operations/policyDefinitionVersions.d.ts.map +0 -1
- package/dist/react-native/operations/policyDefinitionVersions.js +0 -700
- package/dist/react-native/operations/policyDefinitionVersions.js.map +0 -1
- package/dist/react-native/operations/policyDefinitions.d.ts +0 -163
- package/dist/react-native/operations/policyDefinitions.d.ts.map +0 -1
- package/dist/react-native/operations/policyDefinitions.js +0 -570
- package/dist/react-native/operations/policyDefinitions.js.map +0 -1
- package/dist/react-native/operations/policySetDefinitionVersions.d.ts +0 -172
- package/dist/react-native/operations/policySetDefinitionVersions.d.ts.map +0 -1
- package/dist/react-native/operations/policySetDefinitionVersions.js +0 -703
- package/dist/react-native/operations/policySetDefinitionVersions.js.map +0 -1
- package/dist/react-native/operations/policySetDefinitions.d.ts +0 -161
- package/dist/react-native/operations/policySetDefinitions.d.ts.map +0 -1
- package/dist/react-native/operations/policySetDefinitions.js +0 -586
- package/dist/react-native/operations/policySetDefinitions.js.map +0 -1
- package/dist/react-native/operationsInterfaces/index.d.ts +0 -6
- package/dist/react-native/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/index.js +0 -13
- package/dist/react-native/operationsInterfaces/index.js.map +0 -1
- package/dist/react-native/operationsInterfaces/policyAssignments.d.ts +0 -193
- package/dist/react-native/operationsInterfaces/policyAssignments.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/policyAssignments.js +0 -9
- package/dist/react-native/operationsInterfaces/policyAssignments.js.map +0 -1
- package/dist/react-native/operationsInterfaces/policyDefinitionVersions.d.ts +0 -111
- package/dist/react-native/operationsInterfaces/policyDefinitionVersions.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/policyDefinitionVersions.js +0 -9
- package/dist/react-native/operationsInterfaces/policyDefinitionVersions.js.map +0 -1
- package/dist/react-native/operationsInterfaces/policyDefinitions.d.ts +0 -92
- package/dist/react-native/operationsInterfaces/policyDefinitions.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/policyDefinitions.js +0 -9
- package/dist/react-native/operationsInterfaces/policyDefinitions.js.map +0 -1
- package/dist/react-native/operationsInterfaces/policySetDefinitionVersions.d.ts +0 -114
- package/dist/react-native/operationsInterfaces/policySetDefinitionVersions.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/policySetDefinitionVersions.js +0 -9
- package/dist/react-native/operationsInterfaces/policySetDefinitionVersions.js.map +0 -1
- package/dist/react-native/operationsInterfaces/policySetDefinitions.d.ts +0 -92
- package/dist/react-native/operationsInterfaces/policySetDefinitions.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/policySetDefinitions.js +0 -9
- package/dist/react-native/operationsInterfaces/policySetDefinitions.js.map +0 -1
- package/dist/react-native/pagingHelper.d.ts +0 -13
- package/dist/react-native/pagingHelper.d.ts.map +0 -1
- package/dist/react-native/pagingHelper.js +0 -32
- package/dist/react-native/pagingHelper.js.map +0 -1
- package/dist/react-native/policyClient.d.ts.map +0 -1
- package/review/arm-policy.api.md +0 -996
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["/mnt/vss/_work/1/s/sdk/policy/arm-policy/src/models/models.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { areAllPropsUndefined } from \"../static-helpers/serialization/check-prop-undefined.js\";\nimport { serializeRecord } from \"../static-helpers/serialization/serialize-record.js\";\n\n/**\n * This file contains only generated model types and their (de)serializers.\n * Disable the following rules for internal models with '_' prefix and deserializers which require 'any' for raw JSON input.\n */\n/* eslint-disable @typescript-eslint/naming-convention */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/** The policy assignment. */\nexport interface PolicyAssignment extends ExtensionResource {\n /** The location of the policy assignment. Only required when utilizing managed identity. */\n location?: string;\n /** The managed identity associated with the policy assignment. */\n identity?: Identity;\n /** The display name of the policy assignment. */\n displayName?: string;\n /** The ID of the policy definition or policy set definition being assigned. */\n policyDefinitionId?: string;\n /** The version of the policy definition to use. */\n definitionVersion?: string;\n /** The latest version of the policy definition available. This is only present if requested via the $expand query parameter. */\n readonly latestDefinitionVersion?: string;\n /** The effective version of the policy definition in use. This is only present if requested via the $expand query parameter. */\n readonly effectiveDefinitionVersion?: string;\n /** The scope for the policy assignment. */\n readonly scope?: string;\n /** The policy's excluded scopes. */\n notScopes?: string[];\n /** The parameter values for the assigned policy rule. The keys are the parameter names. */\n parameters?: Record<string, ParameterValuesValue>;\n /** This message will be part of response in case of policy violation. */\n description?: string;\n /** The policy assignment metadata. Metadata is an open ended object and is typically a collection of key value pairs. */\n metadata?: any;\n /** The policy assignment enforcement mode. Possible values are Default, DoNotEnforce, and Enroll */\n enforcementMode?: EnforcementMode;\n /** The messages that describe why a resource is non-compliant with the policy. */\n nonComplianceMessages?: NonComplianceMessage[];\n /** The resource selector list to filter policies by resource properties. */\n resourceSelectors?: ResourceSelector[];\n /** The policy property value override. */\n overrides?: Override[];\n /** The type of policy assignment. Possible values are NotSpecified, System, SystemHidden, and Custom. Immutable. */\n assignmentType?: AssignmentType;\n /** The instance ID of the policy assignment. This ID only and always changes when the assignment is deleted and recreated. */\n readonly instanceId?: string;\n}\n\nexport function policyAssignmentSerializer(item: PolicyAssignment): any {\n return {\n properties: areAllPropsUndefined(item, [\n \"displayName\",\n \"policyDefinitionId\",\n \"definitionVersion\",\n \"notScopes\",\n \"parameters\",\n \"description\",\n \"metadata\",\n \"enforcementMode\",\n \"nonComplianceMessages\",\n \"resourceSelectors\",\n \"overrides\",\n \"assignmentType\",\n ])\n ? undefined\n : _policyAssignmentPropertiesSerializer(item),\n location: item[\"location\"],\n identity: !item[\"identity\"] ? item[\"identity\"] : identitySerializer(item[\"identity\"]),\n };\n}\n\nexport function policyAssignmentDeserializer(item: any): PolicyAssignment {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n ...(!item[\"properties\"]\n ? item[\"properties\"]\n : _policyAssignmentPropertiesDeserializer(item[\"properties\"])),\n location: item[\"location\"],\n identity: !item[\"identity\"] ? item[\"identity\"] : identityDeserializer(item[\"identity\"]),\n };\n}\n\n/** The policy assignment properties. */\nexport interface PolicyAssignmentProperties {\n /** The display name of the policy assignment. */\n displayName?: string;\n /** The ID of the policy definition or policy set definition being assigned. */\n policyDefinitionId?: string;\n /** The version of the policy definition to use. */\n definitionVersion?: string;\n /** The latest version of the policy definition available. This is only present if requested via the $expand query parameter. */\n readonly latestDefinitionVersion?: string;\n /** The effective version of the policy definition in use. This is only present if requested via the $expand query parameter. */\n readonly effectiveDefinitionVersion?: string;\n /** The scope for the policy assignment. */\n readonly scope?: string;\n /** The policy's excluded scopes. */\n notScopes?: string[];\n /** The parameter values for the assigned policy rule. The keys are the parameter names. */\n parameters?: Record<string, ParameterValuesValue>;\n /** This message will be part of response in case of policy violation. */\n description?: string;\n /** The policy assignment metadata. Metadata is an open ended object and is typically a collection of key value pairs. */\n metadata?: any;\n /** The policy assignment enforcement mode. Possible values are Default, DoNotEnforce, and Enroll */\n enforcementMode?: EnforcementMode;\n /** The messages that describe why a resource is non-compliant with the policy. */\n nonComplianceMessages?: NonComplianceMessage[];\n /** The resource selector list to filter policies by resource properties. */\n resourceSelectors?: ResourceSelector[];\n /** The policy property value override. */\n overrides?: Override[];\n /** The type of policy assignment. Possible values are NotSpecified, System, SystemHidden, and Custom. Immutable. */\n assignmentType?: AssignmentType;\n /** The instance ID of the policy assignment. This ID only and always changes when the assignment is deleted and recreated. */\n readonly instanceId?: string;\n}\n\nexport function policyAssignmentPropertiesSerializer(item: PolicyAssignmentProperties): any {\n return {\n displayName: item[\"displayName\"],\n policyDefinitionId: item[\"policyDefinitionId\"],\n definitionVersion: item[\"definitionVersion\"],\n notScopes: !item[\"notScopes\"]\n ? item[\"notScopes\"]\n : item[\"notScopes\"].map((p: any) => {\n return p;\n }),\n parameters: !item[\"parameters\"]\n ? item[\"parameters\"]\n : parameterValuesValueRecordSerializer(item[\"parameters\"]),\n description: item[\"description\"],\n metadata: item[\"metadata\"],\n enforcementMode: item[\"enforcementMode\"],\n nonComplianceMessages: !item[\"nonComplianceMessages\"]\n ? item[\"nonComplianceMessages\"]\n : nonComplianceMessageArraySerializer(item[\"nonComplianceMessages\"]),\n resourceSelectors: !item[\"resourceSelectors\"]\n ? item[\"resourceSelectors\"]\n : resourceSelectorArraySerializer(item[\"resourceSelectors\"]),\n overrides: !item[\"overrides\"] ? item[\"overrides\"] : overrideArraySerializer(item[\"overrides\"]),\n assignmentType: item[\"assignmentType\"],\n };\n}\n\nexport function policyAssignmentPropertiesDeserializer(item: any): PolicyAssignmentProperties {\n return {\n displayName: item[\"displayName\"],\n policyDefinitionId: item[\"policyDefinitionId\"],\n definitionVersion: item[\"definitionVersion\"],\n latestDefinitionVersion: item[\"latestDefinitionVersion\"],\n effectiveDefinitionVersion: item[\"effectiveDefinitionVersion\"],\n scope: item[\"scope\"],\n notScopes: !item[\"notScopes\"]\n ? item[\"notScopes\"]\n : item[\"notScopes\"].map((p: any) => {\n return p;\n }),\n parameters: !item[\"parameters\"]\n ? item[\"parameters\"]\n : parameterValuesValueRecordDeserializer(item[\"parameters\"]),\n description: item[\"description\"],\n metadata: item[\"metadata\"],\n enforcementMode: item[\"enforcementMode\"],\n nonComplianceMessages: !item[\"nonComplianceMessages\"]\n ? item[\"nonComplianceMessages\"]\n : nonComplianceMessageArrayDeserializer(item[\"nonComplianceMessages\"]),\n resourceSelectors: !item[\"resourceSelectors\"]\n ? item[\"resourceSelectors\"]\n : resourceSelectorArrayDeserializer(item[\"resourceSelectors\"]),\n overrides: !item[\"overrides\"]\n ? item[\"overrides\"]\n : overrideArrayDeserializer(item[\"overrides\"]),\n assignmentType: item[\"assignmentType\"],\n instanceId: item[\"instanceId\"],\n };\n}\n\nexport function parameterValuesValueRecordSerializer(\n item: Record<string, ParameterValuesValue>,\n): Record<string, any> {\n const result: Record<string, any> = {};\n Object.keys(item).map((key) => {\n result[key] = !item[key] ? item[key] : parameterValuesValueSerializer(item[key]);\n });\n return result;\n}\n\nexport function parameterValuesValueRecordDeserializer(\n item: Record<string, any>,\n): Record<string, ParameterValuesValue> {\n const result: Record<string, any> = {};\n Object.keys(item).map((key) => {\n result[key] = !item[key] ? item[key] : parameterValuesValueDeserializer(item[key]);\n });\n return result;\n}\n\n/** The value of a parameter. */\nexport interface ParameterValuesValue {\n /** The value of the parameter. */\n value?: any;\n}\n\nexport function parameterValuesValueSerializer(item: ParameterValuesValue): any {\n return { value: item[\"value\"] };\n}\n\nexport function parameterValuesValueDeserializer(item: any): ParameterValuesValue {\n return {\n value: item[\"value\"],\n };\n}\n\n/** The policy assignment enforcement mode. Possible values are Default, DoNotEnforce, and Enroll */\nexport enum KnownEnforcementMode {\n /** The policy effect is enforced during resource creation or update. */\n Default = \"Default\",\n /** The policy effect is not enforced during resource creation or update. */\n DoNotEnforce = \"DoNotEnforce\",\n /** The policy effect is not enforced during resource creation or update until the resource or scope of the resource is enrolled to the assignment instance. Enrollment occurs upon deployment of the policy enrollment resource. */\n Enroll = \"Enroll\",\n}\n\n/**\n * The policy assignment enforcement mode. Possible values are Default, DoNotEnforce, and Enroll \\\n * {@link KnownEnforcementMode} can be used interchangeably with EnforcementMode,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Default**: The policy effect is enforced during resource creation or update. \\\n * **DoNotEnforce**: The policy effect is not enforced during resource creation or update. \\\n * **Enroll**: The policy effect is not enforced during resource creation or update until the resource or scope of the resource is enrolled to the assignment instance. Enrollment occurs upon deployment of the policy enrollment resource.\n */\nexport type EnforcementMode = string;\n\nexport function nonComplianceMessageArraySerializer(result: Array<NonComplianceMessage>): any[] {\n return result.map((item) => {\n return nonComplianceMessageSerializer(item);\n });\n}\n\nexport function nonComplianceMessageArrayDeserializer(result: Array<NonComplianceMessage>): any[] {\n return result.map((item) => {\n return nonComplianceMessageDeserializer(item);\n });\n}\n\n/** A message that describes why a resource is non-compliant with the policy. This is shown in 'deny' error messages and on resource's non-compliant compliance results. */\nexport interface NonComplianceMessage {\n /** A message that describes why a resource is non-compliant with the policy. This is shown in 'deny' error messages and on resource's non-compliant compliance results. */\n message: string;\n /** The policy definition reference ID within a policy set definition the message is intended for. This is only applicable if the policy assignment assigns a policy set definition. If this is not provided the message applies to all policies assigned by this policy assignment. */\n policyDefinitionReferenceId?: string;\n}\n\nexport function nonComplianceMessageSerializer(item: NonComplianceMessage): any {\n return {\n message: item[\"message\"],\n policyDefinitionReferenceId: item[\"policyDefinitionReferenceId\"],\n };\n}\n\nexport function nonComplianceMessageDeserializer(item: any): NonComplianceMessage {\n return {\n message: item[\"message\"],\n policyDefinitionReferenceId: item[\"policyDefinitionReferenceId\"],\n };\n}\n\nexport function resourceSelectorArraySerializer(result: Array<ResourceSelector>): any[] {\n return result.map((item) => {\n return resourceSelectorSerializer(item);\n });\n}\n\nexport function resourceSelectorArrayDeserializer(result: Array<ResourceSelector>): any[] {\n return result.map((item) => {\n return resourceSelectorDeserializer(item);\n });\n}\n\n/** The resource selector to filter policies by resource properties. */\nexport interface ResourceSelector {\n /** The name of the resource selector. */\n name?: string;\n /** The list of the selector expressions. */\n selectors?: Selector[];\n}\n\nexport function resourceSelectorSerializer(item: ResourceSelector): any {\n return {\n name: item[\"name\"],\n selectors: !item[\"selectors\"] ? item[\"selectors\"] : selectorArraySerializer(item[\"selectors\"]),\n };\n}\n\nexport function resourceSelectorDeserializer(item: any): ResourceSelector {\n return {\n name: item[\"name\"],\n selectors: !item[\"selectors\"]\n ? item[\"selectors\"]\n : selectorArrayDeserializer(item[\"selectors\"]),\n };\n}\n\nexport function selectorArraySerializer(result: Array<Selector>): any[] {\n return result.map((item) => {\n return selectorSerializer(item);\n });\n}\n\nexport function selectorArrayDeserializer(result: Array<Selector>): any[] {\n return result.map((item) => {\n return selectorDeserializer(item);\n });\n}\n\n/** The selector expression. */\nexport interface Selector {\n /** The selector kind. */\n kind?: SelectorKind;\n /** The list of values to filter in. */\n in?: string[];\n /** The list of values to filter out. */\n notIn?: string[];\n}\n\nexport function selectorSerializer(item: Selector): any {\n return {\n kind: item[\"kind\"],\n in: !item[\"in\"]\n ? item[\"in\"]\n : item[\"in\"].map((p: any) => {\n return p;\n }),\n notIn: !item[\"notIn\"]\n ? item[\"notIn\"]\n : item[\"notIn\"].map((p: any) => {\n return p;\n }),\n };\n}\n\nexport function selectorDeserializer(item: any): Selector {\n return {\n kind: item[\"kind\"],\n in: !item[\"in\"]\n ? item[\"in\"]\n : item[\"in\"].map((p: any) => {\n return p;\n }),\n notIn: !item[\"notIn\"]\n ? item[\"notIn\"]\n : item[\"notIn\"].map((p: any) => {\n return p;\n }),\n };\n}\n\n/** The selector kind. */\nexport enum KnownSelectorKind {\n /** The selector kind to filter policies by the resource location. */\n ResourceLocation = \"resourceLocation\",\n /** The selector kind to filter policies by the resource type. */\n ResourceType = \"resourceType\",\n /** The selector kind to filter policies by the resource without location. */\n ResourceWithoutLocation = \"resourceWithoutLocation\",\n /** The selector kind to filter policies by the policy definition reference ID. */\n PolicyDefinitionReferenceId = \"policyDefinitionReferenceId\",\n}\n\n/**\n * The selector kind. \\\n * {@link KnownSelectorKind} can be used interchangeably with SelectorKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **resourceLocation**: The selector kind to filter policies by the resource location. \\\n * **resourceType**: The selector kind to filter policies by the resource type. \\\n * **resourceWithoutLocation**: The selector kind to filter policies by the resource without location. \\\n * **policyDefinitionReferenceId**: The selector kind to filter policies by the policy definition reference ID.\n */\nexport type SelectorKind = string;\n\nexport function overrideArraySerializer(result: Array<Override>): any[] {\n return result.map((item) => {\n return overrideSerializer(item);\n });\n}\n\nexport function overrideArrayDeserializer(result: Array<Override>): any[] {\n return result.map((item) => {\n return overrideDeserializer(item);\n });\n}\n\n/** The policy property value override. */\nexport interface Override {\n /** The override kind. */\n kind?: OverrideKind;\n /** The value to override the policy property. */\n value?: string;\n /** The list of the selector expressions. */\n selectors?: Selector[];\n}\n\nexport function overrideSerializer(item: Override): any {\n return {\n kind: item[\"kind\"],\n value: item[\"value\"],\n selectors: !item[\"selectors\"] ? item[\"selectors\"] : selectorArraySerializer(item[\"selectors\"]),\n };\n}\n\nexport function overrideDeserializer(item: any): Override {\n return {\n kind: item[\"kind\"],\n value: item[\"value\"],\n selectors: !item[\"selectors\"]\n ? item[\"selectors\"]\n : selectorArrayDeserializer(item[\"selectors\"]),\n };\n}\n\n/** The override kind. */\nexport enum KnownOverrideKind {\n /** It will override the policy effect type. */\n PolicyEffect = \"policyEffect\",\n /** It will override the definition version property value of the policy assignment. */\n DefinitionVersion = \"definitionVersion\",\n}\n\n/**\n * The override kind. \\\n * {@link KnownOverrideKind} can be used interchangeably with OverrideKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **policyEffect**: It will override the policy effect type. \\\n * **definitionVersion**: It will override the definition version property value of the policy assignment.\n */\nexport type OverrideKind = string;\n\n/** The type of policy assignment. Possible values are NotSpecified, System, SystemHidden, and Custom. Immutable. */\nexport enum KnownAssignmentType {\n /** The not specified assignment type. */\n NotSpecified = \"NotSpecified\",\n /** The system assignment type. */\n System = \"System\",\n /** The system hidden assignment type. */\n SystemHidden = \"SystemHidden\",\n /** The custom assignment type. */\n Custom = \"Custom\",\n}\n\n/**\n * The type of policy assignment. Possible values are NotSpecified, System, SystemHidden, and Custom. Immutable. \\\n * {@link KnownAssignmentType} can be used interchangeably with AssignmentType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **NotSpecified**: The not specified assignment type. \\\n * **System**: The system assignment type. \\\n * **SystemHidden**: The system hidden assignment type. \\\n * **Custom**: The custom assignment type.\n */\nexport type AssignmentType = string;\n\n/** Identity for the resource. Policy assignments support a maximum of one identity. That is either a system assigned identity or a single user assigned identity. */\nexport interface Identity {\n /** The principal ID of the resource identity. This property will only be provided for a system assigned identity */\n readonly principalId?: string;\n /** The tenant ID of the resource identity. This property will only be provided for a system assigned identity */\n readonly tenantId?: string;\n /** The identity type. This is the only required field when adding a system or user assigned identity to a resource. */\n type?: ResourceIdentityType;\n /** The user identity associated with the policy. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */\n userAssignedIdentities?: Record<string, UserAssignedIdentitiesValue>;\n}\n\nexport function identitySerializer(item: Identity): any {\n return {\n type: item[\"type\"],\n userAssignedIdentities: !item[\"userAssignedIdentities\"]\n ? item[\"userAssignedIdentities\"]\n : userAssignedIdentitiesValueRecordSerializer(item[\"userAssignedIdentities\"]),\n };\n}\n\nexport function identityDeserializer(item: any): Identity {\n return {\n principalId: item[\"principalId\"],\n tenantId: item[\"tenantId\"],\n type: item[\"type\"],\n userAssignedIdentities: !item[\"userAssignedIdentities\"]\n ? item[\"userAssignedIdentities\"]\n : userAssignedIdentitiesValueRecordDeserializer(item[\"userAssignedIdentities\"]),\n };\n}\n\n/** The identity type. This is the only required field when adding a system or user assigned identity to a resource. */\nexport type ResourceIdentityType = \"SystemAssigned\" | \"UserAssigned\" | \"None\";\n\nexport function userAssignedIdentitiesValueRecordSerializer(\n item: Record<string, UserAssignedIdentitiesValue>,\n): Record<string, any> {\n const result: Record<string, any> = {};\n Object.keys(item).map((key) => {\n result[key] = !item[key] ? item[key] : userAssignedIdentitiesValueSerializer(item[key]);\n });\n return result;\n}\n\nexport function userAssignedIdentitiesValueRecordDeserializer(\n item: Record<string, any>,\n): Record<string, UserAssignedIdentitiesValue> {\n const result: Record<string, any> = {};\n Object.keys(item).map((key) => {\n result[key] = !item[key] ? item[key] : userAssignedIdentitiesValueDeserializer(item[key]);\n });\n return result;\n}\n\n/** model interface UserAssignedIdentitiesValue */\nexport interface UserAssignedIdentitiesValue {\n /** The principal id of user assigned identity. */\n readonly principalId?: string;\n /** The client id of user assigned identity. */\n readonly clientId?: string;\n}\n\nexport function userAssignedIdentitiesValueSerializer(item: UserAssignedIdentitiesValue): any {\n return item;\n}\n\nexport function userAssignedIdentitiesValueDeserializer(item: any): UserAssignedIdentitiesValue {\n return {\n principalId: item[\"principalId\"],\n clientId: item[\"clientId\"],\n };\n}\n\n/** The base extension resource. */\nexport interface ExtensionResource extends Resource {}\n\nexport function extensionResourceSerializer(item: ExtensionResource): any {\n return item;\n}\n\nexport function extensionResourceDeserializer(item: any): ExtensionResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */\n readonly id?: string;\n /** The name of the resource */\n readonly name?: string;\n /** The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" */\n readonly type?: string;\n /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */\n readonly systemData?: SystemData;\n}\n\nexport function resourceSerializer(item: Resource): any {\n return item;\n}\n\nexport function resourceDeserializer(item: any): Resource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\nexport function systemDataDeserializer(item: any): SystemData {\n return {\n createdBy: item[\"createdBy\"],\n createdByType: item[\"createdByType\"],\n createdAt: !item[\"createdAt\"] ? item[\"createdAt\"] : new Date(item[\"createdAt\"]),\n lastModifiedBy: item[\"lastModifiedBy\"],\n lastModifiedByType: item[\"lastModifiedByType\"],\n lastModifiedAt: !item[\"lastModifiedAt\"]\n ? item[\"lastModifiedAt\"]\n : new Date(item[\"lastModifiedAt\"]),\n };\n}\n\n/** The kind of entity that created the resource. */\nexport enum KnownCreatedByType {\n /** The entity was created by a user. */\n User = \"User\",\n /** The entity was created by an application. */\n Application = \"Application\",\n /** The entity was created by a managed identity. */\n ManagedIdentity = \"ManagedIdentity\",\n /** The entity was created by a key. */\n Key = \"Key\",\n}\n\n/**\n * The kind of entity that created the resource. \\\n * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User**: The entity was created by a user. \\\n * **Application**: The entity was created by an application. \\\n * **ManagedIdentity**: The entity was created by a managed identity. \\\n * **Key**: The entity was created by a key.\n */\nexport type CreatedByType = string;\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\nexport function errorResponseDeserializer(item: any): ErrorResponse {\n return {\n error: !item[\"error\"] ? item[\"error\"] : errorDetailDeserializer(item[\"error\"]),\n };\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /** The error code. */\n readonly code?: string;\n /** The error message. */\n readonly message?: string;\n /** The error target. */\n readonly target?: string;\n /** The error details. */\n readonly details?: ErrorDetail[];\n /** The error additional info. */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\nexport function errorDetailDeserializer(item: any): ErrorDetail {\n return {\n code: item[\"code\"],\n message: item[\"message\"],\n target: item[\"target\"],\n details: !item[\"details\"] ? item[\"details\"] : errorDetailArrayDeserializer(item[\"details\"]),\n additionalInfo: !item[\"additionalInfo\"]\n ? item[\"additionalInfo\"]\n : errorAdditionalInfoArrayDeserializer(item[\"additionalInfo\"]),\n };\n}\n\nexport function errorDetailArrayDeserializer(result: Array<ErrorDetail>): any[] {\n return result.map((item) => {\n return errorDetailDeserializer(item);\n });\n}\n\nexport function errorAdditionalInfoArrayDeserializer(result: Array<ErrorAdditionalInfo>): any[] {\n return result.map((item) => {\n return errorAdditionalInfoDeserializer(item);\n });\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /** The additional info type. */\n readonly type?: string;\n /** The additional info. */\n readonly info?: any;\n}\n\nexport function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo {\n return {\n type: item[\"type\"],\n info: item[\"info\"],\n };\n}\n\n/** The policy assignment for Patch request. */\nexport interface PolicyAssignmentUpdate {\n /** The location of the policy assignment. Only required when utilizing managed identity. */\n location?: string;\n /** The managed identity associated with the policy assignment. */\n identity?: Identity;\n /** The resource selector list to filter policies by resource properties. */\n resourceSelectors?: ResourceSelector[];\n /** The policy property value override. */\n overrides?: Override[];\n}\n\nexport function policyAssignmentUpdateSerializer(item: PolicyAssignmentUpdate): any {\n return {\n properties: areAllPropsUndefined(item, [\"resourceSelectors\", \"overrides\"])\n ? undefined\n : _policyAssignmentUpdatePropertiesSerializer(item),\n location: item[\"location\"],\n identity: !item[\"identity\"] ? item[\"identity\"] : identitySerializer(item[\"identity\"]),\n };\n}\n\n/** The policy assignment properties for Patch request. */\nexport interface PolicyAssignmentUpdateProperties {\n /** The resource selector list to filter policies by resource properties. */\n resourceSelectors?: ResourceSelector[];\n /** The policy property value override. */\n overrides?: Override[];\n}\n\nexport function policyAssignmentUpdatePropertiesSerializer(\n item: PolicyAssignmentUpdateProperties,\n): any {\n return {\n resourceSelectors: !item[\"resourceSelectors\"]\n ? item[\"resourceSelectors\"]\n : resourceSelectorArraySerializer(item[\"resourceSelectors\"]),\n overrides: !item[\"overrides\"] ? item[\"overrides\"] : overrideArraySerializer(item[\"overrides\"]),\n };\n}\n\n/** The response of a PolicyAssignment list operation. */\nexport interface _PolicyAssignmentListResult {\n /** The PolicyAssignment items on this page */\n value: PolicyAssignment[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _policyAssignmentListResultDeserializer(item: any): _PolicyAssignmentListResult {\n return {\n value: policyAssignmentArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function policyAssignmentArraySerializer(result: Array<PolicyAssignment>): any[] {\n return result.map((item) => {\n return policyAssignmentSerializer(item);\n });\n}\n\nexport function policyAssignmentArrayDeserializer(result: Array<PolicyAssignment>): any[] {\n return result.map((item) => {\n return policyAssignmentDeserializer(item);\n });\n}\n\n/** The policy definition. */\nexport interface PolicyDefinition extends ProxyResource {\n /** The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static. */\n policyType?: PolicyType;\n /** The policy definition mode. Some examples are All, Indexed, Microsoft.KeyVault.Data. */\n mode?: string;\n /** The display name of the policy definition. */\n displayName?: string;\n /** The policy definition description. */\n description?: string;\n /** The policy rule. */\n policyRule?: any;\n /** The policy definition metadata. Metadata is an open ended object and is typically a collection of key value pairs. */\n metadata?: any;\n /** The parameter definitions for parameters used in the policy rule. The keys are the parameter names. */\n parameters?: Record<string, ParameterDefinitionsValue>;\n /** The policy definition version in #.#.# format. */\n version?: string;\n /** A list of available versions for this policy definition. */\n versions?: string[];\n /** The details of the source of external evaluation results required by the policy during enforcement evaluation. */\n externalEvaluationEnforcementSettings?: ExternalEvaluationEnforcementSettings;\n}\n\nexport function policyDefinitionSerializer(item: PolicyDefinition): any {\n return {\n properties: areAllPropsUndefined(item, [\n \"policyType\",\n \"mode\",\n \"displayName\",\n \"description\",\n \"policyRule\",\n \"metadata\",\n \"parameters\",\n \"version\",\n \"versions\",\n \"externalEvaluationEnforcementSettings\",\n ])\n ? undefined\n : _policyDefinitionPropertiesSerializer(item),\n };\n}\n\nexport function policyDefinitionDeserializer(item: any): PolicyDefinition {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n ...(!item[\"properties\"]\n ? item[\"properties\"]\n : _policyDefinitionPropertiesDeserializer(item[\"properties\"])),\n };\n}\n\n/** The policy definition properties. */\nexport interface PolicyDefinitionProperties {\n /** The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static. */\n policyType?: PolicyType;\n /** The policy definition mode. Some examples are All, Indexed, Microsoft.KeyVault.Data. */\n mode?: string;\n /** The display name of the policy definition. */\n displayName?: string;\n /** The policy definition description. */\n description?: string;\n /** The policy rule. */\n policyRule?: any;\n /** The policy definition metadata. Metadata is an open ended object and is typically a collection of key value pairs. */\n metadata?: any;\n /** The parameter definitions for parameters used in the policy rule. The keys are the parameter names. */\n parameters?: Record<string, ParameterDefinitionsValue>;\n /** The policy definition version in #.#.# format. */\n version?: string;\n /** A list of available versions for this policy definition. */\n versions?: string[];\n /** The details of the source of external evaluation results required by the policy during enforcement evaluation. */\n externalEvaluationEnforcementSettings?: ExternalEvaluationEnforcementSettings;\n}\n\nexport function policyDefinitionPropertiesSerializer(item: PolicyDefinitionProperties): any {\n return {\n policyType: item[\"policyType\"],\n mode: item[\"mode\"],\n displayName: item[\"displayName\"],\n description: item[\"description\"],\n policyRule: item[\"policyRule\"],\n metadata: item[\"metadata\"],\n parameters: !item[\"parameters\"]\n ? item[\"parameters\"]\n : parameterDefinitionsValueRecordSerializer(item[\"parameters\"]),\n version: item[\"version\"],\n versions: !item[\"versions\"]\n ? item[\"versions\"]\n : item[\"versions\"].map((p: any) => {\n return p;\n }),\n externalEvaluationEnforcementSettings: !item[\"externalEvaluationEnforcementSettings\"]\n ? item[\"externalEvaluationEnforcementSettings\"]\n : externalEvaluationEnforcementSettingsSerializer(\n item[\"externalEvaluationEnforcementSettings\"],\n ),\n };\n}\n\nexport function policyDefinitionPropertiesDeserializer(item: any): PolicyDefinitionProperties {\n return {\n policyType: item[\"policyType\"],\n mode: item[\"mode\"],\n displayName: item[\"displayName\"],\n description: item[\"description\"],\n policyRule: item[\"policyRule\"],\n metadata: item[\"metadata\"],\n parameters: !item[\"parameters\"]\n ? item[\"parameters\"]\n : parameterDefinitionsValueRecordDeserializer(item[\"parameters\"]),\n version: item[\"version\"],\n versions: !item[\"versions\"]\n ? item[\"versions\"]\n : item[\"versions\"].map((p: any) => {\n return p;\n }),\n externalEvaluationEnforcementSettings: !item[\"externalEvaluationEnforcementSettings\"]\n ? item[\"externalEvaluationEnforcementSettings\"]\n : externalEvaluationEnforcementSettingsDeserializer(\n item[\"externalEvaluationEnforcementSettings\"],\n ),\n };\n}\n\n/** The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static. */\nexport enum KnownPolicyType {\n /** The not specified policy definition type. */\n NotSpecified = \"NotSpecified\",\n /** The built in policy definition type. */\n BuiltIn = \"BuiltIn\",\n /** The custom policy definition type. */\n Custom = \"Custom\",\n /** The static policy definition type. */\n Static = \"Static\",\n}\n\n/**\n * The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static. \\\n * {@link KnownPolicyType} can be used interchangeably with PolicyType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **NotSpecified**: The not specified policy definition type. \\\n * **BuiltIn**: The built in policy definition type. \\\n * **Custom**: The custom policy definition type. \\\n * **Static**: The static policy definition type.\n */\nexport type PolicyType = string;\n\nexport function parameterDefinitionsValueRecordSerializer(\n item: Record<string, ParameterDefinitionsValue>,\n): Record<string, any> {\n const result: Record<string, any> = {};\n Object.keys(item).map((key) => {\n result[key] = !item[key] ? item[key] : parameterDefinitionsValueSerializer(item[key]);\n });\n return result;\n}\n\nexport function parameterDefinitionsValueRecordDeserializer(\n item: Record<string, any>,\n): Record<string, ParameterDefinitionsValue> {\n const result: Record<string, any> = {};\n Object.keys(item).map((key) => {\n result[key] = !item[key] ? item[key] : parameterDefinitionsValueDeserializer(item[key]);\n });\n return result;\n}\n\n/** The definition of a parameter that can be provided to the policy. */\nexport interface ParameterDefinitionsValue {\n /** The data type of the parameter. */\n type?: ParameterType;\n /** The allowed values for the parameter. */\n allowedValues?: any[];\n /** The default value for the parameter if no value is provided. */\n defaultValue?: any;\n /** Provides validation of parameter inputs during assignment using a self-defined JSON schema. This property is only supported for object-type parameters and follows the Json.NET Schema 2019-09 implementation. You can learn more about using schemas at https://json-schema.org/ and test draft schemas at https://www.jsonschemavalidator.net/. */\n schema?: any;\n /** General metadata for the parameter. */\n metadata?: ParameterDefinitionsValueMetadata;\n}\n\nexport function parameterDefinitionsValueSerializer(item: ParameterDefinitionsValue): any {\n return {\n type: item[\"type\"],\n allowedValues: !item[\"allowedValues\"]\n ? item[\"allowedValues\"]\n : item[\"allowedValues\"].map((p: any) => {\n return p;\n }),\n defaultValue: item[\"defaultValue\"],\n schema: item[\"schema\"],\n metadata: !item[\"metadata\"]\n ? item[\"metadata\"]\n : parameterDefinitionsValueMetadataSerializer(item[\"metadata\"]),\n };\n}\n\nexport function parameterDefinitionsValueDeserializer(item: any): ParameterDefinitionsValue {\n return {\n type: item[\"type\"],\n allowedValues: !item[\"allowedValues\"]\n ? item[\"allowedValues\"]\n : item[\"allowedValues\"].map((p: any) => {\n return p;\n }),\n defaultValue: item[\"defaultValue\"],\n schema: item[\"schema\"],\n metadata: !item[\"metadata\"]\n ? item[\"metadata\"]\n : parameterDefinitionsValueMetadataDeserializer(item[\"metadata\"]),\n };\n}\n\n/** The data type of the parameter. */\nexport enum KnownParameterType {\n /** The string parameter type. */\n String = \"String\",\n /** The array parameter type. */\n Array = \"Array\",\n /** The object parameter type. */\n Object = \"Object\",\n /** The boolean parameter type. */\n Boolean = \"Boolean\",\n /** The integer parameter type. */\n Integer = \"Integer\",\n /** The float parameter type. */\n Float = \"Float\",\n /** The date-time parameter type. */\n DateTime = \"DateTime\",\n}\n\n/**\n * The data type of the parameter. \\\n * {@link KnownParameterType} can be used interchangeably with ParameterType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **String**: The string parameter type. \\\n * **Array**: The array parameter type. \\\n * **Object**: The object parameter type. \\\n * **Boolean**: The boolean parameter type. \\\n * **Integer**: The integer parameter type. \\\n * **Float**: The float parameter type. \\\n * **DateTime**: The date-time parameter type.\n */\nexport type ParameterType = string;\n\n/** General metadata for the parameter. */\nexport interface ParameterDefinitionsValueMetadata {\n /** The display name for the parameter. */\n displayName?: string;\n /** The description of the parameter. */\n description?: string;\n /** Used when assigning the policy definition through the portal. Provides a context aware list of values for the user to choose from. */\n strongType?: string;\n /** Set to true to have Azure portal create role assignments on the resource ID or resource scope value of this parameter during policy assignment. This property is useful in case you wish to assign permissions outside the assignment scope. */\n assignPermissions?: boolean;\n /** Additional properties */\n additionalProperties?: Record<string, any>;\n}\n\nexport function parameterDefinitionsValueMetadataSerializer(\n item: ParameterDefinitionsValueMetadata,\n): any {\n return {\n ...serializeRecord(item.additionalProperties ?? {}),\n displayName: item[\"displayName\"],\n description: item[\"description\"],\n strongType: item[\"strongType\"],\n assignPermissions: item[\"assignPermissions\"],\n };\n}\n\nexport function parameterDefinitionsValueMetadataDeserializer(\n item: any,\n): ParameterDefinitionsValueMetadata {\n return {\n additionalProperties: serializeRecord(item, [\n \"displayName\",\n \"description\",\n \"strongType\",\n \"assignPermissions\",\n ]),\n displayName: item[\"displayName\"],\n description: item[\"description\"],\n strongType: item[\"strongType\"],\n assignPermissions: item[\"assignPermissions\"],\n };\n}\n\n/** The details of the source of external evaluation results required by the policy during enforcement evaluation. */\nexport interface ExternalEvaluationEnforcementSettings {\n /** What to do when evaluating an enforcement policy that requires an external evaluation and the token is missing. Possible values are Audit and Deny and language expressions are supported. */\n missingTokenAction?: string;\n /** The lifespan of the endpoint invocation result after which it's no longer valid. Value is expected to follow the ISO 8601 duration format and language expressions are supported. */\n resultLifespan?: string;\n /** The settings of an external endpoint providing evaluation results. */\n endpointSettings?: ExternalEvaluationEndpointSettings;\n /** An array of the role definition Ids the assignment's MSI will need in order to invoke the endpoint. */\n roleDefinitionIds?: string[];\n}\n\nexport function externalEvaluationEnforcementSettingsSerializer(\n item: ExternalEvaluationEnforcementSettings,\n): any {\n return {\n missingTokenAction: item[\"missingTokenAction\"],\n resultLifespan: item[\"resultLifespan\"],\n endpointSettings: !item[\"endpointSettings\"]\n ? item[\"endpointSettings\"]\n : externalEvaluationEndpointSettingsSerializer(item[\"endpointSettings\"]),\n roleDefinitionIds: !item[\"roleDefinitionIds\"]\n ? item[\"roleDefinitionIds\"]\n : item[\"roleDefinitionIds\"].map((p: any) => {\n return p;\n }),\n };\n}\n\nexport function externalEvaluationEnforcementSettingsDeserializer(\n item: any,\n): ExternalEvaluationEnforcementSettings {\n return {\n missingTokenAction: item[\"missingTokenAction\"],\n resultLifespan: item[\"resultLifespan\"],\n endpointSettings: !item[\"endpointSettings\"]\n ? item[\"endpointSettings\"]\n : externalEvaluationEndpointSettingsDeserializer(item[\"endpointSettings\"]),\n roleDefinitionIds: !item[\"roleDefinitionIds\"]\n ? item[\"roleDefinitionIds\"]\n : item[\"roleDefinitionIds\"].map((p: any) => {\n return p;\n }),\n };\n}\n\n/** The settings of an external endpoint providing evaluation results. */\nexport interface ExternalEvaluationEndpointSettings {\n /** The kind of the endpoint. */\n kind?: string;\n /** The details of the endpoint. */\n details?: any;\n}\n\nexport function externalEvaluationEndpointSettingsSerializer(\n item: ExternalEvaluationEndpointSettings,\n): any {\n return { kind: item[\"kind\"], details: item[\"details\"] };\n}\n\nexport function externalEvaluationEndpointSettingsDeserializer(\n item: any,\n): ExternalEvaluationEndpointSettings {\n return {\n kind: item[\"kind\"],\n details: item[\"details\"],\n };\n}\n\n/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */\nexport interface ProxyResource extends Resource {}\n\nexport function proxyResourceSerializer(item: ProxyResource): any {\n return item;\n}\n\nexport function proxyResourceDeserializer(item: any): ProxyResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** The response of a PolicyDefinition list operation. */\nexport interface _PolicyDefinitionListResult {\n /** The PolicyDefinition items on this page */\n value: PolicyDefinition[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _policyDefinitionListResultDeserializer(item: any): _PolicyDefinitionListResult {\n return {\n value: policyDefinitionArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function policyDefinitionArraySerializer(result: Array<PolicyDefinition>): any[] {\n return result.map((item) => {\n return policyDefinitionSerializer(item);\n });\n}\n\nexport function policyDefinitionArrayDeserializer(result: Array<PolicyDefinition>): any[] {\n return result.map((item) => {\n return policyDefinitionDeserializer(item);\n });\n}\n\n/** The ID of the policy definition version. */\nexport interface PolicyDefinitionVersion extends ProxyResource {\n /** The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static. */\n policyType?: PolicyType;\n /** The policy definition mode. Some examples are All, Indexed, Microsoft.KeyVault.Data. */\n mode?: string;\n /** The display name of the policy definition. */\n displayName?: string;\n /** The policy definition description. */\n description?: string;\n /** The policy rule. */\n policyRule?: any;\n /** The policy definition metadata. Metadata is an open ended object and is typically a collection of key value pairs. */\n metadata?: any;\n /** The parameter definitions for parameters used in the policy rule. The keys are the parameter names. */\n parameters?: Record<string, ParameterDefinitionsValue>;\n /** The policy definition version in #.#.# format. */\n version?: string;\n /** The details of the source of external evaluation results required by the policy during enforcement evaluation. */\n externalEvaluationEnforcementSettings?: ExternalEvaluationEnforcementSettings;\n}\n\nexport function policyDefinitionVersionSerializer(item: PolicyDefinitionVersion): any {\n return {\n properties: areAllPropsUndefined(item, [\n \"policyType\",\n \"mode\",\n \"displayName\",\n \"description\",\n \"policyRule\",\n \"metadata\",\n \"parameters\",\n \"version\",\n \"externalEvaluationEnforcementSettings\",\n ])\n ? undefined\n : _policyDefinitionVersionPropertiesSerializer(item),\n };\n}\n\nexport function policyDefinitionVersionDeserializer(item: any): PolicyDefinitionVersion {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n ...(!item[\"properties\"]\n ? item[\"properties\"]\n : _policyDefinitionVersionPropertiesDeserializer(item[\"properties\"])),\n };\n}\n\n/** The policy definition properties. */\nexport interface PolicyDefinitionVersionProperties {\n /** The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static. */\n policyType?: PolicyType;\n /** The policy definition mode. Some examples are All, Indexed, Microsoft.KeyVault.Data. */\n mode?: string;\n /** The display name of the policy definition. */\n displayName?: string;\n /** The policy definition description. */\n description?: string;\n /** The policy rule. */\n policyRule?: any;\n /** The policy definition metadata. Metadata is an open ended object and is typically a collection of key value pairs. */\n metadata?: any;\n /** The parameter definitions for parameters used in the policy rule. The keys are the parameter names. */\n parameters?: Record<string, ParameterDefinitionsValue>;\n /** The policy definition version in #.#.# format. */\n version?: string;\n /** The details of the source of external evaluation results required by the policy during enforcement evaluation. */\n externalEvaluationEnforcementSettings?: ExternalEvaluationEnforcementSettings;\n}\n\nexport function policyDefinitionVersionPropertiesSerializer(\n item: PolicyDefinitionVersionProperties,\n): any {\n return {\n policyType: item[\"policyType\"],\n mode: item[\"mode\"],\n displayName: item[\"displayName\"],\n description: item[\"description\"],\n policyRule: item[\"policyRule\"],\n metadata: item[\"metadata\"],\n parameters: !item[\"parameters\"]\n ? item[\"parameters\"]\n : parameterDefinitionsValueRecordSerializer(item[\"parameters\"]),\n version: item[\"version\"],\n externalEvaluationEnforcementSettings: !item[\"externalEvaluationEnforcementSettings\"]\n ? item[\"externalEvaluationEnforcementSettings\"]\n : externalEvaluationEnforcementSettingsSerializer(\n item[\"externalEvaluationEnforcementSettings\"],\n ),\n };\n}\n\nexport function policyDefinitionVersionPropertiesDeserializer(\n item: any,\n): PolicyDefinitionVersionProperties {\n return {\n policyType: item[\"policyType\"],\n mode: item[\"mode\"],\n displayName: item[\"displayName\"],\n description: item[\"description\"],\n policyRule: item[\"policyRule\"],\n metadata: item[\"metadata\"],\n parameters: !item[\"parameters\"]\n ? item[\"parameters\"]\n : parameterDefinitionsValueRecordDeserializer(item[\"parameters\"]),\n version: item[\"version\"],\n externalEvaluationEnforcementSettings: !item[\"externalEvaluationEnforcementSettings\"]\n ? item[\"externalEvaluationEnforcementSettings\"]\n : externalEvaluationEnforcementSettingsDeserializer(\n item[\"externalEvaluationEnforcementSettings\"],\n ),\n };\n}\n\n/** The response of a PolicyDefinitionVersion list operation. */\nexport interface _PolicyDefinitionVersionListResult {\n /** The PolicyDefinitionVersion items on this page */\n value: PolicyDefinitionVersion[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _policyDefinitionVersionListResultDeserializer(\n item: any,\n): _PolicyDefinitionVersionListResult {\n return {\n value: policyDefinitionVersionArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function policyDefinitionVersionArraySerializer(\n result: Array<PolicyDefinitionVersion>,\n): any[] {\n return result.map((item) => {\n return policyDefinitionVersionSerializer(item);\n });\n}\n\nexport function policyDefinitionVersionArrayDeserializer(\n result: Array<PolicyDefinitionVersion>,\n): any[] {\n return result.map((item) => {\n return policyDefinitionVersionDeserializer(item);\n });\n}\n\n/** The policy set definition. */\nexport interface PolicySetDefinition extends ProxyResource {\n /** The type of policy set definition. Possible values are NotSpecified, BuiltIn, Custom, and Static. */\n policyType?: PolicyType;\n /** The display name of the policy set definition. */\n displayName?: string;\n /** The policy set definition description. */\n description?: string;\n /** The policy set definition metadata. Metadata is an open ended object and is typically a collection of key value pairs. */\n metadata?: any;\n /** The policy set definition parameters that can be used in policy definition references. */\n parameters?: Record<string, ParameterDefinitionsValue>;\n /** An array of policy definition references. */\n policyDefinitions?: PolicyDefinitionReference[];\n /** The metadata describing groups of policy definition references within the policy set definition. */\n policyDefinitionGroups?: PolicyDefinitionGroup[];\n /** The policy set definition version in #.#.# format. */\n version?: string;\n /** A list of available versions for this policy set definition. */\n versions?: string[];\n}\n\nexport function policySetDefinitionSerializer(item: PolicySetDefinition): any {\n return {\n properties: areAllPropsUndefined(item, [\n \"policyType\",\n \"displayName\",\n \"description\",\n \"metadata\",\n \"parameters\",\n \"policyDefinitions\",\n \"policyDefinitionGroups\",\n \"version\",\n \"versions\",\n ])\n ? undefined\n : _policySetDefinitionPropertiesSerializer(item),\n };\n}\n\nexport function policySetDefinitionDeserializer(item: any): PolicySetDefinition {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n ...(!item[\"properties\"]\n ? item[\"properties\"]\n : _policySetDefinitionPropertiesDeserializer(item[\"properties\"])),\n };\n}\n\n/** The policy set definition properties. */\nexport interface PolicySetDefinitionProperties {\n /** The type of policy set definition. Possible values are NotSpecified, BuiltIn, Custom, and Static. */\n policyType?: PolicyType;\n /** The display name of the policy set definition. */\n displayName?: string;\n /** The policy set definition description. */\n description?: string;\n /** The policy set definition metadata. Metadata is an open ended object and is typically a collection of key value pairs. */\n metadata?: any;\n /** The policy set definition parameters that can be used in policy definition references. */\n parameters?: Record<string, ParameterDefinitionsValue>;\n /** An array of policy definition references. */\n policyDefinitions: PolicyDefinitionReference[];\n /** The metadata describing groups of policy definition references within the policy set definition. */\n policyDefinitionGroups?: PolicyDefinitionGroup[];\n /** The policy set definition version in #.#.# format. */\n version?: string;\n /** A list of available versions for this policy set definition. */\n versions?: string[];\n}\n\nexport function policySetDefinitionPropertiesSerializer(item: PolicySetDefinitionProperties): any {\n return {\n policyType: item[\"policyType\"],\n displayName: item[\"displayName\"],\n description: item[\"description\"],\n metadata: item[\"metadata\"],\n parameters: !item[\"parameters\"]\n ? item[\"parameters\"]\n : parameterDefinitionsValueRecordSerializer(item[\"parameters\"]),\n policyDefinitions: policyDefinitionReferenceArraySerializer(item[\"policyDefinitions\"]),\n policyDefinitionGroups: !item[\"policyDefinitionGroups\"]\n ? item[\"policyDefinitionGroups\"]\n : policyDefinitionGroupArraySerializer(item[\"policyDefinitionGroups\"]),\n version: item[\"version\"],\n versions: !item[\"versions\"]\n ? item[\"versions\"]\n : item[\"versions\"].map((p: any) => {\n return p;\n }),\n };\n}\n\nexport function policySetDefinitionPropertiesDeserializer(\n item: any,\n): PolicySetDefinitionProperties {\n return {\n policyType: item[\"policyType\"],\n displayName: item[\"displayName\"],\n description: item[\"description\"],\n metadata: item[\"metadata\"],\n parameters: !item[\"parameters\"]\n ? item[\"parameters\"]\n : parameterDefinitionsValueRecordDeserializer(item[\"parameters\"]),\n policyDefinitions: policyDefinitionReferenceArrayDeserializer(item[\"policyDefinitions\"]),\n policyDefinitionGroups: !item[\"policyDefinitionGroups\"]\n ? item[\"policyDefinitionGroups\"]\n : policyDefinitionGroupArrayDeserializer(item[\"policyDefinitionGroups\"]),\n version: item[\"version\"],\n versions: !item[\"versions\"]\n ? item[\"versions\"]\n : item[\"versions\"].map((p: any) => {\n return p;\n }),\n };\n}\n\nexport function policyDefinitionReferenceArraySerializer(\n result: Array<PolicyDefinitionReference>,\n): any[] {\n return result.map((item) => {\n return policyDefinitionReferenceSerializer(item);\n });\n}\n\nexport function policyDefinitionReferenceArrayDeserializer(\n result: Array<PolicyDefinitionReference>,\n): any[] {\n return result.map((item) => {\n return policyDefinitionReferenceDeserializer(item);\n });\n}\n\n/** The policy definition reference. */\nexport interface PolicyDefinitionReference {\n /** The ID of the policy definition or policy set definition. */\n policyDefinitionId: string;\n /** The version of the policy definition to use. */\n definitionVersion?: string;\n /** The latest version of the policy definition available. This is only present if requested via the $expand query parameter. */\n readonly latestDefinitionVersion?: string;\n /** The effective version of the policy definition in use. This is only present if requested via the $expand query parameter. */\n readonly effectiveDefinitionVersion?: string;\n /** The parameter values for the referenced policy rule. The keys are the parameter names. */\n parameters?: Record<string, ParameterValuesValue>;\n /** A unique id (within the policy set definition) for this policy definition reference. */\n policyDefinitionReferenceId?: string;\n /** The name of the groups that this policy definition reference belongs to. */\n groupNames?: string[];\n}\n\nexport function policyDefinitionReferenceSerializer(item: PolicyDefinitionReference): any {\n return {\n policyDefinitionId: item[\"policyDefinitionId\"],\n definitionVersion: item[\"definitionVersion\"],\n parameters: !item[\"parameters\"]\n ? item[\"parameters\"]\n : parameterValuesValueRecordSerializer(item[\"parameters\"]),\n policyDefinitionReferenceId: item[\"policyDefinitionReferenceId\"],\n groupNames: !item[\"groupNames\"]\n ? item[\"groupNames\"]\n : item[\"groupNames\"].map((p: any) => {\n return p;\n }),\n };\n}\n\nexport function policyDefinitionReferenceDeserializer(item: any): PolicyDefinitionReference {\n return {\n policyDefinitionId: item[\"policyDefinitionId\"],\n definitionVersion: item[\"definitionVersion\"],\n latestDefinitionVersion: item[\"latestDefinitionVersion\"],\n effectiveDefinitionVersion: item[\"effectiveDefinitionVersion\"],\n parameters: !item[\"parameters\"]\n ? item[\"parameters\"]\n : parameterValuesValueRecordDeserializer(item[\"parameters\"]),\n policyDefinitionReferenceId: item[\"policyDefinitionReferenceId\"],\n groupNames: !item[\"groupNames\"]\n ? item[\"groupNames\"]\n : item[\"groupNames\"].map((p: any) => {\n return p;\n }),\n };\n}\n\nexport function policyDefinitionGroupArraySerializer(result: Array<PolicyDefinitionGroup>): any[] {\n return result.map((item) => {\n return policyDefinitionGroupSerializer(item);\n });\n}\n\nexport function policyDefinitionGroupArrayDeserializer(\n result: Array<PolicyDefinitionGroup>,\n): any[] {\n return result.map((item) => {\n return policyDefinitionGroupDeserializer(item);\n });\n}\n\n/** The policy definition group. */\nexport interface PolicyDefinitionGroup {\n /** The name of the group. */\n name: string;\n /** The group's display name. */\n displayName?: string;\n /** The group's category. */\n category?: string;\n /** The group's description. */\n description?: string;\n /** A resource ID of a resource that contains additional metadata about the group. */\n additionalMetadataId?: string;\n}\n\nexport function policyDefinitionGroupSerializer(item: PolicyDefinitionGroup): any {\n return {\n name: item[\"name\"],\n displayName: item[\"displayName\"],\n category: item[\"category\"],\n description: item[\"description\"],\n additionalMetadataId: item[\"additionalMetadataId\"],\n };\n}\n\nexport function policyDefinitionGroupDeserializer(item: any): PolicyDefinitionGroup {\n return {\n name: item[\"name\"],\n displayName: item[\"displayName\"],\n category: item[\"category\"],\n description: item[\"description\"],\n additionalMetadataId: item[\"additionalMetadataId\"],\n };\n}\n\n/** The response of a PolicySetDefinition list operation. */\nexport interface _PolicySetDefinitionListResult {\n /** The PolicySetDefinition items on this page */\n value: PolicySetDefinition[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _policySetDefinitionListResultDeserializer(\n item: any,\n): _PolicySetDefinitionListResult {\n return {\n value: policySetDefinitionArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function policySetDefinitionArraySerializer(result: Array<PolicySetDefinition>): any[] {\n return result.map((item) => {\n return policySetDefinitionSerializer(item);\n });\n}\n\nexport function policySetDefinitionArrayDeserializer(result: Array<PolicySetDefinition>): any[] {\n return result.map((item) => {\n return policySetDefinitionDeserializer(item);\n });\n}\n\n/** The policy set definition version. */\nexport interface PolicySetDefinitionVersion extends ProxyResource {\n /** The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static. */\n policyType?: PolicyType;\n /** The display name of the policy set definition. */\n displayName?: string;\n /** The policy set definition description. */\n description?: string;\n /** The policy set definition metadata. Metadata is an open ended object and is typically a collection of key value pairs. */\n metadata?: any;\n /** The policy set definition parameters that can be used in policy definition references. */\n parameters?: Record<string, ParameterDefinitionsValue>;\n /** An array of policy definition references. */\n policyDefinitions?: PolicyDefinitionReference[];\n /** The metadata describing groups of policy definition references within the policy set definition. */\n policyDefinitionGroups?: PolicyDefinitionGroup[];\n /** The policy set definition version in #.#.# format. */\n version?: string;\n}\n\nexport function policySetDefinitionVersionSerializer(item: PolicySetDefinitionVersion): any {\n return {\n properties: areAllPropsUndefined(item, [\n \"policyType\",\n \"displayName\",\n \"description\",\n \"metadata\",\n \"parameters\",\n \"policyDefinitions\",\n \"policyDefinitionGroups\",\n \"version\",\n ])\n ? undefined\n : _policySetDefinitionVersionPropertiesSerializer(item),\n };\n}\n\nexport function policySetDefinitionVersionDeserializer(item: any): PolicySetDefinitionVersion {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n ...(!item[\"properties\"]\n ? item[\"properties\"]\n : _policySetDefinitionVersionPropertiesDeserializer(item[\"properties\"])),\n };\n}\n\n/** The policy set definition properties. */\nexport interface PolicySetDefinitionVersionProperties {\n /** The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static. */\n policyType?: PolicyType;\n /** The display name of the policy set definition. */\n displayName?: string;\n /** The policy set definition description. */\n description?: string;\n /** The policy set definition metadata. Metadata is an open ended object and is typically a collection of key value pairs. */\n metadata?: any;\n /** The policy set definition parameters that can be used in policy definition references. */\n parameters?: Record<string, ParameterDefinitionsValue>;\n /** An array of policy definition references. */\n policyDefinitions: PolicyDefinitionReference[];\n /** The metadata describing groups of policy definition references within the policy set definition. */\n policyDefinitionGroups?: PolicyDefinitionGroup[];\n /** The policy set definition version in #.#.# format. */\n version?: string;\n}\n\nexport function policySetDefinitionVersionPropertiesSerializer(\n item: PolicySetDefinitionVersionProperties,\n): any {\n return {\n policyType: item[\"policyType\"],\n displayName: item[\"displayName\"],\n description: item[\"description\"],\n metadata: item[\"metadata\"],\n parameters: !item[\"parameters\"]\n ? item[\"parameters\"]\n : parameterDefinitionsValueRecordSerializer(item[\"parameters\"]),\n policyDefinitions: policyDefinitionReferenceArraySerializer(item[\"policyDefinitions\"]),\n policyDefinitionGroups: !item[\"policyDefinitionGroups\"]\n ? item[\"policyDefinitionGroups\"]\n : policyDefinitionGroupArraySerializer(item[\"policyDefinitionGroups\"]),\n version: item[\"version\"],\n };\n}\n\nexport function policySetDefinitionVersionPropertiesDeserializer(\n item: any,\n): PolicySetDefinitionVersionProperties {\n return {\n policyType: item[\"policyType\"],\n displayName: item[\"displayName\"],\n description: item[\"description\"],\n metadata: item[\"metadata\"],\n parameters: !item[\"parameters\"]\n ? item[\"parameters\"]\n : parameterDefinitionsValueRecordDeserializer(item[\"parameters\"]),\n policyDefinitions: policyDefinitionReferenceArrayDeserializer(item[\"policyDefinitions\"]),\n policyDefinitionGroups: !item[\"policyDefinitionGroups\"]\n ? item[\"policyDefinitionGroups\"]\n : policyDefinitionGroupArrayDeserializer(item[\"policyDefinitionGroups\"]),\n version: item[\"version\"],\n };\n}\n\n/** The response of a PolicySetDefinitionVersion list operation. */\nexport interface _PolicySetDefinitionVersionListResult {\n /** The PolicySetDefinitionVersion items on this page */\n value: PolicySetDefinitionVersion[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _policySetDefinitionVersionListResultDeserializer(\n item: any,\n): _PolicySetDefinitionVersionListResult {\n return {\n value: policySetDefinitionVersionArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function policySetDefinitionVersionArraySerializer(\n result: Array<PolicySetDefinitionVersion>,\n): any[] {\n return result.map((item) => {\n return policySetDefinitionVersionSerializer(item);\n });\n}\n\nexport function policySetDefinitionVersionArrayDeserializer(\n result: Array<PolicySetDefinitionVersion>,\n): any[] {\n return result.map((item) => {\n return policySetDefinitionVersionDeserializer(item);\n });\n}\n\n/** The policy token request properties. */\nexport interface PolicyTokenRequest {\n /** The resource operation to acquire a token for. */\n operation: PolicyTokenOperation;\n /** The change reference. */\n changeReference?: string;\n}\n\nexport function policyTokenRequestSerializer(item: PolicyTokenRequest): any {\n return {\n operation: policyTokenOperationSerializer(item[\"operation\"]),\n changeReference: item[\"changeReference\"],\n };\n}\n\n/** The resource operation to acquire a token for. */\nexport interface PolicyTokenOperation {\n /** The request URI of the resource operation. */\n uri: string;\n /** The http method of the resource operation. */\n httpMethod: string;\n /** The payload of the resource operation. */\n content?: any;\n}\n\nexport function policyTokenOperationSerializer(item: PolicyTokenOperation): any {\n return { uri: item[\"uri\"], httpMethod: item[\"httpMethod\"], content: item[\"content\"] };\n}\n\n/** The policy token response properties. */\nexport interface PolicyTokenResponse {\n /** The result of the completed token acquisition operation. Possible values are Succeeded and Failed. */\n result?: PolicyTokenResult;\n /** Status message with additional details about the token acquisition operation result. */\n message?: string;\n /** The date and time after which the client can try to acquire a token again in the case of retry-able failures. */\n retryAfter?: Date;\n /** An array of external evaluation endpoint invocation results. */\n results?: ExternalEvaluationEndpointInvocationResult[];\n /** The change reference associated with the operation for which the token is acquired. */\n changeReference?: string;\n /** The issued policy token. */\n token?: string;\n /** The unique Id assigned to the policy token. */\n tokenId?: string;\n /** The expiration of the policy token. */\n expiration?: Date;\n}\n\nexport function policyTokenResponseDeserializer(item: any): PolicyTokenResponse {\n return {\n result: item[\"result\"],\n message: item[\"message\"],\n retryAfter: !item[\"retryAfter\"] ? item[\"retryAfter\"] : new Date(item[\"retryAfter\"]),\n results: !item[\"results\"]\n ? item[\"results\"]\n : externalEvaluationEndpointInvocationResultArrayDeserializer(item[\"results\"]),\n changeReference: item[\"changeReference\"],\n token: item[\"token\"],\n tokenId: item[\"tokenId\"],\n expiration: !item[\"expiration\"] ? item[\"expiration\"] : new Date(item[\"expiration\"]),\n };\n}\n\n/** The result of the completed token acquisition operation. Possible values are Succeeded and Failed. */\nexport enum KnownPolicyTokenResult {\n /** The token acquisition succeeded. */\n Succeeded = \"Succeeded\",\n /** The token acquisition failed. */\n Failed = \"Failed\",\n}\n\n/**\n * The result of the completed token acquisition operation. Possible values are Succeeded and Failed. \\\n * {@link KnownPolicyTokenResult} can be used interchangeably with PolicyTokenResult,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Succeeded**: The token acquisition succeeded. \\\n * **Failed**: The token acquisition failed.\n */\nexport type PolicyTokenResult = string;\n\nexport function externalEvaluationEndpointInvocationResultArrayDeserializer(\n result: Array<ExternalEvaluationEndpointInvocationResult>,\n): any[] {\n return result.map((item) => {\n return externalEvaluationEndpointInvocationResultDeserializer(item);\n });\n}\n\n/** The external evaluation endpoint invocation results. */\nexport interface ExternalEvaluationEndpointInvocationResult {\n /** The details of the policy requiring the external endpoint invocation. */\n policyInfo?: PolicyLogInfo;\n /** The result of the external endpoint. Possible values are Succeeded and Failed. */\n result?: ExternalEndpointResult;\n /** The status message with additional details about the invocation result. */\n message?: string;\n /** The date and time after which a failed endpoint invocation can be retried. */\n retryAfter?: Date;\n /** The set of claims that will be attached to the policy token as an attestation for the result of the endpoint invocation. */\n claims?: any;\n /** The expiration of the results. */\n expiration?: Date;\n}\n\nexport function externalEvaluationEndpointInvocationResultDeserializer(\n item: any,\n): ExternalEvaluationEndpointInvocationResult {\n return {\n policyInfo: !item[\"policyInfo\"]\n ? item[\"policyInfo\"]\n : policyLogInfoDeserializer(item[\"policyInfo\"]),\n result: item[\"result\"],\n message: item[\"message\"],\n retryAfter: !item[\"retryAfter\"] ? item[\"retryAfter\"] : new Date(item[\"retryAfter\"]),\n claims: item[\"claims\"],\n expiration: !item[\"expiration\"] ? item[\"expiration\"] : new Date(item[\"expiration\"]),\n };\n}\n\n/** The policy log info. */\nexport interface PolicyLogInfo {\n /** The policy definition Id. */\n policyDefinitionId?: string;\n /** The policy set definition Id. */\n policySetDefinitionId?: string;\n /** The policy definition instance Id inside a policy set. */\n policyDefinitionReferenceId?: string;\n /** The policy set definition name. */\n policySetDefinitionName?: string;\n /** The policy set definition display name. */\n policySetDefinitionDisplayName?: string;\n /** The policy set definition version. */\n policySetDefinitionVersion?: string;\n /** The policy set definition category. */\n policySetDefinitionCategory?: string;\n /** The policy definition name. */\n policyDefinitionName?: string;\n /** The policy definition display name. */\n policyDefinitionDisplayName?: string;\n /** The policy definition version. */\n policyDefinitionVersion?: string;\n /** The policy definition action. */\n policyDefinitionEffect?: string;\n /** An array of policy definition group names. */\n policyDefinitionGroupNames?: string[];\n /** The policy assignment Id. */\n policyAssignmentId?: string;\n /** The policy assignment name. */\n policyAssignmentName?: string;\n /** The policy assignment display name. */\n policyAssignmentDisplayName?: string;\n /** The policy assignment version. */\n policyAssignmentVersion?: string;\n /** The policy assignment scope. */\n policyAssignmentScope?: string;\n /** The resource location. */\n resourceLocation?: string;\n /** The management group ancestors. */\n ancestors?: string;\n /** The policy compliance reason code. */\n complianceReasonCode?: string;\n /** An array of policy exemption Ids. */\n policyExemptionIds?: string[];\n}\n\nexport function policyLogInfoDeserializer(item: any): PolicyLogInfo {\n return {\n policyDefinitionId: item[\"policyDefinitionId\"],\n policySetDefinitionId: item[\"policySetDefinitionId\"],\n policyDefinitionReferenceId: item[\"policyDefinitionReferenceId\"],\n policySetDefinitionName: item[\"policySetDefinitionName\"],\n policySetDefinitionDisplayName: item[\"policySetDefinitionDisplayName\"],\n policySetDefinitionVersion: item[\"policySetDefinitionVersion\"],\n policySetDefinitionCategory: item[\"policySetDefinitionCategory\"],\n policyDefinitionName: item[\"policyDefinitionName\"],\n policyDefinitionDisplayName: item[\"policyDefinitionDisplayName\"],\n policyDefinitionVersion: item[\"policyDefinitionVersion\"],\n policyDefinitionEffect: item[\"policyDefinitionEffect\"],\n policyDefinitionGroupNames: !item[\"policyDefinitionGroupNames\"]\n ? item[\"policyDefinitionGroupNames\"]\n : item[\"policyDefinitionGroupNames\"].map((p: any) => {\n return p;\n }),\n policyAssignmentId: item[\"policyAssignmentId\"],\n policyAssignmentName: item[\"policyAssignmentName\"],\n policyAssignmentDisplayName: item[\"policyAssignmentDisplayName\"],\n policyAssignmentVersion: item[\"policyAssignmentVersion\"],\n policyAssignmentScope: item[\"policyAssignmentScope\"],\n resourceLocation: item[\"resourceLocation\"],\n ancestors: item[\"ancestors\"],\n complianceReasonCode: item[\"complianceReasonCode\"],\n policyExemptionIds: !item[\"policyExemptionIds\"]\n ? item[\"policyExemptionIds\"]\n : item[\"policyExemptionIds\"].map((p: any) => {\n return p;\n }),\n };\n}\n\n/** The result of the external endpoint. Possible values are Succeeded and Failed. */\nexport enum KnownExternalEndpointResult {\n /** The external endpoint succeeded. */\n Succeeded = \"Succeeded\",\n /** The external endpoint failed. */\n Failed = \"Failed\",\n}\n\n/**\n * The result of the external endpoint. Possible values are Succeeded and Failed. \\\n * {@link KnownExternalEndpointResult} can be used interchangeably with ExternalEndpointResult,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Succeeded**: The external endpoint succeeded. \\\n * **Failed**: The external endpoint failed.\n */\nexport type ExternalEndpointResult = string;\n\n/** The available API versions. */\nexport enum KnownVersions {\n /** The 2025-03-01 API version. */\n V20250301 = \"2025-03-01\",\n}\n\nexport function _policyAssignmentPropertiesSerializer(item: PolicyAssignment): any {\n return {\n displayName: item[\"displayName\"],\n policyDefinitionId: item[\"policyDefinitionId\"],\n definitionVersion: item[\"definitionVersion\"],\n notScopes: !item[\"notScopes\"]\n ? item[\"notScopes\"]\n : item[\"notScopes\"].map((p: any) => {\n return p;\n }),\n parameters: !item[\"parameters\"]\n ? item[\"parameters\"]\n : parameterValuesValueRecordSerializer(item[\"parameters\"]),\n description: item[\"description\"],\n metadata: item[\"metadata\"],\n enforcementMode: item[\"enforcementMode\"],\n nonComplianceMessages: !item[\"nonComplianceMessages\"]\n ? item[\"nonComplianceMessages\"]\n : nonComplianceMessageArraySerializer(item[\"nonComplianceMessages\"]),\n resourceSelectors: !item[\"resourceSelectors\"]\n ? item[\"resourceSelectors\"]\n : resourceSelectorArraySerializer(item[\"resourceSelectors\"]),\n overrides: !item[\"overrides\"] ? item[\"overrides\"] : overrideArraySerializer(item[\"overrides\"]),\n assignmentType: item[\"assignmentType\"],\n };\n}\n\nexport function _policyAssignmentPropertiesDeserializer(item: any) {\n return {\n displayName: item[\"displayName\"],\n policyDefinitionId: item[\"policyDefinitionId\"],\n definitionVersion: item[\"definitionVersion\"],\n latestDefinitionVersion: item[\"latestDefinitionVersion\"],\n effectiveDefinitionVersion: item[\"effectiveDefinitionVersion\"],\n scope: item[\"scope\"],\n notScopes: !item[\"notScopes\"]\n ? item[\"notScopes\"]\n : item[\"notScopes\"].map((p: any) => {\n return p;\n }),\n parameters: !item[\"parameters\"]\n ? item[\"parameters\"]\n : parameterValuesValueRecordDeserializer(item[\"parameters\"]),\n description: item[\"description\"],\n metadata: item[\"metadata\"],\n enforcementMode: item[\"enforcementMode\"],\n nonComplianceMessages: !item[\"nonComplianceMessages\"]\n ? item[\"nonComplianceMessages\"]\n : nonComplianceMessageArrayDeserializer(item[\"nonComplianceMessages\"]),\n resourceSelectors: !item[\"resourceSelectors\"]\n ? item[\"resourceSelectors\"]\n : resourceSelectorArrayDeserializer(item[\"resourceSelectors\"]),\n overrides: !item[\"overrides\"]\n ? item[\"overrides\"]\n : overrideArrayDeserializer(item[\"overrides\"]),\n assignmentType: item[\"assignmentType\"],\n instanceId: item[\"instanceId\"],\n };\n}\n\nexport function _policyAssignmentUpdatePropertiesSerializer(item: PolicyAssignmentUpdate): any {\n return {\n resourceSelectors: !item[\"resourceSelectors\"]\n ? item[\"resourceSelectors\"]\n : resourceSelectorArraySerializer(item[\"resourceSelectors\"]),\n overrides: !item[\"overrides\"] ? item[\"overrides\"] : overrideArraySerializer(item[\"overrides\"]),\n };\n}\n\nexport function _policyDefinitionPropertiesSerializer(item: PolicyDefinition): any {\n return {\n policyType: item[\"policyType\"],\n mode: item[\"mode\"],\n displayName: item[\"displayName\"],\n description: item[\"description\"],\n policyRule: item[\"policyRule\"],\n metadata: item[\"metadata\"],\n parameters: !item[\"parameters\"]\n ? item[\"parameters\"]\n : parameterDefinitionsValueRecordSerializer(item[\"parameters\"]),\n version: item[\"version\"],\n versions: !item[\"versions\"]\n ? item[\"versions\"]\n : item[\"versions\"].map((p: any) => {\n return p;\n }),\n externalEvaluationEnforcementSettings: !item[\"externalEvaluationEnforcementSettings\"]\n ? item[\"externalEvaluationEnforcementSettings\"]\n : externalEvaluationEnforcementSettingsSerializer(\n item[\"externalEvaluationEnforcementSettings\"],\n ),\n };\n}\n\nexport function _policyDefinitionPropertiesDeserializer(item: any) {\n return {\n policyType: item[\"policyType\"],\n mode: item[\"mode\"],\n displayName: item[\"displayName\"],\n description: item[\"description\"],\n policyRule: item[\"policyRule\"],\n metadata: item[\"metadata\"],\n parameters: !item[\"parameters\"]\n ? item[\"parameters\"]\n : parameterDefinitionsValueRecordDeserializer(item[\"parameters\"]),\n version: item[\"version\"],\n versions: !item[\"versions\"]\n ? item[\"versions\"]\n : item[\"versions\"].map((p: any) => {\n return p;\n }),\n externalEvaluationEnforcementSettings: !item[\"externalEvaluationEnforcementSettings\"]\n ? item[\"externalEvaluationEnforcementSettings\"]\n : externalEvaluationEnforcementSettingsDeserializer(\n item[\"externalEvaluationEnforcementSettings\"],\n ),\n };\n}\n\nexport function _policyDefinitionVersionPropertiesSerializer(item: PolicyDefinitionVersion): any {\n return {\n policyType: item[\"policyType\"],\n mode: item[\"mode\"],\n displayName: item[\"displayName\"],\n description: item[\"description\"],\n policyRule: item[\"policyRule\"],\n metadata: item[\"metadata\"],\n parameters: !item[\"parameters\"]\n ? item[\"parameters\"]\n : parameterDefinitionsValueRecordSerializer(item[\"parameters\"]),\n version: item[\"version\"],\n externalEvaluationEnforcementSettings: !item[\"externalEvaluationEnforcementSettings\"]\n ? item[\"externalEvaluationEnforcementSettings\"]\n : externalEvaluationEnforcementSettingsSerializer(\n item[\"externalEvaluationEnforcementSettings\"],\n ),\n };\n}\n\nexport function _policyDefinitionVersionPropertiesDeserializer(item: any) {\n return {\n policyType: item[\"policyType\"],\n mode: item[\"mode\"],\n displayName: item[\"displayName\"],\n description: item[\"description\"],\n policyRule: item[\"policyRule\"],\n metadata: item[\"metadata\"],\n parameters: !item[\"parameters\"]\n ? item[\"parameters\"]\n : parameterDefinitionsValueRecordDeserializer(item[\"parameters\"]),\n version: item[\"version\"],\n externalEvaluationEnforcementSettings: !item[\"externalEvaluationEnforcementSettings\"]\n ? item[\"externalEvaluationEnforcementSettings\"]\n : externalEvaluationEnforcementSettingsDeserializer(\n item[\"externalEvaluationEnforcementSettings\"],\n ),\n };\n}\n\nexport function _policySetDefinitionPropertiesSerializer(item: PolicySetDefinition): any {\n return {\n policyType: item[\"policyType\"],\n displayName: item[\"displayName\"],\n description: item[\"description\"],\n metadata: item[\"metadata\"],\n parameters: !item[\"parameters\"]\n ? item[\"parameters\"]\n : parameterDefinitionsValueRecordSerializer(item[\"parameters\"]),\n policyDefinitions: !item[\"policyDefinitions\"]\n ? item[\"policyDefinitions\"]\n : policyDefinitionReferenceArraySerializer(item[\"policyDefinitions\"]),\n policyDefinitionGroups: !item[\"policyDefinitionGroups\"]\n ? item[\"policyDefinitionGroups\"]\n : policyDefinitionGroupArraySerializer(item[\"policyDefinitionGroups\"]),\n version: item[\"version\"],\n versions: !item[\"versions\"]\n ? item[\"versions\"]\n : item[\"versions\"].map((p: any) => {\n return p;\n }),\n };\n}\n\nexport function _policySetDefinitionPropertiesDeserializer(item: any) {\n return {\n policyType: item[\"policyType\"],\n displayName: item[\"displayName\"],\n description: item[\"description\"],\n metadata: item[\"metadata\"],\n parameters: !item[\"parameters\"]\n ? item[\"parameters\"]\n : parameterDefinitionsValueRecordDeserializer(item[\"parameters\"]),\n policyDefinitions: !item[\"policyDefinitions\"]\n ? item[\"policyDefinitions\"]\n : policyDefinitionReferenceArrayDeserializer(item[\"policyDefinitions\"]),\n policyDefinitionGroups: !item[\"policyDefinitionGroups\"]\n ? item[\"policyDefinitionGroups\"]\n : policyDefinitionGroupArrayDeserializer(item[\"policyDefinitionGroups\"]),\n version: item[\"version\"],\n versions: !item[\"versions\"]\n ? item[\"versions\"]\n : item[\"versions\"].map((p: any) => {\n return p;\n }),\n };\n}\n\nexport function _policySetDefinitionVersionPropertiesSerializer(\n item: PolicySetDefinitionVersion,\n): any {\n return {\n policyType: item[\"policyType\"],\n displayName: item[\"displayName\"],\n description: item[\"description\"],\n metadata: item[\"metadata\"],\n parameters: !item[\"parameters\"]\n ? item[\"parameters\"]\n : parameterDefinitionsValueRecordSerializer(item[\"parameters\"]),\n policyDefinitions: !item[\"policyDefinitions\"]\n ? item[\"policyDefinitions\"]\n : policyDefinitionReferenceArraySerializer(item[\"policyDefinitions\"]),\n policyDefinitionGroups: !item[\"policyDefinitionGroups\"]\n ? item[\"policyDefinitionGroups\"]\n : policyDefinitionGroupArraySerializer(item[\"policyDefinitionGroups\"]),\n version: item[\"version\"],\n };\n}\n\nexport function _policySetDefinitionVersionPropertiesDeserializer(item: any) {\n return {\n policyType: item[\"policyType\"],\n displayName: item[\"displayName\"],\n description: item[\"description\"],\n metadata: item[\"metadata\"],\n parameters: !item[\"parameters\"]\n ? item[\"parameters\"]\n : parameterDefinitionsValueRecordDeserializer(item[\"parameters\"]),\n policyDefinitions: !item[\"policyDefinitions\"]\n ? item[\"policyDefinitions\"]\n : policyDefinitionReferenceArrayDeserializer(item[\"policyDefinitions\"]),\n policyDefinitionGroups: !item[\"policyDefinitionGroups\"]\n ? item[\"policyDefinitionGroups\"]\n : policyDefinitionGroupArrayDeserializer(item[\"policyDefinitionGroups\"]),\n version: item[\"version\"],\n };\n}\n"],
|
|
5
|
+
"mappings": "AAGA,SAAS,4BA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AAK,YAAY;AAAA,IAC7B,aAAa,KAAK,aAAa;AAAA,IAC/B,aAAa,KAAK,aAAa;AAAA,IAC/B,UAAU,KAAK,UAAU;AAAA,IACzB,YAAY,CAAC,KAAK,YAAY,IAC1B,KAAK,YAAY,IACjB,0CAA0C,KAAK,YAAY,CAAC;AAAA,IAChE,mBAAmB,CAAC,KAAK,mBAAmB,IACxC,KAAK,mBAAmB,IACxB,yCAAyC,KAAK,mBAAmB,CAAC;AAAA,IACtE,wBAAwB,CAAC,KAAK,wBAAwB,IAClD,KAAK,wBAAwB,IAC7B,qCAAqC,KAAK,wBAAwB,CAAC;AAAA,IACvE,SAAS,KAAK,SAAS;AAAA,EACzB;AACF;AAEO,SAAS,kDAAkD,MAAW;AAC3E,SAAO;AAAA,IACL,YAAY,KAAK,YAAY;AAAA,IAC7B,aAAa,KAAK,aAAa;AAAA,IAC/B,aAAa,KAAK,aAAa;AAAA,IAC/B,UAAU,KAAK,UAAU;AAAA,IACzB,YAAY,CAAC,KAAK,YAAY,IAC1B,KAAK,YAAY,IACjB,4CAA4C,KAAK,YAAY,CAAC;AAAA,IAClE,mBAAmB,CAAC,KAAK,mBAAmB,IACxC,KAAK,mBAAmB,IACxB,2CAA2C,KAAK,mBAAmB,CAAC;AAAA,IACxE,wBAAwB,CAAC,KAAK,wBAAwB,IAClD,KAAK,wBAAwB,IAC7B,uCAAuC,KAAK,wBAAwB,CAAC;AAAA,IACzE,SAAS,KAAK,SAAS;AAAA,EACzB;AACF;",
|
|
6
|
+
"names": ["KnownEnforcementMode", "KnownSelectorKind", "KnownOverrideKind", "KnownAssignmentType", "KnownCreatedByType", "KnownPolicyType", "KnownParameterType", "KnownPolicyTokenResult", "KnownExternalEndpointResult", "KnownVersions"]
|
|
7
|
+
}
|
|
@@ -1,25 +1,30 @@
|
|
|
1
|
-
import
|
|
2
|
-
import type
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
constructor(
|
|
16
|
-
constructor(
|
|
17
|
-
/**
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
policySetDefinitions
|
|
22
|
-
|
|
23
|
-
|
|
1
|
+
import type { PolicyClientOptionalParams } from "./api/index.js";
|
|
2
|
+
import type { PolicyAssignmentsOperations } from "./classic/policyAssignments/index.js";
|
|
3
|
+
import type { PolicyDefinitionVersionsOperations } from "./classic/policyDefinitionVersions/index.js";
|
|
4
|
+
import type { PolicyDefinitionsOperations } from "./classic/policyDefinitions/index.js";
|
|
5
|
+
import type { PolicySetDefinitionVersionsOperations } from "./classic/policySetDefinitionVersions/index.js";
|
|
6
|
+
import type { PolicySetDefinitionsOperations } from "./classic/policySetDefinitions/index.js";
|
|
7
|
+
import type { PolicyTokensOperations } from "./classic/policyTokens/index.js";
|
|
8
|
+
import type { TokenCredential } from "@azure/core-auth";
|
|
9
|
+
import type { Pipeline } from "@azure/core-rest-pipeline";
|
|
10
|
+
export { PolicyClientOptionalParams } from "./api/policyContext.js";
|
|
11
|
+
export declare class PolicyClient {
|
|
12
|
+
private _client;
|
|
13
|
+
/** The pipeline used by this client to make requests */
|
|
14
|
+
readonly pipeline: Pipeline;
|
|
15
|
+
constructor(credential: TokenCredential, options?: PolicyClientOptionalParams);
|
|
16
|
+
constructor(credential: TokenCredential, subscriptionId: string, options?: PolicyClientOptionalParams);
|
|
17
|
+
/** The operation groups for policyTokens */
|
|
18
|
+
readonly policyTokens: PolicyTokensOperations;
|
|
19
|
+
/** The operation groups for policySetDefinitionVersions */
|
|
20
|
+
readonly policySetDefinitionVersions: PolicySetDefinitionVersionsOperations;
|
|
21
|
+
/** The operation groups for policySetDefinitions */
|
|
22
|
+
readonly policySetDefinitions: PolicySetDefinitionsOperations;
|
|
23
|
+
/** The operation groups for policyDefinitionVersions */
|
|
24
|
+
readonly policyDefinitionVersions: PolicyDefinitionVersionsOperations;
|
|
25
|
+
/** The operation groups for policyDefinitions */
|
|
26
|
+
readonly policyDefinitions: PolicyDefinitionsOperations;
|
|
27
|
+
/** The operation groups for policyAssignments */
|
|
28
|
+
readonly policyAssignments: PolicyAssignmentsOperations;
|
|
24
29
|
}
|
|
25
30
|
//# sourceMappingURL=policyClient.d.ts.map
|
package/dist/esm/policyClient.js
CHANGED
|
@@ -1,98 +1,52 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
else if (typeof subscriptionIdOrOptions === "object") {
|
|
22
|
-
options = subscriptionIdOrOptions;
|
|
23
|
-
}
|
|
24
|
-
// Initializing default values for options
|
|
25
|
-
if (!options) {
|
|
26
|
-
options = {};
|
|
27
|
-
}
|
|
28
|
-
const defaults = {
|
|
29
|
-
requestContentType: "application/json; charset=utf-8",
|
|
30
|
-
credential: credentials,
|
|
31
|
-
};
|
|
32
|
-
const packageDetails = `azsdk-js-arm-policy/6.0.0`;
|
|
33
|
-
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
34
|
-
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
35
|
-
: `${packageDetails}`;
|
|
36
|
-
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
37
|
-
userAgentPrefix,
|
|
38
|
-
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
39
|
-
super(optionsWithDefaults);
|
|
40
|
-
let bearerTokenAuthenticationPolicyFound = false;
|
|
41
|
-
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
|
42
|
-
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
43
|
-
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name === coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
|
44
|
-
}
|
|
45
|
-
if (!options ||
|
|
46
|
-
!options.pipeline ||
|
|
47
|
-
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
48
|
-
!bearerTokenAuthenticationPolicyFound) {
|
|
49
|
-
this.pipeline.removePolicy({
|
|
50
|
-
name: coreRestPipeline.bearerTokenAuthenticationPolicyName,
|
|
51
|
-
});
|
|
52
|
-
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
53
|
-
credential: credentials,
|
|
54
|
-
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
55
|
-
challengeCallbacks: {
|
|
56
|
-
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
|
|
57
|
-
},
|
|
58
|
-
}));
|
|
59
|
-
}
|
|
60
|
-
// Parameter assignments
|
|
61
|
-
this.subscriptionId = subscriptionId;
|
|
62
|
-
// Assigning values to Constant parameters
|
|
63
|
-
this.$host = options.$host || "https://management.azure.com";
|
|
64
|
-
this.apiVersion = options.apiVersion || "2024-05-01";
|
|
65
|
-
this.policyDefinitions = new PolicyDefinitionsImpl(this);
|
|
66
|
-
this.policyDefinitionVersions = new PolicyDefinitionVersionsImpl(this);
|
|
67
|
-
this.policySetDefinitions = new PolicySetDefinitionsImpl(this);
|
|
68
|
-
this.policySetDefinitionVersions = new PolicySetDefinitionVersionsImpl(this);
|
|
69
|
-
this.policyAssignments = new PolicyAssignmentsImpl(this);
|
|
70
|
-
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
71
|
-
}
|
|
72
|
-
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
73
|
-
addCustomApiVersionPolicy(apiVersion) {
|
|
74
|
-
if (!apiVersion) {
|
|
75
|
-
return;
|
|
76
|
-
}
|
|
77
|
-
const apiVersionPolicy = {
|
|
78
|
-
name: "CustomApiVersionPolicy",
|
|
79
|
-
async sendRequest(request, next) {
|
|
80
|
-
const param = request.url.split("?");
|
|
81
|
-
if (param.length > 1) {
|
|
82
|
-
const newParams = param[1].split("&").map((item) => {
|
|
83
|
-
if (item.indexOf("api-version") > -1) {
|
|
84
|
-
return "api-version=" + apiVersion;
|
|
85
|
-
}
|
|
86
|
-
else {
|
|
87
|
-
return item;
|
|
88
|
-
}
|
|
89
|
-
});
|
|
90
|
-
request.url = param[0] + "?" + newParams.join("&");
|
|
91
|
-
}
|
|
92
|
-
return next(request);
|
|
93
|
-
},
|
|
94
|
-
};
|
|
95
|
-
this.pipeline.addPolicy(apiVersionPolicy);
|
|
1
|
+
import { createPolicy } from "./api/index.js";
|
|
2
|
+
import { _getPolicyAssignmentsOperations } from "./classic/policyAssignments/index.js";
|
|
3
|
+
import { _getPolicyDefinitionVersionsOperations } from "./classic/policyDefinitionVersions/index.js";
|
|
4
|
+
import { _getPolicyDefinitionsOperations } from "./classic/policyDefinitions/index.js";
|
|
5
|
+
import { _getPolicySetDefinitionVersionsOperations } from "./classic/policySetDefinitionVersions/index.js";
|
|
6
|
+
import { _getPolicySetDefinitionsOperations } from "./classic/policySetDefinitions/index.js";
|
|
7
|
+
import { _getPolicyTokensOperations } from "./classic/policyTokens/index.js";
|
|
8
|
+
import { PolicyClientOptionalParams } from "./api/policyContext.js";
|
|
9
|
+
class PolicyClient {
|
|
10
|
+
_client;
|
|
11
|
+
/** The pipeline used by this client to make requests */
|
|
12
|
+
pipeline;
|
|
13
|
+
/** To manage and control access to your resources, you can define customized policies and assign them at a scope. */
|
|
14
|
+
constructor(credential, subscriptionIdOrOptions, options) {
|
|
15
|
+
let subscriptionId;
|
|
16
|
+
if (typeof subscriptionIdOrOptions === "string") {
|
|
17
|
+
subscriptionId = subscriptionIdOrOptions;
|
|
18
|
+
} else if (typeof subscriptionIdOrOptions === "object") {
|
|
19
|
+
options = subscriptionIdOrOptions;
|
|
96
20
|
}
|
|
21
|
+
options = options ?? {};
|
|
22
|
+
const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;
|
|
23
|
+
const userAgentPrefix = prefixFromOptions ? `${prefixFromOptions} azsdk-js-client` : `azsdk-js-client`;
|
|
24
|
+
this._client = createPolicy(credential, subscriptionId ?? "", {
|
|
25
|
+
...options,
|
|
26
|
+
userAgentOptions: { userAgentPrefix }
|
|
27
|
+
});
|
|
28
|
+
this.pipeline = this._client.pipeline;
|
|
29
|
+
this.policyTokens = _getPolicyTokensOperations(this._client);
|
|
30
|
+
this.policySetDefinitionVersions = _getPolicySetDefinitionVersionsOperations(this._client);
|
|
31
|
+
this.policySetDefinitions = _getPolicySetDefinitionsOperations(this._client);
|
|
32
|
+
this.policyDefinitionVersions = _getPolicyDefinitionVersionsOperations(this._client);
|
|
33
|
+
this.policyDefinitions = _getPolicyDefinitionsOperations(this._client);
|
|
34
|
+
this.policyAssignments = _getPolicyAssignmentsOperations(this._client);
|
|
35
|
+
}
|
|
36
|
+
/** The operation groups for policyTokens */
|
|
37
|
+
policyTokens;
|
|
38
|
+
/** The operation groups for policySetDefinitionVersions */
|
|
39
|
+
policySetDefinitionVersions;
|
|
40
|
+
/** The operation groups for policySetDefinitions */
|
|
41
|
+
policySetDefinitions;
|
|
42
|
+
/** The operation groups for policyDefinitionVersions */
|
|
43
|
+
policyDefinitionVersions;
|
|
44
|
+
/** The operation groups for policyDefinitions */
|
|
45
|
+
policyDefinitions;
|
|
46
|
+
/** The operation groups for policyAssignments */
|
|
47
|
+
policyAssignments;
|
|
97
48
|
}
|
|
98
|
-
|
|
49
|
+
export {
|
|
50
|
+
PolicyClient,
|
|
51
|
+
PolicyClientOptionalParams
|
|
52
|
+
};
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["/mnt/vss/_work/1/s/sdk/policy/arm-policy/src/policyClient.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { PolicyContext, PolicyClientOptionalParams } from \"./api/index.js\";\nimport { createPolicy } from \"./api/index.js\";\nimport type { PolicyAssignmentsOperations } from \"./classic/policyAssignments/index.js\";\nimport { _getPolicyAssignmentsOperations } from \"./classic/policyAssignments/index.js\";\nimport type { PolicyDefinitionVersionsOperations } from \"./classic/policyDefinitionVersions/index.js\";\nimport { _getPolicyDefinitionVersionsOperations } from \"./classic/policyDefinitionVersions/index.js\";\nimport type { PolicyDefinitionsOperations } from \"./classic/policyDefinitions/index.js\";\nimport { _getPolicyDefinitionsOperations } from \"./classic/policyDefinitions/index.js\";\nimport type { PolicySetDefinitionVersionsOperations } from \"./classic/policySetDefinitionVersions/index.js\";\nimport { _getPolicySetDefinitionVersionsOperations } from \"./classic/policySetDefinitionVersions/index.js\";\nimport type { PolicySetDefinitionsOperations } from \"./classic/policySetDefinitions/index.js\";\nimport { _getPolicySetDefinitionsOperations } from \"./classic/policySetDefinitions/index.js\";\nimport type { PolicyTokensOperations } from \"./classic/policyTokens/index.js\";\nimport { _getPolicyTokensOperations } from \"./classic/policyTokens/index.js\";\nimport type { TokenCredential } from \"@azure/core-auth\";\nimport type { Pipeline } from \"@azure/core-rest-pipeline\";\n\nexport { PolicyClientOptionalParams } from \"./api/policyContext.js\";\n\nexport class PolicyClient {\n private _client: PolicyContext;\n /** The pipeline used by this client to make requests */\n public readonly pipeline: Pipeline;\n\n constructor(credential: TokenCredential, options?: PolicyClientOptionalParams);\n constructor(\n credential: TokenCredential,\n subscriptionId: string,\n options?: PolicyClientOptionalParams,\n );\n /** To manage and control access to your resources, you can define customized policies and assign them at a scope. */\n constructor(\n credential: TokenCredential,\n subscriptionIdOrOptions?: string | PolicyClientOptionalParams,\n options?: PolicyClientOptionalParams,\n ) {\n let subscriptionId: string | undefined;\n\n if (typeof subscriptionIdOrOptions === \"string\") {\n subscriptionId = subscriptionIdOrOptions;\n } else if (typeof subscriptionIdOrOptions === \"object\") {\n options = subscriptionIdOrOptions;\n }\n\n options = options ?? {};\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-client`\n : `azsdk-js-client`;\n this._client = createPolicy(credential, subscriptionId ?? \"\", {\n ...options,\n userAgentOptions: { userAgentPrefix },\n });\n this.pipeline = this._client.pipeline;\n this.policyTokens = _getPolicyTokensOperations(this._client);\n this.policySetDefinitionVersions = _getPolicySetDefinitionVersionsOperations(this._client);\n this.policySetDefinitions = _getPolicySetDefinitionsOperations(this._client);\n this.policyDefinitionVersions = _getPolicyDefinitionVersionsOperations(this._client);\n this.policyDefinitions = _getPolicyDefinitionsOperations(this._client);\n this.policyAssignments = _getPolicyAssignmentsOperations(this._client);\n }\n\n /** The operation groups for policyTokens */\n public readonly policyTokens: PolicyTokensOperations;\n /** The operation groups for policySetDefinitionVersions */\n public readonly policySetDefinitionVersions: PolicySetDefinitionVersionsOperations;\n /** The operation groups for policySetDefinitions */\n public readonly policySetDefinitions: PolicySetDefinitionsOperations;\n /** The operation groups for policyDefinitionVersions */\n public readonly policyDefinitionVersions: PolicyDefinitionVersionsOperations;\n /** The operation groups for policyDefinitions */\n public readonly policyDefinitions: PolicyDefinitionsOperations;\n /** The operation groups for policyAssignments */\n public readonly policyAssignments: PolicyAssignmentsOperations;\n}\n"],
|
|
5
|
+
"mappings": "AAIA,SAAS,oBAAoB;AAE7B,SAAS,uCAAuC;AAEhD,SAAS,8CAA8C;AAEvD,SAAS,uCAAuC;AAEhD,SAAS,iDAAiD;AAE1D,SAAS,0CAA0C;AAEnD,SAAS,kCAAkC;AAI3C,SAAS,kCAAkC;AAEpC,MAAM,aAAa;AAAA,EAChB;AAAA;AAAA,EAEQ;AAAA;AAAA,EAShB,YACE,YACA,yBACA,SACA;AACA,QAAI;AAEJ,QAAI,OAAO,4BAA4B,UAAU;AAC/C,uBAAiB;AAAA,IACnB,WAAW,OAAO,4BAA4B,UAAU;AACtD,gBAAU;AAAA,IACZ;AAEA,cAAU,WAAW,CAAC;AACtB,UAAM,oBAAoB,SAAS,kBAAkB;AACrD,UAAM,kBAAkB,oBACpB,GAAG,iBAAiB,qBACpB;AACJ,SAAK,UAAU,aAAa,YAAY,kBAAkB,IAAI;AAAA,MAC5D,GAAG;AAAA,MACH,kBAAkB,EAAE,gBAAgB;AAAA,IACtC,CAAC;AACD,SAAK,WAAW,KAAK,QAAQ;AAC7B,SAAK,eAAe,2BAA2B,KAAK,OAAO;AAC3D,SAAK,8BAA8B,0CAA0C,KAAK,OAAO;AACzF,SAAK,uBAAuB,mCAAmC,KAAK,OAAO;AAC3E,SAAK,2BAA2B,uCAAuC,KAAK,OAAO;AACnF,SAAK,oBAAoB,gCAAgC,KAAK,OAAO;AACrE,SAAK,oBAAoB,gCAAgC,KAAK,OAAO;AAAA,EACvE;AAAA;AAAA,EAGgB;AAAA;AAAA,EAEA;AAAA;AAAA,EAEA;AAAA;AAAA,EAEA;AAAA;AAAA,EAEA;AAAA;AAAA,EAEA;AAClB;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* An enum to describe Azure Cloud environments.
|
|
3
|
+
* @enum {string}
|
|
4
|
+
*/
|
|
5
|
+
export declare enum AzureClouds {
|
|
6
|
+
/** Azure public cloud, which is the default cloud for Azure SDKs. */
|
|
7
|
+
AZURE_PUBLIC_CLOUD = "AZURE_PUBLIC_CLOUD",
|
|
8
|
+
/** Azure China cloud */
|
|
9
|
+
AZURE_CHINA_CLOUD = "AZURE_CHINA_CLOUD",
|
|
10
|
+
/** Azure US government cloud */
|
|
11
|
+
AZURE_US_GOVERNMENT = "AZURE_US_GOVERNMENT"
|
|
12
|
+
}
|
|
13
|
+
/** The supported values for cloud setting as a string literal type */
|
|
14
|
+
export type AzureSupportedClouds = `${AzureClouds}`;
|
|
15
|
+
/**
|
|
16
|
+
* Gets the Azure Resource Manager endpoint URL for the specified cloud setting.
|
|
17
|
+
* @param cloudSetting - The Azure cloud environment setting. Use one of the AzureClouds enum values.
|
|
18
|
+
* @returns The ARM endpoint URL for the specified cloud, or undefined if cloudSetting is undefined.
|
|
19
|
+
* @throws {Error} Throws an error if an unknown cloud setting is provided.
|
|
20
|
+
*/
|
|
21
|
+
export declare function getArmEndpoint(cloudSetting?: AzureSupportedClouds): string | undefined;
|
|
22
|
+
//# sourceMappingURL=cloudSettingHelpers.d.ts.map
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
var AzureClouds = /* @__PURE__ */ ((AzureClouds2) => {
|
|
2
|
+
AzureClouds2["AZURE_PUBLIC_CLOUD"] = "AZURE_PUBLIC_CLOUD";
|
|
3
|
+
AzureClouds2["AZURE_CHINA_CLOUD"] = "AZURE_CHINA_CLOUD";
|
|
4
|
+
AzureClouds2["AZURE_US_GOVERNMENT"] = "AZURE_US_GOVERNMENT";
|
|
5
|
+
return AzureClouds2;
|
|
6
|
+
})(AzureClouds || {});
|
|
7
|
+
function getArmEndpoint(cloudSetting) {
|
|
8
|
+
if (cloudSetting === void 0) {
|
|
9
|
+
return void 0;
|
|
10
|
+
}
|
|
11
|
+
const cloudEndpoints = {
|
|
12
|
+
AZURE_CHINA_CLOUD: "https://management.chinacloudapi.cn/",
|
|
13
|
+
AZURE_US_GOVERNMENT: "https://management.usgovcloudapi.net/",
|
|
14
|
+
AZURE_PUBLIC_CLOUD: "https://management.azure.com/"
|
|
15
|
+
};
|
|
16
|
+
if (cloudSetting in cloudEndpoints) {
|
|
17
|
+
return cloudEndpoints[cloudSetting];
|
|
18
|
+
} else {
|
|
19
|
+
throw new Error(
|
|
20
|
+
`Unknown cloud setting: ${cloudSetting}. Please refer to the enum AzureClouds for possible values.`
|
|
21
|
+
);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
export {
|
|
25
|
+
AzureClouds,
|
|
26
|
+
getArmEndpoint
|
|
27
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["/mnt/vss/_work/1/s/sdk/policy/arm-policy/src/static-helpers/cloudSettingHelpers.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * An enum to describe Azure Cloud environments.\n * @enum {string}\n */\nexport enum AzureClouds {\n /** Azure public cloud, which is the default cloud for Azure SDKs. */\n AZURE_PUBLIC_CLOUD = \"AZURE_PUBLIC_CLOUD\",\n /** Azure China cloud */\n AZURE_CHINA_CLOUD = \"AZURE_CHINA_CLOUD\",\n /** Azure US government cloud */\n AZURE_US_GOVERNMENT = \"AZURE_US_GOVERNMENT\",\n}\n\n/** The supported values for cloud setting as a string literal type */\nexport type AzureSupportedClouds = `${AzureClouds}`;\n\n/**\n * Gets the Azure Resource Manager endpoint URL for the specified cloud setting.\n * @param cloudSetting - The Azure cloud environment setting. Use one of the AzureClouds enum values.\n * @returns The ARM endpoint URL for the specified cloud, or undefined if cloudSetting is undefined.\n * @throws {Error} Throws an error if an unknown cloud setting is provided.\n */\nexport function getArmEndpoint(cloudSetting?: AzureSupportedClouds): string | undefined {\n if (cloudSetting === undefined) {\n return undefined;\n }\n const cloudEndpoints: Record<keyof typeof AzureClouds, string> = {\n AZURE_CHINA_CLOUD: \"https://management.chinacloudapi.cn/\",\n AZURE_US_GOVERNMENT: \"https://management.usgovcloudapi.net/\",\n AZURE_PUBLIC_CLOUD: \"https://management.azure.com/\",\n };\n if (cloudSetting in cloudEndpoints) {\n return cloudEndpoints[cloudSetting];\n } else {\n throw new Error(\n `Unknown cloud setting: ${cloudSetting}. Please refer to the enum AzureClouds for possible values.`,\n );\n }\n}\n"],
|
|
5
|
+
"mappings": "AAOO,IAAK,cAAL,kBAAKA,iBAAL;AAEL,EAAAA,aAAA,wBAAqB;AAErB,EAAAA,aAAA,uBAAoB;AAEpB,EAAAA,aAAA,yBAAsB;AANZ,SAAAA;AAAA,GAAA;AAkBL,SAAS,eAAe,cAAyD;AACtF,MAAI,iBAAiB,QAAW;AAC9B,WAAO;AAAA,EACT;AACA,QAAM,iBAA2D;AAAA,IAC/D,mBAAmB;AAAA,IACnB,qBAAqB;AAAA,IACrB,oBAAoB;AAAA,EACtB;AACA,MAAI,gBAAgB,gBAAgB;AAClC,WAAO,eAAe,YAAY;AAAA,EACpC,OAAO;AACL,UAAM,IAAI;AAAA,MACR,0BAA0B,YAAY;AAAA,IACxC;AAAA,EACF;AACF;",
|
|
6
|
+
"names": ["AzureClouds"]
|
|
7
|
+
}
|