v20140401

package
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CreateModeCopy                           = CreateMode("Copy")
	CreateModeDefault                        = CreateMode("Default")
	CreateModeNonReadableSecondary           = CreateMode("NonReadableSecondary")
	CreateModeOnlineSecondary                = CreateMode("OnlineSecondary")
	CreateModePointInTimeRestore             = CreateMode("PointInTimeRestore")
	CreateModeRecovery                       = CreateMode("Recovery")
	CreateModeRestore                        = CreateMode("Restore")
	CreateModeRestoreLongTermRetentionBackup = CreateMode("RestoreLongTermRetentionBackup")
)
View Source
const (
	DatabaseEditionWeb              = DatabaseEdition("Web")
	DatabaseEditionBusiness         = DatabaseEdition("Business")
	DatabaseEditionBasic            = DatabaseEdition("Basic")
	DatabaseEditionStandard         = DatabaseEdition("Standard")
	DatabaseEditionPremium          = DatabaseEdition("Premium")
	DatabaseEditionPremiumRS        = DatabaseEdition("PremiumRS")
	DatabaseEditionFree             = DatabaseEdition("Free")
	DatabaseEditionStretch          = DatabaseEdition("Stretch")
	DatabaseEditionDataWarehouse    = DatabaseEdition("DataWarehouse")
	DatabaseEditionSystem           = DatabaseEdition("System")
	DatabaseEditionSystem2          = DatabaseEdition("System2")
	DatabaseEditionGeneralPurpose   = DatabaseEdition("GeneralPurpose")
	DatabaseEditionBusinessCritical = DatabaseEdition("BusinessCritical")
	DatabaseEditionHyperscale       = DatabaseEdition("Hyperscale")
)
View Source
const (
	ElasticPoolEditionBasic            = ElasticPoolEdition("Basic")
	ElasticPoolEditionStandard         = ElasticPoolEdition("Standard")
	ElasticPoolEditionPremium          = ElasticPoolEdition("Premium")
	ElasticPoolEditionGeneralPurpose   = ElasticPoolEdition("GeneralPurpose")
	ElasticPoolEditionBusinessCritical = ElasticPoolEdition("BusinessCritical")
)
View Source
const (
	GeoBackupPolicyStateEnumDisabled = GeoBackupPolicyStateEnum("Disabled")
	GeoBackupPolicyStateEnumEnabled  = GeoBackupPolicyStateEnum("Enabled")
)
View Source
const (
	ReadScaleEnabled  = ReadScale("Enabled")
	ReadScaleDisabled = ReadScale("Disabled")
)
View Source
const (
	SecurityAlertPolicyEmailAccountAdminsEnabled  = SecurityAlertPolicyEmailAccountAdmins("Enabled")
	SecurityAlertPolicyEmailAccountAdminsDisabled = SecurityAlertPolicyEmailAccountAdmins("Disabled")
)
View Source
const (
	SecurityAlertPolicyStateNew      = SecurityAlertPolicyState("New")
	SecurityAlertPolicyStateEnabled  = SecurityAlertPolicyState("Enabled")
	SecurityAlertPolicyStateDisabled = SecurityAlertPolicyState("Disabled")
)
View Source
const (
	SecurityAlertPolicyUseServerDefaultEnabled  = SecurityAlertPolicyUseServerDefault("Enabled")
	SecurityAlertPolicyUseServerDefaultDisabled = SecurityAlertPolicyUseServerDefault("Disabled")
)
View Source
const (
	ServerVersion_2_0  = ServerVersion("2.0")
	ServerVersion_12_0 = ServerVersion("12.0")
)
View Source
const (
	ServiceObjectiveNameSystem      = ServiceObjectiveName("System")
	ServiceObjectiveNameSystem0     = ServiceObjectiveName("System0")
	ServiceObjectiveNameSystem1     = ServiceObjectiveName("System1")
	ServiceObjectiveNameSystem2     = ServiceObjectiveName("System2")
	ServiceObjectiveNameSystem3     = ServiceObjectiveName("System3")
	ServiceObjectiveNameSystem4     = ServiceObjectiveName("System4")
	ServiceObjectiveNameSystem2L    = ServiceObjectiveName("System2L")
	ServiceObjectiveNameSystem3L    = ServiceObjectiveName("System3L")
	ServiceObjectiveNameSystem4L    = ServiceObjectiveName("System4L")
	ServiceObjectiveNameFree        = ServiceObjectiveName("Free")
	ServiceObjectiveNameBasic       = ServiceObjectiveName("Basic")
	ServiceObjectiveNameS0          = ServiceObjectiveName("S0")
	ServiceObjectiveNameS1          = ServiceObjectiveName("S1")
	ServiceObjectiveNameS2          = ServiceObjectiveName("S2")
	ServiceObjectiveNameS3          = ServiceObjectiveName("S3")
	ServiceObjectiveNameS4          = ServiceObjectiveName("S4")
	ServiceObjectiveNameS6          = ServiceObjectiveName("S6")
	ServiceObjectiveNameS7          = ServiceObjectiveName("S7")
	ServiceObjectiveNameS9          = ServiceObjectiveName("S9")
	ServiceObjectiveNameS12         = ServiceObjectiveName("S12")
	ServiceObjectiveNameP1          = ServiceObjectiveName("P1")
	ServiceObjectiveNameP2          = ServiceObjectiveName("P2")
	ServiceObjectiveNameP3          = ServiceObjectiveName("P3")
	ServiceObjectiveNameP4          = ServiceObjectiveName("P4")
	ServiceObjectiveNameP6          = ServiceObjectiveName("P6")
	ServiceObjectiveNameP11         = ServiceObjectiveName("P11")
	ServiceObjectiveNameP15         = ServiceObjectiveName("P15")
	ServiceObjectiveNamePRS1        = ServiceObjectiveName("PRS1")
	ServiceObjectiveNamePRS2        = ServiceObjectiveName("PRS2")
	ServiceObjectiveNamePRS4        = ServiceObjectiveName("PRS4")
	ServiceObjectiveNamePRS6        = ServiceObjectiveName("PRS6")
	ServiceObjectiveNameDW100       = ServiceObjectiveName("DW100")
	ServiceObjectiveNameDW200       = ServiceObjectiveName("DW200")
	ServiceObjectiveNameDW300       = ServiceObjectiveName("DW300")
	ServiceObjectiveNameDW400       = ServiceObjectiveName("DW400")
	ServiceObjectiveNameDW500       = ServiceObjectiveName("DW500")
	ServiceObjectiveNameDW600       = ServiceObjectiveName("DW600")
	ServiceObjectiveNameDW1000      = ServiceObjectiveName("DW1000")
	ServiceObjectiveNameDW1200      = ServiceObjectiveName("DW1200")
	ServiceObjectiveNameDW1000c     = ServiceObjectiveName("DW1000c")
	ServiceObjectiveNameDW1500      = ServiceObjectiveName("DW1500")
	ServiceObjectiveNameDW1500c     = ServiceObjectiveName("DW1500c")
	ServiceObjectiveNameDW2000      = ServiceObjectiveName("DW2000")
	ServiceObjectiveNameDW2000c     = ServiceObjectiveName("DW2000c")
	ServiceObjectiveNameDW3000      = ServiceObjectiveName("DW3000")
	ServiceObjectiveNameDW2500c     = ServiceObjectiveName("DW2500c")
	ServiceObjectiveNameDW3000c     = ServiceObjectiveName("DW3000c")
	ServiceObjectiveNameDW6000      = ServiceObjectiveName("DW6000")
	ServiceObjectiveNameDW5000c     = ServiceObjectiveName("DW5000c")
	ServiceObjectiveNameDW6000c     = ServiceObjectiveName("DW6000c")
	ServiceObjectiveNameDW7500c     = ServiceObjectiveName("DW7500c")
	ServiceObjectiveNameDW10000c    = ServiceObjectiveName("DW10000c")
	ServiceObjectiveNameDW15000c    = ServiceObjectiveName("DW15000c")
	ServiceObjectiveNameDW30000c    = ServiceObjectiveName("DW30000c")
	ServiceObjectiveNameDS100       = ServiceObjectiveName("DS100")
	ServiceObjectiveNameDS200       = ServiceObjectiveName("DS200")
	ServiceObjectiveNameDS300       = ServiceObjectiveName("DS300")
	ServiceObjectiveNameDS400       = ServiceObjectiveName("DS400")
	ServiceObjectiveNameDS500       = ServiceObjectiveName("DS500")
	ServiceObjectiveNameDS600       = ServiceObjectiveName("DS600")
	ServiceObjectiveNameDS1000      = ServiceObjectiveName("DS1000")
	ServiceObjectiveNameDS1200      = ServiceObjectiveName("DS1200")
	ServiceObjectiveNameDS1500      = ServiceObjectiveName("DS1500")
	ServiceObjectiveNameDS2000      = ServiceObjectiveName("DS2000")
	ServiceObjectiveNameElasticPool = ServiceObjectiveName("ElasticPool")
)
View Source
const (
	TransparentDataEncryptionStatusEnabled  = TransparentDataEncryptionStatus("Enabled")
	TransparentDataEncryptionStatusDisabled = TransparentDataEncryptionStatus("Disabled")
)
View Source
const (
	AdministratorTypeActiveDirectory = AdministratorType("ActiveDirectory")
)
View Source
const (
	SampleNameAdventureWorksLT = SampleName("AdventureWorksLT")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AdministratorType added in v0.3.1

type AdministratorType pulumi.String

The type of administrator.

func (AdministratorType) ElementType added in v0.3.1

func (AdministratorType) ElementType() reflect.Type

func (AdministratorType) ToStringOutput added in v0.3.1

func (e AdministratorType) ToStringOutput() pulumi.StringOutput

func (AdministratorType) ToStringOutputWithContext added in v0.3.1

func (e AdministratorType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (AdministratorType) ToStringPtrOutput added in v0.3.1

func (e AdministratorType) ToStringPtrOutput() pulumi.StringPtrOutput

func (AdministratorType) ToStringPtrOutputWithContext added in v0.3.1

func (e AdministratorType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type CreateMode added in v0.3.1

type CreateMode pulumi.String

Specifies the mode of database creation.

Default: regular database creation.

Copy: creates a database as a copy of an existing database. sourceDatabaseId must be specified as the resource ID of the source database.

OnlineSecondary/NonReadableSecondary: creates a database as a (readable or nonreadable) secondary replica of an existing database. sourceDatabaseId must be specified as the resource ID of the existing primary database.

PointInTimeRestore: Creates a database by restoring a point in time backup of an existing database. sourceDatabaseId must be specified as the resource ID of the existing database, and restorePointInTime must be specified.

Recovery: Creates a database by restoring a geo-replicated backup. sourceDatabaseId must be specified as the recoverable database resource ID to restore.

Restore: Creates a database by restoring a backup of a deleted database. sourceDatabaseId must be specified. If sourceDatabaseId is the database's original resource ID, then sourceDatabaseDeletionDate must be specified. Otherwise sourceDatabaseId must be the restorable dropped database resource ID and sourceDatabaseDeletionDate is ignored. restorePointInTime may also be specified to restore from an earlier point in time.

RestoreLongTermRetentionBackup: Creates a database by restoring from a long term retention vault. recoveryServicesRecoveryPointResourceId must be specified as the recovery point resource ID.

Copy, NonReadableSecondary, OnlineSecondary and RestoreLongTermRetentionBackup are not supported for DataWarehouse edition.

func (CreateMode) ElementType added in v0.3.1

func (CreateMode) ElementType() reflect.Type

func (CreateMode) ToStringOutput added in v0.3.1

func (e CreateMode) ToStringOutput() pulumi.StringOutput

func (CreateMode) ToStringOutputWithContext added in v0.3.1

func (e CreateMode) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (CreateMode) ToStringPtrOutput added in v0.3.1

func (e CreateMode) ToStringPtrOutput() pulumi.StringPtrOutput

func (CreateMode) ToStringPtrOutputWithContext added in v0.3.1

func (e CreateMode) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type Database

type Database struct {
	pulumi.CustomResourceState

	// The collation of the database. If createMode is not Default, this value is ignored.
	Collation pulumi.StringPtrOutput `pulumi:"collation"`
	// The containment state of the database.
	ContainmentState pulumi.Float64Output `pulumi:"containmentState"`
	// Specifies the mode of database creation.
	//
	// Default: regular database creation.
	//
	// Copy: creates a database as a copy of an existing database. sourceDatabaseId must be specified as the resource ID of the source database.
	//
	// OnlineSecondary/NonReadableSecondary: creates a database as a (readable or nonreadable) secondary replica of an existing database. sourceDatabaseId must be specified as the resource ID of the existing primary database.
	//
	// PointInTimeRestore: Creates a database by restoring a point in time backup of an existing database. sourceDatabaseId must be specified as the resource ID of the existing database, and restorePointInTime must be specified.
	//
	// Recovery: Creates a database by restoring a geo-replicated backup. sourceDatabaseId must be specified as the recoverable database resource ID to restore.
	//
	// Restore: Creates a database by restoring a backup of a deleted database. sourceDatabaseId must be specified. If sourceDatabaseId is the database's original resource ID, then sourceDatabaseDeletionDate must be specified. Otherwise sourceDatabaseId must be the restorable dropped database resource ID and sourceDatabaseDeletionDate is ignored. restorePointInTime may also be specified to restore from an earlier point in time.
	//
	// RestoreLongTermRetentionBackup: Creates a database by restoring from a long term retention vault. recoveryServicesRecoveryPointResourceId must be specified as the recovery point resource ID.
	//
	// Copy, NonReadableSecondary, OnlineSecondary and RestoreLongTermRetentionBackup are not supported for DataWarehouse edition.
	CreateMode pulumi.StringPtrOutput `pulumi:"createMode"`
	// The creation date of the database (ISO8601 format).
	CreationDate pulumi.StringOutput `pulumi:"creationDate"`
	// The current service level objective ID of the database. This is the ID of the service level objective that is currently active.
	CurrentServiceObjectiveId pulumi.StringOutput `pulumi:"currentServiceObjectiveId"`
	// The ID of the database.
	DatabaseId pulumi.StringOutput `pulumi:"databaseId"`
	// The default secondary region for this database.
	DefaultSecondaryLocation pulumi.StringOutput `pulumi:"defaultSecondaryLocation"`
	// This records the earliest start date and time that restore is available for this database (ISO8601 format).
	EarliestRestoreDate pulumi.StringOutput `pulumi:"earliestRestoreDate"`
	// The edition of the database. The DatabaseEditions enumeration contains all the valid editions. If createMode is NonReadableSecondary or OnlineSecondary, this value is ignored.
	//
	// 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:
	Edition pulumi.StringPtrOutput `pulumi:"edition"`
	// The name of the elastic pool the database is in. If elasticPoolName and requestedServiceObjectiveName are both updated, the value of requestedServiceObjectiveName is ignored. Not supported for DataWarehouse edition.
	ElasticPoolName pulumi.StringPtrOutput `pulumi:"elasticPoolName"`
	// The resource identifier of the failover group containing this database.
	FailoverGroupId pulumi.StringOutput `pulumi:"failoverGroupId"`
	// Kind of database.  This is metadata used for the Azure portal experience.
	Kind pulumi.StringOutput `pulumi:"kind"`
	// Resource location.
	Location pulumi.StringOutput `pulumi:"location"`
	// The max size of the database expressed in bytes. If createMode is not Default, this value is ignored. To see possible values, query the capabilities API (/subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationID}/capabilities) referred to by operationId: "Capabilities_ListByLocation."
	MaxSizeBytes pulumi.StringPtrOutput `pulumi:"maxSizeBytes"`
	// Resource name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Conditional. If the database is a geo-secondary, readScale indicates whether read-only connections are allowed to this database or not. Not supported for DataWarehouse edition.
	ReadScale pulumi.StringPtrOutput `pulumi:"readScale"`
	// The recommended indices for this database.
	RecommendedIndex RecommendedIndexResponseArrayOutput `pulumi:"recommendedIndex"`
	// Conditional. If createMode is RestoreLongTermRetentionBackup, then this value is required. Specifies the resource ID of the recovery point to restore from.
	RecoveryServicesRecoveryPointResourceId pulumi.StringPtrOutput `pulumi:"recoveryServicesRecoveryPointResourceId"`
	// The configured service level objective ID of the database. This is the service level objective that is in the process of being applied to the database. Once successfully updated, it will match the value of currentServiceObjectiveId property. If requestedServiceObjectiveId and requestedServiceObjectiveName are both updated, the value of requestedServiceObjectiveId overrides the value of requestedServiceObjectiveName.
	//
	// The list of SKUs may vary by region and support offer. To determine the service objective ids that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API.
	RequestedServiceObjectiveId pulumi.StringPtrOutput `pulumi:"requestedServiceObjectiveId"`
	// The name of the configured service level objective of the database. This is the service level objective that is in the process of being applied to the database. Once successfully updated, it will match the value of serviceLevelObjective property.
	//
	// 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:
	RequestedServiceObjectiveName pulumi.StringPtrOutput `pulumi:"requestedServiceObjectiveName"`
	// Conditional. If createMode is PointInTimeRestore, this value is required. If createMode is Restore, this value is optional. Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database. Must be greater than or equal to the source database's earliestRestoreDate value.
	RestorePointInTime pulumi.StringPtrOutput `pulumi:"restorePointInTime"`
	// Indicates the name of the sample schema to apply when creating this database. If createMode is not Default, this value is ignored. Not supported for DataWarehouse edition.
	SampleName pulumi.StringPtrOutput `pulumi:"sampleName"`
	// The current service level objective of the database.
	ServiceLevelObjective pulumi.StringOutput `pulumi:"serviceLevelObjective"`
	// The list of service tier advisors for this database. Expanded property
	ServiceTierAdvisors ServiceTierAdvisorResponseArrayOutput `pulumi:"serviceTierAdvisors"`
	// Conditional. If createMode is Restore and sourceDatabaseId is the deleted database's original resource id when it existed (as opposed to its current restorable dropped database id), then this value is required. Specifies the time that the database was deleted.
	SourceDatabaseDeletionDate pulumi.StringPtrOutput `pulumi:"sourceDatabaseDeletionDate"`
	// Conditional. If createMode is Copy, NonReadableSecondary, OnlineSecondary, PointInTimeRestore, Recovery, or Restore, then this value is required. Specifies the resource ID of the source database. If createMode is NonReadableSecondary or OnlineSecondary, the name of the source database must be the same as the new database being created.
	SourceDatabaseId pulumi.StringPtrOutput `pulumi:"sourceDatabaseId"`
	// The status of the database.
	Status pulumi.StringOutput `pulumi:"status"`
	// Resource tags.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The transparent data encryption info for this database.
	TransparentDataEncryption TransparentDataEncryptionResponseArrayOutput `pulumi:"transparentDataEncryption"`
	// Resource type.
	Type pulumi.StringOutput `pulumi:"type"`
	// Whether or not this database is zone redundant, which means the replicas of this database will be spread across multiple availability zones.
	ZoneRedundant pulumi.BoolPtrOutput `pulumi:"zoneRedundant"`
}

Represents a database.

func GetDatabase

func GetDatabase(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatabaseState, opts ...pulumi.ResourceOption) (*Database, error)

GetDatabase gets an existing Database resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDatabase

func NewDatabase(ctx *pulumi.Context,
	name string, args *DatabaseArgs, opts ...pulumi.ResourceOption) (*Database, error)

NewDatabase registers a new resource with the given unique name, arguments, and options.

func (*Database) ElementType added in v0.2.6

func (*Database) ElementType() reflect.Type

func (*Database) ToDatabaseOutput added in v0.2.6

func (i *Database) ToDatabaseOutput() DatabaseOutput

func (*Database) ToDatabaseOutputWithContext added in v0.2.6

func (i *Database) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput

type DatabaseArgs

type DatabaseArgs struct {
	// The collation of the database. If createMode is not Default, this value is ignored.
	Collation pulumi.StringPtrInput
	// Specifies the mode of database creation.
	//
	// Default: regular database creation.
	//
	// Copy: creates a database as a copy of an existing database. sourceDatabaseId must be specified as the resource ID of the source database.
	//
	// OnlineSecondary/NonReadableSecondary: creates a database as a (readable or nonreadable) secondary replica of an existing database. sourceDatabaseId must be specified as the resource ID of the existing primary database.
	//
	// PointInTimeRestore: Creates a database by restoring a point in time backup of an existing database. sourceDatabaseId must be specified as the resource ID of the existing database, and restorePointInTime must be specified.
	//
	// Recovery: Creates a database by restoring a geo-replicated backup. sourceDatabaseId must be specified as the recoverable database resource ID to restore.
	//
	// Restore: Creates a database by restoring a backup of a deleted database. sourceDatabaseId must be specified. If sourceDatabaseId is the database's original resource ID, then sourceDatabaseDeletionDate must be specified. Otherwise sourceDatabaseId must be the restorable dropped database resource ID and sourceDatabaseDeletionDate is ignored. restorePointInTime may also be specified to restore from an earlier point in time.
	//
	// RestoreLongTermRetentionBackup: Creates a database by restoring from a long term retention vault. recoveryServicesRecoveryPointResourceId must be specified as the recovery point resource ID.
	//
	// Copy, NonReadableSecondary, OnlineSecondary and RestoreLongTermRetentionBackup are not supported for DataWarehouse edition.
	CreateMode pulumi.StringPtrInput
	// The name of the database to be operated on (updated or created).
	DatabaseName pulumi.StringInput
	// The edition of the database. The DatabaseEditions enumeration contains all the valid editions. If createMode is NonReadableSecondary or OnlineSecondary, this value is ignored.
	//
	// 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:
	Edition pulumi.StringPtrInput
	// The name of the elastic pool the database is in. If elasticPoolName and requestedServiceObjectiveName are both updated, the value of requestedServiceObjectiveName is ignored. Not supported for DataWarehouse edition.
	ElasticPoolName pulumi.StringPtrInput
	// Resource location.
	Location pulumi.StringPtrInput
	// The max size of the database expressed in bytes. If createMode is not Default, this value is ignored. To see possible values, query the capabilities API (/subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationID}/capabilities) referred to by operationId: "Capabilities_ListByLocation."
	MaxSizeBytes pulumi.StringPtrInput
	// Conditional. If the database is a geo-secondary, readScale indicates whether read-only connections are allowed to this database or not. Not supported for DataWarehouse edition.
	ReadScale pulumi.StringPtrInput
	// Conditional. If createMode is RestoreLongTermRetentionBackup, then this value is required. Specifies the resource ID of the recovery point to restore from.
	RecoveryServicesRecoveryPointResourceId pulumi.StringPtrInput
	// The configured service level objective ID of the database. This is the service level objective that is in the process of being applied to the database. Once successfully updated, it will match the value of currentServiceObjectiveId property. If requestedServiceObjectiveId and requestedServiceObjectiveName are both updated, the value of requestedServiceObjectiveId overrides the value of requestedServiceObjectiveName.
	//
	// The list of SKUs may vary by region and support offer. To determine the service objective ids that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API.
	RequestedServiceObjectiveId pulumi.StringPtrInput
	// The name of the configured service level objective of the database. This is the service level objective that is in the process of being applied to the database. Once successfully updated, it will match the value of serviceLevelObjective property.
	//
	// 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:
	RequestedServiceObjectiveName pulumi.StringPtrInput
	// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
	ResourceGroupName pulumi.StringInput
	// Conditional. If createMode is PointInTimeRestore, this value is required. If createMode is Restore, this value is optional. Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database. Must be greater than or equal to the source database's earliestRestoreDate value.
	RestorePointInTime pulumi.StringPtrInput
	// Indicates the name of the sample schema to apply when creating this database. If createMode is not Default, this value is ignored. Not supported for DataWarehouse edition.
	SampleName pulumi.StringPtrInput
	// The name of the server.
	ServerName pulumi.StringInput
	// Conditional. If createMode is Restore and sourceDatabaseId is the deleted database's original resource id when it existed (as opposed to its current restorable dropped database id), then this value is required. Specifies the time that the database was deleted.
	SourceDatabaseDeletionDate pulumi.StringPtrInput
	// Conditional. If createMode is Copy, NonReadableSecondary, OnlineSecondary, PointInTimeRestore, Recovery, or Restore, then this value is required. Specifies the resource ID of the source database. If createMode is NonReadableSecondary or OnlineSecondary, the name of the source database must be the same as the new database being created.
	SourceDatabaseId pulumi.StringPtrInput
	// Resource tags.
	Tags pulumi.StringMapInput
	// Whether or not this database is zone redundant, which means the replicas of this database will be spread across multiple availability zones.
	ZoneRedundant pulumi.BoolPtrInput
}

The set of arguments for constructing a Database resource.

func (DatabaseArgs) ElementType

func (DatabaseArgs) ElementType() reflect.Type

type DatabaseEdition added in v0.3.1

type DatabaseEdition pulumi.String

The edition of the database. The DatabaseEditions enumeration contains all the valid editions. If createMode is NonReadableSecondary or OnlineSecondary, this value is ignored.

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:

func (DatabaseEdition) ElementType added in v0.3.1

func (DatabaseEdition) ElementType() reflect.Type

func (DatabaseEdition) ToStringOutput added in v0.3.1

func (e DatabaseEdition) ToStringOutput() pulumi.StringOutput

func (DatabaseEdition) ToStringOutputWithContext added in v0.3.1

func (e DatabaseEdition) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (DatabaseEdition) ToStringPtrOutput added in v0.3.1

func (e DatabaseEdition) ToStringPtrOutput() pulumi.StringPtrOutput

func (DatabaseEdition) ToStringPtrOutputWithContext added in v0.3.1

func (e DatabaseEdition) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type DatabaseInput added in v0.2.6

type DatabaseInput interface {
	pulumi.Input

	ToDatabaseOutput() DatabaseOutput
	ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput
}

type DatabaseOutput added in v0.2.6

type DatabaseOutput struct {
	*pulumi.OutputState
}

func (DatabaseOutput) ElementType added in v0.2.6

func (DatabaseOutput) ElementType() reflect.Type

func (DatabaseOutput) ToDatabaseOutput added in v0.2.6

func (o DatabaseOutput) ToDatabaseOutput() DatabaseOutput

func (DatabaseOutput) ToDatabaseOutputWithContext added in v0.2.6

func (o DatabaseOutput) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput

type DatabaseState

type DatabaseState struct {
	// The collation of the database. If createMode is not Default, this value is ignored.
	Collation pulumi.StringPtrInput
	// The containment state of the database.
	ContainmentState pulumi.Float64PtrInput
	// Specifies the mode of database creation.
	//
	// Default: regular database creation.
	//
	// Copy: creates a database as a copy of an existing database. sourceDatabaseId must be specified as the resource ID of the source database.
	//
	// OnlineSecondary/NonReadableSecondary: creates a database as a (readable or nonreadable) secondary replica of an existing database. sourceDatabaseId must be specified as the resource ID of the existing primary database.
	//
	// PointInTimeRestore: Creates a database by restoring a point in time backup of an existing database. sourceDatabaseId must be specified as the resource ID of the existing database, and restorePointInTime must be specified.
	//
	// Recovery: Creates a database by restoring a geo-replicated backup. sourceDatabaseId must be specified as the recoverable database resource ID to restore.
	//
	// Restore: Creates a database by restoring a backup of a deleted database. sourceDatabaseId must be specified. If sourceDatabaseId is the database's original resource ID, then sourceDatabaseDeletionDate must be specified. Otherwise sourceDatabaseId must be the restorable dropped database resource ID and sourceDatabaseDeletionDate is ignored. restorePointInTime may also be specified to restore from an earlier point in time.
	//
	// RestoreLongTermRetentionBackup: Creates a database by restoring from a long term retention vault. recoveryServicesRecoveryPointResourceId must be specified as the recovery point resource ID.
	//
	// Copy, NonReadableSecondary, OnlineSecondary and RestoreLongTermRetentionBackup are not supported for DataWarehouse edition.
	CreateMode pulumi.StringPtrInput
	// The creation date of the database (ISO8601 format).
	CreationDate pulumi.StringPtrInput
	// The current service level objective ID of the database. This is the ID of the service level objective that is currently active.
	CurrentServiceObjectiveId pulumi.StringPtrInput
	// The ID of the database.
	DatabaseId pulumi.StringPtrInput
	// The default secondary region for this database.
	DefaultSecondaryLocation pulumi.StringPtrInput
	// This records the earliest start date and time that restore is available for this database (ISO8601 format).
	EarliestRestoreDate pulumi.StringPtrInput
	// The edition of the database. The DatabaseEditions enumeration contains all the valid editions. If createMode is NonReadableSecondary or OnlineSecondary, this value is ignored.
	//
	// 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:
	Edition pulumi.StringPtrInput
	// The name of the elastic pool the database is in. If elasticPoolName and requestedServiceObjectiveName are both updated, the value of requestedServiceObjectiveName is ignored. Not supported for DataWarehouse edition.
	ElasticPoolName pulumi.StringPtrInput
	// The resource identifier of the failover group containing this database.
	FailoverGroupId pulumi.StringPtrInput
	// Kind of database.  This is metadata used for the Azure portal experience.
	Kind pulumi.StringPtrInput
	// Resource location.
	Location pulumi.StringPtrInput
	// The max size of the database expressed in bytes. If createMode is not Default, this value is ignored. To see possible values, query the capabilities API (/subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationID}/capabilities) referred to by operationId: "Capabilities_ListByLocation."
	MaxSizeBytes pulumi.StringPtrInput
	// Resource name.
	Name pulumi.StringPtrInput
	// Conditional. If the database is a geo-secondary, readScale indicates whether read-only connections are allowed to this database or not. Not supported for DataWarehouse edition.
	ReadScale pulumi.StringPtrInput
	// The recommended indices for this database.
	RecommendedIndex RecommendedIndexResponseArrayInput
	// Conditional. If createMode is RestoreLongTermRetentionBackup, then this value is required. Specifies the resource ID of the recovery point to restore from.
	RecoveryServicesRecoveryPointResourceId pulumi.StringPtrInput
	// The configured service level objective ID of the database. This is the service level objective that is in the process of being applied to the database. Once successfully updated, it will match the value of currentServiceObjectiveId property. If requestedServiceObjectiveId and requestedServiceObjectiveName are both updated, the value of requestedServiceObjectiveId overrides the value of requestedServiceObjectiveName.
	//
	// The list of SKUs may vary by region and support offer. To determine the service objective ids that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API.
	RequestedServiceObjectiveId pulumi.StringPtrInput
	// The name of the configured service level objective of the database. This is the service level objective that is in the process of being applied to the database. Once successfully updated, it will match the value of serviceLevelObjective property.
	//
	// 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:
	RequestedServiceObjectiveName pulumi.StringPtrInput
	// Conditional. If createMode is PointInTimeRestore, this value is required. If createMode is Restore, this value is optional. Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database. Must be greater than or equal to the source database's earliestRestoreDate value.
	RestorePointInTime pulumi.StringPtrInput
	// Indicates the name of the sample schema to apply when creating this database. If createMode is not Default, this value is ignored. Not supported for DataWarehouse edition.
	SampleName pulumi.StringPtrInput
	// The current service level objective of the database.
	ServiceLevelObjective pulumi.StringPtrInput
	// The list of service tier advisors for this database. Expanded property
	ServiceTierAdvisors ServiceTierAdvisorResponseArrayInput
	// Conditional. If createMode is Restore and sourceDatabaseId is the deleted database's original resource id when it existed (as opposed to its current restorable dropped database id), then this value is required. Specifies the time that the database was deleted.
	SourceDatabaseDeletionDate pulumi.StringPtrInput
	// Conditional. If createMode is Copy, NonReadableSecondary, OnlineSecondary, PointInTimeRestore, Recovery, or Restore, then this value is required. Specifies the resource ID of the source database. If createMode is NonReadableSecondary or OnlineSecondary, the name of the source database must be the same as the new database being created.
	SourceDatabaseId pulumi.StringPtrInput
	// The status of the database.
	Status pulumi.StringPtrInput
	// Resource tags.
	Tags pulumi.StringMapInput
	// The transparent data encryption info for this database.
	TransparentDataEncryption TransparentDataEncryptionResponseArrayInput
	// Resource type.
	Type pulumi.StringPtrInput
	// Whether or not this database is zone redundant, which means the replicas of this database will be spread across multiple availability zones.
	ZoneRedundant pulumi.BoolPtrInput
}

func (DatabaseState) ElementType

func (DatabaseState) ElementType() reflect.Type

type DatabaseThreatDetectionPolicy added in v0.6.0

type DatabaseThreatDetectionPolicy struct {
	pulumi.CustomResourceState

	// Specifies the semicolon-separated list of alerts that are disabled, or empty string to disable no alerts. Possible values: Sql_Injection; Sql_Injection_Vulnerability; Access_Anomaly; Data_Exfiltration; Unsafe_Action.
	DisabledAlerts pulumi.StringPtrOutput `pulumi:"disabledAlerts"`
	// Specifies that the alert is sent to the account administrators.
	EmailAccountAdmins pulumi.StringPtrOutput `pulumi:"emailAccountAdmins"`
	// Specifies the semicolon-separated list of e-mail addresses to which the alert is sent.
	EmailAddresses pulumi.StringPtrOutput `pulumi:"emailAddresses"`
	// Resource kind.
	Kind pulumi.StringOutput `pulumi:"kind"`
	// The geo-location where the resource lives
	Location pulumi.StringPtrOutput `pulumi:"location"`
	// Resource name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the number of days to keep in the Threat Detection audit logs.
	RetentionDays pulumi.IntPtrOutput `pulumi:"retentionDays"`
	// Specifies the state of the policy. If state is Enabled, storageEndpoint and storageAccountAccessKey are required.
	State pulumi.StringOutput `pulumi:"state"`
	// Specifies the identifier key of the Threat Detection audit storage account. If state is Enabled, storageAccountAccessKey is required.
	StorageAccountAccessKey pulumi.StringPtrOutput `pulumi:"storageAccountAccessKey"`
	// Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. If state is Enabled, storageEndpoint is required.
	StorageEndpoint pulumi.StringPtrOutput `pulumi:"storageEndpoint"`
	// Resource type.
	Type pulumi.StringOutput `pulumi:"type"`
	// Specifies whether to use the default server policy.
	UseServerDefault pulumi.StringPtrOutput `pulumi:"useServerDefault"`
}

Contains information about a database Threat Detection policy.

func GetDatabaseThreatDetectionPolicy added in v0.6.0

func GetDatabaseThreatDetectionPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatabaseThreatDetectionPolicyState, opts ...pulumi.ResourceOption) (*DatabaseThreatDetectionPolicy, error)

GetDatabaseThreatDetectionPolicy gets an existing DatabaseThreatDetectionPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDatabaseThreatDetectionPolicy added in v0.6.0

func NewDatabaseThreatDetectionPolicy(ctx *pulumi.Context,
	name string, args *DatabaseThreatDetectionPolicyArgs, opts ...pulumi.ResourceOption) (*DatabaseThreatDetectionPolicy, error)

NewDatabaseThreatDetectionPolicy registers a new resource with the given unique name, arguments, and options.

func (*DatabaseThreatDetectionPolicy) ElementType added in v0.6.0

func (*DatabaseThreatDetectionPolicy) ToDatabaseThreatDetectionPolicyOutput added in v0.6.0

func (i *DatabaseThreatDetectionPolicy) ToDatabaseThreatDetectionPolicyOutput() DatabaseThreatDetectionPolicyOutput

func (*DatabaseThreatDetectionPolicy) ToDatabaseThreatDetectionPolicyOutputWithContext added in v0.6.0

func (i *DatabaseThreatDetectionPolicy) ToDatabaseThreatDetectionPolicyOutputWithContext(ctx context.Context) DatabaseThreatDetectionPolicyOutput

type DatabaseThreatDetectionPolicyArgs added in v0.6.0

type DatabaseThreatDetectionPolicyArgs struct {
	// The name of the database for which database Threat Detection policy is defined.
	DatabaseName pulumi.StringInput
	// Specifies the semicolon-separated list of alerts that are disabled, or empty string to disable no alerts. Possible values: Sql_Injection; Sql_Injection_Vulnerability; Access_Anomaly; Data_Exfiltration; Unsafe_Action.
	DisabledAlerts pulumi.StringPtrInput
	// Specifies that the alert is sent to the account administrators.
	EmailAccountAdmins pulumi.StringPtrInput
	// Specifies the semicolon-separated list of e-mail addresses to which the alert is sent.
	EmailAddresses pulumi.StringPtrInput
	// The geo-location where the resource lives
	Location pulumi.StringPtrInput
	// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
	ResourceGroupName pulumi.StringInput
	// Specifies the number of days to keep in the Threat Detection audit logs.
	RetentionDays pulumi.IntPtrInput
	// The name of the security alert policy.
	SecurityAlertPolicyName pulumi.StringInput
	// The name of the server.
	ServerName pulumi.StringInput
	// Specifies the state of the policy. If state is Enabled, storageEndpoint and storageAccountAccessKey are required.
	State pulumi.StringInput
	// Specifies the identifier key of the Threat Detection audit storage account. If state is Enabled, storageAccountAccessKey is required.
	StorageAccountAccessKey pulumi.StringPtrInput
	// Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. If state is Enabled, storageEndpoint is required.
	StorageEndpoint pulumi.StringPtrInput
	// Specifies whether to use the default server policy.
	UseServerDefault pulumi.StringPtrInput
}

The set of arguments for constructing a DatabaseThreatDetectionPolicy resource.

func (DatabaseThreatDetectionPolicyArgs) ElementType added in v0.6.0

type DatabaseThreatDetectionPolicyInput added in v0.6.0

type DatabaseThreatDetectionPolicyInput interface {
	pulumi.Input

	ToDatabaseThreatDetectionPolicyOutput() DatabaseThreatDetectionPolicyOutput
	ToDatabaseThreatDetectionPolicyOutputWithContext(ctx context.Context) DatabaseThreatDetectionPolicyOutput
}

type DatabaseThreatDetectionPolicyOutput added in v0.6.0

type DatabaseThreatDetectionPolicyOutput struct {
	*pulumi.OutputState
}

func (DatabaseThreatDetectionPolicyOutput) ElementType added in v0.6.0

func (DatabaseThreatDetectionPolicyOutput) ToDatabaseThreatDetectionPolicyOutput added in v0.6.0

func (o DatabaseThreatDetectionPolicyOutput) ToDatabaseThreatDetectionPolicyOutput() DatabaseThreatDetectionPolicyOutput

func (DatabaseThreatDetectionPolicyOutput) ToDatabaseThreatDetectionPolicyOutputWithContext added in v0.6.0

func (o DatabaseThreatDetectionPolicyOutput) ToDatabaseThreatDetectionPolicyOutputWithContext(ctx context.Context) DatabaseThreatDetectionPolicyOutput

type DatabaseThreatDetectionPolicyState added in v0.6.0

type DatabaseThreatDetectionPolicyState struct {
	// Specifies the semicolon-separated list of alerts that are disabled, or empty string to disable no alerts. Possible values: Sql_Injection; Sql_Injection_Vulnerability; Access_Anomaly; Data_Exfiltration; Unsafe_Action.
	DisabledAlerts pulumi.StringPtrInput
	// Specifies that the alert is sent to the account administrators.
	EmailAccountAdmins pulumi.StringPtrInput
	// Specifies the semicolon-separated list of e-mail addresses to which the alert is sent.
	EmailAddresses pulumi.StringPtrInput
	// Resource kind.
	Kind pulumi.StringPtrInput
	// The geo-location where the resource lives
	Location pulumi.StringPtrInput
	// Resource name.
	Name pulumi.StringPtrInput
	// Specifies the number of days to keep in the Threat Detection audit logs.
	RetentionDays pulumi.IntPtrInput
	// Specifies the state of the policy. If state is Enabled, storageEndpoint and storageAccountAccessKey are required.
	State pulumi.StringPtrInput
	// Specifies the identifier key of the Threat Detection audit storage account. If state is Enabled, storageAccountAccessKey is required.
	StorageAccountAccessKey pulumi.StringPtrInput
	// Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. If state is Enabled, storageEndpoint is required.
	StorageEndpoint pulumi.StringPtrInput
	// Resource type.
	Type pulumi.StringPtrInput
	// Specifies whether to use the default server policy.
	UseServerDefault pulumi.StringPtrInput
}

func (DatabaseThreatDetectionPolicyState) ElementType added in v0.6.0

type DisasterRecoveryConfiguration

type DisasterRecoveryConfiguration struct {
	pulumi.CustomResourceState

	// Whether or not failover can be done automatically.
	AutoFailover pulumi.StringOutput `pulumi:"autoFailover"`
	// How aggressive the automatic failover should be.
	FailoverPolicy pulumi.StringOutput `pulumi:"failoverPolicy"`
	// Location of the server that contains this disaster recovery configuration.
	Location pulumi.StringOutput `pulumi:"location"`
	// Logical name of the server.
	LogicalServerName pulumi.StringOutput `pulumi:"logicalServerName"`
	// Resource name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Logical name of the partner server.
	PartnerLogicalServerName pulumi.StringOutput `pulumi:"partnerLogicalServerName"`
	// Id of the partner server.
	PartnerServerId pulumi.StringOutput `pulumi:"partnerServerId"`
	// The role of the current server in the disaster recovery configuration.
	Role pulumi.StringOutput `pulumi:"role"`
	// The status of the disaster recovery configuration.
	Status pulumi.StringOutput `pulumi:"status"`
	// Resource type.
	Type pulumi.StringOutput `pulumi:"type"`
}

Represents a disaster recovery configuration.

func GetDisasterRecoveryConfiguration

func GetDisasterRecoveryConfiguration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DisasterRecoveryConfigurationState, opts ...pulumi.ResourceOption) (*DisasterRecoveryConfiguration, error)

GetDisasterRecoveryConfiguration gets an existing DisasterRecoveryConfiguration resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDisasterRecoveryConfiguration

func NewDisasterRecoveryConfiguration(ctx *pulumi.Context,
	name string, args *DisasterRecoveryConfigurationArgs, opts ...pulumi.ResourceOption) (*DisasterRecoveryConfiguration, error)

NewDisasterRecoveryConfiguration registers a new resource with the given unique name, arguments, and options.

func (*DisasterRecoveryConfiguration) ElementType added in v0.2.6

func (*DisasterRecoveryConfiguration) ToDisasterRecoveryConfigurationOutput added in v0.2.6

func (i *DisasterRecoveryConfiguration) ToDisasterRecoveryConfigurationOutput() DisasterRecoveryConfigurationOutput

func (*DisasterRecoveryConfiguration) ToDisasterRecoveryConfigurationOutputWithContext added in v0.2.6

func (i *DisasterRecoveryConfiguration) ToDisasterRecoveryConfigurationOutputWithContext(ctx context.Context) DisasterRecoveryConfigurationOutput

type DisasterRecoveryConfigurationArgs

type DisasterRecoveryConfigurationArgs struct {
	// The name of the disaster recovery configuration to be created/updated.
	DisasterRecoveryConfigurationName pulumi.StringInput
	// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
	ResourceGroupName pulumi.StringInput
	// The name of the server.
	ServerName pulumi.StringInput
}

The set of arguments for constructing a DisasterRecoveryConfiguration resource.

func (DisasterRecoveryConfigurationArgs) ElementType

type DisasterRecoveryConfigurationInput added in v0.2.6

type DisasterRecoveryConfigurationInput interface {
	pulumi.Input

	ToDisasterRecoveryConfigurationOutput() DisasterRecoveryConfigurationOutput
	ToDisasterRecoveryConfigurationOutputWithContext(ctx context.Context) DisasterRecoveryConfigurationOutput
}

type DisasterRecoveryConfigurationOutput added in v0.2.6

type DisasterRecoveryConfigurationOutput struct {
	*pulumi.OutputState
}

func (DisasterRecoveryConfigurationOutput) ElementType added in v0.2.6

func (DisasterRecoveryConfigurationOutput) ToDisasterRecoveryConfigurationOutput added in v0.2.6

func (o DisasterRecoveryConfigurationOutput) ToDisasterRecoveryConfigurationOutput() DisasterRecoveryConfigurationOutput

func (DisasterRecoveryConfigurationOutput) ToDisasterRecoveryConfigurationOutputWithContext added in v0.2.6

func (o DisasterRecoveryConfigurationOutput) ToDisasterRecoveryConfigurationOutputWithContext(ctx context.Context) DisasterRecoveryConfigurationOutput

type DisasterRecoveryConfigurationState

type DisasterRecoveryConfigurationState struct {
	// Whether or not failover can be done automatically.
	AutoFailover pulumi.StringPtrInput
	// How aggressive the automatic failover should be.
	FailoverPolicy pulumi.StringPtrInput
	// Location of the server that contains this disaster recovery configuration.
	Location pulumi.StringPtrInput
	// Logical name of the server.
	LogicalServerName pulumi.StringPtrInput
	// Resource name.
	Name pulumi.StringPtrInput
	// Logical name of the partner server.
	PartnerLogicalServerName pulumi.StringPtrInput
	// Id of the partner server.
	PartnerServerId pulumi.StringPtrInput
	// The role of the current server in the disaster recovery configuration.
	Role pulumi.StringPtrInput
	// The status of the disaster recovery configuration.
	Status pulumi.StringPtrInput
	// Resource type.
	Type pulumi.StringPtrInput
}

func (DisasterRecoveryConfigurationState) ElementType

type ElasticPool

type ElasticPool struct {
	pulumi.CustomResourceState

	// The creation date of the elastic pool (ISO8601 format).
	CreationDate pulumi.StringOutput `pulumi:"creationDate"`
	// The maximum DTU any one database can consume.
	DatabaseDtuMax pulumi.IntPtrOutput `pulumi:"databaseDtuMax"`
	// The minimum DTU all databases are guaranteed.
	DatabaseDtuMin pulumi.IntPtrOutput `pulumi:"databaseDtuMin"`
	// The total shared DTU for the database elastic pool.
	Dtu pulumi.IntPtrOutput `pulumi:"dtu"`
	// The edition of the elastic pool.
	Edition pulumi.StringPtrOutput `pulumi:"edition"`
	// Kind of elastic pool.  This is metadata used for the Azure portal experience.
	Kind pulumi.StringOutput `pulumi:"kind"`
	// Resource location.
	Location pulumi.StringOutput `pulumi:"location"`
	// Resource name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The state of the elastic pool.
	State pulumi.StringOutput `pulumi:"state"`
	// Gets storage limit for the database elastic pool in MB.
	StorageMB pulumi.IntPtrOutput `pulumi:"storageMB"`
	// Resource tags.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Resource type.
	Type pulumi.StringOutput `pulumi:"type"`
	// Whether or not this database elastic pool is zone redundant, which means the replicas of this database will be spread across multiple availability zones.
	ZoneRedundant pulumi.BoolPtrOutput `pulumi:"zoneRedundant"`
}

Represents a database elastic pool.

func GetElasticPool

func GetElasticPool(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ElasticPoolState, opts ...pulumi.ResourceOption) (*ElasticPool, error)

GetElasticPool gets an existing ElasticPool resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewElasticPool

func NewElasticPool(ctx *pulumi.Context,
	name string, args *ElasticPoolArgs, opts ...pulumi.ResourceOption) (*ElasticPool, error)

NewElasticPool registers a new resource with the given unique name, arguments, and options.

func (*ElasticPool) ElementType added in v0.2.6

func (*ElasticPool) ElementType() reflect.Type

func (*ElasticPool) ToElasticPoolOutput added in v0.2.6

func (i *ElasticPool) ToElasticPoolOutput() ElasticPoolOutput

func (*ElasticPool) ToElasticPoolOutputWithContext added in v0.2.6

func (i *ElasticPool) ToElasticPoolOutputWithContext(ctx context.Context) ElasticPoolOutput

type ElasticPoolArgs

type ElasticPoolArgs struct {
	// The maximum DTU any one database can consume.
	DatabaseDtuMax pulumi.IntPtrInput
	// The minimum DTU all databases are guaranteed.
	DatabaseDtuMin pulumi.IntPtrInput
	// The total shared DTU for the database elastic pool.
	Dtu pulumi.IntPtrInput
	// The edition of the elastic pool.
	Edition pulumi.StringPtrInput
	// The name of the elastic pool to be operated on (updated or created).
	ElasticPoolName pulumi.StringInput
	// Resource location.
	Location pulumi.StringPtrInput
	// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
	ResourceGroupName pulumi.StringInput
	// The name of the server.
	ServerName pulumi.StringInput
	// Gets storage limit for the database elastic pool in MB.
	StorageMB pulumi.IntPtrInput
	// Resource tags.
	Tags pulumi.StringMapInput
	// Whether or not this database elastic pool is zone redundant, which means the replicas of this database will be spread across multiple availability zones.
	ZoneRedundant pulumi.BoolPtrInput
}

The set of arguments for constructing a ElasticPool resource.

func (ElasticPoolArgs) ElementType

func (ElasticPoolArgs) ElementType() reflect.Type

type ElasticPoolEdition added in v0.3.1

type ElasticPoolEdition pulumi.String

The edition of the elastic pool.

func (ElasticPoolEdition) ElementType added in v0.3.1

func (ElasticPoolEdition) ElementType() reflect.Type

func (ElasticPoolEdition) ToStringOutput added in v0.3.1

func (e ElasticPoolEdition) ToStringOutput() pulumi.StringOutput

func (ElasticPoolEdition) ToStringOutputWithContext added in v0.3.1

func (e ElasticPoolEdition) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (ElasticPoolEdition) ToStringPtrOutput added in v0.3.1

func (e ElasticPoolEdition) ToStringPtrOutput() pulumi.StringPtrOutput

func (ElasticPoolEdition) ToStringPtrOutputWithContext added in v0.3.1

func (e ElasticPoolEdition) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ElasticPoolInput added in v0.2.6

type ElasticPoolInput interface {
	pulumi.Input

	ToElasticPoolOutput() ElasticPoolOutput
	ToElasticPoolOutputWithContext(ctx context.Context) ElasticPoolOutput
}

type ElasticPoolOutput added in v0.2.6

type ElasticPoolOutput struct {
	*pulumi.OutputState
}

func (ElasticPoolOutput) ElementType added in v0.2.6

func (ElasticPoolOutput) ElementType() reflect.Type

func (ElasticPoolOutput) ToElasticPoolOutput added in v0.2.6

func (o ElasticPoolOutput) ToElasticPoolOutput() ElasticPoolOutput

func (ElasticPoolOutput) ToElasticPoolOutputWithContext added in v0.2.6

func (o ElasticPoolOutput) ToElasticPoolOutputWithContext(ctx context.Context) ElasticPoolOutput

type ElasticPoolState

type ElasticPoolState struct {
	// The creation date of the elastic pool (ISO8601 format).
	CreationDate pulumi.StringPtrInput
	// The maximum DTU any one database can consume.
	DatabaseDtuMax pulumi.IntPtrInput
	// The minimum DTU all databases are guaranteed.
	DatabaseDtuMin pulumi.IntPtrInput
	// The total shared DTU for the database elastic pool.
	Dtu pulumi.IntPtrInput
	// The edition of the elastic pool.
	Edition pulumi.StringPtrInput
	// Kind of elastic pool.  This is metadata used for the Azure portal experience.
	Kind pulumi.StringPtrInput
	// Resource location.
	Location pulumi.StringPtrInput
	// Resource name.
	Name pulumi.StringPtrInput
	// The state of the elastic pool.
	State pulumi.StringPtrInput
	// Gets storage limit for the database elastic pool in MB.
	StorageMB pulumi.IntPtrInput
	// Resource tags.
	Tags pulumi.StringMapInput
	// Resource type.
	Type pulumi.StringPtrInput
	// Whether or not this database elastic pool is zone redundant, which means the replicas of this database will be spread across multiple availability zones.
	ZoneRedundant pulumi.BoolPtrInput
}

func (ElasticPoolState) ElementType

func (ElasticPoolState) ElementType() reflect.Type

type FirewallRule

type FirewallRule struct {
	pulumi.CustomResourceState

	// The end IP address of the firewall rule. Must be IPv4 format. Must be greater than or equal to startIpAddress. Use value '0.0.0.0' to represent all Azure-internal IP addresses.
	EndIpAddress pulumi.StringOutput `pulumi:"endIpAddress"`
	// Kind of server that contains this firewall rule.
	Kind pulumi.StringOutput `pulumi:"kind"`
	// Location of the server that contains this firewall rule.
	Location pulumi.StringOutput `pulumi:"location"`
	// Resource name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The start IP address of the firewall rule. Must be IPv4 format. Use value '0.0.0.0' to represent all Azure-internal IP addresses.
	StartIpAddress pulumi.StringOutput `pulumi:"startIpAddress"`
	// Resource type.
	Type pulumi.StringOutput `pulumi:"type"`
}

Represents a server firewall rule.

func GetFirewallRule

func GetFirewallRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FirewallRuleState, opts ...pulumi.ResourceOption) (*FirewallRule, error)

