Documentation
¶
Index ¶
- type ActiveDirectoryAdministrator
- func (r *ActiveDirectoryAdministrator) ID() *pulumi.IDOutput
- func (r *ActiveDirectoryAdministrator) Login() *pulumi.StringOutput
- func (r *ActiveDirectoryAdministrator) ObjectId() *pulumi.StringOutput
- func (r *ActiveDirectoryAdministrator) ResourceGroupName() *pulumi.StringOutput
- func (r *ActiveDirectoryAdministrator) ServerName() *pulumi.StringOutput
- func (r *ActiveDirectoryAdministrator) TenantId() *pulumi.StringOutput
- func (r *ActiveDirectoryAdministrator) URN() *pulumi.URNOutput
- type ActiveDirectoryAdministratorArgs
- type ActiveDirectoryAdministratorState
- type Database
- func (r *Database) Collation() *pulumi.StringOutput
- func (r *Database) CreateMode() *pulumi.StringOutput
- func (r *Database) CreationDate() *pulumi.StringOutput
- func (r *Database) DefaultSecondaryLocation() *pulumi.StringOutput
- func (r *Database) Edition() *pulumi.StringOutput
- func (r *Database) ElasticPoolName() *pulumi.StringOutput
- func (r *Database) Encryption() *pulumi.StringOutput
- func (r *Database) ID() *pulumi.IDOutput
- func (r *Database) Import() *pulumi.Output
- func (r *Database) Location() *pulumi.StringOutput
- func (r *Database) MaxSizeBytes() *pulumi.StringOutput
- func (r *Database) Name() *pulumi.StringOutput
- func (r *Database) ReadScale() *pulumi.BoolOutput
- func (r *Database) RequestedServiceObjectiveId() *pulumi.StringOutput
- func (r *Database) RequestedServiceObjectiveName() *pulumi.StringOutput
- func (r *Database) ResourceGroupName() *pulumi.StringOutput
- func (r *Database) RestorePointInTime() *pulumi.StringOutput
- func (r *Database) ServerName() *pulumi.StringOutput
- func (r *Database) SourceDatabaseDeletionDate() *pulumi.StringOutput
- func (r *Database) SourceDatabaseId() *pulumi.StringOutput
- func (r *Database) Tags() *pulumi.MapOutput
- func (r *Database) ThreatDetectionPolicy() *pulumi.Output
- func (r *Database) URN() *pulumi.URNOutput
- type DatabaseArgs
- type DatabaseState
- type ElasticPool
- func (r *ElasticPool) CreationDate() *pulumi.StringOutput
- func (r *ElasticPool) DbDtuMax() *pulumi.IntOutput
- func (r *ElasticPool) DbDtuMin() *pulumi.IntOutput
- func (r *ElasticPool) Dtu() *pulumi.IntOutput
- func (r *ElasticPool) Edition() *pulumi.StringOutput
- func (r *ElasticPool) ID() *pulumi.IDOutput
- func (r *ElasticPool) Location() *pulumi.StringOutput
- func (r *ElasticPool) Name() *pulumi.StringOutput
- func (r *ElasticPool) PoolSize() *pulumi.IntOutput
- func (r *ElasticPool) ResourceGroupName() *pulumi.StringOutput
- func (r *ElasticPool) ServerName() *pulumi.StringOutput
- func (r *ElasticPool) Tags() *pulumi.MapOutput
- func (r *ElasticPool) URN() *pulumi.URNOutput
- type ElasticPoolArgs
- type ElasticPoolState
- type FirewallRule
- func (r *FirewallRule) EndIpAddress() *pulumi.StringOutput
- func (r *FirewallRule) ID() *pulumi.IDOutput
- func (r *FirewallRule) Name() *pulumi.StringOutput
- func (r *FirewallRule) ResourceGroupName() *pulumi.StringOutput
- func (r *FirewallRule) ServerName() *pulumi.StringOutput
- func (r *FirewallRule) StartIpAddress() *pulumi.StringOutput
- func (r *FirewallRule) URN() *pulumi.URNOutput
- type FirewallRuleArgs
- type FirewallRuleState
- type SqlServer
- func (r *SqlServer) AdministratorLogin() *pulumi.StringOutput
- func (r *SqlServer) AdministratorLoginPassword() *pulumi.StringOutput
- func (r *SqlServer) FullyQualifiedDomainName() *pulumi.StringOutput
- func (r *SqlServer) ID() *pulumi.IDOutput
- func (r *SqlServer) Location() *pulumi.StringOutput
- func (r *SqlServer) Name() *pulumi.StringOutput
- func (r *SqlServer) ResourceGroupName() *pulumi.StringOutput
- func (r *SqlServer) Tags() *pulumi.MapOutput
- func (r *SqlServer) URN() *pulumi.URNOutput
- func (r *SqlServer) Version() *pulumi.StringOutput
- type SqlServerArgs
- type SqlServerState
- type VirtualNetworkRule
- func (r *VirtualNetworkRule) ID() *pulumi.IDOutput
- func (r *VirtualNetworkRule) IgnoreMissingVnetServiceEndpoint() *pulumi.BoolOutput
- func (r *VirtualNetworkRule) Name() *pulumi.StringOutput
- func (r *VirtualNetworkRule) ResourceGroupName() *pulumi.StringOutput
- func (r *VirtualNetworkRule) ServerName() *pulumi.StringOutput
- func (r *VirtualNetworkRule) SubnetId() *pulumi.StringOutput
- func (r *VirtualNetworkRule) URN() *pulumi.URNOutput
- type VirtualNetworkRuleArgs
- type VirtualNetworkRuleState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActiveDirectoryAdministrator ¶
type ActiveDirectoryAdministrator struct {
// contains filtered or unexported fields
}
Allows you to set a user or group as the AD administrator for an Azure SQL server
func GetActiveDirectoryAdministrator ¶
func GetActiveDirectoryAdministrator(ctx *pulumi.Context, name string, id pulumi.ID, state *ActiveDirectoryAdministratorState, opts ...pulumi.ResourceOpt) (*ActiveDirectoryAdministrator, error)
GetActiveDirectoryAdministrator gets an existing ActiveDirectoryAdministrator 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 NewActiveDirectoryAdministrator ¶
func NewActiveDirectoryAdministrator(ctx *pulumi.Context, name string, args *ActiveDirectoryAdministratorArgs, opts ...pulumi.ResourceOpt) (*ActiveDirectoryAdministrator, error)
NewActiveDirectoryAdministrator registers a new resource with the given unique name, arguments, and options.
func (*ActiveDirectoryAdministrator) ID ¶
func (r *ActiveDirectoryAdministrator) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*ActiveDirectoryAdministrator) Login ¶
func (r *ActiveDirectoryAdministrator) Login() *pulumi.StringOutput
The login name of the principal to set as the server administrator
func (*ActiveDirectoryAdministrator) ObjectId ¶
func (r *ActiveDirectoryAdministrator) ObjectId() *pulumi.StringOutput
The ID of the principal to set as the server administrator
func (*ActiveDirectoryAdministrator) ResourceGroupName ¶
func (r *ActiveDirectoryAdministrator) ResourceGroupName() *pulumi.StringOutput
The name of the resource group for the SQL server. Changing this forces a new resource to be created.
func (*ActiveDirectoryAdministrator) ServerName ¶
func (r *ActiveDirectoryAdministrator) ServerName() *pulumi.StringOutput
The name of the SQL Server on which to set the administrator. Changing this forces a new resource to be created.
func (*ActiveDirectoryAdministrator) TenantId ¶
func (r *ActiveDirectoryAdministrator) TenantId() *pulumi.StringOutput
The Azure Tenant ID
func (*ActiveDirectoryAdministrator) URN ¶
func (r *ActiveDirectoryAdministrator) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type ActiveDirectoryAdministratorArgs ¶
type ActiveDirectoryAdministratorArgs struct { // The login name of the principal to set as the server administrator Login interface{} // The ID of the principal to set as the server administrator ObjectId interface{} // The name of the resource group for the SQL server. Changing this forces a new resource to be created. ResourceGroupName interface{} // The name of the SQL Server on which to set the administrator. Changing this forces a new resource to be created. ServerName interface{} // The Azure Tenant ID TenantId interface{} }
The set of arguments for constructing a ActiveDirectoryAdministrator resource.
type ActiveDirectoryAdministratorState ¶
type ActiveDirectoryAdministratorState struct { // The login name of the principal to set as the server administrator Login interface{} // The ID of the principal to set as the server administrator ObjectId interface{} // The name of the resource group for the SQL server. Changing this forces a new resource to be created. ResourceGroupName interface{} // The name of the SQL Server on which to set the administrator. Changing this forces a new resource to be created. ServerName interface{} // The Azure Tenant ID TenantId interface{} }
Input properties used for looking up and filtering ActiveDirectoryAdministrator resources.
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
Allows you to manage an Azure SQL Database
func GetDatabase ¶
func GetDatabase(ctx *pulumi.Context, name string, id pulumi.ID, state *DatabaseState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*Database, error)
NewDatabase registers a new resource with the given unique name, arguments, and options.
func (*Database) Collation ¶
func (r *Database) Collation() *pulumi.StringOutput
The name of the collation. Applies only if `create_mode` is `Default`. Azure default is `SQL_LATIN1_GENERAL_CP1_CI_AS`. Changing this forces a new resource to be created.
func (*Database) CreateMode ¶
func (r *Database) CreateMode() *pulumi.StringOutput
Specifies the type of database to create. Defaults to `Default`. See below for the accepted values/
func (*Database) CreationDate ¶
func (r *Database) CreationDate() *pulumi.StringOutput
The creation date of the SQL Database.
func (*Database) DefaultSecondaryLocation ¶
func (r *Database) DefaultSecondaryLocation() *pulumi.StringOutput
The default secondary location of the SQL Database.
func (*Database) Edition ¶
func (r *Database) Edition() *pulumi.StringOutput
The edition of the database to be created. Applies only if `create_mode` is `Default`. Valid values are: `Basic`, `Standard`, `Premium`, or `DataWarehouse`. Please see [Azure SQL Database Service Tiers](https://azure.microsoft.com/en-gb/documentation/articles/sql-database-service-tiers/).
func (*Database) ElasticPoolName ¶
func (r *Database) ElasticPoolName() *pulumi.StringOutput
The name of the elastic database pool.
func (*Database) Encryption ¶
func (r *Database) Encryption() *pulumi.StringOutput
func (*Database) Import ¶ added in v0.15.0
A Database Import block as documented below. `create_mode` must be set to `Default`.
func (*Database) Location ¶
func (r *Database) Location() *pulumi.StringOutput
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
func (*Database) MaxSizeBytes ¶
func (r *Database) MaxSizeBytes() *pulumi.StringOutput
The maximum size that the database can grow to. Applies only if `create_mode` is `Default`. Please see [Azure SQL Database Service Tiers](https://azure.microsoft.com/en-gb/documentation/articles/sql-database-service-tiers/).
func (*Database) ReadScale ¶ added in v0.18.3
func (r *Database) ReadScale() *pulumi.BoolOutput
Read-only connections will be redirected to a high-available replica. Please see [Use read-only replicas to load-balance read-only query workloads](https://docs.microsoft.com/en-us/azure/sql-database/sql-database-read-scale-out).
func (*Database) RequestedServiceObjectiveId ¶
func (r *Database) RequestedServiceObjectiveId() *pulumi.StringOutput
Use `requested_service_objective_id` or `requested_service_objective_name` to set the performance level for the database. Please see [Azure SQL Database Service Tiers](https://azure.microsoft.com/en-gb/documentation/articles/sql-database-service-tiers/).
func (*Database) RequestedServiceObjectiveName ¶
func (r *Database) RequestedServiceObjectiveName() *pulumi.StringOutput
Use `requested_service_objective_name` or `requested_service_objective_id` to set the performance level for the database. Valid values are: `S0`, `S1`, `S2`, `S3`, `P1`, `P2`, `P4`, `P6`, `P11` and `ElasticPool`. Please see [Azure SQL Database Service Tiers](https://azure.microsoft.com/en-gb/documentation/articles/sql-database-service-tiers/).
func (*Database) ResourceGroupName ¶
func (r *Database) ResourceGroupName() *pulumi.StringOutput
The name of the resource group in which to create the database. This must be the same as Database Server resource group currently.
func (*Database) RestorePointInTime ¶
func (r *Database) RestorePointInTime() *pulumi.StringOutput
The point in time for the restore. Only applies if `create_mode` is `PointInTimeRestore` e.g. 2013-11-08T22:00:40Z
func (*Database) ServerName ¶
func (r *Database) ServerName() *pulumi.StringOutput
The name of the SQL Server on which to create the database.
func (*Database) SourceDatabaseDeletionDate ¶
func (r *Database) SourceDatabaseDeletionDate() *pulumi.StringOutput
The deletion date time of the source database. Only applies to deleted databases where `create_mode` is `PointInTimeRestore`.
func (*Database) SourceDatabaseId ¶
func (r *Database) SourceDatabaseId() *pulumi.StringOutput
The URI of the source database if `create_mode` value is not `Default`.
func (*Database) ThreatDetectionPolicy ¶ added in v0.16.0
Threat detection policy configuration. The `threat_detection_policy` block supports fields documented below.
type DatabaseArgs ¶
type DatabaseArgs struct { // The name of the collation. Applies only if `create_mode` is `Default`. Azure default is `SQL_LATIN1_GENERAL_CP1_CI_AS`. Changing this forces a new resource to be created. Collation interface{} // Specifies the type of database to create. Defaults to `Default`. See below for the accepted values/ CreateMode interface{} // The edition of the database to be created. Applies only if `create_mode` is `Default`. Valid values are: `Basic`, `Standard`, `Premium`, or `DataWarehouse`. Please see [Azure SQL Database Service Tiers](https://azure.microsoft.com/en-gb/documentation/articles/sql-database-service-tiers/). Edition interface{} // The name of the elastic database pool. ElasticPoolName interface{} // A Database Import block as documented below. `create_mode` must be set to `Default`. Import interface{} // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location interface{} // The maximum size that the database can grow to. Applies only if `create_mode` is `Default`. Please see [Azure SQL Database Service Tiers](https://azure.microsoft.com/en-gb/documentation/articles/sql-database-service-tiers/). MaxSizeBytes interface{} // The name of the database. Name interface{} // Read-only connections will be redirected to a high-available replica. Please see [Use read-only replicas to load-balance read-only query workloads](https://docs.microsoft.com/en-us/azure/sql-database/sql-database-read-scale-out). ReadScale interface{} // Use `requested_service_objective_id` or `requested_service_objective_name` to set the performance level for the database. // Please see [Azure SQL Database Service Tiers](https://azure.microsoft.com/en-gb/documentation/articles/sql-database-service-tiers/). RequestedServiceObjectiveId interface{} // Use `requested_service_objective_name` or `requested_service_objective_id` to set the performance level for the database. Valid values are: `S0`, `S1`, `S2`, `S3`, `P1`, `P2`, `P4`, `P6`, `P11` and `ElasticPool`. Please see [Azure SQL Database Service Tiers](https://azure.microsoft.com/en-gb/documentation/articles/sql-database-service-tiers/). RequestedServiceObjectiveName interface{} // The name of the resource group in which to create the database. This must be the same as Database Server resource group currently. ResourceGroupName interface{} // The point in time for the restore. Only applies if `create_mode` is `PointInTimeRestore` e.g. 2013-11-08T22:00:40Z RestorePointInTime interface{} // The name of the SQL Server on which to create the database. ServerName interface{} // The deletion date time of the source database. Only applies to deleted databases where `create_mode` is `PointInTimeRestore`. SourceDatabaseDeletionDate interface{} // The URI of the source database if `create_mode` value is not `Default`. SourceDatabaseId interface{} // A mapping of tags to assign to the resource. Tags interface{} // Threat detection policy configuration. The `threat_detection_policy` block supports fields documented below. ThreatDetectionPolicy interface{} }
The set of arguments for constructing a Database resource.
type DatabaseState ¶
type DatabaseState struct { // The name of the collation. Applies only if `create_mode` is `Default`. Azure default is `SQL_LATIN1_GENERAL_CP1_CI_AS`. Changing this forces a new resource to be created. Collation interface{} // Specifies the type of database to create. Defaults to `Default`. See below for the accepted values/ CreateMode interface{} // The creation date of the SQL Database. CreationDate interface{} // The default secondary location of the SQL Database. DefaultSecondaryLocation interface{} // The edition of the database to be created. Applies only if `create_mode` is `Default`. Valid values are: `Basic`, `Standard`, `Premium`, or `DataWarehouse`. Please see [Azure SQL Database Service Tiers](https://azure.microsoft.com/en-gb/documentation/articles/sql-database-service-tiers/). Edition interface{} // The name of the elastic database pool. ElasticPoolName interface{} Encryption interface{} // A Database Import block as documented below. `create_mode` must be set to `Default`. Import interface{} // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location interface{} // The maximum size that the database can grow to. Applies only if `create_mode` is `Default`. Please see [Azure SQL Database Service Tiers](https://azure.microsoft.com/en-gb/documentation/articles/sql-database-service-tiers/). MaxSizeBytes interface{} // The name of the database. Name interface{} // Read-only connections will be redirected to a high-available replica. Please see [Use read-only replicas to load-balance read-only query workloads](https://docs.microsoft.com/en-us/azure/sql-database/sql-database-read-scale-out). ReadScale interface{} // Use `requested_service_objective_id` or `requested_service_objective_name` to set the performance level for the database. // Please see [Azure SQL Database Service Tiers](https://azure.microsoft.com/en-gb/documentation/articles/sql-database-service-tiers/). RequestedServiceObjectiveId interface{} // Use `requested_service_objective_name` or `requested_service_objective_id` to set the performance level for the database. Valid values are: `S0`, `S1`, `S2`, `S3`, `P1`, `P2`, `P4`, `P6`, `P11` and `ElasticPool`. Please see [Azure SQL Database Service Tiers](https://azure.microsoft.com/en-gb/documentation/articles/sql-database-service-tiers/). RequestedServiceObjectiveName interface{} // The name of the resource group in which to create the database. This must be the same as Database Server resource group currently. ResourceGroupName interface{} // The point in time for the restore. Only applies if `create_mode` is `PointInTimeRestore` e.g. 2013-11-08T22:00:40Z RestorePointInTime interface{} // The name of the SQL Server on which to create the database. ServerName interface{} // The deletion date time of the source database. Only applies to deleted databases where `create_mode` is `PointInTimeRestore`. SourceDatabaseDeletionDate interface{} // The URI of the source database if `create_mode` value is not `Default`. SourceDatabaseId interface{} // A mapping of tags to assign to the resource. Tags interface{} // Threat detection policy configuration. The `threat_detection_policy` block supports fields documented below. ThreatDetectionPolicy interface{} }
Input properties used for looking up and filtering Database resources.
type ElasticPool ¶
type ElasticPool struct {
// contains filtered or unexported fields
}
Allows you to manage an Azure SQL Elastic Pool.
> **NOTE:** - This version of the `Elasticpool` resource is being **deprecated** and should no longer be used. Please use the azurerm_mssql_elasticpool version instead.
func GetElasticPool ¶
func GetElasticPool(ctx *pulumi.Context, name string, id pulumi.ID, state *ElasticPoolState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*ElasticPool, error)
NewElasticPool registers a new resource with the given unique name, arguments, and options.
func (*ElasticPool) CreationDate ¶
func (r *ElasticPool) CreationDate() *pulumi.StringOutput
The creation date of the SQL Elastic Pool.
func (*ElasticPool) DbDtuMax ¶
func (r *ElasticPool) DbDtuMax() *pulumi.IntOutput
The maximum DTU which will be guaranteed to all databases in the elastic pool to be created.
func (*ElasticPool) DbDtuMin ¶
func (r *ElasticPool) DbDtuMin() *pulumi.IntOutput
The minimum DTU which will be guaranteed to all databases in the elastic pool to be created.
func (*ElasticPool) Dtu ¶
func (r *ElasticPool) Dtu() *pulumi.IntOutput
The total shared DTU for the elastic pool. Valid values depend on the `edition` which has been defined. Refer to [Azure SQL Database Service Tiers](https://docs.microsoft.com/en-gb/azure/sql-database/sql-database-service-tiers#elastic-pool-service-tiers-and-performance-in-edtus) for valid combinations.
func (*ElasticPool) Edition ¶
func (r *ElasticPool) Edition() *pulumi.StringOutput
The edition of the elastic pool to be created. Valid values are `Basic`, `Standard`, and `Premium`. Refer to [Azure SQL Database Service Tiers](https://docs.microsoft.com/en-gb/azure/sql-database/sql-database-service-tiers#elastic-pool-service-tiers-and-performance-in-edtus) for details. Changing this forces a new resource to be created.
func (*ElasticPool) ID ¶
func (r *ElasticPool) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*ElasticPool) Location ¶
func (r *ElasticPool) Location() *pulumi.StringOutput
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
func (*ElasticPool) Name ¶
func (r *ElasticPool) Name() *pulumi.StringOutput
The name of the elastic pool. This needs to be globally unique. Changing this forces a new resource to be created.
func (*ElasticPool) PoolSize ¶
func (r *ElasticPool) PoolSize() *pulumi.IntOutput
The maximum size in MB that all databases in the elastic pool can grow to. The maximum size must be consistent with combination of `edition` and `dtu` and the limits documented in [Azure SQL Database Service Tiers](https://docs.microsoft.com/en-gb/azure/sql-database/sql-database-service-tiers#elastic-pool-service-tiers-and-performance-in-edtus). If not defined when creating an elastic pool, the value is set to the size implied by `edition` and `dtu`.
func (*ElasticPool) ResourceGroupName ¶
func (r *ElasticPool) ResourceGroupName() *pulumi.StringOutput
The name of the resource group in which to create the elastic pool. This must be the same as the resource group of the underlying SQL server.
func (*ElasticPool) ServerName ¶
func (r *ElasticPool) ServerName() *pulumi.StringOutput
The name of the SQL Server on which to create the elastic pool. Changing this forces a new resource to be created.
func (*ElasticPool) Tags ¶
func (r *ElasticPool) Tags() *pulumi.MapOutput
A mapping of tags to assign to the resource.
func (*ElasticPool) URN ¶
func (r *ElasticPool) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type ElasticPoolArgs ¶
type ElasticPoolArgs struct { // The maximum DTU which will be guaranteed to all databases in the elastic pool to be created. DbDtuMax interface{} // The minimum DTU which will be guaranteed to all databases in the elastic pool to be created. DbDtuMin interface{} // The total shared DTU for the elastic pool. Valid values depend on the `edition` which has been defined. Refer to [Azure SQL Database Service Tiers](https://docs.microsoft.com/en-gb/azure/sql-database/sql-database-service-tiers#elastic-pool-service-tiers-and-performance-in-edtus) for valid combinations. Dtu interface{} // The edition of the elastic pool to be created. Valid values are `Basic`, `Standard`, and `Premium`. Refer to [Azure SQL Database Service Tiers](https://docs.microsoft.com/en-gb/azure/sql-database/sql-database-service-tiers#elastic-pool-service-tiers-and-performance-in-edtus) for details. Changing this forces a new resource to be created. Edition interface{} // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location interface{} // The name of the elastic pool. This needs to be globally unique. Changing this forces a new resource to be created. Name interface{} // The maximum size in MB that all databases in the elastic pool can grow to. The maximum size must be consistent with combination of `edition` and `dtu` and the limits documented in [Azure SQL Database Service Tiers](https://docs.microsoft.com/en-gb/azure/sql-database/sql-database-service-tiers#elastic-pool-service-tiers-and-performance-in-edtus). If not defined when creating an elastic pool, the value is set to the size implied by `edition` and `dtu`. PoolSize interface{} // The name of the resource group in which to create the elastic pool. This must be the same as the resource group of the underlying SQL server. ResourceGroupName interface{} // The name of the SQL Server on which to create the elastic pool. Changing this forces a new resource to be created. ServerName interface{} // A mapping of tags to assign to the resource. Tags interface{} }
The set of arguments for constructing a ElasticPool resource.
type ElasticPoolState ¶
type ElasticPoolState struct { // The creation date of the SQL Elastic Pool. CreationDate interface{} // The maximum DTU which will be guaranteed to all databases in the elastic pool to be created. DbDtuMax interface{} // The minimum DTU which will be guaranteed to all databases in the elastic pool to be created. DbDtuMin interface{} // The total shared DTU for the elastic pool. Valid values depend on the `edition` which has been defined. Refer to [Azure SQL Database Service Tiers](https://docs.microsoft.com/en-gb/azure/sql-database/sql-database-service-tiers#elastic-pool-service-tiers-and-performance-in-edtus) for valid combinations. Dtu interface{} // The edition of the elastic pool to be created. Valid values are `Basic`, `Standard`, and `Premium`. Refer to [Azure SQL Database Service Tiers](https://docs.microsoft.com/en-gb/azure/sql-database/sql-database-service-tiers#elastic-pool-service-tiers-and-performance-in-edtus) for details. Changing this forces a new resource to be created. Edition interface{} // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location interface{} // The name of the elastic pool. This needs to be globally unique. Changing this forces a new resource to be created. Name interface{} // The maximum size in MB that all databases in the elastic pool can grow to. The maximum size must be consistent with combination of `edition` and `dtu` and the limits documented in [Azure SQL Database Service Tiers](https://docs.microsoft.com/en-gb/azure/sql-database/sql-database-service-tiers#elastic-pool-service-tiers-and-performance-in-edtus). If not defined when creating an elastic pool, the value is set to the size implied by `edition` and `dtu`. PoolSize interface{} // The name of the resource group in which to create the elastic pool. This must be the same as the resource group of the underlying SQL server. ResourceGroupName interface{} // The name of the SQL Server on which to create the elastic pool. Changing this forces a new resource to be created. ServerName interface{} // A mapping of tags to assign to the resource. Tags interface{} }
Input properties used for looking up and filtering ElasticPool resources.
type FirewallRule ¶
type FirewallRule struct {
// contains filtered or unexported fields
}
Allows you to manage an Azure SQL Firewall Rule
func GetFirewallRule ¶
func GetFirewallRule(ctx *pulumi.Context, name string, id pulumi.ID, state *FirewallRuleState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*FirewallRule, error)
NewFirewallRule registers a new resource with the given unique name, arguments, and options.
func (*FirewallRule) EndIpAddress ¶
func (r *FirewallRule) EndIpAddress() *pulumi.StringOutput
The ending IP address to allow through the firewall for this rule.
func (*FirewallRule) ID ¶
func (r *FirewallRule) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*FirewallRule) Name ¶
func (r *FirewallRule) Name() *pulumi.StringOutput
The name of the firewall rule.
func (*FirewallRule) ResourceGroupName ¶
func (r *FirewallRule) ResourceGroupName() *pulumi.StringOutput
The name of the resource group in which to create the sql server.
func (*FirewallRule) ServerName ¶
func (r *FirewallRule) ServerName() *pulumi.StringOutput
The name of the SQL Server on which to create the Firewall Rule.
func (*FirewallRule) StartIpAddress ¶
func (r *FirewallRule) StartIpAddress() *pulumi.StringOutput
The starting IP address to allow through the firewall for this rule.
func (*FirewallRule) URN ¶
func (r *FirewallRule) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type FirewallRuleArgs ¶
type FirewallRuleArgs struct { // The ending IP address to allow through the firewall for this rule. EndIpAddress interface{} // The name of the firewall rule. Name interface{} // The name of the resource group in which to // create the sql server. ResourceGroupName interface{} // The name of the SQL Server on which to create the Firewall Rule. ServerName interface{} // The starting IP address to allow through the firewall for this rule. StartIpAddress interface{} }
The set of arguments for constructing a FirewallRule resource.
type FirewallRuleState ¶
type FirewallRuleState struct { // The ending IP address to allow through the firewall for this rule. EndIpAddress interface{} // The name of the firewall rule. Name interface{} // The name of the resource group in which to // create the sql server. ResourceGroupName interface{} // The name of the SQL Server on which to create the Firewall Rule. ServerName interface{} // The starting IP address to allow through the firewall for this rule. StartIpAddress interface{} }
Input properties used for looking up and filtering FirewallRule resources.
type SqlServer ¶
type SqlServer struct {
// contains filtered or unexported fields
}
Manages a SQL Azure Database Server.
> **Note:** All arguments including the administrator login and password will be stored in the raw state as plain-text. [Read more about sensitive data in state](https://www.terraform.io/docs/state/sensitive-data.html).
func GetSqlServer ¶
func GetSqlServer(ctx *pulumi.Context, name string, id pulumi.ID, state *SqlServerState, opts ...pulumi.ResourceOpt) (*SqlServer, error)
GetSqlServer gets an existing SqlServer 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 NewSqlServer ¶
func NewSqlServer(ctx *pulumi.Context, name string, args *SqlServerArgs, opts ...pulumi.ResourceOpt) (*SqlServer, error)
NewSqlServer registers a new resource with the given unique name, arguments, and options.
func (*SqlServer) AdministratorLogin ¶
func (r *SqlServer) AdministratorLogin() *pulumi.StringOutput
The administrator login name for the new server. Changing this forces a new resource to be created.
func (*SqlServer) AdministratorLoginPassword ¶
func (r *SqlServer) AdministratorLoginPassword() *pulumi.StringOutput
The password associated with the `administrator_login` user. Needs to comply with Azure's [Password Policy](https://msdn.microsoft.com/library/ms161959.aspx)
func (*SqlServer) FullyQualifiedDomainName ¶
func (r *SqlServer) FullyQualifiedDomainName() *pulumi.StringOutput
The fully qualified domain name of the Azure SQL Server (e.g. myServerName.database.windows.net)
func (*SqlServer) Location ¶
func (r *SqlServer) Location() *pulumi.StringOutput
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
func (*SqlServer) Name ¶
func (r *SqlServer) Name() *pulumi.StringOutput
The name of the SQL Server. This needs to be globally unique within Azure.
func (*SqlServer) ResourceGroupName ¶
func (r *SqlServer) ResourceGroupName() *pulumi.StringOutput
The name of the resource group in which to create the SQL Server.
func (*SqlServer) Version ¶
func (r *SqlServer) Version() *pulumi.StringOutput
The version for the new server. Valid values are: 2.0 (for v11 server) and 12.0 (for v12 server).
type SqlServerArgs ¶
type SqlServerArgs struct { // The administrator login name for the new server. Changing this forces a new resource to be created. AdministratorLogin interface{} // The password associated with the `administrator_login` user. Needs to comply with Azure's [Password Policy](https://msdn.microsoft.com/library/ms161959.aspx) AdministratorLoginPassword interface{} // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location interface{} // The name of the SQL Server. This needs to be globally unique within Azure. Name interface{} // The name of the resource group in which to create the SQL Server. ResourceGroupName interface{} // A mapping of tags to assign to the resource. Tags interface{} // The version for the new server. Valid values are: 2.0 (for v11 server) and 12.0 (for v12 server). Version interface{} }
The set of arguments for constructing a SqlServer resource.
type SqlServerState ¶
type SqlServerState struct { // The administrator login name for the new server. Changing this forces a new resource to be created. AdministratorLogin interface{} // The password associated with the `administrator_login` user. Needs to comply with Azure's [Password Policy](https://msdn.microsoft.com/library/ms161959.aspx) AdministratorLoginPassword interface{} // The fully qualified domain name of the Azure SQL Server (e.g. myServerName.database.windows.net) FullyQualifiedDomainName interface{} // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location interface{} // The name of the SQL Server. This needs to be globally unique within Azure. Name interface{} // The name of the resource group in which to create the SQL Server. ResourceGroupName interface{} // A mapping of tags to assign to the resource. Tags interface{} // The version for the new server. Valid values are: 2.0 (for v11 server) and 12.0 (for v12 server). Version interface{} }
Input properties used for looking up and filtering SqlServer resources.
type VirtualNetworkRule ¶
type VirtualNetworkRule struct {
// contains filtered or unexported fields
}
Allows you to add, update, or remove an Azure SQL server to a subnet of a virtual network.
func GetVirtualNetworkRule ¶
func GetVirtualNetworkRule(ctx *pulumi.Context, name string, id pulumi.ID, state *VirtualNetworkRuleState, opts ...pulumi.ResourceOpt) (*VirtualNetworkRule, error)
GetVirtualNetworkRule gets an existing VirtualNetworkRule 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 NewVirtualNetworkRule ¶
func NewVirtualNetworkRule(ctx *pulumi.Context, name string, args *VirtualNetworkRuleArgs, opts ...pulumi.ResourceOpt) (*VirtualNetworkRule, error)
NewVirtualNetworkRule registers a new resource with the given unique name, arguments, and options.
func (*VirtualNetworkRule) ID ¶
func (r *VirtualNetworkRule) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*VirtualNetworkRule) IgnoreMissingVnetServiceEndpoint ¶
func (r *VirtualNetworkRule) IgnoreMissingVnetServiceEndpoint() *pulumi.BoolOutput
Create the virtual network rule before the subnet has the virtual network service endpoint enabled. The default value is false.
func (*VirtualNetworkRule) Name ¶
func (r *VirtualNetworkRule) Name() *pulumi.StringOutput
The name of the SQL virtual network rule. Changing this forces a new resource to be created. Cannot be empty and must only contain alphanumeric characters and hyphens. Cannot start with a number, and cannot start or end with a hyphen.
func (*VirtualNetworkRule) ResourceGroupName ¶
func (r *VirtualNetworkRule) ResourceGroupName() *pulumi.StringOutput
The name of the resource group where the SQL server resides. Changing this forces a new resource to be created.
func (*VirtualNetworkRule) ServerName ¶
func (r *VirtualNetworkRule) ServerName() *pulumi.StringOutput
The name of the SQL Server to which this SQL virtual network rule will be applied to. Changing this forces a new resource to be created.
func (*VirtualNetworkRule) SubnetId ¶
func (r *VirtualNetworkRule) SubnetId() *pulumi.StringOutput
The ID of the subnet that the SQL server will be connected to.
func (*VirtualNetworkRule) URN ¶
func (r *VirtualNetworkRule) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type VirtualNetworkRuleArgs ¶
type VirtualNetworkRuleArgs struct { // Create the virtual network rule before the subnet has the virtual network service endpoint enabled. The default value is false. IgnoreMissingVnetServiceEndpoint interface{} // The name of the SQL virtual network rule. Changing this forces a new resource to be created. Cannot be empty and must only contain alphanumeric characters and hyphens. Cannot start with a number, and cannot start or end with a hyphen. Name interface{} // The name of the resource group where the SQL server resides. Changing this forces a new resource to be created. ResourceGroupName interface{} // The name of the SQL Server to which this SQL virtual network rule will be applied to. Changing this forces a new resource to be created. ServerName interface{} // The ID of the subnet that the SQL server will be connected to. SubnetId interface{} }
The set of arguments for constructing a VirtualNetworkRule resource.
type VirtualNetworkRuleState ¶
type VirtualNetworkRuleState struct { // Create the virtual network rule before the subnet has the virtual network service endpoint enabled. The default value is false. IgnoreMissingVnetServiceEndpoint interface{} // The name of the SQL virtual network rule. Changing this forces a new resource to be created. Cannot be empty and must only contain alphanumeric characters and hyphens. Cannot start with a number, and cannot start or end with a hyphen. Name interface{} // The name of the resource group where the SQL server resides. Changing this forces a new resource to be created. ResourceGroupName interface{} // The name of the SQL Server to which this SQL virtual network rule will be applied to. Changing this forces a new resource to be created. ServerName interface{} // The ID of the subnet that the SQL server will be connected to. SubnetId interface{} }
Input properties used for looking up and filtering VirtualNetworkRule resources.