advice
Creates, updates, deletes, gets or lists an advice resource.
Overview
| Name | advice |
| Type | Resource |
| Id | google.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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
calendar_mode | exec | project, region | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
project | string | |
region | string |
Lifecycle Methods
- calendar_mode
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 }}"
}'
;