GetFirewallRule gets an existing FirewallRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewFirewallRule

func NewFirewallRule(ctx *pulumi.Context,
	name string, args *FirewallRuleArgs, opts ...pulumi.ResourceOption) (*FirewallRule, error)

NewFirewallRule registers a new resource with the given unique name, arguments, and options.

func (*FirewallRule) ElementType added in v0.2.6

func (*FirewallRule) ElementType() reflect.Type

func (*FirewallRule) ToFirewallRuleOutput added in v0.2.6

func (i *FirewallRule) ToFirewallRuleOutput() FirewallRuleOutput

func (*FirewallRule) ToFirewallRuleOutputWithContext added in v0.2.6

func (i *FirewallRule) ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput

type FirewallRuleArgs

type FirewallRuleArgs struct {
	// The end IP address of the firewall rule. Must be IPv4 format. Must be greater than or equal to startIpAddress. Use value '0.0.0.0' to represent all Azure-internal IP addresses.
	EndIpAddress pulumi.StringInput
	// The name of the firewall rule.
	FirewallRuleName pulumi.StringInput
	// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
	ResourceGroupName pulumi.StringInput
	// The name of the server.
	ServerName pulumi.StringInput
	// The start IP address of the firewall rule. Must be IPv4 format. Use value '0.0.0.0' to represent all Azure-internal IP addresses.
	StartIpAddress pulumi.StringInput
}

The set of arguments for constructing a FirewallRule resource.

func (FirewallRuleArgs) ElementType

func (FirewallRuleArgs) ElementType() reflect.Type

type FirewallRuleInput added in v0.2.6

type FirewallRuleInput interface {
	pulumi.Input

	ToFirewallRuleOutput() FirewallRuleOutput
	ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput
}

type FirewallRuleOutput added in v0.2.6

type FirewallRuleOutput struct {
	*pulumi.OutputState
}

func (FirewallRuleOutput) ElementType added in v0.2.6

func (FirewallRuleOutput) ElementType() reflect.Type

func (FirewallRuleOutput) ToFirewallRuleOutput added in v0.2.6

func (o FirewallRuleOutput) ToFirewallRuleOutput() FirewallRuleOutput

func (FirewallRuleOutput) ToFirewallRuleOutputWithContext added in v0.2.6

func (o FirewallRuleOutput) ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput

type FirewallRuleState

type FirewallRuleState struct {
	// The end IP address of the firewall rule. Must be IPv4 format. Must be greater than or equal to startIpAddress. Use value '0.0.0.0' to represent all Azure-internal IP addresses.
	EndIpAddress pulumi.StringPtrInput
	// Kind of server that contains this firewall rule.
	Kind pulumi.StringPtrInput
	// Location of the server that contains this firewall rule.
	Location pulumi.StringPtrInput
	// Resource name.
	Name pulumi.StringPtrInput
	// The start IP address of the firewall rule. Must be IPv4 format. Use value '0.0.0.0' to represent all Azure-internal IP addresses.
	StartIpAddress pulumi.StringPtrInput
	// Resource type.
	Type pulumi.StringPtrInput
}

