@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,3 +1,291 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file contains only generated model types and their (de)serializers.
|
|
3
|
+
* Disable the following rules for internal models with '_' prefix and deserializers which require 'any' for raw JSON input.
|
|
4
|
+
*/
|
|
5
|
+
/** Model that represents a Capability resource. */
|
|
6
|
+
export interface Capability extends ProxyResource {
|
|
7
|
+
/** The properties of a capability resource. */
|
|
8
|
+
properties?: CapabilityProperties;
|
|
9
|
+
}
|
|
10
|
+
export declare function capabilitySerializer(item: Capability): any;
|
|
11
|
+
export declare function capabilityDeserializer(item: any): Capability;
|
|
12
|
+
/** Model that represents the Capability properties model. */
|
|
13
|
+
export interface CapabilityProperties {
|
|
14
|
+
/** String of the Publisher that this Capability extends. */
|
|
15
|
+
readonly publisher?: string;
|
|
16
|
+
/** String of the Target Type that this Capability extends. */
|
|
17
|
+
readonly targetType?: string;
|
|
18
|
+
/** Localized string of the description. */
|
|
19
|
+
readonly description?: string;
|
|
20
|
+
/** URL to retrieve JSON schema of the Capability parameters. */
|
|
21
|
+
readonly parametersSchema?: string;
|
|
22
|
+
/** String of the URN for this Capability Type. */
|
|
23
|
+
readonly urn?: string;
|
|
24
|
+
/** Resource provisioning state. Not currently in use because resource is created synchronously. */
|
|
25
|
+
readonly provisioningState?: ProvisioningState;
|
|
26
|
+
}
|
|
27
|
+
export declare function capabilityPropertiesSerializer(_item: CapabilityProperties): any;
|
|
28
|
+
export declare function capabilityPropertiesDeserializer(item: any): CapabilityProperties;
|
|
29
|
+
/** Current provisioning state for a given Azure Chaos resource. */
|
|
30
|
+
export declare enum KnownProvisioningState {
|
|
31
|
+
/** Resource has been created. */
|
|
32
|
+
Succeeded = "Succeeded",
|
|
33
|
+
/** Resource creation failed. */
|
|
34
|
+
Failed = "Failed",
|
|
35
|
+
/** Resource creation was canceled. */
|
|
36
|
+
Canceled = "Canceled",
|
|
37
|
+
/** Initial creation in progress. */
|
|
38
|
+
Creating = "Creating",
|
|
39
|
+
/** Update in progress. */
|
|
40
|
+
Updating = "Updating",
|
|
41
|
+
/** Deletion in progress. */
|
|
42
|
+
Deleting = "Deleting",
|
|
43
|
+
/** Action is running. */
|
|
44
|
+
Running = "Running"
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Current provisioning state for a given Azure Chaos resource. \
|
|
48
|
+
* {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
|
|
49
|
+
* this enum contains the known values that the service supports.
|
|
50
|
+
* ### Known values supported by the service
|
|
51
|
+
* **Succeeded**: Resource has been created. \
|
|
52
|
+
* **Failed**: Resource creation failed. \
|
|
53
|
+
* **Canceled**: Resource creation was canceled. \
|
|
54
|
+
* **Creating**: Initial creation in progress. \
|
|
55
|
+
* **Updating**: Update in progress. \
|
|
56
|
+
* **Deleting**: Deletion in progress. \
|
|
57
|
+
* **Running**: Action is running.
|
|
58
|
+
*/
|
|
59
|
+
export type ProvisioningState = string;
|
|
60
|
+
/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
|
|
61
|
+
export interface ProxyResource extends Resource {
|
|
62
|
+
}
|
|
63
|
+
export declare function proxyResourceSerializer(_item: ProxyResource): any;
|
|
64
|
+
export declare function proxyResourceDeserializer(item: any): ProxyResource;
|
|
65
|
+
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
|
66
|
+
export interface Resource {
|
|
67
|
+
/** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */
|
|
68
|
+
readonly id?: string;
|
|
69
|
+
/** The name of the resource */
|
|
70
|
+
readonly name?: string;
|
|
71
|
+
/** The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */
|
|
72
|
+
readonly type?: string;
|
|
73
|
+
/** Azure Resource Manager metadata containing createdBy and modifiedBy information. */
|
|
74
|
+
readonly systemData?: SystemData;
|
|
75
|
+
}
|
|
76
|
+
export declare function resourceSerializer(_item: Resource): any;
|
|
77
|
+
export declare function resourceDeserializer(item: any): Resource;
|
|
78
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
|
79
|
+
export interface SystemData {
|
|
80
|
+
/** The identity that created the resource. */
|
|
81
|
+
createdBy?: string;
|
|
82
|
+
/** The type of identity that created the resource. */
|
|
83
|
+
createdByType?: CreatedByType;
|
|
84
|
+
/** The timestamp of resource creation (UTC). */
|
|
85
|
+
createdAt?: Date;
|
|
86
|
+
/** The identity that last modified the resource. */
|
|
87
|
+
lastModifiedBy?: string;
|
|
88
|
+
/** The type of identity that last modified the resource. */
|
|
89
|
+
lastModifiedByType?: CreatedByType;
|
|
90
|
+
/** The timestamp of resource last modification (UTC) */
|
|
91
|
+
lastModifiedAt?: Date;
|
|
92
|
+
}
|
|
93
|
+
export declare function systemDataDeserializer(item: any): SystemData;
|
|
94
|
+
/** The kind of entity that created the resource. */
|
|
95
|
+
export declare enum KnownCreatedByType {
|
|
96
|
+
/** The entity was created by a user. */
|
|
97
|
+
User = "User",
|
|
98
|
+
/** The entity was created by an application. */
|
|
99
|
+
Application = "Application",
|
|
100
|
+
/** The entity was created by a managed identity. */
|
|
101
|
+
ManagedIdentity = "ManagedIdentity",
|
|
102
|
+
/** The entity was created by a key. */
|
|
103
|
+
Key = "Key"
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* The kind of entity that created the resource. \
|
|
107
|
+
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
|
|
108
|
+
* this enum contains the known values that the service supports.
|
|
109
|
+
* ### Known values supported by the service
|
|
110
|
+
* **User**: The entity was created by a user. \
|
|
111
|
+
* **Application**: The entity was created by an application. \
|
|
112
|
+
* **ManagedIdentity**: The entity was created by a managed identity. \
|
|
113
|
+
* **Key**: The entity was created by a key.
|
|
114
|
+
*/
|
|
115
|
+
export type CreatedByType = string;
|
|
116
|
+
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */
|
|
117
|
+
export interface ErrorResponse {
|
|
118
|
+
/** The error object. */
|
|
119
|
+
error?: ErrorDetail;
|
|
120
|
+
}
|
|
121
|
+
export declare function errorResponseDeserializer(item: any): ErrorResponse;
|
|
122
|
+
/** The error detail. */
|
|
123
|
+
export interface ErrorDetail {
|
|
124
|
+
/** The error code. */
|
|
125
|
+
readonly code?: string;
|
|
126
|
+
/** The error message. */
|
|
127
|
+
readonly message?: string;
|
|
128
|
+
/** The error target. */
|
|
129
|
+
readonly target?: string;
|
|
130
|
+
/** The error details. */
|
|
131
|
+
readonly details?: ErrorDetail[];
|
|
132
|
+
/** The error additional info. */
|
|
133
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
134
|
+
}
|
|
135
|
+
export declare function errorDetailDeserializer(item: any): ErrorDetail;
|
|
136
|
+
export declare function errorDetailArrayDeserializer(result: Array<ErrorDetail>): any[];
|
|
137
|
+
export declare function errorAdditionalInfoArrayDeserializer(result: Array<ErrorAdditionalInfo>): any[];
|
|
138
|
+
/** The resource management error additional info. */
|
|
139
|
+
export interface ErrorAdditionalInfo {
|
|
140
|
+
/** The additional info type. */
|
|
141
|
+
readonly type?: string;
|
|
142
|
+
/** The additional info. */
|
|
143
|
+
readonly info?: any;
|
|
144
|
+
}
|
|
145
|
+
export declare function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo;
|
|
146
|
+
/** Model that represents a list of Capability resources and a link for pagination. */
|
|
147
|
+
export interface _CapabilityListResult {
|
|
148
|
+
/** The Capability items on this page */
|
|
149
|
+
value: Capability[];
|
|
150
|
+
/** The link to the next page of items */
|
|
151
|
+
nextLink?: string;
|
|
152
|
+
}
|
|
153
|
+
export declare function _capabilityListResultDeserializer(item: any): _CapabilityListResult;
|
|
154
|
+
export declare function capabilityArraySerializer(result: Array<Capability>): any[];
|
|
155
|
+
export declare function capabilityArrayDeserializer(result: Array<Capability>): any[];
|
|
156
|
+
/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
|
|
157
|
+
export interface _OperationListResult {
|
|
158
|
+
/** The Operation items on this page */
|
|
159
|
+
value: Operation[];
|
|
160
|
+
/** The link to the next page of items */
|
|
161
|
+
nextLink?: string;
|
|
162
|
+
}
|
|
163
|
+
export declare function _operationListResultDeserializer(item: any): _OperationListResult;
|
|
164
|
+
export declare function operationArrayDeserializer(result: Array<Operation>): any[];
|
|
165
|
+
/** Details of a REST API operation, returned from the Resource Provider Operations API */
|
|
166
|
+
export interface Operation {
|
|
167
|
+
/** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action" */
|
|
168
|
+
readonly name?: string;
|
|
169
|
+
/** Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for Azure Resource Manager/control-plane operations. */
|
|
170
|
+
readonly isDataAction?: boolean;
|
|
171
|
+
/** Localized display information for this particular operation. */
|
|
172
|
+
display?: OperationDisplay;
|
|
173
|
+
/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" */
|
|
174
|
+
readonly origin?: Origin;
|
|
175
|
+
/** Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. */
|
|
176
|
+
readonly actionType?: ActionType;
|
|
177
|
+
}
|
|
178
|
+
export declare function operationDeserializer(item: any): Operation;
|
|
179
|
+
/** Localized display information for an operation. */
|
|
180
|
+
export interface OperationDisplay {
|
|
181
|
+
/** The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute". */
|
|
182
|
+
readonly provider?: string;
|
|
183
|
+
/** The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections". */
|
|
184
|
+
readonly resource?: string;
|
|
185
|
+
/** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine". */
|
|
186
|
+
readonly operation?: string;
|
|
187
|
+
/** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */
|
|
188
|
+
readonly description?: string;
|
|
189
|
+
}
|
|
190
|
+
export declare function operationDisplayDeserializer(item: any): OperationDisplay;
|
|
191
|
+
/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" */
|
|
192
|
+
export declare enum KnownOrigin {
|
|
193
|
+
/** Indicates the operation is initiated by a user. */
|
|
194
|
+
User = "user",
|
|
195
|
+
/** Indicates the operation is initiated by a system. */
|
|
196
|
+
System = "system",
|
|
197
|
+
/** Indicates the operation is initiated by a user or system. */
|
|
198
|
+
UserSystem = "user,system"
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" \
|
|
202
|
+
* {@link KnownOrigin} can be used interchangeably with Origin,
|
|
203
|
+
* this enum contains the known values that the service supports.
|
|
204
|
+
* ### Known values supported by the service
|
|
205
|
+
* **user**: Indicates the operation is initiated by a user. \
|
|
206
|
+
* **system**: Indicates the operation is initiated by a system. \
|
|
207
|
+
* **user,system**: Indicates the operation is initiated by a user or system.
|
|
208
|
+
*/
|
|
209
|
+
export type Origin = string;
|
|
210
|
+
/** Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. */
|
|
211
|
+
export declare enum KnownActionType {
|
|
212
|
+
/** Actions are for internal-only APIs. */
|
|
213
|
+
Internal = "Internal"
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. \
|
|
217
|
+
* {@link KnownActionType} can be used interchangeably with ActionType,
|
|
218
|
+
* this enum contains the known values that the service supports.
|
|
219
|
+
* ### Known values supported by the service
|
|
220
|
+
* **Internal**: Actions are for internal-only APIs.
|
|
221
|
+
*/
|
|
222
|
+
export type ActionType = string;
|
|
223
|
+
/** Model that represents a Target resource. */
|
|
224
|
+
export interface Target extends ProxyResource {
|
|
225
|
+
/** The properties of the target resource. */
|
|
226
|
+
properties: Record<string, any>;
|
|
227
|
+
/** Azure resource location. */
|
|
228
|
+
location?: string;
|
|
229
|
+
}
|
|
230
|
+
export declare function targetSerializer(item: Target): any;
|
|
231
|
+
export declare function targetDeserializer(item: any): Target;
|
|
232
|
+
/** Model that represents a list of Target resources and a link for pagination. */
|
|
233
|
+
export interface _TargetListResult {
|
|
234
|
+
/** The Target items on this page */
|
|
235
|
+
value: Target[];
|
|
236
|
+
/** The link to the next page of items */
|
|
237
|
+
nextLink?: string;
|
|
238
|
+
}
|
|
239
|
+
export declare function _targetListResultDeserializer(item: any): _TargetListResult;
|
|
240
|
+
export declare function targetArraySerializer(result: Array<Target>): any[];
|
|
241
|
+
export declare function targetArrayDeserializer(result: Array<Target>): any[];
|
|
242
|
+
/** Model that represents a Capability Type resource. */
|
|
243
|
+
export interface CapabilityType extends ProxyResource {
|
|
244
|
+
/** The properties of the capability type resource. */
|
|
245
|
+
properties?: CapabilityTypeProperties;
|
|
246
|
+
}
|
|
247
|
+
export declare function capabilityTypeDeserializer(item: any): CapabilityType;
|
|
248
|
+
/** Model that represents the Capability Type properties model. */
|
|
249
|
+
export interface CapabilityTypeProperties {
|
|
250
|
+
/** String of the Publisher that this Capability Type extends. */
|
|
251
|
+
readonly publisher?: string;
|
|
252
|
+
/** String of the Target Type that this Capability Type extends. */
|
|
253
|
+
readonly targetType?: string;
|
|
254
|
+
/** Localized string of the display name. */
|
|
255
|
+
readonly displayName?: string;
|
|
256
|
+
/** Localized string of the description. */
|
|
257
|
+
readonly description?: string;
|
|
258
|
+
/** URL to retrieve JSON schema of the Capability Type parameters. */
|
|
259
|
+
readonly parametersSchema?: string;
|
|
260
|
+
/** String of the URN for this Capability Type. */
|
|
261
|
+
readonly urn?: string;
|
|
262
|
+
/** String of the kind of this Capability Type. */
|
|
263
|
+
readonly kind?: string;
|
|
264
|
+
/** Control plane actions necessary to execute capability type. */
|
|
265
|
+
readonly azureRbacActions?: string[];
|
|
266
|
+
/** Data plane actions necessary to execute capability type. */
|
|
267
|
+
readonly azureRbacDataActions?: string[];
|
|
268
|
+
/** Required Azure Role Definition Ids to execute capability type. */
|
|
269
|
+
readonly requiredAzureRoleDefinitionIds?: string[];
|
|
270
|
+
/** Runtime properties of this Capability Type. */
|
|
271
|
+
readonly runtimeProperties?: CapabilityTypePropertiesRuntimeProperties;
|
|
272
|
+
}
|
|
273
|
+
export declare function capabilityTypePropertiesDeserializer(item: any): CapabilityTypeProperties;
|
|
274
|
+
/** Runtime properties of this Capability Type. */
|
|
275
|
+
export interface CapabilityTypePropertiesRuntimeProperties {
|
|
276
|
+
/** String of the kind of the resource's action type (continuous or discrete). */
|
|
277
|
+
readonly kind?: string;
|
|
278
|
+
}
|
|
279
|
+
export declare function capabilityTypePropertiesRuntimePropertiesDeserializer(item: any): CapabilityTypePropertiesRuntimeProperties;
|
|
280
|
+
/** Model that represents a list of Capability Type resources and a link for pagination. */
|
|
281
|
+
export interface _CapabilityTypeListResult {
|
|
282
|
+
/** The CapabilityType items on this page */
|
|
283
|
+
value: CapabilityType[];
|
|
284
|
+
/** The link to the next page of items */
|
|
285
|
+
nextLink?: string;
|
|
286
|
+
}
|
|
287
|
+
export declare function _capabilityTypeListResultDeserializer(item: any): _CapabilityTypeListResult;
|
|
288
|
+
export declare function capabilityTypeArrayDeserializer(result: Array<CapabilityType>): any[];
|
|
1
289
|
/** Model that represents a Experiment resource. */
|
|
2
290
|
export interface Experiment extends TrackedResource {
|
|
3
291
|
/** The managed service identities assigned to this resource. */
|
|
@@ -16,7 +304,7 @@ export interface ManagedServiceIdentity {
|
|
|
16
304
|
/** The type of managed identity assigned to this resource. */
|
|
17
305
|
type: ManagedServiceIdentityType;
|
|
18
306
|
/** The identities assigned to this resource by the user. */
|
|
19
|
-
userAssignedIdentities?: Record<string, UserAssignedIdentity
|
|
307
|
+
userAssignedIdentities?: Record<string, UserAssignedIdentity>;
|
|
20
308
|
}
|
|
21
309
|
export declare function managedServiceIdentitySerializer(item: ManagedServiceIdentity): any;
|
|
22
310
|
export declare function managedServiceIdentityDeserializer(item: any): ManagedServiceIdentity;
|
|
@@ -49,7 +337,7 @@ export interface UserAssignedIdentity {
|
|
|
49
337
|
/** The client ID of the assigned identity. */
|
|
50
338
|
readonly clientId?: string;
|
|
51
339
|
}
|
|
52
|
-
export declare function userAssignedIdentitySerializer(
|
|
340
|
+
export declare function userAssignedIdentitySerializer(_item: UserAssignedIdentity): any;
|
|
53
341
|
export declare function userAssignedIdentityDeserializer(item: any): UserAssignedIdentity;
|
|
54
342
|
/** Model that represents the Experiment properties model. */
|
|
55
343
|
export interface ExperimentProperties {
|
|
@@ -59,37 +347,11 @@ export interface ExperimentProperties {
|
|
|
59
347
|
steps: ChaosExperimentStep[];
|
|
60
348
|
/** List of selectors. */
|
|
61
349
|
selectors: ChaosTargetSelectorUnion[];
|
|
350
|
+
/** Optional customer-managed Storage account where Experiment schema will be stored. */
|
|
351
|
+
customerDataStorage?: CustomerDataStorageProperties;
|
|
62
352
|
}
|
|
63
353
|
export declare function experimentPropertiesSerializer(item: ExperimentProperties): any;
|
|
64
354
|
export declare function experimentPropertiesDeserializer(item: any): ExperimentProperties;
|
|
65
|
-
/** Current provisioning state for a given Azure Chaos resource. */
|
|
66
|
-
export declare enum KnownProvisioningState {
|
|
67
|
-
/** Resource has been created. */
|
|
68
|
-
Succeeded = "Succeeded",
|
|
69
|
-
/** Resource creation failed. */
|
|
70
|
-
Failed = "Failed",
|
|
71
|
-
/** Resource creation was canceled. */
|
|
72
|
-
Canceled = "Canceled",
|
|
73
|
-
/** Initial creation in progress. */
|
|
74
|
-
Creating = "Creating",
|
|
75
|
-
/** Update in progress. */
|
|
76
|
-
Updating = "Updating",
|
|
77
|
-
/** Deletion in progress. */
|
|
78
|
-
Deleting = "Deleting"
|
|
79
|
-
}
|
|
80
|
-
/**
|
|
81
|
-
* Current provisioning state for a given Azure Chaos resource. \
|
|
82
|
-
* {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
|
|
83
|
-
* this enum contains the known values that the service supports.
|
|
84
|
-
* ### Known values supported by the service
|
|
85
|
-
* **Succeeded**: Resource has been created. \
|
|
86
|
-
* **Failed**: Resource creation failed. \
|
|
87
|
-
* **Canceled**: Resource creation was canceled. \
|
|
88
|
-
* **Creating**: Initial creation in progress. \
|
|
89
|
-
* **Updating**: Update in progress. \
|
|
90
|
-
* **Deleting**: Deletion in progress.
|
|
91
|
-
*/
|
|
92
|
-
export type ProvisioningState = string;
|
|
93
355
|
export declare function chaosExperimentStepArraySerializer(result: Array<ChaosExperimentStep>): any[];
|
|
94
356
|
export declare function chaosExperimentStepArrayDeserializer(result: Array<ChaosExperimentStep>): any[];
|
|
95
357
|
/** Model that represents a step in the Experiment resource. */
|
|
@@ -130,8 +392,11 @@ export declare function chaosExperimentActionUnionSerializer(item: ChaosExperime
|
|
|
130
392
|
export declare function chaosExperimentActionUnionDeserializer(item: any): ChaosExperimentActionUnion;
|
|
131
393
|
/** Enum union of Chaos experiment action types. */
|
|
132
394
|
export declare enum KnownExperimentActionType {
|
|
395
|
+
/** delay */
|
|
133
396
|
Delay = "delay",
|
|
397
|
+
/** discrete */
|
|
134
398
|
Discrete = "discrete",
|
|
399
|
+
/** continuous */
|
|
135
400
|
Continuous = "continuous"
|
|
136
401
|
}
|
|
137
402
|
/**
|
|
@@ -159,7 +424,7 @@ export declare function continuousActionSerializer(item: ContinuousAction): any;
|
|
|
159
424
|
export declare function continuousActionDeserializer(item: any): ContinuousAction;
|
|
160
425
|
export declare function keyValuePairArraySerializer(result: Array<KeyValuePair>): any[];
|
|
161
426
|
export declare function keyValuePairArrayDeserializer(result: Array<KeyValuePair>): any[];
|
|
162
|
-
/** A
|
|
427
|
+
/** A key-value pair used to describe parameters for actions or configurations. */
|
|
163
428
|
export interface KeyValuePair {
|
|
164
429
|
/** The name of the setting for the action. */
|
|
165
430
|
key: string;
|
|
@@ -307,6 +572,15 @@ export interface ChaosTargetQuerySelector extends ChaosTargetSelector {
|
|
|
307
572
|
}
|
|
308
573
|
export declare function chaosTargetQuerySelectorSerializer(item: ChaosTargetQuerySelector): any;
|
|
309
574
|
export declare function chaosTargetQuerySelectorDeserializer(item: any): ChaosTargetQuerySelector;
|
|
575
|
+
/** Model that represents the Customer Managed Storage for an Experiment. */
|
|
576
|
+
export interface CustomerDataStorageProperties {
|
|
577
|
+
/** Azure Resource ID of the Storage account to use for Customer Data storage. */
|
|
578
|
+
storageAccountResourceId?: string;
|
|
579
|
+
/** Name of the Azure Blob Storage container to use or create. */
|
|
580
|
+
blobContainerName?: string;
|
|
581
|
+
}
|
|
582
|
+
export declare function customerDataStoragePropertiesSerializer(item: CustomerDataStorageProperties): any;
|
|
583
|
+
export declare function customerDataStoragePropertiesDeserializer(item: any): CustomerDataStorageProperties;
|
|
310
584
|
/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
|
|
311
585
|
export interface TrackedResource extends Resource {
|
|
312
586
|
/** Resource tags. */
|
|
@@ -316,91 +590,6 @@ export interface TrackedResource extends Resource {
|
|
|
316
590
|
}
|
|
317
591
|
export declare function trackedResourceSerializer(item: TrackedResource): any;
|
|
318
592
|
export declare function trackedResourceDeserializer(item: any): TrackedResource;
|
|
319
|
-
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
|
320
|
-
export interface Resource {
|
|
321
|
-
/** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */
|
|
322
|
-
readonly id?: string;
|
|
323
|
-
/** The name of the resource */
|
|
324
|
-
readonly name?: string;
|
|
325
|
-
/** The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */
|
|
326
|
-
readonly type?: string;
|
|
327
|
-
/** Azure Resource Manager metadata containing createdBy and modifiedBy information. */
|
|
328
|
-
readonly systemData?: SystemData;
|
|
329
|
-
}
|
|
330
|
-
export declare function resourceSerializer(item: Resource): any;
|
|
331
|
-
export declare function resourceDeserializer(item: any): Resource;
|
|
332
|
-
/** Metadata pertaining to creation and last modification of the resource. */
|
|
333
|
-
export interface SystemData {
|
|
334
|
-
/** The identity that created the resource. */
|
|
335
|
-
createdBy?: string;
|
|
336
|
-
/** The type of identity that created the resource. */
|
|
337
|
-
createdByType?: CreatedByType;
|
|
338
|
-
/** The timestamp of resource creation (UTC). */
|
|
339
|
-
createdAt?: Date;
|
|
340
|
-
/** The identity that last modified the resource. */
|
|
341
|
-
lastModifiedBy?: string;
|
|
342
|
-
/** The type of identity that last modified the resource. */
|
|
343
|
-
lastModifiedByType?: CreatedByType;
|
|
344
|
-
/** The timestamp of resource last modification (UTC) */
|
|
345
|
-
lastModifiedAt?: Date;
|
|
346
|
-
}
|
|
347
|
-
export declare function systemDataDeserializer(item: any): SystemData;
|
|
348
|
-
/** The kind of entity that created the resource. */
|
|
349
|
-
export declare enum KnownCreatedByType {
|
|
350
|
-
/** The entity was created by a user. */
|
|
351
|
-
User = "User",
|
|
352
|
-
/** The entity was created by an application. */
|
|
353
|
-
Application = "Application",
|
|
354
|
-
/** The entity was created by a managed identity. */
|
|
355
|
-
ManagedIdentity = "ManagedIdentity",
|
|
356
|
-
/** The entity was created by a key. */
|
|
357
|
-
Key = "Key"
|
|
358
|
-
}
|
|
359
|
-
/**
|
|
360
|
-
* The kind of entity that created the resource. \
|
|
361
|
-
* {@link KnowncreatedByType} can be used interchangeably with createdByType,
|
|
362
|
-
* this enum contains the known values that the service supports.
|
|
363
|
-
* ### Known values supported by the service
|
|
364
|
-
* **User**: The entity was created by a user. \
|
|
365
|
-
* **Application**: The entity was created by an application. \
|
|
366
|
-
* **ManagedIdentity**: The entity was created by a managed identity. \
|
|
367
|
-
* **Key**: The entity was created by a key.
|
|
368
|
-
*/
|
|
369
|
-
export type CreatedByType = string;
|
|
370
|
-
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */
|
|
371
|
-
export interface ErrorResponse {
|
|
372
|
-
/** The error object. */
|
|
373
|
-
error?: ErrorDetail;
|
|
374
|
-
}
|
|
375
|
-
export declare function errorResponseDeserializer(item: any): ErrorResponse;
|
|
376
|
-
/** The error detail. */
|
|
377
|
-
export interface ErrorDetail {
|
|
378
|
-
/** The error code. */
|
|
379
|
-
readonly code?: string;
|
|
380
|
-
/** The error message. */
|
|
381
|
-
readonly message?: string;
|
|
382
|
-
/** The error target. */
|
|
383
|
-
readonly target?: string;
|
|
384
|
-
/** The error details. */
|
|
385
|
-
readonly details?: ErrorDetail[];
|
|
386
|
-
/** The error additional info. */
|
|
387
|
-
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
388
|
-
}
|
|
389
|
-
export declare function errorDetailDeserializer(item: any): ErrorDetail;
|
|
390
|
-
export declare function errorDetailArrayDeserializer(result: Array<ErrorDetail>): any[];
|
|
391
|
-
export declare function errorAdditionalInfoArrayDeserializer(result: Array<ErrorAdditionalInfo>): any[];
|
|
392
|
-
/** The resource management error additional info. */
|
|
393
|
-
export interface ErrorAdditionalInfo {
|
|
394
|
-
/** The additional info type. */
|
|
395
|
-
readonly type?: string;
|
|
396
|
-
/** The additional info. */
|
|
397
|
-
readonly info?: Record<string, any>;
|
|
398
|
-
}
|
|
399
|
-
export declare function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo;
|
|
400
|
-
/** model interface _ErrorAdditionalInfoInfo */
|
|
401
|
-
export interface _ErrorAdditionalInfoInfo {
|
|
402
|
-
}
|
|
403
|
-
export declare function _errorAdditionalInfoInfoDeserializer(item: any): _ErrorAdditionalInfoInfo;
|
|
404
593
|
/** Describes an experiment update. */
|
|
405
594
|
export interface ExperimentUpdate {
|
|
406
595
|
/** Resource tags. */
|
|
@@ -433,13 +622,10 @@ export interface ExperimentExecutionProperties {
|
|
|
433
622
|
readonly startedAt?: Date;
|
|
434
623
|
/** String that represents the stop date time. */
|
|
435
624
|
readonly stoppedAt?: Date;
|
|
625
|
+
/** Resource provisioning state. Not currently in use for executions. */
|
|
626
|
+
readonly provisioningState?: ProvisioningState;
|
|
436
627
|
}
|
|
437
628
|
export declare function experimentExecutionPropertiesDeserializer(item: any): ExperimentExecutionProperties;
|
|
438
|
-
/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
|
|
439
|
-
export interface ProxyResource extends Resource {
|
|
440
|
-
}
|
|
441
|
-
export declare function proxyResourceSerializer(item: ProxyResource): any;
|
|
442
|
-
export declare function proxyResourceDeserializer(item: any): ProxyResource;
|
|
443
629
|
/** Model that represents a list of Experiment executions and a link for pagination. */
|
|
444
630
|
export interface _ExperimentExecutionListResult {
|
|
445
631
|
/** The ExperimentExecution items on this page */
|
|
@@ -469,6 +655,8 @@ export interface ExperimentExecutionDetailsProperties {
|
|
|
469
655
|
readonly startedAt?: Date;
|
|
470
656
|
/** String that represents the stop date time. */
|
|
471
657
|
readonly stoppedAt?: Date;
|
|
658
|
+
/** Resource provisioning state. Not currently in use for executions. */
|
|
659
|
+
readonly provisioningState?: ProvisioningState;
|
|
472
660
|
/** The reason why the execution failed. */
|
|
473
661
|
readonly failureReason?: string;
|
|
474
662
|
/** String that represents the last action date time. */
|
|
@@ -549,152 +737,256 @@ export interface ExperimentExecutionActionTargetDetailsError {
|
|
|
549
737
|
readonly message?: string;
|
|
550
738
|
}
|
|
551
739
|
export declare function experimentExecutionActionTargetDetailsErrorDeserializer(item: any): ExperimentExecutionActionTargetDetailsError;
|
|
552
|
-
/**
|
|
553
|
-
export interface
|
|
554
|
-
/** The properties
|
|
555
|
-
properties
|
|
556
|
-
}
|
|
557
|
-
export declare function
|
|
558
|
-
export declare function
|
|
559
|
-
/**
|
|
560
|
-
export interface
|
|
561
|
-
/**
|
|
562
|
-
readonly
|
|
563
|
-
/**
|
|
564
|
-
readonly
|
|
565
|
-
/**
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
740
|
+
/** PrivateAccesses tracked resource. */
|
|
741
|
+
export interface PrivateAccess extends TrackedResource {
|
|
742
|
+
/** The resource-specific properties for this resource. */
|
|
743
|
+
properties: PrivateAccessProperties;
|
|
744
|
+
}
|
|
745
|
+
export declare function privateAccessSerializer(item: PrivateAccess): any;
|
|
746
|
+
export declare function privateAccessDeserializer(item: any): PrivateAccess;
|
|
747
|
+
/** The properties of a private access resource */
|
|
748
|
+
export interface PrivateAccessProperties {
|
|
749
|
+
/** Most recent provisioning state for the given privateAccess resource. */
|
|
750
|
+
readonly provisioningState?: ProvisioningState;
|
|
751
|
+
/** A readonly collection of private endpoint connection. Currently only one endpoint connection is supported. */
|
|
752
|
+
readonly privateEndpointConnections?: PrivateEndpointConnection[];
|
|
753
|
+
/** Public Network Access Control for PrivateAccess resource. */
|
|
754
|
+
publicNetworkAccess?: PublicNetworkAccessOption;
|
|
755
|
+
}
|
|
756
|
+
export declare function privateAccessPropertiesSerializer(item: PrivateAccessProperties): any;
|
|
757
|
+
export declare function privateAccessPropertiesDeserializer(item: any): PrivateAccessProperties;
|
|
758
|
+
export declare function privateEndpointConnectionArrayDeserializer(result: Array<PrivateEndpointConnection>): any[];
|
|
759
|
+
/** The private endpoint connection resource. */
|
|
760
|
+
export interface PrivateEndpointConnection extends ProxyResource {
|
|
761
|
+
/** Resource properties. */
|
|
762
|
+
properties?: PrivateEndpointConnectionProperties;
|
|
763
|
+
}
|
|
764
|
+
export declare function privateEndpointConnectionDeserializer(item: any): PrivateEndpointConnection;
|
|
765
|
+
/** Properties of the private endpoint connection. */
|
|
766
|
+
export interface PrivateEndpointConnectionProperties {
|
|
767
|
+
/** The group ids for the private endpoint resource. */
|
|
768
|
+
readonly groupIds?: string[];
|
|
769
|
+
/** The private endpoint resource. */
|
|
770
|
+
privateEndpoint?: PrivateEndpoint;
|
|
771
|
+
/** A collection of information about the state of the connection between service consumer and provider. */
|
|
772
|
+
privateLinkServiceConnectionState: PrivateLinkServiceConnectionState;
|
|
773
|
+
/** The provisioning state of the private endpoint connection resource. */
|
|
774
|
+
readonly provisioningState?: ProvisioningState;
|
|
571
775
|
}
|
|
572
|
-
export declare function
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
value: Capability[];
|
|
578
|
-
/** The link to the next page of items */
|
|
579
|
-
nextLink?: string;
|
|
776
|
+
export declare function privateEndpointConnectionPropertiesDeserializer(item: any): PrivateEndpointConnectionProperties;
|
|
777
|
+
/** The private endpoint resource. */
|
|
778
|
+
export interface PrivateEndpoint {
|
|
779
|
+
/** The Azure identifier for private endpoint. */
|
|
780
|
+
readonly id?: string;
|
|
580
781
|
}
|
|
581
|
-
export declare function
|
|
582
|
-
|
|
583
|
-
export
|
|
584
|
-
/**
|
|
585
|
-
|
|
586
|
-
/** The
|
|
587
|
-
|
|
782
|
+
export declare function privateEndpointDeserializer(item: any): PrivateEndpoint;
|
|
783
|
+
/** A collection of information about the state of the connection between service consumer and provider. */
|
|
784
|
+
export interface PrivateLinkServiceConnectionState {
|
|
785
|
+
/** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
|
|
786
|
+
status?: PrivateEndpointServiceConnectionStatus;
|
|
787
|
+
/** The reason for approval/rejection of the connection. */
|
|
788
|
+
description?: string;
|
|
789
|
+
/** A message indicating if changes on the service provider require any updates on the consumer. */
|
|
790
|
+
actionsRequired?: string;
|
|
791
|
+
}
|
|
792
|
+
export declare function privateLinkServiceConnectionStateDeserializer(item: any): PrivateLinkServiceConnectionState;
|
|
793
|
+
/** The private endpoint connection status. */
|
|
794
|
+
export declare enum KnownPrivateEndpointServiceConnectionStatus {
|
|
795
|
+
/** Pending status. */
|
|
796
|
+
Pending = "Pending",
|
|
797
|
+
/** Approved status. */
|
|
798
|
+
Approved = "Approved",
|
|
799
|
+
/** Rejected status. */
|
|
800
|
+
Rejected = "Rejected"
|
|
588
801
|
}
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
readonly kind?: string;
|
|
606
|
-
/** Control plane actions necessary to execute capability type. */
|
|
607
|
-
readonly azureRbacActions?: string[];
|
|
608
|
-
/** Data plane actions necessary to execute capability type. */
|
|
609
|
-
readonly azureRbacDataActions?: string[];
|
|
610
|
-
/** Required Azure Role Definition Ids to execute capability type. */
|
|
611
|
-
readonly requiredAzureRoleDefinitionIds?: string[];
|
|
612
|
-
/** Runtime properties of this Capability Type. */
|
|
613
|
-
readonly runtimeProperties?: CapabilityTypePropertiesRuntimeProperties;
|
|
802
|
+
/**
|
|
803
|
+
* The private endpoint connection status. \
|
|
804
|
+
* {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
|
|
805
|
+
* this enum contains the known values that the service supports.
|
|
806
|
+
* ### Known values supported by the service
|
|
807
|
+
* **Pending**: Pending status. \
|
|
808
|
+
* **Approved**: Approved status. \
|
|
809
|
+
* **Rejected**: Rejected status.
|
|
810
|
+
*/
|
|
811
|
+
export type PrivateEndpointServiceConnectionStatus = string;
|
|
812
|
+
/** Public Network Access Control for PrivateAccess resource. */
|
|
813
|
+
export declare enum KnownPublicNetworkAccessOption {
|
|
814
|
+
/** Enabled access. */
|
|
815
|
+
Enabled = "Enabled",
|
|
816
|
+
/** Disabled access. */
|
|
817
|
+
Disabled = "Disabled"
|
|
614
818
|
}
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
819
|
+
/**
|
|
820
|
+
* Public Network Access Control for PrivateAccess resource. \
|
|
821
|
+
* {@link KnownPublicNetworkAccessOption} can be used interchangeably with PublicNetworkAccessOption,
|
|
822
|
+
* this enum contains the known values that the service supports.
|
|
823
|
+
* ### Known values supported by the service
|
|
824
|
+
* **Enabled**: Enabled access. \
|
|
825
|
+
* **Disabled**: Disabled access.
|
|
826
|
+
*/
|
|
827
|
+
export type PublicNetworkAccessOption = string;
|
|
828
|
+
/** Describes a private access update. */
|
|
829
|
+
export interface PrivateAccessPatch {
|
|
830
|
+
/** Resource tags. */
|
|
831
|
+
tags?: Record<string, string>;
|
|
620
832
|
}
|
|
621
|
-
export declare function
|
|
622
|
-
/** Model that represents a list of
|
|
623
|
-
export interface
|
|
624
|
-
/** The
|
|
625
|
-
value:
|
|
833
|
+
export declare function privateAccessPatchSerializer(item: PrivateAccessPatch): any;
|
|
834
|
+
/** Model that represents a list of private access resources and a link for pagination. */
|
|
835
|
+
export interface _PrivateAccessListResult {
|
|
836
|
+
/** The PrivateAccess items on this page */
|
|
837
|
+
value: PrivateAccess[];
|
|
626
838
|
/** The link to the next page of items */
|
|
627
839
|
nextLink?: string;
|
|
628
840
|
}
|
|
629
|
-
export declare function
|
|
630
|
-
export declare function
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
841
|
+
export declare function _privateAccessListResultDeserializer(item: any): _PrivateAccessListResult;
|
|
842
|
+
export declare function privateAccessArraySerializer(result: Array<PrivateAccess>): any[];
|
|
843
|
+
export declare function privateAccessArrayDeserializer(result: Array<PrivateAccess>): any[];
|
|
844
|
+
/** A list of private link resources */
|
|
845
|
+
export interface PrivateLinkResourceListResult {
|
|
846
|
+
/** The PrivateLinkResource items on this page */
|
|
847
|
+
value: PrivateLinkResource[];
|
|
635
848
|
/** The link to the next page of items */
|
|
636
849
|
nextLink?: string;
|
|
637
850
|
}
|
|
638
|
-
export declare function
|
|
639
|
-
export declare function
|
|
640
|
-
/**
|
|
641
|
-
export interface
|
|
642
|
-
/** The
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
/** The
|
|
649
|
-
readonly
|
|
650
|
-
/**
|
|
651
|
-
readonly
|
|
851
|
+
export declare function privateLinkResourceListResultDeserializer(item: any): PrivateLinkResourceListResult;
|
|
852
|
+
export declare function privateLinkResourceArrayDeserializer(result: Array<PrivateLinkResource>): any[];
|
|
853
|
+
/** A private link resource. */
|
|
854
|
+
export interface PrivateLinkResource extends TrackedResource {
|
|
855
|
+
/** The resource-specific properties for this resource. */
|
|
856
|
+
properties: PrivateLinkResourceProperties;
|
|
857
|
+
}
|
|
858
|
+
export declare function privateLinkResourceDeserializer(item: any): PrivateLinkResource;
|
|
859
|
+
/** Properties of a private link resource. */
|
|
860
|
+
export interface PrivateLinkResourceProperties {
|
|
861
|
+
/** The private link resource group id. */
|
|
862
|
+
readonly groupId?: string;
|
|
863
|
+
/** The private link resource required member names. */
|
|
864
|
+
readonly requiredMembers?: string[];
|
|
865
|
+
/** The private link resource private link DNS zone name. */
|
|
866
|
+
requiredZoneNames?: string[];
|
|
867
|
+
/** Resource provisioning state. Not currently in use. */
|
|
868
|
+
readonly provisioningState?: ProvisioningState;
|
|
652
869
|
}
|
|
653
|
-
export declare function
|
|
654
|
-
/**
|
|
655
|
-
export interface
|
|
656
|
-
/** The
|
|
657
|
-
|
|
658
|
-
/** The
|
|
659
|
-
|
|
660
|
-
/** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine". */
|
|
661
|
-
readonly operation?: string;
|
|
662
|
-
/** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */
|
|
663
|
-
readonly description?: string;
|
|
870
|
+
export declare function privateLinkResourcePropertiesDeserializer(item: any): PrivateLinkResourceProperties;
|
|
871
|
+
/** A list of private link resources */
|
|
872
|
+
export interface _PrivateEndpointConnectionListResult {
|
|
873
|
+
/** The PrivateEndpointConnection items on this page */
|
|
874
|
+
value: PrivateEndpointConnection[];
|
|
875
|
+
/** The link to the next page of items */
|
|
876
|
+
nextLink?: string;
|
|
664
877
|
}
|
|
665
|
-
export declare function
|
|
666
|
-
/**
|
|
667
|
-
export
|
|
668
|
-
/**
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
878
|
+
export declare function _privateEndpointConnectionListResultDeserializer(item: any): _PrivateEndpointConnectionListResult;
|
|
879
|
+
/** Model that represents an Action resource. */
|
|
880
|
+
export interface Action extends ProxyResource {
|
|
881
|
+
/** The properties of the action resource. */
|
|
882
|
+
properties: ActionProperties;
|
|
883
|
+
}
|
|
884
|
+
export declare function actionDeserializer(item: any): Action;
|
|
885
|
+
/** Model that represents the properties of an Action resource. */
|
|
886
|
+
export interface ActionProperties {
|
|
887
|
+
/** Canonical identifier of the action (e.g., "microsoft-compute-shutdown/1.0"). */
|
|
888
|
+
readonly canonicalId?: string;
|
|
889
|
+
/** Human-readable display name of the action. */
|
|
890
|
+
readonly displayName?: string;
|
|
891
|
+
/** Description of what this action does. */
|
|
892
|
+
readonly description?: string;
|
|
893
|
+
/** The short name of the action (e.g., "Shutdown"). */
|
|
894
|
+
readonly actionName?: string;
|
|
895
|
+
/** The version of the action (e.g., "1.0.0"). */
|
|
896
|
+
readonly version?: string;
|
|
897
|
+
/** The type of the action. */
|
|
898
|
+
readonly actionType?: ActionKind;
|
|
899
|
+
/** List of target types supported by this action. */
|
|
900
|
+
readonly supportedTargetTypes?: ActionSupportedTargetType[];
|
|
901
|
+
/** JSON Schema describing the parameters for this action. */
|
|
902
|
+
readonly parametersSchema?: Record<string, any>;
|
|
903
|
+
/** Recommended Azure RBAC role definition GUIDs for this action. */
|
|
904
|
+
readonly recommendedRoles?: string[];
|
|
905
|
+
}
|
|
906
|
+
export declare function actionPropertiesDeserializer(item: any): ActionProperties;
|
|
907
|
+
/** Union of action types. */
|
|
908
|
+
export declare enum KnownActionKind {
|
|
909
|
+
/** Discrete action type. */
|
|
910
|
+
Discrete = "Discrete",
|
|
911
|
+
/** Continuous action type. */
|
|
912
|
+
Continuous = "Continuous",
|
|
913
|
+
/** Cancelable action type. */
|
|
914
|
+
Cancelable = "Cancelable"
|
|
674
915
|
}
|
|
675
916
|
/**
|
|
676
|
-
*
|
|
677
|
-
* {@link
|
|
917
|
+
* Union of action types. \
|
|
918
|
+
* {@link KnownActionKind} can be used interchangeably with ActionKind,
|
|
678
919
|
* this enum contains the known values that the service supports.
|
|
679
920
|
* ### Known values supported by the service
|
|
680
|
-
* **
|
|
681
|
-
* **
|
|
682
|
-
* **
|
|
921
|
+
* **Discrete**: Discrete action type. \
|
|
922
|
+
* **Continuous**: Continuous action type. \
|
|
923
|
+
* **Cancelable**: Cancelable action type.
|
|
683
924
|
*/
|
|
684
|
-
export type
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
925
|
+
export type ActionKind = string;
|
|
926
|
+
export declare function actionSupportedTargetTypeArrayDeserializer(result: Array<ActionSupportedTargetType>): any[];
|
|
927
|
+
/** Model that represents a target type supported by an action. */
|
|
928
|
+
export interface ActionSupportedTargetType {
|
|
929
|
+
/** The Azure resource type (e.g., "Microsoft.Compute/virtualMachines"). */
|
|
930
|
+
targetType?: string;
|
|
931
|
+
/** List of Azure permissions required for this target type. */
|
|
932
|
+
requiredPermissions?: string[];
|
|
933
|
+
}
|
|
934
|
+
export declare function actionSupportedTargetTypeDeserializer(item: any): ActionSupportedTargetType;
|
|
935
|
+
/** model interface _ActionPropertiesParametersSchema */
|
|
936
|
+
export interface _ActionPropertiesParametersSchema {
|
|
937
|
+
}
|
|
938
|
+
export declare function _actionPropertiesParametersSchemaDeserializer(item: any): _ActionPropertiesParametersSchema;
|
|
939
|
+
/** Model that represents a list of Action resources and a link for pagination. */
|
|
940
|
+
export interface _ActionListResult {
|
|
941
|
+
/** The Action items on this page */
|
|
942
|
+
value: Action[];
|
|
943
|
+
/** The link to the next page of items */
|
|
944
|
+
nextLink?: string;
|
|
689
945
|
}
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
export
|
|
946
|
+
export declare function _actionListResultDeserializer(item: any): _ActionListResult;
|
|
947
|
+
export declare function actionArrayDeserializer(result: Array<Action>): any[];
|
|
948
|
+
/** Model that represents an Action Version resource. */
|
|
949
|
+
export interface ActionVersion extends ProxyResource {
|
|
950
|
+
/** The properties of the action version resource. */
|
|
951
|
+
properties: ActionProperties;
|
|
952
|
+
}
|
|
953
|
+
export declare function actionVersionDeserializer(item: any): ActionVersion;
|
|
954
|
+
/** Model that represents a list of Action Version resources and a link for pagination. */
|
|
955
|
+
export interface _ActionVersionListResult {
|
|
956
|
+
/** The ActionVersion items on this page */
|
|
957
|
+
value: ActionVersion[];
|
|
958
|
+
/** The link to the next page of items */
|
|
959
|
+
nextLink?: string;
|
|
960
|
+
}
|
|
961
|
+
export declare function _actionVersionListResultDeserializer(item: any): _ActionVersionListResult;
|
|
962
|
+
export declare function actionVersionArrayDeserializer(result: Array<ActionVersion>): any[];
|
|
963
|
+
/** Model that represents a Target Type resource. */
|
|
964
|
+
export interface TargetType extends ProxyResource {
|
|
965
|
+
/** The properties of the target type resource. */
|
|
966
|
+
properties: TargetTypeProperties;
|
|
967
|
+
}
|
|
968
|
+
export declare function targetTypeDeserializer(item: any): TargetType;
|
|
969
|
+
/** Model that represents the base Target Type properties model. */
|
|
970
|
+
export interface TargetTypeProperties {
|
|
971
|
+
/** Localized string of the display name. */
|
|
972
|
+
readonly displayName?: string;
|
|
973
|
+
/** Localized string of the description. */
|
|
974
|
+
readonly description?: string;
|
|
975
|
+
/** URL to retrieve JSON schema of the Target Type properties. */
|
|
976
|
+
readonly propertiesSchema?: string;
|
|
977
|
+
/** List of resource types this Target Type can extend. */
|
|
978
|
+
readonly resourceTypes?: string[];
|
|
979
|
+
}
|
|
980
|
+
export declare function targetTypePropertiesDeserializer(item: any): TargetTypeProperties;
|
|
981
|
+
/** Model that represents a list of Target Type resources and a link for pagination. */
|
|
982
|
+
export interface _TargetTypeListResult {
|
|
983
|
+
/** The TargetType items on this page */
|
|
984
|
+
value: TargetType[];
|
|
985
|
+
/** The link to the next page of items */
|
|
986
|
+
nextLink?: string;
|
|
987
|
+
}
|
|
988
|
+
export declare function _targetTypeListResultDeserializer(item: any): _TargetTypeListResult;
|
|
989
|
+
export declare function targetTypeArrayDeserializer(result: Array<TargetType>): any[];
|
|
698
990
|
/** The current status of an async operation. */
|
|
699
991
|
export interface OperationStatusResult {
|
|
700
992
|
/** Fully qualified ID for the async operation. */
|
|
@@ -718,55 +1010,933 @@ export interface OperationStatusResult {
|
|
|
718
1010
|
}
|
|
719
1011
|
export declare function operationStatusResultDeserializer(item: any): OperationStatusResult;
|
|
720
1012
|
export declare function operationStatusResultArrayDeserializer(result: Array<OperationStatusResult>): any[];
|
|
721
|
-
/** Model that represents a
|
|
722
|
-
export interface
|
|
723
|
-
/** The
|
|
724
|
-
|
|
725
|
-
/**
|
|
726
|
-
|
|
1013
|
+
/** Model that represents a Workspace resource. */
|
|
1014
|
+
export interface Workspace extends TrackedResource {
|
|
1015
|
+
/** The managed service identities assigned to this resource. */
|
|
1016
|
+
identity?: ManagedServiceIdentity;
|
|
1017
|
+
/** The properties of the Workspace resource. */
|
|
1018
|
+
properties: WorkspaceProperties;
|
|
1019
|
+
}
|
|
1020
|
+
export declare function workspaceSerializer(item: Workspace): any;
|
|
1021
|
+
export declare function workspaceDeserializer(item: any): Workspace;
|
|
1022
|
+
/** Model that represents the Workspace properties model. */
|
|
1023
|
+
export interface WorkspaceProperties {
|
|
1024
|
+
/** Most recent provisioning state for the given Workspace resource. */
|
|
1025
|
+
readonly provisioningState?: ProvisioningState;
|
|
1026
|
+
/** The communication endpoint used to connect and communicate with the workspace for fault-injection orchestration. */
|
|
1027
|
+
readonly communicationEndpoint?: string;
|
|
1028
|
+
/** The intended workspace-level resource scope to be used by child scenarios. */
|
|
1029
|
+
scopes: string[];
|
|
1030
|
+
}
|
|
1031
|
+
export declare function workspacePropertiesSerializer(item: WorkspaceProperties): any;
|
|
1032
|
+
export declare function workspacePropertiesDeserializer(item: any): WorkspaceProperties;
|
|
1033
|
+
/** Describes a workspace update. */
|
|
1034
|
+
export interface WorkspaceUpdate {
|
|
1035
|
+
/** Resource tags. */
|
|
1036
|
+
tags?: Record<string, string>;
|
|
1037
|
+
/** The managed service identities assigned to this resource. */
|
|
1038
|
+
identity?: ManagedServiceIdentity;
|
|
727
1039
|
}
|
|
728
|
-
export declare function
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
value: Target[];
|
|
1040
|
+
export declare function workspaceUpdateSerializer(item: WorkspaceUpdate): any;
|
|
1041
|
+
/** Model that represents a list of Workspace resources and a link for pagination. */
|
|
1042
|
+
export interface _WorkspaceListResult {
|
|
1043
|
+
/** The Workspace items on this page */
|
|
1044
|
+
value: Workspace[];
|
|
734
1045
|
/** The link to the next page of items */
|
|
735
1046
|
nextLink?: string;
|
|
736
1047
|
}
|
|
737
|
-
export declare function
|
|
738
|
-
export declare function
|
|
739
|
-
export declare function
|
|
740
|
-
/** Model that represents
|
|
741
|
-
export interface
|
|
742
|
-
/** The properties
|
|
743
|
-
properties
|
|
1048
|
+
export declare function _workspaceListResultDeserializer(item: any): _WorkspaceListResult;
|
|
1049
|
+
export declare function workspaceArraySerializer(result: Array<Workspace>): any[];
|
|
1050
|
+
export declare function workspaceArrayDeserializer(result: Array<Workspace>): any[];
|
|
1051
|
+
/** Model that represents the latest workspace evaluation result. */
|
|
1052
|
+
export interface WorkspaceEvaluation extends ProxyResource {
|
|
1053
|
+
/** The resource-specific properties for this resource. */
|
|
1054
|
+
properties?: WorkspaceEvaluationProperties;
|
|
1055
|
+
}
|
|
1056
|
+
export declare function workspaceEvaluationDeserializer(item: any): WorkspaceEvaluation;
|
|
1057
|
+
/** Model that represents the properties of the workspace evaluation. */
|
|
1058
|
+
export interface WorkspaceEvaluationProperties {
|
|
1059
|
+
/** The evaluation status. */
|
|
1060
|
+
readonly status: WorkspaceEvaluationStatus;
|
|
1061
|
+
/** The evaluation UTC start time. */
|
|
1062
|
+
readonly startTime?: Date;
|
|
1063
|
+
/** The evaluation UTC end time. */
|
|
1064
|
+
readonly endTime?: Date;
|
|
1065
|
+
/** System or infrastructure errors encountered during evaluation. */
|
|
1066
|
+
readonly errors?: OperationError[];
|
|
1067
|
+
/** The workspace ID this evaluation belongs to. */
|
|
1068
|
+
readonly workspaceId: string;
|
|
1069
|
+
/** The number of scenarios to evaluate. */
|
|
1070
|
+
readonly numScenariosToEvaluate?: number;
|
|
1071
|
+
/** The number of scenarios that evaluated successfully. */
|
|
1072
|
+
readonly numScenariosEvaluatedSucceeded?: number;
|
|
1073
|
+
/** The number of scenarios that failed evaluation. */
|
|
1074
|
+
readonly numScenariosEvaluatedFailed?: number;
|
|
1075
|
+
/** The number of scenarios that were cancelled during evaluation. */
|
|
1076
|
+
readonly numScenariosEvaluatedCancelled?: number;
|
|
1077
|
+
/** The overall evaluation result. */
|
|
1078
|
+
readonly evaluationResult?: RecommendationStatus;
|
|
1079
|
+
/** Per-scenario evaluation results. */
|
|
1080
|
+
readonly results?: ScenarioEvaluationResultItem[];
|
|
1081
|
+
}
|
|
1082
|
+
export declare function workspaceEvaluationPropertiesDeserializer(item: any): WorkspaceEvaluationProperties;
|
|
1083
|
+
/** Enum of the workspace evaluation status. */
|
|
1084
|
+
export declare enum KnownWorkspaceEvaluationStatus {
|
|
1085
|
+
/** The evaluation is pending and has not started. */
|
|
1086
|
+
Pending = "Pending",
|
|
1087
|
+
/** The evaluation has been accepted and is queued for execution. */
|
|
1088
|
+
Queued = "Queued",
|
|
1089
|
+
/** The evaluation is in progress. */
|
|
1090
|
+
InProgress = "InProgress",
|
|
1091
|
+
/** The evaluation completed successfully. */
|
|
1092
|
+
Succeeded = "Succeeded",
|
|
1093
|
+
/** The evaluation partially succeeded — some scenarios succeeded while others failed. */
|
|
1094
|
+
PartiallySucceeded = "PartiallySucceeded",
|
|
1095
|
+
/** The evaluation failed. */
|
|
1096
|
+
Failed = "Failed",
|
|
1097
|
+
/** The evaluation was canceled. */
|
|
1098
|
+
Canceled = "Canceled"
|
|
744
1099
|
}
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
1100
|
+
/**
|
|
1101
|
+
* Enum of the workspace evaluation status. \
|
|
1102
|
+
* {@link KnownWorkspaceEvaluationStatus} can be used interchangeably with WorkspaceEvaluationStatus,
|
|
1103
|
+
* this enum contains the known values that the service supports.
|
|
1104
|
+
* ### Known values supported by the service
|
|
1105
|
+
* **Pending**: The evaluation is pending and has not started. \
|
|
1106
|
+
* **Queued**: The evaluation has been accepted and is queued for execution. \
|
|
1107
|
+
* **InProgress**: The evaluation is in progress. \
|
|
1108
|
+
* **Succeeded**: The evaluation completed successfully. \
|
|
1109
|
+
* **PartiallySucceeded**: The evaluation partially succeeded — some scenarios succeeded while others failed. \
|
|
1110
|
+
* **Failed**: The evaluation failed. \
|
|
1111
|
+
* **Canceled**: The evaluation was canceled.
|
|
1112
|
+
*/
|
|
1113
|
+
export type WorkspaceEvaluationStatus = string;
|
|
1114
|
+
export declare function operationErrorArrayDeserializer(result: Array<OperationError>): any[];
|
|
1115
|
+
/** Represents a system or infrastructure error encountered during an async operation. */
|
|
1116
|
+
export interface OperationError {
|
|
1117
|
+
/** The error code identifying the type of system error. */
|
|
1118
|
+
errorCode: string;
|
|
1119
|
+
/** A human-readable description of the system error. */
|
|
1120
|
+
errorMessage: string;
|
|
1121
|
+
}
|
|
1122
|
+
export declare function operationErrorDeserializer(item: any): OperationError;
|
|
1123
|
+
/** Enum of the scenario validation state. */
|
|
1124
|
+
export declare enum KnownRecommendationStatus {
|
|
1125
|
+
/** The scenario recommendation status has not been evaluated. */
|
|
1126
|
+
NotEvaluated = "NotEvaluated",
|
|
1127
|
+
/** The scenario recommendation status is recommended. */
|
|
1128
|
+
Recommended = "Recommended",
|
|
1129
|
+
/** The scenario recommendation status is not applicable. */
|
|
1130
|
+
NotApplicable = "NotApplicable",
|
|
1131
|
+
/** The scenario recommendation status is currently being evaluated. */
|
|
1132
|
+
Evaluating = "Evaluating",
|
|
1133
|
+
/** The scenario recommendation evaluation has failed. */
|
|
1134
|
+
EvaluationFailed = "EvaluationFailed",
|
|
1135
|
+
/** The scenario recommendation evaluation was cancelled. */
|
|
1136
|
+
EvaluationCancelled = "EvaluationCancelled"
|
|
756
1137
|
}
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
1138
|
+
/**
|
|
1139
|
+
* Enum of the scenario validation state. \
|
|
1140
|
+
* {@link KnownRecommendationStatus} can be used interchangeably with RecommendationStatus,
|
|
1141
|
+
* this enum contains the known values that the service supports.
|
|
1142
|
+
* ### Known values supported by the service
|
|
1143
|
+
* **NotEvaluated**: The scenario recommendation status has not been evaluated. \
|
|
1144
|
+
* **Recommended**: The scenario recommendation status is recommended. \
|
|
1145
|
+
* **NotApplicable**: The scenario recommendation status is not applicable. \
|
|
1146
|
+
* **Evaluating**: The scenario recommendation status is currently being evaluated. \
|
|
1147
|
+
* **EvaluationFailed**: The scenario recommendation evaluation has failed. \
|
|
1148
|
+
* **EvaluationCancelled**: The scenario recommendation evaluation was cancelled.
|
|
1149
|
+
*/
|
|
1150
|
+
export type RecommendationStatus = string;
|
|
1151
|
+
export declare function scenarioEvaluationResultItemArrayDeserializer(result: Array<ScenarioEvaluationResultItem>): any[];
|
|
1152
|
+
/** Model that represents a single scenario evaluation result. */
|
|
1153
|
+
export interface ScenarioEvaluationResultItem {
|
|
1154
|
+
/** The name of the scenario that was evaluated. */
|
|
1155
|
+
scenarioName: string;
|
|
1156
|
+
/** The evaluation result for this scenario. */
|
|
1157
|
+
evaluationResult: RecommendationStatus;
|
|
1158
|
+
}
|
|
1159
|
+
export declare function scenarioEvaluationResultItemDeserializer(item: any): ScenarioEvaluationResultItem;
|
|
1160
|
+
/** Model that represents a discovered resource. */
|
|
1161
|
+
export interface DiscoveredResource extends ProxyResource {
|
|
1162
|
+
/** The properties of the discovered resource. */
|
|
1163
|
+
properties?: DiscoveredResourceProperties;
|
|
1164
|
+
}
|
|
1165
|
+
export declare function discoveredResourceDeserializer(item: any): DiscoveredResource;
|
|
1166
|
+
/** Model that represents the properties of a discovered resource. */
|
|
1167
|
+
export interface DiscoveredResourceProperties {
|
|
1168
|
+
/** The namespace of the discovered resource. */
|
|
1169
|
+
readonly resourceNamespace: string;
|
|
1170
|
+
/** The name of the discovered resource. */
|
|
1171
|
+
readonly resourceName: string;
|
|
1172
|
+
/** The resource type of the discovered resource. */
|
|
1173
|
+
readonly resourceType: string;
|
|
1174
|
+
/** The fully qualified identifier of the discovered resource. */
|
|
1175
|
+
readonly fullyQualifiedIdentifier: string;
|
|
1176
|
+
/** The date and time when the resource was discovered. */
|
|
1177
|
+
readonly discoveredAt: Date;
|
|
1178
|
+
/** The scope of the discovered resource. */
|
|
1179
|
+
readonly scope: string;
|
|
1180
|
+
}
|
|
1181
|
+
export declare function discoveredResourcePropertiesDeserializer(item: any): DiscoveredResourceProperties;
|
|
1182
|
+
/** Model that represents a list of discovered resources and a link for pagination. */
|
|
1183
|
+
export interface _DiscoveredResourceListResult {
|
|
1184
|
+
/** The DiscoveredResource items on this page */
|
|
1185
|
+
value: DiscoveredResource[];
|
|
762
1186
|
/** The link to the next page of items */
|
|
763
1187
|
nextLink?: string;
|
|
764
1188
|
}
|
|
765
|
-
export declare function
|
|
766
|
-
export declare function
|
|
1189
|
+
export declare function _discoveredResourceListResultDeserializer(item: any): _DiscoveredResourceListResult;
|
|
1190
|
+
export declare function discoveredResourceArrayDeserializer(result: Array<DiscoveredResource>): any[];
|
|
1191
|
+
/** Model that represents the scenario. */
|
|
1192
|
+
export interface Scenario extends ProxyResource {
|
|
1193
|
+
/** The properties of scenario. */
|
|
1194
|
+
properties?: ScenarioProperties;
|
|
1195
|
+
}
|
|
1196
|
+
export declare function scenarioSerializer(item: Scenario): any;
|
|
1197
|
+
export declare function scenarioDeserializer(item: any): Scenario;
|
|
1198
|
+
/** Model that represents the properties of the scenario. */
|
|
1199
|
+
export interface ScenarioProperties {
|
|
1200
|
+
/** Most recent provisioning state for the given scenario resource. */
|
|
1201
|
+
readonly provisioningState?: ProvisioningState;
|
|
1202
|
+
/** Resource ID of the template version this scenario was created from (optional). */
|
|
1203
|
+
readonly createdFrom?: string;
|
|
1204
|
+
/** Version of the scenario. */
|
|
1205
|
+
readonly version?: string;
|
|
1206
|
+
/** Description of what this scenario does (optional). */
|
|
1207
|
+
description?: string;
|
|
1208
|
+
/** Parameter definitions for the scenario. */
|
|
1209
|
+
parameters: ScenarioParameter[];
|
|
1210
|
+
/** Array of actions that define the scenario's orchestration. */
|
|
1211
|
+
actions: ScenarioAction[];
|
|
1212
|
+
/** The recommendation information for this scenario. */
|
|
1213
|
+
readonly recommendation?: Recommendation;
|
|
1214
|
+
}
|
|
1215
|
+
export declare function scenarioPropertiesSerializer(item: ScenarioProperties): any;
|
|
1216
|
+
export declare function scenarioPropertiesDeserializer(item: any): ScenarioProperties;
|
|
1217
|
+
export declare function scenarioParameterArraySerializer(result: Array<ScenarioParameter>): any[];
|
|
1218
|
+
export declare function scenarioParameterArrayDeserializer(result: Array<ScenarioParameter>): any[];
|
|
1219
|
+
/** Model that represents a single scenario parameter definition. */
|
|
1220
|
+
export interface ScenarioParameter {
|
|
1221
|
+
/** The name of the parameter. */
|
|
1222
|
+
name: string;
|
|
1223
|
+
/** Parameter data type. */
|
|
1224
|
+
type: ParameterType;
|
|
1225
|
+
/** Default value for the parameter. */
|
|
1226
|
+
default?: string;
|
|
1227
|
+
/** Whether this parameter is required. */
|
|
1228
|
+
required?: boolean;
|
|
1229
|
+
/** Description of the parameter. */
|
|
1230
|
+
description?: string;
|
|
1231
|
+
}
|
|
1232
|
+
export declare function scenarioParameterSerializer(item: ScenarioParameter): any;
|
|
1233
|
+
export declare function scenarioParameterDeserializer(item: any): ScenarioParameter;
|
|
1234
|
+
/** Enum for parameter types. */
|
|
1235
|
+
export declare enum KnownParameterType {
|
|
1236
|
+
/** String parameter type. */
|
|
1237
|
+
String = "string",
|
|
1238
|
+
/** Number parameter type. */
|
|
1239
|
+
Number = "number",
|
|
1240
|
+
/** Boolean parameter type. */
|
|
1241
|
+
Boolean = "boolean",
|
|
1242
|
+
/** Object parameter type. */
|
|
1243
|
+
Object = "object",
|
|
1244
|
+
/** Array parameter type. */
|
|
1245
|
+
Array = "array"
|
|
1246
|
+
}
|
|
1247
|
+
/**
|
|
1248
|
+
* Enum for parameter types. \
|
|
1249
|
+
* {@link KnownParameterType} can be used interchangeably with ParameterType,
|
|
1250
|
+
* this enum contains the known values that the service supports.
|
|
1251
|
+
* ### Known values supported by the service
|
|
1252
|
+
* **string**: String parameter type. \
|
|
1253
|
+
* **number**: Number parameter type. \
|
|
1254
|
+
* **boolean**: Boolean parameter type. \
|
|
1255
|
+
* **object**: Object parameter type. \
|
|
1256
|
+
* **array**: Array parameter type.
|
|
1257
|
+
*/
|
|
1258
|
+
export type ParameterType = string;
|
|
1259
|
+
export declare function scenarioActionArraySerializer(result: Array<ScenarioAction>): any[];
|
|
1260
|
+
export declare function scenarioActionArrayDeserializer(result: Array<ScenarioAction>): any[];
|
|
1261
|
+
/** Model that represents a scenario action. */
|
|
1262
|
+
export interface ScenarioAction {
|
|
1263
|
+
/** Unique name for the action. */
|
|
1264
|
+
name: string;
|
|
1265
|
+
/** Identifier of the action and version (e.g., "microsoft-compute-shutdown/1.0"). */
|
|
1266
|
+
actionId: string;
|
|
1267
|
+
/** Human-readable description of what this action does. */
|
|
1268
|
+
description?: string;
|
|
1269
|
+
/** ISO 8601 duration for how long the action runs (e.g., PT30M for 30 minutes). Supports template macro syntax (%%\{parameters.\<name\>\}%%). */
|
|
1270
|
+
duration: string;
|
|
1271
|
+
/** Action-specific parameter values. */
|
|
1272
|
+
parameters?: KeyValuePair[];
|
|
1273
|
+
/** Action dependencies that control when this action starts. */
|
|
1274
|
+
runAfter?: RunAfter;
|
|
1275
|
+
/** ISO 8601 duration to wait before action starts (e.g., PT30S for 30 seconds). Supports template macro syntax. */
|
|
1276
|
+
waitBefore?: string;
|
|
1277
|
+
/** ISO 8601 duration for maximum action execution time. Supports template macro syntax. */
|
|
1278
|
+
timeout?: string;
|
|
1279
|
+
/** External resource reference for the action. */
|
|
1280
|
+
externalResource?: ExternalResource;
|
|
1281
|
+
}
|
|
1282
|
+
export declare function scenarioActionSerializer(item: ScenarioAction): any;
|
|
1283
|
+
export declare function scenarioActionDeserializer(item: any): ScenarioAction;
|
|
1284
|
+
/** Model that represents action dependencies. */
|
|
1285
|
+
export interface RunAfter {
|
|
1286
|
+
/** Defines how multiple dependencies are evaluated. */
|
|
1287
|
+
behavior?: RunAfterBehavior;
|
|
1288
|
+
/** Array of action dependencies. */
|
|
1289
|
+
items: ActionDependency[];
|
|
1290
|
+
}
|
|
1291
|
+
export declare function runAfterSerializer(item: RunAfter): any;
|
|
1292
|
+
export declare function runAfterDeserializer(item: any): RunAfter;
|
|
1293
|
+
/** Enum for run after behavior. */
|
|
1294
|
+
export declare enum KnownRunAfterBehavior {
|
|
1295
|
+
/** Always continues after all dependencies (like a finally block). */
|
|
1296
|
+
Any = "Any",
|
|
1297
|
+
/** All dependencies must be satisfied to continue. */
|
|
1298
|
+
All = "All",
|
|
1299
|
+
/** At least one dependency must be satisfied to continue. */
|
|
1300
|
+
AtLeastOne = "AtLeastOne"
|
|
1301
|
+
}
|
|
1302
|
+
/**
|
|
1303
|
+
* Enum for run after behavior. \
|
|
1304
|
+
* {@link KnownRunAfterBehavior} can be used interchangeably with RunAfterBehavior,
|
|
1305
|
+
* this enum contains the known values that the service supports.
|
|
1306
|
+
* ### Known values supported by the service
|
|
1307
|
+
* **Any**: Always continues after all dependencies (like a finally block). \
|
|
1308
|
+
* **All**: All dependencies must be satisfied to continue. \
|
|
1309
|
+
* **AtLeastOne**: At least one dependency must be satisfied to continue.
|
|
1310
|
+
*/
|
|
1311
|
+
export type RunAfterBehavior = string;
|
|
1312
|
+
export declare function actionDependencyArraySerializer(result: Array<ActionDependency>): any[];
|
|
1313
|
+
export declare function actionDependencyArrayDeserializer(result: Array<ActionDependency>): any[];
|
|
1314
|
+
/** Model that represents an action dependency. */
|
|
1315
|
+
export interface ActionDependency {
|
|
1316
|
+
/** The type of dependency. */
|
|
1317
|
+
type: ActionDependencyType;
|
|
1318
|
+
/** Name of the action this depends on. */
|
|
1319
|
+
name: string;
|
|
1320
|
+
/** The lifecycle state of the dependency action that triggers this action to start. */
|
|
1321
|
+
onActionLifecycle?: ActionLifecycle;
|
|
1322
|
+
}
|
|
1323
|
+
export declare function actionDependencySerializer(item: ActionDependency): any;
|
|
1324
|
+
export declare function actionDependencyDeserializer(item: any): ActionDependency;
|
|
1325
|
+
/** Enum for action dependency type. */
|
|
1326
|
+
export declare enum KnownActionDependencyType {
|
|
1327
|
+
/** Action dependency type. */
|
|
1328
|
+
Action = "Action"
|
|
1329
|
+
}
|
|
1330
|
+
/**
|
|
1331
|
+
* Enum for action dependency type. \
|
|
1332
|
+
* {@link KnownActionDependencyType} can be used interchangeably with ActionDependencyType,
|
|
1333
|
+
* this enum contains the known values that the service supports.
|
|
1334
|
+
* ### Known values supported by the service
|
|
1335
|
+
* **Action**: Action dependency type.
|
|
1336
|
+
*/
|
|
1337
|
+
export type ActionDependencyType = string;
|
|
1338
|
+
/** Enum for action lifecycle states. */
|
|
1339
|
+
export declare enum KnownActionLifecycle {
|
|
1340
|
+
/** Trigger when action reaches any terminal state. */
|
|
1341
|
+
AnyTerminal = "AnyTerminal",
|
|
1342
|
+
/** Trigger when action starts. */
|
|
1343
|
+
Start = "Start",
|
|
1344
|
+
/** Trigger when action is running. */
|
|
1345
|
+
Running = "Running",
|
|
1346
|
+
/** Trigger on success. */
|
|
1347
|
+
Success = "Success",
|
|
1348
|
+
/** Trigger on failure. */
|
|
1349
|
+
Failure = "Failure",
|
|
1350
|
+
/** Trigger when action is skipped. */
|
|
1351
|
+
Skipped = "Skipped"
|
|
1352
|
+
}
|
|
1353
|
+
/**
|
|
1354
|
+
* Enum for action lifecycle states. \
|
|
1355
|
+
* {@link KnownActionLifecycle} can be used interchangeably with ActionLifecycle,
|
|
1356
|
+
* this enum contains the known values that the service supports.
|
|
1357
|
+
* ### Known values supported by the service
|
|
1358
|
+
* **AnyTerminal**: Trigger when action reaches any terminal state. \
|
|
1359
|
+
* **Start**: Trigger when action starts. \
|
|
1360
|
+
* **Running**: Trigger when action is running. \
|
|
1361
|
+
* **Success**: Trigger on success. \
|
|
1362
|
+
* **Failure**: Trigger on failure. \
|
|
1363
|
+
* **Skipped**: Trigger when action is skipped.
|
|
1364
|
+
*/
|
|
1365
|
+
export type ActionLifecycle = string;
|
|
1366
|
+
/** Model that represents an external resource reference. */
|
|
1367
|
+
export interface ExternalResource {
|
|
1368
|
+
/** The resource ID of the external resource. */
|
|
1369
|
+
resourceId?: string;
|
|
1370
|
+
}
|
|
1371
|
+
export declare function externalResourceSerializer(item: ExternalResource): any;
|
|
1372
|
+
export declare function externalResourceDeserializer(item: any): ExternalResource;
|
|
1373
|
+
/** Model that represents a scenario recommendation. */
|
|
1374
|
+
export interface Recommendation {
|
|
1375
|
+
/** The recommendation status. */
|
|
1376
|
+
readonly recommendationStatus: RecommendationStatus;
|
|
1377
|
+
/** The UTC time when the recommendation was evaluated. */
|
|
1378
|
+
readonly evaluationRunAt?: Date;
|
|
1379
|
+
}
|
|
1380
|
+
export declare function recommendationDeserializer(item: any): Recommendation;
|
|
1381
|
+
/** Model that represents a list of scenarios and a link for pagination. */
|
|
1382
|
+
export interface _ScenarioListResult {
|
|
1383
|
+
/** The Scenario items on this page */
|
|
1384
|
+
value: Scenario[];
|
|
1385
|
+
/** The link to the next page of items */
|
|
1386
|
+
nextLink?: string;
|
|
1387
|
+
}
|
|
1388
|
+
export declare function _scenarioListResultDeserializer(item: any): _ScenarioListResult;
|
|
1389
|
+
export declare function scenarioArraySerializer(result: Array<Scenario>): any[];
|
|
1390
|
+
export declare function scenarioArrayDeserializer(result: Array<Scenario>): any[];
|
|
1391
|
+
/** Model that represents the scenario run. */
|
|
1392
|
+
export interface ScenarioRun extends ProxyResource {
|
|
1393
|
+
/** The properties of scenario run. */
|
|
1394
|
+
properties?: ScenarioRunProperties;
|
|
1395
|
+
}
|
|
1396
|
+
export declare function scenarioRunDeserializer(item: any): ScenarioRun;
|
|
1397
|
+
/** Model that represents the properties of the scenario run. */
|
|
1398
|
+
export interface ScenarioRunProperties {
|
|
1399
|
+
/** The workspace name. */
|
|
1400
|
+
readonly workspaceName: string;
|
|
1401
|
+
/** The scenario name. */
|
|
1402
|
+
readonly scenarioName: string;
|
|
1403
|
+
/** The scenario configuration name. */
|
|
1404
|
+
readonly scenarioConfigurationName: string;
|
|
1405
|
+
/** The principal id for the managed identity used for the run. */
|
|
1406
|
+
readonly managedIdentityPrincipalId: string;
|
|
1407
|
+
/** The scenario run status. */
|
|
1408
|
+
readonly status: ScenarioRunState;
|
|
1409
|
+
/** All resources discovered for the scenario run. */
|
|
1410
|
+
readonly resources: ScenarioRunResource[];
|
|
1411
|
+
/** System or infrastructure errors encountered during the scenario run. */
|
|
1412
|
+
readonly errors?: OperationError[];
|
|
1413
|
+
/** Business errors from fault injection — permission and resource state issues. */
|
|
1414
|
+
readonly executionErrors?: ScenarioErrors;
|
|
1415
|
+
/** The scenario run json. */
|
|
1416
|
+
readonly scenarioRunJson?: string;
|
|
1417
|
+
/** The scenario run summary. */
|
|
1418
|
+
readonly scenarioRunSummary?: ScenarioRunSummaryAction[];
|
|
1419
|
+
/** When the scenario run was started. */
|
|
1420
|
+
readonly startTime: Date;
|
|
1421
|
+
/** When the scenario run was completed. */
|
|
1422
|
+
readonly endTime?: Date;
|
|
1423
|
+
/**
|
|
1424
|
+
* Zone resolution information. Present when the scenario configuration
|
|
1425
|
+
* used physical zone targeting (`physicalZones`). Contains the mode,
|
|
1426
|
+
* requested physical zones, and per-subscription logical zone mappings.
|
|
1427
|
+
*/
|
|
1428
|
+
readonly zoneResolution?: ZoneResolutionInfo;
|
|
1429
|
+
}
|
|
1430
|
+
export declare function scenarioRunPropertiesDeserializer(item: any): ScenarioRunProperties;
|
|
1431
|
+
/** Enum of the scenario run state. */
|
|
1432
|
+
export declare enum KnownScenarioRunState {
|
|
1433
|
+
/** The scenario run has been queued and is waiting to start. */
|
|
1434
|
+
Queued = "Queued",
|
|
1435
|
+
/** The scenario run is in the process of being resolved. */
|
|
1436
|
+
Resolving = "Resolving",
|
|
1437
|
+
/** The scenario run is in the process of being generated. */
|
|
1438
|
+
Generating = "Generating",
|
|
1439
|
+
/** The scenario run is in the process of being validated. */
|
|
1440
|
+
Validating = "Validating",
|
|
1441
|
+
/** The scenario run validation has completed successfully. */
|
|
1442
|
+
ValidationSucceeded = "ValidationSucceeded",
|
|
1443
|
+
/** The scenario run is in the process of being started. */
|
|
1444
|
+
Starting = "Starting",
|
|
1445
|
+
/** The scenario run is in the process of being prepared. */
|
|
1446
|
+
Preparing = "Preparing",
|
|
1447
|
+
/** The scenario run is in the process of running. */
|
|
1448
|
+
Running = "Running",
|
|
1449
|
+
/** The scenario run is in the process of being cleaned up. */
|
|
1450
|
+
CleaningUp = "CleaningUp",
|
|
1451
|
+
/** The scenario run is in the process of being canceled. */
|
|
1452
|
+
Canceling = "Canceling",
|
|
1453
|
+
/** The scenario run has been canceled. */
|
|
1454
|
+
Canceled = "Canceled",
|
|
1455
|
+
/** The scenario run has completed successfully. */
|
|
1456
|
+
Succeeded = "Succeeded",
|
|
1457
|
+
/** The scenario run has failed. */
|
|
1458
|
+
Failed = "Failed"
|
|
1459
|
+
}
|
|
1460
|
+
/**
|
|
1461
|
+
* Enum of the scenario run state. \
|
|
1462
|
+
* {@link KnownScenarioRunState} can be used interchangeably with ScenarioRunState,
|
|
1463
|
+
* this enum contains the known values that the service supports.
|
|
1464
|
+
* ### Known values supported by the service
|
|
1465
|
+
* **Queued**: The scenario run has been queued and is waiting to start. \
|
|
1466
|
+
* **Resolving**: The scenario run is in the process of being resolved. \
|
|
1467
|
+
* **Generating**: The scenario run is in the process of being generated. \
|
|
1468
|
+
* **Validating**: The scenario run is in the process of being validated. \
|
|
1469
|
+
* **ValidationSucceeded**: The scenario run validation has completed successfully. \
|
|
1470
|
+
* **Starting**: The scenario run is in the process of being started. \
|
|
1471
|
+
* **Preparing**: The scenario run is in the process of being prepared. \
|
|
1472
|
+
* **Running**: The scenario run is in the process of running. \
|
|
1473
|
+
* **CleaningUp**: The scenario run is in the process of being cleaned up. \
|
|
1474
|
+
* **Canceling**: The scenario run is in the process of being canceled. \
|
|
1475
|
+
* **Canceled**: The scenario run has been canceled. \
|
|
1476
|
+
* **Succeeded**: The scenario run has completed successfully. \
|
|
1477
|
+
* **Failed**: The scenario run has failed.
|
|
1478
|
+
*/
|
|
1479
|
+
export type ScenarioRunState = string;
|
|
1480
|
+
export declare function scenarioRunResourceArrayDeserializer(result: Array<ScenarioRunResource>): any[];
|
|
1481
|
+
/** Model that represents the scenario run resource. */
|
|
1482
|
+
export interface ScenarioRunResource {
|
|
1483
|
+
/** The resource id. */
|
|
1484
|
+
readonly id: string;
|
|
1485
|
+
}
|
|
1486
|
+
export declare function scenarioRunResourceDeserializer(item: any): ScenarioRunResource;
|
|
1487
|
+
/** Model that represents the scenario run errors. */
|
|
1488
|
+
export interface ScenarioErrors {
|
|
1489
|
+
/** Error code for internal server errors. */
|
|
1490
|
+
errorCode?: string;
|
|
1491
|
+
/** Error message for internal server errors. */
|
|
1492
|
+
errorMessage?: string;
|
|
1493
|
+
/** Any permission errors associated with the scenario run. */
|
|
1494
|
+
readonly permission: PermissionError[];
|
|
1495
|
+
/** Any resource state errors associated with the scenario run. */
|
|
1496
|
+
readonly resource: ResourceStateError[];
|
|
1497
|
+
}
|
|
1498
|
+
export declare function scenarioErrorsDeserializer(item: any): ScenarioErrors;
|
|
1499
|
+
export declare function permissionErrorArrayDeserializer(result: Array<PermissionError>): any[];
|
|
1500
|
+
/** Model that represents the permission error. */
|
|
1501
|
+
export interface PermissionError {
|
|
1502
|
+
/** The resource id for the affected resource. */
|
|
1503
|
+
readonly resourceId: string;
|
|
1504
|
+
/** The missing permissions. */
|
|
1505
|
+
readonly missingPermissions: string[];
|
|
1506
|
+
/** The required permissions. */
|
|
1507
|
+
readonly requiredPermissions: string[];
|
|
1508
|
+
/** The recommended roles. */
|
|
1509
|
+
readonly recommendedRoles: string[];
|
|
1510
|
+
/** The identity. */
|
|
1511
|
+
readonly identity?: EntraIdentity;
|
|
1512
|
+
}
|
|
1513
|
+
export declare function permissionErrorDeserializer(item: any): PermissionError;
|
|
1514
|
+
/** Model that represents the Azure Entra identity. */
|
|
1515
|
+
export interface EntraIdentity {
|
|
1516
|
+
/** The identity object id. */
|
|
1517
|
+
readonly objectId: string;
|
|
1518
|
+
/** The identity tenant id. */
|
|
1519
|
+
readonly tenantId: string;
|
|
1520
|
+
}
|
|
1521
|
+
export declare function entraIdentityDeserializer(item: any): EntraIdentity;
|
|
1522
|
+
export declare function resourceStateErrorArrayDeserializer(result: Array<ResourceStateError>): any[];
|
|
1523
|
+
/** Model that represents the resource state error. */
|
|
1524
|
+
export interface ResourceStateError {
|
|
1525
|
+
/** The resource id for the affected resource. */
|
|
1526
|
+
readonly resourceId: string;
|
|
1527
|
+
/** The error code. */
|
|
1528
|
+
readonly errorCode: number;
|
|
1529
|
+
/** The error message. */
|
|
1530
|
+
readonly errorMessage: string;
|
|
1531
|
+
/** The remediation uri. */
|
|
1532
|
+
readonly remediationUri: string;
|
|
1533
|
+
}
|
|
1534
|
+
export declare function resourceStateErrorDeserializer(item: any): ResourceStateError;
|
|
1535
|
+
export declare function scenarioRunSummaryActionArrayDeserializer(result: Array<ScenarioRunSummaryAction>): any[];
|
|
1536
|
+
/** Model that represents the scenario run action. */
|
|
1537
|
+
export interface ScenarioRunSummaryAction {
|
|
1538
|
+
/** The resources associated with the specified action. */
|
|
1539
|
+
readonly resources: ScenarioRunResource[];
|
|
1540
|
+
/** The urn for the given chaos action. */
|
|
1541
|
+
readonly actionUrn: string;
|
|
1542
|
+
/** The state of the action. */
|
|
1543
|
+
readonly state: ScenarioSummaryState;
|
|
1544
|
+
/** When the action was started. */
|
|
1545
|
+
readonly startedAt?: Date;
|
|
1546
|
+
/** When the action was completed. */
|
|
1547
|
+
readonly completedAt?: Date;
|
|
1548
|
+
}
|
|
1549
|
+
export declare function scenarioRunSummaryActionDeserializer(item: any): ScenarioRunSummaryAction;
|
|
1550
|
+
/** Enum of the scenario run summary action state. */
|
|
1551
|
+
export declare enum KnownScenarioSummaryState {
|
|
1552
|
+
/** The action is pending and has not started. */
|
|
1553
|
+
Pending = "Pending",
|
|
1554
|
+
/** The action is in the process of starting. */
|
|
1555
|
+
Starting = "Starting",
|
|
1556
|
+
/** The action is in the process of running. */
|
|
1557
|
+
Running = "Running",
|
|
1558
|
+
/** The action is in the process of stopping. */
|
|
1559
|
+
Stopping = "Stopping",
|
|
1560
|
+
/** The action has completed successfully. */
|
|
1561
|
+
Succeeded = "Succeeded",
|
|
1562
|
+
/** The action is in the process of being canceled. */
|
|
1563
|
+
Canceling = "Canceling",
|
|
1564
|
+
/** The action has been canceled. */
|
|
1565
|
+
Canceled = "Canceled",
|
|
1566
|
+
/** The action is failing due to an error. */
|
|
1567
|
+
FailingOnError = "FailingOnError",
|
|
1568
|
+
/** The action has failed. */
|
|
1569
|
+
Failed = "Failed",
|
|
1570
|
+
/** The action was skipped. */
|
|
1571
|
+
Skipped = "Skipped"
|
|
1572
|
+
}
|
|
1573
|
+
/**
|
|
1574
|
+
* Enum of the scenario run summary action state. \
|
|
1575
|
+
* {@link KnownScenarioSummaryState} can be used interchangeably with ScenarioSummaryState,
|
|
1576
|
+
* this enum contains the known values that the service supports.
|
|
1577
|
+
* ### Known values supported by the service
|
|
1578
|
+
* **Pending**: The action is pending and has not started. \
|
|
1579
|
+
* **Starting**: The action is in the process of starting. \
|
|
1580
|
+
* **Running**: The action is in the process of running. \
|
|
1581
|
+
* **Stopping**: The action is in the process of stopping. \
|
|
1582
|
+
* **Succeeded**: The action has completed successfully. \
|
|
1583
|
+
* **Canceling**: The action is in the process of being canceled. \
|
|
1584
|
+
* **Canceled**: The action has been canceled. \
|
|
1585
|
+
* **FailingOnError**: The action is failing due to an error. \
|
|
1586
|
+
* **Failed**: The action has failed. \
|
|
1587
|
+
* **Skipped**: The action was skipped.
|
|
1588
|
+
*/
|
|
1589
|
+
export type ScenarioSummaryState = string;
|
|
1590
|
+
/**
|
|
1591
|
+
* Information about how physical zones were resolved to logical zones
|
|
1592
|
+
* for each subscription during scenario execution.
|
|
1593
|
+
*/
|
|
1594
|
+
export interface ZoneResolutionInfo {
|
|
1595
|
+
/**
|
|
1596
|
+
* The zone targeting mode used for this run.
|
|
1597
|
+
* `logical` — customer specified logical zone identifiers directly.
|
|
1598
|
+
* `physical` — customer specified physical zone identifiers; the system
|
|
1599
|
+
* resolved them to per-subscription logical zones at execution time.
|
|
1600
|
+
*/
|
|
1601
|
+
readonly mode: ZoneResolutionMode;
|
|
1602
|
+
/**
|
|
1603
|
+
* The physical zone identifiers requested by the customer in the
|
|
1604
|
+
* scenario configuration (e.g., `["westus2-az1"]`).
|
|
1605
|
+
* Empty array when `mode` is `logical`.
|
|
1606
|
+
*/
|
|
1607
|
+
readonly requestedPhysicalZones: string[];
|
|
1608
|
+
/**
|
|
1609
|
+
* Per-subscription zone resolution results. Each entry maps a subscription
|
|
1610
|
+
* to the logical zone resolved from the requested physical zone.
|
|
1611
|
+
* Empty when `mode` is `logical`.
|
|
1612
|
+
*/
|
|
1613
|
+
readonly subscriptionZoneMappings: ZoneResolutionMapping[];
|
|
1614
|
+
}
|
|
1615
|
+
export declare function zoneResolutionInfoDeserializer(item: any): ZoneResolutionInfo;
|
|
1616
|
+
/** The zone resolution mode for a scenario run. */
|
|
1617
|
+
export declare enum KnownZoneResolutionMode {
|
|
1618
|
+
/** Logical zone mode — customer specified logical zone identifiers directly. */
|
|
1619
|
+
Logical = "logical",
|
|
1620
|
+
/**
|
|
1621
|
+
* Physical zone mode — system resolved physical zones to per-subscription
|
|
1622
|
+
* logical zones at execution time.
|
|
1623
|
+
*/
|
|
1624
|
+
Physical = "physical"
|
|
1625
|
+
}
|
|
1626
|
+
/**
|
|
1627
|
+
* The zone resolution mode for a scenario run. \
|
|
1628
|
+
* {@link KnownZoneResolutionMode} can be used interchangeably with ZoneResolutionMode,
|
|
1629
|
+
* this enum contains the known values that the service supports.
|
|
1630
|
+
* ### Known values supported by the service
|
|
1631
|
+
* **logical**: Logical zone mode — customer specified logical zone identifiers directly. \
|
|
1632
|
+
* **physical**: Physical zone mode — system resolved physical zones to per-subscription
|
|
1633
|
+
* logical zones at execution time.
|
|
1634
|
+
*/
|
|
1635
|
+
export type ZoneResolutionMode = string;
|
|
1636
|
+
export declare function zoneResolutionMappingArrayDeserializer(result: Array<ZoneResolutionMapping>): any[];
|
|
1637
|
+
/** Maps a single subscription to its physical-to-logical zone resolutions. */
|
|
1638
|
+
export interface ZoneResolutionMapping {
|
|
1639
|
+
/** The subscription ID (e.g., `"6b052e15-03d3-4f17-b2e1-be7f07588291"`). */
|
|
1640
|
+
readonly subscriptionId: string;
|
|
1641
|
+
/** The physical-to-logical zone mappings for this subscription. */
|
|
1642
|
+
readonly zoneMappings: PhysicalToLogicalZoneMapping[];
|
|
1643
|
+
}
|
|
1644
|
+
export declare function zoneResolutionMappingDeserializer(item: any): ZoneResolutionMapping;
|
|
1645
|
+
export declare function physicalToLogicalZoneMappingArrayDeserializer(result: Array<PhysicalToLogicalZoneMapping>): any[];
|
|
1646
|
+
/** Maps a physical zone to the resolved logical zone for a given subscription. */
|
|
1647
|
+
export interface PhysicalToLogicalZoneMapping {
|
|
1648
|
+
/** The physical availability zone (e.g., `"westus2-az1"`). */
|
|
1649
|
+
readonly physicalZone: string;
|
|
1650
|
+
/**
|
|
1651
|
+
* The logical availability zone resolved for this subscription
|
|
1652
|
+
* (e.g., `"1"`, `"2"`, `"3"`).
|
|
1653
|
+
*/
|
|
1654
|
+
readonly logicalZone: string;
|
|
1655
|
+
}
|
|
1656
|
+
export declare function physicalToLogicalZoneMappingDeserializer(item: any): PhysicalToLogicalZoneMapping;
|
|
1657
|
+
/** Model that represents a list of scenario runs and a link for pagination. */
|
|
1658
|
+
export interface _ScenarioRunListResult {
|
|
1659
|
+
/** The ScenarioRun items on this page */
|
|
1660
|
+
value: ScenarioRun[];
|
|
1661
|
+
/** The link to the next page of items */
|
|
1662
|
+
nextLink?: string;
|
|
1663
|
+
}
|
|
1664
|
+
export declare function _scenarioRunListResultDeserializer(item: any): _ScenarioRunListResult;
|
|
1665
|
+
export declare function scenarioRunArrayDeserializer(result: Array<ScenarioRun>): any[];
|
|
1666
|
+
/** Model that represents the scenario. */
|
|
1667
|
+
export interface ScenarioConfiguration extends ProxyResource {
|
|
1668
|
+
/** The properties of scenario definition. */
|
|
1669
|
+
properties?: ScenarioConfigurationProperties;
|
|
1670
|
+
}
|
|
1671
|
+
export declare function scenarioConfigurationSerializer(item: ScenarioConfiguration): any;
|
|
1672
|
+
export declare function scenarioConfigurationDeserializer(item: any): ScenarioConfiguration;
|
|
1673
|
+
/** Model that represents the properties of the scenario configuration. */
|
|
1674
|
+
export interface ScenarioConfigurationProperties {
|
|
1675
|
+
/** Resource ID of the scenario this configuration applies to. */
|
|
1676
|
+
scenarioId: string;
|
|
1677
|
+
/** Runtime parameter values for the scenario. Keys must match parameter names defined in the scenario. */
|
|
1678
|
+
parameters?: KeyValuePair[];
|
|
1679
|
+
/** Exclusion criteria for protecting resources from fault injection. */
|
|
1680
|
+
exclusions?: ConfigurationExclusions;
|
|
1681
|
+
/** Most recent provisioning state for the given scenario resource. */
|
|
1682
|
+
readonly provisioningState?: ProvisioningState;
|
|
1683
|
+
/** Filter criteria used to constrain which discovered resources participate in fault injection. */
|
|
1684
|
+
filters?: ConfigurationFilters;
|
|
1685
|
+
}
|
|
1686
|
+
export declare function scenarioConfigurationPropertiesSerializer(item: ScenarioConfigurationProperties): any;
|
|
1687
|
+
export declare function scenarioConfigurationPropertiesDeserializer(item: any): ScenarioConfigurationProperties;
|
|
1688
|
+
/**
|
|
1689
|
+
* Model that represents exclusion criteria for protecting resources from fault injection.
|
|
1690
|
+
* Uses union (OR) logic - a resource is excluded if it matches ANY criteria.
|
|
1691
|
+
*/
|
|
1692
|
+
export interface ConfigurationExclusions {
|
|
1693
|
+
/** Array of specific resource IDs to exclude from fault injection. */
|
|
1694
|
+
resources?: string[];
|
|
1695
|
+
/** Array of tag key-value pairs. Resources with matching tags are excluded. */
|
|
1696
|
+
tags?: KeyValuePair[];
|
|
1697
|
+
/** Array of resource types. All resources of these types are excluded. */
|
|
1698
|
+
types?: string[];
|
|
1699
|
+
}
|
|
1700
|
+
export declare function configurationExclusionsSerializer(item: ConfigurationExclusions): any;
|
|
1701
|
+
export declare function configurationExclusionsDeserializer(item: any): ConfigurationExclusions;
|
|
1702
|
+
/**
|
|
1703
|
+
* Model that represents filter criteria for constraining which discovered
|
|
1704
|
+
* resources participate in fault injection.
|
|
1705
|
+
*
|
|
1706
|
+
* Uses intersection (AND) logic — a resource is included only if it matches all criteria.
|
|
1707
|
+
*/
|
|
1708
|
+
export interface ConfigurationFilters {
|
|
1709
|
+
/**
|
|
1710
|
+
* Array of Azure location strings. Only resources in these locations are included.
|
|
1711
|
+
*
|
|
1712
|
+
* Null or omitted means all locations (no filter). Empty array means include nothing.
|
|
1713
|
+
*/
|
|
1714
|
+
locations?: string[];
|
|
1715
|
+
/**
|
|
1716
|
+
* Array of availability zone identifiers ("1", "2", "3", "zone-redundant").
|
|
1717
|
+
* Only resources whose zones intersect this list are included.
|
|
1718
|
+
*
|
|
1719
|
+
* Null or omitted means all zones (including non-zonal). Empty array means include nothing.
|
|
1720
|
+
*
|
|
1721
|
+
* Mutually exclusive with `physicalZones` — set one or the other, not both.
|
|
1722
|
+
*/
|
|
1723
|
+
zones?: string[];
|
|
1724
|
+
/**
|
|
1725
|
+
* Array of physical availability zone identifiers in `{region}-az{N}` format
|
|
1726
|
+
* (e.g., `"westus2-az1"`). Only resources in the corresponding logical zone
|
|
1727
|
+
* for each subscription are included.
|
|
1728
|
+
*
|
|
1729
|
+
* At execution time, each physical zone is resolved to per-subscription
|
|
1730
|
+
* logical zones via the Azure locations API. The resolved mapping is surfaced
|
|
1731
|
+
* on the scenario run response (`zoneResolution`).
|
|
1732
|
+
*
|
|
1733
|
+
* Null or omitted means physical zone targeting is not used.
|
|
1734
|
+
* Only one physical zone is supported in preview.
|
|
1735
|
+
*
|
|
1736
|
+
* Mutually exclusive with `zones` — set one or the other, not both.
|
|
1737
|
+
*/
|
|
1738
|
+
physicalZones?: string[];
|
|
1739
|
+
}
|
|
1740
|
+
export declare function configurationFiltersSerializer(item: ConfigurationFilters): any;
|
|
1741
|
+
export declare function configurationFiltersDeserializer(item: any): ConfigurationFilters;
|
|
1742
|
+
/** Model that represents a list of scenario configurations and a link for pagination. */
|
|
1743
|
+
export interface _ScenarioConfigurationListResult {
|
|
1744
|
+
/** The ScenarioConfiguration items on this page */
|
|
1745
|
+
value: ScenarioConfiguration[];
|
|
1746
|
+
/** The link to the next page of items */
|
|
1747
|
+
nextLink?: string;
|
|
1748
|
+
}
|
|
1749
|
+
export declare function _scenarioConfigurationListResultDeserializer(item: any): _ScenarioConfigurationListResult;
|
|
1750
|
+
export declare function scenarioConfigurationArraySerializer(result: Array<ScenarioConfiguration>): any[];
|
|
1751
|
+
export declare function scenarioConfigurationArrayDeserializer(result: Array<ScenarioConfiguration>): any[];
|
|
1752
|
+
/** Concrete proxy resource types can be created by aliasing this type using a specific property type. */
|
|
1753
|
+
export interface Validation extends ProxyResource {
|
|
1754
|
+
/** The resource-specific properties for this resource. */
|
|
1755
|
+
properties?: ValidationProperties;
|
|
1756
|
+
}
|
|
1757
|
+
export declare function validationDeserializer(item: any): Validation;
|
|
1758
|
+
/** Model that represents the properties of the scenario validation. */
|
|
1759
|
+
export interface ValidationProperties {
|
|
1760
|
+
/** The scenario validation status. */
|
|
1761
|
+
readonly status: ScenarioValidationState;
|
|
1762
|
+
/** The scenario validation UTC start time. */
|
|
1763
|
+
readonly startTime: Date;
|
|
1764
|
+
/** Execution plan created from validation. This plan will be executed as-is on next scenario execution. */
|
|
1765
|
+
executionPlanJson?: string;
|
|
1766
|
+
/** The scenario validation UTC end time. */
|
|
1767
|
+
readonly endTime?: Date;
|
|
1768
|
+
/** System or infrastructure errors encountered during validation. */
|
|
1769
|
+
readonly errors?: OperationError[];
|
|
1770
|
+
/** Business errors from validation — permission and resource state issues. */
|
|
1771
|
+
validationErrors?: ScenarioErrors;
|
|
1772
|
+
}
|
|
1773
|
+
export declare function validationPropertiesDeserializer(item: any): ValidationProperties;
|
|
1774
|
+
/** Enum of the scenario validation state. */
|
|
1775
|
+
export declare enum KnownScenarioValidationState {
|
|
1776
|
+
/** The scenario validation is in a resolving state. */
|
|
1777
|
+
Resolving = "Resolving",
|
|
1778
|
+
/** The scenario validation is in a generating state. */
|
|
1779
|
+
Generating = "Generating",
|
|
1780
|
+
/** The scenario validation is in a validating state. */
|
|
1781
|
+
Validating = "Validating",
|
|
1782
|
+
/** The scenario validation has been accepted. */
|
|
1783
|
+
Accepted = "Accepted",
|
|
1784
|
+
/** The scenario validation has not yet started. */
|
|
1785
|
+
NotStarted = "NotStarted",
|
|
1786
|
+
/**
|
|
1787
|
+
* The scenario validation reflects a state that requires attention.
|
|
1788
|
+
* This is a terminal failure state indicating validation issues were found.
|
|
1789
|
+
*/
|
|
1790
|
+
RequiresAttention = "RequiresAttention",
|
|
1791
|
+
/**
|
|
1792
|
+
* The scenario validation found no valid resources to perform fault behaviors against.
|
|
1793
|
+
* This is a terminal failure state.
|
|
1794
|
+
*/
|
|
1795
|
+
NoResolvedResources = "NoResolvedResources",
|
|
1796
|
+
/** The scenario validation completed successfully and the scenario is ready to execute. */
|
|
1797
|
+
Succeeded = "Succeeded"
|
|
1798
|
+
}
|
|
1799
|
+
/**
|
|
1800
|
+
* Enum of the scenario validation state. \
|
|
1801
|
+
* {@link KnownScenarioValidationState} can be used interchangeably with ScenarioValidationState,
|
|
1802
|
+
* this enum contains the known values that the service supports.
|
|
1803
|
+
* ### Known values supported by the service
|
|
1804
|
+
* **Resolving**: The scenario validation is in a resolving state. \
|
|
1805
|
+
* **Generating**: The scenario validation is in a generating state. \
|
|
1806
|
+
* **Validating**: The scenario validation is in a validating state. \
|
|
1807
|
+
* **Accepted**: The scenario validation has been accepted. \
|
|
1808
|
+
* **NotStarted**: The scenario validation has not yet started. \
|
|
1809
|
+
* **RequiresAttention**: The scenario validation reflects a state that requires attention.
|
|
1810
|
+
* This is a terminal failure state indicating validation issues were found. \
|
|
1811
|
+
* **NoResolvedResources**: The scenario validation found no valid resources to perform fault behaviors against.
|
|
1812
|
+
* This is a terminal failure state. \
|
|
1813
|
+
* **Succeeded**: The scenario validation completed successfully and the scenario is ready to execute.
|
|
1814
|
+
*/
|
|
1815
|
+
export type ScenarioValidationState = string;
|
|
1816
|
+
/** Request body for fixing resource permissions. */
|
|
1817
|
+
export interface FixResourcePermissionsRequest {
|
|
1818
|
+
/** Optional value that indicates whether to run a "dry run" of fixing resource permissions. */
|
|
1819
|
+
whatIf?: boolean;
|
|
1820
|
+
}
|
|
1821
|
+
export declare function fixResourcePermissionsRequestSerializer(item: FixResourcePermissionsRequest): any;
|
|
1822
|
+
/** Model that represents the fix resource permissions result. */
|
|
1823
|
+
export interface PermissionsFix extends ProxyResource {
|
|
1824
|
+
/** The resource-specific properties for this resource. */
|
|
1825
|
+
properties?: PermissionsFixProperties;
|
|
1826
|
+
}
|
|
1827
|
+
export declare function permissionsFixDeserializer(item: any): PermissionsFix;
|
|
1828
|
+
/** Model that represents the properties of the permission fix operation. */
|
|
1829
|
+
export interface PermissionsFixProperties {
|
|
1830
|
+
/** The permission fix state. */
|
|
1831
|
+
readonly state: PermissionsFixState;
|
|
1832
|
+
/** The permission fix UTC start time. */
|
|
1833
|
+
readonly startedAt: Date;
|
|
1834
|
+
/** The permission fix UTC end time. */
|
|
1835
|
+
readonly completedAt?: Date;
|
|
1836
|
+
/** Whether this was a what-if (dry run) operation. */
|
|
1837
|
+
readonly whatIfMode: boolean;
|
|
1838
|
+
/** The list of role assignment results. */
|
|
1839
|
+
readonly roleAssignments: RoleAssignmentResult[];
|
|
1840
|
+
/** Summary of the permission fix operation. */
|
|
1841
|
+
readonly summary: PermissionsFixSummary;
|
|
1842
|
+
}
|
|
1843
|
+
export declare function permissionsFixPropertiesDeserializer(item: any): PermissionsFixProperties;
|
|
1844
|
+
/** Enum of the permission fix state. */
|
|
1845
|
+
export declare enum KnownPermissionsFixState {
|
|
1846
|
+
/** The permission fix has not started. */
|
|
1847
|
+
NotStarted = "NotStarted",
|
|
1848
|
+
/** The permission fix is in progress. */
|
|
1849
|
+
InProgress = "InProgress",
|
|
1850
|
+
/** All role assignments succeeded. */
|
|
1851
|
+
Succeeded = "Succeeded",
|
|
1852
|
+
/** All role assignments failed. */
|
|
1853
|
+
Failed = "Failed",
|
|
1854
|
+
/** Some role assignments succeeded and some failed. */
|
|
1855
|
+
PartiallySucceeded = "PartiallySucceeded",
|
|
1856
|
+
/** What-if analysis completed (no changes made). */
|
|
1857
|
+
WhatIfCompleted = "WhatIfCompleted"
|
|
1858
|
+
}
|
|
1859
|
+
/**
|
|
1860
|
+
* Enum of the permission fix state. \
|
|
1861
|
+
* {@link KnownPermissionsFixState} can be used interchangeably with PermissionsFixState,
|
|
1862
|
+
* this enum contains the known values that the service supports.
|
|
1863
|
+
* ### Known values supported by the service
|
|
1864
|
+
* **NotStarted**: The permission fix has not started. \
|
|
1865
|
+
* **InProgress**: The permission fix is in progress. \
|
|
1866
|
+
* **Succeeded**: All role assignments succeeded. \
|
|
1867
|
+
* **Failed**: All role assignments failed. \
|
|
1868
|
+
* **PartiallySucceeded**: Some role assignments succeeded and some failed. \
|
|
1869
|
+
* **WhatIfCompleted**: What-if analysis completed (no changes made).
|
|
1870
|
+
*/
|
|
1871
|
+
export type PermissionsFixState = string;
|
|
1872
|
+
export declare function roleAssignmentResultArrayDeserializer(result: Array<RoleAssignmentResult>): any[];
|
|
1873
|
+
/** Result of a single role assignment operation. */
|
|
1874
|
+
export interface RoleAssignmentResult {
|
|
1875
|
+
/** The target Azure resource ID. */
|
|
1876
|
+
readonly targetResourceId: string;
|
|
1877
|
+
/** The managed identity principal ID. */
|
|
1878
|
+
readonly principalId: string;
|
|
1879
|
+
/** The Azure RBAC role definition ID. */
|
|
1880
|
+
readonly roleDefinitionId: string;
|
|
1881
|
+
/** Human-readable role name. */
|
|
1882
|
+
readonly roleDefinitionName: string;
|
|
1883
|
+
/** The scope at which the role was/will be assigned. */
|
|
1884
|
+
readonly scope: string;
|
|
1885
|
+
/** The status of the role assignment operation. */
|
|
1886
|
+
readonly status: RoleAssignmentStatus;
|
|
1887
|
+
/** The created role assignment resource ID (null if failed or what-if mode). */
|
|
1888
|
+
readonly roleAssignmentId?: string;
|
|
1889
|
+
/** Error details if the assignment failed. */
|
|
1890
|
+
readonly error?: RoleAssignmentError;
|
|
1891
|
+
}
|
|
1892
|
+
export declare function roleAssignmentResultDeserializer(item: any): RoleAssignmentResult;
|
|
1893
|
+
/** Enum of the role assignment status. */
|
|
1894
|
+
export declare enum KnownRoleAssignmentStatus {
|
|
1895
|
+
/** The role assignment succeeded. */
|
|
1896
|
+
Succeeded = "Succeeded",
|
|
1897
|
+
/** The role assignment failed. */
|
|
1898
|
+
Failed = "Failed",
|
|
1899
|
+
/** The role assignment was skipped (already exists). */
|
|
1900
|
+
Skipped = "Skipped",
|
|
1901
|
+
/** The role assignment is pending (what-if mode). */
|
|
1902
|
+
Pending = "Pending"
|
|
1903
|
+
}
|
|
1904
|
+
/**
|
|
1905
|
+
* Enum of the role assignment status. \
|
|
1906
|
+
* {@link KnownRoleAssignmentStatus} can be used interchangeably with RoleAssignmentStatus,
|
|
1907
|
+
* this enum contains the known values that the service supports.
|
|
1908
|
+
* ### Known values supported by the service
|
|
1909
|
+
* **Succeeded**: The role assignment succeeded. \
|
|
1910
|
+
* **Failed**: The role assignment failed. \
|
|
1911
|
+
* **Skipped**: The role assignment was skipped (already exists). \
|
|
1912
|
+
* **Pending**: The role assignment is pending (what-if mode).
|
|
1913
|
+
*/
|
|
1914
|
+
export type RoleAssignmentStatus = string;
|
|
1915
|
+
/** Error details for a failed role assignment. */
|
|
1916
|
+
export interface RoleAssignmentError {
|
|
1917
|
+
/** Azure error code. */
|
|
1918
|
+
readonly code: string;
|
|
1919
|
+
/** Error message. */
|
|
1920
|
+
readonly message: string;
|
|
1921
|
+
}
|
|
1922
|
+
export declare function roleAssignmentErrorDeserializer(item: any): RoleAssignmentError;
|
|
1923
|
+
/** Summary of the permission fix operation. */
|
|
1924
|
+
export interface PermissionsFixSummary {
|
|
1925
|
+
/** Total number of role assignments required. */
|
|
1926
|
+
readonly totalRequired: number;
|
|
1927
|
+
/** Number of successful role assignments. */
|
|
1928
|
+
readonly succeeded: number;
|
|
1929
|
+
/** Number of failed role assignments. */
|
|
1930
|
+
readonly failed: number;
|
|
1931
|
+
/** Number of skipped role assignments (already existed). */
|
|
1932
|
+
readonly skipped: number;
|
|
1933
|
+
}
|
|
1934
|
+
export declare function permissionsFixSummaryDeserializer(item: any): PermissionsFixSummary;
|
|
767
1935
|
/** The available API versions. */
|
|
768
1936
|
export declare enum KnownVersions {
|
|
769
1937
|
/** The 2025-01-01 API version. */
|
|
770
|
-
V20250101 = "2025-01-01"
|
|
1938
|
+
V20250101 = "2025-01-01",
|
|
1939
|
+
/** The 2026-05-01-preview API version. */
|
|
1940
|
+
V20260501Preview = "2026-05-01-preview"
|
|
771
1941
|
}
|
|
772
1942
|
//# sourceMappingURL=models.d.ts.map
|