Tenantο
Tenants client module.
- peak.resources.tenants.get_client(session=None)ο
Returns a Tenant client, If no session is provided, a default session is used.
Tenant Clientο
- class peak.resources.tenants.Tenant(session=None)ο
Tenant client class.
- Parameters:
session (Session) β
- list_instance_options(entity_type)ο
Retrieve details of allowed instance options for a tenant.
- REFERENCE:
π API Documentation
- Parameters:
entity_type (str) β The type of the entity. Allowed values are - api-deployment, data-bridge, webapp, workflow, workspace.
- Returns:
a dictionary containing the details of the allowed instance options of a tenant.
- Return type:
Dict[str, Any]
- Raises:
BadRequestException β The given request parameters are invalid.
UnauthorizedException β The credentials are invalid.
ForbiddenException β The user does not have permission to perform the operation.
NotFoundException β The given image does not exist.
InternalServerErrorException β The server failed to process the request.