Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@azure/arm-containerservice

Package Overview
Dependencies
Maintainers
4
Versions
358
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@azure/arm-containerservice - npm Package Compare versions

Comparing version 18.0.0-alpha.20230412.1 to 18.0.0-alpha.20230419.1

17

dist-esm/samples-dev/agentPoolsListSample.js

@@ -22,3 +22,3 @@ /*

function listAgentPoolsByManagedCluster() {
var e_1, _a;
var _a, e_1, _b, _c;
return __awaiter(this, void 0, void 0, function* () {

@@ -32,5 +32,12 @@ const subscriptionId = process.env["CONTAINERSERVICE_SUBSCRIPTION_ID"] || "subid1";

try {
for (var _b = __asyncValues(client.agentPools.list(resourceGroupName, resourceName)), _c; _c = yield _b.next(), !_c.done;) {
let item = _c.value;
resArray.push(item);
for (var _d = true, _e = __asyncValues(client.agentPools.list(resourceGroupName, resourceName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
_c = _f.value;
_d = false;
try {
let item = _c;
resArray.push(item);
}
finally {
_d = true;
}
}

@@ -41,3 +48,3 @@ }

try {
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
}

@@ -44,0 +51,0 @@ finally { if (e_1) throw e_1.error; }

@@ -22,3 +22,3 @@ /*

function listMaintenanceConfigurationsByManagedCluster() {
var e_1, _a;
var _a, e_1, _b, _c;
return __awaiter(this, void 0, void 0, function* () {

@@ -32,5 +32,12 @@ const subscriptionId = process.env["CONTAINERSERVICE_SUBSCRIPTION_ID"] || "subid1";

try {
for (var _b = __asyncValues(client.maintenanceConfigurations.listByManagedCluster(resourceGroupName, resourceName)), _c; _c = yield _b.next(), !_c.done;) {
let item = _c.value;
resArray.push(item);
for (var _d = true, _e = __asyncValues(client.maintenanceConfigurations.listByManagedCluster(resourceGroupName, resourceName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
_c = _f.value;
_d = false;
try {
let item = _c;
resArray.push(item);
}
finally {
_d = true;
}
}

@@ -41,3 +48,3 @@ }

try {
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
}

@@ -56,3 +63,3 @@ finally { if (e_1) throw e_1.error; }

function listMaintenanceConfigurationsConfiguredWithMaintenanceWindowByManagedCluster() {
var e_2, _a;
var _a, e_2, _b, _c;
return __awaiter(this, void 0, void 0, function* () {

@@ -66,5 +73,12 @@ const subscriptionId = process.env["CONTAINERSERVICE_SUBSCRIPTION_ID"] || "subid1";

try {
for (var _b = __asyncValues(client.maintenanceConfigurations.listByManagedCluster(resourceGroupName, resourceName)), _c; _c = yield _b.next(), !_c.done;) {
let item = _c.value;
resArray.push(item);
for (var _d = true, _e = __asyncValues(client.maintenanceConfigurations.listByManagedCluster(resourceGroupName, resourceName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
_c = _f.value;
_d = false;
try {
let item = _c;
resArray.push(item);
}
finally {
_d = true;
}
}

@@ -75,3 +89,3 @@ }

try {
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
}

@@ -78,0 +92,0 @@ finally { if (e_2) throw e_2.error; }

@@ -22,3 +22,3 @@ /*

function getManagedClustersByResourceGroup() {
var e_1, _a;
var _a, e_1, _b, _c;
return __awaiter(this, void 0, void 0, function* () {

@@ -31,5 +31,12 @@ const subscriptionId = process.env["CONTAINERSERVICE_SUBSCRIPTION_ID"] || "subid1";

try {
for (var _b = __asyncValues(client.managedClusters.listByResourceGroup(resourceGroupName)), _c; _c = yield _b.next(), !_c.done;) {
let item = _c.value;
resArray.push(item);
for (var _d = true, _e = __asyncValues(client.managedClusters.listByResourceGroup(resourceGroupName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
_c = _f.value;
_d = false;
try {
let item = _c;
resArray.push(item);
}
finally {
_d = true;
}
}

@@ -40,3 +47,3 @@ }

try {
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
}

@@ -43,0 +50,0 @@ finally { if (e_1) throw e_1.error; }

@@ -22,3 +22,3 @@ /*

function listOutboundNetworkDependenciesEndpointsByManagedCluster() {
var e_1, _a;
var _a, e_1, _b, _c;
return __awaiter(this, void 0, void 0, function* () {

@@ -32,5 +32,12 @@ const subscriptionId = process.env["CONTAINERSERVICE_SUBSCRIPTION_ID"] || "subid1";

try {
for (var _b = __asyncValues(client.managedClusters.listOutboundNetworkDependenciesEndpoints(resourceGroupName, resourceName)), _c; _c = yield _b.next(), !_c.done;) {
let item = _c.value;
resArray.push(item);
for (var _d = true, _e = __asyncValues(client.managedClusters.listOutboundNetworkDependenciesEndpoints(resourceGroupName, resourceName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
_c = _f.value;
_d = false;
try {
let item = _c;
resArray.push(item);
}
finally {
_d = true;
}
}

@@ -41,3 +48,3 @@ }

try {
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
}

@@ -44,0 +51,0 @@ finally { if (e_1) throw e_1.error; }

@@ -22,3 +22,3 @@ /*

function listManagedClusters() {
var e_1, _a;
var _a, e_1, _b, _c;
return __awaiter(this, void 0, void 0, function* () {

@@ -30,5 +30,12 @@ const subscriptionId = process.env["CONTAINERSERVICE_SUBSCRIPTION_ID"] || "subid1";

try {
for (var _b = __asyncValues(client.managedClusters.list()), _c; _c = yield _b.next(), !_c.done;) {
let item = _c.value;
resArray.push(item);
for (var _d = true, _e = __asyncValues(client.managedClusters.list()), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
_c = _f.value;
_d = false;
try {
let item = _c;
resArray.push(item);
}
finally {
_d = true;
}
}

@@ -39,3 +46,3 @@ }

try {
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
}

@@ -42,0 +49,0 @@ finally { if (e_1) throw e_1.error; }

@@ -22,3 +22,3 @@ /*

function listManagedClusterSnapshotsByResourceGroup() {
var e_1, _a;
var _a, e_1, _b, _c;
return __awaiter(this, void 0, void 0, function* () {

@@ -31,5 +31,12 @@ const subscriptionId = process.env["CONTAINERSERVICE_SUBSCRIPTION_ID"] || "subid1";

try {
for (var _b = __asyncValues(client.managedClusterSnapshots.listByResourceGroup(resourceGroupName)), _c; _c = yield _b.next(), !_c.done;) {
let item = _c.value;
resArray.push(item);
for (var _d = true, _e = __asyncValues(client.managedClusterSnapshots.listByResourceGroup(resourceGroupName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
_c = _f.value;
_d = false;
try {
let item = _c;
resArray.push(item);
}
finally {
_d = true;
}
}

@@ -40,3 +47,3 @@ }

try {
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
}

@@ -43,0 +50,0 @@ finally { if (e_1) throw e_1.error; }

@@ -22,3 +22,3 @@ /*

function listManagedClusterSnapshots() {
var e_1, _a;
var _a, e_1, _b, _c;
return __awaiter(this, void 0, void 0, function* () {

@@ -30,5 +30,12 @@ const subscriptionId = process.env["CONTAINERSERVICE_SUBSCRIPTION_ID"] || "subid1";

try {
for (var _b = __asyncValues(client.managedClusterSnapshots.list()), _c; _c = yield _b.next(), !_c.done;) {
let item = _c.value;
resArray.push(item);
for (var _d = true, _e = __asyncValues(client.managedClusterSnapshots.list()), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
_c = _f.value;
_d = false;
try {
let item = _c;
resArray.push(item);
}
finally {
_d = true;
}
}

@@ -39,3 +46,3 @@ }

try {
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
}

@@ -42,0 +49,0 @@ finally { if (e_1) throw e_1.error; }

@@ -22,3 +22,3 @@ /*

function listAvailableOperationsForTheContainerServiceResourceProvider() {
var e_1, _a;
var _a, e_1, _b, _c;
return __awaiter(this, void 0, void 0, function* () {

@@ -31,5 +31,12 @@ const subscriptionId = process.env["CONTAINERSERVICE_SUBSCRIPTION_ID"] ||

try {
for (var _b = __asyncValues(client.operations.list()), _c; _c = yield _b.next(), !_c.done;) {
let item = _c.value;
resArray.push(item);
for (var _d = true, _e = __asyncValues(client.operations.list()), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
_c = _f.value;
_d = false;
try {
let item = _c;
resArray.push(item);
}
finally {
_d = true;
}
}

@@ -40,3 +47,3 @@ }

try {
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
}

@@ -43,0 +50,0 @@ finally { if (e_1) throw e_1.error; }

@@ -22,3 +22,3 @@ /*

function listSnapshotsByResourceGroup() {
var e_1, _a;
var _a, e_1, _b, _c;
return __awaiter(this, void 0, void 0, function* () {

@@ -31,5 +31,12 @@ const subscriptionId = process.env["CONTAINERSERVICE_SUBSCRIPTION_ID"] || "subid1";

try {
for (var _b = __asyncValues(client.snapshots.listByResourceGroup(resourceGroupName)), _c; _c = yield _b.next(), !_c.done;) {
let item = _c.value;
resArray.push(item);
for (var _d = true, _e = __asyncValues(client.snapshots.listByResourceGroup(resourceGroupName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
_c = _f.value;
_d = false;
try {
let item = _c;
resArray.push(item);
}
finally {
_d = true;
}
}

@@ -40,3 +47,3 @@ }

try {
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
}

@@ -43,0 +50,0 @@ finally { if (e_1) throw e_1.error; }

@@ -22,3 +22,3 @@ /*

function listSnapshots() {
var e_1, _a;
var _a, e_1, _b, _c;
return __awaiter(this, void 0, void 0, function* () {

@@ -30,5 +30,12 @@ const subscriptionId = process.env["CONTAINERSERVICE_SUBSCRIPTION_ID"] || "subid1";

try {
for (var _b = __asyncValues(client.snapshots.list()), _c; _c = yield _b.next(), !_c.done;) {
let item = _c.value;
resArray.push(item);
for (var _d = true, _e = __asyncValues(client.snapshots.list()), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
_c = _f.value;
_d = false;
try {
let item = _c;
resArray.push(item);
}
finally {
_d = true;
}
}

@@ -39,3 +46,3 @@ }

try {
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
}

@@ -42,0 +49,0 @@ finally { if (e_1) throw e_1.error; }

@@ -22,3 +22,3 @@ /*

function listTrustedAccessRoleBindings() {
var e_1, _a;
var _a, e_1, _b, _c;
return __awaiter(this, void 0, void 0, function* () {

@@ -32,5 +32,12 @@ const subscriptionId = process.env["CONTAINERSERVICE_SUBSCRIPTION_ID"] || "subid1";

try {
for (var _b = __asyncValues(client.trustedAccessRoleBindings.list(resourceGroupName, resourceName)), _c; _c = yield _b.next(), !_c.done;) {
let item = _c.value;
resArray.push(item);
for (var _d = true, _e = __asyncValues(client.trustedAccessRoleBindings.list(resourceGroupName, resourceName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
_c = _f.value;
_d = false;
try {
let item = _c;
resArray.push(item);
}
finally {
_d = true;
}
}

@@ -41,3 +48,3 @@ }

try {
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
}

@@ -44,0 +51,0 @@ finally { if (e_1) throw e_1.error; }

@@ -22,3 +22,3 @@ /*

function listTrustedAccessRoles() {
var e_1, _a;
var _a, e_1, _b, _c;
return __awaiter(this, void 0, void 0, function* () {

@@ -31,5 +31,12 @@ const subscriptionId = process.env["CONTAINERSERVICE_SUBSCRIPTION_ID"] || "subid1";

try {
for (var _b = __asyncValues(client.trustedAccessRoles.list(location)), _c; _c = yield _b.next(), !_c.done;) {
let item = _c.value;
resArray.push(item);
for (var _d = true, _e = __asyncValues(client.trustedAccessRoles.list(location)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
_c = _f.value;
_d = false;
try {
let item = _c;
resArray.push(item);
}
finally {
_d = true;
}
}

@@ -40,3 +47,3 @@ }

try {
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
}

@@ -43,0 +50,0 @@ finally { if (e_1) throw e_1.error; }

@@ -70,7 +70,14 @@ /*

return __asyncGenerator(this, arguments, function* listPagingAll_1() {
var e_1, _a;
var _a, e_1, _b, _c;
try {
for (var _b = __asyncValues(this.listPagingPage(resourceGroupName, resourceName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
for (var _d = true, _e = __asyncValues(this.listPagingPage(resourceGroupName, resourceName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a;) {
_c = _f.value;
_d = false;
try {
const page = _c;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
finally {
_d = true;
}
}

@@ -81,3 +88,3 @@ }

try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
}

@@ -84,0 +91,0 @@ finally { if (e_1) throw e_1.error; }

@@ -68,7 +68,14 @@ /*

return __asyncGenerator(this, arguments, function* listByManagedClusterPagingAll_1() {
var e_1, _a;
var _a, e_1, _b, _c;
try {
for (var _b = __asyncValues(this.listByManagedClusterPagingPage(resourceGroupName, resourceName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
for (var _d = true, _e = __asyncValues(this.listByManagedClusterPagingPage(resourceGroupName, resourceName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a;) {
_c = _f.value;
_d = false;
try {
const page = _c;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
finally {
_d = true;
}
}

@@ -79,3 +86,3 @@ }

try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
}

@@ -82,0 +89,0 @@ finally { if (e_1) throw e_1.error; }

@@ -66,7 +66,14 @@ /*

return __asyncGenerator(this, arguments, function* listPagingAll_1() {
var e_1, _a;
var _a, e_1, _b, _c;
try {
for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
for (var _d = true, _e = __asyncValues(this.listPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a;) {
_c = _f.value;
_d = false;
try {
const page = _c;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
finally {
_d = true;
}
}

@@ -77,3 +84,3 @@ }

try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
}

@@ -128,7 +135,14 @@ finally { if (e_1) throw e_1.error; }

return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
var e_2, _a;
var _a, e_2, _b, _c;
try {
for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
for (var _d = true, _e = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a;) {
_c = _f.value;
_d = false;
try {
const page = _c;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
finally {
_d = true;
}
}

@@ -139,3 +153,3 @@ }

try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
}

@@ -142,0 +156,0 @@ finally { if (e_2) throw e_2.error; }

@@ -52,7 +52,14 @@ /*

return __asyncGenerator(this, arguments, function* listPagingAll_1() {
var e_1, _a;
var _a, e_1, _b, _c;
try {
for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
for (var _d = true, _e = __asyncValues(this.listPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a;) {
_c = _f.value;
_d = false;
try {
const page = _c;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
finally {
_d = true;
}
}

@@ -63,3 +70,3 @@ }

try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
}

@@ -66,0 +73,0 @@ finally { if (e_1) throw e_1.error; }

@@ -66,7 +66,14 @@ /*

return __asyncGenerator(this, arguments, function* listPagingAll_1() {
var e_1, _a;
var _a, e_1, _b, _c;
try {
for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
for (var _d = true, _e = __asyncValues(this.listPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a;) {
_c = _f.value;
_d = false;
try {
const page = _c;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
finally {
_d = true;
}
}

@@ -77,3 +84,3 @@ }

try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
}

@@ -128,7 +135,14 @@ finally { if (e_1) throw e_1.error; }

return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
var e_2, _a;
var _a, e_2, _b, _c;
try {
for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
for (var _d = true, _e = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a;) {
_c = _f.value;
_d = false;
try {
const page = _c;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
finally {
_d = true;
}
}

@@ -139,3 +153,3 @@ }

try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
}

@@ -142,0 +156,0 @@ finally { if (e_2) throw e_2.error; }

@@ -68,7 +68,14 @@ /*

return __asyncGenerator(this, arguments, function* listPagingAll_1() {
var e_1, _a;
var _a, e_1, _b, _c;
try {
for (var _b = __asyncValues(this.listPagingPage(resourceGroupName, resourceName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
for (var _d = true, _e = __asyncValues(this.listPagingPage(resourceGroupName, resourceName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a;) {
_c = _f.value;
_d = false;
try {
const page = _c;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
finally {
_d = true;
}
}

@@ -79,3 +86,3 @@ }

try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
}

@@ -82,0 +89,0 @@ finally { if (e_1) throw e_1.error; }

@@ -67,7 +67,14 @@ /*

return __asyncGenerator(this, arguments, function* listPagingAll_1() {
var e_1, _a;
var _a, e_1, _b, _c;
try {
for (var _b = __asyncValues(this.listPagingPage(location, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
for (var _d = true, _e = __asyncValues(this.listPagingPage(location, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a;) {
_c = _f.value;
_d = false;
try {
const page = _c;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
finally {
_d = true;
}
}

@@ -78,3 +85,3 @@ }

try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
}

@@ -81,0 +88,0 @@ finally { if (e_1) throw e_1.error; }

@@ -94,9 +94,16 @@ /*

it("managedClusters list test", function () {
var e_1, _a;
var _a, e_1, _b, _c;
return __awaiter(this, void 0, void 0, function* () {
const resArray = new Array();
try {
for (var _b = __asyncValues(client.managedClusters.listByResourceGroup(resourceGroupName)), _c; _c = yield _b.next(), !_c.done;) {
let item = _c.value;
resArray.push(item);
for (var _d = true, _e = __asyncValues(client.managedClusters.listByResourceGroup(resourceGroupName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
_c = _f.value;
_d = false;
try {
let item = _c;
resArray.push(item);
}
finally {
_d = true;
}
}

@@ -107,3 +114,3 @@ }

try {
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
}

@@ -122,3 +129,3 @@ finally { if (e_1) throw e_1.error; }

it("managedClusters delete test", function () {
var e_2, _a;
var _a, e_2, _b, _c;
return __awaiter(this, void 0, void 0, function* () {

@@ -128,5 +135,12 @@ const res = yield client.managedClusters.beginDeleteAndWait(resourceGroupName, resourceName, testPollingOptions);

try {
for (var _b = __asyncValues(client.managedClusters.listByResourceGroup(resourceGroupName)), _c; _c = yield _b.next(), !_c.done;) {
let item = _c.value;
resArray.push(item);
for (var _d = true, _e = __asyncValues(client.managedClusters.listByResourceGroup(resourceGroupName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
_c = _f.value;
_d = false;
try {
let item = _c;
resArray.push(item);
}
finally {
_d = true;
}
}

@@ -137,3 +151,3 @@ }

try {
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
}

@@ -140,0 +154,0 @@ finally { if (e_2) throw e_2.error; }

@@ -6,3 +6,3 @@ {

"description": "A generated SDK for ContainerServiceClient.",
"version": "18.0.0-alpha.20230412.1",
"version": "18.0.0-alpha.20230419.1",
"engines": {

@@ -40,3 +40,3 @@ "node": ">=14.0.0"

"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~4.8.0",
"typescript": "~5.0.0",
"uglify-js": "^3.4.9",

@@ -43,0 +43,0 @@ "rimraf": "^3.0.0",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc