VcenterCredentials#

class VcenterCredentials(username=None, password=None, port=443, *args, **kwargs)#

Bases: object

Credentials for registering/unregistering vCenter Server extension for Nutanix to manage VMs of the cluster.

Parameters:
  • username (required max=256 chars) – (username) Username for vCenter Server extension registration/unregistration.

  • password (required) – (password) Password for vCenter Server extension registration/unregistration.

  • port – (port) vCenter port to connect for registering/unregistering extension. (Default 443)

property password#

Password for vCenter Server extension registration/unregistration.

Type:

str

property port#

vCenter port to connect for registering/unregistering extension.

Type:

int

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model

property username#

Username for vCenter Server extension registration/unregistration.

Type:

str