Skip to content

Conversation

@mkatkam
Copy link
Contributor

@mkatkam mkatkam commented Jul 17, 2023

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

ARM (Control Plane) API Specification Update Pull Request

PR review workflow diagram

Please understand this diagram before proceeding. It explains how to get your PR approved & merged.

diagram

Purpose of this PR

What's the purpose of this PR? Check all that apply. This is mandatory!

  • New API version. (Such PR should have been generated with OpenAPI Hub, per this wiki doc.)
  • Update existing version for a new feature. (This is applicable only when you are revising a private preview API version.)
  • Update existing version to fix swagger quality issues in S360.
  • Other, please clarify:
    • edit this with your clarification

Due diligence checklist

To merge this PR, you must go through the following checklist and confirm you understood
and followed the instructions by checking all the boxes:

ARM API changes review

  • If you want for the ARM team to review this PR, you must add the ARMReview label.
  • The automation may automatically add the ARMReview label, if appropriate.
    If this happens, proceed according to guidance given in GitHub comments also added by the automation.

Breaking change review

If you have any breaking changes as defined in the Breaking Change Policy,
follow the process outlined in the High-level Breaking Change Process doc.

Getting help

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Jul 17, 2023

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
️❌Breaking Change(Cross-Version): 8 Errors, 3 Warnings failed [Detail]
compared swaggers (via Oad v0.10.4)] new version base version
ResourceHealth.json 2023-07-01-preview(16a3acc) 2022-10-01(main)
ResourceHealth.json 2023-07-01-preview(16a3acc) 2022-10-01-preview(main)

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

Rule Message
1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/{resourceUri}/providers/Microsoft.ResourceHealth/childAvailabilityStatuses/current' removed or restructured?
Old: Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L884:5
1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/{resourceUri}/providers/Microsoft.ResourceHealth/childAvailabilityStatuses' removed or restructured?
Old: Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L931:5
1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/{resourceUri}/providers/Microsoft.ResourceHealth/childResources' removed or restructured?
Old: Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L981:5
1033 - RemovedProperty The new version is missing a property found in the old version. Was 'articleId' renamed or removed?
New: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L1563:11
Old: Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L1710:11
1033 - RemovedProperty The new version is missing a property found in the old version. Was '_ActionUrl.Comment' renamed or removed?
New: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L1748:7
Old: Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L1899:7
1033 - RemovedProperty The new version is missing a property found in the old version. Was 'reason' renamed or removed?
New: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L987:11
Old: Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L1134:11
1033 - RemovedProperty The new version is missing a property found in the old version. Was 'articleId' renamed or removed?
New: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L1073:15
Old: Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L1224:15
1033 - RemovedProperty The new version is missing a property found in the old version. Was 'parameters' renamed or removed?
New: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L1073:15
Old: Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L1224:15
⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
New: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L1936:11
Old: Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L2091:11
⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
New: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L938:13
Old: Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L1085:13
⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
New: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L1946:5
Old: Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L2101:5
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
️⚠️LintDiff: 22 Warnings warning [Detail]
compared tags (via openapi-validator v2.1.4) new version base version
package-preview-2023-07 package-preview-2023-07(16a3acc) default(main)

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

Rule Message Related RPC [For API reviewers]
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'resourceGroupName'.
Location: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L41
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'resourceGroupName'.
Location: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L86
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'resourceGroupName'.
Location: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L134
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'resourceGroupName'.
Location: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L167
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'resourceGroupName'.
Location: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L214
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'resourceGroupName'.
Location: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L264
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'resourceGroupName'.
Location: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L300
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'resourceGroupName'.
Location: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L340
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'resourceGroupName'.
Location: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L385
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'resourceGroupName'.
Location: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L427
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'resourceGroupName'.
Location: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L469
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'resourceGroupName'.
Location: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L508
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'resourceGroupName'.
Location: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L553
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'resourceGroupName'.
Location: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L595
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'resourceGroupName'.
Location: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L640
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'resourceGroupName'.
Location: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L685
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'resourceGroupName'.
Location: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L724
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'resourceGroupName'.
Location: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L766
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'resourceGroupName'.
Location: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L808
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'resourceGroupName'.
Location: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L844
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'resourceGroupName'.
Location: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L891
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'resourceGroupName'.
Location: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L927


The following errors/warnings exist before current PR submission:

Only 30 items are listed, please refer to log for more details.

