SapDatabaseInstanceInner Class

public final class SapDatabaseInstanceInner
extends Resource

Define the Database resource.

Constructor Summary

Constructor Description
SapDatabaseInstanceInner()

Creates an instance of SapDatabaseInstanceInner class.

Method Summary

Modifier and Type Method and Description
String databaseSid()

Get the databaseSid property: Database SID name.

String databaseType()

Get the databaseType property: Database type, that is if the DB is HANA, DB2, Oracle, SAP ASE, Max DB or MS SQL Server.

SapVirtualInstanceError errors()

Get the errors property: Defines the errors related to Database resource.

static SapDatabaseInstanceInner fromJson(JsonReader jsonReader)

Reads an instance of SapDatabaseInstanceInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String ipAddress()

Get the ipAddress property: Database IP Address.

LoadBalancerDetails loadBalancerDetails()

Get the loadBalancerDetails property: The Load Balancer details such as LoadBalancer ID attached to Database Virtual Machines.

String name()

Get the name property: The name of the resource.

SapVirtualInstanceProvisioningState provisioningState()

Get the provisioningState property: Defines the provisioning states.

SapVirtualInstanceStatus status()

Get the status property: Defines the SAP Instance status.

String subnet()

Get the subnet property: Database subnet.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

List<DatabaseVmDetails> vmDetails()

Get the vmDetails property: The list of virtual machines corresponding to the Database resource.

SapDatabaseInstanceInner withLocation(String location)
SapDatabaseInstanceInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

SapDatabaseInstanceInner

public SapDatabaseInstanceInner()

Creates an instance of SapDatabaseInstanceInner class.

Method Details

databaseSid

public String databaseSid()

Get the databaseSid property: Database SID name.

Returns:

the databaseSid value.

databaseType

public String databaseType()

Get 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.

errors

public SapVirtualInstanceError errors()

Get the errors property: Defines the errors related to Database resource.

Returns:

the errors value.

fromJson

public static SapDatabaseInstanceInner fromJson(JsonReader jsonReader)

Reads an instance of SapDatabaseInstanceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SapDatabaseInstanceInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

SapDatabaseInstanceInner.id()

Returns:

the id value.

ipAddress

public String ipAddress()

Get the ipAddress property: Database IP Address.

Returns:

the ipAddress value.

loadBalancerDetails

public LoadBalancerDetails loadBalancerDetails()

Get the loadBalancerDetails property: The Load Balancer details such as LoadBalancer ID attached to Database Virtual Machines.

Returns:

the loadBalancerDetails value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

SapDatabaseInstanceInner.name()

Returns:

the name value.

provisioningState

public SapVirtualInstanceProvisioningState provisioningState()

Get the provisioningState property: Defines the provisioning states.

Returns:

the provisioningState value.

status

public SapVirtualInstanceStatus status()

Get the status property: Defines the SAP Instance status.

Returns:

the status value.

subnet

public String subnet()

Get the subnet property: Database subnet.

Returns:

the subnet value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SapDatabaseInstanceInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

SapDatabaseInstanceInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

vmDetails

public List<DatabaseVmDetails> vmDetails()

Get the vmDetails property: The list of virtual machines corresponding to the Database resource.

Returns:

the vmDetails value.

withLocation

public SapDatabaseInstanceInner withLocation(String location)

Overrides:

SapDatabaseInstanceInner.withLocation(String location)

Parameters:

location

withTags

public SapDatabaseInstanceInner withTags(Map<String,String> tags)

Overrides:

SapDatabaseInstanceInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to