Versions in this module Expand all Collapse all v1 v1.0.1 Aug 22, 2022 Changes in this version + const DefaultBaseURI + func UserAgent() string + func Version() string + type AzureEntityResource struct + Etag *string + ID *string + Name *string + Type *string + func (aer AzureEntityResource) MarshalJSON() ([]byte, error) + 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) + AsServerPropertiesForGeoRestore func() (*ServerPropertiesForGeoRestore, bool) + AsServerPropertiesForReplica func() (*ServerPropertiesForReplica, 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 CloudError struct + Error *CloudErrorBody + type CloudErrorBody struct + Code *string + Details *[]CloudErrorBody + Message *string + Target *string + 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 + func (cp ConfigurationProperties) MarshalJSON() ([]byte, error) + 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 + Result func(ConfigurationsClient) (Configuration, error) + func (future *ConfigurationsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error + type CreateMode string + const CreateModeDefault + const CreateModeGeoRestore + const CreateModePointInTimeRestore + const CreateModeReplica + 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 + Result func(DatabasesClient) (Database, error) + func (future *DatabasesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error + type DatabasesDeleteFuture struct + Result func(DatabasesClient) (autorest.Response, error) + func (future *DatabasesDeleteFuture) UnmarshalJSON(body []byte) 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 + Result func(FirewallRulesClient) (FirewallRule, error) + func (future *FirewallRulesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error + type FirewallRulesDeleteFuture struct + Result func(FirewallRulesClient) (autorest.Response, error) + func (future *FirewallRulesDeleteFuture) UnmarshalJSON(body []byte) error + type GeoRedundantBackup string + const Disabled + const Enabled + func PossibleGeoRedundantBackupValues() []GeoRedundantBackup + type IdentityType string + const SystemAssigned + func PossibleIdentityTypeValues() []IdentityType + type InfrastructureEncryption string + const InfrastructureEncryptionDisabled + const InfrastructureEncryptionEnabled + func PossibleInfrastructureEncryptionValues() []InfrastructureEncryption + 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 + SizeInKB *int64 + Type *string + URL *string + func (lfp LogFileProperties) MarshalJSON() ([]byte, error) + 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 MinimalTLSVersionEnum string + const TLS10 + const TLS11 + const TLS12 + const TLSEnforcementDisabled + func PossibleMinimalTLSVersionEnumValues() []MinimalTLSVersionEnum + 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 + func (od OperationDisplay) MarshalJSON() ([]byte, error) + 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 + ID *string + ServiceLevelObjectives *[]PerformanceTierServiceLevelObjectives + type PerformanceTierServiceLevelObjectives struct + Edition *string + HardwareGeneration *string + ID *string + MaxBackupRetentionDays *int32 + MaxStorageMB *int32 + MinBackupRetentionDays *int32 + MinStorageMB *int32 + VCore *int32 + type PrivateEndpointConnectionProperties struct + PrivateEndpoint *PrivateEndpointProperty + PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionStateProperty + ProvisioningState PrivateEndpointProvisioningState + func (pecp PrivateEndpointConnectionProperties) MarshalJSON() ([]byte, error) + type PrivateEndpointProperty struct + ID *string + type PrivateEndpointProvisioningState string + const Approving + const Dropping + const Failed + const Ready + const Rejecting + func PossiblePrivateEndpointProvisioningStateValues() []PrivateEndpointProvisioningState + type PrivateLinkServiceConnectionStateActionsRequire string + const None + func PossiblePrivateLinkServiceConnectionStateActionsRequireValues() []PrivateLinkServiceConnectionStateActionsRequire + type PrivateLinkServiceConnectionStateProperty struct + ActionsRequired PrivateLinkServiceConnectionStateActionsRequire + Description *string + Status PrivateLinkServiceConnectionStateStatus + func (plscsp PrivateLinkServiceConnectionStateProperty) MarshalJSON() ([]byte, error) + type PrivateLinkServiceConnectionStateStatus string + const Approved + const Disconnected + const Pending + const Rejected + func PossiblePrivateLinkServiceConnectionStateStatusValues() []PrivateLinkServiceConnectionStateStatus + type ProxyResource struct + ID *string + Name *string + Type *string + func (pr ProxyResource) MarshalJSON() ([]byte, error) + type PublicNetworkAccessEnum string + const PublicNetworkAccessEnumDisabled + const PublicNetworkAccessEnumEnabled + func PossiblePublicNetworkAccessEnumValues() []PublicNetworkAccessEnum + type ReplicasClient struct + func NewReplicasClient(subscriptionID string) ReplicasClient + func NewReplicasClientWithBaseURI(baseURI string, subscriptionID string) ReplicasClient + func (client ReplicasClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result ServerListResult, err error) + func (client ReplicasClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error) + func (client ReplicasClient) ListByServerResponder(resp *http.Response) (result ServerListResult, err error) + func (client ReplicasClient) ListByServerSender(req *http.Request) (*http.Response, error) + type Resource struct + ID *string + Name *string + Type *string + func (r Resource) MarshalJSON() ([]byte, error) + type ResourceIdentity struct + PrincipalID *uuid.UUID + TenantID *uuid.UUID + Type IdentityType + func (ri ResourceIdentity) MarshalJSON() ([]byte, error) + type SecurityAlertPolicyProperties struct + DisabledAlerts *[]string + EmailAccountAdmins *bool + EmailAddresses *[]string + RetentionDays *int32 + State ServerSecurityAlertPolicyState + StorageAccountAccessKey *string + StorageEndpoint *string + type Server struct + ID *string + Identity *ResourceIdentity + 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 ServerAdministratorProperties struct + AdministratorType *string + Login *string + Sid *uuid.UUID + TenantID *uuid.UUID + type ServerAdministratorResource struct + ID *string + Name *string + Type *string + func (sar *ServerAdministratorResource) UnmarshalJSON(body []byte) error + func (sar ServerAdministratorResource) MarshalJSON() ([]byte, error) + type ServerAdministratorResourceListResult struct + Value *[]ServerAdministratorResource + type ServerAdministratorsClient struct + func NewServerAdministratorsClient(subscriptionID string) ServerAdministratorsClient + func NewServerAdministratorsClientWithBaseURI(baseURI string, subscriptionID string) ServerAdministratorsClient + func (client ServerAdministratorsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result ServerAdministratorsCreateOrUpdateFuture, err error) + func (client ServerAdministratorsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error) + func (client ServerAdministratorsClient) CreateOrUpdateResponder(resp *http.Response) (result ServerAdministratorResource, err error) + func (client ServerAdministratorsClient) CreateOrUpdateSender(req *http.Request) (future ServerAdministratorsCreateOrUpdateFuture, err error) + func (client ServerAdministratorsClient) Delete(ctx context.Context, resourceGroupName string, serverName string) (result ServerAdministratorsDeleteFuture, err error) + func (client ServerAdministratorsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error) + func (client ServerAdministratorsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) + func (client ServerAdministratorsClient) DeleteSender(req *http.Request) (future ServerAdministratorsDeleteFuture, err error) + func (client ServerAdministratorsClient) Get(ctx context.Context, resourceGroupName string, serverName string) (result ServerAdministratorResource, err error) + func (client ServerAdministratorsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error) + func (client ServerAdministratorsClient) GetResponder(resp *http.Response) (result ServerAdministratorResource, err error) + func (client ServerAdministratorsClient) GetSender(req *http.Request) (*http.Response, error) + func (client ServerAdministratorsClient) List(ctx context.Context, resourceGroupName string, serverName string) (result ServerAdministratorResourceListResult, err error) + func (client ServerAdministratorsClient) ListPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error) + func (client ServerAdministratorsClient) ListResponder(resp *http.Response) (result ServerAdministratorResourceListResult, err error) + func (client ServerAdministratorsClient) ListSender(req *http.Request) (*http.Response, error) + type ServerAdministratorsCreateOrUpdateFuture struct + Result func(ServerAdministratorsClient) (ServerAdministratorResource, error) + func (future *ServerAdministratorsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error + type ServerAdministratorsDeleteFuture struct + Result func(ServerAdministratorsClient) (autorest.Response, error) + func (future *ServerAdministratorsDeleteFuture) UnmarshalJSON(body []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 ServerPrivateEndpointConnection struct + ID *string + Properties *PrivateEndpointConnectionProperties + func (spec ServerPrivateEndpointConnection) MarshalJSON() ([]byte, error) + type ServerProperties struct + AdministratorLogin *string + ByokEnforcement *string + EarliestRestoreDate *date.Time + FullyQualifiedDomainName *string + InfrastructureEncryption InfrastructureEncryption + MasterServerID *string + MinimalTLSVersion MinimalTLSVersionEnum + PrivateEndpointConnections *[]ServerPrivateEndpointConnection + PublicNetworkAccess PublicNetworkAccessEnum + ReplicaCapacity *int32 + ReplicationRole *string + SslEnforcement SslEnforcementEnum + StorageProfile *StorageProfile + UserVisibleState ServerState + Version ServerVersion + func (sp ServerProperties) MarshalJSON() ([]byte, error) + type ServerPropertiesForCreate struct + CreateMode CreateMode + MinimalTLSVersion MinimalTLSVersionEnum + SslEnforcement SslEnforcementEnum + StorageProfile *StorageProfile + Version ServerVersion + func (spfc ServerPropertiesForCreate) AsBasicServerPropertiesForCreate() (BasicServerPropertiesForCreate, bool) + func (spfc ServerPropertiesForCreate) AsServerPropertiesForCreate() (*ServerPropertiesForCreate, bool) + func (spfc ServerPropertiesForCreate) AsServerPropertiesForDefaultCreate() (*ServerPropertiesForDefaultCreate, bool) + func (spfc ServerPropertiesForCreate) AsServerPropertiesForGeoRestore() (*ServerPropertiesForGeoRestore, bool) + func (spfc ServerPropertiesForCreate) AsServerPropertiesForReplica() (*ServerPropertiesForReplica, bool) + func (spfc ServerPropertiesForCreate) AsServerPropertiesForRestore() (*ServerPropertiesForRestore, bool) + func (spfc ServerPropertiesForCreate) MarshalJSON() ([]byte, error) + type ServerPropertiesForDefaultCreate struct + AdministratorLogin *string + AdministratorLoginPassword *string + CreateMode CreateMode + MinimalTLSVersion MinimalTLSVersionEnum + SslEnforcement SslEnforcementEnum + StorageProfile *StorageProfile + Version ServerVersion + func (spfdc ServerPropertiesForDefaultCreate) AsBasicServerPropertiesForCreate() (BasicServerPropertiesForCreate, bool) + func (spfdc ServerPropertiesForDefaultCreate) AsServerPropertiesForCreate() (*ServerPropertiesForCreate, bool) + func (spfdc ServerPropertiesForDefaultCreate) AsServerPropertiesForDefaultCreate() (*ServerPropertiesForDefaultCreate, bool) + func (spfdc ServerPropertiesForDefaultCreate) AsServerPropertiesForGeoRestore() (*ServerPropertiesForGeoRestore, bool) + func (spfdc ServerPropertiesForDefaultCreate) AsServerPropertiesForReplica() (*ServerPropertiesForReplica, bool) + func (spfdc ServerPropertiesForDefaultCreate) AsServerPropertiesForRestore() (*ServerPropertiesForRestore, bool) + func (spfdc ServerPropertiesForDefaultCreate) MarshalJSON() ([]byte, error) + type ServerPropertiesForGeoRestore struct + CreateMode CreateMode + MinimalTLSVersion MinimalTLSVersionEnum + SourceServerID *string + SslEnforcement SslEnforcementEnum + StorageProfile *StorageProfile + Version ServerVersion + func (spfgr ServerPropertiesForGeoRestore) AsBasicServerPropertiesForCreate() (BasicServerPropertiesForCreate, bool) + func (spfgr ServerPropertiesForGeoRestore) AsServerPropertiesForCreate() (*ServerPropertiesForCreate, bool) + func (spfgr ServerPropertiesForGeoRestore) AsServerPropertiesForDefaultCreate() (*ServerPropertiesForDefaultCreate, bool) + func (spfgr ServerPropertiesForGeoRestore) AsServerPropertiesForGeoRestore() (*ServerPropertiesForGeoRestore, bool) + func (spfgr ServerPropertiesForGeoRestore) AsServerPropertiesForReplica() (*ServerPropertiesForReplica, bool) + func (spfgr ServerPropertiesForGeoRestore) AsServerPropertiesForRestore() (*ServerPropertiesForRestore, bool) + func (spfgr ServerPropertiesForGeoRestore) MarshalJSON() ([]byte, error) + type ServerPropertiesForReplica struct + CreateMode CreateMode + MinimalTLSVersion MinimalTLSVersionEnum + SourceServerID *string + SslEnforcement SslEnforcementEnum + StorageProfile *StorageProfile + Version ServerVersion + func (spfr ServerPropertiesForReplica) AsBasicServerPropertiesForCreate() (BasicServerPropertiesForCreate, bool) + func (spfr ServerPropertiesForReplica) AsServerPropertiesForCreate() (*ServerPropertiesForCreate, bool) + func (spfr ServerPropertiesForReplica) AsServerPropertiesForDefaultCreate() (*ServerPropertiesForDefaultCreate, bool) + func (spfr ServerPropertiesForReplica) AsServerPropertiesForGeoRestore() (*ServerPropertiesForGeoRestore, bool) + func (spfr ServerPropertiesForReplica) AsServerPropertiesForReplica() (*ServerPropertiesForReplica, bool) + func (spfr ServerPropertiesForReplica) AsServerPropertiesForRestore() (*ServerPropertiesForRestore, bool) + func (spfr ServerPropertiesForReplica) MarshalJSON() ([]byte, error) + type ServerPropertiesForRestore struct + CreateMode CreateMode + MinimalTLSVersion MinimalTLSVersionEnum + RestorePointInTime *date.Time + SourceServerID *string + SslEnforcement SslEnforcementEnum + StorageProfile *StorageProfile + Version ServerVersion + func (spfr ServerPropertiesForRestore) AsBasicServerPropertiesForCreate() (BasicServerPropertiesForCreate, bool) + func (spfr ServerPropertiesForRestore) AsServerPropertiesForCreate() (*ServerPropertiesForCreate, bool) + func (spfr ServerPropertiesForRestore) AsServerPropertiesForDefaultCreate() (*ServerPropertiesForDefaultCreate, bool) + func (spfr ServerPropertiesForRestore) AsServerPropertiesForGeoRestore() (*ServerPropertiesForGeoRestore, bool) + func (spfr ServerPropertiesForRestore) AsServerPropertiesForReplica() (*ServerPropertiesForReplica, bool) + func (spfr ServerPropertiesForRestore) AsServerPropertiesForRestore() (*ServerPropertiesForRestore, bool) + func (spfr ServerPropertiesForRestore) MarshalJSON() ([]byte, error) + type ServerSecurityAlertPoliciesClient struct + func NewServerSecurityAlertPoliciesClient(subscriptionID string) ServerSecurityAlertPoliciesClient + func NewServerSecurityAlertPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ServerSecurityAlertPoliciesClient + func (client ServerSecurityAlertPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result ServerSecurityAlertPoliciesCreateOrUpdateFuture, err error) + func (client ServerSecurityAlertPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error) + func (client ServerSecurityAlertPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result ServerSecurityAlertPolicy, err error) + func (client ServerSecurityAlertPoliciesClient) CreateOrUpdateSender(req *http.Request) (future ServerSecurityAlertPoliciesCreateOrUpdateFuture, err error) + func (client ServerSecurityAlertPoliciesClient) Get(ctx context.Context, resourceGroupName string, serverName string) (result ServerSecurityAlertPolicy, err error) + func (client ServerSecurityAlertPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error) + func (client ServerSecurityAlertPoliciesClient) GetResponder(resp *http.Response) (result ServerSecurityAlertPolicy, err error) + func (client ServerSecurityAlertPoliciesClient) GetSender(req *http.Request) (*http.Response, error) + type ServerSecurityAlertPoliciesCreateOrUpdateFuture struct + Result func(ServerSecurityAlertPoliciesClient) (ServerSecurityAlertPolicy, error) + func (future *ServerSecurityAlertPoliciesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error + type ServerSecurityAlertPolicy struct + ID *string + Name *string + Type *string + func (ssap *ServerSecurityAlertPolicy) UnmarshalJSON(body []byte) error + func (ssap ServerSecurityAlertPolicy) MarshalJSON() ([]byte, error) + type ServerSecurityAlertPolicyState string + const ServerSecurityAlertPolicyStateDisabled + const ServerSecurityAlertPolicyStateEnabled + func PossibleServerSecurityAlertPolicyStateValues() []ServerSecurityAlertPolicyState + type ServerState string + const ServerStateDisabled + const ServerStateDropping + const ServerStateInaccessible + const ServerStateReady + 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 + MinimalTLSVersion MinimalTLSVersionEnum + ReplicationRole *string + SslEnforcement SslEnforcementEnum + StorageProfile *StorageProfile + Version ServerVersion + type ServerVersion string + const NineFullStopFive + const NineFullStopSix + const OneOne + const OneZero + const OneZeroFullStopTwo + const OneZeroFullStopZero + func PossibleServerVersionValues() []ServerVersion + type ServersClient struct + func NewServersClient(subscriptionID string) ServersClient + func NewServersClientWithBaseURI(baseURI string, subscriptionID string) ServersClient + func (client ServersClient) Create(ctx context.Context, resourceGroupName string, serverName string, ...) (result ServersCreateFuture, err error) + func (client ServersClient) CreatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error) + func (client ServersClient) CreateResponder(resp *http.Response) (result Server, err error) + func (client ServersClient) CreateSender(req *http.Request) (future ServersCreateFuture, 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) Restart(ctx context.Context, resourceGroupName string, serverName string) (result ServersRestartFuture, err error) + func (client ServersClient) RestartPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error) + func (client ServersClient) RestartResponder(resp *http.Response) (result autorest.Response, err error) + func (client ServersClient) RestartSender(req *http.Request) (future ServersRestartFuture, err 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 ServersCreateFuture struct + Result func(ServersClient) (Server, error) + func (future *ServersCreateFuture) UnmarshalJSON(body []byte) error + type ServersDeleteFuture struct + Result func(ServersClient) (autorest.Response, error) + func (future *ServersDeleteFuture) UnmarshalJSON(body []byte) error + type ServersRestartFuture struct + Result func(ServersClient) (autorest.Response, error) + func (future *ServersRestartFuture) UnmarshalJSON(body []byte) error + type ServersUpdateFuture struct + Result func(ServersClient) (Server, error) + func (future *ServersUpdateFuture) UnmarshalJSON(body []byte) error + type Sku struct + Capacity *int32 + Family *string + Name *string + Size *string + Tier SkuTier + type SkuTier string + const Basic + const GeneralPurpose + const MemoryOptimized + func PossibleSkuTierValues() []SkuTier + type SslEnforcementEnum string + const SslEnforcementEnumDisabled + const SslEnforcementEnumEnabled + func PossibleSslEnforcementEnumValues() []SslEnforcementEnum + type StorageAutogrow string + const StorageAutogrowDisabled + const StorageAutogrowEnabled + func PossibleStorageAutogrowValues() []StorageAutogrow + type StorageProfile struct + BackupRetentionDays *int32 + GeoRedundantBackup GeoRedundantBackup + StorageAutogrow StorageAutogrow + StorageMB *int32 + type TrackedResource struct + ID *string + Location *string + Name *string + Tags map[string]*string + Type *string + func (tr TrackedResource) MarshalJSON() ([]byte, error) + type VirtualNetworkRule struct + ID *string + Name *string + Type *string + func (vnr *VirtualNetworkRule) UnmarshalJSON(body []byte) error + func (vnr VirtualNetworkRule) MarshalJSON() ([]byte, error) + type VirtualNetworkRuleListResult struct + NextLink *string + Value *[]VirtualNetworkRule + func (vnrlr VirtualNetworkRuleListResult) IsEmpty() bool + func (vnrlr VirtualNetworkRuleListResult) MarshalJSON() ([]byte, error) + type VirtualNetworkRuleListResultIterator struct + func NewVirtualNetworkRuleListResultIterator(page VirtualNetworkRuleListResultPage) VirtualNetworkRuleListResultIterator + func (iter *VirtualNetworkRuleListResultIterator) Next() error + func (iter *VirtualNetworkRuleListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter VirtualNetworkRuleListResultIterator) NotDone() bool + func (iter VirtualNetworkRuleListResultIterator) Response() VirtualNetworkRuleListResult + func (iter VirtualNetworkRuleListResultIterator) Value() VirtualNetworkRule + type VirtualNetworkRuleListResultPage struct + func NewVirtualNetworkRuleListResultPage(cur VirtualNetworkRuleListResult, ...) VirtualNetworkRuleListResultPage + func (page *VirtualNetworkRuleListResultPage) Next() error + func (page *VirtualNetworkRuleListResultPage) NextWithContext(ctx context.Context) (err error) + func (page VirtualNetworkRuleListResultPage) NotDone() bool + func (page VirtualNetworkRuleListResultPage) Response() VirtualNetworkRuleListResult + func (page VirtualNetworkRuleListResultPage) Values() []VirtualNetworkRule + type VirtualNetworkRuleProperties struct + IgnoreMissingVnetServiceEndpoint *bool + State VirtualNetworkRuleState + VirtualNetworkSubnetID *string + func (vnrp VirtualNetworkRuleProperties) MarshalJSON() ([]byte, error) + type VirtualNetworkRuleState string + const VirtualNetworkRuleStateDeleting + const VirtualNetworkRuleStateInProgress + const VirtualNetworkRuleStateInitializing + const VirtualNetworkRuleStateReady + const VirtualNetworkRuleStateUnknown + func PossibleVirtualNetworkRuleStateValues() []VirtualNetworkRuleState + type VirtualNetworkRulesClient struct + func NewVirtualNetworkRulesClient(subscriptionID string) VirtualNetworkRulesClient + func NewVirtualNetworkRulesClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkRulesClient + func (client VirtualNetworkRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result VirtualNetworkRulesCreateOrUpdateFuture, err error) + func (client VirtualNetworkRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error) + func (client VirtualNetworkRulesClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualNetworkRule, err error) + func (client VirtualNetworkRulesClient) CreateOrUpdateSender(req *http.Request) (future VirtualNetworkRulesCreateOrUpdateFuture, err error) + func (client VirtualNetworkRulesClient) Delete(ctx context.Context, resourceGroupName string, serverName string, ...) (result VirtualNetworkRulesDeleteFuture, err error) + func (client VirtualNetworkRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error) + func (client VirtualNetworkRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) + func (client VirtualNetworkRulesClient) DeleteSender(req *http.Request) (future VirtualNetworkRulesDeleteFuture, err error) + func (client VirtualNetworkRulesClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result VirtualNetworkRule, err error) + func (client VirtualNetworkRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, ...) (*http.Request, error) + func (client VirtualNetworkRulesClient) GetResponder(resp *http.Response) (result VirtualNetworkRule, err error) + func (client VirtualNetworkRulesClient) GetSender(req *http.Request) (*http.Response, error) + func (client VirtualNetworkRulesClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result VirtualNetworkRuleListResultPage, err error) + func (client VirtualNetworkRulesClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result VirtualNetworkRuleListResultIterator, err error) + func (client VirtualNetworkRulesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error) + func (client VirtualNetworkRulesClient) ListByServerResponder(resp *http.Response) (result VirtualNetworkRuleListResult, err error) + func (client VirtualNetworkRulesClient) ListByServerSender(req *http.Request) (*http.Response, error) + type VirtualNetworkRulesCreateOrUpdateFuture struct + Result func(VirtualNetworkRulesClient) (VirtualNetworkRule, error) + func (future *VirtualNetworkRulesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error + type VirtualNetworkRulesDeleteFuture struct + Result func(VirtualNetworkRulesClient) (autorest.Response, error) + func (future *VirtualNetworkRulesDeleteFuture) UnmarshalJSON(body []byte) error