gce_make_network: Make a network interface for instance creation

Description Usage Arguments Value

View source: R/networks.R

Description

Make a network interface for instance creation

Usage

1
2
3
4
5
6
7
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 Jan. 23, 2022, 8:30 a.m.