ISqlServer Interface

Definition

An immutable client-side representation of an Azure SQL Server.

public interface ISqlServer : Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IGroupableResource<Microsoft.Azure.Management.Sql.Fluent.ISqlManager,Microsoft.Azure.Management.Sql.Fluent.Models.ServerInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.Sql.Fluent.Models.ServerInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasManager<Microsoft.Azure.Management.Sql.Fluent.ISqlManager>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IRefreshable<Microsoft.Azure.Management.Sql.Fluent.ISqlServer>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IUpdatable<Microsoft.Azure.Management.Sql.Fluent.SqlServer.Update.IUpdate>
type ISqlServer = interface
    interface IBeta
    interface IGroupableResource<ISqlManager, ServerInner>
    interface IResource
    interface IIndexable
    interface IHasId
    interface IHasName
    interface IHasResourceGroup
    interface IHasManager<ISqlManager>
    interface IHasInner<ServerInner>
    interface IRefreshable<ISqlServer>
    interface IUpdatable<IUpdate>
Public Interface ISqlServer
Implements IBeta, IGroupableResource(Of ISqlManager, ServerInner), IHasInner(Of ServerInner), IHasManager(Of ISqlManager), IRefreshable(Of ISqlServer), IUpdatable(Of IUpdate)
Implements

Properties

AdministratorLogin

Gets the administrator login user name for the SQL Server.

Databases

Gets entry point to manage Databases for this SQL server.

DnsAliases

Gets returns entry point to manage SQL Server DNS aliases for this server.

ElasticPools

Gets returns entry point to manage the SQL Elastic Pools for this server.

EncryptionProtectors

Gets returns entry point to manage SQL Encryption Protector for this server.

FailoverGroups

Gets returns entry point to manage SQL Failover Group for this server.

FirewallRules

Gets returns entry point to manage SQL Firewall rules for this server.

FullyQualifiedDomainName

Gets fully qualified name of the SQL Server.

Id

Gets the resource id string

(Inherited from IHasId)
Inner (Inherited from IHasInner<T>)
IsManagedServiceIdentityEnabled

Gets true if Managed Service Identity is enabled for the SQL server.

Key (Inherited from IIndexable)
Kind

Gets the SQL Server "kind".

ManagedServiceIdentityType

Gets the type of Managed Service Identity used for the SQL server.

Manager

Gets the manager client type of this resource type.

(Inherited from IHasManager<ManagerT>)
Name

Gets the name of the resource

(Inherited from IHasName)
Region (Inherited from IResource)
RegionName (Inherited from IResource)
ResourceGroupName (Inherited from IHasResourceGroup)
ServerKeys

Gets returns entry point to manage SQL Server Keys for this server.

State

Gets the state of the server.

SystemAssignedManagedServiceIdentityPrincipalId

Gets the System Assigned (Local) Managed Service Identity specific Active Directory service principal ID assigned to the SQL server.

SystemAssignedManagedServiceIdentityTenantId

Gets the System Assigned (Local) Managed Service Identity specific Active Directory tenant ID assigned to the SQL server.

Tags (Inherited from IResource)
Type (Inherited from IResource)
Version

Gets the SQL Server version.

VirtualNetworkRules

Gets returns entry point to manage SQL Virtual Network Rule for this server.

Methods

EnableAccessFromAzureServices()

Sets the Azure services default access to this server to true. A firewall rule named "AllowAllWindowsAzureIps" with the start IP "0.0.0.0" will be added to the SQL server if one does not exist.

GetActiveDirectoryAdministrator()

Gets the Active Directory administrator for this server.

GetServerAutomaticTuning()

Gets a SQL server automatic tuning state and options.

GetServiceObjective(String)

Gets the information on a particular Sql Server Service Objective.

ListRecommendedElasticPools()

Returns all the recommended elastic pools for the server.

ListRestorableDroppedDatabases()
ListRestorableDroppedDatabasesAsync(CancellationToken)
ListServiceObjectives()
ListUsageMetrics()
ListUsages()
Refresh()

Refreshes the resource to sync with Azure.

(Inherited from IRefreshable<T>)
RefreshAsync(CancellationToken)

Refreshes the resource to sync with Azure.

(Inherited from IRefreshable<T>)
RemoveAccessFromAzureServices()

Sets the Azure services default access to this server to false. The firewall rule named "AllowAllWindowsAzureIps" will be removed from the SQL server.

RemoveActiveDirectoryAdministrator()

Removes the Active Directory administrator from this server.

SetActiveDirectoryAdministrator(String, String)

Sets an Active Directory administrator to this server. Azure Active Directory authentication allows you to centrally manage identity and access to your Azure SQL Database V12.

Update() (Inherited from IUpdatable<T>)

Applies to