Class: Aws::Odb::Client

Inherits:
Seahorse::Client::Base show all
Includes:
ClientStubs
Defined in:
gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb

Overview

An API client for Odb. To construct a client, you need to configure a :region and :credentials.

client = Aws::Odb::Client.new(
  region: region_name,
  credentials: credentials,
  # ...
)

For details on configuring region and credentials see the developer guide.

See #initialize for a full list of supported configuration options.

Instance Attribute Summary

Attributes inherited from Seahorse::Client::Base

#config, #handlers

API Operations collapse

Instance Method Summary collapse

Methods included from ClientStubs

#api_requests, #stub_data, #stub_responses

Methods inherited from Seahorse::Client::Base

add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins

Methods included from Seahorse::Client::HandlerBuilder

#handle, #handle_request, #handle_response

Constructor Details

#initialize(options) ⇒ Client

Returns a new instance of Client.

Parameters:

  • options (Hash)

Options Hash (options):

  • :plugins (Array<Seahorse::Client::Plugin>) — default: []]

    A list of plugins to apply to the client. Each plugin is either a class name or an instance of a plugin class.

  • :credentials (required, Aws::CredentialProvider)

    Your AWS credentials. This can be an instance of any one of the following classes:

    • Aws::Credentials - Used for configuring static, non-refreshing credentials.

    • Aws::SharedCredentials - Used for loading static credentials from a shared file, such as ~/.aws/config.

    • Aws::AssumeRoleCredentials - Used when you need to assume a role.

    • Aws::AssumeRoleWebIdentityCredentials - Used when you need to assume a role after providing credentials via the web.

    • Aws::SSOCredentials - Used for loading credentials from AWS SSO using an access token generated from aws login.

    • Aws::ProcessCredentials - Used for loading credentials from a process that outputs to stdout.

    • Aws::InstanceProfileCredentials - Used for loading credentials from an EC2 IMDS on an EC2 instance.

    • Aws::ECSCredentials - Used for loading credentials from instances running in ECS.

    • Aws::CognitoIdentityCredentials - Used for loading credentials from the Cognito Identity service.

    When :credentials are not configured directly, the following locations will be searched for credentials:

    • Aws.config[:credentials]
    • The :access_key_id, :secret_access_key, :session_token, and :account_id options.
    • ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'], ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
    • ~/.aws/credentials
    • ~/.aws/config
    • EC2/ECS IMDS instance profile - When used by default, the timeouts are very aggressive. Construct and pass an instance of Aws::InstanceProfileCredentials or Aws::ECSCredentials to enable retries and extended timeouts. Instance profile credential fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED'] to true.
  • :region (required, String)

    The AWS region to connect to. The configured :region is used to determine the service :endpoint. When not passed, a default :region is searched for in the following locations:

    • Aws.config[:region]
    • ENV['AWS_REGION']
    • ENV['AMAZON_REGION']
    • ENV['AWS_DEFAULT_REGION']
    • ~/.aws/credentials
    • ~/.aws/config
  • :access_key_id (String)
  • :account_id (String)
  • :active_endpoint_cache (Boolean) — default: false

    When set to true, a thread polling for endpoints will be running in the background every 60 secs (default). Defaults to false.

  • :adaptive_retry_wait_to_fill (Boolean) — default: true

    Used only in adaptive retry mode. When true, the request will sleep until there is sufficent client side capacity to retry the request. When false, the request will raise a RetryCapacityNotAvailableError and will not retry instead of sleeping.

  • :client_side_monitoring (Boolean) — default: false

    When true, client-side metrics will be collected for all API requests from this client.

  • :client_side_monitoring_client_id (String) — default: ""

    Allows you to provide an identifier for this client which will be attached to all generated client side metrics. Defaults to an empty string.

  • :client_side_monitoring_host (String) — default: "127.0.0.1"

    Allows you to specify the DNS hostname or IPv4 or IPv6 address that the client side monitoring agent is running on, where client metrics will be published via UDP.

  • :client_side_monitoring_port (Integer) — default: 31000

    Required for publishing client metrics. The port that the client side monitoring agent is running on, where client metrics will be published via UDP.

  • :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher) — default: Aws::ClientSideMonitoring::Publisher

    Allows you to provide a custom client-side monitoring publisher class. By default, will use the Client Side Monitoring Agent Publisher.

  • :convert_params (Boolean) — default: true

    When true, an attempt is made to coerce request parameters into the required types.

  • :correct_clock_skew (Boolean) — default: true

    Used only in standard and adaptive retry modes. Specifies whether to apply a clock skew correction and retry requests with skewed client clocks.

  • :defaults_mode (String) — default: "legacy"

    See DefaultsModeConfiguration for a list of the accepted modes and the configuration defaults that are included.

  • :disable_host_prefix_injection (Boolean) — default: false

    When true, the SDK will not prepend the modeled host prefix to the endpoint.

  • :disable_request_compression (Boolean) — default: false

    When set to 'true' the request body will not be compressed for supported operations.

  • :endpoint (String, URI::HTTPS, URI::HTTP)

    Normally you should not configure the :endpoint option directly. This is normally constructed from the :region option. Configuring :endpoint is normally reserved for connecting to test or custom endpoints. The endpoint should be a URI formatted like:

    'http://example.com'
    'https://example.com'
    'http://example.com:123'
    
  • :endpoint_cache_max_entries (Integer) — default: 1000

    Used for the maximum size limit of the LRU cache storing endpoints data for endpoint discovery enabled operations. Defaults to 1000.

  • :endpoint_cache_max_threads (Integer) — default: 10

    Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.

  • :endpoint_cache_poll_interval (Integer) — default: 60

    When :endpoint_discovery and :active_endpoint_cache is enabled, Use this option to config the time interval in seconds for making requests fetching endpoints information. Defaults to 60 sec.

  • :endpoint_discovery (Boolean) — default: false

    When set to true, endpoint discovery will be enabled for operations when available.

  • :ignore_configured_endpoint_urls (Boolean)

    Setting to true disables use of endpoint URLs provided via environment variables and the shared configuration file.

  • :log_formatter (Aws::Log::Formatter) — default: Aws::Log::Formatter.default

    The log formatter.

  • :log_level (Symbol) — default: :info

    The log level to send messages to the :logger at.

  • :logger (Logger)

    The Logger instance to send log messages to. If this option is not set, logging will be disabled.

  • :max_attempts (Integer) — default: 3

    An integer representing the maximum number attempts that will be made for a single request, including the initial attempt. For example, setting this value to 5 will result in a request being retried up to 4 times. Used in standard and adaptive retry modes.

  • :profile (String) — default: "default"

    Used when loading credentials from the shared credentials file at HOME/.aws/credentials. When not specified, 'default' is used.

  • :request_checksum_calculation (String) — default: "when_supported"

    Determines when a checksum will be calculated for request payloads. Values are:

    • when_supported - (default) When set, a checksum will be calculated for all request payloads of operations modeled with the httpChecksum trait where requestChecksumRequired is true and/or a requestAlgorithmMember is modeled.
    • when_required - When set, a checksum will only be calculated for request payloads of operations modeled with the httpChecksum trait where requestChecksumRequired is true or where a requestAlgorithmMember is modeled and supplied.
  • :request_min_compression_size_bytes (Integer) — default: 10240

    The minimum size in bytes that triggers compression for request bodies. The value must be non-negative integer value between 0 and 10485780 bytes inclusive.

  • :response_checksum_validation (String) — default: "when_supported"

    Determines when checksum validation will be performed on response payloads. Values are:

    • when_supported - (default) When set, checksum validation is performed on all response payloads of operations modeled with the httpChecksum trait where responseAlgorithms is modeled, except when no modeled checksum algorithms are supported.
    • when_required - When set, checksum validation is not performed on response payloads of operations unless the checksum algorithm is supported and the requestValidationModeMember member is set to ENABLED.
  • :retry_backoff (Proc)

    A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay. This option is only used in the legacy retry mode.

  • :retry_base_delay (Float) — default: 0.3

    The base delay in seconds used by the default backoff function. This option is only used in the legacy retry mode.

  • :retry_jitter (Symbol) — default: :none

    A delay randomiser function used by the default backoff function. Some predefined functions can be referenced by name - :none, :equal, :full, otherwise a Proc that takes and returns a number. This option is only used in the legacy retry mode.

    @see https://www.awsarchitectureblog.com/2015/03/backoff.html

  • :retry_limit (Integer) — default: 3

    The maximum number of times to retry failed requests. Only ~ 500 level server errors and certain ~ 400 level client errors are retried. Generally, these are throttling errors, data checksum errors, networking errors, timeout errors, auth errors, endpoint discovery, and errors from expired credentials. This option is only used in the legacy retry mode.

  • :retry_max_delay (Integer) — default: 0

    The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function. This option is only used in the legacy retry mode.

  • :retry_mode (String) — default: "legacy"

    Specifies which retry algorithm to use. Values are:

    • legacy - The pre-existing retry behavior. This is default value if no retry mode is provided.

    • standard - A standardized set of retry rules across the AWS SDKs. This includes support for retry quotas, which limit the number of unsuccessful retries a client can make.

    • adaptive - An experimental retry mode that includes all the functionality of standard mode along with automatic client side throttling. This is a provisional mode that may change behavior in the future.

  • :sdk_ua_app_id (String)

    A unique and opaque application ID that is appended to the User-Agent header as app/sdk_ua_app_id. It should have a maximum length of 50. This variable is sourced from environment variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.

  • :secret_access_key (String)
  • :session_token (String)
  • :sigv4a_signing_region_set (Array)

    A list of regions that should be signed with SigV4a signing. When not passed, a default :sigv4a_signing_region_set is searched for in the following locations:

    • Aws.config[:sigv4a_signing_region_set]
    • ENV['AWS_SIGV4A_SIGNING_REGION_SET']
    • ~/.aws/config
  • :simple_json (Boolean) — default: false

    Disables request parameter conversion, validation, and formatting. Also disables response data type conversions. The request parameters hash must be formatted exactly as the API expects.This option is useful when you want to ensure the highest level of performance by avoiding overhead of walking request parameters and response data structures.

  • :stub_responses (Boolean) — default: false

    Causes the client to return stubbed responses. By default fake responses are generated and returned. You can specify the response data to return or errors to raise by calling ClientStubs#stub_responses. See ClientStubs for more information.

    Please note When response stubbing is enabled, no HTTP requests are made, and retries are disabled.

  • :telemetry_provider (Aws::Telemetry::TelemetryProviderBase) — default: Aws::Telemetry::NoOpTelemetryProvider

    Allows you to provide a telemetry provider, which is used to emit telemetry data. By default, uses NoOpTelemetryProvider which will not record or emit any telemetry data. The SDK supports the following telemetry providers:

    • OpenTelemetry (OTel) - To use the OTel provider, install and require the opentelemetry-sdk gem and then, pass in an instance of a Aws::Telemetry::OTelProvider for telemetry provider.
  • :token_provider (Aws::TokenProvider)

    A Bearer Token Provider. This can be an instance of any one of the following classes:

    • Aws::StaticTokenProvider - Used for configuring static, non-refreshing tokens.

    • Aws::SSOTokenProvider - Used for loading tokens from AWS SSO using an access token generated from aws login.

    When :token_provider is not configured directly, the Aws::TokenProviderChain will be used to search for tokens configured for your profile in shared configuration files.

  • :use_dualstack_endpoint (Boolean)

    When set to true, dualstack enabled endpoints (with .aws TLD) will be used if available.

  • :use_fips_endpoint (Boolean)

    When set to true, fips compatible endpoints will be used if available. When a fips region is used, the region is normalized and this config is set to true.

  • :validate_params (Boolean) — default: true

    When true, request parameters are validated before sending the request.

  • :endpoint_provider (Aws::Odb::EndpointProvider)

    The endpoint provider used to resolve endpoints. Any object that responds to #resolve_endpoint(parameters) where parameters is a Struct similar to Aws::Odb::EndpointParameters.

  • :http_continue_timeout (Float) — default: 1

    The number of seconds to wait for a 100-continue response before sending the request body. This option has no effect unless the request has "Expect" header set to "100-continue". Defaults to nil which disables this behaviour. This value can safely be set per request on the session.

  • :http_idle_timeout (Float) — default: 5

    The number of seconds a connection is allowed to sit idle before it is considered stale. Stale connections are closed and removed from the pool before making a request.

  • :http_open_timeout (Float) — default: 15

    The default number of seconds to wait for response data. This value can safely be set per-request on the session.

  • :http_proxy (URI::HTTP, String)

    A proxy to send requests through. Formatted like 'http://proxy.com:123'.

  • :http_read_timeout (Float) — default: 60

    The default number of seconds to wait for response data. This value can safely be set per-request on the session.

  • :http_wire_trace (Boolean) — default: false

    When true, HTTP debug output will be sent to the :logger.

  • :on_chunk_received (Proc)

    When a Proc object is provided, it will be used as callback when each chunk of the response body is received. It provides three arguments: the chunk, the number of bytes received, and the total number of bytes in the response (or nil if the server did not send a content-length).

  • :on_chunk_sent (Proc)

    When a Proc object is provided, it will be used as callback when each chunk of the request body is sent. It provides three arguments: the chunk, the number of bytes read from the body, and the total number of bytes in the body.

  • :raise_response_errors (Boolean) — default: true

    When true, response errors are raised.

  • :ssl_ca_bundle (String)

    Full path to the SSL certificate authority bundle file that should be used when verifying peer certificates. If you do not pass :ssl_ca_bundle or :ssl_ca_directory the the system default will be used if available.

  • :ssl_ca_directory (String)

    Full path of the directory that contains the unbundled SSL certificate authority files for verifying peer certificates. If you do not pass :ssl_ca_bundle or :ssl_ca_directory the the system default will be used if available.

  • :ssl_ca_store (String)

    Sets the X509::Store to verify peer certificate.

  • :ssl_cert (OpenSSL::X509::Certificate)

    Sets a client certificate when creating http connections.

  • :ssl_key (OpenSSL::PKey)

    Sets a client key when creating http connections.

  • :ssl_timeout (Float)

    Sets the SSL timeout in seconds

  • :ssl_verify_peer (Boolean) — default: true

    When true, SSL peer certificates are verified when establishing a connection.



473
474
475
# File 'gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb', line 473

def initialize(*args)
  super
end

Instance Method Details

#accept_marketplace_registration(params = {}) ⇒ Struct

Registers the Amazon Web Services Marketplace token for your Amazon Web Services account to activate your Oracle Database@Amazon Web Services subscription.

Examples:

Request syntax with placeholder values


resp = client.accept_marketplace_registration({
  marketplace_registration_token: "String", # required
})

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :marketplace_registration_token (required, String)

    The registration token that's generated by Amazon Web Services Marketplace and sent to Oracle Database@Amazon Web Services.

Returns:

  • (Struct)

    Returns an empty response.

See Also:



499
500
501
502
# File 'gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb', line 499

def accept_marketplace_registration(params = {}, options = {})
  req = build_request(:accept_marketplace_registration, params)
  req.send_request(options)
end

#create_cloud_autonomous_vm_cluster(params = {}) ⇒ Types::CreateCloudAutonomousVmClusterOutput

Creates a new Autonomous VM cluster in the specified Exadata infrastructure.

Examples:

Request syntax with placeholder values


resp = client.create_cloud_autonomous_vm_cluster({
  cloud_exadata_infrastructure_id: "ResourceIdOrArn", # required
  odb_network_id: "ResourceIdOrArn", # required
  display_name: "ResourceDisplayName", # required
  client_token: "CreateCloudAutonomousVmClusterInputClientTokenString",
  autonomous_data_storage_size_in_t_bs: 1.0, # required
  cpu_core_count_per_node: 1, # required
  db_servers: ["String"],
  description: "CreateCloudAutonomousVmClusterInputDescriptionString",
  is_mtls_enabled_vm_cluster: false,
  license_model: "BRING_YOUR_OWN_LICENSE", # accepts BRING_YOUR_OWN_LICENSE, LICENSE_INCLUDED
  maintenance_window: {
    custom_action_timeout_in_mins: 1,
    days_of_week: [
      {
        name: "MONDAY", # accepts MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY
      },
    ],
    hours_of_day: [1],
    is_custom_action_timeout_enabled: false,
    lead_time_in_weeks: 1,
    months: [
      {
        name: "JANUARY", # accepts JANUARY, FEBRUARY, MARCH, APRIL, MAY, JUNE, JULY, AUGUST, SEPTEMBER, OCTOBER, NOVEMBER, DECEMBER
      },
    ],
    patching_mode: "ROLLING", # accepts ROLLING, NONROLLING
    preference: "NO_PREFERENCE", # accepts NO_PREFERENCE, CUSTOM_PREFERENCE
    skip_ru: false,
    weeks_of_month: [1],
  },
  memory_per_oracle_compute_unit_in_g_bs: 1, # required
  scan_listener_port_non_tls: 1,
  scan_listener_port_tls: 1,
  tags: {
    "TagKey" => "TagValue",
  },
  time_zone: "CreateCloudAutonomousVmClusterInputTimeZoneString",
  total_container_databases: 1, # required
})

Response structure


resp.display_name #=> String
resp.status #=> String, one of "AVAILABLE", "FAILED", "PROVISIONING", "TERMINATED", "TERMINATING", "UPDATING", "MAINTENANCE_IN_PROGRESS"
resp.status_reason #=> String
resp.cloud_autonomous_vm_cluster_id #=> String

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :cloud_exadata_infrastructure_id (required, String)

    The unique identifier of the Exadata infrastructure where the VM cluster will be created.

  • :odb_network_id (required, String)

    The unique identifier of the ODB network to be used for the VM cluster.

  • :display_name (required, String)

    The display name for the Autonomous VM cluster. The name does not need to be unique.

  • :client_token (String)

    A client-provided token to ensure idempotency of the request.

    A suitable default value is auto-generated. You should normally not need to pass this option.**

  • :autonomous_data_storage_size_in_t_bs (required, Float)

    The data disk group size to be allocated for Autonomous Databases, in terabytes (TB).

  • :cpu_core_count_per_node (required, Integer)

    The number of CPU cores to be enabled per VM cluster node.

  • :db_servers (Array<String>)

    The list of database servers to be used for the Autonomous VM cluster.

  • :description (String)

    A user-provided description of the Autonomous VM cluster.

  • :is_mtls_enabled_vm_cluster (Boolean)

    Specifies whether to enable mutual TLS (mTLS) authentication for the Autonomous VM cluster.

  • :license_model (String)

    The Oracle license model to apply to the Autonomous VM cluster.

  • :maintenance_window (Types::MaintenanceWindow)

    The scheduling details for the maintenance window. Patching and system updates take place during the maintenance window.

  • :memory_per_oracle_compute_unit_in_g_bs (required, Integer)

    The amount of memory to be allocated per OCPU, in GB.

  • :scan_listener_port_non_tls (Integer)

    The SCAN listener port for non-TLS (TCP) protocol.

  • :scan_listener_port_tls (Integer)

    The SCAN listener port for TLS (TCP) protocol.

  • :tags (Hash<String,String>)

    Free-form tags for this resource. Each tag is a key-value pair with no predefined name, type, or namespace.

  • :time_zone (String)

    The time zone to use for the Autonomous VM cluster.

  • :total_container_databases (required, Integer)

    The total number of Autonomous CDBs that you can create in the Autonomous VM cluster.

Returns:

See Also:



630
631
632
633
# File 'gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb', line 630

def create_cloud_autonomous_vm_cluster(params = {}, options = {})
  req = build_request(:create_cloud_autonomous_vm_cluster, params)
  req.send_request(options)
end

#create_cloud_exadata_infrastructure(params = {}) ⇒ Types::CreateCloudExadataInfrastructureOutput

Creates an Exadata infrastructure.

Examples:

Request syntax with placeholder values


resp = client.create_cloud_exadata_infrastructure({
  display_name: "ResourceDisplayName", # required
  shape: "CreateCloudExadataInfrastructureInputShapeString", # required
  availability_zone: "CreateCloudExadataInfrastructureInputAvailabilityZoneString",
  availability_zone_id: "CreateCloudExadataInfrastructureInputAvailabilityZoneIdString",
  tags: {
    "TagKey" => "TagValue",
  },
  compute_count: 1, # required
  customer_contacts_to_send_to_oci: [
    {
      email: "CustomerContactEmailString",
    },
  ],
  maintenance_window: {
    custom_action_timeout_in_mins: 1,
    days_of_week: [
      {
        name: "MONDAY", # accepts MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY
      },
    ],
    hours_of_day: [1],
    is_custom_action_timeout_enabled: false,
    lead_time_in_weeks: 1,
    months: [
      {
        name: "JANUARY", # accepts JANUARY, FEBRUARY, MARCH, APRIL, MAY, JUNE, JULY, AUGUST, SEPTEMBER, OCTOBER, NOVEMBER, DECEMBER
      },
    ],
    patching_mode: "ROLLING", # accepts ROLLING, NONROLLING
    preference: "NO_PREFERENCE", # accepts NO_PREFERENCE, CUSTOM_PREFERENCE
    skip_ru: false,
    weeks_of_month: [1],
  },
  storage_count: 1, # required
  client_token: "CreateCloudExadataInfrastructureInputClientTokenString",
  database_server_type: "CreateCloudExadataInfrastructureInputDatabaseServerTypeString",
  storage_server_type: "CreateCloudExadataInfrastructureInputStorageServerTypeString",
})

Response structure


resp.display_name #=> String
resp.status #=> String, one of "AVAILABLE", "FAILED", "PROVISIONING", "TERMINATED", "TERMINATING", "UPDATING", "MAINTENANCE_IN_PROGRESS"
resp.status_reason #=> String
resp.cloud_exadata_infrastructure_id #=> String

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :display_name (required, String)

    A user-friendly name for the Exadata infrastructure.

  • :shape (required, String)

    The model name of the Exadata infrastructure. For the list of valid model names, use the ListDbSystemShapes operation.

  • :availability_zone (String)

    The name of the Availability Zone (AZ) where the Exadata infrastructure is located.

    This operation requires that you specify a value for either availabilityZone or availabilityZoneId.

    Example: us-east-1a

  • :availability_zone_id (String)

    The AZ ID of the AZ where the Exadata infrastructure is located.

    This operation requires that you specify a value for either availabilityZone or availabilityZoneId.

    Example: use1-az1

  • :tags (Hash<String,String>)

    The list of resource tags to apply to the Exadata infrastructure.

  • :compute_count (required, Integer)

    The number of database servers for the Exadata infrastructure. Valid values for this parameter depend on the shape. To get information about the minimum and maximum values, use the ListDbSystemShapes operation.

  • :customer_contacts_to_send_to_oci (Array<Types::CustomerContact>)

    The email addresses of contacts to receive notification from Oracle about maintenance updates for the Exadata infrastructure.

  • :maintenance_window (Types::MaintenanceWindow)

    The maintenance window configuration for the Exadata Cloud infrastructure.

    This allows you to define when maintenance operations such as patching and updates can be performed on the infrastructure.

  • :storage_count (required, Integer)

    The number of storage servers to activate for this Exadata infrastructure. Valid values for this parameter depend on the shape. To get information about the minimum and maximum values, use the ListDbSystemShapes operation.

  • :client_token (String)

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency. The client token is valid for up to 24 hours after it's first used.

    A suitable default value is auto-generated. You should normally not need to pass this option.**

  • :database_server_type (String)

    The database server model type of the Exadata infrastructure. For the list of valid model names, use the ListDbSystemShapes operation.

  • :storage_server_type (String)

    The storage server model type of the Exadata infrastructure. For the list of valid model names, use the ListDbSystemShapes operation.

Returns:

See Also:



765
766
767
768
# File 'gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb', line 765

def create_cloud_exadata_infrastructure(params = {}, options = {})
  req = build_request(:create_cloud_exadata_infrastructure, params)
  req.send_request(options)
end

#create_cloud_vm_cluster(params = {}) ⇒ Types::CreateCloudVmClusterOutput

Creates a VM cluster on the specified Exadata infrastructure.

Examples:

Request syntax with placeholder values


resp = client.create_cloud_vm_cluster({
  cloud_exadata_infrastructure_id: "ResourceIdOrArn", # required
  cpu_core_count: 1, # required
  display_name: "ResourceDisplayName", # required
  gi_version: "CreateCloudVmClusterInputGiVersionString", # required
  hostname: "CreateCloudVmClusterInputHostnameString", # required
  ssh_public_keys: ["String"], # required
  odb_network_id: "ResourceIdOrArn", # required
  cluster_name: "CreateCloudVmClusterInputClusterNameString",
  data_collection_options: {
    is_diagnostics_events_enabled: false,
    is_health_monitoring_enabled: false,
    is_incident_logs_enabled: false,
  },
  data_storage_size_in_t_bs: 1.0,
  db_node_storage_size_in_g_bs: 1,
  db_servers: ["String"],
  tags: {
    "TagKey" => "TagValue",
  },
  is_local_backup_enabled: false,
  is_sparse_diskgroup_enabled: false,
  license_model: "BRING_YOUR_OWN_LICENSE", # accepts BRING_YOUR_OWN_LICENSE, LICENSE_INCLUDED
  memory_size_in_g_bs: 1,
  system_version: "CreateCloudVmClusterInputSystemVersionString",
  time_zone: "CreateCloudVmClusterInputTimeZoneString",
  client_token: "CreateCloudVmClusterInputClientTokenString",
  scan_listener_port_tcp: 1,
})

Response structure


resp.display_name #=> String
resp.status #=> String, one of "AVAILABLE", "FAILED", "PROVISIONING", "TERMINATED", "TERMINATING", "UPDATING", "MAINTENANCE_IN_PROGRESS"
resp.status_reason #=> String
resp.cloud_vm_cluster_id #=> String

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :cloud_exadata_infrastructure_id (required, String)

    The unique identifier of the Exadata infrastructure for this VM cluster.

  • :cpu_core_count (required, Integer)

    The number of CPU cores to enable on the VM cluster.

  • :display_name (required, String)

    A user-friendly name for the VM cluster.

  • :gi_version (required, String)

    A valid software version of Oracle Grid Infrastructure (GI). To get the list of valid values, use the ListGiVersions operation and specify the shape of the Exadata infrastructure.

    Example: 19.0.0.0

  • :hostname (required, String)

    The host name for the VM cluster.

    Constraints:

    • Can't be "localhost" or "hostname".

    • Can't contain "-version".

    • The maximum length of the combined hostname and domain is 63 characters.

    • The hostname must be unique within the subnet.

  • :ssh_public_keys (required, Array<String>)

    The public key portion of one or more key pairs used for SSH access to the VM cluster.

  • :odb_network_id (required, String)

    The unique identifier of the ODB network for the VM cluster.

  • :cluster_name (String)

    A name for the Grid Infrastructure cluster. The name isn't case sensitive.

  • :data_collection_options (Types::DataCollectionOptions)

    The set of preferences for the various diagnostic collection options for the VM cluster.

  • :data_storage_size_in_t_bs (Float)

    The size of the data disk group, in terabytes (TBs), to allocate for the VM cluster.

  • :db_node_storage_size_in_g_bs (Integer)

    The amount of local node storage, in gigabytes (GBs), to allocate for the VM cluster.

  • :db_servers (Array<String>)

    The list of database servers for the VM cluster.

  • :tags (Hash<String,String>)

    The list of resource tags to apply to the VM cluster.

  • :is_local_backup_enabled (Boolean)

    Specifies whether to enable database backups to local Exadata storage for the VM cluster.

  • :is_sparse_diskgroup_enabled (Boolean)

    Specifies whether to create a sparse disk group for the VM cluster.

  • :license_model (String)

    The Oracle license model to apply to the VM cluster.

    Default: LICENSE_INCLUDED

  • :memory_size_in_g_bs (Integer)

    The amount of memory, in gigabytes (GBs), to allocate for the VM cluster.

  • :system_version (String)

    The version of the operating system of the image for the VM cluster.

  • :time_zone (String)

    The time zone for the VM cluster. For a list of valid values for time zone, you can check the options in the console.

    Default: UTC

  • :client_token (String)

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency. The client token is valid for up to 24 hours after it's first used.

    A suitable default value is auto-generated. You should normally not need to pass this option.**

  • :scan_listener_port_tcp (Integer)

    The port number for TCP connections to the single client access name (SCAN) listener.

    Valid values: 1024–8999 with the following exceptions: 2484, 6100, 6200, 7060, 7070, 7085, and 7879

    Default: 1521

