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

Update agfood.json #3299

Closed
wants to merge 1 commit into from
Closed

Update agfood.json #3299

wants to merge 1 commit into from

Conversation

konrad-jamrozik
Copy link

@konrad-jamrozik konrad-jamrozik commented Apr 23, 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.

Note

As of January 2024 there is no PR assignee. This is expected. See https://aka.ms/azsdk/pr-arm-review.

PR review workflow diagram

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

diagram

Click here to see the details of Step 1, Breaking Changes review

If you are in purview of Step 1 of the diagram, follow the Breaking Changes review process.
IMPORTANT! This applies even if you believe your PR was mislabeled, for any reason, including tool failure.

Click here to see the details of Step 2, ARM review

See https://aka.ms/azsdk/pr-arm-review.

Click here to see the diagram footnotes

Diagram footnotes

[1] See ARM review queue (for PR merge queues, see [2]).
[2] public repo merge queue, private repo merge queue (for ARM review queue, [1])
The ARM reviewer on-call engineer visits the merge queue twice a day, so the approximate ETA for merges is 12 - 24 hours.

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 generated using OpenAPI Hub).
  • 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 PR workflow diagram Step 2 (ARM review), 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.

Copy link

openapi-pipeline-app-test bot commented Apr 23, 2024

Next Steps to merge

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 Automated merging requirements met has failed. This is the final check that must pass. Refer to the check in the PR's 'Checks' tab for details on how to fix it. In addition, refer to step 4 in the PR workflow diagram (even if your PR is for data plane, not ARM).

Copy link

openapi-pipeline-app-test bot commented Apr 23, 2024

Swagger Generation Artifacts

️🔄[ignore this check status; not blocking PR merge] ApiDocPreview inProgress [Detail]
️❌ azure-sdk-for-python failed [Detail]
  • Code Generator Failed in generating from 2b5eb55cc3d9aaa6a88848102c0c9d499156877c. 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: azure-devtools 1.2.1 does not provide the extra 'ci-tools'
    cmderr	[automation_init.sh] WARNING: azure-devtools 1.2.1 does not provide the extra 'ci-tools'
    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]  New patch version of npm available! 10.5.0 -> 10.5.2
    cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.5.2>
    cmderr	[automation_generate.sh] npm notice Run `npm install -g [email protected]` to update!
    cmderr	[automation_generate.sh] npm notice
    cmdout	[automation_generate.sh] [Autorest]   | info:  Step: Fetching packages
    cmdout	[automation_generate.sh] [Autorest]   | error: @azure/[email protected]: The engine "node" is incompatible with this module. Expected version ">=18.0.0". Got "16.15.0"
    cmdout	[automation_generate.sh] [Autorest]   | error: Found incompatible module.
    cmdout	[automation_generate.sh] [Autorest]   | info: Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
    cmdout	[automation_generate.sh] [Autorest]
    cmdout	[automation_generate.sh] [Autorest] error   | Autorest completed with an error. If you think the error message is unclear, or is a bug, please declare an issues at https://github.com/Azure/autorest/issues with the error message you are seeing.
    cmdout	[automation_generate.sh] [Autorest] fatal   | Failed to install extension '@autorest/python' (6.7.1)
    cmdout	[automation_generate.sh] [Autorest]   | info:  Step: Fetching packages
    cmdout	[automation_generate.sh] [Autorest]   | error: @azure/[email protected]: The engine "node" is incompatible with this module. Expected version ">=18.0.0". Got "16.15.0"
    cmdout	[automation_generate.sh] [Autorest]   | error: Found incompatible module.
    cmdout	[automation_generate.sh] [Autorest]   | info: Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
    cmdout	[automation_generate.sh] [Autorest]
    cmdout	[automation_generate.sh] [Autorest] error   | Autorest completed with an error. If you think the error message is unclear, or is a bug, please declare an issues at https://github.com/Azure/autorest/issues with the error message you are seeing.
    cmdout	[automation_generate.sh] [Autorest] fatal   | Failed to install extension '@autorest/python' (6.7.1)
    cmdout	[automation_generate.sh] [Autorest]/mnt/vss/_work/1/s/azure-sdk-for-python_tmp/venv-sdk/auto_temp.json does not exist!!!Error happened during codegen
    error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-python]: sh scripts/automation_generate.sh
    warn	Skip package processing as generation is failed
️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
  • ️✔️Succeeded in generating from 2b5eb55cc3d9aaa6a88848102c0c9d499156877c. 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/agrifood/armagrifood [Preview SDK Changes] Breaking Change Detected
    Only showing 120 items here. Refer to log for details.
    info	[Changelog] - Function `NewFarmBeatsModelsClient` has been removed
    info	[Changelog] - Function `*FarmBeatsModelsClient.CreateOrUpdate` has been removed
    info	[Changelog] - Function `*FarmBeatsModelsClient.Delete` has been removed
    info	[Changelog] - Function `*FarmBeatsModelsClient.Get` has been removed
    info	[Changelog] - Function `*FarmBeatsModelsClient.GetOperationResult` has been removed
    info	[Changelog] - Function `*FarmBeatsModelsClient.NewListByResourceGroupPager` has been removed
    info	[Changelog] - Function `*FarmBeatsModelsClient.NewListBySubscriptionPager` has been removed
    info	[Changelog] - Function `*FarmBeatsModelsClient.BeginUpdate` has been removed
    info	[Changelog] - Function `NewLocationsClient` has been removed
    info	[Changelog] - Function `*LocationsClient.CheckNameAvailability` has been removed
    info	[Changelog] - Function `*PrivateEndpointConnectionsClient.NewListByResourcePager` has been removed
    info	[Changelog] - Function `*PrivateLinkResourcesClient.NewListByResourcePager` has been removed
    info	[Changelog] - Function `dateTimeRFC3339.MarshalText` has been removed
    info	[Changelog] - Function `*dateTimeRFC3339.Parse` has been removed
    info	[Changelog] - Function `*dateTimeRFC3339.UnmarshalText` has been removed
    info	[Changelog] - Struct `ClientFactory` has been removed
    info	[Changelog] - Struct `ExtensionsClientListByFarmBeatsResponse` has been removed
    info	[Changelog] - Struct `FarmBeats` has been removed
    info	[Changelog] - Struct `FarmBeatsExtension` has been removed
    info	[Changelog] - Struct `FarmBeatsExtensionListResponse` has been removed
    info	[Changelog] - Struct `FarmBeatsExtensionProperties` has been removed
    info	[Changelog] - Struct `FarmBeatsExtensionsClientListResponse` has been removed
    info	[Changelog] - Struct `FarmBeatsListResponse` has been removed
    info	[Changelog] - Struct `FarmBeatsModelsClientListByResourceGroupResponse` has been removed
    info	[Changelog] - Struct `FarmBeatsModelsClientListBySubscriptionResponse` has been removed
    info	[Changelog] - Struct `FarmBeatsModelsClientUpdateResponse` has been removed
    info	[Changelog] - Struct `FarmBeatsProperties` has been removed
    info	[Changelog] - Struct `FarmBeatsUpdateProperties` has been removed
    info	[Changelog] - Struct `FarmBeatsUpdateRequestModel` has been removed
    info	[Changelog]
    info	[Changelog] ### Features Added
    info	[Changelog]
    info	[Changelog] - New value `ProvisioningStateRunning` added to type alias `ProvisioningState`
    info	[Changelog] - New value `PublicNetworkAccessDisabled` added to type alias `PublicNetworkAccess`
    info	[Changelog] - New type alias `AuthCredentialsKind` with values `AuthCredentialsKindAPIKeyAuthCredentials`, `AuthCredentialsKindOAuthClientCredentials`
    info	[Changelog] - New function `*APIKeyAuthCredentials.GetAuthCredentials() *AuthCredentials`
    info	[Changelog] - New function `*AuthCredentials.GetAuthCredentials() *AuthCredentials`
    info	[Changelog] - New function `NewCheckNameAvailabilityClient(string, azcore.TokenCredential, *arm.ClientOptions) (*CheckNameAvailabilityClient, error)`
    info	[Changelog] - New function `*CheckNameAvailabilityClient.CheckNameAvailability(context.Context, CheckNameAvailabilityRequest, *CheckNameAvailabilityClientCheckNameAvailabilityOptions) (CheckNameAvailabilityClientCheckNameAvailabilityResponse, error)`
    info	[Changelog] - New function `NewDataConnectorsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*DataConnectorsClient, error)`
    info	[Changelog] - New function `*DataConnectorsClient.CreateOrUpdate(context.Context, string, string, string, DataConnector, *DataConnectorsClientCreateOrUpdateOptions) (DataConnectorsClientCreateOrUpdateResponse, error)`
    info	[Changelog] - New function `*DataConnectorsClient.Delete(context.Context, string, string, string, *DataConnectorsClientDeleteOptions) (DataConnectorsClientDeleteResponse, error)`
    info	[Changelog] - New function `*DataConnectorsClient.Get(context.Context, string, string, string, *DataConnectorsClientGetOptions) (DataConnectorsClientGetResponse, error)`
    info	[Changelog] - New function `*DataConnectorsClient.NewListPager(string, string, *DataConnectorsClientListOptions) *runtime.Pager[DataConnectorsClientListResponse]`
    info	[Changelog] - New function `NewDataManagerForAgricultureExtensionsClient(azcore.TokenCredential, *arm.ClientOptions) (*DataManagerForAgricultureExtensionsClient, error)`
    info	[Changelog] - New function `*DataManagerForAgricultureExtensionsClient.Get(context.Context, string, *DataManagerForAgricultureExtensionsClientGetOptions) (DataManagerForAgricultureExtensionsClientGetResponse, error)`
    info	[Changelog] - New function `*DataManagerForAgricultureExtensionsClient.NewListPager(*DataManagerForAgricultureExtensionsClientListOptions) *runtime.Pager[DataManagerForAgricultureExtensionsClientListResponse]`
    info	[Changelog] - New function `NewDataManagerForAgricultureResourcesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*DataManagerForAgricultureResourcesClient, error)`
    info	[Changelog] - New function `*DataManagerForAgricultureResourcesClient.CreateOrUpdate(context.Context, string, string, DataManagerForAgriculture, *DataManagerForAgricultureResourcesClientCreateOrUpdateOptions) (DataManagerForAgricultureResourcesClientCreateOrUpdateResponse, error)`
    info	[Changelog] - New function `*DataManagerForAgricultureResourcesClient.Delete(context.Context, string, string, *DataManagerForAgricultureResourcesClientDeleteOptions) (DataManagerForAgricultureResourcesClientDeleteResponse, error)`
    info	[Changelog] - New function `*DataManagerForAgricultureResourcesClient.Get(context.Context, string, string, *DataManagerForAgricultureResourcesClientGetOptions) (DataManagerForAgricultureResourcesClientGetResponse, error)`
    info	[Changelog] - New function `*DataManagerForAgricultureResourcesClient.NewListByResourceGroupPager(string, *DataManagerForAgricultureResourcesClientListByResourceGroupOptions) *runtime.Pager[DataManagerForAgricultureResourcesClientListByResourceGroupResponse]`
    info	[Changelog] - New function `*DataManagerForAgricultureResourcesClient.NewListBySubscriptionPager(*DataManagerForAgricultureResourcesClientListBySubscriptionOptions) *runtime.Pager[DataManagerForAgricultureResourcesClientListBySubscriptionResponse]`
    info	[Changelog] - New function `*DataManagerForAgricultureResourcesClient.BeginUpdate(context.Context, string, string, DataManagerForAgricultureUpdateRequestModel, *DataManagerForAgricultureResourcesClientBeginUpdateOptions) (*runtime.Poller[DataManagerForAgricultureResourcesClientUpdateResponse], error)`
    info	[Changelog] - New function `*ExtensionsClient.CreateOrUpdate(context.Context, string, string, string, *ExtensionsClientCreateOrUpdateOptions) (ExtensionsClientCreateOrUpdateResponse, error)`
    info	[Changelog] - New function `*ExtensionsClient.NewListByDataManagerForAgriculturePager(string, string, *ExtensionsClientListByDataManagerForAgricultureOptions) *runtime.Pager[ExtensionsClientListByDataManagerForAgricultureResponse]`
    info	[Changelog] - New function `*OAuthClientCredentials.GetAuthCredentials() *AuthCredentials`
    info	[Changelog] - New function `NewOperationResultsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*OperationResultsClient, error)`
    info	[Changelog] - New function `*OperationResultsClient.Get(context.Context, string, string, *OperationResultsClientGetOptions) (OperationResultsClientGetResponse, error)`
    info	[Changelog] - New function `*PrivateEndpointConnectionsClient.ListByResource(context.Context, string, string, *PrivateEndpointConnectionsClientListByResourceOptions) (PrivateEndpointConnectionsClientListByResourceResponse, error)`
    info	[Changelog] - New function `*PrivateLinkResourcesClient.ListByResource(context.Context, string, string, *PrivateLinkResourcesClientListByResourceOptions) (PrivateLinkResourcesClientListByResourceResponse, error)`
    info	[Changelog] - New function `NewSolutionsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*SolutionsClient, error)`
    info	[Changelog] - New function `*SolutionsClient.CreateOrUpdate(context.Context, string, string, string, *SolutionsClientCreateOrUpdateOptions) (SolutionsClientCreateOrUpdateResponse, error)`
    info	[Changelog] - New function `*SolutionsClient.Delete(context.Context, string, string, string, *SolutionsClientDeleteOptions) (SolutionsClientDeleteResponse, error)`
    info	[Changelog] - New function `*SolutionsClient.Get(context.Context, string, string, string, *SolutionsClientGetOptions) (SolutionsClientGetResponse, error)`
    info	[Changelog] - New function `*SolutionsClient.NewListPager(string, string, *SolutionsClientListOptions) *runtime.Pager[SolutionsClientListResponse]`
    info	[Changelog] - New function `NewSolutionsDiscoverabilityClient(azcore.TokenCredential, *arm.ClientOptions) (*SolutionsDiscoverabilityClient, error)`
    info	[Changelog] - New function `*SolutionsDiscoverabilityClient.Get(context.Context, string, *SolutionsDiscoverabilityClientGetOptions) (SolutionsDiscoverabilityClientGetResponse, error)`
    info	[Changelog] - New function `*SolutionsDiscoverabilityClient.NewListPager(*SolutionsDiscoverabilityClientListOptions) *runtime.Pager[SolutionsDiscoverabilityClientListResponse]`
    info	[Changelog] - New function `timeRFC3339.MarshalText() ([]byte, error)`
    info	[Changelog] - New function `*timeRFC3339.Parse(string) error`
    info	[Changelog] - New function `*timeRFC3339.UnmarshalText([]byte) error`
    info	[Changelog] - New struct `APIKeyAuthCredentials`
    info	[Changelog] - New struct `APIProperties`
    info	[Changelog] - New struct `ArmAsyncOperationError`
    info	[Changelog] - New struct `CheckNameAvailabilityClient`
    info	[Changelog] - New struct `DataConnector`
    info	[Changelog] - New struct `DataConnectorListResponse`
    info	[Changelog] - New struct `DataConnectorProperties`
    info	[Changelog] - New struct `DataConnectorsClient`
    info	[Changelog] - New struct `DataConnectorsClientListResponse`
    info	[Changelog] - New struct `DataManagerForAgriculture`
    info	[Changelog] - New struct `DataManagerForAgricultureExtension`
    info	[Changelog] - New struct `DataManagerForAgricultureExtensionListResponse`
    info	[Changelog] - New struct `DataManagerForAgricultureExtensionProperties`
    info	[Changelog] - New struct `DataManagerForAgricultureExtensionsClient`
    info	[Changelog] - New struct `DataManagerForAgricultureExtensionsClientListResponse`
    info	[Changelog] - New struct `DataManagerForAgricultureListResponse`
    info	[Changelog] - New struct `DataManagerForAgricultureProperties`
    info	[Changelog] - New struct `DataManagerForAgricultureResourcesClient`
    info	[Changelog] - New struct `DataManagerForAgricultureResourcesClientListByResourceGroupResponse`
    info	[Changelog] - New struct `DataManagerForAgricultureResourcesClientListBySubscriptionResponse`
    info	[Changelog] - New struct `DataManagerForAgricultureResourcesClientUpdateResponse`
    info	[Changelog] - New struct `DataManagerForAgricultureSolution`
    info	[Changelog] - New struct `DataManagerForAgricultureSolutionListResponse`
    info	[Changelog] - New struct `DataManagerForAgricultureSolutionProperties`
    info	[Changelog] - New struct `DataManagerForAgricultureUpdateProperties`
    info	[Changelog] - New struct `DataManagerForAgricultureUpdateRequestModel`
    info	[Changelog] - New struct `ExtensionInstallationRequest`
    info	[Changelog] - New struct `ExtensionsClientListByDataManagerForAgricultureResponse`
    info	[Changelog] - New struct `KeyVaultProperties`
    info	[Changelog] - New struct `MarketplaceOfferDetails`
    info	[Changelog] - New struct `OAuthClientCredentials`
    info	[Changelog] - New struct `OperationResultsClient`
    info	[Changelog] - New struct `Solution`
    info	[Changelog] - New struct `SolutionListResponse`
    info	[Changelog] - New struct `SolutionProperties`
    info	[Changelog] - New struct `SolutionsClient`
    info	[Changelog] - New struct `SolutionsClientListResponse`
    info	[Changelog] - New struct `SolutionsDiscoverabilityClient`
    info	[Changelog] - New struct `SolutionsDiscoverabilityClientListResponse`
    info	[Changelog] - New field `Error` in struct `ArmAsyncOperation`
    info	[Changelog] - New field `APIDefaultInputParameters` in struct `DetailedInformation`
    info	[Changelog] - New field `APIDocsLink` in struct `DetailedInformation`
    info	[Changelog] - New field `APIType` in struct `DetailedInformation`
    info	[Changelog] - New field `SkipToken` in struct `ExtensionListResponse`
    info	[Changelog] - New field `AdditionalAPIProperties` in struct `ExtensionProperties`
    info	[Changelog] - New field `GroupIDs` in struct `PrivateEndpointConnectionProperties`
    info	[Changelog]
    info	[Changelog] Total 59 breaking change(s), 126 additive change(s).
    Present SDK breaking changes suppressions
    No suppression file added.
    Absent SDK breaking changes suppressions
    - Const `PublicNetworkAccessHybrid` from type alias `PublicNetworkAccess` has been removed
    - Function `*ClientFactory.NewExtensionsClient` has been removed
    - Function `*ClientFactory.NewFarmBeatsExtensionsClient` has been removed
    - Function `*ClientFactory.NewFarmBeatsModelsClient` has been removed
    - Function `*ClientFactory.NewLocationsClient` has been removed
    - Function `*ClientFactory.NewOperationsClient` has been removed
    - Function `*ClientFactory.NewPrivateEndpointConnectionsClient` has been removed
    - Function `*ClientFactory.NewPrivateLinkResourcesClient` has been removed
    - Function `*ExtensionsClient.Create` has been removed
    - Function `*ExtensionsClient.NewListByFarmBeatsPager` has been removed
    - Function `*ExtensionsClient.Update` has been removed
    - Function `*FarmBeatsExtensionsClient.Get` has been removed
    - Function `*FarmBeatsExtensionsClient.NewListPager` has been removed
    - Function `*FarmBeatsModelsClient.BeginUpdate` has been removed
    - Function `*FarmBeatsModelsClient.CreateOrUpdate` has been removed
    - Function `*FarmBeatsModelsClient.Delete` has been removed
    - Function `*FarmBeatsModelsClient.GetOperationResult` has been removed
    - Function `*FarmBeatsModelsClient.Get` has been removed
    - Function `*FarmBeatsModelsClient.NewListByResourceGroupPager` has been removed
    - Function `*FarmBeatsModelsClient.NewListBySubscriptionPager` has been removed
    - Function `*LocationsClient.CheckNameAvailability` has been removed
    - Function `*PrivateEndpointConnectionsClient.NewListByResourcePager` has been removed
    - Function `*PrivateLinkResourcesClient.NewListByResourcePager` has been removed
    - Function `*dateTimeRFC3339.Parse` has been removed
    - Function `*dateTimeRFC3339.UnmarshalText` has been removed
    - Function `NewClientFactory` has been removed
    - Function `NewFarmBeatsExtensionsClient` has been removed
    - Function `NewFarmBeatsModelsClient` has been removed
    - Function `NewLocationsClient` has been removed
    - Function `dateTimeRFC3339.MarshalText` has been removed
    - Struct `ClientFactory` has been removed
    - Struct `ExtensionsClientListByFarmBeatsResponse` has been removed
    - Struct `FarmBeatsExtensionListResponse` has been removed
    - Struct `FarmBeatsExtensionProperties` has been removed
    - Struct `FarmBeatsExtension` has been removed
    - Struct `FarmBeatsExtensionsClientListResponse` has been removed
    - Struct `FarmBeatsListResponse` has been removed
    - Struct `FarmBeatsModelsClientListByResourceGroupResponse` has been removed
    - Struct `FarmBeatsModelsClientListBySubscriptionResponse` has been removed
    - Struct `FarmBeatsModelsClientUpdateResponse` has been removed
    - Struct `FarmBeatsProperties` has been removed
    - Struct `FarmBeatsUpdateProperties` has been removed
    - Struct `FarmBeatsUpdateRequestModel` has been removed
    - Struct `FarmBeats` has been removed
    - Type of `ErrorAdditionalInfo.Info` has been changed from `any` to `interface{}`
    Parse Suppression File Errors
    No suppression file added.
    Please refer to https://aka.ms/azsdk/sdk-suppression for more information.
