server

package
v0.0.0-...-7fe44a6 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 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

retrieves the Subnetclient

func GetPostgreSQLVNetRulesClient

func GetPostgreSQLVNetRulesClient(creds config.Credentials) psql.VirtualNetworkRulesClient

Types

type PostgreSQLVNetRuleClient

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

func NewPostgreSQLVNetRuleClient

func NewPostgreSQLVNetRuleClient(creds config.Credentials) *PostgreSQLVNetRuleClient

func (*PostgreSQLVNetRuleClient) CreateOrUpdatePostgreSQLVNetRule

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

creates or updates a VNet rule

func (*PostgreSQLVNetRuleClient) Delete

Delete Vnetrules

func (*PostgreSQLVNetRuleClient) DeletePostgreSQLVNetRule

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

deletes a VNet rule

func (*PostgreSQLVNetRuleClient) Ensure

Ensure creates a postgresqlvnetrule

func (*PostgreSQLVNetRuleClient) GetParents

GetParents returns the parent of postgresqlvnetrule

func (*PostgreSQLVNetRuleClient) GetPostgreSQLVNetRule

func (c *PostgreSQLVNetRuleClient) GetPostgreSQLVNetRule(
	ctx context.Context,
	resourceGroupName string,
	serverName string,
	ruleName string) (result psql.VirtualNetworkRule, err error)

GetPostgreSQLVNetRule returns a VNet rule

func (*PostgreSQLVNetRuleClient) GetStatus

type PostgreSqlVNetRuleManager

type PostgreSqlVNetRuleManager interface {
	CreateOrUpdatePostgreSQLVNetRule(
		ctx context.Context,
		resourceGroupName string,
		serverName string,
		ruleName string,
		VNetRG string,
		VNetName string,
		SubnetName string,
		IgnoreServiceEndpoint bool) (result psql.VirtualNetworkRule, err error)
	DeletePostgreSQLVNetRule(ctx context.Context, resourceGroupName string, serverName string, ruleName string) (err error)
	GetPostgreSQLVNetRulesClient(ctx context.Context, resourceGroupName string, serverName string, ruleName string) (result psql.VirtualNetworkRule, err error)
	resourcemanager.ARMClient
}

Jump to

Keyboard shortcuts

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