a N•ºfrfã@s8ddlmZmZmZddlmZeGdd„deƒƒZdS)é)Úformatted_flat_dictÚ NONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc@szeZdZdZdZdZdZdZdZdZ dZ d Z d Z d Z d d „Zedd„ƒZejdd„ƒZedd„ƒZejdd„ƒZedd„ƒZejdd„ƒZedd„ƒZejdd„ƒZedd„ƒZejdd„ƒZedd„ƒZejdd„ƒZed d!„ƒZejd"d!„ƒZed#d$„ƒZejd%d$„ƒZed&d'„ƒZejd(d'„ƒZed)d*„ƒZejd+d*„ƒZed,d-„ƒZejd.d-„ƒZed/d0„ƒZejd1d0„ƒZed2d3„ƒZejd4d3„ƒZed5d6„ƒZejd7d6„ƒZed8d9„ƒZejd:d9„ƒZed;d<„ƒZ e jd=d<„ƒZ ed>d?„ƒZ!e!jd@d?„ƒZ!edAdB„ƒZ"e"jdCdB„ƒZ"edDdE„ƒZ#e#jdFdE„ƒZ#edGdH„ƒZ$e$jdIdH„ƒZ$edJdK„ƒZ%e%jdLdK„ƒZ%dMdN„Z&dOdP„Z'dQdR„Z(dSS)TÚDbNodez DbNode model. Ú PROVISIONINGÚ AVAILABLEÚUPDATINGÚSTOPPINGÚSTOPPEDÚSTARTINGÚ TERMINATINGÚ TERMINATEDÚFAILEDÚVMDB_REBOOT_MIGRATIONcKsæddddddddddddddddddddddœ|_ddddd d d d d dddddddddddddœ|_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ d|_ d|_d|_d|_d|_d|_d|_d|_d|_d|_dS)aÕ Initializes a new DbNode object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this DbNode. :type id: str :param db_system_id: The value to assign to the db_system_id property of this DbNode. :type db_system_id: str :param vnic_id: The value to assign to the vnic_id property of this DbNode. :type vnic_id: str :param backup_vnic_id: The value to assign to the backup_vnic_id property of this DbNode. :type backup_vnic_id: str :param host_ip_id: The value to assign to the host_ip_id property of this DbNode. :type host_ip_id: str :param backup_ip_id: The value to assign to the backup_ip_id property of this DbNode. :type backup_ip_id: str :param vnic2_id: The value to assign to the vnic2_id property of this DbNode. :type vnic2_id: str :param backup_vnic2_id: The value to assign to the backup_vnic2_id property of this DbNode. :type backup_vnic2_id: str :param lifecycle_state: The value to assign to the lifecycle_state property of this DbNode. Allowed values for this property are: "PROVISIONING", "AVAILABLE", "UPDATING", "STOPPING", "STOPPED", "STARTING", "TERMINATING", "TERMINATED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param hostname: The value to assign to the hostname property of this DbNode. :type hostname: str :param fault_domain: The value to assign to the fault_domain property of this DbNode. :type fault_domain: str :param time_created: The value to assign to the time_created property of this DbNode. :type time_created: datetime :param software_storage_size_in_gb: The value to assign to the software_storage_size_in_gb property of this DbNode. :type software_storage_size_in_gb: int :param maintenance_type: The value to assign to the maintenance_type property of this DbNode. Allowed values for this property are: "VMDB_REBOOT_MIGRATION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type maintenance_type: str :param time_maintenance_window_start: The value to assign to the time_maintenance_window_start property of this DbNode. :type time_maintenance_window_start: datetime :param time_maintenance_window_end: The value to assign to the time_maintenance_window_end property of this DbNode. :type time_maintenance_window_end: datetime :param additional_details: The value to assign to the additional_details property of this DbNode. :type additional_details: str :param cpu_core_count: The value to assign to the cpu_core_count property of this DbNode. :type cpu_core_count: int :param memory_size_in_gbs: The value to assign to the memory_size_in_gbs property of this DbNode. :type memory_size_in_gbs: int :param db_node_storage_size_in_gbs: The value to assign to the db_node_storage_size_in_gbs property of this DbNode. :type db_node_storage_size_in_gbs: int :param db_server_id: The value to assign to the db_server_id property of this DbNode. :type db_server_id: str ÚstrÚdatetimeÚint)ÚidÚ db_system_idÚvnic_idÚbackup_vnic_idÚ host_ip_idÚ backup_ip_idÚvnic2_idÚbackup_vnic2_idÚlifecycle_stateÚhostnameÚ fault_domainÚ time_createdÚsoftware_storage_size_in_gbÚmaintenance_typeÚtime_maintenance_window_startÚtime_maintenance_window_endÚadditional_detailsÚcpu_core_countÚmemory_size_in_gbsÚdb_node_storage_size_in_gbsÚ db_server_idrÚ dbSystemIdÚvnicIdÚ backupVnicIdÚhostIpIdÚ backupIpIdÚvnic2IdÚ backupVnic2IdÚlifecycleStaterÚ faultDomainÚ timeCreatedÚsoftwareStorageSizeInGBÚmaintenanceTypeÚtimeMaintenanceWindowStartÚtimeMaintenanceWindowEndÚadditionalDetailsÚ cpuCoreCountÚmemorySizeInGBsÚdbNodeStorageSizeInGBsÚ dbServerIdN)Ú swagger_typesÚ attribute_mapÚ_idÚ _db_system_idÚ_vnic_idÚ_backup_vnic_idÚ _host_ip_idÚ _backup_ip_idÚ _vnic2_idÚ_backup_vnic2_idÚ_lifecycle_stateÚ _hostnameÚ _fault_domainÚ _time_createdÚ_software_storage_size_in_gbÚ_maintenance_typeÚ_time_maintenance_window_startÚ_time_maintenance_window_endÚ_additional_detailsÚ_cpu_core_countÚ_memory_size_in_gbsÚ_db_node_storage_size_in_gbsÚ _db_server_id)ÚselfÚkwargs©rUú/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database/models/db_node.pyÚ__init__8s‚_ëëzDbNode.__init__cCs|jS)zø **[Required]** Gets the id of this DbNode. The `OCID`__ of the database node. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The id of this DbNode. :rtype: str ©r>©rSrUrUrVrÜs z DbNode.idcCs ||_dS)zê Sets the id of this DbNode. The `OCID`__ of the database node. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param id: The id of this DbNode. :type: str NrX)rSrrUrUrVrês cCs|jS)a **[Required]** Gets the db_system_id of this DbNode. The `OCID`__ of the DB system. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The db_system_id of this DbNode. :rtype: str ©r?rYrUrUrVrøs zDbNode.db_system_idcCs ||_dS)a Sets the db_system_id of this DbNode. The `OCID`__ of the DB system. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param db_system_id: The db_system_id of this DbNode. :type: str NrZ)rSrrUrUrVrs cCs|jS)zù **[Required]** Gets the vnic_id of this DbNode. The `OCID`__ of the VNIC. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The vnic_id of this DbNode. :rtype: str ©r@rYrUrUrVrs zDbNode.vnic_idcCs ||_dS)zð Sets the vnic_id of this DbNode. The `OCID`__ of the VNIC. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param vnic_id: The vnic_id of this DbNode. :type: str Nr[)rSrrUrUrVr"s cCs|jS)zÿ Gets the backup_vnic_id of this DbNode. The `OCID`__ of the backup VNIC. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The backup_vnic_id of this DbNode. :rtype: str ©rArYrUrUrVr0s zDbNode.backup_vnic_idcCs ||_dS)a  Sets the backup_vnic_id of this DbNode. The `OCID`__ of the backup VNIC. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param backup_vnic_id: The backup_vnic_id of this DbNode. :type: str Nr\)rSrrUrUrVr>s cCs|jS)a  Gets the host_ip_id of this DbNode. The `OCID`__ of the host IP address associated with the database node. Use this OCID with either the :func:`get_private_ip` or the :func:`get_public_ip_by_private_ip_id` API to get the IP address needed to make a database connection. **Note:** Applies only to Exadata Cloud Service. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The host_ip_id of this DbNode. :rtype: str ©rBrYrUrUrVrLszDbNode.host_ip_idcCs ||_dS)a Sets the host_ip_id of this DbNode. The `OCID`__ of the host IP address associated with the database node. Use this OCID with either the :func:`get_private_ip` or the :func:`get_public_ip_by_private_ip_id` API to get the IP address needed to make a database connection. **Note:** Applies only to Exadata Cloud Service. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param host_ip_id: The host_ip_id of this DbNode. :type: str Nr])rSrrUrUrVr^scCs|jS)a Gets the backup_ip_id of this DbNode. The `OCID`__ of the backup IP address associated with the database node. Use this OCID with either the :func:`get_private_ip` or the :func:`get_public_ip_by_private_ip_id` API to get the IP address needed to make a database connection. **Note:** Applies only to Exadata Cloud Service. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The backup_ip_id of this DbNode. :rtype: str ©rCrYrUrUrVrpszDbNode.backup_ip_idcCs ||_dS)a Sets the backup_ip_id of this DbNode. The `OCID`__ of the backup IP address associated with the database node. Use this OCID with either the :func:`get_private_ip` or the :func:`get_public_ip_by_private_ip_id` API to get the IP address needed to make a database connection. **Note:** Applies only to Exadata Cloud Service. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param backup_ip_id: The backup_ip_id of this DbNode. :type: str Nr^)rSrrUrUrVr‚scCs|jS)a- Gets the vnic2_id of this DbNode. The `OCID`__ of the second VNIC. **Note:** Applies only to Exadata Cloud Service. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The vnic2_id of this DbNode. :rtype: str ©rDrYrUrUrVr”szDbNode.vnic2_idcCs ||_dS)a4 Sets the vnic2_id of this DbNode. The `OCID`__ of the second VNIC. **Note:** Applies only to Exadata Cloud Service. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param vnic2_id: The vnic2_id of this DbNode. :type: str Nr_)rSrrUrUrVr¤scCs|jS)aB Gets the backup_vnic2_id of this DbNode. The `OCID`__ of the second backup VNIC. **Note:** Applies only to Exadata Cloud Service. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The backup_vnic2_id of this DbNode. :rtype: str ©rErYrUrUrVr´szDbNode.backup_vnic2_idcCs ||_dS)aP Sets the backup_vnic2_id of this DbNode. The `OCID`__ of the second backup VNIC. **Note:** Applies only to Exadata Cloud Service. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param backup_vnic2_id: The backup_vnic2_id of this DbNode. :type: str Nr`)rSrrUrUrVrÄscCs|jS)aÚ **[Required]** Gets the lifecycle_state of this DbNode. The current state of the database node. Allowed values for this property are: "PROVISIONING", "AVAILABLE", "UPDATING", "STOPPING", "STOPPED", "STARTING", "TERMINATING", "TERMINATED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this DbNode. :rtype: str )rFrYrUrUrVrÔs zDbNode.lifecycle_statecCs gd¢}t||ƒsd}||_dS)zà Sets the lifecycle_state of this DbNode. The current state of the database node. :param lifecycle_state: The lifecycle_state of this DbNode. :type: str ) rrr r r r r rrÚUNKNOWN_ENUM_VALUEN)rrF)rSrÚallowed_valuesrUrUrVrãs  cCs|jS)z¤ Gets the hostname of this DbNode. The host name for the database node. :return: The hostname of this DbNode. :rtype: str ©rGrYrUrUrVròs zDbNode.hostnamecCs ||_dS)z« Sets the hostname of this DbNode. The host name for the database node. :param hostname: The hostname of this DbNode. :type: str Nrc)rSrrUrUrVrþs cCs|jS)z Gets the fault_domain of this DbNode. The name of the Fault Domain the instance is contained in. :return: The fault_domain of this DbNode. :rtype: str ©rHrYrUrUrVr s zDbNode.fault_domaincCs ||_dS)zÍ Sets the fault_domain of this DbNode. The name of the Fault Domain the instance is contained in. :param fault_domain: The fault_domain of this DbNode. :type: str Nrd)rSrrUrUrVrs cCs|jS)zÑ **[Required]** Gets the time_created of this DbNode. The date and time that the database node was created. :return: The time_created of this DbNode. :rtype: datetime ©rIrYrUrUrVr"s zDbNode.time_createdcCs ||_dS)zÍ Sets the time_created of this DbNode. The date and time that the database node was created. :param time_created: The time_created of this DbNode. :type: datetime Nre)rSrrUrUrVr.s cCs|jS)a, Gets the software_storage_size_in_gb of this DbNode. The size (in GB) of the block storage volume allocation for the DB system. This attribute applies only for virtual machine DB systems. :return: The software_storage_size_in_gb of this DbNode. :rtype: int ©rJrYrUrUrVr :s z"DbNode.software_storage_size_in_gbcCs ||_dS)aF Sets the software_storage_size_in_gb of this DbNode. The size (in GB) of the block storage volume allocation for the DB system. This attribute applies only for virtual machine DB systems. :param software_storage_size_in_gb: The software_storage_size_in_gb of this DbNode. :type: int Nrf)rSr rUrUrVr Fs cCs|jS)ar Gets the maintenance_type of this DbNode. The type of database node maintenance. Allowed values for this property are: "VMDB_REBOOT_MIGRATION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The maintenance_type of this DbNode. :rtype: str )rKrYrUrUrVr!Rs zDbNode.maintenance_typecCsdg}t||ƒsd}||_dS)zÅ Sets the maintenance_type of this DbNode. The type of database node maintenance. :param maintenance_type: The maintenance_type of this DbNode. :type: str rraN)rrK)rSr!rbrUrUrVr!as  cCs|jS)zÙ Gets the time_maintenance_window_start of this DbNode. Start date and time of maintenance window. :return: The time_maintenance_window_start of this DbNode. :rtype: datetime ©rLrYrUrUrVr"ps z$DbNode.time_maintenance_window_startcCs ||_dS)zõ Sets the time_maintenance_window_start of this DbNode. Start date and time of maintenance window. :param time_maintenance_window_start: The time_maintenance_window_start of this DbNode. :type: datetime Nrg)rSr"rUrUrVr"|s cCs|jS)zÓ Gets the time_maintenance_window_end of this DbNode. End date and time of maintenance window. :return: The time_maintenance_window_end of this DbNode. :rtype: datetime ©rMrYrUrUrVr#ˆs z"DbNode.time_maintenance_window_endcCs ||_dS)zí Sets the time_maintenance_window_end of this DbNode. End date and time of maintenance window. :param time_maintenance_window_end: The time_maintenance_window_end of this DbNode. :type: datetime Nrh)rSr#rUrUrVr#”s cCs|jS)zÉ Gets the additional_details of this DbNode. Additional information about the planned maintenance. :return: The additional_details of this DbNode. :rtype: str ©rNrYrUrUrVr$ s zDbNode.additional_detailscCs ||_dS)zÚ Sets the additional_details of this DbNode. Additional information about the planned maintenance. :param additional_details: The additional_details of this DbNode. :type: str Nri)rSr$rUrUrVr$¬s cCs|jS)z» Gets the cpu_core_count of this DbNode. The number of CPU cores enabled on the Db node. :return: The cpu_core_count of this DbNode. :rtype: int ©rOrYrUrUrVr%¸s zDbNode.cpu_core_countcCs ||_dS)zÈ Sets the cpu_core_count of this DbNode. The number of CPU cores enabled on the Db node. :param cpu_core_count: The cpu_core_count of this DbNode. :type: int Nrj)rSr%rUrUrVr%Äs cCs|jS)z¿ Gets the memory_size_in_gbs of this DbNode. The allocated memory in GBs on the Db node. :return: The memory_size_in_gbs of this DbNode. :rtype: int ©rPrYrUrUrVr&Ðs zDbNode.memory_size_in_gbscCs ||_dS)zÐ Sets the memory_size_in_gbs of this DbNode. The allocated memory in GBs on the Db node. :param memory_size_in_gbs: The memory_size_in_gbs of this DbNode. :type: int Nrk)rSr&rUrUrVr&Üs cCs|jS)zÝ Gets the db_node_storage_size_in_gbs of this DbNode. The allocated local node storage in GBs on the Db node. :return: The db_node_storage_size_in_gbs of this DbNode. :rtype: int ©rQrYrUrUrVr'ès z"DbNode.db_node_storage_size_in_gbscCs ||_dS)z÷ Sets the db_node_storage_size_in_gbs of this DbNode. The allocated local node storage in GBs on the Db node. :param db_node_storage_size_in_gbs: The db_node_storage_size_in_gbs of this DbNode. :type: int Nrl)rSr'rUrUrVr'ôs cCs|jS)a! Gets the db_server_id of this DbNode. The `OCID`__ of the Exacc Db server associated with the database node. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The db_server_id of this DbNode. :rtype: str ©rRrYrUrUrVr(s zDbNode.db_server_idcCs ||_dS)a, Sets the db_server_id of this DbNode. The `OCID`__ of the Exacc Db server associated with the database node. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param db_server_id: The db_server_id of this DbNode. :type: str Nrm)rSr(rUrUrVr(s cCst|ƒS©N)rrYrUrUrVÚ__repr__szDbNode.__repr__cCs|dur dS|j|jkS)NF)Ú__dict__©rSÚotherrUrUrVÚ__eq__sz DbNode.__eq__cCs ||k SrnrUrqrUrUrVÚ__ne__%sz DbNode.__ne__N))Ú__name__Ú __module__Ú __qualname__Ú__doc__ÚLIFECYCLE_STATE_PROVISIONINGÚLIFECYCLE_STATE_AVAILABLEÚLIFECYCLE_STATE_UPDATINGÚLIFECYCLE_STATE_STOPPINGÚLIFECYCLE_STATE_STOPPEDÚLIFECYCLE_STATE_STARTINGÚLIFECYCLE_STATE_TERMINATINGÚLIFECYCLE_STATE_TERMINATEDÚLIFECYCLE_STATE_FAILEDÚ&MAINTENANCE_TYPE_VMDB_REBOOT_MIGRATIONrWÚpropertyrÚsetterrrrrrrrrrrrr r!r"r#r$r%r&r'r(rorsrtrUrUrUrVr sÈ%                                          rN)Úoci.utilrrrÚoci.decoratorsrÚobjectrrUrUrUrVÚs