SqlPoolInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. synapse. fluent. models. SqlPoolInner
- com.
- com.
- com.
public final class SqlPoolInner
extends Resource
SQL pool A SQL Analytics pool.
Constructor Summary
| Constructor | Description |
|---|---|
| SqlPoolInner() |
Creates an instance of Sql |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
collation()
Get the collation property: Collation mode. |
|
Create |
createMode()
Get the create |
|
Offset |
creationDate()
Get the creation |
|
static
Sql |
fromJson(JsonReader jsonReader)
Reads an instance of Sql |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| Long |
maxSizeBytes()
Get the max |
| String |
name()
Get the name property: The name of the resource. |
| String |
provisioningState()
Get the provisioning |
| String |
recoverableDatabaseId()
Get the recoverable |
|
Offset |
restorePointInTime()
Get the restore |
| Sku |
sku()
Get the sku property: SQL pool SKU. |
| String |
sourceDatabaseId()
Get the source |
| String |
status()
Get the status property: Resource status. |
|
Storage |
storageAccountType()
Get the storage |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Sql |
withCollation(String collation)
Set the collation property: Collation mode. |
|
Sql |
withCreateMode(CreateMode createMode)
Set the create |
|
Sql |
withCreationDate(OffsetDateTime creationDate)
Set the creation |
|
Sql |
withLocation(String location) |
|
Sql |
withMaxSizeBytes(Long maxSizeBytes)
Set the max |
|
Sql |
withProvisioningState(String provisioningState)
Set the provisioning |
|
Sql |
withRecoverableDatabaseId(String recoverableDatabaseId)
Set the recoverable |
|
Sql |
withRestorePointInTime(OffsetDateTime restorePointInTime)
Set the restore |
|
Sql |
withSku(Sku sku)
Set the sku property: SQL pool SKU. |
|
Sql |
withSourceDatabaseId(String sourceDatabaseId)
Set the source |
|
Sql |
withStatus(String status)
Set the status property: Resource status. |
|
Sql |
withStorageAccountType(StorageAccountType storageAccountType)
Set the storage |
|
Sql |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
SqlPoolInner
public SqlPoolInner()
Creates an instance of SqlPoolInner class.
Method Details
collation
public String collation()
Get the collation property: Collation mode.
Returns:
createMode
public CreateMode createMode()
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:
creationDate
public OffsetDateTime creationDate()
Get the creationDate property: Date the SQL pool was created.
Returns:
fromJson
public static SqlPoolInner fromJson(JsonReader jsonReader)
Reads an instance of SqlPoolInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
SqlPoolInner.id()Returns:
maxSizeBytes
public Long maxSizeBytes()
Get the maxSizeBytes property: Maximum size in bytes.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
SqlPoolInner.name()Returns:
provisioningState
public String provisioningState()
Get the provisioningState property: Resource state.
Returns:
recoverableDatabaseId
public String recoverableDatabaseId()
Get the recoverableDatabaseId property: Backup database to restore from.
Returns:
restorePointInTime
public OffsetDateTime restorePointInTime()
Get the restorePointInTime property: Snapshot time to restore.
Returns:
sku
public Sku sku()
Get the sku property: SQL pool SKU.
Returns:
sourceDatabaseId
public String sourceDatabaseId()
Get the sourceDatabaseId property: Source database to create from.
Returns:
status
public String status()
Get the status property: Resource status.
Returns:
storageAccountType
public StorageAccountType storageAccountType()
Get the storageAccountType property: The storage account type used to store backups for this sql pool.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SqlPoolInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
SqlPoolInner.type()Returns:
validate
public void validate()
Validates the instance.
withCollation
public SqlPoolInner withCollation(String collation)
Set the collation property: Collation mode.
Parameters:
Returns:
withCreateMode
public SqlPoolInner withCreateMode(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:
withCreationDate
public SqlPoolInner withCreationDate(OffsetDateTime creationDate)
Set the creationDate property: Date the SQL pool was created.
Parameters:
Returns:
withLocation
public SqlPoolInner withLocation(String location)
Overrides:
SqlPoolInner.withLocation(String location)Parameters:
withMaxSizeBytes
public SqlPoolInner withMaxSizeBytes(Long maxSizeBytes)
Set the maxSizeBytes property: Maximum size in bytes.
Parameters:
Returns:
withProvisioningState
public SqlPoolInner withProvisioningState(String provisioningState)
Set the provisioningState property: Resource state.
Parameters:
Returns:
withRecoverableDatabaseId
public SqlPoolInner withRecoverableDatabaseId(String recoverableDatabaseId)
Set the recoverableDatabaseId property: Backup database to restore from.
Parameters:
Returns:
withRestorePointInTime
public SqlPoolInner withRestorePointInTime(OffsetDateTime restorePointInTime)
Set the restorePointInTime property: Snapshot time to restore.
Parameters:
Returns:
withSku
public SqlPoolInner withSku(Sku sku)
Set the sku property: SQL pool SKU.
Parameters:
Returns:
withSourceDatabaseId
public SqlPoolInner withSourceDatabaseId(String sourceDatabaseId)
Set the sourceDatabaseId property: Source database to create from.
Parameters:
Returns:
withStatus
public SqlPoolInner withStatus(String status)
Set the status property: Resource status.
Parameters:
Returns:
withStorageAccountType
public SqlPoolInner withStorageAccountType(StorageAccountType storageAccountType)
Set the storageAccountType property: The storage account type used to store backups for this sql pool.
Parameters:
Returns:
withTags
public SqlPoolInner withTags(Map<String,String> tags)
Overrides:
SqlPoolInner.withTags(Map<String,String> tags)Parameters: