diff --git a/packages/typespec-test/test/loadtesting_modular/generated/typespec-ts/review/load-testing.api.md b/packages/typespec-test/test/loadtesting_modular/generated/typespec-ts/review/load-testing.api.md index 3ac03b2be5..29467e004b 100644 --- a/packages/typespec-test/test/loadtesting_modular/generated/typespec-ts/review/load-testing.api.md +++ b/packages/typespec-test/test/loadtesting_modular/generated/typespec-ts/review/load-testing.api.md @@ -3,109 +3,54 @@ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). ```ts -/// - -import { AbortSignalLike } from "@azure/abort-controller"; -import { Client } from "@azure-rest/core-client"; -import { ClientOptions } from "@azure-rest/core-client"; -import { ErrorResponse } from "@azure-rest/core-client"; -import { HttpResponse } from "@azure-rest/core-client"; -import { OperationOptions } from "@azure-rest/core-client"; -import { OperationState } from "@azure/core-lro"; -import { Paged } from "@azure/core-paging"; -import { PathUncheckedResponse } from "@azure-rest/core-client"; -import { Pipeline } from "@azure/core-rest-pipeline"; -import { PollerLike } from "@azure/core-lro"; -import { RawHttpHeaders } from "@azure/core-rest-pipeline"; -import { RequestParameters } from "@azure-rest/core-client"; -import { StreamableMethod } from "@azure-rest/core-client"; -import { TokenCredential } from "@azure/core-auth"; + +import { AbortSignalLike } from '@azure/abort-controller'; +import { ClientOptions } from '@azure-rest/core-client'; +import { OperationOptions } from '@azure-rest/core-client'; +import { OperationState } from '@azure/core-lro'; +import { PathUncheckedResponse } from '@azure-rest/core-client'; +import { Pipeline } from '@azure/core-rest-pipeline'; +import { PollerLike } from '@azure/core-lro'; +import { TokenCredential } from '@azure/core-auth'; // @public (undocumented) export class AdministrationOperationsClient { - constructor( - endpointParam: string, - credential: TokenCredential, - options?: AdministrationOperationsClientOptions - ); - createOrUpdateAppComponents( - testId: string, - body: TestAppComponents, - options?: CreateOrUpdateAppComponentsOptionalParams - ): Promise; - createOrUpdateServerMetricsConfig( - testId: string, - body: TestServerMetricConfig, - options?: CreateOrUpdateServerMetricsConfigOptionalParams - ): Promise; - createOrUpdateTest( - testId: string, - body: Test, - options?: CreateOrUpdateTestOptionalParams - ): Promise; - deleteTest(testId: string, options?: DeleteTestOptionalParams): Promise; - deleteTestFile( - testId: string, - fileName: string, - options?: DeleteTestFileOptionalParams - ): Promise; - getAppComponents( - testId: string, - options?: GetAppComponentsOptionalParams - ): Promise; - getServerMetricsConfig( - testId: string, - options?: GetServerMetricsConfigOptionalParams - ): Promise; - getTest(testId: string, options?: GetTestOptionalParams): Promise; - getTestFile( - testId: string, - fileName: string, - options?: GetTestFileOptionalParams - ): Promise; - listTestFiles( - testId: string, - options?: ListTestFilesOptionalParams - ): PagedAsyncIterableIterator; - listTests( - options?: ListTestsOptionalParams - ): PagedAsyncIterableIterator; - readonly pipeline: Pipeline; - uploadTestFile( - testId: string, - fileName: string, - body: Uint8Array, - options?: UploadTestFileOptionalParams - ): Promise; + constructor(endpointParam: string, credential: TokenCredential, options?: AdministrationOperationsClientOptions); + createOrUpdateAppComponents(testId: string, body: TestAppComponents, options?: CreateOrUpdateAppComponentsOptionalParams): Promise; + createOrUpdateServerMetricsConfig(testId: string, body: TestServerMetricConfig, options?: CreateOrUpdateServerMetricsConfigOptionalParams): Promise; + createOrUpdateTest(testId: string, body: Test, options?: CreateOrUpdateTestOptionalParams): Promise; + deleteTest(testId: string, options?: DeleteTestOptionalParams): Promise; + deleteTestFile(testId: string, fileName: string, options?: DeleteTestFileOptionalParams): Promise; + getAppComponents(testId: string, options?: GetAppComponentsOptionalParams): Promise; + getServerMetricsConfig(testId: string, options?: GetServerMetricsConfigOptionalParams): Promise; + getTest(testId: string, options?: GetTestOptionalParams): Promise; + getTestFile(testId: string, fileName: string, options?: GetTestFileOptionalParams): Promise; + listTestFiles(testId: string, options?: ListTestFilesOptionalParams): PagedAsyncIterableIterator; + listTests(options?: ListTestsOptionalParams): PagedAsyncIterableIterator; + readonly pipeline: Pipeline; + uploadTestFile(testId: string, fileName: string, body: Uint8Array, options?: UploadTestFileOptionalParams): Promise; } // @public (undocumented) export interface AdministrationOperationsClientOptions extends ClientOptions { - apiVersion?: string; + apiVersion?: string; } // @public (undocumented) -export type AggregationType = - | "Average" - | "Count" - | "None" - | "Total" - | "Percentile90" - | "Percentile95" - | "Percentile99"; +export type AggregationType = "Average" | "Count" | "None" | "Total" | "Percentile90" | "Percentile95" | "Percentile99"; // @public (undocumented) export type APIVersions = "2022-11-01"; // @public export interface AppComponent { - displayName?: string; - kind?: string; - readonly resourceGroup?: string; - readonly resourceId?: string; - resourceName?: string; - resourceType?: string; - readonly subscriptionId?: string; + displayName?: string; + kind?: string; + readonly resourceGroup?: string; + readonly resourceId?: string; + resourceName?: string; + resourceType?: string; + readonly subscriptionId?: string; } // Warning: (ae-forgotten-export) The symbol "AppComponent_2" needs to be exported by the entry point index.d.ts @@ -115,93 +60,90 @@ export function appComponentSerializer(item: AppComponent): AppComponent_2; // @public export interface CertificateMetadata { - name?: string; - type?: CertificateType; - value?: string; + name?: string; + type?: CertificateType; + value?: string; } // Warning: (ae-forgotten-export) The symbol "CertificateMetadata_2" needs to be exported by the entry point index.d.ts // // @public (undocumented) -export function certificateMetadataSerializer( - item: CertificateMetadata -): CertificateMetadata_2; +export function certificateMetadataSerializer(item: CertificateMetadata): CertificateMetadata_2; // @public (undocumented) export type CertificateType = "AKV_CERT_URI"; // @public export type ContinuablePage = TPage & { - continuationToken?: string; + continuationToken?: string; }; // @public (undocumented) -export interface CreateOrUpdateAppComponentsOptionalParams - extends OperationOptions { - // (undocumented) - contentType?: string; +export interface CreateOrUpdateAppComponentsOptionalParams extends OperationOptions { + // (undocumented) + contentType?: string; } // @public (undocumented) -export interface CreateOrUpdateServerMetricsConfigOptionalParams - extends OperationOptions { - // (undocumented) - contentType?: string; +export interface CreateOrUpdateServerMetricsConfigOptionalParams extends OperationOptions { + // (undocumented) + contentType?: string; } // @public (undocumented) export interface CreateOrUpdateTestOptionalParams extends OperationOptions { - // (undocumented) - contentType?: string; + // (undocumented) + contentType?: string; } // @public (undocumented) -export interface DeleteTestFileOptionalParams extends OperationOptions {} +export interface DeleteTestFileOptionalParams extends OperationOptions { +} // @public (undocumented) -export interface DeleteTestOptionalParams extends OperationOptions {} +export interface DeleteTestOptionalParams extends OperationOptions { +} // @public (undocumented) -export interface DeleteTestRunOptionalParams extends OperationOptions {} +export interface DeleteTestRunOptionalParams extends OperationOptions { +} // @public export interface DimensionFilter { - name?: string; - values?: string[]; + name?: string; + values?: string[]; } // Warning: (ae-forgotten-export) The symbol "DimensionFilter_2" needs to be exported by the entry point index.d.ts // // @public (undocumented) -export function dimensionFilterSerializer( - item: DimensionFilter -): DimensionFilter_2; +export function dimensionFilterSerializer(item: DimensionFilter): DimensionFilter_2; // @public export interface DimensionValue { - name?: string; - value?: string; + name?: string; + value?: string; } // @public (undocumented) export interface DimensionValueList { - // (undocumented) - value: string[]; + // (undocumented) + value: string[]; } // @public export interface ErrorDetails { - readonly message?: string; + readonly message?: string; } // @public export interface FileInfo { - expireDateTime?: string; - fileName?: string; - fileType?: FileType; - url?: string; - validationFailureDetails?: string; - validationStatus?: FileStatus; + expireDateTime?: string; + fileName?: string; + fileType?: FileType; + url?: string; + validationFailureDetails?: string; + validationStatus?: FileStatus; } // Warning: (ae-forgotten-export) The symbol "FileInfo_2" needs to be exported by the entry point index.d.ts @@ -210,289 +152,248 @@ export interface FileInfo { export function fileInfoSerializer(item: FileInfo): FileInfo_2; // @public (undocumented) -export type FileStatus = - | "NOT_VALIDATED" - | "VALIDATION_SUCCESS" - | "VALIDATION_FAILURE" - | "VALIDATION_INITIATED" - | "VALIDATION_NOT_REQUIRED"; +export type FileStatus = "NOT_VALIDATED" | "VALIDATION_SUCCESS" | "VALIDATION_FAILURE" | "VALIDATION_INITIATED" | "VALIDATION_NOT_REQUIRED"; // @public (undocumented) export type FileType = "JMX_FILE" | "USER_PROPERTIES" | "ADDITIONAL_ARTIFACTS"; // @public (undocumented) -export interface GetAppComponentsOptionalParams extends OperationOptions {} +export interface GetAppComponentsOptionalParams extends OperationOptions { +} // @public (undocumented) -export interface GetServerMetricsConfigOptionalParams - extends OperationOptions {} +export interface GetServerMetricsConfigOptionalParams extends OperationOptions { +} // @public (undocumented) -export interface GetTestFileOptionalParams extends OperationOptions {} +export interface GetTestFileOptionalParams extends OperationOptions { +} // @public (undocumented) -export interface GetTestOptionalParams extends OperationOptions {} +export interface GetTestOptionalParams extends OperationOptions { +} // @public (undocumented) -export interface GetTestRunFileOptionalParams extends OperationOptions {} +export interface GetTestRunFileOptionalParams extends OperationOptions { +} // @public (undocumented) -export interface GetTestRunOptionalParams extends OperationOptions {} +export interface GetTestRunOptionalParams extends OperationOptions { +} // @public (undocumented) export type Interval = "PT5S" | "PT10S" | "PT1M" | "PT5M" | "PT1H"; // @public (undocumented) export interface ListMetricDefinitionsOptionalParams extends OperationOptions { - metricNamespace?: string; + metricNamespace?: string; } // @public (undocumented) -export interface ListMetricDimensionValuesOptionalParams - extends OperationOptions { - interval?: TestRunOperationsClientInterval; - metricName?: string; - timespan?: string; +export interface ListMetricDimensionValuesOptionalParams extends OperationOptions { + interval?: TestRunOperationsClientInterval; + metricName?: string; + timespan?: string; } // @public (undocumented) -export interface ListMetricNamespacesOptionalParams extends OperationOptions {} +export interface ListMetricNamespacesOptionalParams extends OperationOptions { +} // @public (undocumented) export interface ListMetricsOptionalParams extends OperationOptions { - aggregation?: string; - interval?: TestRunOperationsClientInterval; - metricName?: string; - metricNamespace?: string; - timespan?: string; + aggregation?: string; + interval?: TestRunOperationsClientInterval; + metricName?: string; + metricNamespace?: string; + timespan?: string; } // @public (undocumented) -export interface ListTestFilesOptionalParams extends OperationOptions {} +export interface ListTestFilesOptionalParams extends OperationOptions { +} // @public (undocumented) export interface ListTestRunsOptionalParams extends OperationOptions { - executionFrom?: string; - executionTo?: string; - maxpagesize?: number; - orderby?: string; - search?: string; - status?: string; - testId?: string; + executionFrom?: string; + executionTo?: string; + maxpagesize?: number; + orderby?: string; + search?: string; + status?: string; + testId?: string; } // @public (undocumented) export interface ListTestsOptionalParams extends OperationOptions { - lastModifiedEndTime?: string; - lastModifiedStartTime?: string; - maxpagesize?: number; - orderby?: string; - search?: string; + lastModifiedEndTime?: string; + lastModifiedStartTime?: string; + maxpagesize?: number; + orderby?: string; + search?: string; } // @public export interface LoadTestConfiguration { - engineInstances?: number; - optionalLoadTestConfig?: OptionalLoadTestConfig; - quickStartTest?: boolean; - splitAllCSVs?: boolean; + engineInstances?: number; + optionalLoadTestConfig?: OptionalLoadTestConfig; + quickStartTest?: boolean; + splitAllCSVs?: boolean; } // Warning: (ae-forgotten-export) The symbol "LoadTestConfiguration_2" needs to be exported by the entry point index.d.ts // // @public (undocumented) -export function loadTestConfigurationSerializer( - item: LoadTestConfiguration -): LoadTestConfiguration_2; +export function loadTestConfigurationSerializer(item: LoadTestConfiguration): LoadTestConfiguration_2; // @public export interface MetricAvailability { - timeGrain?: TimeGrain; + timeGrain?: TimeGrain; } // @public export interface MetricDefinition { - description?: string; - dimensions?: NameAndDesc[]; - metricAvailabilities?: MetricAvailability[]; - name?: string; - namespace?: string; - primaryAggregationType?: AggregationType; - supportedAggregationTypes?: string[]; - unit?: MetricUnit; + description?: string; + dimensions?: NameAndDesc[]; + metricAvailabilities?: MetricAvailability[]; + name?: string; + namespace?: string; + primaryAggregationType?: AggregationType; + supportedAggregationTypes?: string[]; + unit?: MetricUnit; } // @public export interface MetricDefinitionCollection { - value: MetricDefinition[]; + value: MetricDefinition[]; } // @public export interface MetricNamespace { - description?: string; - name?: string; + description?: string; + name?: string; } // @public export interface MetricNamespaceCollection { - value: MetricNamespace[]; + value: MetricNamespace[]; } // @public export interface MetricRequestPayload { - filters?: DimensionFilter[]; + filters?: DimensionFilter[]; } // Warning: (ae-forgotten-export) The symbol "MetricRequestPayload_2" needs to be exported by the entry point index.d.ts // // @public (undocumented) -export function metricRequestPayloadSerializer( - item: MetricRequestPayload -): MetricRequestPayload_2; +export function metricRequestPayloadSerializer(item: MetricRequestPayload): MetricRequestPayload_2; // @public (undocumented) -export type MetricUnit = - | "NotSpecified" - | "Percent" - | "Count" - | "Seconds" - | "Milliseconds" - | "Bytes" - | "BytesPerSecond" - | "CountPerSecond"; +export type MetricUnit = "NotSpecified" | "Percent" | "Count" | "Seconds" | "Milliseconds" | "Bytes" | "BytesPerSecond" | "CountPerSecond"; // @public export interface MetricValue { - timestamp?: string; - value?: number; + timestamp?: string; + value?: number; } // @public export interface NameAndDesc { - description?: string; - name?: string; + description?: string; + name?: string; } // @public export interface OptionalLoadTestConfig { - duration?: number; - endpointUrl?: string; - rampUpTime?: number; - virtualUsers?: number; + duration?: number; + endpointUrl?: string; + rampUpTime?: number; + virtualUsers?: number; } // Warning: (ae-forgotten-export) The symbol "OptionalLoadTestConfig_2" needs to be exported by the entry point index.d.ts // // @public (undocumented) -export function optionalLoadTestConfigSerializer( - item: OptionalLoadTestConfig -): OptionalLoadTestConfig_2; +export function optionalLoadTestConfigSerializer(item: OptionalLoadTestConfig): OptionalLoadTestConfig_2; // @public -export interface PagedAsyncIterableIterator< - TElement, - TPage = TElement[], - TPageSettings extends PageSettings = PageSettings, -> { - [Symbol.asyncIterator](): PagedAsyncIterableIterator< - TElement, - TPage, - TPageSettings - >; - byPage: ( - settings?: TPageSettings - ) => AsyncIterableIterator>; - next(): Promise>; +export interface PagedAsyncIterableIterator { + [Symbol.asyncIterator](): PagedAsyncIterableIterator; + byPage: (settings?: TPageSettings) => AsyncIterableIterator>; + next(): Promise>; } // @public export interface PagedDimensionValueList { - nextLink?: string; - value: DimensionValueList[]; + nextLink?: string; + value: DimensionValueList[]; } // @public export interface PagedFileInfo { - nextLink?: string; - value: FileInfo[]; + nextLink?: string; + value: FileInfo[]; } // @public export interface PagedTest { - nextLink?: string; - value: Test[]; + nextLink?: string; + value: Test[]; } // @public export interface PagedTestRun { - nextLink?: string; - value: TestRun[]; + nextLink?: string; + value: TestRun[]; } // @public export interface PagedTimeSeriesElement { - nextLink?: string; - value: TimeSeriesElement[]; + nextLink?: string; + value: TimeSeriesElement[]; } // @public export interface PageSettings { - continuationToken?: string; + continuationToken?: string; } // @public export interface PassFailCriteria { - passFailMetrics?: Record; + passFailMetrics?: Record; } // Warning: (ae-forgotten-export) The symbol "PassFailCriteria_2" needs to be exported by the entry point index.d.ts // // @public (undocumented) -export function passFailCriteriaSerializer( - item: PassFailCriteria -): PassFailCriteria_2; +export function passFailCriteriaSerializer(item: PassFailCriteria): PassFailCriteria_2; // @public export interface PassFailMetric { - action?: PFAction; - readonly actualValue?: number; - aggregate?: PFAgFunc; - clientMetric?: PFMetrics; - condition?: string; - requestName?: string; - readonly result?: PFResult; - value?: number; + action?: PFAction; + readonly actualValue?: number; + aggregate?: PFAgFunc; + clientMetric?: PFMetrics; + condition?: string; + requestName?: string; + readonly result?: PFResult; + value?: number; } // Warning: (ae-forgotten-export) The symbol "PassFailMetric_2" needs to be exported by the entry point index.d.ts // // @public (undocumented) -export function passFailMetricSerializer( - item: PassFailMetric -): PassFailMetric_2; +export function passFailMetricSerializer(item: PassFailMetric): PassFailMetric_2; // @public (undocumented) export type PFAction = "continue" | "stop"; // @public (undocumented) -export type PFAgFunc = - | "count" - | "percentage" - | "avg" - | "p50" - | "p90" - | "p95" - | "p99" - | "min" - | "max"; +export type PFAgFunc = "count" | "percentage" | "avg" | "p50" | "p90" | "p95" | "p99" | "min" | "max"; // @public (undocumented) -export type PFMetrics = - | "response_time_ms" - | "latency" - | "error" - | "requests" - | "requests_per_sec"; +export type PFMetrics = "response_time_ms" | "latency" | "error" | "requests" | "requests_per_sec"; // @public (undocumented) export type PFResult = "passed" | "undetermined" | "failed"; @@ -502,49 +403,35 @@ export type PFTestResult = "PASSED" | "NOT_APPLICABLE" | "FAILED"; // @public export interface ResourceMetric { - aggregation: string; - displayDescription?: string; - readonly id?: string; - metricNamespace: string; - name: string; - resourceId: string; - resourceType: string; - unit?: string; + aggregation: string; + displayDescription?: string; + readonly id?: string; + metricNamespace: string; + name: string; + resourceId: string; + resourceType: string; + unit?: string; } // Warning: (ae-forgotten-export) The symbol "ResourceMetric_2" needs to be exported by the entry point index.d.ts // // @public (undocumented) -export function resourceMetricSerializer( - item: ResourceMetric -): ResourceMetric_2; +export function resourceMetricSerializer(item: ResourceMetric): ResourceMetric_2; -// Warning: (ae-forgotten-export) The symbol "AzureLoadTestingContext" needs to be exported by the entry point index.d.ts -// // @public -export function restorePoller( - client: AzureLoadTestingContext | TestRunOperationsClient, - serializedState: string, - sourceOperation: ( - ...args: any[] - ) => PollerLike, TResult>, - options?: RestorePollerOptions -): PollerLike, TResult>; +export function restorePoller(client: TestRunOperationsClient, serializedState: string, sourceOperation: (...args: any[]) => PollerLike, TResult>, options?: RestorePollerOptions): PollerLike, TResult>; // @public (undocumented) -export interface RestorePollerOptions< - TResult, - TResponse extends PathUncheckedResponse = PathUncheckedResponse, -> extends OperationOptions { - abortSignal?: AbortSignalLike; - processResponseBody?: (result: TResponse) => Promise; - updateIntervalInMs?: number; +export interface RestorePollerOptions extends OperationOptions { + abortSignal?: AbortSignalLike; + processResponseBody?: (result: TResponse) => Promise; + updateIntervalInMs?: number; } // @public export interface Secret { - type?: SecretType; - value?: string; + type?: SecretType; + value?: string; } // Warning: (ae-forgotten-export) The symbol "Secret_2" needs to be exported by the entry point index.d.ts @@ -556,901 +443,683 @@ export function secretSerializer(item: Secret): Secret_2; export type SecretType = "AKV_SECRET_URI" | "SECRET_VALUE"; // @public (undocumented) -export type Status = - | "ACCEPTED" - | "NOTSTARTED" - | "PROVISIONING" - | "PROVISIONED" - | "CONFIGURING" - | "CONFIGURED" - | "EXECUTING" - | "EXECUTED" - | "DEPROVISIONING" - | "DEPROVISIONED" - | "DONE" - | "CANCELLING" - | "CANCELLED" - | "FAILED" - | "VALIDATION_SUCCESS" - | "VALIDATION_FAILURE"; +export type Status = "ACCEPTED" | "NOTSTARTED" | "PROVISIONING" | "PROVISIONED" | "CONFIGURING" | "CONFIGURED" | "EXECUTING" | "EXECUTED" | "DEPROVISIONING" | "DEPROVISIONED" | "DONE" | "CANCELLING" | "CANCELLED" | "FAILED" | "VALIDATION_SUCCESS" | "VALIDATION_FAILURE"; // @public (undocumented) -export interface StopTestRunOptionalParams extends OperationOptions {} +export interface StopTestRunOptionalParams extends OperationOptions { +} // @public export interface Test { - certificate?: CertificateMetadata; - readonly createdBy?: string; - readonly createdDateTime?: string; - description?: string; - displayName?: string; - environmentVariables?: Record; - readonly inputArtifacts?: TestInputArtifacts; - keyvaultReferenceIdentityId?: string; - keyvaultReferenceIdentityType?: string; - readonly lastModifiedBy?: string; - readonly lastModifiedDateTime?: string; - loadTestConfiguration?: LoadTestConfiguration; - passFailCriteria?: PassFailCriteria; - secrets?: Record; - subnetId?: string; - readonly testId?: string; + certificate?: CertificateMetadata; + readonly createdBy?: string; + readonly createdDateTime?: string; + description?: string; + displayName?: string; + environmentVariables?: Record; + readonly inputArtifacts?: TestInputArtifacts; + keyvaultReferenceIdentityId?: string; + keyvaultReferenceIdentityType?: string; + readonly lastModifiedBy?: string; + readonly lastModifiedDateTime?: string; + loadTestConfiguration?: LoadTestConfiguration; + passFailCriteria?: PassFailCriteria; + secrets?: Record; + subnetId?: string; + readonly testId?: string; } // @public export interface TestAppComponents { - components: Record; - readonly createdBy?: string; - readonly createdDateTime?: string; - readonly lastModifiedBy?: string; - readonly lastModifiedDateTime?: string; - readonly testId?: string; + components: Record; + readonly createdBy?: string; + readonly createdDateTime?: string; + readonly lastModifiedBy?: string; + readonly lastModifiedDateTime?: string; + readonly testId?: string; } // Warning: (ae-forgotten-export) The symbol "TestAppComponents_2" needs to be exported by the entry point index.d.ts // // @public (undocumented) -export function testAppComponentsSerializer( - item: TestAppComponents -): TestAppComponents_2; +export function testAppComponentsSerializer(item: TestAppComponents): TestAppComponents_2; // @public export interface TestInputArtifacts { - readonly additionalFileInfo?: FileInfo[]; - configFileInfo?: FileInfo; - inputArtifactsZipFileInfo?: FileInfo; - testScriptFileInfo?: FileInfo; - userPropFileInfo?: FileInfo; + readonly additionalFileInfo?: FileInfo[]; + configFileInfo?: FileInfo; + inputArtifactsZipFileInfo?: FileInfo; + testScriptFileInfo?: FileInfo; + userPropFileInfo?: FileInfo; } // Warning: (ae-forgotten-export) The symbol "TestInputArtifacts_2" needs to be exported by the entry point index.d.ts // // @public (undocumented) -export function testInputArtifactsSerializer( - item: TestInputArtifacts -): TestInputArtifacts_2; +export function testInputArtifactsSerializer(item: TestInputArtifacts): TestInputArtifacts_2; // @public export interface TestRun { - certificate?: CertificateMetadata; - readonly createdBy?: string; - readonly createdDateTime?: string; - description?: string; - displayName?: string; - readonly duration?: number; - readonly endDateTime?: string; - environmentVariables?: Record; - readonly errorDetails?: ErrorDetails[]; - readonly executedDateTime?: string; - readonly lastModifiedBy?: string; - readonly lastModifiedDateTime?: string; - loadTestConfiguration?: LoadTestConfiguration; - passFailCriteria?: PassFailCriteria; - readonly portalUrl?: string; - secrets?: Record; - readonly startDateTime?: string; - readonly status?: Status; - readonly subnetId?: string; - readonly testArtifacts?: TestRunArtifacts; - testId?: string; - readonly testResult?: PFTestResult; - readonly testRunId: string; - readonly testRunStatistics?: Record; - readonly virtualUsers?: number; + certificate?: CertificateMetadata; + readonly createdBy?: string; + readonly createdDateTime?: string; + description?: string; + displayName?: string; + readonly duration?: number; + readonly endDateTime?: string; + environmentVariables?: Record; + readonly errorDetails?: ErrorDetails[]; + readonly executedDateTime?: string; + readonly lastModifiedBy?: string; + readonly lastModifiedDateTime?: string; + loadTestConfiguration?: LoadTestConfiguration; + passFailCriteria?: PassFailCriteria; + readonly portalUrl?: string; + secrets?: Record; + readonly startDateTime?: string; + readonly status?: Status; + readonly subnetId?: string; + readonly testArtifacts?: TestRunArtifacts; + testId?: string; + readonly testResult?: PFTestResult; + readonly testRunId: string; + readonly testRunStatistics?: Record; + readonly virtualUsers?: number; } // @public export interface TestRunAppComponents { - components: Record; - readonly createdBy?: string; - readonly createdDateTime?: string; - readonly lastModifiedBy?: string; - readonly lastModifiedDateTime?: string; - readonly testRunId?: string; + components: Record; + readonly createdBy?: string; + readonly createdDateTime?: string; + readonly lastModifiedBy?: string; + readonly lastModifiedDateTime?: string; + readonly testRunId?: string; } // Warning: (ae-forgotten-export) The symbol "TestRunAppComponents_2" needs to be exported by the entry point index.d.ts // // @public (undocumented) -export function testRunAppComponentsSerializer( - item: TestRunAppComponents -): TestRunAppComponents_2; +export function testRunAppComponentsSerializer(item: TestRunAppComponents): TestRunAppComponents_2; // @public export interface TestRunArtifacts { - readonly inputArtifacts?: TestRunInputArtifacts; - outputArtifacts?: TestRunOutputArtifacts; + readonly inputArtifacts?: TestRunInputArtifacts; + outputArtifacts?: TestRunOutputArtifacts; } // Warning: (ae-forgotten-export) The symbol "TestRunArtifacts_2" needs to be exported by the entry point index.d.ts // // @public (undocumented) -export function testRunArtifactsSerializer( - item: TestRunArtifacts -): TestRunArtifacts_2; +export function testRunArtifactsSerializer(item: TestRunArtifacts): TestRunArtifacts_2; // @public export interface TestRunInputArtifacts { - readonly additionalFileInfo?: FileInfo[]; - configFileInfo?: FileInfo; - inputArtifactsZipFileInfo?: FileInfo; - testScriptFileInfo?: FileInfo; - userPropFileInfo?: FileInfo; + readonly additionalFileInfo?: FileInfo[]; + configFileInfo?: FileInfo; + inputArtifactsZipFileInfo?: FileInfo; + testScriptFileInfo?: FileInfo; + userPropFileInfo?: FileInfo; } // Warning: (ae-forgotten-export) The symbol "TestRunInputArtifacts_2" needs to be exported by the entry point index.d.ts // // @public (undocumented) -export function testRunInputArtifactsSerializer( - item: TestRunInputArtifacts -): TestRunInputArtifacts_2; +export function testRunInputArtifactsSerializer(item: TestRunInputArtifacts): TestRunInputArtifacts_2; // @public (undocumented) export class TestRunOperationsClient { - constructor( - endpointParam: string, - credential: TokenCredential, - options?: TestRunOperationsClientOptions - ); - createOrUpdateAppComponents( - testRunId: string, - body: TestRunOperationsClientTestRunAppComponents, - options?: TestRunOperationsClientCreateOrUpdateAppComponentsOptionalParams - ): Promise; - createOrUpdateServerMetricsConfig( - testRunId: string, - body: TestRunOperationsClientTestRunServerMetricConfig, - options?: TestRunOperationsClientCreateOrUpdateServerMetricsConfigOptionalParams - ): Promise; - deleteTestRun( - testRunId: string, - options?: DeleteTestRunOptionalParams - ): Promise; - getAppComponents( - testRunId: string, - options?: TestRunOperationsClientGetAppComponentsOptionalParams - ): Promise; - getServerMetricsConfig( - testRunId: string, - options?: TestRunOperationsClientGetServerMetricsConfigOptionalParams - ): Promise; - getTestRun( - testRunId: string, - options?: GetTestRunOptionalParams - ): Promise; - getTestRunFile( - testRunId: string, - fileName: string, - options?: GetTestRunFileOptionalParams - ): Promise; - listMetricDefinitions( - testRunId: string, - options?: ListMetricDefinitionsOptionalParams - ): Promise; - listMetricDimensionValues( - testRunId: string, - name: string, - metricNamespace: string, - options?: ListMetricDimensionValuesOptionalParams - ): TestRunOperationsClientPagedAsyncIterableIterator; - listMetricNamespaces( - testRunId: string, - options?: ListMetricNamespacesOptionalParams - ): Promise; - listMetrics( - testRunId: string, - body: TestRunOperationsClientMetricRequestPayload, - options?: ListMetricsOptionalParams - ): TestRunOperationsClientPagedAsyncIterableIterator; - listTestRuns( - options?: ListTestRunsOptionalParams - ): TestRunOperationsClientPagedAsyncIterableIterator; - readonly pipeline: Pipeline; - stopTestRun( - testRunId: string, - options?: StopTestRunOptionalParams - ): Promise; - testRun( - testRunId: string, - resource: TestRunOperationsClientTestRun, - options?: TestRunOptionalParams - ): PollerLike< - OperationState, - TestRunOperationsClientTestRun - >; -} - -// @public (undocumented) -export type TestRunOperationsClientAggregationType = - | "Average" - | "Count" - | "None" - | "Total" - | "Percentile90" - | "Percentile95" - | "Percentile99"; + constructor(endpointParam: string, credential: TokenCredential, options?: TestRunOperationsClientOptions); + createOrUpdateAppComponents(testRunId: string, body: TestRunOperationsClientTestRunAppComponents, options?: TestRunOperationsClientCreateOrUpdateAppComponentsOptionalParams): Promise; + createOrUpdateServerMetricsConfig(testRunId: string, body: TestRunOperationsClientTestRunServerMetricConfig, options?: TestRunOperationsClientCreateOrUpdateServerMetricsConfigOptionalParams): Promise; + deleteTestRun(testRunId: string, options?: DeleteTestRunOptionalParams): Promise; + getAppComponents(testRunId: string, options?: TestRunOperationsClientGetAppComponentsOptionalParams): Promise; + getServerMetricsConfig(testRunId: string, options?: TestRunOperationsClientGetServerMetricsConfigOptionalParams): Promise; + getTestRun(testRunId: string, options?: GetTestRunOptionalParams): Promise; + getTestRunFile(testRunId: string, fileName: string, options?: GetTestRunFileOptionalParams): Promise; + listMetricDefinitions(testRunId: string, options?: ListMetricDefinitionsOptionalParams): Promise; + listMetricDimensionValues(testRunId: string, name: string, metricNamespace: string, options?: ListMetricDimensionValuesOptionalParams): TestRunOperationsClientPagedAsyncIterableIterator; + listMetricNamespaces(testRunId: string, options?: ListMetricNamespacesOptionalParams): Promise; + listMetrics(testRunId: string, body: TestRunOperationsClientMetricRequestPayload, options?: ListMetricsOptionalParams): TestRunOperationsClientPagedAsyncIterableIterator; + listTestRuns(options?: ListTestRunsOptionalParams): TestRunOperationsClientPagedAsyncIterableIterator; + readonly pipeline: Pipeline; + stopTestRun(testRunId: string, options?: StopTestRunOptionalParams): Promise; + testRun(testRunId: string, resource: TestRunOperationsClientTestRun, options?: TestRunOptionalParams): PollerLike, TestRunOperationsClientTestRun>; +} + +// @public (undocumented) +export type TestRunOperationsClientAggregationType = "Average" | "Count" | "None" | "Total" | "Percentile90" | "Percentile95" | "Percentile99"; // @public (undocumented) export type TestRunOperationsClientAPIVersions = "2022-11-01"; // @public export interface TestRunOperationsClientAppComponent { - displayName?: string; - kind?: string; - readonly resourceGroup?: string; - readonly resourceId?: string; - resourceName?: string; - resourceType?: string; - readonly subscriptionId?: string; + displayName?: string; + kind?: string; + readonly resourceGroup?: string; + readonly resourceId?: string; + resourceName?: string; + resourceType?: string; + readonly subscriptionId?: string; } // @public (undocumented) -export function TestRunOperationsClientappComponentSerializer( - item: TestRunOperationsClientAppComponent -): AppComponent_2; +export function TestRunOperationsClientappComponentSerializer(item: TestRunOperationsClientAppComponent): AppComponent_2; // @public export interface TestRunOperationsClientCertificateMetadata { - name?: string; - type?: TestRunOperationsClientCertificateType; - value?: string; + name?: string; + type?: TestRunOperationsClientCertificateType; + value?: string; } // @public (undocumented) -export function TestRunOperationsClientcertificateMetadataSerializer( - item: TestRunOperationsClientCertificateMetadata -): CertificateMetadata_2; +export function TestRunOperationsClientcertificateMetadataSerializer(item: TestRunOperationsClientCertificateMetadata): CertificateMetadata_2; // @public (undocumented) export type TestRunOperationsClientCertificateType = "AKV_CERT_URI"; // @public -export type TestRunOperationsClientContinuablePage< - TElement, - TPage = TElement[], -> = TPage & { - continuationToken?: string; +export type TestRunOperationsClientContinuablePage = TPage & { + continuationToken?: string; }; // @public (undocumented) -export interface TestRunOperationsClientCreateOrUpdateAppComponentsOptionalParams - extends OperationOptions { - // (undocumented) - contentType?: string; +export interface TestRunOperationsClientCreateOrUpdateAppComponentsOptionalParams extends OperationOptions { + // (undocumented) + contentType?: string; } // @public (undocumented) -export interface TestRunOperationsClientCreateOrUpdateServerMetricsConfigOptionalParams - extends OperationOptions { - // (undocumented) - contentType?: string; +export interface TestRunOperationsClientCreateOrUpdateServerMetricsConfigOptionalParams extends OperationOptions { + // (undocumented) + contentType?: string; } // @public export interface TestRunOperationsClientDimensionFilter { - name?: string; - values?: string[]; + name?: string; + values?: string[]; } // @public (undocumented) -export function TestRunOperationsClientdimensionFilterSerializer( - item: TestRunOperationsClientDimensionFilter -): DimensionFilter_2; +export function TestRunOperationsClientdimensionFilterSerializer(item: TestRunOperationsClientDimensionFilter): DimensionFilter_2; // @public export interface TestRunOperationsClientDimensionValue { - name?: string; - value?: string; + name?: string; + value?: string; } // @public (undocumented) export interface TestRunOperationsClientDimensionValueList { - // (undocumented) - value: string[]; + // (undocumented) + value: string[]; } // @public export interface TestRunOperationsClientErrorDetails { - readonly message?: string; + readonly message?: string; } // @public export interface TestRunOperationsClientFileInfo { - expireDateTime?: string; - fileName?: string; - fileType?: TestRunOperationsClientFileType; - url?: string; - validationFailureDetails?: string; - validationStatus?: TestRunOperationsClientFileStatus; + expireDateTime?: string; + fileName?: string; + fileType?: TestRunOperationsClientFileType; + url?: string; + validationFailureDetails?: string; + validationStatus?: TestRunOperationsClientFileStatus; } // @public (undocumented) -export function TestRunOperationsClientfileInfoSerializer( - item: TestRunOperationsClientFileInfo -): FileInfo_2; +export function TestRunOperationsClientfileInfoSerializer(item: TestRunOperationsClientFileInfo): FileInfo_2; // @public (undocumented) -export type TestRunOperationsClientFileStatus = - | "NOT_VALIDATED" - | "VALIDATION_SUCCESS" - | "VALIDATION_FAILURE" - | "VALIDATION_INITIATED" - | "VALIDATION_NOT_REQUIRED"; +export type TestRunOperationsClientFileStatus = "NOT_VALIDATED" | "VALIDATION_SUCCESS" | "VALIDATION_FAILURE" | "VALIDATION_INITIATED" | "VALIDATION_NOT_REQUIRED"; // @public (undocumented) -export type TestRunOperationsClientFileType = - | "JMX_FILE" - | "USER_PROPERTIES" - | "ADDITIONAL_ARTIFACTS"; +export type TestRunOperationsClientFileType = "JMX_FILE" | "USER_PROPERTIES" | "ADDITIONAL_ARTIFACTS"; // @public (undocumented) -export interface TestRunOperationsClientGetAppComponentsOptionalParams - extends OperationOptions {} +export interface TestRunOperationsClientGetAppComponentsOptionalParams extends OperationOptions { +} // @public (undocumented) -export interface TestRunOperationsClientGetServerMetricsConfigOptionalParams - extends OperationOptions {} +export interface TestRunOperationsClientGetServerMetricsConfigOptionalParams extends OperationOptions { +} // @public (undocumented) -export type TestRunOperationsClientInterval = - | "PT5S" - | "PT10S" - | "PT1M" - | "PT5M" - | "PT1H"; +export type TestRunOperationsClientInterval = "PT5S" | "PT10S" | "PT1M" | "PT5M" | "PT1H"; // @public export interface TestRunOperationsClientLoadTestConfiguration { - engineInstances?: number; - optionalLoadTestConfig?: TestRunOperationsClientOptionalLoadTestConfig; - quickStartTest?: boolean; - splitAllCSVs?: boolean; + engineInstances?: number; + optionalLoadTestConfig?: TestRunOperationsClientOptionalLoadTestConfig; + quickStartTest?: boolean; + splitAllCSVs?: boolean; } // @public (undocumented) -export function TestRunOperationsClientloadTestConfigurationSerializer( - item: TestRunOperationsClientLoadTestConfiguration -): LoadTestConfiguration_2; +export function TestRunOperationsClientloadTestConfigurationSerializer(item: TestRunOperationsClientLoadTestConfiguration): LoadTestConfiguration_2; // @public export interface TestRunOperationsClientMetricAvailability { - timeGrain?: TestRunOperationsClientTimeGrain; + timeGrain?: TestRunOperationsClientTimeGrain; } // @public export interface TestRunOperationsClientMetricDefinition { - description?: string; - dimensions?: TestRunOperationsClientNameAndDesc[]; - metricAvailabilities?: TestRunOperationsClientMetricAvailability[]; - name?: string; - namespace?: string; - primaryAggregationType?: TestRunOperationsClientAggregationType; - supportedAggregationTypes?: string[]; - unit?: TestRunOperationsClientMetricUnit; + description?: string; + dimensions?: TestRunOperationsClientNameAndDesc[]; + metricAvailabilities?: TestRunOperationsClientMetricAvailability[]; + name?: string; + namespace?: string; + primaryAggregationType?: TestRunOperationsClientAggregationType; + supportedAggregationTypes?: string[]; + unit?: TestRunOperationsClientMetricUnit; } // @public export interface TestRunOperationsClientMetricDefinitionCollection { - value: TestRunOperationsClientMetricDefinition[]; + value: TestRunOperationsClientMetricDefinition[]; } // @public export interface TestRunOperationsClientMetricNamespace { - description?: string; - name?: string; + description?: string; + name?: string; } // @public export interface TestRunOperationsClientMetricNamespaceCollection { - value: TestRunOperationsClientMetricNamespace[]; + value: TestRunOperationsClientMetricNamespace[]; } // @public export interface TestRunOperationsClientMetricRequestPayload { - filters?: TestRunOperationsClientDimensionFilter[]; + filters?: TestRunOperationsClientDimensionFilter[]; } // @public (undocumented) -export function TestRunOperationsClientmetricRequestPayloadSerializer( - item: TestRunOperationsClientMetricRequestPayload -): MetricRequestPayload_2; +export function TestRunOperationsClientmetricRequestPayloadSerializer(item: TestRunOperationsClientMetricRequestPayload): MetricRequestPayload_2; // @public (undocumented) -export type TestRunOperationsClientMetricUnit = - | "NotSpecified" - | "Percent" - | "Count" - | "Seconds" - | "Milliseconds" - | "Bytes" - | "BytesPerSecond" - | "CountPerSecond"; +export type TestRunOperationsClientMetricUnit = "NotSpecified" | "Percent" | "Count" | "Seconds" | "Milliseconds" | "Bytes" | "BytesPerSecond" | "CountPerSecond"; // @public export interface TestRunOperationsClientMetricValue { - timestamp?: string; - value?: number; + timestamp?: string; + value?: number; } // @public export interface TestRunOperationsClientNameAndDesc { - description?: string; - name?: string; + description?: string; + name?: string; } // @public export interface TestRunOperationsClientOptionalLoadTestConfig { - duration?: number; - endpointUrl?: string; - rampUpTime?: number; - virtualUsers?: number; + duration?: number; + endpointUrl?: string; + rampUpTime?: number; + virtualUsers?: number; } // @public (undocumented) -export function TestRunOperationsClientoptionalLoadTestConfigSerializer( - item: TestRunOperationsClientOptionalLoadTestConfig -): OptionalLoadTestConfig_2; +export function TestRunOperationsClientoptionalLoadTestConfigSerializer(item: TestRunOperationsClientOptionalLoadTestConfig): OptionalLoadTestConfig_2; // @public (undocumented) export interface TestRunOperationsClientOptions extends ClientOptions { - apiVersion?: string; + apiVersion?: string; } // @public -export interface TestRunOperationsClientPagedAsyncIterableIterator< - TElement, - TPage = TElement[], - TPageSettings extends - TestRunOperationsClientPageSettings = TestRunOperationsClientPageSettings, -> { - [Symbol.asyncIterator](): TestRunOperationsClientPagedAsyncIterableIterator< - TElement, - TPage, - TPageSettings - >; - byPage: ( - settings?: TPageSettings - ) => AsyncIterableIterator< - TestRunOperationsClientContinuablePage - >; - next(): Promise>; +export interface TestRunOperationsClientPagedAsyncIterableIterator { + [Symbol.asyncIterator](): TestRunOperationsClientPagedAsyncIterableIterator; + byPage: (settings?: TPageSettings) => AsyncIterableIterator>; + next(): Promise>; } // @public export interface TestRunOperationsClientPagedDimensionValueList { - nextLink?: string; - value: TestRunOperationsClientDimensionValueList[]; + nextLink?: string; + value: TestRunOperationsClientDimensionValueList[]; } // @public export interface TestRunOperationsClientPagedFileInfo { - nextLink?: string; - value: TestRunOperationsClientFileInfo[]; + nextLink?: string; + value: TestRunOperationsClientFileInfo[]; } // @public export interface TestRunOperationsClientPagedTest { - nextLink?: string; - value: TestRunOperationsClientTest[]; + nextLink?: string; + value: TestRunOperationsClientTest[]; } // @public export interface TestRunOperationsClientPagedTestRun { - nextLink?: string; - value: TestRunOperationsClientTestRun[]; + nextLink?: string; + value: TestRunOperationsClientTestRun[]; } // @public export interface TestRunOperationsClientPagedTimeSeriesElement { - nextLink?: string; - value: TestRunOperationsClientTimeSeriesElement[]; + nextLink?: string; + value: TestRunOperationsClientTimeSeriesElement[]; } // @public export interface TestRunOperationsClientPageSettings { - continuationToken?: string; + continuationToken?: string; } // @public export interface TestRunOperationsClientPassFailCriteria { - passFailMetrics?: Record; + passFailMetrics?: Record; } // @public (undocumented) -export function TestRunOperationsClientpassFailCriteriaSerializer( - item: TestRunOperationsClientPassFailCriteria -): PassFailCriteria_2; +export function TestRunOperationsClientpassFailCriteriaSerializer(item: TestRunOperationsClientPassFailCriteria): PassFailCriteria_2; // @public export interface TestRunOperationsClientPassFailMetric { - action?: TestRunOperationsClientPFAction; - readonly actualValue?: number; - aggregate?: TestRunOperationsClientPFAgFunc; - clientMetric?: TestRunOperationsClientPFMetrics; - condition?: string; - requestName?: string; - readonly result?: TestRunOperationsClientPFResult; - value?: number; + action?: TestRunOperationsClientPFAction; + readonly actualValue?: number; + aggregate?: TestRunOperationsClientPFAgFunc; + clientMetric?: TestRunOperationsClientPFMetrics; + condition?: string; + requestName?: string; + readonly result?: TestRunOperationsClientPFResult; + value?: number; } // @public (undocumented) -export function TestRunOperationsClientpassFailMetricSerializer( - item: TestRunOperationsClientPassFailMetric -): PassFailMetric_2; +export function TestRunOperationsClientpassFailMetricSerializer(item: TestRunOperationsClientPassFailMetric): PassFailMetric_2; // @public (undocumented) export type TestRunOperationsClientPFAction = "continue" | "stop"; // @public (undocumented) -export type TestRunOperationsClientPFAgFunc = - | "count" - | "percentage" - | "avg" - | "p50" - | "p90" - | "p95" - | "p99" - | "min" - | "max"; +export type TestRunOperationsClientPFAgFunc = "count" | "percentage" | "avg" | "p50" | "p90" | "p95" | "p99" | "min" | "max"; // @public (undocumented) -export type TestRunOperationsClientPFMetrics = - | "response_time_ms" - | "latency" - | "error" - | "requests" - | "requests_per_sec"; +export type TestRunOperationsClientPFMetrics = "response_time_ms" | "latency" | "error" | "requests" | "requests_per_sec"; // @public (undocumented) -export type TestRunOperationsClientPFResult = - | "passed" - | "undetermined" - | "failed"; +export type TestRunOperationsClientPFResult = "passed" | "undetermined" | "failed"; // @public (undocumented) -export type TestRunOperationsClientPFTestResult = - | "PASSED" - | "NOT_APPLICABLE" - | "FAILED"; +export type TestRunOperationsClientPFTestResult = "PASSED" | "NOT_APPLICABLE" | "FAILED"; // @public export interface TestRunOperationsClientResourceMetric { - aggregation: string; - displayDescription?: string; - readonly id?: string; - metricNamespace: string; - name: string; - resourceId: string; - resourceType: string; - unit?: string; + aggregation: string; + displayDescription?: string; + readonly id?: string; + metricNamespace: string; + name: string; + resourceId: string; + resourceType: string; + unit?: string; } // @public (undocumented) -export function TestRunOperationsClientresourceMetricSerializer( - item: TestRunOperationsClientResourceMetric -): ResourceMetric_2; +export function TestRunOperationsClientresourceMetricSerializer(item: TestRunOperationsClientResourceMetric): ResourceMetric_2; // @public export interface TestRunOperationsClientSecret { - type?: TestRunOperationsClientSecretType; - value?: string; + type?: TestRunOperationsClientSecretType; + value?: string; } // @public (undocumented) -export function TestRunOperationsClientsecretSerializer( - item: TestRunOperationsClientSecret -): Secret_2; +export function TestRunOperationsClientsecretSerializer(item: TestRunOperationsClientSecret): Secret_2; // @public (undocumented) -export type TestRunOperationsClientSecretType = - | "AKV_SECRET_URI" - | "SECRET_VALUE"; +export type TestRunOperationsClientSecretType = "AKV_SECRET_URI" | "SECRET_VALUE"; // @public (undocumented) -export type TestRunOperationsClientStatus = - | "ACCEPTED" - | "NOTSTARTED" - | "PROVISIONING" - | "PROVISIONED" - | "CONFIGURING" - | "CONFIGURED" - | "EXECUTING" - | "EXECUTED" - | "DEPROVISIONING" - | "DEPROVISIONED" - | "DONE" - | "CANCELLING" - | "CANCELLED" - | "FAILED" - | "VALIDATION_SUCCESS" - | "VALIDATION_FAILURE"; +export type TestRunOperationsClientStatus = "ACCEPTED" | "NOTSTARTED" | "PROVISIONING" | "PROVISIONED" | "CONFIGURING" | "CONFIGURED" | "EXECUTING" | "EXECUTED" | "DEPROVISIONING" | "DEPROVISIONED" | "DONE" | "CANCELLING" | "CANCELLED" | "FAILED" | "VALIDATION_SUCCESS" | "VALIDATION_FAILURE"; // @public export interface TestRunOperationsClientTest { - certificate?: TestRunOperationsClientCertificateMetadata; - readonly createdBy?: string; - readonly createdDateTime?: string; - description?: string; - displayName?: string; - environmentVariables?: Record; - readonly inputArtifacts?: TestRunOperationsClientTestInputArtifacts; - keyvaultReferenceIdentityId?: string; - keyvaultReferenceIdentityType?: string; - readonly lastModifiedBy?: string; - readonly lastModifiedDateTime?: string; - loadTestConfiguration?: TestRunOperationsClientLoadTestConfiguration; - passFailCriteria?: TestRunOperationsClientPassFailCriteria; - secrets?: Record; - subnetId?: string; - readonly testId?: string; + certificate?: TestRunOperationsClientCertificateMetadata; + readonly createdBy?: string; + readonly createdDateTime?: string; + description?: string; + displayName?: string; + environmentVariables?: Record; + readonly inputArtifacts?: TestRunOperationsClientTestInputArtifacts; + keyvaultReferenceIdentityId?: string; + keyvaultReferenceIdentityType?: string; + readonly lastModifiedBy?: string; + readonly lastModifiedDateTime?: string; + loadTestConfiguration?: TestRunOperationsClientLoadTestConfiguration; + passFailCriteria?: TestRunOperationsClientPassFailCriteria; + secrets?: Record; + subnetId?: string; + readonly testId?: string; } // @public export interface TestRunOperationsClientTestAppComponents { - components: Record; - readonly createdBy?: string; - readonly createdDateTime?: string; - readonly lastModifiedBy?: string; - readonly lastModifiedDateTime?: string; - readonly testId?: string; + components: Record; + readonly createdBy?: string; + readonly createdDateTime?: string; + readonly lastModifiedBy?: string; + readonly lastModifiedDateTime?: string; + readonly testId?: string; } // @public (undocumented) -export function TestRunOperationsClienttestAppComponentsSerializer( - item: TestRunOperationsClientTestAppComponents -): TestAppComponents_2; +export function TestRunOperationsClienttestAppComponentsSerializer(item: TestRunOperationsClientTestAppComponents): TestAppComponents_2; // @public export interface TestRunOperationsClientTestInputArtifacts { - readonly additionalFileInfo?: TestRunOperationsClientFileInfo[]; - configFileInfo?: TestRunOperationsClientFileInfo; - inputArtifactsZipFileInfo?: TestRunOperationsClientFileInfo; - testScriptFileInfo?: TestRunOperationsClientFileInfo; - userPropFileInfo?: TestRunOperationsClientFileInfo; + readonly additionalFileInfo?: TestRunOperationsClientFileInfo[]; + configFileInfo?: TestRunOperationsClientFileInfo; + inputArtifactsZipFileInfo?: TestRunOperationsClientFileInfo; + testScriptFileInfo?: TestRunOperationsClientFileInfo; + userPropFileInfo?: TestRunOperationsClientFileInfo; } // @public (undocumented) -export function TestRunOperationsClienttestInputArtifactsSerializer( - item: TestRunOperationsClientTestInputArtifacts -): TestInputArtifacts_2; +export function TestRunOperationsClienttestInputArtifactsSerializer(item: TestRunOperationsClientTestInputArtifacts): TestInputArtifacts_2; // @public export interface TestRunOperationsClientTestRun { - certificate?: TestRunOperationsClientCertificateMetadata; - readonly createdBy?: string; - readonly createdDateTime?: string; - description?: string; - displayName?: string; - readonly duration?: number; - readonly endDateTime?: string; - environmentVariables?: Record; - readonly errorDetails?: TestRunOperationsClientErrorDetails[]; - readonly executedDateTime?: string; - readonly lastModifiedBy?: string; - readonly lastModifiedDateTime?: string; - loadTestConfiguration?: TestRunOperationsClientLoadTestConfiguration; - passFailCriteria?: TestRunOperationsClientPassFailCriteria; - readonly portalUrl?: string; - secrets?: Record; - readonly startDateTime?: string; - readonly status?: TestRunOperationsClientStatus; - readonly subnetId?: string; - readonly testArtifacts?: TestRunOperationsClientTestRunArtifacts; - testId?: string; - readonly testResult?: TestRunOperationsClientPFTestResult; - readonly testRunId: string; - readonly testRunStatistics?: Record< - string, - TestRunOperationsClientTestRunStatistics - >; - readonly virtualUsers?: number; + certificate?: TestRunOperationsClientCertificateMetadata; + readonly createdBy?: string; + readonly createdDateTime?: string; + description?: string; + displayName?: string; + readonly duration?: number; + readonly endDateTime?: string; + environmentVariables?: Record; + readonly errorDetails?: TestRunOperationsClientErrorDetails[]; + readonly executedDateTime?: string; + readonly lastModifiedBy?: string; + readonly lastModifiedDateTime?: string; + loadTestConfiguration?: TestRunOperationsClientLoadTestConfiguration; + passFailCriteria?: TestRunOperationsClientPassFailCriteria; + readonly portalUrl?: string; + secrets?: Record; + readonly startDateTime?: string; + readonly status?: TestRunOperationsClientStatus; + readonly subnetId?: string; + readonly testArtifacts?: TestRunOperationsClientTestRunArtifacts; + testId?: string; + readonly testResult?: TestRunOperationsClientPFTestResult; + readonly testRunId: string; + readonly testRunStatistics?: Record; + readonly virtualUsers?: number; } // @public export interface TestRunOperationsClientTestRunAppComponents { - components: Record; - readonly createdBy?: string; - readonly createdDateTime?: string; - readonly lastModifiedBy?: string; - readonly lastModifiedDateTime?: string; - readonly testRunId?: string; + components: Record; + readonly createdBy?: string; + readonly createdDateTime?: string; + readonly lastModifiedBy?: string; + readonly lastModifiedDateTime?: string; + readonly testRunId?: string; } // @public (undocumented) -export function TestRunOperationsClienttestRunAppComponentsSerializer( - item: TestRunOperationsClientTestRunAppComponents -): TestRunAppComponents_2; +export function TestRunOperationsClienttestRunAppComponentsSerializer(item: TestRunOperationsClientTestRunAppComponents): TestRunAppComponents_2; // @public export interface TestRunOperationsClientTestRunArtifacts { - readonly inputArtifacts?: TestRunOperationsClientTestRunInputArtifacts; - outputArtifacts?: TestRunOperationsClientTestRunOutputArtifacts; + readonly inputArtifacts?: TestRunOperationsClientTestRunInputArtifacts; + outputArtifacts?: TestRunOperationsClientTestRunOutputArtifacts; } // @public (undocumented) -export function TestRunOperationsClienttestRunArtifactsSerializer( - item: TestRunOperationsClientTestRunArtifacts -): TestRunArtifacts_2; +export function TestRunOperationsClienttestRunArtifactsSerializer(item: TestRunOperationsClientTestRunArtifacts): TestRunArtifacts_2; // @public export interface TestRunOperationsClientTestRunInputArtifacts { - readonly additionalFileInfo?: TestRunOperationsClientFileInfo[]; - configFileInfo?: TestRunOperationsClientFileInfo; - inputArtifactsZipFileInfo?: TestRunOperationsClientFileInfo; - testScriptFileInfo?: TestRunOperationsClientFileInfo; - userPropFileInfo?: TestRunOperationsClientFileInfo; + readonly additionalFileInfo?: TestRunOperationsClientFileInfo[]; + configFileInfo?: TestRunOperationsClientFileInfo; + inputArtifactsZipFileInfo?: TestRunOperationsClientFileInfo; + testScriptFileInfo?: TestRunOperationsClientFileInfo; + userPropFileInfo?: TestRunOperationsClientFileInfo; } // @public (undocumented) -export function TestRunOperationsClienttestRunInputArtifactsSerializer( - item: TestRunOperationsClientTestRunInputArtifacts -): TestRunInputArtifacts_2; +export function TestRunOperationsClienttestRunInputArtifactsSerializer(item: TestRunOperationsClientTestRunInputArtifacts): TestRunInputArtifacts_2; // @public export interface TestRunOperationsClientTestRunOutputArtifacts { - logsFileInfo?: TestRunOperationsClientFileInfo; - resultFileInfo?: TestRunOperationsClientFileInfo; + logsFileInfo?: TestRunOperationsClientFileInfo; + resultFileInfo?: TestRunOperationsClientFileInfo; } // Warning: (ae-forgotten-export) The symbol "TestRunOutputArtifacts_2" needs to be exported by the entry point index.d.ts // // @public (undocumented) -export function TestRunOperationsClienttestRunOutputArtifactsSerializer( - item: TestRunOperationsClientTestRunOutputArtifacts -): TestRunOutputArtifacts_2; +export function TestRunOperationsClienttestRunOutputArtifactsSerializer(item: TestRunOperationsClientTestRunOutputArtifacts): TestRunOutputArtifacts_2; // Warning: (ae-forgotten-export) The symbol "TestRun_2" needs to be exported by the entry point index.d.ts // // @public (undocumented) -export function TestRunOperationsClienttestRunSerializer( - item: TestRunOperationsClientTestRun -): TestRun_2; +export function TestRunOperationsClienttestRunSerializer(item: TestRunOperationsClientTestRun): TestRun_2; // @public export interface TestRunOperationsClientTestRunServerMetricConfig { - readonly createdBy?: string; - readonly createdDateTime?: string; - readonly lastModifiedBy?: string; - readonly lastModifiedDateTime?: string; - metrics?: Record; - readonly testRunId?: string; + readonly createdBy?: string; + readonly createdDateTime?: string; + readonly lastModifiedBy?: string; + readonly lastModifiedDateTime?: string; + metrics?: Record; + readonly testRunId?: string; } // Warning: (ae-forgotten-export) The symbol "TestRunServerMetricConfig_2" needs to be exported by the entry point index.d.ts // // @public (undocumented) -export function TestRunOperationsClienttestRunServerMetricConfigSerializer( - item: TestRunOperationsClientTestRunServerMetricConfig -): TestRunServerMetricConfig_2; +export function TestRunOperationsClienttestRunServerMetricConfigSerializer(item: TestRunOperationsClientTestRunServerMetricConfig): TestRunServerMetricConfig_2; // @public export interface TestRunOperationsClientTestRunStatistics { - readonly errorCount?: number; - readonly errorPct?: number; - readonly maxResTime?: number; - readonly meanResTime?: number; - readonly medianResTime?: number; - readonly minResTime?: number; - readonly pct1ResTime?: number; - readonly pct2ResTime?: number; - readonly pct3ResTime?: number; - readonly receivedKBytesPerSec?: number; - readonly sampleCount?: number; - readonly sentKBytesPerSec?: number; - readonly throughput?: number; - readonly transaction?: string; + readonly errorCount?: number; + readonly errorPct?: number; + readonly maxResTime?: number; + readonly meanResTime?: number; + readonly medianResTime?: number; + readonly minResTime?: number; + readonly pct1ResTime?: number; + readonly pct2ResTime?: number; + readonly pct3ResTime?: number; + readonly receivedKBytesPerSec?: number; + readonly sampleCount?: number; + readonly sentKBytesPerSec?: number; + readonly throughput?: number; + readonly transaction?: string; } // Warning: (ae-forgotten-export) The symbol "Test_2" needs to be exported by the entry point index.d.ts // // @public (undocumented) -export function TestRunOperationsClienttestSerializer( - item: TestRunOperationsClientTest -): Test_2; +export function TestRunOperationsClienttestSerializer(item: TestRunOperationsClientTest): Test_2; // @public export interface TestRunOperationsClientTestServerMetricConfig { - readonly createdBy?: string; - readonly createdDateTime?: string; - readonly lastModifiedBy?: string; - readonly lastModifiedDateTime?: string; - metrics?: Record; - readonly testId?: string; + readonly createdBy?: string; + readonly createdDateTime?: string; + readonly lastModifiedBy?: string; + readonly lastModifiedDateTime?: string; + metrics?: Record; + readonly testId?: string; } // Warning: (ae-forgotten-export) The symbol "TestServerMetricConfig_2" needs to be exported by the entry point index.d.ts // // @public (undocumented) -export function TestRunOperationsClienttestServerMetricConfigSerializer( - item: TestRunOperationsClientTestServerMetricConfig -): TestServerMetricConfig_2; +export function TestRunOperationsClienttestServerMetricConfigSerializer(item: TestRunOperationsClientTestServerMetricConfig): TestServerMetricConfig_2; // @public (undocumented) -export type TestRunOperationsClientTimeGrain = - | "PT5S" - | "PT10S" - | "PT1M" - | "PT5M" - | "PT1H"; +export type TestRunOperationsClientTimeGrain = "PT5S" | "PT10S" | "PT1M" | "PT5M" | "PT1H"; // @public export interface TestRunOperationsClientTimeSeriesElement { - data?: TestRunOperationsClientMetricValue[]; - dimensionValues?: TestRunOperationsClientDimensionValue[]; + data?: TestRunOperationsClientMetricValue[]; + dimensionValues?: TestRunOperationsClientDimensionValue[]; } // @public (undocumented) export interface TestRunOptionalParams extends OperationOptions { - contentType?: string; - oldTestRunId?: string; - updateIntervalInMs?: number; + contentType?: string; + oldTestRunId?: string; + updateIntervalInMs?: number; } // @public export interface TestRunOutputArtifacts { - logsFileInfo?: FileInfo; - resultFileInfo?: FileInfo; + logsFileInfo?: FileInfo; + resultFileInfo?: FileInfo; } // @public (undocumented) -export function testRunOutputArtifactsSerializer( - item: TestRunOutputArtifacts -): TestRunOutputArtifacts_2; +export function testRunOutputArtifactsSerializer(item: TestRunOutputArtifacts): TestRunOutputArtifacts_2; // @public (undocumented) export function testRunSerializer(item: TestRun): TestRun_2; // @public export interface TestRunServerMetricConfig { - readonly createdBy?: string; - readonly createdDateTime?: string; - readonly lastModifiedBy?: string; - readonly lastModifiedDateTime?: string; - metrics?: Record; - readonly testRunId?: string; + readonly createdBy?: string; + readonly createdDateTime?: string; + readonly lastModifiedBy?: string; + readonly lastModifiedDateTime?: string; + metrics?: Record; + readonly testRunId?: string; } // @public (undocumented) -export function testRunServerMetricConfigSerializer( - item: TestRunServerMetricConfig -): TestRunServerMetricConfig_2; +export function testRunServerMetricConfigSerializer(item: TestRunServerMetricConfig): TestRunServerMetricConfig_2; // @public export interface TestRunStatistics { - readonly errorCount?: number; - readonly errorPct?: number; - readonly maxResTime?: number; - readonly meanResTime?: number; - readonly medianResTime?: number; - readonly minResTime?: number; - readonly pct1ResTime?: number; - readonly pct2ResTime?: number; - readonly pct3ResTime?: number; - readonly receivedKBytesPerSec?: number; - readonly sampleCount?: number; - readonly sentKBytesPerSec?: number; - readonly throughput?: number; - readonly transaction?: string; + readonly errorCount?: number; + readonly errorPct?: number; + readonly maxResTime?: number; + readonly meanResTime?: number; + readonly medianResTime?: number; + readonly minResTime?: number; + readonly pct1ResTime?: number; + readonly pct2ResTime?: number; + readonly pct3ResTime?: number; + readonly receivedKBytesPerSec?: number; + readonly sampleCount?: number; + readonly sentKBytesPerSec?: number; + readonly throughput?: number; + readonly transaction?: string; } // @public (undocumented) @@ -1458,34 +1127,33 @@ export function testSerializer(item: Test): Test_2; // @public export interface TestServerMetricConfig { - readonly createdBy?: string; - readonly createdDateTime?: string; - readonly lastModifiedBy?: string; - readonly lastModifiedDateTime?: string; - metrics?: Record; - readonly testId?: string; + readonly createdBy?: string; + readonly createdDateTime?: string; + readonly lastModifiedBy?: string; + readonly lastModifiedDateTime?: string; + metrics?: Record; + readonly testId?: string; } // @public (undocumented) -export function testServerMetricConfigSerializer( - item: TestServerMetricConfig -): TestServerMetricConfig_2; +export function testServerMetricConfigSerializer(item: TestServerMetricConfig): TestServerMetricConfig_2; // @public (undocumented) export type TimeGrain = "PT5S" | "PT10S" | "PT1M" | "PT5M" | "PT1H"; // @public export interface TimeSeriesElement { - data?: MetricValue[]; - dimensionValues?: DimensionValue[]; + data?: MetricValue[]; + dimensionValues?: DimensionValue[]; } // @public (undocumented) export interface UploadTestFileOptionalParams extends OperationOptions { - // (undocumented) - contentType?: string; - fileType?: FileType; + // (undocumented) + contentType?: string; + fileType?: FileType; } // (No @packageDocumentation comment for this package) + ```