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

BillingRP AssociatedTenants and BillingRequests #22538

Conversation

bradenwatkins
Copy link
Member

@bradenwatkins bradenwatkins commented Feb 9, 2023

ARM API Information (Control Plane)

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

Azure 1st Party Service can try out the Shift Left experience to initiate API design review from ADO code repo. If you are interested, may request engineering support by filling in with the form https://aka.ms/ShiftLeftSupportForm.

Changelog

Add a changelog entry for this PR by answering the following questions:

  1. What's the purpose of the update?
    • new service onboarding
    • new API version
    • update existing version for new feature
    • update existing version to fix swagger quality issue in s360
    • Other, please clarify
  2. When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month. - April 2023
  3. When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month. - April 2023
  4. By default, Azure SDKs of all languages (.NET/Python/Java/JavaScript for both management-plane SDK and data-plane SDK, Go for management-plane SDK only ) MUST be refreshed with/after swagger of new version is published. If you prefer NOT to refresh any specific SDK language upon swagger updates in the current PR, please leave details with justification here.

Contribution checklist (MS Employees Only):

If any further question about AME onboarding or validation tools, please view the FAQ.

ARM API Review Checklist

Applicability: ⚠️

If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

  • Change to data plane APIs
  • Adding new properties
  • All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

  • Check this box if any of the following apply to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review. Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.

    • Adding a new service
    • Adding new API(s)
    • Adding a new API version
      -[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki.
  • Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

  • If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist

If you have any breaking changes as defined in the Breaking Change Policy, request approval from the Breaking Change Review Board.

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

NOTE: To update API(s) in public preview for over 1 year (refer to Retirement of Previews)

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

@openapi-workflow-bot
Copy link

Hi, @bradenwatkins 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. vscswagger@microsoft.com

    @openapi-pipeline-app
    Copy link

    Swagger pipeline can not start as the pull request has merge conflicts.

    1 similar comment
    @openapi-pipeline-app
    Copy link

    Swagger pipeline can not start as the pull request has merge conflicts.

    @openapi-pipeline-app
    Copy link

    Swagger pipeline started successfully. If there is ApiView generated, it will be updated in this comment.

    @ghost ghost added the Billing label Feb 9, 2023
    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Feb 9, 2023

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️Breaking Change(Cross-Version) succeeded [Detail] [Expand]
    There are no breaking changes.
    compared swaggers (via Oad v0.10.4)] new version base version
    types.json 2023-04-01(5c44692) 2021-10-01(main)
    ️❌LintDiff: 8 Errors, 2 Warnings failed [Detail]
    compared tags (via openapi-validator v2.1.6) new version base version
    package-2023-04 package-2023-04(5c44692) package-2023-04(billing/2023-04-01)

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

    Rule Message Related RPC [For API reviewers]
    LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
    Location: Microsoft.Billing/stable/2023-04-01/associatedTenant.json#L57
    ProvisioningStateSpecifiedForLROPut 200 response schema in long running PUT operation is missing ProvisioningState property. A LRO PUT operations response schema must have ProvisioningState specified for the 200 and 201 status codes.
    Location: Microsoft.Billing/stable/2023-04-01/associatedTenant.json#L114
    ProvisioningStateSpecifiedForLROPut 201 response schema in long running PUT operation is missing ProvisioningState property. A LRO PUT operations response schema must have ProvisioningState specified for the 200 and 201 status codes.
    Location: Microsoft.Billing/stable/2023-04-01/associatedTenant.json#L114
    LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
    Location: Microsoft.Billing/stable/2023-04-01/associatedTenant.json#L173
    ProvisioningStateSpecifiedForLROPut 200 response schema in long running PUT operation is missing ProvisioningState property. A LRO PUT operations response schema must have ProvisioningState specified for the 200 and 201 status codes.
    Location: Microsoft.Billing/stable/2023-04-01/billingRequest.json#L322
    ProvisioningStateSpecifiedForLROPut 201 response schema in long running PUT operation is missing ProvisioningState property. A LRO PUT operations response schema must have ProvisioningState specified for the 200 and 201 status codes.
    Location: Microsoft.Billing/stable/2023-04-01/billingRequest.json#L322
    LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
    Location: Microsoft.Billing/stable/2023-04-01/billingRequest.json#L378
    TopLevelResourcesListBySubscription The top-level resource 'BillingRequest' does not have list by subscription operation, please add it.
    Location: Microsoft.Billing/stable/2023-04-01/billingRequest.json#L458
    RPC-Get-V1-05
    ⚠️ 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.Billing/stable/2023-04-01/associatedTenant.json#L205
    ⚠️ AllProxyResourcesShouldHaveDelete The resource BillingRequest does not have a corresponding delete operation.
    Location: Microsoft.Billing/stable/2023-04-01/billingRequest.json#L458
    RPC-Delete-V1-05


    The following errors/warnings exist before current PR submission:

    Rule Message
    ⚠️ ParameterNotDefinedInGlobalParameters Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition
    Location: Microsoft.Billing/stable/2023-04-01/payments.json#L257
    ⚠️ ParameterNotDefinedInGlobalParameters Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition
    Location: Microsoft.Billing/stable/2023-04-01/payments.json#L302
    ⚠️ ParameterNotDefinedInGlobalParameters Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition
    Location: Microsoft.Billing/stable/2023-04-01/payments.json#L347
    ⚠️ ParameterNotDefinedInGlobalParameters Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition
    Location: Microsoft.Billing/stable/2023-04-01/payments.json#L389
    ⚠️ ParameterNotDefinedInGlobalParameters Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition
    Location: Microsoft.Billing/stable/2023-04-01/payments.json#L431
    ⚠️ ParameterNotDefinedInGlobalParameters Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition
    Location: Microsoft.Billing/stable/2023-04-01/payments.json#L470
    ⚠️ ParameterNotDefinedInGlobalParameters Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition
    Location: Microsoft.Billing/stable/2023-04-01/payments.json#L507
    ⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
    Location: Microsoft.Billing/stable/2023-04-01/types.json#L101
    ⚠️ 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.Billing/stable/2023-04-01/types.json#L187
    ⚠️ 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.Billing/stable/2023-04-01/types.json#L305
    ️️✔️Avocado succeeded [Detail] [Expand]
    Validation passes for Avocado.
    ️️✔️SwaggerAPIView succeeded [Detail] [Expand]
    ️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️️✔️PrettierCheck succeeded [Detail] [Expand]
    Validation passes for PrettierCheck.
    ️️✔️SpellCheck succeeded [Detail] [Expand]
    Validation passes for SpellCheck.
    ️️✔️PR Summary succeeded [Detail] [Expand]
    Validation passes for Summary.
    ️️✔️Automated merging requirements met succeeded [Detail] [Expand]
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Feb 9, 2023

    Swagger Generation Artifacts

    ️️✔️ApiDocPreview succeeded [Detail] [Expand]
     Please click here to preview with your @microsoft account. 
    ️️✔️SDK Breaking Change Tracking succeeded [Detail] [Expand]

    Breaking Changes Tracking

    ️️✔️ azure-sdk-for-net-track2 succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs] Generate from da867cd79835e151d1d3728e2fa75dd9eb1f2c19. SDK Automation 14.0.0
      command	pwsh ./eng/scripts/Automation-Sdk-Init.ps1 ../azure-sdk-for-net_tmp/initInput.json ../azure-sdk-for-net_tmp/initOutput.json
      command	pwsh ./eng/scripts/Invoke-GenerateAndBuildV2.ps1 ../azure-sdk-for-net_tmp/generateInput.json ../azure-sdk-for-net_tmp/generateOutput.json
    • ️✔️Azure.ResourceManager.Billing [View full logs]  [Preview SDK Changes]
      info	[Changelog]
    ️❌ azure-sdk-for-python-track2 failed [Detail]
    • Code Generator Failed [Logs] Generate from da867cd79835e151d1d3728e2fa75dd9eb1f2c19. 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] npm notice New major version of npm available! 9.8.1 -> 10.2.1
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.2.1>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g npm@10.2.1` to update!
      cmderr	[automation_generate.sh] npm notice
      cmdout	[automation_generate.sh] [Autorest]   - readOnly: <none> => true; This error can be *temporarily* avoided by using the 'modelerfour.lenient-model-deduplication' setting.  NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that.
      cmdout	[automation_generate.sh] [Autorest] warning | PreCheck/PropertyRedeclarationWarning | Schema 'SavingsPlanModel' has a property 'systemData' that is already declared the parent schema 'Resource' but isn't significantly different. The property has been removed from SavingsPlanModel
      cmdout	[automation_generate.sh] [Autorest] warning | PreCheck/PropertyRedeclarationWarning | Schema 'SavingsPlanOrderModel' has a property 'systemData' that is already declared the parent schema 'Resource' but isn't significantly different. The property has been removed from SavingsPlanOrderModel
      cmdout	[automation_generate.sh] [Autorest] fatal   | Error: 9 errors occured -- cannot continue.
      cmdout	[automation_generate.sh] [Autorest] fatal   | Process() cancelled due to failure
      cmdout	[automation_generate.sh] [Autorest] error   |   Error: Plugin prechecker reported failure.
      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]   - readOnly: <none> => true; This error can be *temporarily* avoided by using the 'modelerfour.lenient-model-deduplication' setting.  NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that.
      cmdout	[automation_generate.sh] [Autorest] warning | PreCheck/PropertyRedeclarationWarning | Schema 'SavingsPlanModel' has a property 'systemData' that is already declared the parent schema 'Resource' but isn't significantly different. The property has been removed from SavingsPlanModel
      cmdout	[automation_generate.sh] [Autorest] warning | PreCheck/PropertyRedeclarationWarning | Schema 'SavingsPlanOrderModel' has a property 'systemData' that is already declared the parent schema 'Resource' but isn't significantly different. The property has been removed from SavingsPlanOrderModel
      cmdout	[automation_generate.sh] [Autorest] fatal   | Error: 9 errors occured -- cannot continue.
      cmdout	[automation_generate.sh] [Autorest] fatal   | Process() cancelled due to failure
      cmdout	[automation_generate.sh] [Autorest] error   |   Error: Plugin prechecker reported failure.
      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]/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-java failed [Detail]
    • Failed [Logs] Generate from da867cd79835e151d1d3728e2fa75dd9eb1f2c19. SDK Automation 14.0.0
      command	./eng/mgmt/automation/init.sh ../azure-sdk-for-java_tmp/initInput.json ../azure-sdk-for-java_tmp/initOutput.json
      cmderr	[init.sh] [notice] A new release of pip is available: 23.0.1 -> 23.3.1
      cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
      cmderr	[init.sh] [notice] A new release of pip is available: 23.0.1 -> 23.3.1
      cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
      command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
    • azure-resourcemanager-billing [View full logs]  [Preview SDK Changes]
    ️❌ azure-sdk-for-go failed [Detail]
    • Code Generator Failed [Logs] Generate from da867cd79835e151d1d3728e2fa75dd9eb1f2c19. SDK Automation 14.0.0
      command	sh ./eng/scripts/automation_init.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
      command	generator automation-v2 ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
      cmderr	[generator automation-v2] [ERROR] total 1 error(s):
      cmderr	[generator automation-v2] [ERROR] failed to execute `go generate` '�[33;1mWARNING: Unable to find version for /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/billing/armbilling�[0m
      cmderr	[generator automation-v2] [ERROR] Cannot find go module under resourcemanager/billing/armbilling, try to build in /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/billing/armbilling
      cmderr	[generator automation-v2] [ERROR] ##[command]Cleaning auto-generated files in /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/billing/armbilling
      cmderr	[generator automation-v2] [ERROR] ##[command]Executing autorest.go in  /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/billing/armbilling
      cmderr	[generator automation-v2] [ERROR] autorest --use=@autorest/go@4.0.0-preview.55 --go --track2 --output-folder=/mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/billing/armbilling --clear-output-folder=false --go.clear-output-folder=false --honor-body-placement=true --remove-unreferenced-types=false ./autorest.md
      cmderr	[generator automation-v2] [ERROR] AutoRest code generation utility [cli version: 3.6.1; node: v16.20.2]
      cmderr	[generator automation-v2] [ERROR] (C) 2018 Microsoft Corporation.
      cmderr	[generator automation-v2] [ERROR] https://aka.ms/autorest
      cmderr	[generator automation-v2] [ERROR] There is a new version of AutoRest available (3.6.3).
      cmderr	[generator automation-v2] [ERROR] > You can install the newer version with with npm install -g autorest@latest
      cmderr	[generator automation-v2] [ERROR] info    |    Loading AutoRest core      '/home/cloudtest/.autorest/@autorestcore@3.9.7/nodemodules/@autorest/core/dist' (3.9.7)
      cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.0.suppress which is deprecated and will be removed in the future.
      cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.1.suppress which is deprecated and will be removed in the future.
      cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.0.suppress which is deprecated and will be removed in the future.
      cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.1.suppress which is deprecated and will be removed in the future.
      cmderr	[generator automation-v2] [ERROR] info    |    Installing AutoRest extension '@autorest/go' (4.0.0-preview.55 -> 4.0.0-preview.55)
      cmderr	[generator automation-v2] [ERROR] info    |    Installed AutoRest extension '@autorest/go' (4.0.0-preview.55->4.0.0-preview.55)
      cmderr	[generator automation-v2] [ERROR] info    |    Installing AutoRest extension '@autorest/modelerfour' (4.26.2 -> 4.26.2)
      cmderr	[generator automation-v2] [ERROR] info    |    Installed AutoRest extension '@autorest/modelerfour' (4.26.2->4.26.2)
      cmderr	[generator automation-v2] [ERROR] warning | IgnoredPropertyNextToRef | Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > InvoiceProperties > properties > rebillDetails > additionalProperties)
      cmderr	[generator automation-v2] [ERROR] keys: [ �[32m'type'�[39m ]
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/invoice.json:818:11
      cmderr	[generator automation-v2] [ERROR] warning | IgnoredPropertyNextToRef | Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > RebillDetails > properties > rebillDetails > additionalProperties)
      cmderr	[generator automation-v2] [ERROR] keys: [ �[32m'type'�[39m ]
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/invoice.json:917:11
      cmderr	[generator automation-v2] [ERROR] warning | IgnoredPropertyNextToRef | Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > Reservation > properties > properties)
      cmderr	[generator automation-v2] [ERROR] keys: [ �[32m'type'�[39m ]
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/reservation.json:176:9
      cmderr	[generator automation-v2] [ERROR] warning | IgnoredPropertyNextToRef | Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > Reservation > properties > sku)
      cmderr	[generator automation-v2] [ERROR] keys: [ �[32m'type'�[39m ]
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/reservation.json:182:9
      cmderr	[generator automation-v2] [ERROR] warning | IgnoredPropertyNextToRef | Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > ReservationsListResult > properties > summary)
      cmderr	[generator automation-v2] [ERROR] keys: [ �[32m'type'�[39m ]
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/reservation.json:323:9
      cmderr	[generator automation-v2] [ERROR] warning | IgnoredPropertyNextToRef | Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > DetailedTransferStatus > properties > productType)
      cmderr	[generator automation-v2] [ERROR] keys: [ �[32m'type'�[39m ]
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/transfers.json:756:9
      cmderr	[generator automation-v2] [ERROR] warning | IgnoredPropertyNextToRef | Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > DetailedTransferStatus > properties > transferStatus)
      cmderr	[generator automation-v2] [ERROR] keys: [ �[32m'type'�[39m ]
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/transfers.json:767:9
      cmderr	[generator automation-v2] [ERROR] warning | IgnoredPropertyNextToRef | Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > TransferProperties > properties > transferStatus)
      cmderr	[generator automation-v2] [ERROR] keys: [ �[32m'type'�[39m ]
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/transfers.json:820:9
      cmderr	[generator automation-v2] [ERROR] warning | IgnoredPropertyNextToRef | Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > PartnerTransferProperties > properties > transferStatus)
      cmderr	[generator automation-v2] [ERROR] keys: [ �[32m'type'�[39m ]
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/transfers.json:861:9
      cmderr	[generator automation-v2] [ERROR] warning | IgnoredPropertyNextToRef | Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > RecipientTransferProperties > properties > transferStatus)
      cmderr	[generator automation-v2] [ERROR] keys: [ �[32m'type'�[39m ]
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/transfers.json:920:9
      cmderr	[generator automation-v2] [ERROR] warning | IgnoredPropertyNextToRef | Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > Resource > properties > systemData)
      cmderr	[generator automation-v2] [ERROR] keys: [ �[32m'type'�[39m ]
      cmderr	[generator automation-v2] [ERROR] warning | IgnoredPropertyNextToRef | Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > Resource > properties > systemData)
      cmderr	[generator automation-v2] [ERROR] keys: [ �[32m'type'�[39m ]
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'AgreementListResult' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/agreement.json:135:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'AgreementProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/agreement.json:153:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'Participants' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/agreement.json:238:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'AssociatedTenant-properties' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/associatedTenant.json:269:9
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'AvailableBalanceProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/availableBalance.json:79:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'BillingPermissionsListResult' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/billingPermission.json:206:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'BillingProfileCreationRequest' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/billingProfile.json:202:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'BillingProfileListResult' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/billingProfile.json:230:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'BillingProfileProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/billingProfile.json:254:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'IndirectRelationshipInfo' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/billingProfile.json:384:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'InvoiceSectionProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/billingProfile.json:417:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'InvoiceSectionsOnExpand' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/billingProfile.json:465:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'BillingPropertyProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/billingProperty.json:119:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'BillingRequest-properties' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/billingRequest.json:467:9
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'BillingRequestProperties-reviewedBy' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/billingRequest.json:512:9
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'BillingRequestProperties-createdBy' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/billingRequest.json:560:9
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'BillingRequestProperties-lastUpdatedBy' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/billingRequest.json:680:9
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'BillingRoleAssignmentListResult' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/billingRoleAssignment.json:427:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'BillingRoleAssignmentProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/billingRoleAssignment.json:445:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'BillingRoleDefinitionListResult' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/billingRoleDefinition.json:334:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'BillingRoleDefinitionProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/billingRoleDefinition.json:352:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'BillingSubscriptionProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/billingSubscription.json:419:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'BillingSubscriptionsListResult' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/billingSubscription.json:516:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'Reseller' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/billingSubscription.json:540:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'CustomerListResult' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/customer.json:204:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'CustomerProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/customer.json:228:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'Reseller' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/customer.json:261:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'InstructionListResult' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/instruction.json:176:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'InstructionProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/instruction.json:194:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'Document' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/invoice.json:598:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'DownloadUrl' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/invoice.json:636:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'InvoiceListResult' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/invoice.json:668:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'InvoiceProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/invoice.json:692:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'PaymentProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/invoice.json:863:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'RebillDetails' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/invoice.json:903:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'InvoiceSectionCreationRequest' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/invoiceSection.json:191:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'InvoiceSectionListResult' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/invoiceSection.json:200:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'InvoiceSectionProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/invoiceSection.json:224:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'CustomerPolicyProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/policy.json:213:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'PolicyProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/policy.json:246:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'ProductProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/product.json:442:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'ProductsListResult' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/product.json:588:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'Reseller' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/product.json:631:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'TransferProductRequestProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/product.json:646:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'Reservation' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/reservation.json:158:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'ReservationProperty' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/reservation.json:199:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'ReservationSkuProperty' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/reservation.json:305:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'ReservationsListResult' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/reservation.json:315:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'TransactionListResult' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/transaction.json:82:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'TransactionProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/transaction.json:106:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'EnrollmentAccount-properties' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/enrollmentAccount.json:247:9
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'ArmErrorResponse-error' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/types.json:71:9
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'Department-properties' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/billing/resource-manager/Microsoft.Billing/stable/2023-04-01/department.json:130:9
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/CheckDuplicateSchemas | Checking for duplicate schemas, this could take a (long) while.  Run with --verbose for more detail.
      cmderr	[generator automation-v2] [ERROR] error   | PreCheck/DuplicateSchema | Duplicate Schema named 'BillingProfile' (1 differences):
      cmderr	[generator automation-v2] [ERROR] - properties.properties.$ref: "#/components/schemas/schemas:56" => "#/components/schemas/schemas:150"; This error can be *temporarily* avoided by using the 'modelerfour.lenient-model-deduplication' setting.  NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that.
      cmderr	[generator automation-v2] [ERROR] error   | PreCheck/DuplicateSchema | Duplicate Schema named 'BillingProfileProperties' (5 differences):
      cmderr	[generator automation-v2] [ERROR] - properties.enabledAzurePlans.x-ms-identifiers: [] => <none>
      cmderr	[generator automation-v2] [ERROR] - properties.enabledAzurePlans.$ref: "#/components/schemas/schemas:60" => "#/components/schemas/schemas:154"
      cmderr	[generator automation-v2] [ERROR] - properties.invoiceSections.$ref: "#/components/schemas/schemas:113" => "#/components/schemas/schemas:177"
      cmderr	[generator automation-v2] [ERROR] - properties.targetClouds.x-ms-identifiers: [] => <none>
      cmderr	[generator automation-v2] [ERROR] - properties.targetClouds.$ref: "#/components/schemas/schemas:69" => "#/components/schemas/schemas:163"; This error can be *temporarily* avoided by using the 'modelerfour.lenient-model-deduplication' setting.  NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that.
      cmderr	[generator automation-v2] [ERROR] error   | PreCheck/DuplicateSchema | Duplicate Schema named 'Department' (3 differences):
      cmderr	[generator automation-v2] [ERROR] - properties.properties.$ref: "#/components/schemas/schemas:73" => "#/components/schemas/schemas:851"
      cmderr	[generator automation-v2] [ERROR] - properties.properties.description: "A department." => "The properties of a(n) Department"
      cmderr	[generator automation-v2] [ERROR] - x-ms-azure-resource: <none> => true; This error can be *temporarily* avoided by using the 'modelerfour.lenient-model-deduplication' setting.  NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that.
      cmderr	[generator automation-v2] [ERROR] error   | PreCheck/DuplicateSchema | Duplicate Schema named 'DepartmentProperties' (6 differences):
      cmderr	[generator automation-v2] [ERROR] - properties.departmentName: {"$ref":"#/components/schemas/schemas:75","description":"The name of the department."} => <none>
      cmderr	[generator automation-v2] [ERROR] - properties.enrollmentAccounts: {"x-ms-identifiers":[],"$ref":"#/components/schemas/schemas:76","description":"Associated enrollment accounts. By default this is not populated, unless it's specified in $expand."} => <none>
      cmderr	[generator automation-v2] [ERROR] - properties.status.$ref: "#/components/schemas/schemas:77" => "#/components/schemas/schemas:859"
      cmderr	[generator automation-v2] [ERROR] - properties.status.readOnly: <none> => true
      cmderr	[generator automation-v2] [ERROR] - properties.displayName: <none> => {"$ref":"#/components/schemas/schemas:857","description":"The name of the department."}
      cmderr	[generator automation-v2] [ERROR] - properties.id: <none> => {"$ref":"#/components/schemas/schemas:858","description":"The ID that uniquely identifies the department.","readOnly":true}; This error can be *temporarily* avoided by using the 'modelerfour.lenient-model-deduplication' setting.  NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that.
      cmderr	[generator automation-v2] [ERROR] error   | PreCheck/DuplicateSchema | Duplicate Schema named 'EnrollmentAccount' (3 differences):
      cmderr	[generator automation-v2] [ERROR] - properties.properties.$ref: "#/components/schemas/schemas:88" => "#/components/schemas/schemas:698"
      cmderr	[generator automation-v2] [ERROR] - properties.properties.description: "The properties of an enrollment account." => "The properties of a(n) EnrollmentAccount"
      cmderr	[generator automation-v2] [ERROR] - x-ms-azure-resource: <none> => true; This error can be *temporarily* avoided by using the 'modelerfour.lenient-model-deduplication' setting.  NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that.
      cmderr	[generator automation-v2] [ERROR] error   | PreCheck/DuplicateSchema | Duplicate Schema named 'EnrollmentAccountProperties' (18 differences):
      cmderr	[generator automation-v2] [ERROR] - properties.accountName: {"$ref":"#/components/schemas/schemas:89","description":"The name of the enrollment account."} => <none>
      cmderr	[generator automation-v2] [ERROR] - properties.accountOwner.$ref: "#/components/schemas/schemas:90" => "#/components/schemas/schemas:707"
      cmderr	[generator automation-v2] [ERROR] - properties.accountOwner.readOnly: <none> => true
      cmderr	[generator automation-v2] [ERROR] - properties.accountOwnerEmail: {"$ref":"#/components/schemas/schemas:91","description":"The enrollment account owner email address."} => <none>
      cmderr	[generator automation-v2] [ERROR] - properties.department: {"$ref":"#/components/schemas/schemas:72","description":"Associated department. By default this is not populated, unless it's specified in $expand."} => <none>
      cmderr	[generator automation-v2] [ERROR] - properties.endDate.$ref: "#/components/schemas/schemas:93" => "#/components/schemas/schemas:711"
      cmderr	[generator automation-v2] [ERROR] - properties.endDate.description: "The end date of the enrollment account." => "The date of expiration of the enrollment account."
      cmderr	[generator automation-v2] [ERROR] - properties.endDate.readOnly: <none> => true
      cmderr	[generator automation-v2] [ERROR] - properties.startDate.$ref: "#/components/schemas/schemas:94" => "#/components/schemas/schemas:710"
      cmderr	[generator automation-v2] [ERROR] - properties.startDate.description: "The start date of the enrollment account." => "The date from which the enrollment account became valid and functional."
      cmderr	[generator automation-v2] [ERROR] - properties.startDate.readOnly: <none> => true
      cmderr	[generator automation-v2] [ERROR] - properties.status.$ref: "#/components/schemas/schemas:95" => "#/components/schemas/schemas:709"
      cmderr	[generator automation-v2] [ERROR] - properties.status.readOnly: <none> => true
      cmderr	[generator automation-v2] [ERROR] - properties.displayName: <none> => {"$ref":"#/components/schemas/schemas:704","description":"The name of the enrollment account."}
      cmderr	[generator automation-v2] [ERROR] - properties.departmentDisplayName: <none> => {"$ref":"#/components/schemas/schemas:705","description":"The name of the department under which the enrollment account exists.","readOnly":true}
      cmderr	[generator automation-v2] [ERROR] - properties.departmentId: <none> => {"$ref":"#/components/schemas/schemas:706","description":"The ID that uniquely identifies the department.","readOnly":true}
      cmderr	[generator automation-v2] [ERROR] - properties.isDevTestEnabled: <none> => {"description":"Boolean flag which enables subscribers to run development and testing workloads on Azure at special Dev/Test rates.","type":"boolean"}
      cmderr	[generator automation-v2] [ERROR] - properties.authType: <none> => {"$ref":"#/components/schemas/schemas:708","description":"The authorization type of the enrollment account.","readOnly":true}; This error can be *temporarily* avoided by using the 'modelerfour.lenient-model-deduplication' setting.  NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that.
      cmderr	[generator automation-v2] [ERROR] error   | PreCheck/DuplicateSchema | Duplicate Schema named 'IndirectRelationshipInfo' (1 differences):
      cmderr	[generator automation-v2] [ERROR] - properties.billingProfileName.description: "The billing profile name of the partner or the customer for an indirect motion." => "The billing profile name of the partner or the customer for an indirect motion. This field is not populated for Enterprise Agreement billing accounts."; This error can be *temporarily* avoided by using the 'modelerfour.lenient-model-deduplication' setting.  NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that.
      cmderr	[generator automation-v2] [ERROR] error   | PreCheck/DuplicateSchema | Duplicate Schema named 'InvoiceSectionsOnExpand' (2 differences):
      cmderr	[generator automation-v2] [ERROR] - properties.value.x-ms-identifiers: ["invoiceSectionId"] => <none>
      cmderr	[generator automation-v2] [ERROR] - properties.value.$ref: "#/components/schemas/schemas:114" => "#/components/schemas/schemas:178"; This error can be *temporarily* avoided by using the 'modelerfour.lenient-model-deduplication' setting.  NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that.
      cmderr	[generator automation-v2] [ERROR] error   | PreCheck/DuplicateSchema | Duplicate Schema named 'Reseller' (1 differences):
      cmderr	[generator automation-v2] [ERROR] - readOnly: <none> => true; This error can be *temporarily* avoided by using the 'modelerfour.lenient-model-deduplication' setting.  NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that.
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/PropertyRedeclarationWarning | Schema 'SavingsPlanModel' has a property 'systemData' that is already declared the parent schema 'Resource' but isn't significantly different. The property has been removed from SavingsPlanModel
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/PropertyRedeclarationWarning | Schema 'SavingsPlanOrderModel' has a property 'systemData' that is already declared the parent schema 'Resource' but isn't significantly different. The property has been removed from SavingsPlanOrderModel
      cmderr	[generator automation-v2] [ERROR] fatal   | Error: 9 errors occured -- cannot continue.
      cmderr	[generator automation-v2] [ERROR] fatal   | Process() cancelled due to failure
      cmderr	[generator automation-v2] [ERROR] error   |   Error: Plugin prechecker reported failure.
      cmderr	[generator automation-v2] [ERROR] 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.
      cmderr	[generator automation-v2] [ERROR] ##[error]Error running autorest.go
      cmderr	[generator automation-v2] [ERROR] build.go:5: running "pwsh": exit status 1
      cmderr	[generator automation-v2] [ERROR] ': exit status 1
      error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go]: generator automation-v2
      warn	Skip package processing as generation is failed
    ️🔄 azure-sdk-for-js inProgress [Detail]
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs] Generate from da867cd79835e151d1d3728e2fa75dd9eb1f2c19. 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] npm notice
      cmderr	[initScript.sh] npm notice New major version of npm available! 8.19.4 -> 10.2.1
      cmderr	[initScript.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.2.1>
      cmderr	[initScript.sh] npm notice Run `npm install -g npm@10.2.1` to update!
      cmderr	[initScript.sh] npm notice
      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
    • ️✔️billing [View full logs]  [Preview Schema Changes]
    ️❌ azure-powershell failed [Detail]
    • Pipeline Framework Failed [Logs] Generate from da867cd79835e151d1d3728e2fa75dd9eb1f2c19. SDK Automation 14.0.0
      command	sh ./tools/SwaggerCI/init.sh ../azure-powershell_tmp/initInput.json ../azure-powershell_tmp/initOutput.json
      command	pwsh ./tools/SwaggerCI/psci.ps1 ../azure-powershell_tmp/generateInput.json ../azure-powershell_tmp/generateOutput.json
      SSL error: syscall failure: Broken pipe
      Error: SSL error: syscall failure: Broken pipe
    • ⚠️Az.billing.DefaultTag [View full logs
      error	Fatal error: SSL error: syscall failure: Broken pipe
      error	The following packages are still pending:
      error		Az.billing.DefaultTag
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Feb 9, 2023

    Generated ApiView

    Language Package Name ApiView Link
    .Net Azure.ResourceManager.Billing There is no API change compared with the previous version
    Swagger Microsoft.Billing https://apiview.dev/Assemblies/Review/376316b120ec46deaa3ecd5a5f85a556

    @openapi-workflow-bot
    Copy link

    Hi @bradenwatkins, one or multiple breaking change(s) is detected in your PR. Please check out the breaking change(s), and provide business justification in the PR comment and @ PR assignee why you must have these change(s), and how external customer impact can be mitigated. Please ensure to follow breaking change policy to request breaking change review and approval before proceeding swagger PR review.
    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.
    If you want to know the production traffic statistic, please see ARM Traffic statistic.
    If you think it is false positive breaking change, please provide the reasons in the PR comment, report to Swagger Tooling Team via https://aka.ms/swaggerfeedback.
    Note: To avoid breaking change, you can refer to Shift Left Solution for detecting breaking change in early phase at your service code repository.

    @openapi-workflow-bot
    Copy link

    Hi @bradenwatkins, Your PR has some issues. Please fix the CI sequentially by following the order of Avocado, semantic validation, model validation, breaking change, lintDiff. If you have any questions, please post your questions in this channel https://aka.ms/swaggersupport.

    TaskHow to fixPriority
    AvocadoFix-AvocadoHigh
    Semantic validationFix-SemanticValidation-ErrorHigh
    Model validationFix-ModelValidation-ErrorHigh
    LintDiffFix-LintDiffhigh
    If you need further help, please feedback via swagger feedback.

    @bradenwatkins bradenwatkins force-pushed the brwatkin/2023-04-01-multi-tenancy branch from 81333f7 to c88b8c9 Compare February 9, 2023 23:24
    @AzureRestAPISpecReview AzureRestAPISpecReview removed the BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required label Feb 9, 2023
    @microsoft-github-policy-service
    Copy link
    Contributor

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

    15 similar comments
    @microsoft-github-policy-service
    Copy link
    Contributor

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

    @microsoft-github-policy-service
    Copy link
    Contributor

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

    @microsoft-github-policy-service
    Copy link
    Contributor

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

    @microsoft-github-policy-service
    Copy link
    Contributor

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

    @microsoft-github-policy-service
    Copy link
    Contributor

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

    @microsoft-github-policy-service
    Copy link
    Contributor

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

    @microsoft-github-policy-service
    Copy link
    Contributor

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

    @microsoft-github-policy-service
    Copy link
    Contributor

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

    @microsoft-github-policy-service
    Copy link
    Contributor

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

    @microsoft-github-policy-service
    Copy link
    Contributor

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

    @microsoft-github-policy-service
    Copy link
    Contributor

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

    @microsoft-github-policy-service
    Copy link
    Contributor

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

    @microsoft-github-policy-service
    Copy link
    Contributor

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

    @microsoft-github-policy-service
    Copy link
    Contributor

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

    @microsoft-github-policy-service
    Copy link
    Contributor

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

    "properties": {
    "friendlyName": "Contoso Finance",
    "billingManagementState": "Active",
    "provisioningState": "Pending"
    Copy link
    Contributor

    Choose a reason for hiding this comment

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

    I agree with Wilco that having two lists of tenants would be a cleaner approach, as I mentioned this during original discussions. But I do not feel strong enough about it to push against using a single associatedTenants list to represent both.
    Given that, I am okay with the current approach to have billingManagmentState and provisioningState.

    @bradenwatkins bradenwatkins force-pushed the brwatkin/2023-04-01-multi-tenancy branch from e2b8bd6 to 2d16411 Compare October 11, 2023 22:10
    @bradenwatkins bradenwatkins merged commit b0de48a into Azure:billing/2023-04-01 Oct 24, 2023
    18 of 26 checks passed
    @bradenwatkins bradenwatkins deleted the brwatkin/2023-04-01-multi-tenancy branch October 24, 2023 02:14
    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.

    5 participants