@azure-rest/load-testing 1.1.0-alpha.20251003.1 → 1.1.0-alpha.20251007.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/pollingHelper.d.ts +4 -4
- package/dist/browser/pollingHelper.d.ts.map +1 -1
- package/dist/browser/pollingHelper.js +4 -4
- package/dist/browser/pollingHelper.js.map +1 -1
- package/dist/commonjs/pollingHelper.d.ts +4 -4
- package/dist/commonjs/pollingHelper.d.ts.map +1 -1
- package/dist/commonjs/pollingHelper.js +4 -4
- package/dist/commonjs/pollingHelper.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/pollingHelper.d.ts +4 -4
- package/dist/esm/pollingHelper.d.ts.map +1 -1
- package/dist/esm/pollingHelper.js +4 -4
- package/dist/esm/pollingHelper.js.map +1 -1
- package/dist/react-native/pollingHelper.d.ts +4 -4
- package/dist/react-native/pollingHelper.d.ts.map +1 -1
- package/dist/react-native/pollingHelper.js +4 -4
- package/dist/react-native/pollingHelper.js.map +1 -1
- package/package.json +3 -3
- package/review/load-testing-node.api.md +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AzureLoadTestingClient } from "./clientDefinitions.js";
|
|
2
|
-
import type { FileUploadAndValidatePoller, TestUploadFileSuccessResponse, TestRunCompletionPoller, TestRunCreateOrUpdateSuccessResponse, TestProfileRunCreateOrUpdateSuccessResponse, TestProfileRunCompletionPoller } from "./models.js";
|
|
3
|
-
export declare function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestUploadFileSuccessResponse): Promise<FileUploadAndValidatePoller>;
|
|
4
|
-
export declare function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestRunCreateOrUpdateSuccessResponse): Promise<TestRunCompletionPoller>;
|
|
5
|
-
export declare function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestProfileRunCreateOrUpdateSuccessResponse): Promise<TestProfileRunCompletionPoller>;
|
|
2
|
+
import type { FileUploadAndValidatePoller, TestUploadFileSuccessResponse, TestRunCompletionPoller, TestRunCreateOrUpdateSuccessResponse, TestProfileRunCreateOrUpdateSuccessResponse, TestProfileRunCompletionPoller, PolledOperationOptions } from "./models.js";
|
|
3
|
+
export declare function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestUploadFileSuccessResponse, polledOperationOptions?: PolledOperationOptions): Promise<FileUploadAndValidatePoller>;
|
|
4
|
+
export declare function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestRunCreateOrUpdateSuccessResponse, polledOperationOptions?: PolledOperationOptions): Promise<TestRunCompletionPoller>;
|
|
5
|
+
export declare function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestProfileRunCreateOrUpdateSuccessResponse, polledOperationOptions?: PolledOperationOptions): Promise<TestProfileRunCompletionPoller>;
|
|
6
6
|
//# sourceMappingURL=pollingHelper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pollingHelper.d.ts","sourceRoot":"","sources":["../../src/pollingHelper.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAIrE,OAAO,KAAK,EACV,2BAA2B,EAC3B,6BAA6B,EAC7B,uBAAuB,EACvB,oCAAoC,EACpC,2CAA2C,EAC3C,8BAA8B,
|
|
1
|
+
{"version":3,"file":"pollingHelper.d.ts","sourceRoot":"","sources":["../../src/pollingHelper.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAIrE,OAAO,KAAK,EACV,2BAA2B,EAC3B,6BAA6B,EAC7B,uBAAuB,EACvB,oCAAoC,EACpC,2CAA2C,EAC3C,8BAA8B,EAC9B,sBAAsB,EACvB,MAAM,aAAa,CAAC;AAErB,wBAAsB,oBAAoB,CACxC,MAAM,EAAE,sBAAsB,EAC9B,eAAe,EAAE,6BAA6B,EAC9C,sBAAsB,CAAC,EAAE,sBAAsB,GAC9C,OAAO,CAAC,2BAA2B,CAAC,CAAC;AACxC,wBAAsB,oBAAoB,CACxC,MAAM,EAAE,sBAAsB,EAC9B,eAAe,EAAE,oCAAoC,EACrD,sBAAsB,CAAC,EAAE,sBAAsB,GAC9C,OAAO,CAAC,uBAAuB,CAAC,CAAC;AACpC,wBAAsB,oBAAoB,CACxC,MAAM,EAAE,sBAAsB,EAC9B,eAAe,EAAE,2CAA2C,EAC5D,sBAAsB,CAAC,EAAE,sBAAsB,GAC9C,OAAO,CAAC,8BAA8B,CAAC,CAAC"}
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
import { getFileValidationPoller } from "./getFileValidationPoller.js";
|
|
4
4
|
import { getTestRunCompletionPoller } from "./getTestRunCompletionPoller.js";
|
|
5
5
|
import { getTestProfileRunCompletionPoller } from "./getTestProfileRunCompletionPoller.js";
|
|
6
|
-
export async function getLongRunningPoller(client, initialResponse) {
|
|
6
|
+
export async function getLongRunningPoller(client, initialResponse, polledOperationOptions = {}) {
|
|
7
7
|
if (isFileUpload(initialResponse)) {
|
|
8
|
-
return getFileValidationPoller(client, initialResponse);
|
|
8
|
+
return getFileValidationPoller(client, initialResponse, polledOperationOptions);
|
|
9
9
|
}
|
|
10
10
|
else if (isTestRunCreation(initialResponse)) {
|
|
11
|
-
return getTestRunCompletionPoller(client, initialResponse);
|
|
11
|
+
return getTestRunCompletionPoller(client, initialResponse, polledOperationOptions);
|
|
12
12
|
}
|
|
13
13
|
else if (isTestProfileRunCreation(initialResponse)) {
|
|
14
|
-
return getTestProfileRunCompletionPoller(client, initialResponse);
|
|
14
|
+
return getTestProfileRunCompletionPoller(client, initialResponse, polledOperationOptions);
|
|
15
15
|
}
|
|
16
16
|
throw new Error("The Operation is not a long running operation.");
|
|
17
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pollingHelper.js","sourceRoot":"","sources":["../../src/pollingHelper.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;
|
|
1
|
+
{"version":3,"file":"pollingHelper.js","sourceRoot":"","sources":["../../src/pollingHelper.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AA0B3F,MAAM,CAAC,KAAK,UAAU,oBAAoB,CACxC,MAA8B,EAC9B,eAG+C,EAC/C,yBAAiD,EAAE;IAEnD,IAAI,YAAY,CAAC,eAAe,CAAC,EAAE,CAAC;QAClC,OAAO,uBAAuB,CAAC,MAAM,EAAE,eAAe,EAAE,sBAAsB,CAAC,CAAC;IAClF,CAAC;SAAM,IAAI,iBAAiB,CAAC,eAAe,CAAC,EAAE,CAAC;QAC9C,OAAO,0BAA0B,CAAC,MAAM,EAAE,eAAe,EAAE,sBAAsB,CAAC,CAAC;IACrF,CAAC;SAAM,IAAI,wBAAwB,CAAC,eAAe,CAAC,EAAE,CAAC;QACrD,OAAO,iCAAiC,CAAC,MAAM,EAAE,eAAe,EAAE,sBAAsB,CAAC,CAAC;IAC5F,CAAC;IAED,MAAM,IAAI,KAAK,CAAC,gDAAgD,CAAC,CAAC;AACpE,CAAC;AAED,SAAS,YAAY,CAAC,QAAa;IACjC,OAAO,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;AAClD,CAAC;AAED,SAAS,iBAAiB,CAAC,QAAa;IACtC,OAAO,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;AACtD,CAAC;AAED,SAAS,wBAAwB,CAC/B,QAAa;IAEb,OAAO,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,qBAAqB,CAAC,CAAC;AAC9D,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AzureLoadTestingClient } from \"./clientDefinitions.js\";\nimport { getFileValidationPoller } from \"./getFileValidationPoller.js\";\nimport { getTestRunCompletionPoller } from \"./getTestRunCompletionPoller.js\";\nimport { getTestProfileRunCompletionPoller } from \"./getTestProfileRunCompletionPoller.js\";\nimport type {\n FileUploadAndValidatePoller,\n TestUploadFileSuccessResponse,\n TestRunCompletionPoller,\n TestRunCreateOrUpdateSuccessResponse,\n TestProfileRunCreateOrUpdateSuccessResponse,\n TestProfileRunCompletionPoller,\n PolledOperationOptions,\n} from \"./models.js\";\n\nexport async function getLongRunningPoller(\n client: AzureLoadTestingClient,\n initialResponse: TestUploadFileSuccessResponse,\n polledOperationOptions?: PolledOperationOptions,\n): Promise<FileUploadAndValidatePoller>;\nexport async function getLongRunningPoller(\n client: AzureLoadTestingClient,\n initialResponse: TestRunCreateOrUpdateSuccessResponse,\n polledOperationOptions?: PolledOperationOptions,\n): Promise<TestRunCompletionPoller>;\nexport async function getLongRunningPoller(\n client: AzureLoadTestingClient,\n initialResponse: TestProfileRunCreateOrUpdateSuccessResponse,\n polledOperationOptions?: PolledOperationOptions,\n): Promise<TestProfileRunCompletionPoller>;\nexport async function getLongRunningPoller(\n client: AzureLoadTestingClient,\n initialResponse:\n | TestRunCreateOrUpdateSuccessResponse\n | TestUploadFileSuccessResponse\n | TestProfileRunCreateOrUpdateSuccessResponse,\n polledOperationOptions: PolledOperationOptions = {},\n): Promise<TestRunCompletionPoller | FileUploadAndValidatePoller | TestProfileRunCompletionPoller> {\n if (isFileUpload(initialResponse)) {\n return getFileValidationPoller(client, initialResponse, polledOperationOptions);\n } else if (isTestRunCreation(initialResponse)) {\n return getTestRunCompletionPoller(client, initialResponse, polledOperationOptions);\n } else if (isTestProfileRunCreation(initialResponse)) {\n return getTestProfileRunCompletionPoller(client, initialResponse, polledOperationOptions);\n }\n\n throw new Error(\"The Operation is not a long running operation.\");\n}\n\nfunction isFileUpload(response: any): response is TestUploadFileSuccessResponse {\n return response.request.url.includes(\"/files/\");\n}\n\nfunction isTestRunCreation(response: any): response is TestRunCreateOrUpdateSuccessResponse {\n return response.request.url.includes(\"/test-runs/\");\n}\n\nfunction isTestProfileRunCreation(\n response: any,\n): response is TestProfileRunCreateOrUpdateSuccessResponse {\n return response.request.url.includes(\"/test-profile-runs/\");\n}\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AzureLoadTestingClient } from "./clientDefinitions.js";
|
|
2
|
-
import type { FileUploadAndValidatePoller, TestUploadFileSuccessResponse, TestRunCompletionPoller, TestRunCreateOrUpdateSuccessResponse, TestProfileRunCreateOrUpdateSuccessResponse, TestProfileRunCompletionPoller } from "./models.js";
|
|
3
|
-
export declare function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestUploadFileSuccessResponse): Promise<FileUploadAndValidatePoller>;
|
|
4
|
-
export declare function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestRunCreateOrUpdateSuccessResponse): Promise<TestRunCompletionPoller>;
|
|
5
|
-
export declare function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestProfileRunCreateOrUpdateSuccessResponse): Promise<TestProfileRunCompletionPoller>;
|
|
2
|
+
import type { FileUploadAndValidatePoller, TestUploadFileSuccessResponse, TestRunCompletionPoller, TestRunCreateOrUpdateSuccessResponse, TestProfileRunCreateOrUpdateSuccessResponse, TestProfileRunCompletionPoller, PolledOperationOptions } from "./models.js";
|
|
3
|
+
export declare function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestUploadFileSuccessResponse, polledOperationOptions?: PolledOperationOptions): Promise<FileUploadAndValidatePoller>;
|
|
4
|
+
export declare function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestRunCreateOrUpdateSuccessResponse, polledOperationOptions?: PolledOperationOptions): Promise<TestRunCompletionPoller>;
|
|
5
|
+
export declare function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestProfileRunCreateOrUpdateSuccessResponse, polledOperationOptions?: PolledOperationOptions): Promise<TestProfileRunCompletionPoller>;
|
|
6
6
|
//# sourceMappingURL=pollingHelper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pollingHelper.d.ts","sourceRoot":"","sources":["../../src/pollingHelper.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAIrE,OAAO,KAAK,EACV,2BAA2B,EAC3B,6BAA6B,EAC7B,uBAAuB,EACvB,oCAAoC,EACpC,2CAA2C,EAC3C,8BAA8B,
|
|
1
|
+
{"version":3,"file":"pollingHelper.d.ts","sourceRoot":"","sources":["../../src/pollingHelper.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAIrE,OAAO,KAAK,EACV,2BAA2B,EAC3B,6BAA6B,EAC7B,uBAAuB,EACvB,oCAAoC,EACpC,2CAA2C,EAC3C,8BAA8B,EAC9B,sBAAsB,EACvB,MAAM,aAAa,CAAC;AAErB,wBAAsB,oBAAoB,CACxC,MAAM,EAAE,sBAAsB,EAC9B,eAAe,EAAE,6BAA6B,EAC9C,sBAAsB,CAAC,EAAE,sBAAsB,GAC9C,OAAO,CAAC,2BAA2B,CAAC,CAAC;AACxC,wBAAsB,oBAAoB,CACxC,MAAM,EAAE,sBAAsB,EAC9B,eAAe,EAAE,oCAAoC,EACrD,sBAAsB,CAAC,EAAE,sBAAsB,GAC9C,OAAO,CAAC,uBAAuB,CAAC,CAAC;AACpC,wBAAsB,oBAAoB,CACxC,MAAM,EAAE,sBAAsB,EAC9B,eAAe,EAAE,2CAA2C,EAC5D,sBAAsB,CAAC,EAAE,sBAAsB,GAC9C,OAAO,CAAC,8BAA8B,CAAC,CAAC"}
|
|
@@ -6,15 +6,15 @@ exports.getLongRunningPoller = getLongRunningPoller;
|
|
|
6
6
|
const getFileValidationPoller_js_1 = require("./getFileValidationPoller.js");
|
|
7
7
|
const getTestRunCompletionPoller_js_1 = require("./getTestRunCompletionPoller.js");
|
|
8
8
|
const getTestProfileRunCompletionPoller_js_1 = require("./getTestProfileRunCompletionPoller.js");
|
|
9
|
-
async function getLongRunningPoller(client, initialResponse) {
|
|
9
|
+
async function getLongRunningPoller(client, initialResponse, polledOperationOptions = {}) {
|
|
10
10
|
if (isFileUpload(initialResponse)) {
|
|
11
|
-
return (0, getFileValidationPoller_js_1.getFileValidationPoller)(client, initialResponse);
|
|
11
|
+
return (0, getFileValidationPoller_js_1.getFileValidationPoller)(client, initialResponse, polledOperationOptions);
|
|
12
12
|
}
|
|
13
13
|
else if (isTestRunCreation(initialResponse)) {
|
|
14
|
-
return (0, getTestRunCompletionPoller_js_1.getTestRunCompletionPoller)(client, initialResponse);
|
|
14
|
+
return (0, getTestRunCompletionPoller_js_1.getTestRunCompletionPoller)(client, initialResponse, polledOperationOptions);
|
|
15
15
|
}
|
|
16
16
|
else if (isTestProfileRunCreation(initialResponse)) {
|
|
17
|
-
return (0, getTestProfileRunCompletionPoller_js_1.getTestProfileRunCompletionPoller)(client, initialResponse);
|
|
17
|
+
return (0, getTestProfileRunCompletionPoller_js_1.getTestProfileRunCompletionPoller)(client, initialResponse, polledOperationOptions);
|
|
18
18
|
}
|
|
19
19
|
throw new Error("The Operation is not a long running operation.");
|
|
20
20
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pollingHelper.js","sourceRoot":"","sources":["../../src/pollingHelper.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;
|
|
1
|
+
{"version":3,"file":"pollingHelper.js","sourceRoot":"","sources":["../../src/pollingHelper.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AA+BlC,oDAiBC;AA7CD,6EAAuE;AACvE,mFAA6E;AAC7E,iGAA2F;AA0BpF,KAAK,UAAU,oBAAoB,CACxC,MAA8B,EAC9B,eAG+C,EAC/C,yBAAiD,EAAE;IAEnD,IAAI,YAAY,CAAC,eAAe,CAAC,EAAE,CAAC;QAClC,OAAO,IAAA,oDAAuB,EAAC,MAAM,EAAE,eAAe,EAAE,sBAAsB,CAAC,CAAC;IAClF,CAAC;SAAM,IAAI,iBAAiB,CAAC,eAAe,CAAC,EAAE,CAAC;QAC9C,OAAO,IAAA,0DAA0B,EAAC,MAAM,EAAE,eAAe,EAAE,sBAAsB,CAAC,CAAC;IACrF,CAAC;SAAM,IAAI,wBAAwB,CAAC,eAAe,CAAC,EAAE,CAAC;QACrD,OAAO,IAAA,wEAAiC,EAAC,MAAM,EAAE,eAAe,EAAE,sBAAsB,CAAC,CAAC;IAC5F,CAAC;IAED,MAAM,IAAI,KAAK,CAAC,gDAAgD,CAAC,CAAC;AACpE,CAAC;AAED,SAAS,YAAY,CAAC,QAAa;IACjC,OAAO,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;AAClD,CAAC;AAED,SAAS,iBAAiB,CAAC,QAAa;IACtC,OAAO,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;AACtD,CAAC;AAED,SAAS,wBAAwB,CAC/B,QAAa;IAEb,OAAO,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,qBAAqB,CAAC,CAAC;AAC9D,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AzureLoadTestingClient } from \"./clientDefinitions.js\";\nimport { getFileValidationPoller } from \"./getFileValidationPoller.js\";\nimport { getTestRunCompletionPoller } from \"./getTestRunCompletionPoller.js\";\nimport { getTestProfileRunCompletionPoller } from \"./getTestProfileRunCompletionPoller.js\";\nimport type {\n FileUploadAndValidatePoller,\n TestUploadFileSuccessResponse,\n TestRunCompletionPoller,\n TestRunCreateOrUpdateSuccessResponse,\n TestProfileRunCreateOrUpdateSuccessResponse,\n TestProfileRunCompletionPoller,\n PolledOperationOptions,\n} from \"./models.js\";\n\nexport async function getLongRunningPoller(\n client: AzureLoadTestingClient,\n initialResponse: TestUploadFileSuccessResponse,\n polledOperationOptions?: PolledOperationOptions,\n): Promise<FileUploadAndValidatePoller>;\nexport async function getLongRunningPoller(\n client: AzureLoadTestingClient,\n initialResponse: TestRunCreateOrUpdateSuccessResponse,\n polledOperationOptions?: PolledOperationOptions,\n): Promise<TestRunCompletionPoller>;\nexport async function getLongRunningPoller(\n client: AzureLoadTestingClient,\n initialResponse: TestProfileRunCreateOrUpdateSuccessResponse,\n polledOperationOptions?: PolledOperationOptions,\n): Promise<TestProfileRunCompletionPoller>;\nexport async function getLongRunningPoller(\n client: AzureLoadTestingClient,\n initialResponse:\n | TestRunCreateOrUpdateSuccessResponse\n | TestUploadFileSuccessResponse\n | TestProfileRunCreateOrUpdateSuccessResponse,\n polledOperationOptions: PolledOperationOptions = {},\n): Promise<TestRunCompletionPoller | FileUploadAndValidatePoller | TestProfileRunCompletionPoller> {\n if (isFileUpload(initialResponse)) {\n return getFileValidationPoller(client, initialResponse, polledOperationOptions);\n } else if (isTestRunCreation(initialResponse)) {\n return getTestRunCompletionPoller(client, initialResponse, polledOperationOptions);\n } else if (isTestProfileRunCreation(initialResponse)) {\n return getTestProfileRunCompletionPoller(client, initialResponse, polledOperationOptions);\n }\n\n throw new Error(\"The Operation is not a long running operation.\");\n}\n\nfunction isFileUpload(response: any): response is TestUploadFileSuccessResponse {\n return response.request.url.includes(\"/files/\");\n}\n\nfunction isTestRunCreation(response: any): response is TestRunCreateOrUpdateSuccessResponse {\n return response.request.url.includes(\"/test-runs/\");\n}\n\nfunction isTestProfileRunCreation(\n response: any,\n): response is TestProfileRunCreateOrUpdateSuccessResponse {\n return response.request.url.includes(\"/test-profile-runs/\");\n}\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AzureLoadTestingClient } from "./clientDefinitions.js";
|
|
2
|
-
import type { FileUploadAndValidatePoller, TestUploadFileSuccessResponse, TestRunCompletionPoller, TestRunCreateOrUpdateSuccessResponse, TestProfileRunCreateOrUpdateSuccessResponse, TestProfileRunCompletionPoller } from "./models.js";
|
|
3
|
-
export declare function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestUploadFileSuccessResponse): Promise<FileUploadAndValidatePoller>;
|
|
4
|
-
export declare function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestRunCreateOrUpdateSuccessResponse): Promise<TestRunCompletionPoller>;
|
|
5
|
-
export declare function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestProfileRunCreateOrUpdateSuccessResponse): Promise<TestProfileRunCompletionPoller>;
|
|
2
|
+
import type { FileUploadAndValidatePoller, TestUploadFileSuccessResponse, TestRunCompletionPoller, TestRunCreateOrUpdateSuccessResponse, TestProfileRunCreateOrUpdateSuccessResponse, TestProfileRunCompletionPoller, PolledOperationOptions } from "./models.js";
|
|
3
|
+
export declare function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestUploadFileSuccessResponse, polledOperationOptions?: PolledOperationOptions): Promise<FileUploadAndValidatePoller>;
|
|
4
|
+
export declare function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestRunCreateOrUpdateSuccessResponse, polledOperationOptions?: PolledOperationOptions): Promise<TestRunCompletionPoller>;
|
|
5
|
+
export declare function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestProfileRunCreateOrUpdateSuccessResponse, polledOperationOptions?: PolledOperationOptions): Promise<TestProfileRunCompletionPoller>;
|
|
6
6
|
//# sourceMappingURL=pollingHelper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pollingHelper.d.ts","sourceRoot":"","sources":["../../src/pollingHelper.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAIrE,OAAO,KAAK,EACV,2BAA2B,EAC3B,6BAA6B,EAC7B,uBAAuB,EACvB,oCAAoC,EACpC,2CAA2C,EAC3C,8BAA8B,
|
|
1
|
+
{"version":3,"file":"pollingHelper.d.ts","sourceRoot":"","sources":["../../src/pollingHelper.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAIrE,OAAO,KAAK,EACV,2BAA2B,EAC3B,6BAA6B,EAC7B,uBAAuB,EACvB,oCAAoC,EACpC,2CAA2C,EAC3C,8BAA8B,EAC9B,sBAAsB,EACvB,MAAM,aAAa,CAAC;AAErB,wBAAsB,oBAAoB,CACxC,MAAM,EAAE,sBAAsB,EAC9B,eAAe,EAAE,6BAA6B,EAC9C,sBAAsB,CAAC,EAAE,sBAAsB,GAC9C,OAAO,CAAC,2BAA2B,CAAC,CAAC;AACxC,wBAAsB,oBAAoB,CACxC,MAAM,EAAE,sBAAsB,EAC9B,eAAe,EAAE,oCAAoC,EACrD,sBAAsB,CAAC,EAAE,sBAAsB,GAC9C,OAAO,CAAC,uBAAuB,CAAC,CAAC;AACpC,wBAAsB,oBAAoB,CACxC,MAAM,EAAE,sBAAsB,EAC9B,eAAe,EAAE,2CAA2C,EAC5D,sBAAsB,CAAC,EAAE,sBAAsB,GAC9C,OAAO,CAAC,8BAA8B,CAAC,CAAC"}
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
import { getFileValidationPoller } from "./getFileValidationPoller.js";
|
|
4
4
|
import { getTestRunCompletionPoller } from "./getTestRunCompletionPoller.js";
|
|
5
5
|
import { getTestProfileRunCompletionPoller } from "./getTestProfileRunCompletionPoller.js";
|
|
6
|
-
export async function getLongRunningPoller(client, initialResponse) {
|
|
6
|
+
export async function getLongRunningPoller(client, initialResponse, polledOperationOptions = {}) {
|
|
7
7
|
if (isFileUpload(initialResponse)) {
|
|
8
|
-
return getFileValidationPoller(client, initialResponse);
|
|
8
|
+
return getFileValidationPoller(client, initialResponse, polledOperationOptions);
|
|
9
9
|
}
|
|
10
10
|
else if (isTestRunCreation(initialResponse)) {
|
|
11
|
-
return getTestRunCompletionPoller(client, initialResponse);
|
|
11
|
+
return getTestRunCompletionPoller(client, initialResponse, polledOperationOptions);
|
|
12
12
|
}
|
|
13
13
|
else if (isTestProfileRunCreation(initialResponse)) {
|
|
14
|
-
return getTestProfileRunCompletionPoller(client, initialResponse);
|
|
14
|
+
return getTestProfileRunCompletionPoller(client, initialResponse, polledOperationOptions);
|
|
15
15
|
}
|
|
16
16
|
throw new Error("The Operation is not a long running operation.");
|
|
17
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pollingHelper.js","sourceRoot":"","sources":["../../src/pollingHelper.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;
|
|
1
|
+
{"version":3,"file":"pollingHelper.js","sourceRoot":"","sources":["../../src/pollingHelper.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AA0B3F,MAAM,CAAC,KAAK,UAAU,oBAAoB,CACxC,MAA8B,EAC9B,eAG+C,EAC/C,yBAAiD,EAAE;IAEnD,IAAI,YAAY,CAAC,eAAe,CAAC,EAAE,CAAC;QAClC,OAAO,uBAAuB,CAAC,MAAM,EAAE,eAAe,EAAE,sBAAsB,CAAC,CAAC;IAClF,CAAC;SAAM,IAAI,iBAAiB,CAAC,eAAe,CAAC,EAAE,CAAC;QAC9C,OAAO,0BAA0B,CAAC,MAAM,EAAE,eAAe,EAAE,sBAAsB,CAAC,CAAC;IACrF,CAAC;SAAM,IAAI,wBAAwB,CAAC,eAAe,CAAC,EAAE,CAAC;QACrD,OAAO,iCAAiC,CAAC,MAAM,EAAE,eAAe,EAAE,sBAAsB,CAAC,CAAC;IAC5F,CAAC;IAED,MAAM,IAAI,KAAK,CAAC,gDAAgD,CAAC,CAAC;AACpE,CAAC;AAED,SAAS,YAAY,CAAC,QAAa;IACjC,OAAO,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;AAClD,CAAC;AAED,SAAS,iBAAiB,CAAC,QAAa;IACtC,OAAO,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;AACtD,CAAC;AAED,SAAS,wBAAwB,CAC/B,QAAa;IAEb,OAAO,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,qBAAqB,CAAC,CAAC;AAC9D,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AzureLoadTestingClient } from \"./clientDefinitions.js\";\nimport { getFileValidationPoller } from \"./getFileValidationPoller.js\";\nimport { getTestRunCompletionPoller } from \"./getTestRunCompletionPoller.js\";\nimport { getTestProfileRunCompletionPoller } from \"./getTestProfileRunCompletionPoller.js\";\nimport type {\n FileUploadAndValidatePoller,\n TestUploadFileSuccessResponse,\n TestRunCompletionPoller,\n TestRunCreateOrUpdateSuccessResponse,\n TestProfileRunCreateOrUpdateSuccessResponse,\n TestProfileRunCompletionPoller,\n PolledOperationOptions,\n} from \"./models.js\";\n\nexport async function getLongRunningPoller(\n client: AzureLoadTestingClient,\n initialResponse: TestUploadFileSuccessResponse,\n polledOperationOptions?: PolledOperationOptions,\n): Promise<FileUploadAndValidatePoller>;\nexport async function getLongRunningPoller(\n client: AzureLoadTestingClient,\n initialResponse: TestRunCreateOrUpdateSuccessResponse,\n polledOperationOptions?: PolledOperationOptions,\n): Promise<TestRunCompletionPoller>;\nexport async function getLongRunningPoller(\n client: AzureLoadTestingClient,\n initialResponse: TestProfileRunCreateOrUpdateSuccessResponse,\n polledOperationOptions?: PolledOperationOptions,\n): Promise<TestProfileRunCompletionPoller>;\nexport async function getLongRunningPoller(\n client: AzureLoadTestingClient,\n initialResponse:\n | TestRunCreateOrUpdateSuccessResponse\n | TestUploadFileSuccessResponse\n | TestProfileRunCreateOrUpdateSuccessResponse,\n polledOperationOptions: PolledOperationOptions = {},\n): Promise<TestRunCompletionPoller | FileUploadAndValidatePoller | TestProfileRunCompletionPoller> {\n if (isFileUpload(initialResponse)) {\n return getFileValidationPoller(client, initialResponse, polledOperationOptions);\n } else if (isTestRunCreation(initialResponse)) {\n return getTestRunCompletionPoller(client, initialResponse, polledOperationOptions);\n } else if (isTestProfileRunCreation(initialResponse)) {\n return getTestProfileRunCompletionPoller(client, initialResponse, polledOperationOptions);\n }\n\n throw new Error(\"The Operation is not a long running operation.\");\n}\n\nfunction isFileUpload(response: any): response is TestUploadFileSuccessResponse {\n return response.request.url.includes(\"/files/\");\n}\n\nfunction isTestRunCreation(response: any): response is TestRunCreateOrUpdateSuccessResponse {\n return response.request.url.includes(\"/test-runs/\");\n}\n\nfunction isTestProfileRunCreation(\n response: any,\n): response is TestProfileRunCreateOrUpdateSuccessResponse {\n return response.request.url.includes(\"/test-profile-runs/\");\n}\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AzureLoadTestingClient } from "./clientDefinitions.js";
|
|
2
|
-
import type { FileUploadAndValidatePoller, TestUploadFileSuccessResponse, TestRunCompletionPoller, TestRunCreateOrUpdateSuccessResponse, TestProfileRunCreateOrUpdateSuccessResponse, TestProfileRunCompletionPoller } from "./models.js";
|
|
3
|
-
export declare function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestUploadFileSuccessResponse): Promise<FileUploadAndValidatePoller>;
|
|
4
|
-
export declare function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestRunCreateOrUpdateSuccessResponse): Promise<TestRunCompletionPoller>;
|
|
5
|
-
export declare function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestProfileRunCreateOrUpdateSuccessResponse): Promise<TestProfileRunCompletionPoller>;
|
|
2
|
+
import type { FileUploadAndValidatePoller, TestUploadFileSuccessResponse, TestRunCompletionPoller, TestRunCreateOrUpdateSuccessResponse, TestProfileRunCreateOrUpdateSuccessResponse, TestProfileRunCompletionPoller, PolledOperationOptions } from "./models.js";
|
|
3
|
+
export declare function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestUploadFileSuccessResponse, polledOperationOptions?: PolledOperationOptions): Promise<FileUploadAndValidatePoller>;
|
|
4
|
+
export declare function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestRunCreateOrUpdateSuccessResponse, polledOperationOptions?: PolledOperationOptions): Promise<TestRunCompletionPoller>;
|
|
5
|
+
export declare function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestProfileRunCreateOrUpdateSuccessResponse, polledOperationOptions?: PolledOperationOptions): Promise<TestProfileRunCompletionPoller>;
|
|
6
6
|
//# sourceMappingURL=pollingHelper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pollingHelper.d.ts","sourceRoot":"","sources":["../../src/pollingHelper.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAIrE,OAAO,KAAK,EACV,2BAA2B,EAC3B,6BAA6B,EAC7B,uBAAuB,EACvB,oCAAoC,EACpC,2CAA2C,EAC3C,8BAA8B,
|
|
1
|
+
{"version":3,"file":"pollingHelper.d.ts","sourceRoot":"","sources":["../../src/pollingHelper.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAIrE,OAAO,KAAK,EACV,2BAA2B,EAC3B,6BAA6B,EAC7B,uBAAuB,EACvB,oCAAoC,EACpC,2CAA2C,EAC3C,8BAA8B,EAC9B,sBAAsB,EACvB,MAAM,aAAa,CAAC;AAErB,wBAAsB,oBAAoB,CACxC,MAAM,EAAE,sBAAsB,EAC9B,eAAe,EAAE,6BAA6B,EAC9C,sBAAsB,CAAC,EAAE,sBAAsB,GAC9C,OAAO,CAAC,2BAA2B,CAAC,CAAC;AACxC,wBAAsB,oBAAoB,CACxC,MAAM,EAAE,sBAAsB,EAC9B,eAAe,EAAE,oCAAoC,EACrD,sBAAsB,CAAC,EAAE,sBAAsB,GAC9C,OAAO,CAAC,uBAAuB,CAAC,CAAC;AACpC,wBAAsB,oBAAoB,CACxC,MAAM,EAAE,sBAAsB,EAC9B,eAAe,EAAE,2CAA2C,EAC5D,sBAAsB,CAAC,EAAE,sBAAsB,GAC9C,OAAO,CAAC,8BAA8B,CAAC,CAAC"}
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
import { getFileValidationPoller } from "./getFileValidationPoller.js";
|
|
4
4
|
import { getTestRunCompletionPoller } from "./getTestRunCompletionPoller.js";
|
|
5
5
|
import { getTestProfileRunCompletionPoller } from "./getTestProfileRunCompletionPoller.js";
|
|
6
|
-
export async function getLongRunningPoller(client, initialResponse) {
|
|
6
|
+
export async function getLongRunningPoller(client, initialResponse, polledOperationOptions = {}) {
|
|
7
7
|
if (isFileUpload(initialResponse)) {
|
|
8
|
-
return getFileValidationPoller(client, initialResponse);
|
|
8
|
+
return getFileValidationPoller(client, initialResponse, polledOperationOptions);
|
|
9
9
|
}
|
|
10
10
|
else if (isTestRunCreation(initialResponse)) {
|
|
11
|
-
return getTestRunCompletionPoller(client, initialResponse);
|
|
11
|
+
return getTestRunCompletionPoller(client, initialResponse, polledOperationOptions);
|
|
12
12
|
}
|
|
13
13
|
else if (isTestProfileRunCreation(initialResponse)) {
|
|
14
|
-
return getTestProfileRunCompletionPoller(client, initialResponse);
|
|
14
|
+
return getTestProfileRunCompletionPoller(client, initialResponse, polledOperationOptions);
|
|
15
15
|
}
|
|
16
16
|
throw new Error("The Operation is not a long running operation.");
|
|
17
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pollingHelper.js","sourceRoot":"","sources":["../../src/pollingHelper.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;
|
|
1
|
+
{"version":3,"file":"pollingHelper.js","sourceRoot":"","sources":["../../src/pollingHelper.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AA0B3F,MAAM,CAAC,KAAK,UAAU,oBAAoB,CACxC,MAA8B,EAC9B,eAG+C,EAC/C,yBAAiD,EAAE;IAEnD,IAAI,YAAY,CAAC,eAAe,CAAC,EAAE,CAAC;QAClC,OAAO,uBAAuB,CAAC,MAAM,EAAE,eAAe,EAAE,sBAAsB,CAAC,CAAC;IAClF,CAAC;SAAM,IAAI,iBAAiB,CAAC,eAAe,CAAC,EAAE,CAAC;QAC9C,OAAO,0BAA0B,CAAC,MAAM,EAAE,eAAe,EAAE,sBAAsB,CAAC,CAAC;IACrF,CAAC;SAAM,IAAI,wBAAwB,CAAC,eAAe,CAAC,EAAE,CAAC;QACrD,OAAO,iCAAiC,CAAC,MAAM,EAAE,eAAe,EAAE,sBAAsB,CAAC,CAAC;IAC5F,CAAC;IAED,MAAM,IAAI,KAAK,CAAC,gDAAgD,CAAC,CAAC;AACpE,CAAC;AAED,SAAS,YAAY,CAAC,QAAa;IACjC,OAAO,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;AAClD,CAAC;AAED,SAAS,iBAAiB,CAAC,QAAa;IACtC,OAAO,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;AACtD,CAAC;AAED,SAAS,wBAAwB,CAC/B,QAAa;IAEb,OAAO,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,qBAAqB,CAAC,CAAC;AAC9D,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AzureLoadTestingClient } from \"./clientDefinitions.js\";\nimport { getFileValidationPoller } from \"./getFileValidationPoller.js\";\nimport { getTestRunCompletionPoller } from \"./getTestRunCompletionPoller.js\";\nimport { getTestProfileRunCompletionPoller } from \"./getTestProfileRunCompletionPoller.js\";\nimport type {\n FileUploadAndValidatePoller,\n TestUploadFileSuccessResponse,\n TestRunCompletionPoller,\n TestRunCreateOrUpdateSuccessResponse,\n TestProfileRunCreateOrUpdateSuccessResponse,\n TestProfileRunCompletionPoller,\n PolledOperationOptions,\n} from \"./models.js\";\n\nexport async function getLongRunningPoller(\n client: AzureLoadTestingClient,\n initialResponse: TestUploadFileSuccessResponse,\n polledOperationOptions?: PolledOperationOptions,\n): Promise<FileUploadAndValidatePoller>;\nexport async function getLongRunningPoller(\n client: AzureLoadTestingClient,\n initialResponse: TestRunCreateOrUpdateSuccessResponse,\n polledOperationOptions?: PolledOperationOptions,\n): Promise<TestRunCompletionPoller>;\nexport async function getLongRunningPoller(\n client: AzureLoadTestingClient,\n initialResponse: TestProfileRunCreateOrUpdateSuccessResponse,\n polledOperationOptions?: PolledOperationOptions,\n): Promise<TestProfileRunCompletionPoller>;\nexport async function getLongRunningPoller(\n client: AzureLoadTestingClient,\n initialResponse:\n | TestRunCreateOrUpdateSuccessResponse\n | TestUploadFileSuccessResponse\n | TestProfileRunCreateOrUpdateSuccessResponse,\n polledOperationOptions: PolledOperationOptions = {},\n): Promise<TestRunCompletionPoller | FileUploadAndValidatePoller | TestProfileRunCompletionPoller> {\n if (isFileUpload(initialResponse)) {\n return getFileValidationPoller(client, initialResponse, polledOperationOptions);\n } else if (isTestRunCreation(initialResponse)) {\n return getTestRunCompletionPoller(client, initialResponse, polledOperationOptions);\n } else if (isTestProfileRunCreation(initialResponse)) {\n return getTestProfileRunCompletionPoller(client, initialResponse, polledOperationOptions);\n }\n\n throw new Error(\"The Operation is not a long running operation.\");\n}\n\nfunction isFileUpload(response: any): response is TestUploadFileSuccessResponse {\n return response.request.url.includes(\"/files/\");\n}\n\nfunction isTestRunCreation(response: any): response is TestRunCreateOrUpdateSuccessResponse {\n return response.request.url.includes(\"/test-runs/\");\n}\n\nfunction isTestProfileRunCreation(\n response: any,\n): response is TestProfileRunCreateOrUpdateSuccessResponse {\n return response.request.url.includes(\"/test-profile-runs/\");\n}\n"]}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@azure-rest/load-testing",
|
|
3
3
|
"sdk-type": "client",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
|
-
"version": "1.1.0-alpha.
|
|
5
|
+
"version": "1.1.0-alpha.20251007.1",
|
|
6
6
|
"description": "This package contains Microsoft Azure LoadTestingClient client library.",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"node",
|
|
@@ -64,11 +64,11 @@
|
|
|
64
64
|
"playwright": "^1.50.1",
|
|
65
65
|
"typescript": "~5.8.3",
|
|
66
66
|
"vitest": "^3.2.3",
|
|
67
|
+
"@azure-tools/test-credential": "^2.1.2",
|
|
67
68
|
"@azure-tools/test-recorder": "^4.1.1",
|
|
68
69
|
"@azure/dev-tool": "^1.0.0",
|
|
69
|
-
"@azure/eslint-plugin-azure-sdk": "^3.0.0",
|
|
70
70
|
"@azure-tools/test-utils-vitest": "^2.0.1",
|
|
71
|
-
"@azure
|
|
71
|
+
"@azure/eslint-plugin-azure-sdk": "^3.0.0"
|
|
72
72
|
},
|
|
73
73
|
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/loadtesting/load-testing-rest/README.md",
|
|
74
74
|
"//metadata": {
|
|
@@ -193,13 +193,13 @@ export interface FunctionFlexConsumptionTargetResourceConfigurationsOutput exten
|
|
|
193
193
|
export type GetArrayType<T> = T extends Array<infer TData> ? TData : never;
|
|
194
194
|
|
|
195
195
|
// @public (undocumented)
|
|
196
|
-
export function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestUploadFileSuccessResponse): Promise<FileUploadAndValidatePoller>;
|
|
196
|
+
export function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestUploadFileSuccessResponse, polledOperationOptions?: PolledOperationOptions): Promise<FileUploadAndValidatePoller>;
|
|
197
197
|
|
|
198
198
|
// @public (undocumented)
|
|
199
|
-
export function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestRunCreateOrUpdateSuccessResponse): Promise<TestRunCompletionPoller>;
|
|
199
|
+
export function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestRunCreateOrUpdateSuccessResponse, polledOperationOptions?: PolledOperationOptions): Promise<TestRunCompletionPoller>;
|
|
200
200
|
|
|
201
201
|
// @public (undocumented)
|
|
202
|
-
export function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestProfileRunCreateOrUpdateSuccessResponse): Promise<TestProfileRunCompletionPoller>;
|
|
202
|
+
export function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestProfileRunCreateOrUpdateSuccessResponse, polledOperationOptions?: PolledOperationOptions): Promise<TestProfileRunCompletionPoller>;
|
|
203
203
|
|
|
204
204
|
// @public
|
|
205
205
|
export type GetPage<TPage> = (pageLink: string) => Promise<{
|