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

[NetAppFiles] Release netapp microsoft.net app 2023 11 01 preview #29206

Conversation

audunn
Copy link
Member

@audunn audunn commented May 22, 2024

ARM (Control Plane) API Specification Update Pull Request

Tip

Overwhelmed by all this guidance? See the Getting help section at the bottom of this PR description.

PR review workflow diagram

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

spec_pr_review_workflow_diagram

Purpose of this PR

What's the purpose of this PR? Check the specific option that applies. This is mandatory!

  • New resource provider.
  • New API version for an existing resource provider. (If API spec is not defined in TypeSpec, the PR should have been created in adherence to OpenAPI specs PR creation guidance).
  • 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 OpenAPI spec 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:

  • I confirm this PR is modifying Azure Resource Manager (ARM) related specifications, and not data plane related specifications.
  • I have reviewed following Resource Provider guidelines, including
    ARM resource provider contract and
    REST guidelines (estimated time: 4 hours).
    I understand this is required before I can proceed to the diagram Step 2, "ARM API changes review", for this PR.

Additional information

Viewing API changes

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.

Suppressing failures

If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
suppressions guide to get approval.

Getting help

  • First, please carefully read through this PR description, from top to bottom. Please fill out the Purpose of this PR and Due diligence checklist.
  • To understand what you must do next to merge this PR, see the Next Steps to Merge comment. It will appear within few minutes of submitting this PR and will continue to be up-to-date with current PR state.
  • For guidance on fixing this PR CI check failures, see the hyperlinks provided in given failure
    and https://aka.ms/ci-fix.
  • For help with ARM review (PR workflow diagram Step 2), see https://aka.ms/azsdk/pr-arm-review.
  • If the PR CI checks appear to be stuck in queued state, please add a comment with contents /azp run.
    This should result in a new comment denoting a PR validation pipeline has started and the checks should be updated after few minutes.
  • If the help provided by the previous points is not enough, post to https://aka.ms/azsdk/support/specreview-channel and link to this PR.

Copied the files in a separate commit.
This allows reviewers to easily diff subsequent changes against the previous spec.
Updated the API version from stable/2023-11-01 to preview/2023-11-01-preview.
Copy link

openapi-pipeline-app bot commented May 22, 2024

Next Steps to Merge

✅ All automated merging requirements have been met! To get your PR merged, see aka.ms/azsdk/specreview/merge.

Copy link

openapi-pipeline-app bot commented May 22, 2024

Swagger Validation Report

️❌BreakingChange: 3 Errors, 0 Warnings failed [Detail]
Compared specs (v0.10.9) new version base version
netapp.json 2023-11-01(c57f53a) 2023-11-01(main)
Rule Message
1036 - ConstraintChanged The new version has a different 'minimum' value than the previous one.
New: Microsoft.NetApp/stable/2023-11-01/netapp.json#L6605:9
Old: Microsoft.NetApp/stable/2023-11-01/netapp.json#L6605:9
1037 - ConstraintIsWeaker The new version has a less constraining 'minimum' value than the previous one.
New: Microsoft.NetApp/stable/2023-11-01/netapp.json#L6605:9
Old: Microsoft.NetApp/stable/2023-11-01/netapp.json#L6605:9
1045 - AddedOptionalProperty The new version has a new optional property 'protocolTypes' that was not found in the old version.
New: Microsoft.NetApp/stable/2023-11-01/netapp.json#L7107:7
Old: Microsoft.NetApp/stable/2023-11-01/netapp.json#L7107:7
️❌Breaking Change(Cross-Version): 2 Errors, 8 Warnings failed [Detail]
Compared specs (v0.10.9) new version base version
netapp.json 2023-11-01-preview(c57f53a) 2023-11-01(main)
netapp.json 2023-11-01-preview(c57f53a) 2023-07-01-preview(main)

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

Rule Message
1036 - ConstraintChanged The new version has a different 'minimum' value than the previous one.
New: Microsoft.NetApp/preview/2023-11-01-preview/netapp.json#L7117:9
Old: Microsoft.NetApp/stable/2023-11-01/netapp.json#L6605:9
1037 - ConstraintIsWeaker The new version has a less constraining 'minimum' value than the previous one.
New: Microsoft.NetApp/preview/2023-11-01-preview/netapp.json#L7117:9
Old: Microsoft.NetApp/stable/2023-11-01/netapp.json#L6605:9


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

