DatabaseExtensions Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. models. DatabaseExtensions
- com.
- com.
public final class DatabaseExtensions
extends ProxyResource
An Import, Export, or PolybaseImport resource.
Constructor Summary
| Constructor | Description |
|---|---|
| DatabaseExtensions() |
Creates an instance of Database |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
administratorLogin()
Get the administrator |
| String |
administratorLoginPassword()
Get the administrator |
| String |
authenticationType()
Get the authentication |
| String |
databaseEdition()
Get the database |
|
static
Database |
fromJson(JsonReader jsonReader)
Reads an instance of Database |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
maxSizeBytes()
Get the max |
| String |
name()
Get the name property: The name of the resource. |
|
Network |
networkIsolation()
Get the network |
|
Operation |
operationMode()
Get the operation |
| String |
serviceObjectiveName()
Get the service |
| String |
storageKey()
Get the storage |
|
Storage |
storageKeyType()
Get the storage |
| String |
storageUri()
Get the storage |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Database |
withAdministratorLogin(String administratorLogin)
Set the administrator |
|
Database |
withAdministratorLoginPassword(String administratorLoginPassword)
Set the administrator |
|
Database |
withAuthenticationType(String authenticationType)
Set the authentication |
|
Database |
withDatabaseEdition(String databaseEdition)
Set the database |
|
Database |
withMaxSizeBytes(String maxSizeBytes)
Set the max |
|
Database |
withNetworkIsolation(NetworkIsolationSettings networkIsolation)
Set the network |
|
Database |
withOperationMode(OperationMode operationMode)
Set the operation |
|
Database |
withServiceObjectiveName(String serviceObjectiveName)
Set the service |
|
Database |
withStorageKey(String storageKey)
Set the storage |
|
Database |
withStorageKeyType(StorageKeyType storageKeyType)
Set the storage |
|
Database |
withStorageUri(String storageUri)
Set the storage |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
DatabaseExtensions
public DatabaseExtensions()
Creates an instance of DatabaseExtensions class.
Method Details
administratorLogin
public String administratorLogin()
Get the administratorLogin property: Administrator login name.
Returns:
administratorLoginPassword
public String administratorLoginPassword()
Get the administratorLoginPassword property: Administrator login password.
Returns:
authenticationType
public String authenticationType()
Get the authenticationType property: Authentication type: SQL authentication or AD password.
Returns:
databaseEdition
public String databaseEdition()
Get the databaseEdition property: Database edition for the newly created database in the case of an import operation.
Returns:
fromJson
public static DatabaseExtensions fromJson(JsonReader jsonReader)
Reads an instance of DatabaseExtensions from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
DatabaseExtensions.id()Returns:
maxSizeBytes
public String maxSizeBytes()
Get the maxSizeBytes property: Database max size in bytes for the newly created database in the case of an import operation.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
DatabaseExtensions.name()Returns:
networkIsolation
public NetworkIsolationSettings networkIsolation()
Get the networkIsolation property: Optional resource information to enable network isolation for request.
Returns:
operationMode
public OperationMode operationMode()
Get the operationMode property: Operation mode of the operation: Import, Export, or PolybaseImport.
Returns:
serviceObjectiveName
public String serviceObjectiveName()
Get the serviceObjectiveName property: Database service level objective for the newly created database in the case of an import operation.
Returns:
storageKey
public String storageKey()
Get the storageKey property: Storage key for the storage account.
Returns:
storageKeyType
public StorageKeyType storageKeyType()
Get the storageKeyType property: Storage key type: StorageAccessKey or SharedAccessKey.
Returns:
storageUri
public String storageUri()
Get the storageUri property: Storage Uri for the storage account.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DatabaseExtensions.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
DatabaseExtensions.type()Returns:
validate
public void validate()
Validates the instance.
withAdministratorLogin
public DatabaseExtensions withAdministratorLogin(String administratorLogin)
Set the administratorLogin property: Administrator login name.
Parameters:
Returns:
withAdministratorLoginPassword
public DatabaseExtensions withAdministratorLoginPassword(String administratorLoginPassword)
Set the administratorLoginPassword property: Administrator login password.
Parameters:
Returns:
withAuthenticationType
public DatabaseExtensions withAuthenticationType(String authenticationType)
Set the authenticationType property: Authentication type: SQL authentication or AD password.
Parameters:
Returns:
withDatabaseEdition
public DatabaseExtensions withDatabaseEdition(String databaseEdition)
Set the databaseEdition property: Database edition for the newly created database in the case of an import operation.
Parameters:
Returns:
withMaxSizeBytes
public DatabaseExtensions withMaxSizeBytes(String maxSizeBytes)
Set the maxSizeBytes property: Database max size in bytes for the newly created database in the case of an import operation.
Parameters:
Returns:
withNetworkIsolation
public DatabaseExtensions withNetworkIsolation(NetworkIsolationSettings networkIsolation)
Set the networkIsolation property: Optional resource information to enable network isolation for request.
Parameters:
Returns:
withOperationMode
public DatabaseExtensions withOperationMode(OperationMode operationMode)
Set the operationMode property: Operation mode of the operation: Import, Export, or PolybaseImport.
Parameters:
Returns:
withServiceObjectiveName
public DatabaseExtensions withServiceObjectiveName(String serviceObjectiveName)
Set the serviceObjectiveName property: Database service level objective for the newly created database in the case of an import operation.
Parameters:
Returns:
withStorageKey
public DatabaseExtensions withStorageKey(String storageKey)
Set the storageKey property: Storage key for the storage account.
Parameters:
Returns:
withStorageKeyType
public DatabaseExtensions withStorageKeyType(StorageKeyType storageKeyType)
Set the storageKeyType property: Storage key type: StorageAccessKey or SharedAccessKey.
Parameters:
Returns:
withStorageUri
public DatabaseExtensions withStorageUri(String storageUri)
Set the storageUri property: Storage Uri for the storage account.
Parameters:
Returns: