get_volumes_without_zone#

ModelQuery.get_volumes_without_zone(scope)#

Gets ids of volumes without zone.

Parameters:

scope (ScopeDefinition) – Scope definition for filtering volumes.

Return type:

Iterable[int]

Returns:

Returns volume ids without zone of the given scope.

Notes

This is a beta API. The behavior and implementation may change in future.

Examples

>>> volume_ids = model_query.get_volumes_without_zone(scope)