Del via


DatabaseExtensionsProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.fluent.models.DatabaseExtensionsProperties

Implements

public final class DatabaseExtensionsProperties
implements JsonSerializable<DatabaseExtensionsProperties>

Contains the database information after a successful Import, Export, or PolybaseImport.

Constructor Summary

Constructor Description
DatabaseExtensionsProperties()

Creates an instance of DatabaseExtensionsProperties class.

Method Summary

Modifier and Type Method and Description
String administratorLogin()

Get the administratorLogin property: Administrator login name.

String administratorLoginPassword()

Get the administratorLoginPassword property: Administrator login password.

String authenticationType()

Get the authenticationType property: Authentication type: SQL authentication or AD password.

String databaseEdition()

Get the databaseEdition property: Database edition for the newly created database in the case of an import operation.

static DatabaseExtensionsProperties fromJson(JsonReader jsonReader)

Reads an instance of DatabaseExtensionsProperties from the JsonReader.

String maxSizeBytes()

Get the maxSizeBytes property: Database max size in bytes for the newly created database in the case of an import operation.

NetworkIsolationSettings networkIsolation()

Get the networkIsolation property: Optional resource information to enable network isolation for request.

OperationMode operationMode()

Get the operationMode property: Operation mode of the operation: Import, Export, or PolybaseImport.

String serviceObjectiveName()

Get the serviceObjectiveName property: Database service level objective for the newly created database in the case of an import operation.

String storageKey()

Get the storageKey property: Storage key for the storage account.

StorageKeyType storageKeyType()

Get the storageKeyType property: Storage key type: StorageAccessKey or SharedAccessKey.

String storageUri()

Get the storageUri property: Storage Uri for the storage account.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DatabaseExtensionsProperties withAdministratorLogin(String administratorLogin)

Set the administratorLogin property: Administrator login name.

DatabaseExtensionsProperties withAdministratorLoginPassword(String administratorLoginPassword)

Set the administratorLoginPassword property: Administrator login password.

DatabaseExtensionsProperties withAuthenticationType(String authenticationType)

Set the authenticationType property: Authentication type: SQL authentication or AD password.

DatabaseExtensionsProperties withDatabaseEdition(String databaseEdition)

Set the databaseEdition property: Database edition for the newly created database in the case of an import operation.

DatabaseExtensionsProperties withMaxSizeBytes(String maxSizeBytes)

Set the maxSizeBytes property: Database max size in bytes for the newly created database in the case of an import operation.

DatabaseExtensionsProperties withNetworkIsolation(NetworkIsolationSettings networkIsolation)

Set the networkIsolation property: Optional resource information to enable network isolation for request.

DatabaseExtensionsProperties withOperationMode(OperationMode operationMode)

Set the operationMode property: Operation mode of the operation: Import, Export, or PolybaseImport.

DatabaseExtensionsProperties withServiceObjectiveName(String serviceObjectiveName)

Set the serviceObjectiveName property: Database service level objective for the newly created database in the case of an import operation.

DatabaseExtensionsProperties withStorageKey(String storageKey)

Set the storageKey property: Storage key for the storage account.

DatabaseExtensionsProperties withStorageKeyType(StorageKeyType storageKeyType)

Set the storageKeyType property: Storage key type: StorageAccessKey or SharedAccessKey.

DatabaseExtensionsProperties withStorageUri(String storageUri)

Set the storageUri property: Storage Uri for the storage account.

Methods inherited from java.lang.Object

Constructor Details

DatabaseExtensionsProperties

public DatabaseExtensionsProperties()

Creates an instance of DatabaseExtensionsProperties class.

Method Details

administratorLogin

public String administratorLogin()

Get the administratorLogin property: Administrator login name.

Returns:

the administratorLogin value.

administratorLoginPassword

public String administratorLoginPassword()

Get the administratorLoginPassword property: Administrator login password.

Returns:

the administratorLoginPassword value.

authenticationType

public String authenticationType()

Get the authenticationType property: Authentication type: SQL authentication or AD password.

Returns:

the authenticationType value.

databaseEdition

public String databaseEdition()

Get the databaseEdition property: Database edition for the newly created database in the case of an import operation.

Returns:

the databaseEdition value.

fromJson

