@azure/arm-chaos 1.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/LICENSE +21 -0
- package/README.md +109 -0
- package/dist/index.js +3725 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/samples-dev/capabilitiesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/capabilitiesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/capabilitiesCreateOrUpdateSample.js +36 -0
- package/dist-esm/samples-dev/capabilitiesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/capabilitiesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/capabilitiesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/capabilitiesDeleteSample.js +35 -0
- package/dist-esm/samples-dev/capabilitiesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/capabilitiesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/capabilitiesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/capabilitiesGetSample.js +35 -0
- package/dist-esm/samples-dev/capabilitiesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/capabilitiesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/capabilitiesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/capabilitiesListSample.js +48 -0
- package/dist-esm/samples-dev/capabilitiesListSample.js.map +1 -0
- package/dist-esm/samples-dev/capabilityTypesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/capabilityTypesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/capabilityTypesGetSample.js +32 -0
- package/dist-esm/samples-dev/capabilityTypesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/capabilityTypesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/capabilityTypesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/capabilityTypesListSample.js +45 -0
- package/dist-esm/samples-dev/capabilityTypesListSample.js.map +1 -0
- package/dist-esm/samples-dev/experimentsCancelSample.d.ts +2 -0
- package/dist-esm/samples-dev/experimentsCancelSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/experimentsCancelSample.js +31 -0
- package/dist-esm/samples-dev/experimentsCancelSample.js.map +1 -0
- package/dist-esm/samples-dev/experimentsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/experimentsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/experimentsCreateOrUpdateSample.js +66 -0
- package/dist-esm/samples-dev/experimentsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/experimentsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/experimentsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/experimentsDeleteSample.js +31 -0
- package/dist-esm/samples-dev/experimentsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/experimentsGetExecutionDetailsSample.d.ts +2 -0
- package/dist-esm/samples-dev/experimentsGetExecutionDetailsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/experimentsGetExecutionDetailsSample.js +32 -0
- package/dist-esm/samples-dev/experimentsGetExecutionDetailsSample.js.map +1 -0
- package/dist-esm/samples-dev/experimentsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/experimentsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/experimentsGetSample.js +31 -0
- package/dist-esm/samples-dev/experimentsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/experimentsGetStatusSample.d.ts +2 -0
- package/dist-esm/samples-dev/experimentsGetStatusSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/experimentsGetStatusSample.js +32 -0
- package/dist-esm/samples-dev/experimentsGetStatusSample.js.map +1 -0
- package/dist-esm/samples-dev/experimentsListAllSample.d.ts +2 -0
- package/dist-esm/samples-dev/experimentsListAllSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/experimentsListAllSample.js +45 -0
- package/dist-esm/samples-dev/experimentsListAllSample.js.map +1 -0
- package/dist-esm/samples-dev/experimentsListAllStatusesSample.d.ts +2 -0
- package/dist-esm/samples-dev/experimentsListAllStatusesSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/experimentsListAllStatusesSample.js +45 -0
- package/dist-esm/samples-dev/experimentsListAllStatusesSample.js.map +1 -0
- package/dist-esm/samples-dev/experimentsListExecutionDetailsSample.d.ts +2 -0
- package/dist-esm/samples-dev/experimentsListExecutionDetailsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/experimentsListExecutionDetailsSample.js +45 -0
- package/dist-esm/samples-dev/experimentsListExecutionDetailsSample.js.map +1 -0
- package/dist-esm/samples-dev/experimentsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/experimentsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/experimentsListSample.js +46 -0
- package/dist-esm/samples-dev/experimentsListSample.js.map +1 -0
- package/dist-esm/samples-dev/experimentsStartSample.d.ts +2 -0
- package/dist-esm/samples-dev/experimentsStartSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/experimentsStartSample.js +31 -0
- package/dist-esm/samples-dev/experimentsStartSample.js.map +1 -0
- package/dist-esm/samples-dev/targetTypesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/targetTypesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/targetTypesGetSample.js +31 -0
- package/dist-esm/samples-dev/targetTypesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/targetTypesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/targetTypesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/targetTypesListSample.js +46 -0
- package/dist-esm/samples-dev/targetTypesListSample.js.map +1 -0
- package/dist-esm/samples-dev/targetsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/targetsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/targetsCreateOrUpdateSample.js +41 -0
- package/dist-esm/samples-dev/targetsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/targetsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/targetsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/targetsDeleteSample.js +34 -0
- package/dist-esm/samples-dev/targetsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/targetsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/targetsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/targetsGetSample.js +34 -0
- package/dist-esm/samples-dev/targetsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/targetsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/targetsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/targetsListSample.js +49 -0
- package/dist-esm/samples-dev/targetsListSample.js.map +1 -0
- package/dist-esm/src/chaosManagementClient.d.ts +25 -0
- package/dist-esm/src/chaosManagementClient.d.ts.map +1 -0
- package/dist-esm/src/chaosManagementClient.js +108 -0
- package/dist-esm/src/chaosManagementClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +980 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +36 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +50 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +1530 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +25 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +264 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/capabilities.d.ts +81 -0
- package/dist-esm/src/operations/capabilities.d.ts.map +1 -0
- package/dist-esm/src/operations/capabilities.js +308 -0
- package/dist-esm/src/operations/capabilities.js.map +1 -0
- package/dist-esm/src/operations/capabilityTypes.d.ts +46 -0
- package/dist-esm/src/operations/capabilityTypes.d.ts.map +1 -0
- package/dist-esm/src/operations/capabilityTypes.js +169 -0
- package/dist-esm/src/operations/capabilityTypes.js.map +1 -0
- package/dist-esm/src/operations/experiments.d.ts +153 -0
- package/dist-esm/src/operations/experiments.d.ts.map +1 -0
- package/dist-esm/src/operations/experiments.js +687 -0
- package/dist-esm/src/operations/experiments.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +7 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +14 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/targetTypes.d.ts +42 -0
- package/dist-esm/src/operations/targetTypes.d.ts.map +1 -0
- package/dist-esm/src/operations/targetTypes.js +162 -0
- package/dist-esm/src/operations/targetTypes.js.map +1 -0
- package/dist-esm/src/operations/targets.d.ts +75 -0
- package/dist-esm/src/operations/targets.d.ts.map +1 -0
- package/dist-esm/src/operations/targets.js +292 -0
- package/dist-esm/src/operations/targets.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/capabilities.d.ts +50 -0
- package/dist-esm/src/operationsInterfaces/capabilities.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/capabilities.js +9 -0
- package/dist-esm/src/operationsInterfaces/capabilities.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/capabilityTypes.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/capabilityTypes.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/capabilityTypes.js +9 -0
- package/dist-esm/src/operationsInterfaces/capabilityTypes.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/experiments.d.ts +83 -0
- package/dist-esm/src/operationsInterfaces/experiments.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/experiments.js +9 -0
- package/dist-esm/src/operationsInterfaces/experiments.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +7 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +14 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/targetTypes.d.ts +19 -0
- package/dist-esm/src/operationsInterfaces/targetTypes.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/targetTypes.js +9 -0
- package/dist-esm/src/operationsInterfaces/targetTypes.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/targets.d.ts +46 -0
- package/dist-esm/src/operationsInterfaces/targets.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/targets.js +9 -0
- package/dist-esm/src/operationsInterfaces/targets.js.map +1 -0
- package/dist-esm/test/chaos_examples.spec.d.ts +4 -0
- package/dist-esm/test/chaos_examples.spec.d.ts.map +1 -0
- package/dist-esm/test/chaos_examples.spec.js +261 -0
- package/dist-esm/test/chaos_examples.spec.js.map +1 -0
- package/package.json +120 -0
- package/review/arm-chaos.api.md +682 -0
- package/rollup.config.js +122 -0
- package/src/chaosManagementClient.ts +165 -0
- package/src/index.ts +12 -0
- package/src/models/index.ts +1111 -0
- package/src/models/mappers.ts +1640 -0
- package/src/models/parameters.ts +302 -0
- package/src/operations/capabilities.ts +435 -0
- package/src/operations/capabilityTypes.ts +221 -0
- package/src/operations/experiments.ts +892 -0
- package/src/operations/index.ts +14 -0
- package/src/operations/operations.ts +137 -0
- package/src/operations/targetTypes.ts +199 -0
- package/src/operations/targets.ts +406 -0
- package/src/operationsInterfaces/capabilities.ts +99 -0
- package/src/operationsInterfaces/capabilityTypes.ts +44 -0
- package/src/operationsInterfaces/experiments.ts +157 -0
- package/src/operationsInterfaces/index.ts +14 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/targetTypes.ts +40 -0
- package/src/operationsInterfaces/targets.ts +91 -0
- package/tsconfig.json +33 -0
- package/types/arm-chaos.d.ts +1337 -0
- package/types/tsdoc-metadata.json +11 -0
|
@@ -0,0 +1,687 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers";
|
|
11
|
+
import * as Parameters from "../models/parameters";
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
/** Class containing Experiments operations. */
|
|
14
|
+
export class ExperimentsImpl {
|
|
15
|
+
/**
|
|
16
|
+
* Initialize a new instance of the class Experiments class.
|
|
17
|
+
* @param client Reference to the service client
|
|
18
|
+
*/
|
|
19
|
+
constructor(client) {
|
|
20
|
+
this.client = client;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Get a list of Experiment resources in a subscription.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
listAll(options) {
|
|
27
|
+
const iter = this.listAllPagingAll(options);
|
|
28
|
+
return {
|
|
29
|
+
next() {
|
|
30
|
+
return iter.next();
|
|
31
|
+
},
|
|
32
|
+
[Symbol.asyncIterator]() {
|
|
33
|
+
return this;
|
|
34
|
+
},
|
|
35
|
+
byPage: () => {
|
|
36
|
+
return this.listAllPagingPage(options);
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
listAllPagingPage(options) {
|
|
41
|
+
return __asyncGenerator(this, arguments, function* listAllPagingPage_1() {
|
|
42
|
+
let result = yield __await(this._listAll(options));
|
|
43
|
+
yield yield __await(result.value || []);
|
|
44
|
+
let continuationToken = result.nextLink;
|
|
45
|
+
while (continuationToken) {
|
|
46
|
+
result = yield __await(this._listAllNext(continuationToken, options));
|
|
47
|
+
continuationToken = result.nextLink;
|
|
48
|
+
yield yield __await(result.value || []);
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
listAllPagingAll(options) {
|
|
53
|
+
return __asyncGenerator(this, arguments, function* listAllPagingAll_1() {
|
|
54
|
+
var e_1, _a;
|
|
55
|
+
try {
|
|
56
|
+
for (var _b = __asyncValues(this.listAllPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
57
|
+
const page = _c.value;
|
|
58
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
62
|
+
finally {
|
|
63
|
+
try {
|
|
64
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
65
|
+
}
|
|
66
|
+
finally { if (e_1) throw e_1.error; }
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Get a list of Experiment resources in a resource group.
|
|
72
|
+
* @param resourceGroupName String that represents an Azure resource group.
|
|
73
|
+
* @param options The options parameters.
|
|
74
|
+
*/
|
|
75
|
+
list(resourceGroupName, options) {
|
|
76
|
+
const iter = this.listPagingAll(resourceGroupName, options);
|
|
77
|
+
return {
|
|
78
|
+
next() {
|
|
79
|
+
return iter.next();
|
|
80
|
+
},
|
|
81
|
+
[Symbol.asyncIterator]() {
|
|
82
|
+
return this;
|
|
83
|
+
},
|
|
84
|
+
byPage: () => {
|
|
85
|
+
return this.listPagingPage(resourceGroupName, options);
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
listPagingPage(resourceGroupName, options) {
|
|
90
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
91
|
+
let result = yield __await(this._list(resourceGroupName, options));
|
|
92
|
+
yield yield __await(result.value || []);
|
|
93
|
+
let continuationToken = result.nextLink;
|
|
94
|
+
while (continuationToken) {
|
|
95
|
+
result = yield __await(this._listNext(resourceGroupName, continuationToken, options));
|
|
96
|
+
continuationToken = result.nextLink;
|
|
97
|
+
yield yield __await(result.value || []);
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
listPagingAll(resourceGroupName, options) {
|
|
102
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
103
|
+
var e_2, _a;
|
|
104
|
+
try {
|
|
105
|
+
for (var _b = __asyncValues(this.listPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
106
|
+
const page = _c.value;
|
|
107
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
111
|
+
finally {
|
|
112
|
+
try {
|
|
113
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
114
|
+
}
|
|
115
|
+
finally { if (e_2) throw e_2.error; }
|
|
116
|
+
}
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* Get a list of statuses of a Experiment resource.
|
|
121
|
+
* @param resourceGroupName String that represents an Azure resource group.
|
|
122
|
+
* @param experimentName String that represents a Experiment resource name.
|
|
123
|
+
* @param options The options parameters.
|
|
124
|
+
*/
|
|
125
|
+
listAllStatuses(resourceGroupName, experimentName, options) {
|
|
126
|
+
const iter = this.listAllStatusesPagingAll(resourceGroupName, experimentName, options);
|
|
127
|
+
return {
|
|
128
|
+
next() {
|
|
129
|
+
return iter.next();
|
|
130
|
+
},
|
|
131
|
+
[Symbol.asyncIterator]() {
|
|
132
|
+
return this;
|
|
133
|
+
},
|
|
134
|
+
byPage: () => {
|
|
135
|
+
return this.listAllStatusesPagingPage(resourceGroupName, experimentName, options);
|
|
136
|
+
}
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
listAllStatusesPagingPage(resourceGroupName, experimentName, options) {
|
|
140
|
+
return __asyncGenerator(this, arguments, function* listAllStatusesPagingPage_1() {
|
|
141
|
+
let result = yield __await(this._listAllStatuses(resourceGroupName, experimentName, options));
|
|
142
|
+
yield yield __await(result.value || []);
|
|
143
|
+
let continuationToken = result.nextLink;
|
|
144
|
+
while (continuationToken) {
|
|
145
|
+
result = yield __await(this._listAllStatusesNext(resourceGroupName, experimentName, continuationToken, options));
|
|
146
|
+
continuationToken = result.nextLink;
|
|
147
|
+
yield yield __await(result.value || []);
|
|
148
|
+
}
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
listAllStatusesPagingAll(resourceGroupName, experimentName, options) {
|
|
152
|
+
return __asyncGenerator(this, arguments, function* listAllStatusesPagingAll_1() {
|
|
153
|
+
var e_3, _a;
|
|
154
|
+
try {
|
|
155
|
+
for (var _b = __asyncValues(this.listAllStatusesPagingPage(resourceGroupName, experimentName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
156
|
+
const page = _c.value;
|
|
157
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
161
|
+
finally {
|
|
162
|
+
try {
|
|
163
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
164
|
+
}
|
|
165
|
+
finally { if (e_3) throw e_3.error; }
|
|
166
|
+
}
|
|
167
|
+
});
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* Get a list of execution details of a Experiment resource.
|
|
171
|
+
* @param resourceGroupName String that represents an Azure resource group.
|
|
172
|
+
* @param experimentName String that represents a Experiment resource name.
|
|
173
|
+
* @param options The options parameters.
|
|
174
|
+
*/
|
|
175
|
+
listExecutionDetails(resourceGroupName, experimentName, options) {
|
|
176
|
+
const iter = this.listExecutionDetailsPagingAll(resourceGroupName, experimentName, options);
|
|
177
|
+
return {
|
|
178
|
+
next() {
|
|
179
|
+
return iter.next();
|
|
180
|
+
},
|
|
181
|
+
[Symbol.asyncIterator]() {
|
|
182
|
+
return this;
|
|
183
|
+
},
|
|
184
|
+
byPage: () => {
|
|
185
|
+
return this.listExecutionDetailsPagingPage(resourceGroupName, experimentName, options);
|
|
186
|
+
}
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
listExecutionDetailsPagingPage(resourceGroupName, experimentName, options) {
|
|
190
|
+
return __asyncGenerator(this, arguments, function* listExecutionDetailsPagingPage_1() {
|
|
191
|
+
let result = yield __await(this._listExecutionDetails(resourceGroupName, experimentName, options));
|
|
192
|
+
yield yield __await(result.value || []);
|
|
193
|
+
let continuationToken = result.nextLink;
|
|
194
|
+
while (continuationToken) {
|
|
195
|
+
result = yield __await(this._listExecutionDetailsNext(resourceGroupName, experimentName, continuationToken, options));
|
|
196
|
+
continuationToken = result.nextLink;
|
|
197
|
+
yield yield __await(result.value || []);
|
|
198
|
+
}
|
|
199
|
+
});
|
|
200
|
+
}
|
|
201
|
+
listExecutionDetailsPagingAll(resourceGroupName, experimentName, options) {
|
|
202
|
+
return __asyncGenerator(this, arguments, function* listExecutionDetailsPagingAll_1() {
|
|
203
|
+
var e_4, _a;
|
|
204
|
+
try {
|
|
205
|
+
for (var _b = __asyncValues(this.listExecutionDetailsPagingPage(resourceGroupName, experimentName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
206
|
+
const page = _c.value;
|
|
207
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
catch (e_4_1) { e_4 = { error: e_4_1 }; }
|
|
211
|
+
finally {
|
|
212
|
+
try {
|
|
213
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
214
|
+
}
|
|
215
|
+
finally { if (e_4) throw e_4.error; }
|
|
216
|
+
}
|
|
217
|
+
});
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* Get a list of Experiment resources in a subscription.
|
|
221
|
+
* @param options The options parameters.
|
|
222
|
+
*/
|
|
223
|
+
_listAll(options) {
|
|
224
|
+
return this.client.sendOperationRequest({ options }, listAllOperationSpec);
|
|
225
|
+
}
|
|
226
|
+
/**
|
|
227
|
+
* Get a list of Experiment resources in a resource group.
|
|
228
|
+
* @param resourceGroupName String that represents an Azure resource group.
|
|
229
|
+
* @param options The options parameters.
|
|
230
|
+
*/
|
|
231
|
+
_list(resourceGroupName, options) {
|
|
232
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listOperationSpec);
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* Delete a Experiment resource.
|
|
236
|
+
* @param resourceGroupName String that represents an Azure resource group.
|
|
237
|
+
* @param experimentName String that represents a Experiment resource name.
|
|
238
|
+
* @param options The options parameters.
|
|
239
|
+
*/
|
|
240
|
+
delete(resourceGroupName, experimentName, options) {
|
|
241
|
+
return this.client.sendOperationRequest({ resourceGroupName, experimentName, options }, deleteOperationSpec);
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
* Get a Experiment resource.
|
|
245
|
+
* @param resourceGroupName String that represents an Azure resource group.
|
|
246
|
+
* @param experimentName String that represents a Experiment resource name.
|
|
247
|
+
* @param options The options parameters.
|
|
248
|
+
*/
|
|
249
|
+
get(resourceGroupName, experimentName, options) {
|
|
250
|
+
return this.client.sendOperationRequest({ resourceGroupName, experimentName, options }, getOperationSpec);
|
|
251
|
+
}
|
|
252
|
+
/**
|
|
253
|
+
* Create or update a Experiment resource.
|
|
254
|
+
* @param resourceGroupName String that represents an Azure resource group.
|
|
255
|
+
* @param experimentName String that represents a Experiment resource name.
|
|
256
|
+
* @param experiment Experiment resource to be created or updated.
|
|
257
|
+
* @param options The options parameters.
|
|
258
|
+
*/
|
|
259
|
+
createOrUpdate(resourceGroupName, experimentName, experiment, options) {
|
|
260
|
+
return this.client.sendOperationRequest({ resourceGroupName, experimentName, experiment, options }, createOrUpdateOperationSpec);
|
|
261
|
+
}
|
|
262
|
+
/**
|
|
263
|
+
* Cancel a running Experiment resource.
|
|
264
|
+
* @param resourceGroupName String that represents an Azure resource group.
|
|
265
|
+
* @param experimentName String that represents a Experiment resource name.
|
|
266
|
+
* @param options The options parameters.
|
|
267
|
+
*/
|
|
268
|
+
cancel(resourceGroupName, experimentName, options) {
|
|
269
|
+
return this.client.sendOperationRequest({ resourceGroupName, experimentName, options }, cancelOperationSpec);
|
|
270
|
+
}
|
|
271
|
+
/**
|
|
272
|
+
* Start a Experiment resource.
|
|
273
|
+
* @param resourceGroupName String that represents an Azure resource group.
|
|
274
|
+
* @param experimentName String that represents a Experiment resource name.
|
|
275
|
+
* @param options The options parameters.
|
|
276
|
+
*/
|
|
277
|
+
start(resourceGroupName, experimentName, options) {
|
|
278
|
+
return this.client.sendOperationRequest({ resourceGroupName, experimentName, options }, startOperationSpec);
|
|
279
|
+
}
|
|
280
|
+
/**
|
|
281
|
+
* Get a list of statuses of a Experiment resource.
|
|
282
|
+
* @param resourceGroupName String that represents an Azure resource group.
|
|
283
|
+
* @param experimentName String that represents a Experiment resource name.
|
|
284
|
+
* @param options The options parameters.
|
|
285
|
+
*/
|
|
286
|
+
_listAllStatuses(resourceGroupName, experimentName, options) {
|
|
287
|
+
return this.client.sendOperationRequest({ resourceGroupName, experimentName, options }, listAllStatusesOperationSpec);
|
|
288
|
+
}
|
|
289
|
+
/**
|
|
290
|
+
* Get a status of a Experiment resource.
|
|
291
|
+
* @param resourceGroupName String that represents an Azure resource group.
|
|
292
|
+
* @param experimentName String that represents a Experiment resource name.
|
|
293
|
+
* @param statusId GUID that represents a Experiment status.
|
|
294
|
+
* @param options The options parameters.
|
|
295
|
+
*/
|
|
296
|
+
getStatus(resourceGroupName, experimentName, statusId, options) {
|
|
297
|
+
return this.client.sendOperationRequest({ resourceGroupName, experimentName, statusId, options }, getStatusOperationSpec);
|
|
298
|
+
}
|
|
299
|
+
/**
|
|
300
|
+
* Get a list of execution details of a Experiment resource.
|
|
301
|
+
* @param resourceGroupName String that represents an Azure resource group.
|
|
302
|
+
* @param experimentName String that represents a Experiment resource name.
|
|
303
|
+
* @param options The options parameters.
|
|
304
|
+
*/
|
|
305
|
+
_listExecutionDetails(resourceGroupName, experimentName, options) {
|
|
306
|
+
return this.client.sendOperationRequest({ resourceGroupName, experimentName, options }, listExecutionDetailsOperationSpec);
|
|
307
|
+
}
|
|
308
|
+
/**
|
|
309
|
+
* Get an execution detail of a Experiment resource.
|
|
310
|
+
* @param resourceGroupName String that represents an Azure resource group.
|
|
311
|
+
* @param experimentName String that represents a Experiment resource name.
|
|
312
|
+
* @param executionDetailsId GUID that represents a Experiment execution detail.
|
|
313
|
+
* @param options The options parameters.
|
|
314
|
+
*/
|
|
315
|
+
getExecutionDetails(resourceGroupName, experimentName, executionDetailsId, options) {
|
|
316
|
+
return this.client.sendOperationRequest({ resourceGroupName, experimentName, executionDetailsId, options }, getExecutionDetailsOperationSpec);
|
|
317
|
+
}
|
|
318
|
+
/**
|
|
319
|
+
* ListAllNext
|
|
320
|
+
* @param nextLink The nextLink from the previous successful call to the ListAll method.
|
|
321
|
+
* @param options The options parameters.
|
|
322
|
+
*/
|
|
323
|
+
_listAllNext(nextLink, options) {
|
|
324
|
+
return this.client.sendOperationRequest({ nextLink, options }, listAllNextOperationSpec);
|
|
325
|
+
}
|
|
326
|
+
/**
|
|
327
|
+
* ListNext
|
|
328
|
+
* @param resourceGroupName String that represents an Azure resource group.
|
|
329
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
330
|
+
* @param options The options parameters.
|
|
331
|
+
*/
|
|
332
|
+
_listNext(resourceGroupName, nextLink, options) {
|
|
333
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listNextOperationSpec);
|
|
334
|
+
}
|
|
335
|
+
/**
|
|
336
|
+
* ListAllStatusesNext
|
|
337
|
+
* @param resourceGroupName String that represents an Azure resource group.
|
|
338
|
+
* @param experimentName String that represents a Experiment resource name.
|
|
339
|
+
* @param nextLink The nextLink from the previous successful call to the ListAllStatuses method.
|
|
340
|
+
* @param options The options parameters.
|
|
341
|
+
*/
|
|
342
|
+
_listAllStatusesNext(resourceGroupName, experimentName, nextLink, options) {
|
|
343
|
+
return this.client.sendOperationRequest({ resourceGroupName, experimentName, nextLink, options }, listAllStatusesNextOperationSpec);
|
|
344
|
+
}
|
|
345
|
+
/**
|
|
346
|
+
* ListExecutionDetailsNext
|
|
347
|
+
* @param resourceGroupName String that represents an Azure resource group.
|
|
348
|
+
* @param experimentName String that represents a Experiment resource name.
|
|
349
|
+
* @param nextLink The nextLink from the previous successful call to the ListExecutionDetails method.
|
|
350
|
+
* @param options The options parameters.
|
|
351
|
+
*/
|
|
352
|
+
_listExecutionDetailsNext(resourceGroupName, experimentName, nextLink, options) {
|
|
353
|
+
return this.client.sendOperationRequest({ resourceGroupName, experimentName, nextLink, options }, listExecutionDetailsNextOperationSpec);
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
// Operation Specifications
|
|
357
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
358
|
+
const listAllOperationSpec = {
|
|
359
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Chaos/experiments",
|
|
360
|
+
httpMethod: "GET",
|
|
361
|
+
responses: {
|
|
362
|
+
200: {
|
|
363
|
+
bodyMapper: Mappers.ExperimentListResult
|
|
364
|
+
},
|
|
365
|
+
default: {
|
|
366
|
+
bodyMapper: Mappers.ErrorResponse
|
|
367
|
+
}
|
|
368
|
+
},
|
|
369
|
+
queryParameters: [
|
|
370
|
+
Parameters.apiVersion,
|
|
371
|
+
Parameters.continuationToken,
|
|
372
|
+
Parameters.running
|
|
373
|
+
],
|
|
374
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
375
|
+
headerParameters: [Parameters.accept],
|
|
376
|
+
serializer
|
|
377
|
+
};
|
|
378
|
+
const listOperationSpec = {
|
|
379
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/experiments",
|
|
380
|
+
httpMethod: "GET",
|
|
381
|
+
responses: {
|
|
382
|
+
200: {
|
|
383
|
+
bodyMapper: Mappers.ExperimentListResult
|
|
384
|
+
},
|
|
385
|
+
default: {
|
|
386
|
+
bodyMapper: Mappers.ErrorResponse
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
queryParameters: [
|
|
390
|
+
Parameters.apiVersion,
|
|
391
|
+
Parameters.continuationToken,
|
|
392
|
+
Parameters.running
|
|
393
|
+
],
|
|
394
|
+
urlParameters: [
|
|
395
|
+
Parameters.$host,
|
|
396
|
+
Parameters.subscriptionId,
|
|
397
|
+
Parameters.resourceGroupName
|
|
398
|
+
],
|
|
399
|
+
headerParameters: [Parameters.accept],
|
|
400
|
+
serializer
|
|
401
|
+
};
|
|
402
|
+
const deleteOperationSpec = {
|
|
403
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/experiments/{experimentName}",
|
|
404
|
+
httpMethod: "DELETE",
|
|
405
|
+
responses: {
|
|
406
|
+
200: {},
|
|
407
|
+
204: {},
|
|
408
|
+
default: {
|
|
409
|
+
bodyMapper: Mappers.ErrorResponse
|
|
410
|
+
}
|
|
411
|
+
},
|
|
412
|
+
queryParameters: [Parameters.apiVersion],
|
|
413
|
+
urlParameters: [
|
|
414
|
+
Parameters.$host,
|
|
415
|
+
Parameters.subscriptionId,
|
|
416
|
+
Parameters.resourceGroupName,
|
|
417
|
+
Parameters.experimentName
|
|
418
|
+
],
|
|
419
|
+
headerParameters: [Parameters.accept],
|
|
420
|
+
serializer
|
|
421
|
+
};
|
|
422
|
+
const getOperationSpec = {
|
|
423
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/experiments/{experimentName}",
|
|
424
|
+
httpMethod: "GET",
|
|
425
|
+
responses: {
|
|
426
|
+
200: {
|
|
427
|
+
bodyMapper: Mappers.Experiment
|
|
428
|
+
},
|
|
429
|
+
default: {
|
|
430
|
+
bodyMapper: Mappers.ErrorResponse
|
|
431
|
+
}
|
|
432
|
+
},
|
|
433
|
+
queryParameters: [Parameters.apiVersion],
|
|
434
|
+
urlParameters: [
|
|
435
|
+
Parameters.$host,
|
|
436
|
+
Parameters.subscriptionId,
|
|
437
|
+
Parameters.resourceGroupName,
|
|
438
|
+
Parameters.experimentName
|
|
439
|
+
],
|
|
440
|
+
headerParameters: [Parameters.accept],
|
|
441
|
+
serializer
|
|
442
|
+
};
|
|
443
|
+
const createOrUpdateOperationSpec = {
|
|
444
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/experiments/{experimentName}",
|
|
445
|
+
httpMethod: "PUT",
|
|
446
|
+
responses: {
|
|
447
|
+
200: {
|
|
448
|
+
bodyMapper: Mappers.Experiment
|
|
449
|
+
},
|
|
450
|
+
default: {
|
|
451
|
+
bodyMapper: Mappers.ErrorResponse
|
|
452
|
+
}
|
|
453
|
+
},
|
|
454
|
+
requestBody: Parameters.experiment,
|
|
455
|
+
queryParameters: [Parameters.apiVersion],
|
|
456
|
+
urlParameters: [
|
|
457
|
+
Parameters.$host,
|
|
458
|
+
Parameters.subscriptionId,
|
|
459
|
+
Parameters.resourceGroupName,
|
|
460
|
+
Parameters.experimentName
|
|
461
|
+
],
|
|
462
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
463
|
+
mediaType: "json",
|
|
464
|
+
serializer
|
|
465
|
+
};
|
|
466
|
+
const cancelOperationSpec = {
|
|
467
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/experiments/{experimentName}/cancel",
|
|
468
|
+
httpMethod: "POST",
|
|
469
|
+
responses: {
|
|
470
|
+
202: {
|
|
471
|
+
bodyMapper: Mappers.ExperimentCancelOperationResult
|
|
472
|
+
},
|
|
473
|
+
default: {
|
|
474
|
+
bodyMapper: Mappers.ErrorResponse
|
|
475
|
+
}
|
|
476
|
+
},
|
|
477
|
+
queryParameters: [Parameters.apiVersion],
|
|
478
|
+
urlParameters: [
|
|
479
|
+
Parameters.$host,
|
|
480
|
+
Parameters.subscriptionId,
|
|
481
|
+
Parameters.resourceGroupName,
|
|
482
|
+
Parameters.experimentName
|
|
483
|
+
],
|
|
484
|
+
headerParameters: [Parameters.accept],
|
|
485
|
+
serializer
|
|
486
|
+
};
|
|
487
|
+
const startOperationSpec = {
|
|
488
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/experiments/{experimentName}/start",
|
|
489
|
+
httpMethod: "POST",
|
|
490
|
+
responses: {
|
|
491
|
+
202: {
|
|
492
|
+
bodyMapper: Mappers.ExperimentStartOperationResult
|
|
493
|
+
},
|
|
494
|
+
default: {
|
|
495
|
+
bodyMapper: Mappers.ErrorResponse
|
|
496
|
+
}
|
|
497
|
+
},
|
|
498
|
+
queryParameters: [Parameters.apiVersion],
|
|
499
|
+
urlParameters: [
|
|
500
|
+
Parameters.$host,
|
|
501
|
+
Parameters.subscriptionId,
|
|
502
|
+
Parameters.resourceGroupName,
|
|
503
|
+
Parameters.experimentName
|
|
504
|
+
],
|
|
505
|
+
headerParameters: [Parameters.accept],
|
|
506
|
+
serializer
|
|
507
|
+
};
|
|
508
|
+
const listAllStatusesOperationSpec = {
|
|
509
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/experiments/{experimentName}/statuses",
|
|
510
|
+
httpMethod: "GET",
|
|
511
|
+
responses: {
|
|
512
|
+
200: {
|
|
513
|
+
bodyMapper: Mappers.ExperimentStatusListResult
|
|
514
|
+
},
|
|
515
|
+
default: {
|
|
516
|
+
bodyMapper: Mappers.ErrorResponse
|
|
517
|
+
}
|
|
518
|
+
},
|
|
519
|
+
queryParameters: [Parameters.apiVersion],
|
|
520
|
+
urlParameters: [
|
|
521
|
+
Parameters.$host,
|
|
522
|
+
Parameters.subscriptionId,
|
|
523
|
+
Parameters.resourceGroupName,
|
|
524
|
+
Parameters.experimentName
|
|
525
|
+
],
|
|
526
|
+
headerParameters: [Parameters.accept],
|
|
527
|
+
serializer
|
|
528
|
+
};
|
|
529
|
+
const getStatusOperationSpec = {
|
|
530
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/experiments/{experimentName}/statuses/{statusId}",
|
|
531
|
+
httpMethod: "GET",
|
|
532
|
+
responses: {
|
|
533
|
+
200: {
|
|
534
|
+
bodyMapper: Mappers.ExperimentStatus
|
|
535
|
+
},
|
|
536
|
+
default: {
|
|
537
|
+
bodyMapper: Mappers.ErrorResponse
|
|
538
|
+
}
|
|
539
|
+
},
|
|
540
|
+
queryParameters: [Parameters.apiVersion],
|
|
541
|
+
urlParameters: [
|
|
542
|
+
Parameters.$host,
|
|
543
|
+
Parameters.subscriptionId,
|
|
544
|
+
Parameters.resourceGroupName,
|
|
545
|
+
Parameters.experimentName,
|
|
546
|
+
Parameters.statusId
|
|
547
|
+
],
|
|
548
|
+
headerParameters: [Parameters.accept],
|
|
549
|
+
serializer
|
|
550
|
+
};
|
|
551
|
+
const listExecutionDetailsOperationSpec = {
|
|
552
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/experiments/{experimentName}/executionDetails",
|
|
553
|
+
httpMethod: "GET",
|
|
554
|
+
responses: {
|
|
555
|
+
200: {
|
|
556
|
+
bodyMapper: Mappers.ExperimentExecutionDetailsListResult
|
|
557
|
+
},
|
|
558
|
+
default: {
|
|
559
|
+
bodyMapper: Mappers.ErrorResponse
|
|
560
|
+
}
|
|
561
|
+
},
|
|
562
|
+
queryParameters: [Parameters.apiVersion],
|
|
563
|
+
urlParameters: [
|
|
564
|
+
Parameters.$host,
|
|
565
|
+
Parameters.subscriptionId,
|
|
566
|
+
Parameters.resourceGroupName,
|
|
567
|
+
Parameters.experimentName
|
|
568
|
+
],
|
|
569
|
+
headerParameters: [Parameters.accept],
|
|
570
|
+
serializer
|
|
571
|
+
};
|
|
572
|
+
const getExecutionDetailsOperationSpec = {
|
|
573
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/experiments/{experimentName}/executionDetails/{executionDetailsId}",
|
|
574
|
+
httpMethod: "GET",
|
|
575
|
+
responses: {
|
|
576
|
+
200: {
|
|
577
|
+
bodyMapper: Mappers.ExperimentExecutionDetails
|
|
578
|
+
},
|
|
579
|
+
default: {
|
|
580
|
+
bodyMapper: Mappers.ErrorResponse
|
|
581
|
+
}
|
|
582
|
+
},
|
|
583
|
+
queryParameters: [Parameters.apiVersion],
|
|
584
|
+
urlParameters: [
|
|
585
|
+
Parameters.$host,
|
|
586
|
+
Parameters.subscriptionId,
|
|
587
|
+
Parameters.resourceGroupName,
|
|
588
|
+
Parameters.experimentName,
|
|
589
|
+
Parameters.executionDetailsId
|
|
590
|
+
],
|
|
591
|
+
headerParameters: [Parameters.accept],
|
|
592
|
+
serializer
|
|
593
|
+
};
|
|
594
|
+
const listAllNextOperationSpec = {
|
|
595
|
+
path: "{nextLink}",
|
|
596
|
+
httpMethod: "GET",
|
|
597
|
+
responses: {
|
|
598
|
+
200: {
|
|
599
|
+
bodyMapper: Mappers.ExperimentListResult
|
|
600
|
+
},
|
|
601
|
+
default: {
|
|
602
|
+
bodyMapper: Mappers.ErrorResponse
|
|
603
|
+
}
|
|
604
|
+
},
|
|
605
|
+
queryParameters: [
|
|
606
|
+
Parameters.apiVersion,
|
|
607
|
+
Parameters.continuationToken,
|
|
608
|
+
Parameters.running
|
|
609
|
+
],
|
|
610
|
+
urlParameters: [
|
|
611
|
+
Parameters.$host,
|
|
612
|
+
Parameters.subscriptionId,
|
|
613
|
+
Parameters.nextLink
|
|
614
|
+
],
|
|
615
|
+
headerParameters: [Parameters.accept],
|
|
616
|
+
serializer
|
|
617
|
+
};
|
|
618
|
+
const listNextOperationSpec = {
|
|
619
|
+
path: "{nextLink}",
|
|
620
|
+
httpMethod: "GET",
|
|
621
|
+
responses: {
|
|
622
|
+
200: {
|
|
623
|
+
bodyMapper: Mappers.ExperimentListResult
|
|
624
|
+
},
|
|
625
|
+
default: {
|
|
626
|
+
bodyMapper: Mappers.ErrorResponse
|
|
627
|
+
}
|
|
628
|
+
},
|
|
629
|
+
queryParameters: [
|
|
630
|
+
Parameters.apiVersion,
|
|
631
|
+
Parameters.continuationToken,
|
|
632
|
+
Parameters.running
|
|
633
|
+
],
|
|
634
|
+
urlParameters: [
|
|
635
|
+
Parameters.$host,
|
|
636
|
+
Parameters.subscriptionId,
|
|
637
|
+
Parameters.resourceGroupName,
|
|
638
|
+
Parameters.nextLink
|
|
639
|
+
],
|
|
640
|
+
headerParameters: [Parameters.accept],
|
|
641
|
+
serializer
|
|
642
|
+
};
|
|
643
|
+
const listAllStatusesNextOperationSpec = {
|
|
644
|
+
path: "{nextLink}",
|
|
645
|
+
httpMethod: "GET",
|
|
646
|
+
responses: {
|
|
647
|
+
200: {
|
|
648
|
+
bodyMapper: Mappers.ExperimentStatusListResult
|
|
649
|
+
},
|
|
650
|
+
default: {
|
|
651
|
+
bodyMapper: Mappers.ErrorResponse
|
|
652
|
+
}
|
|
653
|
+
},
|
|
654
|
+
queryParameters: [Parameters.apiVersion],
|
|
655
|
+
urlParameters: [
|
|
656
|
+
Parameters.$host,
|
|
657
|
+
Parameters.subscriptionId,
|
|
658
|
+
Parameters.resourceGroupName,
|
|
659
|
+
Parameters.nextLink,
|
|
660
|
+
Parameters.experimentName
|
|
661
|
+
],
|
|
662
|
+
headerParameters: [Parameters.accept],
|
|
663
|
+
serializer
|
|
664
|
+
};
|
|
665
|
+
const listExecutionDetailsNextOperationSpec = {
|
|
666
|
+
path: "{nextLink}",
|
|
667
|
+
httpMethod: "GET",
|
|
668
|
+
responses: {
|
|
669
|
+
200: {
|
|
670
|
+
bodyMapper: Mappers.ExperimentExecutionDetailsListResult
|
|
671
|
+
},
|
|
672
|
+
default: {
|
|
673
|
+
bodyMapper: Mappers.ErrorResponse
|
|
674
|
+
}
|
|
675
|
+
},
|
|
676
|
+
queryParameters: [Parameters.apiVersion],
|
|
677
|
+
urlParameters: [
|
|
678
|
+
Parameters.$host,
|
|
679
|
+
Parameters.subscriptionId,
|
|
680
|
+
Parameters.resourceGroupName,
|
|
681
|
+
Parameters.nextLink,
|
|
682
|
+
Parameters.experimentName
|
|
683
|
+
],
|
|
684
|
+
headerParameters: [Parameters.accept],
|
|
685
|
+
serializer
|
|
686
|
+
};
|
|
687
|
+
//# sourceMappingURL=experiments.js.map
|