Skip to content

Commit 4c3d38b

Browse files
author
SDKAuto
committed
CodeGen from PR 22479 in Azure/azure-rest-api-specs
Merge 4a8716bc86e0142b4251dd36155b800a2571efc4 into c94b5583e56b7ffcfeaee8dbb9e09516c43fc324
1 parent 2ef60ab commit 4c3d38b

23 files changed

+4597
-842
lines changed

sdk/resourcemanager/resourcehealth/armresourcehealth/CHANGELOG.md

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

3+
## 2.0.0-beta.1 (2023-02-08)
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 `IssueNameParameter` with values `IssueNameParameterDefault`
20+
- New type alias `LevelValues` with values `LevelValuesCritical`, `LevelValuesWarning`
21+
- New type alias `LinkTypeValues` with values `LinkTypeValuesButton`, `LinkTypeValuesHyperlink`
22+
- New type alias `Scenario` with values `ScenarioAlerts`
23+
- New type alias `SeverityValues` with values `SeverityValuesError`, `SeverityValuesInformation`, `SeverityValuesWarning`
24+
- New type alias `StageValues` with values `StageValuesActive`, `StageValuesArchived`, `StageValuesResolve`
25+
- New function `NewEmergingIssuesClient(azcore.TokenCredential, *arm.ClientOptions) (*EmergingIssuesClient, error)`
26+
- New function `*EmergingIssuesClient.Get(context.Context, IssueNameParameter, *EmergingIssuesClientGetOptions) (EmergingIssuesClientGetResponse, error)`
27+
- New function `*EmergingIssuesClient.NewListPager(*EmergingIssuesClientListOptions) *runtime.Pager[EmergingIssuesClientListResponse]`
28+
- New function `NewEventClient(string, azcore.TokenCredential, *arm.ClientOptions) (*EventClient, error)`
29+
- New function `*EventClient.FetchDetailsBySubscriptionIDAndTrackingID(context.Context, string, *EventClientFetchDetailsBySubscriptionIDAndTrackingIDOptions) (EventClientFetchDetailsBySubscriptionIDAndTrackingIDResponse, error)`
30+
- New function `*EventClient.FetchDetailsByTenantIDAndTrackingID(context.Context, string, *EventClientFetchDetailsByTenantIDAndTrackingIDOptions) (EventClientFetchDetailsByTenantIDAndTrackingIDResponse, error)`
31+
- New function `*EventClient.GetBySubscriptionIDAndTrackingID(context.Context, string, *EventClientGetBySubscriptionIDAndTrackingIDOptions) (EventClientGetBySubscriptionIDAndTrackingIDResponse, error)`
32+
- New function `*EventClient.GetByTenantIDAndTrackingID(context.Context, string, *EventClientGetByTenantIDAndTrackingIDOptions) (EventClientGetByTenantIDAndTrackingIDResponse, error)`
33+
- New function `NewEventsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*EventsClient, error)`
34+
- New function `*EventsClient.NewListBySingleResourcePager(string, *EventsClientListBySingleResourceOptions) *runtime.Pager[EventsClientListBySingleResourceResponse]`
35+
- New function `*EventsClient.NewListBySubscriptionIDPager(*EventsClientListBySubscriptionIDOptions) *runtime.Pager[EventsClientListBySubscriptionIDResponse]`
36+
- New function `*EventsClient.NewListByTenantIDPager(*EventsClientListByTenantIDOptions) *runtime.Pager[EventsClientListByTenantIDResponse]`
37+
- New function `NewImpactedResourcesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ImpactedResourcesClient, error)`
38+
- New function `*ImpactedResourcesClient.Get(context.Context, string, string, *ImpactedResourcesClientGetOptions) (ImpactedResourcesClientGetResponse, error)`
39+
- New function `*ImpactedResourcesClient.GetByTenantID(context.Context, string, string, *ImpactedResourcesClientGetByTenantIDOptions) (ImpactedResourcesClientGetByTenantIDResponse, error)`
40+
- New function `*ImpactedResourcesClient.NewListBySubscriptionIDAndEventIDPager(string, *ImpactedResourcesClientListBySubscriptionIDAndEventIDOptions) *runtime.Pager[ImpactedResourcesClientListBySubscriptionIDAndEventIDResponse]`
41+
- New function `*ImpactedResourcesClient.NewListByTenantIDAndEventIDPager(string, *ImpactedResourcesClientListByTenantIDAndEventIDOptions) *runtime.Pager[ImpactedResourcesClientListByTenantIDAndEventIDResponse]`
42+
- New function `NewMetadataClient(azcore.TokenCredential, *arm.ClientOptions) (*MetadataClient, error)`
43+
- New function `*MetadataClient.GetEntity(context.Context, string, *MetadataClientGetEntityOptions) (MetadataClientGetEntityResponse, error)`
44+
- New function `*MetadataClient.NewListPager(*MetadataClientListOptions) *runtime.Pager[MetadataClientListResponse]`
45+
- New function `NewSecurityAdvisoryImpactedResourcesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*SecurityAdvisoryImpactedResourcesClient, error)`
46+
- New function `*SecurityAdvisoryImpactedResourcesClient.NewListBySubscriptionIDAndEventIDPager(string, *SecurityAdvisoryImpactedResourcesClientListBySubscriptionIDAndEventIDOptions) *runtime.Pager[SecurityAdvisoryImpactedResourcesClientListBySubscriptionIDAndEventIDResponse]`
47+
- New function `*SecurityAdvisoryImpactedResourcesClient.NewListByTenantIDAndEventIDPager(string, *SecurityAdvisoryImpactedResourcesClientListByTenantIDAndEventIDOptions) *runtime.Pager[SecurityAdvisoryImpactedResourcesClientListByTenantIDAndEventIDResponse]`
48+
- New struct `EmergingIssue`
49+
- New struct `EmergingIssueImpact`
50+
- New struct `EmergingIssueListResult`
51+
- New struct `EmergingIssuesClient`
52+
- New struct `EmergingIssuesClientListResponse`
53+
- New struct `EmergingIssuesGetResult`
54+
- New struct `Event`
55+
- New struct `EventClient`
56+
- New struct `EventImpactedResource`
57+
- New struct `EventImpactedResourceListResult`
58+
- New struct `EventImpactedResourceProperties`
59+
- New struct `EventProperties`
60+
- New struct `EventPropertiesAdditionalInformation`
61+
- New struct `EventPropertiesArticle`
62+
- New struct `EventPropertiesRecommendedActions`
63+
- New struct `EventPropertiesRecommendedActionsItem`
64+
- New struct `Events`
65+
- New struct `EventsClient`
66+
- New struct `EventsClientListBySingleResourceResponse`
67+
- New struct `EventsClientListBySubscriptionIDResponse`
68+
- New struct `EventsClientListByTenantIDResponse`
69+
- New struct `Faq`
70+
- New struct `Impact`
71+
- New struct `ImpactedResourcesClient`
72+
- New struct `ImpactedResourcesClientListBySubscriptionIDAndEventIDResponse`
73+
- New struct `ImpactedResourcesClientListByTenantIDAndEventIDResponse`
74+
- New struct `ImpactedServiceRegion`
75+
- New struct `KeyValueItem`
76+
- New struct `Link`
77+
- New struct `LinkDisplayText`
78+
- New struct `MetadataClient`
79+
- New struct `MetadataClientListResponse`
80+
- New struct `MetadataEntity`
81+
- New struct `MetadataEntityListResult`
82+
- New struct `MetadataEntityProperties`
83+
- New struct `MetadataSupportedValueDetail`
84+
- New struct `ProxyResource`
85+
- New struct `SecurityAdvisoryImpactedResourcesClient`
86+
- New struct `SecurityAdvisoryImpactedResourcesClientListBySubscriptionIDAndEventIDResponse`
87+
- New struct `SecurityAdvisoryImpactedResourcesClientListByTenantIDAndEventIDResponse`
88+
- New struct `StatusActiveEvent`
89+
- New struct `SystemData`
90+
- New struct `Update`
91+
- New field `Category` in struct `AvailabilityStatusProperties`
92+
- New field `Context` in struct `AvailabilityStatusProperties`
93+
- New field `OccuredTime` in struct `AvailabilityStatusProperties`
94+
- New field `UnavailableOccuredTime` in struct `AvailabilityStatusPropertiesRecentlyResolved`
95+
- New field `UnavailableSummary` in struct `AvailabilityStatusPropertiesRecentlyResolved`
96+
- New field `Code` in struct `ErrorResponse`
97+
- New field `Details` in struct `ErrorResponse`
98+
- New field `Message` in struct `ErrorResponse`
99+
- New field `SystemData` in struct `ImpactedResourceStatus`
100+
- New field `SystemData` in struct `Resource`
101+
102+
3103
## 1.0.0 (2022-05-18)
4104

5105
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: 35 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)