Rule Message
⚠️ 1023 - TypeFormatChanged The new version has a different format 'arm-id' than the previous one ''.
New: Microsoft.NetApp/preview/2023-11-01-preview/netapp.json#L9755:9
Old: Microsoft.NetApp/preview/2023-07-01-preview/netapp.json#L9525:9
⚠️ 1023 - TypeFormatChanged The new version has a different format 'arm-id' than the previous one ''.
New: Microsoft.NetApp/preview/2023-11-01-preview/netapp.json#L9769:9
Old: Microsoft.NetApp/preview/2023-07-01-preview/netapp.json#L9531:9
⚠️ 1023 - TypeFormatChanged The new version has a different format 'arm-id' than the previous one ''.
New: Microsoft.NetApp/preview/2023-11-01-preview/netapp.json#L10018:9
Old: Microsoft.NetApp/preview/2023-07-01-preview/netapp.json#L8298:9
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'backupEnabled' renamed or removed?
New: Microsoft.NetApp/preview/2023-11-01-preview/netapp.json#L9886:7
Old: Microsoft.NetApp/preview/2023-07-01-preview/netapp.json#L7295:7
⚠️ 1036 - ConstraintChanged The new version has a different 'minimum' value than the previous one.
New: Microsoft.NetApp/preview/2023-11-01-preview/netapp.json#L7117:9
Old: Microsoft.NetApp/preview/2023-07-01-preview/netapp.json#L6991:9
⚠️ 1036 - ConstraintChanged The new version has a different 'minimum' value than the previous one.
New: Microsoft.NetApp/preview/2023-11-01-preview/netapp.json#L7774:9
Old: Microsoft.NetApp/preview/2023-07-01-preview/netapp.json#L7646:9
⚠️ 1037 - ConstraintIsWeaker The new version has a less constraining 'minimum' value than the previous one.
New: Microsoft.NetApp/preview/2023-11-01-preview/netapp.json#L7117:9
Old: Microsoft.NetApp/preview/2023-07-01-preview/netapp.json#L6991:9
⚠️ 1037 - ConstraintIsWeaker The new version has a less constraining 'minimum' value than the previous one.
New: Microsoft.NetApp/preview/2023-11-01-preview/netapp.json#L7774:9
Old: Microsoft.NetApp/preview/2023-07-01-preview/netapp.json#L7646:9
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
️⚠️LintDiff: 2 Warnings warning [Detail]
Compared specs (v2.2.2) new version base version
package-netapp-2023-11-01 package-netapp-2023-11-01(c57f53a) package-netapp-2023-11-01(main)
package-preview-2023-11 package-preview-2023-11(c57f53a) default(main)

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

