oci 2.0.5 → 2.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/oci.rb +3 -0
- data/lib/oci/api_client.rb +24 -3
- data/lib/oci/audit/audit_client.rb +19 -5
- data/lib/oci/audit/models/audit_event.rb +19 -0
- data/lib/oci/audit/models/configuration.rb +1 -0
- data/lib/oci/audit/models/update_configuration_details.rb +1 -0
- data/lib/oci/auth/auth.rb +16 -0
- data/lib/oci/auth/federation_client.rb +125 -0
- data/lib/oci/auth/internal/auth_token_request_signer.rb +20 -0
- data/lib/oci/auth/security_token_container.rb +25 -0
- data/lib/oci/auth/session_key_supplier.rb +37 -0
- data/lib/oci/auth/signers/instance_principals_security_token_signer.rb +83 -0
- data/lib/oci/auth/signers/security_token_signer.rb +32 -0
- data/lib/oci/auth/signers/x509_federation_client_based_security_token_signer.rb +70 -0
- data/lib/oci/auth/url_based_certificate_retriever.rb +104 -0
- data/lib/oci/auth/util.rb +33 -0
- data/lib/oci/base_signer.rb +154 -0
- data/lib/oci/core/blockstorage_client.rb +19 -5
- data/lib/oci/core/compute_client.rb +19 -5
- data/lib/oci/core/models/attach_boot_volume_details.rb +5 -2
- data/lib/oci/core/models/attach_i_scsi_volume_details.rb +5 -1
- data/lib/oci/core/models/attach_vnic_details.rb +6 -2
- data/lib/oci/core/models/attach_volume_details.rb +8 -3
- data/lib/oci/core/models/boot_volume.rb +22 -6
- data/lib/oci/core/models/boot_volume_attachment.rb +17 -7
- data/lib/oci/core/models/bulk_add_virtual_circuit_public_prefixes_details.rb +2 -1
- data/lib/oci/core/models/bulk_delete_virtual_circuit_public_prefixes_details.rb +2 -1
- data/lib/oci/core/models/capture_console_history_details.rb +5 -1
- data/lib/oci/core/models/connect_local_peering_gateways_details.rb +3 -1
- data/lib/oci/core/models/console_history.rb +19 -6
- data/lib/oci/core/models/cpe.rb +18 -3
- data/lib/oci/core/models/create_cpe_details.rb +5 -2
- data/lib/oci/core/models/create_cross_connect_details.rb +10 -3
- data/lib/oci/core/models/create_cross_connect_group_details.rb +3 -1
- data/lib/oci/core/models/create_dhcp_details.rb +9 -3
- data/lib/oci/core/models/create_drg_attachment_details.rb +5 -2
- data/lib/oci/core/models/create_drg_details.rb +3 -1
- data/lib/oci/core/models/create_image_details.rb +9 -1
- data/lib/oci/core/models/create_instance_console_connection_details.rb +9 -2
- data/lib/oci/core/models/create_internet_gateway_details.rb +8 -4
- data/lib/oci/core/models/create_ip_sec_connection_details.rb +9 -4
- data/lib/oci/core/models/create_local_peering_gateway_details.rb +5 -2
- data/lib/oci/core/models/create_private_ip_details.rb +7 -1
- data/lib/oci/core/models/create_route_table_details.rb +9 -3
- data/lib/oci/core/models/create_security_list_details.rb +11 -4
- data/lib/oci/core/models/create_subnet_details.rb +17 -5
- data/lib/oci/core/models/create_vcn_details.rb +8 -2
- data/lib/oci/core/models/create_virtual_circuit_details.rb +14 -2
- data/lib/oci/core/models/create_virtual_circuit_public_prefix_details.rb +2 -1
- data/lib/oci/core/models/create_vnic_details.rb +14 -3
- data/lib/oci/core/models/create_volume_backup_details.rb +5 -1
- data/lib/oci/core/models/create_volume_details.rb +11 -2
- data/lib/oci/core/models/cross_connect.rb +26 -0
- data/lib/oci/core/models/cross_connect_group.rb +19 -0
- data/lib/oci/core/models/cross_connect_location.rb +5 -2
- data/lib/oci/core/models/cross_connect_mapping.rb +31 -0
- data/lib/oci/core/models/cross_connect_port_speed_shape.rb +6 -2
- data/lib/oci/core/models/cross_connect_status.rb +6 -1
- data/lib/oci/core/models/delete_virtual_circuit_public_prefix_details.rb +2 -1
- data/lib/oci/core/models/dhcp_dns_option.rb +7 -1
- data/lib/oci/core/models/dhcp_option.rb +9 -1
- data/lib/oci/core/models/dhcp_options.rb +31 -6
- data/lib/oci/core/models/dhcp_search_domain_option.rb +5 -1
- data/lib/oci/core/models/drg.rb +18 -3
- data/lib/oci/core/models/drg_attachment.rb +15 -5
- data/lib/oci/core/models/egress_security_rule.rb +10 -3
- data/lib/oci/core/models/export_image_details.rb +13 -1
- data/lib/oci/core/models/export_image_via_object_storage_tuple_details.rb +3 -0
- data/lib/oci/core/models/export_image_via_object_storage_uri_details.rb +2 -1
- data/lib/oci/core/models/fast_connect_provider_service.rb +17 -6
- data/lib/oci/core/models/i_scsi_volume_attachment.rb +17 -3
- data/lib/oci/core/models/icmp_options.rb +11 -1
- data/lib/oci/core/models/image.rb +28 -7
- data/lib/oci/core/models/image_source_details.rb +4 -1
- data/lib/oci/core/models/image_source_via_object_storage_tuple_details.rb +7 -3
- data/lib/oci/core/models/image_source_via_object_storage_uri_details.rb +3 -1
- data/lib/oci/core/models/ingress_security_rule.rb +10 -3
- data/lib/oci/core/models/instance.rb +33 -7
- data/lib/oci/core/models/instance_console_connection.rb +15 -0
- data/lib/oci/core/models/instance_credentials.rb +5 -2
- data/lib/oci/core/models/instance_source_details.rb +3 -1
- data/lib/oci/core/models/instance_source_via_boot_volume_details.rb +2 -1
- data/lib/oci/core/models/instance_source_via_image_details.rb +2 -1
- data/lib/oci/core/models/internet_gateway.rb +20 -5
- data/lib/oci/core/models/ip_sec_connection.rb +23 -6
- data/lib/oci/core/models/ip_sec_connection_device_config.rb +7 -2
- data/lib/oci/core/models/ip_sec_connection_device_status.rb +7 -2
- data/lib/oci/core/models/launch_instance_details.rb +20 -3
- data/lib/oci/core/models/launch_options.rb +10 -4
- data/lib/oci/core/models/letter_of_authority.rb +10 -0
- data/lib/oci/core/models/local_peering_gateway.rb +29 -9
- data/lib/oci/core/models/port_range.rb +4 -2
- data/lib/oci/core/models/private_ip.rb +41 -1
- data/lib/oci/core/models/route_rule.rb +7 -2
- data/lib/oci/core/models/route_table.rb +22 -5
- data/lib/oci/core/models/security_list.rb +32 -8
- data/lib/oci/core/models/shape.rb +5 -1
- data/lib/oci/core/models/subnet.rb +38 -10
- data/lib/oci/core/models/tcp_options.rb +5 -0
- data/lib/oci/core/models/tunnel_config.rb +6 -2
- data/lib/oci/core/models/tunnel_status.rb +7 -1
- data/lib/oci/core/models/udp_options.rb +5 -0
- data/lib/oci/core/models/update_boot_volume_details.rb +1 -0
- data/lib/oci/core/models/update_console_history_details.rb +3 -0
- data/lib/oci/core/models/update_cpe_details.rb +1 -0
- data/lib/oci/core/models/update_cross_connect_details.rb +5 -1
- data/lib/oci/core/models/update_cross_connect_group_details.rb +1 -0
- data/lib/oci/core/models/update_dhcp_details.rb +4 -0
- data/lib/oci/core/models/update_drg_attachment_details.rb +1 -0
- data/lib/oci/core/models/update_drg_details.rb +1 -0
- data/lib/oci/core/models/update_image_details.rb +3 -0
- data/lib/oci/core/models/update_instance_details.rb +3 -0
- data/lib/oci/core/models/update_internet_gateway_details.rb +3 -1
- data/lib/oci/core/models/update_ip_sec_connection_details.rb +1 -0
- data/lib/oci/core/models/update_local_peering_gateway_details.rb +1 -0
- data/lib/oci/core/models/update_private_ip_details.rb +5 -0
- data/lib/oci/core/models/update_route_table_details.rb +4 -0
- data/lib/oci/core/models/update_security_list_details.rb +5 -0
- data/lib/oci/core/models/update_subnet_details.rb +3 -0
- data/lib/oci/core/models/update_vcn_details.rb +3 -0
- data/lib/oci/core/models/update_virtual_circuit_details.rb +7 -0
- data/lib/oci/core/models/update_vnic_details.rb +4 -1
- data/lib/oci/core/models/update_volume_backup_details.rb +3 -0
- data/lib/oci/core/models/update_volume_details.rb +3 -0
- data/lib/oci/core/models/vcn.rb +24 -4
- data/lib/oci/core/models/virtual_circuit.rb +41 -0
- data/lib/oci/core/models/virtual_circuit_bandwidth_shape.rb +5 -1
- data/lib/oci/core/models/virtual_circuit_public_prefix.rb +8 -2
- data/lib/oci/core/models/vnic.rb +38 -9
- data/lib/oci/core/models/vnic_attachment.rb +21 -7
- data/lib/oci/core/models/volume.rb +28 -8
- data/lib/oci/core/models/volume_attachment.rb +25 -8
- data/lib/oci/core/models/volume_backup.rb +26 -5
- data/lib/oci/core/models/volume_source_details.rb +3 -0
- data/lib/oci/core/models/volume_source_from_volume_backup_details.rb +3 -1
- data/lib/oci/core/models/volume_source_from_volume_details.rb +3 -1
- data/lib/oci/core/virtual_network_client.rb +19 -5
- data/lib/oci/database/database_client.rb +19 -5
- data/lib/oci/database/models/backup.rb +13 -0
- data/lib/oci/database/models/backup_summary.rb +13 -0
- data/lib/oci/database/models/create_backup_details.rb +4 -2
- data/lib/oci/database/models/create_data_guard_association_details.rb +18 -4
- data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +5 -0
- data/lib/oci/database/models/create_database_details.rb +9 -2
- data/lib/oci/database/models/create_database_from_backup_details.rb +6 -3
- data/lib/oci/database/models/create_db_home_details.rb +5 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_base.rb +5 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +6 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +4 -0
- data/lib/oci/database/models/data_guard_association.rb +32 -7
- data/lib/oci/database/models/data_guard_association_summary.rb +32 -7
- data/lib/oci/database/models/database.rb +22 -5
- data/lib/oci/database/models/database_summary.rb +22 -5
- data/lib/oci/database/models/db_backup_config.rb +5 -1
- data/lib/oci/database/models/db_home.rb +22 -5
- data/lib/oci/database/models/db_home_summary.rb +22 -5
- data/lib/oci/database/models/db_node.rb +17 -5
- data/lib/oci/database/models/db_node_summary.rb +17 -5
- data/lib/oci/database/models/db_system.rb +56 -12
- data/lib/oci/database/models/db_system_shape_summary.rb +11 -2
- data/lib/oci/database/models/db_system_summary.rb +56 -12
- data/lib/oci/database/models/db_version_summary.rb +8 -2
- data/lib/oci/database/models/failover_data_guard_association_details.rb +4 -1
- data/lib/oci/database/models/launch_db_system_details.rb +27 -8
- data/lib/oci/database/models/patch.rb +18 -4
- data/lib/oci/database/models/patch_details.rb +6 -0
- data/lib/oci/database/models/patch_history_entry.rb +12 -4
- data/lib/oci/database/models/patch_history_entry_summary.rb +12 -4
- data/lib/oci/database/models/patch_summary.rb +18 -4
- data/lib/oci/database/models/reinstate_data_guard_association_details.rb +4 -1
- data/lib/oci/database/models/restore_database_details.rb +4 -1
- data/lib/oci/database/models/switchover_data_guard_association_details.rb +4 -1
- data/lib/oci/database/models/update_database_details.rb +1 -0
- data/lib/oci/database/models/update_db_home_details.rb +3 -0
- data/lib/oci/database/models/update_db_system_details.rb +6 -0
- data/lib/oci/identity/identity.rb +3 -0
- data/lib/oci/identity/identity_client.rb +290 -70
- data/lib/oci/identity/models/add_user_to_group_details.rb +4 -2
- data/lib/oci/identity/models/api_key.rb +18 -0
- data/lib/oci/identity/models/availability_domain.rb +6 -0
- data/lib/oci/identity/models/compartment.rb +38 -10
- data/lib/oci/identity/models/create_api_key_details.rb +2 -1
- data/lib/oci/identity/models/create_compartment_details.rb +14 -7
- data/lib/oci/identity/models/create_customer_secret_key_details.rb +2 -1
- data/lib/oci/identity/models/create_dynamic_group_details.rb +160 -0
- data/lib/oci/identity/models/create_group_details.rb +14 -7
- data/lib/oci/identity/models/create_identity_provider_details.rb +19 -9
- data/lib/oci/identity/models/create_idp_group_mapping_details.rb +4 -2
- data/lib/oci/identity/models/create_policy_details.rb +18 -9
- data/lib/oci/identity/models/create_region_subscription_details.rb +2 -1
- data/lib/oci/identity/models/create_saml2_identity_provider_details.rb +10 -2
- data/lib/oci/identity/models/create_swift_password_details.rb +2 -1
- data/lib/oci/identity/models/create_tag_details.rb +12 -6
- data/lib/oci/identity/models/create_tag_namespace_details.rb +14 -7
- data/lib/oci/identity/models/create_user_details.rb +14 -7
- data/lib/oci/identity/models/customer_secret_key.rb +16 -0
- data/lib/oci/identity/models/customer_secret_key_summary.rb +10 -0
- data/lib/oci/identity/models/dynamic_group.rb +239 -0
- data/lib/oci/identity/models/group.rb +35 -11
- data/lib/oci/identity/models/identity_provider.rb +36 -12
- data/lib/oci/identity/models/idp_group_mapping.rb +27 -7
- data/lib/oci/identity/models/policy.rb +38 -11
- data/lib/oci/identity/models/region.rb +10 -0
- data/lib/oci/identity/models/region_subscription.rb +16 -5
- data/lib/oci/identity/models/saml2_identity_provider.rb +20 -3
- data/lib/oci/identity/models/swift_password.rb +17 -1
- data/lib/oci/identity/models/tag.rb +30 -13
- data/lib/oci/identity/models/tag_namespace.rb +25 -11
- data/lib/oci/identity/models/tag_namespace_summary.rb +23 -10
- data/lib/oci/identity/models/tag_summary.rb +21 -8
- data/lib/oci/identity/models/tenancy.rb +21 -4
- data/lib/oci/identity/models/ui_password.rb +10 -0
- data/lib/oci/identity/models/update_compartment_details.rb +10 -4
- data/lib/oci/identity/models/update_customer_secret_key_details.rb +1 -0
- data/lib/oci/identity/models/update_dynamic_group_details.rb +134 -0
- data/lib/oci/identity/models/update_group_details.rb +9 -4
- data/lib/oci/identity/models/update_identity_provider_details.rb +12 -5
- data/lib/oci/identity/models/update_idp_group_mapping_details.rb +2 -0
- data/lib/oci/identity/models/update_policy_details.rb +12 -5
- data/lib/oci/identity/models/update_saml2_identity_provider_details.rb +5 -0
- data/lib/oci/identity/models/update_state_details.rb +2 -1
- data/lib/oci/identity/models/update_swift_password_details.rb +1 -0
- data/lib/oci/identity/models/update_tag_details.rb +15 -7
- data/lib/oci/identity/models/update_tag_namespace_details.rb +15 -7
- data/lib/oci/identity/models/update_user_details.rb +9 -4
- data/lib/oci/identity/models/user.rb +38 -11
- data/lib/oci/identity/models/user_group_membership.rb +16 -6
- data/lib/oci/load_balancer/load_balancer.rb +1 -0
- data/lib/oci/load_balancer/load_balancer_client.rb +24 -9
- data/lib/oci/load_balancer/models/backend.rb +20 -10
- data/lib/oci/load_balancer/models/backend_details.rb +12 -5
- data/lib/oci/load_balancer/models/backend_health.rb +6 -2
- data/lib/oci/load_balancer/models/backend_set.rb +14 -2
- data/lib/oci/load_balancer/models/backend_set_details.rb +11 -1
- data/lib/oci/load_balancer/models/backend_set_health.rb +15 -5
- data/lib/oci/load_balancer/models/certificate.rb +10 -3
- data/lib/oci/load_balancer/models/certificate_details.rb +10 -1
- data/lib/oci/load_balancer/models/connection_configuration.rb +157 -0
- data/lib/oci/load_balancer/models/create_backend_details.rb +15 -5
- data/lib/oci/load_balancer/models/create_backend_set_details.rb +13 -2
- data/lib/oci/load_balancer/models/create_certificate_details.rb +10 -1
- data/lib/oci/load_balancer/models/create_listener_details.rb +28 -5
- data/lib/oci/load_balancer/models/create_load_balancer_details.rb +14 -5
- data/lib/oci/load_balancer/models/health_check_result.rb +10 -4
- data/lib/oci/load_balancer/models/health_checker.rb +15 -4
- data/lib/oci/load_balancer/models/health_checker_details.rb +10 -1
- data/lib/oci/load_balancer/models/ip_address.rb +5 -2
- data/lib/oci/load_balancer/models/listener.rb +28 -5
- data/lib/oci/load_balancer/models/listener_details.rb +23 -4
- data/lib/oci/load_balancer/models/load_balancer.rb +30 -7
- data/lib/oci/load_balancer/models/load_balancer_health.rb +15 -5
- data/lib/oci/load_balancer/models/load_balancer_health_summary.rb +5 -2
- data/lib/oci/load_balancer/models/load_balancer_policy.rb +6 -1
- data/lib/oci/load_balancer/models/load_balancer_protocol.rb +3 -1
- data/lib/oci/load_balancer/models/load_balancer_shape.rb +8 -1
- data/lib/oci/load_balancer/models/session_persistence_configuration_details.rb +14 -2
- data/lib/oci/load_balancer/models/ssl_configuration.rb +11 -4
- data/lib/oci/load_balancer/models/ssl_configuration_details.rb +6 -2
- data/lib/oci/load_balancer/models/update_backend_details.rb +12 -7
- data/lib/oci/load_balancer/models/update_backend_set_details.rb +12 -1
- data/lib/oci/load_balancer/models/update_health_checker_details.rb +16 -7
- data/lib/oci/load_balancer/models/update_listener_details.rb +23 -4
- data/lib/oci/load_balancer/models/update_load_balancer_details.rb +3 -1
- data/lib/oci/load_balancer/models/work_request.rb +20 -6
- data/lib/oci/load_balancer/models/work_request_error.rb +5 -1
- data/lib/oci/object_storage/models/bucket.rb +27 -8
- data/lib/oci/object_storage/models/bucket_summary.rb +16 -6
- data/lib/oci/object_storage/models/commit_multipart_upload_details.rb +7 -1
- data/lib/oci/object_storage/models/commit_multipart_upload_part_details.rb +8 -2
- data/lib/oci/object_storage/models/create_bucket_details.rb +15 -4
- data/lib/oci/object_storage/models/create_multipart_upload_details.rb +10 -1
- data/lib/oci/object_storage/models/create_preauthenticated_request_details.rb +7 -3
- data/lib/oci/object_storage/models/list_objects.rb +8 -1
- data/lib/oci/object_storage/models/multipart_upload.rb +20 -5
- data/lib/oci/object_storage/models/multipart_upload_part_summary.rb +13 -4
- data/lib/oci/object_storage/models/namespace_metadata.rb +8 -3
- data/lib/oci/object_storage/models/object_summary.rb +9 -1
- data/lib/oci/object_storage/models/preauthenticated_request.rb +20 -6
- data/lib/oci/object_storage/models/preauthenticated_request_summary.rb +13 -5
- data/lib/oci/object_storage/models/rename_object_details.rb +11 -2
- data/lib/oci/object_storage/models/restore_objects_details.rb +2 -1
- data/lib/oci/object_storage/models/update_bucket_details.rb +13 -2
- data/lib/oci/object_storage/models/update_namespace_metadata_details.rb +5 -0
- data/lib/oci/object_storage/object_storage_client.rb +26 -12
- data/lib/oci/regions.rb +8 -1
- data/lib/oci/signer.rb +5 -124
- data/lib/oci/version.rb +1 -1
- metadata +31 -2
@@ -3,12 +3,18 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# The shape of the DB System. The shape determines resources to allocate to the DB system - CPU cores and memory for VM shapes; CPU cores, memory and storage for non-VM (or bare metal) shapes.
|
7
|
+
# For a description of shapes, see [DB System Launch Options](https://docs.us-phoenix-1.oraclecloud.com/Content/Database/References/launchoptions.htm).
|
8
|
+
# To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator.
|
9
|
+
# If you're an administrator who needs to write policies to give users access,
|
10
|
+
# see [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
|
11
|
+
#
|
6
12
|
class Database::Models::DbSystemShapeSummary
|
7
|
-
# The maximum number of CPU cores that can be enabled on the DB System.
|
13
|
+
# **[Required]** The maximum number of CPU cores that can be enabled on the DB System.
|
8
14
|
# @return [Integer]
|
9
15
|
attr_accessor :available_core_count
|
10
16
|
|
11
|
-
# The name of the shape used for the DB System.
|
17
|
+
# **[Required]** The name of the shape used for the DB System.
|
12
18
|
# @return [String]
|
13
19
|
attr_accessor :name
|
14
20
|
|
@@ -19,6 +25,9 @@ module OCI
|
|
19
25
|
|
20
26
|
# Initializes the object
|
21
27
|
# @param [Hash] attributes Model attributes in the form of hash
|
28
|
+
# @option attributes [Integer] :availableCoreCount The value to assign to the {#available_core_count} property
|
29
|
+
# @option attributes [String] :name The value to assign to the {#name} property
|
30
|
+
# @option attributes [String] :shape The value to assign to the {#shape} property
|
22
31
|
def initialize(attributes = {})
|
23
32
|
return unless attributes.is_a?(Hash)
|
24
33
|
|
@@ -3,6 +3,22 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# The Database Service supports several types of DB Systems, ranging in size, price, and performance. For details about each type of system, see:
|
7
|
+
#
|
8
|
+
# - [Exadata DB Systems](https://docs.us-phoenix-1.oraclecloud.com/Content/Database/Concepts/exaoverview.htm)
|
9
|
+
# - [Bare Metal or VM DB Systems](https://docs.us-phoenix-1.oraclecloud.com/Content/Database/Concepts/overview.htm)
|
10
|
+
#
|
11
|
+
# To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
|
12
|
+
#
|
13
|
+
# For information about access control and compartments, see
|
14
|
+
# [Overview of the Identity Service](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/overview.htm).
|
15
|
+
#
|
16
|
+
# For information about Availability Domains, see
|
17
|
+
# [Regions and Availability Domains](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/regions.htm).
|
18
|
+
#
|
19
|
+
# To get a list of Availability Domains, use the `ListAvailabilityDomains` operation
|
20
|
+
# in the Identity Service API.
|
21
|
+
#
|
6
22
|
class Database::Models::DbSystemSummary
|
7
23
|
|
8
24
|
DATABASE_EDITION_ENUM = [DATABASE_EDITION_STANDARD_EDITION = 'STANDARD_EDITION',
|
@@ -30,7 +46,7 @@ module OCI
|
|
30
46
|
LIFECYCLE_STATE_FAILED = 'FAILED',
|
31
47
|
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
|
32
48
|
|
33
|
-
# The name of the Availability Domain that the DB System is located in.
|
49
|
+
# **[Required]** The name of the Availability Domain that the DB System is located in.
|
34
50
|
# @return [String]
|
35
51
|
attr_accessor :availability_domain
|
36
52
|
|
@@ -47,11 +63,11 @@ module OCI
|
|
47
63
|
# @return [String]
|
48
64
|
attr_accessor :cluster_name
|
49
65
|
|
50
|
-
# The OCID of the compartment.
|
66
|
+
# **[Required]** The OCID of the compartment.
|
51
67
|
# @return [String]
|
52
68
|
attr_accessor :compartment_id
|
53
69
|
|
54
|
-
# The number of CPU cores enabled on the DB System.
|
70
|
+
# **[Required]** The number of CPU cores enabled on the DB System.
|
55
71
|
# @return [Integer]
|
56
72
|
attr_accessor :cpu_core_count
|
57
73
|
|
@@ -66,7 +82,7 @@ module OCI
|
|
66
82
|
# @return [Integer]
|
67
83
|
attr_accessor :data_storage_size_in_gbs
|
68
84
|
|
69
|
-
# The Oracle Database Edition that applies to all the databases on the DB System.
|
85
|
+
# **[Required]** The Oracle Database Edition that applies to all the databases on the DB System.
|
70
86
|
#
|
71
87
|
# @return [String]
|
72
88
|
attr_accessor :database_edition
|
@@ -78,19 +94,19 @@ module OCI
|
|
78
94
|
# @return [String]
|
79
95
|
attr_accessor :disk_redundancy
|
80
96
|
|
81
|
-
# The user-friendly name for the DB System. It does not have to be unique.
|
97
|
+
# **[Required]** The user-friendly name for the DB System. It does not have to be unique.
|
82
98
|
# @return [String]
|
83
99
|
attr_accessor :display_name
|
84
100
|
|
85
|
-
# The domain name for the DB System.
|
101
|
+
# **[Required]** The domain name for the DB System.
|
86
102
|
# @return [String]
|
87
103
|
attr_accessor :domain
|
88
104
|
|
89
|
-
# The host name for the DB Node.
|
105
|
+
# **[Required]** The host name for the DB Node.
|
90
106
|
# @return [String]
|
91
107
|
attr_accessor :hostname
|
92
108
|
|
93
|
-
# The OCID of the DB System.
|
109
|
+
# **[Required]** The OCID of the DB System.
|
94
110
|
# @return [String]
|
95
111
|
attr_accessor :id
|
96
112
|
|
@@ -107,7 +123,7 @@ module OCI
|
|
107
123
|
# @return [String]
|
108
124
|
attr_accessor :lifecycle_details
|
109
125
|
|
110
|
-
# The current state of the DB System.
|
126
|
+
# **[Required]** The current state of the DB System.
|
111
127
|
# @return [String]
|
112
128
|
attr_accessor :lifecycle_state
|
113
129
|
|
@@ -139,15 +155,15 @@ module OCI
|
|
139
155
|
# @return [Array<String>]
|
140
156
|
attr_accessor :scan_ip_ids
|
141
157
|
|
142
|
-
# The shape of the DB System. The shape determines resources to allocate to the DB system - CPU cores and memory for VM shapes; CPU cores, memory and storage for non-VM (or bare metal) shapes.
|
158
|
+
# **[Required]** The shape of the DB System. The shape determines resources to allocate to the DB system - CPU cores and memory for VM shapes; CPU cores, memory and storage for non-VM (or bare metal) shapes.
|
143
159
|
# @return [String]
|
144
160
|
attr_accessor :shape
|
145
161
|
|
146
|
-
# The public key portion of one or more key pairs used for SSH access to the DB System.
|
162
|
+
# **[Required]** The public key portion of one or more key pairs used for SSH access to the DB System.
|
147
163
|
# @return [Array<String>]
|
148
164
|
attr_accessor :ssh_public_keys
|
149
165
|
|
150
|
-
# The OCID of the subnet the DB System is associated with.
|
166
|
+
# **[Required]** The OCID of the subnet the DB System is associated with.
|
151
167
|
#
|
152
168
|
# **Subnet Restrictions:**
|
153
169
|
# - For single node and 2-node (RAC) DB Systems, do not use a subnet that overlaps with 192.168.16.16/28
|
@@ -180,6 +196,34 @@ module OCI
|
|
180
196
|
|
181
197
|
# Initializes the object
|
182
198
|
# @param [Hash] attributes Model attributes in the form of hash
|
199
|
+
# @option attributes [String] :availabilityDomain The value to assign to the {#availability_domain} property
|
200
|
+
# @option attributes [String] :backupSubnetId The value to assign to the {#backup_subnet_id} property
|
201
|
+
# @option attributes [String] :clusterName The value to assign to the {#cluster_name} property
|
202
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
203
|
+
# @option attributes [Integer] :cpuCoreCount The value to assign to the {#cpu_core_count} property
|
204
|
+
# @option attributes [Integer] :dataStoragePercentage The value to assign to the {#data_storage_percentage} property
|
205
|
+
# @option attributes [Integer] :dataStorageSizeInGBs The value to assign to the {#data_storage_size_in_gbs} property
|
206
|
+
# @option attributes [String] :databaseEdition The value to assign to the {#database_edition} property
|
207
|
+
# @option attributes [String] :diskRedundancy The value to assign to the {#disk_redundancy} property
|
208
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
209
|
+
# @option attributes [String] :domain The value to assign to the {#domain} property
|
210
|
+
# @option attributes [String] :hostname The value to assign to the {#hostname} property
|
211
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
212
|
+
# @option attributes [String] :lastPatchHistoryEntryId The value to assign to the {#last_patch_history_entry_id} property
|
213
|
+
# @option attributes [String] :licenseModel The value to assign to the {#license_model} property
|
214
|
+
# @option attributes [String] :lifecycleDetails The value to assign to the {#lifecycle_details} property
|
215
|
+
# @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
|
216
|
+
# @option attributes [Integer] :listenerPort The value to assign to the {#listener_port} property
|
217
|
+
# @option attributes [Integer] :nodeCount The value to assign to the {#node_count} property
|
218
|
+
# @option attributes [Integer] :recoStorageSizeInGB The value to assign to the {#reco_storage_size_in_gb} property
|
219
|
+
# @option attributes [String] :scanDnsRecordId The value to assign to the {#scan_dns_record_id} property
|
220
|
+
# @option attributes [Array<String>] :scanIpIds The value to assign to the {#scan_ip_ids} property
|
221
|
+
# @option attributes [String] :shape The value to assign to the {#shape} property
|
222
|
+
# @option attributes [Array<String>] :sshPublicKeys The value to assign to the {#ssh_public_keys} property
|
223
|
+
# @option attributes [String] :subnetId The value to assign to the {#subnet_id} property
|
224
|
+
# @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
|
225
|
+
# @option attributes [String] :version The value to assign to the {#version} property
|
226
|
+
# @option attributes [Array<String>] :vipIds The value to assign to the {#vip_ids} property
|
183
227
|
def initialize(attributes = {})
|
184
228
|
return unless attributes.is_a?(Hash)
|
185
229
|
|
@@ -3,25 +3,31 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# The Oracle database software version.
|
7
|
+
#
|
8
|
+
# To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
|
9
|
+
#
|
6
10
|
class Database::Models::DbVersionSummary
|
7
11
|
# True if this version of the Oracle database software supports pluggable dbs.
|
8
12
|
# @return [BOOLEAN]
|
9
13
|
attr_accessor :supports_pdb
|
10
14
|
|
11
|
-
# A valid Oracle database version.
|
15
|
+
# **[Required]** A valid Oracle database version.
|
12
16
|
# @return [String]
|
13
17
|
attr_accessor :version
|
14
18
|
|
15
19
|
|
16
20
|
# Initializes the object
|
17
21
|
# @param [Hash] attributes Model attributes in the form of hash
|
22
|
+
# @option attributes [BOOLEAN] :supportsPdb The value to assign to the {#supports_pdb} property
|
23
|
+
# @option attributes [String] :version The value to assign to the {#version} property
|
18
24
|
def initialize(attributes = {})
|
19
25
|
return unless attributes.is_a?(Hash)
|
20
26
|
|
21
27
|
# convert string to symbol for hash key
|
22
28
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
23
29
|
|
24
|
-
|
30
|
+
unless attributes[:'supportsPdb'].nil?
|
25
31
|
self.supports_pdb = attributes[:'supportsPdb']
|
26
32
|
end
|
27
33
|
|
@@ -3,14 +3,17 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# The Data Guard association failover parameters.
|
7
|
+
#
|
6
8
|
class Database::Models::FailoverDataGuardAssociationDetails
|
7
|
-
# The DB System administrator password.
|
9
|
+
# **[Required]** The DB System administrator password.
|
8
10
|
# @return [String]
|
9
11
|
attr_accessor :database_admin_password
|
10
12
|
|
11
13
|
|
12
14
|
# Initializes the object
|
13
15
|
# @param [Hash] attributes Model attributes in the form of hash
|
16
|
+
# @option attributes [String] :databaseAdminPassword The value to assign to the {#database_admin_password} property
|
14
17
|
def initialize(attributes = {})
|
15
18
|
return unless attributes.is_a?(Hash)
|
16
19
|
|
@@ -18,7 +18,7 @@ module OCI
|
|
18
18
|
LICENSE_MODEL_ENUM = [LICENSE_MODEL_LICENSE_INCLUDED = 'LICENSE_INCLUDED',
|
19
19
|
LICENSE_MODEL_BRING_YOUR_OWN_LICENSE = 'BRING_YOUR_OWN_LICENSE']
|
20
20
|
|
21
|
-
# The Availability Domain where the DB System is located.
|
21
|
+
# **[Required]** The Availability Domain where the DB System is located.
|
22
22
|
# @return [String]
|
23
23
|
attr_accessor :availability_domain
|
24
24
|
|
@@ -34,11 +34,11 @@ module OCI
|
|
34
34
|
# @return [String]
|
35
35
|
attr_accessor :cluster_name
|
36
36
|
|
37
|
-
# The Oracle Cloud ID (OCID) of the compartment the DB System belongs in.
|
37
|
+
# **[Required]** The Oracle Cloud ID (OCID) of the compartment the DB System belongs in.
|
38
38
|
# @return [String]
|
39
39
|
attr_accessor :compartment_id
|
40
40
|
|
41
|
-
# The number of CPU cores to enable. The valid values depend on the specified shape:
|
41
|
+
# **[Required]** The number of CPU cores to enable. The valid values depend on the specified shape:
|
42
42
|
#
|
43
43
|
# - BM.DenseIO1.36 and BM.HighIO1.36 - Specify a multiple of 2, from 2 to 36.
|
44
44
|
# - BM.RACLocalStorage1.72 - Specify a multiple of 4, from 4 to 72.
|
@@ -58,13 +58,14 @@ module OCI
|
|
58
58
|
# @return [Integer]
|
59
59
|
attr_accessor :data_storage_percentage
|
60
60
|
|
61
|
-
# The Oracle Database Edition that applies to all the databases on the DB System.
|
61
|
+
# **[Required]** The Oracle Database Edition that applies to all the databases on the DB System.
|
62
62
|
#
|
63
63
|
# Exadata DB Systems and 2-node RAC DB Systems require ENTERPRISE_EDITION_EXTREME_PERFORMANCE.
|
64
64
|
#
|
65
65
|
# @return [String]
|
66
66
|
attr_accessor :database_edition
|
67
67
|
|
68
|
+
# This attribute is required.
|
68
69
|
# @return [OCI::Database::Models::CreateDbHomeDetails]
|
69
70
|
attr_accessor :db_home
|
70
71
|
|
@@ -86,7 +87,7 @@ module OCI
|
|
86
87
|
# @return [String]
|
87
88
|
attr_accessor :domain
|
88
89
|
|
89
|
-
# The host name for the DB System. The host name must begin with an alphabetic character and
|
90
|
+
# **[Required]** The host name for the DB System. The host name must begin with an alphabetic character and
|
90
91
|
# can contain a maximum of 30 alphanumeric characters, including hyphens (-).
|
91
92
|
#
|
92
93
|
# The maximum length of the combined hostname and domain is 63 characters.
|
@@ -112,15 +113,15 @@ module OCI
|
|
112
113
|
# @return [Integer]
|
113
114
|
attr_accessor :node_count
|
114
115
|
|
115
|
-
# The shape of the DB System. The shape determines resources allocated to the DB System - CPU cores and memory for VM shapes; CPU cores, memory and storage for non-VM (or bare metal) shapes. To get a list of shapes, use the {#list_db_system_shapes list_db_system_shapes} operation.
|
116
|
+
# **[Required]** The shape of the DB System. The shape determines resources allocated to the DB System - CPU cores and memory for VM shapes; CPU cores, memory and storage for non-VM (or bare metal) shapes. To get a list of shapes, use the {#list_db_system_shapes list_db_system_shapes} operation.
|
116
117
|
# @return [String]
|
117
118
|
attr_accessor :shape
|
118
119
|
|
119
|
-
# The public key portion of the key pair to use for SSH access to the DB System. Multiple public keys can be provided. The length of the combined keys cannot exceed 10,000 characters.
|
120
|
+
# **[Required]** The public key portion of the key pair to use for SSH access to the DB System. Multiple public keys can be provided. The length of the combined keys cannot exceed 10,000 characters.
|
120
121
|
# @return [Array<String>]
|
121
122
|
attr_accessor :ssh_public_keys
|
122
123
|
|
123
|
-
# The OCID of the subnet the DB System is associated with.
|
124
|
+
# **[Required]** The OCID of the subnet the DB System is associated with.
|
124
125
|
#
|
125
126
|
# **Subnet Restrictions:**
|
126
127
|
# - For single node and 2-node (RAC) DB Systems, do not use a subnet that overlaps with 192.168.16.16/28
|
@@ -136,6 +137,24 @@ module OCI
|
|
136
137
|
|
137
138
|
# Initializes the object
|
138
139
|
# @param [Hash] attributes Model attributes in the form of hash
|
140
|
+
# @option attributes [String] :availabilityDomain The value to assign to the {#availability_domain} property
|
141
|
+
# @option attributes [String] :backupSubnetId The value to assign to the {#backup_subnet_id} property
|
142
|
+
# @option attributes [String] :clusterName The value to assign to the {#cluster_name} property
|
143
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
144
|
+
# @option attributes [Integer] :cpuCoreCount The value to assign to the {#cpu_core_count} property
|
145
|
+
# @option attributes [Integer] :dataStoragePercentage The value to assign to the {#data_storage_percentage} property
|
146
|
+
# @option attributes [String] :databaseEdition The value to assign to the {#database_edition} property
|
147
|
+
# @option attributes [OCI::Database::Models::CreateDbHomeDetails] :dbHome The value to assign to the {#db_home} property
|
148
|
+
# @option attributes [String] :diskRedundancy The value to assign to the {#disk_redundancy} property
|
149
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
150
|
+
# @option attributes [String] :domain The value to assign to the {#domain} property
|
151
|
+
# @option attributes [String] :hostname The value to assign to the {#hostname} property
|
152
|
+
# @option attributes [Integer] :initialDataStorageSizeInGB The value to assign to the {#initial_data_storage_size_in_gb} property
|
153
|
+
# @option attributes [String] :licenseModel The value to assign to the {#license_model} property
|
154
|
+
# @option attributes [Integer] :nodeCount The value to assign to the {#node_count} property
|
155
|
+
# @option attributes [String] :shape The value to assign to the {#shape} property
|
156
|
+
# @option attributes [Array<String>] :sshPublicKeys The value to assign to the {#ssh_public_keys} property
|
157
|
+
# @option attributes [String] :subnetId The value to assign to the {#subnet_id} property
|
139
158
|
def initialize(attributes = {})
|
140
159
|
return unless attributes.is_a?(Hash)
|
141
160
|
|
@@ -3,6 +3,12 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# A Patch for a DB System or DB Home.
|
7
|
+
#
|
8
|
+
# To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized,
|
9
|
+
# talk to an administrator. If you're an administrator who needs to write policies to give users access,
|
10
|
+
# see [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
|
11
|
+
#
|
6
12
|
class Database::Models::Patch
|
7
13
|
|
8
14
|
AVAILABLE_ACTIONS_ENUM = [AVAILABLE_ACTIONS_APPLY = 'APPLY',
|
@@ -25,11 +31,11 @@ module OCI
|
|
25
31
|
# @return [Array<String>]
|
26
32
|
attr_accessor :available_actions
|
27
33
|
|
28
|
-
# The text describing this patch package.
|
34
|
+
# **[Required]** The text describing this patch package.
|
29
35
|
# @return [String]
|
30
36
|
attr_accessor :description
|
31
37
|
|
32
|
-
# The OCID of the patch.
|
38
|
+
# **[Required]** The OCID of the patch.
|
33
39
|
# @return [String]
|
34
40
|
attr_accessor :id
|
35
41
|
|
@@ -47,17 +53,25 @@ module OCI
|
|
47
53
|
# @return [String]
|
48
54
|
attr_accessor :lifecycle_state
|
49
55
|
|
50
|
-
# The date and time that the patch was released.
|
56
|
+
# **[Required]** The date and time that the patch was released.
|
51
57
|
# @return [DateTime]
|
52
58
|
attr_accessor :time_released
|
53
59
|
|
54
|
-
# The version of this patch package.
|
60
|
+
# **[Required]** The version of this patch package.
|
55
61
|
# @return [String]
|
56
62
|
attr_accessor :version
|
57
63
|
|
58
64
|
|
59
65
|
# Initializes the object
|
60
66
|
# @param [Hash] attributes Model attributes in the form of hash
|
67
|
+
# @option attributes [Array<String>] :availableActions The value to assign to the {#available_actions} property
|
68
|
+
# @option attributes [String] :description The value to assign to the {#description} property
|
69
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
70
|
+
# @option attributes [String] :lastAction The value to assign to the {#last_action} property
|
71
|
+
# @option attributes [String] :lifecycleDetails The value to assign to the {#lifecycle_details} property
|
72
|
+
# @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
|
73
|
+
# @option attributes [DateTime] :timeReleased The value to assign to the {#time_released} property
|
74
|
+
# @option attributes [String] :version The value to assign to the {#version} property
|
61
75
|
def initialize(attributes = {})
|
62
76
|
return unless attributes.is_a?(Hash)
|
63
77
|
|
@@ -3,6 +3,10 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# The details about what actions to perform and using what patch to the specified target.
|
7
|
+
# This is part of an update request that is applied to a version field on the target such
|
8
|
+
# as DB System, database home, etc.
|
9
|
+
#
|
6
10
|
class Database::Models::PatchDetails
|
7
11
|
|
8
12
|
ACTION_ENUM = [ACTION_APPLY = 'APPLY',
|
@@ -19,6 +23,8 @@ module OCI
|
|
19
23
|
|
20
24
|
# Initializes the object
|
21
25
|
# @param [Hash] attributes Model attributes in the form of hash
|
26
|
+
# @option attributes [String] :action The value to assign to the {#action} property
|
27
|
+
# @option attributes [String] :patchId The value to assign to the {#patch_id} property
|
22
28
|
def initialize(attributes = {})
|
23
29
|
return unless attributes.is_a?(Hash)
|
24
30
|
|
@@ -3,6 +3,7 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# The record of a patch action on a specified target.
|
6
7
|
class Database::Models::PatchHistoryEntry
|
7
8
|
|
8
9
|
ACTION_ENUM = [ACTION_APPLY = 'APPLY',
|
@@ -19,7 +20,7 @@ module OCI
|
|
19
20
|
# @return [String]
|
20
21
|
attr_accessor :action
|
21
22
|
|
22
|
-
# The OCID of the patch history entry.
|
23
|
+
# **[Required]** The OCID of the patch history entry.
|
23
24
|
# @return [String]
|
24
25
|
attr_accessor :id
|
25
26
|
|
@@ -29,11 +30,11 @@ module OCI
|
|
29
30
|
# @return [String]
|
30
31
|
attr_accessor :lifecycle_details
|
31
32
|
|
32
|
-
# The current state of the action.
|
33
|
+
# **[Required]** The current state of the action.
|
33
34
|
# @return [String]
|
34
35
|
attr_accessor :lifecycle_state
|
35
36
|
|
36
|
-
# The OCID of the patch.
|
37
|
+
# **[Required]** The OCID of the patch.
|
37
38
|
# @return [String]
|
38
39
|
attr_accessor :patch_id
|
39
40
|
|
@@ -41,13 +42,20 @@ module OCI
|
|
41
42
|
# @return [DateTime]
|
42
43
|
attr_accessor :time_ended
|
43
44
|
|
44
|
-
# The date and time when the patch action started.
|
45
|
+
# **[Required]** The date and time when the patch action started.
|
45
46
|
# @return [DateTime]
|
46
47
|
attr_accessor :time_started
|
47
48
|
|
48
49
|
|
49
50
|
# Initializes the object
|
50
51
|
# @param [Hash] attributes Model attributes in the form of hash
|
52
|
+
# @option attributes [String] :action The value to assign to the {#action} property
|
53
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
54
|
+
# @option attributes [String] :lifecycleDetails The value to assign to the {#lifecycle_details} property
|
55
|
+
# @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
|
56
|
+
# @option attributes [String] :patchId The value to assign to the {#patch_id} property
|
57
|
+
# @option attributes [DateTime] :timeEnded The value to assign to the {#time_ended} property
|
58
|
+
# @option attributes [DateTime] :timeStarted The value to assign to the {#time_started} property
|
51
59
|
def initialize(attributes = {})
|
52
60
|
return unless attributes.is_a?(Hash)
|
53
61
|
|
@@ -3,6 +3,7 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# The record of a patch action on a specified target.
|
6
7
|
class Database::Models::PatchHistoryEntrySummary
|
7
8
|
|
8
9
|
ACTION_ENUM = [ACTION_APPLY = 'APPLY',
|
@@ -19,7 +20,7 @@ module OCI
|
|
19
20
|
# @return [String]
|
20
21
|
attr_accessor :action
|
21
22
|
|
22
|
-
# The OCID of the patch history entry.
|
23
|
+
# **[Required]** The OCID of the patch history entry.
|
23
24
|
# @return [String]
|
24
25
|
attr_accessor :id
|
25
26
|
|
@@ -29,11 +30,11 @@ module OCI
|
|
29
30
|
# @return [String]
|
30
31
|
attr_accessor :lifecycle_details
|
31
32
|
|
32
|
-
# The current state of the action.
|
33
|
+
# **[Required]** The current state of the action.
|
33
34
|
# @return [String]
|
34
35
|
attr_accessor :lifecycle_state
|
35
36
|
|
36
|
-
# The OCID of the patch.
|
37
|
+
# **[Required]** The OCID of the patch.
|
37
38
|
# @return [String]
|
38
39
|
attr_accessor :patch_id
|
39
40
|
|
@@ -41,13 +42,20 @@ module OCI
|
|
41
42
|
# @return [DateTime]
|
42
43
|
attr_accessor :time_ended
|
43
44
|
|
44
|
-
# The date and time when the patch action started.
|
45
|
+
# **[Required]** The date and time when the patch action started.
|
45
46
|
# @return [DateTime]
|
46
47
|
attr_accessor :time_started
|
47
48
|
|
48
49
|
|
49
50
|
# Initializes the object
|
50
51
|
# @param [Hash] attributes Model attributes in the form of hash
|
52
|
+
# @option attributes [String] :action The value to assign to the {#action} property
|
53
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
54
|
+
# @option attributes [String] :lifecycleDetails The value to assign to the {#lifecycle_details} property
|
55
|
+
# @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
|
56
|
+
# @option attributes [String] :patchId The value to assign to the {#patch_id} property
|
57
|
+
# @option attributes [DateTime] :timeEnded The value to assign to the {#time_ended} property
|
58
|
+
# @option attributes [DateTime] :timeStarted The value to assign to the {#time_started} property
|
51
59
|
def initialize(attributes = {})
|
52
60
|
return unless attributes.is_a?(Hash)
|
53
61
|
|