server

package
v0.0.0-...-c112795 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGoNetworkSubnetClient

func GetGoNetworkSubnetClient(creds config.Credentials, subscription string) network.SubnetsClient

GetNetworkSubnetClient retrieves a Subnetclient

Types

type MySQLVNetRuleClient

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

func NewMySQLVNetRuleClient

func NewMySQLVNetRuleClient(creds config.Credentials) *MySQLVNetRuleClient

func (*MySQLVNetRuleClient) CreateOrUpdateSQLVNetRule

func (c *MySQLVNetRuleClient) CreateOrUpdateSQLVNetRule(ctx context.Context, resourceGroupName string, serverName string, ruleName string, VNetRG string, VNetName string, SubnetName string, subscription string, IgnoreServiceEndpoint bool) (vnr mysql.VirtualNetworkRule, err error)

CreateOrUpdateSQLVNetRule creates or updates a VNet rule based on code from: https://godoc.org/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql#VirtualNetworkRulesClient.CreateOrUpdate

func (*MySQLVNetRuleClient) Delete

Delete drops a sqlvnetrule

func (*MySQLVNetRuleClient) DeleteSQLVNetRule

func (c *MySQLVNetRuleClient) DeleteSQLVNetRule(ctx context.Context, resourceGroupName string, serverName string, ruleName string) (err error)

DeleteSQLVNetRule deletes a VNet rule

func (*MySQLVNetRuleClient) Ensure

Ensure creates a sqlvnetrule

func (*MySQLVNetRuleClient) GetParents

GetParents returns the parents of sqlvnetrule

func (*MySQLVNetRuleClient) GetSQLVNetRule

func (c *MySQLVNetRuleClient) GetSQLVNetRule(ctx context.Context, resourceGroupName string, serverName string, ruleName string) (result mysql.VirtualNetworkRule, err error)

GetSQLVNetRule returns a VNet rule

func (*MySQLVNetRuleClient) GetStatus

type MySqlVNetRuleManager

type MySqlVNetRuleManager interface {
	CreateOrUpdateMySQLVNetRule(ctx context.Context, resourceGroupName string, serverName string, ruleName string, VNetRG string, VNetName string, SubnetName string, IgnoreServiceEndpoint bool) (result mysql.VirtualNetworkRule, err error)
	DeleteMySQLVNetRule(ctx context.Context, resourceGroupName string, serverName string, ruleName string) (err error)
	GetMySQLVNetRule(ctx context.Context, resourceGroupName string, serverName string, ruleName string) (result mysql.VirtualNetworkRule, err error)
	resourcemanager.ARMClient
}

Jump to

Keyboard shortcuts

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