Rule Message Related RPC [For API reviewers]
⚠️ PostOperationIdContainsUrlVerb OperationId should contain the verb: 'getkeyvaultstatus' in:'Accounts_GetChangeKeyVaultInformation'. Consider updating the operationId
Location: Microsoft.NetApp/preview/2023-11-01-preview/netapp.json#L952
⚠️ 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.NetApp/preview/2023-11-01-preview/netapp.json#L6138


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.NetApp/operations' does not match the ARM specification. Please standardize the schema.
Location: Microsoft.NetApp/preview/2023-11-01-preview/netapp.json#L59
OperationsApiSchemaUsesCommonTypes Operations API path must follow the schema provided in the common types.
Location: Microsoft.NetApp/preview/2023-11-01-preview/netapp.json#L60
GetCollectionOnlyHasValueAndNextLink Get endpoints for collections of resources must only have the value and nextLink properties in their model.
Location: Microsoft.NetApp/preview/2023-11-01-preview/netapp.json#L252
ResourceNameRestriction The resource name parameter 'quotaLimitName' should be defined with a 'pattern' restriction.
Location: Microsoft.NetApp/preview/2023-11-01-preview/netapp.json#L270
XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
Location: Microsoft.NetApp/preview/2023-11-01-preview/netapp.json#L314
GetCollectionOnlyHasValueAndNextLink Get endpoints for collections of resources must only have the value and nextLink properties in their model.
Location: Microsoft.NetApp/preview/2023-11-01-preview/netapp.json#L335
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.NetApp/preview/2023-11-01-preview/netapp.json#L758
UnSupportedPatchProperties Mark the top-level property 'location', specified in the patch operation body, as readOnly or immutable. You could also choose to remove it from the request payload of the Patch operation. This property is not patchable.
Location: Microsoft.NetApp/preview/2023-11-01-preview/netapp.json#L789
PatchBodyParametersSchema Properties of a PATCH request body must not be required, property:type.
Location: Microsoft.NetApp/preview/2023-11-01-preview/netapp.json#L794
PatchBodyParametersSchema Properties of a PATCH request body must not have default value, property:keySource.
Location: Microsoft.NetApp/preview/2023-11-01-preview/netapp.json#L794
PatchBodyParametersSchema Properties of a PATCH request body must not be required, property:keyVaultUri.
Location: Microsoft.NetApp/preview/2023-11-01-preview/netapp.json#L794
PatchBodyParametersSchema Properties of a PATCH request body must not be required, property:keyName.
Location: Microsoft.NetApp/preview/2023-11-01-preview/netapp.json#L794
PatchBodyParametersSchema Properties of a PATCH request body must not be required, property:keyVaultResourceId.
Location: Microsoft.NetApp/preview/2023-11-01-preview/netapp.json#L794
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.NetApp/preview/2023-11-01-preview/netapp.json#L818
PostResponseCodes 200 return code does not have a schema specified. LRO POST must have a 200 return code if only if the final response is intended to have a schema, if not the 200 return code must not be specified.
Location: Microsoft.NetApp/preview/2023-11-01-preview/netapp.json#L843
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.NetApp/preview/2023-11-01-preview/netapp.json#L868
UnSupportedPatchProperties Mark the top-level property 'location', specified in the patch operation body, as readOnly or immutable. You could also choose to remove it from the request payload of the Patch operation. This property is not patchable.
Location: Microsoft.NetApp/preview/2023-11-01-preview/netapp.json#L1216
PatchBodyParametersSchema Properties of a PATCH request body must not have default value, property:size.
Location: Microsoft.NetApp/preview/2023-11-01-preview/netapp.json#L1221
PatchBodyParametersSchema Properties of a PATCH request body must not have default value, property:qosType.
Location: Microsoft.NetApp/preview/2023-11-01-preview/netapp.json#L1221
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.NetApp/preview/2023-11-01-preview/netapp.json#L1248
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.NetApp/preview/2023-11-01-preview/netapp.json#L1293
PutResponseCodes Synchronous and long-running PUT operations must have responses with 200, 201 and default return codes. They also must not have other response codes.
Location: Microsoft.NetApp/preview/2023-11-01-preview/netapp.json#L1414
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.NetApp/preview/2023-11-01-preview/netapp.json#L1463
UnSupportedPatchProperties Mark the top-level property 'location', specified in the patch operation body, as readOnly or immutable. You could also choose to remove it from the request payload of the Patch operation. This property is not patchable.
Location: Microsoft.NetApp/preview/2023-11-01-preview/netapp.json#L1491
PatchBodyParametersSchema Properties of a PATCH request body must not have default value, property:serviceLevel.
Location: Microsoft.NetApp/preview/2023-11-01-preview/netapp.json#L1496
PatchBodyParametersSchema Properties of a PATCH request body must not have default value, property:usageThreshold.
Location: Microsoft.NetApp/preview/2023-11-01-preview/netapp.json#L1496
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.NetApp/preview/2023-11-01-preview/netapp.json#L1526
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.NetApp/preview/2023-11-01-preview/netapp.json#L1581
PostResponseCodes 200 return code does not have a schema specified. LRO POST must have a 200 return code if only if the final response is intended to have a schema, if not the 200 return code must not be specified.
Location: Microsoft.NetApp/preview/2023-11-01-preview/netapp.json#L1667
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.NetApp/preview/2023-11-01-preview/netapp.json#L1707
️❌Avocado: 8 Errors, 0 Warnings failed [Detail]
Rule Message
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.NetApp/netAppAccounts/{}/capacityPools/{}/volumes/{}/mountTargets is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/netapp/resource-manager/readme.md
json: Microsoft.NetApp/preview/2017-08-15/netapp.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.NetApp/netAppAccounts/{}/capacityPools/{}/volumes/{}/backupStatus is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/netapp/resource-manager/readme.md
json: Microsoft.NetApp/preview/2021-04-01-preview/netapp.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.NetApp/netAppAccounts/{}/accountBackups is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/netapp/resource-manager/readme.md
json: Microsoft.NetApp/preview/2023-05-01-preview/netapp.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.NetApp/netAppAccounts/{}/accountBackups/{} is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/netapp/resource-manager/readme.md
json: Microsoft.NetApp/preview/2023-05-01-preview/netapp.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.NetApp/netAppAccounts/{}/capacityPools/{}/volumes/{}/backups is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/netapp/resource-manager/readme.md
json: Microsoft.NetApp/preview/2021-04-01-preview/netapp.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.NetApp/netAppAccounts/{}/capacityPools/{}/volumes/{}/backups/{} is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/netapp/resource-manager/readme.md
json: Microsoft.NetApp/preview/2021-04-01-preview/netapp.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.NetApp/netAppAccounts/{}/vaults is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/netapp/resource-manager/readme.md
json: Microsoft.NetApp/preview/2021-04-01-preview/netapp.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.NetApp/netAppAccounts/{}/capacityPools/{}/volumes/{}/restoreStatus is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/netapp/resource-manager/readme.md
json: Microsoft.NetApp/preview/2023-05-01-preview/netapp.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.
️️✔️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?

