|
1 | 1 | # Release History |
2 | 2 |
|
| 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 | + |
3 | 76 | ## 1.0.0 (2022-05-18) |
4 | 77 |
|
5 | 78 | 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. |
|
0 commit comments