Documentation ¶
Index ¶
- type AzureSqlVNetRuleManager
- func (m *AzureSqlVNetRuleManager) CreateOrUpdateSQLVNetRule(ctx context.Context, resourceGroupName string, serverName string, ...) (vnr sql.VirtualNetworkRule, err error)
- func (vr *AzureSqlVNetRuleManager) Delete(ctx context.Context, obj runtime.Object, opts ...resourcemanager.ConfigOption) (bool, error)
- func (m *AzureSqlVNetRuleManager) DeleteSQLVNetRule(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (err error)
- func (vr *AzureSqlVNetRuleManager) Ensure(ctx context.Context, obj runtime.Object, opts ...resourcemanager.ConfigOption) (bool, error)
- func (vr *AzureSqlVNetRuleManager) GetParents(obj runtime.Object) ([]resourcemanager.KubeParent, error)
- func (m *AzureSqlVNetRuleManager) GetSQLVNetRule(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result sql.VirtualNetworkRule, err error)
- func (vr *AzureSqlVNetRuleManager) GetStatus(obj runtime.Object) (*azurev1alpha1.ASOStatus, error)
- type SqlVNetRuleManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureSqlVNetRuleManager ¶
type AzureSqlVNetRuleManager struct {
// contains filtered or unexported fields
}
func NewAzureSqlVNetRuleManager ¶
func NewAzureSqlVNetRuleManager(creds config.Credentials) *AzureSqlVNetRuleManager
func (*AzureSqlVNetRuleManager) CreateOrUpdateSQLVNetRule ¶
func (m *AzureSqlVNetRuleManager) CreateOrUpdateSQLVNetRule( ctx context.Context, resourceGroupName string, serverName string, ruleName string, VNetRG string, VNetName string, SubnetName string, subscription string, IgnoreServiceEndpoint bool, ) (vnr sql.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 (*AzureSqlVNetRuleManager) Delete ¶
func (vr *AzureSqlVNetRuleManager) Delete(ctx context.Context, obj runtime.Object, opts ...resourcemanager.ConfigOption) (bool, error)
Delete drops a sqlvnetrule
func (*AzureSqlVNetRuleManager) DeleteSQLVNetRule ¶
func (m *AzureSqlVNetRuleManager) DeleteSQLVNetRule(ctx context.Context, subscriptionID string, resourceGroupName string, serverName string, ruleName string) (err error)
DeleteSQLVNetRule deletes a VNet rule
func (*AzureSqlVNetRuleManager) Ensure ¶
func (vr *AzureSqlVNetRuleManager) Ensure(ctx context.Context, obj runtime.Object, opts ...resourcemanager.ConfigOption) (bool, error)
Ensure creates a sqlvnetrule
func (*AzureSqlVNetRuleManager) GetParents ¶
func (vr *AzureSqlVNetRuleManager) GetParents(obj runtime.Object) ([]resourcemanager.KubeParent, error)
GetParents returns the parents of sqlvnetrule
func (*AzureSqlVNetRuleManager) GetSQLVNetRule ¶
func (m *AzureSqlVNetRuleManager) GetSQLVNetRule( ctx context.Context, subscriptionID string, resourceGroupName string, serverName string, ruleName string, ) (result sql.VirtualNetworkRule, err error)
GetSQLVNetRule returns a VNet rule
func (*AzureSqlVNetRuleManager) GetStatus ¶
func (vr *AzureSqlVNetRuleManager) GetStatus(obj runtime.Object) (*azurev1alpha1.ASOStatus, error)
type SqlVNetRuleManager ¶
type SqlVNetRuleManager interface { CreateOrUpdateSQLVNetRule(ctx context.Context, resourceGroupName string, serverName string, ruleName string, VNetRG string, VNetName string, SubnetName string, IgnoreServiceEndpoint bool) (result sql.VirtualNetworkRule, err error) DeleteSQLVNetRule(ctx context.Context, resourceGroupName string, serverName string, ruleName string) (err error) GetSQLVNetRule(ctx context.Context, resourceGroupName string, serverName string, ruleName string) (result sql.VirtualNetworkRule, err error) resourcemanager.ARMClient }
Click to show internal directories.
Click to hide internal directories.