diff --git a/sdk/testbase/arm-testbase/LICENSE.txt b/sdk/testbase/arm-testbase/LICENSE.txt
new file mode 100644
index 000000000000..2d3163745319
--- /dev/null
+++ b/sdk/testbase/arm-testbase/LICENSE.txt
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2021 Microsoft
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/sdk/testbase/arm-testbase/README.md b/sdk/testbase/arm-testbase/README.md
new file mode 100644
index 000000000000..153546ed3888
--- /dev/null
+++ b/sdk/testbase/arm-testbase/README.md
@@ -0,0 +1,98 @@
+## Azure RESTAPIforTestBase SDK for JavaScript
+
+This package contains an isomorphic SDK for RESTAPIforTestBase.
+
+### Currently supported environments
+
+- Node.js version 6.x.x or higher
+- Browser JavaScript
+
+### How to Install
+
+```bash
+npm install @azure/arm-testbase
+```
+
+### How to use
+
+#### nodejs - client creation and list sKUs as an example written in TypeScript.
+
+##### Install @azure/ms-rest-nodeauth
+
+- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`.
+```bash
+npm install @azure/ms-rest-nodeauth@"^3.0.0"
+```
+
+##### Sample code
+
+While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package
+```typescript
+const msRestNodeAuth = require("@azure/ms-rest-nodeauth");
+const { RESTAPIforTestBase } = require("@azure/arm-testbase");
+const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"];
+
+msRestNodeAuth.interactiveLogin().then((creds) => {
+ const client = new RESTAPIforTestBase(creds, subscriptionId);
+ client.sKUs.list().then((result) => {
+ console.log("The result is:");
+ console.log(result);
+ });
+}).catch((err) => {
+ console.error(err);
+});
+```
+
+#### browser - Authentication, client creation and list sKUs as an example written in JavaScript.
+
+##### Install @azure/ms-rest-browserauth
+
+```bash
+npm install @azure/ms-rest-browserauth
+```
+
+##### Sample code
+
+See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser.
+
+- index.html
+```html
+
+
+
+ @azure/arm-testbase sample
+
+
+
+
+
+
+
+
+```
+
+## Related projects
+
+- [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js)
+
+
diff --git a/sdk/testbase/arm-testbase/package.json b/sdk/testbase/arm-testbase/package.json
new file mode 100644
index 000000000000..048eade188e3
--- /dev/null
+++ b/sdk/testbase/arm-testbase/package.json
@@ -0,0 +1,58 @@
+{
+ "name": "@azure/arm-testbase",
+ "author": "Microsoft Corporation",
+ "description": "RESTAPIforTestBase Library with typescript type definitions for node.js and browser.",
+ "version": "1.0.0",
+ "dependencies": {
+ "@azure/ms-rest-azure-js": "^2.0.1",
+ "@azure/ms-rest-js": "^2.0.4",
+ "tslib": "^1.10.0"
+ },
+ "keywords": [
+ "node",
+ "azure",
+ "typescript",
+ "browser",
+ "isomorphic"
+ ],
+ "license": "MIT",
+ "main": "./dist/arm-testbase.js",
+ "module": "./esm/rESTAPIforTestBase.js",
+ "types": "./esm/rESTAPIforTestBase.d.ts",
+ "devDependencies": {
+ "typescript": "^3.5.3",
+ "rollup": "^1.18.0",
+ "rollup-plugin-node-resolve": "^5.2.0",
+ "rollup-plugin-sourcemaps": "^0.4.2",
+ "uglify-js": "^3.6.0"
+ },
+ "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/testbase/arm-testbase",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/Azure/azure-sdk-for-js.git"
+ },
+ "bugs": {
+ "url": "https://github.com/Azure/azure-sdk-for-js/issues"
+ },
+ "files": [
+ "dist/**/*.js",
+ "dist/**/*.js.map",
+ "dist/**/*.d.ts",
+ "dist/**/*.d.ts.map",
+ "esm/**/*.js",
+ "esm/**/*.js.map",
+ "esm/**/*.d.ts",
+ "esm/**/*.d.ts.map",
+ "src/**/*.ts",
+ "README.md",
+ "rollup.config.js",
+ "tsconfig.json"
+ ],
+ "scripts": {
+ "build": "tsc && rollup -c rollup.config.js && npm run minify",
+ "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-testbase.js.map'\" -o ./dist/arm-testbase.min.js ./dist/arm-testbase.js",
+ "prepack": "npm install && npm run build"
+ },
+ "sideEffects": false,
+ "autoPublish": true
+}
diff --git a/sdk/testbase/arm-testbase/rollup.config.js b/sdk/testbase/arm-testbase/rollup.config.js
new file mode 100644
index 000000000000..e4aebca632f8
--- /dev/null
+++ b/sdk/testbase/arm-testbase/rollup.config.js
@@ -0,0 +1,37 @@
+import rollup from "rollup";
+import nodeResolve from "rollup-plugin-node-resolve";
+import sourcemaps from "rollup-plugin-sourcemaps";
+
+/**
+ * @type {rollup.RollupFileOptions}
+ */
+const config = {
+ input: "./esm/rESTAPIforTestBase.js",
+ external: [
+ "@azure/ms-rest-js",
+ "@azure/ms-rest-azure-js"
+ ],
+ output: {
+ file: "./dist/arm-testbase.js",
+ format: "umd",
+ name: "Azure.ArmTestbase",
+ sourcemap: true,
+ globals: {
+ "@azure/ms-rest-js": "msRest",
+ "@azure/ms-rest-azure-js": "msRestAzure"
+ },
+ banner: `/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */`
+ },
+ plugins: [
+ nodeResolve({ mainFields: ['module', 'main'] }),
+ sourcemaps()
+ ]
+};
+
+export default config;
diff --git a/sdk/testbase/arm-testbase/src/models/analysisResultMappers.ts b/sdk/testbase/arm-testbase/src/models/analysisResultMappers.ts
new file mode 100644
index 000000000000..cac5d649fab5
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/models/analysisResultMappers.ts
@@ -0,0 +1,37 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ discriminators,
+ AnalysisResultSingletonResource,
+ AvailableOSResource,
+ BaseResource,
+ Command,
+ ErrorDefinition,
+ ErrorResponse,
+ FavoriteProcessResource,
+ FlightingRingResource,
+ OSUpdateResource,
+ OSUpdatesTestSummary,
+ OSUpdateTestSummary,
+ PackageResource,
+ PackageValidationResult,
+ ProxyResource,
+ Resource,
+ SystemData,
+ TargetOSInfo,
+ Test,
+ TestBaseAccountResource,
+ TestBaseAccountSKU,
+ TestBaseAccountSKUCapability,
+ TestResultAnalysisSummary,
+ TestResultResource,
+ TestSummaryResource,
+ TestTypeResource,
+ TrackedResource
+} from "../models/mappers";
diff --git a/sdk/testbase/arm-testbase/src/models/analysisResultsMappers.ts b/sdk/testbase/arm-testbase/src/models/analysisResultsMappers.ts
new file mode 100644
index 000000000000..f569d705cef0
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/models/analysisResultsMappers.ts
@@ -0,0 +1,38 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ discriminators,
+ AnalysisResultListResult,
+ AnalysisResultSingletonResource,
+ AvailableOSResource,
+ BaseResource,
+ Command,
+ ErrorDefinition,
+ ErrorResponse,
+ FavoriteProcessResource,
+ FlightingRingResource,
+ OSUpdateResource,
+ OSUpdatesTestSummary,
+ OSUpdateTestSummary,
+ PackageResource,
+ PackageValidationResult,
+ ProxyResource,
+ Resource,
+ SystemData,
+ TargetOSInfo,
+ Test,
+ TestBaseAccountResource,
+ TestBaseAccountSKU,
+ TestBaseAccountSKUCapability,
+ TestResultAnalysisSummary,
+ TestResultResource,
+ TestSummaryResource,
+ TestTypeResource,
+ TrackedResource
+} from "../models/mappers";
diff --git a/sdk/testbase/arm-testbase/src/models/favoriteProcessMappers.ts b/sdk/testbase/arm-testbase/src/models/favoriteProcessMappers.ts
new file mode 100644
index 000000000000..cac5d649fab5
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/models/favoriteProcessMappers.ts
@@ -0,0 +1,37 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ discriminators,
+ AnalysisResultSingletonResource,
+ AvailableOSResource,
+ BaseResource,
+ Command,
+ ErrorDefinition,
+ ErrorResponse,
+ FavoriteProcessResource,
+ FlightingRingResource,
+ OSUpdateResource,
+ OSUpdatesTestSummary,
+ OSUpdateTestSummary,
+ PackageResource,
+ PackageValidationResult,
+ ProxyResource,
+ Resource,
+ SystemData,
+ TargetOSInfo,
+ Test,
+ TestBaseAccountResource,
+ TestBaseAccountSKU,
+ TestBaseAccountSKUCapability,
+ TestResultAnalysisSummary,
+ TestResultResource,
+ TestSummaryResource,
+ TestTypeResource,
+ TrackedResource
+} from "../models/mappers";
diff --git a/sdk/testbase/arm-testbase/src/models/favoriteProcessesMappers.ts b/sdk/testbase/arm-testbase/src/models/favoriteProcessesMappers.ts
new file mode 100644
index 000000000000..0925785cdc58
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/models/favoriteProcessesMappers.ts
@@ -0,0 +1,38 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ discriminators,
+ AnalysisResultSingletonResource,
+ AvailableOSResource,
+ BaseResource,
+ Command,
+ ErrorDefinition,
+ ErrorResponse,
+ FavoriteProcessListResult,
+ FavoriteProcessResource,
+ FlightingRingResource,
+ OSUpdateResource,
+ OSUpdatesTestSummary,
+ OSUpdateTestSummary,
+ PackageResource,
+ PackageValidationResult,
+ ProxyResource,
+ Resource,
+ SystemData,
+ TargetOSInfo,
+ Test,
+ TestBaseAccountResource,
+ TestBaseAccountSKU,
+ TestBaseAccountSKUCapability,
+ TestResultAnalysisSummary,
+ TestResultResource,
+ TestSummaryResource,
+ TestTypeResource,
+ TrackedResource
+} from "../models/mappers";
diff --git a/sdk/testbase/arm-testbase/src/models/index.ts b/sdk/testbase/arm-testbase/src/models/index.ts
new file mode 100644
index 000000000000..9fe948ec5dc0
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/models/index.ts
@@ -0,0 +1,2787 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
+import * as msRest from "@azure/ms-rest-js";
+
+export { BaseResource, CloudError };
+
+/**
+ * The Resource definition.
+ */
+export interface Resource extends BaseResource {
+ /**
+ * Resource ID.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly id?: string;
+ /**
+ * Resource name.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly name?: string;
+ /**
+ * Resource type.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly type?: string;
+}
+
+/**
+ * The resource model definition for an ARM proxy resource. It will have everything other than
+ * required location and tags
+ */
+export interface ProxyResource extends Resource {
+}
+
+/**
+ * The resource model definition for an ARM tracked top level resource
+ */
+export interface TrackedResource extends Resource {
+ /**
+ * The tags of the resource.
+ */
+ tags?: { [propertyName: string]: string };
+ /**
+ * The geo-location where the resource lives
+ */
+ location: string;
+ /**
+ * Resource Etag.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly etag?: string;
+}
+
+/**
+ * Error definition.
+ */
+export interface ErrorDefinition {
+ /**
+ * The error code.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly code?: string;
+ /**
+ * The error message.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly message?: string;
+ /**
+ * The target of the particular error.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly target?: string;
+ /**
+ * The error details.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly details?: ErrorDefinition[];
+}
+
+/**
+ * The error response send when an operation fails.
+ */
+export interface ErrorResponse {
+ /**
+ * The error details.
+ */
+ error?: ErrorDefinition;
+}
+
+/**
+ * Properties of the Test Base Account SKU Capability.
+ */
+export interface TestBaseAccountSKUCapability {
+ /**
+ * An invariant to describe the feature, such as 'SLA'.
+ */
+ name: string;
+ /**
+ * An invariant if the feature is measured by quantity, such as 99.9%.
+ */
+ value: string;
+}
+
+/**
+ * Describes a Test Base Account SKU.
+ */
+export interface TestBaseAccountSKU {
+ /**
+ * The type of resource the SKU applies to.
+ */
+ resourceType?: string;
+ /**
+ * The name of the SKU. This is typically a letter + number code, such as B0 or S0.
+ */
+ name: string;
+ /**
+ * The tier of this particular SKU. Possible values include: 'Basic', 'Standard'
+ */
+ tier: Tier;
+ /**
+ * The capabilities of a SKU.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly capabilities?: TestBaseAccountSKUCapability[];
+ /**
+ * The locations that the SKU is available.
+ */
+ locations?: string[];
+}
+
+/**
+ * Metadata pertaining to creation and last modification of the resource.
+ */
+export interface SystemData {
+ /**
+ * The identity that created the resource.
+ */
+ createdBy?: string;
+ /**
+ * The type of identity that created the resource. Possible values include: 'User',
+ * 'Application', 'ManagedIdentity', 'Key'
+ */
+ createdByType?: CreatedByType;
+ /**
+ * The timestamp of resource creation (UTC).
+ */
+ createdAt?: Date;
+ /**
+ * The identity that last modified the resource.
+ */
+ lastModifiedBy?: string;
+ /**
+ * The type of identity that last modified the resource. Possible values include: 'User',
+ * 'Application', 'ManagedIdentity', 'Key'
+ */
+ lastModifiedByType?: CreatedByType;
+ /**
+ * The type of identity that last modified the resource.
+ */
+ lastModifiedAt?: Date;
+}
+
+/**
+ * The Test Base Account resource.
+ */
+export interface TestBaseAccountResource extends TrackedResource {
+ /**
+ * The system metadata relating to this resource
+ */
+ systemData?: SystemData;
+ /**
+ * The provisioning state of the resource. Possible values include: 'Succeeded', 'Failed',
+ * 'Cancelled', 'Creating', 'Deleting', 'Updating'
+ */
+ provisioningState?: ProvisioningState;
+ /**
+ * The SKU of the Test Base Account.
+ */
+ sku: TestBaseAccountSKU;
+ /**
+ * The access level of the Test Base Account.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly accessLevel?: string;
+}
+
+/**
+ * Parameters supplied to update a Test Base Account.
+ */
+export interface TestBaseAccountUpdateParameters {
+ /**
+ * The SKU of the Test Base Account.
+ */
+ sku?: TestBaseAccountSKU;
+ /**
+ * The tags of the Test Base Account.
+ */
+ tags?: { [propertyName: string]: string };
+}
+
+/**
+ * Localizable String object containing the name and a localized value.
+ */
+export interface TestBaseAccountUsageName {
+ /**
+ * The identifier of the usage.
+ */
+ value?: string;
+ /**
+ * Localized name of the usage.
+ */
+ localizedValue?: string;
+}
+
+/**
+ * The usage data of a Test Base Account.
+ */
+export interface TestBaseAccountUsageData {
+ /**
+ * Fully qualified ARM resource id
+ */
+ id?: string;
+ /**
+ * Localizable String object containing the name and a localized value.
+ */
+ name?: TestBaseAccountUsageName;
+ /**
+ * Representing the units of the usage quota. Possible values are: Count, Bytes, Seconds,
+ * Percent, CountPerSecond, BytesPerSecond.
+ */
+ unit?: string;
+ /**
+ * The maximum permitted value for the usage quota. If there is no limit, this value will be -1.
+ */
+ limit?: number;
+ /**
+ * Current value for the usage quota.
+ */
+ currentValue?: number;
+}
+
+/**
+ * The parameters supplied to the Test Base Account GetFileUploadURL action.
+ */
+export interface GetFileUploadURLParameters {
+ /**
+ * The custom file name of the uploaded blob.
+ */
+ blobName?: string;
+}
+
+/**
+ * The URL response
+ */
+export interface FileUploadURLResponse {
+ /**
+ * The URL used for uploading the package.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly uploadUrl?: string;
+ /**
+ * The blob path of the uploaded package. It will be used as the 'blobPath' property of
+ * PackageResource.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly blobPath?: string;
+}
+
+/**
+ * The Available OS resource.
+ */
+export interface AvailableOSResource extends ProxyResource {
+ /**
+ * The system metadata relating to this resource
+ */
+ systemData?: SystemData;
+ /**
+ * The Id of an Available OS of a Test Base Account.
+ */
+ osId?: string;
+ /**
+ * The name of an Available OS of a Test Base Account.
+ */
+ osName?: string;
+ /**
+ * The version of an Available OS of a Test Base Account.
+ */
+ osVersion?: string;
+ /**
+ * The insider channel of an Available OS of a Test Base Account.
+ */
+ insiderChannel?: string;
+ /**
+ * The OS update type of an Available OS of a Test Base Account.
+ */
+ osUpdateType?: string;
+ /**
+ * The Platform of an Available OS of a Test Base Account.
+ */
+ osPlatform?: string;
+}
+
+/**
+ * The flighting ring resource.
+ */
+export interface FlightingRingResource extends ProxyResource {
+ /**
+ * The system metadata relating to this resource
+ */
+ systemData?: SystemData;
+ /**
+ * The actual name of a flighting ring of a Test Base Account.
+ */
+ actualFlightingRingName?: string;
+}
+
+/**
+ * The test type resource.
+ */
+export interface TestTypeResource extends ProxyResource {
+ /**
+ * The system metadata relating to this resource
+ */
+ systemData?: SystemData;
+ /**
+ * The actual name of a test type of a Test Base Account.
+ */
+ actualTestTypeName?: string;
+}
+
+/**
+ * Parameters body to pass for Test Base Package name availability check.
+ */
+export interface PackageCheckNameAvailabilityParameters {
+ /**
+ * Resource name to verify.
+ */
+ name: string;
+ /**
+ * Application name to verify.
+ */
+ applicationName: string;
+ /**
+ * Version name to verify.
+ */
+ version: string;
+ /**
+ * fully qualified resource type which includes provider namespace.
+ */
+ type: string;
+}
+
+/**
+ * Description of a Check Name availability response properties.
+ */
+export interface CheckNameAvailabilityResult {
+ /**
+ * Value indicating the availability of the name: true if the name is available; otherwise,
+ * false.
+ */
+ nameAvailable?: boolean;
+ /**
+ * The reason for unavailability of a name. Required if nameAvailable == false. Possible values
+ * include: 'Invalid', 'AlreadyExists'
+ */
+ reason?: Reason;
+ /**
+ * The detailed info regarding the reason associated with the name. Required if nameAvailable ==
+ * false.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly message?: string;
+}
+
+/**
+ * The information of the target OS to be tested.
+ */
+export interface TargetOSInfo {
+ /**
+ * Specifies the OS update type to test against, e.g., 'Security updates' or 'Feature updates'.
+ */
+ osUpdateType: string;
+ /**
+ * Specifies the target OSs to be tested.
+ */
+ targetOSs: string[];
+}
+
+/**
+ * The validation results. There's validation on package when it's created or updated.
+ */
+export interface PackageValidationResult {
+ /**
+ * Validation name.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly validationName?: string;
+ /**
+ * Indicates whether the package passed the validation.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly isValid?: boolean;
+ /**
+ * Error information.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly errors?: string[];
+}
+
+/**
+ * The command used in the test
+ */
+export interface Command {
+ /**
+ * The name of the command.
+ */
+ name: string;
+ /**
+ * The action of the command. Possible values include: 'Install', 'Launch', 'Close', 'Uninstall',
+ * 'Custom'
+ */
+ action: Action;
+ /**
+ * The type of command content. Possible values include: 'Inline', 'File', 'Path'
+ */
+ contentType: ContentType;
+ /**
+ * The content of the command. The content depends on source type.
+ */
+ content: string;
+ /**
+ * Specifies whether to run the command as administrator.
+ */
+ runElevated?: boolean;
+ /**
+ * Specifies whether to restart the VM after the command executed.
+ */
+ restartAfter?: boolean;
+ /**
+ * Specifies the max run time of the command.
+ */
+ maxRunTime?: number;
+ /**
+ * Specifies whether to run the command in interactive mode.
+ */
+ runAsInteractive?: boolean;
+ /**
+ * Specifies whether to run the command even if a previous command is failed.
+ */
+ alwaysRun?: boolean;
+ /**
+ * Specifies whether to apply update before the command.
+ */
+ applyUpdateBefore?: boolean;
+}
+
+/**
+ * The definition of a Test.
+ */
+export interface Test {
+ /**
+ * The type of the test. Possible values include: 'OutOfBoxTest', 'FunctionalTest'
+ */
+ testType: TestType;
+ /**
+ * The status of the validation run of the package. Possible values include: 'Unknown',
+ * 'Pending', 'Passed', 'Failed'
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly validationRunStatus?: ValidationRunStatus;
+ /**
+ * Indicates if this test is active.It doesn't schedule test for not active Test.
+ */
+ isActive?: boolean;
+ /**
+ * The commands used in the test.
+ */
+ commands: Command[];
+}
+
+/**
+ * The Test Base Package resource.
+ */
+export interface PackageResource extends TrackedResource {
+ /**
+ * The system metadata relating to this resource
+ */
+ systemData?: SystemData;
+ /**
+ * The provisioning state of the resource. Possible values include: 'Succeeded', 'Failed',
+ * 'Cancelled', 'Creating', 'Deleting', 'Updating'
+ */
+ provisioningState?: ProvisioningState;
+ /**
+ * Application name
+ */
+ applicationName: string;
+ /**
+ * Application version
+ */
+ version: string;
+ /**
+ * OOB, functional or both. Mapped to the data in 'tests' property.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly testTypes?: TestType[];
+ /**
+ * Specifies the target OSs of specific OS Update types.
+ */
+ targetOSList: TargetOSInfo[];
+ /**
+ * The status of the package. Possible values include: 'Unknown', 'Registered', 'Ready', 'Error',
+ * 'ValidatingPackage', 'PreValidationCheckPass', 'Deleted', 'ValidationLongerThanUsual',
+ * 'VerifyingPackage'
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly packageStatus?: PackageStatus;
+ /**
+ * The UTC timestamp when the package was last modified.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly lastModifiedTime?: Date;
+ /**
+ * The flighting ring for feature update.
+ */
+ flightingRing: string;
+ /**
+ * Flag showing that whether the package is enabled. It doesn't schedule test for package which
+ * is not enabled.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly isEnabled?: boolean;
+ /**
+ * The file path of the package.
+ */
+ blobPath: string;
+ /**
+ * The validation results. There's validation on package when it's created or updated.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly validationResults?: PackageValidationResult[];
+ /**
+ * The detailed test information.
+ */
+ tests: Test[];
+}
+
+/**
+ * Parameters supplied to update a Test Base Package.
+ */
+export interface PackageUpdateParameters {
+ /**
+ * Specifies the target OSs of specific OS Update types.
+ */
+ targetOSList?: TargetOSInfo[];
+ /**
+ * The flighting ring for feature update.
+ */
+ flightingRing?: string;
+ /**
+ * Specifies whether the package is enabled. It doesn't schedule test for package which is not
+ * enabled.
+ */
+ isEnabled?: boolean;
+ /**
+ * The file name of the package.
+ */
+ blobPath?: string;
+ /**
+ * The detailed test information.
+ */
+ tests?: Test[];
+ /**
+ * The tags of the Package.
+ */
+ tags?: { [propertyName: string]: string };
+}
+
+/**
+ * The response of getting a download URL.
+ */
+export interface DownloadURLResponse {
+ /**
+ * The download URL.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly downloadUrl?: string;
+ /**
+ * Expiry date of the download URL.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly expirationTime?: Date;
+}
+
+/**
+ * The summary of a test.
+ */
+export interface OSUpdateTestSummary {
+ /**
+ * The operating system name. e.g. Windows 10 1809.
+ */
+ osName?: string;
+ /**
+ * The name of the tested release (OS update).
+ */
+ releaseName?: string;
+ /**
+ * The build version of the tested release (OS update)
+ */
+ buildVersion?: string;
+ /**
+ * The build revision of the tested release (OS update)
+ */
+ buildRevision?: string;
+ /**
+ * The release version date.
+ */
+ releaseVersionDate?: Date;
+ /**
+ * The flighting ring, only for release of feature updates.
+ */
+ flightingRing?: string;
+ /**
+ * The execution status of the test. Possible values include: 'None', 'InProgress', 'Processing',
+ * 'Completed', 'NotExecuted', 'Incomplete', 'Failed', 'Succeeded'
+ */
+ executionStatus?: ExecutionStatus;
+ /**
+ * The grade of the test. Possible values include: 'None', 'NotAvailable', 'Pass', 'Fail'
+ */
+ grade?: Grade;
+ /**
+ * The run time of the test.
+ */
+ testRunTime?: string;
+ /**
+ * The test type of the package
+ */
+ testType?: string;
+}
+
+/**
+ * The summary of some tests.
+ */
+export interface OSUpdatesTestSummary {
+ /**
+ * The status of the last test. Possible values include: 'None', 'InProgress', 'Processing',
+ * 'Completed', 'NotExecuted', 'Incomplete', 'Failed', 'Succeeded'
+ */
+ executionStatus?: ExecutionStatus;
+ /**
+ * The grade of last test. Possible values include: 'None', 'NotAvailable', 'Pass', 'Fail'
+ */
+ grade?: Grade;
+ /**
+ * The run time of the last test.
+ */
+ testRunTime?: string;
+ /**
+ * Detailed summary for each OS update
+ */
+ osUpdateTestSummaries?: OSUpdateTestSummary[];
+}
+
+/**
+ * Summary of a Test.
+ */
+export interface TestSummaryResource extends ProxyResource {
+ /**
+ * The system metadata relating to this resource
+ */
+ systemData?: SystemData;
+ /**
+ * The Id of the current Test Summary.
+ */
+ testSummaryId?: string;
+ /**
+ * The Azure resource Id of package.
+ */
+ packageId?: string;
+ /**
+ * Application name.
+ */
+ applicationName?: string;
+ /**
+ * Application version.
+ */
+ applicationVersion?: string;
+ /**
+ * The execution status of last test. Possible values include: 'None', 'InProgress',
+ * 'Processing', 'Completed', 'NotExecuted', 'Incomplete', 'Failed', 'Succeeded'
+ */
+ executionStatus?: ExecutionStatus;
+ /**
+ * The grade of the test. Possible values include: 'None', 'NotAvailable', 'Pass', 'Fail'
+ */
+ grade?: Grade;
+ /**
+ * The run time of the last test.
+ */
+ testRunTime?: string;
+ /**
+ * The result summary of tests triggered by feature updates
+ */
+ featureUpdatesTestSummary?: OSUpdatesTestSummary;
+ /**
+ * The result summary of tests triggered by security updates
+ */
+ securityUpdatesTestSummary?: OSUpdatesTestSummary;
+}
+
+/**
+ * The summary of a Test Analysis Result.
+ */
+export interface TestResultAnalysisSummary {
+ /**
+ * Metric name
+ */
+ name?: string;
+ /**
+ * The analysis status. Possible values include: 'None', 'Completed', 'InProgress', 'Failed',
+ * 'Succeeded', 'Available', 'NotAvailable'
+ */
+ analysisStatus?: AnalysisStatus;
+ /**
+ * The grade of the test result. Possible values include: 'None', 'NotAvailable', 'Pass', 'Fail'
+ */
+ grade?: Grade;
+}
+
+/**
+ * The Test Result Resource.
+ */
+export interface TestResultResource extends ProxyResource {
+ /**
+ * The system metadata relating to this resource
+ */
+ systemData?: SystemData;
+ /**
+ * Azure Id of the baseline test result.
+ */
+ baselineTestResultId?: string;
+ /**
+ * Resource Id of the package.
+ */
+ packageId?: string;
+ /**
+ * Application name.
+ */
+ applicationName?: string;
+ /**
+ * Application version.
+ */
+ applicationVersion?: string;
+ /**
+ * The operating system name, e.g. Windows 10 1809.
+ */
+ osName?: string;
+ /**
+ * The name of the tested release (OS update).
+ */
+ releaseName?: string;
+ /**
+ * The release version date of the tested release.
+ */
+ releaseVersionDate?: Date;
+ /**
+ * The flighting ring, only for release of feature updates.
+ */
+ flightingRing?: string;
+ /**
+ * The build version of the tested release (OS update).
+ */
+ buildVersion?: string;
+ /**
+ * The build revision of the tested release (OS update).
+ */
+ buildRevision?: string;
+ /**
+ * Test type. E.g. 'Out of box test' or 'Functional test'.
+ */
+ testType?: string;
+ /**
+ * The run time of the test.
+ */
+ testRunTime?: string;
+ /**
+ * Whether download data is available.
+ */
+ isDownloadDataAvailable?: boolean;
+ /**
+ * Whether video data is available.
+ */
+ isVideoAvailable?: boolean;
+ /**
+ * The execution status of the test. Possible values include: 'None', 'InProgress', 'Processing',
+ * 'Completed', 'NotExecuted', 'Incomplete', 'Failed', 'Succeeded'
+ */
+ executionStatus?: ExecutionStatus;
+ /**
+ * The grade of the test. Possible values include: 'None', 'NotAvailable', 'Pass', 'Fail'
+ */
+ grade?: Grade;
+ /**
+ * KB number.
+ */
+ kbNumber?: string;
+ /**
+ * The version of the Windows update package.
+ */
+ packageVersion?: string;
+ /**
+ * List of analysis summaries.
+ */
+ analysisSummaries?: TestResultAnalysisSummary[];
+}
+
+/**
+ * An OS Update.
+ */
+export interface OSUpdateResource extends ProxyResource {
+ /**
+ * The system metadata relating to this resource
+ */
+ systemData?: SystemData;
+ /**
+ * The name of the OS.
+ */
+ osName?: string;
+ /**
+ * The name of tested release.
+ */
+ release?: string;
+ /**
+ * The flighting ring, only for release of feature updates.
+ */
+ flightingRing?: string;
+ /**
+ * The build version of the tested release (OS update).
+ */
+ buildVersion?: string;
+ /**
+ * The build revision of the tested release (OS update)
+ */
+ buildRevision?: string;
+ /**
+ * The type of this release (OS update). Possible values include: 'SecurityUpdate',
+ * 'FeatureUpdate'
+ */
+ oSUpdateResourceType?: Type;
+ /**
+ * The release version date the tested release (OS update)
+ */
+ releaseVersionDate?: Date;
+}
+
+/**
+ * A favorite process identifier.
+ */
+export interface FavoriteProcessResource extends ProxyResource {
+ /**
+ * The system metadata relating to this resource
+ */
+ systemData?: SystemData;
+ /**
+ * The actual name of the favorite process. It will be equal to resource name except for the
+ * scenario that the process name contains characters that are not allowed in the resource name.
+ */
+ actualProcessName: string;
+}
+
+/**
+ * Contains the possible cases for AnalysisResultSingletonResourceProperties.
+ */
+export type AnalysisResultSingletonResourcePropertiesUnion = AnalysisResultSingletonResourceProperties | ScriptExecutionResultSingletonResourceProperties | ReliabilityResultSingletonResourceProperties | CPUUtilizationResultSingletonResourceProperties | MemoryUtilizationResultSingletonResourceProperties | CPURegressionResultSingletonResourceProperties | MemoryRegressionResultSingletonResourceProperties;
+
+/**
+ * The properties of Analysis Result resource.
+ */
+export interface AnalysisResultSingletonResourceProperties {
+ /**
+ * Polymorphic Discriminator
+ */
+ analysisResultType: "AnalysisResultSingletonResourceProperties";
+ /**
+ * The grade of the test. Possible values include: 'None', 'NotAvailable', 'Pass', 'Fail'
+ */
+ grade?: Grade;
+}
+
+/**
+ * The Analysis Result Singleton Resource.
+ */
+export interface AnalysisResultSingletonResource extends ProxyResource {
+ /**
+ * The system metadata relating to this resource
+ */
+ systemData?: SystemData;
+ /**
+ * The grade of the test. Possible values include: 'None', 'NotAvailable', 'Pass', 'Fail'
+ */
+ grade?: Grade;
+ /**
+ * Polymorphic Discriminator
+ */
+ analysisResultType: string;
+}
+
+/**
+ * The Script Execution Result.
+ */
+export interface ScriptExecutionResult {
+ /**
+ * Name of script.
+ */
+ scriptName?: string;
+ /**
+ * Start time of script execution.
+ */
+ startTime?: Date;
+ /**
+ * End time of script execution.
+ */
+ endTime?: Date;
+ /**
+ * Exit code.
+ */
+ exitCode?: number;
+ /**
+ * Whether the subscription execution is timeout.
+ */
+ timeOut?: boolean;
+}
+
+/**
+ * The properties of Script Execution Result.
+ */
+export interface ScriptExecutionResultSingletonResourceProperties {
+ /**
+ * Polymorphic Discriminator
+ */
+ analysisResultType: "ScriptExecution";
+ /**
+ * The grade of the test. Possible values include: 'None', 'NotAvailable', 'Pass', 'Fail'
+ */
+ grade?: Grade;
+ /**
+ * The result array data.
+ */
+ scriptExecutionResults?: ScriptExecutionResult[];
+}
+
+/**
+ * The details of a regression test.
+ */
+export interface RegressionTestDetails {
+ /**
+ * Difference between the two datasets being analyzed.
+ */
+ diff?: number;
+ /**
+ * Indicates if a regression was inferred.
+ */
+ isRegressed?: boolean;
+}
+
+/**
+ * The Reliability Result.
+ */
+export interface ReliabilityResult {
+ /**
+ * File name.
+ */
+ fileName?: string;
+ /**
+ * Count of number of launches.
+ */
+ launchCount?: number;
+ /**
+ * Count of number of crashes.
+ */
+ crashCount?: number;
+ /**
+ * Count of number of hangs.
+ */
+ hangCount?: number;
+ /**
+ * The regression grade. Possible values include: 'None', 'NotAvailable', 'Pass', 'Fail'
+ */
+ regressionGrade?: Grade;
+ /**
+ * The statistic regression grade for crash signal. Possible values include: 'None',
+ * 'NotAvailable', 'Pass', 'Fail'
+ */
+ crashRegressionGrade?: Grade;
+ /**
+ * Details related to the crash regression analysis.
+ */
+ crashRegressionTestDetails?: RegressionTestDetails;
+ /**
+ * The statistic regression grade for hang signal. Possible values include: 'None',
+ * 'NotAvailable', 'Pass', 'Fail'
+ */
+ hangRegressionGrade?: Grade;
+ /**
+ * Details related to the hang regression analysis.
+ */
+ hangRegressionTestDetails?: RegressionTestDetails;
+}
+
+/**
+ * The properties of Reliability Result.
+ */
+export interface ReliabilityResultSingletonResourceProperties {
+ /**
+ * Polymorphic Discriminator
+ */
+ analysisResultType: "Reliability";
+ /**
+ * The grade of the test. Possible values include: 'None', 'NotAvailable', 'Pass', 'Fail'
+ */
+ grade?: Grade;
+ /**
+ * The result array data.
+ */
+ reliabilityResults?: ReliabilityResult[];
+}
+
+/**
+ * The bound of a utilization result.
+ */
+export interface UtilizationBound {
+ /**
+ * The percentile of the bound.
+ */
+ percentile?: number;
+ /**
+ * The value of the bound.
+ */
+ value?: number;
+}
+
+/**
+ * The utilization entry.
+ */
+export interface UtilizationEntry {
+ /**
+ * The timestamp.
+ */
+ timestamp?: Date;
+ /**
+ * The value.
+ */
+ value?: number;
+}
+
+/**
+ * The Utilization Result.
+ */
+export interface UtilizationResult {
+ /**
+ * Process name, or '_total' for all processes
+ */
+ process?: string;
+ /**
+ * Upper bound
+ */
+ upperBound?: UtilizationBound;
+ /**
+ * Lower bound
+ */
+ lowerBound?: UtilizationBound;
+ /**
+ * Utilization data
+ */
+ utilization?: UtilizationEntry[];
+}
+
+/**
+ * The properties of CPU Utilization Result.
+ */
+export interface CPUUtilizationResultSingletonResourceProperties {
+ /**
+ * Polymorphic Discriminator
+ */
+ analysisResultType: "CPUUtilization";
+ /**
+ * The grade of the test. Possible values include: 'None', 'NotAvailable', 'Pass', 'Fail'
+ */
+ grade?: Grade;
+ /**
+ * The result array data.
+ */
+ cpuUtilizationResults?: UtilizationResult[];
+}
+
+/**
+ * The properties of Memory Utilization Result.
+ */
+export interface MemoryUtilizationResultSingletonResourceProperties {
+ /**
+ * Polymorphic Discriminator
+ */
+ analysisResultType: "MemoryUtilization";
+ /**
+ * The grade of the test. Possible values include: 'None', 'NotAvailable', 'Pass', 'Fail'
+ */
+ grade?: Grade;
+ /**
+ * The result array data.
+ */
+ memoryUtilizationResults?: UtilizationResult[];
+}
+
+/**
+ * The regression result.
+ */
+export interface RegressionResult {
+ /**
+ * FileName of the binary being analyzed.
+ */
+ fileName?: string;
+ /**
+ * The grade of the test. Possible values include: 'None', 'NotAvailable', 'Pass', 'Fail'
+ */
+ grade?: Grade;
+ /**
+ * Message that facilitates debugging a particular regression, if any was inferred.
+ */
+ details?: string;
+ /**
+ * Difference between the two datasets being analyzed.
+ */
+ diff?: number;
+ /**
+ * Indicates if a regression was inferred.
+ */
+ isRegressed?: boolean;
+}
+
+/**
+ * The properties of CPU Regression Result.
+ */
+export interface CPURegressionResultSingletonResourceProperties {
+ /**
+ * Polymorphic Discriminator
+ */
+ analysisResultType: "CPURegression";
+ /**
+ * The grade of the test. Possible values include: 'None', 'NotAvailable', 'Pass', 'Fail'
+ */
+ grade?: Grade;
+ /**
+ * The result array data.
+ */
+ cpuRegressionResults?: RegressionResult[];
+}
+
+/**
+ * The properties of Memory Regression Result.
+ */
+export interface MemoryRegressionResultSingletonResourceProperties {
+ /**
+ * Polymorphic Discriminator
+ */
+ analysisResultType: "MemoryRegression";
+ /**
+ * The grade of the test. Possible values include: 'None', 'NotAvailable', 'Pass', 'Fail'
+ */
+ grade?: Grade;
+ /**
+ * The result array data.
+ */
+ memoryRegressionResults?: RegressionResult[];
+}
+
+/**
+ * The object that describes the operation.
+ */
+export interface OperationDisplay {
+ /**
+ * The resource provider name: Microsoft.TestBase.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly provider?: string;
+ /**
+ * Operation type: read, write, delete, listPackages, etc.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly operation?: string;
+ /**
+ * Resource type on which the operation is performed.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly resource?: string;
+ /**
+ * Friendly name of the operation.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly description?: string;
+}
+
+/**
+ * REST API operation
+ */
+export interface Operation {
+ /**
+ * Operation name: {provider}/{resource}/{operation}.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly name?: string;
+ /**
+ * Indicates whether the operation is a data action
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly isDataAction?: boolean;
+ /**
+ * Origin of the operation
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly origin?: string;
+ /**
+ * The object that describes the operation.
+ */
+ display?: OperationDisplay;
+ /**
+ * Extra properties of the operation.
+ */
+ properties?: any;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface TestBaseAccountsListBySubscriptionOptionalParams extends msRest.RequestOptionsBase {
+ /**
+ * The flag indicating if we need to include the Test Base Accounts which were soft deleted
+ * before.
+ */
+ getDeleted?: boolean;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface TestBaseAccountsListByResourceGroupOptionalParams extends msRest.RequestOptionsBase {
+ /**
+ * The flag indicating if we need to include the Test Base Accounts which were soft deleted
+ * before.
+ */
+ getDeleted?: boolean;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface TestBaseAccountsListBySubscriptionNextOptionalParams extends msRest.RequestOptionsBase {
+ /**
+ * The flag indicating if we need to include the Test Base Accounts which were soft deleted
+ * before.
+ */
+ getDeleted?: boolean;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface TestBaseAccountsListByResourceGroupNextOptionalParams extends msRest.RequestOptionsBase {
+ /**
+ * The flag indicating if we need to include the Test Base Accounts which were soft deleted
+ * before.
+ */
+ getDeleted?: boolean;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface TestBaseAccountCreateOptionalParams extends msRest.RequestOptionsBase {
+ /**
+ * The flag indicating if we would like to restore the Test Base Accounts which were soft deleted
+ * before.
+ */
+ restore?: boolean;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface TestBaseAccountBeginCreateOptionalParams extends msRest.RequestOptionsBase {
+ /**
+ * The flag indicating if we would like to restore the Test Base Accounts which were soft deleted
+ * before.
+ */
+ restore?: boolean;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface TestBaseAccountUsageListOptionalParams extends msRest.RequestOptionsBase {
+ /**
+ * Odata filter
+ */
+ filter?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface TestBaseAccountUsageListNextOptionalParams extends msRest.RequestOptionsBase {
+ /**
+ * Odata filter
+ */
+ filter?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface RESTAPIforTestBaseTestBaseAccountGetFileUploadUrlOptionalParams extends msRest.RequestOptionsBase {
+ /**
+ * The custom file name of the uploaded blob.
+ */
+ blobName?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface TestResultsListOptionalParams extends msRest.RequestOptionsBase {
+ /**
+ * Odata filter
+ */
+ filter?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface TestResultsListNextOptionalParams extends msRest.RequestOptionsBase {
+ /**
+ * Odata filter
+ */
+ filter?: string;
+}
+
+/**
+ * An interface representing RESTAPIforTestBaseOptions.
+ */
+export interface RESTAPIforTestBaseOptions extends AzureServiceClientOptions {
+ baseUri?: string;
+}
+
+/**
+ * Defines headers for Create operation.
+ */
+export interface TestBaseAccountCreateHeaders {
+ /**
+ * URL to query for status of the operation.
+ */
+ azureAsyncOperation: string;
+}
+
+/**
+ * Defines headers for Update operation.
+ */
+export interface TestBaseAccountUpdateHeaders {
+ /**
+ * URL to query for status of the operation.
+ */
+ azureAsyncOperation: string;
+ /**
+ * URL to query for status of the operation.
+ */
+ locationHeader: string;
+}
+
+/**
+ * Defines headers for Delete operation.
+ */
+export interface TestBaseAccountDeleteHeaders {
+ /**
+ * URL to query for status of the operation.
+ */
+ azureAsyncOperation: string;
+ /**
+ * URL to query for status of the operation.
+ */
+ location: string;
+}
+
+/**
+ * Defines headers for Offboard operation.
+ */
+export interface TestBaseAccountOffboardHeaders {
+ /**
+ * URL to query for status of the operation.
+ */
+ azureAsyncOperation: string;
+ /**
+ * URL to query for status of the operation.
+ */
+ location: string;
+}
+
+/**
+ * Defines headers for Create operation.
+ */
+export interface PackageCreateHeaders {
+ /**
+ * URL to query for status of the operation.
+ */
+ azureAsyncOperation: string;
+}
+
+/**
+ * Defines headers for Update operation.
+ */
+export interface PackageUpdateHeaders {
+ /**
+ * URL to query for status of the operation.
+ */
+ azureAsyncOperation: string;
+ /**
+ * URL to query for status of the operation.
+ */
+ locationHeader: string;
+}
+
+/**
+ * Defines headers for Delete operation.
+ */
+export interface PackageDeleteHeaders {
+ /**
+ * URL to query for status of the operation.
+ */
+ azureAsyncOperation: string;
+ /**
+ * URL to query for status of the operation.
+ */
+ location: string;
+}
+
+/**
+ * Defines headers for HardDelete operation.
+ */
+export interface PackageHardDeleteHeaders {
+ /**
+ * URL to query for status of the operation.
+ */
+ azureAsyncOperation: string;
+ /**
+ * URL to query for status of the operation.
+ */
+ location: string;
+}
+
+/**
+ * @interface
+ * A list of Test Base Account SKUs.
+ * @extends Array
+ */
+export interface TestBaseAccountSKUListResult extends Array {
+ /**
+ * Link to the next set of results. Not empty if value contains incomplete list of results.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of Test Base Accounts.
+ * @extends Array
+ */
+export interface TestBaseAccountListResult extends Array {
+ /**
+ * Link to the next set of results. Not empty if value contains incomplete list of results.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of Test Base Account usage data.
+ * @extends Array
+ */
+export interface TestBaseAccountUsageDataList extends Array {
+ /**
+ * Link to the next set of results. Not empty if value contains incomplete list of results.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of available OSs.
+ * @extends Array
+ */
+export interface AvailableOSListResult extends Array {
+ /**
+ * Link to the next set of results. Not empty if value contains incomplete list of results.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of flighting rings.
+ * @extends Array
+ */
+export interface FlightingRingListResult extends Array {
+ /**
+ * Link to the next set of results. Not empty if value contains incomplete list of results.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of test types.
+ * @extends Array
+ */
+export interface TestTypeListResult extends Array {
+ /**
+ * Link to the next set of results. Not empty if value contains incomplete list of results.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of Test Base Packages.
+ * @extends Array
+ */
+export interface PackageListResult extends Array {
+ /**
+ * Link to the next set of results. Not empty if value contains incomplete list of results.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of Test Summaries.
+ * @extends Array
+ */
+export interface TestSummaryListResult extends Array {
+ /**
+ * Link to the next set of results. Not empty if value contains incomplete list of results.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of Test Results.
+ * @extends Array
+ */
+export interface TestResultListResult extends Array {
+ /**
+ * Link to the next set of results. Not empty if value contains incomplete list of results.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of OS Updates.
+ * @extends Array
+ */
+export interface OSUpdateListResult extends Array {
+ /**
+ * Link to the next set of results. Not empty if value contains incomplete list of results.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of favorite processes for a package.
+ * @extends Array
+ */
+export interface FavoriteProcessListResult extends Array {
+ /**
+ * Link to the next set of results. Not empty if value contains incomplete list of results.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of Analysis Results. It will only contain one element as all the data will be nested in a
+ * singleton object.
+ * @extends Array
+ */
+export interface AnalysisResultListResult extends Array {
+ /**
+ * Link to the next set of results. Not empty if value contains incomplete list of results.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of operations supported by the resource provider.
+ * @extends Array
+ */
+export interface OperationListResult extends Array {
+ /**
+ * URL to get the next set of operation list results if there are any.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly nextLink?: string;
+}
+
+/**
+ * Defines values for Tier.
+ * Possible values include: 'Basic', 'Standard'
+ * @readonly
+ * @enum {string}
+ */
+export type Tier = 'Basic' | 'Standard';
+
+/**
+ * Defines values for CreatedByType.
+ * Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key'
+ * @readonly
+ * @enum {string}
+ */
+export type CreatedByType = 'User' | 'Application' | 'ManagedIdentity' | 'Key';
+
+/**
+ * Defines values for ProvisioningState.
+ * Possible values include: 'Succeeded', 'Failed', 'Cancelled', 'Creating', 'Deleting', 'Updating'
+ * @readonly
+ * @enum {string}
+ */
+export type ProvisioningState = 'Succeeded' | 'Failed' | 'Cancelled' | 'Creating' | 'Deleting' | 'Updating';
+
+/**
+ * Defines values for Reason.
+ * Possible values include: 'Invalid', 'AlreadyExists'
+ * @readonly
+ * @enum {string}
+ */
+export type Reason = 'Invalid' | 'AlreadyExists';
+
+/**
+ * Defines values for TestType.
+ * Possible values include: 'OutOfBoxTest', 'FunctionalTest'
+ * @readonly
+ * @enum {string}
+ */
+export type TestType = 'OutOfBoxTest' | 'FunctionalTest';
+
+/**
+ * Defines values for PackageStatus.
+ * Possible values include: 'Unknown', 'Registered', 'Ready', 'Error', 'ValidatingPackage',
+ * 'PreValidationCheckPass', 'Deleted', 'ValidationLongerThanUsual', 'VerifyingPackage'
+ * @readonly
+ * @enum {string}
+ */
+export type PackageStatus = 'Unknown' | 'Registered' | 'Ready' | 'Error' | 'ValidatingPackage' | 'PreValidationCheckPass' | 'Deleted' | 'ValidationLongerThanUsual' | 'VerifyingPackage';
+
+/**
+ * Defines values for ValidationRunStatus.
+ * Possible values include: 'Unknown', 'Pending', 'Passed', 'Failed'
+ * @readonly
+ * @enum {string}
+ */
+export type ValidationRunStatus = 'Unknown' | 'Pending' | 'Passed' | 'Failed';
+
+/**
+ * Defines values for Action.
+ * Possible values include: 'Install', 'Launch', 'Close', 'Uninstall', 'Custom'
+ * @readonly
+ * @enum {string}
+ */
+export type Action = 'Install' | 'Launch' | 'Close' | 'Uninstall' | 'Custom';
+
+/**
+ * Defines values for ContentType.
+ * Possible values include: 'Inline', 'File', 'Path'
+ * @readonly
+ * @enum {string}
+ */
+export type ContentType = 'Inline' | 'File' | 'Path';
+
+/**
+ * Defines values for ExecutionStatus.
+ * Possible values include: 'None', 'InProgress', 'Processing', 'Completed', 'NotExecuted',
+ * 'Incomplete', 'Failed', 'Succeeded'
+ * @readonly
+ * @enum {string}
+ */
+export type ExecutionStatus = 'None' | 'InProgress' | 'Processing' | 'Completed' | 'NotExecuted' | 'Incomplete' | 'Failed' | 'Succeeded';
+
+/**
+ * Defines values for Grade.
+ * Possible values include: 'None', 'NotAvailable', 'Pass', 'Fail'
+ * @readonly
+ * @enum {string}
+ */
+export type Grade = 'None' | 'NotAvailable' | 'Pass' | 'Fail';
+
+/**
+ * Defines values for AnalysisStatus.
+ * Possible values include: 'None', 'Completed', 'InProgress', 'Failed', 'Succeeded', 'Available',
+ * 'NotAvailable'
+ * @readonly
+ * @enum {string}
+ */
+export type AnalysisStatus = 'None' | 'Completed' | 'InProgress' | 'Failed' | 'Succeeded' | 'Available' | 'NotAvailable';
+
+/**
+ * Defines values for Type.
+ * Possible values include: 'SecurityUpdate', 'FeatureUpdate'
+ * @readonly
+ * @enum {string}
+ */
+export type Type = 'SecurityUpdate' | 'FeatureUpdate';
+
+/**
+ * Defines values for OsUpdateType.
+ * Possible values include: 'SecurityUpdate', 'FeatureUpdate'
+ * @readonly
+ * @enum {string}
+ */
+export type OsUpdateType = 'SecurityUpdate' | 'FeatureUpdate';
+
+/**
+ * Defines values for AnalysisResultType.
+ * Possible values include: 'ScriptExecution', 'Reliability', 'MemoryUtilization',
+ * 'CPUUtilization', 'MemoryRegression', 'CPURegression'
+ * @readonly
+ * @enum {string}
+ */
+export type AnalysisResultType = 'ScriptExecution' | 'Reliability' | 'MemoryUtilization' | 'CPUUtilization' | 'MemoryRegression' | 'CPURegression';
+
+/**
+ * Defines values for AnalysisResultName.
+ * Possible values include: 'scriptExecution', 'reliability', 'memoryUtilization',
+ * 'cpuUtilization', 'memoryRegression', 'cpuRegression'
+ * @readonly
+ * @enum {string}
+ */
+export type AnalysisResultName = 'scriptExecution' | 'reliability' | 'memoryUtilization' | 'cpuUtilization' | 'memoryRegression' | 'cpuRegression';
+
+/**
+ * Contains response data for the list operation.
+ */
+export type SKUsListResponse = TestBaseAccountSKUListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: TestBaseAccountSKUListResult;
+ };
+};
+
+/**
+ * Contains response data for the listNext operation.
+ */
+export type SKUsListNextResponse = TestBaseAccountSKUListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: TestBaseAccountSKUListResult;
+ };
+};
+
+/**
+ * Contains response data for the listBySubscription operation.
+ */
+export type TestBaseAccountsListBySubscriptionResponse = TestBaseAccountListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: TestBaseAccountListResult;
+ };
+};
+
+/**
+ * Contains response data for the listByResourceGroup operation.
+ */
+export type TestBaseAccountsListByResourceGroupResponse = TestBaseAccountListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: TestBaseAccountListResult;
+ };
+};
+
+/**
+ * Contains response data for the listBySubscriptionNext operation.
+ */
+export type TestBaseAccountsListBySubscriptionNextResponse = TestBaseAccountListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: TestBaseAccountListResult;
+ };
+};
+
+/**
+ * Contains response data for the listByResourceGroupNext operation.
+ */
+export type TestBaseAccountsListByResourceGroupNextResponse = TestBaseAccountListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: TestBaseAccountListResult;
+ };
+};
+
+/**
+ * Contains response data for the create operation.
+ */
+export type TestBaseAccountCreateResponse = TestBaseAccountResource & TestBaseAccountCreateHeaders & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The parsed HTTP response headers.
+ */
+ parsedHeaders: TestBaseAccountCreateHeaders;
+
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: TestBaseAccountResource;
+ };
+};
+
+/**
+ * Contains response data for the update operation.
+ */
+export type TestBaseAccountUpdateResponse = TestBaseAccountResource & TestBaseAccountUpdateHeaders & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The parsed HTTP response headers.
+ */
+ parsedHeaders: TestBaseAccountUpdateHeaders;
+
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: TestBaseAccountResource;
+ };
+};
+
+/**
+ * Contains response data for the deleteMethod operation.
+ */
+export type TestBaseAccountDeleteResponse = TestBaseAccountDeleteHeaders & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The parsed HTTP response headers.
+ */
+ parsedHeaders: TestBaseAccountDeleteHeaders;
+ };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type TestBaseAccountGetResponse = TestBaseAccountResource & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: TestBaseAccountResource;
+ };
+};
+
+/**
+ * Contains response data for the offboard operation.
+ */
+export type TestBaseAccountOffboardResponse = TestBaseAccountOffboardHeaders & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The parsed HTTP response headers.
+ */
+ parsedHeaders: TestBaseAccountOffboardHeaders;
+ };
+};
+
+/**
+ * Contains response data for the list operation.
+ */
+export type TestBaseAccountUsageListResponse = TestBaseAccountUsageDataList & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: TestBaseAccountUsageDataList;
+ };
+};
+
+/**
+ * Contains response data for the listNext operation.
+ */
+export type TestBaseAccountUsageListNextResponse = TestBaseAccountUsageDataList & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: TestBaseAccountUsageDataList;
+ };
+};
+
+/**
+ * Contains response data for the testBaseAccountGetFileUploadUrl operation.
+ */
+export type TestBaseAccountGetFileUploadUrlResponse = FileUploadURLResponse & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: FileUploadURLResponse;
+ };
+};
+
+/**
+ * Contains response data for the checkPackageNameAvailability operation.
+ */
+export type CheckPackageNameAvailabilityResponse = CheckNameAvailabilityResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: CheckNameAvailabilityResult;
+ };
+};
+
+/**
+ * Contains response data for the packageGetDownloadURL operation.
+ */
+export type PackageGetDownloadURLResponse = DownloadURLResponse & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: DownloadURLResponse;
+ };
+};
+
+/**
+ * Contains response data for the testResultGetDownloadURL operation.
+ */
+export type TestResultGetDownloadURLResponse = DownloadURLResponse & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: DownloadURLResponse;
+ };
+};
+
+/**
+ * Contains response data for the testResultGetVideoDownloadURL operation.
+ */
+export type TestResultGetVideoDownloadURLResponse = DownloadURLResponse & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: DownloadURLResponse;
+ };
+};
+
+/**
+ * Contains response data for the list operation.
+ */
+export type TestBaseAccountAvailableOSsListResponse = AvailableOSListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: AvailableOSListResult;
+ };
+};
+
+/**
+ * Contains response data for the listNext operation.
+ */
+export type TestBaseAccountAvailableOSsListNextResponse = AvailableOSListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: AvailableOSListResult;
+ };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type TestBaseAccountAvailableOSGetResponse = AvailableOSResource & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: AvailableOSResource;
+ };
+};
+
+/**
+ * Contains response data for the list operation.
+ */
+export type TestBaseAccountFlightingRingsListResponse = FlightingRingListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: FlightingRingListResult;
+ };
+};
+
+/**
+ * Contains response data for the listNext operation.
+ */
+export type TestBaseAccountFlightingRingsListNextResponse = FlightingRingListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: FlightingRingListResult;
+ };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type TestBaseAccountFlightingRingGetResponse = FlightingRingResource & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: FlightingRingResource;
+ };
+};
+
+/**
+ * Contains response data for the list operation.
+ */
+export type TestBaseAccountTestTypesListResponse = TestTypeListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: TestTypeListResult;
+ };
+};
+
+/**
+ * Contains response data for the listNext operation.
+ */
+export type TestBaseAccountTestTypesListNextResponse = TestTypeListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: TestTypeListResult;
+ };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type TestBaseAccountTestTypeGetResponse = TestTypeResource & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: TestTypeResource;
+ };
+};
+
+/**
+ * Contains response data for the listByTestBaseAccount operation.
+ */
+export type PackagesListByTestBaseAccountResponse = PackageListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PackageListResult;
+ };
+};
+
+/**
+ * Contains response data for the listByTestBaseAccountNext operation.
+ */
+export type PackagesListByTestBaseAccountNextResponse = PackageListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PackageListResult;
+ };
+};
+
+/**
+ * Contains response data for the create operation.
+ */
+export type PackageCreateResponse = PackageResource & PackageCreateHeaders & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The parsed HTTP response headers.
+ */
+ parsedHeaders: PackageCreateHeaders;
+
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PackageResource;
+ };
+};
+
+/**
+ * Contains response data for the update operation.
+ */
+export type PackageUpdateResponse = PackageResource & PackageUpdateHeaders & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The parsed HTTP response headers.
+ */
+ parsedHeaders: PackageUpdateHeaders;
+
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PackageResource;
+ };
+};
+
+/**
+ * Contains response data for the deleteMethod operation.
+ */
+export type PackageDeleteResponse = PackageDeleteHeaders & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The parsed HTTP response headers.
+ */
+ parsedHeaders: PackageDeleteHeaders;
+ };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type PackageModelGetResponse = PackageResource & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PackageResource;
+ };
+};
+
+/**
+ * Contains response data for the hardDelete operation.
+ */
+export type PackageHardDeleteResponse = PackageHardDeleteHeaders & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The parsed HTTP response headers.
+ */
+ parsedHeaders: PackageHardDeleteHeaders;
+ };
+};
+
+/**
+ * Contains response data for the list operation.
+ */
+export type TestSummariesListResponse = TestSummaryListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: TestSummaryListResult;
+ };
+};
+
+/**
+ * Contains response data for the listNext operation.
+ */
+export type TestSummariesListNextResponse = TestSummaryListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: TestSummaryListResult;
+ };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type TestSummaryGetResponse = TestSummaryResource & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: TestSummaryResource;
+ };
+};
+
+/**
+ * Contains response data for the list operation.
+ */
+export type TestResultsListResponse = TestResultListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: TestResultListResult;
+ };
+};
+
+/**
+ * Contains response data for the listNext operation.
+ */
+export type TestResultsListNextResponse = TestResultListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: TestResultListResult;
+ };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type TestResultGetResponse = TestResultResource & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: TestResultResource;
+ };
+};
+
+/**
+ * Contains response data for the list operation.
+ */
+export type OSUpdatesListResponse = OSUpdateListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: OSUpdateListResult;
+ };
+};
+
+/**
+ * Contains response data for the listNext operation.
+ */
+export type OSUpdatesListNextResponse = OSUpdateListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: OSUpdateListResult;
+ };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type OSUpdateGetResponse = OSUpdateResource & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: OSUpdateResource;
+ };
+};
+
+/**
+ * Contains response data for the list operation.
+ */
+export type FavoriteProcessesListResponse = FavoriteProcessListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: FavoriteProcessListResult;
+ };
+};
+
+/**
+ * Contains response data for the listNext operation.
+ */
+export type FavoriteProcessesListNextResponse = FavoriteProcessListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: FavoriteProcessListResult;
+ };
+};
+
+/**
+ * Contains response data for the create operation.
+ */
+export type FavoriteProcessCreateResponse = FavoriteProcessResource & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: FavoriteProcessResource;
+ };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type FavoriteProcessGetResponse = FavoriteProcessResource & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: FavoriteProcessResource;
+ };
+};
+
+/**
+ * Contains response data for the list operation.
+ */
+export type AnalysisResultsListResponse = AnalysisResultListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: AnalysisResultListResult;
+ };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type AnalysisResultGetResponse = AnalysisResultSingletonResource & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: AnalysisResultSingletonResource;
+ };
+};
+
+/**
+ * Contains response data for the list operation.
+ */
+export type OperationsListResponse = OperationListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: OperationListResult;
+ };
+};
+
+/**
+ * Contains response data for the listNext operation.
+ */
+export type OperationsListNextResponse = OperationListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: OperationListResult;
+ };
+};
diff --git a/sdk/testbase/arm-testbase/src/models/mappers.ts b/sdk/testbase/arm-testbase/src/models/mappers.ts
new file mode 100644
index 000000000000..607168ef2bff
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/models/mappers.ts
@@ -0,0 +1,2533 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js";
+import * as msRest from "@azure/ms-rest-js";
+
+export const CloudError = CloudErrorMapper;
+export const BaseResource = BaseResourceMapper;
+
+export const Resource: msRest.CompositeMapper = {
+ serializedName: "Resource",
+ type: {
+ name: "Composite",
+ className: "Resource",
+ modelProperties: {
+ id: {
+ readOnly: true,
+ serializedName: "id",
+ type: {
+ name: "String"
+ }
+ },
+ name: {
+ readOnly: true,
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ },
+ type: {
+ readOnly: true,
+ serializedName: "type",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const ProxyResource: msRest.CompositeMapper = {
+ serializedName: "ProxyResource",
+ type: {
+ name: "Composite",
+ className: "ProxyResource",
+ modelProperties: {
+ ...Resource.type.modelProperties
+ }
+ }
+};
+
+export const TrackedResource: msRest.CompositeMapper = {
+ serializedName: "TrackedResource",
+ type: {
+ name: "Composite",
+ className: "TrackedResource",
+ modelProperties: {
+ ...Resource.type.modelProperties,
+ tags: {
+ serializedName: "tags",
+ type: {
+ name: "Dictionary",
+ value: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ location: {
+ required: true,
+ serializedName: "location",
+ type: {
+ name: "String"
+ }
+ },
+ etag: {
+ readOnly: true,
+ serializedName: "etag",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const ErrorDefinition: msRest.CompositeMapper = {
+ serializedName: "ErrorDefinition",
+ type: {
+ name: "Composite",
+ className: "ErrorDefinition",
+ modelProperties: {
+ code: {
+ readOnly: true,
+ serializedName: "code",
+ type: {
+ name: "String"
+ }
+ },
+ message: {
+ readOnly: true,
+ serializedName: "message",
+ type: {
+ name: "String"
+ }
+ },
+ target: {
+ readOnly: true,
+ serializedName: "target",
+ type: {
+ name: "String"
+ }
+ },
+ details: {
+ readOnly: true,
+ serializedName: "details",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "ErrorDefinition"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const ErrorResponse: msRest.CompositeMapper = {
+ serializedName: "ErrorResponse",
+ type: {
+ name: "Composite",
+ className: "ErrorResponse",
+ modelProperties: {
+ error: {
+ serializedName: "error",
+ type: {
+ name: "Composite",
+ className: "ErrorDefinition"
+ }
+ }
+ }
+ }
+};
+
+export const TestBaseAccountSKUCapability: msRest.CompositeMapper = {
+ serializedName: "TestBaseAccountSKUCapability",
+ type: {
+ name: "Composite",
+ className: "TestBaseAccountSKUCapability",
+ modelProperties: {
+ name: {
+ required: true,
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ },
+ value: {
+ required: true,
+ serializedName: "value",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const TestBaseAccountSKU: msRest.CompositeMapper = {
+ serializedName: "TestBaseAccountSKU",
+ type: {
+ name: "Composite",
+ className: "TestBaseAccountSKU",
+ modelProperties: {
+ resourceType: {
+ serializedName: "resourceType",
+ type: {
+ name: "String"
+ }
+ },
+ name: {
+ required: true,
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ },
+ tier: {
+ required: true,
+ serializedName: "tier",
+ type: {
+ name: "String"
+ }
+ },
+ capabilities: {
+ readOnly: true,
+ serializedName: "capabilities",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "TestBaseAccountSKUCapability"
+ }
+ }
+ }
+ },
+ locations: {
+ serializedName: "locations",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const SystemData: msRest.CompositeMapper = {
+ serializedName: "SystemData",
+ type: {
+ name: "Composite",
+ className: "SystemData",
+ modelProperties: {
+ createdBy: {
+ serializedName: "createdBy",
+ type: {
+ name: "String"
+ }
+ },
+ createdByType: {
+ serializedName: "createdByType",
+ type: {
+ name: "String"
+ }
+ },
+ createdAt: {
+ serializedName: "createdAt",
+ type: {
+ name: "DateTime"
+ }
+ },
+ lastModifiedBy: {
+ serializedName: "lastModifiedBy",
+ type: {
+ name: "String"
+ }
+ },
+ lastModifiedByType: {
+ serializedName: "lastModifiedByType",
+ type: {
+ name: "String"
+ }
+ },
+ lastModifiedAt: {
+ serializedName: "lastModifiedAt",
+ type: {
+ name: "DateTime"
+ }
+ }
+ }
+ }
+};
+
+export const TestBaseAccountResource: msRest.CompositeMapper = {
+ serializedName: "TestBaseAccountResource",
+ type: {
+ name: "Composite",
+ className: "TestBaseAccountResource",
+ modelProperties: {
+ ...TrackedResource.type.modelProperties,
+ systemData: {
+ serializedName: "systemData",
+ type: {
+ name: "Composite",
+ className: "SystemData"
+ }
+ },
+ provisioningState: {
+ serializedName: "properties.provisioningState",
+ type: {
+ name: "String"
+ }
+ },
+ sku: {
+ required: true,
+ serializedName: "properties.sku",
+ type: {
+ name: "Composite",
+ className: "TestBaseAccountSKU"
+ }
+ },
+ accessLevel: {
+ readOnly: true,
+ serializedName: "properties.accessLevel",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const TestBaseAccountUpdateParameters: msRest.CompositeMapper = {
+ serializedName: "TestBaseAccountUpdateParameters",
+ type: {
+ name: "Composite",
+ className: "TestBaseAccountUpdateParameters",
+ modelProperties: {
+ sku: {
+ serializedName: "properties.sku",
+ type: {
+ name: "Composite",
+ className: "TestBaseAccountSKU"
+ }
+ },
+ tags: {
+ serializedName: "tags",
+ type: {
+ name: "Dictionary",
+ value: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const TestBaseAccountUsageName: msRest.CompositeMapper = {
+ serializedName: "TestBaseAccountUsageName",
+ type: {
+ name: "Composite",
+ className: "TestBaseAccountUsageName",
+ modelProperties: {
+ value: {
+ serializedName: "value",
+ type: {
+ name: "String"
+ }
+ },
+ localizedValue: {
+ serializedName: "localizedValue",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const TestBaseAccountUsageData: msRest.CompositeMapper = {
+ serializedName: "TestBaseAccountUsageData",
+ type: {
+ name: "Composite",
+ className: "TestBaseAccountUsageData",
+ modelProperties: {
+ id: {
+ serializedName: "id",
+ type: {
+ name: "String"
+ }
+ },
+ name: {
+ serializedName: "name",
+ type: {
+ name: "Composite",
+ className: "TestBaseAccountUsageName"
+ }
+ },
+ unit: {
+ serializedName: "unit",
+ type: {
+ name: "String"
+ }
+ },
+ limit: {
+ serializedName: "limit",
+ type: {
+ name: "Number"
+ }
+ },
+ currentValue: {
+ serializedName: "currentValue",
+ type: {
+ name: "Number"
+ }
+ }
+ }
+ }
+};
+
+export const GetFileUploadURLParameters: msRest.CompositeMapper = {
+ serializedName: "GetFileUploadURLParameters",
+ type: {
+ name: "Composite",
+ className: "GetFileUploadURLParameters",
+ modelProperties: {
+ blobName: {
+ serializedName: "blobName",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const FileUploadURLResponse: msRest.CompositeMapper = {
+ serializedName: "FileUploadURLResponse",
+ type: {
+ name: "Composite",
+ className: "FileUploadURLResponse",
+ modelProperties: {
+ uploadUrl: {
+ readOnly: true,
+ serializedName: "uploadUrl",
+ type: {
+ name: "String"
+ }
+ },
+ blobPath: {
+ readOnly: true,
+ serializedName: "blobPath",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const AvailableOSResource: msRest.CompositeMapper = {
+ serializedName: "AvailableOSResource",
+ type: {
+ name: "Composite",
+ className: "AvailableOSResource",
+ modelProperties: {
+ ...ProxyResource.type.modelProperties,
+ systemData: {
+ serializedName: "systemData",
+ type: {
+ name: "Composite",
+ className: "SystemData"
+ }
+ },
+ osId: {
+ serializedName: "properties.osId",
+ type: {
+ name: "String"
+ }
+ },
+ osName: {
+ serializedName: "properties.osName",
+ type: {
+ name: "String"
+ }
+ },
+ osVersion: {
+ serializedName: "properties.osVersion",
+ type: {
+ name: "String"
+ }
+ },
+ insiderChannel: {
+ serializedName: "properties.insiderChannel",
+ type: {
+ name: "String"
+ }
+ },
+ osUpdateType: {
+ serializedName: "properties.osUpdateType",
+ type: {
+ name: "String"
+ }
+ },
+ osPlatform: {
+ serializedName: "properties.osPlatform",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const FlightingRingResource: msRest.CompositeMapper = {
+ serializedName: "FlightingRingResource",
+ type: {
+ name: "Composite",
+ className: "FlightingRingResource",
+ modelProperties: {
+ ...ProxyResource.type.modelProperties,
+ systemData: {
+ serializedName: "systemData",
+ type: {
+ name: "Composite",
+ className: "SystemData"
+ }
+ },
+ actualFlightingRingName: {
+ serializedName: "properties.actualFlightingRingName",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const TestTypeResource: msRest.CompositeMapper = {
+ serializedName: "TestTypeResource",
+ type: {
+ name: "Composite",
+ className: "TestTypeResource",
+ modelProperties: {
+ ...ProxyResource.type.modelProperties,
+ systemData: {
+ serializedName: "systemData",
+ type: {
+ name: "Composite",
+ className: "SystemData"
+ }
+ },
+ actualTestTypeName: {
+ serializedName: "properties.actualTestTypeName",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const PackageCheckNameAvailabilityParameters: msRest.CompositeMapper = {
+ serializedName: "PackageCheckNameAvailabilityParameters",
+ type: {
+ name: "Composite",
+ className: "PackageCheckNameAvailabilityParameters",
+ modelProperties: {
+ name: {
+ required: true,
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ },
+ applicationName: {
+ required: true,
+ serializedName: "applicationName",
+ type: {
+ name: "String"
+ }
+ },
+ version: {
+ required: true,
+ serializedName: "version",
+ type: {
+ name: "String"
+ }
+ },
+ type: {
+ required: true,
+ serializedName: "type",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const CheckNameAvailabilityResult: msRest.CompositeMapper = {
+ serializedName: "CheckNameAvailabilityResult",
+ type: {
+ name: "Composite",
+ className: "CheckNameAvailabilityResult",
+ modelProperties: {
+ nameAvailable: {
+ serializedName: "nameAvailable",
+ type: {
+ name: "Boolean"
+ }
+ },
+ reason: {
+ serializedName: "reason",
+ type: {
+ name: "String"
+ }
+ },
+ message: {
+ readOnly: true,
+ serializedName: "message",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const TargetOSInfo: msRest.CompositeMapper = {
+ serializedName: "TargetOSInfo",
+ type: {
+ name: "Composite",
+ className: "TargetOSInfo",
+ modelProperties: {
+ osUpdateType: {
+ required: true,
+ serializedName: "osUpdateType",
+ type: {
+ name: "String"
+ }
+ },
+ targetOSs: {
+ required: true,
+ serializedName: "targetOSs",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const PackageValidationResult: msRest.CompositeMapper = {
+ serializedName: "PackageValidationResult",
+ type: {
+ name: "Composite",
+ className: "PackageValidationResult",
+ modelProperties: {
+ validationName: {
+ readOnly: true,
+ serializedName: "validationName",
+ type: {
+ name: "String"
+ }
+ },
+ isValid: {
+ readOnly: true,
+ serializedName: "isValid",
+ type: {
+ name: "Boolean"
+ }
+ },
+ errors: {
+ readOnly: true,
+ serializedName: "errors",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const Command: msRest.CompositeMapper = {
+ serializedName: "Command",
+ type: {
+ name: "Composite",
+ className: "Command",
+ modelProperties: {
+ name: {
+ required: true,
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ },
+ action: {
+ required: true,
+ serializedName: "action",
+ type: {
+ name: "String"
+ }
+ },
+ contentType: {
+ required: true,
+ serializedName: "contentType",
+ type: {
+ name: "String"
+ }
+ },
+ content: {
+ required: true,
+ serializedName: "content",
+ type: {
+ name: "String"
+ }
+ },
+ runElevated: {
+ serializedName: "runElevated",
+ type: {
+ name: "Boolean"
+ }
+ },
+ restartAfter: {
+ serializedName: "restartAfter",
+ type: {
+ name: "Boolean"
+ }
+ },
+ maxRunTime: {
+ serializedName: "maxRunTime",
+ type: {
+ name: "Number"
+ }
+ },
+ runAsInteractive: {
+ serializedName: "runAsInteractive",
+ type: {
+ name: "Boolean"
+ }
+ },
+ alwaysRun: {
+ serializedName: "alwaysRun",
+ type: {
+ name: "Boolean"
+ }
+ },
+ applyUpdateBefore: {
+ serializedName: "applyUpdateBefore",
+ type: {
+ name: "Boolean"
+ }
+ }
+ }
+ }
+};
+
+export const Test: msRest.CompositeMapper = {
+ serializedName: "Test",
+ type: {
+ name: "Composite",
+ className: "Test",
+ modelProperties: {
+ testType: {
+ required: true,
+ serializedName: "testType",
+ type: {
+ name: "String"
+ }
+ },
+ validationRunStatus: {
+ readOnly: true,
+ serializedName: "validationRunStatus",
+ type: {
+ name: "String"
+ }
+ },
+ isActive: {
+ serializedName: "isActive",
+ type: {
+ name: "Boolean"
+ }
+ },
+ commands: {
+ required: true,
+ serializedName: "commands",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "Command"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const PackageResource: msRest.CompositeMapper = {
+ serializedName: "PackageResource",
+ type: {
+ name: "Composite",
+ className: "PackageResource",
+ modelProperties: {
+ ...TrackedResource.type.modelProperties,
+ systemData: {
+ serializedName: "systemData",
+ type: {
+ name: "Composite",
+ className: "SystemData"
+ }
+ },
+ provisioningState: {
+ serializedName: "properties.provisioningState",
+ type: {
+ name: "String"
+ }
+ },
+ applicationName: {
+ required: true,
+ serializedName: "properties.applicationName",
+ type: {
+ name: "String"
+ }
+ },
+ version: {
+ required: true,
+ serializedName: "properties.version",
+ type: {
+ name: "String"
+ }
+ },
+ testTypes: {
+ readOnly: true,
+ serializedName: "properties.testTypes",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ targetOSList: {
+ required: true,
+ serializedName: "properties.targetOSList",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "TargetOSInfo"
+ }
+ }
+ }
+ },
+ packageStatus: {
+ readOnly: true,
+ serializedName: "properties.packageStatus",
+ type: {
+ name: "String"
+ }
+ },
+ lastModifiedTime: {
+ readOnly: true,
+ serializedName: "properties.lastModifiedTime",
+ type: {
+ name: "DateTime"
+ }
+ },
+ flightingRing: {
+ required: true,
+ serializedName: "properties.flightingRing",
+ type: {
+ name: "String"
+ }
+ },
+ isEnabled: {
+ readOnly: true,
+ serializedName: "properties.isEnabled",
+ type: {
+ name: "Boolean"
+ }
+ },
+ blobPath: {
+ required: true,
+ serializedName: "properties.blobPath",
+ type: {
+ name: "String"
+ }
+ },
+ validationResults: {
+ readOnly: true,
+ serializedName: "properties.validationResults",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "PackageValidationResult"
+ }
+ }
+ }
+ },
+ tests: {
+ required: true,
+ serializedName: "properties.tests",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "Test"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const PackageUpdateParameters: msRest.CompositeMapper = {
+ serializedName: "PackageUpdateParameters",
+ type: {
+ name: "Composite",
+ className: "PackageUpdateParameters",
+ modelProperties: {
+ targetOSList: {
+ serializedName: "properties.targetOSList",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "TargetOSInfo"
+ }
+ }
+ }
+ },
+ flightingRing: {
+ serializedName: "properties.flightingRing",
+ type: {
+ name: "String"
+ }
+ },
+ isEnabled: {
+ serializedName: "properties.isEnabled",
+ type: {
+ name: "Boolean"
+ }
+ },
+ blobPath: {
+ serializedName: "properties.blobPath",
+ type: {
+ name: "String"
+ }
+ },
+ tests: {
+ serializedName: "properties.tests",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "Test"
+ }
+ }
+ }
+ },
+ tags: {
+ serializedName: "tags",
+ type: {
+ name: "Dictionary",
+ value: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const DownloadURLResponse: msRest.CompositeMapper = {
+ serializedName: "DownloadURLResponse",
+ type: {
+ name: "Composite",
+ className: "DownloadURLResponse",
+ modelProperties: {
+ downloadUrl: {
+ readOnly: true,
+ serializedName: "downloadUrl",
+ type: {
+ name: "String"
+ }
+ },
+ expirationTime: {
+ readOnly: true,
+ serializedName: "expirationTime",
+ type: {
+ name: "DateTime"
+ }
+ }
+ }
+ }
+};
+
+export const OSUpdateTestSummary: msRest.CompositeMapper = {
+ serializedName: "OSUpdateTestSummary",
+ type: {
+ name: "Composite",
+ className: "OSUpdateTestSummary",
+ modelProperties: {
+ osName: {
+ serializedName: "osName",
+ type: {
+ name: "String"
+ }
+ },
+ releaseName: {
+ serializedName: "releaseName",
+ type: {
+ name: "String"
+ }
+ },
+ buildVersion: {
+ serializedName: "buildVersion",
+ type: {
+ name: "String"
+ }
+ },
+ buildRevision: {
+ serializedName: "buildRevision",
+ type: {
+ name: "String"
+ }
+ },
+ releaseVersionDate: {
+ serializedName: "releaseVersionDate",
+ type: {
+ name: "DateTime"
+ }
+ },
+ flightingRing: {
+ serializedName: "flightingRing",
+ type: {
+ name: "String"
+ }
+ },
+ executionStatus: {
+ serializedName: "executionStatus",
+ type: {
+ name: "String"
+ }
+ },
+ grade: {
+ serializedName: "grade",
+ type: {
+ name: "String"
+ }
+ },
+ testRunTime: {
+ serializedName: "testRunTime",
+ type: {
+ name: "String"
+ }
+ },
+ testType: {
+ serializedName: "testType",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const OSUpdatesTestSummary: msRest.CompositeMapper = {
+ serializedName: "OSUpdatesTestSummary",
+ type: {
+ name: "Composite",
+ className: "OSUpdatesTestSummary",
+ modelProperties: {
+ executionStatus: {
+ serializedName: "executionStatus",
+ type: {
+ name: "String"
+ }
+ },
+ grade: {
+ serializedName: "grade",
+ type: {
+ name: "String"
+ }
+ },
+ testRunTime: {
+ serializedName: "testRunTime",
+ type: {
+ name: "String"
+ }
+ },
+ osUpdateTestSummaries: {
+ serializedName: "osUpdateTestSummaries",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "OSUpdateTestSummary"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const TestSummaryResource: msRest.CompositeMapper = {
+ serializedName: "TestSummaryResource",
+ type: {
+ name: "Composite",
+ className: "TestSummaryResource",
+ modelProperties: {
+ ...ProxyResource.type.modelProperties,
+ systemData: {
+ serializedName: "systemData",
+ type: {
+ name: "Composite",
+ className: "SystemData"
+ }
+ },
+ testSummaryId: {
+ serializedName: "properties.testSummaryId",
+ type: {
+ name: "String"
+ }
+ },
+ packageId: {
+ serializedName: "properties.packageId",
+ type: {
+ name: "String"
+ }
+ },
+ applicationName: {
+ serializedName: "properties.applicationName",
+ type: {
+ name: "String"
+ }
+ },
+ applicationVersion: {
+ serializedName: "properties.applicationVersion",
+ type: {
+ name: "String"
+ }
+ },
+ executionStatus: {
+ serializedName: "properties.executionStatus",
+ type: {
+ name: "String"
+ }
+ },
+ grade: {
+ serializedName: "properties.grade",
+ type: {
+ name: "String"
+ }
+ },
+ testRunTime: {
+ serializedName: "properties.testRunTime",
+ type: {
+ name: "String"
+ }
+ },
+ featureUpdatesTestSummary: {
+ serializedName: "properties.featureUpdatesTestSummary",
+ type: {
+ name: "Composite",
+ className: "OSUpdatesTestSummary"
+ }
+ },
+ securityUpdatesTestSummary: {
+ serializedName: "properties.securityUpdatesTestSummary",
+ type: {
+ name: "Composite",
+ className: "OSUpdatesTestSummary"
+ }
+ }
+ }
+ }
+};
+
+export const TestResultAnalysisSummary: msRest.CompositeMapper = {
+ serializedName: "TestResultAnalysisSummary",
+ type: {
+ name: "Composite",
+ className: "TestResultAnalysisSummary",
+ modelProperties: {
+ name: {
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ },
+ analysisStatus: {
+ serializedName: "analysisStatus",
+ type: {
+ name: "String"
+ }
+ },
+ grade: {
+ serializedName: "grade",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const TestResultResource: msRest.CompositeMapper = {
+ serializedName: "TestResultResource",
+ type: {
+ name: "Composite",
+ className: "TestResultResource",
+ modelProperties: {
+ ...ProxyResource.type.modelProperties,
+ systemData: {
+ serializedName: "systemData",
+ type: {
+ name: "Composite",
+ className: "SystemData"
+ }
+ },
+ baselineTestResultId: {
+ serializedName: "properties.baselineTestResultId",
+ type: {
+ name: "String"
+ }
+ },
+ packageId: {
+ serializedName: "properties.packageId",
+ type: {
+ name: "String"
+ }
+ },
+ applicationName: {
+ serializedName: "properties.applicationName",
+ type: {
+ name: "String"
+ }
+ },
+ applicationVersion: {
+ serializedName: "properties.applicationVersion",
+ type: {
+ name: "String"
+ }
+ },
+ osName: {
+ serializedName: "properties.osName",
+ type: {
+ name: "String"
+ }
+ },
+ releaseName: {
+ serializedName: "properties.releaseName",
+ type: {
+ name: "String"
+ }
+ },
+ releaseVersionDate: {
+ serializedName: "properties.releaseVersionDate",
+ type: {
+ name: "DateTime"
+ }
+ },
+ flightingRing: {
+ serializedName: "properties.flightingRing",
+ type: {
+ name: "String"
+ }
+ },
+ buildVersion: {
+ serializedName: "properties.buildVersion",
+ type: {
+ name: "String"
+ }
+ },
+ buildRevision: {
+ serializedName: "properties.buildRevision",
+ type: {
+ name: "String"
+ }
+ },
+ testType: {
+ serializedName: "properties.testType",
+ type: {
+ name: "String"
+ }
+ },
+ testRunTime: {
+ serializedName: "properties.testRunTime",
+ type: {
+ name: "String"
+ }
+ },
+ isDownloadDataAvailable: {
+ serializedName: "properties.isDownloadDataAvailable",
+ type: {
+ name: "Boolean"
+ }
+ },
+ isVideoAvailable: {
+ serializedName: "properties.isVideoAvailable",
+ type: {
+ name: "Boolean"
+ }
+ },
+ executionStatus: {
+ serializedName: "properties.executionStatus",
+ type: {
+ name: "String"
+ }
+ },
+ grade: {
+ serializedName: "properties.grade",
+ type: {
+ name: "String"
+ }
+ },
+ kbNumber: {
+ serializedName: "properties.kbNumber",
+ type: {
+ name: "String"
+ }
+ },
+ packageVersion: {
+ serializedName: "properties.packageVersion",
+ type: {
+ name: "String"
+ }
+ },
+ analysisSummaries: {
+ serializedName: "properties.analysisSummaries",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "TestResultAnalysisSummary"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const OSUpdateResource: msRest.CompositeMapper = {
+ serializedName: "OSUpdateResource",
+ type: {
+ name: "Composite",
+ className: "OSUpdateResource",
+ modelProperties: {
+ ...ProxyResource.type.modelProperties,
+ systemData: {
+ serializedName: "systemData",
+ type: {
+ name: "Composite",
+ className: "SystemData"
+ }
+ },
+ osName: {
+ serializedName: "properties.osName",
+ type: {
+ name: "String"
+ }
+ },
+ release: {
+ serializedName: "properties.release",
+ type: {
+ name: "String"
+ }
+ },
+ flightingRing: {
+ serializedName: "properties.flightingRing",
+ type: {
+ name: "String"
+ }
+ },
+ buildVersion: {
+ serializedName: "properties.buildVersion",
+ type: {
+ name: "String"
+ }
+ },
+ buildRevision: {
+ serializedName: "properties.buildRevision",
+ type: {
+ name: "String"
+ }
+ },
+ oSUpdateResourceType: {
+ serializedName: "properties.type",
+ type: {
+ name: "String"
+ }
+ },
+ releaseVersionDate: {
+ serializedName: "properties.releaseVersionDate",
+ type: {
+ name: "DateTime"
+ }
+ }
+ }
+ }
+};
+
+export const FavoriteProcessResource: msRest.CompositeMapper = {
+ serializedName: "FavoriteProcessResource",
+ type: {
+ name: "Composite",
+ className: "FavoriteProcessResource",
+ modelProperties: {
+ ...ProxyResource.type.modelProperties,
+ systemData: {
+ serializedName: "systemData",
+ type: {
+ name: "Composite",
+ className: "SystemData"
+ }
+ },
+ actualProcessName: {
+ required: true,
+ serializedName: "properties.actualProcessName",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const AnalysisResultSingletonResourceProperties: msRest.CompositeMapper = {
+ serializedName: "AnalysisResultSingletonResourceProperties",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "analysisResultType",
+ clientName: "analysisResultType"
+ },
+ uberParent: "AnalysisResultSingletonResourceProperties",
+ className: "AnalysisResultSingletonResourceProperties",
+ modelProperties: {
+ grade: {
+ serializedName: "grade",
+ type: {
+ name: "String"
+ }
+ },
+ analysisResultType: {
+ required: true,
+ serializedName: "analysisResultType",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const AnalysisResultSingletonResource: msRest.CompositeMapper = {
+ serializedName: "AnalysisResultSingletonResource",
+ type: {
+ name: "Composite",
+ className: "AnalysisResultSingletonResource",
+ modelProperties: {
+ ...ProxyResource.type.modelProperties,
+ systemData: {
+ serializedName: "systemData",
+ type: {
+ name: "Composite",
+ className: "SystemData"
+ }
+ },
+ grade: {
+ serializedName: "properties.grade",
+ type: {
+ name: "String"
+ }
+ },
+ analysisResultType: {
+ required: true,
+ serializedName: "properties.analysisResultType",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const ScriptExecutionResult: msRest.CompositeMapper = {
+ serializedName: "ScriptExecutionResult",
+ type: {
+ name: "Composite",
+ className: "ScriptExecutionResult",
+ modelProperties: {
+ scriptName: {
+ serializedName: "scriptName",
+ type: {
+ name: "String"
+ }
+ },
+ startTime: {
+ serializedName: "startTime",
+ type: {
+ name: "DateTime"
+ }
+ },
+ endTime: {
+ serializedName: "endTime",
+ type: {
+ name: "DateTime"
+ }
+ },
+ exitCode: {
+ serializedName: "exitCode",
+ type: {
+ name: "Number"
+ }
+ },
+ timeOut: {
+ serializedName: "timeOut",
+ type: {
+ name: "Boolean"
+ }
+ }
+ }
+ }
+};
+
+export const ScriptExecutionResultSingletonResourceProperties: msRest.CompositeMapper = {
+ serializedName: "ScriptExecution",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: AnalysisResultSingletonResourceProperties.type.polymorphicDiscriminator,
+ uberParent: "AnalysisResultSingletonResourceProperties",
+ className: "ScriptExecutionResultSingletonResourceProperties",
+ modelProperties: {
+ ...AnalysisResultSingletonResourceProperties.type.modelProperties,
+ scriptExecutionResults: {
+ serializedName: "scriptExecutionResults",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "ScriptExecutionResult"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const RegressionTestDetails: msRest.CompositeMapper = {
+ serializedName: "RegressionTestDetails",
+ type: {
+ name: "Composite",
+ className: "RegressionTestDetails",
+ modelProperties: {
+ diff: {
+ serializedName: "diff",
+ type: {
+ name: "Number"
+ }
+ },
+ isRegressed: {
+ serializedName: "isRegressed",
+ type: {
+ name: "Boolean"
+ }
+ }
+ }
+ }
+};
+
+export const ReliabilityResult: msRest.CompositeMapper = {
+ serializedName: "ReliabilityResult",
+ type: {
+ name: "Composite",
+ className: "ReliabilityResult",
+ modelProperties: {
+ fileName: {
+ serializedName: "fileName",
+ type: {
+ name: "String"
+ }
+ },
+ launchCount: {
+ serializedName: "launchCount",
+ type: {
+ name: "Number"
+ }
+ },
+ crashCount: {
+ serializedName: "crashCount",
+ type: {
+ name: "Number"
+ }
+ },
+ hangCount: {
+ serializedName: "hangCount",
+ type: {
+ name: "Number"
+ }
+ },
+ regressionGrade: {
+ serializedName: "regressionGrade",
+ type: {
+ name: "String"
+ }
+ },
+ crashRegressionGrade: {
+ serializedName: "crashRegressionGrade",
+ type: {
+ name: "String"
+ }
+ },
+ crashRegressionTestDetails: {
+ serializedName: "crashRegressionTestDetails",
+ type: {
+ name: "Composite",
+ className: "RegressionTestDetails"
+ }
+ },
+ hangRegressionGrade: {
+ serializedName: "hangRegressionGrade",
+ type: {
+ name: "String"
+ }
+ },
+ hangRegressionTestDetails: {
+ serializedName: "hangRegressionTestDetails",
+ type: {
+ name: "Composite",
+ className: "RegressionTestDetails"
+ }
+ }
+ }
+ }
+};
+
+export const ReliabilityResultSingletonResourceProperties: msRest.CompositeMapper = {
+ serializedName: "Reliability",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: AnalysisResultSingletonResourceProperties.type.polymorphicDiscriminator,
+ uberParent: "AnalysisResultSingletonResourceProperties",
+ className: "ReliabilityResultSingletonResourceProperties",
+ modelProperties: {
+ ...AnalysisResultSingletonResourceProperties.type.modelProperties,
+ reliabilityResults: {
+ serializedName: "reliabilityResults",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "ReliabilityResult"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const UtilizationBound: msRest.CompositeMapper = {
+ serializedName: "UtilizationBound",
+ type: {
+ name: "Composite",
+ className: "UtilizationBound",
+ modelProperties: {
+ percentile: {
+ serializedName: "percentile",
+ type: {
+ name: "Number"
+ }
+ },
+ value: {
+ serializedName: "value",
+ type: {
+ name: "Number"
+ }
+ }
+ }
+ }
+};
+
+export const UtilizationEntry: msRest.CompositeMapper = {
+ serializedName: "UtilizationEntry",
+ type: {
+ name: "Composite",
+ className: "UtilizationEntry",
+ modelProperties: {
+ timestamp: {
+ serializedName: "timestamp",
+ type: {
+ name: "DateTime"
+ }
+ },
+ value: {
+ serializedName: "value",
+ type: {
+ name: "Number"
+ }
+ }
+ }
+ }
+};
+
+export const UtilizationResult: msRest.CompositeMapper = {
+ serializedName: "UtilizationResult",
+ type: {
+ name: "Composite",
+ className: "UtilizationResult",
+ modelProperties: {
+ process: {
+ serializedName: "process",
+ type: {
+ name: "String"
+ }
+ },
+ upperBound: {
+ serializedName: "upperBound",
+ type: {
+ name: "Composite",
+ className: "UtilizationBound"
+ }
+ },
+ lowerBound: {
+ serializedName: "lowerBound",
+ type: {
+ name: "Composite",
+ className: "UtilizationBound"
+ }
+ },
+ utilization: {
+ serializedName: "utilization",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "UtilizationEntry"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const CPUUtilizationResultSingletonResourceProperties: msRest.CompositeMapper = {
+ serializedName: "CPUUtilization",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: AnalysisResultSingletonResourceProperties.type.polymorphicDiscriminator,
+ uberParent: "AnalysisResultSingletonResourceProperties",
+ className: "CPUUtilizationResultSingletonResourceProperties",
+ modelProperties: {
+ ...AnalysisResultSingletonResourceProperties.type.modelProperties,
+ cpuUtilizationResults: {
+ serializedName: "cpuUtilizationResults",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "UtilizationResult"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const MemoryUtilizationResultSingletonResourceProperties: msRest.CompositeMapper = {
+ serializedName: "MemoryUtilization",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: AnalysisResultSingletonResourceProperties.type.polymorphicDiscriminator,
+ uberParent: "AnalysisResultSingletonResourceProperties",
+ className: "MemoryUtilizationResultSingletonResourceProperties",
+ modelProperties: {
+ ...AnalysisResultSingletonResourceProperties.type.modelProperties,
+ memoryUtilizationResults: {
+ serializedName: "memoryUtilizationResults",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "UtilizationResult"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const RegressionResult: msRest.CompositeMapper = {
+ serializedName: "RegressionResult",
+ type: {
+ name: "Composite",
+ className: "RegressionResult",
+ modelProperties: {
+ fileName: {
+ serializedName: "fileName",
+ type: {
+ name: "String"
+ }
+ },
+ grade: {
+ serializedName: "grade",
+ type: {
+ name: "String"
+ }
+ },
+ details: {
+ serializedName: "details",
+ type: {
+ name: "String"
+ }
+ },
+ diff: {
+ serializedName: "diff",
+ type: {
+ name: "Number"
+ }
+ },
+ isRegressed: {
+ serializedName: "isRegressed",
+ type: {
+ name: "Boolean"
+ }
+ }
+ }
+ }
+};
+
+export const CPURegressionResultSingletonResourceProperties: msRest.CompositeMapper = {
+ serializedName: "CPURegression",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: AnalysisResultSingletonResourceProperties.type.polymorphicDiscriminator,
+ uberParent: "AnalysisResultSingletonResourceProperties",
+ className: "CPURegressionResultSingletonResourceProperties",
+ modelProperties: {
+ ...AnalysisResultSingletonResourceProperties.type.modelProperties,
+ cpuRegressionResults: {
+ serializedName: "cpuRegressionResults",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "RegressionResult"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const MemoryRegressionResultSingletonResourceProperties: msRest.CompositeMapper = {
+ serializedName: "MemoryRegression",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: AnalysisResultSingletonResourceProperties.type.polymorphicDiscriminator,
+ uberParent: "AnalysisResultSingletonResourceProperties",
+ className: "MemoryRegressionResultSingletonResourceProperties",
+ modelProperties: {
+ ...AnalysisResultSingletonResourceProperties.type.modelProperties,
+ memoryRegressionResults: {
+ serializedName: "memoryRegressionResults",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "RegressionResult"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const OperationDisplay: msRest.CompositeMapper = {
+ serializedName: "Operation_display",
+ type: {
+ name: "Composite",
+ className: "OperationDisplay",
+ modelProperties: {
+ provider: {
+ readOnly: true,
+ serializedName: "provider",
+ type: {
+ name: "String"
+ }
+ },
+ operation: {
+ readOnly: true,
+ serializedName: "operation",
+ type: {
+ name: "String"
+ }
+ },
+ resource: {
+ readOnly: true,
+ serializedName: "resource",
+ type: {
+ name: "String"
+ }
+ },
+ description: {
+ readOnly: true,
+ serializedName: "description",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const Operation: msRest.CompositeMapper = {
+ serializedName: "Operation",
+ type: {
+ name: "Composite",
+ className: "Operation",
+ modelProperties: {
+ name: {
+ readOnly: true,
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ },
+ isDataAction: {
+ readOnly: true,
+ serializedName: "isDataAction",
+ type: {
+ name: "Boolean"
+ }
+ },
+ origin: {
+ readOnly: true,
+ serializedName: "origin",
+ type: {
+ name: "String"
+ }
+ },
+ display: {
+ serializedName: "display",
+ type: {
+ name: "Composite",
+ className: "OperationDisplay"
+ }
+ },
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Object"
+ }
+ }
+ }
+ }
+};
+
+export const TestBaseAccountCreateHeaders: msRest.CompositeMapper = {
+ serializedName: "testbaseaccount-create-headers",
+ type: {
+ name: "Composite",
+ className: "TestBaseAccountCreateHeaders",
+ modelProperties: {
+ azureAsyncOperation: {
+ serializedName: "azure-asyncoperation",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const TestBaseAccountUpdateHeaders: msRest.CompositeMapper = {
+ serializedName: "testbaseaccount-update-headers",
+ type: {
+ name: "Composite",
+ className: "TestBaseAccountUpdateHeaders",
+ modelProperties: {
+ azureAsyncOperation: {
+ serializedName: "azure-asyncoperation",
+ type: {
+ name: "String"
+ }
+ },
+ locationHeader: {
+ serializedName: "location",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const TestBaseAccountDeleteHeaders: msRest.CompositeMapper = {
+ serializedName: "testbaseaccount-delete-headers",
+ type: {
+ name: "Composite",
+ className: "TestBaseAccountDeleteHeaders",
+ modelProperties: {
+ azureAsyncOperation: {
+ serializedName: "azure-asyncoperation",
+ type: {
+ name: "String"
+ }
+ },
+ location: {
+ serializedName: "location",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const TestBaseAccountOffboardHeaders: msRest.CompositeMapper = {
+ serializedName: "testbaseaccount-offboard-headers",
+ type: {
+ name: "Composite",
+ className: "TestBaseAccountOffboardHeaders",
+ modelProperties: {
+ azureAsyncOperation: {
+ serializedName: "azure-asyncoperation",
+ type: {
+ name: "String"
+ }
+ },
+ location: {
+ serializedName: "location",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const PackageCreateHeaders: msRest.CompositeMapper = {
+ serializedName: "package-create-headers",
+ type: {
+ name: "Composite",
+ className: "PackageCreateHeaders",
+ modelProperties: {
+ azureAsyncOperation: {
+ serializedName: "azure-asyncoperation",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const PackageUpdateHeaders: msRest.CompositeMapper = {
+ serializedName: "package-update-headers",
+ type: {
+ name: "Composite",
+ className: "PackageUpdateHeaders",
+ modelProperties: {
+ azureAsyncOperation: {
+ serializedName: "azure-asyncoperation",
+ type: {
+ name: "String"
+ }
+ },
+ locationHeader: {
+ serializedName: "location",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const PackageDeleteHeaders: msRest.CompositeMapper = {
+ serializedName: "package-delete-headers",
+ type: {
+ name: "Composite",
+ className: "PackageDeleteHeaders",
+ modelProperties: {
+ azureAsyncOperation: {
+ serializedName: "azure-asyncoperation",
+ type: {
+ name: "String"
+ }
+ },
+ location: {
+ serializedName: "location",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const PackageHardDeleteHeaders: msRest.CompositeMapper = {
+ serializedName: "package-harddelete-headers",
+ type: {
+ name: "Composite",
+ className: "PackageHardDeleteHeaders",
+ modelProperties: {
+ azureAsyncOperation: {
+ serializedName: "azure-asyncoperation",
+ type: {
+ name: "String"
+ }
+ },
+ location: {
+ serializedName: "location",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const TestBaseAccountSKUListResult: msRest.CompositeMapper = {
+ serializedName: "TestBaseAccountSKUListResult",
+ type: {
+ name: "Composite",
+ className: "TestBaseAccountSKUListResult",
+ modelProperties: {
+ value: {
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "TestBaseAccountSKU"
+ }
+ }
+ }
+ },
+ nextLink: {
+ readOnly: true,
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const TestBaseAccountListResult: msRest.CompositeMapper = {
+ serializedName: "TestBaseAccountListResult",
+ type: {
+ name: "Composite",
+ className: "TestBaseAccountListResult",
+ modelProperties: {
+ value: {
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "TestBaseAccountResource"
+ }
+ }
+ }
+ },
+ nextLink: {
+ readOnly: true,
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const TestBaseAccountUsageDataList: msRest.CompositeMapper = {
+ serializedName: "TestBaseAccountUsageDataList",
+ type: {
+ name: "Composite",
+ className: "TestBaseAccountUsageDataList",
+ modelProperties: {
+ value: {
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "TestBaseAccountUsageData"
+ }
+ }
+ }
+ },
+ nextLink: {
+ readOnly: true,
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const AvailableOSListResult: msRest.CompositeMapper = {
+ serializedName: "AvailableOSListResult",
+ type: {
+ name: "Composite",
+ className: "AvailableOSListResult",
+ modelProperties: {
+ value: {
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "AvailableOSResource"
+ }
+ }
+ }
+ },
+ nextLink: {
+ readOnly: true,
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const FlightingRingListResult: msRest.CompositeMapper = {
+ serializedName: "FlightingRingListResult",
+ type: {
+ name: "Composite",
+ className: "FlightingRingListResult",
+ modelProperties: {
+ value: {
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "FlightingRingResource"
+ }
+ }
+ }
+ },
+ nextLink: {
+ readOnly: true,
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const TestTypeListResult: msRest.CompositeMapper = {
+ serializedName: "TestTypeListResult",
+ type: {
+ name: "Composite",
+ className: "TestTypeListResult",
+ modelProperties: {
+ value: {
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "TestTypeResource"
+ }
+ }
+ }
+ },
+ nextLink: {
+ readOnly: true,
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const PackageListResult: msRest.CompositeMapper = {
+ serializedName: "PackageListResult",
+ type: {
+ name: "Composite",
+ className: "PackageListResult",
+ modelProperties: {
+ value: {
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "PackageResource"
+ }
+ }
+ }
+ },
+ nextLink: {
+ readOnly: true,
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const TestSummaryListResult: msRest.CompositeMapper = {
+ serializedName: "TestSummaryListResult",
+ type: {
+ name: "Composite",
+ className: "TestSummaryListResult",
+ modelProperties: {
+ value: {
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "TestSummaryResource"
+ }
+ }
+ }
+ },
+ nextLink: {
+ readOnly: true,
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const TestResultListResult: msRest.CompositeMapper = {
+ serializedName: "TestResultListResult",
+ type: {
+ name: "Composite",
+ className: "TestResultListResult",
+ modelProperties: {
+ value: {
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "TestResultResource"
+ }
+ }
+ }
+ },
+ nextLink: {
+ readOnly: true,
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const OSUpdateListResult: msRest.CompositeMapper = {
+ serializedName: "OSUpdateListResult",
+ type: {
+ name: "Composite",
+ className: "OSUpdateListResult",
+ modelProperties: {
+ value: {
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "OSUpdateResource"
+ }
+ }
+ }
+ },
+ nextLink: {
+ readOnly: true,
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const FavoriteProcessListResult: msRest.CompositeMapper = {
+ serializedName: "FavoriteProcessListResult",
+ type: {
+ name: "Composite",
+ className: "FavoriteProcessListResult",
+ modelProperties: {
+ value: {
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "FavoriteProcessResource"
+ }
+ }
+ }
+ },
+ nextLink: {
+ readOnly: true,
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const AnalysisResultListResult: msRest.CompositeMapper = {
+ serializedName: "AnalysisResultListResult",
+ type: {
+ name: "Composite",
+ className: "AnalysisResultListResult",
+ modelProperties: {
+ value: {
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "AnalysisResultSingletonResource"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const OperationListResult: msRest.CompositeMapper = {
+ serializedName: "OperationListResult",
+ type: {
+ name: "Composite",
+ className: "OperationListResult",
+ modelProperties: {
+ value: {
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "Operation"
+ }
+ }
+ }
+ },
+ nextLink: {
+ readOnly: true,
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const discriminators = {
+ 'AnalysisResultSingletonResourceProperties' : AnalysisResultSingletonResourceProperties,
+ 'AnalysisResultSingletonResourceProperties.ScriptExecution' : ScriptExecutionResultSingletonResourceProperties,
+ 'AnalysisResultSingletonResourceProperties.Reliability' : ReliabilityResultSingletonResourceProperties,
+ 'AnalysisResultSingletonResourceProperties.CPUUtilization' : CPUUtilizationResultSingletonResourceProperties,
+ 'AnalysisResultSingletonResourceProperties.MemoryUtilization' : MemoryUtilizationResultSingletonResourceProperties,
+ 'AnalysisResultSingletonResourceProperties.CPURegression' : CPURegressionResultSingletonResourceProperties,
+ 'AnalysisResultSingletonResourceProperties.MemoryRegression' : MemoryRegressionResultSingletonResourceProperties
+
+};
diff --git a/sdk/testbase/arm-testbase/src/models/oSUpdateMappers.ts b/sdk/testbase/arm-testbase/src/models/oSUpdateMappers.ts
new file mode 100644
index 000000000000..cac5d649fab5
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/models/oSUpdateMappers.ts
@@ -0,0 +1,37 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ discriminators,
+ AnalysisResultSingletonResource,
+ AvailableOSResource,
+ BaseResource,
+ Command,
+ ErrorDefinition,
+ ErrorResponse,
+ FavoriteProcessResource,
+ FlightingRingResource,
+ OSUpdateResource,
+ OSUpdatesTestSummary,
+ OSUpdateTestSummary,
+ PackageResource,
+ PackageValidationResult,
+ ProxyResource,
+ Resource,
+ SystemData,
+ TargetOSInfo,
+ Test,
+ TestBaseAccountResource,
+ TestBaseAccountSKU,
+ TestBaseAccountSKUCapability,
+ TestResultAnalysisSummary,
+ TestResultResource,
+ TestSummaryResource,
+ TestTypeResource,
+ TrackedResource
+} from "../models/mappers";
diff --git a/sdk/testbase/arm-testbase/src/models/oSUpdatesMappers.ts b/sdk/testbase/arm-testbase/src/models/oSUpdatesMappers.ts
new file mode 100644
index 000000000000..c0bb853c3014
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/models/oSUpdatesMappers.ts
@@ -0,0 +1,38 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ discriminators,
+ AnalysisResultSingletonResource,
+ AvailableOSResource,
+ BaseResource,
+ Command,
+ ErrorDefinition,
+ ErrorResponse,
+ FavoriteProcessResource,
+ FlightingRingResource,
+ OSUpdateListResult,
+ OSUpdateResource,
+ OSUpdatesTestSummary,
+ OSUpdateTestSummary,
+ PackageResource,
+ PackageValidationResult,
+ ProxyResource,
+ Resource,
+ SystemData,
+ TargetOSInfo,
+ Test,
+ TestBaseAccountResource,
+ TestBaseAccountSKU,
+ TestBaseAccountSKUCapability,
+ TestResultAnalysisSummary,
+ TestResultResource,
+ TestSummaryResource,
+ TestTypeResource,
+ TrackedResource
+} from "../models/mappers";
diff --git a/sdk/testbase/arm-testbase/src/models/operationsMappers.ts b/sdk/testbase/arm-testbase/src/models/operationsMappers.ts
new file mode 100644
index 000000000000..7e9414298012
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/models/operationsMappers.ts
@@ -0,0 +1,16 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ discriminators,
+ ErrorDefinition,
+ ErrorResponse,
+ Operation,
+ OperationDisplay,
+ OperationListResult
+} from "../models/mappers";
diff --git a/sdk/testbase/arm-testbase/src/models/packageModelMappers.ts b/sdk/testbase/arm-testbase/src/models/packageModelMappers.ts
new file mode 100644
index 000000000000..23c802476b5e
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/models/packageModelMappers.ts
@@ -0,0 +1,42 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ discriminators,
+ AnalysisResultSingletonResource,
+ AvailableOSResource,
+ BaseResource,
+ Command,
+ ErrorDefinition,
+ ErrorResponse,
+ FavoriteProcessResource,
+ FlightingRingResource,
+ OSUpdateResource,
+ OSUpdatesTestSummary,
+ OSUpdateTestSummary,
+ PackageCreateHeaders,
+ PackageDeleteHeaders,
+ PackageHardDeleteHeaders,
+ PackageResource,
+ PackageUpdateHeaders,
+ PackageUpdateParameters,
+ PackageValidationResult,
+ ProxyResource,
+ Resource,
+ SystemData,
+ TargetOSInfo,
+ Test,
+ TestBaseAccountResource,
+ TestBaseAccountSKU,
+ TestBaseAccountSKUCapability,
+ TestResultAnalysisSummary,
+ TestResultResource,
+ TestSummaryResource,
+ TestTypeResource,
+ TrackedResource
+} from "../models/mappers";
diff --git a/sdk/testbase/arm-testbase/src/models/packagesMappers.ts b/sdk/testbase/arm-testbase/src/models/packagesMappers.ts
new file mode 100644
index 000000000000..6cfceb8b3d21
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/models/packagesMappers.ts
@@ -0,0 +1,38 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ discriminators,
+ AnalysisResultSingletonResource,
+ AvailableOSResource,
+ BaseResource,
+ Command,
+ ErrorDefinition,
+ ErrorResponse,
+ FavoriteProcessResource,
+ FlightingRingResource,
+ OSUpdateResource,
+ OSUpdatesTestSummary,
+ OSUpdateTestSummary,
+ PackageListResult,
+ PackageResource,
+ PackageValidationResult,
+ ProxyResource,
+ Resource,
+ SystemData,
+ TargetOSInfo,
+ Test,
+ TestBaseAccountResource,
+ TestBaseAccountSKU,
+ TestBaseAccountSKUCapability,
+ TestResultAnalysisSummary,
+ TestResultResource,
+ TestSummaryResource,
+ TestTypeResource,
+ TrackedResource
+} from "../models/mappers";
diff --git a/sdk/testbase/arm-testbase/src/models/parameters.ts b/sdk/testbase/arm-testbase/src/models/parameters.ts
new file mode 100644
index 000000000000..0e587f229b0e
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/models/parameters.ts
@@ -0,0 +1,218 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+
+export const acceptLanguage: msRest.OperationParameter = {
+ parameterPath: "acceptLanguage",
+ mapper: {
+ serializedName: "accept-language",
+ defaultValue: 'en-US',
+ type: {
+ name: "String"
+ }
+ }
+};
+export const analysisResultName: msRest.OperationURLParameter = {
+ parameterPath: "analysisResultName",
+ mapper: {
+ required: true,
+ serializedName: "analysisResultName",
+ type: {
+ name: "String"
+ }
+ }
+};
+export const analysisResultType: msRest.OperationQueryParameter = {
+ parameterPath: "analysisResultType",
+ mapper: {
+ required: true,
+ serializedName: "analysisResultType",
+ type: {
+ name: "String"
+ }
+ }
+};
+export const apiVersion: msRest.OperationQueryParameter = {
+ parameterPath: "apiVersion",
+ mapper: {
+ required: true,
+ serializedName: "api-version",
+ type: {
+ name: "String"
+ }
+ }
+};
+export const availableOSResourceName: msRest.OperationURLParameter = {
+ parameterPath: "availableOSResourceName",
+ mapper: {
+ required: true,
+ serializedName: "availableOSResourceName",
+ type: {
+ name: "String"
+ }
+ }
+};
+export const favoriteProcessResourceName: msRest.OperationURLParameter = {
+ parameterPath: "favoriteProcessResourceName",
+ mapper: {
+ required: true,
+ serializedName: "favoriteProcessResourceName",
+ type: {
+ name: "String"
+ }
+ }
+};
+export const filter: msRest.OperationQueryParameter = {
+ parameterPath: [
+ "options",
+ "filter"
+ ],
+ mapper: {
+ serializedName: "$filter",
+ type: {
+ name: "String"
+ }
+ }
+};
+export const flightingRingResourceName: msRest.OperationURLParameter = {
+ parameterPath: "flightingRingResourceName",
+ mapper: {
+ required: true,
+ serializedName: "flightingRingResourceName",
+ type: {
+ name: "String"
+ }
+ }
+};
+export const getDeleted: msRest.OperationQueryParameter = {
+ parameterPath: [
+ "options",
+ "getDeleted"
+ ],
+ mapper: {
+ serializedName: "getDeleted",
+ type: {
+ name: "Boolean"
+ }
+ }
+};
+export const nextPageLink: msRest.OperationURLParameter = {
+ parameterPath: "nextPageLink",
+ mapper: {
+ required: true,
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ },
+ skipEncoding: true
+};
+export const osUpdateResourceName: msRest.OperationURLParameter = {
+ parameterPath: "osUpdateResourceName",
+ mapper: {
+ required: true,
+ serializedName: "osUpdateResourceName",
+ type: {
+ name: "String"
+ }
+ }
+};
+export const osUpdateType: msRest.OperationQueryParameter = {
+ parameterPath: "osUpdateType",
+ mapper: {
+ required: true,
+ serializedName: "osUpdateType",
+ type: {
+ name: "String"
+ }
+ }
+};
+export const packageName: msRest.OperationURLParameter = {
+ parameterPath: "packageName",
+ mapper: {
+ required: true,
+ serializedName: "packageName",
+ type: {
+ name: "String"
+ }
+ }
+};
+export const resourceGroupName: msRest.OperationURLParameter = {
+ parameterPath: "resourceGroupName",
+ mapper: {
+ required: true,
+ serializedName: "resourceGroupName",
+ type: {
+ name: "String"
+ }
+ }
+};
+export const restore: msRest.OperationQueryParameter = {
+ parameterPath: [
+ "options",
+ "restore"
+ ],
+ mapper: {
+ serializedName: "restore",
+ type: {
+ name: "Boolean"
+ }
+ }
+};
+export const subscriptionId: msRest.OperationURLParameter = {
+ parameterPath: "subscriptionId",
+ mapper: {
+ required: true,
+ serializedName: "subscriptionId",
+ type: {
+ name: "String"
+ }
+ }
+};
+export const testBaseAccountName: msRest.OperationURLParameter = {
+ parameterPath: "testBaseAccountName",
+ mapper: {
+ required: true,
+ serializedName: "testBaseAccountName",
+ type: {
+ name: "String"
+ }
+ }
+};
+export const testResultName: msRest.OperationURLParameter = {
+ parameterPath: "testResultName",
+ mapper: {
+ required: true,
+ serializedName: "testResultName",
+ type: {
+ name: "String"
+ }
+ }
+};
+export const testSummaryName: msRest.OperationURLParameter = {
+ parameterPath: "testSummaryName",
+ mapper: {
+ required: true,
+ serializedName: "testSummaryName",
+ type: {
+ name: "String"
+ }
+ }
+};
+export const testTypeResourceName: msRest.OperationURLParameter = {
+ parameterPath: "testTypeResourceName",
+ mapper: {
+ required: true,
+ serializedName: "testTypeResourceName",
+ type: {
+ name: "String"
+ }
+ }
+};
diff --git a/sdk/testbase/arm-testbase/src/models/sKUsMappers.ts b/sdk/testbase/arm-testbase/src/models/sKUsMappers.ts
new file mode 100644
index 000000000000..69f56375680b
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/models/sKUsMappers.ts
@@ -0,0 +1,16 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ discriminators,
+ ErrorDefinition,
+ ErrorResponse,
+ TestBaseAccountSKU,
+ TestBaseAccountSKUCapability,
+ TestBaseAccountSKUListResult
+} from "../models/mappers";
diff --git a/sdk/testbase/arm-testbase/src/models/testBaseAccountAvailableOSMappers.ts b/sdk/testbase/arm-testbase/src/models/testBaseAccountAvailableOSMappers.ts
new file mode 100644
index 000000000000..cac5d649fab5
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/models/testBaseAccountAvailableOSMappers.ts
@@ -0,0 +1,37 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ discriminators,
+ AnalysisResultSingletonResource,
+ AvailableOSResource,
+ BaseResource,
+ Command,
+ ErrorDefinition,
+ ErrorResponse,
+ FavoriteProcessResource,
+ FlightingRingResource,
+ OSUpdateResource,
+ OSUpdatesTestSummary,
+ OSUpdateTestSummary,
+ PackageResource,
+ PackageValidationResult,
+ ProxyResource,
+ Resource,
+ SystemData,
+ TargetOSInfo,
+ Test,
+ TestBaseAccountResource,
+ TestBaseAccountSKU,
+ TestBaseAccountSKUCapability,
+ TestResultAnalysisSummary,
+ TestResultResource,
+ TestSummaryResource,
+ TestTypeResource,
+ TrackedResource
+} from "../models/mappers";
diff --git a/sdk/testbase/arm-testbase/src/models/testBaseAccountAvailableOSsMappers.ts b/sdk/testbase/arm-testbase/src/models/testBaseAccountAvailableOSsMappers.ts
new file mode 100644
index 000000000000..690216864660
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/models/testBaseAccountAvailableOSsMappers.ts
@@ -0,0 +1,38 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ discriminators,
+ AnalysisResultSingletonResource,
+ AvailableOSListResult,
+ AvailableOSResource,
+ BaseResource,
+ Command,
+ ErrorDefinition,
+ ErrorResponse,
+ FavoriteProcessResource,
+ FlightingRingResource,
+ OSUpdateResource,
+ OSUpdatesTestSummary,
+ OSUpdateTestSummary,
+ PackageResource,
+ PackageValidationResult,
+ ProxyResource,
+ Resource,
+ SystemData,
+ TargetOSInfo,
+ Test,
+ TestBaseAccountResource,
+ TestBaseAccountSKU,
+ TestBaseAccountSKUCapability,
+ TestResultAnalysisSummary,
+ TestResultResource,
+ TestSummaryResource,
+ TestTypeResource,
+ TrackedResource
+} from "../models/mappers";
diff --git a/sdk/testbase/arm-testbase/src/models/testBaseAccountFlightingRingMappers.ts b/sdk/testbase/arm-testbase/src/models/testBaseAccountFlightingRingMappers.ts
new file mode 100644
index 000000000000..cac5d649fab5
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/models/testBaseAccountFlightingRingMappers.ts
@@ -0,0 +1,37 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ discriminators,
+ AnalysisResultSingletonResource,
+ AvailableOSResource,
+ BaseResource,
+ Command,
+ ErrorDefinition,
+ ErrorResponse,
+ FavoriteProcessResource,
+ FlightingRingResource,
+ OSUpdateResource,
+ OSUpdatesTestSummary,
+ OSUpdateTestSummary,
+ PackageResource,
+ PackageValidationResult,
+ ProxyResource,
+ Resource,
+ SystemData,
+ TargetOSInfo,
+ Test,
+ TestBaseAccountResource,
+ TestBaseAccountSKU,
+ TestBaseAccountSKUCapability,
+ TestResultAnalysisSummary,
+ TestResultResource,
+ TestSummaryResource,
+ TestTypeResource,
+ TrackedResource
+} from "../models/mappers";
diff --git a/sdk/testbase/arm-testbase/src/models/testBaseAccountFlightingRingsMappers.ts b/sdk/testbase/arm-testbase/src/models/testBaseAccountFlightingRingsMappers.ts
new file mode 100644
index 000000000000..d1373358eca1
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/models/testBaseAccountFlightingRingsMappers.ts
@@ -0,0 +1,38 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ discriminators,
+ AnalysisResultSingletonResource,
+ AvailableOSResource,
+ BaseResource,
+ Command,
+ ErrorDefinition,
+ ErrorResponse,
+ FavoriteProcessResource,
+ FlightingRingListResult,
+ FlightingRingResource,
+ OSUpdateResource,
+ OSUpdatesTestSummary,
+ OSUpdateTestSummary,
+ PackageResource,
+ PackageValidationResult,
+ ProxyResource,
+ Resource,
+ SystemData,
+ TargetOSInfo,
+ Test,
+ TestBaseAccountResource,
+ TestBaseAccountSKU,
+ TestBaseAccountSKUCapability,
+ TestResultAnalysisSummary,
+ TestResultResource,
+ TestSummaryResource,
+ TestTypeResource,
+ TrackedResource
+} from "../models/mappers";
diff --git a/sdk/testbase/arm-testbase/src/models/testBaseAccountMappers.ts b/sdk/testbase/arm-testbase/src/models/testBaseAccountMappers.ts
new file mode 100644
index 000000000000..ee8b7d324039
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/models/testBaseAccountMappers.ts
@@ -0,0 +1,42 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ discriminators,
+ AnalysisResultSingletonResource,
+ AvailableOSResource,
+ BaseResource,
+ Command,
+ ErrorDefinition,
+ ErrorResponse,
+ FavoriteProcessResource,
+ FlightingRingResource,
+ OSUpdateResource,
+ OSUpdatesTestSummary,
+ OSUpdateTestSummary,
+ PackageResource,
+ PackageValidationResult,
+ ProxyResource,
+ Resource,
+ SystemData,
+ TargetOSInfo,
+ Test,
+ TestBaseAccountCreateHeaders,
+ TestBaseAccountDeleteHeaders,
+ TestBaseAccountOffboardHeaders,
+ TestBaseAccountResource,
+ TestBaseAccountSKU,
+ TestBaseAccountSKUCapability,
+ TestBaseAccountUpdateHeaders,
+ TestBaseAccountUpdateParameters,
+ TestResultAnalysisSummary,
+ TestResultResource,
+ TestSummaryResource,
+ TestTypeResource,
+ TrackedResource
+} from "../models/mappers";
diff --git a/sdk/testbase/arm-testbase/src/models/testBaseAccountTestTypeMappers.ts b/sdk/testbase/arm-testbase/src/models/testBaseAccountTestTypeMappers.ts
new file mode 100644
index 000000000000..cac5d649fab5
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/models/testBaseAccountTestTypeMappers.ts
@@ -0,0 +1,37 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ discriminators,
+ AnalysisResultSingletonResource,
+ AvailableOSResource,
+ BaseResource,
+ Command,
+ ErrorDefinition,
+ ErrorResponse,
+ FavoriteProcessResource,
+ FlightingRingResource,
+ OSUpdateResource,
+ OSUpdatesTestSummary,
+ OSUpdateTestSummary,
+ PackageResource,
+ PackageValidationResult,
+ ProxyResource,
+ Resource,
+ SystemData,
+ TargetOSInfo,
+ Test,
+ TestBaseAccountResource,
+ TestBaseAccountSKU,
+ TestBaseAccountSKUCapability,
+ TestResultAnalysisSummary,
+ TestResultResource,
+ TestSummaryResource,
+ TestTypeResource,
+ TrackedResource
+} from "../models/mappers";
diff --git a/sdk/testbase/arm-testbase/src/models/testBaseAccountTestTypesMappers.ts b/sdk/testbase/arm-testbase/src/models/testBaseAccountTestTypesMappers.ts
new file mode 100644
index 000000000000..abd117a4ae52
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/models/testBaseAccountTestTypesMappers.ts
@@ -0,0 +1,38 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ discriminators,
+ AnalysisResultSingletonResource,
+ AvailableOSResource,
+ BaseResource,
+ Command,
+ ErrorDefinition,
+ ErrorResponse,
+ FavoriteProcessResource,
+ FlightingRingResource,
+ OSUpdateResource,
+ OSUpdatesTestSummary,
+ OSUpdateTestSummary,
+ PackageResource,
+ PackageValidationResult,
+ ProxyResource,
+ Resource,
+ SystemData,
+ TargetOSInfo,
+ Test,
+ TestBaseAccountResource,
+ TestBaseAccountSKU,
+ TestBaseAccountSKUCapability,
+ TestResultAnalysisSummary,
+ TestResultResource,
+ TestSummaryResource,
+ TestTypeListResult,
+ TestTypeResource,
+ TrackedResource
+} from "../models/mappers";
diff --git a/sdk/testbase/arm-testbase/src/models/testBaseAccountUsageMappers.ts b/sdk/testbase/arm-testbase/src/models/testBaseAccountUsageMappers.ts
new file mode 100644
index 000000000000..d6996ddf17a0
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/models/testBaseAccountUsageMappers.ts
@@ -0,0 +1,16 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ discriminators,
+ ErrorDefinition,
+ ErrorResponse,
+ TestBaseAccountUsageData,
+ TestBaseAccountUsageDataList,
+ TestBaseAccountUsageName
+} from "../models/mappers";
diff --git a/sdk/testbase/arm-testbase/src/models/testBaseAccountsMappers.ts b/sdk/testbase/arm-testbase/src/models/testBaseAccountsMappers.ts
new file mode 100644
index 000000000000..4da29f338e3c
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/models/testBaseAccountsMappers.ts
@@ -0,0 +1,38 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ discriminators,
+ AnalysisResultSingletonResource,
+ AvailableOSResource,
+ BaseResource,
+ Command,
+ ErrorDefinition,
+ ErrorResponse,
+ FavoriteProcessResource,
+ FlightingRingResource,
+ OSUpdateResource,
+ OSUpdatesTestSummary,
+ OSUpdateTestSummary,
+ PackageResource,
+ PackageValidationResult,
+ ProxyResource,
+ Resource,
+ SystemData,
+ TargetOSInfo,
+ Test,
+ TestBaseAccountListResult,
+ TestBaseAccountResource,
+ TestBaseAccountSKU,
+ TestBaseAccountSKUCapability,
+ TestResultAnalysisSummary,
+ TestResultResource,
+ TestSummaryResource,
+ TestTypeResource,
+ TrackedResource
+} from "../models/mappers";
diff --git a/sdk/testbase/arm-testbase/src/models/testResultMappers.ts b/sdk/testbase/arm-testbase/src/models/testResultMappers.ts
new file mode 100644
index 000000000000..cac5d649fab5
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/models/testResultMappers.ts
@@ -0,0 +1,37 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ discriminators,
+ AnalysisResultSingletonResource,
+ AvailableOSResource,
+ BaseResource,
+ Command,
+ ErrorDefinition,
+ ErrorResponse,
+ FavoriteProcessResource,
+ FlightingRingResource,
+ OSUpdateResource,
+ OSUpdatesTestSummary,
+ OSUpdateTestSummary,
+ PackageResource,
+ PackageValidationResult,
+ ProxyResource,
+ Resource,
+ SystemData,
+ TargetOSInfo,
+ Test,
+ TestBaseAccountResource,
+ TestBaseAccountSKU,
+ TestBaseAccountSKUCapability,
+ TestResultAnalysisSummary,
+ TestResultResource,
+ TestSummaryResource,
+ TestTypeResource,
+ TrackedResource
+} from "../models/mappers";
diff --git a/sdk/testbase/arm-testbase/src/models/testResultsMappers.ts b/sdk/testbase/arm-testbase/src/models/testResultsMappers.ts
new file mode 100644
index 000000000000..99a0fb586726
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/models/testResultsMappers.ts
@@ -0,0 +1,38 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ discriminators,
+ AnalysisResultSingletonResource,
+ AvailableOSResource,
+ BaseResource,
+ Command,
+ ErrorDefinition,
+ ErrorResponse,
+ FavoriteProcessResource,
+ FlightingRingResource,
+ OSUpdateResource,
+ OSUpdatesTestSummary,
+ OSUpdateTestSummary,
+ PackageResource,
+ PackageValidationResult,
+ ProxyResource,
+ Resource,
+ SystemData,
+ TargetOSInfo,
+ Test,
+ TestBaseAccountResource,
+ TestBaseAccountSKU,
+ TestBaseAccountSKUCapability,
+ TestResultAnalysisSummary,
+ TestResultListResult,
+ TestResultResource,
+ TestSummaryResource,
+ TestTypeResource,
+ TrackedResource
+} from "../models/mappers";
diff --git a/sdk/testbase/arm-testbase/src/models/testSummariesMappers.ts b/sdk/testbase/arm-testbase/src/models/testSummariesMappers.ts
new file mode 100644
index 000000000000..b826556d6925
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/models/testSummariesMappers.ts
@@ -0,0 +1,38 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ discriminators,
+ AnalysisResultSingletonResource,
+ AvailableOSResource,
+ BaseResource,
+ Command,
+ ErrorDefinition,
+ ErrorResponse,
+ FavoriteProcessResource,
+ FlightingRingResource,
+ OSUpdateResource,
+ OSUpdatesTestSummary,
+ OSUpdateTestSummary,
+ PackageResource,
+ PackageValidationResult,
+ ProxyResource,
+ Resource,
+ SystemData,
+ TargetOSInfo,
+ Test,
+ TestBaseAccountResource,
+ TestBaseAccountSKU,
+ TestBaseAccountSKUCapability,
+ TestResultAnalysisSummary,
+ TestResultResource,
+ TestSummaryListResult,
+ TestSummaryResource,
+ TestTypeResource,
+ TrackedResource
+} from "../models/mappers";
diff --git a/sdk/testbase/arm-testbase/src/models/testSummaryMappers.ts b/sdk/testbase/arm-testbase/src/models/testSummaryMappers.ts
new file mode 100644
index 000000000000..cac5d649fab5
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/models/testSummaryMappers.ts
@@ -0,0 +1,37 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ discriminators,
+ AnalysisResultSingletonResource,
+ AvailableOSResource,
+ BaseResource,
+ Command,
+ ErrorDefinition,
+ ErrorResponse,
+ FavoriteProcessResource,
+ FlightingRingResource,
+ OSUpdateResource,
+ OSUpdatesTestSummary,
+ OSUpdateTestSummary,
+ PackageResource,
+ PackageValidationResult,
+ ProxyResource,
+ Resource,
+ SystemData,
+ TargetOSInfo,
+ Test,
+ TestBaseAccountResource,
+ TestBaseAccountSKU,
+ TestBaseAccountSKUCapability,
+ TestResultAnalysisSummary,
+ TestResultResource,
+ TestSummaryResource,
+ TestTypeResource,
+ TrackedResource
+} from "../models/mappers";
diff --git a/sdk/testbase/arm-testbase/src/operations/analysisResult.ts b/sdk/testbase/arm-testbase/src/operations/analysisResult.ts
new file mode 100644
index 000000000000..bd3ef1b4a7b5
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/operations/analysisResult.ts
@@ -0,0 +1,107 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/analysisResultMappers";
+import * as Parameters from "../models/parameters";
+import { RESTAPIforTestBaseContext } from "../rESTAPIforTestBaseContext";
+
+/** Class representing a AnalysisResult. */
+export class AnalysisResult {
+ private readonly client: RESTAPIforTestBaseContext;
+
+ /**
+ * Create a AnalysisResult.
+ * @param {RESTAPIforTestBaseContext} client Reference to the service client.
+ */
+ constructor(client: RESTAPIforTestBaseContext) {
+ this.client = client;
+ }
+
+ /**
+ * Gets an Analysis Result of a Test Result by name.
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param packageName The resource name of the Test Base Package.
+ * @param testResultName The Test Result Name. It equals to {osName}-{TestResultId} string.
+ * @param analysisResultName The name of the Analysis Result of a Test Result. Possible values
+ * include: 'scriptExecution', 'reliability', 'memoryUtilization', 'cpuUtilization',
+ * 'memoryRegression', 'cpuRegression'
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ get(resourceGroupName: string, testBaseAccountName: string, packageName: string, testResultName: string, analysisResultName: Models.AnalysisResultName, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param packageName The resource name of the Test Base Package.
+ * @param testResultName The Test Result Name. It equals to {osName}-{TestResultId} string.
+ * @param analysisResultName The name of the Analysis Result of a Test Result. Possible values
+ * include: 'scriptExecution', 'reliability', 'memoryUtilization', 'cpuUtilization',
+ * 'memoryRegression', 'cpuRegression'
+ * @param callback The callback
+ */
+ get(resourceGroupName: string, testBaseAccountName: string, packageName: string, testResultName: string, analysisResultName: Models.AnalysisResultName, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param packageName The resource name of the Test Base Package.
+ * @param testResultName The Test Result Name. It equals to {osName}-{TestResultId} string.
+ * @param analysisResultName The name of the Analysis Result of a Test Result. Possible values
+ * include: 'scriptExecution', 'reliability', 'memoryUtilization', 'cpuUtilization',
+ * 'memoryRegression', 'cpuRegression'
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ get(resourceGroupName: string, testBaseAccountName: string, packageName: string, testResultName: string, analysisResultName: Models.AnalysisResultName, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ get(resourceGroupName: string, testBaseAccountName: string, packageName: string, testResultName: string, analysisResultName: Models.AnalysisResultName, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ testBaseAccountName,
+ packageName,
+ testResultName,
+ analysisResultName,
+ options
+ },
+ getOperationSpec,
+ callback) as Promise;
+ }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const getOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/testResults/{testResultName}/analysisResults/{analysisResultName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.testBaseAccountName,
+ Parameters.packageName,
+ Parameters.testResultName,
+ Parameters.analysisResultName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.AnalysisResultSingletonResource
+ },
+ default: {
+ bodyMapper: Mappers.ErrorResponse
+ }
+ },
+ serializer
+};
diff --git a/sdk/testbase/arm-testbase/src/operations/analysisResults.ts b/sdk/testbase/arm-testbase/src/operations/analysisResults.ts
new file mode 100644
index 000000000000..5f5e3045df08
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/operations/analysisResults.ts
@@ -0,0 +1,108 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/analysisResultsMappers";
+import * as Parameters from "../models/parameters";
+import { RESTAPIforTestBaseContext } from "../rESTAPIforTestBaseContext";
+
+/** Class representing a AnalysisResults. */
+export class AnalysisResults {
+ private readonly client: RESTAPIforTestBaseContext;
+
+ /**
+ * Create a AnalysisResults.
+ * @param {RESTAPIforTestBaseContext} client Reference to the service client.
+ */
+ constructor(client: RESTAPIforTestBaseContext) {
+ this.client = client;
+ }
+
+ /**
+ * Lists the Analysis Results of a Test Result. The result collection will only contain one element
+ * as all the data will be nested in a singleton object.
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param packageName The resource name of the Test Base Package.
+ * @param testResultName The Test Result Name. It equals to {osName}-{TestResultId} string.
+ * @param analysisResultType The type of the Analysis Result of a Test Result. Possible values
+ * include: 'ScriptExecution', 'Reliability', 'MemoryUtilization', 'CPUUtilization',
+ * 'MemoryRegression', 'CPURegression'
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ list(resourceGroupName: string, testBaseAccountName: string, packageName: string, testResultName: string, analysisResultType: Models.AnalysisResultType, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param packageName The resource name of the Test Base Package.
+ * @param testResultName The Test Result Name. It equals to {osName}-{TestResultId} string.
+ * @param analysisResultType The type of the Analysis Result of a Test Result. Possible values
+ * include: 'ScriptExecution', 'Reliability', 'MemoryUtilization', 'CPUUtilization',
+ * 'MemoryRegression', 'CPURegression'
+ * @param callback The callback
+ */
+ list(resourceGroupName: string, testBaseAccountName: string, packageName: string, testResultName: string, analysisResultType: Models.AnalysisResultType, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param packageName The resource name of the Test Base Package.
+ * @param testResultName The Test Result Name. It equals to {osName}-{TestResultId} string.
+ * @param analysisResultType The type of the Analysis Result of a Test Result. Possible values
+ * include: 'ScriptExecution', 'Reliability', 'MemoryUtilization', 'CPUUtilization',
+ * 'MemoryRegression', 'CPURegression'
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ list(resourceGroupName: string, testBaseAccountName: string, packageName: string, testResultName: string, analysisResultType: Models.AnalysisResultType, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ list(resourceGroupName: string, testBaseAccountName: string, packageName: string, testResultName: string, analysisResultType: Models.AnalysisResultType, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ testBaseAccountName,
+ packageName,
+ testResultName,
+ analysisResultType,
+ options
+ },
+ listOperationSpec,
+ callback) as Promise;
+ }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const listOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/testResults/{testResultName}/analysisResults",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.testBaseAccountName,
+ Parameters.packageName,
+ Parameters.testResultName
+ ],
+ queryParameters: [
+ Parameters.analysisResultType,
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.AnalysisResultListResult
+ },
+ default: {
+ bodyMapper: Mappers.ErrorResponse
+ }
+ },
+ serializer
+};
diff --git a/sdk/testbase/arm-testbase/src/operations/favoriteProcess.ts b/sdk/testbase/arm-testbase/src/operations/favoriteProcess.ts
new file mode 100644
index 000000000000..bceec67301c2
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/operations/favoriteProcess.ts
@@ -0,0 +1,258 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/favoriteProcessMappers";
+import * as Parameters from "../models/parameters";
+import { RESTAPIforTestBaseContext } from "../rESTAPIforTestBaseContext";
+
+/** Class representing a FavoriteProcess. */
+export class FavoriteProcess {
+ private readonly client: RESTAPIforTestBaseContext;
+
+ /**
+ * Create a FavoriteProcess.
+ * @param {RESTAPIforTestBaseContext} client Reference to the service client.
+ */
+ constructor(client: RESTAPIforTestBaseContext) {
+ this.client = client;
+ }
+
+ /**
+ * Create or replace a favorite process for a Test Base Package.
+ * @param parameters Parameters supplied to create a favorite process in a package.
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param packageName The resource name of the Test Base Package.
+ * @param favoriteProcessResourceName The resource name of a favorite process in a package. If the
+ * process name contains characters that are not allowed in Azure Resource Name, we use
+ * 'actualProcessName' in request body to submit the name.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ create(parameters: Models.FavoriteProcessResource, resourceGroupName: string, testBaseAccountName: string, packageName: string, favoriteProcessResourceName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param parameters Parameters supplied to create a favorite process in a package.
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param packageName The resource name of the Test Base Package.
+ * @param favoriteProcessResourceName The resource name of a favorite process in a package. If the
+ * process name contains characters that are not allowed in Azure Resource Name, we use
+ * 'actualProcessName' in request body to submit the name.
+ * @param callback The callback
+ */
+ create(parameters: Models.FavoriteProcessResource, resourceGroupName: string, testBaseAccountName: string, packageName: string, favoriteProcessResourceName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param parameters Parameters supplied to create a favorite process in a package.
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param packageName The resource name of the Test Base Package.
+ * @param favoriteProcessResourceName The resource name of a favorite process in a package. If the
+ * process name contains characters that are not allowed in Azure Resource Name, we use
+ * 'actualProcessName' in request body to submit the name.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ create(parameters: Models.FavoriteProcessResource, resourceGroupName: string, testBaseAccountName: string, packageName: string, favoriteProcessResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ create(parameters: Models.FavoriteProcessResource, resourceGroupName: string, testBaseAccountName: string, packageName: string, favoriteProcessResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ parameters,
+ resourceGroupName,
+ testBaseAccountName,
+ packageName,
+ favoriteProcessResourceName,
+ options
+ },
+ createOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Deletes a favorite process for a specific package.
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param packageName The resource name of the Test Base Package.
+ * @param favoriteProcessResourceName The resource name of a favorite process in a package. If the
+ * process name contains characters that are not allowed in Azure Resource Name, we use
+ * 'actualProcessName' in request body to submit the name.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ deleteMethod(resourceGroupName: string, testBaseAccountName: string, packageName: string, favoriteProcessResourceName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param packageName The resource name of the Test Base Package.
+ * @param favoriteProcessResourceName The resource name of a favorite process in a package. If the
+ * process name contains characters that are not allowed in Azure Resource Name, we use
+ * 'actualProcessName' in request body to submit the name.
+ * @param callback The callback
+ */
+ deleteMethod(resourceGroupName: string, testBaseAccountName: string, packageName: string, favoriteProcessResourceName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param packageName The resource name of the Test Base Package.
+ * @param favoriteProcessResourceName The resource name of a favorite process in a package. If the
+ * process name contains characters that are not allowed in Azure Resource Name, we use
+ * 'actualProcessName' in request body to submit the name.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ deleteMethod(resourceGroupName: string, testBaseAccountName: string, packageName: string, favoriteProcessResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ deleteMethod(resourceGroupName: string, testBaseAccountName: string, packageName: string, favoriteProcessResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ testBaseAccountName,
+ packageName,
+ favoriteProcessResourceName,
+ options
+ },
+ deleteMethodOperationSpec,
+ callback);
+ }
+
+ /**
+ * Gets a favorite process for a Test Base Package.
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param packageName The resource name of the Test Base Package.
+ * @param favoriteProcessResourceName The resource name of a favorite process in a package. If the
+ * process name contains characters that are not allowed in Azure Resource Name, we use
+ * 'actualProcessName' in request body to submit the name.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ get(resourceGroupName: string, testBaseAccountName: string, packageName: string, favoriteProcessResourceName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param packageName The resource name of the Test Base Package.
+ * @param favoriteProcessResourceName The resource name of a favorite process in a package. If the
+ * process name contains characters that are not allowed in Azure Resource Name, we use
+ * 'actualProcessName' in request body to submit the name.
+ * @param callback The callback
+ */
+ get(resourceGroupName: string, testBaseAccountName: string, packageName: string, favoriteProcessResourceName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param packageName The resource name of the Test Base Package.
+ * @param favoriteProcessResourceName The resource name of a favorite process in a package. If the
+ * process name contains characters that are not allowed in Azure Resource Name, we use
+ * 'actualProcessName' in request body to submit the name.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ get(resourceGroupName: string, testBaseAccountName: string, packageName: string, favoriteProcessResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ get(resourceGroupName: string, testBaseAccountName: string, packageName: string, favoriteProcessResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ testBaseAccountName,
+ packageName,
+ favoriteProcessResourceName,
+ options
+ },
+ getOperationSpec,
+ callback) as Promise;
+ }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const createOperationSpec: msRest.OperationSpec = {
+ httpMethod: "PUT",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/favoriteProcesses/{favoriteProcessResourceName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.testBaseAccountName,
+ Parameters.packageName,
+ Parameters.favoriteProcessResourceName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "parameters",
+ mapper: {
+ ...Mappers.FavoriteProcessResource,
+ required: true
+ }
+ },
+ responses: {
+ 200: {
+ bodyMapper: Mappers.FavoriteProcessResource
+ },
+ default: {
+ bodyMapper: Mappers.ErrorResponse
+ }
+ },
+ serializer
+};
+
+const deleteMethodOperationSpec: msRest.OperationSpec = {
+ httpMethod: "DELETE",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/favoriteProcesses/{favoriteProcessResourceName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.testBaseAccountName,
+ Parameters.packageName,
+ Parameters.favoriteProcessResourceName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {},
+ 204: {},
+ default: {
+ bodyMapper: Mappers.ErrorResponse
+ }
+ },
+ serializer
+};
+
+const getOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/favoriteProcesses/{favoriteProcessResourceName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.testBaseAccountName,
+ Parameters.packageName,
+ Parameters.favoriteProcessResourceName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.FavoriteProcessResource
+ },
+ default: {
+ bodyMapper: Mappers.ErrorResponse
+ }
+ },
+ serializer
+};
diff --git a/sdk/testbase/arm-testbase/src/operations/favoriteProcesses.ts b/sdk/testbase/arm-testbase/src/operations/favoriteProcesses.ts
new file mode 100644
index 000000000000..b84a084e88e0
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/operations/favoriteProcesses.ts
@@ -0,0 +1,143 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/favoriteProcessesMappers";
+import * as Parameters from "../models/parameters";
+import { RESTAPIforTestBaseContext } from "../rESTAPIforTestBaseContext";
+
+/** Class representing a FavoriteProcesses. */
+export class FavoriteProcesses {
+ private readonly client: RESTAPIforTestBaseContext;
+
+ /**
+ * Create a FavoriteProcesses.
+ * @param {RESTAPIforTestBaseContext} client Reference to the service client.
+ */
+ constructor(client: RESTAPIforTestBaseContext) {
+ this.client = client;
+ }
+
+ /**
+ * Lists the favorite processes for a specific package.
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param packageName The resource name of the Test Base Package.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ list(resourceGroupName: string, testBaseAccountName: string, packageName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param packageName The resource name of the Test Base Package.
+ * @param callback The callback
+ */
+ list(resourceGroupName: string, testBaseAccountName: string, packageName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param packageName The resource name of the Test Base Package.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ list(resourceGroupName: string, testBaseAccountName: string, packageName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ list(resourceGroupName: string, testBaseAccountName: string, packageName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ testBaseAccountName,
+ packageName,
+ options
+ },
+ listOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Lists the favorite processes for a specific package.
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param callback The callback
+ */
+ listNext(nextPageLink: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ nextPageLink,
+ options
+ },
+ listNextOperationSpec,
+ callback) as Promise;
+ }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const listOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/favoriteProcesses",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.testBaseAccountName,
+ Parameters.packageName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.FavoriteProcessListResult
+ },
+ default: {
+ bodyMapper: Mappers.ErrorResponse
+ }
+ },
+ serializer
+};
+
+const listNextOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ Parameters.nextPageLink
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.FavoriteProcessListResult
+ },
+ default: {
+ bodyMapper: Mappers.ErrorResponse
+ }
+ },
+ serializer
+};
diff --git a/sdk/testbase/arm-testbase/src/operations/index.ts b/sdk/testbase/arm-testbase/src/operations/index.ts
new file mode 100644
index 000000000000..28071bbf57d9
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/operations/index.ts
@@ -0,0 +1,32 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+export * from "./sKUs";
+export * from "./testBaseAccounts";
+export * from "./testBaseAccount";
+export * from "./testBaseAccountUsage";
+export * from "./testBaseAccountAvailableOSs";
+export * from "./testBaseAccountAvailableOS";
+export * from "./testBaseAccountFlightingRings";
+export * from "./testBaseAccountFlightingRing";
+export * from "./testBaseAccountTestTypes";
+export * from "./testBaseAccountTestType";
+export * from "./packages";
+export * from "./packageModel";
+export * from "./testSummaries";
+export * from "./testSummary";
+export * from "./testResults";
+export * from "./testResult";
+export * from "./oSUpdates";
+export * from "./oSUpdate";
+export * from "./favoriteProcesses";
+export * from "./favoriteProcess";
+export * from "./analysisResults";
+export * from "./analysisResult";
+export * from "./operations";
diff --git a/sdk/testbase/arm-testbase/src/operations/oSUpdate.ts b/sdk/testbase/arm-testbase/src/operations/oSUpdate.ts
new file mode 100644
index 000000000000..64dec288a1fa
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/operations/oSUpdate.ts
@@ -0,0 +1,96 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/oSUpdateMappers";
+import * as Parameters from "../models/parameters";
+import { RESTAPIforTestBaseContext } from "../rESTAPIforTestBaseContext";
+
+/** Class representing a OSUpdate. */
+export class OSUpdate {
+ private readonly client: RESTAPIforTestBaseContext;
+
+ /**
+ * Create a OSUpdate.
+ * @param {RESTAPIforTestBaseContext} client Reference to the service client.
+ */
+ constructor(client: RESTAPIforTestBaseContext) {
+ this.client = client;
+ }
+
+ /**
+ * Gets an OS Update by name in which the package was tested before.
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param packageName The resource name of the Test Base Package.
+ * @param osUpdateResourceName The resource name of an OS Update.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ get(resourceGroupName: string, testBaseAccountName: string, packageName: string, osUpdateResourceName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param packageName The resource name of the Test Base Package.
+ * @param osUpdateResourceName The resource name of an OS Update.
+ * @param callback The callback
+ */
+ get(resourceGroupName: string, testBaseAccountName: string, packageName: string, osUpdateResourceName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param packageName The resource name of the Test Base Package.
+ * @param osUpdateResourceName The resource name of an OS Update.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ get(resourceGroupName: string, testBaseAccountName: string, packageName: string, osUpdateResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ get(resourceGroupName: string, testBaseAccountName: string, packageName: string, osUpdateResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ testBaseAccountName,
+ packageName,
+ osUpdateResourceName,
+ options
+ },
+ getOperationSpec,
+ callback) as Promise;
+ }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const getOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/osUpdates/{osUpdateResourceName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.testBaseAccountName,
+ Parameters.packageName,
+ Parameters.osUpdateResourceName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.OSUpdateResource
+ },
+ default: {
+ bodyMapper: Mappers.ErrorResponse
+ }
+ },
+ serializer
+};
diff --git a/sdk/testbase/arm-testbase/src/operations/oSUpdates.ts b/sdk/testbase/arm-testbase/src/operations/oSUpdates.ts
new file mode 100644
index 000000000000..a2cea78dbc73
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/operations/oSUpdates.ts
@@ -0,0 +1,159 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/oSUpdatesMappers";
+import * as Parameters from "../models/parameters";
+import { RESTAPIforTestBaseContext } from "../rESTAPIforTestBaseContext";
+
+/** Class representing a OSUpdates. */
+export class OSUpdates {
+ private readonly client: RESTAPIforTestBaseContext;
+
+ /**
+ * Create a OSUpdates.
+ * @param {RESTAPIforTestBaseContext} client Reference to the service client.
+ */
+ constructor(client: RESTAPIforTestBaseContext) {
+ this.client = client;
+ }
+
+ /**
+ * Lists the OS Updates in which the package were tested before.
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param packageName The resource name of the Test Base Package.
+ * @param osUpdateType The type of the OS Update. Possible values include: 'SecurityUpdate',
+ * 'FeatureUpdate'
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ list(resourceGroupName: string, testBaseAccountName: string, packageName: string, osUpdateType: Models.OsUpdateType, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param packageName The resource name of the Test Base Package.
+ * @param osUpdateType The type of the OS Update. Possible values include: 'SecurityUpdate',
+ * 'FeatureUpdate'
+ * @param callback The callback
+ */
+ list(resourceGroupName: string, testBaseAccountName: string, packageName: string, osUpdateType: Models.OsUpdateType, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param packageName The resource name of the Test Base Package.
+ * @param osUpdateType The type of the OS Update. Possible values include: 'SecurityUpdate',
+ * 'FeatureUpdate'
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ list(resourceGroupName: string, testBaseAccountName: string, packageName: string, osUpdateType: Models.OsUpdateType, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ list(resourceGroupName: string, testBaseAccountName: string, packageName: string, osUpdateType: Models.OsUpdateType, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ testBaseAccountName,
+ packageName,
+ osUpdateType,
+ options
+ },
+ listOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Lists the OS Updates in which the package were tested before.
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param osUpdateType The type of the OS Update. Possible values include: 'SecurityUpdate',
+ * 'FeatureUpdate'
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ listNext(nextPageLink: string, osUpdateType: Models.OsUpdateType, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param osUpdateType The type of the OS Update. Possible values include: 'SecurityUpdate',
+ * 'FeatureUpdate'
+ * @param callback The callback
+ */
+ listNext(nextPageLink: string, osUpdateType: Models.OsUpdateType, callback: msRest.ServiceCallback): void;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param osUpdateType The type of the OS Update. Possible values include: 'SecurityUpdate',
+ * 'FeatureUpdate'
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ listNext(nextPageLink: string, osUpdateType: Models.OsUpdateType, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ listNext(nextPageLink: string, osUpdateType: Models.OsUpdateType, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ nextPageLink,
+ osUpdateType,
+ options
+ },
+ listNextOperationSpec,
+ callback) as Promise;
+ }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const listOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/osUpdates",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.testBaseAccountName,
+ Parameters.packageName
+ ],
+ queryParameters: [
+ Parameters.osUpdateType,
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.OSUpdateListResult
+ },
+ default: {
+ bodyMapper: Mappers.ErrorResponse
+ }
+ },
+ serializer
+};
+
+const listNextOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ Parameters.nextPageLink
+ ],
+ queryParameters: [
+ Parameters.osUpdateType,
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.OSUpdateListResult
+ },
+ default: {
+ bodyMapper: Mappers.ErrorResponse
+ }
+ },
+ serializer
+};
diff --git a/sdk/testbase/arm-testbase/src/operations/operations.ts b/sdk/testbase/arm-testbase/src/operations/operations.ts
new file mode 100644
index 000000000000..e46568582bd4
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/operations/operations.ts
@@ -0,0 +1,125 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/operationsMappers";
+import * as Parameters from "../models/parameters";
+import { RESTAPIforTestBaseContext } from "../rESTAPIforTestBaseContext";
+
+/** Class representing a Operations. */
+export class Operations {
+ private readonly client: RESTAPIforTestBaseContext;
+
+ /**
+ * Create a Operations.
+ * @param {RESTAPIforTestBaseContext} client Reference to the service client.
+ */
+ constructor(client: RESTAPIforTestBaseContext) {
+ this.client = client;
+ }
+
+ /**
+ * Lists all of the available REST API operations of the Microsoft.TestBase provider.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ list(options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param callback The callback
+ */
+ list(callback: msRest.ServiceCallback): void;
+ /**
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ options
+ },
+ listOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Lists all of the available REST API operations of the Microsoft.TestBase provider.
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param callback The callback
+ */
+ listNext(nextPageLink: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ nextPageLink,
+ options
+ },
+ listNextOperationSpec,
+ callback) as Promise;
+ }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const listOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "providers/Microsoft.TestBase/operations",
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.OperationListResult
+ },
+ default: {
+ bodyMapper: Mappers.ErrorResponse
+ }
+ },
+ serializer
+};
+
+const listNextOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ Parameters.nextPageLink
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.OperationListResult
+ },
+ default: {
+ bodyMapper: Mappers.ErrorResponse
+ }
+ },
+ serializer
+};
diff --git a/sdk/testbase/arm-testbase/src/operations/packageModel.ts b/sdk/testbase/arm-testbase/src/operations/packageModel.ts
new file mode 100644
index 000000000000..038648d808b4
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/operations/packageModel.ts
@@ -0,0 +1,376 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as msRestAzure from "@azure/ms-rest-azure-js";
+import * as Models from "../models";
+import * as Mappers from "../models/packageModelMappers";
+import * as Parameters from "../models/parameters";
+import { RESTAPIforTestBaseContext } from "../rESTAPIforTestBaseContext";
+
+/** Class representing a PackageModel. */
+export class PackageModel {
+ private readonly client: RESTAPIforTestBaseContext;
+
+ /**
+ * Create a PackageModel.
+ * @param {RESTAPIforTestBaseContext} client Reference to the service client.
+ */
+ constructor(client: RESTAPIforTestBaseContext) {
+ this.client = client;
+ }
+
+ /**
+ * Create or replace (overwrite/recreate, with potential downtime) a Test Base Package.
+ * @param parameters Parameters supplied to create a Test Base Package.
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param packageName The resource name of the Test Base Package.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ create(parameters: Models.PackageResource, resourceGroupName: string, testBaseAccountName: string, packageName: string, options?: msRest.RequestOptionsBase): Promise {
+ return this.beginCreate(parameters,resourceGroupName,testBaseAccountName,packageName,options)
+ .then(lroPoller => lroPoller.pollUntilFinished()) as Promise;
+ }
+
+ /**
+ * Update an existing Test Base Package.
+ * @param parameters Parameters supplied to update a Test Base Package.
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param packageName The resource name of the Test Base Package.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ update(parameters: Models.PackageUpdateParameters, resourceGroupName: string, testBaseAccountName: string, packageName: string, options?: msRest.RequestOptionsBase): Promise {
+ return this.beginUpdate(parameters,resourceGroupName,testBaseAccountName,packageName,options)
+ .then(lroPoller => lroPoller.pollUntilFinished()) as Promise;
+ }
+
+ /**
+ * Deletes a Test Base Package.
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param packageName The resource name of the Test Base Package.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ deleteMethod(resourceGroupName: string, testBaseAccountName: string, packageName: string, options?: msRest.RequestOptionsBase): Promise {
+ return this.beginDeleteMethod(resourceGroupName,testBaseAccountName,packageName,options)
+ .then(lroPoller => lroPoller.pollUntilFinished()) as Promise;
+ }
+
+ /**
+ * Gets a Test Base Package.
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param packageName The resource name of the Test Base Package.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ get(resourceGroupName: string, testBaseAccountName: string, packageName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param packageName The resource name of the Test Base Package.
+ * @param callback The callback
+ */
+ get(resourceGroupName: string, testBaseAccountName: string, packageName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param packageName The resource name of the Test Base Package.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ get(resourceGroupName: string, testBaseAccountName: string, packageName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ get(resourceGroupName: string, testBaseAccountName: string, packageName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ testBaseAccountName,
+ packageName,
+ options
+ },
+ getOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Hard Delete a Test Base Package.
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param packageName The resource name of the Test Base Package.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ hardDelete(resourceGroupName: string, testBaseAccountName: string, packageName: string, options?: msRest.RequestOptionsBase): Promise {
+ return this.beginHardDelete(resourceGroupName,testBaseAccountName,packageName,options)
+ .then(lroPoller => lroPoller.pollUntilFinished()) as Promise;
+ }
+
+ /**
+ * Create or replace (overwrite/recreate, with potential downtime) a Test Base Package.
+ * @param parameters Parameters supplied to create a Test Base Package.
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param packageName The resource name of the Test Base Package.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ beginCreate(parameters: Models.PackageResource, resourceGroupName: string, testBaseAccountName: string, packageName: string, options?: msRest.RequestOptionsBase): Promise {
+ return this.client.sendLRORequest(
+ {
+ parameters,
+ resourceGroupName,
+ testBaseAccountName,
+ packageName,
+ options
+ },
+ beginCreateOperationSpec,
+ options);
+ }
+
+ /**
+ * Update an existing Test Base Package.
+ * @param parameters Parameters supplied to update a Test Base Package.
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param packageName The resource name of the Test Base Package.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ beginUpdate(parameters: Models.PackageUpdateParameters, resourceGroupName: string, testBaseAccountName: string, packageName: string, options?: msRest.RequestOptionsBase): Promise {
+ return this.client.sendLRORequest(
+ {
+ parameters,
+ resourceGroupName,
+ testBaseAccountName,
+ packageName,
+ options
+ },
+ beginUpdateOperationSpec,
+ options);
+ }
+
+ /**
+ * Deletes a Test Base Package.
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param packageName The resource name of the Test Base Package.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ beginDeleteMethod(resourceGroupName: string, testBaseAccountName: string, packageName: string, options?: msRest.RequestOptionsBase): Promise {
+ return this.client.sendLRORequest(
+ {
+ resourceGroupName,
+ testBaseAccountName,
+ packageName,
+ options
+ },
+ beginDeleteMethodOperationSpec,
+ options);
+ }
+
+ /**
+ * Hard Delete a Test Base Package.
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param packageName The resource name of the Test Base Package.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ beginHardDelete(resourceGroupName: string, testBaseAccountName: string, packageName: string, options?: msRest.RequestOptionsBase): Promise {
+ return this.client.sendLRORequest(
+ {
+ resourceGroupName,
+ testBaseAccountName,
+ packageName,
+ options
+ },
+ beginHardDeleteOperationSpec,
+ options);
+ }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const getOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.testBaseAccountName,
+ Parameters.packageName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.PackageResource
+ },
+ default: {
+ bodyMapper: Mappers.ErrorResponse
+ }
+ },
+ serializer
+};
+
+const beginCreateOperationSpec: msRest.OperationSpec = {
+ httpMethod: "PUT",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.testBaseAccountName,
+ Parameters.packageName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "parameters",
+ mapper: {
+ ...Mappers.PackageResource,
+ required: true
+ }
+ },
+ responses: {
+ 200: {
+ bodyMapper: Mappers.PackageResource,
+ headersMapper: Mappers.PackageCreateHeaders
+ },
+ 201: {
+ bodyMapper: Mappers.PackageResource,
+ headersMapper: Mappers.PackageCreateHeaders
+ },
+ default: {
+ bodyMapper: Mappers.ErrorResponse,
+ headersMapper: Mappers.PackageCreateHeaders
+ }
+ },
+ serializer
+};
+
+const beginUpdateOperationSpec: msRest.OperationSpec = {
+ httpMethod: "PATCH",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.testBaseAccountName,
+ Parameters.packageName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "parameters",
+ mapper: {
+ ...Mappers.PackageUpdateParameters,
+ required: true
+ }
+ },
+ responses: {
+ 200: {
+ bodyMapper: Mappers.PackageResource,
+ headersMapper: Mappers.PackageUpdateHeaders
+ },
+ 201: {
+ headersMapper: Mappers.PackageUpdateHeaders
+ },
+ 202: {
+ headersMapper: Mappers.PackageUpdateHeaders
+ },
+ default: {
+ bodyMapper: Mappers.ErrorResponse,
+ headersMapper: Mappers.PackageUpdateHeaders
+ }
+ },
+ serializer
+};
+
+const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
+ httpMethod: "DELETE",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.testBaseAccountName,
+ Parameters.packageName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ headersMapper: Mappers.PackageDeleteHeaders
+ },
+ 202: {
+ headersMapper: Mappers.PackageDeleteHeaders
+ },
+ 204: {
+ headersMapper: Mappers.PackageDeleteHeaders
+ },
+ default: {
+ bodyMapper: Mappers.ErrorResponse,
+ headersMapper: Mappers.PackageDeleteHeaders
+ }
+ },
+ serializer
+};
+
+const beginHardDeleteOperationSpec: msRest.OperationSpec = {
+ httpMethod: "POST",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/hardDelete",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.testBaseAccountName,
+ Parameters.packageName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ headersMapper: Mappers.PackageHardDeleteHeaders
+ },
+ 202: {
+ headersMapper: Mappers.PackageHardDeleteHeaders
+ },
+ 204: {
+ headersMapper: Mappers.PackageHardDeleteHeaders
+ },
+ default: {
+ bodyMapper: Mappers.ErrorResponse,
+ headersMapper: Mappers.PackageHardDeleteHeaders
+ }
+ },
+ serializer
+};
diff --git a/sdk/testbase/arm-testbase/src/operations/packages.ts b/sdk/testbase/arm-testbase/src/operations/packages.ts
new file mode 100644
index 000000000000..55381b057ad0
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/operations/packages.ts
@@ -0,0 +1,138 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/packagesMappers";
+import * as Parameters from "../models/parameters";
+import { RESTAPIforTestBaseContext } from "../rESTAPIforTestBaseContext";
+
+/** Class representing a Packages. */
+export class Packages {
+ private readonly client: RESTAPIforTestBaseContext;
+
+ /**
+ * Create a Packages.
+ * @param {RESTAPIforTestBaseContext} client Reference to the service client.
+ */
+ constructor(client: RESTAPIforTestBaseContext) {
+ this.client = client;
+ }
+
+ /**
+ * Lists all the packages under a Test Base Account.
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ listByTestBaseAccount(resourceGroupName: string, testBaseAccountName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param callback The callback
+ */
+ listByTestBaseAccount(resourceGroupName: string, testBaseAccountName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ listByTestBaseAccount(resourceGroupName: string, testBaseAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ listByTestBaseAccount(resourceGroupName: string, testBaseAccountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ testBaseAccountName,
+ options
+ },
+ listByTestBaseAccountOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Lists all the packages under a Test Base Account.
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ listByTestBaseAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param callback The callback
+ */
+ listByTestBaseAccountNext(nextPageLink: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ listByTestBaseAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ listByTestBaseAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ nextPageLink,
+ options
+ },
+ listByTestBaseAccountNextOperationSpec,
+ callback) as Promise;
+ }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const listByTestBaseAccountOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.testBaseAccountName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.PackageListResult
+ },
+ default: {
+ bodyMapper: Mappers.ErrorResponse
+ }
+ },
+ serializer
+};
+
+const listByTestBaseAccountNextOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ Parameters.nextPageLink
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.PackageListResult
+ },
+ default: {
+ bodyMapper: Mappers.ErrorResponse
+ }
+ },
+ serializer
+};
diff --git a/sdk/testbase/arm-testbase/src/operations/sKUs.ts b/sdk/testbase/arm-testbase/src/operations/sKUs.ts
new file mode 100644
index 000000000000..b42a988fdf85
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/operations/sKUs.ts
@@ -0,0 +1,128 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/sKUsMappers";
+import * as Parameters from "../models/parameters";
+import { RESTAPIforTestBaseContext } from "../rESTAPIforTestBaseContext";
+
+/** Class representing a SKUs. */
+export class SKUs {
+ private readonly client: RESTAPIforTestBaseContext;
+
+ /**
+ * Create a SKUs.
+ * @param {RESTAPIforTestBaseContext} client Reference to the service client.
+ */
+ constructor(client: RESTAPIforTestBaseContext) {
+ this.client = client;
+ }
+
+ /**
+ * Lists the available SKUs of Test Base Account in a subscription.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ list(options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param callback The callback
+ */
+ list(callback: msRest.ServiceCallback): void;
+ /**
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ options
+ },
+ listOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Lists the available SKUs of Test Base Account in a subscription.
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param callback The callback
+ */
+ listNext(nextPageLink: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ nextPageLink,
+ options
+ },
+ listNextOperationSpec,
+ callback) as Promise;
+ }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const listOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/providers/Microsoft.TestBase/skus",
+ urlParameters: [
+ Parameters.subscriptionId
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.TestBaseAccountSKUListResult
+ },
+ default: {
+ bodyMapper: Mappers.ErrorResponse
+ }
+ },
+ serializer
+};
+
+const listNextOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ Parameters.nextPageLink
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.TestBaseAccountSKUListResult
+ },
+ default: {
+ bodyMapper: Mappers.ErrorResponse
+ }
+ },
+ serializer
+};
diff --git a/sdk/testbase/arm-testbase/src/operations/testBaseAccount.ts b/sdk/testbase/arm-testbase/src/operations/testBaseAccount.ts
new file mode 100644
index 000000000000..64751464bfe1
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/operations/testBaseAccount.ts
@@ -0,0 +1,358 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as msRestAzure from "@azure/ms-rest-azure-js";
+import * as Models from "../models";
+import * as Mappers from "../models/testBaseAccountMappers";
+import * as Parameters from "../models/parameters";
+import { RESTAPIforTestBaseContext } from "../rESTAPIforTestBaseContext";
+
+/** Class representing a TestBaseAccount. */
+export class TestBaseAccount {
+ private readonly client: RESTAPIforTestBaseContext;
+
+ /**
+ * Create a TestBaseAccount.
+ * @param {RESTAPIforTestBaseContext} client Reference to the service client.
+ */
+ constructor(client: RESTAPIforTestBaseContext) {
+ this.client = client;
+ }
+
+ /**
+ * Create or replace (overwrite/recreate, with potential downtime) a Test Base Account in the
+ * specified subscription.
+ * @param parameters Parameters supplied to create a Test Base Account.
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ create(parameters: Models.TestBaseAccountResource, resourceGroupName: string, testBaseAccountName: string, options?: Models.TestBaseAccountCreateOptionalParams): Promise {
+ return this.beginCreate(parameters,resourceGroupName,testBaseAccountName,options)
+ .then(lroPoller => lroPoller.pollUntilFinished()) as Promise;
+ }
+
+ /**
+ * Update an existing Test Base Account.
+ * @param parameters Parameters supplied to update a Test Base Account.
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ update(parameters: Models.TestBaseAccountUpdateParameters, resourceGroupName: string, testBaseAccountName: string, options?: msRest.RequestOptionsBase): Promise {
+ return this.beginUpdate(parameters,resourceGroupName,testBaseAccountName,options)
+ .then(lroPoller => lroPoller.pollUntilFinished()) as Promise;
+ }
+
+ /**
+ * Deletes a Test Base Account.
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ deleteMethod(resourceGroupName: string, testBaseAccountName: string, options?: msRest.RequestOptionsBase): Promise {
+ return this.beginDeleteMethod(resourceGroupName,testBaseAccountName,options)
+ .then(lroPoller => lroPoller.pollUntilFinished()) as Promise;
+ }
+
+ /**
+ * Gets a Test Base Account.
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ get(resourceGroupName: string, testBaseAccountName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param callback The callback
+ */
+ get(resourceGroupName: string, testBaseAccountName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ get(resourceGroupName: string, testBaseAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ get(resourceGroupName: string, testBaseAccountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ testBaseAccountName,
+ options
+ },
+ getOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Offboard a Test Base Account.
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ offboard(resourceGroupName: string, testBaseAccountName: string, options?: msRest.RequestOptionsBase): Promise {
+ return this.beginOffboard(resourceGroupName,testBaseAccountName,options)
+ .then(lroPoller => lroPoller.pollUntilFinished()) as Promise;
+ }
+
+ /**
+ * Create or replace (overwrite/recreate, with potential downtime) a Test Base Account in the
+ * specified subscription.
+ * @param parameters Parameters supplied to create a Test Base Account.
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ beginCreate(parameters: Models.TestBaseAccountResource, resourceGroupName: string, testBaseAccountName: string, options?: Models.TestBaseAccountBeginCreateOptionalParams): Promise {
+ return this.client.sendLRORequest(
+ {
+ parameters,
+ resourceGroupName,
+ testBaseAccountName,
+ options
+ },
+ beginCreateOperationSpec,
+ options);
+ }
+
+ /**
+ * Update an existing Test Base Account.
+ * @param parameters Parameters supplied to update a Test Base Account.
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ beginUpdate(parameters: Models.TestBaseAccountUpdateParameters, resourceGroupName: string, testBaseAccountName: string, options?: msRest.RequestOptionsBase): Promise {
+ return this.client.sendLRORequest(
+ {
+ parameters,
+ resourceGroupName,
+ testBaseAccountName,
+ options
+ },
+ beginUpdateOperationSpec,
+ options);
+ }
+
+ /**
+ * Deletes a Test Base Account.
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ beginDeleteMethod(resourceGroupName: string, testBaseAccountName: string, options?: msRest.RequestOptionsBase): Promise {
+ return this.client.sendLRORequest(
+ {
+ resourceGroupName,
+ testBaseAccountName,
+ options
+ },
+ beginDeleteMethodOperationSpec,
+ options);
+ }
+
+ /**
+ * Offboard a Test Base Account.
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ beginOffboard(resourceGroupName: string, testBaseAccountName: string, options?: msRest.RequestOptionsBase): Promise {
+ return this.client.sendLRORequest(
+ {
+ resourceGroupName,
+ testBaseAccountName,
+ options
+ },
+ beginOffboardOperationSpec,
+ options);
+ }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const getOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.testBaseAccountName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.TestBaseAccountResource
+ },
+ default: {
+ bodyMapper: Mappers.ErrorResponse
+ }
+ },
+ serializer
+};
+
+const beginCreateOperationSpec: msRest.OperationSpec = {
+ httpMethod: "PUT",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.testBaseAccountName
+ ],
+ queryParameters: [
+ Parameters.restore,
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "parameters",
+ mapper: {
+ ...Mappers.TestBaseAccountResource,
+ required: true
+ }
+ },
+ responses: {
+ 200: {
+ bodyMapper: Mappers.TestBaseAccountResource,
+ headersMapper: Mappers.TestBaseAccountCreateHeaders
+ },
+ 201: {
+ bodyMapper: Mappers.TestBaseAccountResource,
+ headersMapper: Mappers.TestBaseAccountCreateHeaders
+ },
+ default: {
+ bodyMapper: Mappers.ErrorResponse,
+ headersMapper: Mappers.TestBaseAccountCreateHeaders
+ }
+ },
+ serializer
+};
+
+const beginUpdateOperationSpec: msRest.OperationSpec = {
+ httpMethod: "PATCH",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.testBaseAccountName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "parameters",
+ mapper: {
+ ...Mappers.TestBaseAccountUpdateParameters,
+ required: true
+ }
+ },
+ responses: {
+ 200: {
+ bodyMapper: Mappers.TestBaseAccountResource,
+ headersMapper: Mappers.TestBaseAccountUpdateHeaders
+ },
+ 201: {
+ headersMapper: Mappers.TestBaseAccountUpdateHeaders
+ },
+ 202: {
+ headersMapper: Mappers.TestBaseAccountUpdateHeaders
+ },
+ default: {
+ bodyMapper: Mappers.ErrorResponse,
+ headersMapper: Mappers.TestBaseAccountUpdateHeaders
+ }
+ },
+ serializer
+};
+
+const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
+ httpMethod: "DELETE",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.testBaseAccountName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ headersMapper: Mappers.TestBaseAccountDeleteHeaders
+ },
+ 202: {
+ headersMapper: Mappers.TestBaseAccountDeleteHeaders
+ },
+ 204: {
+ headersMapper: Mappers.TestBaseAccountDeleteHeaders
+ },
+ default: {
+ bodyMapper: Mappers.ErrorResponse,
+ headersMapper: Mappers.TestBaseAccountDeleteHeaders
+ }
+ },
+ serializer
+};
+
+const beginOffboardOperationSpec: msRest.OperationSpec = {
+ httpMethod: "POST",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/offboard",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.testBaseAccountName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ headersMapper: Mappers.TestBaseAccountOffboardHeaders
+ },
+ 202: {
+ headersMapper: Mappers.TestBaseAccountOffboardHeaders
+ },
+ 204: {
+ headersMapper: Mappers.TestBaseAccountOffboardHeaders
+ },
+ default: {
+ bodyMapper: Mappers.ErrorResponse,
+ headersMapper: Mappers.TestBaseAccountOffboardHeaders
+ }
+ },
+ serializer
+};
diff --git a/sdk/testbase/arm-testbase/src/operations/testBaseAccountAvailableOS.ts b/sdk/testbase/arm-testbase/src/operations/testBaseAccountAvailableOS.ts
new file mode 100644
index 000000000000..81be3e21caec
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/operations/testBaseAccountAvailableOS.ts
@@ -0,0 +1,91 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/testBaseAccountAvailableOSMappers";
+import * as Parameters from "../models/parameters";
+import { RESTAPIforTestBaseContext } from "../rESTAPIforTestBaseContext";
+
+/** Class representing a TestBaseAccountAvailableOS. */
+export class TestBaseAccountAvailableOS {
+ private readonly client: RESTAPIforTestBaseContext;
+
+ /**
+ * Create a TestBaseAccountAvailableOS.
+ * @param {RESTAPIforTestBaseContext} client Reference to the service client.
+ */
+ constructor(client: RESTAPIforTestBaseContext) {
+ this.client = client;
+ }
+
+ /**
+ * Gets an available OS to run a package under a Test Base Account.
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param availableOSResourceName The resource name of an Available OS.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ get(resourceGroupName: string, testBaseAccountName: string, availableOSResourceName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param availableOSResourceName The resource name of an Available OS.
+ * @param callback The callback
+ */
+ get(resourceGroupName: string, testBaseAccountName: string, availableOSResourceName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param availableOSResourceName The resource name of an Available OS.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ get(resourceGroupName: string, testBaseAccountName: string, availableOSResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ get(resourceGroupName: string, testBaseAccountName: string, availableOSResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ testBaseAccountName,
+ availableOSResourceName,
+ options
+ },
+ getOperationSpec,
+ callback) as Promise;
+ }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const getOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/availableOSs/{availableOSResourceName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.testBaseAccountName,
+ Parameters.availableOSResourceName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.AvailableOSResource
+ },
+ default: {
+ bodyMapper: Mappers.ErrorResponse
+ }
+ },
+ serializer
+};
diff --git a/sdk/testbase/arm-testbase/src/operations/testBaseAccountAvailableOSs.ts b/sdk/testbase/arm-testbase/src/operations/testBaseAccountAvailableOSs.ts
new file mode 100644
index 000000000000..b4a381c1a4fd
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/operations/testBaseAccountAvailableOSs.ts
@@ -0,0 +1,154 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/testBaseAccountAvailableOSsMappers";
+import * as Parameters from "../models/parameters";
+import { RESTAPIforTestBaseContext } from "../rESTAPIforTestBaseContext";
+
+/** Class representing a TestBaseAccountAvailableOSs. */
+export class TestBaseAccountAvailableOSs {
+ private readonly client: RESTAPIforTestBaseContext;
+
+ /**
+ * Create a TestBaseAccountAvailableOSs.
+ * @param {RESTAPIforTestBaseContext} client Reference to the service client.
+ */
+ constructor(client: RESTAPIforTestBaseContext) {
+ this.client = client;
+ }
+
+ /**
+ * Lists all the available OSs to run a package under a Test Base Account.
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param osUpdateType The type of the OS Update. Possible values include: 'SecurityUpdate',
+ * 'FeatureUpdate'
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ list(resourceGroupName: string, testBaseAccountName: string, osUpdateType: Models.OsUpdateType, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param osUpdateType The type of the OS Update. Possible values include: 'SecurityUpdate',
+ * 'FeatureUpdate'
+ * @param callback The callback
+ */
+ list(resourceGroupName: string, testBaseAccountName: string, osUpdateType: Models.OsUpdateType, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param osUpdateType The type of the OS Update. Possible values include: 'SecurityUpdate',
+ * 'FeatureUpdate'
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ list(resourceGroupName: string, testBaseAccountName: string, osUpdateType: Models.OsUpdateType, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ list(resourceGroupName: string, testBaseAccountName: string, osUpdateType: Models.OsUpdateType, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ testBaseAccountName,
+ osUpdateType,
+ options
+ },
+ listOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Lists all the available OSs to run a package under a Test Base Account.
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param osUpdateType The type of the OS Update. Possible values include: 'SecurityUpdate',
+ * 'FeatureUpdate'
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ listNext(nextPageLink: string, osUpdateType: Models.OsUpdateType, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param osUpdateType The type of the OS Update. Possible values include: 'SecurityUpdate',
+ * 'FeatureUpdate'
+ * @param callback The callback
+ */
+ listNext(nextPageLink: string, osUpdateType: Models.OsUpdateType, callback: msRest.ServiceCallback): void;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param osUpdateType The type of the OS Update. Possible values include: 'SecurityUpdate',
+ * 'FeatureUpdate'
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ listNext(nextPageLink: string, osUpdateType: Models.OsUpdateType, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ listNext(nextPageLink: string, osUpdateType: Models.OsUpdateType, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ nextPageLink,
+ osUpdateType,
+ options
+ },
+ listNextOperationSpec,
+ callback) as Promise;
+ }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const listOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/availableOSs",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.testBaseAccountName
+ ],
+ queryParameters: [
+ Parameters.osUpdateType,
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.AvailableOSListResult
+ },
+ default: {
+ bodyMapper: Mappers.ErrorResponse
+ }
+ },
+ serializer
+};
+
+const listNextOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ Parameters.nextPageLink
+ ],
+ queryParameters: [
+ Parameters.osUpdateType,
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.AvailableOSListResult
+ },
+ default: {
+ bodyMapper: Mappers.ErrorResponse
+ }
+ },
+ serializer
+};
diff --git a/sdk/testbase/arm-testbase/src/operations/testBaseAccountFlightingRing.ts b/sdk/testbase/arm-testbase/src/operations/testBaseAccountFlightingRing.ts
new file mode 100644
index 000000000000..afe37698d5bb
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/operations/testBaseAccountFlightingRing.ts
@@ -0,0 +1,91 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/testBaseAccountFlightingRingMappers";
+import * as Parameters from "../models/parameters";
+import { RESTAPIforTestBaseContext } from "../rESTAPIforTestBaseContext";
+
+/** Class representing a TestBaseAccountFlightingRing. */
+export class TestBaseAccountFlightingRing {
+ private readonly client: RESTAPIforTestBaseContext;
+
+ /**
+ * Create a TestBaseAccountFlightingRing.
+ * @param {RESTAPIforTestBaseContext} client Reference to the service client.
+ */
+ constructor(client: RESTAPIforTestBaseContext) {
+ this.client = client;
+ }
+
+ /**
+ * Gets a flighting ring of a Test Base Account.
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param flightingRingResourceName The resource name of a flighting ring.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ get(resourceGroupName: string, testBaseAccountName: string, flightingRingResourceName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param flightingRingResourceName The resource name of a flighting ring.
+ * @param callback The callback
+ */
+ get(resourceGroupName: string, testBaseAccountName: string, flightingRingResourceName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param flightingRingResourceName The resource name of a flighting ring.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ get(resourceGroupName: string, testBaseAccountName: string, flightingRingResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ get(resourceGroupName: string, testBaseAccountName: string, flightingRingResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ testBaseAccountName,
+ flightingRingResourceName,
+ options
+ },
+ getOperationSpec,
+ callback) as Promise;
+ }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const getOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/flightingRings/{flightingRingResourceName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.testBaseAccountName,
+ Parameters.flightingRingResourceName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.FlightingRingResource
+ },
+ default: {
+ bodyMapper: Mappers.ErrorResponse
+ }
+ },
+ serializer
+};
diff --git a/sdk/testbase/arm-testbase/src/operations/testBaseAccountFlightingRings.ts b/sdk/testbase/arm-testbase/src/operations/testBaseAccountFlightingRings.ts
new file mode 100644
index 000000000000..eae27024800b
--- /dev/null
+++ b/sdk/testbase/arm-testbase/src/operations/testBaseAccountFlightingRings.ts
@@ -0,0 +1,138 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/testBaseAccountFlightingRingsMappers";
+import * as Parameters from "../models/parameters";
+import { RESTAPIforTestBaseContext } from "../rESTAPIforTestBaseContext";
+
+/** Class representing a TestBaseAccountFlightingRings. */
+export class TestBaseAccountFlightingRings {
+ private readonly client: RESTAPIforTestBaseContext;
+
+ /**
+ * Create a TestBaseAccountFlightingRings.
+ * @param {RESTAPIforTestBaseContext} client Reference to the service client.
+ */
+ constructor(client: RESTAPIforTestBaseContext) {
+ this.client = client;
+ }
+
+ /**
+ * Lists all the flighting rings of a Test Base Account.
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ list(resourceGroupName: string, testBaseAccountName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param callback The callback
+ */
+ list(resourceGroupName: string, testBaseAccountName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the resource.
+ * @param testBaseAccountName The resource name of the Test Base Account.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ list(resourceGroupName: string, testBaseAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ list(resourceGroupName: string, testBaseAccountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ testBaseAccountName,
+ options
+ },
+ listOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Lists all the flighting rings of a Test Base Account.
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param callback The callback
+ */
+ listNext(nextPageLink: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback