@azure/arm-devcenter 1.1.1-alpha.20250718.1 → 1.1.1-alpha.20250721.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/browser/devCenterClient.js +36 -5
- package/dist/browser/devCenterClient.js.map +1 -1
- package/dist/browser/lroImpl.js +7 -3
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/mappers.js +445 -205
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/operations/attachedNetworks.js +67 -91
- package/dist/browser/operations/attachedNetworks.js.map +1 -1
- package/dist/browser/operations/catalogs.js +78 -70
- package/dist/browser/operations/catalogs.js.map +1 -1
- package/dist/browser/operations/checkNameAvailability.js +1 -0
- package/dist/browser/operations/checkNameAvailability.js.map +1 -1
- package/dist/browser/operations/checkScopedNameAvailability.js +1 -0
- package/dist/browser/operations/checkScopedNameAvailability.js.map +1 -1
- package/dist/browser/operations/devBoxDefinitions.js +78 -97
- package/dist/browser/operations/devBoxDefinitions.js.map +1 -1
- package/dist/browser/operations/devCenters.js +78 -97
- package/dist/browser/operations/devCenters.js.map +1 -1
- package/dist/browser/operations/environmentDefinitions.js +45 -79
- package/dist/browser/operations/environmentDefinitions.js.map +1 -1
- package/dist/browser/operations/environmentTypes.js +23 -40
- package/dist/browser/operations/environmentTypes.js.map +1 -1
- package/dist/browser/operations/galleries.js +45 -52
- package/dist/browser/operations/galleries.js.map +1 -1
- package/dist/browser/operations/imageVersions.js +23 -40
- package/dist/browser/operations/imageVersions.js.map +1 -1
- package/dist/browser/operations/images.js +45 -79
- package/dist/browser/operations/images.js.map +1 -1
- package/dist/browser/operations/networkConnections.js +120 -168
- package/dist/browser/operations/networkConnections.js.map +1 -1
- package/dist/browser/operations/operationStatuses.js +1 -0
- package/dist/browser/operations/operationStatuses.js.map +1 -1
- package/dist/browser/operations/operations.js +23 -40
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operations/pools.js +67 -64
- package/dist/browser/operations/pools.js.map +1 -1
- package/dist/browser/operations/projectAllowedEnvironmentTypes.js +23 -40
- package/dist/browser/operations/projectAllowedEnvironmentTypes.js.map +1 -1
- package/dist/browser/operations/projectCatalogEnvironmentDefinitions.js +1 -0
- package/dist/browser/operations/projectCatalogEnvironmentDefinitions.js.map +1 -1
- package/dist/browser/operations/projectCatalogs.js +78 -70
- package/dist/browser/operations/projectCatalogs.js.map +1 -1
- package/dist/browser/operations/projectEnvironmentTypes.js +23 -40
- package/dist/browser/operations/projectEnvironmentTypes.js.map +1 -1
- package/dist/browser/operations/projects.js +78 -97
- package/dist/browser/operations/projects.js.map +1 -1
- package/dist/browser/operations/schedules.js +56 -58
- package/dist/browser/operations/schedules.js.map +1 -1
- package/dist/browser/operations/skus.js +23 -40
- package/dist/browser/operations/skus.js.map +1 -1
- package/dist/browser/operations/usages.js +23 -40
- package/dist/browser/operations/usages.js.map +1 -1
- package/dist/browser/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/commonjs/devCenterClient.js +36 -5
- package/dist/commonjs/devCenterClient.js.map +1 -1
- package/dist/commonjs/lroImpl.js +7 -3
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/mappers.js +445 -205
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/operations/attachedNetworks.js +67 -90
- package/dist/commonjs/operations/attachedNetworks.js.map +1 -1
- package/dist/commonjs/operations/catalogs.js +78 -69
- package/dist/commonjs/operations/catalogs.js.map +1 -1
- package/dist/commonjs/operations/checkNameAvailability.js +1 -0
- package/dist/commonjs/operations/checkNameAvailability.js.map +1 -1
- package/dist/commonjs/operations/checkScopedNameAvailability.js +1 -0
- package/dist/commonjs/operations/checkScopedNameAvailability.js.map +1 -1
- package/dist/commonjs/operations/devBoxDefinitions.js +78 -96
- package/dist/commonjs/operations/devBoxDefinitions.js.map +1 -1
- package/dist/commonjs/operations/devCenters.js +78 -96
- package/dist/commonjs/operations/devCenters.js.map +1 -1
- package/dist/commonjs/operations/environmentDefinitions.js +45 -78
- package/dist/commonjs/operations/environmentDefinitions.js.map +1 -1
- package/dist/commonjs/operations/environmentTypes.js +23 -39
- package/dist/commonjs/operations/environmentTypes.js.map +1 -1
- package/dist/commonjs/operations/galleries.js +45 -51
- package/dist/commonjs/operations/galleries.js.map +1 -1
- package/dist/commonjs/operations/imageVersions.js +23 -39
- package/dist/commonjs/operations/imageVersions.js.map +1 -1
- package/dist/commonjs/operations/images.js +45 -78
- package/dist/commonjs/operations/images.js.map +1 -1
- package/dist/commonjs/operations/networkConnections.js +120 -167
- package/dist/commonjs/operations/networkConnections.js.map +1 -1
- package/dist/commonjs/operations/operationStatuses.js +1 -0
- package/dist/commonjs/operations/operationStatuses.js.map +1 -1
- package/dist/commonjs/operations/operations.js +23 -39
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operations/pools.js +67 -63
- package/dist/commonjs/operations/pools.js.map +1 -1
- package/dist/commonjs/operations/projectAllowedEnvironmentTypes.js +23 -39
- package/dist/commonjs/operations/projectAllowedEnvironmentTypes.js.map +1 -1
- package/dist/commonjs/operations/projectCatalogEnvironmentDefinitions.js +1 -0
- package/dist/commonjs/operations/projectCatalogEnvironmentDefinitions.js.map +1 -1
- package/dist/commonjs/operations/projectCatalogs.js +78 -69
- package/dist/commonjs/operations/projectCatalogs.js.map +1 -1
- package/dist/commonjs/operations/projectEnvironmentTypes.js +23 -39
- package/dist/commonjs/operations/projectEnvironmentTypes.js.map +1 -1
- package/dist/commonjs/operations/projects.js +78 -96
- package/dist/commonjs/operations/projects.js.map +1 -1
- package/dist/commonjs/operations/schedules.js +56 -57
- package/dist/commonjs/operations/schedules.js.map +1 -1
- package/dist/commonjs/operations/skus.js +23 -39
- package/dist/commonjs/operations/skus.js.map +1 -1
- package/dist/commonjs/operations/usages.js +23 -39
- package/dist/commonjs/operations/usages.js.map +1 -1
- package/dist/commonjs/pagingHelper.js +2 -4
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/esm/devCenterClient.js +36 -5
- package/dist/esm/devCenterClient.js.map +1 -1
- package/dist/esm/lroImpl.js +7 -3
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/mappers.js +445 -205
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/operations/attachedNetworks.js +67 -91
- package/dist/esm/operations/attachedNetworks.js.map +1 -1
- package/dist/esm/operations/catalogs.js +78 -70
- package/dist/esm/operations/catalogs.js.map +1 -1
- package/dist/esm/operations/checkNameAvailability.js +1 -0
- package/dist/esm/operations/checkNameAvailability.js.map +1 -1
- package/dist/esm/operations/checkScopedNameAvailability.js +1 -0
- package/dist/esm/operations/checkScopedNameAvailability.js.map +1 -1
- package/dist/esm/operations/devBoxDefinitions.js +78 -97
- package/dist/esm/operations/devBoxDefinitions.js.map +1 -1
- package/dist/esm/operations/devCenters.js +78 -97
- package/dist/esm/operations/devCenters.js.map +1 -1
- package/dist/esm/operations/environmentDefinitions.js +45 -79
- package/dist/esm/operations/environmentDefinitions.js.map +1 -1
- package/dist/esm/operations/environmentTypes.js +23 -40
- package/dist/esm/operations/environmentTypes.js.map +1 -1
- package/dist/esm/operations/galleries.js +45 -52
- package/dist/esm/operations/galleries.js.map +1 -1
- package/dist/esm/operations/imageVersions.js +23 -40
- package/dist/esm/operations/imageVersions.js.map +1 -1
- package/dist/esm/operations/images.js +45 -79
- package/dist/esm/operations/images.js.map +1 -1
- package/dist/esm/operations/networkConnections.js +120 -168
- package/dist/esm/operations/networkConnections.js.map +1 -1
- package/dist/esm/operations/operationStatuses.js +1 -0
- package/dist/esm/operations/operationStatuses.js.map +1 -1
- package/dist/esm/operations/operations.js +23 -40
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operations/pools.js +67 -64
- package/dist/esm/operations/pools.js.map +1 -1
- package/dist/esm/operations/projectAllowedEnvironmentTypes.js +23 -40
- package/dist/esm/operations/projectAllowedEnvironmentTypes.js.map +1 -1
- package/dist/esm/operations/projectCatalogEnvironmentDefinitions.js +1 -0
- package/dist/esm/operations/projectCatalogEnvironmentDefinitions.js.map +1 -1
- package/dist/esm/operations/projectCatalogs.js +78 -70
- package/dist/esm/operations/projectCatalogs.js.map +1 -1
- package/dist/esm/operations/projectEnvironmentTypes.js +23 -40
- package/dist/esm/operations/projectEnvironmentTypes.js.map +1 -1
- package/dist/esm/operations/projects.js +78 -97
- package/dist/esm/operations/projects.js.map +1 -1
- package/dist/esm/operations/schedules.js +56 -58
- package/dist/esm/operations/schedules.js.map +1 -1
- package/dist/esm/operations/skus.js +23 -40
- package/dist/esm/operations/skus.js.map +1 -1
- package/dist/esm/operations/usages.js +23 -40
- package/dist/esm/operations/usages.js.map +1 -1
- package/dist/esm/pagingHelper.js +2 -4
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/react-native/devCenterClient.js +36 -5
- package/dist/react-native/devCenterClient.js.map +1 -1
- package/dist/react-native/lroImpl.js +7 -3
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/mappers.js +445 -205
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/operations/attachedNetworks.js +67 -91
- package/dist/react-native/operations/attachedNetworks.js.map +1 -1
- package/dist/react-native/operations/catalogs.js +78 -70
- package/dist/react-native/operations/catalogs.js.map +1 -1
- package/dist/react-native/operations/checkNameAvailability.js +1 -0
- package/dist/react-native/operations/checkNameAvailability.js.map +1 -1
- package/dist/react-native/operations/checkScopedNameAvailability.js +1 -0
- package/dist/react-native/operations/checkScopedNameAvailability.js.map +1 -1
- package/dist/react-native/operations/devBoxDefinitions.js +78 -97
- package/dist/react-native/operations/devBoxDefinitions.js.map +1 -1
- package/dist/react-native/operations/devCenters.js +78 -97
- package/dist/react-native/operations/devCenters.js.map +1 -1
- package/dist/react-native/operations/environmentDefinitions.js +45 -79
- package/dist/react-native/operations/environmentDefinitions.js.map +1 -1
- package/dist/react-native/operations/environmentTypes.js +23 -40
- package/dist/react-native/operations/environmentTypes.js.map +1 -1
- package/dist/react-native/operations/galleries.js +45 -52
- package/dist/react-native/operations/galleries.js.map +1 -1
- package/dist/react-native/operations/imageVersions.js +23 -40
- package/dist/react-native/operations/imageVersions.js.map +1 -1
- package/dist/react-native/operations/images.js +45 -79
- package/dist/react-native/operations/images.js.map +1 -1
- package/dist/react-native/operations/networkConnections.js +120 -168
- package/dist/react-native/operations/networkConnections.js.map +1 -1
- package/dist/react-native/operations/operationStatuses.js +1 -0
- package/dist/react-native/operations/operationStatuses.js.map +1 -1
- package/dist/react-native/operations/operations.js +23 -40
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/pools.js +67 -64
- package/dist/react-native/operations/pools.js.map +1 -1
- package/dist/react-native/operations/projectAllowedEnvironmentTypes.js +23 -40
- package/dist/react-native/operations/projectAllowedEnvironmentTypes.js.map +1 -1
- package/dist/react-native/operations/projectCatalogEnvironmentDefinitions.js +1 -0
- package/dist/react-native/operations/projectCatalogEnvironmentDefinitions.js.map +1 -1
- package/dist/react-native/operations/projectCatalogs.js +78 -70
- package/dist/react-native/operations/projectCatalogs.js.map +1 -1
- package/dist/react-native/operations/projectEnvironmentTypes.js +23 -40
- package/dist/react-native/operations/projectEnvironmentTypes.js.map +1 -1
- package/dist/react-native/operations/projects.js +78 -97
- package/dist/react-native/operations/projects.js.map +1 -1
- package/dist/react-native/operations/schedules.js +56 -58
- package/dist/react-native/operations/schedules.js.map +1 -1
- package/dist/react-native/operations/skus.js +23 -40
- package/dist/react-native/operations/skus.js.map +1 -1
- package/dist/react-native/operations/usages.js +23 -40
- package/dist/react-native/operations/usages.js.map +1 -1
- package/dist/react-native/pagingHelper.js +2 -4
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/package.json +2 -2
- package/review/arm-devcenter-node.api.md +2567 -2567
|
@@ -18,6 +18,7 @@ const lroImpl_js_1 = require("../lroImpl.js");
|
|
|
18
18
|
/// <reference lib="esnext.asynciterable" />
|
|
19
19
|
/** Class containing NetworkConnections operations. */
|
|
20
20
|
class NetworkConnectionsImpl {
|
|
21
|
+
client;
|
|
21
22
|
/**
|
|
22
23
|
* Initialize a new instance of the class NetworkConnections class.
|
|
23
24
|
* @param client Reference to the service client
|
|
@@ -39,52 +40,35 @@ class NetworkConnectionsImpl {
|
|
|
39
40
|
return this;
|
|
40
41
|
},
|
|
41
42
|
byPage: (settings) => {
|
|
42
|
-
if (settings
|
|
43
|
+
if (settings?.maxPageSize) {
|
|
43
44
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
44
45
|
}
|
|
45
46
|
return this.listBySubscriptionPagingPage(options, settings);
|
|
46
47
|
},
|
|
47
48
|
};
|
|
48
49
|
}
|
|
49
|
-
listBySubscriptionPagingPage(options, settings) {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
67
|
-
});
|
|
50
|
+
async *listBySubscriptionPagingPage(options, settings) {
|
|
51
|
+
let result;
|
|
52
|
+
let continuationToken = settings?.continuationToken;
|
|
53
|
+
if (!continuationToken) {
|
|
54
|
+
result = await this._listBySubscription(options);
|
|
55
|
+
let page = result.value || [];
|
|
56
|
+
continuationToken = result.nextLink;
|
|
57
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
58
|
+
yield page;
|
|
59
|
+
}
|
|
60
|
+
while (continuationToken) {
|
|
61
|
+
result = await this._listBySubscriptionNext(continuationToken, options);
|
|
62
|
+
continuationToken = result.nextLink;
|
|
63
|
+
let page = result.value || [];
|
|
64
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
65
|
+
yield page;
|
|
66
|
+
}
|
|
68
67
|
}
|
|
69
|
-
listBySubscriptionPagingAll(options) {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
74
|
-
_c = _f.value;
|
|
75
|
-
_d = false;
|
|
76
|
-
const page = _c;
|
|
77
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
81
|
-
finally {
|
|
82
|
-
try {
|
|
83
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
84
|
-
}
|
|
85
|
-
finally { if (e_1) throw e_1.error; }
|
|
86
|
-
}
|
|
87
|
-
});
|
|
68
|
+
async *listBySubscriptionPagingAll(options) {
|
|
69
|
+
for await (const page of this.listBySubscriptionPagingPage(options)) {
|
|
70
|
+
yield* page;
|
|
71
|
+
}
|
|
88
72
|
}
|
|
89
73
|
/**
|
|
90
74
|
* Lists network connections in a resource group
|
|
@@ -101,52 +85,35 @@ class NetworkConnectionsImpl {
|
|
|
101
85
|
return this;
|
|
102
86
|
},
|
|
103
87
|
byPage: (settings) => {
|
|
104
|
-
if (settings
|
|
88
|
+
if (settings?.maxPageSize) {
|
|
105
89
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
106
90
|
}
|
|
107
91
|
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
108
92
|
},
|
|
109
93
|
};
|
|
110
94
|
}
|
|
111
|
-
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
}
|
|
129
|
-
});
|
|
95
|
+
async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
96
|
+
let result;
|
|
97
|
+
let continuationToken = settings?.continuationToken;
|
|
98
|
+
if (!continuationToken) {
|
|
99
|
+
result = await this._listByResourceGroup(resourceGroupName, options);
|
|
100
|
+
let page = result.value || [];
|
|
101
|
+
continuationToken = result.nextLink;
|
|
102
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
103
|
+
yield page;
|
|
104
|
+
}
|
|
105
|
+
while (continuationToken) {
|
|
106
|
+
result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
|
|
107
|
+
continuationToken = result.nextLink;
|
|
108
|
+
let page = result.value || [];
|
|
109
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
110
|
+
yield page;
|
|
111
|
+
}
|
|
130
112
|
}
|
|
131
|
-
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
136
|
-
_c = _f.value;
|
|
137
|
-
_d = false;
|
|
138
|
-
const page = _c;
|
|
139
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
143
|
-
finally {
|
|
144
|
-
try {
|
|
145
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
146
|
-
}
|
|
147
|
-
finally { if (e_2) throw e_2.error; }
|
|
148
|
-
}
|
|
149
|
-
});
|
|
113
|
+
async *listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
114
|
+
for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
|
|
115
|
+
yield* page;
|
|
116
|
+
}
|
|
150
117
|
}
|
|
151
118
|
/**
|
|
152
119
|
* Lists health check status details
|
|
@@ -164,39 +131,22 @@ class NetworkConnectionsImpl {
|
|
|
164
131
|
return this;
|
|
165
132
|
},
|
|
166
133
|
byPage: (settings) => {
|
|
167
|
-
if (settings
|
|
134
|
+
if (settings?.maxPageSize) {
|
|
168
135
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
169
136
|
}
|
|
170
137
|
return this.listHealthDetailsPagingPage(resourceGroupName, networkConnectionName, options, settings);
|
|
171
138
|
},
|
|
172
139
|
};
|
|
173
140
|
}
|
|
174
|
-
listHealthDetailsPagingPage(resourceGroupName, networkConnectionName, options, _settings) {
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
yield yield tslib_1.__await(result.value || []);
|
|
179
|
-
});
|
|
141
|
+
async *listHealthDetailsPagingPage(resourceGroupName, networkConnectionName, options, _settings) {
|
|
142
|
+
let result;
|
|
143
|
+
result = await this._listHealthDetails(resourceGroupName, networkConnectionName, options);
|
|
144
|
+
yield result.value || [];
|
|
180
145
|
}
|
|
181
|
-
listHealthDetailsPagingAll(resourceGroupName, networkConnectionName, options) {
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listHealthDetailsPagingPage(resourceGroupName, networkConnectionName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
186
|
-
_c = _f.value;
|
|
187
|
-
_d = false;
|
|
188
|
-
const page = _c;
|
|
189
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
193
|
-
finally {
|
|
194
|
-
try {
|
|
195
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
196
|
-
}
|
|
197
|
-
finally { if (e_3) throw e_3.error; }
|
|
198
|
-
}
|
|
199
|
-
});
|
|
146
|
+
async *listHealthDetailsPagingAll(resourceGroupName, networkConnectionName, options) {
|
|
147
|
+
for await (const page of this.listHealthDetailsPagingPage(resourceGroupName, networkConnectionName, options)) {
|
|
148
|
+
yield* page;
|
|
149
|
+
}
|
|
200
150
|
}
|
|
201
151
|
/**
|
|
202
152
|
* Lists the endpoints that agents may call as part of Dev Box service administration. These FQDNs
|
|
@@ -215,52 +165,35 @@ class NetworkConnectionsImpl {
|
|
|
215
165
|
return this;
|
|
216
166
|
},
|
|
217
167
|
byPage: (settings) => {
|
|
218
|
-
if (settings
|
|
168
|
+
if (settings?.maxPageSize) {
|
|
219
169
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
220
170
|
}
|
|
221
171
|
return this.listOutboundNetworkDependenciesEndpointsPagingPage(resourceGroupName, networkConnectionName, options, settings);
|
|
222
172
|
},
|
|
223
173
|
};
|
|
224
174
|
}
|
|
225
|
-
listOutboundNetworkDependenciesEndpointsPagingPage(resourceGroupName, networkConnectionName, options, settings) {
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
}
|
|
243
|
-
});
|
|
175
|
+
async *listOutboundNetworkDependenciesEndpointsPagingPage(resourceGroupName, networkConnectionName, options, settings) {
|
|
176
|
+
let result;
|
|
177
|
+
let continuationToken = settings?.continuationToken;
|
|
178
|
+
if (!continuationToken) {
|
|
179
|
+
result = await this._listOutboundNetworkDependenciesEndpoints(resourceGroupName, networkConnectionName, options);
|
|
180
|
+
let page = result.value || [];
|
|
181
|
+
continuationToken = result.nextLink;
|
|
182
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
183
|
+
yield page;
|
|
184
|
+
}
|
|
185
|
+
while (continuationToken) {
|
|
186
|
+
result = await this._listOutboundNetworkDependenciesEndpointsNext(resourceGroupName, networkConnectionName, continuationToken, options);
|
|
187
|
+
continuationToken = result.nextLink;
|
|
188
|
+
let page = result.value || [];
|
|
189
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
190
|
+
yield page;
|
|
191
|
+
}
|
|
244
192
|
}
|
|
245
|
-
listOutboundNetworkDependenciesEndpointsPagingAll(resourceGroupName, networkConnectionName, options) {
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listOutboundNetworkDependenciesEndpointsPagingPage(resourceGroupName, networkConnectionName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
250
|
-
_c = _f.value;
|
|
251
|
-
_d = false;
|
|
252
|
-
const page = _c;
|
|
253
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
catch (e_4_1) { e_4 = { error: e_4_1 }; }
|
|
257
|
-
finally {
|
|
258
|
-
try {
|
|
259
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
260
|
-
}
|
|
261
|
-
finally { if (e_4) throw e_4.error; }
|
|
262
|
-
}
|
|
263
|
-
});
|
|
193
|
+
async *listOutboundNetworkDependenciesEndpointsPagingAll(resourceGroupName, networkConnectionName, options) {
|
|
194
|
+
for await (const page of this.listOutboundNetworkDependenciesEndpointsPagingPage(resourceGroupName, networkConnectionName, options)) {
|
|
195
|
+
yield* page;
|
|
196
|
+
}
|
|
264
197
|
}
|
|
265
198
|
/**
|
|
266
199
|
* Lists network connections in a subscription
|
|
@@ -298,14 +231,19 @@ class NetworkConnectionsImpl {
|
|
|
298
231
|
return this.client.sendOperationRequest(args, spec);
|
|
299
232
|
};
|
|
300
233
|
const sendOperationFn = async (args, spec) => {
|
|
301
|
-
var _a;
|
|
302
234
|
let currentRawResponse = undefined;
|
|
303
|
-
const providedCallback =
|
|
235
|
+
const providedCallback = args.options?.onResponse;
|
|
304
236
|
const callback = (rawResponse, flatResponse) => {
|
|
305
237
|
currentRawResponse = rawResponse;
|
|
306
|
-
providedCallback
|
|
238
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
239
|
+
};
|
|
240
|
+
const updatedArgs = {
|
|
241
|
+
...args,
|
|
242
|
+
options: {
|
|
243
|
+
...args.options,
|
|
244
|
+
onResponse: callback,
|
|
245
|
+
},
|
|
307
246
|
};
|
|
308
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
309
247
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
310
248
|
return {
|
|
311
249
|
flatResponse,
|
|
@@ -322,8 +260,8 @@ class NetworkConnectionsImpl {
|
|
|
322
260
|
spec: createOrUpdateOperationSpec,
|
|
323
261
|
});
|
|
324
262
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
325
|
-
restoreFrom: options
|
|
326
|
-
intervalInMs: options
|
|
263
|
+
restoreFrom: options?.resumeFrom,
|
|
264
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
327
265
|
resourceLocationConfig: "azure-async-operation",
|
|
328
266
|
});
|
|
329
267
|
await poller.poll();
|
|
@@ -352,14 +290,19 @@ class NetworkConnectionsImpl {
|
|
|
352
290
|
return this.client.sendOperationRequest(args, spec);
|
|
353
291
|
};
|
|
354
292
|
const sendOperationFn = async (args, spec) => {
|
|
355
|
-
var _a;
|
|
356
293
|
let currentRawResponse = undefined;
|
|
357
|
-
const providedCallback =
|
|
294
|
+
const providedCallback = args.options?.onResponse;
|
|
358
295
|
const callback = (rawResponse, flatResponse) => {
|
|
359
296
|
currentRawResponse = rawResponse;
|
|
360
|
-
providedCallback
|
|
297
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
298
|
+
};
|
|
299
|
+
const updatedArgs = {
|
|
300
|
+
...args,
|
|
301
|
+
options: {
|
|
302
|
+
...args.options,
|
|
303
|
+
onResponse: callback,
|
|
304
|
+
},
|
|
361
305
|
};
|
|
362
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
363
306
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
364
307
|
return {
|
|
365
308
|
flatResponse,
|
|
@@ -376,8 +319,8 @@ class NetworkConnectionsImpl {
|
|
|
376
319
|
spec: updateOperationSpec,
|
|
377
320
|
});
|
|
378
321
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
379
|
-
restoreFrom: options
|
|
380
|
-
intervalInMs: options
|
|
322
|
+
restoreFrom: options?.resumeFrom,
|
|
323
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
381
324
|
resourceLocationConfig: "azure-async-operation",
|
|
382
325
|
});
|
|
383
326
|
await poller.poll();
|
|
@@ -405,14 +348,19 @@ class NetworkConnectionsImpl {
|
|
|
405
348
|
return this.client.sendOperationRequest(args, spec);
|
|
406
349
|
};
|
|
407
350
|
const sendOperationFn = async (args, spec) => {
|
|
408
|
-
var _a;
|
|
409
351
|
let currentRawResponse = undefined;
|
|
410
|
-
const providedCallback =
|
|
352
|
+
const providedCallback = args.options?.onResponse;
|
|
411
353
|
const callback = (rawResponse, flatResponse) => {
|
|
412
354
|
currentRawResponse = rawResponse;
|
|
413
|
-
providedCallback
|
|
355
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
356
|
+
};
|
|
357
|
+
const updatedArgs = {
|
|
358
|
+
...args,
|
|
359
|
+
options: {
|
|
360
|
+
...args.options,
|
|
361
|
+
onResponse: callback,
|
|
362
|
+
},
|
|
414
363
|
};
|
|
415
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
416
364
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
417
365
|
return {
|
|
418
366
|
flatResponse,
|
|
@@ -429,8 +377,8 @@ class NetworkConnectionsImpl {
|
|
|
429
377
|
spec: deleteOperationSpec,
|
|
430
378
|
});
|
|
431
379
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
432
|
-
restoreFrom: options
|
|
433
|
-
intervalInMs: options
|
|
380
|
+
restoreFrom: options?.resumeFrom,
|
|
381
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
434
382
|
resourceLocationConfig: "azure-async-operation",
|
|
435
383
|
});
|
|
436
384
|
await poller.poll();
|
|
@@ -476,14 +424,19 @@ class NetworkConnectionsImpl {
|
|
|
476
424
|
return this.client.sendOperationRequest(args, spec);
|
|
477
425
|
};
|
|
478
426
|
const sendOperationFn = async (args, spec) => {
|
|
479
|
-
var _a;
|
|
480
427
|
let currentRawResponse = undefined;
|
|
481
|
-
const providedCallback =
|
|
428
|
+
const providedCallback = args.options?.onResponse;
|
|
482
429
|
const callback = (rawResponse, flatResponse) => {
|
|
483
430
|
currentRawResponse = rawResponse;
|
|
484
|
-
providedCallback
|
|
431
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
432
|
+
};
|
|
433
|
+
const updatedArgs = {
|
|
434
|
+
...args,
|
|
435
|
+
options: {
|
|
436
|
+
...args.options,
|
|
437
|
+
onResponse: callback,
|
|
438
|
+
},
|
|
485
439
|
};
|
|
486
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
487
440
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
488
441
|
return {
|
|
489
442
|
flatResponse,
|
|
@@ -500,8 +453,8 @@ class NetworkConnectionsImpl {
|
|
|
500
453
|
spec: runHealthChecksOperationSpec,
|
|
501
454
|
});
|
|
502
455
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
503
|
-
restoreFrom: options
|
|
504
|
-
intervalInMs: options
|
|
456
|
+
restoreFrom: options?.resumeFrom,
|
|
457
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
505
458
|
resourceLocationConfig: "azure-async-operation",
|
|
506
459
|
});
|
|
507
460
|
await poller.poll();
|