sql

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"`
	Location   string         `json:"location,omitempty"`
	SKU        map[string]any `json:"sku,omitempty"`
	Properties map[string]any `json:"properties"`
}

Database is the ARM child resource shape for Microsoft.Sql/servers/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.Sql/servers/firewallRules.

type SQLService

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

SQLService implements first-slice Azure SQL Database resource-provider APIs.

func New

func New() *SQLService

func (*SQLService) Actions

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

func (*SQLService) HandleRequest

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

func (*SQLService) HealthCheck

func (s *SQLService) HealthCheck() error

func (*SQLService) Name

func (s *SQLService) Name() string

func (*SQLService) ProvisionTemplateResource

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

func (*SQLService) ServiceKeys

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

func (*SQLService) SupportsTemplateResource

func (s *SQLService) 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"`
	Tags       map[string]string `json:"tags,omitempty"`
	Properties map[string]any    `json:"properties"`
}

Server is the ARM resource shape for Microsoft.Sql/servers.

Jump to

Keyboard shortcuts

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