mssql

package
v0.9.0-alpha Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2018 License: MIT Imports: 15 Imported by: 4

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

Jump to

Keyboard shortcuts

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