Rule Message
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/2023-07-01-preview/ResourceHealth.json#L142
OperationsApiSchemaUsesCommonTypes Operations API path must follow the schema provided in the common types.
Location: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L143
GetCollectionOnlyHasValueAndNextLink Get endpoints for collections of resources must only have the value and nextLink properties in their model.
Location: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L189
ParametersInPost $filter is a query parameter. Post operation must not contain any query parameter other than api-version.
Location: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L508
ParametersInPost $filter is a query parameter. Post operation must not contain any query parameter other than api-version.
Location: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L553
ParametersInPointGet Query parameter $filter should be removed. Point Get's MUST not have query parameters other than api version.
Location: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L640
ParametersInPointGet Query parameter queryStartTime should be removed. Point Get's MUST not have query parameters other than api version.
Location: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L640
ParametersInPointGet Query parameter $filter should be removed. Point Get's MUST not have query parameters other than api version.
Location: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L766
ParametersInPointGet Query parameter queryStartTime should be removed. Point Get's MUST not have query parameters other than api version.
Location: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L766
ResourceNameRestriction The resource name parameter 'issueName' should be defined with a 'pattern' restriction.
Location: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L920
TopLevelResourcesListBySubscription The top-level resource 'MetadataEntity' does not have list by subscription operation, please add it.
Location: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L1445
TopLevelResourcesListBySubscription The top-level resource 'emergingIssuesGetResult' does not have list by subscription operation, please add it.
Location: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L1946
⚠️ PageableOperation Based on the response model schema, operation 'Operations_List' might be pageable. Consider adding the x-ms-pageable extension.
Location: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L128
⚠️ 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/2023-07-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/2023-07-01-preview/ResourceHealth.json#L494
⚠️ PostOperationIdContainsUrlVerb OperationId should contain the verb: 'listsecurityadvisoryimpactedresources' in:'SecurityAdvisoryImpactedResources_ListBySubscriptionIdAndEventId'. Consider updating the operationId
Location: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L506
⚠️ PostOperationIdContainsUrlVerb OperationId should contain the verb: 'listsecurityadvisoryimpactedresources' in:'SecurityAdvisoryImpactedResources_ListByTenantIdAndEventId'. Consider updating the operationId
Location: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L551
⚠️ PostOperationIdContainsUrlVerb OperationId should contain the verb: 'fetcheventdetails' in:'Event_fetchDetailsBySubscriptionIdAndTrackingId'. Consider updating the operationId
Location: Microsoft.ResourceHealth/preview/2023-07-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/2023-07-01-preview/ResourceHealth.json#L752
⚠️ PostOperationIdContainsUrlVerb OperationId should contain the verb: 'fetcheventdetails' in:'Event_fetchDetailsByTenantIdAndTrackingId'. Consider updating the operationId
Location: Microsoft.ResourceHealth/preview/2023-07-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/2023-07-01-preview/ResourceHealth.json#L949
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L1070
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L1106
⚠️ 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/2023-07-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/2023-07-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/2023-07-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/2023-07-01-preview/ResourceHealth.json#L1164
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L1182
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L1238
⚠️ LocationMustHaveXmsMutability Property location must have 'x-ms-mutability':['read', 'create'] extension defined.
Location: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L1556
️❌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
️️✔️SwaggerAPIView succeeded [Detail] [Expand]
️️✔️TypeSpecAPIView 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).
️️✔️PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
️️✔️Automated merging requirements met succeeded [Detail] [Expand]
Posted by Swagger Pipeline | How to fix these errors?

@openapi-workflow-bot
Copy link

