ResourceGroup#

class ResourceGroup(*args, **kwargs)[source]#

Bases: object

An enum denoting the resource group. Resources can be organised into either entity or policy. Hence it supports two possible values: * ENTITY * POLICY

Allowed enum values:

  • _UNKNOWN

  • _REDACTED

  • ENTITY: A ResourceGroup denoting a nutanix entity like vm, cluster, host, image, etc.

  • POLICY: A ResourceGroup denoting a nutanix policy like vm host affinity policy, image placement policy, access control policy, etc.

to_dict()[source]#

Returns the model properties as a dictionary

to_str()[source]#

Returns the string representation of the model