Skip to content

Commit

Permalink
CodeGen from PR 22479 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 4a8716bc86e0142b4251dd36155b800a2571efc4 into c94b5583e56b7ffcfeaee8dbb9e09516c43fc324
  • Loading branch information
SDKAuto committed Feb 8, 2023
1 parent 2ef60ab commit 4c3d38b
Show file tree
Hide file tree
Showing 23 changed files with 4,597 additions and 842 deletions.
100 changes: 100 additions & 0 deletions sdk/resourcemanager/resourcehealth/armresourcehealth/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,105 @@
# Release History

## 2.0.0-beta.1 (2023-02-08)
### Breaking Changes

- Struct `ErrorResponseError` has been removed
- Field `OccurredTime` of struct `AvailabilityStatusProperties` has been removed
- Field `UnavailabilitySummary` of struct `AvailabilityStatusPropertiesRecentlyResolved` has been removed
- Field `UnavailableOccurredTime` of struct `AvailabilityStatusPropertiesRecentlyResolved` has been removed
- Field `Error` of struct `ErrorResponse` has been removed

### Features Added

- New type alias `CreatedByType` with values `CreatedByTypeApplication`, `CreatedByTypeKey`, `CreatedByTypeManagedIdentity`, `CreatedByTypeUser`
- New type alias `EventLevelValues` with values `EventLevelValuesCritical`, `EventLevelValuesError`, `EventLevelValuesInformational`, `EventLevelValuesWarning`
- New type alias `EventSourceValues` with values `EventSourceValuesResourceHealth`, `EventSourceValuesServiceHealth`
- New type alias `EventStatusValues` with values `EventStatusValuesActive`, `EventStatusValuesResolved`
- New type alias `EventTypeValues` with values `EventTypeValuesEmergingIssues`, `EventTypeValuesHealthAdvisory`, `EventTypeValuesPlannedMaintenance`, `EventTypeValuesRCA`, `EventTypeValuesSecurityAdvisory`, `EventTypeValuesServiceIssue`
- New type alias `IssueNameParameter` with values `IssueNameParameterDefault`
- New type alias `LevelValues` with values `LevelValuesCritical`, `LevelValuesWarning`
- New type alias `LinkTypeValues` with values `LinkTypeValuesButton`, `LinkTypeValuesHyperlink`
- New type alias `Scenario` with values `ScenarioAlerts`
- New type alias `SeverityValues` with values `SeverityValuesError`, `SeverityValuesInformation`, `SeverityValuesWarning`
- New type alias `StageValues` with values `StageValuesActive`, `StageValuesArchived`, `StageValuesResolve`
- New function `NewEmergingIssuesClient(azcore.TokenCredential, *arm.ClientOptions) (*EmergingIssuesClient, error)`
- New function `*EmergingIssuesClient.Get(context.Context, IssueNameParameter, *EmergingIssuesClientGetOptions) (EmergingIssuesClientGetResponse, error)`
- New function `*EmergingIssuesClient.NewListPager(*EmergingIssuesClientListOptions) *runtime.Pager[EmergingIssuesClientListResponse]`
- New function `NewEventClient(string, azcore.TokenCredential, *arm.ClientOptions) (*EventClient, error)`
- New function `*EventClient.FetchDetailsBySubscriptionIDAndTrackingID(context.Context, string, *EventClientFetchDetailsBySubscriptionIDAndTrackingIDOptions) (EventClientFetchDetailsBySubscriptionIDAndTrackingIDResponse, error)`
- New function `*EventClient.FetchDetailsByTenantIDAndTrackingID(context.Context, string, *EventClientFetchDetailsByTenantIDAndTrackingIDOptions) (EventClientFetchDetailsByTenantIDAndTrackingIDResponse, error)`
- New function `*EventClient.GetBySubscriptionIDAndTrackingID(context.Context, string, *EventClientGetBySubscriptionIDAndTrackingIDOptions) (EventClientGetBySubscriptionIDAndTrackingIDResponse, error)`
- New function `*EventClient.GetByTenantIDAndTrackingID(context.Context, string, *EventClientGetByTenantIDAndTrackingIDOptions) (EventClientGetByTenantIDAndTrackingIDResponse, error)`
- New function `NewEventsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*EventsClient, error)`
- New function `*EventsClient.NewListBySingleResourcePager(string, *EventsClientListBySingleResourceOptions) *runtime.Pager[EventsClientListBySingleResourceResponse]`
- New function `*EventsClient.NewListBySubscriptionIDPager(*EventsClientListBySubscriptionIDOptions) *runtime.Pager[EventsClientListBySubscriptionIDResponse]`
- New function `*EventsClient.NewListByTenantIDPager(*EventsClientListByTenantIDOptions) *runtime.Pager[EventsClientListByTenantIDResponse]`
- New function `NewImpactedResourcesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ImpactedResourcesClient, error)`
- New function `*ImpactedResourcesClient.Get(context.Context, string, string, *ImpactedResourcesClientGetOptions) (ImpactedResourcesClientGetResponse, error)`
- New function `*ImpactedResourcesClient.GetByTenantID(context.Context, string, string, *ImpactedResourcesClientGetByTenantIDOptions) (ImpactedResourcesClientGetByTenantIDResponse, error)`
- New function `*ImpactedResourcesClient.NewListBySubscriptionIDAndEventIDPager(string, *ImpactedResourcesClientListBySubscriptionIDAndEventIDOptions) *runtime.Pager[ImpactedResourcesClientListBySubscriptionIDAndEventIDResponse]`
- New function `*ImpactedResourcesClient.NewListByTenantIDAndEventIDPager(string, *ImpactedResourcesClientListByTenantIDAndEventIDOptions) *runtime.Pager[ImpactedResourcesClientListByTenantIDAndEventIDResponse]`
- New function `NewMetadataClient(azcore.TokenCredential, *arm.ClientOptions) (*MetadataClient, error)`
- New function `*MetadataClient.GetEntity(context.Context, string, *MetadataClientGetEntityOptions) (MetadataClientGetEntityResponse, error)`
- New function `*MetadataClient.NewListPager(*MetadataClientListOptions) *runtime.Pager[MetadataClientListResponse]`
- New function `NewSecurityAdvisoryImpactedResourcesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*SecurityAdvisoryImpactedResourcesClient, error)`
- New function `*SecurityAdvisoryImpactedResourcesClient.NewListBySubscriptionIDAndEventIDPager(string, *SecurityAdvisoryImpactedResourcesClientListBySubscriptionIDAndEventIDOptions) *runtime.Pager[SecurityAdvisoryImpactedResourcesClientListBySubscriptionIDAndEventIDResponse]`
- New function `*SecurityAdvisoryImpactedResourcesClient.NewListByTenantIDAndEventIDPager(string, *SecurityAdvisoryImpactedResourcesClientListByTenantIDAndEventIDOptions) *runtime.Pager[SecurityAdvisoryImpactedResourcesClientListByTenantIDAndEventIDResponse]`
- New struct `EmergingIssue`
- New struct `EmergingIssueImpact`
- New struct `EmergingIssueListResult`
- New struct `EmergingIssuesClient`
- New struct `EmergingIssuesClientListResponse`
- New struct `EmergingIssuesGetResult`
- New struct `Event`
- New struct `EventClient`
- New struct `EventImpactedResource`
- New struct `EventImpactedResourceListResult`
- New struct `EventImpactedResourceProperties`
- New struct `EventProperties`
- New struct `EventPropertiesAdditionalInformation`
- New struct `EventPropertiesArticle`
- New struct `EventPropertiesRecommendedActions`
- New struct `EventPropertiesRecommendedActionsItem`
- New struct `Events`
- New struct `EventsClient`
- New struct `EventsClientListBySingleResourceResponse`
- New struct `EventsClientListBySubscriptionIDResponse`
- New struct `EventsClientListByTenantIDResponse`
- New struct `Faq`
- New struct `Impact`
- New struct `ImpactedResourcesClient`
- New struct `ImpactedResourcesClientListBySubscriptionIDAndEventIDResponse`
- New struct `ImpactedResourcesClientListByTenantIDAndEventIDResponse`
- New struct `ImpactedServiceRegion`
- New struct `KeyValueItem`
- New struct `Link`
- New struct `LinkDisplayText`
- New struct `MetadataClient`
- New struct `MetadataClientListResponse`
- New struct `MetadataEntity`
- New struct `MetadataEntityListResult`
- New struct `MetadataEntityProperties`
- New struct `MetadataSupportedValueDetail`
- New struct `ProxyResource`
- New struct `SecurityAdvisoryImpactedResourcesClient`
- New struct `SecurityAdvisoryImpactedResourcesClientListBySubscriptionIDAndEventIDResponse`
- New struct `SecurityAdvisoryImpactedResourcesClientListByTenantIDAndEventIDResponse`
- New struct `StatusActiveEvent`
- New struct `SystemData`
- New struct `Update`
- New field `Category` in struct `AvailabilityStatusProperties`
- New field `Context` in struct `AvailabilityStatusProperties`
- New field `OccuredTime` in struct `AvailabilityStatusProperties`
- New field `UnavailableOccuredTime` in struct `AvailabilityStatusPropertiesRecentlyResolved`
- New field `UnavailableSummary` in struct `AvailabilityStatusPropertiesRecentlyResolved`
- New field `Code` in struct `ErrorResponse`
- New field `Details` in struct `ErrorResponse`
- New field `Message` in struct `ErrorResponse`
- New field `SystemData` in struct `ImpactedResourceStatus`
- New field `SystemData` in struct `Resource`


## 1.0.0 (2022-05-18)

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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
``` yaml
azure-arm: true
require:
- https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/resourcehealth/resource-manager/readme.md
- https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/resourcehealth/resource-manager/readme.go.md
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/resourcehealth/resource-manager/readme.md
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/resourcehealth/resource-manager/readme.go.md
license-header: MICROSOFT_MIT_NO_VERSION
module-version: 1.0.0
module-version: 2.0.0-beta.1
```

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

Loading

0 comments on commit 4c3d38b

Please sign in to comment.