Skip to content

Latest commit

 

History

History
62 lines (45 loc) · 1.78 KB

File metadata and controls

62 lines (45 loc) · 1.78 KB
title vastai change bid
sidebarTitle change bid

Change the bid price for a spot/interruptible instance

Usage

vastai change bid id [--price PRICE]

Arguments

id of instance type to change bid

Options

per machine bid price in $/hour try to schedule a command to run hourly, daily, or weekly. Valid values are HOURLY, DAILY, WEEKLY For ex. --schedule DAILY Allowed values: HOURLY, DAILY, WEEKLY Start date/time in format 'YYYY-MM-DD HH:MM:SS PM' (UTC). Default is now. (optional) End date/time in format 'YYYY-MM-DD HH:MM:SS PM' (UTC). Default is 7 days from now. (optional) Day of week you want scheduled job to run on (0-6, where 0=Sunday) or "*". Default will be 0. For ex. --day 0 Hour of day you want scheduled job to run on (0-23) or "*" (UTC). Default will be 0. For ex. --hour 16

Description

Change the current bid price of instance id to PRICE. If PRICE is not specified, then a winning bid price is used as the default.

Global Options

The following options are available for all commands:

Option Description
--url URL Server REST API URL
--retry N Retry limit
--raw Output machine-readable JSON
--explain Verbose explanation of API calls
--api-key KEY API key (defaults to ~/.config/vastai/vast_api_key)