SqlServers Interface

public interface SqlServers extends SupportsCreating<SqlServer.DefinitionStages.Blank>,SupportsListing,SupportsListingByResourceGroup,SupportsGettingByResourceGroup,SupportsGettingById,SupportsDeletingById,SupportsDeletingByResourceGroup,SupportsBatchCreation,SupportsBatchDeletion,HasManager,HasInner,SupportsCreating<SqlServer.DefinitionStages.Blank>,SupportsListing,SupportsListingByResourceGroup,SupportsGettingByResourceGroup,SupportsGettingById,SupportsDeletingById,SupportsDeletingByResourceGroup,SupportsBatchCreation,SupportsBatchDeletion,HasManager,HasInner

Entry point to SQL Server management API.

Method Summary

Modifier and Type Method and Description
CheckNameAvailabilityResult checkNameAvailability(String name)

Checks if the specified container registry name is valid and available.

Observable<CheckNameAvailabilityResult> checkNameAvailabilityAsync(String name)

Checks if container registry name is valid and is not in use asynchronously.

SqlDatabaseOperations databases()
SqlServerDnsAliasOperations dnsAliases()
SqlElasticPoolOperations elasticPools()
SqlEncryptionProtectorOperations encryptionProtectors()
SqlFailoverGroupOperations failoverGroups()
SqlFirewallRuleOperations firewallRules()
RegionCapabilities getCapabilitiesByRegion(Region region)

Gets the Azure SQL server capabilities for a given Azure region.

Observable<RegionCapabilities> getCapabilitiesByRegionAsync(Region region)

Gets the Azure SQL server capabilities for a given Azure region asynchronously.

List<SqlSubscriptionUsageMetric> listUsageByRegion(Region region)

Lists the Azure SQL server usages for a given Azure region.

Observable<SqlSubscriptionUsageMetric> listUsageByRegionAsync(Region region)

Lists the Azure SQL server usages for a given Azure region asynchronously.

SqlServerKeyOperations serverKeys()
SqlServerSecurityAlertPolicyOperations serverSecurityAlertPolicies()
SqlSyncGroupOperations syncGroups()
SqlSyncMemberOperations syncMembers()
SqlVirtualNetworkRuleOperations virtualNetworkRules()

Inherited Members

SupportsBatchCreation<ResourceT>.create(Creatable<ResourceT>... creatables) SupportsBatchCreation<ResourceT>.create(List<Creatable<ResourceT>> creatables) SupportsBatchCreation<ResourceT>.createAsync(Creatable<ResourceT>... creatables) SupportsBatchCreation<ResourceT>.createAsync(List<Creatable<ResourceT>> creatables) SupportsBatchCreation<ResourceT>.createAsync(ServiceCallback<CreatedResources<ResourceT>> callback, Creatable<ResourceT>... creatables) SupportsBatchCreation<ResourceT>.createAsync(final ServiceCallback<CreatedResources<ResourceT>> callback, List<Creatable<ResourceT>> creatables) SupportsCreating<T>.define(String name) SupportsDeletingById.deleteById(String id) SupportsDeletingById.deleteByIdAsync(String id, ServiceCallback<Void> callback) SupportsDeletingById.deleteByIdAsync(String id) SupportsBatchDeletion.deleteByIds(Collection<String> ids) SupportsBatchDeletion.deleteByIds(String...ids) SupportsBatchDeletion.deleteByIdsAsync(Collection<String> ids) SupportsBatchDeletion.deleteByIdsAsync(String...ids) SupportsDeletingByResourceGroup.deleteByResourceGroup(String resourceGroupName, String name) SupportsDeletingByResourceGroup.deleteByResourceGroupAsync(String resourceGroupName, String name, ServiceCallback<Void> callback) SupportsDeletingByResourceGroup.deleteByResourceGroupAsync(String resourceGroupName, String name) SupportsGettingById<T>.getById(String id) SupportsGettingById<T>.getByIdAsync(String id) SupportsGettingById<T>.getByIdAsync(String id, ServiceCallback<T> callback) SupportsGettingByResourceGroup<T>.getByResourceGroup(String resourceGroupName, String name) SupportsGettingByResourceGroup<T>.getByResourceGroupAsync(String resourceGroupName, String name) SupportsGettingByResourceGroup<T>.getByResourceGroupAsync(String resourceGroupName, String name, ServiceCallback<T> callback) HasInner<T>.inner() SupportsListing<T>.list() SupportsListing<T>.listAsync() SupportsListingByResourceGroup<T>.listByResourceGroup(String resourceGroupName) SupportsListingByResourceGroup<T>.listByResourceGroupAsync(String resourceGroupName) HasManager<ManagerT>.manager()

Method Details

checkNameAvailability

public CheckNameAvailabilityResult checkNameAvailability(String name)

Checks if the specified container registry name is valid and available.

Parameters:

name - the container registry name to check

Returns:

whether the name is available and other info if not

checkNameAvailabilityAsync

public Observable checkNameAvailabilityAsync(String name)

Checks if container registry name is valid and is not in use asynchronously.

Parameters:

name - the container registry name to check

Returns:

a representation of the future computation of this call, returning whether the name is available or other info if not

databases

public SqlDatabaseOperations databases()

Returns:

the SQL Server Database API entry point

dnsAliases

public SqlServerDnsAliasOperations dnsAliases()

Returns:

the SQL Server DNS aliases API entry point

elasticPools

public SqlElasticPoolOperations elasticPools()

Returns:

the SQL Server Elastic Pools API entry point

encryptionProtectors

public SqlEncryptionProtectorOperations encryptionProtectors()

Returns:

the SQL Encryption Protector entry point

failoverGroups

public SqlFailoverGroupOperations failoverGroups()

Returns:

the SQL Failover Group API entry point

firewallRules

public SqlFirewallRuleOperations firewallRules()

Returns:

the SQL Server Firewall Rules API entry point

getCapabilitiesByRegion

public RegionCapabilities getCapabilitiesByRegion(Region region)

Gets the Azure SQL server capabilities for a given Azure region.

Parameters:

region - the location to get the Azure SQL server capabilities for

Returns:

the server capabilities object

getCapabilitiesByRegionAsync

public Observable getCapabilitiesByRegionAsync(Region region)

Gets the Azure SQL server capabilities for a given Azure region asynchronously.

Parameters:

region - the location to get the Azure SQL server capabilities for

Returns:

a representation of the future computation of this call, returning the server capabilities object

listUsageByRegion

public List listUsageByRegion(Region region)

Lists the Azure SQL server usages for a given Azure region.

Parameters:

region - the location to get the Azure SQL server usages for

Returns:

the SQL usage object

listUsageByRegionAsync

public Observable listUsageByRegionAsync(Region region)

Lists the Azure SQL server usages for a given Azure region asynchronously.

Parameters:

region - the location to get the Azure SQL server usages for

Returns:

a representation of the future computation of this call, returning the server usages object

serverKeys

public SqlServerKeyOperations serverKeys()

Returns:

the SQL Server Key entry point

serverSecurityAlertPolicies

public SqlServerSecurityAlertPolicyOperations serverSecurityAlertPolicies()

Returns:

entry point to manage SQL Server Security Alert Policy

syncGroups

public SqlSyncGroupOperations syncGroups()

Returns:

the SQL Sync Group entry point

syncMembers

public SqlSyncMemberOperations syncMembers()

Returns:

the SQL Sync Group entry point

virtualNetworkRules

public SqlVirtualNetworkRuleOperations virtualNetworkRules()

Returns:

the SQL Server VirtualNetwork Rules API entry point

Applies to