sqlvirtualmachines

package
v0.20230524.1231843 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2023 License: MPL-2.0 Imports: 12 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/sqlvirtualmachine/2022-02-01/sqlvirtualmachines Documentation

The sqlvirtualmachines SDK allows for interaction with the Azure Resource Manager Service sqlvirtualmachine (API Version 2022-02-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/sqlvirtualmachine/2022-02-01/sqlvirtualmachines"

Client Initialization

client := sqlvirtualmachines.NewSqlVirtualMachinesClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: SqlVirtualMachinesClient.CreateOrUpdate

ctx := context.TODO()
id := sqlvirtualmachines.NewSqlVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "sqlVirtualMachineValue")

payload := sqlvirtualmachines.SqlVirtualMachine{
	// ...
}


if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: SqlVirtualMachinesClient.Delete

ctx := context.TODO()
id := sqlvirtualmachines.NewSqlVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "sqlVirtualMachineValue")

if err := client.DeleteThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: SqlVirtualMachinesClient.Get

ctx := context.TODO()
id := sqlvirtualmachines.NewSqlVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "sqlVirtualMachineValue")

read, err := client.Get(ctx, id, sqlvirtualmachines.DefaultGetOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: SqlVirtualMachinesClient.List

ctx := context.TODO()
id := sqlvirtualmachines.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.List(ctx, id)` can be used to do batched pagination
items, err := client.ListComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: SqlVirtualMachinesClient.ListByResourceGroup

ctx := context.TODO()
id := sqlvirtualmachines.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")

// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination
items, err := client.ListByResourceGroupComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: SqlVirtualMachinesClient.ListBySqlVMGroup

ctx := context.TODO()
id := sqlvirtualmachines.NewSqlVirtualMachineGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "sqlVirtualMachineGroupValue")

// alternatively `client.ListBySqlVMGroup(ctx, id)` can be used to do batched pagination
items, err := client.ListBySqlVMGroupComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: SqlVirtualMachinesClient.Redeploy

ctx := context.TODO()
id := sqlvirtualmachines.NewSqlVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "sqlVirtualMachineValue")

if err := client.RedeployThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: SqlVirtualMachinesClient.StartAssessment

ctx := context.TODO()
id := sqlvirtualmachines.NewSqlVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "sqlVirtualMachineValue")

if err := client.StartAssessmentThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: SqlVirtualMachinesClient.Update

ctx := context.TODO()
id := sqlvirtualmachines.NewSqlVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "sqlVirtualMachineValue")

payload := sqlvirtualmachines.SqlVirtualMachineUpdate{
	// ...
}


if err := client.UpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForAssessmentDayOfWeek

func PossibleValuesForAssessmentDayOfWeek() []string

func PossibleValuesForAutoBackupDaysOfWeek

func PossibleValuesForAutoBackupDaysOfWeek() []string

func PossibleValuesForBackupScheduleType

func PossibleValuesForBackupScheduleType() []string

func PossibleValuesForConnectivityType

func PossibleValuesForConnectivityType() []string

func PossibleValuesForDayOfWeek

func PossibleValuesForDayOfWeek() []string

func PossibleValuesForDiskConfigurationType

func PossibleValuesForDiskConfigurationType() []string

func PossibleValuesForFullBackupFrequencyType

func PossibleValuesForFullBackupFrequencyType() []string

func PossibleValuesForSqlImageSku

func PossibleValuesForSqlImageSku() []string

func PossibleValuesForSqlManagementMode

func PossibleValuesForSqlManagementMode() []string

func PossibleValuesForSqlServerLicenseType

func PossibleValuesForSqlServerLicenseType() []string

func PossibleValuesForSqlWorkloadType

func PossibleValuesForSqlWorkloadType() []string

func PossibleValuesForStorageWorkloadType

func PossibleValuesForStorageWorkloadType() []string

func ValidateSqlVirtualMachineGroupID

func ValidateSqlVirtualMachineGroupID(input interface{}, key string) (warnings []string, errors []error)

ValidateSqlVirtualMachineGroupID checks that 'input' can be parsed as a Sql Virtual Machine Group ID

func ValidateSqlVirtualMachineID

func ValidateSqlVirtualMachineID(input interface{}, key string) (warnings []string, errors []error)

ValidateSqlVirtualMachineID checks that 'input' can be parsed as a Sql Virtual Machine ID

Types

type AdditionalFeaturesServerConfigurations

type AdditionalFeaturesServerConfigurations struct {
	IsRServicesEnabled *bool `json:"isRServicesEnabled,omitempty"`
}

type AssessmentDayOfWeek

type AssessmentDayOfWeek string
const (
	AssessmentDayOfWeekFriday    AssessmentDayOfWeek = "Friday"
	AssessmentDayOfWeekMonday    AssessmentDayOfWeek = "Monday"
	AssessmentDayOfWeekSaturday  AssessmentDayOfWeek = "Saturday"
	AssessmentDayOfWeekSunday    AssessmentDayOfWeek = "Sunday"
	AssessmentDayOfWeekThursday  AssessmentDayOfWeek = "Thursday"
	AssessmentDayOfWeekTuesday   AssessmentDayOfWeek = "Tuesday"
	AssessmentDayOfWeekWednesday AssessmentDayOfWeek = "Wednesday"
)

type AssessmentSettings

type AssessmentSettings struct {
	Enable         *bool     `json:"enable,omitempty"`
	RunImmediately *bool     `json:"runImmediately,omitempty"`
	Schedule       *Schedule `json:"schedule,omitempty"`
}

type AutoBackupDaysOfWeek

type AutoBackupDaysOfWeek string
const (
	AutoBackupDaysOfWeekFriday    AutoBackupDaysOfWeek = "Friday"
	AutoBackupDaysOfWeekMonday    AutoBackupDaysOfWeek = "Monday"
	AutoBackupDaysOfWeekSaturday  AutoBackupDaysOfWeek = "Saturday"
	AutoBackupDaysOfWeekSunday    AutoBackupDaysOfWeek = "Sunday"
	AutoBackupDaysOfWeekThursday  AutoBackupDaysOfWeek = "Thursday"
	AutoBackupDaysOfWeekTuesday   AutoBackupDaysOfWeek = "Tuesday"
	AutoBackupDaysOfWeekWednesday AutoBackupDaysOfWeek = "Wednesday"
)

type AutoBackupSettings

type AutoBackupSettings struct {
	BackupScheduleType    *BackupScheduleType      `json:"backupScheduleType,omitempty"`
	BackupSystemDbs       *bool                    `json:"backupSystemDbs,omitempty"`
	DaysOfWeek            *[]AutoBackupDaysOfWeek  `json:"daysOfWeek,omitempty"`
	Enable                *bool                    `json:"enable,omitempty"`
	EnableEncryption      *bool                    `json:"enableEncryption,omitempty"`
	FullBackupFrequency   *FullBackupFrequencyType `json:"fullBackupFrequency,omitempty"`
	FullBackupStartTime   *int64                   `json:"fullBackupStartTime,omitempty"`
	FullBackupWindowHours *int64                   `json:"fullBackupWindowHours,omitempty"`
	LogBackupFrequency    *int64                   `json:"logBackupFrequency,omitempty"`
	Password              *string                  `json:"password,omitempty"`
	RetentionPeriod       *int64                   `json:"retentionPeriod,omitempty"`
	StorageAccessKey      *string                  `json:"storageAccessKey,omitempty"`
	StorageAccountUrl     *string                  `json:"storageAccountUrl,omitempty"`
	StorageContainerName  *string                  `json:"storageContainerName,omitempty"`
}

type AutoPatchingSettings

type AutoPatchingSettings struct {
	DayOfWeek                     *DayOfWeek `json:"dayOfWeek,omitempty"`
	Enable                        *bool      `json:"enable,omitempty"`
	MaintenanceWindowDuration     *int64     `json:"maintenanceWindowDuration,omitempty"`
	MaintenanceWindowStartingHour *int64     `json:"maintenanceWindowStartingHour,omitempty"`
}

type BackupScheduleType

type BackupScheduleType string
const (
	BackupScheduleTypeAutomated BackupScheduleType = "Automated"
	BackupScheduleTypeManual    BackupScheduleType = "Manual"
)

type ConnectivityType

type ConnectivityType string
const (
	ConnectivityTypeLOCAL   ConnectivityType = "LOCAL"
	ConnectivityTypePRIVATE ConnectivityType = "PRIVATE"
	ConnectivityTypePUBLIC  ConnectivityType = "PUBLIC"
)

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type DayOfWeek

type DayOfWeek string
const (
	DayOfWeekEveryday  DayOfWeek = "Everyday"
	DayOfWeekFriday    DayOfWeek = "Friday"
	DayOfWeekMonday    DayOfWeek = "Monday"
	DayOfWeekSaturday  DayOfWeek = "Saturday"
	DayOfWeekSunday    DayOfWeek = "Sunday"
	DayOfWeekThursday  DayOfWeek = "Thursday"
	DayOfWeekTuesday   DayOfWeek = "Tuesday"
	DayOfWeekWednesday DayOfWeek = "Wednesday"
)

type DeleteOperationResponse

type DeleteOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type DiskConfigurationType

type DiskConfigurationType string
const (
	DiskConfigurationTypeADD    DiskConfigurationType = "ADD"
	DiskConfigurationTypeEXTEND DiskConfigurationType = "EXTEND"
	DiskConfigurationTypeNEW    DiskConfigurationType = "NEW"
)

type FullBackupFrequencyType

type FullBackupFrequencyType string
const (
	FullBackupFrequencyTypeDaily  FullBackupFrequencyType = "Daily"
	FullBackupFrequencyTypeWeekly FullBackupFrequencyType = "Weekly"
)

type GetOperationOptions

type GetOperationOptions struct {
	Expand *string
}

func DefaultGetOperationOptions

func DefaultGetOperationOptions() GetOperationOptions

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	Model        *SqlVirtualMachine
}

type KeyVaultCredentialSettings

type KeyVaultCredentialSettings struct {
	AzureKeyVaultUrl       *string `json:"azureKeyVaultUrl,omitempty"`
	CredentialName         *string `json:"credentialName,omitempty"`
	Enable                 *bool   `json:"enable,omitempty"`
	ServicePrincipalName   *string `json:"servicePrincipalName,omitempty"`
	ServicePrincipalSecret *string `json:"servicePrincipalSecret,omitempty"`
}

type ListByResourceGroupCompleteResult

type ListByResourceGroupCompleteResult struct {
	Items []SqlVirtualMachine
}

type ListByResourceGroupOperationResponse

type ListByResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]SqlVirtualMachine
	// contains filtered or unexported fields
}

func (ListByResourceGroupOperationResponse) HasMore

func (ListByResourceGroupOperationResponse) LoadMore

type ListBySqlVMGroupCompleteResult added in v0.20221130.1084848

type ListBySqlVMGroupCompleteResult struct {
	Items []SqlVirtualMachine
}

type ListBySqlVMGroupOperationResponse added in v0.20221130.1084848

type ListBySqlVMGroupOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]SqlVirtualMachine
	// contains filtered or unexported fields
}

func (ListBySqlVMGroupOperationResponse) HasMore added in v0.20221130.1084848

func (ListBySqlVMGroupOperationResponse) LoadMore added in v0.20221130.1084848

type ListCompleteResult

type ListCompleteResult struct {
	Items []SqlVirtualMachine
}

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]SqlVirtualMachine
	// contains filtered or unexported fields
}

func (ListOperationResponse) HasMore

func (r ListOperationResponse) HasMore() bool

func (ListOperationResponse) LoadMore

func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)

type RedeployOperationResponse

type RedeployOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type SQLInstanceSettings

type SQLInstanceSettings struct {
	Collation                          *string `json:"collation,omitempty"`
	IsIfiEnabled                       *bool   `json:"isIfiEnabled,omitempty"`
	IsLpimEnabled                      *bool   `json:"isLpimEnabled,omitempty"`
	IsOptimizeForAdHocWorkloadsEnabled *bool   `json:"isOptimizeForAdHocWorkloadsEnabled,omitempty"`
	MaxDop                             *int64  `json:"maxDop,omitempty"`
	MaxServerMemoryMB                  *int64  `json:"maxServerMemoryMB,omitempty"`
	MinServerMemoryMB                  *int64  `json:"minServerMemoryMB,omitempty"`
}

type SQLStorageSettings

type SQLStorageSettings struct {
	DefaultFilePath *string  `json:"defaultFilePath,omitempty"`
	Luns            *[]int64 `json:"luns,omitempty"`
}

type SQLTempDbSettings

type SQLTempDbSettings struct {
	DataFileCount     *int64   `json:"dataFileCount,omitempty"`
	DataFileSize      *int64   `json:"dataFileSize,omitempty"`
	DataGrowth        *int64   `json:"dataGrowth,omitempty"`
	DefaultFilePath   *string  `json:"defaultFilePath,omitempty"`
	LogFileSize       *int64   `json:"logFileSize,omitempty"`
	LogGrowth         *int64   `json:"logGrowth,omitempty"`
	Luns              *[]int64 `json:"luns,omitempty"`
	PersistFolder     *bool    `json:"persistFolder,omitempty"`
	PersistFolderPath *string  `json:"persistFolderPath,omitempty"`
}

type Schedule

type Schedule struct {
	DayOfWeek         *AssessmentDayOfWeek `json:"dayOfWeek,omitempty"`
	Enable            *bool                `json:"enable,omitempty"`
	MonthlyOccurrence *int64               `json:"monthlyOccurrence,omitempty"`
	StartTime         *string              `json:"startTime,omitempty"`
	WeeklyInterval    *int64               `json:"weeklyInterval,omitempty"`
}

type ServerConfigurationsManagementSettings

type ServerConfigurationsManagementSettings struct {
	AdditionalFeaturesServerConfigurations *AdditionalFeaturesServerConfigurations `json:"additionalFeaturesServerConfigurations,omitempty"`
	SqlConnectivityUpdateSettings          *SqlConnectivityUpdateSettings          `json:"sqlConnectivityUpdateSettings,omitempty"`
	SqlInstanceSettings                    *SQLInstanceSettings                    `json:"sqlInstanceSettings,omitempty"`
	SqlStorageUpdateSettings               *SqlStorageUpdateSettings               `json:"sqlStorageUpdateSettings,omitempty"`
	SqlWorkloadTypeUpdateSettings          *SqlWorkloadTypeUpdateSettings          `json:"sqlWorkloadTypeUpdateSettings,omitempty"`
}

type SqlConnectivityUpdateSettings

type SqlConnectivityUpdateSettings struct {
	ConnectivityType      *ConnectivityType `json:"connectivityType,omitempty"`
	Port                  *int64            `json:"port,omitempty"`
	SqlAuthUpdatePassword *string           `json:"sqlAuthUpdatePassword,omitempty"`
	SqlAuthUpdateUserName *string           `json:"sqlAuthUpdateUserName,omitempty"`
}

type SqlImageSku

type SqlImageSku string
const (
	SqlImageSkuDeveloper  SqlImageSku = "Developer"
	SqlImageSkuEnterprise SqlImageSku = "Enterprise"
	SqlImageSkuExpress    SqlImageSku = "Express"
	SqlImageSkuStandard   SqlImageSku = "Standard"
	SqlImageSkuWeb        SqlImageSku = "Web"
)

type SqlManagementMode

type SqlManagementMode string
const (
	SqlManagementModeFull        SqlManagementMode = "Full"
	SqlManagementModeLightWeight SqlManagementMode = "LightWeight"
	SqlManagementModeNoAgent     SqlManagementMode = "NoAgent"
)

type SqlServerLicenseType

type SqlServerLicenseType string
const (
	SqlServerLicenseTypeAHUB SqlServerLicenseType = "AHUB"
	SqlServerLicenseTypeDR   SqlServerLicenseType = "DR"
	SqlServerLicenseTypePAYG SqlServerLicenseType = "PAYG"
)

type SqlStorageUpdateSettings

type SqlStorageUpdateSettings struct {
	DiskConfigurationType *DiskConfigurationType `json:"diskConfigurationType,omitempty"`
	DiskCount             *int64                 `json:"diskCount,omitempty"`
	StartingDeviceId      *int64                 `json:"startingDeviceId,omitempty"`
}

type SqlVirtualMachine

type SqlVirtualMachine struct {
	Id         *string                      `json:"id,omitempty"`
	Identity   *identity.SystemAssigned     `json:"identity,omitempty"`
	Location   string                       `json:"location"`
	Name       *string                      `json:"name,omitempty"`
	Properties *SqlVirtualMachineProperties `json:"properties,omitempty"`
	SystemData *systemdata.SystemData       `json:"systemData,omitempty"`
	Tags       *map[string]string           `json:"tags,omitempty"`
	Type       *string                      `json:"type,omitempty"`
}

type SqlVirtualMachineGroupId

type SqlVirtualMachineGroupId struct {
	SubscriptionId             string
	ResourceGroupName          string
	SqlVirtualMachineGroupName string
}

SqlVirtualMachineGroupId is a struct representing the Resource ID for a Sql Virtual Machine Group

func NewSqlVirtualMachineGroupID

func NewSqlVirtualMachineGroupID(subscriptionId string, resourceGroupName string, sqlVirtualMachineGroupName string) SqlVirtualMachineGroupId

NewSqlVirtualMachineGroupID returns a new SqlVirtualMachineGroupId struct

func ParseSqlVirtualMachineGroupID

func ParseSqlVirtualMachineGroupID(input string) (*SqlVirtualMachineGroupId, error)

ParseSqlVirtualMachineGroupID parses 'input' into a SqlVirtualMachineGroupId

func ParseSqlVirtualMachineGroupIDInsensitively

func ParseSqlVirtualMachineGroupIDInsensitively(input string) (*SqlVirtualMachineGroupId, error)

ParseSqlVirtualMachineGroupIDInsensitively parses 'input' case-insensitively into a SqlVirtualMachineGroupId note: this method should only be used for API response data and not user input

func (SqlVirtualMachineGroupId) ID

ID returns the formatted Sql Virtual Machine Group ID

func (SqlVirtualMachineGroupId) Segments

Segments returns a slice of Resource ID Segments which comprise this Sql Virtual Machine Group ID

func (SqlVirtualMachineGroupId) String

func (id SqlVirtualMachineGroupId) String() string

String returns a human-readable description of this Sql Virtual Machine Group ID

type SqlVirtualMachineId

type SqlVirtualMachineId struct {
	SubscriptionId        string
	ResourceGroupName     string
	SqlVirtualMachineName string
}

SqlVirtualMachineId is a struct representing the Resource ID for a Sql Virtual Machine

func NewSqlVirtualMachineID

func NewSqlVirtualMachineID(subscriptionId string, resourceGroupName string, sqlVirtualMachineName string) SqlVirtualMachineId

NewSqlVirtualMachineID returns a new SqlVirtualMachineId struct

func ParseSqlVirtualMachineID

func ParseSqlVirtualMachineID(input string) (*SqlVirtualMachineId, error)

ParseSqlVirtualMachineID parses 'input' into a SqlVirtualMachineId

func ParseSqlVirtualMachineIDInsensitively

func ParseSqlVirtualMachineIDInsensitively(input string) (*SqlVirtualMachineId, error)

ParseSqlVirtualMachineIDInsensitively parses 'input' case-insensitively into a SqlVirtualMachineId note: this method should only be used for API response data and not user input

func (SqlVirtualMachineId) ID

func (id SqlVirtualMachineId) ID() string

ID returns the formatted Sql Virtual Machine ID

func (SqlVirtualMachineId) Segments

func (id SqlVirtualMachineId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Sql Virtual Machine ID

func (SqlVirtualMachineId) String

func (id SqlVirtualMachineId) String() string

String returns a human-readable description of this Sql Virtual Machine ID

type SqlVirtualMachineOperationPredicate

type SqlVirtualMachineOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (SqlVirtualMachineOperationPredicate) Matches

type SqlVirtualMachineProperties

type SqlVirtualMachineProperties struct {
	AssessmentSettings                     *AssessmentSettings                     `json:"assessmentSettings,omitempty"`
	AutoBackupSettings                     *AutoBackupSettings                     `json:"autoBackupSettings,omitempty"`
	AutoPatchingSettings                   *AutoPatchingSettings                   `json:"autoPatchingSettings,omitempty"`
	KeyVaultCredentialSettings             *KeyVaultCredentialSettings             `json:"keyVaultCredentialSettings,omitempty"`
	ProvisioningState                      *string                                 `json:"provisioningState,omitempty"`
	ServerConfigurationsManagementSettings *ServerConfigurationsManagementSettings `json:"serverConfigurationsManagementSettings,omitempty"`
	SqlImageOffer                          *string                                 `json:"sqlImageOffer,omitempty"`
	SqlImageSku                            *SqlImageSku                            `json:"sqlImageSku,omitempty"`
	SqlManagement                          *SqlManagementMode                      `json:"sqlManagement,omitempty"`
	SqlServerLicenseType                   *SqlServerLicenseType                   `json:"sqlServerLicenseType,omitempty"`
	SqlVirtualMachineGroupResourceId       *string                                 `json:"sqlVirtualMachineGroupResourceId,omitempty"`
	StorageConfigurationSettings           *StorageConfigurationSettings           `json:"storageConfigurationSettings,omitempty"`
	VirtualMachineResourceId               *string                                 `json:"virtualMachineResourceId,omitempty"`
	WsfcDomainCredentials                  *WsfcDomainCredentials                  `json:"wsfcDomainCredentials,omitempty"`
	WsfcStaticIP                           *string                                 `json:"wsfcStaticIp,omitempty"`
}

type SqlVirtualMachineUpdate

type SqlVirtualMachineUpdate struct {
	Tags *map[string]string `json:"tags,omitempty"`
}

type SqlVirtualMachinesClient

type SqlVirtualMachinesClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewSqlVirtualMachinesClientWithBaseURI

func NewSqlVirtualMachinesClientWithBaseURI(endpoint string) SqlVirtualMachinesClient

func (SqlVirtualMachinesClient) CreateOrUpdate

CreateOrUpdate ...

func (SqlVirtualMachinesClient) CreateOrUpdateThenPoll

func (c SqlVirtualMachinesClient) CreateOrUpdateThenPoll(ctx context.Context, id SqlVirtualMachineId, input SqlVirtualMachine) error

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (SqlVirtualMachinesClient) Delete

Delete ...

func (SqlVirtualMachinesClient) DeleteThenPoll

DeleteThenPoll performs Delete then polls until it's completed

func (SqlVirtualMachinesClient) Get

Get ...

func (SqlVirtualMachinesClient) List

List ...

func (SqlVirtualMachinesClient) ListByResourceGroup

ListByResourceGroup ...

func (SqlVirtualMachinesClient) ListByResourceGroupComplete

ListByResourceGroupComplete retrieves all of the results into a single object

func (SqlVirtualMachinesClient) ListByResourceGroupCompleteMatchingPredicate

func (c SqlVirtualMachinesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate SqlVirtualMachineOperationPredicate) (resp ListByResourceGroupCompleteResult, err error)

ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (SqlVirtualMachinesClient) ListBySqlVMGroup added in v0.20221130.1084848

ListBySqlVMGroup ...

func (SqlVirtualMachinesClient) ListBySqlVMGroupComplete added in v0.20221130.1084848

ListBySqlVMGroupComplete retrieves all of the results into a single object

func (SqlVirtualMachinesClient) ListBySqlVMGroupCompleteMatchingPredicate added in v0.20221130.1084848

func (c SqlVirtualMachinesClient) ListBySqlVMGroupCompleteMatchingPredicate(ctx context.Context, id SqlVirtualMachineGroupId, predicate SqlVirtualMachineOperationPredicate) (resp ListBySqlVMGroupCompleteResult, err error)

ListBySqlVMGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (SqlVirtualMachinesClient) ListComplete

ListComplete retrieves all of the results into a single object

func (SqlVirtualMachinesClient) ListCompleteMatchingPredicate

func (c SqlVirtualMachinesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate SqlVirtualMachineOperationPredicate) (resp ListCompleteResult, err error)

ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (SqlVirtualMachinesClient) Redeploy

Redeploy ...

func (SqlVirtualMachinesClient) RedeployThenPoll

RedeployThenPoll performs Redeploy then polls until it's completed

func (SqlVirtualMachinesClient) StartAssessment

StartAssessment ...

func (SqlVirtualMachinesClient) StartAssessmentThenPoll

func (c SqlVirtualMachinesClient) StartAssessmentThenPoll(ctx context.Context, id SqlVirtualMachineId) error

StartAssessmentThenPoll performs StartAssessment then polls until it's completed

func (SqlVirtualMachinesClient) Update

Update ...

func (SqlVirtualMachinesClient) UpdateThenPoll

UpdateThenPoll performs Update then polls until it's completed

type SqlWorkloadType

type SqlWorkloadType string
const (
	SqlWorkloadTypeDW      SqlWorkloadType = "DW"
	SqlWorkloadTypeGENERAL SqlWorkloadType = "GENERAL"
	SqlWorkloadTypeOLTP    SqlWorkloadType = "OLTP"
)

type SqlWorkloadTypeUpdateSettings

type SqlWorkloadTypeUpdateSettings struct {
	SqlWorkloadType *SqlWorkloadType `json:"sqlWorkloadType,omitempty"`
}

type StartAssessmentOperationResponse

type StartAssessmentOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type StorageConfigurationSettings

type StorageConfigurationSettings struct {
	DiskConfigurationType *DiskConfigurationType `json:"diskConfigurationType,omitempty"`
	SqlDataSettings       *SQLStorageSettings    `json:"sqlDataSettings,omitempty"`
	SqlLogSettings        *SQLStorageSettings    `json:"sqlLogSettings,omitempty"`
	SqlSystemDbOnDataDisk *bool                  `json:"sqlSystemDbOnDataDisk,omitempty"`
	SqlTempDbSettings     *SQLTempDbSettings     `json:"sqlTempDbSettings,omitempty"`
	StorageWorkloadType   *StorageWorkloadType   `json:"storageWorkloadType,omitempty"`
}

type StorageWorkloadType

type StorageWorkloadType string
const (
	StorageWorkloadTypeDW      StorageWorkloadType = "DW"
	StorageWorkloadTypeGENERAL StorageWorkloadType = "GENERAL"
	StorageWorkloadTypeOLTP    StorageWorkloadType = "OLTP"
)

type UpdateOperationResponse

type UpdateOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type WsfcDomainCredentials

type WsfcDomainCredentials struct {
	ClusterBootstrapAccountPassword *string `json:"clusterBootstrapAccountPassword,omitempty"`
	ClusterOperatorAccountPassword  *string `json:"clusterOperatorAccountPassword,omitempty"`
	SqlServiceAccountPassword       *string `json:"sqlServiceAccountPassword,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL