Versions in this module Expand all Collapse all v0 v0.20241212.1154051 Dec 12, 2024 v0.20241209.1115630 Dec 9, 2024 Changes in this version + func PossibleValuesForIdentityType() []string + type IdentityType string + const IdentityTypeNone + const IdentityTypeSystemAssigned + const IdentityTypeUserAssigned + func (s *IdentityType) UnmarshalJSON(bytes []byte) error + type UserAssignedIdentity struct + TenantId *string + Type IdentityType + UserAssignedIdentities *map[string]UserIdentity + type UserIdentity struct + ClientId *string + PrincipalId *string v0.20241206.1180327 Dec 6, 2024 v0.20241205.1102105 Dec 5, 2024 v0.20241203.1090052 Dec 3, 2024 v0.20241128.1112539 Nov 28, 2024 v0.20241128.1084944 Nov 28, 2024 v0.20241126.1110949 Nov 26, 2024 v0.20241118.1115603 Nov 18, 2024 v0.20241111.1164443 Nov 11, 2024 v0.20241104.1140654 Nov 4, 2024 v0.20241029.1112340 Oct 29, 2024 v0.20241025.1143247 Oct 25, 2024 v0.20241023.1122425 Oct 23, 2024 v0.20241021.1074254 Oct 21, 2024 v0.20241017.1093842 Oct 17, 2024 Changes in this version + func PossibleValuesForActiveDirectoryAuthEnum() []string + func PossibleValuesForArmServerKeyType() []string + func PossibleValuesForAzureManagedDiskPerformanceTiers() []string + func PossibleValuesForCreateMode() []string + func PossibleValuesForCreateModeForUpdate() []string + func PossibleValuesForGeoRedundantBackupEnum() []string + func PossibleValuesForHighAvailabilityMode() []string + func PossibleValuesForKeyStatusEnum() []string + func PossibleValuesForPasswordAuthEnum() []string + func PossibleValuesForPrivateEndpointConnectionProvisioningState() []string + func PossibleValuesForPrivateEndpointServiceConnectionStatus() []string + func PossibleValuesForReadReplicaPromoteMode() []string + func PossibleValuesForReplicationPromoteOption() []string + func PossibleValuesForReplicationRole() []string + func PossibleValuesForReplicationState() []string + func PossibleValuesForServerHAState() []string + func PossibleValuesForServerPublicNetworkAccessState() []string + func PossibleValuesForServerState() []string + func PossibleValuesForServerVersion() []string + func PossibleValuesForSkuTier() []string + func PossibleValuesForStorageAutoGrow() []string + func PossibleValuesForStorageType() []string + func ValidateFlexibleServerID(input interface{}, key string) (warnings []string, errors []error) + type ActiveDirectoryAuthEnum string + const ActiveDirectoryAuthEnumDisabled + const ActiveDirectoryAuthEnumEnabled + func (s *ActiveDirectoryAuthEnum) UnmarshalJSON(bytes []byte) error + type ArmServerKeyType string + const ArmServerKeyTypeAzureKeyVault + const ArmServerKeyTypeSystemManaged + func (s *ArmServerKeyType) UnmarshalJSON(bytes []byte) error + type AuthConfig struct + ActiveDirectoryAuth *ActiveDirectoryAuthEnum + PasswordAuth *PasswordAuthEnum + TenantId *string + type AzureManagedDiskPerformanceTiers string + const AzureManagedDiskPerformanceTiersPEightZero + const AzureManagedDiskPerformanceTiersPFiveZero + const AzureManagedDiskPerformanceTiersPFour + const AzureManagedDiskPerformanceTiersPFourZero + const AzureManagedDiskPerformanceTiersPOne + const AzureManagedDiskPerformanceTiersPOneFive + const AzureManagedDiskPerformanceTiersPOneZero + const AzureManagedDiskPerformanceTiersPSevenZero + const AzureManagedDiskPerformanceTiersPSix + const AzureManagedDiskPerformanceTiersPSixZero + const AzureManagedDiskPerformanceTiersPThree + const AzureManagedDiskPerformanceTiersPThreeZero + const AzureManagedDiskPerformanceTiersPTwo + const AzureManagedDiskPerformanceTiersPTwoZero + func (s *AzureManagedDiskPerformanceTiers) UnmarshalJSON(bytes []byte) 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 CreateModeGeoRestore + const CreateModePointInTimeRestore + const CreateModeReplica + const CreateModeReviveDropped + 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 DataEncryption struct + GeoBackupEncryptionKeyStatus *KeyStatusEnum + GeoBackupKeyURI *string + GeoBackupUserAssignedIdentityId *string + PrimaryEncryptionKeyStatus *KeyStatusEnum + PrimaryKeyURI *string + PrimaryUserAssignedIdentityId *string + Type *ArmServerKeyType + 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 HighAvailabilityModeSameZone + const HighAvailabilityModeZoneRedundant + func (s *HighAvailabilityMode) UnmarshalJSON(bytes []byte) error + type KeyStatusEnum string + const KeyStatusEnumInvalid + const KeyStatusEnumValid + func (s *KeyStatusEnum) 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 PasswordAuthEnum string + const PasswordAuthEnumDisabled + const PasswordAuthEnumEnabled + func (s *PasswordAuthEnum) UnmarshalJSON(bytes []byte) error + type PrivateEndpoint struct + Id *string + type PrivateEndpointConnection struct + Id *string + Name *string + Properties *PrivateEndpointConnectionProperties + SystemData *systemdata.SystemData + Type *string + type PrivateEndpointConnectionProperties struct + GroupIds *[]string + PrivateEndpoint *PrivateEndpoint + PrivateLinkServiceConnectionState PrivateLinkServiceConnectionState + ProvisioningState *PrivateEndpointConnectionProvisioningState + type PrivateEndpointConnectionProvisioningState string + const PrivateEndpointConnectionProvisioningStateCreating + const PrivateEndpointConnectionProvisioningStateDeleting + const PrivateEndpointConnectionProvisioningStateFailed + const PrivateEndpointConnectionProvisioningStateSucceeded + func (s *PrivateEndpointConnectionProvisioningState) UnmarshalJSON(bytes []byte) error + type PrivateEndpointServiceConnectionStatus string + const PrivateEndpointServiceConnectionStatusApproved + const PrivateEndpointServiceConnectionStatusPending + const PrivateEndpointServiceConnectionStatusRejected + func (s *PrivateEndpointServiceConnectionStatus) UnmarshalJSON(bytes []byte) error + type PrivateLinkServiceConnectionState struct + ActionsRequired *string + Description *string + Status *PrivateEndpointServiceConnectionStatus + type ReadReplicaPromoteMode string + const ReadReplicaPromoteModeStandalone + const ReadReplicaPromoteModeSwitchover + func (s *ReadReplicaPromoteMode) UnmarshalJSON(bytes []byte) error + type Replica struct + Capacity *int64 + PromoteMode *ReadReplicaPromoteMode + PromoteOption *ReplicationPromoteOption + ReplicationState *ReplicationState + Role *ReplicationRole + type ReplicationPromoteOption string + const ReplicationPromoteOptionForced + const ReplicationPromoteOptionPlanned + func (s *ReplicationPromoteOption) UnmarshalJSON(bytes []byte) error + type ReplicationRole string + const ReplicationRoleAsyncReplica + const ReplicationRoleGeoAsyncReplica + const ReplicationRoleNone + const ReplicationRolePrimary + func (s *ReplicationRole) UnmarshalJSON(bytes []byte) error + type ReplicationState string + const ReplicationStateActive + const ReplicationStateBroken + const ReplicationStateCatchup + const ReplicationStateProvisioning + const ReplicationStateReconfiguring + const ReplicationStateUpdating + func (s *ReplicationState) UnmarshalJSON(bytes []byte) error + type Server struct + Id *string + Identity *identity.UserAssignedMap + Location string + Name *string + Properties *ServerProperties + Sku *Sku + SystemData *systemdata.SystemData + Tags *map[string]string + Type *string + type ServerForUpdate struct + Identity *identity.UserAssignedMap + 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 + AuthConfig *AuthConfig + AvailabilityZone *string + Backup *Backup + CreateMode *CreateMode + DataEncryption *DataEncryption + FullyQualifiedDomainName *string + HighAvailability *HighAvailability + MaintenanceWindow *MaintenanceWindow + MinorVersion *string + Network *Network + PointInTimeUTC *string + PrivateEndpointConnections *[]PrivateEndpointConnection + Replica *Replica + ReplicaCapacity *int64 + ReplicationRole *ReplicationRole + 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 + AdministratorLogin *string + AdministratorLoginPassword *string + AuthConfig *AuthConfig + Backup *Backup + CreateMode *CreateModeForUpdate + DataEncryption *DataEncryption + HighAvailability *HighAvailability + MaintenanceWindow *MaintenanceWindow + Network *Network + Replica *Replica + ReplicationRole *ReplicationRole + Storage *Storage + Version *ServerVersion + 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 ServerVersionOneFive + const ServerVersionOneFour + const ServerVersionOneOne + const ServerVersionOneSix + 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 + AutoGrow *StorageAutoGrow + Iops *int64 + StorageSizeGB *int64 + Throughput *int64 + Tier *AzureManagedDiskPerformanceTiers + Type *StorageType + type StorageAutoGrow string + const StorageAutoGrowDisabled + const StorageAutoGrowEnabled + func (s *StorageAutoGrow) UnmarshalJSON(bytes []byte) error + type StorageType string + const StorageTypePremiumLRS + const StorageTypePremiumVTwoLRS + func (s *StorageType) UnmarshalJSON(bytes []byte) error + type UpdateOperationResponse struct + HttpResponse *http.Response + Model *Server + OData *odata.OData + Poller pollers.Poller