Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForCreateMode() []string + func PossibleValuesForCreateModeForUpdate() []string + func PossibleValuesForGeoRedundantBackupEnum() []string + func PossibleValuesForHighAvailabilityMode() []string + func PossibleValuesForServerHAState() []string + func PossibleValuesForServerPublicNetworkAccessState() []string + func PossibleValuesForServerState() []string + func PossibleValuesForServerVersion() []string + func PossibleValuesForSkuTier() []string + func ValidateFlexibleServerID(input interface{}, key string) (warnings []string, errors []error) + type Backup struct + BackupRetentionDays *int64 + EarliestRestoreDate *string + GeoRedundantBackup *GeoRedundantBackupEnum + func (o *Backup) GetEarliestRestoreDateAsTime() (*time.Time, error) + func (o *Backup) SetEarliestRestoreDateAsTime(input time.Time) + type CreateMode string + const CreateModeCreate + const CreateModeDefault + const CreateModePointInTimeRestore + const CreateModeUpdate + func (s *CreateMode) UnmarshalJSON(bytes []byte) error + type CreateModeForUpdate string + const CreateModeForUpdateDefault + const CreateModeForUpdateUpdate + func (s *CreateModeForUpdate) UnmarshalJSON(bytes []byte) error + type CreateOperationResponse struct + HttpResponse *http.Response + Model *Server + OData *odata.OData + Poller pollers.Poller + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type FlexibleServerId struct + FlexibleServerName string + ResourceGroupName string + SubscriptionId string + func NewFlexibleServerID(subscriptionId string, resourceGroupName string, flexibleServerName string) FlexibleServerId + func ParseFlexibleServerID(input string) (*FlexibleServerId, error) + func ParseFlexibleServerIDInsensitively(input string) (*FlexibleServerId, error) + func (id *FlexibleServerId) FromParseResult(input resourceids.ParseResult) error + func (id FlexibleServerId) ID() string + func (id FlexibleServerId) Segments() []resourceids.Segment + func (id FlexibleServerId) String() string + type GeoRedundantBackupEnum string + const GeoRedundantBackupEnumDisabled + const GeoRedundantBackupEnumEnabled + func (s *GeoRedundantBackupEnum) UnmarshalJSON(bytes []byte) error + type GetOperationResponse struct + HttpResponse *http.Response + Model *Server + OData *odata.OData + type HighAvailability struct + Mode *HighAvailabilityMode + StandbyAvailabilityZone *string + State *ServerHAState + type HighAvailabilityMode string + const HighAvailabilityModeDisabled + const HighAvailabilityModeZoneRedundant + func (s *HighAvailabilityMode) UnmarshalJSON(bytes []byte) error + type ListByResourceGroupCompleteResult struct + Items []Server + LatestHttpResponse *http.Response + type ListByResourceGroupCustomPager struct + NextLink *odata.Link + func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link + type ListByResourceGroupOperationResponse struct + HttpResponse *http.Response + Model *[]Server + OData *odata.OData + type ListCompleteResult struct + Items []Server + LatestHttpResponse *http.Response + type ListCustomPager struct + NextLink *odata.Link + func (p *ListCustomPager) NextPageLink() *odata.Link + type ListOperationResponse struct + HttpResponse *http.Response + Model *[]Server + OData *odata.OData + type MaintenanceWindow struct + CustomWindow *string + DayOfWeek *int64 + StartHour *int64 + StartMinute *int64 + type Network struct + DelegatedSubnetResourceId *string + PrivateDnsZoneArmResourceId *string + PublicNetworkAccess *ServerPublicNetworkAccessState + type Server struct + Id *string + Location string + Name *string + Properties *ServerProperties + Sku *Sku + SystemData *systemdata.SystemData + Tags *map[string]string + Type *string + type ServerForUpdate struct + Location *string + Properties *ServerPropertiesForUpdate + Sku *Sku + Tags *map[string]string + type ServerHAState string + const ServerHAStateCreatingStandby + const ServerHAStateFailingOver + const ServerHAStateHealthy + const ServerHAStateNotEnabled + const ServerHAStateRemovingStandby + const ServerHAStateReplicatingData + func (s *ServerHAState) UnmarshalJSON(bytes []byte) error + type ServerOperationPredicate struct + Id *string + Location *string + Name *string + Type *string + func (p ServerOperationPredicate) Matches(input Server) bool + type ServerProperties struct + AdministratorLogin *string + AdministratorLoginPassword *string + AvailabilityZone *string + Backup *Backup + CreateMode *CreateMode + FullyQualifiedDomainName *string + HighAvailability *HighAvailability + MaintenanceWindow *MaintenanceWindow + MinorVersion *string + Network *Network + PointInTimeUTC *string + SourceServerResourceId *string + State *ServerState + Storage *Storage + Version *ServerVersion + func (o *ServerProperties) GetPointInTimeUTCAsTime() (*time.Time, error) + func (o *ServerProperties) SetPointInTimeUTCAsTime(input time.Time) + type ServerPropertiesForUpdate struct + AdministratorLoginPassword *string + Backup *Backup + CreateMode *CreateModeForUpdate + HighAvailability *HighAvailability + MaintenanceWindow *MaintenanceWindow + Storage *Storage + type ServerPublicNetworkAccessState string + const ServerPublicNetworkAccessStateDisabled + const ServerPublicNetworkAccessStateEnabled + func (s *ServerPublicNetworkAccessState) UnmarshalJSON(bytes []byte) error + type ServerState string + const ServerStateDisabled + const ServerStateDropping + const ServerStateReady + const ServerStateStarting + const ServerStateStopped + const ServerStateStopping + const ServerStateUpdating + func (s *ServerState) UnmarshalJSON(bytes []byte) error + type ServerVersion string + const ServerVersionOneFour + const ServerVersionOneOne + const ServerVersionOneThree + const ServerVersionOneTwo + func (s *ServerVersion) UnmarshalJSON(bytes []byte) error + type ServersClient struct + Client *resourcemanager.Client + func NewServersClientWithBaseURI(sdkApi sdkEnv.Api) (*ServersClient, error) + func (c ServersClient) Create(ctx context.Context, id FlexibleServerId, input Server) (result CreateOperationResponse, err error) + func (c ServersClient) CreateThenPoll(ctx context.Context, id FlexibleServerId, input Server) error + func (c ServersClient) Delete(ctx context.Context, id FlexibleServerId) (result DeleteOperationResponse, err error) + func (c ServersClient) DeleteThenPoll(ctx context.Context, id FlexibleServerId) error + func (c ServersClient) Get(ctx context.Context, id FlexibleServerId) (result GetOperationResponse, err error) + func (c ServersClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error) + func (c ServersClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error) + func (c ServersClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error) + func (c ServersClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error) + func (c ServersClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error) + func (c ServersClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListCompleteResult, err error) + func (c ServersClient) Update(ctx context.Context, id FlexibleServerId, input ServerForUpdate) (result UpdateOperationResponse, err error) + func (c ServersClient) UpdateThenPoll(ctx context.Context, id FlexibleServerId, input ServerForUpdate) error + type Sku struct + Name string + Tier SkuTier + type SkuTier string + const SkuTierBurstable + const SkuTierGeneralPurpose + const SkuTierMemoryOptimized + func (s *SkuTier) UnmarshalJSON(bytes []byte) error + type Storage struct + StorageSizeGB *int64 + type UpdateOperationResponse struct + HttpResponse *http.Response + Model *Server + OData *odata.OData + Poller pollers.Poller