gce_make_machinetype_url: Construct a machineType URL

Description Usage Arguments Details Value

View source: R/machineType.R

Description

Construct a machineType URL

Usage

1
2
3
4
5
6
gce_make_machinetype_url(
  predefined_type = NULL,
  cpus = NULL,
  memory = NULL,
  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

zone

zone for URL

Details

cpus must be in multiples of 2 up to 32 memory must be in multiples of 256

Value

A url for use in instance creation


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