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

[Batch] Fix managed identity support on the data plane #23164

Merged
merged 4 commits into from
Aug 11, 2021

Conversation

dpwatrous
Copy link
Member

@dpwatrous dpwatrous commented Aug 6, 2021

All SDK Contribution checklist:

This checklist is used to make sure that common guidelines for a pull request are followed.

  • Please open PR in Draft mode if it is:
    • Work in progress or not intended to be merged.
    • Encountering multiple pipeline failures and working on fixes.
  • If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
  • I have read the contribution guidelines.
  • The pull request does not introduce breaking changes.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

SDK Generation Guidelines

  • The generate.cmd file for the SDK has been updated with the version of AutoRest, as well as the commitid of your swagger spec or link to the swagger spec, used to generate the code. (Track 2 only)
  • The *.csproj and AssemblyInfo.cs files have been updated with the new version of the SDK. Please double check nuget.org current release version.

Additional management plane SDK specific contribution checklist:

Note: Only applies to Microsoft.Azure.Management.[RP] or Azure.ResourceManager.[RP]

  • Include updated management metadata.
  • Update AzureRP.props to add/remove version info to maintain up to date API versions.

Management plane SDK Troubleshooting

  • If this is very first SDK for a services and you are adding new service folders directly under /SDK, please add new service label and/or contact assigned reviewer.

  • If the check fails at the Verify Code Generation step, please ensure:

    • Do not modify any code in generated folders.
    • Do not selectively include/remove generated files in the PR.
    • Do use generate.ps1/cmd to generate this PR instead of calling autorest directly.
      Please pay attention to the @microsoft.csharp version output after running generate.ps1. If it is lower than current released version (2.3.82), please run it again as it should pull down the latest version.

    Note: We have recently updated the PSH module called by generate.ps1 to emit additional data. This would help reduce/eliminate the Code Verification check error. Please run following command:

      `dotnet msbuild eng/mgmt.proj /t:Util /p:UtilityName=InstallPsModules`
    

Old outstanding PR cleanup

Please note:
If PRs (including draft) has been out for more than 60 days and there are no responses from our query or followups, they will be closed to maintain a concise list for our reviewers.

@ghost ghost added the Batch label Aug 6, 2021
@dpwatrous dpwatrous changed the title Dpwatrous/batch dataplane fixes [Batch] Fix managed identity support on the data plane Aug 6, 2021
@dpwatrous
Copy link
Member Author

dpwatrous commented Aug 6, 2021

Looking to release an updated data plane as version 15.1.0.

@dpwatrous
Copy link
Member Author

The main issue this PR addresses is the lack of identity support in the convenience layer. The swagger and autorest models were generated correctly, but the layer on top of that did not provide methods to use identities.

@staer
Copy link

staer commented Aug 6, 2021

looks good to me

@dpwatrous dpwatrous force-pushed the dpwatrous/batch-dataplane-fixes branch from fe8af43 to 3c074d2 Compare August 6, 2021 20:58
@dpwatrous dpwatrous marked this pull request as ready for review August 7, 2021 02:24
@dpwatrous dpwatrous force-pushed the dpwatrous/batch-dataplane-fixes branch from b95b13e to 75c517b Compare August 7, 2021 11:28
@dpwatrous dpwatrous force-pushed the dpwatrous/batch-dataplane-fixes branch from 75c517b to 5affa87 Compare August 7, 2021 11:28
Avoided fixing any spelling mistakes which would cause backwards compat issues
@dpwatrous
Copy link
Member Author

@chidozieononiwu @danieljurek @weshaggard

Does one of you want to take a look at this to make sure it's good to release as 15.1.0? Not sure what the etiquette is on SDK team reviews for minor version data plane releases.

@weshaggard
Copy link
Member

The versioning changes look correct to me.

@dpwatrous
Copy link
Member Author

Thanks, @weshaggard!

@dpwatrous dpwatrous merged commit 6169e89 into main Aug 11, 2021
@dpwatrous dpwatrous deleted the dpwatrous/batch-dataplane-fixes branch August 11, 2021 20:25
azure-sdk pushed a commit to azure-sdk/azure-sdk-for-net that referenced this pull request Apr 18, 2023
Release machinelearningservices microsoft.machine learning services 2023 04 01 (Azure#23450)

* Adds base for updating Microsoft.MachineLearningServices from version stable/2022-10-01 to version 2023-04-01

* Updates readme

* Updates API version in new specs and examples

* [Stable] Bring Back schedule shutdown MLC models (Azure#23039)

* bring back schedule shutdown MLC models

* add description

---------

Co-authored-by: Naman Agarwal <naagarw@microsoft.com>

* add minLength:1 prop to required strings (Azure#23109)

* [Stable] Add IdleShutdown properties and api (Azure#23042)

* [Stable] Add IdleShutdown properties and api

* update version

* remove api to update IdleShutdownSetting

* Delete example

---------

Co-authored-by: Naman Agarwal <naagarw@microsoft.com>

* Pushing new features in stable swagger (Azure#23071)

* Pushing new features in stable swagger

* Added example file

* Triggering retest

* Fixed version issue

* Triggering retest

* Removing OS Patching

* Changes as per feedback, and add os patching back

* Fix formatting

* Removed Custom Service Update API

* Fixed Example Files

* Added as per review comments

* Added as per review comments

* Retrigger test

---------

Co-authored-by: Srivatsa Sinha <srsinha@microsoft.com>

* Add Registries 2023-04-01 Swagger (Azure#23085)

* add swagger + examples

* fix readme

* fix readme

* switching to autogenerated registries swagger

* fix spellcheck

* update ga examples

* previous API version for comparison = 2023-02-01-preview

* new API version for comparison = 2023-04-01

* update examples

* update swagger, examples to fix pr gates

* fix lint diff errors

* delete should have a 202 response, update createorupdate examples, fix removeRegions operation

* removeRegions -> LRO POST operation

* fix LRO options on removeRegions

* add registryNameParamert

* update swagger

* update

* PATCH property should have sku, identity properties

* fix example

---------

Co-authored-by: Komal Yadav <komalyadav@microsoft.com>

* MFE April 2023 staging (Azure#23164)

* add latest mfe.json

* updated examples

* add wasbs to known words

* swap pendingupload to proper naming

* align RPs on Azure Machine Learning Services

* rename pendingUpload to verb: startPendingUpload

* remove trailing slash startpendingupload

* improve descriptions

* add pattern to all resource name types + examples

* update original-uri -> azure-async-operation

* remove wasbs and mark credential usage as secret

* test is changing all to azure-async-operation causes breaking change

* the code is implemented where the original-uri is where you will find the final object post-polling

* update examples to remove wasbsUri

* reference registries instead for RegistryName

* remove wasbs

* original-uri -> azure-async-operation

* update examples to empty secrets

* CreateOrUpdatePendingUpload -> CreateOrUpdateStartPendingUpload

* add pattern for workspaceName

* x-ms-secret on the SASUri

* switch back to original-uri given update from auto-rest folks

---------

Co-authored-by: Kayla Ames <kaseager@microsoft.com>

* update compute examples to ReadOnly

* v5->v3

* PartialManagedServiceIdentity -> RegistryPartialManagedServiceIdentity

* update ID for delete/cancel job/schedule location header

* PrivateEndpointConnection -> RegistryPrivateEndpointConnection

* more renames for Registry

* align mlc with arm

* update registry examples

* update registryPrivateLinkServiceConnectionState in examples

* update description arm id for registryPrivateEndpointConnections

* update to preview

---------

Co-authored-by: Naman Agarwal <namanag16@gmail.com>
Co-authored-by: Naman Agarwal <naagarw@microsoft.com>
Co-authored-by: Teddy Todorov <thtodoro@microsoft.com>
Co-authored-by: srivatsasinha <102133347+srivatsasinha@users.noreply.github.com>
Co-authored-by: Srivatsa Sinha <srsinha@microsoft.com>
Co-authored-by: Komal Yadav <23komal.yadav23@gmail.com>
Co-authored-by: Komal Yadav <komalyadav@microsoft.com>
Co-authored-by: Kayla Ames <kaseager@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants