Documentation
¶
Index ¶
- type Database
- type DatabaseArgs
- type DatabaseInput
- type DatabaseOutput
- type DatabaseState
- type ElasticPool
- type ElasticPoolArgs
- type ElasticPoolInput
- type ElasticPoolOutput
- type ElasticPoolPerDatabaseSettings
- type ElasticPoolPerDatabaseSettingsArgs
- func (ElasticPoolPerDatabaseSettingsArgs) ElementType() reflect.Type
- func (i ElasticPoolPerDatabaseSettingsArgs) ToElasticPoolPerDatabaseSettingsOutput() ElasticPoolPerDatabaseSettingsOutput
- func (i ElasticPoolPerDatabaseSettingsArgs) ToElasticPoolPerDatabaseSettingsOutputWithContext(ctx context.Context) ElasticPoolPerDatabaseSettingsOutput
- func (i ElasticPoolPerDatabaseSettingsArgs) ToElasticPoolPerDatabaseSettingsPtrOutput() ElasticPoolPerDatabaseSettingsPtrOutput
- func (i ElasticPoolPerDatabaseSettingsArgs) ToElasticPoolPerDatabaseSettingsPtrOutputWithContext(ctx context.Context) ElasticPoolPerDatabaseSettingsPtrOutput
- type ElasticPoolPerDatabaseSettingsInput
- type ElasticPoolPerDatabaseSettingsOutput
- func (ElasticPoolPerDatabaseSettingsOutput) ElementType() reflect.Type
- func (o ElasticPoolPerDatabaseSettingsOutput) MaxCapacity() pulumi.Float64PtrOutput
- func (o ElasticPoolPerDatabaseSettingsOutput) MinCapacity() pulumi.Float64PtrOutput
- func (o ElasticPoolPerDatabaseSettingsOutput) ToElasticPoolPerDatabaseSettingsOutput() ElasticPoolPerDatabaseSettingsOutput
- func (o ElasticPoolPerDatabaseSettingsOutput) ToElasticPoolPerDatabaseSettingsOutputWithContext(ctx context.Context) ElasticPoolPerDatabaseSettingsOutput
- func (o ElasticPoolPerDatabaseSettingsOutput) ToElasticPoolPerDatabaseSettingsPtrOutput() ElasticPoolPerDatabaseSettingsPtrOutput
- func (o ElasticPoolPerDatabaseSettingsOutput) ToElasticPoolPerDatabaseSettingsPtrOutputWithContext(ctx context.Context) ElasticPoolPerDatabaseSettingsPtrOutput
- type ElasticPoolPerDatabaseSettingsPtrInput
- type ElasticPoolPerDatabaseSettingsPtrOutput
- func (o ElasticPoolPerDatabaseSettingsPtrOutput) Elem() ElasticPoolPerDatabaseSettingsOutput
- func (ElasticPoolPerDatabaseSettingsPtrOutput) ElementType() reflect.Type
- func (o ElasticPoolPerDatabaseSettingsPtrOutput) MaxCapacity() pulumi.Float64PtrOutput
- func (o ElasticPoolPerDatabaseSettingsPtrOutput) MinCapacity() pulumi.Float64PtrOutput
- func (o ElasticPoolPerDatabaseSettingsPtrOutput) ToElasticPoolPerDatabaseSettingsPtrOutput() ElasticPoolPerDatabaseSettingsPtrOutput
- func (o ElasticPoolPerDatabaseSettingsPtrOutput) ToElasticPoolPerDatabaseSettingsPtrOutputWithContext(ctx context.Context) ElasticPoolPerDatabaseSettingsPtrOutput
- type ElasticPoolPerDatabaseSettingsResponse
- type ElasticPoolPerDatabaseSettingsResponseArgs
- func (ElasticPoolPerDatabaseSettingsResponseArgs) ElementType() reflect.Type
- func (i ElasticPoolPerDatabaseSettingsResponseArgs) ToElasticPoolPerDatabaseSettingsResponseOutput() ElasticPoolPerDatabaseSettingsResponseOutput
- func (i ElasticPoolPerDatabaseSettingsResponseArgs) ToElasticPoolPerDatabaseSettingsResponseOutputWithContext(ctx context.Context) ElasticPoolPerDatabaseSettingsResponseOutput
- func (i ElasticPoolPerDatabaseSettingsResponseArgs) ToElasticPoolPerDatabaseSettingsResponsePtrOutput() ElasticPoolPerDatabaseSettingsResponsePtrOutput
- func (i ElasticPoolPerDatabaseSettingsResponseArgs) ToElasticPoolPerDatabaseSettingsResponsePtrOutputWithContext(ctx context.Context) ElasticPoolPerDatabaseSettingsResponsePtrOutput
- type ElasticPoolPerDatabaseSettingsResponseInput
- type ElasticPoolPerDatabaseSettingsResponseOutput
- func (ElasticPoolPerDatabaseSettingsResponseOutput) ElementType() reflect.Type
- func (o ElasticPoolPerDatabaseSettingsResponseOutput) MaxCapacity() pulumi.Float64PtrOutput
- func (o ElasticPoolPerDatabaseSettingsResponseOutput) MinCapacity() pulumi.Float64PtrOutput
- func (o ElasticPoolPerDatabaseSettingsResponseOutput) ToElasticPoolPerDatabaseSettingsResponseOutput() ElasticPoolPerDatabaseSettingsResponseOutput
- func (o ElasticPoolPerDatabaseSettingsResponseOutput) ToElasticPoolPerDatabaseSettingsResponseOutputWithContext(ctx context.Context) ElasticPoolPerDatabaseSettingsResponseOutput
- func (o ElasticPoolPerDatabaseSettingsResponseOutput) ToElasticPoolPerDatabaseSettingsResponsePtrOutput() ElasticPoolPerDatabaseSettingsResponsePtrOutput
- func (o ElasticPoolPerDatabaseSettingsResponseOutput) ToElasticPoolPerDatabaseSettingsResponsePtrOutputWithContext(ctx context.Context) ElasticPoolPerDatabaseSettingsResponsePtrOutput
- type ElasticPoolPerDatabaseSettingsResponsePtrInput
- type ElasticPoolPerDatabaseSettingsResponsePtrOutput
- func (o ElasticPoolPerDatabaseSettingsResponsePtrOutput) Elem() ElasticPoolPerDatabaseSettingsResponseOutput
- func (ElasticPoolPerDatabaseSettingsResponsePtrOutput) ElementType() reflect.Type
- func (o ElasticPoolPerDatabaseSettingsResponsePtrOutput) MaxCapacity() pulumi.Float64PtrOutput
- func (o ElasticPoolPerDatabaseSettingsResponsePtrOutput) MinCapacity() pulumi.Float64PtrOutput
- func (o ElasticPoolPerDatabaseSettingsResponsePtrOutput) ToElasticPoolPerDatabaseSettingsResponsePtrOutput() ElasticPoolPerDatabaseSettingsResponsePtrOutput
- func (o ElasticPoolPerDatabaseSettingsResponsePtrOutput) ToElasticPoolPerDatabaseSettingsResponsePtrOutputWithContext(ctx context.Context) ElasticPoolPerDatabaseSettingsResponsePtrOutput
- type ElasticPoolState
- type LookupDatabaseArgs
- type LookupDatabaseResult
- type LookupElasticPoolArgs
- type LookupElasticPoolResult
- type Sku
- type SkuArgs
- type SkuInput
- type SkuOutput
- func (o SkuOutput) Capacity() pulumi.IntPtrOutput
- func (SkuOutput) ElementType() reflect.Type
- func (o SkuOutput) Family() pulumi.StringPtrOutput
- func (o SkuOutput) Name() pulumi.StringOutput
- func (o SkuOutput) Size() pulumi.StringPtrOutput
- func (o SkuOutput) Tier() pulumi.StringPtrOutput
- func (o SkuOutput) ToSkuOutput() SkuOutput
- func (o SkuOutput) ToSkuOutputWithContext(ctx context.Context) SkuOutput
- func (o SkuOutput) ToSkuPtrOutput() SkuPtrOutput
- func (o SkuOutput) ToSkuPtrOutputWithContext(ctx context.Context) SkuPtrOutput
- type SkuPtrInput
- type SkuPtrOutput
- func (o SkuPtrOutput) Capacity() pulumi.IntPtrOutput
- func (o SkuPtrOutput) Elem() SkuOutput
- func (SkuPtrOutput) ElementType() reflect.Type
- func (o SkuPtrOutput) Family() pulumi.StringPtrOutput
- func (o SkuPtrOutput) Name() pulumi.StringPtrOutput
- func (o SkuPtrOutput) Size() pulumi.StringPtrOutput
- func (o SkuPtrOutput) Tier() pulumi.StringPtrOutput
- func (o SkuPtrOutput) ToSkuPtrOutput() SkuPtrOutput
- func (o SkuPtrOutput) ToSkuPtrOutputWithContext(ctx context.Context) SkuPtrOutput
- type SkuResponse
- type SkuResponseArgs
- func (SkuResponseArgs) ElementType() reflect.Type
- func (i SkuResponseArgs) ToSkuResponseOutput() SkuResponseOutput
- func (i SkuResponseArgs) ToSkuResponseOutputWithContext(ctx context.Context) SkuResponseOutput
- func (i SkuResponseArgs) ToSkuResponsePtrOutput() SkuResponsePtrOutput
- func (i SkuResponseArgs) ToSkuResponsePtrOutputWithContext(ctx context.Context) SkuResponsePtrOutput
- type SkuResponseInput
- type SkuResponseOutput
- func (o SkuResponseOutput) Capacity() pulumi.IntPtrOutput
- func (SkuResponseOutput) ElementType() reflect.Type
- func (o SkuResponseOutput) Family() pulumi.StringPtrOutput
- func (o SkuResponseOutput) Name() pulumi.StringOutput
- func (o SkuResponseOutput) Size() pulumi.StringPtrOutput
- func (o SkuResponseOutput) Tier() pulumi.StringPtrOutput
- func (o SkuResponseOutput) ToSkuResponseOutput() SkuResponseOutput
- func (o SkuResponseOutput) ToSkuResponseOutputWithContext(ctx context.Context) SkuResponseOutput
- func (o SkuResponseOutput) ToSkuResponsePtrOutput() SkuResponsePtrOutput
- func (o SkuResponseOutput) ToSkuResponsePtrOutputWithContext(ctx context.Context) SkuResponsePtrOutput
- type SkuResponsePtrInput
- type SkuResponsePtrOutput
- func (o SkuResponsePtrOutput) Capacity() pulumi.IntPtrOutput
- func (o SkuResponsePtrOutput) Elem() SkuResponseOutput
- func (SkuResponsePtrOutput) ElementType() reflect.Type
- func (o SkuResponsePtrOutput) Family() pulumi.StringPtrOutput
- func (o SkuResponsePtrOutput) Name() pulumi.StringPtrOutput
- func (o SkuResponsePtrOutput) Size() pulumi.StringPtrOutput
- func (o SkuResponsePtrOutput) Tier() pulumi.StringPtrOutput
- func (o SkuResponsePtrOutput) ToSkuResponsePtrOutput() SkuResponsePtrOutput
- func (o SkuResponsePtrOutput) ToSkuResponsePtrOutputWithContext(ctx context.Context) SkuResponsePtrOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct { pulumi.CustomResourceState // Time in minutes after which database is automatically paused. A value of -1 means that automatic pause is disabled AutoPauseDelay pulumi.IntPtrOutput `pulumi:"autoPauseDelay"` // Collation of the metadata catalog. CatalogCollation pulumi.StringPtrOutput `pulumi:"catalogCollation"` // The collation of the database. Collation pulumi.StringPtrOutput `pulumi:"collation"` // 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. // // Secondary: creates a database as a 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, Secondary, 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 name of the database. CurrentServiceObjectiveName pulumi.StringOutput `pulumi:"currentServiceObjectiveName"` // The name and tier of the SKU. CurrentSku SkuResponseOutput `pulumi:"currentSku"` // 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 resource identifier of the elastic pool containing this database. ElasticPoolId pulumi.StringPtrOutput `pulumi:"elasticPoolId"` // Failover Group resource identifier that this database belongs to. FailoverGroupId pulumi.StringOutput `pulumi:"failoverGroupId"` // The number of secondary replicas associated with the database that are used to provide high availability. HighAvailabilityReplicaCount pulumi.IntPtrOutput `pulumi:"highAvailabilityReplicaCount"` // Kind of database. This is metadata used for the Azure portal experience. Kind pulumi.StringOutput `pulumi:"kind"` // The license type to apply for this database. `LicenseIncluded` if you need a license, or `BasePrice` if you have a license and are eligible for the Azure Hybrid Benefit. LicenseType pulumi.StringPtrOutput `pulumi:"licenseType"` // Resource location. Location pulumi.StringOutput `pulumi:"location"` // The resource identifier of the long term retention backup associated with create operation of this database. LongTermRetentionBackupResourceId pulumi.StringPtrOutput `pulumi:"longTermRetentionBackupResourceId"` // Maintenance configuration id assigned to the database. This configuration defines the period when the maintenance updates will be rolled out. MaintenanceConfigurationId pulumi.StringPtrOutput `pulumi:"maintenanceConfigurationId"` // Resource that manages the database. ManagedBy pulumi.StringOutput `pulumi:"managedBy"` // The max log size for this database. MaxLogSizeBytes pulumi.IntOutput `pulumi:"maxLogSizeBytes"` // The max size of the database expressed in bytes. MaxSizeBytes pulumi.IntPtrOutput `pulumi:"maxSizeBytes"` // Minimal capacity that database will always have allocated, if not paused MinCapacity pulumi.Float64PtrOutput `pulumi:"minCapacity"` // Resource name. Name pulumi.StringOutput `pulumi:"name"` // The date when database was paused by user configuration or action(ISO8601 format). Null if the database is ready. PausedDate pulumi.StringOutput `pulumi:"pausedDate"` // The state of read-only routing. If enabled, connections that have application intent set to readonly in their connection string may be routed to a readonly secondary replica in the same region. ReadScale pulumi.StringPtrOutput `pulumi:"readScale"` // The resource identifier of the recoverable database associated with create operation of this database. RecoverableDatabaseId pulumi.StringPtrOutput `pulumi:"recoverableDatabaseId"` // The resource identifier of the recovery point associated with create operation of this database. RecoveryServicesRecoveryPointId pulumi.StringPtrOutput `pulumi:"recoveryServicesRecoveryPointId"` // The requested service level objective name of the database. RequestedServiceObjectiveName pulumi.StringOutput `pulumi:"requestedServiceObjectiveName"` // The resource identifier of the restorable dropped database associated with create operation of this database. RestorableDroppedDatabaseId pulumi.StringPtrOutput `pulumi:"restorableDroppedDatabaseId"` // Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database. RestorePointInTime pulumi.StringPtrOutput `pulumi:"restorePointInTime"` // The date when database was resumed by user action or database login (ISO8601 format). Null if the database is paused. ResumedDate pulumi.StringOutput `pulumi:"resumedDate"` // The name of the sample schema to apply when creating this database. SampleName pulumi.StringPtrOutput `pulumi:"sampleName"` // The secondary type of the database if it is a secondary. Valid values are Geo and Named. SecondaryType pulumi.StringPtrOutput `pulumi:"secondaryType"` // The database SKU. // // The list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition, family, and capacity) that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API or one of the following commands: Sku SkuResponsePtrOutput `pulumi:"sku"` // Specifies the time that the database was deleted. SourceDatabaseDeletionDate pulumi.StringPtrOutput `pulumi:"sourceDatabaseDeletionDate"` // The resource identifier of the source database associated with create operation of this database. SourceDatabaseId pulumi.StringPtrOutput `pulumi:"sourceDatabaseId"` // The status of the database. Status pulumi.StringOutput `pulumi:"status"` // The storage account type used to store backups for this database. Currently the only supported option is GRS (GeoRedundantStorage). StorageAccountType pulumi.StringPtrOutput `pulumi:"storageAccountType"` // Resource tags. Tags pulumi.StringMapOutput `pulumi:"tags"` // 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"` }
A database resource.
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) 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 { // Time in minutes after which database is automatically paused. A value of -1 means that automatic pause is disabled AutoPauseDelay pulumi.IntPtrInput // Collation of the metadata catalog. CatalogCollation pulumi.StringPtrInput // The collation of the database. 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. // // Secondary: creates a database as a 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, Secondary, and RestoreLongTermRetentionBackup are not supported for DataWarehouse edition. CreateMode pulumi.StringPtrInput // The name of the database. DatabaseName pulumi.StringInput // The resource identifier of the elastic pool containing this database. ElasticPoolId pulumi.StringPtrInput // The number of secondary replicas associated with the database that are used to provide high availability. HighAvailabilityReplicaCount pulumi.IntPtrInput // The license type to apply for this database. `LicenseIncluded` if you need a license, or `BasePrice` if you have a license and are eligible for the Azure Hybrid Benefit. LicenseType pulumi.StringPtrInput // Resource location. Location pulumi.StringInput // The resource identifier of the long term retention backup associated with create operation of this database. LongTermRetentionBackupResourceId pulumi.StringPtrInput // Maintenance configuration id assigned to the database. This configuration defines the period when the maintenance updates will be rolled out. MaintenanceConfigurationId pulumi.StringPtrInput // The max size of the database expressed in bytes. MaxSizeBytes pulumi.IntPtrInput // Minimal capacity that database will always have allocated, if not paused MinCapacity pulumi.Float64PtrInput // The state of read-only routing. If enabled, connections that have application intent set to readonly in their connection string may be routed to a readonly secondary replica in the same region. ReadScale pulumi.StringPtrInput // The resource identifier of the recoverable database associated with create operation of this database. RecoverableDatabaseId pulumi.StringPtrInput // The resource identifier of the recovery point associated with create operation of this database. RecoveryServicesRecoveryPointId 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 resource identifier of the restorable dropped database associated with create operation of this database. RestorableDroppedDatabaseId pulumi.StringPtrInput // Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database. RestorePointInTime pulumi.StringPtrInput // The name of the sample schema to apply when creating this database. SampleName pulumi.StringPtrInput // The secondary type of the database if it is a secondary. Valid values are Geo and Named. SecondaryType pulumi.StringPtrInput // The name of the server. ServerName pulumi.StringInput // The database SKU. // // The list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition, family, and capacity) that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API or one of the following commands: Sku SkuPtrInput // Specifies the time that the database was deleted. SourceDatabaseDeletionDate pulumi.StringPtrInput // The resource identifier of the source database associated with create operation of this database. SourceDatabaseId pulumi.StringPtrInput // The storage account type used to store backups for this database. Currently the only supported option is GRS (GeoRedundantStorage). StorageAccountType 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 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 { // Time in minutes after which database is automatically paused. A value of -1 means that automatic pause is disabled AutoPauseDelay pulumi.IntPtrInput // Collation of the metadata catalog. CatalogCollation pulumi.StringPtrInput // The collation of the database. 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. // // Secondary: creates a database as a 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, Secondary, 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 name of the database. CurrentServiceObjectiveName pulumi.StringPtrInput // The name and tier of the SKU. CurrentSku SkuResponsePtrInput // 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 resource identifier of the elastic pool containing this database. ElasticPoolId pulumi.StringPtrInput // Failover Group resource identifier that this database belongs to. FailoverGroupId pulumi.StringPtrInput // The number of secondary replicas associated with the database that are used to provide high availability. HighAvailabilityReplicaCount pulumi.IntPtrInput // Kind of database. This is metadata used for the Azure portal experience. Kind pulumi.StringPtrInput // The license type to apply for this database. `LicenseIncluded` if you need a license, or `BasePrice` if you have a license and are eligible for the Azure Hybrid Benefit. LicenseType pulumi.StringPtrInput // Resource location. Location pulumi.StringPtrInput // The resource identifier of the long term retention backup associated with create operation of this database. LongTermRetentionBackupResourceId pulumi.StringPtrInput // Maintenance configuration id assigned to the database. This configuration defines the period when the maintenance updates will be rolled out. MaintenanceConfigurationId pulumi.StringPtrInput // Resource that manages the database. ManagedBy pulumi.StringPtrInput // The max log size for this database. MaxLogSizeBytes pulumi.IntPtrInput // The max size of the database expressed in bytes. MaxSizeBytes pulumi.IntPtrInput // Minimal capacity that database will always have allocated, if not paused MinCapacity pulumi.Float64PtrInput // Resource name. Name pulumi.StringPtrInput // The date when database was paused by user configuration or action(ISO8601 format). Null if the database is ready. PausedDate pulumi.StringPtrInput // The state of read-only routing. If enabled, connections that have application intent set to readonly in their connection string may be routed to a readonly secondary replica in the same region. ReadScale pulumi.StringPtrInput // The resource identifier of the recoverable database associated with create operation of this database. RecoverableDatabaseId pulumi.StringPtrInput // The resource identifier of the recovery point associated with create operation of this database. RecoveryServicesRecoveryPointId pulumi.StringPtrInput // The requested service level objective name of the database. RequestedServiceObjectiveName pulumi.StringPtrInput // The resource identifier of the restorable dropped database associated with create operation of this database. RestorableDroppedDatabaseId pulumi.StringPtrInput // Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database. RestorePointInTime pulumi.StringPtrInput // The date when database was resumed by user action or database login (ISO8601 format). Null if the database is paused. ResumedDate pulumi.StringPtrInput // The name of the sample schema to apply when creating this database. SampleName pulumi.StringPtrInput // The secondary type of the database if it is a secondary. Valid values are Geo and Named. SecondaryType pulumi.StringPtrInput // The database SKU. // // The list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition, family, and capacity) that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API or one of the following commands: Sku SkuResponsePtrInput // Specifies the time that the database was deleted. SourceDatabaseDeletionDate pulumi.StringPtrInput // The resource identifier of the source database associated with create operation of this database. SourceDatabaseId pulumi.StringPtrInput // The status of the database. Status pulumi.StringPtrInput // The storage account type used to store backups for this database. Currently the only supported option is GRS (GeoRedundantStorage). StorageAccountType pulumi.StringPtrInput // Resource tags. Tags pulumi.StringMapInput // 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 ElasticPool ¶
type ElasticPool struct { pulumi.CustomResourceState // The creation date of the elastic pool (ISO8601 format). CreationDate pulumi.StringOutput `pulumi:"creationDate"` // Kind of elastic pool. This is metadata used for the Azure portal experience. Kind pulumi.StringOutput `pulumi:"kind"` // The license type to apply for this elastic pool. LicenseType pulumi.StringPtrOutput `pulumi:"licenseType"` // Resource location. Location pulumi.StringOutput `pulumi:"location"` // Maintenance configuration id assigned to the elastic pool. This configuration defines the period when the maintenance updates will be rolled out. MaintenanceConfigurationId pulumi.StringPtrOutput `pulumi:"maintenanceConfigurationId"` // The storage limit for the database elastic pool in bytes. MaxSizeBytes pulumi.IntPtrOutput `pulumi:"maxSizeBytes"` // Resource name. Name pulumi.StringOutput `pulumi:"name"` // The per database settings for the elastic pool. PerDatabaseSettings ElasticPoolPerDatabaseSettingsResponsePtrOutput `pulumi:"perDatabaseSettings"` // The elastic pool SKU. // // The list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition, family, and capacity) that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API or the following command: Sku SkuResponsePtrOutput `pulumi:"sku"` // The state of the elastic pool. State pulumi.StringOutput `pulumi:"state"` // Resource tags. Tags pulumi.StringMapOutput `pulumi:"tags"` // Resource type. Type pulumi.StringOutput `pulumi:"type"` // Whether or not this elastic pool is zone redundant, which means the replicas of this elastic pool will be spread across multiple availability zones. ZoneRedundant pulumi.BoolPtrOutput `pulumi:"zoneRedundant"` }
An 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 name of the elastic pool. ElasticPoolName pulumi.StringInput // The license type to apply for this elastic pool. LicenseType pulumi.StringPtrInput // Resource location. Location pulumi.StringInput // Maintenance configuration id assigned to the elastic pool. This configuration defines the period when the maintenance updates will be rolled out. MaintenanceConfigurationId pulumi.StringPtrInput // The storage limit for the database elastic pool in bytes. MaxSizeBytes pulumi.IntPtrInput // The per database settings for the elastic pool. PerDatabaseSettings ElasticPoolPerDatabaseSettingsPtrInput // 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 elastic pool SKU. // // The list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition, family, and capacity) that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API or the following command: Sku SkuPtrInput // Resource tags. Tags pulumi.StringMapInput // Whether or not this elastic pool is zone redundant, which means the replicas of this elastic pool 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 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 ElasticPoolPerDatabaseSettings ¶
type ElasticPoolPerDatabaseSettings struct { // The maximum capacity any one database can consume. MaxCapacity *float64 `pulumi:"maxCapacity"` // The minimum capacity all databases are guaranteed. MinCapacity *float64 `pulumi:"minCapacity"` }
Per database settings of an elastic pool.
type ElasticPoolPerDatabaseSettingsArgs ¶
type ElasticPoolPerDatabaseSettingsArgs struct { // The maximum capacity any one database can consume. MaxCapacity pulumi.Float64PtrInput `pulumi:"maxCapacity"` // The minimum capacity all databases are guaranteed. MinCapacity pulumi.Float64PtrInput `pulumi:"minCapacity"` }
Per database settings of an elastic pool.
func (ElasticPoolPerDatabaseSettingsArgs) ElementType ¶
func (ElasticPoolPerDatabaseSettingsArgs) ElementType() reflect.Type
func (ElasticPoolPerDatabaseSettingsArgs) ToElasticPoolPerDatabaseSettingsOutput ¶
func (i ElasticPoolPerDatabaseSettingsArgs) ToElasticPoolPerDatabaseSettingsOutput() ElasticPoolPerDatabaseSettingsOutput
func (ElasticPoolPerDatabaseSettingsArgs) ToElasticPoolPerDatabaseSettingsOutputWithContext ¶
func (i ElasticPoolPerDatabaseSettingsArgs) ToElasticPoolPerDatabaseSettingsOutputWithContext(ctx context.Context) ElasticPoolPerDatabaseSettingsOutput
func (ElasticPoolPerDatabaseSettingsArgs) ToElasticPoolPerDatabaseSettingsPtrOutput ¶
func (i ElasticPoolPerDatabaseSettingsArgs) ToElasticPoolPerDatabaseSettingsPtrOutput() ElasticPoolPerDatabaseSettingsPtrOutput
func (ElasticPoolPerDatabaseSettingsArgs) ToElasticPoolPerDatabaseSettingsPtrOutputWithContext ¶
func (i ElasticPoolPerDatabaseSettingsArgs) ToElasticPoolPerDatabaseSettingsPtrOutputWithContext(ctx context.Context) ElasticPoolPerDatabaseSettingsPtrOutput
type ElasticPoolPerDatabaseSettingsInput ¶
type ElasticPoolPerDatabaseSettingsInput interface { pulumi.Input ToElasticPoolPerDatabaseSettingsOutput() ElasticPoolPerDatabaseSettingsOutput ToElasticPoolPerDatabaseSettingsOutputWithContext(context.Context) ElasticPoolPerDatabaseSettingsOutput }
ElasticPoolPerDatabaseSettingsInput is an input type that accepts ElasticPoolPerDatabaseSettingsArgs and ElasticPoolPerDatabaseSettingsOutput values. You can construct a concrete instance of `ElasticPoolPerDatabaseSettingsInput` via:
ElasticPoolPerDatabaseSettingsArgs{...}
type ElasticPoolPerDatabaseSettingsOutput ¶
type ElasticPoolPerDatabaseSettingsOutput struct{ *pulumi.OutputState }
Per database settings of an elastic pool.
func (ElasticPoolPerDatabaseSettingsOutput) ElementType ¶
func (ElasticPoolPerDatabaseSettingsOutput) ElementType() reflect.Type
func (ElasticPoolPerDatabaseSettingsOutput) MaxCapacity ¶
func (o ElasticPoolPerDatabaseSettingsOutput) MaxCapacity() pulumi.Float64PtrOutput
The maximum capacity any one database can consume.
func (ElasticPoolPerDatabaseSettingsOutput) MinCapacity ¶
func (o ElasticPoolPerDatabaseSettingsOutput) MinCapacity() pulumi.Float64PtrOutput
The minimum capacity all databases are guaranteed.
func (ElasticPoolPerDatabaseSettingsOutput) ToElasticPoolPerDatabaseSettingsOutput ¶
func (o ElasticPoolPerDatabaseSettingsOutput) ToElasticPoolPerDatabaseSettingsOutput() ElasticPoolPerDatabaseSettingsOutput
func (ElasticPoolPerDatabaseSettingsOutput) ToElasticPoolPerDatabaseSettingsOutputWithContext ¶
func (o ElasticPoolPerDatabaseSettingsOutput) ToElasticPoolPerDatabaseSettingsOutputWithContext(ctx context.Context) ElasticPoolPerDatabaseSettingsOutput
func (ElasticPoolPerDatabaseSettingsOutput) ToElasticPoolPerDatabaseSettingsPtrOutput ¶
func (o ElasticPoolPerDatabaseSettingsOutput) ToElasticPoolPerDatabaseSettingsPtrOutput() ElasticPoolPerDatabaseSettingsPtrOutput
func (ElasticPoolPerDatabaseSettingsOutput) ToElasticPoolPerDatabaseSettingsPtrOutputWithContext ¶
func (o ElasticPoolPerDatabaseSettingsOutput) ToElasticPoolPerDatabaseSettingsPtrOutputWithContext(ctx context.Context) ElasticPoolPerDatabaseSettingsPtrOutput
type ElasticPoolPerDatabaseSettingsPtrInput ¶
type ElasticPoolPerDatabaseSettingsPtrInput interface { pulumi.Input ToElasticPoolPerDatabaseSettingsPtrOutput() ElasticPoolPerDatabaseSettingsPtrOutput ToElasticPoolPerDatabaseSettingsPtrOutputWithContext(context.Context) ElasticPoolPerDatabaseSettingsPtrOutput }
ElasticPoolPerDatabaseSettingsPtrInput is an input type that accepts ElasticPoolPerDatabaseSettingsArgs, ElasticPoolPerDatabaseSettingsPtr and ElasticPoolPerDatabaseSettingsPtrOutput values. You can construct a concrete instance of `ElasticPoolPerDatabaseSettingsPtrInput` via:
ElasticPoolPerDatabaseSettingsArgs{...} or: nil
func ElasticPoolPerDatabaseSettingsPtr ¶
func ElasticPoolPerDatabaseSettingsPtr(v *ElasticPoolPerDatabaseSettingsArgs) ElasticPoolPerDatabaseSettingsPtrInput
type ElasticPoolPerDatabaseSettingsPtrOutput ¶
type ElasticPoolPerDatabaseSettingsPtrOutput struct{ *pulumi.OutputState }
func (ElasticPoolPerDatabaseSettingsPtrOutput) ElementType ¶
func (ElasticPoolPerDatabaseSettingsPtrOutput) ElementType() reflect.Type
func (ElasticPoolPerDatabaseSettingsPtrOutput) MaxCapacity ¶
func (o ElasticPoolPerDatabaseSettingsPtrOutput) MaxCapacity() pulumi.Float64PtrOutput
The maximum capacity any one database can consume.
func (ElasticPoolPerDatabaseSettingsPtrOutput) MinCapacity ¶
func (o ElasticPoolPerDatabaseSettingsPtrOutput) MinCapacity() pulumi.Float64PtrOutput
The minimum capacity all databases are guaranteed.
func (ElasticPoolPerDatabaseSettingsPtrOutput) ToElasticPoolPerDatabaseSettingsPtrOutput ¶
func (o ElasticPoolPerDatabaseSettingsPtrOutput) ToElasticPoolPerDatabaseSettingsPtrOutput() ElasticPoolPerDatabaseSettingsPtrOutput
func (ElasticPoolPerDatabaseSettingsPtrOutput) ToElasticPoolPerDatabaseSettingsPtrOutputWithContext ¶
func (o ElasticPoolPerDatabaseSettingsPtrOutput) ToElasticPoolPerDatabaseSettingsPtrOutputWithContext(ctx context.Context) ElasticPoolPerDatabaseSettingsPtrOutput
type ElasticPoolPerDatabaseSettingsResponse ¶
type ElasticPoolPerDatabaseSettingsResponse struct { // The maximum capacity any one database can consume. MaxCapacity *float64 `pulumi:"maxCapacity"` // The minimum capacity all databases are guaranteed. MinCapacity *float64 `pulumi:"minCapacity"` }
Per database settings of an elastic pool.
type ElasticPoolPerDatabaseSettingsResponseArgs ¶
type ElasticPoolPerDatabaseSettingsResponseArgs struct { // The maximum capacity any one database can consume. MaxCapacity pulumi.Float64PtrInput `pulumi:"maxCapacity"` // The minimum capacity all databases are guaranteed. MinCapacity pulumi.Float64PtrInput `pulumi:"minCapacity"` }
Per database settings of an elastic pool.
func (ElasticPoolPerDatabaseSettingsResponseArgs) ElementType ¶
func (ElasticPoolPerDatabaseSettingsResponseArgs) ElementType() reflect.Type
func (ElasticPoolPerDatabaseSettingsResponseArgs) ToElasticPoolPerDatabaseSettingsResponseOutput ¶
func (i ElasticPoolPerDatabaseSettingsResponseArgs) ToElasticPoolPerDatabaseSettingsResponseOutput() ElasticPoolPerDatabaseSettingsResponseOutput
func (ElasticPoolPerDatabaseSettingsResponseArgs) ToElasticPoolPerDatabaseSettingsResponseOutputWithContext ¶
func (i ElasticPoolPerDatabaseSettingsResponseArgs) ToElasticPoolPerDatabaseSettingsResponseOutputWithContext(ctx context.Context) ElasticPoolPerDatabaseSettingsResponseOutput
func (ElasticPoolPerDatabaseSettingsResponseArgs) ToElasticPoolPerDatabaseSettingsResponsePtrOutput ¶
func (i ElasticPoolPerDatabaseSettingsResponseArgs) ToElasticPoolPerDatabaseSettingsResponsePtrOutput() ElasticPoolPerDatabaseSettingsResponsePtrOutput
func (ElasticPoolPerDatabaseSettingsResponseArgs) ToElasticPoolPerDatabaseSettingsResponsePtrOutputWithContext ¶
func (i ElasticPoolPerDatabaseSettingsResponseArgs) ToElasticPoolPerDatabaseSettingsResponsePtrOutputWithContext(ctx context.Context) ElasticPoolPerDatabaseSettingsResponsePtrOutput
type ElasticPoolPerDatabaseSettingsResponseInput ¶
type ElasticPoolPerDatabaseSettingsResponseInput interface { pulumi.Input ToElasticPoolPerDatabaseSettingsResponseOutput() ElasticPoolPerDatabaseSettingsResponseOutput ToElasticPoolPerDatabaseSettingsResponseOutputWithContext(context.Context) ElasticPoolPerDatabaseSettingsResponseOutput }
ElasticPoolPerDatabaseSettingsResponseInput is an input type that accepts ElasticPoolPerDatabaseSettingsResponseArgs and ElasticPoolPerDatabaseSettingsResponseOutput values. You can construct a concrete instance of `ElasticPoolPerDatabaseSettingsResponseInput` via:
ElasticPoolPerDatabaseSettingsResponseArgs{...}
type ElasticPoolPerDatabaseSettingsResponseOutput ¶
type ElasticPoolPerDatabaseSettingsResponseOutput struct{ *pulumi.OutputState }
Per database settings of an elastic pool.
func (ElasticPoolPerDatabaseSettingsResponseOutput) ElementType ¶
func (ElasticPoolPerDatabaseSettingsResponseOutput) ElementType() reflect.Type
func (ElasticPoolPerDatabaseSettingsResponseOutput) MaxCapacity ¶
func (o ElasticPoolPerDatabaseSettingsResponseOutput) MaxCapacity() pulumi.Float64PtrOutput
The maximum capacity any one database can consume.
func (ElasticPoolPerDatabaseSettingsResponseOutput) MinCapacity ¶
func (o ElasticPoolPerDatabaseSettingsResponseOutput) MinCapacity() pulumi.Float64PtrOutput
The minimum capacity all databases are guaranteed.
func (ElasticPoolPerDatabaseSettingsResponseOutput) ToElasticPoolPerDatabaseSettingsResponseOutput ¶
func (o ElasticPoolPerDatabaseSettingsResponseOutput) ToElasticPoolPerDatabaseSettingsResponseOutput() ElasticPoolPerDatabaseSettingsResponseOutput
func (ElasticPoolPerDatabaseSettingsResponseOutput) ToElasticPoolPerDatabaseSettingsResponseOutputWithContext ¶
func (o ElasticPoolPerDatabaseSettingsResponseOutput) ToElasticPoolPerDatabaseSettingsResponseOutputWithContext(ctx context.Context) ElasticPoolPerDatabaseSettingsResponseOutput
func (ElasticPoolPerDatabaseSettingsResponseOutput) ToElasticPoolPerDatabaseSettingsResponsePtrOutput ¶
func (o ElasticPoolPerDatabaseSettingsResponseOutput) ToElasticPoolPerDatabaseSettingsResponsePtrOutput() ElasticPoolPerDatabaseSettingsResponsePtrOutput
func (ElasticPoolPerDatabaseSettingsResponseOutput) ToElasticPoolPerDatabaseSettingsResponsePtrOutputWithContext ¶
func (o ElasticPoolPerDatabaseSettingsResponseOutput) ToElasticPoolPerDatabaseSettingsResponsePtrOutputWithContext(ctx context.Context) ElasticPoolPerDatabaseSettingsResponsePtrOutput
type ElasticPoolPerDatabaseSettingsResponsePtrInput ¶
type ElasticPoolPerDatabaseSettingsResponsePtrInput interface { pulumi.Input ToElasticPoolPerDatabaseSettingsResponsePtrOutput() ElasticPoolPerDatabaseSettingsResponsePtrOutput ToElasticPoolPerDatabaseSettingsResponsePtrOutputWithContext(context.Context) ElasticPoolPerDatabaseSettingsResponsePtrOutput }
ElasticPoolPerDatabaseSettingsResponsePtrInput is an input type that accepts ElasticPoolPerDatabaseSettingsResponseArgs, ElasticPoolPerDatabaseSettingsResponsePtr and ElasticPoolPerDatabaseSettingsResponsePtrOutput values. You can construct a concrete instance of `ElasticPoolPerDatabaseSettingsResponsePtrInput` via:
ElasticPoolPerDatabaseSettingsResponseArgs{...} or: nil
func ElasticPoolPerDatabaseSettingsResponsePtr ¶
func ElasticPoolPerDatabaseSettingsResponsePtr(v *ElasticPoolPerDatabaseSettingsResponseArgs) ElasticPoolPerDatabaseSettingsResponsePtrInput
type ElasticPoolPerDatabaseSettingsResponsePtrOutput ¶
type ElasticPoolPerDatabaseSettingsResponsePtrOutput struct{ *pulumi.OutputState }
func (ElasticPoolPerDatabaseSettingsResponsePtrOutput) ElementType ¶
func (ElasticPoolPerDatabaseSettingsResponsePtrOutput) ElementType() reflect.Type
func (ElasticPoolPerDatabaseSettingsResponsePtrOutput) MaxCapacity ¶
func (o ElasticPoolPerDatabaseSettingsResponsePtrOutput) MaxCapacity() pulumi.Float64PtrOutput
The maximum capacity any one database can consume.
func (ElasticPoolPerDatabaseSettingsResponsePtrOutput) MinCapacity ¶
func (o ElasticPoolPerDatabaseSettingsResponsePtrOutput) MinCapacity() pulumi.Float64PtrOutput
The minimum capacity all databases are guaranteed.
func (ElasticPoolPerDatabaseSettingsResponsePtrOutput) ToElasticPoolPerDatabaseSettingsResponsePtrOutput ¶
func (o ElasticPoolPerDatabaseSettingsResponsePtrOutput) ToElasticPoolPerDatabaseSettingsResponsePtrOutput() ElasticPoolPerDatabaseSettingsResponsePtrOutput
func (ElasticPoolPerDatabaseSettingsResponsePtrOutput) ToElasticPoolPerDatabaseSettingsResponsePtrOutputWithContext ¶
func (o ElasticPoolPerDatabaseSettingsResponsePtrOutput) ToElasticPoolPerDatabaseSettingsResponsePtrOutputWithContext(ctx context.Context) ElasticPoolPerDatabaseSettingsResponsePtrOutput
type ElasticPoolState ¶
type ElasticPoolState struct { // The creation date of the elastic pool (ISO8601 format). CreationDate pulumi.StringPtrInput // Kind of elastic pool. This is metadata used for the Azure portal experience. Kind pulumi.StringPtrInput // The license type to apply for this elastic pool. LicenseType pulumi.StringPtrInput // Resource location. Location pulumi.StringPtrInput // Maintenance configuration id assigned to the elastic pool. This configuration defines the period when the maintenance updates will be rolled out. MaintenanceConfigurationId pulumi.StringPtrInput // The storage limit for the database elastic pool in bytes. MaxSizeBytes pulumi.IntPtrInput // Resource name. Name pulumi.StringPtrInput // The per database settings for the elastic pool. PerDatabaseSettings ElasticPoolPerDatabaseSettingsResponsePtrInput // The elastic pool SKU. // // The list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition, family, and capacity) that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API or the following command: Sku SkuResponsePtrInput // The state of the elastic pool. State pulumi.StringPtrInput // Resource tags. Tags pulumi.StringMapInput // Resource type. Type pulumi.StringPtrInput // Whether or not this elastic pool is zone redundant, which means the replicas of this elastic pool will be spread across multiple availability zones. ZoneRedundant pulumi.BoolPtrInput }
func (ElasticPoolState) ElementType ¶
func (ElasticPoolState) ElementType() reflect.Type
type LookupDatabaseArgs ¶
type LookupDatabaseArgs struct { // The name of the database. 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"` }
type LookupDatabaseResult ¶
type LookupDatabaseResult struct { // Time in minutes after which database is automatically paused. A value of -1 means that automatic pause is disabled AutoPauseDelay *int `pulumi:"autoPauseDelay"` // Collation of the metadata catalog. CatalogCollation *string `pulumi:"catalogCollation"` // The collation of the database. Collation *string `pulumi:"collation"` // 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. // // Secondary: creates a database as a 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, Secondary, 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 name of the database. CurrentServiceObjectiveName string `pulumi:"currentServiceObjectiveName"` // The name and tier of the SKU. CurrentSku SkuResponse `pulumi:"currentSku"` // 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 resource identifier of the elastic pool containing this database. ElasticPoolId *string `pulumi:"elasticPoolId"` // Failover Group resource identifier that this database belongs to. FailoverGroupId string `pulumi:"failoverGroupId"` // The number of secondary replicas associated with the database that are used to provide high availability. HighAvailabilityReplicaCount *int `pulumi:"highAvailabilityReplicaCount"` // Kind of database. This is metadata used for the Azure portal experience. Kind string `pulumi:"kind"` // The license type to apply for this database. `LicenseIncluded` if you need a license, or `BasePrice` if you have a license and are eligible for the Azure Hybrid Benefit. LicenseType *string `pulumi:"licenseType"` // Resource location. Location string `pulumi:"location"` // The resource identifier of the long term retention backup associated with create operation of this database. LongTermRetentionBackupResourceId *string `pulumi:"longTermRetentionBackupResourceId"` // Maintenance configuration id assigned to the database. This configuration defines the period when the maintenance updates will be rolled out. MaintenanceConfigurationId *string `pulumi:"maintenanceConfigurationId"` // Resource that manages the database. ManagedBy string `pulumi:"managedBy"` // The max log size for this database. MaxLogSizeBytes int `pulumi:"maxLogSizeBytes"` // The max size of the database expressed in bytes. MaxSizeBytes *int `pulumi:"maxSizeBytes"` // Minimal capacity that database will always have allocated, if not paused MinCapacity *float64 `pulumi:"minCapacity"` // Resource name. Name string `pulumi:"name"` // The date when database was paused by user configuration or action(ISO8601 format). Null if the database is ready. PausedDate string `pulumi:"pausedDate"` // The state of read-only routing. If enabled, connections that have application intent set to readonly in their connection string may be routed to a readonly secondary replica in the same region. ReadScale *string `pulumi:"readScale"` // The resource identifier of the recoverable database associated with create operation of this database. RecoverableDatabaseId *string `pulumi:"recoverableDatabaseId"` // The resource identifier of the recovery point associated with create operation of this database. RecoveryServicesRecoveryPointId *string `pulumi:"recoveryServicesRecoveryPointId"` // The requested service level objective name of the database. RequestedServiceObjectiveName string `pulumi:"requestedServiceObjectiveName"` // The resource identifier of the restorable dropped database associated with create operation of this database. RestorableDroppedDatabaseId *string `pulumi:"restorableDroppedDatabaseId"` // Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database. RestorePointInTime *string `pulumi:"restorePointInTime"` // The date when database was resumed by user action or database login (ISO8601 format). Null if the database is paused. ResumedDate string `pulumi:"resumedDate"` // The name of the sample schema to apply when creating this database. SampleName *string `pulumi:"sampleName"` // The secondary type of the database if it is a secondary. Valid values are Geo and Named. SecondaryType *string `pulumi:"secondaryType"` // The database SKU. // // The list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition, family, and capacity) that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API or one of the following commands: Sku *SkuResponse `pulumi:"sku"` // Specifies the time that the database was deleted. SourceDatabaseDeletionDate *string `pulumi:"sourceDatabaseDeletionDate"` // The resource identifier of the source database associated with create operation of this database. SourceDatabaseId *string `pulumi:"sourceDatabaseId"` // The status of the database. Status string `pulumi:"status"` // The storage account type used to store backups for this database. Currently the only supported option is GRS (GeoRedundantStorage). StorageAccountType *string `pulumi:"storageAccountType"` // Resource tags. Tags map[string]string `pulumi:"tags"` // 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"` }
A database resource.
func LookupDatabase ¶
func LookupDatabase(ctx *pulumi.Context, args *LookupDatabaseArgs, opts ...pulumi.InvokeOption) (*LookupDatabaseResult, error)
type LookupElasticPoolArgs ¶
type LookupElasticPoolArgs struct { // The name of the elastic pool. 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"` // Kind of elastic pool. This is metadata used for the Azure portal experience. Kind string `pulumi:"kind"` // The license type to apply for this elastic pool. LicenseType *string `pulumi:"licenseType"` // Resource location. Location string `pulumi:"location"` // Maintenance configuration id assigned to the elastic pool. This configuration defines the period when the maintenance updates will be rolled out. MaintenanceConfigurationId *string `pulumi:"maintenanceConfigurationId"` // The storage limit for the database elastic pool in bytes. MaxSizeBytes *int `pulumi:"maxSizeBytes"` // Resource name. Name string `pulumi:"name"` // The per database settings for the elastic pool. PerDatabaseSettings *ElasticPoolPerDatabaseSettingsResponse `pulumi:"perDatabaseSettings"` // The elastic pool SKU. // // The list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition, family, and capacity) that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API or the following command: Sku *SkuResponse `pulumi:"sku"` // The state of the elastic pool. State string `pulumi:"state"` // Resource tags. Tags map[string]string `pulumi:"tags"` // Resource type. Type string `pulumi:"type"` // Whether or not this elastic pool is zone redundant, which means the replicas of this elastic pool will be spread across multiple availability zones. ZoneRedundant *bool `pulumi:"zoneRedundant"` }
An elastic pool.
func LookupElasticPool ¶
func LookupElasticPool(ctx *pulumi.Context, args *LookupElasticPoolArgs, opts ...pulumi.InvokeOption) (*LookupElasticPoolResult, error)
type Sku ¶
type Sku struct { // Capacity of the particular SKU. Capacity *int `pulumi:"capacity"` // If the service has different generations of hardware, for the same SKU, then that can be captured here. Family *string `pulumi:"family"` // The name of the SKU, typically, a letter + Number code, e.g. P3. Name string `pulumi:"name"` // Size of the particular SKU Size *string `pulumi:"size"` // The tier or edition of the particular SKU, e.g. Basic, Premium. Tier *string `pulumi:"tier"` }
An ARM Resource SKU.
type SkuArgs ¶
type SkuArgs struct { // Capacity of the particular SKU. Capacity pulumi.IntPtrInput `pulumi:"capacity"` // If the service has different generations of hardware, for the same SKU, then that can be captured here. Family pulumi.StringPtrInput `pulumi:"family"` // The name of the SKU, typically, a letter + Number code, e.g. P3. Name pulumi.StringInput `pulumi:"name"` // Size of the particular SKU Size pulumi.StringPtrInput `pulumi:"size"` // The tier or edition of the particular SKU, e.g. Basic, Premium. Tier pulumi.StringPtrInput `pulumi:"tier"` }
An ARM Resource SKU.
func (SkuArgs) ElementType ¶
func (SkuArgs) ToSkuOutput ¶
func (SkuArgs) ToSkuOutputWithContext ¶
func (SkuArgs) ToSkuPtrOutput ¶
func (i SkuArgs) ToSkuPtrOutput() SkuPtrOutput
func (SkuArgs) ToSkuPtrOutputWithContext ¶
func (i SkuArgs) ToSkuPtrOutputWithContext(ctx context.Context) SkuPtrOutput
type SkuInput ¶
type SkuInput interface { pulumi.Input ToSkuOutput() SkuOutput ToSkuOutputWithContext(context.Context) SkuOutput }
SkuInput is an input type that accepts SkuArgs and SkuOutput values. You can construct a concrete instance of `SkuInput` via:
SkuArgs{...}
type SkuOutput ¶
type SkuOutput struct{ *pulumi.OutputState }
An ARM Resource SKU.
func (SkuOutput) Capacity ¶
func (o SkuOutput) Capacity() pulumi.IntPtrOutput
Capacity of the particular SKU.
func (SkuOutput) ElementType ¶
func (SkuOutput) Family ¶
func (o SkuOutput) Family() pulumi.StringPtrOutput
If the service has different generations of hardware, for the same SKU, then that can be captured here.
func (SkuOutput) Name ¶
func (o SkuOutput) Name() pulumi.StringOutput
The name of the SKU, typically, a letter + Number code, e.g. P3.
func (SkuOutput) Tier ¶
func (o SkuOutput) Tier() pulumi.StringPtrOutput
The tier or edition of the particular SKU, e.g. Basic, Premium.
func (SkuOutput) ToSkuOutput ¶
func (SkuOutput) ToSkuOutputWithContext ¶
func (SkuOutput) ToSkuPtrOutput ¶
func (o SkuOutput) ToSkuPtrOutput() SkuPtrOutput
func (SkuOutput) ToSkuPtrOutputWithContext ¶
func (o SkuOutput) ToSkuPtrOutputWithContext(ctx context.Context) SkuPtrOutput
type SkuPtrInput ¶
type SkuPtrInput interface { pulumi.Input ToSkuPtrOutput() SkuPtrOutput ToSkuPtrOutputWithContext(context.Context) SkuPtrOutput }
SkuPtrInput is an input type that accepts SkuArgs, SkuPtr and SkuPtrOutput values. You can construct a concrete instance of `SkuPtrInput` via:
SkuArgs{...} or: nil
func SkuPtr ¶
func SkuPtr(v *SkuArgs) SkuPtrInput
type SkuPtrOutput ¶
type SkuPtrOutput struct{ *pulumi.OutputState }
func (SkuPtrOutput) Capacity ¶
func (o SkuPtrOutput) Capacity() pulumi.IntPtrOutput
Capacity of the particular SKU.
func (SkuPtrOutput) Elem ¶
func (o SkuPtrOutput) Elem() SkuOutput
func (SkuPtrOutput) ElementType ¶
func (SkuPtrOutput) ElementType() reflect.Type
func (SkuPtrOutput) Family ¶
func (o SkuPtrOutput) Family() pulumi.StringPtrOutput
If the service has different generations of hardware, for the same SKU, then that can be captured here.
func (SkuPtrOutput) Name ¶
func (o SkuPtrOutput) Name() pulumi.StringPtrOutput
The name of the SKU, typically, a letter + Number code, e.g. P3.
func (SkuPtrOutput) Size ¶
func (o SkuPtrOutput) Size() pulumi.StringPtrOutput
Size of the particular SKU
func (SkuPtrOutput) Tier ¶
func (o SkuPtrOutput) Tier() pulumi.StringPtrOutput
The tier or edition of the particular SKU, e.g. Basic, Premium.
func (SkuPtrOutput) ToSkuPtrOutput ¶
func (o SkuPtrOutput) ToSkuPtrOutput() SkuPtrOutput
func (SkuPtrOutput) ToSkuPtrOutputWithContext ¶
func (o SkuPtrOutput) ToSkuPtrOutputWithContext(ctx context.Context) SkuPtrOutput
type SkuResponse ¶
type SkuResponse struct { // Capacity of the particular SKU. Capacity *int `pulumi:"capacity"` // If the service has different generations of hardware, for the same SKU, then that can be captured here. Family *string `pulumi:"family"` // The name of the SKU, typically, a letter + Number code, e.g. P3. Name string `pulumi:"name"` // Size of the particular SKU Size *string `pulumi:"size"` // The tier or edition of the particular SKU, e.g. Basic, Premium. Tier *string `pulumi:"tier"` }
An ARM Resource SKU.
type SkuResponseArgs ¶
type SkuResponseArgs struct { // Capacity of the particular SKU. Capacity pulumi.IntPtrInput `pulumi:"capacity"` // If the service has different generations of hardware, for the same SKU, then that can be captured here. Family pulumi.StringPtrInput `pulumi:"family"` // The name of the SKU, typically, a letter + Number code, e.g. P3. Name pulumi.StringInput `pulumi:"name"` // Size of the particular SKU Size pulumi.StringPtrInput `pulumi:"size"` // The tier or edition of the particular SKU, e.g. Basic, Premium. Tier pulumi.StringPtrInput `pulumi:"tier"` }
An ARM Resource SKU.
func (SkuResponseArgs) ElementType ¶
func (SkuResponseArgs) ElementType() reflect.Type
func (SkuResponseArgs) ToSkuResponseOutput ¶
func (i SkuResponseArgs) ToSkuResponseOutput() SkuResponseOutput
func (SkuResponseArgs) ToSkuResponseOutputWithContext ¶
func (i SkuResponseArgs) ToSkuResponseOutputWithContext(ctx context.Context) SkuResponseOutput
func (SkuResponseArgs) ToSkuResponsePtrOutput ¶
func (i SkuResponseArgs) ToSkuResponsePtrOutput() SkuResponsePtrOutput
func (SkuResponseArgs) ToSkuResponsePtrOutputWithContext ¶
func (i SkuResponseArgs) ToSkuResponsePtrOutputWithContext(ctx context.Context) SkuResponsePtrOutput
type SkuResponseInput ¶
type SkuResponseInput interface { pulumi.Input ToSkuResponseOutput() SkuResponseOutput ToSkuResponseOutputWithContext(context.Context) SkuResponseOutput }
SkuResponseInput is an input type that accepts SkuResponseArgs and SkuResponseOutput values. You can construct a concrete instance of `SkuResponseInput` via:
SkuResponseArgs{...}
type SkuResponseOutput ¶
type SkuResponseOutput struct{ *pulumi.OutputState }
An ARM Resource SKU.
func (SkuResponseOutput) Capacity ¶
func (o SkuResponseOutput) Capacity() pulumi.IntPtrOutput
Capacity of the particular SKU.
func (SkuResponseOutput) ElementType ¶
func (SkuResponseOutput) ElementType() reflect.Type
func (SkuResponseOutput) Family ¶
func (o SkuResponseOutput) Family() pulumi.StringPtrOutput
If the service has different generations of hardware, for the same SKU, then that can be captured here.
func (SkuResponseOutput) Name ¶
func (o SkuResponseOutput) Name() pulumi.StringOutput
The name of the SKU, typically, a letter + Number code, e.g. P3.
func (SkuResponseOutput) Size ¶
func (o SkuResponseOutput) Size() pulumi.StringPtrOutput
Size of the particular SKU
func (SkuResponseOutput) Tier ¶
func (o SkuResponseOutput) Tier() pulumi.StringPtrOutput
The tier or edition of the particular SKU, e.g. Basic, Premium.
func (SkuResponseOutput) ToSkuResponseOutput ¶
func (o SkuResponseOutput) ToSkuResponseOutput() SkuResponseOutput
func (SkuResponseOutput) ToSkuResponseOutputWithContext ¶
func (o SkuResponseOutput) ToSkuResponseOutputWithContext(ctx context.Context) SkuResponseOutput
func (SkuResponseOutput) ToSkuResponsePtrOutput ¶
func (o SkuResponseOutput) ToSkuResponsePtrOutput() SkuResponsePtrOutput
func (SkuResponseOutput) ToSkuResponsePtrOutputWithContext ¶
func (o SkuResponseOutput) ToSkuResponsePtrOutputWithContext(ctx context.Context) SkuResponsePtrOutput
type SkuResponsePtrInput ¶
type SkuResponsePtrInput interface { pulumi.Input ToSkuResponsePtrOutput() SkuResponsePtrOutput ToSkuResponsePtrOutputWithContext(context.Context) SkuResponsePtrOutput }
SkuResponsePtrInput is an input type that accepts SkuResponseArgs, SkuResponsePtr and SkuResponsePtrOutput values. You can construct a concrete instance of `SkuResponsePtrInput` via:
SkuResponseArgs{...} or: nil
func SkuResponsePtr ¶
func SkuResponsePtr(v *SkuResponseArgs) SkuResponsePtrInput
type SkuResponsePtrOutput ¶
type SkuResponsePtrOutput struct{ *pulumi.OutputState }
func (SkuResponsePtrOutput) Capacity ¶
func (o SkuResponsePtrOutput) Capacity() pulumi.IntPtrOutput
Capacity of the particular SKU.
func (SkuResponsePtrOutput) Elem ¶
func (o SkuResponsePtrOutput) Elem() SkuResponseOutput
func (SkuResponsePtrOutput) ElementType ¶
func (SkuResponsePtrOutput) ElementType() reflect.Type
func (SkuResponsePtrOutput) Family ¶
func (o SkuResponsePtrOutput) Family() pulumi.StringPtrOutput
If the service has different generations of hardware, for the same SKU, then that can be captured here.
func (SkuResponsePtrOutput) Name ¶
func (o SkuResponsePtrOutput) Name() pulumi.StringPtrOutput
The name of the SKU, typically, a letter + Number code, e.g. P3.
func (SkuResponsePtrOutput) Size ¶
func (o SkuResponsePtrOutput) Size() pulumi.StringPtrOutput
Size of the particular SKU
func (SkuResponsePtrOutput) Tier ¶
func (o SkuResponsePtrOutput) Tier() pulumi.StringPtrOutput
The tier or edition of the particular SKU, e.g. Basic, Premium.
func (SkuResponsePtrOutput) ToSkuResponsePtrOutput ¶
func (o SkuResponsePtrOutput) ToSkuResponsePtrOutput() SkuResponsePtrOutput
func (SkuResponsePtrOutput) ToSkuResponsePtrOutputWithContext ¶
func (o SkuResponsePtrOutput) ToSkuResponsePtrOutputWithContext(ctx context.Context) SkuResponsePtrOutput