diff --git a/sdk/machinelearningservices/arm-machinelearningservices/LICENSE.txt b/sdk/machinelearningservices/arm-machinelearningservices/LICENSE.txt index a70e8cf66038..b73b4a1293c3 100644 --- a/sdk/machinelearningservices/arm-machinelearningservices/LICENSE.txt +++ b/sdk/machinelearningservices/arm-machinelearningservices/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2018 Microsoft +Copyright (c) 2019 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 diff --git a/sdk/machinelearningservices/arm-machinelearningservices/README.md b/sdk/machinelearningservices/arm-machinelearningservices/README.md index c19b471b053e..4cd9b7edaddb 100644 --- a/sdk/machinelearningservices/arm-machinelearningservices/README.md +++ b/sdk/machinelearningservices/arm-machinelearningservices/README.md @@ -9,7 +9,7 @@ This package contains an isomorphic SDK for AzureMachineLearningWorkspaces. ### How to Install -``` +```bash npm install @azure/arm-machinelearningservices ``` @@ -19,13 +19,13 @@ npm install @azure/arm-machinelearningservices ##### Install @azure/ms-rest-nodeauth -``` +```bash npm install @azure/ms-rest-nodeauth ``` ##### Sample code -```ts +```typescript import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; @@ -47,7 +47,7 @@ msRestNodeAuth.interactiveLogin().then((creds) => { ##### Install @azure/ms-rest-browserauth -``` +```bash npm install @azure/ms-rest-browserauth ``` @@ -94,6 +94,3 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to ## Related projects - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/machinelearningservices/arm-machinelearningservices/README.png) diff --git a/sdk/machinelearningservices/arm-machinelearningservices/package.json b/sdk/machinelearningservices/arm-machinelearningservices/package.json index 62f21af0210a..330244761ec2 100644 --- a/sdk/machinelearningservices/arm-machinelearningservices/package.json +++ b/sdk/machinelearningservices/arm-machinelearningservices/package.json @@ -4,8 +4,8 @@ "description": "AzureMachineLearningWorkspaces Library with typescript type definitions for node.js and browser.", "version": "2.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "@azure/ms-rest-azure-js": "^1.3.2", + "@azure/ms-rest-js": "^1.8.1", "tslib": "^1.9.3" }, "keywords": [ @@ -23,9 +23,10 @@ "typescript": "^3.1.1", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", + "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/machinelearningservices/arm-machinelearningservices", + "homepage": "https://github.com/azure/azure-sdk-for-js", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" @@ -43,6 +44,7 @@ "esm/**/*.d.ts", "esm/**/*.d.ts.map", "src/**/*.ts", + "README.md", "rollup.config.js", "tsconfig.json" ], @@ -52,5 +54,5 @@ "prepack": "npm install && npm run build" }, "sideEffects": false, - "authPublish": true + "autoPublish": true } diff --git a/sdk/machinelearningservices/arm-machinelearningservices/rollup.config.js b/sdk/machinelearningservices/arm-machinelearningservices/rollup.config.js index 8e10c7141784..1a9e76332601 100644 --- a/sdk/machinelearningservices/arm-machinelearningservices/rollup.config.js +++ b/sdk/machinelearningservices/arm-machinelearningservices/rollup.config.js @@ -1,10 +1,16 @@ +import rollup from "rollup"; import nodeResolve from "rollup-plugin-node-resolve"; +import sourcemaps from "rollup-plugin-sourcemaps"; + /** - * @type {import('rollup').RollupFileOptions} + * @type {rollup.RollupFileOptions} */ const config = { - input: './esm/azureMachineLearningWorkspaces.js', - external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], + input: "./esm/azureMachineLearningWorkspaces.js", + external: [ + "@azure/ms-rest-js", + "@azure/ms-rest-azure-js" + ], output: { file: "./dist/arm-machinelearningservices.js", format: "umd", @@ -16,16 +22,16 @@ const config = { }, banner: `/* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */` }, plugins: [ - nodeResolve({ module: true }) + nodeResolve({ module: true }), + sourcemaps() ] }; + export default config; diff --git a/sdk/machinelearningservices/arm-machinelearningservices/src/azureMachineLearningWorkspacesContext.ts b/sdk/machinelearningservices/arm-machinelearningservices/src/azureMachineLearningWorkspacesContext.ts index 6b0d543270a9..2d0c57e231b9 100644 --- a/sdk/machinelearningservices/arm-machinelearningservices/src/azureMachineLearningWorkspacesContext.ts +++ b/sdk/machinelearningservices/arm-machinelearningservices/src/azureMachineLearningWorkspacesContext.ts @@ -13,7 +13,7 @@ import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-machinelearningservices"; -const packageVersion = "0.1.0"; +const packageVersion = "2.1.0"; export class AzureMachineLearningWorkspacesContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; diff --git a/sdk/machinelearningservices/arm-machinelearningservices/src/models/index.ts b/sdk/machinelearningservices/arm-machinelearningservices/src/models/index.ts index a8edc6443acb..9412ff8abe69 100644 --- a/sdk/machinelearningservices/arm-machinelearningservices/src/models/index.ts +++ b/sdk/machinelearningservices/arm-machinelearningservices/src/models/index.ts @@ -1,11 +1,9 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js"; @@ -13,331 +11,264 @@ import * as msRest from "@azure/ms-rest-js"; export { BaseResource, CloudError }; - /** - * @interface - * An interface representing OperationDisplay. * Display name of operation - * */ export interface OperationDisplay { /** - * @member {string} [provider] The resource provider name: - * Microsoft.MachineLearningExperimentation + * The resource provider name: Microsoft.MachineLearningExperimentation */ provider?: string; /** - * @member {string} [resource] The resource on which the operation is - * performed. + * The resource on which the operation is performed. */ resource?: string; /** - * @member {string} [operation] The operation that users can perform. + * The operation that users can perform. */ operation?: string; /** - * @member {string} [description] The description for the operation. + * The description for the operation. */ description?: string; } /** - * @interface - * An interface representing Operation. * Azure Machine Learning workspace REST API operation - * */ export interface Operation { /** - * @member {string} [name] Operation name: {provider}/{resource}/{operation} + * Operation name: {provider}/{resource}/{operation} */ name?: string; /** - * @member {OperationDisplay} [display] Display name of operation + * Display name of operation */ display?: OperationDisplay; } /** - * @interface - * An interface representing Resource. * Azure Resource Manager resource envelope. - * - * @extends BaseResource */ export interface Resource extends BaseResource { /** - * @member {string} [id] Specifies the resource ID. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Specifies the resource ID. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** - * @member {string} [name] Specifies the name of the resource. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Specifies the name of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {Identity} [identity] The identity of the resource. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The identity of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly identity?: Identity; /** - * @member {string} [location] Specifies the location of the resource. + * Specifies the location of the resource. */ location?: string; /** - * @member {string} [type] Specifies the type of the resource. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Specifies the type of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly type?: string; /** - * @member {{ [propertyName: string]: string }} [tags] Contains resource tags - * defined as key/value pairs. + * Contains resource tags defined as key/value pairs. */ tags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing Workspace. * An object that represents a machine learning workspace. - * - * @extends Resource */ export interface Workspace extends Resource { /** - * @member {string} [workspaceId] The immutable id associated with this - * workspace. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The immutable id associated with this workspace. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly workspaceId?: string; /** - * @member {string} [description] The description of this workspace. + * The description of this workspace. */ description?: string; /** - * @member {string} [friendlyName] The friendly name for this workspace. This - * name in mutable + * The friendly name for this workspace. This name in mutable */ friendlyName?: string; /** - * @member {Date} [creationTime] The creation time of the machine learning - * workspace in ISO8601 format. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The creation time of the machine learning workspace in ISO8601 format. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly creationTime?: Date; /** - * @member {string} [batchaiWorkspace] ARM id of the Batch AI workspace - * associated with this workspace. This cannot be changed once the workspace - * has been created + * ARM id of the Batch AI workspace associated with this workspace. This cannot be changed once + * the workspace has been created */ batchaiWorkspace?: string; /** - * @member {string} [keyVault] ARM id of the key vault associated with this - * workspace. This cannot be changed once the workspace has been created + * ARM id of the key vault associated with this workspace. This cannot be changed once the + * workspace has been created */ keyVault?: string; /** - * @member {string} [applicationInsights] ARM id of the application insights - * associated with this workspace. This cannot be changed once the workspace - * has been created + * ARM id of the application insights associated with this workspace. This cannot be changed once + * the workspace has been created */ applicationInsights?: string; /** - * @member {string} [containerRegistry] ARM id of the container registry - * associated with this workspace. This cannot be changed once the workspace - * has been created + * ARM id of the container registry associated with this workspace. This cannot be changed once + * the workspace has been created */ containerRegistry?: string; /** - * @member {string} [storageAccount] ARM id of the storage account associated - * with this workspace. This cannot be changed once the workspace has been - * created + * ARM id of the storage account associated with this workspace. This cannot be changed once the + * workspace has been created */ storageAccount?: string; /** - * @member {string} [discoveryUrl] Url for the discovery service to identify - * regional endpoints for machine learning experimentation services + * Url for the discovery service to identify regional endpoints for machine learning + * experimentation services */ discoveryUrl?: string; /** - * @member {ProvisioningState} [provisioningState] The current deployment - * state of workspace resource. The provisioningState is to indicate states - * for resource provisioning. Possible values include: 'Unknown', 'Updating', - * 'Creating', 'Deleting', 'Succeeded', 'Failed', 'Canceled' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The current deployment state of workspace resource. The provisioningState is to indicate + * states for resource provisioning. Possible values include: 'Unknown', 'Updating', 'Creating', + * 'Deleting', 'Succeeded', 'Failed', 'Canceled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: ProvisioningState; } /** - * @interface - * An interface representing WorkspaceUpdateParameters. * The parameters for updating a machine learning workspace. - * */ export interface WorkspaceUpdateParameters { /** - * @member {{ [propertyName: string]: string }} [tags] The resource tags for - * the machine learning workspace. + * The resource tags for the machine learning workspace. */ tags?: { [propertyName: string]: string }; /** - * @member {string} [description] The description of this workspace. + * The description of this workspace. */ description?: string; /** - * @member {string} [friendlyName] The friendly name for this workspace. + * The friendly name for this workspace. */ friendlyName?: string; } /** - * @interface - * An interface representing Identity. * Identity for the resource. - * */ export interface Identity { /** - * @member {string} [principalId] The principal ID of resource identity. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The principal ID of resource identity. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly principalId?: string; /** - * @member {string} [tenantId] The tenant ID of resource. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The tenant ID of resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly tenantId?: string; /** - * @member {ResourceIdentityType} [type] The identity type. Possible values - * include: 'SystemAssigned' + * The identity type. Possible values include: 'SystemAssigned' */ type?: ResourceIdentityType; } /** - * @interface * An interface representing Password. */ export interface Password { /** - * @member {string} [name] **NOTE: This property will not be serialized. It - * can only be populated by the server.** + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {string} [value] **NOTE: This property will not be serialized. It - * can only be populated by the server.** + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly value?: string; } /** - * @interface * An interface representing RegistryListCredentialsResult. */ export interface RegistryListCredentialsResult { /** - * @member {string} [location] **NOTE: This property will not be serialized. - * It can only be populated by the server.** + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly location?: string; /** - * @member {string} [username] **NOTE: This property will not be serialized. - * It can only be populated by the server.** + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly username?: string; - /** - * @member {Password[]} [passwords] - */ passwords?: Password[]; } /** - * @interface * An interface representing ListWorkspaceKeysResult. */ export interface ListWorkspaceKeysResult { /** - * @member {string} [userStorageKey] **NOTE: This property will not be - * serialized. It can only be populated by the server.** + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly userStorageKey?: string; /** - * @member {string} [userStorageResourceId] **NOTE: This property will not be - * serialized. It can only be populated by the server.** + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly userStorageResourceId?: string; /** - * @member {string} [appInsightsInstrumentationKey] **NOTE: This property - * will not be serialized. It can only be populated by the server.** + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly appInsightsInstrumentationKey?: string; /** - * @member {RegistryListCredentialsResult} [containerRegistryCredentials] - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly containerRegistryCredentials?: RegistryListCredentialsResult; } /** - * @interface - * An interface representing ErrorDetail. * Error detail information. - * */ export interface ErrorDetail { /** - * @member {string} code Error code. + * Error code. */ code: string; /** - * @member {string} message Error message. + * Error message. */ message: string; } /** - * @interface - * An interface representing ErrorResponse. * Error response information. - * */ export interface ErrorResponse { /** - * @member {string} code Error code. + * Error code. */ code: string; /** - * @member {string} message Error message. + * Error message. */ message: string; /** - * @member {ErrorDetail[]} [details] An array of error detail objects. + * An array of error detail objects. */ details?: ErrorDetail[]; } /** - * @interface - * An interface representing MachineLearningServiceError. * Wrapper for error response to follow ARM guidelines. - * */ export interface MachineLearningServiceError { /** - * @member {ErrorResponse} [error] The error response. + * The error response. */ error?: ErrorResponse; } @@ -348,573 +279,466 @@ export interface MachineLearningServiceError { export type ComputeUnion = Compute | AKS | BatchAI | VirtualMachine | HDInsight | DataFactory; /** - * @interface - * An interface representing Compute. * Machine Learning compute object. - * */ export interface Compute { /** - * @member {string} computeType Polymorphic Discriminator + * Polymorphic Discriminator */ computeType: "Compute"; /** - * @member {string} [computeLocation] Location for the underlying compute + * Location for the underlying compute */ computeLocation?: string; /** - * @member {ProvisioningState} [provisioningState] The provision state of the - * cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and - * Failed. Possible values include: 'Unknown', 'Updating', 'Creating', - * 'Deleting', 'Succeeded', 'Failed', 'Canceled' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, + * Succeeded, and Failed. Possible values include: 'Unknown', 'Updating', 'Creating', 'Deleting', + * 'Succeeded', 'Failed', 'Canceled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: ProvisioningState; /** - * @member {string} [description] The description of the Machine Learning - * compute. + * The description of the Machine Learning compute. */ description?: string; /** - * @member {Date} [createdOn] The date and time when the compute was created. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The date and time when the compute was created. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly createdOn?: Date; /** - * @member {Date} [modifiedOn] The date and time when the compute was last - * modified. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The date and time when the compute was last modified. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly modifiedOn?: Date; /** - * @member {string} [resourceId] ARM resource id of the compute + * ARM resource id of the compute */ resourceId?: string; /** - * @member {MachineLearningServiceError[]} [provisioningErrors] Errors during - * provisioning - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Errors during provisioning + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningErrors?: MachineLearningServiceError[]; } /** - * @interface - * An interface representing ComputeResource. * Machine Learning compute object wrapped into ARM resource envelope. - * - * @extends Resource */ export interface ComputeResource extends Resource { /** - * @member {ComputeUnion} [properties] Compute properties + * Compute properties */ properties?: ComputeUnion; } /** - * @interface - * An interface representing SystemService. * A system service running on a compute. - * */ export interface SystemService { /** - * @member {string} [systemServiceType] The type of this system service. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The type of this system service. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly systemServiceType?: string; /** - * @member {string} [publicIpAddress] Public IP address - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Public IP address + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly publicIpAddress?: string; /** - * @member {string} [version] The version for this type. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The version for this type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly version?: string; } /** - * @interface - * An interface representing SslConfiguration. - * The ssl configugation for scoring - * + * The SSL configuration for scoring */ export interface SslConfiguration { /** - * @member {Status} [status] Enable or disable ssl for scoring. Possible - * values include: 'Disabled', 'Enabled' + * Enable or disable SSL for scoring. Possible values include: 'Disabled', 'Enabled' */ status?: Status; /** - * @member {string} [cert] Cert data + * Cert data */ cert?: string; /** - * @member {string} [key] Key data + * Key data */ key?: string; /** - * @member {string} [cname] CNAME of the cert + * CNAME of the cert */ cname?: string; } /** - * @interface - * An interface representing AKSProperties. * AKS properties - * */ export interface AKSProperties { /** - * @member {string} [clusterFqdn] Cluster full qualified domain name + * Cluster full qualified domain name */ clusterFqdn?: string; /** - * @member {SystemService[]} [systemServices] System services + * System services */ systemServices?: SystemService[]; /** - * @member {number} [agentCount] Number of agents + * Number of agents */ agentCount?: number; /** - * @member {string} [agentVMSize] Agent virtual machine size + * Agent virtual machine size */ agentVMSize?: string; /** - * @member {SslConfiguration} [sslConfiguration] SSL configuration + * SSL configuration */ sslConfiguration?: SslConfiguration; } /** - * @interface - * An interface representing AKS. * A Machine Learning compute based on AKS. - * */ export interface AKS { /** - * @member {string} computeType Polymorphic Discriminator + * Polymorphic Discriminator */ computeType: "AKS"; /** - * @member {string} [computeLocation] Location for the underlying compute + * Location for the underlying compute */ computeLocation?: string; /** - * @member {ProvisioningState} [provisioningState] The provision state of the - * cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and - * Failed. Possible values include: 'Unknown', 'Updating', 'Creating', - * 'Deleting', 'Succeeded', 'Failed', 'Canceled' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, + * Succeeded, and Failed. Possible values include: 'Unknown', 'Updating', 'Creating', 'Deleting', + * 'Succeeded', 'Failed', 'Canceled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: ProvisioningState; /** - * @member {string} [description] The description of the Machine Learning - * compute. + * The description of the Machine Learning compute. */ description?: string; /** - * @member {Date} [createdOn] The date and time when the compute was created. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The date and time when the compute was created. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly createdOn?: Date; /** - * @member {Date} [modifiedOn] The date and time when the compute was last - * modified. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The date and time when the compute was last modified. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly modifiedOn?: Date; /** - * @member {string} [resourceId] ARM resource id of the compute + * ARM resource id of the compute */ resourceId?: string; /** - * @member {MachineLearningServiceError[]} [provisioningErrors] Errors during - * provisioning - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Errors during provisioning + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningErrors?: MachineLearningServiceError[]; /** - * @member {AKSProperties} [properties] AKS properties + * AKS properties */ properties?: AKSProperties; } /** - * @interface - * An interface representing ScaleSettings. * scale settings for BatchAI Compute - * */ export interface ScaleSettings { /** - * @member {number} [maxNodeCount] Max number of nodes to use + * Max number of nodes to use */ maxNodeCount?: number; /** - * @member {number} [minNodeCount] Min number of nodes to use + * Min number of nodes to use */ minNodeCount?: number; /** - * @member {boolean} [autoScaleEnabled] Enable or disable auto scale + * Enable or disable auto scale */ autoScaleEnabled?: boolean; } /** - * @interface - * An interface representing BatchAIProperties. * BatchAI properties - * */ export interface BatchAIProperties { /** - * @member {string} [vmSize] Virtual Machine Size + * Virtual Machine Size */ vmSize?: string; /** - * @member {string} [vmPriority] Virtual Machine priority + * Virtual Machine priority */ vmPriority?: string; /** - * @member {ScaleSettings} [scaleSettings] Scale settings for BatchAI + * Scale settings for BatchAI */ scaleSettings?: ScaleSettings; } /** - * @interface - * An interface representing BatchAI. * A Machine Learning compute based on Azure BatchAI. - * */ export interface BatchAI { /** - * @member {string} computeType Polymorphic Discriminator + * Polymorphic Discriminator */ computeType: "BatchAI"; /** - * @member {string} [computeLocation] Location for the underlying compute + * Location for the underlying compute */ computeLocation?: string; /** - * @member {ProvisioningState} [provisioningState] The provision state of the - * cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and - * Failed. Possible values include: 'Unknown', 'Updating', 'Creating', - * 'Deleting', 'Succeeded', 'Failed', 'Canceled' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, + * Succeeded, and Failed. Possible values include: 'Unknown', 'Updating', 'Creating', 'Deleting', + * 'Succeeded', 'Failed', 'Canceled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: ProvisioningState; /** - * @member {string} [description] The description of the Machine Learning - * compute. + * The description of the Machine Learning compute. */ description?: string; /** - * @member {Date} [createdOn] The date and time when the compute was created. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The date and time when the compute was created. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly createdOn?: Date; /** - * @member {Date} [modifiedOn] The date and time when the compute was last - * modified. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The date and time when the compute was last modified. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly modifiedOn?: Date; /** - * @member {string} [resourceId] ARM resource id of the compute + * ARM resource id of the compute */ resourceId?: string; /** - * @member {MachineLearningServiceError[]} [provisioningErrors] Errors during - * provisioning - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Errors during provisioning + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningErrors?: MachineLearningServiceError[]; /** - * @member {BatchAIProperties} [properties] BatchAI properties + * BatchAI properties */ properties?: BatchAIProperties; } /** - * @interface - * An interface representing VirtualMachineSshCredentials. * Admin credentials for virtual machine - * */ export interface VirtualMachineSshCredentials { /** - * @member {string} [username] Username of admin account + * Username of admin account */ username?: string; /** - * @member {string} [password] Password of admin account + * Password of admin account */ password?: string; /** - * @member {string} [publicKeyData] Public key data + * Public key data */ publicKeyData?: string; /** - * @member {string} [privateKeyData] Private key data + * Private key data */ privateKeyData?: string; } /** - * @interface * An interface representing VirtualMachineProperties. */ export interface VirtualMachineProperties { /** - * @member {string} [virtualMachineSize] Virtual Machine size + * Virtual Machine size */ virtualMachineSize?: string; /** - * @member {number} [sshPort] Port open for ssh connections. + * Port open for ssh connections. */ sshPort?: number; /** - * @member {string} [address] Public IP address of the virtual machine. + * Public IP address of the virtual machine. */ address?: string; /** - * @member {VirtualMachineSshCredentials} [administratorAccount] Admin - * credentials for virtual machine + * Admin credentials for virtual machine */ administratorAccount?: VirtualMachineSshCredentials; } /** - * @interface - * An interface representing VirtualMachine. * A Machine Learning compute based on Azure Virtual Machines. - * */ export interface VirtualMachine { /** - * @member {string} computeType Polymorphic Discriminator + * Polymorphic Discriminator */ computeType: "VirtualMachine"; /** - * @member {string} [computeLocation] Location for the underlying compute + * Location for the underlying compute */ computeLocation?: string; /** - * @member {ProvisioningState} [provisioningState] The provision state of the - * cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and - * Failed. Possible values include: 'Unknown', 'Updating', 'Creating', - * 'Deleting', 'Succeeded', 'Failed', 'Canceled' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, + * Succeeded, and Failed. Possible values include: 'Unknown', 'Updating', 'Creating', 'Deleting', + * 'Succeeded', 'Failed', 'Canceled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: ProvisioningState; /** - * @member {string} [description] The description of the Machine Learning - * compute. + * The description of the Machine Learning compute. */ description?: string; /** - * @member {Date} [createdOn] The date and time when the compute was created. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The date and time when the compute was created. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly createdOn?: Date; /** - * @member {Date} [modifiedOn] The date and time when the compute was last - * modified. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The date and time when the compute was last modified. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly modifiedOn?: Date; /** - * @member {string} [resourceId] ARM resource id of the compute + * ARM resource id of the compute */ resourceId?: string; /** - * @member {MachineLearningServiceError[]} [provisioningErrors] Errors during - * provisioning - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Errors during provisioning + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningErrors?: MachineLearningServiceError[]; - /** - * @member {VirtualMachineProperties} [properties] - */ properties?: VirtualMachineProperties; } /** - * @interface * An interface representing HDInsightProperties. */ export interface HDInsightProperties { /** - * @member {number} [sshPort] Port open for ssh connections on the master - * node of the cluster. + * Port open for ssh connections on the master node of the cluster. */ sshPort?: number; /** - * @member {string} [address] Public IP address of the master node of the - * cluster. + * Public IP address of the master node of the cluster. */ address?: string; /** - * @member {VirtualMachineSshCredentials} [administratorAccount] Admin - * credentials for master node of the cluster + * Admin credentials for master node of the cluster */ administratorAccount?: VirtualMachineSshCredentials; } /** - * @interface - * An interface representing HDInsight. * A HDInsight compute. - * */ export interface HDInsight { /** - * @member {string} computeType Polymorphic Discriminator + * Polymorphic Discriminator */ computeType: "HDInsight"; /** - * @member {string} [computeLocation] Location for the underlying compute + * Location for the underlying compute */ computeLocation?: string; /** - * @member {ProvisioningState} [provisioningState] The provision state of the - * cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and - * Failed. Possible values include: 'Unknown', 'Updating', 'Creating', - * 'Deleting', 'Succeeded', 'Failed', 'Canceled' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, + * Succeeded, and Failed. Possible values include: 'Unknown', 'Updating', 'Creating', 'Deleting', + * 'Succeeded', 'Failed', 'Canceled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: ProvisioningState; /** - * @member {string} [description] The description of the Machine Learning - * compute. + * The description of the Machine Learning compute. */ description?: string; /** - * @member {Date} [createdOn] The date and time when the compute was created. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The date and time when the compute was created. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly createdOn?: Date; /** - * @member {Date} [modifiedOn] The date and time when the compute was last - * modified. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The date and time when the compute was last modified. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly modifiedOn?: Date; /** - * @member {string} [resourceId] ARM resource id of the compute + * ARM resource id of the compute */ resourceId?: string; /** - * @member {MachineLearningServiceError[]} [provisioningErrors] Errors during - * provisioning - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Errors during provisioning + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningErrors?: MachineLearningServiceError[]; - /** - * @member {HDInsightProperties} [properties] - */ properties?: HDInsightProperties; } /** - * @interface - * An interface representing DataFactory. * A DataFactory compute. - * */ export interface DataFactory { /** - * @member {string} computeType Polymorphic Discriminator + * Polymorphic Discriminator */ computeType: "DataFactory"; /** - * @member {string} [computeLocation] Location for the underlying compute + * Location for the underlying compute */ computeLocation?: string; /** - * @member {ProvisioningState} [provisioningState] The provision state of the - * cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and - * Failed. Possible values include: 'Unknown', 'Updating', 'Creating', - * 'Deleting', 'Succeeded', 'Failed', 'Canceled' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, + * Succeeded, and Failed. Possible values include: 'Unknown', 'Updating', 'Creating', 'Deleting', + * 'Succeeded', 'Failed', 'Canceled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: ProvisioningState; /** - * @member {string} [description] The description of the Machine Learning - * compute. + * The description of the Machine Learning compute. */ description?: string; /** - * @member {Date} [createdOn] The date and time when the compute was created. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The date and time when the compute was created. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly createdOn?: Date; /** - * @member {Date} [modifiedOn] The date and time when the compute was last - * modified. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The date and time when the compute was last modified. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly modifiedOn?: Date; /** - * @member {string} [resourceId] ARM resource id of the compute + * ARM resource id of the compute */ resourceId?: string; /** - * @member {MachineLearningServiceError[]} [provisioningErrors] Errors during - * provisioning - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Errors during provisioning + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningErrors?: MachineLearningServiceError[]; } /** - * @interface - * An interface representing ServicePrincipalCredentials. * Service principal credentials. - * */ export interface ServicePrincipalCredentials { /** - * @member {string} clientId Client Id + * Client Id */ clientId: string; /** - * @member {string} clientSecret Client secret + * Client secret */ clientSecret: string; } @@ -925,174 +749,129 @@ export interface ServicePrincipalCredentials { export type ComputeSecretsUnion = ComputeSecrets | AksComputeSecrets | VirtualMachineSecrets; /** - * @interface - * An interface representing ComputeSecrets. - * Secrets related to a Machine Learning compute. Might differ for every type - * of compute. - * + * Secrets related to a Machine Learning compute. Might differ for every type of compute. */ export interface ComputeSecrets { /** - * @member {string} computeType Polymorphic Discriminator + * Polymorphic Discriminator */ computeType: "ComputeSecrets"; } /** - * @interface - * An interface representing AksComputeSecrets. * Secrets related to a Machine Learning compute based on AKS. - * */ export interface AksComputeSecrets { /** - * @member {string} computeType Polymorphic Discriminator + * Polymorphic Discriminator */ computeType: "AKS"; /** - * @member {string} [userKubeConfig] Content of kubeconfig file that can be - * used to connect to the Kubernetes cluster. + * Content of kubeconfig file that can be used to connect to the Kubernetes cluster. */ userKubeConfig?: string; /** - * @member {string} [adminKubeConfig] Content of kubeconfig file that can be - * used to connect to the Kubernetes cluster. + * Content of kubeconfig file that can be used to connect to the Kubernetes cluster. */ adminKubeConfig?: string; /** - * @member {string} [imagePullSecretName] Image registry pull secret. + * Image registry pull secret. */ imagePullSecretName?: string; } /** - * @interface - * An interface representing VirtualMachineSecrets. * Secrets related to a Machine Learning compute based on AKS. - * */ export interface VirtualMachineSecrets { /** - * @member {string} computeType Polymorphic Discriminator + * Polymorphic Discriminator */ computeType: "VirtualMachine"; /** - * @member {VirtualMachineSshCredentials} [administratorAccount] Admin - * creadentials for virtual machine. + * Admin credentials for virtual machine. */ administratorAccount?: VirtualMachineSshCredentials; } /** - * @interface - * An interface representing WorkspacesListByResourceGroupOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface WorkspacesListByResourceGroupOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [skiptoken] Continuation token for pagination. + * Continuation token for pagination. */ skiptoken?: string; } /** - * @interface - * An interface representing WorkspacesListBySubscriptionOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface WorkspacesListBySubscriptionOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [skiptoken] Continuation token for pagination. + * Continuation token for pagination. */ skiptoken?: string; } /** - * @interface - * An interface representing MachineLearningComputeListByWorkspaceOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface MachineLearningComputeListByWorkspaceOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [skiptoken] Continuation token for pagination. + * Continuation token for pagination. */ skiptoken?: string; } /** - * @interface * An interface representing AzureMachineLearningWorkspacesOptions. - * @extends AzureServiceClientOptions */ export interface AzureMachineLearningWorkspacesOptions extends AzureServiceClientOptions { - /** - * @member {string} [baseUri] - */ baseUri?: string; } /** - * @interface - * An interface representing MachineLearningComputeCreateOrUpdateHeaders. * Defines headers for CreateOrUpdate operation. - * */ export interface MachineLearningComputeCreateOrUpdateHeaders { /** - * @member {string} [azureAsyncOperation] URI to poll for asynchronous - * operation status. + * URI to poll for asynchronous operation status. */ azureAsyncOperation: string; } /** - * @interface - * An interface representing MachineLearningComputeDeleteHeaders. * Defines headers for Delete operation. - * */ export interface MachineLearningComputeDeleteHeaders { /** - * @member {string} [azureAsyncOperation] URI to poll for asynchronous - * operation status. + * URI to poll for asynchronous operation status. */ azureAsyncOperation: string; /** - * @member {string} [location] URI to poll for asynchronous operation result. + * URI to poll for asynchronous operation result. */ location: string; } /** - * @interface - * An interface representing MachineLearningComputeSystemUpdateHeaders. * Defines headers for SystemUpdate operation. - * */ export interface MachineLearningComputeSystemUpdateHeaders { /** - * @member {string} [azureAsyncOperation] URI to poll for asynchronous - * operation status. + * URI to poll for asynchronous operation status. */ azureAsyncOperation: string; /** - * @member {string} [location] URI to poll for asynchronous operation result. + * URI to poll for asynchronous operation result. */ location: string; } - /** * @interface - * An interface representing the OperationListResult. * An array of operations supported by the resource provider. - * * @extends Array */ export interface OperationListResult extends Array { @@ -1100,31 +879,24 @@ export interface OperationListResult extends Array { /** * @interface - * An interface representing the WorkspaceListResult. * The result of a request to list machine learning workspaces. - * * @extends Array */ export interface WorkspaceListResult extends Array { /** - * @member {string} [nextLink] The URI that can be used to request the next - * list of machine learning workspaces. + * The URI that can be used to request the next list of machine learning workspaces. */ nextLink?: string; } /** * @interface - * An interface representing the PaginatedComputeResourcesList. - * Paginated list of Machine Learning compute objects wrapped in ARM resource - * envelope. - * + * Paginated list of Machine Learning compute objects wrapped in ARM resource envelope. * @extends Array */ export interface PaginatedComputeResourcesList extends Array { /** - * @member {string} [nextLink] A continuation link (absolute URI) to the next - * page of results in the list. + * A continuation link (absolute URI) to the next page of results in the list. */ nextLink?: string; } @@ -1174,6 +946,7 @@ export type OperationsListResponse = OperationListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -1193,6 +966,7 @@ export type WorkspacesGetResponse = Workspace & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -1212,6 +986,7 @@ export type WorkspacesCreateOrUpdateResponse = Workspace & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -1231,6 +1006,7 @@ export type WorkspacesUpdateResponse = Workspace & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -1250,6 +1026,7 @@ export type WorkspacesListByResourceGroupResponse = WorkspaceListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -1269,6 +1046,7 @@ export type WorkspacesListKeysResponse = ListWorkspaceKeysResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -1288,6 +1066,7 @@ export type WorkspacesListBySubscriptionResponse = WorkspaceListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -1307,6 +1086,7 @@ export type WorkspacesListByResourceGroupNextResponse = WorkspaceListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -1326,6 +1106,7 @@ export type WorkspacesListBySubscriptionNextResponse = WorkspaceListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -1345,6 +1126,7 @@ export type MachineLearningComputeListByWorkspaceResponse = PaginatedComputeReso * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -1364,6 +1146,7 @@ export type MachineLearningComputeGetResponse = ComputeResource & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -1383,10 +1166,12 @@ export type MachineLearningComputeCreateOrUpdateResponse = ComputeResource & Mac * The parsed HTTP response headers. */ parsedHeaders: MachineLearningComputeCreateOrUpdateHeaders; + /** * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -1436,6 +1221,7 @@ export type MachineLearningComputeListKeysResponse = ComputeSecretsUnion & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -1455,6 +1241,7 @@ export type MachineLearningComputeListByWorkspaceNextResponse = PaginatedCompute * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ diff --git a/sdk/machinelearningservices/arm-machinelearningservices/src/models/machineLearningComputeMappers.ts b/sdk/machinelearningservices/arm-machinelearningservices/src/models/machineLearningComputeMappers.ts index b7f92bdcf288..4a6d0d166822 100644 --- a/sdk/machinelearningservices/arm-machinelearningservices/src/models/machineLearningComputeMappers.ts +++ b/sdk/machinelearningservices/arm-machinelearningservices/src/models/machineLearningComputeMappers.ts @@ -1,43 +1,40 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - PaginatedComputeResourcesList, - ComputeResource, - Resource, + AKS, + AksComputeSecrets, + AKSProperties, BaseResource, - Identity, + BatchAI, + BatchAIProperties, Compute, - MachineLearningServiceError, - ErrorResponse, + ComputeResource, + ComputeSecrets, + DataFactory, ErrorDetail, + ErrorResponse, + HDInsight, + HDInsightProperties, + Identity, MachineLearningComputeCreateOrUpdateHeaders, MachineLearningComputeDeleteHeaders, MachineLearningComputeSystemUpdateHeaders, - ComputeSecrets, - Workspace, - AKS, - AKSProperties, - SystemService, - SslConfiguration, - BatchAI, - BatchAIProperties, + MachineLearningServiceError, + PaginatedComputeResourcesList, + Resource, ScaleSettings, + SslConfiguration, + SystemService, VirtualMachine, VirtualMachineProperties, + VirtualMachineSecrets, VirtualMachineSshCredentials, - HDInsight, - HDInsightProperties, - DataFactory, - AksComputeSecrets, - VirtualMachineSecrets + Workspace } from "../models/mappers"; - diff --git a/sdk/machinelearningservices/arm-machinelearningservices/src/models/mappers.ts b/sdk/machinelearningservices/arm-machinelearningservices/src/models/mappers.ts index d2610660d4e9..73d543f3cf76 100644 --- a/sdk/machinelearningservices/arm-machinelearningservices/src/models/mappers.ts +++ b/sdk/machinelearningservices/arm-machinelearningservices/src/models/mappers.ts @@ -1,11 +1,9 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js"; @@ -1149,4 +1147,5 @@ export const discriminators = { 'ComputeSecrets' : ComputeSecrets, 'ComputeSecrets.AKS' : AksComputeSecrets, 'ComputeSecrets.VirtualMachine' : VirtualMachineSecrets + }; diff --git a/sdk/machinelearningservices/arm-machinelearningservices/src/models/operationsMappers.ts b/sdk/machinelearningservices/arm-machinelearningservices/src/models/operationsMappers.ts index 9d57471254c6..f1dd969a7597 100644 --- a/sdk/machinelearningservices/arm-machinelearningservices/src/models/operationsMappers.ts +++ b/sdk/machinelearningservices/arm-machinelearningservices/src/models/operationsMappers.ts @@ -1,20 +1,17 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - OperationListResult, + ErrorDetail, + ErrorResponse, + MachineLearningServiceError, Operation, OperationDisplay, - MachineLearningServiceError, - ErrorResponse, - ErrorDetail + OperationListResult } from "../models/mappers"; - diff --git a/sdk/machinelearningservices/arm-machinelearningservices/src/models/workspacesMappers.ts b/sdk/machinelearningservices/arm-machinelearningservices/src/models/workspacesMappers.ts index cde6fd2568d9..6095c4315fd7 100644 --- a/sdk/machinelearningservices/arm-machinelearningservices/src/models/workspacesMappers.ts +++ b/sdk/machinelearningservices/arm-machinelearningservices/src/models/workspacesMappers.ts @@ -1,41 +1,38 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - Workspace, - Resource, - BaseResource, - Identity, - MachineLearningServiceError, - ErrorResponse, - ErrorDetail, - WorkspaceUpdateParameters, - WorkspaceListResult, - ListWorkspaceKeysResult, - RegistryListCredentialsResult, - Password, - ComputeResource, - Compute, AKS, AKSProperties, - SystemService, - SslConfiguration, + BaseResource, BatchAI, BatchAIProperties, + Compute, + ComputeResource, + DataFactory, + ErrorDetail, + ErrorResponse, + HDInsight, + HDInsightProperties, + Identity, + ListWorkspaceKeysResult, + MachineLearningServiceError, + Password, + RegistryListCredentialsResult, + Resource, ScaleSettings, + SslConfiguration, + SystemService, VirtualMachine, VirtualMachineProperties, VirtualMachineSshCredentials, - HDInsight, - HDInsightProperties, - DataFactory + Workspace, + WorkspaceListResult, + WorkspaceUpdateParameters } from "../models/mappers"; -