Copy link

openapi-pipeline-app bot commented May 22, 2024

Swagger Generation Artifacts

️️✔️ApiDocPreview succeeded [Detail] [Expand]
 Please click here to preview with your @microsoft account. 
️⚠️ azure-sdk-for-python warning [Detail]
  • ⚠️Warning in generating from 6d38dec. 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] W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    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
  • ️✔️azure-mgmt-netapp [Preview SDK Changes]
    • azure-mgmt-netapp-5.1.0.zip
    • azure_mgmt_netapp-5.1.0-py3-none-any.whl
    info	[Changelog] ### Features Added
    info	[Changelog]
    info	[Changelog]   - Added operation AccountsOperations.begin_change_key_vault
    info	[Changelog]   - Added operation AccountsOperations.begin_get_change_key_vault_information
    info	[Changelog]   - Added operation AccountsOperations.begin_migrate_encryption_key
    info	[Changelog]   - Added operation VolumesOperations.begin_create_on_prem_migration_replication
    info	[Changelog]   - Added operation VolumesOperations.begin_finalize_on_prem_migration
    info	[Changelog]   - Added operation VolumesOperations.begin_peer_cluster_for_on_prem_migration
    info	[Changelog]   - Added operation VolumesOperations.begin_perform_replication_transfer
    info	[Changelog]   - Added operation VolumesOperations.begin_split_clone_from_parent
    info	[Changelog]   - Model FilePathAvailabilityRequest has a new parameter availability_zone
    info	[Changelog]   - Model NetAppAccount has a new parameter is_multi_ad_enabled
    info	[Changelog]   - Model NetAppAccount has a new parameter nfs_v4_id_domain
    info	[Changelog]   - Model NetAppAccountPatch has a new parameter is_multi_ad_enabled
    info	[Changelog]   - Model NetAppAccountPatch has a new parameter nfs_v4_id_domain
    info	[Changelog]   - Model Replication has a new parameter replication_id
    info	[Changelog]   - Model ReplicationObject has a new parameter remote_path
    info	[Changelog]   - Model Volume has a new parameter accept_grow_capacity_pool_for_short_term_clone_split
    info	[Changelog]   - Model Volume has a new parameter inherited_size_in_bytes
    info	[Changelog]   - Model Volume has a new parameter language
    info	[Changelog]   - Model VolumeGroupVolumeProperties has a new parameter accept_grow_capacity_pool_for_short_term_clone_split
    info	[Changelog]   - Model VolumeGroupVolumeProperties has a new parameter inherited_size_in_bytes
    info	[Changelog]   - Model VolumeGroupVolumeProperties has a new parameter language
    info	[Changelog]   - Model VolumePatch has a new parameter protocol_types
    info	[Changelog]   - Operation NetAppResourceOperations.check_file_path_availability has a new optional parameter availability_zone
