gce_make_network: Make a network interface for instance creation

View source: R/networks.R

gce_make_networkR Documentation

Make a network interface for instance creation

Description

Make a network interface for instance creation

Usage

gce_make_network(
  network = "default",
  name = NULL,
  subnetwork = NULL,
  externalIP = NULL,
  project = gce_get_global_project()
)

Arguments

network

Name of network resource

name

Name of the access config

subnetwork

A subnetwork name if its exists

You need to provide accessConfig explicitly if you want an ephemeral IP assigned, see https://cloud.google.com/compute/docs/vm-ip-addresses

externalIP

An external IP you have created previously, leave NULL to have one assigned or "none" for none

project

Project ID for this request

Value

A Network object


cloudyr/googleComputeEngineR documentation built on June 11, 2025, 8:47 a.m.