@azure/arm-chaos 2.0.0 → 2.1.0-beta.1
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/CHANGELOG.md +145 -0
- package/dist/browser/api/actionVersions/index.d.ts +3 -0
- package/dist/browser/api/actionVersions/index.js.map +1 -0
- package/dist/browser/api/actionVersions/operations.d.ts +14 -0
- package/dist/browser/api/actionVersions/operations.js +68 -0
- package/dist/browser/api/actionVersions/operations.js.map +1 -0
- package/dist/browser/api/actionVersions/options.d.ts +10 -0
- package/dist/browser/api/actionVersions/options.js.map +1 -0
- package/dist/browser/api/actions/index.d.ts +3 -0
- package/dist/browser/api/actions/index.js.map +1 -0
- package/dist/browser/api/actions/operations.d.ts +14 -0
- package/dist/browser/api/actions/operations.js +66 -0
- package/dist/browser/api/actions/operations.js.map +1 -0
- package/dist/browser/api/actions/options.d.ts +10 -0
- package/dist/browser/api/actions/options.js.map +1 -0
- package/dist/browser/api/capabilities/index.d.ts +1 -1
- package/dist/browser/api/capabilities/index.js.map +1 -1
- package/dist/browser/api/capabilities/operations.d.ts +5 -10
- package/dist/browser/api/capabilities/operations.js +32 -26
- package/dist/browser/api/capabilities/operations.js.map +1 -1
- package/dist/browser/api/capabilities/options.d.ts +1 -1
- package/dist/browser/api/capabilities/options.js.map +1 -1
- package/dist/browser/api/capabilityTypes/index.d.ts +1 -1
- package/dist/browser/api/capabilityTypes/index.js.map +1 -1
- package/dist/browser/api/capabilityTypes/operations.d.ts +5 -5
- package/dist/browser/api/capabilityTypes/operations.js +20 -12
- package/dist/browser/api/capabilityTypes/operations.js.map +1 -1
- package/dist/browser/api/capabilityTypes/options.d.ts +1 -1
- package/dist/browser/api/capabilityTypes/options.js.map +1 -1
- package/dist/browser/api/chaosManagementContext.d.ts +10 -5
- package/dist/browser/api/chaosManagementContext.js +13 -24
- package/dist/browser/api/chaosManagementContext.js.map +1 -1
- package/dist/browser/api/discoveredResources/index.d.ts +3 -0
- package/dist/browser/api/discoveredResources/index.js +4 -0
- package/dist/browser/api/discoveredResources/index.js.map +1 -0
- package/dist/browser/api/discoveredResources/operations.d.ts +14 -0
- package/dist/browser/api/discoveredResources/operations.js +67 -0
- package/dist/browser/api/discoveredResources/operations.js.map +1 -0
- package/dist/browser/api/discoveredResources/options.d.ts +8 -0
- package/dist/browser/api/discoveredResources/options.js.map +1 -0
- package/dist/browser/api/experiments/index.d.ts +1 -1
- package/dist/browser/api/experiments/index.js.map +1 -1
- package/dist/browser/api/experiments/operations.d.ts +6 -11
- package/dist/browser/api/experiments/operations.js +108 -79
- package/dist/browser/api/experiments/operations.js.map +1 -1
- package/dist/browser/api/experiments/options.d.ts +1 -1
- package/dist/browser/api/experiments/options.js.map +1 -1
- package/dist/browser/api/index.d.ts +2 -1
- package/dist/browser/api/index.js +1 -1
- package/dist/browser/api/index.js.map +1 -1
- package/dist/browser/api/operationStatuses/index.d.ts +1 -1
- package/dist/browser/api/operationStatuses/index.js.map +1 -1
- package/dist/browser/api/operationStatuses/operations.d.ts +4 -4
- package/dist/browser/api/operationStatuses/operations.js +7 -5
- package/dist/browser/api/operationStatuses/operations.js.map +1 -1
- package/dist/browser/api/operationStatuses/options.d.ts +1 -1
- package/dist/browser/api/operationStatuses/options.js.map +1 -1
- package/dist/browser/api/operations/index.d.ts +1 -1
- package/dist/browser/api/operations/index.js.map +1 -1
- package/dist/browser/api/operations/operations.d.ts +5 -5
- package/dist/browser/api/operations/operations.js +13 -7
- package/dist/browser/api/operations/operations.js.map +1 -1
- package/dist/browser/api/operations/options.d.ts +1 -1
- package/dist/browser/api/operations/options.js.map +1 -1
- package/dist/browser/api/privateAccesses/index.d.ts +3 -0
- package/dist/browser/api/privateAccesses/index.js +4 -0
- package/dist/browser/api/privateAccesses/index.js.map +1 -0
- package/dist/browser/api/privateAccesses/operations.d.ts +47 -0
- package/dist/browser/api/privateAccesses/operations.js +316 -0
- package/dist/browser/api/privateAccesses/operations.js.map +1 -0
- package/dist/browser/api/privateAccesses/options.d.ts +44 -0
- package/dist/browser/api/privateAccesses/options.js.map +1 -0
- package/dist/browser/api/scenarioConfigurations/index.d.ts +3 -0
- package/dist/browser/api/scenarioConfigurations/index.js +4 -0
- package/dist/browser/api/scenarioConfigurations/index.js.map +1 -0
- package/dist/browser/api/scenarioConfigurations/operations.d.ts +35 -0
- package/dist/browser/api/scenarioConfigurations/operations.js +236 -0
- package/dist/browser/api/scenarioConfigurations/operations.js.map +1 -0
- package/dist/browser/api/scenarioConfigurations/options.d.ts +33 -0
- package/dist/browser/api/scenarioConfigurations/options.js.map +1 -0
- package/dist/browser/api/scenarioRuns/index.d.ts +3 -0
- package/dist/browser/api/scenarioRuns/index.js +4 -0
- package/dist/browser/api/scenarioRuns/index.js.map +1 -0
- package/dist/browser/api/scenarioRuns/operations.d.ts +18 -0
- package/dist/browser/api/scenarioRuns/operations.js +96 -0
- package/dist/browser/api/scenarioRuns/operations.js.map +1 -0
- package/dist/browser/api/scenarioRuns/options.d.ts +11 -0
- package/dist/browser/api/scenarioRuns/options.js.map +1 -0
- package/dist/browser/api/scenarios/index.d.ts +3 -0
- package/dist/browser/api/scenarios/index.js +4 -0
- package/dist/browser/api/scenarios/index.js.map +1 -0
- package/dist/browser/api/scenarios/operations.d.ts +22 -0
- package/dist/browser/api/scenarios/operations.js +124 -0
- package/dist/browser/api/scenarios/operations.js.map +1 -0
- package/dist/browser/api/scenarios/options.d.ts +14 -0
- package/dist/browser/api/scenarios/options.js.map +1 -0
- package/dist/browser/api/targetTypes/index.d.ts +1 -1
- package/dist/browser/api/targetTypes/index.js.map +1 -1
- package/dist/browser/api/targetTypes/operations.d.ts +5 -5
- package/dist/browser/api/targetTypes/operations.js +20 -12
- package/dist/browser/api/targetTypes/operations.js.map +1 -1
- package/dist/browser/api/targetTypes/options.d.ts +1 -1
- package/dist/browser/api/targetTypes/options.js.map +1 -1
- package/dist/browser/api/targets/index.d.ts +1 -1
- package/dist/browser/api/targets/index.js.map +1 -1
- package/dist/browser/api/targets/operations.d.ts +5 -10
- package/dist/browser/api/targets/operations.js +31 -25
- package/dist/browser/api/targets/operations.js.map +1 -1
- package/dist/browser/api/targets/options.d.ts +1 -1
- package/dist/browser/api/targets/options.js.map +1 -1
- package/dist/browser/api/workspaces/index.d.ts +3 -0
- package/dist/browser/api/workspaces/index.js +4 -0
- package/dist/browser/api/workspaces/index.js.map +1 -0
- package/dist/browser/api/workspaces/operations.d.ts +35 -0
- package/dist/browser/api/workspaces/operations.js +227 -0
- package/dist/browser/api/workspaces/operations.js.map +1 -0
- package/dist/browser/api/workspaces/options.d.ts +35 -0
- package/dist/browser/api/workspaces/options.js +4 -0
- package/dist/browser/api/workspaces/options.js.map +1 -0
- package/dist/browser/chaosManagementClient.d.ts +42 -17
- package/dist/browser/chaosManagementClient.js +64 -12
- package/dist/browser/chaosManagementClient.js.map +1 -1
- package/dist/browser/classic/actionVersions/index.d.ts +13 -0
- package/dist/browser/classic/actionVersions/index.js +15 -0
- package/dist/browser/classic/actionVersions/index.js.map +1 -0
- package/dist/browser/classic/actions/index.d.ts +13 -0
- package/dist/browser/classic/actions/index.js +15 -0
- package/dist/browser/classic/actions/index.js.map +1 -0
- package/dist/browser/classic/capabilities/index.d.ts +4 -9
- package/dist/browser/classic/capabilities/index.js +3 -1
- package/dist/browser/classic/capabilities/index.js.map +1 -1
- package/dist/browser/classic/capabilityTypes/index.d.ts +4 -4
- package/dist/browser/classic/capabilityTypes/index.js +3 -1
- package/dist/browser/classic/capabilityTypes/index.js.map +1 -1
- package/dist/browser/classic/discoveredResources/index.d.ts +13 -0
- package/dist/browser/classic/discoveredResources/index.js +15 -0
- package/dist/browser/classic/discoveredResources/index.js.map +1 -0
- package/dist/browser/classic/experiments/index.d.ts +5 -10
- package/dist/browser/classic/experiments/index.js +3 -1
- package/dist/browser/classic/experiments/index.js.map +1 -1
- package/dist/browser/classic/index.d.ts +15 -7
- package/dist/browser/classic/index.js.map +1 -1
- package/dist/browser/classic/operationStatuses/index.d.ts +3 -3
- package/dist/browser/classic/operationStatuses/index.js +3 -1
- package/dist/browser/classic/operationStatuses/index.js.map +1 -1
- package/dist/browser/classic/operations/index.d.ts +4 -4
- package/dist/browser/classic/operations/index.js +3 -1
- package/dist/browser/classic/operations/index.js.map +1 -1
- package/dist/browser/classic/privateAccesses/index.d.ts +30 -0
- package/dist/browser/classic/privateAccesses/index.js +23 -0
- package/dist/browser/classic/privateAccesses/index.js.map +1 -0
- package/dist/browser/classic/scenarioConfigurations/index.d.ts +24 -0
- package/dist/browser/classic/scenarioConfigurations/index.js +20 -0
- package/dist/browser/classic/scenarioConfigurations/index.js.map +1 -0
- package/dist/browser/classic/scenarioRuns/index.d.ts +15 -0
- package/dist/browser/classic/scenarioRuns/index.js +16 -0
- package/dist/browser/classic/scenarioRuns/index.js.map +1 -0
- package/dist/browser/classic/scenarios/index.d.ts +17 -0
- package/dist/browser/classic/scenarios/index.js +17 -0
- package/dist/browser/classic/scenarios/index.js.map +1 -0
- package/dist/browser/classic/targetTypes/index.d.ts +4 -4
- package/dist/browser/classic/targetTypes/index.js +3 -1
- package/dist/browser/classic/targetTypes/index.js.map +1 -1
- package/dist/browser/classic/targets/index.d.ts +4 -9
- package/dist/browser/classic/targets/index.js +3 -1
- package/dist/browser/classic/targets/index.js.map +1 -1
- package/dist/browser/classic/workspaces/index.d.ts +24 -0
- package/dist/browser/classic/workspaces/index.js +20 -0
- package/dist/browser/classic/workspaces/index.js.map +1 -0
- package/dist/browser/index.d.ts +27 -13
- package/dist/browser/index.js +3 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/models/index.d.ts +2 -1
- package/dist/browser/models/index.js +1 -1
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +1456 -286
- package/dist/browser/models/models.js +1770 -600
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/restorePollerHelpers.d.ts +4 -4
- package/dist/browser/restorePollerHelpers.js +44 -22
- 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 +3 -1
- package/dist/browser/static-helpers/pagingHelpers.js +59 -53
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/browser/static-helpers/pollingHelpers.d.ts +7 -3
- package/dist/browser/static-helpers/pollingHelpers.js +33 -14
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/browser/static-helpers/urlTemplate.js +43 -12
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -1
- package/dist/commonjs/api/actionVersions/index.d.ts +3 -0
- package/dist/commonjs/api/actionVersions/index.js +30 -0
- package/dist/commonjs/api/actionVersions/index.js.map +7 -0
- package/dist/commonjs/api/actionVersions/operations.d.ts +14 -0
- package/dist/commonjs/api/actionVersions/operations.js +114 -0
- package/dist/commonjs/api/actionVersions/operations.js.map +7 -0
- package/dist/commonjs/api/actionVersions/options.d.ts +10 -0
- package/dist/commonjs/api/actionVersions/options.js +16 -0
- package/dist/commonjs/api/actionVersions/options.js.map +7 -0
- package/dist/commonjs/api/actions/index.d.ts +3 -0
- package/dist/commonjs/api/actions/index.js +30 -0
- package/dist/commonjs/api/actions/index.js.map +7 -0
- package/dist/commonjs/api/actions/operations.d.ts +14 -0
- package/dist/commonjs/api/actions/operations.js +112 -0
- package/dist/commonjs/api/actions/operations.js.map +7 -0
- package/dist/commonjs/api/actions/options.d.ts +10 -0
- package/dist/commonjs/api/actions/options.js +16 -0
- package/dist/commonjs/api/actions/options.js.map +7 -0
- package/dist/commonjs/api/capabilities/index.d.ts +1 -1
- package/dist/commonjs/api/capabilities/index.js +34 -11
- package/dist/commonjs/api/capabilities/index.js.map +7 -1
- package/dist/commonjs/api/capabilities/operations.d.ts +5 -10
- package/dist/commonjs/api/capabilities/operations.js +213 -121
- package/dist/commonjs/api/capabilities/operations.js.map +7 -1
- package/dist/commonjs/api/capabilities/options.d.ts +1 -1
- package/dist/commonjs/api/capabilities/options.js +16 -5
- package/dist/commonjs/api/capabilities/options.js.map +7 -1
- package/dist/commonjs/api/capabilityTypes/index.d.ts +1 -1
- package/dist/commonjs/api/capabilityTypes/index.js +30 -9
- package/dist/commonjs/api/capabilityTypes/index.js.map +7 -1
- package/dist/commonjs/api/capabilityTypes/operations.d.ts +5 -5
- package/dist/commonjs/api/capabilityTypes/operations.js +102 -56
- package/dist/commonjs/api/capabilityTypes/operations.js.map +7 -1
- package/dist/commonjs/api/capabilityTypes/options.d.ts +1 -1
- package/dist/commonjs/api/capabilityTypes/options.js +16 -5
- package/dist/commonjs/api/capabilityTypes/options.js.map +7 -1
- package/dist/commonjs/api/chaosManagementContext.d.ts +10 -5
- package/dist/commonjs/api/chaosManagementContext.js +43 -36
- package/dist/commonjs/api/chaosManagementContext.js.map +7 -1
- package/dist/commonjs/api/discoveredResources/index.d.ts +3 -0
- package/dist/commonjs/api/discoveredResources/index.js +30 -0
- package/dist/commonjs/api/discoveredResources/index.js.map +7 -0
- package/dist/commonjs/api/discoveredResources/operations.d.ts +14 -0
- package/dist/commonjs/api/discoveredResources/operations.js +119 -0
- package/dist/commonjs/api/discoveredResources/operations.js.map +7 -0
- package/dist/commonjs/api/discoveredResources/options.d.ts +8 -0
- package/dist/commonjs/api/discoveredResources/options.js +16 -0
- package/dist/commonjs/api/discoveredResources/options.js.map +7 -0
- package/dist/commonjs/api/experiments/index.d.ts +1 -1
- package/dist/commonjs/api/experiments/index.js +48 -18
- package/dist/commonjs/api/experiments/index.js.map +7 -1
- package/dist/commonjs/api/experiments/operations.d.ts +6 -11
- package/dist/commonjs/api/experiments/operations.js +435 -290
- package/dist/commonjs/api/experiments/operations.js.map +7 -1
- package/dist/commonjs/api/experiments/options.d.ts +1 -1
- package/dist/commonjs/api/experiments/options.js +16 -5
- package/dist/commonjs/api/experiments/options.js.map +7 -1
- package/dist/commonjs/api/index.d.ts +2 -1
- package/dist/commonjs/api/index.js +28 -8
- package/dist/commonjs/api/index.js.map +7 -1
- package/dist/commonjs/api/operationStatuses/index.d.ts +1 -1
- package/dist/commonjs/api/operationStatuses/index.js +28 -8
- package/dist/commonjs/api/operationStatuses/index.js.map +7 -1
- package/dist/commonjs/api/operationStatuses/operations.d.ts +4 -4
- package/dist/commonjs/api/operationStatuses/operations.js +59 -31
- package/dist/commonjs/api/operationStatuses/operations.js.map +7 -1
- package/dist/commonjs/api/operationStatuses/options.d.ts +1 -1
- package/dist/commonjs/api/operationStatuses/options.js +16 -5
- package/dist/commonjs/api/operationStatuses/options.js.map +7 -1
- package/dist/commonjs/api/operations/index.d.ts +1 -1
- package/dist/commonjs/api/operations/index.js +28 -8
- package/dist/commonjs/api/operations/index.js.map +7 -1
- package/dist/commonjs/api/operations/operations.d.ts +5 -5
- package/dist/commonjs/api/operations/operations.js +66 -28
- package/dist/commonjs/api/operations/operations.js.map +7 -1
- package/dist/commonjs/api/operations/options.d.ts +1 -1
- package/dist/commonjs/api/operations/options.js +16 -5
- package/dist/commonjs/api/operations/options.js.map +7 -1
- package/dist/commonjs/api/privateAccesses/index.d.ts +3 -0
- package/dist/commonjs/api/privateAccesses/index.js +46 -0
- package/dist/commonjs/api/privateAccesses/index.js.map +7 -0
- package/dist/commonjs/api/privateAccesses/operations.d.ts +47 -0
- package/dist/commonjs/api/privateAccesses/operations.js +468 -0
- package/dist/commonjs/api/privateAccesses/operations.js.map +7 -0
- package/dist/commonjs/api/privateAccesses/options.d.ts +44 -0
- package/dist/commonjs/api/privateAccesses/options.js +16 -0
- package/dist/commonjs/api/privateAccesses/options.js.map +7 -0
- package/dist/commonjs/api/scenarioConfigurations/index.d.ts +3 -0
- package/dist/commonjs/api/scenarioConfigurations/index.js +40 -0
- package/dist/commonjs/api/scenarioConfigurations/index.js.map +7 -0
- package/dist/commonjs/api/scenarioConfigurations/operations.d.ts +35 -0
- package/dist/commonjs/api/scenarioConfigurations/operations.js +368 -0
- package/dist/commonjs/api/scenarioConfigurations/operations.js.map +7 -0
- package/dist/commonjs/api/scenarioConfigurations/options.d.ts +33 -0
- package/dist/commonjs/api/scenarioConfigurations/options.js +16 -0
- package/dist/commonjs/api/scenarioConfigurations/options.js.map +7 -0
- package/dist/commonjs/api/scenarioRuns/index.d.ts +3 -0
- package/dist/commonjs/api/scenarioRuns/index.js +32 -0
- package/dist/commonjs/api/scenarioRuns/index.js.map +7 -0
- package/dist/commonjs/api/scenarioRuns/operations.d.ts +18 -0
- package/dist/commonjs/api/scenarioRuns/operations.js +165 -0
- package/dist/commonjs/api/scenarioRuns/operations.js.map +7 -0
- package/dist/commonjs/api/scenarioRuns/options.d.ts +11 -0
- package/dist/commonjs/api/scenarioRuns/options.js +16 -0
- package/dist/commonjs/api/scenarioRuns/options.js.map +7 -0
- package/dist/commonjs/api/scenarios/index.d.ts +3 -0
- package/dist/commonjs/api/scenarios/index.js +34 -0
- package/dist/commonjs/api/scenarios/index.js.map +7 -0
- package/dist/commonjs/api/scenarios/operations.d.ts +22 -0
- package/dist/commonjs/api/scenarios/operations.js +201 -0
- package/dist/commonjs/api/scenarios/operations.js.map +7 -0
- package/dist/commonjs/api/scenarios/options.d.ts +14 -0
- package/dist/commonjs/api/scenarios/options.js +16 -0
- package/dist/commonjs/api/scenarios/options.js.map +7 -0
- package/dist/commonjs/api/targetTypes/index.d.ts +1 -1
- package/dist/commonjs/api/targetTypes/index.js +30 -9
- package/dist/commonjs/api/targetTypes/index.js.map +7 -1
- package/dist/commonjs/api/targetTypes/operations.d.ts +5 -5
- package/dist/commonjs/api/targetTypes/operations.js +100 -54
- package/dist/commonjs/api/targetTypes/operations.js.map +7 -1
- package/dist/commonjs/api/targetTypes/options.d.ts +1 -1
- package/dist/commonjs/api/targetTypes/options.js +16 -5
- package/dist/commonjs/api/targetTypes/options.js.map +7 -1
- package/dist/commonjs/api/targets/index.d.ts +1 -1
- package/dist/commonjs/api/targets/index.js +34 -11
- package/dist/commonjs/api/targets/index.js.map +7 -1
- package/dist/commonjs/api/targets/operations.d.ts +5 -10
- package/dist/commonjs/api/targets/operations.js +205 -117
- package/dist/commonjs/api/targets/operations.js.map +7 -1
- package/dist/commonjs/api/targets/options.d.ts +1 -1
- package/dist/commonjs/api/targets/options.js +16 -5
- package/dist/commonjs/api/targets/options.js.map +7 -1
- package/dist/commonjs/api/workspaces/index.d.ts +3 -0
- package/dist/commonjs/api/workspaces/index.js +40 -0
- package/dist/commonjs/api/workspaces/index.js.map +7 -0
- package/dist/commonjs/api/workspaces/operations.d.ts +35 -0
- package/dist/commonjs/api/workspaces/operations.js +324 -0
- package/dist/commonjs/api/workspaces/operations.js.map +7 -0
- package/dist/commonjs/api/workspaces/options.d.ts +35 -0
- package/dist/commonjs/api/workspaces/options.js +16 -0
- package/dist/commonjs/api/workspaces/options.js.map +7 -0
- package/dist/commonjs/chaosManagementClient.d.ts +42 -17
- package/dist/commonjs/chaosManagementClient.js +101 -31
- package/dist/commonjs/chaosManagementClient.js.map +7 -1
- package/dist/commonjs/classic/actionVersions/index.d.ts +13 -0
- package/dist/commonjs/classic/actionVersions/index.js +39 -0
- package/dist/commonjs/classic/actionVersions/index.js.map +7 -0
- package/dist/commonjs/classic/actions/index.d.ts +13 -0
- package/dist/commonjs/classic/actions/index.js +39 -0
- package/dist/commonjs/classic/actions/index.js.map +7 -0
- package/dist/commonjs/classic/capabilities/index.d.ts +4 -9
- package/dist/commonjs/classic/capabilities/index.js +73 -14
- package/dist/commonjs/classic/capabilities/index.js.map +7 -1
- package/dist/commonjs/classic/capabilityTypes/index.d.ts +4 -4
- package/dist/commonjs/classic/capabilityTypes/index.js +35 -12
- package/dist/commonjs/classic/capabilityTypes/index.js.map +7 -1
- package/dist/commonjs/classic/discoveredResources/index.d.ts +13 -0
- package/dist/commonjs/classic/discoveredResources/index.js +39 -0
- package/dist/commonjs/classic/discoveredResources/index.js.map +7 -0
- package/dist/commonjs/classic/experiments/index.d.ts +5 -10
- package/dist/commonjs/classic/experiments/index.js +44 -21
- package/dist/commonjs/classic/experiments/index.js.map +7 -1
- package/dist/commonjs/classic/index.d.ts +15 -7
- package/dist/commonjs/classic/index.js +16 -5
- package/dist/commonjs/classic/index.js.map +7 -1
- package/dist/commonjs/classic/operationStatuses/index.d.ts +3 -3
- package/dist/commonjs/classic/operationStatuses/index.js +34 -11
- package/dist/commonjs/classic/operationStatuses/index.js.map +7 -1
- package/dist/commonjs/classic/operations/index.d.ts +4 -4
- package/dist/commonjs/classic/operations/index.js +34 -11
- package/dist/commonjs/classic/operations/index.js.map +7 -1
- package/dist/commonjs/classic/privateAccesses/index.d.ts +30 -0
- package/dist/commonjs/classic/privateAccesses/index.js +59 -0
- package/dist/commonjs/classic/privateAccesses/index.js.map +7 -0
- package/dist/commonjs/classic/scenarioConfigurations/index.d.ts +24 -0
- package/dist/commonjs/classic/scenarioConfigurations/index.js +87 -0
- package/dist/commonjs/classic/scenarioConfigurations/index.js.map +7 -0
- package/dist/commonjs/classic/scenarioRuns/index.d.ts +15 -0
- package/dist/commonjs/classic/scenarioRuns/index.js +40 -0
- package/dist/commonjs/classic/scenarioRuns/index.js.map +7 -0
- package/dist/commonjs/classic/scenarios/index.d.ts +17 -0
- package/dist/commonjs/classic/scenarios/index.js +41 -0
- package/dist/commonjs/classic/scenarios/index.js.map +7 -0
- package/dist/commonjs/classic/targetTypes/index.d.ts +4 -4
- package/dist/commonjs/classic/targetTypes/index.js +35 -12
- package/dist/commonjs/classic/targetTypes/index.js.map +7 -1
- package/dist/commonjs/classic/targets/index.d.ts +4 -9
- package/dist/commonjs/classic/targets/index.js +69 -14
- package/dist/commonjs/classic/targets/index.js.map +7 -1
- package/dist/commonjs/classic/workspaces/index.d.ts +24 -0
- package/dist/commonjs/classic/workspaces/index.js +44 -0
- package/dist/commonjs/classic/workspaces/index.js.map +7 -0
- package/dist/commonjs/index.d.ts +27 -13
- package/dist/commonjs/index.js +85 -21
- package/dist/commonjs/index.js.map +7 -1
- package/dist/commonjs/logger.js +29 -8
- package/dist/commonjs/logger.js.map +7 -1
- package/dist/commonjs/models/index.d.ts +2 -1
- package/dist/commonjs/models/index.js +76 -17
- package/dist/commonjs/models/index.js.map +7 -1
- package/dist/commonjs/models/models.d.ts +1456 -286
- package/dist/commonjs/models/models.js +2122 -888
- package/dist/commonjs/models/models.js.map +7 -1
- package/dist/commonjs/restorePollerHelpers.d.ts +4 -4
- package/dist/commonjs/restorePollerHelpers.js +124 -92
- package/dist/commonjs/restorePollerHelpers.js.map +7 -1
- package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js +52 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts +3 -1
- package/dist/commonjs/static-helpers/pagingHelpers.js +131 -128
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -1
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts +7 -3
- package/dist/commonjs/static-helpers/pollingHelpers.js +95 -73
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +7 -1
- package/dist/commonjs/static-helpers/urlTemplate.js +167 -142
- package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -1
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/esm/api/actionVersions/index.d.ts +3 -0
- package/dist/esm/api/actionVersions/index.js +4 -0
- package/dist/esm/api/actionVersions/index.js.map +1 -0
- package/dist/esm/api/actionVersions/operations.d.ts +14 -0
- package/dist/esm/api/actionVersions/operations.js +68 -0
- package/dist/esm/api/actionVersions/operations.js.map +1 -0
- package/dist/esm/api/actionVersions/options.d.ts +10 -0
- package/dist/esm/api/actionVersions/options.js +4 -0
- package/dist/esm/api/actionVersions/options.js.map +1 -0
- package/dist/esm/api/actions/index.d.ts +3 -0
- package/dist/esm/api/actions/index.js +4 -0
- package/dist/esm/api/actions/index.js.map +1 -0
- package/dist/esm/api/actions/operations.d.ts +14 -0
- package/dist/esm/api/actions/operations.js +66 -0
- package/dist/esm/api/actions/operations.js.map +1 -0
- package/dist/esm/api/actions/options.d.ts +10 -0
- package/dist/esm/api/actions/options.js +4 -0
- package/dist/esm/api/actions/options.js.map +1 -0
- package/dist/esm/api/capabilities/index.d.ts +1 -1
- package/dist/esm/api/capabilities/index.js.map +1 -1
- package/dist/esm/api/capabilities/operations.d.ts +5 -10
- package/dist/esm/api/capabilities/operations.js +32 -26
- package/dist/esm/api/capabilities/operations.js.map +1 -1
- package/dist/esm/api/capabilities/options.d.ts +1 -1
- package/dist/esm/api/capabilities/options.js.map +1 -1
- package/dist/esm/api/capabilityTypes/index.d.ts +1 -1
- package/dist/esm/api/capabilityTypes/index.js.map +1 -1
- package/dist/esm/api/capabilityTypes/operations.d.ts +5 -5
- package/dist/esm/api/capabilityTypes/operations.js +20 -12
- package/dist/esm/api/capabilityTypes/operations.js.map +1 -1
- package/dist/esm/api/capabilityTypes/options.d.ts +1 -1
- package/dist/esm/api/capabilityTypes/options.js.map +1 -1
- package/dist/esm/api/chaosManagementContext.d.ts +10 -5
- package/dist/esm/api/chaosManagementContext.js +13 -24
- package/dist/esm/api/chaosManagementContext.js.map +1 -1
- package/dist/esm/api/discoveredResources/index.d.ts +3 -0
- package/dist/esm/api/discoveredResources/index.js +4 -0
- package/dist/esm/api/discoveredResources/index.js.map +1 -0
- package/dist/esm/api/discoveredResources/operations.d.ts +14 -0
- package/dist/esm/api/discoveredResources/operations.js +67 -0
- package/dist/esm/api/discoveredResources/operations.js.map +1 -0
- package/dist/esm/api/discoveredResources/options.d.ts +8 -0
- package/dist/esm/api/discoveredResources/options.js +4 -0
- package/dist/esm/api/discoveredResources/options.js.map +1 -0
- package/dist/esm/api/experiments/index.d.ts +1 -1
- package/dist/esm/api/experiments/index.js.map +1 -1
- package/dist/esm/api/experiments/operations.d.ts +6 -11
- package/dist/esm/api/experiments/operations.js +108 -79
- package/dist/esm/api/experiments/operations.js.map +1 -1
- package/dist/esm/api/experiments/options.d.ts +1 -1
- package/dist/esm/api/experiments/options.js.map +1 -1
- package/dist/esm/api/index.d.ts +2 -1
- package/dist/esm/api/index.js +1 -1
- package/dist/esm/api/index.js.map +1 -1
- package/dist/esm/api/operationStatuses/index.d.ts +1 -1
- package/dist/esm/api/operationStatuses/index.js.map +1 -1
- package/dist/esm/api/operationStatuses/operations.d.ts +4 -4
- package/dist/esm/api/operationStatuses/operations.js +7 -5
- package/dist/esm/api/operationStatuses/operations.js.map +1 -1
- package/dist/esm/api/operationStatuses/options.d.ts +1 -1
- package/dist/esm/api/operationStatuses/options.js.map +1 -1
- package/dist/esm/api/operations/index.d.ts +1 -1
- package/dist/esm/api/operations/index.js.map +1 -1
- package/dist/esm/api/operations/operations.d.ts +5 -5
- package/dist/esm/api/operations/operations.js +13 -7
- package/dist/esm/api/operations/operations.js.map +1 -1
- package/dist/esm/api/operations/options.d.ts +1 -1
- package/dist/esm/api/operations/options.js.map +1 -1
- package/dist/esm/api/privateAccesses/index.d.ts +3 -0
- package/dist/esm/api/privateAccesses/index.js +4 -0
- package/dist/esm/api/privateAccesses/index.js.map +1 -0
- package/dist/esm/api/privateAccesses/operations.d.ts +47 -0
- package/dist/esm/api/privateAccesses/operations.js +316 -0
- package/dist/esm/api/privateAccesses/operations.js.map +1 -0
- package/dist/esm/api/privateAccesses/options.d.ts +44 -0
- package/dist/esm/api/privateAccesses/options.js +4 -0
- package/dist/esm/api/privateAccesses/options.js.map +1 -0
- package/dist/esm/api/scenarioConfigurations/index.d.ts +3 -0
- package/dist/esm/api/scenarioConfigurations/index.js +4 -0
- package/dist/esm/api/scenarioConfigurations/index.js.map +1 -0
- package/dist/esm/api/scenarioConfigurations/operations.d.ts +35 -0
- package/dist/esm/api/scenarioConfigurations/operations.js +236 -0
- package/dist/esm/api/scenarioConfigurations/operations.js.map +1 -0
- package/dist/esm/api/scenarioConfigurations/options.d.ts +33 -0
- package/dist/esm/api/scenarioConfigurations/options.js +4 -0
- package/dist/esm/api/scenarioConfigurations/options.js.map +1 -0
- package/dist/esm/api/scenarioRuns/index.d.ts +3 -0
- package/dist/esm/api/scenarioRuns/index.js +4 -0
- package/dist/esm/api/scenarioRuns/index.js.map +1 -0
- package/dist/esm/api/scenarioRuns/operations.d.ts +18 -0
- package/dist/esm/api/scenarioRuns/operations.js +96 -0
- package/dist/esm/api/scenarioRuns/operations.js.map +1 -0
- package/dist/esm/api/scenarioRuns/options.d.ts +11 -0
- package/dist/esm/api/scenarioRuns/options.js +4 -0
- package/dist/esm/api/scenarioRuns/options.js.map +1 -0
- package/dist/esm/api/scenarios/index.d.ts +3 -0
- package/dist/esm/api/scenarios/index.js +4 -0
- package/dist/esm/api/scenarios/index.js.map +1 -0
- package/dist/esm/api/scenarios/operations.d.ts +22 -0
- package/dist/esm/api/scenarios/operations.js +124 -0
- package/dist/esm/api/scenarios/operations.js.map +1 -0
- package/dist/esm/api/scenarios/options.d.ts +14 -0
- package/dist/esm/api/scenarios/options.js +4 -0
- package/dist/esm/api/scenarios/options.js.map +1 -0
- package/dist/esm/api/targetTypes/index.d.ts +1 -1
- package/dist/esm/api/targetTypes/index.js.map +1 -1
- package/dist/esm/api/targetTypes/operations.d.ts +5 -5
- package/dist/esm/api/targetTypes/operations.js +20 -12
- package/dist/esm/api/targetTypes/operations.js.map +1 -1
- package/dist/esm/api/targetTypes/options.d.ts +1 -1
- package/dist/esm/api/targetTypes/options.js.map +1 -1
- package/dist/esm/api/targets/index.d.ts +1 -1
- package/dist/esm/api/targets/index.js.map +1 -1
- package/dist/esm/api/targets/operations.d.ts +5 -10
- package/dist/esm/api/targets/operations.js +31 -25
- package/dist/esm/api/targets/operations.js.map +1 -1
- package/dist/esm/api/targets/options.d.ts +1 -1
- package/dist/esm/api/targets/options.js.map +1 -1
- package/dist/esm/api/workspaces/index.d.ts +3 -0
- package/dist/esm/api/workspaces/index.js +4 -0
- package/dist/esm/api/workspaces/index.js.map +1 -0
- package/dist/esm/api/workspaces/operations.d.ts +35 -0
- package/dist/esm/api/workspaces/operations.js +227 -0
- package/dist/esm/api/workspaces/operations.js.map +1 -0
- package/dist/esm/api/workspaces/options.d.ts +35 -0
- package/dist/esm/api/workspaces/options.js +4 -0
- package/dist/esm/api/workspaces/options.js.map +1 -0
- package/dist/esm/chaosManagementClient.d.ts +42 -17
- package/dist/esm/chaosManagementClient.js +64 -12
- package/dist/esm/chaosManagementClient.js.map +1 -1
- package/dist/esm/classic/actionVersions/index.d.ts +13 -0
- package/dist/esm/classic/actionVersions/index.js +15 -0
- package/dist/esm/classic/actionVersions/index.js.map +1 -0
- package/dist/esm/classic/actions/index.d.ts +13 -0
- package/dist/esm/classic/actions/index.js +15 -0
- package/dist/esm/classic/actions/index.js.map +1 -0
- package/dist/esm/classic/capabilities/index.d.ts +4 -9
- package/dist/esm/classic/capabilities/index.js +3 -1
- package/dist/esm/classic/capabilities/index.js.map +1 -1
- package/dist/esm/classic/capabilityTypes/index.d.ts +4 -4
- package/dist/esm/classic/capabilityTypes/index.js +3 -1
- package/dist/esm/classic/capabilityTypes/index.js.map +1 -1
- package/dist/esm/classic/discoveredResources/index.d.ts +13 -0
- package/dist/esm/classic/discoveredResources/index.js +15 -0
- package/dist/esm/classic/discoveredResources/index.js.map +1 -0
- package/dist/esm/classic/experiments/index.d.ts +5 -10
- package/dist/esm/classic/experiments/index.js +3 -1
- package/dist/esm/classic/experiments/index.js.map +1 -1
- package/dist/esm/classic/index.d.ts +15 -7
- package/dist/esm/classic/index.js.map +1 -1
- package/dist/esm/classic/operationStatuses/index.d.ts +3 -3
- package/dist/esm/classic/operationStatuses/index.js +3 -1
- package/dist/esm/classic/operationStatuses/index.js.map +1 -1
- package/dist/esm/classic/operations/index.d.ts +4 -4
- package/dist/esm/classic/operations/index.js +3 -1
- package/dist/esm/classic/operations/index.js.map +1 -1
- package/dist/esm/classic/privateAccesses/index.d.ts +30 -0
- package/dist/esm/classic/privateAccesses/index.js +23 -0
- package/dist/esm/classic/privateAccesses/index.js.map +1 -0
- package/dist/esm/classic/scenarioConfigurations/index.d.ts +24 -0
- package/dist/esm/classic/scenarioConfigurations/index.js +20 -0
- package/dist/esm/classic/scenarioConfigurations/index.js.map +1 -0
- package/dist/esm/classic/scenarioRuns/index.d.ts +15 -0
- package/dist/esm/classic/scenarioRuns/index.js +16 -0
- package/dist/esm/classic/scenarioRuns/index.js.map +1 -0
- package/dist/esm/classic/scenarios/index.d.ts +17 -0
- package/dist/esm/classic/scenarios/index.js +17 -0
- package/dist/esm/classic/scenarios/index.js.map +1 -0
- package/dist/esm/classic/targetTypes/index.d.ts +4 -4
- package/dist/esm/classic/targetTypes/index.js +3 -1
- package/dist/esm/classic/targetTypes/index.js.map +1 -1
- package/dist/esm/classic/targets/index.d.ts +4 -9
- package/dist/esm/classic/targets/index.js +3 -1
- package/dist/esm/classic/targets/index.js.map +1 -1
- package/dist/esm/classic/workspaces/index.d.ts +24 -0
- package/dist/esm/classic/workspaces/index.js +20 -0
- package/dist/esm/classic/workspaces/index.js.map +1 -0
- package/dist/esm/index.d.ts +27 -13
- package/dist/esm/index.js +3 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/models/index.d.ts +2 -1
- package/dist/esm/models/index.js +1 -1
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +1456 -286
- package/dist/esm/models/models.js +1770 -600
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/restorePollerHelpers.d.ts +4 -4
- package/dist/esm/restorePollerHelpers.js +44 -22
- 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 +3 -1
- package/dist/esm/static-helpers/pagingHelpers.js +59 -53
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/esm/static-helpers/pollingHelpers.d.ts +7 -3
- package/dist/esm/static-helpers/pollingHelpers.js +33 -14
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/esm/static-helpers/urlTemplate.js +43 -12
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -1
- package/package.json +193 -135
- package/review/arm-chaos-node.api.md +1508 -0
- package/dist/react-native/api/capabilities/index.d.ts +0 -3
- package/dist/react-native/api/capabilities/index.js +0 -4
- package/dist/react-native/api/capabilities/index.js.map +0 -1
- package/dist/react-native/api/capabilities/operations.d.ts +0 -27
- package/dist/react-native/api/capabilities/operations.js +0 -131
- package/dist/react-native/api/capabilities/operations.js.map +0 -1
- package/dist/react-native/api/capabilities/options.d.ts +0 -16
- package/dist/react-native/api/capabilities/options.js.map +0 -1
- package/dist/react-native/api/capabilityTypes/index.d.ts +0 -3
- package/dist/react-native/api/capabilityTypes/index.js.map +0 -1
- package/dist/react-native/api/capabilityTypes/operations.d.ts +0 -14
- package/dist/react-native/api/capabilityTypes/operations.js +0 -60
- package/dist/react-native/api/capabilityTypes/operations.js.map +0 -1
- package/dist/react-native/api/capabilityTypes/options.d.ts +0 -10
- package/dist/react-native/api/capabilityTypes/options.js.map +0 -1
- package/dist/react-native/api/chaosManagementContext.d.ts +0 -17
- package/dist/react-native/api/chaosManagementContext.js +0 -35
- package/dist/react-native/api/chaosManagementContext.js.map +0 -1
- package/dist/react-native/api/experiments/index.d.ts +0 -3
- package/dist/react-native/api/experiments/index.js +0 -4
- package/dist/react-native/api/experiments/index.js.map +0 -1
- package/dist/react-native/api/experiments/operations.d.ts +0 -56
- package/dist/react-native/api/experiments/operations.js +0 -319
- package/dist/react-native/api/experiments/operations.js.map +0 -1
- package/dist/react-native/api/experiments/options.d.ts +0 -53
- package/dist/react-native/api/experiments/options.js.map +0 -1
- package/dist/react-native/api/index.d.ts +0 -2
- package/dist/react-native/api/index.js +0 -4
- package/dist/react-native/api/index.js.map +0 -1
- package/dist/react-native/api/operationStatuses/index.d.ts +0 -3
- package/dist/react-native/api/operationStatuses/index.js +0 -4
- package/dist/react-native/api/operationStatuses/index.js.map +0 -1
- package/dist/react-native/api/operationStatuses/operations.d.ts +0 -9
- package/dist/react-native/api/operationStatuses/operations.js +0 -32
- package/dist/react-native/api/operationStatuses/operations.js.map +0 -1
- package/dist/react-native/api/operationStatuses/options.d.ts +0 -5
- package/dist/react-native/api/operationStatuses/options.js.map +0 -1
- package/dist/react-native/api/operations/index.d.ts +0 -3
- package/dist/react-native/api/operations/index.js +0 -4
- package/dist/react-native/api/operations/index.js.map +0 -1
- package/dist/react-native/api/operations/operations.d.ts +0 -10
- package/dist/react-native/api/operations/operations.js +0 -29
- package/dist/react-native/api/operations/operations.js.map +0 -1
- package/dist/react-native/api/operations/options.d.ts +0 -5
- package/dist/react-native/api/operations/options.js.map +0 -1
- package/dist/react-native/api/targetTypes/index.d.ts +0 -3
- package/dist/react-native/api/targetTypes/index.js.map +0 -1
- package/dist/react-native/api/targetTypes/operations.d.ts +0 -14
- package/dist/react-native/api/targetTypes/operations.js +0 -58
- package/dist/react-native/api/targetTypes/operations.js.map +0 -1
- package/dist/react-native/api/targetTypes/options.d.ts +0 -10
- package/dist/react-native/api/targetTypes/options.js.map +0 -1
- package/dist/react-native/api/targets/index.d.ts +0 -3
- package/dist/react-native/api/targets/index.js +0 -4
- package/dist/react-native/api/targets/index.js.map +0 -1
- package/dist/react-native/api/targets/operations.d.ts +0 -27
- package/dist/react-native/api/targets/operations.js +0 -127
- package/dist/react-native/api/targets/operations.js.map +0 -1
- package/dist/react-native/api/targets/options.d.ts +0 -16
- package/dist/react-native/api/targets/options.js.map +0 -1
- package/dist/react-native/chaosManagementClient.d.ts +0 -32
- package/dist/react-native/chaosManagementClient.js +0 -29
- package/dist/react-native/chaosManagementClient.js.map +0 -1
- package/dist/react-native/classic/capabilities/index.d.ts +0 -22
- package/dist/react-native/classic/capabilities/index.js +0 -15
- package/dist/react-native/classic/capabilities/index.js.map +0 -1
- package/dist/react-native/classic/capabilityTypes/index.d.ts +0 -13
- package/dist/react-native/classic/capabilityTypes/index.js +0 -13
- package/dist/react-native/classic/capabilityTypes/index.js.map +0 -1
- package/dist/react-native/classic/experiments/index.d.ts +0 -37
- package/dist/react-native/classic/experiments/index.js +0 -22
- package/dist/react-native/classic/experiments/index.js.map +0 -1
- package/dist/react-native/classic/index.d.ts +0 -8
- package/dist/react-native/classic/index.js +0 -4
- package/dist/react-native/classic/index.js.map +0 -1
- package/dist/react-native/classic/operationStatuses/index.d.ts +0 -10
- package/dist/react-native/classic/operationStatuses/index.js +0 -12
- package/dist/react-native/classic/operationStatuses/index.js.map +0 -1
- package/dist/react-native/classic/operations/index.d.ts +0 -11
- package/dist/react-native/classic/operations/index.js +0 -12
- package/dist/react-native/classic/operations/index.js.map +0 -1
- package/dist/react-native/classic/targetTypes/index.d.ts +0 -13
- package/dist/react-native/classic/targetTypes/index.js +0 -13
- package/dist/react-native/classic/targetTypes/index.js.map +0 -1
- package/dist/react-native/classic/targets/index.d.ts +0 -22
- package/dist/react-native/classic/targets/index.js +0 -15
- package/dist/react-native/classic/targets/index.js.map +0 -1
- package/dist/react-native/index.d.ts +0 -15
- package/dist/react-native/index.js +0 -6
- package/dist/react-native/index.js.map +0 -1
- package/dist/react-native/logger.d.ts +0 -2
- package/dist/react-native/logger.js +0 -5
- package/dist/react-native/logger.js.map +0 -1
- package/dist/react-native/models/index.d.ts +0 -2
- package/dist/react-native/models/index.js +0 -4
- package/dist/react-native/models/index.js.map +0 -1
- package/dist/react-native/models/models.d.ts +0 -772
- package/dist/react-native/models/models.js +0 -923
- package/dist/react-native/models/models.js.map +0 -1
- package/dist/react-native/package.json +0 -3
- package/dist/react-native/restorePollerHelpers.d.ts +0 -21
- package/dist/react-native/restorePollerHelpers.js +0 -100
- package/dist/react-native/restorePollerHelpers.js.map +0 -1
- package/dist/react-native/static-helpers/pagingHelpers.d.ts +0 -72
- package/dist/react-native/static-helpers/pagingHelpers.js +0 -137
- package/dist/react-native/static-helpers/pagingHelpers.js.map +0 -1
- package/dist/react-native/static-helpers/pollingHelpers.d.ts +0 -30
- package/dist/react-native/static-helpers/pollingHelpers.js +0 -76
- package/dist/react-native/static-helpers/pollingHelpers.js.map +0 -1
- package/dist/react-native/static-helpers/urlTemplate.d.ts +0 -5
- package/dist/react-native/static-helpers/urlTemplate.js +0 -169
- package/dist/react-native/static-helpers/urlTemplate.js.map +0 -1
- package/review/arm-chaos-api-capabilities.api.md +0 -41
- package/review/arm-chaos-api-capabilityTypes.api.md +0 -27
- package/review/arm-chaos-api-experiments.api.md +0 -100
- package/review/arm-chaos-api-operationStatuses.api.md +0 -19
- package/review/arm-chaos-api-operations.api.md +0 -19
- package/review/arm-chaos-api-targetTypes.api.md +0 -27
- package/review/arm-chaos-api-targets.api.md +0 -41
- package/review/arm-chaos-api.api.md +0 -27
- package/review/arm-chaos-models.api.md +0 -446
- package/review/arm-chaos.api.md +0 -666
- /package/dist/{react-native/api/capabilityTypes → browser/api/actionVersions}/index.js +0 -0
- /package/dist/{react-native/api/capabilities → browser/api/actionVersions}/options.js +0 -0
- /package/dist/{react-native/api/targetTypes → browser/api/actions}/index.js +0 -0
- /package/dist/{react-native/api/capabilityTypes → browser/api/actions}/options.js +0 -0
- /package/dist/{react-native/api/experiments → browser/api/discoveredResources}/options.js +0 -0
- /package/dist/{react-native/api/operationStatuses → browser/api/privateAccesses}/options.js +0 -0
- /package/dist/{react-native/api/operations → browser/api/scenarioConfigurations}/options.js +0 -0
- /package/dist/{react-native/api/targetTypes → browser/api/scenarioRuns}/options.js +0 -0
- /package/dist/{react-native/api/targets → browser/api/scenarios}/options.js +0 -0
|
@@ -1,77 +1,36 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
|
-
export function
|
|
3
|
+
export function capabilitySerializer(item) {
|
|
4
4
|
return {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
? item["identity"]
|
|
9
|
-
: managedServiceIdentitySerializer(item["identity"]),
|
|
10
|
-
properties: experimentPropertiesSerializer(item["properties"]),
|
|
5
|
+
properties: !item["properties"]
|
|
6
|
+
? item["properties"]
|
|
7
|
+
: capabilityPropertiesSerializer(item["properties"]),
|
|
11
8
|
};
|
|
12
9
|
}
|
|
13
|
-
export function
|
|
10
|
+
export function capabilityDeserializer(item) {
|
|
14
11
|
return {
|
|
15
|
-
tags: item["tags"],
|
|
16
|
-
location: item["location"],
|
|
17
12
|
id: item["id"],
|
|
18
13
|
name: item["name"],
|
|
19
14
|
type: item["type"],
|
|
20
15
|
systemData: !item["systemData"]
|
|
21
16
|
? item["systemData"]
|
|
22
17
|
: systemDataDeserializer(item["systemData"]),
|
|
23
|
-
|
|
24
|
-
? item["
|
|
25
|
-
:
|
|
26
|
-
properties: experimentPropertiesDeserializer(item["properties"]),
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
export function managedServiceIdentitySerializer(item) {
|
|
30
|
-
return {
|
|
31
|
-
type: item["type"],
|
|
32
|
-
userAssignedIdentities: item["userAssignedIdentities"],
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
export function managedServiceIdentityDeserializer(item) {
|
|
36
|
-
return {
|
|
37
|
-
principalId: item["principalId"],
|
|
38
|
-
tenantId: item["tenantId"],
|
|
39
|
-
type: item["type"],
|
|
40
|
-
userAssignedIdentities: item["userAssignedIdentities"],
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
/** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */
|
|
44
|
-
export var KnownManagedServiceIdentityType;
|
|
45
|
-
(function (KnownManagedServiceIdentityType) {
|
|
46
|
-
/** No managed identity. */
|
|
47
|
-
KnownManagedServiceIdentityType["None"] = "None";
|
|
48
|
-
/** System assigned managed identity. */
|
|
49
|
-
KnownManagedServiceIdentityType["SystemAssigned"] = "SystemAssigned";
|
|
50
|
-
/** User assigned managed identity. */
|
|
51
|
-
KnownManagedServiceIdentityType["UserAssigned"] = "UserAssigned";
|
|
52
|
-
/** System and user assigned managed identity. */
|
|
53
|
-
KnownManagedServiceIdentityType["SystemAssignedUserAssigned"] = "SystemAssigned,UserAssigned";
|
|
54
|
-
})(KnownManagedServiceIdentityType || (KnownManagedServiceIdentityType = {}));
|
|
55
|
-
export function userAssignedIdentitySerializer(item) {
|
|
56
|
-
return item;
|
|
57
|
-
}
|
|
58
|
-
export function userAssignedIdentityDeserializer(item) {
|
|
59
|
-
return {
|
|
60
|
-
principalId: item["principalId"],
|
|
61
|
-
clientId: item["clientId"],
|
|
18
|
+
properties: !item["properties"]
|
|
19
|
+
? item["properties"]
|
|
20
|
+
: capabilityPropertiesDeserializer(item["properties"]),
|
|
62
21
|
};
|
|
63
22
|
}
|
|
64
|
-
export function
|
|
65
|
-
return {
|
|
66
|
-
steps: chaosExperimentStepArraySerializer(item["steps"]),
|
|
67
|
-
selectors: chaosTargetSelectorUnionArraySerializer(item["selectors"]),
|
|
68
|
-
};
|
|
23
|
+
export function capabilityPropertiesSerializer(_item) {
|
|
24
|
+
return {};
|
|
69
25
|
}
|
|
70
|
-
export function
|
|
26
|
+
export function capabilityPropertiesDeserializer(item) {
|
|
71
27
|
return {
|
|
28
|
+
publisher: item["publisher"],
|
|
29
|
+
targetType: item["targetType"],
|
|
30
|
+
description: item["description"],
|
|
31
|
+
parametersSchema: item["parametersSchema"],
|
|
32
|
+
urn: item["urn"],
|
|
72
33
|
provisioningState: item["provisioningState"],
|
|
73
|
-
steps: chaosExperimentStepArrayDeserializer(item["steps"]),
|
|
74
|
-
selectors: chaosTargetSelectorUnionArrayDeserializer(item["selectors"]),
|
|
75
34
|
};
|
|
76
35
|
}
|
|
77
36
|
/** Current provisioning state for a given Azure Chaos resource. */
|
|
@@ -89,347 +48,1350 @@ export var KnownProvisioningState;
|
|
|
89
48
|
KnownProvisioningState["Updating"] = "Updating";
|
|
90
49
|
/** Deletion in progress. */
|
|
91
50
|
KnownProvisioningState["Deleting"] = "Deleting";
|
|
51
|
+
/** Action is running. */
|
|
52
|
+
KnownProvisioningState["Running"] = "Running";
|
|
92
53
|
})(KnownProvisioningState || (KnownProvisioningState = {}));
|
|
93
|
-
export function
|
|
94
|
-
return
|
|
95
|
-
return chaosExperimentStepSerializer(item);
|
|
96
|
-
});
|
|
54
|
+
export function proxyResourceSerializer(_item) {
|
|
55
|
+
return {};
|
|
97
56
|
}
|
|
98
|
-
export function
|
|
99
|
-
return result.map((item) => {
|
|
100
|
-
return chaosExperimentStepDeserializer(item);
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
export function chaosExperimentStepSerializer(item) {
|
|
57
|
+
export function proxyResourceDeserializer(item) {
|
|
104
58
|
return {
|
|
59
|
+
id: item["id"],
|
|
105
60
|
name: item["name"],
|
|
106
|
-
|
|
61
|
+
type: item["type"],
|
|
62
|
+
systemData: !item["systemData"]
|
|
63
|
+
? item["systemData"]
|
|
64
|
+
: systemDataDeserializer(item["systemData"]),
|
|
107
65
|
};
|
|
108
66
|
}
|
|
109
|
-
export function
|
|
67
|
+
export function resourceSerializer(_item) {
|
|
68
|
+
return {};
|
|
69
|
+
}
|
|
70
|
+
export function resourceDeserializer(item) {
|
|
110
71
|
return {
|
|
72
|
+
id: item["id"],
|
|
111
73
|
name: item["name"],
|
|
112
|
-
|
|
74
|
+
type: item["type"],
|
|
75
|
+
systemData: !item["systemData"]
|
|
76
|
+
? item["systemData"]
|
|
77
|
+
: systemDataDeserializer(item["systemData"]),
|
|
113
78
|
};
|
|
114
79
|
}
|
|
115
|
-
export function
|
|
116
|
-
return
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
80
|
+
export function systemDataDeserializer(item) {
|
|
81
|
+
return {
|
|
82
|
+
createdBy: item["createdBy"],
|
|
83
|
+
createdByType: item["createdByType"],
|
|
84
|
+
createdAt: !item["createdAt"] ? item["createdAt"] : new Date(item["createdAt"]),
|
|
85
|
+
lastModifiedBy: item["lastModifiedBy"],
|
|
86
|
+
lastModifiedByType: item["lastModifiedByType"],
|
|
87
|
+
lastModifiedAt: !item["lastModifiedAt"]
|
|
88
|
+
? item["lastModifiedAt"]
|
|
89
|
+
: new Date(item["lastModifiedAt"]),
|
|
90
|
+
};
|
|
124
91
|
}
|
|
125
|
-
|
|
92
|
+
/** The kind of entity that created the resource. */
|
|
93
|
+
export var KnownCreatedByType;
|
|
94
|
+
(function (KnownCreatedByType) {
|
|
95
|
+
/** The entity was created by a user. */
|
|
96
|
+
KnownCreatedByType["User"] = "User";
|
|
97
|
+
/** The entity was created by an application. */
|
|
98
|
+
KnownCreatedByType["Application"] = "Application";
|
|
99
|
+
/** The entity was created by a managed identity. */
|
|
100
|
+
KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
|
|
101
|
+
/** The entity was created by a key. */
|
|
102
|
+
KnownCreatedByType["Key"] = "Key";
|
|
103
|
+
})(KnownCreatedByType || (KnownCreatedByType = {}));
|
|
104
|
+
export function errorResponseDeserializer(item) {
|
|
126
105
|
return {
|
|
127
|
-
|
|
128
|
-
actions: chaosExperimentActionUnionArraySerializer(item["actions"]),
|
|
106
|
+
error: !item["error"] ? item["error"] : errorDetailDeserializer(item["error"]),
|
|
129
107
|
};
|
|
130
108
|
}
|
|
131
|
-
export function
|
|
109
|
+
export function errorDetailDeserializer(item) {
|
|
132
110
|
return {
|
|
133
|
-
|
|
134
|
-
|
|
111
|
+
code: item["code"],
|
|
112
|
+
message: item["message"],
|
|
113
|
+
target: item["target"],
|
|
114
|
+
details: !item["details"] ? item["details"] : errorDetailArrayDeserializer(item["details"]),
|
|
115
|
+
additionalInfo: !item["additionalInfo"]
|
|
116
|
+
? item["additionalInfo"]
|
|
117
|
+
: errorAdditionalInfoArrayDeserializer(item["additionalInfo"]),
|
|
135
118
|
};
|
|
136
119
|
}
|
|
137
|
-
export function
|
|
120
|
+
export function errorDetailArrayDeserializer(result) {
|
|
138
121
|
return result.map((item) => {
|
|
139
|
-
return
|
|
122
|
+
return errorDetailDeserializer(item);
|
|
140
123
|
});
|
|
141
124
|
}
|
|
142
|
-
export function
|
|
125
|
+
export function errorAdditionalInfoArrayDeserializer(result) {
|
|
143
126
|
return result.map((item) => {
|
|
144
|
-
return
|
|
127
|
+
return errorAdditionalInfoDeserializer(item);
|
|
145
128
|
});
|
|
146
129
|
}
|
|
147
|
-
export function
|
|
148
|
-
return { name: item["name"], type: item["type"] };
|
|
149
|
-
}
|
|
150
|
-
export function chaosExperimentActionDeserializer(item) {
|
|
151
|
-
return {
|
|
152
|
-
name: item["name"],
|
|
153
|
-
type: item["type"],
|
|
154
|
-
};
|
|
155
|
-
}
|
|
156
|
-
export function chaosExperimentActionUnionSerializer(item) {
|
|
157
|
-
switch (item.type) {
|
|
158
|
-
case "continuous":
|
|
159
|
-
return continuousActionSerializer(item);
|
|
160
|
-
case "delay":
|
|
161
|
-
return delayActionSerializer(item);
|
|
162
|
-
case "discrete":
|
|
163
|
-
return discreteActionSerializer(item);
|
|
164
|
-
default:
|
|
165
|
-
return chaosExperimentActionSerializer(item);
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
export function chaosExperimentActionUnionDeserializer(item) {
|
|
169
|
-
switch (item.type) {
|
|
170
|
-
case "continuous":
|
|
171
|
-
return continuousActionDeserializer(item);
|
|
172
|
-
case "delay":
|
|
173
|
-
return delayActionDeserializer(item);
|
|
174
|
-
case "discrete":
|
|
175
|
-
return discreteActionDeserializer(item);
|
|
176
|
-
default:
|
|
177
|
-
return chaosExperimentActionDeserializer(item);
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
/** Enum union of Chaos experiment action types. */
|
|
181
|
-
export var KnownExperimentActionType;
|
|
182
|
-
(function (KnownExperimentActionType) {
|
|
183
|
-
KnownExperimentActionType["Delay"] = "delay";
|
|
184
|
-
KnownExperimentActionType["Discrete"] = "discrete";
|
|
185
|
-
KnownExperimentActionType["Continuous"] = "continuous";
|
|
186
|
-
})(KnownExperimentActionType || (KnownExperimentActionType = {}));
|
|
187
|
-
export function continuousActionSerializer(item) {
|
|
130
|
+
export function errorAdditionalInfoDeserializer(item) {
|
|
188
131
|
return {
|
|
189
|
-
name: item["name"],
|
|
190
132
|
type: item["type"],
|
|
191
|
-
|
|
192
|
-
parameters: keyValuePairArraySerializer(item["parameters"]),
|
|
193
|
-
selectorId: item["selectorId"],
|
|
133
|
+
info: item["info"],
|
|
194
134
|
};
|
|
195
135
|
}
|
|
196
|
-
export function
|
|
136
|
+
export function _capabilityListResultDeserializer(item) {
|
|
197
137
|
return {
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
duration: item["duration"],
|
|
201
|
-
parameters: keyValuePairArrayDeserializer(item["parameters"]),
|
|
202
|
-
selectorId: item["selectorId"],
|
|
138
|
+
value: capabilityArrayDeserializer(item["value"]),
|
|
139
|
+
nextLink: item["nextLink"],
|
|
203
140
|
};
|
|
204
141
|
}
|
|
205
|
-
export function
|
|
142
|
+
export function capabilityArraySerializer(result) {
|
|
206
143
|
return result.map((item) => {
|
|
207
|
-
return
|
|
144
|
+
return capabilitySerializer(item);
|
|
208
145
|
});
|
|
209
146
|
}
|
|
210
|
-
export function
|
|
147
|
+
export function capabilityArrayDeserializer(result) {
|
|
211
148
|
return result.map((item) => {
|
|
212
|
-
return
|
|
149
|
+
return capabilityDeserializer(item);
|
|
213
150
|
});
|
|
214
151
|
}
|
|
215
|
-
export function
|
|
216
|
-
return { key: item["key"], value: item["value"] };
|
|
217
|
-
}
|
|
218
|
-
export function keyValuePairDeserializer(item) {
|
|
152
|
+
export function _operationListResultDeserializer(item) {
|
|
219
153
|
return {
|
|
220
|
-
|
|
221
|
-
|
|
154
|
+
value: operationArrayDeserializer(item["value"]),
|
|
155
|
+
nextLink: item["nextLink"],
|
|
222
156
|
};
|
|
223
157
|
}
|
|
224
|
-
export function
|
|
225
|
-
return
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
return {
|
|
229
|
-
name: item["name"],
|
|
230
|
-
type: item["type"],
|
|
231
|
-
duration: item["duration"],
|
|
232
|
-
};
|
|
158
|
+
export function operationArrayDeserializer(result) {
|
|
159
|
+
return result.map((item) => {
|
|
160
|
+
return operationDeserializer(item);
|
|
161
|
+
});
|
|
233
162
|
}
|
|
234
|
-
export function
|
|
163
|
+
export function operationDeserializer(item) {
|
|
235
164
|
return {
|
|
236
165
|
name: item["name"],
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
166
|
+
isDataAction: item["isDataAction"],
|
|
167
|
+
display: !item["display"] ? item["display"] : operationDisplayDeserializer(item["display"]),
|
|
168
|
+
origin: item["origin"],
|
|
169
|
+
actionType: item["actionType"],
|
|
240
170
|
};
|
|
241
171
|
}
|
|
242
|
-
export function
|
|
172
|
+
export function operationDisplayDeserializer(item) {
|
|
243
173
|
return {
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
174
|
+
provider: item["provider"],
|
|
175
|
+
resource: item["resource"],
|
|
176
|
+
operation: item["operation"],
|
|
177
|
+
description: item["description"],
|
|
248
178
|
};
|
|
249
179
|
}
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
180
|
+
/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" */
|
|
181
|
+
export var KnownOrigin;
|
|
182
|
+
(function (KnownOrigin) {
|
|
183
|
+
/** Indicates the operation is initiated by a user. */
|
|
184
|
+
KnownOrigin["User"] = "user";
|
|
185
|
+
/** Indicates the operation is initiated by a system. */
|
|
186
|
+
KnownOrigin["System"] = "system";
|
|
187
|
+
/** Indicates the operation is initiated by a user or system. */
|
|
188
|
+
KnownOrigin["UserSystem"] = "user,system";
|
|
189
|
+
})(KnownOrigin || (KnownOrigin = {}));
|
|
190
|
+
/** Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. */
|
|
191
|
+
export var KnownActionType;
|
|
192
|
+
(function (KnownActionType) {
|
|
193
|
+
/** Actions are for internal-only APIs. */
|
|
194
|
+
KnownActionType["Internal"] = "Internal";
|
|
195
|
+
})(KnownActionType || (KnownActionType = {}));
|
|
196
|
+
export function targetSerializer(item) {
|
|
197
|
+
return { properties: item["properties"], location: item["location"] };
|
|
198
|
+
}
|
|
199
|
+
export function targetDeserializer(item) {
|
|
200
|
+
return {
|
|
201
|
+
id: item["id"],
|
|
202
|
+
name: item["name"],
|
|
203
|
+
type: item["type"],
|
|
204
|
+
systemData: !item["systemData"]
|
|
205
|
+
? item["systemData"]
|
|
206
|
+
: systemDataDeserializer(item["systemData"]),
|
|
207
|
+
properties: Object.fromEntries(Object.entries(item["properties"]).map(([k, p]) => [k, p])),
|
|
208
|
+
location: item["location"],
|
|
209
|
+
};
|
|
210
|
+
}
|
|
211
|
+
export function _targetListResultDeserializer(item) {
|
|
212
|
+
return {
|
|
213
|
+
value: targetArrayDeserializer(item["value"]),
|
|
214
|
+
nextLink: item["nextLink"],
|
|
215
|
+
};
|
|
216
|
+
}
|
|
217
|
+
export function targetArraySerializer(result) {
|
|
218
|
+
return result.map((item) => {
|
|
219
|
+
return targetSerializer(item);
|
|
220
|
+
});
|
|
221
|
+
}
|
|
222
|
+
export function targetArrayDeserializer(result) {
|
|
223
|
+
return result.map((item) => {
|
|
224
|
+
return targetDeserializer(item);
|
|
225
|
+
});
|
|
226
|
+
}
|
|
227
|
+
export function capabilityTypeDeserializer(item) {
|
|
228
|
+
return {
|
|
229
|
+
id: item["id"],
|
|
230
|
+
name: item["name"],
|
|
231
|
+
type: item["type"],
|
|
232
|
+
systemData: !item["systemData"]
|
|
233
|
+
? item["systemData"]
|
|
234
|
+
: systemDataDeserializer(item["systemData"]),
|
|
235
|
+
properties: !item["properties"]
|
|
236
|
+
? item["properties"]
|
|
237
|
+
: capabilityTypePropertiesDeserializer(item["properties"]),
|
|
238
|
+
};
|
|
239
|
+
}
|
|
240
|
+
export function capabilityTypePropertiesDeserializer(item) {
|
|
241
|
+
return {
|
|
242
|
+
publisher: item["publisher"],
|
|
243
|
+
targetType: item["targetType"],
|
|
244
|
+
displayName: item["displayName"],
|
|
245
|
+
description: item["description"],
|
|
246
|
+
parametersSchema: item["parametersSchema"],
|
|
247
|
+
urn: item["urn"],
|
|
248
|
+
kind: item["kind"],
|
|
249
|
+
azureRbacActions: !item["azureRbacActions"]
|
|
250
|
+
? item["azureRbacActions"]
|
|
251
|
+
: item["azureRbacActions"].map((p) => {
|
|
252
|
+
return p;
|
|
253
|
+
}),
|
|
254
|
+
azureRbacDataActions: !item["azureRbacDataActions"]
|
|
255
|
+
? item["azureRbacDataActions"]
|
|
256
|
+
: item["azureRbacDataActions"].map((p) => {
|
|
257
|
+
return p;
|
|
258
|
+
}),
|
|
259
|
+
requiredAzureRoleDefinitionIds: !item["requiredAzureRoleDefinitionIds"]
|
|
260
|
+
? item["requiredAzureRoleDefinitionIds"]
|
|
261
|
+
: item["requiredAzureRoleDefinitionIds"].map((p) => {
|
|
262
|
+
return p;
|
|
263
|
+
}),
|
|
264
|
+
runtimeProperties: !item["runtimeProperties"]
|
|
265
|
+
? item["runtimeProperties"]
|
|
266
|
+
: capabilityTypePropertiesRuntimePropertiesDeserializer(item["runtimeProperties"]),
|
|
267
|
+
};
|
|
268
|
+
}
|
|
269
|
+
export function capabilityTypePropertiesRuntimePropertiesDeserializer(item) {
|
|
270
|
+
return {
|
|
271
|
+
kind: item["kind"],
|
|
272
|
+
};
|
|
273
|
+
}
|
|
274
|
+
export function _capabilityTypeListResultDeserializer(item) {
|
|
275
|
+
return {
|
|
276
|
+
value: capabilityTypeArrayDeserializer(item["value"]),
|
|
277
|
+
nextLink: item["nextLink"],
|
|
278
|
+
};
|
|
279
|
+
}
|
|
280
|
+
export function capabilityTypeArrayDeserializer(result) {
|
|
281
|
+
return result.map((item) => {
|
|
282
|
+
return capabilityTypeDeserializer(item);
|
|
283
|
+
});
|
|
284
|
+
}
|
|
285
|
+
export function experimentSerializer(item) {
|
|
286
|
+
return {
|
|
287
|
+
tags: item["tags"],
|
|
288
|
+
location: item["location"],
|
|
289
|
+
identity: !item["identity"]
|
|
290
|
+
? item["identity"]
|
|
291
|
+
: managedServiceIdentitySerializer(item["identity"]),
|
|
292
|
+
properties: experimentPropertiesSerializer(item["properties"]),
|
|
293
|
+
};
|
|
294
|
+
}
|
|
295
|
+
export function experimentDeserializer(item) {
|
|
296
|
+
return {
|
|
297
|
+
tags: !item["tags"]
|
|
298
|
+
? item["tags"]
|
|
299
|
+
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
300
|
+
location: item["location"],
|
|
301
|
+
id: item["id"],
|
|
302
|
+
name: item["name"],
|
|
303
|
+
type: item["type"],
|
|
304
|
+
systemData: !item["systemData"]
|
|
305
|
+
? item["systemData"]
|
|
306
|
+
: systemDataDeserializer(item["systemData"]),
|
|
307
|
+
identity: !item["identity"]
|
|
308
|
+
? item["identity"]
|
|
309
|
+
: managedServiceIdentityDeserializer(item["identity"]),
|
|
310
|
+
properties: experimentPropertiesDeserializer(item["properties"]),
|
|
311
|
+
};
|
|
312
|
+
}
|
|
313
|
+
export function managedServiceIdentitySerializer(item) {
|
|
314
|
+
return { type: item["type"], userAssignedIdentities: item["userAssignedIdentities"] };
|
|
315
|
+
}
|
|
316
|
+
export function managedServiceIdentityDeserializer(item) {
|
|
317
|
+
return {
|
|
318
|
+
principalId: item["principalId"],
|
|
319
|
+
tenantId: item["tenantId"],
|
|
320
|
+
type: item["type"],
|
|
321
|
+
userAssignedIdentities: !item["userAssignedIdentities"]
|
|
322
|
+
? item["userAssignedIdentities"]
|
|
323
|
+
: Object.fromEntries(Object.entries(item["userAssignedIdentities"]).map(([k, p]) => [
|
|
324
|
+
k,
|
|
325
|
+
!p ? p : userAssignedIdentityDeserializer(p),
|
|
326
|
+
])),
|
|
327
|
+
};
|
|
328
|
+
}
|
|
329
|
+
/** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */
|
|
330
|
+
export var KnownManagedServiceIdentityType;
|
|
331
|
+
(function (KnownManagedServiceIdentityType) {
|
|
332
|
+
/** No managed identity. */
|
|
333
|
+
KnownManagedServiceIdentityType["None"] = "None";
|
|
334
|
+
/** System assigned managed identity. */
|
|
335
|
+
KnownManagedServiceIdentityType["SystemAssigned"] = "SystemAssigned";
|
|
336
|
+
/** User assigned managed identity. */
|
|
337
|
+
KnownManagedServiceIdentityType["UserAssigned"] = "UserAssigned";
|
|
338
|
+
/** System and user assigned managed identity. */
|
|
339
|
+
KnownManagedServiceIdentityType["SystemAssignedUserAssigned"] = "SystemAssigned,UserAssigned";
|
|
340
|
+
})(KnownManagedServiceIdentityType || (KnownManagedServiceIdentityType = {}));
|
|
341
|
+
export function userAssignedIdentitySerializer(_item) {
|
|
342
|
+
return {};
|
|
343
|
+
}
|
|
344
|
+
export function userAssignedIdentityDeserializer(item) {
|
|
345
|
+
return {
|
|
346
|
+
principalId: item["principalId"],
|
|
347
|
+
clientId: item["clientId"],
|
|
348
|
+
};
|
|
349
|
+
}
|
|
350
|
+
export function experimentPropertiesSerializer(item) {
|
|
351
|
+
return {
|
|
352
|
+
steps: chaosExperimentStepArraySerializer(item["steps"]),
|
|
353
|
+
selectors: chaosTargetSelectorUnionArraySerializer(item["selectors"]),
|
|
354
|
+
customerDataStorage: !item["customerDataStorage"]
|
|
355
|
+
? item["customerDataStorage"]
|
|
356
|
+
: customerDataStoragePropertiesSerializer(item["customerDataStorage"]),
|
|
357
|
+
};
|
|
358
|
+
}
|
|
359
|
+
export function experimentPropertiesDeserializer(item) {
|
|
360
|
+
return {
|
|
361
|
+
provisioningState: item["provisioningState"],
|
|
362
|
+
steps: chaosExperimentStepArrayDeserializer(item["steps"]),
|
|
363
|
+
selectors: chaosTargetSelectorUnionArrayDeserializer(item["selectors"]),
|
|
364
|
+
customerDataStorage: !item["customerDataStorage"]
|
|
365
|
+
? item["customerDataStorage"]
|
|
366
|
+
: customerDataStoragePropertiesDeserializer(item["customerDataStorage"]),
|
|
367
|
+
};
|
|
368
|
+
}
|
|
369
|
+
export function chaosExperimentStepArraySerializer(result) {
|
|
370
|
+
return result.map((item) => {
|
|
371
|
+
return chaosExperimentStepSerializer(item);
|
|
372
|
+
});
|
|
373
|
+
}
|
|
374
|
+
export function chaosExperimentStepArrayDeserializer(result) {
|
|
375
|
+
return result.map((item) => {
|
|
376
|
+
return chaosExperimentStepDeserializer(item);
|
|
377
|
+
});
|
|
378
|
+
}
|
|
379
|
+
export function chaosExperimentStepSerializer(item) {
|
|
380
|
+
return { name: item["name"], branches: chaosExperimentBranchArraySerializer(item["branches"]) };
|
|
381
|
+
}
|
|
382
|
+
export function chaosExperimentStepDeserializer(item) {
|
|
383
|
+
return {
|
|
384
|
+
name: item["name"],
|
|
385
|
+
branches: chaosExperimentBranchArrayDeserializer(item["branches"]),
|
|
386
|
+
};
|
|
387
|
+
}
|
|
388
|
+
export function chaosExperimentBranchArraySerializer(result) {
|
|
389
|
+
return result.map((item) => {
|
|
390
|
+
return chaosExperimentBranchSerializer(item);
|
|
391
|
+
});
|
|
392
|
+
}
|
|
393
|
+
export function chaosExperimentBranchArrayDeserializer(result) {
|
|
394
|
+
return result.map((item) => {
|
|
395
|
+
return chaosExperimentBranchDeserializer(item);
|
|
396
|
+
});
|
|
397
|
+
}
|
|
398
|
+
export function chaosExperimentBranchSerializer(item) {
|
|
399
|
+
return {
|
|
400
|
+
name: item["name"],
|
|
401
|
+
actions: chaosExperimentActionUnionArraySerializer(item["actions"]),
|
|
402
|
+
};
|
|
403
|
+
}
|
|
404
|
+
export function chaosExperimentBranchDeserializer(item) {
|
|
405
|
+
return {
|
|
406
|
+
name: item["name"],
|
|
407
|
+
actions: chaosExperimentActionUnionArrayDeserializer(item["actions"]),
|
|
408
|
+
};
|
|
409
|
+
}
|
|
410
|
+
export function chaosExperimentActionUnionArraySerializer(result) {
|
|
411
|
+
return result.map((item) => {
|
|
412
|
+
return chaosExperimentActionUnionSerializer(item);
|
|
413
|
+
});
|
|
414
|
+
}
|
|
415
|
+
export function chaosExperimentActionUnionArrayDeserializer(result) {
|
|
416
|
+
return result.map((item) => {
|
|
417
|
+
return chaosExperimentActionUnionDeserializer(item);
|
|
418
|
+
});
|
|
419
|
+
}
|
|
420
|
+
export function chaosExperimentActionSerializer(item) {
|
|
421
|
+
return { name: item["name"], type: item["type"] };
|
|
422
|
+
}
|
|
423
|
+
export function chaosExperimentActionDeserializer(item) {
|
|
424
|
+
return {
|
|
425
|
+
name: item["name"],
|
|
426
|
+
type: item["type"],
|
|
427
|
+
};
|
|
428
|
+
}
|
|
429
|
+
export function chaosExperimentActionUnionSerializer(item) {
|
|
430
|
+
switch (item.type) {
|
|
431
|
+
case "continuous":
|
|
432
|
+
return continuousActionSerializer(item);
|
|
433
|
+
case "delay":
|
|
434
|
+
return delayActionSerializer(item);
|
|
435
|
+
case "discrete":
|
|
436
|
+
return discreteActionSerializer(item);
|
|
437
|
+
default:
|
|
438
|
+
return chaosExperimentActionSerializer(item);
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
export function chaosExperimentActionUnionDeserializer(item) {
|
|
442
|
+
switch (item["type"]) {
|
|
443
|
+
case "continuous":
|
|
444
|
+
return continuousActionDeserializer(item);
|
|
445
|
+
case "delay":
|
|
446
|
+
return delayActionDeserializer(item);
|
|
447
|
+
case "discrete":
|
|
448
|
+
return discreteActionDeserializer(item);
|
|
449
|
+
default:
|
|
450
|
+
return chaosExperimentActionDeserializer(item);
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
/** Enum union of Chaos experiment action types. */
|
|
454
|
+
export var KnownExperimentActionType;
|
|
455
|
+
(function (KnownExperimentActionType) {
|
|
456
|
+
/** delay */
|
|
457
|
+
KnownExperimentActionType["Delay"] = "delay";
|
|
458
|
+
/** discrete */
|
|
459
|
+
KnownExperimentActionType["Discrete"] = "discrete";
|
|
460
|
+
/** continuous */
|
|
461
|
+
KnownExperimentActionType["Continuous"] = "continuous";
|
|
462
|
+
})(KnownExperimentActionType || (KnownExperimentActionType = {}));
|
|
463
|
+
export function continuousActionSerializer(item) {
|
|
464
|
+
return {
|
|
465
|
+
name: item["name"],
|
|
466
|
+
type: item["type"],
|
|
467
|
+
duration: item["duration"],
|
|
468
|
+
parameters: keyValuePairArraySerializer(item["parameters"]),
|
|
469
|
+
selectorId: item["selectorId"],
|
|
470
|
+
};
|
|
471
|
+
}
|
|
472
|
+
export function continuousActionDeserializer(item) {
|
|
473
|
+
return {
|
|
474
|
+
name: item["name"],
|
|
475
|
+
type: item["type"],
|
|
476
|
+
duration: item["duration"],
|
|
477
|
+
parameters: keyValuePairArrayDeserializer(item["parameters"]),
|
|
478
|
+
selectorId: item["selectorId"],
|
|
479
|
+
};
|
|
480
|
+
}
|
|
481
|
+
export function keyValuePairArraySerializer(result) {
|
|
482
|
+
return result.map((item) => {
|
|
483
|
+
return keyValuePairSerializer(item);
|
|
484
|
+
});
|
|
485
|
+
}
|
|
486
|
+
export function keyValuePairArrayDeserializer(result) {
|
|
487
|
+
return result.map((item) => {
|
|
488
|
+
return keyValuePairDeserializer(item);
|
|
489
|
+
});
|
|
490
|
+
}
|
|
491
|
+
export function keyValuePairSerializer(item) {
|
|
492
|
+
return { key: item["key"], value: item["value"] };
|
|
493
|
+
}
|
|
494
|
+
export function keyValuePairDeserializer(item) {
|
|
495
|
+
return {
|
|
496
|
+
key: item["key"],
|
|
497
|
+
value: item["value"],
|
|
498
|
+
};
|
|
499
|
+
}
|
|
500
|
+
export function delayActionSerializer(item) {
|
|
501
|
+
return { name: item["name"], type: item["type"], duration: item["duration"] };
|
|
502
|
+
}
|
|
503
|
+
export function delayActionDeserializer(item) {
|
|
504
|
+
return {
|
|
505
|
+
name: item["name"],
|
|
506
|
+
type: item["type"],
|
|
507
|
+
duration: item["duration"],
|
|
508
|
+
};
|
|
509
|
+
}
|
|
510
|
+
export function discreteActionSerializer(item) {
|
|
511
|
+
return {
|
|
512
|
+
name: item["name"],
|
|
513
|
+
type: item["type"],
|
|
514
|
+
parameters: keyValuePairArraySerializer(item["parameters"]),
|
|
515
|
+
selectorId: item["selectorId"],
|
|
516
|
+
};
|
|
517
|
+
}
|
|
518
|
+
export function discreteActionDeserializer(item) {
|
|
519
|
+
return {
|
|
520
|
+
name: item["name"],
|
|
521
|
+
type: item["type"],
|
|
522
|
+
parameters: keyValuePairArrayDeserializer(item["parameters"]),
|
|
523
|
+
selectorId: item["selectorId"],
|
|
524
|
+
};
|
|
525
|
+
}
|
|
526
|
+
export function chaosTargetSelectorUnionArraySerializer(result) {
|
|
527
|
+
return result.map((item) => {
|
|
528
|
+
return chaosTargetSelectorUnionSerializer(item);
|
|
529
|
+
});
|
|
530
|
+
}
|
|
531
|
+
export function chaosTargetSelectorUnionArrayDeserializer(result) {
|
|
532
|
+
return result.map((item) => {
|
|
533
|
+
return chaosTargetSelectorUnionDeserializer(item);
|
|
534
|
+
});
|
|
535
|
+
}
|
|
536
|
+
export function chaosTargetSelectorSerializer(item) {
|
|
537
|
+
return {
|
|
538
|
+
id: item["id"],
|
|
539
|
+
type: item["type"],
|
|
540
|
+
filter: !item["filter"] ? item["filter"] : chaosTargetFilterUnionSerializer(item["filter"]),
|
|
541
|
+
};
|
|
542
|
+
}
|
|
543
|
+
export function chaosTargetSelectorDeserializer(item) {
|
|
544
|
+
return {
|
|
545
|
+
id: item["id"],
|
|
546
|
+
type: item["type"],
|
|
547
|
+
filter: !item["filter"] ? item["filter"] : chaosTargetFilterUnionDeserializer(item["filter"]),
|
|
548
|
+
};
|
|
549
|
+
}
|
|
550
|
+
export function chaosTargetSelectorUnionSerializer(item) {
|
|
551
|
+
switch (item.type) {
|
|
552
|
+
case "List":
|
|
553
|
+
return chaosTargetListSelectorSerializer(item);
|
|
554
|
+
case "Query":
|
|
555
|
+
return chaosTargetQuerySelectorSerializer(item);
|
|
556
|
+
default:
|
|
557
|
+
return chaosTargetSelectorSerializer(item);
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
export function chaosTargetSelectorUnionDeserializer(item) {
|
|
561
|
+
switch (item["type"]) {
|
|
562
|
+
case "List":
|
|
563
|
+
return chaosTargetListSelectorDeserializer(item);
|
|
564
|
+
case "Query":
|
|
565
|
+
return chaosTargetQuerySelectorDeserializer(item);
|
|
566
|
+
default:
|
|
567
|
+
return chaosTargetSelectorDeserializer(item);
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
/** Enum of the selector type. */
|
|
571
|
+
export var KnownSelectorType;
|
|
572
|
+
(function (KnownSelectorType) {
|
|
573
|
+
/** List selector type. */
|
|
574
|
+
KnownSelectorType["List"] = "List";
|
|
575
|
+
/** Query selector type. */
|
|
576
|
+
KnownSelectorType["Query"] = "Query";
|
|
577
|
+
})(KnownSelectorType || (KnownSelectorType = {}));
|
|
578
|
+
export function chaosTargetFilterSerializer(item) {
|
|
579
|
+
return { type: item["type"] };
|
|
580
|
+
}
|
|
581
|
+
export function chaosTargetFilterDeserializer(item) {
|
|
582
|
+
return {
|
|
583
|
+
type: item["type"],
|
|
584
|
+
};
|
|
585
|
+
}
|
|
586
|
+
export function chaosTargetFilterUnionSerializer(item) {
|
|
587
|
+
switch (item.type) {
|
|
588
|
+
case "Simple":
|
|
589
|
+
return chaosTargetSimpleFilterSerializer(item);
|
|
590
|
+
default:
|
|
591
|
+
return chaosTargetFilterSerializer(item);
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
export function chaosTargetFilterUnionDeserializer(item) {
|
|
595
|
+
switch (item["type"]) {
|
|
596
|
+
case "Simple":
|
|
597
|
+
return chaosTargetSimpleFilterDeserializer(item);
|
|
598
|
+
default:
|
|
599
|
+
return chaosTargetFilterDeserializer(item);
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
/** Enum that discriminates between filter types. Currently only `Simple` type is supported. */
|
|
603
|
+
export var KnownFilterType;
|
|
604
|
+
(function (KnownFilterType) {
|
|
605
|
+
/** Simple filter type. */
|
|
606
|
+
KnownFilterType["Simple"] = "Simple";
|
|
607
|
+
})(KnownFilterType || (KnownFilterType = {}));
|
|
608
|
+
export function chaosTargetSimpleFilterSerializer(item) {
|
|
609
|
+
return {
|
|
610
|
+
type: item["type"],
|
|
611
|
+
parameters: !item["parameters"]
|
|
612
|
+
? item["parameters"]
|
|
613
|
+
: chaosTargetSimpleFilterParametersSerializer(item["parameters"]),
|
|
614
|
+
};
|
|
615
|
+
}
|
|
616
|
+
export function chaosTargetSimpleFilterDeserializer(item) {
|
|
617
|
+
return {
|
|
618
|
+
type: item["type"],
|
|
619
|
+
parameters: !item["parameters"]
|
|
620
|
+
? item["parameters"]
|
|
621
|
+
: chaosTargetSimpleFilterParametersDeserializer(item["parameters"]),
|
|
622
|
+
};
|
|
623
|
+
}
|
|
624
|
+
export function chaosTargetSimpleFilterParametersSerializer(item) {
|
|
625
|
+
return {
|
|
626
|
+
zones: !item["zones"]
|
|
627
|
+
? item["zones"]
|
|
628
|
+
: item["zones"].map((p) => {
|
|
629
|
+
return p;
|
|
630
|
+
}),
|
|
631
|
+
};
|
|
632
|
+
}
|
|
633
|
+
export function chaosTargetSimpleFilterParametersDeserializer(item) {
|
|
634
|
+
return {
|
|
635
|
+
zones: !item["zones"]
|
|
636
|
+
? item["zones"]
|
|
637
|
+
: item["zones"].map((p) => {
|
|
638
|
+
return p;
|
|
639
|
+
}),
|
|
640
|
+
};
|
|
641
|
+
}
|
|
642
|
+
export function chaosTargetListSelectorSerializer(item) {
|
|
643
|
+
return {
|
|
644
|
+
id: item["id"],
|
|
645
|
+
type: item["type"],
|
|
646
|
+
filter: !item["filter"] ? item["filter"] : chaosTargetFilterUnionSerializer(item["filter"]),
|
|
647
|
+
targets: targetReferenceArraySerializer(item["targets"]),
|
|
648
|
+
};
|
|
649
|
+
}
|
|
650
|
+
export function chaosTargetListSelectorDeserializer(item) {
|
|
651
|
+
return {
|
|
652
|
+
id: item["id"],
|
|
653
|
+
type: item["type"],
|
|
654
|
+
filter: !item["filter"] ? item["filter"] : chaosTargetFilterUnionDeserializer(item["filter"]),
|
|
655
|
+
targets: targetReferenceArrayDeserializer(item["targets"]),
|
|
656
|
+
};
|
|
657
|
+
}
|
|
658
|
+
export function targetReferenceArraySerializer(result) {
|
|
659
|
+
return result.map((item) => {
|
|
660
|
+
return targetReferenceSerializer(item);
|
|
661
|
+
});
|
|
662
|
+
}
|
|
663
|
+
export function targetReferenceArrayDeserializer(result) {
|
|
664
|
+
return result.map((item) => {
|
|
665
|
+
return targetReferenceDeserializer(item);
|
|
666
|
+
});
|
|
667
|
+
}
|
|
668
|
+
export function targetReferenceSerializer(item) {
|
|
669
|
+
return { type: item["type"], id: item["id"] };
|
|
670
|
+
}
|
|
671
|
+
export function targetReferenceDeserializer(item) {
|
|
672
|
+
return {
|
|
673
|
+
type: item["type"],
|
|
674
|
+
id: item["id"],
|
|
675
|
+
};
|
|
676
|
+
}
|
|
677
|
+
/** Enum of the Target reference type. */
|
|
678
|
+
export var KnownTargetReferenceType;
|
|
679
|
+
(function (KnownTargetReferenceType) {
|
|
680
|
+
/** Chaos target reference type. */
|
|
681
|
+
KnownTargetReferenceType["ChaosTarget"] = "ChaosTarget";
|
|
682
|
+
})(KnownTargetReferenceType || (KnownTargetReferenceType = {}));
|
|
683
|
+
export function chaosTargetQuerySelectorSerializer(item) {
|
|
684
|
+
return {
|
|
685
|
+
id: item["id"],
|
|
686
|
+
type: item["type"],
|
|
687
|
+
filter: !item["filter"] ? item["filter"] : chaosTargetFilterUnionSerializer(item["filter"]),
|
|
688
|
+
queryString: item["queryString"],
|
|
689
|
+
subscriptionIds: item["subscriptionIds"].map((p) => {
|
|
690
|
+
return p;
|
|
691
|
+
}),
|
|
692
|
+
};
|
|
693
|
+
}
|
|
694
|
+
export function chaosTargetQuerySelectorDeserializer(item) {
|
|
695
|
+
return {
|
|
696
|
+
id: item["id"],
|
|
697
|
+
type: item["type"],
|
|
698
|
+
filter: !item["filter"] ? item["filter"] : chaosTargetFilterUnionDeserializer(item["filter"]),
|
|
699
|
+
queryString: item["queryString"],
|
|
700
|
+
subscriptionIds: item["subscriptionIds"].map((p) => {
|
|
701
|
+
return p;
|
|
702
|
+
}),
|
|
703
|
+
};
|
|
704
|
+
}
|
|
705
|
+
export function customerDataStoragePropertiesSerializer(item) {
|
|
706
|
+
return {
|
|
707
|
+
storageAccountResourceId: item["storageAccountResourceId"],
|
|
708
|
+
blobContainerName: item["blobContainerName"],
|
|
709
|
+
};
|
|
710
|
+
}
|
|
711
|
+
export function customerDataStoragePropertiesDeserializer(item) {
|
|
712
|
+
return {
|
|
713
|
+
storageAccountResourceId: item["storageAccountResourceId"],
|
|
714
|
+
blobContainerName: item["blobContainerName"],
|
|
715
|
+
};
|
|
716
|
+
}
|
|
717
|
+
export function trackedResourceSerializer(item) {
|
|
718
|
+
return { tags: item["tags"], location: item["location"] };
|
|
719
|
+
}
|
|
720
|
+
export function trackedResourceDeserializer(item) {
|
|
721
|
+
return {
|
|
722
|
+
id: item["id"],
|
|
723
|
+
name: item["name"],
|
|
724
|
+
type: item["type"],
|
|
725
|
+
systemData: !item["systemData"]
|
|
726
|
+
? item["systemData"]
|
|
727
|
+
: systemDataDeserializer(item["systemData"]),
|
|
728
|
+
tags: !item["tags"]
|
|
729
|
+
? item["tags"]
|
|
730
|
+
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
731
|
+
location: item["location"],
|
|
732
|
+
};
|
|
733
|
+
}
|
|
734
|
+
export function experimentUpdateSerializer(item) {
|
|
735
|
+
return {
|
|
736
|
+
tags: item["tags"],
|
|
737
|
+
identity: !item["identity"]
|
|
738
|
+
? item["identity"]
|
|
739
|
+
: managedServiceIdentitySerializer(item["identity"]),
|
|
740
|
+
};
|
|
741
|
+
}
|
|
742
|
+
export function _experimentListResultDeserializer(item) {
|
|
743
|
+
return {
|
|
744
|
+
value: experimentArrayDeserializer(item["value"]),
|
|
745
|
+
nextLink: item["nextLink"],
|
|
746
|
+
};
|
|
747
|
+
}
|
|
748
|
+
export function experimentArraySerializer(result) {
|
|
749
|
+
return result.map((item) => {
|
|
750
|
+
return experimentSerializer(item);
|
|
751
|
+
});
|
|
752
|
+
}
|
|
753
|
+
export function experimentArrayDeserializer(result) {
|
|
754
|
+
return result.map((item) => {
|
|
755
|
+
return experimentDeserializer(item);
|
|
756
|
+
});
|
|
757
|
+
}
|
|
758
|
+
export function experimentExecutionDeserializer(item) {
|
|
759
|
+
return {
|
|
760
|
+
id: item["id"],
|
|
761
|
+
name: item["name"],
|
|
762
|
+
type: item["type"],
|
|
763
|
+
systemData: !item["systemData"]
|
|
764
|
+
? item["systemData"]
|
|
765
|
+
: systemDataDeserializer(item["systemData"]),
|
|
766
|
+
properties: !item["properties"]
|
|
767
|
+
? item["properties"]
|
|
768
|
+
: experimentExecutionPropertiesDeserializer(item["properties"]),
|
|
769
|
+
};
|
|
770
|
+
}
|
|
771
|
+
export function experimentExecutionPropertiesDeserializer(item) {
|
|
772
|
+
return {
|
|
773
|
+
status: item["status"],
|
|
774
|
+
startedAt: !item["startedAt"] ? item["startedAt"] : new Date(item["startedAt"]),
|
|
775
|
+
stoppedAt: !item["stoppedAt"] ? item["stoppedAt"] : new Date(item["stoppedAt"]),
|
|
776
|
+
provisioningState: item["provisioningState"],
|
|
777
|
+
};
|
|
778
|
+
}
|
|
779
|
+
export function _experimentExecutionListResultDeserializer(item) {
|
|
780
|
+
return {
|
|
781
|
+
value: experimentExecutionArrayDeserializer(item["value"]),
|
|
782
|
+
nextLink: item["nextLink"],
|
|
783
|
+
};
|
|
784
|
+
}
|
|
785
|
+
export function experimentExecutionArrayDeserializer(result) {
|
|
786
|
+
return result.map((item) => {
|
|
787
|
+
return experimentExecutionDeserializer(item);
|
|
788
|
+
});
|
|
789
|
+
}
|
|
790
|
+
export function experimentExecutionDetailsDeserializer(item) {
|
|
791
|
+
return {
|
|
792
|
+
type: item["type"],
|
|
793
|
+
id: item["id"],
|
|
794
|
+
name: item["name"],
|
|
795
|
+
properties: !item["properties"]
|
|
796
|
+
? item["properties"]
|
|
797
|
+
: experimentExecutionDetailsPropertiesDeserializer(item["properties"]),
|
|
798
|
+
};
|
|
799
|
+
}
|
|
800
|
+
export function experimentExecutionDetailsPropertiesDeserializer(item) {
|
|
801
|
+
return {
|
|
802
|
+
status: item["status"],
|
|
803
|
+
startedAt: !item["startedAt"] ? item["startedAt"] : new Date(item["startedAt"]),
|
|
804
|
+
stoppedAt: !item["stoppedAt"] ? item["stoppedAt"] : new Date(item["stoppedAt"]),
|
|
805
|
+
provisioningState: item["provisioningState"],
|
|
806
|
+
failureReason: item["failureReason"],
|
|
807
|
+
lastActionAt: !item["lastActionAt"] ? item["lastActionAt"] : new Date(item["lastActionAt"]),
|
|
808
|
+
runInformation: !item["runInformation"]
|
|
809
|
+
? item["runInformation"]
|
|
810
|
+
: experimentExecutionDetailsPropertiesRunInformationDeserializer(item["runInformation"]),
|
|
811
|
+
};
|
|
812
|
+
}
|
|
813
|
+
export function experimentExecutionDetailsPropertiesRunInformationDeserializer(item) {
|
|
814
|
+
return {
|
|
815
|
+
steps: !item["steps"] ? item["steps"] : stepStatusArrayDeserializer(item["steps"]),
|
|
816
|
+
};
|
|
817
|
+
}
|
|
818
|
+
export function stepStatusArrayDeserializer(result) {
|
|
819
|
+
return result.map((item) => {
|
|
820
|
+
return stepStatusDeserializer(item);
|
|
821
|
+
});
|
|
822
|
+
}
|
|
823
|
+
export function stepStatusDeserializer(item) {
|
|
824
|
+
return {
|
|
825
|
+
stepName: item["stepName"],
|
|
826
|
+
stepId: item["stepId"],
|
|
827
|
+
status: item["status"],
|
|
828
|
+
branches: !item["branches"]
|
|
829
|
+
? item["branches"]
|
|
830
|
+
: branchStatusArrayDeserializer(item["branches"]),
|
|
831
|
+
};
|
|
832
|
+
}
|
|
833
|
+
export function branchStatusArrayDeserializer(result) {
|
|
834
|
+
return result.map((item) => {
|
|
835
|
+
return branchStatusDeserializer(item);
|
|
836
|
+
});
|
|
837
|
+
}
|
|
838
|
+
export function branchStatusDeserializer(item) {
|
|
839
|
+
return {
|
|
840
|
+
branchName: item["branchName"],
|
|
841
|
+
branchId: item["branchId"],
|
|
842
|
+
status: item["status"],
|
|
843
|
+
actions: !item["actions"] ? item["actions"] : actionStatusArrayDeserializer(item["actions"]),
|
|
844
|
+
};
|
|
845
|
+
}
|
|
846
|
+
export function actionStatusArrayDeserializer(result) {
|
|
847
|
+
return result.map((item) => {
|
|
848
|
+
return actionStatusDeserializer(item);
|
|
849
|
+
});
|
|
850
|
+
}
|
|
851
|
+
export function actionStatusDeserializer(item) {
|
|
852
|
+
return {
|
|
853
|
+
actionName: item["actionName"],
|
|
854
|
+
actionId: item["actionId"],
|
|
855
|
+
status: item["status"],
|
|
856
|
+
startTime: !item["startTime"] ? item["startTime"] : new Date(item["startTime"]),
|
|
857
|
+
endTime: !item["endTime"] ? item["endTime"] : new Date(item["endTime"]),
|
|
858
|
+
targets: !item["targets"]
|
|
859
|
+
? item["targets"]
|
|
860
|
+
: experimentExecutionActionTargetDetailsPropertiesArrayDeserializer(item["targets"]),
|
|
861
|
+
};
|
|
862
|
+
}
|
|
863
|
+
export function experimentExecutionActionTargetDetailsPropertiesArrayDeserializer(result) {
|
|
864
|
+
return result.map((item) => {
|
|
865
|
+
return experimentExecutionActionTargetDetailsPropertiesDeserializer(item);
|
|
866
|
+
});
|
|
867
|
+
}
|
|
868
|
+
export function experimentExecutionActionTargetDetailsPropertiesDeserializer(item) {
|
|
869
|
+
return {
|
|
870
|
+
status: item["status"],
|
|
871
|
+
target: item["target"],
|
|
872
|
+
targetFailedTime: !item["targetFailedTime"]
|
|
873
|
+
? item["targetFailedTime"]
|
|
874
|
+
: new Date(item["targetFailedTime"]),
|
|
875
|
+
targetCompletedTime: !item["targetCompletedTime"]
|
|
876
|
+
? item["targetCompletedTime"]
|
|
877
|
+
: new Date(item["targetCompletedTime"]),
|
|
878
|
+
error: !item["error"]
|
|
879
|
+
? item["error"]
|
|
880
|
+
: experimentExecutionActionTargetDetailsErrorDeserializer(item["error"]),
|
|
881
|
+
};
|
|
882
|
+
}
|
|
883
|
+
export function experimentExecutionActionTargetDetailsErrorDeserializer(item) {
|
|
884
|
+
return {
|
|
885
|
+
code: item["code"],
|
|
886
|
+
message: item["message"],
|
|
887
|
+
};
|
|
888
|
+
}
|
|
889
|
+
export function privateAccessSerializer(item) {
|
|
890
|
+
return {
|
|
891
|
+
tags: item["tags"],
|
|
892
|
+
location: item["location"],
|
|
893
|
+
properties: privateAccessPropertiesSerializer(item["properties"]),
|
|
894
|
+
};
|
|
895
|
+
}
|
|
896
|
+
export function privateAccessDeserializer(item) {
|
|
897
|
+
return {
|
|
898
|
+
tags: !item["tags"]
|
|
899
|
+
? item["tags"]
|
|
900
|
+
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
901
|
+
location: item["location"],
|
|
902
|
+
id: item["id"],
|
|
903
|
+
name: item["name"],
|
|
904
|
+
type: item["type"],
|
|
905
|
+
systemData: !item["systemData"]
|
|
906
|
+
? item["systemData"]
|
|
907
|
+
: systemDataDeserializer(item["systemData"]),
|
|
908
|
+
properties: privateAccessPropertiesDeserializer(item["properties"]),
|
|
909
|
+
};
|
|
910
|
+
}
|
|
911
|
+
export function privateAccessPropertiesSerializer(item) {
|
|
912
|
+
return { publicNetworkAccess: item["publicNetworkAccess"] };
|
|
913
|
+
}
|
|
914
|
+
export function privateAccessPropertiesDeserializer(item) {
|
|
915
|
+
return {
|
|
916
|
+
provisioningState: item["provisioningState"],
|
|
917
|
+
privateEndpointConnections: !item["privateEndpointConnections"]
|
|
918
|
+
? item["privateEndpointConnections"]
|
|
919
|
+
: privateEndpointConnectionArrayDeserializer(item["privateEndpointConnections"]),
|
|
920
|
+
publicNetworkAccess: item["publicNetworkAccess"],
|
|
921
|
+
};
|
|
922
|
+
}
|
|
923
|
+
export function privateEndpointConnectionArrayDeserializer(result) {
|
|
924
|
+
return result.map((item) => {
|
|
925
|
+
return privateEndpointConnectionDeserializer(item);
|
|
253
926
|
});
|
|
254
927
|
}
|
|
255
|
-
export function
|
|
928
|
+
export function privateEndpointConnectionDeserializer(item) {
|
|
929
|
+
return {
|
|
930
|
+
id: item["id"],
|
|
931
|
+
name: item["name"],
|
|
932
|
+
type: item["type"],
|
|
933
|
+
systemData: !item["systemData"]
|
|
934
|
+
? item["systemData"]
|
|
935
|
+
: systemDataDeserializer(item["systemData"]),
|
|
936
|
+
properties: !item["properties"]
|
|
937
|
+
? item["properties"]
|
|
938
|
+
: privateEndpointConnectionPropertiesDeserializer(item["properties"]),
|
|
939
|
+
};
|
|
940
|
+
}
|
|
941
|
+
export function privateEndpointConnectionPropertiesDeserializer(item) {
|
|
942
|
+
return {
|
|
943
|
+
groupIds: !item["groupIds"]
|
|
944
|
+
? item["groupIds"]
|
|
945
|
+
: item["groupIds"].map((p) => {
|
|
946
|
+
return p;
|
|
947
|
+
}),
|
|
948
|
+
privateEndpoint: !item["privateEndpoint"]
|
|
949
|
+
? item["privateEndpoint"]
|
|
950
|
+
: privateEndpointDeserializer(item["privateEndpoint"]),
|
|
951
|
+
privateLinkServiceConnectionState: privateLinkServiceConnectionStateDeserializer(item["privateLinkServiceConnectionState"]),
|
|
952
|
+
provisioningState: item["provisioningState"],
|
|
953
|
+
};
|
|
954
|
+
}
|
|
955
|
+
export function privateEndpointDeserializer(item) {
|
|
956
|
+
return {
|
|
957
|
+
id: item["id"],
|
|
958
|
+
};
|
|
959
|
+
}
|
|
960
|
+
export function privateLinkServiceConnectionStateDeserializer(item) {
|
|
961
|
+
return {
|
|
962
|
+
status: item["status"],
|
|
963
|
+
description: item["description"],
|
|
964
|
+
actionsRequired: item["actionsRequired"],
|
|
965
|
+
};
|
|
966
|
+
}
|
|
967
|
+
/** The private endpoint connection status. */
|
|
968
|
+
export var KnownPrivateEndpointServiceConnectionStatus;
|
|
969
|
+
(function (KnownPrivateEndpointServiceConnectionStatus) {
|
|
970
|
+
/** Pending status. */
|
|
971
|
+
KnownPrivateEndpointServiceConnectionStatus["Pending"] = "Pending";
|
|
972
|
+
/** Approved status. */
|
|
973
|
+
KnownPrivateEndpointServiceConnectionStatus["Approved"] = "Approved";
|
|
974
|
+
/** Rejected status. */
|
|
975
|
+
KnownPrivateEndpointServiceConnectionStatus["Rejected"] = "Rejected";
|
|
976
|
+
})(KnownPrivateEndpointServiceConnectionStatus || (KnownPrivateEndpointServiceConnectionStatus = {}));
|
|
977
|
+
/** Public Network Access Control for PrivateAccess resource. */
|
|
978
|
+
export var KnownPublicNetworkAccessOption;
|
|
979
|
+
(function (KnownPublicNetworkAccessOption) {
|
|
980
|
+
/** Enabled access. */
|
|
981
|
+
KnownPublicNetworkAccessOption["Enabled"] = "Enabled";
|
|
982
|
+
/** Disabled access. */
|
|
983
|
+
KnownPublicNetworkAccessOption["Disabled"] = "Disabled";
|
|
984
|
+
})(KnownPublicNetworkAccessOption || (KnownPublicNetworkAccessOption = {}));
|
|
985
|
+
export function privateAccessPatchSerializer(item) {
|
|
986
|
+
return { tags: item["tags"] };
|
|
987
|
+
}
|
|
988
|
+
export function _privateAccessListResultDeserializer(item) {
|
|
989
|
+
return {
|
|
990
|
+
value: privateAccessArrayDeserializer(item["value"]),
|
|
991
|
+
nextLink: item["nextLink"],
|
|
992
|
+
};
|
|
993
|
+
}
|
|
994
|
+
export function privateAccessArraySerializer(result) {
|
|
256
995
|
return result.map((item) => {
|
|
257
|
-
return
|
|
996
|
+
return privateAccessSerializer(item);
|
|
258
997
|
});
|
|
259
998
|
}
|
|
260
|
-
export function
|
|
999
|
+
export function privateAccessArrayDeserializer(result) {
|
|
1000
|
+
return result.map((item) => {
|
|
1001
|
+
return privateAccessDeserializer(item);
|
|
1002
|
+
});
|
|
1003
|
+
}
|
|
1004
|
+
export function privateLinkResourceListResultDeserializer(item) {
|
|
1005
|
+
return {
|
|
1006
|
+
value: privateLinkResourceArrayDeserializer(item["value"]),
|
|
1007
|
+
nextLink: item["nextLink"],
|
|
1008
|
+
};
|
|
1009
|
+
}
|
|
1010
|
+
export function privateLinkResourceArrayDeserializer(result) {
|
|
1011
|
+
return result.map((item) => {
|
|
1012
|
+
return privateLinkResourceDeserializer(item);
|
|
1013
|
+
});
|
|
1014
|
+
}
|
|
1015
|
+
export function privateLinkResourceDeserializer(item) {
|
|
261
1016
|
return {
|
|
1017
|
+
tags: !item["tags"]
|
|
1018
|
+
? item["tags"]
|
|
1019
|
+
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
1020
|
+
location: item["location"],
|
|
262
1021
|
id: item["id"],
|
|
1022
|
+
name: item["name"],
|
|
263
1023
|
type: item["type"],
|
|
264
|
-
|
|
1024
|
+
systemData: !item["systemData"]
|
|
1025
|
+
? item["systemData"]
|
|
1026
|
+
: systemDataDeserializer(item["systemData"]),
|
|
1027
|
+
properties: privateLinkResourcePropertiesDeserializer(item["properties"]),
|
|
265
1028
|
};
|
|
266
1029
|
}
|
|
267
|
-
export function
|
|
1030
|
+
export function privateLinkResourcePropertiesDeserializer(item) {
|
|
1031
|
+
return {
|
|
1032
|
+
groupId: item["groupId"],
|
|
1033
|
+
requiredMembers: !item["requiredMembers"]
|
|
1034
|
+
? item["requiredMembers"]
|
|
1035
|
+
: item["requiredMembers"].map((p) => {
|
|
1036
|
+
return p;
|
|
1037
|
+
}),
|
|
1038
|
+
requiredZoneNames: !item["requiredZoneNames"]
|
|
1039
|
+
? item["requiredZoneNames"]
|
|
1040
|
+
: item["requiredZoneNames"].map((p) => {
|
|
1041
|
+
return p;
|
|
1042
|
+
}),
|
|
1043
|
+
provisioningState: item["provisioningState"],
|
|
1044
|
+
};
|
|
1045
|
+
}
|
|
1046
|
+
export function _privateEndpointConnectionListResultDeserializer(item) {
|
|
1047
|
+
return {
|
|
1048
|
+
value: privateEndpointConnectionArrayDeserializer(item["value"]),
|
|
1049
|
+
nextLink: item["nextLink"],
|
|
1050
|
+
};
|
|
1051
|
+
}
|
|
1052
|
+
export function actionDeserializer(item) {
|
|
268
1053
|
return {
|
|
269
1054
|
id: item["id"],
|
|
1055
|
+
name: item["name"],
|
|
270
1056
|
type: item["type"],
|
|
271
|
-
|
|
1057
|
+
systemData: !item["systemData"]
|
|
1058
|
+
? item["systemData"]
|
|
1059
|
+
: systemDataDeserializer(item["systemData"]),
|
|
1060
|
+
properties: actionPropertiesDeserializer(item["properties"]),
|
|
272
1061
|
};
|
|
273
1062
|
}
|
|
274
|
-
export function
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
1063
|
+
export function actionPropertiesDeserializer(item) {
|
|
1064
|
+
return {
|
|
1065
|
+
canonicalId: item["canonicalId"],
|
|
1066
|
+
displayName: item["displayName"],
|
|
1067
|
+
description: item["description"],
|
|
1068
|
+
actionName: item["actionName"],
|
|
1069
|
+
version: item["version"],
|
|
1070
|
+
actionType: item["actionType"],
|
|
1071
|
+
supportedTargetTypes: !item["supportedTargetTypes"]
|
|
1072
|
+
? item["supportedTargetTypes"]
|
|
1073
|
+
: actionSupportedTargetTypeArrayDeserializer(item["supportedTargetTypes"]),
|
|
1074
|
+
parametersSchema: !item["parametersSchema"]
|
|
1075
|
+
? item["parametersSchema"]
|
|
1076
|
+
: _actionPropertiesParametersSchemaDeserializer(item["parametersSchema"]),
|
|
1077
|
+
recommendedRoles: !item["recommendedRoles"]
|
|
1078
|
+
? item["recommendedRoles"]
|
|
1079
|
+
: item["recommendedRoles"].map((p) => {
|
|
1080
|
+
return p;
|
|
1081
|
+
}),
|
|
1082
|
+
};
|
|
283
1083
|
}
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
1084
|
+
/** Union of action types. */
|
|
1085
|
+
export var KnownActionKind;
|
|
1086
|
+
(function (KnownActionKind) {
|
|
1087
|
+
/** Discrete action type. */
|
|
1088
|
+
KnownActionKind["Discrete"] = "Discrete";
|
|
1089
|
+
/** Continuous action type. */
|
|
1090
|
+
KnownActionKind["Continuous"] = "Continuous";
|
|
1091
|
+
/** Cancelable action type. */
|
|
1092
|
+
KnownActionKind["Cancelable"] = "Cancelable";
|
|
1093
|
+
})(KnownActionKind || (KnownActionKind = {}));
|
|
1094
|
+
export function actionSupportedTargetTypeArrayDeserializer(result) {
|
|
1095
|
+
return result.map((item) => {
|
|
1096
|
+
return actionSupportedTargetTypeDeserializer(item);
|
|
1097
|
+
});
|
|
293
1098
|
}
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
})
|
|
302
|
-
|
|
303
|
-
return { type: item["type"] };
|
|
1099
|
+
export function actionSupportedTargetTypeDeserializer(item) {
|
|
1100
|
+
return {
|
|
1101
|
+
targetType: item["targetType"],
|
|
1102
|
+
requiredPermissions: !item["requiredPermissions"]
|
|
1103
|
+
? item["requiredPermissions"]
|
|
1104
|
+
: item["requiredPermissions"].map((p) => {
|
|
1105
|
+
return p;
|
|
1106
|
+
}),
|
|
1107
|
+
};
|
|
304
1108
|
}
|
|
305
|
-
export function
|
|
1109
|
+
export function _actionPropertiesParametersSchemaDeserializer(item) {
|
|
1110
|
+
return item;
|
|
1111
|
+
}
|
|
1112
|
+
export function _actionListResultDeserializer(item) {
|
|
1113
|
+
return {
|
|
1114
|
+
value: actionArrayDeserializer(item["value"]),
|
|
1115
|
+
nextLink: item["nextLink"],
|
|
1116
|
+
};
|
|
1117
|
+
}
|
|
1118
|
+
export function actionArrayDeserializer(result) {
|
|
1119
|
+
return result.map((item) => {
|
|
1120
|
+
return actionDeserializer(item);
|
|
1121
|
+
});
|
|
1122
|
+
}
|
|
1123
|
+
export function actionVersionDeserializer(item) {
|
|
306
1124
|
return {
|
|
1125
|
+
id: item["id"],
|
|
1126
|
+
name: item["name"],
|
|
307
1127
|
type: item["type"],
|
|
1128
|
+
systemData: !item["systemData"]
|
|
1129
|
+
? item["systemData"]
|
|
1130
|
+
: systemDataDeserializer(item["systemData"]),
|
|
1131
|
+
properties: actionPropertiesDeserializer(item["properties"]),
|
|
308
1132
|
};
|
|
309
1133
|
}
|
|
310
|
-
export function
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
return chaosTargetFilterSerializer(item);
|
|
316
|
-
}
|
|
1134
|
+
export function _actionVersionListResultDeserializer(item) {
|
|
1135
|
+
return {
|
|
1136
|
+
value: actionVersionArrayDeserializer(item["value"]),
|
|
1137
|
+
nextLink: item["nextLink"],
|
|
1138
|
+
};
|
|
317
1139
|
}
|
|
318
|
-
export function
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
default:
|
|
323
|
-
return chaosTargetFilterDeserializer(item);
|
|
324
|
-
}
|
|
1140
|
+
export function actionVersionArrayDeserializer(result) {
|
|
1141
|
+
return result.map((item) => {
|
|
1142
|
+
return actionVersionDeserializer(item);
|
|
1143
|
+
});
|
|
325
1144
|
}
|
|
326
|
-
|
|
327
|
-
export var KnownFilterType;
|
|
328
|
-
(function (KnownFilterType) {
|
|
329
|
-
/** Simple filter type. */
|
|
330
|
-
KnownFilterType["Simple"] = "Simple";
|
|
331
|
-
})(KnownFilterType || (KnownFilterType = {}));
|
|
332
|
-
export function chaosTargetSimpleFilterSerializer(item) {
|
|
1145
|
+
export function targetTypeDeserializer(item) {
|
|
333
1146
|
return {
|
|
1147
|
+
id: item["id"],
|
|
1148
|
+
name: item["name"],
|
|
334
1149
|
type: item["type"],
|
|
335
|
-
|
|
336
|
-
? item["
|
|
337
|
-
:
|
|
1150
|
+
systemData: !item["systemData"]
|
|
1151
|
+
? item["systemData"]
|
|
1152
|
+
: systemDataDeserializer(item["systemData"]),
|
|
1153
|
+
properties: targetTypePropertiesDeserializer(item["properties"]),
|
|
1154
|
+
};
|
|
1155
|
+
}
|
|
1156
|
+
export function targetTypePropertiesDeserializer(item) {
|
|
1157
|
+
return {
|
|
1158
|
+
displayName: item["displayName"],
|
|
1159
|
+
description: item["description"],
|
|
1160
|
+
propertiesSchema: item["propertiesSchema"],
|
|
1161
|
+
resourceTypes: !item["resourceTypes"]
|
|
1162
|
+
? item["resourceTypes"]
|
|
1163
|
+
: item["resourceTypes"].map((p) => {
|
|
1164
|
+
return p;
|
|
1165
|
+
}),
|
|
1166
|
+
};
|
|
1167
|
+
}
|
|
1168
|
+
export function _targetTypeListResultDeserializer(item) {
|
|
1169
|
+
return {
|
|
1170
|
+
value: targetTypeArrayDeserializer(item["value"]),
|
|
1171
|
+
nextLink: item["nextLink"],
|
|
1172
|
+
};
|
|
1173
|
+
}
|
|
1174
|
+
export function targetTypeArrayDeserializer(result) {
|
|
1175
|
+
return result.map((item) => {
|
|
1176
|
+
return targetTypeDeserializer(item);
|
|
1177
|
+
});
|
|
1178
|
+
}
|
|
1179
|
+
export function operationStatusResultDeserializer(item) {
|
|
1180
|
+
return {
|
|
1181
|
+
id: item["id"],
|
|
1182
|
+
name: item["name"],
|
|
1183
|
+
status: item["status"],
|
|
1184
|
+
percentComplete: item["percentComplete"],
|
|
1185
|
+
startTime: !item["startTime"] ? item["startTime"] : new Date(item["startTime"]),
|
|
1186
|
+
endTime: !item["endTime"] ? item["endTime"] : new Date(item["endTime"]),
|
|
1187
|
+
operations: !item["operations"]
|
|
1188
|
+
? item["operations"]
|
|
1189
|
+
: operationStatusResultArrayDeserializer(item["operations"]),
|
|
1190
|
+
error: !item["error"] ? item["error"] : errorDetailDeserializer(item["error"]),
|
|
1191
|
+
resourceId: item["resourceId"],
|
|
1192
|
+
};
|
|
1193
|
+
}
|
|
1194
|
+
export function operationStatusResultArrayDeserializer(result) {
|
|
1195
|
+
return result.map((item) => {
|
|
1196
|
+
return operationStatusResultDeserializer(item);
|
|
1197
|
+
});
|
|
1198
|
+
}
|
|
1199
|
+
export function workspaceSerializer(item) {
|
|
1200
|
+
return {
|
|
1201
|
+
tags: item["tags"],
|
|
1202
|
+
location: item["location"],
|
|
1203
|
+
identity: !item["identity"]
|
|
1204
|
+
? item["identity"]
|
|
1205
|
+
: managedServiceIdentitySerializer(item["identity"]),
|
|
1206
|
+
properties: workspacePropertiesSerializer(item["properties"]),
|
|
1207
|
+
};
|
|
1208
|
+
}
|
|
1209
|
+
export function workspaceDeserializer(item) {
|
|
1210
|
+
return {
|
|
1211
|
+
tags: !item["tags"]
|
|
1212
|
+
? item["tags"]
|
|
1213
|
+
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
1214
|
+
location: item["location"],
|
|
1215
|
+
id: item["id"],
|
|
1216
|
+
name: item["name"],
|
|
1217
|
+
type: item["type"],
|
|
1218
|
+
systemData: !item["systemData"]
|
|
1219
|
+
? item["systemData"]
|
|
1220
|
+
: systemDataDeserializer(item["systemData"]),
|
|
1221
|
+
identity: !item["identity"]
|
|
1222
|
+
? item["identity"]
|
|
1223
|
+
: managedServiceIdentityDeserializer(item["identity"]),
|
|
1224
|
+
properties: workspacePropertiesDeserializer(item["properties"]),
|
|
338
1225
|
};
|
|
339
1226
|
}
|
|
340
|
-
export function
|
|
1227
|
+
export function workspacePropertiesSerializer(item) {
|
|
341
1228
|
return {
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
: chaosTargetSimpleFilterParametersDeserializer(item["parameters"]),
|
|
1229
|
+
scopes: item["scopes"].map((p) => {
|
|
1230
|
+
return p;
|
|
1231
|
+
}),
|
|
346
1232
|
};
|
|
347
1233
|
}
|
|
348
|
-
export function
|
|
1234
|
+
export function workspacePropertiesDeserializer(item) {
|
|
349
1235
|
return {
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
1236
|
+
provisioningState: item["provisioningState"],
|
|
1237
|
+
communicationEndpoint: item["communicationEndpoint"],
|
|
1238
|
+
scopes: item["scopes"].map((p) => {
|
|
1239
|
+
return p;
|
|
1240
|
+
}),
|
|
355
1241
|
};
|
|
356
1242
|
}
|
|
357
|
-
export function
|
|
1243
|
+
export function workspaceUpdateSerializer(item) {
|
|
358
1244
|
return {
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
}),
|
|
1245
|
+
tags: item["tags"],
|
|
1246
|
+
identity: !item["identity"]
|
|
1247
|
+
? item["identity"]
|
|
1248
|
+
: managedServiceIdentitySerializer(item["identity"]),
|
|
364
1249
|
};
|
|
365
1250
|
}
|
|
366
|
-
export function
|
|
1251
|
+
export function _workspaceListResultDeserializer(item) {
|
|
367
1252
|
return {
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
filter: !item["filter"] ? item["filter"] : chaosTargetFilterUnionSerializer(item["filter"]),
|
|
371
|
-
targets: targetReferenceArraySerializer(item["targets"]),
|
|
1253
|
+
value: workspaceArrayDeserializer(item["value"]),
|
|
1254
|
+
nextLink: item["nextLink"],
|
|
372
1255
|
};
|
|
373
1256
|
}
|
|
374
|
-
export function
|
|
1257
|
+
export function workspaceArraySerializer(result) {
|
|
1258
|
+
return result.map((item) => {
|
|
1259
|
+
return workspaceSerializer(item);
|
|
1260
|
+
});
|
|
1261
|
+
}
|
|
1262
|
+
export function workspaceArrayDeserializer(result) {
|
|
1263
|
+
return result.map((item) => {
|
|
1264
|
+
return workspaceDeserializer(item);
|
|
1265
|
+
});
|
|
1266
|
+
}
|
|
1267
|
+
export function workspaceEvaluationDeserializer(item) {
|
|
375
1268
|
return {
|
|
376
1269
|
id: item["id"],
|
|
1270
|
+
name: item["name"],
|
|
377
1271
|
type: item["type"],
|
|
378
|
-
|
|
379
|
-
|
|
1272
|
+
systemData: !item["systemData"]
|
|
1273
|
+
? item["systemData"]
|
|
1274
|
+
: systemDataDeserializer(item["systemData"]),
|
|
1275
|
+
properties: !item["properties"]
|
|
1276
|
+
? item["properties"]
|
|
1277
|
+
: workspaceEvaluationPropertiesDeserializer(item["properties"]),
|
|
380
1278
|
};
|
|
381
1279
|
}
|
|
382
|
-
export function
|
|
1280
|
+
export function workspaceEvaluationPropertiesDeserializer(item) {
|
|
1281
|
+
return {
|
|
1282
|
+
status: item["status"],
|
|
1283
|
+
startTime: !item["startTime"] ? item["startTime"] : new Date(item["startTime"]),
|
|
1284
|
+
endTime: !item["endTime"] ? item["endTime"] : new Date(item["endTime"]),
|
|
1285
|
+
errors: !item["errors"] ? item["errors"] : operationErrorArrayDeserializer(item["errors"]),
|
|
1286
|
+
workspaceId: item["workspaceId"],
|
|
1287
|
+
numScenariosToEvaluate: item["numScenariosToEvaluate"],
|
|
1288
|
+
numScenariosEvaluatedSucceeded: item["numScenariosEvaluatedSucceeded"],
|
|
1289
|
+
numScenariosEvaluatedFailed: item["numScenariosEvaluatedFailed"],
|
|
1290
|
+
numScenariosEvaluatedCancelled: item["numScenariosEvaluatedCancelled"],
|
|
1291
|
+
evaluationResult: item["evaluationResult"],
|
|
1292
|
+
results: !item["results"]
|
|
1293
|
+
? item["results"]
|
|
1294
|
+
: scenarioEvaluationResultItemArrayDeserializer(item["results"]),
|
|
1295
|
+
};
|
|
1296
|
+
}
|
|
1297
|
+
/** Enum of the workspace evaluation status. */
|
|
1298
|
+
export var KnownWorkspaceEvaluationStatus;
|
|
1299
|
+
(function (KnownWorkspaceEvaluationStatus) {
|
|
1300
|
+
/** The evaluation is pending and has not started. */
|
|
1301
|
+
KnownWorkspaceEvaluationStatus["Pending"] = "Pending";
|
|
1302
|
+
/** The evaluation has been accepted and is queued for execution. */
|
|
1303
|
+
KnownWorkspaceEvaluationStatus["Queued"] = "Queued";
|
|
1304
|
+
/** The evaluation is in progress. */
|
|
1305
|
+
KnownWorkspaceEvaluationStatus["InProgress"] = "InProgress";
|
|
1306
|
+
/** The evaluation completed successfully. */
|
|
1307
|
+
KnownWorkspaceEvaluationStatus["Succeeded"] = "Succeeded";
|
|
1308
|
+
/** The evaluation partially succeeded — some scenarios succeeded while others failed. */
|
|
1309
|
+
KnownWorkspaceEvaluationStatus["PartiallySucceeded"] = "PartiallySucceeded";
|
|
1310
|
+
/** The evaluation failed. */
|
|
1311
|
+
KnownWorkspaceEvaluationStatus["Failed"] = "Failed";
|
|
1312
|
+
/** The evaluation was canceled. */
|
|
1313
|
+
KnownWorkspaceEvaluationStatus["Canceled"] = "Canceled";
|
|
1314
|
+
})(KnownWorkspaceEvaluationStatus || (KnownWorkspaceEvaluationStatus = {}));
|
|
1315
|
+
export function operationErrorArrayDeserializer(result) {
|
|
383
1316
|
return result.map((item) => {
|
|
384
|
-
return
|
|
1317
|
+
return operationErrorDeserializer(item);
|
|
385
1318
|
});
|
|
386
1319
|
}
|
|
387
|
-
export function
|
|
1320
|
+
export function operationErrorDeserializer(item) {
|
|
1321
|
+
return {
|
|
1322
|
+
errorCode: item["errorCode"],
|
|
1323
|
+
errorMessage: item["errorMessage"],
|
|
1324
|
+
};
|
|
1325
|
+
}
|
|
1326
|
+
/** Enum of the scenario validation state. */
|
|
1327
|
+
export var KnownRecommendationStatus;
|
|
1328
|
+
(function (KnownRecommendationStatus) {
|
|
1329
|
+
/** The scenario recommendation status has not been evaluated. */
|
|
1330
|
+
KnownRecommendationStatus["NotEvaluated"] = "NotEvaluated";
|
|
1331
|
+
/** The scenario recommendation status is recommended. */
|
|
1332
|
+
KnownRecommendationStatus["Recommended"] = "Recommended";
|
|
1333
|
+
/** The scenario recommendation status is not applicable. */
|
|
1334
|
+
KnownRecommendationStatus["NotApplicable"] = "NotApplicable";
|
|
1335
|
+
/** The scenario recommendation status is currently being evaluated. */
|
|
1336
|
+
KnownRecommendationStatus["Evaluating"] = "Evaluating";
|
|
1337
|
+
/** The scenario recommendation evaluation has failed. */
|
|
1338
|
+
KnownRecommendationStatus["EvaluationFailed"] = "EvaluationFailed";
|
|
1339
|
+
/** The scenario recommendation evaluation was cancelled. */
|
|
1340
|
+
KnownRecommendationStatus["EvaluationCancelled"] = "EvaluationCancelled";
|
|
1341
|
+
})(KnownRecommendationStatus || (KnownRecommendationStatus = {}));
|
|
1342
|
+
export function scenarioEvaluationResultItemArrayDeserializer(result) {
|
|
388
1343
|
return result.map((item) => {
|
|
389
|
-
return
|
|
1344
|
+
return scenarioEvaluationResultItemDeserializer(item);
|
|
390
1345
|
});
|
|
391
1346
|
}
|
|
392
|
-
export function
|
|
393
|
-
return { type: item["type"], id: item["id"] };
|
|
394
|
-
}
|
|
395
|
-
export function targetReferenceDeserializer(item) {
|
|
1347
|
+
export function scenarioEvaluationResultItemDeserializer(item) {
|
|
396
1348
|
return {
|
|
397
|
-
|
|
398
|
-
|
|
1349
|
+
scenarioName: item["scenarioName"],
|
|
1350
|
+
evaluationResult: item["evaluationResult"],
|
|
399
1351
|
};
|
|
400
1352
|
}
|
|
401
|
-
|
|
402
|
-
export var KnownTargetReferenceType;
|
|
403
|
-
(function (KnownTargetReferenceType) {
|
|
404
|
-
/** Chaos target reference type. */
|
|
405
|
-
KnownTargetReferenceType["ChaosTarget"] = "ChaosTarget";
|
|
406
|
-
})(KnownTargetReferenceType || (KnownTargetReferenceType = {}));
|
|
407
|
-
export function chaosTargetQuerySelectorSerializer(item) {
|
|
1353
|
+
export function discoveredResourceDeserializer(item) {
|
|
408
1354
|
return {
|
|
409
1355
|
id: item["id"],
|
|
1356
|
+
name: item["name"],
|
|
410
1357
|
type: item["type"],
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
1358
|
+
systemData: !item["systemData"]
|
|
1359
|
+
? item["systemData"]
|
|
1360
|
+
: systemDataDeserializer(item["systemData"]),
|
|
1361
|
+
properties: !item["properties"]
|
|
1362
|
+
? item["properties"]
|
|
1363
|
+
: discoveredResourcePropertiesDeserializer(item["properties"]),
|
|
416
1364
|
};
|
|
417
1365
|
}
|
|
418
|
-
export function
|
|
1366
|
+
export function discoveredResourcePropertiesDeserializer(item) {
|
|
419
1367
|
return {
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
}),
|
|
1368
|
+
resourceNamespace: item["namespace"],
|
|
1369
|
+
resourceName: item["resourceName"],
|
|
1370
|
+
resourceType: item["resourceType"],
|
|
1371
|
+
fullyQualifiedIdentifier: item["fullyQualifiedIdentifier"],
|
|
1372
|
+
discoveredAt: new Date(item["discoveredAt"]),
|
|
1373
|
+
scope: item["scope"],
|
|
427
1374
|
};
|
|
428
1375
|
}
|
|
429
|
-
export function
|
|
430
|
-
return {
|
|
1376
|
+
export function _discoveredResourceListResultDeserializer(item) {
|
|
1377
|
+
return {
|
|
1378
|
+
value: discoveredResourceArrayDeserializer(item["value"]),
|
|
1379
|
+
nextLink: item["nextLink"],
|
|
1380
|
+
};
|
|
431
1381
|
}
|
|
432
|
-
export function
|
|
1382
|
+
export function discoveredResourceArrayDeserializer(result) {
|
|
1383
|
+
return result.map((item) => {
|
|
1384
|
+
return discoveredResourceDeserializer(item);
|
|
1385
|
+
});
|
|
1386
|
+
}
|
|
1387
|
+
export function scenarioSerializer(item) {
|
|
1388
|
+
return {
|
|
1389
|
+
properties: !item["properties"]
|
|
1390
|
+
? item["properties"]
|
|
1391
|
+
: scenarioPropertiesSerializer(item["properties"]),
|
|
1392
|
+
};
|
|
1393
|
+
}
|
|
1394
|
+
export function scenarioDeserializer(item) {
|
|
433
1395
|
return {
|
|
434
1396
|
id: item["id"],
|
|
435
1397
|
name: item["name"],
|
|
@@ -437,107 +1399,211 @@ export function trackedResourceDeserializer(item) {
|
|
|
437
1399
|
systemData: !item["systemData"]
|
|
438
1400
|
? item["systemData"]
|
|
439
1401
|
: systemDataDeserializer(item["systemData"]),
|
|
440
|
-
|
|
441
|
-
|
|
1402
|
+
properties: !item["properties"]
|
|
1403
|
+
? item["properties"]
|
|
1404
|
+
: scenarioPropertiesDeserializer(item["properties"]),
|
|
442
1405
|
};
|
|
443
1406
|
}
|
|
444
|
-
export function
|
|
445
|
-
return
|
|
1407
|
+
export function scenarioPropertiesSerializer(item) {
|
|
1408
|
+
return {
|
|
1409
|
+
description: item["description"],
|
|
1410
|
+
parameters: scenarioParameterArraySerializer(item["parameters"]),
|
|
1411
|
+
actions: scenarioActionArraySerializer(item["actions"]),
|
|
1412
|
+
};
|
|
446
1413
|
}
|
|
447
|
-
export function
|
|
1414
|
+
export function scenarioPropertiesDeserializer(item) {
|
|
448
1415
|
return {
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
1416
|
+
provisioningState: item["provisioningState"],
|
|
1417
|
+
createdFrom: item["createdFrom"],
|
|
1418
|
+
version: item["version"],
|
|
1419
|
+
description: item["description"],
|
|
1420
|
+
parameters: scenarioParameterArrayDeserializer(item["parameters"]),
|
|
1421
|
+
actions: scenarioActionArrayDeserializer(item["actions"]),
|
|
1422
|
+
recommendation: !item["recommendation"]
|
|
1423
|
+
? item["recommendation"]
|
|
1424
|
+
: recommendationDeserializer(item["recommendation"]),
|
|
455
1425
|
};
|
|
456
1426
|
}
|
|
457
|
-
export function
|
|
1427
|
+
export function scenarioParameterArraySerializer(result) {
|
|
1428
|
+
return result.map((item) => {
|
|
1429
|
+
return scenarioParameterSerializer(item);
|
|
1430
|
+
});
|
|
1431
|
+
}
|
|
1432
|
+
export function scenarioParameterArrayDeserializer(result) {
|
|
1433
|
+
return result.map((item) => {
|
|
1434
|
+
return scenarioParameterDeserializer(item);
|
|
1435
|
+
});
|
|
1436
|
+
}
|
|
1437
|
+
export function scenarioParameterSerializer(item) {
|
|
458
1438
|
return {
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
lastModifiedAt: !item["lastModifiedAt"]
|
|
465
|
-
? item["lastModifiedAt"]
|
|
466
|
-
: new Date(item["lastModifiedAt"]),
|
|
1439
|
+
name: item["name"],
|
|
1440
|
+
type: item["type"],
|
|
1441
|
+
default: item["default"],
|
|
1442
|
+
required: item["required"],
|
|
1443
|
+
description: item["description"],
|
|
467
1444
|
};
|
|
468
1445
|
}
|
|
469
|
-
|
|
470
|
-
export var KnownCreatedByType;
|
|
471
|
-
(function (KnownCreatedByType) {
|
|
472
|
-
/** The entity was created by a user. */
|
|
473
|
-
KnownCreatedByType["User"] = "User";
|
|
474
|
-
/** The entity was created by an application. */
|
|
475
|
-
KnownCreatedByType["Application"] = "Application";
|
|
476
|
-
/** The entity was created by a managed identity. */
|
|
477
|
-
KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
|
|
478
|
-
/** The entity was created by a key. */
|
|
479
|
-
KnownCreatedByType["Key"] = "Key";
|
|
480
|
-
})(KnownCreatedByType || (KnownCreatedByType = {}));
|
|
481
|
-
export function errorResponseDeserializer(item) {
|
|
1446
|
+
export function scenarioParameterDeserializer(item) {
|
|
482
1447
|
return {
|
|
483
|
-
|
|
1448
|
+
name: item["name"],
|
|
1449
|
+
type: item["type"],
|
|
1450
|
+
default: item["default"],
|
|
1451
|
+
required: item["required"],
|
|
1452
|
+
description: item["description"],
|
|
484
1453
|
};
|
|
485
1454
|
}
|
|
486
|
-
|
|
1455
|
+
/** Enum for parameter types. */
|
|
1456
|
+
export var KnownParameterType;
|
|
1457
|
+
(function (KnownParameterType) {
|
|
1458
|
+
/** String parameter type. */
|
|
1459
|
+
KnownParameterType["String"] = "string";
|
|
1460
|
+
/** Number parameter type. */
|
|
1461
|
+
KnownParameterType["Number"] = "number";
|
|
1462
|
+
/** Boolean parameter type. */
|
|
1463
|
+
KnownParameterType["Boolean"] = "boolean";
|
|
1464
|
+
/** Object parameter type. */
|
|
1465
|
+
KnownParameterType["Object"] = "object";
|
|
1466
|
+
/** Array parameter type. */
|
|
1467
|
+
KnownParameterType["Array"] = "array";
|
|
1468
|
+
})(KnownParameterType || (KnownParameterType = {}));
|
|
1469
|
+
export function scenarioActionArraySerializer(result) {
|
|
1470
|
+
return result.map((item) => {
|
|
1471
|
+
return scenarioActionSerializer(item);
|
|
1472
|
+
});
|
|
1473
|
+
}
|
|
1474
|
+
export function scenarioActionArrayDeserializer(result) {
|
|
1475
|
+
return result.map((item) => {
|
|
1476
|
+
return scenarioActionDeserializer(item);
|
|
1477
|
+
});
|
|
1478
|
+
}
|
|
1479
|
+
export function scenarioActionSerializer(item) {
|
|
487
1480
|
return {
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
? item["
|
|
494
|
-
:
|
|
1481
|
+
name: item["name"],
|
|
1482
|
+
actionId: item["actionId"],
|
|
1483
|
+
description: item["description"],
|
|
1484
|
+
duration: item["duration"],
|
|
1485
|
+
parameters: !item["parameters"]
|
|
1486
|
+
? item["parameters"]
|
|
1487
|
+
: keyValuePairArraySerializer(item["parameters"]),
|
|
1488
|
+
runAfter: !item["runAfter"] ? item["runAfter"] : runAfterSerializer(item["runAfter"]),
|
|
1489
|
+
waitBefore: item["waitBefore"],
|
|
1490
|
+
timeout: item["timeout"],
|
|
1491
|
+
externalResource: !item["externalResource"]
|
|
1492
|
+
? item["externalResource"]
|
|
1493
|
+
: externalResourceSerializer(item["externalResource"]),
|
|
495
1494
|
};
|
|
496
1495
|
}
|
|
497
|
-
export function
|
|
1496
|
+
export function scenarioActionDeserializer(item) {
|
|
1497
|
+
return {
|
|
1498
|
+
name: item["name"],
|
|
1499
|
+
actionId: item["actionId"],
|
|
1500
|
+
description: item["description"],
|
|
1501
|
+
duration: item["duration"],
|
|
1502
|
+
parameters: !item["parameters"]
|
|
1503
|
+
? item["parameters"]
|
|
1504
|
+
: keyValuePairArrayDeserializer(item["parameters"]),
|
|
1505
|
+
runAfter: !item["runAfter"] ? item["runAfter"] : runAfterDeserializer(item["runAfter"]),
|
|
1506
|
+
waitBefore: item["waitBefore"],
|
|
1507
|
+
timeout: item["timeout"],
|
|
1508
|
+
externalResource: !item["externalResource"]
|
|
1509
|
+
? item["externalResource"]
|
|
1510
|
+
: externalResourceDeserializer(item["externalResource"]),
|
|
1511
|
+
};
|
|
1512
|
+
}
|
|
1513
|
+
export function runAfterSerializer(item) {
|
|
1514
|
+
return { behavior: item["behavior"], items: actionDependencyArraySerializer(item["items"]) };
|
|
1515
|
+
}
|
|
1516
|
+
export function runAfterDeserializer(item) {
|
|
1517
|
+
return {
|
|
1518
|
+
behavior: item["behavior"],
|
|
1519
|
+
items: actionDependencyArrayDeserializer(item["items"]),
|
|
1520
|
+
};
|
|
1521
|
+
}
|
|
1522
|
+
/** Enum for run after behavior. */
|
|
1523
|
+
export var KnownRunAfterBehavior;
|
|
1524
|
+
(function (KnownRunAfterBehavior) {
|
|
1525
|
+
/** Always continues after all dependencies (like a finally block). */
|
|
1526
|
+
KnownRunAfterBehavior["Any"] = "Any";
|
|
1527
|
+
/** All dependencies must be satisfied to continue. */
|
|
1528
|
+
KnownRunAfterBehavior["All"] = "All";
|
|
1529
|
+
/** At least one dependency must be satisfied to continue. */
|
|
1530
|
+
KnownRunAfterBehavior["AtLeastOne"] = "AtLeastOne";
|
|
1531
|
+
})(KnownRunAfterBehavior || (KnownRunAfterBehavior = {}));
|
|
1532
|
+
export function actionDependencyArraySerializer(result) {
|
|
498
1533
|
return result.map((item) => {
|
|
499
|
-
return
|
|
1534
|
+
return actionDependencySerializer(item);
|
|
500
1535
|
});
|
|
501
1536
|
}
|
|
502
|
-
export function
|
|
1537
|
+
export function actionDependencyArrayDeserializer(result) {
|
|
503
1538
|
return result.map((item) => {
|
|
504
|
-
return
|
|
1539
|
+
return actionDependencyDeserializer(item);
|
|
505
1540
|
});
|
|
506
1541
|
}
|
|
507
|
-
export function
|
|
1542
|
+
export function actionDependencySerializer(item) {
|
|
1543
|
+
return { type: item["type"], name: item["name"], onActionLifecycle: item["onActionLifecycle"] };
|
|
1544
|
+
}
|
|
1545
|
+
export function actionDependencyDeserializer(item) {
|
|
508
1546
|
return {
|
|
509
1547
|
type: item["type"],
|
|
510
|
-
|
|
1548
|
+
name: item["name"],
|
|
1549
|
+
onActionLifecycle: item["onActionLifecycle"],
|
|
1550
|
+
};
|
|
1551
|
+
}
|
|
1552
|
+
/** Enum for action dependency type. */
|
|
1553
|
+
export var KnownActionDependencyType;
|
|
1554
|
+
(function (KnownActionDependencyType) {
|
|
1555
|
+
/** Action dependency type. */
|
|
1556
|
+
KnownActionDependencyType["Action"] = "Action";
|
|
1557
|
+
})(KnownActionDependencyType || (KnownActionDependencyType = {}));
|
|
1558
|
+
/** Enum for action lifecycle states. */
|
|
1559
|
+
export var KnownActionLifecycle;
|
|
1560
|
+
(function (KnownActionLifecycle) {
|
|
1561
|
+
/** Trigger when action reaches any terminal state. */
|
|
1562
|
+
KnownActionLifecycle["AnyTerminal"] = "AnyTerminal";
|
|
1563
|
+
/** Trigger when action starts. */
|
|
1564
|
+
KnownActionLifecycle["Start"] = "Start";
|
|
1565
|
+
/** Trigger when action is running. */
|
|
1566
|
+
KnownActionLifecycle["Running"] = "Running";
|
|
1567
|
+
/** Trigger on success. */
|
|
1568
|
+
KnownActionLifecycle["Success"] = "Success";
|
|
1569
|
+
/** Trigger on failure. */
|
|
1570
|
+
KnownActionLifecycle["Failure"] = "Failure";
|
|
1571
|
+
/** Trigger when action is skipped. */
|
|
1572
|
+
KnownActionLifecycle["Skipped"] = "Skipped";
|
|
1573
|
+
})(KnownActionLifecycle || (KnownActionLifecycle = {}));
|
|
1574
|
+
export function externalResourceSerializer(item) {
|
|
1575
|
+
return { resourceId: item["resourceId"] };
|
|
1576
|
+
}
|
|
1577
|
+
export function externalResourceDeserializer(item) {
|
|
1578
|
+
return {
|
|
1579
|
+
resourceId: item["resourceId"],
|
|
511
1580
|
};
|
|
512
1581
|
}
|
|
513
|
-
export function
|
|
514
|
-
return item;
|
|
515
|
-
}
|
|
516
|
-
export function experimentUpdateSerializer(item) {
|
|
1582
|
+
export function recommendationDeserializer(item) {
|
|
517
1583
|
return {
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
? item["
|
|
521
|
-
:
|
|
1584
|
+
recommendationStatus: item["recommendationStatus"],
|
|
1585
|
+
evaluationRunAt: !item["evaluationRunAt"]
|
|
1586
|
+
? item["evaluationRunAt"]
|
|
1587
|
+
: new Date(item["evaluationRunAt"]),
|
|
522
1588
|
};
|
|
523
1589
|
}
|
|
524
|
-
export function
|
|
1590
|
+
export function _scenarioListResultDeserializer(item) {
|
|
525
1591
|
return {
|
|
526
|
-
value:
|
|
1592
|
+
value: scenarioArrayDeserializer(item["value"]),
|
|
527
1593
|
nextLink: item["nextLink"],
|
|
528
1594
|
};
|
|
529
1595
|
}
|
|
530
|
-
export function
|
|
1596
|
+
export function scenarioArraySerializer(result) {
|
|
531
1597
|
return result.map((item) => {
|
|
532
|
-
return
|
|
1598
|
+
return scenarioSerializer(item);
|
|
533
1599
|
});
|
|
534
1600
|
}
|
|
535
|
-
export function
|
|
1601
|
+
export function scenarioArrayDeserializer(result) {
|
|
536
1602
|
return result.map((item) => {
|
|
537
|
-
return
|
|
1603
|
+
return scenarioDeserializer(item);
|
|
538
1604
|
});
|
|
539
1605
|
}
|
|
540
|
-
export function
|
|
1606
|
+
export function scenarioRunDeserializer(item) {
|
|
541
1607
|
return {
|
|
542
1608
|
id: item["id"],
|
|
543
1609
|
name: item["name"],
|
|
@@ -547,146 +1613,218 @@ export function experimentExecutionDeserializer(item) {
|
|
|
547
1613
|
: systemDataDeserializer(item["systemData"]),
|
|
548
1614
|
properties: !item["properties"]
|
|
549
1615
|
? item["properties"]
|
|
550
|
-
:
|
|
1616
|
+
: scenarioRunPropertiesDeserializer(item["properties"]),
|
|
551
1617
|
};
|
|
552
1618
|
}
|
|
553
|
-
export function
|
|
1619
|
+
export function scenarioRunPropertiesDeserializer(item) {
|
|
554
1620
|
return {
|
|
1621
|
+
workspaceName: item["workspaceName"],
|
|
1622
|
+
scenarioName: item["scenarioName"],
|
|
1623
|
+
scenarioConfigurationName: item["scenarioConfigurationName"],
|
|
1624
|
+
managedIdentityPrincipalId: item["managedIdentityPrincipalId"],
|
|
555
1625
|
status: item["status"],
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
1626
|
+
resources: scenarioRunResourceArrayDeserializer(item["resources"]),
|
|
1627
|
+
errors: !item["errors"] ? item["errors"] : operationErrorArrayDeserializer(item["errors"]),
|
|
1628
|
+
executionErrors: !item["executionErrors"]
|
|
1629
|
+
? item["executionErrors"]
|
|
1630
|
+
: scenarioErrorsDeserializer(item["executionErrors"]),
|
|
1631
|
+
scenarioRunJson: item["scenarioRunJson"],
|
|
1632
|
+
scenarioRunSummary: !item["scenarioRunSummary"]
|
|
1633
|
+
? item["scenarioRunSummary"]
|
|
1634
|
+
: scenarioRunSummaryActionArrayDeserializer(item["scenarioRunSummary"]),
|
|
1635
|
+
startTime: new Date(item["startTime"]),
|
|
1636
|
+
endTime: !item["endTime"] ? item["endTime"] : new Date(item["endTime"]),
|
|
1637
|
+
zoneResolution: !item["zoneResolution"]
|
|
1638
|
+
? item["zoneResolution"]
|
|
1639
|
+
: zoneResolutionInfoDeserializer(item["zoneResolution"]),
|
|
1640
|
+
};
|
|
1641
|
+
}
|
|
1642
|
+
/** Enum of the scenario run state. */
|
|
1643
|
+
export var KnownScenarioRunState;
|
|
1644
|
+
(function (KnownScenarioRunState) {
|
|
1645
|
+
/** The scenario run has been queued and is waiting to start. */
|
|
1646
|
+
KnownScenarioRunState["Queued"] = "Queued";
|
|
1647
|
+
/** The scenario run is in the process of being resolved. */
|
|
1648
|
+
KnownScenarioRunState["Resolving"] = "Resolving";
|
|
1649
|
+
/** The scenario run is in the process of being generated. */
|
|
1650
|
+
KnownScenarioRunState["Generating"] = "Generating";
|
|
1651
|
+
/** The scenario run is in the process of being validated. */
|
|
1652
|
+
KnownScenarioRunState["Validating"] = "Validating";
|
|
1653
|
+
/** The scenario run validation has completed successfully. */
|
|
1654
|
+
KnownScenarioRunState["ValidationSucceeded"] = "ValidationSucceeded";
|
|
1655
|
+
/** The scenario run is in the process of being started. */
|
|
1656
|
+
KnownScenarioRunState["Starting"] = "Starting";
|
|
1657
|
+
/** The scenario run is in the process of being prepared. */
|
|
1658
|
+
KnownScenarioRunState["Preparing"] = "Preparing";
|
|
1659
|
+
/** The scenario run is in the process of running. */
|
|
1660
|
+
KnownScenarioRunState["Running"] = "Running";
|
|
1661
|
+
/** The scenario run is in the process of being cleaned up. */
|
|
1662
|
+
KnownScenarioRunState["CleaningUp"] = "CleaningUp";
|
|
1663
|
+
/** The scenario run is in the process of being canceled. */
|
|
1664
|
+
KnownScenarioRunState["Canceling"] = "Canceling";
|
|
1665
|
+
/** The scenario run has been canceled. */
|
|
1666
|
+
KnownScenarioRunState["Canceled"] = "Canceled";
|
|
1667
|
+
/** The scenario run has completed successfully. */
|
|
1668
|
+
KnownScenarioRunState["Succeeded"] = "Succeeded";
|
|
1669
|
+
/** The scenario run has failed. */
|
|
1670
|
+
KnownScenarioRunState["Failed"] = "Failed";
|
|
1671
|
+
})(KnownScenarioRunState || (KnownScenarioRunState = {}));
|
|
1672
|
+
export function scenarioRunResourceArrayDeserializer(result) {
|
|
1673
|
+
return result.map((item) => {
|
|
1674
|
+
return scenarioRunResourceDeserializer(item);
|
|
1675
|
+
});
|
|
562
1676
|
}
|
|
563
|
-
export function
|
|
1677
|
+
export function scenarioRunResourceDeserializer(item) {
|
|
564
1678
|
return {
|
|
565
1679
|
id: item["id"],
|
|
566
|
-
name: item["name"],
|
|
567
|
-
type: item["type"],
|
|
568
|
-
systemData: !item["systemData"]
|
|
569
|
-
? item["systemData"]
|
|
570
|
-
: systemDataDeserializer(item["systemData"]),
|
|
571
1680
|
};
|
|
572
1681
|
}
|
|
573
|
-
export function
|
|
1682
|
+
export function scenarioErrorsDeserializer(item) {
|
|
574
1683
|
return {
|
|
575
|
-
|
|
576
|
-
|
|
1684
|
+
errorCode: item["errorCode"],
|
|
1685
|
+
errorMessage: item["errorMessage"],
|
|
1686
|
+
permission: permissionErrorArrayDeserializer(item["permission"]),
|
|
1687
|
+
resource: resourceStateErrorArrayDeserializer(item["resource"]),
|
|
577
1688
|
};
|
|
578
1689
|
}
|
|
579
|
-
export function
|
|
1690
|
+
export function permissionErrorArrayDeserializer(result) {
|
|
580
1691
|
return result.map((item) => {
|
|
581
|
-
return
|
|
1692
|
+
return permissionErrorDeserializer(item);
|
|
582
1693
|
});
|
|
583
1694
|
}
|
|
584
|
-
export function
|
|
585
|
-
return {
|
|
586
|
-
type: item["type"],
|
|
587
|
-
id: item["id"],
|
|
588
|
-
name: item["name"],
|
|
589
|
-
properties: !item["properties"]
|
|
590
|
-
? item["properties"]
|
|
591
|
-
: experimentExecutionDetailsPropertiesDeserializer(item["properties"]),
|
|
592
|
-
};
|
|
593
|
-
}
|
|
594
|
-
export function experimentExecutionDetailsPropertiesDeserializer(item) {
|
|
1695
|
+
export function permissionErrorDeserializer(item) {
|
|
595
1696
|
return {
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
1697
|
+
resourceId: item["resourceId"],
|
|
1698
|
+
missingPermissions: item["missingPermissions"].map((p) => {
|
|
1699
|
+
return p;
|
|
1700
|
+
}),
|
|
1701
|
+
requiredPermissions: item["requiredPermissions"].map((p) => {
|
|
1702
|
+
return p;
|
|
1703
|
+
}),
|
|
1704
|
+
recommendedRoles: item["recommendedRoles"].map((p) => {
|
|
1705
|
+
return p;
|
|
1706
|
+
}),
|
|
1707
|
+
identity: !item["identity"] ? item["identity"] : entraIdentityDeserializer(item["identity"]),
|
|
604
1708
|
};
|
|
605
1709
|
}
|
|
606
|
-
export function
|
|
1710
|
+
export function entraIdentityDeserializer(item) {
|
|
607
1711
|
return {
|
|
608
|
-
|
|
1712
|
+
objectId: item["objectId"],
|
|
1713
|
+
tenantId: item["tenantId"],
|
|
609
1714
|
};
|
|
610
1715
|
}
|
|
611
|
-
export function
|
|
1716
|
+
export function resourceStateErrorArrayDeserializer(result) {
|
|
612
1717
|
return result.map((item) => {
|
|
613
|
-
return
|
|
1718
|
+
return resourceStateErrorDeserializer(item);
|
|
614
1719
|
});
|
|
615
1720
|
}
|
|
616
|
-
export function
|
|
1721
|
+
export function resourceStateErrorDeserializer(item) {
|
|
617
1722
|
return {
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
? item["branches"]
|
|
623
|
-
: branchStatusArrayDeserializer(item["branches"]),
|
|
1723
|
+
resourceId: item["resourceId"],
|
|
1724
|
+
errorCode: item["errorCode"],
|
|
1725
|
+
errorMessage: item["errorMessage"],
|
|
1726
|
+
remediationUri: item["remediationUri"],
|
|
624
1727
|
};
|
|
625
1728
|
}
|
|
626
|
-
export function
|
|
1729
|
+
export function scenarioRunSummaryActionArrayDeserializer(result) {
|
|
627
1730
|
return result.map((item) => {
|
|
628
|
-
return
|
|
1731
|
+
return scenarioRunSummaryActionDeserializer(item);
|
|
629
1732
|
});
|
|
630
1733
|
}
|
|
631
|
-
export function
|
|
1734
|
+
export function scenarioRunSummaryActionDeserializer(item) {
|
|
632
1735
|
return {
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
}
|
|
639
|
-
|
|
1736
|
+
resources: scenarioRunResourceArrayDeserializer(item["resources"]),
|
|
1737
|
+
actionUrn: item["actionUrn"],
|
|
1738
|
+
state: item["state"],
|
|
1739
|
+
startedAt: !item["startedAt"] ? item["startedAt"] : new Date(item["startedAt"]),
|
|
1740
|
+
completedAt: !item["completedAt"] ? item["completedAt"] : new Date(item["completedAt"]),
|
|
1741
|
+
};
|
|
1742
|
+
}
|
|
1743
|
+
/** Enum of the scenario run summary action state. */
|
|
1744
|
+
export var KnownScenarioSummaryState;
|
|
1745
|
+
(function (KnownScenarioSummaryState) {
|
|
1746
|
+
/** The action is pending and has not started. */
|
|
1747
|
+
KnownScenarioSummaryState["Pending"] = "Pending";
|
|
1748
|
+
/** The action is in the process of starting. */
|
|
1749
|
+
KnownScenarioSummaryState["Starting"] = "Starting";
|
|
1750
|
+
/** The action is in the process of running. */
|
|
1751
|
+
KnownScenarioSummaryState["Running"] = "Running";
|
|
1752
|
+
/** The action is in the process of stopping. */
|
|
1753
|
+
KnownScenarioSummaryState["Stopping"] = "Stopping";
|
|
1754
|
+
/** The action has completed successfully. */
|
|
1755
|
+
KnownScenarioSummaryState["Succeeded"] = "Succeeded";
|
|
1756
|
+
/** The action is in the process of being canceled. */
|
|
1757
|
+
KnownScenarioSummaryState["Canceling"] = "Canceling";
|
|
1758
|
+
/** The action has been canceled. */
|
|
1759
|
+
KnownScenarioSummaryState["Canceled"] = "Canceled";
|
|
1760
|
+
/** The action is failing due to an error. */
|
|
1761
|
+
KnownScenarioSummaryState["FailingOnError"] = "FailingOnError";
|
|
1762
|
+
/** The action has failed. */
|
|
1763
|
+
KnownScenarioSummaryState["Failed"] = "Failed";
|
|
1764
|
+
/** The action was skipped. */
|
|
1765
|
+
KnownScenarioSummaryState["Skipped"] = "Skipped";
|
|
1766
|
+
})(KnownScenarioSummaryState || (KnownScenarioSummaryState = {}));
|
|
1767
|
+
export function zoneResolutionInfoDeserializer(item) {
|
|
1768
|
+
return {
|
|
1769
|
+
mode: item["mode"],
|
|
1770
|
+
requestedPhysicalZones: item["requestedPhysicalZones"].map((p) => {
|
|
1771
|
+
return p;
|
|
1772
|
+
}),
|
|
1773
|
+
subscriptionZoneMappings: zoneResolutionMappingArrayDeserializer(item["subscriptionZoneMappings"]),
|
|
1774
|
+
};
|
|
1775
|
+
}
|
|
1776
|
+
/** The zone resolution mode for a scenario run. */
|
|
1777
|
+
export var KnownZoneResolutionMode;
|
|
1778
|
+
(function (KnownZoneResolutionMode) {
|
|
1779
|
+
/** Logical zone mode — customer specified logical zone identifiers directly. */
|
|
1780
|
+
KnownZoneResolutionMode["Logical"] = "logical";
|
|
1781
|
+
/**
|
|
1782
|
+
* Physical zone mode — system resolved physical zones to per-subscription
|
|
1783
|
+
* logical zones at execution time.
|
|
1784
|
+
*/
|
|
1785
|
+
KnownZoneResolutionMode["Physical"] = "physical";
|
|
1786
|
+
})(KnownZoneResolutionMode || (KnownZoneResolutionMode = {}));
|
|
1787
|
+
export function zoneResolutionMappingArrayDeserializer(result) {
|
|
640
1788
|
return result.map((item) => {
|
|
641
|
-
return
|
|
1789
|
+
return zoneResolutionMappingDeserializer(item);
|
|
642
1790
|
});
|
|
643
1791
|
}
|
|
644
|
-
export function
|
|
1792
|
+
export function zoneResolutionMappingDeserializer(item) {
|
|
645
1793
|
return {
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
status: item["status"],
|
|
649
|
-
startTime: !item["startTime"] ? item["startTime"] : new Date(item["startTime"]),
|
|
650
|
-
endTime: !item["endTime"] ? item["endTime"] : new Date(item["endTime"]),
|
|
651
|
-
targets: !item["targets"]
|
|
652
|
-
? item["targets"]
|
|
653
|
-
: experimentExecutionActionTargetDetailsPropertiesArrayDeserializer(item["targets"]),
|
|
1794
|
+
subscriptionId: item["subscriptionId"],
|
|
1795
|
+
zoneMappings: physicalToLogicalZoneMappingArrayDeserializer(item["zoneMappings"]),
|
|
654
1796
|
};
|
|
655
1797
|
}
|
|
656
|
-
export function
|
|
1798
|
+
export function physicalToLogicalZoneMappingArrayDeserializer(result) {
|
|
657
1799
|
return result.map((item) => {
|
|
658
|
-
return
|
|
1800
|
+
return physicalToLogicalZoneMappingDeserializer(item);
|
|
659
1801
|
});
|
|
660
1802
|
}
|
|
661
|
-
export function
|
|
1803
|
+
export function physicalToLogicalZoneMappingDeserializer(item) {
|
|
662
1804
|
return {
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
targetFailedTime: !item["targetFailedTime"]
|
|
666
|
-
? item["targetFailedTime"]
|
|
667
|
-
: new Date(item["targetFailedTime"]),
|
|
668
|
-
targetCompletedTime: !item["targetCompletedTime"]
|
|
669
|
-
? item["targetCompletedTime"]
|
|
670
|
-
: new Date(item["targetCompletedTime"]),
|
|
671
|
-
error: !item["error"]
|
|
672
|
-
? item["error"]
|
|
673
|
-
: experimentExecutionActionTargetDetailsErrorDeserializer(item["error"]),
|
|
1805
|
+
physicalZone: item["physicalZone"],
|
|
1806
|
+
logicalZone: item["logicalZone"],
|
|
674
1807
|
};
|
|
675
1808
|
}
|
|
676
|
-
export function
|
|
1809
|
+
export function _scenarioRunListResultDeserializer(item) {
|
|
677
1810
|
return {
|
|
678
|
-
|
|
679
|
-
|
|
1811
|
+
value: scenarioRunArrayDeserializer(item["value"]),
|
|
1812
|
+
nextLink: item["nextLink"],
|
|
680
1813
|
};
|
|
681
1814
|
}
|
|
682
|
-
export function
|
|
1815
|
+
export function scenarioRunArrayDeserializer(result) {
|
|
1816
|
+
return result.map((item) => {
|
|
1817
|
+
return scenarioRunDeserializer(item);
|
|
1818
|
+
});
|
|
1819
|
+
}
|
|
1820
|
+
export function scenarioConfigurationSerializer(item) {
|
|
683
1821
|
return {
|
|
684
1822
|
properties: !item["properties"]
|
|
685
1823
|
? item["properties"]
|
|
686
|
-
:
|
|
1824
|
+
: scenarioConfigurationPropertiesSerializer(item["properties"]),
|
|
687
1825
|
};
|
|
688
1826
|
}
|
|
689
|
-
export function
|
|
1827
|
+
export function scenarioConfigurationDeserializer(item) {
|
|
690
1828
|
return {
|
|
691
1829
|
id: item["id"],
|
|
692
1830
|
name: item["name"],
|
|
@@ -696,163 +1834,119 @@ export function capabilityDeserializer(item) {
|
|
|
696
1834
|
: systemDataDeserializer(item["systemData"]),
|
|
697
1835
|
properties: !item["properties"]
|
|
698
1836
|
? item["properties"]
|
|
699
|
-
:
|
|
1837
|
+
: scenarioConfigurationPropertiesDeserializer(item["properties"]),
|
|
700
1838
|
};
|
|
701
1839
|
}
|
|
702
|
-
export function
|
|
703
|
-
return item;
|
|
704
|
-
}
|
|
705
|
-
export function capabilityPropertiesDeserializer(item) {
|
|
1840
|
+
export function scenarioConfigurationPropertiesSerializer(item) {
|
|
706
1841
|
return {
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
1842
|
+
scenarioId: item["scenarioId"],
|
|
1843
|
+
parameters: !item["parameters"]
|
|
1844
|
+
? item["parameters"]
|
|
1845
|
+
: keyValuePairArraySerializer(item["parameters"]),
|
|
1846
|
+
exclusions: !item["exclusions"]
|
|
1847
|
+
? item["exclusions"]
|
|
1848
|
+
: configurationExclusionsSerializer(item["exclusions"]),
|
|
1849
|
+
filters: !item["filters"] ? item["filters"] : configurationFiltersSerializer(item["filters"]),
|
|
712
1850
|
};
|
|
713
1851
|
}
|
|
714
|
-
export function
|
|
1852
|
+
export function scenarioConfigurationPropertiesDeserializer(item) {
|
|
715
1853
|
return {
|
|
716
|
-
|
|
717
|
-
|
|
1854
|
+
scenarioId: item["scenarioId"],
|
|
1855
|
+
parameters: !item["parameters"]
|
|
1856
|
+
? item["parameters"]
|
|
1857
|
+
: keyValuePairArrayDeserializer(item["parameters"]),
|
|
1858
|
+
exclusions: !item["exclusions"]
|
|
1859
|
+
? item["exclusions"]
|
|
1860
|
+
: configurationExclusionsDeserializer(item["exclusions"]),
|
|
1861
|
+
provisioningState: item["provisioningState"],
|
|
1862
|
+
filters: !item["filters"] ? item["filters"] : configurationFiltersDeserializer(item["filters"]),
|
|
718
1863
|
};
|
|
719
1864
|
}
|
|
720
|
-
export function
|
|
721
|
-
return result.map((item) => {
|
|
722
|
-
return capabilitySerializer(item);
|
|
723
|
-
});
|
|
724
|
-
}
|
|
725
|
-
export function capabilityArrayDeserializer(result) {
|
|
726
|
-
return result.map((item) => {
|
|
727
|
-
return capabilityDeserializer(item);
|
|
728
|
-
});
|
|
729
|
-
}
|
|
730
|
-
export function capabilityTypeDeserializer(item) {
|
|
1865
|
+
export function configurationExclusionsSerializer(item) {
|
|
731
1866
|
return {
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
? item["
|
|
740
|
-
:
|
|
1867
|
+
resources: !item["resources"]
|
|
1868
|
+
? item["resources"]
|
|
1869
|
+
: item["resources"].map((p) => {
|
|
1870
|
+
return p;
|
|
1871
|
+
}),
|
|
1872
|
+
tags: !item["tags"] ? item["tags"] : keyValuePairArraySerializer(item["tags"]),
|
|
1873
|
+
types: !item["types"]
|
|
1874
|
+
? item["types"]
|
|
1875
|
+
: item["types"].map((p) => {
|
|
1876
|
+
return p;
|
|
1877
|
+
}),
|
|
741
1878
|
};
|
|
742
1879
|
}
|
|
743
|
-
export function
|
|
1880
|
+
export function configurationExclusionsDeserializer(item) {
|
|
744
1881
|
return {
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
description: item["description"],
|
|
749
|
-
parametersSchema: item["parametersSchema"],
|
|
750
|
-
urn: item["urn"],
|
|
751
|
-
kind: item["kind"],
|
|
752
|
-
azureRbacActions: !item["azureRbacActions"]
|
|
753
|
-
? item["azureRbacActions"]
|
|
754
|
-
: item["azureRbacActions"].map((p) => {
|
|
755
|
-
return p;
|
|
756
|
-
}),
|
|
757
|
-
azureRbacDataActions: !item["azureRbacDataActions"]
|
|
758
|
-
? item["azureRbacDataActions"]
|
|
759
|
-
: item["azureRbacDataActions"].map((p) => {
|
|
1882
|
+
resources: !item["resources"]
|
|
1883
|
+
? item["resources"]
|
|
1884
|
+
: item["resources"].map((p) => {
|
|
760
1885
|
return p;
|
|
761
1886
|
}),
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
1887
|
+
tags: !item["tags"] ? item["tags"] : keyValuePairArrayDeserializer(item["tags"]),
|
|
1888
|
+
types: !item["types"]
|
|
1889
|
+
? item["types"]
|
|
1890
|
+
: item["types"].map((p) => {
|
|
765
1891
|
return p;
|
|
766
1892
|
}),
|
|
767
|
-
runtimeProperties: !item["runtimeProperties"]
|
|
768
|
-
? item["runtimeProperties"]
|
|
769
|
-
: capabilityTypePropertiesRuntimePropertiesDeserializer(item["runtimeProperties"]),
|
|
770
1893
|
};
|
|
771
1894
|
}
|
|
772
|
-
export function
|
|
1895
|
+
export function configurationFiltersSerializer(item) {
|
|
773
1896
|
return {
|
|
774
|
-
|
|
1897
|
+
locations: !item["locations"]
|
|
1898
|
+
? item["locations"]
|
|
1899
|
+
: item["locations"].map((p) => {
|
|
1900
|
+
return p;
|
|
1901
|
+
}),
|
|
1902
|
+
zones: !item["zones"]
|
|
1903
|
+
? item["zones"]
|
|
1904
|
+
: item["zones"].map((p) => {
|
|
1905
|
+
return p;
|
|
1906
|
+
}),
|
|
1907
|
+
physicalZones: !item["physicalZones"]
|
|
1908
|
+
? item["physicalZones"]
|
|
1909
|
+
: item["physicalZones"].map((p) => {
|
|
1910
|
+
return p;
|
|
1911
|
+
}),
|
|
775
1912
|
};
|
|
776
1913
|
}
|
|
777
|
-
export function
|
|
1914
|
+
export function configurationFiltersDeserializer(item) {
|
|
778
1915
|
return {
|
|
779
|
-
|
|
780
|
-
|
|
1916
|
+
locations: !item["locations"]
|
|
1917
|
+
? item["locations"]
|
|
1918
|
+
: item["locations"].map((p) => {
|
|
1919
|
+
return p;
|
|
1920
|
+
}),
|
|
1921
|
+
zones: !item["zones"]
|
|
1922
|
+
? item["zones"]
|
|
1923
|
+
: item["zones"].map((p) => {
|
|
1924
|
+
return p;
|
|
1925
|
+
}),
|
|
1926
|
+
physicalZones: !item["physicalZones"]
|
|
1927
|
+
? item["physicalZones"]
|
|
1928
|
+
: item["physicalZones"].map((p) => {
|
|
1929
|
+
return p;
|
|
1930
|
+
}),
|
|
781
1931
|
};
|
|
782
1932
|
}
|
|
783
|
-
export function
|
|
784
|
-
return result.map((item) => {
|
|
785
|
-
return capabilityTypeDeserializer(item);
|
|
786
|
-
});
|
|
787
|
-
}
|
|
788
|
-
export function _operationListResultDeserializer(item) {
|
|
1933
|
+
export function _scenarioConfigurationListResultDeserializer(item) {
|
|
789
1934
|
return {
|
|
790
|
-
value:
|
|
1935
|
+
value: scenarioConfigurationArrayDeserializer(item["value"]),
|
|
791
1936
|
nextLink: item["nextLink"],
|
|
792
1937
|
};
|
|
793
1938
|
}
|
|
794
|
-
export function
|
|
1939
|
+
export function scenarioConfigurationArraySerializer(result) {
|
|
795
1940
|
return result.map((item) => {
|
|
796
|
-
return
|
|
1941
|
+
return scenarioConfigurationSerializer(item);
|
|
797
1942
|
});
|
|
798
1943
|
}
|
|
799
|
-
export function
|
|
800
|
-
return {
|
|
801
|
-
name: item["name"],
|
|
802
|
-
isDataAction: item["isDataAction"],
|
|
803
|
-
display: !item["display"] ? item["display"] : operationDisplayDeserializer(item["display"]),
|
|
804
|
-
origin: item["origin"],
|
|
805
|
-
actionType: item["actionType"],
|
|
806
|
-
};
|
|
807
|
-
}
|
|
808
|
-
export function operationDisplayDeserializer(item) {
|
|
809
|
-
return {
|
|
810
|
-
provider: item["provider"],
|
|
811
|
-
resource: item["resource"],
|
|
812
|
-
operation: item["operation"],
|
|
813
|
-
description: item["description"],
|
|
814
|
-
};
|
|
815
|
-
}
|
|
816
|
-
/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" */
|
|
817
|
-
export var KnownOrigin;
|
|
818
|
-
(function (KnownOrigin) {
|
|
819
|
-
/** Indicates the operation is initiated by a user. */
|
|
820
|
-
KnownOrigin["User"] = "user";
|
|
821
|
-
/** Indicates the operation is initiated by a system. */
|
|
822
|
-
KnownOrigin["System"] = "system";
|
|
823
|
-
/** Indicates the operation is initiated by a user or system. */
|
|
824
|
-
KnownOrigin["UserSystem"] = "user,system";
|
|
825
|
-
})(KnownOrigin || (KnownOrigin = {}));
|
|
826
|
-
/** Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. */
|
|
827
|
-
export var KnownActionType;
|
|
828
|
-
(function (KnownActionType) {
|
|
829
|
-
/** Actions are for internal-only APIs. */
|
|
830
|
-
KnownActionType["Internal"] = "Internal";
|
|
831
|
-
})(KnownActionType || (KnownActionType = {}));
|
|
832
|
-
export function operationStatusResultDeserializer(item) {
|
|
833
|
-
return {
|
|
834
|
-
id: item["id"],
|
|
835
|
-
name: item["name"],
|
|
836
|
-
status: item["status"],
|
|
837
|
-
percentComplete: item["percentComplete"],
|
|
838
|
-
startTime: !item["startTime"] ? item["startTime"] : new Date(item["startTime"]),
|
|
839
|
-
endTime: !item["endTime"] ? item["endTime"] : new Date(item["endTime"]),
|
|
840
|
-
operations: !item["operations"]
|
|
841
|
-
? item["operations"]
|
|
842
|
-
: operationStatusResultArrayDeserializer(item["operations"]),
|
|
843
|
-
error: !item["error"] ? item["error"] : errorDetailDeserializer(item["error"]),
|
|
844
|
-
resourceId: item["resourceId"],
|
|
845
|
-
};
|
|
846
|
-
}
|
|
847
|
-
export function operationStatusResultArrayDeserializer(result) {
|
|
1944
|
+
export function scenarioConfigurationArrayDeserializer(result) {
|
|
848
1945
|
return result.map((item) => {
|
|
849
|
-
return
|
|
1946
|
+
return scenarioConfigurationDeserializer(item);
|
|
850
1947
|
});
|
|
851
1948
|
}
|
|
852
|
-
export function
|
|
853
|
-
return { properties: item["properties"], location: item["location"] };
|
|
854
|
-
}
|
|
855
|
-
export function targetDeserializer(item) {
|
|
1949
|
+
export function validationDeserializer(item) {
|
|
856
1950
|
return {
|
|
857
1951
|
id: item["id"],
|
|
858
1952
|
name: item["name"],
|
|
@@ -860,27 +1954,53 @@ export function targetDeserializer(item) {
|
|
|
860
1954
|
systemData: !item["systemData"]
|
|
861
1955
|
? item["systemData"]
|
|
862
1956
|
: systemDataDeserializer(item["systemData"]),
|
|
863
|
-
properties: item["properties"]
|
|
864
|
-
|
|
1957
|
+
properties: !item["properties"]
|
|
1958
|
+
? item["properties"]
|
|
1959
|
+
: validationPropertiesDeserializer(item["properties"]),
|
|
865
1960
|
};
|
|
866
1961
|
}
|
|
867
|
-
export function
|
|
1962
|
+
export function validationPropertiesDeserializer(item) {
|
|
868
1963
|
return {
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
}
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
1964
|
+
status: item["status"],
|
|
1965
|
+
startTime: new Date(item["startTime"]),
|
|
1966
|
+
executionPlanJson: item["executionPlanJson"],
|
|
1967
|
+
endTime: !item["endTime"] ? item["endTime"] : new Date(item["endTime"]),
|
|
1968
|
+
errors: !item["errors"] ? item["errors"] : operationErrorArrayDeserializer(item["errors"]),
|
|
1969
|
+
validationErrors: !item["validationErrors"]
|
|
1970
|
+
? item["validationErrors"]
|
|
1971
|
+
: scenarioErrorsDeserializer(item["validationErrors"]),
|
|
1972
|
+
};
|
|
1973
|
+
}
|
|
1974
|
+
/** Enum of the scenario validation state. */
|
|
1975
|
+
export var KnownScenarioValidationState;
|
|
1976
|
+
(function (KnownScenarioValidationState) {
|
|
1977
|
+
/** The scenario validation is in a resolving state. */
|
|
1978
|
+
KnownScenarioValidationState["Resolving"] = "Resolving";
|
|
1979
|
+
/** The scenario validation is in a generating state. */
|
|
1980
|
+
KnownScenarioValidationState["Generating"] = "Generating";
|
|
1981
|
+
/** The scenario validation is in a validating state. */
|
|
1982
|
+
KnownScenarioValidationState["Validating"] = "Validating";
|
|
1983
|
+
/** The scenario validation has been accepted. */
|
|
1984
|
+
KnownScenarioValidationState["Accepted"] = "Accepted";
|
|
1985
|
+
/** The scenario validation has not yet started. */
|
|
1986
|
+
KnownScenarioValidationState["NotStarted"] = "NotStarted";
|
|
1987
|
+
/**
|
|
1988
|
+
* The scenario validation reflects a state that requires attention.
|
|
1989
|
+
* This is a terminal failure state indicating validation issues were found.
|
|
1990
|
+
*/
|
|
1991
|
+
KnownScenarioValidationState["RequiresAttention"] = "RequiresAttention";
|
|
1992
|
+
/**
|
|
1993
|
+
* The scenario validation found no valid resources to perform fault behaviors against.
|
|
1994
|
+
* This is a terminal failure state.
|
|
1995
|
+
*/
|
|
1996
|
+
KnownScenarioValidationState["NoResolvedResources"] = "NoResolvedResources";
|
|
1997
|
+
/** The scenario validation completed successfully and the scenario is ready to execute. */
|
|
1998
|
+
KnownScenarioValidationState["Succeeded"] = "Succeeded";
|
|
1999
|
+
})(KnownScenarioValidationState || (KnownScenarioValidationState = {}));
|
|
2000
|
+
export function fixResourcePermissionsRequestSerializer(item) {
|
|
2001
|
+
return { whatIf: item["whatIf"] };
|
|
2002
|
+
}
|
|
2003
|
+
export function permissionsFixDeserializer(item) {
|
|
884
2004
|
return {
|
|
885
2005
|
id: item["id"],
|
|
886
2006
|
name: item["name"],
|
|
@@ -888,36 +2008,86 @@ export function targetTypeDeserializer(item) {
|
|
|
888
2008
|
systemData: !item["systemData"]
|
|
889
2009
|
? item["systemData"]
|
|
890
2010
|
: systemDataDeserializer(item["systemData"]),
|
|
891
|
-
properties:
|
|
892
|
-
|
|
2011
|
+
properties: !item["properties"]
|
|
2012
|
+
? item["properties"]
|
|
2013
|
+
: permissionsFixPropertiesDeserializer(item["properties"]),
|
|
2014
|
+
};
|
|
2015
|
+
}
|
|
2016
|
+
export function permissionsFixPropertiesDeserializer(item) {
|
|
2017
|
+
return {
|
|
2018
|
+
state: item["state"],
|
|
2019
|
+
startedAt: new Date(item["startedAt"]),
|
|
2020
|
+
completedAt: !item["completedAt"] ? item["completedAt"] : new Date(item["completedAt"]),
|
|
2021
|
+
whatIfMode: item["whatIfMode"],
|
|
2022
|
+
roleAssignments: roleAssignmentResultArrayDeserializer(item["roleAssignments"]),
|
|
2023
|
+
summary: permissionsFixSummaryDeserializer(item["summary"]),
|
|
2024
|
+
};
|
|
2025
|
+
}
|
|
2026
|
+
/** Enum of the permission fix state. */
|
|
2027
|
+
export var KnownPermissionsFixState;
|
|
2028
|
+
(function (KnownPermissionsFixState) {
|
|
2029
|
+
/** The permission fix has not started. */
|
|
2030
|
+
KnownPermissionsFixState["NotStarted"] = "NotStarted";
|
|
2031
|
+
/** The permission fix is in progress. */
|
|
2032
|
+
KnownPermissionsFixState["InProgress"] = "InProgress";
|
|
2033
|
+
/** All role assignments succeeded. */
|
|
2034
|
+
KnownPermissionsFixState["Succeeded"] = "Succeeded";
|
|
2035
|
+
/** All role assignments failed. */
|
|
2036
|
+
KnownPermissionsFixState["Failed"] = "Failed";
|
|
2037
|
+
/** Some role assignments succeeded and some failed. */
|
|
2038
|
+
KnownPermissionsFixState["PartiallySucceeded"] = "PartiallySucceeded";
|
|
2039
|
+
/** What-if analysis completed (no changes made). */
|
|
2040
|
+
KnownPermissionsFixState["WhatIfCompleted"] = "WhatIfCompleted";
|
|
2041
|
+
})(KnownPermissionsFixState || (KnownPermissionsFixState = {}));
|
|
2042
|
+
export function roleAssignmentResultArrayDeserializer(result) {
|
|
2043
|
+
return result.map((item) => {
|
|
2044
|
+
return roleAssignmentResultDeserializer(item);
|
|
2045
|
+
});
|
|
893
2046
|
}
|
|
894
|
-
export function
|
|
2047
|
+
export function roleAssignmentResultDeserializer(item) {
|
|
895
2048
|
return {
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
2049
|
+
targetResourceId: item["targetResourceId"],
|
|
2050
|
+
principalId: item["principalId"],
|
|
2051
|
+
roleDefinitionId: item["roleDefinitionId"],
|
|
2052
|
+
roleDefinitionName: item["roleDefinitionName"],
|
|
2053
|
+
scope: item["scope"],
|
|
2054
|
+
status: item["status"],
|
|
2055
|
+
roleAssignmentId: item["roleAssignmentId"],
|
|
2056
|
+
error: !item["error"] ? item["error"] : roleAssignmentErrorDeserializer(item["error"]),
|
|
2057
|
+
};
|
|
2058
|
+
}
|
|
2059
|
+
/** Enum of the role assignment status. */
|
|
2060
|
+
export var KnownRoleAssignmentStatus;
|
|
2061
|
+
(function (KnownRoleAssignmentStatus) {
|
|
2062
|
+
/** The role assignment succeeded. */
|
|
2063
|
+
KnownRoleAssignmentStatus["Succeeded"] = "Succeeded";
|
|
2064
|
+
/** The role assignment failed. */
|
|
2065
|
+
KnownRoleAssignmentStatus["Failed"] = "Failed";
|
|
2066
|
+
/** The role assignment was skipped (already exists). */
|
|
2067
|
+
KnownRoleAssignmentStatus["Skipped"] = "Skipped";
|
|
2068
|
+
/** The role assignment is pending (what-if mode). */
|
|
2069
|
+
KnownRoleAssignmentStatus["Pending"] = "Pending";
|
|
2070
|
+
})(KnownRoleAssignmentStatus || (KnownRoleAssignmentStatus = {}));
|
|
2071
|
+
export function roleAssignmentErrorDeserializer(item) {
|
|
2072
|
+
return {
|
|
2073
|
+
code: item["code"],
|
|
2074
|
+
message: item["message"],
|
|
904
2075
|
};
|
|
905
2076
|
}
|
|
906
|
-
export function
|
|
2077
|
+
export function permissionsFixSummaryDeserializer(item) {
|
|
907
2078
|
return {
|
|
908
|
-
|
|
909
|
-
|
|
2079
|
+
totalRequired: item["totalRequired"],
|
|
2080
|
+
succeeded: item["succeeded"],
|
|
2081
|
+
failed: item["failed"],
|
|
2082
|
+
skipped: item["skipped"],
|
|
910
2083
|
};
|
|
911
2084
|
}
|
|
912
|
-
export function targetTypeArrayDeserializer(result) {
|
|
913
|
-
return result.map((item) => {
|
|
914
|
-
return targetTypeDeserializer(item);
|
|
915
|
-
});
|
|
916
|
-
}
|
|
917
2085
|
/** The available API versions. */
|
|
918
2086
|
export var KnownVersions;
|
|
919
2087
|
(function (KnownVersions) {
|
|
920
2088
|
/** The 2025-01-01 API version. */
|
|
921
2089
|
KnownVersions["V20250101"] = "2025-01-01";
|
|
2090
|
+
/** The 2026-05-01-preview API version. */
|
|
2091
|
+
KnownVersions["V20260501Preview"] = "2026-05-01-preview";
|
|
922
2092
|
})(KnownVersions || (KnownVersions = {}));
|
|
923
2093
|
//# sourceMappingURL=models.js.map
|