class documentation

class ResourceBehavior(pb_enum.Enum): (source)

View In Hierarchy

Undocumented

Constant __PB2_DESCRIPTOR__ Undocumented
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 Undocumented
__PB2_DESCRIPTOR__ = (source)

Undocumented

Value
descriptor.DescriptorWrap[descriptor_1.EnumDescriptor]('.nebius.ResourceBehavior'
,
                                                       annotations_pb2.DESCRIPTOR
,
                                                       descriptor_1.EnumDescriptor
)
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