func (FirewallRuleState) ElementType

func (FirewallRuleState) ElementType() reflect.Type

type GeoBackupPolicy added in v0.3.1

type GeoBackupPolicy struct {
	pulumi.CustomResourceState

	// Kind of geo backup policy.  This is metadata used for the Azure portal experience.
	Kind pulumi.StringOutput `pulumi:"kind"`
	// Backup policy location.
	Location pulumi.StringOutput `pulumi:"location"`
	// Resource name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The state of the geo backup policy.
	State pulumi.StringOutput `pulumi:"state"`
	// The storage type of the geo backup policy.
	StorageType pulumi.StringOutput `pulumi:"storageType"`
	// Resource type.
	Type pulumi.StringOutput `pulumi:"type"`
}

A database geo backup policy.

func GetGeoBackupPolicy added in v0.3.1

func GetGeoBackupPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GeoBackupPolicyState, opts ...pulumi.ResourceOption) (*GeoBackupPolicy, error)

GetGeoBackupPolicy gets an existing GeoBackupPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGeoBackupPolicy added in v0.3.1

func NewGeoBackupPolicy(ctx *pulumi.Context,
	name string, args *GeoBackupPolicyArgs, opts ...pulumi.ResourceOption) (*GeoBackupPolicy, error)

NewGeoBackupPolicy registers a new resource with the given unique name, arguments, and options.

func (*GeoBackupPolicy) ElementType added in v0.3.1

func (*GeoBackupPolicy) ElementType() reflect.Type

func (*GeoBackupPolicy) ToGeoBackupPolicyOutput added in v0.3.1

func (i *GeoBackupPolicy) ToGeoBackupPolicyOutput() GeoBackupPolicyOutput

func (*GeoBackupPolicy) ToGeoBackupPolicyOutputWithContext added in v0.3.1

func (i *GeoBackupPolicy) ToGeoBackupPolicyOutputWithContext(ctx context.Context) GeoBackupPolicyOutput

type GeoBackupPolicyArgs added in v0.3.1

type GeoBackupPolicyArgs struct {
	// The name of the database.
	DatabaseName pulumi.StringInput
	// The name of the geo backup policy.
	GeoBackupPolicyName pulumi.StringInput
	// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
	ResourceGroupName pulumi.StringInput
	// The name of the server.
	ServerName pulumi.StringInput
	// The state of the geo backup policy.
	State GeoBackupPolicyStateEnum
}

The set of arguments for constructing a GeoBackupPolicy resource.

func (GeoBackupPolicyArgs) ElementType added in v0.3.1

func (GeoBackupPolicyArgs) ElementType() reflect.Type

type GeoBackupPolicyInput added in v0.3.1

type GeoBackupPolicyInput interface {
	pulumi.Input

	ToGeoBackupPolicyOutput() GeoBackupPolicyOutput
	ToGeoBackupPolicyOutputWithContext(ctx context.Context) GeoBackupPolicyOutput
}

type GeoBackupPolicyOutput added in v0.3.1

type GeoBackupPolicyOutput struct {
	*pulumi.OutputState
}

func (GeoBackupPolicyOutput) ElementType added in v0.3.1

func (GeoBackupPolicyOutput) ElementType() reflect.Type

func (GeoBackupPolicyOutput) ToGeoBackupPolicyOutput added in v0.3.1

func (o GeoBackupPolicyOutput) ToGeoBackupPolicyOutput() GeoBackupPolicyOutput

func (GeoBackupPolicyOutput) ToGeoBackupPolicyOutputWithContext added in v0.3.1

func (o GeoBackupPolicyOutput) ToGeoBackupPolicyOutputWithContext(ctx context.Context) GeoBackupPolicyOutput

type GeoBackupPolicyState added in v0.3.1

type GeoBackupPolicyState struct {
	// Kind of geo backup policy.  This is metadata used for the Azure portal experience.
	Kind pulumi.StringPtrInput
	// Backup policy location.
	Location pulumi.StringPtrInput
	// Resource name.
	Name pulumi.StringPtrInput
	// The state of the geo backup policy.
	State pulumi.StringPtrInput
	// The storage type of the geo backup policy.
	StorageType pulumi.StringPtrInput
	// Resource type.
	Type pulumi.StringPtrInput
}

func (GeoBackupPolicyState) ElementType added in v0.3.1

func (GeoBackupPolicyState) ElementType() reflect.Type

type GeoBackupPolicyStateEnum added in v0.6.0

type GeoBackupPolicyStateEnum pulumi.String

The state of the geo backup policy.

func (GeoBackupPolicyStateEnum) ElementType added in v0.6.0

func (GeoBackupPolicyStateEnum) ElementType() reflect.Type

func (GeoBackupPolicyStateEnum) ToStringOutput added in v0.6.0

func (e GeoBackupPolicyStateEnum) ToStringOutput() pulumi.StringOutput

func (GeoBackupPolicyStateEnum) ToStringOutputWithContext added in v0.6.0

func (e GeoBackupPolicyStateEnum) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (GeoBackupPolicyStateEnum) ToStringPtrOutput added in v0.6.0

func (e GeoBackupPolicyStateEnum) ToStringPtrOutput() pulumi.StringPtrOutput

func (GeoBackupPolicyStateEnum) ToStringPtrOutputWithContext added in v0.6.0

func (e GeoBackupPolicyStateEnum) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type LookupDatabaseArgs

type LookupDatabaseArgs struct {
	// The name of the database to be retrieved.
	DatabaseName string `pulumi:"databaseName"`
	// A comma separated list of child objects to expand in the response. Possible properties: serviceTierAdvisors, transparentDataEncryption.
	Expand *string `pulumi:"expand"`
	// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The name of the server.
	ServerName string `pulumi:"serverName"`
}

type LookupDatabaseResult

type LookupDatabaseResult struct {
	// The collation of the database. If createMode is not Default, this value is ignored.
	Collation *string `pulumi:"collation"`
	// The containment state of the database.
	ContainmentState float64 `pulumi:"containmentState"`
	// Specifies the mode of database creation.
	//
	// Default: regular database creation.
	//
	// Copy: creates a database as a copy of an existing database. sourceDatabaseId must be specified as the resource ID of the source database.
	//
	// OnlineSecondary/NonReadableSecondary: creates a database as a (readable or nonreadable) secondary replica of an existing database. sourceDatabaseId must be specified as the resource ID of the existing primary database.
	//
	// PointInTimeRestore: Creates a database by restoring a point in time backup of an existing database. sourceDatabaseId must be specified as the resource ID of the existing database, and restorePointInTime must be specified.
	//
	// Recovery: Creates a database by restoring a geo-replicated backup. sourceDatabaseId must be specified as the recoverable database resource ID to restore.
	//
	// Restore: Creates a database by restoring a backup of a deleted database. sourceDatabaseId must be specified. If sourceDatabaseId is the database's original resource ID, then sourceDatabaseDeletionDate must be specified. Otherwise sourceDatabaseId must be the restorable dropped database resource ID and sourceDatabaseDeletionDate is ignored. restorePointInTime may also be specified to restore from an earlier point in time.
	//
	// RestoreLongTermRetentionBackup: Creates a database by restoring from a long term retention vault. recoveryServicesRecoveryPointResourceId must be specified as the recovery point resource ID.
	//
	// Copy, NonReadableSecondary, OnlineSecondary and RestoreLongTermRetentionBackup are not supported for DataWarehouse edition.
	CreateMode *string `pulumi:"createMode"`
	// The creation date of the database (ISO8601 format).
	CreationDate string `pulumi:"creationDate"`
	// The current service level objective ID of the database. This is the ID of the service level objective that is currently active.
	CurrentServiceObjectiveId string `pulumi:"currentServiceObjectiveId"`
	// The ID of the database.
	DatabaseId string `pulumi:"databaseId"`
	// The default secondary region for this database.
	DefaultSecondaryLocation string `pulumi:"defaultSecondaryLocation"`
	// This records the earliest start date and time that restore is available for this database (ISO8601 format).
	EarliestRestoreDate string `pulumi:"earliestRestoreDate"`
	// The edition of the database. The DatabaseEditions enumeration contains all the valid editions. If createMode is NonReadableSecondary or OnlineSecondary, this value is ignored.
	//
	// 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:
	Edition *string `pulumi:"edition"`
	// The name of the elastic pool the database is in. If elasticPoolName and requestedServiceObjectiveName are both updated, the value of requestedServiceObjectiveName is ignored. Not supported for DataWarehouse edition.
	ElasticPoolName *string `pulumi:"elasticPoolName"`
	// The resource identifier of the failover group containing this database.
	FailoverGroupId string `pulumi:"failoverGroupId"`
	// Resource ID.
	Id string `pulumi:"id"`
	// Kind of database.  This is metadata used for the Azure portal experience.
	Kind string `pulumi:"kind"`
	// Resource location.
	Location string `pulumi:"location"`
	// The max size of the database expressed in bytes. If createMode is not Default, this value is ignored. To see possible values, query the capabilities API (/subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationID}/capabilities) referred to by operationId: "Capabilities_ListByLocation."
	MaxSizeBytes *string `pulumi:"maxSizeBytes"`
	// Resource name.
	Name string `pulumi:"name"`
	// Conditional. If the database is a geo-secondary, readScale indicates whether read-only connections are allowed to this database or not. Not supported for DataWarehouse edition.
	ReadScale *string `pulumi:"readScale"`
	// The recommended indices for this database.
	RecommendedIndex []RecommendedIndexResponse `pulumi:"recommendedIndex"`
	// Conditional. If createMode is RestoreLongTermRetentionBackup, then this value is required. Specifies the resource ID of the recovery point to restore from.
	RecoveryServicesRecoveryPointResourceId *string `pulumi:"recoveryServicesRecoveryPointResourceId"`
	// The configured service level objective ID of the database. This is the service level objective that is in the process of being applied to the database. Once successfully updated, it will match the value of currentServiceObjectiveId property. If requestedServiceObjectiveId and requestedServiceObjectiveName are both updated, the value of requestedServiceObjectiveId overrides the value of requestedServiceObjectiveName.
	//
	// The list of SKUs may vary by region and support offer. To determine the service objective ids that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API.
	RequestedServiceObjectiveId *string `pulumi:"requestedServiceObjectiveId"`
	// The name of the configured service level objective of the database. This is the service level objective that is in the process of being applied to the database. Once successfully updated, it will match the value of serviceLevelObjective property.
	//
	// 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:
	RequestedServiceObjectiveName *string `pulumi:"requestedServiceObjectiveName"`
	// Conditional. If createMode is PointInTimeRestore, this value is required. If createMode is Restore, this value is optional. Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database. Must be greater than or equal to the source database's earliestRestoreDate value.
	RestorePointInTime *string `pulumi:"restorePointInTime"`
	// Indicates the name of the sample schema to apply when creating this database. If createMode is not Default, this value is ignored. Not supported for DataWarehouse edition.
	SampleName *string `pulumi:"sampleName"`
	// The current service level objective of the database.
	ServiceLevelObjective string `pulumi:"serviceLevelObjective"`
	// The list of service tier advisors for this database. Expanded property
	ServiceTierAdvisors []ServiceTierAdvisorResponse `pulumi:"serviceTierAdvisors"`
	// Conditional. If createMode is Restore and sourceDatabaseId is the deleted database's original resource id when it existed (as opposed to its current restorable dropped database id), then this value is required. Specifies the time that the database was deleted.
	SourceDatabaseDeletionDate *string `pulumi:"sourceDatabaseDeletionDate"`
	// Conditional. If createMode is Copy, NonReadableSecondary, OnlineSecondary, PointInTimeRestore, Recovery, or Restore, then this value is required. Specifies the resource ID of the source database. If createMode is NonReadableSecondary or OnlineSecondary, the name of the source database must be the same as the new database being created.
	SourceDatabaseId *string `pulumi:"sourceDatabaseId"`
	// The status of the database.
	Status string `pulumi:"status"`
	// Resource tags.
	Tags map[string]string `pulumi:"tags"`
	// The transparent data encryption info for this database.
	TransparentDataEncryption []TransparentDataEncryptionResponse `pulumi:"transparentDataEncryption"`
	// Resource type.
	Type string `pulumi:"type"`
	// Whether or not this database is zone redundant, which means the replicas of this database will be spread across multiple availability zones.
	ZoneRedundant *bool `pulumi:"zoneRedundant"`
}

Represents a database.

func LookupDatabase

func LookupDatabase(ctx *pulumi.Context, args *LookupDatabaseArgs, opts ...pulumi.InvokeOption) (*LookupDatabaseResult, error)

type LookupDatabaseThreatDetectionPolicyArgs added in v0.6.0

type LookupDatabaseThreatDetectionPolicyArgs struct {
	// The name of the database for which database Threat Detection policy is defined.
	DatabaseName string `pulumi:"databaseName"`
	// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The name of the security alert policy.
	SecurityAlertPolicyName string `pulumi:"securityAlertPolicyName"`
	// The name of the server.
	ServerName string `pulumi:"serverName"`
}

type LookupDatabaseThreatDetectionPolicyResult added in v0.6.0

type LookupDatabaseThreatDetectionPolicyResult struct {
	// Specifies the semicolon-separated list of alerts that are disabled, or empty string to disable no alerts. Possible values: Sql_Injection; Sql_Injection_Vulnerability; Access_Anomaly; Data_Exfiltration; Unsafe_Action.
	DisabledAlerts *string `pulumi:"disabledAlerts"`
	// Specifies that the alert is sent to the account administrators.
	EmailAccountAdmins *string `pulumi:"emailAccountAdmins"`
	// Specifies the semicolon-separated list of e-mail addresses to which the alert is sent.
	EmailAddresses *string `pulumi:"emailAddresses"`
	// Resource ID.
	Id string `pulumi:"id"`
	// Resource kind.
	Kind string `pulumi:"kind"`
	// The geo-location where the resource lives
	Location *string `pulumi:"location"`
	// Resource name.
	Name string `pulumi:"name"`
	// Specifies the number of days to keep in the Threat Detection audit logs.
	RetentionDays *int `pulumi:"retentionDays"`
	// Specifies the state of the policy. If state is Enabled, storageEndpoint and storageAccountAccessKey are required.
	State string `pulumi:"state"`
	// Specifies the identifier key of the Threat Detection audit storage account. If state is Enabled, storageAccountAccessKey is required.
	StorageAccountAccessKey *string `pulumi:"storageAccountAccessKey"`
	// Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. If state is Enabled, storageEndpoint is required.
	StorageEndpoint *string `pulumi:"storageEndpoint"`
	// Resource type.
	Type string `pulumi:"type"`
	// Specifies whether to use the default server policy.
	UseServerDefault *string `pulumi:"useServerDefault"`
}

Contains information about a database Threat Detection policy.

type LookupDisasterRecoveryConfigurationArgs

type LookupDisasterRecoveryConfigurationArgs struct {
	// The name of the disaster recovery configuration.
	DisasterRecoveryConfigurationName string `pulumi:"disasterRecoveryConfigurationName"`
	// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The name of the server.
	ServerName string `pulumi:"serverName"`
}

type LookupDisasterRecoveryConfigurationResult

type LookupDisasterRecoveryConfigurationResult struct {
	// Whether or not failover can be done automatically.
	AutoFailover string `pulumi:"autoFailover"`
	// How aggressive the automatic failover should be.
	FailoverPolicy string `pulumi:"failoverPolicy"`
	// Resource ID.
	Id string `pulumi:"id"`
	// Location of the server that contains this disaster recovery configuration.
	Location string `pulumi:"location"`
	// Logical name of the server.
	LogicalServerName string `pulumi:"logicalServerName"`
	// Resource name.
	Name string `pulumi:"name"`
	// Logical name of the partner server.
	PartnerLogicalServerName string `pulumi:"partnerLogicalServerName"`
	// Id of the partner server.
	PartnerServerId string `pulumi:"partnerServerId"`
	// The role of the current server in the disaster recovery configuration.
	Role string `pulumi:"role"`
	// The status of the disaster recovery configuration.
	Status string `pulumi:"status"`
	// Resource type.
	Type string `pulumi:"type"`
}

Represents a disaster recovery configuration.

type LookupElasticPoolArgs

type LookupElasticPoolArgs struct {
	// The name of the elastic pool to be retrieved.
	ElasticPoolName string `pulumi:"elasticPoolName"`
	// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The name of the server.
	ServerName string `pulumi:"serverName"`
}

