class documentation

class ResourceBehavior(Enum): (source)

View In Hierarchy

Undocumented

Constant __PROTO_DESCRIPTOR__ Protobuf enum descriptor from the registry.
Constant __PROTO_FULL_NAME__ Fully qualified protobuf enum name.
Constant IMMUTABLE_NAME Indicates that the resource is named, and the name cannot be changed after it is created. It is strongly recommended to do srvices with renaming capability, as the guidelines suggest.
Constant MOVABLE Indicates that the resource can be moved to another parent, typically an IAM container, though not necessarily limited to this. This behavior suggests that the metadata.parent_id attribute could be modified.
Constant RESOURCE_BEHAVIOR_UNSPECIFIED The behavior of the resource is unspecified. Avoid using this default value.
Constant UNNAMED Indicates that the resource name can be unspecified or does not follow uniqueness requirement within parent_id and resource type.

Inherited from Enum:

Class Method get_descriptor Return the protobuf EnumDescriptor for this enum.
Constant __PB2_DESCRIPTOR__ Alias for code that expects a protobuf descriptor.
Constant __REGISTRY__ Registry for the enum and its descriptor.
Class Method _missing_ Represent unknown open-enum numbers without losing their value.
__PROTO_DESCRIPTOR__ = (source)

Protobuf enum descriptor from the registry.

Value
REGISTRY.enum_descriptor('nebius.ResourceBehavior')
__PROTO_FULL_NAME__: str = (source)

Fully qualified protobuf enum name.

Value
'nebius.ResourceBehavior'
IMMUTABLE_NAME: int = (source)

Indicates that the resource is named, and the name cannot be changed after it is created. It is strongly recommended to do srvices with renaming capability, as the guidelines suggest.

Value
3

Indicates that the resource can be moved to another parent, typically an IAM container, though not necessarily limited to this. This behavior suggests that the metadata.parent_id attribute could be modified.

Value
1
RESOURCE_BEHAVIOR_UNSPECIFIED: int = (source)

The behavior of the resource is unspecified. Avoid using this default value.

Value
0

Indicates that the resource name can be unspecified or does not follow uniqueness requirement within parent_id and resource type.

Value
2