Returns:

See Also:



926
927
928
929
# File 'gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb', line 926

def create_cloud_vm_cluster(params = {}, options = {})
  req = build_request(:create_cloud_vm_cluster, params)
  req.send_request(options)
end

#create_odb_network(params = {}) ⇒ Types::CreateOdbNetworkOutput

Creates an ODB network.

Examples:

Request syntax with placeholder values


resp = client.create_odb_network({
  display_name: "ResourceDisplayName", # required
  availability_zone: "CreateOdbNetworkInputAvailabilityZoneString",
  availability_zone_id: "CreateOdbNetworkInputAvailabilityZoneIdString",
  client_subnet_cidr: "CreateOdbNetworkInputClientSubnetCidrString", # required
  backup_subnet_cidr: "CreateOdbNetworkInputBackupSubnetCidrString",
  custom_domain_name: "CreateOdbNetworkInputCustomDomainNameString",
  default_dns_prefix: "CreateOdbNetworkInputDefaultDnsPrefixString",
  client_token: "CreateOdbNetworkInputClientTokenString",
  s3_access: "ENABLED", # accepts ENABLED, DISABLED
  zero_etl_access: "ENABLED", # accepts ENABLED, DISABLED
  s3_policy_document: "PolicyDocument",
  tags: {
    "TagKey" => "TagValue",
  },
})

Response structure


resp.display_name #=> String
resp.status #=> String, one of "AVAILABLE", "FAILED", "PROVISIONING", "TERMINATED", "TERMINATING", "UPDATING", "MAINTENANCE_IN_PROGRESS"
resp.status_reason #=> String
resp.odb_network_id #=> String

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :display_name (required, String)

    A user-friendly name for the ODB network.

  • :availability_zone (String)

    The Amazon Web Services Availability Zone (AZ) where the ODB network is located.

    This operation requires that you specify a value for either availabilityZone or availabilityZoneId.

  • :availability_zone_id (String)

    The AZ ID of the AZ where the ODB network is located.

    This operation requires that you specify a value for either availabilityZone or availabilityZoneId.

  • :client_subnet_cidr (required, String)

    The CIDR range of the client subnet for the ODB network.

    Constraints:

    • Must not overlap with the CIDR range of the backup subnet.

    • Must not overlap with the CIDR ranges of the VPCs that are connected to the ODB network.

    • Must not use the following CIDR ranges that are reserved by OCI:

      • 100.106.0.0/16 and 100.107.0.0/16

      • 169.254.0.0/16

      • 224.0.0.0 - 239.255.255.255

      • 240.0.0.0 - 255.255.255.255

  • :backup_subnet_cidr (String)

    The CIDR range of the backup subnet for the ODB network.

    Constraints:

    • Must not overlap with the CIDR range of the client subnet.

    • Must not overlap with the CIDR ranges of the VPCs that are connected to the ODB network.

    • Must not use the following CIDR ranges that are reserved by OCI:

      • 100.106.0.0/16 and 100.107.0.0/16

      • 169.254.0.0/16

      • 224.0.0.0 - 239.255.255.255

      • 240.0.0.0 - 255.255.255.255

  • :custom_domain_name (String)

    The domain name to use for the resources in the ODB network.

  • :default_dns_prefix (String)

    The DNS prefix to the default DNS domain name. The default DNS domain name is oraclevcn.com.

  • :client_token (String)

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency. The client token is valid for up to 24 hours after it's first used.

    A suitable default value is auto-generated. You should normally not need to pass this option.**

  • :s3_access (String)

    Specifies the configuration for Amazon S3 access from the ODB network.

  • :zero_etl_access (String)

    Specifies the configuration for Zero-ETL access from the ODB network.

  • :s3_policy_document (String)

    Specifies the endpoint policy for Amazon S3 access from the ODB network.

  • :tags (Hash<String,String>)

    The list of resource tags to apply to the ODB network.

Returns:

See Also:



1056
1057
1058
1059
# File 'gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb', line 1056

def create_odb_network(params = {}, options = {})
  req = build_request(:create_odb_network, params)
  req.send_request(options)
end

#create_odb_peering_connection(params = {}) ⇒ Types::CreateOdbPeeringConnectionOutput

Creates a peering connection between an ODB network and either another ODB network or a customer-owned VPC.

A peering connection enables private connectivity between the networks for application-tier communication.

Examples:

Request syntax with placeholder values


resp = client.create_odb_peering_connection({
  odb_network_id: "ResourceIdOrArn", # required
  peer_network_id: "ResourceIdOrArn", # required
  display_name: "ResourceDisplayName",
  client_token: "CreateOdbPeeringConnectionInputClientTokenString",
  tags: {
    "TagKey" => "TagValue",
  },
})

Response structure


resp.display_name #=> String
resp.status #=> String, one of "AVAILABLE", "FAILED", "PROVISIONING", "TERMINATED", "TERMINATING", "UPDATING", "MAINTENANCE_IN_PROGRESS"
resp.status_reason #=> String
resp.odb_peering_connection_id #=> String

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :odb_network_id (required, String)

    The unique identifier of the ODB network that initiates the peering connection.

  • :peer_network_id (required, String)

    The unique identifier of the peer network. This can be either a VPC ID or another ODB network ID.

  • :display_name (String)

    The display name for the ODB peering connection.

  • :client_token (String)

    The client token for the ODB peering connection request.

    Constraints:

    • Must be unique for each request.

    ^

    A suitable default value is auto-generated. You should normally not need to pass this option.**

  • :tags (Hash<String,String>)

    The tags to assign to the ODB peering connection.

Returns:

See Also:



1123
1124
1125
1126
# File 'gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb', line 1123

def create_odb_peering_connection(params = {}, options = {})
  req = build_request(:create_odb_peering_connection, params)
  req.send_request(options)
end

#delete_cloud_autonomous_vm_cluster(params = {}) ⇒ Struct

Deletes an Autonomous VM cluster.

Examples:

Request syntax with placeholder values


resp = client.delete_cloud_autonomous_vm_cluster({
  cloud_autonomous_vm_cluster_id: "ResourceId", # required
})

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :cloud_autonomous_vm_cluster_id (required, String)

    The unique identifier of the Autonomous VM cluster to delete.

Returns:

  • (Struct)

    Returns an empty response.

See Also:



1145
1146
1147
1148
# File 'gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb', line 1145

def delete_cloud_autonomous_vm_cluster(params = {}, options = {})
  req = build_request(:delete_cloud_autonomous_vm_cluster, params)
  req.send_request(options)
end

#delete_cloud_exadata_infrastructure(params = {}) ⇒ Struct

Deletes the specified Exadata infrastructure. Before you use this operation, make sure to delete all of the VM clusters that are hosted on this Exadata infrastructure.

Examples:

Request syntax with placeholder values


resp = client.delete_cloud_exadata_infrastructure({
  cloud_exadata_infrastructure_id: "ResourceIdOrArn", # required
})

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :cloud_exadata_infrastructure_id (required, String)

    The unique identifier of the Exadata infrastructure to delete.

Returns:

  • (Struct)

    Returns an empty response.

See Also:



1169
1170
1171
1172
# File 'gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb', line 1169

def delete_cloud_exadata_infrastructure(params = {}, options = {})
  req = build_request(:delete_cloud_exadata_infrastructure, params)
  req.send_request(options)
end

#delete_cloud_vm_cluster(params = {}) ⇒ Struct

Deletes the specified VM cluster.

Examples:

Request syntax with placeholder values


resp = client.delete_cloud_vm_cluster({
  cloud_vm_cluster_id: "ResourceId", # required
})

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :cloud_vm_cluster_id (required, String)

    The unique identifier of the VM cluster to delete.

Returns:

  • (Struct)

    Returns an empty response.

See Also:



1191
1192
1193
1194
# File 'gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb', line 1191

def delete_cloud_vm_cluster(params = {}, options = {})
  req = build_request(:delete_cloud_vm_cluster, params)
  req.send_request(options)
end

#delete_odb_network(params = {}) ⇒ Struct

Deletes the specified ODB network.

Examples:

Request syntax with placeholder values


resp = client.delete_odb_network({
  odb_network_id: "ResourceIdOrArn", # required
  delete_associated_resources: false, # required
})

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :odb_network_id (required, String)

    The unique identifier of the ODB network to delete.

  • :delete_associated_resources (required, Boolean)

    Specifies whether to delete associated OCI networking resources along with the ODB network.

Returns:

  • (Struct)

    Returns an empty response.

See Also:



1218
1219
1220
1221
# File 'gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb', line 1218

def delete_odb_network(params = {}, options = {})
  req = build_request(:delete_odb_network, params)
  req.send_request(options)
end

#delete_odb_peering_connection(params = {}) ⇒ Struct

Deletes an ODB peering connection.

When you delete an ODB peering connection, the underlying VPC peering connection is also deleted.

Examples:

Request syntax with placeholder values


resp = client.delete_odb_peering_connection({
  odb_peering_connection_id: "ResourceIdOrArn", # required
})

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :odb_peering_connection_id (required, String)

    The unique identifier of the ODB peering connection to delete.

Returns:

  • (Struct)

    Returns an empty response.

See Also:



1243
1244
1245
1246
# File 'gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb', line 1243

def delete_odb_peering_connection(params = {}, options = {})
  req = build_request(:delete_odb_peering_connection, params)
  req.send_request(options)
end

#get_cloud_autonomous_vm_cluster(params = {}) ⇒ Types::GetCloudAutonomousVmClusterOutput

Gets information about a specific Autonomous VM cluster.

Examples:

Request syntax with placeholder values


resp = client.get_cloud_autonomous_vm_cluster({
  cloud_autonomous_vm_cluster_id: "ResourceId", # required
})

Response structure


resp.cloud_autonomous_vm_cluster.cloud_autonomous_vm_cluster_id #=> String
resp.cloud_autonomous_vm_cluster.cloud_autonomous_vm_cluster_arn #=> String
resp.cloud_autonomous_vm_cluster.odb_network_id #=> String
resp.cloud_autonomous_vm_cluster.oci_resource_anchor_name #=> String
resp.cloud_autonomous_vm_cluster.percent_progress #=> Float
resp.cloud_autonomous_vm_cluster.display_name #=> String
resp.cloud_autonomous_vm_cluster.status #=> String, one of "AVAILABLE", "FAILED", "PROVISIONING", "TERMINATED", "TERMINATING", "UPDATING", "MAINTENANCE_IN_PROGRESS"
resp.cloud_autonomous_vm_cluster.status_reason #=> String
resp.cloud_autonomous_vm_cluster.cloud_exadata_infrastructure_id #=> String
resp.cloud_autonomous_vm_cluster.autonomous_data_storage_percentage #=> Float
resp.cloud_autonomous_vm_cluster.autonomous_data_storage_size_in_t_bs #=> Float
resp.cloud_autonomous_vm_cluster.available_autonomous_data_storage_size_in_t_bs #=> Float
resp.cloud_autonomous_vm_cluster.available_container_databases #=> Integer
resp.cloud_autonomous_vm_cluster.available_cpus #=> Float
resp.cloud_autonomous_vm_cluster.compute_model #=> String, one of "ECPU", "OCPU"
resp.cloud_autonomous_vm_cluster.cpu_core_count #=> Integer
resp.cloud_autonomous_vm_cluster.cpu_core_count_per_node #=> Integer
resp.cloud_autonomous_vm_cluster.cpu_percentage #=> Float
resp.cloud_autonomous_vm_cluster.data_storage_size_in_g_bs #=> Float
resp.cloud_autonomous_vm_cluster.data_storage_size_in_t_bs #=> Float
resp.cloud_autonomous_vm_cluster.db_node_storage_size_in_g_bs #=> Integer
resp.cloud_autonomous_vm_cluster.db_servers #=> Array
resp.cloud_autonomous_vm_cluster.db_servers[0] #=> String
resp.cloud_autonomous_vm_cluster.description #=> String
resp.cloud_autonomous_vm_cluster.domain #=> String
resp.cloud_autonomous_vm_cluster.exadata_storage_in_t_bs_lowest_scaled_value #=> Float
resp.cloud_autonomous_vm_cluster.hostname #=> String
resp.cloud_autonomous_vm_cluster.ocid #=> String
resp.cloud_autonomous_vm_cluster.oci_url #=> String
resp.cloud_autonomous_vm_cluster.is_mtls_enabled_vm_cluster #=> Boolean
resp.cloud_autonomous_vm_cluster.license_model #=> String, one of "BRING_YOUR_OWN_LICENSE", "LICENSE_INCLUDED"
resp.cloud_autonomous_vm_cluster.maintenance_window.custom_action_timeout_in_mins #=> Integer
resp.cloud_autonomous_vm_cluster.maintenance_window.days_of_week #=> Array
resp.cloud_autonomous_vm_cluster.maintenance_window.days_of_week[0].name #=> String, one of "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"
resp.cloud_autonomous_vm_cluster.maintenance_window.hours_of_day #=> Array
resp.cloud_autonomous_vm_cluster.maintenance_window.hours_of_day[0] #=> Integer
resp.cloud_autonomous_vm_cluster.maintenance_window.is_custom_action_timeout_enabled #=> Boolean
resp.cloud_autonomous_vm_cluster.maintenance_window.lead_time_in_weeks #=> Integer
resp.cloud_autonomous_vm_cluster.maintenance_window.months #=> Array
resp.cloud_autonomous_vm_cluster.maintenance_window.months[0].name #=> String, one of "JANUARY", "FEBRUARY", "MARCH", "APRIL", "MAY", "JUNE", "JULY", "AUGUST", "SEPTEMBER", "OCTOBER", "NOVEMBER", "DECEMBER"
resp.cloud_autonomous_vm_cluster.maintenance_window.patching_mode #=> String, one of "ROLLING", "NONROLLING"
resp.cloud_autonomous_vm_cluster.maintenance_window.preference #=> String, one of "NO_PREFERENCE", "CUSTOM_PREFERENCE"
resp.cloud_autonomous_vm_cluster.maintenance_window.skip_ru #=> Boolean
resp.cloud_autonomous_vm_cluster.maintenance_window.weeks_of_month #=> Array
resp.cloud_autonomous_vm_cluster.maintenance_window.weeks_of_month[0] #=> Integer
resp.cloud_autonomous_vm_cluster.max_acds_lowest_scaled_value #=> Integer
resp.cloud_autonomous_vm_cluster.memory_per_oracle_compute_unit_in_g_bs #=> Integer
resp.cloud_autonomous_vm_cluster.memory_size_in_g_bs #=> Integer
resp.cloud_autonomous_vm_cluster.node_count #=> Integer
resp.cloud_autonomous_vm_cluster.non_provisionable_autonomous_container_databases #=> Integer
resp.cloud_autonomous_vm_cluster.provisionable_autonomous_container_databases #=> Integer
resp.cloud_autonomous_vm_cluster.provisioned_autonomous_container_databases #=> Integer
resp.cloud_autonomous_vm_cluster.provisioned_cpus #=> Float
resp.cloud_autonomous_vm_cluster.reclaimable_cpus #=> Float
resp.cloud_autonomous_vm_cluster.reserved_cpus #=> Float
resp.cloud_autonomous_vm_cluster.scan_listener_port_non_tls #=> Integer
resp.cloud_autonomous_vm_cluster.scan_listener_port_tls #=> Integer
resp.cloud_autonomous_vm_cluster.shape #=> String
resp.cloud_autonomous_vm_cluster.created_at #=> Time
resp.cloud_autonomous_vm_cluster.time_database_ssl_certificate_expires #=> Time
resp.cloud_autonomous_vm_cluster.time_ords_certificate_expires #=> Time
resp.cloud_autonomous_vm_cluster.time_zone #=> String
resp.cloud_autonomous_vm_cluster.total_container_databases #=> Integer

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :cloud_autonomous_vm_cluster_id (required, String)

    The unique identifier of the Autonomous VM cluster to retrieve information about.

