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 PossibleValuesForAdditionalOsPatch() []string + func PossibleValuesForAdditionalVMPatch() []string + func PossibleValuesForAssessmentDayOfWeek() []string + func PossibleValuesForAutoBackupDaysOfWeek() []string + func PossibleValuesForBackupScheduleType() []string + func PossibleValuesForConnectivityType() []string + func PossibleValuesForDayOfWeek() []string + func PossibleValuesForDiskConfigurationType() []string + func PossibleValuesForFullBackupFrequencyType() []string + func PossibleValuesForIdentityType() []string + func PossibleValuesForLeastPrivilegeMode() []string + func PossibleValuesForOsType() []string + func PossibleValuesForSqlImageSku() []string + func PossibleValuesForSqlManagementMode() []string + func PossibleValuesForSqlServerLicenseType() []string + func PossibleValuesForSqlWorkloadType() []string + func PossibleValuesForStorageWorkloadType() []string + func PossibleValuesForTroubleshootingScenario() []string + func PossibleValuesForVMIdentityType() []string + func ValidateSqlVirtualMachineGroupID(input interface{}, key string) (warnings []string, errors []error) + func ValidateSqlVirtualMachineID(input interface{}, key string) (warnings []string, errors []error) + type AADAuthenticationSettings struct + ClientId *string + type AdditionalFeaturesServerConfigurations struct + IsRServicesEnabled *bool + type AdditionalOsPatch string + const AdditionalOsPatchWSUS + const AdditionalOsPatchWU + const AdditionalOsPatchWUMU + func (s *AdditionalOsPatch) UnmarshalJSON(bytes []byte) error + type AdditionalVMPatch string + const AdditionalVMPatchMicrosoftUpdate + const AdditionalVMPatchNotSet + func (s *AdditionalVMPatch) UnmarshalJSON(bytes []byte) error + type AssessmentDayOfWeek string + const AssessmentDayOfWeekFriday + const AssessmentDayOfWeekMonday + const AssessmentDayOfWeekSaturday + const AssessmentDayOfWeekSunday + const AssessmentDayOfWeekThursday + const AssessmentDayOfWeekTuesday + const AssessmentDayOfWeekWednesday + func (s *AssessmentDayOfWeek) UnmarshalJSON(bytes []byte) error + type AssessmentSettings struct + Enable *bool + RunImmediately *bool + Schedule *Schedule + type AutoBackupDaysOfWeek string + const AutoBackupDaysOfWeekFriday + const AutoBackupDaysOfWeekMonday + const AutoBackupDaysOfWeekSaturday + const AutoBackupDaysOfWeekSunday + const AutoBackupDaysOfWeekThursday + const AutoBackupDaysOfWeekTuesday + const AutoBackupDaysOfWeekWednesday + func (s *AutoBackupDaysOfWeek) UnmarshalJSON(bytes []byte) error + type AutoBackupSettings struct + BackupScheduleType *BackupScheduleType + BackupSystemDbs *bool + DaysOfWeek *[]AutoBackupDaysOfWeek + Enable *bool + EnableEncryption *bool + FullBackupFrequency *FullBackupFrequencyType + FullBackupStartTime *int64 + FullBackupWindowHours *int64 + LogBackupFrequency *int64 + Password *string + RetentionPeriod *int64 + StorageAccessKey *string + StorageAccountURL *string + StorageContainerName *string + type AutoPatchingSettings struct + AdditionalVMPatch *AdditionalVMPatch + DayOfWeek *DayOfWeek + Enable *bool + MaintenanceWindowDuration *int64 + MaintenanceWindowStartingHour *int64 + type BackupScheduleType string + const BackupScheduleTypeAutomated + const BackupScheduleTypeManual + func (s *BackupScheduleType) UnmarshalJSON(bytes []byte) error + type ConnectivityType string + const ConnectivityTypeLOCAL + const ConnectivityTypePRIVATE + const ConnectivityTypePUBLIC + func (s *ConnectivityType) UnmarshalJSON(bytes []byte) error + type CreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *SqlVirtualMachine + OData *odata.OData + Poller pollers.Poller + type DayOfWeek string + const DayOfWeekEveryday + const DayOfWeekFriday + const DayOfWeekMonday + const DayOfWeekSaturday + const DayOfWeekSunday + const DayOfWeekThursday + const DayOfWeekTuesday + const DayOfWeekWednesday + func (s *DayOfWeek) UnmarshalJSON(bytes []byte) error + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type DiskConfigAssessmentRequest struct + RunDiskConfigRules *bool + type DiskConfigurationType string + const DiskConfigurationTypeADD + const DiskConfigurationTypeEXTEND + const DiskConfigurationTypeNEW + func (s *DiskConfigurationType) UnmarshalJSON(bytes []byte) error + type FetchDCAssessmentOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type FullBackupFrequencyType string + const FullBackupFrequencyTypeDaily + const FullBackupFrequencyTypeWeekly + func (s *FullBackupFrequencyType) UnmarshalJSON(bytes []byte) error + type GetOperationOptions struct + Expand *string + func DefaultGetOperationOptions() GetOperationOptions + func (o GetOperationOptions) ToHeaders() *client.Headers + func (o GetOperationOptions) ToOData() *odata.Query + func (o GetOperationOptions) ToQuery() *client.QueryParams + type GetOperationResponse struct + HttpResponse *http.Response + Model *SqlVirtualMachine + OData *odata.OData + type IdentityType string + const IdentityTypeNone + const IdentityTypeSystemAssigned + const IdentityTypeSystemAssignedUserAssigned + const IdentityTypeUserAssigned + func (s *IdentityType) UnmarshalJSON(bytes []byte) error + type KeyVaultCredentialSettings struct + AzureKeyVaultURL *string + CredentialName *string + Enable *bool + ServicePrincipalName *string + ServicePrincipalSecret *string + type LeastPrivilegeMode string + const LeastPrivilegeModeEnabled + const LeastPrivilegeModeNotSet + func (s *LeastPrivilegeMode) UnmarshalJSON(bytes []byte) error + type ListByResourceGroupCompleteResult struct + Items []SqlVirtualMachine + LatestHttpResponse *http.Response + type ListByResourceGroupCustomPager struct + NextLink *odata.Link + func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link + type ListByResourceGroupOperationResponse struct + HttpResponse *http.Response + Model *[]SqlVirtualMachine + OData *odata.OData + type ListBySqlVMGroupCompleteResult struct + Items []SqlVirtualMachine + LatestHttpResponse *http.Response + type ListBySqlVMGroupCustomPager struct + NextLink *odata.Link + func (p *ListBySqlVMGroupCustomPager) NextPageLink() *odata.Link + type ListBySqlVMGroupOperationResponse struct + HttpResponse *http.Response + Model *[]SqlVirtualMachine + OData *odata.OData + type ListCompleteResult struct + Items []SqlVirtualMachine + LatestHttpResponse *http.Response + type ListCustomPager struct + NextLink *odata.Link + func (p *ListCustomPager) NextPageLink() *odata.Link + type ListOperationResponse struct + HttpResponse *http.Response + Model *[]SqlVirtualMachine + OData *odata.OData + type OsType string + const OsTypeLinux + const OsTypeWindows + func (s *OsType) UnmarshalJSON(bytes []byte) error + type RedeployOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type ResourceIdentity struct + PrincipalId *string + TenantId *string + Type *IdentityType + type SQLInstanceSettings struct + Collation *string + IsIfiEnabled *bool + IsLpimEnabled *bool + IsOptimizeForAdHocWorkloadsEnabled *bool + MaxDop *int64 + MaxServerMemoryMB *int64 + MinServerMemoryMB *int64 + type SQLStorageSettings struct + DefaultFilePath *string + Luns *[]int64 + UseStoragePool *bool + type SQLTempDbSettings struct + DataFileCount *int64 + DataFileSize *int64 + DataGrowth *int64 + DefaultFilePath *string + LogFileSize *int64 + LogGrowth *int64 + Luns *[]int64 + PersistFolder *bool + PersistFolderPath *string + UseStoragePool *bool + type Schedule struct + DayOfWeek *AssessmentDayOfWeek + Enable *bool + MonthlyOccurrence *int64 + StartTime *string + WeeklyInterval *int64 + type ServerConfigurationsManagementSettings struct + AdditionalFeaturesServerConfigurations *AdditionalFeaturesServerConfigurations + AzureAdAuthenticationSettings *AADAuthenticationSettings + SqlConnectivityUpdateSettings *SqlConnectivityUpdateSettings + SqlInstanceSettings *SQLInstanceSettings + SqlStorageUpdateSettings *SqlStorageUpdateSettings + SqlWorkloadTypeUpdateSettings *SqlWorkloadTypeUpdateSettings + type SqlConnectivityUpdateSettings struct + ConnectivityType *ConnectivityType + Port *int64 + SqlAuthUpdatePassword *string + SqlAuthUpdateUserName *string + type SqlImageSku string + const SqlImageSkuDeveloper + const SqlImageSkuEnterprise + const SqlImageSkuExpress + const SqlImageSkuStandard + const SqlImageSkuWeb + func (s *SqlImageSku) UnmarshalJSON(bytes []byte) error + type SqlManagementMode string + const SqlManagementModeFull + const SqlManagementModeLightWeight + const SqlManagementModeNoAgent + func (s *SqlManagementMode) UnmarshalJSON(bytes []byte) error + type SqlServerLicenseType string + const SqlServerLicenseTypeAHUB + const SqlServerLicenseTypeDR + const SqlServerLicenseTypePAYG + func (s *SqlServerLicenseType) UnmarshalJSON(bytes []byte) error + type SqlStorageUpdateSettings struct + DiskConfigurationType *DiskConfigurationType + DiskCount *int64 + StartingDeviceId *int64 + type SqlVirtualMachine struct + Id *string + Identity *ResourceIdentity + Location string + Name *string + Properties *SqlVirtualMachineProperties + SystemData *systemdata.SystemData + Tags *map[string]string + Type *string + type SqlVirtualMachineGroupId struct + ResourceGroupName string + SqlVirtualMachineGroupName string + SubscriptionId string + func NewSqlVirtualMachineGroupID(subscriptionId string, resourceGroupName string, ...) SqlVirtualMachineGroupId + func ParseSqlVirtualMachineGroupID(input string) (*SqlVirtualMachineGroupId, error) + func ParseSqlVirtualMachineGroupIDInsensitively(input string) (*SqlVirtualMachineGroupId, error) + func (id *SqlVirtualMachineGroupId) FromParseResult(input resourceids.ParseResult) error + func (id SqlVirtualMachineGroupId) ID() string + func (id SqlVirtualMachineGroupId) Segments() []resourceids.Segment + func (id SqlVirtualMachineGroupId) String() string + type SqlVirtualMachineId struct + ResourceGroupName string + SqlVirtualMachineName string + SubscriptionId string + func NewSqlVirtualMachineID(subscriptionId string, resourceGroupName string, sqlVirtualMachineName string) SqlVirtualMachineId + func ParseSqlVirtualMachineID(input string) (*SqlVirtualMachineId, error) + func ParseSqlVirtualMachineIDInsensitively(input string) (*SqlVirtualMachineId, error) + func (id *SqlVirtualMachineId) FromParseResult(input resourceids.ParseResult) error + func (id SqlVirtualMachineId) ID() string + func (id SqlVirtualMachineId) Segments() []resourceids.Segment + func (id SqlVirtualMachineId) String() string + type SqlVirtualMachineOperationPredicate struct + Id *string + Location *string + Name *string + Type *string + func (p SqlVirtualMachineOperationPredicate) Matches(input SqlVirtualMachine) bool + type SqlVirtualMachineProperties struct + AdditionalVMPatch *AdditionalOsPatch + AssessmentSettings *AssessmentSettings + AutoBackupSettings *AutoBackupSettings + AutoPatchingSettings *AutoPatchingSettings + EnableAutomaticUpgrade *bool + KeyVaultCredentialSettings *KeyVaultCredentialSettings + LeastPrivilegeMode *LeastPrivilegeMode + OsType *OsType + ProvisioningState *string + ServerConfigurationsManagementSettings *ServerConfigurationsManagementSettings + SqlImageOffer *string + SqlImageSku *SqlImageSku + SqlManagement *SqlManagementMode + SqlServerLicenseType *SqlServerLicenseType + SqlVirtualMachineGroupResourceId *string + StorageConfigurationSettings *StorageConfigurationSettings + TroubleshootingStatus *TroubleshootingStatus + VirtualMachineIdentitySettings *VirtualMachineIdentity + VirtualMachineResourceId *string + WsfcDomainCredentials *WsfcDomainCredentials + WsfcStaticIP *string + type SqlVirtualMachineUpdate struct + Tags *map[string]string + type SqlVirtualMachinesClient struct + Client *resourcemanager.Client + func NewSqlVirtualMachinesClientWithBaseURI(sdkApi sdkEnv.Api) (*SqlVirtualMachinesClient, error) + func (c SqlVirtualMachinesClient) CreateOrUpdate(ctx context.Context, id SqlVirtualMachineId, input SqlVirtualMachine) (result CreateOrUpdateOperationResponse, err error) + func (c SqlVirtualMachinesClient) CreateOrUpdateThenPoll(ctx context.Context, id SqlVirtualMachineId, input SqlVirtualMachine) error + func (c SqlVirtualMachinesClient) Delete(ctx context.Context, id SqlVirtualMachineId) (result DeleteOperationResponse, err error) + func (c SqlVirtualMachinesClient) DeleteThenPoll(ctx context.Context, id SqlVirtualMachineId) error + func (c SqlVirtualMachinesClient) FetchDCAssessment(ctx context.Context, id SqlVirtualMachineId, input DiskConfigAssessmentRequest) (result FetchDCAssessmentOperationResponse, err error) + func (c SqlVirtualMachinesClient) FetchDCAssessmentThenPoll(ctx context.Context, id SqlVirtualMachineId, input DiskConfigAssessmentRequest) error + func (c SqlVirtualMachinesClient) Get(ctx context.Context, id SqlVirtualMachineId, options GetOperationOptions) (result GetOperationResponse, err error) + func (c SqlVirtualMachinesClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error) + func (c SqlVirtualMachinesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error) + func (c SqlVirtualMachinesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error) + func (c SqlVirtualMachinesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error) + func (c SqlVirtualMachinesClient) ListBySqlVMGroup(ctx context.Context, id SqlVirtualMachineGroupId) (result ListBySqlVMGroupOperationResponse, err error) + func (c SqlVirtualMachinesClient) ListBySqlVMGroupComplete(ctx context.Context, id SqlVirtualMachineGroupId) (ListBySqlVMGroupCompleteResult, error) + func (c SqlVirtualMachinesClient) ListBySqlVMGroupCompleteMatchingPredicate(ctx context.Context, id SqlVirtualMachineGroupId, ...) (result ListBySqlVMGroupCompleteResult, err error) + func (c SqlVirtualMachinesClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error) + func (c SqlVirtualMachinesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListCompleteResult, err error) + func (c SqlVirtualMachinesClient) Redeploy(ctx context.Context, id SqlVirtualMachineId) (result RedeployOperationResponse, err error) + func (c SqlVirtualMachinesClient) RedeployThenPoll(ctx context.Context, id SqlVirtualMachineId) error + func (c SqlVirtualMachinesClient) StartAssessment(ctx context.Context, id SqlVirtualMachineId) (result StartAssessmentOperationResponse, err error) + func (c SqlVirtualMachinesClient) StartAssessmentThenPoll(ctx context.Context, id SqlVirtualMachineId) error + func (c SqlVirtualMachinesClient) Update(ctx context.Context, id SqlVirtualMachineId, input SqlVirtualMachineUpdate) (result UpdateOperationResponse, err error) + func (c SqlVirtualMachinesClient) UpdateThenPoll(ctx context.Context, id SqlVirtualMachineId, input SqlVirtualMachineUpdate) error + type SqlWorkloadType string + const SqlWorkloadTypeDW + const SqlWorkloadTypeGENERAL + const SqlWorkloadTypeOLTP + func (s *SqlWorkloadType) UnmarshalJSON(bytes []byte) error + type SqlWorkloadTypeUpdateSettings struct + SqlWorkloadType *SqlWorkloadType + type StartAssessmentOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type StorageConfigurationSettings struct + DiskConfigurationType *DiskConfigurationType + EnableStorageConfigBlade *bool + SqlDataSettings *SQLStorageSettings + SqlLogSettings *SQLStorageSettings + SqlSystemDbOnDataDisk *bool + SqlTempDbSettings *SQLTempDbSettings + StorageWorkloadType *StorageWorkloadType + type StorageWorkloadType string + const StorageWorkloadTypeDW + const StorageWorkloadTypeGENERAL + const StorageWorkloadTypeOLTP + func (s *StorageWorkloadType) UnmarshalJSON(bytes []byte) error + type TroubleshootingAdditionalProperties struct + UnhealthyReplicaInfo *UnhealthyReplicaInfo + type TroubleshootingScenario string + const TroubleshootingScenarioUnhealthyReplica + func (s *TroubleshootingScenario) UnmarshalJSON(bytes []byte) error + type TroubleshootingStatus struct + EndTimeUtc *string + LastTriggerTimeUtc *string + Properties *TroubleshootingAdditionalProperties + RootCause *string + StartTimeUtc *string + TroubleshootingScenario *TroubleshootingScenario + func (o *TroubleshootingStatus) GetEndTimeUtcAsTime() (*time.Time, error) + func (o *TroubleshootingStatus) GetLastTriggerTimeUtcAsTime() (*time.Time, error) + func (o *TroubleshootingStatus) GetStartTimeUtcAsTime() (*time.Time, error) + func (o *TroubleshootingStatus) SetEndTimeUtcAsTime(input time.Time) + func (o *TroubleshootingStatus) SetLastTriggerTimeUtcAsTime(input time.Time) + func (o *TroubleshootingStatus) SetStartTimeUtcAsTime(input time.Time) + type UnhealthyReplicaInfo struct + AvailabilityGroupName *string + type UpdateOperationResponse struct + HttpResponse *http.Response + Model *SqlVirtualMachine + OData *odata.OData + Poller pollers.Poller + type VMIdentityType string + const VMIdentityTypeNone + const VMIdentityTypeSystemAssigned + const VMIdentityTypeUserAssigned + func (s *VMIdentityType) UnmarshalJSON(bytes []byte) error + type VirtualMachineIdentity struct + ResourceId *string + Type *VMIdentityType + type WsfcDomainCredentials struct + ClusterBootstrapAccountPassword *string + ClusterOperatorAccountPassword *string + SqlServiceAccountPassword *string