gce_set_machinetype: Changes the machine type for a stopped instance to the...

Description Usage Arguments Details Value See Also

View source: R/machineType.R

Description

Changes the machine type for a stopped instance to the machine type specified in the request.

Usage

1
2
3
4
5
6
7
8
gce_set_machinetype(
  predefined_type,
  cpus,
  memory,
  instance,
  project = gce_get_global_project(),
  zone = gce_get_global_zone()
)

Arguments

predefined_type

A predefined machine type from gce_list_machinetype

cpus

If not defining predefined_type, the number of CPUs

memory

If not defining predefined_type, amount of memory

instance

Name of the instance resource to change

project

Project ID for this request, default as set by gce_get_global_project

zone

The name of the zone for this request, default as set by gce_get_global_zone

Details

Authentication scopes used by this function are:

Value

A zone operation job

See Also

Google Documentation


cloudyr/googleComputeEngineR documentation built on Jan. 23, 2022, 8:30 a.m.