class documentation

class ResourceDescription:

View In Hierarchy

Describes a resource type.

Class Variable announcedType The announced resource type.
Class Variable attributes List of attributes for this resource type.
Class Variable childResourceTypes List of allowed child resource types.
Class Variable clazz The resource class.
Class Variable factory The resource factory callable to create this resource.
Class Variable fullName The full name of the resource type.
Class Variable inheritACP Whether the resource type inherits the ACP from the parent resource, or defines its own.
Class Variable isAnnouncedResource Whether the resource type is an announced resource type.
Class Variable isContainer Whether the resource type is a container.
Class Variable isInstanceResource Whether the resource type is an instance resource.
Class Variable isInternalType Whether the resource type is an internal type.
Class Variable isMgmtSpecialization Whether the resource type is a mgmtObj specialization.
Class Variable isNotificationEntity Whether the resource type is a direct notification target.
Class Variable isRequestCreatable Whether the resource type can be created by a request.
Class Variable isRequestDeletable Whether the resource type can be deleted by a request.
Class Variable isRequestUpdatable Whether the resource type can be updated by a request.
Class Variable isSpecializationBaseResource Whether the resource type is a specialization resource, i.e. a mgmtObj or Fcnt specialization or an announced resource.
Class Variable mgmtType The mgmtType for mgmtObj specializations.
Class Variable typeName The resource type name.
Class Variable virtualResourceName The name of a virtual resource.
announcedType: ResourceTypes =

The announced resource type.

attributes: list[str] =

List of attributes for this resource type.

childResourceTypes: list[ResourceTypes] =

List of allowed child resource types.

clazz: type[Resource] =

The resource class.

The resource factory callable to create this resource.

fullName: str =

The full name of the resource type.

inheritACP: bool =

Whether the resource type inherits the ACP from the parent resource, or defines its own.

isAnnouncedResource: bool =

Whether the resource type is an announced resource type.

isContainer: bool =

Whether the resource type is a container.

isInstanceResource: bool =

Whether the resource type is an instance resource.

isInternalType: bool =

Whether the resource type is an internal type.

isMgmtSpecialization: bool =

Whether the resource type is a mgmtObj specialization.

isNotificationEntity: bool =

Whether the resource type is a direct notification target.

isRequestCreatable: bool =

Whether the resource type can be created by a request.

isRequestDeletable: bool =

Whether the resource type can be deleted by a request.

isRequestUpdatable: bool =

Whether the resource type can be updated by a request.

isSpecializationBaseResource: bool =

Whether the resource type is a specialization resource, i.e. a mgmtObj or Fcnt specialization or an announced resource.

mgmtType: int | None =

The mgmtType for mgmtObj specializations.

typeName: str =

The resource type name.

virtualResourceName: str =

The name of a virtual resource.