Class SqlPool
- java.lang.Object
-
- com.azure.analytics.synapse.artifacts.models.Resource
-
- com.azure.analytics.synapse.artifacts.models.TrackedResource
-
- com.azure.analytics.synapse.artifacts.models.SqlPool
-
public class SqlPool extends TrackedResource
SQL pool A SQL Analytics pool.
-
-
Constructor Summary
Constructors Constructor Description SqlPool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCollation()
Get the collation property: Collation mode.CreateMode
getCreateMode()
Get the createMode property: Specifies the mode of sql pool creation.OffsetDateTime
getCreationDate()
Get the creationDate property: Date the SQL pool was created.Long
getMaxSizeBytes()
Get the maxSizeBytes property: Maximum size in bytes.String
getProvisioningState()
Get the provisioningState property: Resource state.String
getRecoverableDatabaseId()
Get the recoverableDatabaseId property: Backup database to restore from.String
getRestorePointInTime()
Get the restorePointInTime property: Snapshot time to restore.Sku
getSku()
Get the sku property: Sku SQL pool SKU.String
getSourceDatabaseId()
Get the sourceDatabaseId property: Source database to create from.String
getStatus()
Get the status property: Resource status.SqlPool
setCollation(String collation)
Set the collation property: Collation mode.SqlPool
setCreateMode(CreateMode createMode)
Set the createMode property: Specifies the mode of sql pool creation.SqlPool
setCreationDate(OffsetDateTime creationDate)
Set the creationDate property: Date the SQL pool was created.SqlPool
setLocation(String location)
Set the location property: The geo-location where the resource lives.SqlPool
setMaxSizeBytes(Long maxSizeBytes)
Set the maxSizeBytes property: Maximum size in bytes.SqlPool
setProvisioningState(String provisioningState)
Set the provisioningState property: Resource state.SqlPool
setRecoverableDatabaseId(String recoverableDatabaseId)
Set the recoverableDatabaseId property: Backup database to restore from.SqlPool
setRestorePointInTime(String restorePointInTime)
Set the restorePointInTime property: Snapshot time to restore.SqlPool
setSku(Sku sku)
Set the sku property: Sku SQL pool SKU.SqlPool
setSourceDatabaseId(String sourceDatabaseId)
Set the sourceDatabaseId property: Source database to create from.SqlPool
setStatus(String status)
Set the status property: Resource status.SqlPool
setTags(Map<String,String> tags)
Set the tags property: Resource tags.-
Methods inherited from class com.azure.analytics.synapse.artifacts.models.TrackedResource
getLocation, getTags
-
-
-
-
Method Detail
-
getSku
public Sku getSku()
Get the sku property: Sku SQL pool SKU.- Returns:
- the sku value.
-
setSku
public SqlPool setSku(Sku sku)
Set the sku property: Sku SQL pool SKU.- Parameters:
sku
- the sku value to set.- Returns:
- the SqlPool object itself.
-
getMaxSizeBytes
public Long getMaxSizeBytes()
Get the maxSizeBytes property: Maximum size in bytes.- Returns:
- the maxSizeBytes value.
-
setMaxSizeBytes
public SqlPool setMaxSizeBytes(Long maxSizeBytes)
Set the maxSizeBytes property: Maximum size in bytes.- Parameters:
maxSizeBytes
- the maxSizeBytes value to set.- Returns:
- the SqlPool object itself.
-
getCollation
public String getCollation()
Get the collation property: Collation mode.- Returns:
- the collation value.
-
setCollation
public SqlPool setCollation(String collation)
Set the collation property: Collation mode.- Parameters:
collation
- the collation value to set.- Returns:
- the SqlPool object itself.
-
getSourceDatabaseId
public String getSourceDatabaseId()
Get the sourceDatabaseId property: Source database to create from.- Returns:
- the sourceDatabaseId value.
-
setSourceDatabaseId
public SqlPool setSourceDatabaseId(String sourceDatabaseId)
Set the sourceDatabaseId property: Source database to create from.- Parameters:
sourceDatabaseId
- the sourceDatabaseId value to set.- Returns:
- the SqlPool object itself.
-
getRecoverableDatabaseId
public String getRecoverableDatabaseId()
Get the recoverableDatabaseId property: Backup database to restore from.- Returns:
- the recoverableDatabaseId value.
-
setRecoverableDatabaseId
public SqlPool setRecoverableDatabaseId(String recoverableDatabaseId)
Set the recoverableDatabaseId property: Backup database to restore from.- Parameters:
recoverableDatabaseId
- the recoverableDatabaseId value to set.- Returns:
- the SqlPool object itself.
-
getProvisioningState
public String getProvisioningState()
Get the provisioningState property: Resource state.- Returns:
- the provisioningState value.
-
setProvisioningState
public SqlPool setProvisioningState(String provisioningState)
Set the provisioningState property: Resource state.- Parameters:
provisioningState
- the provisioningState value to set.- Returns:
- the SqlPool object itself.
-
getStatus
public String getStatus()
Get the status property: Resource status.- Returns:
- the status value.
-
setStatus
public SqlPool setStatus(String status)
Set the status property: Resource status.- Parameters:
status
- the status value to set.- Returns:
- the SqlPool object itself.
-
getRestorePointInTime
public String getRestorePointInTime()
Get the restorePointInTime property: Snapshot time to restore.- Returns:
- the restorePointInTime value.
-
setRestorePointInTime
public SqlPool setRestorePointInTime(String restorePointInTime)
Set the restorePointInTime property: Snapshot time to restore.- Parameters:
restorePointInTime
- the restorePointInTime value to set.- Returns:
- the SqlPool object itself.
-
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:
- the createMode value.
-
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:
createMode
- the createMode value to set.- Returns:
- the SqlPool object itself.
-
getCreationDate
public OffsetDateTime getCreationDate()
Get the creationDate property: Date the SQL pool was created.- Returns:
- the creationDate value.
-
setCreationDate
public SqlPool setCreationDate(OffsetDateTime creationDate)
Set the creationDate property: Date the SQL pool was created.- Parameters:
creationDate
- the creationDate value to set.- Returns:
- the SqlPool object itself.
-
setTags
public SqlPool setTags(Map<String,String> tags)
Set the tags property: Resource tags.- Overrides:
setTags
in classTrackedResource
- Parameters:
tags
- the tags value to set.- Returns:
- the TrackedResource object itself.
-
setLocation
public SqlPool setLocation(String location)
Set the location property: The geo-location where the resource lives.- Overrides:
setLocation
in classTrackedResource
- Parameters:
location
- the location value to set.- Returns:
- the TrackedResource object itself.
-
-