VMware Engine API . projects . locations . privateClouds . clusters . nodes

Instance Methods

close()

Close httplib2 connections.

get(name, x__xgafv=None)

Gets details of a single node.

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

Lists nodes in a given cluster.

list_next()

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
get(name, x__xgafv=None)
Gets details of a single node.

Args:
  name: string, Required. The resource name of the node to retrieve. For example: `projects/{project}/locations/{location}/privateClouds/{private_cloud}/clusters/{cluster}/nodes/{node}` (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Node in a cluster.
  "customCoreCount": "A String", # Output only. Customized number of cores
  "fqdn": "A String", # Output only. Fully qualified domain name of the node.
  "internalIp": "A String", # Output only. Internal IP address of the node.
  "name": "A String", # Output only. The resource name of this node. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster/nodes/my-node
  "nodeTypeId": "A String", # Output only. The canonical identifier of the node type (corresponds to the `NodeType`). For example: standard-72.
  "state": "A String", # Output only. The state of the appliance.
  "version": "A String", # Output only. The version number of the VMware ESXi management component in this cluster.
}
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
Lists nodes in a given cluster.

Args:
  parent: string, Required. The resource name of the cluster to be queried for nodes. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster` (required)
  pageSize: integer, The maximum number of nodes to return in one page. The service may return fewer than this value. The maximum value is coerced to 1000. The default value of this field is 500.
  pageToken: string, A page token, received from a previous `ListNodes` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListNodes` must match the call that provided the page token.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response message for VmwareEngine.ListNodes
  "nextPageToken": "A String", # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
  "nodes": [ # The nodes.
    { # Node in a cluster.
      "customCoreCount": "A String", # Output only. Customized number of cores
      "fqdn": "A String", # Output only. Fully qualified domain name of the node.
      "internalIp": "A String", # Output only. Internal IP address of the node.
      "name": "A String", # Output only. The resource name of this node. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster/nodes/my-node
      "nodeTypeId": "A String", # Output only. The canonical identifier of the node type (corresponds to the `NodeType`). For example: standard-72.
      "state": "A String", # Output only. The state of the appliance.
      "version": "A String", # Output only. The version number of the VMware ESXi management component in this cluster.
    },
  ],
}
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.