️⚠️ azure-sdk-for-net-track2 warning [Detail]
  • ⚠️Warning in generating from 6d38dec. 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
    cmderr	[Invoke-GenerateAndBuildV2.ps1] Get-ChildItem: /mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:807
    cmderr	[Invoke-GenerateAndBuildV2.ps1] Line |
    cmderr	[Invoke-GenerateAndBuildV2.ps1]  807 |  … rtifacts += Get-ChildItem $artifactsPath -Filter *.nupkg -exclude *.s …
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      | Cannot find path
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      | '/mnt/vss/_work/1/s/azure-sdk-for-net/artifacts/packages/Debug/' because
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      | it does not exist.
    cmderr	[Invoke-GenerateAndBuildV2.ps1] GeneratePackage: /mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:714
    cmderr	[Invoke-GenerateAndBuildV2.ps1] Line |
    cmderr	[Invoke-GenerateAndBuildV2.ps1]  714 |          GeneratePackage -projectFolder $projectFolder -sdkRootPath $s …
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      | Failed to generate sdk artifact
  • ️✔️Azure.ResourceManager.NetApp [Preview SDK Changes]
    info	[Changelog]
️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
  • ️✔️Succeeded in generating from 6d38dec. 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-netapp [Preview SDK Changes]
    • azure-arm-netapp-21.1.0-beta.1.tgz
️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
  • ️✔️Succeeded in generating from 6d38dec. 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/netapp/armnetapp [Preview SDK Changes]
️️✔️ azure-sdk-for-java succeeded [Detail] [Expand]
  • ️✔️Succeeded in generating from 6d38dec. 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
    command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
  • ️✔️azure-resourcemanager-netapp [Preview SDK Changes]
    • pom.xml
    • azure-resourcemanager-netapp-1.3.0-beta.1-sources.jar
    • azure-resourcemanager-netapp-1.3.0-beta.1.jar
