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

Dev peering microsoft.peering 2022 06 01 #19815

Conversation

JonathanSaraco
Copy link
Contributor

@JonathanSaraco JonathanSaraco commented Jul 19, 2022

MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.

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. If updating an existing version, please select the specific language SDKs and CLIs that must be refreshed after the swagger is published.
    • SDK of .NET (need service team to ensure code readiness)
    • SDK of Python
    • SDK of Java
    • SDK of Js
    • SDK of Go
    • PowerShell
    • CLI
    • Terraform
    • No refresh required for updates in this PR

Contribution checklist:

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 are using OpenAPIHub to initialize the PR for adding a new version. 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 any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.

  • Removing API(s) in a stable version
  • Removing properties in a stable version
  • Removing API version(s) in a stable version
  • Updating API in a stable or public preview version with Breaking Change Validation errors
  • Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

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

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

@openapi-workflow-bot
Copy link

Hi, @JonathanSaraco 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 Jul 19, 2022

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️⚠️Breaking Change(Cross-Version): 7 Warnings warning [Detail]
    compared swaggers (via Oad v0.9.6)] new version base version
    peering.json 2022-06-01(02f86eb) 2022-01-01(main)
    peering.json 2022-06-01(02f86eb) 2020-01-01-preview(main)

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

    Rule Message
    ⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/providers/Microsoft.Peering/CheckServiceProviderAvailability' removed or restructured?
    Old: Microsoft.Peering/preview/2020-01-01-preview/peering.json#L19:5
    ⚠️ 1029 - ReadonlyPropertyChanged The read only property has changed from 'false' to 'true'.
    New: Microsoft.Peering/stable/2022-06-01/peering.json#L2603:9
    Old: Microsoft.Peering/preview/2020-01-01-preview/peering.json#L1964:9
    ⚠️ 1029 - ReadonlyPropertyChanged The read only property has changed from 'false' to 'true'.
    New: Microsoft.Peering/stable/2022-06-01/peering.json#L2616:9
    Old: Microsoft.Peering/preview/2020-01-01-preview/peering.json#L1976:9
    ⚠️ 1029 - ReadonlyPropertyChanged The read only property has changed from 'false' to 'true'.
    New: Microsoft.Peering/stable/2022-06-01/peering.json#L2629:9
    Old: Microsoft.Peering/preview/2020-01-01-preview/peering.json#L1988:9
    ⚠️ 1029 - ReadonlyPropertyChanged The read only property has changed from 'false' to 'true'.
    New: Microsoft.Peering/stable/2022-06-01/peering.json#L3172:9
    Old: Microsoft.Peering/preview/2020-01-01-preview/peering.json#L2402:9
    ⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'code' renamed or removed?
    New: Microsoft.Peering/stable/2022-06-01/peering.json#L4143:7
    Old: Microsoft.Peering/preview/2020-01-01-preview/peering.json#L3183:7
    ⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'message' renamed or removed?
    New: Microsoft.Peering/stable/2022-06-01/peering.json#L4143:7
    Old: Microsoft.Peering/preview/2020-01-01-preview/peering.json#L3183:7
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️⚠️LintDiff: 0 Warnings warning [Detail]
    compared tags (via openapi-validator v1.13.0) new version base version
    package-2022-06-01 package-2022-06-01(02f86eb) 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
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.Peering/stable/2022-06-01/peering.json#L2682
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.Peering/stable/2022-06-01/peering.json#L2722
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.Peering/stable/2022-06-01/peering.json#L2982
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.Peering/stable/2022-06-01/peering.json#L3063
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.Peering/stable/2022-06-01/peering.json#L3110
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.Peering/stable/2022-06-01/peering.json#L3161
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.Peering/stable/2022-06-01/peering.json#L3316
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.Peering/stable/2022-06-01/peering.json#L3323
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.Peering/stable/2022-06-01/peering.json#L3336
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.Peering/stable/2022-06-01/peering.json#L3604
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.Peering/stable/2022-06-01/peering.json#L3882
    ⚠️ R2066 - PostOperationIdContainsUrlVerb OperationId should contain the verb: 'lookingglass' in:'LookingGlass_Invoke'. Consider updating the operationId
    Location: Microsoft.Peering/stable/2022-06-01/peering.json#L210
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: isPrimaryRegion
    Location: Microsoft.Peering/stable/2022-06-01/peering.json#L2500
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: useForPeeringService
    Location: Microsoft.Peering/stable/2022-06-01/peering.json#L2689
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: useForPeeringService
    Location: Microsoft.Peering/stable/2022-06-01/peering.json#L2762
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: isDataAction
    Location: Microsoft.Peering/stable/2022-06-01/peering.json#L3009
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: isTestSuccessful
    Location: Microsoft.Peering/stable/2022-06-01/peering.json#L3696
    ⚠️ R4009 - RequiredReadOnlySystemData The response of operation:'PeerAsns_Get' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.Peering/stable/2022-06-01/peering.json#L322
    ⚠️ R4009 - RequiredReadOnlySystemData The response of operation:'PeerAsns_CreateOrUpdate' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.Peering/stable/2022-06-01/peering.json#L363
    ⚠️ R4009 - RequiredReadOnlySystemData The response of operation:'RegisteredAsns_Get' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.Peering/stable/2022-06-01/peering.json#L579
    ⚠️ R4009 - RequiredReadOnlySystemData The response of operation:'RegisteredAsns_CreateOrUpdate' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.Peering/stable/2022-06-01/peering.json#L634
    ⚠️ R4009 - RequiredReadOnlySystemData The response of operation:'RegisteredPrefixes_Get' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.Peering/stable/2022-06-01/peering.json#L814
    ⚠️ R4009 - RequiredReadOnlySystemData The response of operation:'RegisteredPrefixes_CreateOrUpdate' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.Peering/stable/2022-06-01/peering.json#L869
    ⚠️ R4009 - RequiredReadOnlySystemData The response of operation:'Peerings_Get' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.Peering/stable/2022-06-01/peering.json#L1106
    ⚠️ R4009 - RequiredReadOnlySystemData The response of operation:'Peerings_CreateOrUpdate' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.Peering/stable/2022-06-01/peering.json#L1154
    ⚠️ R4009 - RequiredReadOnlySystemData The response of operation:'Peerings_Update' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.Peering/stable/2022-06-01/peering.json#L1271
    ⚠️ R4009 - RequiredReadOnlySystemData The response of operation:'ConnectionMonitorTests_Get' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.Peering/stable/2022-06-01/peering.json#L1503
    ⚠️ R4009 - RequiredReadOnlySystemData The response of operation:'ConnectionMonitorTests_CreateOrUpdate' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.Peering/stable/2022-06-01/peering.json#L1558
    ⚠️ R4009 - RequiredReadOnlySystemData The response of operation:'Prefixes_Get' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.Peering/stable/2022-06-01/peering.json#L1823
    ⚠️ R4009 - RequiredReadOnlySystemData The response of operation:'Prefixes_CreateOrUpdate' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.Peering/stable/2022-06-01/peering.json#L1885
    ️️✔️Avocado succeeded [Detail] [Expand]
    Validation passes for Avocado.
    ️️✔️ApiReadinessCheck 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.
    ️⚠️SDK Track2 Validation: 1 Warnings warning [Detail]
    • The following tags are being changed in this PR
      • "https://github.com/Azure/azure-rest-api-specs/blob/02f86eb89aa7600f18bf4caf01345355c5cfb571/specification/peering/resource-manager/readme.md#tag-package-2022-06-01">peering/resource-manager/readme.md#package-2022-06-01
    The following errors/warnings are introduced by current PR:
    Rule Message
    ⚠️ UnkownSecurityScheme "readme":"peering/resource-manager/readme.md",
    "tag":"package-2022-06-01",
    "details":"Security scheme azure_auth is unknown and will not be processed. Only supported types are AADToken,
    AzureKey,
    Anonymous"
    ️️✔️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.
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jul 19, 2022

    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-python-track2 - track2_azure-mgmt-peering - Approved - 1.0.0
    -	Operation LegacyPeeringsOperations.list has a new signature
    -	Operation PeeringServiceLocationsOperations.list has a new signature
    -	Operation PrefixesOperations.list_by_peering_service has a new signature
    +	Operation LegacyPeeringsOperations.list has a new parameter asn
    +	Operation LegacyPeeringsOperations.list has a new parameter direct_peering_type
    +	Operation PeeringServiceLocationsOperations.list has a new parameter country
    +	Operation PrefixesOperations.list_by_peering_service has a new parameter expand
    ️✔️azure-sdk-for-go - armpeering - 1.1.0
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 1b3b9c1. 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]  config global `--global`, `--local` are deprecated. Use `--location=global` instead.
    • ️✔️track2_azure-mgmt-peering [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Added operation PeeringServicesOperations.initialize_connection_monitor
      info	[Changelog]   - Added operation PrefixesOperations.create_or_update
      info	[Changelog]   - Added operation PrefixesOperations.delete
      info	[Changelog]   - Added operation PrefixesOperations.get
      info	[Changelog]   - Added operation group CdnPeeringPrefixesOperations
      info	[Changelog]   - Added operation group ConnectionMonitorTestsOperations
      info	[Changelog]   - Added operation group LookingGlassOperations
      info	[Changelog]   - Added operation group PeeringServiceCountriesOperations
      info	[Changelog]   - Added operation group ReceivedRoutesOperations
      info	[Changelog]   - Added operation group RegisteredAsnsOperations
      info	[Changelog]   - Added operation group RegisteredPrefixesOperations
      info	[Changelog]   - Model DirectConnection has a new parameter error_message
      info	[Changelog]   - Model DirectConnection has a new parameter microsoft_tracking_id
      info	[Changelog]   - Model ErrorResponse has a new parameter error
      info	[Changelog]   - Model ExchangeConnection has a new parameter error_message
      info	[Changelog]   - Model Operation has a new parameter service_specification
      info	[Changelog]   - Model PeerAsn has a new parameter error_message
      info	[Changelog]   - Model PeerAsn has a new parameter peer_contact_detail
      info	[Changelog]   - Model PeeringService has a new parameter log_analytics_workspace_properties
      info	[Changelog]   - Model PeeringService has a new parameter provider_backup_peering_location
      info	[Changelog]   - Model PeeringService has a new parameter provider_primary_peering_location
      info	[Changelog]   - Model PeeringService has a new parameter sku
      info	[Changelog]   - Model PeeringServicePrefix has a new parameter error_message
      info	[Changelog]   - Model PeeringServicePrefix has a new parameter events
      info	[Changelog]   - Model PeeringServicePrefix has a new parameter peering_service_prefix_key
      info	[Changelog]   - Model PeeringServiceProvider has a new parameter peering_locations
      info	[Changelog]
      info	[Changelog] **Breaking changes**
      info	[Changelog]
      info	[Changelog]   - Model ErrorResponse no longer has parameter code
      info	[Changelog]   - Model ErrorResponse no longer has parameter message
      info	[Changelog]   - Model PeerAsn no longer has parameter peer_contact_info
      info	[Changelog]   - Operation LegacyPeeringsOperations.list has a new parameter asn
      info	[Changelog]   - Operation LegacyPeeringsOperations.list has a new parameter direct_peering_type
      info	[Changelog]   - Operation PeeringServiceLocationsOperations.list has a new parameter country
      info	[Changelog]   - Operation PrefixesOperations.list_by_peering_service has a new parameter expand
      info	[Changelog]   - Removed operation group PeeringServicePrefixesOperations
    ️️✔️ azure-sdk-for-java succeeded [Detail] [Expand]
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 1b3b9c1. 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
    • ️✔️armpeering [View full logs]  [Release SDK Changes]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog] - New const `ConnectionStateTypeChangeInProgress`
      info	[Changelog] - New const `ConnectionStateTypeChangeRequested`
      info	[Changelog] - New function `*RegisteredPrefixesClient.Validate(context.Context, string, string, string, *RegisteredPrefixesClientValidateOptions) (RegisteredPrefixesClientValidateResponse, error)`
      info	[Changelog] - New struct `RegisteredPrefixesClientValidateOptions`
      info	[Changelog] - New struct `RegisteredPrefixesClientValidateResponse`
      info	[Changelog] - New field `DirectPeeringType` in struct `LegacyPeeringsClientListOptions`
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 8 additive change(s).
    ️❌ azure-sdk-for-net failed [Detail]
    • Failed [Logs]Release - Generate from 1b3b9c1. SDK Automation 14.0.0
      warn	Skip initScript due to not configured
      command	sudo apt-get install -y dotnet-sdk-6.0
      command	autorest --version=2.0.4421 --csharp --reflect-api-versions --license-header=MICROSOFT_MIT_NO_VERSION [email protected]/[email protected] --csharp-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-net/sdk ../azure-rest-api-specs/specification/peering/resource-manager/readme.md
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] No usable version of the libssl was found
      cmderr	[Autorest] FATAL: csharp/simplifier - FAILED
      cmderr	[Autorest] FATAL: Error: [Exception] AutoRest extension '@microsoft.azure/autorest.csharp' terminated.
      cmderr	[Autorest] Process() cancelled due to exception : [Exception] AutoRest extension '@microsoft.azure/autorest.csharp' terminated.
      error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-net]: autorest
      warn	Skip package processing as generation is failed
    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 1b3b9c1. 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-peering [View full logs]  [Release SDK Changes]
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Added operation RegisteredPrefixes.validate
      info	[Changelog]   - Added Interface CdnPeeringPrefix
      info	[Changelog]   - Added Interface ConnectionMonitorTest
      info	[Changelog]   - Added Interface PeerAsn
      info	[Changelog]   - Added Interface Peering
      info	[Changelog]   - Added Interface PeeringLocation
      info	[Changelog]   - Added Interface PeeringRegisteredAsn
      info	[Changelog]   - Added Interface PeeringRegisteredPrefix
      info	[Changelog]   - Added Interface PeeringService
      info	[Changelog]   - Added Interface PeeringServiceCountry
      info	[Changelog]   - Added Interface PeeringServiceLocation
      info	[Changelog]   - Added Interface PeeringServicePrefix
      info	[Changelog]   - Added Interface PeeringServiceProvider
      info	[Changelog]   - Added Interface RegisteredPrefixesValidateOptionalParams
      info	[Changelog]   - Added Type Alias RegisteredPrefixesValidateResponse
      info	[Changelog]   - Interface LegacyPeeringsListNextOptionalParams has a new optional parameter directPeeringType
      info	[Changelog]   - Interface LegacyPeeringsListOptionalParams has a new optional parameter directPeeringType
      info	[Changelog]   - Enum KnownConnectionState has a new value TypeChangeInProgress
      info	[Changelog]   - Enum KnownConnectionState has a new value TypeChangeRequested
      info	[Changelog]   - Enum KnownDirectPeeringType has a new value EdgeZoneForOperators
      info	[Changelog]   - Enum KnownPeeringLocationsDirectPeeringType has a new value EdgeZoneForOperators
      error	breakingChangeTracking is enabled, but version or changelogItem is not found in output.
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 1b3b9c1. 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
    • ️✔️peering [View full logs]  [Release Schema Changes]
    ️️✔️ azure-powershell succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 1b3b9c1. 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.Peering [View full logs]  [Release SDK Changes]
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-workflow-bot
    Copy link

    Hi, @JonathanSaraco your PR are labelled with WaitForARMFeedback. A notification email will be sent out shortly afterwards to notify ARM review board([email protected]).

    @rkmanda
    Copy link
    Member

    rkmanda commented Jul 20, 2022

      "post": {
    

    post should have a specific action name. It cannot be just the resource path alone


    Refers to: specification/peering/resource-manager/Microsoft.Peering/stable/2022-06-01/peering.json:939 in 6395f49. [](commit_id = 6395f49, deletion_comment = False)

    @rkmanda rkmanda added the ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review label Jul 20, 2022
    @openapi-workflow-bot
    Copy link

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

    @openapi-workflow-bot openapi-workflow-bot bot removed the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Jul 20, 2022
    @JonathanSaraco
    Copy link
    Contributor Author

      "post": {
    

    post should have a specific action name. It cannot be just the resource path alone

    Refers to: specification/peering/resource-manager/Microsoft.Peering/stable/2022-06-01/peering.json:939 in 6395f49. [](commit_id = 6395f49, deletion_comment = False)

    Hey rkmanda, I pushed a new commit to change the resource path for the post. Is that the kind of change you were referring to?

    @JonathanSaraco JonathanSaraco added WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required and removed ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review labels Jul 21, 2022
    @rkmanda
    Copy link
    Member

    rkmanda commented Jul 22, 2022

      "post": {
    

    Looks like you are trying to achieve checking for name availability. The recommendation is to implement the checknameAvailability contract as documented here https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/proxy-api-reference.md#check-name-availability-requests

    Please go thru it and feel free to come to the ARM office hours with any questions or send an email to armapireview alias


    Refers to: specification/peering/resource-manager/Microsoft.Peering/stable/2022-06-01/peering.json:1049 in 02f86eb. [](commit_id = 02f86eb, deletion_comment = False)

    @rkmanda rkmanda added the ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review label Jul 22, 2022
    @openapi-workflow-bot openapi-workflow-bot bot removed the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Jul 22, 2022
    @JonathanSaraco JonathanSaraco added WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required and removed ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review labels Jul 25, 2022
    @zizw123
    Copy link

    zizw123 commented Jul 26, 2022

      "post": {
    

    Looks like you are trying to achieve checking for name availability. The recommendation is to implement the checknameAvailability contract as documented here https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/proxy-api-reference.md#check-name-availability-requests

    Please go thru it and feel free to come to the ARM office hours with any questions or send an email to armapireview alias

    Refers to: specification/peering/resource-manager/Microsoft.Peering/stable/2022-06-01/peering.json:1049 in 02f86eb. [](commit_id = 02f86eb, deletion_comment = False)

    @JonathanSaraco Can you provide more details for your use case?

    @zizw123 zizw123 added the ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review label Jul 26, 2022
    @openapi-workflow-bot openapi-workflow-bot bot removed the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Jul 26, 2022
    @JonathanSaraco
    Copy link
    Contributor Author

    JonathanSaraco commented Jul 26, 2022

      "post": {
    

    Looks like you are trying to achieve checking for name availability. The recommendation is to implement the checknameAvailability contract as documented here https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/proxy-api-reference.md#check-name-availability-requests
    Please go thru it and feel free to come to the ARM office hours with any questions or send an email to armapireview alias
    Refers to: specification/peering/resource-manager/Microsoft.Peering/stable/2022-06-01/peering.json:1049 in 02f86eb. [](commit_id = 02f86eb, deletion_comment = False)

    @JonathanSaraco Can you provide more details for your use case?

    Hello @zizw123, this validate call isn't really a check name availability request. The call queues an object called a peering registered prefix for validation, and then returns the prefix in a Pending Validation state. Then the validation runs asynchronously and checks that: the prefix exists as an ERM resource, the prefix does not already belong to another peer, and that the routes associated with the prefix are received. So I'd say this call is more like a resource action request as described in your guidelines, rather than a check name availability request. Let me know if you need to know anything else about this, thanks!

    @JonathanSaraco JonathanSaraco added WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required and removed ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review labels Jul 26, 2022
    @zizw123 zizw123 added the ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review label Jul 26, 2022
    @openapi-workflow-bot openapi-workflow-bot bot removed the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Jul 26, 2022
    @ArcturusZhang ArcturusZhang added the Approved-OkToMerge <valid label in PR review process>add this label when assignee approve to merge the updates label Aug 8, 2022
    @ArcturusZhang
    Copy link
    Member

    /azp run

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Aug 9, 2022

    Generated ApiView

    Language Package Name ApiView Link
    Python track2_azure-mgmt-peering 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-peering Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.
    JavaScript @azure/arm-peering Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Approved-OkToMerge <valid label in PR review process>add this label when assignee approve to merge the updates Approved-SdkBreakingChange-Python ARMReview ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review resource-manager
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    6 participants