Skip to content

Commit

Permalink
CodeGen from PR 18645 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 7e43b260dd6c758c031dfdcb55a2287021bbbdf9 into b1bbbab2f04c23e279c717f955d9a86bc4757946
  • Loading branch information
SDKAuto committed Apr 20, 2022
1 parent 6d5a9e3 commit 504ba07
Show file tree
Hide file tree
Showing 9 changed files with 60 additions and 67 deletions.
11 changes: 0 additions & 11 deletions sdk/machinelearning/arm-webservices/CHANGELOG.md

This file was deleted.

21 changes: 0 additions & 21 deletions sdk/machinelearning/arm-webservices/LICENSE.txt

This file was deleted.

7 changes: 4 additions & 3 deletions sdk/machinelearning/arm-webservices/_meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"commit": "184b23b63ee3a79fb41ca3aa55a31a8d9e636772",
"commit": "ed422f358c26e1ba6de79c8a4e48f35cbfd47cd9",
"readme": "specification/machinelearning/resource-manager/readme.md",
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/machinelearning/resource-manager/readme.md --use=@autorest/[email protected].20220114.1",
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/machinelearning/resource-manager/readme.md --use=@autorest/[email protected].20220105.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"use": "@autorest/[email protected]"
"release_tool": "@azure-tools/[email protected]",
"use": "@autorest/[email protected]"
}
25 changes: 19 additions & 6 deletions sdk/machinelearning/arm-webservices/api-extractor.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,31 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "./dist-esm/src/index.d.ts",
"docModel": { "enabled": true },
"apiReport": { "enabled": true, "reportFolder": "./review" },
"docModel": {
"enabled": true
},
"apiReport": {
"enabled": true,
"reportFolder": "./review"
},
"dtsRollup": {
"enabled": true,
"untrimmedFilePath": "",
"publicTrimmedFilePath": "./types/arm-webservices.d.ts"
},
"messages": {
"tsdocMessageReporting": { "default": { "logLevel": "none" } },
"tsdocMessageReporting": {
"default": {
"logLevel": "none"
}
},
"extractorMessageReporting": {
"ae-missing-release-tag": { "logLevel": "none" },
"ae-unresolved-link": { "logLevel": "none" }
"ae-missing-release-tag": {
"logLevel": "none"
},
"ae-unresolved-link": {
"logLevel": "none"
}
}
}
}
}
28 changes: 15 additions & 13 deletions sdk/machinelearning/arm-webservices/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for AzureMLWebServicesManagementClient.",
"version": "1.0.0",
"engines": { "node": ">=12.0.0" },
"version": "1.0.1",
"engines": {
"node": ">=12.0.0"
},
"dependencies": {
"@azure/core-lro": "^2.2.0",
"@azure/abort-controller": "^1.0.0",
Expand All @@ -14,7 +16,13 @@
"@azure/core-rest-pipeline": "^1.1.0",
"tslib": "^2.2.0"
},
"keywords": ["node", "azure", "typescript", "browser", "isomorphic"],
"keywords": [
"node",
"azure",
"typescript",
"browser",
"isomorphic"
],
"license": "MIT",
"main": "./dist/index.js",
"module": "./dist-esm/src/index.js",
Expand All @@ -41,7 +49,9 @@
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
},
"bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" },
"bugs": {
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
},
"files": [
"dist/**/*.js",
"dist/**/*.js.map",
Expand Down Expand Up @@ -88,13 +98,5 @@
"docs": "echo skipped"
},
"sideEffects": false,
"//metadata": {
"constantPaths": [
{
"path": "src/AzureMLWebServicesManagementClient.ts",
"prefix": "packageDetails"
}
]
},
"autoPublish": true
}
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class AzureMLWebServicesManagementClient extends coreClient.ServiceClient
credential: credentials
};

const packageDetails = `azsdk-js-arm-webservices/1.0.0`;
const packageDetails = `azsdk-js-arm-webservices/1.0.1`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand Down
17 changes: 13 additions & 4 deletions sdk/machinelearning/arm-webservices/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,20 @@
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"lib": ["es6", "dom"],
"lib": [
"es6",
"dom"
],
"declaration": true,
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts", "./test/**/*.ts"],
"exclude": ["node_modules"]
}
"include": [
"./src/**/*.ts",
"./test/**/*.ts",
"./test/**/*.ts"
],
"exclude": [
"node_modules"
]
}
11 changes: 8 additions & 3 deletions sdk/machinelearning/ci.mgmt.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.

trigger:
branches:
include:
Expand All @@ -12,6 +12,9 @@ trigger:
- sdk/machinelearning/arm-workspaces/
- sdk/machinelearning/arm-webservices/
- sdk/machinelearning/arm-commitmentplans/
- sdk/machinelearning/arm-commitmentplans
- sdk/machinelearning/arm-webservices
- sdk/machinelearning/arm-workspaces
pr:
branches:
include:
Expand All @@ -27,7 +30,9 @@ pr:
- sdk/machinelearning/arm-workspaces/
- sdk/machinelearning/arm-webservices/
- sdk/machinelearning/arm-commitmentplans/

- sdk/machinelearning/arm-commitmentplans
- sdk/machinelearning/arm-webservices
- sdk/machinelearning/arm-workspaces
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
Expand All @@ -38,4 +43,4 @@ extends:
- name: azure-arm-webservices
safeName: azurearmwebservices
- name: azure-arm-commitmentplans
safeName: azurearmcommitmentplans
safeName: azurearmcommitmentplans

0 comments on commit 504ba07

Please sign in to comment.