Moab Accounting Manager > Appendices > Appendix A: Commands Reference > gmkquote

gmkquote

Synopsis

gmkquote [[--pin] [-J <instance_name>|<job_id>] | --nopin] [-s <start_time>] {-e <end_time> | -t <quote_duration>} [-d <description>] [-X, --extension <property>=<value>]... {-R <charge_rate_name>[{<charge_rate_value>}]=<charge_rate_amount>,...}... [--debug] [--site <site_name>] [--help] [--man] [--quiet] [--verbose] [--version]

Overview

gmkquote creates a new chargeable quote template. MAM will create a quote object and its associated charge rates. Instances referencing the quote will use the override charge rates specified in the command. Unlike gquote, gmkquote will not return a calculated quote amount or create a usage record with the quote.

Options

-d
Format -d <description>
Default ---
Description Specifies a description of the quote.
-e
Format -e <end_time>
Default ---
Description

Specifies the expiration time for the quote template in the format YYYY-MM-DD[ hh:mm:ss]|-Infinity|Infinity|Now. The rates associated with this quote may not be claimed after this time. If you do not specify an end time but did specify a duration, MAM will calculate the end time as start time + duration. If you specify both end time and duration but they are inconsistent, MAM will ignore the duration specification.

-J
Format -J <instance_name>|<job_id>
Default ---
Description

Specifies the instance name, such as a job ID, for the quote. You cannot specify an instance name if the quote is unpinned.

-R
Format -R <charge_rate_name>[{<charge_rate_value>}]=<charge_rate_amount>[,<charge_rate_name>[{<charge_rate_value>}]=<charge_rate_amount>...]
Default ---
Description

Associates the specified charge rates with the quote. You must specify at least one charge rate expression with the quote. You may pass multiple charge rate expressions to the -R option in a comma-delimited list or specify multiple -R options.

-s
Format -s <start_time>
Default Now
Description

Specifies a beginning time for the quote template in the format YYYY-MM-DD[ hh:mm:ss]|-Infinity|Infinity|Now. The rates associated with this quote may not be claimed before this time.

-t
Format -t <quote_duration>
Default ---
Description

Specifies the amount of time in seconds the rates in the quote template may be used. MAM uses the duration to calculate an end time (start time + duration) as an alternative to specifying the end time.

-X, --extension <property>
Format -X or --extension <property>=<value>
Default ---
Description Modifies an extension property. You can specify any number of extra field assignments.
--debug
Format --debug
Default ---
Description

Logs debug information to the screen.

--help
Format --help
Default ---
Description

Displays a brief help message.

--man
Format --man
Default ---
Description

Displays full documentation.

--nopin
Format --nopin
Default Not set
Description

Indicates that the quote is not to be pinned to a specific instance. An instance may use an unpinned quote while the quote is active.

--pin
Format --pin
Default Set
Description

Indicates that the quote will be pinned to a specific instance. If you do not specify the instance when you create the quote, the first instance to claim it will become the pinned instance. Once a quote is pinned to a particular instance, no other instances may use the quote.

--quiet
Format --quiet
Default ---
Description

Suppresses headers and success messages.

--site
Format --site <site_name>
Default ---
Description Obtains a response from specified site.
--verbose
Format --verbose
Default ---
Description

Displays modified object details.

--version
Format --version
Default ---
Description

Displays the product version.

Related topics

© 2014 Adaptive Computing