Class: OCI::GoldenGate::Models::Deployment
- Inherits:
-
Object
- Object
- OCI::GoldenGate::Models::Deployment
- Defined in:
- lib/oci/golden_gate/models/deployment.rb
Overview
A container for your OCI GoldenGate resources, such as the OCI GoldenGate deployment console.
Constant Summary collapse
- DEPLOYMENT_ROLE_ENUM =
[ DEPLOYMENT_ROLE_PRIMARY = 'PRIMARY'.freeze, DEPLOYMENT_ROLE_STANDBY = 'STANDBY'.freeze, DEPLOYMENT_ROLE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
- LIFECYCLE_STATE_ENUM =
[ LIFECYCLE_STATE_CREATING = 'CREATING'.freeze, LIFECYCLE_STATE_UPDATING = 'UPDATING'.freeze, LIFECYCLE_STATE_ACTIVE = 'ACTIVE'.freeze, LIFECYCLE_STATE_INACTIVE = 'INACTIVE'.freeze, LIFECYCLE_STATE_DELETING = 'DELETING'.freeze, LIFECYCLE_STATE_DELETED = 'DELETED'.freeze, LIFECYCLE_STATE_FAILED = 'FAILED'.freeze, LIFECYCLE_STATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION'.freeze, LIFECYCLE_STATE_IN_PROGRESS = 'IN_PROGRESS'.freeze, LIFECYCLE_STATE_CANCELING = 'CANCELING'.freeze, LIFECYCLE_STATE_CANCELED = 'CANCELED'.freeze, LIFECYCLE_STATE_SUCCEEDED = 'SUCCEEDED'.freeze, LIFECYCLE_STATE_WAITING = 'WAITING'.freeze, LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
- LIFECYCLE_SUB_STATE_ENUM =
[ LIFECYCLE_SUB_STATE_RECOVERING = 'RECOVERING'.freeze, LIFECYCLE_SUB_STATE_STARTING = 'STARTING'.freeze, LIFECYCLE_SUB_STATE_STOPPING = 'STOPPING'.freeze, LIFECYCLE_SUB_STATE_MOVING = 'MOVING'.freeze, LIFECYCLE_SUB_STATE_UPGRADING = 'UPGRADING'.freeze, LIFECYCLE_SUB_STATE_RESTORING = 'RESTORING'.freeze, LIFECYCLE_SUB_STATE_BACKUP_IN_PROGRESS = 'BACKUP_IN_PROGRESS'.freeze, LIFECYCLE_SUB_STATE_ROLLBACK_IN_PROGRESS = 'ROLLBACK_IN_PROGRESS'.freeze, LIFECYCLE_SUB_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
- LICENSE_MODEL_ENUM =
[ LICENSE_MODEL_LICENSE_INCLUDED = 'LICENSE_INCLUDED'.freeze, LICENSE_MODEL_BRING_YOUR_OWN_LICENSE = 'BRING_YOUR_OWN_LICENSE'.freeze, LICENSE_MODEL_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
- ENVIRONMENT_TYPE_ENUM =
[ ENVIRONMENT_TYPE_PRODUCTION = 'PRODUCTION'.freeze, ENVIRONMENT_TYPE_DEVELOPMENT_OR_TESTING = 'DEVELOPMENT_OR_TESTING'.freeze, ENVIRONMENT_TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
- CATEGORY_ENUM =
[ CATEGORY_DATA_REPLICATION = 'DATA_REPLICATION'.freeze, CATEGORY_STREAM_ANALYTICS = 'STREAM_ANALYTICS'.freeze, CATEGORY_DATA_TRANSFORMS = 'DATA_TRANSFORMS'.freeze, CATEGORY_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
- DEPLOYMENT_TYPE_ENUM =
[ DEPLOYMENT_TYPE_OGG = 'OGG'.freeze, DEPLOYMENT_TYPE_DATABASE_ORACLE = 'DATABASE_ORACLE'.freeze, DEPLOYMENT_TYPE_BIGDATA = 'BIGDATA'.freeze, DEPLOYMENT_TYPE_DATABASE_MICROSOFT_SQLSERVER = 'DATABASE_MICROSOFT_SQLSERVER'.freeze, DEPLOYMENT_TYPE_DATABASE_MYSQL = 'DATABASE_MYSQL'.freeze, DEPLOYMENT_TYPE_DATABASE_POSTGRESQL = 'DATABASE_POSTGRESQL'.freeze, DEPLOYMENT_TYPE_DATABASE_DB2_ZOS = 'DATABASE_DB2ZOS'.freeze, DEPLOYMENT_TYPE_GGSA = 'GGSA'.freeze, DEPLOYMENT_TYPE_DATA_TRANSFORMS = 'DATA_TRANSFORMS'.freeze, DEPLOYMENT_TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
- NEXT_MAINTENANCE_ACTION_TYPE_ENUM =
[ NEXT_MAINTENANCE_ACTION_TYPE_UPGRADE = 'UPGRADE'.freeze, NEXT_MAINTENANCE_ACTION_TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
Instance Attribute Summary collapse
-
#availability_domain ⇒ String
The availability domain of a placement.
- #backup_schedule ⇒ OCI::GoldenGate::Models::BackupSchedule
-
#category ⇒ String
[Required] The deployment category defines the broad separation of the deployment type into three categories.
-
#compartment_id ⇒ String
[Required] The OCID of the compartment being referenced.
-
#cpu_core_count ⇒ Integer
[Required] The Minimum number of OCPUs to be made available for this Deployment.
-
#defined_tags ⇒ Hash<String, Hash<String, Object>>
Tags defined for this resource.
-
#deployment_backup_id ⇒ String
The OCID of the backup being referenced.
- #deployment_diagnostic_data ⇒ OCI::GoldenGate::Models::DeploymentDiagnosticData
-
#deployment_role ⇒ String
The type of the deployment role.
-
#deployment_type ⇒ String
[Required] The type of deployment, which can be any one of the Allowed values.
-
#deployment_url ⇒ String
The URL of a resource.
-
#description ⇒ String
Metadata about this specific object.
-
#display_name ⇒ String
An object's Display Name.
-
#environment_type ⇒ String
Specifies whether the deployment is used in a production or development/testing environment.
-
#fault_domain ⇒ String
The fault domain of a placement.
-
#fqdn ⇒ String
A three-label Fully Qualified Domain Name (FQDN) for a resource.
-
#freeform_tags ⇒ Hash<String, String>
A simple key-value pair that is applied without any predefined name, type, or scope.
-
#id ⇒ String
[Required] The OCID of the deployment being referenced.
-
#ingress_ips ⇒ Array<OCI::GoldenGate::Models::IngressIpDetails>
List of ingress IP addresses from where the GoldenGate deployment connects to this connection's privateIp.
-
#is_auto_scaling_enabled ⇒ BOOLEAN
[Required] Indicates if auto scaling is enabled for the Deployment's CPU core count.
-
#is_healthy ⇒ BOOLEAN
True if all of the aggregate resources are working correctly.
-
#is_latest_version ⇒ BOOLEAN
Indicates if the resource is the the latest available version.
-
#is_public ⇒ BOOLEAN
True if this object is publicly available.
-
#is_storage_utilization_limit_exceeded ⇒ BOOLEAN
Deprecated: This field is not updated and will be removed in future versions.
-
#license_model ⇒ String
[Required] The Oracle license model that applies to a Deployment.
-
#lifecycle_details ⇒ String
Describes the object's current state in detail.
-
#lifecycle_state ⇒ String
Possible lifecycle states.
-
#lifecycle_sub_state ⇒ String
Possible GGS lifecycle sub-states.
-
#load_balancer_id ⇒ String
The OCID of the loadbalancer in the customer's subnet.
-
#load_balancer_subnet_id ⇒ String
The OCID of a public subnet in the customer tenancy.
-
#locks ⇒ Array<OCI::GoldenGate::Models::ResourceLock>
Locks associated with this resource.
- #maintenance_configuration ⇒ OCI::GoldenGate::Models::MaintenanceConfiguration
- #maintenance_window ⇒ OCI::GoldenGate::Models::MaintenanceWindow
-
#next_maintenance_action_type ⇒ String
Type of the next maintenance.
-
#next_maintenance_description ⇒ String
Description of the next maintenance.
-
#nsg_ids ⇒ Array<String>
An array of Network Security Group OCIDs used to define network access for either Deployments or Connections.
- #ogg_data ⇒ OCI::GoldenGate::Models::OggDeployment
-
#placements ⇒ Array<OCI::GoldenGate::Models::DeploymentPlacementInfo>
An array of local peers of deployment.
-
#private_ip_address ⇒ String
The private IP address in the customer's VCN representing the access point for the associated endpoint service in the GoldenGate service VCN.
-
#public_ip_address ⇒ String
The public IP address representing the access point for the Deployment.
-
#source_deployment_id ⇒ String
The OCID of the deployment being referenced.
-
#storage_utilization_in_bytes ⇒ Integer
The amount of storage being utilized (in bytes).
-
#subnet_id ⇒ String
[Required] The OCID of the subnet of the deployment's private endpoint.
-
#system_tags ⇒ Hash<String, Hash<String, Object>>
The system tags associated with this resource, if any.
-
#time_created ⇒ DateTime
The time the resource was created.
-
#time_last_backup_scheduled ⇒ DateTime
The timestamp of last deployment backup scheduled.
-
#time_next_backup_scheduled ⇒ DateTime
The timestamp of next deployment backup scheduled.
-
#time_of_next_maintenance ⇒ DateTime
The time of next maintenance schedule.
-
#time_ogg_version_supported_until ⇒ DateTime
The time until OGG version is supported.
-
#time_role_changed ⇒ DateTime
The time of the last role change.
-
#time_updated ⇒ DateTime
The time the resource was last updated.
-
#time_upgrade_required ⇒ DateTime
Note: Deprecated: Use timeOfNextMaintenance instead, or related upgrade records to check, when deployment will be forced to upgrade to a newer version.
Class Method Summary collapse
-
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
-
.swagger_types ⇒ Object
Attribute type mapping.
Instance Method Summary collapse
-
#==(other) ⇒ Object
Checks equality by comparing each attribute.
-
#build_from_hash(attributes) ⇒ Object
Builds the object from hash.
- #eql?(other) ⇒ Boolean
-
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
-
#initialize(attributes = {}) ⇒ Deployment
constructor
Initializes the object.
-
#to_hash ⇒ Hash
Returns the object in the form of hash.
-
#to_s ⇒ String
Returns the string representation of the object.
Constructor Details
#initialize(attributes = {}) ⇒ Deployment
Initializes the object
544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 544 def initialize(attributes = {}) return unless attributes.is_a?(Hash) # convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v } self.id = attributes[:'id'] if attributes[:'id'] self.display_name = attributes[:'displayName'] if attributes[:'displayName'] raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name') self.display_name = attributes[:'display_name'] if attributes[:'display_name'] self.description = attributes[:'description'] if attributes[:'description'] self.compartment_id = attributes[:'compartmentId'] if attributes[:'compartmentId'] raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id') self.compartment_id = attributes[:'compartment_id'] if attributes[:'compartment_id'] self.availability_domain = attributes[:'availabilityDomain'] if attributes[:'availabilityDomain'] raise 'You cannot provide both :availabilityDomain and :availability_domain' if attributes.key?(:'availabilityDomain') && attributes.key?(:'availability_domain') self.availability_domain = attributes[:'availability_domain'] if attributes[:'availability_domain'] self.fault_domain = attributes[:'faultDomain'] if attributes[:'faultDomain'] raise 'You cannot provide both :faultDomain and :fault_domain' if attributes.key?(:'faultDomain') && attributes.key?(:'fault_domain') self.fault_domain = attributes[:'fault_domain'] if attributes[:'fault_domain'] self.deployment_role = attributes[:'deploymentRole'] if attributes[:'deploymentRole'] raise 'You cannot provide both :deploymentRole and :deployment_role' if attributes.key?(:'deploymentRole') && attributes.key?(:'deployment_role') self.deployment_role = attributes[:'deployment_role'] if attributes[:'deployment_role'] self.time_role_changed = attributes[:'timeRoleChanged'] if attributes[:'timeRoleChanged'] raise 'You cannot provide both :timeRoleChanged and :time_role_changed' if attributes.key?(:'timeRoleChanged') && attributes.key?(:'time_role_changed') self.time_role_changed = attributes[:'time_role_changed'] if attributes[:'time_role_changed'] self.source_deployment_id = attributes[:'sourceDeploymentId'] if attributes[:'sourceDeploymentId'] raise 'You cannot provide both :sourceDeploymentId and :source_deployment_id' if attributes.key?(:'sourceDeploymentId') && attributes.key?(:'source_deployment_id') self.source_deployment_id = attributes[:'source_deployment_id'] if attributes[:'source_deployment_id'] self.placements = attributes[:'placements'] if attributes[:'placements'] self.deployment_backup_id = attributes[:'deploymentBackupId'] if attributes[:'deploymentBackupId'] raise 'You cannot provide both :deploymentBackupId and :deployment_backup_id' if attributes.key?(:'deploymentBackupId') && attributes.key?(:'deployment_backup_id') self.deployment_backup_id = attributes[:'deployment_backup_id'] if attributes[:'deployment_backup_id'] self.time_created = attributes[:'timeCreated'] if attributes[:'timeCreated'] raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created') self.time_created = attributes[:'time_created'] if attributes[:'time_created'] self.time_updated = attributes[:'timeUpdated'] if attributes[:'timeUpdated'] raise 'You cannot provide both :timeUpdated and :time_updated' if attributes.key?(:'timeUpdated') && attributes.key?(:'time_updated') self.time_updated = attributes[:'time_updated'] if attributes[:'time_updated'] self.lifecycle_state = attributes[:'lifecycleState'] if attributes[:'lifecycleState'] raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state') self.lifecycle_state = attributes[:'lifecycle_state'] if attributes[:'lifecycle_state'] self.lifecycle_sub_state = attributes[:'lifecycleSubState'] if attributes[:'lifecycleSubState'] raise 'You cannot provide both :lifecycleSubState and :lifecycle_sub_state' if attributes.key?(:'lifecycleSubState') && attributes.key?(:'lifecycle_sub_state') self.lifecycle_sub_state = attributes[:'lifecycle_sub_state'] if attributes[:'lifecycle_sub_state'] self.lifecycle_details = attributes[:'lifecycleDetails'] if attributes[:'lifecycleDetails'] raise 'You cannot provide both :lifecycleDetails and :lifecycle_details' if attributes.key?(:'lifecycleDetails') && attributes.key?(:'lifecycle_details') self.lifecycle_details = attributes[:'lifecycle_details'] if attributes[:'lifecycle_details'] self. = attributes[:'freeformTags'] if attributes[:'freeformTags'] raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags') self. = attributes[:'freeform_tags'] if attributes[:'freeform_tags'] self. = attributes[:'definedTags'] if attributes[:'definedTags'] raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags') self. = attributes[:'defined_tags'] if attributes[:'defined_tags'] self.locks = attributes[:'locks'] if attributes[:'locks'] self.is_healthy = attributes[:'isHealthy'] unless attributes[:'isHealthy'].nil? raise 'You cannot provide both :isHealthy and :is_healthy' if attributes.key?(:'isHealthy') && attributes.key?(:'is_healthy') self.is_healthy = attributes[:'is_healthy'] unless attributes[:'is_healthy'].nil? self.subnet_id = attributes[:'subnetId'] if attributes[:'subnetId'] raise 'You cannot provide both :subnetId and :subnet_id' if attributes.key?(:'subnetId') && attributes.key?(:'subnet_id') self.subnet_id = attributes[:'subnet_id'] if attributes[:'subnet_id'] self.load_balancer_subnet_id = attributes[:'loadBalancerSubnetId'] if attributes[:'loadBalancerSubnetId'] raise 'You cannot provide both :loadBalancerSubnetId and :load_balancer_subnet_id' if attributes.key?(:'loadBalancerSubnetId') && attributes.key?(:'load_balancer_subnet_id') self.load_balancer_subnet_id = attributes[:'load_balancer_subnet_id'] if attributes[:'load_balancer_subnet_id'] self.load_balancer_id = attributes[:'loadBalancerId'] if attributes[:'loadBalancerId'] raise 'You cannot provide both :loadBalancerId and :load_balancer_id' if attributes.key?(:'loadBalancerId') && attributes.key?(:'load_balancer_id') self.load_balancer_id = attributes[:'load_balancer_id'] if attributes[:'load_balancer_id'] self.fqdn = attributes[:'fqdn'] if attributes[:'fqdn'] self.license_model = attributes[:'licenseModel'] if attributes[:'licenseModel'] raise 'You cannot provide both :licenseModel and :license_model' if attributes.key?(:'licenseModel') && attributes.key?(:'license_model') self.license_model = attributes[:'license_model'] if attributes[:'license_model'] self.environment_type = attributes[:'environmentType'] if attributes[:'environmentType'] raise 'You cannot provide both :environmentType and :environment_type' if attributes.key?(:'environmentType') && attributes.key?(:'environment_type') self.environment_type = attributes[:'environment_type'] if attributes[:'environment_type'] self.category = attributes[:'category'] if attributes[:'category'] self.cpu_core_count = attributes[:'cpuCoreCount'] if attributes[:'cpuCoreCount'] raise 'You cannot provide both :cpuCoreCount and :cpu_core_count' if attributes.key?(:'cpuCoreCount') && attributes.key?(:'cpu_core_count') self.cpu_core_count = attributes[:'cpu_core_count'] if attributes[:'cpu_core_count'] self.is_auto_scaling_enabled = attributes[:'isAutoScalingEnabled'] unless attributes[:'isAutoScalingEnabled'].nil? raise 'You cannot provide both :isAutoScalingEnabled and :is_auto_scaling_enabled' if attributes.key?(:'isAutoScalingEnabled') && attributes.key?(:'is_auto_scaling_enabled') self.is_auto_scaling_enabled = attributes[:'is_auto_scaling_enabled'] unless attributes[:'is_auto_scaling_enabled'].nil? self.nsg_ids = attributes[:'nsgIds'] if attributes[:'nsgIds'] raise 'You cannot provide both :nsgIds and :nsg_ids' if attributes.key?(:'nsgIds') && attributes.key?(:'nsg_ids') self.nsg_ids = attributes[:'nsg_ids'] if attributes[:'nsg_ids'] self.is_public = attributes[:'isPublic'] unless attributes[:'isPublic'].nil? raise 'You cannot provide both :isPublic and :is_public' if attributes.key?(:'isPublic') && attributes.key?(:'is_public') self.is_public = attributes[:'is_public'] unless attributes[:'is_public'].nil? self.public_ip_address = attributes[:'publicIpAddress'] if attributes[:'publicIpAddress'] raise 'You cannot provide both :publicIpAddress and :public_ip_address' if attributes.key?(:'publicIpAddress') && attributes.key?(:'public_ip_address') self.public_ip_address = attributes[:'public_ip_address'] if attributes[:'public_ip_address'] self.private_ip_address = attributes[:'privateIpAddress'] if attributes[:'privateIpAddress'] raise 'You cannot provide both :privateIpAddress and :private_ip_address' if attributes.key?(:'privateIpAddress') && attributes.key?(:'private_ip_address') self.private_ip_address = attributes[:'private_ip_address'] if attributes[:'private_ip_address'] self.deployment_url = attributes[:'deploymentUrl'] if attributes[:'deploymentUrl'] raise 'You cannot provide both :deploymentUrl and :deployment_url' if attributes.key?(:'deploymentUrl') && attributes.key?(:'deployment_url') self.deployment_url = attributes[:'deployment_url'] if attributes[:'deployment_url'] self. = attributes[:'systemTags'] if attributes[:'systemTags'] raise 'You cannot provide both :systemTags and :system_tags' if attributes.key?(:'systemTags') && attributes.key?(:'system_tags') self. = attributes[:'system_tags'] if attributes[:'system_tags'] self.is_latest_version = attributes[:'isLatestVersion'] unless attributes[:'isLatestVersion'].nil? raise 'You cannot provide both :isLatestVersion and :is_latest_version' if attributes.key?(:'isLatestVersion') && attributes.key?(:'is_latest_version') self.is_latest_version = attributes[:'is_latest_version'] unless attributes[:'is_latest_version'].nil? self.time_upgrade_required = attributes[:'timeUpgradeRequired'] if attributes[:'timeUpgradeRequired'] raise 'You cannot provide both :timeUpgradeRequired and :time_upgrade_required' if attributes.key?(:'timeUpgradeRequired') && attributes.key?(:'time_upgrade_required') self.time_upgrade_required = attributes[:'time_upgrade_required'] if attributes[:'time_upgrade_required'] self.storage_utilization_in_bytes = attributes[:'storageUtilizationInBytes'] if attributes[:'storageUtilizationInBytes'] raise 'You cannot provide both :storageUtilizationInBytes and :storage_utilization_in_bytes' if attributes.key?(:'storageUtilizationInBytes') && attributes.key?(:'storage_utilization_in_bytes') self.storage_utilization_in_bytes = attributes[:'storage_utilization_in_bytes'] if attributes[:'storage_utilization_in_bytes'] self.is_storage_utilization_limit_exceeded = attributes[:'isStorageUtilizationLimitExceeded'] unless attributes[:'isStorageUtilizationLimitExceeded'].nil? raise 'You cannot provide both :isStorageUtilizationLimitExceeded and :is_storage_utilization_limit_exceeded' if attributes.key?(:'isStorageUtilizationLimitExceeded') && attributes.key?(:'is_storage_utilization_limit_exceeded') self.is_storage_utilization_limit_exceeded = attributes[:'is_storage_utilization_limit_exceeded'] unless attributes[:'is_storage_utilization_limit_exceeded'].nil? self.deployment_type = attributes[:'deploymentType'] if attributes[:'deploymentType'] raise 'You cannot provide both :deploymentType and :deployment_type' if attributes.key?(:'deploymentType') && attributes.key?(:'deployment_type') self.deployment_type = attributes[:'deployment_type'] if attributes[:'deployment_type'] self.ogg_data = attributes[:'oggData'] if attributes[:'oggData'] raise 'You cannot provide both :oggData and :ogg_data' if attributes.key?(:'oggData') && attributes.key?(:'ogg_data') self.ogg_data = attributes[:'ogg_data'] if attributes[:'ogg_data'] self.deployment_diagnostic_data = attributes[:'deploymentDiagnosticData'] if attributes[:'deploymentDiagnosticData'] raise 'You cannot provide both :deploymentDiagnosticData and :deployment_diagnostic_data' if attributes.key?(:'deploymentDiagnosticData') && attributes.key?(:'deployment_diagnostic_data') self.deployment_diagnostic_data = attributes[:'deployment_diagnostic_data'] if attributes[:'deployment_diagnostic_data'] self.maintenance_window = attributes[:'maintenanceWindow'] if attributes[:'maintenanceWindow'] raise 'You cannot provide both :maintenanceWindow and :maintenance_window' if attributes.key?(:'maintenanceWindow') && attributes.key?(:'maintenance_window') self.maintenance_window = attributes[:'maintenance_window'] if attributes[:'maintenance_window'] self.time_of_next_maintenance = attributes[:'timeOfNextMaintenance'] if attributes[:'timeOfNextMaintenance'] raise 'You cannot provide both :timeOfNextMaintenance and :time_of_next_maintenance' if attributes.key?(:'timeOfNextMaintenance') && attributes.key?(:'time_of_next_maintenance') self.time_of_next_maintenance = attributes[:'time_of_next_maintenance'] if attributes[:'time_of_next_maintenance'] self.next_maintenance_action_type = attributes[:'nextMaintenanceActionType'] if attributes[:'nextMaintenanceActionType'] raise 'You cannot provide both :nextMaintenanceActionType and :next_maintenance_action_type' if attributes.key?(:'nextMaintenanceActionType') && attributes.key?(:'next_maintenance_action_type') self.next_maintenance_action_type = attributes[:'next_maintenance_action_type'] if attributes[:'next_maintenance_action_type'] self.next_maintenance_description = attributes[:'nextMaintenanceDescription'] if attributes[:'nextMaintenanceDescription'] raise 'You cannot provide both :nextMaintenanceDescription and :next_maintenance_description' if attributes.key?(:'nextMaintenanceDescription') && attributes.key?(:'next_maintenance_description') self.next_maintenance_description = attributes[:'next_maintenance_description'] if attributes[:'next_maintenance_description'] self.maintenance_configuration = attributes[:'maintenanceConfiguration'] if attributes[:'maintenanceConfiguration'] raise 'You cannot provide both :maintenanceConfiguration and :maintenance_configuration' if attributes.key?(:'maintenanceConfiguration') && attributes.key?(:'maintenance_configuration') self.maintenance_configuration = attributes[:'maintenance_configuration'] if attributes[:'maintenance_configuration'] self.time_ogg_version_supported_until = attributes[:'timeOggVersionSupportedUntil'] if attributes[:'timeOggVersionSupportedUntil'] raise 'You cannot provide both :timeOggVersionSupportedUntil and :time_ogg_version_supported_until' if attributes.key?(:'timeOggVersionSupportedUntil') && attributes.key?(:'time_ogg_version_supported_until') self.time_ogg_version_supported_until = attributes[:'time_ogg_version_supported_until'] if attributes[:'time_ogg_version_supported_until'] self.backup_schedule = attributes[:'backupSchedule'] if attributes[:'backupSchedule'] raise 'You cannot provide both :backupSchedule and :backup_schedule' if attributes.key?(:'backupSchedule') && attributes.key?(:'backup_schedule') self.backup_schedule = attributes[:'backup_schedule'] if attributes[:'backup_schedule'] self.time_last_backup_scheduled = attributes[:'timeLastBackupScheduled'] if attributes[:'timeLastBackupScheduled'] raise 'You cannot provide both :timeLastBackupScheduled and :time_last_backup_scheduled' if attributes.key?(:'timeLastBackupScheduled') && attributes.key?(:'time_last_backup_scheduled') self.time_last_backup_scheduled = attributes[:'time_last_backup_scheduled'] if attributes[:'time_last_backup_scheduled'] self.time_next_backup_scheduled = attributes[:'timeNextBackupScheduled'] if attributes[:'timeNextBackupScheduled'] raise 'You cannot provide both :timeNextBackupScheduled and :time_next_backup_scheduled' if attributes.key?(:'timeNextBackupScheduled') && attributes.key?(:'time_next_backup_scheduled') self.time_next_backup_scheduled = attributes[:'time_next_backup_scheduled'] if attributes[:'time_next_backup_scheduled'] self.ingress_ips = attributes[:'ingressIps'] if attributes[:'ingressIps'] raise 'You cannot provide both :ingressIps and :ingress_ips' if attributes.key?(:'ingressIps') && attributes.key?(:'ingress_ips') self.ingress_ips = attributes[:'ingress_ips'] if attributes[:'ingress_ips'] end |
Instance Attribute Details
#availability_domain ⇒ String
The availability domain of a placement.
107 108 109 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 107 def availability_domain @availability_domain end |
#backup_schedule ⇒ OCI::GoldenGate::Models::BackupSchedule
346 347 348 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 346 def backup_schedule @backup_schedule end |
#category ⇒ String
[Required] The deployment category defines the broad separation of the deployment type into three categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS' and 'DATA_TRANSFORMS'.
230 231 232 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 230 def category @category end |
#compartment_id ⇒ String
[Required] The OCID of the compartment being referenced.
103 104 105 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 103 def compartment_id @compartment_id end |
#cpu_core_count ⇒ Integer
[Required] The Minimum number of OCPUs to be made available for this Deployment.
235 236 237 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 235 def cpu_core_count @cpu_core_count end |
#defined_tags ⇒ Hash<String, Hash<String, Object>>
Tags defined for this resource. Each key is predefined and scoped to a namespace.
Example: {\"foo-namespace\": {\"bar-key\": \"value\"}}
180 181 182 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 180 def @defined_tags end |
#deployment_backup_id ⇒ String
The OCID of the backup being referenced.
137 138 139 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 137 def deployment_backup_id @deployment_backup_id end |
#deployment_diagnostic_data ⇒ OCI::GoldenGate::Models::DeploymentDiagnosticData
315 316 317 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 315 def deployment_diagnostic_data @deployment_diagnostic_data end |
#deployment_role ⇒ String
The type of the deployment role.
116 117 118 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 116 def deployment_role @deployment_role end |
#deployment_type ⇒ String
[Required] The type of deployment, which can be any one of the Allowed values. NOTE: Use of the value 'OGG' is maintained for backward compatibility purposes. Its use is discouraged in favor of 'DATABASE_ORACLE'.
309 310 311 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 309 def deployment_type @deployment_type end |
#deployment_url ⇒ String
The URL of a resource.
266 267 268 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 266 def deployment_url @deployment_url end |
#description ⇒ String
Metadata about this specific object.
98 99 100 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 98 def description @description end |
#display_name ⇒ String
An object's Display Name.
93 94 95 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 93 def display_name @display_name end |
#environment_type ⇒ String
Specifies whether the deployment is used in a production or development/testing environment.
224 225 226 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 224 def environment_type @environment_type end |
#fault_domain ⇒ String
The fault domain of a placement.
111 112 113 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 111 def fault_domain @fault_domain end |
#fqdn ⇒ String
A three-label Fully Qualified Domain Name (FQDN) for a resource.
214 215 216 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 214 def fqdn @fqdn end |
#freeform_tags ⇒ Hash<String, String>
A simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only.
Example: {\"bar-key\": \"value\"}
173 174 175 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 173 def @freeform_tags end |
#id ⇒ String
[Required] The OCID of the deployment being referenced.
88 89 90 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 88 def id @id end |
#ingress_ips ⇒ Array<OCI::GoldenGate::Models::IngressIpDetails>
List of ingress IP addresses from where the GoldenGate deployment connects to this connection's privateIp. Customers may optionally set up ingress security rules to restrict traffic from these IP addresses.
364 365 366 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 364 def ingress_ips @ingress_ips end |
#is_auto_scaling_enabled ⇒ BOOLEAN
[Required] Indicates if auto scaling is enabled for the Deployment's CPU core count.
240 241 242 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 240 def is_auto_scaling_enabled @is_auto_scaling_enabled end |
#is_healthy ⇒ BOOLEAN
True if all of the aggregate resources are working correctly.
189 190 191 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 189 def is_healthy @is_healthy end |
#is_latest_version ⇒ BOOLEAN
Indicates if the resource is the the latest available version.
280 281 282 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 280 def is_latest_version @is_latest_version end |
#is_public ⇒ BOOLEAN
True if this object is publicly available.
250 251 252 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 250 def is_public @is_public end |
#is_storage_utilization_limit_exceeded ⇒ BOOLEAN
Deprecated: This field is not updated and will be removed in future versions. If storage utilization exceeds the limit, the respective warning message will appear in deployment messages, which can be accessed through /messages?deploymentId=. Indicator will be true if the amount of storage being utilized exceeds the allowable storage utilization limit. Exceeding the limit may be an indication of a misconfiguration of the deployment's GoldenGate service.
302 303 304 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 302 def is_storage_utilization_limit_exceeded @is_storage_utilization_limit_exceeded end |
#license_model ⇒ String
[Required] The Oracle license model that applies to a Deployment.
219 220 221 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 219 def license_model @license_model end |
#lifecycle_details ⇒ String
Describes the object's current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state.
165 166 167 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 165 def lifecycle_details @lifecycle_details end |
#lifecycle_state ⇒ String
Possible lifecycle states.
154 155 156 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 154 def lifecycle_state @lifecycle_state end |
#lifecycle_sub_state ⇒ String
Possible GGS lifecycle sub-states.
159 160 161 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 159 def lifecycle_sub_state @lifecycle_sub_state end |
#load_balancer_id ⇒ String
The OCID of the loadbalancer in the customer's subnet. The loadbalancer of the public deployment created in the customer subnet.
209 210 211 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 209 def load_balancer_id @load_balancer_id end |
#load_balancer_subnet_id ⇒ String
The OCID of a public subnet in the customer tenancy. Can be provided only for public deployments. If provided, the loadbalancer will be created in this subnet instead of the service tenancy. For backward compatibility, this is an optional property. It will become mandatory for public deployments after October 1, 2024.
203 204 205 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 203 def load_balancer_subnet_id @load_balancer_subnet_id end |
#locks ⇒ Array<OCI::GoldenGate::Models::ResourceLock>
Locks associated with this resource.
184 185 186 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 184 def locks @locks end |
#maintenance_configuration ⇒ OCI::GoldenGate::Models::MaintenanceConfiguration
337 338 339 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 337 def maintenance_configuration @maintenance_configuration end |
#maintenance_window ⇒ OCI::GoldenGate::Models::MaintenanceWindow
318 319 320 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 318 def maintenance_window @maintenance_window end |
#next_maintenance_action_type ⇒ String
Type of the next maintenance.
329 330 331 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 329 def next_maintenance_action_type @next_maintenance_action_type end |
#next_maintenance_description ⇒ String
Description of the next maintenance.
334 335 336 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 334 def next_maintenance_description @next_maintenance_description end |
#nsg_ids ⇒ Array<String>
An array of Network Security Group OCIDs used to define network access for either Deployments or Connections.
245 246 247 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 245 def nsg_ids @nsg_ids end |
#ogg_data ⇒ OCI::GoldenGate::Models::OggDeployment
312 313 314 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 312 def ogg_data @ogg_data end |
#placements ⇒ Array<OCI::GoldenGate::Models::DeploymentPlacementInfo>
An array of local peers of deployment
132 133 134 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 132 def placements @placements end |
#private_ip_address ⇒ String
The private IP address in the customer's VCN representing the access point for the associated endpoint service in the GoldenGate service VCN.
261 262 263 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 261 def private_ip_address @private_ip_address end |
#public_ip_address ⇒ String
The public IP address representing the access point for the Deployment.
255 256 257 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 255 def public_ip_address @public_ip_address end |
#source_deployment_id ⇒ String
The OCID of the deployment being referenced.
127 128 129 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 127 def source_deployment_id @source_deployment_id end |
#storage_utilization_in_bytes ⇒ Integer
The amount of storage being utilized (in bytes)
296 297 298 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 296 def storage_utilization_in_bytes @storage_utilization_in_bytes end |
#subnet_id ⇒ String
[Required] The OCID of the subnet of the deployment's private endpoint. The subnet must be a private subnet. For backward compatibility, public subnets are allowed until May 31 2025, after which the private subnet will be enforced.
196 197 198 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 196 def subnet_id @subnet_id end |
#system_tags ⇒ Hash<String, Hash<String, Object>>
The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags.
Example: {orcl-cloud: {free-tier-retain: true}}
275 276 277 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 275 def @system_tags end |
#time_created ⇒ DateTime
The time the resource was created. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z
.
143 144 145 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 143 def time_created @time_created end |
#time_last_backup_scheduled ⇒ DateTime
The timestamp of last deployment backup scheduled. The format is defined by RFC3339, such as 2024-10-25T18:19:29.600Z
.
352 353 354 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 352 def time_last_backup_scheduled @time_last_backup_scheduled end |
#time_next_backup_scheduled ⇒ DateTime
The timestamp of next deployment backup scheduled. The format is defined by RFC3339, such as 2024-10-26T20:19:29.600Z
.
358 359 360 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 358 def time_next_backup_scheduled @time_next_backup_scheduled end |
#time_of_next_maintenance ⇒ DateTime
The time of next maintenance schedule. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z
.
324 325 326 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 324 def time_of_next_maintenance @time_of_next_maintenance end |
#time_ogg_version_supported_until ⇒ DateTime
The time until OGG version is supported. After this date has passed OGG version will not be available anymore. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z
.
343 344 345 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 343 def time_ogg_version_supported_until @time_ogg_version_supported_until end |
#time_role_changed ⇒ DateTime
The time of the last role change. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z
.
122 123 124 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 122 def time_role_changed @time_role_changed end |
#time_updated ⇒ DateTime
The time the resource was last updated. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z
.
149 150 151 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 149 def time_updated @time_updated end |
#time_upgrade_required ⇒ DateTime
Note: Deprecated: Use timeOfNextMaintenance instead, or related upgrade records to check, when deployment will be forced to upgrade to a newer version. Old description: The date the existing version in use will no longer be considered as usable and an upgrade will be required. This date is typically 6 months after the version was released for use by GGS. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z
.
291 292 293 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 291 def time_upgrade_required @time_upgrade_required end |
Class Method Details
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 367 def self.attribute_map { # rubocop:disable Style/SymbolLiteral 'id': :'id', 'display_name': :'displayName', 'description': :'description', 'compartment_id': :'compartmentId', 'availability_domain': :'availabilityDomain', 'fault_domain': :'faultDomain', 'deployment_role': :'deploymentRole', 'time_role_changed': :'timeRoleChanged', 'source_deployment_id': :'sourceDeploymentId', 'placements': :'placements', 'deployment_backup_id': :'deploymentBackupId', 'time_created': :'timeCreated', 'time_updated': :'timeUpdated', 'lifecycle_state': :'lifecycleState', 'lifecycle_sub_state': :'lifecycleSubState', 'lifecycle_details': :'lifecycleDetails', 'freeform_tags': :'freeformTags', 'defined_tags': :'definedTags', 'locks': :'locks', 'is_healthy': :'isHealthy', 'subnet_id': :'subnetId', 'load_balancer_subnet_id': :'loadBalancerSubnetId', 'load_balancer_id': :'loadBalancerId', 'fqdn': :'fqdn', 'license_model': :'licenseModel', 'environment_type': :'environmentType', 'category': :'category', 'cpu_core_count': :'cpuCoreCount', 'is_auto_scaling_enabled': :'isAutoScalingEnabled', 'nsg_ids': :'nsgIds', 'is_public': :'isPublic', 'public_ip_address': :'publicIpAddress', 'private_ip_address': :'privateIpAddress', 'deployment_url': :'deploymentUrl', 'system_tags': :'systemTags', 'is_latest_version': :'isLatestVersion', 'time_upgrade_required': :'timeUpgradeRequired', 'storage_utilization_in_bytes': :'storageUtilizationInBytes', 'is_storage_utilization_limit_exceeded': :'isStorageUtilizationLimitExceeded', 'deployment_type': :'deploymentType', 'ogg_data': :'oggData', 'deployment_diagnostic_data': :'deploymentDiagnosticData', 'maintenance_window': :'maintenanceWindow', 'time_of_next_maintenance': :'timeOfNextMaintenance', 'next_maintenance_action_type': :'nextMaintenanceActionType', 'next_maintenance_description': :'nextMaintenanceDescription', 'maintenance_configuration': :'maintenanceConfiguration', 'time_ogg_version_supported_until': :'timeOggVersionSupportedUntil', 'backup_schedule': :'backupSchedule', 'time_last_backup_scheduled': :'timeLastBackupScheduled', 'time_next_backup_scheduled': :'timeNextBackupScheduled', 'ingress_ips': :'ingressIps' # rubocop:enable Style/SymbolLiteral } end |
.swagger_types ⇒ Object
Attribute type mapping.
427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 427 def self.swagger_types { # rubocop:disable Style/SymbolLiteral 'id': :'String', 'display_name': :'String', 'description': :'String', 'compartment_id': :'String', 'availability_domain': :'String', 'fault_domain': :'String', 'deployment_role': :'String', 'time_role_changed': :'DateTime', 'source_deployment_id': :'String', 'placements': :'Array<OCI::GoldenGate::Models::DeploymentPlacementInfo>', 'deployment_backup_id': :'String', 'time_created': :'DateTime', 'time_updated': :'DateTime', 'lifecycle_state': :'String', 'lifecycle_sub_state': :'String', 'lifecycle_details': :'String', 'freeform_tags': :'Hash<String, String>', 'defined_tags': :'Hash<String, Hash<String, Object>>', 'locks': :'Array<OCI::GoldenGate::Models::ResourceLock>', 'is_healthy': :'BOOLEAN', 'subnet_id': :'String', 'load_balancer_subnet_id': :'String', 'load_balancer_id': :'String', 'fqdn': :'String', 'license_model': :'String', 'environment_type': :'String', 'category': :'String', 'cpu_core_count': :'Integer', 'is_auto_scaling_enabled': :'BOOLEAN', 'nsg_ids': :'Array<String>', 'is_public': :'BOOLEAN', 'public_ip_address': :'String', 'private_ip_address': :'String', 'deployment_url': :'String', 'system_tags': :'Hash<String, Hash<String, Object>>', 'is_latest_version': :'BOOLEAN', 'time_upgrade_required': :'DateTime', 'storage_utilization_in_bytes': :'Integer', 'is_storage_utilization_limit_exceeded': :'BOOLEAN', 'deployment_type': :'String', 'ogg_data': :'OCI::GoldenGate::Models::OggDeployment', 'deployment_diagnostic_data': :'OCI::GoldenGate::Models::DeploymentDiagnosticData', 'maintenance_window': :'OCI::GoldenGate::Models::MaintenanceWindow', 'time_of_next_maintenance': :'DateTime', 'next_maintenance_action_type': :'String', 'next_maintenance_description': :'String', 'maintenance_configuration': :'OCI::GoldenGate::Models::MaintenanceConfiguration', 'time_ogg_version_supported_until': :'DateTime', 'backup_schedule': :'OCI::GoldenGate::Models::BackupSchedule', 'time_last_backup_scheduled': :'DateTime', 'time_next_backup_scheduled': :'DateTime', 'ingress_ips': :'Array<OCI::GoldenGate::Models::IngressIpDetails>' # rubocop:enable Style/SymbolLiteral } end |
Instance Method Details
#==(other) ⇒ Object
Checks equality by comparing each attribute.
950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 950 def ==(other) return true if equal?(other) self.class == other.class && id == other.id && display_name == other.display_name && description == other.description && compartment_id == other.compartment_id && availability_domain == other.availability_domain && fault_domain == other.fault_domain && deployment_role == other.deployment_role && time_role_changed == other.time_role_changed && source_deployment_id == other.source_deployment_id && placements == other.placements && deployment_backup_id == other.deployment_backup_id && time_created == other.time_created && time_updated == other.time_updated && lifecycle_state == other.lifecycle_state && lifecycle_sub_state == other.lifecycle_sub_state && lifecycle_details == other.lifecycle_details && == other. && == other. && locks == other.locks && is_healthy == other.is_healthy && subnet_id == other.subnet_id && load_balancer_subnet_id == other.load_balancer_subnet_id && load_balancer_id == other.load_balancer_id && fqdn == other.fqdn && license_model == other.license_model && environment_type == other.environment_type && category == other.category && cpu_core_count == other.cpu_core_count && is_auto_scaling_enabled == other.is_auto_scaling_enabled && nsg_ids == other.nsg_ids && is_public == other.is_public && public_ip_address == other.public_ip_address && private_ip_address == other.private_ip_address && deployment_url == other.deployment_url && == other. && is_latest_version == other.is_latest_version && time_upgrade_required == other.time_upgrade_required && storage_utilization_in_bytes == other.storage_utilization_in_bytes && is_storage_utilization_limit_exceeded == other.is_storage_utilization_limit_exceeded && deployment_type == other.deployment_type && ogg_data == other.ogg_data && deployment_diagnostic_data == other.deployment_diagnostic_data && maintenance_window == other.maintenance_window && time_of_next_maintenance == other.time_of_next_maintenance && next_maintenance_action_type == other.next_maintenance_action_type && next_maintenance_description == other.next_maintenance_description && maintenance_configuration == other.maintenance_configuration && time_ogg_version_supported_until == other.time_ogg_version_supported_until && backup_schedule == other.backup_schedule && time_last_backup_scheduled == other.time_last_backup_scheduled && time_next_backup_scheduled == other.time_next_backup_scheduled && ingress_ips == other.ingress_ips end |
#build_from_hash(attributes) ⇒ Object
Builds the object from hash
1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 1031 def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) self.class.swagger_types.each_pair do |key, type| if type =~ /^Array<(.*)>/i # check to ensure the input is an array given that the the attribute # is documented as an array but the input is not if attributes[self.class.attribute_map[key]].is_a?(Array) public_method("#{key}=").call( attributes[self.class.attribute_map[key]] .map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) } ) end elsif !attributes[self.class.attribute_map[key]].nil? public_method("#{key}=").call( OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]) ) end # or else data not found in attributes(hash), not an issue as the data can be optional end self end |
#eql?(other) ⇒ Boolean
1011 1012 1013 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 1011 def eql?(other) self == other end |
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
1020 1021 1022 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 1020 def hash [id, display_name, description, compartment_id, availability_domain, fault_domain, deployment_role, time_role_changed, source_deployment_id, placements, deployment_backup_id, time_created, time_updated, lifecycle_state, lifecycle_sub_state, lifecycle_details, , , locks, is_healthy, subnet_id, load_balancer_subnet_id, load_balancer_id, fqdn, license_model, environment_type, category, cpu_core_count, is_auto_scaling_enabled, nsg_ids, is_public, public_ip_address, private_ip_address, deployment_url, , is_latest_version, time_upgrade_required, storage_utilization_in_bytes, is_storage_utilization_limit_exceeded, deployment_type, ogg_data, deployment_diagnostic_data, maintenance_window, time_of_next_maintenance, next_maintenance_action_type, next_maintenance_description, maintenance_configuration, time_ogg_version_supported_until, backup_schedule, time_last_backup_scheduled, time_next_backup_scheduled, ingress_ips].hash end |
#to_hash ⇒ Hash
Returns the object in the form of hash
1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 1064 def to_hash hash = {} self.class.attribute_map.each_pair do |attr, param| value = public_method(attr).call next if value.nil? && !instance_variable_defined?("@#{attr}") hash[param] = _to_hash(value) end hash end |
#to_s ⇒ String
Returns the string representation of the object
1058 1059 1060 |
# File 'lib/oci/golden_gate/models/deployment.rb', line 1058 def to_s to_hash.to_s end |