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

Add sql managed instance #9164

Merged
merged 11 commits into from
Jun 30, 2020
Merged

Add sql managed instance #9164

merged 11 commits into from
Jun 30, 2020

Conversation

jorgbaca
Copy link
Contributor

@jorgbaca jorgbaca commented Apr 21, 2020

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 21, 2020

azure-sdk-for-go - Release

️✔️ succeeded [Logs] [Expand Details]

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Apr 21, 2020

azure-sdk-for-js - Release

⚠️ warning [Logs] [Expand Details]
  • ⚠️ Generate from 582834e with merge commit 02d54c8. SDK Automation 13.0.17.20200619.4
    Failed to find any diff after autorest so no changed packages was found.

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Apr 21, 2020

azure-sdk-for-java - Release

⚠️ warning [Logs] [Expand Details]
  • ⚠️ Generate from 582834e with merge commit 02d54c8. SDK Automation 13.0.17.20200619.4
    Failed to find any diff after autorest so no changed packages was found.

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Apr 21, 2020

azure-cli-extensions

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 21, 2020

azure-sdk-for-python - Release

⚠️ warning [Logs] [Expand Details]
  • ⚠️ Generate from 582834e with merge commit 02d54c8. SDK Automation 13.0.17.20200619.4
    Failed to find any changed packages. Please check the changed file list.
    /z/work/azure-sdk-for-python/sdk/azure-mgmt/azuredata/__init__.py
    /z/work/azure-sdk-for-python/sdk/azure-mgmt/azuredata/_azure_data_management_client.py
    /z/work/azure-sdk-for-python/sdk/azure-mgmt/azuredata/_configuration.py
    /z/work/azure-sdk-for-python/sdk/azure-mgmt/azuredata/models/__init__.py
    /z/work/azure-sdk-for-python/sdk/azure-mgmt/azuredata/models/_azure_data_management_client_enums.py
    /z/work/azure-sdk-for-python/sdk/azure-mgmt/azuredata/models/_models.py
    /z/work/azure-sdk-for-python/sdk/azure-mgmt/azuredata/models/_models_py3.py
    /z/work/azure-sdk-for-python/sdk/azure-mgmt/azuredata/models/_paged_models.py
    /z/work/azure-sdk-for-python/sdk/azure-mgmt/azuredata/operations/__init__.py
    /z/work/azure-sdk-for-python/sdk/azure-mgmt/azuredata/operations/_data_controllers_operations.py
    /z/work/azure-sdk-for-python/sdk/azure-mgmt/azuredata/operations/_hybrid_data_managers_operations.py
    /z/work/azure-sdk-for-python/sdk/azure-mgmt/azuredata/operations/_operations.py
    /z/work/azure-sdk-for-python/sdk/azure-mgmt/azuredata/operations/_postgres_instances_operations.py
    /z/work/azure-sdk-for-python/sdk/azure-mgmt/azuredata/operations/_sql_instances_operations.py
    /z/work/azure-sdk-for-python/sdk/azure-mgmt/azuredata/operations/_sql_managed_instances_operations.py
    /z/work/azure-sdk-for-python/sdk/azure-mgmt/azuredata/operations/_sql_server_instances_operations.py
    /z/work/azure-sdk-for-python/sdk/azure-mgmt/azuredata/operations/_sql_server_registrations_operations.py
    /z/work/azure-sdk-for-python/sdk/azure-mgmt/azuredata/operations/_sql_servers_operations.py
    /z/work/azure-sdk-for-python/sdk/azure-mgmt/azuredata/version.py

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Apr 21, 2020

azure-sdk-for-trenton

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 21, 2020

azure-sdk-for-net - Release

