ClusterInfo#

class ClusterInfo(jwt_token=None, cluster_ip=None, *args, **kwargs)#

Bases: object

It will contain a redirect IP and a certificate. Use the certificate to invoke the compute changed regions endpoint. Set the certificate as a header when invoking the CBT endpoint with NTNX_IGW_SESSION=’CERTIFICATE’.

Parameters:
  • jwt_token – (jwt_token) JWT token in string format. This token must be set as a session cookie while making second call for CBT/VSS.

  • cluster_ip – (cluster_ip)

property cluster_ip#
Type:

IPAddress

property jwt_token#

JWT token in string format. This token must be set as a session cookie while making second call for CBT/VSS.

Type:

str

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model