Show / Hide Table of Contents

Class DatabaseState

Inheritance
System.Object
InputArgs
ResourceArgs
DatabaseState
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.MSSql
Assembly: Pulumi.Azure.dll
Syntax
public sealed class DatabaseState : ResourceArgs

Constructors

View Source

DatabaseState()

Declaration
public DatabaseState()

Properties

View Source

AutoPauseDelayInMinutes

Time in minutes after which database is automatically paused. A value of -1 means that automatic pause is disabled. This property is only settable for General Purpose Serverless databases.

Declaration
public Input<int> AutoPauseDelayInMinutes { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

Collation

Specifies the collation of the database. Changing this forces a new resource to be created.

Declaration
public Input<string> Collation { get; set; }
Property Value
Type Description
Input<System.String>
View Source

CreateMode

The create mode of the database. Possible values are Copy, Default, OnlineSecondary, PointInTimeRestore, Restore, RestoreExternalBackup, RestoreExternalBackupSecondary, RestoreLongTermRetentionBackup and Secondary.

Declaration
public Input<string> CreateMode { get; set; }
Property Value
Type Description
Input<System.String>
View Source

CreationSourceDatabaseId

The id of the source database to be referred to create the new database. This should only be used for databases with create_mode values that use another database as reference. Changing this forces a new resource to be created.

Declaration
public Input<string> CreationSourceDatabaseId { get; set; }
Property Value
Type Description
Input<System.String>
View Source

ElasticPoolId

Specifies the ID of the elastic pool containing this database. Changing this forces a new resource to be created.

Declaration
public Input<string> ElasticPoolId { get; set; }
Property Value
Type Description
Input<System.String>
View Source

ExtendedAuditingPolicy

A extended_auditing_policy block as defined below.

Declaration
public Input<DatabaseExtendedAuditingPolicyGetArgs> ExtendedAuditingPolicy { get; set; }
Property Value
Type Description
Input<DatabaseExtendedAuditingPolicyGetArgs>
View Source

LicenseType

Specifies the license type applied to this database. Possible values are LicenseIncluded and BasePrice.

Declaration
public Input<string> LicenseType { get; set; }
Property Value
Type Description
Input<System.String>
View Source

MaxSizeGb

The max size of the database in gigabytes.

Declaration
public Input<int> MaxSizeGb { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

MinCapacity

Minimal capacity that database will always have allocated, if not paused. This property is only settable for General Purpose Serverless databases.

Declaration
public Input<double> MinCapacity { get; set; }
Property Value
Type Description
Input<System.Double>
View Source

Name

The name of the Ms SQL Database. Changing this forces a new resource to be created.

Declaration
public Input<string> Name { get; set; }
Property Value
Type Description
Input<System.String>
View Source

ReadReplicaCount

The number of readonly secondary replicas associated with the database to which readonly application intent connections may be routed. This property is only settable for Hyperscale edition databases.

Declaration
public Input<int> ReadReplicaCount { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

ReadScale

If enabled, connections that have application intent set to readonly in their connection string may be routed to a readonly secondary replica. This property is only settable for Premium and Business Critical databases.

Declaration
public Input<bool> ReadScale { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

RestorePointInTime

Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database. This property is only settable for create_mode= PointInTimeRestore databases.

Declaration
public Input<string> RestorePointInTime { get; set; }
Property Value
Type Description
Input<System.String>
View Source

SampleName

Specifies the name of the sample schema to apply when creating this database. Possible value is AdventureWorksLT.

Declaration
public Input<string> SampleName { get; set; }
Property Value
Type Description
Input<System.String>
View Source

ServerId

The id of the Ms SQL Server on which to create the database. Changing this forces a new resource to be created.

Declaration
public Input<string> ServerId { get; set; }
Property Value
Type Description
Input<System.String>
View Source

SkuName

Specifies the name of the sku used by the database. Changing this forces a new resource to be created. For example, GP_S_Gen5_2,HS_Gen4_1,BC_Gen5_2, ElasticPool, Basic,S0, P2 ,DW100c, DS100.

Declaration
public Input<string> SkuName { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Tags

A mapping of tags to assign to the resource.

Declaration
public InputMap<string> Tags { get; set; }
Property Value
Type Description
InputMap<System.String>
View Source

ThreatDetectionPolicy

Threat detection policy configuration. The threat_detection_policy block supports fields documented below.

Declaration
public Input<DatabaseThreatDetectionPolicyGetArgs> ThreatDetectionPolicy { get; set; }
Property Value
Type Description
Input<DatabaseThreatDetectionPolicyGetArgs>
View Source

ZoneRedundant

Whether or not this database is zone redundant, which means the replicas of this database will be spread across multiple availability zones. This property is only settable for Premium and Business Critical databases.

Declaration
public Input<bool> ZoneRedundant { get; set; }
Property Value
Type Description
Input<System.Boolean>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.