Interface SqlVirtualMachine
-
public interface SqlVirtualMachine
An immutable client-side representation of SqlVirtualMachine.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
SqlVirtualMachine.Definition
The entirety of the SqlVirtualMachine definition.static interface
SqlVirtualMachine.DefinitionStages
The SqlVirtualMachine definition stages.static interface
SqlVirtualMachine.Update
The template for SqlVirtualMachine update.static interface
SqlVirtualMachine.UpdateStages
The SqlVirtualMachine update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssessmentSettings
assessmentSettings()
Gets the assessmentSettings property: Assessment Settings.AutoBackupSettings
autoBackupSettings()
Gets the autoBackupSettings property: Auto backup settings for SQL Server.AutoPatchingSettings
autoPatchingSettings()
Gets the autoPatchingSettings property: Auto patching settings for applying critical security updates to SQL virtual machine.String
id()
Gets the id property: Fully qualified resource Id for the resource.ResourceIdentity
identity()
Gets the identity property: Azure Active Directory identity of the server.SqlVirtualMachineInner
innerModel()
Gets the inner com.azure.resourcemanager.sqlvirtualmachine.fluent.models.SqlVirtualMachineInner object.KeyVaultCredentialSettings
keyVaultCredentialSettings()
Gets the keyVaultCredentialSettings property: Key vault credential settings.String
location()
Gets the location property: The geo-location where the resource lives.String
name()
Gets the name property: The name of the resource.String
provisioningState()
Gets the provisioningState property: Provisioning state to track the async operation status.void
redeploy()
Uninstalls and reinstalls the SQL Iaas Extension.void
redeploy(com.azure.core.util.Context context)
Uninstalls and reinstalls the SQL Iaas Extension.SqlVirtualMachine
refresh()
Refreshes the resource to sync with Azure.SqlVirtualMachine
refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.com.azure.core.management.Region
region()
Gets the region of the resource.String
regionName()
Gets the name of the resource region.ServerConfigurationsManagementSettings
serverConfigurationsManagementSettings()
Gets the serverConfigurationsManagementSettings property: SQL Server configuration management settings.String
sqlImageOffer()
Gets the sqlImageOffer property: SQL image offer.SqlImageSku
sqlImageSku()
Gets the sqlImageSku property: SQL Server edition type.SqlManagementMode
sqlManagement()
Gets the sqlManagement property: SQL Server Management type.SqlServerLicenseType
sqlServerLicenseType()
Gets the sqlServerLicenseType property: SQL Server license type.String
sqlVirtualMachineGroupResourceId()
Gets the sqlVirtualMachineGroupResourceId property: ARM resource id of the SQL virtual machine group this SQL virtual machine is or will be part of.void
startAssessment()
Starts Assessment on SQL virtual machine.void
startAssessment(com.azure.core.util.Context context)
Starts Assessment on SQL virtual machine.StorageConfigurationSettings
storageConfigurationSettings()
Gets the storageConfigurationSettings property: Storage Configuration Settings.com.azure.core.management.SystemData
systemData()
Gets the systemData property: Metadata pertaining to creation and last modification of the resource.Map<String,String>
tags()
Gets the tags property: Resource tags.String
type()
Gets the type property: The type of the resource.SqlVirtualMachine.Update
update()
Begins update for the SqlVirtualMachine resource.String
virtualMachineResourceId()
Gets the virtualMachineResourceId property: ARM Resource id of underlying virtual machine created from SQL marketplace image.WsfcDomainCredentials
wsfcDomainCredentials()
Gets the wsfcDomainCredentials property: Domain credentials for setting up Windows Server Failover Cluster for SQL availability group.
-
-
-
Method Detail
-
id
String id()
Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()
Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()
Gets the type property: The type of the resource.- Returns:
- the type value.
-
location
String location()
Gets the location property: The geo-location where the resource lives.- Returns:
- the location value.
-
identity
ResourceIdentity identity()
Gets the identity property: Azure Active Directory identity of the server.- Returns:
- the identity value.
-
systemData
com.azure.core.management.SystemData systemData()
Gets the systemData property: Metadata pertaining to creation and last modification of the resource.- Returns:
- the systemData value.
-
virtualMachineResourceId
String virtualMachineResourceId()
Gets the virtualMachineResourceId property: ARM Resource id of underlying virtual machine created from SQL marketplace image.- Returns:
- the virtualMachineResourceId value.
-
provisioningState
String provisioningState()
Gets the provisioningState property: Provisioning state to track the async operation status.- Returns:
- the provisioningState value.
-
sqlImageOffer
String sqlImageOffer()
Gets the sqlImageOffer property: SQL image offer. Examples include SQL2016-WS2016, SQL2017-WS2016.- Returns:
- the sqlImageOffer value.
-
sqlServerLicenseType
SqlServerLicenseType sqlServerLicenseType()
Gets the sqlServerLicenseType property: SQL Server license type.- Returns:
- the sqlServerLicenseType value.
-
sqlManagement
SqlManagementMode sqlManagement()
Gets the sqlManagement property: SQL Server Management type.- Returns:
- the sqlManagement value.
-
sqlImageSku
SqlImageSku sqlImageSku()
Gets the sqlImageSku property: SQL Server edition type.- Returns:
- the sqlImageSku value.
-
sqlVirtualMachineGroupResourceId
String sqlVirtualMachineGroupResourceId()
Gets the sqlVirtualMachineGroupResourceId property: ARM resource id of the SQL virtual machine group this SQL virtual machine is or will be part of.- Returns:
- the sqlVirtualMachineGroupResourceId value.
-
wsfcDomainCredentials
WsfcDomainCredentials wsfcDomainCredentials()
Gets the wsfcDomainCredentials property: Domain credentials for setting up Windows Server Failover Cluster for SQL availability group.- Returns:
- the wsfcDomainCredentials value.
-
autoPatchingSettings
AutoPatchingSettings autoPatchingSettings()
Gets the autoPatchingSettings property: Auto patching settings for applying critical security updates to SQL virtual machine.- Returns:
- the autoPatchingSettings value.
-
autoBackupSettings
AutoBackupSettings autoBackupSettings()
Gets the autoBackupSettings property: Auto backup settings for SQL Server.- Returns:
- the autoBackupSettings value.
-
keyVaultCredentialSettings
KeyVaultCredentialSettings keyVaultCredentialSettings()
Gets the keyVaultCredentialSettings property: Key vault credential settings.- Returns:
- the keyVaultCredentialSettings value.
-
serverConfigurationsManagementSettings
ServerConfigurationsManagementSettings serverConfigurationsManagementSettings()
Gets the serverConfigurationsManagementSettings property: SQL Server configuration management settings.- Returns:
- the serverConfigurationsManagementSettings value.
-
storageConfigurationSettings
StorageConfigurationSettings storageConfigurationSettings()
Gets the storageConfigurationSettings property: Storage Configuration Settings.- Returns:
- the storageConfigurationSettings value.
-
assessmentSettings
AssessmentSettings assessmentSettings()
Gets the assessmentSettings property: Assessment Settings.- Returns:
- the assessmentSettings value.
-
region
com.azure.core.management.Region region()
Gets the region of the resource.- Returns:
- the region of the resource.
-
regionName
String regionName()
Gets the name of the resource region.- Returns:
- the name of the resource region.
-
innerModel
SqlVirtualMachineInner innerModel()
Gets the inner com.azure.resourcemanager.sqlvirtualmachine.fluent.models.SqlVirtualMachineInner object.- Returns:
- the inner object.
-
update
SqlVirtualMachine.Update update()
Begins update for the SqlVirtualMachine resource.- Returns:
- the stage of resource update.
-
refresh
SqlVirtualMachine refresh()
Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
SqlVirtualMachine refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-
redeploy
void redeploy()
Uninstalls and reinstalls the SQL Iaas Extension.- Throws:
com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
redeploy
void redeploy(com.azure.core.util.Context context)
Uninstalls and reinstalls the SQL Iaas Extension.- Parameters:
context
- The context to associate with this operation.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
startAssessment
void startAssessment()
Starts Assessment on SQL virtual machine.- Throws:
com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
startAssessment
void startAssessment(com.azure.core.util.Context context)
Starts Assessment on SQL virtual machine.- Parameters:
context
- The context to associate with this operation.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
-