Skip to content

Commit

Permalink
CodeGen from PR 18279 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Skumar/rch metadata api (Azure#18279)

* Defining the APIs for the new NSP resource

* adding metadata API details

* updating ResourceHealth.json

* fixed resourcehealth.json

* fixing linter issues rch metadata

* prettier fixes

* additional linting fixes

* additional linting fixes

* suggesting lintf fixes

* model fixes

* model fixes 2

* model fixes 2

Co-authored-by: Hari Prasad Perabattula <[email protected]>
Co-authored-by: Hari Prasad Perabattula <[email protected]>
  • Loading branch information
3 people committed Apr 12, 2022
1 parent b0f6450 commit 0b370b1
Show file tree
Hide file tree
Showing 23 changed files with 306 additions and 1,268 deletions.
72 changes: 36 additions & 36 deletions common/config/rush/pnpm-lock.yaml

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

45 changes: 34 additions & 11 deletions sdk/resourcehealth/arm-resourcehealth/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,38 @@
# Release History

## 3.0.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes


## 4.0.0 (2022-04-12)

**Features**

- Added Interface AvailabilityStatusPropertiesRecentlyResolved
- Added Interface ErrorResponseError
- Added Type Alias ImpactedResourceStatus
- Added Type Alias ReasonTypeValues
- Interface AvailabilityStatusProperties has a new optional parameter occurredTime
- Interface AvailabilityStatusProperties has a new optional parameter recentlyResolved
- Interface AvailabilityStatusProperties has a new optional parameter title
- Interface ErrorResponse has a new optional parameter error
- Added Enum KnownAvailabilityStateValues
- Added Enum KnownReasonChronicityTypes
- Added Enum KnownReasonTypeValues

**Breaking Changes**

- Removed operation group ChildAvailabilityStatuses
- Removed operation group ChildResources
- Removed operation group EmergingIssues
- Interface AvailabilityStatusProperties no longer has parameter occuredTime
- Interface AvailabilityStatusProperties no longer has parameter recentlyResolvedState
- Interface ErrorResponse no longer has parameter code
- Interface ErrorResponse no longer has parameter details
- Interface ErrorResponse no longer has parameter message
- Class MicrosoftResourceHealth no longer has parameter childAvailabilityStatuses
- Class MicrosoftResourceHealth no longer has parameter childResources
- Class MicrosoftResourceHealth no longer has parameter emergingIssues
- Removed Enum KnownSeverityValues
- Removed Enum KnownStageValues


## 3.0.0 (2021-12-22)

The package of @azure/arm-resourcehealth is using our next generation design principles since version 3.0.0, which contains breaking changes.
Expand Down
2 changes: 1 addition & 1 deletion sdk/resourcehealth/arm-resourcehealth/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
7 changes: 4 additions & 3 deletions sdk/resourcehealth/arm-resourcehealth/_meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"commit": "0cd7b3e83d5e7e21222dcc4bdde4565562da0cdf",
"commit": "110f6016cf0e06195767ec528a122d21ab5d4f2a",
"readme": "specification/resourcehealth/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/resourcehealth/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/resourcehealth/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/resourcehealth/arm-resourcehealth/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-resourcehealth.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"
}
}
}
}
}
Loading

0 comments on commit 0b370b1

Please sign in to comment.