...

Package postgresqlflexibleserversapi

import "github.com/Azure/azure-sdk-for-go/services/preview/postgresql/mgmt/2020-11-05-preview/postgresqlflexibleservers/postgresqlflexibleserversapi"
Overview
Index

Overview ▾

Deprecated: Please note, this package has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/postgresql/armpostgresqlflexibleservers(https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/postgresql/armpostgresqlflexibleservers). We strongly encourage you to upgrade to continue receiving updates. See [Migration Guide](https://aka.ms/azsdk/golang/t2/migration) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.

type CheckNameAvailabilityClientAPI

CheckNameAvailabilityClientAPI contains the set of methods on the CheckNameAvailabilityClient type.

type CheckNameAvailabilityClientAPI interface {
    Execute(ctx context.Context, nameAvailabilityRequest postgresqlflexibleservers.NameAvailabilityRequest) (result postgresqlflexibleservers.NameAvailability, err error)
}

type ConfigurationsClientAPI

ConfigurationsClientAPI contains the set of methods on the ConfigurationsClient type.

type ConfigurationsClientAPI interface {
    Get(ctx context.Context, resourceGroupName string, serverName string, configurationName string) (result postgresqlflexibleservers.Configuration, err error)
    ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result postgresqlflexibleservers.ConfigurationListResultPage, err error)
    ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result postgresqlflexibleservers.ConfigurationListResultIterator, err error)
    Update(ctx context.Context, resourceGroupName string, serverName string, configurationName string, parameters postgresqlflexibleservers.Configuration) (result postgresqlflexibleservers.ConfigurationsUpdateFuture, err error)
}

type DatabasesClientAPI

DatabasesClientAPI contains the set of methods on the DatabasesClient type.

type DatabasesClientAPI interface {
    Create(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters postgresqlflexibleservers.Database) (result postgresqlflexibleservers.DatabasesCreateFuture, err error)
    Delete(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result postgresqlflexibleservers.DatabasesDeleteFuture, err error)
    Get(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result postgresqlflexibleservers.Database, err error)
    ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result postgresqlflexibleservers.DatabaseListResultPage, err error)
    ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result postgresqlflexibleservers.DatabaseListResultIterator, err error)
}

type FirewallRulesClientAPI

FirewallRulesClientAPI contains the set of methods on the FirewallRulesClient type.

type FirewallRulesClientAPI interface {
    CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, firewallRuleName string, parameters postgresqlflexibleservers.FirewallRule) (result postgresqlflexibleservers.FirewallRulesCreateOrUpdateFuture, err error)
    Delete(ctx context.Context, resourceGroupName string, serverName string, firewallRuleName string) (result postgresqlflexibleservers.FirewallRulesDeleteFuture, err error)
    Get(ctx context.Context, resourceGroupName string, serverName string, firewallRuleName string) (result postgresqlflexibleservers.FirewallRule, err error)
    ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result postgresqlflexibleservers.FirewallRuleListResultPage, err error)
    ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result postgresqlflexibleservers.FirewallRuleListResultIterator, err error)
}

type LocationBasedCapabilitiesClientAPI

LocationBasedCapabilitiesClientAPI contains the set of methods on the LocationBasedCapabilitiesClient type.

type LocationBasedCapabilitiesClientAPI interface {
    Execute(ctx context.Context, locationName string) (result postgresqlflexibleservers.CapabilitiesListResultPage, err error)
    ExecuteComplete(ctx context.Context, locationName string) (result postgresqlflexibleservers.CapabilitiesListResultIterator, err error)
}

type OperationsClientAPI

OperationsClientAPI contains the set of methods on the OperationsClient type.

type OperationsClientAPI interface {
    List(ctx context.Context) (result postgresqlflexibleservers.OperationListResult, err error)
}

type ServersClientAPI

ServersClientAPI contains the set of methods on the ServersClient type.

type ServersClientAPI interface {
    Create(ctx context.Context, resourceGroupName string, serverName string, parameters postgresqlflexibleservers.Server) (result postgresqlflexibleservers.ServersCreateFuture, err error)
    Delete(ctx context.Context, resourceGroupName string, serverName string) (result postgresqlflexibleservers.ServersDeleteFuture, err error)
    Get(ctx context.Context, resourceGroupName string, serverName string) (result postgresqlflexibleservers.Server, err error)
    List(ctx context.Context) (result postgresqlflexibleservers.ServerListResultPage, err error)
    ListComplete(ctx context.Context) (result postgresqlflexibleservers.ServerListResultIterator, err error)
    ListByResourceGroup(ctx context.Context, resourceGroupName string) (result postgresqlflexibleservers.ServerListResultPage, err error)
    ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result postgresqlflexibleservers.ServerListResultIterator, err error)
    Restart(ctx context.Context, resourceGroupName string, serverName string) (result postgresqlflexibleservers.ServersRestartFuture, err error)
    Start(ctx context.Context, resourceGroupName string, serverName string) (result postgresqlflexibleservers.ServersStartFuture, err error)
    Stop(ctx context.Context, resourceGroupName string, serverName string) (result postgresqlflexibleservers.ServersStopFuture, err error)
    Update(ctx context.Context, resourceGroupName string, serverName string, parameters postgresqlflexibleservers.ServerForUpdate) (result postgresqlflexibleservers.ServersUpdateFuture, err error)
}

type VirtualNetworkSubnetUsageClientAPI

VirtualNetworkSubnetUsageClientAPI contains the set of methods on the VirtualNetworkSubnetUsageClient type.

type VirtualNetworkSubnetUsageClientAPI interface {
    Execute(ctx context.Context, locationName string, parameters postgresqlflexibleservers.VirtualNetworkSubnetUsageParameter) (result postgresqlflexibleservers.VirtualNetworkSubnetUsageResult, err error)
}