Skip to content

Conversation

@RichardLi1437
Copy link
Contributor

Latest improvements:

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

Contribution checklist:

  • I have reviewed the documentation for the workflow.
  • Validation tools were run on swagger spec(s) and have all been fixed in this PR.
  • The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

  • Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
  • adding/removing APIs.
  • adding/removing properties.
  • adding/removing API-version.
  • adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

  • If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
    Please follow the link to find more details on API review process.

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Apr 2, 2020

azure-sdk-for-net

️✔️ succeeded [Logs] [Expand Details]
  • ️✔️ Generate from 57f4b0c with merge commit ee537703b1a13aa47435ae0cb5c03358923b4409. SDK Automation 13.0.17.20200326.3
  • ️✔️Microsoft.Azure.Management.MachineLearningServices [Logs]  [Preview SDK Changes]
      No Artifact Generated.

    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Apr 2, 2020

    azure-cli-extensions

    ️✔️ succeeded [Logs] [Expand Details]
    • ️✔️ Generate from 57f4b0c with merge commit ee537703b1a13aa47435ae0cb5c03358923b4409. SDK Automation 13.0.17.20200326.3
      [AutoRest] 
      [AutoRest] NO TEST SCENARIO PROVIDED - DEFAULT WILL BE USED
      [AutoRest] ADD FOLLOWING SECTION TO readme.cli.md FILE TO MODIFY IT
      [AutoRest] --------------------------------------------------------
      [AutoRest]   test-scenario:
      [AutoRest]     - name: Create Workspace
      [AutoRest]     - name: CreateLinkedWorkspace
      [AutoRest]     - name: Update a AML Compute
      [AutoRest]     - name: Update a AKS Compute
      [AutoRest]     - name: Create a DataFactory Compute
      [AutoRest]     - name: Create a AML Compute
      [AutoRest]     - name: Create AKS Compute
      [AutoRest]     - name: WorkspaceGetPrivateEndpointConnection
      [AutoRest]     - name: Get a AKS Compute
      [AutoRest]     - name: Get a AML Compute
      [AutoRest]     - name: GetLinkedWorkspace
      [AutoRest]     - name: Get Workspace
      [AutoRest]     - name: WorkspaceListPrivateLinkResources
      [AutoRest]     - name: List Workspace features
      [AutoRest]     - name: Get Computes
      [AutoRest]     - name: ListLinkedWorkspaces
      [AutoRest]     - name: Get Workspaces by Resource Group
      [AutoRest]     - name: List VM Sizes
      [AutoRest]     - name: List Usages
      [AutoRest]     - name: List workspace quotas by VMFamily
      [AutoRest]     - name: List Skus
      [AutoRest]     - name: Get Workspaces by subscription
      [AutoRest]     - name: WorkspacePutPrivateEndpointConnection
      [AutoRest]     - name: Get compute nodes information for a compute
      [AutoRest]     - name: List AKS Compute Keys
      [AutoRest]     - name: Update a AmlCompute Compute
      [AutoRest]     - name: UpdateLinkedWorkspace
      [AutoRest]     - name: Resync Workspace Keys
      [AutoRest]     - name: List Workspace Keys
      [AutoRest]     - name: Update Workspace
      [AutoRest]     - name: update quotas
      [AutoRest]     - name: WorkspaceDeletePrivateEndpointConnection
      [AutoRest]     - name: Delete Compute
      [AutoRest]     - name: DeleteLinkedWorkspace
      [AutoRest]     - name: Delete Workspace
      [AutoRest] --------------------------------------------------------
    • ️✔️machinelearningservices [Logs]  [Preview SDK Changes]
        Cli has no registered package commands.

      @openapi-sdkautomation
      Copy link

      openapi-sdkautomation bot commented Apr 2, 2020

      azure-sdk-for-java

      No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

      @openapi-sdkautomation
      Copy link

      openapi-sdkautomation bot commented Apr 2, 2020

      azure-sdk-for-python

      - Breaking Change detected in SDK

      ⚠️ warning [Logs] [Expand Details]
      • ⚠️ Generate from 57f4b0c with merge commit ee537703b1a13aa47435ae0cb5c03358923b4409. SDK Automation 13.0.17.20200326.3
      • ⚠️azure-mgmt-machinelearningservices [Logs]  [Preview SDK Changes] Breaking Change Detected
        [build_package] /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
        [build_package]   warnings.warn(msg)
        [build_package] warning: no files found matching '*.py' under directory 'tests'
        [build_package] warning: no files found matching '*.yaml' under directory 'tests'
        [build_package] /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
        [build_package]   warnings.warn(msg)
        [build_package] warning: no files found matching '*.py' under directory 'tests'
        [build_package] warning: no files found matching '*.yaml' under directory 'tests'
        [breaking_change_setup] Ignoring mock: markers 'python_version <= "2.7"' don't match your environment
        [breaking_change_setup] Cannot uninstall requirement azure-nspkg, not installed
        [breaking_change_setup] Command '['/usr/local/bin/python', '-m', 'pip', 'uninstall', '-y', 'azure-nspkg']' returned non-zero exit status 1.
        [ChangeLog] Size of delta 40.843% size of original (original: 54482 chars, delta: 22252 chars)
        [ChangeLog] **Features**
        [ChangeLog] 
        [ChangeLog]   - Model WorkspaceUpdateParameters has a new parameter sku
        [ChangeLog]   - Model Workspace has a new parameter shared_private_link_resources
        [ChangeLog]   - Model Workspace has a new parameter sku
        [ChangeLog]   - Model Workspace has a new parameter image_build_compute
        [ChangeLog]   - Model Workspace has a new parameter private_link_count
        [ChangeLog]   - Model Workspace has a new parameter linked_workspaces
        [ChangeLog]   - Model Workspace has a new parameter service_provisioned_resource_group
        [ChangeLog]   - Model Workspace has a new parameter allow_public_access_when_behind_vnet
        [ChangeLog]   - Model Workspace has a new parameter hbi_workspace
        [ChangeLog]   - Model Workspace has a new parameter private_endpoint_connections
        [ChangeLog]   - Model Workspace has a new parameter encryption
        [ChangeLog]   - Model AmlComputeProperties has a new parameter remote_login_port_public_access
        [ChangeLog]   - Model Identity has a new parameter user_assigned_identities
        [ChangeLog]   - Model ComputeResource has a new parameter sku
        [ChangeLog]   - Model Resource has a new parameter sku
        [ChangeLog]   - Model VirtualMachineSize has a new parameter gpus
        [ChangeLog]   - Added operation group PrivateLinkResourcesOperations
        [ChangeLog]   - Added operation group WorkspaceFeaturesOperations
        [ChangeLog]   - Added operation group QuotasOperations
        [ChangeLog]   - Added operation group AzureMachineLearningWorkspacesOperationsMixin
        [ChangeLog]   - Added operation group PrivateEndpointConnectionsOperations
        [ChangeLog]   - Added operation group LinkedWorkspacesOperations
        [ChangeLog] 
        [ChangeLog] **Breaking changes**
        [ChangeLog] 
        [ChangeLog]   - Model AmlComputeNodeInformation has a new signature

      @openapi-sdkautomation
      Copy link

      openapi-sdkautomation bot commented Apr 2, 2020

      azure-sdk-for-js

      ️✔️ succeeded [Logs] [Expand Details]

      @openapi-sdkautomation
      Copy link

      openapi-sdkautomation bot commented Apr 2, 2020

      azure-sdk-for-go

      ⚠️ warning [Logs] [Expand Details]

      @azure-pipelines
      Copy link

      Azure Pipelines successfully started running 1 pipeline(s).

      @azuresdkci
      Copy link
      Contributor

      Can one of the admins verify this patch?

      @azure-pipelines
      Copy link

      Azure Pipelines successfully started running 1 pipeline(s).

      @azure-pipelines
      Copy link

      Azure Pipelines successfully started running 1 pipeline(s).

      @azure-pipelines
      Copy link

      Azure Pipelines successfully started running 1 pipeline(s).

      @azure-pipelines
      Copy link

      Azure Pipelines successfully started running 1 pipeline(s).

      @azure-pipelines
      Copy link

      Azure Pipelines successfully started running 1 pipeline(s).

      @RichardLi1437 RichardLi1437 changed the title add linked workspace endpoints add linked workspace endpoints(Not ready for review yet) Apr 2, 2020
      @azure-pipelines
      Copy link

      Azure Pipelines successfully started running 1 pipeline(s).

      @azure-pipelines
      Copy link

      Azure Pipelines successfully started running 1 pipeline(s).

      @azure-pipelines
      Copy link

      Azure Pipelines successfully started running 1 pipeline(s).

      @azure-pipelines
      Copy link

      Azure Pipelines successfully started running 1 pipeline(s).

      @azure-pipelines
      Copy link

      Azure Pipelines successfully started running 1 pipeline(s).

      @azure-pipelines
      Copy link

      Azure Pipelines successfully started running 1 pipeline(s).

      @azure-pipelines
      Copy link

      Azure Pipelines successfully started running 1 pipeline(s).

      @RichardLi1437 RichardLi1437 changed the title add linked workspace endpoints(Not ready for review yet) add linked workspace endpoints(Ready for review) Apr 3, 2020
      @ArcturusZhang ArcturusZhang added the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Apr 3, 2020
      @RichardLi1437
      Copy link
      Contributor Author

      Though we introduced new APIs and properties in this PR, we don't want to bump the api-Version right now, because:

      1. Those are not breaking changes, client which not aware of these new APIs won't call the new endpoints, and the new properties in the JSON response will be safely ignored by the JSON deserializer.
      2. These new items are for a new feature that planning to be private preview in May, we want to bump the api-Version by then.
        Thank you and looking forward your approval and merge!

      }
      }
      },
      "post": {
      Copy link
      Member

      Choose a reason for hiding this comment

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

      post [](start = 7, length = 4)

      Resource updates should be done with PUT not POST as per the RPC. (https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/resource-api-reference.md)

      Copy link
      Contributor Author

      Choose a reason for hiding this comment

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

      again, that's because LinkedWorkspace is not a resource, yet.

      }
      }
      },
      "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Microsoft.MachineLearningServices/workspaces/{workspaceName}/delinkWorkspace/{linkName}": {
      Copy link
      Member

      Choose a reason for hiding this comment

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

      delinkWorkspace [](start = 133, length = 15)

      Are you introducing a separate nested resource type for de-linked workspaces? Did you mean to create a delink POST action on a linked workspace instead?

      Copy link
      Contributor Author

      Choose a reason for hiding this comment

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

      User can link multiple LinkedWorkspace to Workspace, here is to delink one of them, i.e. delete a LinkedWorkspace. If DELETE is not reserved for resource, I will use DELETE .../linkedWorkspace/{linkName} here. And POST .../linkedWorkspace/{linkName} is used by the update, so I use .../delinkWorkspace/{linkName} here for delete.

      "workspaceName": "linkedWorkspace-1234",
      "userAssignedIdentityResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-4321/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai123",
      "resourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/linkRg-123/providers/Microsoft.Synapse/workspaces/linkedWorkspace-1234"
      },
      Copy link
      Member

      Choose a reason for hiding this comment

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

      This is not an RPC-compliant resource payload. You should have a top level id, 'name, type property and all the resource properties should go into the properties property. Please take a look at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/resource-api-reference.md#resource-api-reference.

      Copy link
      Contributor Author

      Choose a reason for hiding this comment

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

      LinkedWorkspace is not yet a resource.

      "200": {
      "description": "Successfully deleted the linked workspace."
      },
      "204": {
      Copy link
      Contributor Author

      Choose a reason for hiding this comment

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

      I suppose 204 is ok to be kept?

      @azure-pipelines
      Copy link

      Azure Pipelines successfully started running 1 pipeline(s).

      @azure-pipelines
      Copy link

      Azure Pipelines successfully started running 1 pipeline(s).

      @azure-pipelines
      Copy link

      Azure Pipelines successfully started running 1 pipeline(s).

      Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

      Labels

      WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required

      Projects

      None yet

      Development

      Successfully merging this pull request may close these issues.

      4 participants