Documentation ¶
Index ¶
- Constants
- func CompareDatabaseSkuServiceTiers(sku1, sku2 string) bool
- func ExpandLongTermRetentionPolicy(input []interface{}) *sql.BaseLongTermRetentionPolicyProperties
- func ExpandMsSqlDBBlobAuditingPolicies(input []interface{}) *sql.ExtendedDatabaseBlobAuditingPolicyProperties
- func ExpandShortTermRetentionPolicy(input []interface{}) *sql.BackupShortTermRetentionPolicyProperties
- func ExpandSqlServerBlobAuditingPolicies(input []interface{}) (*sql.ExtendedServerBlobAuditingPolicyProperties, error)
- func ExtendedAuditingSchema() *pluginsdk.Schema
- func FindDatabaseReplicationPartners(ctx context.Context, databasesClient *sql.DatabasesClient, ...) ([]sql.Database, error)
- func FlattenLongTermRetentionPolicy(longTermRetentionPolicy *sql.LongTermRetentionPolicy, ...) []interface{}
- func FlattenMsSqlDBBlobAuditingPolicies(extendedDatabaseBlobAuditingPolicy *sql.ExtendedDatabaseBlobAuditingPolicy, ...) []interface{}
- func FlattenShortTermRetentionPolicy(shortTermRetentionPolicy *sql.BackupShortTermRetentionPolicy, ...) []interface{}
- func FlattenSqlServerBlobAuditingPolicies(extendedServerBlobAuditingPolicy *sql.ExtendedServerBlobAuditingPolicy, ...) []interface{}
- func LongTermRetentionPolicySchema() *pluginsdk.Schema
- func MSSQLElasticPoolValidateSKU(diff *pluginsdk.ResourceDiff) error
- func ShortTermRetentionPolicySchema() *pluginsdk.Schema
- func StorageSettingSchema() *pluginsdk.Schema
Constants ¶
View Source
const ( DTU skuType = 0 VCore skuType = 1 )
Variables ¶
This section is empty.
Functions ¶
func CompareDatabaseSkuServiceTiers ¶
CompareDatabaseSkuServiceTiers returns true if sku1 has a higher service tier than sku2
func ExpandLongTermRetentionPolicy ¶
func ExpandLongTermRetentionPolicy(input []interface{}) *sql.BaseLongTermRetentionPolicyProperties
func ExpandMsSqlDBBlobAuditingPolicies ¶
func ExpandMsSqlDBBlobAuditingPolicies(input []interface{}) *sql.ExtendedDatabaseBlobAuditingPolicyProperties
func ExpandShortTermRetentionPolicy ¶
func ExpandShortTermRetentionPolicy(input []interface{}) *sql.BackupShortTermRetentionPolicyProperties
func ExpandSqlServerBlobAuditingPolicies ¶
func ExpandSqlServerBlobAuditingPolicies(input []interface{}) (*sql.ExtendedServerBlobAuditingPolicyProperties, error)
func ExtendedAuditingSchema ¶
func FindDatabaseReplicationPartners ¶
func FindDatabaseReplicationPartners(ctx context.Context, databasesClient *sql.DatabasesClient, replicationLinksClient *sql.ReplicationLinksClient, resourcesClient *resources.Client, id parse.DatabaseId, rolesToFind []sql.ReplicationRole) ([]sql.Database, error)
FindDatabaseReplicationPartners looks for partner databases having one of the specified replication roles, by reading any replication links then attempting to discover and match the corresponding server/database resources for the other end of the link.
func FlattenLongTermRetentionPolicy ¶
func FlattenLongTermRetentionPolicy(longTermRetentionPolicy *sql.LongTermRetentionPolicy, d *pluginsdk.ResourceData) []interface{}
func FlattenMsSqlDBBlobAuditingPolicies ¶
func FlattenMsSqlDBBlobAuditingPolicies(extendedDatabaseBlobAuditingPolicy *sql.ExtendedDatabaseBlobAuditingPolicy, d *pluginsdk.ResourceData) []interface{}
func FlattenShortTermRetentionPolicy ¶
func FlattenShortTermRetentionPolicy(shortTermRetentionPolicy *sql.BackupShortTermRetentionPolicy, d *pluginsdk.ResourceData) []interface{}
func FlattenSqlServerBlobAuditingPolicies ¶
func FlattenSqlServerBlobAuditingPolicies(extendedServerBlobAuditingPolicy *sql.ExtendedServerBlobAuditingPolicy, d *pluginsdk.ResourceData) []interface{}
func MSSQLElasticPoolValidateSKU ¶
func MSSQLElasticPoolValidateSKU(diff *pluginsdk.ResourceDiff) error
func StorageSettingSchema ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.