Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Hub Generated] Review request for Microsoft.MachineLearningServices to add version preview/2022-06-01-preview #19842

Conversation

erjms
Copy link
Member

@erjms erjms commented Jul 19, 2022

This is a PR generated at OpenAPI Hub. You can view your work branch via this link.

ARM API Information (Control Plane)

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

Changelog

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

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

Contribution checklist (MS Employees Only):

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

ARM API Review Checklist

Applicability: ⚠️

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

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

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

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

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

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

Breaking Change Review Checklist

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

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

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

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

forteddyt and others added 5 commits July 11, 2022 18:46
… stable/2022-05-01 to version 2022-06-01-preview
* Added idleTimeBeforeShutdown to compute instance properties

* Added api UpdateIdleShutdownSetting

Co-authored-by: Teo Magnino Chaban <[email protected]>
* update mfe.json with 2022-06-01-preview spec

* update go.md with preview-2022-06

* add AutoMLJob examples (initial)

* add LabelingJob examples (initial)

* add Schedule examples (initial)

* prettier

* update AutoMLJob examples

* update LabelingJob examples

* update LabelingJob examples

* prettier

* typo fixes

* add Vectorizer to custom-words.txt

* add missing

* is this a breaking change?

* Revert "update go.md with preview-2022-06"

This reverts commit b49c64a.
@openapi-workflow-bot
Copy link