️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
  • ️✔️Succeeded in generating from 2b5eb55cc3d9aaa6a88848102c0c9d499156877c. 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-agrifood [Preview SDK Changes]
    • azure-arm-agrifood-1.0.0-beta.6.tgz
️⚠️ azure-sdk-for-java warning [Detail]
  • ⚠️Warning in generating from 2b5eb55cc3d9aaa6a88848102c0c9d499156877c. 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
    cmderr	[init.sh] npm notice New patch version of npm available! 10.5.0 -> 10.5.2
    cmderr	[init.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.5.2>
    cmderr	[init.sh] npm notice Run `npm install -g [email protected]` to update!
    cmderr	[init.sh] npm notice
    command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
  • ️✔️azure-resourcemanager-agrifood [Preview SDK Changes]
    • pom.xml
    • azure-resourcemanager-agrifood-1.0.0-beta.2.jar
    • azure-resourcemanager-agrifood-1.0.0-beta.2-sources.jar
️⚠️ azure-powershell warning [Detail]
  • ⚠️Warning in generating from 2b5eb55cc3d9aaa6a88848102c0c9d499156877c. 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.agrifood.DefaultTag [Preview SDK Changes]
Posted by Swagger Pipeline | How to fix these errors?

Copy link

openapi-pipeline-app-test bot commented Apr 23, 2024

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
Compared specs (v0.10.7) new version base version
agfood.json 2020-05-12-preview(b934ce2) 2020-05-12-preview(main)
️️✔️Breaking Change(Cross-Version) succeeded [Detail] [Expand]
There are no breaking changes.
️⚠️LintDiff: 0 Warnings warning [Detail]
Compared specs (v2.2.0) new version base version
package-2020-05-12-preview package-2020-05-12-preview(b934ce2) package-2020-05-12-preview(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 'farmBeatsResourceName' should be defined with a 'pattern' restriction.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L9
ParametersOrder The parameters:extensionId,farmBeatsResourceName,resourceGroupName should be kept in the same order as they present in the path.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L10
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.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L10
ParametersOrder The parameters:extensionId,farmBeatsResourceName,resourceGroupName should be kept in the same order as they present in the path.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L56
ParametersOrder The parameters:extensionId,farmBeatsResourceName,resourceGroupName should be kept in the same order as they present in the path.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L102
ParametersOrder The parameters:extensionId,farmBeatsResourceName,resourceGroupName should be kept in the same order as they present in the path.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L148
ResourceNameRestriction The resource name parameter 'farmBeatsResourceName' should be defined with a 'pattern' restriction.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L195
ResourceNameRestriction The resource name parameter 'farmBeatsResourceName' should be defined with a 'pattern' restriction.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L466
ParametersOrder The parameters:farmBeatsResourceName,resourceGroupName should be kept in the same order as they present in the path.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L510
ParametersOrder The parameters:farmBeatsResourceName,resourceGroupName should be kept in the same order as they present in the path.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L571
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.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L596
PatchBodyParametersSchema Properties of a PATCH request body must not be required, property:name.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L601
TopLevelResourcesListBySubscription The top-level resource 'FarmBeatsExtension' does not have list by subscription operation, please add it.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L1093
ProvisioningStateValidation ProvisioningState must have terminal states: Succeeded, Failed and Canceled.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L1167
⚠️ PreviewVersionOverOneYear The API version:2020-05-12-preview having been in a preview state over one year , please move it to GA or retire.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L6
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L27
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L30
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L33
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L46
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L73
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L76
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L79
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L92
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L119
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L122
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L125
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L138
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L165
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L168
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json#L171
️️✔️[ignore this check status; not blocking PR merge] Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
️️✔️SwaggerAPIView succeeded [Detail] [Expand]
️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
️️✔️PoliCheck succeeded [Detail] [Expand]
Validation passed for PoliCheck.
️️✔️Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️[ignore this check status; not blocking PR merge] SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️PR Summary succeeded [Detail] [Expand]
️️✔️Automated merging requirements met succeeded [Detail] [Expand]
Posted by Swagger Pipeline | How to fix these errors?

@konrad-jamrozik
Copy link
Author

/azp run

Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

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.

3 participants