class documentation

Undocumented

Class LockState No class docstring; 1/1 property, 0/1 class variable, 0/2 constant, 0/3 method documented
Class SourceImageCPUArchitecture Undocumented
Class State No class docstring; 2/8 constants documented
Method __dir__ Undocumented
Method __init__ Create a wrapper around a protobuf message instance.
Method block_size_bytes.setter Undocumented
Method lock_state.setter Undocumented
Method read_only_attachments.setter Undocumented
Method read_write_attachment.setter Undocumented
Method reconciling.setter Undocumented
Method size_bytes.setter Undocumented
Method source_image_cpu_architecture.setter Undocumented
Method source_image_id.setter Undocumented
Method state.setter Undocumented
Method state_description.setter Undocumented
Constant __PB2_DESCRIPTOR__ Undocumented
Constant __PY_TO_PB2__ Undocumented
Class Variable __mask_functions__ Undocumented
Property block_size_bytes Undocumented
Property lock_state Indicates resources that prevent the disk from being attached as read-write.
Property read_only_attachments Undocumented
Property read_write_attachment Current read-write owner (instance ID). May refer to an instance in any state, including stopped (this semantics is preserved for backward compatibility). Reassigned on disk detach, instance deletion, or ownership transfer...
Property reconciling Indicates whether there is an ongoing operation
Property size_bytes Undocumented
Property source_image_cpu_architecture Undocumented
Property source_image_id Undocumented
Property state Undocumented
Property state_description Undocumented

Inherited from Message:

Class Method get_descriptor Return the protobuf descriptor for this message class.
Class Method is_credentials Return True if the field contains credentials.
Class Method is_sensitive Return True if the field is marked as sensitive.
Method __repr__ Return a human-readable representation of the message, sanitizing sensitive fields.
Method check_presence Check explicit presence for a field in the protobuf message.
Method get_full_update_reset_mask Build a reset mask for a full update of this message.
Method get_mask Return the tracked reset mask.
Method is_default Return True if a field equals its default value.
Method set_mask Replace the tracked reset mask.
Method which_field_in_oneof Return the set field name for a given oneof.
Instance Variable __PB2_CLASS__ Protobuf message class associated with this wrapper.
Instance Variable __pb2_message__ Underlying protobuf message instance.
Method _clear_field Clear a field and record it in the reset mask.
Method _get_field Return a field value with optional wrapping and presence handling.
Method _set_field Set a field value and update the reset mask.
Class Variable __credentials_fields Undocumented
Class Variable __default Undocumented
Class Variable __sensitive_fields Undocumented
Instance Variable __recorded_reset_mask Mask tracking fields cleared or set to default.
def __dir__(self) -> abc.Iterable[builtins.str]: (source)

Undocumented

def __init__(self, initial_message: message_1.Message | None = None, *, state: DiskStatus.State | disk_pb2.DiskStatus.State | None | unset.UnsetType = unset.Unset, state_description: builtins.str | None | unset.UnsetType = unset.Unset, read_write_attachment: builtins.str | None | unset.UnsetType = unset.Unset, read_only_attachments: abc.Iterable[builtins.str] | None | unset.UnsetType = unset.Unset, source_image_id: builtins.str | None | unset.UnsetType = unset.Unset, size_bytes: builtins.int | None | unset.UnsetType = unset.Unset, reconciling: builtins.bool | None | unset.UnsetType = unset.Unset, block_size_bytes: builtins.int | None | unset.UnsetType = unset.Unset, source_image_cpu_architecture: DiskStatus.SourceImageCPUArchitecture | disk_pb2.DiskStatus.SourceImageCPUArchitecture | None | unset.UnsetType = unset.Unset, lock_state: DiskStatus.LockState | disk_pb2.DiskStatus.LockState | None | unset.UnsetType = unset.Unset): (source)

Create a wrapper around a protobuf message instance.

Raises
AttributeErrorIf the wrapper is missing required class metadata.
@block_size_bytes.setter
def block_size_bytes(self, value: builtins.int | None): (source)

Undocumented

@lock_state.setter
def lock_state(self, value: DiskStatus.LockState | disk_pb2.DiskStatus.LockState | None): (source)

Undocumented

@read_only_attachments.setter
def read_only_attachments(self, value: abc.Iterable[builtins.str] | None): (source)

Undocumented

@read_write_attachment.setter
def read_write_attachment(self, value: builtins.str | None): (source)

Undocumented

@reconciling.setter
def reconciling(self, value: builtins.bool | None): (source)

Undocumented

@size_bytes.setter
def size_bytes(self, value: builtins.int | None): (source)

Undocumented

@source_image_cpu_architecture.setter
def source_image_cpu_architecture(self, value: DiskStatus.SourceImageCPUArchitecture | disk_pb2.DiskStatus.SourceImageCPUArchitecture | None): (source)

Undocumented

@source_image_id.setter
def source_image_id(self, value: builtins.str | None): (source)

Undocumented

@state.setter
def state(self, value: DiskStatus.State | disk_pb2.DiskStatus.State | None): (source)

Undocumented

@state_description.setter
def state_description(self, value: builtins.str | None): (source)

Undocumented

__PB2_DESCRIPTOR__ = (source)

Undocumented

Value
descriptor.DescriptorWrap[descriptor_1.Descriptor]('.nebius.compute.v1.DiskStatu
s',
                                                   disk_pb2.DESCRIPTOR,
                                                   descriptor_1.Descriptor)
__PY_TO_PB2__: builtins.dict[builtins.str, builtins.str] = (source)

Undocumented

Value
{'state': 'state',
 'state_description': 'state_description',
 'read_write_attachment': 'read_write_attachment',
 'read_only_attachments': 'read_only_attachments',
 'source_image_id': 'source_image_id',
 'size_bytes': 'size_bytes',
 'reconciling': 'reconciling',
...
@builtins.property
block_size_bytes: builtins.int = (source)

Undocumented

@builtins.property
lock_state: DiskStatus.LockState = (source)

Indicates resources that prevent the disk from being attached as read-write.

@builtins.property
read_only_attachments: abc.MutableSequence[builtins.str] = (source)

Undocumented

@builtins.property
read_write_attachment: builtins.str = (source)

Current read-write owner (instance ID). May refer to an instance in any state, including stopped (this semantics is preserved for backward compatibility). Reassigned on disk detach, instance deletion, or ownership transfer. Ownership transfer occurs when this disk is explicitly attached to another instance or when a VM with this disk attached starts while the current owner is stopped.

@builtins.property
reconciling: builtins.bool = (source)

Indicates whether there is an ongoing operation

@builtins.property
size_bytes: builtins.int = (source)

Undocumented

@builtins.property
source_image_cpu_architecture: DiskStatus.SourceImageCPUArchitecture = (source)

Undocumented

@builtins.property
source_image_id: builtins.str = (source)

Undocumented

@builtins.property
state: DiskStatus.State = (source)

Undocumented

@builtins.property
state_description: builtins.str = (source)

Undocumented