SqlPool Class
- java.
lang. Object - com.
azure. analytics. synapse. artifacts. models. Resource - com.
azure. analytics. synapse. artifacts. models. TrackedResource - com.
azure. analytics. synapse. artifacts. models. SqlPool
- com.
- com.
- com.
public class SqlPool
extends TrackedResource
SQL pool
A SQL Analytics pool.
Constructor Summary
Constructor | Description |
---|---|
SqlPool() |
Creates an instance of Sql |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getCollation()
Get the collation property: Collation mode. |
Create |
getCreateMode()
Get the create |
Offset |
getCreationDate()
Get the creation |
Long |
getMaxSizeBytes()
Get the max |
String |
getProvisioningState()
Get the provisioning |
String |
getRecoverableDatabaseId()
Get the recoverable |
String |
getRestorePointInTime()
Get the restore |
Sku |
getSku()
Get the sku property: Sku |
String |
getSourceDatabaseId()
Get the source |
String |
getStatus()
Get the status property: Resource status. |
Sql |
setCollation(String collation)
Set the collation property: Collation mode. |
Sql |
setCreateMode(CreateMode createMode)
Set the create |
Sql |
setCreationDate(OffsetDateTime creationDate)
Set the creation |
Sql |
setLocation(String location)
Set the location property: The geo-location where the resource lives. |
Sql |
setMaxSizeBytes(Long maxSizeBytes)
Set the max |
Sql |
setProvisioningState(String provisioningState)
Set the provisioning |
Sql |
setRecoverableDatabaseId(String recoverableDatabaseId)
Set the recoverable |
Sql |
setRestorePointInTime(String restorePointInTime)
Set the restore |
Sql |
setSku(Sku sku)
Set the sku property: Sku |
Sql |
setSourceDatabaseId(String sourceDatabaseId)
Set the source |
Sql |
setStatus(String status)
Set the status property: Resource status. |
Sql |
setTags(Map<String,String> tags)
Set the tags property: Resource tags. |
Methods inherited from Resource
Methods inherited from TrackedResource
Methods inherited from java.lang.Object
Constructor Details
SqlPool
public SqlPool()
Creates an instance of SqlPool class.
Method Details
getCollation
public String getCollation()
Get the collation property: Collation mode.
Returns:
getCreateMode
public CreateMode getCreateMode()
Get 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:
getCreationDate
public OffsetDateTime getCreationDate()
Get the creationDate property: Date the SQL pool was created.
Returns:
getMaxSizeBytes
public Long getMaxSizeBytes()
Get the maxSizeBytes property: Maximum size in bytes.
Returns:
getProvisioningState
public String getProvisioningState()
Get the provisioningState property: Resource state.
Returns:
getRecoverableDatabaseId
public String getRecoverableDatabaseId()
Get the recoverableDatabaseId property: Backup database to restore from.
Returns:
getRestorePointInTime
public String getRestorePointInTime()
Get the restorePointInTime property: Snapshot time to restore.
Returns:
getSku
public Sku getSku()
Get the sku property: Sku
SQL pool SKU.
Returns:
getSourceDatabaseId
public String getSourceDatabaseId()
Get the sourceDatabaseId property: Source database to create from.
Returns:
getStatus
public String getStatus()
Get the status property: Resource status.
Returns:
setCollation
public SqlPool setCollation(String collation)
Set the collation property: Collation mode.
Parameters:
Returns:
setCreateMode
public SqlPool setCreateMode(CreateMode createMode)
Set 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.
Parameters:
Returns:
setCreationDate
public SqlPool setCreationDate(OffsetDateTime creationDate)
Set the creationDate property: Date the SQL pool was created.
Parameters:
Returns:
setLocation
public SqlPool setLocation(String location)
Set the location property: The geo-location where the resource lives.
Overrides:
SqlPool.setLocation(String location)Parameters:
setMaxSizeBytes
public SqlPool setMaxSizeBytes(Long maxSizeBytes)
Set the maxSizeBytes property: Maximum size in bytes.
Parameters:
Returns:
setProvisioningState
public SqlPool setProvisioningState(String provisioningState)
Set the provisioningState property: Resource state.
Parameters:
Returns:
setRecoverableDatabaseId
public SqlPool setRecoverableDatabaseId(String recoverableDatabaseId)
Set the recoverableDatabaseId property: Backup database to restore from.
Parameters:
Returns:
setRestorePointInTime
public SqlPool setRestorePointInTime(String restorePointInTime)
Set the restorePointInTime property: Snapshot time to restore.
Parameters:
Returns:
setSku
public SqlPool setSku(Sku sku)
Set the sku property: Sku
SQL pool SKU.
Parameters:
Returns:
setSourceDatabaseId
public SqlPool setSourceDatabaseId(String sourceDatabaseId)
Set the sourceDatabaseId property: Source database to create from.
Parameters:
Returns:
setStatus
public SqlPool setStatus(String status)
Set the status property: Resource status.
Parameters:
Returns:
setTags
public SqlPool setTags(Map
Set the tags property: Resource tags.
Overrides:
SqlPool.setTags(Map<String,String> tags)Parameters:
Applies to
Azure SDK for Java