type LookupElasticPoolResult

type LookupElasticPoolResult struct {
	// The creation date of the elastic pool (ISO8601 format).
	CreationDate string `pulumi:"creationDate"`
	// The maximum DTU any one database can consume.
	DatabaseDtuMax *int `pulumi:"databaseDtuMax"`
	// The minimum DTU all databases are guaranteed.
	DatabaseDtuMin *int `pulumi:"databaseDtuMin"`
	// The total shared DTU for the database elastic pool.
	Dtu *int `pulumi:"dtu"`
	// The edition of the elastic pool.
	Edition *string `pulumi:"edition"`
	// Resource ID.
	Id string `pulumi:"id"`
	// Kind of elastic pool.  This is metadata used for the Azure portal experience.
	Kind string `pulumi:"kind"`
	// Resource location.
	Location string `pulumi:"location"`
	// Resource name.
	Name string `pulumi:"name"`
	// The state of the elastic pool.
	State string `pulumi:"state"`
	// Gets storage limit for the database elastic pool in MB.
	StorageMB *int `pulumi:"storageMB"`
	// Resource tags.
	Tags map[string]string `pulumi:"tags"`
	// Resource type.
	Type string `pulumi:"type"`
	// Whether or not this database elastic pool is zone redundant, which means the replicas of this database will be spread across multiple availability zones.
	ZoneRedundant *bool `pulumi:"zoneRedundant"`
}

Represents a database elastic pool.

type LookupFirewallRuleArgs

type LookupFirewallRuleArgs struct {
	// The name of the firewall rule.
	FirewallRuleName string `pulumi:"firewallRuleName"`
	// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The name of the server.
	ServerName string `pulumi:"serverName"`
}

type LookupFirewallRuleResult

type LookupFirewallRuleResult struct {
	// The end IP address of the firewall rule. Must be IPv4 format. Must be greater than or equal to startIpAddress. Use value '0.0.0.0' to represent all Azure-internal IP addresses.
	EndIpAddress string `pulumi:"endIpAddress"`
	// Resource ID.
	Id string `pulumi:"id"`
	// Kind of server that contains this firewall rule.
	Kind string `pulumi:"kind"`
	// Location of the server that contains this firewall rule.
	Location string `pulumi:"location"`
	// Resource name.
	Name string `pulumi:"name"`
	// The start IP address of the firewall rule. Must be IPv4 format. Use value '0.0.0.0' to represent all Azure-internal IP addresses.
	StartIpAddress string `pulumi:"startIpAddress"`
	// Resource type.
	Type string `pulumi:"type"`
}

Represents a server firewall rule.

type LookupGeoBackupPolicyArgs added in v0.3.1

type LookupGeoBackupPolicyArgs struct {
	// The name of the database.
	DatabaseName string `pulumi:"databaseName"`
	// The name of the geo backup policy.
	GeoBackupPolicyName string `pulumi:"geoBackupPolicyName"`
	// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The name of the server.
	ServerName string `pulumi:"serverName"`
}

type LookupGeoBackupPolicyResult added in v0.3.1

type LookupGeoBackupPolicyResult struct {
	// Resource ID.
	Id string `pulumi:"id"`
	// Kind of geo backup policy.  This is metadata used for the Azure portal experience.
	Kind string `pulumi:"kind"`
	// Backup policy location.
	Location string `pulumi:"location"`
	// Resource name.
	Name string `pulumi:"name"`
	// The state of the geo backup policy.
	State string `pulumi:"state"`
	// The storage type of the geo backup policy.
	StorageType string `pulumi:"storageType"`
	// Resource type.
	Type string `pulumi:"type"`
}

A database geo backup policy.

func LookupGeoBackupPolicy added in v0.3.1

func LookupGeoBackupPolicy(ctx *pulumi.Context, args *LookupGeoBackupPolicyArgs, opts ...pulumi.InvokeOption) (*LookupGeoBackupPolicyResult, error)

type LookupServerArgs

type LookupServerArgs struct {
	// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The name of the server.
	ServerName string `pulumi:"serverName"`
}

type LookupServerAzureADAdministratorArgs

type LookupServerAzureADAdministratorArgs struct {
	// Name of the server administrator resource.
	AdministratorName string `pulumi:"administratorName"`
	// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The name of the server.
	ServerName string `pulumi:"serverName"`
}

type LookupServerAzureADAdministratorResult

type LookupServerAzureADAdministratorResult struct {
	// The type of administrator.
	AdministratorType string `pulumi:"administratorType"`
	// Resource ID.
	Id string `pulumi:"id"`
	// The server administrator login value.
	Login string `pulumi:"login"`
	// Resource name.
	Name string `pulumi:"name"`
	// The server administrator Sid (Secure ID).
	Sid string `pulumi:"sid"`
	// The server Active Directory Administrator tenant id.
	TenantId string `pulumi:"tenantId"`
	// Resource type.
	Type string `pulumi:"type"`
}

An server Active Directory Administrator.

type LookupServerCommunicationLinkArgs

type LookupServerCommunicationLinkArgs struct {
	// The name of the server communication link.
	CommunicationLinkName string `pulumi:"communicationLinkName"`
	// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The name of the server.
	ServerName string `pulumi:"serverName"`
}

type LookupServerCommunicationLinkResult

type LookupServerCommunicationLinkResult struct {
	// Resource ID.
	Id string `pulumi:"id"`
	// Communication link kind.  This property is used for Azure Portal metadata.
	Kind string `pulumi:"kind"`
	// Communication link location.
	Location string `pulumi:"location"`
	// Resource name.
	Name string `pulumi:"name"`
	// The name of the partner server.
	PartnerServer string `pulumi:"partnerServer"`
	// The state.
	State string `pulumi:"state"`
	// Resource type.
	Type string `pulumi:"type"`
}

Server communication link.

type LookupServerResult

type LookupServerResult struct {
	// Administrator username for the server. Can only be specified when the server is being created (and is required for creation).
	AdministratorLogin *string `pulumi:"administratorLogin"`
	// The administrator login password (required for server creation).
	AdministratorLoginPassword *string `pulumi:"administratorLoginPassword"`
	// The display name of the Azure Active Directory object with admin permissions on this server. Legacy parameter, always null. To check for Active Directory admin, query .../servers/{serverName}/administrators
	ExternalAdministratorLogin string `pulumi:"externalAdministratorLogin"`
	// The ID of the Active Azure Directory object with admin permissions on this server. Legacy parameter, always null. To check for Active Directory admin, query .../servers/{serverName}/administrators.
	ExternalAdministratorSid string `pulumi:"externalAdministratorSid"`
	// The fully qualified domain name of the server.
	FullyQualifiedDomainName string `pulumi:"fullyQualifiedDomainName"`
	// Resource ID.
	Id string `pulumi:"id"`
	// Kind of sql server.  This is metadata used for the Azure portal experience.
	Kind string `pulumi:"kind"`
	// Resource location.
	Location string `pulumi:"location"`
	// Resource name.
	Name string `pulumi:"name"`
	// The state of the server.
	State string `pulumi:"state"`
	// Resource tags.
	Tags map[string]string `pulumi:"tags"`
	// Resource type.
	Type string `pulumi:"type"`
	// The version of the server.
	Version *string `pulumi:"version"`
}

Represents a server.

func LookupServer

func LookupServer(ctx *pulumi.Context, args *LookupServerArgs, opts ...pulumi.InvokeOption) (*LookupServerResult, error)

type LookupTransparentDataEncryptionArgs added in v0.2.5

type LookupTransparentDataEncryptionArgs struct {
	// The name of the database for which the transparent data encryption applies.
	DatabaseName string `pulumi:"databaseName"`
	// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The name of the server.
	ServerName string `pulumi:"serverName"`
	// The name of the transparent data encryption configuration.
	TransparentDataEncryptionName string `pulumi:"transparentDataEncryptionName"`
}

type LookupTransparentDataEncryptionResult added in v0.2.5

type LookupTransparentDataEncryptionResult struct {
	// Resource ID.
	Id string `pulumi:"id"`
	// Resource location.
	Location string `pulumi:"location"`
	// Resource name.
	Name string `pulumi:"name"`
	// The status of the database transparent data encryption.
	Status *string `pulumi:"status"`
	// Resource type.
	Type string `pulumi:"type"`
}

Represents a database transparent data encryption configuration.

func LookupTransparentDataEncryption added in v0.2.5

type OperationImpactResponse

type OperationImpactResponse struct {
	// The absolute impact to dimension.
	ChangeValueAbsolute float64 `pulumi:"changeValueAbsolute"`
	// The relative impact to dimension (null if not applicable)
	ChangeValueRelative float64 `pulumi:"changeValueRelative"`
	// The name of the impact dimension.
	Name string `pulumi:"name"`
	// The unit in which estimated impact to dimension is measured.
	Unit string `pulumi:"unit"`
}

The impact of an operation, both in absolute and relative terms.

type OperationImpactResponseArgs

type OperationImpactResponseArgs struct {
	// The absolute impact to dimension.
	ChangeValueAbsolute pulumi.Float64Input `pulumi:"changeValueAbsolute"`
	// The relative impact to dimension (null if not applicable)
	ChangeValueRelative pulumi.Float64Input `pulumi:"changeValueRelative"`
	// The name of the impact dimension.
	Name pulumi.StringInput `pulumi:"name"`
	// The unit in which estimated impact to dimension is measured.
	Unit pulumi.StringInput `pulumi:"unit"`
}

The impact of an operation, both in absolute and relative terms.

func (OperationImpactResponseArgs) ElementType

func (OperationImpactResponseArgs) ToOperationImpactResponseOutput

func (i OperationImpactResponseArgs) ToOperationImpactResponseOutput() OperationImpactResponseOutput

func (OperationImpactResponseArgs) ToOperationImpactResponseOutputWithContext

func (i OperationImpactResponseArgs) ToOperationImpactResponseOutputWithContext(ctx context.Context) OperationImpactResponseOutput

type OperationImpactResponseArray

type OperationImpactResponseArray []OperationImpactResponseInput

func (OperationImpactResponseArray) ElementType

func (OperationImpactResponseArray) ToOperationImpactResponseArrayOutput

func (i OperationImpactResponseArray) ToOperationImpactResponseArrayOutput() OperationImpactResponseArrayOutput

func (OperationImpactResponseArray) ToOperationImpactResponseArrayOutputWithContext

func (i OperationImpactResponseArray) ToOperationImpactResponseArrayOutputWithContext(ctx context.Context) OperationImpactResponseArrayOutput

type OperationImpactResponseArrayInput

type OperationImpactResponseArrayInput interface {
	pulumi.Input

	ToOperationImpactResponseArrayOutput() OperationImpactResponseArrayOutput
	ToOperationImpactResponseArrayOutputWithContext(context.Context) OperationImpactResponseArrayOutput
}

OperationImpactResponseArrayInput is an input type that accepts OperationImpactResponseArray and OperationImpactResponseArrayOutput values. You can construct a concrete instance of `OperationImpactResponseArrayInput` via:

OperationImpactResponseArray{ OperationImpactResponseArgs{...} }

type OperationImpactResponseArrayOutput

type OperationImpactResponseArrayOutput struct{ *pulumi.OutputState }

func (OperationImpactResponseArrayOutput) ElementType

func (OperationImpactResponseArrayOutput) Index

func (OperationImpactResponseArrayOutput) ToOperationImpactResponseArrayOutput

func (o OperationImpactResponseArrayOutput) ToOperationImpactResponseArrayOutput() OperationImpactResponseArrayOutput

func (OperationImpactResponseArrayOutput) ToOperationImpactResponseArrayOutputWithContext

func (o OperationImpactResponseArrayOutput) ToOperationImpactResponseArrayOutputWithContext(ctx context.Context) OperationImpactResponseArrayOutput

type OperationImpactResponseInput

type OperationImpactResponseInput interface {
	pulumi.Input

	ToOperationImpactResponseOutput() OperationImpactResponseOutput
	ToOperationImpactResponseOutputWithContext(context.Context) OperationImpactResponseOutput
}

OperationImpactResponseInput is an input type that accepts OperationImpactResponseArgs and OperationImpactResponseOutput values. You can construct a concrete instance of `OperationImpactResponseInput` via:

OperationImpactResponseArgs{...}

type OperationImpactResponseOutput

type OperationImpactResponseOutput struct{ *pulumi.OutputState }

The impact of an operation, both in absolute and relative terms.

func (OperationImpactResponseOutput) ChangeValueAbsolute

func (o OperationImpactResponseOutput) ChangeValueAbsolute() pulumi.Float64Output

The absolute impact to dimension.

func (OperationImpactResponseOutput) ChangeValueRelative

func (o OperationImpactResponseOutput) ChangeValueRelative() pulumi.Float64Output

The relative impact to dimension (null if not applicable)

func (OperationImpactResponseOutput) ElementType

func (OperationImpactResponseOutput) Name

The name of the impact dimension.

func (OperationImpactResponseOutput) ToOperationImpactResponseOutput

func (o OperationImpactResponseOutput) ToOperationImpactResponseOutput() OperationImpactResponseOutput

func (OperationImpactResponseOutput) ToOperationImpactResponseOutputWithContext

func (o OperationImpactResponseOutput) ToOperationImpactResponseOutputWithContext(ctx context.Context) OperationImpactResponseOutput

func (OperationImpactResponseOutput) Unit

The unit in which estimated impact to dimension is measured.

type ReadScale added in v0.3.1

type ReadScale pulumi.String

Conditional. If the database is a geo-secondary, readScale indicates whether read-only connections are allowed to this database or not. Not supported for DataWarehouse edition.

func (ReadScale) ElementType added in v0.3.1

func (ReadScale) ElementType() reflect.Type

func (ReadScale) ToStringOutput added in v0.3.1

func (e ReadScale) ToStringOutput() pulumi.StringOutput

func (ReadScale) ToStringOutputWithContext added in v0.3.1

func (e ReadScale) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (ReadScale) ToStringPtrOutput added in v0.3.1

func (e ReadScale) ToStringPtrOutput() pulumi.StringPtrOutput

func (ReadScale) ToStringPtrOutputWithContext added in v0.3.1

func (e ReadScale) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type RecommendedIndexResponse

type RecommendedIndexResponse struct {
	// The proposed index action. You can create a missing index, drop an unused index, or rebuild an existing index to improve its performance.
	Action string `pulumi:"action"`
	// Columns over which to build index
	Columns []string `pulumi:"columns"`
	// The UTC datetime showing when this resource was created (ISO8601 format).
	Created string `pulumi:"created"`
	// The estimated impact of doing recommended index action.
	EstimatedImpact []OperationImpactResponse `pulumi:"estimatedImpact"`
	// Resource ID.
	Id string `pulumi:"id"`
	// The list of column names to be included in the index
	IncludedColumns []string `pulumi:"includedColumns"`
	// The full build index script
	IndexScript string `pulumi:"indexScript"`
	// The type of index (CLUSTERED, NONCLUSTERED, COLUMNSTORE, CLUSTERED COLUMNSTORE)
	IndexType string `pulumi:"indexType"`
	// The UTC datetime of when was this resource last changed (ISO8601 format).
	LastModified string `pulumi:"lastModified"`
	// Resource name.
	Name string `pulumi:"name"`
	// The values reported after index action is complete.
	ReportedImpact []OperationImpactResponse `pulumi:"reportedImpact"`
	// The schema where table to build index over resides
	Schema string `pulumi:"schema"`
	// The current recommendation state.
	State string `pulumi:"state"`
	// The table on which to build index.
	Table string `pulumi:"table"`
	// Resource type.
	Type string `pulumi:"type"`
}

Represents a database recommended index.

type RecommendedIndexResponseArgs

type RecommendedIndexResponseArgs struct {
	// The proposed index action. You can create a missing index, drop an unused index, or rebuild an existing index to improve its performance.
	Action pulumi.StringInput `pulumi:"action"`
	// Columns over which to build index
	Columns pulumi.StringArrayInput `pulumi:"columns"`
	// The UTC datetime showing when this resource was created (ISO8601 format).
	Created pulumi.StringInput `pulumi:"created"`
	// The estimated impact of doing recommended index action.
	EstimatedImpact OperationImpactResponseArrayInput `pulumi:"estimatedImpact"`
	// Resource ID.
	Id pulumi.StringInput `pulumi:"id"`
	// The list of column names to be included in the index
	IncludedColumns pulumi.StringArrayInput `pulumi:"includedColumns"`
	// The full build index script
	IndexScript pulumi.StringInput `pulumi:"indexScript"`
	// The type of index (CLUSTERED, NONCLUSTERED, COLUMNSTORE, CLUSTERED COLUMNSTORE)
	IndexType pulumi.StringInput `pulumi:"indexType"`
	// The UTC datetime of when was this resource last changed (ISO8601 format).
	LastModified pulumi.StringInput `pulumi:"lastModified"`
	// Resource name.
	Name pulumi.StringInput `pulumi:"name"`
	// The values reported after index action is complete.
	ReportedImpact OperationImpactResponseArrayInput `pulumi:"reportedImpact"`
	// The schema where table to build index over resides
	Schema pulumi.StringInput `pulumi:"schema"`
	// The current recommendation state.
	State pulumi.StringInput `pulumi:"state"`
	// The table on which to build index.
	Table pulumi.StringInput `pulumi:"table"`
	// Resource type.
	Type pulumi.StringInput `pulumi:"type"`
}

Represents a database recommended index.

func (RecommendedIndexResponseArgs) ElementType

func (RecommendedIndexResponseArgs) ToRecommendedIndexResponseOutput

func (i RecommendedIndexResponseArgs) ToRecommendedIndexResponseOutput() RecommendedIndexResponseOutput

func (RecommendedIndexResponseArgs) ToRecommendedIndexResponseOutputWithContext

func (i RecommendedIndexResponseArgs) ToRecommendedIndexResponseOutputWithContext(ctx context.Context) RecommendedIndexResponseOutput

type RecommendedIndexResponseArray

type RecommendedIndexResponseArray []RecommendedIndexResponseInput

func (RecommendedIndexResponseArray) ElementType

func (RecommendedIndexResponseArray) ToRecommendedIndexResponseArrayOutput

