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