Versions in this module Expand all Collapse all v20 v20.2.0 Sep 19, 2018 v20.1.0 Aug 31, 2018 v20.0.0 Aug 30, 2018 Changes in this version + const DefaultBaseURI + func UserAgent() string + func Version() string + type BaseClient struct + BaseURI string + SubscriptionID string + func New(subscriptionID string) BaseClient + func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient + type BasicServerPropertiesForCreate interface + AsServerPropertiesForCreate func() (*ServerPropertiesForCreate, bool) + AsServerPropertiesForDefaultCreate func() (*ServerPropertiesForDefaultCreate, bool) + AsServerPropertiesForRestore func() (*ServerPropertiesForRestore, bool) + type CheckNameAvailabilityClient struct + func NewCheckNameAvailabilityClient(subscriptionID string) CheckNameAvailabilityClient + func NewCheckNameAvailabilityClientWithBaseURI(baseURI string, subscriptionID string) CheckNameAvailabilityClient + func (client CheckNameAvailabilityClient) Execute(ctx context.Context, nameAvailabilityRequest NameAvailabilityRequest) (result NameAvailability, err error) + func (client CheckNameAvailabilityClient) ExecutePreparer(ctx context.Context, nameAvailabilityRequest NameAvailabilityRequest) (*http.Request, error) + func (client CheckNameAvailabilityClient) ExecuteResponder(resp *http.Response) (result NameAvailability, err error) + func (client CheckNameAvailabilityClient) ExecuteSender(req *http.Request) (*http.Response, error) + type Configuration struct + ID *string + Name *string + Type *string + func (c *Configuration) UnmarshalJSON(body []byte) error + func (c Configuration) MarshalJSON() ([]byte, error) + type ConfigurationListResult struct + Value *[]Configuration + type ConfigurationProperties struct + AllowedValues *string + DataType *string + DefaultValue *string + Description *string + Source *string + Value *string + type ConfigurationsClient struct + func NewConfigurationsClient(subscriptionID string) ConfigurationsClient + func NewConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) ConfigurationsClient + func (client ConfigurationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result ConfigurationsCreateOrUpdateFuture, err error) + func (client ConfigurationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error) + func (client ConfigurationsClient) CreateOrUpdateResponder(resp *http.Response) (result Configuration, err error) + func (client ConfigurationsClient) CreateOrUpdateSender(req *http.Request) (future ConfigurationsCreateOrUpdateFuture, err error) + func (client ConfigurationsClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result Configuration, err error) + func (client ConfigurationsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error) + func (client ConfigurationsClient) GetResponder(resp *http.Response) (result Configuration, err error) + func (client ConfigurationsClient) GetSender(req *http.Request) (*http.Response, error) + func (client ConfigurationsClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result ConfigurationListResult, err error) + func (client ConfigurationsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error) + func (client ConfigurationsClient) ListByServerResponder(resp *http.Response) (result ConfigurationListResult, err error) + func (client ConfigurationsClient) ListByServerSender(req *http.Request) (*http.Response, error) + type ConfigurationsCreateOrUpdateFuture struct + func (future ConfigurationsCreateOrUpdateFuture) Result(client ConfigurationsClient) (c Configuration, err error) + type CreateMode string + const CreateModeDefault + const CreateModePointInTimeRestore + const CreateModeServerPropertiesForCreate + func PossibleCreateModeValues() []CreateMode + type Database struct + ID *string + Name *string + Type *string + func (d *Database) UnmarshalJSON(body []byte) error + func (d Database) MarshalJSON() ([]byte, error) + type DatabaseListResult struct + Value *[]Database + type DatabaseProperties struct + Charset *string + Collation *string + type DatabasesClient struct + func NewDatabasesClient(subscriptionID string) DatabasesClient + func NewDatabasesClientWithBaseURI(baseURI string, subscriptionID string) DatabasesClient + func (client DatabasesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabasesCreateOrUpdateFuture, err error) + func (client DatabasesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error) + func (client DatabasesClient) CreateOrUpdateResponder(resp *http.Response) (result Database, err error) + func (client DatabasesClient) CreateOrUpdateSender(req *http.Request) (future DatabasesCreateOrUpdateFuture, err error) + func (client DatabasesClient) Delete(ctx context.Context, resourceGroupName string, serverName string, ...) (result DatabasesDeleteFuture, err error) + func (client DatabasesClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error) + func (client DatabasesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) + func (client DatabasesClient) DeleteSender(req *http.Request) (future DatabasesDeleteFuture, err error) + func (client DatabasesClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result Database, err error) + func (client DatabasesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error) + func (client DatabasesClient) GetResponder(resp *http.Response) (result Database, err error) + func (client DatabasesClient) GetSender(req *http.Request) (*http.Response, error) + func (client DatabasesClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result DatabaseListResult, err error) + func (client DatabasesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error) + func (client DatabasesClient) ListByServerResponder(resp *http.Response) (result DatabaseListResult, err error) + func (client DatabasesClient) ListByServerSender(req *http.Request) (*http.Response, error) + type DatabasesCreateOrUpdateFuture struct + func (future DatabasesCreateOrUpdateFuture) Result(client DatabasesClient) (d Database, err error) + type DatabasesDeleteFuture struct + func (future DatabasesDeleteFuture) Result(client DatabasesClient) (ar autorest.Response, err error) + type FirewallRule struct + ID *string + Name *string + Type *string + func (fr *FirewallRule) UnmarshalJSON(body []byte) error + func (fr FirewallRule) MarshalJSON() ([]byte, error) + type FirewallRuleListResult struct + Value *[]FirewallRule + type FirewallRuleProperties struct + EndIPAddress *string + StartIPAddress *string + type FirewallRulesClient struct + func NewFirewallRulesClient(subscriptionID string) FirewallRulesClient + func NewFirewallRulesClientWithBaseURI(baseURI string, subscriptionID string) FirewallRulesClient + func (client FirewallRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result FirewallRulesCreateOrUpdateFuture, err error) + func (client FirewallRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error) + func (client FirewallRulesClient) CreateOrUpdateResponder(resp *http.Response) (result FirewallRule, err error) + func (client FirewallRulesClient) CreateOrUpdateSender(req *http.Request) (future FirewallRulesCreateOrUpdateFuture, err error) + func (client FirewallRulesClient) Delete(ctx context.Context, resourceGroupName string, serverName string, ...) (result FirewallRulesDeleteFuture, err error) + func (client FirewallRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error) + func (client FirewallRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) + func (client FirewallRulesClient) DeleteSender(req *http.Request) (future FirewallRulesDeleteFuture, err error) + func (client FirewallRulesClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result FirewallRule, err error) + func (client FirewallRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error) + func (client FirewallRulesClient) GetResponder(resp *http.Response) (result FirewallRule, err error) + func (client FirewallRulesClient) GetSender(req *http.Request) (*http.Response, error) + func (client FirewallRulesClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result FirewallRuleListResult, err error) + func (client FirewallRulesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error) + func (client FirewallRulesClient) ListByServerResponder(resp *http.Response) (result FirewallRuleListResult, err error) + func (client FirewallRulesClient) ListByServerSender(req *http.Request) (*http.Response, error) + type FirewallRulesCreateOrUpdateFuture struct + func (future FirewallRulesCreateOrUpdateFuture) Result(client FirewallRulesClient) (fr FirewallRule, err error) + type FirewallRulesDeleteFuture struct + func (future FirewallRulesDeleteFuture) Result(client FirewallRulesClient) (ar autorest.Response, err error) + type LocationBasedPerformanceTierClient struct + func NewLocationBasedPerformanceTierClient(subscriptionID string) LocationBasedPerformanceTierClient + func NewLocationBasedPerformanceTierClientWithBaseURI(baseURI string, subscriptionID string) LocationBasedPerformanceTierClient + func (client LocationBasedPerformanceTierClient) List(ctx context.Context, locationName string) (result PerformanceTierListResult, err error) + func (client LocationBasedPerformanceTierClient) ListPreparer(ctx context.Context, locationName string) (*http.Request, error) + func (client LocationBasedPerformanceTierClient) ListResponder(resp *http.Response) (result PerformanceTierListResult, err error) + func (client LocationBasedPerformanceTierClient) ListSender(req *http.Request) (*http.Response, error) + type LogFile struct + ID *string + Name *string + Type *string + func (lf *LogFile) UnmarshalJSON(body []byte) error + func (lf LogFile) MarshalJSON() ([]byte, error) + type LogFileListResult struct + Value *[]LogFile + type LogFileProperties struct + CreatedTime *date.Time + LastModifiedTime *date.Time + Name *string + SizeInKB *int64 + Type *string + URL *string + type LogFilesClient struct + func NewLogFilesClient(subscriptionID string) LogFilesClient + func NewLogFilesClientWithBaseURI(baseURI string, subscriptionID string) LogFilesClient + func (client LogFilesClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result LogFileListResult, err error) + func (client LogFilesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error) + func (client LogFilesClient) ListByServerResponder(resp *http.Response) (result LogFileListResult, err error) + func (client LogFilesClient) ListByServerSender(req *http.Request) (*http.Response, error) + type NameAvailability struct + Message *string + NameAvailable *bool + Reason *string + type NameAvailabilityRequest struct + Name *string + Type *string + type Operation struct + Display *OperationDisplay + Name *string + Origin OperationOrigin + Properties map[string]interface{} + func (o Operation) MarshalJSON() ([]byte, error) + type OperationDisplay struct + Description *string + Operation *string + Provider *string + Resource *string + type OperationListResult struct + Value *[]Operation + type OperationOrigin string + const NotSpecified + const System + const User + func PossibleOperationOriginValues() []OperationOrigin + type OperationsClient struct + func NewOperationsClient(subscriptionID string) OperationsClient + func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient + func (client OperationsClient) List(ctx context.Context) (result OperationListResult, err error) + func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error) + func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error) + func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) + type PerformanceTierListResult struct + Value *[]PerformanceTierProperties + type PerformanceTierProperties struct + BackupRetentionDays *int32 + ID *string + ServiceLevelObjectives *[]PerformanceTierServiceLevelObjectives + type PerformanceTierServiceLevelObjectives struct + Dtu *int32 + Edition *string + ID *string + StorageMB *int32 + type PerformanceTiersClient struct + func NewPerformanceTiersClient(subscriptionID string) PerformanceTiersClient + func NewPerformanceTiersClientWithBaseURI(baseURI string, subscriptionID string) PerformanceTiersClient + func (client PerformanceTiersClient) List(ctx context.Context) (result PerformanceTierListResult, err error) + func (client PerformanceTiersClient) ListPreparer(ctx context.Context) (*http.Request, error) + func (client PerformanceTiersClient) ListResponder(resp *http.Response) (result PerformanceTierListResult, err error) + func (client PerformanceTiersClient) ListSender(req *http.Request) (*http.Response, error) + type ProxyResource struct + ID *string + Name *string + Type *string + type Server struct + ID *string + Location *string + Name *string + Sku *Sku + Tags map[string]*string + Type *string + func (s *Server) UnmarshalJSON(body []byte) error + func (s Server) MarshalJSON() ([]byte, error) + type ServerForCreate struct + Location *string + Properties BasicServerPropertiesForCreate + Sku *Sku + Tags map[string]*string + func (sfc *ServerForCreate) UnmarshalJSON(body []byte) error + func (sfc ServerForCreate) MarshalJSON() ([]byte, error) + type ServerListResult struct + Value *[]Server + type ServerProperties struct + AdministratorLogin *string + FullyQualifiedDomainName *string + SslEnforcement SslEnforcementEnum + StorageMB *int64 + UserVisibleState ServerState + Version ServerVersion + type ServerPropertiesForCreate struct + CreateMode CreateMode + SslEnforcement SslEnforcementEnum + StorageMB *int64 + Version ServerVersion + func (spfc ServerPropertiesForCreate) AsBasicServerPropertiesForCreate() (BasicServerPropertiesForCreate, bool) + func (spfc ServerPropertiesForCreate) AsServerPropertiesForCreate() (*ServerPropertiesForCreate, bool) + func (spfc ServerPropertiesForCreate) AsServerPropertiesForDefaultCreate() (*ServerPropertiesForDefaultCreate, bool) + func (spfc ServerPropertiesForCreate) AsServerPropertiesForRestore() (*ServerPropertiesForRestore, bool) + func (spfc ServerPropertiesForCreate) MarshalJSON() ([]byte, error) + type ServerPropertiesForDefaultCreate struct + AdministratorLogin *string + AdministratorLoginPassword *string + CreateMode CreateMode + SslEnforcement SslEnforcementEnum + StorageMB *int64 + Version ServerVersion + func (spfdc ServerPropertiesForDefaultCreate) AsBasicServerPropertiesForCreate() (BasicServerPropertiesForCreate, bool) + func (spfdc ServerPropertiesForDefaultCreate) AsServerPropertiesForCreate() (*ServerPropertiesForCreate, bool) + func (spfdc ServerPropertiesForDefaultCreate) AsServerPropertiesForDefaultCreate() (*ServerPropertiesForDefaultCreate, bool) + func (spfdc ServerPropertiesForDefaultCreate) AsServerPropertiesForRestore() (*ServerPropertiesForRestore, bool) + func (spfdc ServerPropertiesForDefaultCreate) MarshalJSON() ([]byte, error) + type ServerPropertiesForRestore struct + CreateMode CreateMode + RestorePointInTime *date.Time + SourceServerID *string + SslEnforcement SslEnforcementEnum + StorageMB *int64 + Version ServerVersion + func (spfr ServerPropertiesForRestore) AsBasicServerPropertiesForCreate() (BasicServerPropertiesForCreate, bool) + func (spfr ServerPropertiesForRestore) AsServerPropertiesForCreate() (*ServerPropertiesForCreate, bool) + func (spfr ServerPropertiesForRestore) AsServerPropertiesForDefaultCreate() (*ServerPropertiesForDefaultCreate, bool) + func (spfr ServerPropertiesForRestore) AsServerPropertiesForRestore() (*ServerPropertiesForRestore, bool) + func (spfr ServerPropertiesForRestore) MarshalJSON() ([]byte, error) + type ServerState string + const Disabled + const Dropping + const Ready + func PossibleServerStateValues() []ServerState + type ServerUpdateParameters struct + Sku *Sku + Tags map[string]*string + func (sup *ServerUpdateParameters) UnmarshalJSON(body []byte) error + func (sup ServerUpdateParameters) MarshalJSON() ([]byte, error) + type ServerUpdateParametersProperties struct + AdministratorLoginPassword *string + SslEnforcement SslEnforcementEnum + StorageMB *int64 + Version ServerVersion + type ServerVersion string + const FiveFullStopSeven + const FiveFullStopSix + func PossibleServerVersionValues() []ServerVersion + type ServersClient struct + func NewServersClient(subscriptionID string) ServersClient + func NewServersClientWithBaseURI(baseURI string, subscriptionID string) ServersClient + func (client ServersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result ServersCreateOrUpdateFuture, err error) + func (client ServersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error) + func (client ServersClient) CreateOrUpdateResponder(resp *http.Response) (result Server, err error) + func (client ServersClient) CreateOrUpdateSender(req *http.Request) (future ServersCreateOrUpdateFuture, err error) + func (client ServersClient) Delete(ctx context.Context, resourceGroupName string, serverName string) (result ServersDeleteFuture, err error) + func (client ServersClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error) + func (client ServersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) + func (client ServersClient) DeleteSender(req *http.Request) (future ServersDeleteFuture, err error) + func (client ServersClient) Get(ctx context.Context, resourceGroupName string, serverName string) (result Server, err error) + func (client ServersClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error) + func (client ServersClient) GetResponder(resp *http.Response) (result Server, err error) + func (client ServersClient) GetSender(req *http.Request) (*http.Response, error) + func (client ServersClient) List(ctx context.Context) (result ServerListResult, err error) + func (client ServersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ServerListResult, err error) + func (client ServersClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error) + func (client ServersClient) ListByResourceGroupResponder(resp *http.Response) (result ServerListResult, err error) + func (client ServersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) + func (client ServersClient) ListPreparer(ctx context.Context) (*http.Request, error) + func (client ServersClient) ListResponder(resp *http.Response) (result ServerListResult, err error) + func (client ServersClient) ListSender(req *http.Request) (*http.Response, error) + func (client ServersClient) Update(ctx context.Context, resourceGroupName string, serverName string, ...) (result ServersUpdateFuture, err error) + func (client ServersClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error) + func (client ServersClient) UpdateResponder(resp *http.Response) (result Server, err error) + func (client ServersClient) UpdateSender(req *http.Request) (future ServersUpdateFuture, err error) + type ServersCreateOrUpdateFuture struct + func (future ServersCreateOrUpdateFuture) Result(client ServersClient) (s Server, err error) + type ServersDeleteFuture struct + func (future ServersDeleteFuture) Result(client ServersClient) (ar autorest.Response, err error) + type ServersUpdateFuture struct + func (future ServersUpdateFuture) Result(client ServersClient) (s Server, err error) + type Sku struct + Capacity *int32 + Family *string + Name *string + Size *string + Tier SkuTier + type SkuTier string + const Basic + const Standard + func PossibleSkuTierValues() []SkuTier + type SslEnforcementEnum string + const SslEnforcementEnumDisabled + const SslEnforcementEnumEnabled + func PossibleSslEnforcementEnumValues() []SslEnforcementEnum + type TrackedResource struct + ID *string + Location *string + Name *string + Tags map[string]*string + Type *string + func (tr TrackedResource) MarshalJSON() ([]byte, error) Other modules containing this package gopkg.in/Azure/azure-sdk-for-go.v15 gopkg.in/Azure/azure-sdk-for-go.v16 gopkg.in/Azure/azure-sdk-for-go.v17 gopkg.in/Azure/azure-sdk-for-go.v18 gopkg.in/Azure/azure-sdk-for-go.v19 gopkg.in/Azure/azure-sdk-for-go.v21