Partager via


SqlServers Interface

Implements

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

Entry point to SQL Server management API.

Method Summary

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

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

abstract Mono<CheckNameAvailabilityResult> checkNameAvailabilityAsync(String name)

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

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

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

abstract Mono<RegionCapabilities> getCapabilitiesByRegionAsync(Region region)

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

abstract List<SqlSubscriptionUsageMetric> listUsageByRegion(Region region)

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

abstract PagedFlux<SqlSubscriptionUsageMetric> listUsageByRegionAsync(Region region)

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

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

Method Details

checkNameAvailability

public abstract 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 abstract Mono 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 abstract SqlDatabaseOperations databases()

Returns:

the SQL Server Database API entry point

dnsAliases

public abstract SqlServerDnsAliasOperations dnsAliases()

Returns:

the SQL Server DNS aliases API entry point

elasticPools

public abstract SqlElasticPoolOperations elasticPools()

Returns:

the SQL Server Elastic Pools API entry point

encryptionProtectors

public abstract SqlEncryptionProtectorOperations encryptionProtectors()

Returns:

the SQL Encryption Protector entry point

failoverGroups

public abstract SqlFailoverGroupOperations failoverGroups()

Returns:

the SQL Failover Group API entry point

firewallRules

public abstract SqlFirewallRuleOperations firewallRules()

Returns:

the SQL Server Firewall Rules API entry point

getCapabilitiesByRegion

public abstract 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 abstract Mono 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 abstract 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 abstract PagedFlux 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 abstract SqlServerKeyOperations serverKeys()

Returns:

the SQL Server Key entry point

serverSecurityAlertPolicies

public abstract SqlServerSecurityAlertPolicyOperations serverSecurityAlertPolicies()

Returns:

entry point to manage SQL Server Security Alert Policy

syncGroups

public abstract SqlSyncGroupOperations syncGroups()

Returns:

the SQL Sync Group entry point

syncMembers

public abstract SqlSyncMemberOperations syncMembers()

Returns:

the SQL Sync Group entry point

virtualNetworkRules

public abstract SqlVirtualNetworkRuleOperations virtualNetworkRules()

Returns:

the SQL Server VirtualNetwork Rules API entry point

Applies to