Skip to content

Commit 3d1c216

Browse files
author
SDKAuto
committed
CodeGen from PR 21896 in Azure/azure-rest-api-specs
Merge 39467a7defe0d98fcd97ab09e352f1e5306b773c into 0a66845cd027ac172458f2a0856d25d517b7846d
1 parent 51c2003 commit 3d1c216

21 files changed

+3602
-817
lines changed

sdk/resourcemanager/resourcehealth/armresourcehealth/CHANGELOG.md

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,80 @@
11
# Release History
22

3+
## 2.0.0-beta.1 (2022-12-15)
4+
### Breaking Changes
5+
6+
- Struct `ErrorResponseError` has been removed
7+
- Field `OccurredTime` of struct `AvailabilityStatusProperties` has been removed
8+
- Field `UnavailabilitySummary` of struct `AvailabilityStatusPropertiesRecentlyResolved` has been removed
9+
- Field `UnavailableOccurredTime` of struct `AvailabilityStatusPropertiesRecentlyResolved` has been removed
10+
- Field `Error` of struct `ErrorResponse` has been removed
11+
12+
### Features Added
13+
14+
- New type alias `CreatedByType` with values `CreatedByTypeApplication`, `CreatedByTypeKey`, `CreatedByTypeManagedIdentity`, `CreatedByTypeUser`
15+
- New type alias `EventLevelValues` with values `EventLevelValuesCritical`, `EventLevelValuesError`, `EventLevelValuesInformational`, `EventLevelValuesWarning`
16+
- New type alias `EventSourceValues` with values `EventSourceValuesResourceHealth`, `EventSourceValuesServiceHealth`
17+
- New type alias `EventStatusValues` with values `EventStatusValuesActive`, `EventStatusValuesResolved`
18+
- New type alias `EventTypeValues` with values `EventTypeValuesEmergingIssues`, `EventTypeValuesHealthAdvisory`, `EventTypeValuesPlannedMaintenance`, `EventTypeValuesRCA`, `EventTypeValuesSecurityAdvisory`, `EventTypeValuesServiceIssue`
19+
- New type alias `LevelValues` with values `LevelValuesCritical`, `LevelValuesWarning`
20+
- New type alias `LinkTypeValues` with values `LinkTypeValuesButton`, `LinkTypeValuesHyperlink`
21+
- New function `NewEventClient(string, azcore.TokenCredential, *arm.ClientOptions) (*EventClient, error)`
22+
- New function `*EventClient.FetchDetailsBySubscriptionIDAndTrackingID(context.Context, string, *EventClientFetchDetailsBySubscriptionIDAndTrackingIDOptions) (EventClientFetchDetailsBySubscriptionIDAndTrackingIDResponse, error)`
23+
- New function `*EventClient.FetchDetailsByTenantIDAndTrackingID(context.Context, string, *EventClientFetchDetailsByTenantIDAndTrackingIDOptions) (EventClientFetchDetailsByTenantIDAndTrackingIDResponse, error)`
24+
- New function `*EventClient.GetBySubscriptionIDAndTrackingID(context.Context, string, *EventClientGetBySubscriptionIDAndTrackingIDOptions) (EventClientGetBySubscriptionIDAndTrackingIDResponse, error)`
25+
- New function `*EventClient.GetByTenantIDAndTrackingID(context.Context, string, *EventClientGetByTenantIDAndTrackingIDOptions) (EventClientGetByTenantIDAndTrackingIDResponse, error)`
26+
- New function `NewEventsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*EventsClient, error)`
27+
- New function `*EventsClient.NewListBySingleResourcePager(string, *EventsClientListBySingleResourceOptions) *runtime.Pager[EventsClientListBySingleResourceResponse]`
28+
- New function `*EventsClient.NewListBySubscriptionIDPager(*EventsClientListBySubscriptionIDOptions) *runtime.Pager[EventsClientListBySubscriptionIDResponse]`
29+
- New function `*EventsClient.NewListByTenantIDPager(*EventsClientListByTenantIDOptions) *runtime.Pager[EventsClientListByTenantIDResponse]`
30+
- New function `NewImpactedResourcesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ImpactedResourcesClient, error)`
31+
- New function `*ImpactedResourcesClient.Get(context.Context, string, string, *ImpactedResourcesClientGetOptions) (ImpactedResourcesClientGetResponse, error)`
32+
- New function `*ImpactedResourcesClient.GetByTenantID(context.Context, string, string, *ImpactedResourcesClientGetByTenantIDOptions) (ImpactedResourcesClientGetByTenantIDResponse, error)`
33+
- New function `*ImpactedResourcesClient.NewListBySubscriptionIDAndEventIDPager(string, *ImpactedResourcesClientListBySubscriptionIDAndEventIDOptions) *runtime.Pager[ImpactedResourcesClientListBySubscriptionIDAndEventIDResponse]`
34+
- New function `*ImpactedResourcesClient.NewListByTenantIDAndEventIDPager(string, *ImpactedResourcesClientListByTenantIDAndEventIDOptions) *runtime.Pager[ImpactedResourcesClientListByTenantIDAndEventIDResponse]`
35+
- New function `NewSecurityAdvisoryImpactedResourcesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*SecurityAdvisoryImpactedResourcesClient, error)`
36+
- New function `*SecurityAdvisoryImpactedResourcesClient.NewListBySubscriptionIDAndEventIDPager(string, *SecurityAdvisoryImpactedResourcesClientListBySubscriptionIDAndEventIDOptions) *runtime.Pager[SecurityAdvisoryImpactedResourcesClientListBySubscriptionIDAndEventIDResponse]`
37+
- New function `*SecurityAdvisoryImpactedResourcesClient.NewListByTenantIDAndEventIDPager(string, *SecurityAdvisoryImpactedResourcesClientListByTenantIDAndEventIDOptions) *runtime.Pager[SecurityAdvisoryImpactedResourcesClientListByTenantIDAndEventIDResponse]`
38+
- New struct `Event`
39+
- New struct `EventClient`
40+
- New struct `EventImpactedResource`
41+
- New struct `EventImpactedResourceListResult`
42+
- New struct `EventImpactedResourceProperties`
43+
- New struct `EventProperties`
44+
- New struct `EventPropertiesAdditionalInformation`
45+
- New struct `EventPropertiesArticle`
46+
- New struct `EventPropertiesRecommendedActions`
47+
- New struct `EventPropertiesRecommendedActionsItem`
48+
- New struct `Events`
49+
- New struct `EventsClient`
50+
- New struct `EventsClientListBySingleResourceResponse`
51+
- New struct `EventsClientListBySubscriptionIDResponse`
52+
- New struct `EventsClientListByTenantIDResponse`
53+
- New struct `Faq`
54+
- New struct `Impact`
55+
- New struct `ImpactedResourcesClient`
56+
- New struct `ImpactedResourcesClientListBySubscriptionIDAndEventIDResponse`
57+
- New struct `ImpactedResourcesClientListByTenantIDAndEventIDResponse`
58+
- New struct `ImpactedServiceRegion`
59+
- New struct `KeyValueItem`
60+
- New struct `Link`
61+
- New struct `LinkDisplayText`
62+
- New struct `ProxyResource`
63+
- New struct `SecurityAdvisoryImpactedResourcesClient`
64+
- New struct `SecurityAdvisoryImpactedResourcesClientListBySubscriptionIDAndEventIDResponse`
65+
- New struct `SecurityAdvisoryImpactedResourcesClientListByTenantIDAndEventIDResponse`
66+
- New struct `SystemData`
67+
- New struct `Update`
68+
- New field `OccuredTime` in struct `AvailabilityStatusProperties`
69+
- New field `UnavailableOccuredTime` in struct `AvailabilityStatusPropertiesRecentlyResolved`
70+
- New field `UnavailableSummary` in struct `AvailabilityStatusPropertiesRecentlyResolved`
71+
- New field `Code` in struct `ErrorResponse`
72+
- New field `Details` in struct `ErrorResponse`
73+
- New field `Message` in struct `ErrorResponse`
74+
- New field `SystemData` in struct `ImpactedResourceStatus`
75+
- New field `SystemData` in struct `Resource`
76+
77+
378
## 1.0.0 (2022-05-18)
479

580
The package of `github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resourcehealth/armresourcehealth` is using our [next generation design principles](https://azure.github.io/azure-sdk/general_introduction.html) since version 1.0.0, which contains breaking changes.

sdk/resourcemanager/resourcehealth/armresourcehealth/autorest.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
``` yaml
66
azure-arm: true
77
require:
8-
- https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/resourcehealth/resource-manager/readme.md
9-
- https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/resourcehealth/resource-manager/readme.go.md
8+
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/resourcehealth/resource-manager/readme.md
9+
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/resourcehealth/resource-manager/readme.go.md
1010
license-header: MICROSOFT_MIT_NO_VERSION
11-
module-version: 1.0.0
11+
module-version: 2.0.0-beta.1
1212
```
Lines changed: 10 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/resourcemanager/resourcehealth/armresourcehealth/constants.go

Lines changed: 198 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)