powered by
Build template definition and parameters
# S3 method for vm_config build_template_definition(config, ...)# S3 method for vmss_config build_template_definition(config, ...)# S3 method for vm_config build_template_parameters(config, name, login_user, size, ...)# S3 method for vmss_config build_template_parameters(config, name, login_user, size, instances, ...)
# S3 method for vmss_config build_template_definition(config, ...)
# S3 method for vm_config build_template_parameters(config, name, login_user, size, ...)
# S3 method for vmss_config build_template_parameters(config, name, login_user, size, instances, ...)
An object of class vm_config or vmss_config representing a virtual machine or scaleset deployment.
vm_config
vmss_config
Unused.
The VM or scaleset name. Will also be used for the domain name label, if a public IP address is included in the deployment.
An object of class user_config representing the login details for the admin user account on the VM.
user_config
The VM (instance) size.
For vmss_config, the number of (initial) instances in the VM scaleset.
Objects of class json, which are JSON character strings representing the deployment template and its parameters.
json
These are methods for the generics defined in the AzureRMR package.
create_vm, vm_config, vmss_config
# NOT RUN { vm <- ubuntu_18.04() build_template_definition(vm) build_template_parameters(vm, "myubuntuvm", user_config("username", "~/.ssh/id_rsa.pub"), "Standard_DS3_v2") # }
Run the code above in your browser using DataLab