️❌ azure-resource-manager-schemas failed [Detail]
  • Code Generator Failed in generating from 6d38dec. 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] Submodule 'bicep-types-az' (https://github.com/Azure/bicep-types-az) registered for path 'bicep-types-az'
    cmderr	[initScript.sh] Cloning into '/mnt/vss/_work/1/s/azure-resource-manager-schemas/bicep-types-az'...
    cmderr	[initScript.sh] Submodule 'bicep-types' (https://github.com/Azure/bicep-types) registered for path 'bicep-types-az/bicep-types'
    cmderr	[initScript.sh] Cloning into '/mnt/vss/_work/1/s/azure-resource-manager-schemas/bicep-types-az/bicep-types'...
    cmderr	[initScript.sh] npm notice
    cmderr	[initScript.sh] npm notice New minor version of npm available! 10.7.0 -> 10.8.1
    cmderr	[initScript.sh] npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.1
    cmderr	[initScript.sh] npm notice To update run: npm install -g npm@10.8.1
    cmderr	[initScript.sh] npm notice
    error	Script return with result [failed] code [1] signal [null] cwd [azure-resource-manager-schemas]: .sdkauto/initScript.sh
    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
    cmderr	[generateScript.sh] /mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:500
    cmderr	[generateScript.sh]     return new TSError(diagnosticText, diagnosticCodes)
    cmderr	[generateScript.sh]            ^
    cmderr	[generateScript.sh] TSError: ⨯ Unable to compile TypeScript:
    cmderr	[generateScript.sh] cmd/generateall.ts(6,20): error TS2307: Cannot find module 'colors' or its corresponding type declarations.
    cmderr	[generateScript.sh] cmd/generateall.ts(10,19): error TS2307: Cannot find module 'yargs' or its corresponding type declarations.
    cmderr	[generateScript.sh] cmd/generateall.ts(11,18): error TS2307: Cannot find module 'path' or its corresponding type declarations.
    cmderr	[generateScript.sh] cmd/generateall.ts(13,35): error TS2307: Cannot find module 'fs' or its corresponding type declarations.
    cmderr	[generateScript.sh] cmd/generateall.ts(14,23): error TS2307: Cannot find module 'strip-ansi' or its corresponding type declarations.
    cmderr	[generateScript.sh] cmd/generateall.ts(42,9): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.
    cmderr	[generateScript.sh] cmd/generateall.ts(53,9): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.
    cmderr	[generateScript.sh] cmd/generateall.ts(69,67): error TS7006: Parameter 'x' implicitly has an 'any' type.
    cmderr	[generateScript.sh] cmd/generateall.ts(70,49): error TS7006: Parameter 'f' implicitly has an 'any' type.
    cmderr	[generateScript.sh] cmd/generateall.ts(94,21): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.
    cmderr	[generateScript.sh] cmd/generateall.ts(105,21): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.
    cmderr	[generateScript.sh] cmd/generateall.ts(106,21): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.
    cmderr	[generateScript.sh] cmd/generateall.ts(157,13): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
    cmderr	[generateScript.sh]     at createTSError (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:500:12)
    cmderr	[generateScript.sh]     at reportTSError (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:504:19)
    cmderr	[generateScript.sh]     at getOutput (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:739:36)
    cmderr	[generateScript.sh]     at Object.compile (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:955:32)
    cmderr	[generateScript.sh]     at Module.m._compile (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:1043:43)
    cmderr	[generateScript.sh]     at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
    cmderr	[generateScript.sh]     at Object.require.extensions.<computed> [as .ts] (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:1046:12)
    cmderr	[generateScript.sh]     at Module.load (node:internal/modules/cjs/loader:1203:32)
    cmderr	[generateScript.sh]     at Function.Module._load (node:internal/modules/cjs/loader:1019:12)
    cmderr	[generateScript.sh]     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
    error	Script return with result [failed] code [1] signal [null] cwd [azure-resource-manager-schemas]: .sdkauto/generateScript.sh
    warn	Skip package processing as generation is failed
    error	ERROR: The 'breakingChangesLabel' configuration is missing or incorrect from the 'swagger_to_sdk_config.json file.
️⚠️ azure-powershell warning [Detail]
  • ⚠️Warning in generating from 6d38dec. 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.netapp.DefaultTag [Preview SDK Changes]
Posted by Swagger Pipeline | How to fix these errors?

@audunn
Copy link
Member Author

audunn commented May 22, 2024

getKeyVaultStatus and changeKeyVault API reviewed here https://github.com/Azure/azure-rest-api-specs-pr/pull/15077

@audunn audunn added BreakingChange-Approved-BugFix Changes are to correct the REST API definition to correctly describe service behavior WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required and removed BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required NotReadyForARMReview labels May 24, 2024
@AzureRestAPISpecReview AzureRestAPISpecReview added the BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required label May 29, 2024
@audunn audunn removed the BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required label May 29, 2024
@AzureRestAPISpecReview AzureRestAPISpecReview added the BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required label May 29, 2024
@audunn audunn removed the BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required label May 29, 2024
@audunn
Copy link
Member Author

audunn commented May 29, 2024

Regarding the braking change flag and BreakingChange-Approved-BugFix label. The minimum supported coolnessPeriod value was changed from 7 to 2.
This change makes it less constraining and is correcting the definition to accurately describe the service behavior,

Similar with protocolTypes this property was an omission from the specs in volumePatchProperties (PATCH) while it exists in volumeProperties (PUT). This is a bug and we are adding it here to accurately describe the service behavior.

@AzureRestAPISpecReview AzureRestAPISpecReview added the BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required label May 30, 2024
@audunn audunn removed the BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required label May 30, 2024
Copy link
Member

@rkmanda rkmanda left a comment

Choose a reason for hiding this comment

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

:shipit:

@rkmanda rkmanda added the ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review label Jun 8, 2024
@openapi-pipeline-app openapi-pipeline-app bot removed the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Jun 8, 2024
…into release-netapp-Microsoft.NetApp-2023-11-01-preview
@audunn audunn added the MergeRequested Part of the ARM PR review workflow label Jun 10, 2024
@AzureRestAPISpecReview AzureRestAPISpecReview added the BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required label Jun 10, 2024
@razvanbadea-msft razvanbadea-msft merged commit a64415b into Azure:main Jun 11, 2024
29 of 32 checks passed
markcowl pushed a commit to markcowl/azure-rest-api-specs that referenced this pull request Jun 11, 2024
…ure#29206)

* Copy files from stable/2023-11-01

Copied the files in a separate commit.
This allows reviewers to easily diff subsequent changes against the previous spec.

* Update version to preview/2023-11-01-preview

Updated the API version from stable/2023-11-01 to preview/2023-11-01-preview.

* Added tag for 2023-11-01-preview in readme file

* apply 2023-11-01

* pretty

* remove extra example

* spelling

* Accounts_GetChangeKeyVaultInformation

* Arm-id

* coolnessperiod minimum fix

* Add protocolTypes to volumePatchProperties
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ARMReview ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review BreakingChange-Approved-BugFix Changes are to correct the REST API definition to correctly describe service behavior BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required MergeRequested Part of the ARM PR review workflow new-api-version resource-manager
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants