From 8610ffdaa7d603cb4c40a089068ad6f1d53a8738 Mon Sep 17 00:00:00 2001 From: colawwj <70128817+colawwj@users.noreply.github.com> Date: Fri, 8 Jan 2021 11:00:53 +0800 Subject: [PATCH] arm-machinelearningcompute (#13116) * arm-machinelearningcompute * version update * version update * version update --- .../arm-machinelearningcompute/LICENSE.txt | 2 +- .../arm-machinelearningcompute/README.md | 23 +- .../arm-machinelearningcompute/package.json | 24 +- .../rollup.config.js | 24 +- .../machineLearningComputeManagementClient.ts | 5 +- ...eLearningComputeManagementClientContext.ts | 13 +- .../src/models/index.ts | 539 +++++++----------- .../models/machineLearningComputeMappers.ts | 13 +- .../src/models/mappers.ts | 8 +- .../operationalizationClustersMappers.ts | 55 +- .../src/models/parameters.ts | 5 +- .../src/operations/index.ts | 5 +- .../src/operations/machineLearningCompute.ts | 5 +- .../operations/operationalizationClusters.ts | 31 +- .../arm-machinelearningcompute/tsconfig.json | 2 +- 15 files changed, 300 insertions(+), 454 deletions(-) diff --git a/sdk/machinelearningcompute/arm-machinelearningcompute/LICENSE.txt b/sdk/machinelearningcompute/arm-machinelearningcompute/LICENSE.txt index a70e8cf66038..2d3163745319 100644 --- a/sdk/machinelearningcompute/arm-machinelearningcompute/LICENSE.txt +++ b/sdk/machinelearningcompute/arm-machinelearningcompute/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2018 Microsoft +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 diff --git a/sdk/machinelearningcompute/arm-machinelearningcompute/README.md b/sdk/machinelearningcompute/arm-machinelearningcompute/README.md index ed9f17b665b1..8a1c8bc5efa1 100644 --- a/sdk/machinelearningcompute/arm-machinelearningcompute/README.md +++ b/sdk/machinelearningcompute/arm-machinelearningcompute/README.md @@ -9,27 +9,27 @@ This package contains an isomorphic SDK for MachineLearningComputeManagementClie ### How to Install -``` +```bash npm install @azure/arm-machinelearningcompute ``` ### How to use -#### nodejs - Authentication, client creation and get operationalizationClusters as an example written in TypeScript. +#### nodejs - client creation and get operationalizationClusters as an example written in TypeScript. ##### Install @azure/ms-rest-nodeauth -``` -npm 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 -```ts -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"; -import { MachineLearningComputeManagementClient, MachineLearningComputeManagementModels, MachineLearningComputeManagementMappers } from "@azure/arm-machinelearningcompute"; +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 { MachineLearningComputeManagementClient } = require("@azure/arm-machinelearningcompute"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; msRestNodeAuth.interactiveLogin().then((creds) => { @@ -49,7 +49,7 @@ msRestNodeAuth.interactiveLogin().then((creds) => { ##### Install @azure/ms-rest-browserauth -``` +```bash npm install @azure/ms-rest-browserauth ``` @@ -99,5 +99,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [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%2Fsdk%2Fmachinelearningcompute%2Farm-machinelearningcompute%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/machinelearningcompute/arm-machinelearningcompute/README.png) diff --git a/sdk/machinelearningcompute/arm-machinelearningcompute/package.json b/sdk/machinelearningcompute/arm-machinelearningcompute/package.json index 23bb9dd28545..cfed4491bda9 100644 --- a/sdk/machinelearningcompute/arm-machinelearningcompute/package.json +++ b/sdk/machinelearningcompute/arm-machinelearningcompute/package.json @@ -2,11 +2,11 @@ "name": "@azure/arm-machinelearningcompute", "author": "Microsoft Corporation", "description": "MachineLearningComputeManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.1.0", + "version": "2.0.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", - "tslib": "^1.9.3" + "@azure/ms-rest-azure-js": "^2.0.1", + "@azure/ms-rest-js": "^2.0.4", + "tslib": "^1.10.0" }, "keywords": [ "node", @@ -20,18 +20,19 @@ "module": "./esm/machineLearningComputeManagementClient.js", "types": "./esm/machineLearningComputeManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", - "rollup": "^0.66.2", - "rollup-plugin-node-resolve": "^3.4.0", - "uglify-js": "^3.4.9" + "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/machinelearningcompute/arm-machinelearningcompute", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/machinelearningcompute/arm-machinelearningcompute", "repository": { "type": "git", - "url": "https://github.com/azure/azure-sdk-for-js.git" + "url": "https://github.com/Azure/azure-sdk-for-js.git" }, "bugs": { - "url": "https://github.com/azure/azure-sdk-for-js/issues" + "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "files": [ "dist/**/*.js", @@ -43,6 +44,7 @@ "esm/**/*.d.ts", "esm/**/*.d.ts.map", "src/**/*.ts", + "README.md", "rollup.config.js", "tsconfig.json" ], diff --git a/sdk/machinelearningcompute/arm-machinelearningcompute/rollup.config.js b/sdk/machinelearningcompute/arm-machinelearningcompute/rollup.config.js index c9a7714129f6..23cc8bd84ab1 100644 --- a/sdk/machinelearningcompute/arm-machinelearningcompute/rollup.config.js +++ b/sdk/machinelearningcompute/arm-machinelearningcompute/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/machineLearningComputeManagementClient.js', - external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], + input: "./esm/machineLearningComputeManagementClient.js", + external: [ + "@azure/ms-rest-js", + "@azure/ms-rest-azure-js" + ], output: { file: "./dist/arm-machinelearningcompute.js", format: "umd", @@ -15,17 +21,17 @@ const config = { "@azure/ms-rest-azure-js": "msRestAzure" }, banner: `/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */` }, plugins: [ - nodeResolve({ module: true }) + nodeResolve({ mainFields: ['module', 'main'] }), + sourcemaps() ] }; + export default config; diff --git a/sdk/machinelearningcompute/arm-machinelearningcompute/src/machineLearningComputeManagementClient.ts b/sdk/machinelearningcompute/arm-machinelearningcompute/src/machineLearningComputeManagementClient.ts index ca51d34664cd..16b9439a801c 100644 --- a/sdk/machinelearningcompute/arm-machinelearningcompute/src/machineLearningComputeManagementClient.ts +++ b/sdk/machinelearningcompute/arm-machinelearningcompute/src/machineLearningComputeManagementClient.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 diff --git a/sdk/machinelearningcompute/arm-machinelearningcompute/src/machineLearningComputeManagementClientContext.ts b/sdk/machinelearningcompute/arm-machinelearningcompute/src/machineLearningComputeManagementClientContext.ts index 3178304dee74..d914d3831fcf 100644 --- a/sdk/machinelearningcompute/arm-machinelearningcompute/src/machineLearningComputeManagementClientContext.ts +++ b/sdk/machinelearningcompute/arm-machinelearningcompute/src/machineLearningComputeManagementClientContext.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -13,7 +12,7 @@ import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-machinelearningcompute"; -const packageVersion = "0.1.0"; +const packageVersion = "2.0.0"; export class MachineLearningComputeManagementClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; @@ -37,7 +36,7 @@ export class MachineLearningComputeManagementClientContext extends msRestAzure.A if (!options) { options = {}; } - if(!options.userAgent) { + if (!options.userAgent) { const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; } @@ -52,10 +51,10 @@ export class MachineLearningComputeManagementClientContext extends msRestAzure.A this.credentials = credentials; this.subscriptionId = subscriptionId; - if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { + if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } - if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) { + if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) { this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout; } } diff --git a/sdk/machinelearningcompute/arm-machinelearningcompute/src/models/index.ts b/sdk/machinelearningcompute/arm-machinelearningcompute/src/models/index.ts index 8ba25fb6bee6..5b97faccbfca 100644 --- a/sdk/machinelearningcompute/arm-machinelearningcompute/src/models/index.ts +++ b/sdk/machinelearningcompute/arm-machinelearningcompute/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. + * 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. + * 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,832 +11,664 @@ import * as msRest from "@azure/ms-rest-js"; export { BaseResource, CloudError }; - /** - * @interface - * An interface representing Resource. * Azure resource - * - * @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 {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 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 ErrorResponseWrapper. * Wrapper for error response to follow ARM guidelines. - * */ export interface ErrorResponseWrapper { /** - * @member {ErrorResponse} [error] The error response. + * The error response. */ error?: ErrorResponse; } /** - * @interface - * An interface representing StorageAccountProperties. * Properties of Storage Account. - * */ export interface StorageAccountProperties { /** - * @member {string} [resourceId] ARM resource ID of the Azure Storage Account - * to store CLI specific files. If not provided one will be created. This - * cannot be changed once the cluster is created. + * ARM resource ID of the Azure Storage Account to store CLI specific files. If not provided one + * will be created. This cannot be changed once the cluster is created. */ resourceId?: string; } /** - * @interface - * An interface representing ContainerRegistryProperties. * Properties of Azure Container Registry. - * */ export interface ContainerRegistryProperties { /** - * @member {string} [resourceId] ARM resource ID of the Azure Container - * Registry used to store Docker images for web services in the cluster. If - * not provided one will be created. This cannot be changed once the cluster + * ARM resource ID of the Azure Container Registry used to store Docker images for web services + * in the cluster. If not provided one will be created. This cannot be changed once the cluster * is created. */ resourceId?: string; } /** - * @interface - * An interface representing ServicePrincipalProperties. - * The Azure service principal used by Kubernetes for configuring load - * balancers - * + * The Azure service principal used by Kubernetes for configuring load balancers */ export interface ServicePrincipalProperties { /** - * @member {string} clientId The service principal client ID + * The service principal client ID */ clientId: string; /** - * @member {string} secret The service principal secret. This is not returned - * in response of GET/PUT on the resource. To see this please call listKeys. + * The service principal secret. This is not returned in response of GET/PUT on the resource. To + * see this please call listKeys. */ secret: string; } /** - * @interface - * An interface representing KubernetesClusterProperties. * Kubernetes cluster specific properties - * */ export interface KubernetesClusterProperties { /** - * @member {ServicePrincipalProperties} [servicePrincipal] The Azure Service - * Principal used by Kubernetes + * The Azure Service Principal used by Kubernetes */ servicePrincipal?: ServicePrincipalProperties; } /** - * @interface - * An interface representing SystemService. * Information about a system service deployed in the cluster - * */ export interface SystemService { /** - * @member {SystemServiceType} systemServiceType The system service type. - * Possible values include: 'None', 'ScoringFrontEnd', 'BatchFrontEnd' + * The system service type. Possible values include: 'None', 'ScoringFrontEnd', 'BatchFrontEnd' */ systemServiceType: SystemServiceType; /** - * @member {string} [publicIpAddress] The public IP address of the system - * service - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The public IP address of the system service + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly publicIpAddress?: string; /** - * @member {string} [version] The state of the system service - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The state of the system service + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly version?: string; } /** - * @interface - * An interface representing AcsClusterProperties. * Information about the container service backing the cluster - * */ export interface AcsClusterProperties { /** - * @member {string} [clusterFqdn] The FQDN of the cluster. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The FQDN of the cluster. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly clusterFqdn?: string; /** - * @member {OrchestratorType} orchestratorType Type of orchestrator. It - * cannot be changed once the cluster is created. Possible values include: - * 'Kubernetes', 'None' + * Type of orchestrator. It cannot be changed once the cluster is created. Possible values + * include: 'Kubernetes', 'None' */ orchestratorType: OrchestratorType; /** - * @member {KubernetesClusterProperties} [orchestratorProperties] * Orchestrator specific properties */ orchestratorProperties?: KubernetesClusterProperties; /** - * @member {SystemService[]} [systemServices] The system services deployed to - * the cluster + * The system services deployed to the cluster */ systemServices?: SystemService[]; /** - * @member {number} [masterCount] The number of master nodes in the container - * service. Default value: 1 . + * The number of master nodes in the container service. Default value: 1. */ masterCount?: number; /** - * @member {number} [agentCount] The number of agent nodes in the Container - * Service. This can be changed to scale the cluster. Default value: 2 . + * The number of agent nodes in the Container Service. This can be changed to scale the cluster. + * Default value: 2. */ agentCount?: number; /** - * @member {AgentVMSizeTypes} [agentVmSize] The Azure VM size of the agent VM - * nodes. This cannot be changed once the cluster is created. This list is - * non exhaustive; refer to - * https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sizes for - * the possible VM sizes. Possible values include: 'Standard_A0', - * 'Standard_A1', 'Standard_A2', 'Standard_A3', 'Standard_A4', 'Standard_A5', - * 'Standard_A6', 'Standard_A7', 'Standard_A8', 'Standard_A9', - * 'Standard_A10', 'Standard_A11', 'Standard_D1', 'Standard_D2', - * 'Standard_D3', 'Standard_D4', 'Standard_D11', 'Standard_D12', - * 'Standard_D13', 'Standard_D14', 'Standard_D1_v2', 'Standard_D2_v2', - * 'Standard_D3_v2', 'Standard_D4_v2', 'Standard_D5_v2', 'Standard_D11_v2', - * 'Standard_D12_v2', 'Standard_D13_v2', 'Standard_D14_v2', 'Standard_G1', - * 'Standard_G2', 'Standard_G3', 'Standard_G4', 'Standard_G5', - * 'Standard_DS1', 'Standard_DS2', 'Standard_DS3', 'Standard_DS4', - * 'Standard_DS11', 'Standard_DS12', 'Standard_DS13', 'Standard_DS14', - * 'Standard_GS1', 'Standard_GS2', 'Standard_GS3', 'Standard_GS4', - * 'Standard_GS5'. Default value: 'Standard_D3_v2' . + * The Azure VM size of the agent VM nodes. This cannot be changed once the cluster is created. + * This list is non exhaustive; refer to + * https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sizes for the possible VM + * sizes. Possible values include: 'Standard_A0', 'Standard_A1', 'Standard_A2', 'Standard_A3', + * 'Standard_A4', 'Standard_A5', 'Standard_A6', 'Standard_A7', 'Standard_A8', 'Standard_A9', + * 'Standard_A10', 'Standard_A11', 'Standard_D1', 'Standard_D2', 'Standard_D3', 'Standard_D4', + * 'Standard_D11', 'Standard_D12', 'Standard_D13', 'Standard_D14', 'Standard_D1_v2', + * 'Standard_D2_v2', 'Standard_D3_v2', 'Standard_D4_v2', 'Standard_D5_v2', 'Standard_D11_v2', + * 'Standard_D12_v2', 'Standard_D13_v2', 'Standard_D14_v2', 'Standard_G1', 'Standard_G2', + * 'Standard_G3', 'Standard_G4', 'Standard_G5', 'Standard_DS1', 'Standard_DS2', 'Standard_DS3', + * 'Standard_DS4', 'Standard_DS11', 'Standard_DS12', 'Standard_DS13', 'Standard_DS14', + * 'Standard_GS1', 'Standard_GS2', 'Standard_GS3', 'Standard_GS4', 'Standard_GS5'. Default value: + * 'Standard_D3_v2'. */ agentVmSize?: AgentVMSizeTypes; } /** - * @interface - * An interface representing AppInsightsProperties. * Properties of App Insights. - * */ export interface AppInsightsProperties { /** - * @member {string} [resourceId] ARM resource ID of the App Insights. + * ARM resource ID of the App Insights. */ resourceId?: string; } /** - * @interface - * An interface representing SslConfiguration. - * SSL configuration. If configured data-plane calls to user services will be - * exposed over SSL only. - * + * SSL configuration. If configured data-plane calls to user services will be exposed over SSL + * only. */ export interface SslConfiguration { /** - * @member {Status} [status] SSL status. Allowed values are Enabled and - * Disabled. Possible values include: 'Enabled', 'Disabled'. Default value: - * 'Enabled' . + * SSL status. Allowed values are Enabled and Disabled. Possible values include: 'Enabled', + * 'Disabled'. Default value: 'Enabled'. */ status?: Status; /** - * @member {string} [cert] The SSL cert data in PEM format. + * The SSL cert data in PEM format. */ cert?: string; /** - * @member {string} [key] The SSL key data in PEM format. This is not - * returned in response of GET/PUT on the resource. To see this please call - * listKeys API. + * The SSL key data in PEM format. This is not returned in response of GET/PUT on the resource. + * To see this please call listKeys API. */ key?: string; /** - * @member {string} [cname] The CName of the certificate. + * The CName of the certificate. */ cname?: string; } /** - * @interface - * An interface representing ServiceAuthConfiguration. - * Global service auth configuration properties. These are the data-plane - * authorization keys and are used if a service doesn't define it's own. - * + * Global service auth configuration properties. These are the data-plane authorization keys and + * are used if a service doesn't define it's own. */ export interface ServiceAuthConfiguration { /** - * @member {string} primaryAuthKeyHash The primary auth key hash. This is not - * returned in response of GET/PUT on the resource.. To see this please call - * listKeys API. + * The primary auth key hash. This is not returned in response of GET/PUT on the resource.. To + * see this please call listKeys API. */ primaryAuthKeyHash: string; /** - * @member {string} secondaryAuthKeyHash The secondary auth key hash. This is - * not returned in response of GET/PUT on the resource.. To see this please - * call listKeys API. + * The secondary auth key hash. This is not returned in response of GET/PUT on the resource.. To + * see this please call listKeys API. */ secondaryAuthKeyHash: string; } /** - * @interface - * An interface representing AutoScaleConfiguration. * AutoScale configuration properties. - * */ export interface AutoScaleConfiguration { /** - * @member {Status} [status] If auto-scale is enabled for all services. Each - * service can turn it off individually. Possible values include: 'Enabled', - * 'Disabled'. Default value: 'Disabled' . + * If auto-scale is enabled for all services. Each service can turn it off individually. Possible + * values include: 'Enabled', 'Disabled'. Default value: 'Disabled'. */ status?: Status; /** - * @member {number} [minReplicas] The minimum number of replicas for each - * service. Default value: 1 . + * The minimum number of replicas for each service. Default value: 1. */ minReplicas?: number; /** - * @member {number} [maxReplicas] The maximum number of replicas for each - * service. Default value: 100 . + * The maximum number of replicas for each service. Default value: 100. */ maxReplicas?: number; /** - * @member {number} [targetUtilization] The target utilization. + * The target utilization. */ targetUtilization?: number; /** - * @member {number} [refreshPeriodInSeconds] Refresh period in seconds. + * Refresh period in seconds. */ refreshPeriodInSeconds?: number; } /** - * @interface - * An interface representing GlobalServiceConfiguration. * Global configuration for services in the cluster. - * */ export interface GlobalServiceConfiguration { /** - * @member {string} [etag] The configuartion ETag for updates. + * The configuration ETag for updates. */ etag?: string; /** - * @member {SslConfiguration} [ssl] The SSL configuration properties + * The SSL configuration properties */ ssl?: SslConfiguration; /** - * @member {ServiceAuthConfiguration} [serviceAuth] Optional global - * authorization keys for all user services deployed in cluster. These are - * used if the service does not have auth keys. + * Optional global authorization keys for all user services deployed in cluster. These are used + * if the service does not have auth keys. */ serviceAuth?: ServiceAuthConfiguration; /** - * @member {AutoScaleConfiguration} [autoScale] The auto-scale configuration + * The auto-scale configuration */ autoScale?: AutoScaleConfiguration; /** - * @property Describes unknown properties. The value of an unknown property - * can be of "any" type. + * Describes unknown properties. The value of an unknown property can be of "any" type. */ [property: string]: any; } /** - * @interface - * An interface representing OperationalizationCluster. * Instance of an Azure ML Operationalization Cluster resource. - * - * @extends Resource */ export interface OperationalizationCluster extends Resource { /** - * @member {string} [description] The description of the cluster. + * The description of the cluster. */ description?: string; /** - * @member {Date} [createdOn] The date and time when the cluster was created. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The date and time when the cluster 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 cluster was last - * modified. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The date and time when the cluster was last modified. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly modifiedOn?: Date; /** - * @member {OperationStatus} [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?: OperationStatus; /** - * @member {ErrorResponseWrapper[]} [provisioningErrors] List of provisioning - * errors reported by the resource provider. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * List of provisioning errors reported by the resource provider. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningErrors?: ErrorResponseWrapper[]; /** - * @member {ClusterType} clusterType The cluster type. Possible values - * include: 'ACS', 'Local' + * The cluster type. Possible values include: 'ACS', 'Local' */ clusterType: ClusterType; /** - * @member {StorageAccountProperties} [storageAccount] Storage Account - * properties. + * Storage Account properties. */ storageAccount?: StorageAccountProperties; /** - * @member {ContainerRegistryProperties} [containerRegistry] Container - * Registry properties. + * Container Registry properties. */ containerRegistry?: ContainerRegistryProperties; /** - * @member {AcsClusterProperties} [containerService] Parameters for the Azure - * Container Service cluster. + * Parameters for the Azure Container Service cluster. */ containerService?: AcsClusterProperties; /** - * @member {AppInsightsProperties} [appInsights] AppInsights configuration. + * AppInsights configuration. */ appInsights?: AppInsightsProperties; /** - * @member {GlobalServiceConfiguration} [globalServiceConfiguration] Contains - * global configuration for the web services in the cluster. + * Contains global configuration for the web services in the cluster. */ globalServiceConfiguration?: GlobalServiceConfiguration; } /** - * @interface - * An interface representing OperationalizationClusterUpdateParameters. * Parameters for PATCH operation on an operationalization cluster - * */ export interface OperationalizationClusterUpdateParameters { /** - * @member {{ [propertyName: string]: string }} [tags] Gets or sets a list of - * key value pairs that describe the resource. These tags can be used in - * viewing and grouping this resource (across resource groups). A maximum of - * 15 tags can be provided for a resource. Each tag must have a key no - * greater in length than 128 characters and a value no greater in length - * than 256 characters. + * Gets or sets a list of key value pairs that describe the resource. These tags can be used in + * viewing and grouping this resource (across resource groups). A maximum of 15 tags can be + * provided for a resource. Each tag must have a key no greater in length than 128 characters and + * a value no greater in length than 256 characters. */ tags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing StorageAccountCredentials. * Access information for the storage account. - * */ export interface StorageAccountCredentials { /** - * @member {string} [resourceId] The ARM resource ID of the storage account. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The ARM resource ID of the storage account. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly resourceId?: string; /** - * @member {string} [primaryKey] The primary key of the storage account. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The primary key of the storage account. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly primaryKey?: string; /** - * @member {string} [secondaryKey] The secondary key of the storage account. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The secondary key of the storage account. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly secondaryKey?: string; } /** - * @interface - * An interface representing ContainerRegistryCredentials. - * Information about the Azure Container Registry which contains the images - * deployed to the cluster. - * + * Information about the Azure Container Registry which contains the images deployed to the + * cluster. */ export interface ContainerRegistryCredentials { /** - * @member {string} [loginServer] The ACR login server name. User name is the - * first part of the FQDN. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The ACR login server name. User name is the first part of the FQDN. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly loginServer?: string; /** - * @member {string} [password] The ACR primary password. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The ACR primary password. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly password?: string; /** - * @member {string} [password2] The ACR secondary password. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The ACR secondary password. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly password2?: string; /** - * @member {string} [username] The ACR login username. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The ACR login username. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly username?: string; } /** - * @interface - * An interface representing ContainerServiceCredentials. - * Information about the Azure Container Registry which contains the images - * deployed to the cluster. - * + * Information about the Azure Container Registry which contains the images deployed to the + * cluster. */ export interface ContainerServiceCredentials { /** - * @member {string} [acsKubeConfig] The ACS kube config file. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The ACS kube config file. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly acsKubeConfig?: string; /** - * @member {ServicePrincipalProperties} [servicePrincipalConfiguration] * Service principal configuration used by Kubernetes. - * **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 servicePrincipalConfiguration?: ServicePrincipalProperties; /** - * @member {string} [imagePullSecretName] The ACR image pull secret name - * which was created in Kubernetes. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The ACR image pull secret name which was created in Kubernetes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly imagePullSecretName?: string; } /** - * @interface - * An interface representing AppInsightsCredentials. * AppInsights credentials. - * */ export interface AppInsightsCredentials { /** - * @member {string} [appId] The AppInsights application ID. + * The AppInsights application ID. */ appId?: string; /** - * @member {string} [instrumentationKey] The AppInsights instrumentation key. - * This is not returned in response of GET/PUT on the resource. To see this - * please call listKeys API. + * The AppInsights instrumentation key. This is not returned in response of GET/PUT on the + * resource. To see this please call listKeys API. */ instrumentationKey?: string; } /** - * @interface - * An interface representing OperationalizationClusterCredentials. * Credentials to resources in the cluster. - * */ export interface OperationalizationClusterCredentials { /** - * @member {StorageAccountCredentials} [storageAccount] Credentials for the - * Storage Account. + * Credentials for the Storage Account. */ storageAccount?: StorageAccountCredentials; /** - * @member {ContainerRegistryCredentials} [containerRegistry] Credentials for - * Azure Container Registry. + * Credentials for Azure Container Registry. */ containerRegistry?: ContainerRegistryCredentials; /** - * @member {ContainerServiceCredentials} [containerService] Credentials for - * Azure Container Service. + * Credentials for Azure Container Service. */ containerService?: ContainerServiceCredentials; /** - * @member {AppInsightsCredentials} [appInsights] Credentials for Azure - * AppInsights. + * Credentials for Azure AppInsights. */ appInsights?: AppInsightsCredentials; /** - * @member {ServiceAuthConfiguration} [serviceAuthConfiguration] Global - * authorization keys for all user services deployed in cluster. These are - * used if the service does not have auth keys. + * Global authorization keys for all user services deployed in cluster. These are used if the + * service does not have auth keys. */ serviceAuthConfiguration?: ServiceAuthConfiguration; /** - * @member {SslConfiguration} [sslConfiguration] The SSL configuration for - * the services. + * The SSL configuration for the services. */ sslConfiguration?: SslConfiguration; } /** - * @interface - * An interface representing CheckSystemServicesUpdatesAvailableResponse. * Information about updates available for system services in a cluster. - * */ export interface CheckSystemServicesUpdatesAvailableResponse { /** - * @member {UpdatesAvailable} [updatesAvailable] Yes if updates are available - * for the system services, No if not. Possible values include: 'Yes', 'No' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Yes if updates are available for the system services, No if not. Possible values include: + * 'Yes', 'No' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly updatesAvailable?: UpdatesAvailable; } /** - * @interface - * An interface representing UpdateSystemServicesResponse. * Response of the update system services API - * */ export interface UpdateSystemServicesResponse { /** - * @member {OperationStatus} [updateStatus] Update status. 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.** + * Update status. 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 updateStatus?: OperationStatus; /** - * @member {Date} [updateStartedOn] The date and time when the last system - * services update was started. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The date and time when the last system services update was started. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly updateStartedOn?: Date; /** - * @member {Date} [updateCompletedOn] The date and time when the last system - * services update completed. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The date and time when the last system services update completed. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly updateCompletedOn?: Date; } /** - * @interface - * An interface representing ResourceOperationDisplay. * Display of the operation. - * */ export interface ResourceOperationDisplay { /** - * @member {string} [provider] The resource provider name. + * The resource provider name. */ provider?: string; /** - * @member {string} [resource] The resource name. + * The resource name. */ resource?: string; /** - * @member {string} [operation] The operation. + * The operation. */ operation?: string; /** - * @member {string} [description] The description of the operation. + * The description of the operation. */ description?: string; } /** - * @interface - * An interface representing ResourceOperation. * Resource operation. - * */ export interface ResourceOperation { /** - * @member {string} [name] Name of this operation. + * Name of this operation. */ name?: string; /** - * @member {ResourceOperationDisplay} [display] Display of the operation. + * Display of the operation. */ display?: ResourceOperationDisplay; /** - * @member {string} [origin] The operation origin. + * The operation origin. */ origin?: string; } /** - * @interface - * An interface representing AvailableOperations. * Available operation list. - * */ export interface AvailableOperations { /** - * @member {ResourceOperation[]} [value] An array of available operations. + * An array of available operations. */ value?: ResourceOperation[]; } /** - * @interface - * An interface representing OperationalizationClustersDeleteMethodOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface OperationalizationClustersDeleteMethodOptionalParams extends msRest.RequestOptionsBase { /** - * @member {boolean} [deleteAll] If true, deletes all resources associated - * with this cluster. + * If true, deletes all resources associated with this cluster. */ deleteAll?: boolean; } /** - * @interface - * An interface representing OperationalizationClustersListByResourceGroupOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface OperationalizationClustersListByResourceGroupOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [skiptoken] Continuation token for pagination. + * Continuation token for pagination. */ skiptoken?: string; } /** - * @interface - * An interface representing OperationalizationClustersListBySubscriptionIdOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface OperationalizationClustersListBySubscriptionIdOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [skiptoken] Continuation token for pagination. + * Continuation token for pagination. */ skiptoken?: string; } /** - * @interface - * An interface representing OperationalizationClustersBeginDeleteMethodOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface OperationalizationClustersBeginDeleteMethodOptionalParams extends msRest.RequestOptionsBase { /** - * @member {boolean} [deleteAll] If true, deletes all resources associated - * with this cluster. + * If true, deletes all resources associated with this cluster. */ deleteAll?: boolean; } /** - * @interface - * An interface representing MachineLearningComputeManagementClientOptions. - * @extends AzureServiceClientOptions + * Optional Parameters. */ -export interface MachineLearningComputeManagementClientOptions extends AzureServiceClientOptions { +export interface OperationalizationClustersListByResourceGroupNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Continuation token for pagination. + */ + skiptoken?: string; +} + +/** + * Optional Parameters. + */ +export interface OperationalizationClustersListBySubscriptionIdNextOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [baseUri] + * Continuation token for pagination. */ + skiptoken?: string; +} + +/** + * An interface representing MachineLearningComputeManagementClientOptions. + */ +export interface MachineLearningComputeManagementClientOptions extends AzureServiceClientOptions { baseUri?: string; } /** - * @interface - * An interface representing OperationalizationClustersDeleteHeaders. * Defines headers for Delete operation. - * */ export interface OperationalizationClustersDeleteHeaders { /** - * @member {string} [location] URI of the async operation. + * URI of the async operation. */ location: string; } /** - * @interface - * An interface representing OperationalizationClustersUpdateSystemServicesHeaders. * Defines headers for UpdateSystemServices operation. - * */ export interface OperationalizationClustersUpdateSystemServicesHeaders { /** - * @member {string} [location] URI of the async operation. + * URI of the async operation. */ location: string; } - /** * @interface - * An interface representing the PaginatedOperationalizationClustersList. * Paginated list of operationalization clusters. - * * @extends Array */ export interface PaginatedOperationalizationClustersList 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; } @@ -920,6 +750,7 @@ export type OperationalizationClustersCreateOrUpdateResponse = Operationalizatio * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -939,6 +770,7 @@ export type OperationalizationClustersGetResponse = OperationalizationCluster & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -958,6 +790,7 @@ export type OperationalizationClustersUpdateResponse = OperationalizationCluster * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -992,6 +825,7 @@ export type OperationalizationClustersListKeysResponse = OperationalizationClust * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -1011,6 +845,7 @@ export type OperationalizationClustersCheckSystemServicesUpdatesAvailableRespons * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -1030,10 +865,12 @@ export type OperationalizationClustersUpdateSystemServicesResponse = UpdateSyste * The parsed HTTP response headers. */ parsedHeaders: OperationalizationClustersUpdateSystemServicesHeaders; + /** * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -1053,6 +890,7 @@ export type OperationalizationClustersListByResourceGroupResponse = PaginatedOpe * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -1072,6 +910,7 @@ export type OperationalizationClustersListBySubscriptionIdResponse = PaginatedOp * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -1091,6 +930,7 @@ export type OperationalizationClustersBeginCreateOrUpdateResponse = Operationali * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -1110,6 +950,7 @@ export type OperationalizationClustersListByResourceGroupNextResponse = Paginate * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -1129,6 +970,7 @@ export type OperationalizationClustersListBySubscriptionIdNextResponse = Paginat * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -1148,6 +990,7 @@ export type MachineLearningComputeListAvailableOperationsResponse = AvailableOpe * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ diff --git a/sdk/machinelearningcompute/arm-machinelearningcompute/src/models/machineLearningComputeMappers.ts b/sdk/machinelearningcompute/arm-machinelearningcompute/src/models/machineLearningComputeMappers.ts index 34f6ebeed21c..48d7b6a26464 100644 --- a/sdk/machinelearningcompute/arm-machinelearningcompute/src/models/machineLearningComputeMappers.ts +++ b/sdk/machinelearningcompute/arm-machinelearningcompute/src/models/machineLearningComputeMappers.ts @@ -1,17 +1,14 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { AvailableOperations, + CloudError, ResourceOperation, - ResourceOperationDisplay, - CloudError + ResourceOperationDisplay } from "../models/mappers"; - diff --git a/sdk/machinelearningcompute/arm-machinelearningcompute/src/models/mappers.ts b/sdk/machinelearningcompute/arm-machinelearningcompute/src/models/mappers.ts index 676a985900a7..7f00bf5f201a 100644 --- a/sdk/machinelearningcompute/arm-machinelearningcompute/src/models/mappers.ts +++ b/sdk/machinelearningcompute/arm-machinelearningcompute/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. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js"; diff --git a/sdk/machinelearningcompute/arm-machinelearningcompute/src/models/operationalizationClustersMappers.ts b/sdk/machinelearningcompute/arm-machinelearningcompute/src/models/operationalizationClustersMappers.ts index 58cc0fb95f4b..0708d315b936 100644 --- a/sdk/machinelearningcompute/arm-machinelearningcompute/src/models/operationalizationClustersMappers.ts +++ b/sdk/machinelearningcompute/arm-machinelearningcompute/src/models/operationalizationClustersMappers.ts @@ -1,42 +1,39 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - OperationalizationCluster, - Resource, - BaseResource, - ErrorResponseWrapper, - ErrorResponse, - ErrorDetail, - StorageAccountProperties, - ContainerRegistryProperties, AcsClusterProperties, - KubernetesClusterProperties, - ServicePrincipalProperties, - SystemService, + AppInsightsCredentials, AppInsightsProperties, - GlobalServiceConfiguration, - SslConfiguration, - ServiceAuthConfiguration, AutoScaleConfiguration, - OperationalizationClusterUpdateParameters, - OperationalizationClustersDeleteHeaders, - OperationalizationClusterCredentials, - StorageAccountCredentials, + BaseResource, + CheckSystemServicesUpdatesAvailableResponse, + CloudError, ContainerRegistryCredentials, + ContainerRegistryProperties, ContainerServiceCredentials, - AppInsightsCredentials, - CloudError, - CheckSystemServicesUpdatesAvailableResponse, - UpdateSystemServicesResponse, + ErrorDetail, + ErrorResponse, + ErrorResponseWrapper, + GlobalServiceConfiguration, + KubernetesClusterProperties, + OperationalizationCluster, + OperationalizationClusterCredentials, + OperationalizationClustersDeleteHeaders, OperationalizationClustersUpdateSystemServicesHeaders, - PaginatedOperationalizationClustersList + OperationalizationClusterUpdateParameters, + PaginatedOperationalizationClustersList, + Resource, + ServiceAuthConfiguration, + ServicePrincipalProperties, + SslConfiguration, + StorageAccountCredentials, + StorageAccountProperties, + SystemService, + UpdateSystemServicesResponse } from "../models/mappers"; - diff --git a/sdk/machinelearningcompute/arm-machinelearningcompute/src/models/parameters.ts b/sdk/machinelearningcompute/arm-machinelearningcompute/src/models/parameters.ts index e1baf4acc033..55e0a8bb89a7 100644 --- a/sdk/machinelearningcompute/arm-machinelearningcompute/src/models/parameters.ts +++ b/sdk/machinelearningcompute/arm-machinelearningcompute/src/models/parameters.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 diff --git a/sdk/machinelearningcompute/arm-machinelearningcompute/src/operations/index.ts b/sdk/machinelearningcompute/arm-machinelearningcompute/src/operations/index.ts index c1b3a35ffe8e..be793de6556b 100644 --- a/sdk/machinelearningcompute/arm-machinelearningcompute/src/operations/index.ts +++ b/sdk/machinelearningcompute/arm-machinelearningcompute/src/operations/index.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 diff --git a/sdk/machinelearningcompute/arm-machinelearningcompute/src/operations/machineLearningCompute.ts b/sdk/machinelearningcompute/arm-machinelearningcompute/src/operations/machineLearningCompute.ts index 16d818163e16..66a822e66156 100644 --- a/sdk/machinelearningcompute/arm-machinelearningcompute/src/operations/machineLearningCompute.ts +++ b/sdk/machinelearningcompute/arm-machinelearningcompute/src/operations/machineLearningCompute.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 diff --git a/sdk/machinelearningcompute/arm-machinelearningcompute/src/operations/operationalizationClusters.ts b/sdk/machinelearningcompute/arm-machinelearningcompute/src/operations/operationalizationClusters.ts index 437a34e6f2e2..3869dc6cd5c8 100644 --- a/sdk/machinelearningcompute/arm-machinelearningcompute/src/operations/operationalizationClusters.ts +++ b/sdk/machinelearningcompute/arm-machinelearningcompute/src/operations/operationalizationClusters.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -313,7 +312,7 @@ export class OperationalizationClusters { * @param [options] The optional parameters * @returns Promise */ - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByResourceGroupNext(nextPageLink: string, options?: Models.OperationalizationClustersListByResourceGroupNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -324,8 +323,8 @@ export class OperationalizationClusters { * @param options The optional parameters * @param callback The callback */ - listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options: Models.OperationalizationClustersListByResourceGroupNextOptionalParams, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: Models.OperationalizationClustersListByResourceGroupNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -341,7 +340,7 @@ export class OperationalizationClusters { * @param [options] The optional parameters * @returns Promise */ - listBySubscriptionIdNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listBySubscriptionIdNext(nextPageLink: string, options?: Models.OperationalizationClustersListBySubscriptionIdNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -352,8 +351,8 @@ export class OperationalizationClusters { * @param options The optional parameters * @param callback The callback */ - listBySubscriptionIdNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscriptionIdNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionIdNext(nextPageLink: string, options: Models.OperationalizationClustersListBySubscriptionIdNextOptionalParams, callback: msRest.ServiceCallback): void; + listBySubscriptionIdNext(nextPageLink: string, options?: Models.OperationalizationClustersListBySubscriptionIdNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -580,7 +579,8 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.OperationalizationClustersDeleteHeaders }, default: { - bodyMapper: Mappers.ErrorResponseWrapper + bodyMapper: Mappers.ErrorResponseWrapper, + headersMapper: Mappers.OperationalizationClustersDeleteHeaders } }, serializer @@ -609,7 +609,8 @@ const beginUpdateSystemServicesOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.OperationalizationClustersUpdateSystemServicesHeaders }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.CloudError, + headersMapper: Mappers.OperationalizationClustersUpdateSystemServicesHeaders } }, serializer @@ -622,6 +623,10 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion, + Parameters.skiptoken + ], headerParameters: [ Parameters.acceptLanguage ], @@ -643,6 +648,10 @@ const listBySubscriptionIdNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion, + Parameters.skiptoken + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/machinelearningcompute/arm-machinelearningcompute/tsconfig.json b/sdk/machinelearningcompute/arm-machinelearningcompute/tsconfig.json index 87bbf5b5fa49..422b584abd5e 100644 --- a/sdk/machinelearningcompute/arm-machinelearningcompute/tsconfig.json +++ b/sdk/machinelearningcompute/arm-machinelearningcompute/tsconfig.json @@ -9,7 +9,7 @@ "esModuleInterop": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, - "lib": ["es6"], + "lib": ["es6", "dom"], "declaration": true, "outDir": "./esm", "importHelpers": true