ResourceGroup#
- class ResourceGroup(*args, **kwargs)#
Bases:
object
An enum denoting the resource group.<br> Resources can be organised into either an entity or a 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, and so on.<br>
A category is generally associated with many entities.<br> A policy is then applied to these entities through the category.
POLICY: A ResourceGroup denoting a nutanix policy like VM host affinity policy, image placement policy, access control policy, and so on.<br>
A category is generally associated with many entities.<br> The policy which is associated with this category, is then applied to those entities which are also associated with the same category.
- to_dict()#
Returns the model properties as a dictionary
- to_str()#
Returns the string representation of the model