public static DatabaseExtensionsProperties fromJson(JsonReader jsonReader)

Reads an instance of DatabaseExtensionsProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DatabaseExtensionsProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

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:

the maxSizeBytes value.

networkIsolation

public NetworkIsolationSettings networkIsolation()

Get the networkIsolation property: Optional resource information to enable network isolation for request.

Returns:

the networkIsolation value.

operationMode

public OperationMode operationMode()

Get the operationMode property: Operation mode of the operation: Import, Export, or PolybaseImport.

Returns:

the operationMode value.

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:

the serviceObjectiveName value.

storageKey

public String storageKey()

Get the storageKey property: Storage key for the storage account.

Returns:

the storageKey value.

storageKeyType

public StorageKeyType storageKeyType()

Get the storageKeyType property: Storage key type: StorageAccessKey or SharedAccessKey.

Returns:

the storageKeyType value.

storageUri

public String storageUri()

Get the storageUri property: Storage Uri for the storage account.

Returns:

the storageUri value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdministratorLogin

public DatabaseExtensionsProperties withAdministratorLogin(String administratorLogin)

Set the administratorLogin property: Administrator login name.

Parameters:

administratorLogin - the administratorLogin value to set.

Returns:

the DatabaseExtensionsProperties object itself.

withAdministratorLoginPassword

public DatabaseExtensionsProperties withAdministratorLoginPassword(String administratorLoginPassword)

Set the administratorLoginPassword property: Administrator login password.

Parameters:

administratorLoginPassword - the administratorLoginPassword value to set.

Returns:

the DatabaseExtensionsProperties object itself.

withAuthenticationType

public DatabaseExtensionsProperties withAuthenticationType(String authenticationType)

Set the authenticationType property: Authentication type: SQL authentication or AD password.

Parameters:

authenticationType - the authenticationType value to set.

Returns:

the DatabaseExtensionsProperties object itself.

withDatabaseEdition

public DatabaseExtensionsProperties withDatabaseEdition(String databaseEdition)

Set the databaseEdition property: Database edition for the newly created database in the case of an import operation.

Parameters:

databaseEdition - the databaseEdition value to set.

Returns:

the DatabaseExtensionsProperties object itself.

withMaxSizeBytes

public DatabaseExtensionsProperties 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:

maxSizeBytes - the maxSizeBytes value to set.

Returns:

the DatabaseExtensionsProperties object itself.

withNetworkIsolation

public DatabaseExtensionsProperties withNetworkIsolation(NetworkIsolationSettings networkIsolation)

Set the networkIsolation property: Optional resource information to enable network isolation for request.

Parameters:

networkIsolation - the networkIsolation value to set.

Returns:

the DatabaseExtensionsProperties object itself.

withOperationMode

public DatabaseExtensionsProperties withOperationMode(OperationMode operationMode)

Set the operationMode property: Operation mode of the operation: Import, Export, or PolybaseImport.

Parameters:

operationMode - the operationMode value to set.

Returns:

the DatabaseExtensionsProperties object itself.

withServiceObjectiveName

public DatabaseExtensionsProperties withServiceObjectiveName(String serviceObjectiveName)

Set the serviceObjectiveName property: Database service level objective for the newly created database in the case of an import operation.

Parameters:

serviceObjectiveName - the serviceObjectiveName value to set.

Returns:

the DatabaseExtensionsProperties object itself.

withStorageKey

public DatabaseExtensionsProperties withStorageKey(String storageKey)

Set the storageKey property: Storage key for the storage account.

Parameters:

storageKey - the storageKey value to set.

Returns:

the DatabaseExtensionsProperties object itself.

withStorageKeyType

public DatabaseExtensionsProperties withStorageKeyType(StorageKeyType storageKeyType)

Set the storageKeyType property: Storage key type: StorageAccessKey or SharedAccessKey.

Parameters:

storageKeyType - the storageKeyType value to set.

Returns:

the DatabaseExtensionsProperties object itself.

withStorageUri

public DatabaseExtensionsProperties withStorageUri(String storageUri)

Set the storageUri property: Storage Uri for the storage account.

Parameters:

storageUri - the storageUri value to set.

Returns:

the DatabaseExtensionsProperties object itself.

Applies to