Class SingleServerConfiguration
java.lang.Object
com.azure.resourcemanager.workloads.models.InfrastructureConfiguration
com.azure.resourcemanager.workloads.models.SingleServerConfiguration
Gets or sets the single server configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the databaseType property: The database type.Get the networkConfiguration property: Network configuration for the server.subnetId()
Get the subnetId property: The subnet id.void
validate()
Validates the instance.Get the virtualMachineConfiguration property: Gets or sets the virtual machine configuration.withAppResourceGroup
(String appResourceGroup) Set the appResourceGroup property: The application resource group where SAP system resources will be deployed.withDatabaseType
(SapDatabaseType databaseType) Set the databaseType property: The database type.withNetworkConfiguration
(NetworkConfiguration networkConfiguration) Set the networkConfiguration property: Network configuration for the server.withSubnetId
(String subnetId) Set the subnetId property: The subnet id.withVirtualMachineConfiguration
(VirtualMachineConfiguration virtualMachineConfiguration) Set the virtualMachineConfiguration property: Gets or sets the virtual machine configuration.Methods inherited from class com.azure.resourcemanager.workloads.models.InfrastructureConfiguration
appResourceGroup
-
Constructor Details
-
SingleServerConfiguration
public SingleServerConfiguration()
-
-
Method Details
-
networkConfiguration
Get the networkConfiguration property: Network configuration for the server.- Returns:
- the networkConfiguration value.
-
withNetworkConfiguration
public SingleServerConfiguration withNetworkConfiguration(NetworkConfiguration networkConfiguration) Set the networkConfiguration property: Network configuration for the server.- Parameters:
networkConfiguration
- the networkConfiguration value to set.- Returns:
- the SingleServerConfiguration object itself.
-
databaseType
Get the databaseType property: The database type.- Returns:
- the databaseType value.
-
withDatabaseType
Set the databaseType property: The database type.- Parameters:
databaseType
- the databaseType value to set.- Returns:
- the SingleServerConfiguration object itself.
-
subnetId
Get the subnetId property: The subnet id.- Returns:
- the subnetId value.
-
withSubnetId
Set the subnetId property: The subnet id.- Parameters:
subnetId
- the subnetId value to set.- Returns:
- the SingleServerConfiguration object itself.
-
virtualMachineConfiguration
Get the virtualMachineConfiguration property: Gets or sets the virtual machine configuration.- Returns:
- the virtualMachineConfiguration value.
-
withVirtualMachineConfiguration
public SingleServerConfiguration withVirtualMachineConfiguration(VirtualMachineConfiguration virtualMachineConfiguration) Set the virtualMachineConfiguration property: Gets or sets the virtual machine configuration.- Parameters:
virtualMachineConfiguration
- the virtualMachineConfiguration value to set.- Returns:
- the SingleServerConfiguration object itself.
-
withAppResourceGroup
Set the appResourceGroup property: The application resource group where SAP system resources will be deployed.- Overrides:
withAppResourceGroup
in classInfrastructureConfiguration
- Parameters:
appResourceGroup
- the appResourceGroup value to set.- Returns:
- the InfrastructureConfiguration object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classInfrastructureConfiguration
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-