mixcoatl/infrastructure/volume.py
def assign_budget(cls, volume_id, budget, endpoint=None):
        """Change the budget associated with a volume

        :param volume_id: The volume id to work with
        :type volume_id: int.
        :param budget: The budget code to assign
        :type budget: int.
        :param endpoint: The DCM endpoint
        :type endpoint: Endpoint
        :returns: `bool`
        :raises: :class:`VolumeException`
        """
        v = Volume(volume_id, endpoint=endpoint)
        v.budget = budget
        return v.update()
Change the budget associated with a volume

        :param volume_id: The volume id to work with
        :type volume_id: int.
        :param budget: The budget code to assign
        :type budget: int.
        :param endpoint: The DCM endpoint
        :type endpoint: Endpoint
        :returns: `bool`
        :raises: :class:`VolumeException`
        
Change the budget associated with a volume
Change the budget associated with a volume
def assign_budget(cls, volume_id, budget, endpoint=None):
        v = Volume(volume_id, endpoint=endpoint)
        v.budget = budget
        return v.update()
def assign_budget ( cls , volume_id , budget , endpoint = None ) : v = Volume ( volume_id , endpoint = endpoint ) v . budget = budget return v . update ( )
Change the budget associated with a volume
Change the budget associated with a volume
"""Change the budget associated with a volume

        :param volume_id: The volume id to work with
        :type volume_id: int.
        :param budget: The budget code to assign
        :type budget: int.
        :param endpoint: The DCM endpoint
        :type endpoint: Endpoint
        :returns: `bool`
        :raises: :class:`VolumeException`
        """
None
None
cls
volume_id
The volume id to work with
The volume id to work with
budget
The budget code to assign
The budget code to assign
endpoint
The DCM endpoint
The DCM endpoint