postgresql

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database struct {
	ID         string         `json:"id"`
	Name       string         `json:"name"`
	Type       string         `json:"type"`
	Properties map[string]any `json:"properties"`
}

Database is the ARM child resource shape for Microsoft.DBforPostgreSQL/flexibleServers/databases.

type FirewallRule

type FirewallRule struct {
	ID         string         `json:"id"`
	Name       string         `json:"name"`
	Type       string         `json:"type"`
	Properties map[string]any `json:"properties"`
}

FirewallRule is the ARM child resource shape for Microsoft.DBforPostgreSQL/flexibleServers/firewallRules.

type PostgreSQLService

type PostgreSQLService struct {
	// contains filtered or unexported fields
}

PostgreSQLService implements first-slice Azure Database for PostgreSQL Flexible Server APIs.

func New

func New() *PostgreSQLService

func (*PostgreSQLService) Actions

func (s *PostgreSQLService) Actions() []service.Action

func (*PostgreSQLService) HandleRequest

func (s *PostgreSQLService) HandleRequest(ctx *service.RequestContext) (*service.Response, error)

func (*PostgreSQLService) HealthCheck

func (s *PostgreSQLService) HealthCheck() error

func (*PostgreSQLService) Name

func (s *PostgreSQLService) Name() string

func (*PostgreSQLService) ProvisionTemplateResource

func (s *PostgreSQLService) ProvisionTemplateResource(subscriptionID, resourceGroup string, resource map[string]any) (any, error)

func (*PostgreSQLService) ServiceKeys

func (s *PostgreSQLService) ServiceKeys() []routing.ServiceKey

func (*PostgreSQLService) SupportsTemplateResource

func (s *PostgreSQLService) SupportsTemplateResource(resource map[string]any) bool

type Server

type Server struct {
	ID         string            `json:"id"`
	Name       string            `json:"name"`
	Type       string            `json:"type"`
	Location   string            `json:"location"`
	SKU        map[string]any    `json:"sku,omitempty"`
	Tags       map[string]string `json:"tags,omitempty"`
	Identity   map[string]any    `json:"identity,omitempty"`
	Properties map[string]any    `json:"properties"`
}

Server is the ARM resource shape for Microsoft.DBforPostgreSQL/flexibleServers.

Jump to

Keyboard shortcuts

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