Hi, @erjms 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): 209 Warnings warning [Detail]
    compared swaggers (via Oad v0.9.6)] new version base version
    machineLearningServices.json 2022-06-01-preview(39ebcde) 2022-05-01(main)
    machineLearningServices.json 2022-06-01-preview(39ebcde) 2022-02-01-preview(main)
    mfe.json 2022-06-01-preview(39ebcde) 2022-05-01(main)
    mfe.json 2022-06-01-preview(39ebcde) 2022-02-01-preview(main)
    workspaceFeatures.json 2022-06-01-preview(39ebcde) 2022-05-01(main)
    workspaceFeatures.json 2022-06-01-preview(39ebcde) 2022-02-01-preview(main)

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

    Rule Message
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L6729:9
    Old: Microsoft.MachineLearningServices/stable/2022-05-01/mfe.json#L5815:9
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L6393:5
    Old: Microsoft.MachineLearningServices/stable/2022-05-01/mfe.json#L5508:5
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L6456:5
    Old: Microsoft.MachineLearningServices/stable/2022-05-01/mfe.json#L5568:5
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L6493:5
    Old: Microsoft.MachineLearningServices/stable/2022-05-01/mfe.json#L5602:5
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L6577:5
    Old: Microsoft.MachineLearningServices/stable/2022-05-01/mfe.json#L5666:5
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L7633:9
    Old: Microsoft.MachineLearningServices/stable/2022-05-01/mfe.json#L6388:9
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L15198:9
    Old: Microsoft.MachineLearningServices/stable/2022-05-01/mfe.json#L9911:9


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

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

    Rule Message
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'WorkspaceConnection' removed or renamed?
    New: Microsoft.MachineLearningServices/preview/2022-06-01-preview/machineLearningServices.json#L2080:3
    Old: Microsoft.MachineLearningServices/preview/2022-02-01-preview/machineLearningServices.json#L1978:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'WorkspaceConnectionProps' removed or renamed?
    New: Microsoft.MachineLearningServices/preview/2022-06-01-preview/machineLearningServices.json#L2080:3
    Old: Microsoft.MachineLearningServices/preview/2022-02-01-preview/machineLearningServices.json#L1978:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ScheduleType' removed or renamed?
    New: Microsoft.MachineLearningServices/preview/2022-06-01-preview/machineLearningServices.json#L2080:3
    Old: Microsoft.MachineLearningServices/preview/2022-02-01-preview/machineLearningServices.json#L1978:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'RecurrencePattern' removed or renamed?
    New: Microsoft.MachineLearningServices/preview/2022-06-01-preview/machineLearningServices.json#L2080:3
    Old: Microsoft.MachineLearningServices/preview/2022-02-01-preview/machineLearningServices.json#L1978:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'RecurrenceFrequency' removed or renamed?
    New: Microsoft.MachineLearningServices/preview/2022-06-01-preview/machineLearningServices.json#L2080:3
    Old: Microsoft.MachineLearningServices/preview/2022-02-01-preview/machineLearningServices.json#L1978:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'RecurrenceSchedule' removed or renamed?
    New: Microsoft.MachineLearningServices/preview/2022-06-01-preview/machineLearningServices.json#L2080:3
    Old: Microsoft.MachineLearningServices/preview/2022-02-01-preview/machineLearningServices.json#L1978:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'CronSchedule' removed or renamed?
    New: Microsoft.MachineLearningServices/preview/2022-06-01-preview/machineLearningServices.json#L2080:3
    Old: Microsoft.MachineLearningServices/preview/2022-02-01-preview/machineLearningServices.json#L1978:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'CronSchedule' removed or renamed?
    New: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L6059:3
    Old: Microsoft.MachineLearningServices/preview/2022-02-01-preview/mfe.json#L5326:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ImageVerticalDataSettings' removed or renamed?
    New: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L6059:3
    Old: Microsoft.MachineLearningServices/preview/2022-02-01-preview/mfe.json#L5326:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ImageVerticalValidationDataSettings' removed or renamed?
    New: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L6059:3
    Old: Microsoft.MachineLearningServices/preview/2022-02-01-preview/mfe.json#L5326:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ModelType' removed or renamed?
    New: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L6059:3
    Old: Microsoft.MachineLearningServices/preview/2022-02-01-preview/mfe.json#L5326:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'NlpVerticalDataSettings' removed or renamed?
    New: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L6059:3
    Old: Microsoft.MachineLearningServices/preview/2022-02-01-preview/mfe.json#L5326:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'NlpVerticalValidationDataSettings' removed or renamed?
    New: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L6059:3
    Old: Microsoft.MachineLearningServices/preview/2022-02-01-preview/mfe.json#L5326:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'PartialAssetReferenceBase' removed or renamed?
    New: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L6059:3
    Old: Microsoft.MachineLearningServices/preview/2022-02-01-preview/mfe.json#L5326:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'PartialBatchDeploymentPartialTrackedResource' removed or renamed?
    New: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L6059:3
    Old: Microsoft.MachineLearningServices/preview/2022-02-01-preview/mfe.json#L5326:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'PartialBatchEndpoint' removed or renamed?
    New: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L6059:3
    Old: Microsoft.MachineLearningServices/preview/2022-02-01-preview/mfe.json#L5326:3
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️❌LintDiff: 4 Errors, 76 Warnings failed [Detail]
    compared tags (via openapi-validator v1.13.0) new version base version
    package-preview-2022-06 package-preview-2022-06(39ebcde) default(main)

    The following errors/warnings are introduced by current PR:

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

    Rule Message
    R2008 - MutabilityWithReadOnly When property is modeled as 'readOnly': true then x-ms-mutability extension can only have 'read' value. When property is modeled as 'readOnly': false then applying x-ms-mutability extension with only 'read' value is not allowed. Extension contains invalid values: 'read'.
    Location: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L11503
    R2008 - MutabilityWithReadOnly When property is modeled as 'readOnly': true then x-ms-mutability extension can only have 'read' value. When property is modeled as 'readOnly': false then applying x-ms-mutability extension with only 'read' value is not allowed. Extension contains invalid values: 'read'.
    Location: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L11521
    R2008 - MutabilityWithReadOnly When property is modeled as 'readOnly': true then x-ms-mutability extension can only have 'read' value. When property is modeled as 'readOnly': false then applying x-ms-mutability extension with only 'read' value is not allowed. Extension contains invalid values: 'read'.
    Location: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L13613
    R2008 - MutabilityWithReadOnly When property is modeled as 'readOnly': true then x-ms-mutability extension can only have 'read' value. When property is modeled as 'readOnly': false then applying x-ms-mutability extension with only 'read' value is not allowed. Extension contains invalid values: 'read'.
    Location: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L14431
    ⚠️ R2001 - AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L11612
    ⚠️ R2001 - AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L13716
    ⚠️ R2063 - OperationIdNounConflictingModelNames OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'ComputeModel'. Consider using the plural form of 'Compute' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Microsoft.MachineLearningServices/preview/2022-06-01-preview/machineLearningServices.json#L1010
    ⚠️ R2063 - OperationIdNounConflictingModelNames OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'ComputeModel'. Consider using the plural form of 'Compute' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Microsoft.MachineLearningServices/preview/2022-06-01-preview/machineLearningServices.json#L1333
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'labelingJobs' with immediate parent 'Workspace', must have a list by immediate parent operation.
    Location: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L11600
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'schedules' with immediate parent 'Workspace', must have a list by immediate parent operation.
    Location: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L13704
    ⚠️ R3017 - GuidUsage Guid used in model definition 'LabelingJob' for property 'projectId'. Usage of Guid is not recommanded. If GUIDs are absolutely required in your service, please get sign off from the Azure API review board.
    Location: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L11508
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: privileged
    Location: Microsoft.MachineLearningServices/preview/2022-06-01-preview/machineLearningServices.json#L4952
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: readOnly
    Location: Microsoft.MachineLearningServices/preview/2022-06-01-preview/machineLearningServices.json#L5019
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: nocopy
    Location: Microsoft.MachineLearningServices/preview/2022-06-01-preview/machineLearningServices.json#L5057
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: createHostPath
    Location: Microsoft.MachineLearningServices/preview/2022-06-01-preview/machineLearningServices.json#L5072
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: scheduled
    Location: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L3311


    The following errors/warnings exist before current PR submission:

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

    Rule Message
    R2008 - MutabilityWithReadOnly When property is modeled as 'readOnly': true then x-ms-mutability extension can only have 'read' value. When property is modeled as 'readOnly': false then applying x-ms-mutability extension with only 'read' value is not allowed. Extension contains invalid values: 'read'.
    Location: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L6725
    R2008 - MutabilityWithReadOnly When property is modeled as 'readOnly': true then x-ms-mutability extension can only have 'read' value. When property is modeled as 'readOnly': false then applying x-ms-mutability extension with only 'read' value is not allowed. Extension contains invalid values: 'read'.
    Location: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L6811
    R2008 - MutabilityWithReadOnly When property is modeled as 'readOnly': true then x-ms-mutability extension can only have 'read' value. When property is modeled as 'readOnly': false then applying x-ms-mutability extension with only 'read' value is not allowed. Extension contains invalid values: 'read'.
    Location: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L8963
    R2008 - MutabilityWithReadOnly When property is modeled as 'readOnly': true then x-ms-mutability extension can only have 'read' value. When property is modeled as 'readOnly': false then applying x-ms-mutability extension with only 'read' value is not allowed. Extension contains invalid values: 'read'.
    Location: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L10681
    R2008 - MutabilityWithReadOnly When property is modeled as 'readOnly': true then x-ms-mutability extension can only have 'read' value. When property is modeled as 'readOnly': false then applying x-ms-mutability extension with only 'read' value is not allowed. Extension contains invalid values: 'read'.
    Location: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L12407
    R2008 - MutabilityWithReadOnly When property is modeled as 'readOnly': true then x-ms-mutability extension can only have 'read' value. When property is modeled as 'readOnly': false then applying x-ms-mutability extension with only 'read' value is not allowed. Extension contains invalid values: 'read'.
    Location: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L12507
    R3008 - CollectionObjectPropertiesNaming Collection object 'AmlComputeNodesInformation' returned by list operation 'Compute_ListNodes' with 'x-ms-pageable' extension, has no property named 'value'.
    Location: Microsoft.MachineLearningServices/preview/2022-06-01-preview/machineLearningServices.json#L1086
    ⚠️ R1003 - ListInOperationName Since operation 'QuotasUpdate' response has model definition 'array', it should be of the form 'list'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Microsoft.MachineLearningServices/preview/2022-06-01-preview/machineLearningServices.json#L567
    ⚠️ R2001 - AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.MachineLearningServices/preview/2022-06-01-preview/machineLearningServices.json#L3263
    ⚠️ R2001 - AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.MachineLearningServices/preview/2022-06-01-preview/machineLearningServices.json#L3364
    ⚠️ R2001 - AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.MachineLearningServices/preview/2022-06-01-preview/machineLearningServices.json#L3459
    ⚠️ R2001 - AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.MachineLearningServices/preview/2022-06-01-preview/machineLearningServices.json#L3672
    ⚠️ R2001 - AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.MachineLearningServices/preview/2022-06-01-preview/machineLearningServices.json#L3861
    ⚠️ R2001 - AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.MachineLearningServices/preview/2022-06-01-preview/machineLearningServices.json#L3882
    ⚠️ R2001 - AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.MachineLearningServices/preview/2022-06-01-preview/machineLearningServices.json#L3950
    ⚠️ R2001 - AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.MachineLearningServices/preview/2022-06-01-preview/machineLearningServices.json#L3993
    ️❌Avocado: 6 Errors, 1 Warnings failed [Detail]
    Rule Message
    MISSING_APIS_IN_DEFAULT_TAG The default tag does not contain all APIs in this RP. Please make sure the missing API swaggers are in the default tag.
    readme: specification/machinelearningservices/resource-manager/readme.md
    json: Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json
    MISSING_APIS_IN_DEFAULT_TAG The default tag does not contain all APIs in this RP. Please make sure the missing API swaggers are in the default tag.
    readme: specification/machinelearningservices/resource-manager/readme.md
    json: Microsoft.MachineLearningServices/preview/2022-01-01-preview/workspaceSkus.json
    MISSING_APIS_IN_DEFAULT_TAG The default tag does not contain all APIs in this RP. Please make sure the missing API swaggers are in the default tag.
    readme: specification/machinelearningservices/resource-manager/readme.md
    json: Microsoft.MachineLearningServices/preview/2020-04-01-preview/machineLearningServices.json
    MISSING_APIS_IN_DEFAULT_TAG The default tag does not contain all APIs in this RP. Please make sure the missing API swaggers are in the default tag.
    readme: specification/machinelearningservices/resource-manager/readme.md
    json: Microsoft.MachineLearningServices/preview/2020-05-15-preview/machineLearningServices.json
    MISSING_APIS_IN_DEFAULT_TAG The default tag does not contain all APIs in this RP. Please make sure the missing API swaggers are in the default tag.
    readme: specification/machinelearningservices/resource-manager/readme.md
    json: Microsoft.MachineLearningServices/preview/2020-05-01-preview/machineLearningServices.json
    MISSING_APIS_IN_DEFAULT_TAG The default tag does not contain all APIs in this RP. Please make sure the missing API swaggers are in the default tag.
    readme: specification/machinelearningservices/resource-manager/readme.md
    json: Microsoft.MachineLearningServices/preview/2021-03-01-preview/machineLearningServices.json
    ⚠️ CIRCULAR_REFERENCE The JSON file has a circular reference.
    readme: specification/machinelearningservices/resource-manager/readme.md
    json: Microsoft.MachineLearningServices/preview/2022-06-01-preview/machineLearningServices.json
    ️️✔️ApiReadinessCheck succeeded [Detail] [Expand]
    ️❌ModelValidation: 10 Errors, 0 Warnings failed [Detail]
    Rule Message
    OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: secrets
    Url: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L6060:39
    ExampleUrl: 2022-06-01-preview/examples/Datastore/list.json
    OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: secrets
    Url: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L6060:39
    ExampleUrl: 2022-06-01-preview/examples/Datastore/get.json
    OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: secrets
    Url: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L6060:39
    ExampleUrl: examples/Datastore/AzureBlobWAccountKey/createOrUpdate.json
    OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: secrets
    Url: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L6060:39
    ExampleUrl: examples/Datastore/AzureBlobWAccountKey/createOrUpdate.json
    OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: secrets
    Url: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L13847:45
    ExampleUrl: examples/Datastore/AzureDataLakeGen1WServicePrincipal/createOrUpdate.json
    OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: secrets
    Url: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L13847:45
    ExampleUrl: examples/Datastore/AzureDataLakeGen1WServicePrincipal/createOrUpdate.json
    OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: secrets
    Url: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L13847:45
    ExampleUrl: examples/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json
    OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: secrets
    Url: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L13847:45
    ExampleUrl: examples/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json
    OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: secrets
    Url: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L6060:39
    ExampleUrl: examples/Datastore/AzureFileWAccountKey/createOrUpdate.json
    OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: secrets
    Url: Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json#L6060:39
    ExampleUrl: examples/Datastore/AzureFileWAccountKey/createOrUpdate.json
    ️️✔️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/39ebcde4bca26dc856705e6b892c7a7f0d22aea8/specification/machinelearningservices/resource-manager/readme.md#tag-package-preview-2022-06">machinelearningservices/resource-manager/readme.md#package-preview-2022-06
    The following errors/warnings are introduced by current PR:
    Rule Message
    ⚠️ UnkownSecurityScheme "readme":"machinelearningservices/resource-manager/readme.md",
    "tag":"package-preview-2022-06",
    "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]

    Only 0 items are rendered, please refer to log for more details.

    ️❌SDK Breaking Change Tracking failed [Detail]

    Only 0 items are rendered, please refer to log for more details.

    ️️✔️ azure-sdk-for-net-track2 succeeded [Detail] [Expand]

    Only 0 items are rendered, please refer to log for more details.

    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]

    Only 0 items are rendered, please refer to log for more details.

    ️⚠️ azure-sdk-for-python-track2 warning [Detail]

    Only 0 items are rendered, please refer to log for more details.

    ️️✔️ azure-sdk-for-java succeeded [Detail] [Expand]

    Only 0 items are rendered, please refer to log for more details.

    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]

    Only 0 items are rendered, please refer to log for more details.

    ️⚠️ azure-resource-manager-schemas warning [Detail]

    Only 0 items are rendered, please refer to log for more details.

    ️❌ azure-powershell failed [Detail]

    Only 0 items are rendered, please refer to log for more details.

    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-workflow-bot
    Copy link

    Hi @erjms, 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.

    srivatsasinha and others added 3 commits July 25, 2022 10:42
    * Updating Swagger Spec for MLC for CustomServices
    
    * Added Examples
    
    * Removing update API in favor of exisiting Patch API and Fixing some Validation issues
    
    * Fixed Pretty Issue
    
    * Fixed Id Issue
    
    * Changed case
    
    * Updated Examples
    
    * Changing Description
    
    * Added nullable fields
    
    * Added update APIs
    
    * Fixing validation errors
    
    * Fix model validation
    
    Co-authored-by: Srivatsa Sinha <[email protected]>
    * Add encryption property to workspace update parameters
    
    Adding the ability for users to update CMK keyIdentifier property for workspace update.
    
    * Apply prettier changes
    
    Co-authored-by: Joshua Loeffler <[email protected]>
    @openapi-workflow-bot openapi-workflow-bot bot added ARMReview WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Jul 27, 2022
    @openapi-workflow-bot
    Copy link

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

    * add soft delete related properties
    
    * resolve lint diff issue that enum name duplicaton
    
    Co-authored-by: Xi Jin <[email protected]>
    @erjms erjms added the DoNotMerge <valid label in PR review process> use to hold merge after approval label Jul 28, 2022
    @erjms erjms marked this pull request as ready for review July 28, 2022 13:33
    @erjms
    Copy link
    Member Author

    erjms commented Aug 2, 2022

            "type": "string"
    

    please consider using ODATA for filter queries.

    Refers to: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json:3319 in a464a09. [](commit_id = a464a09, deletion_comment = False)

    @raosuhas Given our tight timeline for this API and the fact that our GA stable version does not use ODATA for filter queries, could we keep the PR as-is for this preview version and look into implementing ODATA for future preview/GA versions? Above all, we would like to avoid breaking changes and schedule risk given the complexities of modifying the underlying service to accommodate this change.

    Also FYI - these files already were reviewed and given ARM signoff via various PRs into this staging branch, please see my reply here:
    #19842 (comment)

    @erjms
    Copy link
    Member Author

    erjms commented Aug 2, 2022

            "read",
    

    consider using enums rather than booleans :

    https://armwiki.azurewebsites.net/rp_onboarding/process/api_review_best_practices.html?q=enum

    Replace boolean/switch properties with better enum A Boolean will forever have two valid values (true or false). A string enum type is always preferred. Also, properties should always provide better values just than True and False. For example two switches "isTypeA" and "isTypeB" should be replaced with one enum "type": [A, B, DefaultType]. Even if you still believe [True, False] are the correct values for a property, you should use a string enum with values [True, False] instead of boolean. Enums are always a more flexible and future proof option because they allow additional values to be added in the future in a non-breaking way, e.g. [True, False, Unknown].

    Refers to: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2022-06-01-preview/mfe.json:11422 in a464a09. [](commit_id = a464a09, deletion_comment = False)

    @raosuhas These features are in preview and their contracts have not solidified. Similar to my above response, could we keep them as-is in this PR, and look into updating them to enums in the next preview or GA version?

    @erjms erjms removed the ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review label Aug 2, 2022
    @openapi-workflow-bot openapi-workflow-bot bot added the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Aug 2, 2022
    @ArcturusZhang
    Copy link
    Member

    Suppress LintDiff and ModelValidation because they are all known false alarms

    @tadelesh tadelesh added the Approved-SdkBreakingChange-Go Approve the breaking change tracking for azure-sdk-for-go label Aug 3, 2022
    @raosuhas raosuhas added the ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review label Aug 4, 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 Aug 4, 2022
    @ArcturusZhang
    Copy link
    Member

    /azp run

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @ArcturusZhang ArcturusZhang merged commit 7f284e0 into main Aug 5, 2022
    @ArcturusZhang ArcturusZhang deleted the dev-machinelearningservices-Microsoft.MachineLearningServices-2022-06-01-preview branch August 5, 2022 05:42
    ghost pushed a commit to Azure/azure-resource-manager-schemas that referenced this pull request Aug 5, 2022
    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.