@azure/arm-chaos 1.1.1-alpha.20250110.1 → 1.1.1-alpha.20250113.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/{dist-esm/src → dist/browser}/chaosManagementClient.d.ts +2 -2
- package/dist/browser/chaosManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/chaosManagementClient.js +15 -18
- package/dist/browser/chaosManagementClient.js.map +1 -0
- package/dist/browser/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/lroImpl.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/capabilities.d.ts +3 -3
- package/dist/browser/operations/capabilities.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/capabilities.js +3 -3
- package/dist/browser/operations/capabilities.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/capabilityTypes.d.ts +3 -3
- package/dist/browser/operations/capabilityTypes.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/capabilityTypes.js +3 -3
- package/dist/browser/operations/capabilityTypes.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/experiments.d.ts +3 -3
- package/dist/browser/operations/experiments.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/experiments.js +190 -210
- package/dist/browser/operations/experiments.js.map +1 -0
- package/dist/browser/operations/index.d.ts +8 -0
- package/dist/browser/operations/index.d.ts.map +1 -0
- package/dist/browser/operations/index.js +15 -0
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operationStatuses.d.ts +3 -3
- package/dist/browser/operations/operationStatuses.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operationStatuses.js +2 -2
- package/dist/browser/operations/operationStatuses.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
- package/dist/browser/operations/operations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.js +3 -3
- package/dist/browser/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/targetTypes.d.ts +3 -3
- package/dist/browser/operations/targetTypes.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/targetTypes.js +3 -3
- package/dist/browser/operations/targetTypes.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/targets.d.ts +3 -3
- package/dist/browser/operations/targets.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/targets.js +3 -3
- package/dist/browser/operations/targets.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/capabilities.d.ts +1 -1
- package/dist/browser/operationsInterfaces/capabilities.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/capabilities.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/capabilityTypes.d.ts +1 -1
- package/dist/browser/operationsInterfaces/capabilityTypes.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/capabilityTypes.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/experiments.d.ts +1 -1
- package/dist/browser/operationsInterfaces/experiments.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/experiments.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +8 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/index.js +15 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operationStatuses.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operationStatuses.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operationStatuses.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/targetTypes.d.ts +1 -1
- package/dist/browser/operationsInterfaces/targetTypes.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/targetTypes.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/targets.d.ts +1 -1
- package/dist/browser/operationsInterfaces/targets.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/targets.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/chaosManagementClient.d.ts +27 -0
- package/dist/commonjs/chaosManagementClient.d.ts.map +1 -0
- package/dist/commonjs/chaosManagementClient.js +106 -0
- package/dist/commonjs/chaosManagementClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/lroImpl.d.ts +11 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +24 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/{types/arm-chaos.d.ts → dist/commonjs/models/index.d.ts} +1118 -1551
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +75 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +62 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +1706 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +27 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +281 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/capabilities.d.ts +81 -0
- package/dist/commonjs/operations/capabilities.d.ts.map +1 -0
- package/dist/commonjs/operations/capabilities.js +325 -0
- package/dist/commonjs/operations/capabilities.js.map +1 -0
- package/dist/commonjs/operations/capabilityTypes.d.ts +46 -0
- package/dist/commonjs/operations/capabilityTypes.d.ts.map +1 -0
- package/dist/commonjs/operations/capabilityTypes.js +186 -0
- package/dist/commonjs/operations/capabilityTypes.js.map +1 -0
- package/dist/commonjs/operations/experiments.d.ts +175 -0
- package/dist/commonjs/operations/experiments.d.ts.map +1 -0
- package/dist/commonjs/operations/experiments.js +882 -0
- package/dist/commonjs/operations/experiments.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +8 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +18 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/operationStatuses.d.ts +20 -0
- package/dist/commonjs/operations/operationStatuses.d.ts.map +1 -0
- package/dist/commonjs/operations/operationStatuses.js +58 -0
- package/dist/commonjs/operations/operationStatuses.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +32 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +137 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operations/targetTypes.d.ts +42 -0
- package/dist/commonjs/operations/targetTypes.d.ts.map +1 -0
- package/dist/commonjs/operations/targetTypes.js +179 -0
- package/dist/commonjs/operations/targetTypes.js.map +1 -0
- package/dist/commonjs/operations/targets.d.ts +75 -0
- package/dist/commonjs/operations/targets.d.ts.map +1 -0
- package/dist/commonjs/operations/targets.js +309 -0
- package/dist/commonjs/operations/targets.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/capabilities.d.ts +50 -0
- package/dist/commonjs/operationsInterfaces/capabilities.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/capabilities.js +10 -0
- package/dist/commonjs/operationsInterfaces/capabilities.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/capabilityTypes.d.ts +21 -0
- package/dist/commonjs/operationsInterfaces/capabilityTypes.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/capabilityTypes.js +10 -0
- package/dist/commonjs/operationsInterfaces/capabilityTypes.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/experiments.d.ts +122 -0
- package/dist/commonjs/operationsInterfaces/experiments.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/experiments.js +10 -0
- package/dist/commonjs/operationsInterfaces/experiments.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +8 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +18 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operationStatuses.d.ts +12 -0
- package/dist/commonjs/operationsInterfaces/operationStatuses.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operationStatuses.js +10 -0
- package/dist/commonjs/operationsInterfaces/operationStatuses.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.js +10 -0
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/targetTypes.d.ts +19 -0
- package/dist/commonjs/operationsInterfaces/targetTypes.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/targetTypes.js +10 -0
- package/dist/commonjs/operationsInterfaces/targetTypes.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/targets.d.ts +46 -0
- package/dist/commonjs/operationsInterfaces/targets.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/targets.js +10 -0
- package/dist/commonjs/operationsInterfaces/targets.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +36 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/esm/chaosManagementClient.d.ts +27 -0
- package/dist/esm/chaosManagementClient.d.ts.map +1 -0
- package/dist/esm/chaosManagementClient.js +101 -0
- package/dist/esm/chaosManagementClient.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lroImpl.d.ts +11 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +21 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +1118 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +72 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +62 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +1703 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +27 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +278 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/capabilities.d.ts +81 -0
- package/dist/esm/operations/capabilities.d.ts.map +1 -0
- package/dist/esm/operations/capabilities.js +321 -0
- package/dist/esm/operations/capabilities.js.map +1 -0
- package/dist/esm/operations/capabilityTypes.d.ts +46 -0
- package/dist/esm/operations/capabilityTypes.d.ts.map +1 -0
- package/dist/esm/operations/capabilityTypes.js +182 -0
- package/dist/esm/operations/capabilityTypes.js.map +1 -0
- package/dist/esm/operations/experiments.d.ts +175 -0
- package/dist/esm/operations/experiments.d.ts.map +1 -0
- package/dist/esm/operations/experiments.js +878 -0
- package/dist/esm/operations/experiments.js.map +1 -0
- package/dist/esm/operations/index.d.ts +8 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +15 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/operationStatuses.d.ts +20 -0
- package/dist/esm/operations/operationStatuses.d.ts.map +1 -0
- package/dist/esm/operations/operationStatuses.js +53 -0
- package/dist/esm/operations/operationStatuses.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +32 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +133 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/targetTypes.d.ts +42 -0
- package/dist/esm/operations/targetTypes.d.ts.map +1 -0
- package/dist/esm/operations/targetTypes.js +175 -0
- package/dist/esm/operations/targetTypes.js.map +1 -0
- package/dist/esm/operations/targets.d.ts +75 -0
- package/dist/esm/operations/targets.d.ts.map +1 -0
- package/dist/esm/operations/targets.js +305 -0
- package/dist/esm/operations/targets.js.map +1 -0
- package/dist/esm/operationsInterfaces/capabilities.d.ts +50 -0
- package/dist/esm/operationsInterfaces/capabilities.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/capabilities.js +9 -0
- package/dist/esm/operationsInterfaces/capabilities.js.map +1 -0
- package/dist/esm/operationsInterfaces/capabilityTypes.d.ts +21 -0
- package/dist/esm/operationsInterfaces/capabilityTypes.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/capabilityTypes.js +9 -0
- package/dist/esm/operationsInterfaces/capabilityTypes.js.map +1 -0
- package/dist/esm/operationsInterfaces/experiments.d.ts +122 -0
- package/dist/esm/operationsInterfaces/experiments.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/experiments.js +9 -0
- package/dist/esm/operationsInterfaces/experiments.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +8 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +15 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/operationStatuses.d.ts +12 -0
- package/dist/esm/operationsInterfaces/operationStatuses.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operationStatuses.js +9 -0
- package/dist/esm/operationsInterfaces/operationStatuses.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operations.js +9 -0
- package/dist/esm/operationsInterfaces/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/targetTypes.d.ts +19 -0
- package/dist/esm/operationsInterfaces/targetTypes.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/targetTypes.js +9 -0
- package/dist/esm/operationsInterfaces/targetTypes.js.map +1 -0
- package/dist/esm/operationsInterfaces/targets.d.ts +46 -0
- package/dist/esm/operationsInterfaces/targets.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/targets.js +9 -0
- package/dist/esm/operationsInterfaces/targets.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +32 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/react-native/chaosManagementClient.d.ts +27 -0
- package/dist/react-native/chaosManagementClient.d.ts.map +1 -0
- package/dist/react-native/chaosManagementClient.js +101 -0
- package/dist/react-native/chaosManagementClient.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/lroImpl.d.ts +11 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +21 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +1118 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +72 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +62 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +1703 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +27 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +278 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/capabilities.d.ts +81 -0
- package/dist/react-native/operations/capabilities.d.ts.map +1 -0
- package/dist/react-native/operations/capabilities.js +321 -0
- package/dist/react-native/operations/capabilities.js.map +1 -0
- package/dist/react-native/operations/capabilityTypes.d.ts +46 -0
- package/dist/react-native/operations/capabilityTypes.d.ts.map +1 -0
- package/dist/react-native/operations/capabilityTypes.js +182 -0
- package/dist/react-native/operations/capabilityTypes.js.map +1 -0
- package/dist/react-native/operations/experiments.d.ts +175 -0
- package/dist/react-native/operations/experiments.d.ts.map +1 -0
- package/dist/react-native/operations/experiments.js +878 -0
- package/dist/react-native/operations/experiments.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +8 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +15 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/operationStatuses.d.ts +20 -0
- package/dist/react-native/operations/operationStatuses.d.ts.map +1 -0
- package/dist/react-native/operations/operationStatuses.js +53 -0
- package/dist/react-native/operations/operationStatuses.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +32 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +133 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operations/targetTypes.d.ts +42 -0
- package/dist/react-native/operations/targetTypes.d.ts.map +1 -0
- package/dist/react-native/operations/targetTypes.js +175 -0
- package/dist/react-native/operations/targetTypes.js.map +1 -0
- package/dist/react-native/operations/targets.d.ts +75 -0
- package/dist/react-native/operations/targets.d.ts.map +1 -0
- package/dist/react-native/operations/targets.js +305 -0
- package/dist/react-native/operations/targets.js.map +1 -0
- package/dist/react-native/operationsInterfaces/capabilities.d.ts +50 -0
- package/dist/react-native/operationsInterfaces/capabilities.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/capabilities.js +9 -0
- package/dist/react-native/operationsInterfaces/capabilities.js.map +1 -0
- package/dist/react-native/operationsInterfaces/capabilityTypes.d.ts +21 -0
- package/dist/react-native/operationsInterfaces/capabilityTypes.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/capabilityTypes.js +9 -0
- package/dist/react-native/operationsInterfaces/capabilityTypes.js.map +1 -0
- package/dist/react-native/operationsInterfaces/experiments.d.ts +122 -0
- package/dist/react-native/operationsInterfaces/experiments.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/experiments.js +9 -0
- package/dist/react-native/operationsInterfaces/experiments.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +8 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +15 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operationStatuses.d.ts +12 -0
- package/dist/react-native/operationsInterfaces/operationStatuses.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operationStatuses.js +9 -0
- package/dist/react-native/operationsInterfaces/operationStatuses.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.js +9 -0
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/targetTypes.d.ts +19 -0
- package/dist/react-native/operationsInterfaces/targetTypes.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/targetTypes.js +9 -0
- package/dist/react-native/operationsInterfaces/targetTypes.js.map +1 -0
- package/dist/react-native/operationsInterfaces/targets.d.ts +46 -0
- package/dist/react-native/operationsInterfaces/targets.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/targets.js +9 -0
- package/dist/react-native/operationsInterfaces/targets.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +32 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +58 -28
- package/dist/index.js +0 -4322
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/capabilitiesCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/capabilitiesCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/capabilitiesCreateOrUpdateSample.js +0 -44
- package/dist-esm/samples-dev/capabilitiesCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/capabilitiesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/capabilitiesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/capabilitiesDeleteSample.js +0 -43
- package/dist-esm/samples-dev/capabilitiesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/capabilitiesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/capabilitiesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/capabilitiesGetSample.js +0 -43
- package/dist-esm/samples-dev/capabilitiesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/capabilitiesListSample.d.ts +0 -2
- package/dist-esm/samples-dev/capabilitiesListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/capabilitiesListSample.js +0 -58
- package/dist-esm/samples-dev/capabilitiesListSample.js.map +0 -1
- package/dist-esm/samples-dev/capabilityTypesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/capabilityTypesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/capabilityTypesGetSample.js +0 -40
- package/dist-esm/samples-dev/capabilityTypesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/capabilityTypesListSample.d.ts +0 -2
- package/dist-esm/samples-dev/capabilityTypesListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/capabilityTypesListSample.js +0 -55
- package/dist-esm/samples-dev/capabilityTypesListSample.js.map +0 -1
- package/dist-esm/samples-dev/experimentsCancelSample.d.ts +0 -2
- package/dist-esm/samples-dev/experimentsCancelSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/experimentsCancelSample.js +0 -39
- package/dist-esm/samples-dev/experimentsCancelSample.js.map +0 -1
- package/dist-esm/samples-dev/experimentsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/experimentsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/experimentsCreateOrUpdateSample.js +0 -74
- package/dist-esm/samples-dev/experimentsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/experimentsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/experimentsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/experimentsDeleteSample.js +0 -39
- package/dist-esm/samples-dev/experimentsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/experimentsExecutionDetailsSample.d.ts +0 -2
- package/dist-esm/samples-dev/experimentsExecutionDetailsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/experimentsExecutionDetailsSample.js +0 -40
- package/dist-esm/samples-dev/experimentsExecutionDetailsSample.js.map +0 -1
- package/dist-esm/samples-dev/experimentsGetExecutionSample.d.ts +0 -2
- package/dist-esm/samples-dev/experimentsGetExecutionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/experimentsGetExecutionSample.js +0 -40
- package/dist-esm/samples-dev/experimentsGetExecutionSample.js.map +0 -1
- package/dist-esm/samples-dev/experimentsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/experimentsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/experimentsGetSample.js +0 -39
- package/dist-esm/samples-dev/experimentsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/experimentsListAllExecutionsSample.d.ts +0 -2
- package/dist-esm/samples-dev/experimentsListAllExecutionsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/experimentsListAllExecutionsSample.js +0 -55
- package/dist-esm/samples-dev/experimentsListAllExecutionsSample.js.map +0 -1
- package/dist-esm/samples-dev/experimentsListAllSample.d.ts +0 -2
- package/dist-esm/samples-dev/experimentsListAllSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/experimentsListAllSample.js +0 -55
- package/dist-esm/samples-dev/experimentsListAllSample.js.map +0 -1
- package/dist-esm/samples-dev/experimentsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/experimentsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/experimentsListSample.js +0 -56
- package/dist-esm/samples-dev/experimentsListSample.js.map +0 -1
- package/dist-esm/samples-dev/experimentsStartSample.d.ts +0 -2
- package/dist-esm/samples-dev/experimentsStartSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/experimentsStartSample.js +0 -39
- package/dist-esm/samples-dev/experimentsStartSample.js.map +0 -1
- package/dist-esm/samples-dev/experimentsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/experimentsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/experimentsUpdateSample.js +0 -48
- package/dist-esm/samples-dev/experimentsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/operationStatusesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationStatusesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationStatusesGetSample.js +0 -39
- package/dist-esm/samples-dev/operationStatusesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/targetTypesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/targetTypesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/targetTypesGetSample.js +0 -39
- package/dist-esm/samples-dev/targetTypesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/targetTypesListSample.d.ts +0 -2
- package/dist-esm/samples-dev/targetTypesListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/targetTypesListSample.js +0 -56
- package/dist-esm/samples-dev/targetTypesListSample.js.map +0 -1
- package/dist-esm/samples-dev/targetsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/targetsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/targetsCreateOrUpdateSample.js +0 -49
- package/dist-esm/samples-dev/targetsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/targetsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/targetsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/targetsDeleteSample.js +0 -42
- package/dist-esm/samples-dev/targetsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/targetsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/targetsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/targetsGetSample.js +0 -42
- package/dist-esm/samples-dev/targetsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/targetsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/targetsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/targetsListSample.js +0 -59
- package/dist-esm/samples-dev/targetsListSample.js.map +0 -1
- package/dist-esm/src/chaosManagementClient.d.ts.map +0 -1
- package/dist-esm/src/chaosManagementClient.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/capabilities.d.ts.map +0 -1
- package/dist-esm/src/operations/capabilities.js.map +0 -1
- package/dist-esm/src/operations/capabilityTypes.d.ts.map +0 -1
- package/dist-esm/src/operations/capabilityTypes.js.map +0 -1
- package/dist-esm/src/operations/experiments.d.ts.map +0 -1
- package/dist-esm/src/operations/experiments.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -8
- package/dist-esm/src/operations/index.d.ts.map +0 -1
- package/dist-esm/src/operations/index.js +0 -15
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/operationStatuses.d.ts.map +0 -1
- package/dist-esm/src/operations/operationStatuses.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/targetTypes.d.ts.map +0 -1
- package/dist-esm/src/operations/targetTypes.js.map +0 -1
- package/dist-esm/src/operations/targets.d.ts.map +0 -1
- package/dist-esm/src/operations/targets.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/capabilities.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/capabilities.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/capabilityTypes.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/capabilityTypes.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/experiments.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/experiments.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -8
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -15
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operationStatuses.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/targetTypes.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/targetTypes.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/targets.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/targets.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/chaos_examples.spec.d.ts +0 -4
- package/dist-esm/test/chaos_examples.spec.d.ts.map +0 -1
- package/dist-esm/test/chaos_examples.spec.js +0 -275
- package/dist-esm/test/chaos_examples.spec.js.map +0 -1
- package/src/chaosManagementClient.ts +0 -183
- package/src/lroImpl.ts +0 -42
- package/src/models/index.ts +0 -1265
- package/src/models/mappers.ts +0 -1848
- package/src/models/parameters.ts +0 -317
- package/src/operations/capabilities.ts +0 -444
- package/src/operations/capabilityTypes.ts +0 -236
- package/src/operations/experiments.ts +0 -1172
- package/src/operations/index.ts +0 -15
- package/src/operations/operationStatuses.ts +0 -71
- package/src/operations/operations.ts +0 -149
- package/src/operations/targetTypes.ts +0 -209
- package/src/operations/targets.ts +0 -415
- package/src/operationsInterfaces/capabilities.ts +0 -99
- package/src/operationsInterfaces/capabilityTypes.ts +0 -44
- package/src/operationsInterfaces/experiments.ts +0 -228
- package/src/operationsInterfaces/index.ts +0 -15
- package/src/operationsInterfaces/operationStatuses.ts +0 -27
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/targetTypes.ts +0 -40
- package/src/operationsInterfaces/targets.ts +0 -91
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/capabilities.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/capabilityTypes.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/experiments.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operationStatuses.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/targetTypes.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/targets.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
- /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
package/dist/index.js
DELETED
|
@@ -1,4322 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var tslib = require('tslib');
|
|
6
|
-
var coreClient = require('@azure/core-client');
|
|
7
|
-
var coreRestPipeline = require('@azure/core-rest-pipeline');
|
|
8
|
-
var coreLro = require('@azure/core-lro');
|
|
9
|
-
|
|
10
|
-
function _interopNamespaceDefault(e) {
|
|
11
|
-
var n = Object.create(null);
|
|
12
|
-
if (e) {
|
|
13
|
-
Object.keys(e).forEach(function (k) {
|
|
14
|
-
if (k !== 'default') {
|
|
15
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
16
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function () { return e[k]; }
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
n.default = e;
|
|
24
|
-
return Object.freeze(n);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
var coreClient__namespace = /*#__PURE__*/_interopNamespaceDefault(coreClient);
|
|
28
|
-
var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespaceDefault(coreRestPipeline);
|
|
29
|
-
|
|
30
|
-
/*
|
|
31
|
-
* Copyright (c) Microsoft Corporation.
|
|
32
|
-
* Licensed under the MIT License.
|
|
33
|
-
*
|
|
34
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
35
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
36
|
-
*/
|
|
37
|
-
const pageMap = new WeakMap();
|
|
38
|
-
/**
|
|
39
|
-
* Given the last `.value` produced by the `byPage` iterator,
|
|
40
|
-
* returns a continuation token that can be used to begin paging from
|
|
41
|
-
* that point later.
|
|
42
|
-
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
43
|
-
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
44
|
-
*/
|
|
45
|
-
function getContinuationToken(page) {
|
|
46
|
-
var _a;
|
|
47
|
-
if (typeof page !== "object" || page === null) {
|
|
48
|
-
return undefined;
|
|
49
|
-
}
|
|
50
|
-
return (_a = pageMap.get(page)) === null || _a === undefined ? undefined : _a.continuationToken;
|
|
51
|
-
}
|
|
52
|
-
function setContinuationToken(page, continuationToken) {
|
|
53
|
-
var _a;
|
|
54
|
-
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
55
|
-
return;
|
|
56
|
-
}
|
|
57
|
-
const pageInfo = (_a = pageMap.get(page)) !== null && _a !== undefined ? _a : {};
|
|
58
|
-
pageInfo.continuationToken = continuationToken;
|
|
59
|
-
pageMap.set(page, pageInfo);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/*
|
|
63
|
-
* Copyright (c) Microsoft Corporation.
|
|
64
|
-
* Licensed under the MIT License.
|
|
65
|
-
*
|
|
66
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
67
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
68
|
-
*/
|
|
69
|
-
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
70
|
-
exports.KnownCreatedByType = void 0;
|
|
71
|
-
(function (KnownCreatedByType) {
|
|
72
|
-
/** User */
|
|
73
|
-
KnownCreatedByType["User"] = "User";
|
|
74
|
-
/** Application */
|
|
75
|
-
KnownCreatedByType["Application"] = "Application";
|
|
76
|
-
/** ManagedIdentity */
|
|
77
|
-
KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
|
|
78
|
-
/** Key */
|
|
79
|
-
KnownCreatedByType["Key"] = "Key";
|
|
80
|
-
})(exports.KnownCreatedByType || (exports.KnownCreatedByType = {}));
|
|
81
|
-
/** Known values of {@link ProvisioningState} that the service accepts. */
|
|
82
|
-
exports.KnownProvisioningState = void 0;
|
|
83
|
-
(function (KnownProvisioningState) {
|
|
84
|
-
/** Succeeded */
|
|
85
|
-
KnownProvisioningState["Succeeded"] = "Succeeded";
|
|
86
|
-
/** Failed */
|
|
87
|
-
KnownProvisioningState["Failed"] = "Failed";
|
|
88
|
-
/** Canceled */
|
|
89
|
-
KnownProvisioningState["Canceled"] = "Canceled";
|
|
90
|
-
/** Creating */
|
|
91
|
-
KnownProvisioningState["Creating"] = "Creating";
|
|
92
|
-
/** Updating */
|
|
93
|
-
KnownProvisioningState["Updating"] = "Updating";
|
|
94
|
-
/** Deleting */
|
|
95
|
-
KnownProvisioningState["Deleting"] = "Deleting";
|
|
96
|
-
})(exports.KnownProvisioningState || (exports.KnownProvisioningState = {}));
|
|
97
|
-
/** Known values of {@link SelectorType} that the service accepts. */
|
|
98
|
-
exports.KnownSelectorType = void 0;
|
|
99
|
-
(function (KnownSelectorType) {
|
|
100
|
-
/** List */
|
|
101
|
-
KnownSelectorType["List"] = "List";
|
|
102
|
-
/** Query */
|
|
103
|
-
KnownSelectorType["Query"] = "Query";
|
|
104
|
-
})(exports.KnownSelectorType || (exports.KnownSelectorType = {}));
|
|
105
|
-
/** Known values of {@link FilterType} that the service accepts. */
|
|
106
|
-
exports.KnownFilterType = void 0;
|
|
107
|
-
(function (KnownFilterType) {
|
|
108
|
-
/** Simple */
|
|
109
|
-
KnownFilterType["Simple"] = "Simple";
|
|
110
|
-
})(exports.KnownFilterType || (exports.KnownFilterType = {}));
|
|
111
|
-
/** Known values of {@link Origin} that the service accepts. */
|
|
112
|
-
exports.KnownOrigin = void 0;
|
|
113
|
-
(function (KnownOrigin) {
|
|
114
|
-
/** User */
|
|
115
|
-
KnownOrigin["User"] = "user";
|
|
116
|
-
/** System */
|
|
117
|
-
KnownOrigin["System"] = "system";
|
|
118
|
-
/** UserSystem */
|
|
119
|
-
KnownOrigin["UserSystem"] = "user,system";
|
|
120
|
-
})(exports.KnownOrigin || (exports.KnownOrigin = {}));
|
|
121
|
-
/** Known values of {@link ActionType} that the service accepts. */
|
|
122
|
-
exports.KnownActionType = void 0;
|
|
123
|
-
(function (KnownActionType) {
|
|
124
|
-
/** Internal */
|
|
125
|
-
KnownActionType["Internal"] = "Internal";
|
|
126
|
-
})(exports.KnownActionType || (exports.KnownActionType = {}));
|
|
127
|
-
/** Known values of {@link TargetReferenceType} that the service accepts. */
|
|
128
|
-
exports.KnownTargetReferenceType = void 0;
|
|
129
|
-
(function (KnownTargetReferenceType) {
|
|
130
|
-
/** ChaosTarget */
|
|
131
|
-
KnownTargetReferenceType["ChaosTarget"] = "ChaosTarget";
|
|
132
|
-
})(exports.KnownTargetReferenceType || (exports.KnownTargetReferenceType = {}));
|
|
133
|
-
|
|
134
|
-
/*
|
|
135
|
-
* Copyright (c) Microsoft Corporation.
|
|
136
|
-
* Licensed under the MIT License.
|
|
137
|
-
*
|
|
138
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
139
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
140
|
-
*/
|
|
141
|
-
const CapabilityListResult = {
|
|
142
|
-
type: {
|
|
143
|
-
name: "Composite",
|
|
144
|
-
className: "CapabilityListResult",
|
|
145
|
-
modelProperties: {
|
|
146
|
-
value: {
|
|
147
|
-
serializedName: "value",
|
|
148
|
-
readOnly: true,
|
|
149
|
-
type: {
|
|
150
|
-
name: "Sequence",
|
|
151
|
-
element: {
|
|
152
|
-
type: {
|
|
153
|
-
name: "Composite",
|
|
154
|
-
className: "Capability",
|
|
155
|
-
},
|
|
156
|
-
},
|
|
157
|
-
},
|
|
158
|
-
},
|
|
159
|
-
nextLink: {
|
|
160
|
-
constraints: {
|
|
161
|
-
MaxLength: 2048,
|
|
162
|
-
},
|
|
163
|
-
serializedName: "nextLink",
|
|
164
|
-
readOnly: true,
|
|
165
|
-
nullable: true,
|
|
166
|
-
type: {
|
|
167
|
-
name: "String",
|
|
168
|
-
},
|
|
169
|
-
},
|
|
170
|
-
},
|
|
171
|
-
},
|
|
172
|
-
};
|
|
173
|
-
const SystemData = {
|
|
174
|
-
type: {
|
|
175
|
-
name: "Composite",
|
|
176
|
-
className: "SystemData",
|
|
177
|
-
modelProperties: {
|
|
178
|
-
createdBy: {
|
|
179
|
-
serializedName: "createdBy",
|
|
180
|
-
type: {
|
|
181
|
-
name: "String",
|
|
182
|
-
},
|
|
183
|
-
},
|
|
184
|
-
createdByType: {
|
|
185
|
-
serializedName: "createdByType",
|
|
186
|
-
type: {
|
|
187
|
-
name: "String",
|
|
188
|
-
},
|
|
189
|
-
},
|
|
190
|
-
createdAt: {
|
|
191
|
-
serializedName: "createdAt",
|
|
192
|
-
type: {
|
|
193
|
-
name: "DateTime",
|
|
194
|
-
},
|
|
195
|
-
},
|
|
196
|
-
lastModifiedBy: {
|
|
197
|
-
serializedName: "lastModifiedBy",
|
|
198
|
-
type: {
|
|
199
|
-
name: "String",
|
|
200
|
-
},
|
|
201
|
-
},
|
|
202
|
-
lastModifiedByType: {
|
|
203
|
-
serializedName: "lastModifiedByType",
|
|
204
|
-
type: {
|
|
205
|
-
name: "String",
|
|
206
|
-
},
|
|
207
|
-
},
|
|
208
|
-
lastModifiedAt: {
|
|
209
|
-
serializedName: "lastModifiedAt",
|
|
210
|
-
type: {
|
|
211
|
-
name: "DateTime",
|
|
212
|
-
},
|
|
213
|
-
},
|
|
214
|
-
},
|
|
215
|
-
},
|
|
216
|
-
};
|
|
217
|
-
const Resource = {
|
|
218
|
-
type: {
|
|
219
|
-
name: "Composite",
|
|
220
|
-
className: "Resource",
|
|
221
|
-
modelProperties: {
|
|
222
|
-
id: {
|
|
223
|
-
serializedName: "id",
|
|
224
|
-
readOnly: true,
|
|
225
|
-
type: {
|
|
226
|
-
name: "String",
|
|
227
|
-
},
|
|
228
|
-
},
|
|
229
|
-
name: {
|
|
230
|
-
serializedName: "name",
|
|
231
|
-
readOnly: true,
|
|
232
|
-
type: {
|
|
233
|
-
name: "String",
|
|
234
|
-
},
|
|
235
|
-
},
|
|
236
|
-
type: {
|
|
237
|
-
serializedName: "type",
|
|
238
|
-
readOnly: true,
|
|
239
|
-
type: {
|
|
240
|
-
name: "String",
|
|
241
|
-
},
|
|
242
|
-
},
|
|
243
|
-
},
|
|
244
|
-
},
|
|
245
|
-
};
|
|
246
|
-
const ErrorResponse = {
|
|
247
|
-
type: {
|
|
248
|
-
name: "Composite",
|
|
249
|
-
className: "ErrorResponse",
|
|
250
|
-
modelProperties: {
|
|
251
|
-
error: {
|
|
252
|
-
serializedName: "error",
|
|
253
|
-
type: {
|
|
254
|
-
name: "Composite",
|
|
255
|
-
className: "ErrorDetail",
|
|
256
|
-
},
|
|
257
|
-
},
|
|
258
|
-
},
|
|
259
|
-
},
|
|
260
|
-
};
|
|
261
|
-
const ErrorDetail = {
|
|
262
|
-
type: {
|
|
263
|
-
name: "Composite",
|
|
264
|
-
className: "ErrorDetail",
|
|
265
|
-
modelProperties: {
|
|
266
|
-
code: {
|
|
267
|
-
serializedName: "code",
|
|
268
|
-
readOnly: true,
|
|
269
|
-
type: {
|
|
270
|
-
name: "String",
|
|
271
|
-
},
|
|
272
|
-
},
|
|
273
|
-
message: {
|
|
274
|
-
serializedName: "message",
|
|
275
|
-
readOnly: true,
|
|
276
|
-
type: {
|
|
277
|
-
name: "String",
|
|
278
|
-
},
|
|
279
|
-
},
|
|
280
|
-
target: {
|
|
281
|
-
serializedName: "target",
|
|
282
|
-
readOnly: true,
|
|
283
|
-
type: {
|
|
284
|
-
name: "String",
|
|
285
|
-
},
|
|
286
|
-
},
|
|
287
|
-
details: {
|
|
288
|
-
serializedName: "details",
|
|
289
|
-
readOnly: true,
|
|
290
|
-
type: {
|
|
291
|
-
name: "Sequence",
|
|
292
|
-
element: {
|
|
293
|
-
type: {
|
|
294
|
-
name: "Composite",
|
|
295
|
-
className: "ErrorDetail",
|
|
296
|
-
},
|
|
297
|
-
},
|
|
298
|
-
},
|
|
299
|
-
},
|
|
300
|
-
additionalInfo: {
|
|
301
|
-
serializedName: "additionalInfo",
|
|
302
|
-
readOnly: true,
|
|
303
|
-
type: {
|
|
304
|
-
name: "Sequence",
|
|
305
|
-
element: {
|
|
306
|
-
type: {
|
|
307
|
-
name: "Composite",
|
|
308
|
-
className: "ErrorAdditionalInfo",
|
|
309
|
-
},
|
|
310
|
-
},
|
|
311
|
-
},
|
|
312
|
-
},
|
|
313
|
-
},
|
|
314
|
-
},
|
|
315
|
-
};
|
|
316
|
-
const ErrorAdditionalInfo = {
|
|
317
|
-
type: {
|
|
318
|
-
name: "Composite",
|
|
319
|
-
className: "ErrorAdditionalInfo",
|
|
320
|
-
modelProperties: {
|
|
321
|
-
type: {
|
|
322
|
-
serializedName: "type",
|
|
323
|
-
readOnly: true,
|
|
324
|
-
type: {
|
|
325
|
-
name: "String",
|
|
326
|
-
},
|
|
327
|
-
},
|
|
328
|
-
info: {
|
|
329
|
-
serializedName: "info",
|
|
330
|
-
readOnly: true,
|
|
331
|
-
type: {
|
|
332
|
-
name: "Dictionary",
|
|
333
|
-
value: { type: { name: "any" } },
|
|
334
|
-
},
|
|
335
|
-
},
|
|
336
|
-
},
|
|
337
|
-
},
|
|
338
|
-
};
|
|
339
|
-
const CapabilityTypeListResult = {
|
|
340
|
-
type: {
|
|
341
|
-
name: "Composite",
|
|
342
|
-
className: "CapabilityTypeListResult",
|
|
343
|
-
modelProperties: {
|
|
344
|
-
value: {
|
|
345
|
-
serializedName: "value",
|
|
346
|
-
readOnly: true,
|
|
347
|
-
type: {
|
|
348
|
-
name: "Sequence",
|
|
349
|
-
element: {
|
|
350
|
-
type: {
|
|
351
|
-
name: "Composite",
|
|
352
|
-
className: "CapabilityType",
|
|
353
|
-
},
|
|
354
|
-
},
|
|
355
|
-
},
|
|
356
|
-
},
|
|
357
|
-
nextLink: {
|
|
358
|
-
constraints: {
|
|
359
|
-
MaxLength: 2048,
|
|
360
|
-
},
|
|
361
|
-
serializedName: "nextLink",
|
|
362
|
-
readOnly: true,
|
|
363
|
-
nullable: true,
|
|
364
|
-
type: {
|
|
365
|
-
name: "String",
|
|
366
|
-
},
|
|
367
|
-
},
|
|
368
|
-
},
|
|
369
|
-
},
|
|
370
|
-
};
|
|
371
|
-
const CapabilityTypePropertiesRuntimeProperties = {
|
|
372
|
-
type: {
|
|
373
|
-
name: "Composite",
|
|
374
|
-
className: "CapabilityTypePropertiesRuntimeProperties",
|
|
375
|
-
modelProperties: {
|
|
376
|
-
kind: {
|
|
377
|
-
serializedName: "kind",
|
|
378
|
-
readOnly: true,
|
|
379
|
-
type: {
|
|
380
|
-
name: "String",
|
|
381
|
-
},
|
|
382
|
-
},
|
|
383
|
-
},
|
|
384
|
-
},
|
|
385
|
-
};
|
|
386
|
-
const ExperimentListResult = {
|
|
387
|
-
type: {
|
|
388
|
-
name: "Composite",
|
|
389
|
-
className: "ExperimentListResult",
|
|
390
|
-
modelProperties: {
|
|
391
|
-
value: {
|
|
392
|
-
serializedName: "value",
|
|
393
|
-
readOnly: true,
|
|
394
|
-
type: {
|
|
395
|
-
name: "Sequence",
|
|
396
|
-
element: {
|
|
397
|
-
type: {
|
|
398
|
-
name: "Composite",
|
|
399
|
-
className: "Experiment",
|
|
400
|
-
},
|
|
401
|
-
},
|
|
402
|
-
},
|
|
403
|
-
},
|
|
404
|
-
nextLink: {
|
|
405
|
-
constraints: {
|
|
406
|
-
MaxLength: 2048,
|
|
407
|
-
},
|
|
408
|
-
serializedName: "nextLink",
|
|
409
|
-
readOnly: true,
|
|
410
|
-
nullable: true,
|
|
411
|
-
type: {
|
|
412
|
-
name: "String",
|
|
413
|
-
},
|
|
414
|
-
},
|
|
415
|
-
},
|
|
416
|
-
},
|
|
417
|
-
};
|
|
418
|
-
const ResourceIdentity = {
|
|
419
|
-
type: {
|
|
420
|
-
name: "Composite",
|
|
421
|
-
className: "ResourceIdentity",
|
|
422
|
-
modelProperties: {
|
|
423
|
-
type: {
|
|
424
|
-
serializedName: "type",
|
|
425
|
-
required: true,
|
|
426
|
-
type: {
|
|
427
|
-
name: "Enum",
|
|
428
|
-
allowedValues: ["None", "SystemAssigned", "UserAssigned"],
|
|
429
|
-
},
|
|
430
|
-
},
|
|
431
|
-
userAssignedIdentities: {
|
|
432
|
-
serializedName: "userAssignedIdentities",
|
|
433
|
-
type: {
|
|
434
|
-
name: "Dictionary",
|
|
435
|
-
value: {
|
|
436
|
-
type: { name: "Composite", className: "UserAssignedIdentity" },
|
|
437
|
-
},
|
|
438
|
-
},
|
|
439
|
-
},
|
|
440
|
-
principalId: {
|
|
441
|
-
constraints: {
|
|
442
|
-
Pattern: new RegExp("^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"),
|
|
443
|
-
},
|
|
444
|
-
serializedName: "principalId",
|
|
445
|
-
readOnly: true,
|
|
446
|
-
type: {
|
|
447
|
-
name: "String",
|
|
448
|
-
},
|
|
449
|
-
},
|
|
450
|
-
tenantId: {
|
|
451
|
-
constraints: {
|
|
452
|
-
Pattern: new RegExp("^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"),
|
|
453
|
-
},
|
|
454
|
-
serializedName: "tenantId",
|
|
455
|
-
readOnly: true,
|
|
456
|
-
type: {
|
|
457
|
-
name: "String",
|
|
458
|
-
},
|
|
459
|
-
},
|
|
460
|
-
},
|
|
461
|
-
},
|
|
462
|
-
};
|
|
463
|
-
const UserAssignedIdentity = {
|
|
464
|
-
type: {
|
|
465
|
-
name: "Composite",
|
|
466
|
-
className: "UserAssignedIdentity",
|
|
467
|
-
modelProperties: {
|
|
468
|
-
principalId: {
|
|
469
|
-
serializedName: "principalId",
|
|
470
|
-
readOnly: true,
|
|
471
|
-
type: {
|
|
472
|
-
name: "Uuid",
|
|
473
|
-
},
|
|
474
|
-
},
|
|
475
|
-
clientId: {
|
|
476
|
-
serializedName: "clientId",
|
|
477
|
-
readOnly: true,
|
|
478
|
-
type: {
|
|
479
|
-
name: "Uuid",
|
|
480
|
-
},
|
|
481
|
-
},
|
|
482
|
-
},
|
|
483
|
-
},
|
|
484
|
-
};
|
|
485
|
-
const ChaosExperimentStep = {
|
|
486
|
-
type: {
|
|
487
|
-
name: "Composite",
|
|
488
|
-
className: "ChaosExperimentStep",
|
|
489
|
-
modelProperties: {
|
|
490
|
-
name: {
|
|
491
|
-
constraints: {
|
|
492
|
-
MinLength: 1,
|
|
493
|
-
},
|
|
494
|
-
serializedName: "name",
|
|
495
|
-
required: true,
|
|
496
|
-
type: {
|
|
497
|
-
name: "String",
|
|
498
|
-
},
|
|
499
|
-
},
|
|
500
|
-
branches: {
|
|
501
|
-
constraints: {
|
|
502
|
-
MinItems: 1,
|
|
503
|
-
MaxItems: 9,
|
|
504
|
-
},
|
|
505
|
-
serializedName: "branches",
|
|
506
|
-
required: true,
|
|
507
|
-
type: {
|
|
508
|
-
name: "Sequence",
|
|
509
|
-
element: {
|
|
510
|
-
type: {
|
|
511
|
-
name: "Composite",
|
|
512
|
-
className: "ChaosExperimentBranch",
|
|
513
|
-
},
|
|
514
|
-
},
|
|
515
|
-
},
|
|
516
|
-
},
|
|
517
|
-
},
|
|
518
|
-
},
|
|
519
|
-
};
|
|
520
|
-
const ChaosExperimentBranch = {
|
|
521
|
-
type: {
|
|
522
|
-
name: "Composite",
|
|
523
|
-
className: "ChaosExperimentBranch",
|
|
524
|
-
modelProperties: {
|
|
525
|
-
name: {
|
|
526
|
-
constraints: {
|
|
527
|
-
MinLength: 1,
|
|
528
|
-
},
|
|
529
|
-
serializedName: "name",
|
|
530
|
-
required: true,
|
|
531
|
-
type: {
|
|
532
|
-
name: "String",
|
|
533
|
-
},
|
|
534
|
-
},
|
|
535
|
-
actions: {
|
|
536
|
-
constraints: {
|
|
537
|
-
MinItems: 1,
|
|
538
|
-
MaxItems: 9,
|
|
539
|
-
},
|
|
540
|
-
serializedName: "actions",
|
|
541
|
-
required: true,
|
|
542
|
-
type: {
|
|
543
|
-
name: "Sequence",
|
|
544
|
-
element: {
|
|
545
|
-
type: {
|
|
546
|
-
name: "Composite",
|
|
547
|
-
className: "ChaosExperimentAction",
|
|
548
|
-
},
|
|
549
|
-
},
|
|
550
|
-
},
|
|
551
|
-
},
|
|
552
|
-
},
|
|
553
|
-
},
|
|
554
|
-
};
|
|
555
|
-
const ChaosExperimentAction = {
|
|
556
|
-
type: {
|
|
557
|
-
name: "Composite",
|
|
558
|
-
className: "ChaosExperimentAction",
|
|
559
|
-
uberParent: "ChaosExperimentAction",
|
|
560
|
-
polymorphicDiscriminator: {
|
|
561
|
-
serializedName: "type",
|
|
562
|
-
clientName: "type",
|
|
563
|
-
},
|
|
564
|
-
modelProperties: {
|
|
565
|
-
type: {
|
|
566
|
-
serializedName: "type",
|
|
567
|
-
required: true,
|
|
568
|
-
type: {
|
|
569
|
-
name: "String",
|
|
570
|
-
},
|
|
571
|
-
},
|
|
572
|
-
name: {
|
|
573
|
-
constraints: {
|
|
574
|
-
MaxLength: 2048,
|
|
575
|
-
},
|
|
576
|
-
serializedName: "name",
|
|
577
|
-
required: true,
|
|
578
|
-
type: {
|
|
579
|
-
name: "String",
|
|
580
|
-
},
|
|
581
|
-
},
|
|
582
|
-
},
|
|
583
|
-
},
|
|
584
|
-
};
|
|
585
|
-
const ChaosTargetSelector = {
|
|
586
|
-
serializedName: "ChaosTargetSelector",
|
|
587
|
-
type: {
|
|
588
|
-
name: "Composite",
|
|
589
|
-
className: "ChaosTargetSelector",
|
|
590
|
-
uberParent: "ChaosTargetSelector",
|
|
591
|
-
additionalProperties: { type: { name: "Object" } },
|
|
592
|
-
polymorphicDiscriminator: {
|
|
593
|
-
serializedName: "type",
|
|
594
|
-
clientName: "type",
|
|
595
|
-
},
|
|
596
|
-
modelProperties: {
|
|
597
|
-
type: {
|
|
598
|
-
serializedName: "type",
|
|
599
|
-
required: true,
|
|
600
|
-
type: {
|
|
601
|
-
name: "String",
|
|
602
|
-
},
|
|
603
|
-
},
|
|
604
|
-
id: {
|
|
605
|
-
constraints: {
|
|
606
|
-
MinLength: 1,
|
|
607
|
-
},
|
|
608
|
-
serializedName: "id",
|
|
609
|
-
required: true,
|
|
610
|
-
type: {
|
|
611
|
-
name: "String",
|
|
612
|
-
},
|
|
613
|
-
},
|
|
614
|
-
filter: {
|
|
615
|
-
serializedName: "filter",
|
|
616
|
-
type: {
|
|
617
|
-
name: "Composite",
|
|
618
|
-
className: "ChaosTargetFilter",
|
|
619
|
-
},
|
|
620
|
-
},
|
|
621
|
-
},
|
|
622
|
-
},
|
|
623
|
-
};
|
|
624
|
-
const ChaosTargetFilter = {
|
|
625
|
-
type: {
|
|
626
|
-
name: "Composite",
|
|
627
|
-
className: "ChaosTargetFilter",
|
|
628
|
-
uberParent: "ChaosTargetFilter",
|
|
629
|
-
polymorphicDiscriminator: {
|
|
630
|
-
serializedName: "type",
|
|
631
|
-
clientName: "type",
|
|
632
|
-
},
|
|
633
|
-
modelProperties: {
|
|
634
|
-
type: {
|
|
635
|
-
serializedName: "type",
|
|
636
|
-
required: true,
|
|
637
|
-
type: {
|
|
638
|
-
name: "String",
|
|
639
|
-
},
|
|
640
|
-
},
|
|
641
|
-
},
|
|
642
|
-
},
|
|
643
|
-
};
|
|
644
|
-
const ExperimentUpdate = {
|
|
645
|
-
type: {
|
|
646
|
-
name: "Composite",
|
|
647
|
-
className: "ExperimentUpdate",
|
|
648
|
-
modelProperties: {
|
|
649
|
-
identity: {
|
|
650
|
-
serializedName: "identity",
|
|
651
|
-
type: {
|
|
652
|
-
name: "Composite",
|
|
653
|
-
className: "ResourceIdentity",
|
|
654
|
-
},
|
|
655
|
-
},
|
|
656
|
-
tags: {
|
|
657
|
-
serializedName: "tags",
|
|
658
|
-
type: {
|
|
659
|
-
name: "Dictionary",
|
|
660
|
-
value: { type: { name: "String" } },
|
|
661
|
-
},
|
|
662
|
-
},
|
|
663
|
-
},
|
|
664
|
-
},
|
|
665
|
-
};
|
|
666
|
-
const ExperimentExecutionListResult = {
|
|
667
|
-
type: {
|
|
668
|
-
name: "Composite",
|
|
669
|
-
className: "ExperimentExecutionListResult",
|
|
670
|
-
modelProperties: {
|
|
671
|
-
value: {
|
|
672
|
-
serializedName: "value",
|
|
673
|
-
readOnly: true,
|
|
674
|
-
type: {
|
|
675
|
-
name: "Sequence",
|
|
676
|
-
element: {
|
|
677
|
-
type: {
|
|
678
|
-
name: "Composite",
|
|
679
|
-
className: "ExperimentExecution",
|
|
680
|
-
},
|
|
681
|
-
},
|
|
682
|
-
},
|
|
683
|
-
},
|
|
684
|
-
nextLink: {
|
|
685
|
-
constraints: {
|
|
686
|
-
MaxLength: 2048,
|
|
687
|
-
},
|
|
688
|
-
serializedName: "nextLink",
|
|
689
|
-
readOnly: true,
|
|
690
|
-
nullable: true,
|
|
691
|
-
type: {
|
|
692
|
-
name: "String",
|
|
693
|
-
},
|
|
694
|
-
},
|
|
695
|
-
},
|
|
696
|
-
},
|
|
697
|
-
};
|
|
698
|
-
const ExperimentExecution = {
|
|
699
|
-
type: {
|
|
700
|
-
name: "Composite",
|
|
701
|
-
className: "ExperimentExecution",
|
|
702
|
-
modelProperties: {
|
|
703
|
-
type: {
|
|
704
|
-
serializedName: "type",
|
|
705
|
-
readOnly: true,
|
|
706
|
-
type: {
|
|
707
|
-
name: "String",
|
|
708
|
-
},
|
|
709
|
-
},
|
|
710
|
-
id: {
|
|
711
|
-
serializedName: "id",
|
|
712
|
-
readOnly: true,
|
|
713
|
-
type: {
|
|
714
|
-
name: "String",
|
|
715
|
-
},
|
|
716
|
-
},
|
|
717
|
-
name: {
|
|
718
|
-
serializedName: "name",
|
|
719
|
-
readOnly: true,
|
|
720
|
-
type: {
|
|
721
|
-
name: "String",
|
|
722
|
-
},
|
|
723
|
-
},
|
|
724
|
-
status: {
|
|
725
|
-
serializedName: "properties.status",
|
|
726
|
-
readOnly: true,
|
|
727
|
-
type: {
|
|
728
|
-
name: "String",
|
|
729
|
-
},
|
|
730
|
-
},
|
|
731
|
-
startedAt: {
|
|
732
|
-
serializedName: "properties.startedAt",
|
|
733
|
-
readOnly: true,
|
|
734
|
-
type: {
|
|
735
|
-
name: "DateTime",
|
|
736
|
-
},
|
|
737
|
-
},
|
|
738
|
-
stoppedAt: {
|
|
739
|
-
serializedName: "properties.stoppedAt",
|
|
740
|
-
readOnly: true,
|
|
741
|
-
type: {
|
|
742
|
-
name: "DateTime",
|
|
743
|
-
},
|
|
744
|
-
},
|
|
745
|
-
},
|
|
746
|
-
},
|
|
747
|
-
};
|
|
748
|
-
const ExperimentExecutionProperties = {
|
|
749
|
-
type: {
|
|
750
|
-
name: "Composite",
|
|
751
|
-
className: "ExperimentExecutionProperties",
|
|
752
|
-
modelProperties: {
|
|
753
|
-
status: {
|
|
754
|
-
serializedName: "status",
|
|
755
|
-
readOnly: true,
|
|
756
|
-
type: {
|
|
757
|
-
name: "String",
|
|
758
|
-
},
|
|
759
|
-
},
|
|
760
|
-
startedAt: {
|
|
761
|
-
serializedName: "startedAt",
|
|
762
|
-
readOnly: true,
|
|
763
|
-
type: {
|
|
764
|
-
name: "DateTime",
|
|
765
|
-
},
|
|
766
|
-
},
|
|
767
|
-
stoppedAt: {
|
|
768
|
-
serializedName: "stoppedAt",
|
|
769
|
-
readOnly: true,
|
|
770
|
-
type: {
|
|
771
|
-
name: "DateTime",
|
|
772
|
-
},
|
|
773
|
-
},
|
|
774
|
-
},
|
|
775
|
-
},
|
|
776
|
-
};
|
|
777
|
-
const ExperimentExecutionDetails = {
|
|
778
|
-
type: {
|
|
779
|
-
name: "Composite",
|
|
780
|
-
className: "ExperimentExecutionDetails",
|
|
781
|
-
modelProperties: {
|
|
782
|
-
type: {
|
|
783
|
-
serializedName: "type",
|
|
784
|
-
readOnly: true,
|
|
785
|
-
type: {
|
|
786
|
-
name: "String",
|
|
787
|
-
},
|
|
788
|
-
},
|
|
789
|
-
id: {
|
|
790
|
-
serializedName: "id",
|
|
791
|
-
readOnly: true,
|
|
792
|
-
type: {
|
|
793
|
-
name: "String",
|
|
794
|
-
},
|
|
795
|
-
},
|
|
796
|
-
name: {
|
|
797
|
-
serializedName: "name",
|
|
798
|
-
readOnly: true,
|
|
799
|
-
type: {
|
|
800
|
-
name: "String",
|
|
801
|
-
},
|
|
802
|
-
},
|
|
803
|
-
status: {
|
|
804
|
-
serializedName: "properties.status",
|
|
805
|
-
readOnly: true,
|
|
806
|
-
type: {
|
|
807
|
-
name: "String",
|
|
808
|
-
},
|
|
809
|
-
},
|
|
810
|
-
startedAt: {
|
|
811
|
-
serializedName: "properties.startedAt",
|
|
812
|
-
readOnly: true,
|
|
813
|
-
type: {
|
|
814
|
-
name: "DateTime",
|
|
815
|
-
},
|
|
816
|
-
},
|
|
817
|
-
stoppedAt: {
|
|
818
|
-
serializedName: "properties.stoppedAt",
|
|
819
|
-
readOnly: true,
|
|
820
|
-
type: {
|
|
821
|
-
name: "DateTime",
|
|
822
|
-
},
|
|
823
|
-
},
|
|
824
|
-
failureReason: {
|
|
825
|
-
serializedName: "properties.failureReason",
|
|
826
|
-
readOnly: true,
|
|
827
|
-
type: {
|
|
828
|
-
name: "String",
|
|
829
|
-
},
|
|
830
|
-
},
|
|
831
|
-
lastActionAt: {
|
|
832
|
-
serializedName: "properties.lastActionAt",
|
|
833
|
-
readOnly: true,
|
|
834
|
-
type: {
|
|
835
|
-
name: "DateTime",
|
|
836
|
-
},
|
|
837
|
-
},
|
|
838
|
-
runInformation: {
|
|
839
|
-
serializedName: "properties.runInformation",
|
|
840
|
-
type: {
|
|
841
|
-
name: "Composite",
|
|
842
|
-
className: "ExperimentExecutionDetailsPropertiesRunInformation",
|
|
843
|
-
},
|
|
844
|
-
},
|
|
845
|
-
},
|
|
846
|
-
},
|
|
847
|
-
};
|
|
848
|
-
const ExperimentExecutionDetailsPropertiesRunInformation = {
|
|
849
|
-
type: {
|
|
850
|
-
name: "Composite",
|
|
851
|
-
className: "ExperimentExecutionDetailsPropertiesRunInformation",
|
|
852
|
-
modelProperties: {
|
|
853
|
-
steps: {
|
|
854
|
-
serializedName: "steps",
|
|
855
|
-
readOnly: true,
|
|
856
|
-
type: {
|
|
857
|
-
name: "Sequence",
|
|
858
|
-
element: {
|
|
859
|
-
type: {
|
|
860
|
-
name: "Composite",
|
|
861
|
-
className: "StepStatus",
|
|
862
|
-
},
|
|
863
|
-
},
|
|
864
|
-
},
|
|
865
|
-
},
|
|
866
|
-
},
|
|
867
|
-
},
|
|
868
|
-
};
|
|
869
|
-
const StepStatus = {
|
|
870
|
-
type: {
|
|
871
|
-
name: "Composite",
|
|
872
|
-
className: "StepStatus",
|
|
873
|
-
modelProperties: {
|
|
874
|
-
stepName: {
|
|
875
|
-
serializedName: "stepName",
|
|
876
|
-
readOnly: true,
|
|
877
|
-
type: {
|
|
878
|
-
name: "String",
|
|
879
|
-
},
|
|
880
|
-
},
|
|
881
|
-
stepId: {
|
|
882
|
-
serializedName: "stepId",
|
|
883
|
-
readOnly: true,
|
|
884
|
-
type: {
|
|
885
|
-
name: "String",
|
|
886
|
-
},
|
|
887
|
-
},
|
|
888
|
-
status: {
|
|
889
|
-
serializedName: "status",
|
|
890
|
-
readOnly: true,
|
|
891
|
-
type: {
|
|
892
|
-
name: "String",
|
|
893
|
-
},
|
|
894
|
-
},
|
|
895
|
-
branches: {
|
|
896
|
-
serializedName: "branches",
|
|
897
|
-
readOnly: true,
|
|
898
|
-
type: {
|
|
899
|
-
name: "Sequence",
|
|
900
|
-
element: {
|
|
901
|
-
type: {
|
|
902
|
-
name: "Composite",
|
|
903
|
-
className: "BranchStatus",
|
|
904
|
-
},
|
|
905
|
-
},
|
|
906
|
-
},
|
|
907
|
-
},
|
|
908
|
-
},
|
|
909
|
-
},
|
|
910
|
-
};
|
|
911
|
-
const BranchStatus = {
|
|
912
|
-
type: {
|
|
913
|
-
name: "Composite",
|
|
914
|
-
className: "BranchStatus",
|
|
915
|
-
modelProperties: {
|
|
916
|
-
branchName: {
|
|
917
|
-
serializedName: "branchName",
|
|
918
|
-
readOnly: true,
|
|
919
|
-
type: {
|
|
920
|
-
name: "String",
|
|
921
|
-
},
|
|
922
|
-
},
|
|
923
|
-
branchId: {
|
|
924
|
-
serializedName: "branchId",
|
|
925
|
-
readOnly: true,
|
|
926
|
-
type: {
|
|
927
|
-
name: "String",
|
|
928
|
-
},
|
|
929
|
-
},
|
|
930
|
-
status: {
|
|
931
|
-
serializedName: "status",
|
|
932
|
-
readOnly: true,
|
|
933
|
-
type: {
|
|
934
|
-
name: "String",
|
|
935
|
-
},
|
|
936
|
-
},
|
|
937
|
-
actions: {
|
|
938
|
-
serializedName: "actions",
|
|
939
|
-
readOnly: true,
|
|
940
|
-
type: {
|
|
941
|
-
name: "Sequence",
|
|
942
|
-
element: {
|
|
943
|
-
type: {
|
|
944
|
-
name: "Composite",
|
|
945
|
-
className: "ActionStatus",
|
|
946
|
-
},
|
|
947
|
-
},
|
|
948
|
-
},
|
|
949
|
-
},
|
|
950
|
-
},
|
|
951
|
-
},
|
|
952
|
-
};
|
|
953
|
-
const ActionStatus = {
|
|
954
|
-
type: {
|
|
955
|
-
name: "Composite",
|
|
956
|
-
className: "ActionStatus",
|
|
957
|
-
modelProperties: {
|
|
958
|
-
actionName: {
|
|
959
|
-
serializedName: "actionName",
|
|
960
|
-
readOnly: true,
|
|
961
|
-
type: {
|
|
962
|
-
name: "String",
|
|
963
|
-
},
|
|
964
|
-
},
|
|
965
|
-
actionId: {
|
|
966
|
-
serializedName: "actionId",
|
|
967
|
-
readOnly: true,
|
|
968
|
-
type: {
|
|
969
|
-
name: "String",
|
|
970
|
-
},
|
|
971
|
-
},
|
|
972
|
-
status: {
|
|
973
|
-
serializedName: "status",
|
|
974
|
-
readOnly: true,
|
|
975
|
-
type: {
|
|
976
|
-
name: "String",
|
|
977
|
-
},
|
|
978
|
-
},
|
|
979
|
-
startTime: {
|
|
980
|
-
serializedName: "startTime",
|
|
981
|
-
readOnly: true,
|
|
982
|
-
type: {
|
|
983
|
-
name: "DateTime",
|
|
984
|
-
},
|
|
985
|
-
},
|
|
986
|
-
endTime: {
|
|
987
|
-
serializedName: "endTime",
|
|
988
|
-
readOnly: true,
|
|
989
|
-
type: {
|
|
990
|
-
name: "DateTime",
|
|
991
|
-
},
|
|
992
|
-
},
|
|
993
|
-
targets: {
|
|
994
|
-
serializedName: "targets",
|
|
995
|
-
readOnly: true,
|
|
996
|
-
type: {
|
|
997
|
-
name: "Sequence",
|
|
998
|
-
element: {
|
|
999
|
-
type: {
|
|
1000
|
-
name: "Composite",
|
|
1001
|
-
className: "ExperimentExecutionActionTargetDetailsProperties",
|
|
1002
|
-
},
|
|
1003
|
-
},
|
|
1004
|
-
},
|
|
1005
|
-
},
|
|
1006
|
-
},
|
|
1007
|
-
},
|
|
1008
|
-
};
|
|
1009
|
-
const ExperimentExecutionActionTargetDetailsProperties = {
|
|
1010
|
-
type: {
|
|
1011
|
-
name: "Composite",
|
|
1012
|
-
className: "ExperimentExecutionActionTargetDetailsProperties",
|
|
1013
|
-
modelProperties: {
|
|
1014
|
-
status: {
|
|
1015
|
-
serializedName: "status",
|
|
1016
|
-
readOnly: true,
|
|
1017
|
-
type: {
|
|
1018
|
-
name: "String",
|
|
1019
|
-
},
|
|
1020
|
-
},
|
|
1021
|
-
target: {
|
|
1022
|
-
serializedName: "target",
|
|
1023
|
-
readOnly: true,
|
|
1024
|
-
type: {
|
|
1025
|
-
name: "String",
|
|
1026
|
-
},
|
|
1027
|
-
},
|
|
1028
|
-
targetFailedTime: {
|
|
1029
|
-
serializedName: "targetFailedTime",
|
|
1030
|
-
readOnly: true,
|
|
1031
|
-
nullable: true,
|
|
1032
|
-
type: {
|
|
1033
|
-
name: "DateTime",
|
|
1034
|
-
},
|
|
1035
|
-
},
|
|
1036
|
-
targetCompletedTime: {
|
|
1037
|
-
serializedName: "targetCompletedTime",
|
|
1038
|
-
readOnly: true,
|
|
1039
|
-
nullable: true,
|
|
1040
|
-
type: {
|
|
1041
|
-
name: "DateTime",
|
|
1042
|
-
},
|
|
1043
|
-
},
|
|
1044
|
-
error: {
|
|
1045
|
-
serializedName: "error",
|
|
1046
|
-
type: {
|
|
1047
|
-
name: "Composite",
|
|
1048
|
-
className: "ExperimentExecutionActionTargetDetailsError",
|
|
1049
|
-
},
|
|
1050
|
-
},
|
|
1051
|
-
},
|
|
1052
|
-
},
|
|
1053
|
-
};
|
|
1054
|
-
const ExperimentExecutionActionTargetDetailsError = {
|
|
1055
|
-
type: {
|
|
1056
|
-
name: "Composite",
|
|
1057
|
-
className: "ExperimentExecutionActionTargetDetailsError",
|
|
1058
|
-
modelProperties: {
|
|
1059
|
-
code: {
|
|
1060
|
-
serializedName: "code",
|
|
1061
|
-
readOnly: true,
|
|
1062
|
-
type: {
|
|
1063
|
-
name: "String",
|
|
1064
|
-
},
|
|
1065
|
-
},
|
|
1066
|
-
message: {
|
|
1067
|
-
serializedName: "message",
|
|
1068
|
-
readOnly: true,
|
|
1069
|
-
type: {
|
|
1070
|
-
name: "String",
|
|
1071
|
-
},
|
|
1072
|
-
},
|
|
1073
|
-
},
|
|
1074
|
-
},
|
|
1075
|
-
};
|
|
1076
|
-
const OperationListResult = {
|
|
1077
|
-
type: {
|
|
1078
|
-
name: "Composite",
|
|
1079
|
-
className: "OperationListResult",
|
|
1080
|
-
modelProperties: {
|
|
1081
|
-
value: {
|
|
1082
|
-
serializedName: "value",
|
|
1083
|
-
readOnly: true,
|
|
1084
|
-
type: {
|
|
1085
|
-
name: "Sequence",
|
|
1086
|
-
element: {
|
|
1087
|
-
type: {
|
|
1088
|
-
name: "Composite",
|
|
1089
|
-
className: "Operation",
|
|
1090
|
-
},
|
|
1091
|
-
},
|
|
1092
|
-
},
|
|
1093
|
-
},
|
|
1094
|
-
nextLink: {
|
|
1095
|
-
serializedName: "nextLink",
|
|
1096
|
-
readOnly: true,
|
|
1097
|
-
type: {
|
|
1098
|
-
name: "String",
|
|
1099
|
-
},
|
|
1100
|
-
},
|
|
1101
|
-
},
|
|
1102
|
-
},
|
|
1103
|
-
};
|
|
1104
|
-
const Operation = {
|
|
1105
|
-
type: {
|
|
1106
|
-
name: "Composite",
|
|
1107
|
-
className: "Operation",
|
|
1108
|
-
modelProperties: {
|
|
1109
|
-
name: {
|
|
1110
|
-
serializedName: "name",
|
|
1111
|
-
readOnly: true,
|
|
1112
|
-
type: {
|
|
1113
|
-
name: "String",
|
|
1114
|
-
},
|
|
1115
|
-
},
|
|
1116
|
-
isDataAction: {
|
|
1117
|
-
serializedName: "isDataAction",
|
|
1118
|
-
readOnly: true,
|
|
1119
|
-
type: {
|
|
1120
|
-
name: "Boolean",
|
|
1121
|
-
},
|
|
1122
|
-
},
|
|
1123
|
-
display: {
|
|
1124
|
-
serializedName: "display",
|
|
1125
|
-
type: {
|
|
1126
|
-
name: "Composite",
|
|
1127
|
-
className: "OperationDisplay",
|
|
1128
|
-
},
|
|
1129
|
-
},
|
|
1130
|
-
origin: {
|
|
1131
|
-
serializedName: "origin",
|
|
1132
|
-
readOnly: true,
|
|
1133
|
-
type: {
|
|
1134
|
-
name: "String",
|
|
1135
|
-
},
|
|
1136
|
-
},
|
|
1137
|
-
actionType: {
|
|
1138
|
-
serializedName: "actionType",
|
|
1139
|
-
readOnly: true,
|
|
1140
|
-
type: {
|
|
1141
|
-
name: "String",
|
|
1142
|
-
},
|
|
1143
|
-
},
|
|
1144
|
-
},
|
|
1145
|
-
},
|
|
1146
|
-
};
|
|
1147
|
-
const OperationDisplay = {
|
|
1148
|
-
type: {
|
|
1149
|
-
name: "Composite",
|
|
1150
|
-
className: "OperationDisplay",
|
|
1151
|
-
modelProperties: {
|
|
1152
|
-
provider: {
|
|
1153
|
-
serializedName: "provider",
|
|
1154
|
-
readOnly: true,
|
|
1155
|
-
type: {
|
|
1156
|
-
name: "String",
|
|
1157
|
-
},
|
|
1158
|
-
},
|
|
1159
|
-
resource: {
|
|
1160
|
-
serializedName: "resource",
|
|
1161
|
-
readOnly: true,
|
|
1162
|
-
type: {
|
|
1163
|
-
name: "String",
|
|
1164
|
-
},
|
|
1165
|
-
},
|
|
1166
|
-
operation: {
|
|
1167
|
-
serializedName: "operation",
|
|
1168
|
-
readOnly: true,
|
|
1169
|
-
type: {
|
|
1170
|
-
name: "String",
|
|
1171
|
-
},
|
|
1172
|
-
},
|
|
1173
|
-
description: {
|
|
1174
|
-
serializedName: "description",
|
|
1175
|
-
readOnly: true,
|
|
1176
|
-
type: {
|
|
1177
|
-
name: "String",
|
|
1178
|
-
},
|
|
1179
|
-
},
|
|
1180
|
-
},
|
|
1181
|
-
},
|
|
1182
|
-
};
|
|
1183
|
-
const TargetTypeListResult = {
|
|
1184
|
-
type: {
|
|
1185
|
-
name: "Composite",
|
|
1186
|
-
className: "TargetTypeListResult",
|
|
1187
|
-
modelProperties: {
|
|
1188
|
-
value: {
|
|
1189
|
-
serializedName: "value",
|
|
1190
|
-
readOnly: true,
|
|
1191
|
-
type: {
|
|
1192
|
-
name: "Sequence",
|
|
1193
|
-
element: {
|
|
1194
|
-
type: {
|
|
1195
|
-
name: "Composite",
|
|
1196
|
-
className: "TargetType",
|
|
1197
|
-
},
|
|
1198
|
-
},
|
|
1199
|
-
},
|
|
1200
|
-
},
|
|
1201
|
-
nextLink: {
|
|
1202
|
-
constraints: {
|
|
1203
|
-
MaxLength: 2048,
|
|
1204
|
-
},
|
|
1205
|
-
serializedName: "nextLink",
|
|
1206
|
-
readOnly: true,
|
|
1207
|
-
nullable: true,
|
|
1208
|
-
type: {
|
|
1209
|
-
name: "String",
|
|
1210
|
-
},
|
|
1211
|
-
},
|
|
1212
|
-
},
|
|
1213
|
-
},
|
|
1214
|
-
};
|
|
1215
|
-
const TargetListResult = {
|
|
1216
|
-
type: {
|
|
1217
|
-
name: "Composite",
|
|
1218
|
-
className: "TargetListResult",
|
|
1219
|
-
modelProperties: {
|
|
1220
|
-
value: {
|
|
1221
|
-
serializedName: "value",
|
|
1222
|
-
readOnly: true,
|
|
1223
|
-
type: {
|
|
1224
|
-
name: "Sequence",
|
|
1225
|
-
element: {
|
|
1226
|
-
type: {
|
|
1227
|
-
name: "Composite",
|
|
1228
|
-
className: "Target",
|
|
1229
|
-
},
|
|
1230
|
-
},
|
|
1231
|
-
},
|
|
1232
|
-
},
|
|
1233
|
-
nextLink: {
|
|
1234
|
-
constraints: {
|
|
1235
|
-
MaxLength: 2048,
|
|
1236
|
-
},
|
|
1237
|
-
serializedName: "nextLink",
|
|
1238
|
-
readOnly: true,
|
|
1239
|
-
nullable: true,
|
|
1240
|
-
type: {
|
|
1241
|
-
name: "String",
|
|
1242
|
-
},
|
|
1243
|
-
},
|
|
1244
|
-
},
|
|
1245
|
-
},
|
|
1246
|
-
};
|
|
1247
|
-
const KeyValuePair = {
|
|
1248
|
-
type: {
|
|
1249
|
-
name: "Composite",
|
|
1250
|
-
className: "KeyValuePair",
|
|
1251
|
-
modelProperties: {
|
|
1252
|
-
key: {
|
|
1253
|
-
constraints: {
|
|
1254
|
-
MinLength: 1,
|
|
1255
|
-
},
|
|
1256
|
-
serializedName: "key",
|
|
1257
|
-
required: true,
|
|
1258
|
-
type: {
|
|
1259
|
-
name: "String",
|
|
1260
|
-
},
|
|
1261
|
-
},
|
|
1262
|
-
value: {
|
|
1263
|
-
constraints: {
|
|
1264
|
-
MinLength: 1,
|
|
1265
|
-
},
|
|
1266
|
-
serializedName: "value",
|
|
1267
|
-
required: true,
|
|
1268
|
-
type: {
|
|
1269
|
-
name: "String",
|
|
1270
|
-
},
|
|
1271
|
-
},
|
|
1272
|
-
},
|
|
1273
|
-
},
|
|
1274
|
-
};
|
|
1275
|
-
const TargetReference = {
|
|
1276
|
-
type: {
|
|
1277
|
-
name: "Composite",
|
|
1278
|
-
className: "TargetReference",
|
|
1279
|
-
modelProperties: {
|
|
1280
|
-
type: {
|
|
1281
|
-
serializedName: "type",
|
|
1282
|
-
required: true,
|
|
1283
|
-
type: {
|
|
1284
|
-
name: "String",
|
|
1285
|
-
},
|
|
1286
|
-
},
|
|
1287
|
-
id: {
|
|
1288
|
-
constraints: {
|
|
1289
|
-
Pattern: new RegExp("^\\/[Ss][Uu][Bb][Ss][Cc][Rr][Ii][Pp][Tt][Ii][Oo][Nn][Ss]\\/[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}\\/[Rr][Ee][Ss][Oo][Uu][Rr][Cc][Ee][Gg][Rr][Oo][Uu][Pp][Ss]\\/[a-zA-Z0-9_\\-\\.\\(\\)]*[a-zA-Z0-9_\\-\\(\\)]\\/[Pp][Rr][Oo][Vv][Ii][Dd][Ee][Rr][Ss]\\/[a-zA-Z0-9]+\\.[a-zA-Z0-9]+\\/[a-zA-Z0-9_\\-\\.]+\\/[a-zA-Z0-9_\\-\\.]+\\/[Pp][Rr][Oo][Vv][Ii][Dd][Ee][Rr][Ss]\\/[Mm][Ii][Cc][Rr][Oo][Ss][Oo][Ff][Tt]\\.[Cc][Hh][Aa][Oo][Ss]\\/[Tt][Aa][Rr][Gg][Ee][Tt][Ss]\\/[a-zA-Z0-9_\\-\\.]+$"),
|
|
1290
|
-
},
|
|
1291
|
-
serializedName: "id",
|
|
1292
|
-
required: true,
|
|
1293
|
-
type: {
|
|
1294
|
-
name: "String",
|
|
1295
|
-
},
|
|
1296
|
-
},
|
|
1297
|
-
},
|
|
1298
|
-
},
|
|
1299
|
-
};
|
|
1300
|
-
const ChaosTargetSimpleFilterParameters = {
|
|
1301
|
-
type: {
|
|
1302
|
-
name: "Composite",
|
|
1303
|
-
className: "ChaosTargetSimpleFilterParameters",
|
|
1304
|
-
modelProperties: {
|
|
1305
|
-
zones: {
|
|
1306
|
-
serializedName: "zones",
|
|
1307
|
-
type: {
|
|
1308
|
-
name: "Sequence",
|
|
1309
|
-
element: {
|
|
1310
|
-
type: {
|
|
1311
|
-
name: "String",
|
|
1312
|
-
},
|
|
1313
|
-
},
|
|
1314
|
-
},
|
|
1315
|
-
},
|
|
1316
|
-
},
|
|
1317
|
-
},
|
|
1318
|
-
};
|
|
1319
|
-
const Capability = {
|
|
1320
|
-
type: {
|
|
1321
|
-
name: "Composite",
|
|
1322
|
-
className: "Capability",
|
|
1323
|
-
modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { systemData: {
|
|
1324
|
-
serializedName: "systemData",
|
|
1325
|
-
type: {
|
|
1326
|
-
name: "Composite",
|
|
1327
|
-
className: "SystemData",
|
|
1328
|
-
},
|
|
1329
|
-
}, publisher: {
|
|
1330
|
-
serializedName: "properties.publisher",
|
|
1331
|
-
readOnly: true,
|
|
1332
|
-
type: {
|
|
1333
|
-
name: "String",
|
|
1334
|
-
},
|
|
1335
|
-
}, targetType: {
|
|
1336
|
-
serializedName: "properties.targetType",
|
|
1337
|
-
readOnly: true,
|
|
1338
|
-
type: {
|
|
1339
|
-
name: "String",
|
|
1340
|
-
},
|
|
1341
|
-
}, description: {
|
|
1342
|
-
serializedName: "properties.description",
|
|
1343
|
-
readOnly: true,
|
|
1344
|
-
type: {
|
|
1345
|
-
name: "String",
|
|
1346
|
-
},
|
|
1347
|
-
}, parametersSchema: {
|
|
1348
|
-
constraints: {
|
|
1349
|
-
MaxLength: 2048,
|
|
1350
|
-
},
|
|
1351
|
-
serializedName: "properties.parametersSchema",
|
|
1352
|
-
readOnly: true,
|
|
1353
|
-
type: {
|
|
1354
|
-
name: "String",
|
|
1355
|
-
},
|
|
1356
|
-
}, urn: {
|
|
1357
|
-
constraints: {
|
|
1358
|
-
MaxLength: 2048,
|
|
1359
|
-
},
|
|
1360
|
-
serializedName: "properties.urn",
|
|
1361
|
-
readOnly: true,
|
|
1362
|
-
type: {
|
|
1363
|
-
name: "String",
|
|
1364
|
-
},
|
|
1365
|
-
} }),
|
|
1366
|
-
},
|
|
1367
|
-
};
|
|
1368
|
-
const CapabilityType = {
|
|
1369
|
-
type: {
|
|
1370
|
-
name: "Composite",
|
|
1371
|
-
className: "CapabilityType",
|
|
1372
|
-
modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { systemData: {
|
|
1373
|
-
serializedName: "systemData",
|
|
1374
|
-
type: {
|
|
1375
|
-
name: "Composite",
|
|
1376
|
-
className: "SystemData",
|
|
1377
|
-
},
|
|
1378
|
-
}, location: {
|
|
1379
|
-
serializedName: "location",
|
|
1380
|
-
type: {
|
|
1381
|
-
name: "String",
|
|
1382
|
-
},
|
|
1383
|
-
}, publisher: {
|
|
1384
|
-
serializedName: "properties.publisher",
|
|
1385
|
-
readOnly: true,
|
|
1386
|
-
type: {
|
|
1387
|
-
name: "String",
|
|
1388
|
-
},
|
|
1389
|
-
}, targetType: {
|
|
1390
|
-
serializedName: "properties.targetType",
|
|
1391
|
-
readOnly: true,
|
|
1392
|
-
type: {
|
|
1393
|
-
name: "String",
|
|
1394
|
-
},
|
|
1395
|
-
}, displayName: {
|
|
1396
|
-
serializedName: "properties.displayName",
|
|
1397
|
-
readOnly: true,
|
|
1398
|
-
type: {
|
|
1399
|
-
name: "String",
|
|
1400
|
-
},
|
|
1401
|
-
}, description: {
|
|
1402
|
-
serializedName: "properties.description",
|
|
1403
|
-
readOnly: true,
|
|
1404
|
-
type: {
|
|
1405
|
-
name: "String",
|
|
1406
|
-
},
|
|
1407
|
-
}, parametersSchema: {
|
|
1408
|
-
constraints: {
|
|
1409
|
-
MaxLength: 2048,
|
|
1410
|
-
},
|
|
1411
|
-
serializedName: "properties.parametersSchema",
|
|
1412
|
-
readOnly: true,
|
|
1413
|
-
type: {
|
|
1414
|
-
name: "String",
|
|
1415
|
-
},
|
|
1416
|
-
}, urn: {
|
|
1417
|
-
constraints: {
|
|
1418
|
-
MaxLength: 2048,
|
|
1419
|
-
},
|
|
1420
|
-
serializedName: "properties.urn",
|
|
1421
|
-
readOnly: true,
|
|
1422
|
-
type: {
|
|
1423
|
-
name: "String",
|
|
1424
|
-
},
|
|
1425
|
-
}, kind: {
|
|
1426
|
-
serializedName: "properties.kind",
|
|
1427
|
-
readOnly: true,
|
|
1428
|
-
type: {
|
|
1429
|
-
name: "String",
|
|
1430
|
-
},
|
|
1431
|
-
}, azureRbacActions: {
|
|
1432
|
-
serializedName: "properties.azureRbacActions",
|
|
1433
|
-
type: {
|
|
1434
|
-
name: "Sequence",
|
|
1435
|
-
element: {
|
|
1436
|
-
type: {
|
|
1437
|
-
name: "String",
|
|
1438
|
-
},
|
|
1439
|
-
},
|
|
1440
|
-
},
|
|
1441
|
-
}, azureRbacDataActions: {
|
|
1442
|
-
serializedName: "properties.azureRbacDataActions",
|
|
1443
|
-
type: {
|
|
1444
|
-
name: "Sequence",
|
|
1445
|
-
element: {
|
|
1446
|
-
type: {
|
|
1447
|
-
name: "String",
|
|
1448
|
-
},
|
|
1449
|
-
},
|
|
1450
|
-
},
|
|
1451
|
-
}, runtimeProperties: {
|
|
1452
|
-
serializedName: "properties.runtimeProperties",
|
|
1453
|
-
type: {
|
|
1454
|
-
name: "Composite",
|
|
1455
|
-
className: "CapabilityTypePropertiesRuntimeProperties",
|
|
1456
|
-
},
|
|
1457
|
-
} }),
|
|
1458
|
-
},
|
|
1459
|
-
};
|
|
1460
|
-
const TrackedResource = {
|
|
1461
|
-
type: {
|
|
1462
|
-
name: "Composite",
|
|
1463
|
-
className: "TrackedResource",
|
|
1464
|
-
modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { tags: {
|
|
1465
|
-
serializedName: "tags",
|
|
1466
|
-
type: {
|
|
1467
|
-
name: "Dictionary",
|
|
1468
|
-
value: { type: { name: "String" } },
|
|
1469
|
-
},
|
|
1470
|
-
}, location: {
|
|
1471
|
-
serializedName: "location",
|
|
1472
|
-
required: true,
|
|
1473
|
-
type: {
|
|
1474
|
-
name: "String",
|
|
1475
|
-
},
|
|
1476
|
-
} }),
|
|
1477
|
-
},
|
|
1478
|
-
};
|
|
1479
|
-
const TargetType = {
|
|
1480
|
-
type: {
|
|
1481
|
-
name: "Composite",
|
|
1482
|
-
className: "TargetType",
|
|
1483
|
-
modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { systemData: {
|
|
1484
|
-
serializedName: "systemData",
|
|
1485
|
-
type: {
|
|
1486
|
-
name: "Composite",
|
|
1487
|
-
className: "SystemData",
|
|
1488
|
-
},
|
|
1489
|
-
}, location: {
|
|
1490
|
-
serializedName: "location",
|
|
1491
|
-
type: {
|
|
1492
|
-
name: "String",
|
|
1493
|
-
},
|
|
1494
|
-
}, displayName: {
|
|
1495
|
-
serializedName: "properties.displayName",
|
|
1496
|
-
readOnly: true,
|
|
1497
|
-
type: {
|
|
1498
|
-
name: "String",
|
|
1499
|
-
},
|
|
1500
|
-
}, description: {
|
|
1501
|
-
serializedName: "properties.description",
|
|
1502
|
-
readOnly: true,
|
|
1503
|
-
type: {
|
|
1504
|
-
name: "String",
|
|
1505
|
-
},
|
|
1506
|
-
}, propertiesSchema: {
|
|
1507
|
-
constraints: {
|
|
1508
|
-
MaxLength: 2048,
|
|
1509
|
-
},
|
|
1510
|
-
serializedName: "properties.propertiesSchema",
|
|
1511
|
-
readOnly: true,
|
|
1512
|
-
type: {
|
|
1513
|
-
name: "String",
|
|
1514
|
-
},
|
|
1515
|
-
}, resourceTypes: {
|
|
1516
|
-
serializedName: "properties.resourceTypes",
|
|
1517
|
-
readOnly: true,
|
|
1518
|
-
type: {
|
|
1519
|
-
name: "Sequence",
|
|
1520
|
-
element: {
|
|
1521
|
-
type: {
|
|
1522
|
-
name: "String",
|
|
1523
|
-
},
|
|
1524
|
-
},
|
|
1525
|
-
},
|
|
1526
|
-
} }),
|
|
1527
|
-
},
|
|
1528
|
-
};
|
|
1529
|
-
const Target = {
|
|
1530
|
-
type: {
|
|
1531
|
-
name: "Composite",
|
|
1532
|
-
className: "Target",
|
|
1533
|
-
modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { systemData: {
|
|
1534
|
-
serializedName: "systemData",
|
|
1535
|
-
type: {
|
|
1536
|
-
name: "Composite",
|
|
1537
|
-
className: "SystemData",
|
|
1538
|
-
},
|
|
1539
|
-
}, location: {
|
|
1540
|
-
serializedName: "location",
|
|
1541
|
-
type: {
|
|
1542
|
-
name: "String",
|
|
1543
|
-
},
|
|
1544
|
-
}, properties: {
|
|
1545
|
-
serializedName: "properties",
|
|
1546
|
-
required: true,
|
|
1547
|
-
type: {
|
|
1548
|
-
name: "Dictionary",
|
|
1549
|
-
value: { type: { name: "any" } },
|
|
1550
|
-
},
|
|
1551
|
-
} }),
|
|
1552
|
-
},
|
|
1553
|
-
};
|
|
1554
|
-
const OperationStatus = {
|
|
1555
|
-
type: {
|
|
1556
|
-
name: "Composite",
|
|
1557
|
-
className: "OperationStatus",
|
|
1558
|
-
modelProperties: Object.assign(Object.assign({}, ErrorResponse.type.modelProperties), { id: {
|
|
1559
|
-
serializedName: "id",
|
|
1560
|
-
type: {
|
|
1561
|
-
name: "String",
|
|
1562
|
-
},
|
|
1563
|
-
}, name: {
|
|
1564
|
-
serializedName: "name",
|
|
1565
|
-
type: {
|
|
1566
|
-
name: "String",
|
|
1567
|
-
},
|
|
1568
|
-
}, startTime: {
|
|
1569
|
-
serializedName: "startTime",
|
|
1570
|
-
type: {
|
|
1571
|
-
name: "String",
|
|
1572
|
-
},
|
|
1573
|
-
}, endTime: {
|
|
1574
|
-
serializedName: "endTime",
|
|
1575
|
-
type: {
|
|
1576
|
-
name: "String",
|
|
1577
|
-
},
|
|
1578
|
-
}, status: {
|
|
1579
|
-
serializedName: "status",
|
|
1580
|
-
type: {
|
|
1581
|
-
name: "String",
|
|
1582
|
-
},
|
|
1583
|
-
} }),
|
|
1584
|
-
},
|
|
1585
|
-
};
|
|
1586
|
-
const DelayAction = {
|
|
1587
|
-
serializedName: "delay",
|
|
1588
|
-
type: {
|
|
1589
|
-
name: "Composite",
|
|
1590
|
-
className: "DelayAction",
|
|
1591
|
-
uberParent: "ChaosExperimentAction",
|
|
1592
|
-
polymorphicDiscriminator: ChaosExperimentAction.type.polymorphicDiscriminator,
|
|
1593
|
-
modelProperties: Object.assign(Object.assign({}, ChaosExperimentAction.type.modelProperties), { duration: {
|
|
1594
|
-
serializedName: "duration",
|
|
1595
|
-
required: true,
|
|
1596
|
-
type: {
|
|
1597
|
-
name: "TimeSpan",
|
|
1598
|
-
},
|
|
1599
|
-
} }),
|
|
1600
|
-
},
|
|
1601
|
-
};
|
|
1602
|
-
const DiscreteAction = {
|
|
1603
|
-
serializedName: "discrete",
|
|
1604
|
-
type: {
|
|
1605
|
-
name: "Composite",
|
|
1606
|
-
className: "DiscreteAction",
|
|
1607
|
-
uberParent: "ChaosExperimentAction",
|
|
1608
|
-
polymorphicDiscriminator: ChaosExperimentAction.type.polymorphicDiscriminator,
|
|
1609
|
-
modelProperties: Object.assign(Object.assign({}, ChaosExperimentAction.type.modelProperties), { parameters: {
|
|
1610
|
-
serializedName: "parameters",
|
|
1611
|
-
required: true,
|
|
1612
|
-
type: {
|
|
1613
|
-
name: "Sequence",
|
|
1614
|
-
element: {
|
|
1615
|
-
type: {
|
|
1616
|
-
name: "Composite",
|
|
1617
|
-
className: "KeyValuePair",
|
|
1618
|
-
},
|
|
1619
|
-
},
|
|
1620
|
-
},
|
|
1621
|
-
}, selectorId: {
|
|
1622
|
-
constraints: {
|
|
1623
|
-
MinLength: 1,
|
|
1624
|
-
},
|
|
1625
|
-
serializedName: "selectorId",
|
|
1626
|
-
required: true,
|
|
1627
|
-
type: {
|
|
1628
|
-
name: "String",
|
|
1629
|
-
},
|
|
1630
|
-
} }),
|
|
1631
|
-
},
|
|
1632
|
-
};
|
|
1633
|
-
const ContinuousAction = {
|
|
1634
|
-
serializedName: "continuous",
|
|
1635
|
-
type: {
|
|
1636
|
-
name: "Composite",
|
|
1637
|
-
className: "ContinuousAction",
|
|
1638
|
-
uberParent: "ChaosExperimentAction",
|
|
1639
|
-
polymorphicDiscriminator: ChaosExperimentAction.type.polymorphicDiscriminator,
|
|
1640
|
-
modelProperties: Object.assign(Object.assign({}, ChaosExperimentAction.type.modelProperties), { duration: {
|
|
1641
|
-
serializedName: "duration",
|
|
1642
|
-
required: true,
|
|
1643
|
-
type: {
|
|
1644
|
-
name: "TimeSpan",
|
|
1645
|
-
},
|
|
1646
|
-
}, parameters: {
|
|
1647
|
-
serializedName: "parameters",
|
|
1648
|
-
required: true,
|
|
1649
|
-
type: {
|
|
1650
|
-
name: "Sequence",
|
|
1651
|
-
element: {
|
|
1652
|
-
type: {
|
|
1653
|
-
name: "Composite",
|
|
1654
|
-
className: "KeyValuePair",
|
|
1655
|
-
},
|
|
1656
|
-
},
|
|
1657
|
-
},
|
|
1658
|
-
}, selectorId: {
|
|
1659
|
-
constraints: {
|
|
1660
|
-
MinLength: 1,
|
|
1661
|
-
},
|
|
1662
|
-
serializedName: "selectorId",
|
|
1663
|
-
required: true,
|
|
1664
|
-
type: {
|
|
1665
|
-
name: "String",
|
|
1666
|
-
},
|
|
1667
|
-
} }),
|
|
1668
|
-
},
|
|
1669
|
-
};
|
|
1670
|
-
const ChaosTargetListSelector = {
|
|
1671
|
-
serializedName: "List",
|
|
1672
|
-
type: {
|
|
1673
|
-
name: "Composite",
|
|
1674
|
-
className: "ChaosTargetListSelector",
|
|
1675
|
-
uberParent: "ChaosTargetSelector",
|
|
1676
|
-
additionalProperties: { type: { name: "Object" } },
|
|
1677
|
-
polymorphicDiscriminator: ChaosTargetSelector.type.polymorphicDiscriminator,
|
|
1678
|
-
modelProperties: Object.assign(Object.assign({}, ChaosTargetSelector.type.modelProperties), { targets: {
|
|
1679
|
-
constraints: {
|
|
1680
|
-
MinItems: 1,
|
|
1681
|
-
MaxItems: 50,
|
|
1682
|
-
},
|
|
1683
|
-
serializedName: "targets",
|
|
1684
|
-
required: true,
|
|
1685
|
-
type: {
|
|
1686
|
-
name: "Sequence",
|
|
1687
|
-
element: {
|
|
1688
|
-
type: {
|
|
1689
|
-
name: "Composite",
|
|
1690
|
-
className: "TargetReference",
|
|
1691
|
-
},
|
|
1692
|
-
},
|
|
1693
|
-
},
|
|
1694
|
-
} }),
|
|
1695
|
-
},
|
|
1696
|
-
};
|
|
1697
|
-
const ChaosTargetQuerySelector = {
|
|
1698
|
-
serializedName: "Query",
|
|
1699
|
-
type: {
|
|
1700
|
-
name: "Composite",
|
|
1701
|
-
className: "ChaosTargetQuerySelector",
|
|
1702
|
-
uberParent: "ChaosTargetSelector",
|
|
1703
|
-
additionalProperties: { type: { name: "Object" } },
|
|
1704
|
-
polymorphicDiscriminator: ChaosTargetSelector.type.polymorphicDiscriminator,
|
|
1705
|
-
modelProperties: Object.assign(Object.assign({}, ChaosTargetSelector.type.modelProperties), { queryString: {
|
|
1706
|
-
serializedName: "queryString",
|
|
1707
|
-
required: true,
|
|
1708
|
-
type: {
|
|
1709
|
-
name: "String",
|
|
1710
|
-
},
|
|
1711
|
-
}, subscriptionIds: {
|
|
1712
|
-
constraints: {
|
|
1713
|
-
MinItems: 1,
|
|
1714
|
-
},
|
|
1715
|
-
serializedName: "subscriptionIds",
|
|
1716
|
-
required: true,
|
|
1717
|
-
type: {
|
|
1718
|
-
name: "Sequence",
|
|
1719
|
-
element: {
|
|
1720
|
-
type: {
|
|
1721
|
-
name: "String",
|
|
1722
|
-
},
|
|
1723
|
-
},
|
|
1724
|
-
},
|
|
1725
|
-
} }),
|
|
1726
|
-
},
|
|
1727
|
-
};
|
|
1728
|
-
const ChaosTargetSimpleFilter = {
|
|
1729
|
-
serializedName: "Simple",
|
|
1730
|
-
type: {
|
|
1731
|
-
name: "Composite",
|
|
1732
|
-
className: "ChaosTargetSimpleFilter",
|
|
1733
|
-
uberParent: "ChaosTargetFilter",
|
|
1734
|
-
polymorphicDiscriminator: ChaosTargetFilter.type.polymorphicDiscriminator,
|
|
1735
|
-
modelProperties: Object.assign(Object.assign({}, ChaosTargetFilter.type.modelProperties), { parameters: {
|
|
1736
|
-
serializedName: "parameters",
|
|
1737
|
-
type: {
|
|
1738
|
-
name: "Composite",
|
|
1739
|
-
className: "ChaosTargetSimpleFilterParameters",
|
|
1740
|
-
},
|
|
1741
|
-
} }),
|
|
1742
|
-
},
|
|
1743
|
-
};
|
|
1744
|
-
const ExperimentExecutionDetailsProperties = {
|
|
1745
|
-
type: {
|
|
1746
|
-
name: "Composite",
|
|
1747
|
-
className: "ExperimentExecutionDetailsProperties",
|
|
1748
|
-
modelProperties: Object.assign(Object.assign({}, ExperimentExecutionProperties.type.modelProperties), { failureReason: {
|
|
1749
|
-
serializedName: "failureReason",
|
|
1750
|
-
readOnly: true,
|
|
1751
|
-
type: {
|
|
1752
|
-
name: "String",
|
|
1753
|
-
},
|
|
1754
|
-
}, lastActionAt: {
|
|
1755
|
-
serializedName: "lastActionAt",
|
|
1756
|
-
readOnly: true,
|
|
1757
|
-
type: {
|
|
1758
|
-
name: "DateTime",
|
|
1759
|
-
},
|
|
1760
|
-
}, runInformation: {
|
|
1761
|
-
serializedName: "runInformation",
|
|
1762
|
-
type: {
|
|
1763
|
-
name: "Composite",
|
|
1764
|
-
className: "ExperimentExecutionDetailsPropertiesRunInformation",
|
|
1765
|
-
},
|
|
1766
|
-
} }),
|
|
1767
|
-
},
|
|
1768
|
-
};
|
|
1769
|
-
const Experiment = {
|
|
1770
|
-
type: {
|
|
1771
|
-
name: "Composite",
|
|
1772
|
-
className: "Experiment",
|
|
1773
|
-
modelProperties: Object.assign(Object.assign({}, TrackedResource.type.modelProperties), { systemData: {
|
|
1774
|
-
serializedName: "systemData",
|
|
1775
|
-
type: {
|
|
1776
|
-
name: "Composite",
|
|
1777
|
-
className: "SystemData",
|
|
1778
|
-
},
|
|
1779
|
-
}, identity: {
|
|
1780
|
-
serializedName: "identity",
|
|
1781
|
-
type: {
|
|
1782
|
-
name: "Composite",
|
|
1783
|
-
className: "ResourceIdentity",
|
|
1784
|
-
},
|
|
1785
|
-
}, provisioningState: {
|
|
1786
|
-
serializedName: "properties.provisioningState",
|
|
1787
|
-
readOnly: true,
|
|
1788
|
-
type: {
|
|
1789
|
-
name: "String",
|
|
1790
|
-
},
|
|
1791
|
-
}, steps: {
|
|
1792
|
-
constraints: {
|
|
1793
|
-
MinItems: 1,
|
|
1794
|
-
MaxItems: 4,
|
|
1795
|
-
},
|
|
1796
|
-
serializedName: "properties.steps",
|
|
1797
|
-
required: true,
|
|
1798
|
-
type: {
|
|
1799
|
-
name: "Sequence",
|
|
1800
|
-
element: {
|
|
1801
|
-
type: {
|
|
1802
|
-
name: "Composite",
|
|
1803
|
-
className: "ChaosExperimentStep",
|
|
1804
|
-
},
|
|
1805
|
-
},
|
|
1806
|
-
},
|
|
1807
|
-
}, selectors: {
|
|
1808
|
-
constraints: {
|
|
1809
|
-
MinItems: 1,
|
|
1810
|
-
},
|
|
1811
|
-
serializedName: "properties.selectors",
|
|
1812
|
-
required: true,
|
|
1813
|
-
type: {
|
|
1814
|
-
name: "Sequence",
|
|
1815
|
-
element: {
|
|
1816
|
-
type: {
|
|
1817
|
-
name: "Composite",
|
|
1818
|
-
className: "ChaosTargetSelector",
|
|
1819
|
-
},
|
|
1820
|
-
},
|
|
1821
|
-
},
|
|
1822
|
-
} }),
|
|
1823
|
-
},
|
|
1824
|
-
};
|
|
1825
|
-
let discriminators = {
|
|
1826
|
-
ChaosExperimentAction: ChaosExperimentAction,
|
|
1827
|
-
ChaosTargetSelector: ChaosTargetSelector,
|
|
1828
|
-
ChaosTargetFilter: ChaosTargetFilter,
|
|
1829
|
-
"ChaosExperimentAction.delay": DelayAction,
|
|
1830
|
-
"ChaosExperimentAction.discrete": DiscreteAction,
|
|
1831
|
-
"ChaosExperimentAction.continuous": ContinuousAction,
|
|
1832
|
-
"ChaosTargetSelector.List": ChaosTargetListSelector,
|
|
1833
|
-
"ChaosTargetSelector.Query": ChaosTargetQuerySelector,
|
|
1834
|
-
"ChaosTargetFilter.Simple": ChaosTargetSimpleFilter,
|
|
1835
|
-
};
|
|
1836
|
-
|
|
1837
|
-
var Mappers = /*#__PURE__*/Object.freeze({
|
|
1838
|
-
__proto__: null,
|
|
1839
|
-
ActionStatus: ActionStatus,
|
|
1840
|
-
BranchStatus: BranchStatus,
|
|
1841
|
-
Capability: Capability,
|
|
1842
|
-
CapabilityListResult: CapabilityListResult,
|
|
1843
|
-
CapabilityType: CapabilityType,
|
|
1844
|
-
CapabilityTypeListResult: CapabilityTypeListResult,
|
|
1845
|
-
CapabilityTypePropertiesRuntimeProperties: CapabilityTypePropertiesRuntimeProperties,
|
|
1846
|
-
ChaosExperimentAction: ChaosExperimentAction,
|
|
1847
|
-
ChaosExperimentBranch: ChaosExperimentBranch,
|
|
1848
|
-
ChaosExperimentStep: ChaosExperimentStep,
|
|
1849
|
-
ChaosTargetFilter: ChaosTargetFilter,
|
|
1850
|
-
ChaosTargetListSelector: ChaosTargetListSelector,
|
|
1851
|
-
ChaosTargetQuerySelector: ChaosTargetQuerySelector,
|
|
1852
|
-
ChaosTargetSelector: ChaosTargetSelector,
|
|
1853
|
-
ChaosTargetSimpleFilter: ChaosTargetSimpleFilter,
|
|
1854
|
-
ChaosTargetSimpleFilterParameters: ChaosTargetSimpleFilterParameters,
|
|
1855
|
-
ContinuousAction: ContinuousAction,
|
|
1856
|
-
DelayAction: DelayAction,
|
|
1857
|
-
DiscreteAction: DiscreteAction,
|
|
1858
|
-
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
1859
|
-
ErrorDetail: ErrorDetail,
|
|
1860
|
-
ErrorResponse: ErrorResponse,
|
|
1861
|
-
Experiment: Experiment,
|
|
1862
|
-
ExperimentExecution: ExperimentExecution,
|
|
1863
|
-
ExperimentExecutionActionTargetDetailsError: ExperimentExecutionActionTargetDetailsError,
|
|
1864
|
-
ExperimentExecutionActionTargetDetailsProperties: ExperimentExecutionActionTargetDetailsProperties,
|
|
1865
|
-
ExperimentExecutionDetails: ExperimentExecutionDetails,
|
|
1866
|
-
ExperimentExecutionDetailsProperties: ExperimentExecutionDetailsProperties,
|
|
1867
|
-
ExperimentExecutionDetailsPropertiesRunInformation: ExperimentExecutionDetailsPropertiesRunInformation,
|
|
1868
|
-
ExperimentExecutionListResult: ExperimentExecutionListResult,
|
|
1869
|
-
ExperimentExecutionProperties: ExperimentExecutionProperties,
|
|
1870
|
-
ExperimentListResult: ExperimentListResult,
|
|
1871
|
-
ExperimentUpdate: ExperimentUpdate,
|
|
1872
|
-
KeyValuePair: KeyValuePair,
|
|
1873
|
-
Operation: Operation,
|
|
1874
|
-
OperationDisplay: OperationDisplay,
|
|
1875
|
-
OperationListResult: OperationListResult,
|
|
1876
|
-
OperationStatus: OperationStatus,
|
|
1877
|
-
Resource: Resource,
|
|
1878
|
-
ResourceIdentity: ResourceIdentity,
|
|
1879
|
-
StepStatus: StepStatus,
|
|
1880
|
-
SystemData: SystemData,
|
|
1881
|
-
Target: Target,
|
|
1882
|
-
TargetListResult: TargetListResult,
|
|
1883
|
-
TargetReference: TargetReference,
|
|
1884
|
-
TargetType: TargetType,
|
|
1885
|
-
TargetTypeListResult: TargetTypeListResult,
|
|
1886
|
-
TrackedResource: TrackedResource,
|
|
1887
|
-
UserAssignedIdentity: UserAssignedIdentity,
|
|
1888
|
-
discriminators: discriminators
|
|
1889
|
-
});
|
|
1890
|
-
|
|
1891
|
-
/*
|
|
1892
|
-
* Copyright (c) Microsoft Corporation.
|
|
1893
|
-
* Licensed under the MIT License.
|
|
1894
|
-
*
|
|
1895
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1896
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1897
|
-
*/
|
|
1898
|
-
const accept = {
|
|
1899
|
-
parameterPath: "accept",
|
|
1900
|
-
mapper: {
|
|
1901
|
-
defaultValue: "application/json",
|
|
1902
|
-
isConstant: true,
|
|
1903
|
-
serializedName: "Accept",
|
|
1904
|
-
type: {
|
|
1905
|
-
name: "String",
|
|
1906
|
-
},
|
|
1907
|
-
},
|
|
1908
|
-
};
|
|
1909
|
-
const $host = {
|
|
1910
|
-
parameterPath: "$host",
|
|
1911
|
-
mapper: {
|
|
1912
|
-
serializedName: "$host",
|
|
1913
|
-
required: true,
|
|
1914
|
-
type: {
|
|
1915
|
-
name: "String",
|
|
1916
|
-
},
|
|
1917
|
-
},
|
|
1918
|
-
skipEncoding: true,
|
|
1919
|
-
};
|
|
1920
|
-
const apiVersion = {
|
|
1921
|
-
parameterPath: "apiVersion",
|
|
1922
|
-
mapper: {
|
|
1923
|
-
defaultValue: "2024-01-01",
|
|
1924
|
-
isConstant: true,
|
|
1925
|
-
serializedName: "api-version",
|
|
1926
|
-
type: {
|
|
1927
|
-
name: "String",
|
|
1928
|
-
},
|
|
1929
|
-
},
|
|
1930
|
-
};
|
|
1931
|
-
const subscriptionId = {
|
|
1932
|
-
parameterPath: "subscriptionId",
|
|
1933
|
-
mapper: {
|
|
1934
|
-
constraints: {
|
|
1935
|
-
Pattern: new RegExp("^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"),
|
|
1936
|
-
},
|
|
1937
|
-
serializedName: "subscriptionId",
|
|
1938
|
-
required: true,
|
|
1939
|
-
type: {
|
|
1940
|
-
name: "String",
|
|
1941
|
-
},
|
|
1942
|
-
},
|
|
1943
|
-
};
|
|
1944
|
-
const resourceGroupName = {
|
|
1945
|
-
parameterPath: "resourceGroupName",
|
|
1946
|
-
mapper: {
|
|
1947
|
-
constraints: {
|
|
1948
|
-
Pattern: new RegExp("^[a-zA-Z0-9_\\-\\.\\(\\)]*[a-zA-Z0-9_\\-\\(\\)]$"),
|
|
1949
|
-
},
|
|
1950
|
-
serializedName: "resourceGroupName",
|
|
1951
|
-
required: true,
|
|
1952
|
-
type: {
|
|
1953
|
-
name: "String",
|
|
1954
|
-
},
|
|
1955
|
-
},
|
|
1956
|
-
};
|
|
1957
|
-
const parentProviderNamespace = {
|
|
1958
|
-
parameterPath: "parentProviderNamespace",
|
|
1959
|
-
mapper: {
|
|
1960
|
-
constraints: {
|
|
1961
|
-
Pattern: new RegExp("^[a-zA-Z0-9]+\\.[a-zA-Z0-9]+$"),
|
|
1962
|
-
},
|
|
1963
|
-
serializedName: "parentProviderNamespace",
|
|
1964
|
-
required: true,
|
|
1965
|
-
type: {
|
|
1966
|
-
name: "String",
|
|
1967
|
-
},
|
|
1968
|
-
},
|
|
1969
|
-
};
|
|
1970
|
-
const parentResourceType = {
|
|
1971
|
-
parameterPath: "parentResourceType",
|
|
1972
|
-
mapper: {
|
|
1973
|
-
constraints: {
|
|
1974
|
-
Pattern: new RegExp("^[a-zA-Z0-9_\\-\\.]+$"),
|
|
1975
|
-
},
|
|
1976
|
-
serializedName: "parentResourceType",
|
|
1977
|
-
required: true,
|
|
1978
|
-
type: {
|
|
1979
|
-
name: "String",
|
|
1980
|
-
},
|
|
1981
|
-
},
|
|
1982
|
-
};
|
|
1983
|
-
const parentResourceName = {
|
|
1984
|
-
parameterPath: "parentResourceName",
|
|
1985
|
-
mapper: {
|
|
1986
|
-
constraints: {
|
|
1987
|
-
Pattern: new RegExp("^[a-zA-Z0-9_\\-\\.]+$"),
|
|
1988
|
-
},
|
|
1989
|
-
serializedName: "parentResourceName",
|
|
1990
|
-
required: true,
|
|
1991
|
-
type: {
|
|
1992
|
-
name: "String",
|
|
1993
|
-
},
|
|
1994
|
-
},
|
|
1995
|
-
};
|
|
1996
|
-
const targetName = {
|
|
1997
|
-
parameterPath: "targetName",
|
|
1998
|
-
mapper: {
|
|
1999
|
-
constraints: {
|
|
2000
|
-
Pattern: new RegExp("^[a-zA-Z0-9_\\-\\.]+$"),
|
|
2001
|
-
},
|
|
2002
|
-
serializedName: "targetName",
|
|
2003
|
-
required: true,
|
|
2004
|
-
type: {
|
|
2005
|
-
name: "String",
|
|
2006
|
-
},
|
|
2007
|
-
},
|
|
2008
|
-
};
|
|
2009
|
-
const continuationToken = {
|
|
2010
|
-
parameterPath: ["options", "continuationToken"],
|
|
2011
|
-
mapper: {
|
|
2012
|
-
serializedName: "continuationToken",
|
|
2013
|
-
type: {
|
|
2014
|
-
name: "String",
|
|
2015
|
-
},
|
|
2016
|
-
},
|
|
2017
|
-
};
|
|
2018
|
-
const capabilityName = {
|
|
2019
|
-
parameterPath: "capabilityName",
|
|
2020
|
-
mapper: {
|
|
2021
|
-
constraints: {
|
|
2022
|
-
Pattern: new RegExp("^[a-zA-Z0-9\\-\\.]+-\\d\\.\\d$"),
|
|
2023
|
-
},
|
|
2024
|
-
serializedName: "capabilityName",
|
|
2025
|
-
required: true,
|
|
2026
|
-
type: {
|
|
2027
|
-
name: "String",
|
|
2028
|
-
},
|
|
2029
|
-
},
|
|
2030
|
-
};
|
|
2031
|
-
const contentType = {
|
|
2032
|
-
parameterPath: ["options", "contentType"],
|
|
2033
|
-
mapper: {
|
|
2034
|
-
defaultValue: "application/json",
|
|
2035
|
-
isConstant: true,
|
|
2036
|
-
serializedName: "Content-Type",
|
|
2037
|
-
type: {
|
|
2038
|
-
name: "String",
|
|
2039
|
-
},
|
|
2040
|
-
},
|
|
2041
|
-
};
|
|
2042
|
-
const capability = {
|
|
2043
|
-
parameterPath: "capability",
|
|
2044
|
-
mapper: Capability,
|
|
2045
|
-
};
|
|
2046
|
-
const nextLink = {
|
|
2047
|
-
parameterPath: "nextLink",
|
|
2048
|
-
mapper: {
|
|
2049
|
-
serializedName: "nextLink",
|
|
2050
|
-
required: true,
|
|
2051
|
-
type: {
|
|
2052
|
-
name: "String",
|
|
2053
|
-
},
|
|
2054
|
-
},
|
|
2055
|
-
skipEncoding: true,
|
|
2056
|
-
};
|
|
2057
|
-
const locationName = {
|
|
2058
|
-
parameterPath: "locationName",
|
|
2059
|
-
mapper: {
|
|
2060
|
-
constraints: {
|
|
2061
|
-
Pattern: new RegExp("^[a-zA-Z0-9_\\-\\.]+$"),
|
|
2062
|
-
},
|
|
2063
|
-
serializedName: "locationName",
|
|
2064
|
-
required: true,
|
|
2065
|
-
type: {
|
|
2066
|
-
name: "String",
|
|
2067
|
-
},
|
|
2068
|
-
},
|
|
2069
|
-
};
|
|
2070
|
-
const targetTypeName = {
|
|
2071
|
-
parameterPath: "targetTypeName",
|
|
2072
|
-
mapper: {
|
|
2073
|
-
constraints: {
|
|
2074
|
-
Pattern: new RegExp("^[a-zA-Z0-9_\\-\\.]+$"),
|
|
2075
|
-
},
|
|
2076
|
-
serializedName: "targetTypeName",
|
|
2077
|
-
required: true,
|
|
2078
|
-
type: {
|
|
2079
|
-
name: "String",
|
|
2080
|
-
},
|
|
2081
|
-
},
|
|
2082
|
-
};
|
|
2083
|
-
const capabilityTypeName = {
|
|
2084
|
-
parameterPath: "capabilityTypeName",
|
|
2085
|
-
mapper: {
|
|
2086
|
-
constraints: {
|
|
2087
|
-
Pattern: new RegExp("^[a-zA-Z0-9\\-\\.]+-\\d\\.\\d$"),
|
|
2088
|
-
},
|
|
2089
|
-
serializedName: "capabilityTypeName",
|
|
2090
|
-
required: true,
|
|
2091
|
-
type: {
|
|
2092
|
-
name: "String",
|
|
2093
|
-
},
|
|
2094
|
-
},
|
|
2095
|
-
};
|
|
2096
|
-
const running = {
|
|
2097
|
-
parameterPath: ["options", "running"],
|
|
2098
|
-
mapper: {
|
|
2099
|
-
serializedName: "running",
|
|
2100
|
-
type: {
|
|
2101
|
-
name: "Boolean",
|
|
2102
|
-
},
|
|
2103
|
-
},
|
|
2104
|
-
};
|
|
2105
|
-
const experimentName = {
|
|
2106
|
-
parameterPath: "experimentName",
|
|
2107
|
-
mapper: {
|
|
2108
|
-
constraints: {
|
|
2109
|
-
Pattern: new RegExp("^[^<>%&:?#/\\\\]+$"),
|
|
2110
|
-
MinLength: 1,
|
|
2111
|
-
},
|
|
2112
|
-
serializedName: "experimentName",
|
|
2113
|
-
required: true,
|
|
2114
|
-
type: {
|
|
2115
|
-
name: "String",
|
|
2116
|
-
},
|
|
2117
|
-
},
|
|
2118
|
-
};
|
|
2119
|
-
const experiment = {
|
|
2120
|
-
parameterPath: "experiment",
|
|
2121
|
-
mapper: Experiment,
|
|
2122
|
-
};
|
|
2123
|
-
const experiment1 = {
|
|
2124
|
-
parameterPath: "experiment",
|
|
2125
|
-
mapper: ExperimentUpdate,
|
|
2126
|
-
};
|
|
2127
|
-
const executionId = {
|
|
2128
|
-
parameterPath: "executionId",
|
|
2129
|
-
mapper: {
|
|
2130
|
-
constraints: {
|
|
2131
|
-
Pattern: new RegExp("^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"),
|
|
2132
|
-
},
|
|
2133
|
-
serializedName: "executionId",
|
|
2134
|
-
required: true,
|
|
2135
|
-
type: {
|
|
2136
|
-
name: "String",
|
|
2137
|
-
},
|
|
2138
|
-
},
|
|
2139
|
-
};
|
|
2140
|
-
const location = {
|
|
2141
|
-
parameterPath: "location",
|
|
2142
|
-
mapper: {
|
|
2143
|
-
constraints: {
|
|
2144
|
-
MinLength: 1,
|
|
2145
|
-
},
|
|
2146
|
-
serializedName: "location",
|
|
2147
|
-
required: true,
|
|
2148
|
-
type: {
|
|
2149
|
-
name: "String",
|
|
2150
|
-
},
|
|
2151
|
-
},
|
|
2152
|
-
};
|
|
2153
|
-
const asyncOperationId = {
|
|
2154
|
-
parameterPath: "asyncOperationId",
|
|
2155
|
-
mapper: {
|
|
2156
|
-
serializedName: "asyncOperationId",
|
|
2157
|
-
required: true,
|
|
2158
|
-
type: {
|
|
2159
|
-
name: "String",
|
|
2160
|
-
},
|
|
2161
|
-
},
|
|
2162
|
-
};
|
|
2163
|
-
const target = {
|
|
2164
|
-
parameterPath: "target",
|
|
2165
|
-
mapper: Target,
|
|
2166
|
-
};
|
|
2167
|
-
|
|
2168
|
-
/*
|
|
2169
|
-
* Copyright (c) Microsoft Corporation.
|
|
2170
|
-
* Licensed under the MIT License.
|
|
2171
|
-
*
|
|
2172
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2173
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2174
|
-
*/
|
|
2175
|
-
/// <reference lib="esnext.asynciterable" />
|
|
2176
|
-
/** Class containing Capabilities operations. */
|
|
2177
|
-
class CapabilitiesImpl {
|
|
2178
|
-
/**
|
|
2179
|
-
* Initialize a new instance of the class Capabilities class.
|
|
2180
|
-
* @param client Reference to the service client
|
|
2181
|
-
*/
|
|
2182
|
-
constructor(client) {
|
|
2183
|
-
this.client = client;
|
|
2184
|
-
}
|
|
2185
|
-
/**
|
|
2186
|
-
* Get a list of Capability resources that extend a Target resource..
|
|
2187
|
-
* @param resourceGroupName String that represents an Azure resource group.
|
|
2188
|
-
* @param parentProviderNamespace String that represents a resource provider namespace.
|
|
2189
|
-
* @param parentResourceType String that represents a resource type.
|
|
2190
|
-
* @param parentResourceName String that represents a resource name.
|
|
2191
|
-
* @param targetName String that represents a Target resource name.
|
|
2192
|
-
* @param options The options parameters.
|
|
2193
|
-
*/
|
|
2194
|
-
list(resourceGroupName, parentProviderNamespace, parentResourceType, parentResourceName, targetName, options) {
|
|
2195
|
-
const iter = this.listPagingAll(resourceGroupName, parentProviderNamespace, parentResourceType, parentResourceName, targetName, options);
|
|
2196
|
-
return {
|
|
2197
|
-
next() {
|
|
2198
|
-
return iter.next();
|
|
2199
|
-
},
|
|
2200
|
-
[Symbol.asyncIterator]() {
|
|
2201
|
-
return this;
|
|
2202
|
-
},
|
|
2203
|
-
byPage: (settings) => {
|
|
2204
|
-
if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
|
|
2205
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
2206
|
-
}
|
|
2207
|
-
return this.listPagingPage(resourceGroupName, parentProviderNamespace, parentResourceType, parentResourceName, targetName, options, settings);
|
|
2208
|
-
},
|
|
2209
|
-
};
|
|
2210
|
-
}
|
|
2211
|
-
listPagingPage(resourceGroupName, parentProviderNamespace, parentResourceType, parentResourceName, targetName, options, settings) {
|
|
2212
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
2213
|
-
let result;
|
|
2214
|
-
let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
|
|
2215
|
-
if (!continuationToken) {
|
|
2216
|
-
result = yield tslib.__await(this._list(resourceGroupName, parentProviderNamespace, parentResourceType, parentResourceName, targetName, options));
|
|
2217
|
-
let page = result.value || [];
|
|
2218
|
-
continuationToken = result.nextLink;
|
|
2219
|
-
setContinuationToken(page, continuationToken);
|
|
2220
|
-
yield yield tslib.__await(page);
|
|
2221
|
-
}
|
|
2222
|
-
while (continuationToken) {
|
|
2223
|
-
result = yield tslib.__await(this._listNext(resourceGroupName, parentProviderNamespace, parentResourceType, parentResourceName, targetName, continuationToken, options));
|
|
2224
|
-
continuationToken = result.nextLink;
|
|
2225
|
-
let page = result.value || [];
|
|
2226
|
-
setContinuationToken(page, continuationToken);
|
|
2227
|
-
yield yield tslib.__await(page);
|
|
2228
|
-
}
|
|
2229
|
-
});
|
|
2230
|
-
}
|
|
2231
|
-
listPagingAll(resourceGroupName, parentProviderNamespace, parentResourceType, parentResourceName, targetName, options) {
|
|
2232
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
2233
|
-
var _a, e_1, _b, _c;
|
|
2234
|
-
try {
|
|
2235
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, parentProviderNamespace, parentResourceType, parentResourceName, targetName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
2236
|
-
_c = _f.value;
|
|
2237
|
-
_d = false;
|
|
2238
|
-
const page = _c;
|
|
2239
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2240
|
-
}
|
|
2241
|
-
}
|
|
2242
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
2243
|
-
finally {
|
|
2244
|
-
try {
|
|
2245
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
2246
|
-
}
|
|
2247
|
-
finally { if (e_1) throw e_1.error; }
|
|
2248
|
-
}
|
|
2249
|
-
});
|
|
2250
|
-
}
|
|
2251
|
-
/**
|
|
2252
|
-
* Get a list of Capability resources that extend a Target resource..
|
|
2253
|
-
* @param resourceGroupName String that represents an Azure resource group.
|
|
2254
|
-
* @param parentProviderNamespace String that represents a resource provider namespace.
|
|
2255
|
-
* @param parentResourceType String that represents a resource type.
|
|
2256
|
-
* @param parentResourceName String that represents a resource name.
|
|
2257
|
-
* @param targetName String that represents a Target resource name.
|
|
2258
|
-
* @param options The options parameters.
|
|
2259
|
-
*/
|
|
2260
|
-
_list(resourceGroupName, parentProviderNamespace, parentResourceType, parentResourceName, targetName, options) {
|
|
2261
|
-
return this.client.sendOperationRequest({
|
|
2262
|
-
resourceGroupName,
|
|
2263
|
-
parentProviderNamespace,
|
|
2264
|
-
parentResourceType,
|
|
2265
|
-
parentResourceName,
|
|
2266
|
-
targetName,
|
|
2267
|
-
options,
|
|
2268
|
-
}, listOperationSpec$4);
|
|
2269
|
-
}
|
|
2270
|
-
/**
|
|
2271
|
-
* Get a Capability resource that extends a Target resource.
|
|
2272
|
-
* @param resourceGroupName String that represents an Azure resource group.
|
|
2273
|
-
* @param parentProviderNamespace String that represents a resource provider namespace.
|
|
2274
|
-
* @param parentResourceType String that represents a resource type.
|
|
2275
|
-
* @param parentResourceName String that represents a resource name.
|
|
2276
|
-
* @param targetName String that represents a Target resource name.
|
|
2277
|
-
* @param capabilityName String that represents a Capability resource name.
|
|
2278
|
-
* @param options The options parameters.
|
|
2279
|
-
*/
|
|
2280
|
-
get(resourceGroupName, parentProviderNamespace, parentResourceType, parentResourceName, targetName, capabilityName, options) {
|
|
2281
|
-
return this.client.sendOperationRequest({
|
|
2282
|
-
resourceGroupName,
|
|
2283
|
-
parentProviderNamespace,
|
|
2284
|
-
parentResourceType,
|
|
2285
|
-
parentResourceName,
|
|
2286
|
-
targetName,
|
|
2287
|
-
capabilityName,
|
|
2288
|
-
options,
|
|
2289
|
-
}, getOperationSpec$5);
|
|
2290
|
-
}
|
|
2291
|
-
/**
|
|
2292
|
-
* Delete a Capability that extends a Target resource.
|
|
2293
|
-
* @param resourceGroupName String that represents an Azure resource group.
|
|
2294
|
-
* @param parentProviderNamespace String that represents a resource provider namespace.
|
|
2295
|
-
* @param parentResourceType String that represents a resource type.
|
|
2296
|
-
* @param parentResourceName String that represents a resource name.
|
|
2297
|
-
* @param targetName String that represents a Target resource name.
|
|
2298
|
-
* @param capabilityName String that represents a Capability resource name.
|
|
2299
|
-
* @param options The options parameters.
|
|
2300
|
-
*/
|
|
2301
|
-
delete(resourceGroupName, parentProviderNamespace, parentResourceType, parentResourceName, targetName, capabilityName, options) {
|
|
2302
|
-
return this.client.sendOperationRequest({
|
|
2303
|
-
resourceGroupName,
|
|
2304
|
-
parentProviderNamespace,
|
|
2305
|
-
parentResourceType,
|
|
2306
|
-
parentResourceName,
|
|
2307
|
-
targetName,
|
|
2308
|
-
capabilityName,
|
|
2309
|
-
options,
|
|
2310
|
-
}, deleteOperationSpec$2);
|
|
2311
|
-
}
|
|
2312
|
-
/**
|
|
2313
|
-
* Create or update a Capability resource that extends a Target resource.
|
|
2314
|
-
* @param resourceGroupName String that represents an Azure resource group.
|
|
2315
|
-
* @param parentProviderNamespace String that represents a resource provider namespace.
|
|
2316
|
-
* @param parentResourceType String that represents a resource type.
|
|
2317
|
-
* @param parentResourceName String that represents a resource name.
|
|
2318
|
-
* @param targetName String that represents a Target resource name.
|
|
2319
|
-
* @param capabilityName String that represents a Capability resource name.
|
|
2320
|
-
* @param capability Capability resource to be created or updated.
|
|
2321
|
-
* @param options The options parameters.
|
|
2322
|
-
*/
|
|
2323
|
-
createOrUpdate(resourceGroupName, parentProviderNamespace, parentResourceType, parentResourceName, targetName, capabilityName, capability, options) {
|
|
2324
|
-
return this.client.sendOperationRequest({
|
|
2325
|
-
resourceGroupName,
|
|
2326
|
-
parentProviderNamespace,
|
|
2327
|
-
parentResourceType,
|
|
2328
|
-
parentResourceName,
|
|
2329
|
-
targetName,
|
|
2330
|
-
capabilityName,
|
|
2331
|
-
capability,
|
|
2332
|
-
options,
|
|
2333
|
-
}, createOrUpdateOperationSpec$2);
|
|
2334
|
-
}
|
|
2335
|
-
/**
|
|
2336
|
-
* ListNext
|
|
2337
|
-
* @param resourceGroupName String that represents an Azure resource group.
|
|
2338
|
-
* @param parentProviderNamespace String that represents a resource provider namespace.
|
|
2339
|
-
* @param parentResourceType String that represents a resource type.
|
|
2340
|
-
* @param parentResourceName String that represents a resource name.
|
|
2341
|
-
* @param targetName String that represents a Target resource name.
|
|
2342
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
2343
|
-
* @param options The options parameters.
|
|
2344
|
-
*/
|
|
2345
|
-
_listNext(resourceGroupName, parentProviderNamespace, parentResourceType, parentResourceName, targetName, nextLink, options) {
|
|
2346
|
-
return this.client.sendOperationRequest({
|
|
2347
|
-
resourceGroupName,
|
|
2348
|
-
parentProviderNamespace,
|
|
2349
|
-
parentResourceType,
|
|
2350
|
-
parentResourceName,
|
|
2351
|
-
targetName,
|
|
2352
|
-
nextLink,
|
|
2353
|
-
options,
|
|
2354
|
-
}, listNextOperationSpec$4);
|
|
2355
|
-
}
|
|
2356
|
-
}
|
|
2357
|
-
// Operation Specifications
|
|
2358
|
-
const serializer$6 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
2359
|
-
const listOperationSpec$4 = {
|
|
2360
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{parentProviderNamespace}/{parentResourceType}/{parentResourceName}/providers/Microsoft.Chaos/targets/{targetName}/capabilities",
|
|
2361
|
-
httpMethod: "GET",
|
|
2362
|
-
responses: {
|
|
2363
|
-
200: {
|
|
2364
|
-
bodyMapper: CapabilityListResult,
|
|
2365
|
-
},
|
|
2366
|
-
default: {
|
|
2367
|
-
bodyMapper: ErrorResponse,
|
|
2368
|
-
},
|
|
2369
|
-
},
|
|
2370
|
-
queryParameters: [apiVersion, continuationToken],
|
|
2371
|
-
urlParameters: [
|
|
2372
|
-
$host,
|
|
2373
|
-
subscriptionId,
|
|
2374
|
-
resourceGroupName,
|
|
2375
|
-
parentProviderNamespace,
|
|
2376
|
-
parentResourceType,
|
|
2377
|
-
parentResourceName,
|
|
2378
|
-
targetName,
|
|
2379
|
-
],
|
|
2380
|
-
headerParameters: [accept],
|
|
2381
|
-
serializer: serializer$6,
|
|
2382
|
-
};
|
|
2383
|
-
const getOperationSpec$5 = {
|
|
2384
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{parentProviderNamespace}/{parentResourceType}/{parentResourceName}/providers/Microsoft.Chaos/targets/{targetName}/capabilities/{capabilityName}",
|
|
2385
|
-
httpMethod: "GET",
|
|
2386
|
-
responses: {
|
|
2387
|
-
200: {
|
|
2388
|
-
bodyMapper: Capability,
|
|
2389
|
-
},
|
|
2390
|
-
default: {
|
|
2391
|
-
bodyMapper: ErrorResponse,
|
|
2392
|
-
},
|
|
2393
|
-
},
|
|
2394
|
-
queryParameters: [apiVersion],
|
|
2395
|
-
urlParameters: [
|
|
2396
|
-
$host,
|
|
2397
|
-
subscriptionId,
|
|
2398
|
-
resourceGroupName,
|
|
2399
|
-
parentProviderNamespace,
|
|
2400
|
-
parentResourceType,
|
|
2401
|
-
parentResourceName,
|
|
2402
|
-
targetName,
|
|
2403
|
-
capabilityName,
|
|
2404
|
-
],
|
|
2405
|
-
headerParameters: [accept],
|
|
2406
|
-
serializer: serializer$6,
|
|
2407
|
-
};
|
|
2408
|
-
const deleteOperationSpec$2 = {
|
|
2409
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{parentProviderNamespace}/{parentResourceType}/{parentResourceName}/providers/Microsoft.Chaos/targets/{targetName}/capabilities/{capabilityName}",
|
|
2410
|
-
httpMethod: "DELETE",
|
|
2411
|
-
responses: {
|
|
2412
|
-
200: {},
|
|
2413
|
-
204: {},
|
|
2414
|
-
default: {
|
|
2415
|
-
bodyMapper: ErrorResponse,
|
|
2416
|
-
},
|
|
2417
|
-
},
|
|
2418
|
-
queryParameters: [apiVersion],
|
|
2419
|
-
urlParameters: [
|
|
2420
|
-
$host,
|
|
2421
|
-
subscriptionId,
|
|
2422
|
-
resourceGroupName,
|
|
2423
|
-
parentProviderNamespace,
|
|
2424
|
-
parentResourceType,
|
|
2425
|
-
parentResourceName,
|
|
2426
|
-
targetName,
|
|
2427
|
-
capabilityName,
|
|
2428
|
-
],
|
|
2429
|
-
headerParameters: [accept],
|
|
2430
|
-
serializer: serializer$6,
|
|
2431
|
-
};
|
|
2432
|
-
const createOrUpdateOperationSpec$2 = {
|
|
2433
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{parentProviderNamespace}/{parentResourceType}/{parentResourceName}/providers/Microsoft.Chaos/targets/{targetName}/capabilities/{capabilityName}",
|
|
2434
|
-
httpMethod: "PUT",
|
|
2435
|
-
responses: {
|
|
2436
|
-
200: {
|
|
2437
|
-
bodyMapper: Capability,
|
|
2438
|
-
},
|
|
2439
|
-
default: {
|
|
2440
|
-
bodyMapper: ErrorResponse,
|
|
2441
|
-
},
|
|
2442
|
-
},
|
|
2443
|
-
requestBody: capability,
|
|
2444
|
-
queryParameters: [apiVersion],
|
|
2445
|
-
urlParameters: [
|
|
2446
|
-
$host,
|
|
2447
|
-
subscriptionId,
|
|
2448
|
-
resourceGroupName,
|
|
2449
|
-
parentProviderNamespace,
|
|
2450
|
-
parentResourceType,
|
|
2451
|
-
parentResourceName,
|
|
2452
|
-
targetName,
|
|
2453
|
-
capabilityName,
|
|
2454
|
-
],
|
|
2455
|
-
headerParameters: [accept, contentType],
|
|
2456
|
-
mediaType: "json",
|
|
2457
|
-
serializer: serializer$6,
|
|
2458
|
-
};
|
|
2459
|
-
const listNextOperationSpec$4 = {
|
|
2460
|
-
path: "{nextLink}",
|
|
2461
|
-
httpMethod: "GET",
|
|
2462
|
-
responses: {
|
|
2463
|
-
200: {
|
|
2464
|
-
bodyMapper: CapabilityListResult,
|
|
2465
|
-
},
|
|
2466
|
-
default: {
|
|
2467
|
-
bodyMapper: ErrorResponse,
|
|
2468
|
-
},
|
|
2469
|
-
},
|
|
2470
|
-
urlParameters: [
|
|
2471
|
-
$host,
|
|
2472
|
-
subscriptionId,
|
|
2473
|
-
resourceGroupName,
|
|
2474
|
-
parentProviderNamespace,
|
|
2475
|
-
parentResourceType,
|
|
2476
|
-
parentResourceName,
|
|
2477
|
-
targetName,
|
|
2478
|
-
nextLink,
|
|
2479
|
-
],
|
|
2480
|
-
headerParameters: [accept],
|
|
2481
|
-
serializer: serializer$6,
|
|
2482
|
-
};
|
|
2483
|
-
|
|
2484
|
-
/*
|
|
2485
|
-
* Copyright (c) Microsoft Corporation.
|
|
2486
|
-
* Licensed under the MIT License.
|
|
2487
|
-
*
|
|
2488
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2489
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2490
|
-
*/
|
|
2491
|
-
/// <reference lib="esnext.asynciterable" />
|
|
2492
|
-
/** Class containing CapabilityTypes operations. */
|
|
2493
|
-
class CapabilityTypesImpl {
|
|
2494
|
-
/**
|
|
2495
|
-
* Initialize a new instance of the class CapabilityTypes class.
|
|
2496
|
-
* @param client Reference to the service client
|
|
2497
|
-
*/
|
|
2498
|
-
constructor(client) {
|
|
2499
|
-
this.client = client;
|
|
2500
|
-
}
|
|
2501
|
-
/**
|
|
2502
|
-
* Get a list of Capability Type resources for given Target Type and location.
|
|
2503
|
-
* @param locationName String that represents a Location resource name.
|
|
2504
|
-
* @param targetTypeName String that represents a Target Type resource name.
|
|
2505
|
-
* @param options The options parameters.
|
|
2506
|
-
*/
|
|
2507
|
-
list(locationName, targetTypeName, options) {
|
|
2508
|
-
const iter = this.listPagingAll(locationName, targetTypeName, options);
|
|
2509
|
-
return {
|
|
2510
|
-
next() {
|
|
2511
|
-
return iter.next();
|
|
2512
|
-
},
|
|
2513
|
-
[Symbol.asyncIterator]() {
|
|
2514
|
-
return this;
|
|
2515
|
-
},
|
|
2516
|
-
byPage: (settings) => {
|
|
2517
|
-
if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
|
|
2518
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
2519
|
-
}
|
|
2520
|
-
return this.listPagingPage(locationName, targetTypeName, options, settings);
|
|
2521
|
-
},
|
|
2522
|
-
};
|
|
2523
|
-
}
|
|
2524
|
-
listPagingPage(locationName, targetTypeName, options, settings) {
|
|
2525
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
2526
|
-
let result;
|
|
2527
|
-
let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
|
|
2528
|
-
if (!continuationToken) {
|
|
2529
|
-
result = yield tslib.__await(this._list(locationName, targetTypeName, options));
|
|
2530
|
-
let page = result.value || [];
|
|
2531
|
-
continuationToken = result.nextLink;
|
|
2532
|
-
setContinuationToken(page, continuationToken);
|
|
2533
|
-
yield yield tslib.__await(page);
|
|
2534
|
-
}
|
|
2535
|
-
while (continuationToken) {
|
|
2536
|
-
result = yield tslib.__await(this._listNext(locationName, targetTypeName, continuationToken, options));
|
|
2537
|
-
continuationToken = result.nextLink;
|
|
2538
|
-
let page = result.value || [];
|
|
2539
|
-
setContinuationToken(page, continuationToken);
|
|
2540
|
-
yield yield tslib.__await(page);
|
|
2541
|
-
}
|
|
2542
|
-
});
|
|
2543
|
-
}
|
|
2544
|
-
listPagingAll(locationName, targetTypeName, options) {
|
|
2545
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
2546
|
-
var _a, e_1, _b, _c;
|
|
2547
|
-
try {
|
|
2548
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(locationName, targetTypeName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
2549
|
-
_c = _f.value;
|
|
2550
|
-
_d = false;
|
|
2551
|
-
const page = _c;
|
|
2552
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2553
|
-
}
|
|
2554
|
-
}
|
|
2555
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
2556
|
-
finally {
|
|
2557
|
-
try {
|
|
2558
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
2559
|
-
}
|
|
2560
|
-
finally { if (e_1) throw e_1.error; }
|
|
2561
|
-
}
|
|
2562
|
-
});
|
|
2563
|
-
}
|
|
2564
|
-
/**
|
|
2565
|
-
* Get a list of Capability Type resources for given Target Type and location.
|
|
2566
|
-
* @param locationName String that represents a Location resource name.
|
|
2567
|
-
* @param targetTypeName String that represents a Target Type resource name.
|
|
2568
|
-
* @param options The options parameters.
|
|
2569
|
-
*/
|
|
2570
|
-
_list(locationName, targetTypeName, options) {
|
|
2571
|
-
return this.client.sendOperationRequest({ locationName, targetTypeName, options }, listOperationSpec$3);
|
|
2572
|
-
}
|
|
2573
|
-
/**
|
|
2574
|
-
* Get a Capability Type resource for given Target Type and location.
|
|
2575
|
-
* @param locationName String that represents a Location resource name.
|
|
2576
|
-
* @param targetTypeName String that represents a Target Type resource name.
|
|
2577
|
-
* @param capabilityTypeName String that represents a Capability Type resource name.
|
|
2578
|
-
* @param options The options parameters.
|
|
2579
|
-
*/
|
|
2580
|
-
get(locationName, targetTypeName, capabilityTypeName, options) {
|
|
2581
|
-
return this.client.sendOperationRequest({ locationName, targetTypeName, capabilityTypeName, options }, getOperationSpec$4);
|
|
2582
|
-
}
|
|
2583
|
-
/**
|
|
2584
|
-
* ListNext
|
|
2585
|
-
* @param locationName String that represents a Location resource name.
|
|
2586
|
-
* @param targetTypeName String that represents a Target Type resource name.
|
|
2587
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
2588
|
-
* @param options The options parameters.
|
|
2589
|
-
*/
|
|
2590
|
-
_listNext(locationName, targetTypeName, nextLink, options) {
|
|
2591
|
-
return this.client.sendOperationRequest({ locationName, targetTypeName, nextLink, options }, listNextOperationSpec$3);
|
|
2592
|
-
}
|
|
2593
|
-
}
|
|
2594
|
-
// Operation Specifications
|
|
2595
|
-
const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
2596
|
-
const listOperationSpec$3 = {
|
|
2597
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Chaos/locations/{locationName}/targetTypes/{targetTypeName}/capabilityTypes",
|
|
2598
|
-
httpMethod: "GET",
|
|
2599
|
-
responses: {
|
|
2600
|
-
200: {
|
|
2601
|
-
bodyMapper: CapabilityTypeListResult,
|
|
2602
|
-
},
|
|
2603
|
-
default: {
|
|
2604
|
-
bodyMapper: ErrorResponse,
|
|
2605
|
-
},
|
|
2606
|
-
},
|
|
2607
|
-
queryParameters: [apiVersion, continuationToken],
|
|
2608
|
-
urlParameters: [
|
|
2609
|
-
$host,
|
|
2610
|
-
subscriptionId,
|
|
2611
|
-
locationName,
|
|
2612
|
-
targetTypeName,
|
|
2613
|
-
],
|
|
2614
|
-
headerParameters: [accept],
|
|
2615
|
-
serializer: serializer$5,
|
|
2616
|
-
};
|
|
2617
|
-
const getOperationSpec$4 = {
|
|
2618
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Chaos/locations/{locationName}/targetTypes/{targetTypeName}/capabilityTypes/{capabilityTypeName}",
|
|
2619
|
-
httpMethod: "GET",
|
|
2620
|
-
responses: {
|
|
2621
|
-
200: {
|
|
2622
|
-
bodyMapper: CapabilityType,
|
|
2623
|
-
},
|
|
2624
|
-
default: {
|
|
2625
|
-
bodyMapper: ErrorResponse,
|
|
2626
|
-
},
|
|
2627
|
-
},
|
|
2628
|
-
queryParameters: [apiVersion],
|
|
2629
|
-
urlParameters: [
|
|
2630
|
-
$host,
|
|
2631
|
-
subscriptionId,
|
|
2632
|
-
locationName,
|
|
2633
|
-
targetTypeName,
|
|
2634
|
-
capabilityTypeName,
|
|
2635
|
-
],
|
|
2636
|
-
headerParameters: [accept],
|
|
2637
|
-
serializer: serializer$5,
|
|
2638
|
-
};
|
|
2639
|
-
const listNextOperationSpec$3 = {
|
|
2640
|
-
path: "{nextLink}",
|
|
2641
|
-
httpMethod: "GET",
|
|
2642
|
-
responses: {
|
|
2643
|
-
200: {
|
|
2644
|
-
bodyMapper: CapabilityTypeListResult,
|
|
2645
|
-
},
|
|
2646
|
-
default: {
|
|
2647
|
-
bodyMapper: ErrorResponse,
|
|
2648
|
-
},
|
|
2649
|
-
},
|
|
2650
|
-
urlParameters: [
|
|
2651
|
-
$host,
|
|
2652
|
-
subscriptionId,
|
|
2653
|
-
nextLink,
|
|
2654
|
-
locationName,
|
|
2655
|
-
targetTypeName,
|
|
2656
|
-
],
|
|
2657
|
-
headerParameters: [accept],
|
|
2658
|
-
serializer: serializer$5,
|
|
2659
|
-
};
|
|
2660
|
-
|
|
2661
|
-
/*
|
|
2662
|
-
* Copyright (c) Microsoft Corporation.
|
|
2663
|
-
* Licensed under the MIT License.
|
|
2664
|
-
*
|
|
2665
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2666
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2667
|
-
*/
|
|
2668
|
-
function createLroSpec(inputs) {
|
|
2669
|
-
const { args, spec, sendOperationFn } = inputs;
|
|
2670
|
-
return {
|
|
2671
|
-
requestMethod: spec.httpMethod,
|
|
2672
|
-
requestPath: spec.path,
|
|
2673
|
-
sendInitialRequest: () => sendOperationFn(args, spec),
|
|
2674
|
-
sendPollRequest: (path, options) => {
|
|
2675
|
-
const restSpec = tslib.__rest(spec, ["requestBody"]);
|
|
2676
|
-
return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === undefined ? undefined : options.abortSignal }));
|
|
2677
|
-
},
|
|
2678
|
-
};
|
|
2679
|
-
}
|
|
2680
|
-
|
|
2681
|
-
/*
|
|
2682
|
-
* Copyright (c) Microsoft Corporation.
|
|
2683
|
-
* Licensed under the MIT License.
|
|
2684
|
-
*
|
|
2685
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2686
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2687
|
-
*/
|
|
2688
|
-
/// <reference lib="esnext.asynciterable" />
|
|
2689
|
-
/** Class containing Experiments operations. */
|
|
2690
|
-
class ExperimentsImpl {
|
|
2691
|
-
/**
|
|
2692
|
-
* Initialize a new instance of the class Experiments class.
|
|
2693
|
-
* @param client Reference to the service client
|
|
2694
|
-
*/
|
|
2695
|
-
constructor(client) {
|
|
2696
|
-
this.client = client;
|
|
2697
|
-
}
|
|
2698
|
-
/**
|
|
2699
|
-
* Get a list of Experiment resources in a subscription.
|
|
2700
|
-
* @param options The options parameters.
|
|
2701
|
-
*/
|
|
2702
|
-
listAll(options) {
|
|
2703
|
-
const iter = this.listAllPagingAll(options);
|
|
2704
|
-
return {
|
|
2705
|
-
next() {
|
|
2706
|
-
return iter.next();
|
|
2707
|
-
},
|
|
2708
|
-
[Symbol.asyncIterator]() {
|
|
2709
|
-
return this;
|
|
2710
|
-
},
|
|
2711
|
-
byPage: (settings) => {
|
|
2712
|
-
if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
|
|
2713
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
2714
|
-
}
|
|
2715
|
-
return this.listAllPagingPage(options, settings);
|
|
2716
|
-
},
|
|
2717
|
-
};
|
|
2718
|
-
}
|
|
2719
|
-
listAllPagingPage(options, settings) {
|
|
2720
|
-
return tslib.__asyncGenerator(this, arguments, function* listAllPagingPage_1() {
|
|
2721
|
-
let result;
|
|
2722
|
-
let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
|
|
2723
|
-
if (!continuationToken) {
|
|
2724
|
-
result = yield tslib.__await(this._listAll(options));
|
|
2725
|
-
let page = result.value || [];
|
|
2726
|
-
continuationToken = result.nextLink;
|
|
2727
|
-
setContinuationToken(page, continuationToken);
|
|
2728
|
-
yield yield tslib.__await(page);
|
|
2729
|
-
}
|
|
2730
|
-
while (continuationToken) {
|
|
2731
|
-
result = yield tslib.__await(this._listAllNext(continuationToken, options));
|
|
2732
|
-
continuationToken = result.nextLink;
|
|
2733
|
-
let page = result.value || [];
|
|
2734
|
-
setContinuationToken(page, continuationToken);
|
|
2735
|
-
yield yield tslib.__await(page);
|
|
2736
|
-
}
|
|
2737
|
-
});
|
|
2738
|
-
}
|
|
2739
|
-
listAllPagingAll(options) {
|
|
2740
|
-
return tslib.__asyncGenerator(this, arguments, function* listAllPagingAll_1() {
|
|
2741
|
-
var _a, e_1, _b, _c;
|
|
2742
|
-
try {
|
|
2743
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listAllPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
2744
|
-
_c = _f.value;
|
|
2745
|
-
_d = false;
|
|
2746
|
-
const page = _c;
|
|
2747
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2748
|
-
}
|
|
2749
|
-
}
|
|
2750
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
2751
|
-
finally {
|
|
2752
|
-
try {
|
|
2753
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
2754
|
-
}
|
|
2755
|
-
finally { if (e_1) throw e_1.error; }
|
|
2756
|
-
}
|
|
2757
|
-
});
|
|
2758
|
-
}
|
|
2759
|
-
/**
|
|
2760
|
-
* Get a list of Experiment resources in a resource group.
|
|
2761
|
-
* @param resourceGroupName String that represents an Azure resource group.
|
|
2762
|
-
* @param options The options parameters.
|
|
2763
|
-
*/
|
|
2764
|
-
list(resourceGroupName, options) {
|
|
2765
|
-
const iter = this.listPagingAll(resourceGroupName, options);
|
|
2766
|
-
return {
|
|
2767
|
-
next() {
|
|
2768
|
-
return iter.next();
|
|
2769
|
-
},
|
|
2770
|
-
[Symbol.asyncIterator]() {
|
|
2771
|
-
return this;
|
|
2772
|
-
},
|
|
2773
|
-
byPage: (settings) => {
|
|
2774
|
-
if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
|
|
2775
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
2776
|
-
}
|
|
2777
|
-
return this.listPagingPage(resourceGroupName, options, settings);
|
|
2778
|
-
},
|
|
2779
|
-
};
|
|
2780
|
-
}
|
|
2781
|
-
listPagingPage(resourceGroupName, options, settings) {
|
|
2782
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
2783
|
-
let result;
|
|
2784
|
-
let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
|
|
2785
|
-
if (!continuationToken) {
|
|
2786
|
-
result = yield tslib.__await(this._list(resourceGroupName, options));
|
|
2787
|
-
let page = result.value || [];
|
|
2788
|
-
continuationToken = result.nextLink;
|
|
2789
|
-
setContinuationToken(page, continuationToken);
|
|
2790
|
-
yield yield tslib.__await(page);
|
|
2791
|
-
}
|
|
2792
|
-
while (continuationToken) {
|
|
2793
|
-
result = yield tslib.__await(this._listNext(resourceGroupName, continuationToken, options));
|
|
2794
|
-
continuationToken = result.nextLink;
|
|
2795
|
-
let page = result.value || [];
|
|
2796
|
-
setContinuationToken(page, continuationToken);
|
|
2797
|
-
yield yield tslib.__await(page);
|
|
2798
|
-
}
|
|
2799
|
-
});
|
|
2800
|
-
}
|
|
2801
|
-
listPagingAll(resourceGroupName, options) {
|
|
2802
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
2803
|
-
var _a, e_2, _b, _c;
|
|
2804
|
-
try {
|
|
2805
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
2806
|
-
_c = _f.value;
|
|
2807
|
-
_d = false;
|
|
2808
|
-
const page = _c;
|
|
2809
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2810
|
-
}
|
|
2811
|
-
}
|
|
2812
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
2813
|
-
finally {
|
|
2814
|
-
try {
|
|
2815
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
2816
|
-
}
|
|
2817
|
-
finally { if (e_2) throw e_2.error; }
|
|
2818
|
-
}
|
|
2819
|
-
});
|
|
2820
|
-
}
|
|
2821
|
-
/**
|
|
2822
|
-
* Get a list of executions of an Experiment resource.
|
|
2823
|
-
* @param resourceGroupName String that represents an Azure resource group.
|
|
2824
|
-
* @param experimentName String that represents a Experiment resource name.
|
|
2825
|
-
* @param options The options parameters.
|
|
2826
|
-
*/
|
|
2827
|
-
listAllExecutions(resourceGroupName, experimentName, options) {
|
|
2828
|
-
const iter = this.listAllExecutionsPagingAll(resourceGroupName, experimentName, options);
|
|
2829
|
-
return {
|
|
2830
|
-
next() {
|
|
2831
|
-
return iter.next();
|
|
2832
|
-
},
|
|
2833
|
-
[Symbol.asyncIterator]() {
|
|
2834
|
-
return this;
|
|
2835
|
-
},
|
|
2836
|
-
byPage: (settings) => {
|
|
2837
|
-
if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
|
|
2838
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
2839
|
-
}
|
|
2840
|
-
return this.listAllExecutionsPagingPage(resourceGroupName, experimentName, options, settings);
|
|
2841
|
-
},
|
|
2842
|
-
};
|
|
2843
|
-
}
|
|
2844
|
-
listAllExecutionsPagingPage(resourceGroupName, experimentName, options, settings) {
|
|
2845
|
-
return tslib.__asyncGenerator(this, arguments, function* listAllExecutionsPagingPage_1() {
|
|
2846
|
-
let result;
|
|
2847
|
-
let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
|
|
2848
|
-
if (!continuationToken) {
|
|
2849
|
-
result = yield tslib.__await(this._listAllExecutions(resourceGroupName, experimentName, options));
|
|
2850
|
-
let page = result.value || [];
|
|
2851
|
-
continuationToken = result.nextLink;
|
|
2852
|
-
setContinuationToken(page, continuationToken);
|
|
2853
|
-
yield yield tslib.__await(page);
|
|
2854
|
-
}
|
|
2855
|
-
while (continuationToken) {
|
|
2856
|
-
result = yield tslib.__await(this._listAllExecutionsNext(resourceGroupName, experimentName, continuationToken, options));
|
|
2857
|
-
continuationToken = result.nextLink;
|
|
2858
|
-
let page = result.value || [];
|
|
2859
|
-
setContinuationToken(page, continuationToken);
|
|
2860
|
-
yield yield tslib.__await(page);
|
|
2861
|
-
}
|
|
2862
|
-
});
|
|
2863
|
-
}
|
|
2864
|
-
listAllExecutionsPagingAll(resourceGroupName, experimentName, options) {
|
|
2865
|
-
return tslib.__asyncGenerator(this, arguments, function* listAllExecutionsPagingAll_1() {
|
|
2866
|
-
var _a, e_3, _b, _c;
|
|
2867
|
-
try {
|
|
2868
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listAllExecutionsPagingPage(resourceGroupName, experimentName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
2869
|
-
_c = _f.value;
|
|
2870
|
-
_d = false;
|
|
2871
|
-
const page = _c;
|
|
2872
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2873
|
-
}
|
|
2874
|
-
}
|
|
2875
|
-
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
2876
|
-
finally {
|
|
2877
|
-
try {
|
|
2878
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
2879
|
-
}
|
|
2880
|
-
finally { if (e_3) throw e_3.error; }
|
|
2881
|
-
}
|
|
2882
|
-
});
|
|
2883
|
-
}
|
|
2884
|
-
/**
|
|
2885
|
-
* Get a list of Experiment resources in a subscription.
|
|
2886
|
-
* @param options The options parameters.
|
|
2887
|
-
*/
|
|
2888
|
-
_listAll(options) {
|
|
2889
|
-
return this.client.sendOperationRequest({ options }, listAllOperationSpec$1);
|
|
2890
|
-
}
|
|
2891
|
-
/**
|
|
2892
|
-
* Get a list of Experiment resources in a resource group.
|
|
2893
|
-
* @param resourceGroupName String that represents an Azure resource group.
|
|
2894
|
-
* @param options The options parameters.
|
|
2895
|
-
*/
|
|
2896
|
-
_list(resourceGroupName, options) {
|
|
2897
|
-
return this.client.sendOperationRequest({ resourceGroupName, options }, listOperationSpec$2);
|
|
2898
|
-
}
|
|
2899
|
-
/**
|
|
2900
|
-
* Delete a Experiment resource.
|
|
2901
|
-
* @param resourceGroupName String that represents an Azure resource group.
|
|
2902
|
-
* @param experimentName String that represents a Experiment resource name.
|
|
2903
|
-
* @param options The options parameters.
|
|
2904
|
-
*/
|
|
2905
|
-
beginDelete(resourceGroupName, experimentName, options) {
|
|
2906
|
-
return tslib.__awaiter(this, undefined, undefined, function* () {
|
|
2907
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
|
|
2908
|
-
return this.client.sendOperationRequest(args, spec);
|
|
2909
|
-
});
|
|
2910
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
|
|
2911
|
-
var _a;
|
|
2912
|
-
let currentRawResponse = undefined;
|
|
2913
|
-
const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
|
|
2914
|
-
const callback = (rawResponse, flatResponse) => {
|
|
2915
|
-
currentRawResponse = rawResponse;
|
|
2916
|
-
providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
|
|
2917
|
-
};
|
|
2918
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
2919
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
2920
|
-
return {
|
|
2921
|
-
flatResponse,
|
|
2922
|
-
rawResponse: {
|
|
2923
|
-
statusCode: currentRawResponse.status,
|
|
2924
|
-
body: currentRawResponse.parsedBody,
|
|
2925
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
2926
|
-
},
|
|
2927
|
-
};
|
|
2928
|
-
});
|
|
2929
|
-
const lro = createLroSpec({
|
|
2930
|
-
sendOperationFn,
|
|
2931
|
-
args: { resourceGroupName, experimentName, options },
|
|
2932
|
-
spec: deleteOperationSpec$1,
|
|
2933
|
-
});
|
|
2934
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2935
|
-
restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
|
|
2936
|
-
intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
|
|
2937
|
-
resourceLocationConfig: "location",
|
|
2938
|
-
});
|
|
2939
|
-
yield poller.poll();
|
|
2940
|
-
return poller;
|
|
2941
|
-
});
|
|
2942
|
-
}
|
|
2943
|
-
/**
|
|
2944
|
-
* Delete a Experiment resource.
|
|
2945
|
-
* @param resourceGroupName String that represents an Azure resource group.
|
|
2946
|
-
* @param experimentName String that represents a Experiment resource name.
|
|
2947
|
-
* @param options The options parameters.
|
|
2948
|
-
*/
|
|
2949
|
-
beginDeleteAndWait(resourceGroupName, experimentName, options) {
|
|
2950
|
-
return tslib.__awaiter(this, undefined, undefined, function* () {
|
|
2951
|
-
const poller = yield this.beginDelete(resourceGroupName, experimentName, options);
|
|
2952
|
-
return poller.pollUntilDone();
|
|
2953
|
-
});
|
|
2954
|
-
}
|
|
2955
|
-
/**
|
|
2956
|
-
* Get a Experiment resource.
|
|
2957
|
-
* @param resourceGroupName String that represents an Azure resource group.
|
|
2958
|
-
* @param experimentName String that represents a Experiment resource name.
|
|
2959
|
-
* @param options The options parameters.
|
|
2960
|
-
*/
|
|
2961
|
-
get(resourceGroupName, experimentName, options) {
|
|
2962
|
-
return this.client.sendOperationRequest({ resourceGroupName, experimentName, options }, getOperationSpec$3);
|
|
2963
|
-
}
|
|
2964
|
-
/**
|
|
2965
|
-
* Create or update a Experiment resource.
|
|
2966
|
-
* @param resourceGroupName String that represents an Azure resource group.
|
|
2967
|
-
* @param experimentName String that represents a Experiment resource name.
|
|
2968
|
-
* @param experiment Experiment resource to be created or updated.
|
|
2969
|
-
* @param options The options parameters.
|
|
2970
|
-
*/
|
|
2971
|
-
beginCreateOrUpdate(resourceGroupName, experimentName, experiment, options) {
|
|
2972
|
-
return tslib.__awaiter(this, undefined, undefined, function* () {
|
|
2973
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
|
|
2974
|
-
return this.client.sendOperationRequest(args, spec);
|
|
2975
|
-
});
|
|
2976
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
|
|
2977
|
-
var _a;
|
|
2978
|
-
let currentRawResponse = undefined;
|
|
2979
|
-
const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
|
|
2980
|
-
const callback = (rawResponse, flatResponse) => {
|
|
2981
|
-
currentRawResponse = rawResponse;
|
|
2982
|
-
providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
|
|
2983
|
-
};
|
|
2984
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
2985
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
2986
|
-
return {
|
|
2987
|
-
flatResponse,
|
|
2988
|
-
rawResponse: {
|
|
2989
|
-
statusCode: currentRawResponse.status,
|
|
2990
|
-
body: currentRawResponse.parsedBody,
|
|
2991
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
2992
|
-
},
|
|
2993
|
-
};
|
|
2994
|
-
});
|
|
2995
|
-
const lro = createLroSpec({
|
|
2996
|
-
sendOperationFn,
|
|
2997
|
-
args: { resourceGroupName, experimentName, experiment, options },
|
|
2998
|
-
spec: createOrUpdateOperationSpec$1,
|
|
2999
|
-
});
|
|
3000
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3001
|
-
restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
|
|
3002
|
-
intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
|
|
3003
|
-
resourceLocationConfig: "azure-async-operation",
|
|
3004
|
-
});
|
|
3005
|
-
yield poller.poll();
|
|
3006
|
-
return poller;
|
|
3007
|
-
});
|
|
3008
|
-
}
|
|
3009
|
-
/**
|
|
3010
|
-
* Create or update a Experiment resource.
|
|
3011
|
-
* @param resourceGroupName String that represents an Azure resource group.
|
|
3012
|
-
* @param experimentName String that represents a Experiment resource name.
|
|
3013
|
-
* @param experiment Experiment resource to be created or updated.
|
|
3014
|
-
* @param options The options parameters.
|
|
3015
|
-
*/
|
|
3016
|
-
beginCreateOrUpdateAndWait(resourceGroupName, experimentName, experiment, options) {
|
|
3017
|
-
return tslib.__awaiter(this, undefined, undefined, function* () {
|
|
3018
|
-
const poller = yield this.beginCreateOrUpdate(resourceGroupName, experimentName, experiment, options);
|
|
3019
|
-
return poller.pollUntilDone();
|
|
3020
|
-
});
|
|
3021
|
-
}
|
|
3022
|
-
/**
|
|
3023
|
-
* The operation to update an experiment.
|
|
3024
|
-
* @param resourceGroupName String that represents an Azure resource group.
|
|
3025
|
-
* @param experimentName String that represents a Experiment resource name.
|
|
3026
|
-
* @param experiment Parameters supplied to the Update experiment operation.
|
|
3027
|
-
* @param options The options parameters.
|
|
3028
|
-
*/
|
|
3029
|
-
beginUpdate(resourceGroupName, experimentName, experiment, options) {
|
|
3030
|
-
return tslib.__awaiter(this, undefined, undefined, function* () {
|
|
3031
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
|
|
3032
|
-
return this.client.sendOperationRequest(args, spec);
|
|
3033
|
-
});
|
|
3034
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
|
|
3035
|
-
var _a;
|
|
3036
|
-
let currentRawResponse = undefined;
|
|
3037
|
-
const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
|
|
3038
|
-
const callback = (rawResponse, flatResponse) => {
|
|
3039
|
-
currentRawResponse = rawResponse;
|
|
3040
|
-
providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
|
|
3041
|
-
};
|
|
3042
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
3043
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
3044
|
-
return {
|
|
3045
|
-
flatResponse,
|
|
3046
|
-
rawResponse: {
|
|
3047
|
-
statusCode: currentRawResponse.status,
|
|
3048
|
-
body: currentRawResponse.parsedBody,
|
|
3049
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
3050
|
-
},
|
|
3051
|
-
};
|
|
3052
|
-
});
|
|
3053
|
-
const lro = createLroSpec({
|
|
3054
|
-
sendOperationFn,
|
|
3055
|
-
args: { resourceGroupName, experimentName, experiment, options },
|
|
3056
|
-
spec: updateOperationSpec,
|
|
3057
|
-
});
|
|
3058
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3059
|
-
restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
|
|
3060
|
-
intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
|
|
3061
|
-
resourceLocationConfig: "location",
|
|
3062
|
-
});
|
|
3063
|
-
yield poller.poll();
|
|
3064
|
-
return poller;
|
|
3065
|
-
});
|
|
3066
|
-
}
|
|
3067
|
-
/**
|
|
3068
|
-
* The operation to update an experiment.
|
|
3069
|
-
* @param resourceGroupName String that represents an Azure resource group.
|
|
3070
|
-
* @param experimentName String that represents a Experiment resource name.
|
|
3071
|
-
* @param experiment Parameters supplied to the Update experiment operation.
|
|
3072
|
-
* @param options The options parameters.
|
|
3073
|
-
*/
|
|
3074
|
-
beginUpdateAndWait(resourceGroupName, experimentName, experiment, options) {
|
|
3075
|
-
return tslib.__awaiter(this, undefined, undefined, function* () {
|
|
3076
|
-
const poller = yield this.beginUpdate(resourceGroupName, experimentName, experiment, options);
|
|
3077
|
-
return poller.pollUntilDone();
|
|
3078
|
-
});
|
|
3079
|
-
}
|
|
3080
|
-
/**
|
|
3081
|
-
* Cancel a running Experiment resource.
|
|
3082
|
-
* @param resourceGroupName String that represents an Azure resource group.
|
|
3083
|
-
* @param experimentName String that represents a Experiment resource name.
|
|
3084
|
-
* @param options The options parameters.
|
|
3085
|
-
*/
|
|
3086
|
-
beginCancel(resourceGroupName, experimentName, options) {
|
|
3087
|
-
return tslib.__awaiter(this, undefined, undefined, function* () {
|
|
3088
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
|
|
3089
|
-
return this.client.sendOperationRequest(args, spec);
|
|
3090
|
-
});
|
|
3091
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
|
|
3092
|
-
var _a;
|
|
3093
|
-
let currentRawResponse = undefined;
|
|
3094
|
-
const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
|
|
3095
|
-
const callback = (rawResponse, flatResponse) => {
|
|
3096
|
-
currentRawResponse = rawResponse;
|
|
3097
|
-
providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
|
|
3098
|
-
};
|
|
3099
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
3100
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
3101
|
-
return {
|
|
3102
|
-
flatResponse,
|
|
3103
|
-
rawResponse: {
|
|
3104
|
-
statusCode: currentRawResponse.status,
|
|
3105
|
-
body: currentRawResponse.parsedBody,
|
|
3106
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
3107
|
-
},
|
|
3108
|
-
};
|
|
3109
|
-
});
|
|
3110
|
-
const lro = createLroSpec({
|
|
3111
|
-
sendOperationFn,
|
|
3112
|
-
args: { resourceGroupName, experimentName, options },
|
|
3113
|
-
spec: cancelOperationSpec,
|
|
3114
|
-
});
|
|
3115
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3116
|
-
restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
|
|
3117
|
-
intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
|
|
3118
|
-
resourceLocationConfig: "location",
|
|
3119
|
-
});
|
|
3120
|
-
yield poller.poll();
|
|
3121
|
-
return poller;
|
|
3122
|
-
});
|
|
3123
|
-
}
|
|
3124
|
-
/**
|
|
3125
|
-
* Cancel a running Experiment resource.
|
|
3126
|
-
* @param resourceGroupName String that represents an Azure resource group.
|
|
3127
|
-
* @param experimentName String that represents a Experiment resource name.
|
|
3128
|
-
* @param options The options parameters.
|
|
3129
|
-
*/
|
|
3130
|
-
beginCancelAndWait(resourceGroupName, experimentName, options) {
|
|
3131
|
-
return tslib.__awaiter(this, undefined, undefined, function* () {
|
|
3132
|
-
const poller = yield this.beginCancel(resourceGroupName, experimentName, options);
|
|
3133
|
-
return poller.pollUntilDone();
|
|
3134
|
-
});
|
|
3135
|
-
}
|
|
3136
|
-
/**
|
|
3137
|
-
* Start a Experiment resource.
|
|
3138
|
-
* @param resourceGroupName String that represents an Azure resource group.
|
|
3139
|
-
* @param experimentName String that represents a Experiment resource name.
|
|
3140
|
-
* @param options The options parameters.
|
|
3141
|
-
*/
|
|
3142
|
-
beginStart(resourceGroupName, experimentName, options) {
|
|
3143
|
-
return tslib.__awaiter(this, undefined, undefined, function* () {
|
|
3144
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
|
|
3145
|
-
return this.client.sendOperationRequest(args, spec);
|
|
3146
|
-
});
|
|
3147
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
|
|
3148
|
-
var _a;
|
|
3149
|
-
let currentRawResponse = undefined;
|
|
3150
|
-
const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
|
|
3151
|
-
const callback = (rawResponse, flatResponse) => {
|
|
3152
|
-
currentRawResponse = rawResponse;
|
|
3153
|
-
providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
|
|
3154
|
-
};
|
|
3155
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
3156
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
3157
|
-
return {
|
|
3158
|
-
flatResponse,
|
|
3159
|
-
rawResponse: {
|
|
3160
|
-
statusCode: currentRawResponse.status,
|
|
3161
|
-
body: currentRawResponse.parsedBody,
|
|
3162
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
3163
|
-
},
|
|
3164
|
-
};
|
|
3165
|
-
});
|
|
3166
|
-
const lro = createLroSpec({
|
|
3167
|
-
sendOperationFn,
|
|
3168
|
-
args: { resourceGroupName, experimentName, options },
|
|
3169
|
-
spec: startOperationSpec,
|
|
3170
|
-
});
|
|
3171
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3172
|
-
restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
|
|
3173
|
-
intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
|
|
3174
|
-
resourceLocationConfig: "location",
|
|
3175
|
-
});
|
|
3176
|
-
yield poller.poll();
|
|
3177
|
-
return poller;
|
|
3178
|
-
});
|
|
3179
|
-
}
|
|
3180
|
-
/**
|
|
3181
|
-
* Start a Experiment resource.
|
|
3182
|
-
* @param resourceGroupName String that represents an Azure resource group.
|
|
3183
|
-
* @param experimentName String that represents a Experiment resource name.
|
|
3184
|
-
* @param options The options parameters.
|
|
3185
|
-
*/
|
|
3186
|
-
beginStartAndWait(resourceGroupName, experimentName, options) {
|
|
3187
|
-
return tslib.__awaiter(this, undefined, undefined, function* () {
|
|
3188
|
-
const poller = yield this.beginStart(resourceGroupName, experimentName, options);
|
|
3189
|
-
return poller.pollUntilDone();
|
|
3190
|
-
});
|
|
3191
|
-
}
|
|
3192
|
-
/**
|
|
3193
|
-
* Get a list of executions of an Experiment resource.
|
|
3194
|
-
* @param resourceGroupName String that represents an Azure resource group.
|
|
3195
|
-
* @param experimentName String that represents a Experiment resource name.
|
|
3196
|
-
* @param options The options parameters.
|
|
3197
|
-
*/
|
|
3198
|
-
_listAllExecutions(resourceGroupName, experimentName, options) {
|
|
3199
|
-
return this.client.sendOperationRequest({ resourceGroupName, experimentName, options }, listAllExecutionsOperationSpec);
|
|
3200
|
-
}
|
|
3201
|
-
/**
|
|
3202
|
-
* Get an execution of an Experiment resource.
|
|
3203
|
-
* @param resourceGroupName String that represents an Azure resource group.
|
|
3204
|
-
* @param experimentName String that represents a Experiment resource name.
|
|
3205
|
-
* @param executionId GUID that represents a Experiment execution detail.
|
|
3206
|
-
* @param options The options parameters.
|
|
3207
|
-
*/
|
|
3208
|
-
getExecution(resourceGroupName, experimentName, executionId, options) {
|
|
3209
|
-
return this.client.sendOperationRequest({ resourceGroupName, experimentName, executionId, options }, getExecutionOperationSpec);
|
|
3210
|
-
}
|
|
3211
|
-
/**
|
|
3212
|
-
* Execution details of an experiment resource.
|
|
3213
|
-
* @param resourceGroupName String that represents an Azure resource group.
|
|
3214
|
-
* @param experimentName String that represents a Experiment resource name.
|
|
3215
|
-
* @param executionId GUID that represents a Experiment execution detail.
|
|
3216
|
-
* @param options The options parameters.
|
|
3217
|
-
*/
|
|
3218
|
-
executionDetails(resourceGroupName, experimentName, executionId, options) {
|
|
3219
|
-
return this.client.sendOperationRequest({ resourceGroupName, experimentName, executionId, options }, executionDetailsOperationSpec);
|
|
3220
|
-
}
|
|
3221
|
-
/**
|
|
3222
|
-
* ListAllNext
|
|
3223
|
-
* @param nextLink The nextLink from the previous successful call to the ListAll method.
|
|
3224
|
-
* @param options The options parameters.
|
|
3225
|
-
*/
|
|
3226
|
-
_listAllNext(nextLink, options) {
|
|
3227
|
-
return this.client.sendOperationRequest({ nextLink, options }, listAllNextOperationSpec$1);
|
|
3228
|
-
}
|
|
3229
|
-
/**
|
|
3230
|
-
* ListNext
|
|
3231
|
-
* @param resourceGroupName String that represents an Azure resource group.
|
|
3232
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
3233
|
-
* @param options The options parameters.
|
|
3234
|
-
*/
|
|
3235
|
-
_listNext(resourceGroupName, nextLink, options) {
|
|
3236
|
-
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listNextOperationSpec$2);
|
|
3237
|
-
}
|
|
3238
|
-
/**
|
|
3239
|
-
* ListAllExecutionsNext
|
|
3240
|
-
* @param resourceGroupName String that represents an Azure resource group.
|
|
3241
|
-
* @param experimentName String that represents a Experiment resource name.
|
|
3242
|
-
* @param nextLink The nextLink from the previous successful call to the ListAllExecutions method.
|
|
3243
|
-
* @param options The options parameters.
|
|
3244
|
-
*/
|
|
3245
|
-
_listAllExecutionsNext(resourceGroupName, experimentName, nextLink, options) {
|
|
3246
|
-
return this.client.sendOperationRequest({ resourceGroupName, experimentName, nextLink, options }, listAllExecutionsNextOperationSpec);
|
|
3247
|
-
}
|
|
3248
|
-
}
|
|
3249
|
-
// Operation Specifications
|
|
3250
|
-
const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3251
|
-
const listAllOperationSpec$1 = {
|
|
3252
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Chaos/experiments",
|
|
3253
|
-
httpMethod: "GET",
|
|
3254
|
-
responses: {
|
|
3255
|
-
200: {
|
|
3256
|
-
bodyMapper: ExperimentListResult,
|
|
3257
|
-
},
|
|
3258
|
-
default: {
|
|
3259
|
-
bodyMapper: ErrorResponse,
|
|
3260
|
-
},
|
|
3261
|
-
},
|
|
3262
|
-
queryParameters: [
|
|
3263
|
-
apiVersion,
|
|
3264
|
-
continuationToken,
|
|
3265
|
-
running,
|
|
3266
|
-
],
|
|
3267
|
-
urlParameters: [$host, subscriptionId],
|
|
3268
|
-
headerParameters: [accept],
|
|
3269
|
-
serializer: serializer$4,
|
|
3270
|
-
};
|
|
3271
|
-
const listOperationSpec$2 = {
|
|
3272
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/experiments",
|
|
3273
|
-
httpMethod: "GET",
|
|
3274
|
-
responses: {
|
|
3275
|
-
200: {
|
|
3276
|
-
bodyMapper: ExperimentListResult,
|
|
3277
|
-
},
|
|
3278
|
-
default: {
|
|
3279
|
-
bodyMapper: ErrorResponse,
|
|
3280
|
-
},
|
|
3281
|
-
},
|
|
3282
|
-
queryParameters: [
|
|
3283
|
-
apiVersion,
|
|
3284
|
-
continuationToken,
|
|
3285
|
-
running,
|
|
3286
|
-
],
|
|
3287
|
-
urlParameters: [
|
|
3288
|
-
$host,
|
|
3289
|
-
subscriptionId,
|
|
3290
|
-
resourceGroupName,
|
|
3291
|
-
],
|
|
3292
|
-
headerParameters: [accept],
|
|
3293
|
-
serializer: serializer$4,
|
|
3294
|
-
};
|
|
3295
|
-
const deleteOperationSpec$1 = {
|
|
3296
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/experiments/{experimentName}",
|
|
3297
|
-
httpMethod: "DELETE",
|
|
3298
|
-
responses: {
|
|
3299
|
-
200: {},
|
|
3300
|
-
201: {},
|
|
3301
|
-
202: {},
|
|
3302
|
-
204: {},
|
|
3303
|
-
default: {
|
|
3304
|
-
bodyMapper: ErrorResponse,
|
|
3305
|
-
},
|
|
3306
|
-
},
|
|
3307
|
-
queryParameters: [apiVersion],
|
|
3308
|
-
urlParameters: [
|
|
3309
|
-
$host,
|
|
3310
|
-
subscriptionId,
|
|
3311
|
-
resourceGroupName,
|
|
3312
|
-
experimentName,
|
|
3313
|
-
],
|
|
3314
|
-
headerParameters: [accept],
|
|
3315
|
-
serializer: serializer$4,
|
|
3316
|
-
};
|
|
3317
|
-
const getOperationSpec$3 = {
|
|
3318
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/experiments/{experimentName}",
|
|
3319
|
-
httpMethod: "GET",
|
|
3320
|
-
responses: {
|
|
3321
|
-
200: {
|
|
3322
|
-
bodyMapper: Experiment,
|
|
3323
|
-
},
|
|
3324
|
-
default: {
|
|
3325
|
-
bodyMapper: ErrorResponse,
|
|
3326
|
-
},
|
|
3327
|
-
},
|
|
3328
|
-
queryParameters: [apiVersion],
|
|
3329
|
-
urlParameters: [
|
|
3330
|
-
$host,
|
|
3331
|
-
subscriptionId,
|
|
3332
|
-
resourceGroupName,
|
|
3333
|
-
experimentName,
|
|
3334
|
-
],
|
|
3335
|
-
headerParameters: [accept],
|
|
3336
|
-
serializer: serializer$4,
|
|
3337
|
-
};
|
|
3338
|
-
const createOrUpdateOperationSpec$1 = {
|
|
3339
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/experiments/{experimentName}",
|
|
3340
|
-
httpMethod: "PUT",
|
|
3341
|
-
responses: {
|
|
3342
|
-
200: {
|
|
3343
|
-
bodyMapper: Experiment,
|
|
3344
|
-
},
|
|
3345
|
-
201: {
|
|
3346
|
-
bodyMapper: Experiment,
|
|
3347
|
-
},
|
|
3348
|
-
202: {
|
|
3349
|
-
bodyMapper: Experiment,
|
|
3350
|
-
},
|
|
3351
|
-
204: {
|
|
3352
|
-
bodyMapper: Experiment,
|
|
3353
|
-
},
|
|
3354
|
-
default: {
|
|
3355
|
-
bodyMapper: ErrorResponse,
|
|
3356
|
-
},
|
|
3357
|
-
},
|
|
3358
|
-
requestBody: experiment,
|
|
3359
|
-
queryParameters: [apiVersion],
|
|
3360
|
-
urlParameters: [
|
|
3361
|
-
$host,
|
|
3362
|
-
subscriptionId,
|
|
3363
|
-
resourceGroupName,
|
|
3364
|
-
experimentName,
|
|
3365
|
-
],
|
|
3366
|
-
headerParameters: [accept, contentType],
|
|
3367
|
-
mediaType: "json",
|
|
3368
|
-
serializer: serializer$4,
|
|
3369
|
-
};
|
|
3370
|
-
const updateOperationSpec = {
|
|
3371
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/experiments/{experimentName}",
|
|
3372
|
-
httpMethod: "PATCH",
|
|
3373
|
-
responses: {
|
|
3374
|
-
200: {
|
|
3375
|
-
bodyMapper: Experiment,
|
|
3376
|
-
},
|
|
3377
|
-
201: {
|
|
3378
|
-
bodyMapper: Experiment,
|
|
3379
|
-
},
|
|
3380
|
-
202: {
|
|
3381
|
-
bodyMapper: Experiment,
|
|
3382
|
-
},
|
|
3383
|
-
204: {
|
|
3384
|
-
bodyMapper: Experiment,
|
|
3385
|
-
},
|
|
3386
|
-
default: {
|
|
3387
|
-
bodyMapper: ErrorResponse,
|
|
3388
|
-
},
|
|
3389
|
-
},
|
|
3390
|
-
requestBody: experiment1,
|
|
3391
|
-
queryParameters: [apiVersion],
|
|
3392
|
-
urlParameters: [
|
|
3393
|
-
$host,
|
|
3394
|
-
subscriptionId,
|
|
3395
|
-
resourceGroupName,
|
|
3396
|
-
experimentName,
|
|
3397
|
-
],
|
|
3398
|
-
headerParameters: [accept, contentType],
|
|
3399
|
-
mediaType: "json",
|
|
3400
|
-
serializer: serializer$4,
|
|
3401
|
-
};
|
|
3402
|
-
const cancelOperationSpec = {
|
|
3403
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/experiments/{experimentName}/cancel",
|
|
3404
|
-
httpMethod: "POST",
|
|
3405
|
-
responses: {
|
|
3406
|
-
200: {},
|
|
3407
|
-
201: {},
|
|
3408
|
-
202: {},
|
|
3409
|
-
204: {},
|
|
3410
|
-
default: {
|
|
3411
|
-
bodyMapper: ErrorResponse,
|
|
3412
|
-
},
|
|
3413
|
-
},
|
|
3414
|
-
queryParameters: [apiVersion],
|
|
3415
|
-
urlParameters: [
|
|
3416
|
-
$host,
|
|
3417
|
-
subscriptionId,
|
|
3418
|
-
resourceGroupName,
|
|
3419
|
-
experimentName,
|
|
3420
|
-
],
|
|
3421
|
-
headerParameters: [accept],
|
|
3422
|
-
serializer: serializer$4,
|
|
3423
|
-
};
|
|
3424
|
-
const startOperationSpec = {
|
|
3425
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/experiments/{experimentName}/start",
|
|
3426
|
-
httpMethod: "POST",
|
|
3427
|
-
responses: {
|
|
3428
|
-
200: {},
|
|
3429
|
-
201: {},
|
|
3430
|
-
202: {},
|
|
3431
|
-
204: {},
|
|
3432
|
-
default: {
|
|
3433
|
-
bodyMapper: ErrorResponse,
|
|
3434
|
-
},
|
|
3435
|
-
},
|
|
3436
|
-
queryParameters: [apiVersion],
|
|
3437
|
-
urlParameters: [
|
|
3438
|
-
$host,
|
|
3439
|
-
subscriptionId,
|
|
3440
|
-
resourceGroupName,
|
|
3441
|
-
experimentName,
|
|
3442
|
-
],
|
|
3443
|
-
headerParameters: [accept],
|
|
3444
|
-
serializer: serializer$4,
|
|
3445
|
-
};
|
|
3446
|
-
const listAllExecutionsOperationSpec = {
|
|
3447
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/experiments/{experimentName}/executions",
|
|
3448
|
-
httpMethod: "GET",
|
|
3449
|
-
responses: {
|
|
3450
|
-
200: {
|
|
3451
|
-
bodyMapper: ExperimentExecutionListResult,
|
|
3452
|
-
},
|
|
3453
|
-
default: {
|
|
3454
|
-
bodyMapper: ErrorResponse,
|
|
3455
|
-
},
|
|
3456
|
-
},
|
|
3457
|
-
queryParameters: [apiVersion],
|
|
3458
|
-
urlParameters: [
|
|
3459
|
-
$host,
|
|
3460
|
-
subscriptionId,
|
|
3461
|
-
resourceGroupName,
|
|
3462
|
-
experimentName,
|
|
3463
|
-
],
|
|
3464
|
-
headerParameters: [accept],
|
|
3465
|
-
serializer: serializer$4,
|
|
3466
|
-
};
|
|
3467
|
-
const getExecutionOperationSpec = {
|
|
3468
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/experiments/{experimentName}/executions/{executionId}",
|
|
3469
|
-
httpMethod: "GET",
|
|
3470
|
-
responses: {
|
|
3471
|
-
200: {
|
|
3472
|
-
bodyMapper: ExperimentExecution,
|
|
3473
|
-
},
|
|
3474
|
-
default: {
|
|
3475
|
-
bodyMapper: ErrorResponse,
|
|
3476
|
-
},
|
|
3477
|
-
},
|
|
3478
|
-
queryParameters: [apiVersion],
|
|
3479
|
-
urlParameters: [
|
|
3480
|
-
$host,
|
|
3481
|
-
subscriptionId,
|
|
3482
|
-
resourceGroupName,
|
|
3483
|
-
experimentName,
|
|
3484
|
-
executionId,
|
|
3485
|
-
],
|
|
3486
|
-
headerParameters: [accept],
|
|
3487
|
-
serializer: serializer$4,
|
|
3488
|
-
};
|
|
3489
|
-
const executionDetailsOperationSpec = {
|
|
3490
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/experiments/{experimentName}/executions/{executionId}/getExecutionDetails",
|
|
3491
|
-
httpMethod: "POST",
|
|
3492
|
-
responses: {
|
|
3493
|
-
200: {
|
|
3494
|
-
bodyMapper: ExperimentExecutionDetails,
|
|
3495
|
-
},
|
|
3496
|
-
default: {
|
|
3497
|
-
bodyMapper: ErrorResponse,
|
|
3498
|
-
},
|
|
3499
|
-
},
|
|
3500
|
-
queryParameters: [apiVersion],
|
|
3501
|
-
urlParameters: [
|
|
3502
|
-
$host,
|
|
3503
|
-
subscriptionId,
|
|
3504
|
-
resourceGroupName,
|
|
3505
|
-
experimentName,
|
|
3506
|
-
executionId,
|
|
3507
|
-
],
|
|
3508
|
-
headerParameters: [accept],
|
|
3509
|
-
serializer: serializer$4,
|
|
3510
|
-
};
|
|
3511
|
-
const listAllNextOperationSpec$1 = {
|
|
3512
|
-
path: "{nextLink}",
|
|
3513
|
-
httpMethod: "GET",
|
|
3514
|
-
responses: {
|
|
3515
|
-
200: {
|
|
3516
|
-
bodyMapper: ExperimentListResult,
|
|
3517
|
-
},
|
|
3518
|
-
default: {
|
|
3519
|
-
bodyMapper: ErrorResponse,
|
|
3520
|
-
},
|
|
3521
|
-
},
|
|
3522
|
-
urlParameters: [
|
|
3523
|
-
$host,
|
|
3524
|
-
subscriptionId,
|
|
3525
|
-
nextLink,
|
|
3526
|
-
],
|
|
3527
|
-
headerParameters: [accept],
|
|
3528
|
-
serializer: serializer$4,
|
|
3529
|
-
};
|
|
3530
|
-
const listNextOperationSpec$2 = {
|
|
3531
|
-
path: "{nextLink}",
|
|
3532
|
-
httpMethod: "GET",
|
|
3533
|
-
responses: {
|
|
3534
|
-
200: {
|
|
3535
|
-
bodyMapper: ExperimentListResult,
|
|
3536
|
-
},
|
|
3537
|
-
default: {
|
|
3538
|
-
bodyMapper: ErrorResponse,
|
|
3539
|
-
},
|
|
3540
|
-
},
|
|
3541
|
-
urlParameters: [
|
|
3542
|
-
$host,
|
|
3543
|
-
subscriptionId,
|
|
3544
|
-
resourceGroupName,
|
|
3545
|
-
nextLink,
|
|
3546
|
-
],
|
|
3547
|
-
headerParameters: [accept],
|
|
3548
|
-
serializer: serializer$4,
|
|
3549
|
-
};
|
|
3550
|
-
const listAllExecutionsNextOperationSpec = {
|
|
3551
|
-
path: "{nextLink}",
|
|
3552
|
-
httpMethod: "GET",
|
|
3553
|
-
responses: {
|
|
3554
|
-
200: {
|
|
3555
|
-
bodyMapper: ExperimentExecutionListResult,
|
|
3556
|
-
},
|
|
3557
|
-
default: {
|
|
3558
|
-
bodyMapper: ErrorResponse,
|
|
3559
|
-
},
|
|
3560
|
-
},
|
|
3561
|
-
urlParameters: [
|
|
3562
|
-
$host,
|
|
3563
|
-
subscriptionId,
|
|
3564
|
-
resourceGroupName,
|
|
3565
|
-
nextLink,
|
|
3566
|
-
experimentName,
|
|
3567
|
-
],
|
|
3568
|
-
headerParameters: [accept],
|
|
3569
|
-
serializer: serializer$4,
|
|
3570
|
-
};
|
|
3571
|
-
|
|
3572
|
-
/*
|
|
3573
|
-
* Copyright (c) Microsoft Corporation.
|
|
3574
|
-
* Licensed under the MIT License.
|
|
3575
|
-
*
|
|
3576
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3577
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3578
|
-
*/
|
|
3579
|
-
/** Class containing OperationStatuses operations. */
|
|
3580
|
-
class OperationStatusesImpl {
|
|
3581
|
-
/**
|
|
3582
|
-
* Initialize a new instance of the class OperationStatuses class.
|
|
3583
|
-
* @param client Reference to the service client
|
|
3584
|
-
*/
|
|
3585
|
-
constructor(client) {
|
|
3586
|
-
this.client = client;
|
|
3587
|
-
}
|
|
3588
|
-
/**
|
|
3589
|
-
* Get the status of a long running azure asynchronous operation.
|
|
3590
|
-
* @param location The name of the Azure region.
|
|
3591
|
-
* @param asyncOperationId The operation Id.
|
|
3592
|
-
* @param options The options parameters.
|
|
3593
|
-
*/
|
|
3594
|
-
get(location, asyncOperationId, options) {
|
|
3595
|
-
return this.client.sendOperationRequest({ location, asyncOperationId, options }, getOperationSpec$2);
|
|
3596
|
-
}
|
|
3597
|
-
}
|
|
3598
|
-
// Operation Specifications
|
|
3599
|
-
const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3600
|
-
const getOperationSpec$2 = {
|
|
3601
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Chaos/locations/{location}/operationStatuses/{asyncOperationId}",
|
|
3602
|
-
httpMethod: "GET",
|
|
3603
|
-
responses: {
|
|
3604
|
-
200: {
|
|
3605
|
-
bodyMapper: OperationStatus,
|
|
3606
|
-
},
|
|
3607
|
-
default: {
|
|
3608
|
-
bodyMapper: ErrorResponse,
|
|
3609
|
-
},
|
|
3610
|
-
},
|
|
3611
|
-
queryParameters: [apiVersion],
|
|
3612
|
-
urlParameters: [
|
|
3613
|
-
$host,
|
|
3614
|
-
subscriptionId,
|
|
3615
|
-
location,
|
|
3616
|
-
asyncOperationId,
|
|
3617
|
-
],
|
|
3618
|
-
headerParameters: [accept],
|
|
3619
|
-
serializer: serializer$3,
|
|
3620
|
-
};
|
|
3621
|
-
|
|
3622
|
-
/*
|
|
3623
|
-
* Copyright (c) Microsoft Corporation.
|
|
3624
|
-
* Licensed under the MIT License.
|
|
3625
|
-
*
|
|
3626
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3627
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3628
|
-
*/
|
|
3629
|
-
/// <reference lib="esnext.asynciterable" />
|
|
3630
|
-
/** Class containing Operations operations. */
|
|
3631
|
-
class OperationsImpl {
|
|
3632
|
-
/**
|
|
3633
|
-
* Initialize a new instance of the class Operations class.
|
|
3634
|
-
* @param client Reference to the service client
|
|
3635
|
-
*/
|
|
3636
|
-
constructor(client) {
|
|
3637
|
-
this.client = client;
|
|
3638
|
-
}
|
|
3639
|
-
/**
|
|
3640
|
-
* Get a list all available Operations.
|
|
3641
|
-
* @param options The options parameters.
|
|
3642
|
-
*/
|
|
3643
|
-
listAll(options) {
|
|
3644
|
-
const iter = this.listAllPagingAll(options);
|
|
3645
|
-
return {
|
|
3646
|
-
next() {
|
|
3647
|
-
return iter.next();
|
|
3648
|
-
},
|
|
3649
|
-
[Symbol.asyncIterator]() {
|
|
3650
|
-
return this;
|
|
3651
|
-
},
|
|
3652
|
-
byPage: (settings) => {
|
|
3653
|
-
if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
|
|
3654
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
3655
|
-
}
|
|
3656
|
-
return this.listAllPagingPage(options, settings);
|
|
3657
|
-
},
|
|
3658
|
-
};
|
|
3659
|
-
}
|
|
3660
|
-
listAllPagingPage(options, settings) {
|
|
3661
|
-
return tslib.__asyncGenerator(this, arguments, function* listAllPagingPage_1() {
|
|
3662
|
-
let result;
|
|
3663
|
-
let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
|
|
3664
|
-
if (!continuationToken) {
|
|
3665
|
-
result = yield tslib.__await(this._listAll(options));
|
|
3666
|
-
let page = result.value || [];
|
|
3667
|
-
continuationToken = result.nextLink;
|
|
3668
|
-
setContinuationToken(page, continuationToken);
|
|
3669
|
-
yield yield tslib.__await(page);
|
|
3670
|
-
}
|
|
3671
|
-
while (continuationToken) {
|
|
3672
|
-
result = yield tslib.__await(this._listAllNext(continuationToken, options));
|
|
3673
|
-
continuationToken = result.nextLink;
|
|
3674
|
-
let page = result.value || [];
|
|
3675
|
-
setContinuationToken(page, continuationToken);
|
|
3676
|
-
yield yield tslib.__await(page);
|
|
3677
|
-
}
|
|
3678
|
-
});
|
|
3679
|
-
}
|
|
3680
|
-
listAllPagingAll(options) {
|
|
3681
|
-
return tslib.__asyncGenerator(this, arguments, function* listAllPagingAll_1() {
|
|
3682
|
-
var _a, e_1, _b, _c;
|
|
3683
|
-
try {
|
|
3684
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listAllPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
3685
|
-
_c = _f.value;
|
|
3686
|
-
_d = false;
|
|
3687
|
-
const page = _c;
|
|
3688
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
3689
|
-
}
|
|
3690
|
-
}
|
|
3691
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
3692
|
-
finally {
|
|
3693
|
-
try {
|
|
3694
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
3695
|
-
}
|
|
3696
|
-
finally { if (e_1) throw e_1.error; }
|
|
3697
|
-
}
|
|
3698
|
-
});
|
|
3699
|
-
}
|
|
3700
|
-
/**
|
|
3701
|
-
* Get a list all available Operations.
|
|
3702
|
-
* @param options The options parameters.
|
|
3703
|
-
*/
|
|
3704
|
-
_listAll(options) {
|
|
3705
|
-
return this.client.sendOperationRequest({ options }, listAllOperationSpec);
|
|
3706
|
-
}
|
|
3707
|
-
/**
|
|
3708
|
-
* ListAllNext
|
|
3709
|
-
* @param nextLink The nextLink from the previous successful call to the ListAll method.
|
|
3710
|
-
* @param options The options parameters.
|
|
3711
|
-
*/
|
|
3712
|
-
_listAllNext(nextLink, options) {
|
|
3713
|
-
return this.client.sendOperationRequest({ nextLink, options }, listAllNextOperationSpec);
|
|
3714
|
-
}
|
|
3715
|
-
}
|
|
3716
|
-
// Operation Specifications
|
|
3717
|
-
const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3718
|
-
const listAllOperationSpec = {
|
|
3719
|
-
path: "/providers/Microsoft.Chaos/operations",
|
|
3720
|
-
httpMethod: "GET",
|
|
3721
|
-
responses: {
|
|
3722
|
-
200: {
|
|
3723
|
-
bodyMapper: OperationListResult,
|
|
3724
|
-
},
|
|
3725
|
-
default: {
|
|
3726
|
-
bodyMapper: ErrorResponse,
|
|
3727
|
-
},
|
|
3728
|
-
},
|
|
3729
|
-
queryParameters: [apiVersion],
|
|
3730
|
-
urlParameters: [$host],
|
|
3731
|
-
headerParameters: [accept],
|
|
3732
|
-
serializer: serializer$2,
|
|
3733
|
-
};
|
|
3734
|
-
const listAllNextOperationSpec = {
|
|
3735
|
-
path: "{nextLink}",
|
|
3736
|
-
httpMethod: "GET",
|
|
3737
|
-
responses: {
|
|
3738
|
-
200: {
|
|
3739
|
-
bodyMapper: OperationListResult,
|
|
3740
|
-
},
|
|
3741
|
-
default: {
|
|
3742
|
-
bodyMapper: ErrorResponse,
|
|
3743
|
-
},
|
|
3744
|
-
},
|
|
3745
|
-
urlParameters: [$host, nextLink],
|
|
3746
|
-
headerParameters: [accept],
|
|
3747
|
-
serializer: serializer$2,
|
|
3748
|
-
};
|
|
3749
|
-
|
|
3750
|
-
/*
|
|
3751
|
-
* Copyright (c) Microsoft Corporation.
|
|
3752
|
-
* Licensed under the MIT License.
|
|
3753
|
-
*
|
|
3754
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3755
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3756
|
-
*/
|
|
3757
|
-
/// <reference lib="esnext.asynciterable" />
|
|
3758
|
-
/** Class containing TargetTypes operations. */
|
|
3759
|
-
class TargetTypesImpl {
|
|
3760
|
-
/**
|
|
3761
|
-
* Initialize a new instance of the class TargetTypes class.
|
|
3762
|
-
* @param client Reference to the service client
|
|
3763
|
-
*/
|
|
3764
|
-
constructor(client) {
|
|
3765
|
-
this.client = client;
|
|
3766
|
-
}
|
|
3767
|
-
/**
|
|
3768
|
-
* Get a list of Target Type resources for given location.
|
|
3769
|
-
* @param locationName String that represents a Location resource name.
|
|
3770
|
-
* @param options The options parameters.
|
|
3771
|
-
*/
|
|
3772
|
-
list(locationName, options) {
|
|
3773
|
-
const iter = this.listPagingAll(locationName, options);
|
|
3774
|
-
return {
|
|
3775
|
-
next() {
|
|
3776
|
-
return iter.next();
|
|
3777
|
-
},
|
|
3778
|
-
[Symbol.asyncIterator]() {
|
|
3779
|
-
return this;
|
|
3780
|
-
},
|
|
3781
|
-
byPage: (settings) => {
|
|
3782
|
-
if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
|
|
3783
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
3784
|
-
}
|
|
3785
|
-
return this.listPagingPage(locationName, options, settings);
|
|
3786
|
-
},
|
|
3787
|
-
};
|
|
3788
|
-
}
|
|
3789
|
-
listPagingPage(locationName, options, settings) {
|
|
3790
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
3791
|
-
let result;
|
|
3792
|
-
let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
|
|
3793
|
-
if (!continuationToken) {
|
|
3794
|
-
result = yield tslib.__await(this._list(locationName, options));
|
|
3795
|
-
let page = result.value || [];
|
|
3796
|
-
continuationToken = result.nextLink;
|
|
3797
|
-
setContinuationToken(page, continuationToken);
|
|
3798
|
-
yield yield tslib.__await(page);
|
|
3799
|
-
}
|
|
3800
|
-
while (continuationToken) {
|
|
3801
|
-
result = yield tslib.__await(this._listNext(locationName, continuationToken, options));
|
|
3802
|
-
continuationToken = result.nextLink;
|
|
3803
|
-
let page = result.value || [];
|
|
3804
|
-
setContinuationToken(page, continuationToken);
|
|
3805
|
-
yield yield tslib.__await(page);
|
|
3806
|
-
}
|
|
3807
|
-
});
|
|
3808
|
-
}
|
|
3809
|
-
listPagingAll(locationName, options) {
|
|
3810
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
3811
|
-
var _a, e_1, _b, _c;
|
|
3812
|
-
try {
|
|
3813
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(locationName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
3814
|
-
_c = _f.value;
|
|
3815
|
-
_d = false;
|
|
3816
|
-
const page = _c;
|
|
3817
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
3818
|
-
}
|
|
3819
|
-
}
|
|
3820
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
3821
|
-
finally {
|
|
3822
|
-
try {
|
|
3823
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
3824
|
-
}
|
|
3825
|
-
finally { if (e_1) throw e_1.error; }
|
|
3826
|
-
}
|
|
3827
|
-
});
|
|
3828
|
-
}
|
|
3829
|
-
/**
|
|
3830
|
-
* Get a list of Target Type resources for given location.
|
|
3831
|
-
* @param locationName String that represents a Location resource name.
|
|
3832
|
-
* @param options The options parameters.
|
|
3833
|
-
*/
|
|
3834
|
-
_list(locationName, options) {
|
|
3835
|
-
return this.client.sendOperationRequest({ locationName, options }, listOperationSpec$1);
|
|
3836
|
-
}
|
|
3837
|
-
/**
|
|
3838
|
-
* Get a Target Type resources for given location.
|
|
3839
|
-
* @param locationName String that represents a Location resource name.
|
|
3840
|
-
* @param targetTypeName String that represents a Target Type resource name.
|
|
3841
|
-
* @param options The options parameters.
|
|
3842
|
-
*/
|
|
3843
|
-
get(locationName, targetTypeName, options) {
|
|
3844
|
-
return this.client.sendOperationRequest({ locationName, targetTypeName, options }, getOperationSpec$1);
|
|
3845
|
-
}
|
|
3846
|
-
/**
|
|
3847
|
-
* ListNext
|
|
3848
|
-
* @param locationName String that represents a Location resource name.
|
|
3849
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
3850
|
-
* @param options The options parameters.
|
|
3851
|
-
*/
|
|
3852
|
-
_listNext(locationName, nextLink, options) {
|
|
3853
|
-
return this.client.sendOperationRequest({ locationName, nextLink, options }, listNextOperationSpec$1);
|
|
3854
|
-
}
|
|
3855
|
-
}
|
|
3856
|
-
// Operation Specifications
|
|
3857
|
-
const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3858
|
-
const listOperationSpec$1 = {
|
|
3859
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Chaos/locations/{locationName}/targetTypes",
|
|
3860
|
-
httpMethod: "GET",
|
|
3861
|
-
responses: {
|
|
3862
|
-
200: {
|
|
3863
|
-
bodyMapper: TargetTypeListResult,
|
|
3864
|
-
},
|
|
3865
|
-
default: {
|
|
3866
|
-
bodyMapper: ErrorResponse,
|
|
3867
|
-
},
|
|
3868
|
-
},
|
|
3869
|
-
queryParameters: [apiVersion, continuationToken],
|
|
3870
|
-
urlParameters: [
|
|
3871
|
-
$host,
|
|
3872
|
-
subscriptionId,
|
|
3873
|
-
locationName,
|
|
3874
|
-
],
|
|
3875
|
-
headerParameters: [accept],
|
|
3876
|
-
serializer: serializer$1,
|
|
3877
|
-
};
|
|
3878
|
-
const getOperationSpec$1 = {
|
|
3879
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Chaos/locations/{locationName}/targetTypes/{targetTypeName}",
|
|
3880
|
-
httpMethod: "GET",
|
|
3881
|
-
responses: {
|
|
3882
|
-
200: {
|
|
3883
|
-
bodyMapper: TargetType,
|
|
3884
|
-
},
|
|
3885
|
-
default: {
|
|
3886
|
-
bodyMapper: ErrorResponse,
|
|
3887
|
-
},
|
|
3888
|
-
},
|
|
3889
|
-
queryParameters: [apiVersion],
|
|
3890
|
-
urlParameters: [
|
|
3891
|
-
$host,
|
|
3892
|
-
subscriptionId,
|
|
3893
|
-
locationName,
|
|
3894
|
-
targetTypeName,
|
|
3895
|
-
],
|
|
3896
|
-
headerParameters: [accept],
|
|
3897
|
-
serializer: serializer$1,
|
|
3898
|
-
};
|
|
3899
|
-
const listNextOperationSpec$1 = {
|
|
3900
|
-
path: "{nextLink}",
|
|
3901
|
-
httpMethod: "GET",
|
|
3902
|
-
responses: {
|
|
3903
|
-
200: {
|
|
3904
|
-
bodyMapper: TargetTypeListResult,
|
|
3905
|
-
},
|
|
3906
|
-
default: {
|
|
3907
|
-
bodyMapper: ErrorResponse,
|
|
3908
|
-
},
|
|
3909
|
-
},
|
|
3910
|
-
urlParameters: [
|
|
3911
|
-
$host,
|
|
3912
|
-
subscriptionId,
|
|
3913
|
-
nextLink,
|
|
3914
|
-
locationName,
|
|
3915
|
-
],
|
|
3916
|
-
headerParameters: [accept],
|
|
3917
|
-
serializer: serializer$1,
|
|
3918
|
-
};
|
|
3919
|
-
|
|
3920
|
-
/*
|
|
3921
|
-
* Copyright (c) Microsoft Corporation.
|
|
3922
|
-
* Licensed under the MIT License.
|
|
3923
|
-
*
|
|
3924
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3925
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3926
|
-
*/
|
|
3927
|
-
/// <reference lib="esnext.asynciterable" />
|
|
3928
|
-
/** Class containing Targets operations. */
|
|
3929
|
-
class TargetsImpl {
|
|
3930
|
-
/**
|
|
3931
|
-
* Initialize a new instance of the class Targets class.
|
|
3932
|
-
* @param client Reference to the service client
|
|
3933
|
-
*/
|
|
3934
|
-
constructor(client) {
|
|
3935
|
-
this.client = client;
|
|
3936
|
-
}
|
|
3937
|
-
/**
|
|
3938
|
-
* Get a list of Target resources that extend a tracked regional resource.
|
|
3939
|
-
* @param resourceGroupName String that represents an Azure resource group.
|
|
3940
|
-
* @param parentProviderNamespace String that represents a resource provider namespace.
|
|
3941
|
-
* @param parentResourceType String that represents a resource type.
|
|
3942
|
-
* @param parentResourceName String that represents a resource name.
|
|
3943
|
-
* @param options The options parameters.
|
|
3944
|
-
*/
|
|
3945
|
-
list(resourceGroupName, parentProviderNamespace, parentResourceType, parentResourceName, options) {
|
|
3946
|
-
const iter = this.listPagingAll(resourceGroupName, parentProviderNamespace, parentResourceType, parentResourceName, options);
|
|
3947
|
-
return {
|
|
3948
|
-
next() {
|
|
3949
|
-
return iter.next();
|
|
3950
|
-
},
|
|
3951
|
-
[Symbol.asyncIterator]() {
|
|
3952
|
-
return this;
|
|
3953
|
-
},
|
|
3954
|
-
byPage: (settings) => {
|
|
3955
|
-
if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
|
|
3956
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
3957
|
-
}
|
|
3958
|
-
return this.listPagingPage(resourceGroupName, parentProviderNamespace, parentResourceType, parentResourceName, options, settings);
|
|
3959
|
-
},
|
|
3960
|
-
};
|
|
3961
|
-
}
|
|
3962
|
-
listPagingPage(resourceGroupName, parentProviderNamespace, parentResourceType, parentResourceName, options, settings) {
|
|
3963
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
3964
|
-
let result;
|
|
3965
|
-
let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
|
|
3966
|
-
if (!continuationToken) {
|
|
3967
|
-
result = yield tslib.__await(this._list(resourceGroupName, parentProviderNamespace, parentResourceType, parentResourceName, options));
|
|
3968
|
-
let page = result.value || [];
|
|
3969
|
-
continuationToken = result.nextLink;
|
|
3970
|
-
setContinuationToken(page, continuationToken);
|
|
3971
|
-
yield yield tslib.__await(page);
|
|
3972
|
-
}
|
|
3973
|
-
while (continuationToken) {
|
|
3974
|
-
result = yield tslib.__await(this._listNext(resourceGroupName, parentProviderNamespace, parentResourceType, parentResourceName, continuationToken, options));
|
|
3975
|
-
continuationToken = result.nextLink;
|
|
3976
|
-
let page = result.value || [];
|
|
3977
|
-
setContinuationToken(page, continuationToken);
|
|
3978
|
-
yield yield tslib.__await(page);
|
|
3979
|
-
}
|
|
3980
|
-
});
|
|
3981
|
-
}
|
|
3982
|
-
listPagingAll(resourceGroupName, parentProviderNamespace, parentResourceType, parentResourceName, options) {
|
|
3983
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
3984
|
-
var _a, e_1, _b, _c;
|
|
3985
|
-
try {
|
|
3986
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, parentProviderNamespace, parentResourceType, parentResourceName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
3987
|
-
_c = _f.value;
|
|
3988
|
-
_d = false;
|
|
3989
|
-
const page = _c;
|
|
3990
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
3991
|
-
}
|
|
3992
|
-
}
|
|
3993
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
3994
|
-
finally {
|
|
3995
|
-
try {
|
|
3996
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
3997
|
-
}
|
|
3998
|
-
finally { if (e_1) throw e_1.error; }
|
|
3999
|
-
}
|
|
4000
|
-
});
|
|
4001
|
-
}
|
|
4002
|
-
/**
|
|
4003
|
-
* Get a list of Target resources that extend a tracked regional resource.
|
|
4004
|
-
* @param resourceGroupName String that represents an Azure resource group.
|
|
4005
|
-
* @param parentProviderNamespace String that represents a resource provider namespace.
|
|
4006
|
-
* @param parentResourceType String that represents a resource type.
|
|
4007
|
-
* @param parentResourceName String that represents a resource name.
|
|
4008
|
-
* @param options The options parameters.
|
|
4009
|
-
*/
|
|
4010
|
-
_list(resourceGroupName, parentProviderNamespace, parentResourceType, parentResourceName, options) {
|
|
4011
|
-
return this.client.sendOperationRequest({
|
|
4012
|
-
resourceGroupName,
|
|
4013
|
-
parentProviderNamespace,
|
|
4014
|
-
parentResourceType,
|
|
4015
|
-
parentResourceName,
|
|
4016
|
-
options,
|
|
4017
|
-
}, listOperationSpec);
|
|
4018
|
-
}
|
|
4019
|
-
/**
|
|
4020
|
-
* Get a Target resource that extends a tracked regional resource.
|
|
4021
|
-
* @param resourceGroupName String that represents an Azure resource group.
|
|
4022
|
-
* @param parentProviderNamespace String that represents a resource provider namespace.
|
|
4023
|
-
* @param parentResourceType String that represents a resource type.
|
|
4024
|
-
* @param parentResourceName String that represents a resource name.
|
|
4025
|
-
* @param targetName String that represents a Target resource name.
|
|
4026
|
-
* @param options The options parameters.
|
|
4027
|
-
*/
|
|
4028
|
-
get(resourceGroupName, parentProviderNamespace, parentResourceType, parentResourceName, targetName, options) {
|
|
4029
|
-
return this.client.sendOperationRequest({
|
|
4030
|
-
resourceGroupName,
|
|
4031
|
-
parentProviderNamespace,
|
|
4032
|
-
parentResourceType,
|
|
4033
|
-
parentResourceName,
|
|
4034
|
-
targetName,
|
|
4035
|
-
options,
|
|
4036
|
-
}, getOperationSpec);
|
|
4037
|
-
}
|
|
4038
|
-
/**
|
|
4039
|
-
* Delete a Target resource that extends a tracked regional resource.
|
|
4040
|
-
* @param resourceGroupName String that represents an Azure resource group.
|
|
4041
|
-
* @param parentProviderNamespace String that represents a resource provider namespace.
|
|
4042
|
-
* @param parentResourceType String that represents a resource type.
|
|
4043
|
-
* @param parentResourceName String that represents a resource name.
|
|
4044
|
-
* @param targetName String that represents a Target resource name.
|
|
4045
|
-
* @param options The options parameters.
|
|
4046
|
-
*/
|
|
4047
|
-
delete(resourceGroupName, parentProviderNamespace, parentResourceType, parentResourceName, targetName, options) {
|
|
4048
|
-
return this.client.sendOperationRequest({
|
|
4049
|
-
resourceGroupName,
|
|
4050
|
-
parentProviderNamespace,
|
|
4051
|
-
parentResourceType,
|
|
4052
|
-
parentResourceName,
|
|
4053
|
-
targetName,
|
|
4054
|
-
options,
|
|
4055
|
-
}, deleteOperationSpec);
|
|
4056
|
-
}
|
|
4057
|
-
/**
|
|
4058
|
-
* Create or update a Target resource that extends a tracked regional resource.
|
|
4059
|
-
* @param resourceGroupName String that represents an Azure resource group.
|
|
4060
|
-
* @param parentProviderNamespace String that represents a resource provider namespace.
|
|
4061
|
-
* @param parentResourceType String that represents a resource type.
|
|
4062
|
-
* @param parentResourceName String that represents a resource name.
|
|
4063
|
-
* @param targetName String that represents a Target resource name.
|
|
4064
|
-
* @param target Target resource to be created or updated.
|
|
4065
|
-
* @param options The options parameters.
|
|
4066
|
-
*/
|
|
4067
|
-
createOrUpdate(resourceGroupName, parentProviderNamespace, parentResourceType, parentResourceName, targetName, target, options) {
|
|
4068
|
-
return this.client.sendOperationRequest({
|
|
4069
|
-
resourceGroupName,
|
|
4070
|
-
parentProviderNamespace,
|
|
4071
|
-
parentResourceType,
|
|
4072
|
-
parentResourceName,
|
|
4073
|
-
targetName,
|
|
4074
|
-
target,
|
|
4075
|
-
options,
|
|
4076
|
-
}, createOrUpdateOperationSpec);
|
|
4077
|
-
}
|
|
4078
|
-
/**
|
|
4079
|
-
* ListNext
|
|
4080
|
-
* @param resourceGroupName String that represents an Azure resource group.
|
|
4081
|
-
* @param parentProviderNamespace String that represents a resource provider namespace.
|
|
4082
|
-
* @param parentResourceType String that represents a resource type.
|
|
4083
|
-
* @param parentResourceName String that represents a resource name.
|
|
4084
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
4085
|
-
* @param options The options parameters.
|
|
4086
|
-
*/
|
|
4087
|
-
_listNext(resourceGroupName, parentProviderNamespace, parentResourceType, parentResourceName, nextLink, options) {
|
|
4088
|
-
return this.client.sendOperationRequest({
|
|
4089
|
-
resourceGroupName,
|
|
4090
|
-
parentProviderNamespace,
|
|
4091
|
-
parentResourceType,
|
|
4092
|
-
parentResourceName,
|
|
4093
|
-
nextLink,
|
|
4094
|
-
options,
|
|
4095
|
-
}, listNextOperationSpec);
|
|
4096
|
-
}
|
|
4097
|
-
}
|
|
4098
|
-
// Operation Specifications
|
|
4099
|
-
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4100
|
-
const listOperationSpec = {
|
|
4101
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{parentProviderNamespace}/{parentResourceType}/{parentResourceName}/providers/Microsoft.Chaos/targets",
|
|
4102
|
-
httpMethod: "GET",
|
|
4103
|
-
responses: {
|
|
4104
|
-
200: {
|
|
4105
|
-
bodyMapper: TargetListResult,
|
|
4106
|
-
},
|
|
4107
|
-
default: {
|
|
4108
|
-
bodyMapper: ErrorResponse,
|
|
4109
|
-
},
|
|
4110
|
-
},
|
|
4111
|
-
queryParameters: [apiVersion, continuationToken],
|
|
4112
|
-
urlParameters: [
|
|
4113
|
-
$host,
|
|
4114
|
-
subscriptionId,
|
|
4115
|
-
resourceGroupName,
|
|
4116
|
-
parentProviderNamespace,
|
|
4117
|
-
parentResourceType,
|
|
4118
|
-
parentResourceName,
|
|
4119
|
-
],
|
|
4120
|
-
headerParameters: [accept],
|
|
4121
|
-
serializer,
|
|
4122
|
-
};
|
|
4123
|
-
const getOperationSpec = {
|
|
4124
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{parentProviderNamespace}/{parentResourceType}/{parentResourceName}/providers/Microsoft.Chaos/targets/{targetName}",
|
|
4125
|
-
httpMethod: "GET",
|
|
4126
|
-
responses: {
|
|
4127
|
-
200: {
|
|
4128
|
-
bodyMapper: Target,
|
|
4129
|
-
},
|
|
4130
|
-
default: {
|
|
4131
|
-
bodyMapper: ErrorResponse,
|
|
4132
|
-
},
|
|
4133
|
-
},
|
|
4134
|
-
queryParameters: [apiVersion],
|
|
4135
|
-
urlParameters: [
|
|
4136
|
-
$host,
|
|
4137
|
-
subscriptionId,
|
|
4138
|
-
resourceGroupName,
|
|
4139
|
-
parentProviderNamespace,
|
|
4140
|
-
parentResourceType,
|
|
4141
|
-
parentResourceName,
|
|
4142
|
-
targetName,
|
|
4143
|
-
],
|
|
4144
|
-
headerParameters: [accept],
|
|
4145
|
-
serializer,
|
|
4146
|
-
};
|
|
4147
|
-
const deleteOperationSpec = {
|
|
4148
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{parentProviderNamespace}/{parentResourceType}/{parentResourceName}/providers/Microsoft.Chaos/targets/{targetName}",
|
|
4149
|
-
httpMethod: "DELETE",
|
|
4150
|
-
responses: {
|
|
4151
|
-
200: {},
|
|
4152
|
-
204: {},
|
|
4153
|
-
default: {
|
|
4154
|
-
bodyMapper: ErrorResponse,
|
|
4155
|
-
},
|
|
4156
|
-
},
|
|
4157
|
-
queryParameters: [apiVersion],
|
|
4158
|
-
urlParameters: [
|
|
4159
|
-
$host,
|
|
4160
|
-
subscriptionId,
|
|
4161
|
-
resourceGroupName,
|
|
4162
|
-
parentProviderNamespace,
|
|
4163
|
-
parentResourceType,
|
|
4164
|
-
parentResourceName,
|
|
4165
|
-
targetName,
|
|
4166
|
-
],
|
|
4167
|
-
headerParameters: [accept],
|
|
4168
|
-
serializer,
|
|
4169
|
-
};
|
|
4170
|
-
const createOrUpdateOperationSpec = {
|
|
4171
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{parentProviderNamespace}/{parentResourceType}/{parentResourceName}/providers/Microsoft.Chaos/targets/{targetName}",
|
|
4172
|
-
httpMethod: "PUT",
|
|
4173
|
-
responses: {
|
|
4174
|
-
200: {
|
|
4175
|
-
bodyMapper: Target,
|
|
4176
|
-
},
|
|
4177
|
-
default: {
|
|
4178
|
-
bodyMapper: ErrorResponse,
|
|
4179
|
-
},
|
|
4180
|
-
},
|
|
4181
|
-
requestBody: target,
|
|
4182
|
-
queryParameters: [apiVersion],
|
|
4183
|
-
urlParameters: [
|
|
4184
|
-
$host,
|
|
4185
|
-
subscriptionId,
|
|
4186
|
-
resourceGroupName,
|
|
4187
|
-
parentProviderNamespace,
|
|
4188
|
-
parentResourceType,
|
|
4189
|
-
parentResourceName,
|
|
4190
|
-
targetName,
|
|
4191
|
-
],
|
|
4192
|
-
headerParameters: [accept, contentType],
|
|
4193
|
-
mediaType: "json",
|
|
4194
|
-
serializer,
|
|
4195
|
-
};
|
|
4196
|
-
const listNextOperationSpec = {
|
|
4197
|
-
path: "{nextLink}",
|
|
4198
|
-
httpMethod: "GET",
|
|
4199
|
-
responses: {
|
|
4200
|
-
200: {
|
|
4201
|
-
bodyMapper: TargetListResult,
|
|
4202
|
-
},
|
|
4203
|
-
default: {
|
|
4204
|
-
bodyMapper: ErrorResponse,
|
|
4205
|
-
},
|
|
4206
|
-
},
|
|
4207
|
-
urlParameters: [
|
|
4208
|
-
$host,
|
|
4209
|
-
subscriptionId,
|
|
4210
|
-
resourceGroupName,
|
|
4211
|
-
parentProviderNamespace,
|
|
4212
|
-
parentResourceType,
|
|
4213
|
-
parentResourceName,
|
|
4214
|
-
nextLink,
|
|
4215
|
-
],
|
|
4216
|
-
headerParameters: [accept],
|
|
4217
|
-
serializer,
|
|
4218
|
-
};
|
|
4219
|
-
|
|
4220
|
-
/*
|
|
4221
|
-
* Copyright (c) Microsoft Corporation.
|
|
4222
|
-
* Licensed under the MIT License.
|
|
4223
|
-
*
|
|
4224
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
4225
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4226
|
-
*/
|
|
4227
|
-
class ChaosManagementClient extends coreClient__namespace.ServiceClient {
|
|
4228
|
-
constructor(credentials, subscriptionIdOrOptions, options) {
|
|
4229
|
-
var _a, _b, _c;
|
|
4230
|
-
if (credentials === undefined) {
|
|
4231
|
-
throw new Error("'credentials' cannot be null");
|
|
4232
|
-
}
|
|
4233
|
-
let subscriptionId;
|
|
4234
|
-
if (typeof subscriptionIdOrOptions === "string") {
|
|
4235
|
-
subscriptionId = subscriptionIdOrOptions;
|
|
4236
|
-
}
|
|
4237
|
-
else if (typeof subscriptionIdOrOptions === "object") {
|
|
4238
|
-
options = subscriptionIdOrOptions;
|
|
4239
|
-
}
|
|
4240
|
-
// Initializing default values for options
|
|
4241
|
-
if (!options) {
|
|
4242
|
-
options = {};
|
|
4243
|
-
}
|
|
4244
|
-
const defaults = {
|
|
4245
|
-
requestContentType: "application/json; charset=utf-8",
|
|
4246
|
-
credential: credentials,
|
|
4247
|
-
};
|
|
4248
|
-
const packageDetails = `azsdk-js-arm-chaos/1.1.1`;
|
|
4249
|
-
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
4250
|
-
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
4251
|
-
: `${packageDetails}`;
|
|
4252
|
-
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
4253
|
-
userAgentPrefix,
|
|
4254
|
-
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== undefined ? _a : options.baseUri) !== null && _b !== undefined ? _b : "https://management.azure.com" });
|
|
4255
|
-
super(optionsWithDefaults);
|
|
4256
|
-
let bearerTokenAuthenticationPolicyFound = false;
|
|
4257
|
-
if ((options === null || options === undefined ? undefined : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
|
4258
|
-
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
4259
|
-
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
4260
|
-
coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName);
|
|
4261
|
-
}
|
|
4262
|
-
if (!options ||
|
|
4263
|
-
!options.pipeline ||
|
|
4264
|
-
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
4265
|
-
!bearerTokenAuthenticationPolicyFound) {
|
|
4266
|
-
this.pipeline.removePolicy({
|
|
4267
|
-
name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName,
|
|
4268
|
-
});
|
|
4269
|
-
this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
|
|
4270
|
-
credential: credentials,
|
|
4271
|
-
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== undefined ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
4272
|
-
challengeCallbacks: {
|
|
4273
|
-
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge,
|
|
4274
|
-
},
|
|
4275
|
-
}));
|
|
4276
|
-
}
|
|
4277
|
-
// Parameter assignments
|
|
4278
|
-
this.subscriptionId = subscriptionId;
|
|
4279
|
-
// Assigning values to Constant parameters
|
|
4280
|
-
this.$host = options.$host || "https://management.azure.com";
|
|
4281
|
-
this.apiVersion = options.apiVersion || "2024-01-01";
|
|
4282
|
-
this.capabilities = new CapabilitiesImpl(this);
|
|
4283
|
-
this.capabilityTypes = new CapabilityTypesImpl(this);
|
|
4284
|
-
this.experiments = new ExperimentsImpl(this);
|
|
4285
|
-
this.operationStatuses = new OperationStatusesImpl(this);
|
|
4286
|
-
this.operations = new OperationsImpl(this);
|
|
4287
|
-
this.targetTypes = new TargetTypesImpl(this);
|
|
4288
|
-
this.targets = new TargetsImpl(this);
|
|
4289
|
-
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
4290
|
-
}
|
|
4291
|
-
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
4292
|
-
addCustomApiVersionPolicy(apiVersion) {
|
|
4293
|
-
if (!apiVersion) {
|
|
4294
|
-
return;
|
|
4295
|
-
}
|
|
4296
|
-
const apiVersionPolicy = {
|
|
4297
|
-
name: "CustomApiVersionPolicy",
|
|
4298
|
-
sendRequest(request, next) {
|
|
4299
|
-
return tslib.__awaiter(this, undefined, undefined, function* () {
|
|
4300
|
-
const param = request.url.split("?");
|
|
4301
|
-
if (param.length > 1) {
|
|
4302
|
-
const newParams = param[1].split("&").map((item) => {
|
|
4303
|
-
if (item.indexOf("api-version") > -1) {
|
|
4304
|
-
return "api-version=" + apiVersion;
|
|
4305
|
-
}
|
|
4306
|
-
else {
|
|
4307
|
-
return item;
|
|
4308
|
-
}
|
|
4309
|
-
});
|
|
4310
|
-
request.url = param[0] + "?" + newParams.join("&");
|
|
4311
|
-
}
|
|
4312
|
-
return next(request);
|
|
4313
|
-
});
|
|
4314
|
-
},
|
|
4315
|
-
};
|
|
4316
|
-
this.pipeline.addPolicy(apiVersionPolicy);
|
|
4317
|
-
}
|
|
4318
|
-
}
|
|
4319
|
-
|
|
4320
|
-
exports.ChaosManagementClient = ChaosManagementClient;
|
|
4321
|
-
exports.getContinuationToken = getContinuationToken;
|
|
4322
|
-
//# sourceMappingURL=index.js.map
|