Freigeben über


SqlServerManager Class

public class SqlServerManager
extends Manager<SqlManagementClient>

Entry point to Azure SQLServer resource management.

Constructor Summary

Modifier Constructor Description
protected SqlServerManager(HttpPipeline httpPipeline, AzureProfile profile)

Creates a new instance of SqlServerManager.

Method Summary

Modifier and Type Method and Description
static SqlServerManager authenticate(TokenCredential credential, AzureProfile profile)

Creates an instance of SqlServer that exposes Compute resource management API entry points.

static SqlServerManager authenticate(HttpPipeline httpPipeline, AzureProfile profile)

Creates an instance of SqlServer that exposes Compute resource management API entry points.

static Configurable configure()

Get a Configurable instance that can be used to create SqlServer with optional configuration.

SqlServers sqlServers()
StorageManager storageManager()
String tenantId()

Get the tenant ID value.

Methods inherited from Manager

Methods inherited from java.lang.Object

Constructor Details

SqlServerManager

protected SqlServerManager(HttpPipeline httpPipeline, AzureProfile profile)

Creates a new instance of SqlServerManager.

Parameters:

httpPipeline - The HttpPipeline to use.
profile - The AzureProfile to use.

Method Details

authenticate

public static SqlServerManager authenticate(TokenCredential credential, AzureProfile profile)

Creates an instance of SqlServer that exposes Compute resource management API entry points.

Parameters:

credential - the credential to use
profile - the profile to use

Returns:

the SqlServer

authenticate

public static SqlServerManager authenticate(HttpPipeline httpPipeline, AzureProfile profile)

Creates an instance of SqlServer that exposes Compute resource management API entry points.

Parameters:

httpPipeline - the HttpPipeline configured with Azure authentication credential.
profile - the profile to use

Returns:

the SqlServer

configure

public static SqlServerManager.Configurable configure()

Get a Configurable instance that can be used to create SqlServer with optional configuration.

Returns:

Configurable

sqlServers

public SqlServers sqlServers()

Returns:

the SQL Server management API entry point

storageManager

public StorageManager storageManager()

Returns:

the storage manager in sql manager

tenantId

public String tenantId()

Get the tenant ID value.

Returns:

the tenant ID value

Applies to