Oracle Database@Google Cloud API . projects . locations . cloudVmClusters . dbNodes

Instance Methods

close()

Close httplib2 connections.

list(parent, pageSize=None, pageToken=None, x__xgafv=None)

Lists the database nodes of a VM Cluster.

list_next()

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
Lists the database nodes of a VM Cluster.

Args:
  parent: string, Required. The parent value for database node in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloudVmCluster}. (required)
  pageSize: integer, Optional. The maximum number of items to return. If unspecified, at most 50 db nodes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
  pageToken: string, Optional. A token identifying a page of results the node should return.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # The response for `DbNode.List`.
  "dbNodes": [ # The list of DB Nodes
    { # Details of the database node resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/DbNode/
      "name": "A String", # Identifier. The name of the database node resource in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}/dbNodes/{db_node}
      "properties": { # Various properties and settings associated with Db node. # Optional. Various properties of the database node.
        "dbNodeStorageSizeGb": 42, # Optional. Local storage per database node.
        "dbServerOcid": "A String", # Optional. Database server OCID.
        "hostname": "A String", # Optional. DNS
        "memorySizeGb": 42, # Memory allocated in GBs.
        "ocid": "A String", # Output only. OCID of database node.
        "ocpuCount": 42, # Optional. OCPU count per database node.
        "state": "A String", # Output only. State of the database node.
        "totalCpuCoreCount": 42, # Total CPU core count of the database node.
      },
    },
  ],
  "nextPageToken": "A String", # A token identifying a page of results the node should return.
}
list_next()
Retrieves the next page of results.

        Args:
          previous_request: The request for the previous page. (required)
          previous_response: The response from the request for the previous page. (required)

        Returns:
          A request object that you can call 'execute()' on to request the next
          page. Returns None if there are no more items in the collection.