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] Publish private branch 'azure-kusto/devCM' #22102

Merged

Conversation

matanova8
Copy link
Contributor

@matanova8 matanova8 commented Jan 9, 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.

@matanova8
Copy link
Contributor Author

The PR is created based on the updates in the private branch. The updates in the PR has already been reviewed and approved with this PR Azure/azure-rest-api-specs-pr/10404

@openapi-workflow-bot
Copy link

Hi, @matanova8 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. [email protected]

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jan 9, 2023

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️⚠️Breaking Change(Cross-Version): 69 Warnings warning [Detail]
    compared swaggers (via Oad v0.10.4)] new version base version
    kusto.json 2022-12-29(8a39131) 2022-11-11(main)
    kusto.json 2022-12-29(8a39131) 2018-09-07-preview(main)

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

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

    Rule Message
    ⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/eventhubconnections' removed or restructured?
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L984:5
    ⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/eventhubConnectionValidation' removed or restructured?
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L1032:5
    ⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/eventhubconnections/{eventHubConnectionName}' removed or restructured?
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L1080:5
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'DatabaseProperties' removed or renamed?
    New: Microsoft.Kusto/stable/2022-12-29/kusto.json#L3679:3
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L1345:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'EventHubConnectionValidation' removed or renamed?
    New: Microsoft.Kusto/stable/2022-12-29/kusto.json#L3679:3
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L1345:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'DatabaseUpdate' removed or renamed?
    New: Microsoft.Kusto/stable/2022-12-29/kusto.json#L3679:3
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L1345:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'EventHubConnectionUpdate' removed or renamed?
    New: Microsoft.Kusto/stable/2022-12-29/kusto.json#L3679:3
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L1345:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'EventHubConnection' removed or renamed?
    New: Microsoft.Kusto/stable/2022-12-29/kusto.json#L3679:3
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L1345:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'DatabaseCheckNameRequest' removed or renamed?
    New: Microsoft.Kusto/stable/2022-12-29/kusto.json#L3679:3
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L1345:3
    ⚠️ 1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'EventHubConnectionNameParameter' removed or renamed?
    New: Microsoft.Kusto/stable/2022-12-29/kusto.json#L6470:3
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L2065:3
    ⚠️ 1009 - RemovedRequiredParameter The required parameter 'databaseName' was removed in the new version.
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L496:11
    ⚠️ 1010 - AddingRequiredParameter The required parameter 'resourceName' was added in the new version.
    New: Microsoft.Kusto/stable/2022-12-29/kusto.json#L966:11
    ⚠️ 1011 - AddingResponseCode The new version adds a response code '202'.
    New: Microsoft.Kusto/stable/2022-12-29/kusto.json#L193:11
    ⚠️ 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
    New: Microsoft.Kusto/stable/2022-12-29/kusto.json#L3702:9
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L1367:9
    ⚠️ 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
    New: Microsoft.Kusto/stable/2022-12-29/kusto.json#L838:13
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L403:13
    ⚠️ 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
    New: Microsoft.Kusto/stable/2022-12-29/kusto.json#L3940:11
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L1975:11
    ⚠️ 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
    New: Microsoft.Kusto/stable/2022-12-29/kusto.json#L1324:13
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L743:13
    ⚠️ 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
    New: Microsoft.Kusto/stable/2022-12-29/kusto.json#L4377:9
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L1583:9
    ⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) 'KC8, KC16, KS8, KS16, D13_v2, D14_v2, L8, L16' from the old version.
    New: Microsoft.Kusto/stable/2022-12-29/kusto.json#L4030:9
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L1470:9
    ⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) 'UnrestrictedViewers' from the old version.
    New: Microsoft.Kusto/stable/2022-12-29/kusto.json#L4902:9
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L1718:9
    ⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.Kusto/stable/2022-12-29/kusto.json#L4104:9
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L1488:9
    ⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.Kusto/stable/2022-12-29/kusto.json#L3915:9
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L1449:9
    ⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.Kusto/stable/2022-12-29/kusto.json#L3920:9
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L1453:9
    ⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.Kusto/stable/2022-12-29/kusto.json#L3925:9
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L1457:9
    ⚠️ 1025 - RequiredStatusChange The 'required' status changed from the old version('True') to the new version('False').
    New: Microsoft.Kusto/stable/2022-12-29/kusto.json#L3950:7
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L1469:7
    ⚠️ 1025 - RequiredStatusChange The 'required' status changed from the old version('True') to the new version('False').
    New: Microsoft.Kusto/stable/2022-12-29/kusto.json#L4836:7
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L1669:7
    ⚠️ 1029 - ReadonlyPropertyChanged The read only property has changed from 'false' to 'true'.
    New: Microsoft.Kusto/stable/2022-12-29/kusto.json#L3956:9
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L1470:9
    ⚠️ 1029 - ReadonlyPropertyChanged The read only property has changed from 'false' to 'true'.
    New: Microsoft.Kusto/stable/2022-12-29/kusto.json#L3961:9
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L1492:9
    ⚠️ 1029 - ReadonlyPropertyChanged The read only property has changed from 'false' to 'true'.
    New: Microsoft.Kusto/stable/2022-12-29/kusto.json#L3937:9
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L1973:9
    ⚠️ 1030 - DifferentDiscriminator The new version has a different discriminator than the previous one.
    New: Microsoft.Kusto/stable/2022-12-29/kusto.json#L5511:11
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L1826:11
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️⚠️LintDiff: 0 Warnings warning [Detail]
    compared tags (via openapi-validator v2.0.0) new version base version
    package-2022-12 package-2022-12(8a39131) default(main)

    The following errors/warnings exist before current PR submission:

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

    Rule Message
    ResourceNameRestriction The resource name parameter 'clusterName' should be defined with a 'pattern' restriction.
    Location: Microsoft.Kusto/stable/2022-12-29/kusto.json#L18
    CreateOperationAsyncResponseValidation An async PUT operation must set long running operation options 'x-ms-long-running-operation-options'
    Location: Microsoft.Kusto/stable/2022-12-29/kusto.json#L59
    UnSupportedPatchProperties The patch operation body parameter schema should not contains property name.
    Location: Microsoft.Kusto/stable/2022-12-29/kusto.json#L150
    UnSupportedPatchProperties The patch operation body parameter schema should not contains property type.
    Location: Microsoft.Kusto/stable/2022-12-29/kusto.json#L150
    UnSupportedPatchProperties The patch operation body parameter schema should not contains property location.
    Location: Microsoft.Kusto/stable/2022-12-29/kusto.json#L150
    LroLocationHeader A 202 response should include an Location response header.
    Location: Microsoft.Kusto/stable/2022-12-29/kusto.json#L195
    DeleteOperationAsyncResponseValidation An async DELETE operation must set long running operation options 'x-ms-long-running-operation-options'
    Location: Microsoft.Kusto/stable/2022-12-29/kusto.json#L213
    LroLocationHeader A 202 response should include an Location response header.
    Location: Microsoft.Kusto/stable/2022-12-29/kusto.json#L243
    ResourceNameRestriction The resource name parameter 'clusterName' should be defined with a 'pattern' restriction.
    Location: Microsoft.Kusto/stable/2022-12-29/kusto.json#L258
    PostOperationAsyncResponseValidation An async POST operation must set long running operation options 'x-ms-long-running-operation-options'
    Location: Microsoft.Kusto/stable/2022-12-29/kusto.json#L259
    LroLocationHeader A 202 response should include an Location response header.
    Location: Microsoft.Kusto/stable/2022-12-29/kusto.json#L289
    ResourceNameRestriction The resource name parameter 'clusterName' should be defined with a 'pattern' restriction.
    Location: Microsoft.Kusto/stable/2022-12-29/kusto.json#L301
    PostOperationAsyncResponseValidation An async POST operation must set long running operation options 'x-ms-long-running-operation-options'
    Location: Microsoft.Kusto/stable/2022-12-29/kusto.json#L302
    LroLocationHeader A 202 response should include an Location response header.
    Location: Microsoft.Kusto/stable/2022-12-29/kusto.json#L332
    ResourceNameRestriction The resource name parameter 'clusterName' should be defined with a 'pattern' restriction.
    Location: Microsoft.Kusto/stable/2022-12-29/kusto.json#L344
    ResourceNameRestriction The resource name parameter 'clusterName' should be defined with a 'pattern' restriction.
    Location: Microsoft.Kusto/stable/2022-12-29/kusto.json#L395
    ResourceNameRestriction The resource name parameter 'principalAssignmentName' should be defined with a 'pattern' restriction.
    Location: Microsoft.Kusto/stable/2022-12-29/kusto.json#L395
    CreateOperationAsyncResponseValidation An async PUT operation must set long running operation options 'x-ms-long-running-operation-options'
    Location: Microsoft.Kusto/stable/2022-12-29/kusto.json#L439
    DeleteOperationAsyncResponseValidation An async DELETE operation must set long running operation options 'x-ms-long-running-operation-options'
    Location: Microsoft.Kusto/stable/2022-12-29/kusto.json#L498
    LroLocationHeader A 202 response should include an Location response header.
    Location: Microsoft.Kusto/stable/2022-12-29/kusto.json#L531
    ResourceNameRestriction The resource name parameter 'clusterName' should be defined with a 'pattern' restriction.
    Location: Microsoft.Kusto/stable/2022-12-29/kusto.json#L546
    ResourceNameRestriction The resource name parameter 'clusterName' should be defined with a 'pattern' restriction.
    Location: Microsoft.Kusto/stable/2022-12-29/kusto.json#L591
    ResourceNameRestriction The resource name parameter 'clusterName' should be defined with a 'pattern' restriction.
    Location: Microsoft.Kusto/stable/2022-12-29/kusto.json#L636
    PostOperationAsyncResponseValidation An async POST operation must set long running operation options 'x-ms-long-running-operation-options'
    Location: Microsoft.Kusto/stable/2022-12-29/kusto.json#L637
    LroLocationHeader A 202 response should include an Location response header.
    Location: Microsoft.Kusto/stable/2022-12-29/kusto.json#L676
    ResourceNameRestriction The resource name parameter 'clusterName' should be defined with a 'pattern' restriction.
    Location: Microsoft.Kusto/stable/2022-12-29/kusto.json#L688
    LroLocationHeader A 202 response should include an Location response header.
    Location: Microsoft.Kusto/stable/2022-12-29/kusto.json#L725
    ResourceNameRestriction The resource name parameter 'clusterName' should be defined with a 'pattern' restriction.
    Location: Microsoft.Kusto/stable/2022-12-29/kusto.json#L941
    ResourceNameRestriction The resource name parameter 'clusterName' should be defined with a 'pattern' restriction.
    Location: Microsoft.Kusto/stable/2022-12-29/kusto.json#L992
    ResourceNameRestriction The resource name parameter 'clusterName' should be defined with a 'pattern' restriction.
    Location: Microsoft.Kusto/stable/2022-12-29/kusto.json#L1043
    ️️✔️Avocado succeeded [Detail] [Expand]
    Validation passes for Avocado.
    ️️✔️ApiReadinessCheck succeeded [Detail] [Expand]
    ️❌~[Staging] ServiceAPIReadinessTest: 63 Errors, 0 Warnings failed [Detail]

    Tag package-2022-12; Prod region: Deployed

    Test run on region: westcentralus; Operation coverage: total: 71, untested: 1, failed: 63, passed: 7

    Service API Readiness Test failed. Check pipeline artifact for detail report.

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

    Rule Message
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.Kusto/clusters/clusternr23l2h' under resource group 'apiTest-OOIodV-22102' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: AttachedDatabaseConfigurations_CheckNameAvailability
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.Kusto/clusters/clusternr23l2h' under resource group 'apiTest-OOIodV-22102' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: Databases_CheckNameAvailability
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.Kusto/clusters/clusternr23l2h' under resource group 'apiTest-OOIodV-22102' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: ClusterPrincipalAssignments_CheckNameAvailability
    CLIENT_ERROR statusCode: 404,
    errorCode: ParentResourceNotFound,
    errorMessage: Can not perform requested operation on nested resource. Parent resource 'clusternr23l2h' not found.
    Source: runtime
    OperationId: DataConnections_CheckNameAvailability
    CLIENT_ERROR statusCode: 404,
    errorCode: ParentResourceNotFound,
    errorMessage: Can not perform requested operation on nested resource. Parent resource 'clusternr23l2h' not found.
    Source: runtime
    OperationId: DatabasePrincipalAssignments_CheckNameAvailability
    CLIENT_ERROR statusCode: 404,
    errorCode: ParentResourceNotFound,
    errorMessage: Can not perform requested operation on nested resource. Parent resource 'clusternr23l2h' not found.
    Source: runtime
    OperationId: Scripts_CheckNameAvailability
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.Kusto/clusters/clusternr23l2h' under resource group 'apiTest-OOIodV-22102' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: ManagedPrivateEndpoints_CheckNameAvailability
    CLIENT_ERROR statusCode: 400,
    errorCode: BadRequest,
    errorMessage: The sku Standard_L16as_v3 is not supported in westcentralus
    Source: runtime
    OperationId: Clusters_CreateOrUpdate
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.Kusto/clusters/clusternr23l2h' under resource group 'apiTest-OOIodV-22102' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: Clusters_Get
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.Kusto/clusters/clusternr23l2h' under resource group 'apiTest-OOIodV-22102' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: Clusters_ListSkusByResource
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.Kusto/clusters/clusternr23l2h' under resource group 'apiTest-OOIodV-22102' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: Clusters_ListOutboundNetworkDependenciesEndpoints
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.Kusto/clusters/clusternr23l2h' under resource group 'apiTest-OOIodV-22102' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: Clusters_Update
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.Kusto/clusters/clusternr23l2h' under resource group 'apiTest-OOIodV-22102' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: Clusters_ListFollowerDatabases
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.Kusto/clusters/clusternr23l2h' under resource group 'apiTest-OOIodV-22102' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: Clusters_ListLanguageExtensions
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.Kusto/clusters/clusternr23l2h' under resource group 'apiTest-OOIodV-22102' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: Clusters_DetachFollowerDatabases
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.Kusto/clusters/clusternr23l2h' under resource group 'apiTest-OOIodV-22102' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: Clusters_DiagnoseVirtualNetwork
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.Kusto/clusters/clusternr23l2h' under resource group 'apiTest-OOIodV-22102' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: Clusters_AddLanguageExtensions
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.Kusto/clusters/clusternr23l2h' under resource group 'apiTest-OOIodV-22102' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: Clusters_Stop
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.Kusto/clusters/clusternr23l2h' under resource group 'apiTest-OOIodV-22102' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: Clusters_Start
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.Kusto/clusters/clusternr23l2h' under resource group 'apiTest-OOIodV-22102' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: Clusters_RemoveLanguageExtensions
    CLIENT_ERROR statusCode: 404,
    errorCode: ParentResourceNotFound,
    errorMessage: Can not perform requested operation on nested resource. Parent resource 'clusternr23l2h' not found.
    Source: runtime
    OperationId: Databases_CreateOrUpdate
    CLIENT_ERROR statusCode: 404,
    errorCode: ParentResourceNotFound,
    errorMessage: Can not perform requested operation on nested resource. Parent resource 'clusternr23l2h' not found.
    Source: runtime
    OperationId: Databases_ListByCluster
    CLIENT_ERROR statusCode: 404,
    errorCode: ParentResourceNotFound,
    errorMessage: Can not perform requested operation on nested resource. Parent resource 'clusternr23l2h' not found.
    Source: runtime
    OperationId: Databases_Get
    CLIENT_ERROR statusCode: 404,
    errorCode: ParentResourceNotFound,
    errorMessage: Can not perform requested operation on nested resource. Parent resource 'clusternr23l2h' not found.
    Source: runtime
    OperationId: Databases_Update
    CLIENT_ERROR statusCode: 404,
    errorCode: ParentResourceNotFound,
    errorMessage: Can not perform requested operation on nested resource. Parent resource 'clusternr23l2h' not found.
    Source: runtime
    OperationId: Databases_ListPrincipals
    CLIENT_ERROR statusCode: 404,
    errorCode: ParentResourceNotFound,
    errorMessage: Can not perform requested operation on nested resource. Parent resource 'clusternr23l2h' not found.
    Source: runtime
    OperationId: Databases_RemovePrincipals
    CLIENT_ERROR statusCode: 404,
    errorCode: ParentResourceNotFound,
    errorMessage: Can not perform requested operation on nested resource. Parent resource 'clusternr23l2h' not found.
    Source: runtime
    OperationId: Databases_AddPrincipals
    CLIENT_ERROR statusCode: 404,
    errorCode: ParentResourceNotFound,
    errorMessage: Can not perform requested operation on nested resource. Parent resource 'clusternr23l2h/databasej5j13q' not found.
    Source: runtime
    OperationId: Scripts_CreateOrUpdate
    CLIENT_ERROR statusCode: 404,
    errorCode: ParentResourceNotFound,
    errorMessage: Can not perform requested operation on nested resource. Parent resource 'clusternr23l2h/databasej5j13q' not found.
    Source: runtime
    OperationId: Scripts_ListByDatabase
    CLIENT_ERROR statusCode: 404,
    errorCode: ParentResourceNotFound,
    errorMessage: Can not perform requested operation on nested resource. Parent resource 'clusternr23l2h/databasej5j13q' not found.
    Source: runtime
    OperationId: Scripts_Get
    ️️✔️~[Staging] SwaggerAPIView succeeded [Detail] [Expand]
    ️️✔️~[Staging] 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 Jan 9, 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/kusto/armkusto - Approved - 2.0.0
    +	Type of `Operation.Properties` has been changed from `interface{}` to `any`
    +	Type of `SKUDescription.Restrictions` has been changed from `[]interface{}` to `[]any`


    ️️✔️ azure-sdk-for-net-track2 succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from df33a7f. 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	pwsh ./eng/scripts/Invoke-GenerateAndBuildV2.ps1 ../azure-sdk-for-net_tmp/generateInput.json ../azure-sdk-for-net_tmp/generateOutput.json
    • ️✔️Azure.ResourceManager.Kusto [View full logs]  [Release SDK Changes]
      info	[Changelog]
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from df33a7f. 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]  notice
      cmderr	[automation_generate.sh] npm notice New major version of npm available! 8.19.3 -> 9.4.0
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.4.0>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g [email protected]` to update!
      cmderr	[automation_generate.sh] npm notice
    • ️✔️track2_azure-mgmt-kusto [View full logs]  [Release SDK Changes]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog]   - Added operation group SkusOperations
      info	[Changelog]   - Model LanguageExtension has a new parameter language_extension_image_name
      info	[Changelog]   - Model SkuLocationInfoItem has a new parameter zone_details
      info	[Changelog]   - Model TableLevelSharingProperties has a new parameter functions_to_exclude
      info	[Changelog]   - Model TableLevelSharingProperties has a new parameter functions_to_include
    ️❌ azure-sdk-for-js failed [Detail]
    • Failed [Logs]Release - Generate from df33a7f. 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
      cmderr	[automation_generate.sh] [ERROR] Error:
      cmderr	[automation_generate.sh] [ERROR] An error occurred while run build for readme file: "specification/azure-kusto/resource-manager/readme.md":
      cmderr	[automation_generate.sh] [ERROR] Err: Error: Command failed: rush build -t @azure/arm-kusto
      cmderr	[automation_generate.sh] [ERROR] Stderr: "null"
      cmderr	[automation_generate.sh] [ERROR] Stdout: "null"
      cmderr	[automation_generate.sh] [ERROR] ErrorStack: "Error: Command failed: rush build -t @azure/arm-kusto
      cmderr	[automation_generate.sh] [ERROR]     at checkExecSyncError (node:child_process:861:11)
      cmderr	[automation_generate.sh] [ERROR]     at Object.execSync (node:child_process:932:15)
      cmderr	[automation_generate.sh] [ERROR]     at Object.<anonymous> (/opt/hostedtoolcache/node/16.19.0/x64/lib/node_modules/@azure-tools/js-sdk-release-tools/dist/hlc/generateMgmt.js:87:33)
      cmderr	[automation_generate.sh] [ERROR]     at Generator.next (<anonymous>)
      cmderr	[automation_generate.sh] [ERROR]     at fulfilled (/opt/hostedtoolcache/node/16.19.0/x64/lib/node_modules/@azure-tools/js-sdk-release-tools/node_modules/tslib/tslib.js:112:62)
      cmderr	[automation_generate.sh] [ERROR]     at processTicksAndRejections (node:internal/process/task_queues:96:5)"
    • @azure/arm-kusto [View full logs]  [Release SDK Changes]
      info	[Changelog]
      error	breakingChangeTracking is enabled, but version or changelogItem is not found in output.
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from df33a7f. 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/kusto/armkusto [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog] - Type of `Operation.Properties` has been changed from `interface{}` to `any`
      info	[Changelog] - Type of `SKUDescription.Restrictions` has been changed from `[]interface{}` to `[]any`
      info	[Changelog]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog] - New value `AzureSKUNameStandardL32AsV3`, `AzureSKUNameStandardL32SV3` added to type alias `AzureSKUName`
      info	[Changelog] - New value `DataConnectionKindCosmosDb` added to type alias `DataConnectionKind`
      info	[Changelog] - New value `ProvisioningStateCanceled` added to type alias `ProvisioningState`
      info	[Changelog] - New type alias `LanguageExtensionImageName` with values `LanguageExtensionImageNamePython3108`, `LanguageExtensionImageNamePython365`, `LanguageExtensionImageNamePython3912`, `LanguageExtensionImageNamePython3912IncludeDeepLearning`, `LanguageExtensionImageNameR`
      info	[Changelog] - New function `*CosmosDbDataConnection.GetDataConnection() *DataConnection`
      info	[Changelog] - New function `NewSKUsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*SKUsClient, error)`
      info	[Changelog] - New function `*SKUsClient.NewListPager(string, *SKUsClientListOptions) *runtime.Pager[SKUsClientListResponse]`
      info	[Changelog] - New struct `CosmosDbDataConnection`
      info	[Changelog] - New struct `CosmosDbDataConnectionProperties`
      info	[Changelog] - New struct `ResourceSKUCapabilities`
      info	[Changelog] - New struct `ResourceSKUZoneDetails`
      info	[Changelog] - New struct `SKUsClient`
      info	[Changelog] - New struct `SKUsClientListResponse`
      info	[Changelog] - New field `LanguageExtensionImageName` in struct `LanguageExtension`
      info	[Changelog] - New field `ZoneDetails` in struct `SKULocationInfoItem`
      info	[Changelog] - New field `FunctionsToExclude` in struct `TableLevelSharingProperties`
      info	[Changelog] - New field `FunctionsToInclude` in struct `TableLevelSharingProperties`
      info	[Changelog]
      info	[Changelog] Total 2 breaking change(s), 28 additive change(s).
    ️️✔️ azure-sdk-for-java succeeded [Detail] [Expand]
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from df33a7f. 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
    • ️✔️azure-kusto [View full logs]  [Release Schema Changes]
    ️️✔️ azure-powershell succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from df33a7f. 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.Kusto [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 Jan 9, 2023

    Generated ApiView

    Language Package Name ApiView Link
    Go sdk/resourcemanager/kusto/armkusto Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.
    Java azure-resourcemanager-kusto Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.
    .Net Azure.ResourceManager.Kusto Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.

    @matanova8
    Copy link
    Contributor Author

    /azp run

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @matanova8
    Copy link
    Contributor Author

    /azp run

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @matanova8
    Copy link
    Contributor Author

    @xiaoxuqi-ms I see that the failure of "Swagger SDK Breaking Change Tracking failed" is due to:
    image
    BUT
    We didn't change anything about the "SKUDescription.Restrictions" in the last 4 version I checked:
    image

    How can I make this test to pass?

    @matanova8
    Copy link
    Contributor Author

    /azp run

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @matanova8
    Copy link
    Contributor Author

    FYI - I reverted "Override basic.yaml" since it included an encoding diff for 2020 examples by mistake.
    Therefore I pushed it again clean:
    override basic.yaml 2

    @xiaoxuqi-ms
    Copy link
    Member

    Can you please update the checklist in the description above ?

    Also this looks like you are adding a new version for an existing service and this PR is not generated properly for a new API version

    the first commit needs to be the previous api version and the new changes should only be added in the subsequent commits. This is explained in detail here (If using Open API which is recommended) https://dev.azure.com/azure-sdk/internal/_wiki/wikis/internal.wiki/208/OpenAPI-Hub-Adding-new-API-version or here(For manual process) : https://dev.azure.com/azure-sdk/internal/_wiki/wikis/internal.wiki/83/Manual-Process-Adding-new-API-version . Please remove the "ARMChangesRequested" label once you have fixed this issue.

    Hi @raosuhas , this service enabled API spec pipeline , and this is a release Pull request consisting other prs in dev branches. It may not start with an init commit but actually all the changes for this new API version have been approved. THe API readiness check is the last check to pass. THanks for your review and Ithink @matanova8 do not need to update the codes as requested.

    @qiaozha
    Copy link
    Member

    qiaozha commented Jan 25, 2023

    /azp run

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @MaryGao
    Copy link
    Member

    MaryGao commented Jan 26, 2023

    /azp run

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @MaryGao
    Copy link
    Member

    MaryGao commented Jan 26, 2023

    @HarshaNalluru The arm-kusto build failed with below err do you have any idea?

    JS PR: azure-sdk/azure-sdk-for-js#3444

    06:40:12.548 cmdout 	[automation_generate.sh] ==[ @azure-tools/test-credential ]===============================[ 15 of 16 ]==
    06:40:12.548 cmdout 	[automation_generate.sh] "@azure/arm-kusto" is blocked by "@azure-tools/test-credential".
    06:40:12.548 cmdout 	[automation_generate.sh] ==[ @azure/core-lro ]============================================[ 16 of 16 ]==
    06:40:12.548 cmderr 	[automation_generate.sh] Returned error code: 2
    06:40:12.548 cmderr 	[automation_generate.sh] "@azure-tools/test-credential" failed to build.
    

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @qiaozha
    Copy link
    Member

    qiaozha commented Jan 26, 2023

    /azp run

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @qiaozha
    Copy link
    Member

    qiaozha commented Jan 26, 2023

    /azp run

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @xiaoxuqi-ms
    Copy link
    Member

    SDK team is confirming the error with Redmond team to identify the root cause and since this version is reaching to production, I will approve this pr and the API readiness issue will be fixed later.

    @xiaoxuqi-ms xiaoxuqi-ms merged commit df33a7f into main Jan 28, 2023
    @xiaoxuqi-ms xiaoxuqi-ms deleted the published/Azure/azure-rest-api-specs-pr/azure-kusto/devCM branch January 28, 2023 13:52
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Approved-SdkBreakingChange-Go Approve the breaking change tracking for azure-sdk-for-go ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review ARMReview CI-BreakingChange-Go new-api-version ReadyForApiTest <valid label in PR review process>add this label when swagger and service APIs are ready for test resource-manager
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    8 participants