@azure/arm-trustedsigning 1.0.0-alpha.20251015.1 → 1.0.0-alpha.20251016.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +12 -5
- package/dist/browser/api/certificateProfiles/index.d.ts +2 -31
- package/dist/browser/api/certificateProfiles/index.js +1 -328
- package/dist/browser/api/certificateProfiles/index.js.map +1 -1
- package/dist/browser/api/certificateProfiles/operations.d.ts +32 -0
- package/dist/browser/api/certificateProfiles/operations.js +181 -0
- package/dist/browser/api/certificateProfiles/operations.js.map +1 -0
- package/dist/browser/api/certificateProfiles/options.d.ts +21 -0
- package/dist/browser/api/certificateProfiles/options.js.map +1 -0
- package/dist/browser/api/codeSigningAccounts/index.d.ts +2 -39
- package/dist/browser/api/codeSigningAccounts/index.js +1 -326
- package/dist/browser/api/codeSigningAccounts/index.js.map +1 -1
- package/dist/browser/api/codeSigningAccounts/operations.d.ts +40 -0
- package/dist/browser/api/codeSigningAccounts/operations.js +247 -0
- package/dist/browser/api/codeSigningAccounts/operations.js.map +1 -0
- package/dist/{esm/models → browser/api/codeSigningAccounts}/options.d.ts +7 -29
- package/dist/browser/api/codeSigningAccounts/options.js.map +1 -0
- package/dist/browser/api/codeSigningContext.d.ts +13 -3
- package/dist/browser/api/codeSigningContext.js +7 -6
- package/dist/browser/api/codeSigningContext.js.map +1 -1
- package/dist/browser/api/operations/index.d.ts +2 -9
- package/dist/browser/api/operations/index.js +1 -36
- package/dist/browser/api/operations/index.js.map +1 -1
- package/dist/browser/api/operations/operations.d.ts +10 -0
- package/dist/browser/api/operations/operations.js +34 -0
- package/dist/browser/api/operations/operations.js.map +1 -0
- package/dist/browser/api/operations/options.d.ts +5 -0
- package/dist/browser/api/operations/options.js.map +1 -0
- package/dist/browser/classic/certificateProfiles/index.d.ts +14 -21
- package/dist/browser/classic/certificateProfiles/index.js +9 -9
- package/dist/browser/classic/certificateProfiles/index.js.map +1 -1
- package/dist/browser/classic/codeSigningAccounts/index.d.ts +18 -27
- package/dist/browser/classic/codeSigningAccounts/index.js +11 -11
- package/dist/browser/classic/codeSigningAccounts/index.js.map +1 -1
- package/dist/browser/classic/operations/index.d.ts +5 -8
- package/dist/browser/classic/operations/index.js +4 -4
- package/dist/browser/classic/operations/index.js.map +1 -1
- package/dist/browser/codeSigningClient.d.ts +11 -11
- package/dist/browser/codeSigningClient.js +14 -14
- package/dist/browser/codeSigningClient.js.map +1 -1
- package/dist/browser/index.d.ts +8 -2
- package/dist/browser/index.js +3 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/models/index.d.ts +1 -2
- package/dist/browser/models/index.js +1 -1
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +302 -254
- package/dist/browser/models/models.js +346 -117
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/restorePollerHelpers.d.ts +4 -4
- package/dist/browser/restorePollerHelpers.js +13 -10
- package/dist/browser/restorePollerHelpers.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 +1 -1
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/browser/static-helpers/pollingHelpers.d.ts +3 -3
- package/dist/browser/static-helpers/pollingHelpers.js +1 -1
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/browser/static-helpers/urlTemplate.js +185 -0
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
- package/dist/commonjs/api/certificateProfiles/index.d.ts +2 -31
- package/dist/commonjs/api/certificateProfiles/index.js +7 -343
- package/dist/commonjs/api/certificateProfiles/index.js.map +1 -1
- package/dist/commonjs/api/certificateProfiles/operations.d.ts +32 -0
- package/dist/commonjs/api/certificateProfiles/operations.js +198 -0
- package/dist/commonjs/api/certificateProfiles/operations.js.map +1 -0
- package/dist/commonjs/api/certificateProfiles/options.d.ts +21 -0
- package/dist/commonjs/api/certificateProfiles/options.js.map +1 -0
- package/dist/commonjs/api/codeSigningAccounts/index.d.ts +2 -39
- package/dist/commonjs/api/codeSigningAccounts/index.js +9 -347
- package/dist/commonjs/api/codeSigningAccounts/index.js.map +1 -1
- package/dist/commonjs/api/codeSigningAccounts/operations.d.ts +40 -0
- package/dist/commonjs/api/codeSigningAccounts/operations.js +270 -0
- package/dist/commonjs/api/codeSigningAccounts/operations.js.map +1 -0
- package/dist/{browser/models → commonjs/api/codeSigningAccounts}/options.d.ts +7 -29
- package/dist/commonjs/api/codeSigningAccounts/options.js +5 -0
- package/dist/commonjs/api/codeSigningAccounts/options.js.map +1 -0
- package/dist/commonjs/api/codeSigningContext.d.ts +13 -3
- package/dist/commonjs/api/codeSigningContext.js +7 -6
- package/dist/commonjs/api/codeSigningContext.js.map +1 -1
- package/dist/commonjs/api/operations/index.d.ts +2 -9
- package/dist/commonjs/api/operations/index.js +3 -39
- package/dist/commonjs/api/operations/index.js.map +1 -1
- package/dist/commonjs/api/operations/operations.d.ts +10 -0
- package/dist/commonjs/api/operations/operations.js +39 -0
- package/dist/commonjs/api/operations/operations.js.map +1 -0
- package/dist/commonjs/api/operations/options.d.ts +5 -0
- package/dist/commonjs/api/operations/options.js +5 -0
- package/dist/commonjs/api/operations/options.js.map +1 -0
- package/dist/commonjs/classic/certificateProfiles/index.d.ts +14 -21
- package/dist/commonjs/classic/certificateProfiles/index.js +10 -11
- package/dist/commonjs/classic/certificateProfiles/index.js.map +1 -1
- package/dist/commonjs/classic/codeSigningAccounts/index.d.ts +18 -27
- package/dist/commonjs/classic/codeSigningAccounts/index.js +12 -13
- package/dist/commonjs/classic/codeSigningAccounts/index.js.map +1 -1
- package/dist/commonjs/classic/operations/index.d.ts +5 -8
- package/dist/commonjs/classic/operations/index.js +6 -7
- package/dist/commonjs/classic/operations/index.js.map +1 -1
- package/dist/commonjs/codeSigningClient.d.ts +11 -11
- package/dist/commonjs/codeSigningClient.js +14 -14
- package/dist/commonjs/codeSigningClient.js.map +1 -1
- package/dist/commonjs/index.d.ts +8 -2
- package/dist/commonjs/index.js +9 -6
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +1 -2
- package/dist/commonjs/models/index.js +7 -6
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/models.d.ts +302 -254
- package/dist/commonjs/models/models.js +382 -124
- package/dist/commonjs/models/models.js.map +1 -1
- package/dist/commonjs/restorePollerHelpers.d.ts +4 -4
- package/dist/commonjs/restorePollerHelpers.js +13 -10
- package/dist/commonjs/restorePollerHelpers.js.map +1 -1
- package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js +42 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts +1 -1
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts +3 -3
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/commonjs/static-helpers/urlTemplate.js +188 -0
- package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/api/certificateProfiles/index.d.ts +2 -31
- package/dist/esm/api/certificateProfiles/index.js +1 -328
- package/dist/esm/api/certificateProfiles/index.js.map +1 -1
- package/dist/esm/api/certificateProfiles/operations.d.ts +32 -0
- package/dist/esm/api/certificateProfiles/operations.js +181 -0
- package/dist/esm/api/certificateProfiles/operations.js.map +1 -0
- package/dist/esm/api/certificateProfiles/options.d.ts +21 -0
- package/dist/esm/api/certificateProfiles/options.js +4 -0
- package/dist/esm/api/certificateProfiles/options.js.map +1 -0
- package/dist/esm/api/codeSigningAccounts/index.d.ts +2 -39
- package/dist/esm/api/codeSigningAccounts/index.js +1 -326
- package/dist/esm/api/codeSigningAccounts/index.js.map +1 -1
- package/dist/esm/api/codeSigningAccounts/operations.d.ts +40 -0
- package/dist/esm/api/codeSigningAccounts/operations.js +247 -0
- package/dist/esm/api/codeSigningAccounts/operations.js.map +1 -0
- package/dist/{react-native/models → esm/api/codeSigningAccounts}/options.d.ts +7 -29
- package/dist/esm/api/codeSigningAccounts/options.js +4 -0
- package/dist/esm/api/codeSigningAccounts/options.js.map +1 -0
- package/dist/esm/api/codeSigningContext.d.ts +13 -3
- package/dist/esm/api/codeSigningContext.js +7 -6
- package/dist/esm/api/codeSigningContext.js.map +1 -1
- package/dist/esm/api/operations/index.d.ts +2 -9
- package/dist/esm/api/operations/index.js +1 -36
- package/dist/esm/api/operations/index.js.map +1 -1
- package/dist/esm/api/operations/operations.d.ts +10 -0
- package/dist/esm/api/operations/operations.js +34 -0
- package/dist/esm/api/operations/operations.js.map +1 -0
- package/dist/esm/api/operations/options.d.ts +5 -0
- package/dist/esm/api/operations/options.js +4 -0
- package/dist/esm/api/operations/options.js.map +1 -0
- package/dist/esm/classic/certificateProfiles/index.d.ts +14 -21
- package/dist/esm/classic/certificateProfiles/index.js +9 -9
- package/dist/esm/classic/certificateProfiles/index.js.map +1 -1
- package/dist/esm/classic/codeSigningAccounts/index.d.ts +18 -27
- package/dist/esm/classic/codeSigningAccounts/index.js +11 -11
- package/dist/esm/classic/codeSigningAccounts/index.js.map +1 -1
- package/dist/esm/classic/operations/index.d.ts +5 -8
- package/dist/esm/classic/operations/index.js +4 -4
- package/dist/esm/classic/operations/index.js.map +1 -1
- package/dist/esm/codeSigningClient.d.ts +11 -11
- package/dist/esm/codeSigningClient.js +14 -14
- package/dist/esm/codeSigningClient.js.map +1 -1
- package/dist/esm/index.d.ts +8 -2
- package/dist/esm/index.js +3 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/models/index.d.ts +1 -2
- package/dist/esm/models/index.js +1 -1
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +302 -254
- package/dist/esm/models/models.js +346 -117
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/restorePollerHelpers.d.ts +4 -4
- package/dist/esm/restorePollerHelpers.js +13 -10
- package/dist/esm/restorePollerHelpers.js.map +1 -1
- package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.d.ts +1 -1
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/esm/static-helpers/pollingHelpers.d.ts +3 -3
- package/dist/esm/static-helpers/pollingHelpers.js +1 -1
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/esm/static-helpers/urlTemplate.js +185 -0
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
- package/dist/react-native/api/certificateProfiles/index.d.ts +2 -31
- package/dist/react-native/api/certificateProfiles/index.js +1 -328
- package/dist/react-native/api/certificateProfiles/index.js.map +1 -1
- package/dist/react-native/api/certificateProfiles/operations.d.ts +32 -0
- package/dist/react-native/api/certificateProfiles/operations.js +181 -0
- package/dist/react-native/api/certificateProfiles/operations.js.map +1 -0
- package/dist/react-native/api/certificateProfiles/options.d.ts +21 -0
- package/dist/react-native/api/certificateProfiles/options.js +4 -0
- package/dist/react-native/api/certificateProfiles/options.js.map +1 -0
- package/dist/react-native/api/codeSigningAccounts/index.d.ts +2 -39
- package/dist/react-native/api/codeSigningAccounts/index.js +1 -326
- package/dist/react-native/api/codeSigningAccounts/index.js.map +1 -1
- package/dist/react-native/api/codeSigningAccounts/operations.d.ts +40 -0
- package/dist/react-native/api/codeSigningAccounts/operations.js +247 -0
- package/dist/react-native/api/codeSigningAccounts/operations.js.map +1 -0
- package/dist/{commonjs/models → react-native/api/codeSigningAccounts}/options.d.ts +7 -29
- package/dist/react-native/api/codeSigningAccounts/options.js +4 -0
- package/dist/react-native/api/codeSigningAccounts/options.js.map +1 -0
- package/dist/react-native/api/codeSigningContext.d.ts +13 -3
- package/dist/react-native/api/codeSigningContext.js +7 -6
- package/dist/react-native/api/codeSigningContext.js.map +1 -1
- package/dist/react-native/api/operations/index.d.ts +2 -9
- package/dist/react-native/api/operations/index.js +1 -36
- package/dist/react-native/api/operations/index.js.map +1 -1
- package/dist/react-native/api/operations/operations.d.ts +10 -0
- package/dist/react-native/api/operations/operations.js +34 -0
- package/dist/react-native/api/operations/operations.js.map +1 -0
- package/dist/react-native/api/operations/options.d.ts +5 -0
- package/dist/react-native/api/operations/options.js +4 -0
- package/dist/react-native/api/operations/options.js.map +1 -0
- package/dist/react-native/classic/certificateProfiles/index.d.ts +14 -21
- package/dist/react-native/classic/certificateProfiles/index.js +9 -9
- package/dist/react-native/classic/certificateProfiles/index.js.map +1 -1
- package/dist/react-native/classic/codeSigningAccounts/index.d.ts +18 -27
- package/dist/react-native/classic/codeSigningAccounts/index.js +11 -11
- package/dist/react-native/classic/codeSigningAccounts/index.js.map +1 -1
- package/dist/react-native/classic/operations/index.d.ts +5 -8
- package/dist/react-native/classic/operations/index.js +4 -4
- package/dist/react-native/classic/operations/index.js.map +1 -1
- package/dist/react-native/codeSigningClient.d.ts +11 -11
- package/dist/react-native/codeSigningClient.js +14 -14
- package/dist/react-native/codeSigningClient.js.map +1 -1
- package/dist/react-native/index.d.ts +8 -2
- package/dist/react-native/index.js +3 -1
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/models/index.d.ts +1 -2
- package/dist/react-native/models/index.js +1 -1
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/models.d.ts +302 -254
- package/dist/react-native/models/models.js +346 -117
- package/dist/react-native/models/models.js.map +1 -1
- package/dist/react-native/restorePollerHelpers.d.ts +4 -4
- package/dist/react-native/restorePollerHelpers.js +13 -10
- package/dist/react-native/restorePollerHelpers.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 +1 -1
- package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/react-native/static-helpers/pollingHelpers.d.ts +3 -3
- package/dist/react-native/static-helpers/pollingHelpers.js +1 -1
- package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/react-native/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/react-native/static-helpers/urlTemplate.js +185 -0
- package/dist/react-native/static-helpers/urlTemplate.js.map +1 -0
- package/package.json +126 -49
- package/CHANGELOG.md +0 -29
- package/dist/browser/api/certificateProfiles/index.d.ts.map +0 -1
- package/dist/browser/api/codeSigningAccounts/index.d.ts.map +0 -1
- package/dist/browser/api/codeSigningContext.d.ts.map +0 -1
- package/dist/browser/api/index.d.ts.map +0 -1
- package/dist/browser/api/operations/index.d.ts.map +0 -1
- package/dist/browser/classic/certificateProfiles/index.d.ts.map +0 -1
- package/dist/browser/classic/codeSigningAccounts/index.d.ts.map +0 -1
- package/dist/browser/classic/index.d.ts.map +0 -1
- package/dist/browser/classic/operations/index.d.ts.map +0 -1
- package/dist/browser/codeSigningClient.d.ts.map +0 -1
- package/dist/browser/helpers/serializerHelpers.d.ts +0 -3
- package/dist/browser/helpers/serializerHelpers.d.ts.map +0 -1
- package/dist/browser/helpers/serializerHelpers.js +0 -24
- package/dist/browser/helpers/serializerHelpers.js.map +0 -1
- package/dist/browser/index.d.ts.map +0 -1
- package/dist/browser/logger.d.ts.map +0 -1
- package/dist/browser/models/index.d.ts.map +0 -1
- package/dist/browser/models/models.d.ts.map +0 -1
- package/dist/browser/models/options.d.ts.map +0 -1
- package/dist/browser/models/options.js.map +0 -1
- package/dist/browser/restorePollerHelpers.d.ts.map +0 -1
- package/dist/browser/static-helpers/pagingHelpers.d.ts.map +0 -1
- package/dist/browser/static-helpers/pollingHelpers.d.ts.map +0 -1
- package/dist/commonjs/api/certificateProfiles/index.d.ts.map +0 -1
- package/dist/commonjs/api/codeSigningAccounts/index.d.ts.map +0 -1
- package/dist/commonjs/api/codeSigningContext.d.ts.map +0 -1
- package/dist/commonjs/api/index.d.ts.map +0 -1
- package/dist/commonjs/api/operations/index.d.ts.map +0 -1
- package/dist/commonjs/classic/certificateProfiles/index.d.ts.map +0 -1
- package/dist/commonjs/classic/codeSigningAccounts/index.d.ts.map +0 -1
- package/dist/commonjs/classic/index.d.ts.map +0 -1
- package/dist/commonjs/classic/operations/index.d.ts.map +0 -1
- package/dist/commonjs/codeSigningClient.d.ts.map +0 -1
- package/dist/commonjs/helpers/serializerHelpers.d.ts +0 -3
- package/dist/commonjs/helpers/serializerHelpers.d.ts.map +0 -1
- package/dist/commonjs/helpers/serializerHelpers.js +0 -27
- package/dist/commonjs/helpers/serializerHelpers.js.map +0 -1
- package/dist/commonjs/index.d.ts.map +0 -1
- package/dist/commonjs/logger.d.ts.map +0 -1
- package/dist/commonjs/models/index.d.ts.map +0 -1
- package/dist/commonjs/models/models.d.ts.map +0 -1
- package/dist/commonjs/models/options.d.ts.map +0 -1
- package/dist/commonjs/models/options.js.map +0 -1
- package/dist/commonjs/restorePollerHelpers.d.ts.map +0 -1
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts.map +0 -1
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts.map +0 -1
- package/dist/esm/api/certificateProfiles/index.d.ts.map +0 -1
- package/dist/esm/api/codeSigningAccounts/index.d.ts.map +0 -1
- package/dist/esm/api/codeSigningContext.d.ts.map +0 -1
- package/dist/esm/api/index.d.ts.map +0 -1
- package/dist/esm/api/operations/index.d.ts.map +0 -1
- package/dist/esm/classic/certificateProfiles/index.d.ts.map +0 -1
- package/dist/esm/classic/codeSigningAccounts/index.d.ts.map +0 -1
- package/dist/esm/classic/index.d.ts.map +0 -1
- package/dist/esm/classic/operations/index.d.ts.map +0 -1
- package/dist/esm/codeSigningClient.d.ts.map +0 -1
- package/dist/esm/helpers/serializerHelpers.d.ts +0 -3
- package/dist/esm/helpers/serializerHelpers.d.ts.map +0 -1
- package/dist/esm/helpers/serializerHelpers.js +0 -24
- package/dist/esm/helpers/serializerHelpers.js.map +0 -1
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/logger.d.ts.map +0 -1
- package/dist/esm/models/index.d.ts.map +0 -1
- package/dist/esm/models/models.d.ts.map +0 -1
- package/dist/esm/models/options.d.ts.map +0 -1
- package/dist/esm/models/options.js.map +0 -1
- package/dist/esm/restorePollerHelpers.d.ts.map +0 -1
- package/dist/esm/static-helpers/pagingHelpers.d.ts.map +0 -1
- package/dist/esm/static-helpers/pollingHelpers.d.ts.map +0 -1
- package/dist/react-native/api/certificateProfiles/index.d.ts.map +0 -1
- package/dist/react-native/api/codeSigningAccounts/index.d.ts.map +0 -1
- package/dist/react-native/api/codeSigningContext.d.ts.map +0 -1
- package/dist/react-native/api/index.d.ts.map +0 -1
- package/dist/react-native/api/operations/index.d.ts.map +0 -1
- package/dist/react-native/classic/certificateProfiles/index.d.ts.map +0 -1
- package/dist/react-native/classic/codeSigningAccounts/index.d.ts.map +0 -1
- package/dist/react-native/classic/index.d.ts.map +0 -1
- package/dist/react-native/classic/operations/index.d.ts.map +0 -1
- package/dist/react-native/codeSigningClient.d.ts.map +0 -1
- package/dist/react-native/helpers/serializerHelpers.d.ts +0 -3
- package/dist/react-native/helpers/serializerHelpers.d.ts.map +0 -1
- package/dist/react-native/helpers/serializerHelpers.js +0 -24
- package/dist/react-native/helpers/serializerHelpers.js.map +0 -1
- package/dist/react-native/index.d.ts.map +0 -1
- package/dist/react-native/logger.d.ts.map +0 -1
- package/dist/react-native/models/index.d.ts.map +0 -1
- package/dist/react-native/models/models.d.ts.map +0 -1
- package/dist/react-native/models/options.d.ts.map +0 -1
- package/dist/react-native/models/options.js.map +0 -1
- package/dist/react-native/restorePollerHelpers.d.ts.map +0 -1
- package/dist/react-native/static-helpers/pagingHelpers.d.ts.map +0 -1
- package/dist/react-native/static-helpers/pollingHelpers.d.ts.map +0 -1
- package/review/arm-trustedsigning-models-node.api.md +0 -313
- package/review/arm-trustedsigning-node.api.md +0 -386
- /package/dist/browser/{models → api/certificateProfiles}/options.js +0 -0
- /package/dist/{esm/models → browser/api/codeSigningAccounts}/options.js +0 -0
- /package/dist/{react-native/models → browser/api/operations}/options.js +0 -0
- /package/dist/commonjs/{models → api/certificateProfiles}/options.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/certificateProfiles/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AA6BlC,4BAiBC;AAED,0CA8EC;AAGD,kBAiBC;AAED,kCAyBC;AAED,gDAgFC;AAGD,wBAwBC;AAED,oCAiBC;AAED,kDAOC;AAQD,0BAeC;AAED,sEAiBC;AAED,oFAqFC;AAGD,4DAuBC;AAED,wDA6BC;AAED,sEAOC;AAGD,8CAqBC;AA/gBD,sDAKgC;AAEhC,yDAKiC;AACjC,4EAG+C;AAC/C,8EAA8E;AAU9E,SAAgB,QAAQ,CACtB,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,WAAmB,EACnB,WAAmB,EACnB,UAAgD,EAAE,cAAc,EAAE,EAAE,EAAE;IAEtE,OAAO,OAAO;SACX,IAAI,CACH,wKAAwK,EACxK,cAAc,EACd,iBAAiB,EACjB,WAAW,EACX,WAAW,CACZ;SACA,GAAG,CAAC,EAAE,GAAG,IAAA,iDAAmC,EAAC,OAAO,CAAC,EAAE,CAAC,CAAC;AAC9D,CAAC;AAEM,KAAK,UAAU,eAAe,CAAC,MAA6B;IACjE,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACj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MAAM,CAAC,CAAC;AAC/C,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n certificateProfilePropertiesSerializer,\n CertificateProfile,\n RevokeCertificate,\n _CertificateProfileListResult,\n} from \"../../models/models.js\";\nimport { CodeSigningContext as Client } from \"../index.js\";\nimport {\n StreamableMethod,\n operationOptionsToRequestParameters,\n PathUncheckedResponse,\n createRestError,\n} from \"@azure-rest/core-client\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n CertificateProfilesGetOptionalParams,\n CertificateProfilesCreateOptionalParams,\n CertificateProfilesDeleteOptionalParams,\n CertificateProfilesListByCodeSigningAccountOptionalParams,\n CertificateProfilesRevokeCertificateOptionalParams,\n} from \"../../models/options.js\";\n\nexport function _getSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n accountName: string,\n profileName: string,\n options: CertificateProfilesGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CodeSigning/codeSigningAccounts/{accountName}/certificateProfiles/{profileName}\",\n subscriptionId,\n resourceGroupName,\n accountName,\n profileName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<CertificateProfile> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return {\n id: result.body[\"id\"],\n name: result.body[\"name\"],\n type: result.body[\"type\"],\n systemData: !result.body.systemData\n ? undefined\n : {\n createdBy: result.body.systemData?.[\"createdBy\"],\n createdByType: result.body.systemData?.[\"createdByType\"],\n createdAt:\n result.body.systemData?.[\"createdAt\"] !== undefined\n ? new Date(result.body.systemData?.[\"createdAt\"])\n : undefined,\n lastModifiedBy: result.body.systemData?.[\"lastModifiedBy\"],\n lastModifiedByType: result.body.systemData?.[\"lastModifiedByType\"],\n lastModifiedAt:\n result.body.systemData?.[\"lastModifiedAt\"] !== undefined\n ? new Date(result.body.systemData?.[\"lastModifiedAt\"])\n : undefined,\n },\n properties: !result.body.properties\n ? undefined\n : {\n profileType: result.body.properties?.[\"profileType\"],\n commonName: result.body.properties?.[\"commonName\"],\n organization: result.body.properties?.[\"organization\"],\n organizationUnit: result.body.properties?.[\"organizationUnit\"],\n streetAddress: result.body.properties?.[\"streetAddress\"],\n includeStreetAddress: result.body.properties?.[\"includeStreetAddress\"],\n city: result.body.properties?.[\"city\"],\n includeCity: result.body.properties?.[\"includeCity\"],\n state: result.body.properties?.[\"state\"],\n includeState: result.body.properties?.[\"includeState\"],\n country: result.body.properties?.[\"country\"],\n includeCountry: result.body.properties?.[\"includeCountry\"],\n postalCode: result.body.properties?.[\"postalCode\"],\n includePostalCode: result.body.properties?.[\"includePostalCode\"],\n enhancedKeyUsage: result.body.properties?.[\"enhancedKeyUsage\"],\n identityValidationId: result.body.properties?.[\"identityValidationId\"],\n provisioningState: result.body.properties?.[\"provisioningState\"],\n status: result.body.properties?.[\"status\"],\n certificates:\n result.body.properties?.[\"certificates\"] === undefined\n ? result.body.properties?.[\"certificates\"]\n : result.body.properties?.[\"certificates\"].map((p: any) => {\n return {\n serialNumber: p[\"serialNumber\"],\n subjectName: p[\"subjectName\"],\n thumbprint: p[\"thumbprint\"],\n createdDate: p[\"createdDate\"],\n expiryDate: p[\"expiryDate\"],\n status: p[\"status\"],\n revocation: !p.revocation\n ? undefined\n : {\n requestedAt:\n p.revocation?.[\"requestedAt\"] !== undefined\n ? new Date(p.revocation?.[\"requestedAt\"])\n : undefined,\n effectiveAt:\n p.revocation?.[\"effectiveAt\"] !== undefined\n ? new Date(p.revocation?.[\"effectiveAt\"])\n : undefined,\n reason: p.revocation?.[\"reason\"],\n remarks: p.revocation?.[\"remarks\"],\n status: p.revocation?.[\"status\"],\n failureReason: p.revocation?.[\"failureReason\"],\n },\n };\n }),\n },\n };\n}\n\n/** Get details of a certificate profile. */\nexport async function get(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n accountName: string,\n profileName: string,\n options: CertificateProfilesGetOptionalParams = { requestOptions: {} },\n): Promise<CertificateProfile> {\n const result = await _getSend(\n context,\n subscriptionId,\n resourceGroupName,\n accountName,\n profileName,\n options,\n );\n return _getDeserialize(result);\n}\n\nexport function _createSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n accountName: string,\n profileName: string,\n resource: CertificateProfile,\n options: CertificateProfilesCreateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CodeSigning/codeSigningAccounts/{accountName}/certificateProfiles/{profileName}\",\n subscriptionId,\n resourceGroupName,\n accountName,\n profileName,\n )\n .put({\n ...operationOptionsToRequestParameters(options),\n body: {\n properties: !resource.properties\n ? resource.properties\n : certificateProfilePropertiesSerializer(resource.properties),\n },\n });\n}\n\nexport async function _createDeserialize(\n result: PathUncheckedResponse,\n): Promise<CertificateProfile> {\n const expectedStatuses = [\"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return {\n id: result.body[\"id\"],\n name: result.body[\"name\"],\n type: result.body[\"type\"],\n systemData: !result.body.systemData\n ? undefined\n : {\n createdBy: result.body.systemData?.[\"createdBy\"],\n createdByType: result.body.systemData?.[\"createdByType\"],\n createdAt:\n result.body.systemData?.[\"createdAt\"] !== undefined\n ? new Date(result.body.systemData?.[\"createdAt\"])\n : undefined,\n lastModifiedBy: result.body.systemData?.[\"lastModifiedBy\"],\n lastModifiedByType: result.body.systemData?.[\"lastModifiedByType\"],\n lastModifiedAt:\n result.body.systemData?.[\"lastModifiedAt\"] !== undefined\n ? new Date(result.body.systemData?.[\"lastModifiedAt\"])\n : undefined,\n },\n properties: !result.body.properties\n ? undefined\n : {\n profileType: result.body.properties?.[\"profileType\"],\n commonName: result.body.properties?.[\"commonName\"],\n organization: result.body.properties?.[\"organization\"],\n organizationUnit: result.body.properties?.[\"organizationUnit\"],\n streetAddress: result.body.properties?.[\"streetAddress\"],\n includeStreetAddress: result.body.properties?.[\"includeStreetAddress\"],\n city: result.body.properties?.[\"city\"],\n includeCity: result.body.properties?.[\"includeCity\"],\n state: result.body.properties?.[\"state\"],\n includeState: result.body.properties?.[\"includeState\"],\n country: result.body.properties?.[\"country\"],\n includeCountry: result.body.properties?.[\"includeCountry\"],\n postalCode: result.body.properties?.[\"postalCode\"],\n includePostalCode: result.body.properties?.[\"includePostalCode\"],\n enhancedKeyUsage: result.body.properties?.[\"enhancedKeyUsage\"],\n identityValidationId: result.body.properties?.[\"identityValidationId\"],\n provisioningState: result.body.properties?.[\"provisioningState\"],\n status: result.body.properties?.[\"status\"],\n certificates:\n result.body.properties?.[\"certificates\"] === undefined\n ? result.body.properties?.[\"certificates\"]\n : result.body.properties?.[\"certificates\"].map((p: any) => {\n return {\n serialNumber: p[\"serialNumber\"],\n subjectName: p[\"subjectName\"],\n thumbprint: p[\"thumbprint\"],\n createdDate: p[\"createdDate\"],\n expiryDate: p[\"expiryDate\"],\n status: p[\"status\"],\n revocation: !p.revocation\n ? undefined\n : {\n requestedAt:\n p.revocation?.[\"requestedAt\"] !== undefined\n ? new Date(p.revocation?.[\"requestedAt\"])\n : undefined,\n effectiveAt:\n p.revocation?.[\"effectiveAt\"] !== undefined\n ? new Date(p.revocation?.[\"effectiveAt\"])\n : undefined,\n reason: p.revocation?.[\"reason\"],\n remarks: p.revocation?.[\"remarks\"],\n status: p.revocation?.[\"status\"],\n failureReason: p.revocation?.[\"failureReason\"],\n },\n };\n }),\n },\n };\n}\n\n/** Create a certificate profile. */\nexport function create(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n accountName: string,\n profileName: string,\n resource: CertificateProfile,\n options: CertificateProfilesCreateOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<CertificateProfile>, CertificateProfile> {\n return getLongRunningPoller(context, _createDeserialize, [\"200\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _createSend(\n context,\n subscriptionId,\n resourceGroupName,\n accountName,\n profileName,\n resource,\n options,\n ),\n resourceLocationConfig: \"azure-async-operation\",\n }) as PollerLike<OperationState<CertificateProfile>, CertificateProfile>;\n}\n\nexport function _$deleteSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n accountName: string,\n profileName: string,\n options: CertificateProfilesDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CodeSigning/codeSigningAccounts/{accountName}/certificateProfiles/{profileName}\",\n subscriptionId,\n resourceGroupName,\n accountName,\n profileName,\n )\n .delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"202\", \"204\", \"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return;\n}\n\n/** Delete a certificate profile. */\n/**\n * @fixme delete is a reserved word that cannot be used as an operation name.\n * Please add @clientName(\"clientName\") or @clientName(\"<JS-Specific-Name>\", \"javascript\")\n * to the operation to override the generated name.\n */\nexport function $delete(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n accountName: string,\n profileName: string,\n options: CertificateProfilesDeleteOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _$deleteDeserialize, [\"202\", \"204\", \"200\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _$deleteSend(context, subscriptionId, resourceGroupName, accountName, profileName, options),\n resourceLocationConfig: \"location\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _listByCodeSigningAccountSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n accountName: string,\n options: CertificateProfilesListByCodeSigningAccountOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CodeSigning/codeSigningAccounts/{accountName}/certificateProfiles\",\n subscriptionId,\n resourceGroupName,\n accountName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _listByCodeSigningAccountDeserialize(\n result: PathUncheckedResponse,\n): Promise<_CertificateProfileListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return {\n value: result.body[\"value\"].map((p: any) => {\n return {\n id: p[\"id\"],\n name: p[\"name\"],\n type: p[\"type\"],\n systemData: !p.systemData\n ? undefined\n : {\n createdBy: p.systemData?.[\"createdBy\"],\n createdByType: p.systemData?.[\"createdByType\"],\n createdAt:\n p.systemData?.[\"createdAt\"] !== undefined\n ? new Date(p.systemData?.[\"createdAt\"])\n : undefined,\n lastModifiedBy: p.systemData?.[\"lastModifiedBy\"],\n lastModifiedByType: p.systemData?.[\"lastModifiedByType\"],\n lastModifiedAt:\n p.systemData?.[\"lastModifiedAt\"] !== undefined\n ? new Date(p.systemData?.[\"lastModifiedAt\"])\n : undefined,\n },\n properties: !p.properties\n ? undefined\n : {\n profileType: p.properties?.[\"profileType\"],\n commonName: p.properties?.[\"commonName\"],\n organization: p.properties?.[\"organization\"],\n organizationUnit: p.properties?.[\"organizationUnit\"],\n streetAddress: p.properties?.[\"streetAddress\"],\n includeStreetAddress: p.properties?.[\"includeStreetAddress\"],\n city: p.properties?.[\"city\"],\n includeCity: p.properties?.[\"includeCity\"],\n state: p.properties?.[\"state\"],\n includeState: p.properties?.[\"includeState\"],\n country: p.properties?.[\"country\"],\n includeCountry: p.properties?.[\"includeCountry\"],\n postalCode: p.properties?.[\"postalCode\"],\n includePostalCode: p.properties?.[\"includePostalCode\"],\n enhancedKeyUsage: p.properties?.[\"enhancedKeyUsage\"],\n identityValidationId: p.properties?.[\"identityValidationId\"],\n provisioningState: p.properties?.[\"provisioningState\"],\n status: p.properties?.[\"status\"],\n certificates:\n p.properties?.[\"certificates\"] === undefined\n ? p.properties?.[\"certificates\"]\n : p.properties?.[\"certificates\"].map((p: any) => {\n return {\n serialNumber: p[\"serialNumber\"],\n subjectName: p[\"subjectName\"],\n thumbprint: p[\"thumbprint\"],\n createdDate: p[\"createdDate\"],\n expiryDate: p[\"expiryDate\"],\n status: p[\"status\"],\n revocation: !p.revocation\n ? undefined\n : {\n requestedAt:\n p.revocation?.[\"requestedAt\"] !== undefined\n ? new Date(p.revocation?.[\"requestedAt\"])\n : undefined,\n effectiveAt:\n p.revocation?.[\"effectiveAt\"] !== undefined\n ? new Date(p.revocation?.[\"effectiveAt\"])\n : undefined,\n reason: p.revocation?.[\"reason\"],\n remarks: p.revocation?.[\"remarks\"],\n status: p.revocation?.[\"status\"],\n failureReason: p.revocation?.[\"failureReason\"],\n },\n };\n }),\n },\n };\n }),\n nextLink: result.body[\"nextLink\"],\n };\n}\n\n/** List certificate profiles under a trusted signing account. */\nexport function listByCodeSigningAccount(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n accountName: string,\n options: CertificateProfilesListByCodeSigningAccountOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<CertificateProfile> {\n return buildPagedAsyncIterator(\n context,\n () =>\n _listByCodeSigningAccountSend(\n context,\n subscriptionId,\n resourceGroupName,\n accountName,\n options,\n ),\n _listByCodeSigningAccountDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _revokeCertificateSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n accountName: string,\n profileName: string,\n body: RevokeCertificate,\n options: CertificateProfilesRevokeCertificateOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CodeSigning/codeSigningAccounts/{accountName}/certificateProfiles/{profileName}/revokeCertificate\",\n subscriptionId,\n resourceGroupName,\n accountName,\n profileName,\n )\n .post({\n ...operationOptionsToRequestParameters(options),\n body: {\n serialNumber: body[\"serialNumber\"],\n thumbprint: body[\"thumbprint\"],\n effectiveAt: body[\"effectiveAt\"].toISOString(),\n reason: body[\"reason\"],\n remarks: body[\"remarks\"],\n },\n });\n}\n\nexport async function _revokeCertificateDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"204\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return;\n}\n\n/** Revoke a certificate under a certificate profile. */\nexport async function revokeCertificate(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n accountName: string,\n profileName: string,\n body: RevokeCertificate,\n options: CertificateProfilesRevokeCertificateOptionalParams = {\n requestOptions: {},\n },\n): Promise<void> {\n const result = await _revokeCertificateSend(\n context,\n subscriptionId,\n resourceGroupName,\n accountName,\n profileName,\n body,\n options,\n );\n return _revokeCertificateDeserialize(result);\n}\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/certificateProfiles/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,iDAAoG;AAA3F,kHAAA,iBAAiB,OAAA;AAAE,yHAAA,wBAAwB,OAAA;AAAE,wGAAA,OAAO,OAAA;AAAE,uGAAA,MAAM,OAAA;AAAE,oGAAA,GAAG,OAAA","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { revokeCertificate, listByCodeSigningAccount, $delete, create, get } from \"./operations.js\";\nexport {\n CertificateProfilesRevokeCertificateOptionalParams,\n CertificateProfilesListByCodeSigningAccountOptionalParams,\n CertificateProfilesDeleteOptionalParams,\n CertificateProfilesCreateOptionalParams,\n CertificateProfilesGetOptionalParams,\n} from \"./options.js\";\n"]}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { CodeSigningContext as Client } from "../index.js";
|
|
2
|
+
import type { CertificateProfile, _CertificateProfileListResult, RevokeCertificate } from "../../models/models.js";
|
|
3
|
+
import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
4
|
+
import type { CertificateProfilesRevokeCertificateOptionalParams, CertificateProfilesListByCodeSigningAccountOptionalParams, CertificateProfilesDeleteOptionalParams, CertificateProfilesCreateOptionalParams, CertificateProfilesGetOptionalParams } from "./options.js";
|
|
5
|
+
import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
6
|
+
import type { PollerLike, OperationState } from "@azure/core-lro";
|
|
7
|
+
export declare function _revokeCertificateSend(context: Client, resourceGroupName: string, accountName: string, profileName: string, body: RevokeCertificate, options?: CertificateProfilesRevokeCertificateOptionalParams): StreamableMethod;
|
|
8
|
+
export declare function _revokeCertificateDeserialize(result: PathUncheckedResponse): Promise<void>;
|
|
9
|
+
/** Revoke a certificate under a certificate profile. */
|
|
10
|
+
export declare function revokeCertificate(context: Client, resourceGroupName: string, accountName: string, profileName: string, body: RevokeCertificate, options?: CertificateProfilesRevokeCertificateOptionalParams): Promise<void>;
|
|
11
|
+
export declare function _listByCodeSigningAccountSend(context: Client, resourceGroupName: string, accountName: string, options?: CertificateProfilesListByCodeSigningAccountOptionalParams): StreamableMethod;
|
|
12
|
+
export declare function _listByCodeSigningAccountDeserialize(result: PathUncheckedResponse): Promise<_CertificateProfileListResult>;
|
|
13
|
+
/** List certificate profiles under a trusted signing account. */
|
|
14
|
+
export declare function listByCodeSigningAccount(context: Client, resourceGroupName: string, accountName: string, options?: CertificateProfilesListByCodeSigningAccountOptionalParams): PagedAsyncIterableIterator<CertificateProfile>;
|
|
15
|
+
export declare function _$deleteSend(context: Client, resourceGroupName: string, accountName: string, profileName: string, options?: CertificateProfilesDeleteOptionalParams): StreamableMethod;
|
|
16
|
+
export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void>;
|
|
17
|
+
/** Delete a certificate profile. */
|
|
18
|
+
/**
|
|
19
|
+
* @fixme delete is a reserved word that cannot be used as an operation name.
|
|
20
|
+
* Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
|
|
21
|
+
* to the operation to override the generated name.
|
|
22
|
+
*/
|
|
23
|
+
export declare function $delete(context: Client, resourceGroupName: string, accountName: string, profileName: string, options?: CertificateProfilesDeleteOptionalParams): PollerLike<OperationState<void>, void>;
|
|
24
|
+
export declare function _createSend(context: Client, resourceGroupName: string, accountName: string, profileName: string, resource: CertificateProfile, options?: CertificateProfilesCreateOptionalParams): StreamableMethod;
|
|
25
|
+
export declare function _createDeserialize(result: PathUncheckedResponse): Promise<CertificateProfile>;
|
|
26
|
+
/** Create a certificate profile. */
|
|
27
|
+
export declare function create(context: Client, resourceGroupName: string, accountName: string, profileName: string, resource: CertificateProfile, options?: CertificateProfilesCreateOptionalParams): PollerLike<OperationState<CertificateProfile>, CertificateProfile>;
|
|
28
|
+
export declare function _getSend(context: Client, resourceGroupName: string, accountName: string, profileName: string, options?: CertificateProfilesGetOptionalParams): StreamableMethod;
|
|
29
|
+
export declare function _getDeserialize(result: PathUncheckedResponse): Promise<CertificateProfile>;
|
|
30
|
+
/** Get details of a certificate profile. */
|
|
31
|
+
export declare function get(context: Client, resourceGroupName: string, accountName: string, profileName: string, options?: CertificateProfilesGetOptionalParams): Promise<CertificateProfile>;
|
|
32
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT License.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports._revokeCertificateSend = _revokeCertificateSend;
|
|
6
|
+
exports._revokeCertificateDeserialize = _revokeCertificateDeserialize;
|
|
7
|
+
exports.revokeCertificate = revokeCertificate;
|
|
8
|
+
exports._listByCodeSigningAccountSend = _listByCodeSigningAccountSend;
|
|
9
|
+
exports._listByCodeSigningAccountDeserialize = _listByCodeSigningAccountDeserialize;
|
|
10
|
+
exports.listByCodeSigningAccount = listByCodeSigningAccount;
|
|
11
|
+
exports._$deleteSend = _$deleteSend;
|
|
12
|
+
exports._$deleteDeserialize = _$deleteDeserialize;
|
|
13
|
+
exports.$delete = $delete;
|
|
14
|
+
exports._createSend = _createSend;
|
|
15
|
+
exports._createDeserialize = _createDeserialize;
|
|
16
|
+
exports.create = create;
|
|
17
|
+
exports._getSend = _getSend;
|
|
18
|
+
exports._getDeserialize = _getDeserialize;
|
|
19
|
+
exports.get = get;
|
|
20
|
+
const models_js_1 = require("../../models/models.js");
|
|
21
|
+
const pagingHelpers_js_1 = require("../../static-helpers/pagingHelpers.js");
|
|
22
|
+
const pollingHelpers_js_1 = require("../../static-helpers/pollingHelpers.js");
|
|
23
|
+
const urlTemplate_js_1 = require("../../static-helpers/urlTemplate.js");
|
|
24
|
+
const core_client_1 = require("@azure-rest/core-client");
|
|
25
|
+
function _revokeCertificateSend(context, resourceGroupName, accountName, profileName, body, options = {
|
|
26
|
+
requestOptions: {},
|
|
27
|
+
}) {
|
|
28
|
+
const path = (0, urlTemplate_js_1.expandUrlTemplate)("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CodeSigning/codeSigningAccounts/{accountName}/certificateProfiles/{profileName}/revokeCertificate{?api%2Dversion}", {
|
|
29
|
+
subscriptionId: context.subscriptionId,
|
|
30
|
+
resourceGroupName: resourceGroupName,
|
|
31
|
+
accountName: accountName,
|
|
32
|
+
profileName: profileName,
|
|
33
|
+
"api%2Dversion": context.apiVersion,
|
|
34
|
+
}, {
|
|
35
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
36
|
+
});
|
|
37
|
+
return context.path(path).post({
|
|
38
|
+
...(0, core_client_1.operationOptionsToRequestParameters)(options),
|
|
39
|
+
contentType: "application/json",
|
|
40
|
+
body: (0, models_js_1.revokeCertificateSerializer)(body),
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
async function _revokeCertificateDeserialize(result) {
|
|
44
|
+
const expectedStatuses = ["204"];
|
|
45
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
46
|
+
const error = (0, core_client_1.createRestError)(result);
|
|
47
|
+
error.details = (0, models_js_1.errorResponseDeserializer)(result.body);
|
|
48
|
+
throw error;
|
|
49
|
+
}
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
52
|
+
/** Revoke a certificate under a certificate profile. */
|
|
53
|
+
async function revokeCertificate(context, resourceGroupName, accountName, profileName, body, options = {
|
|
54
|
+
requestOptions: {},
|
|
55
|
+
}) {
|
|
56
|
+
const result = await _revokeCertificateSend(context, resourceGroupName, accountName, profileName, body, options);
|
|
57
|
+
return _revokeCertificateDeserialize(result);
|
|
58
|
+
}
|
|
59
|
+
function _listByCodeSigningAccountSend(context, resourceGroupName, accountName, options = {
|
|
60
|
+
requestOptions: {},
|
|
61
|
+
}) {
|
|
62
|
+
const path = (0, urlTemplate_js_1.expandUrlTemplate)("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CodeSigning/codeSigningAccounts/{accountName}/certificateProfiles{?api%2Dversion}", {
|
|
63
|
+
subscriptionId: context.subscriptionId,
|
|
64
|
+
resourceGroupName: resourceGroupName,
|
|
65
|
+
accountName: accountName,
|
|
66
|
+
"api%2Dversion": context.apiVersion,
|
|
67
|
+
}, {
|
|
68
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
69
|
+
});
|
|
70
|
+
return context.path(path).get({
|
|
71
|
+
...(0, core_client_1.operationOptionsToRequestParameters)(options),
|
|
72
|
+
headers: {
|
|
73
|
+
accept: "application/json",
|
|
74
|
+
...options.requestOptions?.headers,
|
|
75
|
+
},
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
async function _listByCodeSigningAccountDeserialize(result) {
|
|
79
|
+
const expectedStatuses = ["200"];
|
|
80
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
81
|
+
const error = (0, core_client_1.createRestError)(result);
|
|
82
|
+
error.details = (0, models_js_1.errorResponseDeserializer)(result.body);
|
|
83
|
+
throw error;
|
|
84
|
+
}
|
|
85
|
+
return (0, models_js_1._certificateProfileListResultDeserializer)(result.body);
|
|
86
|
+
}
|
|
87
|
+
/** List certificate profiles under a trusted signing account. */
|
|
88
|
+
function listByCodeSigningAccount(context, resourceGroupName, accountName, options = {
|
|
89
|
+
requestOptions: {},
|
|
90
|
+
}) {
|
|
91
|
+
return (0, pagingHelpers_js_1.buildPagedAsyncIterator)(context, () => _listByCodeSigningAccountSend(context, resourceGroupName, accountName, options), _listByCodeSigningAccountDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
|
|
92
|
+
}
|
|
93
|
+
function _$deleteSend(context, resourceGroupName, accountName, profileName, options = { requestOptions: {} }) {
|
|
94
|
+
const path = (0, urlTemplate_js_1.expandUrlTemplate)("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CodeSigning/codeSigningAccounts/{accountName}/certificateProfiles/{profileName}{?api%2Dversion}", {
|
|
95
|
+
subscriptionId: context.subscriptionId,
|
|
96
|
+
resourceGroupName: resourceGroupName,
|
|
97
|
+
accountName: accountName,
|
|
98
|
+
profileName: profileName,
|
|
99
|
+
"api%2Dversion": context.apiVersion,
|
|
100
|
+
}, {
|
|
101
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
102
|
+
});
|
|
103
|
+
return context.path(path).delete({ ...(0, core_client_1.operationOptionsToRequestParameters)(options) });
|
|
104
|
+
}
|
|
105
|
+
async function _$deleteDeserialize(result) {
|
|
106
|
+
const expectedStatuses = ["202", "204", "200"];
|
|
107
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
108
|
+
const error = (0, core_client_1.createRestError)(result);
|
|
109
|
+
error.details = (0, models_js_1.errorResponseDeserializer)(result.body);
|
|
110
|
+
throw error;
|
|
111
|
+
}
|
|
112
|
+
return;
|
|
113
|
+
}
|
|
114
|
+
/** Delete a certificate profile. */
|
|
115
|
+
/**
|
|
116
|
+
* @fixme delete is a reserved word that cannot be used as an operation name.
|
|
117
|
+
* Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
|
|
118
|
+
* to the operation to override the generated name.
|
|
119
|
+
*/
|
|
120
|
+
function $delete(context, resourceGroupName, accountName, profileName, options = { requestOptions: {} }) {
|
|
121
|
+
return (0, pollingHelpers_js_1.getLongRunningPoller)(context, _$deleteDeserialize, ["202", "204", "200"], {
|
|
122
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
123
|
+
abortSignal: options?.abortSignal,
|
|
124
|
+
getInitialResponse: () => _$deleteSend(context, resourceGroupName, accountName, profileName, options),
|
|
125
|
+
resourceLocationConfig: "location",
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
function _createSend(context, resourceGroupName, accountName, profileName, resource, options = { requestOptions: {} }) {
|
|
129
|
+
const path = (0, urlTemplate_js_1.expandUrlTemplate)("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CodeSigning/codeSigningAccounts/{accountName}/certificateProfiles/{profileName}{?api%2Dversion}", {
|
|
130
|
+
subscriptionId: context.subscriptionId,
|
|
131
|
+
resourceGroupName: resourceGroupName,
|
|
132
|
+
accountName: accountName,
|
|
133
|
+
profileName: profileName,
|
|
134
|
+
"api%2Dversion": context.apiVersion,
|
|
135
|
+
}, {
|
|
136
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
137
|
+
});
|
|
138
|
+
return context.path(path).put({
|
|
139
|
+
...(0, core_client_1.operationOptionsToRequestParameters)(options),
|
|
140
|
+
contentType: "application/json",
|
|
141
|
+
headers: {
|
|
142
|
+
accept: "application/json",
|
|
143
|
+
...options.requestOptions?.headers,
|
|
144
|
+
},
|
|
145
|
+
body: (0, models_js_1.certificateProfileSerializer)(resource),
|
|
146
|
+
});
|
|
147
|
+
}
|
|
148
|
+
async function _createDeserialize(result) {
|
|
149
|
+
const expectedStatuses = ["200", "201", "202"];
|
|
150
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
151
|
+
const error = (0, core_client_1.createRestError)(result);
|
|
152
|
+
error.details = (0, models_js_1.errorResponseDeserializer)(result.body);
|
|
153
|
+
throw error;
|
|
154
|
+
}
|
|
155
|
+
return (0, models_js_1.certificateProfileDeserializer)(result.body);
|
|
156
|
+
}
|
|
157
|
+
/** Create a certificate profile. */
|
|
158
|
+
function create(context, resourceGroupName, accountName, profileName, resource, options = { requestOptions: {} }) {
|
|
159
|
+
return (0, pollingHelpers_js_1.getLongRunningPoller)(context, _createDeserialize, ["200", "201", "202"], {
|
|
160
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
161
|
+
abortSignal: options?.abortSignal,
|
|
162
|
+
getInitialResponse: () => _createSend(context, resourceGroupName, accountName, profileName, resource, options),
|
|
163
|
+
resourceLocationConfig: "azure-async-operation",
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
function _getSend(context, resourceGroupName, accountName, profileName, options = { requestOptions: {} }) {
|
|
167
|
+
const path = (0, urlTemplate_js_1.expandUrlTemplate)("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CodeSigning/codeSigningAccounts/{accountName}/certificateProfiles/{profileName}{?api%2Dversion}", {
|
|
168
|
+
subscriptionId: context.subscriptionId,
|
|
169
|
+
resourceGroupName: resourceGroupName,
|
|
170
|
+
accountName: accountName,
|
|
171
|
+
profileName: profileName,
|
|
172
|
+
"api%2Dversion": context.apiVersion,
|
|
173
|
+
}, {
|
|
174
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
175
|
+
});
|
|
176
|
+
return context.path(path).get({
|
|
177
|
+
...(0, core_client_1.operationOptionsToRequestParameters)(options),
|
|
178
|
+
headers: {
|
|
179
|
+
accept: "application/json",
|
|
180
|
+
...options.requestOptions?.headers,
|
|
181
|
+
},
|
|
182
|
+
});
|
|
183
|
+
}
|
|
184
|
+
async function _getDeserialize(result) {
|
|
185
|
+
const expectedStatuses = ["200"];
|
|
186
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
187
|
+
const error = (0, core_client_1.createRestError)(result);
|
|
188
|
+
error.details = (0, models_js_1.errorResponseDeserializer)(result.body);
|
|
189
|
+
throw error;
|
|
190
|
+
}
|
|
191
|
+
return (0, models_js_1.certificateProfileDeserializer)(result.body);
|
|
192
|
+
}
|
|
193
|
+
/** Get details of a certificate profile. */
|
|
194
|
+
async function get(context, resourceGroupName, accountName, profileName, options = { requestOptions: {} }) {
|
|
195
|
+
const result = await _getSend(context, resourceGroupName, accountName, profileName, options);
|
|
196
|
+
return _getDeserialize(result);
|
|
197
|
+
}
|
|
198
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/certificateProfiles/operations.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AA8BlC,wDA4BC;AAED,sEASC;AAGD,8CAmBC;AAED,sEA2BC;AAED,oFAWC;AAGD,4DAeC;AAED,oCAqBC;AAED,kDASC;AAQD,0BAcC;AAED,kCA8BC;AAED,gDAWC;AAGD,wBAeC;AAED,4BA2BC;AAED,0CASC;AAGD,kBASC;AA1TD,sDAMgC;AAEhC,4EAAgF;AAChF,8EAA8E;AAC9E,wEAAwE;AASxE,yDAA+F;AAG/F,SAAgB,sBAAsB,CACpC,OAAe,EACf,iBAAyB,EACzB,WAAmB,EACnB,WAAmB,EACnB,IAAuB,EACvB,UAA8D;IAC5D,cAAc,EAAE,EAAE;CACnB;IAED,MAAM,IAAI,GAAG,IAAA,kCAAiB,EAC5B,0MAA0M,EAC1M;QACE,cAAc,EAAE,OAAO,CAAC,cAAc;QACtC,iBAAiB,EAAE,iBAAiB;QACpC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AC,cAAc,EAAE,OAAO;SACnC;KACF,CAAC,CAAC;AACL,CAAC;AAEM,KAAK,UAAU,eAAe,CAAC,MAA6B;IACjE,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,KAAK,GAAG,IAAA,6BAAe,EAAC,MAAM,CAAC,CAAC;QACtC,KAAK,CAAC,OAAO,GAAG,IAAA,qCAAyB,EAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACvD,MAAM,KAAK,CAAC;IACd,CAAC;IAED,OAAO,IAAA,0CAA8B,EAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACrD,CAAC;AAED,4CAA4C;AACrC,KAAK,UAAU,GAAG,CACvB,OAAe,EACf,iBAAyB,EACzB,WAAmB,EACnB,WAAmB,EACnB,UAAgD,EAAE,cAAc,EAAE,EAAE,EAAE;IAEtE,MAAM,MAAM,GAAG,MAAM,QAAQ,CAAC,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;IAC7F,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC;AACjC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { CodeSigningContext as Client } from \"../index.js\";\nimport type {\n CertificateProfile,\n _CertificateProfileListResult,\n RevokeCertificate,\n} from \"../../models/models.js\";\nimport {\n errorResponseDeserializer,\n certificateProfileSerializer,\n certificateProfileDeserializer,\n _certificateProfileListResultDeserializer,\n revokeCertificateSerializer,\n} from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { buildPagedAsyncIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport type {\n CertificateProfilesRevokeCertificateOptionalParams,\n CertificateProfilesListByCodeSigningAccountOptionalParams,\n CertificateProfilesDeleteOptionalParams,\n CertificateProfilesCreateOptionalParams,\n CertificateProfilesGetOptionalParams,\n} from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\nimport type { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _revokeCertificateSend(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n profileName: string,\n body: RevokeCertificate,\n options: CertificateProfilesRevokeCertificateOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CodeSigning/codeSigningAccounts/{accountName}/certificateProfiles/{profileName}/revokeCertificate{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n accountName: accountName,\n profileName: profileName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n body: revokeCertificateSerializer(body),\n });\n}\n\nexport async function _revokeCertificateDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"204\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return;\n}\n\n/** Revoke a certificate under a certificate profile. */\nexport async function revokeCertificate(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n profileName: string,\n body: RevokeCertificate,\n options: CertificateProfilesRevokeCertificateOptionalParams = {\n requestOptions: {},\n },\n): Promise<void> {\n const result = await _revokeCertificateSend(\n context,\n resourceGroupName,\n accountName,\n profileName,\n body,\n options,\n );\n return _revokeCertificateDeserialize(result);\n}\n\nexport function _listByCodeSigningAccountSend(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n options: CertificateProfilesListByCodeSigningAccountOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CodeSigning/codeSigningAccounts/{accountName}/certificateProfiles{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n accountName: accountName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _listByCodeSigningAccountDeserialize(\n result: PathUncheckedResponse,\n): Promise<_CertificateProfileListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return _certificateProfileListResultDeserializer(result.body);\n}\n\n/** List certificate profiles under a trusted signing account. */\nexport function listByCodeSigningAccount(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n options: CertificateProfilesListByCodeSigningAccountOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<CertificateProfile> {\n return buildPagedAsyncIterator(\n context,\n () => _listByCodeSigningAccountSend(context, resourceGroupName, accountName, options),\n _listByCodeSigningAccountDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _$deleteSend(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n profileName: string,\n options: CertificateProfilesDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CodeSigning/codeSigningAccounts/{accountName}/certificateProfiles/{profileName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n accountName: accountName,\n profileName: profileName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"202\", \"204\", \"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return;\n}\n\n/** Delete a certificate profile. */\n/**\n * @fixme delete is a reserved word that cannot be used as an operation name.\n * Please add @clientName(\"clientName\") or @clientName(\"<JS-Specific-Name>\", \"javascript\")\n * to the operation to override the generated name.\n */\nexport function $delete(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n profileName: string,\n options: CertificateProfilesDeleteOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _$deleteDeserialize, [\"202\", \"204\", \"200\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _$deleteSend(context, resourceGroupName, accountName, profileName, options),\n resourceLocationConfig: \"location\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _createSend(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n profileName: string,\n resource: CertificateProfile,\n options: CertificateProfilesCreateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CodeSigning/codeSigningAccounts/{accountName}/certificateProfiles/{profileName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n accountName: accountName,\n profileName: profileName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: certificateProfileSerializer(resource),\n });\n}\n\nexport async function _createDeserialize(\n result: PathUncheckedResponse,\n): Promise<CertificateProfile> {\n const expectedStatuses = [\"200\", \"201\", \"202\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return certificateProfileDeserializer(result.body);\n}\n\n/** Create a certificate profile. */\nexport function create(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n profileName: string,\n resource: CertificateProfile,\n options: CertificateProfilesCreateOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<CertificateProfile>, CertificateProfile> {\n return getLongRunningPoller(context, _createDeserialize, [\"200\", \"201\", \"202\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _createSend(context, resourceGroupName, accountName, profileName, resource, options),\n resourceLocationConfig: \"azure-async-operation\",\n }) as PollerLike<OperationState<CertificateProfile>, CertificateProfile>;\n}\n\nexport function _getSend(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n profileName: string,\n options: CertificateProfilesGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CodeSigning/codeSigningAccounts/{accountName}/certificateProfiles/{profileName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n accountName: accountName,\n profileName: profileName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<CertificateProfile> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return certificateProfileDeserializer(result.body);\n}\n\n/** Get details of a certificate profile. */\nexport async function get(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n profileName: string,\n options: CertificateProfilesGetOptionalParams = { requestOptions: {} },\n): Promise<CertificateProfile> {\n const result = await _getSend(context, resourceGroupName, accountName, profileName, options);\n return _getDeserialize(result);\n}\n"]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { OperationOptions } from "@azure-rest/core-client";
|
|
2
|
+
/** Optional parameters. */
|
|
3
|
+
export interface CertificateProfilesRevokeCertificateOptionalParams extends OperationOptions {
|
|
4
|
+
}
|
|
5
|
+
/** Optional parameters. */
|
|
6
|
+
export interface CertificateProfilesListByCodeSigningAccountOptionalParams extends OperationOptions {
|
|
7
|
+
}
|
|
8
|
+
/** Optional parameters. */
|
|
9
|
+
export interface CertificateProfilesDeleteOptionalParams extends OperationOptions {
|
|
10
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
11
|
+
updateIntervalInMs?: number;
|
|
12
|
+
}
|
|
13
|
+
/** Optional parameters. */
|
|
14
|
+
export interface CertificateProfilesCreateOptionalParams extends OperationOptions {
|
|
15
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
16
|
+
updateIntervalInMs?: number;
|
|
17
|
+
}
|
|
18
|
+
/** Optional parameters. */
|
|
19
|
+
export interface CertificateProfilesGetOptionalParams extends OperationOptions {
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=options.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/certificateProfiles/options.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface CertificateProfilesRevokeCertificateOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface CertificateProfilesListByCodeSigningAccountOptionalParams\n extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface CertificateProfilesDeleteOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface CertificateProfilesCreateOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface CertificateProfilesGetOptionalParams extends OperationOptions {}\n"]}
|
|
@@ -1,40 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
4
|
-
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
-
import { PollerLike, OperationState } from "@azure/core-lro";
|
|
6
|
-
import { CodeSigningAccountsGetOptionalParams, CodeSigningAccountsCreateOptionalParams, CodeSigningAccountsUpdateOptionalParams, CodeSigningAccountsDeleteOptionalParams, CodeSigningAccountsListByResourceGroupOptionalParams, CodeSigningAccountsListBySubscriptionOptionalParams, CodeSigningAccountsCheckNameAvailabilityOptionalParams } from "../../models/options.js";
|
|
7
|
-
export declare function _getSend(context: Client, subscriptionId: string, resourceGroupName: string, accountName: string, options?: CodeSigningAccountsGetOptionalParams): StreamableMethod;
|
|
8
|
-
export declare function _getDeserialize(result: PathUncheckedResponse): Promise<CodeSigningAccount>;
|
|
9
|
-
/** Get a trusted Signing Account. */
|
|
10
|
-
export declare function get(context: Client, subscriptionId: string, resourceGroupName: string, accountName: string, options?: CodeSigningAccountsGetOptionalParams): Promise<CodeSigningAccount>;
|
|
11
|
-
export declare function _createSend(context: Client, subscriptionId: string, resourceGroupName: string, accountName: string, resource: CodeSigningAccount, options?: CodeSigningAccountsCreateOptionalParams): StreamableMethod;
|
|
12
|
-
export declare function _createDeserialize(result: PathUncheckedResponse): Promise<CodeSigningAccount>;
|
|
13
|
-
/** Create a trusted Signing Account. */
|
|
14
|
-
export declare function create(context: Client, subscriptionId: string, resourceGroupName: string, accountName: string, resource: CodeSigningAccount, options?: CodeSigningAccountsCreateOptionalParams): PollerLike<OperationState<CodeSigningAccount>, CodeSigningAccount>;
|
|
15
|
-
export declare function _updateSend(context: Client, subscriptionId: string, resourceGroupName: string, accountName: string, properties: CodeSigningAccountPatch, options?: CodeSigningAccountsUpdateOptionalParams): StreamableMethod;
|
|
16
|
-
export declare function _updateDeserialize(result: PathUncheckedResponse): Promise<CodeSigningAccount>;
|
|
17
|
-
/** Update a trusted signing account. */
|
|
18
|
-
export declare function update(context: Client, subscriptionId: string, resourceGroupName: string, accountName: string, properties: CodeSigningAccountPatch, options?: CodeSigningAccountsUpdateOptionalParams): PollerLike<OperationState<CodeSigningAccount>, CodeSigningAccount>;
|
|
19
|
-
export declare function _$deleteSend(context: Client, subscriptionId: string, resourceGroupName: string, accountName: string, options?: CodeSigningAccountsDeleteOptionalParams): StreamableMethod;
|
|
20
|
-
export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void>;
|
|
21
|
-
/** Delete a trusted signing account. */
|
|
22
|
-
/**
|
|
23
|
-
* @fixme delete is a reserved word that cannot be used as an operation name.
|
|
24
|
-
* Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
|
|
25
|
-
* to the operation to override the generated name.
|
|
26
|
-
*/
|
|
27
|
-
export declare function $delete(context: Client, subscriptionId: string, resourceGroupName: string, accountName: string, options?: CodeSigningAccountsDeleteOptionalParams): PollerLike<OperationState<void>, void>;
|
|
28
|
-
export declare function _listByResourceGroupSend(context: Client, subscriptionId: string, resourceGroupName: string, options?: CodeSigningAccountsListByResourceGroupOptionalParams): StreamableMethod;
|
|
29
|
-
export declare function _listByResourceGroupDeserialize(result: PathUncheckedResponse): Promise<_CodeSigningAccountListResult>;
|
|
30
|
-
/** Lists trusted signing accounts within a resource group. */
|
|
31
|
-
export declare function listByResourceGroup(context: Client, subscriptionId: string, resourceGroupName: string, options?: CodeSigningAccountsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<CodeSigningAccount>;
|
|
32
|
-
export declare function _listBySubscriptionSend(context: Client, subscriptionId: string, options?: CodeSigningAccountsListBySubscriptionOptionalParams): StreamableMethod;
|
|
33
|
-
export declare function _listBySubscriptionDeserialize(result: PathUncheckedResponse): Promise<_CodeSigningAccountListResult>;
|
|
34
|
-
/** Lists trusted signing accounts within a subscription. */
|
|
35
|
-
export declare function listBySubscription(context: Client, subscriptionId: string, options?: CodeSigningAccountsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<CodeSigningAccount>;
|
|
36
|
-
export declare function _checkNameAvailabilitySend(context: Client, subscriptionId: string, body: CheckNameAvailability, options?: CodeSigningAccountsCheckNameAvailabilityOptionalParams): StreamableMethod;
|
|
37
|
-
export declare function _checkNameAvailabilityDeserialize(result: PathUncheckedResponse): Promise<CheckNameAvailabilityResult>;
|
|
38
|
-
/** Checks that the trusted signing account name is valid and is not already in use. */
|
|
39
|
-
export declare function checkNameAvailability(context: Client, subscriptionId: string, body: CheckNameAvailability, options?: CodeSigningAccountsCheckNameAvailabilityOptionalParams): Promise<CheckNameAvailabilityResult>;
|
|
1
|
+
export { checkNameAvailability, listBySubscription, listByResourceGroup, $delete, update, create, get, } from "./operations.js";
|
|
2
|
+
export { CodeSigningAccountsCheckNameAvailabilityOptionalParams, CodeSigningAccountsListBySubscriptionOptionalParams, CodeSigningAccountsListByResourceGroupOptionalParams, CodeSigningAccountsDeleteOptionalParams, CodeSigningAccountsUpdateOptionalParams, CodeSigningAccountsCreateOptionalParams, CodeSigningAccountsGetOptionalParams, } from "./options.js";
|
|
40
3
|
//# sourceMappingURL=index.d.ts.map
|