@azure/arm-containerservice
Advanced tools
Comparing version 15.0.0-alpha.20211111.1 to 15.0.0-alpha.20211117.1
@@ -1,2 +0,4 @@ | ||
export {}; | ||
export declare const testPollingOptions: { | ||
updateIntervalInMs: number | undefined; | ||
}; | ||
//# sourceMappingURL=containerservice_examples.d.ts.map |
@@ -9,3 +9,3 @@ /* | ||
import { __asyncValues, __awaiter } from "tslib"; | ||
import { env, record } from "@azure-tools/test-recorder"; | ||
import { env, record, isPlaybackMode } from "@azure-tools/test-recorder"; | ||
import * as assert from "assert"; | ||
@@ -26,2 +26,5 @@ import { ClientSecretCredential } from "@azure/identity"; | ||
}; | ||
export const testPollingOptions = { | ||
updateIntervalInMs: isPlaybackMode() ? 0 : undefined, | ||
}; | ||
describe("ContainerService test", () => { | ||
@@ -78,3 +81,3 @@ let recorder; | ||
location: location | ||
}); | ||
}, testPollingOptions); | ||
assert.equal(res.name, resourceName); | ||
@@ -117,3 +120,3 @@ }); | ||
return __awaiter(this, void 0, void 0, function* () { | ||
const res = yield client.managedClusters.beginUpdateTagsAndWait(resourceGroupName, resourceName, { tags: { tier: "testing", archv3: "" } }); | ||
const res = yield client.managedClusters.beginUpdateTagsAndWait(resourceGroupName, resourceName, { tags: { tier: "testing", archv3: "" } }, testPollingOptions); | ||
assert.equal(res.type, "Microsoft.ContainerService/ManagedClusters"); | ||
@@ -125,3 +128,3 @@ }); | ||
return __awaiter(this, void 0, void 0, function* () { | ||
const res = yield client.managedClusters.beginDeleteAndWait(resourceGroupName, resourceName); | ||
const res = yield client.managedClusters.beginDeleteAndWait(resourceGroupName, resourceName, testPollingOptions); | ||
const resArray = new Array(); | ||
@@ -128,0 +131,0 @@ try { |
@@ -6,3 +6,3 @@ { | ||
"description": "A generated SDK for ContainerServiceClient.", | ||
"version": "15.0.0-alpha.20211111.1", | ||
"version": "15.0.0-alpha.20211117.1", | ||
"engines": { | ||
@@ -9,0 +9,0 @@ "node": ">=12.0.0" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2238242
32588