Hi, @mkatkam! Thank you for your pull request. To help get your PR merged:

  • Ensure you reviewed the checklists in the PR description.
  • Know that PR assignee is the person auto-assigned and responsible for your current PR review and approval.
  • For convenient view of the API changes made by this PR, refer to the URLs provided in the table in the Generated ApiView comment added to this PR. You can use ApiView to show API versions diff.
  • @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jul 17, 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-js - @azure/arm-resourcehealth - 5.0.0-beta.1
    +	Class MicrosoftResourceHealth has a new signature
    +	Class MicrosoftResourceHealth no longer has parameter childAvailabilityStatuses
    +	Class MicrosoftResourceHealth no longer has parameter childResources
    +	Interface AvailabilityStatusProperties no longer has parameter articleId
    +	Interface EventPropertiesArticle no longer has parameter articleId
    +	Interface EventPropertiesArticle no longer has parameter parameters
    +	Interface Event_2 no longer has parameter reason
    +	Interface RecommendedAction no longer has parameter actionUrlComment
    +	Removed operation group ChildAvailabilityStatuses
    +	Removed operation group ChildResources
    ️❌ azure-sdk-for-go failed [Detail]
    • Code Generator Failed [Logs] Generate from 5c1ea682d190ad8769009466e62bb94ea8e4e17e. 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
      cmderr	[generator automation-v2] [ERROR] total 1 error(s):
      cmderr	[generator automation-v2] [ERROR] failed to execute `go generate` '�[33;1mWARNING: Unable to find version for /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resourcehealth/armresourcehealth�[0m
      cmderr	[generator automation-v2] [ERROR] Cannot find go module under resourcemanager/resourcehealth/armresourcehealth, try to build in /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resourcehealth/armresourcehealth
      cmderr	[generator automation-v2] [ERROR] ##[command]Cleaning auto-generated files in /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resourcehealth/armresourcehealth
      cmderr	[generator automation-v2] [ERROR] ##[command]Executing autorest.go in  /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resourcehealth/armresourcehealth
      cmderr	[generator automation-v2] [ERROR] autorest --use=@autorest/[email protected] --go --track2 --output-folder=/mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resourcehealth/armresourcehealth --clear-output-folder=false --go.clear-output-folder=false --honor-body-placement=true --remove-unreferenced-types=true ./autorest.md
      cmderr	[generator automation-v2] [ERROR] AutoRest code generation utility [cli version: 3.6.1; node: v16.20.1]
      cmderr	[generator automation-v2] [ERROR] (C) 2018 Microsoft Corporation.
      cmderr	[generator automation-v2] [ERROR] https://aka.ms/autorest
      cmderr	[generator automation-v2] [ERROR] info    | AutoRest core version selected from configuration: ~2.0.4413.
      cmderr	[generator automation-v2] [ERROR] There is a new version of AutoRest available (3.6.3).
      cmderr	[generator automation-v2] [ERROR] > You can install the newer version with with npm install -g autorest@latest
      cmderr	[generator automation-v2] [ERROR] Loading AutoRest core      '/home/cloudtest/.autorest/@[email protected]/nodemodules/@microsoft.azure/autorest-core/dist' (2.0.4421)
      cmderr	[generator automation-v2] [ERROR] Installing AutoRest extension '@autorest/go' (4.0.0-preview.55)
      cmderr	[generator automation-v2] [ERROR] Installing AutoRest extension '@microsoft.azure/autorest.go' (~2.1.47)
      cmderr	[generator automation-v2] [ERROR] Failed to acquire 'require'd configuration 'file:///mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resourcehealth/armresourcehealth/$%28this-folder%29/autorest-configuration.md'
      cmderr	[generator automation-v2] [ERROR] Failed to install or start extension '@microsoft.azure/autorest.go' (~2.1.47)
      cmderr	[generator automation-v2] [ERROR] Error: Could not read 'file:///mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resourcehealth/armresourcehealth/$%28this-folder%29/autorest-configuration.md'.
      cmderr	[generator automation-v2] [ERROR] ##[error]Error running autorest.go
      cmderr	[generator automation-v2] [ERROR] build.go:5: running "pwsh": exit status 1
      cmderr	[generator automation-v2] [ERROR] ': exit status 1
      error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go]: generator automation-v2
      warn	Skip package processing as generation is failed
    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs] Generate from 5c1ea682d190ad8769009466e62bb94ea8e4e17e. 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]  [Preview SDK Changes] Breaking Change Detected
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Interface Event_2 has a new optional parameter argQuery
      info	[Changelog]   - Interface Event_2 has a new optional parameter maintenanceId
      info	[Changelog]   - Interface Event_2 has a new optional parameter maintenanceType
      info	[Changelog]
      info	[Changelog] **Breaking Changes**
      info	[Changelog]
      info	[Changelog]   - Removed operation group ChildAvailabilityStatuses
      info	[Changelog]   - Removed operation group ChildResources
      info	[Changelog]   - Class MicrosoftResourceHealth has a new signature
      info	[Changelog]   - Interface AvailabilityStatusProperties no longer has parameter articleId
      info	[Changelog]   - Interface Event_2 no longer has parameter reason
      info	[Changelog]   - Interface EventPropertiesArticle no longer has parameter articleId
      info	[Changelog]   - Interface EventPropertiesArticle no longer has parameter parameters
      info	[Changelog]   - Interface RecommendedAction no longer has parameter actionUrlComment
      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] Generate from 5c1ea682d190ad8769009466e62bb94ea8e4e17e. 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]
      cmderr	[automation_generate.sh] npm notice New minor version of npm available! 9.6.7 -> 9.8.1
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.8.1>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g [email protected]` to update!
      cmderr	[automation_generate.sh] npm notice
    • ️✔️track2_azure-mgmt-resourcehealth [View full logs]  [Preview SDK Changes]
      info	[Changelog]
    ️⚠️ azure-sdk-for-java warning [Detail]
    • ⚠️Warning [Logs] Generate from 5c1ea682d190ad8769009466e62bb94ea8e4e17e. 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 is available: 23.0.1 -> 23.2.1
      cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
      cmderr	[init.sh] [notice] A new release of pip is available: 23.0.1 -> 23.2.1
      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
    • ️✔️azure-resourcemanager-resourcehealth [View full logs]  [Preview SDK Changes]
    ️❌ azure-sdk-for-net failed [Detail]
    • Code Generator Failed [Logs] Generate from 5c1ea682d190ad8769009466e62bb94ea8e4e17e. 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 [email protected]/[email protected] --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
      cmdout	[Autorest] WARNING (PostOperationIdContainsUrlVerb/R2066/SDKViolation): OperationId should contain the verb: 'listsecurityadvisoryimpactedresources' in:'SecurityAdvisoryImpactedResources_ListBySubscriptionIdAndEventId'. Consider updating the operationId
      cmdout	[Autorest] WARNING (PostOperationIdContainsUrlVerb/R2066/SDKViolation): OperationId should contain the verb: 'listsecurityadvisoryimpactedresources' in:'SecurityAdvisoryImpactedResources_ListByTenantIdAndEventId'. Consider updating the operationId
      cmdout	[Autorest] WARNING (PostOperationIdContainsUrlVerb/R2066/SDKViolation): OperationId should contain the verb: 'fetcheventdetails' in:'Event_fetchDetailsBySubscriptionIdAndTrackingId'. Consider updating the operationId
      cmdout	[Autorest] WARNING (PostOperationIdContainsUrlVerb/R2066/SDKViolation): OperationId should contain the verb: 'fetcheventdetails' in:'Event_fetchDetailsByTenantIdAndTrackingId'. Consider updating the operationId
      cmdout	[Autorest] WARNING (PageableOperation/R2029/SDKViolation): Based on the response model schema, operation 'Operations_List' might be pageable. Consider adding the x-ms-pageable extension.
      cmdout	[Autorest] WARNING (OperationIdNounConflictingModelNames/R2063/SDKViolation): OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'EventsModel'. Consider using the plural form of 'Events' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
      cmdout	[Autorest] WARNING (OperationIdNounConflictingModelNames/R2063/SDKViolation): OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'EventModel'. Consider using the plural form of 'Event' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
      cmdout	[Autorest] WARNING (OperationIdNounConflictingModelNames/R2063/SDKViolation): OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'EventModel'. Consider using the plural form of 'Event' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
      cmdout	[Autorest] WARNING (OperationIdNounConflictingModelNames/R2063/SDKViolation): OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'EventsModel'. Consider using the plural form of 'Events' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
      cmdout	[Autorest] WARNING (OperationIdNounConflictingModelNames/R2063/SDKViolation): OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'EventModel'. Consider using the plural form of 'Event' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
      cmdout	[Autorest] WARNING (OperationIdNounConflictingModelNames/R2063/SDKViolation): OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'EventModel'. Consider using the plural form of 'Event' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
      cmdout	[Autorest] WARNING (OperationIdNounConflictingModelNames/R2063/SDKViolation): OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'EventsModel'. Consider using the plural form of 'Events' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
      cmderr	[Autorest] ERROR (BodyTopLevelProperties/R3006/ARMViolation): Top level properties should be one of name, type, id, location, properties, tags, plan, sku, etag, managedBy, identity, zones. Model definition 'MetadataEntity' has extra properties ['systemData'].
      cmderr	[Autorest]     - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json:1448:6 ($.definitions.MetadataEntity.properties)
      cmderr	[Autorest] ERROR (BodyTopLevelProperties/R3006/ARMViolation): Top level properties should be one of name, type, id, location, properties, tags, plan, sku, etag, managedBy, identity, zones. Model definition 'eventImpactedResource' has extra properties ['systemData'].
      cmderr	[Autorest]     - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json:1875:6 ($.definitions.eventImpactedResource.properties)
      cmderr	[Autorest] ERROR (BodyTopLevelProperties/R3006/ARMViolation): Top level properties should be one of name, type, id, location, properties, tags, plan, sku, etag, managedBy, identity, zones. Model definition 'event' has extra properties ['systemData'].
      cmderr	[Autorest]     - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json:982:6 ($.definitions.event.properties)
      cmderr	[Autorest] ERROR (BodyTopLevelProperties/R3006/ARMViolation): Top level properties should be one of name, type, id, location, properties, tags, plan, sku, etag, managedBy, identity, zones. Model definition 'emergingIssuesGetResult' has extra properties ['systemData'].
      cmderr	[Autorest]     - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json:1949:6 ($.definitions.emergingIssuesGetResult.properties)
      cmderr	[Autorest] ERROR (BodyTopLevelProperties/R3006/ARMViolation): Top level properties should be one of name, type, id, location, properties, tags, plan, sku, etag, managedBy, identity, zones. Model definition 'impactedResourceStatus' has extra properties ['systemData'].
      cmderr	[Autorest]     - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json:1373:6 ($.definitions.impactedResourceStatus.properties)
      cmderr	[Autorest] ERROR (BodyTopLevelProperties/R3006/ARMViolation): Top level properties should be one of name, type, id, location, properties, tags, plan, sku, etag, managedBy, identity, zones. Model definition 'AzureEntityResource' has extra properties ['systemData'].
      cmderr	[Autorest]     - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/common-types/resource-management/v3/types.json:43:6 ($.definitions.AzureEntityResource.properties)
      cmdout	[Autorest] WARNING (AvoidNestedProperties/R2001/SDKViolation): Consider using x-ms-client-flatten to provide a better end user experience
      cmdout	[Autorest] WARNING (EnumInsteadOfBoolean/R3018/ARMViolation): Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: published
      cmdout	[Autorest] WARNING (DescriptionAndTitleMissing/R4000/SDKViolation): 'identity' model/property lacks 'description' and 'title' property. Consider adding a 'description'/'title' element. Accurate description/title is essential for maintaining reference documentation.
      cmdout	[Autorest] WARNING (DescriptionAndTitleMissing/R4000/SDKViolation): 'sku' model/property lacks 'description' and 'title' property. Consider adding a 'description'/'title' element. Accurate description/title is essential for maintaining reference documentation.
      cmdout	[Autorest] WARNING (DescriptionAndTitleMissing/R4000/SDKViolation): 'plan' model/property lacks 'description' and 'title' property. Consider adding a 'description'/'title' element. Accurate description/title is essential for maintaining reference documentation.
      cmdout	[Autorest] WARNING (DescriptionAndTitleMissing/R4000/SDKViolation): 'tier' model/property lacks 'description' and 'title' property. Consider adding a 'description'/'title' element. Accurate description/title is essential for maintaining reference documentation.
      error	Script return with result [failed] code [6] signal [null] cwd [azure-sdk-for-net]: autorest
      warn	Skip package processing as generation is failed
    ️❌ azure-resource-manager-schemas failed [Detail]
    • Failed [Logs] Generate from 5c1ea682d190ad8769009466e62bb94ea8e4e17e. Schema Automation 14.0.0
      command	.sdkauto/initScript.sh ../azure-resource-manager-schemas_tmp/initInput.json ../azure-resource-manager-schemas_tmp/initOutput.json
      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/resource-manager [View full logs
    ️❌ azure-powershell failed [Detail]
    • Pipeline Framework Failed [Logs] Generate from 5c1ea682d190ad8769009466e62bb94ea8e4e17e. 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
      SSL error: syscall failure: Broken pipe
      Error: SSL error: syscall failure: Broken pipe
    • ️✔️Az.resourcehealth.DefaultTag [View full logs
      error	Fatal error: SSL error: syscall failure: Broken pipe
      error	The following packages are still pending:
      error		Az.resourcehealth.DefaultTag
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jul 17, 2023

    Generated ApiView

    Language Package Name ApiView Link
    Java azure-resourcemanager-resourcehealth https://apiview.dev/Assemblies/Review/06192a04419a4ab59c4fbf469ee4ab71
    JavaScript @azure/arm-resourcehealth https://apiview.dev/Assemblies/Review/dc36c1b4019b41cd9ab6a81a79fd14d2

    @mkatkam mkatkam force-pushed the mkatkam-resourcehealth-Microsoft.ResourceHealth-2023-07-01-preview branch from b4f0afb to e9e9c78 Compare July 19, 2023 17:25
    @openapi-workflow-bot
    Copy link

    Hi @mkatkam! The automation detected breaking changes in this pull request. As a result, it added the BreakingChangeReviewRequired label.

    You cannot proceed with merging this PR until you complete one of the following action items:

    ACTION ITEM ALTERNATIVE A: Fix the breaking change.
    Please consult the documentation provided in the relevant validation failures.

    ACTION ITEM ALTERNATIVE B: Request approval.
    Alternatively, if you cannot fix the breaking changes, then you can request an approval for them. Please follow the process described in the High-level Breaking Change Process doc.

    ACTION ITEM ALTERNATIVE C: Report false positive.
    If you think there are no breaking changes, i.e. the validation should pass yet it fails, then proceed as explained in ACTION ITEM ALTERNATIVE B.
    This applies even if the breaking change tool fails with internal runtime error. In such case a manual breaking change review is necessary.

    @openapi-workflow-bot
    Copy link

    Please address or respond to feedback from the ARM API reviewer.
    When you are ready to continue the ARM API review, please remove the ARMChangesRequested label.
    This will notify the reviewer to have another look.
    If the feedback provided needs further discussion, please use this Teams channel to post your questions - aka.ms/azsdk/support/specreview-channel.
    Please include [ARM Query] in the title of your question to indicate that it is ARM-related.

    @openapi-workflow-bot
    Copy link

    Hi @mkatkam! Your PR has some issues. Please fix the CI issues, if present, in following order: Avocado, SemanticValidation, ModelValidation, Breaking Change, LintDiff.

    TaskHow to fixPriority
    AvocadoFix-AvocadoHigh
    Semantic ValidationFix-SemanticValidation-ErrorHigh
    Model ValidationFix-ModelValidation-ErrorHigh
    LintDiffFix-LintDiffHigh

    If you need further help, please reach out on the Teams channel aka.ms/azsdk/support/specreview-channel.

    …ents Object and modified examples accordingly
    @mkatkam mkatkam force-pushed the mkatkam-resourcehealth-Microsoft.ResourceHealth-2023-07-01-preview branch from e9e9c78 to 16a3acc Compare July 20, 2023 18:57
    @abhishek-corp abhishek-corp self-requested a review July 20, 2023 19:05
    @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 Jul 25, 2023
    @microsoft-github-policy-service
    Copy link
    Contributor

    Hi, @mkatkam. Your PR has no update for 14 days and it is marked as stale PR. If no further update for over 14 days, the bot will close the PR. If you want to refresh the PR, please remove no-recent-activity label.

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Aug 16, 2023

    Next Steps to Merge

    ⚠️ This is an experimental comment. It may not always be up-to-date. ⚠️

    Next steps that must be taken to merge this PR:
    • ❌ Your PR is in purview of ARM review (label: ARMReview). Please ensure your PR is on the ARM PR review queue - see instructions in steps 1 and 2 in the PR description diagram.
    • ❌ The required check named Swagger Avocado has failed. Refer to the check in the PR's 'Checks' tab for details on how to fix it.

    @mkatkam
    Copy link
    Contributor Author

    mkatkam commented Aug 16, 2023

    Hi @mkatkam! The automation detected breaking changes in this pull request. As a result, it added the BreakingChangeReviewRequired label. You cannot proceed with merging this PR until you complete one of the following action items: ACTION ITEM ALTERNATIVE A: Fix the breaking change. Please consult the documentation provided in the relevant validation failures. ACTION ITEM ALTERNATIVE B: Request approval. Alternatively, if you cannot fix the breaking changes, then you can request an approval for them. Please follow the process described in the High-level Breaking Change Process doc. ACTION ITEM ALTERNATIVE C: Report false positive. If you think there are no breaking changes, i.e. the validation should pass yet it fails, then proceed as explained in ACTION ITEM ALTERNATIVE B. This applies even if the breaking change tool fails with internal runtime error. In such case a manual breaking change review is necessary.

    Please fix the breaking changes or please get a breaking changes approval from Azure Breaking Changes Reviewers [email protected] and ARM can review the changes afterwards. Once you have the approval, please remove the "ARMChangesRequested" label from the PR to make the PR visible to the ARM reviewers.

    @mkatkam mkatkam closed this Aug 16, 2023
    @mkatkam mkatkam reopened this Aug 16, 2023
    @openapi-pipeline-app
    Copy link

    Automatic PR validation started. This comment will be populated with next steps to merge this PR once validation is completed. Please wait ⌛.

    @mkatkam
    Copy link
    Contributor Author

    mkatkam commented Aug 16, 2023

    Hi @mkatkam! The automation detected breaking changes in this pull request. As a result, it added the BreakingChangeReviewRequired label. You cannot proceed with merging this PR until you complete one of the following action items: ACTION ITEM ALTERNATIVE A: Fix the breaking change. Please consult the documentation provided in the relevant validation failures. ACTION ITEM ALTERNATIVE B: Request approval. Alternatively, if you cannot fix the breaking changes, then you can request an approval for them. Please follow the process described in the High-level Breaking Change Process doc. ACTION ITEM ALTERNATIVE C: Report false positive. If you think there are no breaking changes, i.e. the validation should pass yet it fails, then proceed as explained in ACTION ITEM ALTERNATIVE B. This applies even if the breaking change tool fails with internal runtime error. In such case a manual breaking change review is necessary.

    Please fix the breaking changes or please get a breaking changes approval from Azure Breaking Changes Reviewers [email protected] and ARM can review the changes afterwards. Once you have the approval, please remove the "ARMChangesRequested" label from the PR to make the PR visible to the ARM reviewers.

    Hi, The breaking changes tag was added because I changed the description of a property, but currently I removed everything and kept as is. So, currently there are no breaking changes.

    @mkatkam mkatkam removed ARMChangesRequested CI-BreakingChange-JavaScript BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required labels Aug 16, 2023
    @openapi-workflow-bot openapi-workflow-bot bot added the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Aug 16, 2023
    @TimLovellSmith
    Copy link
    Member

    Hi, The breaking changes tag was added because I changed the description of a property,

    But that doesn't really explain these errors does it?

    Rule Message
    ❌ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/{resourceUri}/providers/Microsoft.ResourceHealth/childAvailabilityStatuses/current' removed or restructured?
    Old: Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L884:5
    ❌ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/{resourceUri}/providers/Microsoft.ResourceHealth/childAvailabilityStatuses' removed or restructured?
    Old: Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L931:5
    ❌ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/{resourceUri}/providers/Microsoft.ResourceHealth/childResources' removed or restructured?
    Old: Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L981:5
    ❌ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'articleId' renamed or removed?
    New: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L1563:11
    Old: Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L1710:11
    ❌ 1033 - RemovedProperty The new version is missing a property found in the old version. Was '_ActionUrl.Comment' renamed or removed?
    New: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L1748:7
    Old: Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L1899:7
    ❌ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'reason' renamed or removed?
    New: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L987:11
    Old: Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L1134:11
    ❌ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'articleId' renamed or removed?
    New: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L1073:15
    Old: Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L1224:15
    ❌ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'parameters' renamed or removed?
    New: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L1073:15
    Old: Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L1224:15
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L1936:11
    Old: Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L2091:11
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L938:13
    Old: Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L1085:13
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L1946:5
    Old: Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L2101:5
    💬 1041 - AddedPropertyInResponse The new version has a new property 'maintenanceId' in response that was not found in the old version.
    New: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L987:11
    Old: Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L1134:11
    💬 1041 - AddedPropertyInResponse The new version has a new property 'maintenanceType' in response that was not found in the old version.
    New: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L987:11
    Old: Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L1134:11
    💬 1041 - AddedPropertyInResponse The new version has a new property 'argQuery' in response that was not found in the old version.
    New: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L987:11
    Old: Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L1134:11

    },
    "maintenanceId": {
    "type": "string",
    "description": "Unique Id for Planned maintenance event"
    Copy link
    Member

    Choose a reason for hiding this comment

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

    Id

    identifier?

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

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

    I will fix this. Thank you!

    },
    "maintenanceId": {
    "type": "string",
    "description": "Unique Id for Planned maintenance event"
    Copy link
    Member

    Choose a reason for hiding this comment

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

    Doc style - they should be "planned maintenance events" (all lowercase) - no need to uppercase this in English docs.

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

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

    I will fix this, thank you!

    },
    "argQuery": {
    "type": "string",
    "description": "ARG Query to fetch the affected resources from their existing ARG locations"
    Copy link
    Member

    Choose a reason for hiding this comment

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

    You should expand out the acronym ARG in case its not obvious to people in the context of Microsoft.ResourceHealth docs

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

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

    I will expand ARG, thank you!

    },
    "extensionName": {
    "type": "string",
    "description": "It provides the name of portal extension to produce link for given service health event."
    Copy link
    Member

    Choose a reason for hiding this comment

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

    I suggest a doc style/content change "It provides the name of portal extension to produce link for given service health event." to just "The name of the Azure portal extension to link to for the given service health event."

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

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

    Quick question on this - We want to correct this and make it better, but will it not create another breaking change as I am changing something that is already existing.?

    },
    "bladeName": {
    "type": "string",
    "description": "It provides the name of portal extension blade to produce link for given service health event."
    Copy link
    Member

    Choose a reason for hiding this comment

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

    I suggest a doc style/content change to just "The name of the Azure portal extension blade to link to for the given service health event."

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

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

    Since this is already existing, I am wondering if this will be a breaking change if I change this.

    "type": "string",
    "description": "It provides the name of portal extension blade to produce link for given service health event."
    },
    "parameters": {
    Copy link
    Member

    Choose a reason for hiding this comment

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

    this object definition doesn't include a proper type declaration that explains how the mapping would be used by an API consumer.

    },
    "parameters": {
    "type": "object",
    "description": "It provides a map of parameter name and value for portal extension blade to produce lik for given service health event."
    Copy link
    Member

    Choose a reason for hiding this comment

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

    typo 'lik' - I wonder if its not caught by spellcheck. Should it be link?

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

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

    I will fix this, but will check if this will cause any breaking changes if I change this. And then proceed accordingly.

    "hirStage": "resolved",
    "maintenanceId": "{maintenanceId}",
    "maintenanceType": "{maintenanceType}",
    "argQuery": "{argQuery}"
    Copy link
    Member

    Choose a reason for hiding this comment

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

    are these realistic enough values that you would want to show in your example docs?

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

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

    These are not realistic values, will try to add sample values for the examples. Thank you for your suggestion.

    @TimLovellSmith
    Copy link
    Member

    TimLovellSmith commented Aug 17, 2023

    Hi, The breaking changes tag was added because I changed the description of a property,

    But that doesn't really explain these errors does it?

    Rule Message
    ❌ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/{resourceUri}/providers/Microsoft.ResourceHealth/childAvailabilityStatuses/current' removed or restructured?
    Old: Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L884:5

    From looking at the PR diff some more, looks like you based it off an old preview version 2022-10-01-preview instead of the latest stable version? If that's just accidental probably you should fix it, so people can you all your features with the new preview.

    @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 Aug 17, 2023
    @mkatkam
    Copy link
    Contributor Author

    mkatkam commented Aug 17, 2023

    Hi, The breaking changes tag was added because I changed the description of a property,

    But that doesn't really explain these errors does it?

    Rule Message
    ❌ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/{resourceUri}/providers/Microsoft.ResourceHealth/childAvailabilityStatuses/current' removed or restructured?
    Old: Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L884:5

    From looking at the PR diff some more, looks like you based it off an old preview version 2022-10-01-preview instead of the latest stable version? If that's just accidental probably you should fix it, so people can you all your features with the new preview.

    Yes, I confirmed with my team as well that I should be using the latest stable version as the base version. So, I will create another PR with base version as 2022-10-01. Is there any other way I can use the same PR ?

    @mkatkam
    Copy link
    Contributor Author

    mkatkam commented Aug 17, 2023

    Hi, The breaking changes tag was added because I changed the description of a property,

    But that doesn't really explain these errors does it?

    Rule Message
    ❌ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/{resourceUri}/providers/Microsoft.ResourceHealth/childAvailabilityStatuses/current' removed or restructured?
    Old: Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L884:5
    ❌ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/{resourceUri}/providers/Microsoft.ResourceHealth/childAvailabilityStatuses' removed or restructured?
    Old: Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L931:5
    ❌ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/{resourceUri}/providers/Microsoft.ResourceHealth/childResources' removed or restructured?
    Old: Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L981:5
    ❌ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'articleId' renamed or removed?
    New: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L1563:11
    Old: Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L1710:11
    ❌ 1033 - RemovedProperty The new version is missing a property found in the old version. Was '_ActionUrl.Comment' renamed or removed?
    New: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L1748:7
    Old: Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L1899:7
    ❌ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'reason' renamed or removed?
    New: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L987:11
    Old: Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L1134:11
    ❌ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'articleId' renamed or removed?
    New: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L1073:15
    Old: Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L1224:15
    ❌ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'parameters' renamed or removed?
    New: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L1073:15
    Old: Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L1224:15
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L1936:11
    Old: Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L2091:11
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L938:13
    Old: Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L1085:13
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L1946:5
    Old: Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L2101:5
    💬 1041 - AddedPropertyInResponse The new version has a new property 'maintenanceId' in response that was not found in the old version.
    New: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L987:11
    Old: Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L1134:11
    💬 1041 - AddedPropertyInResponse The new version has a new property 'maintenanceType' in response that was not found in the old version.
    New: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L987:11
    Old: Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L1134:11
    💬 1041 - AddedPropertyInResponse The new version has a new property 'argQuery' in response that was not found in the old version.
    New: Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json#L987:11
    Old: Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L1134:11

    Yes, I think not using the latest stable version as the base version caused this. I will fix these by using the latest stable version.

    @mkatkam mkatkam closed this Aug 25, 2023
    @mkatkam
    Copy link
    Contributor Author

    mkatkam commented Aug 25, 2023

    Closing this PR as this is incorrectly based off of 2022-10-01-preview instead of 2022-10-01.
    Original and new PR #25447

    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.

    7 participants