models.mcm_user_profile module

class models.mcm_user_profile.McmUserProfile(cluster_identifiers=None, is_active=None, is_deleted=None, region_ids=None, tenant_id=None, tenant_name=None, tenant_type=None)[source]

Bases: object

Implementation of the ‘McmUserProfile’ model.

Specfies the User profile for MCM user.

Attributes:
cluster_identifiers (list of ClusterIdentifier): Specifies the list of

clusters. This is only valid if tenant type is OnPrem.

is_active (bool): Specifies whether or not the tenant is active. is_deleted (bool): Specifies whether or not the tenant is deleted. region_ids (list of string): Specifies the list of regions. This is

only valid if tenant type is Dmaas.

tenant_id (string): Specifies the tenant id. tenant_name (string): Specifies the tenant name. tenant_type (TenantTypeEnum): Specifies the MCM tenant type.

‘Dmaas’ implies tenant type is DMaaS. ‘OnPrem’ implies tenant is cluster tenant.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.