Skip to content

Commit 36c9ae3

Browse files
author
SDKAuto
committed
CodeGen from PR 17460 in Azure/azure-rest-api-specs
Merge 21deb8d0a7f8d671f76331690585e175bbae2194 into 382669bbba897d2ab5f01e3ad0b726dbe27981cf
1 parent 8b0a9ef commit 36c9ae3

File tree

10 files changed

+54
-32
lines changed

10 files changed

+54
-32
lines changed

sdk/security/arm-security/CHANGELOG.md

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
# Release History
2-
3-
## 4.0.1 (Unreleased)
4-
5-
### Features Added
6-
7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
12-
2+
3+
## 4.1.0-beta.1 (2022-01-23)
4+
5+
**Features**
6+
7+
- Enum KnownSupportedCloudEnum has a new value GCP
8+
9+
1310
## 4.0.0 (2021-12-14)
1411

1512
The package of @azure/arm-security is using our next generation design principles since version 4.0.0, which contains breaking changes.

sdk/security/arm-security/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2021 Microsoft
3+
Copyright (c) 2022 Microsoft
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

sdk/security/arm-security/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ API spec for Microsoft.Security (Azure Security Center) resource provider
66

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

1212
## Getting started
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"commit": "ea0f7b072ad3aaff203ea9003246b9e584b819ff",
2+
"commit": "c885b3c06cf8e254e65668a2494f97f5dac81d4f",
33
"readme": "specification/security/resource-manager/readme.md",
4-
"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",
4+
"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=/home/vsts/work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/security/resource-manager/readme.md --use=@autorest/[email protected].20220105.1",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6-
"use": "@autorest/[email protected].20211207.1"
6+
"use": "@autorest/[email protected].20220105.1"
77
}
Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,31 @@
11
{
22
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
33
"mainEntryPointFilePath": "./dist-esm/src/index.d.ts",
4-
"docModel": { "enabled": true },
5-
"apiReport": { "enabled": true, "reportFolder": "./review" },
4+
"docModel": {
5+
"enabled": true
6+
},
7+
"apiReport": {
8+
"enabled": true,
9+
"reportFolder": "./review"
10+
},
611
"dtsRollup": {
712
"enabled": true,
813
"untrimmedFilePath": "",
914
"publicTrimmedFilePath": "./types/arm-security.d.ts"
1015
},
1116
"messages": {
12-
"tsdocMessageReporting": { "default": { "logLevel": "none" } },
17+
"tsdocMessageReporting": {
18+
"default": {
19+
"logLevel": "none"
20+
}
21+
},
1322
"extractorMessageReporting": {
14-
"ae-missing-release-tag": { "logLevel": "none" },
15-
"ae-unresolved-link": { "logLevel": "none" }
23+
"ae-missing-release-tag": {
24+
"logLevel": "none"
25+
},
26+
"ae-unresolved-link": {
27+
"logLevel": "none"
28+
}
1629
}
1730
}
18-
}
31+
}

sdk/security/arm-security/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"sdk-type": "mgmt",
44
"author": "Microsoft Corporation",
55
"description": "A generated SDK for SecurityCenter.",
6-
"version": "4.0.1",
6+
"version": "4.1.0-beta.1",
77
"engines": {
88
"node": ">=12.0.0"
99
},
@@ -99,4 +99,4 @@
9999
},
100100
"sideEffects": false,
101101
"autoPublish": true
102-
}
102+
}

sdk/security/arm-security/review/arm-security.api.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3066,7 +3066,9 @@ export enum KnownSubAssessmentStatusCode {
30663066
// @public
30673067
export enum KnownSupportedCloudEnum {
30683068
// (undocumented)
3069-
AWS = "AWS"
3069+
AWS = "AWS",
3070+
// (undocumented)
3071+
GCP = "GCP"
30703072
}
30713073

30723074
// @public

sdk/security/arm-security/src/models/index.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3614,15 +3614,17 @@ export type CreatedByType = string;
36143614

36153615
/** Known values of {@link SupportedCloudEnum} that the service accepts. */
36163616
export enum KnownSupportedCloudEnum {
3617-
AWS = "AWS"
3617+
AWS = "AWS",
3618+
GCP = "GCP"
36183619
}
36193620

36203621
/**
36213622
* Defines values for SupportedCloudEnum. \
36223623
* {@link KnownSupportedCloudEnum} can be used interchangeably with SupportedCloudEnum,
36233624
* this enum contains the known values that the service supports.
36243625
* ### Known values supported by the service
3625-
* **AWS**
3626+
* **AWS** \
3627+
* **GCP**
36263628
*/
36273629
export type SupportedCloudEnum = string;
36283630

sdk/security/arm-security/src/securityCenter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export class SecurityCenter extends coreClient.ServiceClient {
150150
credential: credentials
151151
};
152152

153-
const packageDetails = `azsdk-js-arm-security/4.0.0`;
153+
const packageDetails = `azsdk-js-arm-security/4.1.0-beta.1`;
154154
const userAgentPrefix =
155155
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
156156
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`

sdk/security/arm-security/tsconfig.json

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,19 @@
99
"esModuleInterop": true,
1010
"allowSyntheticDefaultImports": true,
1111
"forceConsistentCasingInFileNames": true,
12-
"lib": ["es6", "dom"],
12+
"lib": [
13+
"es6",
14+
"dom"
15+
],
1316
"declaration": true,
1417
"outDir": "./dist-esm",
1518
"importHelpers": true
1619
},
17-
"include": ["./src/**/*.ts", "./test/**/*.ts"],
18-
"exclude": ["node_modules"]
19-
}
20+
"include": [
21+
"./src/**/*.ts",
22+
"./test/**/*.ts"
23+
],
24+
"exclude": [
25+
"node_modules"
26+
]
27+
}

0 commit comments

Comments
 (0)