Changes the machine type for a stopped instance to the machine type specified in the request.
gce_set_machinetype(predefined_type, cpus, memory, instance, project = gce_get_global_project(), zone = gce_get_global_zone())
predefined_type
: A predefined machine type from gce_list_machinetypecpus
: If not defining predefined_type
, the number of CPUsmemory
: If not defining predefined_type
, amount of memoryinstance
: Name of the instance resource to changeproject
: Project ID for this request, default as set by gce_get_global_projectzone
: The name of the zone for this request, default as set by gce_get_global_zoneA zone operation job
Authentication scopes used by this function are:
Useful links