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
ConstructorDescriptionCreates an instance of SingleServerConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionGet the customResourceNames property: The set of custom names to be used for underlying azure resources that are part of the SAP system.Get the databaseType property: The database type.Get the dbDiskConfiguration property: Gets or sets the disk configuration.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.withCustomResourceNames
(SingleServerCustomResourceNames customResourceNames) Set the customResourceNames property: The set of custom names to be used for underlying azure resources that are part of the SAP system.withDatabaseType
(SapDatabaseType databaseType) Set the databaseType property: The database type.withDbDiskConfiguration
(DiskConfiguration dbDiskConfiguration) Set the dbDiskConfiguration property: Gets or sets the disk configuration.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()Creates an instance of SingleServerConfiguration class.
-
-
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.
-
dbDiskConfiguration
Get the dbDiskConfiguration property: Gets or sets the disk configuration.- Returns:
- the dbDiskConfiguration value.
-
withDbDiskConfiguration
Set the dbDiskConfiguration property: Gets or sets the disk configuration.- Parameters:
dbDiskConfiguration
- the dbDiskConfiguration value to set.- Returns:
- the SingleServerConfiguration object itself.
-
customResourceNames
Get the customResourceNames property: The set of custom names to be used for underlying azure resources that are part of the SAP system.- Returns:
- the customResourceNames value.
-
withCustomResourceNames
public SingleServerConfiguration withCustomResourceNames(SingleServerCustomResourceNames customResourceNames) Set the customResourceNames property: The set of custom names to be used for underlying azure resources that are part of the SAP system.- Parameters:
customResourceNames
- the customResourceNames 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.
-