Share via


SqlManagementClient Class

 

This is the main client class for interacting with the Azure SQL Database REST APIs.

Namespace:   Microsoft.WindowsAzure.Management.Sql
Assembly:  Microsoft.WindowsAzure.Management.Sql (in Microsoft.WindowsAzure.Management.Sql.dll)

Inheritance Hierarchy

System.Object
  Hyak.Common.ServiceClient<T>
    Microsoft.WindowsAzure.Management.Sql.SqlManagementClient

Syntax

public class SqlManagementClient : ServiceClient<SqlManagementClient>, 
    ISqlManagementClient, IDisposable
public ref class SqlManagementClient : ServiceClient<SqlManagementClient^>, 
    ISqlManagementClient, IDisposable
type SqlManagementClient = 
    class
        inherit ServiceClient<SqlManagementClient>
        interface ISqlManagementClient
        interface IDisposable
    end
Public Class SqlManagementClient
    Inherits ServiceClient(Of SqlManagementClient)
    Implements ISqlManagementClient, IDisposable

Constructors

Name Description
System_CAPS_pubmethod SqlManagementClient()

Initializes a new instance of the SqlManagementClient class.

System_CAPS_pubmethod SqlManagementClient(HttpClient)

Initializes a new instance of the SqlManagementClient class.

System_CAPS_pubmethod SqlManagementClient(SubscriptionCloudCredentials)

Initializes a new instance of the SqlManagementClient class.

System_CAPS_pubmethod SqlManagementClient(SubscriptionCloudCredentials, HttpClient)

Initializes a new instance of the SqlManagementClient class.

System_CAPS_pubmethod SqlManagementClient(SubscriptionCloudCredentials, Uri)

Initializes a new instance of the SqlManagementClient class.

System_CAPS_pubmethod SqlManagementClient(SubscriptionCloudCredentials, Uri, HttpClient)

Initializes a new instance of the SqlManagementClient class.

Properties

Name Description
System_CAPS_pubproperty ApiVersion

Gets the API version.

System_CAPS_pubproperty BaseUri

The URI used as the base for all SQL requests.

System_CAPS_pubproperty Credentials

When you create an Azure subscription, it is uniquely identified by a subscription ID. The subscription ID forms part of the URI for every call that you make to the Service Management API. The Azure Service ManagementAPIs use mutual authentication of management certificates over SSL to ensure that a request made to the service is secure. No anonymous requests are allowed.

System_CAPS_pubproperty Dac

Includes operations for importing and exporting Azure SQL Databases into and out of Azure blob storage.

System_CAPS_pubproperty DatabaseCopies

Represents the SQL Database Management API includes operations for managing SQL Server database copies for a subscription.

System_CAPS_pubproperty DatabaseOperations

The Azure SQL Database Management API includes operations for getting database operations. Specifically, this API allows you to get a specific operation, or to list all the operations that happened on a specific database or on all databases in the Azure SQL Database Server.

System_CAPS_pubproperty Databases

Represents all the operations for operating on Azure SQL Databases. Contains operations to: Create, Retrieve, Update, and Delete databases, and also includes the ability to get the event logs for a database.

System_CAPS_pubproperty FirewallRules

The Azure SQL Database Management API includes operations for managing the server-level Firewall Rules for Azure SQL Database Servers. You cannot manage the database-level firewall rules using the Azure SQL Database Management API; they can only be managed by running the Transact-SQL statements against the master or individual user databases.

System_CAPS_pubproperty HttpClient

(Inherited from ServiceClient<T>.)

System_CAPS_protproperty HttpMessageHandler

(Inherited from ServiceClient<T>.)

System_CAPS_pubproperty LongRunningOperationInitialTimeout

Gets or sets the initial timeout for Long Running Operations.

System_CAPS_pubproperty LongRunningOperationRetryTimeout

Gets or sets the retry timeout for Long Running Operations.

System_CAPS_pubproperty Quotas

The Azure SQL Database Management API includes operations for getting Azure SQL Database Server quotas. Specifically, using the APIs you can get a specific quota or list all of the quotas for the Azure SQL Database Server.

System_CAPS_pubproperty RecoverableDatabases

Contains operations for getting Azure SQL Databases that can be recovered.

System_CAPS_pubproperty RecoverDatabaseOperations

Contains the operation to create recovery requests for Azure SQL Databases.

System_CAPS_pubproperty RestorableDroppedDatabases

Contains operations for getting dropped Azure SQL Databases that can be restored.

System_CAPS_pubproperty RestoreDatabaseOperations

Contains the operation to create restore requests for Azure SQL Databases.

System_CAPS_pubproperty Servers

Contains methods to allow various operations on Azure SQL Database Servers.

System_CAPS_pubproperty ServiceObjectives

This class provides methods to get a specific service objective by using its ID or to List all of the service objectives on a server.

System_CAPS_pubproperty UserAgent

(Inherited from ServiceClient<T>.)

Methods

Name Description
System_CAPS_pubmethod AddHandlerToPipeline(DelegatingHandler)

(Inherited from ServiceClient<T>.)

System_CAPS_protmethod Clone(ServiceClient<SqlManagementClient>)

Clones properties from current instance to another SqlManagementClient instance(Overrides ServiceClient<T>.Clone(ServiceClient<T>).)

System_CAPS_pubmethod Dispose()

(Inherited from ServiceClient<T>.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetHttpPipeline()

(Inherited from ServiceClient<T>.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod InitializeHttpClient(HttpMessageHandler)

(Inherited from ServiceClient<T>.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod SetRetryPolicy(RetryPolicy)

(Inherited from ServiceClient<T>.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod WithHandler(DelegatingHandler)

(Inherited from ServiceClient<T>.)

System_CAPS_protmethod WithHandler(ServiceClient<T>, DelegatingHandler)

(Inherited from ServiceClient<T>.)

System_CAPS_pubmethod WithHandlers(IEnumerable<DelegatingHandler>)

(Inherited from ServiceClient<T>.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.WindowsAzure.Management.Sql Namespace

Return to top