️✔️ succeeded [Logs] [Expand Details]
  • ️✔️ Generate from 582834e with merge commit 02d54c8. SDK Automation 13.0.17.20200619.4
    [AutoRest] realpath(): Permission denied
    [AutoRest] realpath(): Permission denied
    [AutoRest] realpath(): Permission denied
    [AutoRest] realpath(): Permission denied
    [AutoRest] realpath(): Permission denied
    [AutoRest] realpath(): Permission denied
  • ️✔️Microsoft.Azure.Management.AzureData [View full logs]  [Release SDK Changes]
      No Artifact Generated.

    @azuresdkci
    Copy link
    Contributor

    Can one of the admins verify this patch?

    @raych1 raych1 added the NotReadyForReview <valid label in PR review process>It is in draft for swagger or not swagger PR label Apr 22, 2020
    @openapi-assignment-bot openapi-assignment-bot bot added WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required and removed WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Apr 24, 2020
    @jorgbaca jorgbaca marked this pull request as ready for review April 24, 2020 20:32
    @anthony-c-martin anthony-c-martin added WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required and removed NotReadyForReview <valid label in PR review process>It is in draft for swagger or not swagger PR labels Apr 24, 2020
    @jorgbaca
    Copy link
    Contributor Author

    Hi @raych1 , have you had a chance to look at this PR?
    Let me know if you need something from me. Thanks!

    @openapi-assignment-bot openapi-assignment-bot bot removed the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label May 1, 2020
    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @raych1 raych1 added the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label May 6, 2020
    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jun 11, 2020

    [Staging] Swagger Validation Report

  • ️✔️~[Staging] BreakingChange [Detail]

  • Posted by Swagger Pipeline

    @azure-pipelines
    Copy link

    No commit pushedDate could be found for PR 9164 in repo Azure/azure-rest-api-specs

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Jun 11, 2020

    Azure CLI Extension Generation - Release

    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 Jun 11, 2020

    azure-sdk-for-python-track2 - Release

    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 Jun 11, 2020

    Trenton Generation - Release

    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

    @jorgbaca
    Copy link
    Contributor Author

    @raych1 @anthony-c-martin , I have this PR from some time ago that was never merged, I just solved a conflict from recent changes from master and all checks passed. Can you guys take a look at it? Let me know if you need something from me to get it merged. Thank you for your help.

    Copy link
    Contributor

    @chiragg4u chiragg4u left a comment

    Choose a reason for hiding this comment

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

    Please take a look at the comments.

    "modelAsString": true
    }
    },
    "HandshakeRequest": {
    Copy link
    Contributor

    Choose a reason for hiding this comment

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

    There are no properties in this object?

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

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

    Correct. There are some objects that still don't have properties. Most objects are just "shadow" objects that map to some objects on the customer's premises, but many functionality is still not defined/final yet.

    Copy link
    Contributor

    Choose a reason for hiding this comment

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

    If there are changes expected I would recommend you to publish to internal repo as per
    https://github.com/Azure/adx-documentation-pr/wiki/The-review-process

    "responses": {
    "200": {
    "body": {
    "properties": {},
    Copy link
    Contributor

    Choose a reason for hiding this comment

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

    Good to provide example of how this will be used? It's strange that there are no required parameters for this type.

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

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

    For sure, this is for now just a copy of "hybridDataControllers" type which is being renamed to dataControllers. These objects are currently just used by a CLI tool that creates these "shadow" resources that map to onpremise objects.

    We plan on updating the examples and properties on these "shadow" resources as they work on premises progresses.

    "responses": {
    "200": {
    "body": {
    "properties": {},
    Copy link
    Contributor

    Choose a reason for hiding this comment

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

    Same as above no required parameters? Not sure how clients would be able to use this or build any applications based on such definition?

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

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

    This is just a copy of sqlInstances which is being renamed to sqlManagedInstances. We are working on what properties will be there and we'll add those once the work progresses. For now this is just a "shadow" resource that maps to some objects on premise.

    "responses": {
    "200": {
    "body": {
    "properties": {},
    Copy link
    Contributor

    Choose a reason for hiding this comment

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

    Please provide real world examples.

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

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

    Same here. Will update the examples as the work on the premise side progresses.

    Copy link
    Contributor

    @chiragg4u chiragg4u left a comment

    Choose a reason for hiding this comment

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

    Satisfied with the responses, approving.

    @chiragg4u chiragg4u added ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review and removed WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Jun 19, 2020
    @raych1 raych1 merged commit 02d54c8 into Azure:master Jun 30, 2020
    00Kai0 pushed a commit to 00Kai0/azure-rest-api-specs that referenced this pull request Oct 12, 2020
    * Adding Microsoft.AzureData/dataControllers (mostly a copy of Microsoft.AzureData/hybridDataManagers)
    
    * Fixing issue.
    
    * Fixed response body
    
    * Use camelCase style
    
    * Updated DataControllerResource
    
    * Removed invalid format
    
    * Adding sqlManagedInstances
    
    * Added simple comment.
    
    * Adding default responses
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    5 participants