@azure/arm-trustedsigning 1.0.0-alpha.20251014.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;AAElC,OAAO,EACL,sCAAsC,GAIvC,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAEL,mCAAmC,EAEnC,eAAe,GAChB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAEL,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAU9E,MAAM,UAAU,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,mCAAmC,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;AAC9D,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,eAAe,CAAC,MAA6B;IACjE,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QA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AAC;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,OAAO,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC","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,181 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { errorResponseDeserializer, certificateProfileSerializer, certificateProfileDeserializer, _certificateProfileListResultDeserializer, revokeCertificateSerializer, } from "../../models/models.js";
|
|
4
|
+
import { buildPagedAsyncIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
import { getLongRunningPoller } from "../../static-helpers/pollingHelpers.js";
|
|
6
|
+
import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
|
|
7
|
+
import { createRestError, operationOptionsToRequestParameters } from "@azure-rest/core-client";
|
|
8
|
+
export function _revokeCertificateSend(context, resourceGroupName, accountName, profileName, body, options = {
|
|
9
|
+
requestOptions: {},
|
|
10
|
+
}) {
|
|
11
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CodeSigning/codeSigningAccounts/{accountName}/certificateProfiles/{profileName}/revokeCertificate{?api%2Dversion}", {
|
|
12
|
+
subscriptionId: context.subscriptionId,
|
|
13
|
+
resourceGroupName: resourceGroupName,
|
|
14
|
+
accountName: accountName,
|
|
15
|
+
profileName: profileName,
|
|
16
|
+
"api%2Dversion": context.apiVersion,
|
|
17
|
+
}, {
|
|
18
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
19
|
+
});
|
|
20
|
+
return context.path(path).post({
|
|
21
|
+
...operationOptionsToRequestParameters(options),
|
|
22
|
+
contentType: "application/json",
|
|
23
|
+
body: revokeCertificateSerializer(body),
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
export async function _revokeCertificateDeserialize(result) {
|
|
27
|
+
const expectedStatuses = ["204"];
|
|
28
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
29
|
+
const error = createRestError(result);
|
|
30
|
+
error.details = errorResponseDeserializer(result.body);
|
|
31
|
+
throw error;
|
|
32
|
+
}
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
/** Revoke a certificate under a certificate profile. */
|
|
36
|
+
export async function revokeCertificate(context, resourceGroupName, accountName, profileName, body, options = {
|
|
37
|
+
requestOptions: {},
|
|
38
|
+
}) {
|
|
39
|
+
const result = await _revokeCertificateSend(context, resourceGroupName, accountName, profileName, body, options);
|
|
40
|
+
return _revokeCertificateDeserialize(result);
|
|
41
|
+
}
|
|
42
|
+
export function _listByCodeSigningAccountSend(context, resourceGroupName, accountName, options = {
|
|
43
|
+
requestOptions: {},
|
|
44
|
+
}) {
|
|
45
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CodeSigning/codeSigningAccounts/{accountName}/certificateProfiles{?api%2Dversion}", {
|
|
46
|
+
subscriptionId: context.subscriptionId,
|
|
47
|
+
resourceGroupName: resourceGroupName,
|
|
48
|
+
accountName: accountName,
|
|
49
|
+
"api%2Dversion": context.apiVersion,
|
|
50
|
+
}, {
|
|
51
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
52
|
+
});
|
|
53
|
+
return context.path(path).get({
|
|
54
|
+
...operationOptionsToRequestParameters(options),
|
|
55
|
+
headers: {
|
|
56
|
+
accept: "application/json",
|
|
57
|
+
...options.requestOptions?.headers,
|
|
58
|
+
},
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
export async function _listByCodeSigningAccountDeserialize(result) {
|
|
62
|
+
const expectedStatuses = ["200"];
|
|
63
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
64
|
+
const error = createRestError(result);
|
|
65
|
+
error.details = errorResponseDeserializer(result.body);
|
|
66
|
+
throw error;
|
|
67
|
+
}
|
|
68
|
+
return _certificateProfileListResultDeserializer(result.body);
|
|
69
|
+
}
|
|
70
|
+
/** List certificate profiles under a trusted signing account. */
|
|
71
|
+
export function listByCodeSigningAccount(context, resourceGroupName, accountName, options = {
|
|
72
|
+
requestOptions: {},
|
|
73
|
+
}) {
|
|
74
|
+
return buildPagedAsyncIterator(context, () => _listByCodeSigningAccountSend(context, resourceGroupName, accountName, options), _listByCodeSigningAccountDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
|
|
75
|
+
}
|
|
76
|
+
export function _$deleteSend(context, resourceGroupName, accountName, profileName, options = { requestOptions: {} }) {
|
|
77
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CodeSigning/codeSigningAccounts/{accountName}/certificateProfiles/{profileName}{?api%2Dversion}", {
|
|
78
|
+
subscriptionId: context.subscriptionId,
|
|
79
|
+
resourceGroupName: resourceGroupName,
|
|
80
|
+
accountName: accountName,
|
|
81
|
+
profileName: profileName,
|
|
82
|
+
"api%2Dversion": context.apiVersion,
|
|
83
|
+
}, {
|
|
84
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
85
|
+
});
|
|
86
|
+
return context.path(path).delete({ ...operationOptionsToRequestParameters(options) });
|
|
87
|
+
}
|
|
88
|
+
export async function _$deleteDeserialize(result) {
|
|
89
|
+
const expectedStatuses = ["202", "204", "200"];
|
|
90
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
91
|
+
const error = createRestError(result);
|
|
92
|
+
error.details = errorResponseDeserializer(result.body);
|
|
93
|
+
throw error;
|
|
94
|
+
}
|
|
95
|
+
return;
|
|
96
|
+
}
|
|
97
|
+
/** Delete a certificate profile. */
|
|
98
|
+
/**
|
|
99
|
+
* @fixme delete is a reserved word that cannot be used as an operation name.
|
|
100
|
+
* Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
|
|
101
|
+
* to the operation to override the generated name.
|
|
102
|
+
*/
|
|
103
|
+
export function $delete(context, resourceGroupName, accountName, profileName, options = { requestOptions: {} }) {
|
|
104
|
+
return getLongRunningPoller(context, _$deleteDeserialize, ["202", "204", "200"], {
|
|
105
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
106
|
+
abortSignal: options?.abortSignal,
|
|
107
|
+
getInitialResponse: () => _$deleteSend(context, resourceGroupName, accountName, profileName, options),
|
|
108
|
+
resourceLocationConfig: "location",
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
export function _createSend(context, resourceGroupName, accountName, profileName, resource, options = { requestOptions: {} }) {
|
|
112
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CodeSigning/codeSigningAccounts/{accountName}/certificateProfiles/{profileName}{?api%2Dversion}", {
|
|
113
|
+
subscriptionId: context.subscriptionId,
|
|
114
|
+
resourceGroupName: resourceGroupName,
|
|
115
|
+
accountName: accountName,
|
|
116
|
+
profileName: profileName,
|
|
117
|
+
"api%2Dversion": context.apiVersion,
|
|
118
|
+
}, {
|
|
119
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
120
|
+
});
|
|
121
|
+
return context.path(path).put({
|
|
122
|
+
...operationOptionsToRequestParameters(options),
|
|
123
|
+
contentType: "application/json",
|
|
124
|
+
headers: {
|
|
125
|
+
accept: "application/json",
|
|
126
|
+
...options.requestOptions?.headers,
|
|
127
|
+
},
|
|
128
|
+
body: certificateProfileSerializer(resource),
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
export async function _createDeserialize(result) {
|
|
132
|
+
const expectedStatuses = ["200", "201", "202"];
|
|
133
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
134
|
+
const error = createRestError(result);
|
|
135
|
+
error.details = errorResponseDeserializer(result.body);
|
|
136
|
+
throw error;
|
|
137
|
+
}
|
|
138
|
+
return certificateProfileDeserializer(result.body);
|
|
139
|
+
}
|
|
140
|
+
/** Create a certificate profile. */
|
|
141
|
+
export function create(context, resourceGroupName, accountName, profileName, resource, options = { requestOptions: {} }) {
|
|
142
|
+
return getLongRunningPoller(context, _createDeserialize, ["200", "201", "202"], {
|
|
143
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
144
|
+
abortSignal: options?.abortSignal,
|
|
145
|
+
getInitialResponse: () => _createSend(context, resourceGroupName, accountName, profileName, resource, options),
|
|
146
|
+
resourceLocationConfig: "azure-async-operation",
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
export function _getSend(context, resourceGroupName, accountName, profileName, options = { requestOptions: {} }) {
|
|
150
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CodeSigning/codeSigningAccounts/{accountName}/certificateProfiles/{profileName}{?api%2Dversion}", {
|
|
151
|
+
subscriptionId: context.subscriptionId,
|
|
152
|
+
resourceGroupName: resourceGroupName,
|
|
153
|
+
accountName: accountName,
|
|
154
|
+
profileName: profileName,
|
|
155
|
+
"api%2Dversion": context.apiVersion,
|
|
156
|
+
}, {
|
|
157
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
158
|
+
});
|
|
159
|
+
return context.path(path).get({
|
|
160
|
+
...operationOptionsToRequestParameters(options),
|
|
161
|
+
headers: {
|
|
162
|
+
accept: "application/json",
|
|
163
|
+
...options.requestOptions?.headers,
|
|
164
|
+
},
|
|
165
|
+
});
|
|
166
|
+
}
|
|
167
|
+
export async function _getDeserialize(result) {
|
|
168
|
+
const expectedStatuses = ["200"];
|
|
169
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
170
|
+
const error = createRestError(result);
|
|
171
|
+
error.details = errorResponseDeserializer(result.body);
|
|
172
|
+
throw error;
|
|
173
|
+
}
|
|
174
|
+
return certificateProfileDeserializer(result.body);
|
|
175
|
+
}
|
|
176
|
+
/** Get details of a certificate profile. */
|
|
177
|
+
export async function get(context, resourceGroupName, accountName, profileName, options = { requestOptions: {} }) {
|
|
178
|
+
const result = await _getSend(context, resourceGroupName, accountName, profileName, options);
|
|
179
|
+
return _getDeserialize(result);
|
|
180
|
+
}
|
|
181
|
+
//# 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;AAQlC,OAAO,EACL,yBAAyB,EACzB,4BAA4B,EAC5B,8BAA8B,EAC9B,yCAAyC,EACzC,2BAA2B,GAC5B,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,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xB,eAAe,EAAE,OAAO,CAAC,UAAU;KACpC,EACD;QACE,aAAa,EAAE,OAAO,EAAE,cAAc,EAAE,eAAe;KACxD,CACF,CAAC;IACF,OAAO,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC;QAC5B,GAAG,mCAAmC,CAAC,OAAO,CAAC;QAC/C,OAAO,EAAE;YACP,MAAM,EAAE,kBAAkB;YAC1B,GAAG,OAAO,CAAC,cAAc,EAAE,OAAO;SACnC;KACF,CAAC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,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,eAAe,CAAC,MAAM,CAAC,CAAC;QACtC,KAAK,CAAC,OAAO,GAAG,yBAAyB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACvD,MAAM,KAAK,CAAC;IACd,CAAC;IAED,OAAO,8BAA8B,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACrD,CAAC;AAED,4CAA4C;AAC5C,MAAM,CAAC,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
|