Java Code Examples for com.microsoft.azure.management.sql.SqlServer#regionName()
The following examples show how to use
com.microsoft.azure.management.sql.SqlServer#regionName() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SqlElasticPoolImpl.java From azure-libraries-for-java with MIT License | 5 votes |
@Override public SqlElasticPoolImpl withExistingSqlServer(SqlServer sqlServer) { this.resourceGroupName = sqlServer.resourceGroupName(); this.sqlServerName = sqlServer.name(); this.sqlServerLocation = sqlServer.regionName(); return this; }
Example 2
Source File: SqlDatabaseImpl.java From azure-libraries-for-java with MIT License | 5 votes |
@Override public SqlDatabaseImpl withExistingSqlServer(SqlServer sqlServer) { Objects.requireNonNull(sqlServer); this.resourceGroupName = sqlServer.resourceGroupName(); this.sqlServerName = sqlServer.name(); this.sqlServerLocation = sqlServer.regionName(); return this; }
Example 3
Source File: SqlFailoverGroupImpl.java From azure-libraries-for-java with MIT License | 5 votes |
@Override public SqlFailoverGroupImpl withExistingSqlServer(SqlServer sqlServer) { Objects.requireNonNull(sqlServer); this.resourceGroupName = sqlServer.resourceGroupName(); this.sqlServerName = sqlServer.name(); this.sqlServerLocation = sqlServer.regionName(); return this; }