Interface SapDatabaseInstance
public interface SapDatabaseInstance
An immutable client-side representation of SapDatabaseInstance.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the SapDatabaseInstance definition.static interface
The SapDatabaseInstance definition stages.static interface
The template for SapDatabaseInstance update.static interface
The SapDatabaseInstance update stages. -
Method Summary
Modifier and TypeMethodDescriptionGets the databaseSid property: Database SID name.Gets the databaseType property: Database type, that is if the DB is HANA, DB2, Oracle, SAP ASE, Max DB or MS SQL Server.errors()
Gets the errors property: Defines the errors related to Database resource.id()
Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.workloads.fluent.models.SapDatabaseInstanceInner object.Gets the ipAddress property: Database IP Address.Gets the loadBalancerDetails property: The Load Balancer details such as LoadBalancer ID attached to Database Virtual Machines.location()
Gets the location property: The geo-location where the resource lives.name()
Gets the name property: The name of the resource.Gets the provisioningState property: Defines the provisioning states.refresh()
Refreshes the resource to sync with Azure.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.Gets the name of the resource region.Gets the name of the resource group.Starts the database instance of the SAP system.startInstance
(com.azure.core.util.Context context) Starts the database instance of the SAP system.status()
Gets the status property: Defines the SAP Instance status.Stops the database instance of the SAP system.stopInstance
(StopRequest body, com.azure.core.util.Context context) Stops the database instance of the SAP system.subnet()
Gets the subnet property: Database subnet.com.azure.core.management.SystemData
Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.tags()
Gets the tags property: Resource tags.type()
Gets the type property: The type of the resource.update()
Begins update for the SapDatabaseInstance resource.Gets the vmDetails property: The list of virtual machines corresponding to the Database resource.
-
Method Details
-
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.
-
tags
Gets the tags property: Resource tags.- Returns:
- the tags value.
-
systemData
com.azure.core.management.SystemData systemData()Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Returns:
- the systemData value.
-
subnet
String subnet()Gets the subnet property: Database subnet.- Returns:
- the subnet value.
-
databaseSid
String databaseSid()Gets the databaseSid property: Database SID name.- Returns:
- the databaseSid value.
-
databaseType
String databaseType()Gets the databaseType property: Database type, that is if the DB is HANA, DB2, Oracle, SAP ASE, Max DB or MS SQL Server.- Returns:
- the databaseType value.
-
ipAddress
String ipAddress()Gets the ipAddress property: Database IP Address.- Returns:
- the ipAddress value.
-
loadBalancerDetails
LoadBalancerDetails loadBalancerDetails()Gets the loadBalancerDetails property: The Load Balancer details such as LoadBalancer ID attached to Database Virtual Machines.- Returns:
- the loadBalancerDetails value.
-
vmDetails
List<DatabaseVmDetails> vmDetails()Gets the vmDetails property: The list of virtual machines corresponding to the Database resource.- Returns:
- the vmDetails value.
-
status
SapVirtualInstanceStatus status()Gets the status property: Defines the SAP Instance status.- Returns:
- the status value.
-
provisioningState
SapVirtualInstanceProvisioningState provisioningState()Gets the provisioningState property: Defines the provisioning states.- Returns:
- the provisioningState value.
-
errors
SapVirtualInstanceError errors()Gets the errors property: Defines the errors related to Database resource.- Returns:
- the errors 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.
-
resourceGroupName
String resourceGroupName()Gets the name of the resource group.- Returns:
- the name of the resource group.
-
innerModel
SapDatabaseInstanceInner innerModel()Gets the inner com.azure.resourcemanager.workloads.fluent.models.SapDatabaseInstanceInner object.- Returns:
- the inner object.
-
update
SapDatabaseInstance.Update update()Begins update for the SapDatabaseInstance resource.- Returns:
- the stage of resource update.
-
refresh
SapDatabaseInstance refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-
startInstance
OperationStatusResult startInstance()Starts the database instance of the SAP system.- Returns:
- the current status of an async operation.
- 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.
-
startInstance
Starts the database instance of the SAP system.- Parameters:
context
- The context to associate with this operation.- Returns:
- the current status of an async 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.
-
stopInstance
OperationStatusResult stopInstance()Stops the database instance of the SAP system.- Returns:
- the current status of an async operation.
- 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.
-
stopInstance
Stops the database instance of the SAP system.- Parameters:
body
- Stop request for the database instance of the SAP system.context
- The context to associate with this operation.- Returns:
- the current status of an async 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.
-