Skip to content

Fix Azure roll-up to return Azure object#684

Merged
anuchandy merged 1 commit into
Azure:masterfrom
jianghaolu:master
May 6, 2016
Merged

Fix Azure roll-up to return Azure object#684
anuchandy merged 1 commit into
Azure:masterfrom
jianghaolu:master

Conversation

@jianghaolu

@jianghaolu jianghaolu commented May 6, 2016

Copy link
Copy Markdown
Contributor
  1. Since management clients are "built", I create them on Azure(), ResourceManager(), etc constructors instead.
  2. Use same pattern in Azure as ResourceManager as
Azure.Authenticated azureAuthed = Azure.configure()
        .withLogLevel(HttpLoggingInterceptor.Level.BASIC)
        .withUserAgent("AzureTests")
        .authenticate(credentials);
Subscriptions subscriptions = azureAuthed.subscriptions();
Azure azure = azureAuthed.withSubscription(subscriptionId);
  1. Per discussion, turning Configurable to static nested classes.
  2. Removed unnecessary generic type on ResourceConnector.

@anuchandy
anuchandy merged commit 1241570 into Azure:master May 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants