VMware Engine API . projects . locations . nodeTypes

Instance Methods

close()

Close httplib2 connections.

get(name, x__xgafv=None)

Gets details of a single `NodeType`.

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

Lists node types

list_next()

Retrieves the next page of results.

Method Details

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

Args:
  name: string, Required. The resource name of the node type to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-proj/locations/us-central1-a/nodeTypes/standard-72` (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Describes node type.
  "availableCustomCoreCounts": [ # Output only. List of possible values of custom core count.
    42,
  ],
  "capabilities": [ # Output only. Capabilities of this node type.
    "A String",
  ],
  "diskSizeGb": 42, # Output only. The amount of storage available, defined in GB.
  "displayName": "A String", # Output only. The friendly name for this node type. For example: ve1-standard-72
  "families": [ # Output only. Families of the node type. For node types to be in the same cluster they must share at least one element in the `families`.
    "A String",
  ],
  "kind": "A String", # Output only. The type of the resource.
  "memoryGb": 42, # Output only. The amount of physical memory available, defined in GB.
  "name": "A String", # Output only. The resource name of this node type. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-proj/locations/us-central1-a/nodeTypes/standard-72`
  "nodeTypeId": "A String", # Output only. The canonical identifier of the node type (corresponds to the `NodeType`). For example: standard-72.
  "totalCoreCount": 42, # Output only. The total number of CPU cores in a single node.
  "virtualCpuCount": 42, # Output only. The total number of virtual CPUs in a single node.
}
list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)
Lists node types

Args:
  parent: string, Required. The resource name of the location to be queried for node types. 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` (required)
  filter: string, A filter expression that matches resources returned in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For example, if you are filtering a list of node types, you can exclude the ones named `standard-72` by specifying `name != "standard-72"`. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (name = "standard-72") (virtual_cpu_count > 2) ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (name = "standard-96") AND (virtual_cpu_count > 2) OR (name = "standard-72") ```
  pageSize: integer, The maximum number of node types 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 `ListNodeTypes` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListNodeTypes` 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.ListNodeTypes
  "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.
  "nodeTypes": [ # A list of Node Types.
    { # Describes node type.
      "availableCustomCoreCounts": [ # Output only. List of possible values of custom core count.
        42,
      ],
      "capabilities": [ # Output only. Capabilities of this node type.
        "A String",
      ],
      "diskSizeGb": 42, # Output only. The amount of storage available, defined in GB.
      "displayName": "A String", # Output only. The friendly name for this node type. For example: ve1-standard-72
      "families": [ # Output only. Families of the node type. For node types to be in the same cluster they must share at least one element in the `families`.
        "A String",
      ],
      "kind": "A String", # Output only. The type of the resource.
      "memoryGb": 42, # Output only. The amount of physical memory available, defined in GB.
      "name": "A String", # Output only. The resource name of this node type. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-proj/locations/us-central1-a/nodeTypes/standard-72`
      "nodeTypeId": "A String", # Output only. The canonical identifier of the node type (corresponds to the `NodeType`). For example: standard-72.
      "totalCoreCount": 42, # Output only. The total number of CPU cores in a single node.
      "virtualCpuCount": 42, # Output only. The total number of virtual CPUs in a single node.
    },
  ],
  "unreachable": [ # Locations that could not be reached when making an aggregated query using wildcards.
    "A String",
  ],
}
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.