Returns:

See Also:



1334
1335
1336
1337
# File 'gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb', line 1334

def get_cloud_autonomous_vm_cluster(params = {}, options = {})
  req = build_request(:get_cloud_autonomous_vm_cluster, params)
  req.send_request(options)
end

#get_cloud_exadata_infrastructure(params = {}) ⇒ Types::GetCloudExadataInfrastructureOutput

Returns information about the specified Exadata infrastructure.

Examples:

Request syntax with placeholder values


resp = client.get_cloud_exadata_infrastructure({
  cloud_exadata_infrastructure_id: "ResourceIdOrArn", # required
})

Response structure


resp.cloud_exadata_infrastructure.cloud_exadata_infrastructure_id #=> String
resp.cloud_exadata_infrastructure.display_name #=> String
resp.cloud_exadata_infrastructure.status #=> String, one of "AVAILABLE", "FAILED", "PROVISIONING", "TERMINATED", "TERMINATING", "UPDATING", "MAINTENANCE_IN_PROGRESS"
resp.cloud_exadata_infrastructure.status_reason #=> String
resp.cloud_exadata_infrastructure.cloud_exadata_infrastructure_arn #=> String
resp.cloud_exadata_infrastructure.activated_storage_count #=> Integer
resp.cloud_exadata_infrastructure.additional_storage_count #=> Integer
resp.cloud_exadata_infrastructure.available_storage_size_in_g_bs #=> Integer
resp.cloud_exadata_infrastructure.availability_zone #=> String
resp.cloud_exadata_infrastructure.availability_zone_id #=> String
resp.cloud_exadata_infrastructure.compute_count #=> Integer
resp.cloud_exadata_infrastructure.cpu_count #=> Integer
resp.cloud_exadata_infrastructure.customer_contacts_to_send_to_oci #=> Array
resp.cloud_exadata_infrastructure.customer_contacts_to_send_to_oci[0].email #=> String
resp.cloud_exadata_infrastructure.data_storage_size_in_t_bs #=> Float
resp.cloud_exadata_infrastructure.db_node_storage_size_in_g_bs #=> Integer
resp.cloud_exadata_infrastructure.db_server_version #=> String
resp.cloud_exadata_infrastructure.last_maintenance_run_id #=> String
resp.cloud_exadata_infrastructure.maintenance_window.custom_action_timeout_in_mins #=> Integer
resp.cloud_exadata_infrastructure.maintenance_window.days_of_week #=> Array
resp.cloud_exadata_infrastructure.maintenance_window.days_of_week[0].name #=> String, one of "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"
resp.cloud_exadata_infrastructure.maintenance_window.hours_of_day #=> Array
resp.cloud_exadata_infrastructure.maintenance_window.hours_of_day[0] #=> Integer
resp.cloud_exadata_infrastructure.maintenance_window.is_custom_action_timeout_enabled #=> Boolean
resp.cloud_exadata_infrastructure.maintenance_window.lead_time_in_weeks #=> Integer
resp.cloud_exadata_infrastructure.maintenance_window.months #=> Array
resp.cloud_exadata_infrastructure.maintenance_window.months[0].name #=> String, one of "JANUARY", "FEBRUARY", "MARCH", "APRIL", "MAY", "JUNE", "JULY", "AUGUST", "SEPTEMBER", "OCTOBER", "NOVEMBER", "DECEMBER"
resp.cloud_exadata_infrastructure.maintenance_window.patching_mode #=> String, one of "ROLLING", "NONROLLING"
resp.cloud_exadata_infrastructure.maintenance_window.preference #=> String, one of "NO_PREFERENCE", "CUSTOM_PREFERENCE"
resp.cloud_exadata_infrastructure.maintenance_window.skip_ru #=> Boolean
resp.cloud_exadata_infrastructure.maintenance_window.weeks_of_month #=> Array
resp.cloud_exadata_infrastructure.maintenance_window.weeks_of_month[0] #=> Integer
resp.cloud_exadata_infrastructure.max_cpu_count #=> Integer
resp.cloud_exadata_infrastructure.max_data_storage_in_t_bs #=> Float
resp.cloud_exadata_infrastructure.max_db_node_storage_size_in_g_bs #=> Integer
resp.cloud_exadata_infrastructure.max_memory_in_g_bs #=> Integer
resp.cloud_exadata_infrastructure.memory_size_in_g_bs #=> Integer
resp.cloud_exadata_infrastructure.monthly_db_server_version #=> String
resp.cloud_exadata_infrastructure.monthly_storage_server_version #=> String
resp.cloud_exadata_infrastructure.next_maintenance_run_id #=> String
resp.cloud_exadata_infrastructure.oci_resource_anchor_name #=> String
resp.cloud_exadata_infrastructure.oci_url #=> String
resp.cloud_exadata_infrastructure.ocid #=> String
resp.cloud_exadata_infrastructure.shape #=> String
resp.cloud_exadata_infrastructure.storage_count #=> Integer
resp.cloud_exadata_infrastructure.storage_server_version #=> String
resp.cloud_exadata_infrastructure.created_at #=> Time
resp.cloud_exadata_infrastructure.total_storage_size_in_g_bs #=> Integer
resp.cloud_exadata_infrastructure.percent_progress #=> Float
resp.cloud_exadata_infrastructure.database_server_type #=> String
resp.cloud_exadata_infrastructure.storage_server_type #=> String
resp.cloud_exadata_infrastructure.compute_model #=> String, one of "ECPU", "OCPU"

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :cloud_exadata_infrastructure_id (required, String)

    The unique identifier of the Exadata infrastructure.

Returns:

See Also:



1413
1414
1415
1416
# File 'gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb', line 1413

def get_cloud_exadata_infrastructure(params = {}, options = {})
  req = build_request(:get_cloud_exadata_infrastructure, params)
  req.send_request(options)
end

#get_cloud_exadata_infrastructure_unallocated_resources(params = {}) ⇒ Types::GetCloudExadataInfrastructureUnallocatedResourcesOutput

Retrieves information about unallocated resources in a specified Cloud Exadata Infrastructure.

Examples:

Request syntax with placeholder values


resp = client.get_cloud_exadata_infrastructure_unallocated_resources({
  cloud_exadata_infrastructure_id: "ResourceIdOrArn", # required
  db_servers: ["String"],
})

Response structure


resp.cloud_exadata_infrastructure_unallocated_resources.cloud_autonomous_vm_clusters #=> Array
resp.cloud_exadata_infrastructure_unallocated_resources.cloud_autonomous_vm_clusters[0].cloud_autonomous_vm_cluster_id #=> String
resp.cloud_exadata_infrastructure_unallocated_resources.cloud_autonomous_vm_clusters[0].unallocated_adb_storage_in_t_bs #=> Float
resp.cloud_exadata_infrastructure_unallocated_resources.cloud_exadata_infrastructure_display_name #=> String
resp.cloud_exadata_infrastructure_unallocated_resources.exadata_storage_in_t_bs #=> Float
resp.cloud_exadata_infrastructure_unallocated_resources.cloud_exadata_infrastructure_id #=> String
resp.cloud_exadata_infrastructure_unallocated_resources.local_storage_in_g_bs #=> Integer
resp.cloud_exadata_infrastructure_unallocated_resources.memory_in_g_bs #=> Integer
resp.cloud_exadata_infrastructure_unallocated_resources.ocpus #=> Integer

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :cloud_exadata_infrastructure_id (required, String)

    The unique identifier of the Cloud Exadata infrastructure for which to retrieve unallocated resources.

  • :db_servers (Array<String>)

    The database servers to include in the unallocated resources query.

Returns:

See Also:



1455
1456
1457
1458
# File 'gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb', line 1455

def get_cloud_exadata_infrastructure_unallocated_resources(params = {}, options = {})
  req = build_request(:get_cloud_exadata_infrastructure_unallocated_resources, params)
  req.send_request(options)
end

#get_cloud_vm_cluster(params = {}) ⇒ Types::GetCloudVmClusterOutput

Returns information about the specified VM cluster.

Examples:

Request syntax with placeholder values


resp = client.get_cloud_vm_cluster({
  cloud_vm_cluster_id: "ResourceId", # required
})

Response structure


resp.cloud_vm_cluster.cloud_vm_cluster_id #=> String
resp.cloud_vm_cluster.display_name #=> String
resp.cloud_vm_cluster.status #=> String, one of "AVAILABLE", "FAILED", "PROVISIONING", "TERMINATED", "TERMINATING", "UPDATING", "MAINTENANCE_IN_PROGRESS"
resp.cloud_vm_cluster.status_reason #=> String
resp.cloud_vm_cluster.cloud_vm_cluster_arn #=> String
resp.cloud_vm_cluster.cloud_exadata_infrastructure_id #=> String
resp.cloud_vm_cluster.cluster_name #=> String
resp.cloud_vm_cluster.cpu_core_count #=> Integer
resp.cloud_vm_cluster.data_collection_options.is_diagnostics_events_enabled #=> Boolean
resp.cloud_vm_cluster.data_collection_options.is_health_monitoring_enabled #=> Boolean
resp.cloud_vm_cluster.data_collection_options.is_incident_logs_enabled #=> Boolean
resp.cloud_vm_cluster.data_storage_size_in_t_bs #=> Float
resp.cloud_vm_cluster.db_node_storage_size_in_g_bs #=> Integer
resp.cloud_vm_cluster.db_servers #=> Array
resp.cloud_vm_cluster.db_servers[0] #=> String
resp.cloud_vm_cluster.disk_redundancy #=> String, one of "HIGH", "NORMAL"
resp.cloud_vm_cluster.gi_version #=> String
resp.cloud_vm_cluster.hostname #=> String
resp.cloud_vm_cluster.iorm_config_cache.db_plans #=> Array
resp.cloud_vm_cluster.iorm_config_cache.db_plans[0].db_name #=> String
resp.cloud_vm_cluster.iorm_config_cache.db_plans[0].flash_cache_limit #=> String
resp.cloud_vm_cluster.iorm_config_cache.db_plans[0].share #=> Integer
resp.cloud_vm_cluster.iorm_config_cache.lifecycle_details #=> String
resp.cloud_vm_cluster.iorm_config_cache.lifecycle_state #=> String, one of "BOOTSTRAPPING", "DISABLED", "ENABLED", "FAILED", "UPDATING"
resp.cloud_vm_cluster.iorm_config_cache.objective #=> String, one of "AUTO", "BALANCED", "BASIC", "HIGH_THROUGHPUT", "LOW_LATENCY"
resp.cloud_vm_cluster.is_local_backup_enabled #=> Boolean
resp.cloud_vm_cluster.is_sparse_diskgroup_enabled #=> Boolean
resp.cloud_vm_cluster.last_update_history_entry_id #=> String
resp.cloud_vm_cluster.license_model #=> String, one of "BRING_YOUR_OWN_LICENSE", "LICENSE_INCLUDED"
resp.cloud_vm_cluster.listener_port #=> Integer
resp.cloud_vm_cluster.memory_size_in_g_bs #=> Integer
resp.cloud_vm_cluster.node_count #=> Integer
resp.cloud_vm_cluster.ocid #=> String
resp.cloud_vm_cluster.oci_resource_anchor_name #=> String
resp.cloud_vm_cluster.oci_url #=> String
resp.cloud_vm_cluster.domain #=> String
resp.cloud_vm_cluster.scan_dns_name #=> String
resp.cloud_vm_cluster.scan_dns_record_id #=> String
resp.cloud_vm_cluster.scan_ip_ids #=> Array
resp.cloud_vm_cluster.scan_ip_ids[0] #=> String
resp.cloud_vm_cluster.shape #=> String
resp.cloud_vm_cluster.ssh_public_keys #=> Array
resp.cloud_vm_cluster.ssh_public_keys[0] #=> String
resp.cloud_vm_cluster.storage_size_in_g_bs #=> Integer
resp.cloud_vm_cluster.system_version #=> String
resp.cloud_vm_cluster.created_at #=> Time
resp.cloud_vm_cluster.time_zone #=> String
resp.cloud_vm_cluster.vip_ids #=> Array
resp.cloud_vm_cluster.vip_ids[0] #=> String
resp.cloud_vm_cluster.odb_network_id #=> String
resp.cloud_vm_cluster.percent_progress #=> Float
resp.cloud_vm_cluster.compute_model #=> String, one of "ECPU", "OCPU"

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :cloud_vm_cluster_id (required, String)

    The unique identifier of the VM cluster.

