Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Hub Generated] Review request for Microsoft.ResourceHealth to add version preview/2022-10-01-preview #22479

Conversation

abhayohri
Copy link
Contributor

@abhayohri abhayohri commented Feb 6, 2023

This is a PR generated at OpenAPI Hub. You can view your work branch via this link.

ARM API Information (Control Plane)

Azure 1st Party Service can try out the Shift Left experience to initiate API design review from ADO code repo. If you are interested, may request engineering support by filling in with the form https://aka.ms/ShiftLeftSupportForm.

Changelog

Add a changelog entry for this PR by answering the following questions:

  1. What's the purpose of the update?
    • new service onboarding
    • new API version
    • update existing version for new feature
    • update existing version to fix swagger quality issue in s360
    • Other, please clarify
  2. When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
  3. When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
  4. By default, Azure SDKs of all languages (.NET/Python/Java/JavaScript for both management-plane SDK and data-plane SDK, Go for management-plane SDK only ) MUST be refreshed with/after swagger of new version is published. If you prefer NOT to refresh any specific SDK language upon swagger updates in the current PR, please leave details with justification here.

Contribution checklist (MS Employees Only):

If any further question about AME onboarding or validation tools, please view the FAQ.

ARM API Review Checklist

Applicability: ⚠️

If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

  • Change to data plane APIs
  • Adding new properties
  • All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

  • Check this box if any of the following apply to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review. Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.

    • Adding a new service
    • Adding new API(s)
    • Adding a new API version
      -[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki.
  • Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

  • If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist

If you have any breaking changes as defined in the Breaking Change Policy, request approval from the Breaking Change Review Board.

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Additional details on the process and office hours are on the Breaking Change Wiki.

NOTE: To update API(s) in public preview for over 1 year (refer to Retirement of Previews)

Please follow the link to find more details on PR review process.

abhishek-corp and others added 12 commits December 5, 2022 12:51
…2022-05-01-preview to version 2022-10-01-preview
* Added ImpactedResources for Tenant.

* Added new API listSecurityAdvisoryImpactedResources for Subscriptions and Tenants.

* Added Tenant ImpactedResources, SecurityImpactedResources.

* Changes to examples for Subscription ImpactedResources.

* Added resourceName pattern for ImpactedResourceNameParameter.

* Changes to example - SecurityAdvisoryImpactedResources_ListByTenantId_ListByEventId. Removed subscriptionId from unique resourceId.
* added fetchEventDetails initial commit

* linter fixes

* removed filterparam

* re-add incorrectly deleted filter parameter

* removed query start time parameter
* Added EmergingIssues API paths from 2018-07-01.

* Fix LintDiff error - x-ms-identifiers

* Fix LintDiff error - MissingTypeObject

* Changed resource definition from v1 to v3.
* Adding 2 new fields to AvailabilityStatuses response.

* Modified availabilitystatuses examples, changes to descriptions.

* Modified availabilitystatuses examples - 2
…2022-05-01-preview to version 2022-10-01-preview
…preview' into abhayohri-resourcehealth-Microsoft.ResourceHealth-2022-10-01-preview
@openapi-workflow-bot
Copy link

Hi, @abhayohri Thanks for your PR. I am workflow bot for review process. Here are some small tips.

  • Please ensure to do self-check against checklists in first PR comment.
  • PR assignee is the person auto-assigned and responsible for your current PR reviewing and merging.
  • For specs comparison cross API versions, Use API Specs Comparison Report Generator
  • If there is CI failure(s), to fix CI error(s) is mandatory for PR merging; or you need to provide justification in PR comment for explanation. How to fix?

  • Any feedback about review process or workflow bot, pls contact swagger and tools team. vscswagger@microsoft.com

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Feb 6, 2023

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️⚠️Breaking Change(Cross-Version): 2 Warnings warning [Detail]
    compared swaggers (via Oad v0.10.4)] new version base version
    ResourceHealth.json 2022-10-01-preview(4a8716b) 2022-05-01(main)
    ResourceHealth.json 2022-10-01-preview(4a8716b) 2022-05-01-preview(main)

    The following breaking changes are detected by comparison with the latest preview version:

    Rule Message
    ⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
    New: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L385:9
    Old: Microsoft.ResourceHealth/preview/2022-05-01-preview/ResourceHealth.json#L309:9
    ⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
    New: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L2145:5
    Old: Microsoft.ResourceHealth/preview/2022-05-01-preview/ResourceHealth.json#L1504:5
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️❌LintDiff: 13 Errors, 9 Warnings failed [Detail]
    compared tags (via openapi-validator v2.0.0) new version base version
    package-preview-2022-10 package-preview-2022-10(4a8716b) default(main)

    [must fix]The following errors/warnings are introduced by current PR:

    Rule Message Related RPC [For API reviewers]
    DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L276
    DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L319
    DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L445
    DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L487
    DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L529
    DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L571
    DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L703
    DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L823
    DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L903
    ResourceNameRestriction The resource name parameter 'issueName' should be defined with a 'pattern' restriction.
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L920
    RPC-Uri-V1-05
    DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L942
    TopLevelResourcesListBySubscription The top-level resource 'MetadataEntity' does not have list by subscription operation, please add it.
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L1433
    RPC-Get-V1-05
    TopLevelResourcesListBySubscription The top-level resource 'emergingIssuesGetResult' does not have list by subscription operation, please add it.
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L1934
    RPC-Get-V1-05
    ⚠️ UniqueXmsExample Do not have duplicate name of x-ms-example, make sure every x-ms-example name unique. Duplicate x-ms-example: GetMetadata
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L326
    ⚠️ UniqueXmsExample Do not have duplicate name of x-ms-example, make sure every x-ms-example name unique. Duplicate x-ms-example: ImpactedResourcesGet
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L494
    ⚠️ PostOperationIdContainsUrlVerb OperationId should contain the verb: 'listsecurityadvisoryimpactedresources' in:'SecurityAdvisoryImpactedResources_ListBySubscriptionIdAndEventId'. Consider updating the operationId
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L506
    ⚠️ PostOperationIdContainsUrlVerb OperationId should contain the verb: 'listsecurityadvisoryimpactedresources' in:'SecurityAdvisoryImpactedResources_ListByTenantIdAndEventId'. Consider updating the operationId
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L551
    ⚠️ PostOperationIdContainsUrlVerb OperationId should contain the verb: 'fetcheventdetails' in:'Event_fetchDetailsBySubscriptionIdAndTrackingId'. Consider updating the operationId
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L683
    ⚠️ UniqueXmsExample Do not have duplicate name of x-ms-example, make sure every x-ms-example name unique. Duplicate x-ms-example: ListEventsByTenantId
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L752
    ⚠️ PostOperationIdContainsUrlVerb OperationId should contain the verb: 'fetcheventdetails' in:'Event_fetchDetailsByTenantIdAndTrackingId'. Consider updating the operationId
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L806
    ⚠️ UniqueXmsExample Do not have duplicate name of x-ms-example, make sure every x-ms-example name unique. Duplicate x-ms-example: GetEmergingIssues
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L949
    ⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L2028


    The following errors/warnings exist before current PR submission:

    Rule Message
    DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L62
    DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L110
    OperationsApiResponseSchema The response schema of operations API '/providers/Microsoft.ResourceHealth/operations' does not match the ARM specification. Please standardize the schema.
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L142
    DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L146
    DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L193
    DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L240
    DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L361
    DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L406
    DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L616
    DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L664
    DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L742
    DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L787
    DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L867
    ⚠️ PageableOperation Based on the response model schema, operation 'Operations_List' might be pageable. Consider adding the x-ms-pageable extension.
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L128
    ⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L987
    ⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L1148
    ⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L1152
    ⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L1160
    ⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L1164
    ⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L1366
    ⚠️ LocationMustHaveXmsMutability Property location must have 'x-ms-mutability':['read', 'create'] extension defined.
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L1544
    ⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L1548
    ⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L1551
    ⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json#L1868
    ️❌Avocado: 1 Errors, 0 Warnings failed [Detail]
    Rule Message
    MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/providers/Microsoft.ResourceHealth/impactedResources is not in the default tag. Please make sure the missing API swaggers are in the default tag.
    readme: specification/resourcehealth/resource-manager/readme.md
    json: Microsoft.ResourceHealth/preview/2018-08-01/ResourceHealth.json
    ️️✔️ApiReadinessCheck succeeded [Detail] [Expand]
    ️⚠️~[Staging] ServiceAPIReadinessTest: 0 Warnings warning [Detail]

    API Test is not triggered due to precheck failure. Check pipeline log for details.

    ️️✔️SwaggerAPIView succeeded [Detail] [Expand]
    ️️✔️CadlAPIView succeeded [Detail] [Expand]
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️️✔️PoliCheck succeeded [Detail] [Expand]
    Validation passed for PoliCheck.
    ️️✔️PrettierCheck succeeded [Detail] [Expand]
    Validation passes for PrettierCheck.
    ️️✔️SpellCheck succeeded [Detail] [Expand]
    Validation passes for SpellCheck.
    ️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
    Validation passes for Lint(RPaaS).
    ️️✔️CadlValidation succeeded [Detail] [Expand]
    Validation passes for CadlValidation.
    ️️✔️PR Summary succeeded [Detail] [Expand]
    Validation passes for Summary.
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Feb 6, 2023

    Swagger Generation Artifacts

    ️️✔️ApiDocPreview succeeded [Detail] [Expand]
     Please click here to preview with your @microsoft account. 
    ️❌SDK Breaking Change Tracking failed [Detail]

    Breaking Changes Tracking

    azure-sdk-for-go - sdk/resourcemanager/resourcehealth/armresourcehealth - 2.0.0-beta.1
    +	Field `Error` of struct `ErrorResponse` 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
    +	Struct `ErrorResponseError` has been removed

    azure-sdk-for-js - @azure/arm-resourcehealth - 4.0.0-beta.1
    +	Class MicrosoftResourceHealth no longer has parameter childAvailabilityStatuses
    +	Class MicrosoftResourceHealth no longer has parameter childResources
    +	Interface AvailabilityStatusProperties no longer has parameter recentlyResolvedState
    +	Operation EmergingIssues.get has a new signature
    +	Removed operation group ChildAvailabilityStatuses
    +	Removed operation group ChildResources
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from b64c343. SDK Automation 14.0.0
      command	sh ./eng/scripts/automation_init.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
      command	generator automation-v2 ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
    • ️✔️sdk/resourcemanager/resourcehealth/armresourcehealth [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog] - Struct `ErrorResponseError` has been removed
      info	[Changelog] - Field `OccurredTime` of struct `AvailabilityStatusProperties` has been removed
      info	[Changelog] - Field `UnavailabilitySummary` of struct `AvailabilityStatusPropertiesRecentlyResolved` has been removed
      info	[Changelog] - Field `UnavailableOccurredTime` of struct `AvailabilityStatusPropertiesRecentlyResolved` has been removed
      info	[Changelog] - Field `Error` of struct `ErrorResponse` has been removed
      info	[Changelog]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog] - New type alias `CreatedByType` with values `CreatedByTypeApplication`, `CreatedByTypeKey`, `CreatedByTypeManagedIdentity`, `CreatedByTypeUser`
      info	[Changelog] - New type alias `EventLevelValues` with values `EventLevelValuesCritical`, `EventLevelValuesError`, `EventLevelValuesInformational`, `EventLevelValuesWarning`
      info	[Changelog] - New type alias `EventSourceValues` with values `EventSourceValuesResourceHealth`, `EventSourceValuesServiceHealth`
      info	[Changelog] - New type alias `EventStatusValues` with values `EventStatusValuesActive`, `EventStatusValuesResolved`
      info	[Changelog] - New type alias `EventTypeValues` with values `EventTypeValuesEmergingIssues`, `EventTypeValuesHealthAdvisory`, `EventTypeValuesPlannedMaintenance`, `EventTypeValuesRCA`, `EventTypeValuesSecurityAdvisory`, `EventTypeValuesServiceIssue`
      info	[Changelog] - New type alias `IssueNameParameter` with values `IssueNameParameterDefault`
      info	[Changelog] - New type alias `LevelValues` with values `LevelValuesCritical`, `LevelValuesWarning`
      info	[Changelog] - New type alias `LinkTypeValues` with values `LinkTypeValuesButton`, `LinkTypeValuesHyperlink`
      info	[Changelog] - New type alias `Scenario` with values `ScenarioAlerts`
      info	[Changelog] - New type alias `SeverityValues` with values `SeverityValuesError`, `SeverityValuesInformation`, `SeverityValuesWarning`
      info	[Changelog] - New type alias `StageValues` with values `StageValuesActive`, `StageValuesArchived`, `StageValuesResolve`
      info	[Changelog] - New function `NewEmergingIssuesClient(azcore.TokenCredential, *arm.ClientOptions) (*EmergingIssuesClient, error)`
      info	[Changelog] - New function `*EmergingIssuesClient.Get(context.Context, IssueNameParameter, *EmergingIssuesClientGetOptions) (EmergingIssuesClientGetResponse, error)`
      info	[Changelog] - New function `*EmergingIssuesClient.NewListPager(*EmergingIssuesClientListOptions) *runtime.Pager[EmergingIssuesClientListResponse]`
      info	[Changelog] - New function `NewEventClient(string, azcore.TokenCredential, *arm.ClientOptions) (*EventClient, error)`
      info	[Changelog] - New function `*EventClient.FetchDetailsBySubscriptionIDAndTrackingID(context.Context, string, *EventClientFetchDetailsBySubscriptionIDAndTrackingIDOptions) (EventClientFetchDetailsBySubscriptionIDAndTrackingIDResponse, error)`
      info	[Changelog] - New function `*EventClient.FetchDetailsByTenantIDAndTrackingID(context.Context, string, *EventClientFetchDetailsByTenantIDAndTrackingIDOptions) (EventClientFetchDetailsByTenantIDAndTrackingIDResponse, error)`
      info	[Changelog] - New function `*EventClient.GetBySubscriptionIDAndTrackingID(context.Context, string, *EventClientGetBySubscriptionIDAndTrackingIDOptions) (EventClientGetBySubscriptionIDAndTrackingIDResponse, error)`
      info	[Changelog] - New function `*EventClient.GetByTenantIDAndTrackingID(context.Context, string, *EventClientGetByTenantIDAndTrackingIDOptions) (EventClientGetByTenantIDAndTrackingIDResponse, error)`
      info	[Changelog] - New function `NewEventsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*EventsClient, error)`
      info	[Changelog] - New function `*EventsClient.NewListBySingleResourcePager(string, *EventsClientListBySingleResourceOptions) *runtime.Pager[EventsClientListBySingleResourceResponse]`
      info	[Changelog] - New function `*EventsClient.NewListBySubscriptionIDPager(*EventsClientListBySubscriptionIDOptions) *runtime.Pager[EventsClientListBySubscriptionIDResponse]`
      info	[Changelog] - New function `*EventsClient.NewListByTenantIDPager(*EventsClientListByTenantIDOptions) *runtime.Pager[EventsClientListByTenantIDResponse]`
      info	[Changelog] - New function `NewImpactedResourcesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ImpactedResourcesClient, error)`
      info	[Changelog] - New function `*ImpactedResourcesClient.Get(context.Context, string, string, *ImpactedResourcesClientGetOptions) (ImpactedResourcesClientGetResponse, error)`
      info	[Changelog] - New function `*ImpactedResourcesClient.GetByTenantID(context.Context, string, string, *ImpactedResourcesClientGetByTenantIDOptions) (ImpactedResourcesClientGetByTenantIDResponse, error)`
      info	[Changelog] - New function `*ImpactedResourcesClient.NewListBySubscriptionIDAndEventIDPager(string, *ImpactedResourcesClientListBySubscriptionIDAndEventIDOptions) *runtime.Pager[ImpactedResourcesClientListBySubscriptionIDAndEventIDResponse]`
      info	[Changelog] - New function `*ImpactedResourcesClient.NewListByTenantIDAndEventIDPager(string, *ImpactedResourcesClientListByTenantIDAndEventIDOptions) *runtime.Pager[ImpactedResourcesClientListByTenantIDAndEventIDResponse]`
      info	[Changelog] - New function `NewMetadataClient(azcore.TokenCredential, *arm.ClientOptions) (*MetadataClient, error)`
      info	[Changelog] - New function `*MetadataClient.GetEntity(context.Context, string, *MetadataClientGetEntityOptions) (MetadataClientGetEntityResponse, error)`
      info	[Changelog] - New function `*MetadataClient.NewListPager(*MetadataClientListOptions) *runtime.Pager[MetadataClientListResponse]`
      info	[Changelog] - New function `NewSecurityAdvisoryImpactedResourcesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*SecurityAdvisoryImpactedResourcesClient, error)`
      info	[Changelog] - New function `*SecurityAdvisoryImpactedResourcesClient.NewListBySubscriptionIDAndEventIDPager(string, *SecurityAdvisoryImpactedResourcesClientListBySubscriptionIDAndEventIDOptions) *runtime.Pager[SecurityAdvisoryImpactedResourcesClientListBySubscriptionIDAndEventIDResponse]`
      info	[Changelog] - New function `*SecurityAdvisoryImpactedResourcesClient.NewListByTenantIDAndEventIDPager(string, *SecurityAdvisoryImpactedResourcesClientListByTenantIDAndEventIDOptions) *runtime.Pager[SecurityAdvisoryImpactedResourcesClientListByTenantIDAndEventIDResponse]`
      info	[Changelog] - New struct `EmergingIssue`
      info	[Changelog] - New struct `EmergingIssueImpact`
      info	[Changelog] - New struct `EmergingIssueListResult`
      info	[Changelog] - New struct `EmergingIssuesClient`
      info	[Changelog] - New struct `EmergingIssuesGetResult`
      info	[Changelog] - New struct `Event`
      info	[Changelog] - New struct `EventClient`
      info	[Changelog] - New struct `EventImpactedResource`
      info	[Changelog] - New struct `EventImpactedResourceListResult`
      info	[Changelog] - New struct `EventImpactedResourceProperties`
      info	[Changelog] - New struct `EventProperties`
      info	[Changelog] - New struct `EventPropertiesAdditionalInformation`
      info	[Changelog] - New struct `EventPropertiesArticle`
      info	[Changelog] - New struct `EventPropertiesRecommendedActions`
      info	[Changelog] - New struct `EventPropertiesRecommendedActionsItem`
      info	[Changelog] - New struct `Events`
      info	[Changelog] - New struct `EventsClient`
      info	[Changelog] - New struct `Faq`
      info	[Changelog] - New struct `Impact`
      info	[Changelog] - New struct `ImpactedResourcesClient`
      info	[Changelog] - New struct `ImpactedServiceRegion`
      info	[Changelog] - New struct `KeyValueItem`
      info	[Changelog] - New struct `Link`
      info	[Changelog] - New struct `LinkDisplayText`
      info	[Changelog] - New struct `MetadataClient`
      info	[Changelog] - New struct `MetadataEntity`
      info	[Changelog] - New struct `MetadataEntityListResult`
      info	[Changelog] - New struct `MetadataEntityProperties`
      info	[Changelog] - New struct `MetadataSupportedValueDetail`
      info	[Changelog] - New struct `ProxyResource`
      info	[Changelog] - New struct `SecurityAdvisoryImpactedResourcesClient`
      info	[Changelog] - New struct `StatusActiveEvent`
      info	[Changelog] - New struct `SystemData`
      info	[Changelog] - New struct `Update`
      info	[Changelog] - New field `Category` in struct `AvailabilityStatusProperties`
      info	[Changelog] - New field `Context` in struct `AvailabilityStatusProperties`
      info	[Changelog] - New field `OccuredTime` in struct `AvailabilityStatusProperties`
      info	[Changelog] - New field `UnavailableOccuredTime` in struct `AvailabilityStatusPropertiesRecentlyResolved`
      info	[Changelog] - New field `UnavailableSummary` in struct `AvailabilityStatusPropertiesRecentlyResolved`
      info	[Changelog] - New field `Code` in struct `ErrorResponse`
      info	[Changelog] - New field `Details` in struct `ErrorResponse`
      info	[Changelog] - New field `Message` in struct `ErrorResponse`
      info	[Changelog] - New field `SystemData` in struct `ImpactedResourceStatus`
      info	[Changelog] - New field `SystemData` in struct `Resource`
      info	[Changelog]
      info	[Changelog] Total 5 breaking change(s), 137 additive change(s).
    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from b64c343. SDK Automation 14.0.0
      command	sh .scripts/automation_init.sh ../azure-sdk-for-js_tmp/initInput.json ../azure-sdk-for-js_tmp/initOutput.json
      warn	File azure-sdk-for-js_tmp/initOutput.json not found to read
      command	sh .scripts/automation_generate.sh ../azure-sdk-for-js_tmp/generateInput.json ../azure-sdk-for-js_tmp/generateOutput.json
    • ️✔️@azure/arm-resourcehealth [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Added operation group EventOperations
      info	[Changelog]   - Added operation group EventsOperations
      info	[Changelog]   - Added operation group ImpactedResources
      info	[Changelog]   - Added operation group Metadata
      info	[Changelog]   - Added operation group SecurityAdvisoryImpactedResources
      info	[Changelog]   - Added Interface AvailabilityStatusPropertiesRecentlyResolved
      info	[Changelog]   - Added Interface Event_2
      info	[Changelog]   - Added Interface EventFetchDetailsBySubscriptionIdAndTrackingIdOptionalParams
      info	[Changelog]   - Added Interface EventFetchDetailsByTenantIdAndTrackingIdOptionalParams
      info	[Changelog]   - Added Interface EventGetBySubscriptionIdAndTrackingIdOptionalParams
      info	[Changelog]   - Added Interface EventGetByTenantIdAndTrackingIdOptionalParams
      info	[Changelog]   - Added Interface EventImpactedResource
      info	[Changelog]   - Added Interface EventImpactedResourceListResult
      info	[Changelog]   - Added Interface EventPropertiesAdditionalInformation
      info	[Changelog]   - Added Interface EventPropertiesArticle
      info	[Changelog]   - Added Interface EventPropertiesRecommendedActions
      info	[Changelog]   - Added Interface EventPropertiesRecommendedActionsItem
      info	[Changelog]   - Added Interface Events
      info	[Changelog]   - Added Interface EventsListBySingleResourceNextOptionalParams
      info	[Changelog]   - Added Interface EventsListBySingleResourceOptionalParams
      info	[Changelog]   - Added Interface EventsListBySubscriptionIdNextOptionalParams
      info	[Changelog]   - Added Interface EventsListBySubscriptionIdOptionalParams
      info	[Changelog]   - Added Interface EventsListByTenantIdNextOptionalParams
      info	[Changelog]   - Added Interface EventsListByTenantIdOptionalParams
      info	[Changelog]   - Added Interface Faq
      info	[Changelog]   - Added Interface Impact
      info	[Changelog]   - Added Interface ImpactedResourcesGetByTenantIdOptionalParams
      info	[Changelog]   - Added Interface ImpactedResourcesGetOptionalParams
      info	[Changelog]   - Added Interface ImpactedResourcesListBySubscriptionIdAndEventIdNextOptionalParams
      info	[Changelog]   - Added Interface ImpactedResourcesListBySubscriptionIdAndEventIdOptionalParams
      info	[Changelog]   - Added Interface ImpactedResourcesListByTenantIdAndEventIdNextOptionalParams
      info	[Changelog]   - Added Interface ImpactedResourcesListByTenantIdAndEventIdOptionalParams
      info	[Changelog]   - Added Interface ImpactedResourceStatus
      info	[Changelog]   - Added Interface ImpactedServiceRegion
      info	[Changelog]   - Added Interface KeyValueItem
      info	[Changelog]   - Added Interface Link
      info	[Changelog]   - Added Interface LinkDisplayText
      info	[Changelog]   - Added Interface MetadataEntity
      info	[Changelog]   - Added Interface MetadataEntityListResult
      info	[Changelog]   - Added Interface MetadataGetEntityOptionalParams
      info	[Changelog]   - Added Interface MetadataListNextOptionalParams
      info	[Changelog]   - Added Interface MetadataListOptionalParams
      info	[Changelog]   - Added Interface MetadataSupportedValueDetail
      info	[Changelog]   - Added Interface ProxyResource
      info	[Changelog]   - Added Interface SecurityAdvisoryImpactedResourcesListBySubscriptionIdAndEventIdNextOptionalParams
      info	[Changelog]   - Added Interface SecurityAdvisoryImpactedResourcesListBySubscriptionIdAndEventIdOptionalParams
      info	[Changelog]   - Added Interface SecurityAdvisoryImpactedResourcesListByTenantIdAndEventIdNextOptionalParams
      info	[Changelog]   - Added Interface SecurityAdvisoryImpactedResourcesListByTenantIdAndEventIdOptionalParams
      info	[Changelog]   - Added Interface SystemData
      info	[Changelog]   - Added Interface Update
      info	[Changelog]   - Added Type Alias CreatedByType
      info	[Changelog]   - Added Type Alias EventFetchDetailsBySubscriptionIdAndTrackingIdResponse
      info	[Changelog]   - Added Type Alias EventFetchDetailsByTenantIdAndTrackingIdResponse
      info	[Changelog]   - Added Type Alias EventGetBySubscriptionIdAndTrackingIdResponse
      info	[Changelog]   - Added Type Alias EventGetByTenantIdAndTrackingIdResponse
      info	[Changelog]   - Added Type Alias EventLevelValues
      info	[Changelog]   - Added Type Alias EventsListBySingleResourceNextResponse
      info	[Changelog]   - Added Type Alias EventsListBySingleResourceResponse
      info	[Changelog]   - Added Type Alias EventsListBySubscriptionIdNextResponse
      info	[Changelog]   - Added Type Alias EventsListBySubscriptionIdResponse
      info	[Changelog]   - Added Type Alias EventsListByTenantIdNextResponse
      info	[Changelog]   - Added Type Alias EventsListByTenantIdResponse
      info	[Changelog]   - Added Type Alias EventSourceValues
      info	[Changelog]   - Added Type Alias EventStatusValues
      info	[Changelog]   - Added Type Alias EventTypeValues
      info	[Changelog]   - Added Type Alias ImpactedResourcesGetByTenantIdResponse
      info	[Changelog]   - Added Type Alias ImpactedResourcesGetResponse
      info	[Changelog]   - Added Type Alias ImpactedResourcesListBySubscriptionIdAndEventIdNextResponse
      info	[Changelog]   - Added Type Alias ImpactedResourcesListBySubscriptionIdAndEventIdResponse
      info	[Changelog]   - Added Type Alias ImpactedResourcesListByTenantIdAndEventIdNextResponse
      info	[Changelog]   - Added Type Alias ImpactedResourcesListByTenantIdAndEventIdResponse
      info	[Changelog]   - Added Type Alias IssueNameParameter
      info	[Changelog]   - Added Type Alias LevelValues
      info	[Changelog]   - Added Type Alias LinkTypeValues
      info	[Changelog]   - Added Type Alias MetadataGetEntityResponse
      info	[Changelog]   - Added Type Alias MetadataListNextResponse
      info	[Changelog]   - Added Type Alias MetadataListResponse
      info	[Changelog]   - Added Type Alias ReasonTypeValues
      info	[Changelog]   - Added Type Alias Scenario
      info	[Changelog]   - Added Type Alias SecurityAdvisoryImpactedResourcesListBySubscriptionIdAndEventIdNextResponse
      info	[Changelog]   - Added Type Alias SecurityAdvisoryImpactedResourcesListBySubscriptionIdAndEventIdResponse
      info	[Changelog]   - Added Type Alias SecurityAdvisoryImpactedResourcesListByTenantIdAndEventIdNextResponse
      info	[Changelog]   - Added Type Alias SecurityAdvisoryImpactedResourcesListByTenantIdAndEventIdResponse
      info	[Changelog]   - Interface AvailabilityStatusProperties has a new optional parameter category
      info	[Changelog]   - Interface AvailabilityStatusProperties has a new optional parameter context
      info	[Changelog]   - Interface AvailabilityStatusProperties has a new optional parameter recentlyResolved
      info	[Changelog]   - Interface AvailabilityStatusProperties has a new optional parameter title
      info	[Changelog]   - Interface Resource has a new optional parameter systemData
      info	[Changelog]   - Added Enum KnownAvailabilityStateValues
      info	[Changelog]   - Added Enum KnownCreatedByType
      info	[Changelog]   - Added Enum KnownEventLevelValues
      info	[Changelog]   - Added Enum KnownEventSourceValues
      info	[Changelog]   - Added Enum KnownEventStatusValues
      info	[Changelog]   - Added Enum KnownEventTypeValues
      info	[Changelog]   - Added Enum KnownIssueNameParameter
      info	[Changelog]   - Added Enum KnownLevelValues
      info	[Changelog]   - Added Enum KnownLinkTypeValues
      info	[Changelog]   - Added Enum KnownReasonChronicityTypes
      info	[Changelog]   - Added Enum KnownReasonTypeValues
      info	[Changelog]   - Added Enum KnownScenario
      info	[Changelog]
      info	[Changelog] **Breaking Changes**
      info	[Changelog]
      info	[Changelog]   - Removed operation group ChildAvailabilityStatuses
      info	[Changelog]   - Removed operation group ChildResources
      info	[Changelog]   - Operation EmergingIssues.get has a new signature
      info	[Changelog]   - Interface AvailabilityStatusProperties no longer has parameter recentlyResolvedState
      info	[Changelog]   - Class MicrosoftResourceHealth no longer has parameter childAvailabilityStatuses
      info	[Changelog]   - Class MicrosoftResourceHealth no longer has parameter childResources
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from b64c343. SDK Automation 14.0.0
      command	sh scripts/automation_init.sh ../azure-sdk-for-python_tmp/initInput.json ../azure-sdk-for-python_tmp/initOutput.json
      cmderr	[automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed.
      command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
      cmderr	[automation_generate.sh] npm notice
      cmderr	[automation_generate.sh] npm notice New major version of npm available! 8.19.3 -> 9.5.0
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.5.0>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g npm@9.5.0` to update!
      cmderr	[automation_generate.sh] npm notice
    • ️✔️track2_azure-mgmt-resourcehealth [View full logs]  [Release SDK Changes]
      info	[Changelog]
    ️⚠️ azure-sdk-for-java warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from b64c343. SDK Automation 14.0.0
      command	./eng/mgmt/automation/init.sh ../azure-sdk-for-java_tmp/initInput.json ../azure-sdk-for-java_tmp/initOutput.json
      cmderr	[init.sh] [notice] A new release of pip available: 22.3.1 -> 23.0
      cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
      cmderr	[init.sh] [notice] A new release of pip available: 22.3.1 -> 23.0
      cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
      command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
      cmderr	[generate.py] [ForkJoinPool-1-worker-3] INFO com.azure.core.test.implementation.TestingHelpers - Environment variable 'AZURE_TEST_MODE' has not been set yet. Using 'Playback' mode.
    • ️✔️azure-resourcemanager-resourcehealth [View full logs]  [Release SDK Changes]
    ️⚠️ azure-sdk-for-net warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from b64c343. SDK Automation 14.0.0
      command	pwsh ./eng/scripts/Automation-Sdk-Init.ps1 ../azure-sdk-for-net_tmp/initInput.json ../azure-sdk-for-net_tmp/initOutput.json
      command	autorest --version=2.0.4421 --csharp --reflect-api-versions --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.csharp@2.3.82 --csharp-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-net/sdk ../azure-rest-api-specs/specification/resourcehealth/resource-manager/readme.md
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      warn	No file changes detected after generation
      warn	No package detected after generation
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from b64c343. Schema Automation 14.0.0
      command	.sdkauto/initScript.sh ../azure-resource-manager-schemas_tmp/initInput.json ../azure-resource-manager-schemas_tmp/initOutput.json
      cmderr	[initScript.sh] WARN old lockfile
      cmderr	[initScript.sh] npm WARN old lockfile The package-lock.json file was created with an old version of npm,
      cmderr	[initScript.sh] npm WARN old lockfile so supplemental metadata must be fetched from the registry.
      cmderr	[initScript.sh] npm WARN old lockfile
      cmderr	[initScript.sh] npm WARN old lockfile This is a one-time fix-up, please be patient...
      cmderr	[initScript.sh] npm WARN old lockfile
      warn	File azure-resource-manager-schemas_tmp/initOutput.json not found to read
      command	.sdkauto/generateScript.sh ../azure-resource-manager-schemas_tmp/generateInput.json ../azure-resource-manager-schemas_tmp/generateOutput.json
      warn	No file changes detected after generation
    • ️✔️resourcehealth [View full logs
    ️️✔️ azure-powershell succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from b64c343. SDK Automation 14.0.0
      command	sh ./tools/SwaggerCI/init.sh ../azure-powershell_tmp/initInput.json ../azure-powershell_tmp/initOutput.json
      command	pwsh ./tools/SwaggerCI/psci.ps1 ../azure-powershell_tmp/generateInput.json ../azure-powershell_tmp/generateOutput.json
    • ️✔️Az.ResourceHealth [View full logs]  [Release SDK Changes]
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Feb 6, 2023

    Generated ApiView

    Language Package Name ApiView Link
    Go sdk/resourcemanager/resourcehealth/armresourcehealth Create ApiView failed. Please ask PR assignee for help
    Java azure-resourcemanager-resourcehealth https://apiview.dev/Assemblies/Review/3c065164a6ef48da8856ef2756f43db0
    JavaScript @azure/arm-resourcehealth https://apiview.dev/Assemblies/Review/a149242ed2834d46a0dc24094f7602db

    @AzureRestAPISpecReview AzureRestAPISpecReview added the BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required label Feb 7, 2023
    @AzureRestAPISpecReview AzureRestAPISpecReview removed the BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required label Feb 8, 2023
    @abhayohri
    Copy link
    Contributor Author

    abhayohri commented Feb 8, 2023

    Please note that most of the changes in this pr have already been approved in #21757. However when trying to solve the merge conflict i could not push directly to the branch and merging main via pr led to a large number of files being marked as updated #22455
    thus i created this pr parenting off of main and merging the original pr and fixing the merge conflicts.

    Once i did this however a new Avocado issue was triggered and it seems like the metadata api hasn't been added in the swagger since the 2018-07-01 version. thus I added it.

    on the other issues and why they are acceptable:
    Avocado:

    image

    this api seems to only have been added to the 2018-08-01-preview version. it has not been added to any stable version and is not going to be supported moving forward. this api version should be deprecated

    LintDiffs:

    1. various errors of the type:

    image

    these have been addressed in previous pr's. basically fixing these would be considered a breaking change and after checking with breaking change review board it was decided to not fix these: #21588 (comment)

    image

    for these the list by subscription operation does not make sense as the data is the same accross subscriptions and tenants. also as stated above this api was a part of the 2018-07-01 version and was simply missed in future api version and as such cannot be changed without causing a breaking change

    image

    fixing this results in the following breaking change error:

    image

    cc @dw511214992

    @openapi-workflow-bot openapi-workflow-bot bot added ARMReview WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Feb 8, 2023
    @openapi-workflow-bot
    Copy link

    Hi, @abhayohri your PR are labelled with WaitForARMFeedback. A notification email will be sent out shortly afterwards to notify ARM review board(armapireview@microsoft.com).

    @abhayohri abhayohri marked this pull request as ready for review February 8, 2023 23:04
    "properties": {
    "value": {
    "description": "The list of metadata entities.",
    "type": "array",
    Copy link

    @zizw123 zizw123 Feb 9, 2023

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    array

    use x-ms-identifiers for the object in the array: https://github.com/Azure/autorest/tree/main/docs/extensions#x-ms-identifiers #Closed

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    so according to your link:
    "The default identifying property is id. You don't need to add this annotataion if there is the id property in the object model."
    since metadata entity has the id field via:
    "allOf": [
    {
    "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
    }
    ]
    we don't need to add it

    Copy link

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    Sounds good, I missed this in this initial review

    @zizw123 zizw123 added the ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review label Feb 9, 2023
    @openapi-workflow-bot
    Copy link

    Please ensure to respond feedbacks from the ARM API reviewer. When you are ready to continue the ARM API review, please remove ARMChangesRequested

    @openapi-workflow-bot openapi-workflow-bot bot removed the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Feb 9, 2023
    @abhayohri abhayohri added the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Feb 13, 2023
    @openapi-workflow-bot openapi-workflow-bot bot removed the ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review label Feb 13, 2023
    @rkmanda rkmanda added the ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review label Feb 14, 2023
    @openapi-workflow-bot openapi-workflow-bot bot removed the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Feb 14, 2023
    @abhishek-corp
    Copy link
    Contributor

    @dw511214992 Can we get this merged? This is signed off by ARM review.

    @dw511214992 dw511214992 merged commit b64c343 into main Feb 16, 2023
    @dw511214992 dw511214992 deleted the abhayohri-resourcehealth-Microsoft.ResourceHealth-2022-10-01-preview branch February 16, 2023 08:05
    aviyerMSFT pushed a commit to aviyerMSFT/azure-rest-api-specs that referenced this pull request Mar 22, 2023
    …rsion preview/2022-10-01-preview (Azure#22479)
    
    * Adds base for updating Microsoft.ResourceHealth from version preview/2022-05-01-preview to version 2022-10-01-preview
    
    * Updates readme
    
    * Updates API version in new specs and examples
    
    * Dev resourcehealth/abhsinghal/2022 10 01 preview (Azure#21758)
    
    * Added ImpactedResources for Tenant.
    
    * Added new API listSecurityAdvisoryImpactedResources for Subscriptions and Tenants.
    
    * Added Tenant ImpactedResources, SecurityImpactedResources.
    
    * Changes to examples for Subscription ImpactedResources.
    
    * Added resourceName pattern for ImpactedResourceNameParameter.
    
    * Changes to example - SecurityAdvisoryImpactedResources_ListByTenantId_ListByEventId. Removed subscriptionId from unique resourceId.
    
    * added fetchEventDetails initial commit (Azure#21896)
    
    * added fetchEventDetails initial commit
    
    * linter fixes
    
    * removed filterparam
    
    * re-add incorrectly deleted filter parameter
    
    * removed query start time parameter
    
    * Added EmergingIssues API paths from 2018-07-01. (Azure#21954)
    
    * Added EmergingIssues API paths from 2018-07-01.
    
    * Fix LintDiff error - x-ms-identifiers
    
    * Fix LintDiff error - MissingTypeObject
    
    * Changed resource definition from v1 to v3.
    
    * Adding 2 new fields to AvailabilityStatuses response. (Azure#22081)
    
    * Adding 2 new fields to AvailabilityStatuses response.
    
    * Modified availabilitystatuses examples, changes to descriptions.
    
    * Modified availabilitystatuses examples - 2
    
    * Adds base for updating Microsoft.ResourceHealth from version preview/2022-05-01-preview to version 2022-10-01-preview
    
    * Updates readme
    
    * Updates API version in new specs and examples
    
    * fix merge conflicts between main and dev-resourcehealth-Microsoft.ResourceHealth-2022-10-01-preview
    
    * added the metadata api into swagger
    
    * ran prettier
    
    * fixed example file
    
    * added pattern for issueName
    
    * undo adding pattern and ran prettier
    
    ---------
    
    Co-authored-by: abhishek-corp <104534488+abhishek-corp@users.noreply.github.com>
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    6 participants