Reference documentation and code samples for the Google Cloud Oracle Database V1 Client class DbNodeProperties.
Various properties and settings associated with Db node.
Generated from protobuf message google.cloud.oracledatabase.v1.DbNodeProperties
Namespace
Google \ Cloud \ OracleDatabase \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ ocid |
string
Output only. OCID of database node. |
↳ ocpu_count |
int
Optional. OCPU count per database node. |
↳ memory_size_gb |
int
Memory allocated in GBs. |
↳ db_node_storage_size_gb |
int
Optional. Local storage per database node. |
↳ db_server_ocid |
string
Optional. Database server OCID. |
↳ hostname |
string
Optional. DNS |
↳ state |
int
Output only. State of the database node. |
↳ total_cpu_core_count |
int
Total CPU core count of the database node. |
getOcid
Output only. OCID of database node.
| Returns | |
|---|---|
| Type | Description |
string |
|
setOcid
Output only. OCID of database node.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getOcpuCount
Optional. OCPU count per database node.
| Returns | |
|---|---|
| Type | Description |
int |
|
setOcpuCount
Optional. OCPU count per database node.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMemorySizeGb
Memory allocated in GBs.
| Returns | |
|---|---|
| Type | Description |
int |
|
setMemorySizeGb
Memory allocated in GBs.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDbNodeStorageSizeGb
Optional. Local storage per database node.
| Returns | |
|---|---|
| Type | Description |
int |
|
setDbNodeStorageSizeGb
Optional. Local storage per database node.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDbServerOcid
Optional. Database server OCID.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDbServerOcid
Optional. Database server OCID.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getHostname
Optional. DNS
| Returns | |
|---|---|
| Type | Description |
string |
|
setHostname
Optional. DNS
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getState
Output only. State of the database node.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type State. |
setState
Output only. State of the database node.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type State. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTotalCpuCoreCount
Total CPU core count of the database node.
| Returns | |
|---|---|
| Type | Description |
int |
|
setTotalCpuCoreCount
Total CPU core count of the database node.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|