مشاركة عبر


DatabaseExtensions Class

public final class DatabaseExtensions
extends ProxyResource

An Import, Export, or PolybaseImport resource.

Constructor Summary

Constructor Description
DatabaseExtensions()

Creates an instance of DatabaseExtensions 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 DatabaseExtensions fromJson(JsonReader jsonReader)

Reads an instance of DatabaseExtensions from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String maxSizeBytes()

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

String name()

Get the name property: The name of the resource.

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)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

DatabaseExtensions withAdministratorLogin(String administratorLogin)

Set the administratorLogin property: Administrator login name.

DatabaseExtensions withAdministratorLoginPassword(String administratorLoginPassword)

Set the administratorLoginPassword property: Administrator login password.

DatabaseExtensions withAuthenticationType(String authenticationType)

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

DatabaseExtensions withDatabaseEdition(String databaseEdition)

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

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.

DatabaseExtensions withNetworkIsolation(NetworkIsolationSettings networkIsolation)

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

DatabaseExtensions withOperationMode(OperationMode operationMode)

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

DatabaseExtensions withServiceObjectiveName(String serviceObjectiveName)

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

DatabaseExtensions withStorageKey(String storageKey)

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

DatabaseExtensions withStorageKeyType(StorageKeyType storageKeyType)

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

DatabaseExtensions withStorageUri(String storageUri)

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

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:

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 DatabaseExtensions fromJson(JsonReader jsonReader)

Reads an instance of DatabaseExtensions from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DatabaseExtensions 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.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

DatabaseExtensions.id()

Returns:

the id value.

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.

name

public String name()

Get the name property: The name of the resource.

Overrides:

DatabaseExtensions.name()

Returns:

the name 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)

Overrides:

DatabaseExtensions.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

DatabaseExtensions.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withAdministratorLogin

public DatabaseExtensions withAdministratorLogin(String administratorLogin)

Set the administratorLogin property: Administrator login name.

Parameters:

administratorLogin - the administratorLogin value to set.

Returns:

the DatabaseExtensions object itself.

withAdministratorLoginPassword

public DatabaseExtensions withAdministratorLoginPassword(String administratorLoginPassword)

Set the administratorLoginPassword property: Administrator login password.

Parameters:

administratorLoginPassword - the administratorLoginPassword value to set.

Returns:

the DatabaseExtensions object itself.

withAuthenticationType

public DatabaseExtensions withAuthenticationType(String authenticationType)

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

Parameters:

authenticationType - the authenticationType value to set.

Returns:

the DatabaseExtensions object itself.

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:

databaseEdition - the databaseEdition value to set.

Returns:

the DatabaseExtensions object itself.

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:

maxSizeBytes - the maxSizeBytes value to set.

Returns:

the DatabaseExtensions object itself.

withNetworkIsolation

public DatabaseExtensions 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 DatabaseExtensions object itself.

withOperationMode

public DatabaseExtensions 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 DatabaseExtensions object itself.

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:

serviceObjectiveName - the serviceObjectiveName value to set.

Returns:

the DatabaseExtensions object itself.

withStorageKey

public DatabaseExtensions withStorageKey(String storageKey)

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

Parameters:

storageKey - the storageKey value to set.

Returns:

the DatabaseExtensions object itself.

withStorageKeyType

public DatabaseExtensions withStorageKeyType(StorageKeyType storageKeyType)

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

Parameters:

storageKeyType - the storageKeyType value to set.

Returns:

the DatabaseExtensions object itself.

withStorageUri

public DatabaseExtensions withStorageUri(String storageUri)

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

Parameters:

storageUri - the storageUri value to set.

Returns:

the DatabaseExtensions object itself.

Applies to