Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
Thank you for ordering VPS 1, details below:

Hostname: {service.proxmox_hostname}

Proxmox Panel: https://{module.host}:{module.port}
Username: {service.proxmox_username}
Password: {service.proxmox_password}

{service.proxmox_memory} MB RAM, {service.proxmox_hdd} GB Disk, {service.proxmox_cpu} CPU Cores

When creating or editing a package that uses this module, the following tags will be available:

TagsDescriptionNotes
{service.proxmox_vserver_id}The ID of the VM in Proxmox.e.g. "200"
{service.proxmox_hostname}The hostname for the Proxmox VM.

e.g. "proxmox.domain.com"

{service.proxmox_node}The node ID the VM is on.e.g. "proxmox-dev"
{service.proxmox_type}The VM server type.e.g. "openvz", "qemu" (KVM)
{service.proxmox_username}The user name for the client to access their Proxmox VM.e.g. "vmuser1"
{service.proxmox_password}The password for the client to access their Proxmox VM.e.g. "password123"
{service.proxmox_cpu}The number of CPUs for the VM.e.g. 2
{service.proxmox_memory}The RAM in megabytes assigned to the VMe.g. 100
{service.proxmox_hdd}The ttorage in gigabytes assigned to the servicee.g. 10
{service.proxmox_netspeed}The network speed in megabytes per seconde.g. 100
{module.host}The Proxmox server hostnamee.g. "127.0.0.1" or "proxmox.domain.com"
{module.port}The Proxmox server porte.g. "8006"


Expand
titleAdditional Tags

Due to the nature of tag objects containing several fields, many of which are likely irrelevant for use in email templates, but may be useful to you in certain circumstances, a dump of the tags are shown below.

 

Code Block
languagephp
titleThe {package} object
collapsetrue
        stdClass Object
        (
            [id] => 72
            [id_format] => {num}
            [id_value] => 63
            [id_code] => 63
            [module_id] => 19
            [name] => Proxmox Server
            [description] => 
            [description_html] => 
            [qty] => 
            [module_row] => 21
            [module_group] => 
            [taxable] => 0
            [single_term] => 0
            [status] => active
            [company_id] => 1
            [prorata_day] => 
            [prorata_cutoff] => 
            [email_content] => Array
                (
                    [0] => stdClass Object
                        (
                            [lang] => en_us
                            [html] => 
                            [text] => 
                        )

                    [1] => stdClass Object
                        (
                            [lang] => es_es
                            [html] => 
                            [text] => 
                        )

                )

            [pricing] => Array
                (
                    [0] => stdClass Object
                        (
                            [id] => 147
                            [pricing_id] => 392
                            [package_id] => 72
                            [term] => 1
                            [period] => month
                            [price] => 1.0000
                            [setup_fee] => 0.0000
                            [cancel_fee] => 0.0000
                            [currency] => USD
                        )

                )

            [meta] => stdClass Object
                (
                    [cpu] => 1
                    [hdd] => 10
                    [memory] => 100
                    [netspeed] => 100
                    [nodes] => Array
                        (
                            [0] => proxmox-dev
                        )

                    [type] => qemu
                )

            [groups] => Array
                (
                    [0] => stdClass Object
                        (
                            [id] => 82
                            [type] => standard
                            [name] => Proxmox
                            [description] => 
                            [company_id] => 1
                            [allow_upgrades] => 1
                            [names] => Array
                                (
                                    [0] => stdClass Object
                                        (
                                            [lang] => en_us
                                            [name] => Proxmox
                                        )

                                    [1] => stdClass Object
                                        (
                                            [lang] => es_es
                                            [name] => Proxmox
                                        )

                                )

                            [descriptions] => Array
                                (
                                    [0] => stdClass Object
                                        (
                                            [lang] => en_us
                                            [description] => 
                                        )

                                    [1] => stdClass Object
                                        (
                                            [lang] => es_es
                                            [description] => 
                                        )

                                )

                        )

                )

            [option_groups] => Array
                (
                )

            [plugins] => Array
                (
                )

            [names] => Array
                (
                    [0] => stdClass Object
                        (
                            [lang] => en_us
                            [name] => Proxmox Server
                        )

                    [1] => stdClass Object
                        (
                            [lang] => es_es
                            [name] => Proxmox Server
                        )

                )

            [descriptions] => Array
                (
                    [0] => stdClass Object
                        (
                            [lang] => en_us
                            [html] => 
                            [text] => 
                        )

                    [1] => stdClass Object
                        (
                            [lang] => es_es
                            [html] => 
                            [text] => 
                        )

                )

            [cpu] => 1
            [hdd] => 10
            [memory] => 100
            [netspeed] => 100
            [nodes] => Array
                (
                    [0] => proxmox-dev
                )

            [type] => qemu
        )


Code Block
languagephp
titleThe {service} object
collapsetrue
        stdClass Object
        (
            [id] => 1765
            [parent_service_id] => 
            [package_group_id] => 82
            [id_format] => {num}
            [id_value] => 1668
            [pricing_id] => 147
            [client_id] => 33
            [module_row_id] => 21
            [coupon_id] => 
            [qty] => 1
            [override_price] => 
            [override_currency] => 
            [status] => active
            [suspension_reason] => 
            [date_added] => 2019-01-25 20:59:16
            [date_renews] => 2019-02-25 20:59:16
            [date_last_renewed] => 
            [date_suspended] => 
            [date_canceled] => 
            [id_code] => 1668
            [fields] => Array
                (
                    [0] => stdClass Object
                        (
                            [key] => proxmox_cpu
                            [value] => 1
                            [serialized] => 0
                            [encrypted] => 0
                        )

                    [1] => stdClass Object
                        (
                            [key] => proxmox_hdd
                            [value] => 10
                            [serialized] => 0
                            [encrypted] => 0
                        )

                    [2] => stdClass Object
                        (
                            [key] => proxmox_hostname
                            [value] => host.domain.com
                            [serialized] => 0
                            [encrypted] => 0
                        )

                    [3] => stdClass Object
                        (
                            [key] => proxmox_ip
                            [value] => 
                            [serialized] => 0
                            [encrypted] => 0
                        )

                    [4] => stdClass Object
                        (
                            [key] => proxmox_memory
                            [value] => 100
                            [serialized] => 0
                            [encrypted] => 0
                        )

                    [5] => stdClass Object
                        (
                            [key] => proxmox_netspeed
                            [value] => 100
                            [serialized] => 0
                            [encrypted] => 0
                        )

                    [6] => stdClass Object
                        (
                            [key] => proxmox_node
                            [value] => proxmox-dev
                            [serialized] => 0
                            [encrypted] => 0
                        )

                    [7] => stdClass Object
                        (
                            [key] => proxmox_password
                            [value] => testpassword
                            [serialized] => 1
                            [encrypted] => 1
                        )

                    [8] => stdClass Object
                        (
                            [key] => proxmox_type
                            [value] => qemu
                            [serialized] => 0
                            [encrypted] => 0
                        )

                    [9] => stdClass Object
                        (
                            [key] => proxmox_username
                            [value] => vmuser33
                            [serialized] => 0
                            [encrypted] => 0
                        )

                    [10] => stdClass Object
                        (
                            [key] => proxmox_vserver_id
                            [value] => 
                            [serialized] => 0
                            [encrypted] => 0
                        )

                )

            [package_pricing] => stdClass Object
                (
                    [id] => 147
                    [package_id] => 72
                    [pricing_id] => 392
                    [term] => 1
                    [period] => Month
                    [price] => 1.0000
                    [setup_fee] => 0.0000
                    [cancel_fee] => 0.0000
                    [currency] => USD
                )

            [package] => stdClass Object
                (
                    [id] => 72
                    [id_format] => {num}
                    [id_value] => 63
                    [module_id] => 19
                    [name] => Proxmox Server
                    [description] => 
                    [description_html] => 
                    [qty] => 
                    [module_row] => 21
                    [module_group] => 
                    [taxable] => 0
                    [single_term] => 0
                    [status] => active
                    [company_id] => 1
                    [prorata_day] => 
                    [prorata_cutoff] => 
                )

            [options] => Array
                (
                )

            [name] => host.domain.com
            [proxmox_cpu] => 1
            [proxmox_hdd] => 10
            [proxmox_hostname] => host.domain.com
            [proxmox_ip] => 
            [proxmox_memory] => 100
            [proxmox_netspeed] => 100
            [proxmox_node] => proxmox-dev
            [proxmox_password] => testpassword
            [proxmox_type] => qemu
            [proxmox_username] => vmuser33
            [proxmox_vserver_id] => 
        )


Group Membership

If this is the first Package you are creating with this module, select the "Create a New Group" option, and enter a Group name. If you are adding a subsequent Package and wish for it to be part of the same group, select "Select from Available Groups", and move the group from the right to the left of the multi-select box.

...