Skip to content

Commit

Permalink
CodeGen from PR 18156 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Add new apis for test button feature (Azure#18156)

* Add new apis for test button feature

* Fix bug

* Revert to old package version

* Fix errors

* Fix errors

* Fix error

* Remove "

* Only include the actiongroups changes in this new tag as per Dapeng.

* Revert "Only include the actiongroups changes in this new tag as per Dapeng."

This reverts commit 529a149b258dfa8dc8dcc52b6e1fea16ab2b40d6.

* Add "x-ms-identifiers": [],

* Update the default tag

* Add location headers

* No need to return response

* build

* build

* format json

* Prettier check

Co-authored-by: Thomas Pham <[email protected]>
  • Loading branch information
SDKAuto and Thomas Pham committed Apr 20, 2022
1 parent 0379a29 commit 0c1d7d7
Show file tree
Hide file tree
Showing 32 changed files with 1,819 additions and 6,112 deletions.
74 changes: 66 additions & 8 deletions sdk/monitor/arm-monitor/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,73 @@
# Release History

## 8.0.0-beta.1 (2022-04-20)

**Features**

## 7.0.1 (Unreleased)
- Added operation ActionGroups.beginCreateNotificationsAtResourceGroupLevel
- Added operation ActionGroups.beginCreateNotificationsAtResourceGroupLevelAndWait
- Added operation ActionGroups.getTestNotificationsAtResourceGroupLevel
- Added operation DataCollectionRuleAssociations.listByDataCollectionEndpoint
- Added Interface ActionGroup
- Added Interface ActionGroupsCreateNotificationsAtResourceGroupLevelHeaders
- Added Interface ActionGroupsCreateNotificationsAtResourceGroupLevelOptionalParams
- Added Interface ActionGroupsGetTestNotificationsAtResourceGroupLevelOptionalParams
- Added Interface ActionGroupsPostTestNotificationsHeaders
- Added Interface ActionList
- Added Interface ActivityLogAlertsListByResourceGroupNextOptionalParams
- Added Interface ActivityLogAlertsListBySubscriptionIdNextOptionalParams
- Added Interface AlertRuleAllOfCondition
- Added Interface AlertRuleLeafCondition
- Added Interface AlertRuleList
- Added Interface AlertRulePatchObject
- Added Interface AzureResourceAutoGenerated
- Added Interface ColumnDefinition
- Added Interface DataCollectionRuleAssociationsListByDataCollectionEndpointNextOptionalParams
- Added Interface DataCollectionRuleAssociationsListByDataCollectionEndpointOptionalParams
- Added Interface ErrorResponseAutoGenerated
- Added Interface IisLogsDataSource
- Added Interface LogFilesDataSource
- Added Interface LogFileSettings
- Added Interface LogFileTextSettings
- Added Interface Metadata
- Added Interface StreamDeclaration
- Added Type Alias ActionGroupsCreateNotificationsAtResourceGroupLevelResponse
- Added Type Alias ActionGroupsGetTestNotificationsAtResourceGroupLevelResponse
- Added Type Alias ActivityLogAlertsListByResourceGroupNextResponse
- Added Type Alias ActivityLogAlertsListBySubscriptionIdNextResponse
- Added Type Alias AlertRuleAnyOfOrLeafCondition
- Added Type Alias DataCollectionRuleAssociationMetadata
- Added Type Alias DataCollectionRuleAssociationsListByDataCollectionEndpointNextResponse
- Added Type Alias DataCollectionRuleAssociationsListByDataCollectionEndpointResponse
- Added Type Alias DataCollectionRuleMetadata
- Added Type Alias KnownColumnDefinitionType
- Added Type Alias KnownLogFilesDataSourceFormat
- Added Type Alias KnownLogFileTextSettingsRecordStartTimestampFormat
- Added Type Alias LogFilesDataSourceSettings
- Added Type Alias LogFileSettingsText
- Interface DataCollectionRule has a new optional parameter dataCollectionEndpointId
- Interface DataCollectionRule has a new optional parameter metadata
- Interface DataCollectionRule has a new optional parameter streamDeclarations
- Interface DataCollectionRuleAssociation has a new optional parameter metadata
- Interface DataCollectionRuleAssociationProxyOnlyResource has a new optional parameter metadata
- Interface DataCollectionRuleResource has a new optional parameter dataCollectionEndpointId
- Interface DataCollectionRuleResource has a new optional parameter metadata
- Interface DataCollectionRuleResource has a new optional parameter streamDeclarations
- Interface DataFlow has a new optional parameter outputStream
- Interface DataFlow has a new optional parameter transformKql
- Interface DataSourcesSpec has a new optional parameter iisLogs
- Interface DataSourcesSpec has a new optional parameter logFiles
- Add parameters of AzureResourceAutoGenerated to TypeAlias ActivityLogAlertResource
- Added Enum KnownKnownColumnDefinitionType
- Added Enum KnownKnownLogFilesDataSourceFormat
- Added Enum KnownKnownLogFileTextSettingsRecordStartTimestampFormat

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes
**Breaking Changes**

- Operation ActivityLogAlerts.update has a new signature
- Delete parameters of Resource in TypeAlias ActivityLogAlertResource


## 7.0.0 (2021-12-20)

The package of @azure/arm-monitor is using our next generation design principles since version 7.0.0, which contains breaking changes.
Expand Down
2 changes: 1 addition & 1 deletion sdk/monitor/arm-monitor/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/monitor/arm-monitor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Monitor Management Client

[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/monitor/arm-monitor) |
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-monitor) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-monitor) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-monitor?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/monitor/arm-monitor/_meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"commit": "d967edeee8fd6af6d40bffe53cceed1bd053d7ad",
"commit": "5cebaa8a9fd8ce58156f6ee468274a9360545fa2",
"readme": "specification/monitor/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/monitor/resource-manager/readme.md --use=@autorest/[email protected].20211217.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/monitor/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/monitor/arm-monitor/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-monitor.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"
}
}
}
}
}
10 changes: 3 additions & 7 deletions sdk/monitor/arm-monitor/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 MonitorClient.",
"version": "7.0.1",
"version": "8.0.0-beta.1",
"engines": {
"node": ">=12.0.0"
},
Expand Down Expand Up @@ -42,11 +42,7 @@
"@azure/identity": "^2.0.1",
"@azure-tools/test-recorder": "^1.0.0",
"mocha": "^7.1.1",
"cross-env": "^7.0.2",
"@azure/arm-eventhub": "^5.0.0",
"@azure/arm-logic": "^8.0.0",
"@azure/arm-operationalinsights": "^8.0.0",
"@azure/arm-storage": "^17.0.0"
"cross-env": "^7.0.2"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/monitor/arm-monitor",
"repository": {
Expand Down Expand Up @@ -103,4 +99,4 @@
},
"sideEffects": false,
"autoPublish": true
}
}
Loading

0 comments on commit 0c1d7d7

Please sign in to comment.