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 VmwareAdminCluster extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $addonNodeType = VmwareAdminAddonNodeConfig::class;
|
---|
23 | protected $addonNodeDataType = '';
|
---|
24 | /**
|
---|
25 | * @var string[]
|
---|
26 | */
|
---|
27 | public $annotations;
|
---|
28 | protected $antiAffinityGroupsType = VmwareAAGConfig::class;
|
---|
29 | protected $antiAffinityGroupsDataType = '';
|
---|
30 | protected $authorizationType = VmwareAdminAuthorizationConfig::class;
|
---|
31 | protected $authorizationDataType = '';
|
---|
32 | protected $autoRepairConfigType = VmwareAutoRepairConfig::class;
|
---|
33 | protected $autoRepairConfigDataType = '';
|
---|
34 | /**
|
---|
35 | * @var string
|
---|
36 | */
|
---|
37 | public $bootstrapClusterMembership;
|
---|
38 | protected $controlPlaneNodeType = VmwareAdminControlPlaneNodeConfig::class;
|
---|
39 | protected $controlPlaneNodeDataType = '';
|
---|
40 | /**
|
---|
41 | * @var string
|
---|
42 | */
|
---|
43 | public $createTime;
|
---|
44 | /**
|
---|
45 | * @var string
|
---|
46 | */
|
---|
47 | public $description;
|
---|
48 | /**
|
---|
49 | * @var string
|
---|
50 | */
|
---|
51 | public $endpoint;
|
---|
52 | /**
|
---|
53 | * @var string
|
---|
54 | */
|
---|
55 | public $etag;
|
---|
56 | protected $fleetType = Fleet::class;
|
---|
57 | protected $fleetDataType = '';
|
---|
58 | /**
|
---|
59 | * @var string
|
---|
60 | */
|
---|
61 | public $imageType;
|
---|
62 | protected $loadBalancerType = VmwareAdminLoadBalancerConfig::class;
|
---|
63 | protected $loadBalancerDataType = '';
|
---|
64 | /**
|
---|
65 | * @var string
|
---|
66 | */
|
---|
67 | public $localName;
|
---|
68 | /**
|
---|
69 | * @var string
|
---|
70 | */
|
---|
71 | public $name;
|
---|
72 | protected $networkConfigType = VmwareAdminNetworkConfig::class;
|
---|
73 | protected $networkConfigDataType = '';
|
---|
74 | /**
|
---|
75 | * @var string
|
---|
76 | */
|
---|
77 | public $onPremVersion;
|
---|
78 | protected $platformConfigType = VmwarePlatformConfig::class;
|
---|
79 | protected $platformConfigDataType = '';
|
---|
80 | protected $preparedSecretsType = VmwareAdminPreparedSecretsConfig::class;
|
---|
81 | protected $preparedSecretsDataType = '';
|
---|
82 | /**
|
---|
83 | * @var bool
|
---|
84 | */
|
---|
85 | public $reconciling;
|
---|
86 | /**
|
---|
87 | * @var string
|
---|
88 | */
|
---|
89 | public $state;
|
---|
90 | protected $statusType = ResourceStatus::class;
|
---|
91 | protected $statusDataType = '';
|
---|
92 | /**
|
---|
93 | * @var string
|
---|
94 | */
|
---|
95 | public $uid;
|
---|
96 | /**
|
---|
97 | * @var string
|
---|
98 | */
|
---|
99 | public $updateTime;
|
---|
100 | protected $validationCheckType = ValidationCheck::class;
|
---|
101 | protected $validationCheckDataType = '';
|
---|
102 | protected $vcenterType = VmwareAdminVCenterConfig::class;
|
---|
103 | protected $vcenterDataType = '';
|
---|
104 |
|
---|
105 | /**
|
---|
106 | * @param VmwareAdminAddonNodeConfig
|
---|
107 | */
|
---|
108 | public function setAddonNode(VmwareAdminAddonNodeConfig $addonNode)
|
---|
109 | {
|
---|
110 | $this->addonNode = $addonNode;
|
---|
111 | }
|
---|
112 | /**
|
---|
113 | * @return VmwareAdminAddonNodeConfig
|
---|
114 | */
|
---|
115 | public function getAddonNode()
|
---|
116 | {
|
---|
117 | return $this->addonNode;
|
---|
118 | }
|
---|
119 | /**
|
---|
120 | * @param string[]
|
---|
121 | */
|
---|
122 | public function setAnnotations($annotations)
|
---|
123 | {
|
---|
124 | $this->annotations = $annotations;
|
---|
125 | }
|
---|
126 | /**
|
---|
127 | * @return string[]
|
---|
128 | */
|
---|
129 | public function getAnnotations()
|
---|
130 | {
|
---|
131 | return $this->annotations;
|
---|
132 | }
|
---|
133 | /**
|
---|
134 | * @param VmwareAAGConfig
|
---|
135 | */
|
---|
136 | public function setAntiAffinityGroups(VmwareAAGConfig $antiAffinityGroups)
|
---|
137 | {
|
---|
138 | $this->antiAffinityGroups = $antiAffinityGroups;
|
---|
139 | }
|
---|
140 | /**
|
---|
141 | * @return VmwareAAGConfig
|
---|
142 | */
|
---|
143 | public function getAntiAffinityGroups()
|
---|
144 | {
|
---|
145 | return $this->antiAffinityGroups;
|
---|
146 | }
|
---|
147 | /**
|
---|
148 | * @param VmwareAdminAuthorizationConfig
|
---|
149 | */
|
---|
150 | public function setAuthorization(VmwareAdminAuthorizationConfig $authorization)
|
---|
151 | {
|
---|
152 | $this->authorization = $authorization;
|
---|
153 | }
|
---|
154 | /**
|
---|
155 | * @return VmwareAdminAuthorizationConfig
|
---|
156 | */
|
---|
157 | public function getAuthorization()
|
---|
158 | {
|
---|
159 | return $this->authorization;
|
---|
160 | }
|
---|
161 | /**
|
---|
162 | * @param VmwareAutoRepairConfig
|
---|
163 | */
|
---|
164 | public function setAutoRepairConfig(VmwareAutoRepairConfig $autoRepairConfig)
|
---|
165 | {
|
---|
166 | $this->autoRepairConfig = $autoRepairConfig;
|
---|
167 | }
|
---|
168 | /**
|
---|
169 | * @return VmwareAutoRepairConfig
|
---|
170 | */
|
---|
171 | public function getAutoRepairConfig()
|
---|
172 | {
|
---|
173 | return $this->autoRepairConfig;
|
---|
174 | }
|
---|
175 | /**
|
---|
176 | * @param string
|
---|
177 | */
|
---|
178 | public function setBootstrapClusterMembership($bootstrapClusterMembership)
|
---|
179 | {
|
---|
180 | $this->bootstrapClusterMembership = $bootstrapClusterMembership;
|
---|
181 | }
|
---|
182 | /**
|
---|
183 | * @return string
|
---|
184 | */
|
---|
185 | public function getBootstrapClusterMembership()
|
---|
186 | {
|
---|
187 | return $this->bootstrapClusterMembership;
|
---|
188 | }
|
---|
189 | /**
|
---|
190 | * @param VmwareAdminControlPlaneNodeConfig
|
---|
191 | */
|
---|
192 | public function setControlPlaneNode(VmwareAdminControlPlaneNodeConfig $controlPlaneNode)
|
---|
193 | {
|
---|
194 | $this->controlPlaneNode = $controlPlaneNode;
|
---|
195 | }
|
---|
196 | /**
|
---|
197 | * @return VmwareAdminControlPlaneNodeConfig
|
---|
198 | */
|
---|
199 | public function getControlPlaneNode()
|
---|
200 | {
|
---|
201 | return $this->controlPlaneNode;
|
---|
202 | }
|
---|
203 | /**
|
---|
204 | * @param string
|
---|
205 | */
|
---|
206 | public function setCreateTime($createTime)
|
---|
207 | {
|
---|
208 | $this->createTime = $createTime;
|
---|
209 | }
|
---|
210 | /**
|
---|
211 | * @return string
|
---|
212 | */
|
---|
213 | public function getCreateTime()
|
---|
214 | {
|
---|
215 | return $this->createTime;
|
---|
216 | }
|
---|
217 | /**
|
---|
218 | * @param string
|
---|
219 | */
|
---|
220 | public function setDescription($description)
|
---|
221 | {
|
---|
222 | $this->description = $description;
|
---|
223 | }
|
---|
224 | /**
|
---|
225 | * @return string
|
---|
226 | */
|
---|
227 | public function getDescription()
|
---|
228 | {
|
---|
229 | return $this->description;
|
---|
230 | }
|
---|
231 | /**
|
---|
232 | * @param string
|
---|
233 | */
|
---|
234 | public function setEndpoint($endpoint)
|
---|
235 | {
|
---|
236 | $this->endpoint = $endpoint;
|
---|
237 | }
|
---|
238 | /**
|
---|
239 | * @return string
|
---|
240 | */
|
---|
241 | public function getEndpoint()
|
---|
242 | {
|
---|
243 | return $this->endpoint;
|
---|
244 | }
|
---|
245 | /**
|
---|
246 | * @param string
|
---|
247 | */
|
---|
248 | public function setEtag($etag)
|
---|
249 | {
|
---|
250 | $this->etag = $etag;
|
---|
251 | }
|
---|
252 | /**
|
---|
253 | * @return string
|
---|
254 | */
|
---|
255 | public function getEtag()
|
---|
256 | {
|
---|
257 | return $this->etag;
|
---|
258 | }
|
---|
259 | /**
|
---|
260 | * @param Fleet
|
---|
261 | */
|
---|
262 | public function setFleet(Fleet $fleet)
|
---|
263 | {
|
---|
264 | $this->fleet = $fleet;
|
---|
265 | }
|
---|
266 | /**
|
---|
267 | * @return Fleet
|
---|
268 | */
|
---|
269 | public function getFleet()
|
---|
270 | {
|
---|
271 | return $this->fleet;
|
---|
272 | }
|
---|
273 | /**
|
---|
274 | * @param string
|
---|
275 | */
|
---|
276 | public function setImageType($imageType)
|
---|
277 | {
|
---|
278 | $this->imageType = $imageType;
|
---|
279 | }
|
---|
280 | /**
|
---|
281 | * @return string
|
---|
282 | */
|
---|
283 | public function getImageType()
|
---|
284 | {
|
---|
285 | return $this->imageType;
|
---|
286 | }
|
---|
287 | /**
|
---|
288 | * @param VmwareAdminLoadBalancerConfig
|
---|
289 | */
|
---|
290 | public function setLoadBalancer(VmwareAdminLoadBalancerConfig $loadBalancer)
|
---|
291 | {
|
---|
292 | $this->loadBalancer = $loadBalancer;
|
---|
293 | }
|
---|
294 | /**
|
---|
295 | * @return VmwareAdminLoadBalancerConfig
|
---|
296 | */
|
---|
297 | public function getLoadBalancer()
|
---|
298 | {
|
---|
299 | return $this->loadBalancer;
|
---|
300 | }
|
---|
301 | /**
|
---|
302 | * @param string
|
---|
303 | */
|
---|
304 | public function setLocalName($localName)
|
---|
305 | {
|
---|
306 | $this->localName = $localName;
|
---|
307 | }
|
---|
308 | /**
|
---|
309 | * @return string
|
---|
310 | */
|
---|
311 | public function getLocalName()
|
---|
312 | {
|
---|
313 | return $this->localName;
|
---|
314 | }
|
---|
315 | /**
|
---|
316 | * @param string
|
---|
317 | */
|
---|
318 | public function setName($name)
|
---|
319 | {
|
---|
320 | $this->name = $name;
|
---|
321 | }
|
---|
322 | /**
|
---|
323 | * @return string
|
---|
324 | */
|
---|
325 | public function getName()
|
---|
326 | {
|
---|
327 | return $this->name;
|
---|
328 | }
|
---|
329 | /**
|
---|
330 | * @param VmwareAdminNetworkConfig
|
---|
331 | */
|
---|
332 | public function setNetworkConfig(VmwareAdminNetworkConfig $networkConfig)
|
---|
333 | {
|
---|
334 | $this->networkConfig = $networkConfig;
|
---|
335 | }
|
---|
336 | /**
|
---|
337 | * @return VmwareAdminNetworkConfig
|
---|
338 | */
|
---|
339 | public function getNetworkConfig()
|
---|
340 | {
|
---|
341 | return $this->networkConfig;
|
---|
342 | }
|
---|
343 | /**
|
---|
344 | * @param string
|
---|
345 | */
|
---|
346 | public function setOnPremVersion($onPremVersion)
|
---|
347 | {
|
---|
348 | $this->onPremVersion = $onPremVersion;
|
---|
349 | }
|
---|
350 | /**
|
---|
351 | * @return string
|
---|
352 | */
|
---|
353 | public function getOnPremVersion()
|
---|
354 | {
|
---|
355 | return $this->onPremVersion;
|
---|
356 | }
|
---|
357 | /**
|
---|
358 | * @param VmwarePlatformConfig
|
---|
359 | */
|
---|
360 | public function setPlatformConfig(VmwarePlatformConfig $platformConfig)
|
---|
361 | {
|
---|
362 | $this->platformConfig = $platformConfig;
|
---|
363 | }
|
---|
364 | /**
|
---|
365 | * @return VmwarePlatformConfig
|
---|
366 | */
|
---|
367 | public function getPlatformConfig()
|
---|
368 | {
|
---|
369 | return $this->platformConfig;
|
---|
370 | }
|
---|
371 | /**
|
---|
372 | * @param VmwareAdminPreparedSecretsConfig
|
---|
373 | */
|
---|
374 | public function setPreparedSecrets(VmwareAdminPreparedSecretsConfig $preparedSecrets)
|
---|
375 | {
|
---|
376 | $this->preparedSecrets = $preparedSecrets;
|
---|
377 | }
|
---|
378 | /**
|
---|
379 | * @return VmwareAdminPreparedSecretsConfig
|
---|
380 | */
|
---|
381 | public function getPreparedSecrets()
|
---|
382 | {
|
---|
383 | return $this->preparedSecrets;
|
---|
384 | }
|
---|
385 | /**
|
---|
386 | * @param bool
|
---|
387 | */
|
---|
388 | public function setReconciling($reconciling)
|
---|
389 | {
|
---|
390 | $this->reconciling = $reconciling;
|
---|
391 | }
|
---|
392 | /**
|
---|
393 | * @return bool
|
---|
394 | */
|
---|
395 | public function getReconciling()
|
---|
396 | {
|
---|
397 | return $this->reconciling;
|
---|
398 | }
|
---|
399 | /**
|
---|
400 | * @param string
|
---|
401 | */
|
---|
402 | public function setState($state)
|
---|
403 | {
|
---|
404 | $this->state = $state;
|
---|
405 | }
|
---|
406 | /**
|
---|
407 | * @return string
|
---|
408 | */
|
---|
409 | public function getState()
|
---|
410 | {
|
---|
411 | return $this->state;
|
---|
412 | }
|
---|
413 | /**
|
---|
414 | * @param ResourceStatus
|
---|
415 | */
|
---|
416 | public function setStatus(ResourceStatus $status)
|
---|
417 | {
|
---|
418 | $this->status = $status;
|
---|
419 | }
|
---|
420 | /**
|
---|
421 | * @return ResourceStatus
|
---|
422 | */
|
---|
423 | public function getStatus()
|
---|
424 | {
|
---|
425 | return $this->status;
|
---|
426 | }
|
---|
427 | /**
|
---|
428 | * @param string
|
---|
429 | */
|
---|
430 | public function setUid($uid)
|
---|
431 | {
|
---|
432 | $this->uid = $uid;
|
---|
433 | }
|
---|
434 | /**
|
---|
435 | * @return string
|
---|
436 | */
|
---|
437 | public function getUid()
|
---|
438 | {
|
---|
439 | return $this->uid;
|
---|
440 | }
|
---|
441 | /**
|
---|
442 | * @param string
|
---|
443 | */
|
---|
444 | public function setUpdateTime($updateTime)
|
---|
445 | {
|
---|
446 | $this->updateTime = $updateTime;
|
---|
447 | }
|
---|
448 | /**
|
---|
449 | * @return string
|
---|
450 | */
|
---|
451 | public function getUpdateTime()
|
---|
452 | {
|
---|
453 | return $this->updateTime;
|
---|
454 | }
|
---|
455 | /**
|
---|
456 | * @param ValidationCheck
|
---|
457 | */
|
---|
458 | public function setValidationCheck(ValidationCheck $validationCheck)
|
---|
459 | {
|
---|
460 | $this->validationCheck = $validationCheck;
|
---|
461 | }
|
---|
462 | /**
|
---|
463 | * @return ValidationCheck
|
---|
464 | */
|
---|
465 | public function getValidationCheck()
|
---|
466 | {
|
---|
467 | return $this->validationCheck;
|
---|
468 | }
|
---|
469 | /**
|
---|
470 | * @param VmwareAdminVCenterConfig
|
---|
471 | */
|
---|
472 | public function setVcenter(VmwareAdminVCenterConfig $vcenter)
|
---|
473 | {
|
---|
474 | $this->vcenter = $vcenter;
|
---|
475 | }
|
---|
476 | /**
|
---|
477 | * @return VmwareAdminVCenterConfig
|
---|
478 | */
|
---|
479 | public function getVcenter()
|
---|
480 | {
|
---|
481 | return $this->vcenter;
|
---|
482 | }
|
---|
483 | }
|
---|
484 |
|
---|
485 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
486 | class_alias(VmwareAdminCluster::class, 'Google_Service_GKEOnPrem_VmwareAdminCluster');
|
---|