Returns:

See Also:



1534
1535
1536
1537
# File 'gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb', line 1534

def get_cloud_vm_cluster(params = {}, options = {})
  req = build_request(:get_cloud_vm_cluster, params)
  req.send_request(options)
end

#get_db_node(params = {}) ⇒ Types::GetDbNodeOutput

Returns information about the specified DB node.

Examples:

Request syntax with placeholder values


resp = client.get_db_node({
  cloud_vm_cluster_id: "ResourceId", # required
  db_node_id: "ResourceId", # required
})

Response structure


resp.db_node.db_node_id #=> String
resp.db_node.db_node_arn #=> String
resp.db_node.status #=> String, one of "AVAILABLE", "FAILED", "PROVISIONING", "TERMINATED", "TERMINATING", "UPDATING", "STOPPING", "STOPPED", "STARTING"
resp.db_node.status_reason #=> String
resp.db_node.additional_details #=> String
resp.db_node.backup_ip_id #=> String
resp.db_node.backup_vnic_2_id #=> String
resp.db_node.backup_vnic_id #=> String
resp.db_node.cpu_core_count #=> Integer
resp.db_node.db_node_storage_size_in_g_bs #=> Integer
resp.db_node.db_server_id #=> String
resp.db_node.db_system_id #=> String
resp.db_node.fault_domain #=> String
resp.db_node.host_ip_id #=> String
resp.db_node.hostname #=> String
resp.db_node.ocid #=> String
resp.db_node.oci_resource_anchor_name #=> String
resp.db_node.maintenance_type #=> String, one of "VMDB_REBOOT_MIGRATION"
resp.db_node.memory_size_in_g_bs #=> Integer
resp.db_node.software_storage_size_in_gb #=> Integer
resp.db_node.created_at #=> Time
resp.db_node.time_maintenance_window_end #=> String
resp.db_node.time_maintenance_window_start #=> String
resp.db_node.total_cpu_core_count #=> Integer
resp.db_node.vnic2_id #=> String
resp.db_node.vnic_id #=> String
resp.db_node.private_ip_address #=> String
resp.db_node.floating_ip_address #=> String

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :cloud_vm_cluster_id (required, String)

    The unique identifier of the VM cluster that contains the DB node.

  • :db_node_id (required, String)

    The unique identifier of the DB node to retrieve information about.

Returns:

See Also:



1593
1594
1595
1596
# File 'gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb', line 1593

def get_db_node(params = {}, options = {})
  req = build_request(:get_db_node, params)
  req.send_request(options)
end

#get_db_server(params = {}) ⇒ Types::GetDbServerOutput

Returns information about the specified database server.

Examples:

Request syntax with placeholder values


resp = client.get_db_server({
  cloud_exadata_infrastructure_id: "ResourceIdOrArn", # required
  db_server_id: "ResourceId", # required
})

Response structure


resp.db_server.db_server_id #=> String
resp.db_server.status #=> String, one of "AVAILABLE", "FAILED", "PROVISIONING", "TERMINATED", "TERMINATING", "UPDATING", "MAINTENANCE_IN_PROGRESS"
resp.db_server.status_reason #=> String
resp.db_server.cpu_core_count #=> Integer
resp.db_server.db_node_storage_size_in_g_bs #=> Integer
resp.db_server.db_server_patching_details.estimated_patch_duration #=> Integer
resp.db_server.db_server_patching_details.patching_status #=> String, one of "COMPLETE", "FAILED", "MAINTENANCE_IN_PROGRESS", "SCHEDULED"
resp.db_server.db_server_patching_details.time_patching_ended #=> String
resp.db_server.db_server_patching_details.time_patching_started #=> String
resp.db_server.display_name #=> String
resp.db_server.exadata_infrastructure_id #=> String
resp.db_server.ocid #=> String
resp.db_server.oci_resource_anchor_name #=> String
resp.db_server.max_cpu_count #=> Integer
resp.db_server.max_db_node_storage_in_g_bs #=> Integer
resp.db_server.max_memory_in_g_bs #=> Integer
resp.db_server.memory_size_in_g_bs #=> Integer
resp.db_server.shape #=> String
resp.db_server.created_at #=> Time
resp.db_server.vm_cluster_ids #=> Array
resp.db_server.vm_cluster_ids[0] #=> String
resp.db_server.compute_model #=> String, one of "ECPU", "OCPU"
resp.db_server.autonomous_vm_cluster_ids #=> Array
resp.db_server.autonomous_vm_cluster_ids[0] #=> String
resp.db_server.autonomous_virtual_machine_ids #=> Array
resp.db_server.autonomous_virtual_machine_ids[0] #=> String

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :cloud_exadata_infrastructure_id (required, String)

    The unique identifier of the Oracle Exadata infrastructure that contains the database server.

  • :db_server_id (required, String)

    The unique identifier of the database server to retrieve information about.

Returns:

See Also:



1652
1653
1654
1655
# File 'gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb', line 1652

def get_db_server(params = {}, options = {})
  req = build_request(:get_db_server, params)
  req.send_request(options)
end

#get_oci_onboarding_status(params = {}) ⇒ Types::GetOciOnboardingStatusOutput

Returns the tenancy activation link and onboarding status for your Amazon Web Services account.

Examples:

Response structure


resp.status #=> String, one of "NOT_STARTED", "PENDING_LINK_GENERATION", "PENDING_CUSTOMER_ACTION", "PENDING_INITIALIZATION", "ACTIVATING", "ACTIVE_IN_HOME_REGION", "ACTIVE", "ACTIVE_LIMITED", "FAILED", "PUBLIC_OFFER_UNSUPPORTED", "SUSPENDED", "CANCELED"
resp.existing_tenancy_activation_link #=> String
resp.new_tenancy_activation_link #=> String

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Returns:

See Also:



1676
1677
1678
1679
# File 'gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb', line 1676

def get_oci_onboarding_status(params = {}, options = {})
  req = build_request(:get_oci_onboarding_status, params)
  req.send_request(options)
end

#get_odb_network(params = {}) ⇒ Types::GetOdbNetworkOutput

Returns information about the specified ODB network.

Examples:

Request syntax with placeholder values


resp = client.get_odb_network({
  odb_network_id: "ResourceIdOrArn", # required
})

Response structure


resp.odb_network.odb_network_id #=> String
resp.odb_network.display_name #=> String
resp.odb_network.status #=> String, one of "AVAILABLE", "FAILED", "PROVISIONING", "TERMINATED", "TERMINATING", "UPDATING", "MAINTENANCE_IN_PROGRESS"
resp.odb_network.status_reason #=> String
resp.odb_network.odb_network_arn #=> String
resp.odb_network.availability_zone #=> String
resp.odb_network.availability_zone_id #=> String
resp.odb_network.client_subnet_cidr #=> String
resp.odb_network.backup_subnet_cidr #=> String
resp.odb_network.custom_domain_name #=> String
resp.odb_network.default_dns_prefix #=> String
resp.odb_network.peered_cidrs #=> Array
resp.odb_network.peered_cidrs[0] #=> String
resp.odb_network.oci_network_anchor_id #=> String
resp.odb_network.oci_network_anchor_url #=> String
resp.odb_network.oci_resource_anchor_name #=> String
resp.odb_network.oci_vcn_id #=> String
resp.odb_network.oci_vcn_url #=> String
resp.odb_network.oci_dns_forwarding_configs #=> Array
resp.odb_network.oci_dns_forwarding_configs[0].domain_name #=> String
resp.odb_network.oci_dns_forwarding_configs[0].oci_dns_listener_ip #=> String
resp.odb_network.created_at #=> Time
resp.odb_network.percent_progress #=> Float
resp.odb_network.managed_services.service_network_arn #=> String
resp.odb_network.managed_services.resource_gateway_arn #=> String
resp.odb_network.managed_services.managed_services_ipv_4_cidrs #=> Array
resp.odb_network.managed_services.managed_services_ipv_4_cidrs[0] #=> String
resp.odb_network.managed_services.service_network_endpoint.vpc_endpoint_id #=> String
resp.odb_network.managed_services.service_network_endpoint.vpc_endpoint_type #=> String, one of "SERVICENETWORK"
resp.odb_network.managed_services.managed_s3_backup_access.status #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING"
resp.odb_network.managed_services.managed_s3_backup_access.ipv4_addresses #=> Array
resp.odb_network.managed_services.managed_s3_backup_access.ipv4_addresses[0] #=> String
resp.odb_network.managed_services.zero_etl_access.status #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING"
resp.odb_network.managed_services.zero_etl_access.cidr #=> String
resp.odb_network.managed_services.s3_access.status #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING"
resp.odb_network.managed_services.s3_access.ipv4_addresses #=> Array
resp.odb_network.managed_services.s3_access.ipv4_addresses[0] #=> String
resp.odb_network.managed_services.s3_access.domain_name #=> String
resp.odb_network.managed_services.s3_access.s3_policy_document #=> String

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :odb_network_id (required, String)

    The unique identifier of the ODB network.

Returns:

See Also:



1742
1743
1744
1745
# File 'gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb', line 1742

def get_odb_network(params = {}, options = {})
  req = build_request(:get_odb_network, params)
  req.send_request(options)
end

#get_odb_peering_connection(params = {}) ⇒ Types::GetOdbPeeringConnectionOutput

Retrieves information about an ODB peering connection.

Examples:

Request syntax with placeholder values


resp = client.get_odb_peering_connection({
  odb_peering_connection_id: "ResourceIdOrArn", # required
})

Response structure


resp.odb_peering_connection.odb_peering_connection_id #=> String
resp.odb_peering_connection.display_name #=> String
resp.odb_peering_connection.status #=> String, one of "AVAILABLE", "FAILED", "PROVISIONING", "TERMINATED", "TERMINATING", "UPDATING", "MAINTENANCE_IN_PROGRESS"
resp.odb_peering_connection.status_reason #=> String
resp.odb_peering_connection.odb_peering_connection_arn #=> String
resp.odb_peering_connection.odb_network_arn #=> String
resp.odb_peering_connection.peer_network_arn #=> String
resp.odb_peering_connection.odb_peering_connection_type #=> String
resp.odb_peering_connection.created_at #=> Time
resp.odb_peering_connection.percent_progress #=> Float

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :odb_peering_connection_id (required, String)

    The unique identifier of the ODB peering connection to retrieve information about.

Returns:

See Also:



1780
1781
1782
1783
# File 'gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb', line 1780

def get_odb_peering_connection(params = {}, options = {})
  req = build_request(:get_odb_peering_connection, params)
  req.send_request(options)
end

#initialize_service(params = {}) ⇒ Struct

Initializes the ODB service for the first time in an account.

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Returns:

  • (Struct)

    Returns an empty response.

See Also:



1793
1794
1795
1796
# File 'gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb', line 1793

def initialize_service(params = {}, options = {})
  req = build_request(:initialize_service, params)
  req.send_request(options)
end

#list_autonomous_virtual_machines(params = {}) ⇒ Types::ListAutonomousVirtualMachinesOutput

Lists all Autonomous VMs in an Autonomous VM cluster.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.

Examples:

Request syntax with placeholder values


resp = client.list_autonomous_virtual_machines({
  max_results: 1,
  next_token: "ListAutonomousVirtualMachinesInputNextTokenString",
  cloud_autonomous_vm_cluster_id: "ResourceId", # required
})

Response structure


resp.next_token #=> String
resp.autonomous_virtual_machines #=> Array
resp.autonomous_virtual_machines[0].autonomous_virtual_machine_id #=> String
resp.autonomous_virtual_machines[0].status #=> String, one of "AVAILABLE", "FAILED", "PROVISIONING", "TERMINATED", "TERMINATING", "UPDATING", "MAINTENANCE_IN_PROGRESS"
resp.autonomous_virtual_machines[0].status_reason #=> String
resp.autonomous_virtual_machines[0].vm_name #=> String
resp.autonomous_virtual_machines[0].db_server_id #=> String
resp.autonomous_virtual_machines[0].db_server_display_name #=> String
resp.autonomous_virtual_machines[0].cpu_core_count #=> Integer
resp.autonomous_virtual_machines[0].memory_size_in_g_bs #=> Integer
resp.autonomous_virtual_machines[0].db_node_storage_size_in_g_bs #=> Integer
resp.autonomous_virtual_machines[0].client_ip_address #=> String
resp.autonomous_virtual_machines[0].cloud_autonomous_vm_cluster_id #=> String
resp.autonomous_virtual_machines[0].ocid #=> String
resp.autonomous_virtual_machines[0].oci_resource_anchor_name #=> String

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :max_results (Integer)

    The maximum number of items to return per page.

  • :next_token (String)

    The pagination token to continue listing from.

  • :cloud_autonomous_vm_cluster_id (required, String)

    The unique identifier of the Autonomous VM cluster whose virtual machines you're listing.

Returns:

See Also:



1847
1848
1849
1850
# File 'gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb', line 1847

def list_autonomous_virtual_machines(params = {}, options = {})
  req = build_request(:list_autonomous_virtual_machines, params)
  req.send_request(options)
end

#list_cloud_autonomous_vm_clusters(params = {}) ⇒ Types::ListCloudAutonomousVmClustersOutput

Lists all Autonomous VM clusters in a specified Cloud Exadata infrastructure.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.

Examples:

Request syntax with placeholder values


resp = client.list_cloud_autonomous_vm_clusters({
  max_results: 1,
  next_token: "ListCloudAutonomousVmClustersInputNextTokenString",
  cloud_exadata_infrastructure_id: "ResourceIdOrArn",
})

Response structure


resp.next_token #=> String
resp.cloud_autonomous_vm_clusters #=> Array
resp.cloud_autonomous_vm_clusters[0].cloud_autonomous_vm_cluster_id #=> String
resp.cloud_autonomous_vm_clusters[0].cloud_autonomous_vm_cluster_arn #=> String
resp.cloud_autonomous_vm_clusters[0].odb_network_id #=> String
resp.cloud_autonomous_vm_clusters[0].oci_resource_anchor_name #=> String
resp.cloud_autonomous_vm_clusters[0].percent_progress #=> Float
resp.cloud_autonomous_vm_clusters[0].display_name #=> String
resp.cloud_autonomous_vm_clusters[0].status #=> String, one of "AVAILABLE", "FAILED", "PROVISIONING", "TERMINATED", "TERMINATING", "UPDATING", "MAINTENANCE_IN_PROGRESS"
resp.cloud_autonomous_vm_clusters[0].status_reason #=> String
resp.cloud_autonomous_vm_clusters[0].cloud_exadata_infrastructure_id #=> String
resp.cloud_autonomous_vm_clusters[0].autonomous_data_storage_percentage #=> Float
resp.cloud_autonomous_vm_clusters[0].autonomous_data_storage_size_in_t_bs #=> Float
resp.cloud_autonomous_vm_clusters[0].available_autonomous_data_storage_size_in_t_bs #=> Float
resp.cloud_autonomous_vm_clusters[0].available_container_databases #=> Integer
resp.cloud_autonomous_vm_clusters[0].available_cpus #=> Float
resp.cloud_autonomous_vm_clusters[0].compute_model #=> String, one of "ECPU", "OCPU"
resp.cloud_autonomous_vm_clusters[0].cpu_core_count #=> Integer
resp.cloud_autonomous_vm_clusters[0].cpu_core_count_per_node #=> Integer
resp.cloud_autonomous_vm_clusters[0].cpu_percentage #=> Float
resp.cloud_autonomous_vm_clusters[0].data_storage_size_in_g_bs #=> Float
resp.cloud_autonomous_vm_clusters[0].data_storage_size_in_t_bs #=> Float
resp.cloud_autonomous_vm_clusters[0].db_node_storage_size_in_g_bs #=> Integer
resp.cloud_autonomous_vm_clusters[0].db_servers #=> Array
resp.cloud_autonomous_vm_clusters[0].db_servers[0] #=> String
resp.cloud_autonomous_vm_clusters[0].description #=> String
resp.cloud_autonomous_vm_clusters[0].domain #=> String
resp.cloud_autonomous_vm_clusters[0].exadata_storage_in_t_bs_lowest_scaled_value #=> Float
resp.cloud_autonomous_vm_clusters[0].hostname #=> String
resp.cloud_autonomous_vm_clusters[0].ocid #=> String
resp.cloud_autonomous_vm_clusters[0].oci_url #=> String
resp.cloud_autonomous_vm_clusters[0].is_mtls_enabled_vm_cluster #=> Boolean
resp.cloud_autonomous_vm_clusters[0].license_model #=> String, one of "BRING_YOUR_OWN_LICENSE", "LICENSE_INCLUDED"
resp.cloud_autonomous_vm_clusters[0].maintenance_window.custom_action_timeout_in_mins #=> Integer
resp.cloud_autonomous_vm_clusters[0].maintenance_window.days_of_week #=> Array
resp.cloud_autonomous_vm_clusters[0].maintenance_window.days_of_week[0].name #=> String, one of "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"
resp.cloud_autonomous_vm_clusters[0].maintenance_window.hours_of_day #=> Array
resp.cloud_autonomous_vm_clusters[0].maintenance_window.hours_of_day[0] #=> Integer
resp.cloud_autonomous_vm_clusters[0].maintenance_window.is_custom_action_timeout_enabled #=> Boolean
resp.cloud_autonomous_vm_clusters[0].maintenance_window.lead_time_in_weeks #=> Integer
resp.cloud_autonomous_vm_clusters[0].maintenance_window.months #=> Array
resp.cloud_autonomous_vm_clusters[0].maintenance_window.months[0].name #=> String, one of "JANUARY", "FEBRUARY", "MARCH", "APRIL", "MAY", "JUNE", "JULY", "AUGUST", "SEPTEMBER", "OCTOBER", "NOVEMBER", "DECEMBER"
resp.cloud_autonomous_vm_clusters[0].maintenance_window.patching_mode #=> String, one of "ROLLING", "NONROLLING"
resp.cloud_autonomous_vm_clusters[0].maintenance_window.preference #=> String, one of "NO_PREFERENCE", "CUSTOM_PREFERENCE"
resp.cloud_autonomous_vm_clusters[0].maintenance_window.skip_ru #=> Boolean
resp.cloud_autonomous_vm_clusters[0].maintenance_window.weeks_of_month #=> Array
resp.cloud_autonomous_vm_clusters[0].maintenance_window.weeks_of_month[0] #=> Integer
resp.cloud_autonomous_vm_clusters[0].max_acds_lowest_scaled_value #=> Integer
resp.cloud_autonomous_vm_clusters[0].memory_per_oracle_compute_unit_in_g_bs #=> Integer
resp.cloud_autonomous_vm_clusters[0].memory_size_in_g_bs #=> Integer
resp.cloud_autonomous_vm_clusters[0].node_count #=> Integer
resp.cloud_autonomous_vm_clusters[0].non_provisionable_autonomous_container_databases #=> Integer
resp.cloud_autonomous_vm_clusters[0].provisionable_autonomous_container_databases #=> Integer
resp.cloud_autonomous_vm_clusters[0].provisioned_autonomous_container_databases #=> Integer
resp.cloud_autonomous_vm_clusters[0].provisioned_cpus #=> Float
resp.cloud_autonomous_vm_clusters[0].reclaimable_cpus #=> Float
resp.cloud_autonomous_vm_clusters[0].reserved_cpus #=> Float
resp.cloud_autonomous_vm_clusters[0].scan_listener_port_non_tls #=> Integer
resp.cloud_autonomous_vm_clusters[0].scan_listener_port_tls #=> Integer
resp.cloud_autonomous_vm_clusters[0].shape #=> String
resp.cloud_autonomous_vm_clusters[0].created_at #=> Time
resp.cloud_autonomous_vm_clusters[0].time_database_ssl_certificate_expires #=> Time
resp.cloud_autonomous_vm_clusters[0].time_ords_certificate_expires #=> Time
resp.cloud_autonomous_vm_clusters[0].time_zone #=> String
resp.cloud_autonomous_vm_clusters[0].total_container_databases #=> Integer

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :max_results (Integer)

    The maximum number of items to return per page.

  • :next_token (String)

    The pagination token to continue listing from.

  • :cloud_exadata_infrastructure_id (String)

    The unique identifier of the Cloud Exadata Infrastructure that hosts the Autonomous VM clusters to be listed.

Returns:

See Also:



1952
1953
1954
1955
# File 'gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb', line 1952

def list_cloud_autonomous_vm_clusters(params = {}, options = {})
  req = build_request(:list_cloud_autonomous_vm_clusters, params)
  req.send_request(options)
end

#list_cloud_exadata_infrastructures(params = {}) ⇒ Types::ListCloudExadataInfrastructuresOutput

Returns information about the Exadata infrastructures owned by your Amazon Web Services account.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.

Examples:

Request syntax with placeholder values


resp = client.list_cloud_exadata_infrastructures({
  max_results: 1,
  next_token: "ListCloudExadataInfrastructuresInputNextTokenString",
})

Response structure


resp.next_token #=> String
resp.cloud_exadata_infrastructures #=> Array
resp.cloud_exadata_infrastructures[0].cloud_exadata_infrastructure_id #=> String
resp.cloud_exadata_infrastructures[0].display_name #=> String
resp.cloud_exadata_infrastructures[0].status #=> String, one of "AVAILABLE", "FAILED", "PROVISIONING", "TERMINATED", "TERMINATING", "UPDATING", "MAINTENANCE_IN_PROGRESS"
resp.cloud_exadata_infrastructures[0].status_reason #=> String
resp.cloud_exadata_infrastructures[0].cloud_exadata_infrastructure_arn #=> String
resp.cloud_exadata_infrastructures[0].activated_storage_count #=> Integer
resp.cloud_exadata_infrastructures[0].additional_storage_count #=> Integer
resp.cloud_exadata_infrastructures[0].available_storage_size_in_g_bs #=> Integer
resp.cloud_exadata_infrastructures[0].availability_zone #=> String
resp.cloud_exadata_infrastructures[0].availability_zone_id #=> String
resp.cloud_exadata_infrastructures[0].compute_count #=> Integer
resp.cloud_exadata_infrastructures[0].cpu_count #=> Integer
resp.cloud_exadata_infrastructures[0].customer_contacts_to_send_to_oci #=> Array
resp.cloud_exadata_infrastructures[0].customer_contacts_to_send_to_oci[0].email #=> String
resp.cloud_exadata_infrastructures[0].data_storage_size_in_t_bs #=> Float
resp.cloud_exadata_infrastructures[0].db_node_storage_size_in_g_bs #=> Integer
resp.cloud_exadata_infrastructures[0].db_server_version #=> String
resp.cloud_exadata_infrastructures[0].last_maintenance_run_id #=> String
resp.cloud_exadata_infrastructures[0].maintenance_window.custom_action_timeout_in_mins #=> Integer
resp.cloud_exadata_infrastructures[0].maintenance_window.days_of_week #=> Array
resp.cloud_exadata_infrastructures[0].maintenance_window.days_of_week[0].name #=> String, one of "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"
resp.cloud_exadata_infrastructures[0].maintenance_window.hours_of_day #=> Array
resp.cloud_exadata_infrastructures[0].maintenance_window.hours_of_day[0] #=> Integer
resp.cloud_exadata_infrastructures[0].maintenance_window.is_custom_action_timeout_enabled #=> Boolean
resp.cloud_exadata_infrastructures[0].maintenance_window.lead_time_in_weeks #=> Integer
resp.cloud_exadata_infrastructures[0].maintenance_window.months #=> Array
resp.cloud_exadata_infrastructures[0].maintenance_window.months[0].name #=> String, one of "JANUARY", "FEBRUARY", "MARCH", "APRIL", "MAY", "JUNE", "JULY", "AUGUST", "SEPTEMBER", "OCTOBER", "NOVEMBER", "DECEMBER"
resp.cloud_exadata_infrastructures[0].maintenance_window.patching_mode #=> String, one of "ROLLING", "NONROLLING"
resp.cloud_exadata_infrastructures[0].maintenance_window.preference #=> String, one of "NO_PREFERENCE", "CUSTOM_PREFERENCE"
resp.cloud_exadata_infrastructures[0].maintenance_window.skip_ru #=> Boolean
resp.cloud_exadata_infrastructures[0].maintenance_window.weeks_of_month #=> Array
resp.cloud_exadata_infrastructures[0].maintenance_window.weeks_of_month[0] #=> Integer
resp.cloud_exadata_infrastructures[0].max_cpu_count #=> Integer
resp.cloud_exadata_infrastructures[0].max_data_storage_in_t_bs #=> Float
resp.cloud_exadata_infrastructures[0].max_db_node_storage_size_in_g_bs #=> Integer
resp.cloud_exadata_infrastructures[0].max_memory_in_g_bs #=> Integer
resp.cloud_exadata_infrastructures[0].memory_size_in_g_bs #=> Integer
resp.cloud_exadata_infrastructures[0].monthly_db_server_version #=> String
resp.cloud_exadata_infrastructures[0].monthly_storage_server_version #=> String
resp.cloud_exadata_infrastructures[0].next_maintenance_run_id #=> String
resp.cloud_exadata_infrastructures[0].oci_resource_anchor_name #=> String
resp.cloud_exadata_infrastructures[0].oci_url #=> String
resp.cloud_exadata_infrastructures[0].ocid #=> String
resp.cloud_exadata_infrastructures[0].shape #=> String
resp.cloud_exadata_infrastructures[0].storage_count #=> Integer
resp.cloud_exadata_infrastructures[0].storage_server_version #=> String
resp.cloud_exadata_infrastructures[0].created_at #=> Time
resp.cloud_exadata_infrastructures[0].total_storage_size_in_g_bs #=> Integer
resp.cloud_exadata_infrastructures[0].percent_progress #=> Float
resp.cloud_exadata_infrastructures[0].database_server_type #=> String
resp.cloud_exadata_infrastructures[0].storage_server_type #=> String
resp.cloud_exadata_infrastructures[0].compute_model #=> String, one of "ECPU", "OCPU"

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :max_results (Integer)

    The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output.

    Default: 10

  • :next_token (String)

    The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.

Returns:

See Also:



2046
2047
2048
2049
# File 'gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb', line 2046

def list_cloud_exadata_infrastructures(params = {}, options = {})
  req = build_request(:list_cloud_exadata_infrastructures, params)
  req.send_request(options)
end

#list_cloud_vm_clusters(params = {}) ⇒ Types::ListCloudVmClustersOutput

Returns information about the VM clusters owned by your Amazon Web Services account or only the ones on the specified Exadata infrastructure.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.

Examples:

Request syntax with placeholder values


resp = client.list_cloud_vm_clusters({
  max_results: 1,
  next_token: "ListCloudVmClustersInputNextTokenString",
  cloud_exadata_infrastructure_id: "ResourceIdOrArn",
})

Response structure


resp.next_token #=> String
resp.cloud_vm_clusters #=> Array
resp.cloud_vm_clusters[0].cloud_vm_cluster_id #=> String
resp.cloud_vm_clusters[0].display_name #=> String
resp.cloud_vm_clusters[0].status #=> String, one of "AVAILABLE", "FAILED", "PROVISIONING", "TERMINATED", "TERMINATING", "UPDATING", "MAINTENANCE_IN_PROGRESS"
resp.cloud_vm_clusters[0].status_reason #=> String
resp.cloud_vm_clusters[0].cloud_vm_cluster_arn #=> String
resp.cloud_vm_clusters[0].cloud_exadata_infrastructure_id #=> String
resp.cloud_vm_clusters[0].cluster_name #=> String
resp.cloud_vm_clusters[0].cpu_core_count #=> Integer
resp.cloud_vm_clusters[0].data_collection_options.is_diagnostics_events_enabled #=> Boolean
resp.cloud_vm_clusters[0].data_collection_options.is_health_monitoring_enabled #=> Boolean
resp.cloud_vm_clusters[0].data_collection_options.is_incident_logs_enabled #=> Boolean
resp.cloud_vm_clusters[0].data_storage_size_in_t_bs #=> Float
resp.cloud_vm_clusters[0].db_node_storage_size_in_g_bs #=> Integer
resp.cloud_vm_clusters[0].db_servers #=> Array
resp.cloud_vm_clusters[0].db_servers[0] #=> String
resp.cloud_vm_clusters[0].disk_redundancy #=> String, one of "HIGH", "NORMAL"
resp.cloud_vm_clusters[0].gi_version #=> String
resp.cloud_vm_clusters[0].hostname #=> String
resp.cloud_vm_clusters[0].iorm_config_cache.db_plans #=> Array
resp.cloud_vm_clusters[0].iorm_config_cache.db_plans[0].db_name #=> String
resp.cloud_vm_clusters[0].iorm_config_cache.db_plans[0].flash_cache_limit #=> String
resp.cloud_vm_clusters[0].iorm_config_cache.db_plans[0].share #=> Integer
resp.cloud_vm_clusters[0].iorm_config_cache.lifecycle_details #=> String
resp.cloud_vm_clusters[0].iorm_config_cache.lifecycle_state #=> String, one of "BOOTSTRAPPING", "DISABLED", "ENABLED", "FAILED", "UPDATING"
resp.cloud_vm_clusters[0].iorm_config_cache.objective #=> String, one of "AUTO", "BALANCED", "BASIC", "HIGH_THROUGHPUT", "LOW_LATENCY"
resp.cloud_vm_clusters[0].is_local_backup_enabled #=> Boolean
resp.cloud_vm_clusters[0].is_sparse_diskgroup_enabled #=> Boolean
resp.cloud_vm_clusters[0].last_update_history_entry_id #=> String
resp.cloud_vm_clusters[0].license_model #=> String, one of "BRING_YOUR_OWN_LICENSE", "LICENSE_INCLUDED"
resp.cloud_vm_clusters[0].listener_port #=> Integer
resp.cloud_vm_clusters[0].memory_size_in_g_bs #=> Integer
resp.cloud_vm_clusters[0].node_count #=> Integer
resp.cloud_vm_clusters[0].ocid #=> String
resp.cloud_vm_clusters[0].oci_resource_anchor_name #=> String
resp.cloud_vm_clusters[0].oci_url #=> String
resp.cloud_vm_clusters[0].domain #=> String
resp.cloud_vm_clusters[0].scan_dns_name #=> String
resp.cloud_vm_clusters[0].scan_dns_record_id #=> String
resp.cloud_vm_clusters[0].scan_ip_ids #=> Array
resp.cloud_vm_clusters[0].scan_ip_ids[0] #=> String
resp.cloud_vm_clusters[0].shape #=> String
resp.cloud_vm_clusters[0].ssh_public_keys #=> Array
resp.cloud_vm_clusters[0].ssh_public_keys[0] #=> String
resp.cloud_vm_clusters[0].storage_size_in_g_bs #=> Integer
resp.cloud_vm_clusters[0].system_version #=> String
resp.cloud_vm_clusters[0].created_at #=> Time
resp.cloud_vm_clusters[0].time_zone #=> String
resp.cloud_vm_clusters[0].vip_ids #=> Array
resp.cloud_vm_clusters[0].vip_ids[0] #=> String
resp.cloud_vm_clusters[0].odb_network_id #=> String
resp.cloud_vm_clusters[0].percent_progress #=> Float
resp.cloud_vm_clusters[0].compute_model #=> String, one of "ECPU", "OCPU"

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :max_results (Integer)

    The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output.

    Default: 10

  • :next_token (String)

    The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.

  • :cloud_exadata_infrastructure_id (String)

    The unique identifier of the Oracle Exadata infrastructure.

Returns:

See Also:



2145
2146
2147
2148
# File 'gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb', line 2145

def list_cloud_vm_clusters(params = {}, options = {})
  req = build_request(:list_cloud_vm_clusters, params)
  req.send_request(options)
end

#list_db_nodes(params = {}) ⇒ Types::ListDbNodesOutput

Returns information about the DB nodes for the specified VM cluster.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.

Examples:

Request syntax with placeholder values


resp = client.list_db_nodes({
  max_results: 1,
  next_token: "ListDbNodesInputNextTokenString",
  cloud_vm_cluster_id: "ResourceId", # required
})

Response structure


resp.next_token #=> String
resp.db_nodes #=> Array
resp.db_nodes[0].db_node_id #=> String
resp.db_nodes[0].db_node_arn #=> String
resp.db_nodes[0].status #=> String, one of "AVAILABLE", "FAILED", "PROVISIONING", "TERMINATED", "TERMINATING", "UPDATING", "STOPPING", "STOPPED", "STARTING"
resp.db_nodes[0].status_reason #=> String
resp.db_nodes[0].additional_details #=> String
resp.db_nodes[0].backup_ip_id #=> String
resp.db_nodes[0].backup_vnic_2_id #=> String
resp.db_nodes[0].backup_vnic_id #=> String
resp.db_nodes[0].cpu_core_count #=> Integer
resp.db_nodes[0].db_node_storage_size_in_g_bs #=> Integer
resp.db_nodes[0].db_server_id #=> String
resp.db_nodes[0].db_system_id #=> String
resp.db_nodes[0].fault_domain #=> String
resp.db_nodes[0].host_ip_id #=> String
resp.db_nodes[0].hostname #=> String
resp.db_nodes[0].ocid #=> String
resp.db_nodes[0].oci_resource_anchor_name #=> String
resp.db_nodes[0].maintenance_type #=> String, one of "VMDB_REBOOT_MIGRATION"
resp.db_nodes[0].memory_size_in_g_bs #=> Integer
resp.db_nodes[0].software_storage_size_in_gb #=> Integer
resp.db_nodes[0].created_at #=> Time
resp.db_nodes[0].time_maintenance_window_end #=> String
resp.db_nodes[0].time_maintenance_window_start #=> String
resp.db_nodes[0].total_cpu_core_count #=> Integer
resp.db_nodes[0].vnic2_id #=> String
resp.db_nodes[0].vnic_id #=> String

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :max_results (Integer)

    The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output.

    Default: 10

  • :next_token (String)

    The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.

  • :cloud_vm_cluster_id (required, String)

    The unique identifier of the VM cluster.

Returns:

See Also:



2216
2217
2218
2219
# File 'gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb', line 2216

def list_db_nodes(params = {}, options = {})
  req = build_request(:list_db_nodes, params)
  req.send_request(options)
end

#list_db_servers(params = {}) ⇒ Types::ListDbServersOutput

Returns information about the database servers that belong to the specified Exadata infrastructure.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.

Examples:

Request syntax with placeholder values


resp = client.list_db_servers({
  cloud_exadata_infrastructure_id: "ResourceIdOrArn", # required
  max_results: 1,
  next_token: "ListDbServersInputNextTokenString",
})

Response structure


resp.next_token #=> String
resp.db_servers #=> Array
resp.db_servers[0].db_server_id #=> String
resp.db_servers[0].status #=> String, one of "AVAILABLE", "FAILED", "PROVISIONING", "TERMINATED", "TERMINATING", "UPDATING", "MAINTENANCE_IN_PROGRESS"
resp.db_servers[0].status_reason #=> String
resp.db_servers[0].cpu_core_count #=> Integer
resp.db_servers[0].db_node_storage_size_in_g_bs #=> Integer
resp.db_servers[0].db_server_patching_details.estimated_patch_duration #=> Integer
resp.db_servers[0].db_server_patching_details.patching_status #=> String, one of "COMPLETE", "FAILED", "MAINTENANCE_IN_PROGRESS", "SCHEDULED"
resp.db_servers[0].db_server_patching_details.time_patching_ended #=> String
resp.db_servers[0].db_server_patching_details.time_patching_started #=> String
resp.db_servers[0].display_name #=> String
resp.db_servers[0].exadata_infrastructure_id #=> String
resp.db_servers[0].ocid #=> String
resp.db_servers[0].oci_resource_anchor_name #=> String
resp.db_servers[0].max_cpu_count #=> Integer
resp.db_servers[0].max_db_node_storage_in_g_bs #=> Integer
resp.db_servers[0].max_memory_in_g_bs #=> Integer
resp.db_servers[0].memory_size_in_g_bs #=> Integer
resp.db_servers[0].shape #=> String
resp.db_servers[0].created_at #=> Time
resp.db_servers[0].vm_cluster_ids #=> Array
resp.db_servers[0].vm_cluster_ids[0] #=> String
resp.db_servers[0].compute_model #=> String, one of "ECPU", "OCPU"
resp.db_servers[0].autonomous_vm_cluster_ids #=> Array
resp.db_servers[0].autonomous_vm_cluster_ids[0] #=> String
resp.db_servers[0].autonomous_virtual_machine_ids #=> Array
resp.db_servers[0].autonomous_virtual_machine_ids[0] #=> String

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :cloud_exadata_infrastructure_id (required, String)

    The unique identifier of the Oracle Exadata infrastructure.

  • :max_results (Integer)

    The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output.

    Default: 10

  • :next_token (String)

    The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.

Returns:

See Also:



2288
2289
2290
2291
# File 'gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb', line 2288

def list_db_servers(params = {}, options = {})
  req = build_request(:list_db_servers, params)
  req.send_request(options)
end

#list_db_system_shapes(params = {}) ⇒ Types::ListDbSystemShapesOutput

Returns information about the shapes that are available for an Exadata infrastructure.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.

Examples:

Request syntax with placeholder values


resp = client.list_db_system_shapes({
  max_results: 1,
  next_token: "ListDbSystemShapesInputNextTokenString",
  availability_zone: "ListDbSystemShapesInputAvailabilityZoneString",
  availability_zone_id: "ListDbSystemShapesInputAvailabilityZoneIdString",
})

Response structure


resp.next_token #=> String
resp.db_system_shapes #=> Array
resp.db_system_shapes[0].available_core_count #=> Integer
resp.db_system_shapes[0].available_core_count_per_node #=> Integer
resp.db_system_shapes[0].available_data_storage_in_t_bs #=> Integer
resp.db_system_shapes[0].available_data_storage_per_server_in_t_bs #=> Integer
resp.db_system_shapes[0].available_db_node_per_node_in_g_bs #=> Integer
resp.db_system_shapes[0].available_db_node_storage_in_g_bs #=> Integer
resp.db_system_shapes[0].available_memory_in_g_bs #=> Integer
resp.db_system_shapes[0].available_memory_per_node_in_g_bs #=> Integer
resp.db_system_shapes[0].core_count_increment #=> Integer
resp.db_system_shapes[0].max_storage_count #=> Integer
resp.db_system_shapes[0].maximum_node_count #=> Integer
resp.db_system_shapes[0].min_core_count_per_node #=> Integer
resp.db_system_shapes[0].min_data_storage_in_t_bs #=> Integer
resp.db_system_shapes[0].min_db_node_storage_per_node_in_g_bs #=> Integer
resp.db_system_shapes[0].min_memory_per_node_in_g_bs #=> Integer
resp.db_system_shapes[0].min_storage_count #=> Integer
resp.db_system_shapes[0].minimum_core_count #=> Integer
resp.db_system_shapes[0].minimum_node_count #=> Integer
resp.db_system_shapes[0].runtime_minimum_core_count #=> Integer
resp.db_system_shapes[0].shape_family #=> String
resp.db_system_shapes[0].shape_type #=> String, one of "AMD", "INTEL", "INTEL_FLEX_X9", "AMPERE_FLEX_A1"
resp.db_system_shapes[0].name #=> String
resp.db_system_shapes[0].compute_model #=> String, one of "ECPU", "OCPU"
resp.db_system_shapes[0].are_server_types_supported #=> Boolean

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :max_results (Integer)

    The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output.

    Default: 10

  • :next_token (String)

    The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.

  • :availability_zone (String)

    The logical name of the AZ, for example, us-east-1a. This name varies depending on the account.

  • :availability_zone_id (String)

    The physical ID of the AZ, for example, use1-az4. This ID persists across accounts.

Returns:

See Also:



2364
2365
2366
2367
# File 'gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb', line 2364

def list_db_system_shapes(params = {}, options = {})
  req = build_request(:list_db_system_shapes, params)
  req.send_request(options)
end

#list_gi_versions(params = {}) ⇒ Types::ListGiVersionsOutput

Returns information about Oracle Grid Infrastructure (GI) software versions that are available for a VM cluster for the specified shape.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.

Examples:

Request syntax with placeholder values


resp = client.list_gi_versions({
  max_results: 1,
  next_token: "ListGiVersionsInputNextTokenString",
  shape: "ListGiVersionsInputShapeString",
})

Response structure


resp.next_token #=> String
resp.gi_versions #=> Array
resp.gi_versions[0].version #=> String

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :max_results (Integer)

    The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output.

    Default: 10

  • :next_token (String)

    The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.

  • :shape (String)

    The shape to return GI versions for. For a list of valid shapes, use the ListDbSystemShapes operation..

Returns:

See Also:



2412
2413
2414
2415
# File 'gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb', line 2412

def list_gi_versions(params = {}, options = {})
  req = build_request(:list_gi_versions, params)
  req.send_request(options)
end

#list_odb_networks(params = {}) ⇒ Types::ListOdbNetworksOutput

Returns information about the ODB networks owned by your Amazon Web Services account.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.

Examples:

Request syntax with placeholder values


resp = client.list_odb_networks({
  max_results: 1,
  next_token: "ListOdbNetworksInputNextTokenString",
})

Response structure


resp.next_token #=> String
resp.odb_networks #=> Array
resp.odb_networks[0].odb_network_id #=> String
resp.odb_networks[0].display_name #=> String
resp.odb_networks[0].status #=> String, one of "AVAILABLE", "FAILED", "PROVISIONING", "TERMINATED", "TERMINATING", "UPDATING", "MAINTENANCE_IN_PROGRESS"
resp.odb_networks[0].status_reason #=> String
resp.odb_networks[0].odb_network_arn #=> String
resp.odb_networks[0].availability_zone #=> String
resp.odb_networks[0].availability_zone_id #=> String
resp.odb_networks[0].client_subnet_cidr #=> String
resp.odb_networks[0].backup_subnet_cidr #=> String
resp.odb_networks[0].custom_domain_name #=> String
resp.odb_networks[0].default_dns_prefix #=> String
resp.odb_networks[0].peered_cidrs #=> Array
resp.odb_networks[0].peered_cidrs[0] #=> String
resp.odb_networks[0].oci_network_anchor_id #=> String
resp.odb_networks[0].oci_network_anchor_url #=> String
resp.odb_networks[0].oci_resource_anchor_name #=> String
resp.odb_networks[0].oci_vcn_id #=> String
resp.odb_networks[0].oci_vcn_url #=> String
resp.odb_networks[0].oci_dns_forwarding_configs #=> Array
resp.odb_networks[0].oci_dns_forwarding_configs[0].domain_name #=> String
resp.odb_networks[0].oci_dns_forwarding_configs[0].oci_dns_listener_ip #=> String
resp.odb_networks[0].created_at #=> Time
resp.odb_networks[0].percent_progress #=> Float
resp.odb_networks[0].managed_services.service_network_arn #=> String
resp.odb_networks[0].managed_services.resource_gateway_arn #=> String
resp.odb_networks[0].managed_services.managed_services_ipv_4_cidrs #=> Array
resp.odb_networks[0].managed_services.managed_services_ipv_4_cidrs[0] #=> String
resp.odb_networks[0].managed_services.service_network_endpoint.vpc_endpoint_id #=> String
resp.odb_networks[0].managed_services.service_network_endpoint.vpc_endpoint_type #=> String, one of "SERVICENETWORK"
resp.odb_networks[0].managed_services.managed_s3_backup_access.status #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING"
resp.odb_networks[0].managed_services.managed_s3_backup_access.ipv4_addresses #=> Array
resp.odb_networks[0].managed_services.managed_s3_backup_access.ipv4_addresses[0] #=> String
resp.odb_networks[0].managed_services.zero_etl_access.status #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING"
resp.odb_networks[0].managed_services.zero_etl_access.cidr #=> String
resp.odb_networks[0].managed_services.s3_access.status #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING"
resp.odb_networks[0].managed_services.s3_access.ipv4_addresses #=> Array
resp.odb_networks[0].managed_services.s3_access.ipv4_addresses[0] #=> String
resp.odb_networks[0].managed_services.s3_access.domain_name #=> String
resp.odb_networks[0].managed_services.s3_access.s3_policy_document #=> String

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :max_results (Integer)

    The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output.

    Default: 10

  • :next_token (String)

    The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.

Returns:

See Also:



2493
2494
2495
2496
# File 'gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb', line 2493

def list_odb_networks(params = {}, options = {})
  req = build_request(:list_odb_networks, params)
  req.send_request(options)
end

#list_odb_peering_connections(params = {}) ⇒ Types::ListOdbPeeringConnectionsOutput

Lists all ODB peering connections or those associated with a specific ODB network.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.

Examples:

Request syntax with placeholder values


resp = client.list_odb_peering_connections({
  max_results: 1,
  next_token: "ListOdbPeeringConnectionsInputNextTokenString",
  odb_network_id: "ResourceIdOrArn",
})

Response structure


resp.next_token #=> String
resp.odb_peering_connections #=> Array
resp.odb_peering_connections[0].odb_peering_connection_id #=> String
resp.odb_peering_connections[0].display_name #=> String
resp.odb_peering_connections[0].status #=> String, one of "AVAILABLE", "FAILED", "PROVISIONING", "TERMINATED", "TERMINATING", "UPDATING", "MAINTENANCE_IN_PROGRESS"
resp.odb_peering_connections[0].status_reason #=> String
resp.odb_peering_connections[0].odb_peering_connection_arn #=> String
resp.odb_peering_connections[0].odb_network_arn #=> String
resp.odb_peering_connections[0].peer_network_arn #=> String
resp.odb_peering_connections[0].odb_peering_connection_type #=> String
resp.odb_peering_connections[0].created_at #=> Time
resp.odb_peering_connections[0].percent_progress #=> Float

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :max_results (Integer)

    The maximum number of ODB peering connections to return in the response.

    Default: 20

    Constraints:

    • Must be between 1 and 100.

    ^

  • :next_token (String)

    The pagination token for the next page of ODB peering connections.

  • :odb_network_id (String)

    The identifier of the ODB network to list peering connections for.

    If not specified, lists all ODB peering connections in the account.

Returns:

See Also:



2555
2556
2557
2558
# File 'gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb', line 2555

def list_odb_peering_connections(params = {}, options = {})
  req = build_request(:list_odb_peering_connections, params)
  req.send_request(options)
end

#list_system_versions(params = {}) ⇒ Types::ListSystemVersionsOutput

Returns information about the system versions that are available for a VM cluster for the specified giVersion and shape.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.

Examples:

Request syntax with placeholder values


resp = client.list_system_versions({
  max_results: 1,
  next_token: "ListSystemVersionsInputNextTokenString",
  gi_version: "ListSystemVersionsInputGiVersionString", # required
  shape: "ListSystemVersionsInputShapeString", # required
})

Response structure


resp.next_token #=> String
resp.system_versions #=> Array
resp.system_versions[0].gi_version #=> String
resp.system_versions[0].shape #=> String
resp.system_versions[0].system_versions #=> Array
resp.system_versions[0].system_versions[0] #=> String

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :max_results (Integer)

    The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output.

    Default: 10

  • :next_token (String)

    The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.

  • :gi_version (required, String)

    The software version of the Exadata Grid Infrastructure (GI).

  • :shape (required, String)

    The Exadata hardware system model.

Returns:

See Also:



2609
2610
2611
2612
# File 'gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb', line 2609

def list_system_versions(params = {}, options = {})
  req = build_request(:list_system_versions, params)
  req.send_request(options)
end

#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse

Returns information about the tags applied to this resource.

Examples:

Request syntax with placeholder values


resp = client.list_tags_for_resource({
  resource_arn: "ResourceArn", # required
})

Response structure


resp.tags #=> Hash
resp.tags["TagKey"] #=> String

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :resource_arn (required, String)

    The Amazon Resource Name (ARN) of the resource to list tags for.

Returns:

See Also:



2638
2639
2640
2641
# File 'gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb', line 2638

def list_tags_for_resource(params = {}, options = {})
  req = build_request(:list_tags_for_resource, params)
  req.send_request(options)
end

#reboot_db_node(params = {}) ⇒ Types::RebootDbNodeOutput

Reboots the specified DB node in a VM cluster.

Examples:

Request syntax with placeholder values


resp = client.reboot_db_node({
  cloud_vm_cluster_id: "ResourceId", # required
  db_node_id: "ResourceId", # required
})

Response structure


resp.db_node_id #=> String
resp.status #=> String, one of "AVAILABLE", "FAILED", "PROVISIONING", "TERMINATED", "TERMINATING", "UPDATING", "STOPPING", "STOPPED", "STARTING"
resp.status_reason #=> String

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :cloud_vm_cluster_id (required, String)

    The unique identifier of the VM cluster that contains the DB node to reboot.

  • :db_node_id (required, String)

    The unique identifier of the DB node to reboot.

Returns:

See Also:



2675
2676
2677
2678
# File 'gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb', line 2675

def reboot_db_node(params = {}, options = {})
  req = build_request(:reboot_db_node, params)
  req.send_request(options)
end

#start_db_node(params = {}) ⇒ Types::StartDbNodeOutput

Starts the specified DB node in a VM cluster.

Examples:

Request syntax with placeholder values


resp = client.start_db_node({
  cloud_vm_cluster_id: "ResourceId", # required
  db_node_id: "ResourceId", # required
})

Response structure


resp.db_node_id #=> String
resp.status #=> String, one of "AVAILABLE", "FAILED", "PROVISIONING", "TERMINATED", "TERMINATING", "UPDATING", "STOPPING", "STOPPED", "STARTING"
resp.status_reason #=> String

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :cloud_vm_cluster_id (required, String)

    The unique identifier of the VM cluster that contains the DB node to start.

  • :db_node_id (required, String)

    The unique identifier of the DB node to start.

Returns:

See Also:



2712
2713
2714
2715
# File 'gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb', line 2712

def start_db_node(params = {}, options = {})
  req = build_request(:start_db_node, params)
  req.send_request(options)
end

#stop_db_node(params = {}) ⇒ Types::StopDbNodeOutput

Stops the specified DB node in a VM cluster.

Examples:

Request syntax with placeholder values


resp = client.stop_db_node({
  cloud_vm_cluster_id: "ResourceId", # required
  db_node_id: "ResourceId", # required
})

Response structure


resp.db_node_id #=> String
resp.status #=> String, one of "AVAILABLE", "FAILED", "PROVISIONING", "TERMINATED", "TERMINATING", "UPDATING", "STOPPING", "STOPPED", "STARTING"
resp.status_reason #=> String

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :cloud_vm_cluster_id (required, String)

    The unique identifier of the VM cluster that contains the DB node to stop.

  • :db_node_id (required, String)

    The unique identifier of the DB node to stop.

Returns:

See Also:



2749
2750
2751
2752
# File 'gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb', line 2749

def stop_db_node(params = {}, options = {})
  req = build_request(:stop_db_node, params)
  req.send_request(options)
end

#tag_resource(params = {}) ⇒ Struct

Applies tags to the specified resource.

Examples:

Request syntax with placeholder values


resp = client.tag_resource({
  resource_arn: "ResourceArn", # required
  tags: { # required
    "TagKey" => "TagValue",
  },
})

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :resource_arn (required, String)

    The Amazon Resource Name (ARN) of the resource to apply tags to.

  • :tags (required, Hash<String,String>)

    The list of tags to apply to the resource.

Returns:

  • (Struct)

    Returns an empty response.

See Also:



2777
2778
2779
2780
# File 'gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb', line 2777

def tag_resource(params = {}, options = {})
  req = build_request(:tag_resource, params)
  req.send_request(options)
end

#untag_resource(params = {}) ⇒ Struct

Removes tags from the specified resource.

Examples:

Request syntax with placeholder values


resp = client.untag_resource({
  resource_arn: "ResourceArn", # required
  tag_keys: ["TagKey"], # required
})

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :resource_arn (required, String)

    The Amazon Resource Name (ARN) of the resource to remove tags from.

  • :tag_keys (required, Array<String>)

    The names (keys) of the tags to remove from the resource.

Returns:

  • (Struct)

    Returns an empty response.

See Also:



2803
2804
2805
2806
# File 'gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb', line 2803

def untag_resource(params = {}, options = {})
  req = build_request(:untag_resource, params)
  req.send_request(options)
end

#update_cloud_exadata_infrastructure(params = {}) ⇒ Types::UpdateCloudExadataInfrastructureOutput

Updates the properties of an Exadata infrastructure resource.

Examples:

Request syntax with placeholder values


resp = client.update_cloud_exadata_infrastructure({
  cloud_exadata_infrastructure_id: "ResourceIdOrArn", # required
  maintenance_window: {
    custom_action_timeout_in_mins: 1,
    days_of_week: [
      {
        name: "MONDAY", # accepts MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY
      },
    ],
    hours_of_day: [1],
    is_custom_action_timeout_enabled: false,
    lead_time_in_weeks: 1,
    months: [
      {
        name: "JANUARY", # accepts JANUARY, FEBRUARY, MARCH, APRIL, MAY, JUNE, JULY, AUGUST, SEPTEMBER, OCTOBER, NOVEMBER, DECEMBER
      },
    ],
    patching_mode: "ROLLING", # accepts ROLLING, NONROLLING
    preference: "NO_PREFERENCE", # accepts NO_PREFERENCE, CUSTOM_PREFERENCE
    skip_ru: false,
    weeks_of_month: [1],
  },
})

Response structure


resp.display_name #=> String
resp.status #=> String, one of "AVAILABLE", "FAILED", "PROVISIONING", "TERMINATED", "TERMINATING", "UPDATING", "MAINTENANCE_IN_PROGRESS"
resp.status_reason #=> String
resp.cloud_exadata_infrastructure_id #=> String

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :cloud_exadata_infrastructure_id (required, String)

    The unique identifier of the Exadata infrastructure to update.

  • :maintenance_window (Types::MaintenanceWindow)

    The scheduling details for the maintenance window. Patching and system updates take place during the maintenance window.

Returns:

See Also:



2861
2862
2863
2864
# File 'gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb', line 2861

def update_cloud_exadata_infrastructure(params = {}, options = {})
  req = build_request(:update_cloud_exadata_infrastructure, params)
  req.send_request(options)
end

#update_odb_network(params = {}) ⇒ Types::UpdateOdbNetworkOutput

Updates properties of a specified ODB network.

Examples:

Request syntax with placeholder values


resp = client.update_odb_network({
  odb_network_id: "ResourceIdOrArn", # required
  display_name: "ResourceDisplayName",
  peered_cidrs_to_be_added: ["String"],
  peered_cidrs_to_be_removed: ["String"],
  s3_access: "ENABLED", # accepts ENABLED, DISABLED
  zero_etl_access: "ENABLED", # accepts ENABLED, DISABLED
  s3_policy_document: "PolicyDocument",
})

Response structure


resp.display_name #=> String
resp.status #=> String, one of "AVAILABLE", "FAILED", "PROVISIONING", "TERMINATED", "TERMINATING", "UPDATING", "MAINTENANCE_IN_PROGRESS"
resp.status_reason #=> String
resp.odb_network_id #=> String

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :odb_network_id (required, String)

    The unique identifier of the ODB network to update.

  • :display_name (String)

    The new user-friendly name of the ODB network.

  • :peered_cidrs_to_be_added (Array<String>)

    The list of CIDR ranges from the peered VPC that allow access to the ODB network.

  • :peered_cidrs_to_be_removed (Array<String>)

    The list of CIDR ranges from the peered VPC to remove from the ODB network.

  • :s3_access (String)

    Specifies the updated configuration for Amazon S3 access from the ODB network.

  • :zero_etl_access (String)

    Specifies the updated configuration for Zero-ETL access from the ODB network.

  • :s3_policy_document (String)

    Specifies the updated endpoint policy for Amazon S3 access from the ODB network.

Returns:

See Also:



2924
2925
2926
2927
# File 'gems/aws-sdk-odb/lib/aws-sdk-odb/client.rb', line 2924

def update_odb_network(params = {}, options = {})
  req = build_request(:update_odb_network, params)
  req.send_request(options)
end