Skip to content

Commit

Permalink
CodeGen from PR 18045 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
New API version to Microsoft.Security 2021-11-01 (Azure#18045)

* Adds base for updating Microsoft.Security from version stable/2021-01-01 to version 2021-11-01

* Updates readme

* Updates API version in new specs and examples

* New API version to Microsoft.Security

pick 5459ef18a7 New API version to Microsoft.Security
pick c8462f9c60 [Microsoft.Security alerts] fix examples/Alerts/SimulateAlerts_example.json
pick b5f4550d6b [Microsoft.Security alerts] add missing API to readme.md

* [Microsoft.Security alerts] fix examples/Alerts/SimulateAlerts_example.json

* [Microsoft.Security alerts] add missing API to readme.md

* Fix readme.md file after rebase

* Removing "x-ms-long-running-operation" header

* Setting target package back to package-composite-v3

* Updating securityContacts.json to the latest version

* Reverting securityContacts.json to equal main, should be updated by the relevant team

Co-authored-by: Nitsan Bracha <[email protected]>
  • Loading branch information
SDKAuto and Nitsan Bracha committed Mar 22, 2022
1 parent 79fdcd8 commit 8fb6419
Show file tree
Hide file tree
Showing 40 changed files with 844 additions and 360 deletions.
26 changes: 12 additions & 14 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

76 changes: 68 additions & 8 deletions sdk/security/arm-security/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,75 @@
# Release History

## 5.0.0-beta.1 (2022-03-22)

**Features**

## 4.0.1 (Unreleased)
- Added operation Alerts.simulate
- Added Interface InformationProtectionAwsOfferingInformationProtection
- Added Type Alias InformationProtectionAwsOffering
- Added Type Alias InformationProtectionPolicyName
- Added Type Alias SettingName
- Added Type Alias TaskUpdateActionType
- Type Alias Pricing has a new parameter subPlan
- Added Enum KnownInformationProtectionPolicyName
- Added Enum KnownSettingName
- Added Enum KnownTaskUpdateActionType
- Enum KnownOfferingType has a new value InformationProtectionAws
- Enum KnownSupportedCloudEnum has a new value GCP

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes
**Breaking Changes**

- Removed operation Alerts.beginSimulate
- Removed operation Alerts.beginSimulateAndWait
- Operation AdaptiveApplicationControls.delete has a new signature
- Operation AdaptiveApplicationControls.get has a new signature
- Operation AdaptiveApplicationControls.put has a new signature
- Operation Alerts.getResourceGroupLevel has a new signature
- Operation Alerts.getSubscriptionLevel has a new signature
- Operation Alerts.listResourceGroupLevelByRegion has a new signature
- Operation Alerts.listSubscriptionLevelByRegion has a new signature
- Operation Alerts.updateResourceGroupLevelStateToActivate has a new signature
- Operation Alerts.updateResourceGroupLevelStateToDismiss has a new signature
- Operation Alerts.updateResourceGroupLevelStateToResolve has a new signature
- Operation Alerts.updateSubscriptionLevelStateToActivate has a new signature
- Operation Alerts.updateSubscriptionLevelStateToDismiss has a new signature
- Operation Alerts.updateSubscriptionLevelStateToResolve has a new signature
- Operation AllowedConnections.get has a new signature
- Operation AllowedConnections.listByHomeRegion has a new signature
- Operation DiscoveredSecuritySolutions.get has a new signature
- Operation DiscoveredSecuritySolutions.listByHomeRegion has a new signature
- Operation ExternalSecuritySolutions.get has a new signature
- Operation ExternalSecuritySolutions.listByHomeRegion has a new signature
- Operation InformationProtectionPolicies.createOrUpdate has a new signature
- Operation InformationProtectionPolicies.get has a new signature
- Operation JitNetworkAccessPolicies.createOrUpdate has a new signature
- Operation JitNetworkAccessPolicies.delete has a new signature
- Operation JitNetworkAccessPolicies.get has a new signature
- Operation JitNetworkAccessPolicies.initiate has a new signature
- Operation JitNetworkAccessPolicies.listByRegion has a new signature
- Operation JitNetworkAccessPolicies.listByResourceGroupAndRegion has a new signature
- Operation Locations.get has a new signature
- Operation SecuritySolutions.get has a new signature
- Operation SecuritySolutionsReferenceDataOperations.listByHomeRegion has a new signature
- Operation Settings.get has a new signature
- Operation Settings.update has a new signature
- Operation Tasks.getResourceGroupLevelTask has a new signature
- Operation Tasks.getSubscriptionLevelTask has a new signature
- Operation Tasks.listByHomeRegion has a new signature
- Operation Tasks.listByResourceGroup has a new signature
- Operation Tasks.updateResourceGroupLevelTaskState has a new signature
- Operation Tasks.updateSubscriptionLevelTaskState has a new signature
- Operation Topology.get has a new signature
- Operation Topology.listByHomeRegion has a new signature
- Class SecurityCenter has a new signature
- Interface AlertsSimulateOptionalParams no longer has parameter resumeFrom
- Interface AlertsSimulateOptionalParams no longer has parameter updateIntervalInMs
- Class SecurityCenter no longer has parameter ascLocation
- Removed Enum KnownEnum15
- Removed Enum KnownEnum17
- Removed Enum KnownEnum73


## 4.0.0 (2021-12-14)

The package of @azure/arm-security is using our next generation design principles since version 4.0.0, which contains breaking changes.
Expand Down
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
7 changes: 4 additions & 3 deletions sdk/security/arm-security/_meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"commit": "ea0f7b072ad3aaff203ea9003246b9e584b819ff",
"commit": "69e8e7f15c262df57417fd2b436ac1092b66c588",
"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.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",
"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/security/arm-security/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-security.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"
}
}
}
}
}
8 changes: 4 additions & 4 deletions sdk/security/arm-security/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for SecurityCenter.",
"version": "4.0.1",
"version": "5.0.0-beta.1",
"engines": {
"node": ">=12.0.0"
},
Expand All @@ -29,12 +29,12 @@
"types": "./types/arm-security.d.ts",
"devDependencies": {
"@microsoft/api-extractor": "^7.18.11",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-commonjs": "11.0.2",
"@rollup/plugin-json": "^4.0.0",
"@rollup/plugin-multi-entry": "^3.0.0",
"@rollup/plugin-node-resolve": "^8.0.0",
"mkdirp": "^1.0.4",
"rollup": "^2.0.0",
"rollup": "^1.16.3",
"rollup-plugin-sourcemaps": "^0.4.2",
"typescript": "~4.2.0",
"uglify-js": "^3.4.9",
Expand Down Expand Up @@ -99,4 +99,4 @@
},
"sideEffects": false,
"autoPublish": true
}
}
Loading

0 comments on commit 8fb6419

Please sign in to comment.