SqlPool Interface

public interface SqlPool

An immutable client-side representation of SqlPool.

Method Summary

Modifier and Type Method and Description
abstract String collation()

Gets the collation property: Collation mode.

abstract CreateMode createMode()

Gets the createMode property: Specifies the mode of sql pool creation.

abstract OffsetDateTime creationDate()

Gets the creationDate property: Date the SQL pool was created.

abstract String id()

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

abstract SqlPoolInner innerModel()

Gets the inner com.azure.resourcemanager.synapse.fluent.models.SqlPoolInner object.

abstract String location()

Gets the location property: The geo-location where the resource lives.

abstract Long maxSizeBytes()

Gets the maxSizeBytes property: Maximum size in bytes.

abstract String name()

Gets the name property: The name of the resource.

abstract Object pause()

Pause SQL pool Pause a SQL pool.

abstract Object pause(Context context)

Pause SQL pool Pause a SQL pool.

abstract String provisioningState()

Gets the provisioningState property: Resource state.

abstract String recoverableDatabaseId()

Gets the recoverableDatabaseId property: Backup database to restore from.

abstract SqlPool refresh()

Refreshes the resource to sync with Azure.

abstract SqlPool refresh(Context context)

Refreshes the resource to sync with Azure.

abstract Region region()

Gets the region of the resource.

abstract String regionName()

Gets the name of the resource region.

abstract String resourceGroupName()

Gets the name of the resource group.

abstract OffsetDateTime restorePointInTime()

Gets the restorePointInTime property: Snapshot time to restore.

abstract Object resume()

Resume SQL pool Resume a SQL pool.

abstract Object resume(Context context)

Resume SQL pool Resume a SQL pool.

abstract Sku sku()

Gets the sku property: SQL pool SKU.

abstract String sourceDatabaseId()

Gets the sourceDatabaseId property: Source database to create from.

abstract String status()

Gets the status property: Resource status.

abstract StorageAccountType storageAccountType()

Gets the storageAccountType property: The storage account type used to store backups for this sql pool.

abstract Map<String,String> tags()

Gets the tags property: Resource tags.

abstract String type()

Gets the type property: The type of the resource.

abstract Update update()

Begins update for the SqlPool resource.

Method Details

collation

public abstract String collation()

Gets the collation property: Collation mode.

Returns:

the collation value.

createMode

public abstract CreateMode createMode()

Gets the createMode property: Specifies the mode of sql pool creation. Default: regular sql pool creation. PointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified. Recovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore. Restore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified.

Returns:

the createMode value.

creationDate

public abstract OffsetDateTime creationDate()

Gets the creationDate property: Date the SQL pool was created.

Returns:

the creationDate value.

id

public abstract String id()

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

Returns:

the id value.

innerModel

public abstract SqlPoolInner innerModel()

Gets the inner com.azure.resourcemanager.synapse.fluent.models.SqlPoolInner object.

Returns:

the inner object.

location

public abstract String location()

Gets the location property: The geo-location where the resource lives.

Returns:

the location value.

maxSizeBytes

public abstract Long maxSizeBytes()

Gets the maxSizeBytes property: Maximum size in bytes.

Returns:

the maxSizeBytes value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

pause

public abstract Object pause()

Pause SQL pool Pause a SQL pool.

Returns:

any object.

pause

public abstract Object pause(Context context)

Pause SQL pool Pause a SQL pool.

Parameters:

context - The context to associate with this operation.

Returns:

any object.

provisioningState

public abstract String provisioningState()

Gets the provisioningState property: Resource state.

Returns:

the provisioningState value.

recoverableDatabaseId

public abstract String recoverableDatabaseId()

Gets the recoverableDatabaseId property: Backup database to restore from.

Returns:

the recoverableDatabaseId value.

refresh

public abstract SqlPool refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract SqlPool refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

region

public abstract Region region()

Gets the region of the resource.

Returns:

the region of the resource.

regionName

public abstract String regionName()

Gets the name of the resource region.

Returns:

the name of the resource region.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

restorePointInTime

public abstract OffsetDateTime restorePointInTime()

Gets the restorePointInTime property: Snapshot time to restore.

Returns:

the restorePointInTime value.

resume

public abstract Object resume()

Resume SQL pool Resume a SQL pool.

Returns:

any object.

resume

public abstract Object resume(Context context)

Resume SQL pool Resume a SQL pool.

Parameters:

context - The context to associate with this operation.

Returns:

any object.

sku

public abstract Sku sku()

Gets the sku property: SQL pool SKU.

Returns:

the sku value.

sourceDatabaseId

public abstract String sourceDatabaseId()

Gets the sourceDatabaseId property: Source database to create from.

Returns:

the sourceDatabaseId value.

status

public abstract String status()

Gets the status property: Resource status.

Returns:

the status value.

storageAccountType

public abstract StorageAccountType storageAccountType()

Gets the storageAccountType property: The storage account type used to store backups for this sql pool.

Returns:

the storageAccountType value.

tags

public abstract Map<String,String> tags()

Gets the tags property: Resource tags.

Returns:

the tags value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract SqlPool.Update update()

Begins update for the SqlPool resource.

Returns:

the stage of resource update.

Applies to