-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Restructure Analysis Services dataplane cmdlets to use Az module login. #8900
Merged
cormacpayne
merged 45 commits into
Azure:release-2019-04-09
from
pychuang:gabriel-az-restructure
Apr 3, 2019
Merged
Restructure Analysis Services dataplane cmdlets to use Az module login. #8900
cormacpayne
merged 45 commits into
Azure:release-2019-04-09
from
pychuang:gabriel-az-restructure
Apr 3, 2019
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Remove username/password authentication. Get login credentials from Az module, instead of AddAzureASAccount. This is currently a work in progress.
-pt2 resolving conflicts # Conflicts: # src/AnalysisServices/AnalysisServices.Dataplane/Commands/AddAzureASAccount.cs # src/AnalysisServices/AnalysisServices.Dataplane/Models/ASAzureContext.cs # src/AnalysisServices/AnalysisServices.Dataplane/Models/AsAzureAccount.cs # src/AnalysisServices/AnalysisServices.Dataplane/Models/AsAzureAuthenticationProvider.cs # src/AnalysisServices/AnalysisServices.Dataplane/Models/AsAzureClientSession.cs # src/AnalysisServices/AnalysisServices.Dataplane/Models/AsAzureEndpoints.cs # src/AnalysisServices/AnalysisServices.Dataplane/Models/AsAzureProfile.cs # src/AnalysisServices/AnalysisServices.Test/InMemoryTests/AddAzureASAccountTests.cs # src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/Models/AsAzureAccount.cs
Remove unnecessary BeginProcessing() methods in child classes.
…o longer a partial class. Changed organizational #region name to include CallGet and CallPost method overloads. Remove unused code in SendRequestAsync().
Add null check for Instance field.
…it is not used in any other derived classes.
Remove unnecessary BaseUri public set in AsAzureDataplaneClient. Remove unused argument parameterizedBaseUri in method AsAzureDataplaneCmdletBase.CreateAsAzureDataplaneClient().
It is no longer needed, since the cmdlet is now called with the full server name. Move public field DefaultRetryIntervalForPolling below private fields.
…StyleCop guidelines.
# Conflicts: # src/AnalysisServices/AnalysisServices.Dataplane/Commands/AddAzureASAccount.cs
Added aliases to ConnectAzureRmAccount.cs to replace AddAzureASAccount.cs. Fixed documentation to include parameters which were moved to a base class.
…esEndpoint Since the Endpoint Suffix is not used for anything else, it can be ommitted. This will also help simplify the code paths.
gnair-ms
reviewed
Apr 2, 2019
src/AnalysisServices/AnalysisServices.Dataplane/Commands/AddAzureASAccount.cs
Outdated
Show resolved
Hide resolved
Need to test the cmdlets with ":rw" in instance name |
Tested. Sync works. |
markcowl
requested changes
Apr 2, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one minor change, otherwise lgtm
markcowl
approved these changes
Apr 2, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Checklist
CONTRIBUTING.md
platyPS
module