Skip to content

Commit 6db4b84

Browse files
author
SDKAuto
committed
CodeGen from PR 21758 in Azure/azure-rest-api-specs
Merge 79ec6950ac49e72a45b9588c07d013fde054e93d into 7063fb575705fc4fb2d2309362209159e2071961
1 parent 10c27bb commit 6db4b84

21 files changed

+3476
-817
lines changed

sdk/resourcemanager/resourcehealth/armresourcehealth/CHANGELOG.md

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

3+
## 2.0.0-beta.1 (2022-12-05)
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.GetBySubscriptionIDAndTrackingID(context.Context, string, *EventClientGetBySubscriptionIDAndTrackingIDOptions) (EventClientGetBySubscriptionIDAndTrackingIDResponse, error)`
23+
- New function `*EventClient.GetByTenantIDAndTrackingID(context.Context, string, *EventClientGetByTenantIDAndTrackingIDOptions) (EventClientGetByTenantIDAndTrackingIDResponse, error)`
24+
- New function `NewEventsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*EventsClient, error)`
25+
- New function `*EventsClient.NewListBySingleResourcePager(string, *EventsClientListBySingleResourceOptions) *runtime.Pager[EventsClientListBySingleResourceResponse]`
26+
- New function `*EventsClient.NewListBySubscriptionIDPager(*EventsClientListBySubscriptionIDOptions) *runtime.Pager[EventsClientListBySubscriptionIDResponse]`
27+
- New function `*EventsClient.NewListByTenantIDPager(*EventsClientListByTenantIDOptions) *runtime.Pager[EventsClientListByTenantIDResponse]`
28+
- New function `NewImpactedResourcesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ImpactedResourcesClient, error)`
29+
- New function `*ImpactedResourcesClient.Get(context.Context, string, string, *ImpactedResourcesClientGetOptions) (ImpactedResourcesClientGetResponse, error)`
30+
- New function `*ImpactedResourcesClient.GetByTenantID(context.Context, string, string, *ImpactedResourcesClientGetByTenantIDOptions) (ImpactedResourcesClientGetByTenantIDResponse, error)`
31+
- New function `*ImpactedResourcesClient.NewListBySubscriptionIDAndEventIDPager(string, *ImpactedResourcesClientListBySubscriptionIDAndEventIDOptions) *runtime.Pager[ImpactedResourcesClientListBySubscriptionIDAndEventIDResponse]`
32+
- New function `*ImpactedResourcesClient.NewListByTenantIDAndEventIDPager(string, *ImpactedResourcesClientListByTenantIDAndEventIDOptions) *runtime.Pager[ImpactedResourcesClientListByTenantIDAndEventIDResponse]`
33+
- New function `NewSecurityAdvisoryImpactedResourcesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*SecurityAdvisoryImpactedResourcesClient, error)`
34+
- New function `*SecurityAdvisoryImpactedResourcesClient.NewListBySubscriptionIDAndEventIDPager(string, *SecurityAdvisoryImpactedResourcesClientListBySubscriptionIDAndEventIDOptions) *runtime.Pager[SecurityAdvisoryImpactedResourcesClientListBySubscriptionIDAndEventIDResponse]`
35+
- New function `*SecurityAdvisoryImpactedResourcesClient.NewListByTenantIDAndEventIDPager(string, *SecurityAdvisoryImpactedResourcesClientListByTenantIDAndEventIDOptions) *runtime.Pager[SecurityAdvisoryImpactedResourcesClientListByTenantIDAndEventIDResponse]`
36+
- New struct `Event`
37+
- New struct `EventClient`
38+
- New struct `EventImpactedResource`
39+
- New struct `EventImpactedResourceListResult`
40+
- New struct `EventImpactedResourceProperties`
41+
- New struct `EventProperties`
42+
- New struct `EventPropertiesAdditionalInformation`
43+
- New struct `EventPropertiesArticle`
44+
- New struct `EventPropertiesRecommendedActions`
45+
- New struct `EventPropertiesRecommendedActionsItem`
46+
- New struct `Events`
47+
- New struct `EventsClient`
48+
- New struct `EventsClientListBySingleResourceResponse`
49+
- New struct `EventsClientListBySubscriptionIDResponse`
50+
- New struct `EventsClientListByTenantIDResponse`
51+
- New struct `Faq`
52+
- New struct `Impact`
53+
- New struct `ImpactedResourcesClient`
54+
- New struct `ImpactedResourcesClientListBySubscriptionIDAndEventIDResponse`
55+
- New struct `ImpactedResourcesClientListByTenantIDAndEventIDResponse`
56+
- New struct `ImpactedServiceRegion`
57+
- New struct `KeyValueItem`
58+
- New struct `Link`
59+
- New struct `LinkDisplayText`
60+
- New struct `ProxyResource`
61+
- New struct `SecurityAdvisoryImpactedResourcesClient`
62+
- New struct `SecurityAdvisoryImpactedResourcesClientListBySubscriptionIDAndEventIDResponse`
63+
- New struct `SecurityAdvisoryImpactedResourcesClientListByTenantIDAndEventIDResponse`
64+
- New struct `SystemData`
65+
- New struct `Update`
66+
- New field `OccuredTime` in struct `AvailabilityStatusProperties`
67+
- New field `UnavailableOccuredTime` in struct `AvailabilityStatusPropertiesRecentlyResolved`
68+
- New field `UnavailableSummary` in struct `AvailabilityStatusPropertiesRecentlyResolved`
69+
- New field `Code` in struct `ErrorResponse`
70+
- New field `Details` in struct `ErrorResponse`
71+
- New field `Message` in struct `ErrorResponse`
72+
- New field `SystemData` in struct `ImpactedResourceStatus`
73+
- New field `SystemData` in struct `Resource`
74+
75+
376
## 1.0.0 (2022-05-18)
477

578
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)