Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New( azureEnvironment azure.Environment, armDeployer arm.Deployer, serversClient sqlSDK.ServersClient, databasesClient sqlSDK.DatabasesClient, ) service.Module
New returns a new instance of a type that fulfills the service.Module interface and is capable of provisioning MS SQL servers and databases using "Azure SQL Database"
Types ¶
type AllInOneProvisioningParameters ¶
type AllInOneProvisioningParameters struct {
DBMSProvisioningParams `json:",squash"`
}
AllInOneProvisioningParameters encapsulates non-sensitive dbms AND database MS SQL-specific provisioning options
type Credentials ¶
type Credentials struct { Host string `json:"host"` Port int `json:"port"` Database string `json:"database"` Username string `json:"username"` Password string `json:"password"` URI string `json:"uri"` Tags []string `json:"tags"` JDBC string `json:"jdbcUrl"` Encrypt bool `json:"encrypt"` }
Credentials encapsulates MSSQL-specific coonection details and credentials.
type DBMSProvisioningParams ¶
type DBMSProvisioningParams struct { SSLEnforcement string `json:"sslEnforcement"` FirewallRules []FirewallRule `json:"firewallRules"` }
DBMSProvisioningParams encapsulates non-sensitive MSSQL-server specific provisioning options
type FirewallRule ¶
type FirewallRule struct { Name string `json:"name"` StartIP string `json:"startIPAddress"` EndIP string `json:"endIPAddress"` }
FirewallRule represents a firewall rule to be applied to the DBMS
Source Files ¶
- all_in_one_arm_template.go
- all_in_one_bind.go
- all_in_one_deprovision.go
- all_in_one_provision.go
- all_in_one_types.go
- all_in_one_unbind.go
- all_in_one_update.go
- catalog.go
- common.go
- common_bind.go
- common_provision.go
- common_types.go
- common_unbind.go
- database_arm_template.go
- database_bind.go
- database_deprovision.go
- database_provision.go
- database_types.go
- database_unbind.go
- database_update.go
- dbms_arm_template.go
- dbms_bind.go
- dbms_deprovision.go
- dbms_provision.go
- dbms_types.go
- dbms_unbind.go
- dbms_update.go
- mssql.go
Click to show internal directories.
Click to hide internal directories.