Skip to content

Commit

Permalink
CodeGen from PR 17107 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
[DO NOT MERGE ] Introduce new scanners resource type (Azure#17107)

* introduce new scanners resource type

* fix error

* fixing errors

* fixing errors

* fix error

* fixing errors

* fixing comments

* adding new tag
  • Loading branch information
SDKAuto committed Jan 5, 2022
1 parent dbbce26 commit ccc465f
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 46 deletions.
21 changes: 0 additions & 21 deletions sdk/security/arm-security/CHANGELOG.md

This file was deleted.

2 changes: 1 addition & 1 deletion sdk/security/arm-security/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2021 Microsoft
Copyright (c) 2022 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
Expand Down
2 changes: 1 addition & 1 deletion sdk/security/arm-security/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ API spec for Microsoft.Security (Azure Security Center) resource provider

[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/security/arm-security) |
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-security) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-security) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-security?view=azure-node-preview) |
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)

## Getting started
Expand Down
6 changes: 3 additions & 3 deletions sdk/security/arm-security/_meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commit": "ea0f7b072ad3aaff203ea9003246b9e584b819ff",
"commit": "30fca88fa23112e4296322f38610e02da522d390",
"readme": "specification/security/resource-manager/readme.md",
"autorest_command": "autorest --version=3.1.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/security/resource-manager/readme.md --use=@autorest/[email protected].20211207.1",
"autorest_command": "autorest --version=3.1.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/security/resource-manager/readme.md --use=@autorest/[email protected].20211130.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"use": "@autorest/[email protected].20211207.1"
"use": "@autorest/[email protected].20211130.1"
}
18 changes: 4 additions & 14 deletions sdk/security/arm-security/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for SecurityCenter.",
"version": "4.0.1",
"engines": {
"node": ">=12.0.0"
},
"version": "1.0.0-beta.1",
"engines": { "node": ">=12.0.0" },
"dependencies": {
"@azure/core-lro": "^2.2.0",
"@azure/abort-controller": "^1.0.0",
Expand All @@ -16,13 +14,7 @@
"@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 @@ -49,9 +41,7 @@
"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

This file was deleted.

2 changes: 1 addition & 1 deletion sdk/security/arm-security/src/securityCenter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export class SecurityCenter extends coreClient.ServiceClient {
credential: credentials
};

const packageDetails = `azsdk-js-arm-security/4.0.0`;
const packageDetails = `azsdk-js-arm-security/1.0.0-beta.1`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand Down

0 comments on commit ccc465f

Please sign in to comment.