Skip to main content

advice

Creates, updates, deletes, gets or lists an advice resource.

Overview​

Nameadvice
TypeResource
Idgoogle.compute.advice

Fields​

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
calendar_modeexecproject, regionAdvise how, where and when to create the requested amount of instances
with specified accelerators, within the specified time and location limits.
The method recommends creating future reservations for the requested
resources.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
projectstring
regionstring

Lifecycle Methods​

Advise how, where and when to create the requested amount of instances
with specified accelerators, within the specified time and location limits.
The method recommends creating future reservations for the requested
resources.

EXEC google.compute.advice.calendar_mode
@project='{{ project }}' --required,
@region='{{ region }}' --required
@@json=
'{
"futureResourcesSpecs": "{{ futureResourcesSpecs }}"
}'
;