Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New( armDeployer arm.Deployer, checkNameAvailabilityClient postgresSDK.CheckNameAvailabilityClient, serversClient postgresSDK.ServersClient, databasesClient postgresSDK.DatabasesClient, ) service.Module
New returns a new instance of a type that fulfills the service.Module interface and is capable of provisioning PostgreSQL DBMS and databases using "Azure Database for PostgreSQL"
Types ¶
type AllInOneProvisioningParameters ¶
type AllInOneProvisioningParameters struct { DBMSProvisioningParameters `json:",squash"` DatabaseProvisioningParameters `json:",squash"` }
AllInOneProvisioningParameters encapsulates non-sensitive dbms AND database PostgreSQL-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"` SSLRequired bool `json:"sslRequired"` Tags []string `json:"tags"` }
Credentials encapsulates PostgreSQL-specific connection details and credentials.
type DBMSProvisioningParameters ¶
type DBMSProvisioningParameters struct { SSLEnforcement string `json:"sslEnforcement"` FirewallRules []FirewallRule `json:"firewallRules"` }
DBMSProvisioningParameters encapsulates non-senstivie PostgreSQL-specific dbms provisioning options
type DatabaseProvisioningParameters ¶
type DatabaseProvisioningParameters struct {
Extensions []string `json:"extensions"`
}
DatabaseProvisioningParameters encapsulates non-sensitive PostgreSQL-specific database provisioning options
type FirewallRule ¶
type FirewallRule struct { Name string `json:"name"` StartIP string `json:"startIPAddress"` EndIP string `json:"endIPAddress"` }
FirewallRule describes a firewall rule to be applied to an 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
- postgresql.go
Click to show internal directories.
Click to hide internal directories.