SqlVirtualMachineInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. sqlvirtualmachine. fluent. models. SqlVirtualMachineInner
- com.
- com.
- com.
public final class SqlVirtualMachineInner
extends Resource
A SQL virtual machine.
Constructor Summary
Constructor | Description |
---|---|
SqlVirtualMachineInner() |
Creates an instance of Sql |
Method Summary
Modifier and Type | Method and Description |
---|---|
Assessment |
assessmentSettings()
Get the assessment |
Auto |
autoBackupSettings()
Get the auto |
Auto |
autoPatchingSettings()
Get the auto |
Boolean |
enableAutomaticUpgrade()
Get the enable |
Resource |
identity()
Get the identity property: Azure Active Directory identity of the server. |
Key |
keyVaultCredentialSettings()
Get the key |
Least |
leastPrivilegeMode()
Get the least |
String |
provisioningState()
Get the provisioning |
Server |
serverConfigurationsManagementSettings()
Get the server |
String |
sqlImageOffer()
Get the sql |
Sql |
sqlImageSku()
Get the sql |
Sql |
sqlManagement()
Get the sql |
Sql |
sqlServerLicenseType()
Get the sql |
String |
sqlVirtualMachineGroupResourceId()
Get the sql |
Storage |
storageConfigurationSettings()
Get the storage |
System |
systemData()
Get the system |
Troubleshooting |
troubleshootingStatus()
Get the troubleshooting |
void |
validate()
Validates the instance. |
String |
virtualMachineResourceId()
Get the virtual |
Sql |
withAssessmentSettings(AssessmentSettings assessmentSettings)
Set the assessment |
Sql |
withAutoBackupSettings(AutoBackupSettings autoBackupSettings)
Set the auto |
Sql |
withAutoPatchingSettings(AutoPatchingSettings autoPatchingSettings)
Set the auto |
Sql |
withEnableAutomaticUpgrade(Boolean enableAutomaticUpgrade)
Set the enable |
Sql |
withIdentity(ResourceIdentity identity)
Set the identity property: Azure Active Directory identity of the server. |
Sql |
withKeyVaultCredentialSettings(KeyVaultCredentialSettings keyVaultCredentialSettings)
Set the key |
Sql |
withLeastPrivilegeMode(LeastPrivilegeMode leastPrivilegeMode)
Set the least |
Sql |
withLocation(String location) |
Sql |
withServerConfigurationsManagementSettings(ServerConfigurationsManagementSettings serverConfigurationsManagementSettings)
Set the server |
Sql |
withSqlImageOffer(String sqlImageOffer)
Set the sql |
Sql |
withSqlImageSku(SqlImageSku sqlImageSku)
Set the sql |
Sql |
withSqlManagement(SqlManagementMode sqlManagement)
Set the sql |
Sql |
withSqlServerLicenseType(SqlServerLicenseType sqlServerLicenseType)
Set the sql |
Sql |
withSqlVirtualMachineGroupResourceId(String sqlVirtualMachineGroupResourceId)
Set the sql |
Sql |
withStorageConfigurationSettings(StorageConfigurationSettings storageConfigurationSettings)
Set the storage |
Sql |
withTags(Map<String,String> tags) |
Sql |
withVirtualMachineResourceId(String virtualMachineResourceId)
Set the virtual |
Sql |
withWsfcDomainCredentials(WsfcDomainCredentials wsfcDomainCredentials)
Set the wsfc |
Sql |
withWsfcStaticIp(String wsfcStaticIp)
Set the wsfc |
Wsfc |
wsfcDomainCredentials()
Get the wsfc |
String |
wsfcStaticIp()
Get the wsfc |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
SqlVirtualMachineInner
public SqlVirtualMachineInner()
Creates an instance of SqlVirtualMachineInner class.
Method Details
assessmentSettings
public AssessmentSettings assessmentSettings()
Get the assessmentSettings property: SQL best practices Assessment Settings.
Returns:
autoBackupSettings
public AutoBackupSettings autoBackupSettings()
Get the autoBackupSettings property: Auto backup settings for SQL Server.
Returns:
autoPatchingSettings
public AutoPatchingSettings autoPatchingSettings()
Get the autoPatchingSettings property: Auto patching settings for applying critical security updates to SQL virtual machine.
Returns:
enableAutomaticUpgrade
public Boolean enableAutomaticUpgrade()
Get the enableAutomaticUpgrade property: Enable automatic upgrade of Sql IaaS extension Agent.
Returns:
identity
public ResourceIdentity identity()
Get the identity property: Azure Active Directory identity of the server.
Returns:
keyVaultCredentialSettings
public KeyVaultCredentialSettings keyVaultCredentialSettings()
Get the keyVaultCredentialSettings property: Key vault credential settings.
Returns:
leastPrivilegeMode
public LeastPrivilegeMode leastPrivilegeMode()
Get the leastPrivilegeMode property: SQL IaaS Agent least privilege mode.
Returns:
provisioningState
public String provisioningState()
Get the provisioningState property: Provisioning state to track the async operation status.
Returns:
serverConfigurationsManagementSettings
public ServerConfigurationsManagementSettings serverConfigurationsManagementSettings()
Get the serverConfigurationsManagementSettings property: SQL Server configuration management settings.
Returns:
sqlImageOffer
public String sqlImageOffer()
Get the sqlImageOffer property: SQL image offer. Examples include SQL2016-WS2016, SQL2017-WS2016.
Returns:
sqlImageSku
public SqlImageSku sqlImageSku()
Get the sqlImageSku property: SQL Server edition type.
Returns:
sqlManagement
public SqlManagementMode sqlManagement()
Get the sqlManagement property: SQL Server Management type.
Returns:
sqlServerLicenseType
public SqlServerLicenseType sqlServerLicenseType()
Get the sqlServerLicenseType property: SQL Server license type.
Returns:
sqlVirtualMachineGroupResourceId
public String sqlVirtualMachineGroupResourceId()
Get the sqlVirtualMachineGroupResourceId property: ARM resource id of the SQL virtual machine group this SQL virtual machine is or will be part of.
Returns:
storageConfigurationSettings
public StorageConfigurationSettings storageConfigurationSettings()
Get the storageConfigurationSettings property: Storage Configuration Settings.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.
Returns:
troubleshootingStatus
public TroubleshootingStatus troubleshootingStatus()
Get the troubleshootingStatus property: Troubleshooting status.
Returns:
validate
public void validate()
Validates the instance.
virtualMachineResourceId
public String virtualMachineResourceId()
Get the virtualMachineResourceId property: ARM Resource id of underlying virtual machine created from SQL marketplace image.
Returns:
withAssessmentSettings
public SqlVirtualMachineInner withAssessmentSettings(AssessmentSettings assessmentSettings)
Set the assessmentSettings property: SQL best practices Assessment Settings.
Parameters:
Returns:
withAutoBackupSettings
public SqlVirtualMachineInner withAutoBackupSettings(AutoBackupSettings autoBackupSettings)
Set the autoBackupSettings property: Auto backup settings for SQL Server.
Parameters:
Returns:
withAutoPatchingSettings
public SqlVirtualMachineInner withAutoPatchingSettings(AutoPatchingSettings autoPatchingSettings)
Set the autoPatchingSettings property: Auto patching settings for applying critical security updates to SQL virtual machine.
Parameters:
Returns:
withEnableAutomaticUpgrade
public SqlVirtualMachineInner withEnableAutomaticUpgrade(Boolean enableAutomaticUpgrade)
Set the enableAutomaticUpgrade property: Enable automatic upgrade of Sql IaaS extension Agent.
Parameters:
Returns:
withIdentity
public SqlVirtualMachineInner withIdentity(ResourceIdentity identity)
Set the identity property: Azure Active Directory identity of the server.
Parameters:
Returns:
withKeyVaultCredentialSettings
public SqlVirtualMachineInner withKeyVaultCredentialSettings(KeyVaultCredentialSettings keyVaultCredentialSettings)
Set the keyVaultCredentialSettings property: Key vault credential settings.
Parameters:
Returns:
withLeastPrivilegeMode
public SqlVirtualMachineInner withLeastPrivilegeMode(LeastPrivilegeMode leastPrivilegeMode)
Set the leastPrivilegeMode property: SQL IaaS Agent least privilege mode.
Parameters:
Returns:
withLocation
public SqlVirtualMachineInner withLocation(String location)
Overrides:
SqlVirtualMachineInner.withLocation(String location)Parameters:
withServerConfigurationsManagementSettings
public SqlVirtualMachineInner withServerConfigurationsManagementSettings(ServerConfigurationsManagementSettings serverConfigurationsManagementSettings)
Set the serverConfigurationsManagementSettings property: SQL Server configuration management settings.
Parameters:
Returns:
withSqlImageOffer
public SqlVirtualMachineInner withSqlImageOffer(String sqlImageOffer)
Set the sqlImageOffer property: SQL image offer. Examples include SQL2016-WS2016, SQL2017-WS2016.
Parameters:
Returns:
withSqlImageSku
public SqlVirtualMachineInner withSqlImageSku(SqlImageSku sqlImageSku)
Set the sqlImageSku property: SQL Server edition type.
Parameters:
Returns:
withSqlManagement
public SqlVirtualMachineInner withSqlManagement(SqlManagementMode sqlManagement)
Set the sqlManagement property: SQL Server Management type.
Parameters:
Returns:
withSqlServerLicenseType
public SqlVirtualMachineInner withSqlServerLicenseType(SqlServerLicenseType sqlServerLicenseType)
Set the sqlServerLicenseType property: SQL Server license type.
Parameters:
Returns:
withSqlVirtualMachineGroupResourceId
public SqlVirtualMachineInner withSqlVirtualMachineGroupResourceId(String sqlVirtualMachineGroupResourceId)
Set the sqlVirtualMachineGroupResourceId property: ARM resource id of the SQL virtual machine group this SQL virtual machine is or will be part of.
Parameters:
Returns:
withStorageConfigurationSettings
public SqlVirtualMachineInner withStorageConfigurationSettings(StorageConfigurationSettings storageConfigurationSettings)
Set the storageConfigurationSettings property: Storage Configuration Settings.
Parameters:
Returns:
withTags
public SqlVirtualMachineInner withTags(Map
Overrides:
SqlVirtualMachineInner.withTags(Map<String,String> tags)Parameters:
withVirtualMachineResourceId
public SqlVirtualMachineInner withVirtualMachineResourceId(String virtualMachineResourceId)
Set the virtualMachineResourceId property: ARM Resource id of underlying virtual machine created from SQL marketplace image.
Parameters:
Returns:
withWsfcDomainCredentials
public SqlVirtualMachineInner withWsfcDomainCredentials(WsfcDomainCredentials wsfcDomainCredentials)
Set the wsfcDomainCredentials property: Domain credentials for setting up Windows Server Failover Cluster for SQL availability group.
Parameters:
Returns:
withWsfcStaticIp
public SqlVirtualMachineInner withWsfcStaticIp(String wsfcStaticIp)
Set the wsfcStaticIp property: Domain credentials for setting up Windows Server Failover Cluster for SQL availability group.
Parameters:
Returns:
wsfcDomainCredentials
public WsfcDomainCredentials wsfcDomainCredentials()
Get the wsfcDomainCredentials property: Domain credentials for setting up Windows Server Failover Cluster for SQL availability group.
Returns:
wsfcStaticIp
public String wsfcStaticIp()
Get the wsfcStaticIp property: Domain credentials for setting up Windows Server Failover Cluster for SQL availability group.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for