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\GKEOnPrem;
|
---|
19 |
|
---|
20 | class VmwareCluster extends \Google\Model
|
---|
21 | {
|
---|
22 | /**
|
---|
23 | * @var string
|
---|
24 | */
|
---|
25 | public $adminClusterMembership;
|
---|
26 | /**
|
---|
27 | * @var string
|
---|
28 | */
|
---|
29 | public $adminClusterName;
|
---|
30 | /**
|
---|
31 | * @var string[]
|
---|
32 | */
|
---|
33 | public $annotations;
|
---|
34 | protected $antiAffinityGroupsType = VmwareAAGConfig::class;
|
---|
35 | protected $antiAffinityGroupsDataType = '';
|
---|
36 | protected $authorizationType = Authorization::class;
|
---|
37 | protected $authorizationDataType = '';
|
---|
38 | protected $autoRepairConfigType = VmwareAutoRepairConfig::class;
|
---|
39 | protected $autoRepairConfigDataType = '';
|
---|
40 | protected $binaryAuthorizationType = BinaryAuthorization::class;
|
---|
41 | protected $binaryAuthorizationDataType = '';
|
---|
42 | protected $controlPlaneNodeType = VmwareControlPlaneNodeConfig::class;
|
---|
43 | protected $controlPlaneNodeDataType = '';
|
---|
44 | /**
|
---|
45 | * @var string
|
---|
46 | */
|
---|
47 | public $createTime;
|
---|
48 | protected $dataplaneV2Type = VmwareDataplaneV2Config::class;
|
---|
49 | protected $dataplaneV2DataType = '';
|
---|
50 | /**
|
---|
51 | * @var string
|
---|
52 | */
|
---|
53 | public $deleteTime;
|
---|
54 | /**
|
---|
55 | * @var string
|
---|
56 | */
|
---|
57 | public $description;
|
---|
58 | /**
|
---|
59 | * @var bool
|
---|
60 | */
|
---|
61 | public $disableBundledIngress;
|
---|
62 | /**
|
---|
63 | * @var bool
|
---|
64 | */
|
---|
65 | public $enableControlPlaneV2;
|
---|
66 | /**
|
---|
67 | * @var string
|
---|
68 | */
|
---|
69 | public $endpoint;
|
---|
70 | /**
|
---|
71 | * @var string
|
---|
72 | */
|
---|
73 | public $etag;
|
---|
74 | protected $fleetType = Fleet::class;
|
---|
75 | protected $fleetDataType = '';
|
---|
76 | protected $loadBalancerType = VmwareLoadBalancerConfig::class;
|
---|
77 | protected $loadBalancerDataType = '';
|
---|
78 | /**
|
---|
79 | * @var string
|
---|
80 | */
|
---|
81 | public $localName;
|
---|
82 | /**
|
---|
83 | * @var string
|
---|
84 | */
|
---|
85 | public $name;
|
---|
86 | protected $networkConfigType = VmwareNetworkConfig::class;
|
---|
87 | protected $networkConfigDataType = '';
|
---|
88 | /**
|
---|
89 | * @var string
|
---|
90 | */
|
---|
91 | public $onPremVersion;
|
---|
92 | /**
|
---|
93 | * @var bool
|
---|
94 | */
|
---|
95 | public $reconciling;
|
---|
96 | /**
|
---|
97 | * @var string
|
---|
98 | */
|
---|
99 | public $state;
|
---|
100 | protected $statusType = ResourceStatus::class;
|
---|
101 | protected $statusDataType = '';
|
---|
102 | protected $storageType = VmwareStorageConfig::class;
|
---|
103 | protected $storageDataType = '';
|
---|
104 | /**
|
---|
105 | * @var string
|
---|
106 | */
|
---|
107 | public $uid;
|
---|
108 | /**
|
---|
109 | * @var string
|
---|
110 | */
|
---|
111 | public $updateTime;
|
---|
112 | protected $upgradePolicyType = VmwareClusterUpgradePolicy::class;
|
---|
113 | protected $upgradePolicyDataType = '';
|
---|
114 | protected $validationCheckType = ValidationCheck::class;
|
---|
115 | protected $validationCheckDataType = '';
|
---|
116 | protected $vcenterType = VmwareVCenterConfig::class;
|
---|
117 | protected $vcenterDataType = '';
|
---|
118 | /**
|
---|
119 | * @var bool
|
---|
120 | */
|
---|
121 | public $vmTrackingEnabled;
|
---|
122 |
|
---|
123 | /**
|
---|
124 | * @param string
|
---|
125 | */
|
---|
126 | public function setAdminClusterMembership($adminClusterMembership)
|
---|
127 | {
|
---|
128 | $this->adminClusterMembership = $adminClusterMembership;
|
---|
129 | }
|
---|
130 | /**
|
---|
131 | * @return string
|
---|
132 | */
|
---|
133 | public function getAdminClusterMembership()
|
---|
134 | {
|
---|
135 | return $this->adminClusterMembership;
|
---|
136 | }
|
---|
137 | /**
|
---|
138 | * @param string
|
---|
139 | */
|
---|
140 | public function setAdminClusterName($adminClusterName)
|
---|
141 | {
|
---|
142 | $this->adminClusterName = $adminClusterName;
|
---|
143 | }
|
---|
144 | /**
|
---|
145 | * @return string
|
---|
146 | */
|
---|
147 | public function getAdminClusterName()
|
---|
148 | {
|
---|
149 | return $this->adminClusterName;
|
---|
150 | }
|
---|
151 | /**
|
---|
152 | * @param string[]
|
---|
153 | */
|
---|
154 | public function setAnnotations($annotations)
|
---|
155 | {
|
---|
156 | $this->annotations = $annotations;
|
---|
157 | }
|
---|
158 | /**
|
---|
159 | * @return string[]
|
---|
160 | */
|
---|
161 | public function getAnnotations()
|
---|
162 | {
|
---|
163 | return $this->annotations;
|
---|
164 | }
|
---|
165 | /**
|
---|
166 | * @param VmwareAAGConfig
|
---|
167 | */
|
---|
168 | public function setAntiAffinityGroups(VmwareAAGConfig $antiAffinityGroups)
|
---|
169 | {
|
---|
170 | $this->antiAffinityGroups = $antiAffinityGroups;
|
---|
171 | }
|
---|
172 | /**
|
---|
173 | * @return VmwareAAGConfig
|
---|
174 | */
|
---|
175 | public function getAntiAffinityGroups()
|
---|
176 | {
|
---|
177 | return $this->antiAffinityGroups;
|
---|
178 | }
|
---|
179 | /**
|
---|
180 | * @param Authorization
|
---|
181 | */
|
---|
182 | public function setAuthorization(Authorization $authorization)
|
---|
183 | {
|
---|
184 | $this->authorization = $authorization;
|
---|
185 | }
|
---|
186 | /**
|
---|
187 | * @return Authorization
|
---|
188 | */
|
---|
189 | public function getAuthorization()
|
---|
190 | {
|
---|
191 | return $this->authorization;
|
---|
192 | }
|
---|
193 | /**
|
---|
194 | * @param VmwareAutoRepairConfig
|
---|
195 | */
|
---|
196 | public function setAutoRepairConfig(VmwareAutoRepairConfig $autoRepairConfig)
|
---|
197 | {
|
---|
198 | $this->autoRepairConfig = $autoRepairConfig;
|
---|
199 | }
|
---|
200 | /**
|
---|
201 | * @return VmwareAutoRepairConfig
|
---|
202 | */
|
---|
203 | public function getAutoRepairConfig()
|
---|
204 | {
|
---|
205 | return $this->autoRepairConfig;
|
---|
206 | }
|
---|
207 | /**
|
---|
208 | * @param BinaryAuthorization
|
---|
209 | */
|
---|
210 | public function setBinaryAuthorization(BinaryAuthorization $binaryAuthorization)
|
---|
211 | {
|
---|
212 | $this->binaryAuthorization = $binaryAuthorization;
|
---|
213 | }
|
---|
214 | /**
|
---|
215 | * @return BinaryAuthorization
|
---|
216 | */
|
---|
217 | public function getBinaryAuthorization()
|
---|
218 | {
|
---|
219 | return $this->binaryAuthorization;
|
---|
220 | }
|
---|
221 | /**
|
---|
222 | * @param VmwareControlPlaneNodeConfig
|
---|
223 | */
|
---|
224 | public function setControlPlaneNode(VmwareControlPlaneNodeConfig $controlPlaneNode)
|
---|
225 | {
|
---|
226 | $this->controlPlaneNode = $controlPlaneNode;
|
---|
227 | }
|
---|
228 | /**
|
---|
229 | * @return VmwareControlPlaneNodeConfig
|
---|
230 | */
|
---|
231 | public function getControlPlaneNode()
|
---|
232 | {
|
---|
233 | return $this->controlPlaneNode;
|
---|
234 | }
|
---|
235 | /**
|
---|
236 | * @param string
|
---|
237 | */
|
---|
238 | public function setCreateTime($createTime)
|
---|
239 | {
|
---|
240 | $this->createTime = $createTime;
|
---|
241 | }
|
---|
242 | /**
|
---|
243 | * @return string
|
---|
244 | */
|
---|
245 | public function getCreateTime()
|
---|
246 | {
|
---|
247 | return $this->createTime;
|
---|
248 | }
|
---|
249 | /**
|
---|
250 | * @param VmwareDataplaneV2Config
|
---|
251 | */
|
---|
252 | public function setDataplaneV2(VmwareDataplaneV2Config $dataplaneV2)
|
---|
253 | {
|
---|
254 | $this->dataplaneV2 = $dataplaneV2;
|
---|
255 | }
|
---|
256 | /**
|
---|
257 | * @return VmwareDataplaneV2Config
|
---|
258 | */
|
---|
259 | public function getDataplaneV2()
|
---|
260 | {
|
---|
261 | return $this->dataplaneV2;
|
---|
262 | }
|
---|
263 | /**
|
---|
264 | * @param string
|
---|
265 | */
|
---|
266 | public function setDeleteTime($deleteTime)
|
---|
267 | {
|
---|
268 | $this->deleteTime = $deleteTime;
|
---|
269 | }
|
---|
270 | /**
|
---|
271 | * @return string
|
---|
272 | */
|
---|
273 | public function getDeleteTime()
|
---|
274 | {
|
---|
275 | return $this->deleteTime;
|
---|
276 | }
|
---|
277 | /**
|
---|
278 | * @param string
|
---|
279 | */
|
---|
280 | public function setDescription($description)
|
---|
281 | {
|
---|
282 | $this->description = $description;
|
---|
283 | }
|
---|
284 | /**
|
---|
285 | * @return string
|
---|
286 | */
|
---|
287 | public function getDescription()
|
---|
288 | {
|
---|
289 | return $this->description;
|
---|
290 | }
|
---|
291 | /**
|
---|
292 | * @param bool
|
---|
293 | */
|
---|
294 | public function setDisableBundledIngress($disableBundledIngress)
|
---|
295 | {
|
---|
296 | $this->disableBundledIngress = $disableBundledIngress;
|
---|
297 | }
|
---|
298 | /**
|
---|
299 | * @return bool
|
---|
300 | */
|
---|
301 | public function getDisableBundledIngress()
|
---|
302 | {
|
---|
303 | return $this->disableBundledIngress;
|
---|
304 | }
|
---|
305 | /**
|
---|
306 | * @param bool
|
---|
307 | */
|
---|
308 | public function setEnableControlPlaneV2($enableControlPlaneV2)
|
---|
309 | {
|
---|
310 | $this->enableControlPlaneV2 = $enableControlPlaneV2;
|
---|
311 | }
|
---|
312 | /**
|
---|
313 | * @return bool
|
---|
314 | */
|
---|
315 | public function getEnableControlPlaneV2()
|
---|
316 | {
|
---|
317 | return $this->enableControlPlaneV2;
|
---|
318 | }
|
---|
319 | /**
|
---|
320 | * @param string
|
---|
321 | */
|
---|
322 | public function setEndpoint($endpoint)
|
---|
323 | {
|
---|
324 | $this->endpoint = $endpoint;
|
---|
325 | }
|
---|
326 | /**
|
---|
327 | * @return string
|
---|
328 | */
|
---|
329 | public function getEndpoint()
|
---|
330 | {
|
---|
331 | return $this->endpoint;
|
---|
332 | }
|
---|
333 | /**
|
---|
334 | * @param string
|
---|
335 | */
|
---|
336 | public function setEtag($etag)
|
---|
337 | {
|
---|
338 | $this->etag = $etag;
|
---|
339 | }
|
---|
340 | /**
|
---|
341 | * @return string
|
---|
342 | */
|
---|
343 | public function getEtag()
|
---|
344 | {
|
---|
345 | return $this->etag;
|
---|
346 | }
|
---|
347 | /**
|
---|
348 | * @param Fleet
|
---|
349 | */
|
---|
350 | public function setFleet(Fleet $fleet)
|
---|
351 | {
|
---|
352 | $this->fleet = $fleet;
|
---|
353 | }
|
---|
354 | /**
|
---|
355 | * @return Fleet
|
---|
356 | */
|
---|
357 | public function getFleet()
|
---|
358 | {
|
---|
359 | return $this->fleet;
|
---|
360 | }
|
---|
361 | /**
|
---|
362 | * @param VmwareLoadBalancerConfig
|
---|
363 | */
|
---|
364 | public function setLoadBalancer(VmwareLoadBalancerConfig $loadBalancer)
|
---|
365 | {
|
---|
366 | $this->loadBalancer = $loadBalancer;
|
---|
367 | }
|
---|
368 | /**
|
---|
369 | * @return VmwareLoadBalancerConfig
|
---|
370 | */
|
---|
371 | public function getLoadBalancer()
|
---|
372 | {
|
---|
373 | return $this->loadBalancer;
|
---|
374 | }
|
---|
375 | /**
|
---|
376 | * @param string
|
---|
377 | */
|
---|
378 | public function setLocalName($localName)
|
---|
379 | {
|
---|
380 | $this->localName = $localName;
|
---|
381 | }
|
---|
382 | /**
|
---|
383 | * @return string
|
---|
384 | */
|
---|
385 | public function getLocalName()
|
---|
386 | {
|
---|
387 | return $this->localName;
|
---|
388 | }
|
---|
389 | /**
|
---|
390 | * @param string
|
---|
391 | */
|
---|
392 | public function setName($name)
|
---|
393 | {
|
---|
394 | $this->name = $name;
|
---|
395 | }
|
---|
396 | /**
|
---|
397 | * @return string
|
---|
398 | */
|
---|
399 | public function getName()
|
---|
400 | {
|
---|
401 | return $this->name;
|
---|
402 | }
|
---|
403 | /**
|
---|
404 | * @param VmwareNetworkConfig
|
---|
405 | */
|
---|
406 | public function setNetworkConfig(VmwareNetworkConfig $networkConfig)
|
---|
407 | {
|
---|
408 | $this->networkConfig = $networkConfig;
|
---|
409 | }
|
---|
410 | /**
|
---|
411 | * @return VmwareNetworkConfig
|
---|
412 | */
|
---|
413 | public function getNetworkConfig()
|
---|
414 | {
|
---|
415 | return $this->networkConfig;
|
---|
416 | }
|
---|
417 | /**
|
---|
418 | * @param string
|
---|
419 | */
|
---|
420 | public function setOnPremVersion($onPremVersion)
|
---|
421 | {
|
---|
422 | $this->onPremVersion = $onPremVersion;
|
---|
423 | }
|
---|
424 | /**
|
---|
425 | * @return string
|
---|
426 | */
|
---|
427 | public function getOnPremVersion()
|
---|
428 | {
|
---|
429 | return $this->onPremVersion;
|
---|
430 | }
|
---|
431 | /**
|
---|
432 | * @param bool
|
---|
433 | */
|
---|
434 | public function setReconciling($reconciling)
|
---|
435 | {
|
---|
436 | $this->reconciling = $reconciling;
|
---|
437 | }
|
---|
438 | /**
|
---|
439 | * @return bool
|
---|
440 | */
|
---|
441 | public function getReconciling()
|
---|
442 | {
|
---|
443 | return $this->reconciling;
|
---|
444 | }
|
---|
445 | /**
|
---|
446 | * @param string
|
---|
447 | */
|
---|
448 | public function setState($state)
|
---|
449 | {
|
---|
450 | $this->state = $state;
|
---|
451 | }
|
---|
452 | /**
|
---|
453 | * @return string
|
---|
454 | */
|
---|
455 | public function getState()
|
---|
456 | {
|
---|
457 | return $this->state;
|
---|
458 | }
|
---|
459 | /**
|
---|
460 | * @param ResourceStatus
|
---|
461 | */
|
---|
462 | public function setStatus(ResourceStatus $status)
|
---|
463 | {
|
---|
464 | $this->status = $status;
|
---|
465 | }
|
---|
466 | /**
|
---|
467 | * @return ResourceStatus
|
---|
468 | */
|
---|
469 | public function getStatus()
|
---|
470 | {
|
---|
471 | return $this->status;
|
---|
472 | }
|
---|
473 | /**
|
---|
474 | * @param VmwareStorageConfig
|
---|
475 | */
|
---|
476 | public function setStorage(VmwareStorageConfig $storage)
|
---|
477 | {
|
---|
478 | $this->storage = $storage;
|
---|
479 | }
|
---|
480 | /**
|
---|
481 | * @return VmwareStorageConfig
|
---|
482 | */
|
---|
483 | public function getStorage()
|
---|
484 | {
|
---|
485 | return $this->storage;
|
---|
486 | }
|
---|
487 | /**
|
---|
488 | * @param string
|
---|
489 | */
|
---|
490 | public function setUid($uid)
|
---|
491 | {
|
---|
492 | $this->uid = $uid;
|
---|
493 | }
|
---|
494 | /**
|
---|
495 | * @return string
|
---|
496 | */
|
---|
497 | public function getUid()
|
---|
498 | {
|
---|
499 | return $this->uid;
|
---|
500 | }
|
---|
501 | /**
|
---|
502 | * @param string
|
---|
503 | */
|
---|
504 | public function setUpdateTime($updateTime)
|
---|
505 | {
|
---|
506 | $this->updateTime = $updateTime;
|
---|
507 | }
|
---|
508 | /**
|
---|
509 | * @return string
|
---|
510 | */
|
---|
511 | public function getUpdateTime()
|
---|
512 | {
|
---|
513 | return $this->updateTime;
|
---|
514 | }
|
---|
515 | /**
|
---|
516 | * @param VmwareClusterUpgradePolicy
|
---|
517 | */
|
---|
518 | public function setUpgradePolicy(VmwareClusterUpgradePolicy $upgradePolicy)
|
---|
519 | {
|
---|
520 | $this->upgradePolicy = $upgradePolicy;
|
---|
521 | }
|
---|
522 | /**
|
---|
523 | * @return VmwareClusterUpgradePolicy
|
---|
524 | */
|
---|
525 | public function getUpgradePolicy()
|
---|
526 | {
|
---|
527 | return $this->upgradePolicy;
|
---|
528 | }
|
---|
529 | /**
|
---|
530 | * @param ValidationCheck
|
---|
531 | */
|
---|
532 | public function setValidationCheck(ValidationCheck $validationCheck)
|
---|
533 | {
|
---|
534 | $this->validationCheck = $validationCheck;
|
---|
535 | }
|
---|
536 | /**
|
---|
537 | * @return ValidationCheck
|
---|
538 | */
|
---|
539 | public function getValidationCheck()
|
---|
540 | {
|
---|
541 | return $this->validationCheck;
|
---|
542 | }
|
---|
543 | /**
|
---|
544 | * @param VmwareVCenterConfig
|
---|
545 | */
|
---|
546 | public function setVcenter(VmwareVCenterConfig $vcenter)
|
---|
547 | {
|
---|
548 | $this->vcenter = $vcenter;
|
---|
549 | }
|
---|
550 | /**
|
---|
551 | * @return VmwareVCenterConfig
|
---|
552 | */
|
---|
553 | public function getVcenter()
|
---|
554 | {
|
---|
555 | return $this->vcenter;
|
---|
556 | }
|
---|
557 | /**
|
---|
558 | * @param bool
|
---|
559 | */
|
---|
560 | public function setVmTrackingEnabled($vmTrackingEnabled)
|
---|
561 | {
|
---|
562 | $this->vmTrackingEnabled = $vmTrackingEnabled;
|
---|
563 | }
|
---|
564 | /**
|
---|
565 | * @return bool
|
---|
566 | */
|
---|
567 | public function getVmTrackingEnabled()
|
---|
568 | {
|
---|
569 | return $this->vmTrackingEnabled;
|
---|
570 | }
|
---|
571 | }
|
---|
572 |
|
---|
573 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
574 | class_alias(VmwareCluster::class, 'Google_Service_GKEOnPrem_VmwareCluster');
|
---|