[e3d4e0a] | 1 | <?php
|
---|
| 2 | /*
|
---|
| 3 | * Copyright 2014 Google Inc.
|
---|
| 4 | *
|
---|
| 5 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
---|
| 6 | * use this file except in compliance with the License. You may obtain a copy of
|
---|
| 7 | * the License at
|
---|
| 8 | *
|
---|
| 9 | * http://www.apache.org/licenses/LICENSE-2.0
|
---|
| 10 | *
|
---|
| 11 | * Unless required by applicable law or agreed to in writing, software
|
---|
| 12 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
---|
| 13 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
---|
| 14 | * License for the specific language governing permissions and limitations under
|
---|
| 15 | * the License.
|
---|
| 16 | */
|
---|
| 17 |
|
---|
| 18 | namespace Google\Service\OracleDatabase;
|
---|
| 19 |
|
---|
| 20 | class CloudVmClusterProperties extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'sshPublicKeys';
|
---|
| 23 | /**
|
---|
| 24 | * @var string
|
---|
| 25 | */
|
---|
| 26 | public $clusterName;
|
---|
| 27 | /**
|
---|
| 28 | * @var string
|
---|
| 29 | */
|
---|
| 30 | public $compartmentId;
|
---|
| 31 | /**
|
---|
| 32 | * @var int
|
---|
| 33 | */
|
---|
| 34 | public $cpuCoreCount;
|
---|
| 35 | public $dataStorageSizeTb;
|
---|
| 36 | /**
|
---|
| 37 | * @var int
|
---|
| 38 | */
|
---|
| 39 | public $dbNodeStorageSizeGb;
|
---|
| 40 | /**
|
---|
| 41 | * @var string[]
|
---|
| 42 | */
|
---|
| 43 | public $dbServerOcids;
|
---|
| 44 | protected $diagnosticsDataCollectionOptionsType = DataCollectionOptions::class;
|
---|
| 45 | protected $diagnosticsDataCollectionOptionsDataType = '';
|
---|
| 46 | /**
|
---|
| 47 | * @var string
|
---|
| 48 | */
|
---|
| 49 | public $diskRedundancy;
|
---|
| 50 | /**
|
---|
| 51 | * @var string
|
---|
| 52 | */
|
---|
| 53 | public $dnsListenerIp;
|
---|
| 54 | /**
|
---|
| 55 | * @var string
|
---|
| 56 | */
|
---|
| 57 | public $domain;
|
---|
| 58 | /**
|
---|
| 59 | * @var string
|
---|
| 60 | */
|
---|
| 61 | public $giVersion;
|
---|
| 62 | /**
|
---|
| 63 | * @var string
|
---|
| 64 | */
|
---|
| 65 | public $hostname;
|
---|
| 66 | /**
|
---|
| 67 | * @var string
|
---|
| 68 | */
|
---|
| 69 | public $hostnamePrefix;
|
---|
| 70 | /**
|
---|
| 71 | * @var string
|
---|
| 72 | */
|
---|
| 73 | public $licenseType;
|
---|
| 74 | /**
|
---|
| 75 | * @var bool
|
---|
| 76 | */
|
---|
| 77 | public $localBackupEnabled;
|
---|
| 78 | /**
|
---|
| 79 | * @var int
|
---|
| 80 | */
|
---|
| 81 | public $memorySizeGb;
|
---|
| 82 | /**
|
---|
| 83 | * @var int
|
---|
| 84 | */
|
---|
| 85 | public $nodeCount;
|
---|
| 86 | /**
|
---|
| 87 | * @var string
|
---|
| 88 | */
|
---|
| 89 | public $ociUrl;
|
---|
| 90 | /**
|
---|
| 91 | * @var string
|
---|
| 92 | */
|
---|
| 93 | public $ocid;
|
---|
| 94 | /**
|
---|
| 95 | * @var float
|
---|
| 96 | */
|
---|
| 97 | public $ocpuCount;
|
---|
| 98 | /**
|
---|
| 99 | * @var string
|
---|
| 100 | */
|
---|
| 101 | public $scanDns;
|
---|
| 102 | /**
|
---|
| 103 | * @var string
|
---|
| 104 | */
|
---|
| 105 | public $scanDnsRecordId;
|
---|
| 106 | /**
|
---|
| 107 | * @var string[]
|
---|
| 108 | */
|
---|
| 109 | public $scanIpIds;
|
---|
| 110 | /**
|
---|
| 111 | * @var int
|
---|
| 112 | */
|
---|
| 113 | public $scanListenerPortTcp;
|
---|
| 114 | /**
|
---|
| 115 | * @var int
|
---|
| 116 | */
|
---|
| 117 | public $scanListenerPortTcpSsl;
|
---|
| 118 | /**
|
---|
| 119 | * @var string
|
---|
| 120 | */
|
---|
| 121 | public $shape;
|
---|
| 122 | /**
|
---|
| 123 | * @var bool
|
---|
| 124 | */
|
---|
| 125 | public $sparseDiskgroupEnabled;
|
---|
| 126 | /**
|
---|
| 127 | * @var string[]
|
---|
| 128 | */
|
---|
| 129 | public $sshPublicKeys;
|
---|
| 130 | /**
|
---|
| 131 | * @var string
|
---|
| 132 | */
|
---|
| 133 | public $state;
|
---|
| 134 | /**
|
---|
| 135 | * @var int
|
---|
| 136 | */
|
---|
| 137 | public $storageSizeGb;
|
---|
| 138 | /**
|
---|
| 139 | * @var string
|
---|
| 140 | */
|
---|
| 141 | public $systemVersion;
|
---|
| 142 | protected $timeZoneType = TimeZone::class;
|
---|
| 143 | protected $timeZoneDataType = '';
|
---|
| 144 |
|
---|
| 145 | /**
|
---|
| 146 | * @param string
|
---|
| 147 | */
|
---|
| 148 | public function setClusterName($clusterName)
|
---|
| 149 | {
|
---|
| 150 | $this->clusterName = $clusterName;
|
---|
| 151 | }
|
---|
| 152 | /**
|
---|
| 153 | * @return string
|
---|
| 154 | */
|
---|
| 155 | public function getClusterName()
|
---|
| 156 | {
|
---|
| 157 | return $this->clusterName;
|
---|
| 158 | }
|
---|
| 159 | /**
|
---|
| 160 | * @param string
|
---|
| 161 | */
|
---|
| 162 | public function setCompartmentId($compartmentId)
|
---|
| 163 | {
|
---|
| 164 | $this->compartmentId = $compartmentId;
|
---|
| 165 | }
|
---|
| 166 | /**
|
---|
| 167 | * @return string
|
---|
| 168 | */
|
---|
| 169 | public function getCompartmentId()
|
---|
| 170 | {
|
---|
| 171 | return $this->compartmentId;
|
---|
| 172 | }
|
---|
| 173 | /**
|
---|
| 174 | * @param int
|
---|
| 175 | */
|
---|
| 176 | public function setCpuCoreCount($cpuCoreCount)
|
---|
| 177 | {
|
---|
| 178 | $this->cpuCoreCount = $cpuCoreCount;
|
---|
| 179 | }
|
---|
| 180 | /**
|
---|
| 181 | * @return int
|
---|
| 182 | */
|
---|
| 183 | public function getCpuCoreCount()
|
---|
| 184 | {
|
---|
| 185 | return $this->cpuCoreCount;
|
---|
| 186 | }
|
---|
| 187 | public function setDataStorageSizeTb($dataStorageSizeTb)
|
---|
| 188 | {
|
---|
| 189 | $this->dataStorageSizeTb = $dataStorageSizeTb;
|
---|
| 190 | }
|
---|
| 191 | public function getDataStorageSizeTb()
|
---|
| 192 | {
|
---|
| 193 | return $this->dataStorageSizeTb;
|
---|
| 194 | }
|
---|
| 195 | /**
|
---|
| 196 | * @param int
|
---|
| 197 | */
|
---|
| 198 | public function setDbNodeStorageSizeGb($dbNodeStorageSizeGb)
|
---|
| 199 | {
|
---|
| 200 | $this->dbNodeStorageSizeGb = $dbNodeStorageSizeGb;
|
---|
| 201 | }
|
---|
| 202 | /**
|
---|
| 203 | * @return int
|
---|
| 204 | */
|
---|
| 205 | public function getDbNodeStorageSizeGb()
|
---|
| 206 | {
|
---|
| 207 | return $this->dbNodeStorageSizeGb;
|
---|
| 208 | }
|
---|
| 209 | /**
|
---|
| 210 | * @param string[]
|
---|
| 211 | */
|
---|
| 212 | public function setDbServerOcids($dbServerOcids)
|
---|
| 213 | {
|
---|
| 214 | $this->dbServerOcids = $dbServerOcids;
|
---|
| 215 | }
|
---|
| 216 | /**
|
---|
| 217 | * @return string[]
|
---|
| 218 | */
|
---|
| 219 | public function getDbServerOcids()
|
---|
| 220 | {
|
---|
| 221 | return $this->dbServerOcids;
|
---|
| 222 | }
|
---|
| 223 | /**
|
---|
| 224 | * @param DataCollectionOptions
|
---|
| 225 | */
|
---|
| 226 | public function setDiagnosticsDataCollectionOptions(DataCollectionOptions $diagnosticsDataCollectionOptions)
|
---|
| 227 | {
|
---|
| 228 | $this->diagnosticsDataCollectionOptions = $diagnosticsDataCollectionOptions;
|
---|
| 229 | }
|
---|
| 230 | /**
|
---|
| 231 | * @return DataCollectionOptions
|
---|
| 232 | */
|
---|
| 233 | public function getDiagnosticsDataCollectionOptions()
|
---|
| 234 | {
|
---|
| 235 | return $this->diagnosticsDataCollectionOptions;
|
---|
| 236 | }
|
---|
| 237 | /**
|
---|
| 238 | * @param string
|
---|
| 239 | */
|
---|
| 240 | public function setDiskRedundancy($diskRedundancy)
|
---|
| 241 | {
|
---|
| 242 | $this->diskRedundancy = $diskRedundancy;
|
---|
| 243 | }
|
---|
| 244 | /**
|
---|
| 245 | * @return string
|
---|
| 246 | */
|
---|
| 247 | public function getDiskRedundancy()
|
---|
| 248 | {
|
---|
| 249 | return $this->diskRedundancy;
|
---|
| 250 | }
|
---|
| 251 | /**
|
---|
| 252 | * @param string
|
---|
| 253 | */
|
---|
| 254 | public function setDnsListenerIp($dnsListenerIp)
|
---|
| 255 | {
|
---|
| 256 | $this->dnsListenerIp = $dnsListenerIp;
|
---|
| 257 | }
|
---|
| 258 | /**
|
---|
| 259 | * @return string
|
---|
| 260 | */
|
---|
| 261 | public function getDnsListenerIp()
|
---|
| 262 | {
|
---|
| 263 | return $this->dnsListenerIp;
|
---|
| 264 | }
|
---|
| 265 | /**
|
---|
| 266 | * @param string
|
---|
| 267 | */
|
---|
| 268 | public function setDomain($domain)
|
---|
| 269 | {
|
---|
| 270 | $this->domain = $domain;
|
---|
| 271 | }
|
---|
| 272 | /**
|
---|
| 273 | * @return string
|
---|
| 274 | */
|
---|
| 275 | public function getDomain()
|
---|
| 276 | {
|
---|
| 277 | return $this->domain;
|
---|
| 278 | }
|
---|
| 279 | /**
|
---|
| 280 | * @param string
|
---|
| 281 | */
|
---|
| 282 | public function setGiVersion($giVersion)
|
---|
| 283 | {
|
---|
| 284 | $this->giVersion = $giVersion;
|
---|
| 285 | }
|
---|
| 286 | /**
|
---|
| 287 | * @return string
|
---|
| 288 | */
|
---|
| 289 | public function getGiVersion()
|
---|
| 290 | {
|
---|
| 291 | return $this->giVersion;
|
---|
| 292 | }
|
---|
| 293 | /**
|
---|
| 294 | * @param string
|
---|
| 295 | */
|
---|
| 296 | public function setHostname($hostname)
|
---|
| 297 | {
|
---|
| 298 | $this->hostname = $hostname;
|
---|
| 299 | }
|
---|
| 300 | /**
|
---|
| 301 | * @return string
|
---|
| 302 | */
|
---|
| 303 | public function getHostname()
|
---|
| 304 | {
|
---|
| 305 | return $this->hostname;
|
---|
| 306 | }
|
---|
| 307 | /**
|
---|
| 308 | * @param string
|
---|
| 309 | */
|
---|
| 310 | public function setHostnamePrefix($hostnamePrefix)
|
---|
| 311 | {
|
---|
| 312 | $this->hostnamePrefix = $hostnamePrefix;
|
---|
| 313 | }
|
---|
| 314 | /**
|
---|
| 315 | * @return string
|
---|
| 316 | */
|
---|
| 317 | public function getHostnamePrefix()
|
---|
| 318 | {
|
---|
| 319 | return $this->hostnamePrefix;
|
---|
| 320 | }
|
---|
| 321 | /**
|
---|
| 322 | * @param string
|
---|
| 323 | */
|
---|
| 324 | public function setLicenseType($licenseType)
|
---|
| 325 | {
|
---|
| 326 | $this->licenseType = $licenseType;
|
---|
| 327 | }
|
---|
| 328 | /**
|
---|
| 329 | * @return string
|
---|
| 330 | */
|
---|
| 331 | public function getLicenseType()
|
---|
| 332 | {
|
---|
| 333 | return $this->licenseType;
|
---|
| 334 | }
|
---|
| 335 | /**
|
---|
| 336 | * @param bool
|
---|
| 337 | */
|
---|
| 338 | public function setLocalBackupEnabled($localBackupEnabled)
|
---|
| 339 | {
|
---|
| 340 | $this->localBackupEnabled = $localBackupEnabled;
|
---|
| 341 | }
|
---|
| 342 | /**
|
---|
| 343 | * @return bool
|
---|
| 344 | */
|
---|
| 345 | public function getLocalBackupEnabled()
|
---|
| 346 | {
|
---|
| 347 | return $this->localBackupEnabled;
|
---|
| 348 | }
|
---|
| 349 | /**
|
---|
| 350 | * @param int
|
---|
| 351 | */
|
---|
| 352 | public function setMemorySizeGb($memorySizeGb)
|
---|
| 353 | {
|
---|
| 354 | $this->memorySizeGb = $memorySizeGb;
|
---|
| 355 | }
|
---|
| 356 | /**
|
---|
| 357 | * @return int
|
---|
| 358 | */
|
---|
| 359 | public function getMemorySizeGb()
|
---|
| 360 | {
|
---|
| 361 | return $this->memorySizeGb;
|
---|
| 362 | }
|
---|
| 363 | /**
|
---|
| 364 | * @param int
|
---|
| 365 | */
|
---|
| 366 | public function setNodeCount($nodeCount)
|
---|
| 367 | {
|
---|
| 368 | $this->nodeCount = $nodeCount;
|
---|
| 369 | }
|
---|
| 370 | /**
|
---|
| 371 | * @return int
|
---|
| 372 | */
|
---|
| 373 | public function getNodeCount()
|
---|
| 374 | {
|
---|
| 375 | return $this->nodeCount;
|
---|
| 376 | }
|
---|
| 377 | /**
|
---|
| 378 | * @param string
|
---|
| 379 | */
|
---|
| 380 | public function setOciUrl($ociUrl)
|
---|
| 381 | {
|
---|
| 382 | $this->ociUrl = $ociUrl;
|
---|
| 383 | }
|
---|
| 384 | /**
|
---|
| 385 | * @return string
|
---|
| 386 | */
|
---|
| 387 | public function getOciUrl()
|
---|
| 388 | {
|
---|
| 389 | return $this->ociUrl;
|
---|
| 390 | }
|
---|
| 391 | /**
|
---|
| 392 | * @param string
|
---|
| 393 | */
|
---|
| 394 | public function setOcid($ocid)
|
---|
| 395 | {
|
---|
| 396 | $this->ocid = $ocid;
|
---|
| 397 | }
|
---|
| 398 | /**
|
---|
| 399 | * @return string
|
---|
| 400 | */
|
---|
| 401 | public function getOcid()
|
---|
| 402 | {
|
---|
| 403 | return $this->ocid;
|
---|
| 404 | }
|
---|
| 405 | /**
|
---|
| 406 | * @param float
|
---|
| 407 | */
|
---|
| 408 | public function setOcpuCount($ocpuCount)
|
---|
| 409 | {
|
---|
| 410 | $this->ocpuCount = $ocpuCount;
|
---|
| 411 | }
|
---|
| 412 | /**
|
---|
| 413 | * @return float
|
---|
| 414 | */
|
---|
| 415 | public function getOcpuCount()
|
---|
| 416 | {
|
---|
| 417 | return $this->ocpuCount;
|
---|
| 418 | }
|
---|
| 419 | /**
|
---|
| 420 | * @param string
|
---|
| 421 | */
|
---|
| 422 | public function setScanDns($scanDns)
|
---|
| 423 | {
|
---|
| 424 | $this->scanDns = $scanDns;
|
---|
| 425 | }
|
---|
| 426 | /**
|
---|
| 427 | * @return string
|
---|
| 428 | */
|
---|
| 429 | public function getScanDns()
|
---|
| 430 | {
|
---|
| 431 | return $this->scanDns;
|
---|
| 432 | }
|
---|
| 433 | /**
|
---|
| 434 | * @param string
|
---|
| 435 | */
|
---|
| 436 | public function setScanDnsRecordId($scanDnsRecordId)
|
---|
| 437 | {
|
---|
| 438 | $this->scanDnsRecordId = $scanDnsRecordId;
|
---|
| 439 | }
|
---|
| 440 | /**
|
---|
| 441 | * @return string
|
---|
| 442 | */
|
---|
| 443 | public function getScanDnsRecordId()
|
---|
| 444 | {
|
---|
| 445 | return $this->scanDnsRecordId;
|
---|
| 446 | }
|
---|
| 447 | /**
|
---|
| 448 | * @param string[]
|
---|
| 449 | */
|
---|
| 450 | public function setScanIpIds($scanIpIds)
|
---|
| 451 | {
|
---|
| 452 | $this->scanIpIds = $scanIpIds;
|
---|
| 453 | }
|
---|
| 454 | /**
|
---|
| 455 | * @return string[]
|
---|
| 456 | */
|
---|
| 457 | public function getScanIpIds()
|
---|
| 458 | {
|
---|
| 459 | return $this->scanIpIds;
|
---|
| 460 | }
|
---|
| 461 | /**
|
---|
| 462 | * @param int
|
---|
| 463 | */
|
---|
| 464 | public function setScanListenerPortTcp($scanListenerPortTcp)
|
---|
| 465 | {
|
---|
| 466 | $this->scanListenerPortTcp = $scanListenerPortTcp;
|
---|
| 467 | }
|
---|
| 468 | /**
|
---|
| 469 | * @return int
|
---|
| 470 | */
|
---|
| 471 | public function getScanListenerPortTcp()
|
---|
| 472 | {
|
---|
| 473 | return $this->scanListenerPortTcp;
|
---|
| 474 | }
|
---|
| 475 | /**
|
---|
| 476 | * @param int
|
---|
| 477 | */
|
---|
| 478 | public function setScanListenerPortTcpSsl($scanListenerPortTcpSsl)
|
---|
| 479 | {
|
---|
| 480 | $this->scanListenerPortTcpSsl = $scanListenerPortTcpSsl;
|
---|
| 481 | }
|
---|
| 482 | /**
|
---|
| 483 | * @return int
|
---|
| 484 | */
|
---|
| 485 | public function getScanListenerPortTcpSsl()
|
---|
| 486 | {
|
---|
| 487 | return $this->scanListenerPortTcpSsl;
|
---|
| 488 | }
|
---|
| 489 | /**
|
---|
| 490 | * @param string
|
---|
| 491 | */
|
---|
| 492 | public function setShape($shape)
|
---|
| 493 | {
|
---|
| 494 | $this->shape = $shape;
|
---|
| 495 | }
|
---|
| 496 | /**
|
---|
| 497 | * @return string
|
---|
| 498 | */
|
---|
| 499 | public function getShape()
|
---|
| 500 | {
|
---|
| 501 | return $this->shape;
|
---|
| 502 | }
|
---|
| 503 | /**
|
---|
| 504 | * @param bool
|
---|
| 505 | */
|
---|
| 506 | public function setSparseDiskgroupEnabled($sparseDiskgroupEnabled)
|
---|
| 507 | {
|
---|
| 508 | $this->sparseDiskgroupEnabled = $sparseDiskgroupEnabled;
|
---|
| 509 | }
|
---|
| 510 | /**
|
---|
| 511 | * @return bool
|
---|
| 512 | */
|
---|
| 513 | public function getSparseDiskgroupEnabled()
|
---|
| 514 | {
|
---|
| 515 | return $this->sparseDiskgroupEnabled;
|
---|
| 516 | }
|
---|
| 517 | /**
|
---|
| 518 | * @param string[]
|
---|
| 519 | */
|
---|
| 520 | public function setSshPublicKeys($sshPublicKeys)
|
---|
| 521 | {
|
---|
| 522 | $this->sshPublicKeys = $sshPublicKeys;
|
---|
| 523 | }
|
---|
| 524 | /**
|
---|
| 525 | * @return string[]
|
---|
| 526 | */
|
---|
| 527 | public function getSshPublicKeys()
|
---|
| 528 | {
|
---|
| 529 | return $this->sshPublicKeys;
|
---|
| 530 | }
|
---|
| 531 | /**
|
---|
| 532 | * @param string
|
---|
| 533 | */
|
---|
| 534 | public function setState($state)
|
---|
| 535 | {
|
---|
| 536 | $this->state = $state;
|
---|
| 537 | }
|
---|
| 538 | /**
|
---|
| 539 | * @return string
|
---|
| 540 | */
|
---|
| 541 | public function getState()
|
---|
| 542 | {
|
---|
| 543 | return $this->state;
|
---|
| 544 | }
|
---|
| 545 | /**
|
---|
| 546 | * @param int
|
---|
| 547 | */
|
---|
| 548 | public function setStorageSizeGb($storageSizeGb)
|
---|
| 549 | {
|
---|
| 550 | $this->storageSizeGb = $storageSizeGb;
|
---|
| 551 | }
|
---|
| 552 | /**
|
---|
| 553 | * @return int
|
---|
| 554 | */
|
---|
| 555 | public function getStorageSizeGb()
|
---|
| 556 | {
|
---|
| 557 | return $this->storageSizeGb;
|
---|
| 558 | }
|
---|
| 559 | /**
|
---|
| 560 | * @param string
|
---|
| 561 | */
|
---|
| 562 | public function setSystemVersion($systemVersion)
|
---|
| 563 | {
|
---|
| 564 | $this->systemVersion = $systemVersion;
|
---|
| 565 | }
|
---|
| 566 | /**
|
---|
| 567 | * @return string
|
---|
| 568 | */
|
---|
| 569 | public function getSystemVersion()
|
---|
| 570 | {
|
---|
| 571 | return $this->systemVersion;
|
---|
| 572 | }
|
---|
| 573 | /**
|
---|
| 574 | * @param TimeZone
|
---|
| 575 | */
|
---|
| 576 | public function setTimeZone(TimeZone $timeZone)
|
---|
| 577 | {
|
---|
| 578 | $this->timeZone = $timeZone;
|
---|
| 579 | }
|
---|
| 580 | /**
|
---|
| 581 | * @return TimeZone
|
---|
| 582 | */
|
---|
| 583 | public function getTimeZone()
|
---|
| 584 | {
|
---|
| 585 | return $this->timeZone;
|
---|
| 586 | }
|
---|
| 587 | }
|
---|
| 588 |
|
---|
| 589 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 590 | class_alias(CloudVmClusterProperties::class, 'Google_Service_OracleDatabase_CloudVmClusterProperties');
|
---|