use of com.microsoft.azure.toolkit.lib.sqlserver.SqlServerConfig in project azure-tools-for-java by Microsoft.
the class SqlServerCreationDialog method createUIComponents.
private void createUIComponents() {
List<Subscription> selectedSubscriptions = Azure.az(AzureAccount.class).account().getSelectedSubscriptions();
Preconditions.checkArgument(CollectionUtils.isNotEmpty(selectedSubscriptions), "There is no subscription in your account.");
SqlServerConfig config = SqlServerConfig.getDefaultConfig(selectedSubscriptions.get(0));
basic = new SqlServerCreationBasicPanel(config);
advanced = new SqlServerCreationAdvancedPanel(config);
}
use of com.microsoft.azure.toolkit.lib.sqlserver.SqlServerConfig in project azure-tools-for-java by microsoft.
the class SqlServerCreationDialog method createUIComponents.
private void createUIComponents() {
List<Subscription> selectedSubscriptions = Azure.az(AzureAccount.class).account().getSelectedSubscriptions();
Preconditions.checkArgument(CollectionUtils.isNotEmpty(selectedSubscriptions), "There is no subscription in your account.");
SqlServerConfig config = SqlServerConfig.getDefaultConfig(selectedSubscriptions.get(0));
basic = new SqlServerCreationBasicPanel(config);
advanced = new SqlServerCreationAdvancedPanel(config);
}
Aggregations