func (i RecommendedIndexResponseArray) ToRecommendedIndexResponseArrayOutput() RecommendedIndexResponseArrayOutput

func (RecommendedIndexResponseArray) ToRecommendedIndexResponseArrayOutputWithContext

func (i RecommendedIndexResponseArray) ToRecommendedIndexResponseArrayOutputWithContext(ctx context.Context) RecommendedIndexResponseArrayOutput

type RecommendedIndexResponseArrayInput

type RecommendedIndexResponseArrayInput interface {
	pulumi.Input

	ToRecommendedIndexResponseArrayOutput() RecommendedIndexResponseArrayOutput
	ToRecommendedIndexResponseArrayOutputWithContext(context.Context) RecommendedIndexResponseArrayOutput
}

RecommendedIndexResponseArrayInput is an input type that accepts RecommendedIndexResponseArray and RecommendedIndexResponseArrayOutput values. You can construct a concrete instance of `RecommendedIndexResponseArrayInput` via:

RecommendedIndexResponseArray{ RecommendedIndexResponseArgs{...} }

type RecommendedIndexResponseArrayOutput

type RecommendedIndexResponseArrayOutput struct{ *pulumi.OutputState }

func (RecommendedIndexResponseArrayOutput) ElementType

func (RecommendedIndexResponseArrayOutput) Index

func (RecommendedIndexResponseArrayOutput) ToRecommendedIndexResponseArrayOutput

func (o RecommendedIndexResponseArrayOutput) ToRecommendedIndexResponseArrayOutput() RecommendedIndexResponseArrayOutput

func (RecommendedIndexResponseArrayOutput) ToRecommendedIndexResponseArrayOutputWithContext

func (o RecommendedIndexResponseArrayOutput) ToRecommendedIndexResponseArrayOutputWithContext(ctx context.Context) RecommendedIndexResponseArrayOutput

type RecommendedIndexResponseInput

type RecommendedIndexResponseInput interface {
	pulumi.Input

	ToRecommendedIndexResponseOutput() RecommendedIndexResponseOutput
	ToRecommendedIndexResponseOutputWithContext(context.Context) RecommendedIndexResponseOutput
}

RecommendedIndexResponseInput is an input type that accepts RecommendedIndexResponseArgs and RecommendedIndexResponseOutput values. You can construct a concrete instance of `RecommendedIndexResponseInput` via:

RecommendedIndexResponseArgs{...}

type RecommendedIndexResponseOutput

type RecommendedIndexResponseOutput struct{ *pulumi.OutputState }

Represents a database recommended index.

func (RecommendedIndexResponseOutput) Action

The proposed index action. You can create a missing index, drop an unused index, or rebuild an existing index to improve its performance.

func (RecommendedIndexResponseOutput) Columns

Columns over which to build index

func (RecommendedIndexResponseOutput) Created

The UTC datetime showing when this resource was created (ISO8601 format).

func (RecommendedIndexResponseOutput) ElementType

func (RecommendedIndexResponseOutput) EstimatedImpact

The estimated impact of doing recommended index action.

func (RecommendedIndexResponseOutput) Id

Resource ID.

func (RecommendedIndexResponseOutput) IncludedColumns

The list of column names to be included in the index

func (RecommendedIndexResponseOutput) IndexScript

The full build index script

func (RecommendedIndexResponseOutput) IndexType

The type of index (CLUSTERED, NONCLUSTERED, COLUMNSTORE, CLUSTERED COLUMNSTORE)

func (RecommendedIndexResponseOutput) LastModified

The UTC datetime of when was this resource last changed (ISO8601 format).

func (RecommendedIndexResponseOutput) Name

Resource name.

func (RecommendedIndexResponseOutput) ReportedImpact

The values reported after index action is complete.

func (RecommendedIndexResponseOutput) Schema

The schema where table to build index over resides

func (RecommendedIndexResponseOutput) State

The current recommendation state.

func (RecommendedIndexResponseOutput) Table

The table on which to build index.

func (RecommendedIndexResponseOutput) ToRecommendedIndexResponseOutput

func (o RecommendedIndexResponseOutput) ToRecommendedIndexResponseOutput() RecommendedIndexResponseOutput

func (RecommendedIndexResponseOutput) ToRecommendedIndexResponseOutputWithContext

func (o RecommendedIndexResponseOutput) ToRecommendedIndexResponseOutputWithContext(ctx context.Context) RecommendedIndexResponseOutput

func (RecommendedIndexResponseOutput) Type

Resource type.

type SampleName added in v0.3.1

type SampleName pulumi.String

Indicates the name of the sample schema to apply when creating this database. If createMode is not Default, this value is ignored. Not supported for DataWarehouse edition.

func (SampleName) ElementType added in v0.3.1

func (SampleName) ElementType() reflect.Type

func (SampleName) ToStringOutput added in v0.3.1

func (e SampleName) ToStringOutput() pulumi.StringOutput

func (SampleName) ToStringOutputWithContext added in v0.3.1

func (e SampleName) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (SampleName) ToStringPtrOutput added in v0.3.1

func (e SampleName) ToStringPtrOutput() pulumi.StringPtrOutput

func (SampleName) ToStringPtrOutputWithContext added in v0.3.1

func (e SampleName) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type SecurityAlertPolicyEmailAccountAdmins added in v0.6.0

type SecurityAlertPolicyEmailAccountAdmins pulumi.String

Specifies that the alert is sent to the account administrators.

func (SecurityAlertPolicyEmailAccountAdmins) ElementType added in v0.6.0

func (SecurityAlertPolicyEmailAccountAdmins) ToStringOutput added in v0.6.0

func (SecurityAlertPolicyEmailAccountAdmins) ToStringOutputWithContext added in v0.6.0

func (e SecurityAlertPolicyEmailAccountAdmins) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (SecurityAlertPolicyEmailAccountAdmins) ToStringPtrOutput added in v0.6.0

func (SecurityAlertPolicyEmailAccountAdmins) ToStringPtrOutputWithContext added in v0.6.0

func (e SecurityAlertPolicyEmailAccountAdmins) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type SecurityAlertPolicyState added in v0.6.0

type SecurityAlertPolicyState pulumi.String

Specifies the state of the policy. If state is Enabled, storageEndpoint and storageAccountAccessKey are required.

func (SecurityAlertPolicyState) ElementType added in v0.6.0

func (SecurityAlertPolicyState) ElementType() reflect.Type

func (SecurityAlertPolicyState) ToStringOutput added in v0.6.0

func (e SecurityAlertPolicyState) ToStringOutput() pulumi.StringOutput

func (SecurityAlertPolicyState) ToStringOutputWithContext added in v0.6.0

func (e SecurityAlertPolicyState) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (SecurityAlertPolicyState) ToStringPtrOutput added in v0.6.0

func (e SecurityAlertPolicyState) ToStringPtrOutput() pulumi.StringPtrOutput

func (SecurityAlertPolicyState) ToStringPtrOutputWithContext added in v0.6.0

func (e SecurityAlertPolicyState) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type SecurityAlertPolicyUseServerDefault added in v0.6.0

type SecurityAlertPolicyUseServerDefault pulumi.String

Specifies whether to use the default server policy.

func (SecurityAlertPolicyUseServerDefault) ElementType added in v0.6.0

func (SecurityAlertPolicyUseServerDefault) ToStringOutput added in v0.6.0

func (SecurityAlertPolicyUseServerDefault) ToStringOutputWithContext added in v0.6.0

func (e SecurityAlertPolicyUseServerDefault) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (SecurityAlertPolicyUseServerDefault) ToStringPtrOutput added in v0.6.0

func (SecurityAlertPolicyUseServerDefault) ToStringPtrOutputWithContext added in v0.6.0

func (e SecurityAlertPolicyUseServerDefault) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type Server

type Server struct {
	pulumi.CustomResourceState

	// Administrator username for the server. Can only be specified when the server is being created (and is required for creation).
	AdministratorLogin pulumi.StringPtrOutput `pulumi:"administratorLogin"`
	// The administrator login password (required for server creation).
	AdministratorLoginPassword pulumi.StringPtrOutput `pulumi:"administratorLoginPassword"`
	// The display name of the Azure Active Directory object with admin permissions on this server. Legacy parameter, always null. To check for Active Directory admin, query .../servers/{serverName}/administrators
	ExternalAdministratorLogin pulumi.StringOutput `pulumi:"externalAdministratorLogin"`
	// The ID of the Active Azure Directory object with admin permissions on this server. Legacy parameter, always null. To check for Active Directory admin, query .../servers/{serverName}/administrators.
	ExternalAdministratorSid pulumi.StringOutput `pulumi:"externalAdministratorSid"`
	// The fully qualified domain name of the server.
	FullyQualifiedDomainName pulumi.StringOutput `pulumi:"fullyQualifiedDomainName"`
	// Kind of sql server.  This is metadata used for the Azure portal experience.
	Kind pulumi.StringOutput `pulumi:"kind"`
	// Resource location.
	Location pulumi.StringOutput `pulumi:"location"`
	// Resource name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The state of the server.
	State pulumi.StringOutput `pulumi:"state"`
	// Resource tags.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Resource type.
	Type pulumi.StringOutput `pulumi:"type"`
	// The version of the server.
	Version pulumi.StringPtrOutput `pulumi:"version"`
}

Represents a server.

func GetServer

func GetServer(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServerState, opts ...pulumi.ResourceOption) (*Server, error)

GetServer gets an existing Server resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewServer

func NewServer(ctx *pulumi.Context,
	name string, args *ServerArgs, opts ...pulumi.ResourceOption) (*Server, error)

NewServer registers a new resource with the given unique name, arguments, and options.

func (*Server) ElementType added in v0.2.6

func (*Server) ElementType() reflect.Type

func (*Server) ToServerOutput added in v0.2.6

func (i *Server) ToServerOutput() ServerOutput

func (*Server) ToServerOutputWithContext added in v0.2.6

func (i *Server) ToServerOutputWithContext(ctx context.Context) ServerOutput

type ServerArgs

type ServerArgs struct {
	// Administrator username for the server. Can only be specified when the server is being created (and is required for creation).
	AdministratorLogin pulumi.StringPtrInput
	// The administrator login password (required for server creation).
	AdministratorLoginPassword pulumi.StringPtrInput
	// Resource location.
	Location pulumi.StringPtrInput
	// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
	ResourceGroupName pulumi.StringInput
	// The name of the server.
	ServerName pulumi.StringInput
	// Resource tags.
	Tags pulumi.StringMapInput
	// The version of the server.
	Version pulumi.StringPtrInput
}

The set of arguments for constructing a Server resource.

func (ServerArgs) ElementType

func (ServerArgs) ElementType() reflect.Type

type ServerAzureADAdministrator

type ServerAzureADAdministrator struct {
	pulumi.CustomResourceState

	// The type of administrator.
	AdministratorType pulumi.StringOutput `pulumi:"administratorType"`
	// The server administrator login value.
	Login pulumi.StringOutput `pulumi:"login"`
	// Resource name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The server administrator Sid (Secure ID).
	Sid pulumi.StringOutput `pulumi:"sid"`
	// The server Active Directory Administrator tenant id.
	TenantId pulumi.StringOutput `pulumi:"tenantId"`
	// Resource type.
	Type pulumi.StringOutput `pulumi:"type"`
}

An server Active Directory Administrator.

func GetServerAzureADAdministrator

func GetServerAzureADAdministrator(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServerAzureADAdministratorState, opts ...pulumi.ResourceOption) (*ServerAzureADAdministrator, error)

GetServerAzureADAdministrator gets an existing ServerAzureADAdministrator resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewServerAzureADAdministrator

func NewServerAzureADAdministrator(ctx *pulumi.Context,
	name string, args *ServerAzureADAdministratorArgs, opts ...pulumi.ResourceOption) (*ServerAzureADAdministrator, error)

NewServerAzureADAdministrator registers a new resource with the given unique name, arguments, and options.

func (*ServerAzureADAdministrator) ElementType added in v0.2.6

func (*ServerAzureADAdministrator) ElementType() reflect.Type

func (*ServerAzureADAdministrator) ToServerAzureADAdministratorOutput added in v0.2.6

func (i *ServerAzureADAdministrator) ToServerAzureADAdministratorOutput() ServerAzureADAdministratorOutput

func (*ServerAzureADAdministrator) ToServerAzureADAdministratorOutputWithContext added in v0.2.6

func (i *ServerAzureADAdministrator) ToServerAzureADAdministratorOutputWithContext(ctx context.Context) ServerAzureADAdministratorOutput

type ServerAzureADAdministratorArgs

type ServerAzureADAdministratorArgs struct {
	// Name of the server administrator resource.
	AdministratorName pulumi.StringInput
	// The type of administrator.
	AdministratorType pulumi.StringInput
	// The server administrator login value.
	Login pulumi.StringInput
	// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
	ResourceGroupName pulumi.StringInput
	// The name of the server.
	ServerName pulumi.StringInput
	// The server administrator Sid (Secure ID).
	Sid pulumi.StringInput
	// The server Active Directory Administrator tenant id.
	TenantId pulumi.StringInput
}

The set of arguments for constructing a ServerAzureADAdministrator resource.

func (ServerAzureADAdministratorArgs) ElementType

type ServerAzureADAdministratorInput added in v0.2.6

type ServerAzureADAdministratorInput interface {
	pulumi.Input

	ToServerAzureADAdministratorOutput() ServerAzureADAdministratorOutput
	ToServerAzureADAdministratorOutputWithContext(ctx context.Context) ServerAzureADAdministratorOutput
}

type ServerAzureADAdministratorOutput added in v0.2.6

type ServerAzureADAdministratorOutput struct {
	*pulumi.OutputState
}

func (ServerAzureADAdministratorOutput) ElementType added in v0.2.6

func (ServerAzureADAdministratorOutput) ToServerAzureADAdministratorOutput added in v0.2.6

func (o ServerAzureADAdministratorOutput) ToServerAzureADAdministratorOutput() ServerAzureADAdministratorOutput

func (ServerAzureADAdministratorOutput) ToServerAzureADAdministratorOutputWithContext added in v0.2.6

func (o ServerAzureADAdministratorOutput) ToServerAzureADAdministratorOutputWithContext(ctx context.Context) ServerAzureADAdministratorOutput

type ServerAzureADAdministratorState

type ServerAzureADAdministratorState struct {
	// The type of administrator.
	AdministratorType pulumi.StringPtrInput
	// The server administrator login value.
	Login pulumi.StringPtrInput
	// Resource name.
	Name pulumi.StringPtrInput
	// The server administrator Sid (Secure ID).
	Sid pulumi.StringPtrInput
	// The server Active Directory Administrator tenant id.
	TenantId pulumi.StringPtrInput
	// Resource type.
	Type pulumi.StringPtrInput
}

func (ServerAzureADAdministratorState) ElementType

type ServerCommunicationLink struct {
	pulumi.CustomResourceState

	// Communication link kind.  This property is used for Azure Portal metadata.
	Kind pulumi.StringOutput `pulumi:"kind"`
	// Communication link location.
	Location pulumi.StringOutput `pulumi:"location"`
	// Resource name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the partner server.
	PartnerServer pulumi.StringOutput `pulumi:"partnerServer"`
	// The state.
	State pulumi.StringOutput `pulumi:"state"`
	// Resource type.
	Type pulumi.StringOutput `pulumi:"type"`
}

Server communication link.

func GetServerCommunicationLink(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServerCommunicationLinkState, opts ...pulumi.ResourceOption) (*ServerCommunicationLink, error)

GetServerCommunicationLink gets an existing ServerCommunicationLink resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewServerCommunicationLink(ctx *pulumi.Context,
	name string, args *ServerCommunicationLinkArgs, opts ...pulumi.ResourceOption) (*ServerCommunicationLink, error)

NewServerCommunicationLink registers a new resource with the given unique name, arguments, and options.

func (*ServerCommunicationLink) ElementType added in v0.2.6

func (*ServerCommunicationLink) ElementType() reflect.Type

func (*ServerCommunicationLink) ToServerCommunicationLinkOutput added in v0.2.6

func (i *ServerCommunicationLink) ToServerCommunicationLinkOutput() ServerCommunicationLinkOutput

func (*ServerCommunicationLink) ToServerCommunicationLinkOutputWithContext added in v0.2.6

func (i *ServerCommunicationLink) ToServerCommunicationLinkOutputWithContext(ctx context.Context) ServerCommunicationLinkOutput

type ServerCommunicationLinkArgs

type ServerCommunicationLinkArgs struct {
	// The name of the server communication link.
	CommunicationLinkName pulumi.StringInput
	// The name of the partner server.
	PartnerServer pulumi.StringInput
	// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
	ResourceGroupName pulumi.StringInput
	// The name of the server.
	ServerName pulumi.StringInput
}

The set of arguments for constructing a ServerCommunicationLink resource.

func (ServerCommunicationLinkArgs) ElementType

type ServerCommunicationLinkInput added in v0.2.6

type ServerCommunicationLinkInput interface {
	pulumi.Input

	ToServerCommunicationLinkOutput() ServerCommunicationLinkOutput
	ToServerCommunicationLinkOutputWithContext(ctx context.Context) ServerCommunicationLinkOutput
}

type ServerCommunicationLinkOutput added in v0.2.6

type ServerCommunicationLinkOutput struct {
	*pulumi.OutputState
}

func (ServerCommunicationLinkOutput) ElementType added in v0.2.6

func (ServerCommunicationLinkOutput) ToServerCommunicationLinkOutput added in v0.2.6

func (o ServerCommunicationLinkOutput) ToServerCommunicationLinkOutput() ServerCommunicationLinkOutput

func (ServerCommunicationLinkOutput) ToServerCommunicationLinkOutputWithContext added in v0.2.6

func (o ServerCommunicationLinkOutput) ToServerCommunicationLinkOutputWithContext(ctx context.Context) ServerCommunicationLinkOutput

type ServerCommunicationLinkState

type ServerCommunicationLinkState struct {
	// Communication link kind.  This property is used for Azure Portal metadata.
	Kind pulumi.StringPtrInput
	// Communication link location.
	Location pulumi.StringPtrInput
	// Resource name.
	Name pulumi.StringPtrInput
	// The name of the partner server.
	PartnerServer pulumi.StringPtrInput
	// The state.
	State pulumi.StringPtrInput
	// Resource type.
	Type pulumi.StringPtrInput
}

func (ServerCommunicationLinkState) ElementType

type ServerInput added in v0.2.6

type ServerInput interface {
	pulumi.Input

	ToServerOutput() ServerOutput
	ToServerOutputWithContext(ctx context.Context) ServerOutput
}

type ServerOutput added in v0.2.6

type ServerOutput struct {
	*pulumi.OutputState
}

func (ServerOutput) ElementType added in v0.2.6

func (ServerOutput) ElementType() reflect.Type

func (ServerOutput) ToServerOutput added in v0.2.6

func (o ServerOutput) ToServerOutput() ServerOutput

func (ServerOutput) ToServerOutputWithContext added in v0.2.6

func (o ServerOutput) ToServerOutputWithContext(ctx context.Context) ServerOutput

type ServerState

type ServerState struct {
	// Administrator username for the server. Can only be specified when the server is being created (and is required for creation).
	AdministratorLogin pulumi.StringPtrInput
	// The administrator login password (required for server creation).
	AdministratorLoginPassword pulumi.StringPtrInput
	// The display name of the Azure Active Directory object with admin permissions on this server. Legacy parameter, always null. To check for Active Directory admin, query .../servers/{serverName}/administrators
	ExternalAdministratorLogin pulumi.StringPtrInput
	// The ID of the Active Azure Directory object with admin permissions on this server. Legacy parameter, always null. To check for Active Directory admin, query .../servers/{serverName}/administrators.
	ExternalAdministratorSid pulumi.StringPtrInput
	// The fully qualified domain name of the server.
	FullyQualifiedDomainName pulumi.StringPtrInput
	// Kind of sql server.  This is metadata used for the Azure portal experience.
	Kind pulumi.StringPtrInput
	// Resource location.
	Location pulumi.StringPtrInput
	// Resource name.
	Name pulumi.StringPtrInput
	// The state of the server.
	State pulumi.StringPtrInput
	// Resource tags.
	Tags pulumi.StringMapInput
	// Resource type.
	Type pulumi.StringPtrInput
	// The version of the server.
	Version pulumi.StringPtrInput
}

func (ServerState) ElementType

func (ServerState) ElementType() reflect.Type

type ServerVersion added in v0.3.1

type ServerVersion pulumi.String

The version of the server.

func (ServerVersion) ElementType added in v0.3.1

func (ServerVersion) ElementType() reflect.Type

func (ServerVersion) ToStringOutput added in v0.3.1

func (e ServerVersion) ToStringOutput() pulumi.StringOutput

func (ServerVersion) ToStringOutputWithContext added in v0.3.1

func (e ServerVersion) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (ServerVersion) ToStringPtrOutput added in v0.3.1

func (e ServerVersion) ToStringPtrOutput() pulumi.StringPtrOutput

func (ServerVersion) ToStringPtrOutputWithContext added in v0.3.1

func (e ServerVersion) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ServiceObjectiveName added in v0.3.1

type ServiceObjectiveName pulumi.String

The name of the configured service level objective of the database. This is the service level objective that is in the process of being applied to the database. Once successfully updated, it will match the value of serviceLevelObjective property.

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:

func (ServiceObjectiveName) ElementType added in v0.3.1

func (ServiceObjectiveName) ElementType() reflect.Type

func (ServiceObjectiveName) ToStringOutput added in v0.3.1

func (e ServiceObjectiveName) ToStringOutput() pulumi.StringOutput

func (ServiceObjectiveName) ToStringOutputWithContext added in v0.3.1

func (e ServiceObjectiveName) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (ServiceObjectiveName) ToStringPtrOutput added in v0.3.1

func (e ServiceObjectiveName) ToStringPtrOutput() pulumi.StringPtrOutput

func (ServiceObjectiveName) ToStringPtrOutputWithContext added in v0.3.1

func (e ServiceObjectiveName) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ServiceTierAdvisorResponse

type ServiceTierAdvisorResponse struct {
	// The activeTimeRatio for service tier advisor.
	ActiveTimeRatio float64 `pulumi:"activeTimeRatio"`
	// Gets or sets avgDtu for service tier advisor.
	AvgDtu float64 `pulumi:"avgDtu"`
	// Gets or sets confidence for service tier advisor.
	Confidence float64 `pulumi:"confidence"`
	// Gets or sets currentServiceLevelObjective for service tier advisor.
	CurrentServiceLevelObjective string `pulumi:"currentServiceLevelObjective"`
	// Gets or sets currentServiceLevelObjectiveId for service tier advisor.
	CurrentServiceLevelObjectiveId string `pulumi:"currentServiceLevelObjectiveId"`
	// Gets or sets databaseSizeBasedRecommendationServiceLevelObjective for service tier advisor.
	DatabaseSizeBasedRecommendationServiceLevelObjective string `pulumi:"databaseSizeBasedRecommendationServiceLevelObjective"`
	// Gets or sets databaseSizeBasedRecommendationServiceLevelObjectiveId for service tier advisor.
	DatabaseSizeBasedRecommendationServiceLevelObjectiveId string `pulumi:"databaseSizeBasedRecommendationServiceLevelObjectiveId"`
	// Gets or sets disasterPlanBasedRecommendationServiceLevelObjective for service tier advisor.
	DisasterPlanBasedRecommendationServiceLevelObjective string `pulumi:"disasterPlanBasedRecommendationServiceLevelObjective"`
	// Gets or sets disasterPlanBasedRecommendationServiceLevelObjectiveId for service tier advisor.
	DisasterPlanBasedRecommendationServiceLevelObjectiveId string `pulumi:"disasterPlanBasedRecommendationServiceLevelObjectiveId"`
	// Resource ID.
	Id string `pulumi:"id"`
	// Gets or sets maxDtu for service tier advisor.
	MaxDtu float64 `pulumi:"maxDtu"`
	// Gets or sets maxSizeInGB for service tier advisor.
	MaxSizeInGB float64 `pulumi:"maxSizeInGB"`
	// Gets or sets minDtu for service tier advisor.
	MinDtu float64 `pulumi:"minDtu"`
	// Resource name.
	Name string `pulumi:"name"`
	// The observation period start (ISO8601 format).
	ObservationPeriodEnd string `pulumi:"observationPeriodEnd"`
	// The observation period start (ISO8601 format).
	ObservationPeriodStart string `pulumi:"observationPeriodStart"`
	// Gets or sets overallRecommendationServiceLevelObjective for service tier advisor.
	OverallRecommendationServiceLevelObjective string `pulumi:"overallRecommendationServiceLevelObjective"`
	// Gets or sets overallRecommendationServiceLevelObjectiveId for service tier advisor.
	OverallRecommendationServiceLevelObjectiveId string `pulumi:"overallRecommendationServiceLevelObjectiveId"`
	// Gets or sets serviceLevelObjectiveUsageMetrics for the service tier advisor.
	ServiceLevelObjectiveUsageMetrics []SloUsageMetricResponse `pulumi:"serviceLevelObjectiveUsageMetrics"`
	// Resource type.
	Type string `pulumi:"type"`
	// Gets or sets usageBasedRecommendationServiceLevelObjective for service tier advisor.
	UsageBasedRecommendationServiceLevelObjective string `pulumi:"usageBasedRecommendationServiceLevelObjective"`
	// Gets or sets usageBasedRecommendationServiceLevelObjectiveId for service tier advisor.
	UsageBasedRecommendationServiceLevelObjectiveId string `pulumi:"usageBasedRecommendationServiceLevelObjectiveId"`
}

Represents a Service Tier Advisor.

type ServiceTierAdvisorResponseArgs

type ServiceTierAdvisorResponseArgs struct {
	// The activeTimeRatio for service tier advisor.
	ActiveTimeRatio pulumi.Float64Input `pulumi:"activeTimeRatio"`
	// Gets or sets avgDtu for service tier advisor.
	AvgDtu pulumi.Float64Input `pulumi:"avgDtu"`
	// Gets or sets confidence for service tier advisor.
	Confidence pulumi.Float64Input `pulumi:"confidence"`
	// Gets or sets currentServiceLevelObjective for service tier advisor.
	CurrentServiceLevelObjective pulumi.StringInput `pulumi:"currentServiceLevelObjective"`
	// Gets or sets currentServiceLevelObjectiveId for service tier advisor.
	CurrentServiceLevelObjectiveId pulumi.StringInput `pulumi:"currentServiceLevelObjectiveId"`
	// Gets or sets databaseSizeBasedRecommendationServiceLevelObjective for service tier advisor.
	DatabaseSizeBasedRecommendationServiceLevelObjective pulumi.StringInput `pulumi:"databaseSizeBasedRecommendationServiceLevelObjective"`
	// Gets or sets databaseSizeBasedRecommendationServiceLevelObjectiveId for service tier advisor.
	DatabaseSizeBasedRecommendationServiceLevelObjectiveId pulumi.StringInput `pulumi:"databaseSizeBasedRecommendationServiceLevelObjectiveId"`
	// Gets or sets disasterPlanBasedRecommendationServiceLevelObjective for service tier advisor.
	DisasterPlanBasedRecommendationServiceLevelObjective pulumi.StringInput `pulumi:"disasterPlanBasedRecommendationServiceLevelObjective"`
	// Gets or sets disasterPlanBasedRecommendationServiceLevelObjectiveId for service tier advisor.
	DisasterPlanBasedRecommendationServiceLevelObjectiveId pulumi.StringInput `pulumi:"disasterPlanBasedRecommendationServiceLevelObjectiveId"`
	// Resource ID.
	Id pulumi.StringInput `pulumi:"id"`
	// Gets or sets maxDtu for service tier advisor.
	MaxDtu pulumi.Float64Input `pulumi:"maxDtu"`
	// Gets or sets maxSizeInGB for service tier advisor.
	MaxSizeInGB pulumi.Float64Input `pulumi:"maxSizeInGB"`
	// Gets or sets minDtu for service tier advisor.
	MinDtu pulumi.Float64Input `pulumi:"minDtu"`
	// Resource name.
	Name pulumi.StringInput `pulumi:"name"`
	// The observation period start (ISO8601 format).
	ObservationPeriodEnd pulumi.StringInput `pulumi:"observationPeriodEnd"`
	// The observation period start (ISO8601 format).
	ObservationPeriodStart pulumi.StringInput `pulumi:"observationPeriodStart"`
	// Gets or sets overallRecommendationServiceLevelObjective for service tier advisor.
	OverallRecommendationServiceLevelObjective pulumi.StringInput `pulumi:"overallRecommendationServiceLevelObjective"`
	// Gets or sets overallRecommendationServiceLevelObjectiveId for service tier advisor.
	OverallRecommendationServiceLevelObjectiveId pulumi.StringInput `pulumi:"overallRecommendationServiceLevelObjectiveId"`
	// Gets or sets serviceLevelObjectiveUsageMetrics for the service tier advisor.
	ServiceLevelObjectiveUsageMetrics SloUsageMetricResponseArrayInput `pulumi:"serviceLevelObjectiveUsageMetrics"`
	// Resource type.
	Type pulumi.StringInput `pulumi:"type"`
	// Gets or sets usageBasedRecommendationServiceLevelObjective for service tier advisor.
	UsageBasedRecommendationServiceLevelObjective pulumi.StringInput `pulumi:"usageBasedRecommendationServiceLevelObjective"`
	// Gets or sets usageBasedRecommendationServiceLevelObjectiveId for service tier advisor.
	UsageBasedRecommendationServiceLevelObjectiveId pulumi.StringInput `pulumi:"usageBasedRecommendationServiceLevelObjectiveId"`
}

Represents a Service Tier Advisor.

func (ServiceTierAdvisorResponseArgs) ElementType

func (ServiceTierAdvisorResponseArgs) ToServiceTierAdvisorResponseOutput

func (i ServiceTierAdvisorResponseArgs) ToServiceTierAdvisorResponseOutput() ServiceTierAdvisorResponseOutput

func (ServiceTierAdvisorResponseArgs) ToServiceTierAdvisorResponseOutputWithContext

func (i ServiceTierAdvisorResponseArgs) ToServiceTierAdvisorResponseOutputWithContext(ctx context.Context) ServiceTierAdvisorResponseOutput

type ServiceTierAdvisorResponseArray

type ServiceTierAdvisorResponseArray []ServiceTierAdvisorResponseInput

func (ServiceTierAdvisorResponseArray) ElementType

func (ServiceTierAdvisorResponseArray) ToServiceTierAdvisorResponseArrayOutput

func (i ServiceTierAdvisorResponseArray) ToServiceTierAdvisorResponseArrayOutput() ServiceTierAdvisorResponseArrayOutput

func (ServiceTierAdvisorResponseArray) ToServiceTierAdvisorResponseArrayOutputWithContext

func (i ServiceTierAdvisorResponseArray) ToServiceTierAdvisorResponseArrayOutputWithContext(ctx context.Context) ServiceTierAdvisorResponseArrayOutput

type ServiceTierAdvisorResponseArrayInput

type ServiceTierAdvisorResponseArrayInput interface {
	pulumi.Input

	ToServiceTierAdvisorResponseArrayOutput() ServiceTierAdvisorResponseArrayOutput
	ToServiceTierAdvisorResponseArrayOutputWithContext(context.Context) ServiceTierAdvisorResponseArrayOutput
}

ServiceTierAdvisorResponseArrayInput is an input type that accepts ServiceTierAdvisorResponseArray and ServiceTierAdvisorResponseArrayOutput values. You can construct a concrete instance of `ServiceTierAdvisorResponseArrayInput` via:

ServiceTierAdvisorResponseArray{ ServiceTierAdvisorResponseArgs{...} }

type ServiceTierAdvisorResponseArrayOutput

type ServiceTierAdvisorResponseArrayOutput struct{ *pulumi.OutputState }

func (ServiceTierAdvisorResponseArrayOutput) ElementType

func (ServiceTierAdvisorResponseArrayOutput) Index

func (ServiceTierAdvisorResponseArrayOutput) ToServiceTierAdvisorResponseArrayOutput

func (o ServiceTierAdvisorResponseArrayOutput) ToServiceTierAdvisorResponseArrayOutput() ServiceTierAdvisorResponseArrayOutput

func (ServiceTierAdvisorResponseArrayOutput) ToServiceTierAdvisorResponseArrayOutputWithContext

func (o ServiceTierAdvisorResponseArrayOutput) ToServiceTierAdvisorResponseArrayOutputWithContext(ctx context.Context) ServiceTierAdvisorResponseArrayOutput

type ServiceTierAdvisorResponseInput

type ServiceTierAdvisorResponseInput interface {
	pulumi.Input

	ToServiceTierAdvisorResponseOutput() ServiceTierAdvisorResponseOutput
	ToServiceTierAdvisorResponseOutputWithContext(context.Context) ServiceTierAdvisorResponseOutput
}

ServiceTierAdvisorResponseInput is an input type that accepts ServiceTierAdvisorResponseArgs and ServiceTierAdvisorResponseOutput values. You can construct a concrete instance of `ServiceTierAdvisorResponseInput` via:

ServiceTierAdvisorResponseArgs{...}

type ServiceTierAdvisorResponseOutput

type ServiceTierAdvisorResponseOutput struct{ *pulumi.OutputState }

Represents a Service Tier Advisor.

func (ServiceTierAdvisorResponseOutput) ActiveTimeRatio

The activeTimeRatio for service tier advisor.

func (ServiceTierAdvisorResponseOutput) AvgDtu

Gets or sets avgDtu for service tier advisor.

func (ServiceTierAdvisorResponseOutput) Confidence

Gets or sets confidence for service tier advisor.

func (ServiceTierAdvisorResponseOutput) CurrentServiceLevelObjective

func (o ServiceTierAdvisorResponseOutput) CurrentServiceLevelObjective() pulumi.StringOutput

Gets or sets currentServiceLevelObjective for service tier advisor.

func (ServiceTierAdvisorResponseOutput) CurrentServiceLevelObjectiveId

func (o ServiceTierAdvisorResponseOutput) CurrentServiceLevelObjectiveId() pulumi.StringOutput

Gets or sets currentServiceLevelObjectiveId for service tier advisor.

func (ServiceTierAdvisorResponseOutput) DatabaseSizeBasedRecommendationServiceLevelObjective

func (o ServiceTierAdvisorResponseOutput) DatabaseSizeBasedRecommendationServiceLevelObjective() pulumi.StringOutput

Gets or sets databaseSizeBasedRecommendationServiceLevelObjective for service tier advisor.

func (ServiceTierAdvisorResponseOutput) DatabaseSizeBasedRecommendationServiceLevelObjectiveId

func (o ServiceTierAdvisorResponseOutput) DatabaseSizeBasedRecommendationServiceLevelObjectiveId() pulumi.StringOutput

Gets or sets databaseSizeBasedRecommendationServiceLevelObjectiveId for service tier advisor.

func (ServiceTierAdvisorResponseOutput) DisasterPlanBasedRecommendationServiceLevelObjective

func (o ServiceTierAdvisorResponseOutput) DisasterPlanBasedRecommendationServiceLevelObjective() pulumi.StringOutput

Gets or sets disasterPlanBasedRecommendationServiceLevelObjective for service tier advisor.

func (ServiceTierAdvisorResponseOutput) DisasterPlanBasedRecommendationServiceLevelObjectiveId

func (o ServiceTierAdvisorResponseOutput) DisasterPlanBasedRecommendationServiceLevelObjectiveId() pulumi.StringOutput

Gets or sets disasterPlanBasedRecommendationServiceLevelObjectiveId for service tier advisor.

func (ServiceTierAdvisorResponseOutput) ElementType

func (ServiceTierAdvisorResponseOutput) Id

Resource ID.

func (ServiceTierAdvisorResponseOutput) MaxDtu

Gets or sets maxDtu for service tier advisor.

func (ServiceTierAdvisorResponseOutput) MaxSizeInGB

Gets or sets maxSizeInGB for service tier advisor.

func (ServiceTierAdvisorResponseOutput) MinDtu

Gets or sets minDtu for service tier advisor.

func (ServiceTierAdvisorResponseOutput) Name

Resource name.

func (ServiceTierAdvisorResponseOutput) ObservationPeriodEnd

func (o ServiceTierAdvisorResponseOutput) ObservationPeriodEnd() pulumi.StringOutput

The observation period start (ISO8601 format).

func (ServiceTierAdvisorResponseOutput) ObservationPeriodStart

func (o ServiceTierAdvisorResponseOutput) ObservationPeriodStart() pulumi.StringOutput

The observation period start (ISO8601 format).

func (ServiceTierAdvisorResponseOutput) OverallRecommendationServiceLevelObjective

func (o ServiceTierAdvisorResponseOutput) OverallRecommendationServiceLevelObjective() pulumi.StringOutput

Gets or sets overallRecommendationServiceLevelObjective for service tier advisor.

func (ServiceTierAdvisorResponseOutput) OverallRecommendationServiceLevelObjectiveId

func (o ServiceTierAdvisorResponseOutput) OverallRecommendationServiceLevelObjectiveId() pulumi.StringOutput

Gets or sets overallRecommendationServiceLevelObjectiveId for service tier advisor.

func (ServiceTierAdvisorResponseOutput) ServiceLevelObjectiveUsageMetrics

func (o ServiceTierAdvisorResponseOutput) ServiceLevelObjectiveUsageMetrics() SloUsageMetricResponseArrayOutput

Gets or sets serviceLevelObjectiveUsageMetrics for the service tier advisor.

func (ServiceTierAdvisorResponseOutput) ToServiceTierAdvisorResponseOutput

func (o ServiceTierAdvisorResponseOutput) ToServiceTierAdvisorResponseOutput() ServiceTierAdvisorResponseOutput

func (ServiceTierAdvisorResponseOutput) ToServiceTierAdvisorResponseOutputWithContext

func (o ServiceTierAdvisorResponseOutput) ToServiceTierAdvisorResponseOutputWithContext(ctx context.Context) ServiceTierAdvisorResponseOutput

func (ServiceTierAdvisorResponseOutput) Type

Resource type.

func (ServiceTierAdvisorResponseOutput) UsageBasedRecommendationServiceLevelObjective

func (o ServiceTierAdvisorResponseOutput) UsageBasedRecommendationServiceLevelObjective() pulumi.StringOutput

Gets or sets usageBasedRecommendationServiceLevelObjective for service tier advisor.

func (ServiceTierAdvisorResponseOutput) UsageBasedRecommendationServiceLevelObjectiveId

func (o ServiceTierAdvisorResponseOutput) UsageBasedRecommendationServiceLevelObjectiveId() pulumi.StringOutput

Gets or sets usageBasedRecommendationServiceLevelObjectiveId for service tier advisor.

type SloUsageMetricResponse

type SloUsageMetricResponse struct {
	// Gets or sets inRangeTimeRatio for SLO usage metric.
	InRangeTimeRatio float64 `pulumi:"inRangeTimeRatio"`
	// The serviceLevelObjective for SLO usage metric.
	ServiceLevelObjective string `pulumi:"serviceLevelObjective"`
	// The serviceLevelObjectiveId for SLO usage metric.
	ServiceLevelObjectiveId string `pulumi:"serviceLevelObjectiveId"`
}

A Slo Usage Metric.

type SloUsageMetricResponseArgs

type SloUsageMetricResponseArgs struct {
	// Gets or sets inRangeTimeRatio for SLO usage metric.
	InRangeTimeRatio pulumi.Float64Input `pulumi:"inRangeTimeRatio"`
	// The serviceLevelObjective for SLO usage metric.
	ServiceLevelObjective pulumi.StringInput `pulumi:"serviceLevelObjective"`
	// The serviceLevelObjectiveId for SLO usage metric.
	ServiceLevelObjectiveId pulumi.StringInput `pulumi:"serviceLevelObjectiveId"`
}

A Slo Usage Metric.

func (SloUsageMetricResponseArgs) ElementType

func (SloUsageMetricResponseArgs) ElementType() reflect.Type

func (SloUsageMetricResponseArgs) ToSloUsageMetricResponseOutput

func (i SloUsageMetricResponseArgs) ToSloUsageMetricResponseOutput() SloUsageMetricResponseOutput

func (SloUsageMetricResponseArgs) ToSloUsageMetricResponseOutputWithContext

func (i SloUsageMetricResponseArgs) ToSloUsageMetricResponseOutputWithContext(ctx context.Context) SloUsageMetricResponseOutput

type SloUsageMetricResponseArray

type SloUsageMetricResponseArray []SloUsageMetricResponseInput

func (SloUsageMetricResponseArray) ElementType

func (SloUsageMetricResponseArray) ToSloUsageMetricResponseArrayOutput

func (i SloUsageMetricResponseArray) ToSloUsageMetricResponseArrayOutput() SloUsageMetricResponseArrayOutput

func (SloUsageMetricResponseArray) ToSloUsageMetricResponseArrayOutputWithContext

func (i SloUsageMetricResponseArray) ToSloUsageMetricResponseArrayOutputWithContext(ctx context.Context) SloUsageMetricResponseArrayOutput

type SloUsageMetricResponseArrayInput

type SloUsageMetricResponseArrayInput interface {
	pulumi.Input

	ToSloUsageMetricResponseArrayOutput() SloUsageMetricResponseArrayOutput
	ToSloUsageMetricResponseArrayOutputWithContext(context.Context) SloUsageMetricResponseArrayOutput
}

SloUsageMetricResponseArrayInput is an input type that accepts SloUsageMetricResponseArray and SloUsageMetricResponseArrayOutput values. You can construct a concrete instance of `SloUsageMetricResponseArrayInput` via:

SloUsageMetricResponseArray{ SloUsageMetricResponseArgs{...} }

type SloUsageMetricResponseArrayOutput

type SloUsageMetricResponseArrayOutput struct{ *pulumi.OutputState }

func (SloUsageMetricResponseArrayOutput) ElementType

func (SloUsageMetricResponseArrayOutput) Index

func (SloUsageMetricResponseArrayOutput) ToSloUsageMetricResponseArrayOutput

func (o SloUsageMetricResponseArrayOutput) ToSloUsageMetricResponseArrayOutput() SloUsageMetricResponseArrayOutput

func (SloUsageMetricResponseArrayOutput) ToSloUsageMetricResponseArrayOutputWithContext

func (o SloUsageMetricResponseArrayOutput) ToSloUsageMetricResponseArrayOutputWithContext(ctx context.Context) SloUsageMetricResponseArrayOutput

type SloUsageMetricResponseInput

type SloUsageMetricResponseInput interface {
	pulumi.Input

	ToSloUsageMetricResponseOutput() SloUsageMetricResponseOutput
	ToSloUsageMetricResponseOutputWithContext(context.Context) SloUsageMetricResponseOutput
}

SloUsageMetricResponseInput is an input type that accepts SloUsageMetricResponseArgs and SloUsageMetricResponseOutput values. You can construct a concrete instance of `SloUsageMetricResponseInput` via:

SloUsageMetricResponseArgs{...}

type SloUsageMetricResponseOutput

type SloUsageMetricResponseOutput struct{ *pulumi.OutputState }

A Slo Usage Metric.

func (SloUsageMetricResponseOutput) ElementType

func (SloUsageMetricResponseOutput) InRangeTimeRatio

func (o SloUsageMetricResponseOutput) InRangeTimeRatio() pulumi.Float64Output

Gets or sets inRangeTimeRatio for SLO usage metric.

func (SloUsageMetricResponseOutput) ServiceLevelObjective

func (o SloUsageMetricResponseOutput) ServiceLevelObjective() pulumi.StringOutput

The serviceLevelObjective for SLO usage metric.

func (SloUsageMetricResponseOutput) ServiceLevelObjectiveId

func (o SloUsageMetricResponseOutput) ServiceLevelObjectiveId() pulumi.StringOutput

The serviceLevelObjectiveId for SLO usage metric.

func (SloUsageMetricResponseOutput) ToSloUsageMetricResponseOutput

func (o SloUsageMetricResponseOutput) ToSloUsageMetricResponseOutput() SloUsageMetricResponseOutput

func (SloUsageMetricResponseOutput) ToSloUsageMetricResponseOutputWithContext

func (o SloUsageMetricResponseOutput) ToSloUsageMetricResponseOutputWithContext(ctx context.Context) SloUsageMetricResponseOutput

type TransparentDataEncryption added in v0.2.5

type TransparentDataEncryption struct {
	pulumi.CustomResourceState

	// Resource location.
	Location pulumi.StringOutput `pulumi:"location"`
	// Resource name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The status of the database transparent data encryption.
	Status pulumi.StringPtrOutput `pulumi:"status"`
	// Resource type.
	Type pulumi.StringOutput `pulumi:"type"`
}

Represents a database transparent data encryption configuration.

func GetTransparentDataEncryption added in v0.2.5

func GetTransparentDataEncryption(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TransparentDataEncryptionState, opts ...pulumi.ResourceOption) (*TransparentDataEncryption, error)

GetTransparentDataEncryption gets an existing TransparentDataEncryption resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTransparentDataEncryption added in v0.2.5

func NewTransparentDataEncryption(ctx *pulumi.Context,
	name string, args *TransparentDataEncryptionArgs, opts ...pulumi.ResourceOption) (*TransparentDataEncryption, error)

NewTransparentDataEncryption registers a new resource with the given unique name, arguments, and options.

func (*TransparentDataEncryption) ElementType added in v0.2.6

func (*TransparentDataEncryption) ElementType() reflect.Type

func (*TransparentDataEncryption) ToTransparentDataEncryptionOutput added in v0.2.6

func (i *TransparentDataEncryption) ToTransparentDataEncryptionOutput() TransparentDataEncryptionOutput

func (*TransparentDataEncryption) ToTransparentDataEncryptionOutputWithContext added in v0.2.6

func (i *TransparentDataEncryption) ToTransparentDataEncryptionOutputWithContext(ctx context.Context) TransparentDataEncryptionOutput

type TransparentDataEncryptionArgs added in v0.2.5

type TransparentDataEncryptionArgs struct {
	// The name of the database for which setting the transparent data encryption applies.
	DatabaseName pulumi.StringInput
	// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
	ResourceGroupName pulumi.StringInput
	// The name of the server.
	ServerName pulumi.StringInput
	// The status of the database transparent data encryption.
	Status pulumi.StringPtrInput
	// The name of the transparent data encryption configuration.
	TransparentDataEncryptionName pulumi.StringInput
}

The set of arguments for constructing a TransparentDataEncryption resource.

func (TransparentDataEncryptionArgs) ElementType added in v0.2.5

type TransparentDataEncryptionInput added in v0.2.6

type TransparentDataEncryptionInput interface {
	pulumi.Input

	ToTransparentDataEncryptionOutput() TransparentDataEncryptionOutput
	ToTransparentDataEncryptionOutputWithContext(ctx context.Context) TransparentDataEncryptionOutput
}

type TransparentDataEncryptionOutput added in v0.2.6

type TransparentDataEncryptionOutput struct {
	*pulumi.OutputState
}

func (TransparentDataEncryptionOutput) ElementType added in v0.2.6

func (TransparentDataEncryptionOutput) ToTransparentDataEncryptionOutput added in v0.2.6

func (o TransparentDataEncryptionOutput) ToTransparentDataEncryptionOutput() TransparentDataEncryptionOutput

func (TransparentDataEncryptionOutput) ToTransparentDataEncryptionOutputWithContext added in v0.2.6

func (o TransparentDataEncryptionOutput) ToTransparentDataEncryptionOutputWithContext(ctx context.Context) TransparentDataEncryptionOutput

type TransparentDataEncryptionResponse

type TransparentDataEncryptionResponse struct {
	// Resource ID.
	Id string `pulumi:"id"`
	// Resource location.
	Location string `pulumi:"location"`
	// Resource name.
	Name string `pulumi:"name"`
	// The status of the database transparent data encryption.
	Status *string `pulumi:"status"`
	// Resource type.
	Type string `pulumi:"type"`
}

Represents a database transparent data encryption configuration.

type TransparentDataEncryptionResponseArgs

type TransparentDataEncryptionResponseArgs struct {
	// Resource ID.
	Id pulumi.StringInput `pulumi:"id"`
	// Resource location.
	Location pulumi.StringInput `pulumi:"location"`
	// Resource name.
	Name pulumi.StringInput `pulumi:"name"`
	// The status of the database transparent data encryption.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// Resource type.
	Type pulumi.StringInput `pulumi:"type"`
}

Represents a database transparent data encryption configuration.

func (TransparentDataEncryptionResponseArgs) ElementType

func (TransparentDataEncryptionResponseArgs) ToTransparentDataEncryptionResponseOutput

func (i TransparentDataEncryptionResponseArgs) ToTransparentDataEncryptionResponseOutput() TransparentDataEncryptionResponseOutput

func (TransparentDataEncryptionResponseArgs) ToTransparentDataEncryptionResponseOutputWithContext

func (i TransparentDataEncryptionResponseArgs) ToTransparentDataEncryptionResponseOutputWithContext(ctx context.Context) TransparentDataEncryptionResponseOutput

type TransparentDataEncryptionResponseArray

type TransparentDataEncryptionResponseArray []TransparentDataEncryptionResponseInput

func (TransparentDataEncryptionResponseArray) ElementType

func (TransparentDataEncryptionResponseArray) ToTransparentDataEncryptionResponseArrayOutput

func (i TransparentDataEncryptionResponseArray) ToTransparentDataEncryptionResponseArrayOutput() TransparentDataEncryptionResponseArrayOutput

func (TransparentDataEncryptionResponseArray) ToTransparentDataEncryptionResponseArrayOutputWithContext

func (i TransparentDataEncryptionResponseArray) ToTransparentDataEncryptionResponseArrayOutputWithContext(ctx context.Context) TransparentDataEncryptionResponseArrayOutput

type TransparentDataEncryptionResponseArrayInput

type TransparentDataEncryptionResponseArrayInput interface {
	pulumi.Input

	ToTransparentDataEncryptionResponseArrayOutput() TransparentDataEncryptionResponseArrayOutput
	ToTransparentDataEncryptionResponseArrayOutputWithContext(context.Context) TransparentDataEncryptionResponseArrayOutput
}

TransparentDataEncryptionResponseArrayInput is an input type that accepts TransparentDataEncryptionResponseArray and TransparentDataEncryptionResponseArrayOutput values. You can construct a concrete instance of `TransparentDataEncryptionResponseArrayInput` via:

TransparentDataEncryptionResponseArray{ TransparentDataEncryptionResponseArgs{...} }

type TransparentDataEncryptionResponseArrayOutput

type TransparentDataEncryptionResponseArrayOutput struct{ *pulumi.OutputState }

func (TransparentDataEncryptionResponseArrayOutput) ElementType

func (TransparentDataEncryptionResponseArrayOutput) Index

func (TransparentDataEncryptionResponseArrayOutput) ToTransparentDataEncryptionResponseArrayOutput

func (o TransparentDataEncryptionResponseArrayOutput) ToTransparentDataEncryptionResponseArrayOutput() TransparentDataEncryptionResponseArrayOutput

func (TransparentDataEncryptionResponseArrayOutput) ToTransparentDataEncryptionResponseArrayOutputWithContext

func (o TransparentDataEncryptionResponseArrayOutput) ToTransparentDataEncryptionResponseArrayOutputWithContext(ctx context.Context) TransparentDataEncryptionResponseArrayOutput

type TransparentDataEncryptionResponseInput

type TransparentDataEncryptionResponseInput interface {
	pulumi.Input

	ToTransparentDataEncryptionResponseOutput() TransparentDataEncryptionResponseOutput
	ToTransparentDataEncryptionResponseOutputWithContext(context.Context) TransparentDataEncryptionResponseOutput
}

TransparentDataEncryptionResponseInput is an input type that accepts TransparentDataEncryptionResponseArgs and TransparentDataEncryptionResponseOutput values. You can construct a concrete instance of `TransparentDataEncryptionResponseInput` via:

TransparentDataEncryptionResponseArgs{...}

type TransparentDataEncryptionResponseOutput

type TransparentDataEncryptionResponseOutput struct{ *pulumi.OutputState }

Represents a database transparent data encryption configuration.

func (TransparentDataEncryptionResponseOutput) ElementType

func (TransparentDataEncryptionResponseOutput) Id

Resource ID.

func (TransparentDataEncryptionResponseOutput) Location

Resource location.

func (TransparentDataEncryptionResponseOutput) Name

Resource name.

func (TransparentDataEncryptionResponseOutput) Status

The status of the database transparent data encryption.

func (TransparentDataEncryptionResponseOutput) ToTransparentDataEncryptionResponseOutput

func (o TransparentDataEncryptionResponseOutput) ToTransparentDataEncryptionResponseOutput() TransparentDataEncryptionResponseOutput

func (TransparentDataEncryptionResponseOutput) ToTransparentDataEncryptionResponseOutputWithContext

func (o TransparentDataEncryptionResponseOutput) ToTransparentDataEncryptionResponseOutputWithContext(ctx context.Context) TransparentDataEncryptionResponseOutput

func (TransparentDataEncryptionResponseOutput) Type

Resource type.

type TransparentDataEncryptionState added in v0.2.5

type TransparentDataEncryptionState struct {
	// Resource location.
	Location pulumi.StringPtrInput
	// Resource name.
	Name pulumi.StringPtrInput
	// The status of the database transparent data encryption.
	Status pulumi.StringPtrInput
	// Resource type.
	Type pulumi.StringPtrInput
}

func (TransparentDataEncryptionState) ElementType added in v0.2.5

type TransparentDataEncryptionStatus added in v0.3.1

type TransparentDataEncryptionStatus pulumi.String

The status of the database transparent data encryption.

func (TransparentDataEncryptionStatus) ElementType added in v0.3.1

func (TransparentDataEncryptionStatus) ToStringOutput added in v0.3.1

func (TransparentDataEncryptionStatus) ToStringOutputWithContext added in v0.3.1

func (e TransparentDataEncryptionStatus) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (TransparentDataEncryptionStatus) ToStringPtrOutput added in v0.3.1

func (TransparentDataEncryptionStatus) ToStringPtrOutputWithContext added in v0.3.1

func (e TransparentDataEncryptionStatus) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL