build_template_definition.vm_config | R Documentation |
Build template definition and parameters
## S3 method for class 'vm_config' build_template_definition(config, ...) ## S3 method for class 'vmss_config' build_template_definition(config, ...) ## S3 method for class 'vm_config' build_template_parameters(config, name, login_user, size, ...) ## S3 method for class 'vmss_config' build_template_parameters(config, name, login_user, size, instances, ...)
config |
An object of class |
... |
Unused. |
name |
The VM or scaleset name. Will also be used for the domain name label, if a public IP address is included in the deployment. |
login_user |
An object of class |
size |
The VM (instance) size. |
instances |
For |
These are methods for the generics defined in the AzureRMR package.
Objects of class json
, which are JSON character strings representing the deployment template and its parameters.
create_vm, vm_config, vmss_config
vm <- ubuntu_18.04() build_template_definition(vm) build_template_parameters(vm, "myubuntuvm", user_config("username", "~/.ssh/id_rsa.pub"), "Standard_DS3_v2")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.