get_esxi_subnets
Retrieve the preferred subnets used to reach the ESXi hosts.
def get_esxi_subnets(timeout=15)
Keyword Arguments
Name
Type
Description
Choices
Default
timeout
int
The number of seconds to wait to establish a connection with the Rubrik cluster before returning a timeout error.
15
Returns
Type
Return Value
dict
The full response of GET /internal/vmware/config/esx_subnets
.
Example
import rubrik_cdm
rubrik = rubrik_cdm.Connect()
subnets = rubrik.get_esxi_subnets()
Last updated