Package com.azure.resourcemanager.sql
Class SqlServerManager
java.lang.Object
com.azure.resourcemanager.resources.fluentcore.arm.Manager<SqlManagementClient>
com.azure.resourcemanager.sql.SqlServerManager
- All Implemented Interfaces:
HasServiceClient<SqlManagementClient>
Entry point to Azure SQLServer resource management.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceThe interface allowing configurations to be set. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSqlServerManager(com.azure.core.http.HttpPipeline httpPipeline, com.azure.core.management.profile.AzureProfile profile) Creates a new instance ofSqlServerManager. -
Method Summary
Modifier and TypeMethodDescriptionstatic SqlServerManagerauthenticate(com.azure.core.credential.TokenCredential credential, com.azure.core.management.profile.AzureProfile profile) Creates an instance of SqlServer that exposes Compute resource management API entry points.static SqlServerManagerauthenticate(com.azure.core.http.HttpPipeline httpPipeline, com.azure.core.management.profile.AzureProfile profile) Creates an instance of SqlServer that exposes Compute resource management API entry points.Get a Configurable instance that can be used to create SqlServer with optional configuration.tenantId()Get the tenant ID value.Methods inherited from class com.azure.resourcemanager.resources.fluentcore.arm.Manager
environment, httpPipeline, resourceManager, serviceClient, subscriptionId, withResourceManager
-
Constructor Details
-
SqlServerManager
protected SqlServerManager(com.azure.core.http.HttpPipeline httpPipeline, com.azure.core.management.profile.AzureProfile profile) Creates a new instance ofSqlServerManager.- Parameters:
httpPipeline- The HttpPipeline to use.profile- The AzureProfile to use.
-
-
Method Details
-
storageManager
- Returns:
- the storage manager in sql manager
-
configure
Get a Configurable instance that can be used to create SqlServer with optional configuration.- Returns:
- Configurable
-
authenticate
public static SqlServerManager authenticate(com.azure.core.credential.TokenCredential credential, com.azure.core.management.profile.AzureProfile profile) Creates an instance of SqlServer that exposes Compute resource management API entry points.- Parameters:
credential- the credential to useprofile- the profile to use- Returns:
- the SqlServer
-
authenticate
public static SqlServerManager authenticate(com.azure.core.http.HttpPipeline httpPipeline, com.azure.core.management.profile.AzureProfile profile) Creates an instance of SqlServer that exposes Compute resource management API entry points.- Parameters:
httpPipeline- theHttpPipelineconfigured with Azure authentication credential.profile- the profile to use- Returns:
- the SqlServer
-
sqlServers
- Returns:
- the SQL Server management API entry point
-
tenantId
Get the tenant ID value.- Returns:
- the tenant ID value
-