Class GetDatabaseResult
- java.lang.Object
-
- com.pulumi.azurenative.sql.outputs.GetDatabaseResult
-
public final class GetDatabaseResult extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetDatabaseResult.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.Integer>
autoPauseDelay()
static GetDatabaseResult.Builder
builder()
static GetDatabaseResult.Builder
builder(GetDatabaseResult defaults)
java.util.Optional<java.lang.String>
catalogCollation()
java.util.Optional<java.lang.String>
collation()
java.lang.String
creationDate()
java.lang.String
currentBackupStorageRedundancy()
java.lang.String
currentServiceObjectiveName()
SkuResponse
currentSku()
java.lang.String
databaseId()
java.lang.String
defaultSecondaryLocation()
java.lang.String
earliestRestoreDate()
java.util.Optional<java.lang.String>
elasticPoolId()
java.lang.String
failoverGroupId()
java.util.Optional<java.lang.String>
federatedClientId()
java.util.Optional<java.lang.Integer>
highAvailabilityReplicaCount()
java.lang.String
id()
java.util.Optional<DatabaseIdentityResponse>
identity()
java.lang.Boolean
isInfraEncryptionEnabled()
java.util.Optional<java.lang.Boolean>
isLedgerOn()
java.lang.String
kind()
java.util.Optional<java.lang.String>
licenseType()
java.lang.String
location()
java.util.Optional<java.lang.String>
maintenanceConfigurationId()
java.lang.String
managedBy()
java.lang.Double
maxLogSizeBytes()
java.util.Optional<java.lang.Double>
maxSizeBytes()
java.util.Optional<java.lang.Double>
minCapacity()
java.lang.String
name()
java.lang.String
pausedDate()
java.util.Optional<java.lang.String>
readScale()
java.util.Optional<java.lang.String>
requestedBackupStorageRedundancy()
java.lang.String
requestedServiceObjectiveName()
java.lang.String
resumedDate()
java.util.Optional<java.lang.String>
secondaryType()
java.util.Optional<SkuResponse>
sku()
java.lang.String
status()
java.util.Map<java.lang.String,java.lang.String>
tags()
java.lang.String
type()
java.util.Optional<java.lang.Boolean>
zoneRedundant()
-
-
-
Method Detail
-
autoPauseDelay
public java.util.Optional<java.lang.Integer> autoPauseDelay()
- Returns:
- Time in minutes after which database is automatically paused. A value of -1 means that automatic pause is disabled
-
catalogCollation
public java.util.Optional<java.lang.String> catalogCollation()
- Returns:
- Collation of the metadata catalog.
-
collation
public java.util.Optional<java.lang.String> collation()
- Returns:
- The collation of the database.
-
creationDate
public java.lang.String creationDate()
- Returns:
- The creation date of the database (ISO8601 format).
-
currentBackupStorageRedundancy
public java.lang.String currentBackupStorageRedundancy()
- Returns:
- The storage account type used to store backups for this database.
-
currentServiceObjectiveName
public java.lang.String currentServiceObjectiveName()
- Returns:
- The current service level objective name of the database.
-
currentSku
public SkuResponse currentSku()
- Returns:
- The name and tier of the SKU.
-
databaseId
public java.lang.String databaseId()
- Returns:
- The ID of the database.
-
defaultSecondaryLocation
public java.lang.String defaultSecondaryLocation()
- Returns:
- The default secondary region for this database.
-
earliestRestoreDate
public java.lang.String earliestRestoreDate()
- Returns:
- This records the earliest start date and time that restore is available for this database (ISO8601 format).
-
elasticPoolId
public java.util.Optional<java.lang.String> elasticPoolId()
- Returns:
- The resource identifier of the elastic pool containing this database.
-
failoverGroupId
public java.lang.String failoverGroupId()
- Returns:
- Failover Group resource identifier that this database belongs to.
-
federatedClientId
public java.util.Optional<java.lang.String> federatedClientId()
- Returns:
- The Client id used for cross tenant per database CMK scenario
-
highAvailabilityReplicaCount
public java.util.Optional<java.lang.Integer> highAvailabilityReplicaCount()
- Returns:
- The number of secondary replicas associated with the database that are used to provide high availability. Not applicable to a Hyperscale database within an elastic pool.
-
id
public java.lang.String id()
- Returns:
- Resource ID.
-
identity
public java.util.Optional<DatabaseIdentityResponse> identity()
- Returns:
- The Azure Active Directory identity of the database.
-
isInfraEncryptionEnabled
public java.lang.Boolean isInfraEncryptionEnabled()
- Returns:
- Infra encryption is enabled for this database.
-
isLedgerOn
public java.util.Optional<java.lang.Boolean> isLedgerOn()
- Returns:
- Whether or not this database is a ledger database, which means all tables in the database are ledger tables. Note: the value of this property cannot be changed after the database has been created.
-
kind
public java.lang.String kind()
- Returns:
- Kind of database. This is metadata used for the Azure portal experience.
-
licenseType
public java.util.Optional<java.lang.String> licenseType()
- Returns:
- The license type to apply for this database. `LicenseIncluded` if you need a license, or `BasePrice` if you have a license and are eligible for the Azure Hybrid Benefit.
-
location
public java.lang.String location()
- Returns:
- Resource location.
-
maintenanceConfigurationId
public java.util.Optional<java.lang.String> maintenanceConfigurationId()
- Returns:
- Maintenance configuration id assigned to the database. This configuration defines the period when the maintenance updates will occur.
-
managedBy
public java.lang.String managedBy()
- Returns:
- Resource that manages the database.
-
maxLogSizeBytes
public java.lang.Double maxLogSizeBytes()
- Returns:
- The max log size for this database.
-
maxSizeBytes
public java.util.Optional<java.lang.Double> maxSizeBytes()
- Returns:
- The max size of the database expressed in bytes.
-
minCapacity
public java.util.Optional<java.lang.Double> minCapacity()
- Returns:
- Minimal capacity that database will always have allocated, if not paused
-
name
public java.lang.String name()
- Returns:
- Resource name.
-
pausedDate
public java.lang.String pausedDate()
- Returns:
- The date when database was paused by user configuration or action(ISO8601 format). Null if the database is ready.
-
readScale
public java.util.Optional<java.lang.String> readScale()
- Returns:
- The state of read-only routing. If enabled, connections that have application intent set to readonly in their connection string may be routed to a readonly secondary replica in the same region. Not applicable to a Hyperscale database within an elastic pool.
-
requestedBackupStorageRedundancy
public java.util.Optional<java.lang.String> requestedBackupStorageRedundancy()
- Returns:
- The storage account type to be used to store backups for this database.
-
requestedServiceObjectiveName
public java.lang.String requestedServiceObjectiveName()
- Returns:
- The requested service level objective name of the database.
-
resumedDate
public java.lang.String resumedDate()
- Returns:
- The date when database was resumed by user action or database login (ISO8601 format). Null if the database is paused.
-
secondaryType
public java.util.Optional<java.lang.String> secondaryType()
- Returns:
- The secondary type of the database if it is a secondary. Valid values are Geo and Named.
-
sku
public java.util.Optional<SkuResponse> sku()
- Returns:
- The database SKU. The list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition, family, and capacity) that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API or one of the following commands:
-
status
public java.lang.String status()
- Returns:
- The status of the database.
-
tags
public java.util.Map<java.lang.String,java.lang.String> tags()
- Returns:
- Resource tags.
-
type
public java.lang.String type()
- Returns:
- Resource type.
-
zoneRedundant
public java.util.Optional<java.lang.Boolean> zoneRedundant()
- Returns:
- Whether or not this database is zone redundant, which means the replicas of this database will be spread across multiple availability zones.
-
builder
public static GetDatabaseResult.Builder builder()
-
builder
public static GetDatabaseResult.Builder builder(GetDatabaseResult defaults)
-
-