Bare Metal Solution API . projects . locations . volumes . luns

Instance Methods

close()

Close httplib2 connections.

get(name, x__xgafv=None)

Get details of a single storage logical unit number(LUN).

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

List storage volume luns for given storage volume.

list_next()

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
get(name, x__xgafv=None)
Get details of a single storage logical unit number(LUN).

Args:
  name: string, Required. Name of the resource. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # A storage volume logical unit number (LUN).
  "bootLun": True or False, # Display if this LUN is a boot LUN.
  "id": "A String", # An identifier for the LUN, generated by the backend.
  "multiprotocolType": "A String", # The LUN multiprotocol type ensures the characteristics of the LUN are optimized for each operating system.
  "name": "A String", # Output only. The name of the LUN.
  "shareable": True or False, # Display if this LUN can be shared between multiple physical servers.
  "sizeGb": "A String", # The size of this LUN, in gigabytes.
  "state": "A String", # The state of this storage volume.
  "storageType": "A String", # The storage type for this LUN.
  "storageVolume": "A String", # Display the storage volume for this LUN.
  "wwid": "A String", # The WWID for this LUN.
}
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
List storage volume luns for given storage volume.

Args:
  parent: string, Required. Parent value for ListLunsRequest. (required)
  pageSize: integer, Requested page size. The server might return fewer items than requested. If unspecified, server will pick an appropriate default.
  pageToken: string, A token identifying a page of results from the server.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response message containing the list of storage volume luns.
  "luns": [ # The list of luns.
    { # A storage volume logical unit number (LUN).
      "bootLun": True or False, # Display if this LUN is a boot LUN.
      "id": "A String", # An identifier for the LUN, generated by the backend.
      "multiprotocolType": "A String", # The LUN multiprotocol type ensures the characteristics of the LUN are optimized for each operating system.
      "name": "A String", # Output only. The name of the LUN.
      "shareable": True or False, # Display if this LUN can be shared between multiple physical servers.
      "sizeGb": "A String", # The size of this LUN, in gigabytes.
      "state": "A String", # The state of this storage volume.
      "storageType": "A String", # The storage type for this LUN.
      "storageVolume": "A String", # Display the storage volume for this LUN.
      "wwid": "A String", # The WWID for this LUN.
    },
  ],
  "nextPageToken": "A String", # A token identifying a page of results from the server.
  "unreachable": [ # Locations that could not be reached.
    "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.